[REF] big.LITTLE cluster switcher commands - Galaxy S 4 i9500 Original Android Development

device entry : /dev/bL_operator
Options : [00] - switch disable
[01] - LITTLE only - Quad Core A7 cluster will be ON
[10] - big only - Qual Core A15 cluster will be ON
[11] - big.LITTLE
Example : echo 10 > /dev/bL_operator
Reference - Kernel source
GT-I9500/arch/arm/common/bL_switcher.c:405
pr_info("Usage: command > /dev/bL_operator\n"
"command : 00 - switch disable\n"
" 01 - LITTLE only\n"
" 10 - big only\n"
" 11 - big.LITTLE\n"
"echo 10 > /dev/bL_operator\n");

Will an init.d script be enough to use big or little for time being??
Sent from my GT-I9500 using xda premium

echo 10 is the default in Samsung kernel ?
Sent from my GT-I9000 using Tapatalk 2

Nope .. Its not default value. Just example given in the source how to use it.
any galaxy 4 9500 owners can post the value from their device ??
Sent from my GT-I9000 using xda app-developers app

You shouldn't be using these controls since they are breaking the CPUFreq driver. You can just limit the clusters via frequency min with any app. And the default is 11.

When you gonna join us AndreiLux ?
AndreiLux said:
You shouldn't be using these controls since they are breaking the CPUFreq driver. You can just limit the clusters via frequency min with any app. And the default is 11.
Click to expand...
Click to collapse

AndreiLux said:
You shouldn't be using these controls since they are breaking the CPUFreq driver. You can just limit the clusters via frequency min with any app. And the default is 11.
Click to expand...
Click to collapse
Glad you have this device. I'm looking forward to your kernel.

Related

Making a startup Script

Can someone help me make a script so my phone can startup on the max freq of 768 and on the smartass governor so I nolonger have to change the settings upon bootup. I'm sure others would like to do this as well so they no longer would have to use OC widget or Set cpu and switch the governor if they used smartass. If someone could help me that would be awesome.
Yea..how bout posting in the right section.
Sent from my HERO200 using XDA App

Over/underclocking

So I'm using miui and it's default setting is at 1.7ghz what's the best way to turn it down? Set cpu only works on one of the cores.
Is there a more effective app to handle this?
Sent from my Sensation using XDA App
get system tuner from market, its my fav and has a ton of features you can ignore or use. never had a fc or anything

[CLOSE THREAD PLEASE][MOD][APP] Floating Touch 1.3.1 (Updated: 2012.10.20)

I've finished this project, and attached the current source. @mods: Please close this thread, thank you.
Feel free to try out the app on different devices, If your phone's files are not autodetected execute the following command
"find /sys -name set_touchscreen"
Click to expand...
Click to collapse
in adb shell or terminal emulator. If it gives back results then try them out, if there are no results I cannot help "porting" it to your device, sorry.
Hi, I've read the news about the floating touch and the galaxy sl, checked the threads, and guess what it works on our phone too!
I've made an app that can controll our phone's "floatiness", it works well on biohazard v4.
CHANGELOG:
1.3.1 (2012.10.20)
-Added detection and support for Galaxy SL (i9003) and Galaxy SII (i9100 (not i9100G)) based on shriomman's thread (thanks shriomman) (it seems like that it does not work on i9100 based on feedback)
-Different results on I9000 (needs further confirmation whether it works or not )
1.3 (2012.10.20)
-Added possibility to manually input the path to the files of the touchscreen driver (thanks shriomman for the idea)
-Added possibility to start service automatically on boot
-Fixed charger connect/disconnect reset by optional bgservice (thanks alireza7991 for finding the issue)
-Made the UI more helpfull
-Pressing MENU button will reset everything (except if you entered some sensitive file in manual mode and overwritten it...it cannot be fixed ) (disable service, set value to 32, delete configuration files and exit the app) (only usable in the main activity of the app) (in case you've set some wrong value)
-Changed app's icon (thanks nishant_713 for the icon)
1.2.1 (2012.10.16)
-Fix for G3 <- managed to test it on my old GT-I5800 running CM7 and it works nice, doesn't even need the bg service as it stays after screenlock without the need of reapply (can't test for long as it now belongs to my father )
-It also turned out that by adding a "cat /..../set_write" also removed the need of the bgservice for us(...I keep this feature anyway...maybe someone likes it in the notification area )... so pressing the button is enough (altough it's saying temporary because I'm lazy to make an update for changing only the button's caption)
1.2 (2012.10.16)
-Added support for Galaxy 3 (GT-I5800 / GT-I5801) <-- Please feedback if it's work as I cannot test it. (Probably not working well please use 1.2.1)
1.1.2 (2012.10.14)
-Now supports Jelly Bean!
1.1.1 (2012.10.13)
-reverted minimum to 1 (thus allowing greater freedom )
1.1 (2012.10.13)
-added option to start/stop a background (in fact foreground to prevent killing) service, thus it can survive the screenlock
-changed minimum value to 7...values under it are not really usable
-app now stores last value setted by it (may differ from the actual value)
-added a filecheck too, and a nice warning message on failure
All it does is "echo 70xx > /sys/class/touch/switch/set_touchscreen" (xx can be set between 01 and 34)
It will reset on each reboot.
Possible usage:
-Using styluses like with resistive screens (value 10 and below) (Fun to use pinchzoom with two pencils ) <-- Thanks for domi525 for finding out.
-Use the screen with gloves on <-- Thanks for domi525 for finding out.
-Setting it a low value, and hovering over your screen to avoid smudges (value 8 and below).
Instructions: install the app; set a value (the lower, the floatier); press button to apply it (till next reboot)
WARNING: Value below 7 cause registering of nonexistant touches, or the complete inability to register any touches!! In those case you WILL need to reset it with adb shell using the command "echo 7032 > /sys/class/touch/switch/set_touchscreen" OR reboot your phone (via adb or battery reinsert)
I am not aware of any other side-effects, and take no responsibility for this app at all.
Of course all credits goes to shriomman and loSconosciuto for founding this, also check the original thread . (Sorry guys for not mentioning at the first place, and thank you very much )
Special thanks to nishant_713 for making me find out that we also need the cat command
Credits:
shriomman - Finding the method the app uses; sharing the path for Galaxy SL and SII
loSconosciuto - Finding out the possibilities to tweak the touchscreen
nishant_713 - Galaxy 3 support; the idea to use the cat set_write too; New icon
alireza7991 - Noticing the charger bug
domi525 - Finding out more usage
And everyone who gave feedback and helped to make this app better.
What is floating touch actually? Does it work on gingerbread?
Sent from my GT-I9001 using xda app-developers app
rickvrolings said:
What is floating touch actually? Does it work on gingerbread?
Sent from my GT-I9001 using xda app-developers app
Click to expand...
Click to collapse
I'm not sure whether it works or not (if you have a file named switch at \sys\class\touch\ than it will work i guess). It basicly makes the screen super-sensitive, it allows you to touch the screen without touching it: by just hovering your hand over it.
WOOOW! This really works! Amazing! Good job :thumbup:
Sent from my GT-I9001 using xda app-developers app
Wow. Thats amazing !!!. Works great with Biohazard v5. Im able to type this by just pointing at my Keyboard. Feels like your just hovering over your screen.
Sent from my GT-I9001 using xda app-developers app
Is it battery friendly? I think battery drain should go up sky-high
Sent from my Samsung GT-I9001 Galaxy S+ using xda-developers app
it is real cool) works on beta 1 by arco) battery drain is a bit higher than without it) thank you man)
Very nice app :thumbup:
I have only one question: Can my friend use this app with his Galaxy S2 (i9100)?
Sent from my GT-I9001 using xda app-developers app
Not working in gingerbread...
Sent from my GT-I9001 using xda premium
gjoy77 said:
Not working in gingerbread...
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
For me, its working with Rooted KQE.
this app is best for ttr4 players who are lazy to cut their nails. (like me
BattleBear3000 said:
Very nice app :thumbup:
I have only one question: Can my friend use this app with his Galaxy S2 (i9100)?
Sent from my GT-I9001 using xda app-developers app
Click to expand...
Click to collapse
It all depends whether he has that file in /sys (full path in OP)
Worst case scenario (imo): app FCs or need to reboot to touch again
Nice work! Though the Nexus S doesn't have that file. D; I didn't expect it to work but it'll be cool to see which other devices support this feature.
Sent from my Nexus S 4G
i set it to 7 as recommended but it goes back to 32 whenever i reopen the app again, any sugesstions??
Sent from my GT-S5360 using xda premium
The value stays and keeps being applied but the app does not save it and I did not have time to search how to read the current value yet.
gjoy77 said:
Not working in gingerbread...
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
For me it works on blazr rom.
Edit: Oops. Late reaction. Nevermind people
Sent from my GT-I9001 using xda app-developers app
Nice app used it on Paranoid android. Works great.
:thumbup:
Edit: Its stops when screen is locked. have to start it again
Sent from my GT-I9001 using xda premium
Nice work but how can I return to the default setting if I don t like the mod?
Inviato dal mio GT-I9001 con Tapatalk 2
does it work with aokp?
edit:it doesn't work...when I write
"echo 7032 >"(without ")in the file...my touchscreen goes to unwork status.
I must pull out battery
Device: Samsung Galaxy S Plus (I9001)
ROM: AOKP Milestone 6 b4 Crybert ed.
Kernel: CastagnaIT v6.2 exUv Kernel
Recovery: TWRP TeamWin Recovery Project 2.2.1
USING XDA-APP
If it doesnt work ,would it be repaired by rebooting phone?

Changing Governors in CM 10.1

Hi All,
A very basic doubt. How do i change to ondemand governor or any other governor modes when in CM 10.1 in Galaxy SL
Go to Settings -> Performance. If Performance does not exist..go to Settings -> About and tap Build Number 7-10x
Sent from my HTC Express using xda app-developers app

[Help] NoFrills unable to Control CPU clock speed

Hi friends...i need some help
I am on stock kernel & stock Odex Rom..
I have a rooted phone
When i try to set the cpu clock speed the settings are applied successfully but CPU does not work according to Max & Min frequencies set.
ex. If i set Max - 320 mhz & Min - 245 mhz after that settings are applied...when i check the CPU stats for last 5 Seconds..or current Clock speed its always more then the limits i have set.
It seems that my cpu is working independently...& i am unable to control its clock speed using NoFrills CPU control or any other app...i have tried all apps such as SetCpu, CPU tuner, etc..but theres no change in behaviour...i even tried the infinity Kernel but still no effect on my Cpu clock speed.
I have no control over it...it keeps on scaling independently...
I have a Galaxy Y ..i use Nofrills in that phone too ..it works perfectly....
Please help me to find a solution to this...
Plzz help..me...
Sent from my GT-I8262 using XDA Premium 4 mobile app
sunamit37 said:
Hi friends...i need some help
I am on stock kernel & stock Odex Rom..
I have a rooted phone
When i try to set the cpu clock speed the settings are applied successfully but CPU does not work according to Max & Min frequencies set.
ex. If i set Max - 320 mhz & Min - 245 mhz after that settings are applied...when i check the CPU stats for last 5 Seconds..or current Clock speed its always more then the limits i have set.
It seems that my cpu is working independently...& i am unable to control its clock speed using NoFrills CPU control or any other app...i have tried all apps such as SetCpu, CPU tuner, etc..but theres no change in behaviour...i even tried the infinity Kernel but still no effect on my Cpu clock speed.
I have no control over it...it keeps on scaling independently...
I have a Galaxy Y ..i use Nofrills in that phone too ..it works perfectly....
Please help me to find a solution to this...
Plzz help..me...
Sent from my GT-I8262 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
U have to use custom kernels in order to control the cpu
see this link
http://forum.xda-developers.com/showthread.php?t=2699497
Press thanks button if i helped you
Azaruddin said:
U have to use custom kernels in order to control the cpu
see this link
http://forum.xda-developers.com/showthread.php?t=2699497
Press thanks button if i helped you
Click to expand...
Click to collapse
But i tried in On Infinity Kernel too...and i didnt get any result
Sent from my GT-I8262 using XDA Premium 4 mobile app
sunamit37 said:
But i tried in On Infinity Kernel too...and i didnt get any result
Sent from my GT-I8262 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Did you tried with filth kernel ?
Azaruddin said:
Did you tried with filth kernel ?
Click to expand...
Click to collapse
Bro i just installed the Filth kernel...but still no result
Sent from my GT-I8262 using XDA Premium 4 mobile app
My battery drains at a rate of 1% per 3- 4 minutes
Sent from my GT-I8262 using XDA Premium 4 mobile app
So i was looking to control the cpu clock speed in order to reduce some battery drain...and increase the usage time ...
Sent from my GT-I8262 using XDA Premium 4 mobile app
strange cpu
SG Core cpu is strang , its wont be control by any cpu setting app. Clockspeed is stay at 1209mhz even we set at 1008mhz or lower with any cpu setting app. But we can configure governor and i/o scheduler as we need.
There is one thing, CPU CLOCKSPEED WILL DOWN ITSELF to 1008 then 700 mhz when device get hot and it wont be set to higher frequency. This cause lag when we play game even light game app like flappy bird.
I hope New Maclaw and his friend Marcin will fix this strange cpu clockspeed and provide us CM11 4.4.3 kitkat. They're great developer :good: You can see them post at samsung galaxy core general section.
Sorry for my bad english, im newbie...
click thank if i help you
Try rom toolbox lite >> CPU control >> At the bottom select governor to power save. :good:
AnsleyC said:
Try rom toolbox lite >> CPU control >> At the bottom select governor to power save. :good:
Click to expand...
Click to collapse
Power save governor makes CPU run at lowest speed at all times making the phone very unresponsive and hard to handle.
tys0n said:
Power save governor makes CPU run at lowest speed at all times making the phone very unresponsive and hard to handle.
Click to expand...
Click to collapse
Which g governor & i/o sched should i use....??
Sent from my GT-I8262 using XDA Premium 4 mobile app

Categories

Resources