Speed Booster [Magisk_Module] & Tweaks - Xiaomi Mi A2 Lite Themes, Apps, and Mods

#Speed Booster All Devices v7 [Magisk Module]
- Memory Performance
- Rearrange Litle Core ,Big Core CPU
- DNS 1.1.1.1,1.0.0.1
- Power Saving
- GPU Performance
- Good touch screen response
- Better response and speed
- Best mobile internet signal adjustment
- Unthermal CPU, Battery
- Permission hosts for Ads blocking
- Disable the error checking
- Disables the sending of usage data
- Disable stats logging & monitoring
- And other tweaks
#Speed Booster Daisy v7.1 [Magisk Module]
- Memory Performance
- Rearrange Litle Core ,Big Core CPU
- DNS 1.1.1.1,1.0.0.1
- Power Saving
- GPU Performance
- Good touch screen response
- Better response and speed
- Best mobile internet signal adjustment
- Unthermal CPU, Battery
- Fast Charging (VENDOR STOCK)
- Permission hosts for Ads blocking
- Disable the error checking
- Disables the sending of usage data
- Disable stats logging & monitoring
- And other tweaks
#Speed Booster Basic All Devices v7.2 [Magisk Module]
- Good touch screen response
- Better response and speed
- Best mobile internet signal adjustment
- Disable the error checking
- Disables the sending of usage data
- Disable stats logging & monitoring
- And other tweaks
#Speed Booster Basic Daisy v7.3 [Magisk Module]
- Good touch screen response
- Better response and speed
- Fast Charging (VENDOR STOCK)
- Best mobile internet signal adjustment
- Disable the error checking
- Disables the sending of usage data
- Disable stats logging & monitoring
- And other tweaks
[OUTHERS]
#Speed Booster All Devices v7.0.1 [Magisk Module]
- Memory Performance
- Rearrange Litle Core ,Big Core CPU
- Power Saving
- GPU Performance
- Good touch screen response
- Better response and speed
- Best mobile internet signal adjustment
- Unthermal CPU, Battery
- Permission hosts for Ads blocking
- Disable the error checking
- Disables the sending of usage data
- Disable stats logging & monitoring
- And other tweaks
#Speed Booster All Devices v7.0.2 [Magisk Module]
- Memory Performance
- Rearrange Litle Core ,Big Core CPU
- Power Saving
- GPU Performance
- Better response and speed
- Best mobile internet signal adjustment
- Unthermal CPU, Battery
- Permission hosts for Ads blocking
- Disable the error checking
- Disables the sending of usage data
- Disable stats logging & monitoring
- And other tweaks
#Speed Booster Daisy v7.1.1 [Magisk Module]
- Memory Performance
- Rearrange Litle Core ,Big Core CPU
- Power Saving
- GPU Performance
- Good touch screen response
- Better response and speed
- Best mobile internet signal adjustment
- Unthermal CPU, Battery
- Fast Charging (VENDOR STOCK)
- Permission hosts for Ads blocking
- Disable the error checking
- Disables the sending of usage data
- Disable stats logging & monitoring
- And other tweaks
#Speed Booster Daisy v7.1.2 [Magisk Module]
- Memory Performance
- Rearrange Litle Core ,Big Core CPU
- Power Saving
- GPU Performance
- Better response and speed
- Best mobile internet signal adjustment
- Unthermal CPU, Battery
- Fast Charging (VENDOR STOCK)
- Permission hosts for Ads blocking
- Disable the error checking
- Disables the sending of usage data
- Disable stats logging & monitoring
- And other tweaks
#Speed Booster Basic All Devices v7.2.1 [Magisk Module]
- Better response and speed
- Best mobile internet signal adjustment
- Disable the error checking
- Disables the sending of usage data
- Disable stats logging & monitoring
- And other tweaks
#Speed Booster Basic Daisy v7.3.1 [Magisk Module]
- Better response and speed
- Fast Charging (VENDOR STOCK)
- Best mobile internet signal adjustment
- Disable the error checking
- Disables the sending of usage data
- Disable stats logging & monitoring
- And other tweaks
#Speed Booster Basic All Devices v7.4 [Magisk Module]
- Good touch screen response
- Better response and speed
- Power Saving
- vol step
- Best mobile internet signal adjustment
- Disable the error checking
- Disables the sending of usage data
- Disable stats logging & monitoring
- And other tweaks
#Speed Booster Basic All Devices v7.4.1 [Magisk Module]
- Good touch screen response
- Better response and speed
- vol step
- Best mobile internet signal adjustment
- Disable the error checking
- Disables the sending of usage data
- Disable stats logging & monitoring
- And other tweaks
Note: Do not use the speedbooster daisy magisk module in rom stock. It is recommended only for custom pie (not having custom vendor). Recommended is the "All devices" version.
If you see something wrong please let me know.
If the device does not start, use magisk uninstaller.zip
#Tested on Android 9 Custom and Android 10, Miui, GSI.
Thx pawelik by the FAST CHARGING (VENDOR STOCK PIE) file.
Thx Rom by dns code - [MODULE] CloudflareDNS4Magisk
If there is anyone else to thank let me know.
Magisk Official:
https://github.com/topjohnwu/Magisk/releases
Magisk Ianmacd stable: https://github.com/ianmacd/MagiskBuilds/tree/private?files=1
https://github.com/ianmacd/MagiskBuilds
@ Magiskplus
MAY HAPPEN FROM ENTERING IN BOOTLOOP, I NOT RESPONSIBLE FOR DAMAGE CAUSED OR DATA LOST BY USING THIS ZIP.
Telegram: @ A2liteOfficial

