• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

Chuwi hi9 Pro unlock, root, TWRP, etc.

Search This thread

zelipukin

Senior Member
Aug 24, 2009
159
40
Jackson
If you dont have full ROM backup from your device or official ROM, dont do anything in terms of modding but to install vcom drivers (in my case they wont work without Virtual Serial Port Drivers) for bootloader, and adb/fastboot drivers, make sure theyre working, install Miracle Box / SPFlashTool (or similar ?) to be able to backup/flash your ROM/partitions from/to your device.
Check if it works for you (ie backup your ROM and try to flash something (cache) back.

Now when people are scared enough I want to tell you that it is almost impossible to kill (brick) your MTK phone, it happens mostly when people flash something that is not suppoused to be flashed (something from another device), the worst case if you flash wrong preloader or erase preloader but even after this there is a chance for resurrection. it takes time and efforts though.
++++++++++++++++++++++++++++++++++++
This is TWRP 3.2.2.0 recovery for Chuwi hi9 Pro.
Partitions available for backup:
boot, recovery, system, vendor, data (not incl. data/media = internal sd), cache and "para" (if you have got "recovery loop" - flash "para")
.img flashable - boot, recovery

look for detailed instructions for coomon things in other treads, like
- how to install bootloader vcom drivers and adb / fastboot drivers
- How to work with adb / fastboot command from your computer cmd window.
- how to use Miracle Box / SPFlashToll
This is detailed instruction how to make SPFlash backup out of your phone though Miracle Box does it in one click (well, almost)
- how to unlock bootloader (fastboot mode)
- how to use toilet paper (manual mode)
- how to install twrp recovery
- how to root
Unlock, Install, Root in one post
++++++++++++++++++++++++++++++++++++++
So, main point of this thread is TWRP, youll need:
- roll of toilet paper
- spflashtool backup (just in case)
- backup of your data (if you care) - your data will be erased during the process.
- unlocked bootloader
- twrp image

If something went wrong (highly unlikely), but "if".
Worst case scenerio: your phone will not boot into system / recovery
Solution: reflash (fastboot or flash tool): boot / recovery / system
Worst case scenerio: flash factory ROM (SPFlashTool)

Steps to do when you have all knowledge and all files ready.
IN YOUR CURRENT SYSTEM
In settings->System->About tablet -> click several times "build number" untill you see message "now you are developer"
In settings->System->Developer options: Enable USB debugging and OEM Unlock, connect cable
REBOOT INTO FASTBOOT
Power off, Power on holding "vol+"
Youll see black screen with 3 strings of menu (very small font):
- recovery
- fastboot
- system
use "vol+" for navigation, use "vol-" to confirm your choice (fastboot)
OR from your pc cmd window (shift+right click on adb folder -> choose "open command window here") type: adb reboot bootloader
press Enter
UNLOCK BOOTLOADER
on your pc (if cmd window is not ooened yet: shift+right click on adb folder -> choose "open command window here") type: fastboot oem unlock
press Enter
watch your phone and pc screen for messages
if you have vision problems, make sure you have a magnifying glass.
INSTALL TWRP
download hi9pro_twrp.img to your /adb folder
from the same cmd window type:
fastboot flash recovery hi9pro_twrp.img
*
Reboot into twrp and flash Magisk
*
Basically this is it
There is no command from fastboot to reboot into recovery (correct me)
You can power of, power on holding "vol+", choose "recovery" from menu
command to reboot into system: fastboot reboot
+++++++++++++++
* NEW *
Infect_Ed has posted TWRP recovery that he has compiled from source. DOWNLOAD FROM HERE
We don't know how to make twrp recovery work with encrypted data partition.
Read next paragraph if you are OK to trade security (encripred userdata) for functionality.
++++++++++
==========
In case you want to have your userdata decrypted (and full functional twrp), use following steps:
*** Please, note all userdata AND internal SD will be wiped during the process***
If you care
Save Internal SD card content to your ext.SD or computer
Make a Titanium backup of user apps (check Enable external data backup in Titanium settings)
If Titanium fails to write to your ext.SD than change Titanium backup folder location to int.SD
and after backup is done copy Titanium backup folder to ext.SD or PC.
Disable any passwords/pins from Settings->Security & Locations
(I know they are stored in /data/.. and will be erased anyway but just in case)
- Reboot into TWRP
- ftom TWRP -> Wipe ->Format userdata -> Confirm with "yes"
do not reboot into system
- flash encryption_prevener_hi9pro.zip to prevent system automatically encrypt userdata (it is used to insert modified fstab.mt6797 into vendor/etc)
- reboot system
- restore your int.SD content and apps
============

Link to official ROM/Firnware

*** Read this if you have Recovery Loop - no matter how you boot (buttons, from twrp recovery or from adb/fastboot shell) your device you always end up in TWRP recovery ***
- download 2018-09-29--para.zip
- unzip it - there is a folder 2018-09-29--para with 3 files inside
- connect your phone in twrp recovery mode to your computer
(you may need to turm "enable mtp" option in TWRP->mount)
- copy that folder into your sd card, the path is : TWRP/Backups/Hi9Pro
- click "Restore" (on the next screen make sure ExtSD is chosen as backup path)
- check checkbox "para", run restore, reboot
explanation: para is a partition contains last issued kernel reboot flag(command), like "reboot to recovery, reboot to system, etc." I think there is one flag that tells to kernel something like "reboot to recovery, do something untill its done", since this "something" never done, device reboots into recovery over and over again. This happend to me when I tried "factory reset" command from android settings, so android have sent my device into recovery mode where that "factory reset" command had to be performed but never done because its now not stock recovery but twrp.
**** If you have following problems:
Unknown Baseband -> Unknown IMEI -> NO sim card -> NO cell network
Look here first
****
***** If you came here from there.*****
and you are following their instructions, please, note, step 7. Unlock bootloader : DO NOT DO command "fastboot flashing unlock", just skip it.
Also, try to avoid "fastboot boot recovery.img" command to reboot into recovery (just use physical buttons for reboot). I'm not sure but something caused "recovery loop" in one case at least.
****** back-to-encr.zip if you want to encrypt your decrypted userdata (original fstab.mt6797 will be flashed, no data loss, you will not be able to mount userdata in TWRP, first boot may take long time due to encryption process - 10-60 min- depends how much data do you have)
******* twrp_recovery_chuwi-hi9pro_infectEd-XL is same Infect_Ed recovery adopted for our screen.
 

Attachments

  • encription_preventer_hi9Pro.zip
    181.9 KB · Views: 896
  • 2018-09-29--para.zip
    5.8 KB · Views: 805
  • back-to-encr.zip
    181.3 KB · Views: 407
  • twrp_recovery_chuwi-hi9pro_infectEd-XL.zip
    15.7 MB · Views: 1,453
Last edited:

michael08071984

Senior Member
May 17, 2013
134
25
Hello. I made a mistake last week. I flashed accidently twrp with a scatter File from the HI9 Air through the spflashtool on the Hi9 Pro. Now it doesnt turn on etc. Is it hardbricked or can i still get it back to life?
 

zelipukin

Senior Member
Aug 24, 2009
159
40
Jackson
No, its not complitely bricked if flash tool still recognizes your phone in bootloader mode. Most likely youve made same mistake I did. Depends of how you flashed that recovery - recovery only or full sisyem WITH new recovery. most likely you flashed only recovery partition. than, first, try to reflash backed recovery & next to recovery ("para") partition. in "download only mode" therell be an error "pmt has changed" than try "format & download" and "firmvare upgrade" - use scatter file contained only those two partitions. if you didnt make a backup ill put here that "para" partition and you can use hi9pro twrp img. in case this wont work, you may want to reflash the whole rom. We need to find factory rom image (from Chuwi or someone who did a back up prior he entered his credintals - thats another mistake Ive made Ive dumped a rom with all my logins information). if I have time I'll try "factory reset" to make a backup from "clean" system.

again, its almost impossible to brick mtk completely. even if flash tool doesnt recognize you phone (dead battery) there is a jump-pins method.

upd. Just looked @ Air scatter and found that Air recovery partition size is same as Pro (~16mb). now I dont know haw was that possible to overwrite next to recovery partition(s) and I think I used same Air img as you did and I've got size warning message when I flash it. anyway here is archive with scatter for recovery and para. just add twrp hi9 pro recovery (rename recovery.img to recovery.bin) and try to flash.
 
Last edited:
  • Like
Reactions: michael08071984

michael08071984

Senior Member
May 17, 2013
134
25
I didnt made a Backup (stupid me) i flashed the recovery file with a scatter file. When i plug the device in the pc the USB sound comes and its recognized as MEDIATEK USB PORT (COM8), but its removed automatic (USB Sound for disconnecting) The Screen stays black. So i have to wait for a Rom and a scatter File then?

---------- Post added at 19:50 ---------- Previous post was at 19:39 ----------

I tried your idea. I got an error Message: "Status Preloader Invalid" The Preloader File Format is invalid.
 

zelipukin

Senior Member
Aug 24, 2009
159
40
Jackson
you know how to use flash tool , first you have to press "download" THAN connect usb cable.
but this is a good sign (pc recognize something), you may want to google for something like "unbrick mtk 6797 sp flash tool" for more info

this is archive w. 4 1st partitions (incl preloader)

Ive gotta go. Dont smash your tablet its 100% repairable, well 99.999%
 
Last edited:

zelipukin

Senior Member
Aug 24, 2009
159
40
Jackson
is it "MEDIATEK USB PORT (COM8)" appears for a second in the devices tree or "mediatek preloader usb vcom (android) (com8)"
if second, then everything is OK with the connection.
if its exactly MEDIATEK USB PORT (COM8) then there is something wrong
try to connect cable with diff buttons combination, i.e. "vol+" + connect cable .
try different "download agent" (DA_PL.bin ?)
Though I also used AllInOne_DA and flash tool V.5.1728

also, you might find Miracle Box Tool is easier to use
try "read" option first to backup your current rom

View attachment 4598709

I shoul ask this first:
- have you ulocked bootloader ?
- when your press "power" and "vol+" after some wait is anything appears on the screen
(boot menu: fastboot, recovery, regular boot) ?
- when your press "power" and "vol-" after some wait is anything appears on the screen
(chinese written) ?
 
Last edited:

michael08071984

Senior Member
May 17, 2013
134
25
Good Morning.

Bootloader is unlocked, no matter which key combinations ill try the screen stays black. When i have the usb cable at the PC (no matter which Port or cable) it the plugin - plugout sound plays every few seconds/minutes (not the same time in between). It is recognized as "MediaTek USB Port (COM4)" (different PC i tried). When ill try to install the vcom drivers i get the message that the best drivers are already installed and that are the mediatek usb port driver.

Image of the device manager: https://ibb.co/erkW6e

is it "MEDIATEK USB PORT (COM8)" appears for a second in the devices tree or "mediatek preloader usb vcom (android) (com8)"
if second, then everything is OK with the connection.
if its exactly MEDIATEK USB PORT (COM8) then there is something wrong
try to connect cable with diff buttons combination, i.e. "vol+" + connect cable .
try different "download agent" (DA_PL.bin ?)
Though I also used AllInOne_DA and flash tool V.5.1728

also, you might find Miracle Box Tool is easier to use
try "read" option first to backup your current rom

View attachment 4598709

I shoul ask this first:
- have you ulocked bootloader ?
- when your press "power" and "vol+" after some wait is anything appears on the screen
(boot menu: fastboot, recovery, regular boot) ?
- when your press "power" and "vol-" after some wait is anything appears on the screen
(chinese written) ?


---------- Post added at 07:34 ---------- Previous post was at 07:07 ----------

zelipukin i made a short Video about the behavior. The Device seems to activate when i push vol+ or power, but it looses connection when i stop holding the button or sometimes even when i hold the button.

https://drive.google.com/file/d/1m3YLrH5ZaVLttcSfDxx3RvL0DaXPcxzk/view?usp=sharing
 

zelipukin

Senior Member
Aug 24, 2009
159
40
Jackson
...thinking
Just tried...seems like backups I made(and posted here) from Miracle Box is incompatible with SP Flash.
SP Flash doesn't like this and doesn't like that when tries to restore those backups but Miracle Box restores individual partitions or whole ROM w/o problem.
SP Flash is so inconvenient if you try to make a backup ... its also inconvenient when you try to restore.
Where did I get that Miracle Box for free ?
Let me figure out something...
....
This is something beyond my understanding but let me to describe what I did
- in SP Flash I choose scatter file and recovery.bin (like I sent to you)
- download only - no go
- download+format - no go
- firmware update - warning message about wrong partition size or something like this - Ignored - Flashed
- Bricked again (like yours - black screen - that's it)
- OK, I have several backups. Tried all of them - none of them works... except one
- Flashed that backup with SP Flash - no questions, no warnings, no errors - device came alive
- Flashed only recovery.bin - everything went fine
- Tried to find difference btw different backups - but couldn't find any
- So I tried to flash those files (to try 3.zip) several times and everything went OK, so this is 100% working backup.
Try it and see what happens, then we can go somewhere else. I still suspicious about those MTK Usb Com(8) instead of preloader usb. Also if you used "Firmware upgrade" option once, I beleive you'll need full ROM flash. Keep looking for it @ Needrom.com.
Strange things happen. Couple years ago I lost MTP connection with my MiMax. I tried everything possible but no luck - have to use UMS Enabler so I can read/write ExtSD at least, but MTP works with Chuwi.
I spent numerous hours trying to connect Chuwi in preloader mode until found that solution about Virtual Serial Port drivers.
 
Last edited:

michael08071984

Senior Member
May 17, 2013
134
25
I'll tried to change the Drivers for the mediatek, it shows the device now with the preloader, but i think it doesnt work right. when i change the usb port it comes back as MediaTek USB Port (COM4). I made you a 15 Second Clip of the behavior.

https://drive.google.com/file/d/1m7wyIlIYJLN7ikmgUTzHBJtBdbZQrYaa/view?usp=sharing

Really weird. :-/

---------- Post added at 14:55 ---------- Previous post was at 14:40 ----------

and no chuwi hi9 pro rom at needrom yet. :-/
 

zelipukin

Senior Member
Aug 24, 2009
159
40
Jackson
Sorry, haven't seen there is second page of this thread.
Saw a video where one guy showed how he changed drivers to right ones.
Main idea is in that short period of time when wrong drivers appear click right mouse button and choose "uninstall drivers"
after this in his video in next attempt system found usb vcomm by itself. worth to try
or other videos where guys catch a moment when this port appears in device tree but choose "update drivers"-> "browse my computer..."-> "let me pick from a list of device drivers" -> remove flag from "show only compatible.."->

I cleaned system, removed apps,accounts, etc. and made a backup of a "clean" ROM (well, almost). will put somewhere when/if I get good wifi somewhere (its 3GB.. w/o data partition) I'm on slow & limited mobile network.
but I don't think you need anything but recovery & para if you never used "format" & "firmware upgrade"
 
Last edited:

michael08071984

Senior Member
May 17, 2013
134
25
i think i used the upgrade one, after download only didnt work.

Ill tried the same method with changing drivers.

I will sit this one out, till you have uploaded the rom :)

Thanks for helping me out!

Sorry, haven't seen there is second page of this thread.
Saw a video where one guy showed how he changed drivers to right ones.
Main idea is in that short period of time when wrong drivers appear click right mouse button and choose "uninstall drivers"
after this in his video in next attempt system found usb vcomm by itself. worth to try
or other videos where guys catch a moment when this port appears in device tree but choose "update drivers"-> "browse my computer..."-> "let me pick from a list of device drivers" -> remove flag from "show only compatible.."->

I cleaned system, removed apps,accounts, etc. and made a backup of a "clean" ROM (well, almost). will put somewhere when/if I get good wifi somewhere (its 3GB.. w/o data partition) I'm on slow & limited mobile network.
but I don't think you need anything but recovery & para if you never used "format" & "firmware upgrade"
 

NikosD

Senior Member
Dec 29, 2012
312
39
Athens- Greece
Just a few questions after using Hi9 Pro for about a week:

1) Where is the microphone ? Is it the small hole under the volume button ? (Strange position)

