yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] marn3us:
Hello, could you please provide me a download link to the correct boostacks i need to flash for D802 R3 kernel to work on my CM12.1? I haven't found them in the op unfortunately

Thanks in advance :)
[G2 Android Development] Plesk8:
Makes total sense. Do you know which are stock settings on this kernel? Governor/scheduler? Or, perhaps [MENTION=5438598]RenderBroken[/MENTION] could comment on which governors/schedulers are known to be solid, and best for battery, everyday performance, and gaming?
[G2 Android Development] Bundizle:
I think just clear cache+ dalvic cache,reflash kernel and it will revert to the out of box settings tuned by the dev.
[G2 Android Development] Lawlrus:
Don't think you'll get much of an answer from him on that subject because everyone uses their phones differently.

Stock settings would be the max cpu speed on smart max, 300 min freq.

Zen for the scheduler and read ahead is 1024

Personally smart max works fine for everything I do, games and whatever. I set the max cpu to 1728, keep min at 300.

Deadline scheduler, leave read ahead stock.

I also undervolt globally by -25
[G2 Android Development] marn3us:
EDIT
[G2 Android Development] android extreme:
Install kernel adiutor and enable dt2w from here
[G2 Android Development] Lawlrus:
You shouldn't need to turn on dt2w with this kernel. Check your ROM settings to verify It is not toggled off.

If it is on then try going to stock to get rotation working then reflash.

Or try using rasheds bumped bootstack versus whatever the hybrid one is.
[G2 Android Development] :
Just confirming, I get this too.
[G2 Android Development] briskspirit:
Hello.

My device: D802 with LP bootstack -> KK bootloader, TWRP 2.8.7.1, ROM RRemix 5.5.6

With versions R3 and R3 T43 HID keyboard or mouse don't work in RRemix.

With kernel versions R1 and R2 have no problems with HID keyboard.
[G2 Android Development] voxluna:
Which should equal more battery drain, too.

---------- Post added at 07:11 PM ---------- Previous post was at 07:01 PM ----------

Which variant do you have? I'd be interested in seeing what you changed to accomplish that.
[G2 Android Development] KpKi:
[MENTION=5438598]RenderBroken[/MENTION] if I may ask , do you have any idea what is the cause of the random vibrations that occirs in all caf roms ? This issue is a bit annoying especially when your phone vibrates in a wrong situation. LOL. ....... Your help is appreciated
[G2 Android Development] RenderBroken:
Not sure, i remember this happening in KK and there was a fix. I will check it out.
[G2 Android Development] briskspirit:
So what about R3 problem with OTG HID ? R2 is ok.
[G2 Android Development] marn3us:
Quick question about governors and Schedulers:

1) do you guys prefer Interactive or Ondemand? i know they are very similar and interactive is more recent (it is also my favourite) but in the thread linked in the OP i read that ondemand is the best governor for performance/battery balance...

2) do you guys prefer NOOP, ROW or ZEN? i have always used noop on my other devices but i am liking Zen a lot since i have flashed Render's kernel back in CM12 days

Thanks in advance :)

ps: i know there is no "best" governor/scheduler, i just want to hear your opinion
[G2 Android Development] Lawlrus:
[MENTION=5439136]marn3us[/MENTION]

Educate yourself. http://xdaforums.com/showthread.php?t=3048957
[G2 Android Development] EvilKing009:
I found a problem with this kernel.

Changing governor to ondemand governor causes reboot.Tested with Blisspop and DU.

Logcat & dmseg is in attachment zip
[G2 Android Development] marn3us:
Thanks, but as i had clearly stated in my post i had already read that thread thoroughly, that's why i asked for user opinions ;)
[G2 Android Development] Lawlrus:
Because no one uses their phones like you do, so user experiences do what again?
[G2 Android Development] Snuzzo:
[MENTION=5439136]marn3us[/MENTION] commonly a dev will set a kernel for an all around that will work for the average user. Just read up, try things out as you have time.
[G2 Android Development] PimpMy5Ton:
Do you really have to be rude on here?? If you don't like what someone is saying it's not hard to hit the back button to exit the thread, these threads are meant to help development not hinder it
[G2 Android Development] b4mb1_:
Hi [MENTION=5438598]RenderBroken[/MENTION]

I'm still experiencing some SODS after taking your suggestion about putting the suspend frequency at 960mhz before it was 652mhz but still the SOD is still there i can't seem to open the screen (doubletap, pwr button) both are not working i even need to hard restart/turn on the phone then it will bootup again. Can you please take a look at my logcat, Im using SmartMax as governor and MSM Hotplug, No Undervolts.

