yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] jesssiii:
https://docs.google.com/file/d/0B-GunN2lc0vMZDd6RldXQlhwbkU/edit?usp=docslist_api

LG G2 VS980
[G2 Android Development] RenderBroken:
Perfect, thanks!
[G2 Android Development] Ace42:
With Bacon you can tune it to be conservative without getting the slowness you'd see from the conservative governor. I don't use intelli governors b/c they have many parameters that make it harder to modify if you're not familiar with the terms.

Sent From Capsule Corp.
[G2 Android Development] Lawlrus:
He uses a totally different kernel source then everyone else lol.

Sent from my Vs980 running Validus 4.4.4
[G2 Android Development] RenderBroken:
Right, still might be a simple ramdisk change to make it compatible. Hopefully we are lucky, if not then o well lol.
[G2 Android Development] Lawlrus:
Be amazing if you did. Its pretty much the only ROM with no custom kernel at this point I think.

Sent from my Vs980 running Validus v6.2
[G2 Android Development] mafukaz:
I am using r24 and LS milestone on d802. Sometimes, especially when I get SMS, my screen is not turning on when pressing power button. It is not sod, because notification light is blinking. The only way for me is to reboot phone by long pressing power button. Any ideas?
[G2 Android Development] Ace42:
That is strange...What is your screen off frequency in synapse? Also you can pull a log with the synapse app.

Sent From Capsule Corp.
[G2 Android Development] mafukaz:
Ahh, probably screen off freq is the case, I had set it only 7xxMHz. Now I set 1.2 Ghz. We will see if this solves the problem. Ty.
[G2 Android Development] hovanhuang:
Exact same thing happen to me on Mahdi. Optimax governor. Barely twited the kernel. I think I mentioned the similar issue before. Sometimes the screen would be unresponsive because of com.Google.systemui error. I was thinking this maybe Mahdi issue but now other people experiencing the same thing. Also, when using Dr87s s3 default kernel there is no this problem.

https://www.dropbox.com/s/kfr48a7sxnobnva/logcat-2014-11-17.00.04.12.txt?dl=0

https://www.dropbox.com/s/xd428ixslcnen8k/dmesg-2014-11-17.00.03.56.txt?dl=0

[MENTION=5438598]RenderBroken[/MENTION]

---------- Post added 17th November 2014 at 12:09 AM ---------- Previous post was 16th November 2014 at 11:44 PM ----------

[MENTION=5438598]RenderBroken[/MENTION]

Hopefully this help.

https://www.dropbox.com/s/xd428ixslcnen8k/dmesg-2014-11-17.00.03.56.txt?dl=0

https://www.dropbox.com/s/kfr48a7sxnobnva/logcat-2014-11-17.00.04.12.txt?dl=0
[G2 Android Development] Vollspacken:
I only experienced system slowness and sod with optimax governor, never with another one. With bacon everything worked but wasn't as fluid as with ondemandplus which i'm using since then. Getting good SOT (about the same level as with optimax) and cpu doesn't run hot. ;)
[G2 Android Development] metalboy94:
Is there any way to reduce the battery drain associated with frequent waking of the phone? For example if I get a WhatsApp message, I reply, then i turn off the screen. Doing that for like 10-15 messages seems to incur a higher drain than just leaving the screen on.
[G2 Android Development] Formhault:
I think that's to be expected. Waking up the phone repeatedly will cause wake locks, I guess.

Even so, I use WhatsApp extensively and still manage to score awesome battery life. So I guess it's manageable? Still, perhaps [MENTION=5438598]RenderBroken[/MENTION] can chime in on this.
[G2 Android Development] RenderBroken:
Run wakelock detector and let us know your main wakelocks. There has to be something else going on. Thanks.
[G2 Android Development] metalboy94:
I only used whatsapp as an example, i figure this happens because the CPU goes to a higher frequency more often. I dont have any special wakelocks to be fair.
[G2 Android Development] crazy4tricks:
I face the same scenario... working as business manger i daily receive upto 30 mails and personal mails are not counted.. I have 3 mail account with sync. Skype.. in background and whats app running for personal chat. Above all i spend 1hr on xda plus min 1 hr o. Voice call... I get 3.5 to 4.5 hrs of sot with stock settings and battery life of 18 hrs at least. The only way i manage that by using 2x battery app as it disconnects my data while screen off and just do background sync after every 15 min. I must say worth to try as its free