Outhes Tweaks/Fixes:
I recommend using RootExplorer app.
# Allowed packages to use AUX camera vendor/system
vendor.camera.aux.packagelist=com.bsgmod.camera,com.google.android.GoogleCameraWide,com.android.camera,org.codeaurora.snapcam,com.android.camera,com.huaqin.factory,org.lineageos.snap
vendor.camera.aux.packagelist2=com.android.systemui,com.huaqin.cameraautotest,com.huaqin.runtime
camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,com.qualcomm.qti.qmmi
vendor.camera.aux.packagelist=com.dual.GCam,com.Wide.GCam,com.Tele.GCam,org.codeaurora.snapcam,com.android.camera,com.qualcomm.qti.qmmi,com.longcheertel.cit
# HAL1 apps list or force those apps to use hal1 - lagfix - vendor/system
vendor.camera.hal1.packagelist=com.android.camera,com.whatsapp,com.intsig.camscanner,com.instagram.android,com.facebook.orca,com.skype.raider,com.google.android.talk
camera.hal1.packagelist=com.skype.raider,com.google.android.talk,com.whatsapp, com.viber.voip,com.google.android.talk,com.instagram.android
# Enable Hal3 and Cam2api in build.prop and in vendor/build.prop
persist.camera.HAL3.enabled=1
persist.vendor.camera.HAL3.enabled=1
persist.vendor.camera.stats.test=5
persist.camera.stats.test=5
persist.camera.eis.enabled=1
# fix green cam
persist.camera.CDS=on
# Cam of WhatsApp and insta fix
camera.disable_treble=0
# Fix low volume in voice rec on whatsapp, telegram...
persist.vendor.audio.fluence.voicerec=false
## Camera Tweaks Supports Google Camera" >> /system/build.prop
persist.camera.HAL3.enabled=1 >> /system/build.prop
camera.HAL3.enabled=1 >> /system/build.prop
persist.camera.eis.enable=1 >> /system/build.prop
camera.eis.enable=1 >> /system/build.prop
persist.camera.is_mode=4 >> /system/build.prop
camera.is_mode=4 >> /system/build.prop
persist.camera.disable_zsl_mode=1 >> /system/build.prop
camera.disable_zsl_mode=1 >> /system/build.prop
persist.camera.gyro.android=4 >> /system/build.prop
camera.gyro.android=4 >> /system/build.prop
persist.camera.tof.direct=1 >> /system/build.prop
camera.tof.direct=1 >> /system/build.prop
persist.camera.tnr.preview=1 >> /system/build.prop
camera.tnr.preview=1 >> /system/build.prop
persist.camera.tnr.video=1 >> /system/build.prop
camera.tnr.video=1 >> /system/build.prop
ro.camera.notify_nfc=1 >> /system/build.prop
camera.notify_nfc=1 >> /system/build.prop
# Performance
sys.use_fifo_ui=1
debug.sf.latch_unsignaled=1
# Netflix custom property
ro.netflix.bsp_rev=Q660-13149-1
# bluetooth fix
persist.vendor.btstack.enable.splita2dp=false
persist.vendor.btstack.a2dp_offload_cap=false
# bt fix 2 Add this to vendor build prop
persist.bluetooth.bluetooth_audio_hal.disabled=true
# BT FIX 3 For fixing BT issue. Add this below lines in /vendor/build.prop
persist.vendor.btstack.enable.splita2dp=false
persist.vendor.btstack.a2dp_offload_cap=false
#BT FIX 4
1. Bluetooth audio connection fix
Backup the file /vendor/overlay/BluetoothResCommon.apk
Simply remove /vendor/overlay/BluetoothResCommon.apk by root explorer app
2. aptX HD
Install "Bluetooth stack audio bitrate changer for SBC + aptX & aptX-HD enabler" from Download of Magisk Manager.
3. build.prop
Open /vendor/build.prop and find "persist.vendor.bt.a2dp_offload_cap=sbc-aac" and replace "sbc-aac" to "sbc-aac-aptx-aptXHD" (Add -aptx-aptXHD)
Note: if you don't find the add "persist.vendor.bt.a2dp_offload_cap=sbc-aac-aptx-aptXHD"
add:
persist.bt.a2dp_offload_cap=sbc-aptx-aptxhd
persistent.bt.a2dp_offload_cap=sbc-aptx-aptXHD-aac-ldac
4. Restart device and test
#FIX BT(a2dp) 5:
qcom.bluetooth.soc=smd
outhers:
https://forum.xda-developers.com/pr...de-fix-bluetooth-audio-a2dp-aptx-gsi-t3950938
https://matjaz.it/simple-fix-for-bluetooth-audio-not-working-on-android-10/
https://www.reddit.com/r/oneplus/comments/d02ssd/is_aptxaptx_hd_working_for_anyone_after_the/
https://github.com/xamarin/xamarin-android/issues/3508
https://github.com/PixelExperience-...mmit/977444af69f10fc135d07e19f1e5f1183e73e9ff
##FiX BT 6 - system/buid.prop
#force disable Bluetooth AAC by default
persist.bt.a2dp.aac_disable=true
#system prop for wipower support
ro.bluetooth.emb_wp_mode=false
ro.bluetooth.wipower=false
#system prop for Bluetooth SOC type
vendor.bluetooth.soc=cherokee
ro.bluetooth.library_name=libbluetooth_qti.so
persist.vendor.btstack.enable.splita2dp=true
persist.vendor.btstack.a2dp_offload_cap=sbc-aptx-aptxhd-aac
ro.bluetooth.remote.autoconnect=true
ro.bluetooth.request.master=true
vendor/build.prop:
persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptxhd-aac
ro.bluetooth.a2dp_offload.supported=true
persist.bluetooth.a2dp_offload.disabled=false
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac
#Fix BT 7:
system prop for Bluetooth SOC type:
vendor.bluetooth.soc=cherokee
ro.bluetooth.library_name=libbluetooth_qti.so
persist.vendor.btstack.enable.splita2dp=false
persist.vendor.btstack.a2dp_offload_cap=false
#system prop for A4WP profile support
ro.bluetooth.a4wp=false
#system prop for wipower support
ro.bluetooth.emb_wp_mode=false
ro.bluetooth.wipower=false
# Navbar fix
persist.navbar_enabled=1
# fix - hide all icon
Write this in Terminal Emulator:
su
settings put secure sysui_rounded_content_padding 0
# insecure adb flag for roms
ro.debuggable=1
ro.secure=0
# Mtp fix
ro.adb.secure=0
persist.adb.notify=1
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb
# Fix Call
persist.vendor.audio.fluence.voicecall=true
# Fix dp4 can't add google account or #Optimize for MSM-8996 & MSM8953 system/build.prop vendor/build.prop
ro.sys.fw.dex2oat_thread_count=4
dalvik.vm.boot-dex2oat-threads=8
dalvik.vm.dex2oat-threads=4
dalvik.vm.image-dex2oat-threads=4
dalvik.vm.dex2oat-filter=speed
dalvik.vm.image-dex2oat-filter=speed
dalvik.vm.heapgrowthlimit=256m
dalvik.vm.heapstartsize=8m
dalvik.vm.heapsize=512m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=8m
# Spectrum support:
spectrum.support=1
# https://forum.xda-developers.com/mi-a2-lite/themes/spectrummorpho-xiaomi-devices-t3986071
# Volte FIX
persist.dbg.ims_volte_enable=1
persist.dbg.volte_avail_ovr=1
persist.dbg.vt_avail_ovr=1
persist.dbg.wfc_avail_ovr=1
persist.radio.rat_on=combine
persist.radio.data_ltd_sys_ind=1
persist.radio.data_con_rprt=1
persist.radio.calls.on.ims=1
#volstep_tweak
ro.config.media_vol_steps=25
ro.config.vc_call_vol_steps=25
# vendor fix message - there's an internal problem.. system/build.prop
ro.treble.enabled=false
#Or update defconfig and vintf
# Fix SafetyNet manually - ctsProfile work by setting this in build.prop
ro.system.build.fingerprint=xiaomi/tissot/tissot_sprout:8.0.0/OPR1.170623.026/8.1.10:user/release-keys
ro.build.description=tissot-user 8.0.0 OPR1.170623.026 8.1.10 release-keys
ro.build.fingerprint=xiaomi/tissot/tissot_sprout:8.0.0/OPR1.170623.026/8.1.10:user/release-keys
#enable wq_power_save, this can save some batterry if the tasks dont have priority
wq_power_save=1
#tweaks
echo "persist.sys.scrollingcache=3"
echo "profiler.force_disable_ulog=1"
echo "logcat.live=disable"
echo "ro.kernel.checkjni=0"
echo "ro.config.nocheckin=1"
echo "wifi.supplicant_scan_interval=300"
echo "pm.sleep_mode=2"
debug.composition.type=c2d
debug.egl.hw=1
debug.enabletr=true
debug.overlayui.enable=1
debug.performance.tuning=1
debug.qc.hardware=true
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
debug.sf.hw=1
#Support HDR & FHD
sys.display-size= "YOU_RESOLUTION" - Daisy is 2280x1080
video.accelerate.hw=1
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.hprof.vid.fps=65
#Tweaks for RAM
ro.config.fha_enable=true
ro.sys.fw.bg_apps_limit=32
ro.config.dha_cached_max=16
ro.config.dha_empty_max=42
ro.config.dha_empty_init=32
ro.config.dha_lmk_scale=0.545
ro.config.dha_th_rate=2.3
ro.config.sdha_apps_bg_max=64
ro.config.sdha_apps_bg_min=8
#Internet Velocity
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
#Signal Performance
ro.telephony.call_ring.delay=0
ring.delay=0
#Save Battery Without Performance Drop
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
ro.security.mdpp.ux=Disabled
wifi.supplicant_scan_interval=180
persist.sys.storage_preload=0
wlan.wfd.hdcp=disable
profiler.force_disable_ulog=true
profiler.force_disable_err_rpt=true
#Launcher Is Kept in Memory
ro.HOME_APP_ADJ=1
#Allow Purge of Assets To Free Ram
persist.sys.purgeable_assets=1
#Smooth Video Stream
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=false
media.stagefright.enable-http=true
#Force GPU Render On 2D Operations
debug.sf.hw=1
#Increase General Performance
debug.performance.tuning=1
#Google Assistant
ro.opa.eligible_device=true
#Sim Slot
ro.multisim.simslotcount=2
#Enable Faster Boot
ro.config.hw_quickpoweron=true
#Boot & Shutdown Animation FPS Boost
boot.fps=32
shutdown.fps=32
#Hibernate Device
persist.sys.shutdown.mode=hibernate
#Gaming Tweaks
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
#set default rendering to opengl from skiagl
debug.hwui.renderer=skiagl
#FDE CHANGE NAME
in terminal
setprop com.feravolt.fdeai.name AI_NAME
OR
put it in build.prop
com.feravolt.fdeai.name=InsertNameHere
#force the app to use 2.0 or vulkan
debug.hwui.renderer=vulkan
#Improve performance - Adreno Gpu gamers add these lines to build.prop and then restart the device. game perfomance should get better
com.qc.hardware=true
debug.composition.type=gpu
debug.egl.hw=1
debug.egl.profiler=1
debug.enabletr=true
debug.gralloc.enable_fb_ubwc=1
debug.overlayui.enable=1
debug.performance.tuning=1
debug.qc.hardware=true
debug.qctwa.preservebuf=1
debug.qctwa.statusbar=1
debug.sf.hw=1
debug.sf.latch_unsignaled=1
dev.pm.dyn_samplingrate=1
hw3d.force=1
hwui.disable_vsync=true
hwui.render_dirty_regions=false
ro.config.enable.hw_accel=true
ro.fb.mode=1
ro.product.gpu.driver=1
ro.sf.compbypass.enable=0
#misc/outhers
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
ro.min_pointer_dur=1
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
wifi.supplicant_scan_interval=600
logcat.live=disable
ro.ril.disable.power.collapse=0
ro.ril.power_collapse=1
ro.mot.eri.losalert.delay=1000
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
ro.config.nocheckin=1
windowsmgr.max_events_per_sec=150
# sys.use_fifo_ui=1
# persist.sys.scrollingcache=3
# windowsmgr.max_events_per_sec=300
# ro.max.fling_velocity=13800
# ro.min.fling_velocity=10500
# debug.kill_allocating_task=0
MIN_HIDDEN_APPS=false
ACTIVITY_INACTIVE_RESET_TIME=false
MIN_RECENT_TASKS=false
PROC_START_TIMEOUT=false
CPU_MIN_CHECK_DURATION=false
GC_TIMEOUT=false
SERVICE_TIMEOUT=false
MIN_CRASH_INTERVAL=false
ENFORCE_PROCESS_LIMIT=false
# ro.config.fha_enable=true
# ro.config.dha_cached_max=16
# ro.config.dha_empty_max=32
# ro.config.dha_empty_init=32
# ro.config.dha_lmk_scale=0.990
# ro.config.dha_th_rate=1.4
ro.config.sdha_apps_bg_max=64
ro.config.sdha_apps_bg_min=8
# Disable fast dormancy
ro.fast.dormancy=0
ro.config.hw_fast_dormancy=0
ro.ril.fast.dormancy.rule=0
# Enable fast dormancy
ro.fast.dormancy=1
ro.config.hw_fast_dormancy=1
ro.ril.fast.dormancy.rule=1
ro.semc.enable.fast_dormancy=true
# Disable IMS debug logs
# persist.ims.disableDebugLogs=1
# Disable quality control
# persist.radio.oem_socket=false
# set prefer network type
# LTE, GSM, WCDMA(9)
ro.telephony.default_network=10
telephony.lteOnCdmaDevice=1
telephony.lteOnGsmDevice=1
telephony.lte.cdma.device=1
telephony.lte.gsm.device=1
ro.ril.def.preferred.network=10
# Doze parameters
pm.sleep_mode=1
doze.display.supported=true
doze.pulse.notifications=true
doze.use.accelerometer=0
doze.pickup.vibration.threshold=2000
doze.pulse.brightness=5
doze.pulse.delay.in=200
doze.pulse.duration.in=1000
doze.pulse.duration.out=1000
doze.pulse.duration.visible=3000
doze.pulse.proxcheck=0
doze.pulse.schedule=1s,10s,30s,60s,120s
doze.pulse.schedule.resets=3
doze.pulse.sigmotion=0
doze.shake.acc.threshold=10
doze.vibrate.sigmotion=0
debug.doze.component=0
# Doze parameters
pm.sleep_mode=1
# Faster boot mode
# persist.sys.shutdown.mode=hibernate
# ro.config.hw_quickpoweron=true
# Set default power mode to low power for encoder
# vidc.debug.perf.mode=2
# Additional modified props
ro.config.nocheckin=1
ro.kernel.checkjni=0
ro.kernel.android.checkjni=0
wifi.supplicant_scan_interval=360
#miracast props
PRODUCT_PROPERTY_OVERRIDES += \
persist.debug.wfd.enable=1
#fix video calls have an audio echo problem - Add this to vendor's prop
ro.vendor.audio.sdk.fluencetype=fluence
#How to improve better signal reception/Fix signal
persist.cust.tel.eons=1
ro.config.hw_fast_dormancy=1
#[FIX] NEW PUBGM UPDATE NOTCH
search for this "ro.product.model" set the value from "POCO F1" to "MI 8"
##FIX GPLAY
1. Clear App Data of Google Pay
2. Reboot to TWRP
3. Go to Advanced / File Manager
4. Navigate to file /data/data/com.google.android.gms/databases/dg.db
5. Select chmod, enter "440" and confirm
6. Reboot to System and you should be able to use Google Pay
##Magisk HIDE - Fix for vendor mismatch popup:
1. Install "magsisk hide props config" module from magisk downloads.
2. Install any terminal emulator from play store, I use terminus (as I use it for my ssh too). On terminus go to terminals>connect>local terminal.
3. Type su and hit enter.
4. Type props and hit enter.
5. Follow the instructions on screen to edit the fingerprint. Select your device in later steps. Reboot.
#FP FIX
TWRP, mount persist, /persist/data or /data/persist and remove all fingerprint_0_0 etc,
#FP FIX 2
download selinux switcher app, for example https://labs.xda-developers.com/store/app/com.ibuprophen.selinux set selinux for permissive, reboot phone, add fingerprint, then set selinux back to enforcing, and finally reboot. proof.
#Fix headphone volume - incall volume when your on a phone call:
Go to vendor>etc>mixer paths tasha (with an root explorer, edit it RX0 is default set to 84, set it to 90 or 92
Change it to 90-91 or 92
Save and reboot
Only change the RX0
MAY HAPPEN FROM ENTERING IN BOOTLOOP, I DON'T RESPONSIBLE FOR DAMAGE CAUSED OR DATE LOST BY USING THIS.

yeshua77 said:
#Speed Booster All Devices v7 [Magisk Module]
- Memory Performance
- Rearrange Litle Core ,Big Core CPU
- DNS 1.1.1.1,1.0.0.1
- Power Saving
- GPU Performance
- Good touch screen response
- Better response and speed
- Best mobile internet signal adjustment
- Unthermal CPU, Battery
- Permission hosts for Ads blocking
- Disable the error checking
- Disables the sending of usage data
- Disable stats logging & monitoring
- And other tweaks
#Speed Booster Daisy v7.1 [Magisk Module]
- Memory Performance
- Rearrange Litle Core ,Big Core CPU
- DNS 1.1.1.1,1.0.0.1
- Power Saving
- GPU Performance
- Good touch screen response
- Better response and speed
- Best mobile internet signal adjustment
- Unthermal CPU, Battery
- Fast Charging
- Permission hosts for Ads blocking
- Disable the error checking
- Disables the sending of usage data
- Disable stats logging & monitoring
- And other tweaks
#Speed Booster Basic All Devices v7.2 [Magisk Module]
- Good touch screen response
- Better response and speed
- Best mobile internet signal adjustment
- Disable the error checking
- Disables the sending of usage data
- Disable stats logging & monitoring
- And other tweaks
#Speed Booster Basic Daisy v7.3 [Magisk Module]
- Good touch screen response
- Better response and speed
- Fast Charging
- Best mobile internet signal adjustment
- Disable the error checking
- Disables the sending of usage data
- Disable stats logging & monitoring
- And other tweaks
If you see something wrong please let me know as I am still learning.
If the device does not start, use magisk uninstaller.zip
#Tested on Android 9
#Magisk stable: https://github.com/ianmacd/MagiskBuilds?files=1
https://github.com/ianmacd/MagiskBuilds
https://t.me/magiskplus
MAY HAPPEN FROM ENTERING IN BOOTLOOP, I NOT RESPONSIBLE FOR DAMAGE CAUSED OR DATA LOST BY USING THIS ZIP.
Telegram: https://t.me/A2LiteOfficial
Click to expand...
Click to collapse
Have anybody tried it out yet? Any feedbacks?

chalseu said:
Have anybody tried it out yet? Any feedbacks?
Click to expand...
Click to collapse
Okay so I have tested it out, and I can notice some boost in performance and display responsiveness. Not too much, but noticeable. Have fun trying the module guys!
Uninstalled it because I already have FDE AI app which may conflict with this module.

Using 7.1 with FDE.AI, no issues so far. Asphalt 8 runs smooth at maxed settings.

leitseleac said:
Using 7.1 with FDE.AI, no issues so far. Asphalt 8 runs smooth at maxed settings.
Click to expand...
Click to collapse
Good to know! Thanks for sharing.

I have problems with hotspot. The device connecting to my hotspot can't access internet. Probably because of the Cloudflare DNS, but works fine with the Basic version.

anyone tried this with 10 GSI?

Will this work on MIUI11 custom rom?

Good module but I hate the touchscreen response...can I revert only the touchscreen sensitivity ?

notthesun said:
Good module but I hate the touchscreen response...can I revert only the touchscreen sensitivity ?
Click to expand...
Click to collapse
Updated, thanks for your feedback.

barumbads said:
Will this work on MIUI11 custom rom?
Click to expand...
Click to collapse
use the "All Devices" version.

hi, looks like its not working for me on daisy 10.0.13.0
the 7.1 breaks my edxposed, it shows not installed in xposed manager
and the 7.3 breaks ma magisk, it also says not installed in magisk manager
rom 10.0.13.0
magisk 19.3
riru core 19.1_2
riru edxposed 0.4.5.5_beta

update

yeshua77 said:
update
Click to expand...
Click to collapse
Thank you for the update :good: . all versions working for Q ? or v7.4.X only?

barumbads said:
Thank you for the update :good: . all versions working for Q ? or v7.4.X only?
Click to expand...
Click to collapse
Only the all devices version is compatible.

how to check this module function or not when done installing?

How can i use this? should i replace it with build.prop?
i mean the first comment, check it

what version should i use in your android 10 msm extended custom rom?

How do you uninstalled it?
chalseu said:
Okay so I have tested it out, and I can notice some boost in performance and display responsiveness. Not too much, but noticeable. Have fun trying the module guys!
Uninstalled it because I already have FDE AI app which may conflict with this module.
Click to expand...
Click to collapse

Related

[TWEAKS][ICS] ICS/CM9 performance tweaks! [UPDATED]

************************************************
IF THE LINES ARE NOT ALREADY IN BUILD.PROP, JUST ADD THEM TO THE END OF THE FILE
************************************************
So i found these in the net.
I have applied them in latest Fuzz's build and it is very smooth!!
Here are just a couple of tweaks to smoothen one's UI experience in Android 4.0 Ice Cream Sandwich. (Remember these changes won't apply without a reboot and you will need a rooted device).
Improve UI frame rate and touch response:
Code:
windowsmgr.max_events_per_sec=240
Disable kernel error logging:
Code:
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
Get rid of CPU rendering:
1. Navigate to /system/lib/egl/
2. Open the file named "egl.cfg"
3. Delete the first line. It should say "0 0 android" or something similar
4. Go back into the egl folder and delete libGLES_android.so
What this does is remove the entire soft-rendering pathway from the OS.
Enable tile rendering:
Tile rendering is a more efficient form of GPU composition, and boosts performance since each frame is split into tiles.
Code:
debug.enabletr=true
Improve Scrolling FPS:
Code:
ro.max.fling_velocity=6000
Signal Tweaks:
Code:
ro.ril.hsxpa=2
ro.ril.gprsclass=10
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=10
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=5
Network 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
Disable bootanimation for faster boot:
Code:
debug.sf.nobootanimation=1
i have only read permission bt not write...what should i do in this case
and d commands u said are not there in build.prop
i m using cm9 kangs by fuzz
you should use root file browser, e.g Root Explorer, and press mount as r/w on the top right corner.
then long press on build.prop file and select open in text editor
then add the lines to build.prop file, save and reboot
Solid explorer is another root explorer that's free and has an inbuilt text editor
Sent from my MB525
@OP, what were the specific values you used for scrolling fps and UI frame rate on your device
I found another thread on xda a stock/beta thread dealing with xperia and there were a few more tweaks.will post the link when I get to my PC.however that one had the values for deep sleepand performance.so far I am enjoying it.very fast and snappy.no boot loops nothing:thumbup:
Sent from my MB526 using xda premium
hsrars-d said:
you should use root file browser, e.g Root Explorer, and press mount as r/w on the top right corner.
then long press on build.prop file and select open in text editor
then add the lines to build.prop file, save and reboot
Click to expand...
Click to collapse
I just copied the file using drop box edited it on my PC and again synced it with my phone.just used ROM toolbox pro to set permissions
Sent from my MB526 using xda premium
syllogyking said:
@OP, what were the specific values you used for scrolling fps and UI frame rate on your device
Click to expand...
Click to collapse
windowsmgr.max_events_per_sec=240
ro.max.fling_velocity=6000
Sent from my MB525 using xda premium
http://androidforums.com/triumph-all-things-root/495620-build-prop-performance-tweaks-updated-04-14-2012-a.html
http://www.s3forums.com/forum/galaxy-s3-hacking-mods/474-list-some-build-prop-tweaks.html#post8158
Cleaned OP and added some more stuff
Not working
Tried adding to end of prop file but no effect. Should i leave a space after the last entry i.e.
**********(last entry)
winowdsmgr_****
or
**********(last entry)
windowsmgr_****
obviously what a typed above is a quick example not what I typed into build prop.
Thanks.
Tile rendering makes all my launchers crash even Trebuchet. The only option then left is to restore.
GigahurtzUK said:
Tried adding to end of prop file but no effect. Should i leave a space after the last entry i.e.
**********(last entry)
winowdsmgr_****
or
**********(last entry)
windowsmgr_****
obviously what a typed above is a quick example not what I typed into build prop.
Thanks.
Click to expand...
Click to collapse
I added it with no space, above the line that reads #end of build.prop
like this :
some_line
added_line
# end build properties
And you may not feel any difference, latest build is just fine without these tweaks, just added them before HWA builds came out
these are the ones i put in build.prop, and the phone feels smoother and more responsive now.
Code:
windowsmgr.max_events_per_sec=240
debug.enabletr=true
ro.min.fling_velocity=8000
ro.max.fling_velocity=12000
persist.sys.ui.hw=1
ro.media.enc.jpeg.quality=90
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=false
media.stagefright.enable-http=true
ro.telephony.call_ring.delay=0
ro.lge.proximity.delay=25
mot.proximity.delay=25
persist.sys.purgeable_assets=1
video.accelerate.hw=1
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
ro.HOME_APP_ADJ=1
#modified lines:
#dalvik.vm.dexopt-flags=m=v,o=y
#ro.telephony.call_ring.delay=0
#hwui.whitelist=0
#hwui.blacklist=
#wifi.supplicant_scan_interval=120
sent from my cm9 defy...
Disabling the boot animation didn't work for me :/
I'm using a custom boot animation located in
/system/media/bootanimation.zip
My build.prop has it as my last entry:
http://pastebin.com/raw.php?i=EsLRbFNn
How can i use the Linaro tweaks?
Bleak3993 said:
How can i use the Linaro tweaks?
Click to expand...
Click to collapse
I'm wondering the same
btw, the bootanimation trick didn't work for me!
hsrars-d said:
************************************************
IF THE LINES ARE NOT ALREADY IN BUILD.PROP, JUST ADD THEM TO THE END OF THE FILE
************************************************
So i found these in the net.
I have applied them in latest Fuzz's build and it is very smooth!!
Here are just a couple of tweaks to smoothen one's UI experience in Android 4.0 Ice Cream Sandwich. (Remember these changes won't apply without a reboot and you will need a rooted device).
Improve UI frame rate and touch response:
Code:
windowsmgr.max_events_per_sec=240
Disable kernel error logging:
Code:
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
Get rid of CPU rendering:
1. Navigate to /system/lib/egl/
2. Open the file named "egl.cfg"
3. Delete the first line. It should say "0 0 android" or something similar
4. Go back into the egl folder and delete libGLES_android.so
What this does is remove the entire soft-rendering pathway from the OS.
Enable tile rendering:
Tile rendering is a more efficient form of GPU composition, and boosts performance since each frame is split into tiles.
Code:
debug.enabletr=true
Improve Scrolling FPS:
Code:
ro.max.fling_velocity=6000
Signal Tweaks:
Code:
ro.ril.hsxpa=2
ro.ril.gprsclass=10
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=10
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=5
Network 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
Disable bootanimation for faster boot:
Code:
debug.sf.nobootanimation=1
Click to expand...
Click to collapse
Using above fixes I get an error unfortunately trebuchet has stopped and can't operate my phone.
any ideas?