ROM: RR 5.5.7

Kernel: RenderKernel R3

Bootstack: rashed's bootstack

Bootloader: Dorimanx 20H

Thank you
[G2 Android Development] briskspirit:
Hi, have same problem on default settings with R2 version.

---------- Post added at 05:10 PM ---------- Previous post was at 05:08 PM ----------

RenderBroken , any ideas please? All CAFs R3 don't work with OTG HIDs
[G2 Android Development] Lawlrus:
There you go, you said it. " DEVELOPMENT "

This is not a q&a
[G2 Android Development] RenderBroken:
Use a higher Screen Off Suspend Freq like 1.2 and such. If it continues, keep moving up. I am pretty certain that is your problem. Not all phones are created equal. I know I had to have my phone set to 1.2GHz to fix music stuttering while the screen was off. Keep messing with it and let me know. I can really see anything via Logcat. I really need dmesg and REALLY need Last_KMSG. That is one created when there is a reboot. But SoDs are hard because you don't normally get one. But since you are the only one complaining of such an issue, this also makes me think its the screen off freq. Let me know how it goes!
[G2 Android Development] RenderBroken:
No idea about OTG. I will have to look. Thanks for the heads up.
[G2 Android Development] briskspirit:
Check please! And USB video devices don't work too. For that as I understand you should enable USB_VIDEO_CLASS when compiling kernel. Maybe same problem with USB(OTG) HID devices?

Thanks!
[G2 Android Development] RenderBroken:
I really need more info from you guys about this. Like what Device model you have. I have had reports that it works fine for certain models. Most likely it is just a Defconfig issue. Thanks.
[G2 Android Development] briskspirit:
What info you need? I am not a coder, so can't help you to find exact problem without your support...

What I know now:

LP-CAF R3 enumerate keyboard and/or mouse fine, but mouse don't have pointer and keyboard is not working.

USB flash enumerates fine and works fine.

====

LP-CAF R2 enumerate keyboard/mouse and they work like they should. Mouse has pointer, keyboard works too.

USB flash - fine.

USB Webcamera(that supports PnP UVC protocol) - even didn't enumerate(will try to check with CatLog and need dmesg too?). Tried 3 different cams. As I read on Google this is because of some compilation flags switched off.

Here is EventHub log about webcam(no drivers for UVC in kernel?):

10-15 11:36:12.987 D/EventHub(904): No input device configuration file found for device 'HD Webcam C525'.

10-15 11:36:12.993 W/EventHub(904): Unable to disable kernel key repeat for /dev/input/event5: Function not implemented

10-15 11:36:12.993 I/EventHub(904): New device: id=7, fd=211, path='/dev/input/event5', name='HD Webcam C525', classes=0x80000001, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, wakeMechanism=EVIOCSSUSPENDBLOCK, usingClockIoctl=true

10-15 11:36:24.961 I/EventHub(904): Removing device '/dev/input/event5' due to inotify event

10-15 11:36:24.961 I/EventHub(904): Removed device: path=/dev/input/event5 name=HD Webcam C525 id=7 fd=211 classes=0x80000001

10-15 11:36:29.308 D/EventHub(904): No input device configuration file found for device 'HD Webcam C525'.

10-15 11:36:29.314 W/EventHub(904): Unable to disable kernel key repeat for /dev/input/event5: Function not implemented

10-15 11:36:29.314 I/EventHub(904): New device: id=8, fd=211, path='/dev/input/event5', name='HD Webcam C525', classes=0x80000001, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, wakeMechanism=EVIOCSSUSPENDBLOCK, usingClockIoctl=true

10-15 11:36:36.374 I/EventHub(904): Removing device HD Webcam C525 due to epoll hang-up event.

10-15 11:36:36.374 I/EventHub(904): Removed device: path=/dev/input/event5 name=HD Webcam C525 id=8 fd=211 classes=0x80000001

10-15 11:36:36.383 I/EventHub(904): Removing device '/dev/input/event5' due to inotify event
[G2 Android Development] RenderBroken:
Perfect! Thanks for the great info. Nothing should have change regarding usb/otg from r2 to r3. Still I have a place to look now. Thanks again.
[G2 Android Development] briskspirit:
A bit later will make two catlogs for R2 and R3 with HID connected to understand what's wrong.

What to look? EventHub or something else too?

