[UNOFFICIAL] Install Android 10 on P20 Lite - Huawei P20 Lite Guides, News, & Discussion

So p20 lite is not getting emui 10, the kirin 659 saw 3 emui versions already, 5 8 and 9, obviously through the power of custom roms you can flash stock android 10
UNLOCK BOOTLOADER FOR FREE
1. Downgrade to emui 8 june security patch and follow this method https://forum.xda-developers.com/9-lite/how-to/unlock-bootloader-code-t3859685
2. To get emui 9 unlocking (on emui 8 vendor android 10 wont work good) follow this method https://forum.xda-developers.com/huawei-p20-lite/how-to/unlock-bootloader-free-t4054619
3. Update to emui 9
4. fastboot oem unlock TishSerg_For4pda
FLASH ANDROID 10
for pure aosp use phh quack gsi
https://forum.xda-developers.com/pr...velopment/aosp-10-0-quack-phh-treble-t3992559
Download ab gapps variant
Extract the gsi
Paste the img file in your adb fastboot directory
Fastboot -w
Fastboot flash system (android 10 name).img
After its done boot into erecovery
It will tell you to format data partiton
Do it.
Then reboot
Congrats! U have android 10 on your huawei p20 lite
NOTE: i didnt create any of this just decided to share it

thanks

did u use twrp recovery to wipe data partition or used default recovery?

how well does it work? how usable is it?

thisbearisdrunk said:
did u use twrp recovery to wipe data partition or used default recovery?
Click to expand...
Click to collapse
Defualt

Related

[GUIDE]Installing a Lineage 17.1 ROM in Redmi Note 9 (merlin)

