yashsingh1/xdaforums huggingface dataset:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
Are you on a clean flash and on what model? If it's crashing and restarting the device, a logcat using an app will probably not work, you would need a computer and adb to get a logcat or grab last_kmsg.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] zschopper:
I am on clean flash, but I restored my used apps/settings with google play in welcome pages.

EU 4GB/64GB Dual SIM.

How can I get logs with adb?

---------- Post added at 11:08 PM ---------- Previous post was at 10:52 PM ----------

After a fresh reinstall without grabbing old settings and app, everything looks fine.

Thanks for for your tips :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
Great :) for further reference, a logcat through adb is obtained with the command adb logcat -v long > name of problem.txt on a terminal line of a computer, with android debugging enabled on the device under developer settings.

It can also be obtained with an app if you have root, but if the device crashes and restarts, that might not be a very useful way
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] ricardodaniel23:
Mobile data not working

Hi!

I have a problem with mobile data (3G and 4G)

Some sites like xda forum, android police and others, don't load on mobile data. Some apps like aptoide and photos in the Google play store don't load too.

Facebook, for instance, web and app, works fine.

Can't figure out why...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Larss4:
I have a problem with the instalation,

I downloaded the last version (from today).

the instalation went through completely and then there stood that I must enter a password.

I have not had a password before.

what can I do there?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
I'll have a look at that when I can but did you flash OpenGapps by any chance?

I have never heard of that one before, TWRP locked you out? You can't boot into the device either?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Larss4:
not twrp has requested the password.

I was able to boot back to twrp without any problems.

I loaded the version of today, the gapps.

booted into twrp

everything deleted

and then the Rome and the gapps instaliert.

then follows the lineage os bootlogo and immediately afterwards the screen is black and only one password input possible
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
That usually happens when you're encrypted with a password screen lock and secure start up enabled. What you described is exactly how the secure start-up behaves, do you not get a password prompt in twrp either?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Larss4:
no, in twrp was no password request!

that came after the lineage bootlogo.

In addition, then my entire internal memory was deleted.

That's why I can not explain the password synonymous, I tried all the passwords known to me but all were wrong
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mrxyzl:
I flash this rom and my headphone not working when plugin, the phone keep playing through speaker
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
If "default_password" doesn't work, then I fear you have to format your device to get rid of that :/
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Larss4:
I will try again later .. thank you?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
You mean the USonic earphones or through the 3.5mm jack adapter? Did you do a clean flash? Flashing Lineage on top of a /data from Slim seems to cause a lot of weird behaviour.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mrxyzl:
Oh it's through a 3.5mm adapter. Flashing back Leedrod and it work again
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
To be honest, I had completely forgotten that we have an adapter until you pointed it out, and you're right, it doesn't function properly. I'll see what I can do. I'm sorry but if that's something that is important for you then it's best to just stay in Sense for the time being.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] ricardodaniel23:
No. Clean install with MindTheGapps.

Thank you!!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] qingdev:
please support htc_ocndtwl :crying:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
Have you tried the latest build? The basic support for it should be there.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] amit_sen:
[MENTION=6942287]imGomez[/MENTION] , loving your latest build. Its DD for me... Bluetooth headset is also working fine.

One request. Can you add kcal color control to your kernel.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
I looked at your logcat, can we talk in private so I can ask you a few questions to slim down the possible causes? My Telegram is "daanieldasilvaa", or we can talk here in xda but that's a bit less convenient.

Glad to hear! Thanks for your suggestion :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Cryosx:
So I installed Xposed on this but flat indicators and gravity box didn't work. Just checking if anyone else tried Xposed on this rom.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
I don't know anything about that.

KCal is mostly fully implemented. The invert function seems to be broken so it's disabled but everything else is fine.

I'll be posting a build soon.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Ikarbb:
I just have a quick silly question.

I am interesting in buying the HTC U11+, and I want to experiment with the Lineage OS on it. Will this ROM work with the 6" version of the U11. I was confused because their is a separate XDA section for it with not much on it.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mrxyzl:
Um, so any chance for the usb to 3.5mm adaptor fix?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
Unfortunately it will not, this ROM will only work in the U11. If there's not a LineageOS build/maintainer for the U11+ then you're out of luck :/

I haven't even looked into that yet. It will come, just give me some time.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Ikarbb:
Thank you for the very fast response. I have always been impressed with the community around our HTC devices. I'm currently on the HTC m8 and the Nvidia Shield K1, and I want to "upgrade". I might opt to buy the U11 over the U11+, since the offscreen navbar would be a nice change. I am looking into all my options. :D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] ferhad.necef:
No!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] con_sau_may_tinh:
just install on u11 dual sim (6/128), it's boot, but not recognize sim :( please support dual sim version

edit: after 1st reboot, 2 sim work :D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] msi.1362:
After having some problems in WhatsApp and Skype in&outgoing sound and receiving no support on how to deal with it, I came back to stock rom with customizations which I need, more battery endurance, faster and more reliable than this rom or even slim rom, plus edge sense, better sound experience and more. I think we'd better use stock rom if this is our primary phone.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
You might have missed the Alpha status in the first post. I also can't help you on something I'm not experiencing, especially if you don't provide a logcat, which is also in the first post under the Reporting bugs little text.

At the end of the day, it's your choice, Sense is going to be more stable than this Lineage or Slim, I mean, HTC's flavour of Android might have been developed by a full paid team, not by some random people who call it a hobby in the Internet. It's bound to be more complete. If you need your phone to be fully functional, only Sense and Sense based roms will offer you that at the moment.

I have made close to zero progress on the adapter front, I know why it's not working, I just don't know exactly how to fix it for now...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mrxyzl:
Hm, I heard some people say that using audio router app from playstore can force the phone to play through unauthorised adapter. Not sure if it can help you though. I
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] The_Walking_Playground:
Hi,

I wanted to thank you for providing this ROM. I've been having issues with Sense and this is just what I needed to get the features I've been missing.

That being said, I'm seeing some issues with USB connection. When I connect to my PC, I'm not getting the notification on the phone to select the USB connection mode. If I manually select it in Developer options, the computer loads the drivers, but the storage devices never show up. I can boot to recovery to get around that, but the bigger issue is when I try to connect to my Android Auto head unit. The device completely freezes and eventually reboots due to kernel panic. If I leave the USB cable connected while the device reboots, it will reboot again once it gets to the lockscreen. I'm attaching ramoops from the kernel panic. Hopefully it'll help you resolve it.

A few other bugs I found, with some workarounds:

External SD Card shows up as "2" in file managers by default. Workaround: Add a card nickname to /data/system/storage.xml. Then that will display instead.

CTS Profile doesn't pass for SafetyNet. Workaround: Use Magisk+resetprop to change the build fingerprint to a known, approved one. I used the latest US Unlocked edition.

# Set build fingerprint for SafetyNet
ro.build.fingerprint=htc/ocnwhl_00617/htc_ocnwhl:8.0.0/OPR6.170623.013/1011554.1:user/release-keys

I look forward to see how this ROM continues to progress. Thanks again to everyone involved in getting it to this point!

TWP
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] K4Y3R:
Glad to see Lineage OS on U11. Tried the newest build and had no errors so far, played with it about a day and everything worked so far. Battery life was surprisingly good for this stage.

Since Lineage OS roms have an OTA system built in can you use it or do you have no acces to their servers to upload your new builds?

But all in all huge probs and a big thank you :D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] The_Walking_Playground:
Hi,

Just an update on this. If I enable USB debugging, then the USB connection is recognized as expected, for both charging and MTP modes. It seems that the USB modes aren't getting set properly when adb is disabled. Maybe that'll help troubleshoot the issue? I did grab a logcat, but most of it is probably irrelevant (I forgot it was running while I was doing my testing). I'll upload it anyway in case something in there is helpful (I had to zip it as it was too large).

TWP

P.S. Now that I have debugging enabled, I'll try the connection in my car again and see if the result is any different. Hoping that fixes the kernel panic problem. If so, that would be great, even though I prefer to leave debugging disabled.

P.P.S. [MENTION=6942287]imGomez[/MENTION] How far away do you think we are from running SELinux in enforcing mode, and encrypting by default?

UPDATE: Tried the connection in my car with USB Debugging enabled, and kernel still panics. I think that's the last issue that needs fixing for me (besides SELinux state). I was able to encrypt my device without issue, and TWRP is still able to decrypt, so everything is good.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
I could use the OTA system built-in but I would need to set up a server myself because this being an unofficial build means I don't have access to the organization servers. Unfortunately me setting up a server is not happening for now.

That's weird because I have had that issue in early builds but I thought I fixed it, right now with debugging enabled or not I always get the Android system notification to switch modes.

I'll have a look at your logs and see what I can do but I'm not exactly a very good kernel expert. Encryption is not forced but if you want to encrypt your data that's fine, it works as expected. Regarding permissive mode, developer Flinny is working to complete sepolicy on Slim, I have fixed some denials but I'm waiting to pick up on his work and complete it for Lineage and then I believe we can set the kernel to enforcing mode, at least in release builds.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Dudeplz66:
will this rom support boombass and u sonic?

