[Samsung Galaxy Nexus] Nephilim:
Hey guys, a little trick I did yesterday that very much improved my Gnex performance plus a bunch of other things:

Before doing this remember to have a copy of your favorite rom available to push via adb, a nandroid backup of your current device saved and copies of anything else (pictures, ringtones, music etc) you might want saved off your sdcard on your PC! Otherwise when you wipe data everything you have on your sdcard will be lost forever!

Yesterday I did a factory wipe in TWRP but I also wiped data so my entire SDcard was erased as well. Then I adb pushed PA onto it just to get flash so I had something to boot my phone into, after that I moved my Nandroid over to my sdcard from my pc once my device was booted up, rebooted into recovery and proceeded to restore it. Finally, I pushed all my music, pictures, notifications, ringtones etc back onto my sdcard with the exception of the amount of music I moved back onto my sdcard this time. So instead of leaving myself a little over 3gb of space I left myself a little over 7gb of space. I don't know if it's the extra space or if it was the complete wiping of all data or a mix of the both but whatever it was it improved my sdcard read/write speeds and my performance/battery life in a huge way. I then dirty flashed todays nightly. :)

Now I just used PA as an example, you can flash any rom you are using just to get back onto your device and move a PC backed up nandroid back over to your sdcard.

Also, After doing this, I am only about 150-200 points below stock Galaxy Nexus benchmark results using my underclocked and undervolted settings. (which is amazing if you think about it.)

Hopefully this helps some people experiencing lag when dirty flashing or just with new updates of their favorite rom. I read that after awhile data from past flashes starts to build up and can create issue so that is what gave me the idea to try this out. It's kind of a loophole to avoid having to start over from scratch like people that do a clean wipe on every update. :)

You can do this anytime you feel like you may be losing performance, getting lag, losing battery life etc. :good:

As always, Give a THANKS if this has helped you out!

Click "SHOW CONTENT" For A Detailed Step-By-Step Tutorial Of How To Do Above For The Layman:

1. Make a nandroid and copy it to your PC.

2. Copy all folders/files you do not want to lose on your SDcard to a specifically labeled folder on your PC ("SDcard Backup" for example)

3. Go into recovery

(TWRP is the only one I can guarantee)

and do a factory reset and wipe data.

4. Push a fresh version of your current rom from your pc to the /sdcard/ of your device.

5. Flash the rom you just pushed.

6. Before booting your device make a nandroid backup of the rom you just flashed so the file location for nandroid is readded to your recently wiped SDcard.

7. Boot your device, once fully booted plug your device via usb into your PC.

8. Open your sdcard folder on your pc, proceed to transfer the nandroid folder you have on your pc over to the corresponding TWRP backup folder and delete/replace the one you just made of the fresh rom.

(example; TWRP/BACKUP/0149CCCF0C007006/ is the folder you will want to put your PC saved nandroid, "0149CCCF0C007006" may not be the exact number for you, you may have a different number but that is the example of where it goes folderwise)

9. Reboot into recovery

10. Restore the nandroid you just copy/pasted from your pc

11. Reboot your device normally once again

12. Copy/Paste all the contents of what you may have saved on your pc in "SDcard Backup" back onto your sdcard.

13. Enjoy a much more responsive device with better battery, performance and sdcard read/write speeds.

Below I have indcluded a simple ADB Push tool to help those that are not quite as tech savvy, Simply extract the rarfile into a folder (Call it "ADB PUSHER") and then click the execution file anytime you wish to use the application.​