[Hisense A5] Info-Thread - Android Q&A, Help & Troubleshooting

Maybe helpful to have some basic information about this great device in one posting:
Device Specs
https://www.mobosdata.com/phone/hisense-a5/
How to reflash Firmware directly from microSD (Tfmode)
Thanks to Anghirrim !!!
https://forum.xda-developers.com/showpost.php?p=82575517&postcount=21
Edl mode (in General)
Thanks to Anghirrim !!!
https://forum.xda-developers.com/showpost.php?p=82654769&postcount=79
Rooting for Firmware Version 6.09.06.00
Thanks to joygram !!!
https://forum.xda-developers.com/android/general/hisense-a5-root-gapps-customizer-t4097951
QFIL Firmware 6.03.02 for unbricking in Edl-Mode
Thanks to gowin132 !!!
https://drive.google.com/file/d/1LqcR6NVlSqL6gT6y1y1x9r58_LAKBBjd/view?usp=sharing
QFIL Firmware 6.09.06 for flashing in Edl-Mode
Thanks to gowin132 !!!
https://forum.xda-developers.com/showpost.php?p=82727173&postcount=8
Rom Download Links for flashing in TF-Mode (microSD)
6.09.06.00 Thanks to giuseppemag !!!
https://forum.xda-developers.com/showpost.php?p=82583733&postcount=28
https://drive.google.com/open?id=1JBzsFrtGtIXLYTPTMA2cc9spp_dxF_WX
Debloating help and blocking IP (Updated)
https://forum.xda-developers.com/showpost.php?p=82795057&postcount=4
Do you have an unlocked Bootloader? ( Hisense always locked!)
https://forum.xda-developers.com/showpost.php?p=82634399&postcount=117
How to enter hardware Edl mode
Thanks to joygram !!!
https://forum.xda-developers.com/android/general/hisense-a5-how-to-enter-hardware-edl-t4103929
There are a lot reviews about the device and a thread at MobileRead.

Unbricking in Detail
Unbricking the Device in Detail
Before you step forward I would recommend taking out the Sim-Card
stay offline until the device is debloated
Some general information:
Bricked, but you have an unlocked Boolader
just flash Image in fastboot or if available in twrp
*** All bootloaders of Hisense devices are locked and there's no way to unlock !!! ***
Bricked & you haven't got an unlocked Boolader
TF-Mode (microSD)
https://forum.xda-developers.com/showpost.php?p=82575517&postcount=21
download latest TF-Firmware i.e.
https://forum.xda-developers.com/showpost.php?p=82583733&postcount=28
how to enter TF Mode?
https://forum.xda-developers.com/showpost.php?p=82650955&postcount=72
shutdown the device
press both volume buttons and then power button together
release power button and wait 10s until the update screen comes up
alternative1
shutdown device
holding volume +- and power buttons together
alternative2
shutdown while holding volume +-
press+- buttons and then power button
release power button but holding +-
wait 10sec
release +- buttons
Hisense powered by Android
wait 10sec
press power button just short
If this above won't work, then the bootloader is damaged you will need to flash the Firmware in Edl-Mode with Qfil. This always works if not hardbricked!!! So relax
General Info about EDL Mode (You need to get a Qfil-Firmaware-Image)
https://forum.xda-developers.com/showpost.php?p=82654769&postcount=79
https://forum.hovatek.com/thread-21791.html
Files needed:
Edl-Mode Firmware files 6.03.02 for unbricking
https://drive.google.com/file/d/1LqcR6NVlSqL6gT6y1y1x9r58_LAKBBjd/view?usp=sharing
prog_emmc_firehose_8937_ddr_000bf0e1.mbn from joygram Root-package
attachement inside "RootKit R03"
https://forum.xda-developers.com/android/general/hisense-a5-root-gapps-customizer-t4097951
Qualcomm drivers i.e. 64bit for Windows 10
i.e.
https://www.getdroidtips.com/download-qualcomm-qdloader-hs-usb-driver/
actual Qpst software incl. Qfil
https://www.qpstflash.com/
Before installing drivers please read this
Obey these steps before installing unsigned drivers and prevent Sahara errors
https://forum.xda-developers.com/showpost.php?p=77229641
Installing Instructions details for drivers
https://forum.hovatek.com/thread-16965.html
Installing Qpst instructions details
https://forum.hovatek.com/thread-31475.html
Start Qfil from the startmenu (inside "Qpst")
check the setup Qfil before entering edl-mode
steps 1-4. from instructions here
https://forum.hovatek.com/thread-31475.html
-> then go back and tick "flat build"
-> select Programmer and browse
-> select the "prog_emmc_firehose_8937_ddr_000bf0e1.mbn"
Now it's time to enter the edl-mode with your smartphone
How to enter edl mode
a)Soft edl mode per adb
adb reboot edl
flush image with QFIL
b) )Soft edl mode per fastboot
fastboot oem edl
fastboot reboot-edl
fastboot reboot edl
(may not work for Hisense)
c)hard edl mode
https://www.oxygen-forensic.com/upl...s_based_on_Qualcomm_chipsets_via_EDL_mode.pdf
using a hardware cable (working 100% - preferred method!!!)
https://www.magnetforensics.com/blog/qualcomm-phone-edl-mode/
(working with Hisense A5)
by shortening the pins [not recommended!!!! Don't do this!!!!]
*** you need to open the device ***
https://forum.xda-developers.com/android/general/hisense-a5-how-to-enter-hardware-edl-t4103929
If you entered the edl-mode your Qfil screen should show
"Qualcomm HS-USB QDLoader 9008" (Com-Port)
like step 5 from here
https://forum.hovatek.com/thread-31475.html
Then Click Tools -> Partition Manager
step 9
https://forum.hovatek.com/thread-31475.html
confirm ok
step 10
https://forum.hovatek.com/thread-31475.html
select boot partition and right mouse click
manage Partition Data
we won't backup, we want to restore the boot-image
press Load Image and browse the boot.img from the edl-Firmware above, flash it and wait until it successful is flashed
if there's a Sahara error check again here
https://forum.xda-developers.com/showpost.php?p=77229641
Then flash recover.img and vbmeta.img
After that reboot your phone and it must boot the system.
Then Update in TF-mode to Firmware 6.09.06 (see above)
You successfully restored your bricked phone and updated the Firmware!
Thanks to joygram, Anghirrim, gowin132, giuseppemag
and all other sources of knowledge mentioned above!

Rooting your Smartphone Firmware 6.09.06
The Sim-Card still shouldn't be attached to the device
Files needed:
latest ADB-Drivers
https://forum.xda-developers.com/showthread.php?t=2588979
joygram Root-package for 6.09.06
attached files "RootKit R03"
https://forum.xda-developers.com/android/general/hisense-a5-root-gapps-customizer-t4097951
Magisk Manager latest apk
https://github.com/topjohnwu/Magisk/releases
open developer mode in system settings
search settings `kernel version' and go
tab 7 or more : developer options enabled
* enable usb debugging
enter developer mode in system settings -> "other settings"
change USB computer connection to Transfer files(MTP)
Install the adb-drivers
Start Qfil-Software in Windows
Enter Edl-Mode while connectd phone to USB
->adb devices
use adb command
-> adb reboot edl
In Qfil
* flush ROOT files with QFIL : QFIL_6.09.06
-> Select Build Type : Flat Build
-Y Select Programmer : select
prog_emmc_firehose_8937_ddr_000bf0e1.mbn
->LoadXML:
rawprogram_000bf0e1_joygram
-> Download
when complete please reboot the device.
After install in system
* magisk manager
MagiskManager-v7.5.1.apk
Finally you have root!
Thanks to joygram!!!
https://forum.xda-developers.com/android/general/hisense-a5-root-gapps-customizer-t4097951

Debloating the Device privacy friendly
You restored your Firmware and have the latest Chinese Firmware 6.09.06 without Google Playstore installed
The Sim-Card isn't attached to the device
You're offline, no WiFi
You're rooted with Magisk Manager(but the bootloader is locked)
General Information
There are many ways to debloat the device.
This is only a description how I did this.
It doesn't mean that it's working for you. Please be careful. I am not responsible if oyu brick your phone. If this happened you should easily unbrick it.
So read it carefully and always check if you need the programs or not.
I debloated all system programs which I don't need and install alternatives from F-Droid Store which just need user rights
i.e.
AfWall+ as a Firewall (Root)
Calculator (SimpleMobileTools)
Calendar (SimpleMobileTools)
Clock (SimpleMobileTools)
Contacts (SimpleMobileTools)
Conversations
Dialer (SimpleMobileTools)
Editor
Essential Launcher
F-Droid
FairEmail
Foss Weather
Gallery (SimpleMobileTools)
Net Monitor for checking Net-Traffic
Open Camera
OSMAnd+
PrivacyBrowser
QuickDic
beside that:
TitaniumBackup Donate (Root) Backup & Freezing System-Apps
Total Commander (Root) file manager
VocalizerEx2 TTS
https://forum.xda-developers.com/showthread.php?t=2566795
I debloated everything that the main features of a smartphone still works:
Phone using a Sim-Card (incl. LTE, depends on your region)
TextMessages (SMS)
Internet data
WiFi (2.4 MHz, no 5Ghz)
Bluetooth
GPS
Doing backups from all system files you want to debloat with Total Commander
create directories with permissions 755
i.e.
system/_keepsave/
system/_keepsave/system
system/_keepsave/system/app
system/_keepsave/system/preload
system/_keepsave/system/priv-app
system/_keepsave/system/vendor
system/_keepsave/system/vendor/app
system/_keepsave/system/vendor/overlay
Then backup all directories to the keepsave dirs
system/app
system/preload
system/priv-app
system/vendor
system/vendor/app
system/vendor/overlay
Then setup the system settings
I disabled everything I don't need (location only Gps, automatic System Updates/Accounts, App shadow,...)
setting up Afwall to your needs
disabling captive portal login with some alternative url
disabling ipv6 in Afwall if you don't need it
Then you can try freezing system apps with Titanium Backup
Or just delete all the bloat you don't need.
I deleted in TotalCommander
system/preload
system/vendor/app
system/vendor/overlay
in system/app are only:
Code:
/system/app/CertInstaller don't remove
/system/app/CtRoamingSettings don't remove / freeze & use only if roaming
/system/app/Eink_Settings don't remove / Settings Clearview per App!!!
/system/app/ExtShared don't remove
/system/app/HardwareDetection don't remove
/system/app/NetworkSelect don't remove
/system/app/QtiTelephonyService don't remove
/system/app/SimSettings don't remove
/system/app/Vision_AutoRunManager don't remove
/system/app/Vision_Bluetooth don't remove
/system/app/Vision_CalendarProvider don't remove
/system/app/Vision_WifiDetector don't remove
/system/app/WeatherWidget don't remove / just freeze / navigation bar flickering! com.hmct.clock.systemwidget
/system/app/WebViewGoogle don't remove
in system/priv-app are only:
Code:
/system/priv-app/CarrierConfig don't remove
/system/priv-app/com.qualcomm.location don't remove / GPS
/system/priv-app/DefaultContainerService don't remove
/system/priv-app/ExtServices don't remove
/system/priv-app/ExternalStorageProvider don't remove
/system/priv-app/FusedLocation don't remove /GPS
/system/priv-app/InputDevices don't remove
/system/priv-app/MmsService don't remove
/system/priv-app/MtpDocumentsProvider don't remove / MTP
/system/priv-app/ProxyHandler don't remove
/system/priv-app/QcomMediaProvider don't remove
/system/priv-app/SettingsIntelligence don't remove / settings needed
/system/priv-app/SettingsProvider don't remove
/system/priv-app/Shell don't remove
/system/priv-app/StatementService don't remove
/system/priv-app/StorageManager don't remove
/system/priv-app/TelephonyProvider don't remove
/system/priv-app/TeleService don't remove
/system/priv-app/Vision_CallSettings don't remove
/system/priv-app/Vision_ContactsProvider don't remove
/system/priv-app/Vision_DocumentsUI don't remove
/system/priv-app/Vision_DownloadProvider don't remove just freeze
/system/priv-app/Vision_DownloadProviderUi don't remove
/system/priv-app/Vision_MmsProvider don't remove
/system/priv-app/Vision_NetworkSetting don't remove
/system/priv-app/Vision_PackageInstaller don't remove
/system/priv-app/Vision_PermissionManager don't remove
/system/priv-app/Vision_RecentsService don't remove
/system/priv-app/Vision_ScreenOffGesture don't remove
/system/priv-app/Vision_Settings don't remove
/system/priv-app/Vision_SystemUI don't remove
/system/priv-app/Vision_Telecom don't remove
After successful debloating the system to your needs, test with Afwall log and Net Monitor if there are outgoing system apps calling home
if so freeze or delete them or let Afwall just block them.
This setup works 100% for my needs, but that doesn't mean it works in the same way for you. Please be careful. I am not responsible if oyu brick your phone. If this happened you should easily unbrick it (see above).
Have fun with a debloated chinese Firmware

For the A5C version, the chinese stock rom if someone wants it (first seed, so it will take a while until there are more seeders).
HLTE202N_L1657.6.01.04.B5.zip.torrent
Shared with Dropbox
www.dropbox.com

danielvelezbravo said:
For the A5C version, the chinese stock rom if someone wants it (first seed, so it will take a while until there are more seeders).
HLTE202N_L1657.6.01.04.B5.zip.torrent
Shared with Dropbox
www.dropbox.com
Click to expand...
Click to collapse
Hi, Daniel!
Do you have the chinese sotock rom for Hisense A5 Pro (not CC)? My cell model is HLTE203T and i never can't update...

carlo.z.du4rdo said:
Hi, Daniel!
Do you have the chinese sotock rom for Hisense A5 Pro (not CC)? My cell model is HLTE203T and i never can't update...
Click to expand...
Click to collapse
Ahhh... Nope. I only got my hands into the A5C stock as it is what i got.

Hi, I'm leaving a mirror link for all Hisense A5 stuff that may be helpful in the future when original links will be dead. As a bonus there are offline OTA zip files for L1657.6.10.04.00, L1657.6.11.01.00 and L1657.6.12.01.00. When Software update downloads OTA it saves in /data/media/
Remember that OTA updates need to go in order like L1657.6.09.06.00 -> L1657.6.10.04.00 -> L1657.6.11.01.00 -> L1657.6.12.01.00. DO NOT UPGRADE from L1657.6.09.06.00 to L1657.6.12.01.00 directly.
OTA manual install:
0. Prepare at least 2 GB SD card and format it as FAT32
1. Rename desired OTA file to update.zip
2. Copy update.zip to the root of the SD card and after that insert the card into the phone
3. Go into recovery mode on the phone (I used ADB for that, if you want you can use key combination) 4. Connect it to pc via ADB (I'm assuming that you enabled USB debugging in developer options after clicking on kernel version 8 times in phone info)
4. Run `adb devices` and make sure that you allowed debugging on the phone
5. Run `adb reboot recovery` to boot into recovery mode
6. You will see 2 options on the screen - Choose 1st one
7. Now you will see 3 options - Choose 3rd
8. Now there will be 2 options - Choose 1st
9. Phone should update and reboot
Mirrored content:
Rom and OTA:
Hisense_A5_L1657.6.03.02.00_Full_Backup.7z (Backup using QFIL, every partition, official with GAPPS, flash using QFIL)
Hisense_A5_HLTE202N_L1657.6.03.02.00.7z (for debricking)
Hisense_A5_LA592C(HLTE202N)_L1657.6.09.06.00_TFDownload_202004090105_user.zip
Hisense_A5_L1657.6.10.04.00_OTA.zip
Hisense_A5_L1657.6.11.01.00_OTA.zip
Hisense_A5_L1657.6.12.01.00_OTA.zip
Root tools:
Hisense_A5_customizer-R04.7z
Hisense_A5_customizer-R05-06.10.04.00.7z
Hisense_A5_L1657.6.12.01.00_Magisk22.1_Root_by_Sillage.7z
FireHose_HiSenseA5.mbn
Hisense_A5_debloat.txt
Hisense_A5_block_hisense.sh
Hisense_A5_EDL_PINS_1.jpg
Hisense_A5_EDL_PINS_2.jpg
Hisense_A5_boot_recovery_vbmeta_6.03.02.zip
LINK: https://mega.nz/folder/QkVXUDLS#LWYIHVvuiOFxxeZpWruTlg

.

@gowings23
@JLowe
Would be possible to share:
- Stock ROM 6.12 Full QFIL Backup
- EFS/QCN backup files
- TWRP recovery (if you managed to get one)

Related

How to ROOT MT6580 Lollipop 5.1 Based Rom?

Hi,
My mobile name is "Walton Primo-GF4" it's Android version Lollipop 5.1 and Chipset "MTK6580" I want to ROOT my phone!! I also tried many kind of ROOT Apps.. Like: Framroot, Kingroot, iRoot, Baidu Root, A-Key Rootmaster etc but all apps didn't worked!!
NOTE: MY PHONE ALSO UNLOCKED BOOTLOADER
My Acer tablet runs Android version Lollipop 5.1 with CPU MTK8151. I also tried many kind of root Apps including Framroot, Kingroot, and Kingo Android Root but none of the apps worked. I would welcome any suggestions.
How to install and recowery TWRP ROOT - as I do.
On the drain insertion rekaveri I did not run after the entry androyd lying belly to the top with an exclamation mark.
1) Put Flash Tool 5
1.1) Put the USB driver on the PC (It is advisable to disable the driver signature verification in windows- google to help)
2) Download Recovery - TWRP
3) Fail scatter
------ = 2.3 points lozhish files in a separate folder ---
4) I can not remember without root works or not, but just in case I will write. If you need a backup of your phone (need Flash card gigs 4-8) is placed on the phone titanium backup - you come - Click on the second tab (backups) from the top of the icon sheet daw - choose "Make RK entire user software." move to backup to a different folder, and once again do but to "make all RK custom software and system data" - this just in case.
5) Turn off the phone
6) includes a program Flash Tool
7) specifies the path to the file scatter
8) Should Fail recovery stand daw
9) Put Download only
10) Press Download
11) Connect the power cord to the body.
After excluding telephone (ALWAYS !!!!) Press VOL +, and ON. together, should see boot menu, select the button and press the + recovery - to go to TWRP
In the TWRP - press "backup" in the next window, you put all the jackdaws and snap your top do not remember exactly where, but there you can select the external sd card to record backup. and backup for 10 more minutes.
All of us do not care at all, you can do what you want =))
Then do in TWRP reboot in normal mode (need WI-FI), should appear with an offer to make a root or not to do - disagree. body boot turn on the 'Net WI-FI and start downloading the patch for the root, then as a patch will be downloaded will choose the menu that appears after installation TWRP, body restarts itself do everything.
ALL! Ruth received.
use CF-auto-Root
Hey, guys New kingroot app version is worked mt6580.. now my Walton-GF4 is ROOTED, Thanks Everyone!!
can you give me link new version kingroot . i have kingroot 4.9.0 its not work my mt6580 Android 5.1
magik235 said:
My Acer tablet runs Android version Lollipop 5.1 with CPU MTK8151. I also tried many kind of root Apps including Framroot, Kingroot, and Kingo Android Root but none of the apps worked. I would welcome any suggestions.
Click to expand...
Click to collapse
Try downloading latest MTK droid tool and see if it detects your phone. If it detects, then you could just root by clicking root button. If you do not know how to use MTK droid tool, just search for the instruction on XDA. Pretty easy.
twrp-custom-recovery-for-wiko-sunny
tlysovych said:
How to install and recowery TWRP ROOT - as I do.
On the drain insertion rekaveri I did not run after the entry androyd lying belly to the top with an exclamation mark.
1) Put Flash Tool 5
1.1) Put the USB driver on the PC (It is advisable to disable the driver signature verification in windows- google to help)
2) Download Recovery - TWRP
3) Fail scatter
------ = 2.3 points lozhish files in a separate folder ---
4) I can not remember without root works or not, but just in case I will write. If you need a backup of your phone (need Flash card gigs 4-8) is placed on the phone titanium backup - you come - Click on the second tab (backups) from the top of the icon sheet daw - choose "Make RK entire user software." move to backup to a different folder, and once again do but to "make all RK custom software and system data" - this just in case.
5) Turn off the phone
6) includes a program Flash Tool
7) specifies the path to the file scatter
8) Should Fail recovery stand daw
9) Put Download only
10) Press Download
11) Connect the power cord to the body.
After excluding telephone (ALWAYS !!!!) Press VOL +, and ON. together, should see boot menu, select the button and press the + recovery - to go to TWRP
In the TWRP - press "backup" in the next window, you put all the jackdaws and snap your top do not remember exactly where, but there you can select the external sd card to record backup. and backup for 10 more minutes.
All of us do not care at all, you can do what you want =))
Then do in TWRP reboot in normal mode (need WI-FI), should appear with an offer to make a root or not to do - disagree. body boot turn on the 'Net WI-FI and start downloading the patch for the root, then as a patch will be downloaded will choose the menu that appears after installation TWRP, body restarts itself do everything.
ALL! Ruth received.
Click to expand...
Click to collapse
I wish it could work for me to?
but ´till now noppes nada nothing,, I'll try to send up some files like the scatter file and custom recovery rom, maybe you´re able to check them out, what is wrong with it.?

How to change Mibox 3c MDZ-16-AA to stock android TV Launcher

Hi everyone, I recently bought a Xiaomi Mi box3c and was very disappointed with custom rom and the interface that it came with on it. So surfing the web there are a few tutorials on how to change it and I tried a few but they are not that great either, till finally someone patched the stock android TV Lean back Launcher for it, it took some tinkering but I got it working, this may not be the best way but this is how I did it form the start. This is not my work, I just followed instructions and I have gathered them here. As I am lazy Im not gonna provide pictures for every step but it’s pretty straight forward.
For using some the apps during the process you will need usb mouse cause not every apps supports Mibox remote configuration
As I am a new poster I am not allowed to post any links so change every dot word to an actual . for the links.
1. Turning on the Box and Changing to English
1.1 Download this apk provided by Xiaomi veterans on forum, it’s a shortcut to the stock android setting
drive dot google dot com/open?id=0B16bkj0QSkYnc0k2UUFTU05vSHM​ 1.2 copy the apk to a normal usb flash drive and connect to mibox and install the apk
1.3 Run it and now you can change the language as in any android device.
2. Downgrading Firmware
All of the root options available for this device are for the older firmware so you need to downgrade the device. (it’s much easier than it sounds.)
2.1 Download the original firmware for MDZ-16-AA from this link: (both are the same thing)
yadi dot sk/d/Yvr1jYflm6GZR​ androidfilehost dot com/?fid=745425885120695554​ 2.2 Extract the contents of the downloaded zip file to a formatted usb tick (Fat32). (There should be two files: xiaomi_update and update.zip)
2.3 Put the USB flash drive in your Mi Box and boot in recovery
(How to boot into recovery: Unplug power > press and "hold back + ok" button while plugging the power back in. The remote should be nearby and facing the box. Do not let go of the buttons until it booted in recovery. for some devices its "home + menu" button instead of the previous one.
2.4 the flashing should start and finish automatically. don’t connect the device to WIFI after this step until you have disabled the intelligent update.
(Credits to passerby on xiaomi.eu forums for the guide)
3. Rooting the device
I tried almost all of the rooting apps, none of them worked for me but I have seen people insisting that permroot works for them so I put the link for that, using it is pretty straight forward, download, install on device and try to root with it.
but in case that doesn’t work Kingoroot Windows app will definitely work. this is how to root with kingoroot. For this method you need a USB type A --> USB type A cable.
3.1 First download the kingoroot desktop app from their website
3.2 Install the app on your windows desktop
3.3 Go to your mibox device setting (mibox setting not android stock from part 1) and in Security setting and Enable USB/ADB debugging, device will restart for this setting to change.
3.4 connect your mibox to your desktop and wait for the device to be installed and recognized by windows. (If you are using windows 10 it will detect the device by itself)
3.5 Run the kingoroot app on the windows and let it detect the device, as soon as it detects the device root option will appear, click on root option it and wait
3.6 Kingoroot will try to install an app on your mibox, allow it and then this will continue and finish the rooting process.
3.7 Disable USB/ADB debugging, so you can connect USB Flash drives to the device again.
3.8 Check for the root stastus with rootchecker.
(Credits to passerby on xiaomi.eu forums for the guide)
4. How to flash TWRP to device
4.1 download the TWRP App from this link:
dl dot twrp dot me/twrpapp/me.twrp.twrpapp-18.apk​ 4.2 Download the android ROM and TWRP image together from this link:
goo dot gl/q5DGED password : Mibox2015​ 4.3 open the zip file and copy this image file to your USB Flash drive
MDZ-16-AA-AndroidTV-V1\TWRP-RECOVERY\twrp-mdz-16-aa.img
4.4 Connect the USB flash drive to the box and copy the image to device storage
4.3 Install the TWRP app on the device using the USB flash drive
4.4 Run it and select first two boxes.
4.5 Go to flash TWRP option and wait for app to ask permission from SU, grant permission.
4.6 Select TWRP flash and select flash from image. Select the image that you copied to device storage.
4.7 Boot into recovery (by this time you have root access and it’s better to boot to recovery with one of the reboot apps ex. Quick Reboot)
(Now you have TWRP, but the problem is every time you reboot the box, the stock rom overwrites the TWRP files and it goes back to Default recovery, to solve this we need to replace the Rom itself too)
5. Replacing the Rom
5.1 While still in TWRP page, make a small boot backup just so TWRP makes a folder in storage of your device.
5.2 Reboot the device from TWRP (reboot system)
5.3 Now using a File manager (I used X-plore) copy the Rom folder to the same backup folder that was created by TWRP in your storage.
Copy This folder:
MDZ-16-AA-AndroidTV-V1\TWRP\BACKUPS\11608V180037788\2014-12-31--18-01-42_6.9.7.949
To this folder: (Which is already should be there created by TWRP)
Internal Storage\TWRP\Backups\ (your device’s Serial number)\
5.4 Repeat steps 4.6 & 4.7 again to Flash TWRP again, after booting to TWRP go to restore and select file (2014-12-31--18-01-) to restore, swipe to restore and wait for 10-15 minutes
5.5 After restore is done don’t reboot, go back to TWRP main page, go to Wipe then advanced wipe, select Dalvik, Cache and Data to be wiped. After wipe is done reboot system
5.6 When android system boot is complete, go to setting down below and change the language to English and its done.
I hope it helps
Someone posted a tutorial on YouTube, the title of video is "MIBOX 3 MDZ-16-aa ROOT + Install Android TV English".
@[email protected], did you get Netflix to work on it?
dummyaccount said:
Someone posted a tutorial on YouTube, the title of video is "MIBOX 3 MDZ-16-aa ROOT + Install Android TV English".
@[email protected], did you get Netflix to work on it?
Click to expand...
Click to collapse
I tried all the steps.
No google play videos, no voice search and most of all no netflix.
=(
I hate the ****ing Chinese that sold me MDZ-16-aa saying it was the international version.
dont work password androidtv rom....... is Mibox2015?
mdz 16-AA
I faced the same issue.Wrong password.
Thanx for your post [email protected] I am going to use this method for my Mi box3.
As I am going to root any device for the first time, what precautions should I take
that I don't brick it?
Does the Microphone and and Ok button on Remote work normally after rooting by your method ?
Thx in advance....
[email protected] said:
Hi everyone, I recently bought a Xiaomi Mi box3c and was very disappointed with custom rom and the interface that it came with on it. So surfing the web there are a few tutorials on how to change it and I tried a few but they are not that great either, till finally someone patched the stock android TV Lean back Launcher for it, it took some tinkering but I got it working, this may not be the best way but this is how I did it form the start. This is not my work, I just followed instructions and I have gathered them here. As I am lazy Im not gonna provide pictures for every step but it’s pretty straight forward.
For using some the apps during the process you will need usb mouse cause not every apps supports Mibox remote configuration
As I am a new poster I am not allowed to post any links so change every dot word to an actual . for the links.
1. Turning on the Box and Changing to English
1.1 Download this apk provided by Xiaomi veterans on forum, it’s a shortcut to the stock android setting
drive dot google dot com/open?id=0B16bkj0QSkYnc0k2UUFTU05vSHM​ 1.2 copy the apk to a normal usb flash drive and connect to mibox and install the apk
1.3 Run it and now you can change the language as in any android device.
2. Downgrading Firmware
All of the root options available for this device are for the older firmware so you need to downgrade the device. (it’s much easier than it sounds.)
2.1 Download the original firmware for MDZ-16-AA from this link: (both are the same thing)
yadi dot sk/d/Yvr1jYflm6GZR​ androidfilehost dot com/?fid=745425885120695554​ 2.2 Extract the contents of the downloaded zip file to a formatted usb tick (Fat32). (There should be two files: xiaomi_update and update.zip)
2.3 Put the USB flash drive in your Mi Box and boot in recovery
(How to boot into recovery: Unplug power > press and "hold back + ok" button while plugging the power back in. The remote should be nearby and facing the box. Do not let go of the buttons until it booted in recovery. for some devices its "home + menu" button instead of the previous one.
2.4 the flashing should start and finish automatically. don’t connect the device to WIFI after this step until you have disabled the intelligent update.
(Credits to passerby on xiaomi.eu forums for the guide)
3. Rooting the device
I tried almost all of the rooting apps, none of them worked for me but I have seen people insisting that permroot works for them so I put the link for that, using it is pretty straight forward, download, install on device and try to root with it.
but in case that doesn’t work Kingoroot Windows app will definitely work. this is how to root with kingoroot. For this method you need a USB type A --> USB type A cable.
3.1 First download the kingoroot desktop app from their website
3.2 Install the app on your windows desktop
3.3 Go to your mibox device setting (mibox setting not android stock from part 1) and in Security setting and Enable USB/ADB debugging, device will restart for this setting to change.
3.4 connect your mibox to your desktop and wait for the device to be installed and recognized by windows. (If you are using windows 10 it will detect the device by itself)
3.5 Run the kingoroot app on the windows and let it detect the device, as soon as it detects the device root option will appear, click on root option it and wait
3.6 Kingoroot will try to install an app on your mibox, allow it and then this will continue and finish the rooting process.
3.7 Disable USB/ADB debugging, so you can connect USB Flash drives to the device again.
3.8 Check for the root stastus with rootchecker.
(Credits to passerby on xiaomi.eu forums for the guide)
4. How to flash TWRP to device
4.1 download the TWRP App from this link:
dl dot twrp dot me/twrpapp/me.twrp.twrpapp-18.apk​ 4.2 Download the android ROM and TWRP image together from this link:
goo dot gl/q5DGED password : Mibox2015​ 4.3 open the zip file and copy this image file to your USB Flash drive
MDZ-16-AA-AndroidTV-V1\TWRP-RECOVERY\twrp-mdz-16-aa.img
4.4 Connect the USB flash drive to the box and copy the image to device storage
4.3 Install the TWRP app on the device using the USB flash drive
4.4 Run it and select first two boxes.
4.5 Go to flash TWRP option and wait for app to ask permission from SU, grant permission.
4.6 Select TWRP flash and select flash from image. Select the image that you copied to device storage.
4.7 Boot into recovery (by this time you have root access and it’s better to boot to recovery with one of the reboot apps ex. Quick Reboot)
(Now you have TWRP, but the problem is every time you reboot the box, the stock rom overwrites the TWRP files and it goes back to Default recovery, to solve this we need to replace the Rom itself too)
5. Replacing the Rom
5.1 While still in TWRP page, make a small boot backup just so TWRP makes a folder in storage of your device.
5.2 Reboot the device from TWRP (reboot system)
5.3 Now using a File manager (I used X-plore) copy the Rom folder to the same backup folder that was created by TWRP in your storage.
Copy This folder:
MDZ-16-AA-AndroidTV-V1\TWRP\BACKUPS\11608V180037788\2014-12-31--18-01-42_6.9.7.949
To this folder: (Which is already should be there created by TWRP)
Internal Storage\TWRP\Backups\ (your device’s Serial number)\
5.4 Repeat steps 4.6 & 4.7 again to Flash TWRP again, after booting to TWRP go to restore and select file (2014-12-31--18-01-) to restore, swipe to restore and wait for 10-15 minutes
5.5 After restore is done don’t reboot, go back to TWRP main page, go to Wipe then advanced wipe, select Dalvik, Cache and Data to be wiped. After wipe is done reboot system
5.6 When android system boot is complete, go to setting down below and change the language to English and its done.
I hope it helps
Click to expand...
Click to collapse
I tried to downgrade my MDZ-16-AA device with the MiBOX3_jurassicpark_gitv_1.3.106.386 file ... but it brings it down only to 1. 3. 114 and not to 1. 3. 106.
Secondly I do not get "ADB Debugging" option. Hence I cannot connect my Mi Box to my laptop.
Can anyone help ?
the correct password is : '@'mibox2015
the quotes are only to avoid mention to xda user "mibo" in xda forum...u don't have to write it in...
mibox v1.5.1
I've troubles to root my mibox, I've the 1.5.1 version.
Can you help me, please ?
Mi box 3C v 1.5.1
Can it possible to do the same for version 1.5.1?
I have Mi box 3C v 1.5.1 and I can't even boot into recovery yet.
Add widevine drm in MDZ-16-AA
To complete your notice, I found a way to launch MyCanal and molotov.tv (not tested for netflix yet).
As you know these apps requires widevine drm.
First download
extractor 4.0 and Xiomi 3S official rom
Then extract update.zip and add in root folder of extractor: system.new.dat + system.transfert.list.file_context
Use Extractor.bat to uncompact system.new
On folder go on system\vendor and copy paste lib folder on USB key.
Does anybody know how to go to recovery mode?
HOLD Back + OK and Home + Option doesn't work for my MDZ-16-AA
the system has been automatically updated yesterday.. :crying:
Thank you so much, I got it installed.
Step 1 can be hard because of the chinese language therefor I used this link:
https://www dot cnx-software dot com/2016/04/12/how-to-change-language-to-english-and-install-apps-remotely-on-xiaomi-mi-box-3-enhanced/
at step 2 I made the mistake that I extracted the update.zip aswell. while I needed to keep it zipped.
I used the app RUFUS to make the usbdrive a FAT32 drive.
at step 3 Kingoroot worked for me, although I needed to restart several times to make the ADB debugging connection work.
at step 4 sending the TWRP files, was a bit of a hurdle. It wwas not possible for me to copt them from the USB stick with ES file manager to the device. I needed to use the USB cable to my computer (ADB off) password: "@mibox2015"
At point 5 I was not able to use my remote or keyboard, I needed to turn off ADB!
At the end allot works, but there is still some bugs:
- MIUI still present. eg. when connecting an usb stick you get a chinese menu. and you are able to get into the old system menu
- unable to get NETFLIX to work
- allot of bloatware, apps I can not disable or delete.
- im unable to disable search by microphone in the UI, which is not supported by the remote of the 16-AA
- im unable to edit the tiles in the homescreen to eg. hide the supersu, market etc. and to put PLEX of KODI more in front
Thanks!!!!
I have rooted my mibox 3c and installed TWRP app
I copied img to device and flash drive, but I can't choose any img in TWRP app...
any method to replace custom recovery?? THX
weiabroad said:
I have rooted my mibox 3c and installed TWRP app
I copied img to device and flash drive, but I can't choose any img in TWRP app...
any method to replace custom recovery?? THX
Click to expand...
Click to collapse
Go through each step carefully, if stuck be clear about what you have done
Sent from my A0001 using Tapatalk
Arquivo converter ROM chinesa para global 3C-16AA
Olá, gostaria dos arquivos para converter a ROM 3C-16AA, você tem whats para contato?
Hey,
Im' trying to get mycanal to work on my mibox MDZ-16-AA.
I copied the lib folder on my usb stick.
it's still not working, isn't any steps missing ?
Thanks.
Secure Check failed error while downgrading
I Got "secure check failed." error while downgrading. What did i do wrong ?
[email protected] said:
Hi everyone, I recently bought a Xiaomi Mi box3c and was very disappointed with custom rom and the interface that it came with on it. So surfing the web there are a few tutorials on how to change it and I tried a few but they are not that great either, till finally someone patched the stock android TV Lean back Launcher for it, it took some tinkering but I got it working, this may not be the best way but this is how I did it form the start. This is not my work, I just followed instructions and I have gathered them here. As I am lazy Im not gonna provide pictures for every step but it’s pretty straight forward.
For using some the apps during the process you will need usb mouse cause not every apps supports Mibox remote configuration
As I am a new poster I am not allowed to post any links so change every dot word to an actual . for the links.
1. Turning on the Box and Changing to English
1.1 Download this apk provided by Xiaomi veterans on forum, it’s a shortcut to the stock android setting
drive dot google dot com/open?id=0B16bkj0QSkYnc0k2UUFTU05vSHM​ 1.2 copy the apk to a normal usb flash drive and connect to mibox and install the apk
1.3 Run it and now you can change the language as in any android device.
2. Downgrading Firmware
All of the root options available for this device are for the older firmware so you need to downgrade the device. (it’s much easier than it sounds.)
2.1 Download the original firmware for MDZ-16-AA from this link: (both are the same thing)
yadi dot sk/d/Yvr1jYflm6GZR​ androidfilehost dot com/?fid=745425885120695554​ 2.2 Extract the contents of the downloaded zip file to a formatted usb tick (Fat32). (There should be two files: xiaomi_update and update.zip)
2.3 Put the USB flash drive in your Mi Box and boot in recovery
(How to boot into recovery: Unplug power > press and "hold back + ok" button while plugging the power back in. The remote should be nearby and facing the box. Do not let go of the buttons until it booted in recovery. for some devices its "home + menu" button instead of the previous one.
2.4 the flashing should start and finish automatically. don’t connect the device to WIFI after this step until you have disabled the intelligent update.
(Credits to passerby on xiaomi.eu forums for the guide)
3. Rooting the device
I tried almost all of the rooting apps, none of them worked for me but I have seen people insisting that permroot works for them so I put the link for that, using it is pretty straight forward, download, install on device and try to root with it.
but in case that doesn’t work Kingoroot Windows app will definitely work. this is how to root with kingoroot. For this method you need a USB type A --> USB type A cable.
3.1 First download the kingoroot desktop app from their website
3.2 Install the app on your windows desktop
3.3 Go to your mibox device setting (mibox setting not android stock from part 1) and in Security setting and Enable USB/ADB debugging, device will restart for this setting to change.
3.4 connect your mibox to your desktop and wait for the device to be installed and recognized by windows. (If you are using windows 10 it will detect the device by itself)
3.5 Run the kingoroot app on the windows and let it detect the device, as soon as it detects the device root option will appear, click on root option it and wait
3.6 Kingoroot will try to install an app on your mibox, allow it and then this will continue and finish the rooting process.
3.7 Disable USB/ADB debugging, so you can connect USB Flash drives to the device again.
3.8 Check for the root stastus with rootchecker.
(Credits to passerby on xiaomi.eu forums for the guide)
4. How to flash TWRP to device
4.1 download the TWRP App from this link:
dl dot twrp dot me/twrpapp/me.twrp.twrpapp-18.apk​ 4.2 Download the android ROM and TWRP image together from this link:
goo dot gl/q5DGED password : Mibox2015​ 4.3 open the zip file and copy this image file to your USB Flash drive
MDZ-16-AA-AndroidTV-V1\TWRP-RECOVERY\twrp-mdz-16-aa.img
4.4 Connect the USB flash drive to the box and copy the image to device storage
4.3 Install the TWRP app on the device using the USB flash drive
4.4 Run it and select first two boxes.
4.5 Go to flash TWRP option and wait for app to ask permission from SU, grant permission.
4.6 Select TWRP flash and select flash from image. Select the image that you copied to device storage.
4.7 Boot into recovery (by this time you have root access and it’s better to boot to recovery with one of the reboot apps ex. Quick Reboot)
(Now you have TWRP, but the problem is every time you reboot the box, the stock rom overwrites the TWRP files and it goes back to Default recovery, to solve this we need to replace the Rom itself too)
5. Replacing the Rom
5.1 While still in TWRP page, make a small boot backup just so TWRP makes a folder in storage of your device.
5.2 Reboot the device from TWRP (reboot system)
5.3 Now using a File manager (I used X-plore) copy the Rom folder to the same backup folder that was created by TWRP in your storage.
Copy This folder:
MDZ-16-AA-AndroidTV-V1\TWRP\BACKUPS\11608V180037788\2014-12-31--18-01-42_6.9.7.949
To this folder: (Which is already should be there created by TWRP)
Internal Storage\TWRP\Backups\ (your device’s Serial number)\
5.4 Repeat steps 4.6 & 4.7 again to Flash TWRP again, after booting to TWRP go to restore and select file (2014-12-31--18-01-) to restore, swipe to restore and wait for 10-15 minutes
5.5 After restore is done don’t reboot, go back to TWRP main page, go to Wipe then advanced wipe, select Dalvik, Cache and Data to be wiped. After wipe is done reboot system
5.6 When android system boot is complete, go to setting down below and change the language to English and its done.
I hope it helps
Click to expand...
Click to collapse
I successfully rooted my mibox 3c (MDZ-16-AA) and installed TWRP app and Android TV.
Now I want to go back to the Xiaomi Original Firmware (1.5.25). I tried to use TWRP and the Update.zip, but it did not work. How can I do it? Many thanks!
---------- Post added at 09:59 AM ---------- Previous post was at 09:53 AM ----------
I read from a Chinese forum that the 1.4.32 can also be rooted. As far as I know the Android TV is based on the 1.3.106. Does it make any sense to root the MDZ-16-AA with the firmware 1.4.32 and install the Android TV then?

Rebrand-Update-Tool-HWOTA7-P9-PLUS-VIE

Rebrand-Update-Tool HWOTA7 for Huawei P9-Plus-VIE ​
The classic HWOTA Tool is available for all newer Huawei models. Now it is also available for the P9-PLUS-VIE
→ It is programmed for use with Android 7 (Nougat) and does not work on Android 8 (Oreo) - with the exception of the Update to Oreo.
Don't use this Tool to update your phone from Android 6 to Android 7 or Android 8.
You must already have Android 7 on your phone.!
Update to Oreo from Nougat is possible, but once you're on Oreo, the tool can not be used again until downgraded to nougat.
→ The same Tool for P9-EVA is different: https://forum.xda-developers.com/p9/development/rebrand-update-tool-hwota7-p9-eva-t3820849
Features of HWOTA7 for P9 Plus VIE:
Update your Firmware with FullOTA-MF Firmware (3 zip files, two renamed) = Using the script /1. Change firmware
Rebrand between L09-L29-AL10 (your hardware does not change on VIE) = Using the script /2. Change location
Debrand from Vodafone, Telekom or other to: open cust ( current: 5 oeminfo files)
Note: If your Phone has SIM Lock, Debranding does not unlock mobile network - you can do that with HCU Client by DC Unlocker
The best feature is: You can update the P9-Plus-VIE to the official Android 8 (Oreo) unofficially with HWOTA7. This requires a rebranding of your device to VIE-AL10. How to manage this is explained in Post #2: https://forum.xda-developers.com/showpost.php?p=77650678&postcount=2
→ How to get back to the original model from Oreo is explained in Post # 4: https://forum.xda-developers.com/showpost.php?p=77650687&postcount=4
Note: To return to the original model related oeminfo is required - should your oeminfo not be included in the HWOTA7 tool, make a backup of the oeminfo with TWRP before Rebranding. If you give it to me, I can integrate it into the tool.
Requirements:
Bootloader Unlock code → if you do not have it, it can be read out with HCU Client by DC Unlocker
Developer Options enabled → OEM Unlock + ADB Debugging in charging only mode + USB Debugging (in this order) enabled
HiSuite HDB in Settings on the phone disabled, HiSuite on PC closed
Working USB Connection (drivers) between P9 Plus and PC (MTP, ADB and Fastboot → Allow access to the phone, accept RSA key fingerprint)
Windows 7, 8.1, 10 (the tool does not work on Mac or Linux or on Virtual machine)
Battery should be charged
Backup your important data (folders from internal storage such as WhatsApp, DCIM, downloads, music, etc. - as well as user apps with data, contacts, calendars, sms, etc.) → The internal storage is erased several times during this process.
Follow the instructions
How HWOTA7 works and what to keep in mind:
Download HWOTA7, extract it on PC and place HWOTA7 on: C:\HWOTA7 - without subfolders between.
Do not change the folder structure. The tool has two working folders:
→ C:\HWOTA7\tools\Windows - you can use: cmd-here.exe (run as Administrator) to check ADB/Fastboot or to flash an image later
→ C:\HWOTA7\update - this is the main working folder. You have to copy in this folder the FullOTA-MF firmware (3 zip files, two renamed)
If you are on custom ROM, first go back to Stock Firmware ("Using script" and "Change firmware" - use the Firmware that matches your device and cust)
HWOTA7 is self-explanatory. It detects what to do and prompts you to press certain key combinations or enter the unlock code.
→ The USB cable between the phone and PC remains connected throughout the process!
→ Only press "Enter" in the terminal if the described step, in the line before, was executed.
→ If you face an error like: "adb: error: connect failed: no devices/emulators found" - close Terminal, reboot phone into Fastboot mode and restart HWOTA7
The HWOTA7 tool is started by double clicking on "update_eng.bat"
The phone is connected to the PC via USB and you start with the key combination: VOL- and Power Button key into Fastboot mode.
When the Bootloader is locked, the tool unlocks the Bootloader with the code. Thereafter, a factory reset is performed by clearing the internal storage = Lowlevel Wipe.
When the Bootloader is open, the tool automatically flashes TWRP and prompts you to press (and hold) VOL+ and Power Button to start into TWRP.
Then you click 2x in the terminal on "Enter"
→ Before you choose: 2. Using the script and 1. Change firmware or 2. Change location - make sure, the FullOTA-MF Firmware is already in the update folder: C:\HWOTA7\update - and two zip files are renamed!
Rename the two zip files of the FullOTA-MF firmware → incorrect renaming such as "update_all_hw.zip.zip" does not work
update.zip = update.zip (do not rename)
update_full_VIE-AL10_all_cn.zip -rename to: update_all_hw.zip
update_data_full_public.zip - rename to: update_data_public.zip
Important - The difference between four different situations:
1) When the Bootloader is closed, HWOTA7 opens it with the code, a "lowlevel" factory reset is performed and the device must then boot into the system. In the setup everything can be skipped (which is possible) - but the developer options must be switched on (1.ADB Debugging + 2.USB Debugging enabled). And HiSuite HDB disabled.
2) If you select "Change firmware" to flash the firmware, the tool copies the ZIP files to the phone in the /data directory, flashes the Nocheck recovery, and installs the firmware. In this case, you also need to boot into the system and check if Developer options with the required settings are enabled.
3) But if you do the step: "Change location" - it is different! The tool will flash the corresponding "oeminfo", close the Bootloader and request the Unlock code to unlock the device and force a "lowlevel" factory reset → In this case (only), you should NOT boot into the system after the reset. Wait until the EMUI recovery is 100% done with the reset. Then comes the message "Reset succesful, device will restart" Now press (only) the VOL+ button and keep it pressed so that the device starts into TWRP. Now click on "Enter" in the terminal. HWOTA7 now copies the firmware to the device, flashes the Nocheck recovery, reboots and flashes the firmware belonging to the "oeminfo". After this step, the device must be booted into the system.
4) If the device boots into the system and you have a black screen, with an input field in the middle and possibly the keyboard (do not get worried) - the Bootloader was locked by the firmware during rebranding. In this case, press the Power Button to restart and hold down the VOL- button during the restart to start the device into Fastboot mode. Close the Terminal Script and restart update_eng.bat. Click on "Enter" in the Terminal and HWOTA7 will ask you for the Unlock Code and unlock again the Bootloader. Confirm the unlock on the device with the keys, then there is a factory reset followed by a reboot into the system. Now everything is fine.
Where can I get the firmware I need?
Note: The firmware must match your device and your "cust" - if you want to update, or coming back from a Custom ROM to Stock firmware - If you do a "rebranding", the firmware must match the "oeminfo" that you "rebrand"
Install "Firmware Finder" from the Playstore
In Settings (3 dot menu/settings) change to "Show only FullOTA" In main window "Add model" Example: VIE-L09C432. Click on FullOTA-MF Firmware (that matches) and "Check Firmware Access" and "Check Availability" If it says: "The firmware is not approved for installation" - I would not recommend . If it shows: "Firmware approved for installation Models VIE-Lxx" (and it matches your device/cust or the cust you want to rebrand)- click on Download.
Tip: If you enable in Developer Options "Keep phone awake during USB charging" you make sure, the Download get not corupted. Additional I would try to open the zip file after Download in a zip viewer to check if the zip file is complete.
The other possibility is, download the zip files to PC instead on the phone. Finally, it is needed on the PC and needs to be copied to the C:\HWOTA7\update
If you click in Firmware Finder on Download you will see 4 zip files - but you need only 3 of them: update.zip, update_data_full_public.zip and the third file must match your device (which you like to update or rebrand to) When you see the 4 files, choose the 3 files you need.
When you click on "Share Firmware" - then you can store the Links in a txt file. In this case you can download the files on PC. When you click instead "ok" Firmware Finder will download the Firmware to the Phone.
Alternatively you can use the Direct Link on PC:
http://pro-teammt.ru/firmware-database/?firmware_model=&firmware_page=0
Enter the correct model name and cust (Example: VIE-L09c432) and press enter. Choose only FullOTA-MF. Click on FILELIST and wait until a new Window pops up with the Links you need for Download. However, here you dont see if the Firmware is approved for installation.
The Third possibility - Firmware Finder for PC:
http://pro-teammt.ru/projects/hwff/v2/GetLatestVersion.action
Unzip it and double click on FirmwareFinder.exe. Click on "Common Base" and enter your model name with cust. Search on "Type" for FullOTA-MF and click on FILELIST. After you can copy with right click on changelog and above in the symbol "check availability" you can check, if the Firmware is approved (even with your IMEI, if you like)...
→ In the second post there is a step by step guide to rebrand the P9 Plus VIE to VIE-AL10 (including the links) and update to Android 8 Oreo.
Download P9PlusVIE-HWOTA7:
https://www.androidfilehost.com/?fid=1322778262904007988
MD5: 1edc0c8aedbf3f3470fb419dc67d7c26
→ Extract the zip on your PC, the zip contains the folder: HWOTA7 - Copy the folder to C:\ = C:\HWOTA7
Have fun
Credits:
@Atarii VIE-NoCheck Recovery
@OldDroid Android 7 TWRPs for many Huawei devices, Lead Developer/Maintainer Open Kirin Team
@Pretoriano80 Android 8 TWRP for many Huawei devices
@urbanmec Huawei Tweak Professor
XDA:DevDB Information
Rebrand-Update-Tool-HWOTA7-P9-PLUS-VIE, Tool/Utility for the Huawei P9 Plus
Contributors
Tecalote
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2018-09-18
Created 2018-09-18
Last Updated 2018-09-18
Update Huawei P9 Plus VIE to official Android 8 Oreo
Unofficial method to update European models of Huawei P9 Plus VIE to official Android 8 Oreo
- for VIE-L09 and VIE-L29​
Originally, all models of the P9 Plus VIE and P9 EVA should receive the Android Oreo update. Unfortunately, Huawei has decided to only supply the Chinese models with Android 8.
For this reason, there is an unofficial way to update to the official Oreo → by rebranding the European models to VIE-AL10.
Note: This Guide is for P9 Plus VIE → (P9-EVA HWOTA7 with Update Guide to Oreo you can find here: https://forum.xda-developers.com/p9/development/rebrand-update-tool-hwota7-p9-eva-t3820849)
Oreo runs smoothly and well on P9 Plus, the battery last longer and with Android 8 there is Treble Support.
Since it is possible to update P9 Plus to Oreo - Huawei P9 VIE is officially supported by the OpenKirin Team :https://forum.xda-developers.com/p9/development/roms-openkirin-aosp-collection-t3828806
See OpenKirin supported devices: https://openkirin.net/devices/
Here is a small Guide how to go back from OpenKirin ROM to EMUI: https://forum.xda-developers.com/showpost.php?p=77905152&postcount=833
Preparation for the update to Oreo:
If you are on any Custom Rom - go back to Stock firmware first - before rebrand to another location!
You should be on the latest approved Firmware for your device - if you have not the latest approved Firmware, use HWOTA7 Tool to update your Firmware.
Do for every case a Backup (TitaniumBackup /Huawei Backup - without System-Apps/Settings) before. TWRP Backup makes no sence, because you can not restore it on Oreo! Make sure, the Update-Firmware is copied to the folder C:\HWOTA7\update - and two zip files are RENAMED as mentioned in OP → read OP Post#1. Update your Firmware by using the script (HWOTA7 Terminal: 2. Using the script + 1. Change firmware)
Instructions for updating to Oreo by rebranding your phone to VIE-AL10:
Requirements:
A) HWOTA7 Tool
B) Bootloader Unlock Code for your device
C) Micro SD Card → formatted as exFAT
D) For rebranding from VIE-L09 or VIE-L29 to → VIE-AL10 you need to download the following 2 Firmwares:
A) VIE-AL10c00b399SP20 /Android 7 (this Firmware is required for the Update to Oreo):
update.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1891/g1755/v139083/f1/full/update.zip
update_full_VIE-AL10_all_cn.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1891/g1755/v139083/f1/full/VIE-AL10_all_cn/update_full_VIE-AL10_all_cn.zip
update_data_full_public.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1891/g1755/v139083/f1/full/public/update_data_full_public.zip
B) VIE-AL10C00B537 (8.0.0.537) OREO
update.zip:
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3133/g1699/v200303/f1/full/update.zip
update_full_VIE-AL10_all_cn.zip:
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3133/g1699/v200303/f1/full/VIE-AL10_all_cn/update_full_VIE-AL10_all_cn.zip
update_data_full_public.zip:
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3133/g1699/v200303/f1/full/public/update_data_full_public.zip
→ rename for each Firmware two zip files as described in OP (Post #1)
Step-by-step:
0) Developer Options enabled (7x click on Build-Number in Settings /About phone) - In Developer Options: OEM Unlock, ADB Debugging + USB Debugging (in this order) enabled, HiSuite HDB (in Settings /Adv.Settings /Security) disabled, HiSuite on PC closed, working USB Connection
1) Connect your device with USB to PC and start from HWOTA7 main folder: update_eng.bat - Accept possibly the RSA query on the display of the P9 Plus
2) Restart your P9 Plus into Fastboot mode (use restart/restart and press VOL- /or shutdown phone and press VOL- and Power Button)
→ Note: During all steps USB Cable stays connected between phone and PC and you only press "Enter" in the terminal when the described step, in the line before, was executed.
3) HWOTA7-terminal detects if Bootloader is open or closed - if the Bootloader is closed go to 4) - if the Bootloaer is open go to 7)
4) Terminal ask you for the Unlock code - enter the Unlock code and confirm the Unlock on the phone
5) Your P9 Plus reboots and an automatic factory reset is done with internal storage wipe (lowlevel reset) - wait until the phone reboot to system. Skip everything during setup (except what can not be skipped) - Important: Enable Developer Options with ADB Debugging and USB Debugging
6) Restart your P9 Plus into Fastboot mode - now hit "Enter" Button - HWOTA7 Terminal will flash automatically TWRP for Android 7 and gives you the order to boot into TWRP by pressing VOL+ and Power Button (dont hit "enter" before this step is done)
7) In TWRP swipe to allow system modification - now hit "enter" (2x) in the Terminal - after a short while you will see: Upgrade Options
8) 2. Using script: 2.Change location - you will see a list of available "oeminfo" - use: 1.VIE-AL10c00
→ Note: The Firmware for VIE-AL10c00b399SP20 (Nougat) must be already in the update folder (and two zip files renamed)!
9) HWOTA7 flashes now oeminfo for VIE-AL10, Bootloader is getting closed, confirm the Unlock on device - automatic factory reset is executed, wait until 99% and 100% restarts the phone → NOW PRESS VOL+ to boot the phone into TWRP instead of system!
10) Allow system modification in TWRP and hit "Enter" Button for Terminal - HWOTA7 copies now the firmware to the directory: /data/update/HWOTA - phone will restart automatically and flashes the Firmware with NoCheck EMUI Recovery.
→ After your P9 Plus has started into the system - you may see a black screen with an input field and a keyboard - if yes, go to 11) - if no, go to 13)
11) Close HWOTA7 Terminal and press Power Button on P9 Plus to restart your Phone, restart phone, in the moment of restart press VOL- Button to boot into Fastboot Mode → Bootloader is closed. BTW: Chinese Brands dont have FRP.
12) Open update_eng.bat, click enter, enter the Unlock code, confirm Unlock on phone, phone makes a Factory reset with lowlevel wipe. Then the P9 Plus starts automatically into the system. Now you have already rebranded to VIE-AL10c00b399SP20 (Nougat) :good:
13) Accept the terms and conditions (Huawei + Google Services) and skip the rest, what can be skipped. Do not be nervous, your P9 Plus has no IMEI at the moment and no mobile network. This is normal. In the settings in the search bar, search for "Trust Space" and "HiSuite HDB" - disable both. Enable again Developer Options and inside: ADB Debugging and USB Debugging (in this order).
14) Click enter in Terminal, select 2. "No, I would not" and HWOTA7 will be closed. → Change now the Firmware in the update folder to: VIE-AL10C00B537 (8.0.0.537) OREO (remember: two zip files has to be renamed!)
15) Start again update_eng.bat. Reboot phone into Fastbood Mode. Hit "enter" for Terminal - TWRP will be flashed automatically - reboot with VOL+ and Power Button into TWRP - allow system modification - hit "enter" in HWOTA7 Terminal
16) Use Upgrade options: 2.Using the script - 1.Change firmware (Same brand update /but Oreo)
17) Click enter in Terminal, Firmware will be copied to: /data/update/HWOTA - "System update should start automatically" → if you receive any error like: "connect failed, no devices/emulators found" - go to 18) - if everything is okay go to 19)
18) Close HWOTA7 Terminal and use menu of TWRP to reboot into Bootloader, start again update_eng.bat - TWRP will be flashed again - boot into TWRP with VOL+ and Power Button - allow system modification - hit "enter" in HWOTA7 Terminal - Firmware will be copied to: /data/update/HWOTA - Phone will make reboot and flash the Firmware for Oreo automatically.
19) You have now successfully updated to Android 8. :good: Phone will reboot into VIE-AL10C00B537 (8.0.0.537) OREO
→ You should accept the terms and conditions (Huawei + Google Services) - otherwise Playstore will not work later! Do not enable WLAN and do not set up your phone (Fingerprint etc)right now! - skip, what can be skipped. → You will have "unknown IMEI" and no mobile network at the moment, that is normal. Open Settings/System and enable again Developer Options/ADB+USB Debugging. In Settings /Security+Privacy you can find "Trust Space" - disable it - and in same menu you find in "More" "Allow HiSuite to use HDB" - disable it! → Now we must help the phone to recognize the IMEI and enable mobile network and NFC on VIE-L09 and Dual-SIM on VIE-L29 as well as disable Chinese apps, which we do not need in Europe (and some of them would not work here)
20) Downloads:
TWRP for OREO: P9-VIE_EVA-8.0.0-TWRP-v4.img https://www.androidfilehost.com/?fid=1322778262904008816 - we need this to flash the important changes to system without the need of Root!
This TWRP is made by @Pretoriano80 for Honor 9 Lite. I made just small changes for assert hi3650. You can backup and restore everything, except data! There is no access to /data - means: you can not do Factoryreset from TWRP - and decryption of the internal storage for the TWRP session is not working. → For Backkup and restore data you can use HiSuite or Huawei Backup or Titanium Backup. MTP ist working, when you just disable/enable it once.
Network-Patch zip files (new released 03.03.2019):
→ select the zip according to your original model (which you had before rebranding to VIE-AL10)
→ Copy the zip file to the external SD or to the USB Stick, which you connect to P9 Plus after with OTG cable. Since TWRP can currently not access /data (internal storage) - you can not flash this Patches without → external SD or USB OTG
→ The Network Patch zip files can be used for b537. If you are already on Oreo and have an older Firmware (b528, b535), you must update first to b537.
→ Update from older Oreo Firmware to b537: see Post #5
VIE-L09_b537-SingleSIM_NetworkPatch-v2.5.zip: https://www.androidfilehost.com/?fid=1395089523397898649
MD5: c22b40706584852ee1b1873fc7c28e54
VIE-L29_b537-DUAL-SIM_NetworkPatch-v2.5.zip: https://www.androidfilehost.com/?fid=1395089523397898655
MD5: 9f8f5df0f8abfe5afe49097b6bc6c4d3
VIE-EVA-FaceUnlock-Oreo-v1.5.zip: https://www.androidfilehost.com/?fid=1395089523397898647
MD5: 973d006c55fa812d722b653a57c844c0
21) Copy the downloaded TWRP (from STEP 20) into the folder C:\HWOTA7\tools\Windows - connect P9 Plus with USB to PC - right click on cmd-here-exe (run as administrator) - type: adb reboot bootloader (enter, to restart your P9 Plus into Fastboot mode)
Code:
fastboot flash recovery_ramdisk P9-VIE_EVA-8.0.0-TWRP-v4.img
22) Disconnect the USB cable from P9 Plus and press (with the left hand) VOL+ and Power Button (with the right hand) and keep pressing until the Phone is rebooted into TWRP.
23) On the first Screen click on "Cancle" (because decryption is not working for now) but swipe to confirm to "Allow System modification"
→ Go to: Install /select storage: Micro SD (or USB-OTG) and flash the downloaded NetworkPatch.zip file. If you like, you can use the function down left "Add zip file" and choose the VIE-EVA-FaceUnlock-Oreo-v1.5.zip
24) Swipe to confirm flashing the Network Patch (and the optional added VIE-EVA-FaceUnlock-Oreo-v1.5.zip file)
25) If you had used an older NetworkPatch before flashing the newest one - go back to the main menu of TWRP, go to wipe → advanced wipe and choose only "cache" (not Dalvik) → but if you are new on Oreo b537 you can skip this step
26) Reboot to the system
27) Finally, Playstore and any keyboard is needed. Download the apks from here (February 2019): https://www.androidfilehost.com/?w=files&flid=290472
28) Install it, enable keyboard, open Playstore and log into your account. After that reboot your phone. Now you can update apps, download and install your favorite apps and additional all other Google apps from Playstore → do not flash GApps instead!
29) After you have installed all required files, you have currently TWRP installed → this is good for Users, which like to have Root and disabled OTA.
Root Guide can be found here: LINK WILL COME SOON
→ But if you like to enable OTA instead:
A) Download and flash: Enable-Hwota.zip from here: https://www.androidfilehost.com/?w=files&flid=290480
B) Go back to the main menu of TWRP and Reboot to Bootlader
C) flash in Fastboot mode the Stock EMUI Recovery
Code:
fastboot flash recovery_ramdisk VIE-b537-EMUI-RECOVERY_RAMDIS.img
Download from here: https://www.androidfilehost.com/?fid=1395089523397898696
Reboot Phone and enjoy
If you search for older files (Network Patches etc) for older Firmwares, you can also search my folder on Android Filehost:
https://androidfilehost.com/user/?w=settings-dev-files&flid=131030
Note: It is not possible to lock the Bootloader on to VIE-AL10 rebranded phone with Network Patch and FaceUnlock! This would revert all the required changes and in the worst case push your phone into a bricked state.
→ But what you can do with installed EMUI Recovery (instead of TWRP): You can do from settings /system /reset a Factoryreset with wipe of the internal storage (to clean up previous instalations) → in this case the Factoryreset lowlevel does not revert the changes! The only difference is: When you get Push notifications, the Badges over the app symbol on Homescreen will change from numbers to points (which is standard on Oreo) → which is currently not change able in settings without Factoryreset.
Known issues:
VoLTE and WiFi-Calling is is visible in the menu - but does not work for now!
If you want synchronisation between Google calendar and EMUI calendar - you need to install Google calendar from Playstore.
If you like to use Google Assistant and have problems to teach this app with your voice "Hello Google" - just open settings /apps & notifications /standard (default) apps - and choose Google Assistant as default app (then it will work).
→ Please read also the next few posts (Root, current firmware with eRecovery, Update Firmware on Oreo with HWOTA8, going back to EVA-AL10 Nougat and rebrand back to original model)
→ Currently working to update this posts (will be ready soon).
Instructions for root
Instructions for root access
Root is not required, but if you still wish, here is the guide:​
Due to the fact TWRP cannot access the encrypted data partition, you cannot JUST flash Magisk!!
→ A) But you can flash Magisk with TWRP using a workaround
→ B) Alternatively it is possible to flash a Magisk patched ramdisk.img in Fastboot mode
A) Workaround for flashing Magisk with TWRP – for Advanced Users:
1) Download the favorite Magisk version from here (all releases): https://github.com/topjohnwu/Magisk/releases
The actual and newest stable version you can get always from here too: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
2) Copy the flashable Magisk-vXX.zip and Magisk Manager apk to external SD – and make sure, you have Developer options with 1) ADB Debugging and 2) USB Debugging (in this order) enabled.
3) Reboot device to TWRP, cancle Password, allow system-modification (swipe to confirm)
4) On the main menu go first to "Mount" - down left click on "Select storage" and choose "Micro SD"
5) Go back to main menu and open "Advanced" and open "Terminal"
NOTE:
If you have got a OTA-Firmware Update with “Patch02” or “Patch01” before flashing the Network Patch (after Network Patch, you will not see this in "About phone"!) or if you don’t remember, then use following both Lines in Terminal, but if you are sure, you have only Firmware without Patch 01 or Patch02, then use just "Keep Force encrypt" Line. Write the Lines in TWRP/Terminal exactly.
6) Write following code with Terminal:
Code:
echo KEEPVERITY=true>>/cache/.magisk
echo KEEPFORCEENCRYPT=true>>/cache/.magisk
→ Confirm each Line with blue/white checkmark on keyboard, before writing the next Line and confirm also the second Line (if you use two)
7) Go back to the main menu to "Install" and flash Magisk - after that reboot phone without wipe of Dalvik/Cache!
8) Search for Magisk Manager on Homescreen - if it is not installed, just install the Magisk Manager apk
9) Open Magisk Manager → everything should be okay
10) Open normal settings /apps & notifications /Magisk Manager /permissions and make sure Magisk Manager has permission for storage.
11) From Magisk Manager menu above left, section “Downloads” – download and install directly “Busybox for Android NDK” by osmosis – save log and reboot phone.
→ If Magisk get a major update, uninstall first Magisk from Magisk Manager and use “uninstall” button. “Uninstall complete” The phone restarts automatically. After that you can flash the new Magisk and reflash the modules.
B) Flashing Magisk with patched ramdisk.img in Fastboot mode:
If you don’t want flash Magisk with the TWRP workaround – you can use a Magisk patched ramdisk.img instead.
1) You can patch ramdiks.img from update.app by yourself, with following method:
Extract the update.zip of the current installed Firmware, because we need the UPDATE.APP.
Download Huawei Extractor v0.9.9.5 from here: https://forum.xda-developers.com/showthread.php?t=2433454
In the settings of the Huawei Extractor disable "verify header checksum" - then put with drag and drop the UDPATE.APP into Huawei Extractor and extract by right click the RAMDISK.img (on earlier Android Versions it would be: BOOT.img)
2) Copy the original RAMDISK.img to your phone to the internal storage in the folder: Download
3) Install the latest Magisk Manager: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
4) Open Magisk Manager, Magisk Manager ask you "Install Magisk-vx.zip?" - first click on: no thanks
5) Since internal storage is encrypted by default, you must first enable the checkbox: "Preserve force encryption"
5) If you have installed a OTA-Firmware Update with Patch01 or Patch02 – then enable additional the checkbox "Preserve AVB 2.0/dm-verity" in Magisk Manager.
6) Then click on "Install" - "You want to install Magisk-v1x.zip now?" - Install - Patch Boot Image File...
7) Navigate to Download folder, and choose RAMDISK.img
8) Magisk will now patch the RAMDISK.img and and once that's done, Magisk will save the patched ramdisk.img with the new name: patched_boot.img in the "Download" folder on internal storage.
→ Do not be confused - this is just named “patched_boot.img, but it is in fact the patched ramdisk.img !
9) Go to Settings /Apps & notifications/Apps and uninstall Magisk Manager
10) Now you must flash the “patched_boot.img” – Reboot your phone into Fastboot mode
Android 8:
Code:
fastboot flash ramdisk patched_boot.img
10) Reboot phone, install again newest Magisk Manager, open it and you will be asked: "Requires Additional setup - to you want to proceed now" Yes. → This step is required for to work properly.
Google Playstore certification
You can try it with method by @zgfg:
https://forum.xda-developers.com/showpost.php?p=79070144&postcount=1574
→ If it does not work you can try advanced method:
1) Set your phone into Flight Mode (no network should be connected)
2) Open Settings/Apps & notification/Apps and down right in the dot menu click on: show systemprocessing
3) Go step by step into following Apps (if there): Google - Google Play Store - Google Play Services - Google-Service-Framework - each has the entry: storage - delete ONLY cache /not data
4) Open with Mixplorer the directory:
/data/data/com.android.vending/shared_prefs - search for the xml file: finsky.xml
5) Open finsky.xml with TEXT Mixplorer Text Editor
6) Search inside finsky.xml for: <boolean name="device-google-certified"value="false" - change it to:
Code:
<boolean name="device-google-certified"value="true"
- means, you change only "false" to: "true"
7) click on the save symbol to save the changes! - close Mixplorer and everything in the Background
8) Disable Flight Mode (so Phone search for network connections)
9) Reboot your Phone
10) Open Playstore menu /settings/ =certified
If you have problems with current version of Magisk and using Gpay (Google Pay), try following workaround:
https://forum.xda-developers.com/showpost.php?p=79028818&postcount=5
How to uninstall Magisk:
A) Before you doing an OTA Update, it is required to uninstall Magisk → and also make sure, to have Stock EMUI Recovery installed (instead of TWRP).
B) In case for a “major” Magisk update it is also sometimes necessary to uninstall Magisk before installing the new version, because with directly update the phone could get a Bootloop. (But normally Magisk updates can be done directly and without uninstalling Magisk before).
C) If your device can not boot into system due to an incompatible Magisk Module.
a + b) If you can boot normally to system, you can uninstall Magisk from Magisk Manager - just use the "Uninstall" button “Uninstall complete”. Magisk will be uninstalled and Magisk files deleted from /data directory. Thereafter, the P9 is restarted automatically.
c) If your device can not boot into system due to an incompatible Magisk Module, you can flash the original EMUI Stock ramdisk.img (which is not patched with Magisk)
→ ramdisk.img must match the Firmware version of your device
For the current Firmware VIE-AL10 b537 you can download the original ramdisk.img here:
VIE-b537-RAMDISK.img:
https://www.androidfilehost.com/?fid=1395089523397898698
You can flash it in Fastboot Mode:
Code:
fastboot flash ramdisk VIE-b537-RAMDISK.img
Alternatively, you can flash the image with TWRP.
In this case you flash the img with TWRP by using: "flash img" - but important is, you must flash it to: ramdisk (and NOT to recovery_ramdisk !!)
Soon you have installed the EMUI ramdisk.img, the device can boot to system again and Magisk is disabled.
Credits:
@osm0sis Busybox for Android NDK
@Didgeridoohan MagiskHidePropsConfig module
@topjohnwu Magisk root
Restore Firmware - downgrade to Nougat - rebrand back
Restore current firmware (if you are on EMUI or OpenKirin ROM) → check out following Post:
https://forum.xda-developers.com/showpost.php?p=77905152&postcount=833
How to go back from Oreo to Nougat → and rebrand back​
A) Method by using HiSuite (on PC):
1) If you have Magisk Root - uninstall Magisk with Magisk Manager (Button Uninstall)
2) Make sure, you have EMUI-Stock-Recovery installed (it does not work with TWRP)
3) Download Huawei HiSuite: https://consumer.huawei.com/minisite/HiSuite_en/
4) Update HiSuite on PC to (minimum) version: 8.0.1.302_OVE and connect your Phone with PC and HiSuite.
5) Let HiSuite install HiSuite App on your Phone - accept the Permission requests. Once that is done:
6) Click on "Systemupdate" - a new window pop up and show you your current version, click on the Link "Change version" - then you can downgrade to the latest Android 7 AL10 firmware
7) → then it is possible to use HWOTA7 again for rebranding back...
B) Method by using HuRUpdater → requires external SD or USB OTG:
If you want to go back from unofficial Oreo to Nougat and rebrand back to your original brand, you can do it with simply steps.
→ Note: HuRUpdater can not only be used for Downgrade, it can also be used for Update Firmware - It depends only on which firmware you pack together with HuRUpdater in the folder (which you have created on external SD or USB OTG)
→ The Firmware must be FullOTA-MF (same renaming than with HWOTA7 Tool)
1) Bootloader must be open
2) Flash TWRP for Oreo Download TWRP by Pretoriano80: https://www.androidfilehost.com/?fid=1322778262903998750
3) Backup your data with Huawei Backup (because TWRP can not acces data for now, because it has no encryption/decryption support)
4) Make a folder on your external SD and name it: Downgrade or Update (or however)
5) Copy the 3 Firmware zip files into the folder and make sure, two zip files are renamed (same as you did for HWOTA7)
6) Download HuRUpdater_0.4.zip from here:http://www.mediafire.com/file/r14sor2g4cbugzw/HuRUpdater_0.4.zip
7) Copy HuRUpdater into the same folder together with the firmware zip files. If you have the Nougat AL10 zip files inside, you will downgrade.
The folder contains now 4 files:
HuRUpdater_04.zip
update.zip
update_all_hw.zip
update_data_public.zip
8) Boot into TWRP. It will ask you for password. Just cancle. In TWRP open "Wipe" - but dont wipe anything - you must use the Button on the right Format Data. Confirm with typing: yes. Soon data is formatted, go back to the main menu and open Reboot - but do not reboot System - you must Reboot Recovery
→ Note: Format data is only important until we have TWRP with working data decryption
9) After TWRP is rebooted go "Install".
10) Navigate to the folder which containes the files and flash ONLY HuRUpdater_04.zip In some seconds the Akku vibrates - in this moment press for one second the VOL- Button. Now HuRUpdater will flash automatically the FullOTA-MF Firmware.
11) Once it is done, use on the left: Wipe Cache Button. After go back to the main menu and Reboot RECOVERY.
12) Your device has rebooted now into EMUI Stock Recovery. From there perform Wipe Cache Partition and Factory reset and boot to system.
Once you are back to Nougat - you can use again the HWOTA7 Tool to rebrand back to your original brand. Just use Change location (for your original cust) and make sure, the Firmware is in the update folder..
Credits:
@zxz0O0 Many thanks for HuRUpdater
HuRUpdater Thread: https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279
How to update older Oreo Firmware to → b537
How to update manually the Firmware from Oreo b528 or b535 to → b537
This method is based on VIE-EVA-Nocheck EMUI-Recovery for Oreo.
Required for the Firmware update is installed TWRP https://www.androidfilehost.com/?fid=1322778262903998750
Additonal information to the manual Firmware-Update from b535 (or even from b528) → to b537 → or even to next version in the future:
1) Download current Firmware VIE-AL10C00B537 (8.0.0.537):
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3133/g1699/v200303/f1/full/update.zip
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3133/g1699/v200303/f1/full/public/update_data_full_public.zip
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3133/g1699/v200303/f1/full/VIE-AL10_all_cn/update_full_VIE-AL10_all_cn.zip
2) Let Windows show file extensions (to make sure you have at the end not zip.zip) and rename the last two zip files - (update.zip - do not rename)
update_data_full_public.zip - rename to: update_data_public.zip
update_full_VIE-AL10_all_cn.zip - rename to: update_all_hw.zip
3) Download FirmwareUpdate_onOreo_from-externalSD.zip file and extract (unzip) it:
https://www.androidfilehost.com/?fid=1395089523397898767
Inside is the folder: HWOTA and contains two files. Do not rename that files.
4) Create a folder on your external SD with the Name HWOTA in the main directory (dont use another name!) - or copy the HWOTA folder from unzipped Firmware-Update.zip instead to your external SD
5) So you have now the folder HWOTA on your external SD (without Subfolders between)
6) The folder HWOTA must contain:
eva_vie_recovery_nocheck.img
ExtSD-FirmwareUpdateScript.zip
update.zip
update_all_hw.zip
update_data_public.zip
7) Now boot to TWRP, cancle Password, allow system modification, go to Install, select storage: Micro SD - and flash ONLY the one zip file with the name: ExtSD-FirmwareUpdateScript.zip
8) The phone will automatically reboot and needs a while to flash automatically the No Check EMUI-Recovery and this needs also a while until the Firmware will be flashed automatically as well as Phone reboots after. Just wait, until it boot up.
→ if you have Root, there is no need to Unroot before and you will loose no installed apps but probably Playstore and/or Keyboard (if the apps were not updated, if the were updated, you will not loose Playstore and not Keyboard). If Playstore is missing, just install the Playstore apk and Keyboard apk and reboot phone. → Links for the apks in Post #2
Nothing will be wiped, except mobile network settings are gone and some additional Chinese Apps are installed.
9) Flash again TWRP and select your NetworkPatch.zip (that matches your real device) and in the middle you find the button "add zip" just add: Faceunlock.zip
→ flash both together with swipe to confirm and reboot phone without wipe anything.
Note: You must use the new released Files from Post #2 step 20-29: https://forum.xda-developers.com/showpost.php?p=77650678&postcount=2
10) You are now on b537 - The Chinese Apps are automatically deleted and everything works as it should
Enjoy :good:
And here it is ? Can't wait to try it. On holidays right now, I'll test it by two weeks, I just need to recover a Windows laptop as I'm using Linux right now. Anyway, thank you a lot for the effort!
thank you so much for the hardwork. Love to see this happening for the p9 plus. keep the good work up. i will try out the tools this weekend.
Just to be sure, to update an european modelo (c432) we need to follow instruction in post 1 and post 2 ?
Fil76 said:
Just to be sure, to update an european modelo (c432) we need to follow instruction in post 1 and post 2 ?
Click to expand...
Click to collapse
Hi, welcome in this Thread
→ Reading OP (Post # 1) is required because some information from there is required in Post # 2. OP is a general overview of how the tool works and what to look for.
Post # 2 is an exact guide for rebranding the European model to VIE-AL10 and updating to Android Oreo.
On Oreo, initially no IMEI is detected and there is no mobile network available - the P9 Plus must therefore be adapted. This is done by means of a zip file, which you choose according to your original model. The zip must be flashed with TWRP, after a factory reset must be performed with the EMUI Stock Recovery.
Yes, if you want your device to work with the Chinese firmware on Oreo, then you must read both Instructions and following the Guide.
I spent a lot of time for free into this project, so that the user is able to get the "impossible" possible. Everything was tested thoroughly by me and others.
FYI: I am not responsible for any mistakes or bricks that occur if someone do not follow the instructions exactly
Post #3 - Root instructions → ready
Fantastic to see this tool also for P9 Plus!
Thank you very much for the time and the work spent to create this tool!
edit:error in progress
Fil76 said:
edit:error in progress
Click to expand...
Click to collapse
? Please more detailed, if you need help
i had fastboot connection problem due to cable (one original and one not) and cause i'm dumb i didn't rename a nougat file correctly and got nrm90 test key as build number
resolved after installing oreo update (i tried restarting all the procedure with hwota setting again al10 but nrm90 etc remain)
But i'm in working progress cause i installed oreo and build numer now it's correct
now i'm continuing following your guide
let's hope....lol
edit2:YEAH ALL FINE THANK YOU FOR YOUR TOOL
the only one problem that i got that everytime i boot i got message that bootloader is unlocked
Fil76 said:
YEAH ALL FINE THANK YOU FOR YOUR TOOL
the only one problem that i got that everytime i boot i got message that bootloader is unlocked
Click to expand...
Click to collapse
That's not a problem
That's always on every Android version from Marshmallow /Nougat /Oreo above..
If the Bootloader is opened you will get this message as long the Bootloader is unlocked.
And there's nothing what could be done to hide this message.
But the other side is, without unlocked Bootloader you couldn't change anything.
And if you would relock the Bootloader - you would loose all the settings necessary for European VIE to work properly on Oreo
First of all, thanks @Tecalote and team to let my Vie-p9 plus fly again^^, i followed each step carefully and successful debrand and upgrade to Oreo, everything works like a charm and after restore all the apps and all works without problem only NFC(because i need google pay as my transport payment method), the nfc icon show in the pull down drawer but it grey out and no respond. And inside setting> device connection> only have bluetooth, Multi-screen, usb and printing options but only missing the NFC.
is it any way to fix it?
htc_black said:
First of all, thanks @Tecalote and team to let my Vie-p9 plus fly again^^, i followed each step carefully and successful debrand and upgrade to Oreo, everything works like a charm and after restore all the apps and all works without problem only NFC(because i need google pay as my transport payment method), the nfc icon show in the pull down drawer but it grey out and no respond. And inside setting> device connection> only have bluetooth, Multi-screen, usb and printing options but only missing the NFC.
is it any way to fix it?
Click to expand...
Click to collapse
Hello @htc_black
What was your original model? VIE-L29 ? - okay, I am sorry. I saw just right now, that L29 includes also NFC - I did not know that. I will upload corrected zips for L29 in about 30 minutes.
I thought, it is the same than on EVA (EVA L09 = NFC, no Dual SIM, L19+L29 = no NFC, but Dual SIM) - but VIE has NFC on L09 as well as on L29....
So, it can be fixed, no problem.
I had only L09 to test and dont own L29
After upload the corrected zip, please install and let me know, if it works! Thanks
Tecalote said:
Hello @htc_black
What was your original model? VIE-L29 ? - okay, I am sorry. I saw just right now, that L29 includes also NFC - I did not know that. I will upload corrected zips for L29 in about 30 minutes.
I thought, it is the same than on EVA (EVA L09 = NFC, no Dual SIM, L19+L29 = no NFC, but Dual SIM) - but VIE has NFC on L09 as well as on L29....
So, it can be fixed, no problem.
I had only L09 to test and dont own L29
After upload the corrected zip, please install and let me know, if it works! Thanks
Click to expand...
Click to collapse
Finally finally finally:laugh: rebranded , updated to Oreo and rooted :victory: :laugh:
Thank you so much for your great effort and helping us
Really you are a genius
Everything is working well, only NFC is not working but the rest is perfect
From VIE-L29 to VIE-AL0
meshoo00oo said:
Finally finally finally:laugh: rebranded , updated to Oreo and rooted :victory: :laugh:
Thank you so much for your great effort and helping us
Really you are a genius
Everything is working well, only NFC is not working but the rest is perfect
Click to expand...
Click to collapse
NFC patch is just uploading, coming in a few minutes. I post it here

Doogee N20 TWRP

How I can install twrp and flash gsi rom on Doogee N20?
I found this but I'm doesnt know Russian: pda.ru/forum/index.php?showtopic=955032&st=1220#entry89836105 (I cant post URL because I'm new user, so I delete the "4" from "4pda")
Sorry for my bad English.
צבי זלצברג said:
How I can install twrp and flash gsi rom on Doogee N20?
I found this but I'm doesnt know Russian: pda.ru/forum/index.php?showtopic=955032&st=1220#entry89836105 (I cant post URL because I'm new user, so I delete the "4" from "4pda")
Click to expand...
Click to collapse
That's the Google translation:
A little instruction on how to get RooT. And so, everything that you do, as always, is at your own peril and risk! All data is erased when unlocked! Make BACKUP !!! Is always!!!! I. Unlocking Boorloder-a (required for flashing the phone and everything connected with it): 1. Go to settings -> system -> About phone -> Build number (7 clicks) (Congratulations !!!! You are a developer!) < - About phone -> For developers: Enable USB debugging and OEM unlocking. 2. We connect the phone to the computer and install the ADB usb driver (on the Internet), a connection request should appear on the phone, you need to allow it. 3. Extract files from the N20_utils.rar archive (10.87 MB) (preferably not very far, the root of the disk or the created folder N20 will be there). Go to the Unlocked Bootloader folder and run the bat file, the phone will reboot and display the request "unlock? Yes / no" rocker up - yes / rocker down - no. Naturally, you need to press the volume up, otherwise there were so many actions)) 4. Congratulations! Now, with each reboot, you will have an Orange state (5-second inscription), and the ability to do whatever you want with your phone. II. We sew! 1. For the lazy (who value their time). Download the SP Flash tool (Internet), from the N20_utils.rar archive (10.87 MB) select MT6763_Android_scatter and boot_magisk_20 files for the boot partition, lk_pached for lk, etc. you can even twrp instead of native recovery. Turn off the phone, connect it to the computer and click Download in the SP Flash programs. After the OK circle appears, disconnect and reconnect the cable (easier than a forced reboot). We turn on the phone and put the magisk manager (internet). Congratulations!!! You have a root and no Orange State label! 2. Who wants more and himself: phone to computer -> go to the Unlocked Bootloader folder -> run CMD -> write "fastboot flash recovery" put a space and move the TWRP file with the mouse to the window (fast path to the file) and press ENTER -> reboot the phone to fastboot. Congratulations!!! you have TWRP. Boot into TWRP, skip the encrypted DATE message, go to formatting and format the DATE. Go to mount and connect MTP. A phone will appear on my computer, we drop the files DisableForceEncryption_Treble (disable date encryption), orange_state_disabler_v0.3 (remove orange_state) and magisk.zip (internet) into the memory section. In TWRP, click install all this and rejoice! 3. Who has nothing to do at all: go to the forum thread Development and porting of GSI firmware (Post bullik01 # 71222655) and try what catches your eye. Not all are loaded, but .... (although we do not seem to have an A / B structure, but only "arm64 A / B" were launched) PS: look for additional information here on the forum and for brotherly devices UMiDIGI A5 Pro - Firmware ( Post Xakep1993 # 86772223) Attached files recovery-TWRP_3.3-20191015-1714.img (22.81 MB) DisableForceEncryption_Treble.zip (4.24 MB)
jwoegerbauer said:
That's the Google translation:
A little instruction on how to get RooT. And so, everything that you do, as always, is at your own peril and risk! All data is erased when unlocked! Make BACKUP !!! Is always!!!! I. Unlocking Boorloder-a (required for flashing the phone and everything connected with it): 1. Go to settings -> system -> About phone -> Build number (7 clicks) (Congratulations !!!! You are a developer!) < - About phone -> For developers: Enable USB debugging and OEM unlocking. 2. We connect the phone to the computer and install the ADB usb driver (on the Internet), a connection request should appear on the phone, you need to allow it. 3. Extract files from the N20_utils.rar archive (10.87 MB) (preferably not very far, the root of the disk or the created folder N20 will be there). Go to the Unlocked Bootloader folder and run the bat file, the phone will reboot and display the request "unlock? Yes / no" rocker up - yes / rocker down - no. Naturally, you need to press the volume up, otherwise there were so many actions)) 4. Congratulations! Now, with each reboot, you will have an Orange state (5-second inscription), and the ability to do whatever you want with your phone. II. We sew! 1. For the lazy (who value their time). Download the SP Flash tool (Internet), from the N20_utils.rar archive (10.87 MB) select MT6763_Android_scatter and boot_magisk_20 files for the boot partition, lk_pached for lk, etc. you can even twrp instead of native recovery. Turn off the phone, connect it to the computer and click Download in the SP Flash programs. After the OK circle appears, disconnect and reconnect the cable (easier than a forced reboot). We turn on the phone and put the magisk manager (internet). Congratulations!!! You have a root and no Orange State label! 2. Who wants more and himself: phone to computer -> go to the Unlocked Bootloader folder -> run CMD -> write "fastboot flash recovery" put a space and move the TWRP file with the mouse to the window (fast path to the file) and press ENTER -> reboot the phone to fastboot. Congratulations!!! you have TWRP. Boot into TWRP, skip the encrypted DATE message, go to formatting and format the DATE. Go to mount and connect MTP. A phone will appear on my computer, we drop the files DisableForceEncryption_Treble (disable date encryption), orange_state_disabler_v0.3 (remove orange_state) and magisk.zip (internet) into the memory section. In TWRP, click install all this and rejoice! 3. Who has nothing to do at all: go to the forum thread Development and porting of GSI firmware (Post bullik01 # 71222655) and try what catches your eye. Not all are loaded, but .... (although we do not seem to have an A / B structure, but only "arm64 A / B" were launched) PS: look for additional information here on the forum and for brotherly devices UMiDIGI A5 Pro - Firmware ( Post Xakep1993 # 86772223) Attached files recovery-TWRP_3.3-20191015-1714.img (22.81 MB) DisableForceEncryption_Treble.zip (4.24 MB)
Click to expand...
Click to collapse
Hi, were you by any chance able to get a copy of these files ,Please upload if posssible
The original links are broken and the internet seemed to wipe all traces out, I'm looking for the N20_utils and possibly the Disable force encryption one
Good day
Had the same problem, (English not so good but I know you'll understand). What I did was just installing Corvus OS rom, the 11th version. It's been quite a while since i installed it.
Tried Lineage 18.1 and adding the smallest gapps available, but everytime i get code error 1. I guess it was the twrp 3.3 version i used cause some roms requer the latest TWRP versions. The lineage is installing just right nd can reboot to system with no hiccups.
None of Android 12 gsi versions has ever been able to installed. Cause when i try to install, i get the error of "file too large for the target partition. Tried everything from the net to increase the system partition to at-least 3gig. No success.....
Is anyone who can help to install android 12 even beta version will be ok for my N20 Doogee??
Thanx
flairepathos.info said:
Hi, were you by any chance able to get a copy of these files ,Please upload if posssible
The original links are broken and the internet seemed to wipe all traces out, I'm looking for the N20_utils and possibly the Disable force encryption one
Click to expand...
Click to collapse
The file is in the forum. But to make your life easier here are the link.
https://drive.google.com/drive/folders/18B-srDVia_H4aDt7uvCDUxg2e4R5kVVY?usp=sharing The file is of type .exe and that extracts when you run on the pc, the problem is that I was suspicious about the virus so I threw the file in the total virus (if you don't know what it is, just search) and 6 programs pointed it out as malware but many others didn't find anything including karpersky and bit defender, there to make sure the files were there i renown they from .exe to .zip and I looked and the files really were there but as I don't want to take the risk I didn't extract and I didn't even try anything. The file that fix the encryption are inside doogee n20.exe, the guy said it will be in .exe and when you run it extracts the file in the C folder of the computer I recommend you to rename it from .exe to .zip because if the file have a virus you can screw your pc when running
Da-Judges said:
Good day
Had the same problem, (English not so good but I know you'll understand). What I did was just installing Corvus OS rom, the 11th version. It's been quite a while since i installed it.
Tried Lineage 18.1 and adding the smallest gapps available, but everytime i get code error 1. I guess it was the twrp 3.3 version i used cause some roms requer the latest TWRP versions. The lineage is installing just right nd can reboot to system with no hiccups.
None of Android 12 gsi versions has ever been able to installed. Cause when i try to install, i get the error of "file too large for the target partition. Tried everything from the net to increase the system partition to at-least 3gig. No success.....
Is anyone who can help to install android 12 even beta version will be ok for my N20 Doogee??
Thanx
Click to expand...
Click to collapse
you can use the pixel experience lite https://github.com/ponces/treble_build_pe/releases ( remenber the lite version, because is 2,5 gig) i try and instal in my phone and worked but i cant access my storage so i search and here are the solution https://forum.xda-developers.com/t/...loop-after-any-custom-rom-doogee-n20.4357313/ i dont try it but if you want here are the solution
flairepathos.info said:
Hi, were you by any chance able to get a copy of these files ,Please upload if posssible
The original links are broken and the internet seemed to wipe all traces out, I'm looking for the N20_utils and possibly the Disable force encryption one
Click to expand...
Click to collapse
Hi, did you find N20_utils?

MIUI Unlocking Bootloader, Flashing Recovery & Rooting Process

First of All, these are my knowledge which was gained through hard reading from XDA Developers Forum, GitHub, reddit, different websites & watching YouTube Videos.​DISCLAIMER: ​Here, I will explain all the process of unlocking Bootloader, Flashing Recovery & Rooting Your Xiaomi Phone, though the general idea is the same, so you can read it from TOP TO BOTTOM because you can use this knowledge FOR ANY ANDROID PHONE GENERALLY. Here, I also explained ALL THE PROBLEMS YOU MIGHT FACE WHILE DOING THIS, AND HOW TO GET OUT OF THOSE PROBLEMS, BECAUSE XDA THREADS AND YOUTUBE VIDEOS DOES NOT ANSWER YOUR PROBLEMS IN ONE THREAD OR IN ONE VIDEO, ONLY WHILE DOING IT, WE FIND THAT, DOING THESE WEREN'T SO EASY LIKE YOUTUBE VIDEOS OR XDA THREADS
AND OF COURSE, DO THESE ON YOUR OWN RISK, IF SOMETHING HAPPENS TO YOUR DEVICE AND YOU BLAME ME, I WILL LMAO AT YOU.
REQUIREMENTS: 1. PC/LAPTOP 2. PENDRIVE WITH OTG CABLE (FOR PRECAUTION, GO TO STEP 4.3 TO LEARN WHY)
Step Number 01: Backup All Your Data:​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
YOU HAVE BACKUP ALL YOUR DATA, INCLUDING APP DATA, GALLARY PHOTOS, ALL OF THEM BECUASE UNLOCKING BOOTLOADER WILL RESET EVERYTHING, IT WILL START FROM THE MOMENT WHEN YOU BOUGHT YOUR PHONE FIRST & SWITCHED IT ON.
STEPS:​
To Backup All Your Data-
Go to settings "backup and restore" in additional setting (or in MY DEVICE - BACK UP & RESTORE) you can use either mobile or computer backup, both are same, after backing up, transfer it to computer.
Backup your contact from "contacts" (optional, because "step a" includes this)
Then connect your phone with your pc & backup all the necessary files, for example, create a backup of these folders:
DCIM
Download
Pictures
MIUI (Gallery, recorder etc.)
Shareit, vidmate folder
Whatsapp folder (you can also backup it in google, goto SETTINGS - CHATS - CHAT BACKUP)
and others as per your necessity
My process is a manual process, so no app is required.
READ IT: in internet, you will find that you can use rooted app to backup these, like TITANIUM, or take a NANDROID BACKUP (SYSTEM AND APPS) USING TWRP RECOVERY, my boy, listen well, you haven't yet unlocked your bootloader, how can you have a rooted device and twrp recovery? (well you can have a rooted device but that also requires unlocked bootloader which will reset everything on your phone)
Step Number 02: Unlock Your Bootloader​
STEPS:​
Enable developer option by clicking on MIUI version 7 times
from "Additional setting", go to "developer option". there, do these:
enable OEM UNLOCKING
in device unlocking, add your MI account. if shows problem or error, remove your MI account then add it again from device unlocking, (NOT FROM MY DEVICE, ADD ACCOUNT) then, it will take you to main settings, just come back and click add again, it will work in Sha Allah.
now in your pc, download MI Flash Unlock from official MI website, HERE (better to install the latest)
Unzip it, run it using "batch_unlock", add your mi account
in additional settings again, in developer option, enable "USB DEBUGGING"
now in pc, connect your phone in fastboot mood, (swithing off then holding power button and volume down will take you to fastboot mood, there is another process of going to fastboot mood, which is described in step 3)
if your device is recognized IN MIUI UNLOCK TOOL but after connecting it in miui unlock tool, fastboot mood turns of and says "PRESS ANY KEY TO SHUTDOWN" in your phone, you may try swithing to USB port 2 but it didn't work for me. Instead, I ran this bat file code "AS ADMINISTRATOR" from XDA developer forum, you can do it too. I renamed it as "a.bat" first thing to come it my mind. then disconnect USB and connect again in your fastboot mood. Click Refresh in unlock tool.
(OR, IF YOUR DEVICE IS NOT RECOGNIZED IN MIUI UNLOCK TOOL, FOLLOW THESE:
remove MI account from unlock tools and again add, if password shows error even after typing correctly, use phone number and pass to log in, in stead of email and password. Check if device if recognized or not.
If not, try these, Download MIUI Flash Tool and unzip it, run XiaoMiFlash.exe. At the top line, find DRIVER, install all DRIVERS.
IF YOU FACE LOG FILE ERROR,
SOLUTION: JUST CREATE A FOLDER NAMED "log" in the same directory. DONE, YOUR DRIVER WILL BE INSTALLED, CLICK YES EVERY TIME, THEN CONNECT YOUR PHONE WITH MIUI UNLOCK TOOL AND CLICK REFRESH.
your device will be shown in "batch_unlock" in sha Allah. Click unlock. Remember, your phone will loose all data, just full factory reset.
8. after 99% it will show "unlock sign" at the top of your phone, and your phone will reboot, just let it reboot. It will take at best 12 minutes to reboot. Don't worry, seat tight, watch a YouTube Video of Dr. Zakir Naik or Ahmed Deedat Sir <3.​9. setup your phone as if it's a new device. (it is necessary, because after this, we will flash recovery and root your phone, because it is really important to take a backup of your original "PERSIST.IMG" . it is possible for rooted device only. (though it can be done through recovery, but from magisk, it's the best way and safest).​10. you can restore all backup from your pc now. (not necessary, if you want to change ROM)​
Step Number 03: Install ADB (PC) & TWRP RECOVERY (Android)​STEPS:​
download latest SDK from OFFICIAL WEBSITE.
2. name of the download will be "platform-tools_r31.0.2-windows.zip" unzip it in DESKTOP (IMPORTANT). it's name will be "platform-tools", open it. (ADB COMMAND WILL RUN ONLY IN THIS FOLDER.​
ALTERNATIVE ADB: you can also do it by one click adb installer, just install the file, and cmd will work at any position. File is given in the telegram, in my .rar file. But sometimes it shows problem, adb command is not recognized by the windows. then, above platform tools folder is useful as it always works.
3. downlead latest TWRP specific for your device from HERE. website guide: >find your device name> device model> Download Links > click either "Primary (Americas)" or "Primary (Europe)" or you can download them from XDA too (XDA process: search in google "TWRP for MI 9 se (your specific device with model number, not Mi9SE) XDA" then, go to the thread, below you will find GITHUB or any other download link, go there and you can download it from there.​
4. (YOU CAN IGONORE THIS STEP, LET ME KNOW IF YOU FACED ANY PROBLEM, THOUGH YOU SHOULDN'T) rename the twrp file to twrp.img (not necessary though, check if your device extension is hidden or not, if hidden, you will not see any extension after any file, in that case, you can just rename "twrp" because img extention is already there and it's hidden. How to check hidden extention: in that folder, go to view at the top of the screen of that folder, (at beginning - beside cross, minimize then click "view"> click "option" in one row down, at extreme right side of it > click "view"> in downwards, untick "hide extensions for known file type"> click "apply">click "ok" then close it.)​
5. keep the "twrp.img" (the file you downloaded, no need to rename, .img will show depending on unhidden condition) in the "platform tools" folder.​
6. now go to "platform tools" folder. it's better to keep the folder in "desktop". go to the folder address, it is above the "Name, Date Modified, Type, Size" row, where it is written all the folders name that you have clicked to come to this folder. Now, click on the folder address, write "cmd", hit enter.​
7. now connect your phone making sure "USB DEBUGGING IS STILL ON" because after unlocking bootloader, it will automatically be set to OFF.​
write these commands: (after each command hit enter)
adb devices (it will show your device number if it is connected properly, if shows unauthorized, g0 to your phones home screen, disconnect and connect the usb again, in cmd write adb devices, a permission will pop up in your phone at bottom, not in notifications, click YES, your device will be authorized)
adb reboot bootloader (it will take you to fastboot mood instantly)
fastboot devices (it will show your device number it it is connected properly, to make sure it is still connected)
fastboot flash recovery (give space after recovery, then drag the twrp.img file here)
fastboot boot (give space after boot, then drag the twrp.img file here, your phone will boot into recovery.) ALTERNATIVE TO THIS STEP: fastboot reboot (it will reboot, but stop it instanlty by holding "power and volum up button", it is a must, it will take you to twrp manu, if you don't go now, later twrp will be removed by your phone)
AND OF COURSE, YOU HAVE TO ROOT YOUR PHONE RIGHT NOW, EVEN IF YOU DON'T WANT IT, CAUSE IF YOU DON'T, YOUR PHONE WILL REMOVE TWRP AS YOUR RECOVERY.
8. you will see twrp screen, then asking you "to keep system files as read only or swipe to allow modification, tick in DON'T SHOW AGAIN AND SWIPE TO ALLOW MODIFICATION". Then it will ask for a password to decrypt your phone, give the password to decrypt your phone. (to learn about encryption decryption, go to step number 4.3).​
IF YOU FACE BOOTLOOP OR ANY OTHER ISSUE LIKE TWRP RECOVERY IS NOT STARTING AS IT SUPPOSED TO:
Again, go to fastboot mood by pressing power + volume down button. Download this vbmeta file. Go to platform tools > cmd > type
fastboot --disable-verity --disable-verification flash vbmeta (space, then drag the vbmeta file and hit enter, then follow step number 3.7
(3 is step number, 7 is the point number under step number 3)
Step Number 04: Install Magisk​STEPS:
1. you should stay in TWRP manu from the last step of STEP NUMBER 3 and your phone is connected with your computer via USB.​
2. In your computer, download MAGISK FROM OFFICIAL GITHUB PAGE . Copy the magisk.apk and paste it twice in the same folder, now you have three magisk apk, rename the second one removing the "copy from name and just add .zip in stead of .apk at last. Rename the third one as this: "uninstaller.zip"​
3. Now listen carefully, this is very important part of this topic:​
your phone has two state: a. encrypted b. decrypted
a. IF ENCRYPTED AND CAN'T BE DECRYPTED THROUGH TWRP, that is TWRP IS NOT ASKING PASSWORD AT THE BEGINNING TO DECRYPT YOUR PHONE, THEN: some china rom's security is so encrypted, LIKE MY MI9SE, THAT TWRP CAN'T DECRYPT IT, EVERYTIME I HAVE TO RESET THE PHONE TO DECRYPT, IN THIS CASE ,YOU CAN'T ACCESS YOUR PHONE'S INTERNAL STORAGE NEITHER FROM TWRP NOR FROM PC (TWRP ACTS AS MTP, MEDIA TRANSFER PROTOCOL, MEANING YOU CAN TRANSFER FILE BETWEEN PHONE AND ANDROID IN RECOVERY MOOD), SO YOU CAN'T ACCESS YOUR INTERNAL STORAGE, YOU CAN'T INSTALL MAGISK. HERE, PENDRIVE WITH OTG COMES HANDY. Disconnect your phone Keep those three files in pendrive and connect it in OTG with your phone. go to twrp > install > select storage at bottom > select pendrive > select magisk.zip > swipe to flash. CONGRATULATIONS, YOUR PHONE IS ROOTED.​
b. IF YOUR PHONE IS DECRYPTED BY TWRP AFTER GIVING PASSWORD:​
Copy those three magisk file from your computer and drop it in your phones internal storage. go to twrp > install > select magisk.zip > swipe to flash. CONGRATULATIONS, YOUR PHONE IS ROOTED.
4. Reboot Your Phone (If your phone is bootlooped, which never happened to anyone I know, still for safety, again go to recovery by holding POWER + VOLUME UP BUTTON. go to twrp > install > select uninstaller.zip > swipe to flash. This will uninstall magisk from your phone and then reboot to system, your phone will reboot normally)​
5. A Magisk app will be shown among your apps which is not like magisk logo. Don't touch it, Goto file manager, find those three magisk files, one file is the original magisk.apk file you downloaded, install it normally like any other app.​
6. CONGRATULATIONS, YOUR PHONE IS COMPLETELY ROOTED.​
Step Number 05: Backing up your PERSIST.IMG (MOST IMPORTANT)​STEPS:
You will know from my other threads about what is persist partition of your phone. But let's just back it up now without knowing it. Copy it to your computer, cloud so that you never loose it.
Assuming you still have your phone connected through usb to the computer.
Install TERMUX from playstore or from HERE if you don't have play store.
in termux, type su to obtain root permission. A pop up will be shown to grant root permission, if it doesn't work, leave termux app, go to magisk app, at bottom, you will be 4 options, click the second one, you will see this screen.
grant super user permission for termux from here.
4. again go to termux, type this:
su (hit enter)
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img (hit enter)
5. your persist.img is backed up in your internal storage.
6. you can transfer it to pc manually or
use this process because it is relatively safe, though I never found any difference,
go to platform tools in cmd, type this:
adb pull /sdcard/persist.img D:\
it will take around 10 seconds, you will find the file persist.img in your PC's D drive folder, whatever the name is, the next folder to C drive, okay? Copy the persist.img wherever you want to keep it. I am again saying, it's not mandatory to do it in this way, just do normal copy paste from your phone's internal storage to your PC, it will do the work.
THANK YOU GUYS FOR READING IT ATTENTIVELY, FROM TOP TO BOTTOM, AND IF YOU DIDN'T, WHAT CAN I SAY. IT TOOK MORE THAN 30 DAYS TO ACQUIRE ALL THESE KNOWLEDGE AND YOU ARE GETTING IT WITHOUT ANY EFFORT, FREE, WHAT MORE DO YOU WANT?
My Other Threads according to "how should you read them" serial:
1. MIUI 12.5 Chinese ROM Google PlayStore Stopped Working
2. MIUI Unlocking Bootloader, Flashing Recovery & Rooting Process (This Thread)
3. Android Terminology You Must Know Before Toying with Your Android
4. ROM Naming & CUSTOM ROM, AOSP ROM, TREBLE ROM, GSI ROM, PORTED ROM
shafi1885 said:
First of All, these are my knowledge which was gained through hard reading from XDA Developers Forum, GitHub, reddit, different websites & watching YouTube Videos.​DISCLAIMER: ​Here, I will explain all the process of unlocking Bootloader, Flashing Recovery & Rooting Your Xiaomi Phone, though the general idea is the same, so you can read it from TOP TO BOTTOM because you can use this knowledge FOR ANY ANDROID PHONE GENERALLY. Here, I also explained ALL THE PROBLEMS YOU MIGHT FACE WHILE DOING THIS, AND HOW TO GET OUT OF THOSE PROBLEMS, BECAUSE XDA THREADS AND YOUTUBE VIDEOS DOES NOT ANSWER YOUR PROBLEMS IN ONE THREAD OR IN ONE VIDEO, ONLY WHILE DOING IT, WE FIND THAT, DOING THESE WEREN'T SO EASY LIKE YOUTUBE VIDEOS OR XDA THREADS
AND OF COURSE, DO THESE ON YOUR OWN RISK, IF SOMETHING HAPPENS TO YOUR DEVICE AND YOU BLAME ME, I WILL LMAO AT YOU.
REQUIREMENTS: 1. PC/LAPTOP 2. PENDRIVE WITH OTG CABLE (FOR PRECAUTION, GO TO STEP 4.3 TO LEARN WHY)
Step Number 01: Backup All Your Data:​
YOU HAVE BACKUP ALL YOUR DATA, INCLUDING APP DATA, GALLARY PHOTOS, ALL OF THEM BECUASE UNLOCKING BOOTLOADER WILL RESET EVERYTHING, IT WILL START FROM THE MOMENT WHEN YOU BOUGHT YOUR PHONE FIRST & SWITCHED IT ON.
STEPS:​
To Backup All Your Data-
Go to settings "backup and restore" in additional setting (or in MY DEVICE - BACK UP & RESTORE) you can use either mobile or computer backup, both are same, after backing up, transfer it to computer.
Backup your contact from "contacts" (optional, because "step a" includes this)
Then connect your phone with your pc & backup all the necessary files, for example, create a backup of these folders:
DCIM
Download
Pictures
MIUI (Gallery, recorder etc.)
Shareit, vidmate folder
Whatsapp folder (you can also backup it in google, goto SETTINGS - CHATS - CHAT BACKUP)
and others as per your necessity
My process is a manual process, so no app is required.
READ IT: in internet, you will find that you can use rooted app to backup these, like TITANIUM, or take a NANDROID BACKUP (SYSTEM AND APPS) USING TWRP RECOVERY, my boy, listen well, you haven't yet unlocked your bootloader, how can you have a rooted device and twrp recovery? (well you can have a rooted device but that also requires unlocked bootloader which will reset everything on your phone)
Step Number 02: Unlock Your Bootloader​
STEPS:​
Enable developer option by clicking on MIUI version 7 times
from "Additional setting", go to "developer option". there, do these:
enable OEM UNLOCKING
in device unlocking, add your MI account. if shows problem or error, remove your MI account then add it again from device unlocking, (NOT FROM MY DEVICE, ADD ACCOUNT) then, it will take you to main settings, just come back and click add again, it will work in Sha Allah.
now in your pc, download MI Flash Unlock from official MI website, HERE (better to install the latest)
Unzip it, run it using "batch_unlock", add your mi account
in additional settings again, in developer option, enable "USB DEBUGGING"
now in pc, connect your phone in fastboot mood, (swithing off then holding power button and volume down will take you to fastboot mood, there is another process of going to fastboot mood, which is described in step 3)
if your device is recognized IN MIUI UNLOCK TOOL but after connecting it in miui unlock tool, fastboot mood turns of and says "PRESS ANY KEY TO SHUTDOWN" in your phone, you may try swithing to USB port 2 but it didn't work for me. Instead, I ran this bat file code "AS ADMINISTRATOR" from XDA developer forum, you can do it too. I renamed it as "a.bat" first thing to come it my mind. then disconnect USB and connect again in your fastboot mood. Click Refresh in unlock tool.
(OR, IF YOUR DEVICE IS NOT RECOGNIZED IN MIUI UNLOCK TOOL, FOLLOW THESE:
remove MI account from unlock tools and again add, if password shows error even after typing correctly, use phone number and pass to log in, in stead of email and password. Check if device if recognized or not.
If not, try these, Download MIUI Flash Tool and unzip it, run XiaoMiFlash.exe. At the top line, find DRIVER, install all DRIVERS.
IF YOU FACE LOG FILE ERROR,
SOLUTION: JUST CREATE A FOLDER NAMED "log" in the same directory. DONE, YOUR DRIVER WILL BE INSTALLED, CLICK YES EVERY TIME, THEN CONNECT YOUR PHONE WITH MIUI UNLOCK TOOL AND CLICK REFRESH.
your device will be shown in "batch_unlock" in sha Allah. Click unlock. Remember, your phone will loose all data, just full factory reset.
8. after 99% it will show "unlock sign" at the top of your phone, and your phone will reboot, just let it reboot. It will take at best 12 minutes to reboot. Don't worry, seat tight, watch a YouTube Video of Dr. Zakir Naik or Ahmed Deedat Sir <3.​9. setup your phone as if it's a new device. (it is necessary, because after this, we will flash recovery and root your phone, because it is really important to take a backup of your original "PERSIST.IMG" . it is possible for rooted device only. (though it can be done through recovery, but from magisk, it's the best way and safest).​10. you can restore all backup from your pc now. (not necessary, if you want to change ROM)​
Step Number 03: Install ADB (PC) & TWRP RECOVERY (Android)​STEPS:​
download latest SDK from OFFICIAL WEBSITE.
2. name of the download will be "platform-tools_r31.0.2-windows.zip" unzip it in DESKTOP (IMPORTANT). it's name will be "platform-tools", open it. (ADB COMMAND WILL RUN ONLY IN THIS FOLDER.​
ALTERNATIVE ADB: you can also do it by one click adb installer, just install the file, and cmd will work at any position. File is given in the telegram, in my .rar file. But sometimes it shows problem, adb command is not recognized by the windows. then, above platform tools folder is useful as it always works.
3. downlead latest TWRP specific for your device from HERE. website guide: >find your device name> device model> Download Links > click either "Primary (Americas)" or "Primary (Europe)" or you can download them from XDA too (XDA process: search in google "TWRP for MI 9 se (your specific device with model number, not Mi9SE) XDA" then, go to the thread, below you will find GITHUB or any other download link, go there and you can download it from there.​
4. (YOU CAN IGONORE THIS STEP, LET ME KNOW IF YOU FACED ANY PROBLEM, THOUGH YOU SHOULDN'T) rename the twrp file to twrp.img (not necessary though, check if your device extension is hidden or not, if hidden, you will not see any extension after any file, in that case, you can just rename "twrp" because img extention is already there and it's hidden. How to check hidden extention: in that folder, go to view at the top of the screen of that folder, (at beginning - beside cross, minimize then click "view"> click "option" in one row down, at extreme right side of it > click "view"> in downwards, untick "hide extensions for known file type"> click "apply">click "ok" then close it.)​
5. keep the "twrp.img" (the file you downloaded, no need to rename, .img will show depending on unhidden condition) in the "platform tools" folder.​
6. now go to "platform tools" folder. it's better to keep the folder in "desktop". go to the folder address, it is above the "Name, Date Modified, Type, Size" row, where it is written all the folders name that you have clicked to come to this folder. Now, click on the folder address, write "cmd", hit enter.​
7. now connect your phone making sure "USB DEBUGGING IS STILL ON" because after unlocking bootloader, it will automatically be set to OFF.​
write these commands: (after each command hit enter)
adb devices (it will show your device number if it is connected properly, if shows unauthorized, g0 to your phones home screen, disconnect and connect the usb again, in cmd write adb devices, a permission will pop up in your phone at bottom, not in notifications, click YES, your device will be authorized)
adb reboot bootloader (it will take you to fastboot mood instantly)
fastboot devices (it will show your device number it it is connected properly, to make sure it is still connected)
fastboot flash recovery (give space after recovery, then drag the twrp.img file here)
fastboot boot (give space after boot, then drag the twrp.img file here, your phone will boot into recovery.) ALTERNATIVE TO THIS STEP: fastboot reboot (it will reboot, but stop it instanlty by holding "power and volum up button", it is a must, it will take you to twrp manu, if you don't go now, later twrp will be removed by your phone)
AND OF COURSE, YOU HAVE TO ROOT YOUR PHONE RIGHT NOW, EVEN IF YOU DON'T WANT IT, CAUSE IF YOU DON'T, YOUR PHONE WILL REMOVE TWRP AS YOUR RECOVERY.
8. you will see twrp screen, then asking you "to keep system files as read only or swipe to allow modification, tick in DON'T SHOW AGAIN AND SWIPE TO ALLOW MODIFICATION". Then it will ask for a password to decrypt your phone, give the password to decrypt your phone. (to learn about encryption decryption, go to step number 4.3).​
IF YOU FACE BOOTLOOP OR ANY OTHER ISSUE LIKE TWRP RECOVERY IS NOT STARTING AS IT SUPPOSED TO:
Again, go to fastboot mood by pressing power + volume down button. Download this vbmeta file. Go to platform tools > cmd > type
fastboot --disable-verity --disable-verification flash vbmeta (space, then drag the vbmeta file and hit enter, then follow step number 3.7
(3 is step number, 7 is the point number under step number 3)
Step Number 04: Install Magisk​STEPS:
1. you should stay in TWRP manu from the last step of STEP NUMBER 3 and your phone is connected with your computer via USB.​
2. In your computer, download MAGISK FROM OFFICIAL GITHUB PAGE . Copy the magisk.apk and paste it twice in the same folder, now you have three magisk apk, rename the second one removing the "copy from name and just add .zip in stead of .apk at last. Rename the third one as this: "uninstaller.zip"​
3. Now listen carefully, this is very important part of this topic:​
your phone has two state: a. encrypted b. decrypted
a. IF ENCRYPTED AND CAN'T BE DECRYPTED THROUGH TWRP, that is TWRP IS NOT ASKING PASSWORD AT THE BEGINNING TO DECRYPT YOUR PHONE, THEN: some china rom's security is so encrypted, LIKE MY MI9SE, THAT TWRP CAN'T DECRYPT IT, EVERYTIME I HAVE TO RESET THE PHONE TO DECRYPT, IN THIS CASE ,YOU CAN'T ACCESS YOUR PHONE'S INTERNAL STORAGE NEITHER FROM TWRP NOR FROM PC (TWRP ACTS AS MTP, MEDIA TRANSFER PROTOCOL, MEANING YOU CAN TRANSFER FILE BETWEEN PHONE AND ANDROID IN RECOVERY MOOD), SO YOU CAN'T ACCESS YOUR INTERNAL STORAGE, YOU CAN'T INSTALL MAGISK. HERE, PENDRIVE WITH OTG COMES HANDY. Disconnect your phone Keep those three files in pendrive and connect it in OTG with your phone. go to twrp > install > select storage at bottom > select pendrive > select magisk.zip > swipe to flash. CONGRATULATIONS, YOUR PHONE IS ROOTED.​
b. IF YOUR PHONE IS DECRYPTED BY TWRP AFTER GIVING PASSWORD:​
Copy those three magisk file from your computer and drop it in your phones internal storage. go to twrp > install > select magisk.zip > swipe to flash. CONGRATULATIONS, YOUR PHONE IS ROOTED.
4. Reboot Your Phone (If your phone is bootlooped, which never happened to anyone I know, still for safety, again go to recovery by holding POWER + VOLUME UP BUTTON. go to twrp > install > select uninstaller.zip > swipe to flash. This will uninstall magisk from your phone and then reboot to system, your phone will reboot normally)​
5. A Magisk app will be shown among your apps which is not like magisk logo. Don't touch it, Goto file manager, find those three magisk files, one file is the original magisk.apk file you downloaded, install it normally like any other app.​
6. CONGRATULATIONS, YOUR PHONE IS COMPLETELY ROOTED.​
Step Number 05: Backing up your PERSIST.IMG (MOST IMPORTANT)​STEPS:
You will know from my other threads about what is persist partition of your phone. But let's just back it up now without knowing it. Copy it to your computer, cloud so that you never loose it.
Assuming you still have your phone connected through usb to the computer.
Install TERMUX from playstore or from HERE if you don't have play store.
in termux, type su to obtain root permission. A pop up will be shown to grant root permission, if it doesn't work, leave termux app, go to magisk app, at bottom, you will be 4 options, click the second one, you will see this screen.
grant super user permission for termux from here.
4. again go to termux, type this:
su (hit enter)
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img (hit enter)
5. your persist.img is backed up in your internal storage.
6. you can transfer it to pc manually or
use this process because it is relatively safe, though I never found any difference,
go to platform tools in cmd, type this:
adb pull /sdcard/persist.img D:\
it will take around 10 seconds, you will find the file persist.img in your PC's D drive folder, whatever the name is, the next folder to C drive, okay? Copy the persist.img wherever you want to keep it. I am again saying, it's not mandatory to do it in this way, just do normal copy paste from your phone's internal storage to your PC, it will do the work.
THANK YOU GUYS FOR READING IT ATTENTIVELY, FROM TOP TO BOTTOM, AND IF YOU DIDN'T, WHAT CAN I SAY. IT TOOK MORE THAN 30 DAYS TO ACQUIRE ALL THESE KNOWLEDGE AND YOU ARE GETTING IT WITHOUT ANY EFFORT, FREE, WHAT MORE DO YOU WANT?
My Other Threads according to "how should you read them" serial:
1. MIUI 12.5 Chinese ROM Google PlayStore Stopped Working
2. MIUI Unlocking Bootloader, Flashing Recovery & Rooting Process (This Thread)
3. Android Terminology You Must Know Before Toying with Your Android
4. ROM Naming & CUSTOM ROM, AOSP ROM, TREBLE ROM, GSI ROM, PORTED ROM
Click to expand...
Click to collapse
I have redmi k40 bootloader locked and stuck on fastboot mode and can't unlock it through mi unlock tool so any solution for that problem beside edl ? And if I go with edl which flashing tool i will use ??
Hussein Gbr said:
I have redmi k40 bootloader locked and stuck on fastboot mode and can't unlock it through mi unlock tool so any solution for that problem beside edl ? And if I go with edl which flashing tool i will use ??
Click to expand...
Click to collapse
have you flashed any rom? or flashed anything? if you haven't, just restart your phn using power button. and if you have flashed anything already, how on earth you did it without unlocking your bootloader?
shafi1885 said:
have you flashed any rom? or flashed anything? if you haven't, just restart your phn using power button. and if you have flashed anything already, how on earth you did it without unlocking your bootloader?
Click to expand...
Click to collapse
My bootloader was unlocked but when i try to use mi flash tool by mistake or by default flash and lock bootloader option with there and the flash didnt go through in last second
Is there a way to unlock the phone if it only turns on in fastboot mode and is not associated with a xiaomi account?
Hello there, I would like to contribute to this tutorial if you agree
There is a way for people that have encrypted storage and no usb otg pendrive:
Step 4.3:
a-alternative. If encrypted, but no OTG Pendrive at your disposal:
You still can use the adb push command to send your Magisk folder into a decrypted part of your phone’s root folder. You are going to use your phone “/tmp” folder.
“/tmp” folder is suitable for temporary files just as our files (We will not need these files anymore after this tutorial). There is no risk to add files into this folder while it is not encrypted but do not delete any files already present into your /tmp folder!
1.Copy your Magisk folder containing your three Magisk files into the Plateform-tool folder:
2.Then in the cmd execute: adb push [replace_brackets_by_your_Magisk_folder_address_location] /tmp
3.Your Magisk folder should be now copied into your /tmp folder
4.twrp > install > select tmp/magisk.zip > swipe to flash. CONGRATULATIONS, YOUR PHONE IS ROOTED.
4.5-alternative. (This step only for those that processed through the “a-alternative” step) After rebooting your phone, you might have no chance to access the Magisk folder you’ve pushed earlier into the /tmp folder. However, now you have booted into your MIUI usual OS, you can copy the Magisk folder again into your internal storage using the classical drag and drop thanks to MTP protocol, to continue through this tutorial.
Hope this will help

Categories

Resources