[KERNEL][3.4.106][LP][ION] K^Kernel 3.4.106 v2.0 for LP 5.0 [11/03/2015][EOL]

{
"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"
}
In this thread you may find my customized kernel 3.4.x for Lollipop rom (CM 12.0 and derivatives) that use ION+PMEM ADSP memory allocations.
Of course, your feedback, as always, are welcome and certainly valuable.
The main features are the following:
- Kernel 3.4.x
- Kernel based on more updated kk_2.7-stable branch of CAF (Code Aurora Forum)
- Sources synched with cm-12.0 repo branch of DevCon Team
- Built with my custom Linaro 4.9.3-2015.02 toolchain optimized for Cortex-A8
- Built with Cortex-A8 and NEON VFP optimization flags (both kernel and modules)
- Built with -O3 optimization flag (both kernel and modules)
- CPU overclockable up to 1824 MHz
- CPU frequencies undervolted (UV version) or extremely undervolted (EXUV version)
- CPU voltage control VDD sys interface (click for more details)
- Dynamic memory allocation of ION heaps through CMA (Contiguous Memory Allocator)
- Dynamic memory allocation of PMEM ADSP heap through CMA (Contiguous Memory Allocator)
- 426MB of free RAM
- Init.d support
- Fast Charge support (default disabled, click for more details)
- Battery Life eXtender support (default disabled, click for more details)
- Ram Console support (click for more details)
- TRIM support
- USB OTG support (if also implemented on rom side)
- Lowered display panel voltage
- Lowered vibetonz voltage
- Lowered wifi voltage
- Lowered swappiness (60 -> 45)
- Increased CPU frequency during boot
- Optimized AES and SHA1 routines for ARM cpu architecture
- Fixed 100% battery notification after charger unplug
- Increased audio volume on board side
- Con Kolivas' CK3 Tweaks
- Optimized SLUB memory allocator
- Optimized ARM RWSEM (read/write semaphore) algorithm
- Optimized asynchronous I/O latency on solid state disks
- Disabled Gentle Fair Sleepers for better UI performance
- CIFS support on boot
- Memory compaction
- Dynamic compression of clean pagecache pages
- Dynamic FSync v1.2 (click for more details)
- Dynamic dirty page writebacks (click for more details)
- VM tweaks for performance and less battery consumption
- Timer slack controller (click for more details)
- Dynamic management of the minimal timer slack value during suspend/resume (click for more details)
- LowMemoryKiller management of not killable processes (click for more details)
- exFAT support
- Additional TCP Congestion algorithms
- Updated ZRam, ZSMalloc, ZCache built-in modules
Available CPU governors:
- Adaptive
- BrazilianWax
- Conservative
- Hyper
- Intellidemand
- Interactive
- InteractiveX
- LionHeart
- LulzActive
- OnDemand (default)
- OnDemandX
- Performance
- Powersave
- SmartAssV2
Available I/O schedulers:
- BFQ
- CFQ
- Deadline
- Fiops
- Noop
- ROW (default)
- SIO
- V(R)
Kernel Downloads for Lollipop ION+PMEM ADSP:
K^Kernel LP-5.0 Mediafire Folder
[QRCODE]https://www.mediafire.com/folder/b82tiiw5u7hd7[/QRCODE]
- v2.0 -
for CM 12.0
and the other roms based on CM 12.0
Note: You must use the CWM recovery with new partition assignments you may find inside CM 12.0 thread by arco68.​
Howto install the kernel:
1) Download the preferred kernel zip file to sdcard or external sdcard
2) Reboot to recovery mode
3) Flash the kernel zip file
4) Reboot the system
Kernel sources (on GitHub):
Development branch of K^Kernel 3.4 for LP 5.0 ION+PMEM ADSP
​
Useful info:
- Special features and sysfs settings
- Frequently asked questions
​
Tables:
​
Changelog:
Code:
[B]11/03/2015 - K^Kernel 3.4 v2.0 for Lollipop ION+PMEM ADSP[/B]
- Kernel 3.4.106
- Built with my latest custom Linaro 4.9.3-2015.02 toolchain optimized for Cortex-A8
- defconfig: Switch to ROW I/O scheduler as default (credits to Christopher83)
- HID: input: generic hidinput_input_event handler (credits to David Herrmann)
- cpufreq: Avoid using global variable total_cpus (credits to Ruchi Kandoi)
- net/ping: handle protocol mismatching scenario (credits to Jane Zhou)
- net: ipv6: allow choosing optimistic addresses with use_optimistic (credits to Erik Kline)
- netfilter: IDLETIMER: fix invalid deference of timer (credits to JP Abgrall)
- prctl: make PR_SET_TIMERSLACK_PID pid namespace aware (credits to Micha Kalfon)
- crypto: arm-aes - fix encryption of unaligned data (credits to Mikulas Patocka)
- ARM: 8118/1: crypto: sha1/make use of common SHA-1 structures (credits to Jussi Kivilinna)
- ARM: 8119/1: crypto: sha1: add ARM NEON implementation (credits to Jussi Kivilinna)
- ARM: 8120/1: crypto: sha512: add ARM NEON implementation (credits to Jussi Kivilinna)
- defconfig: Enable NEON optimized SHA1 crypto routines (credits to Christopher83)
- defconfig: Build QCOM crypto device as built-in (credits to Christopher83)
- pstore: selinux: add security in-core xattr support for pstore and debugfs (credits to Mark Salyzyn)
- KEYS: close race between key lookup and freeing (credits to Sasha Levin)
- msm_fb: Fix RGB pipe offset issue (credits to Blefish)
- msm: mdp.c fix deadlock which causes blue screen (credits to Vinu Deokaran)
- msm: rq_stats: Use cpufreq API to get the current frequency (credits to Archana Sathyakumar)
- defconfig: Back to enforced SELinux (credits to Christopher83)
- staging: android: ashmem: add missing include (credits to Rom Lemarchand)
- net: wireless: bcmdhd: Remove WLAN_CIPHER_SUITE_AES_CMAC advertisement (credits to Dmitry Shmidt)
- gpu: ion: Refactor locking (credits to Srinivasarao P)
- gpu: ion: use a list instead of a tree for heap debug memory map (credits to Srinivasarao P)
- gpu: ion: fix locking issues in debug code (credits to Mitchel Humpherys)
- gpu: ion: add locking to traversal of volatile rb tree (credits to Srinivasarao P)
- gpu: ion: Delete invalid extra file (credits to Pradosh Das)
- drivers: video: msm: Cleanup some dead codes (credits to sirmordred)
- lz4: Revert previously applied commits (credits to Christopher83)
- decompressor: add LZ4 decompressor module (credits to Kyungsik Lee)
- lib: add support for LZ4-compressed kernel (credits to Kyungsik Lee)
- lib: add lz4 compressor module (credits to Chanho Min)
- lib/lz4: correct the LZ4 license (credits to Richard Laager)
- lz4: fix compression/decompression signedness mismatch (credits to Sergey Senozhatsky)
- lz4: ensure length does not wrap (credits to Greg Kroah-Hartman)
- lz4: fix another possible overrun (credits to Greg Kroah-Hartman)
- lz4: add overrun checks to lz4_uncompress_unknownoutputsize() (credits to Greg Kroah-Hartman)
- Update zram and zsmalloc up-to 3.17 kernel changes (credits to sirmordred)
- msm7x30: Remove high memory configurations (credits to Christopher83)
- msm7x30: Change all heap types to CMA (credits to sirmordred)
- msm7x30: Workaround deep sleep issue (credits to Christopher83)
- msm7x30: Increase ION memory heap for surfaceflinger (credits to Christopher83)
- defconfig: Update default and custom configurations (credits to Christopher83)
- f2fs: Sync F2FS to Jaegeuk's linux-3.4 branch (credits to Christopher83)
- selinux: fix inode security list corruption (credits to Stephen Smalley)
- Squashed update of kernel from 3.4.105 to 3.4.106 (credits to Christopher83)
- ipv4: try to cache dst_entries which would cause a redirect (credits to Hannes Frederic Sowa)
- USB: android: release spinlock before queuing work in android_setup (credits to Tarun Gupta)
- usb: gadget: Ignore the second set_config from the host (credits to ChandanaKishori Chiluveru)
- usb: android: Skip the work when set_config arrives with same value twice (credits to ChandanaKishori Chiluveru)
- usb: android: Fixup multiple lun support (credits to arco68)
- msm: camera: s5k4ecgx: Set mount angle from platform data (credits to sirmordred)
- USB: gadget: qdss: Fix strncmp length usage (credits to Kumar Gala)
- usb: android: Print LUN debug info (credits to Christopher83)
- Ramdisk updates (credits to Christopher83)
[B]31/12/2014 - K^Kernel 3.4 v1.0 for Lollipop ION+PMEM ADSP[/B]
- Kernel 3.4.105
- Built with my latest custom Linaro 4.9.3-2014.12 toolchain optimized for Cortex-A8
- ariesve: Set SELinux to be permissive (credits to Christopher83)
- defconfig: Set selinux permissive (credits to arco68)
- defconfig: Enable CONFIG_NETFILTER_XT_TARGET_IDLETIMER (credits to arco68)
- defconfig: Regenerate (credits to arco68)
- ext4: Add support for FIDTRIM, a best-effort ioctl for deep discard trim (credits to JP Abgrall)
- broadcom_wlan: Modify country code source (credits to arco68)
- net: ipv6: autoconf routes into per-device tables (credits to Lorenzo Colitti)
- netfilter: nf_conntrack: decrement global counter after object release (credits to Pablo Neira Ayuso)
- net: ipv6: Add a sysctl to make optimistic addresses useful candidates (credits to Erik Kline)
- Enable NEED_NETDEV for vendor command support. (credits to Subhani Shaik)
- cfg80211: ignore supported rates for nonexistant bands on scan (credits to Felix Fietkau)
- crypto: msm: check potential integer overflow (credits to William Clark)
- defconfig: Enable generic USB audio driver (credits to tobigun)
- i2c: chips: fsa9480: Add support for charging in USB-OTG mode (credits to tobigun)
- defconfig: Update custom defconfigs (credits to Christopher83)
- defconfig: Disable Frandom module (credits to Christopher83)
- i2c: chips: fsa9480: Add write-permission for USB-OTG charger type (credits to tobigun)
- Staging: android: binder: More offset validation. (credits to Arve Hjonnevag)
- fs: f2fs: Initial import from https://kernel.googlesource.com (credits to arco68)
- defconfig: Enable F2FS filesystem (credits to arco68)
Credits and Thanks to:
arco68, CastagnaIT and Ivendor for their awesome work and their kernel sources
Ezekeel, Doomlord, Faux123, Stratosk, Tegrak, ErasmuX, Imoseyon, Blefish, mikeioannina, Madridii and other devs I'm surely missing
CyanogenMod, Kernel.org, Code Aurora Forum, Google, Linaro GCC developers
XDA:DevDB Information
[GT-I8150][ION] K^Kernel 3.4 for LP 5.0 ION+PMEM ADSP, Kernel for the Samsung Galaxy W I8150
Contributors
Christopher83
Source Code: https://github.com/Christopher83/samsung-kernel-msm7x30/tree/cm-12.0
Kernel Special Features: Customized kernel 3.4.x for LP 5.0 rom (CM 12.0 and derivatives) with ION memory allocations
Version Information
Status: Stable
Current Stable Version: v2.0
Stable Release Date: 2015-03-11
Created 2014-12-31
Last Updated 2015-06-08
Special features and sysfs settings (Part 1):
Here you can find some useful scripts that can be used with the following described features:
Scripts​
CPU voltage control VDD sys interface
This feature allows to customize the voltage assumed by each cpu scaling frequency.
It could be useful if you'd like to decrease one or more voltages for battery saving purposes (undervolting), or to increase/adjust them to prevent phone freezes (overvolting).
How to customize the voltages:
1) By downloading and using Trickster MOD or IncrediControl and changing the voltages table inside the SVS tab
2) By using customized init.d scripts (the custom values will be always restored after a reboot, if you don't format the system partition)
- Download one of the script named 01vdd_levels*
- If the file has been saved with .txt extension (stock browser), rename it by removing the .txt extension
- Edit the file by setting your customized voltages, where each line has this syntax
Code:
echo "[I][B][COLOR="Blue"]cpu_freq_HZ[/COLOR][/B][/I] [I][COLOR="SeaGreen"][B]mV[/B][/COLOR][/I]" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
cpu_freq_HZ is the cpu frequency in Hz you'd like to change
mV is the voltage you want to set
For example, the following line means that when the cpu frequency is 1516800 Hz = 1516 MHz, the voltage used will be 1175 mV
Code:
echo "1516800 1175" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
- Copy the new file inside /etc/init.d
- Give the rwxr-xr-x permissions to the file (read, write, execution for owner, read and execution for group users, read and execution for others)
- Reboot
3) By using Terminal Emulator (note that the values you set will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run these commands
Code:
su
# Run a command for each cpu frequency voltage you'd like to change
echo "[I][B][COLOR="Blue"]cpu_freq_HZ[/COLOR][/B][/I] [I][COLOR="SeaGreen"][B]mV[/B][/COLOR][/I]" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
cpu_freq_HZ is the cpu frequency in Hz you'd like to change
mV is the voltage you want to set
For example, the following line means that when the cpu frequency is 1516800 Hz = 1516 MHz, the voltage used will be 1175 mV
Code:
echo "1516800 1175" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
Alternative Extreme Undervolted (ExUV) settings
If after overclocking your I8150 you noticed some freezes when on ExUV kernel builds, you may use an alternative extremely undervolted setting with the init.d script you can find here: 01vdd_levels_alt_exuv
- Download the script
- If the file has been saved with .txt extension (stock browser), rename it by removing the .txt extension
- Copy the new file inside /etc/init.d
- Give the rwxr-xr-x permissions to the file (read, write, execution for owner, read and execution for group users, read and execution for others)
- Reboot
Force Fast Charge
This feature allows you to force AC charging for any charger that is detected as USB (eg. PC USB ports, USB Car Chargers) and pull the full current the charger can support, in such a way as to speed up the time required for a complete battery recharge.
By enabling this feature, the USB / ADB data transfers will be disabled (security limitation to protect your data).
How to enable/disable the Force Fast Charge:
1) By using the related setting inside System->Advanced->Force Fast Charge (only on CM 10 Beta 3 and next releases)
2) By downloading and using Trickster MOD or IncrediControl or NsTools
2) By directly editing the file /sys/kernel/fast_charge/force_fast_charge and setting 1 to enable the force charge, 0 to disable it (note that set value will be lost after a reboot/shutdown)
3) By using Terminal Emulator (note that set value will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run this command to enable the force fast charge feature
Code:
su
echo 1 > /sys/kernel/fast_charge/force_fast_charge
- Then, when you want to restore the normal status, run this command to disable the force fast charge feature
Code:
su
echo 0 > /sys/kernel/fast_charge/force_fast_charge
4) By using a customized init.d script, but I don't recommend it because you have to remember to disable the feature every time you want to connect your device to a pc for data transfering after every reboot
Battery life extender (BLX)
This feature has been developed by Ezekeel and allows to set a customized battery charging limit (100% is the default stock value, if you want, you can set a lower value).
As Ezekeel said, it is commonly accepted that both very low and very high charge states accelerate the degradation of the battery capacity (that is why you should store Li-Ion batteries at around 40% charge).
If you set a charging limit equal to 100, this feature will be disabled.
How to activate this feature and set a customized charging limit:
1) By downloading and using Trickster MOD or NsTools by setting the customized battery life extender charging limit
2) By using a customized init.d script (the custom value will be always restored after a reboot, if you don't format the system partition)
- Download the script named 15blx
- If the file has been saved with .txt extension (stock browser), rename it by removing the .txt extension
- Edit the file by setting your preferred charging limit (the downloaded script will set the charging limit to 95%)
- Copy the new file inside /etc/init.d
- Give the rwxr-xr-x permissions to the file (read, write, execution for owner, read and execution for group users, read and execution for others)
- Reboot
3) By directly editing the file /sys/class/misc/batterylifeextender/charging_limit (the value you set will be lost after a reboot/shutdown)
4) By using Terminal Emulator (note that set value will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run these commands (changing the charging limit = 95 with the preferred one)
Code:
su
echo 95 > /sys/class/misc/batterylifeextender/charging_limit
LowMemoryKiller
The LowMemoryKiller driver is used to kill a selected process and free the memory when it is under one of the defined thresholds.
The tuning of the driver could be achieved by means of two parameters exposed by the kernel module via sysfs interface:
- /sys/module/lowmemorykiller/parameters/minfree
This file includes a comma separated array of the threshold numbers for minfree memory size (in page units).
- /sys/module/lowmemorykiller/parameters/adj
This file includes the comma separated array of oomadj factors, if the corresponding minfree threshold has been reached, one of the process with an oomadj greater than this number will be killed.
The oomadj factor is a property associated to each process, its value is in a range from -17 to +15, the processes with a higher oomadj factor will be the first to be killed when a specific minfree threshold has been reached.
RAM Console
This feature is useful expecially for development and debugging purposes, when occurs kernel panic / unexpected shutdowns or reboots. Pratically, the kernel messages are also stored inside a little RAM portion and restored during reboot after a kernel panic, inside the file /proc/last_kmsg.
Dynamic FSync
This feature has been developed by Faux123 and allows to dynamically manage the synchronous writes performed on file system (FSync).
It uses asynchronous writes when the screen is on, instead of synchronous writes, to have better performance and a slightly lower battery drain, while when the screen is off the synchronous writes are re-enabled to flush all the outstanding writes and prevent possible data loss.
How to enable/disable the Dynamic FSync (default enabled):
1) By downloading and using Trickster MOD
2) By directly editing the file /sys/kernel/dyn_fsync/Dyn_fsync_active and setting 1 to enable the dynamic fsync, 0 to disable it (note that set value will be lost after a reboot/shutdown)
3) By using Terminal Emulator (note that set value will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run this command to disable the dynamic fsync feature
Code:
su
echo 0 > /sys/kernel/dyn_fsync/Dyn_fsync_active
- Or run this command to re-enable the dynamic fsync feature
Code:
su
echo 1 > /sys/kernel/dyn_fsync/Dyn_fsync_active
Dynamic dirty page writebacks
This feature has been developed by me and allows to dynamically manage the dirty page writebacks with two different intervals, one when the screen is on and another when the screen is off.
It is based on a commit of Francisco Franco, but instead of using hard coded values and of disabling at all the dirty page writebacks while the screen is on (possibility of data loss), I preferred to use a customizable higher dirty page writebacks interval (15 seconds) than the default one (5 seconds) while the screen is on and a customizable default interval (5 seconds) when the screen is off.
By using a higher interval we have better performance and less battery consumption, with a very low risk of data loss.
How to customize the dynamic dirty page writebacks feature (default enabled):
Three new procfs parameters are exposed inside /proc/sys/vm path:
- dynamic_dirty_writeback is the activation status of this feature, set 1 to enable it, set 0 to disable it and use the standard behaviour
- dirty_writeback_active_centisecs is the interval for the dirty page writebacks when the system is active (screen on), the default value is 1500 centisecs (15 seconds)
- dirty_writeback_suspend_centisecs is the interval for the dirty page writebacks when the system is suspended (screen off), the default value is 500 centisecs (5 seconds)
In my kernel builds, during boot, I set other customized values:
- an interval of 30 seconds while the screen is on
- an interval of 10 seconds when the screen is off
1) By directly editing one of the file written above inside /proc/sys/vm and setting the preferred value (note that set value will be lost after a reboot/shutdown)
2) By using Terminal Emulator (note that set value will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run this command to disable the dynamic dirty page writebacks feature
Code:
su
echo 0 > /proc/sys/vm/dynamic_dirty_writeback
- Or run this command to re-enable the dynamic dirty page writebacks feature
Code:
su
echo 1 > /proc/sys/vm/dynamic_dirty_writeback
- Run this command to set customize the two intervals (30 seconds while the screen is on, 10 seconds when the screen is off)
Code:
su
echo "3000" > /proc/sys/vm/dirty_writeback_active_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_suspend_centisecs
Special features and sysfs settings (Part 2):
Timer slack controller and dynamic management of the minimal timer slack value
The timer slack controller is a feature developed by Kirill Shutemov and it allows to set the minimal timer slack value for every process contained within a control group (cgroup).
A timer slack allows the kernel to manage processes wakeup requests at some future time.
Thanks to this feature, the kernel can set a specific timer slack for the involved processes, minimizing the number of wakeups and allowing a lower system's power consumption.
For further info: Timer slack for slacker developers
I also implemented a new feature in addition to the above one that allows the dynamic management of the minimal timer slack value.
So, it's possible to use different minimal timer slack value when the system is active and when has been suspended.
How to customize the dynamic timer slack controller feature:
Three new cgroup parameters are exposed inside each processes hierarchy contained in /dev/cpuctl path:
- timer_slack.min_slack_ns is the timer slack used when the system is active for the current processes hierarchy
- timer_slack.min_slack_suspend_ns is the timer slack used when the system is suspended for the current processes hierarchy
- timer_slack.effective_slack_suspend_ns is the timer slack currently used
At the moment, the values chosen and used by K^Kernel are the following:
- core processes (/dev/cpuctl), 0 ns when the system is active, 50000 ns when the system is suspended
- foreground apps/processes (/dev/cpuctl/apps), 0 ns when the system is active, 250000 ns when the system is suspended
- background non interactive apps/processes (/dev/cpuctl/apps/bg_non_interactive), 100000000 ns when the system is active, 250000000 ns when the system is suspended
1) By directly editing one of the file written above inside /dev/cpuctl and inside each hierarchy subfolder, by setting the preferred value (note that set value will be lost after a reboot/shutdown)
2) By using Terminal Emulator (note that set value will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run these commands to set the minimal timer slack for generic and core apps/processes
Code:
su
echo 0 > /dev/cpuctl/timer_slack.min_slack_ns
echo 50000 > /dev/cpuctl/timer_slack.min_slack_suspend_ns
- Run these commands to set the minimal timer slack for apps/processes in foreground
Code:
su
echo 0 > /dev/cpuctl/apps/timer_slack.min_slack_ns
echo 100000 > /dev/cpuctl/apps/timer_slack.min_slack_suspend_ns
- Run these commands to set the minimal timer slack for apps/processes in background and non interactive
Code:
su
echo 100000000 > /dev/cpuctl/apps/bg_non_interactive/timer_slack.min_slack_ns
echo 250000000 > /dev/cpuctl/apps/bg_non_interactive/timer_slack.min_slack_suspend_ns
LowMemoryKiller management of not killable processes
This feature allows to define processes and system processes white-lists filled with the preferred process names and to not be killed by lowmemorykiller, unless it is absolutely necessary.
This feature exposes four new lowmemorykiller parameters:
- donotkill_proc, is the flag to enable / disable this feature for the processes chosen by the user
- donotkill_sysproc, is the flag to enable / disable this feature for the system processes chosen by the user
- donotkill_proc_names, is the list of process names (comma separated) chosen by the user to be preserved from killing
- donotkill_sysproc_names, is the list of user system process names (comma separated) chosen by the user to be preserved from killing
When the lowmemorykiller needs to free ram, it will first kill the processes not included inside the two process name lists chosen by the user.
If there are no more standard killable processes, then it will be necessary to kill one of the processes included inside one of the two white-lists, to prevent system hangs, slowdowns, etc.
How to customize the white lists of processes to preserve from killing:
On K^Kernel the feature is enabled by default and the provided processes white lists are the following:
- donotkill_proc_names = "com.cyanogenmod.trebuchet,com.anddoes.launcher,com.teslacoilsw.launcher,org.adwfreak.launcher,gtp.nextlauncher,android.inputmethod.latin,com.touchtype.swiftkey"
this means that Trebuchet Launcher, Apex Launcher, Nova Launcher, ADW Launcher, Next Launcher, stock keyboard and SwiftKey keyboard will be preserved from killing
- donotkill_sysproc_names = "android.process.acore,com.android.phone,com.bel.android.dspmanager"
this means that the system process, the phone process and DSP Manager will be preserved from killing
1) By using a customized init.d script (the custom value will be always restored after a reboot, if you don't format the system partition)
- Download the script named 80dnkp
- If the file has been saved with .txt extension (stock browser), rename it by removing the .txt extension
- Edit the file by setting your preferred status and processes list
- Copy the new file inside /etc/init.d
- Give the rwxr-xr-x permissions to the file (read, write, execution for owner, read and execution for group users, read and execution for others)
- Reboot
2) By directly editing the files inside /sys/module/lowmemorykiller/parameters (note that set values will be lost after a reboot/shutdown)
3) By using Terminal Emulator (note that set values will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run these commands if you want to enable the feature
Code:
# To enable this feature for the processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To enable this feature for the system processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc
- Run these commands if you want to disable the feature
Code:
# To disable this feature for the processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To disable this feature for the system processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc
- Run this command if you want to add, for example, Trebuchet Launcher (CM default launcher) and the default keyboard to the processes white list
Code:
echo "com.cyanogenmod.trebuchet,android.inputmethod.latin" > /sys/module/lowmemorykiller/parameters/donotkill_proc_names
- Run this command if you want to add, for example, the system process, the phone process and DSP Manager to the system processes white list
Code:
echo "android.process.acore,com.android.phone,com.bel.android.dspmanager" > /sys/module/lowmemorykiller/parameters/donotkill_sysproc_names
ZRAM module
As explained on Wikipedia, this feature, provided in this kernel as a standalone loadable module, increases performance by avoiding paging on disk and instead uses a compressed block device in RAM in which paging takes place until it is necessary to use the swap space on the hard disk drive.
In few words, the memory pages no more used and so to be swapped are sent to zRam device blocks, compressed and stored in memory instead of disk allowing better performance and also lower memory usage, on the other hand, a little higher amount of cpu is needed to perform compression and decompression of memory pages.
Since we have a device with a low amount of free memory, this feature could be useful to have more free ram.
How to change the size of zRam or to disable it (thanks to @ktulu84 for sharing these scripts):
To change the size of zRam (the custom value will be always restored after a reboot, if you don't format the system partition):
- Download the script named 60zram
- If the file has been saved with .txt extension (stock browser), rename it by removing the .txt extension
- Edit the file by setting your preferred zRam size (change SIZE value, default is 100 MB)
- Copy the new file inside /etc/init.d
- Give the rwxr-xr-x permissions to the file (read, write, execution for owner, read and execution for group users, read and execution for others)
- Reboot
If you want to use default zRam size, simply remove the file placed inside /etc/init.d and reboot.
To disable zRam (the custom value will be always restored after a reboot, if you don't format the system partition):
- Download the script named 60disable_zram
- If the file has been saved with .txt extension (stock browser), rename it by removing the .txt extension
- Copy the new file inside /etc/init.d
- Give the rwxr-xr-x permissions to the file (read, write, execution for owner, read and execution for group users, read and execution for others)
- Reboot
If you want to re-enable zRam, simply remove the file placed inside /etc/init.d and reboot.
FAQ - Frequently asked questions:
Q: What are the differences between EXUV and UV kernel versions?
A: The EXUV kernel versions have extremely undervolted settings for the cpu frequencies, they allows to have a very low battery drain, instead the UV kernel versions have undervolted settings a bit higher than EXUV versions, but always lower than stock kernel settings.
The EXUV kernel versions could give some problems (freezes, shutdowns, huge lags) on some devices because the cpu doesn't support too low voltage settings.
For a lower battery consumption, I suggest you to try EXUV versions first and to switch to UV versions only if you encounter one of the above mentioned problems.
Q: For v1.0 kernel builds, what are the differences between 396MB, 406MB and 416MB versions?
A: 396MB, 406MB and 416MB kernel versions have different free ram available for user space, with a higher free ram your device will work better with heavy apps, many concurrently used apps, heavy games, etc.
- 396MB versions are more stable, everything is fully working, but you could have some slowdowns with apps that require a high amount of free memory.
- 406MB versions have additional 10 MB of free ram, they are suitable for the users that use the device primarly for calls, messages, simple apps and simple games. The camera, video recording (both 480p and 720p modes) and video playback are fully working.
- 416MB versions have additional 20 MB of free ram, they are suitable for the users that use the device also with heavy apps, various concurrently used apps and games. The camera, video recording (both 480p and 720p modes) and video playback are fully working.
Q: How can I get the Performance and Developer Options entries inside Settings menu?
A: Go inside Settings -> About Phone -> Scroll down and tap 7 times on Build number (it's an Easter Egg).
Q: How can I get the log after an unexpected shutdown / reboot?
A: After an unexpected shutdown / reboot of the device, if the problem may be kernel related, you should have the /proc/last_kmsg, if so, send me that log and I'll check it to find the possible cause of the problem.
Q: How can I get the logs when I encounter strange system issues while it's running?
A: Check first if the problems could be related to an app you're using and if you changed something in the last days before facing those issues.
If the problem started after installing the kernel, then let me have you logcat and dmesg:
- Open Terminal Emulator and execute these commands:
Code:
su
dmesg > /sdcard/dmesg.txt
locat -v time -d > /sdcard/logcat.txt
- Open you preferred file manager and go inside the internal sd card partition /sdcard
- Send me the dmesg.txt and logcat.txt files, if you want zip them first
Q: How can I mount a shared Windows folder with CIFS module?
1) By using Terminal Emulator
Code:
mount -o unc=\\\\[COLOR="DarkGreen"][I]ip[/I][/COLOR]\\[COLOR="Blue"][I]share[/I][/COLOR],noserverino,username=[I][COLOR="DarkOrange"]user[/COLOR][/I],password=[I][COLOR="Lime"]password[/COLOR][/I] -t cifs //[COLOR="DarkGreen"]ip[/COLOR]/[COLOR="Blue"]share[/COLOR] [I][COLOR="DarkSlateGray"]/mnt/cifs[/COLOR][/I]
2) Downloading and using CifsManager and configuring the new share as follow:
- Share Path = ip/share
- Mount Point = /mnt/cifs/share
- Username = username
- Password = password
- Options = unc=\\\\ip\\share,noserverino
Where:
ip is the ip address of your pc where the folder is shared
share is the shared folder name
user is the user name that can access the shared folder
password is the user password
/mnt/cifs is the mount point (must be created if you'd like to use the command approach with Terminal Emulator)
Reserved, just in case...
Notorious as always. Thanks, Christopher!
Awesome!!! I'll update my W soon *_*
P.s. Happy new year!!!
Wow! I bet this is your first 2015 kernel post
Sent from my GT-S6500 using XDA Free mobile app
Wow, so fast sir. You are the king of kernel :thumbup:
Chris, you're impeccable. Thanks for support.
i download n instal this kernel, but i got some trouble when i try to find Performance Setting.
i do have Developers Setting, but for Performing Setting i can't figure it where.
sorry for my bad english
Sent from indONEsia
ka12el said:
i download n instal this kernel, but i got some trouble when i try to find Performance Setting.
i do have Developers Setting, but for Performing Setting i can't figure it where.
sorry for my bad english
Sent from indONEsia
Click to expand...
Click to collapse
There is no performance settings at the moment in cm12. As an alternative use performance control
ilusi0n_ said:
There is no performance settings at the moment in cm12. As an alternative use performance control
Click to expand...
Click to collapse
thanks for your respon
but why on Q&A first page say i can get dev setiing and perform setting with press 7 times on build number.
ok i try the apps
thank you so much
Sent from my GT-I8150 using XDA Free mobile app
ka12el said:
thanks for your respon
but buy on Q&A first page say i can get dev setiing and perform setting with press 7 times on build number.
ok i try the apps
thank you so much
Sent from my GT-I8150 using XDA Free mobile app
Click to expand...
Click to collapse
Performance settings does not appear because cyanogenmod didn't implement it when Arco compile the rom for us. In a future build, the rom will have the performance settings.
Today I get kernel wakelock from apps wakelock detector
It is "rpc_read" wakelock about 12 h
Im using your kernel, christopher
Thank you
Is it working with the latest cm12?
riyosakura said:
Is it working with the latest cm12?
Click to expand...
Click to collapse
Yes it is.
riyosakura said:
Is it working with the latest cm12?
Click to expand...
Click to collapse
I think it should not be used, because it is not in sync with the latest changes in CM12
* Waiting for the new version update .
huongthanh8690 said:
I think it should not be used, because it is not in sync with the latest changes in CM12
* Waiting for the new version update .
Click to expand...
Click to collapse
you think so? i already flashed it lol.
so far so good though.
huongthanh8690 said:
I think it should not be used, because it is not in sync with the latest changes in CM12
* Waiting for the new version update .
Click to expand...
Click to collapse
using it with no problems.

Skinny Pro Custom Boot Images

What is Skinny Pro?
This is not for NOOBS - it breaks functionality in Xiaomi apps that try to communicate back to head office. This is an intentional feature and is for people who are not interested in being part of the Xiaomi ecosphere. LEAVE NOW if you have, or intend to log on to Xiaomi and use their services!!!!
Skinny does not magically fix poor choice of ROMs, Apps or lack of knowledge.
It is not a custom Kernel - it is a custom boot.img containing modified initialization scripts for the stock kernel.
There are 2 distinct versions:
Based on 7.1.4.0 - Use for 7.1.xx to 7.3.20 (MIUI7) Support discontinued since V7 (O.P no longer applies to this version)
Based on MIUI8 - use for MIUI7.5.x and MIUI8
Design Brief:
No Placebos
To overcome the limitations of Stock MIUI being:
Poor battery life
Poor performance
Chronic invasion of privacy
Boot.img mods:
Disable starting of non-present devices and services
Disable stock recovery overwriting TWRP
Disable OTA services (no use on a modified ROM)
Disable starting of invasive (spying) services
Disable fingerprint sensor infrastructure (not for our device)
Disable find device infrastructure
Disable second space infrastructure
Build in init.d support
Enable zram swap creation (disable conflicting "mcd" service infrastructure)
Mass Storage Device mode added for external SDCard
Improved TCP Buffer values
Reconfigured internal SDCard suppport to remove uneccessary symlinks
Reduce cpu scheduler, foreground and background tasks deadtime (throttling)
Add some Android 6.0 TCP tweaks
Expose LMK and HPS settings for user configuration
What you will see:
Faster boot
Less background activity at idle
Less RAM usage
Less spying/reporting activity
Better battery life
Better Performance
More reliable and faster data speeds
Install your chosen ROM and get it past the first setup screens before flashing a Skinny Boot image.
If you really must install Xposed, install this after the Skinny boot image.
Do not install "kernel" tweaking apps - they will conflict with the inherent settings in Skinny!
No wipes are necessary after installing the boot.img
What else do I need to do?
First, an explanation as to why we need to set everything the way it is:
The cpu is controlled by 4 separate mechanisms:
1. Thermal throttling - will limit frequencies and shut down cores to stay within safe operating temperatures - will override all other mechanisms. Settings available: High Performance (less strict) or Balanced (default)
2. Performance Server - will temporarily boost freqs and cores depending on detected conditions such as screen touch, screen update or rotate, app open. Limited settings available via /etc/perfservscntbl.txt
3. Hotplugging Service - will add or remove cpu cores as load requires. Some settings are accessible through /proc/hps/
4. Interactive Governor - will throttle freqs up and down based on load and add or remove cores also. Some settings are accessible through /sys/devices/system/cpu/cpufreq/interactive/
You will notice there are competing and often contradicting mechanisms. The factory defaults essentially disable the Interactive governor as being the primary source of initial boosting cpu freqs. The "boost" setting normally found in the governor is non-functional - instead, the Perf Server will boost to 2 cores @ 1183MHz when a potential demand for processing power is detected apart from a simple screen touch. The interactive governor will take over scaling the freq and number of cores after the perf server boost period expires or load demands more cpu power than the boost caters for.
Since the Performance Server tends to over-react, setting 2 cores @ 1183MHz for the smallest of events, we disable it completely by manually editing the existing line in /system/build.prop from:
ro.mtk_perfservice_support=1 to ro.mtk_perfservice_support=0
You must do this yourself - this is vital since all further Governor and Hotplug settings rely upon it being disabled.
Editing /etc/perfservscntbl.txt is not required since this file will no longer be processed.
The settings for the Interactive Governor and Hotplug are modified from factory default to correct a couple of serious problems:
1. The cpu will not reliably throttle back to idle at 403MHz. This has a huge impact on battery.
This is caused by the timer_rate setting being too short allowing transient background activities to trigger scaling the freq up. Increasing the time effectively averages out the transient load spikes so the cpu will not break idle unnecessarily.
2. The cpu does not respond to increasing or decreasing load fast enough creating micro-lags and consuming battery. Reducing the min_sample_time will shorten the time taken for the cpu to lower in freq when load drops off. Reducing the above_hispeed_delay will reduce the response time to increase the cpu freq in response to a load. Both of these settings also compensate for the longer than standard timer_rate that introduces some sluggishness by necessity.
All other values are set to encourage the frequency and number of cores to rapidly and reliably return to idle to save battery while still providing sufficient responsiveness to sudden load demands.
Create an init.d script exactly as follows: (premade file 01_init also available to download)
Code:
#!/system/bin/sh
### CPU freqs standard RN2: 403000, 806000, 1183000, 1326000, 1469000, 1625000, 1781000, 1950000
### CPU freqs PRIME RN2: 403000, 806000, 1183000, 1326000, 1482000, 1664000, 1885000, 2158000
### GPU freqs standard RN2: 253500, 299000, 390000, 442000, 546000
### GPU freqs PRIME RN2: 253500, 338000, 390000, 546000, 676000
# Stop running boot-time services (enable the lines for services you want to stop)
#stop sn # USB serial number allocation
#stop wifi2agps # WiFi assisted GPS (for fine location)
#stop agpsd # Mobile Network assisted GPS (for fine locastion)
#stop emsvr_user # Engineering Mode server
#stop PPLAgent # Privacy Protection Lock
#stop mtkbt # MTK Bluetooth
#stop batterywarning # Battery warning service
#stop debuggerd64 # debug logging
#stop debuggerd # debug logging
#stop logd # logging
#stop autokd # autotune for WiFi
#Set to permissive (enable this line if SE permissive mode is required)
# setenforce 0
# Tweak Interactive Governor (now set in boot.img - enable here to override values)
#echo 403000 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq # factory default 1183000
#echo 99 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load # factory default 99
#echo 99 > /sys/devices/system/cpu/cpufreq/interactive/target_loads # factory default 90
#echo 25000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate # factory default 20000
#echo 10000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time # factory default 20000
#echo 5000 > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay # factory default 20000
#echo 40000 > /sys/devices/system/cpu/cpufreq/interactive/timer_slack # factory default 80000
# Limit CPU max freqs (To limit the maximum cpu freq, enable both of these lines. Select a valid freq for your device from table at start)
#echo 1781000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
#echo 1781000 > /proc/cpufreq/cpufreq_limited_max_freq_by_user
# Limit foreground CPU cores (set in boot.img - enable here to override values) 0-1 min, 0-7 max Example shows 5 cores (also needs to be set in Hotplug)
#echo 0-4 > /dev/cpuset/foreground/cpus
# Hotplug settings (set in boot.img - enable here to override values) Note: num_limit values are 1-8
#echo 5 > /proc/hps/num_limit_low_battery # factory default 8
#echo 5 > /proc/hps/num_limit_power_serv # factory default 8
#echo 5 > /proc/hps/num_limit_thermal # factory default 8
#echo 5 > /proc/hps/num_limit_ultra_power_saving # factory default 8
#echo 99 > /proc/hps/up_threshold # factory default 95
#echo 87 > /proc/hps/down_threshold # factory default 85
#echo 0 > /proc/hps/rush_boost_enabled # factory default 1
#echo 0 > /proc/hps/input_boost_enabled # factory default 1
# Tweak GPU Settings (Look in /proc/gpufreq/gpufreq_power_dump for power usage at different freqs)
# To disable GPU touch boost:
#echo 0 > /proc/gpufreq/gpufreq_input_boost # factory default 1 (enabled)
# To limit max GPU freq: (Select a valid freq for your device from table at start)
#echo 442000 > /proc/gpufreq/gpufreq_opp_max_freq # factory default 0 (disabled)
# Tweak VM (set in boot.img - enable here to override values)
#echo 300 > /proc/sys/vm/dirty_expire_centisecs # factory default 200
#echo 500 > /proc/sys/vm/dirty_writeback_centisecs # factory default 300
# Tweak LMK (set in boot.img - enable here to override values) 18 37 56 75 93 112MB # factory default 72 90 108 126 219 317MB (MB x 256 = value)
#echo 4608,9472,14336,19200,23808,28672 > /sys/module/lowmemorykiller/parameters/minfree
#Enable zram (no zram set by default, enable first 4 lines if 1 zram required, all 7 lines if 2 zram required)
#echo 40 > /proc/sys/vm/swappiness
#echo 268435456 > /sys/block/zram0/disksize # for single zram: 536870912 = 512MB (for non-prime version) 1073741824=1GB (for prime version)
#/system/xbin/busybox mkswap /dev/block/zram0
#/system/xbin/busybox swapon /dev/block/zram0
#echo 268435456 > /sys/block/zram1/disksize # for 2 zrams: 268435456 = 256MB (for non-prime version) 536870912 = 512MB (for prime version)
#/system/xbin/busybox mkswap /dev/block/zram1
#/system/xbin/busybox swapon /dev/block/zram1
# Tweak IO Scheduler (set in boot.img - enable here to override values)
#echo deadline > /sys/block/mmcblk0/queue/scheduler # factory default cfq (choice: noop deadline cfq)
#echo 128 > /sys/block/mmcblk0/queue/read_ahead_kb # factory default 128 Choose between 128, 256, 512, 1024, 2048
#echo 0 > /sys/block/mmcblk0/queue/add_random # factory default 1
#echo 0 > /sys/block/mmcblk0/queue/iostats # factory default 1
#echo deadline > /sys/block/mmcblk1/queue/scheduler # for ext sdcard (sdcard1)
#echo 2048 > /sys/block/mmcblk1/queue/read_ahead_kb # for ext sdcard (sdcard1)
#echo 0 > /sys/block/mmcblk1/queue/add_random # for ext sdcard (sdcard1)
#echo 0 > /sys/block/mmcblk1/queue/iostats # for ext sdcard (sdcard1)
#Tweak Entropy (set in boot.img - enable here to override values)
#echo 384 > /proc/sys/kernel/random/read_wakeup_threshold # factory default 64
#echo 448 > /proc/sys/kernel/random/write_wakeup_threshold # factory default 128
#Tweak for wifi router connection issues
#echo 1 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6
# Disable debugging on some modules (set in boot.img - enable here to override values)
#echo 0 > /sys/module/alarm_dev/parameters/debug_mask;
#echo 0 > /sys/module/alarmtimer/parameters/debug_mask;
#echo 0 > /sys/module/binder/parameters/debug_mask;
#echo 0 > /sys/module/earlysuspend/parameters/debug_mask;
#echo 0 > /sys/module/sbsuspend/parameters/sbsuspend_debug_mask;
#echo 0 > /sys/module/snd/parameters/debug;
#echo 0 > /sys/module/pvrsrvkm/parameters/gPVRDebugLevel;
#echo 0 > /sys/module/musb_hdrc/parameters/debug_level;
#echo 0 > /sys/module/lowmemorykiller/parameters/debug_level;
#FSTRIM
busybox fstrim /data
busybox fstrim /system
busybox fstrim /cache
Update BusyBox to version 1.25.1-1 (available to download)
Reduce the number of apps and services needlessly starting automatically at boot. Uninstall or freeze bloat apps. Replace "noisy" apps with better written ones.
Use BetterBatteryStats, WakelockDetector Root or similar to understand what invisible activities are consuming battery.
Use SDMaid, DisableServices, MyAndroidTools or similar to disable autostarts (receivers)and app related services. Use with caution.
To see what boot services are running, type getprop in Terminal. You will see a bunch of entries like [init.svc.66xx_launcher]: [running]
These service must remain running do not stop!:
Code:
[init.svc.66xx_launcher]: [running]
[init.svc.MtkCodecService]: [running]
[init.svc.NvRAMAgent]: [running]
[init.svc.aal]: [running]
[init.svc.ccci_fsd]: [running]
[init.svc.ccci_mdinit]: [running]
[init.svc.drm]: [running]
[init.svc.fuelgauged]: [running]
[init.svc.gsm0710muxd]: [running]
[init.svc.guiext-server]: [running]
[init.svc.healthd]: [running]
[init.svc.installd]: [running]
[init.svc.keystore]: [running]
[init.svc.lmkd]: [running]
[init.svc.media]: [running]
[init.svc.mnld]: [running]
[init.svc.netd]: [running]
[init.svc.ril-daemon-mtk]: [running]
[init.svc.sdcard]: [running]
[init.svc.servicemanager]: [running]
[init.svc.shelld]: [running]
[init.svc.surfaceflinger]: [running]
[init.svc.thermal]: [running]
[init.svc.thermald]: [running]
[init.svc.ueventd]: [running]
[init.svc.vold]: [running]
[init.svc.zygote]: [running]
[init.svc.zygote_secondary]: [running]
[init.svc.bmi160d]: [running]
If you only have 1 SIM, it is highly recommended to go into single SIM mode to turn off the second modem service. Edit build.prop existing line from:
persist.radio.multisim.config=dsds to persist.radio.multisim.config=ss
Turn off Developer Options/Memory Optimization and MIUI Optimization. This is a legacy of the mcd service zram configuration that is disabled.
Removal of Apps that are created by symlinks: (Updated information for any ROM version can be found in ROM \META-INF\com\google\android\updater-script)
Uninstall the app where possible and then delete the leftover libs if they exist.
Code:
[B]MAB[/B]
/system/lib/libDToken.so
/system/lib/libNative.so
/system/lib/libShopSigned.so
/system/lib/libentryexpro.so
/system/lib/libsecuritysdk-3.1.27.so
[B]Jeejen[/B]
/system/lib/libJeejenAisound.so
/system/lib/libbspatch.so
/system/lib/libfamily_jni.so
/system/lib/libgetuiext.so
/system/lib/libjeejenmsc.so
[B]MIUI Video[/B]
/system/lib/libDecRes_sdk.so
/system/lib/libminivenus.so
/system/lib/libmresearch.so
/system/lib/libsecurities_sdk.so
[B]Cleanmaster[/B]
/system/lib/libTmsdk-2.0.9-mfr.so
/system/lib64/libTmsdk-2.0.9-mfr.so
/system/lib/libdce-1.1.14-mfr.so
/system/lib64/libdce-1.1.14-mfr.so
/system/lib/libkcmutil.so
/system/lib/libkcmutilex.so
/system/lib/libsic_helper.so
[B]SecondSpace[/B]
/system/lib/libspaces_jni.so
[B]Sogou Input[/B]
/system/lib/libwebp.so
/system/lib/libweibosdkcore_sogou.so
[B]AMAP Network Location[/B]
/system/lib64/libapssdk.so
[B]YellowPage[/B]
/system/lib64/libdidi_secure.so
[B]XMPass[/B]
/system/lib64/libxmpass_sdk_patcher.so
/system/lib64/xmpass_libweibosdkcore.so
[B]PicoTTS[/B]
/system/lib64/libttscompat.so
/system/lib64/libttspico.so
[B]Miui Gallery[/B]
/system/lib64/libwrapnexpcmcalbody.so
/system/lib64/libnexralbody_audio.so
/system/lib64/libnexcralbody_mc_jb.so
/system/lib64/libnexeditorsdk.so
/system/lib64/libPinguoImageSDK.so
/system/lib64/libMiuiGalleryNSGIF.so
/system/lib/libMiuiGalleryNSGIF.so
/system/lib64/libDexHelper.so
[B]MIUI Scanner[/B]
/system/lib64/libQuadrangleRecognizer.so
/system/lib64/libhw_instanttrans.so
/system/lib64/libhwocr_cntools_shared.so
/system/lib64/libsgmain.so
/system/lib64/libsgmainso-5.1.2011.so
/system/lib64/libtbdecode.so
Remove inbuilt virus scanner(s)
Remove GuardProvider.apk and SecurityAdd.apk plus:
Code:
/system/lib64/libams-1.1.7-m-mfr.so
/system/lib64/libams-1.1.7-mfr.so
/system/lib64/libavast-utils.so
/system/lib64/libavast-vps-interface.so
/system/lib64/libavlasys.so
/system/lib64/libavlm.so
/system/lib64/libavlurl.so
Extra libs that can be removed: (if associated apps are removed)
Code:
[B]Lib:[/B]
libfdpp.so Find Device
libfdpp_jni.so Find Device
libffmpeg-miplayer.so Music / MIUIVideo
libhotknot.so
libhotknot_vendor.so
libnfc_ndef.so
libpatcher_game_jni.so
libpatcher_jni.so
libvoicerecognition.so Voice Extensions
libvoicerecognition_jni.so Voice Extensions
libwhetstone_jni.so
libwhetstone_sdk.so
libxiaomimediaplayer.so Music / MIUIVideo
libxiaomiplayerwrapper.so Music / MIUIVideo
[B]Lib64:[/B]
libBaiduMapSDK_base_v4_0_0.so
libBaiduMapSDK_search_v4_0_0.so
libBaiduMapSDK_util_v4_0_0.so
libBankCardRecognizer.so
libduokantext.so
libfdpp.so Find Device
libfdpp_jni.so Find Device
libhotknot.so
libhotknot_vendor.so
libidcardquality_v1.0.3.so
libjni_latinimegoogle.so Google Keyboard
libjni_pacprocessor.so
libjni_unbundled_latinimegoogle.so Stock Keyboard
libnfc_ndef.so
libpatcher_game_jni.so
libpatcher_jni.so
libprintspooler_jni.so Print Spooler
libtbtv3312.so
libTrafficRadar.so
libttscompat.so Pico TTS
libttspico.so Pico TTS
libunipaychsec.so
libweibosdkcore.so
libwhetstone_jni.so
libwhetstone_sdk.so
[B]/vendor/lib64:[/B]
libcom_fingerprints_productiontestmanager.so
libcom_fingerprints_sensor.so
Skinny Pro All versions:
https://drive.google.com/folderview?id=0BwdRTuyj12_yRk9Kcm1pZkxuZzg&usp=sharing
Enjoy
@jajk Awesome work! Do you intend to work on the aosp boot.img much or are you more invested in the miui one (or is it mostly the same project with not many differences between the two types)?
@Sleepy_Augie There is little difference between the 2 flavors so it is easy to keep them in sync
All,
I cannot possibly know what customization other devs are adding to their boot.imgs and whether or not that will make their ROMs incompatible with my boot.imgs. I will try to keep the AOSP version up with current developments while still keeping it "Generic".
Could you include Selinux: Permissive? Zram is better than swap built-in miui ?
@efr07 The beauty of not embedding tweaks - you can choose to be permissive or enforcing in your init.d script rather than me dictating it to all.
setenforce=0 or 1
and to answer the second part....
MIUI uses what could be called a "dynamic swap" system utilizing 4 zram swaps of variable size. The system prioritizes what gets access to that extra memory and what doesn't. No surprises - Xiaomi apps get priority over your own apps. The complexity of this system is so great, it would negate any performance advantage completely but it does make the Xiaomi apps more tenacious than other apps.
@jajk
First things first thank you so much for the effort you have done improving Redmi Note 2,
But I have some question if you please,
I have Miui 7.2.2.0 Lite on my Redmi Note 2 Prime (2.2 ghz) (Rom Link http://en.miui.com/thread-244684-1-1.html)
I have flashed the file as img to boot, and I have done as you said until the int.d thing, I went to #/system/bin/ and I found sh file and opened it in text editor, deleted everything in it and paste what you mentioned, till now we are ok with the device.
I did not find the files that you said I should delete from /vendor/lib, so I went to /vendor/lib64 and deleted the first file, After I deleted it suddenly Root Explorer shut off and whenever I open it again I cant find anything, just blank screen with its symbol and name above and nothing else. Tried to delete Root Explorer and install again and nothing new. Please help, Have I done everything okay? and what should I do to fix this thing and continue deleting the remaining files?
Thank you.
@jajk delete folder /system/etc/radv <- do you mean radvd?
@aghr11 I think that you did not understand the method to create the init.d script and modified an important file instead. You will have to replace that script file you blanked with the original or restore from a good backup and try again. The list of files for deletion is only if they exist in the location as described. If you have enabled any fingerprint settings for some obscure reason, you will probably get locked out of your phone.
Now to creating the script.
Using a text editor, create a file named 01tweaks in /system/etc/init.d folder.
Paste the text (including the first line #!/system/bin/sh) into this file. Leave a blank line at the bottom of the file and make sure your editor is set to Unix end-of-line characters (not Windows)
Save the file and give it 0755 permissions (rwxr-xr-x)
@tonydeli7 Yes, typo I will fix..... done It is a folder to receive advertising pushed to your phone courtesy of Xiaomi!!!!
jajk said:
@tonydeli7 Yes, typo I will fix..... done It is a folder to receive advertising pushed to your phone courtesy of Xiaomi!!!!
Click to expand...
Click to collapse
Yeap, just saw the conf file... WTF are they doing?!
By the way, thanks a lot for this kernel! Nice work!:good::good:
UPDATE:
I edited the latest Multirom Stable (7.2.1.0) and added your kernel&tweaks,deleted the files and everything works great!
I only changed the touchboost value to 806000
jajk, many thanks for this brilliant work!
IIRC, your personal preference for a base ROM with the best behavior and performance with these tweaks was v7.1.4.0 (or was it 7.1.3.0). Is this so or has anything changed? My RN2p is long overdue for an update, still on dev 5.10.29!
If a have a weekly miui based on Miui V 7.3 beta, will it work?
@tonydeli7 Did you give it some time on touchboost 403? I find it does not contribute to lags perceptibly.
@algida79 The most bug free ROM I have come across is MR7.2.30 ID (ported from reno3). I think I had a link to that in the Skinny thread.
Don't load the preloader, uboot or logo from this ROM - edit the updater-script to remove flashing of these. You will need to do an intermediate flash of 7.1.3 or 7.1.4 using SP Flash tool to get all the partitions the way they need to be if coming from an ancient ROM.
@Dnxss Yes it will still work.
@jajk Half an hour I think. I had no lag,just my preference
The phone usage is mostly surfing,facebook,twitter,music playback etc etc with no gaming.
GPS SYNC 3G all on..
Installed app count is around 120..
Includes six reboots while testing ZRAM(disabled it), and if it's good to deactivate Whetstone app.
I also used the app Autostarts to disable useless receivers for many apps like FB etc,and disabled Mail,Voice Unlock,PicoTTS.
I am satisfied..[emoji14]
Sent from my Redmi Note 2 using Tapatalk
@tonydeli7 Whetstone app is a source of a lot of spyware but is not a straight forward removal but you will find that out...
can then also delete:
/etc/WhetstonePermission folder
/system/lib
libwhetstone_jni.so
libwhetstone_sdk.so
/system/lib64
libwhetstone_jni.so
libwhetstone_sdk.so
Yeap, I searched a bit. I am using the Multirom Stable and after flashing the kernel,Whetstone crashes sometimes.
Didn't notice anything weird after freezing it..
This rom doesn't have the line
persist.sys.whetstone.level=2
in the build.prop for some reason.
Sent from my Redmi Note 2 using Tapatalk
@tonydeli7 Whetstone is linked to the mcd service to make things harder to unravel as in all Xiaomi apps. The boot.img disables mcd which is why you will see Whetsone having a fit sometimes. Completely removing Whetstone is a very good thing to do - it may give you an FC on Battery app, delete that too - it chews battery and does not affect normal operation!!!
Anyone wanting to increase their privacy, rename /system/xbin/tunman to tunmanbak. This is the Xunlei data saver/spyware tunneling manager. It is disabled from starting in the boot.img but will still run if called upon like all of the disabled services - they still exist, but not started by default. Make sure it is disabled in the Download Manager Settings
There is another service /sbin/mdbd that appears to be a method of tunneling over usb connections to gain access to a network and on to P.R.C. It is disabled in the boot.img already but I will rename this one in a next revision to be doubly sure it will not start.
Discovered an issue of some apps not recognizing internal sdcard so new versions posted to fix this plus rename /sbin/mdbd to mdbdbak to prevent it from being started after boot. See previous post for the reason.
Back up your internal sdcard contents if you flashed the original images - you will loose everything on sdcard0.
No action needs to be taken if this is a first-time flash.
@jajk How come this version doesn't just dump sd to folder 0? What was merged between miui and pro boot images?
@Sleepy_Augie It is a very complex issue how Android provides a virtual filesystem for SDCards. I thought I could implement it in a simpler fashion as per Android 5.1 which worked well except apps like the stock Contacts are stuck in the dark ages and are hard-coded to still look for the emulated/0 folder for the internal sdcard - not storage/sdcard0.
So going from stock to my original mod leaves an orphaned folder which becomes named 0 because it belonged to user 0. Going back the other way the folder representing access to sdcard0 simply disappears.
The real location of files that appear on the internal emulated sdcard is always /data/media. All other folders that appear to be the same thing are only symlinks to this. Make sense:silly:
Hey @jajk ,
Thanks for the reply, but I have done exactly everything you said and followed all of your steps, but after one day using it, I do not notice any change on battery life, it is still so bad, I have tried everyrom (and every way that was suggested from other users on XDA and MIUI forums including every battery calibration thing) I came across since I bought my RN2p and the maximum battery life I got is nearly 4:30 hours on screen!! After I flashed the boot.img I noticed a slightly more speed booting up the device, the performance is the same (which is good because am all satisfied about the performance except for the battery life).
I have flashed smiui today and it's slightly better consuming energy than the previous ones...
Maybe I have done something wrong doing the 01tweaks thing, if you can upload me yours so I can try paste it in /system/etc/int.d folder, if that will work, then I will be so thankful to you. And if you have any suggestions that I could do to improve and enhance the crazy energy draining then I will be more thankful.

[TWEAKS][Guide] 'build.prop' Tweaks

Most of these are BS, use if you want placebo. I don't support these anymore.
If you don't want to flash zips that makes your phone faster, or you just want to do it yourself, you should try this.
Intro:
As you know Android is open source and the development of Android is increased in today’s life. Android operating system is having some of the information which is really important . Now, whenever a user wants to do editing in the Android system, they do changes in build prop. Build prop tweaks are something which helps you to do changes in the system and customize your android.
If you are having any rooted Android device, this tweak will work absolutely fine. Every user can do editing. But while editing you have to make sure that you do it properly or else it will lead to a bricked Android device. You can easily increase the bootup time of your Android. Increase sound and much more.
Here are the working build.prop tweaks for our device:
Code:
#Better RAM management
ro.HOME_APP_ADJ=1
#Improved audio and video recording quality (works perfect on XL but still works good on X)
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.capture.maxres=8m
ro.media.panorama.defres=3264×1840
ro.media.panorama.frameres=1280×720
ro.camcorder.videoModes=true
ro.media.enc.hprof.vid.fps=65
#Faster Streaming videos
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-rtsp=true
media.stagefright.enable-record=false
#GPU rendering (works better if you have NULL Kernel
debug.sf.hw=1
debug.performance.tuning=1
video.accelerate.hw=1
debug.egl.profiler=1 # Measure rendering time in adb shell dumpsys gfxinfo
debug.egl.hw=1
debug.composition.type=gpu # Disable hardware overlays and use GPU for screen compositing
#Disables built in error reporting
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
#Better net speed
net.tcp.buffersize.default=4096,87380,256960, 4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,409 6,163 84,256960
net.tcp.buffersize.umts=4096,8 7380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,8 7380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,8 7380,256960,4096,163 84,256960
#Saves batery
ro.ril.power_collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=180
#3G tweaks
ro.ril.hep=0
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=6
#Better scrolling
windowsmgr.max_events_per_sec=90 #Depends on your preference
ro.min_pointer_dur=8 ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
#Better signal
persist.cust.tel.eons=1
#Faster boot
ro.config.hw_quickpoweron=true
#Disables error checking
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
#Battery life
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
#Performance
debug.performance.tuning=1
Code:
#Optional
#Disables the bootanimation
debug.sf.nobootanimation=1
That's it and thanks to ALL THE DEVS ON XDA FOR THIS
:fingers-crossed:
HOW TO TWEAK YOUR 'build.prop' :
1) Download and install root explorer on your Android device from above given requirements
2) Open the application and grant the root permissions
3) Now, simply open go to '/system/' and then you will be able to see a build.prop file
4) Now, click on the option called as Mount R/O.
5) Long press on 'build.prop' and you will get a pop-up
6) Just hit open with text editor and then you are good to go
7) Copy the code given above of your choice and simply paste on your build.prop
8) Click on the save changes and then reboot your Android device.
9) To double check, you must set the permissions of build.prop to rw-r-r, so that you will not encounter some kind of error.
thanks, i was looking for this for a long time
flashed the veez tweaks zip. does I need to add these build prop tweaks or already included in the zip
pyumredkar said:
flashed the veez tweaks zip. does I need to add these build prop tweaks or already included in the zip
Click to expand...
Click to collapse
its quite optional, it's up to you:good:
Works on nougat??
vjendra said:
Works on nougat??
Click to expand...
Click to collapse
not all, but some of them

