LnOS 14.1 and Magisk - Xiaomi Mi 5s Questions & Answers

Hi guys,
I search all over the forum bur cannot find something to help me.
I want to install the Magisk (12v or 13beta if so) but there's an error about boot image.
How can I fix it?
I'm using Lineage 14.1 build 030717
firmware: capricorn-CN-7.6.15-7.0

So what is the error message you see? There is no David Copperfield in this forum I think .
lflima said:
Hi guys,
I search all over the forum bur cannot find something to help me.
I want to install the Magisk (12v or 13beta if so) but there's an error about boot image.
How can I fix it?
I'm using Lineage 14.1 build 030717
firmware: capricorn-CN-7.6.15-7.0
Click to expand...
Click to collapse

mistersixt said:
So what is the error message you see? There is no David Copperfield in this forum I think .
Click to expand...
Click to collapse
Sorry, I imagine that this boot problem are common.
The message is
Boot image patched by other programs!
Please restore stock boot image
Updater process ended with ERROR: 1
Error installing zip file
I don't know how I restore the stock boot and what boot image should I use.
Thanks

Related

[Q] Secure Booting Error! Cause: boot certification verify

hi friends
LG G3 D855 - Android 5.0-ROOT
I want to install the CUSTOMROM. I installed TWRP. I restart the phone, I see Secure Booting Error! Cause: boot verify certification.
Then the phone turns off, the warning light starts to burn ...
I wear again, remove the battery, the phone works.
-
I want to Twrp to install custom ROMs ..
1. I installed Kitkat
2-Root
3-I installed TWRP.
4-Phone I rebooted, it s work for the ... (TWRP working)
5-. I install custom ROMs and bump with TWRP
6- I restart the phone, I got the error again (Secure Booting Error! Cause: boot verify certification.)
I restart the phone, remove the battery, but I always get the same error.
I install android 5.0 with Lgtools, phone is working. But I want to install custom ROM. How do I make
????
i believe the error may be with the kernal. boot into twrp and try flashing one of these and report back
->http://forum.xda-developers.com/lg-g3#kernels
kp_q said:
i believe the error may be with the kernal. boot into twrp and try flashing one of these and report back
->http://forum.xda-developers.com/lg-g3#kernels
Click to expand...
Click to collapse
when i install TWRP , ı have Secure boot error
ftekinsen said:
when i install TWRP , ı have Secure boot error
Click to expand...
Click to collapse
????????????
??? help pls
i fix it i can help about this topic anybody ...
Please post your solution; I just rooted and flashed TWRP, and now I cannot reboot into recovery.
FIXED
Heres a solution to your problem... http://forum.xda-developers.com/spr...y-download-t3053985/post60106965#post60106965
ftekinsen said:
i fix it i can help about this topic anybody ...
Click to expand...
Click to collapse
Would love to hear the fix. Happening to me today.
Thanks!
How to fix it? Can you tell me the step?
I really have the problem like you, want use custom rom but can't reboot in recovery mode
ftekinsen said:
i fix it i can help about this topic anybody ...
Click to expand...
Click to collapse
hey i have this issue on att g3 installed twrp through auto rec now boots to security error screen. how can i fix this?
Since you have twrp just flash a kernel or a new rom through twrp.
Cool thanks man. I was kinda stuck there. I couldn't get my pc to see the phone, had to wait for a micro sd card to put the kernel on. Thanks a lot
Sent from my LG-D850 using XDA Free mobile app
Hello Friend
I just have same problem like you + the when I connect the G3 to my computer it did not recognize it
many tanks for your help
This worked for me
this - http://forum.xda-developers.com/lg-g3/general/apk-flash-twrp-autorec-thanks-to-t3081396
LG G3 LS990 - ZVB - Rooted + TWRP - Flash Stock Recovery Only
Hi, I am looking for flashing stock recovery on my LG G3 Sprint LS990. I believe the same method will work. I am currently running on stock ZVB ROM rooted and TWRP installed as recovery. In the download folder for LS990-ZVB http://downloads.codefi.re/autoprime/LG/LG_G3/LS990/stock_partitions/ZVB, there is no recovery image file, but in ZVA folder there is. I am just wondering if I can flash ZVA folder's recovery image using Flashify to my ZVB ROM LS990 and if that will work.
My LS990 is rooted and currently have TWRP. i get secure boot error when the phone reboots after accepting Android updates installation that come automatically. I believe installing stock recovery will resolve this issue and allow to install Android updates I do not want to going back to stock completely, that will unroot my phone and again I have do all these staffs.
Anyone can help to advise, will be appreciated. Thanks.
Worked for me
It's not english, it is portuguese Brazil, but it works.
youtube.com/watch?v=gHAA5e2FQbU&index=1&list=LLtlXyuPzN6skeex-P2apfrQ
autorec does the job for me.... thanks dev
Secure Boot Error 1003
ftekinsen said:
i fix it i can help about this topic anybody ...
Click to expand...
Click to collapse
Ian having this issue I really would like help resolving.

