Reflashing xiaomi a1 - question - Xiaomi Mi A1 Questions & Answers

I am noob at this, I need to reflash my current version 8.0 Oreo but i never done it, can someone explain me step by step what I must do.

Loco56 said:
I am noob at this, I need to reflash my current version 8.0 Oreo but i never done it, can someone explain me step by step what I must do.
Click to expand...
Click to collapse
I'm assuming you're talking about the original stock rom?
Download the Android SDK Platform-Tools; (I'm assuming you're using Windows)
1. Click -- SDK Platform-Tools for Windows
2. Unzip and put the SDK Platform-Tools for Windows anywhere you like.
https://developer.android.com/studio/releases/platform-tools.html
On the Mi Community forum link below you'll download the Oreo ROM;
Click the link below: Fastboot ROM | 1407M |8ea503201bb0b594e02e5ed2bf6dea09
http://c.mi.com/forum.php?mod=viewthread&tid=657275&extra=page=1
You need an Archive Tool like 7-Zip to extract the rom. Make sure in the 7-Zip options you have tar and tgz checked, so you can extract it.
https://www.7-zip.org/
.tgz is a tar archive with gzip compression added to it. When you click to extract it the first time, you'll now end up with a .tar archive, click to extract it again, and you'll finally have the contents of your rom, in two directories called;
tissot_images_8.1.10_20180110.0000.00_8.0_8ea503201b
tissot_images_8.1.10_8.0
Copy the contents of tissot_images_8.1.10_8.0 to your C: drive. Make sure you copy the contents, not the directory itself to C:
On MIUI forum read the Steps 1, 3, 4, 5 SKIP STEP 2! Be sure to download the Mi Flash Tool, Step 1.
http://en.miui.com/thread-807252-1-1.html
Step 3 on the MIUI forum, place the phone in Fastboot Mode.
Next go to the directory you extracted the Android SDK Platform-Tools, in that window hold down the Shift-key and Right-Click, when the menu pops up, click on Open command window here. Now you have a command prompt open.
1. Type in the command prompt - fastboot.exe devices
If successful you'll see a number displayed in the prompt for your phone.
2. Next you need to unlock the bootloader so type - fastboot.exe oem unlock
Now you're ready to flash it.
Open the Mi Flash Tool, make sure to the right of where it says select you put the path, which is C:\
Now click refresh and it should show the device like the screen shot on the MIUI forum, and then make sure clean all and lock is checked on the bottom right of the Mi Flash Tool.
Now click flash and wait...
Enjoy

Is this rom same
http://en.miui.com/getrom-333.html?m=yes&mobile=2

A Myth said:
http://en.miui.com/getrom-333.html?m=yes&mobile=2
Click to expand...
Click to collapse
Go to both URLs, copy the download links, paste them in Notepad and compare them...
http://c.mi.com/forum.php?mod=viewthread&tid=657275&extra=page=1

Related

