How to root Miui 8 - Xiaomi Mi 4i

Guys I'm on global Miui 8 Global 6.7.5 beta. I tried to root and install twrp using mi4i rooting toolkit version 4. But it doesn't work. Previously on miui6 and miui7, I can root and install twrp using the mi4i toolkitV4. But now it doesn't work anymore when I upgraded to miui8.
Does anyone knows how to root miui8 global 6.7.5 beta?

Rooting
First you have to enable developer options. Then in developer options under debugging section turn on USB debugging and Fastboot Mode.
Then download TWRP. Rename it to twrp.img for ease.
https://dl.twrp.me/ferrari/twrp-3.0.2-0-ferrari.img.html
Install fastboot and adb drivers.
http://forum.xda-developers.com/showthread.php?p=48915118#post48915118
Download root zip file, and place it on internal storage.
https://download.chainfire.eu/696/supersu/
Open the folder on PC where twrp image is downloaded. Hold shift and right click on the window(not the file or folder). Then select open command window here. CMD will open.
Long press power button and volume down to boot into fastboot mode, connect it by USB.
Type in CMD: fastboot devices
If it shows a device is connected you are good to go! If not verify if the drivers are properly installed.
To just root and preserve Mi Recovery for OTA:
Type in CMD: fastboot boot twrp.img
this will boot into twrp to flash supersu.zip file and reboot.
To flash TWRP permanently:
type: fastboot flash recovery twrp.img
then reboot by long pressing power button then open TWRP by power button + vol up. Then flash supersu.zip

Thanks
Sent from my Mi 4i using XDA-Developers mobile app

Worked?
Did it work?

Sitaa said:
Did it work?
Click to expand...
Click to collapse
Yape!

Thanks for the article - will update and root tonight

The process:
update via OTA (hate this as my 16GB is insufficient - love all things M1 but hate the lack of external SD capability)
Reboots - it enters my old TWRP, and auto install update
Once it installs, and auto powerup, I turn on "fastboot mode" (developer option was already on) - a pain in the a55 due to the security prompt...
Power-off the device. Reboot to fastboot mode as per instruction above
I chose to retain M1 recovery, and so fastboot into TWRP to install SU.
Reboot
Tested with titanium backup - root works!
Thanks!!!
Love the new notification drawer, and memory management...

can i root my mi4i without instal twrp and still habe ota update if my phone rooted ?
thanks

Yes.
The OP posted 2 methods for using twrp near the end of his post.
For v7++, I could always ota despite having twrp onboard, instead of mi recovery. Not sure about this recent v8. Hence I used the first method above, preserving my recovery. Also, from my history of use. I never use twrp or recovery anymore, after rooting. No point having recovery backup as mi issues updates ofyen. I use titanium for backup of third party software only. Even then this is redundant since ota preserves software.

sharan.nyn said:
First you have to enable developer options. Then in developer options under debugging section turn on USB debugging and Fastboot Mode.
Then download TWRP. Rename it to twrp.img for ease.
https://dl.twrp.me/ferrari/twrp-3.0.2-0-ferrari.img.html
Install fastboot and adb drivers.
http://forum.xda-developers.com/showthread.php?p=48915118#post48915118
Download root zip file, and place it on internal storage.
https://download.chainfire.eu/696/supersu/
Open the folder on PC where twrp image is downloaded. Hold shift and right click on the window(not the file or folder). Then select open command window here. CMD will open.
Long press power button and volume down to boot into fastboot mode, connect it by USB.
Type in CMD: fastboot devices
If it shows a device is connected you are good to go! If not verify if the drivers are properly installed.
To just root and preserve Mi Recovery for OTA:
Type in CMD: fastboot boot twrp.img
this will boot into twrp to flash supersu.zip file and reboot.
To flash TWRP permanently:
type: fastboot flash recovery twrp.img
then reboot by long pressing power button then open TWRP by power button + vol up. Then flash supersu.zip
Click to expand...
Click to collapse
i followed the procedure, but it shows fastboot boot twrp.img can not be found

vijayk12 said:
i followed the procedure, but it shows fastboot boot twrp.img can not be found
Click to expand...
Click to collapse
Are you sure you installed ADB Fastboot drivers? and make sure you 'cd' to the directory where twrp.img is located or else it will say the file is not found.

