Can you unlock bootloader with the rom 26S? - LeEco Le Pro3 Elite (Model x722) Guides, Developme

Hello, the question is very simple: does anyone who has installed the rom 26S in x722 have been able to then unlock the bootloader or install another rom?
We know that in the rom 20S with the one that comes from the factory you can unlock the bootloader and install twrp, we know you can upgrade to the 26S, we know that there are people who have upgraded to 26S, but no one who has upgraded to 26S has Commented that it was able to install another rom then, only comment that the bootloader is blocked with the 26S.
All those who have updated to 26S you have to stay with her because you can not change?
Well if someone has succeeded, it would be nice to say how he did it.
Greetings.
*** TODAY, THE ONLY WAY TO LEAVE OFFICIAL 26S IS TO INSTALL THE ROM 01D, THAT UNLOCK THE BOOTLOADER AND ALLOWS US TO INSTALL ANY OTHER ROM. ***

My phone came with 20s shoprom and the bootloader is unlocked. I checked. So I will wait for a twrp before I update to 26s. Is the x720 twrp compatible with our phone to flash?

I have not tried it, but according to the comments of this and other forums, with the 20S factory version it is easy to unlock by ADB, and it allows you to install twrp from x720 which by comment works fine.
The problem is that if you upgrade to version 26S, the bootloader can no longer be unlocked and as the recovery is changed to the stock, you can not reinstall Twrp or any other ROM (I suppose you can install another official ROM, but The only one that exists is the 26S, there is not even the 20S with which it comes from the factory)
In short, if you upgrade to version 26S, the bootloader is blocked, and you can not reinstall twrp or anything that is not official, and for the moment there is nothing more.
Greetings.

It's not like there are so many ROMs

The bootloader changes in 26s and it makes device bootloader locked.
I would suggest to stay on 20s until a workaround is available for unlocking bootloader also on 26s.

I guess anyone who already has the 26S version will have to wait. But for the one who has a hard-brick with the blocked bootloader should try to get a copy of bootloader of 20S and with some flash tool try to change it.
Also it could be that with a flash tool install the rom 26S and before restarting change the bootloader by the 20S version. In some terminals, this has worked.
Greetings.

I have a nandroid copy of 20S Shop ROM boot. I made nandroid copies of all major partitions (the same ones that have stock ROM) before installing 26S Stock. I used the TWRP of the X722 version to install the ROM. Everything worked. Then I installed the GApps and gave it some error and rebooted. Now I have the bootloader locked, it does not go into recovery mode and it does not start the system. Totally brick.
And the worst: QFIL does not work here. I have tested on different versions, different computers, different drivers and nothing. He always gives this error:
Code:
15:47:28: ERROR: function: rx_data:247 Error occurred while reading from COM port
15:47:28: ERROR: function: sahara_main:924 Sahara protocol error
15:47:28: ERROR: function: main:303 Uploading Image using Sahara protocol failed
Download Fail:Sahara Fail:QSaharaServer Fail:Process fail
And Windows emits the disconnected device sound.
Here is a detailed log using the command to send the FireHose through the CMD:
Log.txt

Does anyone have any idea what this error is? And how to solve it?

Hello DK Boneco, I can not tell you how to solve it, but I can give you an idea.
The fault is because the bootloader is locked.
Look for another tool that does not use qfil and that allows you to flash with locked bootloader. Surely there must be some.
And by the way, if you have a copy of the complete 20S version, I would try to flash this one.
Greetings.

DK Boneco said:
I used the TWRP of the X722 version to install the ROM.
Click to expand...
Click to collapse
Can you please post a link

ziaba said:
Can you please post a link
Click to expand...
Click to collapse
Hi, this thread talks about "unlock bootloader with rom 26S" not from twrp.
Anyway there is no twrp for x722 but it works for x720.
Query in twrp threads or create one in section x722 for more information.
Greetings.

F.J.V said:
The fault is because the bootloader is locked.
Click to expand...
Click to collapse
A friend who has the same smartphone with unlocked bootloader did the same process and the exact same error happened.
F.J.V said:
Look for another tool that does not use qfil and that allows you to flash with locked bootloader.
Click to expand...
Click to collapse
Do you know another method? All that I looked for, ending up using the background QFIL to get the job done.
---------- Post added at 12:34 AM ---------- Previous post was at 12:33 AM ----------
ziaba said:
Can you please post a link
Click to expand...
Click to collapse
Here's the link: https://twrp.me/devices/leecolepro3.html

DK Boneco said:
A friend who has the same smartphone with unlocked bootloader did the same process and the exact same error happened.
Click to expand...
Click to collapse
The hard brick came from gapps on top of 26s. Never flash Gapps on top of stock ROMs. Never.
The 26s firmware locked bootloader blocking the CRITICAL partition, so you must unlock it first, then unlock the bootloader.
Try this sequence, in fastboot mode:
fastboot devices
fastboot device info
- when in fastboot device info, check CRITICAL partition unlock status. if FALSE, then try
fastboot flashing unlock_critical
fastboot device info
- now CRITICAL partition unlock status should be TRUE, try unlocking
fastboot oem unlock-go
- if you succeded unlocking, check status with
fastboot device info
fastboot reboot or fastboot flash recovery twrp.img
- if you still cannot unlock, you could try flashing a different emmc_appsboot.mbn file. You can extract emmc_appsboot.mbn from x722 20s firmware or from x720 firmware.
In fastboot mode
fastboot flash aboot emmc_appsboot.mbn
- if flashing is successful
fastboot reboot
adb devices
adb reboot bootloader
fastboot oem unlock-go
- if unlock is succesful
fastboot device info
fastboot reboot or fastboot flash recovery twrp.img

Flounderist said:
The hard brick came from gapps on top of 26s. Never flash Gapps on top of stock ROMs. Never.
The 26s firmware locked bootloader blocking the CRITICAL partition, so you must unlock it first, then unlock the bootloader.
Click to expand...
Click to collapse
I tried this and several other ways to try to unlock the bootloader. I could not find a way. It does not allow flash any partition.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

DK Boneco said:
I tried this and several other ways to try to unlock the bootloader. I could not find a way. It does not allow flash any partition.
Click to expand...
Click to collapse
Would you try
fastboot format userdata
fastboot format data
fastboot reboot bootloader
fastboot device info
Check if (bootloader) is_allow_unlock: changed from 0 to 1. If it is still on 0 try
fastboot erase userdata
fastboot erase data
fastboot reboot bootloader
fastboot device info
If still on 0....try also formatting or erasing cache.
It seems that kernel does not allow any tampering attempt if value is =0, hence critical partitions are locked.

Hello DK Boneco, the error is reading the COM port.
Is the phone charged?
It appears that the phone is disconnected or exits EDL mode.
It may be a driver problem, or some phones exit EDL mode within a few seconds if the flash has not started.
Try not to take more than 4 or 5 seconds from the time the phone enters EDL until the flash starts.
You can also try the flash with MiFlash Xiaomi, say that can flash any modern phone and is quite effective, look for a manual and test.
Greetings.