Hope that helps
[G2 Android Development] IOmega666:
Guys, did the same question at the Q&A thread but i there is no movement there. So, i was using CloudyG3 2.1 but i get a lot of battery drain, flashed 3 times i get the same results and the last one i didn't even install any apps and neither of the 3 was a dirty flash so something is wrong, nvm, i'm gonna go back to Mahdi and wanna use Render Kernel, and was wondering which are the best settings to set in Synapse for governor and stuff? Mainly something that stays equal as for smoothness and battery.
[G2 Android Development] rmsinaga:
No such thing as best settings for all users as everyone has different apps installed in their phone. Currently I use intelliactive & row and my phone can last almost >30 hours with moderate usage.

You can play around with different governor & scheduler for different day just to experience different performance, then you can choose which one is the most suitable for you.

I'm using Mahdi 2.9 10/27 & R24
[G2 Android Development] Ace42:
I'm using:

CPU

offscreen=729mhz

min/max=96mhz/1.7Ghz,

bacon governor: hispeed_freq=652800, go_hispeed=95

Hotplug:

min=1, max=4, & 1 CPUs boosted

max cpu screen off=1

down lock duration= 750ms

fast lane load=400

input boost=0ms & input boost frequency=disabled

I/O=fiops

disable I/O stats & RQ Affinity=enabled

GPU:

min/max:=100mhz/320

simple_ondemand, Laziness=0 & Ramp=10K

Memory: Drop caches=enabled

ADV:

C1 (retention) = enabled/checked

Tools:

FSTRIM partitions & optimize databases

I also suggest using ART, but Dalvik is also optimized & has shorter load times.
[G2 Android Development] RenderBroken:
Sorry bout that, that thread was automatically created for me and I don't really use it. I need to set a reminder to do so lol. BUT things are really going to change up in R25 with the inclusion of even more customization options in Synapse so it may take some time with different users to find a good medium. As it stands, I like running Interactive, I have it already tuned to be pretty conservative. Also Ondemand is solid as well as I have it tuned towards performance!

Also I have tried running the stock Roms and was underwhelmed with the performance and battery as well! I don't know where people can say that stock was better. Maybe the real stock rom for the G2 but the aftermarket ones didnt impress me.
[G2 Android Development] RenderBroken:
Great Info!! Only caveat is the Screen Off Freq. Be careful setting it lower than 1.1GHz. The only reason I don't hard set the lowest freq to 1.1GHz is because some phones can go below that just fine. I just wanted to share this with others in case they are getting SoD's or Random Reboots and don't know why. I am developing Synapse to give you the most user friendly custom kernel experience you can possibly have. This does not mean that what settings work for one will always work for you. But if you get a random reboot or SoD always report what you have changed from default settings.

Also I am going to soon overhaul profiles in Synapse and make them front and foremost in the App. I will also have some generic profiles come with Synapse. They will be Powersaver, Balanced (Stock Duh!) and Performance! I will create these myself and they are by no means the end all be all/ I will be open to suggestions as well! Thanks guys! and gal.
[G2 Android Development] IOmega666:
Know that but in everything there is always something that it's stated "hey this settings maybe be productive (dunno if maybe be is ok :S) but you gotta keep an eye" that's why i was asking, gonna try all the governors and scheduler by myself and see what's worth for me.

Thanks :)

Thanks! Gonna try it.

It's ok, nothing to be sorry about. Will be expecting R25 :D Thanks for answering, it's good to see devs like this!
[G2 Android Development] berryman13:
So stoked for r25
[G2 Android Development] RenderBroken:
I wish more were responsive like I am . . . There does seem to be a new trend though.
[G2 Android Development] Ace42:
I didn't realize the screen off could be problematic, but I did notice that dori uses a min of 1.5GHz for screen off now. And so far the reboots I have had are caused by me testing the undervolt limits (max of -15mv! :[ ) during benchmarks, or while apps are installing.

Sent From Capsule Corp.
[G2 Android Development] RenderBroken:
Glad to hear, my only issue (Nothing I can control really) is that others don't know what is a real reboot issue and just a settings issue. I also know that I give users the ability to make their lives difficult. But I am hoping that users read this thread first (lol) and understand the pitfalls first. But I am glad to have such users that willingly help others.
[G2 Android Development] bleached45:
Is there anyway to have a popup when opening synapse with that disclaimer? That stock settings are meant to be stable but messing with things should be done carefully? I don't change anything I don't understand... Not everybody is that careful. I'm thinking like the old performance portions CM used to have with the "Warning: there be dragons ahead!" Disclaimer. Don't know if that is possible via synapse script. Just an idea. (Trickster users, etc are still on their own. Haha).
[G2 Android Development] RenderBroken:
Not a bad idea.

I cant create a popup but can add it to the first page in bold or whatever. Not a bad idea. I have two things I would like to have for R25:

Profiles

and fix how CPU Boost seems to bump up min freq and stick sometimes.

Also I may add some other last minute additions as well.
[G2 Android Development] metalboy94:
Sorry to nag you [MENTION=5438598]RenderBroken[/MENTION] , but I get the following repeatedly in logcat:

I/auditd ( 7043): Starting up

E/auditd ( 7043): Failed on audit_set_pid with error: Protocol not supported

I/auditd ( 7043): Exiting

Any ideas what it may be?
[G2 Android Development] Formhault:
[MENTION=5438598]RenderBroken[/MENTION] I think fast charge is broken.

I set it to 300 mA and plug the phone. 10 minutes later I realise it's charging very fast (1800+ mA). Set it to 500 mA and it's the same. :confused:
[G2 Android Development] metalboy94:
Speaking of fast charge, does it work for you when connected to the PC? Mine seems to charge at the same 300 mA no matter what I set in Synapse.
[G2 Android Development] Vollspacken:
Had the same problem yesterday, even doesn't connect without problems to my pc because it only shows i'm charging in AC mode so i can't push files via usb.

If you want to make this fast charge stick again just go to /sys/kernel/fast-charge (or something similar) and set the force fast charge file to 2, then it will work. At least that made the trick on my phone yesterday.

I want to add that i have a huge performance drop and wifi issues on LS 11/10 and R24 after i got home a few hours ago. Does anyone experience this too? (I'm on D802)
[G2 Android Development] Formhault:
I didn't try that yet.
[G2 Android Development] GibonXL:
Sorry, no SOD's

Hi,

I promised to get sod logcats for You, but none happened from the time I last posted:p

I am on a business trip to another country, using LS milestone and taking lots of photos anf posting via facebook mobile browser version.

D802, using wi-fi only in the hotel or sometimes at work.

With each charge the battery is getting bettet and better, well the sh@t happens :D

Using TWRP 2.8.1 and dalvik, no xposed.

Rock stable this time, let's stay that way :)

Raven posted somewhere that much depends on recovery. Well, after losing d2tw Your kernel is the only option for me :good

For the screen off with LS milestone I use 2 options:

- navigation ring with turning the screen off

- Greenify with the shortcut of hibernating and turning the screen off.

Okies, take care :)
[G2 Android Development] phoenix_rizzen:
There are two separate /sys files that need to be edited for Fast Charge to work on the PC. If you don't set them both, it doesn't work. Synapse used to only expose one of the /sys files. I think [MENTION=5438598]RenderBroken[/MENTION] mentioned exposing the second toggle in synapse in a future release, but I don't remember if that was for R24 or R25.

I had to use ES File Explorer to edit those two files in order to get Fast Charge working when plugged into my PC. And it made a very big difference in the charge time.

Render listed them previously in this thread. I'm not running this kernel ATM, so my list of files under /sys/kernel/fast_charge isn't correct for enabling this feature.
[G2 Android Development] hovanhuang:
[MENTION=5438598]RenderBroken[/MENTION]

Can you help with this? The logs are from a random reboot.

https://www.dropbox.com/s/3z6s8vnropepf8n/dmesg-2014-11-18.16.49.26.txt?dl=0

https://www.dropbox.com/s/3z6s8vnropepf8n/dmesg-2014-11-18.16.49.26.txt?dl=0
[G2 Android Development] RenderBroken:
S S S SUPER POST!!!

Not sure What Rom? Anyone else see this in their logcat? If so what rom?

So This is how it works. In Synapse there are two toggles. The First one has 3 options: Disabled, Enabled, and Custom. If you set it to Enabled it will ONLY use 1.8ma (Stock is 1.6ma) to charge with. The ONLY way to use a different charging speed is to use CUSTOM. Using CUSTOM you can use the different charging speeds.

That is a hard set limitation for USB ports. Granted a single USB hub (Group of USBs together) can use up to 500ma, just not in a single port.

This is not a problem with Fast Charge. You will always not be able to connect properly with it enabled and trying to access files off of your phone. As for the other issue, Logs would be greatly appreciated.

Awesome! Glad to hear! So are you restoring DT2W using the Synapse option I made? Just curious. Also he may very well be correct about the Recovery causing issues. I use the one from Blastgater. Enjoy your trip and stay safe!
[G2 Android Development] RenderBroken:
Thanks for the logs, I will take a look asap. What Rom, Kernel Build, and Phone Variant?

Also, What governor you using? I am see some weird things in the logs. Are you doing anything special with the wireless where you are at? What others changes are you making to your kernel setup from the default ones?
[G2 Android Development] hovanhuang:
Mahdi 10/27. R24. D800.

Optimax, screen max CPUs 4. Freq. 2260000.

That's all my change. Actually, Ive been suffering the same issue even with default setting on r23 and r24.

---------- Post added at 08:00 PM ---------- Previous post was at 07:54 PM ----------

For wireless, I use tasker to control my Bluetooth on/off and edge/4g connection by using WiFi as trigger. That's it.
[G2 Android Development] rmsinaga:
With Hyper & ROW in R24, although it's quite smooth, the phone is easily heated up for normal usage, hence thermal throttle is triggered and the max freq is limited to 1497MHz.

I'm using Mahdi 2.9 10/27.

Previously I was using Intelliactive & other settings were the same. The phone was not as smooth as with Hyper, but very seldom heated up.
[G2 Android Development] metalboy94:
LiquidSmooth milestone. I was concerned MPDecision might still be enabled in the background (and using extra resources), but it seems this is not the case.
[G2 Android Development] RenderBroken:
Well I am seeing two things in both logs

1. Optimax is causing a freak out

2. Some really weird wireless issue is occruing right before the reboot.

So I don't know which is the problem, But I would imagine that alot of people use Optimax so I am not sure thats the problem. Can you disable the Tasker script for a time to see if the problem goes away? This will help narrow down the issue. Thanks!
[G2 Android Development] Formhault:
I knew that. But I forgot to set it to "Custom", lol.

---------- Post added at 04:32 PM ---------- Previous post was at 04:30 PM ----------

SOD. This morning. I thought I already posted this, but apparently it didn't go through. Hope the logs contain something useful :

http://dump.no/files/c160c375dd52/2014-11-19_07.49.zip
[G2 Android Development] RenderBroken:
Thanks for the logs! Unfortunately there was nothing in it that points to an issue so it makes me wonder if you are Undervolting and what is your Screen off freq set to?

On that note i am going to hard set the Max freq off in Synapse to a safer level to prevent further issues.

On another other note, I bought Dragon Age Inquisition so I am going to be having a game-a-thon for the next few days. I plan on releasing this weekend!
[G2 Android Development] hovanhuang:
Thanks render. I will try that.
[G2 Android Development] Formhault:
Well, I did undervolt by -25mV. But that shouldn't be a problem, since most people seem to be fine with even -50mV... I guess.

Here's how it went. I set it to -25mV this morning, in the subway, at about 7 AM. At 7:40, it SOD`ed. 12+ hours later (now), SOD-free... so I doubt that SOD was due to the undervolt. Besides, I used to get SODs like this before even touching Synapse settings. I guess it's due to that GPU thing you said should be fixed in R25? :D

I personally didn't meddle with that. Others might, I guess, so good call.

Oh God...

Oh... *relieved*
[G2 Android Development] RenderBroken:
lol, man you never know about the undervolt. I was having the same problems at -50mv then went up to -25mv and all seems well. It is at least an area to try and see if it helps or not, if not then that would at least let me know that undervolting is not the only cause. the GPU issue has already been fixed in R24 so that should not be it at this point. Essentially Fixed means the setting should now work like "stock". But def let me know. I am curious in your case because it seems that you have a more finicky phone than others were mine seems to be one of the more rock solid ones. So it may seem like you are the squeaky wheel but I know better. I appreciate your reports. It lets me know when I am reaching the limits of what our phone can do. Thanks!
[G2 Android Development] Formhault:
Thanks man!

So that thing you said about the GPU frequency being set too low regardless of it lowest threshold in Synapse (if you remember) was in R23... to be fixed in R24? Not R24, to be fixed in R25? Lol :silly:
[G2 Android Development] berryman13:
This weekend.... I'm holding you to that!!!
[G2 Android Development] MBurns2:
guys i use bacon governor and mutlicore battery saver.

With msm adreno tz my phone seems to go better (i had simple ondemand). Which are the difference between these two gpu governor ? thanks a lot
[G2 Android Development] RenderBroken:
I had no idea what you are trying to say lol. I mean that the issue has already been fixed in R24. R24 does not have that problem.
[G2 Android Development] Formhault:
Nevermind. Tried to look for the posts where we talked about this but can't find them. :p
[G2 Android Development] RenderBroken:
msm adreno tz is more aggressive than simple on demand

I remember this though. I think you are right, the commit in question looks to have been made 2 days after R24 release.
[G2 Android Development] MBurns2:
Do you think that my battery will have a big bad impact ?if the drain is a little more i will prefer adreno because now my ui is smooth even with bacon
[G2 Android Development] RenderBroken:
Nah, I don't think its that big of a deal. But to me I dont mind charging me phone every night. Its so funny to me when ppl trip over themselves to not charge but every other day. Like its a huge deal to charge it at the end of the day or when you go to bed. Now i do know that some have crazy lives and have a real need but I like to USE my phone. I use Bluetooth, WiFi, Game, browse with Chrome, ETC. I use it with my job. I use it to listen to audiobooks while I work. I get home and when I put my phone on the charger 16 hours later I still normally have 30% left and thats after 4-5 hours SoT.
[G2 Android Development] MBurns2:
Mate i charge it every night.At the end of the day i have at least 20% of battery with 6hours of screen on on 3g.

This phone and the community behind are awesome!! Thanks a lot
[G2 Android Development] mafukaz:
I also have a problem with sod, just like Formhault. And i remember you Render mentioning, that it is because of gpu frequency or something, and you will fix this in r25.
[G2 Android Development] Formhault:
Theeeere we go! *cancels psychiatrist appointment* :silly:
[G2 Android Development] deraiz12:
Hello

No oc (cpu) version on r24 ?

Thanks you for your good works.
[G2 Android Development] metalboy94:
Can anyone help me with setting up optimax so that it also uses lower frequency steps and puts cores online rather than ramping up to the highest frequency or its optimum frequency? If it's impossible, is there another governor that can do that? I really want to mimic the behavior of the Alucard governor, it seemed very battery friendly back on stock ROM.
[G2 Android Development] MBurns2:
i think that bacon is the right one for u, if you want to make some changes looks at here (the interactive part): https://android.googlesource.com/ke...7aebe08b/Documentation/cpu-freq/governors.txt
[G2 Android Development] metalboy94:
Bacon was kind of laggy while still running the CPU at the highest frequency quite a lot, but thanks, I'll check that out.
[G2 Android Development] metalboy94:
Sorry if I'm being annoying, but screen off frequency doesn't seem to work, I get a few minutes of CPU activity on maximum frequency right after unplugging the phone, without using it.
[G2 Android Development] RenderBroken:
How are you measuring this?
[G2 Android Development] metalboy94:
I'm not trying to troll with these small values, the one for 2265 mhz does increase if the phone is left idle longer.
[G2 Android Development] RenderBroken:
You are fine bro, don't sweat it. I appreciate the concern and concise information. I do know that when you turn the screen off it does not immediately scale down to the freq you set. It has a timer just incase you turn the screen back on and to reduce and issues from doing so. Can you take the same screen shots but let your phone stay with the screen off for longer period? Thanks!

Personally I feel it is working as intended. There are others out there that have set the value too low and get SoD's. Still I would love any more info you can provide.
[G2 Android Development] metalboy94:
Yeah, I'll be back in a few hours with screenshots. Meanwhile, can you suggest anything regarding my other issue - a governor that would evenly spread CPU usage across most frequency steps? I have a feeling I get rather poor battery life when using the phone because it goes all the way to the max too often.
[G2 Android Development] metalboy94:
New screencaps
[G2 Android Development] RenderBroken:
I use either OnDemand or Interactive. I would use interactive since I have tuned it to be conservative.
[G2 Android Development] Ace42:
Bacon does a good job at using most of the frequencies. I'm using 96/2.2ghz currently.

Sent From Capsule Corp.
[G2 Android Development] MBurns2:
is it possible that one specific kernel can cause problem to signal (low signal , no signal..)? phone signal isn't only related to baseband?ty
[G2 Android Development] bolt890:
Will this kernel work with all the Lollipop builds? Sorry if i have missed something.
[G2 Android Development] 1ceb0x:
Not yet.
[G2 Android Development] GibonXL:
Hi, I'm reporting back from home:)

For my D802 with LS, dt2w works out-of-the-box or just doesn't work. Didn't need to use Synapse for setting it or restoring.

The story:

I used the TWRP with modified thermal engine, made a clean instalation of LS and lost d2tw on Raven's kernel.

Flashed R24, but didn't unistal kernel tweaker, only disabled it's rights from SuperSu. Granted SU rights for Synapse.

No FC's, good sot and standby time.

Thank You!
[G2 Android Development] RenderBroken:
Not sure, I dont believe so with all my kernel travels with the G2.

Not yet. Not until it settles down. I could build but would have to update the ramdisk and such so often it would be a pain.