Stock GB Tweaks Thread - XPERIA X10 General

what are some tweaks everyone is using on their stock F/W's?
I have removed:
sony sync, setup and guides, some of the stock apps that i don't use
added:
bravia engine (might remove due to suspicious battery consumptions)
misc tweaks:
build.prop
changed vm heapsize to 48m
added windowsevent line
added scripts to change read_ahead to 3072 (works best with my sccard)
disabled a lot of start up apps
hitting around 1372 in quadrant and 36-37 in linpack
what are some other tweaks that can be added that others are using?

Fps uncap by z. Im also want to removed bravia, could you show me how to do it pls?
Sent from my X10i using XDA App

teddymild said:
Fps uncap by z. Im also want to removed bravia, could you show me how to do it pls?
Sent from my X10i using XDA App
Click to expand...
Click to collapse
i just restored system from a previous backup

Im hoping an easier
Way. Tks anyway.
Sent from my X10i using XDA App

- prevent lag after boot if you have lots of pictures and don't use the 3D gallery at all but QuickPic or another alternative: install Rescan Media Root from Market.
Another way would be to simply rename the gallery but then adding images to contacts doesn't work.
- free root explorer: Estrong File Explorer, the root mode didn't work in 2.1, but it does now!
- AppWidgetPicker still works in GB (display submenus for widget selection instead of a long list)
- turning off the button leds still works in GB:
#! /system/bin/busybox sh
DIR=$(cd /sys && find | grep brightness | cut -c 3- | cut -d : -f 1 | head -n 1)
LED=/sys/$DIR
LEDB=$LED:sled/brightness
echo 0 > $LEDB
exit

zorglub08 said:
- prevent lag after boot if you have lots of pictures and don't use the 3D gallery at all but QuickPic or another alternative: install "Rescan Media Root" from Market.
Another way would be to simply rename the gallery but then adding images to contacts doesn't work.
- free root explorer: Estrong File Explorer, the root mode didn't work in 2.1, but it does now!
- WidgetPicker still works in GB (display submenus for widget selection instead of a long list)
- turning off the button leds still works in GB:
#! /system/bin/busybox sh
DIR=$(cd /sys && find | grep brightness | cut -c 3- | cut -d : -f 1 | head -n 1)
LED=/sys/$DIR
LEDB=$LED:sled/brightness
echo 0 > $LEDB
exit
Click to expand...
Click to collapse
Can you share WidgetPicker with me? I can't seem to find it in the market.

@OP - i was just about to start a thread like this!!
For those of us that would like to keep the stock rom and apply tweaks ourselves we need people that know the tweaks to share them! Should we use autokiller/sysctl for example?
How about spare parts with compcache/[email protected]?
i look forward to hearing what is possible!
@op, i set VM to 64, but not sure if there is a noticeable difference!

Sorry, it's AppWidgetPicker, I added the link now.

svtfmook said:
what are some tweaks everyone is using on their stock F/W's?
I have removed:
sony sync, setup and guides, some of the stock apps that i don't use
added:
bravia engine (might remove due to suspicious battery consumptions)
misc tweaks:
build.prop
changed vm heapsize to 48m
added windowsevent line
added scripts to change read_ahead to 3072 (works best with my sccard)
disabled a lot of start up apps
hitting around 1372 in quadrant and 36-37 in linpack
what are some other tweaks that can be added that others are using?
Click to expand...
Click to collapse
Hi, what do u mean "windowsevent line" ?

as quoted here in step 13. < this is from a tweaks guide for 2.1
For the thread, if you are experiencing problems downloading from your browser:
d/l astro file manager from the market, go into preferences (more/preferences) and tick the "enable browser downloads" box. this is not my find, I read it earlier somewhere here on xda

I direct rooted my fw and flashed Bravia engine, so far so good.
Is there any way to flash FPS uncap for stock ROM without the need of a new ROM?
Edit : Already done.

some hacks on mine
build.prop
HTML:
ro.telephony.call_ring.delay=1000
ro.mot.eri.losalert.delay=1000
ro.min_pointer_dur=100
mot.proximity.delay=750
dalvik.vm.startheapsize=64m
dalvik.vm.heapsize=64m
windowsmgr.max_events_per_sec=260
ro.FOREGROUND_APP_MEM=5120
ro.VISIBLE_APP_MEM=6144
ro.SECONDARY_SERVER_MEM=8192
ro.BACKUP_APP_MEM=8192
ro.HOME_APP_MEM=8192
ro.HIDDEN_APP_MEM=21000
ro.CONTENT_PROVIDER_MEM=23000
ro.EMPTY_APP_MEM=25000
create a new file without extension on \system\etc\init.d\ folder and name it to S96sdcardspeedfix
HTML:
#!/system/bin/sh
if [ -e /sys/devices/virtual/bdi/179:0/read_ahead_kb ]
then
/system/xbin/echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
fi;
if [ -e /sys/devices/virtual/bdi/179:8/read_ahead_kb ]
then
/system/xbin/echo "2048" > /sys/devices/virtual/bdi/179:8/read_ahead_kb;
fi;
if [ -e /sys/devices/virtual/bdi/default/read_ahead_kb ]
then
/system/xbin/echo "2048" > /sys/devices/virtual/bdi/default/read_ahead_kb;
fi;
create a new file without extension on \system\etc\init.d\ folder and name it to 99SuperCharger - use busybox 1.18.2 and script manager for this
HTML:
due limit of characters to post, download the file attached and delete .txt
check this to find out more about SuperCharger
enjoy some of the "hidden" hacks out there
there´s so much more....search

as an addition to rendiero's post, results will vary depending on your sdcard. try other settings like 1024m, 2048m, 3072m, 4096m

svtfmook said:
as an addition to rendiero's post, results will vary depending on your sdcard. try other settings like 1024m, 2048m, 3072m, 4096m
Click to expand...
Click to collapse
yap, you´re right i forgot to mention that thanks

Stating the obvious but remove apps that aren't needed!
SEMCSettings
Livewallpapers
etc etc.

here's a list of stock apps that i haev found to be ok when removed (results may vary, you may have something installed/using may depend on some of these)
device-monitor.apk - error reporting
OMAClientProvisioning.apk - part of sony sync
OmaDatasyncService.apk - part of sony sync
OmaV1AgentDownloadServices.apk - part of sony sync
PcCompanion.apk - pc companion installer
POBoxSknPink.apk - skin for japanese keyboard
POBoxSknWood.apk - skin for japanese keyboard
SecureClockJava.apk - not sure what it's for, but i have had no problem after removing it
SemcCrashMonitor.apk - more error reporting
Sync.apk - part of sony sync
SyncWizard.apk - part of sony sync
usersupport.apk - teaches you how to use your phone
SEMCsetupwizard.apk - initial setup, once you've done it, you don't need this anymore
LiveWallpapersPicker.apk - live wallpapers
MediaWidget.apk - media widget
MusicWidget.apk - music widget
Japaneseime.apk - japanese keyboard
koreanime - korean keyboard
removing the above will have no effect on timescape/facebook integration (that i have found, everything has been working fine for me)

@rendiero: for the 2 tweaks 99SuperCharger and S96sdcardspeedfix,can you write a step by step please?
Because i am little confuse with busybox and script manager.
On the tuto in the links for supercharger i write some value like 6,16, ...
For X10 the value are same or?
I have add same line on my build.prop now my phone stuck on Sony Ericsson logo.
I need to restore my backup

Are you on any moded Rom? Cause as I understood this thread is for stock one. That may cause some instability issues?
sent from tapatalk on my Domm's mod rom

@Renderio, thanks for those, i will stop and try these later! the build prop is easy enough but will test the other 2 as well
thanks dude - you rule! please (all) let us know if any 'other tweaks/performance apps' can be applied - OR if they clash with any already stated (tweak conflicts where 2 process are doing the same thing, for e.g setcpu & other cpu app both doing the same tasks - you get my meaning i hope!!)
Thanks

The last 2 may conflict with wolf's Rom.
To use those you need to know witch files you must delete/change on it.
sent from tapatalk on my Domm's mod rom

Related

CYANOBIZ CM9 Support Thread!

