Is there a custom rom for the HUAWEI P30 lite? - Android Q&A, Help & Troubleshooting

Hey guys,
I want to buy a new phone for around 200€, while searching for a good one my eyes fell on the HUAWEI P30 lite.
But I would like to use the phone for a longer time, so here's my question:
"Does anybody know if theres a working custom rom for the HUAWEI P30 lite?"
I've allready looked up on the webpages of DitryUnicorny, LineageOS, Pixel expirience,... also here I couldn't find a rom, or even a unofficial version,
so if anybody knows more about it, or knows a phone about 200 with "rom compatibility" let me know about it .
Thx

did yu find any custom rom for P30 Lite ?

only EMUI9.0 support custom roms

Check this https://forum.xda-developers.com/t/huawei-p30-lite-root.3954205/post-85181981
trying to keep ths device alive.
I want to get a working TWRP for this device, pbbly soon, if everything works I will try and get a custom ROM done as well.

blzbh said:
Check this https://forum.xda-developers.com/t/huawei-p30-lite-root.3954205/post-85181981
trying to keep ths device alive.
I want to get a working TWRP for this device, pbbly soon, if everything works I will try and get a custom ROM done as well.
Click to expand...
Click to collapse
hi at the other forum i read that you got root working on huawei p30 lite but i am having trouble getting it rooted. i have unloced bootloader and now i am stuck because when i download magisk i need boot.img to modify and get root. any help would be awesome

NacoRaco said:
hi at the other forum i read that you got root working on huawei p30 lite but i am having trouble getting it rooted. i have unloced bootloader and now i am stuck because when i download magisk i need boot.img to modify and get root. any help would be awesome
Click to expand...
Click to collapse
Hi there mate.. do you have TWRP running?
The only image that works is TWRP Recovery 3.2.1.0 (HiSilicon Kirin 710).
You can flash that to recovery **make sure to disable password protection, face recognition or any other locking mechanism before doing so**
Then from TWRP install magisk zip using the install option

tnx for the replay. so the problem is that i found a post that that version of twrp should work and its supposed to be https://www.androidweblog.com/huawei-p30-lite-root-install-twrp-recovery/ but their linked twrp doesn't work and it just redirects you to illegal copy of JNews and you cant download it. If you have an url to the twrp than that would be awesome. but i did get twrp but i think it was for Huawei Y9 and everything was encrypted and it couldn't mount a bunch of stuff so it couldn't install magisk but i did successfully install lineage os but all files were encrypted so it wasn't usable. Tnx again for all the help and your time.

blzbh said:
Hi there mate.. do you have TWRP running?
The only image that works is TWRP Recovery 3.2.1.0 (HiSilicon Kirin 710).
You can flash that to recovery **make sure to disable password protection, face recognition or any other locking mechanism before doing so**
Then from TWRP install magisk zip using the install option
Click to expand...
Click to collapse
thank you for your time above i wrote my problem

That should be the one.. Y9 Uses twrp 3.2.1.0 for Kirin 710... If You have troubles with encryption you can reformat the data partition .. that worked for me... or factory reset and without running initial setup boot TWRP... there are a few tips around the forum for this..

blzbh said:
That should be the one.. Y9 Uses twrp 3.2.1.0 for Kirin 710... If You have troubles with encryption you can reformat the data partition .. that worked for me... or factory reset and without running initial setup boot TWRP... there are a few tips around the forum for this..
Click to expand...
Click to collapse
So i installed twrp and i tried to format data and factory reset and delete data partition and i install twrp and when i get to the setup screen phone gives warning your phone is rooted but there is no magisk and if i install app it says its N/A. all the data is decrypted on the phone and i have no idea how to enable root. when i flash magisk it says failed to mount /cust, /product, /system, /vendor, /version, /odm. and if i go to twrp again data is encrypted and i didn't set any lock up on setup. Thank you for all your help. you can add me on discord Naco_Raco#3100

NacoRaco said:
So i installed twrp and i tried to format data and factory reset and delete data partition and i install twrp and when i get to the setup screen phone gives warning your phone is rooted but there is no magisk and if i install app it says its N/A. all the data is decrypted on the phone and i have no idea how to enable root. when i flash magisk it says failed to mount /cust, /product, /system, /vendor, /version, /odm. and if i go to twrp again data is encrypted and i didn't set any lock up on setup. Thank you for all your help. you can add me on discord Naco_Raco#3100
Click to expand...
Click to collapse
Have you cleared the dalvik cache??
Please try that first, then in twrp shell run: mount -o remount,rw <partition>
Just change partition to the actual name in the errors.. /system /product etc...
Then flash magisk.
Usually at this point if you get the data partition re-encrypted you can re format the partition to get access again...

blzbh said:
Have you cleared the dalvik cache??
Please try that first, then in twrp shell run: mount -o remount,rw <partition>
Just change partition to the actual name in the errors.. /system /product etc...
Then flash magisk.
Usually at this point if you get the data partition re-encrypted you can re format the partition to get access again...
Click to expand...
Click to collapse
unfortunately it did not work. I filmed it again and posted on YouTube and it might help you find a problem. P.S before i filmed the video i cleared delvik and cache after installing magisk and it still didn't work. If you still have that twrp that worked for you could you send it over and i can try with that file?

Related

Again on recovery, root, etc.

