Related
does not change anything at all..still at 600MHZ
when Edit /system/etc/hw_config.sh
add at the beginning
# x8 overclock
insmod /system/lib/modules/x8oc.ko
sleep 2
echo x25 > /proc/x8oc
but i write this
insmod /system/lib/modules/x8oc.ko # x8 overclock
it work..691mhz..
what is the problem?
Try this
Try put these at the insmod group(where all modules are insmoded)
Code:
insmod /system/lib/modules/x8oc.ko
Put this line at the end
Code:
chmod 777 /proc/x8oc
echo "x25" > /proc/x8oc
P.S. Why not to get some time to go read some thread about bootloader unlocking?
Flash custom kernel, example like Kernel Alfs, it include all modules in kernel, thus making it faster alot
cant work...
chmod 777 /proc/x8oc
echo "x25" > /proc/x8oc
is put at the last vary last line??at the bottom right ?
just paste?
but cant...
▒▄█▀▄░ █▀▄ █▀▀▄ █▀▀ █▄░█ ▄▀▄ █░░ ▀ █▄░█ █▀▀░░▒▐█▀█▒▐█▀█▒█▒█░░▒▐█▀█ ▄▀▄ █▄░█ ▀█▀ █▀▀▄ ▄▀▄ █░
▐█▄▄▐█ █░█ █▐█▀ █▀▀ █░▀█ █▀█ █░▄ █ █░▀█ █▀▀░░▒▐█░░▒▐█▄█▒█▒█░░▒▐█░░ █░█ █░▀█ ░█░ █▐█▀ █░█ █░▄
▐█░▒▐█ ▀▀░ ▀░▀▀ ▀▀▀ ▀░░▀ ▀░▀ ▀▀▀ ▀ ▀░░▀ ▀▀▀░░▒▐█▄█▒▐█░░▒▀▄▀░░▒▐█▄█ ░▀░ ▀░░▀ ░▀░ ▀░▀▀ ░▀░ ▀▀▀
Rules Your CPU A Breeze !
*CF-ROOT ONLY !
DISCLAIMER: I take no responsible if you brick your phone
To Devs:
You have agreed to this if you're going to use any parts of my work:
Code:
If you are taking any of my work as reference, please add credit and maybe a link of my thread would be nice.
Pm me and tell me about your project.
Provide 'do & don't' and warnings about issues that Adrenaline Boost could cause to end user's device.
If you're using my file, please do not edit my #comment or add any main function unrelated system outputs.
If you're using main function related code of my files, please add '#NAME_OF_MY_FILE by ImbaWind' on top of your file and maybe more precisely, which part of it.
[Description]
One Script To Rule Your CPU , Why SetCPU If You Have Installed This Script ?!
Why This Script ?!
Handy Script UI !
Easy To Use !!
No App Needed !!!
Zero Ram Usage !!!!
Few kb Space Needed ONLY !!!!!
More Tweaks Than Others!!!!!!
More Functions Than Others!!!!!!!
100% FREE !!!!!!!!
Functions :
1. Change Cpu Governors
----a) Set Cpu Governor Setting On Boot !
----b) Drop Cache When Phone Boots !
2. Change Cpu Max Frequency (b84 only)
----a)Set Clock Frequency On Boot ! [NEW]
3. Change Cpu Min Frequency (b84 only)
4. Adrenaline Boost™ [NEW*]
What you need :
Terminal
Root access (Superuser)
Busybox
Clockworkmod
CF-ROOT
How to install:
1. Download the latest version of .zip file attached below and put into your sdcard
2. Reboot into CWM
3. Go 'mounts and storage' > 'mount /system'
4. Go 'install zip from sdcard' > 'choose zip from sdcard' > locate 'Adrenaline CPU Control_BETA3.2.zip'
5. reboot system now
How to use:
Go terminal emulator and type :
Code:
su
clock
New function: Adrenaline Boost™
What is this?
-It's actually option 4 [drop cache] from previous build and I have pulled it out and add more command to clear more ram, now it shows your free ram too!
When and why should I use this?
-You will notice that your ram will increase everyday and task manager are NOT able to clear it and your phone are damn lag and you have to reboot, this is because the android os works everyday and creates system caches itself.
-Adrenaline™ Boost will help you to clear those caches for you and give back you smooth performance!!
-For more information, go here.
How to use this ?
Go terminal emulator and type :
Code:
su
boost
Then exit terminal and go task manager clear ram , you will see the magic !
And your phone will smooth as butter
**This Script Are ABLE To Overclock If You Are Using CF-ROOT B84!**
Currently Available Governor:
Code:
conservative
ondemand
smartass
smartassV2 [b84 only]
interactive
interactiveX
powersave
performance
userspace
Screenshots
Before : 245670 ~ 825600
{
"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"
}
Selecting Governor
Insert Governor
Change Max Frequency From 825600 to 844800
As you can see , the max frequency changed
My script is working
PROOF: Set CPU shows exactly what setting I have in CPU Script
Adrenaline Boost™
Before Memory Free : 44.1172 MB
After Memory Free : 95.9102 MB
Memory Freed : 51.793 MB
Known Issue :
-Loop back to 'Current Governor : xxxxxx: when selecting exit option after choosing a governor, have no idea what causes it =(
How to uninstall ?
Reboot cwm, mount /system and install THIS from sdcard.
-------THINGS TO DO IN NEXT VERSION-------
1) More Governor Tweaks
*) Bug Fixes [If got any]
Credits
-Special thank to ketut.kumajaya for CF-Root and his guidance
-pikachu (I learn to create flashable-zip using his cwm package as guide)
-Google for Android OS
-matmutant from X10 Mini for his script's first line (You are running from ***to *** , Current Governor is ***)
-Those who have helped/tried to help me
-droidphile for his awesome ref
For those who want to include this into your ROM, please give proper credits and a link directs to this thread, thanks
I may use HOURS for an update but if you like my work,
please consider to use only one SECOUND to hit the THANKS button
It will make me happy and motivate me to update more often and add more features
Rate this thread ✯ ✯ ✯ ✯ ✯ and share it to your friends too!
If you found this script S'UCKS and think that this script is just crap , please comment to tell me why ;D
I'm willing to accept your view and make my script better =]
Any Feedback Please =D
If you want to mod this script for others kernel use , or include this in your rom
PLEASE SEND A PM TO ME , AND POST A LINK DIRECT TO HERE
[For devs and experts]
Loop back to 'Current Governor : xxxxxx: when selecting [Exit] option after choosing a governor, have no idea what causes it =S
Any help please =D
[Change Log]
Alpha 1 > 12/1/2012 <
1st release
Alpha 1.1 > 12/1/2012 <
Fix a minor bug , doesn't matter if your phone are rooted properly
Alpha 2 > 15/1/2012 <
Made flashable zip but the files are set as wrong permission
Added command to copy file to init.d , but the script does't work [Will be able to set on boot when it's done]
Alpha 2.1 > 23/1/2012 <
Found a minor bug , causes "end of file" error
Alpha 2.2 > 24/1/2012 <
Fixed a 'End Of File' error
BETA 1 > 26/1/2012 <
Added Set On Boot Function !
Added Clear Ram During Boot
BETA 2 > 30/1/2012 <
CPU Freq Are Now Able To Set On Boot !!
BETA 2.1 > 30/1/2012 <
Fixed some minor bugs
Add only b84 can access option 3 , 4 and smartassV2 governor
BETA 2.2 > 6/2/2012 <
Fixed a minor bug when changing governor
Beta 3 > 25/2/2012 <
Major Update
Fully Flashable zip
New Function : Adrenaline Boost
More Governor Tweaks
Bug Fixes
Beta 3.1 > 14/3/2012 <
Updated Adrenaline™ Boost, now shows your free ram
Beta 3.2 > 3/4/2012 <
Updated to Adrenaline™ Boost V3
Try 'touch'?
Code:
touch /system/init.d/nameofscripthere
echo "interactiveX" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Dunno if that's correct, do some experiment
Touch is used to create a plain file when there's no file available on /path/to/file
KcLKcL said:
Try 'touch'?
Code:
touch /system/init.d/nameofscripthere
echo "interactiveX" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Dunno if that's correct, do some experiment
Touch is used to create a plain file when there's no file available on /path/to/file
Click to expand...
Click to collapse
thanks for your reply
i'll try it tomorrow
don't work , I extracted it and put in system bin changed permission and rebooted and went to terminal and
su
clock
didn't work..
should I flash it?
Sent from my GT-S5830 using xda premium
dylan_ace said:
don't work , I extracted it and put in system bin changed permission and rebooted and went to terminal and
su
clock
didn't work..
should I flash it?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
move the file inside the .zip not the folder
check ur perm
dun rename the file otherwise wont work
dont flash it , it's not a flashable file
the Alpha folder from the extract?
Sent from my GT-S5830 using xda premium
dylan_ace said:
the Alpha folder from the extract?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
the file is called : 'clock'
if u edit the file by notepad u will see those code are same as my 1st post code
if it's same , move the 'clock' file to /system/bin
Does it only set the CPU frequencies based on the Kernels limitations? ie. CF-Root 3.7-b83 max frequency is 902MHz with OC'ing apps, am I to expect this to be the same....
I already have it, lol
saigetshu said:
I already have it, lol
Click to expand...
Click to collapse
then why dont u share? LOL
-SGA- said:
Does it only set the CPU frequencies based on the Kernels limitations? ie. CF-Root 3.7-b83 max frequency is 902MHz with OC'ing apps, am I to expect this to be the same....
Click to expand...
Click to collapse
this script doesn't overclock , it just let u choose those freq and governors that are already INCLUDED in ur kernel
imbawind said:
DISCLAIMER: I take no responsible if you brick your phone
I have made a script to change governors , max cpu freq and min cpu freq , SetCPU is not needed once this script is completely done
What you need :
Terminal
Root access (Superuser)
Clockworkmod
How to use:
1.Download the .zip file(flashable) and flash via recovery
2.Check Permission :
/system/bin/clock => rwxrwxrwx
3. Open Terminal
4.Type
Code:
su
clock
** Do NOT Rename The File
Functions
1. Change Governors
2. Change Max Frequency
3. Change Min Frequency
4. Drop System Cache
5. Reboot
**This Script doesn't overclock , you need a modified overclock-able kernel to overclock.** [Script error if u set the freq over 800mhz because I haven't make correspond file yet , will complete this once <set on boot> is done]
After selected option 4 go task manager , hit clear ram and see the ram usage
Code:
#!/system/bin/bash
# Cpu Freq Script
# Alpha 2
if [ -f "/system/xbin/su" ]; then
busybox mount -o remount,rw -t rootfs /
echo "Remounted RW !"
else
echo "ERROR : Failed To mount RW !"
echo -n " Please Enter Key To Exit... “;
read enterKey
exit 0
fi
speed=1
sleep="sleep $speed"
# Current Max Clock Speed
cur_max_file=/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
CUR_MAX=`cat $cur_max_file`
# Current Min Clock Speed
cur_min_file=/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
CUR_MIN=`cat $cur_min_file`
# Current Governor
scal_gov_file=/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
CUR_GOV=`cat $scal_gov_file`
# Available Governor
avail_gov_file=/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
AVAIL_GOV=`cat $avail_gov_file`
# Available Frequencies
avail_freq_file=/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
AVAIL_FREQ=`cat $avail_freq_file`
# ECHO Tell Current Clock Speed
echo -e " You're running from \033[1;32m $CUR_MIN \033[0;36m to \033[1;32m $CUR_MAX \033[0;36m Hz"
echo -e "Current governor is \033[1;32m $CUR_GOV \033[0;36m"
echo ""
echo ""
$sleep
# ECHO Show Available Governor
echo " Available Governor: "
echo "$AVAIL_GOV"
echo ""
$sleep
# ECHO Show Available Freq
echo " Available Frequencies: "
echo "$AVAIL_FREQ"
echo ""
$sleep
echo " [ Options ] "
echo " 1. Change CPU Governor Profile "
echo " 2. Change Maximum Processor Frequency "
echo " 3. Change Minimum Processor Frequency "
echo " 4. Drop System Caches "
echo " 5. Reboot "
echo " 6. Exit "
echo ""
$sleep
echo -n " Please Enter Option [1 - 6] : "
read opt
echo ""
$sleep
case $opt in
1) echo " [Option 1] Change CPU Governor Profile "
echo ""
echo ""
echo -e " Current Governor: $CUR_GOV"
echo ""
$sleep
echo " Available Governors: "
echo "$AVAIL_GOV"
echo ""
$sleep
echo " Insert your desired governor: "
echo -n " Your Governor: ";read GOV
echo $GOV > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo " Complete "
NEW_GOV_FILE=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor`
NEW_GOV=$NEW_GOV_FILE
rm -f /system/etc/init.d/smartass
rm -f /system/etc/init.d/interactiveX
rm -f /system/etc/init.d/interactive
rm -f /system/etc/init.d/conservative
rm -f /system/etc/init.d/userspace
rm -f /system/etc/init.d/powersave
rm -f /system/etc/init.d/performance
rm -f /system/etc/init.d/ondemand
cp /system/etc/clock/governors/$GOV /system/etc/init.d;
chmod 777 /system/etc/init.d/$GOV
echo ""
echo ""
$sleep
echo -e " Current Governor: $NEW_GOV"
echo ""
echo ""
$sleep
echo -n " Press Enter Key To Continue... ";
read enterKey
opt=0
clock;;
2) echo " [Option 2] Change Maximum Processor Frequency "
echo ""
echo ""
$sleep
echo -e " Current Maximum Frequency: $CUR_MAX "
echo ""
$sleep
echo " Available Frequency: "
echo "$AVAIL_FREQ "
echo ""
echo ""
$sleep
echo -n " Insert Your Frequency: ";read HFREQ
echo $HFREQ > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo " Changed Successfully "
NEW_CUR_MAX=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq`
NEW_MAX=$NEW_CUR_MAX
echo ""
echo ""
rm -f /system/etc/init.d/122880
rm -f /system/etc/init.d/245760
rm -f /system/etc/init.d/320000
rm -f /system/etc/init.d/480000
rm -f /system/etc/init.d/800000
cp /system/etc/clock/max_freq/$HFREQ /system/etc/init.d;
chmod 777 /system/etc/init.d/$HFREQ
$sleep
echo -e " Current Processor Maximum Frequency: $NEW_MAX "
echo ""
echo ""
$sleep
echo -n " Press Enter Key To Continue... ";
read enterKey
opt=0
clock;;
3) echo " [Option 3] Change Minimum Processor Frequency "
echo ""
$sleep
echo -e " Current Minimum CPU Frequency: $CUR_MIN "
echo ""
$sleep
echo " Available Frequency: "
echo "$AVAIL_FREQ "
echo ""
echo ""
$sleep
echo -n " Insert Your Frequency: ";read LFREQ
echo $LFREQ > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo " Changed Successfully "
NEW_MIN_FILE=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq`
NEW_MIN=$NEW_MIN_FILE
echo ""
echo ""
$sleep
echo -e " Current Processor Minimum Frequency: $NEW_MIN "
echo ""
echo ""
$sleep
echo -n " Press Enter Key To Continue... ";
read enterKey
opt=0
clock;;
4) echo "3" > /proc/sys/vm/drop_caches
echo "1" > /proc/sys/vm/drop_caches
echo " Ram Dropped "
echo ""
echo ""
$sleep
echo -n " Press Enter Key To Continue... ";
read enterKey
opt=0
clock;;
5) echo " Rebooting... "
$sleep
reboot;;
6) echo " Exit "
$sleep
exit 0;;
*) echo " Invalid Option "
echo ""
$sleep
echo " Please try again "
echo ""
$sleep
echo -n " Please Enter Key To Continue... ";
read enterKey
opt=0
clock;;
esac
Click to expand...
Click to collapse
Updated to Alpha 2 , Experts needed
On CF-Rooted ROM, your settings will be overwitten by /system/etc/init.cfroot.post_boot.sh .
ketut.kumajaya said:
On CF-Rooted ROM, your settings will be overwitten by /system/etc/init.cfroot.post_boot.sh .
Click to expand...
Click to collapse
imbawind , listen to him .
He is the kernel expert around here .
if ketut says this then might need to modify that init script itself
EmoBoiix3 said:
imbawind , listen to him .
He is the kernel expert around here .
Click to expand...
Click to collapse
yea, I know, thanks
ketut.kumajaya said:
On CF-Rooted ROM, your settings will be overwitten by /system/etc/init.cfroot.post_boot.sh .
Click to expand...
Click to collapse
Can I delete that file or delete all the words inside?
I saw
Code:
if [ $(propget $TWEAK_GOVERNOR_CONSERVATIVE] = "enabled" ]; then
echo conservative >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Isit mean that if there is a line in build.prop called
Code:
TWEAK_GOVERNOR_CONSERVATIVE=enabled
then init.cfroot.post_boot.sh will set the governor to conservative?
If I create a file with these setting :
Code:
#!/system/bin/bash
setprop TWEAK_GOVERNOR_CONSERVATIVE enabled
Will it enable the 'conservative'?
Code:
#!/system/bin/bash
setprop TWEAK_GOVERNOR_CONSERVATIVE enabled
and
Code:
#!/system/bin/bash
setprop TWEAK_GOVERNOR_CONSERVATIVE=enabled
both not working , any idea?
or can i just delete those words which interrupt my init.d script inside the init.cfroot.post_boot.sh?
Galaxy Ace have a very limited property. Use my propset/propget script to store/restore your own settings, like I have done on CF-Root and Darktremor apps2sd. Now or later setprop will make your brain hot with some strange issue (bluetooth, GPS, wifi, etc).
ketut.kumajaya said:
Galaxy Ace have a very limited property. Use my propset/propget script to store/restore your own settings, like I have done on CF-Root and Darktremor apps2sd. Now or later setprop will make your brain hot with some strange issue (bluetooth, GPS, wifi, etc).
Click to expand...
Click to collapse
what are these "propset/propget/setprop“ mean?
check this (Korean)
cafe.naver.com/lgeblack.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=2599&
Tested on ZEUS V3N, DONT TOUCH THIS with a stick! Some parts of it may be ok, but is screws the data r/w speed. I dont know, what else is being changed, but the libsqlite.so or any other file in there, is definitly not good for our phone. Seems to be smoother though Maybe one can use the basics and tweak it for our phone. But dont use it, as it is ...
AND WATCH OUT, root gets lost like this! YOUR PHONE IS NOT ROOTED ANYMORE ofter this procedure!
someone can translate pls?
I also only could read this:
Ultra Patch V1:
Main features
Lazy Governor, SmartAss V2 Governor
TinyRCU
CFS + Automatic process group scheduling / BFS
BFQ IO Scheduler
Switched slab allocator to an optimized SLUB
Key Combination for CWM
OverClock
Suspend BugFix (for V20L)
Changelog
v1 (BFS, CFS)
- Suspend BugFix (for V20L)
- TinyRCU
- CFS cpu scheduler + Automatic process group scheduling / BFS scheduler
- CFS Tweak / BFS Tweak
- Switched slab allocator to an optimized SLUB
- Lazy Governor (Default, thx for Ezekeel), SmartAss V2 Governor
- BFQ IO Scheduler (Default)
- Overclock CPU ( 1200Mhz/62, 300,700,900,1200 )
- CWM modded by KIM ( key combination for CWM, Control Governor, Overclock)
- Sqlite database defragmentation
- A few TCP values tweaking
- Tweak lowmemorykiller
- Ramzswap
- Sqlite3 Sync Patch
- Ramfs for Benchmark Apps
- Remounting all partitions with noatime and nodiratime
- Increase the read_ahead_kb value
- Tweak VM management
- Tweak KT 3G
- Added to user's bootscript (/system/etc/init.d/*)
- Remove LG OSP (battery life upupupup)
But I guess it doesnt work, at least not the full package, since CWM stays the same, no additional Governors, no overclock,... It only looks snapier to me and loses root but you can recover it with Unlock Root
And I already changed the libsqlite.so and build.prop, since I couldnt get, what all the values in there mean ...
---------- Post added at 02:26 AM ---------- Previous post was at 02:18 AM ----------
Finally got a working link, for google translate: http://translate.google.de/translate?hl=de&sl=ko&tl=en&u=http://cafe.naver.com/lgeblack
Lol I just flashed the Recovery given in the data.zip, and it works quite funny
I'm using ultra patch now.
I am living in korea. (so my English is so poor. sorry)
I tested ultra patch and I really satisfied.
Someone said it is not good..
But It reduced my media scaning time. (I think it really wasteful.)
And 3D graffic is quite better than before.
But! I want to warn about blue screen.
Some people posted in cafe 'blue screen on my phone' with picture... ㄱ-
and It is not stable. so I am worried. ㅋㅋ
If someone who can optimize ultra patch v1 exist at xda, Please do for all optimus black users.
thank you.
감사해요 회색거위님 ㅎㅎ
The problem seems to be, that your OB is a different one, to ours. So someone needs to make a bat/exe file, that exports the kernel and so on, to the right place, since at least the recovery works, if I flash it manually, but the if I use the installed, it wont show up. I guess it has got something to do with the partitions, but idk how to mod a bat the way, that I can use the kernel, so all help is appreciated and seongmin kang, could you be so nice and ask the developer about the routine, that he is using in his exe file. I wanna get to know, where the error comes from. Nice found anyway
Overclock module doesn't work (with CM7), has anyone tried with stock?
Once you've downloaded, extract the rar file. Inside is zip for the modules, another for init.d scripts, also build.prop, recovery image and a few other patched files.
Guessing, I'd say the overclock only works with their kernel.
These are the instructions contained in ULTRA Patch V1.exe:
In order to get it working in our OBlacks, we need files (wireless.ko, overclock etc) specifically for LG-P970 and governors, overclock (init.d support?) implemented in the kernel
Code:
h t t p : / / c a f e . n a v e r . c o m / l g e b l a c k
CMD.exe 'adb wait-for-device adb shell su -c 'id' C adb shell /system/xbin/su -c 'id' root /
shell su -c 'mount -o remount,rw /dev/block/mmcblk0p8 /system'
shell /system/xbin/su -c 'mount -o remount,rw /dev/block/mmcblk0p8 /system'
push busybox /data/local/tmp/ push remover /data/local/tmp/
shell /system/bin/sh /data/local/tmp/remover
shell chmod 0755 /data/local/tmp/busybox
shell su -c '/data/local/tmp/busybox cp -f /data/local/tmp/busybox /system/bin/busybox'
shell /system/xbin/su -c '/data/local/tmp/busybox cp -f /data/local/tmp/busybox /system/bin/busybox'
shell /system/xbin/su -c '/data/local/tmp/busybox mv -f /system/xbin/su /system/bin/su'
shell su -c '/system/bin/busybox --install -s /system/bin/'
push data.zip /data/local/tmp/
1.BOOTLOAD INSTALL
shell su -c '/system/bin/unzip -o /data/local/tmp/data.zip -d /data/local/tmp/'
shell su -c 'cp -f /data/local/tmp/sqlite3 /system/bin/'
shell su -c 'chmod 0777 /system/bin/sqlite3'
shell su -c 'chmod 0777 /system/bin/busybox'
shell su -c '/system/bin/busybox --install -s /system/bin'
shell su -c 'dd if=/data/local/tmp/CFS.img of=/dev/block/mmcblk0p3'
shell su -c 'mkdir /system/lib/modules/'
shell su -c 'unzip -o /data/local/tmp/modules.zip -d /system/lib/modules'
shell su -c 'rm -r /system/etc/wifi/wireless.ko'
shell su -c 'cp -f /system/lib/modules/wireless.ko /system/etc/wifi/wireless.ko'
2.RECOVERY INSTALL
shell su -c 'dd if=/dev/zero of=/dev/block/mmcblk0p4'
shell su -c 'dd if=/data/local/tmp/RECOVERY.img of=/dev/block/mmcblk0p4'
shell su -c 'unzip -o /data/local/tmp/system.zip -d /system/bin/'
shell su -c 'chmod 0777 /system/bin/ultrainit'
shell su -c 'chmod 0777 /system/bin/pvrsrvinit'
shell su -c 'chmod 0777 /system/bin/pvrsrvinit2'
3.SYSTEM TWEAK
shell su -c 'mkdir /etc/init.d/'
shell su -c 'unzip -o /data/local/tmp/init.zip -d /etc/init.d/'
shell su -c 'chown adb shell.adb shell /etc/init.d/*'
shell su -c 'chmod 0777 /etc/init.d/*'
shell su -c 'busybox mv -f /data/local/tmp/libsqlite.so /system/lib/libsqlite.so'
shell su -c 'busybox mv -f /data/local/tmp/build.prop /system/build.prop'
shell su -c 'chmod 0644 /system/lib/libsqlite.so'
shell su -c 'chmod 0644 /system/build.prop'
shell su -c 'busybox mv -f /system/lib/egl/libGLES_android.so /system/lib/egl/libGLES_android.so.bak'
4.REMOVE OSP
shell su -c 'rm -r /system/app/LGOnScreenPhone.apk'
shell su -c 'rm -r /system/app/LGOnScreenPhone.odex'
shell su -c 'rm -r /system/bin/lgospd'
shell su -c 'rm -r /data/local/tmp/*'
reboot
(I deleted a lot of spaces from the code....) you can see the code in the exe with 7zip.
Who can spot the error? I cant find it... or why does this kernel not work for us?
Sent from my LG-P970 using Tapatalk
---------- Post added 12th February 2012 at 12:19 AM ---------- Previous post was 11th February 2012 at 11:30 PM ----------
It is for LG KU5900 only. not our OB... At least KU5900 is showing up, after i flashed the kernel manually.
Woot! Let's try to KANG this one and insert Governors/Modules.
gabwerkz said:
Woot! Let's try to KANG this one and insert Governors/Modules.
Click to expand...
Click to collapse
good luck
It uses "adb shell" as per rgabi88's log but in automation using "ULTRA Patch V1" app, as it contains adb in the zip. Manually you can do this via adb. Commands are in the log, and necessary files are inside the data.zip (and files can be replaced with the ones we use like in CM). You just have to modify the mounts, and skip steps, like installation of recovery.img, e-recovery (pvrsrvinit and pvrsrvinit2), libsqlite.so (which if not compatible can loose ROOT).
Build.prop can be modified manually as it is for LGKU one. Just find the lines. And skip removal of LGOnScreenPhone.apk also.
If someone succeeds doing this, he can make a FULL ROM with those MODS with inclusion of Governors, modules, OC etc.
gabwerkz said:
It uses "adb shell" as per rgabi88's log but in automation using "ULTRA Patch V1" app, as it contains adb in the zip. Manually you can do this via adb. Commands are in the log, and necessary files are inside the data.zip (and files can be replaced with the ones we use like in CM). You just have to modify the mounts, and skip steps, like installation of recovery.img, e-recovery (pvrsrvinit and pvrsrvinit2), libsqlite.so (which if not compatible can loose ROOT).
Build.prop can be modified manually as it is for LGKU one. Just find the lines. And skip removal of LGOnScreenPhone.apk also.
If someone succeeds doing this, he can make a FULL ROM with those MODS with inclusion of Governors, modules, OC etc.
Click to expand...
Click to collapse
Q.Q would be awesomeeeee
download mirror
can anyone provide a download mirror to this ultra patch ? the download link is missing from the webpage and i cannot access ultra patch v2 and v3
Hi
Im using Galaxy S Advance with:
JB 4.1.2 and stock ROM
rooted
kernel Cocore 6.2
I tried to use script on boot from init.d directory, unfortunately not working.
To see if it works fine, I created /etc/init.d folder
with permissions 777, owner root
Inside init.d folder, I created simple script: testinit.sh also testinit
Code:
#!/system/bin/sh
echo init.d script is working > /storage/sdcard0/init.txt
file permissions 777, owner root
But after restart, file init.txt on sdcard0 isnt created,
so I suppose that script isnt running.
I created also another script follow Cocore thread
Code:
#!/system/bin/sh
insmod /lib/modules/logger.ko
for start logger. Logger didnt start also.
Both scripts started in console or adb works fine.
Tnx in advance
darcik said:
Hi
Im using Galaxy S Advance with:
JB 4.1.2 and stock ROM
rooted
kernel Cocore 6.2
I tried to use script on boot from init.d directory, unfortunately not working.
To see if it works fine, I created /etc/init.d folder
with permissions 777, owner root
Inside init.d folder, I created simple script: testinit.sh also testinit
Code:
#!/system/bin/sh
echo init.d script is working > /storage/sdcard0/init.txt
file permissions 777, owner root
But after restart, file init.txt on sdcard0 isnt created,
so I suppose that script isnt running.
I created also another script follow Cocore thread
Code:
#!/system/bin/sh
insmod /lib/modules/logger.ko
for start logger. Logger didnt start also.
Both scripts started in console or adb works fine.
Tnx in advance
Click to expand...
Click to collapse
Try this way: LINK.
Tnx for answer, atm I abandoned testinit script, this isnt important
and focused on start of logger .
I changed it to
Code:
#!/system/bin/sh
busybox mount -o remount,rw -t auto /system;
busybox insmod /lib/modules/logger.ko
but logger didnt start.
Does the system log, what happens when boot, I mean errors?
I have a habit of "big" Linux system
darcik said:
Tnx for answer, atm I abandoned testinit script, this isnt important
and focused on start of logger .
I changed it to
Code:
#!/system/bin/sh
busybox mount -o remount,rw -t auto /system;
busybox insmod /lib/modules/logger.ko
but logger didnt start.
Does the system log, what happens when boot, I mean errors?
I have a habit of "big" Linux system
Click to expand...
Click to collapse
I think log starts after script is executed, and it can't be executed during pre-boot. So maybe it only works when you get in system (booted). And then there is not much to show, try doing some thing while logcat is triggered. Like change governor, IO etc.
I am just gessing this, maybe I am wrong about that, but seams logical to me. :fingers-crossed:
Lol
Incidentally, I found the answer to my problem in this topic.
Save the script without any extensions (Yes, not even .sh extension).
Click to expand...
Click to collapse
So I renamed my script to logcat without sh extension and all works.
Anyway tnx for help.
Cocore 8.0 init.d not working
I make this init.d file for cocore 8.0:
#!/system/bin/sh
busybox mount -o remount,rw -t auto /system;
echo 12 > /sys/module/mxt224e/parameters/threshold_batt
echo init.d script is working > /storage/sdcard0/init.txt
echo "pegasusq" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "sio" > /sys/block/mmcblk0/queue/scheduler
echo 100663296 > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /dev/block/zram0
echo 700 > /sys/kernel/abb-charger/max_ac_c
echo 0 > /sys/module/mali/parameters/mali_debug_level
Click to expand...
Click to collapse
placed in /system/etc/init.d with "logcat" name. This scirpt don't make the txt file. Why?
Permission 755 for script file. No .sh at the end - just filename.
That should help
Sent from my SGS Adv. using xda-developers app.
th3cr0w said:
Permission 755 for script file. No .sh at the end - just filename.
That should help
Sent from my SGS Adv. using xda-developers app.
Click to expand...
Click to collapse
The solution was i left some space after the command. Thank you!
JB 4.3 for Xperia T is smoother and more performant than 4.1.2 but some system tweaks can still bring a more enhanced experience.
I present you XperiaTweaks v3.1
Features:
1- build.prop add-ons:
- dalvik tweaks
- dns tweaks
- 100% jpeg quality
- nfc off by default, statubar icon enabled when on
- dexopt-flags modified for compliancy with Z2 SystemUI & Home port
- other performance tweaks
2- Scripts :
- cleaner
- power management tweaks
- interactive governor with tweaked parameters
- deadline I/O scheduler
- low memory killer (lmk - minfree) improved for better multitasking
- sysctl tweaks
- remount optimized
- read_ahead optimized
- swap in cache partition (200 Mb, swapiness 60)
- darky zipalign
- databases optimized by sqlite3
Requirements:
- rooted
- Stock rom 4.3 /.205 (T/TX) or .210 (V) or custom rom based on stock 4.3 (for instance Ultimate PureXT or Rockers X)
- Busybox
- Smanager
Installation for stock rom 4.3 /.205&.210:
1- CWM Backup first
2- Flash XperiaTweaks_T.zip or XperiaTweaks_TX.zip or XperiaTweaks_V.zip via CWM depending on your device
3- Open SManager and select the scripts 1, 2, 3, 4, 5, 6 (& 7) in /system/etc/XperiaTweaks. Set them as "su" and "boot" and don't forget to save the configurations. For script 7 (sqlite), it's better to schedule it to run once a week rather than at each boot.
4- Reboot and enjoy
Update from v3.0: Skip step 3. SManager is operational again, you can update it via playstore.
Installation for custom rom based on stock 4.3:
1- CWM Backup first
2- Flash XperiaTweaks_Universal.zip via CWM
3- Open SManager and select the scripts 1, 2, 3, 4, 5, 6 (& 7) in /system/etc/XperiaTweaks. Set them as "su" and "boot" and don't forget to save the configurations. For script 7 (sqlite), it's better to schedule it to run once a week rather than at each boot.
4- Edit your build.prop:
Look for the lines:
Code:
ro.nfc.on.default=true
ro.nfc.icon.enable=false
and change them in this way:
Code:
ro.nfc.on.default=false
ro.nfc.icon.enable=true
Look for the line:
Code:
dalvik.vm.dexopt-flags=m=y
and change it in this way:
Code:
dalvik.vm.dexopt-flags=v=n,o=v,m=y
Look for the line:
Code:
af.resampler.quality=255
and change it in this way:
Code:
af.resampler.quality=4
And add the following lines at the end of the file:
Code:
########## XperiaTweaks v3.1 #########
ro.media.enc.jpeg.quality=100
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
ro.vold.umsdirtyratio=20
ro.fb.mode=1
ro.min.fling_velocity=8000
ro.max.fling_velocity=12000
ro.min_pointer_dur=8
net.dns1=8.8.8.8
net.dns2=8.8.4.4
debug.performance.tuning=1
debug.enabletr=true
debug.overlayui.enable=1
dalvik.vm.execution-mode=int:jit
dalvik.vm.checkjni=false
dalvik.vm.verify-bytecode=false
dalvik.vm.jmiopts=forcecopy
dalvik.vm.dexopt-data-only=1
dev.pm.dyn_samplingrate=1
persist.android.strictmode=0
persist.service.lgospd.enable=0
persist.service.pcsync.enable=0
hw3d.force=1
video.accelerate.hw=1
windowsmgr.max_events_per_sec=300
Save your build.prop and apply the correct permissions (rw-r--r--)
5- Reboot and enjoy
Advices :
- Do not install this mod if you have just installed 4.3. Use the rom without tweaks during few days to evaluate its potential, its performances and to detect its weaknesses,
- To my experience, launching scripts with SManager is much more reliable and versatile than with init.d,
- Don't judge this mod regarding the Antutu benchmark (that being said, you may get a score around 17300, which is good)
- Use your device with this mod during 1 or 2 weeks before to draw any conclusions.
Future updates of the mod : I no longer own the T (I'm now powered by Z2) but I'll keep this mod updated. Suggestions are welcome...
Updates :
- 21/05: v3.1: read_ahead increased to 2048 kb for better performances - audio resampler quality improved
- 27/04: Updated instruction about Smanager: the new version from the playstore does not work properly, install the attached version and do not update it!
- 15/04: Universal mod fixed
- 12/04: v3.0: mod updated for stock 4.3 / .205 (T/TX) and .210 (V) - One build.prop tweak added
- 01/04: v2.2: some build.prop tweaks added - Universal support for custom roms based on stock
- 20/03: v2.1: nfc off by default, nfc statubar icon enabled when on; dexopt-flags modified for compliancy with Z2 SystemUI & Home port
- 15/03: v2.0: mod updated for stock 4.3 / .199
- 04/03: v1.3: remount of /cache and /data partitions optimized
- 22/02: v1.2: some unnecessary lines removed from the scripts, some bugs fixed.
- 19/02: Xperia TX&V now supported
- 18/02: v1.1: missing zipalign added
Credits :
- Thanks to @peetr_ , I've used some parts of the scripts of his hybrid rom
- Thanks to @slaid480 for his sqlite3 and libncurse.so
- Thanks to @delta-roh for his script turbo boost triple swap that I have modified to perform well on Xperia T
Additional instructions
Additional instructions
1) About scheduling in SManager:
If you want to schedule some scripts, for instance scripts 6 & 7 once a week, open SManager and select the scripts (6 & 7) in /system/etc/XperiaTweaks. Set them as "su" (not "boot", you can check "Ntfy") and don't forget to save the configurations.
Then, hit the menu button in the bottom right corner and select "Scheduler". Schedule your scripts and save.
2) About swap in cache partition:
To verify that swap is enabled, open a terminal and type free. You will see the available size for the swap and the part currently used (which should not be higher than 150-160Mb).
To disable the swap, deactivate the script 5swap_cache_v300 in SManager and reboot. Then, in rootexplorer, erase the directory /cache/swap.
3) Definitely get rid of home redraws
Despite all the tweaks, home redraws can persist... Nevermind, a great app will help us!!
First, install the latest version of Xposed Framework for Xperia.
Then install App Settings v1.7.1.
Launch Xposed Installer and in the tab called "modules" tick the App settings and reboot.
Then, open App Settings and search the Home Laucher. Select it, swipe the button to turn it on and enable the "resident" option. Save changes and close the app. It will restart the launcher and after that home will be definitely locked in memory = no more redraws!!
After having done several tests on my device, I find that this method is safe and reliable (I've also added Walkman as resident, it prevent it to be killed during web browsing).
For Xperia Z1?
Enviado desde mi C6906 mediante Tapatalk
danytrial said:
For Xperia Z1?
Enviado desde mi C6906 mediante Tapatalk
Click to expand...
Click to collapse
No, don't flash it on Z1!!!
However, some script may work, you can test them one by one.
Update 19/02
Update 19/02 : now support for V, check the attachement
how it work
i flashed your tweak, install busybox, smanager. Then i find the Xperia tweak in system/etc/XperiaTweak, but i dont know how to set it "Su" and "boot" like you said. Can you tell me, please thanks a lot
zorrohk said:
i flashed your tweak, install busybox, smanager. Then i find the Xperia tweak in system/etc/XperiaTweak, but i dont know how to set it "Su" and "boot" like you said. Can you tell me, please thanks a lot
Click to expand...
Click to collapse
Look here in "Instructions", you will see how to use SManager.
thanks forr your help
i got a mail, thank you
2nd update 19/02
2nd update 19/02 : now support for TX, check the attachement
Flashed in my xv. Lets c what changes i can like
Sent from my LT25i using XDA Premium 4 mobile app
I've rooted my phone and installed busybox ,then I flashed your XperiaTweaks for Xperia T , but I cannot find XperiaTweaks folder in System/etc using SManager :crying:
why ?
I'm using official JB 4.3 CE_unbranded
elpryn said:
I've rooted my phone and installed busybox ,then I flashed your XperiaTweaks for Xperia T , but I cannot find XperiaTweaks folder in System/etc using SManager :crying:
why ?
I'm using official JB 4.3 CE_unbranded
Click to expand...
Click to collapse
In SMananger, hit the arrow up button several time to be sure to be at the root of the internal memory. Then navigate to /system/etc. You should find it.
If not, copy the files manually.
Update 22/02: v1.2
Update v1.2: some unnecessary lines removed in the scripts, some bugs fixed.
If an old versions is already installed, skip step 3 of installation instructions, just flash the zip.
So smooth
I really like your works
Can I add these to my ROM? :fingers-crossed::fingers-crossed::fingers-crossed:
Thanks you so much :laugh:
y9420045825 said:
I really like your works
Can I add these to my ROM? :fingers-crossed::fingers-crossed::fingers-crossed:
Thanks you so much :laugh:
Click to expand...
Click to collapse
Of course, just give credits
What do you think about an init.d version of these tweaks? Personally I don't want to install SManager only for a few tweaks, and I think init.d would be useful for some people who don't want an app that runs on each boot and init.d is pretty good alternative for any third-party app for running scripts.
Cheers!
Edit:
Besides I don't think that putting the whole build.prop in the flashable file is a good idea, this overwrites original build.prop files on the phone this script is flashed on. There's a script to just add some extra lines to build.prop rather than just overwriting it with yours.
I've found some code in one of the flashable zips I have on my SD card. The file inside the package is named add_to_buildprop.sh but I think you can use any name.
Here it is:
Spoiler
Code:
#!/sbin/sh
#By Jeeko
busybox echo "" >> /system/build.prop
busybox echo "debug.sf.hw=1" >> /system/build.prop
busybox echo "" >> /system/build.prop
busybox echo "ro.HOME_APP_ADJ=1" >> /system/build.prop
busybox echo "" >> /system/build.prop
busybox echo "video.accelerate.hw=1" >> /system/build.prop
busybox echo "" >> /system/build.prop
busybox echo "persist.sys.use_dithering=1" >> /system/build.prop
busybox echo "" >> /system/build.prop
busybox echo " " >> /system/build.prop
busybox echo "# System Tweaks" >> /system/build.prop
busybox echo "ro.HOME_APP_ADJ=1" >> /system/build.prop
busybox echo "ro.mot.eri.losalert.delay=1000" >> /system/build.prop
busybox echo "ro.config.hw_fast_dormancy=1" >> /system/build.prop
busybox echo "ro.ril.enable.amr.wideband=1" >> /system/build.prop
busybox echo "ro.config.hw_fast_dormancy=1" >> /system/build.prop
busybox echo "ro.config.hw_quickpoweron=true" >> /system/build.prop
busybox echo "# Miscellaneous Tweaks" >> /system/build.prop
busybox echo "persist.sys.NV_FPSLIMIT=90" >> /system/build.prop
busybox echo "debug.qctwa.statusbar=1" >> /system/build.prop
busybox echo "debug.qctwa.preservebuf=1" >> /system/build.prop
busybox echo "debug.qc.hardware=true" >> /system/build.prop
busybox echo "com.qc.hardware=true" >> /system/build.prop
busybox echo "ro.telephony.sms_segment_size=160" >> /system/build.prop
busybox echo "persist.telephony.support.ipv6=1" >> /system/build.prop
busybox echo "persist.telephony.support.ipv4=1" >> /system/build.prop
busybox echo "ro.config.hw_fast_dormancy=1" >> /system/build.prop
busybox echo "persist.sys.shutdown.mode=hibernate" >> /system/build.prop
busybox echo "ro.config.hw_power_saving=true" >> /system/build.prop
busybox echo "ro.media.enc.hprof.vid.fps=65" >> /system/build.prop
busybox echo "ro.mot.buttonlight.timeout=1" >> /system/build.prop
busybox echo "ro.ril.set.mtu1472=1" >> /system/build.prop
busybox echo "touch.presure.scale=0.001" >> /system/build.prop
busybox echo "# Signal Tweaks" >> /system/build.prop
busybox echo "ro.ril.hsxpa=1" >> /system/build.prop
busybox echo "ro.ril.gprsclass=10" >> /system/build.prop
busybox echo "ro.ril.hsdpa.category=8" >> /system/build.prop
busybox echo "ro.ril.hsupa.category=6" >> /system/build.prop
busybox echo "persist.cust.tel.eons=1" >> /system/build.prop
busybox echo "# Wireless Speed Tweaks" >> /system/build.prop
busybox echo "net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960" >> /system/build.prop
busybox echo "net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960" >> /system/build.prop
busybox echo "net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960" >> /system/build.prop
busybox echo "net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960" >> /system/build.prop
busybox echo "net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960" >> /system/build.prop
busybox echo "net.ipv4.tcp_ecn=0" >> /system/build.prop
busybox echo "net.ipv4.route.flush=1" >> /system/build.prop
busybox echo "net.ipv4.tcp_rfc1337=1" >> /system/build.prop
busybox echo "net.ipv4.ip_no_pmtu_disc=0" >> /system/build.prop
busybox echo "net.ipv4.tcp_sack=1" >> /system/build.prop
busybox echo "net.ipv4.tcp_fack=1" >> /system/build.prop
busybox echo "net.ipv4.tcp_window_scaling=1" >> /system/build.prop
busybox echo "net.ipv4.tcp_timestamps=1" >> /system/build.prop
busybox echo "net.ipv4.tcp_rmem=4096 39000 187000" >> /system/build.prop
busybox echo "net.ipv4.tcp_wmem=4096 39000 187000" >> /system/build.prop
busybox echo "net.ipv4.tcp_mem=187000 187000 187000" >> /system/build.prop
busybox echo "net.ipv4.tcp_no_metrics_save=1" >> /system/build.prop
busybox echo "net.ipv4.tcp_moderate_rcvbuf=1" >> /system/build.prop
busybox echo "# Makes streaming videos stream faster" >> /system/build.prop
busybox echo "media.stagefright.enable-player=true" >> /system/build.prop
busybox echo "media.stagefright.enable-meta=true" >> /system/build.prop
busybox echo "media.stagefright.enable-scan=true" >> /system/build.prop
busybox echo "media.stagefright.enable-http=true" >> /system/build.prop
busybox echo "media.stagefright.enable-record=true" >> /system/build.prop
busybox echo "# Website Bypass" >> /system/build.prop
busybox echo "net.rmnet0.dns1=8.8.8.8" >> /system/build.prop
busybox echo "net.rmnet0.dns2=8.8.4.4" >> /system/build.prop
busybox echo "net.dns1=8.8.8.8" >> /system/build.prop
busybox echo "net.dns2=8.8.4.4" >> /system/build.prop
busybox echo "# Graphics Enhancement" >> /system/build.prop
busybox echo "debug.performance.tuning=1" >> /system/build.prop
busybox echo "video.accelerate.hw=1" >> /system/build.prop
busybox echo "ro.media.dec.jpeg.memcap=20000000" >> /system/build.prop
busybox echo "ro.media.enc.hprof.vid.bps=8000000" >> /system/build.prop
busybox echo "ro.media.enc.jpeg.quality=100" >> /system/build.prop
busybox echo "# Disables data sent and logging" >> /system/build.prop
busybox echo "ro.config.nocheckin=1" >> /system/build.prop
busybox echo "profiler.force_disable_err_rpt=1" >> /system/build.prop
busybox echo "profiler.force_disable_ulog=1" >> /system/build.prop
busybox echo "# Scrolling Responsiveness" >> /system/build.prop
busybox echo "windowsmgr.max_events_per_sec=90" >> /system/build.prop
busybox echo "persist.cust.tel.eons=1" >> /system/build.prop
busybox echo "# Power Saving Tweaks" >> /system/build.prop
busybox echo "ro.ril.disable.power.collapse=1" >> /system/build.prop
busybox echo "pm.sleep_mode=1" >> /system/build.prop
busybox echo "wifi.supplicant_scan_interval=180" >> /system/build.prop
busybox echo "# Dialing Tweaks" >> /system/build.prop
busybox echo "ro.telephony.call_ring.delay=0" >> /system/build.prop
busybox echo "ro.lge.proximity.delay=25" >> /system/build.prop
busybox echo "mot.proximity.delay=25" >> /system/build.prop
busybox echo "# DalvikVM" >> /system/build.prop
busybox echo "dalvik.vm.verify-bytecode=false" >> /system/build.prop
busybox echo "dalvik.vm.execution-mode=int:fast" >> /system/build.prop
busybox echo "dalvik.vm.checkjni=false" >> /system/build.prop
busybox echo "dalvik.vm.dexopt-data-only=1" >> /system/build.prop
busybox echo "dalvik.vm.heapstartsize=1m" >> /system/build.prop
busybox echo "dalvik.vm.heapgrowthlimit=64m" >> /system/build.prop
busybox echo "dalvik.vm.heapsize=128m" >> /system/build.prop
busybox echo "dalvik.vm.verify-bytecode=false" >> /system/build.prop
busybox echo "dalvik.vm.execution-mode=int:jit" >> /system/build.prop
busybox echo "dalvik.vm.lockprof.threshold=250" >> /system/build.prop
busybox echo "dalvik.vm.dexopt-flags=m=v,o=y" >> /system/build.prop
busybox echo "dalvik.vm.jmiopts=forcecopy" >> /system/build.prop
busybox echo "# Performance" >> /system/build.prop
busybox echo "debug.composition.type=gpu" >> /system/build.prop
busybox echo "ro.max.fling_velocity=20000" >> /system/build.prop
busybox echo "ro.min.fling_velocity=18000" >> /system/build.prop
busybox echo "debug.performance.tuning=1" >> /system/build.prop
busybox echo "debug.kill_allocating_task=0" >> /system/build.prop
busybox echo "debug.overlayui.enable=1" >> /system/build.prop
busybox echo "debug.egl.profiler=1" >> /system/build.prop
busybox echo "debug.egl.hw=1" >> /system/build.prop
busybox echo "debug.sf.hw=1" >> /system/build.prop
busybox echo "hw3d.force=1" >> /system/build.prop
busybox echo "hw2d.force=1" >> /system/build.prop
busybox echo "force_hw_ui=true" >> /system/build.prop
busybox echo "profiler.force_disable_err_rpt=1" >> /system/build.prop
busybox echo "profiler.force_disable_ulog=1" >> /system/build.prop
busybox echo "ro.min_pointer_dur=8" >> /system/build.prop
busybox echo "debug.kill_allocating_task=0" >> /system/build.prop
busybox echo "persist.sys.ui.hw=1" >> /system/build.prop
busybox echo "ro.debuggable=1" >> /system/build.prop
busybox echo "ro.config.disable.hw_accel=false" >> /system/build.prop
busybox echo "ro.kernel.android.checkjni=0" >> /system/build.prop
busybox echo "persist.sys.purgeable_assets=1" >> /system/build.prop
busybox echo "persist.sys.use_dithering=1" >> /system/build.prop
busybox echo "ro.secure=0" >> /system/build.prop
busybox echo "ro.min_pointer_dur=1" >> /system/build.prop
busybox echo "# 16bit Transparency" >> /system/build.prop
busybox echo "persist.sys.use_16bpp_alpha=1" >> /system/build.prop
busybox echo "#" >> /system/build.prop
My phone is T. Xperia T.
romcio47 said:
What do you think about an init.d version of these tweaks? Personally I don't want to install SManager only for a few tweaks, and I think init.d would be useful for some people who don't want an app that runs on each boot and init.d is pretty good alternative for any third-party app for running scripts.
Cheers!
Edit:
Besides I don't think that putting the whole build.prop in the flashable file is a good idea, this overwrites original build.prop files on the phone this script is flashed on. There's a script to just add some extra lines to build.prop rather than just overwriting it with yours.
I've found some code in one of the flashable zips I have on my SD card. The file inside the package is named add_to_buildprop.sh but I think you can use any name.
Here it is:
Spoiler
Code:
#!/sbin/sh
#By Jeeko
busybox echo "" >> /system/build.prop
busybox echo "debug.sf.hw=1" >> /system/build.prop
busybox echo "" >> /system/build.prop
busybox echo "#" >> /system/build.prop
My phone is T. Xperia T.
Click to expand...
Click to collapse
I always had problems of reliability with init.d support, so I won't. But feel free to move the scripts from /system/etc/XperiaTweaks to your init.d directory and set the correct permissions (755).
I had tested the script of Jeeko few months ago and it didn't work, but I will try again. Thanks.
Hi,
How can I set zipalign and sqlite running at boot once a week ? Thanks
gorneman said:
Hi,
How can I set zipalign and sqlite running at boot once a week ? Thanks
Click to expand...
Click to collapse
Open SManager and select the scripts (6 & 7) in /system/etc/XperiaTweaks. Set them as "su" (not "boot", you can check "Ntfy") and don't forget to save the configurations.
Then, hit the menu button in the bottom right corner and select "Scheduler". Schedule your scripts and save.
It's done.
good tweaks but Battery Draining tooo fasttttttt.