[CLOSE THREAD PLEASE]Flash Modded ROM Through MI-Flash Tool!! - Xiaomi Redmi Note 3 Guides, News, & Discussion

****** I DO NOT TAKE ANY RESPONSIBILITY FOR ANY BRICKS/BOOT LOOPS/Mi LOGO BRICK. I AM SHARING THE STEPS THAT I HAVE USED AND YOU USE THESE STEPS AT YOUR OWN RISK ******
Use Android Image Kitchen to decompress and Recompress.
Unzip the whole Kitchen and ROM files through 7 Zip * mode.
Copy the "boot.img" to the Android Kitchen Unzipped Folder.
Follow the following steps:
Step 1. Decompress the boot.img file through Android Image Kitchen (unpackimg.bat)
Step 2. Open the file "fstab.qcom" via notepad / notepad++.
Step 3. Remove the ".verify" from it and save the file. Do not change the file extension. (Though it should not ask/or do). (This unlocks bootloader over server).
Step 4. Open default.prop via notepad / notepad++.
Step 5. Change "ro.secureboot.devicelock=1" to "ro.secureboot.devicelock=0" (This unlocks the bootloader).
- Additional Amendments if you want, like enabling adb, debug, etc, then do Step 6, else go to Step 7. STep 6 somehow seems to have some error on WiFi access. In case you do not want that, do not perform Step 6. a. and 6.b.,.
Step 6. Change:
a. "ro.secure=1" to "ro.secure=0"
b. "ro.adb.secure=1" to "ro.adb.secure=0"
These enable OEM Unlock over Server and over Developer mode.
c. "ro.debuggable=0" to "ro.debuggable=1".
This turns on USB Debug.
d. "persist.sys.usb.config=none" to "persist.sys.usb.config=adb"
This turns on ADB mode.
e. "persist.sys.timezone=Asia/Shanghai" to "persist.sys.timezone=Asia/XXX".
One can set the default locale from here. (This does not seem to work on Beta ROM's, as the server denies setting locale). (Though it should not ask/or do).
- Save the file. Do not change the file extension.
Step 7. Recompress these files back through repackimg.bat."
A new file "image-new.img" will be created. Rename the file to "boot.img" and replace the same to the unzipped folder of the ROM.
You now have a cooked/modded boot.img within the ROM, and your device is bootloader unlocked. Now Flash the ROM through MIFlash.
Also note: Rename the TWRP/Custom Recovery image to "recovery.img" and replace it with the Stock Recovery within the ROM. Now you have Custom Recovery ROM.
These steps take no more then 5-6 minutes, and are pretty easy.
Happy Flashing.
N.B.: I have attached the Android Kitchen File here.

Is this equivalent to unofficial unlock or the official one?

BlueJeans said:
Is this equivalent to unofficial unlock or the official one?
Click to expand...
Click to collapse
Actually None. I mean not the official, nor the unofficial one.
I am on unlocked bootloader myself.
These are the steps I did to unlock my bootloader.
I have even rooted my RN3QC within 10 days from purchase.
I just wanted to unlock and have even custom TWRP 3.0.2-2.

can miflash just flash the boot.img?

meangreenie said:
can miflash just flash the boot.img?
Click to expand...
Click to collapse
Nope, I tried, and it went to bootloop once and second time to mi logo.
The easiest way to install the boot.img and the recovery.img are:
If you want TWRP to be your recovery and that too after flashing the ROM, I will ask you to replace the default recovery file within the unzipped ROM with the TWRP Recovery File. The default recovery path is within the images folder and called recovery.img.
Just rename the TWRP Recovery image file to recovery.img and replace it in images folder, and flash through MIFlash. Done.
And if you want to flash boot.img, then flash through TWRP. That is the easiest method.
Safe and no bricks.
N.B.: FYI: Few Stable ROM's have a verity check on even after official unlock. That just means that the server has not yet updated their unlock, and if it is not done manually, then it will remain locked on server.

Nice tutorial , this will be helpful to those people who are still stuck on 50% error ,Good work !

NVDX11 said:
Nice tutorial , this will be helpful to those people who are still stuck on 50% error ,Good work !
Click to expand...
Click to collapse
Hope that moderator is not here too.

vdbhb59 said:
Hope that moderator is not here too.
Click to expand...
Click to collapse
Haha , yep :laugh:

So this should work on redmi 3s too ? gonna give it a try now. thanks dude.
Btw are you the guy who got banned on miui forum ? i had bookmarked a post similar to this but when i actually got time to read it, it was deleted by mod.
Edit : does not work lol, was stuck on Qualcomm HS-USB Diagnostics 900E mode, and couldn't get it to fasboot/edl mode. tried many different key combinations and and now finally got it fixed. so i guess it works only on RN3. now gotta wait for them to fix their db.

kraatus90 said:
So this should work on redmi 3s too ? gonna give it a try now. thanks dude.
Btw are you the guy who got banned on miui forum ? i had bookmarked a post similar to this but when i actually got time to read it, it was deleted by mod.
Edit : does not work lol, was stuck on Qualcomm HS-USB Diagnostics 900E mode, and couldn't get it to fasboot/edl mode. tried many different key combinations and and now finally got it fixed. so i guess it works only on RN3. now gotta wait for them to fix their db.
Click to expand...
Click to collapse
R3S it should not work, and as you confirmed it does not work.
Yes I am thr guy whose post got deleted, and the Mod is still adamant on saying it does not unlock bootloader.
They have changed the method to unlock on MM, so this apparently is only for LP.

vdbhb59 said:
Step 6. Change:
a. "ro.secure=1" to "ro.secure=0"
b. "ro.adb.secure=1" to "ro.secure=0"
These enable OEM Unlock over Server and over Developer mode.
Click to expand...
Click to collapse
Noob question, due to I need to ensure something.
Point 6.b.
It is correct, change "ro.adb.secure=1" to "ro.secure=0"
Since this is different command.
Anyway, thanks for your share.

abihary said:
Noob question, due to I need to ensure something.
Point 6.b.
It is correct, change "ro.adb.secure=1" to "ro.secure=0"
Since this is different command.
Anyway, thanks for your share.
Click to expand...
Click to collapse
Thanks for pointing this out bro. My typing error.
It is ro.adb.secure

vdbhb59 said:
Thanks for pointing this out bro. My typing error.
It is ro.adb.secure
Click to expand...
Click to collapse
You're welcome. I need to share this simple way to my friend, thats why i read it carefully to avoid any problem. For myself, already unlocked few weeks ago.
Anyway, thanks for your feedback.

abihary said:
You're welcome. I need to share this simple way to my friend, thats why i read it carefully to avoid any problem. For myself, already unlocked few weeks ago.
Anyway, thanks for your feedback.
Click to expand...
Click to collapse
Any day welcome.

For kenzo or hennessy?

zenex01 said:
For kenzo or hennessy?
Click to expand...
Click to collapse
For kenzo

zenex01 said:
For kenzo or hennessy?
Click to expand...
Click to collapse
Kenzo and unfortunately currently limited to LP.
Searching for MM and N pattern to unlock.

What MIUI version you using? @vdbhb59
I tried with 7.3.2.0 after flashing then check bootloader but still locked. I skip step 6.

MiripRedmoon said:
What MIUI version you using? @vdbhb59
I tried with 7.3.2.0 after flashing then check bootloader but still locked. I skip step 6.
Click to expand...
Click to collapse
I am on 6.9.9 Global Beta. I had unlocked when I was on 6.8.18 Global Beta.
You need to check the steps properly, or if you want, attach your boot.img filehere, and I will change and reattach it here for you.

vdbhb59 said:
I am on 6.9.9 Global Beta. I had unlocked when I was on 6.8.18 Global Beta.
You need to check the steps properly, or if you want, attach your boot.img filehere, and I will change and reattach it here for you.
Click to expand...
Click to collapse
So you are back to a locked bootloader when you moved to 6.9.9?
And for doing that you just flashed the fastboot tgz file in edl mode?
Btw, overall comment -> u mean to say .. using this process there is no need to replace/ flash the modded emmc_appsboot.mbn file?

Related

[ROM][RECOVERY] HTC Desire 820q Dual Sim

Here is the STOCK ROM and STOCK RECOVERY for HTC DESIRE 820q Dual Sim
For those guys who have flashed custom recovery on their D820q dual sim and are searching for stock one, here I provide you the links for both the Stock Recovery and the Stock Rom.
Credits :
* EZN-74 for the Recovery he had provided me and I have flashed it on my D820q and it worked.
* fergy for providing the Stock Rom/Firmware. However I didn't test the Rom and I don't know if it will work with other than the Indian Variant of D820q Dual Sim. (BTW I don't know much about flashing this Rom)
Downloads :
* STOCK RECOVERY
(Before flashing, I suggest you to rename the recovery from recovery 820q.img to just recovery.img)
* STOCK ROM
* I think most of you know how to flash the recovery as you have already flashed the custom ones. And for the Noobs who don't know how to flash, can flash the recovery provided by me by using the commands as provided HERE
** Do at your own risk, I am not responsible if you brick your device or void your warranty **
HOW TO GET INTO STOCK RECOVERY
1. Flash the stock recovery
2. Turn on device and untick Fast boot from Settings >Power and then Power off
3. Hold Vol Down + Power to get into HBOOT menu
4. Scroll to Recovery option using volume keys and use power button to select
5. The device will display the Recovery icon with an Exclamation mark
6. Wait 10 seconds and Hold Vol Up and then press Power button
7. And Boom, you get into recovery.:good:
Don't forget to Hit that Thanks button
CURRENTLY I DON'T OWN THIS DEVICE, SO THIS THREAD IS PROBABLY CLOSED.
this post should not be in original android developement. This thread is for posting something that u developed urself. Kindly ask mods to move it so that people are not mislead. When i saw this post i thought it contains a custom recovery for 820q. :sad:
sziraqui said:
this post should not be in original android developement. This thread is for posting something that u developed urself. Kindly ask mods to move it so that people are not mislead. When i saw this post i thought it contains a custom recovery for 820q. :sad:
Click to expand...
Click to collapse
This thread contains original rom and recovery files, so I posted it here. Where do you think this thread should be ?
rizwan.mahai said:
This thread contains original rom and recovery files, so I posted it here. Where do you think this thread should be ?
Click to expand...
Click to collapse
u didnt get me my friend, 'Original Development' is for posting something which you BUILD. for example, custom recovery or a custom rom which u made urself. This thread should be in 'General'. However mods know it better, So Ask any moderator to move it to the right place. To do this click on the "triangle" in bottom left of YOUR post.
sziraqui said:
u didnt get me my friend, 'Original Development' is for posting something which you BUILD. for example, custom recovery or a custom rom which u made urself. This thread should be in 'General'. However mods know it better, So Ask any moderator to move it to the right place. To do this click on the "triangle" in bottom left of YOUR post.
Click to expand...
Click to collapse
Ok buddy, I will ask a moderator to do so.
rizwan.mahai said:
Here is the STOCK ROM and STOCK RECOVERY for HTC DESIRE 820q Dual Sim
For those guys who have flashed custom recovery on their D820q dual sim and are searching for stock one, here I provide you the links for both the Stock Recovery and the Stock Rom.
Credits :
* EZN-74 for the Recovery he had provided me and I have flashed it on my D820q and it worked.
* fergy for providing the Stock Rom/Firmware. However I didn't test the Rom and I don't know if it will work with other than the Indian Variant of D820q Dual Sim. (BTW I don't know much about flashing this Rom)
Downloads :
* STOCK RECOVERY
(Before flashing, I suggest you to rename the recovery from recovery 820q.img to just recovery.img)
* STOCK ROM
Click to expand...
Click to collapse
bro the stock rom you posted is not flashable by any recovery. It doesnt contain updater script at all. It contains boot.img, and some .hdr files. but not even system.img. Frankly speaking, i dont know how to flash this. If you know it please help me out
I think it should be flashed through Recovery Mode.
sziraqui said:
bro the stock rom you posted is not flashable by any recovery. It doesnt contain updater script at all. It contains boot.img, and some .hdr files. but not even system.img. Frankly speaking, i dont know how to flash this. If you know it please help me out
Click to expand...
Click to collapse
I didn't try flashing the rom on my device. However you can contact the developer @fergy who has provided the rom and ask him how to flash.
rizwan.mahai said:
I didn't try flashing the rom on my device. However you can contact the developer @fergy who has provided the rom and ask him how to flash.
Click to expand...
Click to collapse
did you have any working TWRP for D820H please ?
Does that device exists ?
the me said:
did you have any working TWRP for D820H please ?
Click to expand...
Click to collapse
Desire 820H ?? BTW I have the stock recovery for 820q.
D820h same of 820q
rizwan.mahai said:
Desire 820H ?? BTW I have the stock recovery for 820q.
Click to expand...
Click to collapse
thank you , im looking for custom recovery .
the me said:
thank you , im looking for custom recovery .
Click to expand...
Click to collapse
No custom recovery yet.
How To Flash RUU file
sziraqui said:
bro the stock rom you posted is not flashable by any recovery. It doesnt contain updater script at all. It contains boot.img, and some .hdr files. but not even system.img. Frankly speaking, i dont know how to flash this. If you know it please help me out
Click to expand...
Click to collapse
rizwan.mahai said:
I think it should be flashed through Recovery Mode.
Click to expand...
Click to collapse
How to Flash RUU(for HTC Desire 820q Dual SIM):
1- Download the *.zip(RUU) file from here:
ir-file.com/portal/index.php?dir=Firmware/HTC/HTC_Android/A50_DTUL
Note: The zip will not extract, you have to use it directly without extracting. So don't bother trying to extract the zip, it will always give you error.
2- Rename the file to "0PF6IMG.zip"
3- Put the file on SD card and insert it into mobile!
4- Reboot into bootloader and it will ask you if you want to update.
Note: Turn off your phone, press and hold POWER and VOL DOWN.
5- Press VOL UP to say yes.
6- Wait about 20-30 minutes!
7- Done! You've flashed RUU file successfully!
BTW I tested this RIGHT NOW on my phone and it works!
I used this: 0PF6IMG_A50_DTUL_K44_DESIRE_SENSE60_hTC_Asia_India_1.01.720.2_Radio_01.01.010_U1030433_08.01.1017_release_398545_combined_signed.zip
EZN-74 said:
I used this: 0PF6IMG_A50_DTUL_K44_DESIRE_SENSE60_hTC_Asia_India_1.01.720.2_Radio_01.01.010_U1030433_08.01.1017_release_398545_combined_signed.zip
Click to expand...
Click to collapse
yup it works, but will this work on a bricked Htc? One guy told me you can flash this after renaming it to firmware.zip using-
Code:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
Can you try this and post back? I want to build a rom for this device but i dont have the official firmware which i can use to unbrick it (if it the phone bricks). Official Rom files like system.img, boot.img and recovery.img are not available for this device anywhere on internet, i have been searching since 2 months but i got only this 0PXXIMG which you and OP posted. (i got the same file on other websites after searching a LOT)
bro,
I have locked htc desire 820 dual sim with off debugging option. Its boatloader has been corrupted and it cant show boater options. Any help??
sziraqui said:
yup it works, but will this work on a bricked Htc? One guy told me you can flash this after renaming it to firmware.zip using-
Code:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
Can you try this and post back? I want to build a rom for this device but i dont have the official firmware which i can use to unbrick it (if it the phone bricks). Official Rom files like system.img, boot.img and recovery.img are not available for this device anywhere on internet, i have been searching since 2 months but i got only this 0PXXIMG which you and OP posted. (i got the same file on other websites after searching a LOT)
Click to expand...
Click to collapse
yeah I also tried that but didn't work! (The problem is our "*.zip" RUU file is to large to be transferred through fastboot USB! the error was something like this: the file is to large!)
And also, if a device is bricked(hard bricked; not soft bricked), you cannot use fastboot commands! Because you can't access bootloader to use fastboot and "fastboot oem rebootRUU"!
EZN-74 said:
yeah I also tried that but didn't work! (The problem is our "*.zip" RUU file is to large to be transferred through fastboot USB! the error was something like this: the file is to large!)
And also, if a device is bricked(hard bricked; not soft bricked), you cannot use fastboot commands! Because you can't access bootloader to use fastboot and "fastboot oem rebootRUU"!
Click to expand...
Click to collapse
i mean, if bootloader is accessible, does this work on a device which has a custom rom installed (or in general, on a modified system).
sziraqui said:
i mean, if bootloader is accessible, does this work on a device which has a custom rom installed (or in general, on a modified system).
Click to expand...
Click to collapse
If you access bootloader, you can use both ways!(either you have stock or custom ROM) But I guess the "fastboot" method does not work with 1.0 GB files or larger!
EZN-74 said:
If you access bootloader, you can use both ways!(either you have stock or custom ROM) But I guess the "fastboot" method does not work with 1.0 GB files or larger!
Click to expand...
Click to collapse
thanks..
And you are right regarding file size limit, fastboot allows only files upto 256mb on moto e. I dont know if this is an issue with fastboot our with device under consideratron.
Thanks for testing
EZN-74 said:
How to Flash RUU(for HTC Desire 820q Dual SIM):
1- Download the *.zip(RUU) file from here:
ir-file.com/portal/index.php?dir=Firmware/HTC/HTC_Android/A50_DTUL
Note: The zip will not extract, you have to use it directly without extracting. So don't bother trying to extract the zip, it will always give you error.
2- Rename the file to "0PF6IMG.zip"
3- Put the file on SD card and insert it into mobile!
4- Reboot into bootloader and it will ask you if you want to update.
Note: Turn off your phone, press and hold POWER and VOL DOWN.
5- Press VOL UP to say yes.
6- Wait about 20-30 minutes!
7- Done! You've flashed RUU file successfully!
BTW I tested this RIGHT NOW on my phone and it works!
I used this: 0PF6IMG_A50_DTUL_K44_DESIRE_SENSE60_hTC_Asia_India_1.01.720.2_Radio_01.01.010_U1030433_08.01.1017_release_398545_combined_signed.zip
Click to expand...
Click to collapse
Well, it is good to now that someone finally tested this rom and it worked.

[GUIDE] MiUI v8.2.1 with twrp, root on stock locked bootloader Xiaomi Mi Max Helium

So basically, I got a new Mi Max helium 3 days ago, wanted root, and the most recent stock stable rom. Looked on the threads, guides are not up to date, or are for unlocked bootloaders, or are just plain unclear. SO HERE'S ONE THAT WORKS! (at least for me) I've essentially mashed together a few guides, and found really helpful posts. I'll go step by step for everyone to follow.
Your data will be wiped. proceed with backups (whatever you can do)
1. download MiFlash Beta
2. extract the installer from the downloaded zip
3. install MiFlash Beta (it should install drivers for you.)
I was met with a warning on unsigned drivers or similar. just make sure to select "install anyway"​4. download and unzip this prepackaged zip for flashing in MiFlash TWRP 3.0.2.0 for helium.
5. download and unzip the fastboot version of MIUI v8.1.3.0 Global stable for Helium
6. download and unzip recovery flashable MIUI v8.2.1.0 from this thread.
7. download the newest TWRP .img from twrp's site .
I KNOW it says hydrogen, but this official post states it is for both. And if you try looking at the Helium link it doesn't have the latest TWRP. trust me on this one. it works fine. Only download the hydrogen 3.1.0 version.​8. download "universal boot.img patcher.zip" from this thread.
9. download latest SuperSU recovery flashable zip.
we need to modify the ROM to be able to work with a locked bootloader as suggested by this post.
10. go to the folder you extracted the prepacked ROM you downloaded in step 6
11. zip up all the files except for the "firmware-update" folder
Now that you've got all the resources, we can go to a version of MIUI that does not have security patches and allows custom recoveries with a locked bootloader, then upgrade from there.
12. Run MiFlash Beta as administrator
13. Turn off your Mi Max Helium
14. hold down Vol + and Vol - on your phone then plug phone to computer via USB while holding the buttons down to enter EDL mode. you should feel a short vibration and then a black(blank) screen.
15. click on the "refresh" button in MiFlash
you should see a new entry for id: 1, device: COM**​16. click on the "select" button and navigate to the folder which contains the extracted files of the fastboot MIUI v8.1.3 you downloaded in step 5.
17. click flash and wait for result to show "success"
now we need to re-enter EDL mode to refresh EDL​18. hold down Vol + and Vol - and Power buttons on your phone with the USB cable still attached to the computer. again you should feel the vibration and then black screen.
19. refresh MiFlash
you should see a new entry for id: 1, device: COM** again​20. click on the "select" button and navigate to the folder which contains the extracted files of TWRP 3.0.2.0 you downloaded in step 4.
21. click flash and wait for result to show "success"
additional info: if you have issues trying to flash, also perform the instructions from this forum post.
22. hold down Vol + and Power button to boot into TWRP recovery. you should feel a slightly longer vibration.
at this point you should see the MI logo and it will take a while before it changes to TWRP's logo. once you see the MI logo you can let go of buttons. if the MI logo only flashes quickly and disappears, then try flashing a older version of MIUI instead.​23. when TWRP boots, it will ask, and you should keep system read-only at this point.
24. format the data partition. important
25. check if your preferred method of copying/pushing files can be done from the computer
26. copy/push the newest TWRP img you downloaded from step 7 to /sdcard
27. install the new recovery.img
28. reboot into recovery and keep system read-only
29. flash the prepackaged ROM you modified in step 11
30. flash the boot.img patcher you downloaded in step 8
31. flash latest SuperSU.
32. DO NOT REBOOT.
33. mount /system
34. delete /system/recovery-from-boot.p (or similar)
35. you may reboot now.
36. PROFIT!
Based on the fact that we used a boot.img patcher, theoretically I could use the official latest roms as long as we patch immediately after flashing the recovery version instead. I've not tried this, but you're welcome to.
If you get a softbrick (Mi logo flashes then black screen) just use MiFlash and flash any Fastboot version official rom. (or the v8.1.3 for convenience sake) that'll reset everything.
Thanks to these following guides and threads, and i implicitly hereby thank creators of the prepackages/tools they link to.
[GUIDE]ROOT/TWRP/MULTIROM/Cm13/RR on Locked Bootloader + Hardbrick Recovery by @DoomSlayer
source for boot.img patcher thanks to this post by @avi3230
[ROM] [HELIUM] MIUI 8 Global Rooted by @ajsmsg78
and @Chainfire for SuperSU
I confirm that this does work
Big Thanks
Many thanks for this guide. I followed just about every other guide written to the exact letter but no success at all. The Miflash tools written for the Max (1 click method) didn't work and showed "Specified cast not valid" despite the driver being okay the Mi logo would flash but TWRP would not load if I flashed myself with the newer flash tools beta . Xiaomi never sent me an unlock SMS either and even if they did I might have gotten stuck on 50% anyways
Your guide worked for me 100%. I followed it up to step 30 but then went for LineageOS https://forum.xda-developers.com/mi-max/development/rom-lineageos-14-1-t3529851/post70343167 ROM and Firmware instead of de-bloated MIUI (personal preference) and it worked for me great. A super thanks to all those credited in the OP but especially to shuckeru for making the instructions super clear!
Can i use this guide for my 3 / 32 GB Version ?
What about safety net pass?
Can I ask few noob questions.
1. From step 22 to 36 is the phone must connected to the computer?
2. From step 22 to 36 is it done in the phone and not in the computer?
3. If I restore my phone from MUIU account will this delete the whole process?
Thank you for anyone that answering and I really appreciate it if the answer is in simple language as I'm a noob in this. Thanks.
janmichaelis said:
Can i use this guide for my 3 / 32 GB Version ?
Click to expand...
Click to collapse
Unfortunately no, the resources I've linked are not compatible. If you can find the equivalent resources for your own model you can try it. Most you'll get is a soft brick which is easy to fix.
ankushkushal said:
What about safety net pass?
Click to expand...
Click to collapse
Never tried. Root is more important than safety net. There's no NFC for Android pay and only one dying game uses it, amongst the rest of the banking apps.
kornetbeef said:
Can I ask few noob questions.
1. From step 22 to 36 is the phone must connected to the computer?
2. From step 22 to 36 is it done in the phone and not in the computer?
3. If I restore my phone from MUIU account will this delete the whole process?
Thank you for anyone that answering and I really appreciate it if the answer is in simple language as I'm a noob in this. Thanks.
Click to expand...
Click to collapse
1. No, but you are required to connect the phone to the computer for step 26.
2. Yes, Recovery instructions are done in phone. Except step 26. That is done from your computer.
3. Yes
shuckeru said:
1. No, but you are required to connect the phone to the computer for step 26.
2. Yes, Recovery instructions are done in phone. Except step 26. That is done from your computer.
3. Yes
Click to expand...
Click to collapse
Thank you for answering. If u don't mind I still have a few question, sorry for being noob:
1. In step 16 did u mean fastboot version of MIUI v8.1.3.0? As u mention "download in step 5".
2. At step 26 the phone is still usable/detectable by the computer right? So I can transfer the file from computer to the phone.
3. Everything that I install from step 27 to 31 is it copied at step 26? Because all of the files is still in my computer not in my phone, or should i transfer it to my phone before?
4. So I should delete my back up in my MIUI account, if after twrp and root and then back up the phone in my MIUI account, will this new back up have twrp and root?
Sorry for asking so much and please pardon my English as its not my main language. And Thank You for answering.
kornetbeef said:
Thank you for answering. If u don't mind I still have a few question, sorry for being noob:
1. In step 16 did u mean fastboot version of MIUI v8.1.3.0? As u mention "download in step 5".
Click to expand...
Click to collapse
yes i did. i'll fix that typo
kornetbeef said:
2. At step 26 the phone is still usable/detectable by the computer right? So I can transfer the file from computer to the phone.
Click to expand...
Click to collapse
yes
kornetbeef said:
3. Everything that I install from step 27 to 31 is it copied at step 26? Because all of the files is still in my computer not in my phone, or should i transfer it to my phone before?
Click to expand...
Click to collapse
Yes
kornetbeef said:
4. So I should delete my back up in my MIUI account, if after twrp and root and then back up the phone in my MIUI account, will this new back up have twrp and root?
Click to expand...
Click to collapse
no. its not going to back up twrp and root. you should use nandroid backups.
@ shuckeru
After several hicup and error I finally succeed.
But I still want to ask several confirmation:
1. From step 27 until step 31, I never touch any check box. Is this OK/right?
2. To do step 34, I have to change the setting in recovery from "read only" into "allow modification" to delete the file. Is this right?
3. And in step 34 I delete it with file explorer function in the recovery, is this the right way?
4. When I'm rebooting, instead the normal MI start up loading animation, It was replaced by ring of light animation (like from horror movie). Is this OK.
Other than that everything is OK. Thanks a lot shuckeru. Hopefully will not find any problem.
Again Thank you.
kornetbeef said:
@ shuckeru
After several hicup and error I finally succeed.
But I still want to ask several confirmation:
1. From step 27 until step 31, I never touch any check box. Is this OK/right?
2. To do step 34, I have to change the setting in recovery from "read only" into "allow modification" to delete the file. Is this right?
3. And in step 34 I delete it with file explorer function in the recovery, is this the right way?
4. When I'm rebooting, instead the normal MI start up loading animation, It was replaced by ring of light animation (like from horror movie). Is this OK.
Other than that everything is OK. Thanks a lot shuckeru. Hopefully will not find any problem.
Again Thank you.
Click to expand...
Click to collapse
1. Have no idea what you are talking about.
2. Yes
3. Yes.
4. Yes
Glad I helped you enjoy!
Thank you man! :good:
shuckeru said:
1. Have no idea what you are talking about.
Click to expand...
Click to collapse
I was talking about TWRP interface menu. There is many checkbox and options that should be left alone or should be check when using TWRP menu. For example Don't touch anything else from step 27 until step 31. But in step 34 turn off "read only" checkbox. Maybe u can mention this in the guide to help more user so they can do it more easy than me.
shuckeru said:
Glad I helped you enjoy!
Click to expand...
Click to collapse
Yes Thank You!!!
If u don't mind I have two question:
1. What happen if in Step 7 I use the helium one? The one that is older? Will it give different result?
2. If there will be upgrade in the future like MIUI V8.2.2 do I have to do it from step 1 or from step 29 (that also need to be modify first)?
Again Thank you for making this guide.
jwa88 said:
Thank you man! :good:
Click to expand...
Click to collapse
no problem
kornetbeef said:
I was talking about TWRP interface menu. There is many checkbox and options that should be left alone or should be check when using TWRP menu. For example Don't touch anything else from step 27 until step 31. But in step 34 turn off "read only" checkbox. Maybe u can mention this in the guide to help more user so they can do it more easy than me.
Click to expand...
Click to collapse
really, if i didn't say do something in this guide, don't do it. its a step-by-step guide. if you managed then i've already got my message across. i'm not going to be using pictures for a 34 step guide unfortunately.
kornetbeef said:
If u don't mind I have two question:
1. What happen if in Step 7 I use the helium one? The one that is older? Will it give different result?
2. If there will be upgrade in the future like MIUI V8.2.2 do I have to do it from step 1 or from step 29 (that also need to be modify first)?
Again Thank you for making this guide.
Click to expand...
Click to collapse
1. yes it is older, I can't remember.
2. probably step 1.
i posted the steps that worked for me. i didn't go out of my and try every single combination. there is no need.
shuckeru said:
really, if i didn't say do something in this guide, don't do it. its a step-by-step guide. if you managed then i've already got my message across. i'm not going to be using pictures for a 34 step guide unfortunately.
Click to expand...
Click to collapse
Well its your guide.
shuckeru said:
2. probably step 1.
Click to expand...
Click to collapse
I actually have try once when I screw up the process to restart it from step 29 and its works. The crucial point of this process is the new ROM (and everything else) will need to be installed by TWRP, so in theory if u already have it (TWRP) u can just skip it to step 29. At least its work for me.
shuckeru said:
i posted the steps that worked for me. i didn't go out of my and try every single combination. there is no need.
Click to expand...
Click to collapse
Again is your guide.
Again thanks a LOT fro creating this guide.
I just get update notification for Miui v8.2.3.0. What should I do? If I automatic update it will I lost my ROOT and Twrp?
:good:
Hi,
I made the steps from 1 to 21 exactly as described, but my device won't enter TWRP, with Mi logo flashing and disapearing. I already flashing an older MIUI (8.0.3) as suggested, still with no success. My phone now not even boot in normal mode, only showing mi logo for one second and turning off (soft bricked). However, it still boots in fastboot and EDL modes. Any advices?
Some suggestions /improvements
Thank you friend for this great guide, great job!:good:
I could flash my device successfully after failing in the other ones i have tried.:victory:
I have some suggestions or improvements for your guide.
about the XiaoMiFlash:
1. The name of the flashed files and their path-names should be kept short; otherwise it wouldn't work. thus the names of the files should be renamed and shortened. that means the files "fastboot MIUI v8.1.3" and the " TWRP 3.0.2.0".
2. The flashing should be done quickly. " just seconds from entering EDL mode to hit flash"... that means that step #16 should be done before step #13 or 14. and step#20 should be done before step #18.
http://en.miui.com/thread-325513-1-1.html
3. 2 steps are missing:
to enable step #34. delete /system/recovery-from-boot.p, we first need to uncheck the box Mount> Mount system partition read-only
and after deletion to check it back.
Thanks a lot.....
mailm said:
Thank you friend for this great guide, great job!:good:
I could flash my device successfully after failing in the other ones i have tried.:victory:
I have some suggestions or improvements for your guide.
about the XiaoMiFlash:
1. The name of the flashed files and their path-names should be kept short; otherwise it wouldn't work. thus the names of the files should be renamed and shortened. that means the files "fastboot MIUI v8.1.3" and the " TWRP 3.0.2.0".
2. The flashing should be done quickly. " just seconds from entering EDL mode to hit flash"... that means that step #16 should be done before step #13 or 14. and step#20 should be done before step #18.
http://en.miui.com/thread-325513-1-1.html
3. 2 steps are missing:
to enable step #34. delete /system/recovery-from-boot.p, we first need to uncheck the box Mount> Mount system partition read-only
and after deletion to check it back.
Thanks a lot.....
Click to expand...
Click to collapse
Thanks for your feedback.
1. This isn't an issue unless your path is very very very long. In that case the onus is on you to clean up your environment. I've personally been guilty of that before.
2. I don't believe this is the case for everyone. I left my device in EDL mode for a very long time while I figured what I should flash before flashing and it is fine. I will make a reference to the link just in case. Thanks.
3. That's step 33. You also don't have to return it to read only. That's redundant

[COMPLETE GUIDE] ROOTING Xiaomi Redmi Note 4X MTK aka Nikel

HOW TO ROOT YOUR XIAOMI REDMI NOTE 4X MTK aka NIKEL
DISCLAIMER:
There might be more than 1 way to root this phone, this tutorial is based off of the procedure I used to root my phone. For your device's safety do not mix resources (downloads) from other threads with this thread. I first rooted when my phone was on MIUI 8.2 and Android 6.0.1 (It still works on higher versions of the software). Before continuing with the procedure, you are responsible for your phone and what you do to it, this thread worked for me but doesn't necessarily mean it will work for you as well if you don't follow the steps correctly or use different files. Nonetheless, I take no responsibility for what happens to your phone if anything goes wrong.​
Requirements:​Unlocked Bootloader (Click here for the procedure)
Custom Recovery "TWRP" (Click here to download)
ABD Drivers (Click here to download)​
SuperSU (Click here to download)
(Download the latest .zip file called "Recovery Flashable" NOT any APK's)
Procedure:
1) Unlock your Bootloader (skip if already unlocked)
2) Download all the required files
3) Install the ADB Drivers
4) Move the downloaded SuperSU zip file to your phone's SD CARD or internal memory
5) Open the .bat file inside the NIKEL FLASHKIT folder
- Οnce the batch opens select the first option (FLASH ZCX-TWRP 3.0.2-X FOR Redmi Note 4 MTK)
6) Enable USB Debugging
- Enable developer options by clicking couple of times on the MIUI Version (Settings > About Phone)
- After you've enabled the developer options, go to additional settings and find "developer options"
- Enable USB Debugging
7) Connect your phone to your PC
8) Follow the instructions being printed on the NIKEL FLASHKIT batch file you've previously opened
9) After your phone has entered TWRP go to Install and find the .zip of SuperSU
10) Select the file then swipe to install and reboot, DONE!​
norskaa said:
Hello everyone, I recently purchased a Xiaomi Redmi Note 4X and I'd like to root it,
Android Version : 6.0 MRA58K
MIUI Version : MIUI Global 8.2 | Stable 82.1.0 (MBFMIDL)
Is there currently any possible / safe way to root this phone? If so, please be kind and link me to a thread. Thanks in advance! <3
Click to expand...
Click to collapse
Well, you need an unlocked bootloader inorder to get root access.
Go apply for permissions if you haven't applied yet!
sachin n said:
Well, you need an unlocked bootloader inorder to get root access.
Go apply for permissions if you haven't applied yet!
Click to expand...
Click to collapse
Hello, thanks for your reply. I've just requested a bootloader unlock. What do I do after that in order to root my phone?
norskaa said:
Hello, thanks for your reply. I've just requested a bootloader unlock. What do I do after that in order to root my phone?
Click to expand...
Click to collapse
Flash the custom recovery (*.img) through fastboot command. For RN4 MTK there's limited custom recovery available, but you may consider trying Cofface TWRP or ZCX TWRP. After that you can install SuperSU or Magisk from custom recovery. There are plenty tutorials of flashing custom recovery and rooting device using TWRP in RN4 MTK device, search this forum or Google.
Devaz01 said:
Flash the custom recovery (*.img) through fastboot command. For RN4 MTK there's limited custom recovery available, but you may consider trying Cofface TWRP or ZCX TWRP. After that you can install SuperSU or Magisk from custom recovery. There are plenty tutorials of flashing custom recovery and rooting device using TWRP in RN4 MTK device, search this forum or Google.
Click to expand...
Click to collapse
Thanks for your reply, I've searched for video tutorials regarding flashing etc. All the videos I've found are about RN4 and NOT RN4X (which I own), does that make any difference?
norskaa said:
Thanks for your reply, I've searched for video tutorials regarding flashing etc. All the videos I've found are about RN4 and NOT RN4X (which I own), does that make any difference?
Click to expand...
Click to collapse
Doesn't matter sir, Xiaomi released 4/64GB MTK variant as wells, I assume you've the same.
Get TWRP for MTK variant of Redmi-note-4 and flash it. Nothing to worry.
sachin n said:
Doesn't matter sir, Xiaomi released 4/64GB MTK variant as wells, I assume you've the same.
Get TWRP for MTK variant of Redmi-note-4 and flash it. Nothing to worry.
Click to expand...
Click to collapse
Thank you so much for all your help! Ill post once I've tried it and successfully flashed my device, so other people with the same device could maybe find help here.
norskaa said:
Thank you so much for all your help! Ill post once I've tried it and successfully flashed my device, so other people with the same device could maybe find help here.
Click to expand...
Click to collapse
So, is it worked?
joppendaro said:
So, is it worked?
Click to expand...
Click to collapse
Yes
mr
mr flash twrp it is alive what mode fastboot
Thanks...
Sir.. Thanks a lot, I completed the whole process to install TWRP and root my redmi note 4x (Nikel) Ram 4GB internal 64 GB but I had to press volume down and power to force fastboot to come up then continue your step doubleclick the .bat file inside the NIKEL FLASHKIT folder...
MIUI Global 8.5 Stable 8530 (MBFMIED)
Yes, sometimes it works with the first try, other times you have to manually enter fast boot, and other you may need to reconnect your USB while in the process. It can be tricky at some point but it eventually works out
i tried few times and it is just not working for me. i dunno what n how... i unlocked bootloader from mi site. and nothing i try seems to work for me.
Kenannp said:
i tried few times and it is just not working for me. i dunno what n how... i unlocked bootloader from mi site. and nothing i try seems to work for me.
Click to expand...
Click to collapse
Could you give a more detailed explanation? Such as telling if you receive any errors , if the prerequisites installed correctly etc.?
norskaa said:
Could you give a more detailed explanation? Such as telling if you receive any errors , if the prerequisites installed correctly etc.?
Click to expand...
Click to collapse
nothing special. just when it says ur in twrp,nothing happens. i kept waiting even 20 mins n nothing.
repeated procedure few times and nothing.
but it worked,i changed usb cable and i went through,which is weird,usb works normal. copy/paste,charging...everything. but i didnt work for flasher.
however changed it and its all ok now
Kenannp said:
nothing special. just when it says ur in twrp,nothing happens. i kept waiting even 20 mins n nothing.
repeated procedure few times and nothing.
but it worked,i changed usb cable and i went through,which is weird,usb works normal. copy/paste,charging...everything. but i didnt work for flasher.
however changed it and its all ok now
Click to expand...
Click to collapse
Well at least the problem is solved now. Even though I think I mentioned in the thread that it might not work at all times and that you may have to disconnect the USB at some point. Anyways , good work
im glad that i found this thread.. sadly when i download the files.. its corrupted.. download several times.. same issue.. pls help.
xda111114 said:
im glad that i found this thread.. sadly when i download the files.. its corrupted.. download several times.. same issue.. pls help.
Click to expand...
Click to collapse
I've reuploaded the resources again. Here you go https://www.dropbox.com/s/52wb2dm1ludtfz8/Xiaomi Root.rar?dl=0
can someone help me. it's not booting into recovery mode. what should i do?
Does it still work in the latest version of MIUI 9.5.1.0? I have successfully installed TWRP but the .zip file might be outdated.