Hi to all. I'm new in Honor world and I've stopped my Android experience with KitKat so I'm a little bit confused ...
I've read several guides (on XDA too) that that three steps to obtain root are unlock bootloader, flash TWRP via ADB and then install Magisk or SuperSU via TWRP. But in the thread on TWRP is clearly written that to install Magisk decryption is needed and to have decryption we must flash a kernel with encryption disabled in fstab. But no guide says anything about this step. Can someone explain me how encryption/decryption work doing a standard installation of TWRP ? Is needed a flash of a modified kernel ? And where find it ?
And another question (if it's not too much ). Since I don't need to install custom rom (I want root only to use some apps like Titanium) how can I make a backup of stock rom, boot.img, efs partition and all that can be useful to restore phone to the starting point if, by chance, I need Huawei warranty ?
Thanks a lot
Hi, apparently there's a way to get root on an encrypted system. Follow the rebrand guide and then flash supersu in TWRP via ADB sideload. It worked for me and a few others, there is no comment from the developers as of right now.
So basically in short follow this guide until you are finished with the TWRP section:
https://forum.xda-developers.com/honor-9/how-to/one-guide-recovery-os-roms-t3661829
Then
- enter twrp
- adb sideload supersu
Afterwards follow the "rooting!" section with point 2
Thank for your answer... I'd like to try to install Magisk instead of SuperSU. In several places is written that this should be right. I'll try....
unvisigoth said:
Thank for your answer... I'd like to try to install Magisk instead of SuperSU. In several places is written that this should be right. I'll try....
Click to expand...
Click to collapse
The method is also working fine with Magisk. Let me know if you need help
zxz0O0 said:
The method is also working fine with Magisk. Let me know if you need help
Click to expand...
Click to collapse
Finally done with a couple of hours of panic. This is the story if can be useful to someone...
Unlock bootloader....done TWRP install... done. Copy magisk (apk and zip) on phone than install apk without opening it. Reboot to recovery wipe all, factory reset. Trying to boot.....BOOTLOOP But I don't have installed Magisk zip. Only apk without opening it.
Nothing to do. Bootloop and then erecovery. I try to restore the backups previously done with TWRP. I restore boot and system partition. All wipes ...no luck. I don't know what has happened. While downloading full firmware to try to reinstall it I try to install magisk.zip. Install via TWRP. All wipes and then magically (it's such a case ) phone boots. Powered off and on several times no problem. Root (verified with root checker) ok.
I habe b100 release but I don't think to update to b130. I wait for Oreo...
The only two things that I can say are these: first TWRP even after flashing magisk gave an error (unable to mount system). Two while installing magisk it seems that magisk itself has patched something.
If someone has an explanation is welcome...
unvisigoth said:
Finally done with a couple of hours of panic. This is the story if can be useful to someone...
Unlock bootloader....done TWRP install... done. Copy magisk (apk and zip) on phone than install apk without opening it. Reboot to recovery wipe all, factory reset. Trying to boot.....BOOTLOOP But I don't have installed Magisk zip. Only apk without opening it.
Nothing to do. Bootloop and then erecovery. I try to restore the backups previously done with TWRP. I restore boot and system partition. All wipes ...no luck. I don't know what has happened. While downloading full firmware to try to reinstall it I try to install magisk.zip. Install via TWRP. All wipes and then magically (it's such a case ) phone boots. Powered off and on several times no problem. Root (verified with root checker) ok.
I habe b100 release but I don't think to update to b130. I wait for Oreo...
The only two things that I can say are these: first TWRP even after flashing magisk gave an error (unable to mount system). Two while installing magisk it seems that magisk itself has patched something.
If someone has an explanation is welcome...
Click to expand...
Click to collapse
So do you have some step-by-step instructions for someone who wants to unlock and root the phone with magisk?
shiboby said:
So do you have some step-by-step instructions for someone who wants to unlock and root the phone with magisk?
Click to expand...
Click to collapse
Here what I have done:
Unlock bootloader
install adb drivers (find something that is right for your PC. For example minimal ADB found on XDA weren't suitable for me. Google adb drivers...). Open a command windows (shift+right click). If typing "adb devices" your phone is found that's ok
Enable usb debugging and oem unlock (or in other words disable FRP, factory reset protection)
Put the phone in fastboot mode ("adb reboot bootloader"). If all ok typing "fastboot devices" your phone is found
Type "fastboot oem unlock xxxxxxxx" (xxxxxxxx is the code provided by Huawey)
Bootloader unlocked
Flash TWRP
Download TWRP recovery for Honor 9 (link found on other thread on this forum)
Put the phone in fastboot mode
Type "fastboot flash recovery xxxxx.img" (where xxxx.img is the recovery downloaded)
Reboot phone directly in Recovery to avoid erecovery overwrite TWRP. Booting on TWRP let TWRP patch to avoid erecovery booting
Now here I've had some issues as said (read previous post). My tip is the following:
after rebooting in TWRP make all wipes then reboot again in TWRP
Install Magisk.zip (for me download here https://geekaxe.com/root-honor-9-twrp-bootloader-unlocking/)
Reboot recovery
All wipes
Reboot to system
If it's all OK you can install magisk.apk and you are rooted
I suggest after flashing TWRP to make backup of all partitions on external SD (for some reasons, maybe encryption, backup on internal storage gives error). Again I suggest to copy all files that you need (i.e. magisk files) on external sd before starting all.
Pay attention that if you update firmware after this procedure I think that you must repeat all. For me I remain on original firmware found on phone (B100). B130 seems to have some bugs, B120 doesn't seem improve much. Moreover all releases are 7.0 based. I wait for Oreo, hopefully in some custom rom!
To add to this, a bootloop or two might be normal. Let it sit for a few minutes before considering re-flashing everything.
Thanks for your guide!
Zuzler said:
To add to this, a bootloop or two might be normal. Let it sit for a few minutes before considering re-flashing everything.
Thanks for your guide!
Click to expand...
Click to collapse
You're right. But after 20 minutes of bootlops I've chosen another way....:laugh::laugh:
unvisigoth said:
You're right. But after 20 minutes of bootlops I've chosen another way....:laugh::laugh:
Click to expand...
Click to collapse
So is it fixed?
Sent from my Honor 8 Pro using XDA Labs
adriansticoid said:
So is it fixed?
Sent from my Honor 8 Pro using XDA Labs
Click to expand...
Click to collapse
Yes sure. As said previously installation of magisk.zip fixed the bootloop problem. I think (but I could be wrong) that installation of TWRP corrupted the boot partition and magisk fixed it. But it's only an hypothesis...
unvisigoth said:
Yes sure. As said previously installation of magisk.zip fixed the bootloop problem. I think (but I could be wrong) that installation of TWRP corrupted the boot partition and magisk fixed it. But it's only an hypothesis...
Click to expand...
Click to collapse
Observe and be careful man.
Sent from my Honor 8 Pro using XDA Labs
unvisigoth said:
Yes sure. As said previously installation of magisk.zip fixed the bootloop problem. I think (but I could be wrong) that installation of TWRP corrupted the boot partition and magisk fixed it. But it's only an hypothesis...
Click to expand...
Click to collapse
Which TWRP version did you use?
I had a similar problem after formatting all data with the OpenKirin TWRP 3.1.1 Perhaps its an issue with this TWRP release?
I was able to recover in similar circumstances by flashing a stock boot.img over fastboot. Based on this, it's looking like Magisk is really the way to go for rooting atm. Making sure to pull my twrp backup with adb this time though.
If I'm lucky enough to install magisk and not get a bootloop the safetynet always fails. Anyone got a valid method of actually getting magisk working fully?

Honor Note 8 B356 Full Rooted Stockrom

Here is the last Update B356 for Honor Note 8 Android 7 Emui 5.0.1
Full Stock Rom
Boot_Insecure_B356_Fix-adb_dm-verity.img v3 (Spezial Thanks to franzroy from the Mate 8 Forum)
Rooted with Magisk
Busybox
Adblock (is Disable by Default,turn it on yourself if you want)
Integrated Google Apps (Playstore,Play Service,Gmail,Google, Contacts and Calender Sync....
Download
Requirement:
Bootloader Unlocked
Twrp installed
How to install:
Boot into Twrp (I use 3.1.1-1 Open Kirin Twrp)
Format Data with yes
Wipe all in advanced Wipe System,Data,Internal Memory,Dalvik Cache and Cache.
Install the Rom,enjoy
For People was not working Root (Magisk) download the File from Attachment and flash in Recovery (TWRP)​
I do not accept responsibility for Bricked Devices,or any other damage!
Everyone needs to know what he is doing!​
Link mirror error.
---------- Post added at 09:18 PM ---------- Previous post was at 09:17 PM ----------
Now works!!!
Great.
karolingio said:
Link mirror error.
---------- Post added at 09:18 PM ---------- Previous post was at 09:17 PM ----------
Now works!!!
Great.
Click to expand...
Click to collapse
Ok,thanks
Can we install over B353?
Magisk
letschky said:
Ok,thanks
Click to expand...
Click to collapse
Hello,
I install your custom rom and works very well but it is no rooted as default as written in your first post
How can I root it with Magisk ( Magisk manager is already installed )
I saw also that in your zip file(b356) the boot.img as the same size as "boot_insecure_b356...", so I didn't flash it
Am I right ?
Thanks for your help
AD
zorglubzorglub said:
Hello,
I install your custom rom and works very well but it is no rooted as default as written in your first post
How can I root it with Magisk ( Magisk manager is already installed )
I saw also that in your zip file(b356) the boot.img as the same size as "boot_insecure_b356...", so I didn't flash it
Am I right ?
Thanks for your help
AD
Click to expand...
Click to collapse
aha,for me works root with Magisk.
ok you can extract the Rom and in Magisk folder is the Magisk.zip inside.
Copy the Magisk.zip on your SD Card and flash via twrp,i think this fix the issue
coco1476 said:
Can we install over B353?
Click to expand...
Click to collapse
i don´t know,install fresh,fresh install is better,but make a Nandroid Backup and flash the 356 over 353
letschky said:
aha,for me works root with Magisk.
ok you can extract the Rom and in Magisk folder is the Magisk.zip inside.
Copy the Magisk.zip on your SD Card and flash via twrp,i think this fix the issue
Click to expand...
Click to collapse
Hello Letschky,
I use TWRP 3.1.1-1
I tried to install magisk from your custom rom but failed : " boot image patched by othe program, please restore stock boot image" and update process ended with ERROR: 1
The boot image is the one from your custom rom
Could you help me
Best Regards
Alain
zorglubzorglub said:
Hello Letschky,
I use TWRP 3.1.1-1
I tried to install magisk from your custom rom but failed : " boot image patched by othe program, please restore stock boot image" and update process ended with ERROR: 1
The boot image is the one from your custom rom
Could you help me
Best Regards
Alain
Click to expand...
Click to collapse
Before you have the rom installed, you have everything wiped?
Wipe Data with - yes
System,Cache,Dalvik Cache,Data
Reboot again into Recovery
install the rom
for me works without any Problem
letschky said:
Before you have the rom installed, you have everything wiped?
Wipe Data with - yes
System,Cache,Dalvik Cache,Data
Reboot again into Recovery
install the rom
for me works without any Problem
Click to expand...
Click to collapse
****************
Yes I wiped everything the only difference is that I didn't reboot after the WIPE and the INSTALLATION of the ROM
will do it again tonite
Cheers
letschky said:
Before you have the rom installed, you have everything wiped?
Wipe Data with - yes
System,Cache,Dalvik Cache,Data
Reboot again into Recovery
install the rom
for me works without any Problem
Click to expand...
Click to collapse
I did exactly the same as you but without rebooting between all the wipes and the installation of the ROM
Now I did exactly the same as you and I have the same problem : not rooted
during the installation of the rom I saw just after the message "install boot.img" failed to mount /data file exists and and at the end of the installtion "script succeeded result [ E: unknown command [1]]
boot is unlocked
zorglubzorglub said:
I did exactly the same as you but without rebooting between all the wipes and the installation of the ROM
Now I did exactly the same as you and I have the same problem : not rooted
during the installation of the rom I saw just after the message "install boot.img" failed to mount /data file exists and and at the end of the installtion "script succeeded result [ E: unknown command [1]]
boot is unlocked
Click to expand...
Click to collapse
Same for me, but my solution was simple:
1 installed ROM
2 flashed SU via twrp !
That's all folks!
This worked for me.
karolingio said:
Same for me, but my solution was simple:
1 installed ROM
2 flashed SU via twrp !
That's all folks!
This worked for me.
Click to expand...
Click to collapse
Yes I did the same and it works but I wish to test MAGISK but no success
Thanks
zorglubzorglub said:
I did exactly the same as you but without rebooting between all the wipes and the installation of the ROM
Now I did exactly the same as you and I have the same problem : not rooted
during the installation of the rom I saw just after the message "install boot.img" failed to mount /data file exists and and at the end of the installtion "script succeeded result [ E: unknown command [1]]
boot is unlocked
Click to expand...
Click to collapse
the error messages do not matter
but strangely it has just flashed again and it works without problems,
but when it works with supersu also works well
ectract the boot img from tje rom and flash with adb or in twrp and flash the MAGISK.zip again if you want to have MAGISK
Good Afternoon
Loaded B356 last night and for me it works better than the B353 version, seems a lot smoother and I'm loving the magazine covers on my lock screen
Can't get Magisk to work but that does not matter as the phone rooted anyway
I'll carry on road testing and will report back with any issues
Keep up the good work letschky
Hello Letschky.
I've flashed this ROM via TWRP over 356 OTA (it was not completely rooted, it was not possible to mount the /data in TWRP). Wipe and flashing process were successful, but now the reboot to system does not work. The screen is black. ADB can find the device, but it says that the the device is in recovery mode.
Can You please help me.
vimmr said:
Hello Letschky.
I've flashed this ROM via TWRP over 356 OTA (it was not completely rooted, it was not possible to mount the /data in TWRP). Wipe and flashing process were successful, but now the reboot to system does not work. The screen is black. ADB can find the device, but it says that the the device is in recovery mode.
Can You please help me.
Click to expand...
Click to collapse
I advise you to factory reset and reflash the zip that letschky has uploaded
Thats what I did and to be honest its working flawlessly for me, I was previously on B353
On an unrelated side note, can anyone advise if the substratum theme engine works with this ROM
Thanks in advance
Thanks Letschky! I loaded your B356 rom to my honor note 8 last night, looks great.
One issue, the google apps are there, but there is no way to sync the Contacts for Calendar? The option is not there under settings, accounts, google. The option is there for sync app data, sync gmail, sync googlefit, sync people details. But no option for Contacts or Calendar? When I open the phone dialer, there are no contacts!
I loaded the Contacts app from play store, and when I go to add my account it says "the account is already loaded" but still no contacts.
Thanks!
UPDATE: I found this file https://www.apkmirror.com/apk/googl...cts-sync-7-1-2-android-apk-download/download/ and installed it to the phone and now the contacts are appearing in the dialer, but the option to sync contacts is still not appearing in settings, accounts, google.

[How to] Decrypt data on P10 and other kirin devices (EMUI, OREO and PIE roms)

Well, first of all, this is not my work, I'm just sharing this guide that worked for me, it should work on any kirin device.
I have a P10 (VTR-L29C432), don't ask me if it works on X device, just try it for yourself as I did.
1) You need an unlocked bootloader and FRP
2) If you don't want to lose any data, backup your internal memory, because you'll need to do some wipes on stock recovery.
3) Reboot into TWRP and flash the "Huawei_remove_encyption_data_2.zip", here's the link: https://forum.xda-developers.com/mate-9/how-to/guide-how-to-decrypt-data-mate-9-hi3660-t3834748, you can use blackball's TWRP (p10 plus) or twrp from Honor 9 lite forum (both works on any emui and pie's rom, but you'll need and sdcard in order to flash the file)
4) After that, reboot into bootloader and flash your stock recovery and wipe data and cache
5) Reboot again into bootloader and flash again your favorite Twrp.
Some Twrps:
https://forum.xda-developers.com/showpost.php?p=77262856&postcount=166 P10 plus TWRP
https://forum.xda-developers.com/9-lite/development/recovery-twrp-3-2-1-0-t3789306 Honor 9 Lite TWRP
https://forum.xda-developers.com/honor-view-10/development/recovery-twrp-3-2-1-0-t3769917 Honor View 10 TWRP
https://forum.xda-developers.com/p10-plus/development/recovery-twrp-3-2-1-0-oreo-t3734993 P10 plus TWRP (blackball)
https://forum.xda-developers.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584 Themes for TWRP, download and flash as a normal zip.
If your device isn't hi3660 (kirin 960), you'll need to do it manually, first go to vendor/etc and look for a file called "fstab......" (you'll need to remember that name), go to the zip file that you previously downloaded and extract it, go to the folder vendor/etc and you'll see the fstab.hi3660 file, rename it with the name of your fstab and paste it into vendor/etc (if it ask for overwrite, hit the YES button), reboot and do the wipes on stock
If it was useful for you, go and say thanks / donate to @micky387 for their work and to the Devs that made possible the tools that we use. :highfive:
did it work on oreo 8.1 based roms ? (problem is with encrypted data partition)
yes, it works.
for me it wont work... TWRP stuck at TWRP screen
Edit
ok, i flashed recomended recovery from tutorial and now works
thanks
doktor29 said:
for me it wont work... TWRP stuck at TWRP screen
Edit
ok, i flashed recomended recovery from tutorial and now works
thanks
Click to expand...
Click to collapse
The p10plus recovery?
sfoot13 said:
The p10plus recovery?
Click to expand...
Click to collapse
nope, this dont work for me... it stuck on TWRP logo
i flash one from tutorial, twrp_recovery.img
in order to make any twrp working, first you need to reboot into fastboot and type fastboot -w, after that flash any twrp and follow the steps, I tried it with many recoveries, even with p10plus version.
Actually I'm using one from PRA forum, it works with custom roms
but internal memory is encrypted, but is not a problem for me.
i flash 3.1.1 twrp for oreo 8.0 based roms
this one see more partition to backup like others
@micky387 updated the files and the process, so I updated the thread all the credits to him
sfoot13 said:
Well, first of all, this is not my work, I'm just sharing this guide that worked for me, it should work on any kirin device.
I have a P10 (VTR-L29C432), don't ask me if it works on X device, just try it for yourself as I did.
1) You need an unlocked bootloader and FRP
2) If you don't want to lose any data, backup your internal memory, because you'll need to do some wipes on stock recovery.
3) Reboot into TWRP and flash the "Huawei_remove_encyption_data_2.zip", here's the link: https://forum.xda-developers.com/mate-9/how-to/guide-how-to-decrypt-data-mate-9-hi3660-t3834748, you can use blackball's TWRP (p10 plus) or twrp from Honor 9 lite forum (both works on any emui and pie's rom, but you'll need and sdcard in order to flash the file)
4) After that, reboot into bootloader and flash your stock recovery and wipe data and cache
5) Reboot again into bootloader and flash again your favorite Twrp.
Some Twrps:
https://forum.xda-developers.com/showpost.php?p=77262856&postcount=166 P10 plus TWRP
https://forum.xda-developers.com/9-lite/development/recovery-twrp-3-2-1-0-t3789306 Honor 9 Lite TWRP
https://forum.xda-developers.com/honor-view-10/development/recovery-twrp-3-2-1-0-t3769917 Honor View 10 TWRP
https://forum.xda-developers.com/p10-plus/development/recovery-twrp-3-2-1-0-oreo-t3734993 P10 plus TWRP (blackball)
https://forum.xda-developers.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584 Themes for TWRP, download and flash as a normal zip.
If your device isn't hi3660 (kirin 960), you'll need to do it manually, first go to vendor/etc and look for a file called "fstab......" (you'll need to remember that name), go to the zip file that you previously downloaded and extract it, go to the folder vendor/etc and you'll see the fstab.hi3660 file, rename it with the name of your fstab and paste it into vendor/etc (if it ask for overwrite, hit the YES button), reboot and do the wipes on stock
If it was useful for you, go and say thanks / donate to @micky387 for their work and to the Devs that made possible the tools that we use. :highfive:
Click to expand...
Click to collapse
Why would you need to unlock the data ?
haddadadam35 said:
Why would you need to unlock the data ?
Click to expand...
Click to collapse
why you quote the whole post?
That's annoying.
Do you know MP? Just asking because it's out of context. If you want to teach lessons, why do it on public instead of MP which is ethical.
And yes I'm doing the same mistake, but I hope to prevent many.
Will I be able to enrcypt my system on a ROM Basis afterwards? I want an encrypted device but I also want to be able to do backups in TWRP.
hansiohne said:
Will I be able to enrcypt my system on a ROM Basis afterwards? I want an encrypted device but I also want to be able to do backups in TWRP.
Click to expand...
Click to collapse
I experimented similarly on two P9 phones with Oreo, and was able to encrypt back by doing:
Install latest + Factory reset from eRecovery
Of course, before eRecovery, you must revert to stock Recovery (and stock eRecovery, Kernel if they were flashed over) and unroot (stock Ramdisk) - without you risk a brick
Edit: Also, while having decrypted Data and internal memory, successfully received an OTA patch (Huawei stopped updating but sent a smalll OTA patch to the existing firmware)
zgfg said:
I experimented similarly on two P9 phones with Oreo, and was able to encrypt back by doing:
Click to expand...
Click to collapse
But as I said I don't want to encrypt back because if I had no need to permanently decrypt (for TWRP backup reasons, I have berkeley and encryption doesn't work there on TWRP) I wouldn't do it. Instead, I want to decrypt and then do a normal device encryption in AICP. Or am I getting it wrong and it's the same type of encryption in the end?

