yashsingh1/xdaforums huggingface dataset:
[Sprint Galaxy S 5 Android Development] ez2:
I'm using goLauncher.

It was defaulting to s finder for the search option on the long press. I find xposed module work around (xButtonsActions).

Side note: I noticed that after searching, using long press of "recent apps" key that the menu " function of single press of said key is on screen. So I have to tap again to undo. Anyone else experiencing this?
[Sprint Galaxy S 5 Android Development] sleshepic:
gotta run to work so an't update OP, but here's the Bloat Package

Venum Ice Bloat Package (apps may be out of date - flash in recovery, can tailor zip with 7zip or archive manager)

https://www.androidfilehost.com/?fid=95832962473395376
[Sprint Galaxy S 5 Android Development] ez2:
Anyone know which apk is required to make screen mirroring work?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] QA Bot:
Q&A for [WARNING! + GUIDE] Backup and Restore IMEI / NV Data Procedure for GT-I9305

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [WARNING! + GUIDE] Backup and Restore IMEI / NV Data Procedure for GT-I9305. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] Piramit:
snapdragon 801 imei change

Hi,

This process

For snapdragon 801

Does happen?

Thanks.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] jayshaa:
Samsung Imei repair Using Imei Certs

hello everyone . check *0011# and if there its shows imei certi fails. dont worry z3x samsung tool can solve your problem.

Imei Certs also can help for country code unlocking....

I am using z3x and octoplus for repair imei ..... my success rate is 99.99% :)

if you have any problem than reply me.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] Jakkomo77:
Hello all,

I have the German DTB Stock Android 5.0 firmware. But my S5 G900F is not recognized by QPST!

With the stock Android 4.4.2 QPST recognizes the S5 immediately?

Is Android 5.0 on the S5 not supported?

What can I do?

Gesendet von meinem A001
[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] ratheeshrath:
I would like to know this procedure (http://xdaforums.com/showthread.php?t=2942764) for repairing IMEI works for Note 2 N7100 phone.

My story is this I have tried a custom OS (Xperia Z-ised) on my Note 2 N7100 phone with KK 4.4.2 and since then I cant access phone network (Wifi, Bluetooth works). I didnt have a backup of EFS and NV (I understood these only later). I have tried flashing several modems without any success. Now I have my stock (KK 4.4.2) flashed via ODIN to the phone still there is no network and the IMEI seems to be fake- starting with 00.

Any helps will be highly appreciated.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] stunnaman0147:
Hello please can u help me I can't find my imei
[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] Pasan001:
Need Efs backup file

Please Anyone Send me I9305 Efs folder backup file .
[Moto G General] Bert98:
LINK TO THE THREAD WITH THE AUTOMATED SCRIPT (thanks to [MENTION=6036514]skyguy126[/MENTION]): http://xdaforums.com/moto-g/general/mod-storage-reloacting-dalvik-cache-t2953616

Hello everybody

as you may know, our Moto G's internal eMMC card has a ~600Mb partition called /cache, which is not used since the apps' cache is stored in /data, so the latter fills up and the first one stays empty.

Owning a 8Gb model, having 600Mb not available for storage really bugged me, because my phone's memory (/data partition) was always full because it's a 5.7Gb space shared between apps and microSD files.

Well, thanks to [MENTION=6036514]skyguy126[/MENTION], who linked me to this guide, I managed to link the dalvik cache files to the /cache partition :D

Now, it may not work for you if:

a) you have A LOT of apps installed.

And by "a lot", I mean more than 90-100 apps, but if you have a 8Gb model, you probably don't :laugh:

b) you're running ART

Since ART uses a lot more space than dalvik, the space in the /cache partition probably won't be enough. When I was running ART, it used 1Gb more than dalvik.​

Other than that, all you need is a rooted phone, the Terminal Emulator app installed (HERE), a root file manager, at least one hand and a working brain :D

I TAKE NO RESPONSIBILITY FOR ANY DAMAGE THAT HAPPENS TO YOUR PHONE, CONTINUE AT YOUR OWN RISK.

Steps:

