yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aqua_hopps:
GCam: MGC_6.1.009_MI8_V1a (BSG, 2018-10-19)

Kernel: 3.18.138 IceMan

The black vertical lines appears on the screen while the camera is either focusing or shooting for a fraction of a second. (For this particular GCam, other versions may have continuous vertical lines with strobing exposure.)

The result photo has bright, short green/purple vertical lines.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sly_North:
[MENTION=4453138]fagyi[/MENTION] Here you go.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Maybe its a little off-topic and sorry about that ;), but i want to ask, now we are caf based, does that mean that we can now build pixel experience (which is caf/aosp based) rom on this caf kernel..?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Yes, but on aosp base the dt2w, magnetic cover and aod work as different way, so this 2-3 feature broken on that im sure, like on aosip for example.

Also need some rom specific changes on device tree for build it. Vendor & Kernel can be untouched.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] wonarges:
Known Issues:

IMS - VOLTE - Working for Verizon!!!

Tested on HT 10 pme Verizon.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
that maybe because HDR turns of automatically ?? i found that turning that option off resolves alot of issues but the picture quality drops dramatically .
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aqua_hopps:
No matter the options you set for HDR, issues still persist.

So the two aren't related.

And I think the whole point of GCam is its stunning HDR...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] musasalmanzadeh:
I think that's much better rom than LOS 16, if someone build it, that would be great
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mcmorariu:
Hi,

Which release number (date) ROM are you on?

Thanks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] denyo81:
Seems like my battery has a memory effect. Slowly it will probably be time for a new battery. :/
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] FluffyDiscord:
Can I get back battery usage? The first hmp build was great, I had great performance, good battery life and phone was chilly, even under light gaming. Now standby went from 0.7%/h to 2.4 and SOT went from 19-21%/h to 30-45. Pretty pleeeease? Or can I just dirty flash old version ? Will that work?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
You can do that, flash back the older version if its working better for you. Wipe dalvik and its fine.

Maybe if you do that, can you post the init.qcom.power.rc from system/vendor/etc/init/hw/?

Im just synced the pixel experince source, i will look how it working on my 10.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
PE sounds interesting. I have pretty much all the latest Google apps installed and working fine on LOS and they definitely make the phone feel pixelish ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] musasalmanzadeh:
It looks great, thanks for your work ??
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Maybe you didn't understand, fagyi asked you to upload the init.qcom.power.rc file from system/vendor/etc/init/hw/... I would do that but at the moment i am on stock sense rom.

Edit:wrong guy quoted, sorry;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] musasalmanzadeh:
No problem) , I'm on stock, too
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sly_North:
MGC_6.1.009_MI8_V1a works fine under 20190413, no vertical lines nor blinking. It may have a few missing features or hiccups compared with 6.1.013, but it's now the best we have.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aqua_hopps:
It isn't working fine.

See my post quoted below:

The issue started since the 3.18.120 caf hmp kernel, which was the first hmp build I flashed on the device. Later went back to the eas ones and the problem was solved.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] FluffyDiscord:
I already went back (to 03.31) before I read your edit. I'm sorry. Now it really is better. Are you still interested in that file?

Edit: also wifi seems better, regarding it's speed and stability
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sly_North:
Yes I know, I have this issue too in 6.1.013. But it's gone for me in 6.1.009, on the same lineage-16.0-20190413 ROM with the same HMP kernel, changing only the GCam app.

If you still have the issue in 6.1.009, that could be due to a settings from 6.1.013 not being cleared out (I had rename my 013, to be able to test several versions at the same time). Maybe clean installing 6.1.009 or/and clearing its cache+data could help in your case?

Anyway, I confirm we have a working GCam6.1 on our device with the HMP kernel.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aqua_hopps:
Read more carefully. I said black vertical lines upon the moment of "focusing" or "shooting a picture". It is unlike the continuous vertical black lines rain on the 6.1.013.

I can personally live with the black lines since it is almost nonexistent on the 6.1.009 version. But the result photo will have purple/red/green vertical lines, which is annoying.

