[Recovery] Chuwi Hi8 Air TWRP - Android Software Development

Hello Everybody:
finally i was able to build TWRP 3.0.2.0 recovery for Chuwi Hi8 Air (Intel X5 Cherry Trail Z8350 processor)(64-bit)
i didnt test fully but i was able to mount all partition successfully and installed Magisk 17.1 and gained root
OTG is working also and MTP
Maybe after that somebody can port some ROM with higher android version than lollipop
Thanks to @Augustoandro for the guide here:
https://forum.xda-developers.com/android/general/guide-porting-twrp-source-t3843473
also for the Hi8 Pro TWRP from here:
https://techtablets.com/forum/topic/twrp-3-0-2-0recovery-for-chuwi-hi8-pro-64bit/
and also for stock recovery
Download Link:
https://mega.nz/#!8i4C2SgK!Qvx-fw_1JdwO4u66klgfwgOItwNZ2oJX6cdCKJSTP1o
Download and flash it with fastboot:
1- in developer settings check Allow OEM unlocking
2- turn off the tablet
3- power on and when selecting os appears select android and directly press volume down and keep holding until you see the fastboot menu
4- connect to pc
5- unlock thebootloader (WARNING USER DATA LOSE):
Code:
fastboot oem unlock
6- flash recovery using this command
Code:
fastboot flash recovery Chuwi_Hi8_Air_TWRP.img
7- when flash finish select reboot recovery from the menu on the tablet
8- done successful boot of TWRP

Can it work for hi9 plus

amitporedi007 said:
Can it work for hi9 plus
Click to expand...
Click to collapse
i dont think so
excuse me am not a professional developer i just followed the guid
try to follow it or ask in the guid post maybe he can port it for you
and also check this post:
https://forum.xda-developers.com/ge...tion/chuwi-hi9-plus-unlock-root-twrp-t3863722

I reflashed the Hi8-air using the Intel Phone flashing tool: I flashed the vendor provided Android system with a modified partition file, so that the Android occupies the whole emmc. The Android was working nicely.
I then followed your description and flashed your recovery image. Since then, I was unable to boot into the Android. I was quite scared that I bricked the device, but finally I managed to flash the Android again, losing your recovery image.
Am I doing something wrong? Do you have an idea why my device does not boot into Android after flashing your recovery image? Is there any other way to root the Hi8-Air without your recovery image? I did not find any other option. I suppose I was not quite lucky when I bought this device, as Chuwi did not sell as many of these as of the others, so there is not much support for this particular model.

bubnikv said:
I reflashed the Hi8-air using the Intel Phone flashing tool: I flashed the vendor provided Android system with a modified partition file, so that the Android occupies the whole emmc. The Android was working nicely.
I then followed your description and flashed your recovery image. Since then, I was unable to boot into the Android. I was quite scared that I bricked the device, but finally I managed to flash the Android again, losing your recovery image.
Am I doing something wrong? Do you have an idea why my device does not boot into Android after flashing your recovery image? Is there any other way to root the Hi8-Air without your recovery image? I did not find any other option. I suppose I was not quite lucky when I bought this device, as Chuwi did not sell as many of these as of the others, so there is not much support for this particular model.
Click to expand...
Click to collapse
After flashing the recovery it is necessary to flash Magisk so it batches the boot.img to be able to boot (it disable secure booting)
another way to root is to batch the boot.img using another android device (copy hi8 boot.img to the other device and batch it with magisk then flash from fastboot)

would pls link me to that android system file?

jaerose said:
would pls link me to that android system file?
Click to expand...
Click to collapse
what system file exactly ?
if you need the stock firmware files here it is
https://forum.chuwi.com/t/topic/924
but if you want the modified partition table its in this file attached (i made it myself) , you need to replace the gpt.bin file when using flash tool
sorry i dont have a detailed guide but i think you can find it on google
Use the file at your own risk , and only on Chuwi Hi8 Air, and again at your own risk

Related

[Q} Is there a Root for P8 Max?

