Hi I've been trying to root this phone all day and I'm getting to the stage were this phone might fly out my window if i can get this sorted soon so I'm asking for some help with the issues I'm having i managed to unlock the phone i can boot into fast boot but i cant boot into twrp i have read numerous guides but I'm still stuck and Iv never really used command prompt either so I'm lost with that if anyone can talk me through this
Sent from my MI 5 using Tapatalk
Are you on miui MM or N?
I'm on miui global 8.2|stable 8.2.2.0 (naamieb)
Sent from my MI 5 using Tapatalk
I'm assuming you have usb debugging, adb drivers and all set up.
If you've set any password or pattern lock or PIN, remove it
Download this https://drive.google.com/open?id=0B8rqkXJNwRqLa1JIY1B5TGpkN2M
Extract to your desktop
Download latest twrp 3.1.0-x . Link is available in another thread in this forum
Place the downloaded image on your phone's internal memory
Power off and enter fastboot mode. Connect to your PC
Open the folder you had extracted earlier. Rename the recovery image to twrp.img
Press shift+right click and open command window
Execute this code
fastboot devices (to make sure if phone is being detected properly.)
fastboot boot twrp.img
Now it will boot into the recovery. The recovery is in chinese by default. In the main screen, select the sixth option which is settings, then select the rightmost tab on the next screen and change the language.
Next install the latest twrp image you had placed on phone memory earlier, select "Recovery" and reboot. You will have installed twrp permanently.
Then flash supersu 2.79 and you're set
when I extract the files it dosent create a folder just the files I can just make the folder but what do I name it also theres no recovery image file
casuk said:
when I extract the files it dosent create a folder just the files I can just make the folder but what do I name it also theres no recovery image file
Click to expand...
Click to collapse
Just create a new folder on desktop and extract to it. The file named ZCX-TWR-3.0.2-X... Is the image file which you need to rename to "twrp"
thanks mate I done that when I try to drag n drop the twrp-3.0.2-0-gemini file to my phone it it fails saying the device has either stopped responding or has been disconnected
casuk said:
thanks mate I done that when I try to drag n drop the twrp-3.0.2-0-gemini file to my phone it it fails saying the device has either stopped responding or has been disconnected
Click to expand...
Click to collapse
You're having issue with copying files to your phone storage?
Reinstall the Xaiomi drivers
how do I reinstall the drivers, also when the phone is connected to the pc if I go to the phone it says portable media player and its empty inside.
and when I go to command prompt and type fastboot devices I get a code then fastboot and then I type fastboot boot twrp.img it says could not load twrp.img : no error
I can't get this working i done all in you guide i have downloaded the drivers but still can't get by the phase i posted above what do i do next
Sent from my MI 5 using Tapatalk
It's okay if it shows portable media player but if it's not showing any files inside it, you have a problem. Go to developer options > enable USB debugging and click Revoke USB authorisations. Device drivers install automatically when the device is connected but you can get them seperately as well, just search for mi 5 drivers and install them. Now connect to PC and see if you can access files on your device. If you can, proceed with the guide I've given
When you say device drivers install automatically when the device is connected do you mean they install to the PC
Sent from my HTC One using Tapatalk
I have installed the drivers as far as I'm aware
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my HTC One using Tapatalk
Hi I'm still not able to install/flash twrp so i can root my device i think it's something to do with the device not the pc as phone storage is empty any ideas what i should do
Sent from my MI 5 using Tapatalk
download mi flash http://api.bbs.miui.com/url/MiFlash
install mi flash if you are on windows 8 or above, you need to disable driver singnature enforcement - how to? google it.
during mi flash installation some windows will pop up, just click install this driver anyway. after installation go to c: > xiaomiflash > source > thirdparty > google > android then shift + right click > open command window here. Power off your phone and boot into fastboot then connect to pc. On command window type fastboot devices if xxxxxxx fastboot or something show up on next line, you successfully install fastboot driver.
I have already done that and got f******9 fastboot
then I type fastboot boot twrp.img and I get
cannot load 'twrp.img' = no error
that's exactly what comes up in command prompt and that's as far as I can get also if I boot into recovery I get 3 options reboot, wipe or im assistant so twrp has not installed,
iv been at this for 3 days now and im not any further than I was back then
See if i factory reset my phone and start fresh would i loss my unlocked status
Sent from my MI 5 using Tapatalk
casuk said:
I have already done that and got f******9 fastboot
then I type fastboot boot twrp.img and I get
cannot load 'twrp.img' = no error
that's exactly what comes up in command prompt and that's as far as I can get also if I boot into recovery I get 3 options reboot, wipe or im assistant so twrp has not installed,
iv been at this for 3 days now and im not any further than I was back then
Click to expand...
Click to collapse
Try to install twrp, fastboot flash recovery xxx.img.
And if you want temporarily, fastboot boot recovery xxx.img.
If you are on miui, you must use zcx twrp or else it won't boot.
Good luck.
done as you say still no boot into twrp
casuk said:
done as you say still no boot into twrp
Click to expand...
Click to collapse
I think something is wrong with your twrp.img. Try redownloading. Use latest twrp from twrp.me or zcx from afh.
fastboot flash recovery xxx.img, then disconnect the phone. Press and hold power+vol_up until you see mi logo.
Related
Need help!
i wiped all my data accidentally on htc one im stuck at bootloader with no OS and i have no idea what to do. Now everytime i connect the usb to the computer but doesn't get recognized .
tulipkhan said:
Need help!
i wiped all my data accidentally on htc one im stuck at bootloader with no OS and i have no idea what to do. Now everytime i connect the usb to the computer but doesn't get recognized .
Click to expand...
Click to collapse
boot in recovery mode and use adb to push or sideload a rom
Then the computer will detect the phone ? Problem is that computer is not picking up the phone that I could copy the rom and get flashed reply plz
tulipkhan said:
Then the computer will detect the phone ? Problem is that computer is not picking up the phone that I could copy the rom and get flashed reply plz
Click to expand...
Click to collapse
like I said, boot in recovery and use adb to push or sideload a rom. Here are some very detailed instructions for you:
alray said:
HTC ONE M7_U/M7_UL - ADB PUSH & FLASH A ROM - DETAILED INSTRUCTIONS
Prerequisites:
You need ADB and FASTBOOT on your computer, either by installing the Android SDK or Minimal ADB and FASTBOOT
You need to know how to start a fastboot/adb command prompt:
To open a command window prompt, in Windows go to Start Menu --> ''Run'' then type cmd. Change the directory to the ADB folder on your machine:
If using the default install location for the SDK:
Code:
cd C:\adt-bundle-windows-x86_64-20130219\sdk\platform-tools
If using the default install location of Minimal ADB and FASTBOOT:
Code:
cd C:\Program Files (x86)\Minimal ADB and Fastboot
Or hold left shift + right click a blank space inside the folder where adb and fastboot are located and select ''Open command window here'' from the contextual menu.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You need TWRP recovery (2.6.3.3 or higher) on your device.
Unlock bootloader if not already unlocked:
Thanks to Electroz for the video tutorial
Flash TWRP Recovery:
Make sure the recovery.img file is in the same folder where adb and fastboot are located
reboot phone in bootloader mode
Flash the recovery:
Code:
fastboot flash recovery name_of_recovery.img
fastboot erase cache
fastboot reboot-bootloader
You need your HTC drivers correctly installed on your PC:
If not, follow this guide (thanks to nkk71):
originally from @nkk71: [GUIDE] [02-MAR-2014] nkk71's SuperGUIDE to returning 100% back to stock
follow the below instructions to fix
Open "Device Manager" -> select the unknown "One" -> right-click -> "Update Driver Software ..." -> "Browse my computer" -> "Let me pick" -> "Android USB Devices" -> select "My HTC ..." -> install that
just in case, HTC Drivers can be found here: [Drivers] HTC Drivers for Windows - Several Versions (credits to @mdmower)
though you should already have them since you have been using your phone anyways
for those who like a visual guide:
okay so I did a fastboot boot command, and as you can see it didnt install correct driver
Open "Device Manager"
there's the culprit
right click and Update Driver Software
select Browse my computer for driver software
select Let me pick from a list of device drivers on my computer
select Android USB Devices
select My HTC ... (if you have more than one version, choose the latest)
warning, select Yes
successful installation
now it looks better
and can confirm:
Code:
C:\ADB3>[B]adb devices[/B]
List of devices attached
HTxxxxxxxxxx recovery
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Procedure:
Make sure the ROM you want to flash is in the same folder where ADB and FASTBOOT are.
Here is a list of the HTC M7 roms
Connect your phone to computer using usb cable
Reboot phone in recovery mode (TWRP):
If phone is booted in OS:
Code:
adb reboot recovery
if not booted or bootlooping, hold power button + volume down until phone boot in bootloader mode
then select BOOTLOADER then RECOVERY using volume up/down to navigate and power button to select.
Make sure your phone is booted in TWRP main menu:
transfer the rom to your /sdcard folder:
Code:
adb push name_of_rom.zip /sdcard/
Wait for the zip file to transfer, this can take several minutes and there is no progress bar. When the command prompt give you back the hand and display how much bytes transferred in X seconds, the transfer is completed:
In TWRP main menu, select ''INSTALL''
Browse the installation menu and select your rom zip file inside /sdcard folder:
Swipe to confirm you want to flash the rom
Reboot phone
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Thanks ! will try your suggestions
Bro phone must be in fastboot mode? very completed for me
No network, imei, baseband information
Ok I also got the no OS installed notification. I have tried many different ROMs and all are giving me some sort of trouble. CM and liquid smooth both have NO mobile services working on them and viperone gets stuck in a boot loop! Someone please help
ARE YOU SEARCHING TO ROOT YOUR REDMI 2 ?
DISCLAIMER:DO THIS ON YOUR OWN. I'M NOT RESPONSIBLE FOR ANYTHING HAPPENS TO YOU AND YOUR DEVICE.PLEASE DONOT MIRROR THE LINKS
CLICK HERE FOR NATIVE ROOT
IF YOU ARE GETTING STOCK RECOVERY EVEN AFTER FLASHIN CWM, SEE THIS POST
STEP 1- FLASHING CWM ON YOUR PHONE
1.At first, you'll need the "adb" and "fastboot" tools. Get them HERE
2.Extract them into a folder, let's name it "Redmi2" (You can give your own name to the folder. That doesn't matter here.)
3.Now get the CWM .img file from HERE
You can use Philz Touch recovery also. Get HERE
4.Rename cwm.img or philz.img you downloaded above and as "recovery.img" and place it in the Redmi2 folder.
Now the folder will look like this-
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
5.Press and hold "shift" button and right click in the blank area of the folder and click on "open command promt window here". The command prompt will open.
6.Now turn off your Redmi2. Wait until it vibrates. After it's vibrated press and hold "Volume down and Power" keys together until it boots into "fastboot mode". Now connect the Redmi2 to your PC/Laptop through USB cable in fastboot mode itself.
7.Get to the command prompt now.
Now type: " fastboot devices " (without these- " " )
Like this-
8.Once you enter that command, you will get a non-empty name for the device meaning the device is connected. Proceed to enter the next command
9.Now enter the next command: " fastboot flash recovery recovery.img "
Like this-
10. Now this ends...
Type the last command: " fastboot reboot "
Like this-
11.Now your phone will reboot with ClockWorkMod(CWM) installed. CHEERS...
STEP 2- ROOTING YOUR PHONE
1. Firstly get the SuperSU.zip from HERE
2. Now copy the downloaded zip to your sdcard (not in any folder just in sdcard)
3. Boot into CWM recovery by turning off the phone and pressing "Volume UP and Power" button together after the phone vibrates.
4. Once CWM main menu is displayed, select "Install from zip" and browse to the zip that you downloaded earlier and select it.
5. Install the zip. If you get any warning, ignore and proceed.
6. After the installation is complete, reboot your device. (I think you can do that)
7. VOILA..!!! YOU ROOTED YOUR REDMI2
PLEASE HIT THANKS
JOIN OUR FACEBOOK GROUP HERE
CREDITS:
1. I don't claim any credit for "adb and fastboot tools" and the "recovery.img" and "SuperSu.zip"
2. Thanks to @subhrajiNath on Miui english forums who wrote the original guides.
Thread link is here and here
I cannot connect to device using adb on ubuntu.
Any Idea ?
I have opened a thread about this issue here
postadelmaga said:
I cannot connect to device using adb on ubuntu.
Any Idea ?
I have opened a thread about this issue here
Click to expand...
Click to collapse
I'm really sorry man..I've never used ubuntu But I wish to...
Join the FB group and ask there...Maybe it can be helpfull
? not flashing ?
noobpremium said:
I'm really sorry man..I've never used ubuntu But I wish to...
Join the FB group and ask there...Maybe it can be helpfull
Click to expand...
Click to collapse
Ok my fault, It looks I miss the notification MIUI that ask me to allow my pc to dev mode...
Now I have another issue:
After I flash the recovery with flashboot I reboot into recovery but I still have the default one ... not CWM any idea what could be wrong ?
( I have already did this procedure on another phone, same issue but after doing it a couple of time something make the difference )
postadelmaga said:
Ok my fault, It looks I miss the notification MIUI that ask me to allow my pc to dev mode...
Now I have another issue:
After I flash the recovery with flashboot I reboot into recovery but I still have the default one ... not CWM any idea what could be wrong ?
( I have already did this procedure on another phone, same issue but after doing it a couple of time something make the difference )
Click to expand...
Click to collapse
get "Flashify" app from playstore and first take backup of stock recovery and then flash the cwm with it. Thats it..
Actually I didn't knew this method before i made this guide..
Anyway, fastboot gives us a different feel, doesn't it? :v
wait I don't know flashify but it looks it needs root to flash the recovery ... but I think I need cwm to root ... so I think this is not gonna work ...
Ok got it, this may be useful to anybody face the issue with recovery:
I discovered you can workaround the issue in this way:
Temporary boot into CWM:
HTML:
fastboot boot recovery.img
Root the device using CWM
Flash CWM using flashify
[ CWM when you log out ask you for root so maybe it is not necessary to use the zip file ( but I'm not very expert so maybe I'm wrong)]
You can install GAPPS with CWM `gapps-kk-20140606-signed .zip` but be careful, whenever you update MIUI you will look all software installed using CWM. ( superSu and GAPPS for example )
thanks
thanks!
eienkisu said:
thanks!
Click to expand...
Click to collapse
Pleasure
Okay bro :good:
I'll update the OP
I confirm #postadelmaga the CWM recovery does not stay, the only way to do access it is the fastboot boot recovery.img Here's how I succeeded with two phones now.
power on, start wifi, do Miui updates
install ADB or the files above on PC
reboot to fastboot with voldown+pwr
now comes fastboot boot recovery.img
in CWM, sideload SuperSu and Gapps
connect you preferred VPN (if in China)
install and update all Google apps needed
delete most Chinese apps
hey i m unable to flash recovery plzz help
Device version 2014818
Sent from my 2014818
Hi buddy could you plz port touchwiz from galaxy prime?
The simpler solution is to use the xiaomi update tool and flash a developer rom that has builtin root.
http://xiaomi.eu/community/threads/5-4-10.27429/
howto & root from permissions menu:
https://watchpage.wordpress.com/201...redmi-note-4g-developers-roms-version-miui-6/
But to have the cwm running on the phone is always a safe bet for some recovery actions.
not working.
I tried this method. its stuck with flashing the recovery image. always showing flashing the recovery image.... that's all.
godwintgn said:
I tried this method. its stuck with flashing the recovery image. always showing flashing the recovery image.... that's all.
Click to expand...
Click to collapse
Are you on win7? I got this same issue on my win7... try on win8 it works flawlessly
Please hit thanks if done
Ya bro I am using Windows 7. I don't have Windows 8. Thanks for the info.
Shrihari007 said:
Hi buddy could you plz port touchwiz from galaxy prime?
Click to expand...
Click to collapse
TW sucks man.. why do you want it :/ anyways I'll try
leuk_he said:
The simpler solution is to use the xiaomi update tool and flash a developer rom that has builtin root.
http://xiaomi.eu/community/threads/5-4-10.27429/
howto & root from permissions menu:
https://watchpage.wordpress.com/201...redmi-note-4g-developers-roms-version-miui-6/
But to have the cwm running on the phone is always a safe bet for some recovery actions.
Click to expand...
Click to collapse
Thanks to you bro.. I'll update the OP for those who are facing some issues with my guide's precedure..
OP Updated
I've updated the OP with the other guide's link.. please check it out if you're having some issues with this one
godwintgn said:
Ya bro I am using Windows 7. I don't have Windows 8. Thanks for the info.
Click to expand...
Click to collapse
Try on some friend's PC or something
Hello people,
This is for Mi Note Pro (leo)
Disclaimer:
I'm not responsible for any devices being bricked, your device blowing up or world war 3 starting! You are doing this at your own risk.
Click to expand...
Click to collapse
A lot of people ask how to gain root on the Mi Note Pro without actually searching the posts so I decided to make a quick tutorial on how to do it. This is the way I have done it and I have found it to be the easiest way!
1st Method (THE EASIEST AND SAFEST!)
1. Go to http://en.miui.com/download-273.html and download the Developer ROM
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. If you have downloaded the file through your phone it will be in the Download folder, if not plug your phone into the PC and move the .zip file over to your device.
3. Open Updater app, tap on 3 dots to open the menu and tap on Choose update package
4. Navigate to where you have put in the zip file and click on it and let the phone update. (This will wipe all your data apart from pictures etc.)
5. Once it has loaded go through the setup. Open Security app > Permissions > Root Access.. There you are all done
Make sure you open an app that requires root access first before going to Security app as it will not show up on there.
2nd Method (Advanced Users!)(Temporary TWRP Recovery)
Requirements:
fastboot driver (Link attached)
twrp.img - https://mega.nz/#!nR0jHZqL!2cksl ... 5H76ut8UVtnu97HHAEo
supersu - https://download.chainfire.eu/740/SuperSU/BETA-SuperSU-v2.49.zip
common sense
mi note pro!
1. First of all download all the things you need. Which are fastboot driver, twrp and supersu. All links are above ^ Copy SuperSu over to your device and keep other files on your PC
2. Power off your device and turn it back on by holding Power button and Volume Down at the same time. This will get you into fastboot menu.
3. Woohoo great now what you will have to do is plug your phone to your PC using a usb cable.
4. Open up the Command Promt and navigate to the location of your fastboot driver. Mine is C:/adb so I would type cd C:/adb in the command promt
5. Now type in fastboot devices just to make sure that your device is listed correctly.
6. Extract the TWRP zip so you have just the .img file. Place it inside same folder as fastboot. I tend to rename it to twrp.img (makes lifes easier)
7. Type fastboot boot twrp.img
8. Now your phone should boot into TWRP!! Go to install and flash the SuperSU zip.
9. Reboot and you are all rooted with Stock Recovery and Stable ROM!
3rd Method (Advanced Users!)(Permanent TWRP Recovery)
Requirements:
fastboot driver
twrp.img - https://mega.nz/#!nR0jHZqL!2ckslQxV-ODWnswRYpfDCp2M5H76ut8UVtnu97HHAEo
supersu - https://download.chainfire.eu/740/SuperSU/BETA-SuperSU-v2.49.zip
common sense
mi note pro!
1. First of all download all the things you need. Which are fastboot driver, twrp and supersu. All links are above ^ Copy SuperSu over to your device and keep other files on your PC
2. Power off your device and turn it back on by holding Power button and Volume Down at the same time. This will get you into fastboot menu.
3.Woohoo great now what you will have to do is plug your phone to your PC using a usb cable.
4. Open up the Command Promt and navigate to the location of your fastboot driver. Mine is C:/adb so I would type cd C:/adb in the command promt
5. Now type in fastboot devices just to make sure that your device is listed correctly.
6. Extract the TWRP zip so you have just the .img file. Place it inside same folder as fastboot. I tend to rename it to twrp.img (makes lifes easier)
7. Type fastboot flash recovery twrp.img
8. Now your phone should boot into TWRP!! Go to install and flash the SuperSU zip.
9. Reboot and you are all rooted with TWRP recovery, the only problem is that your OTA updates will break. You can flash them manually, when Updater downloads an update go into TWRP>Install and navigate to downloaded_rom folder
In case you need to go back to stock Recovery because you have flashed TWRP Permanently please follow instructions on this thread.http://en.miui.com/thread-124319-1-1.html
GREAT! EASY!
Need to wipe cache or data?
Nope no need to do that
nice thanks for the advice
I followed ur step but no show root access...
Did I miss anything?
Absent6775 said:
I followed ur step but no show root access...
Did I miss anything?
Click to expand...
Click to collapse
Yea step 5
Absent6775 said:
I followed ur step but no show root access...
Did I miss anything?
Click to expand...
Click to collapse
Well their Root Access works a bit different to SuperSU instead of popping up with a box promting you to give root access what you have to do is open the app the requires root access, do an action that needs root access then you go to Security > Premissions > Root Access and you have to grant it then.
Is only way to root to do a full wipe?
Can we still do normal updates after installing this developer rom?
Yup you get newest weekly updates and they work perfectly fine! I'm on 5.7.2 currently
Updated.
Is it equally safe to flash the latest 1.0.0 supersu from chainfire? Is there any compatibility constraints? or are all version compatible with all devices? thanks for shedding some light into this
Can you use Flashify and install twrp and supersu or is supersu not needed using method 1? ?
sent from mobile thingy
Super su is not needed using method 1 as they use their own root manager.
Kahun said:
Super su is not needed using method 1 as they use their own root manager.
Click to expand...
Click to collapse
How to unroot in method 2 ?
Incase I want to sell this phone so the warranty still valid to the new owner.
deddo86 said:
How to unroot in method 2 ?
Incase I want to sell this phone so the warranty still valid to the new owner.
Click to expand...
Click to collapse
Just flash stable ROM.
Added a permanent recovery method but "might" break OTA
Problem with Method 1
Hi People /Mr. Kahun ,
I'm absolutely new but i would like to root my :
Mi Note Pro
Android 5.0.2.
MIUI 66.55.44.00
because some original programs make me creasy . I tried method 1. I followed your steps, i downloaded different DEVELOPER Rom (5.9.10 and 5.9.17) , but i had always with the step 4 the message GETTING INFO ..... and this is the end of the process .....
PLEASE PLEASE tell ma what can i do to root the device .
Thank you in advance
Try installing HappyMIUI rom from the android development section.
i don't know how to install .....i will try method 2.
thank you Kahun!
where can i find the fastboot driver (Link is NOT attached)
hey guys.
My M7 is stuck in the bootloop. I tried to install a new rom like 2 years ago and it didnt worked out, but i already had a new phone, so i didnt care too much. now id like to reactivate my old m7 but dont know how.
here is a link to a picture of my fastboot
imgur.com/tzQe7Xi
Im running Windows 10 on my computer
thanks in advance
zuppiger said:
hey guys.
My M7 is stuck in the bootloop. I tried to install a new rom like 2 years ago and it didnt worked out, but i already had a new phone, so i didnt care too much. now id like to reactivate my old m7 but dont know how.
here is a link to a picture of my fastboot
imgur.com/tzQe7Xi
Im running Windows 10 on my computer
thanks in advance
Click to expand...
Click to collapse
Boot into fastboot mode and install the latest version of TWRP, which is 2.8.7.0. You can download it from the TWRP official website.
Code:
fastboot flash recovery recovery-file-name.img
Boot into recovery and connect your phone to the PC.
Download any ROM from the forum, transfer it to the phone and flash it. Don`t since we don`t know anything about your previous ROM wipe cache, dalvik, data and system before flashing your chosen ROM.
Since you`re S-On, extract the boot.img file from the ROM zip and flash it manually in fastboot mode
Code:
fastboot flash boot boot.img
Reboot phone and enjoy.
proone said:
Boot into fastboot mode and install the latest version of TWRP, which is 2.8.7.0. You can download it from the TWRP official website.
Code:
fastboot flash recovery recovery-file-name.img
Boot into recovery and connect your phone to the PC.
Download any ROM from the forum, transfer it to the phone and flash it. Don`t since we don`t know anything about your previous ROM wipe cache, dalvik, data and system before flashing your chosen ROM.
Since you`re S-On, extract the boot.img file from the ROM zip and flash it manually in fastboot mode
Code:
fastboot flash boot boot.img
Reboot phone and enjoy.
Click to expand...
Click to collapse
No need to extract anything. S-on doesn't matter for kernel flashing on this phone. So, flash ROM.zip and enjoy
proone said:
Boot into fastboot mode and install the latest version of TWRP, which is 2.8.7.0. You can download it from the TWRP official website.
Code:
fastboot flash recovery recovery-file-name.img
Click to expand...
Click to collapse
Code:
fastboot flash recovery recovery-file-name.img
fastboot erase cache
fastboot reboot-bootloader
Always erase the cache and reboot the bootloader after flashing a recovery to avoid problems booting the recovery.
Download any ROM from the forum
Click to expand...
Click to collapse
"any ROM" from the forum won't work on his phone. For example, his actual firmware is way to old to run roms based on Sense + Lollipop. With this firmware version (2.24.401.8), he is limited to JellyBean or Kitkat Roms.
Since you`re S-On, extract the boot.img file from the ROM zip and flash it manually in fastboot mode
Code:
fastboot flash boot boot.img
Reboot phone and enjoy.
Click to expand...
Click to collapse
Won't hurt but not needed on the M7 (unlike some other HTC phones). The kernel partition isn't secured and is flashed with the rom from twrp.
@zuppiger
If you want the phone back to stock and be able to intall ota updates (or if you want to install a custom lollipop + sense rom), flash this rom using twrp recovery. Select "yes" for stock recovery and stock radio, select "no" to root. then reboot the phone to the OS, install all the ota updates (a lot) until your version is 7.19.401.30. Then you can use the phone like this or you'll be ready to flash a lollipop custom rom. Otherwise you can go like suggested above but with older (JB or KitKat) Sense rom or any CM/AOSP roms.
Thanks guys.
but i think i might need some more help.
i downloaded the sdk manager to install TWRP, but when i try to write "adb reboot bootloader" it says "is not recognized as an internal or external command, operable program or batch file" (not entirly sure if this is the correct translation, in german it says the command is either wrong or could not be found)
i think it could be because of some driver issues.
any advice??
zuppiger said:
Thanks guys.
but i think i might need some more help.
i downloaded the sdk manager to install TWRP, but when i try to write "adb reboot bootloader" it says "is not recognized as an internal or external command, operable program or batch file" (not entirly sure if this is the correct translation, in german it says the command is either wrong or could not be found)
i think it could be because of some driver issues.
any advice??
Click to expand...
Click to collapse
Download the android sdk tools:
https://developer.android.com/sdk/index.html#Other
Make sure you have the latest htc drivers installed:
http://www.mediafire.com/download/2lyl151pt5pah2v
Make sure you don't have HTC Sync installed on your computer, if yes, uninstall it since it will interfere with fastboot/adb commands
To use adb or fastboot commands, open a command window from the same folder where adb.exe and fastboot.exe are located on your computer (C::\Programs\Android SDK Tools\platform-tools). To start a command window from this folder, hold your left "shift" key and right click a blank space in that folder, then in the contextual menu, select "open a command window here".
Don't forget that adb commands can only works when the phone is booted in the OS with "USB debugging" turned on from the developer option menu or from a custom recovery. Fastboot commands only works from the bootloader (in the fastboot menu).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
alray said:
Download the android sdk tools:
https://developer.android.com/sdk/index.html#Other
Make sure you have the latest htc drivers installed:
http://www.mediafire.com/download/2lyl151pt5pah2v
Make sure you don't have HTC Sync installed on your computer, if yes, uninstall it since it will interfere with fastboot/adb commands
To use adb or fastboot commands, open a command window from the same folder where adb.exe and fastboot.exe are located on your computer (C::\Programs\Android SDK Tools\platform-tools). To start a command window from this folder, hold your left "shift" key and right click a blank space in that folder, then in the contextual menu, select "open a command window here".
Don't forget that adb commands can only when the phone is booted in the OS with "USB debugging" turned on from the developer option menu or from a custom recovery. Fastboot commands only works from the bootloader (in the fastboot menu).
Click to expand...
Click to collapse
Thanks. I installed everything like explained.
It worked better this time, but now I get "waiting for device".
On the phone itself it says "FASTBOOT USB"
zuppiger said:
but now I get "waiting for device".
Click to expand...
Click to collapse
When using what command?
alray said:
When using what command?
Click to expand...
Click to collapse
"fastboot flash recovery c:\twrp.img"
zuppiger said:
"fastboot flash recovery c:\twrp.img"
Click to expand...
Click to collapse
what is the output of "fastboot devices" ?
alray said:
what is the output of "fastboot devices" ?
Click to expand...
Click to collapse
Nothing.
I made the command again in the platform-tools folder
Anyone some more help? :good:
zuppiger said:
Anyone some more help? :good:
Click to expand...
Click to collapse
Well without any connectivity to the phone there is nothing we can do unfortunately. Might worth to try on another computer. Otherwise if you are 100% sure that the problem isn't the usb cable, the drivers or the computer then the phone usb port might be broken. This can be replaced (probably the "easiest" part to replace on that phone), you'll need to open the cover and replace that small usb/front mic board.
But the fact that your phone says FASTBOOT USB when in bootloader makes me believe its more a driver/computer problem since it would only says FASTBOOT if there were no connection detected...
thanks a lot for your help. I don't think I will get it working again anytime soon.
But i will look for a way
Hello everyone, I would like to ask you how I can get back to stock official global rom, as I'm not very happy with the custom eu, firstly it is slower in app opening than global, it has chinese theme, dialer and messages are xiaomi and I don't like. Yes camera has some improvements but general experience is worse as well as battery life is almost the same (obviously they remove all analytics, something you can do yourself through ADB)
Just flash the latest stock global fastboot ROM, twrp will be overwritten. Don't forget to format data but I think that is done in the fastboot script if selected anyway. https://mifirm.net/model/star.ttt#global-fastboot-stable
Thank you so much do you have a guide to do the process? Also I would like to ask, would you recommend the stock global or the official EEA firmware (it is more updated) for a global unit? My unit is indeed the one whom you gave the firmware
I have never tried EEA but have Global. I prefer the Xiaomi dialler, contacts and messaging, so opposite to you but each to their own. It's up to you to choose, you can try each now your bootloader is unlocked.
Just download the relevant fastboot package, extract ( unzip) until you get to just folders, may need a couple of times, can't remember off hand. Once you have the folders and files, connect your phone to your PC, reboot it to fastboot and then select the bat file ( choose the one that formats data as you are changing branches) and let it run. It's just like the first ROM change from stock.
Once the script is complete and successful it should reboot. It will take time as it's a new ROM but as long as you see miui, it will be all good. You will now have stock recovery too.
I always do this using a command prompt but some prefer to use miflash, so use what you did to get it to the EU ROM. But just incase I've forgotten anything, have a read up on this, may be pop over to the Xiaomi EU forum too for some advice, https://xiaomi.eu/community/forums/xiaomi-mi-11-pro-ultra-lite.211/
So I should download the fastboot rom, then unzip the content and run the flashbat through fastboot command right? Is this the firmware I can relock the bootloader with,if I want to?
Could you please tell me where to extract the zip file to? I will use fastboot cmd, so I assume the whole rom must be extracted into fastboot directory right?
one more thing I would like to point out, honestly global rom seems faster, especially apps cold start, I'm really disappointed by this, I thought xiaomi eu was much quicker rom but the only good side of it is that it gets updated quicker, and have some new feature, but honestly my wife's mate 20 pro on stock rom at 60hz and full of apps and bloatware runs the apps faster than this phone at 120hz with a snapdragon888, this is ridicolous I spent money to have a blazing fast phone. It is almost comparable to my old one plus 3 on AOSP, even more ridicolous lol
This is the guide found on th website you linked me.
1. If Fastboot firmware. The ext. must be tgz. If not. Rename it from .gz to .tgz. Extract it by WinRAR
2. For Fastboot firmware. Download XiaomiFlash lastest. Extract tool after downloaded
3. Open XiaoMiFlash.exe. Install driver if tool required. Press select and select to firmware/ROM folder what includes flash_all.bat
4. Make sure your phone are unlocked bootloader. Or you must bring your phone to EDL mode (9008) to flash
5. Bring phone to Fastboot mode by hold Power and Volume down for 5-10s. Release button when It show Fastboot
6. Connect Phone to Computer. Press Refresh to scan device. If a device showed is Ok
7. Tick clean all (very important). If not, your phone will LOCKED BOOTLOADER after flash done
8. Press Flash and wait util it show success or any error
I use adb and fastboot via command prompt, what should I do? I don't understand points 6 and 7 and what bat should I run? flash_all.bat?
1 download the official tgz rom and unpack 2 times until there will be only directory and files and put directly on C drive
2.Download xiaomi miflash and place on drive C.
3 run miflash and install the fastboot drivers
4 start the phone in fastboot mode and connect to the PC and tell the program the path to the rom directory
5 In miflash, click refresh to make the device appear on the list
6 in miflash at the bottom select clean all
7 click flash and wait for rom to install and phone reboot
what is this miflash? miflash pro?
Bartos81 said:
1 download the official tgz rom and unpack 2 times until there will be only directory and files and put directly on C drive
2.Download xiaomi miflash and place on drive C.
3 run miflash and install the fastboot drivers
4 start the phone in fastboot mode and connect to the PC and tell the program the path to the rom directory
5 In miflash, click refresh to make the device appear on the list
6 in miflash at the bottom select clean all
7 click flash and wait for rom to install and phone reboot
Click to expand...
Click to collapse
do I need to format any data first? Or it is as simple as that and the process will take care of all?
I did the flash with the official EEA ROm instead of the global but it ended the flashing procedure like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
But don't know why phone has booted as normal and now I'm into the setup process
why that error? because I'm on a global device?
Does anybody have any idea why the error occurred?
Also I would like to ask you how can I install magisk?
Booting into fastboot using the command to boot into twrp (fasboot boot twrp.img) and then run magisk.zip right?
After reboot I should stay on stock recovery and have magisk installed correct?
Is there a way to falsh the firmaware and format allal data using the command prompt instead of the miflash tool?
xNAPx said:
I did the flash with the official EEA ROm instead of the global but it ended the flashing procedure like this
View attachment 5337627
But don't know why phone has booted as normal and now I'm into the setup process
why that error? because I'm on a global device?
Click to expand...
Click to collapse
fix
How do you want to install the magisk, do as you write
fastboot boot twrp.img after starting recovery install the zip file from magisk
then you can do data formatting as well.
Data format> YES
To install magisk AFAIK I don't need to format data,right?
Format data I was referring to the firmware flash via cmd prompt instead of mi flash, if I run the cmd into adb and fastboot folder I should copy all the firmware files into the same folder and run what command to do a full wipe using flashall.bat?
Will I have any problem in my rom/firmware/phone with that error? The phone booted and I am using it now and so far no issues whatsoever, actually the phone is blazing fast and everything is running smoothly