About unlocking the bootloader - Xiaomi Mi Pad 4 Guides, News, & Discussion

Hi,
I just went through the unlocking process and wanted to share a few things I noticed. It won't be a "unlocking guide", but more kind of a "collection of tips and tricks". Hope this can help someone in sorting things out. Happy unlocking to everyone!
Disclaimer
I am writing these things here with my best knowledge, but I cannot guarantee they are 100% correct. So please take them at your own risk! Feel also free to respond in case I (probably) got something wrong.
"EU/global version" of Mi Pad 4
As someone stated in another thread, and as I understood it, there is no such "global" or "EU" version of this tablet, but there is a "global/EU" ROM you can flash on it. And it seems that in europe there has been some market on these tablets that came with the global ROM preinstalled. As far as I know, the only way to flash the global/EU ROM is to unlock the bootloader, so these sellers had to go through the same process of unlocking. Now the problem is: to unlock the bootloader you require to link the tablet with a Xiaomi account, and you need the same account to unlock it again. So I guess that for these tablets one needs to be careful when buying them with the global ROM preinstalled, as you may need the phone number associated with the Xiaomi account that was set by the seller back then to unlock it again! Fortunately the one I bought came with the official chinese ROM and with no Xiaomi account linked to it, so I could manage to unlock it.
SIM card being necessary to unlock bootloader
I read that in some guides it is stated that you need to have a SIM card to unlock the bootloader installed in the tablet, and some users are asking how to do this on wifi only tablets. From what I've seen, there is no such prerequisite for wifi-only devices (which is kind of obvious, but peaople still ask). You still have to give a phone number to confirm your Xiaomi account as there is the need to enter some security code sent via SMS at some point. But the SIM card holding that number can obviously be on any phone!
About Xiaomi Fastboot drivers for Windows
I had several issues on making the Xiaomi Fastboot drivers working on my Windows PC: On my laptop running Windows 11, I had the issue that whenever the Xiaomi Unlock Tool was trying to connect, the Fastboot mode on the tablet just stopped with the message "press any key to shutdown". This seems to be a driver issue on some USB3 ports. Someone claimed there is a solution (see this post), but I used a Windows 10 laptop instead (also with only USB3 ports) and it worked OK there. Also, sometimes I connect the tablet via USB in Fasboot mode and I get no response on Windows (as nothing is attached). I solved it by uninstalling the device and re-installing the drivers manually that are provided in the Xiaomi Unlock Tool "driver" folder.
To check whether the drivers are working, just connect the tablet via USB while in Fastboot mode and check the Windows device manager. If device "Android Bootloader Interface" is properly installed (I got Xiaomi Drivers v16.0.0.0), you should be all set. If you get "Android device" or something with a question mark on it, I suggest to install manually the drivers (right click on the device, select "update drivers", then "Browse on my computer", and point to the "driver\win10" or "driver\xp-win7-win8" folder of the Xiaomi Unlock Tool).
If you have fastboot in your Windows PATH, read here, otherwise just ignore this
It seems that the Xiaomi Unlock Tool has a "fasboot.exe" in its own folder, which it has to use to unlock the bootloader. In my case, I already had adb and fastboot in my Windows PATH (so that I could just type "adb" in any CMD), and I think that the tool was using my fastboot version instead of its own one. The issue I had is that for some reason, the unlock process was hanging on 99%, and the tablet was then exiting fastboot and booting back to system. I checked the log and it seems to me that some fastboot commands were failing. As soon as I removed fastboot from Windows path, it magically worked. So my advice here is to simply remove whatever fastboot you have in the Windows path before using the unlock tool.
Unlocking steps I did
Finally, here's what I did to unlock it. Again, disclaimer: I don't know if these steps are 100% correct, but they worked in my case. So follow them at your own risk!
I did it on a Mi Pad 4 Wifi with the stock chinese ROM (running MIUI 10.3.2 & Android 8.1.0).
Go to Settings -> Mi Account and login to your Xiaomi account on the tablet, or if you don't have any, make one. Make sure the phone number you entered is reachable.
Go to Settings -> Additional settings -> Developer options and make sure "OEM Unlocking" and "USB Debugging" are turned on.
Still on the Developer options, go to "Mi Unlock Status". If it says "Unlocked", well guess what., you can stop here . If not, tap on "Add account and device" and wait for the success message. If you get something like "try later" (my case), what I did is to logout and re-login on the Xiaomi account. I then got the "success" message finally.
Download the Xiaomi Unlock Tool from here. Extract somewhere but do not start yet.
Open Windows Device Manager (Win+R, enter "devmgmt.msc").
Turn off the tablet and boot to Fastboot (Vol. Down + Power buttons). Now connect the tablet via USB.
First check on the tablet: if it shows "press any key to shutdown", then you have a driver issue. Please see this post for the solution, or try using a different PC.
Then, check on the device manager. If you see just "Android" with a question mark popping up, then you need to install the drivers. If you see "Android Bootloader Interface", then you are all set. If you don't see anything, then you need to uninstall and reinstall the drivers instead.
To install the drivers: right click on the device with question mark, select "update drivers", then "Browse on my computer", and point to the "driver\win10" or "driver\xp-win7-win8" folder where you extracted the Xiaomi Unlock Tool. After installing the drivers, try to boot to fastboot a second time. If you don't see the previously mentioned "press any key to shutdown", then you are all set.
To uninstall the device: On Windows Device Manager menu, go to "View" -> "Show hidden devices". You should find a greyed out "Android Bootloader Interface". Right click on it and select "Uninstall". Then, repeat the process again (boot to fastboot etc) and hopefully you will get the "Android device" with question mark where you can install drivers on.
Before starting the unlock tool, make sure you don't have any adb or fastboot in your windows PATH. You can check it by simply typing "fastboot --version" on any Windows CMD and see if it does something. In case you have, you better remove it, as the unlock tool has its own version of fastboot packed with it and you better let it use that one instead.
Once drivers are installed, start the Unlock Tool and login to your Xiaomi account. Then, once you see "not connected to the phone", boot the device to Fasboot again and quickly connect it via USB. If you see "Please wait 168 hours" or something like that (I did not see any of that), then most of the guides say that unfortunately you have to wait.
If you see the "Unlock button" not being grayed out anymore, then go for it. Get rid of the annoying popups saying "you are a bad person if you unlock", and finger crossed everything goes smooth!
Cheers,
Michele

