yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] pantherpilot:
This morning, after having the device the whole night in flight mode, I deactivate flight mode and the device freeze and reboot, unlocked the screen, it freeze and reboot and so on continuously. I was unable to get it stable again, even with deleting cache/dalvik. I needed to go back to my backup of the last stable.

Sadly I couldn't get you some logs...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Anyone who testing the hmp build, can you test this new kernel? The big cluster cleaned up, for me seems to fine, but more test needed.

Also added few io scheduler, fiops, sio, zen and elementalx governor. Plus few optimozation. BLN not merged yet and some others
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] A.Hussein:
Thank you :)

I'll flash it and see how it goes.

Should i keep core control turned off or you took care of that?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Thanks [MENTION=4453138]fagyi[/MENTION] installed latest kernel and have to say it is the first time in 24 hours that my phone has booted first time so fingers crossed you've cracked it ? I've turned off any kernel tweaks I had like disabling core control so new kernel is running as you created it to run. I'll keep you posted. Thanks again!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Im re-enabled.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Deleted.

My bad, didn't really understand what those max frequencies means:cyclops:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Is DTS baked in? Just want to know whether to try the DTS:X in magisk or not.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Not sure. Ported some code from htc, but havent tested. Maybe not fully. The dts project not merged yet.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Ok thanks [MENTION=4453138]fagyi[/MENTION] I'll install and see. DTS:X has been hit and miss for me, sometimes working on last few builds but then doesn't work after a second reboot. When it works the sound on our 10s is amazing on headphones (Ainur Sauron and AML running at the same time).

---------- Post added at 09:58 PM ---------- Previous post was at 09:46 PM ----------

Just had a hot reboot [MENTION=4453138]fagyi[/MENTION] wasn't doing anything heavy on the phone but I opened a log viewer, screen froze after a few seconds and then rebooted.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
With new kernel, my phone always reboot if i use the phone
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Not seeing that on my phone. Had a complete shutdown earlier, not even a reboot. Phone was cold after sleeping for about 30 mins with no usage by me. Seems we are all experiencing different things.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
Dou you use magisk? I use it. Maybe, i must uninstall it first then flash new kernel. But after revert to old kernel with dirty flash (but wipe the /system), it seems better than before. My phone cold and never reboot until now.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
I do use magisk. I'm on beta 19 but going to revert to 18.1
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] KEB64:
Can this Kernel just be flashed from recovery like any other zip?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] minhajlk:
Yes.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
Since I flashed the new kernel I haven't experienced anything I did yesterday. Not one reboot yet.

Only one reboot so far..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
Just tried uninstall magisk fisrt before flash new kernel, now it's fine.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
Clean flashed HMP build and GAPPS then rebooted to home screen.

And rebooted to recovery to flash the fix.

After I selected "reboot my system", my phone got bootloop for serveral times.

At last, it finally booted to home screen.

And now I'm testing with Magisk 19.0 and see how it goes.

Will report after a day of testing. Thank you fagyi :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Just had one reboot after new kernel flashed last night... I only get reboot when i press power button to wake my screen then i put my finger to fingerprint sensor and it freezes and reboot occurs... No reboots under heavy loads or gaming...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rattengift:
HTC 10 Evo

[MENTION=4453138]fagyi[/MENTION], I would love to use the latest and greatest LineageOS on my HTC 10 Evo. Could you please create a new unofficial built for it and open a new threat in HTC 10 Evo development? Thank you so much ahead!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
The system manage it long time ago. Touchboost, thermal, schedulers etc can effect this settings.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Without an device i cant do anything. Sorry.

Also i dont have enough time for maintaining 2 devices
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rattengift:
I feel you there, thank you for your honest answer. How about you compiling a test build and letting me help you? I guess there might not be too many changes on the HTC 10 Evo.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] denyo81:
As you describe it, I had it too. And when the phone was connected to the charger in deep sleep, the problem often came up. Did you have that too?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
No, but i had slow charging problem, and not charging at all, but maybe it is charger problem so can't report that... yesterday phone stucked at 57% for about half an hour...

I will try to provoke that and see if it will reboot...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] denyo81:
Does it make sense to flash your IceMan kernel about your last EAS build, or better not?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
Just got a hot reboot when I try to wake my phone. :"(

