yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] Lawlrus:
[MENTION=5438598]RenderBroken[/MENTION]

Hell yeah, glad to see ondemand back.

I was running r17 on the Mahdi build in was using the last day and a half, and everything was working great.

Someone made a post on the Mahdi thread that using your kernel also fixed the playback issue Roms seem to be having with music as of late.

Glad to see things going back to what they were. With as much time as you've put into it, you deserve some good karma.

Great work.

Sent from my Vs980
[G2 Android Development] RenderBroken:
Thanks! Yeah it was a pain in the ass. I wouldn't have had to rebase if I made the change on my old source but I think the kernel will he better in the long run. That's interesting about the sound but I won't knock it. I would love to get to the bottom of the dt2w issue though. Just need to spend time on it. The next few steps for me are to finish fleshing out other subsections of the kernel. I have slowly been building different areas up like scheduler , CPUFREQ, PM, etc. I will most likely be bringing back powersuspend but in a different capacity. Mainly just use it to easily replace earlysuspend in different subsections. For example wlan has a number of different areas that would benefit. There are more just like that. Really it would just be a way so when the screen is off to make a low power change in a module. There is more to come, definitely.

Now for everyone using r18. I need to know if you are getting reboots like you did prior to r17. I do not need a log. I K ow the cause. I am trying to enable deeper sleep during the suspend process but not too deep to cause it to trip. Just let me know in thread. Thanks guys.
[G2 Android Development] simon_lefisch:
[MENTION=5438598]RenderBroken[/MENTION], had a reboot about 15 minutes ago. Didn't realize it until I checked my phone. Just took the log. Hopefully this will give you something. Let me know if it doesn't help and I'll pay more attention to when it reboots again.

Clean Mahdi 8/17, VS980, stock settings.

http://goo.gl/bFfnyh
[G2 Android Development] TDSJR:
I had observed that the sound issues that some ROMs are experiencing were "resolved" with R17, have resurfaced with R18. So, the two things that jump out at me are; the hot plugging or the thermal controls. The sound is basically a skip, which of those two items would cause data transfer issues?
[G2 Android Development] RenderBroken:
Screen on or off?
[G2 Android Development] fix-this!:
Much smoother update with v18. Good job render. Will test tonight and through the week.
[G2 Android Development] TDSJR:
Both

Edit: I've reverted to V17. Issue gone.
[G2 Android Development] Boot_Derran:
Just had a reboot also r18
[G2 Android Development] RenderBroken:
Thanks! It looks like it may be the low power state I added. That really sux. Lol still I want more people to report just to make sure. Thank you kindly! Let me know if you get more.

Sweet Thanks!

Hmm it could be the low power state but I think that would really occur just during screen off but I may be mistaken. It could be happening when one of the cores turn off. I'm not sure now.. . May need to double check but I think it's just the low power state causing it. Thanks for reporting.
[G2 Android Development] murdoch1:
R18

Running mahdi 17/8.

Everything was fine until while browsing on eBay phone froze. It restarted, then on lg logo a line appeared across the bottom of the screen and then the display started to increase in brightness. I turned off and restarted phone.

It happened again. Then managed to force a restart into twrp whereby I installed R17 and all was fine.

No logs but I hope it may help.
[G2 Android Development] RenderBroken:
Not sure what that is about lol but I dont believe it to be the kernel. Or at least nothing had changed between R17 and R18 to cause such.
[G2 Android Development] Boot_Derran:
On the other hand the battery is significantly better than r17. The reboot actually occurred when I turned the screen off to put my phone in my pocket. I went to wake it right after turning the screen off and that's when it happened. Again the only thing I changed was the read ahead speed to 1024. I only didn't get a log cause you said they're not needed anymore
[G2 Android Development] RenderBroken:
Thanks bro. I know the battery is alot better! But if I have to put up with reboots its not worth it to me. Even though I have no reboots with ALL low power states enabled but that just shows all phones are different. Thanks for more info, it is always helpful, as for the log, I am pretty certain I know the exact issue and will revert the change.
[G2 Android Development] Boot_Derran:
It may not be anything. I flashed around 4 hours ago. It may still need to settle
[G2 Android Development] abby_nitewolf:
I've been running r18 for 4 hours now with no reboots. Mahdi 8/17 vs980.
[G2 Android Development] jeff5347:
I haven't seen anyone have this problem. I tried installing r17 and 18 and each time I just get a bootloop. My process has been a clean flash w ROM gapps su then boot. Once booted reboot to recovery and flash 17 or 18. Then I just get the boot animation constantly. So I reboot recovery and try to install r12 which I know worked. Phone boots but then I just have a constant process.android.com fc. The only way to boot is reflash the ROM and gapps. Anyone else get this. I think I've seen that the d800 is renders phone as well...
[G2 Android Development] RenderBroken:
What Rom? Sounds incompatible.
[G2 Android Development] simon_lefisch:
[MENTION=5438598]RenderBroken[/MENTION], had another reboot. Stock kernel settings. Was just holding my phone (screen was off) and felt it reboot.