You need to put the both fastboot and image files together in the same directory. Then open a MS prompt in this directory, and type the syntax to flash.

twrp not found??
sharan.nyn said:
Are you sure you installed ADB Fastboot drivers? and make sure you 'cd' to the directory where twrp.img is located or else it will say the file is not found.
Click to expand...
Click to collapse
twrp.img not found. now i have installed the adb drivers and verified as well by the "fastboot devices" command. now when i go to the this "fastboot devices twrp.img" command it says twrp not found. what to do?

Found the solution
monishalria said:
twrp.img not found. now i have installed the adb drivers and verified as well by the "fastboot devices" command. now when i go to the this "fastboot devices twrp.img" command it says twrp not found. what to do?
Click to expand...
Click to collapse
Rename the TWRP downloaded file to 'twrp' not 'twrp.img' as mention. and in command write ' fastboot boot twrp.img' as the downloaded file is already img i did it and worked for me.

Hi,
I manage to flash TWRP (i.e. sending recover =OKAY & writing recovery= OKAY).
Yet I could not manage to reboot by long pressing power button then open TWRP by power button + vol up.
Someone can help me?
Thank you in advance

sharan.nyn said:
First you have to enable developer options. Then in developer options under debugging section turn on USB debugging and Fastboot Mode.
Then download TWRP. Rename it to twrp.img for ease.
https://dl.twrp.me/ferrari/twrp-3.0.2-0-ferrari.img.html
Install fastboot and adb drivers.
http://forum.xda-developers.com/showthread.php?p=48915118#post48915118
Download root zip file, and place it on internal storage.
https://download.chainfire.eu/696/supersu/
Open the folder on PC where twrp image is downloaded. Hold shift and right click on the window(not the file or folder). Then select open command window here. CMD will open.
Long press power button and volume down to boot into fastboot mode, connect it by USB.
Type in CMD: fastboot devices
If it shows a device is connected you are good to go! If not verify if the drivers are properly installed.
To just root and preserve Mi Recovery for OTA:
Type in CMD: fastboot boot twrp.img
this will boot into twrp to flash supersu.zip file and reboot.
To flash TWRP permanently:
type: fastboot flash recovery twrp.img
then reboot by long pressing power button then open TWRP by power button + vol up. Then flash supersu.zip
Click to expand...
Click to collapse
Ia these steps can root my mi4i miui 8.0.1.0 global stable too?

farid0019 said:
Ia these steps can root my mi4i miui 8.0.1.0 global stable too?
Click to expand...
Click to collapse
Yeah of course it will work

same problem twrp.img
sharan.nyn said:
Are you sure you installed ADB Fastboot drivers? and make sure you 'cd' to the directory where twrp.img is located or else it will say the file is not found.
Click to expand...
Click to collapse
hey im facing the same problem that no such file or directory. U said cd to the directory. how do you do it. Please can u be specific. i dont know how to do it

zaid siddique said:
hey im facing the same problem that no such file or directory. U said cd to the directory. how do you do it. Please can u be specific. i dont know how to do it
Click to expand...
Click to collapse
https://www.google.co.in/amp/m.wikihow.com/Change-Directories-in-Command-Prompt?amp=1
Use this guide.

Tks for this great Rooting guid and twrp install on my mi4 \w/

Related

[Q] Can't root my Nexus S GT-I9020A

