yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sly_North:
I think I've tried that one and it kept crashing. Of all the MGC_6.1.*_MI8_* (lots of 6.1.021 and 6.1.013...v2) I've tried, MGC_6.1.013_MI8_V1.apk was the only stable and fast and fully working one.

PS : we should discuss this in the appropriate thread "Gcam for HTC 10 Development" instead of polluting this LOS16 thread ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
Deleted
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] denyo81:
Hello [MENTION=4453138]fagyi[/MENTION], do I understand this right you have Doze integrated into the ROM? Has anything else to consider in the basic settings? And where we are already on the subject. What do you personally think of such apps like Grennify? Your personal opinion interests me very much.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Doze package only for that controlling the proximity sensor as correct. No need another setup.

Greenify, my personal recommendation is 'no'. Usually it is recommended when you have some app which runs riot in the background and there is no other way to control it. I find the implementation of Doze in Pie to be impressive, but you know ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] LK255:
Hello, could anyone share experience on how is battery life on this ROM (or some other) compared to stock Oreo 8? I've bought the phone not long ago and my battery life is absolutely atrocious, I get barely 1h of SOT which makes the phone borderly useless for me :( I actually ordered a new battery from aliexpress but the current one shows around 2,2k mAh left which shouldn't be that bad, so I assume there's something horribly wrong with the OS...

But since I'm not a tech-y type I'm a bit afraid of both replacing the battery and changing the OS, so I'd prefer to do only one which is more likely to help... Any suggestions?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
Hey Fagyi,

I found something with my mobile payment app(pay with NFC).

On stock Oreo ROM, this app have the "Access to SIM Card" and "NFC Transaction awareness" permissions.

But on LOS 16.0, it turns to be "Access SIM" and no "NFC Transaction awareness" permission.

I was wondering if this is the crux of this problem :confused:

Thanks in advanced :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sly_North:
LMGTFY
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] LK255:
It doesn't answer my question though :( Do I have better shot at changing the battery or trying a custom rom? Both are +- same work for me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] denyo81:
This can not be predestined exactly because everyone has a different usage behavior. But let's be honest, I think the battery life is more than ok and it will be a bit better in the next few months, as I have met our maintainer. But if you want to put a lot of emphasis on the photo quality is to consider. That no AOSP cam would ever be able to match it with a stock cam.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] lalejotr:
Hi guys, I have a problem, basically is, my main/back camera doesn't work but the front camera does, when I open the main camera the screen turns black or the application crashes. Any idea?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
Dude isn't that almost 1/3rd of the battery is toast??? I think that's pretty bad. 2 year old batteries aren't that great at all. In 2 years you know how many times you've charged your phone.. Or the battery has been hot as hell????
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] LK255:
I bought it recently so it was on shelf for those 2 years... But regardless even if the battery was at full 3k, meaning it should theoretically get +50% power, it would still be atrocious, considering it has no problem draining more than 1% under a minute at the moment at power saving mode :crying:

It really bugs me because the phone is basically everything I could want from a phone, but the battery life makes it nearly impossible to use as a daily driver :(
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] denyo81:
Try to format the cache in settings under app Settings. Otherwise, there is nothing left but to go back to Stock rom to rule out a hardware defect.

---------- Post added at 09:04 AM ---------- Previous post was at 09:01 AM ----------

To find out, you probably can not get around a self-experiment.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] imonirban:
Yeah,i have the same problem. Basically can't leave the house without a battery pack.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] branko.s67:
According to AccuBattery my battery is currently at 2199 mAh. I've had my phone since it was released. I am in no way careful when I charge it, fast charging it to 100% every night. Of course, I use Android Auto quite a lot, so it's not only on fast charger. I never turn off mobile data, my work mail is always syncing, ...

But my SOT is nowhere as bad as that. It varies somewhere between 2.5 and 3.5 depending on usage and signal reception. I don't play any demanding games though.

I've been on LOS for the latest 3 months. Stock kernel, no tweaks. Haven't used real stock since the day after I got the phone, but i was on LeeDroid until LOS, with approximately same SOT. Was better in the beginning of course.

So I think that 1h SOT with that battery capacity seems little. Have you checked what consumes it? A rouge app maybe?

I would definitely try a custom ROM first if I were you. Not only because of the battery.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
Same. I'm at 77% left.

I was able to get easily 1.5 days battery and 3-5 hours SOT on Nougat LOS (and this is charging only to 80%, and running down to about 15-20%). I've been playing too much with P to get a good reading, and my battery needs time to adjust as well, but it's not as good as I was hoping for. I knew it wouldn't be as good as N but I'm hoping once it calibrate to P I'll see the same results as N.

Is anyone getting VoLTE running this ROM?

[MENTION=4453138]fagyi[/MENTION] I'm getting VoLTE with Verizon on crdroid P, maybe this can be of help to get it going on this ROM?

I even had to download some app to hide the notification saying sim1 is HD capable.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flis94:
How to change lte icon to 4g .tnx
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
I just uploading one new build. Few min and ready.

Here is it: https://androidfilehost.com/?fid=11410963190603913787

Can you test the encryption with that?

Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] santod040:
He's been actively working on it for some time now.

That's why you see the notification you see....

(also seen here)

https://xdaforums.com/showpost.php?p=78717777&postcount=2082
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Looks like, the blobs working great from stock O. I hear before that on first boot its coming up the notification with hd capable, but after reboot brake it. Still working on it, i need figure out that init stack

Do you modified any file from my source which related to ims stack? Or working with my tree?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] theteju:
Hey Guys,,

A Newbee, here. I have been using HTC 10 since 2017 and always used stock ROM. Last week my microSD card got corrupted which was mounted as internal storage. I ended up losing my data and few Apps,, this lead me to search for a custom ROM install. After doing all research and reading many post, I decided to go with LineageOS-16.

I must say, Hats off to all the hard work goes behind this build. I never knew so much customization can be done on my device. I highly thank all developers and community supporters on here.

Having said, I do have some stupid questions to ask and two minor issue on the Phone.

My device now have TWRP recovery , Unlocked bootloader.

DO I have to root my device?

What benefits do we get for rooting the device?

I read a post about people using Gcam app for pictures.

Is it true that such .apk apps can only be installed if the device is rooted? ( If rooting is advised, what is recommended to go with Supersu or Magisk approach?)

HTC 10 setup on my phone is never finished. The app/service is keep crashing at "Bring your data from" and I dont need to bring any data, so I am choosing "Dont Copy".

[IMG="HTC10 Error screenshot"]https://imagebin.ca/v/4VeOh2lnV3el[/IMG]

There is some Trust service is complaining about SELinux disable saying My device is not secure! Also, LineageOS setting is also crashing.

Once agian, Thank you very much for your hard work.

Any reply would be appreciated.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
I know this..

I also am seeing the notification I see because VoLTE IS confirmed working for me with Verizon on crdroid P, which is based on LOS.. :good:

I also saw that post, and thought I read that it goes away with reboot.

Working with your tree.

Nothing modified related to IMS.

Thank you for all your continued hard work! :highfive:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Another nfc updates. Can you testing the payment?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] theteju:
I tried to attach screenshot. Please see the attachment. Thanks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] burleanu:
If you are using accubattery you can see where you get the biggest consumption of battery.

How much the app reports for the consumption/hour for screen on and how much for screen off. For screen on should be around 25-30%/h and about 1.2-1,7%/h for the screen off. At least this is what I get at the moment with new battery inside and currently at 92% health.

Also is a lot related to the screen brightness. How much you keep yours?

All of this are assumed that you are using the phone normally, without intense gaming.

After you see where you have biggest consumption you can start trace where is your consumption. At the screen on or at the screen off, and then go further to investigate.

---------- Post added at 10:00 PM ---------- Previous post was at 09:42 PM ----------

@fagyi what is different in 02.02 compared with 29.01 build. I do like very much how the 29.01 behave and I'm afraid to update [emoji16][emoji16][emoji16]

Yesterday night I did get 0.7%/h discharge with this build.

For hotspot you fix? Or it worked because I deactivated the "hardware acceleration...." from developer options. Because it did worked ok when I need it.

I see you activate the AOD but if I de-selected in the options to be off I still have AOD. It does turn of if I activate the battery saver. So now I have AOD only on charge, kinda like it.... [emoji16]

If is just the encryption then I will wait for the next one.

Keep up the good work you are doing.

All my respects!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Just an encryption and upstream changes which not as much. Febr sec updates coming few days i think
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jedi22300:
You're good, you don't have to root if you don't want to. I prefer not to root actually because some apps don't work on rooted devices, and magisk hide (which hides the fact that your phone is rooted from the app) doesn't seem to always work.

I haven't had the problem with the setup issue. Did you press on the notification and try to finish the setup then? If the notification keeps coming back, try restart your phone and wipe dalvik/cache. If that doesn't work, maybe you can try a older version of openGAPPS. I used the january 8 aroma package which worked fine.

You can ignore the trust service unsecure thing. I just turned off the notifications.

Idk about the lineageos setting crashing thing. That honestly sounds like the biggest issue in your post here lol, i almost missed it since it was so short. try wipe dalvik/cache.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
After we got oreo this phones power consumption turned to poop anyway.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Hi [MENTION=4453138]fagyi[/MENTION] I've just encrypted using your latest Feb build and all seems to have worked. Took about 5 mins even though initial screen stated it would take an hour or more. No bootloop. It correctly requests the PIN at start-up and then proceeds to start the phone once entered correctly. I'll test properly tomorrow by connecting to a PC and ensuring data can't be read until the correct PIN is entered to unlock.

One thing I noticed is that I can't mount data in twrp recovery using the same pin (never asked for pin before I encrypted obviously) but I think this is a twrp thing rather than a LOS thing. [Edit] Reading up I enabled secure start-up in LOS expecting that I would need to enter the set PIN before the phone started allowing twrp to recognise the PIN and so able to decrypt however I was not prompted to enter the PIN when rebooting to recovery from a powered off mode. So still unable to decrypt in twrp. I'll keep reading

Kudos for all your hard work and thank you, you really are breathing new life into our 10s.

BTW, I also installed your nfc.zip file which I hope to test tomorrow too with Google Pay.

---------- Post added at 03:01 AM ---------- Previous post was at 02:17 AM ----------

I noticed Digital Wellbeing on latest Feb build is crashing when choosing Night Light Schedule [MENTION=4453138]fagyi[/MENTION] I normally have this set to automatic (sunset to sunrise) in previous builds.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JamesKinds:
Hi [MENTION=4453138]fagyi[/MENTION]. Encryption is working perfectly on the latest build. So far everything is buttery smooth. Thank you :)

---------- Post added at 06:01 AM ---------- Previous post was at 05:53 AM ----------

This is definitely a TWRP thing. The only real downside is that to flash any upgrade ZIP, it needs to be placed on an unencrypted partition e.g. microSD, USBOTG, etc.

If TWRP access to an encrypted partition is critical to you then you can revert to last good official PME LOS Nougat build.

AFAIK no one is currently maintaining TWRP for PME (HTC10).

Fagyi is doing a brilliant job developing LOS 16 for our device. My advise would be to stick with fagyi's development and live without TWRP access to the encrypted partition.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JamesKinds:
Scratch that. I rebooted and the camera is working. Apologies for the wrong feedback.

[MENTION=4453138]fagyi[/MENTION]

In the latest version, the camera app keeps crashing.

I also tried Open Camera, which also had an error message that the camera could not be opened.

I suspect that it is driver (or shim) related.

Please let me know if you need a logcat.

Thanks again for the great work
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] catavento:
I've had the same problem. It was fine to begin with, but after a reboot the SD card showed up as corrupt. Formatting it just gave me that same issue with being stuck at 20%.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Hi!

For notification, look at my vendor repo.

I just hacked the ims.apk to get rid of the stupid HD notification which just pushed to my repo.

Hopefully its working. I just noticed when i make one call, my network switched to h+ but i can surf on internet via chrome at the same time but not on lte yet.

Still building the latest because i updated from caf the device side, mostly init & overlay section to the latest
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
Hi Fagyi,

Thanks for the quick fix!

Sorry I didn't mention that if I can not read the virtual card from my SIM card, I can not pay with NFC.

But it seems that some error messages are gone!

Here's the logcat. Thank you for spending your time doing this hard work for us:)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Oh I'm definitely sticking with LOS, far superior to stock in my opinion. On the encryption though, I get that the install zips can be placed on my SD card and seen in twrp but surely it can't be installed as no access to the system partition etc.? Example being the next LOS update from [MENTION=4453138]fagyi[/MENTION] Even with the zip on the SD card and seen, how will it install to the encrypted partition? If the option to enter the PIN at start-up worked as I think it should work then the partitions would be decrypted before TWRP loads and so best of both worlds, encryption and full TWRP access. Am I right in this train of thought?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scutworker:
When you encrypt your phone, only the internal data memory is encrypted, not the system partition

. System is never encrypted. It doesn't need to be, as it only contains the Android operating system and no personal information. So you can still flash zips to it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] n1rv9@vmani.com:
I have downloaded the latest Feb ROM, and it still says vender security patch level, December 1, 2018.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
Awesome man! Amazing job as always.

I am building now, and will edit this post about the notification fix. Thank you!

edit:

Fix is working like a charm! much appreciated!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Hi [MENTION=4453138]fagyi[/MENTION] I just used tap n pay with Google Pay on latest Feb build and your latest nfc.zip and it worked flawlessly ?

---------- Post added at 05:05 PM ---------- Previous post was at 04:53 PM ----------

Ah! Thank you for this. It was indeed internal storage I was looking at that was showing as 0MB due to encryption. I'm happy out that I can have encryption and twrp access if needed ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 2LoT:
Quick answer: stay with Nougat, if you are already on Oreo, flash Nougat firmware back and put stock or any Nougat ROM. This is quite an undertaking if you are not a tech person. Read carefully about how to revert back from Oreo to Nougat on XDA. The other alternative is to sell your HTC10 even at loss.

Long answer: Bought an used HTC10 (US unlocked) last year based on HTC friendliness with developers I heard from the past. Then HTC discontinued support for HTC10, abandoning the Oreo firmware midway. Which has some troubles, especially battery issues. I had already upgraded to Oreo and spent an unreasonable amount of time to try to optimize the battery. Disabling startup for the most apps possible and applying various battery optimization profiles on XDA. This improves but nowhere as good a "normal" phone. Under Oreo, the HTC10 just eats battery just to stay idle. This is a very tiring routine just thinking that each time I use the phone, I must be careful and plan for charging if I want to finish the day with enough battery.

Some advanced users in LeeDroid forum suggested that maybe the battery is dead. I then learnt that the HTC10 is very complicate to change battery because likely the screen will break. Official repair shops asks for $100 USD. All mobile repair shops refuse to service it. I found one who charged for $60 USD labor if I supply the battery. And now the megashock: with new battery, the situation barely improved! I then go back to Nougat (flashing Nougat firmware + installed LeeDroid R121). Then the battery issues is solved. Currently have something like 3.5 to 4.0 SOT. The phone is never absurdly warm like with Oreo. This phone has others troubles but it's specific to me (it seems to have an antenna issue, roaming USA not working with provider Freedom Mobile Canada).

Overall I regret stepping into the HTC eco system. I should have waited a bit more and go with other brands. After that HTC debacle, last year I bought a used Pixel from a friend and a brand new Essential PH1 (Amazon Black Friday). All are far better (and less expensive) than the $300 I spent on that HTC10.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Yes, because the vendor security patch level managed by myself since htc doesnt support anymore the 10.

The blobs nearly updated to 12.01 from anither devices, so this is a why you looked this. Other device exclude pixel it has lower security dates on their vendor side mostly.

Some stack is uptodate, but the most is no.

Not important.

I can make it that says 05.01.2019 but its not true, so why?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] santiagotatis:
Hi guys, on the last day rom version i'm flashing magisk 18 but when i open the magisk manager its says that device is not rooted, i'm doing a fresh install and the problem persists, any help??

Thank u [MENTION=4453138]fagyi[/MENTION] for the great work
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] LK255:
Ok that sure does sounds tempting... However I did try to search for the downgrade advices and I wasn't able to find some kind of all-in-one guide to follow through... Mostly it's just pieces of advices which just reference to doing things I just don't understand... Could you please recommend some links to guide me through the process? :silly:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aqua_hopps:
[youtube]PjzO42kDLnU[/youtube]

This video should be able to help you.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] 2LoT:
This post from Wonders_Never_Cease shows the steps how to downgrade from Oreo to Nougat and links to get Nougat firmware + Stock Nougat
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] burleanu:
Thanks [MENTION=4453138]fagyi[/MENTION].

I'm very surprised that you manage to update even that. It was long time on December 2017, I was very surprised when I see that was updated too.

Nice job.

Keep up the great job you do, ignore the one who don't understand....

Again....

All my respects!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
I never notice that. It's really awesome that you also manage the vendor security. Big thanks to you!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] heyChristo:
I had same issues when I got my used HTC 10. Keep playing with it and by the time you get it, you will be a phone flashing master! Kernel tweaks in kernel auditor should get your thermals under control and get you the battery life you deserve. This phone has now better then any other phone you could purchase new and I got it for a song.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
[MENTION=4453138]fagyi[/MENTION], can you fix hotspot and connecting to hidden ssid issue for the next build?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] LK255:
So if my device is "s-on", I just follow these 6 steps and that's it? No prerequisites required? I don't want to brick my device only to find out I didn't "format flash my persist regional twrp RUU xcm FBI C## asdthvsdfrht (+more random words I don't understand)" first like it was some rookie mistake :D

I'm sorry for all the bother, and sorry that I'm being offtopic, but could you also give me some info what "flash stock recovery", "relock bootloader" and how to "run the RUU on your phone" (steps 4, 5 and 6 in posted guide) is, or where could I find more info on that topic?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Both of these options are working for me in latest Feb build. For hidden SSID you have to state Yes in advanced options for Hidden Network when setting up the connection.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
He gave you the thread.. Why not bring your questions to the appropriate place? This is a ROM thread.

You also are free to open up a brand new thread in the Q&A forum.. I've downgraded to N from O like 4 times since updating less than a week ago, because I forgot things in my backup.

This thread may be more help, this is the guide I used.

https://xdaforums.com/htc-10/how-to/downgrade-problems-downgrading-htc-10-t3735658

Santod040 also made a nice flashable.zip as well. Works great!

https://xdaforums.com/showpost.php?p=75602484&postcount=66