yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] dorimanx:
new controls has new PATH.

check the /all_cpus/

it's link to /sys/devices/system/cpu/cpufreq/all_cpus/

there you have controls for all cores and govs.

drwxr-xr-x 2 root root 0 Oct 8 22:28 .

drwxr-xr-x 6 root root 0 Oct 8 22:28 ..

-rw-rw-rw- 1 root root 4096 Oct 8 22:28 scaling_governor_all_cpus

-rw-rw-rw- 1 root root 4096 Oct 9 09:40 scaling_governor_cpu0

-rw-rw-rw- 1 root root 4096 Oct 9 09:40 scaling_governor_cpu1

-rw-rw-rw- 1 root root 4096 Oct 9 09:19 scaling_governor_cpu2

-rw-rw-rw- 1 root root 4096 Oct 9 09:20 scaling_governor_cpu3

-rw-rw-rw- 1 root root 4096 Oct 8 22:28 scaling_max_freq_all_cpus

-rw-rw-rw- 1 root root 4096 Oct 9 11:55 scaling_max_freq_cpu0

-rw-rw-rw- 1 root root 4096 Oct 9 11:55 scaling_max_freq_cpu1

-rw-rw-rw- 1 root root 4096 Oct 9 11:55 scaling_max_freq_cpu2

-rw-rw-rw- 1 root root 4096 Oct 9 11:55 scaling_max_freq_cpu3

-rw-rw-rw- 1 root root 4096 Oct 8 22:28 scaling_min_freq_all_cpus

-rw-rw-rw- 1 root root 4096 Oct 9 11:55 scaling_min_freq_cpu0

-rw-rw-rw- 1 root root 4096 Oct 9 11:55 scaling_min_freq_cpu1

-rw-rw-rw- 1 root root 4096 Oct 9 11:55 scaling_min_freq_cpu2

-rw-rw-rw- 1 root root 4096 Oct 9 11:55 scaling_min_freq_cpu3

if you like the OLD way of setting ONE gov and ONE max/min to all.

use the:

scaling_governor_all_cpus for UNITY Gov

scaling_max_freq_all_cpus for UNITY MAX FREQ

scaling_min_freq_all_cpus for UNITY MIN FREQ

Tell me that this is not COOL! :)
[G2 Android Development] dorimanx:
o!! you beat me in answer. well done :)

I need more like you here! and i can go watch movies hahaha!
[G2 Android Development] HighlanderZA:
Thanks Dori - that was my issue a day or so ago - and I did the whole format, re-install - took the opportunity to revert to Pardus 7.7 and switched to TWRP- stock has made a difference to performance and battery life. Partition errors all gone!
[G2 Android Development] dorimanx:
interesting.

what if i will tell you that SuperSU you have BUGGED like HELL!???

HERE! install this via recovery

http://download.chainfire.eu/556/SuperSU/BETA-SuperSU-v2.12.zip
[G2 Android Development] dorimanx:
Great, broken partition, is a time bomb. that will blow up any time. no way to avoid that.

now should all be fine.
[G2 Android Development] natalya:
[MENTION=2376110]dorimanx[/MENTION] show us the latest stats (dl count etc) from your download site again :cool:

PS: How are you still awake? Go rest your body and mind :)
[G2 Android Development] Xpiatio:
You know Dori, just when I think you have done all you could to this kernel, out side of small tweaks, I go into the tread and see a long list of features from the latest kernel release. WoW, I don't know where your creativity comes from. Kudos. Hoping to send you some drink money as soon as pay day comes around. I don't need LagFix program any more.

Just one very small request, take it or leave it. Can you put the time the trim run within its section in STweaks, much like you did to the items in the Cron tab? I was looking for that late at night. I know when it runs now cause I read the thread.

Thank you.
[G2 Android Development] oTeMpLo:
ok.. tested..upgrading to supersu 2.12 does not fix (BSOD)... phone is unwakeable after cca 20 sec of sleep. (phone stiil works 5 sec of sleep) :)

deleting synaptic app still fixes bsod issue.. (used "sd maid" for that)..,,
[G2 Android Development] dorimanx:
So if it's in /data/ then all ok. if it's in SYSTEM/app/ then crash...

