yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] dferreira:
Sadly, Hisense A5 Pro CC is Android 9, which doesn't use the latest partition signing for validating a legit ROM installation. When we flash using EDL the A5 a boot.img with Magisk, it just takes it, no complains. In our device, we are on Android 11, and if we modify the boot.img file, the signature of the file changes and then the device doesn't boot. We need to unlock the bootloader first, before we can run custom signed boot.img (this I have already prepared). But thanks :)
[Android Q&A, Help & Troubleshooting] gamba66:
It seems you are so close.

Please believe me there are a lot of a9 owners rooting for you (pun intended). Dont give up :)
[Android Q&A, Help & Troubleshooting] Segnaro:
You could try compiling your own fastboot to add Hisense commands. Here's an example where someone added a custom "bbk" command.

GitHub - naveensingh/vivo_fastboot: Modified fastboot sources to unlock vivo (bbk) phones

Modified fastboot sources to unlock vivo (bbk) phones - naveensingh/vivo_fastboot

github.com
[Android Q&A, Help & Troubleshooting] Renate:
Hacking and modding is easy. It's getting around Secure Boot that is the problem.

Wow! I want to buy one of these (which have Secure Boot turned off).
[Android Q&A, Help & Troubleshooting] dferreira:
Thanks. Time for a custom fastboot for HIsense :)
[Android Q&A, Help & Troubleshooting] dferreira:
Don't worry. I'm persistent.
[Android Q&A, Help & Troubleshooting] Renate:
Just to double check if this really has Secure Boot enabled...

Here is a copy of that prog_firehose_ddr_001360E1.elf that has a minor spelling change (patch => potch) and has been rehashed (but not resigned).

Could someone try to see if they can load this Firehose loader in EDL?

It will probably stop loading at ~7%. If it doesn't, you can celebrate.
[Android Q&A, Help & Troubleshooting] Segnaro:
Found EDL 9008

Serial: 0b1d7e5e

HWID: 0014d0e100430000, QC: 0014d0e1, OEM: 0043, Model: 0000

Hash: 56d3f3c74a52172b-18ca2297db00f3fe-ebd23cdfc77decfb-34268abca09d9075

Sending prog_potch.bin 1%

Could not read device
[Android Q&A, Help & Troubleshooting] dferreira:
Sorry my ignorence, what is this testing?
[Android Q&A, Help & Troubleshooting] Renate:
It's just double-checking that Secure Boot is actually enabled. And it is.

If Secure Boot is not enabled it still checks the hashes, but doesn't check the signing.

And 100 * (4096 + 7384) / 638972 = 1 (and change) percent.

I don't know what I was thinking with 7%.
[Android Q&A, Help & Troubleshooting] Renate:
Eureka! I finally figured out a problem that's been bugging me.

No, this has no real effect on the goal of this thread, but it will make matching Firehose loaders to devices easier.

If someone could download the latest version (in the last 5 minutes, size 153,088 bytes) of my edl.exe and load the normal Firehose loader that you've been using.

C:\>edl /lprog_firehose_ddr_001360E1.elf
C:\>edl /z

It should print out: 56d3f3c74a52172b 18ca2297db00f3fe ebd23cdfc77decfb 34268abca09d9075 f89b18f87610ef3f e67f948d4bdf4501 (x3)

Thank you!

Edit: There's an even newer version on September 6. It's actually the same size. Just download a new version.
[Android Q&A, Help & Troubleshooting] Segnaro:
Found EDL 9008
Serial: 0b1d7e5e
HWID: 0014d0e100430000, QC: 0014d0e1, OEM: 0043, Model: 0000
Hash: 56d3f3c74a52172b-18ca2297db00f3fe-ebd23cdfc77decfb-34268abca09d9075-f89b18f87610ef3f-e67f948d4bdf4501 (x3)
Sending prog_firehose_ddr_001360E1.elf 100% Ok
Waiting for Firehose... Ok
[Android Q&A, Help & Troubleshooting] dferreira:
I'm in the process of downloading AOSP (Android Open Source Project) so I can build the custom fastboot binary and add the commands we uncovered. I should be able to create a binary for Linux x86_64 (as that's my OS architecture). To run the compiled fastboot binary, you'll likely need a virtual machine if you are not running Linux. You can use VirtualBox and run Fedora 38 on it, and then allow access to the USB device (your phone) so that the virtual machine can see it with fastboot. I've been thinking if I could set up a web server where we could execute this command via Chrome, like GrapheneOS does it. This means you could use whatever OS and the command from Chrome/Edge.