2) On the back side the two metallic stripes separating the plastic of the metal body are they something like antennas ? (LTE or WiFi or both ? )

3) What is the version of Bluetooth ? (4.0 or 4.1 or 4.2 ? )

4) Is it possible to use some kind of fast charging with a suitable charger or software app (firmware update) ?
MediaTek has a technology called "Pump Express" or something like that...

5) Do you have sudden, unexpected pop-ups of full screen advertisements while you are working with your tablet ?
How do we get rid of them ?

6) How do I find the LTE band the tablet is actually using while it's in use ?
I don't mean the table of supported bands, I mean the active band while using it.

Thanks!
 
Last edited:

zelipukin

Senior Member
Aug 24, 2009
159
40
Jackson
  • Like
Reactions: NikosD

NikosD

Senior Member
Dec 29, 2012
312
39
Athens- Greece
1) looks like and its logical bc its close to mouth than if they put it in the bottom.

Yes, it is a very small hole at the bottom right as you hold it, with a size of the edge of a needle!

Thank you.

But how did you do that ?

Did you add an Ad Block after rooting the tablet ?

The kind of ads I get, is more of suggested apps to install from Google Play.

It is literally bombarding me with an exhaustive rate.

I went to settings to "advertisements" of Google and it says that I can't turn it off.

Could it be some app that I installed that is spamming me this way ?

Can you suggest something to stop it ?

6) you can try to find some info from mtk engineering mode *#*#3646633#*#* from you dialer
but its not intuitive and complicated

I installed LTE Discovery and although I'm not rooted it seems that it works OK and it's showing me the bands.

The signal strength is lower than a mobile phone at the same position, same time, same provider.

Do you have an equal signal strength like your mobile phone ?

One more question:
7) Is it feasible for a developer to build a custom ROM for this device if he wants to or there are certain restrictions forbidding custom firmware ?

Is there any chance for a custom ROM in the future, because I don't think Chuwi will upgrade to 8.1 or better Android.

Thank you!
 

zelipukin

Senior Member
Aug 24, 2009
159
40
Jackson
Regarding ads - I didn't do anything, I looked @ settings->google->ads and I can turn it on and then off w/o problem
Also I culdnt find any junk software so far, the phone came from GearBest factory sealed. I didn't do any system modifications except installing Magisk and modules - ExCard Access Enabler, init.d injector, Magisk SELinux Manager, ViperX (slightly better sound from speaker)

I didn't try the device as a phone, though it fit in a pocket of one of my jeans. I'd like to try but my current phone (miMax) has a micro sim.

7) Depends how popular is this device and who (developers) got it. Also, depends if this chipset is used in many other similar models (popular, prefferable) than you don't need to be a real "developer" to port ROM from a similar device and if you find that divice X is updated to 8.1 there is a chance someone will make a port (or you can try to do it yourself). I'm not a big fan of immediate upgrading to a newest version, for me they usually bring more limitations (you cannot let apps to modify files on your own sdcard f.e.) than benefits. I still use >2 y.o. andr. 6.0 custom rom on my MiMax.
 

