[Guide](Tmp/Permanent TWRP) Get Root and Xposed on MIUI 7/8 (Tested on Both) - Xiaomi Mi 4i

First and Foremost : If you think that i am a noob and you should not follow my guide then don't. If you do follow my guide then looks at my posts and threads from before.
******************************************************************
1 ) Stuff to Download ​Link to Mega Folder
^ This Folder Contains everything that you need to download for flashing and stuff
Link to ADB/Fastboot Instaler
^ For The actual flashing of recovery
^^ This Stuff Should Be installed/Downloaded before you do anything at ALL !!!
******************************************************************
- For Root/Xposed​1 ) Keep The Following files on your Internal Storage.
- xposed-v87-sdk21-arm64-MIUI-edition-by-SolarWarez-20161126.zip
- xposed-uninstaller-20150831-arm64.zip
- XposedInstaller_3.1.1.apk
- twrp-3.0.2-0-ferrari.img
- SR2-SuperSU-v2.79-SR2-20170103215521.zip
- Deep_Sleep for MIUI.zip
Keep This File on Your PC
- Twrp 2.x.img ( RENAME IT TO TW)
2 ) Connect Your Device to The Pc. Enable Developer Mode and USB Debugging Beforehand
- Go to the folder where your twrp file is located and press Shift+Right Mouse Button and choose open command window Here
3 ) Type in The Following Commands
adb reboot bootloader
Click to expand...
Click to collapse
fastboot boot TW.img
Click to expand...
Click to collapse
4 ) Soon TWRP will load up swipe to access it.
5 ) If You want to ROOT ONLY Then Only Flash SR2-SuperSU-v2.79-SR2-20170103215521.zip and Reboot.
6 ) If you want Xposed As well then flash xposed-v87-sdk21-arm64-MIUI-edition-by-SolarWarez-20161126.zip and Reboot
6 1/2 ) Flash The Deep Sleep Patch For Better Battery Life
If You reboot now TWRP will be Erased/Not Be Installed/Remain on Your Device. To Install It permanently Follow Below ​
7 ) If You want Permanent TWRP then go to Install And Click on Images Button and then select twrp-3.0.2-0-ferrari.img and Next Choose Recovery Partition. Then Reboot to recovery and You will see new and updated twrp.
******************************************************************
Boot back to The System
go to SuperSU and Set it Up
Go to File Manager and install Xposed and Install Modules.
******************************************************************
This Thread Will Be Updated With more Information Soon.

Related

[Vivo Xplay] 【05.28】cofface CWM 6.0.3.2 RECOVERY & ROOT&UNROOT (EASY) V2.0

