yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aethelbert:
Sorry if this has been covered elsewhere but i cant seem to get AdAway or Adfree working successfully. Hosts file seems alright and is being written to (default settings and location). Does this have something to do with encrypted system?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] devsk:
Looks like I need to run restorecon on a bunch of folders. I verified restorecon opens up /file_contexts.bin and applies the context. But I am surprised that no one else ran into this doing dirty flash. May be the crap media_rw_data_file context was introduced a long time ago and I have been carrying it over since Sept, and it was hidden with selinux being permissive. I am pretty sure nobody else is using that old an install.

---------- Post added at 09:10 PM ---------- Previous post was at 08:16 PM ----------

Is anyone having trouble with gps? I get no lock after several minutes and this in the logcat:

01-05 21:08:37.784 1637 2034 E LocSvc_eng: E/Calling gnss_sv_status_cb
01-05 21:08:38.784 1637 2034 E LocSvc_eng: E/Calling gnss_sv_status_cb
01-05 21:08:39.784 1637 2034 E LocSvc_eng: E/Calling gnss_sv_status_cb
01-05 21:08:40.783 1637 2034 E LocSvc_eng: E/Calling gnss_sv_status_cb
01-05 21:08:41.784 1637 2034 E LocSvc_eng: E/Calling gnss_sv_status_cb
01-05 21:08:42.784 1637 2034 E LocSvc_eng: E/Calling gnss_sv_status_cb
01-05 21:08:43.783 1637 2034 E LocSvc_eng: E/Calling gnss_sv_status_cb
01-05 21:08:44.784 1637 2034 E LocSvc_eng: E/Calling gnss_sv_status_cb
01-05 21:08:45.784 1637 2034 E LocSvc_eng: E/Calling gnss_sv_status_cb
01-05 21:08:46.784 1637 2034 E LocSvc_eng: E/Calling gnss_sv_status_cb
01-05 21:08:47.783 1637 2034 E LocSvc_eng: E/Calling gnss_sv_status_cb
01-05 21:08:48.784 1637 2034 E LocSvc_eng: E/Calling gnss_sv_status_cb
01-05 21:08:49.785 1637 2034 E LocSvc_eng: E/Calling gnss_sv_status_cb
01-05 21:08:50.786 1637 2034 E LocSvc_eng: E/Calling gnss_sv_status_cb
01-05 21:08:51.783 1637 2034 E LocSvc_eng: E/Calling gnss_sv_status_cb
01-05 21:08:52.785 1637 2034 E LocSvc_eng: E/Calling gnss_sv_status_cb
01-05 21:08:53.784 1637 2034 E LocSvc_eng: E/Calling gnss_sv_status_cb

repeated over and over again.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] crpalmer:
It sounds like you are running a build that did not have any selinux in it at all. Did you run any 14.1 builds other than mine during early bringup? That's often happened before.

Either way, you can probably run

restorecon -rv /data

to do the relabel'ing if you aren't willing to just wipe and be sure that you don't have some other weirdness lurking for you.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
Hi,flashed your rom. So far so smooth. Thanks for this great rom.Is there any way to remove the su icon from the status bar?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] devsk:
Does anybody have issues with hardware acceleration while playing videos through VLC? I was playing 4K video (recorded by the phone itself) using VLC and it got stuck saying "hardware acceleration error, using software rendering" It may be another one of those selinux thingies left over, if everyone else is able to play videos fine.

Apart from that, all my issues related to selinux, gps, bluetooth, wifi are resolved.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] samolo93:
Hello guys

First thank you crpalmer for the ROM your work is amazing

I have a little problem : I can't connect my google account, when I try I get this message there was a problem communicating with google servers

I tried many gapps package from open gapps (arm64 7.1 pico micro and full) but still can't connect to my google account