Oh, and not only yours R3 don't work. Every R3 kernel don't work!
[G2 Android Development] :
Hello, I use official CM 12.1, which version should I download? is it from Lollipop folder or CAF folder? It's just I don't know if Lollipop folder is for stock rom not AOSP. :confused:
[G2 Android Development] L0nelyE4rth:
Download from CAF. Have fun :good:
[G2 Android Development] Ganjax:
After flash this kernel, android (dirty unicorn) can't detect my simcard... Somebody can help?

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] deojames:
May be you have flashed incorrect version if not reflash the ROM so you can go back to default kernel
[G2 Android Development] Ganjax:
Eveyrthing i flashed is correct for my D802 version.

It looks like it detect my sim card, but it can't read this card.

I have pin but is not required after reboot and all time have no signal.
[G2 Android Development] undeadking:
I've run into this issue a few times with my vs980/985 and I will usually have to go settings/mobile networks/access point names, and reset to default and that usually does the trick... If not clean your sim and reflash(clean) the ROM/kernel you want to run...
[G2 Android Development] Lawlrus:
[MENTION=5111123]undeadking[/MENTION]

I haven't had this on my vs980, I doubt it is ker el related. I have had the issue before, and it was always the ROMs fault

WiFi And tower handshakes had been doing it to me
[G2 Android Development] Ganjax:
Rom fault instant after new kernel flash, don't think so.

iv'e used this rom one month and had no any problems, after flash this kernel simcard was unable to read.
[G2 Android Development] undeadking:
Agreed... I will say that every time i reboot my phone on select roms i have to "reset default apn settings" to acquire a data connection. Mainly CM based roms though.
[G2 Android Development] Lawlrus:
I've talked to many people with vs980's that seem to have issues with data, this being on stock cm kernel. There doesn't seem to be much rhyme or reason to a lot of it. APN is great for me but not for x. So I'm not quite sure if its a chip issue or what.

Only time I have an issue with data is soft rebooting on Slim based ROMs.
[G2 Android Development] Tibiti:
try adding following line to your build.prop (should probably go the RIL part) and reboot:

rild.libpath=/vendor/lib/libril-qc-qmi-1.so

have same issue with zg85's kernel on latest blisspop roms..
[G2 Android Development] RenderBroken:
The reason I use AnyKernel is that it makes my kernel the most compatible you can have when flashing a 3rd party kernel. All my kernel really changes, are things that are interchangeable. I do not make changes that effect RIL, I do not make changes that should really effect anything other than optimization and performance. There may be some new CM changes I need to add to R4 to track with them and to make things more compatible with newer releases but I find it hard to believe my kernel is the sole reason for user's losing data. I know its been awhile since my last release. I have been completely swamped as of late. But I am getting caught back up! As soon as I finish my OPO kernel, I will grind out my G2 kernel. I still have alot of cool things planned for the G2. Since I have my old G2 back and ready to dev with, I do not plan to drop G2 support anytime soon. The only way I would drop support is if I lost my G2. Its hard as hell to blind dev for a device that is so finicky.
[G2 Android Development] Snuzzo:
[MENTION=5438598]RenderBroken[/MENTION] to add you also have a vs980 here to help.
[G2 Android Development] Latty:
DT2W works great with this kernel on DU.

I am noticing an issue though - with Render Kernel, upon wakeup, occasionally the phone display turns on but the display is frozen for ~1 second before the device becomes responsive.

I've played with the screen off frequencies (no limit), the input touch boost frequencies, turning on/off the wakeup and hotplug boosts, the governor (prefer interactive), and the GPU settings, but nothing seems to alleviate the [randomly occuring] issue.

Anybody else notice the same thing, or is it just me? Stock kernel on Dirty Unicorns doesn't have the same problem, but its DT2W is not as reliable.
[G2 Android Development] eric93se:
I stopped using this kernel for a while because DT2W wasn't working with CM nightlies, but I tried it now and it works perfect. RAM management with this kernel is leaps and bounds better than the stock CM kernel.

/happy dance/ :D
[G2 Android Development] eric93se:
Is there any way you can add a app boost state, where for example if I launch a camera app I can have cpu0 stay at 100% while the app runs in the foreground?
[G2 Android Development] RenderBroken:
No sir, and I wouldn't really want something like that. It would make the phone overheat. There are better ways to deal with such. Like by using the scheduler like I already do. And to tune the governor or hotplug driver.
[G2 Android Development] ZeNiXxX:
how about using something like that

http://xdaforums.com/xposed/modules/xposed-performance-profile-t2723739