http://goo.gl/4dTaFL
[G2 Android Development] jeff5347:
I've tried this on 2 actually. It happened when 17 came out but figured I just f'd something up.. Running vanir now but also happened on aicp. Gonna try right now on a clean build of commotio.. A vanir ROM but have an aicp ROM as well to try all clean flashes on.
[G2 Android Development] 1ceb0x:
Both should work. It can be something on your end. It might sound dumb - when you say 'clean flash' what do you actually do?
[G2 Android Development] mhajii210:
R18 on D801 Mahdi ROM

I stopped using Chrome to be safe since I've been getting random reboots when multiple tabs are open. I've been running R18 since it was released with no issues. I have to test for at least 72 hours to see how things go. I usually get a reboot when browsing sometime during that window. For me personally R18 seems to be running more smoothly.

mhajii210
[G2 Android Development] jeff5347:
The first few I tried I just flashed the kernel. Then I wiped everything and flashed from the beginning. Gonna try again and see what happens.
[G2 Android Development] KiiKeEp:
Hi, I Flashed R18, and all OK, but one thing, how can I boost speaker and Headphone volume? I use FauxSound or trickster and the settings doesn't lock, tank you so much.
[G2 Android Development] bgx:
Got a reboot with r18 while write in whatsapp.
[G2 Android Development] count_martin3z:
Dear guys or you Zach... could you please explain something about new schedulers or governors. I mean what they do, features, benefits... or anybody can share with links to that infos? I will be very grateful. Thanks anyway.
[G2 Android Development] 1ceb0x:
There is a thing called Internet/Google. Are you that lazy, mate?
[G2 Android Development] bgx:
And again reboot after getting hangout message. For now I'm back on r17
[G2 Android Development] count_martin3z:
No I am not... but my knowledge doesn 't know if settings from other kernels will be the same what Zach pushed to his kernel. If each governor or scheduler is the same for all just confirm and I will leave alone ;)

Edit

and sorry to be a noob and rookie with kernel things.
[G2 Android Development] Matze060906:
Just installed R18. Will report back later...
[G2 Android Development] 1ceb0x:
I believe Render knows what he is doing. Personally i will stick with what he is having set as default. If you want to learn about how these schedulers, governors are different, there are plenty of threads on xda. Cheers!
[G2 Android Development] RenderBroken:
Nope, nothing new about them, just variety. People like to use different settings than stock settings so I added them back. Other users has asked nicely for them. As long as it fits in the greater picture.
[G2 Android Development] RenderBroken:
I am going to go back to the stock low power states but bring back standalone power collapse. This is not as deep as straight power collapse which I think is the cause for the reboots. But it will help still with battery.
[G2 Android Development] jeff5347:
Well I got the latest aicp to boot. Running good so far. I know I read somewherevthat a ROM has changed its source to caf. Swear it was vanir but can't find where I read it so not sure if its vanir or another ROM. Maybe thats why it won't boot for me on vanir
[G2 Android Development] RenderBroken:
You are probably right.
[G2 Android Development] simon_lefisch:
[MENTION=5438598]RenderBroken[/MENTION], one more reboot on R18. All I did was double-tap to wake my phone to check the time and rebooted a few seconds later. Gonna revert to R17 for now.

http://goo.gl/cBLaAT
[G2 Android Development] RenderBroken:
Probably wise. Lol I wanted to see if the changes would work and they don't. There is one more I want to try and if there are still reboots then I will revert to stock.
[G2 Android Development] glacies:
Didn't think you need more reboot confirmation but I just had one in xda app. Looking forward to the new build :)

Thanks for your work.
[G2 Android Development] mazroui:
Just to join the reboot train... Flashed R18 and set screen timeout to 15 secs and let it close n opened back a few times... Boom reboot :p
[G2 Android Development] jjlyons:
Hm, I don't remember seeing that vanir switched to caf anywhere. But either way, R18 gave me bootloops on vanir too.
[G2 Android Development] allan1229:
I'm getting lines and fading to white on the LG splash screen after I flash R18.

D801 on Mahdi 7/29
[G2 Android Development] reas0n:
bart452 "ported" dorimanx's work to his Vanir ROM, unfortunately it isn't a performance beast, I don't know why. And Vanir was and is AOSP-based.

Render, how about this EcoMode? I really need dis :p Just none of the kernels have it, I wish I could use only two cores again, I don't play games etc, so..

(yes i know the cpu3-4 turn on only sometimes, but I used to activate it on Furnace kernel every time)
[G2 Android Development] bps119:
Is no one else losing apps when flashing this kernel? I'm on Mahdi rom for d800 and I'm icing dr87's twrp to flash. Every time I flash, the zooper app, Today calendar, rom toolbox pro, and a few others. It's quite frustrating. No one else is facing this issue?
[G2 Android Development] fix-this!:
After another attempt i got the kernel to work with the latest aicp rom. Smooth as silk.

---------- Post added at 07:23 PM ---------- Previous post was at 07:22 PM ----------

Sounds like your data partition is corrupt. Your gonna have to wipe it. It was a bug a long while ago with kikat roms.
[G2 Android Development] bps119:
It's only this kernel though, anything else I flash gives me no issues. Is that normal for a data partition corruption? Seems as if it would happen across the board, no?
[G2 Android Development] phoenix_rizzen:
I had that. Did a clean flash (manual wipe of system and data partitions, dalvik and cache) of Mahdi 6/28, installed my preferred set of apps, made sure everything was working, then flashed the R1 version of this kernel and bam! Over half my installed apps FC'd on reboot, kept getting FC's from various apps and services until I finally rebooted and reflashed the Mahdi patch.

Rebooting into Mahdi showed all the apps that FC'd were now listed as uninstalled. Had to reinstall them all from backups.

Phone has been running fine since, using the Mahdi kernel. Was going to wait for R2 and the next Mahdi update to try again with this kernel.

D803.

Typos courtesy of my LG G2 (D803) running Mahdi-ROM.
[G2 Android Development] bps119:
Yup, all apps that deleted themselves force closed on first boot before being gone. Glad I'm not the only one.
[G2 Android Development] frenchy714:
I experienced the same. Sprint variant here. Outside of that this kernel is running splendidly.
[G2 Android Development] RenderBroken:
I am sorry but I do not use Intelli-Plug. Eco Mode in Only available with Intelli-Plug. I do not have any plans of using Intelli-Plug either. I will approach the Dev of my current hotplug and see if this is something that is possible but I make no promises.

He uses a D803, what do you use? I have never experienced anything like this personally. The only thing I can think of being a cause is the Ramdisk but then more people would have this problem. So maybe there is a common thread somewhere.
[G2 Android Development] jamesd1085:
Its not the kernel...I keep having apps disappear from my list and reappear on reboot since Mahdi 6-28...I have only had to reinstall 1 app...they usually come back after reboot...I haven't installed render kernel yet as I was waiting for some of the kinks(from what I understand there are none)to be worked out in r2 before giving it a go
[G2 Android Development] Ace42:
Only when I 1st used the kernel I lost faux clock for some reason, had to download it again from store. I haven't lost apps in any other case, not even on R1. And I have D800 on mahdi.

Transmitted via Geass
[G2 Android Development] simon_lefisch:
I had something similar, however it was sometime after flashing the kernel.

I randomly had FC's on a couple apps (root explorer yesterday and contacts today). Nothing to the extreme as the other 2 reports but was interesting considering that I never had any FC's with the latest Mahdi build on stock kernel. After the FC, I tried to get into the app again and just kept FC'ing. A reboot fixed the issue and haven't had any FC's since. Otherwise this kernel runs wonderfully on my vs980.
[G2 Android Development] bps119:
I'm on d800, it happened on the beta release too and I didn't report it because, well, it was a beta and I expected bugs like that. When I got it on r1, I was just curious if anyone else had had a similar issue since I hadn't read anything about it happening to others. It's not really a big deal, just thought I was going crazy for a bit. Lol!
[G2 Android Development] RenderBroken:
Very glad to know it's not an issue with the kernel. Thanks for chiming in.
[G2 Android Development] fix-this!:
Im noticing on trickstermod on aicp that i cannot turn on mpdecision. Does this have intelliplug?
[G2 Android Development] 1ceb0x:
i had that as well, someone had it as well. it is present in furnace kernel (base for this kernel) as well. your cure is to wipe, install mahdi, install patch, install gapps, install this kernel and reboot. Then - no force closes.
[G2 Android Development] jcmaddox1:
Since for some reason this kernel works over every 4.4 ROM from what km seeing, could you build 2, one with LG audio drivers and one with Nexus 5 drivers? It seems if you did that people in every rom would be in heaven :)
[G2 Android Development] Raagh:
Cant stop loving this kernel :).

Sent from my D806
[G2 Android Development] RenderBroken:
I do not use mpdecision. I use a custom, light, and efficient hotplug. Where as mpdecision takes up about 2500+ lines of code, I could fit my current hotplug code into about 400. Main point is alot less overhead and wasteful calculations.

I just got away from building panel variant builds lol. . .

Maybe there is an easier way. Maybe create a flushable zip or something creative. We will have to see. I am not against it.

Great! Glad everyone is getting great battery life while using interactive no less. It's great to have performance and Battery!

Guys I am still working and testing my next build. I am off tomorrow and confidant I will be done with it then. I will most likely be cleaning house as well and remove a few of the unused governors.
[G2 Android Development] ZeNiXxX:
Hey

i've tested the latest release For some days and i've noticed a memory problem. I'm on latest Mahdi rom.

I don't know if it already was mentioned here.If yes sry about that.

After a period of time my device can't handle big apps. When I listen to music with poweramp and than starts facebook or chrome, the music stops and power amp gets closed. After a restart it works again for some hours. Now I'm on dr87 stock patch for mahdi rom and I have no problem with memory management.

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] Matze060906:
No reboots since flashing R18 2 hours ago. Latest Mahdi, d802. Runs like a beast: no stuttering by scrolling through G+, tapatalk, chrome. Dt2w works always fine. Great work render! Hope I'll have no reboots...
[G2 Android Development] 1ceb0x:
Is your screen damaged?
[G2 Android Development] allan1229:
No. I held down the power button and went back into recovery and flashed R14
[G2 Android Development] 1ceb0x:
This should not happen. R18 has thermal protection on. What rom do you use and what version (if it is a nightly, state the date it was created/uploaded).
[G2 Android Development] MaluNoPeleke:
I had the same problem with the display after I rebooted from the recovery and the installation of R18.

After a second manual reboot by holding the power button (because phone froze on LG screen) the problems on the display faded away within a minute. Quite scary...
[G2 Android Development] Matze060906:
Like the other one: which rom and build please...
[G2 Android Development] Lazy79:
Had the same display problem using latest kernel on slimrom 4.6 weekly for d802. A reboot by power button and everything went back to normal.
[G2 Android Development] mhajii210:
Reboot scare

That's it! You guys scared the crap out of me with all them reboots. Even though I didn't have any problems on R18... I'm back on R17 just to be safe.

mhajii210
[G2 Android Development] Matze060906:
Just had a reboot. LG logo with many colors and stripes. I'll go back to R17...

https://docs.google.com/file/d/0BwVur07uzqm6VUpOVkdLTHY4SUU/edit?usp=docslist_api
[G2 Android Development] 1ceb0x:
This sounds like broken commit for thermal throttling maybe. Or something else.
[G2 Android Development] Matze060906:
The phone was not very hot, 60 degrees. It's hotter if I'm playing games like boom beach...
[G2 Android Development] allan1229:
Mahdi 7/29 on D801
[G2 Android Development] mazroui:
could it be the screen type problem ?? or is that fix already built in ? ( Lgd/Jdi )
[G2 Android Development] 1ceb0x:
No. it is something else. there might be a reason why the reboots... thermal was ON in r18, might panic the kernel at a certain threshold. but certainly the screen distort should not happen.
[G2 Android Development] mazroui:
well im still on R18 and testing on deep sleep and usage... since 5 hours only 1 reboot

im thinking of possibilities that could cause this asides from the low state deepsleep

remember this version brings in 2 core boost instead of 1 from R17

do u think hotplug dont like this ? i remember an issue with hotplugging that was fixed on Dorimanx's kernel version 7.1 , might wanna have a look

i'll set multicore saving to 2 n test
[G2 Android Development] abby_nitewolf:
Running for 11hrs and so far no problems.
[G2 Android Development] NEO2598:
Ok, guys. I was brave enough to ask on Vanir thread about the sources. I'll let you know.
[G2 Android Development] fix-this!:
you and me both. :crying:

---------- Post added at 06:43 AM ---------- Previous post was at 06:42 AM ----------

what do you mean revert to stock? you mean no more kernel development?
[G2 Android Development] 1ceb0x:
revert to stock deep sleep states of the CPU.
[G2 Android Development] KiiKeEp:
Any? :(
[G2 Android Development] Matze060906:
I think the most people went back to R17. Read a few posts before an you know why...
[G2 Android Development] 1ceb0x:
Sound is not worked on. it is stock for now. Will be implemented in the future!
[G2 Android Development] mazroui:
your one answer for all mods, pick your poison

click here

you are a lazy one, aren't you ?
[G2 Android Development] Raagh:
[MENTION=5438598]RenderBroken[/MENTION] hello Render so here is my "android building experience" update:

1.Build acip from source -done

2.Remove Apps(movie editor,camera,browser,launcher,etc)- done

3.Add Nova launcher,Viper4android,chrome,google camera- done

Next step - Add render kernel to build.

I ve removed original kernel repository from build and added yours. But guess that cant be all. Do you have any idea what changes do i need to make to replace stock kernel for a custom one?

Thanks for everything :)
[G2 Android Development] Lazy79:
Did you changed the Targets for the custom kernel source BTW build stuff in the device dir mk file(s), too?
[G2 Android Development] RenderBroken:
Super Post in the Morning!

R17 seems to be the best right now for audio issues. It has been reported to have fixed them.

Thanks! Flash R17, should be good for audio.

I dont think anything in R18 would cause this. Maybe its an issue with the Rom you are trying to flash it on. What is it?

Not likely. Its pretty straightforward. But it may be a place to look if it continues. I still think with the info we have right now that it may be the Kernel flashed ontop of certain roms. Need more info though to confirm.

Multicore Power Savings is really looked down on right now. It causes issues that Mainline Linux Devs don't like and they are looking at creating a type of performance profiles type of system. Also, there are other causes for the reboots but it is certain sleep states that bring them out. It has to do with how Krait deals with low power states and how generic android kernel deals with them. They both kind work at the same time and there are conflicts. At least this is what I have gathered in my research but could be completely wrong. I am looking for commits that deal with the subsection to make these low power states stable. They are for the N5 so they should be for the G2 but LG has made MANY changes that can cause issues with AOSP.

This one is a toughy, I will have to think on it. My build setup is really setup for just building the kernel but I imagine we can tweak things to build WITH the rom too. I will just have to think about how to do it.
[G2 Android Development] count_martin3z:
Ok, since yesterday I'm on R17. D802 AlegenMod. First reboot after I unblocked the lockscreen. Took a log if you need it.
[G2 Android Development] Raagh:
No i didnt could you give me some more info? Thanks :)

---------- Post added at 12:14 PM ---------- Previous post was at 12:10 PM ----------

Take your time men :). Im getting some help from aicp rom dev, definetly loving the android community

Its funny theres a lot of info out there about building roms, and building kernels. But couldnt find info about building them together aahah
[G2 Android Development] ckyy:
Just had a reboot on r18 during a phone call. The whole screen went grey with a single black line on the right side. It started to get brighter while i tried to force a reboot. Now my apps are optimizing. Can't tell yet if the line is permanent as i'm on art and that takes a while. I'm scared ****less right now lol.

D802, latest unofficial CM11, R18.

Edit : Jup, it's permanent. But it's just a single one.
[G2 Android Development] MaluNoPeleke:
That is exactly the same problem I already described earlier.

Doesn't seem to be ROM related because I am using Mahdi 08/17 with a D802.
[G2 Android Development] ckyy:
Let me guess, it didn't go away?

Anyway, i'm done with this phone. Can't wait for the new nexus.
[G2 Android Development] RenderBroken:
Any logs? Makes no sense. There is no change from r17 to r18 that would cause this so I have not idea. I log may be able to clear this up.

Was your phone hot? There were no screen related changes either. So I am just not sure.