Skip to navigation
Install LineageOs to an Asus Zenfone Max Pro M1
1. on my debian i install: * apt-get install adb * apt-get install fastboot 2. on the phone i clicked many times over the setting button "Build Number" to activate the Developer Button you find it under: Setting Icon > Abount phone > Build Number 3. than under the button Developer Options Setting Icon > System > Advanced > Developer Options i enable "USB debugging on your device" or something like this. 4. need to UNLOCK the ASUS boot loader, to to so use their tool,you can download it there: go to https://www.asus.com/Phone/ZenFone-Max-Pro-M1/HelpDesk_Download/ and download the apk UnlockTool in my case it was: https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZB601KL/UnlockTool_126.96.36.199_190708_fulldpi.apk 5.once on your possession you need to install this apk to your phone somehow. one way is over your linux desktop via adb in my case i did: # adb install UnlockTool_188.8.131.52_190708_fulldpi.apk 6. than on your device you can open this app and follow the unlock wizard. 7. now we need to have an installer(custom recovery) os on our device, i used a device specific build one called TWRP, you may find one for your device. https://twrp.me/Devices/ this boot-able os can be installed on your phone and be used like a maintainable rescue tool for convenient backup, restore and debug, it will be your life saver on this installation. to install it, find one for your device and save it on your linux box. in my case: https://androidfilehost.com/?fid=3700668719832241089 8 to install this TWRP you have to make a special install and it is called flashing. to flash it you have to use the installed flash protocol tool. on most android devices you can use the booted fastboot, some samsung models you have to use heimdall. In my case i start the phone with hold Volume Up + Power, keep holding both buttons until the word “FASTBOOT” appears on the screen, then release.(now im in fastboot and i flash images to partitions) 9 once boot up in your phone your linux host debian you should be able to communicate with fastboot try: # fastboot devices it should show you the devices like with adb devices Now flash(install) this TWRP into your recovery partition with: # fastboot flash recovery
.img 10. when you get OK from fastboot, reboot into this recovery OS TWRP by hold Volume Down + Power 11. there make a backup from your stock os and save it best to an additional external SD card, and better pull/copy this backup to your pc with the command # adb pull /xxx/my_backup.zip now you have some peace in mind, as with TWRP you can always restore this backup and your phone comes back like before. 12. clean the device with in TWRP: a. tap Wipe. b. tap Format Data and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage. c.return to the previous menu and tap Advanced Wipe, then select the Cache and System partitions and then Swipe to Wipe. 13 copy necessary firmware in my case(the phone was to old for the 16 series) to a storage location, in my case it was called external_sd # adb push PIE_20190401_firmware.zip /external_sd as well i copied # adb push decrypt.zip # adb push Magisk-v20.1.zip 13. copy the lineageos: as the new feature sideload did not work on my setup i used the old way to install it by: copy the lineageos zip file to my external_sd as well, side by side with my firmware.zip # adb push lineage-16.0-20191028-nightly-X00TD-signed.zip /external_sd/ 14. now finally, in TWRP i click on the button Install and searched for the external_sd folder and installed the firmware and os. after i click reboot, i UNCHECK the options "to install TWRP on my lineageos" - no need for this now and it prevented my lineage os to boot up
Information Epoch 1590525069
Live free or die.
Copyleft ☠ 2020