[HOW-TO] Install Android 10 on HTC U11+

Slok 00

Senior Member
Oct 12, 2008
158
32
28
hey guys want to write this guide to show you steps and fixes to get Android 10 working good on our dead htc u11+ (working with both QuackPhh and Havoc releases from treble project)

1. flash stock PIE rom, you can find it here: https://androidfilehost.com/?w=search&s=2Q4DIMG you must flash it from download mode by placing the .zip inside SD card after preparing it with RUU Decryption Tool.
2. install TWRP (this version: https://github.com/sabpprook/androi...es/download/0.0.1/twrp-3.3.1-0-ocm_190501.img ) with fastboot using this command: fastboot flash recovery XXX.img (where XXX.img is name of twrp image you just downloaded)
3. inside TWRP wipe data, system, dalvik cache
4. download Havoc 3.5 rom here: https://sourceforge.net/projects/ha...ficial-arm64-aonly-gapps-nosu.img.xz/download (if you want to choose another rom you can, just check is variant ARM64 A-Only) then place it on SD card and flash from TWRP (don't reboot)
5. download PhhMagisk here: https://drive.google.com/file/d/1ZgYuaN-sklg0ycDue08WtKsMFmzWsI6F/view (standard magisk won't work) then place it on SD card and flash from TWRP (don't reboot)
6. inside TWRP go to wipe -> system -> resize file system (do this 2 times as at first try you will get error)
7. reboot
8. rom is now booting and working.

FIXES:
-for better camera quality i suggest you to download this GCam version: https://f.celsoazevedo.com/file/cfiles/gcm1/GCam_7.3.018_Urnyx05-v1.7-fix.apk and then go to Phh Treble Settings -> Qualcomm features and tick Use alternate camera profile (this will make phone recording video at correct quality 1080p/4k)
-to make earpiece audio during call and bluetooth multimedia audio working you must place the 3 files included in htc_audio_bt_fix.rar i attached inside /root/vendor/etc and be sure to set permissions properly (look how permissions are set in original files before replacing, you can use Root Explorer or any other file browser with root support that allow to check and edit permissions) then you must disable from the paired bluetooth device Call Audio

now you have a working android 10 htc u11+ :victory::victory: i am using it as daily rom... you will love android 10!

only bugs i faced at the moment are:
- bluetooth audio not working with calls
- some rare freezes after unlocking phone from lockscreen
 

Attachments

usmantahir

Senior Member
May 11, 2014
123
16
48
27
Lahore
I keep getting stuck on ROM loading screen, I try reflashing the havoc os system image, then PhhMagisk, but still no luck!

I had to follow this guide all the way from the start and got the phone to boot, but once I copied the htc_audio_bt_fix.rar files to /vendor/etc/ and edited its permissions and rebooted the phone and stuck at the loading screen all over again :/
 
Last edited:

usmantahir

Senior Member
May 11, 2014
123
16
48
27
Lahore
Now I have the phone running but no luck with any sound on my bluetooth earphones
I have placed the rar files as stated and the permissions are exactly as the files before had them rw--r--r, for all 3 of them.

Does the quack build support Bluetooth audio calls? I don't want to go back to pie, anyone know a working GSI Android 10 for the U11+ with BT call support?
 
Last edited:

usmantahir

Senior Member
May 11, 2014
123
16
48
27
Lahore
hey guys want to write this guide to show you steps and fixes to get Android 10 working good on our dead htc u11+ (working with both QuackPhh and Havoc releases from treble project)

1. flash stock PIE rom, you can find it here: https://androidfilehost.com/?w=search&s=2Q4DIMG you must flash it from download mode by placing the .zip inside SD card after preparing it with RUU Decryption Tool.
2. install TWRP (this version: https://github.com/sabpprook/androi...es/download/0.0.1/twrp-3.3.1-0-ocm_190501.img ) with fastboot using this command: fastboot flash recovery XXX.img (where XXX.img is name of twrp image you just downloaded)
3. inside TWRP wipe data, system, dalvik cache
4. download Havoc 3.5 rom here: https://sourceforge.net/projects/ha...ficial-arm64-aonly-gapps-nosu.img.xz/download (if you want to choose another rom you can, just check is variant ARM64 A-Only) then place it on SD card and flash from TWRP (don't reboot)
5. download PhhMagisk here: https://drive.google.com/file/d/1ZgYuaN-sklg0ycDue08WtKsMFmzWsI6F/view (standard magisk won't work) then place it on SD card and flash from TWRP (don't reboot)
6. inside TWRP go to wipe -> system -> resize file system (do this 2 times as at first try you will get error)
7. reboot
8. rom is now booting and working.

FIXES:
-for better camera quality i suggest you to download this GCam version: https://f.celsoazevedo.com/file/cfiles/gcm1/GCam_7.3.018_Urnyx05-v1.7-fix.apk and then go to Phh Treble Settings -> Qualcomm features and tick Use alternate camera profile (this will make phone recording video at correct quality 1080p/4k)
-to make earpiece audio during call and bluetooth multimedia audio working you must place the 3 files included in htc_audio_bt_fix.rar i attached inside /root/vendor/etc and be sure to set permissions properly (look how permissions are set in original files before replacing, you can use Root Explorer or any other file browser with root support that allow to check and edit permissions) then you must disable from the paired bluetooth device Call Audio

now you have a working android 10 htc u11+ :victory::victory: i am using it as daily rom... you will love android 10!

only bugs i faced at the moment are:
- bluetooth audio not working with calls
- some rare freezes after unlocking phone from lockscreen
So I have asked at the relevant threads regarding any word on when a bluetooth fix should be expected, but do you by any chance have any idea about that?
Because I have to decide whether to wait (if the fix maybe right around the corner or smth) or revert back to a stable pie build.
 

Slok 00

Senior Member
Oct 12, 2008
158
32
28
So I have asked at the relevant threads regarding any word on when a bluetooth fix should be expected, but do you by any chance have any idea about that?
Because I have to decide whether to wait (if the fix maybe right around the corner or smth) or revert back to a stable pie build.
unfortunately bt call audio isn't working atm only multimedia audio works... try playing with bluetooth workaround option inside treeble settings-> misc but i don't know if you will solve it
 
  • Like
Reactions: usmantahir

usmantahir

Senior Member
May 11, 2014
123
16
48
27
Lahore
unfortunately bt call audio isn't working atm only multimedia audio works... try playing with bluetooth workaround option inside treeble settings-> misc but i don't know if you will solve it
That's a bummer, I guess I'll revert to pie, i tried flashing Havoc (pie) to my phone for a change, it just wont flash. Error 255. It's been a day of disappointments :crying:
 

Slok 00

Senior Member
Oct 12, 2008
158
32
28
That's a bummer, I guess I'll revert to pie, i tried flashing Havoc (pie) to my phone for a change, it just wont flash. Error 255. It's been a day of disappointments :crying:
man i am using havoc 3.5 and i am loving it, far better than pie htc rom that is too old now
 

szafirowy01

Member
Apr 2, 2015
6
1
0
25
polish northern pole ;)
Hey, this is great news for me, but there's one, very important question - is there a way to use Edge Sense with this? I've seen some Magisk module re-activating the analogue feature on modded Pixels, but I haven't seen anything like that for HTC - could that work? I use Edge Sense regularly and losing it would stop me from any modding.
 

openopentw

New member
Oct 14, 2014
2
0
0
I downloaded the stock PIE rom from the URL provided by you, and decrypt it by RUU Decryption Tool. And now I got some img files inside two folders - firmware and system.
But then how to convert them into zip file so that I can place it inside SD card? Can you tell me in details? Sorry I'm a newbie in flashing roms.
 

openopentw

New member
Oct 14, 2014
2
0
0
I downloaded the stock PIE rom from the URL provided by you, and decrypt it by RUU Decryption Tool. And now I got some img files inside two folders - firmware and system.
But then how to convert them into zip file so that I can place it inside SD card? Can you tell me in details? Sorry I'm a newbie in flashing roms.
I flashed the boot.img and system.img by fastboot into my phone instead of placing some zip into SD card, and followed the remaining steps including fixes. Now my phone is working!
However my phone can not recognize if I have plugged in the earphone or not, and of course no sound from earphone. Do you guys have any suggestions about it? Maybe I should flashed vendor.img in the first step as well?
 
Last edited:

Shrenade514

Member
Jun 27, 2015
7
0
0
I flashed the boot.img and system.img by fastboot into my phone instead of placing some zip into SD card, and followed the remaining steps including fixes. Now my phone is working!
However my phone can not recognize if I have plugged in the earphone or not, and of course no sound from earphone. Do you guys have any suggestions about it? Maybe I should flashed vendor.img in the first step as well?
Flashing the vendor.img would change nothing, it is the same as it was before. The fix for earphone audio has been in the post for a long time, but there is no fix for using earphones/headphones.

Did you find the earpiece speaker fix?

---------- Post added at 03:52 PM ---------- Previous post was at 03:46 PM ----------

This is incredible, I've been following phhuson's Treble GSI development for 2 years now hoping that someone would find a fix for the earpiece speaker during calls.

I tried doing everything at once and got a bootloop, but then I tried every step separately and after a few days my U11+ is working great!

How long did it take you to find that GCam port? I've been using Arnova's for ages and could never find a good one for the U11+ before trying the one you've linked.

I'm really glad we got the earpiece fix, the U11+ still has really great hardware and the poorly made Android Pie port and old security patch was tempting me to upgrade to something new. Now I think I can hold onto it for an extra year.
 

Pineapplemilk

Member
Sep 24, 2017
11
0
0
My camera doesn't work...
After enable "Use alternate camera profile" then reboot , it still not working....
Is there any solution?
Please help me , camera is really important to me...
 

james35022000

New member
Nov 14, 2013
3
1
0
My camera doesn't work...
After enable "Use alternate camera profile" then reboot , it still not working....
Is there any solution?
Please help me , camera is really important to me...
What's your vendor version?
I use Android Pie vendor with Havoc OS 3.7 work fine.
Maybe you should flash Pie RUU first then install the Havoc OS.

---------- Post added at 10:51 PM ---------- Previous post was at 10:41 PM ----------

Here is the way to use Edge Sense with Havoc OS.
1. Install com.htc.sense.edgesensorservice.apk (Resigned with Havoc OS keystore)
2. Install App Systemizer in Magisk
3. Systemize EdgeSensorService
4. Reboot

Now Edge Sense work fine.
And if you want to setup Edge Sense, open terminal
Code:
su
am start com.htc.sense.edgesensorservice/.ui.SettingsMainActivity
Recommended to use Edge Sense Plus to manage it so you don't need to setup in this dirty(?) way every time.
 
Last edited:

james35022000

New member
Nov 14, 2013
3
1
0
I flashed 2.15.709.1 Pie Ruu before install the "Phh AOSP Android 10"
(Havoc based on Phh)

TWRP Version : 190501
And it still can't encrypt data :(
Oh TWRP can't decrypt data is normal.
The thing you can do is to prevent system from encrypting data.
This thread:
https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389

Just wipe data in TWRP and flash the zip file upon

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

And wait, I see XDDD
I flashed Phh AOSP before, the camera don't work neither.
You can find the issue on the Phh's github, it seems never work and no fix for our device.
So....please use Havoc OS
 
Last edited:
  • Like
Reactions: Pineapplemilk

Pineapplemilk

Member
Sep 24, 2017
11
0
0
Oh TWRP can't decrypt data is normal.
The thing you can do is to prevent system from encrypting data.
This thread:
https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389

Just wipe data in TWRP and flash the zip file upon
Thank you for this information :good:
---------------------------------------------------------------------


And wait, I see XDDD
I flashed Phh AOSP before, the camera don't work neither.
You can find the issue on the Phh's github, it seems never work and no fix for our device.
So....please use Havoc OS
Really strange.....
Thank you for the information again~

Does Havoc os running smooth on U11+?
Phh AOSP has some bugs but it's smooth tho.
 

Shrenade514

Member
Jun 27, 2015
7
0
0
Does Havoc os running smooth on U11+?
Phh AOSP has some bugs but it's smooth tho.
It runs smooth for me, but for the first week I kept crashing at the lock screen randomly and had to do a reset. Sometimes a normal reset would just bootloop or crash on the lockscreen again. So I had to specifically go into download mode -> bootloader mode -> recovery mode (TWRP) -> "reboot to system" which would let me get past the lockscreen without crashing.

The battery life and thermal performance is MUCH better, it's too early for me to say but I think it's pretty close to Oreo battery life and heat management might be EVEN BETTER.

I still think that HTC Oreo was smoother, but most phones weren't as smooth as the U11+ on Oreo.

The camera performance is definitely worse though, that could just be because we're forced to use the GCam port instead of the stock HTC app but it's inconsistent with lighting and sometimes crushes black levels on people's faces too much. If I find improved settings or a better GCam port then I'll link it here for you guys to use :)

I'm pretty sure that TWRP not being able to decrypt data is a bug with that specific version of TWRP, but I don't think there's another TWRP image that will work on the U11+ so we have to deal with it.

---------- Post added at 07:24 PM ---------- Previous post was at 07:12 PM ----------

What's your vendor version?
I use Android Pie vendor with Havoc OS 3.7 work fine.
Maybe you should flash Pie RUU first then install the Havoc OS.

---------- Post added at 10:51 PM ---------- Previous post was at 10:41 PM ----------

Here is the way to use Edge Sense with Havoc OS.
1. Install com.htc.sense.edgesensorservice.apk (Resigned with Havoc OS keystore)
2. Install App Systemizer in Magisk
3. Systemize EdgeSensorService
4. Reboot

Now Edge Sense work fine.
And if you want to setup Edge Sense, open terminal
Code:
su
am start com.htc.sense.edgesensorservice/.ui.SettingsMainActivity
Recommended to use Edge Sense Plus to manage it so you don't need to setup in this dirty(?) way every time.
How do you do step 1? I couldn't find any information about where to find the HavocOS Keystore or what it is? I assume it's an app to resign APKs for HavocOS?

Thanks for helping an ignorant person like me :p