Hi Guys.
Does anyone know if it is possible to root the P8 Max.
Thanks in advance.
I am also interested in this
+1
Not yet
I saw some guy posting in his blog on howto root p8 max
http://blog.livedoor.jp/cn221283/archives/51190024.html
Can somebody help to translate this, using google map doesnt help hehe..
dodzs said:
I saw some guy posting in his blog on howto root p8 max
http://blog.livedoor.jp/cn221283/archives/51190024.html
Can somebody help to translate this, using google map doesnt help hehe..
Click to expand...
Click to collapse
* i meant google translate
dodzs said:
* i meant google translate
Click to expand...
Click to collapse
The method only applies to P8 and the author says it might not be applicable to Max as the recovery is P8.
However, just for the record
1. Unlock the bootloader
http://emui.huawei.com/en/plugin.php?id=unlock&mod=detail
2. Fastbboot custom recovery *Need to create a TWRP recovery for the P8 Max
3. Root
https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
4. Profit!
Leechoonhwee said:
The method only applies to P8 and the author says it might not be applicable to Max as the recovery is P8.
However, just for the record
1. Unlock the bootloader
http://emui.huawei.com/en/plugin.php?id=unlock&mod=detail
2. Fastbboot custom recovery *Need to create a TWRP recovery for the P8 Max
3. Root
https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
4. Profit!
Click to expand...
Click to collapse
Managed to root my phone.. even when I have updated the EMUI to B018, but there was an issue.. I tell you below
Step I follow from Chinese Forum below...
Preparation step :
1. download the tools from
https://www.mediafire.com/?9drsdo2f6hn4j34
2. Extract the content to your local. Note there are two folders :
- Folder 1 is for the tool that contains the TWRP recovery.img and the adb/fastboot tool,
- Folder 2 is for the original recovery
3. Copy the SuperSU zip to your phone (either in internal or external memory of your phone)
Installation step :
Step 0, unlock your bootloader (search around on how to do it)
1. Since I am using mac, somehow I don't need to install any driver, but if you using windows, install all the driver yourself
2. Enable the developer mode in your phone, and after that enable the usb debugging
3. Turn off your phone, and boot to fastboot (in off mode, connect the phone with your PC then press Volume Up and Power Button together)
4. Since now your phone has been connected to the PC, go to that Tool folder in respective of your OS, then overwrite the recovery with TWRP with fastboot command (install custom recovery) *note : for mac just add "./" in every command
- check the whether its connected : fastboot devices
- install TWRP : fastboot flash recovery recovery.img
5. Restart your phone and boot to recovery
- restart : fastboot reboot
- after reboot, turn off your phone
- reboot to recovery : turn on your phone by holding Volume Down with Power button
- Now you are at TWRP
6. Install SuperSU (root)
- Install SuperSU zip that has already been copied to your phone using TWRP (use the Install mode)
7. Reboot the phone
- Use reboot function in twrp
8. Profit
Theoritically the above things works but I have some issues following the above :
- After step 4, after recovery being flashed with TWRP seems like my phone Boot Partition is being overwritten too
- So when I rebooted the phone, it boot to TWRP instead
- So I tried to re-flashed the recovery with the original EMUI rom recovery (go to the folder "2.P8Max_Official_Recovery(For_restoration)" to find the original recovery.img). Also note that in the this folder, the adb and fastboot is only for mac. The one for windows use it in the tools
- This is done by going to fastboot again, then do command : fastboot flash recovery recovery.img
- This time using the original recovery
- Now when I rebooted the phone, it goes to EMUI recovery, then I just clicked restart to system or something
- After this, everything fixed, and I have SuperSU install and phone rooted
You can follow the above, but do it at your own risk, I am not responsible if your phone brick hehehe..
Original chinese forum is here : http://cn.club.vmall.com/thread-4919441-1-1.html
dodzs said:
Managed to root my phone.. even when I have updated the EMUI to B018, but there was an issue.. I tell you below
Step I follow from Chinese Forum below...
Preparation step :
1. download the tools from
https://www.mediafire.com/?9drsdo2f6hn4j34
2. Extract the content to your local. Note there are two folders :
- Folder 1 is for the tool that contains the TWRP recovery.img and the adb/fastboot tool,
- Folder 2 is for the original recovery
3. Copy the SuperSU zip to your phone (either in internal or external memory of your phone)
Installation step :
Step 0, unlock your bootloader (search around on how to do it)
1. Since I am using mac, somehow I don't need to install any driver, but if you using windows, install all the driver yourself
2. Enable the developer mode in your phone, and after that enable the usb debugging
3. Turn off your phone, and boot to fastboot (in off mode, connect the phone with your PC then press Volume Up and Power Button together)
4. Since now your phone has been connected to the PC, go to that Tool folder in respective of your OS, then overwrite the recovery with TWRP with fastboot command (install custom recovery) *note : for mac just add "./" in every command
- check the whether its connected : fastboot devices
- install TWRP : fastboot flash recovery recovery.img
5. Restart your phone and boot to recovery
- restart : fastboot reboot
- after reboot, turn off your phone
- reboot to recovery : turn on your phone by holding Volume Down with Power button
- Now you are at TWRP
6. Install SuperSU (root)
- Install SuperSU zip that has already been copied to your phone using TWRP (use the Install mode)
7. Reboot the phone
- Use reboot function in twrp
8. Profit
Theoritically the above things works but I have some issues following the above :
- After step 4, after recovery being flashed with TWRP seems like my phone Boot Partition is being overwritten too
- So when I rebooted the phone, it boot to TWRP instead
- So I tried to re-flashed the recovery with the original EMUI rom recovery (go to the folder "2.P8Max_Official_Recovery(For_restoration)" to find the original recovery.img). Also note that in the this folder, the adb and fastboot is only for mac. The one for windows use it in the tools
- This is done by going to fastboot again, then do command : fastboot flash recovery recovery.img
- This time using the original recovery
- Now when I rebooted the phone, it goes to EMUI recovery, then I just clicked restart to system or something
- After this, everything fixed, and I have SuperSU install and phone rooted
You can follow the above, but do it at your own risk, I am not responsible if your phone brick hehehe..
Original chinese forum is here : http://cn.club.vmall.com/thread-4919441-1-1.html
Click to expand...
Click to collapse
So you mean that you can't enter system wile twrp is flashed??weard
rowihel2012 said:
So you mean that you can't enter system wile twrp is flashed??weard
Click to expand...
Click to collapse
Yap.. like i said, seems like the boot partition is overwritten with twrp.. so i got sort of twrp bootloop.... but after i reflash the original recovery.img using fastboot... then launch the recovery and click boot to system or sumthin.. everything back to normal...
weird... but i am no expert here... just lucky enough to not brick the phone
dodzs said:
Yap.. like i said, seems like the boot partition is overwritten with twrp.. so i got sort of twrp bootloop.... but after i reflash the original recovery.img using fastboot... then launch the recovery and click boot to system or sumthin.. everything back to normal...
weird... but i am no expert here... just lucky enough to not brick the phone
Click to expand...
Click to collapse
ok we just have to wait for twrp recovery worknig well with max
is the speaker really good?do you like it?
dodzs said:
Yap.. like i said, seems like the boot partition is overwritten with twrp.. so i got sort of twrp bootloop.... but after i reflash the original recovery.img using fastboot... then launch the recovery and click boot to system or sumthin.. everything back to normal...
weird... but i am no expert here... just lucky enough to not brick the phone
Click to expand...
Click to collapse
Instead of flashing the recovery to the phone you can just boot it one time. Just use fastboot boot recovery.img instead. This will load twrp and not flash it.
Sent from my C6806_GPe using Tapatalk
rowihel2012 said:
ok we just have to wait for twrp recovery worknig well with max
is the speaker really good?do you like it?
Click to expand...
Click to collapse
Speaker is damn good... but when playing games or watching movie, it is covered by the hand... so it would be better if the speaker is front facing..
otherwise it's good... but I do hate EMUI though... its making the experience sluggish...
Im try to unlock my p8max, when using Huawei unlock site dont allow unclock because log in by email account, they requested register with phone number, but im not in listed countries for receive a confirmation code by phone.
Who have registered Huawei account by phone please share,
Thanks
quynh2v said:
Im try to unlock my p8max, when using Huawei unlock site dont allow unclock because log in by email account, they requested register with phone number, but im not in listed countries for receive a confirmation code by phone.
Who have registered Huawei account by phone please share,
Thanks
Click to expand...
Click to collapse
Send an email to [email protected], with this in the mail :
Hello Huawei,
I would like to request the bootloader unlock code for my Huawei <phone version>
IMEI : xxxxxxxxxxxxxx
S/N : xxxxxxxxxxxxxxx
Product-ID : xxxxxxxxxxx
Regards, xxxxxxxxxxxxx
Click to expand...
Click to collapse
dodzs said:
Yap.. like i said, seems like the boot partition is overwritten with twrp.. so i got sort of twrp bootloop.... but after i reflash the original recovery.img using fastboot... then launch the recovery and click boot to system or sumthin.. everything back to normal...
weird... but i am no expert here... just lucky enough to not brick the phone
Click to expand...
Click to collapse
the stock recovery located in folder is chines how can we make it english?
rowihel2012 said:
the stock recovery located in folder is chines how can we make it english?
Click to expand...
Click to collapse
The stock recovery when it's launched, it's in English, dun worry I have re-flashed it as I mentioned in the prev post..
Anyway the stock recovery is extracted from the current available ROM for P8 Max, which is in chinese. There is no international ROM available yet for this phone.
dodzs said:
The stock recovery when it's launched, it's in English, dun worry I have re-flashed it as I mentioned in the prev post..
Anyway the stock recovery is extracted from the current available ROM for P8 Max, which is in chinese. There is no international ROM available yet for this phone.
Click to expand...
Click to collapse
so did you find working twrp recovery? i managed to flash it and install root and boot only one time
i could not boot so system again so i flashed the stock
is this a hoax?
http://www.guruswizard.com/2015/06/how-to-root-huawei-p8-max.html
BTW, I can't get fastboot working on my PC. When I put the phone in fastboot mode, my pc cant detect the device.
Root Huawei P8 Max 5.1.1
hi,
So, what is the real WORKING procedure to root our Huawei P8 Max with android version 5.1.1 ?
Thank you in advance for answering.

