need a little help to manually upgrade X00TD from lineage 16.0 to 18.1 - Asus ZenFone Max M1 Questions & Answers

it currently has android 9 so it hasn't taken an update since lineage 16.0 in february. is there a way to upgrade to the newest version of lineage manually? i have redwolf twrp. the problem i'm running into is when i try to sideload the newest lineage it says this:
Users-iMac-2:~ user$ adb reboot sideload
Users-iMac-2:~ user$ adb sideload /Users/user/Downloads/lineage-18.1-20210525-nightly-X00TD-signed.zip
serving: '/Users/user/Downloads/lineage-18.1-20210525-nightly-X00TD-signed.zip' Total xfer: 0.00x
i'm inexperienced with terminal so i really need to have things spelled out for me sometimes. not sure why it seems to try to sideload the zip and it fails.
thanks for any help

Related

TWRP won't boot

I am attempting to put lineageos on my new Mi A1, following the installation guide here https://wiki.lineageos.org/devices/tissot/install
I have previously installed lineage on my old Moto G LTE and a Samsung Galaxy S4 and have not run into issues.
I have unlocked the bootloader and all that but I can't get twrp to boot.
I boot into fastboot with
Code:
adb reboot bootloader
that works fine, then I
Code:
fastboot boot twrp-3.2.2-0-tissot.img
This seems to have no effect, other than my phone 'disconnecting' from the PC.
I get the following terminal output
Code:
./fastboot boot .\twrp-3.2.2-0-tissot.img
Downloading 'boot.img' OKAY [ 0.682s]
booting OKAY [ 0.623s]
Finished. Total time: 1.336s
However nothing happens on the phone, it still just has the fastboot logo on it.
At this point if I manually reboot (long-press power) it will reboot into stock rom.
If I manually reboot into recovery (long-press power+volume up) it will reboot into stock recovery
I have ensured my sytem tools are up to date, and tried the previous version of twrp, and there is no change.
I WAS able to get twrp to boot using the "Mi A1 Tool" i found here https://forum.xda-developers.com/mi-a1/how-to/tool-xiaomi-mi-a1-tool-drivers-unlock-t3742857
However I was not able to install lineage due to an error.
I did not copy the exact output but it was something along the lines of
error 7, kInstallDeviceOpenError
After this attempt, I reflashed the stock rom using Xiaomi tools, and am back to the beginning.
The phone is fully up-to-date with stock updates, Android 8.1, July security update.
Once again went through the bootloader unlocking, and everything, but have arrived at the same result.
Anyone have any ideas?
any help would be greatly appreciated!
Thanks!
Hey, could you try this TWRP made for Oreo? https://www.androidfilehost.com/?fid=818070582850498337 (thread: https://forum.xda-developers.com/mi-a1/development/recovery-twrp-3-1-1-0-touch-recovery-t3688472)
I've also had some issues booting TWRP, but running
Code:
fastboot oem unlock
was enough to boot it successfully (
Code:
fastboot boot recovery-3.2.1-2-oreo.img
)
Thank you!
dgadelha said:
Hey, could you try this TWRP made for Oreo? https://www.androidfilehost.com/?fid=818070582850498337 (thread: https://forum.xda-developers.com/mi-a1/development/recovery-twrp-3-1-1-0-touch-recovery-t3688472)
I've also had some issues booting TWRP, but running
Code:
fastboot oem unlock
was enough to boot it successfully (
Code:
fastboot boot recovery-3.2.1-2-oreo.img
)
Click to expand...
Click to collapse
This recovery image worked great, AND installed lineage, thank you very much.
However, I am now unable to get gapps working.
I was pointed to this changelog here https://lineageos.org/Changelog-19/ by a user in the lineage subreddit.
I rebooted from twrp into the lineage recovery, chose Apply Update -> Apply from ADB
On my PC I run
Code:
./adb sideload .\MindTheGapps-8.1.0-arm64-20180610_024023
.zip
and after a pause I get the output
Code:
serving: '.\MindTheGapps-8.1.0-arm64-20180610_024023.zip' (~0%) adb: failed to read command: No error
and sometimes I get
Code:
serving: '.\MindTheGapps-8.1.0-arm64-20180610_024023.zip' (~0%) adb: failed to read command: Connection reset by peer
What happens on the phone has been a little different each time I have attempted this.
It either pops up on screen that it is unable to verify the file, install anyway?, doing so doesn't work.
OR it is hung up on a progress bar screen, with the following log output, or a slight variation of it
Code:
Stopping adbd...
Now send the package you want to apply to the device with "adb sideload <filename>"...
Finding update package...
Opening update package...
Verifying update package...
E: Signature verification failed
E:error: 21 Restarting dbd... Installation aborted.
After many attempts of this, reflashing lineage, and trying again, it did miraculously start doing the transfer at one point. It got to 47% then failed again.
Can't you just install from recovery?
https://forum.xda-developers.com/mi-a1/development/rom-lineageos-15-1-t3757938
pidermin said:
This recovery image worked great, AND installed lineage, thank you very much.
However, I am now unable to get gapps working.
I was pointed to this changelog here https://lineageos.org/Changelog-19/ by a user in the lineage subreddit.
I rebooted from twrp into the lineage recovery, chose Apply Update -> Apply from ADB
On my PC I run
Code:
./adb sideload .\MindTheGapps-8.1.0-arm64-20180610_024023
.zip
and after a pause I get the output
Code:
serving: '.\MindTheGapps-8.1.0-arm64-20180610_024023.zip' (~0%) adb: failed to read command: No error
and sometimes I get
Code:
serving: '.\MindTheGapps-8.1.0-arm64-20180610_024023.zip' (~0%) adb: failed to read command: Connection reset by peer
What happens on the phone has been a little different each time I have attempted this.
It either pops up on screen that it is unable to verify the file, install anyway?, doing so doesn't work.
OR it is hung up on a progress bar screen, with the following log output, or a slight variation of it
Code:
Stopping adbd...
Now send the package you want to apply to the device with "adb sideload <filename>"...
Finding update package...
Opening update package...
Verifying update package...
E: Signature verification failed
E:error: 21 Restarting dbd... Installation aborted.
After many attempts of this, reflashing lineage, and trying again, it did miraculously start doing the transfer at one point. It got to 47% then failed again.
Click to expand...
Click to collapse
Hey,
Install GApps also at TWRP. Signature verification is failing most probably because the Lineage Recovery should be accepting only Lineage-signed ZIP files.
You can install TWRP in your current boot image (so you don't need to boot TWRP everytime through fastboot) with this ZIP: https://www.androidfilehost.com/?fid=746010030569959456 (yet, you need to boot to TWRP through fastboot so you can flash it, but no need to boot it manually after installing it). Notice that after every system update you may need to install TWRP again (same for Magisk), as boot images get replaced.
Also, if sideload fails, you can just do a
Code:
adb push filename.zip /sdcard/
then install the ZIP directly from the "Install" section on TWRP.
Thanks!
Thanks a lot!
I found and was able to follow this guide
https://forum.xda-developers.com/mi-a1/how-to/lineageos-gapps-magisk-twrp-dolbyatmos-t3762939
instead of the one on the lineageOS website, and I am up and running.
Thank you very much for your time!
Can't boot to recovery or fastboot
I'm totally not getting the problem, i am having network issues on my Mi A1 on both Oreo and pie. So I decided to install a custom ROM but I can't boot my device to fastboot or recovery, it simply reboots . I tried the hard keys as well as through the PC using command prompt it just reboots normally. Any suggestions on what should I do Please?
Azan Qazi said:
I'm totally not getting the problem, i am having network issues on my Mi A1 on both Oreo and and pie. So I decided to install a custom ROM but I can't boot my device to fastboot or recovery, it simply reboots . I tried the hard keys as well as through the PC using command prompt. Any suggestions on what should I do.
Click to expand...
Click to collapse
Have you tried doing reboot in the OS and choosing Recovery option?
Azan Qazi said:
I'm totally not getting the problem, i am having network issues on my Mi A1 on both Oreo and pie. So I decided to install a custom ROM but I can't boot my device to fastboot or recovery, it simply reboots . I tried the hard keys as well as through the PC using command prompt it just reboots normally. Any suggestions on what should I do Please?
Click to expand...
Click to collapse
TrueMS said:
Have you tried doing reboot in the OS and choosing Recovery option?
Click to expand...
Click to collapse
yes sir I did tried several times. But as I said above it simply reboots the system.

[LOS 15.1] sailfish problem with LOS Updater (pixel)

Hi everyone
When i update via adb sideload it work most of the time, but not via the builtin updater from LOS. I can download and click install a new build, it will take a lot of time at the step "Finizializing package installation". When i reboot after that it reboots a few times, i see the bootloader logo and it turns off again. After some reboots LineageOS starts, but ont the old build.
Does anyone with a pixel have the same problem? Is this because it is an A/B device?
Does the maintainer @razorloves have this behavier too on his device?
Solution
PVO1601 said:
Hi everyone
When i update via adb sideload it work most of the time, but not via the builtin updater from LOS. I can download and click install a new build, it will take a lot of time at the step "Finizializing package installation". When i reboot after that it reboots a few times, i see the bootloader logo and it turns off again. After some reboots LineageOS starts, but ont the old build.
Does anyone with a pixel have the same problem? Is this because it is an A/B device?
Does the maintainer @razorloves have this behavier too on his device?
Click to expand...
Click to collapse
Found the solutions. I had to flash the correct bootloader, vendor & radio-Images on all slot as described on this first post: https://forum.xda-developers.com/pixel-xl/development/rom-lineageos-15-1-pixel-xl-marlin-t3725985
Code:
fastboot flash --slot all vendor VendorFileName.img
fastboot flash --slot all radio RadioFileName.img
fastboot flash --slot all bootloader BootloaderFileName.img

Adb works from system (LinageOS) but not recovery (TWRP), why?

I have a SM-903F that I 've installed Lineage OS 15.1 on. When the phone has booted to lineage os I can connect it to my laptop (running Ubuntu MATE 18.04) and interface with it through adb. For example:
Code:
$ adb devices
List of devices attached
3300bc9047147255 device
But when I reboot the phone into recovery the device is not detected and nothing gets shown. I have the latest official TWRP release, 3.2.3-0 installed.
Any ideas on what's happening and how to fix it?

Cannot install LineageOS from TWRP (bootloop, error 7, etc.)

Hello, I'm trying to install LineageOS on my Asus Zenfone Max Pro m1 (ZB602KL) but I'm stuck in TWRP and cannot install any OS.
(Sorry I cannot post proper external links as i am new on this forum)
I will try to explain what I did as clearly as possible (I was following the install page X00TD from the LineageOS website) :
1. Unlocking the bootloader
No problem here I guess, I just downloaded the from asus.com/Phone/ZenFone-Max-Pro-M1/HelpDesk_Download/ then
Code:
adb install
it then run the application from the device.
2. Installing a custom recovery using fastboot
This is where is start to be blurry for me. I download the TWRP from the link given by the LineageOS install page (androidfilehost.com/?fid=3700668719832241089) I can
Code:
fastboot flash recovery <recovery_filename>.img
without any problem but when I reboot into recovery I don't get TWRP and when try to
Code:
fastboot boot <recovery_filename>.img
I get something like this :
Code:
downloading 'boot.img'...
OKAY [ 2.292s]
booting...
FAILED (remote: unknown command)
So I'm trying to get an other version of TWRP from the TWRP website but the Asus Zenfone Max Pro m1 is not listed in the devices section (twrp.me/Devices/Asus/). I finally found this reddit post reddit.com/r/LineageOS/comments/aiiw3f/flashing_twrp_on_linux_fastboot_doesnt_work/ , download this TWRP androidfilehost.com/?fid=11410963190603879312 and flash it using
Code:
fastboot flash:raw boot <recovery_filename>.img
as recommended on the post and can finaly boot into TWRP.
3. Installing LineageOS from recovery
I "format data" and do an "advanced wipe" as indicated on the LineageOS install page, I get some error messages (encryption, etc.) so I reboot into recovery and try again and it seems to work. I try to sideload the last lineage build downloaded here download.lineageos.org/X00TD but I get this :
Code:
adb: sideload connection failed: closed
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: closed
so I decided to
Code:
adb push
it and install it via TWRP but I get an
Code:
Updater process ended with ERROR: 7
. I found this reddit post reddit.com/r/LineageOS/comments/cfwnox/x00td_lineageos_16_firmware_error/. I downloaded the firmware from asus.com/Phone/ZenFone-Max-Pro-M1/HelpDesk_Download/ but I cannot install it from TWRP (error 7 again).
Then I found some link to a "PIE" firmware that I can install from TWRP after installing the "PIE" firmware I can finally install LineageOS but when I reboot I get some warning message saying : "the boot loaded is unlocked and software integrity..." after this I get the LineageOS loading animation (the right to left blue bubble) for 2 minutes then it reboot to TWRP.
Voila.
- I don't really understand the difference between the FIRMWARE (1.5 Gb) or the PIE FIRMWARE (60 Mb) or even the LineageOS file. I'm still trying to adb push some firmware or OS and install them but i'm affraid of making an irreversible mistake and "brick" the phone.
- I don't know if the problem come from my
Code:
fastboot flash:raw boot <recovery_filename>.img
TWRP install or from a bad TWRP file, or from the OS/firmware file.
So what should I do now? How do I clean this mess and install a working OS (LineageOS or even back to Asus/Android factory OS)?
Any help is appreciated, Thank you
uncheck TWRP boxes?
I found this post reddit.com/r/LineageOS/comments/dtnec5/infinite_loading_screen_after_fresh_installation/
and I simply unchecked the TWRP auto install boxes before reboot... and it seems to work for the moment.
The OS takes 7.8Gb, I don't know if it's a normal size or I messed something.
Flash newer firmware

Unable to install TWRP recovery on Zenfone Max Pro M1

Hi all,
I have this X00TD model, and I recently updated firmware to WW-16.2017.2002.061. The phone has Android recovery, and I want to install Lineage OS. Whenever I try to install Lineage, I get the error 21 "signature verification failed". I read somewhere that I can disable the signature check in TWRP. But TWRP fails to install, whatever I try. I tried 3 different unofficial versions of TWRP (as my phone model has no official version of TWRP) and in fastboot, when I give the command "sudo fastboot flash recovery <filename>.img", nothing happens, and the process just freezes, and I need to kill the terminal to end the process. I have Ubuntu 18.04 installed. ADB and fastboot seem ok. When I type "sudo fastboot devices", my phone entry comes up. Any help would be welcome. I don't have windows os.
Thanks.
akhil520c said:
Hi all,
I have this X00TD model, and I recently updated firmware to WW-16.2017.2002.061. The phone has Android recovery, and I want to install Lineage OS. Whenever I try to install Lineage, I get the error 21 "signature verification failed". I read somewhere that I can disable the signature check in TWRP. But TWRP fails to install, whatever I try. I tried 3 different unofficial versions of TWRP (as my phone model has no official version of TWRP) and in fastboot, when I give the command "sudo fastboot flash recovery <filename>.img", nothing happens, and the process just freezes, and I need to kill the terminal to end the process. I have Ubuntu 18.04 installed. ADB and fastboot seem ok. When I type "sudo fastboot devices", my phone entry comes up. Any help would be welcome. I don't have windows os.
Thanks.
Click to expand...
Click to collapse
Fastboot flash recovery twrp.img
Sent from my ZenFone Max Pro M1 using Tapatalk
If you can't install TWRP on pie, try reverting to Oreo with AFT and then flash TWRP in fastboot. Also make sure you have unlocked the bootloader whether by the official tool or the unofficial method. THIS WILL DELETE ALL DATA SO BACK UP.
Thanks arko. Is there Asus Flash Tool available for Linux also? Will try and revert. Thanks :svetius
Tried reverting to Oreo with AFT, doesn't work. I installed windows 10, but fastboot doesn't work.
#fastboot devices gives me no output. I have the Oreo zip file, any alternate way I can install it? As you mentioned, there seems to be an issue with the pie ROM on my phone. Any way I can downgrade to Oreo using windows/Linux?
akhil520c said:
Tried reverting to Oreo with AFT, doesn't work. I installed windows 10, but fastboot doesn't work.
#fastboot devices gives me no output. I have the Oreo zip file, any alternate way I can install it? As you mentioned, there seems to be an issue with the pie ROM on my phone. Any way I can downgrade to Oreo using windows/Linux?
Click to expand...
Click to collapse
Windows 10 ? Its bcuz Driver Signature Enforcement
Disable it and reinstall adb and fastboot drivers, it will work for sure.
Windows driver security wouldn't accept drivers without proper Signatures,so like i said, just disable it and you are good to go.
:good:
​
Tried steps you mentioned, doesn't work. In fastboot mode, #fastboot devices gives me no output. Looks like my pie ROM is buggy. Basically, I need to install lineage on the phone.
Hi all,
Finally got everything done in about 5 mins I booted up Ubuntu Mate (32 bit) on my other laptop, and found I'd already installed adb and fastboot on it from the repositories (not from google). I booted my phone in fastboot mode, and tried the #fastboot devices command, and voila, my phone got detected! After that, it was a matter of a few minutes, following the installation instructions (of twrp and lineage) from the lineage website. Thanks for all your inputs and help
P.S: I realised (again), after more than 2 decades, that windoze mighty sucks lol.

Categories

Resources