Related
Just to clear up things: This guide is targeted for Xiaomi Redmi 4 Prime/Pro version and should successfully work fine. and Make Sure the Device has Unlock Bootloader, otherwise you Brick the Device. the Unlocking method has many Posts.
Unlocking Tutorial of Redmi 4 Prime
1-Download Xiaomi Mi Flash ToolMiFlash Tool For ADB Drivers,
2-Download Minimal ADB Tool Minimal ADB Fastboot Tool
3-Download TWRP Recovery TWRP Recovery.zip
4-Extract the TWRP.zip into the Minimal ADB Fastboot Directory i-e
HTML:
C:\Program Files (x86)\Minimal ADB and Fastboot\twrp.img
5-Power Off the Device and then Press and Hold the Volume Down Button and Power On the Device Until the Fastboot Logo appear.
6-The Open Minimal FastBoot Application and Type without Quotes.
"Fastboot Devices" it will show the connect Devices ID.
"Fastboot Oem Device-info". It will show the Device unlock Status.
"Fastboot Flash Recovery twrp.img" Flashing the Recovery.
"Fastboot boot twrp.img" To boot in TWRP.
Select Wipe and restore factory Setting from the Recovery options.
Install and then Select Zip in the recovery From the Storage.
you can Download the English ROM from the Below Link.
Miui 8 English ROM
Below is the Video Tutorial of the Above Steps
Dont forget to Press THANKS button If this post helped you
Do systemless SuperSU and Xposed work with this ROM?
Flynhx said:
Do systemless SuperSU and Xposed work with this ROM?
Click to expand...
Click to collapse
i have not check it yet but i will check it on monday, i have a paper on Sunday. so i cant check it yet. tell you on monday
SAFI_AFRIDI said:
i have not check it yet but i will check it on monday, i have a paper on Sunday. so i cant check it yet. tell you on monday
Click to expand...
Click to collapse
Okay i'll wait, thanks.
Just ordered my Redmi prime after J5 stolen, looking forward to installing CR, root and xposed, hope that's possible, found this thread, it's interesting, hope the info' helps development, just incase you guys have not seen this one.
https://forum.xda-developers.com/xposed/unofficial-xposed-miui-t3367634
SAFI_AFRIDI said:
i have not check it yet but i will check it on monday, i have a paper on Sunday. so i cant check it yet. tell you on monday
Click to expand...
Click to collapse
Any news?
Hello Can I ask Something ?
SAFI_AFRIDI said:
Just to clear up things: This guide is targeted for Xiaomi Redmi 4 Prime/Pro version and should successfully work fine. and Make Sure the Device has Unlock Bootloader, otherwise you Brick the Device. the Unlocking method has many Posts.
Unlocking Tutorial of Redmi 4 Prime
1-Download Xiaomi Mi Flash ToolMiFlash Tool For ADB Drivers,
2-Download Minimal ADB Tool Minimal ADB Fastboot Tool
3-Download TWRP Recovery TWRP Recovery.zip
4-Extract the TWRP.zip into the Minimal ADB Fastboot Directory i-e
HTML:
C:\Program Files (x86)\Minimal ADB and Fastboot\twrp.img
5-Power Off the Device and then Press and Hold the Volume Down Button and Power On the Device Until the Fastboot Logo appear.
6-The Open Minimal FastBoot Application and Type without Quotes.
"Fastboot Devices" it will show the connect Devices ID.
"Fastboot Oem Device-info". It will show the Device unlock Status.
"Fastboot Flash Recovery twrp.img" Flashing the Recovery.
"Fastboot boot twrp.img" To boot in TWRP.
Select Wipe and restore factory Setting from the Recovery options.
Install and then Select Zip in the recovery From the Storage.
you can Download the English ROM from the Below Link.
Miui 8 English ROM
Below is the Video Tutorial of the Above Steps
Dont forget to Press THANKS button If this post helped you
Click to expand...
Click to collapse
do the twrp need a different kernel? i use this on redmi 3 pro and voila boot loop... btw thanks for the method share.
Kanisius said:
do the twrp need a different kernel? i use this on redmi 3 pro and voila boot loop... btw thanks for the method share.
Click to expand...
Click to collapse
The method to install Recovery is this but You dont have to flash this recovery ! Redmi 3 Pro has its own Recovery image file Man
Flynhx said:
Any news?
Click to expand...
Click to collapse
Yes Rooting is working i check it Personally and about Xpose its Difficult. Because i dont own Redmi 4 Prime but i Try on my Friend Mobile, so he do not want to take the Risk
Does this have OTA update later ?? Or N ?
Question; does the same twrp image work on both the standard redmi 4 snapdragon 430 as the redmin 4 prime/pro which has a snapdragon 625. I own the first, standard redmi 4. The video (screenshot) shows redmi 4 but can this be confirmed?
hobie99 said:
Does this have OTA update later ?? Or N ?
Click to expand...
Click to collapse
Yes it have it but need to check it weekly basis
phagenauw said:
Question; does the same twrp image work on both the standard redmi 4 snapdragon 430 as the redmin 4 prime/pro which has a snapdragon 625. I own the first, standard redmi 4. The video (screenshot) shows redmi 4 but can this be confirmed?
Click to expand...
Click to collapse
No you cannot flash this on Redmi 4 but you can download the Redmi 4 From their Miui Site.
hobie99 said:
Does this have OTA update later ?? Or N ?
Click to expand...
Click to collapse
Try to Move to Global Version, as in my second Post you can see it and Download it. that have major language support and also OTA support too from Official Updates.
Hi, i followed your instruction on how to flash but it's always says, "cannot load". Can you help me with solution on this? tia
gryNx7 said:
Hi, i followed your instruction on how to flash but it's always says, "cannot load". Can you help me with solution on this? tia
Click to expand...
Click to collapse
please elaborate your problem properly or share screen shot so i can assist you.
SAFI_AFRIDI said:
Yes Rooting is working i check it Personally and about Xpose its Difficult. Because i dont own Redmi 4 Prime but i Try on my Friend Mobile, so he do not want to take the Risk
Click to expand...
Click to collapse
I've tried it on on another rom and used and re-used the uninstaller zip - it works perfectly.
I probably made 4-5 cycles of install + uninstall of xposed (for logs, toggles in installer etc')
thats great
ofmb said:
I've tried it on on another rom and used and re-used the uninstaller zip - it works perfectly.
I probably made 4-5 cycles of install + uninstall of xposed (for logs, toggles in installer etc')
Click to expand...
Click to collapse
let me try it out on my friend Redmi 4 Prime
SAFI_AFRIDI said:
Yes Rooting is working i check it Personally and about Xpose its Difficult. Because i dont own Redmi 4 Prime but i Try on my Friend Mobile, so he do not want to take the Risk
Click to expand...
Click to collapse
Confused, does root and xposed work on red 4 prime???
raggamuffin9999 said:
Confused, does root and xposed work on red 4 prime???
Click to expand...
Click to collapse
Yes, I use both.
So me and Phhusson spent a good part of yesterday and today trying to get the Treble GSI to boot on the OnePlus 6 but no luck.
Only got the device recognised as Qualcomm HS-USB Diagnostics 900E (COM3), no ADB so no logcat
Which means no /system boot at all, black screen after the bootloader unlocked warning.
there are some dm-verity/fec errors, but using a modified vbmeta image did not change anything
If any other dev out here has any ideas you are welcome, me and phh are out of ideas.
PS, find here stock vendor, system and boot images, plus the dump of /sys/fs/pstore
https://drive.google.com/open?id=1J_sROd5AYVmvVTOGfMBuazoVWx4bSkTe
Update 1:
The black screen and no boot issue seems to be much more widespread and it's not specific to the Treble GSI, I have seen a lot of users experiencing the same exact behaviour when flashing other images too, even some stock images from OnePlus.
No clue yet about the exact cause, waiting for more devs to join in on this.
I assume you guys have contacted 1+?
Fingers crossed they could help
Same problem here.. No idea why OP6 boots into EDL mode when You try to boot Phh GSI. I noticed that sometimes when I boot into TWRP, it freezes and boots into EDL too.
Edit: And just like Exelios said, even with stock OP6 system.img it refuses to boot and boots into EDL instead.
ProtoDeVNan0 said:
Same problem here.. No idea why OP6 boots into EDL mode when You try to boot Phh GSI. I noticed that sometimes when I boot into TWRP, it freezes and boots into EDL too.
Edit: And just like Exelios said, even with stock OP6 system.img it refuses to boot and boots into EDL instead.
Click to expand...
Click to collapse
Yeah, you might have to re-flash the entire device with fastboot -w flashall, only way I got back to stock.
https://forum.xda-developers.com/showpost.php?p=76620386&postcount=60
Interesting...who knows what kind of weird stuff OnePlus did when implementing Treble. Did you try Updating to OnePlus Android P beta and going from there?
Exelios said:
Yeah, you might have to re-flash the entire device with fastboot -w flashall, only way I got back to stock.
https://forum.xda-developers.com/showpost.php?p=76620386&postcount=60
Click to expand...
Click to collapse
Managed to get it to boot after I used those commands (Thanks for telling me though )
fastboot flash boot_a
fastboot flash boot_b
fastboot flash system_a
fastboot flash system_b
fastboot flash vendor
fastboot -w flash vbmeta
And I used latest OOS zip from OP website. Just had to extract payload etc.
My guess is that we either need a different vbmeta or ramdisk is not compatible with our OP6. I never worked on A/B so it's all new to me. But I will do some "reverse engineering" soon. I'm surprised to see OP mess up Treble though, they are very developer friendly so why did they mess it up?
ProtoDeVNan0 said:
Managed to get it to boot after I used those commands (Thanks for telling me though )
fastboot flash boot_a
fastboot flash boot_b
fastboot flash system_a
fastboot flash system_b
fastboot flash vendor
fastboot -w flash vbmeta
And I used latest OOS zip from OP website. Just had to extract payload etc.
My guess is that we either need a different vbmeta or ramdisk is not compatible with our OP6. I never worked on A/B so it's all new to me. But I will do some "reverse engineering" soon. I'm surprised to see OP mess up Treble though, they are very developer friendly so why did they mess it up?
Click to expand...
Click to collapse
What I suspect is that the software is just unfinished, not messed up.
Here is the VBMETA.img that made it possible to boot on the pixel 2 xl, but causes the OP6 not to boot at all, not even stock system.
https://drive.google.com/open?id=1ifnXCIdkqKnk_a1HII9RqQd5CVFWz1xR
Bought and shipped a OP6 to Phhusson, hopefully he manages to figure out something with the device in his hands.
Are there really no other devs interested in getting this working? Just me and Phhusson?
Little update
Different OP6 devices are failing to boot differently, some go to EDL and some in PDL, when flashed the same files in the same way.
(Emergency Download Mode
Primary Download Mode)
Sent from my OnePlus 6 using XDA Labs
Hey buddy,
Not sure if you have seen this thread:
https://forum.xda-developers.com/oneplus-6/how-to/guide-how-to-flash-treble-roms-oneplus-6-t3797858
Is this what you're talking about?
Regards,
Ravi
Sent from my OnePlus6 using XDA Labs
See, I really wish I knew how to get started learning about Android Development like this, I would love to help lol.
I've tried dabbling in Custom ROMs but I don't know enough Java to add useful features lol, and even understanding the build system is kind of hard lol.
Like where would one go to learn how to make Treble ROMs boot and fix errors like this, and just dev stuff like this in general haha.
i was able to boot flashing boot_a, boot_b, system_a, system_b, vbmeta and vendor. i didn't used any dm-verify commands....
ps: it feels really smoother and snappier.... dont know why yet..... lol.....
TURBO
TURBO2012 said:
i was able to boot flashing boot_a, boot_b, system_a, system_b, vbmeta and vendor. i didn't used any dm-verify commands....
ps: it feels really smoother and snappier.... dont know why yet..... lol.....
TURBO
Click to expand...
Click to collapse
What are you talking about? Your screenshot shows stock ROM, not any of the GSI
Exelios said:
What are you talking about? Your screenshot shows stock ROM, not any of the GSI
Click to expand...
Click to collapse
My bad.... I flashed the files in OP. Thinking those were a gsi rom. Lol... My apologies.....
this is the correct one:
TURBO
This thread is almost 3 years old but leaving this here since it is the top google search for OnePlus 6 HS-USB Diagnostics 900E hopefully my solution in the link below helps someone else in the future.
[GUIDE] Mega Unbrick Guide for A Hard Bricked OnePlus 6
Similar to the previous threads for OnePlus 5 or OnePlus 5T, here are the necessary packages to unbrick/revive a hard bricked OnePlus 6. Download: https://www.androidfilehost.com/?w=files&flid=271466 OnePlus 6_180513_氢OS线刷包.rar After using it...
forum.xda-developers.com
Rooting these is easier than some people make it out to be on other Pixel forums, so I figured I'd write up a simplified Root guide for Android 12 here as I don't see one for the 3a XL, but this does apply to all Pixel's that can upgrade to Android 12. Every other tutorial I see tells you go go through and flash Android 11 with Google Chrome, then unlock the bootloader and flash 12, then use the chrome browser flashing to disable verification. Disabling verification is 1 line of code and flashing vbmeta.img. No reason to do all that extra work when it can be done in a few minutes.
I'm not responsible for bricked devices or lost data, do this at your own risk. This tutorial is assuming your Bootloader is ALREADY UNLOCKED. If not, its fairly simple and there's tons of guides on it
This Tutorial was originally written for the Android 12 BETA. Google themselves stated to disable verification and verity with the BETA, but the official Android 12, this step MAY NOT BE NEEDED. Simply try it honestly. if it doesn't bootloop, you don't have to disable verity with vbmeta
What's needed:
- Magisk Manager (here: https://github.com/topjohnwu/Magisk/releases/)
- Fastboot ZIP from Google (here: https://developer.android.com/about/versions/12/download)
- ADB/Fastboot and Drivers installed (new installer: https://forum.xda-developers.com/t/...reborn-v2-0-adb-fastboot-and-drivers.3854109/)
- Unlocked Bootloader
Instructions
1.) Make sure your bootloader is unlocked, and USB Debugging is enabled.
Download the Fastboot ZIP from google for your device. Open it with 7Zip (or your preferred program), then open the Zip file found in that extracted in 7Zip and pull out boot.img and vbmeta.img
2.) Install Magisk Manager on Device and put the boot.img on your internal storage
3.) Use Magisk Manager to patch the Boot.img file
4.) Drag and drop the magisk-patched.img somewhere on your computer. This is the rooted boot.img
5.) Reboot device to Bootloader and first disable boot verification with the code below
-- To get vbmeta.img, you can pull it out of that Fastboot Zip from Google for Android 12. Simply open the image-xxxxx-xxxxxxx.zip and extract it from there
Code:
fastboot --disable-verity --disable-verification flash vbmeta <drag your vbmeta.img to CMD window>
6.) Once that's done, flash your patched boot image
Code:
fastboot flash boot <drag your magisk-patched.img to CMD Window>
7.) You're rooted!
Update Oct 29, 2021 added above about official android 12 vs beta android 12 (when this was originally written)
Assuming this works as it's supposed to, and my bootloader is already unlocked, will this wipe my data? (Pixel 4a)
tails618 said:
Assuming this works as it's supposed to, and my bootloader is already unlocked, will this wipe my data? (Pixel 4a)
Click to expand...
Click to collapse
Since your bootloader is unlocked, it shouldn't wipe anything
tails618 said:
Assuming this works as it's supposed to, and my bootloader is already unlocked, will this wipe my data? (Pixel 4a)
Click to expand...
Click to collapse
Hey did this work for you on Pixel 4a? I just flashed beta 4 and I haven't tried rooting yet.
Makishima said:
Hey did this work for you on Pixel 4a? I just flashed beta 4 and I haven't tried rooting yet.
Click to expand...
Click to collapse
Sorry it took so long to reply - yes, it did.
KaptinBoxxi said:
Rooting these is easier than some people make it out to be on other Pixel forums, so I figured I'd write up a simplified Root guide for Android 12 here as I don't see one for the 3a XL, but this does apply to all Pixel's that can upgrade to Android 12. Every other tutorial I see tells you go go through and flash Android 11 with Google Chrome, then unlock the bootloader and flash 12, then use the chrome browser flashing to disable verification. Disabling verification is 1 line of code and flashing vbmeta.img. No reason to do all that extra work when it can be done in a few minutes.
I'm not responsible for bricked devices or lost data, do this at your own risk. This tutorial is assuming your Bootloader is ALREADY UNLOCKED. If not, its fairly simple and there's tons of guides on it
What's needed:
- Magisk Manager (here: https://github.com/topjohnwu/Magisk/releases/)
- Fastboot ZIP from Google (here: https://developer.android.com/about/versions/12/download)
- ADB/Fastboot and Drivers installed (new installer: https://forum.xda-developers.com/t/...reborn-v2-0-adb-fastboot-and-drivers.3854109/)
- Unlocked Bootloader
Instructions
1.) Make sure your bootloader is unlocked, and USB Debugging is enabled.
Download the Fastboot ZIP from google for your device. Open it with 7Zip (or your preferred program), then open the Zip file found in that extracted in 7Zip and pull out boot.img and vbmeta.img
2.) Install Magisk Manager on Device and put the boot.img on your internal storage
3.) Use Magisk Manager to patch the Boot.img file
4.) Drag and drop the magisk-patched.img somewhere on your computer. This is the rooted boot.img
5.) Reboot device to Bootloader and first disable boot verification with the code below
Code:
fastboot --disable-verity --disable-verification flash vbmeta <drag your vbmeta.img to CMD window>
6.) Once that's done, flash your patched boot image
Code:
fastboot flash boot <drag your magisk-patched.img to CMD Window>
7.) You're rooted!
Click to expand...
Click to collapse
What you seemed to have missed the whole part about the vbmeta.img part? Where you you get that??
prot- said:
What you seemed to have missed the whole part about the vbmeta.img part? Where you you get that??
Click to expand...
Click to collapse
You get vbmeta from the Fastboot zip file in the image-xxxxxxxxx.zip that you extract. I'll add it to original post. I didn't realize I forgot
KaptinBoxxi said:
You get vbmeta from the Fastboot zip file in the image-xxxxxxxxx.zip that you extract. I'll add it to original post. I didn't realize I forgot
Click to expand...
Click to collapse
Awesome thanks!
For Android 11 I always need a custom kernel to avoid freeze cause of the systemless hosts file. Do U do the same in 12? What kernel?
prot- said:
Awesome thanks!
For Android 11 I always need a custom kernel to avoid freeze cause of the systemless hosts file. Do U do the same in 12? What kernel?
Click to expand...
Click to collapse
Honestly, when I flashed this, I didn't do anything except the vbmeta and the android 12. If its a GSI, I would think maybe a custom kernel is needed, but this isn't a GSI if you're doing it right to a pixel. My 3A XL is still running 12 just fine with root, no custom kernel
KaptinBoxxi said:
Honestly, when I flashed this, I didn't do anything except the vbmeta and the android 12. If its a GSI, I would think maybe a custom kernel is needed, but this isn't a GSI if you're doing it right to a pixel. My 3A XL is still running 12 just fine with root, no custom kernel
Click to expand...
Click to collapse
With systemless hosts enabled?
prot- said:
With systemless hosts enabled?
Click to expand...
Click to collapse
yep, enable it with every device i root
KaptinBoxxi said:
You get vbmeta from the Fastboot zip file in the image-xxxxxxxxx.zip that you extract. I'll add it to original post. I didn't realize I forgot
Click to expand...
Click to collapse
Does vbmeta.img change with each new monthly release? If so, then flashing vbmeta.img with the --disable-verity and --disable-verification flags will need to be done as part of the update process. Correct?
Can someone confirm whether disabling verity and verification is absolutely necessary on the Pixel 3? I believe this issue is specific to the 4a 5g, 5, 5a, and 6 series, and should not affect the 3/3XL/3a/4/4XL/4a.
Try this: Reflash vbmeta without the flags
Code:
fastboot flash vbmeta vbmeta.img
Leave your patched boot image alone and see if you boot. If you end up in bootloader with
failed to load/verify boot images
this confirms that disabling verity/verification is necessary.
V0latyle said:
Can someone confirm whether disabling verity and verification is absolutely necessary on the Pixel 3? I believe this issue is specific to the 4a 5g, 5, 5a, and 6 series, and should not affect the 3/3XL/3a/4/4XL/4a.
Try this: Reflash vbmeta without the flags
Code:
fastboot flash vbmeta vbmeta.img
Leave your patched boot image alone and see if you boot. If you end up in bootloader with
failed to load/verify boot images
this confirms that disabling verity/verification is necessary.
Click to expand...
Click to collapse
I've had hit or miss results to be 100% honest. I never do anything differently. I've rooted dozens upon dozens of Pixel's. Sometimes its needed, sometimes it isn't.
In this case its needed because of Android 12 BETA GSI was being used. Since Android 12 Official is out, it may not be needed
KaptinBoxxi said:
I've had hit or miss results to be 100% honest. I never do anything differently. I've rooted dozens upon dozens of Pixel's. Sometimes its needed, sometimes it isn't.
In this case its needed because of Android 12 BETA GSI was being used. Since Android 12 Official is out, it may not be needed
Click to expand...
Click to collapse
I believe this has more to do with Boot Image Header v4, not GSI. I could be wrong.
V0latyle said:
I believe this has more to do with Boot Image Header v4, not GSI. I could be wrong.
Click to expand...
Click to collapse
Well even google stated to disable it during the beta. They didn't provide avb_keys at first with the beta, which was strange which is why i said to do it on this tutorial
V0latyle said:
Can someone confirm whether disabling verity and verification is absolutely necessary on the Pixel 3? I believe this issue is specific to the 4a 5g, 5, 5a, and 6 series, and should not affect the 3/3XL/3a/4/4XL/4a.
Click to expand...
Click to collapse
I have the 3a and was able to root normally without disabling verity and flashing vbmeta.
mulperi said:
I have the 3a and was able to root normally without disabling verity and flashing vbmeta.
Click to expand...
Click to collapse
This issue only affects 765G and Tensor devices - the 4a 5g, 5, 5a, 6, and 6 Pro. All other devices are NOT affected.
Will this method work on a pixel 3a XL on Android 10
Im trying to install generic TWRP
I successfully unclocked bootleader after waiting for a week
but i ran into partitition unknown error while flashing TWRP
now its on bootloop
Any help?
what command are u using to flash the image file?
Code:
fastboot flash recovery twrp.img
give an error - FAILED (remote: '(recovery_a) No such partition')
then i tried
Code:
fastboot getvar curent-slot
give me a
then i did
Code:
fastboot flash boot_a twrp.img
see the problem is there is no supported or officol twrp fpr poco x5 pro
So i tried poco x3 twrp
try this fastboot flash boot_ab twrp.img
this device already received unofficial orange fox recovery
Recovery For Redwood
ORANGEFOX Recovery For Poco X5 Pro
www.pling.com
It may be completely off target, but how about using the slot b side?
info
-
-
Muganz said:
info
Click to expand...
Click to collapse
hey, can you link me that telegram group?
scorthyn said:
hey, can you link me that telegram group?
Click to expand...
Click to collapse
there u go..
Poco X5 Pro | Redmi Note 12 Pro Speed | Official
Poco X5 Pro OFFICIAL Community • Read rules (/rules), English only • Channel: @PocoX5ProUpdate • Photography group: @PocoX5ProPhotography • Off-Topic group: @PocoOffTopic • Customization group: @PocophoneCustomization
t.me
I already rooted it without TWRP
I never really needed TWRP
I just needd the root.
I dont want to test broken Untested roms on it yet.
I just wanted to uninstall system apps
And unlock few settings thats it
Bilalll said:
I already rooted it without TWRP
I never really needed TWRP
I just needd the root.
I dont want to test broken Untested roms on it yet.
I just wanted to uninstall system apps
And unlock few settings thats it
Click to expand...
Click to collapse
How did you root it without twrp? Just using fastboot/adb with an unlocked bootloader I assume? Thank you.
Zylam Marex said:
How did you root it without twrp? Just using fastboot/adb with an unlocked bootloader I assume? Thank you.
Click to expand...
Click to collapse
First download device original rom from the redmi website
Unlock bootloader after registering ur phone
Unlock device from developers options
Wait for 7 days
Do what is required
Download magisk
Open original rom and copy boot. Img
Open magisk and patch the copied boot. Img
reply to this post after you reach here
Bilalll said:
First download device original rom from the redmi website
Unlock bootloader after registering ur phone
Unlock device from developers options
Wait for 7 days
Do what is required
Download magisk
Open original rom and copy boot. Img
Open magisk and patch the copied boot. Img
reply to this post after you reach here
Click to expand...
Click to collapse
Oh nice, thank you for the rapid response. Unfortunately I do not yet have a X5 Pro, I'm actually waiting for custom roms to appear, ever since Xiaomi baked gestures into the stock launcher I stopped buying phones until I could custom rom. Nova Launcher is a must for me and using it without gestures feels wrong. I was just curious as to how you rooted without a custom recovery. Very interesting you are using magisk on a different device to patch the boot image in the fastboot rom, which I assume you will flash using the mi flash. Is that what's happening? Thank you.
Zylam Marex said:
Oh nice, thank you for the rapid response. Unfortunately I do not yet have a X5 Pro, I'm actually waiting for custom roms to appear, ever since Xiaomi baked gestures into the stock launcher I stopped buying phones until I could custom rom. Nova Launcher is a must for me and using it without gestures feels wrong. I was just curious as to how you rooted without a custom recovery. Very interesting you are using magisk on a different device to patch the boot image in the fastboot rom, which I assume you will flash using the mi flash. Is that what's happening? Thank you.
Click to expand...
Click to collapse
No need to flash with mi flash after u patch it with magisk.
After magisk step
U will boot into fastboot and install the patched boot. Img
U may have 2
One is for fastboot rom
2nd is for recovery rom
Depends on the rom u falshed during flashing using mi flash tool
For fastboot u will use receovey comand
For bootloader rom u will use boot command while flashing boot. Img
Hope it will help u and others
Also yeah these are the silly things I wanted to root this phone. Navigation or lockscreen wallpaper suggestions or annoying box icons etc etc
Bilalll said:
First download device original rom from the redmi website
Unlock bootloader after registering ur phone
Unlock device from developers options
Wait for 7 days
Do what is required
Download magisk
Open original rom and copy boot. Img
Open magisk and patch the copied boot. Img
reply to this post after you reach here
Click to expand...
Click to collapse
im trying to install magisk. can u help me with steps 7 and 8. i dont really know what to do there. I found Global 14.0.6.0 but there are multiple links eg. fastboot/recovery which ROM to download?
is magic hide works? i want it to pass safetynet checks.
thx
Szajkop said:
im trying to install magisk. can u help me with steps 7 and 8. i dont really know what to do there. I found Global 14.0.6.0 but there are multiple links eg. fastboot/recovery which ROM to download?
is magic hide works? i want it to pass safetynet checks.
thx
Click to expand...
Click to collapse
Install magisk apk first
Go check ur Ramdisk Status
If its Yes
Download Fastboot rom
If no
Download recovery
After downloading the above
U will find boot. Img inside
Next is just going into fastboot mood
Run fastboot receovery command if ita receovery
Or
Run fastboot boot command if its fastboot
Check the exact commands on the good
Sorry for typos or bad explaination
Bilalll said:
No need to flash with mi flash after u patch it with magisk.
After magisk step
U will boot into fastboot and install the patched boot. Img
U may have 2
One is for fastboot rom
2nd is for recovery rom
Depends on the rom u falshed during flashing using mi flash tool
For fastboot u will use receovey comand
For bootloader rom u will use boot command while flashing boot. Img
Hope it will help u and others
Also yeah these are the silly things I wanted to root this phone. Navigation or lockscreen wallpaper suggestions or annoying box icons etc etc
Click to expand...
Click to collapse
If I'm not wrong, you can do these with the debloater via usb debugging
Bilalll said:
Code:
fastboot flash recovery twrp.img
give an error - FAILED (remote: '(recovery_a) No such partition')
then i tried
Code:
fastboot getvar curent-slot
give me a
then i did
Code:
fastboot flash boot_a twrp.img
see the problem is there is no supported or officol twrp fpr poco x5 pro
So i tried poco x3 twrp
Click to expand...
Click to collapse
sir how to fix, same for me
Muganz said:
what command are u using to flash the image file?
Click to expand...
Click to collapse
sir can you help me? same for me
after done the unlock bootloader, i flash rom but the problem is i bypass the platfirm tools, i did is..
got to cmd
c: \users\karen\Downloads\fastboot flash boot c:\users\karen\Downloads\orangefox.img
after this in the youtube "how to install orange fox" i turn off and volume up
then my phone is bootloop
then i flash again twrp recovery but it says error, now my phone is always in fastboot
do you know how to fix sir
thank you 🥹🥹
Hi everyone, new custom rom for POCO C40?? I cant find any available
gsi roms are working. android 13 roms have some issues with the camera tho. 11 and 12 roms are fine according to my initial testing.
lineage android 12 https://forum.xda-developers.com/t/gsi-12-lineageos-19-x-gsi-a64b-64b.4358041/
crdroid android 11 https://forum.xda-developers.com/t/unofficial-crdroid-r-mod-crdrom11.4269719/
you can check these...
zenfone selfie said:
gsi roms are working. android 13 roms have some issues with the camera tho. 11 and 12 roms are fine according to my initial testing.
lineage android 12 https://forum.xda-developers.com/t/gsi-12-lineageos-19-x-gsi-a64b-64b.4358041/
crdroid android 11 https://forum.xda-developers.com/t/unofficial-crdroid-r-mod-crdrom11.4269719/
you can check these...
Click to expand...
Click to collapse
Thank you so much!!!
and here's a pixel experience 12.1 https://sourceforge.net/projects/meowice-gsi/files/Pixel Experience 12/
i'm still testing. 11 roms feels a bit faster but that might be placebo lol ill test today and tomorrow and choose between the two. either pixel experience plus 12.1 or crdroid11
you can find the full list here https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
there are some minor issues. like not having adaptive brightness... and screen recorder app crashes the system. but the general experience is pretty good so far.
zenfone selfie said:
and here's a pixel experience 12.1 https://sourceforge.net/projects/meowice-gsi/files/Pixel Experience 12/
i'm still testing. 11 roms feels a bit faster but that might be placebo lol ill test today and tomorrow and choose between the two. either pixel experience plus 12.1 or crdroid11
you can find the full list here https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
there are some minor issues. like not having adaptive brightness... and screen recorder app crashes the system. but the general experience is pretty good so far.
Click to expand...
Click to collapse
I want to change my stock rom of my POCO c40, which one do you recommend?
currently the stock rom has a lot of Bloatware API calls
Phantom_KNA said:
Thank you so much!!!
Click to expand...
Click to collapse
have you tried any?
mahshadows said:
I want to change my stock rom of my POCO c40, which one do you recommend?
currently the stock rom has a lot of Bloatware API calls
Click to expand...
Click to collapse
android 13 roms have a problem with the camera. makes it look green
android 12 roms can't use the screen recorder
didn't test 11 roms extensively. but screen recorder was working on it.
since screen recording is not important for the user of this device, i installed pixel experience plus 12.1
this is the most recent android 11 gsi release if you wanna try it: https://sourceforge.net/projects/meowice-gsi/files/LineageOS/
and here's the android 12.1 lineageos https://sourceforge.net/projects/andyyan-gsi/files/lineage-19.x/
i feel like pixel experience is better but you can try and compare it yourself.
i only noticed 3 issues on pe-plus so far
screen recorder as i mentioned.
status bar notification icons are bigger.
touching the fingerprint sensor while the screen is on registers random clicks on the screen. tho fp sensor works fine to unlock the phone.
and in the phh treble settings app you have to be careful, don't mess around with random settings... enabling "use alternative camera profile" option will cause a boot problem. it'll stuck on the boot animation screen and requires data wipe.
zenfone selfie said:
android 13 roms have a problem with the camera. makes it look green
android 12 roms can't use the screen recorder
didn't test 11 roms extensively. but screen recorder was working on it.
since screen recording is not important for the user of this device, i installed pixel experience plus 12.1
this is the most recent android 11 gsi release if you wanna try it: https://sourceforge.net/projects/meowice-gsi/files/LineageOS/
and here's the android 12.1 lineageos https://sourceforge.net/projects/andyyan-gsi/files/lineage-19.x/
i feel like pixel experience is better but you can try and compare it yourself.
i only noticed 3 issues on pe-plus so far
screen recorder as i mentioned.
status bar notification icons are bigger.
touching the fingerprint sensor while the screen is on registers random clicks on the screen. tho fp sensor works fine to unlock the phone.
and in the phh treble settings app you have to be careful, don't mess around with random settings... enabling "use alternative camera profile" option will cause a boot problem. it'll stuck on the boot animation screen and requires data wipe.
Click to expand...
Click to collapse
thanks,
Is this the pixel experience plus 12.1 rom? https://sourceforge.net/projects/andyyan-gsi/files/lineage-19.x/
or do you have any other link?
mahshadows said:
thanks,
Is this the pixel experience plus 12.1 rom? https://sourceforge.net/projects/andyyan-gsi/files/lineage-19.x/
or do you have any other link?
Click to expand...
Click to collapse
meowice-gsi - Browse /Pixel Experience 12 at SourceForge.net
This repo includes newly built low-maintained GSI ROM...but with the latest security patches and sources.
sourceforge.net
PixelExperience_Plus_treble_arm64_bvN-12.1-20230217-1612-meowice-gsi
zenfone selfie said:
meowice-gsi - Browse /Pixel Experience 12 at SourceForge.net
This repo includes newly built low-maintained GSI ROM...but with the latest security patches and sources.
sourceforge.net
PixelExperience_Plus_treble_arm64_bvN-12.1-20230217-1612-meowice-gsi
Click to expand...
Click to collapse
excelent, thanks!!
mahshadows said:
excelent, thanks!!
Click to expand...
Click to collapse
you unlocked the bootloader and know how to install gsi roms, right?
it's my mother's phone and she's not tech savvy, so if she had any other problems she would've told me. using as a daily driver with no issues.
her apps were being killed in the background, couldn't do any multitasking on miui. that problem is now fixed with pe plus.
zenfone selfie said:
you unlocked the bootloader and know how to install gsi roms, right?
it's my mother's phone and she's not tech savvy, so if she had any other problems she would've told me. using as a daily driver with no issues.
her apps were being killed in the background, couldn't do any multitasking on miui. that problem is now fixed with pe plus.
Click to expand...
Click to collapse
I already have the bootloader unlocked, I just need to know how to install the GSI ROMS, can you please explain it to me?
mahshadows said:
I already have the bootloader unlocked, I just need to know how to install the GSI ROMS, can you please explain it to me?
Click to expand...
Click to collapse
if the bootloader is unlocked, first i'd recommend updating to the latest official firmware.
download it from here https://xiaomifirmwareupdater.com/miui/frost/stable/V13.0.20.0.RGFMIXM/
you need the fastboot rom, 5.7gb one. extract the files to a folder, boot to fastboot mode and run flash_all.bat
boot it once and check if the rom is updated properly. your version should be V13.0.20.0.RGFMIXM now.
download platform tools https://developer.android.com/tools/releases/platform-tools and extract it to a folder.
extract the pixel experience rom, place it in the platform tools folder. extension should be .img
copy the vbmeta.img and vbmeta_system.img files from the official rom and place em in the platform tools folder.
open the cmd in the platform tools folder, boot your phone into fastboot mode again.
run these commands:
Code:
fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_b vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_system_a vbmeta_system.img
fastboot --disable-verity --disable-verification flash vbmeta_system_b vbmeta_system.img
fastboot reboot fastboot
now you should be in the "fastbootd" mode.
fastboot erase system
fastboot delete-logical-partition product_a
fastboot delete-logical-partition product_b
fastboot flash system PixelExperience_Plus_treble_arm64_bvN-12.1-20230217-1612-meowice-gsi.img
fastboot reboot recovery
then perform a factory reset from the recovery.
you can always go back to the miui by flashing the stock rom with flash_all.bat again.
@mahshadows did you install it?
zenfone selfie said:
@mahshadows did you install it?
Click to expand...
Click to collapse
I'm away from home without access to my laptop with the tools, as soon as I do, I'll confirm the result, thank you very much!
zenfone selfie said:
if the bootloader is unlocked, first i'd recommend updating to the latest official firmware.
download it from here https://xiaomifirmwareupdater.com/miui/frost/stable/V13.0.20.0.RGFMIXM/
you need the fastboot rom, 5.7gb one. extract the files to a folder, boot to fastboot mode and run flash_all.bat
boot it once and check if the rom is updated properly. your version should be V13.0.20.0.RGFMIXM now.
download platform tools https://developer.android.com/tools/releases/platform-tools and extract it to a folder.
extract the pixel experience rom, place it in the platform tools folder. extension should be .img
copy the vbmeta.img and vbmeta_system.img files from the official rom and place em in the platform tools folder.
open the cmd in the platform tools folder, boot your phone into fastboot mode again.
run these commands:
Code:
fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_b vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_system_a vbmeta_system.img
fastboot --disable-verity --disable-verification flash vbmeta_system_b vbmeta_system.img
fastboot reboot fastboot
now you should be in the "fastbootd" mode.
fastboot erase system
fastboot delete-logical-partition product_a
fastboot delete-logical-partition product_b
fastboot flash system PixelExperience_Plus_treble_arm64_bvN-12.1-20230217-1612-meowice-gsi.img
fastboot reboot recovery
then perform a factory reset from the recovery.
you can always go back to the miui by flashing the stock rom with flash_all.bat again.
Click to expand...
Click to collapse
I am trying to install it, however, when entering fastboot it does not detect it, did you have a similar problem?
mahshadows said:
I am trying to install it, however, when entering fastboot it does not detect it, did you have a similar problem?
Click to expand...
Click to collapse
probably you should manually point the driver from device manager, but how did you unlock the bootloader if you didn't fix that issue in the first place? bootloader unlocking requires fastboot as well... i'm not on my windows environment rn so can't help but its a simple thing. if u need, i can try guiding you when i'm back to windows but it might take some time.
zenfone selfie said:
probably you should manually point the driver from device manager, but how did you unlock the bootloader if you didn't fix that issue in the first place? bootloader unlocking requires fastboot as well... i'm not on my windows environment rn so can't help but its a simple thing. if u need, i can try guiding you when i'm back to windows but it might take some time.
Click to expand...
Click to collapse
I did the unlocking from another PC, I had to manually load the drivers, and I'm already loading the new software.
zenfone selfie said:
@mahshadows did you install it?
Click to expand...
Click to collapse
I am already installed and it works very well so far, thank you very much for the support!
mahshadows said:
I am already installed and it works very well so far, thank you very much for the support!
Click to expand...
Click to collapse
now in phh treble settings:
you can enable dt2w in xiaomi settings tab
and fix bluetooth audio by enabling "Force-disable A2DP offload" in misc settings.
i didn't touch other settings, as i said before, some of those settings can cause a problem and would require a factory reset from the recovery again. these 2 are safe.
also if you root the phone please tell me how it goes... i didn't try that yet but might need root to customize some stuff then unroot it back. since its my mother's phone i don't wanna give a rooted phone to her. she might accidentally grant root access to unknown apps and she's using banking apps.