WarrantyVoider
Android Enthusiast
This is just some extra information for those users new to this phone and to Android. Please check post #251 first. This method is intended to make small, mostly reversible changes to the stock firmware. My implementation is developed and tested on MS500, stock firmware 12b. D500 is probably similar enough. I don't know enough about D505. If you decide to try, please have a backup of your data because no one can help you break Murphy's Law. I'll assume access to a Windows PC. Instructions for Linux systems would be even simpler. I don't know enough about Macs, but there should be enough info online to understand how to do the equivalent steps.
Preparing the SD card
Use Samsung or SanDisk.
Install MiniTool Partition Manager: Free Partition Manager for Window PC | MiniTool Partition Wizard Free Edition
Make the first partition primary, fat32, aligned tocylinder MB. <-- Aligning to MB is better. Sorry about the mistake.
Make the second partition primary, ext4, aligned tocylinder MB. <-- Aligning to MB is better. Sorry about the mistake.
Put the SD card into the phone.
Installing drivers and ADB
Connect the phone to the PC. Autorun should pop up. Running the LG program should install the drivers.
Download and install ADB. You can use a standalone version from: ADB Stand Alone | SourceForge.net .
Rooting the phone
You need to root the phone to modify system files. Get tr.apk from https://towelroot.com/ and copy it to the phone.
In Settings, Security, turn on Unknown sources.
Go to File Manager and install towelroot.
Run the app to "make it rain."
You can turn Unknown sources back to off.
You can uninstall tr.apk once rooting is successful.
Installing this hack
Extract the zip from post #251 onto the SD. You can do this from Windows to the phone or use File Manager on the phone. So now at the root directory of the SD's fat32 partition, there should be a folder /DataOnSD with three files in it.
Disconnect the phone from PC.
In Settings, Developer options, turn on USB debugging.
Reconnect the phone and open an ADB window.
Typing
should show your device.
Type
to get a prompt from the phone's shell.
Type (or copy and paste) the commands as described in post #252:
At this point, installation is basically done. Next, you need to decide whether you want to keep root. Note that removing root doesn't mean the phone is returned to the factory condition as far as rooting goes. The stock software keeps track of whether the phone's been rooted, and unrooting with the steps below doesn't remove that history.
Keeping root
Type "exit" three times to close the ADB window.
Disconnect cable.
Turn off USB debugging.
Install a superuser manager from the Play Store, either Chainfire's SuperSU or ClockworkMod's Superuser.
Optionally, install Busybox, which is used by many root apps.
Optionally, use File Manager to remove the /DataOnSD folder and its files from the SD card.
Removing root
In the ADB window, type
Disconnect cable.
Turn off USB debugging.
Optionally, use File Manager to remove the /DataOnSD folder and its files from the SD card.
If everything looks right, reboot the phone. File copying will take some time. After files are copied, the script will automatically reboot the phone once. Hopefully everything works. Good luck.
Uninstalling
If you need to uninstall the hack, you would almost do the same thing (root the phone if unrooted), except in the ADB window, you'd type
Preparing the SD card
Use Samsung or SanDisk.
Install MiniTool Partition Manager: Free Partition Manager for Window PC | MiniTool Partition Wizard Free Edition
Make the first partition primary, fat32, aligned to
Make the second partition primary, ext4, aligned to
Put the SD card into the phone.
Installing drivers and ADB
Connect the phone to the PC. Autorun should pop up. Running the LG program should install the drivers.
Download and install ADB. You can use a standalone version from: ADB Stand Alone | SourceForge.net .
Rooting the phone
You need to root the phone to modify system files. Get tr.apk from https://towelroot.com/ and copy it to the phone.
In Settings, Security, turn on Unknown sources.
Go to File Manager and install towelroot.
Run the app to "make it rain."
You can turn Unknown sources back to off.
You can uninstall tr.apk once rooting is successful.
Installing this hack
Extract the zip from post #251 onto the SD. You can do this from Windows to the phone or use File Manager on the phone. So now at the root directory of the SD's fat32 partition, there should be a folder /DataOnSD with three files in it.
Disconnect the phone from PC.
In Settings, Developer options, turn on USB debugging.
Reconnect the phone and open an ADB window.
Typing
Code:
adb devices
Type
Code:
adb shell
Type (or copy and paste) the commands as described in post #252:
Code:
su
cd /storage/external_SD
touch LGF6DataOnSD_INIT
cd DataOnSD
sh installer.sh both
Keeping root
Type "exit" three times to close the ADB window.
Disconnect cable.
Turn off USB debugging.
Install a superuser manager from the Play Store, either Chainfire's SuperSU or ClockworkMod's Superuser.
Optionally, install Busybox, which is used by many root apps.
Optionally, use File Manager to remove the /DataOnSD folder and its files from the SD card.
Removing root
In the ADB window, type
Code:
mount -o remount,rw /system
rm /system/etc/install-recovery.sh
rm /system/xbin/daemonsu
rm /system/xbin/su
mount -o remount,ro /system
exit
exit
exit
Turn off USB debugging.
Optionally, use File Manager to remove the /DataOnSD folder and its files from the SD card.
If everything looks right, reboot the phone. File copying will take some time. After files are copied, the script will automatically reboot the phone once. Hopefully everything works. Good luck.
Uninstalling
If you need to uninstall the hack, you would almost do the same thing (root the phone if unrooted), except in the ADB window, you'd type
Code:
adb shell
su
cd /storage/external_SD/DataOnSD
sh installer.sh uninstall
exit
exit