strange, probably ROM bug. but OK. i will relocate to /data/app/ in next release.

App is not MY. so i have no idea, what it's can do to broken ROM.

Works perfect for me from system/app/
[G2 Android Development] dorimanx:
Ok. noted.

For global info, Trim will run at 6:00AM

you can type:

crontab -l

in terminal or adb shell

root@g2:/ # crontab -l
crontab -l
# This file is at /var/spool/cron/crontabs/root
#field allowed values
#----- --------------
#minute 0-59
#hour 0-23
#day of month 1-31
#month 1-12 (or names, see below)
#day of week 0-7 (0 or 7 is Sun, or use names)

#JOBS
0 0-23/1 * * * /sbin/busybox sh /data/crontab/cron-scripts/drop-cache-only.sh
0 6 * * 6 /sbin/busybox sh /data/crontab/cron-scripts/ad_block_update.sh
0 3 * * * /sbin/busybox sh /data/crontab/cron-scripts/database_optimizing.sh
0 4 * * * /sbin/busybox sh /data/crontab/cron-scripts/clear-file-cache.sh
50 4 * * * /sbin/busybox sh /data/crontab/cron-scripts/zipalign.sh
0 6 * * * /sbin/busybox sh /data/crontab/cron-scripts/fstrim.sh
root@g2:/ #

OR

cat /res/customconfig/actions/crontab

root@g2:/res/customconfig/actions # cat crontab
cat crontab
#!/sbin/busybox sh

# $1 - "crontab"
# $2 - value=
# Created By Dorimanx and Dairinin

if [ "a$2" != "a" ]; then
crontab=$2;

case "${crontab}" in
on)
if [ -e /system/xbin/busybox ] || [ -e /system/bin/busybox ]; then
# stop if was running
pkill -f "crond";

# starting crontab service
/res/crontab_service/service.sh > /dev/null;

# setting my jobs with corrected timezone for all world.
/res/crontab_service/dm_job.sh "3:00" "/sbin/busybox sh /data/crontab/cron-scripts/database_optimizing.sh"
/res/crontab_service/dm_job.sh "4:00" "/sbin/busybox sh /data/crontab/cron-scripts/clear-file-cache.sh"
/res/crontab_service/dm_job.sh "4:50" "/sbin/busybox sh /data/crontab/cron-scripts/zipalign.sh"
/res/crontab_service/dm_job.sh "6:00" "/sbin/busybox sh /data/crontab/cron-scripts/fstrim.sh"
fi;
;;
off)
pkill -f "crond";
;;
*)
crontab=off;
;;
esac;
fi;

echo ${crontab};
[G2 Android Development] Yoyo117:
Reset your stweaks profile and stay on default. Fixed it for me. I'll try reapplying settings once I get home and check if I can find what's causing SODs. Until then stay on default and probably post your settings.

Sent from my dori- & pendroz powered G2 D802.
[G2 Android Development] dorimanx:
Hmm actually it's 15:47 now, so i am awake you know :)

Stats. well we are in constant GROW up! so no problems.
[G2 Android Development] roboMr.Burns:
Greetings from Germany!

3H651634MG859515Y!
[G2 Android Development] leos0000:
Dori thank u so much ..real best kernel :) battery anazing ****ing fast ..no reboots no some **** all perfect
[G2 Android Development] HighlanderZA:
Hi Dori - total freeze of phone while in Apps Drawer. Power button to reset. Log attached just in case there is anything in it.

If I recall correctly - all settings unchanged.

Pardus 7.7 and latest kernel.
[G2 Android Development] suhiiii:
In I think last 2 version 8.0.1 and 8.1 ,before flashing these two versions I was using extremy battery profile . Afther flasing in both cases when I plugged my phone it was charging very slow.

In first case after flashing 8.0.1 I just reset stweaks to default and fixed problems.

In second case I tryed to reset defualt but it didn't work in stweaks,nothing happend ,and I just changed profile to default and fixed it again.

So,maybe its best to [MENTION=2376110]dorimanx[/MENTION] to put auto reset to stweaks after every kernel flash,just to avoid this kind of "problems",and its not hard to setup od restore settings in stweaks,like 1-2 min .

For me its not a big deal,but could avoid useless posts :D

BTW I am on cloudy 2.0 .
[G2 Android Development] zhjackss:
what if he search for corrupted partitions and disable those throguh adb shell.
[G2 Android Development] markus4000:
I got a black screen after trying to unlock the device. Log in attachments.

Yesterday I flashed 8.1 with about 65% battery, changed some settings and charged it over night. Today I unplugged the charger, read some things on Tapatalk and G+ and locked it. About an hour later I tried to use it again, the notification led lit up to indicate wake up but the screen did not turn on. Then only holding down power button could do anything. I tried every hardware button and tapped on the screen multiple times in different combinations.

This looks a lot like the old "SOD" problem that I thought was fixed some time ago.

EDIT:

Ok I just had the exact same behaviour again after restarting the device, restoring my settings, locking it and trying to unlock it again. So I guess it has to do something with my current settings.
[G2 Android Development] suhiiii:
What version of supersu you use ? Beacuse this is related with SU,have the same problem 2-3 times before.
[G2 Android Development] jaidev.s:
hello Dori, I saw a new option Trim System Data under IO and it says that it's good to Trim once in a day, can u make it work automatically instead of manual similar to some options under Cron tab which u have given the option to run automatically?
[G2 Android Development] suhiiii:
Go to cron tab and you will see there thath options already.
[G2 Android Development] markus4000:
An old one, 2.02 I thought I already have the newest, sorry I will install the new one right away. Someone else mentioned though that it doesn't fix the BSOD issue. Thanks anyway.
[G2 Android Development] g.paganini:
For testing purposes I clean fresh installed pardus 7.7, updated supersu to 2.12, updated kernel to 8.1, default settings untouched, no SOD, no freeze, everything works snappy like butter, however (I know I will sound like an idiot) I installed subway surfers, and again Micro stutter while playing. Flashed cloudy's latest kernel, game runs buttery smooth. What has this kernel against this game? Had the same issue on all roms , even pure factory stock with dorimanx kernel installed. Everything else works as it should, speed, flow, scrolling, no sods :(
[G2 Android Development] jaidev.s:
Oh yes.. I didn't see, sorry, but then why do we need 2 separate tabs for same thing?
[G2 Android Development] suhiiii:
You shoud try to change hotplug or governors and probably it will be fixed.
[G2 Android Development] markus4000:
Updated to SuperSU v2.12 and got a SOD again. I thought it has to do with the HotPlug driver (I was using Intelligent HotPlug instead of MSM like on previous releases) but now I was using MSM HotPlug and still SOD.

Second thing I changed in my Config was that I used Nightmare Governor on Core0 and Conservative on Core1-3 instead of Ondemand on all Cores. So maybe it is the governor (thought that a while back too).

Log in attachment.

I am not able to use my device normal anymore. Anytime the screen goes off I cant turn it on again. I'm trying to find out why but I am on a trip from friday to sunday where I need my phone so I will have to switch back to an older version in that time. I will investigate further after that.
[G2 Android Development] Trident:
Since I was having troubled the versions from 7.9-8.0.1 and hang been able to provide logs, I thought I'd try to do it right this time.

Flashed 8.1 last night and my heat issue seems fixed. But after receiving a phone call, I wasn't able to turn the screen back on. No knock on, and the power button didn't do it. I was able to turn the phone off using the hw power button. Attached is a log. https://www.dropbox.com/s/h1w4cd7i45h5afk/2014-10-09_10.22.zip?dl=0

Update: only had the bad screen after that first boot. Been perfect since.
[G2 Android Development] Yoyo117:
[MENTION=4892002]markus4000[/MENTION]: just reset to default and stay on it. I'll try to debug this after I got some coffee... Maybe I find sth for dori...

To all experiencing SODs: reset stweaks settings and stay on default. The new per core controls or the moved thermal controls cause our devices to SOD for some unknown reason...

Maybe those could also write which settings were used and if per core frequency control was altered.

If that doesn't help, some "fixed" it by removing synapse, but I don't recommend as dori doesn't like doing that. But that could be an indicator for the moved thermal code causing the issue.

Sent from my dori- & pendroz powered G2 D802.
[G2 Android Development] Rapoooo:
U Up So you too Acts That After His Time No No Yes Reacts On How To Froze Up ?
[G2 Android Development] wadamean:
I haven't experience any sods or freezes at all. Only on 7.8 from the MTP USB cable to computer freeze and reboot but other than that never ever experienced a sod of freeze from 7.7 down and 7.9 up
[G2 Android Development] zubeedubs:
Say what???

euro d802/ lightning rom v4/dorimanx 8.1/ fastweb mobile
[G2 Android Development] jeebspawnshop:
Well, here's what happened to me:

First boot after installing 8.1, I changed a bunch of settings in STweaks. I recall using Alucard governor and hotplug, which I had never used before. And then settings everything else to my usual settings.

Tried to turn on the screen 30 minutes later, and got nothing, just SOD. Had to 10-sec power button reboot.

Went in to STweaks after hard boot, then switched to my usual governor (Intellidemand) and intelli-plug. Everything else the same.

Using SuperSU 2.01, and CloudyG3 2.0.

About 14 hours now, no problems, and I've used the phone quite a bit.

I know this probably doesn't help much, but at least it shows that not ALL devices are having issues ;)

Dori, your work is simply incredible, and I hope you keep enjoying it, and keep us addicted to flashing!
[G2 Android Development] Yoyo117:
[MENTION=2376110]dorimanx[/MENTION]: I see you made some changes in git. Would be happy to test wether these fixed the SOD issue or not. Thanks for being such a great dev and listening ;)

Sent from my dori- & pendroz powered G2 D802.
[G2 Android Development] zubeedubs:
Best version since 7.8. Finally All good here, had no problems whatsoever!!!

euro d802/ lightning rom v4/dorimanx 8.1/ fastweb mobile
[G2 Android Development] Tinchoska:
My friend [MENTION=2376110]dorimanx[/MENTION] I have my first sod sinc3 a long time... It was screen off for almost an hour and never woke up, I have to restarted it with bottoms combination, here's the log, hope it's ok

https://mega.co.nz/#!mc0z0TgT!rHXBe_Xvi0vE7bvh99pMwW8FQKeqafk4KfswPnhx-tA

Enviado desde un lugar muy muy lejano con mi D806
[G2 Android Development] dorimanx:
To all, revert to 8.0.1 for now..

I have made fixes and all should be good now.

I will upload 8.2 when i back home from birthday party.

Sent from my LG-D802
[G2 Android Development] m1trand1r:
You know users mate......they sometimes do their best to get something broken what actually isn't ....sadly....

Huh....this one is very familiar to me[emoji33] [emoji33] .....peeps crying all ovah the place when /data/ fix was implemented....although it IS a very good thing if ONE knows how to use it ....

But as i'm looking and following you....SDCARD script fix would also make mess and a lot of crying when some data is corrupted and all goes haywire while sdcard script fix is running....don't you think?..

Just my 0.02€ like always :)
[G2 Android Development] Kemby13:
I have no problem with 8.1 whatsoever. Was just wondering what would be a good setting for nice performance/smooth ui and good battery life at the same time? (now that we can adjust diferent clocks and governors for each core - thumbs up for that Dori :good:).

I am using intelliactive governer @ 2.0ghz on first and second core, the rest two are on intelliactive @ 1.7ghz.

For now everything seems fine, no stutter and battery life is good. I'll report back after 2 full cycles... Any opinions?
[G2 Android Development] Rapoooo:
I noticed that the phone is charging freezes and can not unlock it and when the charger is all about
[G2 Android Development] markus4000:
Maybe you already fixed it but I want to report it anyway.

After resetting STweaks settings to default, reboot (although unnecessary) and a couple of wake/sleeps I got a SOD with complete default settings. No log this time, I hope you already fixed it. I follow your order and revert to 8.0.1 now. Thx Dori :good:
[G2 Android Development] xanthrax:
If the fashion is SOD {is it dead or just frozen for some seconds?} well, I'm the old fashion guy... no freze, dead or whatever, Pardus inside

