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:
Media Quality:
Liquid Smooth Ui:
Sensor Sleep:
Qualcomm tweaks:
Screen Glitches fix:
3G network for speeding up :
Disable Logers (safe battery + performance gain)
Touch tuning :
Enable Hardware 3D :
Save power while phone is in sleep mode:
Better scrolling:
Support for ipv4 and ipv6.:
Better battery life:
Better signal reception:
Enable 16 BIT:
VM tweak:
Signal Tweaks:
net speed tweaks:
Wireless Tweaks:
Google DNS Tweak -- fastest DNS service:
DalvikVM:
Launcher tweaks: Testers needed
Kernel Tweaks: (Should speed things up a bit)
Allow purging of assets (System can free more Ram when needed):
Disable WiFi calling for EU models:
Decrease dial out delay:
Decrease time for screen off/on during call:
Makes streaming videos stream faster:
For quick boot mode:
Hide debuging icon from taskbar:
For the default value of aGPS:
Enable egl profiler - enable harware egl profile:
enable/disable data in roaming:
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
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
Code:
persist.service.lgospd.enable=0
persist.service.pcsync.enable=0
Code:
# For sensor sleep control
ro.ril.sensor.sleep.control=1
Unlock fps limit:
Code:
debug.egl.swapinterval=0
Code:
com.qc.hardware=1
debug.qc.hardware=true
debug.qctwa.preservebuf=1
debug.qctwa.statusbar=1
Code:
debug.gr.numframebuffers=3
Code:
ro.ril.set.mtu1472=1
Code:
ro.config.htc.nocheckin=1
ro.config.nocheckin=1
profiler.force_disable_ulog=1
profiler.force_disable_err_rpt=1
Code:
### Touch tuning ###
touch.presure.scale=0.001
Code:
hw3d.force=1
Code:
ro.ril.disable.power.collapse=1
Code:
windowsmgr.max_events_per_sec=90
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
Code:
persist.telephony.support.ipv4=1
persist.telephony.support.ipv6=1
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:
Code:
persist.cust.tel.eons=1
ro.config.hw_fast_dormancy=1
Code:
debug.fb.rgb565=1
Code:
ro.vold.umsdirtyratio=20
Better in call voice quality:
Code:
ro.ril.enable.amr.wideband
Code:
persist.cust.tel.eons=1
ro.ril.gprsclass=10
ro.ril.hsdpa.category=8
ro.ril.hsupa.category=6
ro.ril.hsxpa=1
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
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
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
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
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
Code:
# Disable error checking
ro.kernel.checkjni=0
ro.kernel.android.checkjni=0
Code:
persist.sys.purgeable_assets=1
Disabling Strict mode:
Code:
# Disable strict mode checking
persist.android.strictmode=0
Code:
ro.ril.enable.ganlite=0
Code:
ro.telephony.call_ring.delay=0
ring.delay=0
Code:
ro.lge.proximity.delay=25
mot.proximity.delay=25
ro.mot.buttonlight.timeout=0
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
Code:
# persist.sys.shutdown.mode=hibernate
ro.config.hw_quickpoweron=true
Code:
persist.adb.notify=0
persist.service.adb.enable=1
Code:
ro.ril.def.agps.mode=2
ro.ril.def.agps.feature=1
Code:
debug.egl.profiler=1
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
Whats New In This ROM
Screenshot & Features
Setup Wizard
Home, SystemUI, Widgets, Small Apps
Sony Sketch
Update Center
Alarms & Clocks
Calendar
Lockscreen
Power Management
Phonebook, Conversation & Dialer
Settings
Media Apps
Sony Notes
Themes
Calculator
Download Provider
Features to come
List of deleted Apps/Bloatware :
Setup Wizard
New settings added (Internet Connection, Preferred Applications, Accounts Exchange/Sync
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.
Sony Sketch
Official drawing app from XPERIA Z Ultra ported to our XPERIA SP
Update Center
Alarms & Clocks
Calendar
All backgrounds, icons, menu and fonts themed in white.
New User Interface
Lockscreen
Power Management
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
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
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
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
Themes
Calculator
Download Provider
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)
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