[Q&A] [ROM] 6.0 nAOSP error flashing

Hey, I apologize in advance for my bad english.
So I do everything from this thread http://forum.xda-developers.com/showpost.php?p=65233973&postcount=3797 , including repartitionning, but when I try to flash .zip with nAOSP i got message like this:
Patching system image uncondittionally...
Verifying the updated system image...
system partition has unexpected contents after OTA update
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/nAOSProm-6.0-b08.zip'
Updating partition details...
... done
Click to expand...
Click to collapse
Maybe it's easy sollution for this and I am to dumb to see it, but I stuck in this point and if somebody know the sollution I will be grateful to share it. Thanks
Hellong said:
Hey, I apologize in advance for my bad english.
So I do everything from this thread http://forum.xda-developers.com/showpost.php?p=65233973&postcount=3797 , including repartitionning, but when I try to flash .zip with nAOSP i got message like this:
Maybe it's easy sollution for this and I am to dumb to see it, but I stuck in this point and if somebody know the sollution I will be grateful to share it. Thanks
Click to expand...
Click to collapse
Your recovery seems to be old. Use the recovery included in ROM zip.

Error executing updater binary in zip (noob here)

Hi guys,
I tried to flash LineageOS 13.0 and 14.1 but it fails and I get shown the error "Error executing updater binary in zip". Since I am no professional for sure I thought I might ask you guys. How can I fix this?
If you need further information about my device dont hesitate to tell me.
imgur.com/a/64IbJ
If I missed a thread discussing this issue please excuse me.
Kind regards
-Pierasso
edit: Just noticed I posted this in the wrong forum, sorry!
edit2: Alternatively I'd be happy if someone could upload or link me a backup of the stock rom. For some reason mine got corrupted
pierasso said:
Hi guys,
I tried to flash LineageOS 13.0 and 14.1 but it fails and I get shown the error "Error executing updater binary in zip". Since I am no professional for sure I thought I might ask you guys. How can I fix this?
If you need further information about my device dont hesitate to tell me.
imgur.com/a/64IbJ
If I missed a thread discussing this issue please excuse me.
Kind regards
-Pierasso
edit: Just noticed I posted this in the wrong forum, sorry!
edit2: Alternatively I'd be happy if someone could upload or link me a backup of the stock rom. For some reason mine got corrupted
Click to expand...
Click to collapse
You need to update your TWRP if you are going to flash any rom. That is why you are getting errors... https://dl.twrp.me/hima/
You can find a stock rom here. https://forum.xda-developers.com/ve...-verizon-htc-one-m9-marshmallow-3-37-t3318605
Flyhalf205 said:
You need to update your TWRP if you are going to flash any rom. That is why you are getting errors... https://dl.twrp.me/hima/
You can find a stock rom here. https://forum.xda-developers.com/ve...-verizon-htc-one-m9-marshmallow-3-37-t3318605
Click to expand...
Click to collapse
Thanks mate, gonna try it asap!
Edit: Tried now a couple of ROMs. Most of the time I just get the same error and if it does indeed install, after rebooting it just goes directly into the bootloader again and wont boot the ROM
Weird thing is than I had it working before with that recovery and lineageOS 13
pierasso said:
Thanks mate, gonna try it asap!
Edit: Tried now a couple of ROMs. Most of the time I just get the same error and if it does indeed install, after rebooting it just goes directly into the bootloader again and wont boot the ROM
Weird thing is than I had it working before with that recovery and lineageOS 13
Click to expand...
Click to collapse
What firmware are you running? Try updating that.
Flyhalf205 said:
What firmware are you running? Try updating that.
Click to expand...
Click to collapse
Hi mate,
I updated the firmware with "3.37.605.28_NoBoot_TWRP3.1.0-0_firmware.zip" from the "★ ☆ [6.0][FIRMWARE/RUU] Verizon HTC One M9 Marshmallow 3.37.605.28 Resources ☆ ★" thread (cant post links)
I managed to update twrp to the most recent one and I can finally install LineageOS 13. But for some reason it installs the rom but after the LineageOS bootanimation it keeps shutting down and rebooting.
Any idea on how to fix this? So far you were really helpful mate!
Edit: I always got "updater process ended with error 7" when installing a ROM so I edited the file "updater-script" with this guide: forum.xda-developers.com/showthread.php?t=2522762
Edit2: Now my phone will reboot after booting no matter which ROM I use. Not even my backup will work now.
pierasso said:
Hi mate,
I updated the firmware with "3.37.605.28_NoBoot_TWRP3.1.0-0_firmware.zip" from the "★ ☆ [6.0][FIRMWARE/RUU] Verizon HTC One M9 Marshmallow 3.37.605.28 Resources ☆ ★" thread (cant post links)
I managed to update twrp to the most recent one and I can finally install LineageOS 13. But for some reason it installs the rom but after the LineageOS bootanimation it keeps shutting down and rebooting.
Any idea on how to fix this? So far you were really helpful mate!
Edit: I always got "updater process ended with error 7" when installing a ROM so I edited the file "updater-script" with this guide: forum.xda-developers.com/showthread.php?t=2522762
Edit2: Now my phone will reboot after booting no matter which ROM I use. Not even my backup will work now.
Click to expand...
Click to collapse
Something probably got ginked up in the process and I would start over with RUU at this point.
Back up anything important on your internal memory as this will wipe your device and ruu - https://forum.xda-developers.com/showpost.php?p=65358513&postcount=4 - then factory reset from stock recovery and flash 3.37.605.28_NoBoot_Twrp3.1.0-0 - https://forum.xda-developers.com/showpost.php?p=65358020&postcount=2 and you're on your way again
Flyhalf205 said:
You need to update your TWRP if you are going to flash any rom. That is why you are getting errors... https://dl.twrp.me/hima/
You can find a stock rom here. https://forum.xda-developers.com/ve...-verizon-htc-one-m9-marshmallow-3-37-t3318605
Click to expand...
Click to collapse
Thanks, it worked. i loged in just for thank you