[ROOT][MARSHMALLOW][HONOR 4C] Root, Recovery & Bootloader Unlock by HassanMirza01

DESCRIPTION:
Today i found the New Root & Installing Custom Recovery(TWRP) in MARSHMALLOW ROM surely...
I will Provide correct info and help......All This you are gonna do is At your Own Risk... Damage to your device of any type is at your Own Responsibility,,, Don't point finger at me or I will Just Laugh at you...
PREREQUISTES:
First of all, You should Unlock Bootloader so that on every reboot, Your Root shouldn't damage. You can unlock bootloader by simple procedure...and also enable the USB Debugging from Developers options in settings...
PROCEDURE:
FOR UNLOCKING BOOTLOADER, FOLLOW THIS
Download the Attached PC Software Named "Huawei Product ID Generator" then Extract this zip file...
Now open it, fill all Info in it and it will Generate a Product ID for your Phone....
Now go to this site Unlocking Code website
Login to this site using your Huawei id which you made in themes store or in huawei cloud!!
Use the Serial Number Written on BACK OF YOUR PHONE..!!
Fill like, smartphone>Product Model should be "HUAWEI Y300-0000"
then fill all fields and captcha also.. Click Submit and get the UNLOCKING CODE....
you can unlock bootloader wid that code then and root permanently....
After receiving the unlock code, write down the code;
Now go in your 4C's Settings>About Phone.
Then tap on Build number 10 times,,, you will get the Developers options in Last of Settings app. Open Developers option and Turn On the USB DEBUGGING.
Now connect your device to PC in MTP/FILES mode and then install the ADB drivers for it....
To install adb drivers correctly, use the Software Adb Driver Installer from here
LINK FOR ADB DRIVER INSTALLER
Full ADB folder is also attached Below.... put this folder in drive C.
Now Direct the cursor on the folder ADB, hold Shift and the right mouse button and choose "Open Command Window";
connect your phone to the PC in the "media device";
at the command prompt prescribe ADB Devices ;
then we write ADB reboot bootloader (the device will reboot mode fastboot);
then typed fastboot oem unlock **************** (where the asterisks replace unlock code);
BOOTLOADER UNLOCKED NOW!!
Now You are Ready to install TWRP recovery in Marshmallow first.... Download the Root and TWRP recovery File from here...
This File Also contain Stock Recovery of Marshmallow Rom
4C Root+TWRP by [email protected]
After this, unzip it and better come again in Fastboot Mode like above as explained, this time, move the recovery file to the adb folder which you want to install.
After that, type fastboot devices to see if your device is correctly attached to PC or Laptop. if yes then type this command in cmd to install the Custom Recovery(TWRP) in your phone.
fastboot flash recovery twrp.img
Then
fastboot reboot
This will reboot your phone and TWRP installed.
Gonna Done Root now... READ CAREFULLY... ROOTING MARSHMALLOW IS NOT EASY...
Download This Zip File and then Go in TWRP recovery and swipe for allow modifications...... and then flash that zip file named 1.zip...
After its done,, restart your phone and if it promp to install su, ignore it....
Open supersu app installed in your phone and let it update its binaries...when done, reboot to recovery again and this time flash This File.
Then reboot your phone and then supersu will be stable,,,
Now you have Successfully Rooted Marshmallow
Hit Thanks and Support me if you Like and get help from this thread...Thank you...
This is Based on Stock Huawei Kernel, Not compiled by Me...
Contributors:
@HassanMirza01
Mohamed A. Abd Ellatif
Version Information:
Status: Stable
Stable Release Date: 2015-09-28
Created on: 2016-02-19
Last Updated on: 2016-04-09
Reserved
Is this is TWRP for Marshmallow? Because the recovery files.you have uploaded are dated 25th September 2015?
@mfbcool yes...this is for Marshmallow... But dont swipe allow modifications!!
Member gettin error after swiping...just do read only...
I root my device by this method yesterday
but today root not work in titanum backup
I check it by root checker and everything is ok
Even though this method works, I would not recommend moving SuperSU to system partition. I didn't moved it and still SU permissions are working fine. I say so because Chainfire in his new SuperSU adopted a 'Systemless Root' method that roots without modifying the system partition so that apps like Android Pay work properly. He achieved this by patching the Boot image and so root is installed in boot image and is enabled at every boot (that's why you may experience some boot loops after rooting). This makes taking OTA updates and unrooting the device easier as you can unroot by flashing the Stock Boot.img instead of flashing the whole system partition.
I believe moving SuperSU to system partition destroys the main purpose and idea Chainfire had while making SuperSU compatible with Marshmallow. We all know EMUI won't update on Rooted devices. So it would be a pain to reflash whole Stock System Partition before taking OTA.
Hi thanks, I'm root my mobile I'm in android 6.0 now how to get back to kikkat a stock rom from twrp
@G E N E R A L open supersu app and tick the mount name separation and restart phone... Titanium, kingroot all will recognize root
Hit thanks if it helps....
@TMDMOOSA if you wanna go back to KK, Flash stock recovery first!!
Then flash the back pkg B320, then B070
If you gets error, flash middle pkg of chc rom and then flash directly KK Rom usin stock recovery!!
hi
i have a problem
by flashing file 1.zip phone reboot twice and screen go black and nothing happens after
by flashing the ROM problem fix but i cant root my phone
i try this three times!!
what can i do?
thnx
@inshaalmirza
hello, I by mistake flash the root.zip of lollipop to my phone running marshmallow. Now my phone is stuck on bootscreen. what should I do now. adb is not working
onlyankush_s said:
@inshaalmirza
hello, I by mistake flash the root.zip of lollipop to my phone running marshmallow. Now my phone is stuck on bootscreen. what should I do now. adb is not working
Click to expand...
Click to collapse
this happened for me by flashing right zip file!!!
no solution??
i wipe all the data (even system data) by custom recovery and turn off the phone and hold power volume down and up together
by doing this if you have ROM file in your sd , new ROM will be instal on your device
just please tell me how i can root my phone??
@inshaalmirza @ mfbcool please reply what to do
onlyankush_s said:
@inshaalmirza
hello, I by mistake flash the root.zip of lollipop to my phone running marshmallow. Now my phone is stuck on bootscreen. what should I do now. adb is not working
Click to expand...
Click to collapse
onlyankush_s said:
@ mfbcool please reply what to do
Click to expand...
Click to collapse
Flash the complete Marshmallow ROM through Stock Recovery.
matinone said:
hi
i have a problem
by flashing file 1.zip phone reboot twice and screen go black and nothing happens after
by flashing the ROM problem fix but i cant root my phone
i try this three times!!
what can i do?
thnx
Click to expand...
Click to collapse
no one??
please
@onlyankush_s go in fastboot and then flash the system.img again.... Or flash stock M wid stock recovery...
@matinone there is written that flash supersu again after flashing 1.zip
Flash supersu zip too and tell... Or flash srock rom again by same method i told in most previous posr.... I am sick right now thats why replying late!!
inshaalmirza said:
@matinone there is written that flash supersu again after flashing 1.zip
Flash supersu zip too and tell... Or flash srock rom again by same method i told in most previous posr.... I am sick right now thats why replying late!!
Click to expand...
Click to collapse
thanks a lot!!!
it worked
by the same steps.it look like i got lucky this time
hope you get better soon
hi
plz help
i flash stock recovery and my phone go to rescue mode
help
I have successfully built TWRP 3.0.0-0 for our device which fixes the weird swipe to allow modifications bug and is fully compatible with Android 6.0 Marshmallow.
See here: http://forum.xda-developers.com/android/development/recovery-twrp-3-0-0-0-huawei-honor-4c-t3349495
Also, to re-flash Stock ROM, you don't need to flash Stock Recovery. Huawei phones have 2 inbuilt recoveries. The second recovery (which is the Stock) can be accessed by 3 buttons method (Power + Volume Up + Volume Down).
@mfbcool i saw that thread early... Great work man... I know huawei have 2 inbuilt recoveries but 2nd one is erecovery and thats of no use at all... I tried it too many times!! If twrp 3.0 can flash update.app files,,, it gonna rocks , wish u best of luck man!! You did it