Password in all recoveries except TWRP 3.3.0.0

First of all I must apologize for my low level of English.
I will try to explain something strange that happens to my Pocophone since the arrival of the OTA with Android 10 and Miui11
Since I bought the Poco I have always used TWRP as recovery.
I currently use the 3.3.0.0 official TWRP version downloaded from its official app and I have no problem until the past weekend-
However, I have tried installing OrangeFox Recovery Project (OFRP), PitchBlack Recovery Project (PBRP) and an unofficial TWRP mod whose name is twrp-3.3.1-2-beryllium-adil2.img
And now I tell you I miss it.
If I boot into recovery using TWRP 3.3.0.0 it does not ask me for password, but if I flash OFRP, PBRP or mod 3.3.1.2 adil 2, it always asks me for a password when booting and tells me that the partition /data is encrypted. I do not know the password and I have never encrypted the Poco. Also the 3 revoveries show that is not installed any Tom, but when a reboot the system works perfectly.
Some colleagues have indicated to me that the data partition had been encrypted so I followed the next process to try to install a clean rom.
1. Boot in bootloader with Power + Vol-
2. Via fastboot flash OFRP
3. Boot in recovery (OFRP)
4. Format data and factory reset
5. Reboot recovery OFRP
6. Wipe: cache, Dalvik/Cache, Data and System partitions
7. Install rom XiaomiEU V11.0.4.0.QEJMIXM.zip
8. Flash DFE + Magisk
9. Reboot system
10. Complete ROM configuration
When I start again in recovery, it asks me for a password, informs me that data is encrypted and I cannot mount it, and I can't install anything.
However, if I flash TWRP 3.3.0.0 via fastboot, it no longer asks me for a password and I can mount the data partition and work normally.
If I flash again OFPR, PBRP or twrp-3.3.1-2-beryllium-adil2.img, ask me for a password again and it tells me that / data is encrypted
I tried to delete from /data/system the files locksettings.db, locksettings.db-shm and locksettings.db-wal but it continues asking me for a password if the recovery is always different of TWRP 3.3.0.0
otraver said:
First of all I must apologize for my low level of English.
I will try to explain something strange that happens to my Pocophone since the arrival of the OTA with Android 10 and Miui11
Since I bought the Poco I have always used TWRP as recovery.
I currently use the 3.3.0.0 official TWRP version downloaded from its official app and I have no problem until the past weekend-
However, I have tried installing OrangeFox Recovery Project (OFRP), PitchBlack Recovery Project (PBRP) and an unofficial TWRP mod whose name is twrp-3.3.1-2-beryllium-adil2.img
And now I tell you I miss it.
Click to expand...
Click to collapse
First off, your post belongs in the Q & A section. Please ask a moderator to move it as it has nothing to do with ROMs or development. Secondly, if official TWRP works, use it. Stop switching between recoveries and getting yourself all flustered.
PS: your English is fine. Don't sweat it.
Sent from my Galaxy Tab S5e using XDA Labs
Thank's for your answer.
guhvanoh said:
First off, your post belongs in the Q & A section. Please ask a moderator to move it as it has nothing to do with ROMs or development.
Click to expand...
Click to collapse
I don't know how conctact with the moderator. I'm a veteran user of the XDA-forums but I don't usually write frequently because my difficulty with the English language.
Secondly, if official TWRP works, use it. Stop switching between recoveries and getting yourself all flustered.
PS: your English is fine. Don't sweat it.
Click to expand...
Click to collapse
You're right. Here, in my country, we usually use this saying "if something works, don't touch it"
I wanted to try other recoveries because the official TWRP does not support USB-OTG access well.
About one year ago, I tried using a 256GB flashdrive with a m.2 ssd to perform a faster backup of the rom, but TWRP don't recognize the drive.
I read in these forums that TWRP had a problem managing USB-OTG and installed PBRP and it worked fine until last week I received the Miui11/Android10 OTA. After flashing it, PBRP started asking me for the password and displaying the message "I don't detect any rom installed". Despite having a recent backup (I always do it before flashing) I was a little scared.
I decided to reinstall TWRP by fastboot and I was surprised that the rom had been updated and everything worked ok.
As some colleagues tell me that I have the encrypted / data partition, I tried to make a format of the / data partition and new installation, with the result I commented above.
However, when I received the previous OTA, which was Android9 and Miui11, there was no problem.
I just wanted to share this strange situation.
I appreciate your message.
otraver said:
Thank's for your answer.
I don't know how conctact with the moderator. I'm a veteran user of the XDA-forums but I don't usually write frequently because my difficulty with the English language.
I appreciate your message.
Click to expand...
Click to collapse
Not a problem. If you view this in a web browser there is a button at the bottom left or right to report a post. Use that and ask for this thread to be moved.
PS: your English is still great.
Sent from my Galaxy Tab S5e using XDA Labs
otraver said:
First of all I must apologize for my low level of English.
I will try to explain something strange that happens to my Pocophone since the arrival of the OTA with Android 10 and Miui11
Since I bought the Poco I have always used TWRP as recovery.
I currently use the 3.3.0.0 official TWRP version downloaded from its official app and I have no problem until the past weekend-
However, I have tried installing OrangeFox Recovery Project (OFRP), PitchBlack Recovery Project (PBRP) and an unofficial TWRP mod whose name is twrp-3.3.1-2-beryllium-adil2.img
And now I tell you I miss it.
If I boot into recovery using TWRP 3.3.0.0 it does not ask me for password, but if I flash OFRP, PBRP or mod 3.3.1.2 adil 2, it always asks me for a password when booting and tells me that the partition /data is encrypted. I do not know the password and I have never encrypted the Poco. Also the 3 revoveries show that is not installed any Tom, but when a reboot the system works perfectly.
Some colleagues have indicated to me that the data partition had been encrypted so I followed the next process to try to install a clean rom.
1. Boot in bootloader with Power + Vol-
2. Via fastboot flash OFRP
3. Boot in recovery (OFRP)
4. Format data and factory reset
5. Reboot recovery OFRP
6. Wipe: cache, Dalvik/Cache, Data and System partitions
7. Install rom XiaomiEU V11.0.4.0.QEJMIXM.zip
8. Flash DFE + Magisk
9. Reboot system
10. Complete ROM configuration
When I start again in recovery, it asks me for a password, informs me that data is encrypted and I cannot mount it, and I can't install anything.
However, if I flash TWRP 3.3.0.0 via fastboot, it no longer asks me for a password and I can mount the data partition and work normally.
If I flash again OFPR, PBRP or twrp-3.3.1-2-beryllium-adil2.img, ask me for a password again and it tells me that / data is encrypted
I tried to delete from /data/system the files locksettings.db, locksettings.db-shm and locksettings.db-wal but it continues asking me for a password if the recovery is always different of TWRP 3.3.0.0
Click to expand...
Click to collapse
Hi bro I also facing same issue my problem is I m using orange fox recovery 10.0.1 version and when I flash miuiQ stable global with dfe it ask me to enter password when I boot to recovery don't know what happened. By the way is twrp official work perfectly????
---------- Post added at 04:07 PM ---------- Previous post was at 04:01 PM ----------
otraver said:
Thank's for your answer.
I don't know how conctact with the moderator. I'm a veteran user of the XDA-forums but I don't usually write frequently because my difficulty with the English language.
You're right. Here, in my country, we usually use this saying "if something works, don't touch it"
I wanted to try other recoveries because the official TWRP does not support USB-OTG access well.
About one year ago, I tried using a 256GB flashdrive with a m.2 ssd to perform a faster backup of the rom, but TWRP don't recognize the drive.
I read in these forums that TWRP had a problem managing USB-OTG and installed PBRP and it worked fine until last week I received the Miui11/Android10 OTA. After flashing it, PBRP started asking me for the password and displaying the message "I don't detect any rom installed". Despite having a recent backup (I always do it before flashing) I was a little scared.
I decided to reinstall TWRP by fastboot and I was surprised that the rom had been updated and everything worked ok.
As some colleagues tell me that I have the encrypted / data partition, I tried to make a format of the / data partition and new installation, with the result I commented above.
However, when I received the previous OTA, which was Android9 and Miui11, there was no problem.
I just wanted to share this strange situation.
I appreciate your message.
Click to expand...
Click to collapse
So bro twrp official never give encryption error if I flash miuiQ using it right ?
Hey there!
I have the same Situation here and I figured at least some points out:
- the Upgrade to Android 10 encrypted the data Partition. You can see that in in your phone settings under security and password. For some security reasons of Android Q I guess.
But what password and how to change is a mystery. There are tons of articles out there which are related to "encrypt with lock screen password" but thats something different. We have this Option too in developer settings but it is not Set. So the way of our New encrypted device is still a Secret.
- Official twrp is the only one to decrypt the data correct. If you go to the "save logs" section in twrp and save it you can see the log and it says that it decrypts with Standard password. But I wasnt able to find out that this is. And as I stated before we dont use the lockscreen password to decrypt, I tried to change and disable it but guess what... I didn't change anything.
I hope we can figure out as a community what's exactly going on here.
THE PASSWORD IS:
"default_password"​
guhvanoh said:
Not a problem. If you view this in a web browser there is a button at the bottom left or right to report a post. Use that and ask for this thread to be moved.
Click to expand...
Click to collapse
Reported, thanks
sachin5555 said:
Hi bro I also facing same issue my problem is I m using orange fox recovery 10.0.1 version and when I flash miuiQ stable global with dfe it ask me to enter password when I boot to recovery don't know what happened. By the way is twrp official work perfectly????
Click to expand...
Click to collapse
I'm ussing the 3.3.0.0 and works perfectly...
So bro twrp official never give encryption error if I flash miuiQ using it right ?
Click to expand...
Click to collapse
In my case I have not had any problems.
I am currently using the global stable 11.0.4.0 QEJMIXM + TWRP 3.3.0.0 + Magisk 20.3
Fritzko said:
Hey there!
I have the same Situation here and I figured at least some points out:
- the Upgrade to Android 10 encrypted the data Partition. You can see that in in your phone settings under security and password. For some security reasons of Android Q I guess.
But what password and how to change is a mystery. There are tons of articles out there which are related to "encrypt with lock screen password" but thats something different. We have this Option too in developer settings but it is not Set. So the way of our New encrypted device is still a Secret.
Click to expand...
Click to collapse
I have checked what you say about ""encrypt with lock screen password" in developer settings and in my case it is disabled.
- Official twrp is the only one to decrypt the data correct. If you go to the "save logs" section in twrp and save it you can see the log and it says that it decrypts with Standard password. But I wasnt able to find out that this is. And as I stated before we dont use the lockscreen password to decrypt, I tried to change and disable it but guess what... I didn't change anything.
I hope we can figure out as a community what's exactly going on here.
Click to expand...
Click to collapse
Where can I find the logs you comment to check?
fraggy2 said:
THE PASSWORD IS:
"default_password"​
Click to expand...
Click to collapse
Seriously?
I will not be able to try it until tomorrow. The motherboard of my PC has said that it doesn't work anymore and I am waiting for the arrival of a new one.
Where can I find the logs you comment to check?
Click to expand...
Click to collapse
Go to Twrp > advanced > copy logs. They are saved on your sd card.
fraggy2 said:
THE PASSWORD IS:
"default_password"​
Click to expand...
Click to collapse
I tried wit "default_password" (without quotes) and don't work
Fritzko said:
Hey there!
- Official twrp is the only one to decrypt the data correct. If you go to the "save logs" section in twrp and save it you can see the log and it says that it decrypts with Standard password. But I wasnt able to find out that this is. And as I stated before we dont use the lockscreen password to decrypt, I tried to change and disable it but guess what... I didn't change anything.
Click to expand...
Click to collapse
I checked the TWRP logs and have you reason
Code:
I:Unmounting main partitions...
Successfully decrypted with default password.
I:Decrypt adopted storage starting
I:PageManager::LoadFileToBuffer loading filename: '/data/system/storage.xml' directly
I:successfully loaded storage.xml
Updating partition details...
I am using SHRP recovery for poco for 2 months now and I haven't faced any encryption problem (recovery asking for password). I would recommend you to try it buddy.
Champ16 said:
I am using SHRP recovery for poco for 2 months now and I haven't faced any encryption problem (recovery asking for password). I would recommend you to try it buddy.
Click to expand...
Click to collapse
If i flash it over twrp will it ask me to enter password?
sachin5555 said:
If i flash it over twrp will it ask me to enter password?
Click to expand...
Click to collapse
No
Champ16 said:
No
Click to expand...
Click to collapse
Done ! Thank u
Champ16 said:
I am using SHRP recovery for poco for 2 months now and I haven't faced any encryption problem (recovery asking for password). I would recommend you to try it buddy.
Click to expand...
Click to collapse
I don't think it works, but sure I will try it.
I have already tried everything I have been reading through many forums and I always get the same result.: the ****ing password
I have tried to deactivate the PIN, screen pattern, passwords, I have even logged off the Mi account and then I have tried to flash OFRP, PBRP and a TWRP mod and always, always ask me for password
I've tried booting on TWRP
1. Factory reset
2. Format data (not only wipe) (I answer "yes")
3. Reboot recovery
4. wipe cache, Dalvik / cache, Data and System
5 Install rom (miui_POCOF1Global_V11.0.4.0.QEJMIXM_74f88e6c8f_10.0.zip)
5. Flash twrp
6. Flash orange fox + DFE + magisk
7. Start rom and configure.
And without entering a PIN or blocking pattern, only gmail and Mi account and when returning to reboot in recovery it asks me again for a password.
SOLUTION:
I removed lockscreen password and flashed official TWRP.
Now it's decrypted successfully
The same kind of thing happened to me. I wish that I had seen this thread before. Lost all my data. ???
You can check it here
https://forum.xda-developers.com/poco-f1/help/miui-11-eu-android-10-encrypted-data-t4049421