We DO NOT have a working GCam yet.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sly_North:
Well I simply never had this particular problem. I see you flashed the 3.18.138 IceMan kernel, while I'm running the 3.18.120 that came with the ROM. Probably the source of your problem lies there.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
Auto HDR probably turns off the HDR for you ... when the HDR is on and HDR processing is set to normal-high .. the lines and blinking return ... if you try version 5.0 and earlier .. the black lines vanish altogether in hmp builds .. because those apks dont have HDR .. but then GCam with out HDR is not very useful .. so its better if we figure out what causing the problems with HMP builds ... specially the weird colored pixels that show up in darker shots ...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sly_North:
No it is on, with the notification showing its progress for about 7 seconds. I simply don't have this issue.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
i tried the version you are referring to .. it sure doesn't have the flickering and snow line issue.. but those colored artifacts still appear in final image .. iv tried different models from app settings and they still appear .. even though they are 2-3 dots but they are there ... and also nigh aight don't work in this apk .. might be fagyi can work out the source of bug in future builds ..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
[MENTION=5561729]abdullahsulman[/MENTION] is right.

I have the same issue with 6.1.009.

Just took a pic of moon, the vertical lines appeared.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] saifi258:
I've read some of the changelogs but I can't quite understand that, I've been using the port that came out on 2nd of December, can anyone tell me how much the rom is improved since then, thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sly_North:
I've tried it a bit more. Now I do see a few small vertical lines flashing when I tap to change the focus, then they disappear. And I still don't get any artifact in the shots I take. Not sure why it would work fine for me and not for you; could it be a setting left somewhere by another version I've tried?

To me, the only drawback of using this 6.1.009 is it doesn't have the real Night Mode, only a high iso mode.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
the artifacts mostly appear in photos with highly variable lightning .. in well lit conditions they are often absent ... one more setback of 6.1.009 is that potrait mode photos are extremely noisy in florescent lightning
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jerryhou85:
Dear all,

Please take this as a reminder that this is a ROM development thread, not a gcam app support thread. Developers may welcome your feedback on certain apps but please focus more on the ROM-wise.

[MENTION=4453138]fagyi[/MENTION] OP, feel free to shout out if you need a clean up here. :)

Thank you for understanding.

Regards

Jerry

Forum Moderator
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
What about with this kernel? I just rolled back to O stack on camera side on kernel, just searching which commit needed reverting on P source.

( actually the camera stack same as as EAS kernel )

Looks like for me its fine on 6.1.009 now
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
Brilliant!!

With the new kernel, even the night sight on 6.1.013 works perfectly :good:

Big thanks to you [MENTION=4453138]fagyi[/MENTION] :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
this solved the problems with Gcam .. even version 6.2 is running without any issues ..infact V6.2 is performing better than previous ones.. night sight .. potrait . hdr+ .. everything working superb ... thanks for the awesom work ??
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
[MENTION=4453138]fagyi[/MENTION] you didn't reported about pixel experience, obviously it didn't go well on our 10;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] KnilLink:
I'm on Feb 28th build. Is it alright for me to dirty flash the latest build?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] musasalmanzadeh:
I couldn't understand, is this kernel new version of lineage-16.0-20190413-HMP-UNOFFICIAL-pme.zip build's kernel?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Im worked on the kernel at the moment. I have few another updates on kernel side which coming soon. Like BLN, fastcharge etc

At night or tomorrow starting building the PE.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
Lol this gonna be my last post related to Gcam .. since its working properly now .. this one is for the purpose if people want to know which apk i am using for Version 6.2 .. here is the link : https://f.celsoazevedo.com/file/gcamera/MGC_6.2.024_RazerPhone2_V1c.apk

this apk worked out of the box without any change to settings along with latest fagyi kernel .

edit: this version is snappier than all previous ones and is producing really crisp and colorful images with quick HDR processing
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
This is awesome!

---------- Post added at 09:34 PM ---------- Previous post was at 09:33 PM ----------

This kernel rocks [MENTION=4453138]fagyi[/MENTION] thank you ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] linx1287:
For some reason, 6.2 still fcs but great news, 6.1 works flawlessly again... thank you dev for your hard work
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
try clearing app storage and wipe cache before installing latest one ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Hi all.

Seems to gcam related issue done with my new kernel.

If you want discuss about gcam, please go to this thread:

https://xdaforums.com/htc-10/themes/gcam-htc-10-development-optimization-t3747204/page20

[MENTION=2458988]jerryhou85[/MENTION] described exactly why. The basic issue solved now with my new kernel and on the next release should be fine.

Jerry, thank you for your effort, i dont need cleanup on this thread. Its a nice reminder for me on camera side.

All the best!

Fagyi
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
After installed the latest kernel, I noticed less responsive experience and more power consumption compare with the original 20190413 build.