Unofficial Lineage 15.1 Rom Update Fails

Anyone on the above rom having trouble with update?? I use the rom updater on the phone and it showed a new update for 8-12-18 I've downloaded the file twice with the same outcome, pops up an error that just says install error?? Any of the updates before that installed fine..
blake .l said:
Anyone on the above rom having trouble with update?? I use the rom updater on the phone and it showed a new update for 8-12-18 I've downloaded the file twice with the same outcome, pops up an error that just says install error?? Any of the updates before that installed fine..
Click to expand...
Click to collapse
Download and install with twrp. If that build has treble and the one you're using doesn't, you need to flash with twrp for it to change OEM to vendor which the installer cannot do in boot time. It can be dirty flashed if the keys are the same. (I.E. test key to test key. If its from the same source, it is the same)
Uzephi said:
Download and install with twrp. If that build has treble and the one you're using doesn't, you need to flash with twrp for it to change OEM to vendor which the installer cannot do in boot time. It can be dirty flashed if the keys are the same. (I.E. test key to test key. If its from the same source, it is the same)
Click to expand...
Click to collapse
I got the file downloaded but when I go into TWRP and try to install I get this error.
Error applying update: 7 (ErrorCode: :
kInstallDeviceOpenError)
Update process ended with ERROR: 1
blake .l said:
I got the file downloaded but when I go into TWRP and try to install I get this error.
Error applying update: 7 (ErrorCode: :
kInstallDeviceOpenError)
Update process ended with ERROR: 1
Click to expand...
Click to collapse
Try with https://androidfilehost.com/?fid=3700668719832238233
Uzephi said:
Try with https://androidfilehost.com/?fid=3700668719832238233
Click to expand...
Click to collapse
Worked like a charm, Thanks!!
crazy question, how do i install magisk now? I've tried it with the older twrp i was using and I've tried it with the newer version twrp you suggested and i get boot loop now. I tried with the lineage recovery and it fails?