Hey Guys! Im a newbie so cut me some slack. I attempted to root my phone using Nexus Root Toolkit. I successfully unlocked the bootloader
But the root process would fail like sometimess when it restarts my nexus s then says its booting up but it wont ! So i take the usb out let it boot then when i try to continue it finishes but its not rooted. I get the Unlocked Bootloader thing at the bottom. Help?!!?
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Device:Nexus S GT-I9020a
JellyBean 4.1.2
BootLoader State:Unlocked
Rooted:No not successfully
Download superuser to usb, flash with Clockworkmod Recovery.
Stable Superuser ver 3.2 for Nexus S.
Check other superuser versions here
Follow this guide If you do not have Clockworkmod Recovery or want to learn step-by-step method; or simply download recovery-clockwork-5.0.2.0-crespo, unzip and flash with fastboot.
Code:
fastboot flash recovery recovery-clockwork-5.0.2.0-crespo.img
P/S: Install Android SDK Tools if you do not already have fastboot. Add Android SDK Platform Tools package via SDK Manager, and fastboot.exe is found in the following directory.
Code:
C:\Program Files\Android\android-sdk\platform-tools\
_android_ said:
Download superuser to usb, flash with Clockworkmod Recovery.
Stable Superuser ver 3.2 for Nexus S.
Check other superuser versions here
Follow this guide If you do not have Clockworkmod Recovery or want to learn step-by-step method; or simply download recovery-clockwork-5.0.2.0-crespo, unzip and flash with fastboot.
Code:
fastboot flash recovery recovery-clockwork-5.0.2.0-crespo.img
P/S: Install Android SDK Tools if you do not already have fastboot. Add Android SDK Platform Tools package via SDK Manager, and fastboot.exe is found in the following directory.
Code:
C:\Program Files\Android\android-sdk\platform-tools\
Click to expand...
Click to collapse
I tried to follow but the Img was down from MediaFire and My carrier is AT&T But im using a Telus sim
I had the same problem. I booted up and tried root dim and said I'm boot rooted.
I downloaded super-user from play store tried again and worked.
Hope this helps
Sent from my Nexus S using xda app-developers app
The link that I provided is the official recovery clockwork download link.
Superuser zip and Clockworkmod Recovery image work on Nexus S regardless of carrier and SIM.
Flash clockworkmod recovery via fastboot.
Download superuser zip to /sdcard and flash via clockworkmod recovery.
Joebizzle said:
I tried to follow but the Img was down from MediaFire and My carrier is AT&T But im using a Telus sim
Click to expand...
Click to collapse
Ok So I Unzipped it and what folder do i flash?
Joebizzle said:
Ok So I Unzipped it and what folder do i flash?
Click to expand...
Click to collapse
And can u dumb it down a little bit because Im really bad at this stuff ? Thanks
_android_ said:
The link that I provided is the official recovery clockwork download link.
Superuser zip and Clockworkmod Recovery image work on Nexus S regardless of carrier and SIM.
Flash clockworkmod recovery via fastboot.
Download superuser zip to /sdcard and flash via clockworkmod recovery.
Click to expand...
Click to collapse
This is kinda confusing can u use teamviewer and help me so you
can see my screen?
What stage are you in? Have you got clockworkmod-recovery installed?
I assume you are referring to superuser zip file. DO NOT unzip it, copy the zip file into your Nexus S sdcard, any folder.
Copy clockworkmod-recovery image file to C:\Program Files\Android\android-sdk\platform-tools\
1. Reboot into recovery: Power off, hold Vol-Up and long-press Power button. This should get you in FASTBOOT MODE
2. Flash clockworkmod recovery via fastboot: Go into Windows command prompt
Code:
cd C:\Program Files\Android\android-sdk\platform-tools\
fastboot flash recovery recovery-clockwork-5.0.2.0-crespo.img
3. Once fastboot is finished, choose "RECOVERY" option on FASTBOOT menu. That should put you in Clockworkmod Recovery menu.
4. Select "install zip from sdcard"->"choose zip from sdcard" and select the superuser zip file that you copied earlier.
5. Reboot and you should be rooted.
Hope this helps.
_android_ said:
What stage are you in? Have you got clockworkmod-recovery installed?
I assume you are referring to superuser zip file. DO NOT unzip it, copy the zip file into your Nexus S sdcard, any folder.
Copy clockworkmod-recovery image file to C:\Program Files\Android\android-sdk\platform-tools\
1. Reboot into recovery: Power off, hold Vol-Up and long-press Power button. This should get you in FASTBOOT MODE
2. Flash clockworkmod recovery via fastboot: Go into Windows command prompt
Code:
cd C:\Program Files\Android\android-sdk\platform-tools\
fastboot flash recovery recovery-clockwork-5.0.2.0-crespo.img
3. Once fastboot is finished, choose "RECOVERY" option on FASTBOOT menu. That should put you in Clockworkmod Recovery menu.
4. Select "install zip from sdcard"->"choose zip from sdcard" and select the superuser zip file that you copied earlier.
5. Reboot and you should be rooted.
Hope this helps.
Click to expand...
Click to collapse
OK
So it says sending recovery. But its just stuck on saying that and is it supposed to take long?
If you are on stock rom, clockworkmod recovery may be replaced by stock recovery upon each boot.
You can re-flash clockworkmod recovery each time you need it, or disable the recovery restoration. Search this forum for instruction on how to make recovery stick.
---------- Post added at 03:14 PM ---------- Previous post was at 03:10 PM ----------
Joebizzle said:
I tried the whole Command prompt thing but it says tgings ling fastboot is not a command so thats whats getting me stuck.
Thats why i was asking if you use teamviewer so u can control my pc from ur pc. Because im confused in install/ flashing via fastboot
Click to expand...
Click to collapse
Have you got Android SDK-tools installed? Did you install the "Platform Tools" package via SDK manager? fastboot.exe is not installed by default. You may want to install USB driver too. See attached picture.
Test if fastboot is available and working: plug nexus s to pc:
Code:
cd C:\Program Files\Android\android-sdk\platform-tools\
fastboot devices
If usb driver is working, you should see some device id being displayed.
Joebizzle said:
OK
So it says sending recovery. But its just stuck on saying that and is it supposed to take long?
Click to expand...
Click to collapse
Bump.
Joebizzle said:
Bump.
Click to expand...
Click to collapse
Please see previous post #11 to test if fastboot/usb driver is working. Nexus S must be in FASTBOOT MODE.
Install Google USB driver package from SDK manager if necessary.
_android_ said:
If you are on stock rom, clockworkmod recovery may be replaced by stock recovery upon each boot.
You can re-flash clockworkmod recovery each time you need it, or disable the recovery restoration. Search this forum for instruction on how to make recovery stick.
---------- Post added at 03:14 PM ---------- Previous post was at 03:10 PM ----------
Have you got Android SDK-tools installed? Did you install the "Platform Tools" package via SDK manager? fastboot.exe is not installed by default. You may want to install USB driver too. See attached picture.
Test if fastboot is available and working: plug nexus s to pc:
Code:
cd C:\Program Files\Android\android-sdk\platform-tools\
fastboot devices
If usb driver is working, you should see some device id being displayed.
Click to expand...
Click to collapse
Im just stuck on sending recovery
Joebizzle said:
Im just stuck on sending recovery
Click to expand...
Click to collapse
see post #13
_android_ said:
What stage are you in? Have you got clockworkmod-recovery installed?
I assume you are referring to superuser zip file. DO NOT unzip it, copy the zip file into your Nexus S sdcard, any folder.
Copy clockworkmod-recovery image file to C:\Program Files\Android\android-sdk\platform-tools\
1. Reboot into recovery: Power off, hold Vol-Up and long-press Power button. This should get you in FASTBOOT MODE
2. Flash clockworkmod recovery via fastboot: Go into Windows command prompt
Code:
cd C:\Program Files\Android\android-sdk\platform-tools\
fastboot flash recovery recovery-clockwork-5.0.2.0-crespo.img
3. Once fastboot is finished, choose "RECOVERY" option on FASTBOOT menu. That should put you in Clockworkmod Recovery menu.
4. Select "install zip from sdcard"->"choose zip from sdcard" and select the superuser zip file that you copied earlier.
5. Reboot and you should be rooted.
Hope this helps.
Click to expand...
Click to collapse
It says file not found?
Joebizzle said:
It says file not found?
Click to expand...
Click to collapse
Please be more specific.
To run fastboot and adb from any windows directory, you can copy the following from C:\Program Files\Android\android-sdk\platform-tools to c:\windows\system32
Code:
fastboot.exe
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
_android_ said:
Please be more specific.
To run fastboot and adb from any windows directory, you can copy the following from C:\Program Files\Android\android-sdk\platform-tools to c:\windows\system32
Code:
fastboot.exe
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
Click to expand...
Click to collapse
I think i got fastboot and bootloader mixed up...lol
Joebizzle said:
I think i got fastboot and bootloader mixed up...lol
Click to expand...
Click to collapse
All done?
_android_ said:
All done?
Click to expand...
Click to collapse
still stuck D:
Why is this soooooo hard.!?!?!