DK Boneco said:
And Windows emits the disconnected device sound.
Click to expand...
Click to collapse
You may need to install drivers to your pc to recognize your, thats why it emits the disconnected device sound.

Hello DK Boneco, try these steps:
1. Method published with flashone2.0 and zip qfil.
2. When the fault appears, disconnect the USB phone.
3. Reconnect the phone in EDL mode (vol + and vol- and connect to USB)
4. Without losing time, in flashone2.0 press the "Refresh" button, select the COM port, press the "Flash" button and then "NO" (do not unzip it again).
From connecting the phone to USB until you press the "NO" button as fast as possible, without wasting time.
I hope it serves as something, what I see is that the phone goes out of EDL mode and that's why it fails.
Greetings.

To be sure to stay in EDL mode, you can type
fastboot reboot edl or fastboot reboot-edl
Be sure to install Qualcomm driver properly on PC.
Anyway it seems that QFIL is missing for X722 device. I assume that this device lacked a lot of development due to company failure, or it was developed exclusively for CN market (no google play support and locked bootloader from kernel to avoid any hacking activity).

Qfil is a Qualcomm tool for any Qualcomm smartphone, no matter brand or development.
Qfil should work for any phone with chip qualcomm, another thing is that the phone requires some specific configuration, or that the zip that is intended to flash is not correct.
Greetings.

Related

[GUIDE] How to lock unlocked/relocked bootloader (and fully restore device)

