Related
Updated April 7th, 2011
All credit to sibere and droidzone and other devs who've developed the Data2SD codes.
Before you do anything with your phone, Pls nanodroid fisrt!!! And flash your phone at YOUR OWN RISK
It's been a while since this post last updated.
In fact, developers of HTC Desire have already create a stable method to implement Data2sd or whatever you call it, which gives you full use of EXT space to install APPs while improving I/O speed at the same time.
The theory is explained here, in case you want to take a further look at it
[DEV][DATA2SD] More space (and more I/O) for your Desire (Updated/EXT4/Flashable ZIP)
And thanks to sibere and droidzone 's great work, now we could make any ROM we like run with Data2sd. here they provide us Flashable ZIP files to make it done
[DATA2SD] Flashable zips for converting any Rom to Data2SD
Updated Instructions and Zips (14/Mar/2011)
I've streamlined the installation procedure so as to make it more generic and compatible with the newer StarBurst zips.
Basic Installation Steps for Data2SD
1. Install your ROM
2. Install the A2SD Killer (specific for your ROM)
3. Next step differs depending on whether you're reflashing your Rom on an existing install, or whether you are installing for the first time.
If you're installing the ROM for the first time:
· Reboot once after running the A2SD Killer
· Setup the timezone, language etc (But not your Google Account/Market)
·Reboot to recovery once again and install the Data2SD Installer
If you're reflashing the ROM (after having installed Data2SD once previously)
·Do not reboot after running the A2SD Killer
·Install the Data2SD Re-Installer right away
·Now reboot.
Click to expand...
Click to collapse
Download Link:
http://hotfile.com/dl/110226722/85a18a8/Data2SDv11.zip.html
http://www.easy-share.com/1914241904/Data2SDv11.zip
Important Notes from droidzone
Fully supports Cyanogen
Fully supports Clockworkmod3.0+ (Edified)
I wanted to consolidate all the flashable zips for Data2SD into one place, so that I will find it easy to update the links as I modify the scripts, and to also help Sibere to point his link to this post from OP, so that he doesnt need to reupload each file as they are modified.
Once again, I must assert that Data2SD is totally Sibere's work with other devs who've developed Data2SD code of their own. In my opinion, however, this is the best!
My contribution is conversion of his excellent code into flashable scripts which may be installed via Recovery. So you dont have to type out the code.
The flashable zip is packed as a package of zip files. Each zip file within the package is seperate flashable zip
There are the following files:
Killer, Installer and Reinstaller files for Sense Roms
A2SDKillerV11_Sense.zip
Data2SDInstallerv1.3_Sense.zip
Data2SDReInstallerv1.3_Sense.zip
Installer and Reinstaller files for AOSP Gingerbread Roms and CM7 nightlies (excluding Cyanogen 6 and MIUI 2.2 , but including Cyanogen 7 nightlies and MIUI 2.3.3 )
A2SDKillerV11_GB.zip
Data2SDInstallerv1.3_GB.zip
Data2SDReInstaller1.3_GB.zip
Installer and Reinstaller files for Cyanogen 6 and MIUI 2.2 (Not for CM7 nightlies or MIUI 2.3.3), which are Older Version
A2SDKillerV9.zip
Data2SDInstaller_cyanogen.zip
data2sd-Reinstall_cyanogen.zip
Whether you are trying this method for Sense or AOSP Roms, the installation procedure is same. Only the file is different.
Click to expand...
Click to collapse
Following droidzone's instruction, I tried these flashable ZIPs with MIUI 1.4.1(Gingerbread 2.3.3)
A2SDKillerV11_GB.zip
Data2SDInstallerv1.3_GB.zip
And it's working just fine. No random reboots, no data or APP lost or system crash after reboot. It's stable and fast!
One more note, you can ignore the previous information below...
————————————————————————————————————————————————————————————————————
updata from
melethron's post, and his update package data2whatever.zip included.
you can buy melethron a beer if you want. All credits to melethron!
I test the script with new install MIUI N1 12.24,
so far no reboot issues, or data corruption.
[DATA2whatever] Flashable All-in-one-Solution for Data2sd (HUGE update (dec 23th))
data2whatever v0.2
Features:
- Supports: Ext2, Ext3, Ext4 (and if kernel supports it: ) btrfs, ReiserFS
- Supports loop device as optional addon (as siberes data2sd)
- Flashable zip for many app2sd ROMs (no long setup required)
- It does a e2fsck (disk check) on every boot and creates a logfile on the sdcard (/sdcard/e2fscklog.txt)
- looks nice if you do a logcat on boot
- no "settings lost on reboot" bug like in my old or siberes script
- changes the scheduler for the sd-card and internal to noop for better performance on sd.
- Nandroid Backup of EXT2/3/4 external with AmonRa 2.0.0.1 or any clockwork recovery.
- Removes the common app2sd scripts on its own
Requirements
- A second partition (same as app2sd - Min 512 mb - 1024mb is highly recommended - max 2048 MB or there will be issues with market) in any format (as long as the kernel supports - ext2/3/4 support is default in most kernels - Ext4 or ReiserFS is recommended).
- An app2sd or non app2sd ROM (data2sd versions wont work) (this SHOULD work with most or at least many ROMs . Roms that are confirmed to work can be found in the post below. Please report to me it it works or not so i can update this thread. If it doesn't work i try to make it compatible asap. )
Installation
1.) Full wipe (at least needed on first installation)
2.) Flash the app2sd Version of the ROM of your choice
3.) DONT REBOOT
4.) If you rebooted then start over at 1.)
5.) flash the attached "data2whatever.zip"
6.) now reboot
ADDITIONAL INFO: Even without "life on the edge" you should watch the first 4 "don't"s of "life on the edge". The normal script use the same disk safety methods as NTFS on Windows or EXT4 on linux. But as you know you shouldnt just switch off the computer because there can still be issues in very rare cases. Reboots with tools like "snqs power menu" is the same as a batterypull (or pulling the ac plug on PC) and this isn't good in general (and this also applies for using it with app2sd). If you want to go to recovery just make a normal shutdown and switch the phone on with "volume down" button pressed.
Optional life-on-the-edge add on
you can find this add on in melethron's original post, and try it on your own risk
This patch has the same effect as sibere's and ownhere's script (loop device - the way ownhere does in v4 doesnt work though). Other than those scripts it this addon doesnt need any repartitioning or other setup (like FAT or a third partition) and can simply be installed or removed with a flashable zip. All you need for this is a normal ext 2/3/4 partition (as above ^^). Ext4 is recommended for this (as above) since it is the fastest of those 3. This patch is more risky than normal ext3/4 considering the possibility of data loss. If you want to use this add-on you should watch the following (this also applys to ownheres and sibere script and is NOT more risky than their scripts):
- DON'T use the reboot of snq's powermenu (or any other reboot app)
- DON'T use anything in the "ROM Manager" that makes it reboot.
- DON'T do adb reboot / abd reboot recovery / adb reboot bootloader
- DON'T pull the battery while the phone is on (this should be obvious)
- DON'T remove the "sync" mount options for the Quadrant "boost" (this is a fake boost anyway)
All of this is like a powerloss for the sd-card and has a high change of data corruption.
From my test with this i give you an estimate what can happen if a powerloss occurs or any of the 5 points above happen:
- 50% general chance of corruption that will be autofixed on boot (not a problem)
- 10% chance of forcecloses after reboot of some apps (this can be fixed by deleting the app data or restoring it with titanium (or other) backup)
- REALLY tiny chance (didnt happen for me in over 40 "simulated" powerlosses) that partition gets corrupted (needs complete repartitioning of the microSD so all data on it will be gone then)
As long as you watch the 5 points above and as long as you don't drop the phone and the battery jumps out this will be safe.
Installation of the addon:
- Flash the "life-on-the-edge.zip" any time after you installed "data2whatever".
Installation of the addon:
- Flash the "life-on-the-edge-UNPATCH.zip" any time after you installed "data2whatever" and the addon. (this will revert back to the normal script)
Personal remark: While this is a improvement over normal ext4 it is not the "holy-grale" of a data2sd lag fix. I'm not using this myself and use a ReiserFS as second partition instead which is more safe and completly feels the same as a "loop" device considering performance.
--------------------------------------------------------------------------------
__________________________________________________________________________________
Dec14 info update:
I uploaded A mod script for CM6.1 stable by Carrol
Carrol changes the script to create a ext4 loop device on EXT4 partition.
Code:
$BUSYBOX mkdir /mnt/asec/extdata
if [ ! -e /data/data2sd.ext.finish ];
then
echo "+++Need create ext4 loopback device for data, please wait... this is 1/5 size of your ext partition"
extsize=`$BUSYBOX df /dev/block/mmcblk0p2|$BUSYBOX grep mmcblk0p2|$BUSYBOX awk '{print $2}'`
datasize=`$BUSYBOX expr $extsize / 5 / 1024`
$BUSYBOX dd if=/dev/zero of=/data/ext4 bs=1048576 count=$datasize
/system/xbin/mkfs.ext4 -b 4096 -m 0 -F -L userdata /data/ext4
/system/bin/tune2fs -o journal_data_writeback /data/ext4
/system/bin/e2fsck /data/ext4
#/system/bin/tune2fs -O ^has_journal /data/ext4
#$BUSYBOX mount -o loop,errors=continue,noatime,nodiratime,nosuid,nodev /data/ext4 /mnt/asec/extdata
$BUSYBOX mount -o loop,barrier=0,nobh,nouser_xattr,errors=continue,noatime,nodiratime,nosuid,nodev /data/ext4 /mnt/asec/extdata
$BUSYBOX chown 1000.1000 /mnt/asec/extdata
$BUSYBOX chmod 771 /mnt/asec/extdata
$BUSYBOX cp -a /data/data /mnt/asec/extdata/
sleep 1
$BUSYBOX umount /mnt/asec/extdata
sleep 1
$BUSYBOX touch /data/data2sd.ext.finish
fi
/system/bin/e2fsck -y -v -f /data/ext4
#$BUSYBOX mount -o loop,sync,errors=continue,noatime,nodiratime,nosuid,nodev /data/ext4 /mnt/asec/extdata
#$BUSYBOX mount -o loop,errors=continue,noatime,nodiratime,nosuid,nodev /data/ext4 /mnt/asec/extdata
$BUSYBOX mount -o loop,barrier=0,nobh,nouser_xattr,errors=continue,noatime,nodiratime,nosuid,nodev /data/ext4 /mnt/asec/extdata
$BUSYBOX chown 1000.1000 /mnt/asec/extdata
$BUSYBOX chmod 771 /mnt/asec/extdata
Note that this script is for CM6.1 stable only, only ONE EXT partition needed on your SDCard, and it will be formated into EXT4, do nanodroid before you try
Also a CM6.1 ROM with Data2Ext by Carrol can be found here
CM6.1 ROM with Data2Ext by Carrol
download: http://rom.anshouji.com/htc/N1/bbs.anshouji.com-N1-data2sd-20101213.zip
________________________________________________________
ownhere Data2Ext script V4
Data2ExtV4
2010/12/12 update V4 script:
/data/:ext4, disable journaling
/data/data:ext4 loopfile on ext4 device, enable journaling on ext4 device, disable journaling on ext4 loopfile, for fast and stable sqlite3 access.
really smooth this time
Click to expand...
Click to collapse
There's a version for Desire, which is here [DATA2EXT] [11/Dec] FULL BENCHMARK, V4, Improve the efficiency of IO
While improving IO efficiency, it moves all userdata to EXT so to avoid insufficient ROM space, cos the whole EXT is recognized as the internal ROM.
with ownhere's v4 script, I got my miui rom working, no data lost or crash after reboot/battery-removed:
1. miui rom 12.03 clean installation(a2sd+ script removed), then flash update.zip of v4 script. working. applying 12.03 to 12.10 and 12.10 to 12.11 ota packages, working.
2. miui rom 12.11 clean installation, flash v4 update.zip, working.
3. miui rom 12.11 with a2sd+ running, 38 apps installed and /data/data moved to ext. The v4 update.zip can still do the job.
However, one problem is that Root explorer couldnot display Chinese filenames of APK , showing only ???. and if install those apks via root explorer, it just reports errors...
Another thing i am not sure of is not knowing how much v4 script could improve when there is only 1 ext partition. According to ownhere, 2 ext partitions are needed to make the best out of his v4 script...
I attached the v4 updtae.zip - Data2ext_update.zip ,in case you might wanna try:
1. BEFORE you try this package, you need to remove the app2ext script(file like 04apps2sd or 01 apps2sd) from /system/etc/init.d, or you would only get bootloop going on and on
2. And of course, Nanodroid...
3. disable signature checking in recovery...
______________________________________________________________________________________________
I tried merging those files into MIUI N1 ROM.
When N1 boots for the 1st time, everything's working just fine.
Now we know the previous script is faking the Quadrant score...
Quadrant bechmark really rocks with I/O scoring 8000+ and a total score @ 3000+
But after reboot, there came some issues:
System config could not be saved;
Home button wouldn't work;
Flight mode and Quiet mode missing in the reboot menu...
Could someone pls help to rewrite the script to fit in N1 ROM?
I think people using N1 would interested in such a script or rom that brings N1 more I/O performance and more space for Apps.
But I have no knowledge of coding, don't know how to fix the issues above.
So I add download link of the script CREATED by ownhere, not by me, hoping someone could make a N1 MOD...
data2ext.zip
data2ext.zip is not a flashable package
Thanks!
mattrb said:
This goes in Q and A.
Also the answer is darktremor. A simple search of the the Nexus One Android Development gets that answer.
Click to expand...
Click to collapse
Sorry, but I don't think Darktremor Apps2SD script could do the job.
Since there is difference between Apps2SD and Data2Ext:
Apps2SD moves
/data/app, /data/app-private and /data/dalvik-cache to EXT
And with some commands /data/data could also be moved to EXT
But Data2Ext moves
/data/app to EXT4
/data/data to a virtual EXT2 device on EXT4, which is the trick to improve IO efficiency working at peak level...
SO I don't know if there is a answer fort this in Q&A...
this comes up after searching
G1 data2sd instruction works for the N1 i suppose ?
http://forum.xda-developers.com/showthread.php?t=527636&highlight=app2sd
**There is NO booting into recovery and wiping of the phone!**
My bad for not being clear on the wipe instructions!
1) (optional) If you are to wipe it (your choice it is not required), then press menu->settings->SD card & phone storage->scroll to bottom of screen and select "Factory data reset". This will wipe the /data partition only removing all apps and settings. BACKUP YOUR /data dir to sd, First or you will need to down load all your apps again to include paid apps!!
2) place data2sd.img in root of SDcard (fat32)
3) terminal in or adb shell in.
4) cp /sdcard/data2sd.sh to /data/local/bin - to copy the script to your user-space
5) chmod 0750 /data/local/bin/data2sd.sh - to make it executable
6) /data/local/bin/data2sd.sh or data2sd.sh may work to run the script
7) once the install is done it should tell you to reboot. If you had the ddms debugger running, you can observer the log as it is working.
8) done. It may boot a little longer if you clean-slate installed and then restored your apps by copying them back into /data/app and /data/app-private which has the affect of reinstalling everything, and thus the boot will take a while if you have alot of apps like I do. Again you can observe this as the Android boots if you have the debugger running.
Click to expand...
Click to collapse
I'm also confused, how does darktremor move all of that to ext? Please explain. I thought darktremor moves apps to ext. If you fail, then you sir are an idiot and gtfo.
A "simple" reread (If that's even enough, maybe 100x more for you) would've told you want he wanted.
Sorry for invading your post jayfallen!!
I for one, am glad you posted this and would like to try it once you get it going.
Try this: http://forum.xda-developers.com/showthread.php?t=853001
I recommend only moving the data of non-essential apps and those apps which DO NOT contain security sensitive data (games, Google Earth, etc. should be fine).
I edited the thread title, and added download link of the script created by ownhere.
someone might wanna take a look, if you're interested in bring your N1 more I/O performance and more space for Apps.
Thanks for everyone replying this thread. I will try your suggestions.
eVil's hd rom~
it's not work on the evil's hd sense?i try that last night~ but it's very hard!!!
i m abt to try this
http://www.miui.com/thread-10723-1-1.html?extra=page=1
wish me luck
the thread @ miui.com was posted by me earlier...
that rom is just experimental, if you don't reboot, everything works fine.
once rebooted, config lost and homebutton lost...
I don't know how to fix, that's why I start this thread @ xda, hoping someone could make it work for N1...
Wow this I want
Not sure if this can help..
Found a post on HiAPK (a Chinese Android discussion forum)
here's the link to the post:
http://www.hiapk.com/bbs/viewthread.php?tid=717815&extra=page=1&filter=type&typeid=211
And here's the link to the ROM:
http://rom.anshouji.com/htc/N1/bbs.anshouji.com-N1-data2sd-20101208.zip
The rom is said to be based on Cyanogen Mod 6.1 Stable, with data2EXT enabled by default.
The attached screenshot comes from a user of the data2Ext rom, note that the internal storage has 0.9GB left.
luciefer said:
it's not work on the evil's hd sense?i try that last night~ but it's very hard!!!
Click to expand...
Click to collapse
That because the current script will only move system/app to ext. There is nothing else in there to tell it to move any other folder, thus failing.
there's been new development...
as houzuoguo mentioned, a CM6.1stable+data2ext mod ROM is out, but there're still some issues
ownhere update his script to V3
http://forum.xda-developers.com/showthread.php?t=859419
1.change loopback device to real partition for powersave and better write performance.
2.disable second partition's journaling.
3.You need 3rd partition for /data/data. But even without the third partition of this script can also work(not stable). My partition settings:second partition:1.5G, thrid partition:0.5G
meanwhile, another new approach is coming out:
http://forum.xda-developers.com/showthread.php?t=868102
NILFS2 - data2nilf2 will be much faster then data2ext and won't have Lags.
whoa
i m glad there are so many new development out everyday
feel so good knowing the n1 is not being left behind
speaking of this is pretty freaking awesome
houzuoguo said:
Not sure if this can help..
Found a post on HiAPK (a Chinese Android discussion forum)
here's the link to the post:
http://www.hiapk.com/bbs/viewthread.php?tid=717815&extra=page=1&filter=type&typeid=211
And here's the link to the ROM:
http://rom.anshouji.com/htc/N1/bbs.anshouji.com-N1-data2sd-20101208.zip
The rom is said to be based on Cyanogen Mod 6.1 Stable, with data2EXT enabled by default.
The attached screenshot comes from a user of the data2Ext rom, note that the internal storage has 0.9GB left.
Click to expand...
Click to collapse
...
That is a huge improvement in IO!
Lets hope this reaches a stable state soon
I wonder why quadrant weighs so much on disk IO for the total score.
Would this be possible on other devices? lets say the g2?
Would someone mind explaining what tangible improvements this makes? Obviously there is an impressive boost in Quadrant scores, but I'm unsure what difference it makes to the actual operation of the device.
bcpk said:
Would someone mind explaining what tangible improvements this makes? Obviously there is an impressive boost in Quadrant scores, but I'm unsure what difference it makes to the actual operation of the device.
Click to expand...
Click to collapse
App2sd u get 512mb for ext3.
Data2ext u get at least 2gb for apps and stuff
Lol. Are u serious. For io scores it cheats. See the script. Fake ext2 for quadrant
truth to be told,they say TTL 2000+ and IO 3000 is the actual scroe...
Refer to the original post : ***FeraLab*** v11 ~The Rock~ ROM Update Android 2.3.7 | 6.0.A.3.62 | (08/03/2012)
Changes :
Updated Superuser to 3.0.7
Updated su binary to 3.0.3.2
Removed bootanimation.zip
CPU : smartassV2
Code:
maxcpuoff - 384000
maxcpuon - 1036800 (some phone may have problem with higher frequency)
mincpuoff - 128000
maxcpuoff - 128000
You can change the setting with SetCPU or any other cpu frequency changer.
Installation :
Code:
~ Download and copy to SDcard
~ Install ROM through xRecovery and Reboot
~ Before your first boot of this ROM, boot into xRecovery again (Wipe Cache, Wipe Dalvik Cache, Wipe Battery, Fix Permission) Reboot into ROM after that
~ At your first boot, wait 2-3 minutes .. and reboot again
~ After installation open script manager, open hw_config.sh found on your sd card foot directory, new window will now appear. There click on "Su" and "Boot" icons and click "Run" allow root access, wait a minute and then reboot.
~ You are now done, hope you enjoy it
Download : i will upload it later tonight
currently busying n my upload spd sux =.=
## 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...
Disclaimer Note :
Code:
[/COLOR][/SIZE][/B]
[SIZE="2"][B][COLOR="Blue"]
* By you using my Mods, Roms etc...
*[COLOR="red"] I am not responsible[/COLOR] for bricked devices, or dead SD cards, but I will try to help you if things go wrong.
* thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included in this ROM
* before flashing it! [COLOR="red"]YOU[/COLOR] are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.[/COLOR][/B][/SIZE]
Introduction :
After a great success of my previous ROM, I preset you to the [v2][HonamiUltraized][White Edition] More Faster! More Fluid! More Stable! And all bugs fixed from the previous [Black Edition]
Here's the HonamiUltraizeD ROM for the XPERIA SP, a combo of XPERIA Z Ultra and XPERIA Z1 Honami
This is a White Edition ROM
Code:
[/B][/COLOR][/SIZE][B][SIZE="3"][COLOR="Red"]Requirements :[/COLOR][/SIZE][/B]
[B][SIZE="2"][COLOR="blue"]- Root
- CWM/TWRP[/COLOR][/SIZE][/B]
ROM Description
- Offline charging bug fixed (need testors) to confirm. (works for me)
- Z Ultra/Honami Style
- Tested on both Locked and Unlocked Bootloaders
- Android 4.1.2 Jelly Bean
- Based on latest stock firmware 12.0.A.2.254
- Deodexed (For easy APK modding)
- Zipaligned APKs (Optimize RAM usage)
- init.d support (scripts can tweak system settings for better performance)
- De-Bloated (Removed unwanted bloatware for slimmer ROM)
- build.prop Tweaks (Improve performance and other tweaks)
- Better RAM management
- data/apps support
- sysro/sysrw support
- Slimmed down ROM size
- Very Stable
- Very Fluid
- Great Battery
- Texture Tiling enabled
- Forced automatic Texture compression
- X-Reality for Mobile (Replacing BRAVIA Engine 2)
- New Xperia Z Ultra Media Apps
- New Xperia Z Ultra Launcher
- New Xperia Z1 Themes/wallpapers
- Everything has been themed in white!
- Fully optimized and tweaked
- Improved Touch Sensitivity
- 3G Speed Tweakes
- WIFI Tweaks
- RAM Management
- Fully Bloatware free
- Zipaligned (Improved RAM management)
- Zipalign on boot (for user applications on data partition)
- Increased Battery Life
- Project Fluid
- Liquid Perfomance
- Fully Deodex
- Many script tweaks
- Rooted ( Busybox , SuperSU )
- Contains CWM for Locked bootloader
- Init.D Support and tweaks
Click to expand...
Click to collapse
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
All Tweaks description
build.prop tweaks description
Not all tweaks from build.prop has been used, you can find all the tweaks below and use them as per your needs.
Render using GPU and GPU Tweaks:
Code:
#enable harware egl profile
debug.egl.profiler=1
#16BIT transparency , Smother Scrolling
persist.sys.use_16bpp_alpha=1
#debug.composition.type=gpu
debug.composition.type=c2d
debug.performance.tuning=1
debug.enabletr=true
debug.qctwa.preservebuf=1
dev.pm.dyn_samplingrate=1
video.accelerate.hw=1
ro.vold.umsdirtyratio=20
debug.overlayui.enable=1
debug.egl.hw=1
ro.fb.mode=1
hw3d.force=1
persist.sys.composition.type=c2d
persist.sys.ui.hw=1
ro.sf.compbypass.enable=0
#Enable tile rendering
debug.enabletr=true
persist.sys.composition.type=gpu
#3d performance
persist.android.strictmode=0
ro.min_pointer_dur=1
ro.secure=0
Media Quality:
Code:
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.cam.preview.fps=0
ro.media.codec_priority_for_thumb=so
Liquid Smooth Ui:
Code:
persist.service.lgospd.enable=0
persist.service.pcsync.enable=0
Sensor Sleep:
Code:
# For sensor sleep control
ro.ril.sensor.sleep.control=1
Unlock fps limit:
Code:
debug.egl.swapinterval=0
Qualcomm tweaks:
Code:
com.qc.hardware=1
debug.qc.hardware=true
debug.qctwa.preservebuf=1
debug.qctwa.statusbar=1
Screen Glitches fix:
Code:
debug.gr.numframebuffers=3
3G network for speeding up :
Code:
ro.ril.set.mtu1472=1
Disable Logers (safe battery + performance gain)
Code:
ro.config.htc.nocheckin=1
ro.config.nocheckin=1
profiler.force_disable_ulog=1
profiler.force_disable_err_rpt=1
Touch tuning :
Code:
### Touch tuning ###
touch.presure.scale=0.001
Enable Hardware 3D :
Code:
hw3d.force=1
Save power while phone is in sleep mode:
Code:
ro.ril.disable.power.collapse=1
Better scrolling:
Code:
windowsmgr.max_events_per_sec=90
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
Support for ipv4 and ipv6.:
Code:
persist.telephony.support.ipv4=1
persist.telephony.support.ipv6=1
Better battery life:
Code:
pm.sleep_mode=1
usb_wakeup=enable
proximity_incall=enable
power_supply.wakeup=enable
ro.config.hw_power_saving=1
ro.config.hw_fast_dormancy=1
ro.config.hw_quickpoweron=true
persist.sys.use_dithering=0
#improve battery under no signal -- need test
ro.mot.eri.losalert.delay=1000
Code:
ro.config.vc_call_vol_steps=15
Increase overall scrool speed and enable rotation to 270 degree:
Better signal reception:
Code:
persist.cust.tel.eons=1
ro.config.hw_fast_dormancy=1
Enable 16 BIT:
Code:
debug.fb.rgb565=1
VM tweak:
Code:
ro.vold.umsdirtyratio=20
Better in call voice quality:
Code:
ro.ril.enable.amr.wideband
Signal Tweaks:
Code:
persist.cust.tel.eons=1
ro.ril.gprsclass=10
ro.ril.hsdpa.category=8
ro.ril.hsupa.category=6
ro.ril.hsxpa=1
net speed tweaks:
Code:
net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.hspda=4096,87380,256960,4096,16 384,256960
net.tcp.buffersize.hspa=4096,87380,256960,4096,163 84,256960
Wireless Tweaks:
Code:
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.route.flush=1
net.ipv4.tcp_ecn=0
net.ipv4.tcp_fack=1
net.ipv4.tcp_mem=187000 187000 187000
net.ipv4.tcp_moderate_rcvbuf=1
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_rfc1337=1
net.ipv4.tcp_rmem=4096 39000 187000
net.ipv4.tcp_sack=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_wmem=4096 39000 187000
Google DNS Tweak -- fastest DNS service:
Code:
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.ppp0.dns1=8.8.8.8
net.ppp0.dns2=8.8.4.4
net.dns1=8.8.8.8
net.dns2=8.8.4.4
Website Bypass:
Code:
net.dns1=8.8.8.8
net.dns2=8.8.4.4
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
DalvikVM:
Code:
dalvik.gc.type=precise
dalvik.vm.dexopt-data-only=1
#Enables register map for tracking objects to garbage collect. Might give a little more RAM at the cost of a few CPU cycles.
dalvik.vm.dexopt-flags=m=v,o=y
dalvik.vm.jniopts=forcecopy
dalvik.vm.lockprof.threshold=500
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.verify-bytecode=false
Launcher tweaks: Testers needed
Code:
# Keep launcher in memory
ro.HOME_APP_ADJ=1
# Won't let memory managers to kill Launcher
ro.PERCEPTIBLE_APP_ADJ=2
#ro.HOME_APP_MEM=2048
Kernel Tweaks: (Should speed things up a bit)
Code:
# Disable error checking
ro.kernel.checkjni=0
ro.kernel.android.checkjni=0
Allow purging of assets (System can free more Ram when needed):
Code:
persist.sys.purgeable_assets=1
Disabling Strict mode:
Code:
# Disable strict mode checking
persist.android.strictmode=0
Disable WiFi calling for EU models:
Code:
ro.ril.enable.ganlite=0
Decrease dial out delay:
Code:
ro.telephony.call_ring.delay=0
ring.delay=0
Decrease time for screen off/on during call:
Code:
ro.lge.proximity.delay=25
mot.proximity.delay=25
ro.mot.buttonlight.timeout=0
Makes streaming videos stream faster:
Code:
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-record=true
For quick boot mode:
Code:
# persist.sys.shutdown.mode=hibernate
ro.config.hw_quickpoweron=true
Hide debuging icon from taskbar:
Code:
persist.adb.notify=0
persist.service.adb.enable=1
For the default value of aGPS:
Code:
ro.ril.def.agps.mode=2
ro.ril.def.agps.feature=1
Enable egl profiler - enable harware egl profile:
Code:
debug.egl.profiler=1
enable/disable data in roaming:
Code:
#ro.com.android.dataroaming=true
ro.com.android.dataroaming=false
Script tweaks description
Special Thanks to Jeeko bro for the PurePerformances™X | Golden Edition
One of the best scripts ever made on XDA
FEATURES:
Code:
- Android performances improved at 360°
- Radically improved management ram on android (Lags...adios!)
- Script lightweight and revised to be adapted to this engine
- Improves a lot the graphics: of course Pure Graphic™HD, Pure Dithering Plus™ and... AOSPA 3.60 system tweaks
- Scan multimedia time drastically reduced
- Network Improvements, 3G experience even in 2G modality
- All SQlite database optimized
- Enable hardware features turned off by default for a better experience on entry level devices
- Greatly increases the score AnTuTu: Try it to believe it!!
- Reduces the startup time of Android
- A version for stock rom and one for CM, to squeeze any roms!
- Allows you to play ported games without lags
- Cleans the system every 24 hours, thecache every week and the Dalvik every month (cronos easter egg)
- Automatically Zipalign on each boot (sensitive to the user)[/COLOR]
Battery:
Code:
- Drastically decreased the drainage of battery
- Check the activities that consume too much battery stop them with PureWakelocks™
- When the phone is charging reduces system services for faster charging
- The battery is calibrated on every boot
- Disable animation of the system when the battery is nearly exhausted
- Improvements in build.prop as regards the part of consumption
Graphics, Screen, Images
Code:
- Enables a non-aggressive dithering to save CPU
- When you lock the device, the engine makes sure that the GPU is turned off
- Enables deep sleepalso in the bugged rom
- Parts of bravia engine
- parts of CrossBreeder (credits to dev)
- parts of Adrenaline Engine (credits to dev)
- PureGraphics HD
- V6 supercharger
- Generates video entropy (like seeder)
CPU, Governors, I/O Schedulers
Code:
- Slightly improves the scaling of the frequencies (for better results you need a good kernel)
- Lightens the load on the CPU switching the workload to GPU rendering
- Enable the swap partition in Android (experimental)
Init.D Tweaks description
Code:
1. strict minfree handler tweak
echo "2048,3072,6144,15360,17920,20480" > /sys/module/lowmemorykiller/parameters/minfree
Code:
2. internet speed tweaks
echo "0" > /proc/sys/net/ipv4/tcp_timestamps;
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse;
echo "1" > /proc/sys/net/ipv4/tcp_sack;
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling;
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes;
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl;
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout;
echo "404480" > /proc/sys/net/core/wmem_max;
echo "404480" > /proc/sys/net/core/rmem_max;
echo "256960" > /proc/sys/net/core/rmem_default;
echo "256960" > /proc/sys/net/core/wmem_default;
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem;
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem;
Code:
3. vm management tweaks
echo "4096" > /proc/sys/vm/min_free_kbytes
echo "0" > /proc/sys/vm/oom_kill_allocating_task;
echo "0" > /proc/sys/vm/panic_on_oom;
echo "0" > /proc/sys/vm/laptop_mode;
echo "0" > /proc/sys/vm/swappiness
echo "50" > /proc/sys/vm/vfs_cache_pressure
echo "90" > /proc/sys/vm/dirty_ratio
echo "70" > /proc/sys/vm/dirty_background_ratio
Code:
4. misc kernel tweaks
echo "8" > /proc/sys/vm/page-cluster;
echo "64000" > /proc/sys/kernel/msgmni;
echo "64000" > /proc/sys/kernel/msgmax;
echo "10" > /proc/sys/fs/lease-break-time;
echo "500,512000,64,2048" > /proc/sys/kernel/sem;
Code:
5. battery tweaks
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs
Code:
6. EXT4 tweaks (greatly increase I/O)
(needs /system, /cache, /data partitions formatted to EXT4)
a) removes journalism
tune2fs -o journal_data_writeback /block/path/to/system
tune2fs -O ^has_journal /block/path/to/system
tune2fs -o journal_data_writeback /block/path/to/cache
tune2fs -O ^has_journal /block/path/to/cache
tune2fs -o journal_data_writeback /block/path/to/data
tune2fs -O ^has_journal /block/path/to/data
b) perfect mount options
busybox mount -o remount,noatime,noauto_da_alloc,nodiratime,barrier =0,nobh /system
busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodir atime,barrier=0,nobh /data
busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodir atime,barrier=0,nobh /cache
Code:
7. Flags blocks as non-rotational and increases cache size
LOOP=`ls -d /sys/block/loop*`;
RAM=`ls -d /sys/block/ram*`;
MMC=`ls -d /sys/block/mmc*`;
for j in $LOOP $RAM
do
echo "0" > $j/queue/rotational;
echo "2048" > $j/queue/read_ahead_kb;
done
Code:
8. microSD card speed tweak
echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
Code:
9. Defrags database files
for i in
`find /data -iname "*.db"`
do
sqlite3 $i 'VACUUM;';
done
Code:
10. Ondemand governor tweaks
Code:
SAMPLING_RATE=$(busybox expr `cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency` * 750 / 1000)
echo 95 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo $SAMPLING_RATE > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
Code:
11. Auto change governor and I/O Scheduler
a) I/O Scheduler (Best: MTD devices - VR; EMMC devices - SIO) - needs kernel with these
echo "vr" > /sys/block/mmcblk0/queue/scheduler
or
echo "sio" > /sys/block/mmcblk0/queue/scheduler
b) Governor (Best: Minmax > SavagedZen > Smoothass > Smartass > Interactive) - needs kernel with these
echo "governor-name-here" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
12. Auto-zipalign on boot
(needs zipalign bin)
Code:
12. Move dalvik-cache to cache partition (if it's big enough) to free up data partition space
CACHESIZE=$(df -k /cache | tail -n1 | tr -s ' ' | cut -d ' ' -f2)
if [ $CACHESIZE -gt 80000 ]
then
echo "Large cache detected, moving dalvik-cache to /cache"
if [ ! -d /cache/dalvik-cache ]
then
busybox rm -rf /cache/dalvik-cache /data/dalvik-cache
mkdir /cache/dalvik-cache /data/dalvik-cache
fi
busybox chown 1000:1000 /cache/dalvik-cache
busybox chmod 0771 /cache/dalvik-cache
# bind mount dalvik-cache so we can still boot without the sdcard
busybox mount -o bind /cache/dalvik-cache /data/dalvik-cache
busybox chown 1000:1000 /data/dalvik-cache
busybox chmod 0771 /data/dalvik-cache
else
echo "Small cache detected, dalvik-cache will remain on /data"
fi
Code:
13. Disable normalize sleeper
mount -t debugfs none /sys/kernel/debug
echo NO_NORMALIZED_SLEEPER > /sys/kernel/debug/sched_features[/COLOR][/HIDE]
Code:
+/system/etc/init.d/ scripts :
-ram_manager: It's a complete memory manager
-92cleaner: Cleans log files and tombstones at every boot.
-09sdcardspeedfix: Set SDCard readahead speed to 2048 KB.
-darky_zipalign: Zipalign apps in "/system" at every booting.
-zipaligndata: Zipalign apps in "/data" every 48 hours.
-98fly_engine: Contains various tweaks and improvements. (3G/VM/sysctl/kernel/battery life tweaks etc.)
-sqlite_optimize: Optimizing database of apps every 48 hours.
-93kill_media_server: Kills media server when unused to save battery .
-94Governor_tweaks: Tweaks for CPU governors,It's aimed on better performance and battery backup.
+/system/xbin/ :
-sqlite3
-zipalign
-Openvpn
+/system/etc/rngd/ :
-entro
-entropy
-rngd
+/system/lib/
-libncurses.so .
Features and Improvements (Init.D) :
Code:
- Full memory management.
- Linux kernel tweaks and improvements for better performance and battery life.
- Entropy generator engine used to reduce lags.
- Zipalign apps in "/system" and apps in "/data" every 48 hours which result in less RAM usage.
- Sqlite optimizations and faster database access.
- CPU governors tweaks and improvements for better performance and battery life.
- Increased SD Card read-ahead cache to 2048 KB .
- Ad blocking.
- Build.prop tweaks and improvements.
- Cleans log files and tombstones at every boot.
- Many other tweaks for better performance and battery life!
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This ROM is based on 2.254 Firmware
Whats New In This ROM
Screenshot & Features
Setup Wizard
{
"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"
}
New settings added (Internet Connection, Preferred Applications, Accounts Exchange/Sync
Click to expand...
Click to collapse
Home, SystemUI, Widgets, Small Apps
New Home Launcher from XPERIA Z Ultra
New Widgets
Walkman widget themed in white
Honami battery icon
Many small apps added (walkman, converter, web, mirror, camera, toggle, currency and more.
Click to expand...
Click to collapse
Sony Sketch
Official drawing app from XPERIA Z Ultra ported to our XPERIA SP
Click to expand...
Click to collapse
Update Center
Themed in white
New Device icon
Click to expand...
Click to collapse
Alarms & Clocks
Honami style clocks
Themed in white
New User Interface
Click to expand...
Click to collapse
Calendar
All backgrounds, icons, menu and fonts themed in white.
New User Interface
Click to expand...
Click to collapse
Lockscreen
Auto-Rotation enabled
Click to expand...
Click to collapse
Power Management
Stamina Mode widget added
Stamina Mode themed in white under settings
Stamina Mode toggle added in docomo status bar and quick settings
Click to expand...
Click to collapse
Phonebook, Conversation & Dialer
All backgrounds, icons, menu and fonts themed in white.
Call recording option added.
Speed dial added.
Mobile Data notification when disable removed.
Z Ultra keyboard
Wide Screen picture on incoming & outgoing calls in dialer
Click to expand...
Click to collapse
Settings
All backgrounds, icons, menu and fonts themed in white.
X-Reality replaces Bravia Engine 2
Honami style settings/icons
S-Force Front Surround 3D added
Dock option added
Throw, LTE and Stamina toggles in quick settings
Click to expand...
Click to collapse
Media Apps
New Media apps from XPERIA Z Ultra
Social Media integration
S-Force Front Surround 3D added
Sound Enhancements themed in white
Music Widget themed in white
Click to expand...
Click to collapse
Sony Notes
All backgrounds, icons, menu and fonts themed in white.
Click to expand...
Click to collapse
Themes
New themes, wallpapers and sounds from XPERIA Z1/Honami
Click to expand...
Click to collapse
Calculator
Themed in white
New layout
Click to expand...
Click to collapse
Download Provider
All backgrounds, icons, menu and fonts themed in white.
Click to expand...
Click to collapse
Features to come
Honami framework (soon 1-2 weeks) (done)
Aroma Installer (whitemamba will do that ) (DONE)
White Media apps (will take lots of time)
Click to expand...
Click to collapse
List of deleted Apps/Bloatware :
Code:
GenieWidget
Gmail
GMS_Maps
facebook
talk
talkback
GoogleTTS
PlusOne
velvet
socialife
googlebooks
googlevideos
SemcNotes
youtube
livewaremanager
xperialink
sonystore
SemcEmail
chrome
VideoEditorGoogle
many more cant remember :p
THREAD RULES :
Code:
- Do not quote the whole OP
- Do not Spam
- Do not post unwanted stuff/questions
- Do not take out anything from my ROM and publish it, take permissions from me first!
- For better development of this ROM, use feature requests or bug reports sections and not ask them in the thread, it will be difficult for me.
XDA:DevDB Information
HonamiUltraizeD, A ROM For XPERIA SP, a ROM for the Sony Xperia SP
Contributors
RuchRha, whitemamba
ROM OS Version: 4.1.x Jelly Bean
ROM Kernel: Linux 3.4.x
ROM Firmware Required: 12.0.A.2.254
Version Information
Status: Stable
Current Stable Version: 1
Stable Release Date: 2013-09-21
Created 2013-09-21
Last Updated 2013-12-25
Installation Instructions / F.A.Q's
Installation Instructions :
Fresh installation "Recommended to flash this ROM on a newly flashed ftf" :
Locked Bootloader
- Flash this ROM "ONLY" on Sony's latest firmware 4.1.2, 12.0.A.2.254 (Do not expect much help from me if you flash it on any other firmware and get messed up)
- Root using DoomLord's method http://forum.xda-developers.com/showthread.php?t=2405933
- Install CWM for Locked Bootloaders http://forum.xda-developers.com/showthread.php?t=2352920
- Reboot in recovery/CWM > Wipe Data/Factory Reset > Mounts & Storage > Format System > Mount System
- Flash the rom and reboot (reboot may take some time, don't panic)
Unlocked Bootloader
- Flash this ROM "ONLY" on Sony's latest firmware 4.1.2, 12.0.A.2.254 (Do not expect much help from me if you flash it on any other firmware and get messed up)
- fastboot flashboot @alivanov79's Dual Recovery (CWM/TWRP) with autoroot (TWRP) recommended to flash this ROM for unlocked bootloaders : http://forum.xda-developers.com/showthread.php?t=2404452
- If you don't know much about fastboot and flashing kernels root using DooMLord's method : http://forum.xda-developers.com/showthread.php?t=2405933
- Install CWM for Locked/Unlocked Bootloaders http://forum.xda-developers.com/show....php?t=2352920
- Reboot in recovery/CWM/TWRP > Wipe Data/Factory Reset
- Flash the ROM and reboot (reboot may take some time, don't panic)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
F.A.Q's
Q1 - Is this ROM for locked bootloader or unlocked bootloader?
A1 - It's for both, just follow the Installation Instructions thoroughly.
Q2 - Can I install this ROM on C5303/06
A2 - You can install this ROM on all SP models, just test and let me know if LTE is working for C5303/06
Q3 - Why in Installation Instructions it's mentioned "Flash this ROM "ONLY" on Sony's latest firmware 4.1.2, 12.0.A.2.254 Firmware"
A3 - Because this ROM is completely based on 12.0.A.2.254, and I have tried installing this ROM on different firmwares and it gives lots of error, so "DO NOT" flash this ROM on any firmware other than 12.0.A.2.254
Q4 - I see too many tweaks in the ROM of init.d and other script, will it not make the device unstable?
A4 - No, All those tweaks are to optimize the Android, so none of the tweaks will make it unstable.
Notes / Donations / Change-Log's
NOTES :
- Fully Tested on Locked and Unlocked Bootloaders.
- This ROM is for C5302, you can use it on C5303 or C5306, but I am not sure if 4G will work. (test and let me know)
- I am not responsible for any damages caused to your device.
- If you appreciate my hard work hit thanks and rate or even donate.
-----------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------
Change-Log's
HonamiUltraizeD White Edition v2
Code:
- Based on lastest 12.0.A.2.254 stock firmware
- Removed Boltware
- Liquid Perfomance
- Build.prop tweaks
- Init.d support and tweaks
- Themed completely in white
- System apps updated
- Pre rooted
- Busybox installed
- Project fluid
- Pure perfomance
- Honami settings
- Z Ultra media apps
- Lockscreen rotation enabled
- Fully deodexed system apps and framework
- AROMA installer (soon)
- Honami X-Reality
- Honami toggles
- Honami Stamina widget
- various navigation bar sizes in aroma (soon)
- Honami Small Apps
- Disabled system signature check
- S-Force Front Sourround 3D
- Honami Phonebook (white)
- Honami conversations (white)
- call recording
- disable data notification
- wide screen picture in dialer
- supercharged services.jar
24-09-13
Code:
Aroma edition added
25-12-13
Code:
Honami framework added
Honami SystemUI added
Several bug fixes
All smallapps from xperia z1 added and few additional also
Downloads / Add-On's
Do not mind hitting the thanks button on all posts if you downloaded/liked my ROM
DO NOT MIRROR ANY OF MY FILES!!!
[ROM][XPERIA SP][C5302/3/6][12.0.A.2.254][White Edition][HonamiUltraizeD] (WITHOUT AROMA)
Download :
https://docs.google.com/file/d/0Byz6G_tHImWQZzJxZ3loOVlDNVU/edit?usp=sharing
[ROM][XPERIA SP][C5302/3/6][12.0.A.2.254][White Edition][HonamiUltraizeD] (WITH AROMA)
Download :
https://mega.co.nz/#!W5R2hbKT!FJNJt1-cZoLlbuJxSl1DOQb_Ti42glI83uUmtCHk3WM
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Add-On's
HonamiUltraizeD v3
Download :
http://www.mediafire.com/download/h04f7k44fs89baw/HonamiUltraizeD update v3.zip
Credits
Credits -
Code:
[B][COLOR="Blue"]whitemamba for contribution
praths44 for many things specially for the awesome tutorials
niaboc79 for phonebook and conversations port
Samarth for all Z Ultra stuff from system dump
Gracie for fixing parse errors
slaid480 for scripts explanation
Aneel for many of build.prop tweaks
ZeroInfinity for Sforce Surround Sound
Jeeko for best scripts ever on XDA
alivanov79 for CWM and TWRP
Sahaab for calculator port
Quinny for a small tut on how-to themeing apps in white
nila for guidance on adding small toggles
DoomLord for rooting method
jjwrongjj for latest walkman port
Sandy7 for great guides on xda
spex for Project Fluid
XDA.AGM for helping Sony Sketch to work
Sony for making awesome stuff to work on
everyone else involved in this
XDA
Last but not the least, you all for downloading and hitting thanks :p
sorry if I forgot to mention anyone :p[/COLOR][/B]
Donations
PayPal Donations
Please do the following :
-Sign in to your PayPal account page
-Go to 'Send Payment'
-Enter my email id "[email protected]"
-option "Personal payment" doesn't work for India, please set "Online purchases". and check Goods or Service (preferably service)
-Make the payment of the desired amount of donation you want to send.
Or use the Donate button below my avatar.
Thank you for your kind Donations!
RuchRha said:
downloads
Click to expand...
Click to collapse
where are they :laugh:
I think i will install this Rom immediately appear, looks great and thoughtful. :good: :silly:
But in the screenshot I miss something.
Button "Close All" to resent apps and of course with a somewhat smaller (40px) Navbar with 5 button.
I hope there is a functioning stock Browser.apk, Stock XS Theme and full Powertoggles come too. :laugh:
heross said:
where are they :laugh:
I think i will install this Rom immediately appear, looks great and thoughtful. :good: :silly:
But in the screenshot I miss something.
Button "Close All" to resent apps and of course with a somewhat smaller (40px) Navbar with 5 button.
I hope there is a functioning stock Browser.apk, Stock XS Theme and full Powertoggles come too. :laugh:
Click to expand...
Click to collapse
All that will be Add-On's
finally... Waiting Download LINK :good::good::good:
dosimple12 said:
finally... Waiting Download LINK :good::good::good:
Click to expand...
Click to collapse
94% uploaded
heross said:
where are they :laugh:
I think i will install this Rom immediately appear, looks great and thoughtful. :good: :silly:
But in the screenshot I miss something.
Button "Close All" to resent apps and of course with a somewhat smaller (40px) Navbar with 5 button.
I hope there is a functioning stock Browser.apk, Stock XS Theme and full Powertoggles come too. :laugh:
Click to expand...
Click to collapse
RuchRha said:
All that will be Add-On's
Click to expand...
Click to collapse
RuchRha said:
94% uploaded
Click to expand...
Click to collapse
Download links added in Downloads and Add-On's section
RuchRha said:
94% uploaded
Click to expand...
Click to collapse
yeayy.... finally... Vamos Vamos.. get ready to download
Seems like same ROM with better features and porting...
Downloading... The AROMA version should be up by tomorrow.
sadique_shiblee said:
Seems like same ROM with better features and porting...
Click to expand...
Click to collapse
Few extra stuff to come, main is framework, it's a bit messy, coz framework gives bootloops after decompiling it once wether edit or just recompile, but I got some great devs helping in this, so framework shall be the biggest feature in this ROM
RuchRha said:
Few extra stuff to come, main is framework, it's a bit messy, coz framework gives bootloops after decompiling it once wether edit or just recompile, but I got some great devs helping in this, so framework shall be the biggest feature in this ROM
Click to expand...
Click to collapse
Not only in this ROM. The whole SP thread...
Btwn Reboot , Reboot To Recovery and blah blah is available in Power Menu Option ? Because i dont see that in Change logs...
Rajeev said:
Not only in this ROM. The whole SP thread...
Btwn Reboot , Reboot To Recovery and blah blah is available in Power Menu Option ? Because i dont see that in Change logs...
Click to expand...
Click to collapse
Oops, in a hurry to release this I forgot to add them
RuchRha said:
Oops, in a hurry to release this I forgot to add them
Click to expand...
Click to collapse
Ha ha ha i like it... No problem., An addon will b perfect.. Can get one now... ? Its the must needed one... :good:
RuchRha said:
Few extra stuff to come, main is framework, it's a bit messy, coz framework gives bootloops after decompiling it once wether edit or just recompile, but I got some great devs helping in this, so framework shall be the biggest feature in this ROM
Click to expand...
Click to collapse
Are you porting the full Honami framework or just theming it?
If you are porting the full framework (with all the new stuff and infinite small apps) directly from the Honami ROMs (of Xperia Z or Z1), then I can't help you.
Refer to this if you have bootloops even with just recompiling: http://forum.xda-developers.com/showthread.php?t=2321207
Also, you have to install SemcUxpGenericRes.apk first before decompiling framework-res.apk by using
Code:
apktool if SemcUxpGenericRes.apk
By the way, use the framework-res.apk from here: http://forum.xda-developers.com/showthread.php?t=2405874
It did not give me bootloops while recompiling.
Hope this helps
Rajeev said:
Ha ha ha i like it... No problem., An addon will b perfect.. Can get one now... ? Its the must needed one... :good:
Click to expand...
Click to collapse
Sure, will give it's add-on soon, cant now, it's raining hardly here and my net is screwed up, using mobile now so by tomorrow I'll give it.
Note : I'm just sharing the work of the XDA Member KineichiNxt.This mod was tested on Hyperion 8 Build 02.I'm not sure whether it will work on CM7/AOSP roms or not.Please try and report here.
|Hyper Cola script|
- |Xreality engine|
- |Bravia engine|
- |VM tweaks|
- |Darky Zipalign|
- |Rederfrag tweaks|
- |Toucshcreen tweaks|
- |Kernel tweaks|
- |Governor - IO optimalization|
- |Low Memory Killer Tweaks|
- |NxEngine Ram Tweaks|
- |SqLite3|
REQUIREMENTS:
- Android 2.3+
- Busybox
- Rooted
- CWM/TWRP
- Download the zip file given below
- Copy to your sdcard
- Extract this zip file
- the contents of the package is:
- FMR.apk
- NxEngine optimizer
- Kernel Loader [For activation init.d]
- NxEngine driver
- Go to CWM/TWRP
- First install the kernel loader , done
- And next install the NxEngine optimizer
- Next install the nx engine driver
- Done , Reboot
- Next instal the APK and clean
- enjoy...
Downloads : http://forum.xda-developers.com/attachment.php?attachmentid=2395372&d=1384604752
1.For activate nx engine entropy generator
Code:
su [enter]
nxengine_install [enter]
2.For activate hyper cola script
Code:
su [enter]
hc [enter]
3.For check entropy value after instal nx engine entropy generator
Code:
su [enter]
nxengine [enter]
4.For uninstall this tweaks
Code:
su [enter]
uninstall [enter]
Original Thread : http://forum.xda-developers.com/showthread.php?t=2529542
Credits ; KineichiNxt
i have try it on rom cm7.2 by percy and i think is working but i don't know very good
Nice brotha , ini yang gua suka dari indonesia ,