[krn.modules] interactive governor for Arc stock Kernel (2.3.3 / 2.3.4) - Xperia Arc Android Development

Hello guys,
Introduction
I've managed to compile the interactive governor (supported by SetCPU!) for Arc's kernel (2.6.32.9-perf) which is currently the latest stock kernel for Arc. This is an alternative in case you do not have a modded kernel installed but you prefer the stock one.
This module is a compiled version of the code from here.
Screenshot of SetCPU:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Installing
After unpacking the zip into the folder of your choice, execute the following commands:
Code:
adb push "cpufreq_interactive.ko" /sdcard/cpufreq_interactive.ko
mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
cd /system/lib/modules
cp /sdcard/cpufreq_interactive.ko .
insmod cpufreq_interactive.ko
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Then you can fire up SetCPU and see that it actually detects the interactive governor and frequency changes. Reboot will reset the settings - you will need to modify your startup scripts to activate it on each reboot, or use SetCPU for this.
Settings
Although the initial interactive module only supported one setting, the min_sample_time, this one supports an additional one:
Code:
# pwd
pwd
/sys/devices/system/cpu/cpu0/cpufreq/interactive
# ls
ls
go_maxspeed_load
min_sample_time
#
which is go_maxspeed_load.
SetCPU only supports the initial setting that the module came with, the min_sample_time. By default, it is configured to 80000 here, but 50000 could also be a good value.
The settings default values and explanations:
Code:
/* Go to max speed when CPU load at or above this value. */
#define DEFAULT_GO_MAXSPEED_LOAD 85
/*
* The minimum amount of time to spend at a frequency before we can ramp down.
*/
#define DEFAULT_MIN_SAMPLE_TIME 80000;
To modify them, just echo the desired value into the sysfs files:
Code:
echo "85" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_maxspeed_load
Download
Use it at your own risk!
cpufreq_interactive_arc_2.3.3.zip
cpufreq_interactive_arc_2.3.4.zip
PS: Since I released the module for X10 first, you might find helpful tips and triks (if they apply) in the initial thread: http://forum.xda-developers.com/showthread.php?t=1221425

My Neo (stock kernel, same version) got stuck at the insmod part, is this possible?

Ambroos said:
My Neo (stock kernel, same version) got stuck at the insmod part, is this possible?
Click to expand...
Click to collapse
Of course!
It uses hardcoded values found in Arc's kernel, and if they are different in Neo, it will freeze.
I can 'blindly' build one for Neo if you send me the kallsyms_neo file generated running the command below.
Code:
cat /proc/kallsyms > /sdcard/kallsyms_neo
That file contains the needed values for Neo.

Does it work on 2.3.4 Android?

I don't think so - I just tested the smartass module (built also for 2.3.3) and it resets the phone - so probably the kernel's addresses have changed - kernel addresses which also the interactive governer is using.
So you could give it a try but most likely will reset the phone.
I intend to build the two modules today - stay tuned!

Updated for 2.3.4 - please check first post of the topic and download the 2.3.4 version.

I'm trying to compile the module for Ray from source code in the first message. Module is built but not operating as it should. Could you help me understand the source of the problem?

Sorry for the late reply. If you did not yet figure it out, just let me know more details (what do you mean by not operating as desired ?)

Reboot will reset the settings - you will need to modify your startup scripts to activate it on each reboot, or use SetCPU for this.
Click to expand...
Click to collapse
Could you explain a bit more detail? I tried set "Set on Boot" checkbox in SetCPU but after a reboot the settings are reset again.
And about another method: what startup scripts i need to modify on stock kernel?
Thanks in advance.
---------- Post added at 04:22 PM ---------- Previous post was at 03:42 PM ----------
Ok seems i found a solution in x10 thread. Just tried this method and it works
viewdetails said:
OK, I found a solution
Copy the .ko file to the phone as described in the first post.
Create the install-recovery.sh in notepad, don't forget the first line is important for the system to handle as script!
It should contain this:
Save it, and copy to your SD card.
Then
adb shell
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd /system/etc
# cp /sdcard/install-recovery.sh .
# chmod 777 install-recovery.sh
(The last line may not required.)
Reboot the phone, and the interactive governor can be select in the SetCPU!
Click to expand...
Click to collapse
But question with SetCPU still open.