Half GSI 8.0/8.1/9.0

HALF GSI XA1
What's new :
-Night mode
-CPU governors
-Added support of treble for next updates (now stock GSI image brick XA1)
-IMS patch (VoLTE , ViLTE) - (disabled,turned off functions in menu from VoLTE/ViLTE turn on/off)
-Soon support for 5G networks
-Support for project Treble
-Temporarily saved stock build prop from sony with mods , for compatibility of sony apps
-LCD density is temporarily changed to 380
-Pre rooted system and kernel (magisk)
-Sdcardfs - Some devices have sdcardfs kernel panicking on 8.0 . Disable for everyone for the moment ro.sys.sdcardfs=0
-Features and fixed kernel bugs , earlier patches from earlier kernel version
-Fast Charge
-Other patches
Alpha Android 8.1 :
Kernel V2 (only 8.1) (Kernel can not working correct on 8.0 !!) :
-Faster boot
-Kernel is permissive
-VoLTE switch (You can enable) (IMS)
-ViLTE (IMS)
-VoWIFI (IMS)
-VideoCall (IMS)
-Interface UT (IMS)
-Longer battery live (few hours more)
-More free RAM
KERNEL V3 - Patched kernel and system (only 8.1) :
-Multi Window
-Performance Tweaks
-Better Ram Management
-More Battery Efficiency
-Streaming Tweaks
-Net Sped Tweaks
-DNS Tweaks
-System Tweaks
-GCAM Implementation
-Responsiveness Tweaks
Android 8.1 R2 :
-CPU tweaks
-Fonts Tweaks (fonts from pie)
-Patch for VoWIFI
-Support for 802.11r
Added Init.d Tweak
-Zipalign
-Ram_Optimize
-Sqlite_Optimize
-System_Tweaks
-Ext4_Lag_Fix
-Net_Speed_Tweak
-Remount_Full_Ext4
System 8.1 have disabled features added by google and other features for performance .
System is same as 8.0 with saved and patched build.prop .
EXTRA LINE ADDED LINES :
Code:
ro.HOME_APP_ADJ=1
persist.sys.use_dithering=1
persist.sys.purgeable_assets=1
persist.service.pcsync.enable=0
persist.service.lgospd.enable=0
persist.sys.shutdown.mode=hibernate
persist.sys.scrollingcache=3
persist.android.strictmode=0
# Audio and Video Quality Tweaks
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.capture.maxres=8m
ro.media.panorama.defres=3264×1840
ro.media.panorama.frameres=1280×720
ro.camcorder.videoModes=true
ro.media.enc.hprof.vid.fps=65
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.dec.aud.mp3.enabled=1
ro.media.dec.vid.mp4.enabled=1
ro.media.enc.aud.wma.enabled=1
ro.media.enc.vid.wmv.enabled=1
ro.media.enc.aud.mp3.enabled=1
ro.media.enc.vid.mp4.enabled=1
ro.media.dec.aud.flac.enabled=1
ro.media.dec.vid.H.264.enabled=1
ro.media.enc.aud.flac.enabled=1
ro.media.enc.vid.H.264.enabled=1
# Battery Efficiency Tweaks
ro.ril.disable.power.collapse=0
ro.ril.power_collapse=1
power_supply.wakeup=enable
profiler.force_disable_ulog=true
profiler.force_disable_err_rpt=true
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
# Performance Tweaks
debug.performance.tuning=1
debug.kill_allocating_task=0
force_hw_ui=true
ro.debuggable=1
# Steaming Tweaks
media.stagefright.enable-http=true
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-scan=true
media.stagefright.enable-record=true
# Net Speed Tweak
net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.lte=524288,1048576,2097152,524288,1048576,2097152
net.tcp.buffersize.hsdpa=6144,87380,1048576,6144,87380,1048576
net.tcp.buffersize.hspa=6144,87380,524288,6144,16384,262144
net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.evdo_b=6144,87380,1048576,6144,87380,1048576
net.ipv4.tcp_ecn=0
net.ipv4.route.flush=1
net.ipv4.tcp_rfc1337=1
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.tcp_sack=1
net.ipv4.tcp_fack=1
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_rmem=4096 39000 187000
net.ipv4.tcp_wmem=4096 39000 187000
net.ipv4.tcp_mem=187000 187000 187000
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_moderate_rcvbuf=1
net.ipv6.tcp_ecn=0
net.ipv6.route.flush=1
net.ipv6.tcp_rfc1337=1
net.ipv6.ip_no_pmtu_disc=0
net.ipv6.tcp_sack=1
net.ipv6.tcp_fack=1
net.ipv6.tcp_window_scaling=1
net.ipv6.tcp_timestamps=1
net.ipv6.tcp_rmem=4096 39000 187000
net.ipv6.tcp_wmem=4096 39000 187000
net.ipv6.tcp_mem=187000 187000 187000
net.ipv6.tcp_no_metrics_save=1
net.ipv6.tcp_moderate_rcvbuf=1
net.tethering.noprovisioning=true
# IPV4 and IPV6 Support
persist.telephony.support.ipv6=1
persist.telephony.support.ipv4=1
# 3G/4G Tweaks
ro.ril.hsxpa=2
ro.ril.hspa=2
ro.ril.lte=2
ro.ril.lte=2
ro.ril.ltea=2
ro.ril.hep=1
ro.ril.enable.3g.prefix=1
ro.ril.enable.4g.prefix=1
ro.ril.enable.dtm=1
ro.ril.hspaclass=15
ro.ril.lteclass=15
ro.ril.gprsclass=15
ro.ril.hsupa.category=10
ro.ril.hsdpa.category=30
ro.ril.lte.category=10
ro.ril.ltea.category=30
ro.ril.enable.a51=1
ro.ril.enable.a52=1
ro.ril.enable.a53=1
ro.ril.enable.a54=1
ro.ril.enable.a55=1
persist.cust.tel.eons=1
# DNS Tweaks
net.dns1=8.8.8.8
net.dns2=8.8.4.4
net.wcdma.dns1=8.8.8.8
net.wcdma.dns2=8.8.4.4
net.hspa.dns1=8.8.8.8
net.hspa.dns2=8.8.4.4
net.lte.dns1=8.8.8.8
net.lte.dns2=8.8.4.4
net.ltea.dns1=8.8.8.8
net.ltea.dns2=8.8.4.4
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.gprs.dns1=8.8.8.8
net.gprs.dns2=8.8.4.4
net.ppp0.dns1=8.8.8.8
net.ppp0.dns2=8.8.4.4
net.wlan0.dns1=8.8.8.8
net.wlan0.dns2=8.8.4.4
net.eth0.dns1=8.8.8.8
net.eth0.dns2=8.8.4.4
# Gaming Tweaks
persist.sys.NV_FPSLIMIT=90
persist.sys.NV_POWERMODE=1
persist.sys.NV_PROFVER=15
persist.sys.NV_STEREOCTRL=0
persist.sys.NV_STEREOSEPCHG=0
persist.sys.NV_STEREOSEP=30
# Dalvik Virtual Machine Tweaks
dalvik.vm.checkjni=false
dalvik.vm.dexopt-data-only=1
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=64m
dalvik.vm.verify-bytecode=false
dalvik.vm.execution-mode=int:jit
dalvik.vm.lockprof.threshold=250
dalvik.vm.dexopt-flags=m=v,o=y
dalvik.vm.stack-trace-file=/data/anr/traces.txt
dalvik.vm.jmiopts=forcecopy
dalvik.vm.dex2oat-filter=interpret-only
dalvik.vm.image-dex2oat-filter=speed
# Responsiveness & Speed Tweaks
ro.telephony.call_ring.delay=0
ro.ril.enable.amr.wideband=1
ro.lge.proximity.delay=25
mot.proximity.delay=25
pm.sleep_mode=1
ro.config.nocheckin=1
ro.config.vc_call_default=10
# Disable Logers
ro.config.htc.nocheckin=1
ro.config.nocheckin=1
debugtool.anrhistory=0
profiler.debugmonitor=false
profiler.launch=false
profiler.hung.dumpdobugreport=false
# Disable Kernel Error Checking
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
# System Tweaks
ro.config.hw_quickpoweron=true
ro.config.hw_fast_dormancy=1
ro.securestorage.knox=false
ro.telephony.sms_segment_size=160
ro.mot.eri.losalert.delay=1000
video.accelerate.hw=1
ro.config.disable.hw_accel=false
video.accelerate.hw=1
# Camera Tweaks Supports Google Camera
persist.camera.HAL3.enabled=1
camera.HAL3.enabled=1
persist.camera.eis.enable=1
camera.eis.enable=1
persist.camera.is_mode=4
camera.is_mode=4
persist.camera.disable_zsl_mode=1
camera.disable_zsl_mode=1
persist.camera.gyro.android=4
camera.gyro.android=4
persist.camera.tof.direct=1
camera.tof.direct=1
persist.camera.tnr.preview=1
camera.tnr.preview=1
persist.camera.tnr.video=1
camera.tnr.video=1
ro.camera.notify_nfc=1
camera.notify_nfc=1
persist.sys.debug.multi_window=true
persist.sys.overlay.nightmode=true
persist.dbg.ims_volte_enable=1
persist.dbg.volte_avail_ovr=1
persist.dbg.vt_avail_ovr=1
persist.dbg.wfc_avail_ovr=1
persist.radio.rat_on=combine
persist.radio.data_ltd_sys_ind=1
persist.radio.data_con_rprt=1
persist.radio.calls.on.ims=1
go.build.system_root_image=true
ro.config.low_ram=true
debug.sf.nobootanimation=1
persist.sys.shutdown.mode=hibernate
dalvik.vm.heapsize=72m
persist.adb.notify=0
persist.sys.debug.multi_window=true
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
ro.telephony.call_ring.delay=0
ring.delay=0
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
wifi.supplicant_scan_interval=180
persist.sys.purgeable_assets=1
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=false
media.stagefright.enable-http=true
debug.performance.tuning=1
Some IMS options/services can don't work on your device if you are from more restricted countries , that's not a BUG .
If you are from restricted countries don't say about BUG . Check first your phone provider .
Few features can don't work in this alpha V2 rom . This is cross of new and old version of oreo 8.1 . Soon next version please wait .
This alpha is stable and ready to use . Please turn off animation (look on screenshot) , for fix all bug's in this rom , eariler rom and next releases .
First alpha of 8.1 soon . You can check in the comment screenshots from my own stability tests .
Who want to help me soon with fix any bug's in new android versions i welcome to write to me pm
First release give you oreo , after oreo i make pie for you with your help (bug fixing) . To start make a pie image for XA1 .
DOWNLOAD
MEGA 8.0
MEGA 8.1 Alpha
Drive 8.1 Alpha
MEGA 8.1 R2
LAST R4 RELEASE IS NOW AVAILABLE HERE !!
AFTER DOWNLOAD MY SYSTEM , PLEASE RESTORE ALL !!!! BOOT,RECOVERY.SYSTEM - MAKE COMPLETE RESTORE OR YOU BRICK YOUR PHONE HARD !!!! . FILE FOR RESTORE PATH : YOUR_XPERIA\SD CARD\TWRP\BACKUPS\YOUR_DEVICE_ID\MY RESTORED SYSTEM FOLDER
If you like or download my system , please press Thanks
If you want to buy me a coffee for my work you can use PayPal Thanks
https://paypal.me/marek10747
MY OWN REPO (can be unstable !!!!) :
VENDOR
Important Info for other developers :
If you want to use files from my repo I say YES , but you must : 1.say about me in you thread 2.allow me to make and publish mod this files for better my android versions 3.send me a private message . If you don't do 1,2,3 i make submit your file to XDA . Thanks for use points 1,2,3
My Facebook group :
Facebook support group , for all devices !!​
More after first alpha . First version is preview only .
This ROM don't have BUGS (possibly) . If you find BUG write comment .
reserved
for the moment it works fine! )
Very interesting.
Please post detailed step by step, I could not understand the steps of the OP.
boyrock said:
Very interesting.
Please post detailed step by step, I could not understand the steps of the OP.
Click to expand...
Click to collapse
I can't write a post step by step , because I'm from Poland and my English is not perfect and now i can't do that more better/perfect . You can help me say that better .
VoLTE switch
MAREK10747 said:
I can't write a post step by step , because I'm from Poland and my English is not perfect and now i can't do that more better/perfect . You can help me say that better .
Click to expand...
Click to collapse
You can send in your language and i can translate for you.
boyrock said:
You can send in your language and i can translate for you.
Click to expand...
Click to collapse
Ok . I do that tommorow .
No animation
8.1 Oreo alpha is coming soon !!
Battery special patch tested and working correctly . Reworked stamina mode for user's you need only make few optimizations and turn on stamina . Next time charge battery to 100% . That's all your device is ready.
who's interested project ????
Base of link's .
https://drive.google.com/file/d/18v43Z6C9EkI71huAQiYKHvyMMGEyO26s/view?usp=sharing
https://drive.google.com/file/d/1AIpGHJlglAuqRwzXMryUL3emQK2b-gvO/view?usp=sharing
https://drive.google.com/file/d/1Skqi2pp8MNnH_3t5mwHX0fxJCKmGh1bt/view?usp=sharing
https://drive.google.com/file/d/1l22chgE7JcyukVXv-nty5ApOZMjje7jr/view?usp=sharing
https://drive.google.com/file/d/1lri7Tum2Bnz2BdTcbjIybgDUjHgreX8K/view?usp=sharing
https://drive.google.com/file/d/1tNqo-33RkmJFoMz77Sf7etr17eiVtBw5/view?usp=sharing
https://drive.google.com/file/d/1xX_EyORvh53rr4OzPJFkHs735rOBiLmd/view?usp=sharing
I apologize for the inconvenience but you could add more detailed steps on how to install your ROM I'm asking you please, friend, thanks in advance
Diego057 said:
I apologize for the inconvenience but you could add more detailed steps on how to install your ROM I'm asking you please, friend, thanks in advance
Click to expand...
Click to collapse
I can help you, i tried these steps and everything works fine.
Just add a important information, before you start:
My device is G3116, and this ROM is based in G3112. Not problem here when you use this ROM but, if you want to go back to Stock ROM (flash via Flashtool), the device is no longer recognized as G3116, just G3112. I can't find a solution to this, just modify the ftf file in Flashtool to go back to stock. Please consider this, but this ROM is working fine, no problems so far. You can keep it for long time.
1. Flash TWRP (boot.img and recovery.img) from here: https://forum.xda-developers.com/xa1/development/kernel-xperia-xa1-v4-cross-t3897585
2. Download and Unzip rom from OP and save in your SDCard, in the folder named TWRP.
3. Boot in TWRP and make a backup (if you want, but i'm not sure if will work because, in my case, for now data is encrypted and i'm not able to access data or backup data)
4. Go to Restore and select the folder that you saved in SDCard (select storage, SDCard)
5. Confirm Restore, let it finish and reboot device. It will take some minutes in SONY logo (no bootanimation in this ROM)
6. When finish boot, the setup wizard will appears.
7. Configure everything you want and enjoy.
THANKYOU!!
Thank you for helping me Sir Marek ! your so kind :angel:
MAREK10747 said:
8.1 Oreo alpha is coming soon !!
Click to expand...
Click to collapse
Cheers :highfive:
No wifi
Installed on G3121 (8.1 R2), currently in setup and I can't connect to Wifi because it doesnt find any networks
Not really sure what to do now, any help appreciated
edit: 8.1 alpha doesnt work either
edit 2: would it be possible to flash stock ftf, go through setup, then restore this without wiping data? or does that make no sense and wouldnt work at all?
synx91 said:
Installed on G3121 (8.1 R2), currently in setup and I can't connect to Wifi because it doesnt find any networks
Not really sure what to do now, any help appreciated
edit: 8.1 alpha doesnt work either
edit 2: would it be possible to flash stock ftf, go through setup, then restore this without wiping data? or does that make no sense and wouldnt work at all?
Click to expand...
Click to collapse
I've solved this problem just flashing the kernel provided by the dev from this OP.
synx91 said:
Installed on G3121 (8.1 R2), currently in setup and I can't connect to Wifi because it doesnt find any networks
Not really sure what to do now, any help appreciated
edit: 8.1 alpha doesnt work either
edit 2: would it be possible to flash stock ftf, go through setup, then restore this without wiping data? or does that make no sense and wouldnt work at all?
Click to expand...
Click to collapse
Restore all , not only one file . You can hardbrick device . My system for correct work you must install from first to last update , with all files.

Categories

Resources