Sent from my Darkside of LG G2
[G2 Android Development] kamil004:
hmm so why i dont have any bugs?

Charger OK, Governors CPU too, all is ok.

I stay on 8.1 ;)
[G2 Android Development] wadamean:
+1

---------- Post added at 11:26 AM ---------- Previous post was at 11:22 AM ----------

Use darkness governor or alucard. Darkness is the best though.
[G2 Android Development] nexus_vl:
Few hours testing, playing with setting and running stress benches for stability.

No problems, no sod no screen frees, nothing.

So far seems good to me.

Not going back to 8.0.1 till I have a problem.

I do love the new setting!

First 2 cores 2572MHz other 2 at 1958MHz Logical reasoning here, 2 cores at high speed wont clock back due to high temp and will stay on 2 cores longer, when needed core 3 and 4 will come online and temps will rise very fast so therefor at 1958 so thermal control wont interfear to soon. Seems to work, got the same results running Pi bench and in normal use only one or two cores ore active, so thats a good thing.

(core 0 Darkness all others Alucard, alucard thermal control)

D802 OptimusG3 v1.3.2 :good:
[G2 Android Development] EniGmA1987:
I just use Alucard governor for CPU and GPU, with Alucard hotplug too, and a max speed of 2GHz on the cores, touch boost of 1.5Ghz, and only 2 cores max no matter what. Max screen off speed of 1.1GHz. Performance is still plenty good in everything I do and is very smooth. But battery life is also really great because only 2 cores ever and less frequency. I do make the GPU ramp up quicker though, since it has far more effect on smoothness. This is how I can get away with less cores and less core speed and still be perfectly smooth.
[G2 Android Development] Kemby13:
What do you mean Darkness is the best? Best for what, performance, smooth ui, benchmarks, battery life?

Be more specific pls.. Some info on Darkness gov would be nice, i cant find a description on the web...

Btw, unrelated to governors.. Anyone who has freezing issues, try setting your Read-ahed to 512kb (I/O tab in Stweaks).

I am not sure this will help, but in my case it works. Almost every time i left read-ahead on default (1024kb) my phone would freeze or reboot.
[G2 Android Development] wadamean:
Darkness is the best in terms of battery saving and smoothness. Because it stays at 300mhz much longer when screen is off for deep sleep and also darkness stays much longer at just right frequencies for normal tasks. When a task like a game or what not really needs to go to high frequency for performance then the governor goes to its max but only when truly necessary. Alucard is similar but tends to go to max much quicker.
[G2 Android Development] :
8.1 no issues here. Back with pardus now from my aosp holiday. Love the ability to set each cores max freq individually.
[G2 Android Development] Tinchoska:
So, with the new app we just delete it and we'll be OK ?

Enviado desde un lugar muy muy lejano con mi D806
[G2 Android Development] Formhault:
Was it your birthday party? If so, happy birthday :D! If not... well, this is awkward :silly:
[G2 Android Development] nexus_vl:
Actually it's the opposite, darkness will go much quicker to max freq, like interactive, but will use lower frequencies more often, alucard reacts almost the same but will not easy go to max freq ;)

However you will not notice the difference in battery usage.
[G2 Android Development] eldani25:
Super!!!!!!!!!!!!

Few hours testing, playing with setting

No problems, no SOD no screen freezes, Running Perfect:good:.

So far seems good to me.

Not going back to 8.0.1

Loving the new settings!
[G2 Android Development] nexus_vl:
Are you just copying what I posted??!! #8652
[G2 Android Development] Kemby13:
Thx for explaining it... :good:

But i must say, intelliactive is very good at keeping the phone smooth. In games it doesnt heat-up the phone as much as ondemand or interactive do and for battery-life hmm...

...it's too early to say but it feels good. 10:30h BOT, 3h SOT, wifi on at all times, 1h of 3g, 30min playing dungeon keeper (it drains a lot of battery), still have 48%...

I thought so too ;)
[G2 Android Development] eldani25:
NO!!!!!!!!!!!

pure coincidences :confused::eek::highfive::good:
[G2 Android Development] dorimanx:
No a friend, party :) i am back home and fixed some stuff + new requests