Doogee X5 Max Pro Root Recovery OTA

******************Root Recovery Doogee X5 max pro*******************
Your waiting Time IS Now Finished Here is Complete Guide to Root Doogee X5 Max Pro install twrp And More,
Hit :good:
ADB & Fastboot
Before doing most things mentioned below you will need "adb" and "fastboot" installed. Two of your options are to install the Android SDK Tools or the Minimal ADB and Fastboot tool. If you are somewhat new to this I highly recommend the second one. Go here, download the latest version (1.3.1 as of this writing), and install it. When setup is complete you should have an icon for the Minimal ADB and Fastboot tool.
Note: I highly recommend you add "C:\Program Files (x86)\Minimal ADB and Fastboot" to your PATH variable in Windows. This way you can open a Command Prompt anywhere and use adb or fastboot.
1) Unlock Bootloader
Power on the phone and skip through all of the setup options
Go to Settings -> About device
Tap Build number five times to enable Developer options
Go to Settings -> Developer options
Enable OEM unlocking
Enable USB debugging
Plug the phone in to your PC and authorize it
Open a Command Prompt
Type adb reboot-bootloader
The phone should reboot and in a very tiny font at the bottom you should see => FASTBOOT mode
Type fastboot devices to verify that your PC sees it correctly
Type fastboot oem unlock
Press Volume Up to say Yes and wait for this to finish
Type fastboot getvar all and look for (bootloader) unlocked: yes
Type fastboot reboot
You should see your phone reboot a couple times as it erases the phone
Install twrp-
Power on the phone
You can configure your phone now or just skip through all of the setup options and do that later
Go to Settings -> About device
Tap Build number five times to enable Developer options
Go to Settings -> Developer options
Enable OEM unlocking
Enable USB debugging
Plug the phone in to your PC and authorize it
Open a Command Prompt to wherever you extracted the .img file
Type adb reboot-bootloader
The phone should reboot and in a very tiny font at the bottom you should see => FASTBOOT mode
Type fastboot devices to verify that your PC sees it correctly, rename twrp to recovery.img
type fastboot flash recovery recovery.img to flash recovery
Type fastboot reboot
Rooting-
Download BETA-SuperSU.zip and save it to the phone's internal memory or an inserted microSD card
Plug the phone in to your PC
Open a Command Prompt
Type adb reboot recovery
You should now be in twrp. Go to Install zip, find SuperSU.zip, and install it
When it finishes go to Go Back -> Reboot Phone -> No
Once the phone boots up launch SuperSU and configure it as you like
Other Solutions-
i have doogee x5 max-s (i geuss limited editon in algeria ) with mtk6735 . i do evrything and all steps but when i reboot to recovery mode i have ( no command ) in the screen .... how to fix that ? sorry for my ****ty english XD
I had the same Issue but i have found a solution!
After you have flashed the twrp recovery, dont reboot the phone! the "recovery.sh" will replace the twrp on every boot!
Just pull off the battery after flashing, disconnect usb and put the battery back in to the phone.
Now get in to the recovery by pressing volume up and power button together until the select bootmode menue appears.
select recovery with the volume up button and enter with the volume down button.
and now you should be in the twrp main menue.
i hope it works for you too!
greetz from the lizard
It does not work from step 12, all the drives are correctly installed and windows recognizes the cell, the recovery image is in the internal memory and also in the sd but of the error "can not load Recovery.img". I tried all the tutorials on the net to do root and nothing worked.The flash does not recognize to pass the recovery also the installed drivers because windows recognizes the cell phone.
pitro1 said:
It does not work from step 12, all the drives are correctly installed and windows recognizes the cell, the recovery image is in the internal memory and also in the sd but of the error "can not load Recovery.img". I tried all the tutorials on the net to do root and nothing worked.The flash does not recognize to pass the recovery also the installed drivers because windows recognizes the cell phone.
Click to expand...
Click to collapse
use sp flash tools to flash recovery, scatter also added with twrp
Flash does not pass the file in the download only option, the process does not start. I reinstalled ROM by firmware mode all ok, but the process of passing recovery on command 12 and 13 of the error message. I manually copied the recovery to the sd and internal memory but also from the error. Does not find the file speaks that it is not a command found.
pitro1 said:
It does not work from step 12, "can not load Recovery.img".
Click to expand...
Click to collapse
Don't use Capital R's
fastboot flash Recovery Recovery.img
Code:
fastboot flash recovery recovery.img
Doogee X5 Max Pro - Update 01/16/2017 + TWRP-3-0-2 & SuperSU-v2.79
Working root for Update 01/16/2017
Title: Doogee X5 Max Pro
Listed: 01/19/2017 11:21 pm
ROM Version: ROM Android 6.0
Doogee X5 Max Pro - Update 01/16/2017
TWRP-3-0-2 + SuperSU-v2.79
Use This Version Flashtool
SP_Flash_Tool_v5.1620.00.000
XN Logos said:
use sp flash tools to flash recovery, scatter also added with twrp
Click to expand...
Click to collapse
Until today I could not do root on x5 max pro. In the method below even downloading the twrp when starting with the power + volume down button start with a menu in Chinese and if you start with volume up + power goes in the default recovery mode.
Same as Pitro1 I am on 16.01 update and I cannot install twrp no matter what I try.
I tried x32 and x64. I tried rebooting directly on recovery or first load system and then adb reboot recovery. I tried to format all first (now I lost my Imei and so on lol). I downgraded and updated again. Downgrading works only with 26.12 version. All others are giving me Colorado lines on the screen and nothing else...
OEM unlock, file transfer, adb, fastboot, drivers detection, are all working good. Only I cannot install twrp...
Also I cannot write nvram nor with SN Writer 2.1504 nor with Imei & SN Writer 1.7.2, MetaAP mode fails all the time...
I'm just about to send it back...
How i rooted my Doogee X5 Max Pro
How i rooted my Doogee X5 Max Pro
- Unlock Bootloader tutorial in the first post By XN Logos.
- Updated ROM to Android 6 with SP FLASH TOOLS V.5.16.20
- boot phone for 1st start and activate Developer and USB debugging
- Installed TWRP-32x + SuperSu with SP FLASH TOOLS V.5.16.20
i returned the phone as i had no imei anymore.
i got a new one, i did not put any sim or whatsoever, i just unlocked bootloader, and updated to 16.01 version
then i tried to install twrp via fastboot and it did not work, i did it with sp flash tools as advised and removing the battery prior (don't forget to!). it worked !
Stripe_nl said:
How i rooted my Doogee X5 Max Pro
- Unlock Bootloader tutorial in the first post By XN Logos.
- Updated ROM to Android 6 with SP FLASH TOOLS V.5.16.20
- boot phone for 1st start and activate Developer and USB debugging
- Installed TWRP-32x + SuperSu with SP FLASH TOOLS V.5.16.20
Click to expand...
Click to collapse
How old is your phone and what build version was it at before you started? Because this doesn't work on mine. Which of the "Android 6" ROMs did you flash to start with as I've tried flashing mine back to an earlier one in case it's something with the later stuff that my phone has come with but they either don't make a difference or they won't even boot.
I tried the method in the first post here and the phone wouldn't even boot (switch on and you get the Doogee logo in silver for a few seconds then it reboots and does the same again). I had to flash the stock ROM from NeedROM to get it working again.
I've tried flashing TWRPx32 and x64 available NeedROM both with SPFlash tools and with ADB. Generally flashing it with ADB from the command line leaves the phone in that boot-loop. If I flash it with SPFlash when you try to boot into Bootloader afterwards you get the Doogee logo in silver for a few seconds then it seems to reboot again on it's own and boot normally - you don't even get the menu to choose Fastboot, Recovery or Normal. From then on trying to boot to the Bootloader gives you the menu but choosing Recovery gives you the standard recovery.
It's almost as if something is overwriting the recovery partition with the original after I flash TWRP onto it.
Anyone got any suggestions about where I might be going wrong or a way around whatever additional security they might have put in there?
Hi. I have tried to root my x5 max pro with flash tools to load TWRP, but it always restarts normally and the TWRP does not come out. I found you and I started to try this method to load the TWRP. Does everything good, unload bootloader and load recovery, but loading the TWRP gives me error .:
Device unauthorized.
This adb's $ ADB_VENDOR_KEYS is nor set; Try adb kil-server if that seems wrong
what I do?
rooting X5 Max pro in Ubuntu 16.04
Hi all, this is my first china phone and I basically bought it only to experiment, I'm a linux power user but this is the first time I 'play' with an android OS.
thanks to multiple guides and posts on this and other forums I'm getting somewhere and learning a lot about how to manage an android OS, I'm sharing a bit of info I unovered about doing this under ubuntu but I'm also stuck and in need of guidance, please help me.
Linux specific issues:
I'm running ubuntu 16.04 LTS, installed fastboot and adb tools from ubuntu repos, with these tools and no other modification to my system I could follow the tutorial on how to unlock the OEM bootloader with adb and fastboot.
accordingly to this post about SP flash tool in linux you might need to blacklist a modem manager module in order for SP flash tool to connect to the phone, you also need to install usb development tools (package libusb-dev) and check through dmesg that your linux OS can actually properly read mediatek usb devices.
After following the above mentioned instructions (both the linux sp flash tool tutorial and the bootloader unlocking howto) I could get SP flash tool linux (multiple version) to see the phone after you connect it while SP flash is downloading the new recovery image and flash it with an ok message.
If you get stuck with a BROM error 1013 remember to start sp flash tool with root privileges.
Phone specific issues:
I can get SP flash tool to flash my phone recovery with an ok message confirmation but the phone keeps rebooting with doogee recovery and not twrp. I'm on the newest stock ROM update (20170116) as of current post date. I've been using 32 bit TWRP images from multiple sources and linux version 5.1620 of spflash tool from their website
so my questions are as following:
1) after reading other posts I think I might have to play with different versions of SP flash tool and TWRP until I get the right combination, I think I might be using 64bit spflash tool for linux to flash a 32bit rom or something like that, can anybody confirm precise version number of the stock rom, TWRP and SP flash tool that worked out for you?
2) should I try to install the whole stock ROM posted in this chinadevices thread before trying to flash only TWRP recovery? please also check the linked thread for multiple custom ROM being ported to this phone, please also note that the full stock rom this poster uploaded (it's in the "all firmware" link) contains another flashing tools with chinese instruction called MultiDownloadTool.
www.china-devices.com/forum/index.php?threads/doogee-x5-max-pro-mt6737-custom-roms.20527/
3) I don't have access to a windows installation right now, but I do have a Win10 VM under Vmware workstation 12 pro, so I could try windows version of sp flash tool, do you guys think that USB passthrough would work?
ibrooks said:
How old is your phone and what build version was it at before you started? Because this doesn't work on mine. Which of the "Android 6" ROMs did you flash to start with as I've tried flashing mine back to an earlier one in case it's something with the later stuff that my phone has come with but they either don't make a difference or they won't even boot.
I tried the method in the first post here and the phone wouldn't even boot (switch on and you get the Doogee logo in silver for a few seconds then it reboots and does the same again). I had to flash the stock ROM from NeedROM to get it working again.
I've tried flashing TWRPx32 and x64 available NeedROM both with SPFlash tools and with ADB. Generally flashing it with ADB from the command line leaves the phone in that boot-loop. If I flash it with SPFlash when you try to boot into Bootloader afterwards you get the Doogee logo in silver for a few seconds then it seems to reboot again on it's own and boot normally - you don't even get the menu to choose Fastboot, Recovery or Normal. From then on trying to boot to the Bootloader gives you the menu but choosing Recovery gives you the standard recovery.
It's almost as if something is overwriting the recovery partition with the original after I flash TWRP onto it.
Anyone got any suggestions about where I might be going wrong or a way around whatever additional security they might have put in there?
Click to expand...
Click to collapse
Same here. May a work around would be finding out the oem commands in fastboot. I have seen a tutorial to get them, but you have to be root: https://www.xda-developers.com/how-to-discover-hidden-fastboot-commands/
I search a simple method
Why all so complicate? I am searching for a simple way to root.
For my old Doogee X5, I discovered just
update-ROOT-DOOGEE_X5.zip
Copy the zip to the micro-SD-card
Settings -> Phone info -> Update -> menu "update local" -> choose zip from micro-SD-card.
Start update.
That's all!
Now I search for such a simple solution for my new Doogee X5 MAX pro.
I do not want any methods with "volume down power", because my X5 MAX pro has the menus after "Volume down power" start in Chinese language.
Recovery TWRP x32
http://www.needrom.com/download/twrp-x32-rom/
http://www.needrom.com/category/doogee/serial-x-doogee/x5-max-pro/
This version finally works ! Thank you
Neaw said:
Recovery TWRP x32
http://www.needrom.com/download/twrp-x32-rom/
http://www.needrom.com/category/doogee/serial-x-doogee/x5-max-pro/
Click to expand...
Click to collapse
Hi there,
I just tried the first file you posted, (twrp-x32-rom), and this one works for me after all previous attempts to boot up TWRP failed. Thanks for the link !
What I had tried before:
I have a relatively new X5 Max Pro, which I ordered a week ago. I updated the firmware to the newest version (20170116) using the OTA update function.
Then I tried to flash TWRP using the files from "needrom.com" which seem to have worked on older versions of the phone/firmware, but did not work for the newer versions.
I tried 32bit and 64bit TWRP versions and flashed them with SP flash tool, but when pressing Vol+/Power the phone would not boot into TWRP recovery. Insted, when selecting "Recovery" from the boot menu, the phone would show the Doogee logo in silver, then blink once, then boot up normally. When repeating this process, then phone boots into Stock recovery, indicating that the TWRP I flashed was replaced by stock recovery.
However, I just flashed the recovery.img from "TWRP LATEST" (the first file posted by Neaw) with SP flash tools and was finally able to boot into TWRP. I installed the superSU-zip 2.79 included in the link, and I am now rooted. Once again, thanks for posting this :good:
Greetz, Ollek74
Doogee X5 MAX! SERIUS PROBLEM......
Hello Guys i have a serious problem with my phone.....i have Malware on it and i cant uninstall it or anything alse.....the worst thing is that my phone not responding in any connection except that charging.....i can't have access on my storage cause this is not allowed or gives the choice! i tried everything but nothing nor the usb debugging or anything else please give me your help!!!!