Hi everyone!
I've been testing installing Lineage 17.1 custom ROMs on merlin, here are the steps I followed plus a LOS 17.1.
I found out that this ROM works better than MIUI and its very stable as a daily driver.
Tested on Redmi Note 9 Global (merlin) - CPU (Helio G85) - ROM/RAM: 64GB/3GB, initialy flashed over MIUI 12.0.3 Global
This are the steps I followed:
Unlock bootloader (of course)
Backup all sensitive data (it maybe lost if things go wrong)
For you in case things go wrong, also download the exact fastboot rom of the MIUI version you are using from xiaomifirmwareupdater.com (it has to be fastboot ROM becouse it contains stock recovery)
Flash a TWRP with new MIUI kernel support
Download TWRP build by wzsx15, for example
Download a modifed vbmeta.img, like the one provided in this thread
Flash like this:
Bash:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash recovery recovery.img
Test TWRP, at least verify it can mount and read /data.
Wipe data, cache and dalvik
Flash LOS 17.1 for merlin (details below), or anything you want to test
Details about provided LOS 17.1:
LineageOS 17.1 - UNOFFICIAL | A10.
Released : 11/02/'21
By @CosmoFreak001 & @chcepizze
SElinux permissive
Changelog:
• Fixed VoLTE
• Fixed Brightness bug
• Fixed all major bugs
• Fixed Double tap to wake
• Fixed Offline Charging
Download
Source (build using generic kernel for Mediatek Helio G85)
Works at least over:
MIUI 12.0.4 Global and less
MIUI 12.0.1 Indonesia and less
--------------
⚠WARNING⚠
MIUI 12.0.5 Global (and 12.0.2 Indonesia) and any higher version, would probably need a downgrade.
--------------
In case things go wrong:
TWRP dosen't work correctly and now my system can't boot
Restore stock recovery, vbmeta and boot partition
Go to fastboot
Extract recovery.img file from your stock fastboot ROM and flash it like this
Code:
fastboot flash recovery recovery.img
Reboot, if system dosen't boot, go to next step
Extract vbmeta.img file from stock fastboot ROM and flash it like this
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Reboot, if it can't boot, go to next step
Extract boot.img file from your stock fastboot ROM and flash all (recovery, vbmeta and boot partition) it like this
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash vbmeta vbmeta.img
TWRP ask's me for a passoword
It's the first PIN number of the lockscreen you set when you first run the system
My PIN doesn't work or my phone never had a PIN and still asks me for one
Maybe /data is not accesible (TWRP compatibility problem)
Try mounting /system and /vendor partition
Navigate through them and verify you can see files and folder
If TWRP is unable to mount any partition restore stock recovery partition
If TWRP can see and mount partitions other than /data:
You can format /data (you are losing ALL data including internal storage)
I don't wont to lose all my data!
Restore stock recovery
Good work, Please note that the rom does not boot on every vendor version, So include the list of the vendors working for rom, As far as I know, it has booted successfully on MIUI 12.0.3 Global and 12.0.1 Indonesia.
Communos said:
Good work, Please note that the rom does not boot on every vendor version, So include the list of the vendors working for rom, As far as I know, it has booted successfully on MIUI 12.0.3 Global and 12.0.1 Indonesia.
Click to expand...
Click to collapse
Thanks. You are right I will add those comments.
thanks for this
Hello members after a long daunting minutes ,hours and days asking for the procedures in this forum on how i can install the custom rom on the Redmi note 9 Merlin MT 6768 3GB Ram ,64GB Rom Global version MiUI 12.0.3.0 i have managed to to install the 17.1 lineage through some experiences, First thanks to the two members who have been of help namely SparXFusion and Ma269 after i have read their post on this forum. Here is what i did i was on MIUI v11.0.4.0 which i later updated to 12.0.3.0 for this to work . Below is the procedure which i have been following and i discovered that the TWRP files i downloaded works fine from v 11.0.4 to 12.0.4.0 PROCEDURE
1- Download the TWRP file from this site : https://mega.nz/file/SuZn2QqZ#jJ6xRku...
2- Download the ADB file from this site : https://androidmtk.com/download-minim..
3- Below command prompts
fastboot devices
fastboot flash recovery recovery.img
fastboot flash vbmeta vbmeta.img
fastboot flash misc misc.bin
fastboot boot recovery.img
Once boot in TWRP open Wipe/format then type yes. Then go to install to get the 17.1 lineage custom rom from internal or external storage if it was downloaded there . Then fine you are good to go
All in all i have noticed that to set the email its not working may the experts explain my observation.
Waiting to hear from some members the solution
One other question is where to get the Gapps for this rom 17.1 lineage merlin mt 6768
gruka said:
Hello members after a long daunting minutes ,hours and days asking for the procedures in this forum on how i can install the custom rom on the Redmi note 9 Merlin MT 6768 3GB Ram ,64GB Rom Global version MiUI 12.0.3.0 i have managed to to install the 17.1 lineage through some experiences, First thanks to the two members who have been of help namely SparXFusion and Ma269 after i have read their post on this forum. Here is what i did i was on MIUI v11.0.4.0 which i later updated to 12.0.3.0 for this to work . Below is the procedure which i have been following and i discovered that the TWRP files i downloaded works fine from v 11.0.4 to 12.0.4.0 PROCEDURE
1- Download the TWRP file from this site : https://mega.nz/file/SuZn2QqZ#jJ6xRku...
2- Download the ADB file from this site : https://androidmtk.com/download-minim..
3- Below command prompts
fastboot devices
fastboot flash recovery recovery.img
fastboot flash vbmeta vbmeta.img
fastboot flash misc misc.bin
fastboot boot recovery.img
Once boot in TWRP open Wipe/format then type yes. Then go to install to get the 17.1 lineage custom rom from internal or external storage if it was downloaded there . Then fine you are good to go
All in all i have noticed that to set the email its not working may the experts explain my observation.
Waiting to hear from some memmbers the solution
Click to expand...
Click to collapse
Misc.bin isn't necessary for flashing twrp,
And what do you mean by "that to set the email it's not working"?
when you put your email on the email app you never log in , and one other question is which is the best gapps for this rom 17,1 lineage merlin
gruka said:
when you put your email on the email app you never log in , and one other question is which is the best gapps for this rom 17,1 lineage merlin
Click to expand...
Click to collapse
Pico Open Gappa or flame Gapps basic, both are fine.
And it's the stock email app, I never used it, so I don't know about that.

TWRP 3.5.2_10.0 (Android 10)

Team Win Recovery Project version 3.5.2_10.0 with support dynamic partitions for OnePlus Nord N100 (Android 10 Only).
Everything works, except for:
MTP and decryption of the Data section.
You can both boot (fastboot boot twrp.img) and flash (fastboot flash recovery_a twrp.img and fastboot flash recovery_b twrp.img).
I ask you to answer about all the problems found and write either to me personally or in this topic.
any roms for this device?
Naksuhd said:
any roms for this device?
Click to expand...
Click to collapse
At the moment, only GSI firmware based on Android 10-12.
I tried to install android 11 OTA update using TWRP because android 10 do not use swap aggressively, it stops at 62 mb, the twrp started the update on slot b but the process never ended

Question XIaomi 11 lite 5g ne

How do I make a custom recovery? TWRP
Mkasmkas said:
How do I make a custom recovery? TWRP
Click to expand...
Click to collapse
I have shared a link below, follow the steps to do a custom recovery and it looks easy.
https://www.getdroidtips.com/custom-rom-xiaomi-mi-11-lite-5g/
Is OrangeFox recovery recommended for this device?
steveroysston said:
I have shared a link below, follow the steps to do a custom recovery and it looks easy.
https://www.getdroidtips.com/custom-rom-xiaomi-mi-11-lite-5g/
Click to expand...
Click to collapse
Xiaomi 11 Lite 5G NE different
Mkasmkas said:
Xiaomi 11 Lite 5G NE different
Click to expand...
Click to collapse
Yeah, it's my bad sorry for giving the wrong information. Here's the correct link,
Download & Install MIUI ROM for Xiaomi 11 Lite 5G NE - FlashXiaomi
Download & Install MIUI ROM for Xiaomi 11 Lite 5G NE that will help to upgrade or downgrade your Xiaomi smartphone for free
flashxiaomi.com
Xiaomi 11 Lite 5G NE is preparing to be introduced in the Chinese market after the 5G Global market. The launch date of the Xiaomi Mi 11 LE has been announced.
Xiaomi Mi 11 LE box and launch date is leaked! All details here - xiaomiui
Xiaomi 11 Lite 5G NE is preparing to be introduced in the Chinese market after the 5G Global market. The launch date of the Xiaomi Mi 11 LE has been announced.
xiaomiui.net
Mkasmkas said:
How do I make a custom recovery? TWRP
Click to expand...
Click to collapse
There is no TWRP for LISA, don't confuse the files for RENOIR
For this phone, the recovery LOS only works at 100x100:https://drive.google.com/file/d/1gYAVTitz5uSP5_MO4KkXdYOvPmIvC2oJ/view?usp=sharing
Mkasmkas said:
How do I make a custom recovery? TWRP
Click to expand...
Click to collapse
PitchBlack recovery for Lisa:
PitchBlack Recovery V3.1.0 for Xiaomi 11 lite 5G NE
Changelog: • Based on TWRP 3.5.2 • Source upstream • Added 60 FPS patch • Fixes issues with losing recovery when changing firmware Download https://drive.google.com/file/d/1xazL3LlPZPmzKPPiXPWS0RsasJIWAS95/view?usp=sharing
xiaomi.eu
And LOS recovery for Lisa:
https://forum.xda-developers.com/t/lisa-development.4364971/post-86270751
Mkasmkas said:
How do I make a custom recovery? TWRP
Click to expand...
Click to collapse
here is the working one
twrp_lisa.img
drive.google.com
So far, I've not been able to make a full backup with any of the available recoveries for lisa because the data partition can't be mounted. Has anyone had luck with this?
Pebs74 said:
So far, I've not been able to make a full backup with any of the available recoveries for lisa because the data partition can't be mounted. Has anyone had luck with this?
Click to expand...
Click to collapse
I had this problem (did not see the internal memory)
Try the following:
Install any SD card and boot into TWRP.
Then the phone will see both the SD card and internal memory.
WizardPhoenix said:
I had this problem (did not see the internal memory)
Try the following:
Install any SD card and boot into TWRP.
Then the phone will see both the SD card and internal memory.
Click to expand...
Click to collapse
Do you mean to say that twrp_lisa will see then Internal memory (/sdcard)?
Would it also ask for Android unlock pin/pass while booting to TWRP (to be able to decrypt Internal memory)?
Also, how do you permanently install this TWRP:
- fastboot flash recovery twrp_lisa.img
Or
- fastboot boot twrp_lisa.img
and then by flashing twrp_lisa.img to Recovery from inside the TWRP?
Ok, so I tested twrp_lisa img by temporarily booting (fastboot boot)
It asks for Android unlock pin/pass, it successfully decrypts /data but it does not show anything from Internal memory
I put external SD card and it used successfully (but it didn't help for Internal memory).
E.g., screenshots fromTW
All the rest seems to work ok
You can permanently install by following the instructions for similar A/B A11/12 devices with recovery-in-boot, like
TWRP.me, Xiaomi 11 Lite 5G (Renoir), official instructions for permanent flashing:
Xiaomi Mi 11 lite 5G
Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...
twrp.me
That is, boot temporarily to TWRP, go to Advanced and use:
- Flash current TWRP
or
- Install recovery ramdisk
My Lisa is already rooted - boot.img patched by Magisk and flashed to boot from TWRP
I wanted to see if it was possible to keep Magisk but also to install TWRP permanently
Then I temporarily booted to TWRP (fastboot boot twrp_lisa.img) and tried:
1) Advanced / Flash current TWRP:
It failed (screenshot) complaining that recovery ramdisk was modified (supposidely due to my patching the boot.img by Magisk)
2) Advanced / Install recovery ramdisk:
It flashed successfully my TWRP img file but noted me (screenshot) that root was now overwritten.
Indeed, when I booted to System, Magisk app was showing no Magisk installed and I had to flash once again my patched boot.img (with Magisk then overwriting the TWRP)
All together, TWRP can be installed permanently but cannot (easily?) have Magisk and TWRP, permanently, in parallel - since both patch the Boot

cant boot into custom recovery

I have the xiaomi redmi note 8 global version (4gb/64gb) with miui 12 and adroid 11. I have unlocked it and now i wanted to install twrp on it, but I can't. I 've tried the newest version (3.6), but also older ones and orangebox too. Some don't do anything (like the twrp 3.6), some boot on the miui recovery (like the orangebox) and some get stuck on the redmi/miui boot page. Any help?
PaulosK said:
I have the xiaomi redmi note 8 global version (4gb/64gb) with miui 12 and adroid 11. I have unlocked it and now i wanted to install twrp on it, but I can't. I 've tried the newest version (3.6), but also older ones and orangebox too. Some don't do anything (like the twrp 3.6), some boot on the miui recovery (like the orangebox) and some get stuck on the redmi/miui boot page. Any help?
Click to expand...
Click to collapse
-reboot to fastboot
-flash vbmeta using : (assuming the img is named vbmeta.img) see attached
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
-flash twrp
-reboot to recovery (NOT SYSTEM !) using vol+
-flash Ofox zip
-set : "aggresive stock recovery deactivation" in Ofox settings
-done

How To Guide K40s flash miui.eu rom

Since I am in mainland China, after seven days waiting, I unlocked my k40s finally.
Get ROM from xiaomi.eu link to thread of stable release is https://xiaomi.eu/community/threads/miui-13-stable-release.64441/
Download in sourceforge: https://sourceforge.net/projects/xi...files/xiaomi.eu/MIUI-STABLE-RELEASES/MIUIv13/
I downloaded two roms:
1. xiaomi.eu_multi_MUNCH_V13.0.7.0.SLMCNXM_v13-12-fastboot.zip
2. xiaomi.eu_multi_MUNCH_V13.0.10.0.SLMCNXM_v13-12.zip
### First one:
I use script inner zip to flash, success.
### The second one:
At first I can't boot from twrp.img after search by Google I found out that I run fastboot command in fastbootd env.
There is a ref: https://forum.xda-developers.com/t/fastboot-error-no-such-file.4483677/
I boot to fastboot (Not fastbootD) by command
Code:
adb reboot bootloader
And I can boot the twrp and flash the second rom.
The guide of flash second rom is
Code:
1. push rom to sdcard
2. adb reboot bootloader
3. fastboot boot twrp.img
4. Install rom in TWRP
5. Clear data & format
Update
This guide is for MIUI13 and maybe there's something different of current MIUI14 ROM.
Latest TWRP https://dl.akr-developers.com/?dir=skkk/TWRP/A12/v6.3_A12
BOOT VERSION A12
Installation:
Phone in fastboot mode
Cmd:
fastboot boot twrp.img
Power shell
./fastboot boot twrp.img
then in Twrp go to Advanced -> flash current TWRP
Reboot TWRP​
hello there...
i am arsh from india. i have unlocked the bootloader of my poco f4 only to flash eu rom. i have unlocked, installed twrp and then i flashed eu rom zip file. In the last step when i try to do format data, i got an error unable to mount system and it was unsuccessful. So without rebooting to system i again rebooted to twrp to perform format data and again same error appeared. later i chaged boot slot from a to b and then performed format data and then it says "no os installed". So i changed slot again to a and then i booted to system and i am able to boot into eu rom.
My Question did i perform the flash correct???
I noticed when i m using eu rom battery is draining faster than global rom...what is your opinion??
psklf said:
Since I am in mainland China, after seven days waiting, I unlocked my k40s finally.
Get ROM from xiaomi.eu link to thread of stable release is https://xiaomi.eu/community/threads/miui-13-stable-release.64441/
Download in sourceforge: https://sourceforge.net/projects/xi...files/xiaomi.eu/MIUI-STABLE-RELEASES/MIUIv13/
I downloaded two roms:
1. xiaomi.eu_multi_MUNCH_V13.0.7.0.SLMCNXM_v13-12-fastboot.zip
2. xiaomi.eu_multi_MUNCH_V13.0.10.0.SLMCNXM_v13-12.zip
### First one:
I use script inner zip to flash, success.
### The second one:
At first I can't boot from twrp.img after search by Google I found out that I run fastboot command in fastbootd env.
There is a ref: https://forum.xda-developers.com/t/fastboot-error-no-such-file.4483677/
I boot to fastboot (Not fastbootD) by command
Code:
adb reboot bootloader
And I can boot the twrp and flash the second rom.
The guide of flash second rom is
Code:
1. push rom to sdcard
2. adb reboot bootloader
3. fastboot boot twrp.img
4. Install rom in TWRP
5. Clear data & format
Click to expand...
Click to collapse
hello there...
i am arsh from india. i have unlocked the bootloader of my poco f4 only to flash eu rom. i have unlocked, installed twrp and then i flashed eu rom zip file. In the last step when i try to do format data, i got an error unable to mount system and it was unsuccessful. So without rebooting to system i again rebooted to twrp to perform format data and again same error appeared. later i chaged boot slot from a to b and then performed format data and then it says "no os installed". So i changed slot again to a and then i booted to system and i am able to boot into eu rom.
My Question did i perform the flash correct???
I noticed when i m using eu rom battery is draining faster than global rom...what is your opinion??
arsh011 said:
hello there...
i am arsh from india. i have unlocked the bootloader of my poco f4 only to flash eu rom. i have unlocked, installed twrp and then i flashed eu rom zip file. In the last step when i try to do format data, i got an error unable to mount system and it was unsuccessful. So without rebooting to system i again rebooted to twrp to perform format data and again same error appeared. later i chaged boot slot from a to b and then performed format data and then it says "no os installed". So i changed slot again to a and then i booted to system and i am able to boot into eu rom.
My Question did i perform the flash correct???
I noticed when i m using eu rom battery is draining faster than global rom...what is your opinion??
Click to expand...
Click to collapse
Which rom and TWRP?
NOSS8 said:
Which rom and TWRP?
Click to expand...
Click to collapse
Eu rom 14.0.3.0,
Twrp - twrp-3.7.0_12-0-munch
arsh011 said:
Eu rom 14.0.3.0,
Twrp - twrp-3.7.0_12-0-munch
Click to expand...
Click to collapse
Ok, which rom were you on before flashing?
NOSS8 said:
Ok, which rom were you on before flashing?
Click to expand...
Click to collapse
i was on miui global stable rom version 13.0.6
arsh011 said:
i was on miui global stable rom version 13.0.6
Click to expand...
Click to collapse
The rom you flashed is not the latest.xiaomi.eu_multi_MUNCH_V14.0.5.0.TLMCNXM_v14-13.zip
to update you must update the twrp from A12 to A13 and use the OTA.
This rom is hybrid, which means you can update it with a pc and fastboot using the update.bat script included in the extracted zip folder.
If you haven't installed all your apps, use the First install .bat file.
The procedure for a first installation with TWRP is as follows:
Twrp/format data type yes reboot Twrp(if errors ,reds lines ,start again by restarting on the Twrp at each try.
Then sideload the rom or use OTG.
Errors remaining at the end of the flash, ignore them.
Delete the lock screen security before all opérations.
NOSS8 said:
The rom you flashed is not the latest.xiaomi.eu_multi_MUNCH_V14.0.5.0.TLMCNXM_v14-13.zip
to update you must update the twrp from A12 to A13 and use the OTA.
This rom is hybrid, which means you can update it with a pc and fastboot using the update.bat script included in the extracted zip folder.
If you haven't installed all your apps, use the First install .bat file.
The procedure for a first installation with TWRP is as follows:
Twrp/format data type yes reboot Twrp(if errors ,reds lines ,start again by restarting on the Twrp at each try.
Then sideload the rom or use OTG.
Errors remaining at the end of the flash, ignore them.
Delete the lock screen security before all opérations.
Click to expand...
Click to collapse
tq for the reply. a few hours ago i updated the eu rom to latest version via twrp. for now everything is working. i would like to know some things.
1. imo the battery backup with eu rom is terrible compared to global stable rom. whats your view about that??
2. Are there any heating issues with eu rom 14 ?
3. can we revert to stock rom and lock bootloader?
arsh011 said:
tq for the reply. a few hours ago i updated the eu rom to latest version via twrp. for now everything is working. i would like to know some things.
1. imo the battery backup with eu rom is terrible compared to global stable rom. whats your view about that??
2. Are there any heating issues with eu rom 14 ?
3. can we revert to stock rom and lock bootloader?
Click to expand...
Click to collapse
Not having this device, I cannot answer the first 2 questions precisely but on my 12 pro(Xiaomi Eu rom) the switch to A13 was beneficial for both.(Have you just updated? Give the system time to optimize itself).
3/Use miflash (if you have an F4 and not a K40s).
MIFLASH[GUIDE]⚙ USE XIAOMI FLASH TOOL
FOR ALL XIAOMI BOOTLOADER MUST BE UNLOCKED https://new.c.mi.com/global/post/101245 https://en.miui.com/unlock/index.html ----------------------------------------------------------------------------------------------------------- All your data...
forum.xda-developers.com

Categories

Resources