yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
Well kind of like Groovyjoshclark said some pages back.. You should RUU before going from sense too LOS.. Then make sure you fully wipe everything before you flash LOS.. I actually an going too RUU before i install the next update Fagyi throws out here.. But what i do is i wipe everything/factory reset/delete data/ etc.. then i reboot into recovery again then flash the rom/gapps/ etc... I've notice sometime that when you wipe and then flash sometimes the partitions don't mount right so I've made it a habit to reboot into recovery twice after i wipe so everything is ok and mounted.

And also i seen some people say they dirty flashed from LOS 15 too 16, even Fagyi says not too do this.. So if you do this and dirty flash don't come on here asking why **** isn't working right.. CLEAN flash.. It's not that hard!

I know I'm all over the place but here is another little tidbit for yall. Since i am coming from sense(Viper10 6.0)too LOS 16. I am going to backup all my apps on titanium backup........... BUT i am only using this as a reference too know what apps i had installed. I am installing all apps fresh, i don't use these backups because they could be f**ked up, like something I've had backed up since nougat won't play well with oreo or P. If your doing backups because you have alot of different passwords it's very easy too use something like keepass2android(it's also cross device, you can use it on anything/win/linux/mac/android/iphone) if your worried about security and you have Google saving all your passwords well let me stop you right there, you obviously don't care about your security too much. If your doing backups with titanium backups just to save time, believe me you will have less of a headache if you do fresh installs, cause you won't have any problems like apps not loading and force closes yada yada.

WIPE WIPE WIPE, CLEAN CLEAN CLEAN FLASH!! IT DOESN'T TAKE THAT LONG TO DO STUFF RIGHT THE FIRST TIME.. Then you won't be on here asking "why doesnt this work???" "idk why your guys apps are working and mine arent!?!?"

Really try not doing backups after your clean flash, see how much of a difference it makes.. Also Google will register the tokens you need for some apps that won't do it if you just keep doing backups all the time.. For example, why some apps don't give you your notifications until you open the app, then whammmm you get them all at once. All your social media apps are good for doing this.. So guys fresh installs man! Try it out, save yourself some time figuring out why **** don't work.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sudoxd:
make sure the rom file is on an sd card because that doesnt get wiped in the process.

What i did is wipe internal, system, data and the caches, then i formatted data (the one where it makes you type yes) and then you have to reboot twrp, then i flashed the rom and 16.10.18 gapps
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Yes, you are true. selinux it is not a big issue it can be easily resolving, the main problem for official, that if my knowledge its right, prebuilt audio hal its not allowed on the official support. So I need debug the stock hal and setting up the amplifier source for it that get it woofer working via source built without the prebuilt hal. But this one its a hard step but not impossible.

We are fine with unofficial stage at this time.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Austin.Jin:
Hey,I'm curious whether your CPU usage/frequency are normal when WiFi activated,if answer is yes,could you take a screen shot with Trepn profiler shows them when WiFi activated?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
At the moment I am on another P ROM, not this one so if/when I come back to LOS, I will but it may not be today.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] trapcoder:
Is there another P rom for our 10 besides this ? :confused:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
uh yeah, and theres a reason I didnt post the name to NOT pull away from fagyi's build. Fagyis work is amazing and has led the road to other builds.

Google is your best friend, PME AOSP
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] trapcoder:
Didn't have much luck with it haha
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
I PM'd you, but dont let this divert others from LOS and fagyi's build (this one), let others find it themselves and go through the right forums so it stays out of XDA and this forum please.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] trapcoder:
Yeap , thanks mate. Fagyi's build works great for me. :o Appreciate all the hard work
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
I dont answer PM's so please dont start spamming me with questions on other P builds. Simply google plus search PME AOSP. I have already received 3 in the last 30 minutes.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jt1975:
Could someone please extract the Lineage email APK and upload it here, I posted this in the Lineage thread, but nothing happening, I would like to test it on stock AOSP, thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sudoxd:
i have attached the email apk
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jedi22300:
I'm thinking about using this ROM but quick question. Is touch latency worse on this than stock?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Austin.Jin:
Can't see a difference,but cause I can't comprehend them side by side,not sure if there is really no difference at all.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] alexx910:
First of all, kudos to [MENTION=4453138]fagyi[/MENTION] for this great rom. As mentioned everything works except for the second speaker what you already have resolved and will impliment in the next update.

I only got one issue and that is the overheating while doing the simple tasks, seems like the governor is out of control or something like that. Got only some basic google apps and usual stuff as whatsapp installed.

Are there any advices for a more relaxed governor and/or a more efficient kernel which doesnt run all the apps trough the high power cluster?

cheers
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] unicoco12345:
I can confirm that's true. Especially when wifi is on. The whole device is heated. :crying:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] INDIAN-MAfIA:
If you check github, there's a lot coming in the next update for the heating issue, CAF powerHAL, updated thermal, wifi changes and several other improvements. Got me all excited. Kudos to fagyi!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] alexx910:
That sounds absolutely fantastic, didn't check github yet but am looking forward to install the newest update :) I guess after that the phone will be absolutely rock-stable as DD
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] AggelosGR:
how about photo and 4k video quality?same as stock?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
New Build Is Up​

https://androidfilehost.com/?fid=11410932744536990570

Changlogs shortly:

pme: Woofer working builtin like as stock

pme: Sync Light interfaces with P

pme: remove powerhint

pme: audio: add support for aptX & aptXHD

pme: update widevine blobs from marlin - 9.0.0 (PPR2.181005.003, Oct 2018)

pme: update graphics blobs from LA.UM.7.6.2.r1-03000-89xx.0

pme: rootdir: add init.foreground.sh

pme: configs: wifi: kang from marlin master brach

pme: config: thermal: remove merge derp from marlin

pme: irqbalance: bring back

pme: power: switch to cfq as default

Revert "pme: Migrate to audio V4"

pme: disable INTERACTION_BOOST,it is just ramping the CPU unnecesarily

pme: manifest: bring back thermal 1.0

pme: thermal: remove the service source too

pme: remove thermal service's for now

pme: power: switch to the latest qcom-1.1 power hal

pme: copy a missing ant+ permission

pme: power: configure for EAS

pme: configs: thermal: update config from marlin to P

pme: remove energy-awareness

pme: enable AOD overlay

Revert "pme: sensors: move to hwbinder"

pme: use new hwcomposer properties

pme: wifi service cleanup

pme: move wifi calibration to vendor

pme: Disable sdm rotator downscaler

pme: lights: add more backlight permissions on init

pme: Renamed config_dozeAfterScreenOff

pme: kang marlin brightness settings

pme: FP: move a new way

pme: audio: add two flags

pme: audio: build libaudioroute

pme: gps: remove unneeded flags

Vendor:

pme: perf: update related blobs from marlin to P

pme: remove energy-awareness

pme: thermal: update related blobs from marlin to P

pme: add missing ant and camera blobs

pme: irqbalance: update related blob from marlin to P

pme: update graphics blobs from LA.UM.7.6.2.r1-03000-89xx.0

pme: update widevine blobs from marlin - 9.0.0 (PPR2.181005.003, Oct 2018)

pme: widevine: remove derp

pme: widevine: remove old blob

pme: audio: add support for aptX & aptXHD

pme: aptX & aptXHD add missing blobs

F1 just starting!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nitishkrp:
This is enough for my dd

Thank You [MENTION=4453138]fagyi[/MENTION] ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Thanks fagyi, I can't test at the moment but I did have issues using the kernel with the kang Wi-Fi changes on a different build. Hopefully the kernel isn't needed with this build but I'm curious if Wi-Fi is stable.

Can someone test the latest and confirm the audio woofer and WiFi?

---------- Post added at 08:14 PM ---------- Previous post was at 08:09 PM ----------

Woofer and WiFi stable without kernel? I'm trying to debug something on a different ROM and currently in Philly with my daughter so I can't test until tomorrow.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] edu_ss:
testing.. thank you so much!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] robinnl192:
I tested and wifi and woofer are working! Dirty flashed it. No problems what so ever. Works like a charm.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Yup I just tested audio and WiFi both works excellent.

I wasn't planning to do it today while in Philly with my daughter but I had to test. So far, it's amazing! Audio works, Wi-Fi works, and it's cool, no heat.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] AggelosGR:
how about photo and video quality?same as stock?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Doubtful it will be quite as good as stock, I think that's due to closed source cam framework but I could be wrong. Others will chime in as I don't use stock OS so no way for me to gauge.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jabia:
Can't Complete Setup

Hello all,

I can't seem to be able to complete setup on my HTC 10. I'm stuck at the 'connect to WIFI' screen just after selecting my language and country.

I've tried reading through this thread to see if it's a gapps issue, but the scenarios don't seem to match.

My scenario: Leedroid (Sense Oreo) > twrp > factory reset > format data > flash Lineage OS 16/Gapps > Wipe dalvik/cache > Reboot

I'm using the latest Gapps (28/10/18)

Any help would be appreciated.

Thanks.

[MENTION=6423569]GROOVYJOSHCLARK[/MENTION]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Roll back a version of gapps to use from the 14th, the lastest has had issues bootlooping but you seem booted but still could be gapps. Definitely try from the 14th as I know it's working as I'm using it now to write this reply. Also hit the back when the WiFi setup hangs (which it does at times) or use only mobile if still stuck. I'm running the lastest build with gapps from the 14th, no issues at all.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jabia:
Thanks [MENTION=6423569]GROOVYJOSHCLARK[/MENTION], I suspected this too so I'm downloading the gapps package from the 14th. Would let you know how it goes.

Thanks again.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Cool let me know, I'm in Philly at a concert with daughter so I'll be slow
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] edu_ss:
Same escenario as you and everything is working fine, try using other versión of gapps but i used the latest and works fine
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jabia:
This did the trick for me. I'm now setup. Latest Gapps worked just fine.

[MENTION=5110856]edu_ss[/MENTION]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] edu_ss:
Woofer and WiFi both works great, coming from leedroid.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Cool glad to hear it and glad to know recent gapps are working again!

---------- Post added at 10:47 PM ---------- Previous post was at 10:45 PM ----------

Yeah sometimes the WiFi setup hangs, not only this ROM but others too and hitting back usually clears it up
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] edu_ss:
Great that's gonna help a lot of people i guess :p
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jabia:
Same here! Also coming from Leedroid. Still setting up and reinstalling apps. Would comment on battery life and such after I get some use out of it.

Thanks [MENTION=4453138]fagyi[/MENTION]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
[MENTION=4453138]fagyi[/MENTION] Nice job. I think because you used stock audio files the discrete DAC also seems to be working. Poweramp is showing option for hi res output which is amazing. No other AOSP rom did that before.

Btw a tiny bug. Network speed indicator seems to not be working atm.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] vrl2:
Upgrading from LOS 14.1

Great work - excited to test! Reviewing the posts to figure out the best way to upgrade from LOS 14.1 (s-on).

My understanding is that I’ll need the latest Oreo firmware (so a clean install on Nougat is not possible). Am I better off RUUing the latest factory stock rom from HTC (then unlocking, installing TWRP 3.2.3-0, formatting the data partition in TWRP, and then doing a clean install of Pie / gapps)? Is there an advantage to upgrading from LOS 14.1 to an AOSP Oreo ROM before a clean install of Pie?

Finally, I was planning to root by flashing SuperSu V2.82 in TWRP. Any issues there?

Thanks again!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jabia:
Has anyone been successful rooting the latest build? I've tried flashing Magisk twice now, no dice...

---------- Post added at 11:51 PM ---------- Previous post was at 11:47 PM ----------

You'd definitely have to RUU first, as you'd need Oreo firmware to use this. Take a look at the first few posts on page 46 and 47 of this thread. Some other users have already addressed the best methods for your scenario.

Cheers!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Yes, supersu didn't work but makisk (latest stable) is working fine.

---------- Post added at 01:23 AM ---------- Previous post was at 01:22 AM ----------

Hey. For some reason Google photos is thinking my device is a Pixel and is giving me unlimited photo backups. How would I change that? I don't want my accounts to be banned by Google.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jabia:
Heating and Batterry Issues

I observed my HTC 10 still heating up, with fairly high battery drain. As a workaround, I've turned on msm_thermal, core_control, and vdd_restriction in my kernel tweaking app (I use EX Kernel Manager - Paid). You should find same settings in your own kernel tweaking app.

For now, this has greatly reigned in the aggressive throttling of the default schedutil governor. I hope this helps.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Austin.Jin:
Stil have a significant higher cpu frequency when wifi activated.

It's better than previous build,but still need improvement:)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] unicoco12345:
Yes :crying:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
Use The newer GCAM. It works pretty good

---------- Post added at 06:32 AM ---------- Previous post was at 06:30 AM ----------

Uhhh if you have all those enabled won't it mess something up.. I'm sure i read before either use msm or core but not both??? Does anyone else know anything about having both on, and if it's bad to do this???
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
That's been an issue in all builds so far. I ended up buying a cheap one for a buck that works well.

---------- Post added at 06:10 AM ---------- Previous post was at 06:05 AM ----------

Rooted with both SuperSU as well as magisk, this is the first build I am actually using magisk and it hasn't given me an issue yet.

EDIT that was a typo, I was on the road, I meant I TRIED both but magisk worked better so i stuck with it. I didnt debug SuperSU issues but it didnt look to have failed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jabia:
Thsnks [MENTION=5433796]kend0g[/MENTION]. I'd do my research,band let you know what I find.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sudoxd:
safe to dirty flash over previous build?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] trapcoder:
If you want issues, go right ahead :o
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Austin.Jin:
I guess yes, after dirty flash,it booted up fine.

Though I still did a clean flash after that
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] i_think_i_am_wrong:
it's ok. it's the gapps package that does that. don't worry, ur account won't be banned. ive been using this sorta workaround for a while and haven't noticed anything bad
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aligh2014:
Guys use this magisk module to enable your on screen nav bar :

https://xdaforums.com/apps/magisk/module-enable-navigation-bar-disable-hw-t3831236

After flashing this model go to settings -> system -> gestures -> enable swipe Up on home button:fingers-crossed:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Austin.Jin:
Don't worry, photos uploaded still count in your drive storage, you're not getting unlimited back though it seems like that.

---------- Post added at 10:11 AM ---------- Previous post was at 10:03 AM ----------

Wow, that's fantastic!:laugh:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Thermal and core control its fine with both, but not with vdd restriction. This or that.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jabia:
Thanks [MENTION=4453138]fagyi[/MENTION]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Enabled on the next build builtin the swipe up gestures:

https://github.com/Fagyi/android_device_htc_pme/commit/92a00d7bf3b71ceb2408ee5b2e5ae5379c66e1b0

;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
[MENTION=4453138]fagyi[/MENTION] encryption breaks decryption in twrp. Twrp fails to decrypt data after you enable encryption? Is that a twrp thing or a rom thing?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Confirmed strange cpu behavior when wifi is on...i use mobile data all the time and didn't noticed that before... When wifi is off, there is no overheating and battery life is a way better(on wifi 2-2,5h sot, on mobile data 3-3,5sot).. [MENTION=4453138]fagyi[/MENTION] Do you need the log for that or you already know what is the problem...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
I think you are going to need to format /data unfortunately, did you come from Sense OS or did you encrypt within AOSP?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
I see the issue, working on it.

Seems to another devices get this too. Like pixel before oktober updates and another devices as well.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Whats weird is I dont have overheating on the latest, clean build. I ran WiFi all night, overnight (as I always do) and it was a cold as the room. Not the slightest bit of warmth and I even tested a few times with SPEED TESTS so it used data over WiFi. Nada, cool as a cucumber, I use WAP encryption so nothing fancy (although a pretty secure PW).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aligh2014:
Tnx for your hard work bro ....there are 2 problems in this build .....1) mentioned before and that's the pixel launcher crashing 2) chosing theme and style giving me setting force close and there is no accent colors to choose.....
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Device will stay cool in idle, but when you perform simple tasks as using chrome or WhatsApp it will be warmer than on mobile data... Use ex kernel manager and toggle the wifi, you will see the differences in the cpu frequency and usage... I also clean flashed the latest build even the internal storage is formated, so my installation in good i think...

Edit: even if you are not connected to any wifi network cpu is jumping on high frequency without a reason...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
I did test it with WiFi only, mobile off, and I also use EX and Kernel Auditor to verify stats, yes its slightly warmer and running higher but I was also DL/UL tons of data for the speed tests, then I went one further and DL a new (duplicate copy) of the latest build TWICE concurrent. This means it was processing over 1GB of data through WiFi while using the device with mobile off (FB/GMAIL/ETC). I get no real discernible differences outside of normal CPU operations, but remeber I am also using the device while DL and it wasnt hot. I will continue to test it today with WiFi, as I need to build a new Nandroid off the latest (with the woofer fix) so if I find its reacting this way I will let everyone know, but as of now, its golden and cannot find any oddness with WiFi. I wonder though if its my AP device and/or my encryption type, it could be a unique combo but who knows. I will continue to test, I will even remove encryption and add higher encryption to see if its causing more CPU operations.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Formatted data in twrp before installing rom. Installed and twrp was decrypting fine with the default password (no password). When I encrypted from within rom it stopped working. I can access OS fine. System boots asks for password and accepts it. It's just twrp which won't decrypt.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Ahh thanks, and yes, I do believe this is a TWRP issue with the latest round of HTC updates on the firmware security but not a direct OS issue. This is an issue with the OS encryption unable to decrypt in TWRP. This is why you always need to format /data when coming from other Sense OS's as they also do the encrypting. I would say for now, my recommendation is to not encrypt within the OS, I could be wrong, but I believe its TWRP inability to read the encryption (due to the latest security from HTC) to decipher the data causing your issues.

What I mean by the latest round of security, is if you RUU'd back to MM, did all the workings needed to get SIM up and running, you would be OK and TWRP would decrypt. It was when HTC went to N when they introduced the security causing the inability to read and decrypt.

"Important Information: Potential DATA LOSS

HTC improved the security of their full disk encryption in their Nougat release. Because of their improved encryption, it no longer possible for a source built ROM to decrypt a userdata partition encrypted with HTC’s Nougat (or later) software.

Terminology"

https://wiki.lineageos.org/devices/pme/install

Other users may chime in and confirm or debate my comment as I dont directly use encryption myself so this is my best understanding with the N security and TWRP decryption based on my research a while back.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] i_think_i_am_wrong:
do u mean i wont be able to use my hw keys?

or will i be able to choose between both?