[RECOVERY] TWRP for Onn Android Tablets (unofficial) - 2019-11-30

TWRP Custom Recovery for the Onn Android Tablet series​
This is the first fully-featured custom recovery for Walmart's MediaTek-based Onn tablets: ONA19TB002, ONA19TB003 and ONA19TB007. TWRP needs no introduction. If you have come here, you probably have some idea of what it is and what it's used for. This TWRP build does not need the bootloader unlocked or VBMeta verification disabled, although it's recommended that you at least unlock the bootloader.
DISCLAIMER
Everything described in this thread is done at your own risk. No one else will be responsible for any data loss, corruption or damage of your device, including that which results from bugs in this software.
FEATURES
Decrypted data partition
All USB modes functional: MTP, ADB, Mass Storage, OTG, Charging
Fast boot time
Adoptable storage mounting
Firmware image backup and restore
Works under locked bootloader
Android 9 build fits within the 16MB recovery partition -- no compromises or partition resizing necessary
INSTALLATION METHOD 1
Download the recovery to your PC and unzip the image
Unlock the bootloader (skip if you have already done this)
Enable OEM Unlock in Developer Options in Android Settings
Boot into fastboot mode either by holding vol. up+power to power it on and selecting "Fastboot mode", or by running the 'adb reboot bootloader' command from within Android.
Install fastboot and appropriate drivers on your PC if you have not set those up
Unlock the bootloader with the command
Code:
fastboot flashing unlock
...and follow the instructions on the screen. This will wipe your data.
Flash the custom recovery with
Code:
fastboot flash recovery twrp-3.3.1-ONA19TB002.img
(use the right file name path for your device)
Reboot to recovery with
Code:
fastboot oem reboot-recovery
INSTALLATION METHOD 2
This assumes you are familiar with SP Flash Tool or can figure it out on your own
Download the recovery to your PC and unzip the image
Get the appropriate scatter file for your device. The scatter file may be found in the device's firmware under /system/data/misc.
Set up SPFT Download tab as Download Only. Load your scatter file.
Under the recovery line, double-click Location and open your TWRP image.
Click Download and connect your powered-off tablet to your PC. SPFT will automatically flash the recovery to the emmc and disconnect when finished.
INSTALLATION METHOD 3
Head over to Amazing Temp Root for MediaTek ARMv8, read the requirements and directions, and grab the latest mtk-su.
Open a root shell with mtk-su
Flash the (unzipped) recovery with the command:
Code:
dd bs=1048576 if=twrp-3.3.1-0-ONA19TB002.img of=/dev/block/by-name/recovery
(replace the if= file name with your appropriate recovery image path)
Exit root shell
START RECOVERY
Three methods:
On a powered off tablet, hold Vol. up+power for about 3 seconds. In the menu that appears, select "Recovery mode"
With Android ADB, use the command 'adb reboot recovery'
From Android root shell, use the command 'reboot recovery' or just use any root app with OS reboot features
NOTES
Kind of important: Make a backup of your Crypto Footer as soon as you can. This is the encryption key to your data partition. When accessed from TWRP, this key can get "upgraded" so that you will get locked out of Android. TWRP uses a hacky workaround that saves and restores the original footer on every /data decrypt. But that method is not what I would call 100% reliable.
Make sure you have a backup of the untouched stock system and vendor images. There are no official firmware packages available to download.
Only mount system/vendor partitions in read/write mode if you have unlocked the bootloader. It is recommended to choose to leave system read-only at the startup prompt unless you have a specific reason to modify it. If the bootloader is locked, then dm-verity is enforced.* So merely mounting it once in r/w will cause a boot loop.
It's currently not possible to install incremental OTA updates using this TWRP. Use the stock recovery to update the FW. That will only work if you have never mounted system/vendor in write mode.
DOWNLOAD (Nov. 30, 2019)
Current version: 3.3.1-1
ONA19TB002 - Onn 8" model
ONA19TB003 - Onn 10.1" model
ONA19TB007 - Onn 10.1" w/keyboard model
Source code
ONA19TB002 | ONA19TB003 | ONA19TB007
ACKNOWLEDGEMENTS
The team behind TWRP & OmniROM
@tek3195 for testing and feedback on the 8" model
Please post feedback since these are still pretty new and not exhaustively tested. Let me know if I should port it to other models in the series.
Reserved also
grabbing this one too cuz why not
Very nice! I'll download and test the 003 one soon.
I also have a 007 model to experiment with.
I tried about a dozen times to build TWRP and failed miserably LOL. Closest I got was one that would boot but the rotation was all messed up, USB wouldn't work, didn't mount some partitions... Yeah, it was a hot mess.
Do you happen to have sources available?
Hi @NFSP G35,
I'll have the source code soon. Most of the tricks involved patching bootable/recovery. So I need to commit those changes and include the proper patch set from my tree....
Amazing!! Gonna install and test 8" right now.
Has anyone tried a GSI on these tablets yet?
MishaalRahman said:
Has anyone tried a GSI on these tablets yet?
Click to expand...
Click to collapse
I do know @tek3195 , the Onn 8 thread starter, has tried many of them as well as others here, somewhere on that thread he listed his tests and opinion of several of them.
I'm pretty sure others on that thread have also tried GSI's.
MishaalRahman said:
Has anyone tried a GSI on these tablets yet?
Click to expand...
Click to collapse
I did try both Phhuson vanilla and also Liquid Remix (I'm keeping this one for now). I didn't flash them through twrp, but using fastboot via bootloader.
WoW! AwEsOmE! I cannot wait to try this! THANK YOU!!!!!!
Hey,
This is a neat thing to see for the Onn tablets. I have a question though. I own a device based on the mt8163, and am trying to help people with another device I don't own (the powkiddy x18 which also uses the mt8163). One of the things I wanted to do was to make a custom rom for the x18, since it's stock firmware is horrible. And of course, one of the first steps to custom roms is twrp. So I have a question for you that I hope you can answer for me. How did you make this build of twrp? I have seen no device trees for this device so I was kinda curious. If you can help me in any way, I'd be so grateful, and I'm sure the other people with the x18 would be grateful for help.
@diplomatic
Is there a different procedure for installing TWRP on a locked bootloader?
I can confirm that using SP Flash to load your TWRP.img will produce a bootloop when installing to a device with the BL locked. Reflashing the original recovery.img makes the problem go away. You mentioned in the OP that this TWRP will work on a locked BL so I thought I would share my case study with you in following the procedure you defined.
MY SINCERE GRATITUDE FOR YOUR EFFORTS IN PORTING THIS TO THE ONN!
You're welcome, @Spatry.... Can you describe how you ended up with a locked BL? Was it unlocked before? Have you ever tweaked vbmeta? Also, when you say bootloop, do you mean for Android or just for recovery? I'm not going to insist that it works under locked BL. I tested it once and it did boot up...
diplomatic said:
You're welcome, @Spatry.... Can you describe how you ended up with a locked BL? Was it unlocked before? Have you ever tweaked vbmeta? Also, when you say bootloop, do you mean for Android or just for recovery? I'm not going to insist that it works under locked BL. I tested it once and it did boot up...
Click to expand...
Click to collapse
Presently, I am running stock with Magisk patched BOOT on locked bootloader, stock vbmeta. The boot loop was at the ONN Android screen, I could not get it to even boot into recovery.
At one time I did run with the bootloader unlocked (with --disable-verification on stock vbmeta) and I ran Phusson's AOSP, Liquid Remix and Bliss. I found there was no benefit to me in running the other mods so I reverted back to stock courtesy of @CaffeinePizza and the bootloader re-locked to get rid of that annoying 5 second orange state.
In each instance, I always used SP Flash tools to load all .img files. I only used fastboot to install magisk_patched.img onto the stock installation. Unlocking the bootloader erases all data and I did not feel like reinstalling everything again, so I figured I would try to install TWRP per your instruction to see if it would work while the BL was still locked... Restoring the original recovery got rid of the bootloop. I do want to try your TWRP so I will try it with BL unlocked when I get some free time to do so.
Spatry said:
Presently, I am running stock with Magisk patched BOOT on locked bootloader, stock vbmeta. The boot loop was at the ONN Android screen, I could not get it to even boot into recovery.
Click to expand...
Click to collapse
This sounds like you might have flashed a wrong/corrupt image to recovery. It may have to do with AVB checks rather than bootloader lock. But those conditions might be interdependent somehow so I can't tell you for sure. The fact that you are able to boot a patched image on a locked BL says it doesn't care too much about verification. I can tell you for sure that any recovery image must have avb metadata, not necessarily the required hash, for both Android and recovery to boot. Can you try to unzip the image file and flash it over again?
Hmm, the situation with the bootloader lock sounds eerily similar to the Nabi SE. The latter also had a similar implementation where there's not much in the way of locking things down, other than an (easily circumvented) SP Flash Tool signature check and different preloader keys. And here's the real kicker: the nearly-identical Fisher Price Nabi also ran on the MT8163, so it makes me wonder if it's possible to boot Pie on it, or perhaps a GSI assuming that Treble can be tacked onto it.
Also, do you have the source repo to this TWRP port of yours?
If anyone here gave me an XDA ad-free subscription, thanks a lot! I didn't get a notification of who it was. Using this site is a lot more bearable now.
diplomatic said:
If anyone here gave me an XDA ad-free subscription, thanks a lot! I didn't get a notification of who it was. Using this site is a lot more bearable now.
Click to expand...
Click to collapse
Where do I find crypto footer to backup
diplomatic said:
If anyone here gave me an XDA ad-free subscription, thanks a lot! I didn't get a notification of who it was. Using this site is a lot more bearable now.
Click to expand...
Click to collapse
Kinda cool without the ads isn't it. I know I sent one about a week ago or so. I think everybody ought to send you one, you deserve it. THANKS and AWESOME work.

Nokia x6.1 bootloops to twrp.

So it had been a while since I had tried getting into recovery twrp but I figured I could remember how so I did
fastboot flash boot twrp etc.img
This was a mistake according to the site here > https://twrp.me/nokia/nokia6_1.html
WARNING: If you accidently flash TWRP to your device using fastboot instead of temporarily booting the image, you will need to download the latest factory image for your device and reflash the boot image.
Click to expand...
Click to collapse
Which is exactly what I did
So now my phone is either stuck on the Nokia logo, or I can load twrp.
They provide some info on fixing it but I'm not sure I understand what they are saying. Can anyone help with this?
The phone was running Oreo (not sure which version unfortunately) and it was fully rooted and running magisk/xposed/su just fine before my mistake.
I don't have access to fastboot. Only Twrp and adb commands.
Edit, I can get to fastboot/download mode through the twrp terminal.
[SOLVED]
So I was able to use twrp to copy all of my internal files onto an sd card.
Then I set about getting this tool here > https://github.com/RaghuVarma331/Nokia-Tool the firmware specific to my phone, and modifying the bat file found here > https://github.com/RaghuVarma331/Nokia-Tool/blob/master/batscripts/Nokia-Tool-DRG-B2N-PL2-CTL.bat (because windows for some reason gave me a 16 bit application warning when I tried to use the tool exe)
My phone flashed a bunch of time and I was able to load up an almost entirely stock android 10, still capable of using magisk, edxposed, etc.
And now all there is to do is to get everything back onto it and set up which is at this point, the best case scenario.

Categories

Resources