[Q] HUGE problem! >:_(

Hi,
I was going to install a ROM on my Nexus, so I made a backup and wiped EVERYTHING. Including the SD card so now in clockworkmod
it can not mount the SD card, I cannot mount it to my computer... I am shaking and my hands are cold... I cant flash any rom HELP NOW!!!! ((((
thanks
No need to panic, its a nexus.
can you adb push a ROM zip to your sdcard?
if you can't then you can always flash a factory image with fastboot and you'll be back to normal in no time.
So take a deep breath and chill.
Sent from my Nexus 7 using xda premium
nodstuff said:
No need to panic, its a nexus.
can you adb push a ROM zip to your sdcard?
if you can't then you can always flash a factory image with fastboot and you'll be back to normal in no time.
So take a deep breath and chill.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
I have a factory image please tell me how'd I do that in fastboot! (only if they had a begging at knees thing)
ok i will write you some step by step functions to follow in order to get yourself a rom onto your device
Info that is Needed!
Do You Already Have ADB functioning on your Computer
If Yes - Skip to Step 2
If No Proceed from Step 1
----STEP 1----
install the ADB drivers for your device
im going to assume you have a windows machine here so the followthrough will be for windows (i use Win7 but it should be the same)
BOOT YOUR DEVICE INTO RECOVERY WHILE PLUGGED INTO YOUR PC BUT DO NOT CLICK ON ANYTHING
1. Download These Google Drivers for Nexus Devices http://www.themoviedb.org/movie/15092-crank-ii-high-voltage
2. extract the folder
3. press the start button
4. right click on "Comptuer" or "My Computer (XP)
5. Click on Manage
6. in the new window press "Device Manager" on the left
you should see in the tree on the right (a device with a yellow exclamation mark ! probably called nexus)
7. right click it and press update driver software
8. press browse my computer for driver software
9. press let me pick from a list of device drivers on my computer
10. press have disk
11. press browse
12. on the new window navigate to the folder you extracted earlier and select the android_winusb.inf
13. press ok
14. there will either be 1 or 2 options to choose - click Android Composite ADB Interface and then press next
15. tick always trust software from google inc. and then install
your device should now have ADB capablilities
Proceed to step 2
----STEP 2----
this will use adb to push a file to your device while it is in recovery mode which you can then flash
1. Download This - http://www.mediafire.com/?50baad8rykng2j0
these are adb & fastboot binaries which will allow your pc to send files to your nexus via ADB
2. extract the downloaded archive to somewhere easy to remember ( i suggest C:\fastboot )
3. rename your downloaded custom rom to rom.zip (for simplicity) and copy it to the extracted directory (the one with adb.exe & fastboot.exe)
4. bring a command prompt to this directory
- in the directory you extracted (c:\fastboot) hold shift and right click in a blank area of the main window
- click "open command window here"
or
- Windows Key & R
- in the new box type cmd then press enter
- type cd c:\fastboot (where c:\fastboot is the directory where you extracted)
now to push it over
5. in the cmd window type adb devices and make sure your device is listed
your should see something like
list of attached devices
XXXXXXXXXXXXXXXX Recovery
where XXXXX is your devices serial number
6. in your cmd window type adb push rom.zip /sdcard/
this will take a while to complete but once it is down go back to your device and try to install a rom as you usually would
you should see the file in your internal memory to install now
^^ I was too slow!
First install the android SDK (Google it) then you need to put fastboot in your path you need to open my computer, system properties, advanced system settings, environment variables button at the bottom, then in the bottom window scroll down til you see find path and edit it and add the path to the android SDK and in particular the platform-tools folder.
So if you download the android SDK to your C drive, the path you will be adding will be like ";C:\android-sdk\platform tools" (note the semi colon at the start, important to separate entries)
Once the path is set up you can use fast boot in cmd just by typing fastboot xxxxx rather than typing C:\android-sdk\platform-tools fastboot xxxxx every time.
So next thing is to extract the images to somewhere.
Inside the zip is another zip called image-nakasi-jzo54k,
unzip that til you have .IMG files, system.img, boot.img etc.
then once they are extracted you use cmd to CD to that folder where you have the images and you can start to flash them.
fastboot flash system system.img
fastboot flash boot boot.img
You could just use flash-all.bat but and that will flash them all automatically but will wipe your internal SD.
Sent from my Nexus 7 using xda premium
If you JUST read that, I figured it out, and if I can flash all the partitons correctly, I will punch the thanks button.
cburk01 said:
yay new problem
Ok, so I unzipped it, extracted the thing inside, but it was it a weird format Windows recognized as "file". So, I added .zip to the end. WinRAR opened it, I saw the files, began to extract when an error popped up about the archive being damaged. WTF.
Click to expand...
Click to collapse
What was the name of the file that you had problems with?
the first one is a .tgz file then .tar but the one with the images inside that is .zip (looking at it now)
use 7-zip instead of winzip
Sent from my Nexus 7 using xda premium
nodstuff said:
What was the name of the file that you had problems with?
the first one is a .tgz file then .tar but the one with the images inside that is .zip (looking at it now)
use 7-zip instead of winzip
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Now I REALLY DO have a problem. I flashed boot.img, system.img, userdata.img, everything to the right partitons and still have a problem. Boot loop. Sticks on Google logo. Why? I did everything right. I even tried fastboot boot boot.img, no luck. I saw some people having boot loop problems, too on 4.1.2. So now, until you reply, I am going to try a custom kernel. Scratch that I'm using ToolKit to download and install 4.1.1.
If you flashed userdata.img that means your internal SD is wiped.
did you run flash-all.bat that is in the folder?
It would be no harm to do that now since everything is wiped already.
no matter what its still recoverable so don't worry.
Sent from my Nexus 7 using xda premium
nodstuff said:
If you flashed userdata.img that means your internal SD is wiped.
did you run flash-all.bat that is in the folder?
It would be no harm to do that now since everything is wiped already.
no matter what its still recoverable so don't worry.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
*facepalm* with the SD I already wiped that before I flashed. And I didnt run flashall.bat or what ever its called so I am going in to try that. Ran flashall got some weird radio flashing error so now continuing with ToolKit.
Flash-all.bat just automatically flashes all the images by running one command, it simplifies the process.
It just isn't ideal if you wanna keep your SD contents.
that's why you flash images separately, so you don't flash userdata.img but since you already wiped it then you're good to go.
Sent from my Nexus 7 using xda premium
WOOT!!!!!!!!!!!!!!!!!!!! Although I don't know if my backup will work, my tablet is now booted up into Android 4.1.1. Now I am going to root it, install a ROM, restore my data partition from TWRP, and (hopefully) have what I have been waiting for. A updated, functioning Nexus 7. *mashes thanks button*
Hey, should I update to 4.1.2 THEN root or root on 4.1.1 THEN flash the ROM?
cburk01 said:
WOOT!!!!!!!!!!!!!!!!!!!! Although I don't know if my backup will work, my tablet is now booted up into Android 4.1.1. Now I am going to root it, install a ROM, restore my data partition from TWRP, and (hopefully) have what I have been waiting for. A updated, functioning Nexus 7. *mashes thanks button*
Click to expand...
Click to collapse
Your backup is most likely gone, its stored on the SD card and that is wiped. Unless you have it on your computer, then you are all good.
Glad its back to life and now you know how to fix it if anything goes wrong.
What you learned today is very valuable to know.
It's nearly impossible to kill a nexus device (from a software perspective)
Sent from my Nexus 7 using xda premium
---------- Post added at 12:19 AM ---------- Previous post was at 12:18 AM ----------
cburk01 said:
Hey, should I update to 4.1.2 THEN root or root on 4.1.1 THEN flash the ROM?
Click to expand...
Click to collapse
Update first
Sent from my Nexus 7 using xda premium
Yes, I have my backup on my Macbook (running Windows 7). Thanks for all the useful advice. lol about the Nexus devices are hard to kill thing, I imagined a cockroach. And about the valuable lesson thing, I learned fastboot commands and adb stuff all when I was messing with (then soon after fixing) my HTC EVO 3D. Oh, I love XDA. Thanks again.
-cburk

[guide]working downgrade method (emui 8 to emui 5.1) for honor 8 pro

Hi,
So many of us are not happy with the oreo rom of Honor 8 Pro (C675). Those who looking forward to downgrade from Oreo to nougat just follow the steps. (This method is tested and is working. I just finished downgrading and is working perfectly fine. I just want to share this method with you guys. Also this i my first post in the forum. Some steps have been copied from a previous post by xfact)
Things you might need :-
>>A computer
>>At least 8GB memory card.
>>An unlocked bootloader. (you can relock it later)
>>Download the necessary files here :- [The Dload file was previously shared in this forum by xfact, but the link is not working now. Fortunately, I downloaded the file while it was available and I am providing the link to the google drive backup.]
REMOVE THE *** IN BETWEEN THE URL'S
(a) Dload File --- https***://***drive.google.com/open?id=1ZpOoPZ3dEn86lEh0PwlZP0W2LShM-BnT
(b) Recovery File --- https***://***drive.google.com/file/d/1qiP4k5HtJ3VR5l9ac8FnpxrwryIxu-pV/view?usp=sharing
(c) ADB platform tools --- https***://***drive.google.com/open?id=1vu-awRNjH3B9os5MuHGSlu-ca6zNv10V
>>Unzip the above-mentioned Dload file, then go to the folder, then software>dload folder and unzip the 'SDupdate_Package.tar.gz' with 7-Zip. It will extract another archived file called 'SDupdate_Package.tar'. Now unzip that too with 7-Zip and you will get a folder called 'dload' again.
>>Now take an SD card with at least 8 Gb of space, format it to exFAT. Paste the last 'dload' folder and all its contents at the root directory of that SD card. Put it into your phone.
>>To unlock the bootloader, just log into---- https***://***bit.ly/2uEEvdj
This is their chinese website, use translator in chrome to read in english.
Fill up the necessary details and you will get an unlock code for your device.
>>Follow the necessary steps to unlock your bootloader from here :- https***://***bit.ly/2uEM1F8
>>After unlocking the bootloader, your phone will be factory reset. When the phone boots up again, go to settings and enable USB Debugging from devoloper options.
>>Unzip the platform tools zip file and copy the Recovery file into that folder.( you have to unzip the platform tools file while unlocking the bootloader. Just copy the recovery image to that folder)
>>Holding the SHIFT key, right click any empty spaces in the folder and from the menu that appears, select "Open command window here"
>>Connect your handset. Ensure USB debugging prompt appeared as seen in the bootloader unlocking tutorial.
>>In the command window type the following commands :-
1. adb devices
(this is to make sure your device is connected properly)
2.adb reboot bootloader
(to put your device into fastboot mode)
3.fastboot flash recovery_ramdisk DUK-RECOVERY_RAMDISK_NoCheck.img
(to flash the recovery image)
4. fastboot reboot
>>When the device boots up, go to the dialer, type *#*#2846579#*#*
->Click on Software Upgrade -> SDcard upgrade->confirm.
Your phone will recognise the memory card with dload file in it. It will flash the rom. It will get stuck at 99% and shows error. Dont worry, just select reboot system option that appears on the screen.
You will be on the Nougat Rom
To relock the bootloader--
>>Again you have to enable USB debugging from devoloper options>>open command window from the platform tools folder>> execute the commands 1 and 2.
Then type the following command :-
fastboot oem relock *unlock key*
(replace *unlock key* with your unlock key used for bootloader unlock)
YOUR DEVICE WILL BE ON NOUGAT ROM WITH LOCKED BOOTLOADER
As this is my first post, kindly ignore the errors. Sorry if this lengthy post made any confusion. Hope this is helpful to all of you.
akhilbs94 said:
Hi,
So many of us are not happy with the oreo rom of Honor 8 Pro (C675). Those who looking forward to downgrade from Oreo to nougat just follow the steps. (This method is tested and is working. I just finished downgrading and is working perfectly fine. I just want to share this method with you guys. Also this i my first post in the forum. Some steps have been copied from a previous post by xfact)
Things you might need :-
>>A computer
>>At least 8GB memory card.
>>An unlocked bootloader. (you can relock it later)
>>Download the necessary files here :- [The Dload file was previously shared in this forum by xfact, but the link is not working now. Fortunately, I downloaded the file while it was available and I am providing the link to the google drive backup.]
REMOVE THE *** IN BETWEEN THE URL'S
(a) Dload File --- https***://***drive.google.com/open?id=1ZpOoPZ3dEn86lEh0PwlZP0W2LShM-BnT
(b) Recovery File --- https***://***drive.google.com/file/d/1qiP4k5HtJ3VR5l9ac8FnpxrwryIxu-pV/view?usp=sharing
(c) ADB platform tools --- https***://***drive.google.com/open?id=1vu-awRNjH3B9os5MuHGSlu-ca6zNv10V
>>Unzip the above-mentioned Dload file, then go to the folder, then software>dload folder and unzip the 'SDupdate_Package.tar.gz' with 7-Zip. It will extract another archived file called 'SDupdate_Package.tar'. Now unzip that too with 7-Zip and you will get a folder called 'dload' again.
>>Now take an SD card with at least 8 Gb of space, format it to exFAT. Paste the last 'dload' folder and all its contents at the root directory of that SD card. Put it into your phone.
>>To unlock the bootloader, just log into---- https***://***bit.ly/2uEEvdj
This is their chinese website, use translator in chrome to read in english.
Fill up the necessary details and you will get an unlock code for your device.
>>Follow the necessary steps to unlock your bootloader from here :- https***://***bit.ly/2uEM1F8
>>After unlocking the bootloader, your phone will be factory reset. When the phone boots up again, go to settings and enable USB Debugging from devoloper options.
>>Unzip the platform tools zip file and copy the Recovery file into that folder.( you have to unzip the platform tools file while unlocking the bootloader. Just copy the recovery image to that folder)
>>Holding the SHIFT key, right click any empty spaces in the folder and from the menu that appears, select "Open command window here"
>>Connect your handset. Ensure USB debugging prompt appeared as seen in the bootloader unlocking tutorial.
>>In the command window type the following commands :-
1. adb devices
(this is to make sure your device is connected properly)
2.adb reboot bootloader
(to put your device into fastboot mode)
3.fastboot flash recovery_ramdisk DUK-RECOVERY_RAMDISK_NoCheck.img
(to flash the recovery image)
4. fastboot reboot
>>When the device boots up, go to the dialer, type *#*#2846579#*#*
->Click on Software Upgrade -> SDcard upgrade->confirm.
Your phone will recognise the memory card with dload file in it. It will flash the rom. It will get stuck at 99% and shows error. Dont worry, just select reboot system option that appears on the screen.
You will be on the Nougat Rom
To relock the bootloader--
>>Again you have to enable USB debugging from devoloper options>>open command window from the platform tools folder>> execute the commands 1 and 2.
Then type the following command :-
fastboot oem relock *unlock key*
(replace *unlock key* with your unlock key used for bootloader unlock)
YOUR DEVICE WILL BE ON NOUGAT ROM WITH LOCKED BOOTLOADER
As this is my first post, kindly ignore the errors. Sorry if this lengthy post made any confusion. Hope this is helpful to all of you.
Click to expand...
Click to collapse
can I get recovery image file please

[GUIDE] [MAGISK] Root stock Oreo B520 B521 B562

DISCLAIMER: I will not be responsible of any issues you could face following this how-to. You do it at your own risk!​
Here is a guide to root Honor 8 B521 Oreo. I did this on FRD-L09C432B521. Even if i think the "easy method" should work with other iteration of the phone (L02, L19, ...), I am not sure ramdisk is the same for all so test it if you feel lucky and please report if it works or not.
Requirements:
- Honor 8 running Oreo
- Unlocked Bootloader
- adb and fastboot installed on your computer (https://forum.xda-developers.com/android/software-hacking/alpha-adb-fastboot-installer-windows-t3637255 (Hit the thanks button)
Long method: (should work for all honor 8)​
1 -- Visit http://pro-teammt.ru/firmware-database/ and search your exact build (FRD-L09C432B521 for me). If you have several phones listed for your build, click the name of the build on the left. This will open an xml file on the first line of which you will see the exact model it is for.
2 -- Once you know which firmware is yours, click on "filelist". This will list the files for this build and theirs url. Copy the link pointing to "update.zip" (http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3109/g1699/v159456/f1/full/update.zip for me). Decompress it wherever you want.
3 -- Download and run Huawei Update Extractor (Hit the thanks button) . Untick "verify header checksum" in "settings" tab.
4 -- In the "extract" tab, click on "..." and select "update.app" in the previously "update.zip" decompressed folder.
5 -- Files from "update.app" should now be listed. Find "ramdisk" and right click on it. Choose "extract" and you will be able to save the file wherever you want. Copy this file on your phone.
6 -- On your phone: Go to Magisk thread (Hit the thanks button) and download the latest magisk manager. Install it. Grant permission to the manager to access your storage in phone settings > applications.
7 -- Run Magisk Manager, it will ask you if you want to install the zip. Select "Yes". It will now ask if you want to flash the zip or to patch a boot image, choose this last one. Point to the ramdisk img you previously copied on your phone. Magisk manager will now patch it and create a new "patched_boot.img" file. Copy this on your computer.
8 -- On your computer: Open a command prompt where you copied "patched_boot.img". Enter the following commands:
adb reboot bootloader (your phone will reboot in bootloader mode)
fastboot flash ramdisk patched_boot.img
fastboot reboot
9 -- Your phone will now reboot and be rooted. To unroot, repeat the process (8) with your stock ramdisk (the one extracted with Huawei Update Extractor)
Easy method​
If your build is FRD-L09C432B521, FRD-L02C432B521, FRD-L04C567B520 or FRD-L09C432B562, you can use these already patched ramdisk.img.
patched_RAMDISKL09B521.img
stock_RAMDISKL09B521.img
patched_RAMDISKL02B521.img thanks to @Sharath007for the file
patched_RAMDISKL04B520.img thanks to @macbuggo for the file
stock_RAMDISKL04B520.img thanks to @macbuggo for the file
patched_RAMDISKL09B562.img thanks to @topscorer for the file
stock_RAMDISKL09B562.img thanks to @topscorer for the file
On your computer: Open a command prompt where you downloaded "patched_RAMDISKL09B521.img" (or L02/L04 ramdisk) .
Enter the following commands:
adb reboot bootloader (your phone will reboot in bootloader mode)
fastboot flash ramdisk patched_RAMDISKLXXBXXX.img (the exact name depends of the ramdisk you downloaded)
fastboot reboot
Your phone will now reboot
Go to Magisk thread (Hit the thanks button) and download the latest magisk manager. Install it.
You now got root. To unroot, repeat the process with stock ramdisk.
Worked in the first attempt.. Safety net passes..
Sharath007 said:
Worked in the first attempt.. Safety net passes..
Click to expand...
Click to collapse
Did you do this on L09? Otherwise, could you share the patched ramdisk so I can add it in OP?
stephtban said:
Did you do this on L09? Otherwise, could you share the patched ramdisk so I can add it in OP?
Click to expand...
Click to collapse
Thanks for your guide. I did it on my FRD-L02 Variant.
FRD_L02_patched_boot
Sharath007 said:
Thanks for your guide. I did it on my FRD-L02 Variant.
FRD_L02_patched_boot
Click to expand...
Click to collapse
Thanks! I added your ramdisk to OP. Do you still have unpatched version of it for easy unrooting?
delete
PremiumBlaze said:
Can't guys flash Magisk using twrp? It worked for me in android oreo.
Click to expand...
Click to collapse
You can indeed use twrp but as it is not completely functional yet, some people don't use it. Besides, Open Kirin suggest to flash their rom with fastboot so it limits the interest of having twrp.
stephtban said:
DISCLAIMER: I will not be responsible of any issues you could face following this how-to. You do it at your own risk!​
Here is a guide to root Honor 8 B521 Oreo. I did this on FRD-L09C432B521. Even if i think the "easy method" should work with other iteration of the phone (L02, L19, ...), I am not sure ramdisk is the same for all so test it if you feel lucky and please report if it works or not.
Requirements:
- Honor 8 running Oreo
- Unlocked Bootloader
- adb and fastboot installed on your computer (https://forum.xda-developers.com/android/software-hacking/alpha-adb-fastboot-installer-windows-t3637255 (Hit the thanks button)
Long method: (should work for all honor 8)​
1 -- Visit http://pro-teammt.ru/firmware-database/ and search your exact build (FRD-L09C432B521 for me). If you have several phones listed for your build, click the name of the build on the left. This will open an xml file on the first line of which you will see the exact model it is for.
2 -- Once you know which firmware is yours, click on "filelist". This will list the files for this build and theirs url. Copy the link pointing to "update.zip" (http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3109/g1699/v159456/f1/full/update.zip for me). Decompress it wherever you want.
3 -- Download and run Huawei Update Extractor (Hit the thanks button) . Untick "verify header checksum" in "settings" tab.
4 -- In the "extract" tab, click on "..." and select "update.app" in the previously "update.zip" decompressed folder.
5 -- Files from "update.app" should now be listed. Find "ramdisk" and right click on it. Choose "extract" and you will be able to save the file wherever you want. Copy this file on your phone.
6 -- On your phone: Go to Magisk thread (Hit the thanks button) and download the latest magisk manager. Install it. Grant permission to the manager to access your storage in phone settings > applications.
7 -- Run Magisk Manager, it will ask you if you want to install the zip. Select "Yes". It will now ask if you want to flash the zip or to patch a boot image, choose this last one. Point to the ramdisk img you previously copied on your phone. Magisk manager will now patch it and create a new "patched_boot.img" file. Copy this on your computer.
8 -- On your computer: Open a command prompt where you copied "patched_boot.img". Enter the following commands:
adb reboot bootloader (your phone will reboot in bootloader mode)
fastboot flash ramdisk patched_boot.img
fastboot reboot
9 -- Your phone will now reboot and be rooted. To unroot, repeat the process (8) with your stock ramdisk (the one extracted with Huawei Update Extractor)
Easy method​
If your build is FRD-L09C432B521 or FRD-L02C432B521, you can use these already patched ramdisk.img.
patched_RAMDISKL09B521.img
stock_RAMDISKL09B521.img
patched_RAMDISKL02B521.img thanks to @Sharath007for the file
On your computer: Open a command prompt where you downloaded "patched_RAMDISKL09B521.img" (or L02 ramdisk) .
Enter the following commands:
adb reboot bootloader (your phone will reboot in bootloader mode)
fastboot flash ramdisk patched_RAMDISKL09B521.img OR fastboot flash ramdisk patched_RAMDISKL02B521.img
fastboot reboot
Your phone will now reboot and be rooted
To unroot, repeat the process with stock ramdisk.
Click to expand...
Click to collapse
Thanks! work perfectly
freewind29 said:
Thanks! work perfectly
Click to expand...
Click to collapse
Don't quote entire op please.
Did not work on my phone (L09C432) with the "easy way".
Flashed patched ramdisk, no root, but at least still running.
daFlox said:
Did not work on my phone (L09C432) with the "easy way".
Flashed patched ramdisk, no root, but at least still running.
Click to expand...
Click to collapse
Sorry, I forgot a step. After you flashed the patched ramdisk, go to Magisk thread (Hit the thanks button) and download the latest magisk manager. Install it. This should work then. Please tell me if it helped.
OP edited with this new step.
Worked great here for FRD-04, one thing to add
You may have to restart your phone to be able to see the patched file via MTP in order to copy it to your PC.
macbuggo said:
Worked great here for FRD-04, one thing to add
You may have to restart your phone to be able to see the patched file via MTP in order to copy it to your PC.
Click to expand...
Click to collapse
Happy this works. Could you share the stock ramdisk and the patched ramdisk so I can add it in OP.
stephtban said:
Sorry, I forgot a step. After you flashed the patched ramdisk, go to Magisk thread (Hit the thanks button) and download the latest magisk manager. Install it. This should work then. Please tell me if it helped.
OP edited with this new step.
Click to expand...
Click to collapse
Ahhh, okay!
Will try it this evening and report tomorrow.
daFlox said:
Will try it this evening and report tomorrow.
Click to expand...
Click to collapse
Works, thanks a lot!! (additional thanks in the original post )
stephtban said:
Happy this works. Could you share the stock ramdisk and the patched ramdisk so I can add it in OP.
Click to expand...
Click to collapse
I couldn't upload to XDA directly due to 8MB limit unfortunately, here it is if you want to put it up on your google drive or something
http://s000.tinyupload.com/index.php?file_id=10562650897614852938
This is a patched image of FRD-04C567 8.0.0.520 with Magisk 17.1
macbuggo said:
I couldn't upload to XDA directly due to 8MB limit unfortunately, here it is if you want to put it up on your google drive or something
http://s000.tinyupload.com/index.php?file_id=10562650897614852938
This is a patched image of FRD-04C567 8.0.0.520 with Magisk 17.1
Click to expand...
Click to collapse
Thanks. File and credit added to OP. Do you still have stock ramdisk for easy unrooting?
Tinyupload appears to be down, these links will last for 30 days
FRD-L04C567 8.0.0.520 ramdisk patched Magisk 17.1
https://ufile.io/nsa1h
Stock L04 520 ramdisk
https://ufile.io/34eq5
macbuggo said:
Tinyupload appears to be down, these links will last for 30 days
FRD-L04C567 8.0.0.520 ramdisk patched Magisk 17.1
https://ufile.io/nsa1h
Stock L04 520 ramdisk
https://ufile.io/34eq5
Click to expand...
Click to collapse
File added. Thx.
Hallo! Is it possible to root my FRD-L09 Honor 8 Oreo this way too? And after then can I flash/install a Stock Version with Emui 5 Android 7 Nougat and then un-root again? I need my device unrooted, because of SkyGo App (Germany) doesnt work with rootet Devices ...
If theres another way to downgrade without these operations, please let me know and maybe show me the steps for that?! Thank you so much!

[GUIDE][UNBRICK] The Huanor GR5X fully unbrick guide

Hi mates, today i come with the unique guide for unbrick our Huanor GR5X phones
THIS GUIDE IS FOR FULLY BRICKED HUAWEI GR5/5X HONOR, ALL MODEL/VARIANT
ATENTION!!!
Files rawprogram0.xml and patch0.xml from my packcage its ONLY for the Huawei GR5 KII-L23 16GB VARIANT!!!
In order to continue with the tutorial, you must create your rawprogram and patch0 xml files
(mini tutorial bellow)
Ready? GO
1) Download my packcage (link MEGA)
2) Install QFIL Software. From my packcage, extract and move the folder 'Firmware' to C:\Program Files\Qualcomm\QPST\bin
3) Download and extract this .IMG files from ANY 5.1 full firmware UPDATE.APP for your model/variant
(Note: for KII-L23 is not necessary GPT.img)
GPT.img
BOOT.img
CUST.img
SYSTEM.img
TZ.img
MODEM.img
Place all img files in C:\Program Files\Qualcomm\QPST\bin\Firmware
4) Install Qualcomm drivers, Connect phone to pc, open Device Manager. If you see under com port Qualcomm USB loader or something along those lines. your good.
5) In QFIL software, if qualcomm driver are found it will say on top of QFIL software Qualcom USB loader 9008 (if say 9006,900E, you must put your phone into EDL mode with EDL Cable or EDL TEST POINT, google it)
6) Once you get the Qualcom USB loader 9008 on QFIL, you can continue
6) Select Build Type: click Flat Build
7) Select Programmer: browse to C:\Program Files\Qualcomm\QPST\bin\Firmware\prog_emmc_firehose_8939.mbn and select
8) Load XML: browse to C:\Program Files\Qualcomm\QPST\bin\Firmware and select "rawprogram0.xml" file, then select "patch0.xml" file.
9) Go to Tools and click Partition Manager
10) You will see a list with all files from partition table
11) To flash, you need select Boot.img in the list first, a mini windows will open, click on Load image and select the Boot.img placed on C:\Program Files\Qualcomm\QPST\bin\Firmware
Do the same with the rest of img files in THIS order
BOOT.img
CUST.img
SYSTEM.img
TZ.img
MODEM.img
12) Once you finish, close the partition manager. A message will appear and phone will reboot. If not, reboot manually
That's all enjoy!
FOR GR5 KII-L2X AND HONOR 5X KIW-L2X MODEL/VARIANT, FOLLOW THIS TUTORIAL
1) Download my packcage and exctract it
2) Open a cmd windows in 'Phyton + GPT Tools' folder
3) Type: GPTAnalyzer.py (drag and drop the GPT.img file previously downloaded from 5.1 firmware) and click Enter
4) Copy all results in cmd, paste on notepad and save as 'Partition0.xml' (start with <?xml version... and finish on </configuration>)
5) Type GPTParseTool.py -x (drag and drop the partition0.xml created) and click enter
6) Go to phyton folder and move all created files to C:\Program Files\Qualcomm\QPST\bin\Firmware
7) Now you can continue with the guide
Thats all my friends, hope you get a new life for your Huanor GR5X
PLEASE IF I HELP YOU, BUY ME A COFFE HERE
Reserved
GOOD guide!someone will need it!
my question:does it work on the locked phone?
wsdyleon said:
GOOD guide!someone will need it!
my question:does it work on the locked phone?
Click to expand...
Click to collapse
Thanks!
Locked and unlocked devices.
My dear friend, there is no python tools folder in your package. i can't unbrick my phone with your xml files, its a KLL-L21.
Best of regards.
faabricjs said:
Thanks!
Locked and unlocked devices.
Click to expand...
Click to collapse
I cant find python + GPT tools
faabricjs said:
Thanks!
Locked and unlocked devices.
Click to expand...
Click to collapse
my device is not showing up I have removed the battery and connected the usb but nothing happens only the device vibrates and huawei logo apears but nothing on my pc
Ibrahim Tariq said:
I cant find python + GPT tools
Click to expand...
Click to collapse
Here you will find all files needed and instructions
You have to open the phone and put it in EDL mode
Search Google for that
https://forum.hovatek.com/thread-31505.html
snazzyman89 said:
My dear friend, there is no python tools folder in your package. i can't unbrick my phone with your xml files, its a KLL-L21.
Best of regards.
Click to expand...
Click to collapse
Ibrahim Tariq said:
my device is not showing up I have removed the battery and connected the usb but nothing happens only the device vibrates and huawei logo apears but nothing on my pc
Click to expand...
Click to collapse
See my reply in previous post #8
---------- Post added at 02:15 AM ---------- Previous post was at 02:06 AM ----------
Can't we use Huiye Download Tool to flash all the images ?
what if i dont have system.img in my firmeware ? what should i do ? i have firehose from b321 can this be compatible with b330?
EDIT : i found the sys.img for b321
friends help me out i have KiW L21 superbricked unable to charge battery and he dont show up in device manager as qloader 9008