How to Fix Anti Rollback

I flashed Mi 10 Indian with Xiaomi.eu Miui 12 beta. Now i want to back to Stock Miui 11 but when i use Mi Flash Tool Its give
'antirollback check error'. there is any way to back Miui 11 stock
rashmi0733 said:
I flashed Mi 10 Indian with Xiaomi.eu Miui 12 beta. Now i want to back to Stock Miui 11 but when i use Mi Flash Tool Its give
'antirollback check error'. there is any way to back Miui 11 stock
Click to expand...
Click to collapse
https://www.xda-developers.com/xiaomi-anti-rollback-protection-brick-phone/
Format phone viai TWRP, install any ROM you want!
head_djmusic said:
Format phone viai TWRP, install any ROM you want!
Click to expand...
Click to collapse
thank but i read some ware :if you have anti rollback protection than you should not install stock rom viai TWRP its hard brick your phone"
so i want to know you try this before and its 100% safe use TWRP
how to install xiaomi.eu on Indian Mi 10
rashmi0733 said:
thank but i read some ware :if you have anti rollback protection than you should not install stock rom viai TWRP its hard brick your phone"
so i want to know you try this before and its 100% safe use TWRP
Click to expand...
Click to collapse
Hi rashmi0733, can u explain me how to install xiaomi.eu on Indian Mi 10
How to install xiaomi.eu on Indian Mi 10
rashmi0733 said:
I flashed Mi 10 Indian with Xiaomi.eu Miui 12 beta. Now i want to back to Stock Miui 11 but when i use Mi Flash Tool Its give
'antirollback check error'. there is any way to back Miui 11 stock
Click to expand...
Click to collapse
How to install xiaomi.eu on Indian Mi 10
rashmi0733 said:
thank but i read some ware :if you have anti rollback protection than you should not install stock rom viai TWRP its hard brick your phone"
so i want to know you try this before and its 100% safe use TWRP
Click to expand...
Click to collapse
Hi.
Do it like this, install TWRP and then the operating system of your choice. There is also the question of how you could install the ROM without TWRP.
Hardbrick with TWRP, never, I don't think so.
I have now easily shot my device 20 times and put it on again and again, definitely shot 100 devices over 10,000 times over the years and never suffered a hard brick.
You can do it, otherwise the heroes will help you here. :highfive:
sudhakar.ksvn said:
Hi rashmi0733, can u explain me how to install xiaomi.eu on Indian Mi 10
Click to expand...
Click to collapse
Unlock Bootloader
flash TWRP
boot Twrp
format Data
copy rom on phone
install rom
reboot and enjoy new rom
Thank For all suggestion i found one way to back stock Miui 11 without twrp
its working now i installed miui 11 and lock bootloader again.
rashmi0733 said:
Thank For all suggestion i found one way to back stock Miui 11 without twrp
its working now i installed miui 11 and lock bootloader again.
Click to expand...
Click to collapse
Oh really nice!
Do you mind to share your solution?
I don't need it but it's the purpose of forum ....
Greetings
Failed to mount '/system_root'
rashmi0733 said:
Unlock Bootloader
flash TWRP
boot Twrp
format Data
copy rom on phone
install rom
reboot and enjoy new rom
Click to expand...
Click to collapse
thanks for ur reply, bur i am getting .....
Updater process ended with ERROR: 7
Failed to mount '/system_root' ( No such file or directory)
can u help me regarding this, what twrp version have u used
sudhakar.ksvn said:
thanks for ur reply, bur i am getting .....
Updater process ended with ERROR: 7
Failed to mount '/system_root' ( No such file or directory)
can u help me regarding this, what twrp version have u used
Click to expand...
Click to collapse
i Used this TWRP
https://androidfilehost.com/?fid=4349826312261728614
https://gsmhostingfiles.com/index.php?a=downloads&b=file&id=14217
sudhakar.ksvn said:
thanks for ur reply, bur i am getting .....
Updater process ended with ERROR: 7
Failed to mount '/system_root' ( No such file or directory)
can u help me regarding this, what twrp version have u used
Click to expand...
Click to collapse
Hi,
this happens because your system partition is "broken".
If you go to "Wipe" and select "Format Data" there it will delete all partitions and the system of your device.
Then you start again in the TWRP and connect the device via USB to a PC or via OTG to a stick on which you have the operating system of your choice and drag it to your device.
Then select the ZIP / OS in the TWRP under "Install" and have it installed. It also creates the new partitions that he could not find with you.
I wish you success:fingers-crossed:
Ner0o1 said:
Hi,
this happens because your system partition is "broken".
If you go to "Wipe" and select "Format Data" there it will delete all partitions and the system of your device.
Then you start again in the TWRP and connect the device via USB to a PC or via OTG to a stick on which you have the operating system of your choice and drag it to your device.
Then select the ZIP / OS in the TWRP under "Install" and have it installed. It also creates the new partitions that he could not find with you.
I wish you success:fingers-crossed:
Click to expand...
Click to collapse
Don't think format data wipes the system partition does it?
Unless Xiaomi have really changed things, data should be completely separate. Format data should wipe the internal storage only which includes cache partition.
Twrp can wipe system, but shouldn't do unless specifically chosen to do so via several steps, not a single button press.
fards said:
Don't think format data wipes the system partition does it?
Unless Xiaomi have really changed things, data should be completely separate. Format data should wipe the internal storage only which includes cache partition.
Twrp can wipe system, but shouldn't do unless specifically chosen to do so via several steps, not a single button press.
Click to expand...
Click to collapse
no data format dont touch system
Yes, of course not the whole system partition, sorry.
From German into English is sometimes not that easy.?
In this case, TWRP will of course only delete the data as it stands there.
Otherwise everyone will find a step by step guide for almost every device a thousand times, thanks to you. So it should be also possible for everyone here.
Best regards and thank you two.:highfive:
rashmi0733 said:
Unlock Bootloader
flash TWRP
boot Twrp
format Data
copy rom on phone
install rom
reboot and enjoy new rom
Click to expand...
Click to collapse
Thanks for ur reply .. now i am able to successfully install the .eu ROM on my Indian Mi10
rashmi0733 said:
Thank For all suggestion i found one way to back stock Miui 11 without twrp
its working now i installed miui 11 and lock bootloader again.
Click to expand...
Click to collapse
Hello rashmi0733 I am also stuck in the same situation can you help me how u rolled back the beta update. Please help
Arif shaikh said:
Hello rashmi0733 I am also stuck in the same situation can you help me how u rolled back the beta update. Please help
Click to expand...
Click to collapse
I also want to go back to stable ROM
Its very simple to bypass the Anti rollback on miflash, just download the fastboot version of the ROM you want to install, unzip it and you'll have to edit this file (flash_all.bat), with for instance note++. And you remove 5 or 6 lines that does not begin by FASTBOOT. You can't miss it.
You can close and save.
Afterwards, just flash that same file that you just edited, and no more anti rollback error!
A second tip that I have when you just can't install custom firmwares on the mi 10, just flash stock firmware with miflash, reboot and flash TWRP. Transfer your custom firmware to your phone, flash it and ONLY format data afterwards! It was the only way to get a custom firmware on my mi10. It's my 5th xiaomi device and never experienced something like this...tried all TWRP available for the mi 10, but only by doing this way, I was able to succesfully install xiaomi.eu.
Good luck!

Categories

Resources