That really matters
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
I repeat what I said on Slim's thread, HTC BoomBass support will hardly happen but the USonic earbuds already work, the sonar sensors aren't being used so no calibration, that means the output will be inferior to Sense but in its essence, it's working already.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Dudeplz66:
Thanks for the reply
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] The_Walking_Playground:
Hi,

Maybe [MENTION=4684315]flar2[/MENTION] or [MENTION=3088420]tbalden[/MENTION] can help with the kernel issues? I tried manually setting SELinux to enforcing mode on boot, but that resulted in Bluetooth crashing repeatedly, so I expect that's why it's currently set to permissive. I appreciate your willingness to try and figure out the issues, even if it's outside your area of expertise. That's how we learn, right? The Car Mode issue is really the important one for me that needs fixing. Any help with that would be great.

TWP
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mrxyzl:
So how about edge sense then? :confused:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
That's also weird because I've tested builds with enforcing mode and my Android Wear watch was working without issues, didn't see any weird behaviour regarding Bluetooth. Odd.

Anyway, I'll upload a new build today, if it still kernel panics for you then I guess I should seek help from someone more experienced than me.

Yeah... about that, don't tell anyone but I'm secretly hoping Flinny can port Edge Sense over to Slim because I'm not a hundred percent sure I can do it myself. Also I'm focusing more on fixing bugs in order to get Lineage to a more stable build and adding some features that I'm sure I know how to implement.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Mrxyzl:
Yeah, hoping you to fix the adapter issue soon :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Blindie:
I can't got hotword to work (MindTheGapps nad OpenGapps) in germany, it says its not available for this Language, but on stock rom it works without problems. Any ideas?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] k2thejx5:
[/COLOR]

Same issue
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] wang0528:
which camera app can use slow motion 240fps?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Pasqui1978:
The deep sleep is too... deep.

Notifications of WhatsApp and Telegram arrive only after unlocking the screen... [emoji848]

Inviato dal mio HTC U11 utilizzando Tapatalk
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
I've noticed that, it is indeed very annoying, I have to look into it but I'm unsure if it is ROM related or GApps related. Three of us have it, I'll add that to the known issues.

I have added the encoder profile but I'm unsure if any app does it, I know the ported GCam does 1080 at 120fps with sound.

Did you do anything special on your device? I have not seen that happen with my Telegram app, I don't know about Whatsapp since I don't use it myself but it's weird to only have it happen to those apps alone, did you restore them with Titanium or something?

I'm going to take a wild guess and guess that you are not using the "brunch ocn" command, are you doing lunch and make? Try brunching.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Pasqui1978:
Nothing, only rom with Magisk.

I always restore with Titanium, no problems with other roms.

Now I'll try without battery optimization.

Inviato dal mio HTC U11 utilizzando Tapatalk
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
Have you tried reinstalling the applications? I know you said you don't normally have problems but restoring with titanium is usually associated with push notification issues so it's worth a try.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] The_Walking_Playground:
Hi,

I just encountered another issue. It seems that my device won't sleep. I set the screen timeout for 15 seconds and put my device down. The screen dims, shuts off then immediately turns itself back on. It does this indefinitely. I'm not sure if it's related to my having multiple users set up, but each has their own, independent sleep settings, so I don't know why that would be relevant. I'm attaching a logcat from my device of it waking itself up multiple times. Hopefully something in there helps identify the issue.

Later I'll check out Android Auto and see if there's any change with the 3/18 build.

TWP

EDIT: Seems a reboot fixed the screen timeout issue. Still not sure why it happened, though. Plugging into my Android Auto head unit still causes a freeze and reboot. I can grab another ramoops, if you want [MENTION=6942287]imGomez[/MENTION]. Let me know.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Pasqui1978:
Ok, but same problem is for Gmail... [emoji848]

Now notifications work good without battery optimization. I remove WhatsApp and I try with a new installation...

Inviato dal mio HTC U11 utilizzando Tapatalk
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
Looks like it's either JuiceSSH or AutoNotification not letting doze kick in and waking the device, not sure why, can you provide me with a logcat of your device going to sleep from inactivity normally so I can compare the two?

There's no need for another ramoops, I'll try to get some help, in the meanwhile I'll keep trying to understand it :p
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] The_Walking_Playground:
Hi,

Attaching a logcat of properly working sleep. JuiceSSH is just the terminal program from which I'm running logcat - that shouldn't be preventing sleep. And AutoNotification is being used to block the 'app is using battery' notification. Since rebooting, both are running, but sleep is kicking in fine. Hopefully this working log will help you figure it out. Thanks!

TWP
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
Thanks for the logs, it has nothing to do with those apps indeed, you had bluetooth earbuds connected when the device was not sleeping but not connected when the device was sleeping or were they still connected? I think it's related to that but I can't be sure if that was a one time thing or always happens, I suppose it was a one time thing but can you confirm that?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] The_Walking_Playground:
Hi,

I think the issue might have been that my BT headset was trying to connect but couldn't (for some reason). After the reboot, it connected fine, and sleep worked again. So I guess BT is the problem.

TWP
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
That was somewhat what I was guessing. At least it's now working.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] The_Walking_Playground:
Hi,

I'll keep an eye on it. I just need the device to not reboot when connecting to my car and it'll be all good. That and the broken hotword detection. If those could be fixed, it would be great. I tried 3 different GApps and couldn't get hotword working.

TWP

---------- Post added at 07:47 PM ---------- Previous post was at 07:39 PM ----------

Hi,

I spoke too soon - now it's doing it again, and BT is still connected to the same headset. It must be related to my multiuser setup and how BT shuts off and then back on when I switch users. I'm not sire why that would be an issue, but now I'll have to reboot again so my device sleeps.

TWP

EDIT: I turned on Airplane mode, and it's still doing it. I'll grab another log.

I'm seeing this in the logcat:

03-19 14:49:53.604 2700 2761 I PowerManagerService: Going to sleep due to screen timeout (uid 1000)...

shortly followed by

03-19 14:49:54.126 2700 2761 I DisplayPowerController: Blocking screen off
03-19 14:49:54.126 2700 2761 I DisplayPowerController: Unblocked screen off after 1 ms

But I have no idea why screen off would be getting blocked or what any of that means, really.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
Yeah about that, the only thing I can understand from the kernel logs are the several selinux denials. The panic message is "`KP: kworker/u17:1 PC:__memset+0x4c/0x1c0 LR:acc_ctrlrequest+0x1d4/0x514'"... That is basically chinese to me. I've contacted some people who I think can help, that is if they are not busy. I guess I could try fixing the denials and providing you with a test build to see if it changes anything but that's about what I can do by myself.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Pasqui1978:
[MENTION=6942287]imGomez[/MENTION] have you the possibility to insert the central clock tweak and the number of columns/lines in QS? [emoji16]

Inviato dal mio HTC U11 utilizzando Tapatalk
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
That's source tree related, you'd have to ask Lineage for that but they don't take feature requests so you're out of luck. Somebody compiled Resurrection Remix for our U11, have you tried it yet? I think it has both of these.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Pasqui1978:
Yes, I saw the RR... thanks anyway for the explanation [emoji4]

Inviato dal mio HTC U11 utilizzando Tapatalk
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Pasqui1978:
RR is good but is not ready yet, it's incomplete.

It has the same problem of yours Lineage:

I can't write on the SD. On the contrary, he writes but the files are 0 kb, therefore illegible. Titanium Backup can't write to the SD card. No problems with LeeDrOiD [emoji848]

Inviato dal mio HTC U11 utilizzando Tapatalk
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Meelouw:
You Can use substratum :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Pasqui1978:
I know, thanks. But more apps are more resorces [emoji6]

Inviato dal mio HTC U11 utilizzando Tapatalk
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Malle355:
How is the Camera someone already tested? Is it possible to use Arnova's v6 Google Camera Mod with this? Thanks :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
The stock camera is lineage's Snap, it works and doesn't look bad but is very limited in functionality, however the Pixel2Mod-Arnova8G2 v7 is working perfectly, including slow motion and portrait on both cameras. Download link.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Malle355:
Great. So thats was the point if im testing this rom or not. Thank you for your fast answer. I will definitely try this rom. Thanks.

Edit: Awesome work. Real great Rom so far. Only missing Edge Sense and my "ok google" hot word not working. Everything else seems working fine so far. Camera is also really great.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] thznutz87:
Did you change any settings? I can't get it to do slowmo. It just crashes
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jsaxon2:
Did you flash the build from March 21st? He added the profiles for slow motion and it is working on that build and going forward should work. No settings change is needed.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] imGomez:
I changed some numbers in the encoder on the 21st build but it's working fine for me. Are you using the apk I have linked in my previous post? That being said, only changed the encoder from h264 to hevc and upped the bitrate, nothing that should've broken it for you.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] The_Walking_Playground:
Hi,

I just tested WiFi Hotspot on T-Mobile and discovered that it doesn't work. It turns on, but there is no internet connection on connected devices. Any idea how to fix that?

TWP