Unlocking Bootloader , Root all [OTA] Safe

Clean proccess to Unlock bootloader,And Root Yuphoria
How To Unlock Yu Yuphoria’s Bootloader –
Extract the adb_fastboot file in a new folder in your C:/ drive.
Power Off your phone.
While continuously pressing the Volume Up key, connect your phone to the PC/Laptop via USB cable.
You will get a black screen stating ‘Fastboot Mode’ at the middle.
As soon as you plug your phone into the PC, windows will start installing drivers all by itself. Please wait for the installation to complete.
After the drivers have been installed successfully, go to the folder where you have extracted adb_fastboot file.
While pressing the Shift key on your keyboard, right click in the folder and select ‘Open Command Prompt Here’. The command prompt will open up.
Now type the following command to check if your device has been detected in the fastboot mode.
fastboot -i 0x2A96 devices
You’ll get an error if the drivers aren’t installed successfully. However, if you don’t get any error, you may proceed to the next step.
Now, run the following command to unlock the bootloader.
fastboot -i 0x2A96 oem unlock
Now, run the following command to reboot your device to system.
fastboot -i 0x2A96 reboot
Now, that you have successfully completed the first step, let’s jump onto the next step.
How To Hotboot CWM Recovery –
Hotbooting is way of temporarily introducing a custom recovery in your recovery partition. As soon as you reboot your device, the custom recovery will be replaced by the stock cyanogen recovery.
Now, since we have to flash supersu zip from a hotbooted recovery, you first need to copy the supersu zip from the rooting kit to the sd card of your phone.
Now, copy the yuphoria-cwm-recovery file from the rooting kit to the folder where you extracted adb_fastboot.
Using the same old method, go to fastboot mode and open command prompt. Now, type the following command.
fastboot -i 0x2A96 boot yuphoria-cwm-recovery.img
The above command will boot your yuphoria into cwm recovery.
How To Root Yu Yuphoria By Flashing SuperSU –
Now that you are in cwm recovery, to flash SuperSu zip on your device, you need to follow these steps-
Select ‘Install zip from sd card’ and navigate to the place where you copied the SuperSU file.
Now, select ‘Yes’. It will flash the SuperSU zip on your phone.
You should now have root access on your phone. After rooting, it is recommended to install Busybox.
Download Busybox installer app from playstore and follow the instructions to install it.
Congratulations, you’ve rooted your Yu Yuphoria! Enjoy!
Note you can even flash Twrp.img
I have one doubt ,
Does unlocking bootloader will delete my user data or my internal memory?
Sent from my YU5010 using XDA-Developers mobile app
deep_gandhi said:
I have one doubt ,
Does unlocking bootloader will delete my user data or my internal memory?
Sent from my YU5010 using XDA-Developers mobile app
Click to expand...
Click to collapse
Yes it will erase ur internal memory ...
So better to make a backup of it....
---------- Post added at 08:02 AM ---------- Previous post was at 07:58 AM ----------
Sir can I use this method of booting in a recovery temporarily to do all the things a permanent recovery can do .....
Like can I make nandroid backup from it , can I install xposed from it without crashing and bootlooping , can I use apps like ROM manager ..........
I have already rooted and unlocked my bootloader of YU yuphoria by these steps ......
Thank you
Regards

