yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] bigwigs:
Superuser icon is disabled so it means phone is not rooted.

Well, you can run commands again and share errors so we can try to help .

First you need to make sure your bootloader is unlocked .

Check the instructions here , each step is separate- https://github.com/aimindseye/hisense-a9/tree/main

Make sure you have downloaded custom fastboot created by @dferreira otherwise unlock bootloader commands won’t work.
[Android Q&A, Help & Troubleshooting] jixbo:
So I went abroad today, and can't get data while roaming. I've got "Connect to date when roaming" enabled, tried rebooting and all that... Haven't found any other useful settings.

Any ideas??

Thanks!!
[Android Q&A, Help & Troubleshooting] bigwigs:
Would recommend to go to https://www.cellmapper.net and check the mobile network you are roaming with, has coverage in the area and bands available that are compatible with Hisense a9
[Android Q&A, Help & Troubleshooting] treff89:
Try pressing Install next to Magisk near the top (not App), and follow the prompts, then restart.
[Android Q&A, Help & Troubleshooting] dferreira:
Just an update: even though I added those properties to device.mk, the recompiled build failed to load. I haven't been able to look into it since the weekend. I'm hoping that I'll have some time this weekend to wrap this up. I feel I'm close, everything else is in place except for this issue.
[Android Q&A, Help & Troubleshooting] treff89:
Just had a quick look into it. According to https://stackoverflow.com/questions/30432647/abort-message-couldnt-find-an-opengl-es-implementation , certain libraries are expected to be found in /vendor and /system. Have you tried copying those over?

In my stock ROM, /vendor/lib/egl has a few files including libGLESv2_adreno.so , libGLESv1_CM_adreno.so, libEGL_adreno.so ... let me know if you'd like those sent to you.

Before doing that reading, I wondered if perhaps sdm662 support had potentially been dropped between LOS20-21, and maybe you could try identifying as sdm660.
[Android Q&A, Help & Troubleshooting] dferreira:
Hum… these should be available via the GSI vendor mounts as they were with LOS20, right? What is interesting is that AndyYan LOS21 does boot up, and so does damianmqr - so I’m missing something when using AndyYan sources. If his gsi is built and works with the same source, so should mine.
[Android Q&A, Help & Troubleshooting] bartelbertse:
Thank you for the insights and advice. I'll try again. I'm using a normal USB-A > USB-C cable. Can this be the problem? I see it mentioned that an EDL cable is recommended.

I will log my process below for the parts I think could be worth sharing to make sure it goes well this time:

First question: How can I verify that this fastboot is from @DFERREIRA? The phone definitely went into fastboot mode in my first attempt.

Also; I don't understand this: "Optional: download the Magisk version from LiteGapps on SourceForge. Choose from the folders depending on how many Google Apps you wish to install."

Is there a limit to the amount of Google Apps I can install once the phone is rooted? I ignored this because it says optional.

I'm running the boot.img through Magisk > Install (not app) > Select and Patch a File > I press the boot.img (I transferred it to my phone using the Telegram messaging app) > Let's Go >

I'm getting the following result:

Actually now that I made it till this step I am assuming that accidentallydid the rooting process with the original boot.img instead of the boot.img that I ran through magisk

See here what I did in the Terminal:

Strange thing now. I finished rebooting but I was not asked to wipe all data and I am now back in my phone with the Superuser icon enabled inside Magisk. So was it possible to do this full rooting process without having my full phone wiped? I am assuming this is because the commands that wiped my data already happened succesfully in my first attempt of rooting the phone.

So now, which [MAGISK]-gapps.zip file should I download?

This step is a little unclear to me. I have a Magisk-master.zip from somewhere. It gives the following error:

I also unpacked it but then I don't known which file from the zip I should install. What module should I install? Or am I doing it correctly and should I simply reboot now? I tried that but I am not sure much changed. Google Play Store is still not working.
[Android Q&A, Help & Troubleshooting] bigwigs:
Have u tried building with just Andy Yan’s latest code without your changes and check if it works or not?

If that’s working then maybe it is code merge or addition that’s causing issues.

If you share the code , I can try building .

I will also try building latest Andy Yan’s code and see if I face issues .

I had built img couple of months ago so will need to see if the code is there or not.
[Android Q&A, Help & Troubleshooting] bigwigs:
First question: How can I verify that this fastboot is from @dferreira? The phone definitely went into fastboot mode in my first attempt.

If it is not fastboot from @dferreira then Hisense unlock command won’t work.