or the in-Rom-buildin app profile changer.
[G2 Android Development] Snuzzo:
Why would someone want this?
[G2 Android Development] eric93se:
I was getting a lot of camera lag with shots that had a lot of action in them. I was thinking maybe we were all getting obsessed with battery longevity and some apps may suffer (or not perform).
[G2 Android Development] Snuzzo:
That should be corrected dependent on your maintainer ROM wise.
[G2 Android Development] EvilKing009:
Sorry for asking ETA, But is there's any Updates for R4? :confused:
[G2 Android Development] Lawlrus:
[MENTION=4496438]EvilKing009[/MENTION]

No
[G2 Android Development] RenderBroken:
Guys, I have been crazy busy. I have been working like crazy on the new RenderServer site. I have a new job I am about to start so I have had to finish up projects before I leave my old job. Its just been nuts. I still have some pretty cool things planned for the next build. I am going to be testing the current build over the next few days to see if I need to make any adjustments and such. Just wanted to drop a line and say that I am still around lol. Thanks gents (And occasional gal?)

Render
[G2 Android Development] Thesqu:
For some reason volume gain isn't working. I flashed the ukm zip and tried to increase the speaker and headphone volume using synapse with no luck. I've tried Trickstermod and Kernel Adiutor with the same results. Any advice?
[G2 Android Development] RenderBroken:
Thanks for the report. I will check it out on my end as well. I don't remember any reports about this issue though.
[G2 Android Development] Tibiti:
As far as I'm aware that isn't implemented in these kernels yet.. This was also the reason I didn't use it..

But correct me if I'm wrong..
[G2 Android Development] Thesqu:
Yeah it's not listed in the kernel's features, but to my surprise it was there after I flashed the kernel.
[G2 Android Development] KpKi:
Is R4 still in development phase ? As I understand from devs last post that he is trying it before releasing. Am I wrong ?
[G2 Android Development] RenderBroken:
Yes, I am still working on it. Just have had many things going on at once and unfortunately, the g2 isn't the highest on my priority list. But things are finally slowing down. I have a lot of dev plans for this weekend though.
[G2 Android Development] eric93se:
I can confirm the volume boosts don't work. CM changed the mixer_path.xml file a little while back.
[G2 Android Development] ars0n:
can anyone tell me if this has eth0 compatibility or option enabled?
[G2 Android Development] WORF84:
I don't intend to move you away from Render Kernel but if volume gain is important try Healthy Honey kernel. I'm using it on Resurrection Remix and it works great.
[G2 Android Development] marn3us:
Hello everybody, I want to report a weird behaviour on my D802 with CM12.1 official and Render's R3.

i have used that nighly in combo with R3 since the release (more than one month) with stock kernel settings except for -50mV downvolt and 1728mhz max core frequency and i had smooth performance and unbelievable battery life :)

the problem is that 5 days ago the phone started hanging when i tried to wake it up (it did not wake up neither with dt2w nor with power button) and i had to force restart of the phone... this started from 1 hang the first day to making the phone completely unusable in a couple days (and i did never change any kernel settings, same settings with same kernel and same rom as before... also no other downloads such as xposed or similar, just normal daily usage as everyday). also it had horribad battery life (like less than 3h SOT down from nearly 8h SOT i had before)

then i tried wiping system/cache/dalvik and reflashing both same rom and same kernel but still had the same problem (i also tried to restore stock kernel settings but the phone still hung on wake up no matter what).

two days ago i have clean flashed the same rom again WITHOUT R3 kernel and the phone never hangs up and has great battery life again (7h SOT average), so it was kernel's fault... since i would really love to use R3 again do you guys have any suggestion? maybe [MENTION=5438598]RenderBroken[/MENTION] could help me?

sorry for the extremely long post and thanks in advance for your help :)
[G2 Android Development] RenderBroken:
Hey!

So thanks for the post! First, I would think that if it was the kernel, it would have been giving you issues from day one. It sounds like it was running just fine for a long time. Also I really need logs if I am to really help out. I would love some if you could get some together of this issue by re-flashing R3. I am not going to say that I am 100% certain the problem is not my kernel, just that I need more info about it and it sounds like its not the kernel. Also I would think more ppl would complain of the same issue. Now, there may have been some kernel changes that are Rom dependent with the newer rom builds you may have been flashing. That is possible. I will take a look on my end. Thanks again!
[G2 Android Development] KpKi:
Delete
[G2 Android Development] marn3us:
Hello, first thank you very much for your fast and kind reply, that's one of the reasons why i have always used your kernels for my D802 :)