1) Open any text editor, messaging app, notes app or anything that allows a text input. write the following line, select it and copy it to your clipboard (you'll need it later).

ln -s /cache/dalvik-cache /data/dalvik-cache

Also, make sure you open the Terminal Emulator app and type in "su" (without quotes), then grant it superuser access. You'll need to switch to it quickly.

2) Open your root file manager, while making sure you still see the terminal emulator's notification (I used Root Explorer but any other app should work just fine), go to /data, select the /dalvik-cache folder (just to be sure, hit "properties" to check its size. If it's less than 600Mb you're good to go. If it's not, this won't work, sorry) and move (NOT copy, MOVE) it to /cache. If it asks you to merge two folders, do it.

NOTE: now some apps may start force closing, it's normal, keep going

3) Switch to the Terminal Emulator app (via the recents screen or by tapping its notification" and paste the text you copied at the beginning by long-pressing the black screen and hitting "Paste" (DUH?!?:eek:), hit enter, make sure no error messages come up, then reboot.

TA-DAAAA!

Your dalvik cache is now linked to the /cache partition, enjoy that half a gigabyte :cool:

If you need any help, feel free to PM me :)

"But Bert, what if it doesn't work and my phone explodes?"

Well, if it blows up there's nothing much I can do, but if it's just stuck at bootanimation/bootlogo/somewhere where you can't use it, simply head to the recovery and wipe dalvik-cache. This will revert the process and delete the link, putting the phone as it was before :)
[Moto G General] skyguy126:
Batch File to Automate the Process!!! :D

Look at reply #58 for latest information

Old:

Batch file complete, credit goes to [MENTION=4758250]Bert98[/MENTION] for devising a method.

USE THIS COMPLETELY AT YOUR OWN RISK! You may NOT rehost, take credit, or make a paid download without the permission of [MENTION=6036514]skyguy126[/MENTION] or [MENTION=4758250]Bert98[/MENTION]

This will only work on windows based computers!

I tested this on my moto g xt1032 16GB running CM11 Nightly and it worked fine.

Click that thanks button if it helped! :D

How to use:

Step 1: Download the attached file and extract.

Step 2: Double click the cachemove.rbat file and follow the onscreen instructions.

EDIT: THIS IS NOT WORKING ON MOTO G STOCK 4.4.4!!!

I am working on this issue but any help is greatly appreciated!

Common errors:

"adbd root cannot run as root in production builds"

Solution: http://xdaforums.com/showthread.php?t=1687590

Install the app and run it. Enable insecure binary.

Changelog:

v1.1 - Fixed some minor bugs in script.

v1.2 - Added a restore script.
[Moto G General] DustArma:
Keep in mind that the /cache partition will be slower as it's a ext4 partition as opposed to f2fs
[Moto G General] Bert98:
/data is a F2FS only on stock ROM, on GPE and other ROMs it's ext4 as well :)

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G General] KahosTch:
Hello! Thnk you for the tip, but, with me, i think, didnt work.

Im stuck in the boot, can you helpme to restore the directories? BTW, i have folloed all the steps like you say, i dont know why not work, im using CRom

Greetings!
[Moto G General] Bert98:
Do you have TWRP on your device?

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G General] KahosTch:
i have CWM, philz touch.

(any idea why didnt work? :c )
[Moto G General] fabus:
To get it working just wipe dalvik cache in cwm, it will re-create directory in /data.

I had the same issue..

I will try to investigate what went wrong with this....
[Moto G General] KahosTch:
jaja Thakyou, that work.:fingers-crossed:
[Moto G General] fabus:
I have found an issue. When you are copying /data/dalvik-cache to /cache/dalvik cache permissions can be mismatched (different partition type).

To fix it just:

- Go to CWM

- Connect phone to PC (should be recongnized as ADB device, if not check in Hardware Manager how it was recongizes)

- issue "ADB shell" command

