[ROM][AROMA][XPERIA SP][C5302/3/6][12.0.A.2.254][White Edition][HonamiUltraizeD]

Search This thread

ruchirtrehan

Senior Member
Aug 1, 2013
726
1,250
Gurgaon
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


----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

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

4woZP.png


New settings added (Internet Connection, Preferred Applications, Accounts Exchange/Sync

Home, SystemUI, Widgets, Small Apps

4wp6v.jpg


4wp6M.jpg


4wp7K.png


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.

Sony Sketch

4wpbj.png


4wpbG.png


Official drawing app from XPERIA Z Ultra ported to our XPERIA SP

Update Center

4wpdg.jpg


Themed in white
New Device icon


Alarms & Clocks

4wpfy.jpg


Honami style clocks
Themed in white
New User Interface

Calendar

4wpi0.jpg


All backgrounds, icons, menu and fonts themed in white.
New User Interface


Lockscreen

4wpka.png


Auto-Rotation enabled

Power Management

4wpli.png


Stamina Mode widget added
Stamina Mode themed in white under settings
Stamina Mode toggle added in docomo status bar and quick settings

Phonebook, Conversation & Dialer

4wpns.jpg


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

Settings

4wpq0.jpg


4wpqg.jpg


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

Media Apps

4wpzL.jpg


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

Sony Notes

4wptU.png


All backgrounds, icons, menu and fonts themed in white.

Themes

4wpwj.png


New themes, wallpapers and sounds from XPERIA Z1/Honami

Calculator

4wpFW.png


Themed in white
New layout

Download Provider

4wpxc.png


All backgrounds, icons, menu and fonts themed in white.

Features to come
Honami framework (soon 1-2 weeks) (done)
Aroma Installer (whitemamba will do that :p) (DONE)
White Media apps (will take lots of time)

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
 

ruchirtrehan

Senior Member
Aug 1, 2013
726
1,250
Gurgaon
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://xdaforums.com/showthread.php?t=2405933

- Install CWM for Locked Bootloaders http://xdaforums.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://xdaforums.com/showthread.php?t=2404452

- If you don't know much about fastboot and flashing kernels root using DooMLord's method : http://xdaforums.com/showthread.php?t=2405933

- Install CWM for Locked/Unlocked Bootloaders http://xdaforums.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.
 
Last edited:

ruchirtrehan

Senior Member
Aug 1, 2013
726
1,250
Gurgaon
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
 
Last edited:

ruchirtrehan

Senior Member
Aug 1, 2013
726
1,250
Gurgaon
Downloads / Add-On's

Do not mind hitting the thanks button on all posts if you downloaded/liked my ROM :p

DO NOT MIRROR ANY OF MY FILES!!!

[ROM][XPERIA SP][C5302/3/6][12.0.A.2.254][White Edition][HonamiUltraizeD] (WITHOUT AROMA)

Download :

[ROM][XPERIA SP][C5302/3/6][12.0.A.2.254][White Edition][HonamiUltraizeD] (WITH AROMA)

Download :

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Add-On's

HonamiUltraizeD v3

Download :
 
Last edited:

ruchirtrehan

Senior Member
Aug 1, 2013
726
1,250
Gurgaon
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]
 
Last edited:

ruchirtrehan

Senior Member
Aug 1, 2013
726
1,250
Gurgaon
Donations

PayPal Donations


Please do the following :

-Sign in to your PayPal account page
-Go to 'Send Payment'
-Enter my email id "whitemamba_seller@yahoo.in"
-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! :)
 
Last edited:

heross

Senior Member
Oct 14, 2007
826
208

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:
 
  • Like
Reactions: Zorigo

ruchirtrehan

Senior Member
Aug 1, 2013
726
1,250
Gurgaon
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:

All that will be Add-On's ;)
 

ruchirtrehan

Senior Member
Aug 1, 2013
726
1,250
Gurgaon
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:

All that will be Add-On's ;)


Download links added in Downloads and Add-On's section ;)
 

Rajeev

Recognized Contributor
Nov 24, 2012
16,306
26,540
Chennai , I N D I A
Xiaomi 13 Pro
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 ;)

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...
 

whitemamba

Senior Member
Apr 28, 2012
647
1,385
Singapore
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 ;)

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://xdaforums.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://xdaforums.com/showthread.php?t=2405874

It did not give me bootloops while recompiling. :)

Hope this helps
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 45
    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


    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    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

    4woZP.png


    New settings added (Internet Connection, Preferred Applications, Accounts Exchange/Sync

    Home, SystemUI, Widgets, Small Apps

    4wp6v.jpg


    4wp6M.jpg


    4wp7K.png


    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.

    Sony Sketch

    4wpbj.png


    4wpbG.png


    Official drawing app from XPERIA Z Ultra ported to our XPERIA SP

    Update Center

    4wpdg.jpg


    Themed in white
    New Device icon


    Alarms & Clocks

    4wpfy.jpg


    Honami style clocks
    Themed in white
    New User Interface

    Calendar

    4wpi0.jpg


    All backgrounds, icons, menu and fonts themed in white.
    New User Interface


    Lockscreen

    4wpka.png


    Auto-Rotation enabled

    Power Management

    4wpli.png


    Stamina Mode widget added
    Stamina Mode themed in white under settings
    Stamina Mode toggle added in docomo status bar and quick settings

    Phonebook, Conversation & Dialer

    4wpns.jpg


    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

    Settings

    4wpq0.jpg


    4wpqg.jpg


    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

    Media Apps

    4wpzL.jpg


    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

    Sony Notes

    4wptU.png


    All backgrounds, icons, menu and fonts themed in white.

    Themes

    4wpwj.png


    New themes, wallpapers and sounds from XPERIA Z1/Honami

    Calculator

    4wpFW.png


    Themed in white
    New layout

    Download Provider

    4wpxc.png


    All backgrounds, icons, menu and fonts themed in white.

    Features to come
    Honami framework (soon 1-2 weeks) (done)
    Aroma Installer (whitemamba will do that :p) (DONE)
    White Media apps (will take lots of time)

    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
    25
    Downloads / Add-On's

    Do not mind hitting the thanks button on all posts if you downloaded/liked my ROM :p

    DO NOT MIRROR ANY OF MY FILES!!!

    [ROM][XPERIA SP][C5302/3/6][12.0.A.2.254][White Edition][HonamiUltraizeD] (WITHOUT AROMA)

    Download :

    [ROM][XPERIA SP][C5302/3/6][12.0.A.2.254][White Edition][HonamiUltraizeD] (WITH AROMA)

    Download :

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Add-On's

    HonamiUltraizeD v3

    Download :
    20
    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://xdaforums.com/showthread.php?t=2405933

    - Install CWM for Locked Bootloaders http://xdaforums.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://xdaforums.com/showthread.php?t=2404452

    - If you don't know much about fastboot and flashing kernels root using DooMLord's method : http://xdaforums.com/showthread.php?t=2405933

    - Install CWM for Locked/Unlocked Bootloaders http://xdaforums.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.
    20
    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
    11
    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]