Otherwise you should be good.
[Android Q&A, Help & Troubleshooting] bartelbertse:
Thanks! Then I am using the correct one. I have the full process of my second attempt of rooting logged in the same message that you responded here now. Can you notice anything I did wrong? Or is it all correct and do I simply have a few steps left to go?
[Android Q&A, Help & Troubleshooting] bigwigs:
Strange thing now. I finished rebooting but I was not asked to wipe all data and I am now back in my phone with the Superuser icon enabled inside Magisk. <-- so you have root option now.

You need to download appropriate Magisk-apps version now.
[Android Q&A, Help & Troubleshooting] ferlanero:
I just received a second-hand A9 ready to try out the new LOS coming out from @dferreira's kitchen 😊
[Android Q&A, Help & Troubleshooting] biodbl:
@bigwigs I noticed that LOS20 is vibrating on alarms and calls, but weak.

Is it possible to increase the intensity?

Is yours vibrating too?
[Android Q&A, Help & Troubleshooting] bigwigs:
I dont have LOS20 installed. Im back to stock rom and not using the phone at all.
[Android Q&A, Help & Troubleshooting] bigwigs:
I built system image from latest Lineage 21 OS using Andy Yan's scripts - https://github.com/AndyCGYan/lineage_build_unified

It seems there is an issue with code as phone was stuck in boot so had to revert back to stock rom.
[Android Q&A, Help & Troubleshooting] biodbl:
So, we need some help from @damianmqr with LOS 21. I believe Soon he will
[Android Q&A, Help & Troubleshooting] dferreira:
Yes, that's what happens on my side too :) LOS21 built from source is not working.
[Android Q&A, Help & Troubleshooting] dferreira:
Yes, this is because we don't have the overlay with adjustable vibration support enabled. I've enabled them on my LOS21.
[Android Q&A, Help & Troubleshooting] ferlanero:
And is there a possible solution? Will I be able to test your LOS21 on another A9?
[Android Q&A, Help & Troubleshooting] bigwigs:
Did u see the file size difference too? I had build from feb and now yesterday the difference was almost 1gb.
[Android Q&A, Help & Troubleshooting] dferreira:
Honestly, at this point, and after spending the whole day trying to figure this out, I'm gonna go back to LOS20. It's more mature source base. It's not the latest, but seems that treble is borked on LOS21 using the latest sources. I'm even getting errors when syncing the repos at the moment. I rather have a functional phone than a borked one. So what I'll do is to go back to LOS20 and fix the missing things there:

-- Always On Display

-- Configurable vibration

-- USB OTG

-- Latest Eink Center
[Android Q&A, Help & Troubleshooting] dferreira:
Yes, and that to me means LOS21 is not a good base to build on as there is a LOT changing.
[Android Q&A, Help & Troubleshooting] scarletya:
Thank you for including usb otg support !

And if you could have little more time, could you mind check the LTE signal issue of LOS ?

I found it is not an only problem for volte, it is shown that whole LTE signal drops randomly, for a few seconds.

Call drop was also shown when I use alternative call methods like telegram call , it shows a few second signal disconnect and then gets back, it repeats.

So I concluded it is LTE signal issue itself not an VOLTE only.

21 definitely had the issue, and some of here seems that 20 also has..

And I found in LOS 21 slipt screen for showing two apps, get broken.

When I try to open two apps at same time, trebuchet stops and so does system.

It would be fantastic if it gonna work well in LOS 20..
[Android Q&A, Help & Troubleshooting] bartelbertse:
I struggle with this step. I believe I have the right version of Magisk with the v27.0. from this github source. Only where to get what I have to upload into the module option is vague to me. Trying to figure it out. I found 3 potentially functional zip files. Going to test case with these. I think the MagiskGApps-a.13 is not it because this one is talking about Android 13 while the Hisense is in android 11. After putting all 3 into Magisk, Google Play Store doesn't seem to work still. I'd like to have that working because the manually updating each app one by one through the APKpure is quite annoying. That is what I have been needing to do so far. Just to test-case; YouTube works, Google Maps doesn't. Location services don't in general. No idea if YouTube worked before the root. Not an app I am using actually. I'm considering to wipe all data again because I feel like that is missing. I am not able to uninstall Google Play Services or Google Play Store now for some reason.