NikosD

Senior Member
Dec 29, 2012
312
39
Athens- Greece
Regarding ads - I didn't do anything, I looked @ settings->google->ads and I can turn it on and then off w/o problem
Also I culdnt find any junk software so far, the phone came from GearBest factory sealed.
Me too, I got a sealed and clean tablet from GearBest but If you look closer to that setting, it says that you can turn on or off the specialized ads for you, but you can't close ads completely.

For example, during web browsing do you see ads inside various sites ?

Or when opening apps on your tablet ?

I think we need an ad-blocker for this.

I didn't try the device as a phone, though it fit in a pocket of one of my jeans. I'd like to try but my current phone (miMax) has a micro sim.
I meant for mobile 4G data, not as a phone.

In my country we have three bands for LTE:
B3, B7, B20.

When the tablet rotates between 3 and 7, I have poor to zero signal.
But I saw with LTE Discovery that when it switched to 20 then the signal is very good.
So, with the help of MTK Engineering I disabled 3 and 7 bands and everything seems OK now.

I hope B20 to be used everywhere near to me.

7) Depends how popular is this device and who (developers) got it. Also, depends if this chipset is used in many other similar models (popular, prefferable) than you don't need to be a real "developer" to port ROM from a similar device and if you find that divice X is updated to 8.1 there is a chance someone will make a port (or you can try to do it yourself). I'm not a big fan of immediate upgrading to a newest version, for me they usually bring more limitations (you cannot let apps to modify files on your own sdcard f.e.) than benefits. I still use >2 y.o. andr. 6.0 custom rom on my MiMax.