But, it's always stable the most important and then performance isn't it? :)

So if there is something more important then ignore me.

Thank you fagyi :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
I didn't see a performance drop with latest iceman kernel .. but power consumption has definitely increased by almost 20%
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
What about with this? Hopefully better with that.

Many improvements merged, BLN ( maybe need some minor work, i never used ), power consumption improvements and basic optimizations.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] musasalmanzadeh:
can anyone upload META-INF\com\google\android\update-scrip file for me, please. I corrupted mine :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] musasalmanzadeh:
come on,guys, it's sooo necessary, I can't download rom right now so please upload that file
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] piplewis:
Is this what you're after?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Thanks [MENTION=4453138]fagyi[/MENTION] seeing lots of unused big cores with this kernel which I think helps with power consumption? I use on screen nav buttons rather than the hardware keys (prefer the ability to swipe using the newer middle button to switch between last 2 apps and also access task manager) so I don't think I can use BLN and test this feature properly for you.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] musasalmanzadeh:
yes, thank you very much :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Sweet, BLN does work with on screen nav buttons. Just have to turn off nav buttons and enable BLN and then re-enable nav buttons. Can confirm both hardware buttons blink after SMS received while screen is off and initial notification is shown. Continues to blink until phone is picked up and then it stops blinking. Like this a lot! Thanks [MENTION=4453138]fagyi[/MENTION] every update is adding huge value to our 10s!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
This kernel, makes phone always vibrate when tap home button.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aqua_hopps:
[MENTION=4813582]fresh777[/MENTION]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
This version is much smoother and cooler on my 10. Thanks !!

BTW, last time I mentioned that loading big core first and then small core.

I found some instructions to do so on stock ROM:

echo 0 > /proc/sys/kernel/sched_downmigrate
echo 0 > /proc/sys/kernel/sched_upmigrate
echo 10 > /proc/sys/kernel/sched_spill_nr_run
echo 85 > /proc/sys/kernel/sched_spill_load

Are these instructions suitable on LOS16 and latest kernel?

Thanks in advance :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
Not a proper solution. By the way, I just report the bug to [MENTION=4453138]fagyi[/MENTION].
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] musasalmanzadeh:
How can I set home button wake the device, like the stock rom??
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Mr Hofs:
By that you mean that other users can't think in solutions ? Embrace the fact that they do. That it doesn't fit your special needs is another thing so just thank him for trying to hand you at least 1 solution instead if biting him off because you "just report the bug to Fagyi"

I hope you will process this information in a good way and learn something from it.

Happy Easter y'all ! ✌
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
for some reason home button vibration cant be turned off via settings with the new kernel ..

battery usage has improved significantly ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Yes, you can test these settings if you want

Also you need enable wq_power_saving under cpu settings for now, i found i make an one typo in configs and seems to not enabled by default.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
Sorry sir. And thank you. Sorry because forget to say thank to [MENTION=9056384]aqua_hopps[/MENTION]. My apologies you misunderstood my comment [MENTION=4252827]Mr Hofs[/MENTION]. I say not proper solution because my first comment to [MENTION=4453138]fagyi[/MENTION] is to inform him, that his latest kernel make home button always vibrate, so i hope he will make change for the next build. Not for asking some trick to reduce vibration level.

But you are right, i forgot to say thanks and i really apologize for that.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aqua_hopps:
Set the home button vibration level as instructed on my previous post with the value 0 to completely disable the vibration.

The home button vibration isn't a bug but a feature that came bundled with the Double tap to sleep driver I assume, so that you can set values to you likings.

What you are asking fagyi to do is to set the default vibration level to 0, which isn't beneficial since the kernel already came with an option so you can adjust it.

If fagyi really decided to set the default to 0, people who previously lived with home button vibration would start to complain. So the real solution is to make the option to set it accordingly known by users.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fresh777:
I think In normal setup, when we disable touch vibration, it will disable the haptic feedback for keyboard and also navigation button. But in latest kernel, it make haptic feedback active for home button even while the touch vibration is off. Please correct me if i wrong.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aqua_hopps:
The system settings are irrelevant now because of the new kernel implementation of home button vibration. You will need to change it via kernel manging app like EX Kernel Manager, but the plus side is that we get to set it to our likings or even disable it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
See the attachment.

I dont want disable the vibration by default of home button. You can disable it yourself, if you setuped FP, than you will need disable the vibration for that too, and maybe also enable as FP as home button option. For me now its working.