With an unlocked bootloader, I could then get LineageOS ported. I've done it previously, it would be cool to be on the latest Android and debloated state. Would port the E Ink button software as well.
[Android Q&A, Help & Troubleshooting] dferreira:
Still going...
[Android Q&A, Help & Troubleshooting] dferreira:
It compiled fine, but then executing fastboot doesn't work...
[Android Q&A, Help & Troubleshooting] dferreira:
Hum... I think we need to do this on fastboot Android 11 sources. Using Android 4.4 sources like these examples, it executes but nothing appeared on the device:

We are close.
[Android Q&A, Help & Troubleshooting] dferreira:
OK, compiled fastboot from Android 11, added support for Hisense subcommand but still don't get the menu to show up.

it accepts Hisense unlock and Hisense unlockallow, if I add enable it doesn't work.
[Android Q&A, Help & Troubleshooting] dferreira:
WOW! It's UNLOCKED!
[Android Q&A, Help & Troubleshooting] dferreira:
AND IT WORKED! But... now my phone is on a boot loop :D
[Android Q&A, Help & Troubleshooting] dferreira:
Using EDL cable, I'm resetting the phone atm so that it boots again. But good news is, my bootloader is unlocked now!
[Android Q&A, Help & Troubleshooting] dferreira:
I think I'll add instructions on the app itself 😁
[Android Q&A, Help & Troubleshooting] dferreira:
On my phone, I've set a speed for System UI (pull the notification tray down and double press refresh to get the overlay and set speed to fast) and set the launcher speed (on the launcher screen). Like this, coming to the launcher presets the speed to fast for any app you don't have set a speed. But I think that is a good idea for a default preferred speed, especially after a fresh install. I'll add support for it!
[Android Q&A, Help & Troubleshooting] iCloud:
tried latest @sperhoooo build with AOD and I can say its definitely good. Would be great when screen is off, it displays the screen before that, like the function on stock Hisense rom. Useful for viewing notes and I personally prefer this feature on stock rom
[Android Q&A, Help & Troubleshooting] Homerzinho:
My phone sometimes loses touch. I have to restart for it to work again. Anybody with this problem?

--

I tried removing the screen protector that came with it. I don't know if it is or not a screen protector or just an adhesive. Will report after that. @dferreira rom is incredible!
[Android Q&A, Help & Troubleshooting] zxczxc4:
For me on dferreira's image (seems like that's what you're using too), I've had no touch issues.

This is with the matte screen protector on, which I assume the Chinese reseller installed themselves(?) - not sure if included from the factory.

(I did have an issue I mentioned earlier where using "gesture navigation" (no menu bar at the bottom), back gestures stopped working. But reverting to the menu bar, rebooting, and switching back to gesture navigation fixed that).
[Android Q&A, Help & Troubleshooting] dferreira:
First time hearing about this. I've been using this ROM for a while and have not had issues. Could be some debris on the display perhaps?

There was a discussion a while back about getting a replacement screen protection film. I've been happy with the one that came with the phone but at some point I know I'll need to replace it, especially now that this is my daily driver :D let us know if you found a good replacement that fits this device.

Thanks :love:
[Android Q&A, Help & Troubleshooting] artelse:
I posted this Brotect Glass protector that I use on the A5 which has much less glare that I like, gives a more paper like feel than the original one.
[Android Q&A, Help & Troubleshooting] dferreira:
Just not sure the size will fit the A9 display 🤔
[Android Q&A, Help & Troubleshooting] artelse:
These are for the A9!
[Android Q&A, Help & Troubleshooting] TrippyPrimate:
I've had similar issue but for me all I have to do is lock the phone then unlock it and its sorted, but not had it in a while tbh and no on Linage yet.

But also worth mentioning that when I charge my phone with a certain power brick/cable ruining of an inverter it really messes with my touch screen and pretty much always have to unplug it to use the touch screen, so maybe check if u only have the issue when charging.
[Android Q&A, Help & Troubleshooting] meh.:
So, I did a dumb dumb and got into a bootloop while downgrading Magisk incorrectly, I can't seem to get into fastboot mode for some reason, just either bootloop or recovery mode.

Just got an EDL cable but I do have some data I'd like to save from the phone if possible, does anyone have any advice on how to either get to fastboot mode (I've tried all key combinations I could find on this thread and other places online, they still either don't do anything or end up in recovery mode) or any EDL loader that would allow me to dump the storage?

Or I guess would restoring to stock with EDL keep the user data intact?

Gonna try the LineageOS builds after recovering the data.
[Android Q&A, Help & Troubleshooting] TrippyPrimate:
Will I lose all my data switching to lineage and how long roughly will it take to do and set everything up?

