![]() Now transfer Lineage and TWRP to your phone, Windows / Linux should see TWRP fine as a media device when plugged in. After doing those two Reboot to Recovery one more time. Do NOT wipe cache, do not Wipe system, do NOT Wipe Dalvik / ART, do not add anything else, Just Factory Reset and Format Data. (This is the button that says Format data in the wipe menu) Factory reset (This is the slider at the bottom in the wipe menu). Run the TWRP installer, reboot to recovery (Optional, but if you flashed them once you have to keep flashing them.) Restore your data.Īfter this you should be able to update Lineage as normal. Then you should be able to setup the device, copy everything back over. Flash Magisk (Optional) (Remember for ver 22 the Magisk.apk gets renamed to Magisk.zip, can also be renamed to uninstall.zip for uninstalling) Reboot to Recovery (This is only the first time, to get the AOSP rom on both slots, only do this for the first install) Flash TWRP Installer (This is only the first time, to get the AOSP rom on both slots, only do this for the first install) Flash Lineage (This is only the first time, to get the AOSP rom on both slots, only do this for the first install) (This is the slider at the bottom, do not Wipe system, do NOT Wipe Dalvik / ART, do not add anything else) Reboot recovery (This step wipes the device, make sure you backed everything up!) Backup everything to the PC, so you will need to copy all your data over. Once in you have the hosts file into Notepad++ go to Edit, EOL Conversion, and Choose Unix (LF). I've never had much luck copy and pasting it from any other browser than Firefox (Windows or Linux), but however you get it into Notepad++ is not a big deal. If you are using Windows, the easiest thing to do is use Notepad++ (Free). If you are using linux, don't worry about this, just create the file. The hosts file must use unix / linux line endings. The easiest way is to use TWRP.įirst we have to make the hosts file. Unfortunately for quite some time now on this device you can no longer just use a root browser to swap the hosts file. (Scroll down you'll see the options of what you can block)ĭirect link to the hosts file I use. I've been use StevenBlack's host file which is a compilation of several hosts files. You can block many things with a hosts file, most popular would be ads. Python3 payload_dumper.py payload.bin <- runs the payload_dumper "program" and extract the images from the payload.bin In my case my commands are:Ĭd Desktop <- switches to the Desktop folderĬd payload_dumper <- switches to the payload_dumper folder on the Desktop Navigate to the location of payload_dumper and your payload.bin file. Now open a terminal so we can extract the images from the payload.bin. Open up Synaptic again, search for python3.6 and install it. ![]() Extract the payload_dumper files as well, and place everything in the same folder. You need to extract the payload.bin file from the stock rom zip. I've yet to get the one from the GitHub link to work, so I've been using the one from this Article. So we will need to make our own fastboot rom. The catch being that thread is no longer updated. You will also need the appropriate fastboot ROM. Sudo cp platform-tools/fastboot /usr/bin/fastboot In the terminal run these commands to update fastboot and adb (this is downloading them directly from Google). ![]() Just to make sure we don't run into any problems we need to update adb and fastboot. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |