yashsingh1/xdaforums huggingface dataset:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] CyberZot:
Strange Bugs

Hey all.

Why did I buy this phone? :rolleyes:

I’ve been running lineage for a few weeks now and I’ve run into a few issues. Figured I’d share them and see if anybody knows why these issues could be happening.

My phone is the HTC U11 Europe Single Sim (HTC_001) and the build number is lineage_ocn-userdebug 9 PQ3A.190801.002 eng.steven.20190815.102924 test-keys.

Here are the issues I’ve been having:

“Camera keeps stopping” error message appears at random and I don’t know why or how. Downloaded HTC Camera and disabled the included app to make it stop.

Google play services randomly stopped without warning and some apps that rely on it just logged themselves out. Google fit in particular logged itself out and I had to log back in again.

Random volume spikes when listening to music.

Here are some issues that only happened when using the official HTC type C Earphone adapter that came with my phone:

Unlocking the phone with my fingerprint while the screen is locked is slower than usual.

Sometimes there is a fairly long delay when opening some apps.

When I make a call, I can hear myself coming though my earphones (mic pass through). This is expected as it happens on stock ROM too. The issue is that when I hang up, the pass through sometimes doesn’t disable and I can still hear myself in every other app. I have to restart my phone to clear the issue.

Can't adjust the volume of phone calls at all.

I’d run a logcat but I need to get my phone sorted fairly quick so I’m going to flash some other ROMs and possibly back to stock. Sorry I can’t be of any real help.

I originally flashed Lineage because on stock ROM, Bluetooth audio would randomly cut out for a second when listening to music and would stutter right after locking the screen.

Any replies with any info as to what could possibly have caused these issues would be greatly appreciated in case I run into them with other ROMs. Especially with the Bluetooth audio issue I'm having to put up with.

Hoping for the best for this ROM. The official build for the HTC One M8 seems pretty solid.

Thanks for reading. :good:

---------- Post added at 04:23 PM ---------- Previous post was at 04:17 PM ----------

I recently made a post about some of the issues I've been having with the latest build. GPS doesn't seem to be an issue but I've had issues with the earphone adapter and some issues with "Camera keeps stopping" messages and Google Play Services randomly started logging me out of apps that require it. I might just be unlucky.

The ROM is listed as beta. I recommend not flashing anything beta on a daily driver. I've done that myself and now it's going to cost me time. :laugh:

Good luck.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Giblet-dono:
Camera keeps stopping: haven't experienced this, and I suspect a lot of us users are using gcam anyhow

Google play randomly stops: Have not experienced this, I use Google Fit A LOT no problems whatsoever

Random volumes spikes: Have not experienced this, I use a bluetooth headset (no USB-C dongle/earphones) where are you experiencing issues?

Maybe you haven't clean flashed or are not using the right firmware?

I find this rom extremely stable, have been using it for months without big issues

The biggest was my GPS but it seems to have been solved after doing a full RUU + Wipe and reflashing this rom

I am not sure where your problems are coming from, but I do think they are your problems, and not actually problems with the rom itself..
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] CyberZot:
Thanks for the response.

I have never gone out of my way to flash a new firmware. I just made a nandroid backup and twrp whilst on stock, wiped using twrp by just checking everything apart from my sd card, and then just flashed the rom and gapps. Which firmware did you flash, if any?

I'm beginning to worry my phone might be faulty if you say that you haven't experienced any of these issues.

I'm still quite new to flashing ROMs and I didn't realize I needed to/could flash a new firmware if I already had stock ROM installed before wiping.

Also, is this a clean flash? (http://ajgupta.github.io/android/20...ean-flash-and-dirty-flash-Android-custom-ROM/)

I'm not familiar with this term. Kind of just jumped in head first. :silly:

I didn't wipe Dalvik/Cache after installing the custom ROM so maybe that's causing my issues?

As for my USB audio issues, I experience them everywhere in every app. Music becomes really loud and goes back to normal very quickly. Not sure exactly what triggers this issue. The adapter also causes my phone to act strange when unlocking with my fingerprint and when taking calls.

Thanks again for your response. What do you think? Should I try again with the steps in that URL?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Giblet-dono:
So the USB-C adapter is something that's been kinda wonky, if you need it to be completly stable you might not want to use this (or any other non-sense based) rom

As for the firmware, there is a detailed post outlining allmost everything about it here: https://xdaforums.com/u11/how-to/collection-htcu-u11-ruu-firmware-t3612048

This specific rom, although it's pie, is based on Oreo firmware and should thus only be used with Oreo firmware, which to my knowledge is 2.33.401.10 but differs per device variant (again, read the above thread for specifics)

A clean flash is, indeed as you described, a factory reset within TWRP

Now there is one important aspect on HTC devices, when you switch between a Sense based rom and an LOS based rom you have to not only Wipe data, but entirely format data

This has to do with the encryption on this partition.

Mind you, formatting the data partition will remove everything from your internal SD partition!! so make backups!

So, make sure you are on the right Firmware for your device, then follow the steps from the opening post:

And to add to that list:

6. Flash GAPPS zip in TWRP
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] CyberZot:
You've been a massive help. Thank you for all the information. :D

Unfortunately for me I really need that USB-C adapter so I'll stick with sense based ROMs.

I don't expect any more help than you've provided me already but I do have a few more questions about some sense based ROMs I've flashed If you'd be willing to answer them for me.

So I've restored from my stock TWRP backup which I made right after factory resetting the phone. I had not installed twrp or any other ROM by this point as I was able to use either fastboot or adb (can't remember which) to boot twrp without flashing it.

After restoring my phone I've gone into settings > about > software information. From there I see Software number 2.33.91.7. Is this my current firmware version? If not, how do I find it?

To simplify my question a bit more, are the "ROM base" and "Firmware" numbers related to each over and does firmware get flashed for me when I install the ROM?

Will my twrp backup even contain a firmware backup?

Also, I've flash LeeDrOiD and MaximusHD before you had replied to me and both seemed to actually be slower than my twrp stock backup. Could this have possibly been because I didn't flash a matching firmware version for these ROMs? Their base firmware doesn't match the latest version that I am currently running.

Thanks again. I really appreciate the time you've spent to help me out. :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Giblet-dono:
Most answers to your firmware related questions are to be found in the thread I mentioned in my previous post.

Firmware is to be flashed seperatly, and you should use a matching firmware with your rom

Normally this is the latest firmware, but currently most (if not all) roms are still based on the older Oreo firmware, instead of pie.

Make sure you read the thread I mentioned, it has a wealth of information!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] CyberZot:
Oh my bad. I thought the thread was just for download links. Should have given it a closer look. :eek:

I've found some info in the guidelines section that should help me out.

Sorry about that. Thanks for pointing me in the right direction.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] _lx:
Mobile data not working anymore

Meh.

After updating from the May to this August release, my mobile data isn't connecting anymore.

It says it's reaching LTE, but it just won't fully connect (there's this 'x' showing subsequently)

After downgrading to the older version, things don't work either.

What have I done :crying:

I didn't touch any APN config or something - or could it be the updated GAPPS which let things not work? :confused:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Giblet-dono:
GAPPS are not doing much for data.

The issue has not been mentioned over the last few pages and as such seems to be an isolated incident on your device

Since you already flashed an older version (I assume a dirty flash) there are two others things you could try:

Firstly try a clean install (so factory wipe your device from TWRP and reinstall the rom from TWRP)

If the clean install doesn't work it might be something similar to the issue where disabling the second simcard makes it unusable until an RUU has been used.

As such I would advise to use an RUU to completly clean your phone, and then reinstall the rom
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] ZockerFloh7:
Will there be an update to pie base?

Would be awesome!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] loveuhp:
Can use it daily? Anything not work?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Giblet-dono:
As per the OP:

- On dual SIM devices, a SIM cannot be re-enabled once it has been disabled

Additionally:

- Using the USB-C to listen to music, either directly or through the USB-C to 3.5mm adapter might not always work correctly

- GPS might be bad, if it is try an RUU and reflashing Lineage, seems to have worked for me

The rest seems to work very well without issues

Make sure to read the OP!

---------- Post added at 10:26 AM ---------- Previous post was at 10:25 AM ----------

What would the pie base fix for you?

I get that some people like to always have the latests, but since we are already using android Pie, it would probably not change a lot to the user experience
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] InsaneNexuS:
---------- Post added at 10:26 AM ---------- Previous post was at 10:25 AM ----------

[/COLOR]

What would the pie base fix for you?

I get that some people like to always have the latests, but since we are already using android Pie, it would probably not change a lot to the user experience[/QUOTE]

As far as I know the Pie base would allow people that updated to official HTC Pie update to make calls again. Right now if you try to make a call you won't be able to hear anything. It's just dead silent. Even on Whatsapp calls or anything that has to do with making calls. This was my experience and had to flash back to stock. As soon as this rom gets updated to Pie base I'll flash it again :) At the moment I think Tomascus is just waiting for Aussie release and some other countries to start working on Pie base. I also don't know if HTC has made Pie sources available to devs :confused: All we have to do is just wait since Tomascus is busy with his school as well.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] ZockerFloh7:
With the oreo radio my phone often does not switch to LTE, when there is LTE, only forcing works, but then I can not make / receive calls because I'm missing VOLTE.

My hope is PIE radio fixes that :(
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tomascus:
- I have already previously stated numerous times that the ROM will be updated to Pie base eventually

- There is no Pie release for my CID as of yet so I can't even begin working on it

- Even after Pie is released, I will probably wait a month or two before actually releasing a rebased version as other variants might not have their own official Pie update yet, and it also takes time for people to return to stock and update

- Busy with University, i'm doing research on Human-Robot cooperation with the use of Augmented Reality and Haptic Feedback :D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Knotte:
Ah, those almost real love dolls. Nice! :laugh:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] loveuhp:
if i disable one sim. i have to flash ROM again?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Giblet-dono:
If you disable a sim you will have to use an RUU to return to complete stock to enable it again!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tomascus:
My microSD card suddenly died two days ago. It refused to be read from, but luckily I was able to plug it into my computer and back up my files. It couldn't be reformatted at all, had some permanent read only mode lol.

Good to see the Pie update finally rolling out for some single SIM variants, I'm thinking of SuperCIDing my device if it really allows me to flash any RUU. Kernel source for Pie isn't out yet so I still won't be able to do anything though. Just a reminder not to upgrade to Pie firmware if you plan on using this ROM as it hasn't been updated yet
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Golv:
Strange, but I have exactly the same situation with my microSD happened a week ago! :rolleyes:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Fre$h:
Ho... And if you read some of my previous posts here, I had exactly the same issue two or three months ago. While Android cannot read my sd card, it keeps been readable on twrp and on a computer too. Formating it within Android just fails, as it did from a computer.

Two or three other users there reported that issue too Btw, if lineage rom refuses to read it anymore, it's still working as read only on sense Pi Rom [MENTION=4675360]tomascus[/MENTION]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Golv:
[MENTION=4675360]tomascus[/MENTION]

I can’t understand what’s the matter?

My build LOS from 22/08 works great on my device.

But the build from 03/09 and 08/09 - don't work. The device hangs on loading the Lineage logo for about 60 seconds and reboots again in TWRP.

Can someone else who is building LOS for our device confirm this?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tomascus:
if you're referring to the HMP branch I didn't upload blobs until just then, also you can build in eng mode and use logcat to check what errors occuring anyway.

There's some bug with radio taking a little while to start after boot which is preventing me from releasing it yet
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Golv:
Thx for answer! I use Default branches (not HMP) from your git.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tomascus:
https://github.com/tomascus/android_device_htc_ocn/commit/12bf14126dc0d6f07d1f3067afeb738f3653ccf0

eek, don't think that last line "$(LOCAL_PATH)/configs/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml" should be changed, my bad.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] darwinmach:
Would it be possible to include the Qualcomm DIAG kernel driver (DIAG_CHAR) or give me some pointers on how I would go about building it in myself? I'd like to have it for use with SnoopSnitch mobile network security test (https://opensource.srlabs.de/projects/snoopsnitch)

Thanks in advance
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tomascus:
Not sure, I'd have to have a look at it but don't have the time. Part of it is in the kernel is all I know
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Golv:
I made a few changes in the repo but without changing the last line you wrote about.

https://github.com/Golv/android_device_htc_ocn/commit/f013e30383eff958380150beebd31366b92ac0ad

https://github.com/Golv/android_device_htc_ocn/commit/a2e7942a32d31e50e0e4307a514ac48bee15b020

My device booted up fine, but in logcat I found some warnings:

09-09 23:42:11.019 1179 1200 W SystemConfig: Tag allow-in-power-save is unknown or not allowed in /vendor/etc/sysconfig
09-09 23:42:11.019 1179 1200 I chatty : uid=1000 system_server identical 2 lines
09-09 23:42:11.019 1179 1200 W SystemConfig: Tag allow-in-power-save is unknown or not allowed in /vendor/etc/sysconfig
09-09 23:42:11.019 1179 1200 W SystemConfig: Tag hidden-api-whitelisted-app is unknown or not allowed in /vendor/etc/sysconfig
09-09 23:42:11.019 1179 1200 W SystemConfig: Tag hidden-api-whitelisted-app is unknown or not allowed in /vendor/etc/sysconfig
09-09 23:42:11.034 1179 1200 W SystemConfig: No directory /product/etc/sysconfig, skipping
09-09 23:42:11.034 1179 1200 W SystemConfig: No directory /product/etc/permissions, skipping
.........
09-09 23:43:04.987 3030 3030 W SystemConfig: Tag allow-in-power-save is unknown or not allowed in /vendor/etc/sysconfig
09-09 23:43:04.987 3030 3030 I chatty : uid=1001(radio) com.android.phone identical 2 lines
09-09 23:43:04.987 3030 3030 W SystemConfig: Tag allow-in-power-save is unknown or not allowed in /vendor/etc/sysconfig
09-09 23:43:04.987 3030 3030 W SystemConfig: Tag hidden-api-whitelisted-app is unknown or not allowed in /vendor/etc/sysconfig

I suppose the last line should be changed:

$(LOCAL_PATH)/configs/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml

https://review.lineageos.org/c/LineageOS/android_device_bq_sdm660-common/+/254362/
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Golv:
Added this fix and the September security patch to my last build, the device booted without errors.

THX [MENTION=4675360]tomascus[/MENTION]!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] roslaminator:
Any updates on the pie based rom?

Edit: Never mind, found my answer, good luck at university [MENTION=4675360]tomascus[/MENTION]!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] loveuhp:
- On dual SIM devices, a SIM cannot be re-enabled once it has been disabled

that bug fix yet?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Giblet-dono:
Nope
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] CJ2311:
That bug's still present on all custom Pie ROMs, sadly.

Here's hoping it gets fixed with a Pie base, but in the meantime the only way to get around the bug is to use stock :|
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] silver-knight:
U11 Plus?

Noob question.

Would this build work on HTC U11+?

Tried Havoc OS - too many issues, looking for alternatives.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tomascus:
Don't use anything not meant for your device unless you really know what you're doing
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] duck95:
I had issues with data and sms on Sprint, however not at the same time.

I provision my phone on the factory ROM, all services work.

I format data and then wiped system and cache. I flashed the LineageOS ROM and then gapps.

The phone boots fine and finds the Sprint network. When I'm connected to LTE, I have data and LTE speeds. However and I cannot send and receive SMS. When I change the radio setting to 3G, I receive and send texts fine, albeit I only have 3G speeds.

I tried all different radio modes with no success.

Anyone else experience this with Sprint? Is there a solution?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Aldo101t:
i've used this and RR on sprint and had no issues sending or recieving txt .

don't know why some have problems.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] curtis846:
Probably a late reply, but re: the USB C Audio thing - This is also a problem on stock firmware. To use USB C or USB-C to 3.5mm dongle, download any apps on Play Store that let you reroute or disable speaker, then your headphone will work. Surely a hassle but there is no way around it. FWIW I use 'Lesser AudioSwitch', tested just last night on Lineage 16.0.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] duck95:
Thanks for the feedback about your installation, I wonder why yours does and mine does not?

I did some more testing and in my radio info, the VOLTE, WIFI Calling, and Video Calling are provisioned. Sprint has not enabled VOLTE for the U11, that service does not work. When I turn each of them off, they turn back on automatically.

I think my phone is attempting to send messages over the VOLTE data connection when that service does not work. When I make a phone call, the LTE service drops, the call goes through, and my SMS messages send/receive.

This is a question no one ever usually asks, how can I disable VOLTE on my phone? Why does it want to stay enabled?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Golv:
Try to check Settings - Network - Mobile network - Advanced - Enhanced 4G LTE Mode
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] duck95:
Thanks for the tip Golv. However, unselecting that did not fix my issues, VOLTE still wants to stay continually enabled on my factory Sprint ROM.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] roslaminator:
I'm on stock pie atm. But its ram management ist annoying af! Is it worth wating until [MENTION=4675360]tomascus[/MENTION] got the pie based los16 or should I just go back to los16
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] flamadiddle:
I have TWRP + Magisk on stock Oreo, and I'm looking at flashing a custom ROM on my U11 for the first time. I'm really confused by the installation instructions here:

4. Wipe /system and /data (complete FORMAT /data if you're having issues)

5. Flash ROM zip in TWRP

Question 1: Isn't /system un-writeable?

Question 2: If I've just formatted /data, where is my ROM file supposed to be?

Question 3 (related to 1): Does this require S-off?

Last question: I'm on Verizon. I know others have reported loss of VoLTE with practically every custom ROM. Would the RoadKillz_VZW_Provisioning.zip from this thread work with LineageOS 16?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] filandry:
1. No..Of course system writeable,and it needed to flash rom lol

2. Put on your rom file on sd card or usb otg,and you can copy your rom file to internal storage via pc on recovery mode(if you dont have sd card)

3.No..S-Off it's not required

last question..i don't know

;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] flamadiddle:
That makes more sense. Thanks for the clarification on S-off. For some reason, I thought that was required to write to /system. I'm going to do more reading before I try anything.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Golv:
[MENTION=4675360]tomascus[/MENTION] and all

Can you or someone help me please ... An error occurred while building Lineage-17.0:

[100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
internal error: failed to find dex jar path for module "WfdCommon"
15:00:26 soong bootstrap failed with: exit status 1

#### failed to build some targets (01:30 (mm:ss)) ####

How to solve this problem?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tomascus:
I advise you to read the error carefully and see where it's coming from to solve the issue, compare it against how it was in lineage 16 may give clues, also look at other devices starting their Lineage 17 trees.

I know you're eager but with eagerness comes the responsibility to solve these issues yourself, if you don't know how to do it then learn to troubleshoot it. :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] flamadiddle:
So I've given this a try. It does not give me VoLTE on Verizon. Surprisingly, I've found that I can live without that thanks to Google Voice/Hangouts. However, a lot of apps cause soft reboots/System UI restarts, including all camera apps and Android Auto. Gonna do some more reading. It's unusable at the moment.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Giblet-dono:
Are you on the right (oreo) firmware?

If so and you are experiencing these issues, you might want to do a new clean flash