yashsingh1/xdaforums huggingface dataset:
[Device Reviews and Information] mpcarlos87:
Hi guys,

Waiting to receive the Hi9 Air here, I already saw the thing with the brightness when loading backup from other device, any other advice for a new user?

Looking forward to give feedback and help other users!

Regards,
[Device Reviews and Information] DittoBox:
Having a few problems:

I can't get the battery to charge past 80-85%. It just stops and doesn't go further. Is there an app that drains the battery quickly to attempt to "recalibrate" it per the first post?

I've install Phh's GSI AOSP with gapps and SU. Rotation, screen brightness, and such all work great but I'm seeing "Download pending..." on all the Play store apps. I installed the Phh SuperUser app via adb sideload, but nowhere is there a way to uninstall the Play Store Instant Service. Any ideas?

Before flashing the new ROM my Project Fi data-only SIM worked great. Now it doesn't connect to anything. "No Service". I can add a new APN, and hit "Save" but it doesn't store it.

The touchscreen "loses" touch sometimes, which means it'll register two or three touches at a time. This makes typing impossible sometimes, and swipe keyboarding is only slightly better.

This one is dumb, I know :) ...but the "primary" color for some text, the settings application, and a few other things is a really ugly teal no matter what ROM is installed. Any way to change this?

Edit: have ADB, will travel. Let me know what I need to do to enable verbose logging for instance, I can try to reproduce certain tasks and dump the logs.

Edit 2: for number 2 I can't uninstall using adb, or an su shell and using 'pm uninstall com.google.android.instantapps.supervisor'.

adb uninstall com.google.android.instantapps.supervisor
Failure [DELETE_FAILED_INTERNAL_ERROR]
[Device Reviews and Information] uncleabubear:
1

https://xdaforums.com/showpost.php?p=76505944&postcount=23

2,4,5

Please post in main aosp thread

3

Try flashing stock rom
[Device Reviews and Information] DittoBox:
Right! So I guess I didn't wipe it before installing any ROMS. After I did that and installed a new ROM (3 actually, just toying around) the DPI is messed up, the HW rotation is all wrong, and the touchscreen doesn't work. Which means I did something right this time.

I'll flash back to stock for a while, but I'm keen on testing new / updated Treble ROMs if anyone is building them specifically for this device.
[Device Reviews and Information] cali34:
Exact same situation for me, waiting for a good Treble rom too
[Device Reviews and Information] ollm:
Hi.

Someone who has rooted the tablet can tell me if using Kernel Auditor it is possible to reduce the saturation of the screen, more than MiraVision allows. I find the colors of the screen too saturated and the faces of the people of orange color.

Thanks.
[Device Reviews and Information] artemla:
Hello. I have build number O00623 release-keys 201806162. Can I flash patched boot "patched_boot.img Stock Rom Build number O00623 release-keys 20180604"? If no, where I can find proper patched boot? Thanks.
[Device Reviews and Information] DittoBox:
I flashed back to the latest Chuwi ROM. My touch issues (which I had with the Chuwi preloaded ROM) are gone. The SIM card is recognized again. I drained the battery to zero and now I'm waiting for it to recharge.
[Device Reviews and Information] artemla:
Great review! But I have some corrections:

1. There are two speakers, but they work as a single speaker, no stereo effect;

2. The hole below volume buttons it is not a microphone, it is a reset button.
[Device Reviews and Information] Alberto96:
What the... O_o

Thank you for your feedback.
[Device Reviews and Information] madsurgeon:
Finally banggood has shipped my replacement hi9 air. Hopefully this time around it won't have the defective display
[Device Reviews and Information] artemla:
Unfortunately, nothing about the screen in Kernel Auditor :( . Is there any other way to adjust colors?
[Device Reviews and Information] iambrunoben:
Not Up to mark.
[Device Reviews and Information] Alberto96:
TWRP 3.2.2-0

Fully working TWRP 3.2.2-0 (updated on the 03rd of September 2018) based on "O00623 release-keys 20180809" (August 2018 update)

Download Folder: https://www.androidfilehost.com/?w=files&flid=281733

####

## TWRP 3.2.2-0 brief installation guide for the CHUWI Hi9 Air (Hi9Air)

## Developed and Written by Alberto96 (GearLabs)

####

NOTE: For those who want to keep the bootloader locked, follow the SP Flash Tool guide.

Flashing via SP Flash Tool (noob-friendly):

1) Download the latest SP Flash Tool software for your preferred OS (Windows/Linux)

2) Proceed as shown in my guide linked here: https://docs.google.com/presentation/d/1NJcDBkLk8zMwyv2BTqRjn2NB_ZOWKjP1fRpSVr44Oxk/edit

Flashing via Fastboot (minor skills required):

WARNING: If your bootloader is not unlocked already, then it is time to do it otherwise you won't be able to flash any custom binary. DO NOT untick the "OEM Unlock" option in the "Developer Options" menu after having flashed the custom recovery.

1) Reboot into fastboot mode (using the Volume Up + Power keys combo or just by executing "adb reboot bootloader" via ADB or a Terminal on the device)

2) Execute this command: "fastboot flash recovery recovery.img"

3) Now you can reboot the device by executing "fastboot reboot" or by long-pressing the power button for a while

IMPORTANT: Be sure to root your device using Magisk (recommended for SafetyNet) or SuperSU (classic and permanent) right after having installed the custom recovery (before even rebooting into Android!) otherwise, as a security feature, Android will overwrite it with the Stock Recovery thus you will have to repeat the procedure. DO NOT blame the recovery for this since you have been warned.

// Any procedure shown here has been tested but, obviously, you do it at your own risk. If you don't mess with anything indicated above, the chance to run into issues is almost inexistent. Good luck! //

Device Tree: https://github.com/GearLabs/android_device_CHUWI_Hi9Air
[Device Reviews and Information] uncleabubear:
OP updated with all your brilliant work. Thank you!
[Device Reviews and Information] Alberto96:
Current status with LineageOS GSI: fixed orientation issues, working on the inverted touchscreen axis issue.

UPDATE: Fixed :) Uploading...

---------------------------------

UPDATE #2

LineageOS 15.1 GSI (Phh-Treble vanilla variant) with properly working accelerometer and touchscreen. Install OpenGapps and Magisk via TWRP separately if you want Google Apps and Root.

system.img: REMOVED, new build in this post -> https://xdaforums.com/showpost.php?p=77103276&postcount=349

For those interested, this is the frameworks_native repo containing all required changes: https://github.com/GearLabs/android_frameworks_native

NOTE: sometimes the touchscreen seems to be still inverted but i think it is caused by the phh-treble touchscreen application randomly triggering.

P.S.: do not request me other GSIs because i am running out of space on my hard drive haha
[Device Reviews and Information] strawsy:
Does anyone else have at&t in the U.S. but can't get 4g?

Also I tried installing twrp and flashing LineageOS but I couldn't get out of twrp, was stuck in twrp loop. I used flash tool to flash back to stock rom. I've never had an issue flashing android before but it has been a little while since I flashed anything. Can anyone post steps in order. I've followed the ones previously but they're a bit scattered.
[Device Reviews and Information] Alberto96:
1) Flash the latest Stock ROM

2) Unlock the bootloader

3) Flash the system image via fastboot

4) Reboot into recovery mode before booting the device

5) Wipe data/factory reset

6) Reboot

This way it should work for you.
[Device Reviews and Information] ollm:
At the moment I have only seen F.lux have an option to reduce the saturation (And it is not adjustable)

I will try to find more applications.
[Device Reviews and Information] Emoclaw:
Thank you for your work.

Touchscreen app is located in /system/priv-app/Touchscreen and should be deleted as it is no longer necessary.
[Device Reviews and Information] RobBrownNZ:
I've done this, and can't get it to work. I've written the system.img using fastboot, TWRP, and SP Flash Tool; I've factory wiped and also reformatted internal data to get rid of encryption, my tablet is rooted, TWRP works well, I've MD5summed my download, and I can't think of anything else to try! Everything ends in either TWRP or fastboot loop. Just once, I got the LineageOS booting animation for about 2 minutes before it stopped and went back to TWRP.

Can you think of anything else I could try, or any information I could give you that might show a difference between your tablet and mine?

Thanks for your work!
[Device Reviews and Information] Alberto96:
Mmh that's odd. Could you try to flash also stock boot and userdata images from fastboot?
[Device Reviews and Information] RobBrownNZ:
Huzzah! That's got LineageOS booting. Thanks!

There's still some dark voodoo there, I've previously used the SP Flash Tool to write all of the partitions, with just the recovery and system images replaced with yours... surely that would have produced much the same result?

Anyway, I've booted 4 times now and my touchscreen is rotated every time... is this expected?
[Device Reviews and Information] Alberto96:
If you mean that it is in portrait mode while on the lockscreen, then yes. The GSI has not been optimized for tablet usage yet.
[Device Reviews and Information] RobBrownNZ:
Unfortunately I can't get that far. The LineageOS welcome screen displays and I'm expected to go through the setup procedure, but my touch screen is rotated and I can't get through the setup. For example, swiping in from the right-hand edge, brings down the notification/status window from the top of the screen. Shall I post a photo? It still seems like my tablet is behaving differently to yours.
[Device Reviews and Information] uncleabubear:
Connect an otg cable and a wired mouse
[Device Reviews and Information] RobBrownNZ:
OK, did that. Now I've completed the setup (LineageOS only, I haven't installed GApps yet), but my touchscreen is still rotated.

One other strange thing... In "storage" it says that my internal shared storage is only 4GB, and I'm using 1.03GB of it.

Please don't think I'm complaining... I'm kind of enjoying this and hopefully my feedback is useful :)
[Device Reviews and Information] Alberto96:
It seems so, i really hope that CHUWI is not using different touch panels since my build is working correctly on mine. :eek:
[Device Reviews and Information] Alberto96:
You messed up the data partition with all previous tests. Restart from SP Flash Tool, root and TWRP not necessary to get the GSI to boot.
[Device Reviews and Information] RobBrownNZ:
Indeed! By the way, from Emoclaw's comment I deleted /system/priv_app/TouchScreen to see what would happen. The answer is "nothing that I could see". I've now put it back.

Are you showing 64GB of storage?

It's late now but I'll get as much info as I can about the touch panel tomorrow and post it here.

Another side comment, it seems that Chuwi or whoever have set the kernel log buffer size really small so we can't get a proper log from the start of boot. Frustrating.
[Device Reviews and Information] Alberto96:
I am uploading a new build that should work out of the box for everyone. As regards the internal storage, it is showing 64GB (or well, the highest possible without system partitions) there.

new system.img: https://www.androidfilehost.com/?fid=5862345805528051251
[Device Reviews and Information] Palm Trees:
If more people submit device info either via the app (https://play.google.com/store/apps/details?id=ru.andr7e.deviceinfohw&hl=en) or manually check it, we can figure out whether Chuwi is using different panels.

[MENTION=2386505]Alberto96[/MENTION] - did your Hi9 Air ship with touch panel "gsl3680"? http://deviceinfohw.ru/devices/variants.php?model=Hi9Air&set_brand=CHUWI&set_vendor=techain
[Device Reviews and Information] Alberto96:
Nah i think the issue was caused by that crappy Touchscreen app included in phh-treble builds, i am pretty sure it is working fine for everyone right now since i removed it by default. Still, i am waiting for [MENTION=3293049]RobBrownNZ[/MENTION] feedback as a confirm.

About the touchscreen model, yes, same panel on mine.
[Device Reviews and Information] 7inchTab:
Attached via cellular in Colorado
[Device Reviews and Information] LUYULKMOIO:
As I said, the project treble GSI, don't not enough, it also needed a developer to customize the GSI on our (CHUWI Hi9 AIR).

Thank you very much Alberto96, now we will have one more chance to improve this tablet and can also be to have other developers.
[Device Reviews and Information] RobBrownNZ:
Same touchscreen model (gsl3680) on mine as well.

Still working on the install, it's failed a few times for me so far (endless LineageOS boot animation).
[Device Reviews and Information] RobBrownNZ:
I can't get the new image to boot. I can boot yesterday's reliably (with the rotated touchscreen) but today's won't boot at all. I've pasted a rather large logcat at https://pastebin.com/ynNpjFMf if you're interested. The first 1000 lines or so are mostly audio configuration but after that it's all sorts of failures. The failures were repeating with period of roughly 1500 lines of logcat!

I've done all sorts of playing about but the simplest description of my state at the moment is:

1) Enter fastboot, flash yesterdays' image -> boot succeeds, touchscreen is rotated

2) Enter fastboot, flash today's image -> stuck on LineageOS booting animation with repeating errors in logcat.
[Device Reviews and Information] RobBrownNZ:
[MENTION=2386505]Alberto96[/MENTION], could you please update your android_frameworks_native repo with your latest changes? I'd like to build it myself and see if I can help to solve my own problems. Thanks!
[Device Reviews and Information] Who3D:
2018-07-19

I hope they ARE working on a fix for this, but as of July 19th it seems to still be a problem as my nice new CHUWI tablet has exactly this issue :(
[Device Reviews and Information] uncleabubear:
A new build release from Chuwi is overdue. Let’s hope you can whitelist after that.
[Device Reviews and Information] Alberto96:
LineageOS 15.1

This post will be dedicated to all releases. Please read everything carefully before proceeding with the install.​

Downloads:

v0.1 Fastboot ROM: https://www.androidfilehost.com/?fid=5862345805528051928

v0.2 Fastboot ROM: https://www.androidfilehost.com/?fid=5862345805528055015

Magisk for Treble: https://github.com/Jerry981028/Magisk

Google Apps (choose ARM64 and 8.1, the package variant is up to you): https://opengapps.org/

The ROM includes my TWRP 3.2.2 by default

HOW-TO Install:

If you are a Windows User, be sure to have all ADB/Fastboot drivers and tools installed. For Linux, just the tools.

Flash the latest Stock ROM using SP Flash Tool and unlock the bootloader.

Turn on (or reboot, as you prefer) the tablet into fastboot mode (Volume up + Power, a boot menu will appear, choose fastboot mode and confirm with the Volume down button)

Connect it to your PC/Laptop/Whatever (of course)

Run the included script (flash_all.sh for Linux, flash_all.bat for Windows) to start the installation process

Done, the tablet will reboot automatically into LineageOS.

NOTE: If you need Google Apps and/or Magisk, just reboot into recovery mode, wipe data/factory reset, install what you need, and reboot again. No extra steps required in between, just follow the order.

Current bugs:

- Animations are not 100% smooth just like the whole UI

- Default orientation is in portrait mode but the touchscreen and accelerometer will handle it properly

- Sometimes it glitches during the setup wizard requiring an hard reboot

- Built-in LineageOS Browser doesn't work

- Current builds cause a partition size bug (userdata, 4GB only). Please "Format /data" (no wipe) after installation in order to fix it

- Several issues with Google Apps (Play Services keeps crashing due to library issues). Any variant (like pico, nano...) that doesn't include Webview causes Google Setup Wizard to get into a ~ black screen.

Changelog:

v0.2:

- Massive performance improvements

- Enabled FM Radio (untested)

- Disabled animations by default in order to avoid any possible glitch

- Fixed Open Gapps Stock package installation bug (no space left message)

- Other minor fixes here and there

Additions made to improve the device:

- Certified Fingerprint to pass SafetyNet (as long as you also install Magisk)
[Device Reviews and Information] Alberto96:
[MENTION=3293049]RobBrownNZ[/MENTION] This new build should work for everyone so...let me know :)
[Device Reviews and Information] RobBrownNZ:
Much closer!

- Booted successfully to LineageOS

- Glitched twice during setup, completed on 3rd attempt

- only 4GB storage

- formatted /data

- Glitched 6 times during setup, completed on 7th attempt.

- Now I have 64GB storage

- Rooted with Magisk (not the main 16.0 release! It needs to be the 16.6 "Magisk for Treble" from Jerry981028)

My problem now is that I can't flash OpenGApps. I've MD5summed the file and it's correct. Flashing in TWRP fails with:

ERROR 64: Wrong architecture to set-up Open Gapps' pre-bundled busybox
Updater process ended with ERROR: 1
Error installing zip file '/sdcard/Download/open_gapps-arm64-8.1-nano-20180705.zip'

This may be an instance of https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1070 so I'll keep digging.
[Device Reviews and Information] Opmovers:
CHUWI Hi9 Air custom roms in DIRE NEED!

Since i am now stuck with it and its laggy bug ridden failed attempt of a rom. I am praying one of my heroes at XDA will save this diamond in the rough of a tablet.
[Device Reviews and Information] ollm:
I'm having trouble flashing TWRP.

The first time I flashed TWRP I did it correctly, but when I started the tablet it always turned on TWRP and I could not go out, restarting in normal mode did not work either, at the end I decided from TWRP to flash the recovery "O00623 release-keys 20180604" on the tablet, after this I start normally.

Now I am trying to flash TWRP again but it does not work anymore, fastboot does not return any error, but when restarting in recovery the original recovery appears.

The compilation number of my tablet is: O00623 release-keys 201806162

Thanks.

$ fastboot flash recovery twrp-3.2.2-1-Hi9Air.img
target reported max download size of 134217728 bytes
sending 'recovery' (11623 KB)...
OKAY [ 0.490s]
writing 'recovery'...
OKAY [ 0.197s]
finished. total time: 0.686s
[Device Reviews and Information] Alberto96:
You can't reboot the system normally after flashing TWRP otherwise the stock one will be reinstalled. If you want to keep TWRP after a reboot, you need to install Magisk first or do some modifications to the system partition.

As soon as you flash TWRP, you have to reboot the device directly into recovery mode to have proper access to it.
[Device Reviews and Information] Alberto96:
Wow so many glitches, i hope to solve them somehow.

About the Google Apps issue, that's really really odd. I need to test some workarounds and tell you later how to fix that.
[Device Reviews and Information] Alberto96:
For those facing issues with Open Gapps (and probably other flashable zips), you will find an updated TWRP here: https://xdaforums.com/showpost.php?p=77079814&postcount=332
[Device Reviews and Information] Emoclaw:
Google Play services FCs when trying to add a Google account. This happens regardless of how I attempt to add it (first time setup, play store, settings). It's also stuck on the typical Google loading screen when adding an account, only that there is no text, and the back button disappears while that activity is in the foreground (reappears once I click Home). logcat attached below.

I also found that the data partition size issue is fixed by using Resize from the advanced wipe menu in TWRP, no need to format it.
[Device Reviews and Information] ollm:
I followed your institutions and I have already been able to access the TWRP recovery and root the device ;)

Thank you very much for the help.
[Device Reviews and Information] Opmovers:
in TWRP, did you remember to mount system so its NOT read only? sometimes i have to do this several times just before flashing Gapps.

I'm actually having an issue with gapps AFTER flashing, After successful boot up. just as soon as gapps tries to link google account, screen goes black. few icons left in navbar, 0 functionality other than shutdown. its really annoying. Hopefully im not the only one with this issue and a fix is on route.

---------- Post added at 10:56 PM ---------- Previous post was at 10:46 PM ----------

Here's where i am so far:

flash lineage 15.1 - good

flashed Gapps (arm 64, 8.1, nano) - good

reboot to system - good

Setup wizard - fail

>> connected to wifi - good

>> connected to LTE - good

>> associating google account - fail

>>>>>>>>>>> screen goes black, back button visible, cellular signal, wifi, time icons visible. Only thing working at this point however is the hardware buttons. But screen is still responding to touch.

note: i have not bothered trying it with magisk flashed or the "add on su" from lineage official website.
[Device Reviews and Information] Alberto96:
I don't know yet what is causing Google Apps to fail, if you can provide me some logs it would be helpful.
[Device Reviews and Information] Opmovers:
how do i get the logs exactly? or which folder should i find them?
[Device Reviews and Information] uncleabubear:
Try pico gapps
[Device Reviews and Information] Opmovers:
Open Gapps issues

Has anyone successfully flashed lineage and gapps onto the hi9 air, AND complete the setup wizard with google account associated properly?

Finally with pico or nano flashed, i still get no further than the connectivity portion of setup wizard.

Google play services starts crashing. and google pixel setup starts crashing.. which i thought was strange.

Please only reply with suggestions If you have been more successful. OR if someone could tell me how/which/where are the log files needed to assist our fantastic devs!

cheers
[Device Reviews and Information] RobBrownNZ:
I've got the black screen as well (it seems that my tablet is hell-bent on not working properly!).

I got the same problem with the pico, nano, and micro packages.

I've attached two logs in the zip file: blackscreen.logcat is when I tried to set up LineageOS as a new device, blackscreen2.logcat is when I tried to restore from a cloud backup. Both logs mention problems with webview, I wonder if that's a clue?

From blackscreen.logcat:

WebViewUpdater: creating relro file timed out
WebViewFactory: Chromium WebView package does not exist
WebViewFactory: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to load WebView provider: No WebView installed

From blackscreen2.logcat:

WebViewUpdater: com.android.server.webkit.WebViewUpdater$WebViewPackageMissingException: Could not find a loadable WebView package
[Device Reviews and Information] RobBrownNZ:
A couple more data points, the black screen still occurs with the Stock OpenGapps package, and with WiFi disabled (actually I can't disable it but I blacklisted it in my router so the tablet was using mobile data).
[Device Reviews and Information] Alberto96:
As regards the black screen, I can confirm you that it is related to the missing webview package. I guess my GSI doesn't include the open source webview so it causes a failure. If you install the stock package, I think you will get a webview package installed, as written here: https://github.com/opengapps/opengapps/wiki/Package-Comparison
[Device Reviews and Information] Alberto96:
Oh, it was written there xD

I need to check what is going on then.
[Device Reviews and Information] Alberto96:
LineageOS 15.1 v0.2 build is up: https://xdaforums.com/showpost.php?p=77112338&postcount=359

Big improvements still have to be made, working with Treble without any official documentation from Google is exhausting, even though the project is currently based on phh-treble repositories.