So i am on the new miui using the oficial flash thing (unlocked bootloader oficialy).
The thing is i always wanted to get root and use a kernel on xda here that gives more available memory and solves some of the heating problems when charging (but i know need TWRP ofc) .
So i went to here and checked a few guides however there are many twrp's versions some of them i can't flash miui oficial roms, some of them i need installl boot.img every single time or when i want to restore backup is not just select the backup and done, i need to do something else (is a bit confusing)... so instead i decided to ask you guys directly
The question is:
- If i wanted to use oficial miui but have root and install a kernel and in future just flash the new miui rom again without any stress (just twrp -> flash-> select rom and gapps and done), no boot.img bull****, no flash another twrp etc is it possible??
(before this phone i had moto g(1st gen) and was easy as to put ONE twrp and then would be always flash rom + gapps every single time, no boot.img no firmware, worked for CM12, 12.1 and 13)
Install Alka recovery and back up all the partitions before doing anything.
tigax said:
- If i wanted to use oficial miui but have root and install a kernel and in future just flash the new miui rom again without any stress (just twrp -> flash-> select rom and gapps and done), no boot.img bull****, no flash another twrp etc is it possible??
Click to expand...
Click to collapse
Although I haven't tried it personally, the TWRP explanation guide here says the Cofface TWRP (linked on that page) automatically patches the boot.img when you flash a new ROM, which I believe solves your problem.
harishmenace said:
Install Alka recovery and back up all the partitions before doing anything.
Click to expand...
Click to collapse
so this one allows me to flash new roms from Miui? without any boot.img and stuff?
tigax said:
so this one allows me to flash new roms from Miui? without any boot.img and stuff?
Click to expand...
Click to collapse
Yes, I was doing it all the time.
Sent from my Redmi Note 3 using Tapatalk
timberwolf60 said:
Yes, I was doing it all the time.
Click to expand...
Click to collapse
Thank you will use then
Related
Hi i have a GR5 KII-L33 model (single sim), can i use any rom for kiw-l21, l22, etc. (CM13 and others)?
do i need to do extra steps? i dont want to brick my phone :silly:
Hey
make sure that you take full stock backup before flashing the ROM
use fastboot boot twrp.img to run twrp without replacing stock recovery then backup everything
after that you can flash twrp with normal command then flash cm
after flashing the ROM, you need to follow these steps here, to get your single sim working
I answered you in cm thread and here to talk more [emoji14]
And yes you can use any CM/AOSP Roms, don't mess around with stock roms
Sent from my KIW-L21 using Tapatalk
AL_IRAQI said:
Hey
use fastboot boot twrp.img to run twrp without replacing stock recovery then backup everything
after that you can flash twrp with normal command then flash cm
Click to expand...
Click to collapse
hi, just curious about the backup everything.
does TWRP backup our stock recovery partition? because you said that we have to boot twrp then backup everything. i wonder if we restore using twrp, will our old/original recovery return? i know that we can use update.app to restore stock recovery and rom.
i am new to this huawei device since i've been using htc one x and did flash custom rom also twrp. but my device is KII-L22 and keen to flash crpalmer's CM.
thanks.
Ok , So I finally was able to unlock my bootloader after getting that 50 % error, I thought that I'd flash miui 8 , so I downloaded the rom from official mi website and flashed it with twrp but for some reason I got stuck in a bootloop. I dont want to download fastboot rom as it takes a lot of time due to slow internet, so could anyone tell me how can i successfully flash a rom from twrp. I've got bot miui 8 chinese developer rom and global beta rom downloaded.
You need patched boot for normal twrp or u must use cofface twrp to flash the rom.
You cant flash stock rom via twrp without patched boot.img
And if you are flashing marshmallow rom u must know that the bootloader will lock itself again.
Why not just flash the miui.eu version? No boot image mess..
s-u-f-f-e-r said:
You need patched boot for normal twrp or u must use cofface twrp to flash the rom.
You cant flash stock rom via twrp without patched boot.img
And if you are flashing marshmallow rom u must know that the bootloader will lock itself again.
Click to expand...
Click to collapse
Edit : The recovery worked. Thanx.
where can I find a patched boot.img for latest chinese developer rom.Thanx for the fast reply.
Just use cofface recovery for stock roms:
http://forum.xda-developers.com/redmi-note-3/development/recovery-kenzotwrp-cafface-3-0-0-t3369341
I think that the Alca recovery do the same, but I haven't test it yet
s-u-f-f-e-r said:
Just use cofface recovery for stock roms:
http://forum.xda-developers.com/redmi-note-3/development/recovery-kenzotwrp-cafface-3-0-0-t3369341
I think that the Alca recovery do the same, but I haven't test it yet
Click to expand...
Click to collapse
Thanks. Problem solved.
So I've read a lot of guides but a few questions still remain unanswered am hoping anyone here can shed some light
-> can I unlock on global stable (Lollipop) miui 7 version 8.0.2.0 (on which am currently on) or do I have to flash global developer rom to be able to unlock ?
-> can I use updater app to switch from stable to developer ? or do I need to use fastboot rom ?
Now on rooting
-> Can I simply install a twrp of my choice and flash super su with it to get root ?
->Do I need to flash universal boot img patcher before or after super su ?
->do I need to flash lazy flasher ?
Some people say simply flash supersu in any twrp to get root others say also flash ubp first! others say also lazy flasher
which is true ?
What's the difference between universal boot image patcher and lazy flasher ?
My aim is to simply root
Sent from my Redmi Note 3 using Tapatalk
dastan4eva said:
So I've read a lot of guides but a few questions still remain unanswered am hoping anyone here can shed some light
-> can I unlock on global stable (Lollipop) miui 7 version 8.0.2.0 (on which am currently on) or do I have to flash global developer rom to be able to unlock ?
-> can I use updater app to switch from stable to developer ? or do I need to use fastboot rom ?
Now on rooting
-> Can I simply install a twrp of my choice and flash super su with it to get root ?
->Do I need to flash universal boot img patcher before or after super su ?
->do I need to flash lazy flasher ?
Some people say simply flash supersu in any twrp to get root others say also flash ubp first! others say also lazy flasher
which is true ?
What's the difference between universal boot image patcher and lazy flasher ?
My aim is to simply root
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
FOR YOUR FIRST QUESTION: YES YOU CAN. I JUST TODAY UNLOCKED IN 8.0.2
2ND:YES YOU CAN SWITCH VIA UPDATER FROM STABLE TO DEVELOPER. BUT NOT SURE WHETHER CAN BE FROM STABLE LOLLIPOP TO DEVELOPER MARSHMALLOW. IT SHOULD WORK THOUGH,
3RD:YES YOU CAN SIMPLY FLASH SUPERSU.ZIP.... BUT UNLOCK BOOTLOADER VIA OFFICIAL WAY.ITS BETTER AND HASSELFREE FOR FUTURE.
4TH AND 5TH:I HAVENT USED UBP TILL NOW. ITS NOT THAT IMPORTANT. U CAN FLASH TWRP RECOVERY WITH LAZY FLASHER. WHEN YOU INSTALL MIUI VIA TWRP SIMPLY FLASH LAZY FLASHER AND SUPER SU AFTERWARDS. AND IT WILL WORK WITHOUT ANY PROBLEMS.
http://en.miui.com/thread-283146-1-1.html for info..
if you unlock bootloader officially then there is twrp cofface. which automatically patches boot.img. So no need of lazy flasher too
Those are my experiences. may not be 100% correct.
Torres.09 said:
FOR YOUR FIRST QUESTION: YES YOU CAN. I JUST TODAY UNLOCKED IN 8.0.2
2ND:YES YOU CAN SWITCH VIA UPDATER FROM STABLE TO DEVELOPER. BUT NOT SURE WHETHER CAN BE FROM STABLE LOLLIPOP TO DEVELOPER MARSHMALLOW. IT SHOULD WORK THOUGH,
3RD:YES YOU CAN SIMPLY FLASH SUPERSU.ZIP.... BUT UNLOCK BOOTLOADER VIA OFFICIAL WAY.ITS BETTER AND HASSELFREE FOR FUTURE.
4TH AND 5TH:I HAVENT USED UBP TILL NOW. ITS NOT THAT IMPORTANT. U CAN FLASH TWRP RECOVERY WITH LAZY FLASHER. WHEN YOU INSTALL MIUI VIA TWRP SIMPLY FLASH LAZY FLASHER AND SUPER SU AFTERWARDS. AND IT WILL WORK WITHOUT ANY PROBLEMS.
http://en.miui.com/thread-283146-1-1.html for info..
if you unlock bootloader officially then there is twrp cofface. which automatically patches boot.img. So no need of lazy flasher too
Those are my experiences. may not be 100% correct.
Click to expand...
Click to collapse
which twrp Best for flashing cm like custom roms ? Do you use alka bro ? Can I flash cm like roms with alka ?
Should I take backup of Lollipop with alka in order to fix no sim/baseband type problems when returning to miui from cm roms or Will it work if I simply edl whatever rom it is that I want from cm13 ?
Sent from my Redmi Note 3 using Tapatalk
dastan4eva said:
which twrp Best for flashing cm like custom roms ? Do you use alka bro ? Can I flash cm like roms with alka ?
Should I take backup of Lollipop with alka in order to fix no sim/baseband type problems when returning to miui from cm roms or Will it work if I simply edl whatever rom it is that I want from cm13 ?
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
You can use any bro for flashing custom roms
but for miui flash modified cofface with lazy flasher (for unofficial unlock) and u can use twrp cofface for official unlock to flash miui
always take backup before doing anything
i have never faced no sim issues bro when returning from cm to miui
so i dont know about that case.
yeah you can edl too but its not needed that often.
Torres.09 said:
You can use any bro for flashing custom roms
but for miui flash modified cofface with lazy flasher (for unofficial unlock) and u can use twrp cofface for official unlock to flash miui
always take backup before doing anything
i have never faced no sim issues bro when returning from cm to miui
so i dont know about that case.
yeah you can edl too but its not needed that often.
Click to expand...
Click to collapse
you ever returned to miui from cm with twrp backup successfully?
Sent from my Redmi Note 3 using Tapatalk
dastan4eva said:
you ever returned to miui from cm with twrp backup successfully?
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
once i tried. phone booted i guess but showed problems. actually i forgot
so to come back to miui i used to flash miui.zip and lazy flaser and then restore just data of miui previously made
Torres.09 said:
once i tried. phone booted i guess but showed problems. actually i forgot
so to come back to miui i used to flash miui.zip and lazy flaser and then restore just data of miui previously made
Click to expand...
Click to collapse
can say where I can download that miui zip from ? if we flash that miui zip do bootloader get locked again?
Sent from my Redmi Note 3 using Tapatalk
dastan4eva said:
can say where I can download that miui zip from ? if we flash that miui zip do bootloader get locked again?
Click to expand...
Click to collapse
U can download from en.miui.com in download section
No it wont get relock
But u shall flash lazy flasher or use twrp cofface (for official)
I am saying these according to my experience
I unlocked unofficially 2 mnths ago
And flashed various custom as well as miui rom
And today i checked bootloader was still unlocked
But i guess there are some very few custom roms which relocks bootloader ( i forgot though)
But after you once flas twrp in ur phone though BL gets locked u still can flash miui zip custom rom, kernel anything via twrp so no issues
Based on my experience lol ????????????????
Official unlock is only successful for lucky ones
A lot of people have reported about the 50% error for which xiaomi's server are responsible
As far as unofficial unlock is concerned I don't know about which ones the safest and easiest method for 8.0.2.0
And is it possible to revert to miui if there is no earlier backup ?
From my experience.
When I got my hand on RN3, I update it to latest update, which is MIUI 8, stable version (Android 5).
Then try to unlock bootloader to flash custom rom. This is where my journey began.
Unlocking bootloader with Official method is not that hard.
- There is step by step guide from MIUI forum, although not everyone succeed with that method.
- My step:-
1. Apply permission from MIUI
2. Everyday login to MiUnlock Tool to see if I got permission already. (about two or three day of waiting)
3. Make sure Mi Account > Personal Info is same as MIUI Forum Account > Personal Info.
4. After that, I flash RN3 Fastboot Developer Rom (Android 6) with EDL, not with Fastboot using XiaomiFlashTool.
5. Once success flashing, setup phone like you going to use it, set MI Account and everything. Then reboot to fastboot.
6. Open MiUnlockTool and connect phone, and begin unlocking bootloader, and I got it success in no time.
My step to go back to MIUI (Stock Rom):-
1. Using RN3 Fastboot Developer Rom (Android 6), this one with bootloader locked.
2. Reboot phone to Fastboot mode, using XiaomiFlashTool to flash Stock Rom.
3. After that, setup as it is. Reboot again to Fastboot mode, and use MiUnlockTool to unlock again.
** Well that's for my experience. With such a hard and long journey.
onekay70 said:
From my experience.
When I got my hand on RN3, I update it to latest update, which is MIUI 8, stable version (Android 5).
Then try to unlock bootloader to flash custom rom. This is where my journey began.
Unlocking bootloader with Official method is not that hard.
- There is step by step guide from MIUI forum, although not everyone succeed with that method.
- My step:-
1. Apply permission from MIUI
2. Everyday login to MiUnlock Tool to see if I got permission already. (about two or three day of waiting)
3. Make sure Mi Account > Personal Info is same as MIUI Forum Account > Personal Info.
4. After that, I flash RN3 Fastboot Developer Rom (Android 6) with EDL, not with Fastboot using XiaomiFlashTool.
5. Once success flashing, setup phone like you going to use it, set MI Account and everything. Then reboot to fastboot.
6. Open MiUnlockTool and connect phone, and begin unlocking bootloader, and I got it success in no time.
My step to go back to MIUI (Stock Rom):-
1. Using RN3 Fastboot Developer Rom (Android 6), this one with bootloader locked.
2. Reboot phone to Fastboot mode, using XiaomiFlashTool to flash Stock Rom.
3. After that, setup as it is. Reboot again to Fastboot mode, and use MiUnlockTool to unlock again.
** Well that's for my experience. With such a hard and long journey.
Click to expand...
Click to collapse
thanks for sharing
Sent from my Redmi Note 3 using Tapatalk
Hey guys.
I'm using a 32/3GB kenzo with an unlocked bootloader running official rr mm.
I formatted the phone, flashed CM14 firmware, flashed the official RR nougat and GAPPS, then rebooted to system.
At this point, it started bootlooping, booting to the MI splashscreen, staying there for about half the time it usually does, before rebooting and repeating the process.
At this point, I was unable to access recovery, but was able to access fastboot and edl.
Flashing a recovery using the "fastboot flash recovery" command failed, so I assume that the partitions were corrupted.
I had to revert to MIUI by flashing through edl using MI flash, which fixed all the issues.
Can someone tell me what I did wrong?
Or should I follow the newbie guide 2.0 from the forums?
Thanks in advance to anyone who replies.
Ivanlai said:
Hey guys.
I'm using a 32/3GB kenzo with an unlocked bootloader running official rr mm.
I formatted the phone, flashed CM14 firmware, flashed the official RR nougat and GAPPS, then rebooted to system.
At this point, it started bootlooping, booting to the MI splashscreen, staying there for about half the time it usually does, before rebooting and repeating the process.
At this point, I was unable to access recovery, but was able to access fastboot and edl.
Flashing a recovery using the "fastboot flash recovery" command failed, so I assume that the partitions were corrupted.
I had to revert to MIUI by flashing through edl using MI flash, which fixed all the issues.
Can someone tell me what I did wrong?
Or should I follow the newbie guide 2.0 from the forums?
Thanks in advance to anyone who replies.
Click to expand...
Click to collapse
Which recovery you uaed for flashing rr n. Because you went bootloop and recovery was not able to access that means may be some problems in recovery or either in rom/gapps zip. Make sure you are flashing gapps for NOUGAT only. And use latest stable miui firmware (not cm14 zip one although may be both are same)
Try this
1. Flash zcx recovery (I recommend this, never disappointed)
2. Flash latest miui stable firmware
3. Flash rom zip
4. Flash gapps n
Boot to system
5. Then flash kernel or anything.
Apcoolboy said:
Which recovery you uaed for flashing rr n. Because you went bootloop and recovery was not able to access that means may be some problems in recovery or either in rom/gapps zip. Make sure you are flashing gapps for NOUGAT only. And use latest stable miui firmware (not cm14 zip one although may be both are same)
Try this
1. Flash zcx recovery (I recommend this, never disappointed)
2. Flash latest miui stable firmware
3. Flash rom zip
4. Flash gapps n
Boot to system
5. Then flash kernel or anything.
Click to expand...
Click to collapse
Thanks for the reply, I'll try it soon. Can you tell me how to get the miui stable firmware?
Should I fastboot flash latest MIUI stable before flashing the ROM or is there a MIUI firmware zip file to flash?
Ivanlai said:
Thanks for the reply, I'll try it soon. Can you tell me how to get the miui stable firmware?
Should I fastboot flash latest MIUI stable before flashing the ROM or is there a MIUI firmware zip file to flash?
Click to expand...
Click to collapse
There is flashable zip file which is extracted from miui rom only. So both way will be good as flash latest stable miui rom and then twrp > rom zip > gapps. Or twr0 > firmware zip (search in any custom rom thread you will get one) > custom rom zip > gapps.
Only benefit of flashing firmware zip is less time consuming and less file size (around 50mb) compare to full miui rom.
Ivanlai said:
Thanks for the reply, I'll try it soon. Can you tell me how to get the miui stable firmware?
Should I fastboot flash latest MIUI stable before flashing the ROM or is there a MIUI firmware zip file to flash?
Click to expand...
Click to collapse
https://forum.xda-developers.com/redmi-note-3/development/firmware-hmnote3proglobal-t3574361
Ivanlai said:
Hey guys.
I'm using a 32/3GB kenzo with an unlocked bootloader running official rr mm.
I formatted the phone, flashed CM14 firmware, flashed the official RR nougat and GAPPS, then rebooted to system.
At this point, it started bootlooping, booting to the MI splashscreen, staying there for about half the time it usually does, before rebooting and repeating the process.
At this point, I was unable to access recovery, but was able to access fastboot and edl.
Flashing a recovery using the "fastboot flash recovery" command failed, so I assume that the partitions were corrupted.
I had to revert to MIUI by flashing through edl using MI flash, which fixed all the issues.
Can someone tell me what I did wrong?
Or should I follow the newbie guide 2.0 from the forums?
Thanks in advance to anyone who replies.
Click to expand...
Click to collapse
unlock your bootloader again it will run without problem..
I successfully followed a guide to rooting my phone using TWRP, DisableForceEncryption (DFE), and Magisk. I now want to flash the latest (stock) ROM and re-apply DFE.
But there seem to be many versions of DFE available, some with/without version numbers, and some with/without the word "treble". And all are anonymous uploads on file-locker sites... :-/
What does "treble" mean? Does the DFE version number correspond to the Magisk version? I couldn't find a DEF v20 anywhere...
Who produces DFE -- is there an official website/source for the latest version(s)?
Cheers
For the latest MIUI Stock Rom you don't need dfe.
ConradB said:
For the latest MIUI Stock Rom you don't need dfe.
Click to expand...
Click to collapse
Thanks. So, I can just just flash the latest ROM in TWRP, and... it won't overwrite TWRP, or lose root access, or cause any boot/encryption problems...?
Presumably I'd need to re-flash Magisk (after flashing the ROM) to retain root access...?
Will the phone be re-encrypted after updating to the latest stock ROM?
esuhl said:
Thanks. So, I can just just flash the latest ROM in TWRP, and... it won't overwrite TWRP, or lose root access, or cause any boot/encryption problems...?
Presumably I'd need to re-flash Magisk (after flashing the ROM) to retain root access...?
Will the phone be re-encrypted after updating to the latest stock ROM?
Click to expand...
Click to collapse
Which version is at the moment installed?
IF by latest stockrom you mean miui 10.3.8 then when i flashed the vendor firmware and didnt flash dfe, i was locked out and I lost all the data!
In Miui Roms firmware and vendor are always integrated. There is IMHO no reason to flash only the vendor.
ConradB said:
Which version is at the moment installed?
Click to expand...
Click to collapse
I have MIUI 10.3.7.0 and want to upgrade to MIUI 10.3.8.0. The file I have downloaded is miui_POCOF1Global_V10.3.8.0.PEJMIXM_b5d72aa3ba_9.0.zip.
YasuHamed said:
IF by latest stockrom you mean miui 10.3.8 then when i flashed the vendor firmware and didnt flash dfe, i was locked out and I lost all the data!
Click to expand...
Click to collapse
Yes -- all the guides I've read say that, having installed a custom recovery to root the device, all subsequent ROM updates need to have DFE (or some similar software) applied in order to prevent a boot-loop. This article gives a lot of information, although most of it goes over my head.
https://miui.blog/any-devices/dm-verity-opt-encrypt-force-encryption-disabler-xiaomi/
ConradB said:
In Miui Roms firmware and vendor are always integrated. There is IMHO no reason to flash only the vendor.
Click to expand...
Click to collapse
What do you mean by "flashing the vendor"...?
esuhl said:
I have MIUI 10.3.7.0 and want to upgrade to MIUI 10.3.8.0. The file I have downloaded is miui_POCOF1Global_V10.3.8.0.PEJMIXM_b5d72aa3ba_9.0.zip.
Yes -- all the guides I've read say that, having installed a custom recovery to root the device, all subsequent ROM updates need to have DFE (or some similar software) applied in order to prevent a boot-loop. This article gives a lot of information, although most of it goes over my head.
https://miui.blog/any-devices/dm-verity-opt-encrypt-force-encryption-disabler-xiaomi/
What do you mean by "flashing the vendor"...?
Click to expand...
Click to collapse
First backup your data
Flash 10.3.8.0 dirty in twrp
wipe cache, dalvik cache in twrp
reboot the device (not rooted)
reboot into twrp and flash magisk 19.3 (i don´t know if the newer Versions will work with MIUI Rom)
reboot into system
thats it
the other guy flashed the vendor partition only, without a reason in miui and ran into encryption.
Here is a very good site "Globe Rom" https://mi-globe.com/miui-firmware-rom-builder-features/65/
Click on MIUI 9.6.27 and Change to MIUI 10.3.8.0 then create your own rom with including Magisk and other nice tools.
You can flash the Globe Rom according to the same instructions as above and Magisk is after the first reeboot
immediately active.
ConradB said:
First backup your data
Flash 10.3.8.0 dirty in twrp
wipe cache, dalvik cache in twrp
reboot the device (not rooted)
reboot into twrp and flash magisk 19.3 (i don´t know if the newer Versions will work with MIUI Rom)
reboot into system
thats it
Click to expand...
Click to collapse
Aha! It works! :laugh: Thank you so much! :victory:
So... now I've "disabled forced encryption", do I ever need to worry about it again? Can I flash a new version of TWRP, or use a custom ROM and just use Magisk to re-root?
esuhl said:
Aha! It works! :laugh: Thank you so much! :victory:
So... now I've "disabled forced encryption", do I ever need to worry about it again? Can I flash a new version of TWRP, or use a custom ROM and just use Magisk to re-root?
Click to expand...
Click to collapse
Just it of curiosity what does it say about encryption under Settings -> Security?
Sent from my POCO F1 using XDA Labs
esuhl said:
Aha! It works! :laugh: Thank you so much! :victory:
So... now I've "disabled forced encryption", do I ever need to worry about it again? Can I flash a new version of TWRP, or use a custom ROM and just use Magisk to re-root?
Click to expand...
Click to collapse
If you flash Miui-Roms than no dfe needed.
If you flash a custom rom you should flash dfe.
guhvanoh said:
Just it of curiosity what does it say about encryption under Settings -> Security?
Click to expand...
Click to collapse
Settings -> "Security status" just shows:
Find device -- Off
Security update -- 2019-09-01
Google Play Protect > (Looks fine / No harmful apps found)
"Additional settings" -> Privacy -> "Encrypted & credentials" shows as "Encrypted".
However, the sub-option "Encrypt device using lock screen password" is turned off.
So just remember that if you want to move to another custom ROM you're going to have to format data. You're system is encrypted.
Sent from my POCO F1 using XDA Labs
i am using this
Disable force Encryption treble + Magisk20.2.zip (JAN 2020)
YasuHamed said:
i am using this
Disable force Encryption treble + Magisk20.2.zip (JAN 2020)
Click to expand...
Click to collapse
I only found DFE uploaded by someone. How can I get latest version? Isn't here any thread of it?