[Guide][Treble] Install Android 9.0 Pie AOSP GSI (Windows/Mac/Linux)

Install Android 9.0 Pie AOSP GSI
Warning
You will loose all your data. Make sure to backup. You are doing this at your own risk. Neither me nor xda is responsible for any bricked devices.
Pre-Requisites
Please read carefully. Any questions which are already answered in OP will be ignored.
If you have a question, not answered in OP read last 2-3 pages. Any questions which are already answered in last 2-3 pages will also be ignored.
Not being rude, but people need to start reading.
Make sure you have unlocked the bootloader.
​Text Guide
Install Android 9.0 Pie AOSP GSI
1. Download AB Arm64 GSI from link in downloads. Unzip it. Windows users can use Winrar. Mac users can use the Unarchiver.
2. Download and unzip adb & fastboot linked in downloads section.
3. Place the extracted system image (step 1) in platform-tools folder. Rename it to system-arm64.img.
4. Power off phone.
5. Press and hold volume down and power button at the same time. You will now boot into fastboot boot.
6. Connect phone to computer.
7. Windows users open command prompt. Mac/Linux users open Terminal. Navigate to the folder where you unzipped adb & fastboot.
Windows
Code:
fastboot devices
Mac & Linux
Code:
./fastboot devices
If your device shows up, drivers were installed correctly. If not, then drivers were not installed and you need to install them.
8. Erase System
Windows
Code:
fastboot erase system
Mac & Linux
Code:
./fastboot erase system
9. Flash Android Pie GSI
Windows
Code:
fastboot flash system system-arm64.img
Mac & Linux
Code:
./fastboot flash system system-arm64.img
10. Wipe/Factory Reset
Windows
Code:
fastboot -w
Mac & Linux
Code:
./fastboot -w
11. Reboot
Windows
Code:
fastboot reboot
Mac & Linux
Code:
./fastboot reboot
11. Profit. Android 9.0 Pie. Rooting might result in broken Wi-fi. So, flash back stock boot.img if your wifi is broken after rooting.
Video Guide
Downloads
MiUnlock Tool - http://xiaomi-miui-ota-3rdrom.ks3-c...1/3.3.525.23/miflash_unlock-en-3.3.525.23.zip
Latest ADB & Fastboot :- https://developer.android.com/studio/releases/platform-tools
Setup ADB and Fastboot (if above adb & fastboot do not work) - https://www.xda-developers.com/adb-fastboot-any-directory-windows-linux/
Android 9.0 Pie GSI Thread :- https://forum.xda-developers.com/pr...velopment/aosp-9-0-phh-treble-t3831915/page12
Android 9.0 Pie GSI Download Links :- https://github.com/phhusson/treble_experimentations/releases
Winrar (Windows) :- https://www.rarlab.com/
The Unarchiver (Mac):- https://theunarchiver.com/
@munchy_cool wow!!!, Thanks man. But sorry but i have to ask, did you try this on your A2 is it working fine without any issues?
crazykas said:
@munchy_cool wow!!!, Thanks man. But sorry but i have to ask, did you try this on your A2 is it working fine without any issues?
Click to expand...
Click to collapse
the A2 in the video is mine. I tried it for some time. Camera works, wifi works, sound works, charging works, couldnt check calls and lte as I am at work and cannot have my sim turned off for even a minute. But yes it works.
munchy_cool said:
the A2 in the video is mine. I tried it for some time. Camera works, wifi works, sound works, charging works, couldnt check calls and lte as I am at work and cannot have my sim turned off for even a minute. But yes it works.
Click to expand...
Click to collapse
much appreciated man!! Reason i asked this is i ****edup my phone before cause of that fastboot boot twrp > set active b slot thing. So my warranty covered me and gave a new phone. lol. BTW what do you mean by "cannot have my sim turned off for even a minute"? Finally it will be great if you can add how to flash back the stock rom as well.. Thanks mate :good:
crazykas said:
much appreciated man!! Reason i asked this is i ****edup my phone before cause of that fastboot boot twrp > set active b slot thing. So my warranty covered me and gave a new phone. lol. BTW what do you mean by "cannot have my sim turned off for even a minute"? Finally it will be great if you can add how to flash back the stock rom as well.. Thanks mate :good:
Click to expand...
Click to collapse
not sure how you bricked it but glad you got a new phone.
"cannot have my sim turned off"
So, I have only one sim which is in my work phone. to test LTE, data etc i will have to remove the sim from that phone and put it in the Mi A2. Now, I cannot do that as I cannot have my sim (phone number) turned off for even a minute due to work.
As for going back to stock. Download stock firmware, extract it and replace pie gsi img with system.img from factory firmware zip and you will be back to stock.
munchy_cool said:
not sure how you bricked it but glad you got a new phone.
"cannot have my sim turned off"
So, I have only one sim which is in my work phone. to test LTE, data etc i will have to remove the sim from that phone and put it in the Mi A2. Now, I cannot do that as I cannot have my sim (phone number) turned off for even a minute due to work.
As for going back to stock. Download stock firmware, extract it and replace pie gsi img with system.img from factory firmware zip and you will be back to stock.
Click to expand...
Click to collapse
How did i bricked my phone. Simple. First of all no desrepect for any dev, since i did this by my one. What i did was tried to flash unofficial twrp and fastboot set slot b did not worked. Once i reboot it got stuck on a bootloop. i couldn't flash xiaomi stock fastboot zip due to "critical partition flashing is not allowed" and before you asked yes my A2 was bootloader unlocked one. Unlock critical partition thing is not for our devices like for pixel series as far as i know. So simply i couldn't fix it, neither the software guy from my purchased center. That's why im afraid. I know you are besy, but highly appreciate if you can write down how to go back to stock guideline as well. Thanks again :good:
crazykas said:
How did i bricked my phone. Simple. First of all no desrepect for any dev, since i did this by my one. What i did was tried to flash unofficial twrp and fastboot set slot b did not worked. Once i reboot it got stuck on a bootloop. i couldn't flash xiaomi stock fastboot zip due to "critical partition flashing is not allowed" and before you asked yes my A2 was bootloader unlocked one. Unlock critical partition thing is not for our devices like for pixel series as far as i know. So simply i couldn't fix it, neither the software guy from my purchased center. That's why im afraid. I know you are besy, but highly appreciate if you can write down how to go back to stock guideline as well. Thanks again :good:
Click to expand...
Click to collapse
did you try fastboot set slot a, and then reboot? that should have fixed it.
As for a guide for going back to stock from Pie.
LIke i said.
dowload fastboot firmware from here.
https://forum.xda-developers.com/mi-a2/how-to/ota-v9-6-5-0-odimife-t3823445
extract the zip file. open images folder. grab system.img. put it in fasboot folder. and in step where we flash pie gsi image, flash the system.img you just pasted in fastboot folder.
munchy_cool said:
did you try fastboot set slot a, and then reboot? that should have fixed it.
As for a guide for going back to stock from Pie.
LIke i said.
dowload fastboot firmware from here.
https://forum.xda-developers.com/mi-a2/how-to/ota-v9-6-5-0-odimife-t3823445
extract the zip file. open images folder. grab system.img. put it in fasboot folder. and in step where we flash pie gsi image, flash the system.img you just pasted in fastboot folder.
Click to expand...
Click to collapse
Thanks man. Will try at night. Can't wait ????
MTP doesn't work.
Streect said:
MTP doesn't work.
Click to expand...
Click to collapse
It works. Enable it in Developer Tools.
Thank you very much for sharing, i will try it soon
---------- Post added at 10:02 AM ---------- Previous post was at 09:39 AM ----------
No problem on Linux? Simple adb /fastboot installed on Ubuntu
---------- Post added at 10:09 AM ---------- Previous post was at 10:02 AM ----------
Again: which one img do you choose, aonly or ab?
HTCDevil said:
Thank you very much for sharing, i will try it soon
---------- Post added at 10:02 AM ---------- Previous post was at 09:39 AM ----------
No problem on Linux? Simple adb /fastboot installed on Ubuntu
---------- Post added at 10:09 AM ---------- Previous post was at 10:02 AM ----------
Again: which one img do you choose, aonly or ab?
Click to expand...
Click to collapse
did you read the OP at all? it's mentioned step 1 which file you need.
How to install Gapps?
munchy_cool said:
[...]
Click to expand...
Click to collapse
Two things:
1) Thank you for the guide! You got yourself another subscriber on YouTube This is my first device that supports Treble. From your experience, how stable are GSI ROMs?
2) Update your signature
speedunderx said:
How to install Gapps?
Click to expand...
Click to collapse
i didnt get time to check that. may have to install some apks. maybe the same apks which are needed for amazon fire tablets to get play store working.
soulicro said:
Two things:
1) Thank you for the guide! You got yourself another subscriber on YouTube This is my first device that supports Treble. From your experience, how stable are GSI ROMs?
2) Update your signature
Click to expand...
Click to collapse
gsi's are pretty stable, check xda thread for bugs. will update signature soon
munchy_cool said:
did you read the OP at all? it's mentioned step 1 which file you need.
Click to expand...
Click to collapse
About my last question ok, i see on YouTube it is ab. Other question not answered yet. Thanks.
HTCDevil said:
About my last question ok, i see on YouTube it is ab. Other question not answered yet. Let him answer by itself. Thanks.
Click to expand...
Click to collapse
no problem on Linux.
munchy_cool said:
no problem on Linux.
Click to expand...
Click to collapse
Great, hope gapps work and camera is mostly Stable. Thank you
HTCDevil said:
Great, hope gapps work and camera is mostly Stable. Thank you
Click to expand...
Click to collapse
it does not have gapps. you may have to manually install some apks. try with apks needed for Play Store on amazon fire tablets.
if you figure those out, please let us know.

