[GUIDE][KENZO/KATE] Install LineageOS with locked bootloader

gandems

New member
May 8, 2017
1
0
0
thanks this is awesome guide!! worked for me , btw
how to restore file on lineage os when im back up my file from miui rom ?
can i get full root acces in this rom? my redmi note 3 still locked boatloader
 

bloodytolits

Senior Member
Apr 21, 2015
269
68
0

JLius

Senior Member
Sep 3, 2016
627
126
0
If you're already on MM bootloader, I don't think you need to. I've already flashed some ROMs that needs MM bootloader and haven't faced any problems.
Don't know what bootloader I am on. If following this guide (or relocking my bootloader) didn't change version, I guess I am still on LP. Flashed latest AOSIP without problem though, not sure if mm is needed for that rom.
 

ilvmyname

Senior Member
Nov 13, 2014
282
68
0
If you're already on MM bootloader, I don't think you need to. I've already flashed some ROMs that needs MM bootloader and haven't faced any problems.
If you go through what strix explained there, I wonder then if we are still on 6.11.3 fw, which I don't know is LP based or MM based
And the thing is if something goes terribly wrong since on a locked bootloader, cannot use fastboot command to repair the damage ?
 

bloodytolits

Senior Member
Apr 21, 2015
269
68
0
Don't know what bootloader I am on. If following this guide (or relocking my bootloader) didn't change version, I guess I am still on LP. Flashed latest AOSIP without problem though, not sure if mm is needed for that rom.
I am on Kate. As Kate ships MM out of the box, it should be on MM bootloader(?).

I did the experimental steps to install twrp, but after flashing the 7.3.2 firmware of TheStrix provided on the DU rom thread, I bricked my phone. So maybe doing the steps here will change your bootloader to LP? I've downloaded the latest firmware provided by TheStrix on his Lineage OS thread and will try flashing that, will report back. Let's hope I don't break my phone:p.


Edit: Yup I broke my phone:silly::laugh: That confirms it that doing this guide will revert you to LP bootloader.
Well good thing I know how to fix it:p. Will try what this guy said:
Will the new roms that require MM bootloader, like the new Lineage, break this method? Do we need to do anything differently? Maybe also replace "emmc_appsboot.mbn" with the MM one circulating in Lineage 14 thread instead of only replacing "recovery.img"?
Update: Replacing LP bootloader with the MM one won't work. TWRP would still not boot.

Anyone who followed this guide is on LP bootloader. Be careful flashing newer ROMs.