Eunavi head unit t8 android 8.1 root of stock rom

Some one can helpme about root recovery mode or stock rom.install.
Because i want to install official tomtom go.
Its not in play store.
I tried many thinks but not success
ufoss said:
Some one can helpme about root recovery mode or stock rom.install.
Because i want to install official tomtom go.
Its not in play store.
I tried many thinks but not success
Click to expand...
Click to collapse
I'm currently trying to get firmware for my Eunavi radio direct from Eunavi but am struggling at the moment. I will let you know if I do get it.
thanks
No answer?
ufoss said:
Some one can helpme about root recovery mode or stock rom.install.
Because i want to install official tomtom go.
Its not in play store.
I tried many thinks but not success
Click to expand...
Click to collapse
Hey. Here is the firmware for your HU.
https://drive.google.com/file/d/1DrxnbYQeyid7gNZWPFC8TsrX65cwxNSh
How to get root:
Enter the engineering menu. Record or photograph all settings!
Install Magisk manager on HU.
Extract firmware from archive to folder.
Take the file boot.img from firmware.
Patch boot.img using Magisk manager.
Replace the original boot.img with the patched boot.img (name must remain "boot.img").
Open the folder with the firmware.
Select everything in the folder and zip it (Do not archive the folder with the firmware!).
Rename zip archive to update.zip.
Need to sign the firmware
1. Install the latest jre from java.com (reboot may be required).
2. Extract files from the SingApkV2.zip archive. https://yadi.sk/d/HkS6APFt3Sb4Ek
3. Place update.zip in the same folder.
4. Run SingerScript.bat
Copy update_signed.zip to usb flash drive (format must be a FAT32) and rename to os_update.zip
Start the engine. Turn on HU. Wait for the HU to boot.
Insert usb flash drive.
Agree to update.
Wait for the update to complete (Do not touch anything! Do not stop the engine!). HU will reboot itself. Be patient. It will take a lot of time.
The first start after reboot lasts about 15 minutes!
At one's own risk.
I do not have such a HU. If you get a brick, I don’t know what to do next ...
****-jones said:
Hey. Here is the firmware for your HU.
https://drive.google.com/file/d/1DrxnbYQeyid7gNZWPFC8TsrX65cwxNSh
How to get root:
Enter the engineering menu. Record or photograph all settings!
Install Magisk manager on HU.
Extract firmware from archive to folder.
Take the file boot.img from firmware.
Patch boot.img using Magisk manager.
Replace the original boot.img with the patched boot.img (name must remain "boot.img").
Open the folder with the firmware.
Select everything in the folder and zip it (Do not archive the folder with the firmware!).
Rename zip archive to os_update.zip.
Remove all from usb flash drives (format must be a FAT32).
Copy os_update.zip to usb flash drive.
Start the engine. Turn on HU. Wait for the HU to boot.
Insert usb flash drive.
Agree to update.
Wait for the update to complete (Do not touch anything! Do not stop the engine!). HU will reboot itself. Be patient. It will take a lot of time.
The first start after reboot lasts about 15 minutes!
At one's own risk.
I do not have such a HU. If you get a brick, I don’t know what to do next ...
Click to expand...
Click to collapse
Thansk for answer.. i did all steps but installation aborted... ( see attachment)
Also in recovery mode cannor chose other menu
ufoss said:
Thansk for answer.. i did all steps but installation aborted... ( see attachment)
Also in recovery mode cannor chose other menu
Click to expand...
Click to collapse
Try to sign the file os_update.zip
Use SingApkV2.zip
https://yadi.sk/d/HkS6APFt3Sb4Ek
You need to install JRE from java.com
In recovery, try using a usb keyboard or mouse. May not work...
****-jones said:
Try to sign the file os_update.zip
Use SingApkV2.zip
https://yadi.sk/d/HkS6APFt3Sb4Ek
You need to install JRE from java.com
In recovery, try using a usb keyboard or mouse. May not work...
Click to expand...
Click to collapse
Thanks but i dont now how to that..
has a instruction??
ufoss said:
Thanks but i dont now how to that..
has a instruction??
Click to expand...
Click to collapse
1. Install the latest jre from java.com (reboot may be required).
2. Extract files from the SingApkV2.zip archive.
3. Place os_update.zip in the same folder.
4. Run from the command line
Code:
java -jar signapkv2.jar -w -v testkey.x509.pem testkey.pk8 os_update.zip os_update_signed.zip
Or edit the SingerScript.bat file and execute it.
5. Copy os_update_signed.zip to usb flash drive and rename to os_update.zip
6. Try to flash.
****-jones said:
1. Install the latest jre from java.com (reboot may be required).
2. Extract files from the SingApkV2.zip archive.
3. Place os_update.zip in the same folder.
4. Run from the command line
Code:
java -jar signapkv2.jar -w -v testkey.x509.pem testkey.pk8 os_update.zip os_update_signed.zip
Or edit the SingerScript.bat file and execute it.
5. Copy os_update_signed.zip to usb flash drive and rename to os_update.zip
6. Try to flash.
Click to expand...
Click to collapse
Thanks a lot... mission completed
After signed. update success - root success
ufoss said:
Thanks a lot... mission completed
After signed. update success - root success
Click to expand...
Click to collapse
Is that the only way to install 3d-party apps not from the playstore? (want to install my own application)
Another question - does it have any API for developers that would allow to receive CAN messages and/or get the IGN signal?
Hi ****-jones!
Can you give me the link to download this Eunavi 913 head unit please. Thank you.
https://www.aliexpress.com/item/4000674983866.html?spm=2114.12010612.8148356.6.2edc363cb3o8df
****-jones said:
Hey. Here is the firmware for your HU.
https://drive.google.com/file/d/1DrxnbYQeyid7gNZWPFC8TsrX65cwxNSh
How to get root:
Enter the engineering menu. Record or photograph all settings!
Install Magisk manager on HU.
Extract firmware from archive to folder.
Take the file boot.img from firmware.
Patch boot.img using Magisk manager.
Replace the original boot.img with the patched boot.img (name must remain "boot.img").
Open the folder with the firmware.
Select everything in the folder and zip it (Do not archive the folder with the firmware!).
Rename zip archive to update.zip.
Need to sign the firmware
1. Install the latest jre from java.com (reboot may be required).
2. Extract files from the SingApkV2.zip archive. https://yadi.sk/d/HkS6APFt3Sb4Ek
3. Place update.zip in the same folder.
4. Run SingerScript.bat
Copy update_signed.zip to usb flash drive (format must be a FAT32) and rename to os_update.zip
Start the engine. Turn on HU. Wait for the HU to boot.
Insert usb flash drive.
Agree to update.
Wait for the update to complete (Do not touch anything! Do not stop the engine!). HU will reboot itself. Be patient. It will take a lot of time.
The first start after reboot lasts about 15 minutes!
At one's own risk.
I do not have such a HU. If you get a brick, I don’t know what to do next ...
Click to expand...
Click to collapse
Thank you so much I finally rooted my Atoto S8 Ultra Plus Gen 2 but I still have a problem with google uncertified & Safetynet if you have a solution please help I’ve already tried most of magistrates module but no success again thank you
****-jones said:
Try to sign the file os_update.zip
Use SingApkV2.zip
https://yadi.sk/d/HkS6APFt3Sb4Ek
You need to install JRE from java.com
In recovery, try using a usb keyboard or mouse. May not work...
Click to expand...
Click to collapse
Hi, after trying to flash from a bootable SD card, I now have a black screen, sometimes it turns white. From the beginning, it was not possible to enter recovery in any way because the radio caught the bootloop, the connection by shorting the t8 processor resistor does not connect to the phoenix suite or is there any unbrick and putting it back on Android 8.1? Eunavi I noticed that the flash mode is blocked by shorting key 1 to ground when I try to enter recovery via the keyboard alt preent screeen " i " with a booted sd card white screen. I have run out of ideas. Do you have options to help somehow? I will be grateful

Resources