One question; Can I already set-up my phone fully where this doesn't involve google services now? Because I already passed the phase where I had to wipe all my data. This would be quite convenient to be able to use the phone already while setting it up further
[Android Q&A, Help & Troubleshooting] artelse:
After you fixed those issues, is it possible to make a Googless build on top?
[Android Q&A, Help & Troubleshooting] dferreira:
Android 14 native AOD 😉 more soon!
[Android Q&A, Help & Troubleshooting] bigwigs:
You need use modules option magisk app to install magisk-apps etc without unzipping. The Google store should work fine.
[Android Q&A, Help & Troubleshooting] bartelbertse:
My location services for OpenStreetMap are not working either (never have worked). I hope this is also solved after I'm fully rooted.

Interesting to see that an Android 14 version is coming.

I installed 2 modules. The third one, which I think is the important one, is failing when I try installing it. I am installing it straight from the recommended site. Magisk version. And uploading it to the module section in the magisk app as a zip.

If this isn't the right magisk-app I don't know which one it should be.
[Android Q&A, Help & Troubleshooting] bigwigs:
You have chose incorrect version of magisk app.

Im attaching the files i have used.
[Android Q&A, Help & Troubleshooting] CataclysmX:
Hi,

is having an issue with my Hisense A9 :

The Play Store rom supplied with the purchase didn't work, so I switched to LineageOS.

Now I've gone back to the L2023 6.04.06.00 version, but I can't update to the latest version, anyone got any ideas?
[Android Q&A, Help & Troubleshooting] bartelbertse:
Amazing! Tnx a lot. A step further :) Open Street Map location services and Google Play Services are working now.

Still pending:

- Google Play Store isn't working for some reason. I tried reinstalling it a few times. The app crashes straight after opening, before loading. A lot of apps, such as TooGoodToGo and ChatGPT, seem dependent on this app to function.

- I tried installing different sources of trichrome.apk. The phone software seems to be blocking this. I was hoping trichrome could solve the issue as mentioned in the rooting instructions.

- Some apps that worked perfectly before rooting are not working perfectly now, such as the Brave Browser. These apps crash shortly after opening them.
[Android Q&A, Help & Troubleshooting] bigwigs:
Download playstore from apkpure
[Android Q&A, Help & Troubleshooting] bigwigs:
R u getting any error? How did u restore to stock rom? I have done it multiple times and haven’t any issues from updating 06.00 to last version .08.01
[Android Q&A, Help & Troubleshooting] CataclysmX:
Hi,

no error, just : “install failed” message
[Android Q&A, Help & Troubleshooting] bartelbertse:
I tried. That was my first go to for the download. Also crashes immediately after opening. Any idea why I can't manage to install the trichrome also? Image attached is the last step I can do. After pressing continue the process crashes. This is an APK that was reffered to in the rooting instructions. Similar situation when I use APKpure.

Or any other way to use ChatGPT in a nice environment (better environment than browser). That is the most important app to me that is not working now.
[Android Q&A, Help & Troubleshooting] bigwigs:
try rebooting and then it will install. It happens once during one of upgrades.
[Android Q&A, Help & Troubleshooting] artelse:
Geolocation error: User denied Geolocation.

This is on stock rom, magisk, zygisk, no gapps. Location app permissions allowed.

Any idea how to enable geolocation?
[Android Q&A, Help & Troubleshooting] CataclysmX:
I've already rebooted and nothing more
[Android Q&A, Help & Troubleshooting] bigwigs:
Maybe try restoring to stock rom from another source. I had seen some posts where some were unable to update their phones.
[Android Q&A, Help & Troubleshooting] bigwigs:
i have not needed trichome.apk as i never experienced crashes. so can't help
[Android Q&A, Help & Troubleshooting] vbhai:
This can already be enabled through the treble settings in the GSI which has phhusson’s mods.

Could you please detail what you did to fix the vibration? I keep seeing in your upcoming changes that you’ve added vibration strength settings.

Also, if the build for Lineage 21 is failing, there’s always the option to just download the ROM and apply your changes that way instead of building from source. Just an idea. I’m aware that you want to build from source to aid in your learning.

You can maybe experimenting with building Ponce’s AOSP Android 14 build from source if you want Android 14 specifically.
[Android Q&A, Help & Troubleshooting] bigwigs:
I tried building image using https://github.com/AndyCGYan/lineage_build_unified earlier but was not able to load it.

Have u tried Andy Yan's gsi builds? - https://sourceforge.net/projects/andyyan-gsi/files/lineage-21-td/
[Android Q&A, Help & Troubleshooting] scarletya:
As VOLTE signal instability is getting worse, I need to roll back to stock rom..

Is there anyone who can share the stock rom img ?

I dont have edl cable right now,(ordered it but it will take weeks to get) so if there is any stock rom flashable by ADB, please let me know.
[Android Q&A, Help & Troubleshooting] dferreira:
The vibration is fixed by adding this to the overlay:

