- Nov 9, 2011
- 1,813
- 2
- 0
Re: TIPS: How to re-enable Tethering on KitKat.
-If you unlock the bootloader for the first time, your data has to be wipe, you have no choice, which means anytime you type this and accept Yes on the phone: fastboot oem unlock
-When you flash an image, within the "flash-all.bat", there is the command: fastboot -w update img, the -w will wipe your data, you can remove the -w, to prevent wipe. However, there are times when your apps data have incompatibility with the new firmware image you just flashed and the phone stuck while booting, you would need to boot into recovery and wipe data. Stock recovery "factory reset" wipe everything including your internal storage, custom recovery leave internal storage alone.
-And lastly, fastboot erase userdata.
Notice that everytime you erase a partition, you need to reflash it or reformat it otherwise it doesn't exist anymore for the phone to recognize, which mean the phone might not boot successfully. So if you erase userdata, you need to either: fastboot flash userdata userdata.img (this is already included within the factory image), or "fastboot format userdata" to create a blank internal storage.
If you need to backup apps data before unlocking, use Helium and it's desktop companion app.
It does exist as part of this guide which has 150K+ views: http://forums.androidcentral.com/ne...3923-guide-nexus-4-factory-image-restore.html (step 5).No such line exists in the factory image scripts.
These three fastboot commands will wipe your data:Also, someguy01234 says that, in flashing, you "have to not type: fastboot erase userdata, which also delete alll your data". But the Guide says that the "first command is going to wipe all your old EVERYTHING from the device." The "first command" listed is "fastboot erase boot" while "fastboot erase userdata" is the last command listed. So, to save the data, do we not type "fastboot erase boot", "fastboot erase userdata", or both?
-If you unlock the bootloader for the first time, your data has to be wipe, you have no choice, which means anytime you type this and accept Yes on the phone: fastboot oem unlock
-When you flash an image, within the "flash-all.bat", there is the command: fastboot -w update img, the -w will wipe your data, you can remove the -w, to prevent wipe. However, there are times when your apps data have incompatibility with the new firmware image you just flashed and the phone stuck while booting, you would need to boot into recovery and wipe data. Stock recovery "factory reset" wipe everything including your internal storage, custom recovery leave internal storage alone.
-And lastly, fastboot erase userdata.
Notice that everytime you erase a partition, you need to reflash it or reformat it otherwise it doesn't exist anymore for the phone to recognize, which mean the phone might not boot successfully. So if you erase userdata, you need to either: fastboot flash userdata userdata.img (this is already included within the factory image), or "fastboot format userdata" to create a blank internal storage.
If you need to backup apps data before unlocking, use Helium and it's desktop companion app.
Last edited: