yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] RenderBroken:
So when it happens does it leaves the free apps still installed? How are you installing the apps? Like, do you Flash Rom, Patch, Gapps, Then setup rom and install ALL your apps then install my kernel? OR are you coming from an existing install of mahdi, installing the update on top then re-flashing my kernel? That's why this is confusing to me. In my line of work when something was working and there is now an issue, I look at what changed. Or if everyone has the same setup (or close to) and its happening to a small number of people. What has changed? Why does is only happen to a small number of people. This kind of issue should happen to everyone logically. Though I know sometimes things don't have to make sense for it to be true. It would be nice to find a common thread though. Maybe its happening to a certain model. I dont know. Last I had checked, when first setting up this kernel, I am essentially using Mahdi's Ramdisk. This issue sounds like my kernel screws up a mount point or something but if that was the case it would happen to more people than just the few.

Does not make sense to me. Obviously something is going on. I can believe that but for all of my knowledge of Android kernels, I have never heard of anything like this happening. Also it hasn't happened to me.
[G2 Android Development] Boot_Derran:
Happens to me too but its not a huge deal the kernel is quite awesome if I do say do myself
[G2 Android Development] r_dub:
What happened for me was I clean flashed mahdi 7/7 build I didn't flash your kernel I left it stock due to random reboot from R1. I set it all up then the next day saw you updated this kernel to R2 so I flashed it and lost all my paid apps. I reinstalled them figured it was no big deal. Then when dr put out his 7/9 build I dirty flashed that the patch and then your kernel all in one shot and lost all my paid apps again. This also happened when I originally flashed R1 as I had already setup my phone before you released it. So it appears it's not related to the order in which things are flashed.
[G2 Android Development] 1ceb0x:
I confirm this. Render do you remember when I first wanted to flash your kernel on top of mahdi and all my apps were crashing? My launcher was ss launcher paid and it was crashing all the time.

as I told you r_dub, you have to flash all in one shot, without a dirty flash...

clean wipe

flash Mahdi

flash patch

flash gapps

flash render kernel

reboot. it will work.
[G2 Android Development] RenderBroken:
Interesting indeed. Thanks for the info guys. Just to make sure I am clear, I don't take any offense to someone dropping dome useful info in thread. As long as its not defamatory I really don't care. Just as long as its respectful and useful. I appreciate it guys, I will check my Ramdisk over again against Dr's Stock Mahdi Kernel to see if there is something not playing nice or whatever. There is defiantly something going on and I want to get to the bottom of it. Thanks and goodnight!
[G2 Android Development] mikereidis:
Hi, I'm new to Android kernel building myself, though I've worked with Linux a long time.

I managed to build and boot your kernel for LS980 using ./build .

But the main thing that's broken is what I want to change (but haven't yet): The ALSA driver.

There is a /dev/snd/timer but no other entries under /dev/snd/, like the usual controlC0 and the pcm* devices.

Any thoughts why this is broken ? I've seen this during other prebuilt kernel flashes on G2.

EDIT: I can get it working now, but problem is random; sometimes it flashes OK, other times not. I think it helps to flash Mahdi patch first.

Your LS980 prebuilt kernel works fine on Mahdi, and swapping my boot.img into your ZIP shows the same problem.

I selected LS980, 2 (JDI), and 2 (AOSP).

Thanks ! :)
[G2 Android Development] 1ceb0x:
I already sent you on hangouts but maybe you won't see it so here it is:

this happened on 28/06 mahdi + your first ever release of this kernel. the launcher was paid so since it was the only one and the ROM had no other launcher, it was crashing continuously. needless to say if I went to settings - apps, the app will have the sdcard icon instead of the real icon which indicates it had been removed or it has been corrupted.

workaround for this as I said numerous times, clean wipe of whatever ROM you want to try out, flash the ROM, flash gapps, flash this kernel on top and reboot.
[G2 Android Development] crnkoj:
Had this happen to me constantly as well if I flashed it after having installed paid apps. Possibly your rom handles storage otherwise than the stock Mahdi kernel, as if I remember correctly the paid apps are stored in an "encrypted" pseudo file system on the "sdcard" under mnt/asec or something like that. If you do a df as root you can see those certain apps as being mounted like that. So i would think it maybe mounts them otherwise or can't mount them for some reason at all. Maybe if someone can first set up a few paid apps with stock Mahdi, than flash renderkernel and pull a dmesg and logcat while they force close. I'm a bit tight with time, so I can't do this right now.
[G2 Android Development] RenderBroken:
What model phone do you guys have?

Man, that is great info. I plan on doing testing today just like that. But the info provided helps in a big way. It could help me pinpoint the issue and get that crap fixed.

See you looked at it and said what is different between paid apps and free apps! I appreciate the help!
[G2 Android Development] r_dub:
I'm on vs980 and unfortunately I'm tight on time today too otherwise I'd get you a log of the event.
[G2 Android Development] crnkoj:
D802 European

I'm not sure that is the only difference, but from a quick look at it, it seems like that is the main difference, I haven't looked much into the android documentation about it though.

Had a freeze earlier today with your stable release while trying to open gallery. First gallery became all black, than it force closed, after that the screen was on the home screen, with the lwp active, but no touches or button presses were working. Had to long press pwr button to reboot and the last kmsg after bootup was empty. All that read on stock.
[G2 Android Development] Raagh:
2 Reboots in a row:

https://docs.google.com/file/d/0BzUccEryHywVdldDTXk2NXJXNFE/edit?usp=docslist_api

Hope it helps

D802 running R2 stock settings
[G2 Android Development] RenderBroken:
It does. First one to actually give some real info on why it restarted.
[G2 Android Development] 93fuelslut:
What set up is good for extending battery life? I don't need anything for performance and I'm also illiterate when it comes to kernel language. But I know how to copy other people's set up's.

sent from your moms phone
[G2 Android Development] Ace42:
I am currently using:

-bacon (changed high_speed to 652800 & changed load to 99), Fast Lane Load=400, sync threshold=422400 & disabled input boost

-msm_adreno, max of 320mhz for GPU

-(ADV tab) C1 Retention

This is meant to be more conservative & not aggressive, currently have 3hrs of SOT @60% batt with bad signal (0-2 bars LTE).

I also suggest keeping track of wake locks with BBS or wake lock detector, Google play services tends to misbehave and prevent deep sleep mode. Privacy guard (built in some ROMs), greenify, and disable service app (or wakelock blocker) are good methods for stopping excess battery drain from apps/services.

Sent From Capsule Corp.
[G2 Android Development] MBurns2:
guys how to solve this wakelock "PowerManagerService.WakeLocks" ? thanks
[G2 Android Development] Ace42:
That wakelock is caused by apps, so you'll need to check which apps are active.

Sent From Capsule Corp.
[G2 Android Development] MBurns2:
now i have rilj wakelock every sec.. omg.. how to solve? maybe it is related to rom?
[G2 Android Development] Ace42:
RIL is associated with the radio ( Radio Interface Layer), if you switch to airplane mode & reboot that one should stop increasing. Mobile data will keep increasing this wakelock as well.

If you have Google location reporting on try disabling that & see if the wake lock continues. (Also check for other apps that request location, like widgets)

Sent From Capsule Corp.
[G2 Android Development] MBurns2:
i tried all you said.. unfortunately i still have the problem
[G2 Android Development] Matze060906:
If you have xposed you can install the module amplify. With this you can block the most draining wakelocks...
[G2 Android Development] MBurns2:
i have it but maybe for rilj i need the donatr version right?

p. s even with rilj blocked by amplify i still have the problem!!
[G2 Android Development] Matze060906:
If you can't block it with free version: yes. I have the donate version. It's a must have I think...
[G2 Android Development] MBurns2:
i tried even nandroid (i had another kernel) with no luck. so the problem is not the kernel.

now after two or three reboot in airplane, and thanks to amplify i solved my problem. Until today i haven't had this thing on this phone.. do you think that it is Rom related?
[G2 Android Development] markjh:
Are you on mobile data and have bad reception? That would cause your wakelocks despite of amplify.

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] MBurns2:
even without mobile data activated i had the problem..
[G2 Android Development] RenderBroken:
What rom are you using? Despite all the advice given, it must either be an issue with the Rom or some software you have installed. You may need to either reflash another rom or start uninstalling apps.
[G2 Android Development] MBurns2:
mate i have liquid smooth..
[G2 Android Development] Matze060906:
I'm running ls too. Do you have the milestone or an older build?
[G2 Android Development] MBurns2:
latest mate..

now I m doing some test. i have greenified google service app so maybe is this the problem?
[G2 Android Development] Matze060906:
It's not the rom. On Mahdi I had this wakelock too. I have it only with mobile data. Amplify is the only solution I think...
[G2 Android Development] 1ceb0x:
It is not kernel related. sadly it is also on Render and Blackbird and other phones, other roms, other kernels.... i am pretty sure it is a thing that comes from AOSP and it is not fixed by Google. it was fixed in JB and now it re-appeared in KK. i am using Amplify to deal with it and to a great extent. i am setting it to 240 and it is working perfectly. some say that it is also due to the fast dormancy but i don't know what to say about that.
[G2 Android Development] Voltaine:
Hey guys i got a question.

Are there any problems when installing this kernel regarding the WIFI Mac adress?

Because I can't log into my university wifi connection anymore and thought it might have something to do with the kernel.
[G2 Android Development] RenderBroken:
I do too and don't have this issue. So it means that its something outside the ROM and kernel.

I don't believe so, your Mac address is handset and never changes. What exactly is the problem?
[G2 Android Development] 1ceb0x:
There was bruce's stock kernel that was changing, for some reason, the MAC address of the device. I don't say it happens on your kernel because it does not (personally i haven't experienced it so IDK what it is the problem). The only way to find out is to switch the kernel then switch back (supposedly that the kernel eill change the MAC at every flash).
[G2 Android Development] markjh:
Hit me but synapse always reverts to bacon as governor. No matter if I save my profile etc....

Could someone help me out here?

LS milestone, r24, LS gapps 8.1

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] MBurns2:
today in my country we have a bad weather, is it possible that the Phone has bad time to connect to phone cells so i have this wakelock?

p. s: i noticed now that in connection settings i had 4g preferred, the problem is that i haven't any 4g plan (i can connect only to 3g). is it possible that I had this because my phone try to connect to 4g without any result? thanks
[G2 Android Development] RenderBroken:
Not sure. I have an idea of what it may be. I am working on something for r25 and may have accidentally left the defconfig entry.
[G2 Android Development] MBurns2:
synapse suggests to use 1500ma for wall charger, isn't 1800 ma the stock currency value for our g2 ? thanks
[G2 Android Development] Formhault:
Yes, it is. I don't know what's up with Synapse.
[G2 Android Development] RenderBroken:
Everything you see within Synapse is manually typed. Somethings fly under the radar. It will be amended in R25. If you find anything else not mentioned earlier please let me know! Thanks gents.
[G2 Android Development] emoibm:
Render let me use some of your knowledge . I'm trying to use this incredible tool called synapse to tune your kernel for my needs. But I got confused with the difference between max_frequency and frequency_limiter. Would you mind to explain a little bit ? Why does max_frequency come as 1497 as default (or maybe this value is throted?) I made some tests with perfmon and my CPU seems to not cross that 1497mhz, I'd be happy if it could reach 2.2ghz when on high load.

Thanks in advance :)
[G2 Android Development] anbinhv:
Same here. Same question. :D
[G2 Android Development] bleached45:
I'd like to add a vote for this as well.

I always slide them up to 2.2. Lol. I assumed it was a throttle but my phone never seemed hot.
[G2 Android Development] RenderBroken:
Max freq is what you set as the max freq in userspace. Sometimes other processes can override this. With the limiter, this is a way to kinda HARD set the max freq that can be used without it being overridden. At the moment I understand it does not make sense but I am working on revamping the limiter. Especially since I have added the ability to control MAX, MIN, and Governor per core. I have already tried it out and its pretty exciting. There are so many possibilities and if thats too much for you, you can use Trickstermod.
[G2 Android Development] MBurns2:
hi [MENTION=5438598]RenderBroken[/MENTION], i was trying your latest version of this kernel. I find a little battery drain when screen is on (zen, ondemand, stock freq), my phone seems to drain a bit more than in the past during the same task on wifi (browser, Tapatalk).

did you make some modification?

thanks for your awesome and hard work.
[G2 Android Development] RenderBroken:
Note really sure. I don't believe there was anything changed that would make it worse. I will look into it though. thanks for the report!
[G2 Android Development] MBurns2:
it must be clear: your work is absolutely amazing ! thanks for the time you spend working on it.

I only report my experience because this is the core of open source project and i want this project to be perfect.

I changed governor to ondemand and io to zen, then the rest is stock. During screen on my phone seems to drain a little bit more battery..

Thanks for reading my opinion.
[G2 Android Development] RenderBroken:
Thanks! I appreciate someone giving objective points of view about issues. I will always listen when someone brings forth an issue and gives good information with it. Especially when they are not *****ing! lol Thanks again! I will take a look.
[G2 Android Development] GibonXL:
R23 as the most stable

Hi RenderBroken,

Want to share my story of D802 +AOSP and my 5 eurocents :)

Some months ago AOSP (Vanir, LS) builts became very operational and I chose them for the in-built features and customisations.

THE LS builds are just cherry on the cake, if You wanna know me. But with last builds strange things happen with sensors, such as losing d2tw, which always worked out-of-the-box for me anyway... . After instant reboot with LS kernel and losing d2tw I used Your kernel.

I have SOD's on Your R24, that occure randomly. First one was in Synapse, no UV. Just set the CPU clock to 1.9 and GPU to 320 to preserve some battery, as I do not play games and travel a lot, so some extra juice is very neeeded. I have seen other people reporting SODs, so could be rom related or kernel upstream.

However the R23 is a life-saver for my D802. With d2tw working fine and the latest LS I am patiently waiting for the R25.

This may be the next big thing for me, hope You can do Your magic and figure out a solution or a workaround for those SOD.

For now, R23 on board as the only stable kernel for my G2 now:good:
[G2 Android Development] RenderBroken:
Thanks got the kind words! I appreciate the report as well. I still have not been able to get a log on a SoD. How often did they occur to you? Would you want to flash R24 again to gather some logs for me during an SoD? I would love for you or someone else to help me in this regard because when i stopped under-clocking I have not had any issues.
[G2 Android Development] RenderBroken:
Just wanted to share what I have been working on...
[G2 Android Development] 1ceb0x:
will be very interesting to test and see what happens when you set 2 or even more different governors + frequencies per each CPU... it is my first time since N4 (my first quad core phone) that i see this kind of implementation. Thank you, Render for your work on G2.
[G2 Android Development] Formhault:
DorimanX has implemented something similar on his kernel some time ago. Just saying :D

Keep it up, Render!
[G2 Android Development] 1ceb0x:
don't care about dorimanx kernel.... haven't used stock in months.
[G2 Android Development] GibonXL:
OK, R24 on board, synapse set nd kernel tweaker without root access (LS milestone).

Syslog waiting, let's hunt them down :)

Previously had 2 SODs on R24 - one in Synapse while scrolling and second out of nowhere. No UV.
[G2 Android Development] RenderBroken:
Yea He uses the "all_cpus" method. I think the implementation that I am using is way cleaner. There are alot of modifications in cpufreq to allow "all_cpus". Also if you have not noticed, you can now set the boost freq per core as well. So you can essentially turn off boosting by just setting certain cores to the Min_freq.

Thanks!!!
[G2 Android Development] RenderBroken:
Also wanted to share that I am always one to keep growing and try new things. I have built a test build with Intelliplug that is slightly modified from Faux's version. So far I have been pretty happy but I will be doing tests all day to check it out. I do know that it scored about 2k lower in antutu but that doesn't mean the user interaction is any less. I just use antutu to measure other things like ram and such. Just thought I would share and if I feel that it performs better and gives better battery life then I will change my default hotplug from Msm_hotplug to Intelliplug.
[G2 Android Development] Formhault:
Sure I have. I stole your R25 build and am running it right now! :silly:
[G2 Android Development] 1ceb0x:
IMO - intelliplug is more battery friendly than msm_hotplug. But it might just be me :)
[G2 Android Development] metalboy94:
I have to post the following, sorry if it's too corny.

But dude, you're a mad scientist! I had better battery life on my phone today than in the entire year I've owned it, better than every single ROM and kernel I tried! I took part in a hackathon, which means that the phone was mostly idle for more than 12 hours. Data was always on, and the battery only went down 50%! I know this might sound normal to other people but the most I ever went was 10 hours with data always on on a full charge, and lately I have been struggling with no more than 6 hours of data. I have no idea what you did to the kernel (or it may be because of me setting the minimum CPU frequency to 192 Mhz), but it's truly amazing! Beer's on me as soon as possible :cowboy: :cowboy:

This being said, since nothing is ever perfect in Android land, I had a random reboot today and sound stopped working earlier. I rebooted the phone, fingers crossed the battery life won't go down again. I will be showing up with a report tomorrow and a last_kmsg if anything goes wrong again. ;)

Edit: I am running R23, will flash R24
[G2 Android Development] RenderBroken:
You had a random reboot with R23? Thats really weird. As far as I know, you are the first to report a random reboot using R23. Besides that, Alot of work has gone into tweaking and working on bring out the best of performance and battery with this kernel. Thanks for the kind words!
[G2 Android Development] metalboy94:
There's a chance it may be from the ROM (LiquidSmooth), would hate to have to find another one tbh. We'll see. Flashing R24 now
[G2 Android Development] abby_nitewolf:
Hello, I've been running r24 since it was released and it's been running smooth with amazing battery life.

But..... Today i had my first reboot. R24 on latest LS. Interactive governor.

https://www.dropbox.com/s/lhcn778wjffdp8u/2014-11-15_20.17.zip?dl=0

I just see a shutdown command but i don't know what initiated it.
[G2 Android Development] abby_nitewolf:
Update: Another reboot just happened again, this time while playing Clash of Clans. I pulled log, and it gave me the exact same last_kmsg as the last one i posted. I'm not sure what is going on. It could possibly be rom related since i rememeber that i got random reboots even with r23, but i didn't pull log when it happened then.
[G2 Android Development] RenderBroken:
Sounds like it. Usually when there are reports of reboots its more widespread. I did look at the logs thought. Thanks for sharing! Still let me know if you have more. Thanks!
[G2 Android Development] Ace42:
Are the people with the bugs & random reboots all using the D802? That tends to be the the variant that gives devs trouble for whatever reason.

I have yet to experience any problems w/ R24 besides the random loss of signal when using HSPA(+) after a phone call. But that may be an AOSP/CM bug, since it happens on all custom ROMs I've used so far.

Sent From Capsule Corp.
[G2 Android Development] Formhault:
Never experienced that signal drop issue on my D802 running LS 3.2 + R24.
[G2 Android Development] metalboy94:
No reboots today (only a SystemUI crash), but I also couldn't replicate the battery life of yesterday. Time to fiddle with my settings again.

Also I have no issues with H+ signal. Or 4G and the switch between them for that matter.
[G2 Android Development] 93fuelslut:
2 questions

When you 1st install a ROM it takes 2days for the kernel to set in .

Does that concept still apply when I flash render a week later on a fresh ROM?

And on liquid, my GPS is working for the 1st time on a aosp ROM. But if I flash render, could a kernel hinder that? I'm a u.p.s driver so sometimes I have to use it

sent from your moms phone
[G2 Android Development] Maritus1:
Everything's fine on my D802, no SODs, just one reboot soon after booting, no observed signal loss, but I actually don't call using 3G.

Just can't wait for R25 and it's possibility to manually set CPU max and min per core :D.
[G2 Android Development] jesssiii:
Was hoping this would work for Jackpotclavin's cm11 for Verizon as it's 4.4.4 based. Wouldn't boot though.

LG G2 VS980
[G2 Android Development] leos0000:
Where i can download r25 kernel mm?
[G2 Android Development] Formhault:
From the OP. Once it's released :)
[G2 Android Development] RenderBroken:
not sure why the battery would not match up. Interesting to think on.

No, the kernel should not have an effect on GPS locking. But I use the below methos when I have issues:

http://www.techrepublic.com/article/faster-gps-locking-on-your-rooted-android-device/

What Rom/date? Also and logs?

I imagine its just a deal with the Ramdisk. Can you upload the boot.img for me to download?

No where yet. lol The other guy was just playing with us.

R25 will be coming fairly soon. I have a few more things I want to do first then I will release!
[G2 Android Development] metalboy94:
I did not save my profile before flashing R24, which subsequently wiped all settings, so it may be because of that.

Oh, another thing: setting CPU Boost to 1 core produces a whole lot of lag. Not sure if it's meant to act like that, just wanted to report.
[G2 Android Development] RenderBroken:
Under hotplug settings? If so it really depends on the governor and how its set. I have Bacon set pretty conservative.
[G2 Android Development] metalboy94:
I was using intelliactive at that time. Is Bacon better? I admit it's the first time I hear about this governor.