yashsingh1/xdaforums huggingface dataset:
[G2 Q&A, Help & Troubleshooting] johnbeetee:
[MENTION=5186933]marco_wack[/MENTION]

Did some trials on getting the script, which is used by stweaks, to run with tasker, but no luck :( ...somehow it won't run

I suspect some permission "trick" needed, or maybe some bug in tasker ....maybe [MENTION=2376110]dorimanx[/MENTION] can enlighten us on this ?

but we can get around that ( like [MENTION=1559352]Diechel[/MENTION] indicated )

the stweaks script looks like this:

#!/sbin/busybox sh

# $1 - "eco_mode"
# $2 - value=
# Created By Dorimanx

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

case "${eco_mode}" in
all)
echo "4" > /sys/kernel/intelli_plug/max_cpus_online;
echo "4" > /sys/module/msm_hotplug/max_cpus_online;
echo "4" > /sys/kernel/alucard_hotplug/maxcoreslimit;
;;
eco)
echo "2" > /sys/kernel/intelli_plug/max_cpus_online;
echo "2" > /sys/module/msm_hotplug/max_cpus_online;
echo "2" > /sys/kernel/alucard_hotplug/maxcoreslimit;
;;
strict)
echo "1" > /sys/kernel/intelli_plug/max_cpus_online;
echo "1" > /sys/module/msm_hotplug/max_cpus_online;
echo "1" > /sys/kernel/alucard_hotplug/maxcoreslimit;
;;
*)
eco_mode=all;
;;
esac;
fi;
echo ${eco_mode};

for eco mode, you would need to make a task in tasker, that does those 3 actions (3 separate run shell commands)

echo "2" > /sys/kernel/intelli_plug/max_cpus_online

echo "2" > /sys/module/msm_hotplug/max_cpus_online

echo "2" > /sys/kernel/alucard_hotplug/maxcoreslimit

and to get back to full mode another task doing this :

echo "4" > /sys/kernel/intelli_plug/max_cpus_online

echo "4" > /sys/module/msm_hotplug/max_cpus_online

echo "4" > /sys/kernel/alucard_hotplug/maxcoreslimit

and respectively if you would want to set strict mode :

echo "1" > /sys/kernel/intelli_plug/max_cpus_online

echo "1" > /sys/module/msm_hotplug/max_cpus_online

echo "1" > /sys/kernel/alucard_hotplug/maxcoreslimit

I would adhere to this sequence and order of commands (I think it may be important, or at least not to introduce any bugs), and keep things in sync with the way stweaks does it .....

It should work flawlessly this way :) (..tested and for me it works ok..)

OT. Another thing I noticed, is that tasker doesn't detect all apps in triggering some or other tasks, especially those running as a service and app together....(..like for example SytemTunerPro..), but most others are seen ok...)

attached the three tasks for anyone who wants.... ( ECO_OFF, ECO_ON and ECO_STRICT )
[G2 Q&A, Help & Troubleshooting] johnbeetee:
[MENTION=5186933]marco_wack[/MENTION] & [MENTION=1559352]Diechel[/MENTION]

got it ! :)

for some reason the arguments to this script needs to be given twice for it to roll :confused: ...some busybox/interpreter bug ?

so to use these in tasker (or script...) you need to use the following (weird) syntax :

/res/customconfig/actions/eco_mode "eco" "eco"

/res/customconfig/actions/eco_mode "all" "all"

/res/customconfig/actions/eco_mode "strict" "strict"

this doesn't seem right (...but it works :) )
[G2 Q&A, Help & Troubleshooting] johnbeetee:
Previous tasks work also, because it just does what the script does ; I was just a bit confused why the 'normal' way (just calling the script with it's parameter) didn't work, like I posted before...

It just behaves a bit weird ; the obvious use should be :

/res/customconfig/actions/eco_mode "eco"

..but for some reason the interpreter (busybox sh) doesn't handle it this way ; it needs a third argument, that is seen as the second ($2) ...or something like that ....resulting in this working :

/res/customconfig/actions/eco_mode "eco" "eco"

(..or maybe my unix / linux knowledge is a bit outdated, don't know... :D )
[G2 Q&A, Help & Troubleshooting] dorimanx:
This script made for stweaks to use and set.

If you wish to use it manually you need to add value name then the parameter to run.

Example

Sh /blabla/script john eco

Script will execute eco function and doo all inside it and quit.

The first parameter can be anything just one word or number. No spaces.

Have fun.

Sent from my LG-D802
[G2 Q&A, Help & Troubleshooting] ox96115:
6.7 kernel problem report.

I play the WAV(16bit 44.1kHz) for LG music. (D802 for cloudG3 rom)

6.6 is good.

6.7 is the same problem like the berfore 6.5~6.1 version.
[G2 Q&A, Help & Troubleshooting] johnbeetee:
:) .... you are right ! ... I was a bit mixed up ; was constantly thinking $1 parameter was the scriptname itself (...but that is $0 ..)

now all clear again :) ...$1 is a dc-paramater (dc=don't care) ; needed for the rest (uci.sh)

Thanx! :)
[G2 Q&A, Help & Troubleshooting] gozzaa:
just to be sure, we dont need to clear cache + dalvik when updating the kernel, right?
[G2 Q&A, Help & Troubleshooting] MaxLG:
camera mic gain

Useless for me to use the camera mic gain control.

Same whatever I do. No difference.

Now I try v 6.7

Any help?
[G2 Q&A, Help & Troubleshooting] johnbeetee:
No need...just flash and go :)

(..in the rare cases that you get the feeling after flashing, that one or more apps are behaving less fluid than normal, then you can always try clearing them...cache + dalvik are more app related ..)
[G2 Q&A, Help & Troubleshooting] arenaboy007:
Do we choose yes - cancel stock recovery flash or no after flashing kernel or Rom?
[G2 Q&A, Help & Troubleshooting] johnbeetee:
To be honest, I have no idea what you are asking :) ... doesn't sound familiar to me

which recovery are you using? (those aren't options I get using twrp...)

EDIT:

I think this is what you're looking for ....? CWM?

http://forums.androidcentral.com/ve...ing-roms-hacks/217476-question-cwm-print.html
[G2 Q&A, Help & Troubleshooting] arenaboy007:
Sorry I just formed it with whatever I can recall about it. It's the option you get after clicking reboot when you're done flashing a kernel or rom. "Yes - rom may flash stock recovery on boot?" is the correct one.
[G2 Q&A, Help & Troubleshooting] johnbeetee:
According to the link I gave you it's :

"ROM may flash stock recovery on boot. Fix?"

That would be part of some recovery flashing utility so I'm quoting the answer I found :

so you should say 'yes'

Again I'm

assuming

you're talking about CWM installing ; if you're not sure, take some time and read up on it before venturing on :)

Like I said, once you have a proper recovery, you don't get these questions, when flashing a kernel as far as I know
[G2 Q&A, Help & Troubleshooting] ahilliard:
AudioMix partial wakelock

Does anyone else have a persistent CPU partial wakelock caused by 1013 > AudioMix?

This may not be kernel-related - I noticed it in BetterBatteryStats / Wakelock Detector after flashing Dorimanx 6.7, but it persists even when I reflashed back to 6.6.

Seems to be key / touch tone-related. Lowering the volume until Vibrate clears the wakelock. If the phone has any level of volume the wakelock timer starts ticking, even with the phone screen-off sitting on a desk.

Phone is a D803 Wind edition, ROM is stock D801V20e build KOT49I
[G2 Q&A, Help & Troubleshooting] gutikuvc:
About phone as keyboard

Hi i have D802 phone and want use it as usb keyboard. I have dori kernel 6.7 and enable hid function on tweaks and when open USB Keyboard app popup a screen that tell me that i need a custom kernel and dont work..... Im doing something wrong or its not working??:rolleyes:

It works.... The thing is that you has to enable hid in tweaks with the usb cable connected.
[G2 Q&A, Help & Troubleshooting] nirfish9:
OptimusG3 1.2 with dorimanx

I have G2 D802 with optimus G3 ROM

1. can I flash the latest dorimanx kernel ?

2. is it recommended to factory reset after flash ?