Anyone have a solution for me ??
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] devsk:
So, this has nothing to do with selinux. Anybody else has issues with 4K video playback on the phone? When you test, please make sure to pause, play, seek, pause, play. Play another video. And another. It takes time to get stuck but it gets stuck.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] newbieandroid:
Working great on the unlocked HTC 10 on T-Mobile. Only app that I have an issue with is the clock app that keeps force closing.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
I used pico and flashed it right after flashing the ROM and everything was just fine.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sototallyjarrett:
Have you tried a reinstallation? The OpenGapps stock package worked fine in terms of login for me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] devsk:
Sorry, for bumping this. But can someone else please try this and let me know if 4K video playback (both in-built video app and VLC are a problem for me) is fine on their end? I would like to stress that it plays a video fine but a combination of playing multiple videos, pausing and seeking etc. gets it stuck. Its been very annoying to not being able to review your recording.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] samolo93:
Hi i have did many cleans install of the rom wiped everything before flash and flash the gapps (i've tried all variants stock full aroma pico etc)but still can't even type my google account please help me lol i don't want to goback to a sense based rom :D

here is the log of gapps installation maybe it could help ??

# Begin Open GApps Install Log

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

ROM Android version | 7.1.1

ROM Build ID | cm_pme-userdebug 7.1.1 NMF26Q 657ed779de test-keys

ROM Version increment | 657ed779de

ROM SDK version | 25

ROM/Recovery modversion | 14.1-20170105-UNOFFICIAL-pme

Device Recovery | TWRP 3.0.2-6

Device Name | htc_pmeuhl

Device Model | HTC 10

Device Type | phone

Device CPU | arm64-v8a,armeabi-v7a,armeabi

Installer Platform | arm

ROM Platform | arm64

Display Density Used | 640

Install Type | Clean[Data Wiped]

Smart ART Pre-ODEX | false

Google Camera already installed | Clean

FaceUnlock Compatible | true

VRMode Compatible | true

Google Camera Compatible | true

New Camera API Compatible | false[force_api]

Current GApps Version | No GApps Installed

Google Camera version | Legacy

Installing GApps Zipfile | /sdcard/Download/open_gapps-arm64-7.1-pico-20170104.zip

Installing GApps Version | 20170104

Installing GApps Type | pico

Config Type |

Using gapps-config | Not Used

Remove Stock/AOSP Browser | false[NO_Chrome]

Remove Stock/AOSP Camera | false[NO_CameraGoogle]

Remove Stock/AOSP Email | false[NO_Gmail]

Remove Stock/AOSP Gallery | false[NO_Photos]

Remove Stock/AOSP Launcher | false[NO_GoogleNow/PixelLauncher]

Remove Stock/AOSP MMS App | false[NO_Hangouts]

Remove Stock/AOSP Pico TTS | false[default]

Ignore Google Contacts | false

Ignore Google Dialer | false

Ignore Google Keyboard | false

Ignore Google Package Installer | false

Ignore Google NFC Tag | false

Ignore Google WebView | false

Total System Size (KB) | 3443936

Used System Space (KB) | 1084376

Current Free Space (KB) | 2343176

Post Install Free Space (KB) | 2187764 << See Calculations Below

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

# End Open GApps Install Log

# Begin GApps Size Calculations

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

TYPE | DESCRIPTION | SIZE | TOTAL

| Current Free Space | 2343176 | 2343176

Remove | Existing GApps | + 0 | 2343176

Remove | Obsolete Files | + 24 | 2343200

Remove | extservicesstock | + 16 | 2343216

Remove | extsharedstock | + 0 | 2343216

Remove | provision | + 12 | 2343228

Install | Core | - 117712 | 2225516

Install | calsync | - 1808 | 2223708

Install | dialerframework | - 24 | 2223684

Install | googletts | - 26704 | 2196980

| Buffer Space | - 9216 | 2187764

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

Post Install Free Space | 2187764

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

# End GApps Size Calculations

# Begin User's gapps-config

# End User's gapps-config
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Kim Lu:
No nightlies for today?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kaw202:
I couldn't get mine to freeze or anything. I played three 4k videos. paused skipped fast forward and revers with the standard video app and vlc from fdroid.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dj_chapz:
[MENTION=3857343]crpalmer[/MENTION] Last build was January 5th, again some build server issue or is something else happening?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] willjohnson:
I know BT audio is not working on any CM based ROM, i though that it was wide band only though, which is VoLTE and Wifi Calling i thought? I cant seem to get BT to work for phone calls of any type. Can someone clarify the BT functionality please, i guess i missed something when reading about it. I really want to to use these Lineage based ROMs, but BT is a must for me for phone calls, don't care about VoLTE or Wifi calling, just normal use. Thanks in advance.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
I can cınfirm that I could connect to my car's bt set,and made a phone call and listened to music with a LOS based rom.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
I've been finding that the first connection doesn't work but if you disconnect and reconnect it does subsequently work. This was for music but imagine it would be the same for calls as well.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] willjohnson:
Awesome, thanks for the fast replies, both of you guys. I will play around with it and see, i didnt want to spend time trying to make it work if it was a lost cause. Thanks again.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] crpalmer:
Wideband is 16000 bits/sec audio vs. narrow band which is 8000 bits/sec. My car and older dongle work fine but my headphones do not because it supports the higher quality audio whereas the former two devices do not.

And despite what someone else claimed, it is completely unrelated to music playback (a2dp). The headphone which doesn't work for calls plays music just fine.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] willjohnson:
Might explain why i have difficulty, i am using a Seinnheiser BT headset, it probably only uses the higher bit rate knowing Seinnheiser.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jlev31415:
Have you managed to fix this? I have the same issue. File Manager can't access the external SD card, even though the "Storage" permission (which is the only permission listed) is enabled and root access mode is also enabled. I've tried disabling/re-enabling the permission, disabling/re-enabling root access mode, and even clearing File Manager's data and cache, all to no avail.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dj_chapz:
Its not something that was critical for me so I didn't investigate at the time, but further ahead I did a clean reinstall and now its working (but no clue why it didn't in the first place).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DevilRockr:
can someone tell me if HDR on camera is fixed....the stock Aosp camera has fine poc quality but still i would prefer Google/Htc cam both r there on playstore but none worked becoz of HDR enabled on them by default on the last build I tried.....is that changed also I can see HDR bug is removed from OP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tabp0le:
All camera apps should work fine. They all work for me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DevilRockr:
Well I have tested HTC Camera on play store it's not working....It just closes itself is it the same for you.?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jlev31415:
Thanks for the info. It's even more strange because I'm having the problem even though I'm also running a clean install (@crpalmer's 20170104 nightly). Just curious - which ROM did you perform your clean reinstall with?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tabp0le:
Ok yeah just tried htc cam. You right just closes out. I'll have to look into that.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dj_chapz:
Just clean instalation of lineage...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] AntoRei:
Don't work for me sense camera and snap camera. I would like a good camera app with manual control and internal flash
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sototallyjarrett:
HDR and flash both work just fine in Snap camera for me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] AntoRei:
which version?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jlev31415:
I was curious which nightly ROM you installed. Just trying to get a sense of what's different between our clean installs.

I just completely removed the FileManager app and dirty flashed [MENTION=3857343]crpalmer[/MENTION]'s 20170108 build and yet the problem persists. I'm curious how many other people are having this issue. It appears to be a bug in the app itself, because all other apps I've tried can access the external SD card fine. However, knowing that a clean flash fixed your issue seems to point in a different direction.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tabp0le:
[MENTION=3857343]crpalmer[/MENTION] Can you merge my CDMA network display fixes?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sototallyjarrett:
Of Snap or L-OS? I'm running the Lineage OS build from today and the latest version of Snap HDR pro from the Play Store.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] AntoRei:
aah i was talking about snap dragon camera
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sototallyjarrett:
Ohh, my bad haha, sorry
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jlev31415:
OK. I've had some time to get to the bottom of this once and for all.

When you performed your "clean reinstall," did you also happen to format your external SD card? I believe you must have.

I just found that FileManager had proper permissions to access the external SD card. However, there was a hidden empty directory, ".android_secure" on my external SD card, presumably written there by the stock HTC ROM. This directory had no read or write permissions, which was causing FileManager to see a "Permission denied" message on stderr when trying to list the contents of the SD card, thus causing it to fail.

I was able to delete this ".android_secure" directory from TWRP, and now FileManager can access the SD card just fine. Hopefully this helps someone else out who's transitioning from stock to Lineage.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] crpalmer:
I really don't know the CDMA code at all. I tried to ping someone to look at it, I'll try again to get some feedback on it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] devsk:
[MENTION=3857343]crpalmer[/MENTION]: Any idea about those msm_vidc errors I am seeing? It takes a little bit of effort to reproduce the issue but playing videos does get stuck with those errors eventually.

This line seems to point to firmware error:

6,5456,1758745116,-;msm_vidc: err: SFR Message from FW: QC_IMAGE_VERSION_STRING=VIDEO.VE.4.0-45449 Err_Fatal - Z:\x5cb\x5cvenus_proc\x5cvenus\x5cdecoders\x5ccommon\x5csrc\x5cvideo_decoder_utils.c:3030:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tabp0le:
OK, thank you. What if I whip up a build and ask someone with Sprint and Verizon to try it. Would that be enough? I can confirm it works for Sprint, but I understand you need verification.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fairyshacker:
Got any luck? i'm also facing the same issue. Not able to login google account.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Elfmirth:
try installing gapps nano and run setup before aroma.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Meowdib:
https://download.dirtyunicorns.com/gapps/ Try any of these dynamic ones, I use the mini ones on DU.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] crpalmer:
I am trying to add compatibility for the fingerprint sensor for M firmware.

Can someone running M firmware please try this experimental build:

https://www.dropbox.com/s/f5cohldxvwdr1kf/lineage-14.1-20170109-UNOFFICIAL-pme.zip?dl=0

(please DO NOT install the M fingerprint .zip that is floating around, just my build) and after it boots, can you:

adb reboot

adb logcat -v time > logcat.txt

(log into the phone and then hit CONTROL-c to kill the logcat)

adb shell dmesg > dmesg.txt

and send me the two files (logcat.txt and dmesg.txt). I would like to see both of those files either if it works or if it doesn't work. If it doesn't work, I want to know why. If it does work I want to see what it reports to make sure it seems like a safe approach before I merge it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] samolo93:
No sorry i will try the Dynamic gapps tomorow and tell you if it works
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] maulbongo:
Hope this helps.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] crpalmer:
I can't look at the logs for a bit (mobile right now). Did fingerprint work?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] maulbongo:
No, unfortunately it didn't.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tabp0le:
Is it meant to work on all firmware bases? If so, did you use an init to detect the firmware base and install the proper drivers? Just curious because I've been trying to figure this out too
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] crpalmer:
Trying to do it dynamically based on some hex editing. It is all on gerrit + my github for the hex edits.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tabp0le:
Cool, I'll check it out
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] crpalmer:
Hmmm. That actually looks like you were running the nightly from my build server and not the experimental build I linked. I don't see any of the logging from my new fingerprint HAL and the kernel version is:

Linux version 3.18.31-perf-g1b8d3d9 (crpalmer@ab) (gcc version 4.9 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Mon Jan 9 00:28:01 EST 2017

whereas it should say crpalmer@compile and have been built later in the morning. Would you (or someone else, [MENTION=5471195]tabp0le[/MENTION] sounded interested too?) mind trying again. The link to the build is:

https://www.dropbox.com/s/f5cohldxvwdr1kf/lineage-14.1-20170109-UNOFFICIAL-pme.zip?dl=0

Thanks for helping!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tabp0le:
I'll give it a shot
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tabp0le:
UPDATE: It works! (I'm running MM firmware)

Also, crpalmer - I can't seem to build a user/release-keys build. (to get SafetyNet working) Every time I try to build it, it throws an error about SELinux not being enabled, but obviously it is enabled. I'm running "brunch lineage_pme-user" is there something I'm doing wrong?

libsepol.report_failure: neverallow on line 371 of system/sepolicy/domain.te (or line 9046 of policy.conf) violated by allow kernel misc_block_device:blk_file { ioctl read write lock append open };
libsepol.check_assertions: 1 neverallow failures occurred
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] anarchyuk:
Same here I'm on mm base too and finger print works without zip
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dj_chapz:
[MENTION=3857343]crpalmer[/MENTION] Theres an issue with cellular network/data connection when switching out SIM cards.

I travel very often between Germany and Croatia and therefore also using 2 SIM cards. One is from Vodafone Germany and other one T-HT (T-Mobile) Croatia.

It seems to me that the SIM card that was inserted when the setup wizard was run is "remembered" in some way because only that SIM works without issues when swapped out.

At the time of clean install, the Croatian SIM was inserted, and it works OK. When I insert the German SIM card:

1. no cellular connection - it just doesn't connect

2. I do a manual scan - sometimes it automatically connects to that network, sometimes not

3. If it didn't auto connect on manual scan, I click on Vodafone, it displays "Registering..." and after some time "Automatic registration..." and in the end "Cant connect".

4. If it does connect after manual scan - no data connection and no way to get it. Tried toggling data and airplane mode on and off. APNs are always correctly displayed, so that shouldn't be the issue.

Network setting in both case is GSM/WCDMA/LTE auto. The connection problem is always present but the result of some steps vary from time to time.

I think this could easily be reproducable also with SIMs from different carriers from the same country.

Id like to provide logs, but since this includes reboots, I'm not sure what do you need, or after which step should I take them?

Also if someone else could test this scenario, to see if it only happens to me or is it a persistent issue.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tabp0le:
What happens when you do it the other way around? (Clean install with German, then switch to Croatian)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Railey:
I had the same issue with only one sim... O2, same Network settings.

After the firmware downgrade from N to MM it works proberly. ?

Gesendet von meinem HTC 10 mit Tapatalk
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dj_chapz:
As I remember it was the same issue just the other way around, German SIM worked immediatelly, other one couldnt connect. But it was a while ago and Im not 100% sure. I can do a clean install and try again with German SIM inserted, I have a spare phone to use so its not a big deal.

EDIT: Im on M firmware.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tabp0le:
You can always do MultiROM too. Makes testing much easier and you don't have to erase your main ROM. Since you are on MM firmware multirom will work fine.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dj_chapz:
Haven't really looked into it but I will try it out tomorrow then :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] steal25:
I read that a while back flashing this would encrypt data, and havent really sen it talked about since, is that still the case? I dont mind just want to be prepared and back up what needs to be backed up.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] crpalmer:
If you open two windows and at the same time run

adb logcat -v time -b radio > radio.text

adb logcat -v time > logcat.text

And capture that from boot for each of the two sims, that may help. And then PM me all 4 files.

Not sure what to think though as nothing you describe is likely to be specific to this device and I haven't heard a similar complaint elsewhere (although all my sims come from the same carrier which means I've never tried this scenario on any phone....). I will take a look though.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jt1975:
Anybody else having GPS issues, its not getting a lock for me, if I switch to device only I get no GPS, and if I try to navigate, it just sits at some random location, GPS status can't find it either, it appears at first to work, with it set to high accuracy, but after you try to navigate, it just sits at some random location
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tabp0le:
GPS doesn't work for Sprint.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jt1975:
That sucks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] crpalmer:
SELinux allows people (aka Google) to write rules that say "thou shall not ___" and apparently one is for user builds though shall not allow the kernel to access block devices like it does. The kernel does this in the battery / power supply driver and after looking at it for a bit I didn't want to determine if it was just for debugging or if it was required so I allowed the kernel to do it in our sepolicy.

I suppose you can delete that rule in sepolicy/ and see where you get.