hi my guys
i've a silly question! coz im a Noob
lemme explain what is my mean:
custom kernels supports init.d and we can create own tweaks and save these files into init.d directory,
for example this one :
vm.dirty_ratio=20;
i found dirty_ratio in /proc/sys/vm/dirty_ratio.
but when i open this file with text viewer , i see another value for this parameter!
like this : 35
and other parameters that we can write in initd tweak files!
every time i change values , when i open original file in /proc/sys/vm/ i see constant values! ( for example 35 for dirty_ratio )
i think ROM or some apps control this parameter!
it means if we change this parameters for customization , we cant see any changes!
emmm , jelly sandwich - maxio made - custom rom control this parameters??????
or you have same problems with all ROMS???????
or this is a common situation??????
sorry for poor english!
My Device : Xperia Ray
ROM : Jelly Sandwich 8.5
Kernel : Advanced Stock.587
Unlocked , Rooted!
Maybe the init.d script not properly created..init.d script must have execution lines in the script and # symbol.
Sent from my gorgeous ST18i
yamin8000 said:
hi my guys
i've a silly question! coz im a Noob
lemme explain what is my mean:
custom kernels supports init.d and we can create own tweaks and save these files into init.d directory,
for example this one :
vm.dirty_ratio=20;
i found dirty_ratio in /proc/sys/vm/dirty_ratio.
but when i open this file with text viewer , i see another value for this parameter!
like this : 35
and other parameters that we can write in initd tweak files!
every time i change values , when i open original file in /proc/sys/vm/ i see constant values! ( for example 35 for dirty_ratio )
i think ROM or some apps control this parameter!
it means if we change this parameters for customization , we cant see any changes!
emmm , jelly sandwich - maxio made - custom rom control this parameters??????
or you have same problems with all ROMS???????
or this is a common situation??????
sorry for poor english!
My Device : Xperia Ray
ROM : Jelly Sandwich 8.5
Kernel : Advanced Stock.587
Unlocked , Rooted!
Click to expand...
Click to collapse
You can check your init.d scripts with script manager (or something similar) before you jam them into the init.d folder. This way you can test them with out having to reboot your device. There is a pretty good tut for init.d from irridaki here: http://forum.xda-developers.com/showthread.php?t=1422061 It is mostly for getting init.d to work on stock roms...but it should work on custom roms as long as there is init.d support....
to change a value in /proc you have to use:
Code:
echo [I]value[/I] > /proc/[I]path/to/file[/I]
so in your case it's
Code:
echo 20 > /proc/sys/vm/dirty_ratio
Haaop said:
to change a value in /proc you have to use:
Code:
echo [I]value[/I] > /proc/[I]path/to/file[/I]
so in your case it's
Code:
echo 20 > /proc/sys/vm/dirty_ratio
Click to expand...
Click to collapse
thnx man
yes, i saw this pattern for setting values to parameters
ill check it plus will tell u the feedback
Related
Tripnraver and Fanboys that wants to start trouble follow this Link! If you want to clear up the Discussion and stop fighting write me a PM and if not stay at Modaco, i even post the link for you all
Open TripNHome
XDA Users stay here and help collecting some nice X10 Tweaks to help the whole Community, every Dev/Cooker knows other Tweaks so i would like to invite all to share there best Tweaks here. Above i post some basic Tweaks and a example File how it looks like.
build.prop Tweaks
# Network
HTML:
ro.ril.hep=1
ro.ril.hsxpa=2
ro.ril.gprsclass=10
ro.ril.hsdpa.category=8
ro.ril.hsupa.category=5
ro.telephony.call_ring.delay=1000
# Product
HTML:
ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2
mot.proximity.delay=100
# Performance
HTML:
dalvik.vm.startheapsize=48m
dalvik.vm.heapsize=48m
dalvik.vm.execution-mode=int:jit
dalvik.vm.dexopt-flags=m=y
dalvik.vm.dexopt-data-only=1
dalvik.vm.lockprof.threshold=200
windowsmgr.max_events_per_sec=300
VM Tweaks
HTML:
echo 95 > /proc/sys/vm/dirty_ratio
echo 20 > /proc/sys/vm/vfs_cache_pressure
echo 4096 > /proc/sys/vm/min_free_kbytes
echo 1 > /proc/sys/vm/oom_kill_allocating_task
echo 60 > /proc/sys/vm/dirty_background_ratio
echo 1000 > /proc/sys/vm/dirty_expire_centisecs
echo 2000 > /proc/sys/vm/dirty_writeback_centisecs
Minfree Tweak
HTML:
echo 1536,3072,4096,15360,17920,20480 > /sys/module/lowmemorykiller/parameters/minfree
SD Card Tweak
HTML:
echo 2048 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
echo 2048 > /sys/devices/virtual/bdi/default/read_ahead_kb
build.prop Tweaks go to system/build.prop
other Tweaks go to system/etc/install-recovery.sh
I attached 2 sample files with these Tweaks included.
shall we edit these even if running 3.6?
bodomfan said:
shall we edit these even if running 3.6?
Click to expand...
Click to collapse
No
10 Characters
Wolfbreak said:
No
10 Characters
Click to expand...
Click to collapse
Lol ok,dumb question really.its probably all included ,iv posted a request in the rom thread
im liking v3.6 atm similar to 3.5,you got any new plan sfor releases,it would be kwl if you could get achotjans green signal bar in there as he said you have his permission and also the samsung galaxy s type gingerbread battery icon,would look sexy and very gb
You can flash the Addon yourself if you like it i dont need to include it. The ROM Style will stay same, all Theme modifications the Users can flash themself like they want it becouse everyone likes different i wont touch the Theme, everyone can flash what they want becouse i cant make a Theme everyone will like becouse thats just not possible, some like Blue, some like Carbon.....
BTW this doesnt has something to do with this Thread so please keep it clean
Wolfbreak said:
You can flash the Addon yourself if you like it i dont need to include it. The ROM Style will stay same, all Theme modifications the Users can flash themself like they want it becouse everyone likes different i wont touch the Theme, everyone can flash what they want becouse i cant make a Theme everyone will like becouse thats just not possible, some like Blue, some like Carbon.....
BTW this doesnt has something to do with this Thread so please keep it clean
Click to expand...
Click to collapse
ok thanks
10 characters
Hopefully you can create flashable zip for us.
Thanks Wolfbreak!!
You can edit buildprop w the flashtool or w rootexplorer, depending on which rom you are running, some of these tweaks may already be implimented!!
Zip file is too easy!! Explore research have fun.... just make a back up first....
Best regards,
Chris
Sent from my X10 TripNMiUI-Iris using XDA App
Already did it manually using Flashtool and Root Explorer.
But for others who need quick progress, WB should create flashable zip for them.
AND
If can, maybe WB should consolidate addon such as Bravia Engine, FPS uncap, xLoud, Audio Fix, in one flashable zip.
Hi wolfbreak
I was changing the tweaks u had given
I was changing the below tweak
ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2
mot.proximity.delay=100
and i found that max num of touch was 4 instead of 2 by default.... does this mean anything?
2Wolfbreak : according to this http://www.linuxinsight.com/proc_sys_vm_oom_kill_allocating_task.html I wouldn't do this "echo 1 > /proc/sys/vm/oom_kill_allocating_task". Placing 0 performs better, and prevents some unexpected FCs.
awesome man.>!!!
Thats a good initiative I was thinking of starting something like this for past two day but was wait that some actual dev to start it and i will contribute more.
ohk so here are one or two simple tricks from my side.
those who don't want to mess with install-recover.sh and prefer keeping the init.d style work
here is how you can enable init.d support.
add one line at end of your install-recovery.sh
Code:
# trying run-parted
/system/xbin/busybox run-parts /system/etc/init.d
some more tweaks which might overlap with the existing tweaks posted here...
http://forum.xda-developers.com/showthread.php?p=16441133#post16441133
Note : as usual non of the credit to me all credit to Dev's.
Request
Can someone point all guides of framework customization and howtos related to that at one place.
stuff like replacing the background image to adding a reboot option and simmilar stuff.
all links at one place would be just fine for new dev's (don't get angry if its already there and i missed it, coz there are chances of it too...)
So what do these tweaks actually do?
*improve* your phone will be the sarcastic answer, but forgive me if I won't blindly apply tweaks without having at least some idea as to what they are doing?
anantshri said:
Can someone point all guides of framework customization and howtos related to that at one place.
stuff like replacing the background image to adding a reboot option and simmilar stuff.
all links at one place would be just fine for new dev's (don't get angry if its already there and i missed it, coz there are chances of it too...)
Click to expand...
Click to collapse
If u need help PM me.
blueowl0708 said:
So what do these tweaks actually do?
*improve* your phone will be the sarcastic answer, but forgive me if I won't blindly apply tweaks without having at least some idea as to what they are doing?
Click to expand...
Click to collapse
That's actually a good question i will see what i can help you with then later on other remaining could be answered by otheres.
# Product
HTML:
ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2
mot.proximity.delay=100
This tweak is basically a build.prop tweak which is making system aware of a dual touch capable system.
# Performance
HTML:
dalvik.vm.startheapsize=64m
dalvik.vm.heapsize=64m
dalvik.vm.execution-mode=int:jit
dalvik.vm.dexopt-flags=m=y
dalvik.vm.dexopt-data-only=1
dalvik.vm.lockprof.threshold=150
windowsmgr.max_events_per_sec=80
These are basically VM related tweaks first making heapsize 64M i.e. larger default is smaller. also this last line makes your system more responsive i keep something higher then 250 in place of 80.
VM Tweaks
HTML:
echo 95 > /proc/sys/vm/dirty_ratio
echo 20 > /proc/sys/vm/vfs_cache_pressure
echo 4096 > /proc/sys/vm/min_free_kbytes
echo 1 > /proc/sys/vm/oom_kill_allocating_task
echo 60 > /proc/sys/vm/dirty_background_ratio
echo 1000 > /proc/sys/vm/dirty_expire_centisecs
echo 2000 > /proc/sys/vm/dirty_writeback_centisecs
VM Tweaks basically change min free bytes and kill level's of application used internally by android for memory management.SD Card Tweak
HTML:
echo 2048 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
echo 2048 > /sys/devices/virtual/bdi/default/read_ahead_kb
This is a simple tweak which specifies the read ahead buffer which is by default 128Kb effectively making your SDCard i/o faster.
Hope these could clarify your doubts remaining ones wolf or others might give a try to explain.
a flashable zip file would be nice
ive been trying to place my own tweaks within the install-recovery.sh file however when i flash zip the file seems to have changed however nothing actually takes effect. new to this side of things so could just be a schoolboy error lol. can say if i use the simple install-recovery.sh file from Z's uncap fps or even yours from your rom and flash it.. it all works well! if i try to edit any of yours and flash again.. nothing happens! wat am i missing?
I am referring to this thread:
http://forum.xda-developers.com/showthread.php?t=771232
I'd like to add/change some of these settings on my Archos 70 IT (no phone).
Windows max events
wifi scan level
Dalvik heap size
Unfortunately, the thread says, the values have to be adjusted in the build.prop, but I don't have these settings in there. In my opinion I should have the settings above as they are common in Android.
In fact, I'd like to add all settings of Autokiller memory optimizer.
What I did so far:
IO scheduler, set to noop
Added
http://www.xda-developers.com/android/the-best-ram-optimisation-script-for-android/
and changed the settings for lowmemorykiller
SD Card Cache, I have an app for that.
Can anybody tell me how to add the other settings in a script?
http://andrs.w3pla.net/autokiller/kernel
Even if you don't have some of the values already there, you can add them. Check out this thread: http://forum.xda-developers.com/showthread.php?t=1227269 .
Thanks.
One more question:
Are these files executed on boot?
I'd feel better if I have the additional settings in an own script such as /system/etc/init.d/S99ownscript.
This is, as I understand it, executed as the last scricpt. (R before S, and then numbers)
Is this possible or do I have to write the settings in the boot.prop or init.d file?
Are the build.prop and init.d files executed at each boot or only once, when the machine is set up?
€dit:
I added the following to my S99 script:
ro.HOME_APP_ADJ=1
ro.media.enc.jpeg.quality=100
debug.sf.hw=1
debug.performance.tuning=1
video.accelerate.hw=1
Click to expand...
Click to collapse
What do I have to enter in terminal to check, if these values are active?
For example:
cat /sys/block/mmcblk0/queue/scheduler
Click to expand...
Click to collapse
to check, which scheduler is active.
*push*
nobody?
lordofazeroth said:
One more question: Are these files executed on boot?
I'd feel better if I have the additional settings in an own script such as /system/etc/init.d/S99ownscript.
Is this possible or do I have to write the settings in the boot.prop or init.d file?
Are the build.prop and init.d files executed at each boot or only once, when the machine is set up?
Click to expand...
Click to collapse
Yes, those files (build.prop and init.d) are executed at every boot. It is possible to make your own script, but it's better if you make a flashable one so that it will always stay and you wouldn't have to worry about if it was executed or not (since it will be "in" the rom and always executed).
## xKERNEL##
First Thing First: How To Install Custom Kernel
1) You need to UNLOCK BOOTLOADER using one of these method. I'm NOT responsible of what you've decide. Please follow instruction carefully.
-> S1tool
-> Sony Mobile - Unlock Bootloader
2) Get this awesome tool called Flashtool and install. Dont forget to install usb drivers from "Drivers" folder too.
3) I assume you have download one of my kernel. Get into Fastboot mode. How? Do i have to repeat how? Press "Volume Up" while connecting your USB cable. you'll see Blue led.
4) Click "Flash" button on Flashtool, then select Fastboot Mode.
5) Choose "Select Kernel to Flash" and find your saved kernel. I'm not gonna find it for you.
6) Once completed, reboot device into system
Click to expand...
Click to collapse
THESE IS FINAL, NO LONGER MAINTAINED
HTML:
Those version below was a final version xKernel for Xperia Ray. I might on a new
device next week due someone already booked my ray. Ive planned to give the
last version using 4.1.B.0.587 but unfortunately source published by Sony was
corrupted. Sorry guys, i cant afford to keep my ray. This is it.
Thank you for using my kernel.
## KERNEL DOWNLOADS ## [ Share Folder - Most of Ray's Kernel ]
Build on early Oct [ xKernel v9.587-D ] - ICS Based Rom
23/09 [ xKernel v9.587-C ] - ICS Based Rom
18/08 [ Advanced Stock .587 ] - ICS Based Rom
15/08 [ xKernel Jelly Bean v1.0.2 ] - Jelly Bean 4.1.1
- used gcc linaro version 4.6.2
- USB OTG support
- OLD: v1.0.1
15/08 [ xKernel v8.1a ] - ICS Based Rom
- used GCC Linaro version 4.6.2
- USB OTG support
- OLD: v8.1
15/08 [ xKernel AOKP v3.1 ] AOKP Based Rom (NEED TESTER)
- used gcc linaro version 4.6.2
- USB OTG Support
- wifi modules included
[ XRay V7.3.431 ] ICS 4.0.4 HOT STUFF
- Build from 4.1.B.0.431 source
## SOLUTIONS ##
[ POST #3 ] Graphic Performance
[ For JJ's v2.0+ ] Install kernel with JJ's v2.0+. thank to justmpm
[ POST #5 ] Zram script and Wifi Channel 12-14
UPDATES
// v9 - 587 source, increase mdp core clock for 720p, set 2D core clock
// v8.0 | AOKP v3 - implemented BFS v0.318
// AOKP v2.3.431a - vids record / playback fixed(?) - need tester
// AOKP v2.3.431 - Built from 4.1.B.0.431 source
// v7.3.562 - 4.1.A.0.562 source, added cleancache and zcache driver, the rest same with v7.3.431
// v7.3.431 - 4.1.B.431 source, "use highest perf level when wake-up from sleep" patch, the rest remain the same as previous version
// v7.2.6 - 2way call, patches kernel msg, patch smartassv2 gov & zram driver
// Stock .431 - Stock Kernel from .431 ICS 4.0.4
// v7 rev4 - Build from 4.1.H.0.4 (Play ICS Beta)
// AOKP v2.2 - enabled zram, increased swap space to 90MB, added intellidemand & virtuous gov
// v6.2.5 - increased swap space to 90MB, added Virtuous gov
// v6.1.1 RER - "Reduced Energy Recovery" courtesy of justmpm
// v6.1.1 - added gov: intellidemand
// Xray AOKP - first attempt
// v6 - Enhance from v5 with small fixes
// v5 - Recovery USB Mount, enabled tun
// Stock .562 Kernel - Recovery USB mount fixed
// v4.0.1 - Disabled min/max freq set at boot, UV available
// v4.0 - Beta tester: LZO compress/decompress, cleancache, new settings freq tables
// v3.0.2 - small fixes for freq tables. used old freq table
// v3.0.1 - small fixes for freq tables.
// v3.0 - new freq table. based on FreeXperia (thanks to FXP)
// v2.5.1 - added zram setting disksize to 125MB (see thumbnails)
// v2.5.1 - edit wakelock for better sleep? (see thumbnails)
// v2.5 - include ZRAM driver (thanks go DooMLoRD. told ya, too much to tell his contribution in android developement )
// v2.5 - remain 1.6 as default kernel
// v2.5 - edit wakelock.c source
// to test call recording download rVoix.apk from here http://forum.xda-developers.com/showthread.php?t=993793
// removed Xray1x4v2 from list - for those who wanna kernel OC/UV you can choose xray1x6v2, and for those who not OC/UV addict like me can choose xray1x0uv (the one am using right now)
#### LOST and FOUND ####
MediaFire: http://www.mediafire.com/?1x4wzf9vjtjww
Dev-Host: [Ice Cream Sandwich] [Jelly Bean]
Click to expand...
Click to collapse
BASEBAND COLLECTION
https://www.dropbox.com/sh/0mesctfmxrdrz4a/DZmShwauxz
Tested:
-
Click to expand...
Click to collapse
Code:
((( Special Thanks To Donators )))[[I]-$65 left for used Ray[/I]]
[B]funiewski, jjdoctor, obaobaobaba, Paul, Mack, sucker for sony's, y.ueno,
Würl, blasioli, Cvetkov, Lukáš[/B]
((( All Credits Goes To )))
arcatarc - for finding Recovery with working usb mount
FXP - for his kernel sources
DooMLoRD - for bla bla bla bla .. too much contribution in Devlopement!!!
erasmux - cpu governors and sources
DooMLoRD / Team UtterChaos - for Fully Touch Recovery
justmpm - help me alot with his overall test
hansip87 - helping me find info "HOWTO" tutorial
JJdoctor - Touch Rec button images
Taverius - for tips?
Click to expand...
Click to collapse
GiT
https://github.com/sirkay
sirkay said:
Okay this my collection of stock kernel for ICS
NEW! ICS Stock Kernel + Touch Recovery by DooMLoRD/Team UtterChaos [download]
- Fully Touch
- Init.d support
- Tweaks scripts by DooMLoRD
- CWM5-based recovery
- Blue LED trigger & 1sec vibration to Enter recovery
ICS Stock Kernel + DooMLoRD Adv Stock Kernel Ramdisk [download]
- CWM5-based recovery
- Init.d support
- Tweaks scripts by DooMLoRD
- Blue LED trigger & 3sec vibration to Enter recovery
ICS Stock Kernel + CWM Recovery V5.5.0.4 [download]
- Blue LED trigger
Tested:
- .62 FW
- Roms : JJ's Hybrid, IceLite, ICS Beta
((( All Credits Goes To )))
DooMLoRD - for Adv Stock kernel ramdisk & with recovery
DooMLoRD / Team UtterChaos - for Fully Touch Recovery
Click to expand...
Click to collapse
What's the difference between first link and second other than Touch Recovery and 3 sec vibration? thanks.
[SOLUTIONS]
[ SOLUTION: Graphic Performance ]
For those who using my kernel (ics beta kernel source build) may have some low performance in Official ICS (.562 FW). Trick to get better graphic performance :
1. Goto to Adreno Driver Thread by arcatarc
2. Download GpuDriverICS_4.1.A.0.562.zip and put in your SD
3. Flash OriginalAdrenoICSSony_4.1.A.0.562.zip using CWM.
4. Booting up
5. Enjoy some graphic improvement!
thanks to arcatarc for his update.zip
and hansip87 for found solution
please dont be lazy to hit the button for their effort.
[ SOLUTION: My Steps to prevent Superuser Issue in TB ]
Who has Superuser issue or Root Access after installing JJ's Rom, can try my steps. I never had issue with Superuser/Root Access after did these steps
Go to here --> #Solutions
Last night I was thinking, hey, when sirkay makes his kernel thread I ought to ask for sio scheduler.
... so here I am asking
Installing this touch recovery thing anyway, sounds like fun!
SOLUTIONS: Zram | Wifi Channel 12-14
[ SOLUTION: How to make simple ZRAM init.d script ]
1. Using Root Explorer, got to /sytem/etc/init.d/
2. press Menu then create new file
3. paste these in it
Code:
#!/system/bin/sh
sysctl -w vm.swappiness=60
echo '1' > /sys/block/zram0/reset
echo $((60*1024*1024)) > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /dev/block/zram0
4. close and save it as 99zram
5. set permission to 777 or "rwxrwxrwx" (tick all)
6. take note: 60*1024*1024 = 60MB zram disksize. if you want to set 30MB, change 60 to 30.
[ SOLUTION: To Enabled Wifi Channels 12-14 ]
1. using Root Explorer, goto /system/etc/init.d
2. open one of your init.d scripts, i suggest first in the list (Menu > Open in text editor)
3. paste line below
Code:
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "INSERT INTO secure (name, value) VALUES ('wifi_country_code', 'JP');"
4. close and save
5. reboot
note: to enabled channel 12-13 just change "JP" to "EU" or "ES"
@sirkay thanks for the kernels
long waiting on se sources for ics, would like oc+uv kernel
funiewski said:
@sirkay thanks for the kernels
long waiting on se sources for ics, would like oc+uv kernel
Click to expand...
Click to collapse
Yeah.. miss that 1.4Ghz Ray S
hansip87 said:
Yeah.. miss that 1.4Ghz Ray S
Click to expand...
Click to collapse
Should be X for XTREME bro.
Fry said:
The X makes it cool.
Click to expand...
Click to collapse
I wish there's a touch recovery kernel for Neo V....
sirkay said:
Okay this my collection of stock kernel for ICS
NEW! ICS Stock Kernel + Touch Recovery by DooMLoRD/Team UtterChaos [download]
- Fully Touch
- Init.d support
- Tweaks scripts by DooMLoRD
- CWM5-based recovery
- Blue LED trigger & 1sec vibration to Enter recovery
ICS Stock Kernel + DooMLoRD Adv Stock Kernel Ramdisk [download]
- CWM5-based recovery
- Init.d support
- Tweaks scripts by DooMLoRD
- Blue LED trigger & 3sec vibration to Enter recovery
ICS Stock Kernel + CWM Recovery V5.5.0.4 [download]
- Blue LED trigger
Tested:
- .62 FW
- Roms : JJ's Hybrid, IceLite, ICS Beta
((( All Credits Goes To )))
DooMLoRD - for Adv Stock kernel ramdisk & with recovery
DooMLoRD / Team UtterChaos - for Fully Touch Recovery
Click to expand...
Click to collapse
I noticed that the touch recovery is set at 4mb sd cache, what's the best way to find out whats the best for my card? I'm using a class 4 32gb and I get those annoying soundbugs whilst listening to music in every set, 128, 1024, 2048 and 4096.
Thanks in advance
using root explorer, goto /system/etc/init.d, create new file name it as "75sdcard". paste this script and save. set permission to 777 (rwxrwxrwxr using root explorer). then reboot.
let see if it remove your soundbug.
#SD Card Tweak
echo 16 > /sys/block/mtdblock0/bdi/read_ahead_kb
echo 16 > /sys/block/mtdblock1/bdi/read_ahead_kb
echo 16 > /sys/block/mtdblock2/bdi/read_ahead_kb
echo 16 > /sys/block/mtdblock3/bdi/read_ahead_kb
echo 512 > /sys/devices/virtual/bdi/7:0/read_ahead_kb
echo 512 > /sys/devices/virtual/bdi/7:1/read_ahead_kb
echo 512 > /sys/devices/virtual/bdi/7:2/read_ahead_kb
echo 512 > /sys/devices/virtual/bdi/7:3/read_ahead_kb
echo 512 > /sys/devices/virtual/bdi/7:4/read_ahead_kb
echo 512 > /sys/devices/virtual/bdi/7:5/read_ahead_kb
echo 512 > /sys/devices/virtual/bdi/7:6/read_ahead_kb
echo 512 > /sys/devices/virtual/bdi/7:7/read_ahead_kb
echo 4096 > /sys/block/mmcblk0/queue/read_ahead_kb
echo 128 > /sys/block/mmcblk0/queue/max_sectors_kb
echo 4096 > /sys/block/mmcblk1/queue/read_ahead_kb
echo 128 > /sys/block/mmcblk1/queue/max_sectors_kb
echo 4096 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
echo 97 > /sys/devices/virtual/bdi/179:0/max_ratio
echo 4096 > /sys/devices/virtual/bdi/default/read_ahead_kb
echo 97 > /sys/devices/virtual/bdi/default/max_ratio
echo 4096 > /sys/devices/virtual/bdi/mmcblk0p2/read_ahead_kb
echo 100000 > /sys/block/mmcblk0/queue/nr_requests
echo 100000 > /sys/block/mmcblk1/queue/nr_requests
echo 16 > /sys/devices/virtual/block/mtdblock3/queue/iosched/read_ahead_kb
echo 16 > /sys/devices/virtual/block/mtdblock2/queue/iosched/read_ahead_kb
echo 16 > /sys/devices/virtual/block/mtdblock1/queue/iosched/read_ahead_kb
Click to expand...
Click to collapse
Sent from my ST18i using xda premium
[SIC] said:
I noticed that the touch recovery is set at 4mb sd cache, what's the best way to find out whats the best for my card? I'm using a class 4 32gb and I get those annoying soundbugs whilst listening to music in every set, 128, 1024, 2048 and 4096.
Thanks in advance
Click to expand...
Click to collapse
You got that sound bug? I thought it only resides on slower CPU phone :/ I don't get a sound bug with 2048 kb set (only when the CPU is too stressed, some audio bug may occured, but not as bad as my old X10 Mini Pro)
Some general rule of thumb, SD class 6 and/or faster, 2048 kb and up. SD class 4 and/or slower, 1024kb and less.
noowb00 said:
I wish there's a touch recovery kernel for Neo V....
Click to expand...
Click to collapse
sorry i dont have neo v, cant test. there's probably someone capable to install this touch recovery on neo v kernel
Sent from my ST18i using xda premium
Hey sirkay, you need to add some caution though when flashing these kernels. It seems that the kernel.is preloaded with busybox and root, but not the newest one. So it was lagging my phone (sudden freeze). My solution is to uninstall and reinstall busybox from market and fix root by updating it.
Sent from my ST18i using XDA
Does this work only on ICS? Can it be used on GB custom roms like rayonium?
hansip87 said:
Hey sirkay, you need to add some caution though when flashing these kernels. It seems that the kernel.is preloaded with busybox and root, but not the newest one. So it was lagging my phone (sudden freeze). My solution is to uninstall and reinstall busybox from market and fix root by updating it.
Sent from my ST18i using XDA
Click to expand...
Click to collapse
ahh forgot about that. will disable it and reupload. thanks for remind
slasherzx said:
Does this work only on ICS? Can it be used on GB custom roms like rayonium?
Click to expand...
Click to collapse
this is for ICS
Sirkay, You just WON.... ...Awesome...
Touch Recovery ?? .... You didnt let Ray users bow to Arc users... Thumbs up mate...
---------- Post added at 07:00 PM ---------- Previous post was at 06:31 PM ----------
Btw.. Is there anyway you can remove that Back and maybe Menu button...?
Not necessary but just asking coz ARC users have the benefit as they dont have touch keys but we Ray users already have touch and Menu back button.....
EDIT: Sorry That circle button is for click.. Thats Great.. I always hated pressing home key for a tap... I guess Back button is fine to remove...
Thank you for a great works. Working perfect here..init.d now working..
none
Sirkay, I cant mount card in Touch recovery...
Hi all !
I'm trying to release a custom kernel for the P6810 7.7 samsung tab with bootanimation support. I managed so far to enable init.d scripts support, undervolting and governor's stuff which is a good start.
However, I don't get why the bootanimation method is not working. I tried to take bootanimation.zip from cm9, cm10 (from Locerra which work with his kernel) and others. All I have is a black screen.
This is what I did (I took this from the eZnow) :
I copied bootanimation and samsungani from the cm10 bin folder to mine : I tried with stock files and theses one but none of them worked.
I added this to the init.rc :
Code:
service samsungani /vendor/scripts/bootanimation.sh
class main
user graphics
group graphics
disabled
oneshot
and this is the bootanimation.sh :
Code:
#!/sbin/sh
if [ -f /system/media/bootanimation.zip ]; then
/system/bin/bootanimation
else
/system/bin/samsungani
fi;
Permissions' files have been checked and are 755 for all of them.
What am i missing ? Should I enable some option(s) in the kernel's configuration ?
Thanks for your answers !
Hi,
i'd like to tinker with a custom rom for my device (YuanDao N101 tablet), more precisely I would like to change the default screen refresh rate of Jelly Bean. I've been searching these forums and came across this thread, where at some point they mention this:
changelog 18.06.2012:
and also have changend default screen refreshrate from 60 to 56, with the possibility to change it:
echo 1 > /sys/kernel/refreshrate/enable (60 hz)
echo 0 > /sys/kernel/refreshrate/enable (56 hz)
################################################## ####
Click to expand...
Click to collapse
So apparently it is possible to change the JellyBean refreshrate at some level.
What I cannot find on these forums or elsewhere is information about how to go about doing that. Can anybody please give information on this subject?
- can this be done simply by entering a console command in stock android?
- or do you need to change a variable in some system file?
- or do you need to make changes to the kernel and if so, where?
thanks
And where change it ?
Thanx