Cannot root my mobile

I am using the root kit v3 the by magdag....
When I enable USB debugging and connect to the pc....
I have disabled the Mi pc suite....
Then opened the root toolkit..... And pressed 1....
Then my mobile doesn't ask for any permission.... And the toolkit doesn't detect the device.....
What should I do????
- Reboot the phone to fastboot manually
- Do the following command along with the boot.img in the toolkit:
"fastboot boot boot.img"
And wait
- Then the phone will be rooted and restart to system.
uteja said:
I am using the root kit v3 the by magdag....
When I enable USB debugging and connect to the pc....
I have disabled the Mi pc suite....
Then opened the root toolkit..... And pressed 1....
Then my mobile doesn't ask for any permission.... And the toolkit doesn't detect the device.....
What should I do????
Click to expand...
Click to collapse
Check whether ADB Driver installed properly or not,
Try killing Adb.exe from task manger.
If still not working then do manually as suggested by above post
Enable fastboot mode in developer option, and make sure you have entered fastboot mode.
I can't root ..plz help
Rooting
Jmmjmm said:
I can't root ..plz help
Click to expand...
Click to collapse
First you have to enable developer options. Then in developer options under debugging section turn on USB debugging and Fastboot Mode.
Then download TWRP. Rename it to twrp.img for ease.
https://dl.twrp.me/ferrari/twrp-3.0....rrari.img.html
Install fastboot and adb drivers.
http://forum.xda-developers.com/show...8#post48915118
Download root zip file, and place it on internal storage.
https://download.chainfire.eu/696/supersu/
Open the folder on PC where twrp image is downloaded. Hold shift and right click on the window(not the file or folder). Then select open command window here. CMD will open.
Long press power button and volume down to boot into fastboot mode, connect it by USB.
Type in CMD: fastboot devices
If it shows a device is connected you are good to go! If not verify if the drivers are properly installed.
To just root and preserve Mi Recovery for OTA:
Type in CMD: fastboot boot twrp.img
this will boot into twrp to flash supersu.zip file and reboot.
To flash TWRP permanently:
type: fastboot flash recovery twrp.img
then reboot by long pressing power button then open TWRP by power button + vol up. Then flash supersu.zip