https://review.lineageos.org/c/LineageOS/android_device_xiaomi_onclite/+/351035/3/overlay/packages/apps/Settings/res/values/config.xml

<bool name="config_vibration_supports_multiple_intensities">true</bool>

I'm actually currently running TrebleDroid AOSP Android 14, no Google Apps installed as I was testing the overlay settings to bring features supported. I just haven't had time to work on this since the weekend. I'll get back to it soon. Just been busy with work and family atm.
[Android Q&A, Help & Troubleshooting] bigwigs:
You can download stock rom files from link provided here - https://github.com/aimindseye/hisense-a9

along with qdl and edl tools.

I have been able to restore to stock rom using Linux without edl cable .

hisense-a9/flashstockrom.md at main · aimindseye/hisense-a9

Contribute to aimindseye/hisense-a9 development by creating an account on GitHub.

github.com

If qdl gives u issues then check this thread , recently someone used a script without qdl .
[Android Q&A, Help & Troubleshooting] damianmqr:
You don't need it if your phone boots into the OS. Just use adb reboot edl and a regular usb cable which will work just as well as an EDL cable (EDL cable is just a usb cable with a button to cross two wires for a second and that's only needed to boot directly into EDL if you can't access adb).
[Android Q&A, Help & Troubleshooting] biodbl:
Anyone knows about the stock ROM that has google play from Hisense?

In the site of Hisense says that newer Hisense a9 has Gapps.

Hisense A9 PRO E INK Smartphone with Google Play

Display: E INK Carta 1200 Screen Size: 6.1 Resolution: 824×1648 PPI: 300 WACOM Active Digitizer: No Front Light – Yes Color Temperature – Yes Processor: Snapdragon 662 RAM: 8GB Internal Storage：256GB Physical Page Turn Buttons: No Micro SD: Yes (128GB) WIFI: Yes Cellular: 4G/LTE Operating...

hisenseeink.com
[Android Q&A, Help & Troubleshooting] vbhai:
Well, when I try to rebuild the overlay, I get this error:

Fatal: ./Hisense/HLTE556N/res/values/config.xml: defines a non-existing attribute config_vibration_supports_multiple_intensities

Can you share the overlay if you've compiled it already?

EDIT: Nevermind. It compiled it anyway despite the test throwing an error.
[Android Q&A, Help & Troubleshooting] bigwigs:
Don’t think there is any other stock rom than the one @dferreira got and shared with all of us. Hisenseeink.com is not official website but run by some scammers. Check out posts on Reddit.
[Android Q&A, Help & Troubleshooting] bigwigs:
Which code line are u using? I’m still not able to load image from Andy Yan’s repository. It gets stuck in audio driver issue.
[Android Q&A, Help & Troubleshooting] vbhai:
Mate, I am just following this to create the overlay for the Hisense:

How to create an overlay?

Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.

github.com

Then I'll just add the built overlay in the same folder as the script by @damianmqr and then patch the latest Lineage 21 build by Andy Yan.
[Android Q&A, Help & Troubleshooting] dferreira:
It's a modified stock system partition that includes a broken Google Play...
[Android Q&A, Help & Troubleshooting] bigwigs:
Ok, let me know if it is successful. Can u pls share ur img file?
[Android Q&A, Help & Troubleshooting] vbhai:
Sure, there you go:

I just rebuilt the overlay with the bool value that @dferreira shared and added that to the Lineage 21 build.

For me, the only thing that I was mainly concerned about was the vibration. Seems like the flag fixes the vibration.

I'm still testing it.

Edit: Sorry, the upload failed for some reason. I'll upload it again in a wee bit.

Edit2: Attached the Lineage 21 ROM here with the overlay with the vibration bool value added. Use at your own risk. I have not tested it properly yet. Also attaching the individual compiled overlay if you want to just edit your own ROMs.

Edit3: Probably refrain from flashing this. It is going into a weird bootloop whenever I connect to WiFi.
[Android Q&A, Help & Troubleshooting] damianmqr:
One issue with it might be that the script won't override the file if it already exists, it's an easy fix to change and I will push it with some more changes later today or tmrw. But until then you should be able to just remove the "if [ ! -f "${TARGET_FILE_OVERLAY}" ]" condition in the script to make it work.
[Android Q&A, Help & Troubleshooting] vbhai:
I downloaded a clean GSI ROM from Andy Yan's sourceforge and replaced the overlay in your folder with the one I compiled now. So, I think your script worked fine in this scenario.
[Android Q&A, Help & Troubleshooting] vbhai:
Patched Ponce's AOSP build for Android 14 and it works fine. Attached it here if someone wants to play around with it. Vibration is working fine. Thanks @dferreira!