Welcome to Gen8 CYANOBIZ Support thread!​
ATTENTION: This build is stil in early Beta stage! Bizcuite is not responsible of bricked tabs, world war or some kind of alien invasion!
What is this thread for?
This thread is made to help people run CYANOBIZ Unofficial CM9 on their tabs, report bugs related to this ROM and share tips and tweaks.
Before adding your problem(s):
Make sure you are running the latest release of CYANOBIZ !
Make sure your problems is not already listen in the OP (aka this post) !
Bug/Problem list:
Bluetooth can work only by command in Terminal Emulator. Not fixed yet.
Camera. Preview only (can not take pictures for now). Not fixed yet.
Battery stats (% works but no notification of charge). Not fixed yet.
Each problem reported by user will be posted here after its accepted. Remember to use the latest build before reporting.​
How to install CM9 step by step:
You have to install SDE before you attempt to install CM9. Follow the guide in this thread: http://forum.xda-developers.com/showthread.php?t=930197
From now on you have to download the files only from this thread: http://forum.xda-developers.com/showthread.php?t=1941377
Step 1: Download and decompress (unzip) CM9 image file. Rename it to "openaos-cm.img".
always remember to download the file made for your device. Each device has different specification like screen size, RAM, etc.
Step 2: Download zImage.zip (its usually named with the date of the build like "zimage041013.zip") and rename it to "zImage". Do NOT decompress it!
Step 3: Download "initramfs.cpio.gz".
Step 4: Download "data.img.tar.gz", decompress it and choose the size that fits to your needs. (This file will be used to install apps. If you usually install low amount of apps you can use 256MB. Recommended size: 512 MB.. After you decompress it, rename it to "data_ICS.img" and copy it to the root of your internal storage.
Step 5: Copy the decompressed CM9 system file (openaos-cm.img) to the root of your internal storage.
Step 6: Create a new text file. Insert this line: ICS||/openaos-cm.img|/init|0Archos|ARCHOS|ARCHOS|/init and save it. Rename the text file to "menu.lst" and copy it to the internal storage. (If it doesnt work open "menu.lst" with Notepad++ and add one additional line below by pressing enter)
Step 7: Installing the kernel and initramfs.cpio.gz:
Reboot your tab into recovery. Select Recovery System => Developer Edition Menu => Flash Kernel and Initramfs. Connect your tab to your PC via USB and copy the files from steps 2 and 3. (Its recommended to copy the files one by one)
You are done! :good:
Currently the kernel is not supported by other ROMs (except stock firmware with stock kernel).
How to add swap file
Use adb or Terminal Emulator and add these lines:
If you are going to copy the lines copy it line by line do not copy-paste the whole guide else it wont work!
swapoff -a
rm /swapfile
rm /system/etc/fstab
dd if=/dev/zero of=/swapfile bs=1024 count=50000
mkswap /swapfile
touch /system/etc/fstab
echo "/swapfile none swap sw 0 0" >> /system/etc/fstab
swapoff /dev/block/ramzswap0
swapon -a /swapfile
This activates a swap file of 50MB in the root of your system image file (CYANOBIZ_xxx.img also knows as openaos-cm.img
Do NOT increase the size over 50MB because the system will become full and it will result in a bootloop!
How to activate swap in internal SD card (storage). This way you can put highter value like 128MB/256MB/512MB/etc.
Use adb or Terminal Emulator and add these lines:
If you are going to copy the lines copy it line by line do not copy-paste the whole guide else it wont work!
swapoff -a
rm /mnt/storage/swapfile
rm /system/etc/fstab
dd if=/dev/zero of=/mnt/storage/swapfile bs=1024 count=128000
mkswap /mnt/storage/swapfile
touch /system/etc/fstab
echo "/mnt/storage/swapfile none swap sw 0 0" >> /system/etc/fstab
swapoff /dev/block/ramzswap0
swapon -a /mnt/storage/swapfile
If you want to see if it's working type "cat /proc/swaps"
You should see this:
cat /proc/swaps
Filename Type Size Used Priority
/mnt/storage/swapfile file 127972 0 -1
You swapfile is done!
Notice: Sometimes a logcat worths more then a hundred words.
If you like the ROM and you'd like to support it feel free to donate to Bizcuite. This way you can tell him a huge "Thank You" and support his job.
CYANOBIZ Unofficial CM9 Tips & Tweaks
These tweaks come with no warranty! There is a change of bootloop if you edit the wrong value.
Open your root File Explorer (most people use RootExplorer) then go to /system and add these lines to your Build.prop file:
# ADDITIONAL_BUILD_PROPERTIES
#
keyguard.no_require_sim=true
ro.com.android.dateformat=MM-dd-yyyy
wifi.interface=tiwlan0
net.dns1=8.8.8.8
net.dns2=8.8.4.4
qemu.hw.mainkeys=1
wifi.supplicant_scan_interval=120
persist.sys.usb.config=mass_storage,adb
ro.telephony.default_network=0
# dalvik props
persist.adb.notify=0
dalvik.vm.heapstartsize=25m
dalvik.vm.heapgrowthlimit=128m
dalvik.vm.heapsize=160m
#dalvik.vm.dexopt-flags=m=y
#dalvik.vm.heapstartsize=5m
#dalvik.vm.heapgrowthlimit=48m
#dalvik.vm.heapsize=196m
dalvik.vm.dexopt-flags m=y,o=v,u=y
ro.fb.mode=1
ro.sf.compbypass.enable=0
# persist.sys.shutdown.mode=hibernate
ro.config.hw_quickpoweron=true
mot.proximity.delay=25
ro.mot.buttonlight.timeout=0
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
ro.ril.disable.power.collapse=1
debug.sf.hw=1
debug.composition.type=gpu
debug.composition.type=c2d
windowsmgr.max_events_per_sec=240
ro.ui.fullscreen=false
debug.performance.tuning=1
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
hw3d.force=1
persist.sys.composition.type=c2d
persist.sys.ui.hw=0
#ro.telephony.call_ring.delay=0
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.carrier=wifi-only
#crash tab don't enable it
#debug.enabletr=true
Many thanks for your works Mavasilisk. It's perfect!! Just don't forget the "e" in Bizcuite :angel:
Upload of first BETA release is in progres
Don't forget, if you install my kernel, you will NOT be able to use others OS (except original Firmware with original kernel of course)
Maybe we must add "This release is not official and not supported by cyanogen".
Bizcuite
bizcuite said:
Many thanks for your works Mavasilisk. It's perfect!! Just don't forget the "e" in Bizcuite :angel:
Upload of first BETA release is in progres
Don't forget, if you install my kernel, you will NOT be able to use others OS (except original Firmware with original kernel of course)
Maybe we must add "This release is not official and not supported by cyanogen".
Bizcuite
Click to expand...
Click to collapse
Updated. Sorry, I was so focused so I missed "e" in your nickname. Cant wait to try the first beta!
Mavasilisk said:
Updated. Sorry, I was so focused so I missed "e" in your nickname. Cant wait to try the first beta!
Click to expand...
Click to collapse
First page updated in dev section.
Link updated
Bizcuite
Sent from my GT-N7100 using xda app-developers app
How is sleep with CM9? I used to find with CM7 Bull my tab used to use more power than stock Froyo when sleeping. Also how well does Chrome work with 256mb ram? Thanks.
I prefer Boat Browser. Its very fast and snappy with the new HW. I can compare it to Opera. Chome is just....not my taste.
Browsers
Mavasilisk said:
I prefer Boat Browser. Its very fast and snappy with the new HW. I can compare it to Opera. Chome is just....not my taste.
Click to expand...
Click to collapse
Yes Boat browser works best but is laggy on bigger pages and force closes when I try to start flash content - flash player is still not working. Other browsers force close on bigger pages and chrome is slow. Opera final still dont work, beta is working but freezes on first couple starts. Even stock browser freezes on first couple starts and crashed system once and then started to work pretty normal. Most interesting thing is with Puffin browsers, they worked well under 1.8 and now Puffin free cant even start and Puffin paid freezes or force close when I try to start some web address or edit speed dial. I edited vm heapsize but it didnt help. I am still suspicious on GPU driver. Rom is fast and many apps and games works but we still have some major problems. Keep up with good work Biz and I hope that we will get stable rom soon.
Biz, check for dalvik cache and cache errors. I had some problems with apps when I forgot to wipe caches.
WiFi
Mavasilisk said:
Biz, check for dalvik cache and cache errors. I had some problems with apps when I forgot to wipe caches.
Click to expand...
Click to collapse
I dont have problem with cache but you were right we still have problems with wifi driver, that is our major problem for now. I hope that Biz will find good driver and recompile it soon.
aleksandarvs said:
I dont have problem with cache but you were right we still have problems with wifi driver, that is our major problem for now. I hope that Biz will find good driver and recompile it soon.
Click to expand...
Click to collapse
I try both. Today i have try to compile the driver module from cm9 sources and with archos gen8 stock kernel.
Compilation success but the driver doesn't want to be insert. I have warning during compilation and this failed the insertion.
Can you say me which security you use to connect you to your wifi?
I think that there is an issue with wpa1/2 security.
Because when i am at work i have no pb, it's a free hotspot wifi without any security just a login.
Bizcuite
Sent from my GT-N7100 using xda app-developers app
I am using WPA-PSK-CCMP and I can make it crash pretty often.
Hi Biz,
congrats to your excellent your CM9 Build. It's pretty fast. However I have a A70S like Mavasilisk and also have the same problems. I can make the tablet crash and reboot with Angry Birds Space with WIFI enabled. However if I disable Wifi and reboot so that the systems boots with WIFI off I can play the game. After another reboot with WIFI enabled the game crashes again.
I have a completely fresh system with nes data_ICS and I'm on WPA WLAN encryption.
groovey2k said:
Hi Biz,
congrats to your excellent your CM9 Build. It's pretty fast. However I have a A70S like Mavasilisk and also have the same problems. I can make the tablet crash and reboot with Angry Birds Space with WIFI enabled. However if I disable Wifi and reboot so that the systems boots with WIFI off I can play the game. After another reboot with WIFI enabled the game crashes again.
I have a completely fresh system with nes data_ICS and I'm on WPA WLAN encryption.
Click to expand...
Click to collapse
TO ALL WHO USES BETA 2.0 (only 2.0 a 2.1 will be upload this evening), PLEASE CHANGE THOSE VALUES:
in /init.rc:
Code:
write /proc/cpu/alignment 1
The original value is 4
And in /system/build.prop:
search "vm.heapsize" and set the value to 192m
Crashes/Kernel Panic must be a REAL old story.
Bizcuite
bizcuite said:
TO ALL WHO USES BETA 2.0 (only 2.0 a 2.1 will be upload this evening), PLEASE CHANGE THOSE VALUES:
in /init.rc:
Code:
write /proc/cpu/alignment 1
The original value is 4
And in /system/build.prop:
search "vm.heapsize" and set the value to 192m
Crashes/Kernel Panic must be a REAL old story.
Bizcuite
Click to expand...
Click to collapse
This post was a wrong way
Jut edit init.rc and change the value of this line: write /proc/sys/kernel/panic_on_oops 0
Set the value to 0.
The will be really stable!!!
Bizcuite
Sent from my GT-I9003 using xda app-developers app
So alignment to 1 or 2 ?
Mavasilisk said:
So alignment to 1 or 2 ?
Click to expand...
Click to collapse
4
Bizcuite
Sent from my GT-N7100 using xda app-developers app
First page (OP) updated with How-to add swapfile guide!
Ok, Good tutorial this rom rocks.
FYO, after upgrade my swap to 1G and my cpu to 1200... Chrome style unusable. I Think our poor gen8 is style weak to it...
Regards,
Rabbit
Try with OC to 1100.

[ROOTED / 3FILE] XWJWB#_XEEJW2_XWJW1 by stock+

>> DOWNLOAD <<
I9000_JWB_JW2_JW1_stock.zip is:
- rooted 3 file repack of XWJWB_XEEJW2_XWJW1 firmware
---- latest ChainsDD Superuser
---- latest busybox
---- proper symlinks
- Odin 3.07 for flashing
- 512.pit file (USE ONLY THIS ONE) for repartition
What is not done:
- no extended CWM recovery - this may come later
- no modifications - this will come later
How to install:
NOTE: this instalation will wipe your system and user data but leave internal /sdcard/ untouched
- backup current messages / call logs / apps+data / wifi and bt
- put your device in DOWNLOAD MODE
- connect to PC
- open Odin and place files as shown at screenshot from attatchemnt (do not use other pit files) and hit Start
* if you feel confident you might like to change CSC file to one matching your location to get for ex. Swype language support
- enjoy Your rooted XWJWB - restore messages / call logs / apps+data / wifi and bt
What was done:
- clean JWB_JW2_JW1 flash with repartition
- rooting
- installing Superuser.apk - v 3.1.3
- installing busybox (+symlinks) - v 1.21.0.git
- dumping factoryfs.rfs (rooted system partition)
* i know it could be done cleaner but it will do the trick
- assembling 3 file package out of it
XWJWB MODIFICATIONS, LINKS --- --- --- --- --- --- --- --- --- --- --- --- ---
> rom-g's % battery mod --- test version
> non increasing ringtone --- test version
> Status/Quick- bar's icons --- test version < UNSTABLE - use at own risk - NFO
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
Thanks to:
- Samsung for still releasing updates for I9000
- Grooby for helping me root it
- XDA for keeping I9000 forums
changelog
it will be made with latest tools available, only odex and most probably an Odin flashable only ;]
What modifications will be included in next release:
+ BROWSERFIX - FULLSCREEN + background fix for transparent background + max tab number extended from 4 to 8
+ VOLSNDFIX - changes the annoying tone of volume_change on keypress to CUSTOMIZABLE mp3 file
(those files are located in /system/media/audio/ui/ files Volume-1.mp3 to Volume-7.mp3)
+ 1 % stepping battery xml status/loading + battery mod
+ GSM/Wifi/Data Connection icons turns green/colored when connected (few data connection png types in customizations)
+ Fully enabled SIP Wifi/3g
+ Camera hacks: 'Low Battery' Hack + 'Shutter' Hack + Audio Hack (no audio hack version also aviable in customization)
+ Enabled stay awake for ac and usb in settings/applications/development
+ "Use incoming call volume for notifications" tweak
+ Enabled dock options
+ Mms hacks: no conversion to mms after 3 smses / 100 recivers / send time
+ Phone hack: autorotating dialer and call screen / non increasing ringtone
This might be included in future release but probably will not be:
+ VideoPlayer & MusicPlayer working under 15%
(when ill find the mod files)
+ Status bar a bit transparent (100% transparent version also aviable)
+ Notification area transparent and tweaked: removed carrier text, size tweaks, clear button moved
(i am unsure if transparency is needed, might be i will end up only with some tweaks)
+ Touchwiz3 tweaks: 5 icon dock, transparent appdrawer, transparent shortcut area in appdrawer, no app icon background, 4x4 stock appdrawer and workspace (landsca version also aviable in customization)
(i think i will pick some of those modifications in furure releases)
+ Extended power menu /reboot,recovery,download mode/
(no need for it, stock means no custom recovery so no need to for that menu)
+ CRT 'screen off animation' (optional version wo CRT screen off animation)
(it looks fine but breaks screen off / dim off animation - might be that this modification will be optional)
+ AOSP lockscreen / Glass-Stock Lockscreen
(no need for those)
feel free to express your opinions
recovery 2e would be a great addition
mrplowdan said:
recovery 2e would be a great addition
Click to expand...
Click to collapse
exactly
Thanks for the file.
By the way how do you root this build?, stock kernel? 2.6.35.7-1217612 if so can you provide separate package for the kernel?
it is allready rooted and custom recovery - we will think about it
custom recovery so you can break something? NEVER! =)
# is enought if you want to play with the phone
rom-g's % battery mod --- test version
>> DOWNLOAD <<
sorry for hotfile link but xda system allows files up to 8mb only uploaded
* if You do not understand the below - do not try to do it
> adb push framework-res.apk /sdcard/framework-res.apk
> adb shell
$ su
# stop
# mount -o rw,remount /dev/block/stl9 /system
# rm /system/framework/framework-res.apk
# cp /sdcard/framework-res.apk /system/framework/framework-res.apk
# cd /system/framework/
# chmod 644 /system/framework/framework-res.apk
# ls -l
[...]
-rw-r--r-- root root 9943479 2013-06-01 14:33 framework-res.apk
[...]
# sync
# reboot
>
Click to expand...
Click to collapse
if something, somehow fails:
extract factoryfs.rfs from PDA_XWJWB.tar (first post package)
tar it (after it will be factoryfs.tar) and flash as PDA in Odin via download mode - this will overwrite the /system/ partition with correct filesystem wo touching Your data
non increasing ringtone --- test version
>> DOWNLOAD <<
* if You do not understand the below - do not try it
> adb push Phone.odex /sdcard/Phone.odex
> adb shell
$ su
# stop
# mount -o rw,remount /dev/block/stl9 /system
# rm /system/app/Phone.odex
# cp /sdcard/Phone.odex /system/app/Phone.odex
# cd /system/app/
# chmod 644 /system/app/Phone.odex
# ls -l
[...]
-rw-r--r-- root root 816104 2013-06-03 15:32 Phone.odex
[...]
# sync
# reboot
>
Click to expand...
Click to collapse
if something, somehow fails:
extract factoryfs.rfs from PDA_XWJWB.tar (first post package)
tar it (after it will be factoryfs.tar) and flash as PDA in Odin via download mode - this will overwrite the /system/ partition with correct filesystem wo touching Your data
Status/Quick- bar's icons --- test version
>> DOWNLOAD <<
* if You do not understand the below - do not try it
> adb push SystemUI.apk /sdcard/SystemUI.apk
> adb shell
$ su
# stop
# mount -o rw,remount /dev/block/stl9 /system
# rm /system/app/SystemUI.apk
# cp /sdcard/SystemUI.apk /system/app/SystemUI.apk
# cd /system/app/
# chmod 644 /system/app/SystemUI.apk
# ls -l
[...]
-rw-r--r-- root root 253909 2013-06-03 16:13 SystemUI.apk
[...]
# sync
# reboot
>
Click to expand...
Click to collapse
if something, somehow fails:
extract factoryfs.rfs from PDA_XWJWB.tar (first post package)
tar it (after it will be factoryfs.tar) and flash as PDA in Odin via download mode - this will overwrite the /system/ partition with correct filesystem wo touching Your data
i am marking SystemUI mod UNSTABLE - use at own risk
ive noticed once SystemUI crashing and reloading to stock GB icons
ive also managed to do fast bugreport command afterwards and hopfully some data were dumped to analyze that incident
btw i am still waiting for beta tools to be released for testing that will hopefully iron the bugs i submited to authors and let me finish stock+ modifications =)
JWB stock kernel addition request
I have found this stock rom to be fantastic.
The only thing missing is notification support (bln style).
Anyone know how to add the required support for this?
ta.
i can add the mod to system files but you would still need a kernel with bln support
Might have to try going back to Semaphore 2.74 to get bln support. Seems a shame to go backwards.
I'm not sure if stock JWB kernel supports deep idle and other advanced features, but battery life and performance seems great so far.
I wonder if bln could be added via a loadable kernel module? I'll do some googling...
i think you could build own kernel based on latest ssources aviable and just add bln support
idk how about deep idle but stock for sure supports deep sleep
more on bln suport XWVVB
tried installing many different kernels.... Ran into all sorts of incompatibilities.
In the end installed
JWB CWM (deodex root semaphore 2.7.4 MultiCSC WIPE)
from : http://forum.xda-developers.com/showthread.php?t=2205881
then CWM, bln from market.
now it appears to be stable, bu bln only works on gmail, sms messages display on lockscreen, which is nice but i think disable bln as the lockscreen lights up! Another launcher might be the only way to go here...not sure.
thats the patch your missing https://github.com/neldar/backlight...atches/i9000-jvh/bln-i9000-jvh-services.patch i guess

[GUIDE] The Ace Xperia Play Setup 1.2! ~ Dalvik Tunning!

Ace Xperia Play​Hello Guys! , after scavenging the whole of the Xperia Play Forums I present to u the best Xperia play Setup in my opinion (and some others...)
First off i Wanna Give some Quick Thanx to:
ozzmanj1 - He Convinced me Heavily about the Stock Rom + A Working Odex Script!
TLRTheory - He convinced ozzmanj1 who convinced me,
Wedgess - A real developer!
DoomLord - Where would we be without him?
juwe11 - The Great Ramscript
LENAROX - The Unique and Amazing Pro-Tunned ADJ
Ryuinferno - Uni Init.d
Zepplinrox - Sclean
Bakisha - Telling me about Odexing!
CosmicDan - Dalvik Dexopt Flags
NOTE! You Must do these in order for the Best Stuffs, Also Please Read Everything
So Lets start shall we?
Oh wait no, Get some Coffee or another Beverage and get ur xP and Hook it up to ur PC,
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1. Backing Up!
First of were going to need some backups incase Anything goes wrong, So Go Ahead and:
-Reboot into CWM Recovary > Make a CWM Backup
-Reboot back into ROM > Download Titanium Backup and Run a Backup of All User Apps
-Power off you Device > Put it to Charge > (While waiting for Charge) Pull out the SD-Card and Manually mount into PC (Otherwise just do it normally with Android on, NOTE! it will take much longer) Now Cut Everything into a Secure location onto your PC
2. Preping
Just some things u need to be able to go to the next step:
-A Fully Charged Battery
-An Empty SD-Card
-Some more Coffee
now to continue we need to wipe all old things:
-Reboot into CWM > Wipe:
--System
--Data
--Cache
--Dalvik Cache
--SD-Card
--Battery Stats
now power off the device and keep it hooked up to power
Download the Following:
Xperia Play 52 Enhanced v3 Firmware
Flashtool
Lupus GB v12 LagFixed Edition
Now install Flashtool and copy the Xperia Play 52 Enhanced v3 Firmware to the flashtool firmwares folder
3. Flashing
Time fore the main moment,
-Run Flashtool (NOTE! if u have 64-bit, run the 64bit, also sometimes u have to like 6 times click it to open...)
-Disconnect your Device
-Connect the device in Flashmode (Will promt how to)
-Let it do its work (NOTE! If it asks to install drivers, go to the flashtool subfolder names drivers, run the .exe and select the list with xperia play in and select flashmode, then reboot)
-Now disconnect the device AND DONT BOOT UP
-flash Lupus GB v12 LagFixed Edition
-Now Gracefully boot up the device knowing you have the cleanest xp in existent,
4.Restoring
Now u can copy ur SD Card back, Advice : enable msc for faster transfer
U can also restore all apps via Titanium Backup, just download the app and restore
5. Root
When rebooting allow lupus gb to root
then go to playstore and install superuser and update the su binary
6. Fine-Tunning
This is the good stuff,
so we need to get performance and battery TOP NOTCH!
First off i recommend fine tunning the Android native settings, so adjust ur ringtones and etc... anothing thing is Leave animations on,
Then delete all apps u can from data/app, eg hotshots, fb and the rest of the sony junk
Now off to tweaking!, download:
Uni-Init.d
AutoMagical Debloater
Key for AutoMagical Debloater: JzzTXhl0MJlkga6fbLy5OXI2-FwXAXI_ZMU3MkRxE9I
Now download:
Root Browser
So first off reboot into recovary, and flash the Uni-Init.d zip
Now Flash Debloater.zip then Reboot x2
Open Root Browser and navigate to /system/app and here i cant help much, this is ur brain and eyes, manually compare whats in the zip i provided and the /app folder and remove stuff so ur devices apps are equal, now u may get some FC's but its nothing to dangerous to worry about,
Reboot now!
Some more debloating:
Navigate to system/etc, press search and type *.apk u should find some apk files, of their Verizon/Sony related, delete them!
Their is also another thing we can do called Odexing, be aware that doing this will result in you not being able to mod any framework files
Download the Odex Zip First, Flash it in CWM then Wipe Cache and Dalvik Cache and reboot x2 Then:
- open terminal emulator (will be installed automaticaly)
- type su to obtain root permission
- type dexo -h to show possible commands for your phone
- type dexo -one of the option that you have decided
I & Ozzmanj1 recommend Odexing Everything - all
7. Tweaking
Suprisingly enough, All tweaks existent on android SUCK, (Joking) basically what im saying is we only need 3 tweaks
first off open root browser, go to /system and open build.prop, now allow editing:
Input the following for everyday use and generally amazing performance in eveything
Code:
# 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
or if ur extreme and want amazing games and pretty much no multitasking then this:
Code:
# 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=15
ro.BACKUP_APP_ADJ=5
ro.HOME_APP_ADJ=6
ro.HIDDEN_APP_MIN_ADJ=3
ro.EMPTY_APP_ADJ=15
#ultimate assassin mode enabled.
save and exit, now reboot or cary on to next tweak and then reboot after that
Next up were going to optimize dalvik verification and optimization, to do this were going to navigate to /system/build.prop and open it and start editing, look for something like this:
Code:
dalvik.vm.dexopt-flags=m=y
after lots of reasearch i came across a thread where CosmicDan Explained how dalvik vm worked with this and etc, and acording to him setting the dalvik vm to this parameter will increase performance all over the board
So replace with this:
Code:
dalvik.vm.dexopt-flags=m=y,v=n,o=v,u=n
Done, now reboot 2 times, then continue on to the next tweak!
Now Init.d Tweaks, We only need 1, So open up root browser and navigate to /system/etc/init.d (this is long text, so i recommend save as file then in android cp and paste, if ur going to do this paste it into notepad++ and then save as .sh and then rename and remove .sh extension, we save as .sh to get the linux formatting so no bootloops or inactive scripts r their...) and make a new file called "97ramscript", Within the script input the following:
Code:
#!/system/bin/sh
# Copyright© 2011 Juwe11
if [ -e /sys/module/lowmemorykiller/parameters/minfree ]; then
echo "2560,4096,6144,12288,14336,18432" > /sys/module/lowmemorykiller/parameters/minfree
fi
if [ -e /proc/sys/vm/swappiness ]; then
echo "20" > /proc/sys/vm/swappiness
fi
if [ -e /proc/sys/vm/vfs_cache_pressure ]; then
echo "70" > /proc/sys/vm/vfs_cache_pressure
fi
if [ -e /proc/sys/vm/dirty_expire_centisecs ]; then
echo "3000" > /proc/sys/vm/dirty_expire_centisecs
fi
if [ -e /proc/sys/vm/dirty_writeback_centisecs ]; then
echo "500" > /proc/sys/vm/dirty_writeback_centisecs
fi
if [ -e /proc/sys/vm/dirty_ratio ]; then
echo "15" > /proc/sys/vm/dirty_ratio
fi
if [ -e /proc/sys/vm/dirty_backgroud_ratio ]; then
echo "3" > /proc/sys/vm/dirty_backgroud_ratio
fi
then save,now long press and set permissions to all of them (basically tick all 9 boxs)
now reboot
8. Keepin it Clean
Now we have everything done and our xPlay is Top notch but we need to keep it top notch!
so download:
Clean Master , And clean caches and empty folders regulary, HOWEVER please dont use TASK KILLERS, their terrible and ruin performance!!!
next up, install Busybox, Download this:
Super Cleany and open root browser and copy Super Cleany to /system/xbin, then set permissions to all (basically tick all 9 boxs), then Open Busybox and install it using the smart install, just use all defualt settings, once installed uninstall the app
Now download Terminal Emulator and type "su -c sclean" but only do this every like 2-3 weeks or when u feel ur device is extremely laggy, what it does? this cleans the device thoroughly and then reboots!
next thing is to disable startup programs, Download ES Task Manager and run the startup apps, click optimize then u can disable the following manually:
Google Play Store
Messaging
u can also disable anything u know of, eg titanium backup!
thats it, everything else leave it, Word for the wise: Dont disable anything u dont know,
Also just a general tip, dont install useless apps, eg Facebook as u can use it thru the browser!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
That's it! I hope u liked it!
Also please gimme a tnx I spent ages typing this,
Hey pizza_dox don't thank me for pushing the whole "stock". Thank TLRtheory. I PMd him about his setup as he was always talking about the performance of stock. So he's the one who convinced me. However I do appreciate you thanking me. And I would like to thank you for your work. You are always updating your roms and scripts and posting guides or setups. It goes a long way. So thank you
Sent from my R800i using xda premium
---------- Post added at 09:50 PM ---------- Previous post was at 09:41 PM ----------
Also remember all the extra junk you mentioned to me in the system folders such as apps and files thar weren't necessary but left by Sony. Even after you delete the apps some of the files remain. You gave me another 35-40mb of storage.
Sent from my R800i using xda premium
Oh ok, still...
Oh yea forgot those apps, well I was sorta in a rush, will update now,
Edit
Thanx, also I updated but I'm slowly finding stupid typos ans random grammar errors...
(was in a rush...)
Sent from my R800i using xda app-developers app
Is the kernel from Lupus with Lagfix is that the same as Lupus v12.5?
Someone should do a comparison video showing off stock debloated and OCed on games and some emulators. Is it really better for gaming?
Fenrir007 said:
Someone should do a comparison video showing off stock debloated and OCed on games and some emulators. Is it really better for gaming?
Click to expand...
Click to collapse
When I switched from CDMA to the GSM model back in Feb of this year, I tried all sorts of custom roms. What made me really notice the difference was MC4. I could never get past 26fps on a number of custom ROMS. I then flashed the .79 ftf and deblaoted the hell out of it. Big difference. I ran a FPS meter and was getting 40-42fps on stock debloated no V6 supercharger scripts. No nothing. I was overclocked to 1.1ghz on performance and SIO. Ran smooth as silk.....
Dont this the wrong way, I am extremely appreciative of everyone who assists and participates on the XP forum with custom roms however I simply will not go back to a custom rom. Now that being said I did take the systemui.apk form the NXT Rom and replaced it over the stock systemui.apk and I have working toggles on a stock rom.
ozzmanj1 said:
When I switched from CDMA to the GSM model back in Feb of this year, I tried all sorts of custom roms. What made me really notice the difference was MC4. I could never get past 26fps on a number of custom ROMS. I then flashed the .79 ftf and deblaoted the hell out of it. Big difference. I ran a FPS meter and was getting 40-42fps on stock debloated no V6 supercharger scripts. No nothing. I was overclocked to 1.1ghz on performance and SIO. Ran smooth as silk.....
Dont this the wrong way, I am extremely appreciative of everyone who assists and participates on the XP forum with custom roms however I simply will not go back to a custom rom. Now that being said I did take the systemui.apk form the NXT Rom and replaced it over the stock systemui.apk and I have working toggles on a stock rom.
Click to expand...
Click to collapse
Did you notice any difference in emulators? Oh, and I remember trying MC4 on Auroraplay and it was pretty smooth, but I'm not sure about the fps. Might check that next time.
I only use emu up to n64 and everything runs great.
Sent from my R800i using xda premium
Nice guide. Maybe to add odexing script at the end, when it's debloated, to save data space..
I also switched to .79 recently as daily driver. Debloated, odexed, installed new systemui and smartsearch dialer, and it's flying...
Antutu score is around 5500, on stock speed, and i didn't see any lag in games, not even MC4.
ozzmanj1 said:
Is the kernel from Lupus with Lagfix is that the same as Lupus v12.5?
Click to expand...
Click to collapse
Yep,
Bakisha said:
Nice guide. Maybe to add odexing script at the end, when it's debloated, to save data space..
I also switched to .79 recently as daily driver. Debloated, odexed, installed new systemui and smartsearch dialer, and it's flying...
Antutu score is around 5500, on stock speed, and i didn't see any lag in games, not even MC4.
Click to expand...
Click to collapse
Well i aimed to save battery & Performance, forgot about odex, , but generally i see no difference in odex
Pizza_Dox said:
Well i aimed to save battery & Performance, forgot about odex, , but generally i see no difference in odex
Click to expand...
Click to collapse
Not much difference is speed, but it can save around 50-60MB from data partition. And debloadet GB rom have a lot of spare space in /system partition.
Ofcorse, not needed for most users with lupus kernel, and is highly optional.
Bakisha said:
Not much difference is speed, but it can save around 50-60MB from data partition. And debloadet GB rom have a lot of spare space in /system partition.
Ofcorse, not needed for most users with lupus kernel, and is highly optional.
Click to expand...
Click to collapse
Okai, , Well where can i find the Odex Script,
Pizza_Dox said:
Okai, , Well where can i find the Odex Script,
Click to expand...
Click to collapse
I can't recall did i download it somewhere, but i know that Aurora ROM have odexing script in it
EDIt: X-game rom thread have odexing script separate. It's in end of first post
Bakisha said:
I can't recall did i download it somewhere, but i know that Aurora ROM have odexing script in it
EDIt: X-game rom thread have odexing script separate. It's in end of first post
Click to expand...
Click to collapse
tnx will add to op,
The odex file gives me an error when attempting to flash in in recovery. CWM
Oh OK... Well I'm on ICS now (ICS browsing is not good...), just Google it,
Sent from my R800i using xda app-developers app
Pizza_Dox said:
Oh OK... Well I'm on ICS now (ICS browsing is not good...), just Google it,
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Yeah, I was already on it. Just wanted to let you and everyone know first. Soon as I find an odex file I will post a link here or embed it here.
---------- Post added at 07:38 PM ---------- Previous post was at 07:34 PM ----------
Here is a download link, its from GS4 but it says it works on everything from Froyo+
Thank to: MatrixDJ96 (XDA user who provided link) for him posting this:
Source:
http://forum.xda-developers.com/showthread.php?t=2400342
Download Link:
UniversalOdexScriptV62.zip
Link: https://googledrive.com/host/0B2ftBoBlBHTIWVZITGRMenpQeWM/
ozzmanj1 said:
Yeah, I was already on it. Just wanted to let you and everyone know first. Soon as I find an odex file I will post a link here or embed it here.
---------- Post added at 07:38 PM ---------- Previous post was at 07:34 PM ----------
Here is a download link, its from GS4 but it says it works on everything from Froyo+
Thank to: MatrixDJ96 (XDA user who provided link) for him posting this:
Source:
http://forum.xda-developers.com/showthread.php?t=2400342
Download Link:
UniversalOdexScriptV62.zip
Link: https://googledrive.com/host/0B2ftBoBlBHTIWVZITGRMenpQeWM/
Click to expand...
Click to collapse
Tnx alot, , Updated OP,
ozzmanj1 said:
Yeah, I was already on it. Just wanted to let you and everyone know first. Soon as I find an odex file I will post a link here or embed it here.
---------- Post added at 07:38 PM ---------- Previous post was at 07:34 PM ----------
Here is a download link, its from GS4 but it says it works on everything from Froyo+
Thank to: MatrixDJ96 (XDA user who provided link) for him posting this:
Source:
http://forum.xda-developers.com/showthread.php?t=2400342
Download Link:
UniversalOdexScriptV62.zip
Link: https://googledrive.com/host/0B2ftBoBlBHTIWVZITGRMenpQeWM/
Click to expand...
Click to collapse
Forgot to add this important stuff in order to use the odex script, sorry ya'll.
How to odex:
- download file
- go to recovery
- install zip
- reboot
- open terminal emulator (will be installed automaticaly)
- type su to obtain room permission
- type dexo -h to show possible commands for your phone
- type dexo -one of the option that you have decided
Pizza_dox can you add to your OP. Thanks
---------- Post added at 08:57 PM ---------- Previous post was at 08:16 PM ----------
Just a tip. I typed in SU in the terminal emulator that is installed from the script.
Then type in dexo -h and it gives you a list of options. If you want to odex your whole rom type in:
dexo -all
Then hit enter give it a minute, then it will reboot and you are done.

"Roll your own" SKINNY MIUI - Revised 09/04/16

Skinny MIUI is all about preserving the good; Working premium drivers for Camera, CPU control, Notification LEDs, Bluetooth, FM Radio etc. while resolving what is bad in the stock offering.
All deletions assume the user has absolutely no interest in being part of the Xiaomi ecosphere. Leave now if that is not you.
This guide applies to MIUI stable versions 7.1.1 thru to 7.2.5 only. Developer, Beta or Eng versions are not good candidates.
STAGE 1:
Boot.img mods: (this is not creating a custom kernel!!!)
The stock boot.img is unpacked, init.d support added and many entries that are not relevant to our hardware removed.
Disabling lines trying to load non-existent services from init.rc, init.mt6795.rc and ueventd.rc etc. stops a bit of churning on each and every boot and frees up a bit of RAM.
There are intentionally no other tweaks contained within the boot.img. All tweaks are done in init.d scripts accessible outside the boot.img.
Note: This boot image made from 7.1.4 will work back to ver 7.1.1 and forward to 7.2.50 / 6.3.31 and is superior to the stock boot images contained in those ROMs.
At this point you can flash the modified boot.img to your phone if you already have a stock MIUI 7.1.1 to 7.2.50 installation that you are going to keep.
If you are going to do a clean install, replace the boot.img in your ROM zip file with this modified one. (backup the original first)
The boot.img is found here: (Now links to folder with all versions available)
https://drive.google.com/folderview?id=0BwdRTuyj12_yRk9Kcm1pZkxuZzg&usp=sharing
STAGE 2:
Full install:
I recommend you install my TWRP 3.02-2 version from here:
https://drive.google.com/open?id=0BwdRTuyj12_yWWp0SUpGV1pzT1k
Before installing your chosen ROM:
Check that the updater script found: \META-INF\com\google\android\updater-script is not going to install Preloader, Uboot (lk), Recovery or logo partitions. If so, edit the updater-script to prevent this happening. This is to reduce the risk of a soft-brick or being locked out of your phone.
Do a factory reset in TWRP (wipe Data, Dalvik, Cache) before installing any ROM.
Install your chosen ROM. Trying to slim down the ROM before install is an arduous affair which tends to end in bootloops so we leave the original ROM alone in this respect..
Do the install without connecting to mobile or WiFi networks and just skip at screens prompting for network connectivity and creating accounts.
Reboot into TWRP once finished with the initial Setup to avoid Recovery from being deleted on first boot.
Install an updated SuperSU zip package from TWRP recovery - V2.46 to 2.71 work equally well.
Do not install a root package other than SuperSU - most online ones are malware!
Update the outdated and incomplete Busybox installation. I have created a TWRP flashable zip to upgrade to the latest version 1.25.0. This is the second edition which has better binaries and no longer creates symlinks to busybox commands.
https://drive.google.com/open?id=0BwdRTuyj12_yd0s1QmNLRzdveFk
Now install a root capable filemanager (Root Explorer or Total Commander recommended). Open it and gain root permissions. Open /etc/perfservscntbl.txt in a text editor and edit as follows:
Code:
CMD_SET_CPU_FREQ, SCN_APP_TOUCH, 403000
CMD_SET_CPU_CORE, SCN_APP_TOUCH, 1
This will lower the number of cores used and the frequency at which it runs when a screen touch is detected (referred to as Touch Boost) Changes are activated on reboot.
Now create a file named 01_tweaks in the /etc/init.d folder. Change the permission of the file to 0755
Tips on creating scripts:
The EOL(end-of-line) characters must be in Unix format - not Windows. Make sure you are using a text editor that saves in Unix format.
Note also that many script files need a blank line at the end to work correctly. Get in the habit of always doing this whether needed or not.
Any line starting with a # character and anything after a # character on a line is not processed and is referred to as "commented out"
Script files must start with the header #!/system/bin/sh as the first line.
Init.d scripts are processed in alpha-numeric filename order hence the common usage of 01_xxx, 02_xxx format for names.
Copy these lines into the 01_tweaks file: Note: Different values for 2.2GHz cpu and freq limited operation.
Code:
#!/system/bin/sh
### Tweak Interactive CPU Governor
echo 806000 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
echo 85 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
echo "90 403000:80 806000:85 1326000:90 1625000:95 1950000:99" > /sys/devices/system/cpu/cpufreq/interactive/target_loads
echo 32000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate
echo 10000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
echo 15000 > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay
echo 20000 > /sys/devices/system/cpu/cpufreq/interactive/timer_slack
### Tweak IO Scheduler
echo deadline > /sys/block/mmcblk0/queue/scheduler ### choose between cfq, bfq or deadline
### Enable this line if using cfq or bfq scheduler only
# echo 0 > /sys/block/mmcblk0/queue/iosched/slice_idle
echo 256 > /sys/block/mmcblk0/queue/read_ahead_kb
### Enable zram swap
# echo 1073741824 > /sys/block/zram0/disksize ### 536870912 = 512MB 1073741824 = 1GB
# /system/bin/tiny_mkswap /dev/block/zram0
# /system/bin/tiny_swapon /dev/block/zram0
### Tweak Entropy to avoid regular depletion of available pool
echo 512 > /proc/sys/kernel/random/read_wakeup_threshold
echo 1024 > /proc/sys/kernel/random/write_wakeup_threshold
#Tweak for wifi router connection issues
#echo 1 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6
### FSTRIM: Enable once after installation is finalized and then monthly ##### needs an updated busybox installation to work
# busybox fstrim /data
# busybox fstrim /cache
# busybox fstrim /system
Options: Add / replace lines to do the following:
1. freq limit a 2GHz cpu to 1781MHz (recommended setting)
echo "90 403000:80 806000:85 1326000:90 1625000:95 1781000:99" > /sys/devices/system/cpu/cpufreq/interactive/target_loads
echo 1781000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1781000 > /proc/cpufreq/cpufreq_limited_max_freq_by_user
2. Full speed 2.2GHz cpu
echo "90 403000:80 806000:85 1326000:90 1664000:95 2158000:99" > /sys/devices/system/cpu/cpufreq/interactive/target_loads
3. freq limit a 2.2GHz cpu to 1885MHz (recommended setting)
echo "90 403000:80 806000:85 1326000:90 1664000:95 1885000:99" > /sys/devices/system/cpu/cpufreq/interactive/target_loads
echo 1885000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1885000 > /proc/cpufreq/cpufreq_limited_max_freq_by_user
4. Add a limit to the maximum number of cpu cores allowed to come online (for possible battery saving maybe...)
#Limit max cpu cores available (range 2 - 8)
echo 4 > /proc/hps/num_limit_low_batt
echo 4 > /proc/hps/num_limit_power_serv
echo 4 > /proc/hps/num_limit_thermal
echo 4 > /proc/hps/num_limit_ultra_power_saving
Edit /system/build.prop. Change the line: ro.sf.lcd_density from the default 480 to a value between 400 (everything smaller, more on screen) to 520 (everything larger, less on screen) to suit your taste and eyesight. You can test this out first by issuing the wm density command in a terminal app. e.g wm density 440 will immediately change the density to 440dpi, wm density reset will put it back to whatever the build.prop setting is. Adjust the text size in Settings in conjunction with this to get the best result.
At this point you have a functional set of tweaks that are all tested and proven to provide a battery and performance improvement. There are a lot of detrimental or placebo tweaks out there so be a little bit discerning in what else you add to these tweaks - sometimes less is more. Now is not the time to load up those tweaks!
Do a TWRP backup of System, Data, Boot and NVram partition now to save your efforts up to this point.
STAGE 3:
Now its time to get Skinny: You will need an app that can uninstall and freeze system apps. I use SD Maids App Control feature for this purpose.
Warning: If you intend to use app lock, you will unfortunately need to keep some fingerprint service files. See the post below and a few before it to understand the problem. Thanks to @DarthJabba9 for his work.
I believe that app lock also disables MIUI Optimization if enabled.
http://forum.xda-developers.com/showpost.php?p=67242356&postcount=583
First phase is to get rid of the obvious bloat apps and Xiaomi in-house apps....these in the list below are safe to remove.
Tick off what you have removed and reboot each 10 or so deletions and backup, don't try to delete everything in one hit as you will end up stuck at boot.
WARNING: This removes some functionality that may be useful to some users. You either want the function or you don't - it is your finger pressing the buttons!
Some people may choose to keep the MIUI Home Launcher interface. In this case, keep MIUI Wallpaper as well.
Must keep these - Do not delete:
Updater - disable autostarts, do not freeze
Theme Manager - disable autostarts
Security (com.miui.securitycenter) - leave as-is
FwkPlugin
Network Assistant app
MiuiSDK - disable autostarts
AuthManager
Webview (update via Playstore once install finished)
Xiaomi service framework - disable autostarts, freeze app
Definitely O.K to delete list:
Wallpaper Apps:
Android Live Wallpapers
Black Hole
Bubbles
com.android.wallpaper.holospiral
Live Wallpaper Picker
Music Visualization Wallpapers
Phase Beam
Photo Screensavers
*Miui MiWallpaper * keep if also keeping MIUI Home Launcher.
Xiaomi/MTK Apps:
Analytics
Assistant
Back up Home screen layout (cloud backup)
Backup - delete if you don't use it (use TWRP instead)
Battery Warning - deleting this does not affect battery charging or display
Battery Saver - deleting this improves battery life
Blocklist (AntiSpam) - delete if you don't use it
com.miui.mipub
File Explorer - delete (you should already have a root capable file browser)
Find device - use the generic Google version if you really must, not the Xiaomi one supplied.
FingerprintService
FPCSensorTestTool
FTPreCheck
FWUpgrade
gallery (com.mfashiongallery.emag daily wallpapers)
Games
Home screen
JeejenMIUIContainer
com.securitycore.miui_t (Tencent virus scanner plugin to Security Center)
KLO Bug report
LocationEM2
Metok
MI Account
Mi Cloud
Mi Credit
Mi Drop
Mi Home
MI Service Security Framework
Mi VIP
Mi Voice
Mi Wallet
Miravision
MTKAndroidSuiteDaemon
MtkFloatMenu
MTKLogger
Music
MusicFx
Notes - if you don't use it, delete it.
PowerKeeper (Battery Saver) - deleting this improves battery life
Report Bug
Security service plugin (not securitycenter app)
SystemAd
System Launcher (Miui Home) replace with an alternative Launcher, allow autostart in Security first then delete. ADW Launcher recommended for lightweight and simple functionality (set to 4x6 looks good).
Traffic Control
Uniplay
UpgradeSys
VCalendar
Video
Voice Unlock
VoiceAssist
Weather
Weather provider
Whetstone delete app and delete folder /etc/WhetstonePermission ****Whetstone is linked with several other apps to make it hard to get rid of. It may cause some temporary FC issues - these will pass.
Xiaomi Assistant
Yellow Pages
com.jeejen.knowledge
com.jeejen.store
com.ximalaya.ting.android
com.xiaomi pass
com.xiaomi.o2o
com.xiaomi.jr
Cheetah Mobile CleanMaster SDK + Cleaner - delete
NetworkLocation (com.baidu.map.location) delete app, delete folder: /system/vendor/operator and delete corpses
Android/Google Apps:
Browser - suggest replace with Polarity Browser - minimal permissions required, Ad Blocking, lightweight and fast
Documents
Google Keyboard - replace with something lighter - Hackers Keyboard v1.38.2 recommended
Google Pinyin input
Google Feedback
Google partnersetup
HTML Viewer
Email
Mail
Pico TTS
Print Spooler
com.android.browser.provider
PacProcessor
Note: If you have apps reappear as if by magic, they are being reconstructed from cached information. SD Maid has an excellent "Corpse Finder" function that will delete the orphaned files and prevent this happening. Clear corpses after each reboot.
Second phase is to toggle off the autostarts (receivers) on the apps that do not need to start by default. This is not the same as freezing an app. Some apps will still start by themselves - do not worry too much about this.
Atci_service
Backup
Blocklist
com.mediatek.batterywarning
Download Manager
Google Contacts Sync
Google One Time Init
MIUI SDK (don't freeze)
MTK NLP Service
Notes
One Time Init
Sim Toolkit
Themes (Theme Manager)
Updater
Xiaomi service framework (should also be frozen)
Third phase is to clean up left behind folders and files
/data/miui/app/customized/ remove any app folders that you have uninstalled
/data/miui/app/noncustomized/ remove any app folders that you have uninstalled
delete folder /data/miui/mms
delete folder /data/miui/gallery
delete contents of /data/miui/cust
delete folder /etc/jeejen
delete etc/voicecommand and etc/voiceextension folders if you have removed voice related apps
delete /system/tts folder if you have removed Pico TTS
delete folder /system/etc/radv
/etc/fake_cdrom_install.iso - delete file
/etc/IAmCdRom.iso - delete file
/system/addon.d delete folder
/system/app/jjcontainer/ - delete folder
/system/app/jjhome/ - delete folder
/system/app/jjknowledge/ - delete folder
/system/app/jjstore/ - delete folder
Libs you can remove:
/vendor/lib
libfingerprint_tac.so
libfpcalgorithm.so
/vendor/lib64
libcom_fingerprints_productiontestmanager.so
libcom_fingerprints_sensor.so
libfingerprint_tac.so
/system/lib
libcaFingerPrintShared.so
libcom_fingerprints_service.so
libfamily_jni.so
libjeejenAisound.so
libjeejenmsc.so
libMiraVision_jni.so (if deleted MiraVision App)
libpatcher_game_jni
libvoicerecognition.so (if voice recognition apps deleted)
libvoicerecognition_jni.so (if voice recognition apps deleted)
libweibosdkcore.so
libwhetstone_jni.so (if deleted Whetstone App)
libwhetstone_sdk.so (if deleted Whetstone App)
libxiaomimediaplayer.so (if xiaomi media player deleted)
libxiaomimediaplayerwrapper.so (if xiaomi media player deleted)
/system/lib64
libairtunes_jni.so
libairtunes.so
libBankCardRecognizer.so
libcaFingerPrintShared.so
libcom_fingerprints_service.so
libduokantext.so
libjni_latinimegoogle.so (if deleted Google keyboard)
libjni_pacprocessor.so (if deleted PacProcessor)
libMiraVision_jni.so (if deleted MiraVision App)
libpatcher_game_jni.so
libttspico.so
libweibosdkcore.so
libwhetstone_jni.so (if deleted Whetstone App)
libwhetstone_sdk.so (if deleted Whetstone App)
libxmpass_sdk_patcher.so
xmpass_libweibosdkcore.so
Establish network connectivity.
If Gapps is required but not installed, download open_gapps-arm64-5.0-pico version. You can install individual extra Google apps at any stage later on.
Go through all MIUI Settings and turn off everything you do not need running.
Install your favorite media player, web browser etc. to replace the deleted original apps.
Can replace Calendar and Messenger with Google Calendar and Google Messenger to remove some more Xiaomi dependencies. Contacts & Dialer are much harder to replace - True Phone is the only viable option.
To further limit Xiaomi unsolicited communications, rename (or delete) /system/xbin/tunman to tunmanbak. (This is a tunneling protocol driver that Xiaomi uses without your knowledge or permission).
The startup is disabled in the boot.img but it can still be started after boot unless renamed.
To skinny the Themes footprint:
Go to /system/media/theme/
Delete elder-default folder if no use.
Delete entire contents of miui_mod_icons folder
Delete items in /system/media/theme/default/ that are not going to be used.
Delete items in /system/media/lockscreen/ and /system/media/wallpaper/ that are not going to be used.
Now install your favorite app for monitoring CPU parameters and make sure that on idle, there is only one cpu core running and it sits predominantly on 403MHz. It will jump a little bit but that is normal with the inevitable background activities. Increase the timer_rate if you want more stability at idle rather than cranking up the load figures too far. Up to 50000 or down to 30000 is O.K (remember we are talking microseconds here so 50000 = 50mS)
Congratulations! You now you have a "Super Skinny" MIUI installation. Do a backup now!!!!
Now you will feel the AOSP shining through - and still you have working everything!
This post will list useful tools and items that need further investigation.
Apps for finding and disabling things:
Wakelock Detector-Root - monitor and records wakelock activity
GSAM - monitors what apps / services are consuming battery
Disable Service - disable services started on an app by app basis
SD Maid, Titanium Backup - Freeze / remove apps, toggle autostarts (receivers)
Modify your quick start grid size:
https://drive.google.com/file/d/0BwdRTuyj12_yYlphU3A0UWprcXc/view?usp=sharing
Modify MIUI Homescreen grid:
https://mega.nz/#F!yJdkxbBa!WSIqrhwUQwD7qjzxOuo1Yw
Issues:
Find a way to completely disable XMPush service with and without Xiaomi services framework installed.
Xiaomi Services Framework causes Sim connectivity issues if deleted - do not delete. There will always be one XMPush instance running.
Find out what is causing Audio On wakelock reported by GSAM
Quote: Originally Posted by DarthJabba9
With regard to the "Audio On" wakelock (aka AudioMix Wakelock) reported bt GSAM, I found this somewhere in this forum: "The nexus 6 had the same wakelock and most of us got rid of it by unchecking "use NuPlayer" in developer options". I have now unchecked that option, and will see over the next day or so whether it resolves the problem. This appears to be the fix
What triggers no sim / no service errors
Removing Xiaomi Services Framework is the culprit
Why do some files / folders not show up in root filemanagers?
MIUI locks the files / folders to prevent them being used or shown.
Why does zram not work anymore?
Rename tiny_mkswap, tiny_swapon, tiny_swapoff to teeny_mkswap, teeny_swapon, teeny_swapoff
Make sure owner is root shell and permissions are 0755 for all 3 files.
edit the init.d script to reflect the change in filenames. Now it will work again!
Example full Skinny ROM based on MR7.2.30 ID:
This is how my phone is set up, it has 100% functionality, zero FCs and zero battery drain on idle. The init.d settings are exactly as provided. Compare the directory listings to your own to see what is deleted.
The other major variation to this is for people who want to keep MIUI Launcher (and MIUI Wallpaper), everything else should remain the same. This cost you a bit more RAM usage and slightly more cpu activity (less battery) but is still impressive compared to stock.
/system/app
ApplicationsProvider
AtciService
AutoDialer
BSPTelephonyDevTool
Bluetooth
CaptivePortalLogin
CertInstaller
DeskClock
DownloadProviderUi
DrmProvider
EngineerMode
EngineerModeSim
FM
GoogleCalendarSyncAdapter
GoogleContactsSyncAdapter
KeyChain
MTKThermalManager
MiuiCompass
NetworkAssistant2
NlpService
Omacp
PackageInstaller
Provision
SuperSU
SystemHelper
ThemeManager
Updater
UserDictionaryProvider
WebViewGoogle
XiaomiServiceFramework
YGPS
cit
mcRegistry
miui
miuisystem
/system/priv-app
AuthManager
BackupRestoreConfirmation
BarcodeScanner
CDS_INFO
CalendarProvider
ContactsProvider
DefaultContainerService
DownloadProvider
ExternalStorageProvider
FusedLocation
GoogleBackupTransport
GoogleLoginService
GoogleOneTimeInitializer
GoogleServicesFramework
InCallUI
InputDevices
ManagedProvisioning
MediaProvider
MiuiCamera
MiuiGallery
MiuiKeyguard
MiuiSystemUI
MmsService
OneTimeInitializer
Phonesky
PrebuiltGmsCore
ProxyHandler
SecurityCenter
Settings
SettingsProvider
SharedStorageBackup
Shell
Stk1
TeleService
Telecom
TelephonyProvider
VpnDialogs
WallpaperCropper
com.ghisler.android.TotalCommander ### Total Commander installed as system app
com.hb.dialer.free ### True Phone replacement for Xiaomi Contacts & Dialer
org.adw.launcher ### ADW Launcher installed as system app
Other base apps in /data/app:
com.google.android.apps.messaging ### replacement Google Messenger
com.google.android.calendar ### replacement Google Calendar
com.duokan.phone.remotecontroller ### stock IR remote controller app
pcr.browser.polarity ### Polarity Browser
com.grarak.kerneladiutor ### Kernel Adiutor * disable autostarts*
org.pocketworkstation.pckeyboard ### Hackerskeyboard-v1.38.2 replaces Google keyboard
jackpal.androidterm ### Android Terminal
Thanks a bunch for the info. This is exactly what I'm looking for (my slimming down attempts always resulted in bootloops, so I've been playing it pretty safe so far).
Is this something you repeat every time an update is being pushed to your RN2?
@elaurens By doing this you are forgoing the use of OTA Updates which will unravel everything you have achieved.
I had to go through quite a few bootloops before creating the "safe lists" - I suffer so you can all benefit.
If you are starting with 7.1.4 everything is perfect and needs no more updating
Keep your eye out for additions to these lists as I discover or remember them
I have tried this:
http://forum.xda-developers.com/red...d-enable-clearmotion-miui-based-roms-t3278552
to enable ClearMotion and can vouch for it being safe - as in no malware and no breaking things. It adds the following to Build.prop and puts some hacked drivers in /system/lib.
persist.sys.display.clearMotion=1
persist.clearMotion.fblevel.nrm=255
persist.clearMotion.fblevel.bdr=255
ro.mtk_clearmotion_support=1
ro.mtk_slow_motion_support=1
ro.mtk_16x_slowmotion_support=1
Is this a worthwhile thing to do? There are no negatives in doing so as far as I can see but I don't really have anything that can give this a proper workout.
Can anyone see a difference in video playback? (Must have hardware acceleration selected) I won't recommend this if there is no perceivable gain.
most of the stuff works fine, everything checks out, It's not really anything new, but i find it well written, and it's not just a "placebo build.prop tweaks edit" which is a +. its a smart thing to have it all in a single thread.
however there're some issues with init.d script. even if you get init working, sometimes it just simply wont apply any of the tweaks. interestingly enough, i forced it to create a new text file on every boot, and that works. not really sure whats causing this prob.
anyways, by some magic I eventually made it apply the script, not really sure if it was cause of the rom change, or just pure luck lol
@sikica133 and anyone else having init.d problems:
init.d problems are usually one of the following:
1. incorrect folder permissions.
2. incorrect file permissions
3. No line feed at the end of the file (blank line)
4. incomplete or missing Busybox install
5. missing header in the text
6. Loosing SU privileges
Check init.d folder has 0755 permissions
Check file has at least 0644 permissions
Check and/or insert a line feed at the end of the file
Install busybox on rails, run the cleanup and busybox install, uninstall busybox on rails after this (this gives you an up-to-date and more complete busybox installation)
First line of file must be exactly #!/system/bin/sh
Reinstall a fresh version of SuperSu through TWRP
I sometimes get caught out myself by editing a file on the PC and transferring it back without fixing permissions afterwards:silly:
I have the ultimate build.prop tweak that I will share with you all now, stand back, it is very powerful
persist.sys.use_qualcomm_performance_features_instead=1
nah, i was testing it with a updater-script doing 0755 on all scripts. busybox should be fine cause other scripts did their job. dunno, could be some funny issue on my end. works now, i was just wtf, everything works, this doesnt. no idea what was going one tbh, but it works
could be incompatibility with bbox and the script itself? im running it without feedline atm, and it applies it all. same script i used before when it didnt do anything.
MIUI 7.1.4 and I assume all other versions has a very old and incomplete version of busybox installed (I think it was v1.20?).
It does not have fstrim command (plus a few others) included which is why I recommend updating.
I tried init.d and 01_tweaks script (whith correct permissions).
The system is more time in 806 Mhz., deep sleep not works properly.
I use Stable 7.1.1 .
Deleting script, deep sleep works fine.
Need I install or update busybox for resolve my issue?
@Xabadou This script is the starting point. If you do not "skinny down" MIUI, there are so many things running in the background that you will find it difficult to sit on idle frequency.
How far into skinnying down have you gone?
Also, if you have a 2.2GHz cpu, the 2nd line below frequencies in bold must be modified to valid frequency for that cpu.
If you are not going to skinny down to a great extent, then it helps to bump some of the load settings up a touch.
These are the original lines:
echo 80 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
echo 90 403000:70 806000:81 1183000:84 1326000:87 1469000:90 1625000:93 1781000:96 1950000:99 > /sys/devices/system/cpu/cpufreq/interactive/target_loads
# for 2.2GHz cpu: echo 90 403000:70 806000:81 1183000:84 1326000:87 1482000:90 1664000:93 1885000:96 2158000:99 > /sys/devices/system/cpu/cpufreq/interactive/target_loads
Modify to:
echo 85 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
echo 95 403000:75 806000:81 1183000:84 1326000:87 1469000:90 1625000:93 1781000:96 1950000:99 > /sys/devices/system/cpu/cpufreq/interactive/target_loads
This is enough to get it to sit on 403MHz idle in most cases. If you go higher, you will start compromising smoothness. There are no problems at all with entering deep sleep.
If you are still having problems, you have an app running that is badly behaved - identify it and deal with it.
Refer back post #10, I mention why you should upgrade busybox.
I am running my phone beyond Super Skinny and loving it. Super stable and battery friendly while still being a performance beast. You should notice even at the point of trimming down to Skinny, this phone really starts to liven up.
jajk said:
I am running my phone beyond Super Skinny and loving it. Super stable and battery friendly while still being a performance beast. You should notice even at the point of trimming down to Skinny, this phone really starts to liven up.
Click to expand...
Click to collapse
Do you have a list of the apks (and directories) that you deleted in order to get the skinny ROM? Such a list would be useful for writing a script to automate the task.
P.S.: you might have noticed that I am a script fanatic - I generally find that it is less error-prone to automate such tasks with a script - and you only need to get the script right once.
I use stable 7.1.1 by xiaomi.eu whith your modded kernel and a lot of apps frozen (App Quarantine).
Modified kernel works very good.
Just now I have updated busybox.
I have 2.0 ghz version.
I will try again the script.
Clear Motion mod works fine in MIUI roms but you must use MX Player for play videos.
---------- Post added at 01:20 PM ---------- Previous post was at 01:11 PM ----------
persist.sys.use_qualcomm_performance_features_inst ead=1
Works qualcomm tweaks whith mediatek processors?
@DarthJabba9 The lists ares already mentioned - 1 to get to skinny, 1 to get to super skinny but if you do this in a script on a live system you will likely end up in a bootloop because there are too many odex and cache entries orphaned for Android to handle in one hit. If you intend to apply a script to the ROM files before installation, that is a different story. It takes a bit of effort to figure out how and where MIUI is loading a lot of its components from but is doable.
Why I have not offered a complete ready to go package? It is too easy for users to do it themselves and add their preferences along the way. For those that have actually followed through with the process, I can guarantee that they will instantly loose interest in any other custom ROM.
@Xabadou Thanks for the clarification on ClearMotion. I run VLC set to hardware acceleration and can't see the split screen test mode. Video looks fine regardless, so really hard to tell if anything has changed.
Do the apps that you quarantine stay not running? I had problems with quite a few apps running regardless of being frozen or not so had to uninstall.
You, along with everyone else are not running a modified kernel - the kernel remains intact since we do not decompile and recompile or compile it from source.
The "persist.sys.use_qualcomm_performance_features_instead=1" tweak is a sarcastic dig at the many tweak offerings that do absolutely nothing:silly:
You asked the question showing you were not ready to accept this at face value:good:
If there is no evidence of a tweak doing something positive, don't blindly use it!!!
This is a customized boot image that provides init.d support and has unnecessary entries removed. No tweaks are embedded.
It is built on 7.1.4 and can be used on stock 7.1.1 to 7.1.4.
https://drive.google.com/file/d/0BwdRTuyj12_yR3phb0Zxd05UQjQ/view?usp=sharing
credits to @DarthJabba9 for the alternate init.d support method adopted in this image. It circumvents using busybox run-parts method that appears to have some bugs.
jajk said:
@DarthJabba9 The lists ares already mentioned - 1 to get to skinny, 1 to get to super skinny but if you do this in a script on a live system you will likely end up in a bootloop because there are too many odex and cache entries orphaned for Android to handle in one hit. If you intend to apply a script to the ROM files before installation, that is a different story. It takes a bit of effort to figure out how and where MIUI is loading a lot of its components from but is doable.
Why I have not offered a complete ready to go package? It is too easy for users to do it themselves and add their preferences along the way.
Click to expand...
Click to collapse
Fair enough ...
jajk said:
I will share my custom Super Skinny MIUI boot.img based on MIUI7.1.4 since it is now stable ... It is unpacked and repacked using AndroidMasterChef (downloaded from Needrom). I do not have problems unpacking and repacking again. If you try to unpack and have problems, use the same tool.
Click to expand...
Click to collapse
Thanks for the image. It cannot be unpacked with standard linux tools, but it unpacks ok with AndroidMasterChef.