I will upload new build when all ready.
[G2 Android Development] zubeedubs:
Just thought id share my usage so far...

[emoji7]

euro d802/ lightning rom v4/dorimanx 8.1/ fastweb mobile
[G2 Android Development] Formhault:
I know that this was already talked about before, but...

Could you add a Touchscreen Sensitivity slider in STweaks, so we can increase it if needed? I'm asking for this because I just got a glass screen protector and I feel like there's been a slight degradation in touchscreen sensitivity :(. Please...

If it's safe, of course. I mean I don't think increasing the touch panel's voltage a tiny bit would do any damage, but I may not know as much as you :D.

I know, I know... This is a request... Please don't bash me :angel:.
[G2 Android Development] dorimanx:
News Update!

09/10/14

Kernel 8.2 (Fix for 8.1)

*Merged updates to PM code from CAF 3.5.y Kernel.

responsible for low power mods in suspend.

*Added FSTRIM also to Cache partition.

*Fixed BUG with suspend SOD.

*Moved Synapse App from SYSTEM to DATA on kernel install.

*Set SELinux to Permissive on BOOT. seems some ROMS just BUGGED.

and cant take the Enforce MODE. not my problem. now will be OK.

*Fixed MSM/INTELLI Hoplug Suspend function, now it's safe to use for 100%

*Fixed BOOT tuning for MSM Thermal control.

*Added new status to Synapse that show active CORES in LIVE.

*Clean Synapse data when profiles cleaned.

*Link wget binary to /system/xbin/

*Updated refresh times for Synapse status tab.

*Profiles will be RESET on first boot.

Kernel 8.1 deleted, as many reported SOD bug, that i didnt had.

But i cant say no to facts.

So, here is the FIXED version. i hope that this time it's will be GOOD.

Any way. WAIT at least 1MIN after UI show up before you open STweaks.

We have much more controls now, and STweaks need time to load all!

so give it a time.

if you dont care about what i ask, then it's will be in hard way.

STweaks will be killed every 3sec till all controls loaded.

You dont care = i dont care. WAIT :)

Or use STOCK.

Please report how all goes. and add logs, to reports.

otherwise i just note, and ignore, i cant do anything

For me all OK.

Have Fun.
[G2 Android Development] dorimanx:
no bashing, just simple NO.

i will not mess with touch screen driver. it's above my knowledge.

it's freaking crazy code there.... for me it's like, WOW what the hell is this! and this?? oh man and that???!....

Here take a look.

https://raw.githubusercontent.com/d...KK/drivers/input/touchscreen/lge_touch_core.c

if you know what to change for sensitivity let me know.... :(
[G2 Android Development] Formhault:
I see. Fair enough!

Thank you for 8.2. Was holding out on 8.1, as 8.0.1 seemed better. Flashing latest now :good:
[G2 Android Development] Formhault:
Well... I just flashed 8.2 and 10 minutes later I got a mail - wanted to see what it's about, so I tried to perform a knock-on gesture to wake the screen. Cyan LED lights up, but the screen stays off. Whoops, is that a SOD? Tried multiple times, knock-on + power button, nothing.

Long pressed power button to reboot, and 1 minute later I started STweaks to get the log (archived it into a .zip so I could upload it as attachment).
[G2 Android Development] Formhault:
I just got another SOD as I was typing the previous post - took another log and attached it below. Meanwhile, I must go back to 8.0.1.

Looks like there's still a rogue commit somewhere out there :D, [MENTION=2376110]dorimanx[/MENTION].

EDIT: as I was trying to reboot to recovery to flash back to 8.0.1, the phone seems to have gotten stuck in a loop on shutdown. The Google animation is spinning, the LED is going cyan & blue... but that's it. I must long-press the power button again. I'm on Pardus 7.7, by the way.

EDIT2 : on both occasions, the SODs occured relatively soon after the boot. In the case of the second SOD, it occured literally less than 2 minutes after the boot has completed. :eek:

STweaks is on default settings. Anyway, I understand its settings were reverted back to default, so...
[G2 Android Development] Yoyo117:
8.2 no SOD after several configuration tests and letting it sleep ~15 minutes. Also no SOD on some shorter sleep periods. Thanks dori!