[Vivo Xplay] 【05.28】cofface CWM 6.0.3.2 RECOVERY & ROOT&UNROOT (EASY) V2.0
Update 2013.05.28 by cofface
Blog:www.cofface.com
This should be the easiest way to root/unroot the oppo vivo xplay by now.
05.28 Update:
1.Support newest Rom Root/Unroot
2.Add newest superuser.apk
Recovery Feature:
1. Based on CWM 6.0.3.2
2. ROOT/Unroot your phone
3.Flash/Backup/Restore Roms;
.......
Thanks:
1、CM Team
2、xiao1u、supercurio、etc.
Just download the recovery and unzip it,used commands flash it.
HTML:
adb.exe reboot bootloader
fastboot.exe flash recovery cofface_recovery_en.img
fastboot.exe reboot
adb.exe reboot recovery
Download:
Link:http://d-h.st/aiA
cofface said:
Update 2013.05.28 by cofface
Blog:www.cofface.com
This should be the easiest way to root/unroot the oppo vivo xplay by now.
05.28 Update:
1.Support newest Rom Root/Unroot
2.Add newest superuser.apk
Recovery Feature:
1. Based on CWM 6.0.3.2
2. ROOT/Unroot your phone
3.Flash/Backup/Restore Roms;
.......
Thanks:
1、CM Team
2、xiao1u、supercurio、etc.
Just download the recovery and unzip it,used commands flash it.
HTML:
adb.exe reboot bootloader
fastboot.exe flash recovery cofface_recovery_en.img
fastboot.exe reboot
adb.exe reboot recovery
Download:
Link:http://d-h.st/aiA
Click to expand...
Click to collapse
Great !! :laugh:
is the CWM full english ?
questions about the vivo
how to backup original recovery and full system please?
where can i find the original rom for kitchen? i dont speack chinese and dont find system on http://www.vivo.com.cn/download-all-Xplay.html
can you build TWRP cutsom recovery ?
what is the next dev for vivo xplay ? cyanogenmod???
thanks for dev !!
doesn't work for me , fastboot sent package 9.576 kb , but when reboot , recovery don't change.
micordi said:
doesn't work for me , fastboot sent package 9.576 kb , but when reboot , recovery don't change.
Click to expand...
Click to collapse
The same for me.
vyming said:
The same for me.
Click to expand...
Click to collapse
solved with not replace recovery , just load.
try this:
adb reboot bootloader
fastboot boot cofface_recovery_en.img
and go down root/unroot your phone -> root your phone , back to menu and reboot
micordi said:
doesn't work for me , fastboot sent package 9.576 kb , but when reboot , recovery don't change.
Click to expand...
Click to collapse
micordi said:
solved with not replace recovery , just load.
try this:
adb reboot bootloader
fastboot boot cofface_recovery_en.img
and go down root/unroot your phone -> root your phone , back to menu and reboot
Click to expand...
Click to collapse
It works!!! Thanks a lot!!!
cofface said:
Update 2013.05.28 by cofface
Blog:www.cofface.com
This should be the easiest way to root/unroot the oppo vivo xplay by now.
05.28 Update:
1.Support newest Rom Root/Unroot
2.Add newest superuser.apk
Recovery Feature:
1. Based on CWM 6.0.3.2
2. ROOT/Unroot your phone
3.Flash/Backup/Restore Roms;
.......
Thanks:
1、CM Team
2、xiao1u、supercurio、etc.
Just download the recovery and unzip it,used commands flash it.
HTML:
adb.exe reboot bootloader
fastboot.exe flash recovery cofface_recovery_en.img
fastboot.exe reboot
adb.exe reboot recovery
Download:
Link:http://d-h.st/aiA
Click to expand...
Click to collapse
find bug in eng recovery :
usb mount not work
root not work complete but clockwork root fix that
why after root the ota update dont work?
Fantastic
very happy found
for amazing phone
Hi cofface
do you know how to go into the Engineer mode xplay?
also i feel the bluetooth volume very LOW anyone notice?
roooot succesfull
greaaaaaaaaaaaaaaaaat, thanks
gerardo66 said:
Hi cofface
do you know how to go into the Engineer mode xplay?
also i feel the bluetooth volume very LOW anyone notice?
Click to expand...
Click to collapse
use Mobileuncle MTK Tools , see on playstore
Thanks a Lot
cofface said:
Update 2013.05.28 by cofface
Blog:www.cofface.com
This should be the easiest way to root/unroot the oppo vivo xplay by now.
05.28 Update:
1.Support newest Rom Root/Unroot
2.Add newest superuser.apk
Recovery Feature:
1. Based on CWM 6.0.3.2
2. ROOT/Unroot your phone
3.Flash/Backup/Restore Roms;
.......
Thanks:
1、CM Team
2、xiao1u、supercurio、etc.
Just download the recovery and unzip it,used commands flash it.
HTML:
adb.exe reboot bootloader
fastboot.exe flash recovery cofface_recovery_en.img
fastboot.exe reboot
adb.exe reboot recovery
Download:
Link:http://d-h.st/aiA
Click to expand...
Click to collapse
Can anyone explain me what I've to do after downolading the zip file? I don't know what does it means those commands
Just download the recovery and unzip it,used commands flash it.
adb.exe reboot bootloader
fastboot.exe flash recovery cofface_recovery_en.img
fastboot.exe reboot
adb.exe reboot recovery
and how to use it
Thank you very much!
Here is a small toolkit to have listed for your xplay vivo created by nexgen , thx to him
Inside the kit you get this:
- CWM of cofface
- 3 links to update packs zip:
-tools.for.cwm
- The super su ClockworkMod and Chainfire
- The multi dpi playstore 4.1.10
- The apks of:
- AirDroid
- Density Changer
- FX file manager and root access
- More locale2
- adaway
- Quick Boot
- TouchPal Keyboard
- Batches for:
- Unlock the bootloader required the first time
- Lock the bootloader in case you need to return collateral
- Self boot into recovery
- Self fastboot boot mode will launch the CWM
Do not forget to be as debug for run .bat
Install software vivo on official site
to have the drivers installed
it is advisable to remove the directory directly at this address:
>>>> C :/ Vivo.Xplay.Toolkit-v1.1
enjoy
Link:
nexgen2infinity.com/work/Vivo.Xplay/Vivo.Xplay.Toolkit-v1.1.zip add www before link ( i can't post outside link)
I have VIVO XPlay from now on and gonna root it now.
Thanks for English version of the tools!
zs.vivo.com.cn , clic right 42mb
Thanks, so far so good. Rooted and application restored from my Meizu device's backup.
The only questions for now are:
how to change lockscreen picture and name? I see camomile and "Name" there and no settings to change them. Some additional app should be installed for this customization?
also I'd like to remove this ugly wide "Head Set Applications" bar...
Home screen, slide right and clic theme icon, can download more online
---------- Post added at 05:19 PM ---------- Previous post was at 05:13 PM ----------
you can edit your current unlock scren by, slide down on the picture, slide right and clic + ,you can change name (for all pictures) and add new picture
Thank you, concerning lockscreen avatar and name... What about this?
> I'd like to remove this ugly wide "Head Set Applications" bar...
Could someone please tell, which processes in VIVO Xplay can be safely uninstalled or at least provide their description? There is a lot of bloatware and useless battery drainers as I can see...
I also cannot figure out how to enter Recovery 2e without using cable connection to computer? When I press volume up and power buttons - I get to Recovery 3e, that is not good, because it checks for signatures and other stuff and I cannot apply any custom ROM I have found: only using computer each time and running adb stuff...I thought that I maybe would need to unlock bootloader for that, but running fastboot.oem.unlock.bat brings me to penguin in left top corner and the phone does not reboot itself: it is the same result as I get when I press volume down and power buttons. No key combination to get into Recovery 2e from the phone?
micordi said:
Here is a small toolkit to have listed for your xplay vivo created by nexgen , thx to him
Inside the kit you get this:
- CWM of cofface
- 3 links to update packs zip:
-tools.for.cwm
- The super su ClockworkMod and Chainfire
- The multi dpi playstore 4.1.10
- The apks of:
- AirDroid
- Density Changer
- FX file manager and root access
- More locale2
- adaway
- Quick Boot
- TouchPal Keyboard
- Batches for:
- Unlock the bootloader required the first time
- Lock the bootloader in case you need to return collateral
- Self boot into recovery
- Self fastboot boot mode will launch the CWM
Do not forget to be as debug for run .bat
Install software vivo on official site
to have the drivers installed
it is advisable to remove the directory directly at this address:
>>>> C :/ Vivo.Xplay.Toolkit-v1.1
enjoy
Link:
nexgen2infinity.com/work/Vivo.Xplay/Vivo.Xplay.Toolkit-v1.1.zip add www before link ( i can't post outside link)
Click to expand...
Click to collapse
Thanks micordi but please, explain hoeto use all this stuff and how to root and install CWM.
Sorry but I'm a noob and I don't want to do something wrong.
Thank you!

[Q] Im stuck in recovery

So I installed TWRP recovery backed up my stock os and flashed cyanagen mod 11
After a week or so I went in the cyanagen mod updates and started updating, everything worked
but now when I tried to flash in to my stock rom I go to recovery and I see that I have Clockwork revovery insted of TWRP
so I was stupid and i flahsed TWRP and didnt unistall clockwork mod
When i went in the recovery i had clockworkmod and then I rebooted and went in to TWRP
Now im stuck in 2 recoverys and cant go to cyanagen
I really need help
im using the LG G2 D802
gamehero said:
So I installed TWRP recovery backed up my stock os and flashed cyanagen mod 11
After a week or so I went in the cyanagen mod updates and started updating, everything worked
but now when I tried to flash in to my stock rom I go to recovery and I see that I have Clockwork revovery insted of TWRP
so I was stupid and i flahsed TWRP and didnt unistall clockwork mod
When i went in the recovery i had clockworkmod and then I rebooted and went in to TWRP
Now im stuck in 2 recoverys and cant go to cyanagen
I really need help
im using the LG G2 D802
Click to expand...
Click to collapse
I don't know if I understood you but just to be sure; you get in recovery mode CWM and on reboot TWRP?
I don't think you will like this solution but probably you will get your phone to work again xD (you will lose your data)
First of all you need:
- Android SDK bundle (google it, you will find it) on your Computer
- And a Rom you want to sideload (In your case the Cyanogen Rom)
- Cwm
Follow this steps:
1. go to the SDK bundle folder you downloaded -> go to sdk
-> go to platformform-tools
-> copy your ROM (ZIP-file) inside that folder
-> and name it to ROM.zip (so you won't need to write down a longname in cmd afterwards)
2. go to the SDK bundle folder you downloaded -> go to sdk
-> now press [shift] + [right mouse button] on platformform-tools (folder) to open cmd
3. Reboot your device into recovery mode (use cwm)
4. Go to “Mounts & Storage” and make sure that you can see “Unmount /sdcard/” and “Unmount /system/” (If they do not show this automatically, just press each one once respectively as pressing just toggles Mount and Unmount).
5. Now connect your device to the PC.
6. Once the phone is connected to the PC type “adb devices” in the cmd. If it returns a long alphanumeric string the phone is successfully connected in ADB mode. (if not look out for a usb driver for your phone; most time the problem lies in there)
7. Now type “adb push ROM.zip /sdcard/ROM.zip” (replace the word ROM if didn't named it)
8. This may take a while so be patient.
9. Once the process is complete you’ll see a message like <12345678kb to 1234567kb> on the cmd window.
10. Now unplug the device.
11. Go to the main screen of recovery and perform factory reset, wipe cache partition and then in advance menu wipe Dalvik cache. (Now you will lose your data for sure xD)
12. Now go to install zip from sdcard and choose the zip file you just transferred.
13. Once the process is complete, reboot the device
Hope this will help you.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If you use TWRP there are some similar step by step guides ( maybe you should look for sideload)
GuiltyGod said:
I don't know if I understood you but just to be sure; you get in recovery mode CWM and on reboot TWRP?
I don't think you will like this solution but probably you will get your phone to work again xD (you will lose your data)
First of all you need:
- Android SDK bundle (google it, you will find it) on your Computer
- And a Rom you want to sideload (In your case the Cyanogen Rom)
- Cwm
Follow this steps:
1. go to the SDK bundle folder you downloaded -> go to sdk
-> go to platformform-tools
-> copy your ROM (ZIP-file) inside that folder
-> and name it to ROM.zip (so you won't need to write down a longname in cmd afterwards)
2. go to the SDK bundle folder you downloaded -> go to sdk
-> now press [shift] + [right mouse button] on platformform-tools (folder) to open cmd
3. Reboot your device into recovery mode (use cwm)
4. Go to “Mounts & Storage” and make sure that you can see “Unmount /sdcard/” and “Unmount /system/” (If they do not show this automatically, just press each one once respectively as pressing just toggles Mount and Unmount).
5. Now connect your device to the PC.
6. Once the phone is connected to the PC type “adb devices” in the cmd. If it returns a long alphanumeric string the phone is successfully connected in ADB mode. (if not look out for a usb driver for your phone; most time the problem lies in there)
7. Now type “adb push ROM.zip /sdcard/ROM.zip” (replace the word ROM if didn't named it)
8. This may take a while so be patient.
9. Once the process is complete you’ll see a message like <12345678kb to 1234567kb> on the cmd window.
10. Now unplug the device.
11. Go to the main screen of recovery and perform factory reset, wipe cache partition and then in advance menu wipe Dalvik cache. (Now you will lose your data for sure xD)
12. Now go to install zip from sdcard and choose the zip file you just transferred.
13. Once the process is complete, reboot the device
Hope this will help you.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If you use TWRP there are some similar step by step guides ( maybe you should look for sideload)
Click to expand...
Click to collapse
So I got to step 4 and I see the mount system but I don't see umount sdcard
Then mount system or skip this part
5,6 and 7 are the most important part.
Can you push the Rom on your phone?
GuiltyGod said:
Then mount system :S
5,6 and 7 are the most important part.
Can you push the Rom on your phone?
Click to expand...
Click to collapse
adb push ROM.zip /sdcard/ROM.zip if I dont have the sdcard umonted will this still work?
I know I am repeating myself more or less (because I always edit my posts xD)
Well as long as you can push your file there shouldn't be sny problem
GuiltyGod said:
I know I am repeating myself more or less (because I always edit my posts xD)
Well as long as you can push your file there shouldn't be sny problem
Click to expand...
Click to collapse
so I wrote the command and it sad "5143kb/s «241840314 bytes in 45.912s»"
then i went install the zip and I can't find it
ok i went and mounted the data , pushed the file and installed it, thank you so much
But now i need to install the stock backup that I did with TWRP
That's pretty weird xD Because you get the message for a successful transfer but can't find the Zipfile.
You could try to push the Zipfile again and don't wipe anything at all (because you already wiped everything) and try to find the Zip file again to flash it.
Btw what does CWM gives you as options if you click install Zip files?
GuiltyGod said:
That's pretty weird xD Because you get the message for a successful transfer but can't find the Zipfile.
You could try to push the Zipfile again and don't wipe anything at all (because you already wiped everything) and try to find the Zip file again to flash it.
Btw what does CWM gives you as options if you click install Zip files?
Click to expand...
Click to collapse
it's all good now but now i have CWM and i need TWRP to install my stock backup
Watch this video (shows you how to change recovery in general):
http://m.youtube.com/watch?v=jnESTcH2ioA
And read this instructions if you still have some doubts and want to go for sure (recovery for LG2 D802):
http://forum.xda-developers.com/showthread.php?t=2472223
Sry I am a bit lazy right now xD Came back from work

[Q] Nex S killed while rooting

I followed this guide [GUIDE] MAC Rooting Nexus S (http://forum.xda-developers.com/nexus-s/general/guide-mac-rooting-nexus-s-t878446) until point
6) Open ROM Manager and choose "Flash ClockworkMod Recovery". At this point you are all set .
Click to expand...
Click to collapse
As Rom manager rebbot doesn't work, I installed Root checker and it told me thet the phone was not rooted properly. So I decided to follow another guide [HACK] Superboot Method for 2.3.2 (GRH78C) (http://forum.xda-developers.com/nexus-s/development/hack-superboot-method-2-3-2-grh78c-t927838).
Now the phone doesn't work! In other words when I press the power button the Google logo screen remains and Android doesn't start.
If i hold volume up and power button I gain the following:
Code:
Fastboot mode
Product name: Hearing
Hw version - rev 52
Bootloader version - I902XXLC2
Baseband version - I902XXKI1
Carrier info - EUR
Serial number - 3035...
Lock state - unlocked
and I can choose:
Code:
[LIST]
[*]Reboot bootloader
[*]Reboot
[*]Recovery
[*]Power off
[/LIST]
I think that the problem is that the phone is looking for the file "install-recovery.sh" that I renamed into "install-recovery.sh.old".
How can I reanimate my Nexus S?
Nicolaesse said:
I followed this guide [GUIDE] MAC Rooting Nexus S (http://forum.xda-developers.com/nexus-s/general/guide-mac-rooting-nexus-s-t878446) until point
As Rom manager rebbot doesn't work, I installed Root checker and it told me thet the phone was not rooted properly. So I decided to follow another guide [HACK] Superboot Method for 2.3.2 (GRH78C) (http://forum.xda-developers.com/nexus-s/development/hack-superboot-method-2-3-2-grh78c-t927838).
Now the phone doesn't work! In other words when I press the power button the Google logo screen remains and Android doesn't start.
If i hold volume up and power button I gain the following:
Code:
Fastboot mode
Product name: Hearing
Hw version - rev 52
Bootloader version - I902XXLC2
Baseband version - I902XXKI1
Carrier info - EUR
Serial number - 3035...
Lock state - unlocked
and I can choose:
Code:
[LIST]
[*]Reboot bootloader
[*]Reboot
[*]Recovery
[*]Power off
[/LIST]
I think that the problem is that the phone is looking for the file "install-recovery.sh" that I renamed into "install-recovery.sh.old".
How can I reanimate my Nexus S?
Click to expand...
Click to collapse
Find wuggs Nexus Root Toolkit... Read the thread and you'll have your phone back..
Sent from my OnePlus ONE
Setting.Out said:
Find wuggs Nexus Root Toolkit... Read the thread and you'll have your phone back..
Sent from my OnePlus ONE
Click to expand...
Click to collapse
Thanks, which is the option to choose?
I think 5 and then 3.
After reanimating the devide I'd like to install Kit Kat version of Android on it so I need a rooted smartphone.
1. Unlock the Bootloader
2. Flash ClockworkMod/TWRP Recovery
3. Root the Device
4. Lock the Bootloader
5. Flash Google Factory Image
6. Donate
0. Exit
Click to expand...
Click to collapse
Nicolaesse said:
Thanks, which is the option to choose?
I think 5 and then 3.
After reanimating the devide I'd like to install Kit Kat version of Android on it so I need a rooted smartphone.
Click to expand...
Click to collapse
I'm going to put it step by step using the Nexus root tool kit (NRTK)
1. download a flashable recovery of your choice (CWM 6.0.4.3 Philz 6.19.3 or TWRP 2.7.0 or higher on all these)
2. download the kitkat rom you want to install
3. download the Gapps that match the rom you chose ( if a 4.4.2 rom get a 4.4.2 gapps if 4.4.4 then 4.4.4)
4. boot your phone into bootloader / fastboot
5. connect your phone to your pc (it should recognize it)
6. open your NRTK and go to the advanced section and choose to temporarily boot custom recovery (this will be TWRP 2.6.3)
7. ON YOUR PHONE select mount usb
8. ON THE COMPUTER open the device/folder for your phone and create a new file on your SD card ( I called mine " !zip " this kept it ontop of the list of files) and copy the recovery, rom, and kernel to this folder.
9. ON YOUR PHONE unmount usb, return to the main menu screen and select install, find that folder you made and select the recovery zip that you copied and swype to install
10. after it installs (10seconds) return to the main menu, select reboot then reboot recovery ( you may get a warning about not having a rom or su, ignore both)
11. now you are on your KK compatible recovery (nearly there)
12. No matter which recovery you chose find the section to wipe or format your phone (DO NOT WIPE OR FORMAT YOUR SD CARD !!!! this will wipe everything off your phone and may make it hard / impossible to restore) and ONLY wipe or format system, cache, and dalvik partitions. On philz there is an option to wipe to install a new rom (this is a onestep version of the above)
13. return to the main menu page and select install, choose your rom and install, then your gapps and install ( if on TWRP you can select both by choosing the option to add a zip to flash)
14. the moment of truth, now that you have flashed both rom and gapps, you need to return to the main menu and select reboot and reboot system...
15. assuming you did all of this issue free, you are free to enjoy your phone..
*if you don't have your phone recognized by your computer / NRTK, you need to follow the instructions for NRTK to get the correct drivers for your computer
**if you are not clear on what you are doing, ask before you make a mistake
***Your custom rom will be pre-rooted, so no need to try to root it

Infinix Zero 5/Zero 5 pro (X603) TWRP Recovery 3.1.1 With OTA Support

Touch is Working Now. (Finally) with OTA Support only for zero5 indian varient
Join Telegram group for further development : https://telegram.me/infinixzero5
This is Ported TWRP Recovery from a same Mt6757 chipset model. which i used to port it for our Infinix X603.
Thanx @topjhonwu for magisk.
Thanx for @majorkid for making OTA supportable
TWRP for non indian and global version for necessary changes. (Need to test)
Warning:-
I am not responsible for bricked devices.
Your warranty will void now. Do it at your own Risk.
Unlocking Bootloader
- Make sure your Bootloader is Unlocked. If already unlocked jump to how to flash.
Process to unlocking.
1. go to settings/about phone/build number (tap build no for 7 time now developer option available in settings)
2. go to developer option turn on usb debugging and OEM unlocking.
3. then go to pc download and extract and copy adb fastboot driver folder in Drive C. (or install form net.)
4. Go in fastboot folder which is copied to C. press and hold shift key on your key board and click right key on your mouse it will show option open cmd here or open power shell window here.
5. Click it, A cmd or power shell window will open.
type "adb devices" - it show some no of your device just give permission from your phone screen)
type "adb reboot bootloader" your phone reboot in bootloader mode.
type "fastboot oem unlock" follow onscreen instruction on phone, press volume + to confirm. thats it but it will erase all your data.
Reboot phone by pressing power button for 10 sec. setup it as temporarily.
Flashing of TWRP
1. Download the Latest TWRP Recovery Image and extract it (Attached). Use correct version for your device for OTA support.
For India (Indian) For Global (Global)
(Insert a SD card in your phone to take stock boot.img backup it will required for OTA in Future.)
2. Go in adb fastboot folder which is copied to C. copy twrp_recovery.img here then press and hold shift key on your key board and click right key on your mouse it will show option open cmd here or open power shell window here.
3. Click it, A cmd or power shell window will open.
4. Flash it via fastboot cmd (fastboot flash recovery Twrp_recovery.img) don’t use bracket.
It will flash recovery on your phone. Now type fastboot reboot in cmd window and press and hold vol+ button and hit enter.
Phone will reboot in twrp recovery.
Note : After flashing first time it will ask for password due to phone is encrypted.
a. just cancel it and allow to modify system by swiping arrow at down and select 2nd last option at right side then select globe icon on right and chose your language English.
(First take Boot.img backup Via backup option in TWRP in SD Card. (bcz internal storage shows 0 mb here at this movement.) It will use for OTA so save it.
b. then flash magisk manager.zip file attached here. (it will remove dm-verity and force encryption from boot.img) and give root access.
c. then go to Wipe and select format Data it will erase all data on your internal storage. remember it will erase your data in ext4 format so go to wipe advance select data and change file system to f2fs. Ext4 data not supported by kernel so you got loop to recovery so It must to repair data in f2fs.
d. Done Reboot to recovery and you got mounted storage.
Another Method.
- Flash it via SP flash tool. (use version 5.1744 recommended)
How to use SP flash tool :
Install Vcom media tek driver on your pc.
More detail and download available on following link
https://spflashtool.com/
IF ANYONE GOT LOOP IN BETWEEN TO RECOVERY MEANS PROCESS NOT FOLLOWED PROPERLY.NOT BOOTING PHONE JUST FLASH STOCK RECOVERY. YOUR PHONE WILL BOOT THEN DO PROCESS AGAIN.
OTA-
1. When ota available just download it. Don’t start flashing.
2. Location of OTA downloaded file in Root so use any root file explorer.
3. File can be found in :-
a. Root/cache/update.zip
b. Root/data/data/com.google.android.gms/app_download/update.zip
4. Copy file name is update.zip to your sd card or phone memory.
5. Reboot to recovery and flash first stock boot.img which you already taken backup and saved before when flashing twrp.
6. now flash update.zip via TWRP (dont reboot after flashing otherwise you will currept your system)
7. After flashing update.zip, first again take backup of your boot.img for future ota update.
8. After taking backup of boot.img flash magisk.zip and reboot. (If you did not flash magisk then your data again encrypted and u lose all data)
6. Done you are on latest version.
Note:- Always remember to flash magisk.zip at last before reboot.
OTA SUPPORTABLE TWRP Link for zero 5 global varient by @majorkid -
https://androidfilehost.com/?fid=890129502657578792
OTA SUPPORTABLE TWRP Link for zero 5 pro global varient by [MENTION=7078341]majorkid[/
https://androidfilehost.com/?fid=890129502657578807
Update: Last updated on 27/01/2018 (With almost all stock stuff with OTA support)
Thank you for your efforts I don't know why but it didn't work (i searched and downloaded alot and it's the only recovery that gave me a response but the screen was flipped and the touch was disabled, also the stock recovery is working well)
XDAdeveeloopers said:
Thank you for your efforts I don't know why but it didn't work (i searched and downloaded alot and it's the only recovery that gave me a response but the screen was flipped and the touch was disabled, also the stock recovery is working well)
Click to expand...
Click to collapse
flip screen was old but i updated it with working twrp. is it showing vernee mix 2 name on top?
can you send screen shot.
its working perfectly.
just match the zip size which you downloaded (if it is 13.23 mb then it is old)
download current version attached above is 15.31 mb in size.
Screen Shot is also updated
Let me know your success.............................
flipped screen fixed !
Ok, now it's not flipped but the touch is still disabled
again, thank you for your efforts. I've attached the screenshots. it tells me to enter the password but the touch is disabled and i couldn't type anything.
At this stage only cancle button will work. Dont type anything just press cancle button.
It shows next screen.
I chek if issue is there.
Cancle is not working too
XDAdeveeloopers said:
Cancle is not working too
Click to expand...
Click to collapse
just use it as temp. bcz after flash touch not working.
Touch is disabled in kernel for recovery partation by infinix.
for temp use cmd.
fastboot boot recovery.img
will update soon..........
when i connect my mouse via otg or flash it temporarily it works fine except that it shows that the internal storage is 0mb and when i try to install something it tells me that it's unable to mount /data as rw
also can you tell me how to get the password required in the first screen ?
XDAdeveeloopers said:
when i connect my mouse via otg or flash it temporarily it works fine except that it shows that the internal storage is 0mb and when i try to install something it tells me that it's unable to mount /data as rw
also can you tell me how to get the password required in the first screen ?
Click to expand...
Click to collapse
Read OP carefully. You need to format data partition completly first time and need to patch boot img via lazy flasher.
Showing 0mb bcz it is encrypted. You can use memory card.
If you want root then go for magisk root till recovery updated.
OK, now I removed the encryption, installed magisk and the root worked but when I try to install busybox and some other apps it doesn't work. When I try to install supersu zip it doesn't work (extracting ramdisk failure aborting) , isn't there any way to install supersu in order to get apps working correctly?
XDAdeveeloopers said:
OK, now I removed the encryption, installed magisk and the root worked but when I try to install busybox and some other apps it doesn't work. When I try to install supersu zip it doesn't work, isn't there any way to install supersu in order to get apps working correctly?
Click to expand...
Click to collapse
which busybox your trying and what error.
currently supersu have some error with new devices. which version you tried it should be 2.82 or above.
I downloaded SuperSU-v2.82-201705271822.zip
Busybox pro 61
MagiskManager-v5.4.3.apk
XDAdeveeloopers said:
I downloaded SuperSU-v2.82-201705271822.zip
Busybox pro 61
MagiskManager-v5.4.3.apk
Click to expand...
Click to collapse
Use busybox form playstore stericson.
I downloaded both free and pro versions of stericson's busybox and neither of them worked.
Also I downloaded supersu 2.82 and it also didn't work.
Finally the Touch is updated and working now.
I enabled touch in kernel which is disabled for recovery partition.
XDAdeveeloopers said:
I downloaded both free and pro versions of stericson's busybox and neither of them worked.
Also I downloaded supersu 2.82 and it also didn't work.
Click to expand...
Click to collapse
System is encrypted.
Use magiskmanager beta 14.5 or flash lazyflasher via twrp then one time you need to wipe data partition.
Always remember when you flash orignal boot.img you need to flash lazyflasher or magisk otherwise your system will become encrypted again.
Thank you, now touch is working perfectly <3
XDAdeveeloopers said:
I downloaded both free and pro versions of stericson's busybox and neither of them worked.
Also I downloaded supersu 2.82 and it also didn't work.
Click to expand...
Click to collapse
you can use ndk busybox from magisk app there is option download module.
But currently there is problem with module with this phone. the data partition is in F2FS format and its kernel is not handling f2fs properly.
TWO option for use magisk module.
1. wait for kernel update via infinix. or
2. format data partition as Ext4 from twrp.
Super su does not work correctly with f2fs currently.
But when I format data partition it resets my phone
XDAdeveeloopers said:
But when I format data partition it resets my phone
Click to expand...
Click to collapse
yes formatting data will reset it.

root for Xperia XZS so-03j (Japan Docomo Variant)

Hello,
I got a Xperia XZS SO-03J (Japan Docomo Variant). Anybody got any ideas to root this device and any custom roms. Already searched the forum but no avail. Thank you for your help.
Japanese cellular version usually unable to unlock bootloader.but still some phones can unlock. if you have twrp ,you can install some rooted ROMs modified from official ROM.(btw you have to find a ROM can install without unlock bootloader)
sinkoo1979 said:
Hello,
I got a Xperia XZS SO-03J (Japan Docomo Variant). Anybody got any ideas to root this device and any custom roms. Already searched the forum but no avail. Thank you for your help.
Click to expand...
Click to collapse
if you have docomo ubl yes you can patch kernel manual , because it's different from Au,Global,Softbank
I've tried with x compact docomo ubl yes
I think first of all need to check whether the bootloader is unlockable or not
if you can UNLOCK the Japanese Xzs then
you can use this TWRP
https://dl.twrp.me/kagura/twrp-3.2.3-0-kagura.img.html
there is a depate that you can cross flash XZ's Android 6 to extract DRM keys! but i am not going to go that, as soon as you UNLOCK you bootload, TA partition will be GONE..
what is your build number?
download your build from FLASHTOOL---> Xperfirm and send me KERNEL.sin and i will send you the modded kernel
rest PROCESS you can Read (carefully) at
https://forum.xda-developers.com/xperia-xz/how-to/rooted-kernels-f8332-41-3-2-588-0-t3748987
its for XZ but applies to XZs too!
YasuHamed said:
if you can UNLOCK the Japanese Xzs then
you can use this TWRP
https://dl.twrp.me/kagura/twrp-3.2.3-0-kagura.img.html
there is a depate that you can cross flash XZ's Android 6 to extract DRM keys! but i am not going to go that, as soon as you UNLOCK you bootload, TA partition will be GONE..
what is your build number?
download your build from FLASHTOOL---> Xperfirm and send me KERNEL.sin and i will send you the modded kernel
rest PROCESS you can Read (carefully) at
https://forum.xda-developers.com/xperia-xz/how-to/rooted-kernels-f8332-41-3-2-588-0-t3748987
its for XZ but applies to XZs too!
Click to expand...
Click to collapse
YusaHamed this is my kernel https://drive.google.com/open?id=1mGpQOcWcuCfwp4U0wrt29HzERH5SQrTr
i need your help to mod this kernel, and then this is my build number 41.3.B.1.140
:fingers-crossed:
Amirai17 said:
YusaHamed this is my kernel https://drive.google.com/open?id=1mGpQOcWcuCfwp4U0wrt29HzERH5SQrTr
i need your help to mod this kernel, and then this is my build number 41.3.B.1.140
:fingers-crossed:
Click to expand...
Click to collapse
requesting you please
send me also these three files
/system/vendor/etc/fstab.qcom
/system/vendor/etc/init/hw/init.qcom.rc
/system/vendor/etc/init/hw/init.target.rc
there will be system.sin in that ftf,
convert it using FLASHTOOL > tool > sineditor > selected system.sin and click extract data, it will make 6gb file SYSTEM.ext4, open it with 7zip and locate the above three file and add in the goodle drive PLZ
Amirai17 said:
YusaHamed this is my kernel https://drive.google.com/open?id=1mGpQOcWcuCfwp4U0wrt29HzERH5SQrTr
i need your help to mod this kernel, and then this is my build number 41.3.B.1.140
:fingers-crossed:
Click to expand...
Click to collapse
FROM THIS LINK
https://mega.nz/#F!eRh0TSiQ!j6FNfTsHpkw8DECUNRF5QQ
kindly copy into SDCARD of your mobile the following files
1. magisk17.2
2. drmFix.zip
3. NightLight.zip (optional)
4. magisk MANAGER 6.0.1.apk
and
then FLASH twrp to your XZs by Connecting in to Fastboot mode (BLUE LED) and opening "MINIMAL ADB AND FASBOOT"
you can download it from here https://forum.xda-developers.com/showthread.php?t=2317790
Code:
in adb type
FASTBOOT DEVICE (then enter)
<it will show some hex code, confirming your device is in fastboot mode connected>
now type
FASTBOOT FLASH RECOVERY <and drag twrp image file from DESKTOP to your black cmd window... it will come as path>
press enter and flashing will be done
unplug device and press and hold volume down and power until you see twrp...
- keep system read only
- goto backup
- backup boot and swipe right, it will make boot backup in your sd card (it always recommended
- now goto install
- click flash IMAGE FILE button at bottom
- select KERNEL_CLEAN_41.3.B.1.140_XZs_SO-03J.img
- it will ask where to flash ... CHECK BOX "BOOT" ( BE CAREFUL )
- twrp will flash boot with provided kernel
- now click button FLASH ZIP file & flash DRMFIX.zip
- now flash Magisk17.x.zip
- now flash NIGHTLIGHT.zip (optional)
- clear cache
- poweroff and while powering off, select DONOT INSTALL TWRP.
press power on and let device boot, first boot may goto bootloops.
the device will now boot and check for MAGISK app in app drawer, if you can find it, GOOD, otherwise install MAGISK MANAGER 6.0.1.apk from your sd card
install rootchecker from playstore and check for root access
done
YasuHamed said:
FROM THIS LINK
https://mega.nz/#F!eRh0TSiQ!j6FNfTsHpkw8DECUNRF5QQ
kindly copy into SDCARD of your mobile the following files
1. magisk17.2
2. drmFix.zip
3. NightLight.zip (optional)
4. magisk MANAGER 6.0.1.apk
and
then FLASH twrp to your XZs by Connecting in to Fastboot mode (BLUE LED) and opening "MINIMAL ADB AND FASBOOT"
you can download it from here https://forum.xda-developers.com/showthread.php?t=2317790
Code:
in adb type
FASTBOOT DEVICE (then enter)
<it will show some hex code, confirming your device is in fastboot mode connected>
now type
FASTBOOT FLASH RECOVERY <and drag twrp image file from DESKTOP to your black cmd window... it will come as path>
press enter and flashing will be done
unplug device and press and hold volume down and power until you see twrp...
- keep system read only
- goto backup
- backup boot and swipe right, it will make boot backup in your sd card (it always recommended
- now goto install
- click flash IMAGE FILE button at bottom
- select KERNEL_CLEAN_41.3.B.1.140_XZs_SO-03J.img
- it will ask where to flash ... CHECK BOX "BOOT" ( BE CAREFUL )
- twrp will flash boot with provided kernel
- now click button FLASH ZIP file & flash DRMFIX.zip
- now flash Magisk17.x.zip
- now flash NIGHTLIGHT.zip (optional)
- clear cache
- poweroff and while powering off, select DONOT INSTALL TWRP.
press power on and let device boot, first boot may goto bootloops.
the device will now boot and check for MAGISK app in app drawer, if you can find it, GOOD, otherwise install MAGISK MANAGER 6.0.1.apk from your sd card
install rootchecker from playstore and check for root access
done
Click to expand...
Click to collapse
Thanks for the kernel mod, you mod it so fast that's so amazing
Anyway i will try it tomorrow, pray fo the kernel got stable
Before i use this kernel on this thread https://forum.xda-developers.com/xzs/development/root-xperia-xzs-t3726911
And i got unstable performance. Trying use kernel auditor not effect it and i decide to flash it back to normal again.
Amirai17 said:
Thanks for the kernel mod, you mod it so fast that's so amazing
Anyway i will try it tomorrow, pray fo the kernel got stable
Before i use this kernel on this thread https://forum.xda-developers.com/xzs/development/root-xperia-xzs-t3726911
And i got unstable performance. Trying use kernel auditor not effect it and i decide to flash it back to normal again.
Click to expand...
Click to collapse
I dont know about that thread
Seems like different process
Anways plz do try this and let me know
YasuHamed said:
I dont know about that thread
Seems like different process
Anways plz do try this and let me know
Click to expand...
Click to collapse
Sorry i take a long time to try it,
But i just try it n i can root my phone
for performance, not yet test it
no any trouble on process, but
i want to ask, what the use of nightlight?
Amirai17 said:
Sorry i take a long time to try it,
But i just try it n i can root my phone
for performance, not yet test it
no any trouble on process, but
i want to ask, what the use of nightlight?
Click to expand...
Click to collapse
This is a good news! , good to know that you were able to Root it.
i am sure you will find good performance.
nighlight makes your screen TINT different (reduces blue) which makes it easier on eyes while you browsing in night or from bed. blue light hurts eyes and brain and increases sleeplessness.
a shortcut toggle button next to FLASHLIGHT will appear (if arent already in your build) and display setting will have NIGHLIGHT FEATURE ENABLED- you can control the INTENSITY of this filter according to your needs
YasuHamed said:
FROM THIS LINK
https://mega.nz/#F!eRh0TSiQ!j6FNfTsHpkw8DECUNRF5QQ
kindly copy into SDCARD of your mobile the following files
1. magisk17.2
2. drmFix.zip
3. NightLight.zip (optional)
4. magisk MANAGER 6.0.1.apk
and
then FLASH twrp to your XZs by Connecting in to Fastboot mode (BLUE LED) and opening "MINIMAL ADB AND FASBOOT"
you can download it from here https://forum.xda-developers.com/showthread.php?t=2317790
Code:
in adb type
FASTBOOT DEVICE (then enter)
<it will show some hex code, confirming your device is in fastboot mode connected>
now type
FASTBOOT FLASH RECOVERY <and drag twrp image file from DESKTOP to your black cmd window... it will come as path>
press enter and flashing will be done
unplug device and press and hold volume down and power until you see twrp...
- keep system read only
- goto backup
- backup boot and swipe right, it will make boot backup in your sd card (it always recommended
- now goto install
- click flash IMAGE FILE button at bottom
- select KERNEL_CLEAN_41.3.B.1.140_XZs_SO-03J.img
- it will ask where to flash ... CHECK BOX "BOOT" ( BE CAREFUL )
- twrp will flash boot with provided kernel
- now click button FLASH ZIP file & flash DRMFIX.zip
- now flash Magisk17.x.zip
- now flash NIGHTLIGHT.zip (optional)
- clear cache
- poweroff and while powering off, select DONOT INSTALL TWRP.
press power on and let device boot, first boot may goto bootloops.
the device will now boot and check for MAGISK app in app drawer, if you can find it, GOOD, otherwise install MAGISK MANAGER 6.0.1.apk from your sd card
install rootchecker from playstore and check for root access
done
Click to expand...
Click to collapse
I have the same phone xzs docomo so-03j on the same build, is it ok if i flash this too or will it brick my phone? thank you
---------- Post added at 05:14 PM ---------- Previous post was at 05:10 PM ----------
Amirai17 said:
Sorry i take a long time to try it,
But i just try it n i can root my phone
for performance, not yet test it
no any trouble on process, but
i want to ask, what the use of nightlight?
Click to expand...
Click to collapse
How has it been? the performance? mine heats up akot when gaming and is even slower than my Softbank xperia xz I would like to root mine as well if it is good and if it is possible
other build number
YasuHamed said:
FROM THIS LINK
https://mega.nz/#F!eRh0TSiQ!j6FNfTsHpkw8DECUNRF5QQ
kindly copy into SDCARD of your mobile the following files
1. magisk17.2
2. drmFix.zip
3. NightLight.zip (optional)
4. magisk MANAGER 6.0.1.apk
and
then FLASH twrp to your XZs by Connecting in to Fastboot mode (BLUE LED) and opening "MINIMAL ADB AND FASBOOT"
you can download it from here https://forum.xda-developers.com/showthread.php?t=2317790
Code:
in adb type
FASTBOOT DEVICE (then enter)
<it will show some hex code, confirming your device is in fastboot mode connected>
now type
FASTBOOT FLASH RECOVERY <and drag twrp image file from DESKTOP to your black cmd window... it will come as path>
press enter and flashing will be done
unplug device and press and hold volume down and power until you see twrp...
- keep system read only
- goto backup
- backup boot and swipe right, it will make boot backup in your sd card (it always recommended
- now goto install
- click flash IMAGE FILE button at bottom
- select KERNEL_CLEAN_41.3.B.1.140_XZs_SO-03J.img
- it will ask where to flash ... CHECK BOX "BOOT" ( BE CAREFUL )
- twrp will flash boot with provided kernel
- now click button FLASH ZIP file & flash DRMFIX.zip
- now flash Magisk17.x.zip
- now flash NIGHTLIGHT.zip (optional)
- clear cache
- poweroff and while powering off, select DONOT INSTALL TWRP.
press power on and let device boot, first boot may goto bootloops.
the device will now boot and check for MAGISK app in app drawer, if you can find it, GOOD, otherwise install MAGISK MANAGER 6.0.1.apk from your sd card
install rootchecker from playstore and check for root access
done
Click to expand...
Click to collapse
why with different build number?
i have build number 41.3.B.1.113
or can i flash to global rom and what the side effect?
plz tell me how you root your xz. my xz 601so with allowed yes
Amirai17 said:
Sorry i take a long time to try it,
But i just try it n i can root my phone
for performance, not yet test it
no any trouble on process, but
i want to ask, what the use of nightlight?
Click to expand...
Click to collapse
Temporary root is now possible on the Xperia so-03j, I personally tested a few minutes ago.
Check this comment for instructions. And here instructions to create a launcher.
YasuHamed said:
FROM THIS LINK
https://mega.nz/#F!eRh0TSiQ!j6FNfTsHpkw8DECUNRF5QQ
kindly copy into SDCARD of your mobile the following files
1. magisk17.2
2. drmFix.zip
3. NightLight.zip (optional)
4. magisk MANAGER 6.0.1.apk
and
then FLASH twrp to your XZs by Connecting in to Fastboot mode (BLUE LED) and opening "MINIMAL ADB AND FASBOOT"
you can download it from here https://forum.xda-developers.com/showthread.php?t=2317790
Code:
in adb type
FASTBOOT DEVICE (then enter)
<it will show some hex code, confirming your device is in fastboot mode connected>
now type
FASTBOOT FLASH RECOVERY <and drag twrp image file from DESKTOP to your black cmd window... it will come as path>
press enter and flashing will be done
unplug device and press and hold volume down and power until you see twrp...
- keep system read only
- goto backup
- backup boot and swipe right, it will make boot backup in your sd card (it always recommended
- now goto install
- click flash IMAGE FILE button at bottom
- select KERNEL_CLEAN_41.3.B.1.140_XZs_SO-03J.img
- it will ask where to flash ... CHECK BOX "BOOT" ( BE CAREFUL )
- twrp will flash boot with provided kernel
- now click button FLASH ZIP file & flash DRMFIX.zip
- now flash Magisk17.x.zip
- now flash NIGHTLIGHT.zip (optional)
- clear cache
- poweroff and while powering off, select DONOT INSTALL TWRP.
press power on and let device boot, first boot may goto bootloops.
the device will now boot and check for MAGISK app in app drawer, if you can find it, GOOD, otherwise install MAGISK MANAGER 6.0.1.apk from your sd card
install rootchecker from playstore and check for root access
done
Click to expand...
Click to collapse
can i root my Xperia XZs AU version with these files that are attached in this post, or do i need different files ?
thank you @YasuHamed
5crypt said:
can i root my Xperia XZs AU version with these files that are attached in this post, or do i need different files ?
thank you @YasuHamed
Click to expand...
Click to collapse
Those files seem appropriate for stock rom release 41.3.B.1.140., so don't try unless you're running that specific version (quite outdated if you ask me).
But first make sure your bootloader can be unlocked. If that's the case, you may want to install a recent rom with root support, or check the guides for rooting stock rom. Be aware that with unofficial roms you might lose camera quality or have no cam support at all.
If you're stuck with an unlockable bootloader (like myself) your choices are much more limited. My current approach is having latest stock, disable bloatware apps, and use temporary root when needed.
thank you @dinosaur99 for your quick response, i got the one that cannot be unlocked, so i'm using the temp root method, but do you know how to gain temp root access without using adb (laptop or computer), and can i automate the temp root every after reboot ?
again thank you for your response, and looking forward from you
5crypt said:
thank you @dinosaur99 for your quick response, i got the one that cannot be unlocked, so i'm using the temp root method, but do you know how to gain temp root access without using adb (laptop or computer), and can i automate the temp root every after reboot ?
again thank you for your response, and looking forward from you
Click to expand...
Click to collapse
Good question! I wanted to create a launcher too!
So I just followed these instructions and it works fine. First you need to perform the following commands from computer (have a copy of the exploit file in working directory):
Bash:
adb push su98-memory-kallsyms /data/local/tmp/
adb shell
# Run this from inside the shell
chmod +x /data/local/tmp/su98-memory-kallsyms
/data/local/tmp/su98-memory-kallsyms
chcon u:object_r:system_file:s0 /data/local/tmp/su98-memory-kallsyms
Now reboot the phone, and the file /data/local/tmp/su98-memory-kallsyms should still be there. On your favourite console app, create a new terminal launcher/profile/whatever it's called and name it "Root terminal", then make it so it runs this command on shell login:
Bash:
/data/local/tmp/su98-memory-kallsyms
Note there's a trailing <Enter> key at the end of the command. I use Connectbot and it was necessary.
Cheers!
Edit:
By the way, the last line would be the equivalent to "sudo bash" in a computer. That means you can write a script with the root commands to be executed upon reboot. Example launcher:
Bash:
/data/local/tmp/su98-memory-kallsyms /data/local/tmp/my-script

Categories

Resources