And do I need to do a backup I'm not to fussed if I lose all my data just don't want to brick phone.
[Android Q&A, Help & Troubleshooting] Homerzinho:
I have a Odin 2 pro and this happens when charging, but with the hisense I'm starting to suspect that it has something to do with humidity triggering multiple clicks at once.

A drop of water fell on the screen and it started misbehaving.
[Android Q&A, Help & Troubleshooting] oxscarr:
Same, I tried downgrading Magisk and now my Hisense Touch is stuck in a bootloop. I tried factory resetting via recovery mode but it just goes back to bootlooping.

Does anyone know how to get into fastboot mode from here? I don't have any data that I'd like to keep, just want my e-reader back to life lmao. Also if it requires the use of an EDL cable, is there a specific one I should be getting? Apologies for the plethora of questions!
[Android Q&A, Help & Troubleshooting] TrippyPrimate:
yh i have had issues with that before but defo related to that charger aswell.
[Android Q&A, Help & Troubleshooting] iCloud:
refer to my post, might take multiple tries to enter fastboot mode when you're bootloop. basically flash back the modified/clean boot to recover from bootlooping
[Android Q&A, Help & Troubleshooting] dferreira:
An EDL restore wipes the phone, including userdata partition.
[Android Q&A, Help & Troubleshooting] dferreira:
Any EDL cable works. You can try getting fastboot and flash a good boot.img (stock or good Magisk one)
[Android Q&A, Help & Troubleshooting] dferreira:
Yes, going to LineageOS first time you should wipe userdata (fastboot -w). Takes 4-5 minutes to install LineageOS. Skip the Google setup on the beginning as you should enable in Settings > Treble settings Spoof system properties and reboot. That way the Play Store works for that phone and you can sign in with your account and restore apps etc.
[Android Q&A, Help & Troubleshooting] biodbl:
I din't enable "spoof system prop" because it says that may cause bootloop. I was afraid.

Now without magisk, my play store is not certified, but I'm using it anyway
[Android Q&A, Help & Troubleshooting] dferreira:
It's safe to enable 😉 clear storage on Play Store after that and you should be good to go. Apps like Disney+ and others require a certified device. My bank app would not work unless I used Magisk. Life's good 😊 Google Assistant works too!
[Android Q&A, Help & Troubleshooting] biodbl:
I enabled and some time later it lost the touch for the first time. I reboot and touch came back. I dont know why it happened
[Android Q&A, Help & Troubleshooting] dferreira:
What you mean by touch?
[Android Q&A, Help & Troubleshooting] biodbl:
Touchscreen of the smartphone. It did not work
[Android Q&A, Help & Troubleshooting] dferreira:
That's very strange... do you have enabled Override navigation bar availability? I do, I also use gesture navigation
[Android Q&A, Help & Troubleshooting] biodbl:
Yes. It is enabled
[Android Q&A, Help & Troubleshooting] meh.:
I tried for hours and it always just ends up in recovery mode, is there a specific timing for holding them? Do I need to keep pressing volume up and let the power button go after something happens?
[Android Q&A, Help & Troubleshooting] dferreira:
Is it working now? Not sure what could be making your screen unresponsive. I don't have that issue at all 😅
[Android Q&A, Help & Troubleshooting] dferreira:
It is very finicky. What you can try is: turn phone off. Press and hold Vol Up + Power until you feel a tiny vibration and let go of the power but keep Vol up pressed.
[Android Q&A, Help & Troubleshooting] biodbl:
After reboot, the touchscreen returned. Its mystery.

But it may be caused by "spoof system prop", because it only happened when I enabled that.