TWRP fails to boot on Android 11, 'Error verifying the received boot.img: Invalid Parameter'

I successfully rooted the phone using Magisk, and looking at how to install LineageOS, I saw I needed TWRP first. I followed all the instructions, but when I use fastboot to boot twrp.img, I get the following error message, "Error verifying the received boot.img: Invalid Parameter". Searching for an answer, I saw there was an old issue with TWRP with the Pixel 3a XL and Android 10, but I found nothing more recent about Android 11.
I thought maybe I shouldn't have rooted the phone first, so I reflashed with the stock boot.img and tried TWRP again, but that doesn't solve it. Any idea how I can boot TWRP? Or is there a way to install LineageOS with TWRP? Thanks!
Build # RQ2A.2100505.002
TWRP image twrp-3.5.2_9-0-bonito.img
Twrp doesn't work currently for android 10+
You don't need it to install lineage, just flash the lineage recovery and follow the wiki install guide.
Install LineageOS on bonito | LineageOS Wiki
wiki.lineageos.org
If TWRP does not work on Android 10+ what are we doing about flashing custom roms? Booting the TWRP and then sideloading the ROM?
I need help. When I try to boot TWRP(assuming its possible) I get an error :invalid parameter, error verifying the boot image. I am on Android 11. Yes, Ive used the search function or else I would not have found this thread.
I do not want to flash lineage, but the instructions are vague in other ROM threads.
I just built a TWRP that works on Android 11. I wasn't sure how much interest there was in it, though, so I didn't bother posting it anywhere. I'll consider it once I clean up the source a bit.
Captain_Throwback said:
I just built a TWRP that works on Android 11. I wasn't sure how much interest there was in it, though, so I didn't bother posting it anywhere. I'll consider it once I clean up the source a bit.
Click to expand...
Click to collapse
Please post it! It would be greatly appreciated!
ncrawler said:
Please post it! It would be greatly appreciated!
Click to expand...
Click to collapse
I posted it on Telegram here: https://t.me/pixel3a/161825
Captain_Throwback said:
I posted it on Telegram here: https://t.me/pixel3a/161825
Click to expand...
Click to collapse
Thank You! I've been waiting for this!
I cant get your twrp and magisk to work together? I can only get one or the other working.
ncrawler said:
I cant get your twrp and magisk to work together? I can only get one or the other working.
Click to expand...
Click to collapse
Boot TWRP, copy image to device, use Install Image -> Install Recovery Ramdisk to install TWRP, then flash Magisk.apk.
I've done it a bunch of times and it works fine. Is that what you're doing?
Captain_Throwback said:
Boot TWRP, copy image to device, use Install Image -> Install Recovery Ramdisk to install TWRP, then flash Magisk.apk.
I've done it a bunch of times and it works fine. Is that what you're doing?
Click to expand...
Click to collapse
Done it about 10 times and never boots again
ncrawler said:
Done it about 10 times and never boots again
Click to expand...
Click to collapse
with or without lmza kernel
ncrawler said:
with or without lmza kernel
Click to expand...
Click to collapse
No idea what to tell you. It works for users in the TG group and it works for me. That's the exact process I'm using. You can alternatively try the Advanced -> Flash Current TWRP option and then flash Magisk and see what happens.
Thanks! I think I got it! Think I was using the wrong Magisk! I Guess I still have to use lmza kernel to pass integrity in magisk?
ncrawler said:
Thanks! I think I got it! Think I was using the wrong Magisk! I Guess I still have to use lmza kernel to pass integrity in magisk?
Click to expand...
Click to collapse
I have no idea about any specific kernel or integrity checks in Magisk. I only build TWRP.

Categories

Resources