So, by saying that the cause was the kernel i didn't mean that it was faulted (since it ran incredibly good for 1 month) but that the issue was directly related to it since the ROM alone has no problems.

Like you were saying, it may have been a weird interaction between the rom and the kernel, or maybe the fault lies in synapse or UKM :)

I can provide more info if it helps:

- ROM: cm12.1 official nightly from 10/15 (installed it on 10/15 and never changed it)

- R3 "stable" kernel (not the T43 version)

- open gapps "pico" from 10/15, never changed them

- no xposed or other low-level apps

- Synapse + your custom UKM linked in OP

Lastly, how can i provide logs? I have never done it before sorry :)

And thanks again for your time and help, much appreciated!
[G2 Android Development] nexus_vl:
There already is!https://www.dropbox.com/s/xxkiydo20ix5pnc/Screenshot_2015-11-08-21-47-49.png?dl=0
[G2 Android Development] flyinjoe13:
Noobie here. I'm fooling around with this kernel on my spare VS980 so I can learn how to makes changes before trying it on my daily use G2. I got everything installed correctly, but I must be doing something wrong in applying changes because they never survive a reboot. Is that a ROM thing or could I be missing something obvious in Synapse? The ROM I am trying this on is Tesla. I did remove the built in Kernel Auditor before flashing Synapse. Was that a mistake?

Thanks for any thoughts. Going to go search through this thread now to see if I can solve it myself.

EDIT: Sort of got it working. On a phone reboot, I have to go into Synapse and hit the X button to get it to use the settings changes I made. If I don't do this, it reverts to the stock kernel settings. I can't imagine this is normal and there has to be a way to make it work without this odd workaround. It's probably something stupid I am overlooking. I do have apply on reboot checked in the settings so it's not that.
[G2 Android Development] Lawlrus:
[MENTION=3369438]flyinjoe13[/MENTION]

Last few times I've used this kernel, I didn't have that issue, it is something that has happened to me.

I'm not quite sure what causes it, I can only tell you what I do specifically. I always have my kernels set to permissive, and each time I make a change I click on the check mark before I change the next thing.

Doubt either are the culprit, more than likely more so a ritual I do.
[G2 Android Development] Maritus1:
[MENTION=5438598]RenderBroken[/MENTION],

I think I know what causes this.

Which Hotplug Driver have you used? I found the same behaviour on my D802. When you use Intelliplug the phone remains in sleep mode one or two times a day and can only be waken up with restart. The two MSM drivers work just fine.

Are you sure that there was only 3h of SOT, because when you force a restart, some of your battery statists vanishes and so the total SOTs is much lower than it is in reality.

My System: BlissPop 4.0.3 Nightly, Render R3, D802
[G2 Android Development] RenderBroken:
This is an interesting point, thanks for the heads up. I personally only use MSM_Hotplug as it seems the most efficient to me. Also pretty major update in the works and there should be numerous changes that should prevent these SoDs. I charged my G2 up so its now ready for testing ;)
[G2 Android Development] goast:
If you need an ls980 tester I can help
[G2 Android Development] marn3us:
i was using default hotplug which i believe was MSM_Hotplug and i still had that behaviour...

now i will re-flash the kernel making sure i am running MSM_Hotplug and will report back
[G2 Android Development] Ginel:
i have a question, why your kernel use only 10ma and other kernels use 20ma when phone running normaly??? i flashed and your zip ukm from topic. i use ampere and i saw there. and why games like candy crush soda is laggyng? i use r3 with blispop. can u answer please.
[G2 Android Development] marn3us:
Kernel R3 clean flashed this morning, phone hung 5 minutes ago on wake up and i needed to reboot just like before :(

I was on stock kernel settings (which include MSM_Hotplug and NOT intelliplug) besides max cpu frequency 1728mhz on all cores... What can i do?
[G2 Android Development] Pouic:
Apps like ampere or BWM can't read accurately the mA they are all based on battery steps estimation... You can't seriously base your question on those apps... And what is "running normally" ? You encounter lags with which governor or hotplugs? Can you provide logs or examples? With R3 kernel never had any lags in games except when using smartmax governor

No offense but the way you're asking is a little bit rude, please provide more details so the dev can understand your issue :)

---------- Post added at 10:28 PM ---------- Previous post was at 10:25 PM ----------

Is your FSync disabled ? Enabling it can maybe improve stability