But with this fix I won't get into a bootloop.

Is it a good sign? :eek:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Hi all, just wondering if everybody using HMP version and reporting hot and cold reboots have magisk (18.1 or 19) installed? I myself have 19 version installed (had 18.1 and still had reboots) and notice that installing/uninstalling magisk apps and rebooting can take 2 or 3 reboots to boot fully. Once the phone is booted and settled, hot reboots are rare since the latest kernel update. I have no kernel tweaks applied, no apps like LKT installed. I do use Naptime. My curiosity is around if magisk is related, particularly with manual reboots.

Edit: I've also noticed that after a reboot, logcat viewer does not show any of my magisk apps as loaded. I have DTS:X, Ainur Sauron, ACP and AML. As a test I installed a Google Sans fonts magisk app for visual proof. Installed ok, had to go through 3 cold boots to get the phone booted but when booted the font was Product Sans. I manually rebooted, only took 1 normal attempt but when it booted, no Product Sans...I can see this in the app names in drawer. Logcat viewer shows no entry for Sans or any of the other magisk apps mentioned above.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
I use magisk 18.1, but never face 3 cold reboot after installing module. For hot issuse, it same with and without magisk. Actually latest kernel is better than previous for temperature. Sometimes my phone reboot if it too hot, especially when using it while charging.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
After the test kernel I'm still getting reboots everytime I wake my phone damn near.. Sometimes it will go for a few hours without reboots.. Then I'll get a call or a text and when the screen turns on the phone will reboot.. It actually will reboot twice before it's good again, really weird
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Same here. I was calling them cold reboots as opposed to hot and I guess that's the wrong terminology but I meant booting from the start... Can sometimes take 2 or 3 attempts. Are you using magisk?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Hi all!

If you got an hot reboot, can you share with kernel logs with me?

The code in terminal:

su

cat /sys/fs/pstore/console-ramoops > sdcard/last_kmsg

After i need the last_kmsg file from your internal storage. With attachment its fine. Thank you!

Dmesg only store the actual kernel logs, but i need the crash stack from previous boot.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
completely stock LOS here no mods no tweaks not Magisk .. was running fine without any reboot and lag untill i tried testing Screen Cast function ... Since then iv been getting cold reboots with increasing frequency and increased Stutter and jank to the point where i had to reset the rom .
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
I only have reboots after a deep sleep... So all users have different experience,:confused:

Edit: forget to ad txt at the end of file name:cyclops:

Edit2: don't know if you see the post, so i will quote you [MENTION=4453138]fagyi[/MENTION] :cool:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Thanks guys, so looks like magisk is not related. What about encryption?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mhmdabj:
hey [MENTION=4453138]fagyi[/MENTION]

I have the same reboot problems , log file attached as u asked :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Neeosx:
How can I install ainur sauron? I'm getting cannot mount /dsp in magisk

I'm on 3/10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Can you test with fiops io scheduler? Bfq seems to buggy

The best way if you edit this file with tc

System/vendor/etc/init/hw/init.qcom.power.rc

End of the file:

setprop sys.io.scheduler "bfq"

Change the "bfq" to "fiops" and make one reboot
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Edited like you said and will see...hope it will be no more reboots;):svetius:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Hot reboot.

Edit: apologies [MENTION=4453138]fagyi[/MENTION], I hadn't changed the io scheduler to fiops as I hadn't seen your post. Got the hot reboot in bfq. Have changed to fiops now.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Seems to I just found whats make an issue.

Kernel used interactive gov as default and when boot its complated the init section try resetting the interactive gov which makes an mismatch on governor & core control stack.

For boot, on kernel i just switched to performance, then when boot completed the init switch to interactive. Seems to fine now.

Building the april sec updates with my changes on hmp. Hopefully no more reboot for you too.

Will be uploading morning.

Im updated the kernel with some optimizations. BLN still not merged yet, dts aniur yes, but not tested. Also device side got few updates
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Good to know, i didn't suspect that you will find and fix the problem;) hope it is fixed

Btw, didn't had reboot after changing io to fiops, who knows, maybe it will come in any moment:p the rom is now very responsive and in performance terms it is very close to stock, if not the same... Really appreciate your work on our device:good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
New test build its out. ( Im running it, seems to stable now )

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

Merged the april sec updates and all los changes too.

