[Xperia SP Android Development] ruchirtrehan:
Disclaimer Note :​

[/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 weeks of hard work, the time has come to present you my first ROM for XPERIA SP

Here's the HonamiUltraizeD ROM for the XPERIA SP, a combo of XPERIA Z Ultra and XPERIA Z1 Honami

This is a Black Edition ROM

[/B][/COLOR][/SIZE][B][SIZE="3"][COLOR="Red"]Requirement[/COLOR][/SIZE][/B]

[B][SIZE="2"][COLOR="blue"]- Root
- CWM[/COLOR][/SIZE][/B]

[B][COLOR="red"][SIZE="3"]ROM Description [/SIZE][/COLOR][/B]

[B][SIZE="2"][COLOR="blue"]
- 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 (C5302)
- 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
- Great Battery
- Texture Tiling enabled
- Forced automatic Texture compression
- X-Reality for Mobile (Replacing BRAVIA Engine 2), (Appears Bravia Engine 2 in Settings)
- New Xperia Z Ultra Media Apps
- New Xperia Z Ultra Launcher
- New Xperia z1 Themes/wallpapers
- Everything has been modded to black
- Fully optimized and tweaked
- Improved Touch Sensitivity
- 3G Speed Tweaked
- 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[/COLOR][/SIZE][/B]

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

All Tweaks description

build.prop tweaks description

Render using GPU and GPU Tweaks:

#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:

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:

persist.service.lgospd.enable=0
persist.service.pcsync.enable=0

Sensor Sleep:

# For sensor sleep control
ro.ril.sensor.sleep.control=1
Unlock fps limit:
Code:
debug.egl.swapinterval=0

Qualcomm tweaks:

com.qc.hardware=1
debug.qc.hardware=true
debug.qctwa.preservebuf=1
debug.qctwa.statusbar=1

Screen Glitches fix:

debug.gr.numframebuffers=3

3G network for speeding up :

ro.ril.set.mtu1472=1

Disable Logers (safe battery + performance gain)

ro.config.htc.nocheckin=1
ro.config.nocheckin=1
profiler.force_disable_ulog=1
profiler.force_disable_err_rpt=1

Touch tuning :

### Touch tuning ###
touch.presure.scale=0.001

Enable Hardware 3D :

hw3d.force=1

Save power while phone is in sleep mode:

ro.ril.disable.power.collapse=1

Better scrolling:

windowsmgr.max_events_per_sec=90
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000

Support for ipv4 and ipv6.:

persist.telephony.support.ipv4=1
persist.telephony.support.ipv6=1

Better battery life:

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

ro.config.vc_call_vol_steps=15
Increase overall scrool speed and enable rotation to 270 degree:

Better signal reception:

persist.cust.tel.eons=1
ro.config.hw_fast_dormancy=1

Enable 16 BIT:

debug.fb.rgb565=1

VM tweak:

ro.vold.umsdirtyratio=20
Better in call voice quality:

ro.ril.enable.amr.wideband

Signal Tweaks:

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:

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:

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:

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:

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

# 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)

# Disable error checking
ro.kernel.checkjni=0
ro.kernel.android.checkjni=0

Allow purging of assets (System can free more Ram when needed):

persist.sys.purgeable_assets=1
Disabling Strict mode:

# Disable strict mode checking
persist.android.strictmode=0

Disable WiFi calling for EU models:

ro.ril.enable.ganlite=0

Decrease dial out delay:

ro.telephony.call_ring.delay=0
ring.delay=0

Decrease time for screen off/on during call:

ro.lge.proximity.delay=25
mot.proximity.delay=25
ro.mot.buttonlight.timeout=0

Makes streaming videos stream faster:

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:

# persist.sys.shutdown.mode=hibernate
ro.config.hw_quickpoweron=true

Hide debuging icon from taskbar:

persist.adb.notify=0
persist.service.adb.enable=1

For the default value of aGPS:

ro.ril.def.agps.mode=2
ro.ril.def.agps.feature=1

Enable egl profiler - enable harware egl profile:

debug.egl.profiler=1

enable/disable data in roaming:

#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:

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

- 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

- 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

- 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

Features and Improvements :

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

In the package :

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

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

This ROM is based on 2.254 Firmware

Whats New In This ROM​

The new Home Launcher from Xperia Z Ultra

- What's new in Xperia Home 6.0.2.A.0.8:

# New animation

# Black background in apps drawer.

# Touch sound now enabled.

# New Home notification badge icon.

New Widgets from XPERIA Z Ultra

- What's new in Widgets

# New high quality widgets.

# New Photo and Video widgets layout.

# New Recent call and Camera widgets.

# New Clocks.

New Media Apps from XPERIA Z Ultra

- What's new in Media Apps

# Social Media Integration. (Sony Play Memories)

# New UI, gap less playback in walkman.

# Lagless and Smooth.

XPERIA Z1 Honami Style Alarm & Clock

- What's new in Alarm & Clock

# Themed in black

# New Layout

New Xperia Z Ultra Themes

- What's new in Themes

# New Themes layout, better, smoother and sharper than before.

New Xperia Z Ultra Keyboard

- What's new in Keyboard

# New Interface.

# New Smiley Emotions.

XPERIA Z1 Honami Phonebook and Conversations

- What's new in Phonebook and Conversations

# Black Edition "replaces white's"

# Whole New User Interface

# Dialer's background color changed to black "instead of white", call recording and speed dial options added.

X-Reality Engine

- What's new in X-Reality Engine/Bravia Engine 2

# Images are now more sharper, you'll feel like you're there.

# Better color/pixels reproduction.

- System UI, Black Edition

- What's new in SystemUI

# Z Ultra Battery Icons

# Black Status Bar

# Black Nav Bar

# Glossy Black Notification Backround

# Glossy Black Notification Header

# In Short Black Edition !!

# With Stock Xperia Soft Keys

# 3 button and 5 buttons "5 buttons will be in add-on's"

New Lockscreen

- What's new in Lockscreen

# Transparent Controllers

# Add-On given for Clock changing colors according to theme, same includes Music and Camera controllers at bottom instead of top

New Camera ~ CyberShot

- What's new in CyberShot

# Changed label to Cyber-shot

# Changed audio Bitrate Video Recording to High Quality, Variable 249-256kbps Stereo

# 100% JPEG Quality

# Sync to My App resource

# Included My Application to improve & enable High Quality on HDR Mode

# Modded media_profile

Calendar

- What's new in Calendar

# All backgrounds, icons, menu and fonts themed in black.

Start-Up Guide, Black Edition

- What's new in Start-Up Guide

# Changed theme to black from white

What else is included?

# Offline charging bugs fixed. "Tested on my device, was working, no idea if it works on yours, test/try and let me know."

# Zip Alligned for Better Ram Managment

# Build.prop Fully Tweaked

# Performance Tweaks

# Script tweaks

# Init.d Tweaks

# Bloatware free​

​

List of deleted Apps/Bloatware :

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

Screenshots :

In Attachments

More in 2nd post. ​

​

​