Hi all, this is my first post on the XDA. I am sorry if this is a duplicate post, but it seems that no one have posted this yet. Please beware that this method will completely erase the device, since it involves reflashing via original UPDATE.APP.
First of all, you need the bootloader unlock code. You can get it from huawei's website or DC-unlocker. Personally, I use android app DC-unlocker here on play store (it is cheaper, only 1 EUR).
Then, you need the stock ROM UPDATE.APP. If you have unlocked bootloader, chances that you also have TWRP installed. Boot to TWRP, and transfer the UPDATE.APP to the dload folder of internal storage via TWRP's built-in MTP support. Alternatively, if you don't have TWRP, you may flash the TWRP first, or copy the UPDATE.APP to an external SD card (also the same dload folder). Make sure the SD card is formatted as FAT32 (I've not tried exFAT/ext4 yet). Note that HW folder is not strictly required (optional).
After you've copied the UPDATE.APP, you must flash the stock EMUI recovery (also via fastboot). You can get it from the UPDATE.APP mentioned above using this windows software here. If you use the Huawei Update Extractor, use profile "Unknown (worstenbrood)". Then right-click, extract the RECOVERY.img (not RECOVERY2.img). You may flash the extracted RECOVERY.img via fastboot, e.g.:
Code:
fastboot flash recovery RECOVERY.img
Make sure the bootloader is in "unlocked" state.
Do a reboot via fastboot. Immediately after the "your device cannot be trusted" screen appears, hold the volume up button to enter the e-recovery. Then press shut down on the e-recovery screen.
Last step, press and hold volume up and down, along with power button. The device will start flashing the UPDATE.APP. After it's done, the device will be reverted to brand new factory state, and the bootloader state will become "locked", not relocked.
Tested and working on my VIE-L29 C636 using the B170 UPDATE.APP.
Ho, how can i check if bootloader status is locked or relocked ?
Thank you
Fil76 said:
Ho, how can i check if bootloader status is locked or relocked ?
Thank you
Click to expand...
Click to collapse
Start your phone in fastboot mode.
Sent from my HUAWEI VIE-L29 using XDA Labs
Mostar088 said:
Start your phone in fastboot mode.
Sent from my HUAWEI VIE-L29 using XDA Labs
Click to expand...
Click to collapse
thank you
Phone lock
frp unlock
Great post
Thank you
my phone enable oem unlock but FRPlock still lock ..ican't unlock bootloaderor flash everything what happen on my P9+
ccgchhun said:
my phone enable oem unlock but FRPlock still lock ..ican't unlock bootloaderor flash everything what happen on my P9+
Click to expand...
Click to collapse
First, to enable bootloader unlock, you must unlock FRP first. This can be done from developer options -> enable OEM unlock. Now, if you can't boot to the OS and have the default recovery (not TWRP) installed, you can try to factory reset the device.
If you still unable to boot, try to flash a default firmware, complete with it's HW folder, by using a TF/MicroSD card. Format your SD card as FAT32, and copy those firmware files to a folder called 'dload' on the root of the SD card. Then, insert the SD card to the device, and press these 3 buttons simultaneously : Power + Vol Up + Vol Down. Your device should begin to flash itself.
Worked.
My P9+ having issue always restart. How to 'relock' back my phone?
I check using fastboot my phone:
Phone unlocked
frp lock
mbursi said:
My P9+ having issue always restart. How to 'relock' back my phone?
I check using fastboot my phone:
Phone unlocked
frp lock
Click to expand...
Click to collapse
Flash full stock firmware and it will lock.
Sent from my VIE-L29 using XDA Labs
Mostar088 said:
Flash full stock firmware and it will lock.
Click to expand...
Click to collapse
If you have TWRP, don't forget to flash the stock recovery first (guide can be found at the top of this thread)
Mostar088 said:
Flash full stock firmware and it will lock.
Sent from my VIE-L29 using XDA Labs
Click to expand...
Click to collapse
After flash full stock it's work. My Phone lock.
But, after restart it's unlocked again.
Do you encounter this before?
HI I have relocked my device but when I do a factory reset it I get stuck in the encrytion loop (i put in my password to decrypt it says it still needs to reset) but when phone reboots after reset it says the same thing (data encryption...) any idea? thanks J
P9+
Mostar088 said:
Flash full stock firmware and it will lock.
Sent from my VIE-L29 using XDA Labs
Click to expand...
Click to collapse
After Flash stock firmware, the bootloader is lock..but, after restart it's unlock again.
Any idea?
Use three button recovery metod from shut down, and see to it that you keep all three buttons pushed until it's actually installing. But that may not be enough to get the phone 100% restored, mine didn't get totally restored until I made an update for the same rom from inside the service menu when the phone is turned on. Finally I got the "success" message and all warnings went away.
Phone locked frp lock
jnakoda said:
If you have TWRP, don't forget to flash the stock recovery first (guide can be found at the top of this thread)
Click to expand...
Click to collapse
pls i want fix my phone
PHONE LOCKED
FRP LOCK
problem: no unlock bootloader
give me this error FAILED (remote: Command not allowed)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
jnakoda said:
Hi all, this is my first post on the XDA. I am sorry if this is a duplicate post, but it seems that no one have posted this yet. Please beware that this method will completely erase the device, since it involves reflashing via original UPDATE.APP.
First of all, you need the bootloader unlock code. You can get it from huawei's website or DC-unlocker. Personally, I use android app DC-unlocker here on play store (it is cheaper, only 1 EUR).
Then, you need the stock ROM UPDATE.APP. If you have unlocked bootloader, chances that you also have TWRP installed. Boot to TWRP, and transfer the UPDATE.APP to the dload folder of internal storage via TWRP's built-in MTP support. Alternatively, if you don't have TWRP, you may flash the TWRP first, or copy the UPDATE.APP to an external SD card (also the same dload folder). Make sure the SD card is formatted as FAT32 (I've not tried exFAT/ext4 yet). Note that HW folder is not strictly required (optional).
After you've copied the UPDATE.APP, you must flash the stock EMUI recovery (also via fastboot). You can get it from the UPDATE.APP mentioned above using this windows software here. If you use the Huawei Update Extractor, use profile "Unknown (worstenbrood)". Then right-click, extract the RECOVERY.img (not RECOVERY2.img). You may flash the extracted RECOVERY.img via fastboot, e.g.:
Code:
fastboot flash recovery RECOVERY.img
Make sure the bootloader is in "unlocked" state.
Do a reboot via fastboot. Immediately after the "your device cannot be trusted" screen appears, hold the volume up button to enter the e-recovery. Then press shut down on the e-recovery screen.
Last step, press and hold volume up and down, along with power button. The device will start flashing the UPDATE.APP. After it's done, the device will be reverted to brand new factory state, and the bootloader state will become "locked", not relocked.
Tested and working on my VIE-L29 C636 using the B170 UPDATE.APP.
Click to expand...
Click to collapse
May i know how do you RECOVERY.img via fastboot?
Is it placing the RECOVERY.img file in the dload folder and then press the up+down+power button?
moony2017 said:
pls i want fix my phone
PHONE LOCKED
FRP LOCK
problem: no unlock bootloader
give me this error FAILED (remote: Command not allowed)
Click to expand...
Click to collapse
You have to do FRP unlock first. If you somehow cannot boot to the OS, try to reset user data first.
prismfire said:
Make sure the bootloader is in "unlocked" state.
Do a reboot via fastboot. Immediately after the "your device cannot be trusted" screen appears, hold the volume up button to enter the e-recovery. Then press shut down on the e-recovery screen.
Last step, press and hold volume up and down, along with power button. The device will start flashing the UPDATE.APP. After it's done, the device will be reverted to brand new factory state, and the bootloader state will become "locked", not relocked.
Tested and working on my VIE-L29 C636 using the B170 UPDATE.APP.
May i know how do you RECOVERY.img via fastboot?
Is it placing the RECOVERY.img file in the dload folder and then press the up+down+power button?
Click to expand...
Click to collapse
Just use "fastboot flash recovery recovery.img".
Hi jnakoda, thank you for this useful guide. I followed your steps and my phone is locked now, but it says FRP unlocked.
How can I lock a FRP? I need to do this because of warranty.
Thank you in advance.

Please help, possibly bricked :(

Hi all,
I have asked this on the miui forums but no one was unable to assist,
I was updating my phone to the MIUI version that contained the new Android OS, and my stupid cat pulled the cable, causing the phone to unplug during flashing procedure, big no no
Firstly the phone would would just flash red which I believe was EDL mode, so I was able to after several goes reflash the chinese variant of MIUI rom onto the phone.
it would then be stuck on the MI screen, so I reflashed again and it started to proceed with the initial setup
However every couple of seconds the phone would crash, restart, get a bit further, crash and repeat till it finished the initial setup, this is where the device is today
I managed to flash twrp to see if there was anything I could do, I noticed it was complaining that /persist was missing/unable to process, I tried to reflash /persist using the online guides available but all of them ended up as the same result of "could not be flashed to device"
My bootloader is unlocked as confirmed by offical Xiaomi unlocker tool,
so I am stuck with a phone that bootloops and has no /persist, is there any hope for this device?
I am located in Australia so sending it to a service centre will not be an easy process if I can even get the seller to do so (dx.com)
Thanks for reading
Cexitime said:
so I am stuck with a phone that bootloops and has no /persist, is there any hope for this device?
I am located in Australia so sending it to a service centre will not be an easy process if I can even get the seller to do so (dx.com)
Thanks for reading
Click to expand...
Click to collapse
Hey there, Have you tried this method:
https://forum.xda-developers.com/google-nexus-5/general/guide-to-fix-persist-partition-t2821576
Hoping that it may help you.
Cexitime said:
Hi all,
I have asked this on the miui forums but no one was unable to assist,
I was updating my phone to the MIUI version that contained the new Android OS, and my stupid cat pulled the cable, causing the phone to unplug during flashing procedure, big no no
Firstly the phone would would just flash red which I believe was EDL mode, so I was able to after several goes reflash the chinese variant of MIUI rom onto the phone.
it would then be stuck on the MI screen, so I reflashed again and it started to proceed with the initial setup
However every couple of seconds the phone would crash, restart, get a bit further, crash and repeat till it finished the initial setup, this is where the device is today
I managed to flash twrp to see if there was anything I could do, I noticed it was complaining that /persist was missing/unable to process, I tried to reflash /persist using the online guides available but all of them ended up as the same result of "could not be flashed to device"
My bootloader is unlocked as confirmed by offical Xiaomi unlocker tool,
so I am stuck with a phone that bootloops and has no /persist, is there any hope for this device?
I am located in Australia so sending it to a service centre will not be an easy process if I can even get the seller to do so (dx.com)
Thanks for reading
Click to expand...
Click to collapse
Try to flash some custom rom through custom recovery and see if it works. I think your device isnt bricked because I've done the same when I realised that clean all and lock was ticked so I just unplug the cable in the middle of the flash process and flash the ROM again. Go to recovery and wipe all Dalvik, system and cache and then flash custom ROM and gapps. After that go and flash official rom through mi flash tool from fastboot.
GabrielScott said:
Hey there, Have you tried this method:
https://forum.xda-developers.com/google-nexus-5/general/guide-to-fix-persist-partition-t2821576
Hoping that it may help you.
Click to expand...
Click to collapse
Hi, I tried the link and got the following;
C:\adb>adb shell
~ # make_ext4fs /dev/block/platform/msm_sdcc.1/by-name/persist
make_ext4fs /dev/block/platform/msm_sdcc.1/by-name/persist
open: No such file or directory
~ # e2fsck /dev/block/platform/msm_sdcc.1/by-name/persist
e2fsck /dev/block/platform/msm_sdcc.1/by-name/persist
e2fsck 1.42.9 (28-Dec-2013)
e2fsck: No such file or directory while trying to open /dev/block/platform/msm_sdcc.1/by-name/persist
Possibly non-existent device?
~ # 
bpodnar said:
Try to flash some custom rom through custom recovery and see if it works. I think your device isnt bricked because I've done the same when I realised that clean all and lock was ticked so I just unplug the cable in the middle of the flash process and flash the ROM again. Go to recovery and wipe all Dalvik, system and cache and then flash custom ROM and gapps. After that go and flash official rom through mi flash tool from fastboot.
Click to expand...
Click to collapse
I tried to install lineage OS according to their instructions and got this error during installation
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Cexitime said:
I tried to install lineage OS according to their instructions and got this error during installation
Click to expand...
Click to collapse
Error 7 issue is probably due to corrupted zip.
Redownload the ROM again.
This time, format data or wipe everything then flash.
GabrielScott said:
Error 7 issue is probably due to corrupted zip.
Redownload the ROM again.
This time, format data or wipe everything then flash.
Click to expand...
Click to collapse
I downloaded the rom again and this time it flashed, however the phone just got stuck in a boot loop till it went flat, still have the /persist error in twrp that I cannot fix utilizing the above commands,
I think shes dead jim
Cexitime said:
I downloaded the rom again and this time it flashed, however the phone just got stuck in a boot loop till it went flat, still have the /persist error in twrp that I cannot fix utilizing the above commands,
I think shes dead jim
Click to expand...
Click to collapse
Last Try , did u already tried flashing persist img from official fastboot ROM?
@_ sorry, out of ideas
So you just had corrupted persist partition, and cant mount persist partition right?
Have you tried flash persist.img from fastboot?
fastboot erase persist
fastboot flash persist persist.img
Sent from my Redmi Note 4 using Tapatalk
Someone please share persist.img file, the one present in fastboot file is low in size, & after flashing that file it keeps on rebooting.
I had to flash sensorfix file that comes with coloros to restore it to normal, & again this creates a new problem "this device associated with another mi account".
Hii tired to do that in twrp as well, however when selecting the persist.img the /persist isn't a selectable option in twrp
arshy said:
So you just had corrupted persist partition, and cant mount persist partition right?
Have you tried flash persist.img from fastboot?
fastboot erase persist
fastboot flash persist persist.img
Click to expand...
Click to collapse
Hi,
Tried that as well, it comes up with the error in one of my replies
Try this way:
first go here and download "Redmi Note 4X ( (3GB+32GB) Latest China Developer Version Fastboot File Download";
then follow this guide but only the PART II (the guide is for locked bootloader, but it doesn't matter on our case, because on mido you must have an unlocked bootloader to enter EDL).
The guide will modify some text file to flash only the persist.img, but if need you can flash all the firmware's files (but remember to insert the "persist.img" in the bat file, because it's not present by default). You will got a Chinese language phone (I don't know if English is present) but you can test if everything works and then re-flash a Global ROM or a custom ROM.
The summary of the procedure is flashing the China Developer ROM (including the persist.img) with MiFlash when the phone is in EDL mode (RN4 can be put in EDL mode with this tool but only if bootloader is unlocked).
Let us know if this works for you.
I can help may be.... Read my post .... We can reflash stock ROM with all partitions and stuff(I know how to edl RN4) I believe it will work for sure..
i have tried all the methods both locked as well as unlocked bootloader methods but for me none works. i have no persist file and it wont get flashed with miflash.
Cexitime said:
Hi all,
I have asked this on the miui forums but no one was unable to assist,
I was updating my phone to the MIUI version that contained the new Android OS, and my stupid cat pulled the cable, causing the phone to unplug during flashing procedure, big no no
Firstly the phone would would just flash red which I believe was EDL mode, so I was able to after several goes reflash the chinese variant of MIUI rom onto the phone.
it would then be stuck on the MI screen, so I reflashed again and it started to proceed with the initial setup
However every couple of seconds the phone would crash, restart, get a bit further, crash and repeat till it finished the initial setup, this is where the device is today
I managed to flash twrp to see if there was anything I could do, I noticed it was complaining that /persist was missing/unable to process, I tried to reflash /persist using the online guides available but all of them ended up as the same result of "could not be flashed to device"
My bootloader is unlocked as confirmed by offical Xiaomi unlocker tool,
so I am stuck with a phone that bootloops and has no /persist, is there any hope for this device?
I am located in Australia so sending it to a service centre will not be an easy process if I can even get the seller to do so (dx.com)
Thanks for reading
Click to expand...
Click to collapse
http://bigota.d.miui.com/V8.1.10.0....DI_20161228.0000.00_6.0_global_7557bfe334.tgz
Flash this file via fastboot, if you are getting reboots.
arshy said:
So you just had corrupted persist partition, and cant mount persist partition right?
Have you tried flash persist.img from fastboot?
fastboot erase persist
fastboot flash persist persist.img
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
t only says C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase persist
erasing 'persist'...
FAILED (remote: Error: This image isn't allow download
)
finished. total time: 0.033s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash persist persist.i
mg
target reported max download size of 536870912 bytes
sending 'persist' (4716 KB)...
OKAY [ 0.162s]
writing 'persist'...
FAILED (remote: Error: This image isn't allow download
)
finished. total time: 0.194s
C:\Program Files (x86)\Minimal ADB and Fastboot>
I think that means this isn't working.
BubuXP said:
Try this way:
first go here and download "Redmi Note 4X ( (3GB+32GB) Latest China Developer Version Fastboot File Download";
then follow this guide but only the PART II (the guide is for locked bootloader, but it doesn't matter on our case, because on mido you must have an unlocked bootloader to enter EDL).
The guide will modify some text file to flash only the persist.img, but if need you can flash all the firmware's files (but remember to insert the "persist.img" in the bat file, because it's not present by default). You will got a Chinese language phone (I don't know if English is present) but you can test if everything works and then re-flash a Global ROM or a custom ROM.
The summary of the procedure is flashing the China Developer ROM (including the persist.img) with MiFlash when the phone is in EDL mode (RN4 can be put in EDL mode with this tool but only if bootloader is unlocked).
Let us know if this works for you.
Click to expand...
Click to collapse
Hello. I have a Redmi Note 4 Snapdragon with the Bootloader unlocked because I bought it used and I have an account lock that prevent me to use it (it is like a bricked phone because the vendor doesn't know about the MI account and xiaomi cannot unbind the device from the MI account because I have not the registration email neither invoce of purchase).
Searching a way to avoid the lock of the MI account I am trying to flash persist.img because I read that the data of this account is saved in this partition.
- I downloaded the mido_global_images_8.12.20_20181220.0000.00_7.0_global_3947ba5143.tgz
- I modified the flash_factory.bat in order to add the line 28:
Code:
fastboot %* flash persist %~dp0images\persist.img || @echo "Flash persist error" && exit /B 1
- I modified rawprogram0.xml in order to add the "persist.img" in line
Code:
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="persist.img" label="persist" num_partition_sectors="65536" physical_partition_number="0" size_in_KB="32768.0" sparse="true" start_byte_hex="0xf4000000" start_sector="7995392"/>
- I entered in EDL using the test points, flashed with MiFlash20191206 and it says "flashSuccess" (attached is the log of the MIFlash)
But when the new ROM starts and connects to the internet, the MI account lock appears again. Then I have a device that cannot be used when connects to internet.
I have read in some threads that persist partition cannot be flashed in EDL mode with the unlocked Bootloader but it seems that I can do it (not in FastBooot that says explicitly that this partition cannot be flashed).
I have flashed the persist image that comes with the original ROM but I haven't tried with the ones that users upload in order to avoid another conflict of MI Accounts.
I have another Redmi Note 4 working with the unlocked BL, TWRP and LineageOS 16. I tried to make a backup of persist from TWRP in order to flash it in the locked device but it says that the partition uses 0 MB and the persist.ext4.win file has 473 KB that makes me think I am not doing it right.
Please, let me know what you think. Am I in the right way?
Thanks

Installing the OTA update 11.5.141 via TWRP (with gdrive uploaded update zip)

Obs: these were the steps that i did to get it, try it by your own risk
----------------------update------------------------
Some people are saying that can't get the 11.1.021 via ota from zui10, but I got the information that this version of qfil 11.1.021 is getting ota to the 11.5, so you should try it just changing the files in the tutorial of step 1 and if don't get the ota, jump to the step 3
-------------------------------------------------------
I did the first part with my bootloader locked, and just got it working this way. I tried to qfil directly the 11.1.021 or use the version updated with the bootloader unlocked but i got error 7 later.
To start, you will need adb and fastboot, and you can get them from here
1- Qfil the zui 10 version from this tutorial
2- Set up a pin (it will be important) and update the zui to version 11.1.021 (right after you install the zui 10 it will pop the update, if not you can use the zui update app)
3- Now that you have 11.1.021 from ota you have to go to fastboot mode (adb reboot bootloader) and unlock your bootloader, if you do this on zui 10 or zui 11.5 you will got on bootloop and have to start all again (tutorial <- you can use this to lock your bootloader for start the proccess too)
4- Go again to bootloader and use fastboot flash recovery twrp.img (download twrp)
5- From fastboot mode, press volume down repeatly until you see "Recovery mode" then press power button, the phone will reboot twice and enter in twrp, you will need to put the pin set on step 2
6- Pass this update zip to your phone from the PC then select it on "install" section and swipe to flash (this was the step where i got error 7 with qfil version of 11.1.021, if you got this, the only solution i know is start all over again owith qfil zui 10)
7- After flash is done, go back to the home page of twrp, select "wipe" and mark "dalvik", "cache" and "data" then reboot system
Your phone will be on bootloop and this is the part that i discover after 2 days trying
8- Turn off your phone and turn it back pressing the power button and the volume down to enter in fastboot mode, you will see on last line that your bootloader will be locked again, and this is the cause of bootloop
9- Use the commands to unlock bootloader again (fastboot flash unlock your_unlock_img.img and fastboot oem unlock-go)
Your phone will boot and reboot in twrp that will do an automatic process, than will reboot again in ZUI 11.5.141 (may take some minutes)
Obs²: After this proccess, if you want to use TWRP to install a rom or something, you will need to flash it again
when I try to install just I got error 7 for everstep :S how can I solve it ?
brujaboy said:
when I try to install just I got error 7 for everstep :S how can I solve it ?
Click to expand...
Click to collapse
Did you try it from qfil the zui 10 with the locked bootloader?
Because i got this error when i ota updated from 10 to 11.1.021 with the bootloader unlocked
Astronomico said:
Did you try it from qfil the zui 10 with the locked bootloader?
Because i got this error when i ota updated from 10 to 11.1.021 with the bootloader unlocked
Click to expand...
Click to collapse
yes I did my friend I installed zui10 with QFIL after that I ınstalled 11.0.21 with twrp and when I try to install 11.5 I got error 7, I did edit with notepad++ but still have this problem
brujaboy said:
yes I did my friend I installed zui10 with QFIL after that I ınstalled 11.0.21 with twrp and when I try to install 11.5 I got error 7, I did edit with notepad++ but still have this problem
Click to expand...
Click to collapse
I think the problem is with the version you're installing in TWRP , after qfil zui10, wait for the OTA for 11.1.021 of the app zui update, it seems to exist some versions of 11.1.021 and the TWRP version is not the same of the OTA
The version of 11.1.021 that i've got by OTA with my bootloader already unlocked on zui10 got error 7 too, just the version i've got with the bootloader locked worked
Astronomico said:
I think the problem is with the version you're installing in TWRP , after qfil zui10, wait for the OTA for 11.1.021 of the app zui update, it seems to exist some versions of 11.1.021 and the TWRP version is not the same of the OTA
The version of 11.1.021 that i've got by OTA with my bootloader already unlocked on zui10 got error 7 too, just the version i've got with the bootloader locked worked
Click to expand...
Click to collapse
we need wait thank u bro
Microsoft Windows [Version 10.0.18362.657]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\Minimal ADB and Fastboot> adb reboot bootloader
error: no devices/emulators found
C:\Program Files (x86)\Minimal ADB and Fastboot>
Click to expand...
Click to collapse
Fixed
this is whilest in fastboot.. ^^
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
View attachment 4951729
it pushes a command when phone was on but when in fastboot / bootloader nothing ? any ideas?
Fixed
every time i push recovery img twrp via ADB it gets bootloader loop
leerh said:
every time i push recovery img twrp via ADB it gets bootloader loop
Click to expand...
Click to collapse
That's weird, i've uploaded the same img i used on mine smartphone, it reboot twice, but starts after in my case, i just got bootloop after unlock the bootloader, but never after flash the twrp...
Try to turn your phone on holding the vol down button to enter in fastboot and check if it's really unlocked, since you flashed the twrp, you will need it
Btw, try to use the files of this tutorial
Astronomico said:
That's weird, i've uploaded the same img i used on mine smartphone, it reboot twice, but starts after in my case, i just got bootloop after unlock the bootloader, but never after flash the twrp...
Try to turn your phone on holding the vol down button to enter in fastboot and check if it's really unlocked, since you flashed the twrp, you will need it
Btw, try to use the files of this tutorial
Click to expand...
Click to collapse
yhyh it says device is unlocked ive used unlock image from lenovo site to unlock it.
im currently on 11.1.021 st cant install twrp affter installing keeps booting to bootloader (unlocked) from here i will need to use qfill to get stock firmware 10.5.304 cn version stock recovery still works
ive also tried on ZUI_10.5.304 same thing
qill emergency flash dose not lock bootloader for me? well i cant twrps anymore makes me feel its step away from total brick
do i need to lock it then qfill then 11.1.021st via OTA then unlock it
I've Just googled It and i found that flash magisk could repair the twrp bootloop, because magisk changes the boot.img that is the cause of the problem
You can download It on magiskmanager site, put it on your phone, than use twrp install session to flash it
And Qfil doesn't Lock your bootloader
Astronomico said:
I've Just googled It and i found that flash magisk could repair the twrp bootloop, because magisk changes the boot.img that is the cause of the problem
You can download It on magiskmanager site, put it on your phone, than use twrp install session to flash it
And Qfil doesn't Lock your bootloader
Click to expand...
Click to collapse
thanks for looking into it for me and i will try this out now and let you know the results done.
this a fresh from factory flash so there is no magisk modules. can you post the links to the information you found.. i cant flash any files affter installing twrps which is successful the via ADB but affter the reboot or trying twrps or access phone or recovery will bootloop my phone to go into fast boot every single time...
can i install twrps on 10.304 and 11.021 both are offical cn roms? device has to be unlocked right which it is? is there any place i can get stock recovry image?
i wanna try= fastboot flash boot_a stockboot.img=fastboot flash boot_b stockboot.img
but i dont think i should as qfil provides stock factory flash? means its fully fresh?
leerh said:
thanks for looking into it for me and i will try this out now and let you know the results done.
this a fresh from factory flash so there is no magisk modules. can you post the links to the information you found.. i cant flash any files affter installing twrps which is successful the via ADB but affter the reboot or trying twrps or access phone or recovery will bootloop my phone to go into fast boot every single time...
can i install twrps on 10.304 and 11.021 both are offical cn roms? device has to be unlocked right which it is? is there any place i can get stock recovry image?
i wanna try= fastboot flash boot_a stockboot.img=fastboot flash boot_b stockboot.img
but i dont think i should as qfil provides stock factory flash? means its fully fresh?
Click to expand...
Click to collapse
Oh, i thought you could access the twrp after install it, sorry
The tutorial on step 1 provides the official cn rom zui10, if you use it, your phone will probably boot normally.
I think you should lock your bootloader and use the official, you will have the updates via OTA, since you can't use TWRP, I think it will be the best for you, I don't know how help you more :/
I have a request anyone can share with my twrp back up clear update without data like zip file because I have problem with my QFIL and when I try to install zui 10.5 give me sahara error and I thought about this option
brujaboy said:
I have a request anyone can share with my twrp back up clear update without data like zip file because I have problem with my QFIL and when I try to install zui 10.5 give me sahara error and I thought about this option
Click to expand...
Click to collapse
Sorry, i didn't see it, but saraha error is probably caused because wrong version of USB drivers in your PC, or you're being too slow to press "download content" on qfil after plug the phone (I don't know exactly why, but you have to click it fairly fast)
Astronomico said:
Sorry, i didn't see it, but saraha error is probably caused because wrong version of USB drivers in your PC, or you're being too slow to press "download content" on qfil after plug the phone (I don't know exactly why, but you have to click it fairly fast)
Click to expand...
Click to collapse
doesn't matter, thank u so much for replying yesterday I installed all of driver versions but I saw still again and I find another method like pushing very fast download click button and I did successfully 11.1.021 thank u so much again for supporting
Astronomico said:
Obs: these were the steps that i did to get it, try it by your own risk
I did the first part with my bootloader locked, and just got it working this way. I tried to qfil directly the 11.1.021 or use the version updated with the bootloader unlocked but i got error 7 later.
To start, you will need adb and fastboot, and you can get them from here
1- Qfil the zui 10 version from this tutorial
2- Set up a pin (it will be important) and update the zui to version 11.1.021 (right after you install the zui 10 it will pop the update, if not you can use the zui update app)
3- Now that you have 11.1.021 from ota you have to go to fastboot mode (adb reboot bootloader) and unlock your bootloader, if you do this on zui 10 or zui 11.5 you will got on bootloop and have to start all again (tutorial <- you can use this to lock your bootloader for start the proccess too)
4- Go again to bootloader and use fastboot flash recovery twrp.img (download twrp)
5- From fastboot mode, press volume down repeatly until you see "Recovery mode" then press power button, the phone will reboot twice and enter in twrp, you will need to put the pin set on step 2
6- Pass this update zip to your phone from the PC then select it on "install" section and swipe to flash (this was the step where i got error 7 with qfil version of 11.1.021, if you got this, the only solution i know is start all over again owith qfil zui 10)
7- After flash is done, go back to the home page of twrp, select "wipe" and mark "dalvik", "cache" and "data" then reboot system
Your phone will be on bootloop and this is the part that i discover after 2 days trying
8- Turn off your phone and turn it back pressing the power button and the volume down to enter in fastboot mode, you will see on last line that your bootloader will be locked again, and this is the cause of bootloop
9- Use the commands to unlock bootloader again (fastboot flash unlock your_unlock_img.img and fastboot oem-unlock go)
Your phone will boot and reboot in twrp that will do an automatic process, than will reboot again in ZUI 11.5.141 (may take some minutes)
Obs²: After this proccess, if you want to use TWRP to install a rom or something, you will need to flash it again
Click to expand...
Click to collapse
Hi bro. I see a little error in your command: The second command in the 9th step is wrong, the correct command is: "fastboot oem unlock-go".
Greetings.
leerh said:
yhyh it says device is unlocked ive used unlock image from lenovo site to unlock it.
im currently on 11.1.021 st cant install twrp affter installing keeps booting to bootloader (unlocked) from here i will need to use qfill to get stock firmware 10.5.304 cn version stock recovery still works
ive also tried on ZUI_10.5.304 same thing
qill emergency flash dose not lock bootloader for me? well i cant twrps anymore makes me feel its step away from total brick
do i need to lock it then qfill then 11.1.021st via OTA then unlock it
Click to expand...
Click to collapse
i got step 1,2,3,4,5 and 6, got an error #7.
so i used the tutorial to flash the device in step 1
it was unable to update cuz bootloader was unlock
i locked bootloader and update to 11.1.021
so afther that, i unlocked again to install twrp.
intalled twrp and transfer file to phone
booted twrp and installed the zip, got the error 7 again.
lipeneiva said:
i got step 1,2,3,4,5 and 6, got an error #7.
so i used the tutorial to flash the device in step 1
it was unable to update cuz bootloader was unlock
i locked bootloader and update to 11.1.021
so afther that, i unlocked again to install twrp.
intalled twrp and transfer file to phone
booted twrp and installed the zip, got the error 7 again.
Click to expand...
Click to collapse
best thing is to try again an follow every letter and step this only way to install 11.5 (beta) did u set a pin it is needed ive not seen another guide to install android 10
Lombachita said:
Hi bro. I see a little error in your command: The second command in the 9th step is wrong, the correct command is: "fastboot oem unlock-go".
Greetings.
Click to expand...
Click to collapse
Ops, fixed

How To Guide [Chinese Version] Install RMX3301 Global stock firmware from Chinese

Disclaimer: I am not responsible for bricked devices, dead SD cards, etc!
Warning: This procedure didn't work for some! Please test at your own risks!
Additional warning: do not relock your bootloader once your global rom is installed. You risk bricking your device.
1. Make sure your bootloader is unlocked
2. Download the images provided in the link below
3. Boot your device to recovery (hold volume up and power until reboot)
4. Wipe data
5. Boot your device to bootloader (hold volume down and power until reboot)
6. Connect your device to PC (make sure you have installed fastboot on your PC)
7. From windows command prompt cd into the folder containing the images
8. Install rooted or not boot image
Code:
fastboot flash boot boot.img
OR
Code:
fastboot flash boot boot_magisk.img
9. Run the following commands to flash all other images
Code:
fastboot flash dtbo dtbo.img
fastboot flash engineering_cdt engineering_cdt.img
fastboot flash metadata metadata.img
fastboot flash oplusreserve2 oplusreserve2.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
fastboot flash super super.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash userdata userdata.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot -w
When flashing super.img, if you get the message Invalid sparse file format at header magic, this is fine.
9. You should then be able to boot into system
RMX3301 Stock files: https://drive.google.com/drive/folders/1-0pNU8DMhzQJjdIMYM_khqA5ASGqWatg
Mirror: https://mega.nz/folder/kw8w1QYR#Uro0gLle8Yr5uRZrqoyByg
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Can anyone confirm this worked for them?
Great post. What is the Widevine level after installing the global rom? Furthrmore, does SafetyNet pass and do OTA updates work?
logmms said:
Great post. What is the Widevine level after installing the global rom? Furthrmore, does SafetyNet pass and do OTA updates work?
Click to expand...
Click to collapse
Google pay works, safetynet passes with Magisk module (probably good if you unroot and relock the bootloader but then you'll be stuck until realme unlocks the RMX3301).
but level 3 widevine unfortunately. Also some apps do detect that bootloader is unlock even with safetynet module.
Came here to say that this is working! Got my chinese version today and wanted to give it a try right away.
If this command takes a lot of time and seems like the console froze, don't panic!
Code:
fastboot flash vbmeta_vendor vbmeta_vendor.img
Almost every command took like 20 seconds, this one took almost 200, but it finishes eventually.
Also, you may end up stuck on a bootloop. But there's an easy fix, as myogui said on another thread:
Enter recovery mode, wipe data. Enter fastboot and then run the last 2 commands again:
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot -w
Now everything's working, and have been running the global rom all day flawlessly!
Does anyone know how to solve the bootloop problem? I tried the last 2 comands, Wipe Data, last 2 comands again... Flashing everything again... Nothing...
Any help would be very apreciate. Thanks.
UPDATE: It's working now.. lol... I tried flashing back to the Chinese version from myogui, still in bootloop.. Then I execute the comand "fastboot flash vbmeta vbmeta.img", bootloop... Then a tons of research... Then I downloaded a RMX3301 17.5GB .ofp file to try flashing from realme Flash Tool... Then I go to sleep... Then I woke up and just go to PC to fix this thing, but realme Tool didn't work, the Flash Tool said "CANNOT FIND CENTRAL DIRECTORY".... Then I just tried flashing here again with the files and comands above... what the hell, I'm screwed anyway... But this time worked.... LOL...
Big thanks guys!
Trying to lock again the bootloader... and then a message appears saying the flash was broken or something... now I can't even turn this thing off... Just keep flashing "realme Powered by android" screen rebooting again and again and again...
Oh my... to good to be true...
Tip: Just buy the global version.
No luck. Have tried all combinations of solutions and still stuck in bootloop. Have flashed it fresh 8 times and no luck. Also tried the last two commands above and no luck. And can't use OFP method as realme tool not updated for Gt 2 Pro
if you're stuck in bootloop try making sure you have the latest version of sdk platform tools, 33.0.1 worked for me.
try running the commands in this order
Code:
fastboot flash boot boot_magisk.img
fastboot flash dtbo dtbo.img
fastboot flash engineering_cdt engineering_cdt.img
fastboot flash metadata metadata.img
fastboot flash oplusreserve2 oplusreserve2.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
fastboot flash super super.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash userdata userdata.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot -w
fastboot flash boot boot_magisk.img
then on your phone hit power button with start selected
Would relocking the bootloader after flashing the global brick me?
You would need to install Chinese rom again using another method of installation or wait for deep testing app to be available on global. But you could still use your device with the global version.
Bnblare said:
Would relocking the bootloader after flashing the global brick me?
Click to expand...
Click to collapse
Mine bricked, now it's hard brick... The closest that I got it to back to life was with QFIL, but something keep giving errors when I try to flash... Now I'm gonna try the MSM... If doesn't work maybe I'm gonna return the phone... Or wait until realme release a useful flash tool... Who knows...
I do not recomend locking back the phone based on my experience.
hacls said:
Mine bricked, now it's hard brick... The closest that I got it to back to life was with QFIL, but something keep giving errors when I try to flash... Now I'm gonna try the MSM... If doesn't work maybe I'm gonna return the phone... Or wait until realme release a useful flash tool... Who knows...
I do not recomend locking back the phone based on my experience.
Click to expand...
Click to collapse
Wow dude I'm sorry. Did you revert back to stock then try to relock the bootloader? Or did you try to relock while on the global?
myogui said:
You would need to install Chinese rom again using another method of installation or wait for deep testing app to be available on global. But you could still use your device with the global version.
Click to expand...
Click to collapse
Man.. I just wanna play call of duty again lol but it knows even tho my safetynet passes. the app can probably see it's L3 still. I guess I'll wait for realme to release the tool for this phone. I'm pretty sure flashing back to stock using the tool would safely lock the bootloader automatically
Bnblare said:
Wow dude I'm sorry. Did you revert back to stock then try to relock the bootloader? Or did you try to relock while on the global?
Click to expand...
Click to collapse
I tried to lock with the global ROM in it... Then this screen appears...
This photo are not mine, but it's the same screen... After that... Only in EDL mode...
hacls said:
I tried to lock with the global version... Then this screen appears...
View attachment 5591427
This photo are not mine, but it's the same screen... After that... Only in EDL mode...
Click to expand...
Click to collapse
your stuck with no fastboot and corrupted partitions. your gonna have to wait for someone to come out with a UnbrickMe zip or something. does adb recognize the phone?
hacls said:
I tried to lock with the global version... Then this screen appears...
View attachment 5591427
This photo are not mine, but it's the same screen... After that... Only in EDL mode...
Click to expand...
Click to collapse
Very sorry for you mate! I updated the OP to warn about this.
Bnblare said:
your stuck with no fastboot and corrupted partitions. your gonna have to wait for someone to come out with a UnbrickMe zip or something. does adb recognize the phone?
Click to expand...
Click to collapse
ADB doesn't recognize, like I said, for now on only in EDL mode.
Well, I gave up and paid a guy to flash via TeamViewer... And as I imagined... With MSM Download Tool was five clicks and it's done... Ridiculous easy... MSM would be a amazing tool if it were accessible... Unfreaking believable... Oh my...
But, anyway, it's solved. Thanks guys.

How To Guide Root for Realme GT2 Pro Global variant (RMX3301_11)

Hi, here I bring you a procedure for rooting your device using Magisk and Adb. I guess there is no need to say the risks involved in doing this.
First you'll need:
1. Having installed ADB on your pc, you can use this link: https://www.xda-developers.com/install-adb-windows-macos-linux/
2. Your device must have bootlader unlocked, here the process to do so: https://c.realme.com/in/post-details/1526491339024314368
3. The corresponding boot.img (In this thread you can find attached the file for RMX3301_11 global variant) or you can extracted by yourself from the ofp file using htis script https://github.com/bkerler/oppo_decrypt
Note: During the process I encountered that fastboot commands didn't seem to work, getting the message <<waiting for device>> when unloocking bootloader on windows 11.
This problem was caused due to the lack of proper drivers, if you face this problem there is a file with the needed drivers attached in this post as well.
Now rooting process:
1. You need to install the latest stable release of Magisk on your device, which you can find here: https://github.com/topjohnwu/Magisk
2. Copy the boot image to your device
3. Press the Install button in the Magisk card
4. Choose “Select and Patch a File” in method, and select the boot image, then connect your device via usb to your PC
5. Copy the patched image to your PC, move the file inside your platform-tools folder and rename it to patchedboot.img
6. Make sure usb debugging is turned on under developer options and give permission to your PC on your cellphone after typing the command adb devices on your ADB terminal
7. Type the command adb reboot bootloader
8. Once your device is on bootloader type de command fastboot devices to make sure your device is "attached".
9. Now type fastboot flash boot patchedboot.img
10. Reboot and open the Magisk app on your phone to check everything is ok.
Aditional stuff you might find useful:
Here you can find the Universal Safetynetfix module, which is working properly: https://github.com/blog2i2j/kdrag0n.._..safetynet-fix
You just need to flash it via magisk, reboot, turn on Zygysk and reboot again.
it is not work unlock app my phone
GT2 Pro RMX3301_11_A.16
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
arzuakay said:
it is not work unlock app my phone
GT2 Pro RMX3301_11_A.16
View attachment 5651113
Click to expand...
Click to collapse
[EU model] Unlock bootloader of European model
As you may know, at the time of writing it's not possible to unlock the bootloader of the European model. Fortunately there's a workaround. To know how it works, scroll to the end of the post. First of all, this is only for the European RMX3301...
forum.xda-developers.com
Where is the guide?
Please stop saying there is root or even bootloader unlock for the global variant. India is not "GLOBAL" aka the world, although you might like it to be.
Lol, I UBL EU Global phone with guide here on xda
Device doesn't boot anymore after flashing patchedboot.img
Ty
where is the boot.img for glabal RMX3301_11_C.13 android 13
Extract from Full OTA package.
It appears that Magisk 26.1 isnt able to root the GT2 Pro. I have flashed the patched boot image twice. First time it stuck around til I installed a module and restarted. Second time didnt even get root. I will try a third time with a canary version of Magisk.
Edit: Canary doesnt work either. Device keeps rebooting to bootloader. Flashed stock boot for now. Will try older version of magisk.
Edit2: Magisk 25.2 doesnt work either. All 3 versions flashed it just fine but device keeps reboot back to bootloader. Both slots too. Flashed back to stock boot.
I am on Indian version of Color Os 13.1 (C.19) so I assume India is not considered global. I will go flash a global rom I guess.
Magisk should work, drivers ok?
Stano36 said:
Magisk should work, drivers ok?
Click to expand...
Click to collapse
Flashes just fine as far as I can tell according to CMD (admin) but right after flashing, on reboot, it goes directly back to the bootloader (or switches to the other working slot). I just flashed the EUEX C.19 update using the OnePlus updater app and same thing.
Its weird because when I type "fastboot boot patchedboot.img" just to check if the patched boot image works, it boots fine with root working. But flashing using "fastboot flash boot patchedboot.com" goes into that "bricked" or "bootloop" status, whatever its called.
morphius88 said:
Flashes just fine as far as I can tell according to CMD (admin) but right after flashing, on reboot, it goes directly back to the bootloader (or switches to the other working slot). I just flashed the EUEX C.19 update using the OnePlus updater app and same thing.
Its weird because when I type "fastboot boot patchedboot.img" just to check if the patched boot image works, it boots fine with root working. But flashing using "fastboot flash boot patchedboot.com" goes into that "bricked" or "bootloop" status, whatever its called.
Click to expand...
Click to collapse
adb reboot bootloader
fastboot devices (identified)
fastboot flash boot patchedboot.img
fastboot reboot
Stano36 said:
adb reboot bootloader
fastboot devices (identified)
fastboot flash boot patchedboot.img
fastboot reboot
Click to expand...
Click to collapse
Thats pretty much exactly what I do. See screenshot attached from my last attempt using stable Magisk 26.1 patched boot image. The reboot goes back to bootloader.
morphius88 said:
Thats pretty much exactly what I do. See screenshot attached from my last attempt using stable Magisk 26.1 patched boot image. The reboot goes back to bootloader.
Click to expand...
Click to collapse
Use this command before flashing the patched boot.img and try again
fastboot set_active a
Click to expand...
Click to collapse
NumberOneDz said:
Use this command before flashing the patched boot.img and try again
Click to expand...
Click to collapse
I've tried that too, it does the same result in either slot.
The funny thing is, using "flash boot patchedboot.img" works fine but that is obviously temporary so I dont understand why it doesnt want to stick if the temporary rooted boot works fine.
Edit: see screenshot, I ran fastboot getvar all after flashing patched boot to both slots. I will flash stock boot to get back to a workable phone for now.
morphius88 said:
It appears that Magisk 26.1 isnt able to root the GT2 Pro. I have flashed the patched boot image twice. First time it stuck around til I installed a module and restarted. Second time didnt even get root. I will try a third time with a canary version of Magisk.
Edit: Canary doesnt work either. Device keeps rebooting to bootloader. Flashed stock boot for now. Will try older version of magisk.
Edit2: Magisk 25.2 doesnt work either. All 3 versions flashed it just fine but device keeps reboot back to bootloader. Both slots too. Flashed back to stock boot.
I am on Indian version of Color Os 13.1 (C.19) so I assume India is not considered global. I will go flash a global rom I guess.
Click to expand...
Click to collapse
You need to flash vbmeta with disabled verification:
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Rapper_skull said:
You need to flash vbmeta with disabled verification:
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Click to expand...
Click to collapse
Thank you for this. I think this did it. First time I had to disable verity on any phone to get root as far as I know.
I now have root and pass Safety Net.
@vanya.ag you might need to put that in your original post in case there are others that run into the same situation.

Categories

Resources