Related

i need unison or rsync, howto compile?

Hi,
i need unison or rsync, but better unison.
what must i do to compile it to run under android?
rsync is in this topic (and more!).
P
aah, cool, but rsync is provided as update.zip, can i use this with cyanogenmod?
Hmmm, not sure, but you could easily enough extract it, examine it and push across what you need if not.
P
flashing the update.zip was ok and rsync runs, but ssh gives me everytime the message "ssh: exited: Unknown own user" hope you can help too
edit:
rolling back a nandroid backup and only pushing the rsync binary helps, and everything runs great, thank you!
UnisonSync
Hi there,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
A couple of pointers:
- Keigo Imai's patch to to cross-compile OCaml on Android (http://sites.google.com/site/keigoattic/ocaml-on-android)
- Jérôme Vouillon's OPAM Android repository (http://github.com/vouillon/opam-android-repository)
This should help you cross compile unison (I did this on Linux).
I also recently released a GUI app that allows you to unison without dealing with the command line (and without rooting) on Google Play:
http://play.google.com/store/apps/details?id=net.danielroggen.unisonsync
Cheers,
Dan
AC!D said:
Hi,
i need unison or rsync, but better unison.
what must i do to compile it to run under android?
Click to expand...
Click to collapse
Compiling unison on android
I've found 2 threads on this forum that ask the question: how to compile unison on android? Unless I'm missing something, no one has posted the answer. So I'm willing to post the answer as soon as I figure it out.
I've created an OCaml compiler and cross-compiler using these instructions: <Sorry, I'm not allowed to post a link. I hope you're telepathic!>
And I've downloaded the unison source: unison-2.40.102.tar.gz
I'd like to produce an .apk file that I can download and install to my Android devices. Anyone know the steps to do this?
Sidenote: It seems that many developers upload their work to Google play for distribution. I am trying to avoid using a Google account which means I can't download and install these apps. What is the infatuation with Google play? Why can't developers provide a download link and a sha1sum, and allow everyone access to their work, without feeding the Google data-mine?
Compiling unison on android
I've successfully compiled and executed unison on my Android tablet. This step was actually pretty simple. I think this answers the OP, but there's more work to do.
After building the Linux/Android OCaml cross compiler, I set my PATH to point to those compiler tools instead of the local native ones.
I untarred the unison tarball and made 2 changes. The first removed libutil from the linker command, and the second removed the inclusion of the pty.h file. This allowed me to compile, but I'm not sure if any functionality was lost. Here are the diffs:
Code:
diff -aur unison-2.40.102.orig/Makefile.OCaml unison-2.40.102/Makefile.OCaml
--- unison-2.40.102.orig/Makefile.OCaml 2012-09-17 10:09:03.000000000 -0400
+++ unison-2.40.102/Makefile.OCaml 2014-01-01 09:28:26.807793946 -0500
@@ -133,12 +133,6 @@
EXEC_EXT=
WINOBJS=
SYSTEM=generic
- # openpty is in the libutil library
- ifneq ($(OSARCH),solaris)
- ifneq ($(OSARCH),osx)
- CLIBS+=-cclib -lutil
- endif
- endif
buildexecutable::
@echo Building for Unix
endif
Code:
diff -aur unison-2.40.102.orig/pty.c unison-2.40.102/pty.c
--- unison-2.40.102.orig/pty.c 2010-04-15 13:29:31.000000000 -0400
+++ unison-2.40.102/pty.c 2014-01-01 09:28:44.672117297 -0500
@@ -9,12 +9,6 @@
extern void unix_error (int errcode, char * cmdname, value arg) Noreturn;
extern void uerror (char * cmdname, value arg) Noreturn;
-// openpty
-#if defined(__linux)
-#include <pty.h>
-#define HAS_OPENPTY 1
-#endif
-
#if defined(__APPLE__) || defined(__NetBSD__)
#include <util.h>
#define HAS_OPENPTY 1
At that point I chdir into the unison directory, and enter:
Code:
make UISTYLE=text
This resulted in a unison executable that will run on Android.
Using adb, I uploaded the unison file and ran it with these commands:
Code:
adb push unison /data/local/tmp/
adb shell HOME=/ /data/local/tmp/unison -help
Note: Unison fails without "HOME=/".
At this point I need to figure out where the executable should go, what kind of users, permissions, etc. I need to set up, and how to start unison from a GUI or cron. These are areas that are Android specific, which I have no experience with.

**Update 5/17 [MOD]Modified Framework Ideos S7 Froyo - HCOMB v2 Circle Battery with %

Playing around with my Tablet on a weekend:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The Mod:
- change framework-res icons - battery,signal,wifi,notification, and more images modified/ripped from various sources
- Battery percentage animations with increments Circular Battery
- black title bar
- hidden/transparent back button - tapping next the clock is "back" action
- font change
- replaced default lockscreen background - (1st screenshot is widget locker paid app from market)
Tools Used:
- Ultimate Online Kitchen for the new framework with % battery (more on this later)
- 7zip
- ADB
- Icon Dumps from Honeycomb
- a little Photoshop
***
- Widget locker for the lockscreen
- Font changer from market
How To:
1. S7 USB drivers need to be installed on PC
2. Tablet must be rooted and on deodexed rom - This mod uses Joenilan's Froyo Rom for S7 .
3. Backup existing framework-res.apk
* via ADB
adb pull /system/framework/framework-res.apk
From your adb /tools directory copy and save the apk somewhere for backup
4. ***IMPORTANT**** Backup Contacts and Accounts Sync Settings (suggest to do it with Google/Gmail)
5. Pushing the new framework to the phone:
copy the modified framework to /tools (download framework-res.apk -- refer to attachment)
*Obtain shell root
*via ADB:
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
exit
exit
adb push framework-res.apk /system/framework/
adb reboot
6. Lockscreen Font Mod:
Post#2 from this thread http://forum.xda-developers.com/showthread.php?t=973040
Extract the Clockopia.ttf from HCOMB-LockscreenFont-zxhian.zip to your /tools
*Obtain shell root
*via ADB:
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
exit
exit
adb push Clockopia.ttf /system/fonts/
adb reboot
7. Default Font Mod
- install font changer at market (free app)
- load your desired font from the application
- custom fonts can be referenced on this thread :http://forum.xda-developers.com/showthread.php?t=801160
Note: haven't tested doing this via root explorer or droid explorer basically the same concept, im just comfortable with adb
be careful editing your framework i am not responsible if you need to re-flash froyo, (hopefully joenilan can pick this framework for his next release )
Known Issues
- may need to re-sync your google accounts (sign-in again)
- may yield missing contacts suggest to backup contacts via google and resync
Image Bug: Clock missing on Status Bar -- to be fixed on next release
Again, use at your own risk!, the backup is there for its purpose, i am not a coder or a skilled themer, im just a guy who likes to mess my android on my free time just sharing what worked for me.
I don't accept donations,just a simple thanks really makes my day.
To all the spiders: the original thread can be found @ androidtablets.net and xda-developers.com
Notes for this MOD:
This is second update of framework-res.apk from Joenillan's rom.
The same framework can be processed in the Ultimate Online Kitchen, -- this made circle battery possible, if you want a different mod can try to play around with it @ http://uot.dakra.lt/
Im currently testing it and looks good so far will update this thread once done.in the meantime enjoy the screenies
Enjoy!
-zxhian
Change Log for this release:
- working circle battery percentage with increments
- ripped most of the stocked images with more hcomb blue
framework is currently being tested and tweaked. will update second post for the new attachment.
Edit2:
Updated attachment : S7-Froyo-HcombFrame-zxhian.rar
Edit 3:
Image Bug 1 : no clock on status bar - to be fixed
gracias

[MOD]Multi-touch hack

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
More than 5 points is not perfect,but it can be identified.
use cwm recovery update .zip file
you can also modify the code in the file by youself
File: /system/etc/touchpad/21 and 22 directorys touchpad.cfg file
Code: line 28 change NUMTOUCH=2 to NUMTOUCH=10
Look forward to someone to make it more perfect
nice will test it out
thanks
Very cool!
Cheers!
I used this instead:
Code:
#!/system/bin/sh
busybox mount -o rw,remount /system
cd /system/etc/touchpad/21/
sed 's/\(NUMTOUCH\)[ ]*=[ ]*[0-9]*/\1=10/' touchpad.cfg >temp
mv temp touchpad.cfg
chmod 644 touchpad.cfg
cd /system/etc/touchpad/22/
sed 's/\(NUMTOUCH\)[ ]*=[ ]*[0-9]*/\1=10/' touchpad.cfg >temp
mv temp touchpad.cfg
chmod 644 touchpad.cfg
busybox mount -o ro,remount /system
In this case you need to reboot for the changes to take effect. Tried multitouch tester and multitouch visualiser and I got more than 5 touches showing, only so many fingers can fit on the screen.
michael0619 said:
Click to expand...
Click to collapse
C'mon, that's cheating!
Very cool though, thanks for sharing!
Seems like 8 is the limit, even though I set it to 10
Awesome! Will try now.
NFHimself said:
Very cool!
Cheers!
I used this instead:
Code:
#!/system/bin/sh
busybox mount -o rw,remount /system
cd /system/etc/touchpad/21/
sed 's/\(NUMTOUCH\)[ ]*=[ ]*[0-9]*/\1=10/' touchpad.cfg >temp
mv temp touchpad.cfg
chmod 644 touchpad.cfg
cd /system/etc/touchpad/22/
sed 's/\(NUMTOUCH\)[ ]*=[ ]*[0-9]*/\1=10/' touchpad.cfg >temp
mv temp touchpad.cfg
chmod 644 touchpad.cfg
busybox mount -o ro,remount /system
In this case you need to reboot for the changes to take effect. Tried multitouch tester and multitouch visualiser and I got more than 5 touches showing, only so many fingers can fit on the screen.
Click to expand...
Click to collapse
How would I edit the file to how you did? Thanks. Or can you post the file?
awesome, thank you
Thank you, thank you, thank you for the .zip!
I edited these files myself and made a mistake, not sure what exactly I did wrong but after reboot I had NO TOUCH at all.
Thanks to the attached .zip I was able to just copy that to my sd via usb then flash in CWM. I now have 10 touch points.
WiredPirate said:
Thank you, thank you, thank you for the .zip!
I edited these files myself and made a mistake, not sure what exactly I did wrong but after reboot I had NO TOUCH at all.
Thanks to the attached .zip I was able to just copy that to my sd via usb then flash in CWM. I now have 10 touch points.
Click to expand...
Click to collapse
I've done the same thing. Edited files that I found that had the properties rebooted with no touch at all. Been trying to figure this out for a while. Thanks.
Sent from my MB860 using XDA Premium App
I assume the long-hold multitouch spaz issue is unaffected by this? What happens with all that now?
Sent from my MB860 using XDA App
Are there any side effects from enabling multiple touch points?
Tikerz said:
Are there any side effects from enabling multiple touch points?
Click to expand...
Click to collapse
Yes, the most important side effect from enabling multi-touch is that you can use more fingers at same time
just joking, but yes almost you get what you pay.
Thanks to motorola, the Atrix (most powerful smartphone in the world bla bla bla bla bla) will die without devs and users, I think moto only care about money and average users.
INSM Sin said:
How would I edit the file to how you did? Thanks. Or can you post the file?
Click to expand...
Click to collapse
That was the file, nothing more to it. Create in /data/local/tmp, call it yourmomsunderpants.sh (this is important) make it executable and run it. Simple.
Cheers!
Awesome thx, rebooting now
while it does see 10 fingers, i find it to be glitchy with anything over 4 fingers.
the multitouch tester app goes crazy if i put 5 or more on the screen at once.
This is perfect.
Set mine to 4 as I can't see the use for more than that at the moment.
ehvio said:
I assume the long-hold multitouch spaz issue is unaffected by this? What happens with all that now?
Click to expand...
Click to collapse
long hold is still the same screen will freeze after 12-14 sec
hosmsdos said:
long hold is still the same screen will freeze after 12-14 sec
Click to expand...
Click to collapse
Thanks for the mod! My God, I was hoping for this for a long time, man. All that's left is that annoying screen freeze nonsense and the phone will be usable in almost all scenarios.
Sent from my MB860 using Tapatalk