I disabled it to see
[Android Q&A, Help & Troubleshooting] meh.:
Tried that too but with no luck, what's the key combination to forcefully turn it off? I thought it was power button + volume down but it doesn't seem to be working now (maybe because it's plugged into the laptop?).

Is there a remote chance the Magisk downgrade did something weird and made it impossible to get to fastboot mode? It sounds unlikely but I don't think I'm doing anything wrong with the key combinations, and I tried multiple things for hours :(
[Android Q&A, Help & Troubleshooting] TrippyPrimate:
Okay thank you I'm gonna give it a go.

Also could anyone please send me the easiest to follow guide for LineageOS as I cant seem to find the one I saw a little while ago, I'm already rooted and on windows if that makes any difference, would be much apricated :).
[Android Q&A, Help & Troubleshooting] dferreira:
To force it off, press and hold both vol up and down and power button. Power + vol down goes into recovery! Don't have the phone plugged in to the laptop, otherwise you can't tell if the device is off or on for charging. Only plug it in when you see FastBoot on the screen. Good luck! Been there! Was sweating for a while. Ended up making my own EDL cable (a USB-C cable can be used to create one, there are instructions on how to create one) and booting into EDL and restoring stock ROM back then.
[Android Q&A, Help & Troubleshooting] dferreira:
A botched boot.img can do that. It happened to me when I tried porting TWRP for this device. Would be great to try to do it again. Maybe someone can take a stab at that so we get adb and fastboot even in recovery!
[Android Q&A, Help & Troubleshooting] bigwigs:
Can u access fastboot command while in recovery mode?

If so, try to change active partition by typing

fastboot set_active other

fastboot continue
[Android Q&A, Help & Troubleshooting] TrippyPrimate:
Did you mean to reply to me?
[Android Q&A, Help & Troubleshooting] idonotbelonghere:
Thanks for mentioning this!

I was having issues with the back gesture not working, and an earlier suggestion of changing to 3 button navigation then rebooting didn't fix it (the navigation buttons wouldn't appear).

Turning this Override on and rebooting has fixed both gesture and 3 button navigation options.
[Android Q&A, Help & Troubleshooting] dferreira:
You can find a tutorial here: https://xdaforums.com/t/hisense-a9-root-reward-offered-snapdragon-662.4495809/page-58#post-89431982

After installing, update Eink Center to 1.4 from GitHub here: https://github.com/denzilferreira/vendor_hisense/releases
[Android Q&A, Help & Troubleshooting] dferreira:
Sadly the stock recovery does not offer adb nor fastboot. Hence TWRP would be very nice if ported.
[Android Q&A, Help & Troubleshooting] jixbo:
Anyone got some gcam working well? I tried but without much success
[Android Q&A, Help & Troubleshooting] ferlanero:
Would be there any posibility of getting TWRP on the A9?
[Android Q&A, Help & Troubleshooting] ferlanero:
On the other hand @dferreira, your port of Lineage 20 for the Hisense A9, after a week of use, I have to admit that it is simply impressive: 3 days of battery life, no bloatware, eink screen configuration... The only thing What I miss is the Always On Display when the screen is locked. Do you think it will be possible in your version of LOS20?
[Android Q&A, Help & Troubleshooting] Tharks2:
Hello

I'm using Lineage 20 from @dferreira too, amazing work ! Thanks to you and all the other contributors for improving the experience on this great phone !

Battery life seems better, everything works fine with few Treble settings enabled (spoofing, alternative audio jack)

Like @ferlanero, I think it only lacks AOD support, hope to see it soon !

@dferreira If you need feedback on a particular fonctionality, I'm here
[Android Q&A, Help & Troubleshooting] dferreira:
Use BSG GCam, works great on Hisense A9. I have it installed!

https://www.celsoazevedo.com/files/android/google-camera/dev-bsg/ -> pick the latest 9.2.113!
[Android Q&A, Help & Troubleshooting] dferreira:
Yes, will work on it. Just been very busy lately. I intend to update LOS20 with AOD and the night light working.
[Android Q&A, Help & Troubleshooting] bigwigs:
Sorry, no, just @meh.
[Android Q&A, Help & Troubleshooting] idonotbelonghere:
Phone calls aren't working properly for me on LOS20 on my carrier (SMS and data work great).

If I use a SIM from a different carrier, phone calls work fine (as do data and SMS).

Is it unusual for SMS and Data to work correctly but phone calls don't work?

I've enabled all the LOS20 Treble settings toggles and phone calls still don't work right on my network.

Is this something that the LOS21 Treble settings might be able to solve? From reading the thread it seems like the LOS21 build might have a more extensive or more recent version of the Treble settings.
[Android Q&A, Help & Troubleshooting] dferreira:
Did you install IMS from Treble Settings? Afaik, that is the same as in LOS21. Can you say exactly what is not working with calls? On Settings > Network & internet > SIMs check what options you have there. I have enabled LTE, VoLTE, WiFi calling and automatic network selection. In Developer Options, there is a setting for keeping mobile network always active - I turn that off so that when I'm at home, phone uses less power by disabling mobile data and prioritizes WiFi. Hope it helps!
[Android Q&A, Help & Troubleshooting] JessIsAFK:
Honestly, I'll see if I can give this another go. I attempted to back in October, but hit a few roadblocks when making the device tree, and did not have enough spare time to really figure it all out. I'll take another stab at it. Are there any resources already available that I can use so I don't have to start from scratch again?
[Android Q&A, Help & Troubleshooting] dferreira:
I tried using an already built image from a similar resolution device but I think we should do it properly so we can use it to create backups. My main concern is the screen refresh, which may not work at all with TWRP but I can help if we get a flashable TWRP that boots! I think we could be able to fastboot boot TWRP.img from fastbootd. From the default fastboot, Hisense has disabled that on the boot.img 💩
[Android Q&A, Help & Troubleshooting] biodbl:
Didn't the Gcam that @dferreira suggested work?

It works on the stock ROM, but on LOS 20 I didn't test it
[Android Q&A, Help & Troubleshooting] TrippyPrimate:
Thank you @dferreira got it running nicely how are we doing with always on display for lockscreen, and also with google assistant can I get it working from lockscreen I tried using keymapper but I need root access for this so can I root it or is there another way.

Also will donate when I get some money, u've done a really good job with everything :).
[Android Q&A, Help & Troubleshooting] dferreira:
Sneak peak on next update on Eink Center:

Working on:

- use Eink Center speed as the default speed for apps that don't have a preset speed

- swipe to delete

After this, that should wrap-up Eink Center unless someone has more ideas of what to extend it. I'd like to keep it simple, but open to ideas.
[Android Q&A, Help & Troubleshooting] dferreira:
Works with LOS20, that's what I use :)
[Android Q&A, Help & Troubleshooting] dferreira:
AOD will come natively to LOS20. It's a config for the OS that I need to set. And Night Light I'll also add it natively to the OS. Next build update over the weekend if I manage time!

About Google Assistant: you will need Magisk installed and get your device certified (install MagiskHide Props Config, Play Integrity Fix, Shamiko and enable Zygisk - reboot after installing and enabling this). Clear Play Store storage (long press Play Store icon, app info, clear storage). You can then install Google Assistant app from the Play Store and enable the lockscreen activation, voice match etc like normally.
[Android Q&A, Help & Troubleshooting] biodbl:
Night light is a very interesting feature to protect your eyesight.

AOD is also cool.

I'm looking forward to the OTG as soon as possible, but in no rush. It will happen at the right time.👌
[Android Q&A, Help & Troubleshooting] biodbl:
Simple and great

It is excellent
[Android Q&A, Help & Troubleshooting] damianmqr:
Weirdly enough the Google Apps just work for me with a patched Andy Yan's LOS21 image without integrity fix or magisk.

It didn't work when I tried changing my patching script to override ro.build.fingerprint and a few others in build.prop but when I leave it as is I pass BASIC integrity with no extra modifications. It still doesn't pass DEVICE integrity so only Google Wallet out of the Google apps suite doesn't work but I do believe it can be fixed without root with a tool like ih8sn.

EDIT: Not sure if ih8sn works for DEVICE integrity but I might try it later, it might just be basic so it won't do much good?
[Android Q&A, Help & Troubleshooting] TrippyPrimate:
Nice thank you and with each version you put out do I have to re flash and lose data? and is the bootloader still unlocked as it gives me to the option to allow unlocking I assume its still unlocked though?
[Android Q&A, Help & Troubleshooting] dferreira:
You just need to reflash the system partition. User data partition is intact, no data loss. Like an OS update. Unlocked remains.
[Android Q&A, Help & Troubleshooting] TrippyPrimate:
Ah that's good news thanks.
[Android Q&A, Help & Troubleshooting] vbhai:
Would you be able to add adjusting the colour temperature- a slider or something?
[Android Q&A, Help & Troubleshooting] dferreira:
Yes, LOS if Night Light is enabled, we can adjust the intensity
[Android Q&A, Help & Troubleshooting] R0W3Y:
I'm a week in after changing from the stock software (I used the https://github.com/damianmqr/a9_accessibility_service method).

I already liked my Hi Reader Pro and used it a few hours a day, but now I'm even more pleased with it and using it more.

I mainly use mine for reading books with moon+ reader pro and newspapers/magazines with pressreader (free with my library card).

I missed the Boox functionality that allows you to scroll with the volume buttons in apps that don't natively allow page turning with buttons. Adding Easy scroll allows this though.

I preferred the stock Hisense e-ink button options, that let me use the e-ink button to go back. Using Button Mapper I've set single press to back and long to home. Unfortunately this also either refreshes or brings up the e-ink overlay. More control over the e-ink button is my only major wish for my current setup (I don't need refresh, and would prefer the overlay to only show on double click).

Many thanks to all the devs who've got us this far.
[Android Q&A, Help & Troubleshooting] damianmqr:
Thanks for raising these issues! I'll try to make the button mappable in the settings menu so everyone can set it to their preferred function (or no function at all) in the next iteration of the apk (no need to reflash)