you could try Extracting the Official LOS zip and removing emmc_appsboot.mbn(if it's there, I think LOS started shipping with firmware built in) then rezipping it. Should be located on firmware-update folder.

If you go through what strix explained there, I wonder then if we are still on 6.11.3 fw, which I don't know is LP based or MM based
And the thing is if something goes terribly wrong since on a locked bootloader, cannot use fastboot command to repair the damage ?
We are on LP "bootloader" not firmware. If you've flashed any subsequent FW then obviously you're on that FW(7.5.4, etc.)
 
Last edited:
  • Like
Reactions: JLius

black dark man

Senior Member
Dec 25, 2015
382
84
0
If you are on mm bootloader and you are sure of it then open the zip and go in meta folder then Google folder and then open updater script and remove the following line

assert(xiaomi.verify_modem("MSM8976.LA.1.0.c3-30041-STD.PROD-1.77504.1.83742.1") == "1");

I have not tried this but this should work.
 

JLius

Senior Member
Sep 3, 2016
627
126
0
I am on Kate. As Kate ships MM out of the box, it should be on MM bootloader(?).

I did the experimental steps to install twrp, but after flashing the 7.3.2 firmware of TheStrix provided on the DU rom thread, I bricked my phone. So maybe doing the steps here will change your bootloader to LP? I've downloaded the latest firmware provided by TheStrix on his Lineage OS thread and will try flashing that, will report back. Let's hope I don't break my phone:p.


Edit: Yup I broke my phone:silly::laugh: That confirms it that doing this guide will revert you to LP bootloader.
Well good thing I know how to fix it:p. Will try what this guy said:


Update: Replacing LP bootloader with the MM one won't work. TWRP would still not boot.

Anyone who followed this guide is on LP bootloader. Be careful flashing newer ROMs.
Thank you for testing this, at least now we know we need to get back on latest miui global dev. I'm going for official unlock.
 

bloodytolits

Senior Member
Apr 21, 2015
269
68
0
Thank you for testing this, at least now we know we need to get back on latest miui global dev. I'm going for official unlock.
:good: Good luck with that. I received my unlock permission even before I got my phone, 1 month later still haven't officially unlocked:p. I don't feel like downloading 1 Gb+ of ROM. Maybe later if problems crop up.
 

khajiit

Senior Member
Dec 7, 2016
284
176
0
Vienna
Sadly i don't have much time for troubleshooting at the moment.

Only thing i can say is that i never faced any bootloops (lucky me?)
Still using ZCX TWRP version 0719
Flashing RR version on weekly base (atm RR-N-v5.8.3-20170507-kenzo-Nightly)
Using this with francokernel and i think atm 7.5.4 firmware.
 

JLius

Senior Member
Sep 3, 2016
627
126
0
:good: Good luck with that. I received my unlock permission even before I got my phone, 1 month later still haven't officially unlocked:p. I don't feel like downloading 1 Gb+ of ROM. Maybe later if problems crop up.
My unlock permission didn't work anymore, had to re-apply. Latest dev miui is running very smooth, so I don't mind the wait.
 

lins05

New member
May 7, 2017
1
0
0
Beijing
Works but need some tweak

Thanks for the excellent guide!. I successfully installed LOS on my kenzo.

Still i have tried several times to make it work:
- I followed the steps strictly, step by step, but when i flashed minui dev rom and try to reboot into twrp, i just found twrp is not flushed at all: i just get the standard official recovery blank screen. I tried several times and all ended with no much.
- Then i downgraded MiFlashTool to 20160401 and used minui dev rom 2016060929, and repeated the steps - still with no luck.

I even tried to manually edit the flash_all.bat in the extracted dir of miui dev rom manually, to only leave the line that flashes the recovery, but somehow the MiFlashTool still flashes everything.

And before i was ready to give up, i tried for the last time - and it works - it booted into TWRP after flashing the miui dev rom!

I don't know what happened exactly, but for sure something has changed since the guide was written.
 

JLius

Senior Member
Sep 3, 2016
627
126
0
Thanks for the excellent guide!. I successfully installed LOS on my kenzo.

Still i have tried several times to make it work:
- I followed the steps strictly, step by step, but when i flashed minui dev rom and try to reboot into twrp, i just found twrp is not flushed at all: i just get the standard official recovery blank screen. I tried several times and all ended with no much.
- Then i downgraded MiFlashTool to 20160401 and used minui dev rom 2016060929, and repeated the steps - still with no luck.

I even tried to manually edit the flash_all.bat in the extracted dir of miui dev rom manually, to only leave the line that flashes the recovery, but somehow the MiFlashTool still flashes everything.

And before i was ready to give up, i tried for the last time - and it works - it booted into TWRP after flashing the miui dev rom!

I don't know what happened exactly, but for sure something has changed since the guide was written.
Save yourself the (future) trouble and flash latest global dev rom, unlock your device officially, flash twrp.
 

bloodytolits

Senior Member
Apr 21, 2015
269
68
0
Sadly i don't have much time for troubleshooting at the moment.

Only thing i can say is that i never faced any bootloops (lucky me?)
Still using ZCX TWRP version 0719
Flashing RR version on weekly base (atm RR-N-v5.8.3-20170507-kenzo-Nightly)
Using this with francokernel and i think atm 7.5.4 firmware.
That's the weird part. They kept saying you need MM bootloader. Yet flashing the MM bootloader will break TWRP which makes me believe that only LP bootloader can be fooled that your stock recovery is TWRP. So anyone doing this guide should be on LP bootloader yet I faced no problems flashing the newest ROMs others have claimed to cause bootloops. I am on Kate though, maybe the file provided on Kate is a modified MM bootloader?
 

khajiit

Senior Member
Dec 7, 2016
284
176
0
Vienna
That's the weird part. They kept saying you need MM bootloader. Yet flashing the MM bootloader will break TWRP which makes me believe that only LP bootloader can be fooled that your stock recovery is TWRP. So anyone doing this guide should be on LP bootloader yet I faced no problems flashing the newest ROMs others have claimed to cause bootloops. I am on Kate though, maybe the file provided on Kate is a modified MM bootloader?
I never used the experimental method. Used original method from 6.11.3. Maybe only Kenzo has LP bootloader. I'm on Kate as well and never had problems.
 

cristyxxl

Member
Aug 16, 2012
5
0
0
What is wrong with the developers lately, the paste 3 updates for redmi note 3pro have been so bad...
20170426-drained the battery to fast and heated up the device
20170503- didn't have the option for fingerprint at all....
now the last one 20170510 from yesterday i can not install...
Get your s*** together and do something good, stop using drugs :))))))))))))))))))
 

khajiit

Senior Member
Dec 7, 2016
284
176
0
Vienna
What is wrong with the developers lately, the paste 3 updates for redmi note 3pro have been so bad...
20170426-drained the battery to fast and heated up the device
20170503- didn't have the option for fingerprint at all....
now the last one 20170510 from yesterday i can not install...
Get your s*** together and do something good, stop using drugs :))))))))))))))))))
build 20170426: change kernel if your unsatisfied
build 20170503 had unified fp thats why clean flash was needed
build 20170511: working without problems
speaking about RR.
All described "problems" have nothing to do with devs. If you dont read changelogs and/or dont know what you are doing why dont you stay with MIUI??
I hate such posts. Be thankful that devs work on our device....
[/rant]
 

mindtrappergr

Member
Mar 13, 2012
38
11
0
I just unpacked my TWRP backup from the MIUI dev rom 6.11.3 from my Kate to check Android version and it says: ro.build.version.release=6.0.1

Does this mean Kate was already on MM bootloader in this dev rom and we are OK with newer roms? Can a kenzo user check his 6.11.3 backup build.prop and see android version there?
 

Bastiros

New member
Aug 29, 2015
1
0
0
I installed the 05/10 build with no problems.
I have a Kate phone and followed this guide. I did a clean install for the newest Version because of the Fingerprint update.