I'm not familiar with Android internals so much, I am only using a Note II with TWRP and a custom 7.1.2 ROM and I'm missing some simple customizations not available with out Oreo 8.0 stock ROM.

I haven't even tried yet your first post regarding rooting and all the others because I'm not so sure where to find these tools and how to use them.

It could help a lot when you find some time to add more descriptions and links in your first post, if possible like Hi9 Air thread.

Thank you!
 

zelipukin

Senior Member
Aug 24, 2009
159
40
Jackson
I dont know how and why, but I dont have any agressive advertisements. Checked Opera I'm using for webbrowsing - even "block popups" option wasn't checked. Had to download app yesterday (AutoNotification) from gp store and when I started it in a "free mode" there was a message like "to use this app in a free mode you have to agree to see ads", clicked "ok" , then message "downloading..." appeared...and nothing, no ads. I connect my tablet to the internet through my phone but dont think that matter.
 

NikosD

Senior Member
Dec 29, 2012
312
39
Athens- Greece
Just a few more short questions:

8) Is there any other way to wake up the device instead of pressing the red button ?

For example double tap or maybe using the volume buttons or any other way.

Because I'm afraid of pressing the same button again and again.


9) Does this device have a WiFi 2x2 MIMO ?
I haven't found any particular info on this.


10) What is the kernel of the ROM ?