[H812][UsU][v29a]Ultimate custom settings/tweaks mega-post

This is for the H812 only, however I am sure much can be used on any device. I decided to make one post of all my settings instead of individual posts in different threads as a way to avoid off topic etc. This is a wip and I will update as required.
*** Use anything I say at your own risk, I will not be held responsible for bricking or otherwise screwing up your device in any way. No whining about this doesn't work or that it doesn't make any sense etc I say again USE AT YOUR OWN RISK ***
Ok so first thing is to backup then backup and copy backup to multiple locations, backup again (lol)!!!
Backup then Unlock with UsU (SALT) by @steadfasterX here: https://forum.xda-developers.com/g4/general/unlock-unlock-lg-g4-device-usu-t3760451 Make sure to install TWRP and make backups.
Figure it out yourself by reading the OP several times and post as necessary in that thread.
Install the Nougat v29a mentioned in the above thread under FAQ #16.
Install Titan kernel (H811 stock Nougat) by @kessaras here: https://forum.xda-developers.com/g4/development/g4-t3667878
I use 1.7 with the following settings:
EDIT:I have since changed these settings although the following is still good.
Big cores at 1632 max 384 min.
Little cores at 1440 max 384 min
CPU gov intelliactive for both.
Disable CPU boost.
GPU using cpufreq gov.
FIOPS for both internal and external set to 1024kb.
Low memory killer set to light.
Misc settings, enable fsync with Westwood TCP.
Install Magisk with Dolby Atmos (LeEco Le Pro3), Enable Doze for GMS (huge savings for battery) and Unified Hosts Adblock modules.
NOTE: I use Adaway beta 4.09 now instead of unified hosts module. Google framework module for Google apps like Phone. Single user mod and force fast charge are also good!
For now that should be enough to get a bunch of users messed up, I have other tweaks like bloat removal, useful apps etc to add later if people want them.
Feel free to post questions about the above for further explanation/clearification.
Do not ask for help fixing things you break, that's what backups are for!
Cheers!
Edit: Great post for H812 consider thanking that user
https://forum.xda-developers.com/g4/general/unlock-unlock-lg-g4-device-usu-t3760451/page110
List of useful apps that I use:
Kernel Adiutor
https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor
Magisk
https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589/page577
Build prop editor
https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor
BusyBox
https://play.google.com/store/apps/details?id=ru.meefik.busybox
Catlog
https://play.google.com/store/apps/details?id=com.nolanlawson.logcat
Devcheck
https://play.google.com/store/apps/details?id=flar2.devcheck
ES File Explorer
https://play.google.com/store/apps/details?id=com.estrongs.android.pop.pro
Official TWRP
https://play.google.com/store/apps/details?id=me.twrp.twrpapp
Quick Reboot
https://play.google.com/store/apps/details?id=com.antaresone.quickrebootpro
Titanium Backup
https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackup
Wifi analyzer
https://play.google.com/store/apps/details?id=info.wifianalyzer.pro
Build.prop edits that may help;
ro.build.fingerprint
lge/p1_rgs_ca/p1:6.0/MRA58K/1619418088183:user/release-keys
(Passes safety net check for me, use the entry from your original MM built.prop)
ro.product.model
LG-H812
(Helps apps show correct model)
ro.gps.agps_provider
1
(From original build.prop)
ro.ril.def.preferred.network
9
ro.telephony.default_network
9
telephony.lteOnCdmaDevice
1
telephony.lteOnGsmDevice
1
(Networking to use LTE 4g etc)
ro.factorytest
0
(Removes an error in log)
*** I soft bricked my device changing too many entries in build.prop so be cautious.
Here's a list of all the apps I have frozen in Titanium Backup.
com.android.cellbroadcastreceiver
com.android.LGSetupWizard
com.google.android.apps.books
com.google.android.apps.docs.editors.sheets
com.google.android.apps.docs.editors.slides
com.google.android.apps.magazines
com.google.android.play.games
com.google.android.talk
com.google.android.videos
com.google.android.webview
com.lge.appbox.client
com.lge.bnr
com.lge.bnr.launcher
com.lge.cloudhub
com.lge.concierge
com.lge.easyhome
com.lge.email
com.lge.exchange
com.lge.fmradio
com.lge.gcuv
com.lge.gestureanswering
com.lge.homeselector
com.lge.ia.task.smartsetting
com.lge.iftttmanager
com.lge.launcher2
com.lge.lgaccount
com.lge.lgdmsclient
com.lge.lgmapui
com.lge.mtalk.sf
com.lge.myplace
com.lge.myplace.engine
com.lge.qvoiceplus
com.lge.remote.setting
com.lge.sizechangable.favoritecontacts
com.lge.sizechangable.weather.platform
com.lge.sizechangable.weather.theme.optimus
com.lge.smartcover
com.lge.smartsharepush
com.lge.sync
com.lge.updatecenter
com.lge.wernicke
com.lge.wernicke.nlp
com.maluuba.android.qvoice
com.rsupport.rs.activity.lge
com.sika524.android.quickshortcut
com.ti.server
One of the easiest and most effective ways to increase the perceived speed and snappiness of your device!
Developer Options > Drawing
Window animation scale [Off or .5]
Transition animation scale [Off or .5]
Animator duration scale [1x]
Here are the settings I use for the stock Titan kernel (1.7 I been having issues with 1.8) including Kernel Adiutor profile:
Code:
version 1
profile
commands
path /sys/module/msm_performance/parameters/cpu_max_freq4
command echo '4:1440000' > /sys/module/msm_performance/parameters/cpu_max_freq
path /sys/module/msm_performance/parameters/cpu_max_freq5
command echo '5:1440000' > /sys/module/msm_performance/parameters/cpu_max_freq
path /sys/devices/system/cpu/cpu%d/cpufreq/scaling_max_freq4
command #{"path":"\/sys\/devices\/system\/cpu\/cpu%d\/cpufreq\/scaling_max_freq","value":"1440000","min":4,"max":5,"bigCpus":[4,5],"LITTLECpus":[0,1,2,3],"corectlmin":2}
path /sys/devices/system/cpu/cpu%d/cpufreq/scaling_governor0
command #{"path":"\/sys\/devices\/system\/cpu\/cpu%d\/cpufreq\/scaling_governor","value":"intelliactive","min":0,"max":3,"bigCpus":[4,5],"LITTLECpus":[0,1,2,3],"corectlmin":2}
path /sys/module/cpu_boost/parameters/input_boost_enabled
command echo '0' > /sys/module/cpu_boost/parameters/input_boost_enabled
path /sys/module/cpu_boost/parameters/boost_ms
command echo '0' > /sys/module/cpu_boost/parameters/boost_ms
path /sys/module/cpu_boost/parameters/input_boost_freq0
command echo '0:0' > /sys/module/cpu_boost/parameters/input_boost_freq
path /sys/module/cpu_boost/parameters/input_boost_freq4
command echo '4:0' > /sys/module/cpu_boost/parameters/input_boost_freq
path /sys/class/kgsl/kgsl-3d0/devfreq/governor
command echo 'cpufreq' > /sys/class/kgsl/kgsl-3d0/devfreq/governor
path /sys/block/mmcblk0/queue/scheduler
command echo 'fiops' > /sys/block/mmcblk0/queue/scheduler
path /sys/block/mmcblk0/queue/read_ahead_kb
command echo '1024' > /sys/block/mmcblk0/queue/read_ahead_kb
path /sys/block/mmcblk0/queue/iostats
command echo '0' > /sys/block/mmcblk0/queue/iostats
path /sys/block/mmcblk1/queue/scheduler
command echo 'deadline' > /sys/block/mmcblk1/queue/scheduler
path /sys/block/mmcblk1/queue/read_ahead_kb
command echo '2048' > /sys/block/mmcblk1/queue/read_ahead_kb
path /sys/block/mmcblk1/queue/iostats
command echo '0' > /sys/block/mmcblk1/queue/iostats
path /sys/module/lowmemorykiller/parameters/minfreechmod
command chmod 666 /sys/module/lowmemorykiller/parameters/minfree
path /sys/module/lowmemorykiller/parameters/minfreechown
command chown root /sys/module/lowmemorykiller/parameters/minfree
path /sys/module/lowmemorykiller/parameters/minfree
command echo '21780,29040,36300,43560,50820,65340' > /sys/module/lowmemorykiller/parameters/minfree
path /proc/sys/vm/swappiness
command echo '60' > /proc/sys/vm/swappiness
path /sys/module/msm_thermal/parameters/enabled
command echo 'N' > /sys/module/msm_thermal/parameters/enabled
path /sys/module/msm_thermal/core_control/enabled
command echo '1' > /sys/module/msm_thermal/core_control/enabled
path /sys/module/cpu_boost/parameters/input_boost_ms
command echo '0' > /sys/module/cpu_boost/parameters/input_boost_ms
Have fun!
EDIT: Added a Kernel Adiutor profile json zipped file as per suggestion.
https://drive.google.com/file/d/1mOdzGOI0f25NEQJLCS81nwqa-FCBq1sX/view?usp=drivesdk
Latest profile I am using with excellent results:
https://drive.google.com/file/d/13JFYnbjc7zxZed2Pgsp0KtdyiyOMICCO/view?usp=drivesdk
Turn off dt2w and pocket detection. I use my phone at work and it keeps coming on and randomly running apps, pocket dialing and opening the camera app. Very annoying for me.
Use Shortcut Master: https://play.google.com/store/apps/details?id=org.vndnguyen.shortcutmaster.lite
Select 3 dot menu > search for knock. Find the hidden menu in the list. Select launch and it will open a menu to allow disabling of this feature. (It also disables dt2sleep.
Select 3 dot menu > search for pocket. Same procedure as above.
This has probably been posted already but I wanted to post here. (Credit to reddit user spring45 https://www.google.ca/amp/s/amp.red...to_disable_double_tap_to_wake/#ampf=undefined)
Mmmm....
grantdb said:
Here are the settings I use for the stock Titan kernel (1.8):
Have fun!
Click to expand...
Click to collapse
Hi, not everyone can interpret the code. How'bout you just state the settings you choose instead. Thanks for sharing.
fi5z.x9 said:
Hi, not everyone can interpret the code. How'bout you just state the settings you choose instead. Thanks for sharing.
Click to expand...
Click to collapse
Will try if I get time.
Well I personally would prefer kernel Adiutor profiles.. You can export that and a user can import it.. That way you could even share several ones easily..
Jm5c
Sent from my LG-H815 using XDA Labs
Hi. Come to this post from Titan kernel one. I saw that this is about stock firmware v29a plus Titan kernel 1.7 for H812.
My question is, Can I use the Kernel Adiutor profile in my H815?
kinuris said:
Hi. Come to this post from Titan kernel one. I saw that this is about stock firmware v29a plus Titan kernel 1.7 for H812.
My question is, Can I use the Kernel Adiutor profile in my H815?
Click to expand...
Click to collapse
I don't see why not. They have the same options. Make sure you create your own profile in case something doesn't work. No matter what you can always flash the kernel again.

Categories

Resources