3. if something goes wrong can I go back to nandroid ?

thanks
[G2 Q&A, Help & Troubleshooting] roobs:
1) Of course you can :p

2) For kernel, it's not necessary, but I usually wipe cache/dalvik. For Rom, wipe data/cache/dalvik/(system) before, not after.

3) Dori has put the stock kernels in case something happens. Just copy it just in case you need to revert back.
[G2 Q&A, Help & Troubleshooting] nirfish9:
flashed it , what am I supposed to see under "Kernel" ? I have " 3.4.101"

dont see anything regarding Dorinamx
[G2 Q&A, Help & Troubleshooting] bogdan1980:
Hmm, need an kernel like this for my note3...even wife on note3 sees that the phone has lag compares to Galaxy S2 with Dorimanx kernel.

S2 open webpages faster.... Miss Dorimanx kernel.

Unfortunately best kernel developer set his eyes to G2. Its awsome but can't stand no sd.

Maybe on the next phone will see Dorimanx again.

Congrats for your awesome free work and time consuming.
[G2 Q&A, Help & Troubleshooting] roobs:
Yeah it's good. Dori is 3.4.101 :good:
[G2 Q&A, Help & Troubleshooting] MaxLG:
Camera mic gain - help me!

I ask again: any help out here?????

STweaks: Sound Control

Camera mic gain. I try to put it to -10 or so.

It doesn't matter what I am doing. It doesn't work at all!

Bug?
[G2 Q&A, Help & Troubleshooting] rogconnect:
Ask your forum ppl to contribute an NOTE 3 to Dori, maybe he will consider. But SAMMY crappywiz make your device slow. I have no regret switching to LG from Samsung.

Sent from My LG G2 LS-980 or LG G Pad 7.0 V400
[G2 Q&A, Help & Troubleshooting] demilenos:
lol crappywiz getting bigger and bigger. me too...[emoji4]

from LG G2 - F320S
[G2 Q&A, Help & Troubleshooting] dorimanx:
How do you test it?

Try to lower the normal mic gain insted... maybe its the same for camera app you have...

Sent from my LG-D802
[G2 Q&A, Help & Troubleshooting] dorimanx:
Samsung sucks... i will never buy one again...

Closed source/bootloader my a@ss.

They lost millions of users and many devs.

Sent from my LG-D802
[G2 Q&A, Help & Troubleshooting] xanthrax:
What I've learned about Samsung is that they don't love the devs and they don't need users, they need money, if you know what mean...

Sent from my Darkside of LG G2
[G2 Q&A, Help & Troubleshooting] Formhault:
They have all the underaged kids who tell their parents to buy them the "greatest" S5... That is all they need :( they don't need to care about the good people...
[G2 Q&A, Help & Troubleshooting] MaxLG:
I do this:

Camera mic gain STweaks

I use different camera apps.

Then I play with the settings: low to high.

No difference what so ever!

Does it work for you?
[G2 Q&A, Help & Troubleshooting] dorimanx:
Do you have faux sound app? And set on boot is enabled in it? If so set it off.

Sent from my LG-D802
[G2 Q&A, Help & Troubleshooting] MaxLG:
I never use Fauxsound - only STweaks.

Does this mic gain control works for you?
[G2 Q&A, Help & Troubleshooting] Tinchoska:
[MENTION=2376110]dorimanx[/MENTION] similar problem but on speaker gain, it does nothing on 6.7 I mean, it doesn't increase volume even being on 8

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Q&A, Help & Troubleshooting] dorimanx:
Maybe you have some mod that brake kernel driver?

Its works ok for me, only via stweaks, in faux app this control is disabled...

Sent from my LG-D802
[G2 Q&A, Help & Troubleshooting] :
[MENTION=2376110]dorimanx[/MENTION] , many thanks as ever for your hard work. You have been back in cyborg mode lately! When do you sleep? Can I ask if you plan to include gov tuning options in stweaks like we had for S2? I used to like tuning nightmare to my liking. :)
[G2 Q&A, Help & Troubleshooting] dorimanx:
well this is big work to do, as we have many govs.

it's easy just to use any other app to control gov tuning.

i use android tuner, also setcpu is a good one app. not messing other stuff just good cpu controls.

it's much more easy to use, then for me to build massive scripts to contain all the controls and switch from one gov to other.

Ooo and cyborg mode is auto activated when my users cry for help, and send me logs that help me to trace the bugger and exterminate it :)

On the way updating some good stuff :)

cyborg mode = i dont sleep :[ online non stop.

But now i am in recharge state :) powersuspend!
[G2 Q&A, Help & Troubleshooting] :
I will try android tuner. [emoji106]
[G2 Q&A, Help & Troubleshooting] Tinchoska:
One thing I've learn from you and johnbeetee is that if you want this works properly, stay on stweaks you have everything you need there, so, no I don't use any third party app.... I've not test it on 6.8 will try and let you know

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Q&A, Help & Troubleshooting] johnbeetee:
Don't know about 6.7 ( didn't get around to test that one... )

but

just checked that on 6.8, and it works ok over here...should work for you too, I guess :)
[G2 Q&A, Help & Troubleshooting] Tinchoska:
Will test it
[G2 Q&A, Help & Troubleshooting] Andrew_han:
hey dori, have you seen the dkp kernel for the galaxy s3. I used it religiously before i got my g2. Decimalman has developed his own governor for it that I thought you might be interested in looking at, he says it isnt based on any existing governors and it always gave me excellent battery as well as performance

http://xdaforums.com/showthread.php?t=2226889
[G2 Q&A, Help & Troubleshooting] coowkeee:
Hi Guys

Is someone having some vibrate issues on the soft-keys and keyboards even on the third-party keyboards? Sometimes the vibration goes high then goes back to normal when pressing keys. This didn't happen on 6.7.

I'm using 6.8, d802.

Thanks!
[G2 Q&A, Help & Troubleshooting] dorimanx:
I will honor him by adding it to lg to preserve it, as g3 is fading away.

If its really that good :)

Sent from my LG-D802
[G2 Q&A, Help & Troubleshooting] dorimanx:
Nothing changed for this, and i didnt notice in any vibration change, i type a lot with vibrate on each char.

Sent from my LG-D802
[G2 Q&A, Help & Troubleshooting] demilenos:
U looks like korean now that is what happening in korea now.

kids dont care how they parent makes money and just ask greatest note3 even dont use s-pen...[emoji20] a@sshole

from LG G2 - F320S
[G2 Q&A, Help & Troubleshooting] Brahialis:
I got Dorimanx kernel 6.7. If there any tips on upgrading to 6.8 version. Just flash it or need to wipe dalvik cache or something else ?

Thank You for help!
[G2 Q&A, Help & Troubleshooting] Lycidias:
Just flash, nothing else :)
[G2 Q&A, Help & Troubleshooting] M0dulus:
Reboot

I don't have enough posts to put this in the dev thread so I will post it here. My phone rebooted while I was trying to make a call through Bluetooth. The log shows "Kernel panic - not syncing: Fatal exception". I'm on 6.8, D802 using Optimus G3 rom 1.2.
[G2 Q&A, Help & Troubleshooting] Formhault:
I'm... not like that :p

Problem is those kids could get killed for that phone. The streets aren't safe... especially for a 10 yo holding a $1000 device.
[G2 Q&A, Help & Troubleshooting] johnbeetee:
Strange...it should work

try this:

use any explorer with root permission, and follow the path you see, and see if you can find the file it refers to...

If it exist (it really should, because it is kernel defined), then you need to check this:

in Cooltool : make sure you don't have any spaces typed in between in the path (some keyboards with auto-space insertion do this) and no miss-spellings

other than that it really should work....
[G2 Q&A, Help & Troubleshooting] Formhault:
Yep, the file is there.

I figured it out. The path (in CoolTool) should have ended in a "/" after the cur_freq, lol... otherwise it doesn't work. False alarm :) sorry.
[G2 Q&A, Help & Troubleshooting] gozzaa:
Is there any app that can read the logs made with stweaks that are also colored? I dont want to boot my pc for that :p

