Oh i understand.Dear dagustl,
I know it's not in kernel, but CWM use "time stamp" for backup folder's name.
My timezone is GMT+8 (Asia/Taipei), so CWM's folder name always late for 8 hours.
In TWRP with my Nexus 7 I can set Timezone.
But I don't know how in Arc S with "in kernel CWM".
Sorry for my English and thanks for your answer.
No problem here. Which settings do you have in CPU Control?I have another issue:
anyone noticed arc s getting high temperature while using gps on this kernel?
Great kernel deserves a great logo or signature
Anyone coming soon? :good:
Great kernel deserves a great logo or signature
Anyone coming soon? :good:
The boot of the kernel is really slow...
Other than that, great performance and battery life! :good:
Kernel: Vengeance - 1.32 smartassV2/sio, 245/1402
The boot of the kernel is really slow...
Other than that, great performance and battery life! :good:
It is because of proper init.d implementation and because of that Phone will stay on kernel boot logo until all init.d scripts finish executing...
In the link below I explained how to make script relaunch itself in background and allow phone to continue booting while simultaneously executing scripts.
Scripts that are probably slowing boot are zipaligning and sqlite3 db optimizing... You can make them relaunch in bg...
A2SD scripts like Mounts2SD you should not modify.
Its best to delete zipalign and sqlite3 scripts and use zeppelinrox's from SuperCharger because zepp executes them when phone is already booted thus not slowing boot...
http://xdaforums.com/showthread.php?p=38820128#post38820128
Right!
But while using zep's supercharger...launcher supercharge needs to be activated...which slows down my launcher...coz...scripts chash..
Any way i would i wound use only zipalign and sqlite 3..only from that script?
Copying zipalign and sqlite and pasting them in xbit would be enought to execute them on boot or using cmd?
Typed from my Iyokan!
And...Be the smart Geek!
#!/system/bin/sh
sleep 10;
#Tweak SD readahead values
echo 1024 > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
echo 1024 > /sys/devices/virtual/bdi/default/read_ahead_kb;
#File system tweaks
busybox rm -rf /data/tombstones/*;
#Tweak various memory settings
sysctl -w vm.dirty_ratio=20;
sysctl -w vm.dirty_background_ratio=5;
sysctl -w vm.vfs_cache_pressure=300;
sysctl -w vm.oom_kill_allocating_task=0;
sysctl -w vm.min_free_kbytes=2048;
sysctl -w vm.dirty_expire_centisecs=200;
sysctl -w vm.dirty_writeback_centisecs=500;
sysctl -w vm.panic_on_oom=0;
sysctl -w vm.overcommit_memory=1;
sysctl -w vm.overcommit_ratio=50;
sysctl -w vm.swappiness=0;
sysctl -w kernel.panic_on_oops=1;
sysctl -w kernel.panic=10;
#!/system/bin/sh
sleep 40;
hd;
#!/system/bin/sh
exec > /dev/null 2>&1
if [ "$1" != "BG" ]; then $0 BG & exit 0; fi
sleep 10;
#Tweak SD readahead values
echo 1024 > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
echo 1024 > /sys/devices/virtual/bdi/default/read_ahead_kb;
#File system tweaks
busybox rm -rf /data/tombstones/*;
#Tweak various memory settings
sysctl -w vm.dirty_ratio=20;
sysctl -w vm.dirty_background_ratio=5;
sysctl -w vm.vfs_cache_pressure=300;
sysctl -w vm.oom_kill_allocating_task=0;
sysctl -w vm.min_free_kbytes=2048;
sysctl -w vm.dirty_expire_centisecs=200;
sysctl -w vm.dirty_writeback_centisecs=500;
sysctl -w vm.panic_on_oom=0;
sysctl -w vm.overcommit_memory=1;
sysctl -w vm.overcommit_ratio=50;
sysctl -w vm.swappiness=0;
sysctl -w kernel.panic_on_oops=1;
sysctl -w kernel.panic=10;
#!/system/bin/sh
exec > /dev/null 2>&1
if [ "$1" != "BG" ]; then $0 BG & exit 0; fi
sleep 40;
/system/xbin/hd;
Latest UHD has init.d scripts:
98tweaks
andCode:#!/system/bin/sh sleep 10; #Tweak SD readahead values echo 1024 > /sys/devices/virtual/bdi/179:0/read_ahead_kb; echo 1024 > /sys/devices/virtual/bdi/default/read_ahead_kb; #File system tweaks busybox rm -rf /data/tombstones/*; #Tweak various memory settings sysctl -w vm.dirty_ratio=20; sysctl -w vm.dirty_background_ratio=5; sysctl -w vm.vfs_cache_pressure=300; sysctl -w vm.oom_kill_allocating_task=0; sysctl -w vm.min_free_kbytes=2048; sysctl -w vm.dirty_expire_centisecs=200; sysctl -w vm.dirty_writeback_centisecs=500; sysctl -w vm.panic_on_oom=0; sysctl -w vm.overcommit_memory=1; sysctl -w vm.overcommit_ratio=50; sysctl -w vm.swappiness=0; sysctl -w kernel.panic_on_oops=1; sysctl -w kernel.panic=10;
99hd
which is 40+10=50 seconds of unnecessary waiting at boot logo...Code:#!/system/bin/sh sleep 40; hd;
BUT if you modify scripts like this:
98tweaks
Code:#!/system/bin/sh if [ "$1" != "BG" ]; then $0 BG & exit 0; fi sleep 10; #Tweak SD readahead values echo 1024 > /sys/devices/virtual/bdi/179:0/read_ahead_kb; echo 1024 > /sys/devices/virtual/bdi/default/read_ahead_kb; #File system tweaks busybox rm -rf /data/tombstones/*; #Tweak various memory settings sysctl -w vm.dirty_ratio=20; sysctl -w vm.dirty_background_ratio=5; sysctl -w vm.vfs_cache_pressure=300; sysctl -w vm.oom_kill_allocating_task=0; sysctl -w vm.min_free_kbytes=2048; sysctl -w vm.dirty_expire_centisecs=200; sysctl -w vm.dirty_writeback_centisecs=500; sysctl -w vm.panic_on_oom=0; sysctl -w vm.overcommit_memory=1; sysctl -w vm.overcommit_ratio=50; sysctl -w vm.swappiness=0; sysctl -w kernel.panic_on_oops=1; sysctl -w kernel.panic=10;
99hd
Code:#!/system/bin/sh if [ "$1" != "BG" ]; then $0 BG & exit 0; fi sleep 40; hd;
You will not have to wait this 50 seconds at boot logo...
This would be to avoid waiting for some time at the Sony logo right? If that's the case, just replased the 98tweaks and the 99hd with what you said and in my mk16 it continues to take the same time.
I've supercharged the services.jar but haven't applied V6 Supercharger yet so I have no idea on what might be failing.
if [ "$1" != "BG" ]; then $0 BG & exit 0; fi
if [ "0$BG" -eq 0 ]; then export BG=1; $0 & exit 0; else unset BG; fi
Yes, Vengeance kernel has Sony logo. Maybe you didn't add IF line right, did you try reopening the file to see if changes are saved? That can be problem on some file managers...And every space is important in:
Code:if [ "$1" != "BG" ]; then $0 BG & exit 0; fi
...if its not entered correctly shell will just skip it as error and it would be as it is not there...what I suspect is happening to you...
On my Arc S, init.d scripts start executing when Sony logo becomes brighter, and with SuperCharger and KAK it only takes 2-3 seconds...After I turned sd-ext file system check on boot in Mounts2SD it takes me 5-6 seconds to boot now...
And this method works for sure, because I have script for setting cpu governor that waits for property sys.boot_completed to be set before setting governor, and if I remove IF line script does not get relaunched in background, and Phone is waiting for script to finish and script is waiting for Phone to boot which never happens and phone gets stuck at boot logo... With IF line script gets relaunched in background, phone continues booting, when phone is booted (property is set) script sets cpu governor and governor options...
mr. gu5t3r
Can you gonna give us step for step explain how to run Supercharger V6?
Or the last one, or the best one for us devices on this kernel and UHD rom?
many thanks
mr. gu5t3r
For you is easy, get money bay new device?
- samsung galaxy III or waiting for IV or the new sony with 4X1.5
But for someone like my, it is impossible.
In the Europe there is not more devices with HW KEYBOARD!
mr. gu5t3r
Can you gonna give us step for step explain how to run Supercharger V6?
Or the last one, or the best one for us devices on this kernel and UHD rom?
many thanks
For you is easy, get money bay new device?
- samsung galaxy III or waiting for IV or the new sony with 4X1.5
But for someone like my, it is impossible.
In the Europe there is not more devices with HW KEYBOARD!
This should have same effect but works in slightly different way:
Code:if [ "0$BG" -eq 0 ]; then export BG=1; $0 & exit 0; else unset BG; fi
/*
* You may void your warranty.
* I am not responsible for bricked devices or dead SD cards.
* Please do some research if you have any concerns about this kernel.
* YOU are choosing to make these modifications to your device.
* I absolutely disclaim all the responsibilities.
[COLOR="Red"] * Flashing kernel requires unlocked bootloader.
[/COLOR] * You can unlock your bootloader from [URL="http://unlockbootloader.sonymobile.com/"][COLOR="Blue"][U]here[/U][/COLOR][/URL].
*/
Frankly, I don't like bloated and fancy OP's. So I kept the thread simple and clean. Changelogs are not posted here. Check the link in the description.
All the best!
* Based on official 4.1.B.1.13 sources
* Compiled using LINARO 4.7.3 Toolchain
* Added smart overclocking support upto 1.7 GHz
* Init.d support
* O2 optimizations
* CAF backport fixes
* Updated crc32 lib and jhash
* VDD sysfs level interface
* ARM_THUMBEE Support
* Removed debugging s**ts
* Optimized Low Memory Killer
* Swap and zram support
* ext 2/3/4 support
* Salvaged RAM
* Integrated CWM recovery
* SLUB Memory allocator
* LZO compression
* 2 way call recording
* CIFS, NTFS, FUSE and TUN as external modules
* Memcopy and compaction
* Added Cleancache
* Added frandom
* Optimized ARM RWSEM algorithm and ashmem
* /rootfs and /system mounted as rw
* Persistent adb
* Google Snappy Drivers
* Added other miscellaneous optmizations
* Governors : + Interactive
+ Ondemand
+ Performance
+ Userspace
+ Powersave
+ Conservative
+ InteractiveX
+ OndemandX
+ Smoothass
+ Brazilianwax
+ Smartass2 with boost pulse
+ SmartassH3
+ Intellidemand2
+ Virtuous
* IO Schedulers : + Noop
+ SIO - default
+ CFQ
+ VR
+ ROW
+ ZEN
+ Anticipatory
+ deadline
* [COLOR="Red"]See changelog or commits for detailed info.[/COLOR]
[/B]
[COLOR="Purple"]Root Binary[/COLOR] : ( Flashable via recovery )
* SuperSU : [URL="http://download.chainfire.eu/204/SuperSU/"][COLOR="Red"][U]Download[/U][/COLOR][/URL]
* Superuser : [URL="http://androidsu.com/superuser/"][COLOR="Red"][U]Download[/U][/COLOR][/URL]
[COLOR="Purple"][U]Instructions[/U][/COLOR] :
* To flash : fastboot flash boot boot.img
* To hotboot : fastboot boot boot.img
* Via FlashTool
F.A.Q's :-
[CENTER]CODENAME OF ARC : [COLOR="Red"]ANZU[/COLOR][/CENTER]
[CENTER]CODENAME OF ARC S : [COLOR="Red"]AYAME[/COLOR][/CENTER]
[CENTER]CODENAME OF PRO : [COLOR="Red"]IYOKAN[/COLOR][/CENTER]
[CENTER]CODENAME OF NEO : [COLOR="Red"]HALLON[/COLOR][/CENTER]
[CENTER]CODENAME OF NEO V : [COLOR="Red"]HAIDA[/COLOR][/CENTER]
[CENTER]CODENAME OF NEO L : [COLOR="Red"]PHOENIX[/COLOR][/CENTER]
[center][U]
[URL="http://www.mediafire.com/?kb784mb7ai4o8"][COLOR="BROWN"] Download Kernel [/COLOR][/URL][/center][/U]
[CENTER][URL="https://github.com/rachit-rc96/Vengeance-Kernel-MSM7x30/blob/master/Changelog.txt"][COLOR="RED"]Changelog[/URL][/COLOR][/U][/CENTER]
#!/system/bin/sh
sleep 10;
#Tweak SD readahead values
echo 1024 > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
echo 1024 > /sys/devices/virtual/bdi/default/read_ahead_kb;
#File system tweaks
busybox rm -rf /data/tombstones/*;
#Tweak various memory settings
sysctl -w vm.dirty_ratio=20;
sysctl -w vm.dirty_background_ratio=5;
sysctl -w vm.vfs_cache_pressure=300;
sysctl -w vm.oom_kill_allocating_task=0;
sysctl -w vm.min_free_kbytes=2048;
sysctl -w vm.dirty_expire_centisecs=200;
sysctl -w vm.dirty_writeback_centisecs=500;
sysctl -w vm.panic_on_oom=0;
sysctl -w vm.overcommit_memory=1;
sysctl -w vm.overcommit_ratio=50;
sysctl -w vm.swappiness=0;
sysctl -w kernel.panic_on_oops=1;
sysctl -w kernel.panic=10;
#!/system/bin/sh
sleep 40;
hd;
#!/system/bin/sh
exec > /dev/null 2>&1
if [ "$1" != "BG" ]; then $0 BG & exit 0; fi
sleep 10;
#Tweak SD readahead values
echo 1024 > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
echo 1024 > /sys/devices/virtual/bdi/default/read_ahead_kb;
#File system tweaks
busybox rm -rf /data/tombstones/*;
#Tweak various memory settings
sysctl -w vm.dirty_ratio=20;
sysctl -w vm.dirty_background_ratio=5;
sysctl -w vm.vfs_cache_pressure=300;
sysctl -w vm.oom_kill_allocating_task=0;
sysctl -w vm.min_free_kbytes=2048;
sysctl -w vm.dirty_expire_centisecs=200;
sysctl -w vm.dirty_writeback_centisecs=500;
sysctl -w vm.panic_on_oom=0;
sysctl -w vm.overcommit_memory=1;
sysctl -w vm.overcommit_ratio=50;
sysctl -w vm.swappiness=0;
sysctl -w kernel.panic_on_oops=1;
sysctl -w kernel.panic=10;
#!/system/bin/sh
exec > /dev/null 2>&1
if [ "$1" != "BG" ]; then $0 BG & exit 0; fi
sleep 40;
/system/xbin/hd;