- in Android shell: chmod 644 /cache/dalvik-cache/*

- reboot and you are done :)

I have made up an easier way to achive dalvik-cache on /cache partition:

On running android:

- make sure /cache/dalvik-cache folder is empty!!

- Rename /data/dalvik-cache to /data/dalvik-cache2

- ln -s /cache/dalvik-cache /data/dalvik-cache

- reboot and done :)

Android will recreate dalvik cache in /cache/dalvik-cache dir, it will take about 10 minutes, so be patient :)

if something goes wrong, just rename /data/dalvik-cache2 by ADB (e.g. in CWM)

I hope if was helpfull.

Cheers,
[Moto G General] Chris Kurisu:
good work

Thank you for this. I will definitely be doing this.
[Moto G General] skyguy126:
You should make a batch file that does this whole process automatically. I would be happy to assist!
[Moto G General] AndroidHtc101:
Guys could some experts code a batch file for this?

I appreciate the guide but terminal codes etc are beyond me.....

600mb is quite a lot of space to gain for an 8gig moto g:)
[Moto G General] dethrat:
It's up to 600mb. It's what ever size your dalvik cache is. I don't think this will work on android 5.0 since the change to art.
[Moto G General] skyguy126:
Yep I'll work on it... Hopefully it'll work, no promises...
[Moto G General] Bert98:
That'd be great, since I know nearly nothing about batch files :) if you succeed, I'll put it in the OP

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G General] AndroidHtc101:
Skyguy

I have around 125apps and 500mb free, would installing the batch screw my phone up?

Thanks for helping :)
[Moto G General] Bert98:
It depends on your /data/dalvik-cache folder's size, you can check with root explorer :)

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G General] AndroidHtc101:
Hi Bert

It's 466.92mb

If I could get 500mb of more free space I would have a gig free which would really help my 8gb moto g:)
[Moto G General] Bert98:
Follow the instructions in the OP then, you're good to go :D

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G General] AndroidHtc101:
I can find the dalvik-cache folder, but not sure where to move those files too, I don't see a cache folder just dalvik-cache.

Think I will wait for batch file :)
[Moto G General] skyguy126:
Posted batch file, check the first reply on page 1.
[Moto G General] AndroidHtc101:
Skyguy thanks for the file, I'm a bit of a noob hate to admit it. It's seems quite complicated for me though :confused:
[Moto G General] Chris Kurisu:
reversible?

I'm eager to do this. A couple of questions; Is the process reversible? After doing it, what happens when you wipe to install a new ROM?

Thank you.
[Moto G General] fabus:
When you wipe data or dalvik, dalvik-cache location will be reverted to /data/ partition... So you need to re-do this process with new rom..
[Moto G General] skyguy126:
Can someone tell me if the batch file worked please?
[Moto G General] AndroidHtc101:
Is there possible a really simple down version of how to do this, I would appreciate it, I am rooted and everything but never ran a batch file before!
[Moto G General] skyguy126:
I'm working on a one click method it will be released in a few hours hopefully.

---------- Post added at 09:50 PM ---------- Previous post was at 09:49 PM ----------

There will also be a one click restore

Stay tuned to this thread...
[Moto G General] Chris Kurisu:
Thank you. I am forever tweaking settings on Slimkat and Nova launcher, often restoring to a previous state. If my backup has had this batch file applied, will it persist even if the device had been previously wiped for a new rom?
[Moto G General] fabus:
I don't know details about restoring slimkat settings, but you can recommend applying this batch just when you are in cwm (there adb is working) or apply cwm zip.

I have created it, but have not share it yet. Just flash it just after rom.

I really like this topic, so simple and efficient :)
[Moto G General] skyguy126:
Anyone know the shell command to mount /cache and /data in read-write mode?
[Moto G General] fabus:
Cwm version: https://mega.co.nz/#!LFczlZgI!D6CEDpnU2KUZNNQfxg4IytUuval9AiCctu57z_MA0vY

Please be aware that this script changes dalvik location to / cache.

Please remember to remove /data/dalvik-cache2 when everything will be working ok. I deleted it immediately and I have no issues, but you are using on your own risk ;)

---------- Post added at 11:10 PM ---------- Previous post was at 11:08 PM ----------

Not 100% sure but you need to unmount and then mount with rw mode. In this case sine apps can keep crashing (because data is unmounted for a while). Somehow totakcimmander id doing it without problem, maybe it is so quick;)
[Moto G General] skyguy126:
Haha you beat me to it, is this a one click flashable zip?
[Moto G General] AndroidHtc101:
Thanks everyone. So we just flash this zip in Cwm as normal and reboot? I can do that I think:)
[Moto G General] fabus:
Yup:)
[Moto G General] AndroidHtc101:
Fabus I need your help please. I just flashed the zip in CWM. now i get past the motorolla spinning logo and now its blank screen:(

How can I got back into CWM and reverse it? My phone just keeps buzzing now:( Have i flashed it wrong?

---------- Post added at 12:48 PM ---------- Previous post was at 12:43 PM ----------

I'm back in now, I wiped dalvik in CWM :) guess this 600 free space is becoming illusive for me lol

---------- Post added at 12:57 PM ---------- Previous post was at 12:48 PM ----------

Its worked I see the dalvik cache 2 folder is 500 megs so im going to delete that:) thank you :D

---------- Post added at 01:41 PM ---------- Previous post was at 12:57 PM ----------

Back again lol. I only seem to have about a 120mb increase after deleting the 500mb cache 2folder strange, have I done anything wrong? . Thanks all
[Moto G General] fabus:
When you did wipe dalvik it reverted my patch.

When you install my zip, it will re-create dalvik-cache in /cache partition. First boot will be running for longer time than usual (about 10 minutes).
[Moto G General] AndroidHtc101:
Is a blank screen on reboot after flashing your Zip normal fabus? I will wait 10mins:)
[Moto G General] fabus:
What rom do you have? Actually it should work on every rom;)

I have flashed it and had usual boot screen...

If you can post logcat from adb, it would be great.

Also you can check by adb shell:

- whether /cache/dalvik-cache has some content

- /data/dalvik-cache points to /cache/dalvik-cache

- /data/dalvik-cache2 exists (previous dalvik-cache folder renamed)
[Moto G General] AndroidHtc101:
Im on stock rom rooted with bootloader etc. Didnt work for me with that zip,so reverted back to normal.

---------- Post added at 05:06 PM ---------- Previous post was at 04:51 PM ----------

I tried skyguy126 script,when i rebooted I can unfortunately lots of apps services saying ok, not letting in device now:( I keep click no and pops up again and everything looks different
[Moto G General] skyguy126:
Yeah I found a bug in my script the chmod command does not excuete properly and I am looking into it. This only happens on stock android. When I was running cm11 it worked fine. I'll look into it but for the mean time you can wipe dalvik cache and get your phone up and running again.

Stock doesn't accept the chmod 644 /cache/dalvik-cache/*

Going to replace it with chmod -R 644 /cache/dalvik-cache/

I will test it thoroughly before I release it.

I am also trying to create a one-click method that doesn't require adb root but that is still in progress...
[Moto G General] Jorge_007:
This seems like a nifty way to make more use of the available storage for the 8 GB models, BUT last time I checked OTA files are downloaded to "/cache" partition. I don't know if the Moto G downloads updates to the partition in question. If the software does download the OTA to the "/cache" partition and you've filled your cache partition with dalvik-cache files, you may not be able to receive updates until you delete the dalvik-cache. :(
[Moto G General] skyguy126:
Unfortunately, this method nor Bert98's method is not working on stock 4.4.4 US retail android. I have tried it manually and with scripts. Did it every way possible and went through about 30 factory restores and 10 ROM reflash. Does anyone know why this works on cyanogenmod but not on stock android?
[Moto G General] AndroidHtc101:
Thank you for everyone trying there best on stock KitKat☺ an extra 500megs would be cool though because I'm always getting low space warnings on my 8gig moto g
[Moto G General] skyguy126:
I scoured a bunch of forums and I think I know why. There is an init file in stock 4.4.4 which "forcefully" moves dalvik-cache back to /data. Currently looking for the script...

---------- Post added at 05:05 PM ---------- Previous post was at 05:03 PM ----------

I feel like changing the partition size and giving data would be easier. Going to try that now...
[Moto G General] Bert98:
I made this mod specifically to avoid repartitioning, but if you succeed, feel free to share with us how to do it :)

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G General] skyguy126:
Yes I will try and repartition but the issue is you won't be able to get ota that way cause it downloads to /cache I just don't understand why the sym link works in cm11 but not in stock.
[Moto G General] dd043:
The cache directory NEEDS 655 permissions otherwise you'll be stuck in a boot loop or everything will force close.

The permissions are reset on reboot (at least on stock rom).

The only way to really do it is to chmod during boot, you'll need init.d capability for that. It can work on stock rom, check init.d toggler.

/system/etc/init.d/S01cache

#!/system/bin/sh
mkdir /cache/dalvik-cache
chmod 655 /cache
chmod 655 /cache/dalvik-cache

Edit: init toggler: https://play.google.com/store/apps/details?id=com.broodplank.initdtoggler&hl=en
[Moto G General] skyguy126:
THANK YOU SO MUCH :). Gonna try and "exploit" that now and make it automatic. :D
[Moto G General] Chris Kurisu:
Yes. Please share!
[Moto G General] skyguy126:
YEP IT WORKED, I FEEL SO ACCOMPLISHED LOL. It is very simple and the automatic method will be relased tomorrow if all goes well with the batch file!!!!
[Moto G General] Bert98:
Did you repartition the G? :D
[Moto G General] dd043:
You are welcome :)

I've been stuck myself in a loop trying to do this mod, unable to revert because my encrypted /data couldn't be mounted from recovery :crying:.

I didn't know about init.d at the time, so I had to wipe up... Then I saw your post and regained interest in this mod and gave it another try, thanks :)

PS: If you choose to use init.d then your automated script can certainly enable it automatically for others, as far as I can tell it only adds a line to /etc/install-recovery.sh!

Edit: I had posted a method below with mount -o bind instead of a symlink but it is not reliable with encrypted partition as the init script can be executed before /data is mounted :(. I tried forking in bg and wait for the partition to no avil, so for now I deleted it to not confuse anyone.
[Moto G General] skyguy126:
I did not even use the init.d methid actually. I am going to give that a try now because its easier to integrate it into a batch file. But the method I used was modifying the post_boot.sh file and adding the /cache remount commands in it and it worked perfectly...

---------- Post added at 05:10 PM ---------- Previous post was at 05:02 PM ----------

When this is all done and working I will be making a new thread because this one is full of development and stuff. [MENTION=4758250]Bert98[/MENTION] maybe you can change the title of this thread to add devolopment/q&a.
[Moto G General] AndroidHtc101:
Thanks for everyone who helped time and effort appreciated :_) will you post link from new thread in this thread?

Thanks :)
[Moto G General] skyguy126:
New thread: http://xdaforums.com/moto-g/general/mod-storage-reloacting-dalvik-cache-t2953616

Not yet unfortunately the batch file still has issues... :(

---------- Post added at 07:11 PM ---------- Previous post was at 06:59 PM ----------

Do this at your own risk:

Ok guys here is what I have so far. I need you guys to test this out because for some reason my batch file is not working, and I do not know why. So here is the batch file (https://www.dropbox.com/s/2cop99irycgwnd3/cache_BETA_v1.3.zip?dl=0) I do not recommend running it as it will mess up your phone but download it to take a look at the code please. Here is what I am trying to acomplish:

1. Remount filesystem in rw mode.

2. There is a init.qcom.post_boot.sh file in /system/etc/

3. Grab that file and add:

mkdir /cache/dalvik-cache

chmod 771 /cache

chmod 771 /cache/dalvik-cache

chown system:system /cache

chown system:system /cache/dalvik-cache

in a specific location indicated by this image: https://www.dropbox.com/s/gxnl3uz3j1lje37/Capture.PNG?dl=0

4. Reboot to set permissions

5. Move dalvik-cache to cache and set links

6. Reboot.

When I do this process manually it works however when I run the batch file it does not work. Please take a look at this and tell me what is wrong. Thank you! :D

Other people if you can help please do so but be aware that the batch file can mess up the device at this stage although editing it should do no harm. YOU MAY NOT TAKE CREDIT OR REHOST THIS BETA VERSION WITHOUT MY CONSENT.

---------- Post added at 07:55 PM ---------- Previous post was at 07:11 PM ----------

Init.D is not working for me nor is chmod 655. I'm on the verge of giving up... Unless I can find and delete the init script which remounts /cache at boot.
[Moto G General] skyguy126:
Gonna try one last time with init.d and if it doesn't work i'm passing it onto more experienced devs :|
[Moto G General] lithoc:
Hi,

Suggestions: Please check the disk space by typring

df (look for /cache )

du /data/dalvik-cache

if the amount of data in /data/dalvik-cache is bigger than /cache

Please do not do the command linking the file
[Moto G General] skyguy126:
He did...
[Moto G General] lithoc:
Sorry, my bad.

I have different device and I don't have 600MB in /cache

IMHO, As this method can be applicable for other devices, it good to check /cache size
[Moto G General] snj12341:
hello, i did the same thing but now all apps are force closing.
[Moto G General] Ricky Divjakovski:
Symlinking the dalvik cache could conflict with application processed and cause crashes, missing icons etc..

Same as symlinking /data/app to /sdcard/apps2sd