[ROOT][TB-X505X] Rooting Lenovo Tab M10 TB-X505X

This guide is now obsolete. Please check my new guide. It has a custom recovery for this device as well as a rooting guide. Refer to this guide only for installing adb and unlocking bootloader.
This rooting guide is for the Lenovo Tab M10 X505X only.
I plan to work on a custom recovery for this tab as well and probably a custom rom in the future.
So please consider donating so that I can keep up the work.
Donations
Google Pay
This will work only on the version "TB-X505X_S001037_200718_ROW". Check it in the Settings > System > About Tablet > Build Number. If it is the newer "X505X_S001038_200819_ROW", do a factory reset and make sure it is the "TB-X505X_S001037_200718_ROW" before proceeding.
Once a custom recovery is made, OTA updates can be applied without losing root. So do not update the tablet until a custom recovery is developed for the device. I plan to develop a custom recovery for it as soon as possible, so please support me.
Anything that goes wrong in this tutorial is not my responsibilty. Proceed at your own risk.
Downloads
patched_boot.img
Step 1. ADB and Fastboot Installation [If adb and fastboot are already installed, skip to Step 2]1. Download the platform tools for your OS from this link.
2. Extract the zip file and place the contents in a folder "platform-tools".
3. To confirm if adb is working, open a command prompt "platform-tools" and run the following command.
Code:
adb version
If it returns the adb version, its done.
Step 2. Unlocking BootloaderWe have to unlock the bootloader inorder to root the device.
Warning: Unlocking bootloader wipes data on the device. It is recommended to backup your data. Proceed at your own risk.
1. Now in the tab, goto Settings > System > About Tablet. Multiple tap the "Build Number" till the developer options are enabled.
2. Goto the developer options and turn on the "OEM unlocking".​3. Power off the device.
4. Turn it on by holding Power Button + Volume Down. Once the screen turns on. leave the power button but continue holding the Volume Down button until the fastboot mode is shown.
5. Now open a command prompt in "platform-tools" and now run the following command:
Code:
fastboot oem unlock-go
Your Bootloader is now succesfully unlocked.​Step 3. RootingNow to root the tab, download the "patched_boot.img" from the top of this post. Copy the file to the "platform-tools" folder.
Make sure the tab is still in the fastboot mode. Otherwise go back into the fastboot mode as instructed before.
Now run the following command:
Code:
fastboot flash boot patched_boot.img
Congratulations, you have rooted your tab.:highfive:
To complete the process, run the following command.
Code:
fastboot reboot
Once the tab turns on, goto this link and download the latest version of Magisk apk and install it. It is required to control the root privileges for other apps.​That's all. You now have a rooted tab.:victory:
If this helped you, hit the thanks button.
And keep tuned for new stuff that are to come for this device.
Thanks for this thread for the TB-X505X.
Shamil Niyas said:
I plan to work on a custom recovery for this tab as well...
I plan to develop a custom recovery for it as soon as possible...
Click to expand...
Click to collapse
Have a look at this post for a TWRP that works with the TB-X505F. It might work for the TB-X505X, provided the X505X uses the SDA429 soc. That version of TWRP is unofficial and does not decrypt the data partition.
If the X505F version of TWRP works for you, then you won't need to patch the boot image - you can just install the Magisk update.zip in TWRP. This saves you from having to release a new patched boot image every time there's an OTA.
Shamil Niyas said:
Once a custom recovery is made, OTA updates can be applied without losing root.
Click to expand...
Click to collapse
With the TB-X505F/L, TB-X605F/L and TB-X705F/L we've found that you need to uninstall Magisk to apply OTAs. This is because Lenovo's OTA updater scripts verify you have unmodified boot, system, vendor and firmware partitions. So make sure you backup these partitions as stock.
Yahoo Mike said:
Thanks for this thread for the TB-X505X.
Have a look at this post for a TWRP that works with the TB-X505F. It might work for the TB-X505X, provided the X505X uses the SDA429 soc. That version of TWRP is unofficial and does not decrypt the data partition.
If the X505F version of TWRP works for you, then you won't need to patch the boot image - you can just install the Magisk update.zip in TWRP. This saves you from having to release a new patched boot image every time there's an OTA.
With the TB-X505F/L, TB-X605F/L and TB-X705F/L we've found that you need to uninstall Magisk to apply OTAs. This is because Lenovo's OTA updater scripts verify you have unmodified boot, system, vendor and firmware partitions. So make sure you backup these partitions as stock.
Click to expand...
Click to collapse
I gave a look at the TWRP image. Unfortunately, X505X does not boot into the recovery image. It would have been great if it worked. I guess it is because of the different processor, as you mentioned.
It is the same for X505X as well. OTA cannot be applied without uninstalling Magisk. So I guess OTAs are a no-go until a custom recovery is developed. The latest update is also just a boot image patch. So there is no way to use magisk on that.
Thanks for the advice.
But i updated to android 10 S001122_200915
Sir, thanks for the thread.,
But unfortunately my version is S001122_200915 and u had posted patched boot_img for S001037 version. I dont want to downgrade. Please make a patched boot_img for this version.
Excuse me if this was asked before. Is there a rooting method for TB-X505F? It's the model that is sold in Europe. I'm thinking of buying this.
ShAd0W_z0nE said:
Excuse me if this was asked before. Is there a rooting method for TB-X505F? It's the model that is sold in Europe. I'm thinking of buying this.
Click to expand...
Click to collapse
This post has instructions for the X505F, under "How do I root my device?".
cYBER~VeTeRaN said:
Sir, thanks for the thread.,
But unfortunately my version is S001122_200915 and u had posted patched boot_img for S001037 version. I dont want to downgrade. Please make a patched boot_img for this version.
Click to expand...
Click to collapse
I'm currently working on the twrp for this device. Once it is finished it should be able to root without downgrading.
cYBER~VeTeRaN said:
Sir, thanks for the thread.,
But unfortunately my version is S001122_200915 and u had posted patched boot_img for S001037 version. I dont want to downgrade. Please make a patched boot_img for this version.
Click to expand...
Click to collapse
Hello cYBER-VeTeRaN,
I have compiled a TWRP for X505X. You can find it here. Install the magisk zip from TWRP and you should be able to root your tablet regardless of the verison.:victory:
Hit the thanks button.
Shamil Niyas said:
Hello cYBER-VeTeRaN,
I have compiled a TWRP for X505X. You can find it here. Install the magisk zip from TWRP and you should be able to root your tablet regardless of the verison.:victory:
Hit the thanks button.
Click to expand...
Click to collapse
Thanks sir. Great job and I'm also from kerala, nice to meet you
Good afternoon.
I have this version ( Build number TB-X505F_S001142_210804 ROW ) of Android on my Lenovo TB X505F.
Can you tell me if this method works with this version of Android?
jsvenancio said:
Good afternoon.
I have this version ( Build number TB-X505F_S001142_210804 ROW ) of Android on my Lenovo TB X505F.
Can you tell me if this method works with this version of Android?
Click to expand...
Click to collapse
[RECOVERY][TB-X505F][UNOFFICIAL] TWRP 3.6.x for Lenovo Tab M10 HD
This version of TWRP works on the Lenovo TB-X505F (wifi). For the TB-X505X, see this thread. For the TB-X605F/L, see this thread. For the TB-X606F/L, see this thread. The X606F/L is the second gen M10 and it uses a Mediatek SOC. #include...
forum.xda-developers.com
Twrp for x505f
Umm where it says to download my os there is no link provided. Same goes for fastbook it takes me tomyour old guide and then there is no link where a person would think they would find it. Am I stupid and missing something or all the links broke/missing ?
I'd prefer to be stupid.... Just saying..
tombaldwin6 said:
Umm where it says to download my os there is no link provided. Same goes for fastbook it takes me tomyour old guide and then there is no link where a person would think they would find it. Am I stupid and missing something or all the links broke/missing ?
I'd prefer to be stupid.... Just saying..
Click to expand...
Click to collapse
Check his new guide, just flash twrp and flash magisk from there
Guys, I am stuck in a Bootloop after i tried that with the patched boot img. Can someone help?
Tamiiiiiii812 said:
Guys, I am stuck in a Bootloop after i tried that with the patched boot img. Can someone help?
Click to expand...
Click to collapse
Download rom, extract boot.img from it and flash it. Makw sure you download the right version.
You can find the rom here:- https://mirrors.lolinet.com/firmware/lenovo/Tab_M10_HD/TB-X505X/
cYBER~VeTeRaN said:
Download rom, extract boot.img from it and flash it. Makw sure you download the right version.
You can find the rom here:- https://mirrors.lolinet.com/firmware/lenovo/Tab_M10_HD/TB-X505X/
Click to expand...
Click to collapse
OMG IT WORKED. Thank you.
Thanks bro. I found what I needed..
Shamil Niyas said:
1. Download the platform tools for your OS from this link.
Click to expand...
Click to collapse
yeah, where is the link?
Booe said:
yeah, where is the link?
Click to expand...
Click to collapse
Just search for platform tools and download it.
Guys, i tried the above mentioned method but my device is showing (can,t load android system. your data my be corrupt. if you continue to get this message, you may need to perform a factory data reset and erase all user data stored on this device) after performing a factory data reset the device reboots and the welcome menu shows up after 15-30 seconds the device automatically shut down and again shows the same message (can,t load android system. your data my be corrupt. if you continue to get this message, you may need to perform a factory data reset and erase all user data stored onnn this device). this goes again and again......

Categories

Resources