Libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 \ Lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool \ Sudo apt install -y bc bison build-essential ccache curl \įlex g++-multilib gcc-multilib git gnupg gperf imagemagick \ Install some dependencies on Debian first: The download was not working for me so I had to build my own. You can download a pre-built ROM at, or you can build your own. This will remove any encryption and be the most complete wipe. If you want to completely wipe everything, use the format option. If you don't care about the internal storage and you want to do a total wipe, check all boxes. You can only boot into the bootloader(fastboot) or recovery mode. ![]() There will be no OS after wiping System so it will just hang if you try to boot into the system. If you had any pictures, those will remain if you leave Internal Storage unchecked. Leave Internal Storage unchecked if you want to keep /data/media/ and /sdcard/ which is where you might have some OS/GApp install files you want to re-use. If you want to wipe the OS too, choose Advanced Wipe, then choose Dalvik, Data, and Cache from the default wipe and then also add in System. It will greet you as if it was the first boot and have you setup the first user. This will reset the OS back to a fresh install, but it will leave the OS there. In TWRP, if you want to wipe, doing a “default wipe” will wipe Data, Cache, and Dalvik Cache. ![]() Then in the bootloader menu, press volume-down twice and then the power button once to enter into Recovery mode, which should now be the latest TWRP that we just flashed. # Power off and power on while holding volume-down or use fastboot If all goes well, reboot manually while holding volume-down or use fastboot to reload into bootloader. It will simply decline if you have already unlocked and tell you it's already unlocked.įrom here, you can run fastboot flash recovery twrp-3.5.1_9-0-bullhead.img and it will install the TeamWin - TWRP recovery image.įastboot flash recovery twrp-3.5.1_9- 0-bullhead.img If you need to unlock it use fastboot flashing unlock. # Verify it's got connection and you can see it You might need to use sudo to run fastboot from Android SDK tools (likely ~/Android/Sdk/platform-tools/fastboot). Once it is in this bootloader menu and the phone is plugged into the PC, you can run fastboot devices and it should show up as fastboot in the list. # Alternatively, power on while holding volume-down ![]() ![]() # Restart phone to the boot menu (fastboot) In order for this to work you might have to turn on USB debugging by going into the Android menu to Settings | System | About and tap Build Number seven times, then go back to Developer Options and turn on USB debugging. The other way to boot into the bootloader menu is to plug the phone in to the computer and use adb to run adb reboot bootloader which will restart to the boot menu asking if you want to boot normally or boot into recovery image. TWRP allows you to backup things, install new operating systems, etc. This will load it into the simple bootloader where you can press down twice and enter “Recovery” mode which will then enter the TWRP recovery program. When the custom recovery is installed, you can plug the phone into the computer over USB and power it on while holding the volume-down button.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |