Related
Please help me. I can't seem to understand what exactly I need to do in order to install a custom ROM on my K20 Pro (Global 10.3.5.0.) I have tried following this (https://forum.xda-developers.com/k20...0-pro-t3953844) post thoroughly and others as well, but can't seem to exactly understand what I am required to do. Most custom ROM's state [Raphael], but as I purchased this device in India, it would most probably be [Raphaelin], after unlocking the Bootloader and installing TWRP, am I supposed to flash a Custom ROM (for ex. Lineage OS) directly or would I have to install a ROM which would make my device [Raphael]? Vendor and Firmware have gone over my head, I do not understand what I need to di. If someone could help me out, It would be mean a lot. Thank you.
Platinum_Pyth0n said:
Please help me. I can't seem to understand what exactly I need to do in order to install a custom ROM on my K20 Pro (Global 10.3.5.0.) I have tried following this (https://forum.xda-developers.com/k20...0-pro-t3953844) post thoroughly and others as well, but can't seem to exactly understand what I am required to do. Most custom ROM's state [Raphael], but as I purchased this device in India, it would most probably be [Raphaelin], after unlocking the Bootloader and installing TWRP, am I supposed to flash a Custom ROM (for ex. Lineage OS) directly or would I have to install a ROM which would make my device [Raphael]? Vendor and Firmware have gone over my head, I do not understand what I need to di. If someone could help me out, It would be mean a lot. Thank you.
Click to expand...
Click to collapse
If you're running stock MIUI and haven't moved to any custom MIUI's till date then you can straight away flash LOS. Moreover, most of the custom roms work on multiple vendors irrespective of whether it is a China Vendor or India or Global. It doesn't matter till the time the developer specifically asks you to be on a particular vendor.
Vendor isn't a dreaded thing. It's just the drivers needed to run the various components in the device (BT, WiFi etc). Till the time you don't wipe the vendor partion in twrp, you would always be good to go. You could carry on flashing custom roms w/o careing about the vendor.
Sent from my Redmi K20 Pro using Tapatalk
Sukhi said:
If you're running stock MIUI and haven't moved to any custom MIUI's till date then you can straight away flash LOS. Moreover, most of the custom roms work on multiple vendors irrespective of whether it is a China Vendor or India or Global. It doesn't matter till the time the developer specifically asks you to be on a particular vendor.
Vendor isn't a dreaded thing. It's just the drivers needed to run the various components in the device (BT, WiFi etc). Till the time you don't wipe the vendor partion in twrp, you would always be good to go. You could carry on flashing custom roms w/o careing about the vendor.
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
Thank you very much for your reply. So, just to check if I have understood correctly. I can just install TWRP and then flash Lineage OS straight away, right? I checked (https://forum.xda-developers.com/k20-pro/development/rom-lineageos-16-0-t3965311), and it mentioned:
Instructions :
Download the latest build and GApps
Reboot to recovery
Flash proper vendor and firmware
Flash the latest build and GApps
Reboot
What is "proper vendor and firmware"? And would I also be required to flash this?
Thank you.
Platinum_Pyth0n said:
Thank you very much for your reply. So, just to check if I have understood correctly. I can just install TWRP and then flash Lineage OS straight away, right? I checked (https://forum.xda-developers.com/k20-pro/development/rom-lineageos-16-0-t3965311), and it mentioned:
Instructions :
Download the latest build and GApps
Reboot to recovery
Flash proper vendor and firmware
Flash the latest build and GApps
Reboot
What is "proper vendor and firmware"? And would I also be required to flash this?
Thank you.
Click to expand...
Click to collapse
Go back to the Lineage instructions and read immediately below that. It starts P.S.
It explains exactly proper vendor and firmware means.
No you won't need to install anything for this step
Platinum_Pyth0n said:
Thank you very much for your reply. So, just to check if I have understood correctly. I can just install TWRP and then flash Lineage OS straight away, right? I checked (https://forum.xda-developers.com/k20-pro/development/rom-lineageos-16-0-t3965311), and it mentioned:
Instructions :
Download the latest build and GApps
Reboot to recovery
Flash proper vendor and firmware
Flash the latest build and GApps
Reboot
What is "proper vendor and firmware"? And would I also be required to flash this?
Thank you.
Click to expand...
Click to collapse
Nope ! You don't need to flash vendor + firmware as you already running an untouched stock MIUI build. That is for people who are coming from either modified MIUI builds (EU, Miroom etc) or custom roms with a different vendor (India device running on China Vendor)
Custom roms don't carry the Vendor Firmware files and you can only modify the existing Vendor when you move to other region stock or custom MIUI roms.
Back up your data on Internal storage to a safe place either on a PC or OTG. Skip this step if you have nothing important.
Boot In TWRP
Wipe System, Data , Cache , Dalvik
(Don't reboot at this point, Not Even a Recovery reboot)
Flash LOS
Flash GApps
Go to Advanced Wipe and Format Data by typing Yes
Reboot
Sent from my Redmi K20 Pro using Tapatalk
Sukhi said:
Nope ! You don't need to flash vendor + firmware as you already running an untouched stock MIUI build. That is for people who are coming from either modified MIUI builds (EU, Miroom etc) or custom roms with a different vendor (India device running on China Vendor)
Custom roms don't carry the Vendor Firmware files and you can only modify the existing Vendor when you move to other region stock or custom MIUI roms.
Back up your data on Internal storage to a safe place either on a PC or OTG. Skip this step if you have nothing important.
Boot In TWRP
Wipe System, Data , Cache , Dalvik
(Don't reboot at this point, Not Even a Recovery reboot)
Flash LOS
Flash GApps
Go to Advanced Wipe and Format Data by typing Yes
Reboot
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
I'm trying to install a custom rom in K20 pro raphaelin. But it is getting stucked at recovery. Then I have to install stock ROM using MIFlash. Any help on this issue?
Custom ROM is successfully flashed in TWRP.
MyNameIsAbey said:
I'm trying to install a custom rom in K20 pro raphaelin. But it is getting stucked at recovery. Then I have to install stock ROM using MIFlash. Any help on this issue?
Custom ROM is successfully flashed in TWRP.
Click to expand...
Click to collapse
Did you do FORMAT Data (not just Wipe) when you installed your custom ROM, and before rebooting?
So finally there's MIUI 11 officially announced in China. XDA recently provided the links to download recovery ROM based on MIUI 11 for certain devices here- https://www.xda-developers.com/download-miui-11-beta-now-for-13-xiaomi-devices-changelog/amp/
These ZIPs are chinese beta builds and my question as a xiaomi.eu 's ROM user is-
HOW CAN I FLASH A CHINESE BETA ROM USING TWRP WHILE CURRENTLY I'M USING XIAOMI.EU ROM?
Thanks in advance ;p
u don't. I tried them. they have anti-rollback feature. u will be stuck in them. u won't be able to flash twrp. fastboot will reject everything saying anti rollback hszghsjcklsj........ like something. I tried. my phone got bricked. but somehow fastboot was on and I unlocked bootloader then in edl mode flashed stock ROM. I must say that I was not able to access even recovery.
in short, the way to go back to using custom ROMs/recoveries are destructive and could brick ur device and u may not be able to recover it anytime soon.
So, I risked my phone and tried (that was the only option I had). Here's how to flash Chinese beta (or official MIUI) when your Xiaomi device is running unofficial MIUI like xiaomi.eu's MIUI or even a custom ROM-
Again HOW TO FLASH OFFICIAL MIUI CHINESE/GLOBAL ON A XIAOMI DEVICE THAT IS CURRENTLY ON A CUSTOM ROM
DISCLAIMER: THE BELOW MENTIONED METHOD IS WHAT WORKED IN MY CASE, I thought to help if someone needs help in this case because I didn't get any
Step 1. Make a backup of your data and wipe every partition (except Internal storage, USB OTG & SD card)
Step 2. Since MIUI has anti-rollback, you've gotta flash the recovery ROM with a lazyflasher like tool. (Lazyflasher didn't work at all in my case. So use Dm-verity disabler, Force encryption by @Zackptg5).
Note: You don't need this tool while flashing xiaomi.eu ROM or custom ROM. YOU DON'T!
Step 3. As mentioned above flash both zips and reboot to system.
I have been using custom roms for years.
I wanted to try flashing GSI images, and i decided to start with Havoc-OS-v4.4-20210503-arm64-a-Official-vanilla.img
I installed twrp-3.5.2_9-0-z2_row
I completely wiped everything, system/cache/data etc.
I flashed Havoc-OS-v4.4-20210503-arm64-a-Official-vanilla.img then NikGapps-basic-arm64-11-20210514-signed.zip.
Rebooted.
Phone is instantly resetting right after the ZUK logo goes away. stuck in boot loop. Am i doing something wrong ?
hash02 said:
I have been using custom roms for years.
I wanted to try flashing GSI images, and i decided to start with Havoc-OS-v4.4-20210503-arm64-a-Official-vanilla.img
I installed twrp-3.5.2_9-0-z2_row
I completely wiped everything, system/cache/data etc.
I flashed Havoc-OS-v4.4-20210503-arm64-a-Official-vanilla.img then NikGapps-basic-arm64-11-20210514-signed.zip.
Rebooted.
Phone is instantly resetting right after the ZUK logo goes away. stuck in boot loop. Am i doing something wrong ?
Click to expand...
Click to collapse
Can you send me the link of the thread where you saw your rom?. Pretty sure theres a tutorial in it.. You are missing some important step like flashing create vendor.zip or repartitioner.zip and some other stuff.. Give me the link...
[11][OFFICIAL] Havoc-OS 4.1 [ARM64/ARM/A64][A/AB/AB-VNDKLITE][GApps/Vanilla]
Havoc-OS 4.x is based on AOSP, inspired by Google Pixel. Has a refined Material Design 2 UI crafted by @SKULSHADY. Many useful features that will blow your mind. All you can dream of and all you'll ever need. Just flash and enjoy... General...
forum.xda-developers.com
Your question is a bit weird because this is a GSI. it's not model specific and should apply to things treble.
So it's not "my rom" it's just a gsi rom that should just work, right ? (unless i did something wrong)
Procedure was standard, clean, no dirty flashing.
Flash img, then gapps, then reboot.
I remember the instructions were for an older version of havoc, i just took the latest build because that's what you usually do ???
Regardless, this is not a HAVOC issue, I later tried with caos build caos-v307-210507-arm64-agZ.img. The exact same behavior happened.
hash02 said:
[11][OFFICIAL] Havoc-OS 4.1 [ARM64/ARM/A64][A/AB/AB-VNDKLITE][GApps/Vanilla]
Havoc-OS 4.x is based on AOSP, inspired by Google Pixel. Has a refined Material Design 2 UI crafted by @SKULSHADY. Many useful features that will blow your mind. All you can dream of and all you'll ever need. Just flash and enjoy... General...
forum.xda-developers.com
Your question is a bit weird because this is a GSI. it's not model specific and should apply to things treble.
So it's not "my rom" it's just a gsi rom that should just work, right ? (unless i did something wrong)
Procedure was standard, clean, no dirty flashing.
Flash img, then gapps, then reboot.
I remember the instructions were for an older version of havoc, i just took the latest build because that's what you usually do ???
Regardless, this is not a HAVOC issue, I later tried with caos build caos-v307-210507-arm64-agZ.img. The exact same behavior happened.
Click to expand...
Click to collapse
Redo the process and try to flash the gsi only without gaps then boot..
r
ivanjudge said:
Redo the process and try to flash the gsi only without gaps then boot.. You can check this out also maybe it will help? https://forum.xda-developers.com/t/zuk-z2-pro-project-treble-android-10-11-12-gsi-ab.4197355/
Click to expand...
Click to collapse
to flash a GSI image first you should wipe all except internal storage.
then install a Vendor ie; Basic roms like AEX, ARROW OS according to the GSI Version
if you GSI image is based on Android 10 then you should flash a android 10 rom from aex or arrow, then flash the gsi to system, then reboot
prc.kailas said:
to flash a GSI image first you should wipe all except internal storage.
then install a Vendor ie; Basic roms like AEX, ARROW OS according to the GSI Version
if you GSI image is based on Android 10 then you should flash a android 10 rom from aex or arrow, then flash the gsi to system, then reboot
Click to expand...
Click to collapse
So, the gsi flashing just copies the image-byte-by-byte to the /system partition ?
Just like dd on linux ? Blind transfer from one direction to the other ?Is this why you recommend flashing "basic roms", so that by flashing the zips all other partitions are updated accordingly ? like /vendor and so on ?Please clarify and keep it technical, i want to learn
ivanjudge said:
Redo the process and try to flash the gsi only without gaps then boot..
Click to expand...
Click to collapse
I already did
right now i am on aospextended android 11 version. since it's not a gsi image it worked. but it is unstable and i really want to try the gsi images and make it work primarily out of technical curiosity
hash02 said:
I already did
right now i am on aospextended android 11 version. since it's not a gsi image it worked. but it is unstable and i really want to try the gsi images and make it work primarily out of technical curiosity
Click to expand...
Click to collapse
Try what @hash02 said you can check the link i gave you above to view the full detail and to avoid boot loops reboot to recovery after flashing the gsi then flash the gapss then factory reset then reboot...And dont use nikgaps instead use other Gapps..
ivanjudge said:
Try what @hash02 said you can check the link i gave you above to view the full detail and to avoid boot loops reboot to recovery after flashing the gsi then flash the gapss then factory reset then reboot...And dont use nikgaps instead use other Gapps..
Click to expand...
Click to collapse
Well, Ok but where do i find android 11 opengapps ?
I didn't find any other gapps for Android 11.
However I tried your method even if it makes absolutely no sense at all. This device is a-only not a/b. Can you explain that or is that an elephant in the room that you dont want to talk about ?
In any case, the device does not bootloop anymore, it just sits in fastboot mode.
These are the steps to flash a gsi on zuk z2 pro correctly:
Wipe clean all partitions excluding user data
Then flash https://forum.xda-developers.com/t/radio-modem-basebands-for-zuk-z2-pro-only.3715835/ latest baseband
Flash boot image [ linked below - it is the boot image extracted from a mokee 9.0 rom ]
flash vendor image [ copied from another thread ]
flash gsi image [which ever you want]
reboot to recovery again [ sometimes it doesnt work unless you do ]
reboot to system
https://mega.nz/folder/E55iTZQJ#jNsa9d7WxLKr-9q_LFPS1A saved here for anyone else's convenience.
hash02 said:
So, the gsi flashing just copies the image-byte-by-byte to the /system partition ?
Just like dd on linux ? Blind transfer from one direction to the other ?Is this why you recommend flashing "basic roms", so that by flashing the zips all other partitions are updated accordingly ? like /vendor and so on ?Please clarify and keep it technical, i want to learn
Click to expand...
Click to collapse
by flashing gsi no vendor is updated or modified. because gsi's are generic rom with only system image, no other partitions. so flashing a basic rom (especially made for your device) , that will update every partition, and then replacing system by gsi system thats all.
prc.kailas said:
by flashing gsi no vendor is updated or modified. because gsi's are generic rom with only system image, no other partitions. so flashing a basic rom (especially made for your device) , that will update every partition, and then replacing system by gsi system thats all.
Click to expand...
Click to collapse
Thank you, I figured as much as I did a lot of testing trial and error and flashed lots of files yesterday. Got it working booting etc. Unfortunately the ROMs don't support fingerprint scanner out of the box and didn't bother to make it work. Just wanted something stable to use my phone. Thx
hash02 said:
superior-arm64-bvN-userdebug.img with AEX 7.3 works awesome and stable enough.
Click to expand...
Click to collapse
havoc-arm64-bvN-vndklite.img with AEX 7.3 works
hash02 said:
Thank you, I figured as much as I did a lot of testing trial and error and flashed lots of files yesterday. Got it working booting etc. Unfortunately the ROMs don't support fingerprint scanner out of the box and didn't bother to make it work. Just wanted something stable to use my phone. Thx
Click to expand...
Click to collapse
for me AEX 8.1 is awesome, but none of custom support Uhealth with Sp02 sensor. its very usefull at this time.
I was using pixel experience ROM for some time and I tried to update to the latest plus edition. The installation guide recommended full format data and flashing. I did as instructed. Now I'm stuck in booting into TWRP recovery. I looked up a few kinds of stuff and none of them worked. Is anyone else facing the same problem? has anyone got a working fix? I tried removing the TWRP folder, re-flashing TWRP with TWRP and orange fox recover, and then flashing ROM. non helped. got a broken phone now any help is appreciated.
basukala said:
I was using pixel experience ROM for some time and I tried to update to the latest plus edition. The installation guide recommended full format data and flashing. I did as instructed. Now I'm stuck in booting into TWRP recovery. I looked up a few kinds of stuff and none of them worked. Is anyone else facing the same problem? has anyone got a working fix? I tried removing the TWRP folder, re-flashing TWRP with TWRP and orange fox recover, and then flashing ROM. non helped. got a broken phone now any help is appreciated.
Click to expand...
Click to collapse
Use the correct TWRP if the rom is in A11 use A11 TWRP etc..
https://androidfilehost.com/?w=files&flid=318260
Twrp/wipe/format data write yes reboot Twrp/flash rom.
what do you mean by rom is in A11? I have redmi k20 pro raphael phone. I am using twrp for raphael code name.
basukala said:
what do you mean by rom is in A11? I have redmi k20 pro raphael phone. I am using twrp for raphael code name.
Click to expand...
Click to collapse
AOSP roms can be under ANDROID 11 or 12 or 13.
PixelExperience
Android OS version: 11.0.0_r40
The first version is in A11 and since August in A12
Version: 12
File name: PixelExperience_raphael-12.1-20220820-1826-OFFICIAL.zip
I had A12 then. I flashed pixel experience 12.1 on May 28(PixelExperience_Plus_raphael-12.1-20220528-1605-OFFICIAL.zip) and it went thru just fine. Now the updates of 8/20 bricked the phone.
After format data, I get the Readonly info screen, I swipe to allow modification, side loads the latest download PixelExperience_Plus_raphael-12.1-20220820-1448-OFFICIAL.zip, and restart, but back to TWRP recovery.
Some things I tried
0. https://wiki.pixelexperience.org/devices/raphael/install/
1. https://www.getdroidtips.com/keep-booting-twrp-recovery/
2. https://forum.xda-developers.com/t/pixelexperience-stuck-in-bootloop.4435533/ ( it's shown for beryllium but I did for Raphael code with all files related to Raphael version such has recovery and pixel exp. img file
Any other flow I can try to get it fixed ?
I'm thinking to reverting back to MIUI is nth works.
basukala said:
I had A12 then. I flashed pixel experience 12.1 on May 28(PixelExperience_Plus_raphael-12.1-20220528-1605-OFFICIAL.zip) and it went thru just fine. Now the updates of 8/20 bricked the phone.
After format data, I get the Readonly info screen, I swipe to allow modification, side loads the latest download PixelExperience_Plus_raphael-12.1-20220820-1448-OFFICIAL.zip, and restart, but back to TWRP recovery.
Some things I tried
0. https://wiki.pixelexperience.org/devices/raphael/install/
1. https://www.getdroidtips.com/keep-booting-twrp-recovery/
2. https://forum.xda-developers.com/t/pixelexperience-stuck-in-bootloop.4435533/ ( it's shown for beryllium but I did for Raphael code with all files related to Raphael version such has recovery and pixel exp. img file
Any other flow I can try to get it fixed ?
I'm thinking to reverting back to MIUI is nth works.
Click to expand...
Click to collapse
Do you use this TWRP?
twrp-3.6.2_9-0-raphael-TeamWin.imgTwrp
wipe/format data write yes reboot twrp
flash the rom
Use this O.F https://androidfilehost.com/?fid=15664248565197208249
basukala said:
I had A12 then. I flashed pixel experience 12.1 on May 28(PixelExperience_Plus_raphael-12.1-20220528-1605-OFFICIAL.zip) and it went thru just fine. Now the updates of 8/20 bricked the phone.
After format data, I get the Readonly info screen, I swipe to allow modification, side loads the latest download PixelExperience_Plus_raphael-12.1-20220820-1448-OFFICIAL.zip, and restart, but back to TWRP recovery.
Some things I tried
0. https://wiki.pixelexperience.org/devices/raphael/install/
1. https://www.getdroidtips.com/keep-booting-twrp-recovery/
2. https://forum.xda-developers.com/t/pixelexperience-stuck-in-bootloop.4435533/ ( it's shown for beryllium but I did for Raphael code with all files related to Raphael version such has recovery and pixel exp. img file
Any other flow I can try to get it fixed ?
I'm thinking to reverting back to MIUI is nth works.
NOSS8 said:
Do you use this TWRP?
twrp-3.6.2_9-0-raphael-TeamWin.imgTwrp
wipe/format data write yes reboot twrp
flash the rom
Click to expand...
Click to collapse
Wipe everything, system, vendor, internal storage, dalvik, cache via advanced wipe, then flash firmware and vendor or if your rom has included firmware then just flash the rom directly. Try to boot into OS if it still bring back to twrp then again repeat the above steps and this time flash stock vendor and firmware from mi website and try to boot into OS.
Click to expand...
Click to collapse
All the best
yes using the team win version of TWRP. Used Orange Fox recovery. ( nice look and feel and features btw). But they didn't work either. What could I try more? Could I be able to revert back to MIUI stock ROM ? let me know if you have good resources. Thank you very much for your time and efforts
basukala said:
yes using the team win version of TWRP. Used Orange Fox recovery. ( nice look and feel and features btw). But they didn't work either. What could I try more? Could I be able to revert back to MIUI stock ROM ? let me know if you have good resources. Thank you very much for your time and efforts
Click to expand...
Click to collapse
Back to MIUI
https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
flashed stock miui rom for now. Will tap into pixel rom in few days.
now that I think, I think I did a blunder, thinking I was in A12. Can you point me to A12 firmware for Redmi k 20 pro? I"m looking into https://miuirom.org/phones/xiaomi-12, but they seem to be recovery and not firmware. I'm not sure if recovery comes with firmware. As I need to format to install, will the firmware stay or not?
basukala said:
now that I think, I think I did a blunder, thinking I was in A12. Can you point me to A12 firmware for Redmi k 20 pro? I"m looking into https://miuirom.org/phones/xiaomi-12, but they seem to be recovery and not firmware. I'm not sure if recovery comes with firmware. As I need to format to install, will the firmware stay or not?
Click to expand...
Click to collapse
Xiaomi has stopped updating on Android version 11.
Which rom do you want to install?
basukala said:
now that I think, I think I did a blunder, thinking I was in A12. Can you point me to A12 firmware for Redmi k 20 pro? I"m looking into https://miuirom.org/phones/xiaomi-12, but they seem to be recovery and not firmware. I'm not sure if recovery comes with firmware. As I need to format to install, will the firmware stay or not?
Click to expand...
Click to collapse
Why bothering to manually search here and there for official ROMs
Install the app:
MIUI Downloader - Apps on Google Play
MIUI upgrade app for Mi users.
play.google.com
and the app will show you links to download the latest Global, EEA, etc, zip/recovery or tgz/fastboot, or you can scroll through the older versions and pick an older if you wish
Btw, latest are MIUI 12.5, A11 - there are no official A12 ROMs for Mi 9/Redmi K20 line of models
Even if they receive MIUI 13, it will be (for some already released, but eg China only, etc) it will be A11
Same issue, I guess this is it for me. Time to buy a new phone rather than accidentally losing data from time to time with custom ROMs. I wonder if they didn't know such issue exists before releasing it to the public.
Hello, ive been trying to download a GSI for like 3 days but it seems impossible because it keeps booting me into Odin Mode everytime. Heres the steps i did:
1. Go into Odin Mode
2. Flash TWRP
3. Format Data
4. Wipe Dalvik ,Cache, Data,System
5. Flash the Android 13 (i also tried with the LineageOS one too)
6. reboot to recovery
7. Flash Magisk
I have tried not flashing Magisk but it just puts me in infinite boot
Use older Android versions, for Android 13 you need probably fixed/updated vendor. Follow this guide.
nqnxev said:
Use older Android versions, for Android 13 you need probably fixed/updated vendor. Follow this guide.
Click to expand...
Click to collapse
What about the LineageOS GSI? will i be able to boot in it after flashing Android 9?
nqnxev said:
Use older Android versions, for Android 13 you need probably fixed/updated vendor. Follow this guide.
Click to expand...
Click to collapse
Hello, i have followed the guide and used the LineageOS new rom from the list of ROMs that was in the thread and everytime Android restarts the phone reboots, any solution?