Edit: Longer vibrations like the ones on incoming calls, etc are still not working fine...
[Android Q&A, Help & Troubleshooting] dferreira:
I got it now. That previous setting was for LOS20. LOS21 uses these. So add this to the overlay so it works with both:

<integer name="config_vibration_supported_intensity_levels">3</integer>
<!-- Vibrator pattern for feedback about a long screen/key press -->
<integer-array name="config_longPressVibePattern">
<item>0</item>
<item>14</item>
<item>20</item>
</integer-array>

<!-- Vibrator pattern for feedback about touching a virtual key -->
<integer-array name="config_virtualKeyVibePattern">
<item>0</item>
<item>10</item>
<item>20</item>
</integer-array>

<!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
<integer-array name="config_keyboardTapVibePattern">
<item>20</item>
</integer-array>
[Android Q&A, Help & Troubleshooting] dferreira:
LOS21 is currently broken and would stay away from it. A lot of things are changing there.
[Android Q&A, Help & Troubleshooting] benru89:
Hi! i just received my A9 yesterday, i ve been following the thread for a while, but im a bit lost regarding what rom should i flash. Should i wait for dferreira's build? i guess i can start unlocking the bootloader and thas all right? then i should be able to flash any of the roms posted in the thread?
[Android Q&A, Help & Troubleshooting] dferreira:
Make sure you are on the latest official ROM before anything. Also make a backup of your device using EDL so you can restore it in case you want to go back to stock! Then unlock the bootloader. You don't necessarily need to root the device (flashing boot.img that has been patched by Magisk).
[Android Q&A, Help & Troubleshooting] vbhai:
Did you test this on your own device? Because it does not work for me on my device. Haven’t tried on LOS 20. Tried on AOSP and it didn’t work on it.
[Android Q&A, Help & Troubleshooting] dferreira:
Hum may not be available on AOSP 🤔 works on LOS20...
[Android Q&A, Help & Troubleshooting] dferreira:
What I'm thinking is we may have to use QTI instead of the standard vibration for AOSP:

https://review.lineageos.org/c/LineageOS/android_device_xiaomi_sdm845-common/+/389684
[Android Q&A, Help & Troubleshooting] vbhai:
Longer vibration works on LOS20? If that’s the case, I don’t care about A14 and will just use LOS 20.
[Android Q&A, Help & Troubleshooting] vbhai:
Nope, does not work on LOS20 for me.

Short vibrations are fine. Long vibrations like those for incoming calls do not work. AAAAAAAAAAA.
[Android Q&A, Help & Troubleshooting] dferreira:
Just tested this on my device, and you are correct, long vibrations are not working 🤨 will test if QTI works (seems it’s what qualcomm chipsets use). A9, our device is a qualcomm snapdragon device so I’m thinking we need this set as the vibration source and not the native vibration driver. I saw on LineageOS source many snapdragon devices use qti instead of android vibration. I think Treble has an overlay for a xiaomi snapdragon to address this so may be a place to look what they do there and bring it to the hisense overlay to test!
[Android Q&A, Help & Troubleshooting] artelse:
Interesting review of /e/OS, the de-googled LineageOS on wired.
[Android Q&A, Help & Troubleshooting] dferreira:
Isn’t e/OS based of AOSP? LineageOS is by default deGoogled btw.
[Android Q&A, Help & Troubleshooting] artelse:
Wikipedia says:

/e/OS, ehemals /e/, ist ein Google-freies, auf LineageOS basierendes Betriebssystem für Smartphones und Tablets mit eigenen Webdiensten, das vom französischen Softwareentwickler und Gründer der Linux-Distribution Mandrake, Gaël Duval, ins Leben gerufen wurde.
[Android Q&A, Help & Troubleshooting] artelse:
@dferreira On their website they say:

/e/OS consists of:

an installable mobile operating system for smartphones, which is forked from LineageOS/AOSP, and completely “deGoogled”

So.. a mix of both or ?
[Android Q&A, Help & Troubleshooting] scarletya:
I'm trying to install stock by EDL but I'm stucked

In the guide, I should have rawprogram files but I can find it.

How can I get the rawprogram files?

Guide doesn't include about it
[Android Q&A, Help & Troubleshooting] scarletya:
I tried... I got stock rom file but I could't find rawprogram files..

Is there anyway to get this?