I tried some logcat apps but could not open the logs with them
[G2 Q&A, Help & Troubleshooting] arenaboy007:
Will installing pureperformances conflict with this kernel or not?
[G2 Q&A, Help & Troubleshooting] johnbeetee:
You could search playstore for 'code editor' and choose a few to try out...

Droidedit comes close, I guess....:)
[G2 Q&A, Help & Troubleshooting] dorimanx:
Yes, no mods are welcome.

I dont want to read false reports from you too.

People try all kind of stuff, and then report bugs.

If i dont have bug, and logs show nothing, then no bug.

Sent from my LG-D802
[G2 Q&A, Help & Troubleshooting] arenaboy007:
Should I enable init.d scripts run-control on stweaks even without making any changes to it?
[G2 Q&A, Help & Troubleshooting] MizzouBrent:
Are there any plans for 6.8 or any newer versions to have no knock code on the ls980? Just wondering since the rom I like to run is based on ZVC which does not support knock code. I saw that there is one variant that has the newest version with knock and no knock. Thanks for all the work on this.
[G2 Q&A, Help & Troubleshooting] AnteusFogg:
I am curious. If your rom doesn't support knock code, what's the issue? You simply use another screen lock method, don't you?
[G2 Q&A, Help & Troubleshooting] MaxLG:
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

Stweaks: mic gain control

What rom / kernel do you use then?
[G2 Q&A, Help & Troubleshooting] MizzouBrent:
Because the op says if you flash on a non knock code rom you'll lose knock on.
[G2 Q&A, Help & Troubleshooting] demoncamber:
So from what I can tell, the speaker volume control in stweaks is working for music and stuff, but it has no effect on speaker volume in calls (when call is changed to speaker mode). Is this normal and does anyone know how to add more volume steps or raise the volume for that specifically?

Sent from my d801/20e kdz.
[G2 Q&A, Help & Troubleshooting] dorimanx:
Need to ask faux about this. I will ask :)

Sent from my LG-D802
[G2 Q&A, Help & Troubleshooting] demilenos:
Im not sure speaker call. but i can tell there's many way to change vol step.

there's many good xposed mod. and u can easily find build.prop method with a little search

from LG G2 - F320S
[G2 Q&A, Help & Troubleshooting] demoncamber:
OK thank you!

Music and videos go beyond loud at only 4 decibel boost in stweaks, but in call speaker mode my calls are on the low end. That's what I need to boost.

But there are much more media volume steps than the speaker call volume steps. So it seems to be limited and maybe that's why it appears the in call speaker volume is not being boosted, so maybe if we add more volume steps it will allow more volume.
[G2 Q&A, Help & Troubleshooting] njstein:
Hey all, I realize this has nothing to do with the kernel but I noticed that dorimanx has it in the status bar so hopefully someone has the answer. I'm trying to use Cool Tool to display my CPU temp but I can't seem to get it working. I've Googled it and found a couple tutorials on how to get it working but no matter what I do the temp is always displayed as: !IO

In fine tuning I have:

Prefix: CPUtemp:

PostFix: *C (the asterisk is the degree symbol, can't find it on my keyboard)

Path: /sys/devices/platform/s5p-tmu/curr_temp (and have tried temperature in place of curr_temp)

Regex: (\d+)\d{3}

Replacement Pattern: $1

I used the path from [MENTION=2376110]dorimanx[/MENTION] thread but it was for the S2, so that could be the issue. Anyone got this working on our G2 and provide some guidance?

Thank you.
[G2 Q&A, Help & Troubleshooting] johnbeetee:
S2 file system structure is very different ; that's not going to work :)

I can help you this much :

look in /sys/class/thermal

and you will find different subfolders of the different temperature zones in the device ; each subfolder contains a file temp, from which you can read the temperature

I only don't know which zone you need to have for which temperature ; dori did mention the zone number in the thread once, but I need to search for that ...

EDIT:

found it :)

http://xdaforums.com/showpost.php?p=52819719&postcount=1789
[G2 Q&A, Help & Troubleshooting] dorimanx:
Zone0 global core temp, all cores average.

After tests i have switched driver to zone0 so its probe this temp and set limits according to that value.

Sent from my LG-D802
[G2 Q&A, Help & Troubleshooting] njstein:
Thank you both so much! Works perfectly! I spent most of the morning trying to figure that out. Both of you are awesome!
[G2 Q&A, Help & Troubleshooting] AnteusFogg:
Indeed. Didn't really care about reading that part carefully as I use a KC-enabled ROM [emoji16]
[G2 Q&A, Help & Troubleshooting] Tinchoska:
I never said you told.me to do that, I try it by myself :) now, on thermal stuff what you recommend? Intelli? I am going to use stweaks just to learn to use it. Intelli eco mode, how exactly it works?

Enviado desde mi LG-D806 mediante Tapatalk
[G2 Q&A, Help & Troubleshooting] moocamr:
I have already reached this limit :) I'm not heavy user and hardcore gaming just browsing web , whatsapp , talk for half an hour , about one hour music play back ! green power , disabled some sys app , and stopped lots of app services in task manager , this what I really expect my phone !

another thing , is changing i/o scheduler dangerous ? mean in trickster or any app change it randomly ! I couldn't find a good source or reference which explain it well :(

sorry for noob questions !!!!

tnx :o
[G2 Q&A, Help & Troubleshooting] freebee269:
i/o schedulers are for your internal flash drive AKA internal sdcard. you choose one for the performance that you'd like to see your phone have. here's an explanation of some schedulers. http://xdaforums.com/showthread.php?t=1558153
[G2 Q&A, Help & Troubleshooting] johnbeetee:
Eco mode is a power saving stategy, which limits the system to use only 2 processors, instead of all 4. Don't know how much intelligence is programmed in the version of this kernel, but you can imagine an intelligent version that under heavy load, would switch all 4 on, and after load decreases, for an amount of time, continues with only 2.

Thermal settings: can be battery saving, because system is throttled back once this temperature is reached, but can be perceived as laggy by some once it kicks in ; try some values, and see if it's ok for you, or go higher if you want.

Intelli... versions are all again different strategies to achieve some responsiveness and yet save power, by managing different parameters.

You can best experiment a bit, and try and change only one thing at a time, and see the difference. It may be a very small difference, and only noticable across a full charge. So testing everything thoroughly, can take some time :)
[G2 Q&A, Help & Troubleshooting] Tinchoska:
Sorry for being this pain in the ass, but I am trying to learn more so I can help this way others and understand what I am doing. Question, OOM stuff what are? I don't understand that much on the explanation give on stweaks

Enviado desde mi LG-D806 mediante Tapatalk
[G2 Q&A, Help & Troubleshooting] johnbeetee:
No problem in asking ; better to learn and know what you're doing, than to screw up and complain :).

OOM = out-of-memory manager is part of android (linux) memory management system and there are lots of parameters that can be tweaked.

It is the system that manages the device's limited memory (RAM), when user wants to load something, but there is not enough room at that moment. It decides then to terminate loaded apps that haven't been used recently or are hogging the memory.

You can leave it on 'auto' and it will be managed like dorimanx has programmed it, or you can uncheck it and choose your screen on and screen off preferences for free memory. More free memory means more apps will be killed, after use, so they'll have to be loaded again on next use.

Having the right balance between free ram and leaving apps dormant in memory without killing them, can have impact on battery use and respons when starting an app for a second (or consecutive) time.

The other parameters (dirty_ratio , dirty_background_ratio) define write buffer sizes for data write actions to storage.

Too high will reserve too much (unneeded) memory, too little will cause delay with some actions. Think of the 'buffersize' as the size of your truck, if you need to transport a lot of boxes to a warehouse ; very small truck, you need to go lots of times back and forth, too big a truck, you'll go very few times, but with half or less loaded truck.

Hope I it explained it clear enough :)
[G2 Q&A, Help & Troubleshooting] Tinchoska:
Awesome dude!!!!! You rock, it is really clear and make me understand pretty well this.

Enviado desde mi LG-D806 mediante Tapatalk

---------- Post added at 05:38 PM ---------- Previous post was at 05:33 PM ----------

CRON TAB what exactly do?

And that, what's that?

Enviado desde mi LG-D806 mediante Tapatalk