[KERNEL MODULE] XXKPH (2.6.35.7-perf-CL260130) kernel modules

Base on GT-I9000_OpenSource_GB_Update kernel source, I managed to compile some compatible kernel modules for Samsung Galaxy Ace XXKPH (2.6.35.7-perf-CL260130): btrfs.ko, cifs.ko, ext3.ko, ext4.ko, jbd.ko, jbd2.ko, libcrc32c.ko, and tun.ko . I am forced to use the HTC Dream (aka trout) platform, so the compiled modules compatible with armv6 processor (I9000 using armv7). Dirty hack here and there, so I am sure the generated zImage will not work on SGA, but the produced module is fine.
Sorry, my English not good enough
ketut.kumajaya said:
Base on GT-I9000_OpenSource_GB_Update kernel source, I managed to compile some compatible kernel modules for Samsung Galaxy Ace XXKPH (2.6.35.7-perf-CL260130): btrfs.ko, cifs.ko, ext3.ko, ext4.ko, jbd.ko, jbd2.ko, libcrc32c.ko, and tun.ko . I am forced to use the HTC Dream (aka trout) platform, so the compiled modules compatible with armv6 processor (I9000 using armv7). Dirty hack here and there, so I am sure the generated zImage will not work on SGA, but the produced module is fine.
Sorry, my English not good enough
Click to expand...
Click to collapse
So what do you want us to do?
Do you have screen shot on your own?
No screenshots. Examples of the use of cifs.ko, you can find here. Examples of the use of ext4.ko, you can find here.
how to flash it?
No need to flash, just copy files into /lib/modules (ex. using Root Explorer with root privs). Or could someone prepare update.zip for recovery?
I wonder if ext4 module works
i tried pushing this into
/lib/modules
is this what you mean?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
is this the new kernel?
it is an SGS based KERNEL..
so we can use it and do overclock
With this kernel can i do overclock ???
still cant overclock.
this kernel does not do it.
Its only modules guys. You cant do overclocking etc. Because its not kernel its only a part of kernel.
Sent from my GT-S5830 using Tapatalk
To access your Windows/Linux Samba share:
1. Copy cifs.ko module to SGA microSD.
2. Using "adb shell", Terminal Emulator, or ConnectBot:
Code:
su
mount -o remount,rw /dev/stl12 /system
busybox cp /sdcard/cifs.ko /system/lib/modules/
mount -o remount,ro /dev/stl12 /system
exit
exit
3. Install CifsManager from Market.
4. In CifsManager's Settings page tick "Load cifs module" and "Load via insmod", CifsManager autodetect cifs.ko location.
5. Open About page, click Modules button. You will see cifs module listed if loaded successfully by insmod.
6. Add your network share in Add New Share page. Using cifs.ko and CifsManager, I can access my Windows share drive over Wi-Fi.
My ext3, ext4, and btrfs modules could be useful for firmware modder and advanced user. CODEROM is the first ROM using my ext4 module. Dark Tremor a2sd not a perfect script without journaling filesystem support
You need tun.ko module if you need vpn access. Don't ask me about vpn since I'm not expert about it.
Sent from my GT-S5830 using XDA App
yeap... it's working on my Ace with KPH not modifying fw. Thx. How to use other modules?
so what improvements have this part of the kernel?
vlc_marcos said:
so what improvements have this part of the kernel?
Click to expand...
Click to collapse
Some parts of kernel not compiled-in by Samsung, so compile the missing part as module is the solution. The improvements is now you can access Windows/Samba share, access ext4 partition, and vpn access.
Phuih, 158 downloads but I have 3 thanks only? Maybe I have to delete this unuseful post
that's not a useless post at all !!!!!! You guys, posting those things on this forum, are making the Ace a wonderfull phone! Thanks a lot... Take my thanks like 10000
@mr. ketut I already gave you cendol...
I think it would be nice if you collaborate with mr. code to equally develop a very powerful ROM for ace
btw I saw you post something on another forum but I have not seen it here?it's same or different?
nice work ...thanks a lot. I am sure more kernel modules can be compiled. Is it possible to compile overclock.ko for galaxy ace ?
ketut.kumajaya said:
Some parts of kernel not compiled-in by Samsung, so compile the missing part as module is the solution. The improvements is now you can access Windows/Samba share, access ext4 partition, and vpn access.
Phuih, 158 downloads but I have 3 thanks only? Maybe I have to delete this unuseful post
Click to expand...
Click to collapse
No way this is a useless thread.....
Sent from my GT-S5830 using XDA App

[Script][Rom Toolbox Pro][Busybox] Setup AOKP 4.1 to OC GPU on boot

So with the new AOKP builds you can set the gpu speed on the fly. It resets after rebooting and must be set again after each boot.
Well, I used ROM Toolbox Pro to create a script and run that script on boot.
cmenard said:
On the fly GPU Overclocking
Value 0 = 307MHz
Value 1 = 384MHz
Value 2 = 512MHz
Click to expand...
Click to collapse
I wanted mine set to 1 after each boot. You can modify the script to run at the faster "2" if you want. I don't recommend this though as it will use more battery and cause the tab to run hotter.
Open Rom Toolbox and go to Scripter in the Tools section.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Create a script and name it anything you want. Add what you see in the image and make it look just like this below (its also at the bottom of this post for easy copy/paste)
Save the script and you should see it in the list.
Now tap on the script in the list and select "Set at boot" when the menu comes up so that it runs on every boot.
You should see the icon on the right of the script name like shown below. This indicates that its set to run on boot.
Reboot and enjoy a faster tablet.
Code:
#!/system/bin/sh
busybox mount -o remount,rw /system
busybox echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
busybox mount -o remount,ro /system
I must be the only person who likes a fast tablet.
I think CM or AOKP always has init.d support.
This works no matter what. I don't need to edit init every time I flash a new build. Which is quite often.
scottx . said:
This works no matter what. I don't need to edit init every time I flash a new build. Which is quite often.
Click to expand...
Click to collapse
how come my tablet p3110, doesn't save the change in gpu_oc? it stays at 0 always.
done the romtoolbox and root explorer method to no avail.
mtencarguez said:
how come my tablet p3110, doesn't save the change in gpu_oc? it stays at 0 always.
done the romtoolbox and root explorer method to no avail.
Click to expand...
Click to collapse
..solved it by flashing gapps 20120726..:laugh:
scottx . said:
So with the new AOKP builds you can set the gpu speed on the fly. It resets after rebooting and must be set again after each boot.
Well, I used ROM Toolbox Pro to create a script and run that script on boot.
I wanted mine set to 1 after each boot. You can modify the script to run at the faster "2" if you want. I don't recommend this though as it will use more battery and cause the tab to run hotter.
Open Rom Toolbox and go to Scripter in the Tools section.
Create a script and name it anything you want. Add what you see in the image and make it look just like this below (its also at the bottom of this post for easy copy/paste)
Save the script and you should see it in the list.
Now tap on the script in the list and select "Set at boot" when the menu comes up so that it runs on every boot.
You should see the icon on the right of the script name like shown below. This indicates that its set to run on boot.
Reboot and enjoy a faster tablet.
Code:
#!/system/bin/sh
busybox mount -o remount,rw /system
busybox echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
busybox mount -o remount,ro /system
Click to expand...
Click to collapse
ooo thank you
Thanks for your work on this.. I know it is for a different device, but I tried the code on my NS and it did improve my benchmarks?? No issues or stability problems.. I am using it as an init.d script, thanks..
i think overclock is not good for this tablet?

Categories

Resources