[Root][Cwm Recovery] Zen Ultrafone u303 3G

For Rooting the device use kingoroot app either from pc or device.
follow the app instruction.
once rooted, you should take a backup using SP flash tools
Refer to this guide for a detailed instructions for taking a backup.
Now installing cwm recovery using fastboot method
1. you must have fastboot set up Guide here
2. After setting up you should be in C:\android\android-sdk-windows\platform-tools
3. Download and save the recovery.img from attachment to the folder
4. Right click on a blank space of the window to "Open command prompt here.
5. Connect your device to the PC. And type the following into the command window above to boot your device into bootloader/fastboot mode:
adb reboot bootloader
Click to expand...
Click to collapse
Next type
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
successfully boot into the new custom recovery.
from here if you want to change to supersu and remove kingosuperuser you can download from
supersu official site
paste in internal sdcard,
boot into cwm recovery
and flash the file.
press no, if the recovery asks to fix root.
Bugs
can't mount sd-ext.
more? you tell me.
Don't forget to Hit Thanks and give proper credit.

Need help to root into moto g3

Hi Team,
I was able to unlock the bootloader on motg3 and do a twrp img. However when I ran the command
adb reboot recovery it doesn't boot into the recovery img and it just says no command on the phone screen. Please help.
Thanks,
Arun
'No Command' means you've still got the stock recovery. Flash TWRP again by:
Code:
fastboot flash recovery twrp.img
(Where twrp.img is the filename of the custom recovery).
Do *not* reboot the phone into system, instead scroll down to select 'recovery' and press power button to load TWRP.
TWRP should load now, swipe to confirm modification (important). Now go to reboot>recovery. Allow the phone to reboot back to TWRP. Now you can select reboot>system and TWRP shall stick permanently.
Broadcasted from Zeta Reticuli
Volume buttons aren't working on the mobile. So I tried adb reboot recovery. But still it didn't boot into recovery. Here is what I had tried.
https://pasteboard.co/HhTTVr1n.png
TWRP will be overwritten by stock recovery if the system is booted up before booting TWRP once.
If the volume buttons are broken, then I'd suggest you first copy twrp.img into phone memory, boot the recovery by :
Code:
fastboot boot recovery.img
Allow modifications, then go to Install>Select Image (img), browse twrp.img on phone>select 'recovery' and swipe to flash.
Now reboot>recovery and then reboot>system. Now it should stick.
I'd recommend being extra careful if your volume button, especially volume down button is broken. If you somehow end up with a non-booting phone, you'd have no way (that I know of) to get to the bootloader mode.
Broadcasted from Zeta Reticuli
I tried fastboot boot recovery.img but it says waiting for device and nothing happens.
https://pasteboard.co/HhVmOD9.png
Make sure your phone is in the bootloader mode and is being recognized by the pc. Run:
Code:
fastboot devices
and make sure it returns with 1 entry of the device along with the text 'fastboot'. Then the command should work.
Broadcasted from Zeta Reticuli
arunkumar413 said:
Hi Team,
I was able to unlock the bootloader on motg3 and do a twrp img. However when I ran the command
adb reboot recovery it doesn't boot into the recovery img and it just says no command on the phone screen. Please help.
Thanks,
Arun
Click to expand...
Click to collapse
Make sure you have installed proper Motorola drivers & Fastboot on you're PC / laptop,
You can get those files from this thread https://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750
After installing proper drivers goto this thread https://forum.xda-developers.com/2015-moto-g/orig-development/twrp-twrp-moto-g-2015-t3170537 download & flash latest twrp by given instructions by OP..
I just checked the usb drivers page but there aren't any usb drivers for Linux.
https://mobilesupport.lenovo.com/us/en/solution/MS88481
I tried the command sudo fastboot boot recovery.img and it returned there is no such file or directory. Should recovery file be on phone or on the laptop. Also should all these commands be run from a specific folder either on phone or system?
[email protected] ~ $ sudo fastboot boot recovery.img
cannot load 'recovery.img': No such file or directory
[email protected] ~ $
arunkumar413 said:
I just checked the usb drivers page but there aren't any usb drivers for Linux.
https://mobilesupport.lenovo.com/us/en/solution/MS88481
I tried the command sudo fastboot boot recovery.img and it returned there is no such file or directory. Should recovery file be on phone or on the laptop. Also should all these commands be run from a specific folder either on phone or system?
[email protected] ~ $ sudo fastboot boot recovery.img
cannot load 'recovery.img': No such file or directory
[email protected] ~ $
Click to expand...
Click to collapse
Yes, the terminal should be open to the directory containing the recovery.img file. For simplicity, place twrp into your home folder. The default location for most terminals is home, so no worries about directory now.
Just to be sure, type in :
Code:
ls
(LS lowercase)
Your file should be in the list. You are ready to flash now.
Try the fastboot boot command again.
As you're using GNU/Linux (guessed it early from your screenshots), drivers should not be a problem, at least for this device; unless you are running a minimal or highly customised distro like Gentoo or Arch.
Note: And yes, you'll need another copy of TWRP inside phone storage to actually flash into the device, the PC one is just used to boot temporarily into TWRP.
Broadcasted from Zeta Reticuli
To add more clarity. There are two files here:
1) recovery.img
2)twrp.img
I was able to get the twrp.img file but where do I get the recovery.img file?
Hi All,
Thanks for all the help. I'm now able to root into the device.
arunkumar413 said:
To add more clarity. There are two files here:
1) recovery.img
2)twrp.img
I was able to get the twrp.img file but where do I get the recovery.img file?
Click to expand...
Click to collapse
I apologize for confusing you. They are the one and same. Just rename the downloaded TWRP img file to twrp.img and copy it over to both home folder in pc and into phone.
Use fastboot boot command on pc to temporarily boot up twrp in phone, allow modifications by swiping, go to Install>Install Image (img) option on the bottom>select the twrp.img inside the phone and flash it to 'recovery' partition.
Now reboot>recovery. This time the twrp should be permanently flashed and working properly. You are done.
Edit: Didn't see your last post, glad that you worked it out
Broadcasted from Zeta Reticuli
arunkumar413 said:
To add more clarity. There are two files here:
1) recovery.img
2)twrp.img
I was able to get the twrp.img file but where do I get the recovery.img file?
Click to expand...
Click to collapse
There can be only one either recovery.img file or twrp.img.....as you are trying to replace your stock recovery by TWRP... And you need .img file for this.... Just check the name there should be just one if you have TWRP.img then there is no need for recovery.img file
Hi All,
After I was able to flash twrp and root into the phone I switched off the phone and turned on after couple of days. But now the display isn't turning on. However adb is able to detect the device and also I was able to access the file system through usb. Could you please help me troubleshoot the display issue?
arunkumar413 said:
Hi All,
After I was able to flash twrp and root into the phone I switched off the phone and turned on after couple of days. But now the display isn't turning on. However adb is able to detect the device and also I was able to access the file system through usb. Could you please help me troubleshoot the display issue?
Click to expand...
Click to collapse
Try rebooting into the recovery mode by:
Code:
adb reboot recovery
And doing a Cache/ART cleanup.
If the phone boots up (it should vibrate) but the screen doesn't light up (not even a blank dark grey screen), then I'm afraid the display is at fault.
How to root moto g3
I try to root my motor but network has gone
Then how I root

Categories

Resources