Also on this kernel corrected my wq power saving typo, so its just enabled by default now

I think the next build comes with this kernel as builtin.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scutworker:
Thanks #fagyi for all your work on this so far.

I have a question regarding this becoming Official LineageOS in the future.

With a lot of people asking for features to be added to the ROM like sound mods, Wireguard and the like, does this stop it ever becoming an official version of LineageOS, or are such "extras" allowed to be added?

Cheers.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Excellent kernel again [MENTION=4453138]fagyi[/MENTION] I see Schedule workqueues is enabled by default on this kernel. I've been setting this myself in previous builds and found it very helpful for power consumption so great to see it as default.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] abdullahsulman:
is there option built in for disabling the vibration ?? or do we have to use kernel manager ..coz i have searched in settings but haven't been able to disable fingerprint vibration even after enabling 'use fingerprint as home' option.. your other Roms like AOSiP came with bulit in options to disable all sorts of vibrations .... any help would be great ..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
You need the kernel manager;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Hi guys,

New build is up!

Download: https://androidfilehost.com/?fid=1395089523397949175

Of course it is HMP!

All Los changes merged as well.

The latest kernel comes as builtin ( with few another io sched option )

Camera related errors fixed, shimmed a missing symbols and kanged few blobs which dlopened faults. Power configured for balancing needs test.

Also Perf, graphich, media, prostprocessing, thermals blobs kanged from the latest op3 P source which just released. Power off allarm, dpm, ant+ and iop removed since not needed.

Building PE right now, hopefully tomorrow i can test it on my 10. ( 26% compiled )
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] piplewis:
Flashing now, thanks for your hard work!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] musasalmanzadeh:
Thank you so much, you're the king of developers
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] espoir.:
Tnx a lot , you are the ONE
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
The legend that is [MENTION=4453138]fagyi[/MENTION] Thank you!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scowley7:
Has fastcharge been disabled with this build?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scdarva:
Are there any plans for OTA updates? Or is it already working?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] markcsi:
Camera

The camera dont work frontal cam, button not respond.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
Not for me, everything works fine:o
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] piplewis:
Works for me, dirty flashed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] denyo81:
Hey [MENTION=4453138]fagyi[/MENTION], I have a quick question:

If you install a new build, then you install the gapps with or just the ROM?

I ask that for the following reason:

I noticed if I only install the build and not the gapps missing after installing a few system applications from the gapps. What I have not found out yet is if I can also install a more recent build of the gapps or just the gapps I used after a full wipe.

What I can say with certainty is:

It is always better to flash the gapps afterwards with a dirty flash.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Im dirty flashing the rom only. I havent experienced this. But I dont use many of google apps. Maybe LOS missing a few thing for backup restore script on install/update procedure.

Of course the best way if you flash the rom & gapps also.

Also, if you dont use any mod, my option the best way for updating:

Wipe system, flash the rom & gapps wipe dalvik, reboot.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
I think im too modded the kernel for Official, but can be easily move back to non tweaked stage.

Im not an fan of official, only if its full complate. If i move to official we dont be better, only you get an OTA. The team dont have this device so all the work is mine which i can make it faster under localy instead of review. Also needed selinux enforced for official. But one day maybe make it official for us. We get all the feature on unofficial exlude ota.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] denyo81:
Thanks for your feedback.

Personally, I always install the Pico gapps and G-apps that I need then I get out of the playstore.

I saw that you have added maple as a scheduler. I'll test elemental as governor and maple as scheduler. Thanks for the positive expansion of your kernel. [emoji41] [emoji106]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
I think the best if you stay on interactive gov. I have a good sot drain, after optimization. I get 22-25% / hr now. Chrome eating more battery when i use if i look right without mostly 22%/hr

Also im testing with maple at the moment. Not bad.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
[MENTION=4453138]fagyi[/MENTION]

hey my friend, sorry to bother you.

I am trying to build with your hmp kernel and keep getting stuck on this error:

https://pastebin.com/b3w5ez6B

Any help is always highly appreciated.

Thank you!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Clean your source first, somethings mismatches in the backround. Maybe an force sync also helpful.

make clean & make clobber

You can remove the out dir for make sure.

Also clean the ccache if you use!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] andybones:
Ahh the ccache it must be! Is new source/sync.

Can use hmp vendor/device tree?

Thank you again!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Harrygsr:
Is it possible to flash your new kernel on rr Rom? If so where can I find it?