Cleaned up the power on kernel and device side. The kernel built with O2 optimizations flags and with many other goodies for better user experience and stability.

BLN not merged yet, wakelock blocker, dts project, vdso backported, and many other under the hood which not tweakable from userspace

No need flash any kernel, the built in is the most updated and prefered to use.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
GCam working in April build ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Thank you, thank you, thank you [MENTION=4453138]fagyi[/MENTION] this build is buttery smooth and so responsive. No lag or stalls or reboots at all. Brilliant work!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
[MENTION=4453138]fagyi[/MENTION], here my logcat. I face reboot after charging when first boot and try to unlock, then phone rebooted.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
Didn't see your post before. Thank for new build.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Cristoppher:
When I plugged in / unplugged, there was an extended notification sound that I could not turn off and had to restart the phone. Does anyone like me and how do I use it normally?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
I know your doing a lot but is wireguard baked into kernel yet??
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] KEB64:
Super fast and fluid. Well done!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Shows a version of wireguard for me on latest build in SmartPack
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Merged on kernel side ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Im switched back to BFQ for testing the stability with that. Seems to fine after a governor cleanups, but not well tested yet.

So I just switched to fiops by default on the last test hmp build.

I'm glad to see the change on your side working too. :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] FluffyDiscord:
why do you need wireguard, theres Energized Protection and CloudFlare magisk modules

edit: nvm, its for vpn management
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] linx1287:
does gcam work on the new hmp build without the interference in the viewfinder
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
My phone stays very cool now.

With this new build, everyone's HTC 10 is ready for the incoming hot summer :cool:

Thank you fagyi :)

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

Viewfinder issue still there, but I think it will be fix soon.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sudoxd:
thanks for keeping my device alive but it is time for me to move on. my fingerprint scanner has stopped working, the camera does not focus but the main issue is my battery life has been getting worse and worse each day (it is down to about 1 hour or less SOT now) and i dont trust myself to replace my battery nor can i afford for someone to replace it for me, i have ordered a google pixel xl and that is due to arrive in on wednesday. this rom is excellent and i have had no software based issues with it for quite some time, i have been using it since the first build.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sly_North:
In lineage-16.0-20190407-HMP-UNOFFICIAL-pme, MGC_6.1.013_MI8_V1 takes photos nicely, all features are working. The only issue is the viewfinder is filled with lots of short vertical lines, and its brightness keep bouncing from bright to dark and back. The shots are fine though.

EDIT - clearing GCam's data didn't help. But actually the viewfinder 's blinking brightness disappears as soon as one type on a part of the image to focus.

I would love for the vertical lines to disappear from the viewfinder, but this gcam works well enough and the photos are as good as in previous ROM builds.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] thisisapoorusernamechoice:
I'm coming from 0324 build about to install the 0407 build. Has anyone successfully dirty flashed or is a clean flash required?

Edit: I went for the dirty flash, no issues so far. Thank you fagyi for all your superb work on this ROM and device!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
yeah photos do turn out fine after shutter button is pressed .. but with buggy viewfinde its hard to know what we are capturing specially in night mode .

maybe if we try modifying the developer settings inside the app .. things can stabilize ... do u have any clue as to what is causing the issue in viewfinder ???
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Neeosx:
New HMP build. is amazing! Definitely a lot cooler, have yet to test overnight battery drain

Can confirm the gcam viewport bug - lines flickering
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
I see many user have a camera not focus issue. Mine too. I plan to replace the rear camera module, but this phone is too difficult to open. Maybe i also must prepare to move to another device. But, this rom always make me cancel to buy a new one.

---------- Post added at 11:48 PM ---------- Previous post was at 11:32 PM ----------

@fagyi, in latest and previous test build, I often experienced haptic feedback effects working while holding my phone. Is anyone also face it?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
For me the camera auto focus working on snap and google camera from playstore. Both back & rear without touch. Also the preview its fine

I dont use the custom gcam.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] burleanu:
Yeah [MENTION=4453138]fagyi[/MENTION], first of all thank you for the fix. I had just a single reboot after first start (clean flash) and no other until now. It looks like it will be okay. Will see how will it be but I think you will find all the problems.

Regarding the camera indeed there is no problem with the stock or Google camera from store, but they are older. Google camera from store is version 4.x.x when the moded Google camera (a.k.a. GCam) are version 6.0.xxx and they are able to make incredible photos (night mode included) that's the reason why everyone is asking about. It really make the phone to have an up to date camera even if it is such an old phone.

Even with the new phones it can do amazing things, just look for the comparison between the stock camera and the Google camera V6... (moded version) on the last Samsung S10 and you will understand it.

I don't know if you try it, if not U should and I guaranty that you will not want to return to v4 from store [emoji12].

OK, you have to find one that is working good on our device. I'm using this one "GoogleCamera_6.1.013.216795316-debug2.apk", if you want I can send you the APK, some other are using other versions but for me this works the best.

Even now, with this kernel, it have no problem on view finder for panorama and video.

In the rest, from a basic user point of view, the rom is excellent, minus the little glitch with the new camera.

Respect!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] denyo81:
Has anyone here already successfully connected his phone to the TV? For me the screen goes off and then comes the message SIM card detected and whether the phone should be restarted.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] thisisapoorusernamechoice:
Hey [MENTION=394989]burleanu[/MENTION] may I please have a link to the modded google camera version 6 you are using? I've tried a couple different apks and couldn't get them to work (although this was on earlier builds). Thank you!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] burleanu:
Try googling....

Or try this [emoji12]

https://xdaforums.com/devdb/project/dl/?id=30779
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
i just downloaded the version u mentioned from XDA and tried it .. its having same issue as all other versions i have tried .. flickering lines and exposure constantly changing in viewfinder .. if u have modded version of this apk please share so that we can try it out ;)

btw is this the one u are using with working viewfinder ? https://xdaforums.com/devdb/project/dl/?id=30779
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] burleanu:
We write in the same time....

I did say I also have glitch with the application... view finder also have snow flakes

Is the one that was most reliable.. before... at least for me. In panorama and video is ok, also the photos are ok.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
i am trying out Version 6.2 now .. same issue with view finder but version 6.2 gives brighter images ..

only fagyi can now see whats the issue with Gcam but i think he has no time yet he seems busy with rom development .. or maybe someone with knowledge can mod the apk specifically for HTC 10 pie ?

The new kernel improved the performance of device so much but broke the Gcam surprisingly :confused:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sly_North:
I used to love this version, yet MGC_6.1.013_MI8_V1.apk has all feature working and is faster, so it's still my favorite.

I have tried lots of 6.1.021 and some 6.2, but I haven't found one that works on our HTC10. It seems the support for the Camera2 api is not perfectly implemented on our phone (HDR+ will either loop forever or crash), and the HTC 10 is missing the raw10 format that is required for the SuperResolution, thus these versions won't give us much more than 6.1.013.

BTW, there's a dashboard listing all GCam ports for all phones.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
I changed back to bfq when I seen your post earlier [MENTION=4453138]fagyi[/MENTION] and have had zero issues ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sudoxd:
The camera unit itself doesn't look too hard to repair, the hardest part is of course getting into the device but there's alot less things you have to take out compared to a battery replacement
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] pantherpilot:
I'm on the new testbuild since 24 hours now! I faced not any reboot, no lags and an acceptable battery life. The phone was during the night 8 hours in flight mode and I lost no battery went to sleep with 35% and woke up with 35%.

Thank you so much for your time and work!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
Hi fagyi,

I noticed that big cores are in deep sleep in most of the time.

But I read some articles said that the architecture of big core and small core are same in S820.

The only difference is the size of L2.

This results in the power consuming of big core and small core are the same, but small core has less performance.

So I was wondering if I can change the priority of big core and small core to get more snappy experience?

Thank you fagyi :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Will look at the weekend some documentation about.

I just found out, that alarmtimer make a lot of wakelocks. Need cleanups on that, after unlocked some juice for the 10 which present more sot and better standby time.

I want now more uptime on my device.

You can test it, with builtin wakelock blocker block the alarmtimer ( and ipa_ws if you want for now )

Need enable advanced feature for look these services
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RobertHaung:
Thanks!! That's what I want to say!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Nice one [MENTION=4453138]fagyi[/MENTION] I've blocked both suggestions above now. I was getting really good battery already so can't believe even more will be squeezed out ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
I just installed my old one favorite camera app, like A Better camera. The HDR option make an very impressive picture.