Hi thank you for sharing this,
My Mipad 4 is LTE version, however the SIM only works when I turn on Wifi. Therefor, I can't start unlocking as I couldn't connect via Mobile Data.
Is there any solution for this?

Related

[ROOT] Huawei ASCEND G7-L01/L03 ROOT [working-confirmed]

June 02, 2015
Edit: If anyone has a link to the stock ROM for the Ascend G7, please let me know. I would love to make a custom ROM that doesn't take up 98% of all resources 99% of the time.
Hello everyone.
Before I get started, here is everything you need to know about this post.
- This root works as of June 29, 2015
- This is a rooting process for the Huawei Ascend G7
- I did not make this, so please consider supporting all mentioned sources
- I am a new user to XDA, but I've been developing for over a decade. I will regularly check this post if enough people who view it have questions
There are two parts to this process.
First, we unlock the bootloader
Second, we flash a recovery, and subsequently, SU (root)
Let's get started. This will take at least 16 hours. User interaction 5 minutes, and about a 16 hour wait for an email response from Huawei.
Also, I have a new account, so I cannot post links. So please bear with me. I will upload photos in as best order as I can.
Before we get started, please note that your phone will factory reset in this process.
First thing's first. The Ascend G7 requires an unlocked bootloader, before any root can take place. This is obviously temporary, until someone finds a circumvention. But for now, this is how this needs to be done.
Send an email to [email protected], with this format:
Dear Sir/Madam
Please may I request the bootloader unlock code for my Huawei Ascend G7?
Here are some Details:
Serial Number: (Found under Settings --> About phone --> Status)
IMEI: (Found under Settings --> About phone --> Status)
Baseband version: (Found under Settings --> About phone)
Please could you send me the code directly, as I cannot access the product ID on my device.
Thank You
Your name
This part is important. Sometimes, they do not even reply to your email(s). It is recommended - nay, required - for you to put "URGENT" in the subject field of the email. Something along the lines of "URGENT Request Bootloader Unlock Code‏." It would also be best if you mark your email as urgent/high priority, as well.
Meanwhile, while you wait for the email from them with your unlock code, (expect it to arrive the day after), download the Android SDK and the Java JDK, if you haven't already. What you need most are the SDK tools, which you can also download by typing in "SDK tools android" in Google and finding a download for the stand-alone tools.
Make sure Android Studio is updated, if you already have it. To make sure you have everything you need, open up command prompt in platform-tools, by holding shift and right clicking somewhere on the white, in the folder, (explained in attached picture).
Then, plug in your phone. Make sure USB debugging is enabled. To do so, go to Settings --> About phone --> Tap "Build Number" 7 times in a row. Then go back, and you will see "Developer options." Click on that, and enable USB debugging. Also, this optional, but I like to enable the "Stay Awake" function.
Make sure to accept any prompts that your phone will ask.
Then, go to the command prompt and type in "adb devices" without the quotations.
If you've done everything correctly so far, you should see something similar to the attached command prompt image file.
If everything checks out, let's proceed. If not, post below, and I, or fellow XDA users, will help you out.
Proceed to type in, "adb reboot bootloader" without the quotations, into the command prompt window that you opened. Your Ascend G7 should reboot into fastboot, where you will see something like the attached picture below, of the bootloader screen.
Except, it will say Phone Locked instead of Phone Unlocked.
Now, go back to your command line, and type in "fastboot reboot," to have access to your phone and its functions, while you wait for the email from Huawei.
`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
Everything below this line should be done AFTER receiving a reply email from Huawei, with your unlock code.
Now, download the "PHILZ-TOUCH-6.rar" file. I cannot attach it here because it exceed file size limit. No virus, no surveys, here's the link, https/goo.gl/sxPv7I. Just add a colon and a forward slash after https. It is not a virus, in case your firewall or antivirus software brings up red flags. I will post the whole ZIP that I've downloaded from another website. There's a bunch of redundant elements in the folder, but just in case you know what you're doing and might need the tools, I'll keep them there. But all you will need are 2 things from the folder. They're mentioned next.
Go to where you extracted PHILZ to, and hold shift and right click and open a command window in that directory, and type in "adb devices" one more time to make sure your device is listed and connected. Then, type in "adb reboot bootloader," give it a second, and then when fastboot loads up, type in,
fastboot oem unlock 123456789123
Replace "123456789123" with the unlock code provided to you from the Huawei email. Give it a second, and then you should be good. It should now say "Phone Unlocked" in red. Now, type
"fastboot reboot"
in the command line (that was opened in the PHILZ folder), without quotations. Then type,
adb reboot bootloader, one more time, and then,
Navigate to the PHILZ folder, and run "install-windows.bat" as administrator, if using Windows.
If using Linux, run "Install-Linux.sh," and if using a Mac, run "Install-Max.sh"
Now, in CMD type,
fastboot boot recovery.img
Then, again type in
fastboot reboot
Your phone will reboot.
`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
Aaaaaaand that's it! You should now be rooted. I recommend going to play store, and downloading a Root Checker to ascertain root access.
The last picture, where it says I have root access now, is a program called Root Genius. It's a one click tool to root any android device - obviously except the Ascend G7, (knowing my luck). But it does work as a root checker as well, if you want to ascertain root access. You can also download Root Checker from the play store; works more or less the same way.
Any questions, feel free to ask. Re-reading this, I could see if the instructions bring confusion to some. I will be glad to clarify any questions.
Works
Root confirmed G7-L01
some point that I did not understood
dear wertywhy,
your guide is really well done, but there are some points not clear to me
1) open up command prompt in platform-tools
what is platform-tools? A specific folder? I was not able to find it
2) if I open the command prompt from any forlder using the shift+right button as you said and then write adb devices I get this message:
'adb' is not recognized as in internal or external command operable progrma or batch file. What should I do?
3) when I connect the phone by usb cable, should I do something more (like enabling device file manager, pc suite or other options) or just connect it in charge only mode?
thank you for your time!
and... by the way, I'm really impressed that I got the anwer from Huawei with the code, that's really cool! Thank you!!
---------- Post added at 04:09 PM ---------- Previous post was at 03:19 PM ----------
I found the platform-tools folder, now if I type adb devices from a prompt open from that folder I don't get the error message anymore, but I get nothing, just the flashing prompt line (the huawei phone is on and usb connected to pc)
dear wertywhy,
your guide is really well done, but there are some points not clear to me
1) I had to install hi-suite to let the command adb work (before that adb was not finding the phone)
2) the file names of adb inside PHILZ_TOUCH is adb-windows and fastboot is fastboot-windows
3) when I input the command adb-windows devices inside the prompt inside the PHILZ folder the result is device offline, I could unlock the phone running the command from platform-tools directory (phone is unlocked now) but I can't run the command to root the phone until I have this "device offline"
Point 1 and 2 are not problem, just something that happened to me, but point 3 is stopping me, any idea how to solve point 3?
Frankleoni said:
3) when I input the command adb-windows devices inside the prompt inside the PHILZ folder the result is device offline, I could unlock the phone running the command from platform-tools directory (phone is unlocked now) but I can't run the command to root the phone until I have this "device offline"?
Click to expand...
Click to collapse
I'm having the same problem. I tried toggling usb debugging off and back on, tried another usb port and another PC (WIN 7 and 8) but none of that helped.
<device offline>
Frankleoni said:
dear wertywhy,
your guide is really well done, but there are some points not clear to me
1) I had to install hi-suite to let the command adb work (before that adb was not finding the phone)
2) the file names of adb inside PHILZ_TOUCH is adb-windows and fastboot is fastboot-windows
3) when I input the command adb-windows devices inside the prompt inside the PHILZ folder the result is device offline, I could unlock the phone running the command from platform-tools directory (phone is unlocked now) but I can't run the command to root the phone until I have this "device offline"
Point 1 and 2 are not problem, just something that happened to me, but point 3 is stopping me, any idea how to solve point 3?
Click to expand...
Click to collapse
Hi Frank,
Let's troubleshoot,
If it lists your device as offline, open up cmd (Run --> cmd), and type in,
taskkill /f /im adb.exe
Then, restart your G7; when it boots up, turn off and then on USB debugging, then find PHILZ, and retry point 3. If device is still offline, please let me know. The issue sounds like it's within the phone, not within ADB.
Alternatively, if that doesn't work, please delete PHILZ off your computer, and wherever it says "PHILZ" in my guide, replace it with the attached folder, (attached with this reply).
Cheers
PS, please make sure to check that your phone is not only in USB debugging mode, but that you've approved/allowed your computer access to your phone, (a prompt will show up on the Ascend G7 that asks you whether or not you trust your PC). And also make sure your phone isn't just set to "charge" when plugged in - activate/select MTP when you connect your phone to computer.
<device offline>
lume12 said:
I'm having the same problem. I tried toggling usb debugging off and back on, tried another usb port and another PC (WIN 7 and 8) but none of that helped.
Click to expand...
Click to collapse
Please refer to my reply to Frankleoni below.
Thank you for replying chy_vak,
I tried your solution in both the PHILZ folder and the new folder you attached. The device shows offline in both of them. However in the build-tools folder it shows online. The command line taskkill /f /im adb.exe terminated adb but the device still shows offline. I did everything in the exact order you wrote.
offline
search Kings Root via Google Chrome, install it and run it Easy and without chat with Huawei support
Kingroot Works like a charm !
@chy_vak, Thank you for your Work. 1st Part works great. 2nd Part went wrong, i dunno why i`ve tried every thing. I hate this Kingroot think, don`t touch it you never will leave it.
I have connect my G7 because unlock works. When i use CMD from Adb Tool it is connected, when i use command prompt from Philz he cant see and find the mobile?? Something for you absolute clearly, isn`t for other. Sry cant do screenshot with notebook and Win 10. have fun
Another Working Method to Root Huawei Ascend G7-L01/L03
Greetings!
I got an Ascend G7 Recently and I needed to Root it as soon as I got it. That's why I kind of broke my head looking for the current methods to do it. I found this one very promising so I started working. I followed the steps that were given to us one by one. Everything was alright until I tried to install the Windos-Installer.bat as administrator, I tried to many ways to this method work, but as much as I tried, I couldn't go with it, that's why I started working for 11 hours until I got it. This Worked for me, and I want to share it with you.
Please read the following notes before you start by rooting your device:
-As usually, do it at your own risk, I'm not responsable of any brick, or issue that damaged your device.
-This Method is working great on Windows 10
-This Method is working at 04/08/2015
-This Method, was tried by me, the directions I give to you, are based on my work by rooting my device and my experience, the software and files included were made and posted by someone else including the person who wrote this post: http://forum.xda-developers.com/gen...-confirmed-t3125621/post61122491#post61122491
-You can find screenshots of the procedure below
-You will need a microSD
-I strongly recommend you to have at least 80% of battery to avoid risks of bricks
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Here begins the directions:
1.- As has been said, you will need to unlock your device bootloader in order to root your phone. So as they said, you will need to write an email to Huawei. The mail you will send should look like this:
To: [email protected],
[email protected]
Subject: (URGENT) Unlock Bootloader
Model: Huawei G7-L03/L01 (Depends on your version)
Serial Number: (The one that comes in your Huawei's box)
IMEI: (You can get it on your box or in the info included on Configuration->About the phone->State
Product ID: (You can get it by typing on the Dial the next code: *#*#1357946#*#*)
I appreciate your concern of reading this. Waiting for a response.
Sincerely: (Your name)
After a while (Could take between 15 minutes and 16 hours depending on their time) A Huawei worker will answer you something like this:
Dear Customer,
Thank you for supporting Huawei device. My working number is ****. Your unlock code :************** , please keeping your unlock code properly.Thank you!
Huawei Terminal Company limited
1.1.- (OPTIONAL) As we are going to unlock the bootloader, we are going to make a factory reset, so I strongly recomend you to make a backup with the official huawei backup app in order to restore our settings, apps, and files.
1.2.- Once Again, as has been said, you will need to download the whole Android suite (Android Studio) the last version, update your java version, and download the last drivers for your device (A good way to do the last is by installing the HiSuite of Huawei).
1.3.- You need to activate the debug mode. You can find it in: Configuration->Developer Options->USB Debug (If you dont have the Developer options enabled, you have to go to Configuration->About the phone->Compilation And tap this last one 7 times)
2.- Download the .rar a the end of the page and extract it where you want, includes everything we are going to need. [You must put the file ''superuser.zip'' on your microSD (In the root of the microSD)]. After Downloading it, you must open a cmd window, running it as administrator. After that you will write:
cd (Here you should paste the ubication of your extracted File Ex: C:\Users\Josh\Downloads\Root Ascend G7)
Now you are in this ubication that includes adb. Write:
adb devices
You should see: List of devices attached, a code and the word device (There is a capture below). If you do, we can proceed.
3.- Type :
adb reboot bootloader
It should load a white page with the Android pet and the words FASTBOOT&RESCUE MODE Below there is the phrase ''PHONE LOCKED'' in color. Now type:
fastboot oem unlock *********** (The code Huawei gave to you)
Now your phone will make a factory reset. You will see how it reboots by itself and back to the default settings. You will need to activate the debug USB mode again. By this point its supposed your bootloader is now unlocked, to probe it, we will type again:
adb devices (To check it is correctly plugged)
Then we will type:
adb reboot bootloader
And now at the end of the page it should say: ''PHONE UNLOCKED''. If you do, we can proceed.
4.- At this point, you have two options: You can replace your stock recovery mode by a ClockWorkMod Recovery (I strongly recomend you to do that) or you can just ROOT the phone whithout replacing your stock recovery.
If you decided by replacing your stock recovery follow the next directions: We still have our CMD window opened and running adb while the phone it is on the bootloader mode. So now what you have to do it's to type:
fastboot flash recovery recoveryP.img (CMD will work and show a few commands)
And after that type:
fastboot reboot
Your phone will reboot again normally and we can proceed.
If you decided not to replace your stock recovery instead of typing ''fastboot flash recovery recoveryP.img'' you have to type:
fastboot boot recoveryP.img (This will send you directly to CWM recovery)
5.- You must acces to CWM Recovery.
If you installed it on your phone, turn off your device and then press the power button and vol+ until the Huawei logo appears, you should be in the recovery mode by now.
If you didn't install it, you already are in CWM recovery.
6.- With the vol and power buttons or the touch buttons at the end you should be able to navigate on the recovery. We go to:
Advanced Functions->Re-root System (SuperSu)->Yes-Apply SuperSu (You will see a few code at the end of the screen)
7.- Without leaving the recovery mode, go to the main screen and now we go to:
Install Zip->Choose zip from /sdcard->superuser.zip (The one that you previously putted on your microSD)->Yes-Install superuser.zip
(You will see again a few code at the end of the page) We go back to the main screen and Select:
Reboot System now
8.- It's supposed we are ROOT now. At first you will see the ''superuser'' app installed. To probe that works, Install ''android-terminal-emulator-1-0-70-multi-android.apk'' that it is included on the folder ''Terminal'' form the file you downloaded. Now open a new terminal window and type
su (If everything worked, superuser will ask for permissions)
8.1.- Restore your data with the Huawei Backup App
And that is all we have superuser acces now. If you have any question or issue let me know and I will help you.
https://mega.co.nz/#!Al9FxDBY!QHkljnnIbjURX01A59tJPNkAVQd3LbKTqRJHD_nNxrs
Thank you!
Cant boot into recovery
Hey guys so i tried following this procedure but it never works :/ if i flash the custom recovery and try boot into it, the phone directly goes to fastboot and rescue mood so cant boot into recovery, not even the stock recovery. if i try directly booting into the custom recovery it says dtb not found :/ can someone please help me?
the model is G7-L11 and the bootloader is unlocked
Engineer Mode Huawei Ascend G7 L03
Huawei Ascend G7 L03
Hi,
I have tried every thing to go into Engineer Mode.... Even Mobile Uncle Does not do that!
Please some one Help....
Huawei Ascend G7 L03
thanks for the translated philz touch
Hello everyone, I have a big problem with a Huawei G7. I did Philz Touch and Root. How can I go back to stock rom?
I've emailed Huawei 3 times now, left a week in between emails, and still haven't received my unlock code. Has anyone else had this issue?
Thanks
1.- As has been said, you will need to unlock your device bootloader in order to root your phone. So as they said, you will need to write an email to Huawei. The mail you will send should look like this:
To: [email protected],
[email protected]
Subject: (URGENT) Unlock Bootloader
Model: Huawei G7-L03/L01 (Depends on your version)
Serial Number: (The one that comes in your Huawei's box)
IMEI: (You can get it on your box or in the info included on Configuration->About the phone->State
Product ID: (You can get it by typing on the Dial the next code: *#*#1357946#*#*)
I appreciate your concern of reading this. Waiting for a response.
Sincerely: (Your name)
Does anyone have a good tutorial on how to flash twrp on the phone ? I've tried different things but it never works
any other method exept this email method? they wont answer me.

Bricked Redmi note 3, please help.

The facts:
-I'm an idiot and I dun ****ed up.
-I'm a fool to believe I could power my way through learning how to flash roms and unlock the bootloader unofficially.
About the Device:
1: Kenzo.
2: I can access Fastboot (PWR +Volume down)
3: When I try to boot the device, the Mi logo is visible for 3 seconds, disappears, reappears again and then then the phone turns off.
3.a: When connected to my computer via the official cable, the screen remains pure black and the red light blinks repeatedly, as if in EDL. In device manager, the phone reads as "Qualcomm HS-USB Diagnostics 900E (COM10)
4:XiaoMIFlash and MiFlash tool both do not detect the phone when I hit refresh (which is why I can't seem to fix it)
5: Putting the device in Fastboot and attempting to send any command through CMD/ADB results in either nothing happening, or <waiting for device> showing up, and then nothing else happens. (This used to work before)
6: I don't believe I can access recovery (PWR+Volume UP)
7: Could not unlock bootloader officially due to getting stuck at 50% with "Not connected to Mi Phone" error.
I ****ed up. Bad. I really need help. I tried following many tutorials, but all of them assume that the device can be detected by MiFlash, but mine can't.
Please, I desperately need help. I'm new to android and if I can somehow manage to get this fixed, I'm keeping MIUI, to hell with custom roms, as long as it works.
Please help, I'm at my wit's end.
PS: If the only possible way to fix it is test point method, please post the name of all tools I need, so I can go and buy them.
PSS: Device bricked after attempting unofficial unlock. I never got to the "OEM unlock" part, it bricked before that.
PSSS: Before bricking, I was using China Dev rom. As to try and avoid bricking the device, I switched using miflash to kenzo_global_images_V8.0.5.0.LHOMIDG_20160805.0000.29_5.1_global.
Then, following the unofficial unlock tutorial, I tried flashing the same rom with the modified prog_emmc_firehose_8976_ddr, and it bricked there.
privateriem said:
The facts:
-I'm an idiot and I dun ****ed up.
-I'm a fool to believe I could power my way through learning how to flash roms and unlock the bootloader unofficially.
About the Device:
1: Kenzo.
2: I can access Fastboot (PWR +Volume down)
3: When I try to boot the device, the Mi logo is visible for 3 seconds, disappears, reappears again and then then the phone turns off.
3.a: When connected to my computer via the official cable, the screen remains pure black and the red light blinks repeatedly, as if in EDL. In device manager, the phone reads as "Qualcomm HS-USB Diagnostics 900E (COM10)
4:XiaoMIFlash and MiFlash tool both do not detect the phone when I hit refresh (which is why I can't seem to fix it)
5: Putting the device in Fastboot and attempting to send any command through CMD/ADB results in either nothing happening, or <waiting for device> showing up, and then nothing else happens. (This used to work before)
6: I don't believe I can access recovery (PWR+Volume UP)
7: Could not unlock bootloader officially due to getting stuck at 50% with "Not connected to Mi Phone" error.
I ****ed up. Bad. I really need help. I tried following many tutorials, but all of them assume that the device can be detected by MiFlash, but mine can't.
Please, I desperately need help. I'm new to android and if I can somehow manage to get this fixed, I'm keeping MIUI, to hell with custom roms, as long as it works.
Please help, I'm at my wit's end.
PS: If the only possible way to fix it is test point method, please post the name of all tools I need, so I can go and buy them.
PSS: Device bricked after attempting unofficial unlock. I never got to the "OEM unlock" part, it bricked before that.
PSSS: Before bricking, I was using China Dev rom. As to try and avoid bricking the device, I switched using miflash to kenzo_global_images_V8.0.5.0.LHOMIDG_20160805.0000.29_5.1_global.
Then, following the unofficial unlock tutorial, I tried flashing the same rom with the modified prog_emmc_firehose_8976_ddr, and it bricked there.
Click to expand...
Click to collapse
Have your phone boot into fastboot. Connect your phone, run adb and check if it receives commands by using : "fastboot devices". If it returns a value then your phone is detected on your computer. Next, download this file : https://www.androidfilehost.com/?fid=24591000424940129
Now, extract the zip file and open Reboot.bat . This will open cmd and press the enter key.
Your phone is now booted into EDL mode. Now MiFlash should detect your phone and you can flash a stock image from the Miui forum. Probably best to to flash stable ROM (fastboot ROM).
HParra97 said:
Have your phone boot into fastboot. Connect your phone, run adb and check if it receives commands by using : "fastboot devices". If it returns a value then your phone is detected on your computer. Next, download this file : snip
Now, extract the zip file and open Reboot.bat . This will open cmd and press the enter key.
Your phone is now booted into EDL mode. Now MiFlash should detect your phone and you can flash a stock image from the Miui forum. Probably best to to flash stable ROM (fastboot ROM).
Click to expand...
Click to collapse
5: Putting the device in Fastboot and attempting to send any command through CMD/ADB results in either nothing happening, or <waiting for device> showing up, and then nothing else happens. (This used to work before)
So far, I've managed to successfully boot into EDL by unplugging the battery and USB. Now, I just need to figure out why Miflash is giving me a "System can't find path specified"
privateriem said:
5: Putting the device in Fastboot and attempting to send any command through CMD/ADB results in either nothing happening, or <waiting for device> showing up, and then nothing else happens. (This used to work before)
So far, I've managed to successfully boot into EDL by unplugging the battery and USB. Now, I just need to figure out why Miflash is giving me a "System can't find path specified"
Click to expand...
Click to collapse
Read this thread : http://en.miui.com/thread-91415-1-1.html
Make sure that you've disabled driver verification signature, your path to the image folder does not contain any spaces, and also the flash all data except data and storage option.

Fastboot/ rooting help

Hello XDA,
I just got a v10 and while i'm new to the phone, I'm not new to rooting/ installing custom roms etc. But for the life of me I cant unlock to bootloader of this phone which if im not mistaken, is the only way to get root. I just installed adb on my windows 10 laptop and I'm trying to enter fastboot on my devices by plugging in the power cable and pressing the volume down and I'm greeted with a screen that says"*welcome to fastboot mode for bootloader unlock: *quick Guidance...etc" I cant exit out of this mode so I assume this is fastboot mode? It doesnt look like any fastboot mode Ive ever seen. Anyways when trying to run the fastboot oem unlock command, I am stuck on "waiting for device". I honestly dont know whats wrong with my setup but if someone could help that would be fantastic. I have tried installing the Lg united drivers and samsung drivers but they dont seem to work. Please advise if you could.
http://forum.xda-developers.com/showthread.php?t=3490604
gamin92 said:
http://forum.xda-developers.com/showthread.php?t=3490604
Click to expand...
Click to collapse
So to get it to work I have to install unbuntu software on my computer, boot into it and then install adb? I'm not getting this?
ayo234 said:
So to get it to work I have to install unbuntu software on my computer, boot into it and then install adb? I'm not getting this?
Click to expand...
Click to collapse
I looked online at some forums about this issue and I got it fixed Here what the post said
1. Connect your device while in fastboot mode.
2. open the device manager (ctrl + X on windows 10)
3. find your device "XXX ADB Device"(Mine was "Alcatel ADB Device" but it can be anything)
4. click on the arrow
5. right click on the Android Bootloader Interface
6. Click on "Properties"
7. Go to "Driver" Tab
8. Click "Uninstall"
9. Mark the "Delete the driver software for this device
10. Click OK
11. Disconnect and Reconnect your device from the cable
12. Windows device manager should show an item in the list that simply says Other devices, and will expand to "Android". Do those next steps quickly! (OR: just disconnect from the internet. Some people report it works). You have between 5-10 seconds until Windows changes it to another driver. If device manager changes the driver to "Kedacom USB device" (or something else, start over from step 8).
13. Right click and choose "Update driver software" -> Browse my computer for driver software -> Let me pick from a list...
14. Choose "Kedacom USB device" (or something else that seems logical)
15. Uncheck "Show compatible hardware"
16. Choose "Android bootloader interface version _" that is the latest (should be 28.8.2016).
17. Hopefully it will work for you
Extremely helpful and it solved my problem. Here the original thread, its post number 33
http://forum.xda-developers.com/nexus-5x/help/unlock-bootloader-fastboot-detecting-t3236946/page4

Rooting an Android 6.0 generic tablet, where to start?

Hey guys sorry if this is newb question but I've been looking for hours and just getting overwhelmed.
I have an SPC glow 10.1 cheap tablet purchased in Spain, apparantly a rebranded Chinese tab.
Android version 6.0, tried rooting with Kingoapp APK which was a complete fake waste of time. Tried framaroot, it said the exploits don't work.
Where should I be looking to be able to root something like this? I.e. which app/project like Xposed or Magisk here?
Thanks a lot
androidferret said:
Hey guys sorry if this is newb question but I've been looking for hours and just getting overwhelmed.
I have an SPC glow 10.1 cheap tablet purchased in Spain, apparantly a rebranded Chinese tab.
Android version 6.0, tried rooting with Kingoapp APK which was a complete fake waste of time. Tried framaroot, it said the exploits don't work.
Where should I be looking to be able to root something like this? I.e. which app/project like Xposed or Magisk here?
Thanks a lot
Click to expand...
Click to collapse
Have you unlocked the bootloader?
Augustoandro said:
Have you unlocked the bootloader?
Click to expand...
Click to collapse
No, I have not, how would you do that? There is no info on the Internet if I search for this brand name SPC.
Is there a way to find out which Chinese tab this is a rebrand of perhaps? Thanks
androidferret said:
No, I have not, how would you do that? There is no info on the Internet if I search for this brand name SPC.
Is there a way to find out which Chinese tab this is a rebrand of perhaps? Thanks
Click to expand...
Click to collapse
Please take a backup of ur data before proceeding further.
Try this,
Download adb and Koush Universal adb driver and install them on ur pc, always install the driver first and don't install the drivers adb setup asks u to install.
Run command prompt as administrator.
Open the folder in c drive where adb is installed, u can use file explorer for this.
Press Shift+right click and select open command window here.
Enable USB debugging on your phone and connect it to the pc by a USB cord.
Enter command "adb devices" without quotation marks.
If it shows some device connected, only then proceed further.
Enter command " adb reboot bootloader"
Enter command " fastboot devices", if it shows some device to be connected, only then proceed further.
Enter command " fastboot oem unlock".
Ur phone may then ask for final confirmation on the phone screen, select yes.
When procedure completes, type "fastboot reboot" and ur phone will reboot.
U can now use Kingoroot or any other tool for rooting.
Thanks Augusto, your advice was great,
it worked so far, but it wasn't easy getting there.
Here's what I did for others:
1. Installed adb and fastboot on my computer from Android developers, turn on debugging on tablet
2. Downloaded universal USB driver installer (aka. koush driver)
3. Installed but adb did not see my tablet, turns out the tablet is not in the list for the USB driver installer
4. Downloaded source code for koush driver, had to modify the .inf file as described in one of the comments on the github page,
by copy pasting two of the existing lines in the inf file and replacing with the USB id codes found from Device Manager in Windows 7.
5. After modifying the .inf file was able to install the driver from Device Manager "Update Driver..." for the Android device
6. Finally after this adb was able to see it under "adb devices"
7. Restart to bootloader with the command "adb reboot bootloader", this entered fastboot on my tablet
8. Tried to run "fastboot devices" but again the phone is not seen.
9. Apparently when in fastboot mode, the tablet appears under completely different USB ids which can be seen in Device Manager
10. Had to go back to the same .inf file and add two more lines with the new Device IDs
11. Installed the driver again in Device Manager, "Update driver"...
12. Now fastboot can see it too!
13. Entered the command "fastboot oem unlock", got the message that the unlock failed!
14. Had to restart tablet in normal mode go into Developer Options and set "OEM unlock"
15. Reboot to fastboot, unlock now works! Reboot phone using "fastboot reboot"
A strange thing happened at this point, the little android figure with cogs in his stomach came up for a few seconds, then the OEM logo for a long time,
after waiting a few minutes I force reset it. It started up but the system was completely erased and put into factory state, including completely erasing every single file I had on it,
even pictures, etc., it asked the first install questions from the very beginning. Fortunately I didn't have anything valuable.
So I got this far, now I'd like to root it,
I tried framaroot, not working, I don't trust Kingoroot, any recommendations for the root method from a reliable source?
androidferret said:
Thanks Augusto, your advice was great,
it worked so far, but it wasn't easy getting there.
Here's what I did for others:
1. Installed adb and fastboot on my computer from Android developers, turn on debugging on tablet
2. Downloaded universal USB driver installer (aka. koush driver)
3. Installed but adb did not see my tablet, turns out the tablet is not in the list for the USB driver installer
4. Downloaded source code for koush driver, had to modify the .inf file as described in one of the comments on the github page,
by copy pasting two of the existing lines in the inf file and replacing with the USB id codes found from Device Manager in Windows 7.
5. After modifying the .inf file was able to install the driver from Device Manager "Update Driver..." for the Android device
6. Finally after this adb was able to see it under "adb devices"
7. Restart to bootloader with the command "adb reboot bootloader", this entered fastboot on my tablet
8. Tried to run "fastboot devices" but again the phone is not seen.
9. Apparently when in fastboot mode, the tablet appears under completely different USB ids which can be seen in Device Manager
10. Had to go back to the same .inf file and add two more lines with the new Device IDs
11. Installed the driver again in Device Manager, "Update driver"...
12. Now fastboot can see it too!
13. Entered the command "fastboot oem unlock", got the message that the unlock failed!
14. Had to restart tablet in normal mode go into Developer Options and set "OEM unlock"
15. Reboot to fastboot, unlock now works! Reboot phone using "fastboot reboot"
A strange thing happened at this point, the little android figure with cogs in his stomach came up for a few seconds, then the OEM logo for a long time,
after waiting a few minutes I force reset it. It started up but the system was completely erased and put into factory state, including completely erasing every single file I had on it,
even pictures, etc., it asked the first install questions from the very beginning. Fortunately I didn't have anything valuable.
So I got this far, now I'd like to root it,
I tried framaroot, not working, I don't trust Kingoroot, any recommendations for the root method from a reliable source?
Click to expand...
Click to collapse
I told you to take backup of your data beforehand.
I am recommending Kingoroot because I personally used it to root my phone.
Augustoandro said:
I told you to take backup of your data beforehand.
I am recommending Kingoroot because I personally used it to root my phone.
Click to expand...
Click to collapse
I know about the backup, I just wasn't expecting it to wipe everything, I don't know why it did that.
As for Kingoroot, I installed the official app from play store which was a completely fake and dangerous looking piece of crap,
it showed like 50 ads asked me to rate it and then some weird pop ups kept coming, and then it did nothing. No message whatsoever.
Thank god my phone wasn't rooted because
I don't know what the lowlifes who do KingoRoot would have done with it.
I don't trust this company to install their software on my computer and I can't believe you guys recommend such an obviously
unscrupulous, malware product to others. Why is KingoRoot even on Google Play, they should be among the trojan trash of the every single antivirus and antimalware.
androidferret said:
I know about the backup, I just wasn't expecting it to wipe everything, I don't know why it did that.
As for Kingoroot, I installed the official app from play store which was a completely fake and dangerous looking piece of crap,
it showed like 50 ads asked me to rate it and then some weird pop ups kept coming, and then it did nothing. No message whatsoever.
Thank god my phone wasn't rooted because
I don't know what the lowlifes who do KingoRoot would have done with it.
I don't trust this company to install their software on my computer and I can't believe you guys recommend such an obviously
unscrupulous, malware product to others. Why is KingoRoot even on Google Play, they should be among the trojan trash of the every single antivirus and antimalware.
Click to expand...
Click to collapse
I meant Kingoroot for PC and not Kingoroot Android.
They are different, although from the same company.
Wow it turns out I was using a fake Kingoroot from the Play Store so I take back my comments regarding KingoRoot.
I can't believe the Play Store allows such trash.

Please help me install TWRP on my phone

I have a Samsung Galaxy A5 2017 (SM-A520F/a5y17lte/android 8.0.0 oreo) but I cannot install TWRP on it. I tried many methods but its not letting me to do it:
-unlock bootloader /failed
-OEM unlock in dev options /hidden and cannot access/failed
-flash stock rom to unlock OEM /failed
-root phone with adb /no fastboot access /failed
-root phone with Odin /failed
-flashing TWRP with adb /no fastboot access/failed
-flashing twrp with odin /"only official binaries are allowed to be flashed" error message in download mode /failed
-uding heimdall (wtf is this program ive never heard it b4) /failed
Anyone got solution to install TWRP ? So i can flash to android 9 and also root my phone. Thank you if you suggest any solution that actually works.
ItsSuperPlayz said:
I have a Samsung Galaxy A5 2017 (SM-A520F/a5y17lte/android 8.0.0 oreo) but I cannot install TWRP on it. I tried many methods but its not letting me to do it:
-unlock bootloader /failed
-OEM unlock in dev options /hidden and cannot access/failed
-flash stock rom to unlock OEM /failed
-root phone with adb /no fastboot access /failed
-root phone with Odin /failed
-flashing TWRP with adb /no fastboot access/failed
-flashing twrp with odin /"only official binaries are allowed to be flashed" error message in download mode /failed
-uding heimdall (wtf is this program ive never heard it b4) /failed
Anyone got solution to install TWRP ? So i can flash to android 9 and also root my phone. Thank you if you suggest any solution that actually works.
Click to expand...
Click to collapse
Hello and good afternoon, @ItsSuperPlayz
Welcome to XDA. I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
[ATTN] : Read before posting - Any questions posted here will be MOVED or CLOSED
Please read the below before posting. Any questions not development related will be moved or closed. Forum Searching | Posting | The Basics: (Make sure you've read them before starting a new thread) Forum Rules Forum Search Google Forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
First you have to access developer mode. You have to tap several times on the build number. (Settings/about the phone) In developer mode you heve to enable oem unlocking and usb debugging. Wait for permission request on the phone for access of your PC when attached to the phone.
Next step is to unlock the bootloader.
After this you will be able to install TWRP, which finally gets you to the point where you can install a new ROM. Just follow step by step:
Install LineageOS on a5y17lte | LineageOS Wiki
wiki.lineageos.org
Of course, instead of Lineage, you can use any suitable ROM
chrysopra said:
First you have to access developer mode. You have to tap several times on the build number. (Settings/about the phone) In developer mode you heve to enable oem unlocking and usb debugging. Wait for permission request on the phone for access of your PC when attached to the phone.
Next step is to unlock the bootloader.
After this you will be able to install TWRP, which finally gets you to the point where you can install a new ROM. Just follow step by step:
Install LineageOS on a5y17lte | LineageOS Wiki
wiki.lineageos.org
Of course, instead of Lineage, you can use any suitable ROM
Click to expand...
Click to collapse
Thank you for replying but as I said above i cannot unlock bootloader in any way i tried. So maybe can u find another solution? (Note: i tried following the link u send me and its not working)
How far did you get? OEM unlocking and usb debugging successful?
When putting your phone in fastboot mode and attaching it to the pc, check with "adb devices", if your phone is properly recognised. Using windows, it´s often the drivers. On my system, I had to manually select the ADB driver, since I got no connection before.
chrysopra said:
How far did you get? OEM unlocking and usb debugging successful?
When putting your phone in fastboot mode and attaching it to the pc, check with "adb devices", if your phone is properly recognised. Using windows, it´s often the drivers. On my system, I had to manually select the ADB driver, since I got no connection before.
Click to expand...
Click to collapse
thanks for replying again
i tried to oem unlocking and usb debugging but unsucessful
furthermore my pc cant even recognise my phone when i turn on usb debugging or change the usb to media transfer protocol (mtp) mode after i flash stock firmware (it worked before i flash the firmware)
how am i gonna install anything if my pc cant even recognise my phone????
(ps: your question "how far did you get" my answer is i cant flash any mods or unlock anything. bootloader locked.)
Can you see the "developer options" in settings/system when scrolling down ? If not, then:
How to access developer options in Android
Step 1: Go to Settings > About Phone.
Step 2: Tap Software Info > Build Number.
Step 3: Tap Build Number seven times. ...
Step 4: Once developer options are activated, you will see a message that reads, You are now a developer.
Within developer options there are options to enable usb debugging and oem unlock. I recently did this on a Galaxy tab and saw..nothing.
First I had to establish a network connection to my wifi base. Weird, but this brought those wanted menu items...
For further connection, check your computer drivers. Both the manufacturers usb drivers and adb driver are necessary. While connected to a PC, check, if you´re on Windows, the device manager, if the proper driver is chosen.
chrysopra said:
Can you see the "developer options" in settings/system when scrolling down ? If not, then:
How to access developer options in Android
Step 1: Go to Settings > About Phone.
Step 2: Tap Software Info > Build Number.
Step 3: Tap Build Number seven times. ...
Step 4: Once developer options are activated, you will see a message that reads, You are now a developer.
Within developer options there are options to enable usb debugging and oem unlock. I recently did this on a Galaxy tab and saw..nothing.
First I had to establish a network connection to my wifi base. Weird, but this brought those wanted menu items...
For further connection, check your computer drivers. Both the manufacturers usb drivers and adb driver are necessary. While connected to a PC, check, if you´re on Windows, the device manager, if the proper driver is chosen.
Click to expand...
Click to collapse
I see the developer options and the usb debugging switch
But there are 2 problems
1. My pc running windows 10 cannot detect my device (like showing it as a disk so i can copy files to )
2. In developer setting there is no OEM unlock option, which is weird. I triee many solutions but cannot get acess to OEM unlock. I even tried to unlock it with ADB ut its useless since my phone cant even access fastboot mode.(download mode is considered to be fastboot but ADB wont recognise my phone)
*why are you putting so much effort replying me*
*also drivers seem to be down*
As for the drivers, you could try:
Samsung Galaxy A5 (2017) USB Driver for Windows (Official Mobile Driver)
Download the official USB Driver for Windows Computer.
gsmusbdriver.com
As for the OEM unlocking, Samsung seems to be tricky:
How to Fix Missing OEM Unlock in Developer Options on Samsung
Are you looking for the OEM Unlock in developer options but couldn't find it? Here's how to fix missing OEM unlock in developer options.
www.ytechb.com
or:
How to fix the missing OEM unlock in developer options on Samsung devices - KrispiTech
There are different methods available to fix the missing OEM unlock in developer options on Samsung devices. By using this option, you will
krispitech.com
ItsSuperPlayz said:
*why are you putting so much effort replying me*
Click to expand...
Click to collapse
Maybe I´m a reincarnation of genghis khan, trying to earn some good karma...
chrysopra said:
As for the drivers, you could try:
Samsung Galaxy A5 (2017) USB Driver for Windows (Official Mobile Driver)
Download the official USB Driver for Windows Computer.
gsmusbdriver.com
As for the OEM unlocking, Samsung seems to be tricky:
How to Fix Missing OEM Unlock in Developer Options on Samsung
Are you looking for the OEM Unlock in developer options but couldn't find it? Here's how to fix missing OEM unlock in developer options.
www.ytechb.com
or:
How to fix the missing OEM unlock in developer options on Samsung devices - KrispiTech
There are different methods available to fix the missing OEM unlock in developer options on Samsung devices. By using this option, you will
krispitech.com
Maybe I´m a reincarnation of genghis khan, trying to earn some good karma...
Click to expand...
Click to collapse
heimdall finally recognise my phone but whenever i try to flash twrp.img it says
"Only official binaries are allowed to be flashed(RECOVERY)" (the phone itself) HELP!!!!
*good karma +1*
On any other device, you would have enjoyed your new TWRP since several days. But Samsung is eager to build as many hurdles as possible, to prevent changing the original software. They invented "KnoxGuard" to "protect" the phone. In your case, it´s aprotection against it´s owner
The error message means, that your phone isn´t successfully unlocked.
Try this:
"FIXED IT!!
The time trick actually worked.
All I had to do was turn back the time by like a year, reboot, enter recovery mode, delete cache, re-enable OEM unlock, spam the update phone button, and boot into download mode!"
The following Link may also be of interest:
Prevent Prenormal KG/RMM State on Samsung Galaxy Devices (Guide)
Is the OEM unlock toggle missing on your Samsung Galaxy device? That's probably because your phone has entered Prenormal KG/RMM State. In this guide, we will show you how to prevent Prenormal KG/
www.thecustomdroid.com
chrysopra said:
On any other device, you would have enjoyed your new TWRP since several days. But Samsung is eager to build as many hurdles as possible, to prevent changing the original software. They invented "KnoxGuard" to "protect" the phone. In your case, it´s aprotection against it´s owner
The error message means, that your phone isn´t successfully unlocked.
Try this:
"FIXED IT!!
The time trick actually worked.
All I had to do was turn back the time by like a year, reboot, enter recovery mode, delete cache, re-enable OEM unlock, spam the update phone button, and boot into download mode!"
The following Link may also be of interest:
Prevent Prenormal KG/RMM State on Samsung Galaxy Devices (Guide)
Is the OEM unlock toggle missing on your Samsung Galaxy device? That's probably because your phone has entered Prenormal KG/RMM State. In this guide, we will show you how to prevent Prenormal KG/
www.thecustomdroid.com
Click to expand...
Click to collapse
Sorry to say this but the method is useless. Its never gonna work.
Perhaps this (long) Thread may be helpful:
[GUIDE][17.06.2019] RMM/KG bypass - Root/Install TWRP on Exynos Samsung after 2018
UPDATE 17.06.2019 - NEW RMM/KG bypass patch UPDATE 23.02.2019 - Pie and more Please take some time and read carefully the whole post. I am not and i won`t be responsable for anything. Disclaimer I am not responsible for bricked devices, dead...
forum.xda-developers.com

Categories

Resources