Is there any GUI compatible like Kernel Aiutor to make changes or take a look at info for the device ?

Thank you!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    If you dont have full ROM backup from your device or official ROM, dont do anything in terms of modding but to install vcom drivers (in my case they wont work without Virtual Serial Port Drivers) for bootloader, and adb/fastboot drivers, make sure theyre working, install Miracle Box / SPFlashTool (or similar ?) to be able to backup/flash your ROM/partitions from/to your device.
    Check if it works for you (ie backup your ROM and try to flash something (cache) back.

    Now when people are scared enough I want to tell you that it is almost impossible to kill (brick) your MTK phone, it happens mostly when people flash something that is not suppoused to be flashed (something from another device), the worst case if you flash wrong preloader or erase preloader but even after this there is a chance for resurrection. it takes time and efforts though.
    ++++++++++++++++++++++++++++++++++++
    This is TWRP 3.2.2.0 recovery for Chuwi hi9 Pro.
    Partitions available for backup:
    boot, recovery, system, vendor, data (not incl. data/media = internal sd), cache and "para" (if you have got "recovery loop" - flash "para")
    .img flashable - boot, recovery

    look for detailed instructions for coomon things in other treads, like
    - how to install bootloader vcom drivers and adb / fastboot drivers
    - How to work with adb / fastboot command from your computer cmd window.
    - how to use Miracle Box / SPFlashToll
    This is detailed instruction how to make SPFlash backup out of your phone though Miracle Box does it in one click (well, almost)
    - how to unlock bootloader (fastboot mode)
    - how to use toilet paper (manual mode)
    - how to install twrp recovery
    - how to root
    Unlock, Install, Root in one post
    ++++++++++++++++++++++++++++++++++++++
    So, main point of this thread is TWRP, youll need:
    - roll of toilet paper
    - spflashtool backup (just in case)
    - backup of your data (if you care) - your data will be erased during the process.
    - unlocked bootloader
    - twrp image

    If something went wrong (highly unlikely), but "if".
    Worst case scenerio: your phone will not boot into system / recovery
    Solution: reflash (fastboot or flash tool): boot / recovery / system
    Worst case scenerio: flash factory ROM (SPFlashTool)

    Steps to do when you have all knowledge and all files ready.
    IN YOUR CURRENT SYSTEM
    In settings->System->About tablet -> click several times "build number" untill you see message "now you are developer"
    In settings->System->Developer options: Enable USB debugging and OEM Unlock, connect cable
    REBOOT INTO FASTBOOT
    Power off, Power on holding "vol+"
    Youll see black screen with 3 strings of menu (very small font):
    - recovery
    - fastboot
    - system
    use "vol+" for navigation, use "vol-" to confirm your choice (fastboot)
    OR from your pc cmd window (shift+right click on adb folder -> choose "open command window here") type: adb reboot bootloader
    press Enter
    UNLOCK BOOTLOADER
    on your pc (if cmd window is not ooened yet: shift+right click on adb folder -> choose "open command window here") type: fastboot oem unlock
    press Enter
    watch your phone and pc screen for messages
    if you have vision problems, make sure you have a magnifying glass.
    INSTALL TWRP
    download hi9pro_twrp.img to your /adb folder
    from the same cmd window type:
    fastboot flash recovery hi9pro_twrp.img
    *
    Reboot into twrp and flash Magisk
    *
    Basically this is it
    There is no command from fastboot to reboot into recovery (correct me)
    You can power of, power on holding "vol+", choose "recovery" from menu
    command to reboot into system: fastboot reboot
    +++++++++++++++
    * NEW *
    Infect_Ed has posted TWRP recovery that he has compiled from source. DOWNLOAD FROM HERE
    We don't know how to make twrp recovery work with encrypted data partition.
    Read next paragraph if you are OK to trade security (encripred userdata) for functionality.
    ++++++++++
    ==========
    In case you want to have your userdata decrypted (and full functional twrp), use following steps:
    *** Please, note all userdata AND internal SD will be wiped during the process***
    If you care
    Save Internal SD card content to your ext.SD or computer
    Make a Titanium backup of user apps (check Enable external data backup in Titanium settings)
    If Titanium fails to write to your ext.SD than change Titanium backup folder location to int.SD
    and after backup is done copy Titanium backup folder to ext.SD or PC.
    Disable any passwords/pins from Settings->Security & Locations
    (I know they are stored in /data/.. and will be erased anyway but just in case)
    - Reboot into TWRP
    - ftom TWRP -> Wipe ->Format userdata -> Confirm with "yes"
    do not reboot into system
    - flash encryption_prevener_hi9pro.zip to prevent system automatically encrypt userdata (it is used to insert modified fstab.mt6797 into vendor/etc)
    - reboot system
    - restore your int.SD content and apps
    ============

    Link to official ROM/Firnware

    *** Read this if you have Recovery Loop - no matter how you boot (buttons, from twrp recovery or from adb/fastboot shell) your device you always end up in TWRP recovery ***
    - download 2018-09-29--para.zip
    - unzip it - there is a folder 2018-09-29--para with 3 files inside
    - connect your phone in twrp recovery mode to your computer
    (you may need to turm "enable mtp" option in TWRP->mount)
    - copy that folder into your sd card, the path is : TWRP/Backups/Hi9Pro
    - click "Restore" (on the next screen make sure ExtSD is chosen as backup path)
    - check checkbox "para", run restore, reboot
    explanation: para is a partition contains last issued kernel reboot flag(command), like "reboot to recovery, reboot to system, etc." I think there is one flag that tells to kernel something like "reboot to recovery, do something untill its done", since this "something" never done, device reboots into recovery over and over again. This happend to me when I tried "factory reset" command from android settings, so android have sent my device into recovery mode where that "factory reset" command had to be performed but never done because its now not stock recovery but twrp.
    **** If you have following problems:
    Unknown Baseband -> Unknown IMEI -> NO sim card -> NO cell network
    Look here first
    ****
    ***** If you came here from there.*****
    and you are following their instructions, please, note, step 7. Unlock bootloader : DO NOT DO command "fastboot flashing unlock", just skip it.
    Also, try to avoid "fastboot boot recovery.img" command to reboot into recovery (just use physical buttons for reboot). I'm not sure but something caused "recovery loop" in one case at least.
    ****** back-to-encr.zip if you want to encrypt your decrypted userdata (original fstab.mt6797 will be flashed, no data loss, you will not be able to mount userdata in TWRP, first boot may take long time due to encryption process - 10-60 min- depends how much data do you have)
    ******* twrp_recovery_chuwi-hi9pro_infectEd-XL is same Infect_Ed recovery adopted for our screen.
    2
    let see tomorrow again, i will help you more if you need.. now i need to go to sleep..

    Yeah you're going to have to use spflash and restore that way. I was there at one point.

    ---------- Post added at 07:27 AM ---------- Previous post was at 07:22 AM ----------

    Here's my latest TWRP build from source if anyone would like to try.

    https://drive.google.com/open?id=1EvPdYfMgdVVLnmpxPNWIGLyEc4Wd6wWV
    2
    Edited because I tagged the wrong person ??
    @zelipukin
    I have started my base tree and have boot on TWRP, built from source. Touch axis is jacked up right now. I'll have it fixed up soon. Once I get that solid, I'll start working on getting a solid device tree going to get this thing booting on Pie. This is not a pic of your ported TWRP from hi9 air. This was built by me last night.

    https://github.com/chuwi-hi9/android_device_chuwi_hi9pro
    2
    ouch, look flashing magisk 18+ is not rooting anymore, I have to switch back to 17.1 and refuse the uoadte of magisk manager, since if you uodate, magisk mangaer 7 won't allow you to update the magisk but just to patch the boot.img.
    Doease someone as already the 18+ magisk patched boot .ini to flash with twrp?
    Thank you ;)
    Try using TWRP to flash Magisk.
    It worked for me using Magisk 18 and Magisk Manager v6.1.0
    Haven't tried yet newer versions.

    ---------- Post added at 08:31 PM ---------- Previous post was at 08:23 PM ----------

    I tested several Pie GSI. They all started and worked on my Chuwi with minor issues.

    However, the speed of my tablet has slightly decreased, and all the GSI has been adapted for phones small displays.
    I have not found any advantages with Treble GSI.
    Therefore, I returned to the Oreo stock firmware (Magisk, microG, Xposed, etc.)
    Yes of course Hi9 Pro is a Treble supported device.

    But personally I think I'm going to wait for Chuwi releasing stock Android 9 for our device in summer, unless we are lucky enough and a developer catches Android Pie first.
    2
    Hi Guys we have the proper rom from official source.

    https://forum.chuwi.com/thread-6438-1-1.html