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

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.

Related

[Script | Tweaks]【 Liquid Performance™】16-7-2013.

{
"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"
}
This Project consists of the build.prop tweaks, init.d tweaks and many other tweaks which are specially made for our Xperia devices after a complete research on various scripts and tweaks.
Almost each and every tweak is explained clearly by Spex in his Project fluid™ so the same explanation is being done here.
You can implement in your ROM build without my permission... just give me proper credits that's enough
Please give your valuable feedback.
​
Credits:
Spex
Jeeko
zeppelinrox
pikachu01
iONEx
LENAROX
smokin1337
Exit_Only
idcrisis
imbawind
slaid480
smokin1337
[email protected]
darky
devilpera64
lpy
totiadrenalin
lambgx02
doomlord
Hero
If i have forgot someone else please PM me will add your credits
​​
Please rate the thread a 5* if you feel my work is good enough and give me a Thanks​
Build.Prop Tweaks
BUILD.PROP​
Requirements:
A Rooted android device running Android 2.3 or above
Installation:
Method- I
1. Open "Root Explorer" and click the R/W
2. Go to /system/build.prop
3. Backup yout current build.prop
4. Long-press on Build.Prop and you’ll see a pop up
5. Text Editor
6. Type in those few line of words below into the last line of the text then save
7. reboot and enjoy
Method- II
1. Open "Root Explorer" and click R/W
2. Go to /system and copy build.prop to your sd card
3. Copy build.prop to your pc
4. Move build.prop again to /system and change permission
Tweaks:
Render using GPU and GPU Tweaks:
Code:
[SIZE="2"]
#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[/SIZE]
Media Quality:
Code:
[SIZE="2"]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[/SIZE]
Liquid Smooth Ui:
Code:
persist.service.lgospd.enable=0
persist.service.pcsync.enable=0
Noise Cancellation:
Code:
#Noise Cancellation Off
htc.audio.alt.enable=0
htc.audio.hac.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
Disable debugging notify icon on statusbar:
Code:
persist.adb.notify=0
EHRPD Support :
Code:
ro.config.ehrpd=true
Disable boot animation for faster boot :
Code:
debug.sf.nobootanimation=1
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
Better scrolling responsiveness
Code:
windowsmgr.max_events_per_sec=90
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
Touch tuning :
Code:
### Touch tuning ###
touch.presure.scale=0.001
System prop for tethering denied:
Code:
ro.tether.denied=false
Enable Hardware 3D :
Code:
hw3d.force=1
Phone will not wake up from hitting the volume rocker:
Code:
ro.config.hwfeature_wakeupkey=0
Unlock phone by menu key:
Code:
ro.config.hw_menu_unlockscreen=false
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
Bravia Engine:
Code:
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1
Xloud Engine:
Code:
ro.semc.sound_effects_enabled=true
ro.semc.xloud.supported=true
persist.service.xloud.enable=1
media.xloud.enable=1
media.xloud.supported=true
More precisely incall volume control:
Code:
ro.config.vc_call_vol_steps=15
Increase overall scrool speed and enable rotation to 270 degree:
Code:
windowsmgr.max_events_per_sec=170
windowsmgr.support_rotation_270=true
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
Special Thanks to @Jeeko bro for the PurePerformances™X | Golden Edition
One of the best scripts ever made on XDA
SCRIPTS​
Requirements:
rooted phone
android 2.3+ ( 4.0 recomended)
kernel/rom with init.d support
5mb free in system
busybox
NANDROID BACKUP!! thanks @shprakash bro for reminding
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)
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)
Don't have init.d tweaks in your ROM??
Well you can integrate them in your ROM by just clicking on this link : Integrate init.d tweaks!!
Thanks to @sidharth.gtm for providing the link and Ryuinferno for the init.d thread please click a THANKS for the dev!
DOWNLOADS:​
Install the stock version on your stock firmware or stock based ROM of your phone....
Download: PurePerformances™X
Uninstall: PurePerformances™X-Uninstaller
if your device don't have gingerbread or ICS officially, install the CM version (This also applies to the AOSP)
For CMx.x, Lewa Os, MIUI, etc Download:
PurePerformances™X_CM_Others.1.4.zip
Pleask click a thanks for @Jeeko for this awesome scripts​
Thread Open for commenting guys
BANNERS:
Code:
http://img855.imageshack.us/img855/3836/9h4o.png
Code:
http://img694.imageshack.us/img694/7223/1lbq.png
The thread is now open for commenting guys! Thanks @Spex for helping me always​​
wow, fantastic. will try now
Nice work aneel... Keep up the good work
Sent from my ST15i using xda app-developers app
Help wanted
Hey friend I am using [ROM][CM10.1 + SONY 4.2.2][ALL MDPI] JellyVanilla EX 4.1.Can I apply it to my rom?If yes,How do i do so.Can you please simplify the installation method you mentioned?Do i need to flash the tweak zip file i downloaded for CM.X.X. you attached.
Please help.I am not an expert.
Thanking you in advance
Regards,
Siddhesh:cyclops:
shprakash said:
Nice work aneel... Keep up the good work
Sent from my ST15i using xda app-developers app
Click to expand...
Click to collapse
Thanks alot bro.. :good:
Siddhesh Sapre said:
Hey friend I am using [ROM][CM10.1 + SONY 4.2.2][ALL MDPI] JellyVanilla EX 4.1.Can I apply it to my rom?If yes,How do i do so.Can you please simplify the installation method you mentioned?Do i need to flash the tweak zip file i downloaded for CM.X.X. you attached.
Please help.I am not an expert.
Thanking you in advance
Regards,
Siddhesh:cyclops:
Click to expand...
Click to collapse
since you are on CM 10.1.. download the zip for CM x.x and install via cwm bro thats it... but make sure that your ROM support init.d tweaks
Thanks for the work bro!
Sent from my WT19i using xda premium
good work dude . does this Update for Spex Thread or Completely Different ?
Xperia~Man said:
good work dude . does this Update for Spex Thread or Completely Different ?
Click to expand...
Click to collapse
Thanks man! did i say any where that it is a update of spex's thread?? lol just the thread "looks" match.. other than that its entirely different... from his "scripts" and yeah build prop might match because i've gathered almost 20-25 types of build.prop tweaks and posted the best out of the best tweaks for our devices...
Aneel said:
Thanks man! did i say any where that it is a update of spex's thread?? lol just the thread "looks" match.. other than that its entirely different... from his "scripts" and yeah build prop might match because i've gathered almost 20-25 types of build.prop tweaks and posted the best out of the best tweaks for our devices...
Click to expand...
Click to collapse
hehe . no problem man . as you said threads were similar
But Yeah keep good work :good:
Bro... Awesome work :good: i tested on CM10.1 legacy xperia and got the antutu benchmarks as 6895 on first boot
Work the tweak "ro.HOME_APP_ADJ=1" in ICS really?
Sent from my WT19i using xda premium
That is the reason why i added testers needed bro
Sent from my Xperia Z using xda app-developers app
this mod is awensome, but it have one thing that i don`t like - it disable crt off mod in cm 10.1 :/
I just lost my framework's JB animations after flashing these scripts
See the features list bro... i think animations get disabled for better performance
However try this also... first install the scripts and once they are installed .. reboot the device and clear cache and dalvik cache and flash your framework-res.apk and see
Sent from my Xperia Z using xda app-developers app
Aneel said:
See the features list bro... i think animations get disabled for better performance
However try this also... first install the scripts and once they are installed .. reboot the device and clear cache and dalvik cache and flash your framework-res.apk and see
Sent from my Xperia Z using xda app-developers app
Click to expand...
Click to collapse
i tried to flash animations after scripts, but no luck same thing lost my lovely animations
gmp009 said:
i tried to flash animations after scripts, but no luck same thing lost my lovely animations
Click to expand...
Click to collapse
bro it's mentioned in the features that animations would be disabled if you have a low battery and i'll probably edit that in few hours.. and give one more add-on

[ROM][P769] PenberRom5 [11/21/2013 - AROMA Edition)

LeoLawliet presents..
- PenberRom5 -
Fine tuned and tweaked for better battery life, performance, smoothness, and responsiveness
This ROM is mainly based on PenberRom2, which I started working on at CM Forums.
To be honest the main difference between the two is PenberRom2 was based on PACman ICS 4.0.4, while PenberRom5 is based on PACman JB 4.3.
Other than that, the whole idea behind both ROMs is the same, a custom ROM based on my preference and what enhancements I use.
It's already tweaked and fine tuned, I saved you all the trouble of having to do it yourselves
Here's a list of what has been added:
Smart Launcher included
Replaced DSP Manager with ViPER4Android FX
Supercharged services.jar (launcher stays in memory + better multitasking)
boost in performance
swap2cache terminal script creates a 64mb swapfile in /cache with swappiness set to 40
swap2data terminal script creates a 128mb swapfile in /data with swappiness set to 40
increased responsiveness
better battery life
faster boot
zipalign apk's on boot
defrag databases on boot
entropy tweak
I/O scheduler tweaks
sleeper tweaks
hardware rendering tweaks
improved sdcard read/write speed
disables logger
disables journalism
disables vsync
ADJ tweaks
vm tweaks
ram tweaks
graphics rendering tweaks
video/music streaming tweaks
various useful terminal scripts (I'll mark those down)
custom bootanimation + UI sounds
increased jpeg + video recording quality
3D performance enhancement tweaks
call tweaks
scripts to clean database & zipalign apps
cpuramcheck script to monitor CPU/RAM usage in realtime using the terminal emulator
Stabilized FPS through a build.prop tweak (kinda risky, comment out if you have graphic glitches. Thanks LENAROX!!)
Click to expand...
Click to collapse
As usual, I will leave a disclaimer. I will NOT be held responsible if this causes any damage to your device,
you are responsible for making a nandroid backup in the case that a bootloop occurs.
Credit goes out to these guys
AntonX - for CM10.2 ROM
mateo1111 - for PACrom JB 4.3 ROM
twinnfamous - for porting PACrom JB 4.3 with everything fully working, it's the base ROM I'm using
Pizza_Dox - for gm & hc scripts, 02SDCardAccel, 97ramscript, 20vmlt, 82Sleepers, RNGD, Cache_Cleaner
ViPER520 and zhuhang - for ViPER4Android FX
Chainfire - for some scripts. 01-GPU_touchrender, libncurses.so
ImbaWind - for Adrenaline Boost script
Spex - for some build.prop edits and some code from his startup scripts, I started out with his collection of tweaks
zeppelinrox - for services.jar patcher & terminal scripts. [vac, zepalign]
LENAROX - you made the cpuramcheck script possible, and you are also responsible for 20vmlt. Thanks
The rest I honestly don't remember but if you feel that you deserve credit, message me and I will give you proper credit where it should be given.
kuma82 - for the 90kuma script & WiFi fix (only needed in older builds, twinnfamous fixed the bug)
artit - for AROMA Installer base setup
Click to expand...
Click to collapse
And once again because I can't tell you how annoying it is for someone to screw up their own device for not following instructions carefully and then blame someone else..
I will NOT be held responsible if this causes any damage to your device, you are responsible for making a nandroid backup in the case that a bootloop occurs.
Enjoy ​
Downloads
HOW TO INSTALL:​
Code:
* Download the Rom and Gapps
* Reboot to Recovery
* Wipe data/factory reset
* Wipe system
* Flash the ROM and then Gapps
* Reboot your phone
* Enjoy
____________________________________________________________________________________________​
HOW TO UPDATE:​
Code:
* Download the latest version
* Reboot to Recovery
* Wipe dalvik cache and cache
* Wipe system
* Flash the ROM and then Gapps
* Reboot your phone
* And enjoy the latest version of PAC
____________________________________________________________________________________________​
DOWNLOADS​
============================================================
ROM
============================================================​
Code:
[B][COLOR="Green"]11/21/2013[/COLOR][/B]
[B]Mirror #1[/B] [URL="http://d-h.st/9Rj"]Dev-Host[/URL] (Please use this mirror)
[B][COLOR="Green"]11/14/2013[/COLOR][/B]
[B]Mirror #1[/B] [URL="http://d-h.st/7z4"]Dev-Host[/URL] (Please use this mirror)
[B][COLOR="Green"]10/31/2013[/COLOR][/B]
[B]Mirror #1[/B]: [URL="http://d-h.st/6x1"]Dev-Host[/URL] (please use this mirror)
[B][COLOR="Green"]10/19/2013[/COLOR][/B]
[B]Mirror #1[/B]: [url="https://app.box.com/s/061mnjqso4p3g69ztj45"]Box[/url] (please use this mirror)
[B]Mirror #2[/B]: [URL="https://db.tt/DlWpG2oo"]Dropbox[/URL] (thanks DjSidEShoW)
============================================================
Google Apps & Add-ons
============================================================​
Code:
[B]Slim AROMA Gapps[/B]: Get it [URL="http://www.slimroms.net/index.php/downloads/dlsearch/viewdownload/383-addons/6370-slim-aroma-selectable-gapps-4-3-build-2"]here.[/URL]
Install what you want, you have that option now
[B]UltraSlim Gapps[/B]: [URL="http://d-h.st/users/ronin79/?fld_id=27074#files"]here[/URL].
Only 11mb, no extra clutter
[B]IRS Starter Pack[/B]: for ViPER4Android FX. Get the latest files [URL="http://forum.xda-developers.com/showthread.php?t=2216193"]here[/URL].
(optional)
[B]Google Home Add-on[/B]: Get it [URL="http://d-h.st/TJ8"]here[/URL].
I recommend you install Gapps first.
Click to expand...
Click to collapse
Misc./Discontinued
LeoLawliet presents..
- PenberEngine -
Tweaks for everyday use
These tweaks are already included in PenberRom5,
This is just for anyone who wishes to have the additional tweaks for a different device.
- Download -
10/06/2013
- build.prop tweaks -
Also included already, use on whatever ROM you like
Code:
### LeoLawliet's new tweaks 9/15/2013 ###
# Misc Tweaks
debug.gr.swapinterval=0
debug.performance.tuning=1
dev.pm.dyn_samplingrate=1
persist.adb.notify=0
persist.service.adb.enable=1
persist.sys.use_dithering=1
persist.sys.purgeable_assets=1
qemu.hw.mainkeys=0
ro.min_pointer_dur=1
ro.sec.proximity.delay=0
sys.mem.max_hidden_apps=15
# Battery Tweaks
pm.sleep_mode=1
ro.ril.disable.power.collapse=1
# Unlocks Screen using Menu Button
ro.config.hw_menu_unlockscreen=true
# Kernel Tweaks
ro.kernel.checkjni=0
# Ram Tweaks
persist.sys.purgeable_assets=1
# Kills Loging
ro.config.htc.nocheckin=1
ro.config.nocheckin=1
profiler.force_disable_ulog=1
profiler.force_disable_err_rpt=1
# Media Streaming Optimizations
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
# Camera & Media Tweaks
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.dec.jpeg.memcap=20000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.hprof.vid.fps=75
ro.media.enc.jpeg.quality=100
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.cam.preview.fps=25
ro.media.codec_priority_for_thumb=so
# CM9 Tweaks
hwui.disable_vsync=true
hwui.render_dirty_regions=false
# Voice Optimization
ro.ril.enable.amr.wideband
# Better Telephony Settings
ro.config.vc_call_vol_steps=15
ro.config.vc_call_steps=20
ro.telephony.call_ring.delay=0
ring.delay=0
ro.lge.proximity.delay=25
mot.proximity.delay=25
ro.mot.buttonlight.timeout=0
# Google DNS
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
# TCP Tweaks (might break WiFi)
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 Conection Tweaks (might break WiFi)
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
# 3d performance
persist.android.strictmode=0
ro.min_pointer_dur=1
ro.secure=0
# 16BIT Support
debug.fb.rgb565=1
# 16BIT Transparency
persist.sys.use_16bpp_alpha=1
# Graphic Tweaks
ro.product.gpu.driver=1
debug.gr.swapinterval=0
# Better scrolling responsiveness
windowsmgr.max_events_per_sec=90
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
# Better Touch Responsiveness
touch.presure.scale=0.001
# Dalvik Tweaks
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=256m
dalvik.vm.dexopt-flags=m=y,v=n,o=n
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.lockprof.threshold=500
dalvik.vm.execution-mode=int:jit
dalvik.vm.jmiopts=forcecopy
dalvik.vm.dexopt-data-only=1
# Enable Qualcomm tile rendering (Hardware Rendering)
debug.enabletr=1
persist.sys.composition.type=gpu
# enable harware egl profile
debug.egl.profiler=1
# FPs Booster
persist.sys.NV_FPSLIMIT=60
persist.sys.NV_POWERMODE=1
persist.sys.NV_PROFVER=15
persist.sys.NV_STEREOCTRL=0
persist.sys.NV_STEREOSEPCHG=0
persist.sys.NV_STEREOSEP=20
# Graphic Optimization
debug.gr.numframebuffers=3
ro.min_pointer_dur=1
# Hardware 2D & 3D Rendering
hw3d.force=1
hw2d.force=1
# Nitro Lagg Nullifier
ENFORCE_PROCESS_LIMIT=false
MAX_SERVICE_INACTIVITY=false
MIN_HIDDEN_APPS=false
MAX_HIDDEN_APPS=false
CONTENT_APP_IDLE_OFFSET=false
EMPTY_APP_IDLE_OFFSET=false
MAX_ACTIVITIES=false
ACTIVITY_INACTIVE_RESET_TIME=false
MAX_RECENT_TASKS=false
MIN_RECENT_TASKS=false
APP_SWITCH_DELAY_TIME=false
MAX_PROCESSES=false
PROC_START_TIMEOUT=false
CPU_MIN_CHECK_DURATION=false
GC_TIMEOUT=false
SERVICE_TIMEOUT=false
MIN_CRASH_INTERVAL=false
# Pro-Tuned ADJ 1.2 by LENAROX.
ro.FOREGROUND_APP_ADJ=0
ro.VISIBLE_APP_ADJ=4
ro.PERCEPTIBLE_APP_ADJ=3
ro.HEAVY_WEIGHT_APP_ADJ=2
ro.SECONDARY_SERVER_ADJ=1
ro.BACKUP_APP_ADJ=5
ro.HOME_APP_ADJ=6
ro.HIDDEN_APP_MIN_ADJ=7
ro.EMPTY_APP_ADJ=15
#Ultimate Assassin Mode!
#ro.SECONDARY_SERVER_ADJ=15
#ro.HIDDEN_APP_MIN_ADJ=3
# Qualcomm Display Settings (Qualcomm devices ONLY!!)
com.qc.hardware=1
debug.qc.hardware=true
debug.qctwa.preservebuf=1
debug.qctwa.statusbar=1
# Rapid Boot Technology 1.1 (Reduces bootup time)
persist.sys.shutdown.mode=hibernate
ro.config.hw_fast_dormancy=1
ro.config.hw_quickpoweron=true
# Rendering Tweaks
debug.composition.type=c2d
debug.egl.hw=1
debug.enabletr=true
debug.overlayui.enable=1
debug.qctwa.preservebuf=1
debug.performance.tuning=1
debug.sf.hw=1
dev.pm.dyn_samplingrate=1
hw3d.force=1
ro.config.disable.hw_accel=false
ro.fb.mode=1
ro.sf.compbypass.enable=0
ro.vold.umsdirtyratio=20
persist.sys.composition.type=c2d
persist.sys.ui.hw=1
video.accelerate.hw=1
# Sensor Sleep Control
ro.ril.sensor.sleep.control=1
# Smoothens UI
persist.service.lgospd.enable=0
persist.service.pcsync.enable=0
### End of LeoLawliet's new tweaks 9/15/2013 ###
any screenshots?
noob.gamer said:
any screenshots?
Click to expand...
Click to collapse
It's basically PACrom JB 4.2.2 but heavily modified. It looks exactly the same.
I still need to add the finishing touches before anything. I should have it done and uploaded within the next few hours.
Edit: Uploaded and posted, check the 2nd post.
Edit2: Don't download yet, it bootloops and I know why. I'll fix it right now.
Everything should be fixed now
New one still bootloops
Sent from my LG-P769 using xda app-developers app
I know, I'm working on it x__x
This is an older one I made but I didn't have time to test it.
http://d-h.st/9ju
Still needs work and my WiFi sucks, can't even upload anything :/
Sent from my LG-P769 running PACrom JB 4.3 using Tapatalk 2
Why did You upload this without testing? BTW, Your engine is preety nice, it really boost my phone, can i add some of tweaks to my rom? :3
unn.
Unn113 said:
Why did You upload this without testing? BTW, Your engine is preety nice, it really boost my phone, can i add some of tweaks to my rom? :3
unn.
Click to expand...
Click to collapse
I did test it, I guess it's just having issues with the latest CM10.1 lol
My apologies guys, I'm gonna make this right. And glad you like the engine tweaks, yes you may use them but please link back to the engine post and give credit
These tweaks work 100% flawless on PenberRom5, I may just release that instead.
Sent from my LG-P769 running PACrom JB 4.3 using Tapatalk 2
Still working on it, I'll give you guys an update when it's working. I'm sorry, the new tweaks aren't doing so well. I might as well revert to the old ones that did work for now.
Edit: Annnndddd it works!!
Uploading at the moment.
leolawliet said:
Still working on it, I'll give you guys an update when it's working. I'm sorry, the new tweaks aren't doing so well. I might as well revert to the old ones that did work for now.
Edit: Annnndddd it works!!
Uploading at the moment.
Click to expand...
Click to collapse
Tweaks work great. I added the build prop ones first and notice improvement in antutu. So I went ahead and flashed pender engine tweaks and that made it even better. I dont use no-frills CPU tuner because the port im running has performance app built in settings with overclocking options. This is great my pac4.3 port is running greater than before. And the sounds u added to the touch is cool. I havent tried the launcher yet. Thank you for these tweaks.
My last Benchmark score
By the way, ROM released
Sent from my LG-P769 running PenberRom5 using Tapatalk 2
Disabled logger, disables journalism? What are these?
Sent from my LG-P769 using Tapatalk 4
Disabled logger - You can't do a logcat. Disabled journalism - better ram management.
Sent from my p760 powered by CarbonROM 4.3.
Unn113 said:
Disabled logger - You can't do a logcat. Disabled journalism - better ram management.
Sent from my p760 powered by CarbonROM 4.3.
Click to expand...
Click to collapse
Exactly and both tweaks boost performance, I also recommend deleting the selinux init.d script for further increase in performance.
Looks like a good ROM with all those features... have you encountered any bugs or problems so far?
Also, your download link gives an error "The user hosting this content is out of bandwidth."
optimusl9 said:
Looks like a good ROM with all those features... have you encountered any bugs or problems so far?
Also, your download link gives an error "The user hosting this content is out of bandwidth."
Click to expand...
Click to collapse
That means my bandwidth limit was exceeded, too many downloads. I'm working on a new build probably tonight at work. Much better optimizations, this is my last benchmark
Sent from my LG Optimus L9 running PenberRom5 using Tapatalk 2
leolawliet said:
That means my bandwidth limit was exceeded, too many downloads. I'm working on a new build probably tonight at work. Much better optimizations, this is my last benchmark
Sent from my LG Optimus L9 running PenberRom5 using Tapatalk 2
Click to expand...
Click to collapse
Good to hear. Please excuse me while I try the painful, stabbing myself with a knife process of unlocking the bootloader on P769. Be right back... by tomorrow... I hope.

[ROM][XPERIA SP][4.1.2][12.0.A.2.254][Black Edition][HonamiUltraizeD]

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 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
Code:
[/B][/COLOR][/SIZE][B][SIZE="3"][COLOR="Red"]Requirement[/COLOR][/SIZE][/B]
[B][SIZE="2"][COLOR="blue"]- Root
- CWM[/COLOR][/SIZE][/B]
Code:
[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:
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
Features and Improvements :
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!
In the package :
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 .
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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 :
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
Screenshots :
In Attachments
More in 2nd post. ​​​
Screenshots
Screenshots
Installation Instructions
Installation Instructions :
Fresh installation "recommended to use this ROM on a newly flashed ftf" :
Locked Bootloader
- Flash latest official Sony's 4.1.2, 12.0.A.2.254 Firmware (Do not expect much help from me if you flash it on any other firmware and get messed up)
- Root using DoomLord 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, Wipe Data/Factory Reset (Do not Wipe Cache Partition or Dalvik Cache) It can give some errors later.
- Flash the rom and reboot (reboot may take some time, don't panic)
Unlocked Bootloader
- Flash latest official Sony's 4.1.2, 12.0.A.2.254 Firmware (Do not expect much help from me if you flash it on any other firmware and get messed up)
- Root using DoomLord method http://forum.xda-developers.com/showthread.php?t=2405933
- You can also root and get CWM by using fastboot and flashing a prerooted kernel with CWM : http://forum.xda-developers.com/showthread.php?t=2404452
- If you don't know much about fastboot and flashing kernels after rooting install CWM for Locked/Unlocked Bootloaders http://forum.xda-developers.com/show....php?t=2352920
- Reboot in recovery, Wipe Data/Factory Reset (Do not Wipe Cache Partition or Dalvik Cache) It can give some errors later.
- Flash the rom and reboot (reboot may take some time, don't panic)
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! ​
Downloads / Add-On's
Do not mind hitting the thanks button on all posts if you downloaded/liked my ROM
Downloads :
BUILD.PROP
Why is this needed - There are small bugs in the build.prop which is inside the ROM, so please replace it with the build.prop given below to download, to replace it open ROM.zip > system > delete current build.prop and replace with the one you downloaded.
Download : http://www.mediafire.com/download/rfnvpwa7bt5dv6z/
DO NOT MIRROR ANY OF MY FILES!!!
[ROM][XPERIA SP][4.1.2][Black Edition][HonamiUltraizeD]
Download :
http://d-h.st/VuN
Add-On's -
LockScreen With Music And Camera Controller On Bottom Instead Of Top And Clock Color Changes According To Theme
Installation : Replace manually in System > App > Set Permission rw-r-r > Reboot Enjoy
Download : http://www.mediafire.com/?e120pa6taz6ja9t
System UI 5 Button Black Edition -
Installation : Rename The File To SystemUI Then > Replace manually in System > App > Set Permission rw-r-r > Reboot > Enjoy
Download : http://www.mediafire.com/?a1lu45ntfs8hps6
System UI 3 Button Black Edition -
Installation/Download : Included in ROM
System UI 5 Button Transparent -
Installation : Rename The File To SystemUI Then > Replace manually in System > App > Set Permission rw-r-r > Reboot > Enjoy
Download : http://www.mediafire.com/download/6cp2byxd2wpvlyn/SystemUI_5_button_transparent.apk
"Stock" System UI 3 Button Transparent -
Installation : Replace manually in System > App > Set Permission rw-r-r > Reboot > Enjoy
Download : http://www.mediafire.com/download/t0qkiiu43ojamyy/SystemUI.apk
Credits
Credits -
Code:
[B][COLOR="Blue"]Rozal Lovins for CyberShot MOD
niaboc79 for phonebook and conversations port
Samarth for all Z Ultra stuff
Gracie for fixing parse errors
SaM for Black Edition of SystemUI
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
DoomLord for rooting method
Mr.Khan
Sony for making awesome stuff to work on
XDA
Me
Last but not the least, you all for downloading and hitting thanks :p[/COLOR][/B]
Thread ready for you guys.
Well done the best,
There is a comprehensive thread
And I hope it's also great ROM. Later test score, I'd say.
Thanks Bro...
Amin.HVS said:
Well done the best,
There is a comprehensive thread
And I hope it's also great ROM. Later test score, I'd say.
Thanks Bro...
Click to expand...
Click to collapse
I've tested it like a million of time and then completed and uploaded it, I am sure you guys will see the power of this ROM D:, good luck!
AweSome Work Bro And a lot of Tnx From Me for your great rom
+10000000000000000 For you:good:
awesome work Dude... but can you give us ScreenShoot??
dosimple12 said:
awesome work Dude... but can you give us ScreenShoot??
Click to expand...
Click to collapse
I guess there are many screenshots attached to 1st and 2nd post.
RuchRha said:
I guess there are many screenshots attached to 1st and 2nd post.
Click to expand...
Click to collapse
sory before.. but before i dont see Much Screenshot like this.. hehe.. so Im sosory
Downloadinng.....aweesoome....1st true rolopped for XSP c5302....gr8 job maan
:good::good::good:
Thanks alot for the ROM.. I will wait untill some one install this ROM in C5303.. Because day before yesterday i flashed Indian Stock FTF ( 2.254 ) in ma SP and the result is my sim card wont work. No signal.. Its keep asking me to insert ur Sim...
After that flashed C5303 firmware and deodexed it... Now ok.. So i will wait...
And we all are waiting for the Full Port of The Honami Framework... If u can do that means this ROM will call a 100% Honamialaztion....
Rajeev said:
Thanks alot for the ROM.. I will wait untill some one install this ROM in C5303.. Because day before yesterday i flashed Indian Stock FTF ( 2.254 ) in ma SP and the result is my sim card wont work. No signal.. Its keep asking me to insert ur Sim...
After that flashed C5303 firmware and deodexed it... Now ok.. So i will wait...
And we all are waiting for the Full Port of The Honami Framework... If u can do that means this ROM will call a 100% Honamialaztion....
Click to expand...
Click to collapse
I guess, I'll wait for making the full Honami Framework, coz I am literally damn busy, I was free today and had been working in this ROM since lots of week, I guess you would remember , cant promise, but yeah, I'll do it, soon.
RuchRha said:
I guess, I'll wait for making the full Honami Framework, coz I am literally damn busy, I was free today and had been working in this ROM since lots of week, I guess you would remember , cant promise, but yeah, I'll do it, soon.
Click to expand...
Click to collapse
Yes bro.. i know ur situations.. no problem.. take ur own time mate but make it perfect bro.. :thumbup:..
Waiting for Some one to test this in C5303.... All the problem is with the new baseband...
Rajeev said:
Yes bro.. i know ur situations.. no problem.. take ur own time mate but make it perfect bro.. :thumbup:..
Waiting for Some one to test this in C5303.... All the problem is with the new baseband...
Click to expand...
Click to collapse
People would be still downloading it, I guess you gota wait a while
RuchRha said:
People would be still downloading it, I guess you gota wait a while
Click to expand...
Click to collapse
When u say wipe only data...should i do that from the mount storage > format data or wipe data / factiry reset
puneethv said:
When u say wipe only data...should i do that from the mount storage > format data or wipe data / factiry reset
Click to expand...
Click to collapse
Wipe data/Factory Reset

[KERNEL][3.0.101] BraveKernel Refresh for KitKat

BRAVEKERNEL REFRESH​
Here we go with something (re)fresh, this is the thread of a customized kernel for KitKat ROMs (CM11, AOSX, SlimKat...) with some extra features added.
As always, feedback is welcome and highly valuable
Please if a bug is already reported do not spam the thread reporting it again, and use XDA DevDB tools for posting features requests and bug reports if it's possible :good:
Main features are these:
- Based in 6.2.A.1.100 source code
- Built with Linaro Toolchain 4.9.3 optimized for Cortex A9
- TWRP 2.8.4.0
- FRandom support
- Improvement in I/O latency
- Interactive governor updated to 3.4
- VFP optimizations
- PowerOn Key emulator
- ABBamp Sound Control v2.5.0
- Mali tweaks and controllers
- Governors and I/O schedulers parameters tweaked
- Cycle Charging control
- Real end-of-charge notification
- FSync control (combined dynamic fsync control)
- Voltage OTG control
- Added extra free kbytes tunable
- Swap and zRAM support
- Disabled dynamic debug
- Tweaked readahead size
- More choices of TCP congestions
- Proportional Rate Reduction for TCP
- Fix for scaling of minimum frequency problem
- Built with optimized -O3 & Neon flags
- SLUB memory allocator
- Ramdisk and kernel compressed with LZO
Available CPU governors:
- Powersave
- Userspace
- OnDemand
- Interactive (default)
- InteractiveQ
- Conservative
- OnDemandQ
- PegasusQ
- LulzActiveQ
- AbyssPlug
- HotPlug
- PegasusQPlus
- SmartAssv2
Available I/O schedulers:
- No-op
- Deadline
- CFQ
- ROW
- BFQ
- SIO
- ZEN
- V(R)
- SIO-Plus (default)
Kernel Downloads for KitKat:
BraveKernel Refresh KK-4.4 HubDroid Folder
- v1.3 -
for CM 11.0, AOSX, SlimKat...​
How to install the kernel:
1) Download the kernel zip file to SD card
2) Reboot to recovery
3) Flash the kernel zip file
4) Wipe cache and dalvik cache if you are coming from another kernel
5) Reboot the system
Kernel Manager APP
If you prefer to use a simpler way for installing the kernel you can use this app, it allows you to make a backup of your current kernel and it also displays OTA updates of this kernel, really recommended :good:
Kernel sources (on GitHub):
Development repository of BraveKernel 3.0.101 for KK 4.4
​
Changelog:
Code:
[B]08/02/2015 - BraveKernel Refresh v1.3 for KitKat[/B]
- Fixed random reboots
- Added minfree tweak in crontab
- Enabled JRCU
- Disabled management of not killable processes
[B]01/02/2015 - BraveKernel Refresh v1.2 for KitKat[/B]
- Tweaked adj and minfree values in init.d
- Added memory tweak in crontab
- Disabled JRCU
- Tweaked read_ahead_kb values
[B]25/01/2015 - BraveKernel Refresh v1.1 for KitKat[/B]
- Added F2FS support
- Fixed network arrows and speed information
- Fixed root and storage issues
- Added recovery in FOTA partition support
- Added kexec hardboot support
- Added 3 extra MB of usable RAM
- Added dynamic management of dirty page writebacks
- Added Ultra KSM
- Added entropy tweaks
- Updated BFQ scheduler
- Updated Linaro toolchain
- Improved LZO decompression
- Tweaked LMK
- Improved network speed
- Improved CPU performance
- Improved EXT4 speed
- Improved power management
- Tweaked memory management values
- Enabled clean cache
- Enabled JRCU
[B]21/12/2014 - BraveKernel Refresh v1.0 for KitKat[/B]
- Initial release
Credits and thanks to:
munjeni and cocafe for their awesome work and their kernel sources
AGONTUK for TWRP recovery
CyanogenMod, Kernel.org, Sony, Google, Linaro GCC developers
All my testers
​
XDA:DevDB Information
BraveKernel Refresh, Kernel for the Sony Xperia U
Contributors
Garcia98
Kernel Special Features: Customized kernel 3.0.101 for KK 4.4.x ROM
Version Information
Status: Stable
Current Stable Version: v1.3
Stable Release Date: 2015-02-08
Created 2014-12-24
Last Updated 2015-02-08
Reserved
HOW TOs
HOW TO PLAY WITH THIS KERNEL
Terminal emulator or ADB shell is needed.
If any command outputs 'Permission denied', you need su permission.
`???` stands for the number to input.
Change recovery:
To change your recovery:
1.- Open ADB shell or terminal emulator
2.- Download recovery.img
3.- Run:
Code:
su
dd if=recovery.img of=/dev/block/mmcblk0p13
4.- Reboot to recovery
F2FS:
To enable F2FS:
1) Reboot into recovery
2) Touch Wipe option > Advanced Wipe
3) Select the partition you want to convert to F2FS (Data or Cache)
4) Select Repair or Change File System option
5) Touch Change File System and then select F2FS
Boot time:
To check boot time:
Code:
cat /sys/boottime/kernel
CPU governors:
Performance, Interactive (default), Powersave, Userspace, Conservative, InteractiveQ, PegasusQ, HotPlug, OnDemandQ, OnDemand, AbyssPlug, LulzactiveQ, SmartAssv2
- OnDemand has been patched with cpu idle detection.
- Most of custom governors are based on ondemand/interactive.
- OndemandQ/InteractiveQ will hotplug cpu when screen turns off only.
- If you care about the battery life time, choose HotPlug. It hotplugs cpu frequently.
- Interactive updated to linux-android-3.4 (recommended).
- LulzactiveQ, will hotplug CPU1.
I/O schedulers:
SIO, SIO-Plus, VR, BFQ, CFQ, NO-OP, ZEN, ROW, Deadline
- Default IO scheduler: SIO-Plus
- SIO/ROW/SIO-Plus recommended!
FRandom module:
Code:
insmod /lib/modules/frandom.ko
chmod 0666 /dev/frandom
chmod 0666 /dev/erandom
mv /dev/random /dev/random.orig
mv /dev/urandom /dev/urandom.orig
ln -s /dev/frandom /dev/random
ln -s /dev/frandom /dev/urandom
Deepest sleep state:
Stock: 3 Default: 3
Deepest supported is 5.
To change deepest sleep state:
Code:
echo 5 > /d/cpuidle/deepest_state
- HotPlug governors works badly with 5.
- OnDemand works well with 5.
- Please note that it won’t increase the using time but standby time.
- You can add an init.d script to tweak it if you want.
To check the cpuidle state:
Code:
cat /d/cpuidle/stats
zRAM:
zRAM is optimized for Android. It is not lazy anymore. Recommended zRAM instead of SWAP.
Using zRAM will take a little CPU, because it needs to compress/decompress memory.
Recommended compressing about 18% of RAM, about 100MB.
Setup disk size first: (example: 200MB)
Code:
echo $((200 * 1024 * 1024)) > /sys/block/zram0/disksize
- Larger size more RAM will be compressed.
- Too large size might make phone lag
To enable:
Code:
mkswap /dev/block/zram0
swapon /dev/block/zram0
To check how many does it use:
Code:
cat /sys/block/zram0/num_reads
cat /sys/block/zram0/num_writes
cat /proc/meminfo | grep swap
- We can get other info in its sysfs
Swap:
Using a file as swap RAM: (Create a continuity file first)
Code:
su
cd /cache
dd if=/dev/zero of=swapfile bs=1024 count=81920
mkswap swapfile
swapon swapfile
Then we will have 80MB of swap RAM.
Cycle Charging Control:
Similar to BLX by Ezekeel. It can be used to limit the battery charging level.
Example: Limit the battery level at 70% ~ 75%
Enable:
Code:
echo on > /sys/kernel/abb-fg/fg_cyc
Disable:
Code:
echo off > /sys/kernel/abb-fg/fg_cyc
Discharging threshold (battery level %):
Code:
echo dischar=75 > /sys/kernel/abb-fg/fg_cyc
Recharging threshold:
Code:
echo dischar=70 > /sys/kernel/abb-fg/fg_cyc
Real charged notification:
Well, please let me call it notification.
To be honest, it needs to check manually:
Code:
cat /sys/kernel/abb-chargalg/eoc_status
- You can use Root Browser to view these files in /sys/kernel/abb-chargalg
- When it says "First eoc reached", then the UI should show you charged 100%, but it is not the real full charged.
- When it says the real EOC reached, unplug the charger.
POnKey Emulator:
This is the software emulator of power key.
To turn off screen: ( 20 < value(ms) < 520 )
Code:
echo 100 > /sys/kernel/abb-ponkey/emulator
To active the power menu: ( 520 < value(ms) < ∞)
Code:
echo 800 > /sys/kernel/abb-ponkey/emulator
ABBamp Audio:
Please note that listening to too high volume music over 1 hour or more can damage your ears.
Too high volume can make your external speakers/headset overload or damage them.
First, why is it called `AMP`?
Because most of our tweaks are about gain(volume)
Our codec is simple, It doesn't have any hardware EQ (although i want...)
ABBamp sysfs entries are in:
/sys/kernel/abb-codec
- Use Root Browser to view this folder,there are lots files
Tweaks will take effects immediately!
Most tweaks will accept inputs like "on", "off" (no quotes)...
So, say "on" to enable this tweak, then this tweak will apply the value stored/inputed
View (cat) these files, most of them will give you useful information about this tweak.
They will show you the volume in dB of gain
`cd` to /sys/kernel/abb-codec first then do echos, will be more convenient.
AnaGain3 (Headset analog gain path):
Enable tweaks:
Code:
echo on > /sys/kernel/abb-codec/anagain3
Disable tweaks:
Code:
echo off > /sys/kernel/abb-codec/anagain3
Gain control: (min:0 ,max: 15) Lower value,higher volume (default: 0[+4dB])
Code:
echo left=?? > /sys/kernel/abb-codec/anagain3
echo right=?? > /sys/kernel/abb-codec/anagain3
Write both left and right channels:
Code:
echo gain=?? > /sys/kernel/abb-codec/anagain3
HsLDigGain (Headset left digital path gain):
Enable tweaks:
Code:
echo on > /sys/kernel/abb-codec/hsldiggain
Disable tweaks:
Code:
echo off > /sys/kernel/abb-codec/hsldiggain
Gain control: (min:0 ,max: 15) Lower value,higher volume (default: 4[+4dB])
Code:
echo gain=?? > /sys/kernel/abb-codec/hsldiggain
HsRDigGain (Headset right digital path gain):
Enable tweaks:
Code:
echo on > /sys/kernel/abb-codec/hsrdiggain
Disable tweaks:
Code:
echo off > /sys/kernel/abb-codec/hsrdiggain
Gain control: (min:0 ,max: 15) Lower value,higher volume (default: 4[+4dB])
Code:
echo gain=?? > /sys/kernel/abb-codec/hsrdiggain
Headset Volume Table:
value | volume
0.......+8dB (maximum)
1.......+7dB
2.......+6dB
3.......+5dB
4.......+4dB (tweaks default)
5.......+3dB
6.......+2dB
7.......+1dB
8.......+0dB (device default)
>=9....mute
- If set up digital path +4dB, analog gain +4dB, the result will get over +8dB
HsLowPow (Headset driver low power mode):
This lowpow mode is enabled by device normally.
If you want high performance audio instead of LPA(low power audio) you can disable it.
Enable tweaks:
Code:
echo on > /sys/kernel/abb-codec/hslowpow
Disable tweaks:
Code:
echo off > /sys/kernel/abb-codec/hslowpow
To tweak the mode (0: disable LP mode, 1: enable LP mode)
Code:
echo mode=? > /sys/kernel/abb-codec/hslowpow
HsDacLowPow (Headset DAC low power mode):
DAC is Digital-to-Analong Converter.
This lowpow mode is enabled by device normally.
Enable tweaks:
Code:
echo on > /sys/kernel/abb-codec/hsdaclowpow
Disable tweaks:
Code:
echo off > /sys/kernel/abb-codec/hsdaclowpow
To tweak the mode (0: disable LP mode, 1: enable LP mode)
Code:
echo mode=? > /sys/kernel/abb-codec/hsdaclowpow
HsHpEn (Headset high pass filter):
This high pass filter is disabled by device normally.
Enable this can reduce some sub-noise of audio.
Enable tweaks:
Code:
echo on > /sys/kernel/abb-codec/hshpen
Disable tweaks:
Code:
echo off > /sys/kernel/abb-codec/hshpen
To tweak the mode (0: disable highpass filter, 1: enable highpass filter)
Code:
echo mode=? > /sys/kernel/abb-codec/hshepen
Besides, the file anaconf1 will shows you the status of LPA
ClassDHPG (ClassD high-pass gain):
ClassD is a kind of amplifier.
According to the documents, our ClassD only relate to Handsfree(speaker).
This can increase the high frequencies sound of speaker
Enable tweaks:
Code:
echo on > /sys/kernel/abb-codec/classdhpg
Disable tweaks:
Code:
echo off > /sys/kernel/abb-codec/classdhgp
Gain control: (min:0 ,max: 10) higher value,higher gain (default: 10[Max gain])
Code:
echo gain=?? > /sys/kernel/abb-codec/classdhpg
ClassDDithWGain:
Gain control for the white component of dithering filter
Enable tweaks:
Code:
echo on > /sys/kernel/abb-codec/classdwg
Disable tweaks:
Code:
echo off > /sys/kernel/abb-codec/classdwp
Gain control: (min:0 ,max: 10) higher value,higher gain (default: 10[Max gain])
Code:
echo gain=?? > /sys/kernel/abb-codec/classdwg
ADDigGain2:
This is the audio path of mic2(phone mic, not headset mic)
This tweak will enable automatically when mic2 is enabled by device
Enable tweaks:
Code:
echo on > /sys/kernel/abb-codec/addiggain2
Disable tweaks:
Code:
echo off > /sys/kernel/abb-codec/addiggain2
Gain control: (min:0 ,max: 63) lower value, higher gain (default: [+6dB], max: 00[+31dB])
Code:
echo gain=?? > /sys/kernel/abb-codec/addiggain2
EarDigGain:
This is the digital gain of earpiece
Enable tweaks:
Code:
echo on > /sys/kernel/abb-codec/eardiggain
Disable tweaks:
Code:
echo off > /sys/kernel/abb-codec/eardiggain
Gain control: (min:0 ,max: 15) lower value,higher gain (default: 4[+4dB])
Code:
echo gain=?? > /sys/kernel/abb-codec/classdwg
- It uses the same path of HsLDigGain,please check the volume table of HsLDigGain
- +8 dB might crash the sound of earpiece
ShortCirConf:
Code:
This is a misc tweak
View shortcir this file first
[7] EnShortPWD
0: Automatic switch off on short circuit detection is disabled
1: Automatic switch off on short circuit detection is enabled
[6] EarShortDis
0: Short circuit detection on Ear driver enabled
1: Short circuit detection on Ear driver disabled
[5] HsShortDis
0: Short circuit detection on HsL and HsR drivers enabled
1: Short circuit detection on HsL and HsR drivers disabled
[4] HsPullDEn
0: HsL and HsR outputs are in high impedance
1: HsL and HsR outputs are pulled down to ground
[2] HsOscEn (ABBamp enables it by default)
0: The HS drivers use the system clock
1: The HS drivers use a local oscillator (system clock absent: analog path only)
[1] HsFadDis
0: All intermediate steps are applied between two programmed gains (fading)
1: Gain on HS is applied immediately
[0] HsZcdDis
0: HS gain changes on signal zero cross (unless time-out occurs)
1: HS gain is changed without zero cross control
[CODE]echo ?? ?? > /sys/kernel/abb-codec/shortcir
- The first ?? the slot of each option,the second ?? stands for the value to write to this slot
- View shortcir this file,you will get it[/CODE]
AnaConf4:
This interface controls the enables of analog path
We can use it to disable Speaker in kernel level.
So that you don't have to use the "mute all sound" in system settings,
Because, "mute all sound" will also mute Earpiece, which is inconvenient for us in calls.
Command format: Check anaconf4 first, This interface is a bit different from others:
Code:
echo [Index] [Disable?] > anaconf4
To Disable Speaker:
Code:
echo 5 1 > anaconf4
To Enable Speaker:
Code:
echo 5 0 > anaconf4
Headset Charge Pump:
Code:
echo 0 > chargepump to use fixed 1.8V supply.
echo 1 > chargepump to use dynamic voltage supply, lower power cost.
Lower-power Audio Mode:
Code:
echo on > lpa_mode to enable LPA mode
echo vape=0x?? > lpa_mode to adjust Vape voltage used in LPA mode
Experts!:
This method can work on any ab850x codec platform!
cd /d/asoc/U8500-card/ab8500-codec.0
Play music, reduce the volume.
Now we are going to edit the codec registers.
Code:
echo REG VAL > codec_reg
E.G:
AnaGain3:
Code:
echo 0x16 0x00 > codec_reg
HsDigGain: (left/right channel)
Code:
echo 0x4F 0x00 > codec_reg
echo 0x50 0x00 > codec_reg
Disable all lowpow mode:
Code:
echo 0x04 0x00 > codec_reg
- These hacks will restore when codec power off.
Camera LED Flash:
Turn on torch with more brightness, turning this on for a long time will heat up your device, be careful!
Enable/Disable:
Code:
echo 1/0 > /sys/devices/platform/nmk-i2c.2/i2c-2/2-0053/torch_enable
echo 149600 > /sys/devices/platform/nmk-i2c.2/i2c-2/2-0053/torch_current
FSync control:
Get current status:
Code:
cat /sys/kernel/fsync/mode
FSYNC modes:
0: fsync on
1: fsync off
2: fsync dyn
Disable FSYNC:
Code:
echo 1 > /sys/kernel/fsync/mode
Disabling fsync can improve I/O performance, but it can make the data which hasn't been written lose when a sudden power cut occurs.
Enable Dynamic FSYNC:
Code:
echo 2 > /sys/kernel/fsync/mode
- Dynamic fsync will sync all buffers when screen turns off.
- If there is a heavy I/O load, the screen might get stuck for seconds.
Mali GPU:
Mali debug level:
Disabling can speed up a bit
Code:
echo 0 > /sys/module/mali/parameters/mali_debug_level
- Higher level, more messages will be printed in dmesg, system will slow down
Mali L2 max reads control: (Stock:28kb,Default:48kb(max))
Code:
echo xx > /sys/module/mali/parameters/mali_l2_max_read
- Some values will slow down graphics
- If not sure, keep default
Mali PM sampling rate: (Default: 1000ms)
Code:
echo xx > /sys/module/mali/parameters/mali_pm_sampling_rate
Mali PP scheduler tweaks: (Default: disable)
Code:
echo 1 > /sys/module/mali/parameters/mali_pp_scheduler_balance_jobs
- Enabling this, some places will over ahead, choose by yourself
Mali Utilization sampling rate: (Stock:500ms, Default:1000ms)
How often report a mali utilization.
Code:
echo xxx > /sys/module/mali/parameters/mali_utilization_sampling_rate
- Keep this default if unsure.
Mali utilization control:
(Default: low_to_high 192 high_to_low 64)
Our driver will report a mali utilization frequently.
This utilization(range: 0~255) means the load of mali.
If utilization is bigger than low_to_high, driver will request higher hardware performance(highest APE/DDR OPP).
If utilization is smaller than high_to_low, the driver will store the requested OPP(uses low OPP).
OPP can be understood as freq simply.
To check mali utilization values:
Code:
echo 5 > /sys/module/mali/parameters/mali_debug_level
cat /proc/kmsg | grep -i utilization
When it says SIGNAL_HIGH, it will request highest OPP.
When it says SIGNAL_LOW, it will request lowest OPP.
Press Ctrl+C to stop printing.
You can reduce low_to_high to trigger higher OPP requirement.
For smoothness and less powersaving:
Set low_to_high between 100-192.
Code:
echo 120 > mali_utilization_low_to_high
Mali max preemptive allocated max memory size:
Default is 16mb(16*1024*1024), bigger max size more throughput.
But when this value is too big, no more throughput.
For example: 48mb = 48*1024*1024
Code:
echo 50331648 > /sys/module/mali/parameters/pre_allocated_memory_size_max
Mali OS Kernel memory allocation order:
The lower value, the higher preference of allocating OS memory.
The default value is 6, I decreased it to 9 to fix OS memory allocation failure.
If you feel laggy, try 6 (default by driver)
Code:
echo 6 > /sys/module/mali/parameters/mali_oskmem_allocorder
TCP congestions:
Supported:
cubic(default), westwood, highspeed, vegas, veno, yeah
To check all the available options:
Code:
busybox sysctl net.ipv4.tcp_available_congestion_control
To change to other option:
Code:
busybox sysctl -w net.ipv4.tcp_congestion_control=YOU_WANT_TO
Latency - Download - Upload
cubic:
1st run: 15ms - 10,75Mbps - 7,82Mbps
2nd run: 14ms - 10,84Mbps - 8,06Mbps
westwood:
1st run: 11ms - 17,65Mbps - 8,30Mbps
2nd run: 13ms - 13,28Mbps - 8,29Mbps
highspeed:
1st run: 13ms - 10,76Mbps - 7,94Mbps
2nd run: 16ms - 14,42Mbps - 8,52Mbps
vegas:
1st run: 14ms - 8,49Mbps - 6,62Mbps
2nd run: 14ms - 12,00Mbps - 7,07Mbps
veno:
1st run: 13ms - 9,58Mbps - 8,13Mbps
2nd run: 13ms - 8,50Mbps - 7,64Mbps
yeah:
1st run: 14ms - 13,37Mbps - 8,28Mbps
2nd run: 17ms - 13,89Mbps - 8,14Mbps
- In fact, every congestion is designed for different environments.
- Google to learn more!
EGL Driver:
To use Mali hardware egl driver only:
Edit /system/lib/egl.cfg
0 0 android
0 1 mali
To
0 0 mali
Then remove libGLES_android.so
- Recommend to backup these files
- In case it cannot boot,use TWRP file manager to recover changes
Logcat:
Add a init.d script with the following content:
Code:
#!/system/bin/sh
insmod /system/lib/modules/logger.ko
And reboot your phone
Miscellaneous:
To refresh battery stats:
Code:
echo 1 > /sys/kernel/abb-fg/fg_refresh
Almost all tweaks will be restored to default after reboots.
So you can make your tweaks as init.d scripts or make scripts with SManager app to apply them at boot.
Been using it for a couple of hour, its stable enough on slimkat, no random reboots until now, great!!!
{
"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"
}
Sent from my Xperia U
no init.d support?!!??
i cannot copy any file in init.d folder .....
*****EDIT****
init.d script works (i've put files inside init.d folder using older bravekernel1.5) but seem to be some problems with built-in superuser app in this new kernel
problem solved flashing supersu instead ....
I can't get the lowmemkiller whitelist to work with CM11 W37. Instead I'm getting even more launcher redraws. Is there something wrong with my approach? I followed everything given in the OP's Thread.
really strange things ... with this kernel pinballarcade app completely desappears and sqlite editor app crashing at start... revert back to old bravekernel 1.5 everything back to works and pinballarcade reapears itself...
..::Matr!x::.. said:
really strange things ... with this kernel pinballarcade app completely desappears and sqlite editor app crashing at start... revert back to old bravekernel 1.5 everything back to works and pinballarcade reapears itself...
Click to expand...
Click to collapse
I'll revert my chages in fstab and check su permissions.
DivyaMamgai said:
I can't get the lowmemkiller whitelist to work with CM11 W37. Instead I'm getting even more launcher redraws. Is there something wrong with my approach? I followed everything given in the OP's Thread.
Click to expand...
Click to collapse
Try Performance Control app for doing it easily: http://forum.xda-developers.com/showthread.php?t=2401988
Sent from my D5503 using XDA Free mobile app
Random apps like settings, google play services etc started crashing in the background. Then finally I got a random reboot. Happened after 6 hours of use.
It's a great kernel but it really freaking slows my phone.
I'm using CM11 with ART.
Do this kernel not work well on ART?
I have not try this kernel, but the premises should be good and better than the stock kernel of CyanogenMod 11, I can not wait to try it! Thanks for your great hard work @Garcia98 , this is really the best Christmas gift I could do us all xperia u. Happy xmas @Garcia98 !
I will use it again soon.
I'll suggest to wait next release .... atm there's something not properly working with root & permissions....
small2cats482 said:
Random apps like settings, google play services etc started crashing in the background. Then finally I got a random reboot. Happened after 6 hours of use.
Click to expand...
Click to collapse
Which ROM are you using and which settings?
jose97ct said:
It's a great kernel but it really freaking slows my phone.
I'm using CM11 with ART.
Do this kernel not work well on ART?
Click to expand...
Click to collapse
I don't recommend ART in KitKat ROMs
________________
Merry Christmas and happy holidays to all of you!
Garcia98 said:
Which ROM are you using and which settings?
I don't recommend ART in KitKat ROMs
________________
Merry Christmas and happy holidays to all of you!
Click to expand...
Click to collapse
ART worked really fine for me, but I'm back on Dalvik, I miss Xposed and WhatsApp.
On a clean install I'm not having problems, and I'll report battery lasting, general performance and stuff in a few days.
Thank you so much for your work Garcia98 and Merry Christmas to you all!
After 12h of use the wifi cant wake up, the wifi try to connect to my network but always stop at "Obtaining IP".
I get back to stock kernel, but I've good feelings with it.
Garcia98 said:
Which ROM are you using and which settings?
Click to expand...
Click to collapse
I didn't touch any settings. Using Interactive and Row on CM11 weekly 34 or 35 I think.
Garcia, for some unknown reason, i can't copy init.d scripts into init.d folder. I checked my root permissions, everything's fine. I can delete apps from system. Also when i input frandom commands, it says no such file found. Can you please solve my issue?
Sent from the Mars to the Earth just to post a reply.
---------- Post added at 11:56 PM ---------- Previous post was at 11:07 PM ----------
I managed to get 50mb of swap file but I've one doubt. It's created in root/cache. Not in sdcard. I know swap file degrades any flash memory but if this degrades the system memory, i won't be able to switch on mobile, right or wrong?
Sent from the Mars to the Earth just to post a reply.
Vtrendzzy said:
Garcia, for some unknown reason, i can't copy init.d scripts into init.d folder. I checked my root permissions, everything's fine. I can delete apps from system. Also when i input frandom commands, it says no such file found. Can you please solve my issue?
Sent from the Mars to the Earth just to post a reply.
---------- Post added at 11:56 PM ---------- Previous post was at 11:07 PM ----------
I managed to get 50mb of swap file but I've one doubt. It's created in root/cache. Not in sdcard. I know swap file degrades any flash memory but if this degrades the system memory, i won't be able to switch on mobile, right or wrong?
Sent from the Mars to the Earth just to post a reply.
Click to expand...
Click to collapse
Try to create a file in init.d using su and touch /system/etc/init.d/nameofscript commands, also you can try to edit an existing script and add your commands there (dirty solution but the effect will be the same). This issue will be fixed in next release.
About frandom issue it was a typo in instructions, change the path adding /system in the beginning (/system/lib/modules/frandom.ko).
Regarding swap question, it's true that a flash memory is limited to a X number of write cycles, but our phone has just one flash memory of ~8GB, so it doesn't care in which partition you create the swapfile, however you can decrease swappiness to prevent that from happening
Sent from my D5503 using XDA Free mobile app
Garcia98 said:
Try to create a file in init.d using su and touch /system/etc/init.d/nameofscript commands, also you can try to edit an existing script and add your commands there (dirty solution but the effect will be the same). This issue will be fixed in next release.
About frandom issue it was a typo in instructions, change the path adding /system in the beginning (/system/lib/modules/frandom.ko).
Regarding swap question, it's true that a flash memory is limited to a X number of write cycles, but our phone has just one flash memory of ~8GB, so it doesn't care in which partition you create the swapfile, however you can decrease swappiness to prevent that from happening
Sent from my D5503 using XDA Free mobile app
Click to expand...
Click to collapse
Sent from the Mars to the Earth just to post a reply.

[Kernel][CM12.1/AOSP]3.4.112_x_kernel_v1.5 (18/05/2016)

x_kernel
Introduction, Credits & Thanks
Hey guys,
i finished building a basic kernel for the Moto X. As far as i can see this kernel would be ready to release. I cannot encounter any bugs atm and the kernel is running stable and fast. Though, my main focus is not to distinguish myself, rather i am interested i some collaboration.
So this thread is dedicated to @tdhite @skiwong20 @zwliew @Gustavo_s @Megatron007 @##W4TCH0UT## @cyril279 @athulele ,.. which all did some great work in developing some roms and kernels already. I am sure i missed someone, feel included as well and i like to invite you to take the source, build the kernel and bring in your experience in testing, debugging, discussion and further improving. Together with arm-eabi-4.8 the kernel compiles without any errors and warnings.
Summary
But first let me summarize the status of my work and explain what i have done so far:
Based on the motorola source i updated the kernel to Linux Version 3.4.110.
During this process i had to adapt many commits to match the moto source. Also some patches needed to be excluded completely, because some stuff differed to much to merge the updates on top. A detailed description you find in this commit: Squashed update of cm-12.1 kernel to Linux 3.4.110
Second i examined the codeaurora LA.AF.1.1_rb1.18 branch and picked most of for our device left, relevant and working commits as well. Among others these includes patches for kgsl/gpu, camera, audio, net and wlan. Some stuff needed to be adapted too. Tag: LA.AF.1.1_rb1.18-extract
Main Features
- Linux Kernel 3.4.112 updates
- Codeaurora LA.AF.1.1_rb1.18 branch updates
- IoScheduler: Fiops, Sio, Vr, Zen
- Smartmax Governor and the changes by @tdhite
- IntelliActive Governor -> changed frequencies to match msm8960dt
- Intellidemand Governor-> changed frequencies to match msm8960dt
- Interactive Governor -> updates from the razrqcom-dev-team git and much more
- Faux's simple GPU governor
- Faux's IntelliPlug, IntelliThermal, Soundcontrol and USB Fastcharge adaption
- Vibration Strength Control
- Userspace LUT tuning & Colour Calibration, thx to @Gustavo_s
- Zram, Zsmallox, Zcache, Frontswap -> complete Linux Kernel 3.17 backport, a lot of credits goes to the razrqcom-dev-team
- Lz4 compression/decompression
- Kernel Mode Neon + Crypto SHA512 support
- complete lowmemorykiller backport with adaption to vmpressure and many other tweaks
- Rewritten overclocking capabilities up to 1890Mhz, thx to @faux123 fot his initial coding
- Kernel underclocking with a lower frequency of 189 Mhz, thx to @zwliew
- Customizable voltage table / Voltage regulator
- Kernel Samepage Merging tweaks
- disabled sparsemem
- WQ_POWER_EFFICIENT for power oriented workqueues
- LoUIS API for cache maintenance ops
- Scheduler updates
- RCU_FAST_NO_HZ enabled
- massive update regarding kernel's memory managment
- many many more stuff
- init.d script tweaks, see second post
Leftovers
Tweaks discarded for now or to be reviewed and reimplement:
- lib/string & lib/memcopy glibc version -> It is just a placebo maybe
- frandom -> may be incompatible with lollipop and can cause problems
- unaligned access -> can cause problems with a optimized toolchain
- adreno idler -> needs the implementation of powersuspend which we dont have atm
- vnswap, zswap,.. -> does anybody know a proper and up-to-date backport?
- optimizations flags to compile with linaro or uber
- more hotplug driver
Thats all from my side for now.
If there is any stuff which should be reverted, something that may cause problems, feel free to report.
If you have some recommendations, for example what hotplug driver to check and bring in tell me.
Whatever, every feedback is welcome.
Credits and Thanks to:
CyanogenMod, Kernel.org, Code Aurora Forum, Google, razrqcom-dev-team and everyone who is involved in developing for the moto x. Check out the commits author in my git.
Disclaimer: You're installing this at your own risk. Please, make nandroid backups before installing any of these kernels. I take no responsibility for damaging your phone.
XDA:DevDB Information
x_kernel, Kernel for the Moto X
Contributors
tycoo
Source Code: https://github.com/tycoo/moto_x_kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v1.5
Stable Release Date: 2016-05-18
Created 2015-12-15
Last Updated 2016-05-18
Reserved
Important notes / Init Script
I added an init.d script named "x_kernel_init" to tweak some settings, which is pushed into the root folder /system/etc/init.d during the installation of the kernel. Sometimes this script is not completely executed after booting the device. To be sure, that the tweaks are applied and if you want to, start the script manually via the app Kernel Adiutor (downloadable via google play or the corresponding thread here at xda).
All kernel supported settings are tweakable within this app as well, so i strongly recommend to check this out.
At the moment zram isn't enabled via the script anymore, so if you need it, you have to enable it on your own.
If you don't want any of the tweaks to be applied, just delete the script and reboot.
x_kernel_init:
Code:
#!/system/bin/sh
echo "Applying 3.4.112_x_kernel init tweaks"
echo "..."
sleep 1
#cpu interactive
if [ -d /sys/devices/system/cpu/cpufreq/interactive ]; then
echo "50" /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
echo "918000" /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
echo "60000" /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
echo "80" /sys/devices/system/cpu/cpufreq/interactive/target_load
fi;
#cpu
if [ -d /sys/devices/system/cpu/cpu0/cpufreq/ ]; then
echo "384000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo "1728000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
fi;
if [ -d /sys/devices/system/cpu/cpu1/cpufreq/ ]; then
echo "384000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo "1728000" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
fi;
if [ -d /sys/module/cpu_boost/parameters/ ]; then
echo "918000" /sys/module/cpu_boost/parameters/input_boost_freq
sleep 1
#cpu screen off frequency limit
if [ -d /sys/module/intelli_plug/parameters ]; then
echo "1728000" > /sys/module/intelli_plug/parameters/screen_off_max
fi;
sleep 1
#kernel samepage merging
if [ -d /sys/kernel/mm/ksm ]; then
echo "Disable kernel samepage merging"
echo 0 > /sys/kernel/mm/ksm/deferred_timer
echo 0 > /sys/kernel/mm/ksm/run
fi;
sleep 5
#VM
if [ -d /proc/sys/vm ]; then
echo "Virtual Memory settings:"
echo "Dirty Ratio = 10"
echo "Dirty Background Ratio = 75"
echo "Dirty Expire Centisecs = 380"
echo "Dirty WriteBack Centisecs = 950"
echo "Swappiness = 20"
echo "Vfs Cache Pressure = 90"
echo "10" > /proc/sys/vm/dirty_background_ratio
echo "75" > /proc/sys/vm/dirty_ratio
echo "380" > /proc/sys/vm/dirty_expire_centisecs
echo "950" > /proc/sys/vm/dirty_writeback_centisecs
echo "20" > /proc/sys/vm/swappiness
echo "90" > /proc/sys/vm/vfs_cache_pressure
fi;
sleep 1
#lowmemorykiller
if [ -d /sys/module/lowmemorykiller/parameters ]; then
echo "Enabling adaptive LowMemoryKiller"
echo "530592" > /sys/module/lowmemorykiller/parameters/vmpressure_file_min
echo 1 > /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk
echo "Setting LowMemoryKiller Minfree to Aggressive"
echo "0,20,50,100,250,500" > /sys/module/lowmemorykiller/parameters/adj
echo "2048,4096,8192,16834,24576,32768" > /sys/module/lowmemorykiller/parameters/minfree
fi;
sleep 1
#zram
#SIZE=270
#swapoff /dev/block/zram0
#echo "Setup Zram swap device with a size of 270MB"
#echo 1 > /sys/block/zram0/reset
#echo "Set Zram max compressions streams to 8"
#echo 8 > /sys/block/zram0/max_comp_streams
#sleep 1
#if [ $SIZE -ne 0 ]; then
# echo $(($SIZE*1024*1024)) > /sys/block/zram0/disksize
# mkswap /dev/block/zram0
# swapon /dev/block/zram0
#fi;
#sleep 1
echo "...finished"
sleep 3
exit
Reserved
Changelog:
v1.5 https://github.com/tycoo/moto_x_kernel/commits/x_v1.5
- added some tweaks from teammex's kernel
- added many commits regarding RCU_FAST_NO_HZ, Scheduler and smpboot from zwliew's kernel
thx to @zwliew & @TeamMex
v1.4 https://github.com/tycoo/moto_x_kernel/commits/x_v1.4
- update to Linux Kernel 3.4.112
v1.3 https://github.com/tycoo/moto_x_kernel/commits/x_v1.3
- underclocking & overclocking implemented by default
- finally fixed mpdecision/thermal daemon breaking the user set frequency limits.
Benefits: - phone doesnt boot at overclocking frequency anymore, this was especially an issue on core 2.
- gov smartmax is usable together with mpdecision
- disabled sparsemem
- added faux simple gpu governor
- sweep to sleep properly working
- added WQ_POWER_EFFICIENT for power oriented workqueues
- massive memory management updates
- a lot of cpu, cpufreq and gov interactive related updates
v1.2.1 UC/OC experimental https://github.com/tycoo/moto_x_kernel/commits/x_v1.2.11
- added underclock 189Mhz frequency and overclocking capabilities up to 1890Mhz
- added cpu voltage control
- added a init script to disable ksm, tweak vm & lmk and setup zram
Install and proceed with caution:
- changing the clocks and voltages to higher or lower values can cause instabilities and in the worst case damage your phone
- changing, limiting and setting the cpu frequencies only works with intelli plug hotplug driver selected! Strongly advise to select intelli plug first after boot.
As already mentioned in the Kernel Aduitor options, Mpdecision can cause issues.
- also the max screen off frequency has to be set to avoid higher frequency during screen off
v1.2 https://github.com/tycoo/moto_x_kernel/commits/x_v1.2
- applied latest cyanogenmod cm-12.1 changes from Dec 22: https://github.com/tycoo/moto_x_kernel/commits/cm-12.1
- enabled fast charge
v1.1:
- implement LoUIS API for cache maintenance ops
- rbtree updates
- lowmemorykiller updates with the latest adaption to vmpressure, rbtree, ...
..
Great.
Let´s try it. Our moto x deserve this.
Congratulations about this job.
Good job!
Running very well on my phone with SlimLP.
Was the download link removed?
Sent from my ghost using Tapatalk 2
good working
infectedorganism said:
Was the download link removed?
Click to expand...
Click to collapse
In the tab downloads
UrielGT-X said:
In the tab downloads
Click to expand...
Click to collapse
Thanks. I couldn't see that on Tapatalk.
Sent from my ghost using Tapatalk 2
Thanks for a new Kernel @tycoo
Could F2FS support be also added at some stage ?
orky87 said:
Thanks for a new Kernel @tycoo
Could F2FS support be also added at some stage ?
Click to expand...
Click to collapse
F2FS should be in already. Intervigilium merged the motorola f2fs driver into the cm-12.1 branch before.
Nice job...will test within the next few days with Mokee Rom.
Sent from my Moto X using Tapatalk
tycoo said:
F2FS should be in already. Intervigilium merged the motorola f2fs driver into the cm-12.1 branch before.
Click to expand...
Click to collapse
Applying F2FS causes infinite boot for me not sure whats causing it but could you verify that it works..
orky87 said:
Applying F2FS causes infinite boot for me not sure whats causing it but could you verify that it works..
Click to expand...
Click to collapse
I'm using this kernel with /cache and /data formatted for f2fs.
Flash this kernel first, then flash the file linked below. It should work.
Credits to @chaoslimits for the fix.
https://www.dropbox.com/s/sko06ob7qja8f8p/ghost_F2FS_enable_v1.zip?dl=0
Also, a BIG thanks to @tycoo for the kernel. Everything is running smooth and stable thus far.
Sent from my ghost using Tapatalk 2
Nice fix @chaoslimits & thx @infectedorganism for sharing
Didn't know about that. My kernel uses Anykernel atm, which grabs the ramdisk of the previous rom or kernel installation during the flashing procedure.
So the good thing is, once you flashed the provided fix and it doesn't matter when, if you are staying with a kernel with Anykernel afterwards you never have to install the fix again.
Small update to x_kernel_v1.1
- implement LoUIS API for cache maintenance ops
- rbtree updates
- lowmemorykiller updates with the latest adaption to vmpressure, rbtree, ...
https://github.com/tycoo/moto_x_kernel/commits/v1.1
Lets see how this goes
Error while flashing... No MD5 and it's 138mb? So confused can someone mirror this?
Sent from my Moto X using Tapatalk
tycoo said:
Small update to x_kernel_v1.1
- implement LoUIS API for cache maintenance ops
- rbtree updates
- lowmemorykiller updates with the latest adaption to vmpressure, rbtree, ...
https://github.com/tycoo/moto_x_kernel/commits/v1.1
Lets see how this goes
Click to expand...
Click to collapse
add new features included underclockin and fast charger?
tchula said:
add new features included underclockin and fast charger?
Click to expand...
Click to collapse
no underclocking yet, fastcharge is in but is not activated in defconfig
Still don't get this...
Sent from my XT1055 using Tapatalk

Categories

Resources