[BOOT][GT-P3110] NanoBoot r6 [UPDATE][ROOT ACCESS][INIT.D] - Galaxy Tab 2 7" Android Development

I made a boot.img (flashable via CWM) with full root access to your GT-P3110.
CHANGES:
r6 (2012-07-28)
FEATURE: /system/etc/init.d/ support
requires busybox as /system/xbin/busybox
if installed as /system/bin/busybox a proper symlink will do
for example init scripts check below
Click to expand...
Click to collapse
r5 (2012-07-27)
BUGFIX: charging battery while device is off no longer hangs the battery logo (battery did charge anyways!)
BUGFIX: ensure /system is always read-write
more default.prop stuff from my 'NanoCFW' for ARNOVA 7CG2:
Code:
debug.enabletr=true
debug.sf.hw=1
video.accelerate.hw=1
debug.egl.hw=1
debug.performance.tuning=1
persist.sys.use_16bpp_alpha=1
windowsmgr.max_events_per_sec=60
persist.sys.use_dithering=0
persist.sys.ui.hw=1
pm.sleep_mode=1
dalvik.vm.dexopt-data-only=1
dalvik.gc.type=precise
dalvik.vm.jniopts=warnonly
persist.adb.notify=0
ro.config.nocheckin=1
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
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
wifi.supplicant_scan_interval=180
Click to expand...
Click to collapse
r4 (first public release)
default.prop:
Code:
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=1
persist.sys.usb.config=mtp,adb
windowsmgr.max_events_per_sec=60
ro.kernel.android.checkjni=0
wifi.supplicant_scan_interval=180
debug.performance.tuning=1
init.espresso.rc:
- keep / read-write
- keep /system read-write
Click to expand...
Click to collapse
INSTALLATION:
boot.img:
unpack the tarball
put folder "NanoBoot-r4" inside sd:/clockworkmod/backup/
boot into CWM
in CWM go to "backup & restore"
choose "NanoBoot-r4"
reboot
et voila
init.d:
unpack tarball
put folder init.d and file initcontrol into /system/etc/ on tablet (via adb push, or a file manager with root access)
edit initcontrol (0 means the init-script is disabled, 1 means it's enabled)
reboot
et voila
That's it for now. Suggestions welcome.
DOWNLOAD:
boot.img:
http://nanolx.org/downloads/P3110/NanoBoot-r6.tar.bz2
init.d (fully tested on ARNOVA 7CG2, partially tested on SAMMY P3110):
http://nanolx.org/downloads/P3110/NanoInit-r17.tar.bz2
PS: If you want a modified boot.img for other Galaxy Tab 2, just provide me the original boot.img.

How can I flash this bz2 file??
CWM can't

Oh yeah. Seems I forgot that.
Edited first post.
Edit2: Updated to r5 (see first post for changes)

r6 with init.d support online - example init-scripts in first post

Related

[STOCK][swift] Zenwatch 3 Partition Dump (system, boot, recovery & more)

DEPRECATED because I don't have the watch anymore. Might still work, might also not. Feel free to just try and iterate on my work.
Links are going to remain active for now. PM me if they are broken without me stating here that I deleted them.
Since Asus doesn't provide official factory images, I decided to extract them with adb and post them here.
These are the stock partitions of the Asus Zenwatch 3, unmodified and pulled via
Code:
adb pull /dev/block/platform/soc/7824900.sdhci/by-name/<partition-name>
"Common" images, which are flashable via fastboot (means boot, recovery and system) are in the first zip (part1).
Second one contains some other partitions which might be of interest for reverse-engineering, bootloader modding, etc. Proceed at your own risk. They also can't most likely be flashed through fastboot if original partition gets broken (maybe with dd?), so be careful!
Dropbox links:
MWF76:
swift_partition_dump_part1 | boot, system, recovery | md5: 563d36c92028d1579826f2db6797c18d
swift_partition_dump_part2 | asusfw, devinfo, factory, misc, modem, modemst1, modemst2, oem, splash | md5: 0cc181c937773d69bc51099d804fcae9
MWG68:
swift_partition_dump_part1 | boot, system, recovery | md5: 159e488bdcc1aba281d4050d31d62791
How to flash:
Flash from fastboot, e.g.
Code:
fastboot flash boot bootm
fastboot flash system system.img
fastboot flash recovery recovery.img
OTA zips:
MWE76 to MWF76 - Thanks to @janjan for extracting!
NWD1.170623.001 (universal OTA, should even work to get back to stock) - Thanks to reddit user k3vink3vin! (MEGA mirror by @ingbrzy)
Thanks! So this should work with regular old "fastboot flash system system.img", etc.? The watches should be identical worldwide, right? I have one from Germany, and it looks like you're from Germany too, so that shouldn't be a problem, but I'm just wondering about other people.
jobarr said:
Thanks! So this should work with regular old "fastboot flash system system.img", etc.? The watches should be identical worldwide, right? I have one from Germany, and it looks like you're from Germany too, so that shouldn't be a problem, but I'm just wondering about other people.
Click to expand...
Click to collapse
Yes, you can flash with fastboot. Boards should be all the same, and since the watch doesn't have mobile data, the firmware files shouldn't differ much and be compatible with every model. My device name in settings is "ASUS ZenWatch 3 2458", for reference.
(edited)
UPDATE: I updated part1, so please redownload if you already downloaded it. The system.img wasn't flashable via fastboot before, but after I converted it to a sparse image with img2simg it now is.
 @janjan @jobarr
Great. I guess I'll give it a try.
It worked!
If anyone is unsure of how to do this:
1) Get the SDK Platform Tools for your platform:
https://developer.android.com/studio/releases/platform-tools.html
2) Connect to USB using the charger
3) Start up in fastboot mode (I enabled ADB debugging by going to Settings -> About and tapping again and again on the "Build number" to enable the Developer options, then Settings -> Developer options -> ADB debugging -> enable, and then typed "adb reboot-bootloader" at the command prompt)
5) Unlock watch with "fastboot oem unlock" <- This will erase everything on the watch
5) Flash the partitions with "fastboot flash boot boot.img", "fastboot flash recovery recovery.img", and "fastboot flash system system.img" (make sure you are in the same folder as the img files from Maxr1998 or modify the commands accordingly)
And that's it.
Hmm. I've had some weird issues since flashing this. Not sure if it is the firmware version itself or these files. It restarted twice while I was trying to setup Android Wear the first time after the flash, but I figured that was because my battery was pretty low. Right now though, I just tried to plug it in to charge and it basically immediately restarted. It restarted again after booting up (after showing the watch face and beeping to indicate charging). It only stopped restarting after I unplugged it. Just plugged it in again and it restarted again. Any ideas? If it keeps this up, I'll try a factory reset, but it actually already did that when I unlocked it.
Edit: Won't stop rebooting when charging. Did a factory reset, still rebooted twice while trying to setup Android Wear again. I'll try reflashing, just for fun.
jobarr said:
Hmm. I've had some weird issues since flashing this. Not sure if it is the firmware version itself or these files. It restarted twice while I was trying to setup Android Wear the first time after the flash, but I figured that was because my battery was pretty low. Right now though, I just tried to plug it in to charge and it basically immediately restarted. It restarted again after booting up (after showing the watch face and beeping to indicate charging). It only stopped restarting after I unplugged it. Just plugged it in again and it restarted again. Any ideas? If it keeps this up, I'll try a factory reset, gut it actually already did that when I unlocked it.
Edit: Won't stop rebooting when charging. Did a factory reset, still rebooted twice while trying to setup Android Wear again. I'll try reflashing, just for fun.
Click to expand...
Click to collapse
Yes i am facing the same issue. After flashing boot.img and system.img it starts reboot every 1 minute.
No luck. Factory reset, reflash, clear cache, wipe everything, fastboot oem lock... No change. My best guess now is that it's rebooting when it tries to enter (fast) charging mode. The first time I plug it in after starting up, it will charge, but only slowly (even though it shows the quick charge rocket icon). If I unplug it and plug it back in, it restarts. If I leave it plugged in while starting up, it keeps restarting every time it starts up just a few seconds after it shows the watch face.
Anyone else having any issues like this?
Edit: missed that last post. Ok, so it's probably not a hardware issue. Maybe the img files or the way of flashing. @Maxr1998, I assume I could flash this via "adb put ...", right? Do you know how to do that? Would I need the original firmware files you posted (not the img2simg version)?
jobarr said:
No luck. Factory reset, reflash, clear cache, wipe everything, fastboot oem lock... No change. My best guess now is that it's rebooting when it tries to enter (fast) charging mode. The first time I plug it in after starting up, it will charge, but only slowly (even though it shows the quick charge rocket icon). If I unplug it and plug it back in, it restarts. If I leave it plugged in while starting up, it keeps restarting every time it starts up just a few seconds after it shows the watch face.
Anyone else having any issues like this?
Edit: missed that last post. Ok, so it's probably not a hardware issue. Maybe the img files or the way of flashing. @Maxr1998, I assume I could flash this via "adb put ...", right? Do you know how to do that? Would I need the original firmware files you posted (not the img2simg version)?
Click to expand...
Click to collapse
Really weird. I must admit that I didn't flash the boot image, only system and recovery, and I don't have any problem. Fast charging works perfectly.
adb push probably won't work, but dd might (WARNING: DANGEROUS! Easily possible to screw up. Read tutorials on Google before and make sure you use the right partition). You should only try it with the boot image, others are probably fine.
Only system was converted to sparse img, boot and recovery are unmodified.
You could also try to build and flash the official kernel source (look at my other thread for that).
If no one has any other ideas tonight, I'll just try sending it back to Amazon.de and getting a new one...
jobarr said:
If no one has any other ideas tonight, I'll just try sending it back to Amazon.de and getting a new one...
Click to expand...
Click to collapse
Asus just enable the OTA update again. You should try to get it now. I successfully build my own kernel and it works fine.
What do you mean about the OTA? Is there another one?
I can look into building my own kernel later if that fixes it. Could you just give me yours?
System dump of WW_WI503Q_MWG23_20170123
Code:
#
# PRODUCT_OEM_PROPERTIES
#
import /oem/oem.prop ro.oem.*
import /oem/oem.prop oem.*
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=MWG23
ro.build.display.id=MWG23
ro.build.version.incremental=3665037
ro.build.version.sdk=23
ro.build.version.preview_sdk=0
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=6.0.1
ro.build.version.security_patch=2017-01-05
ro.build.version.base_os=
ro.build.date=Mon Jan 23 20:22:55 UTC 2017
ro.build.date.utc=1485202975
ro.build.type=user
ro.build.user=android-build
ro.build.host=wphm9.hot.corp.google.com
ro.build.tags=release-keys
ro.build.flavor=swift-user
ro.product.model=ASUS ZenWatch 3
ro.product.brand=asus
ro.product.name=swift
ro.product.device=swift
ro.product.board=swift
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.cpu.abilist=armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.product.manufacturer=asus
ro.product.locale=en-US
ro.wifi.channels=
ro.board.platform=msm8909
# ro.build.product is obsolete; use ro.product.device
ro.build.product=swift
# Do not try to parse description, fingerprint, or thumbprint
ro.build.description=swift-user 6.0.1 MWG23 3665037 release-keys
ro.build.fingerprint=asus/swift/swift:6.0.1/MWG23/3665037:user/release-keys
ro.build.characteristics=nosdcard,watch
# end build properties
#
# from device/asus/swift/system.prop
#
#
# system.prop for msm8909
#
#rild.libpath=/system/lib/libreference-ril.so
rild.libpath=/system/vendor/lib/libril-qc-qmi-1.so
rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
ril.subscription.types=NV,RUIM
DEVICE_PROVISIONED=1
debug.sf.hw=1
debug.egl.hw=1
debug.composition.type=dyn
debug.hwc.dynThreshold=2.5
debug.mdpcomp.logs=0
dalvik.vm.heapsize=36m
dev.pm.dyn_samplingrate=1
persist.demo.hdmirotationlock=false
#enable dirty rect
debug.sf.swaprect=1
#enable app buffer composition
debug.sf.hwc.canUseABC=1
#enable gpu perf hint
sys.hwc.gpu_perf_mode=1
#ro.hdmi.enable=true
#tunnel.decode=true
#tunnel.audiovideo.decode=true
#lpa.decode=false
#lpa.use-stagefright=true
#persist.speaker.prot.enable=false
#
# system props for the cne module
#
persist.cne.feature=1
#system props for the MM modules
media.stagefright.enable-player=true
media.stagefright.enable-http=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-fma2dp=true
media.stagefright.enable-scan=true
mmp.enable.3g2=true
media.aac_51_output_enabled=true
#codecs:(PARSER_)AAC AC3 AMR_NB AMR_WB ASF AVI DTS 3GP 3G2 MKV MP2PS MP2TS MP3 OGG QCP WAV FLAC
mm.enable.qcom_parser=262143
# Default to AwesomePlayer
media.stagefright.use-awesome=false
#
# system props for the data modules
#
ro.use_data_netmgrd=true
persist.data.netmgrd.qos.enable=true
persist.data.mode=concurrent
#system props for time-services
persist.timed.enable=true
#
# system prop for opengles version
#
# 196608 is decimal for 0x30000 to report version 3
ro.opengles.version=196608
# System property for cabl
ro.qualcomm.cabl=2
# System property for QDCM
persist.tuning.qdcm=1
# System property for Screen Color
ro.qcom.screencolor=1
#Simulate sdcard on /data/media
#
persist.fuse_sdcard=true
#
# System property for Camera
# System prop to allocate Reprocess buffer as "1"
# during Longshot usecase
persist.camera.longshot.stages=1
#
# dirty ratio value when enable ums
#
ro.sys.umsdirtyratio=20
#
#snapdragon value add features
#
ro.qc.sdk.audio.ssr=false
##fluencetype can be "fluence" or "fluencepro" or "none"
ro.qc.sdk.audio.fluencetype=none
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.speaker=true
#Set for msm8909
tunnel.audio.encode = false
#enable low_ram property on low-tier devices
ro.config.low_ram=true
#Buffer size in kbytes for compress offload playback
audio.offload.buffer.size.kb=64
#Minimum duration for offload playback in secs
audio.offload.min.duration.secs=30
#Enable offload audio video playback by default
av.offload.enable=true
#enable voice path for PCM VoIP by default
use.voice.path.for.pcm.voip=true
#
#System property for FM transmitter
#
ro.fm.transmitter=false
#enable dsp gapless mode by default
audio.offload.gapless.enabled=true
#Audio offload playback
audio.offload.disable=0
#Audio voice concurrency related flags
voice.playback.conc.disabled=true
voice.record.conc.disabled=true
voice.voip.conc.disabled=true
#Audio VoIP / playback record concurrency flags
rec.playback.conc.disabled=true
#Set composition for USB
#persist.sys.usb.config=diag,serial_smd,rmnet_qti_bam,adb
#Set read only default composition for USB
#ro.sys.usb.default.config=diag,serial_smd,rmnet_qti_bam,adb
# set max background services
ro.config.max_starting_bg=8
#property to enable user to access Google WFD settings
persist.debug.wfd.enable=1
#propery to enable VDS WFD solution
persist.hwc.enable_vds=1
#property to enable image unload by audio HAL
sys.audio.init=false
#property to enable DS2 dap
audio.dolby.ds2.enabled=true
#property to change touch screen resolution
persist.sys.synaptics_dsx.qhd=false
#HWUI properties
ro.hwui.text_large_cache_height=2048
# enable sta proxy bydefault
persist.mm.sta.enable=1
#Trim properties
ro.sys.fw.use_trim_settings=true
ro.sys.fw.empty_app_percent=50
ro.sys.fw.trim_empty_percent=100
ro.sys.fw.trim_cache_percent=100
ro.sys.fw.trim_enable_memory=1073741824
# set cutoff voltage to 3200mV
ro.cutoff_voltage_mv=3200
#min/max cpu in core control
ro.core_ctl_min_cpu=2
ro.core_ctl_max_cpu=4
#Enable B service adj transition by default
ro.sys.fw.bservice_enable=true
ro.sys.fw.bservice_limit=5
ro.sys.fw.bservice_age=5000
#save memory property for camera daemon
cameradaemon.SaveMemAtBoot=1
#Disable sensors
ro.qti.sdk.sensors.gestures=false
ro.qti.sensors.scrn_ortn=false
ro.qti.sensors.facing=false
ro.qti.sensors.tilt=false
ro.qti.sensors.tilt_detector=false
ro.qti.sensors.tap=false
ro.qti.sensors.cmc=false
ro.qti.sensors.amd=false
ro.qti.sensors.rmd=false
ro.qti.sensors.pedometer=false
#Enable sensors
ro.qti.sensors.qheart=false
ro.qti.sensors.wrist_tilt=true
#Enable WearQSTA
ro.sensors.wearqstp=1
#WearQSTA Wakelock by default disabled
ro.sensors.wearqstp.lock=0
#reduce background apps limit to 16 on wearables
ro.sys.fw.bg_apps_limit=16
#Enable delay service restart
ro.am.reschedule_service=true
# No telephony or radio
setprop ro.radio.noril yes
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.vendor.extension_library=libqti-perfd-client.so
persist.radio.apm_sim_not_pwdn=1
persist.radio.sib16_support=1
ro.frp.pst=/dev/block/bootdevice/by-name/config
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=128m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=2m
ro.ambient.plugged_timeout_min=5
ro.ambient.low_bit_enabled=false
ro.carrier=unknown
ro.config.low_ram=true
ro.bluetooth.hfp.ver=1.6
dalvik.vm.dex2oat-threads=1
ro.config.ringtone=Atria.ogg
ro.config.notification_sound=Tethys.ogg
ro.config.alarm_alert=Oxygen.ogg
ro.sf.lcd_density=280
ro.epad.model=swift
ro.force_screen_timeout=true
ro.build.csc.version=WW_WI503Q_MWG23_20170123
persist.sys.dalvik.vm.lib.2=libart
dalvik.vm.isa.arm.variant=cortex-a7
dalvik.vm.isa.arm.features=default
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.build.expect.bootloader=swift1003313
ro.expect.recovery_id=0x8483ccf7c509f998f3f26608974ee222fdac358a000000000000000000000000
DOWNLOAD WW_WI503Q_MWG23_20170123
Install via FASTBOOT commands
Code:
adb reboot bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot reboot
Changelog MWF76 to MWG23
- Updated security patch to 2017-01-05
Ww_wi503q_mwg68_20170309
WW_WI503Q_MWG68_20170309
Code:
#
# PRODUCT_OEM_PROPERTIES
#
import /oem/oem.prop ro.oem.*
import /oem/oem.prop oem.*
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=MWG68
ro.build.display.id=MWG68
ro.build.version.incremental=3798981
ro.build.version.sdk=23
ro.build.version.preview_sdk=0
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=6.0.1
ro.build.version.security_patch=2017-02-05
ro.build.version.base_os=
ro.build.date=Thu Mar 9 20:21:52 UTC 2017
ro.build.date.utc=1489090912
ro.build.type=user
ro.build.user=android-build
ro.build.host=wphm3.hot.corp.google.com
ro.build.tags=release-keys
ro.build.flavor=swift-user
ro.product.model=ASUS ZenWatch 3
ro.product.brand=asus
ro.product.name=swift
ro.product.device=swift
ro.product.board=swift
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.cpu.abilist=armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.product.manufacturer=asus
ro.product.locale=en-US
ro.wifi.channels=
ro.board.platform=msm8909
# ro.build.product is obsolete; use ro.product.device
ro.build.product=swift
# Do not try to parse description, fingerprint, or thumbprint
ro.build.description=swift-user 6.0.1 MWG68 3798981 release-keys
ro.build.fingerprint=asus/swift/swift:6.0.1/MWG68/3798981:user/release-keys
ro.build.characteristics=nosdcard,watch
# end build properties
#
# from device/asus/swift/system.prop
#
#
# system.prop for msm8909
#
#rild.libpath=/system/lib/libreference-ril.so
rild.libpath=/system/vendor/lib/libril-qc-qmi-1.so
rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
ril.subscription.types=NV,RUIM
DEVICE_PROVISIONED=1
debug.sf.hw=1
debug.egl.hw=1
debug.composition.type=dyn
debug.hwc.dynThreshold=2.5
debug.mdpcomp.logs=0
dalvik.vm.heapsize=36m
dev.pm.dyn_samplingrate=1
persist.demo.hdmirotationlock=false
#enable dirty rect
debug.sf.swaprect=1
#enable app buffer composition
debug.sf.hwc.canUseABC=1
#enable gpu perf hint
sys.hwc.gpu_perf_mode=1
#ro.hdmi.enable=true
#tunnel.decode=true
#tunnel.audiovideo.decode=true
#lpa.decode=false
#lpa.use-stagefright=true
#persist.speaker.prot.enable=false
#
# system props for the cne module
#
persist.cne.feature=1
#system props for the MM modules
media.stagefright.enable-player=true
media.stagefright.enable-http=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-fma2dp=true
media.stagefright.enable-scan=true
mmp.enable.3g2=true
media.aac_51_output_enabled=true
#codecs:(PARSER_)AAC AC3 AMR_NB AMR_WB ASF AVI DTS 3GP 3G2 MKV MP2PS MP2TS MP3 OGG QCP WAV FLAC
mm.enable.qcom_parser=262143
# Default to AwesomePlayer
media.stagefright.use-awesome=false
#
# system props for the data modules
#
ro.use_data_netmgrd=true
persist.data.netmgrd.qos.enable=true
persist.data.mode=concurrent
#system props for time-services
persist.timed.enable=true
#
# system prop for opengles version
#
# 196608 is decimal for 0x30000 to report version 3
ro.opengles.version=196608
# System property for cabl
ro.qualcomm.cabl=2
# System property for QDCM
persist.tuning.qdcm=1
# System property for Screen Color
ro.qcom.screencolor=1
#Simulate sdcard on /data/media
#
persist.fuse_sdcard=true
#
# System property for Camera
# System prop to allocate Reprocess buffer as "1"
# during Longshot usecase
persist.camera.longshot.stages=1
#
# dirty ratio value when enable ums
#
ro.sys.umsdirtyratio=20
#
#snapdragon value add features
#
ro.qc.sdk.audio.ssr=false
##fluencetype can be "fluence" or "fluencepro" or "none"
ro.qc.sdk.audio.fluencetype=none
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.speaker=true
#Set for msm8909
tunnel.audio.encode = false
#enable low_ram property on low-tier devices
ro.config.low_ram=true
#Buffer size in kbytes for compress offload playback
audio.offload.buffer.size.kb=64
#Minimum duration for offload playback in secs
audio.offload.min.duration.secs=30
#Enable offload audio video playback by default
av.offload.enable=true
#enable voice path for PCM VoIP by default
use.voice.path.for.pcm.voip=true
#
#System property for FM transmitter
#
ro.fm.transmitter=false
#enable dsp gapless mode by default
audio.offload.gapless.enabled=true
#Audio offload playback
audio.offload.disable=0
#Audio voice concurrency related flags
voice.playback.conc.disabled=true
voice.record.conc.disabled=true
voice.voip.conc.disabled=true
#Audio VoIP / playback record concurrency flags
rec.playback.conc.disabled=true
#Set composition for USB
#persist.sys.usb.config=diag,serial_smd,rmnet_qti_bam,adb
#Set read only default composition for USB
#ro.sys.usb.default.config=diag,serial_smd,rmnet_qti_bam,adb
# set max background services
ro.config.max_starting_bg=8
#property to enable user to access Google WFD settings
persist.debug.wfd.enable=1
#propery to enable VDS WFD solution
persist.hwc.enable_vds=1
#property to enable image unload by audio HAL
sys.audio.init=false
#property to enable DS2 dap
audio.dolby.ds2.enabled=true
#property to change touch screen resolution
persist.sys.synaptics_dsx.qhd=false
#HWUI properties
ro.hwui.text_large_cache_height=2048
# enable sta proxy bydefault
persist.mm.sta.enable=1
#Trim properties
ro.sys.fw.use_trim_settings=true
ro.sys.fw.empty_app_percent=50
ro.sys.fw.trim_empty_percent=100
ro.sys.fw.trim_cache_percent=100
ro.sys.fw.trim_enable_memory=1073741824
# set cutoff voltage to 3200mV
ro.cutoff_voltage_mv=3200
#min/max cpu in core control
ro.core_ctl_min_cpu=2
ro.core_ctl_max_cpu=4
#Enable B service adj transition by default
ro.sys.fw.bservice_enable=true
ro.sys.fw.bservice_limit=5
ro.sys.fw.bservice_age=5000
#save memory property for camera daemon
cameradaemon.SaveMemAtBoot=1
#Disable sensors
ro.qti.sdk.sensors.gestures=false
ro.qti.sensors.scrn_ortn=false
ro.qti.sensors.facing=false
ro.qti.sensors.tilt=false
ro.qti.sensors.tilt_detector=false
ro.qti.sensors.tap=false
ro.qti.sensors.cmc=false
ro.qti.sensors.amd=false
ro.qti.sensors.rmd=false
ro.qti.sensors.pedometer=false
#Enable sensors
ro.qti.sensors.qheart=false
ro.qti.sensors.wrist_tilt=true
#Enable WearQSTA
ro.sensors.wearqstp=1
#WearQSTA Wakelock by default disabled
ro.sensors.wearqstp.lock=0
#reduce background apps limit to 16 on wearables
ro.sys.fw.bg_apps_limit=16
#Enable delay service restart
ro.am.reschedule_service=true
# No telephony or radio
setprop ro.radio.noril yes
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.vendor.extension_library=libqti-perfd-client.so
persist.radio.apm_sim_not_pwdn=1
persist.radio.sib16_support=1
ro.frp.pst=/dev/block/bootdevice/by-name/config
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=128m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=2m
ro.ambient.plugged_timeout_min=5
ro.ambient.low_bit_enabled=false
ro.carrier=unknown
ro.config.low_ram=true
ro.bluetooth.hfp.ver=1.6
dalvik.vm.dex2oat-threads=1
ro.config.ringtone=Atria.ogg
ro.config.notification_sound=Tethys.ogg
ro.config.alarm_alert=Oxygen.ogg
ro.sf.lcd_density=280
ro.epad.model=swift
ro.force_screen_timeout=true
ro.build.csc.version=WW_WI503Q_MWG68_20170309
persist.sys.dalvik.vm.lib.2=libart
dalvik.vm.isa.arm.variant=cortex-a7
dalvik.vm.isa.arm.features=default
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.build.expect.bootloader=swift1003313
ro.expect.recovery_id=0x5c5fe027d0eddfaade8a3734d02d171f1c8c7871000000000000000000000000
DOWNLOAD WW_WI503Q_MWG68_20170309
Install via FASTBOOT commands
Code:
adb reboot bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot reboot
Changelog MWG23 to MWG68
- Updated security patch to 2017-02-05
Hello, I have a problem with update. I first booted watch and it got ota. Now watches have MFW76 and it reboots every minute, even after a factory reset. Could someone help me with those? I bought it as present for my wife)
heckfycu said:
Hello, I have a problem with update. I first booted watch and it got ota. Now watches have MFW76 and it reboots every minute, even after a factory reset. Could someone help me with those? I bought it as present for my wife)
Click to expand...
Click to collapse
Did you flash any img from the first post? If not, contact Asus, if yes, try to reflash system and boot in fastboot, and if TWRP is installed don't allow it to modify /system.
Maxr1998 said:
Did you flash any img from the first post? If not, contact Asus, if yes, try to reflash system and boot in fastboot, and if TWRP is installed don't allow it to modify /system.
Click to expand...
Click to collapse
Yeah, thank you i used your images and reflashed device, even though asus support said that i can't do that and should send it to them)
ANDROID WEAR 2.0 NWD1.170623.001
DOWNLOAD
Code:
#
# PRODUCT_OEM_PROPERTIES
#
import /oem/oem.prop ro.oem.*
import /oem/oem.prop oem.*
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=NWD1.170623.001
ro.build.display.id=NWD1.170623.001
ro.build.version.incremental=4130756
ro.build.version.sdk=25
ro.build.version.preview_sdk=0
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=7.1.1
ro.build.version.security_patch=2017-06-01
ro.build.version.base_os=
ro.build.date=Fri Jun 23 19:40:31 UTC 2017
ro.build.date.utc=1498246831
ro.build.type=user
ro.build.user=android-build
ro.build.host=vpeb8.mtv.corp.google.com
ro.build.tags=release-keys
ro.build.flavor=swift-user
ro.product.model=ASUS ZenWatch 3
ro.product.brand=asus
ro.product.name=swift
ro.product.device=swift
ro.product.board=swift
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.cpu.abilist=armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=
ro.product.manufacturer=asus
ro.product.locale=en-US
ro.wifi.channels=
ro.board.platform=msm8909
# ro.build.product is obsolete; use ro.product.device
ro.build.product=swift
# Do not try to parse description, fingerprint, or thumbprint
ro.build.description=swift-user 7.1.1 NWD1.170623.001 4130756 release-keys
ro.build.fingerprint=asus/swift/swift:7.1.1/NWD1.170623.001/4130756:user/release-keys
ro.build.characteristics=nosdcard,watch
# end build properties
#
# from device/asus/swift/system.prop
#
#
# system.prop for msm8909
#
#rild.libpath=/system/lib/libreference-ril.so
rild.libpath=/system/vendor/lib/libril-qc-qmi-1.so
rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
ril.subscription.types=NV,RUIM
DEVICE_PROVISIONED=1
debug.sf.hw=1
debug.egl.hw=1
debug.composition.type=dyn
debug.hwc.dynThreshold=4.5
debug.mdpcomp.logs=0
dalvik.vm.heapsize=36m
dev.pm.dyn_samplingrate=1
persist.demo.hdmirotationlock=false
#enable dirty rect
debug.sf.swaprect=1
#enable app buffer composition
debug.sf.hwc.canUseABC=1
#enable gpu perf hint
sys.hwc.gpu_perf_mode=1
#ro.hdmi.enable=true
#tunnel.decode=true
#tunnel.audiovideo.decode=true
#lpa.decode=false
#lpa.use-stagefright=true
#persist.speaker.prot.enable=false
#
# system props for the cne module
#
persist.cne.feature=1
#system props for the MM modules
media.stagefright.enable-player=true
media.stagefright.enable-http=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-fma2dp=true
media.stagefright.enable-scan=true
mmp.enable.3g2=true
media.aac_51_output_enabled=true
#codecs:(PARSER_)AAC AC3 AMR_NB AMR_WB ASF AVI DTS 3GP 3G2 MKV MP2PS MP2TS MP3 OGG QCP WAV FLAC
mm.enable.qcom_parser=262143
# Default to AwesomePlayer
media.stagefright.use-awesome=false
#
# system props for the data modules
#
ro.use_data_netmgrd=true
persist.data.netmgrd.qos.enable=true
persist.data.mode=concurrent
#system props for time-services
persist.timed.enable=true
#
# system prop for opengles version
#
# 196608 is decimal for 0x30000 to report version 3
ro.opengles.version=196608
# System property for cabl
ro.qualcomm.cabl=2
# System property for QDCM
persist.tuning.qdcm=1
# System property for Screen Color
ro.qcom.screencolor=1
#Simulate sdcard on /data/media
#
persist.fuse_sdcard=true
#
# System property for Camera
# System prop to allocate Reprocess buffer as "1"
# during Longshot usecase
persist.camera.longshot.stages=1
#
# dirty ratio value when enable ums
#
ro.sys.umsdirtyratio=20
#
#snapdragon value add features
#
ro.qc.sdk.audio.ssr=false
##fluencetype can be "fluence" or "fluencepro" or "none"
ro.qc.sdk.audio.fluencetype=none
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.speaker=true
#Set for msm8909
tunnel.audio.encode = false
#enable low_ram property on low-tier devices
ro.config.low_ram=true
#Buffer size in kbytes for compress offload playback
audio.offload.buffer.size.kb=64
#Minimum duration for offload playback in secs
audio.offload.min.duration.secs=30
#Enable offload audio video playback by default
av.offload.enable=true
#enable voice path for PCM VoIP by default
use.voice.path.for.pcm.voip=true
#
#System property for FM transmitter
#
ro.fm.transmitter=false
#enable dsp gapless mode by default
audio.offload.gapless.enabled=true
#Audio offload playback
audio.offload.disable=0
#Audio voice concurrency related flags
voice.playback.conc.disabled=true
voice.record.conc.disabled=true
voice.voip.conc.disabled=true
#Audio VoIP / playback record concurrency flags
rec.playback.conc.disabled=true
#Set composition for USB
#persist.sys.usb.config=diag,serial_smd,rmnet_qti_bam,adb
#Set read only default composition for USB
#ro.sys.usb.default.config=diag,serial_smd,rmnet_qti_bam,adb
# set max background services
ro.config.max_starting_bg=8
#property to enable user to access Google WFD settings
persist.debug.wfd.enable=1
#propery to enable VDS WFD solution
persist.hwc.enable_vds=1
#property to enable image unload by audio HAL
sys.audio.init=false
#property to enable DS2 dap
audio.dolby.ds2.enabled=true
#property to change touch screen resolution
persist.sys.synaptics_dsx.qhd=false
#HWUI properties
ro.hwui.text_large_cache_height=2048
# enable sta proxy bydefault
persist.mm.sta.enable=1
#Trim properties
ro.sys.fw.use_trim_settings=true
ro.sys.fw.empty_app_percent=50
ro.sys.fw.trim_empty_percent=100
ro.sys.fw.trim_cache_percent=100
ro.sys.fw.trim_enable_memory=1073741824
# set cutoff voltage to 3200mV
ro.cutoff_voltage_mv=3200
#min/max cpu in core control
ro.core_ctl_min_cpu=2
ro.core_ctl_max_cpu=4
#Enable B service adj transition by default
ro.sys.fw.bservice_enable=true
ro.sys.fw.bservice_limit=5
ro.sys.fw.bservice_age=5000
#save memory property for camera daemon
cameradaemon.SaveMemAtBoot=1
#Disable sensors
ro.qti.sdk.sensors.gestures=false
ro.qti.sensors.scrn_ortn=false
ro.qti.sensors.facing=false
ro.qti.sensors.tilt=false
ro.qti.sensors.tilt_detector=false
ro.qti.sensors.tap=false
ro.qti.sensors.cmc=false
ro.qti.sensors.amd=false
ro.qti.sensors.rmd=false
ro.qti.sensors.pedometer=false
#Enable sensors
ro.qti.sensors.qheart=false
ro.qti.sensors.wrist_tilt=true
#Enable WearQSTA
ro.sensors.wearqstp=1
#WearQSTA Wakelock by default disabled
ro.sensors.wearqstp.lock=0
#reduce background apps limit to 16 on wearables
ro.sys.fw.bg_apps_limit=16
#Enable delay service restart
ro.am.reschedule_service=true
# No telephony or radio
setprop ro.radio.noril yes
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.vendor.extension_library=libqti-perfd-client.so
persist.radio.apm_sim_not_pwdn=1
persist.radio.sib16_support=1
ro.frp.pst=/dev/block/bootdevice/by-name/config
ro.ambient.plugged_timeout_min=5
ro.ambient.low_bit_enabled=false
ro.stem_1.location.x=373
ro.stem_1.location.y=100
ro.stem_2.location.x=373
ro.stem_2.location.y=300
ro.stem_primary.location.x=400
ro.stem_primary.location.y=200
logd.logpersistd.size=256
debug.composition.type=dyn
debug.hwc.dynThreshold=4.5
debug.sf.hwc.canUseABC=1
dalvik.vm.boot-dex2oat-threads=4
dalvik.vm.dex2oat-threads=2
dalvik.vm.image-dex2oat-threads=4
sys.use_fifo_ui=1
ro.carrier=unknown
ro.config.low_ram=true
ro.config.max_starting_bg=8
ro.bluetooth.hfp.ver=1.6
ro.config.alarm_alert=Oxygen.ogg
ro.config.ringtone=Atria.ogg
ro.sf.lcd_density=280
ro.epad.model=swift
ro.force_screen_timeout=true
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=96m
dalvik.vm.heapsize=128m
dalvik.vm.heapmaxfree=8m
dalvik.vm.heapminfree=512k
dalvik.vm.heaptargetutilization=0.75
ro.build.csc.version=WW_WI503Q_NWD1.170623.001_20170623
persist.sys.dalvik.vm.lib.2=libart.so
dalvik.vm.isa.arm.variant=cortex-a7
dalvik.vm.isa.arm.features=default
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.build.expect.bootloader=swift-7.2.331.9
ro.expect.recovery_id=0x793d5d6660f71553b8719c2e5721561061e1874d000000000000000000000000
How to install:
Reboot to RECOVERY MODE
Select "apply update via ADB"
run command
Code:
adb sideload path/to/your/rom.zip

Oreo BUILD.prop tweeks

Any good workeable tweeks fro Oreo's build.prop file ?
For Your INFORMATION...............................
Ive tried THOSE--------------------------------
net.dns1=8.8.8.8
net.dns2=8.8.4.4
windowsmgr.max_events_per_sec=150
ro.min_pointer_dur=8 ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
ro.media.enc.jpeg.quality=100
ro.media.panorama.defres=3264x1840
ro.media.panorama.frameres=1280x720
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
persist.cust.tel.eons=1
ro.config.hw_fast_dormancy=1
ro.config.hw_quickpoweron=true
ro.telephony.call_ring.delay=0
ring.delay=0
and ended in BOOT LOOP-----------
had to low level Factory RESET :crying:-----------------
was rooted with magisk---------------it ask me for dload of latest version and recovery
damn !
Has someone the system/build.prop system/vendor/build.prop files? Can you please send it to me?Thank you
These are from VTR-L29C432B360
system/system/build.prop
and
system/vendor/build.prop
Is not a good idea to play with the build.prop, I faced bootloop 2 times.
For DNS just install a magisk module.
if you know what are you doimg is no prpblem with build. prop.. and if you got bootloop just reboot to recovery, use file manager, put back original build. prop set permissions and reboot... no problem

[MOD] - Kevs Tweaks v.1.5.6 - [UPDATED: 2018-10-24]

IMPORTANT NOTICE
- I CANNOT AND WILL NOT BE RESPONSIBLE FOR ANYTHING YOU FLASH TO YOUR DEVICE
- I CAN ONLY TEST THIS ON A HONOR VIEW 10 US BKL-L04
- IF YOU POST HERE LOOKING FOR SUPPORT BECAUSE YOU FLASHED IT TO ANYTHING OTHER THAN WHAT I CAN SUPPORT, YOU WILL BE IGNORED
Click to expand...
Click to collapse
What Does This Mod Do?
It reconfigures Interactive governor
- - More will come as more Kernel's get built
- - And I figure out a better way to control the governor detection
It Disables the RUN_IN_BACKGROUND flag for a ton of apps (see the list below)
- - you can control this by adding or removing package names from /data/local/rib_allowed
- - /data/local/rib_allowed contains the apps that will NOT get RIB disabled
It Disables the WAKE_LOCK for a ton of apps (see list below)
- - you can control this by adding or removing package names from /data/local/wl_allowed
- - /data/local/wl_allowed contains the apps that will NOT get WL disabled
It enables Init.d suport
It cleans up some un-necessary junk on boot
It trims partitions on boot (and once per week)
It tweaks some caching, networking, media scanning, etc...
How Do I Flash It?
Make sure you have TWRP Flashed
Make sure you are Rooted
Make sure your data partition is already decrypted
- You must have /data decrypted: https://forum.xda-developers.com/showpost.php?p=76132974&postcount=430
Backup your stock ramdisk... you will need this to uninstall
Download the attachment
Reboot to TWRP
Select the file you downloaded and flash it
Reboot
Profit
How Do I check if it's working?
You can drop into adb shell and run:
Code:
su
grep -ir "kev" /dev/kmsg
To see if it ran, other than that, you should notice your device behaving a bit smoother, and have a bit more battery life
You can also check the logs and .running files inside /data/local/
THANKS
@[email protected]_USA - and the entire Huawei Team for providing me with this incredible device
@Dees_Troy - and the entire TWRP team for providing us with TWRP
@topjohnwu - For Magisk
UNINSTALL
Use fastboot and flash back your stock ramdisk.img
Code:
adb reboot bootloader
fastboot flash ramdisk /YOU/PATH/ramdisk.img
fastboot reboot
DONATIONS
CHANGELOG
v.1.5.6
- Had to change the location of the RIB and WL whitelists
- - Look for them in /data/local
v.1.5.5
- Finally have the scripts firing off
- - Thank you sepolicy....
- All scripts now run with full bash instead of sh
- logged to /data/local
- - only RIB and WL are logged
- reworked the tweaks so they'd run better
- create backup of ramdisk
- - check /sdcard/Download/
- - copy this over to your machine if you want to "uninstall" this tweak set, you will need to fastboot flash it in order to do so
v.1.4.0
- Reworked when gov tweaks are fired off
- Added in build.prop tweaks.
- - Net Congestion, Reconfigure Dalvik for better memory management, remove dha, add in fha config
- - tweak hwui caches, reconfig fling, misc power and performance tweaks.
v.1.3.1
- Now detects governors in order to tweak them
- - right now, only Interactive and blu_active are configured. More will come as more kernel's get built
- Injects straight into your ramdisk partition. So, make sure you have backed it up prior to flashing this
v.1.1.9
- Reworked flashing mounts
- Added in minor logging to /dev/kmsg
v.1.0.1
- Initial Release
- - Was able to utilize /vendor/etc/init to drop a init.*.rc script to run everything
ON DECK
- As soon as we have full Aroma support, I will be adding in a set of build.prop tweaks
- - Yes, Aroma is necessary, because you may or may not want some of these, so rather than forcing them all on you, I will give you the choice...
- HINT: These are working fantastically on my device
Code:
YOU WILL HAVE TO WAIT AND SEE
DISCLAIMER
- The packages in these lists are just what I've found to allow the primary services to continue running normally, with a couple added packages for items I have installed
- If you would like some added to this, you can edit your rib_allowed and wl_allowed files
- If you think some packages should be included by default, I invite you to post the package name, and why you think it should be "allowed"
To get a list of your packages, drop to adb shell and run
Code:
su
echo $(pm list packages -f | sed -e 's/.*=//' | sort) >> /mnt/sdcard/All-Packages.txt
This will write out all packages currently on your device
RUN BACKGROUND WHITELIST
- file is located in /data/local/rib_allowed
Code:
com.android.calendar
com.android.contacts
com.android.deskclock
com.android.email
com.android.exchange
com.android.mediacenter
com.android.phone
com.google.android.apps.messaging
com.google.android.syncadapters.contacts
com.huawei.android.totemweather
com.huawei.android.totemweatherwidget
com.huawei.wifiprobqeservice
mega.privacy.android.app
com.fitbit.FitbitMobile
com.fooview.android.fooview
com.plexapp.android
net.openvpn.openvpn
WAKELOCK WHITELIST
- file is located in /data/local/wl_allowed
Code:
android
com.android.bluetooth
com.android.calendar
com.android.contacts
com.android.deskclock
com.android.email
com.android.incallui
com.android.phone
com.android.server.telecom
com.huawei.wifiprobqeservice
com.google.android.apps.messaging
com.huawei.ims
com.huawei.powergenie
com.fitbit.FitbitMobile
mega.privacy.android.app
com.topjohnwu.magisk
BUILD.PROP TWEAKS
From version 1.4.0 and on, I am including my build.prop tweaks. Note, this will not overwrite your existing build.prop, it will only modify it... and it does so intelligently. The tweaks included are as follows:
Code:
# KEVP75-DALVIK: Reconfigure the dalvik cache
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=256m
dalvik.vm.heapsize=512m
dalvik.vm.heaptargetutilization=0.50
dalvik.vm.heapminfree=4m
dalvik.vm.heapmaxfree=16m
# KEVP75-FHA: Enable FHA and configure for our device
ro.config.fha_enable=true
ro.sys.fw.use_trim_settings=true
ro.sys.fw.empty_app_percent=50
ro.sys.fw.trim_empty_percent=100
ro.sys.fw.trim_cache_percent=100
ro.sys.fw.bservice_enable=true
ro.sys.fw.bservice_limit=5
ro.sys.fw.bservice_age=5000
ro.sys.fw.trim_enable_memory=2147483648
# KEVP75-HWUI: Reconfigure the hwui cache
ro.hwui.texture_cache_size=72
ro.hwui.layer_cache_size=48
ro.hwui.path_cache_size=32
ro.hwui.texture_cache_flushrate=0.4
ro.hwui.shape_cache_size=4
ro.hwui.gradient_cache_size=1
ro.hwui.drop_shadow_cache_size=6
ro.hwui.r_buffer_cache_size=8
ro.hwui.text_small_cache_width=1024
ro.hwui.text_small_cache_height=1024
ro.hwui.text_large_cache_width=4096
ro.hwui.text_large_cache_height=4096
# KEVP75-FLING
windowsmgr.max_events_per_sec=300
ro.max.fling_velocity=15000
ro.min.fling_velocity=8000
# KEVP75-GAMING
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
persist.sys.purgeable_assets=1
# KEVP75-PERF
debug.kill_allocating_task=0
force_hw_ui=true
persist.sys.use_dithering=1
ro.min_pointer_dur=1
persist.sys.ui.hw=1
ro.kernel.android.checkjni=0
# KEVP75-POWER
ro.config.hw_power_saving=1
power.saving.mode=1
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
ro.ril.power_collapse=1
power_supply.wakeup=enable
ro.mot.eri.losalert.delay=1000
ro.config.hw_power_saving=1
ro.ril.disable.power.collapse=0
debug.performance.tuning=1
debug.composition.type=hw
debug.sf.hw=1
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
ro.vold.umsdirtyratio=20
dalvik.vm.checkjni=false
dalvik.vm.execution-mode=int:jit
video.accelerate.hw=1
power_supply.wakeup=enable
# KEVP75-SEC
ro.config.knox=0
ro.config.tima=0
ro.config.timaversion=0
ro.config.iccc_version=0
# KEVP75-WIFI: Wifi Scanning
wifi.supplicant_scan_interval=300
# KEVP75-DNS
net.dns1=1.1.1.1
net.dns2=1.0.0.1
net.rmnet0.dns1=1.1.1.1
net.rmnet0.dns2=1.0.0.1
net.ppp0.dns1=1.1.1.1
net.ppp0.dns2=1.0.0.1
net.wlan0.dns1=1.1.1.1
net.wlan0.dns2=1.0.0.1
net.eth0.dns1=1.1.1.1
net.eth0.dns2=1.0.0.1
net.gprs.dns1=1.1.1.1
net.gprs.dns2=1.0.0.1
# KEVP75-NET
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.route.flush=1
net.ipv4.tcp_ecn=0
net.ipv4.tcp_fack=1
net.ipv4.tcp_mem=187000 187000 187000
net.ipv4.tcp_moderate_rcvbuf=1
net.ipv4.tcp_no_metrics_save=1
net.ipv4.tcp_rfc1337=1
net.ipv4.tcp_rmem=4096 39000 187000
net.ipv4.tcp_sack=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_wmem=4096 39000 18700
wifi.supplicant_scan_interval=220
net.ipv4.tcp_window_scaling=1
ro.ril.hsxpa=3
ro.ril.gprsclass=10
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=12
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=7
ro.ril.hsdpa.category=10
ro.ril.enable.a52=1
ro.ril.set.mtu1472=1
persist.cust.tel.eons=1
ro.config.hw_fast_dormancy=1
persist.data_netmgrd_mtu=1482
persist.data_netmgrd_nint=8
ro.use_data_netmgrd=true
ro.ril.enable.dtm=1
ro.ril.def.agps.mode=2
ro.ril.def.agps.feature=1
ro.ril.enable.gea3=1
ro.ril.enable.fd.plmn.prefix=23402,23410,23411
ro.ril.set.mtu1472=1
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.hspa=6144,87380,524288,6144,163 84,262144
net.tcp.buffersize.lte=524288,1048576,2097152,5242 88,1048576,2097152
net.tcp.buffersize.hsdpa=6144,87380,1048576,6144,8 7380,1048576
net.tcp.buffersize.evdo_b=6144,87380,1048576,6144, 87380,1048576
persist.telephony.support.ipv6=1
persist.telephony.support.ipv4=1
8 downloads, 160+ views and no comments...
I guess silence is golden...........
kevp75 said:
8 downloads, 160+ views and no comments...
I guess silence is golden...........
Click to expand...
Click to collapse
May be user needs some time to check, compare and notice the difference. Just a thought. I have not rooted so cant test this. Holding up on stock for camera and not the easy/ same way of going back to stock may be
Rommco05 said:
Hi kevp75 please can u share separately values for interactiv gov which u use in this tweak?
Click to expand...
Click to collapse
open /vendor/etc/init/init.kevp75.rc
I would definitely give a try but i have couple of concerns
1. I have installed TWRP already but not sure if the data is decrypted or not. Any quick way to know the status?
2. Does this mod supports BKL09? if not sure, theoretically how bad can it get if I flash it on BKL09? So I can take a chance by flashing.
Thanks for your hardwork on this.
Narasimha12 said:
I would definitely give a try but i have couple of concerns
1. I have installed TWRP already but not sure if the data is decrypted or not. Any quick way to know the status?
2. Does this mod supports BKL09? if not sure, theoretically how bad can it get if I flash it on BKL09? So I can take a chance by flashing.
Thanks for your hardwork on this.
Click to expand...
Click to collapse
hey mate.
for #1 you would see what looks like base64 encoded folder names in TWRPs file manager when browsing sdcard
if worse came to worse u just wouldnt have the whitelists.... but if rooted you could manually copy them to /data/data from inside the zip
#2 unsure. from tlwhat ive been gathering L09 is official.. where-as me on L04 is beta...
same hardware, so you "should" be fine... just take a backup of you /vendor partition in TWRP in case its not
EDIT: Technically... this may also work unrooted... doubt my RIB and WL blockers will, but the Gov Tweaks will
Rommco05 said:
I tryied to flash on L09 and installation failed with error 7. I'm just saying
edit: In your file I found this: 4/interactive/io_is_busy 1 but this value isn't in Interactive governor or Im thinking wrong?
Click to expand...
Click to collapse
Did you happen to get the recovery.log? I'd like to see what failed. (it flashes fine for me...)
Error 7 means a whole bunch of things ranging from bad zip to syntax error....
http://prntscr.com/j4ya45
Are what we have available from stock.... so, yeah, we have io_is_busy
Rommco05 said:
I tryied to flash on L09 and installation failed with error 7. I'm just saying
edit: In your file I found this: 4/interactive/io_is_busy 1 but this value isnt in Interactive governor or Im thinking wrong?
Click to expand...
Click to collapse
got the error too, attached recovery log. but on huawei mate 10 pro @kevp75
DeeZZ_NuuZZ said:
got the error too, attached recovery log. but on huawei mate 10 pro @kevp75
Click to expand...
Click to collapse
Rommco05 said:
I tryied to flash on L09 and installation failed with error 7. I'm just saying
edit: In your file I found this: 4/interactive/io_is_busy 1 but this value isnt in Interactive governor or Im thinking wrong?
Click to expand...
Click to collapse
Thanks mate.
So based on that log...
Code:
I:mount -o bind '/data/media' '/sdcard' process ended with RC=0
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
I:File Based Encryption is present
...
mount: mounting /dev/block/sdd59 on /system failed: Device or resource busy
run_program: child exited with status 255
about to run program [/sbin/busybox] with 3 args
mount: mounting /dev/block/sdd60 on /data failed: Device or resource busy
run_program: child exited with status 255
about to run program [/sbin/busybox] with 3 args
mount: mounting /dev/block/sdd54 on /vendor failed: Device or resource busy
run_program: child exited with status 255
@ Extracting Some Needed Stuffs ...
@ Extracting Some Needed Stuffs ...
set_perm: chown of /data/data/rib_allowed to 0 0 failed: No such file or directory
set_perm: chmod of /data/data/rib_allowed to 644 failed: No such file or directory
Shows me that your /data partition is encrypted, so this will not flash with that (mentioned in OP)
That mount stuff has be a bit concerned... I'll see what I can do to tweak that... it looks like the partitions are already mounting for you though, and are just not able to unmount... maybe I can force it in the flasher or something....
Thanks
kevp75 said:
Thanks mate.
So based on that log...
Code:
I:mount -o bind '/data/media' '/sdcard' process ended with RC=0
I:mount -o bind '/data/media/0' '/sdcard' process ended with RC=0
I:File Based Encryption is present
...
mount: mounting /dev/block/sdd59 on /system failed: Device or resource busy
run_program: child exited with status 255
about to run program [/sbin/busybox] with 3 args
mount: mounting /dev/block/sdd60 on /data failed: Device or resource busy
run_program: child exited with status 255
about to run program [/sbin/busybox] with 3 args
mount: mounting /dev/block/sdd54 on /vendor failed: Device or resource busy
run_program: child exited with status 255
@ Extracting Some Needed Stuffs ...
@ Extracting Some Needed Stuffs ...
set_perm: chown of /data/data/rib_allowed to 0 0 failed: No such file or directory
set_perm: chmod of /data/data/rib_allowed to 644 failed: No such file or directory
Shows me that your /data partition is encrypted, so this will not flash with that (mentioned in OP)
That mount stuff has be a bit concerned... I'll see what I can do to tweak that... it looks like the partitions are already mounting for you though, and are just not able to unmount... maybe I can force it in the flasher or something....
Thanks
Click to expand...
Click to collapse
hm yea I can access /data just fine. I gonna test whatever you throw at me
Rommco05 said:
Sorry, here is
In EXKM isnt available io_is_busy, interesting
Click to expand...
Click to collapse
What's EXKM?
Can you do me a favor... drop to either terminal on your device, or drop into adb shell.... and run:
Code:
su
ls -la /sys/devices/system/cpu/cpufreq/policy0/interactive >> /mnt/sdcard/Download/cpu0policy.txt
ls -la /sys/devices/system/cpu/cpufreq/policy4/interactive >> /mnt/sdcard/Download/cpu4policy.txt
And forward it on here...
DeeZZ_NuuZZ said:
hm yea I can access /data just fine. I gonna test whatever you throw at me
Click to expand...
Click to collapse
This you can dump a list of your partitions for me?
In adb shell
Code:
su
mount >> /mnt/sdcard/Download/mounts.txt
blkid >> /mnt/sdcard/Download/blocks.txt
Rommco05 said:
Im using unofficial twrp and Im sure I was dectrypted when I flashing this mod
edit: EX Kernel Manager
Click to expand...
Click to collapse
I'd love to agree with ya mate, but the log doesn't lie
kevp75 said:
This you can dump a list of your partitions for me?
In adb shell
Code:
su
mount >> /mnt/sdcard/Download/mounts.txt
blkid >> /mnt/sdcard/Download/blocks.txt
Click to expand...
Click to collapse
there they are
Rommco05 said:
Here u go
Click to expand...
Click to collapse
awesome.
thanks mate... and this is the HV10 on L09 right?
DeeZZ_NuuZZ said:
there they are
Click to expand...
Click to collapse
thanks mate... Mate 10 Pro?
kevp75 said:
thanks mate... Mate 10 Pro?
Click to expand...
Click to collapse
Yes, BLA-L29
Sent from my HUAWEI BLA-L29 using XDA Labs
kevp75 said:
thanks mate... Mate 10 Pro?
Click to expand...
Click to collapse
Rommco05 said:
Yes mate, BKL-L09C432
Click to expand...
Click to collapse
Cool... yeah, you're /data is encrypted
/dev/block/sdd60 on /data type f2fs (rw,seclabel,nosuid,nodev,noatime,background_gc=on,discard,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,verify_encrypt,inline_encrypt,active_logs=6)
ugg....

Build Props Tweaks

Build Props Tweaks [For both rooting method (System & Systemless)]
Code:
I am NOT responsible for bricked devices, destroyed SD cards or any
damage that may happen to your device.
We need to add this code to the end of file "/system/build.prop"
I will add complete information in the future about these codes!
I try these in Lineage OS 17.1 and give good results!
To begging these tweaks:
1- Enable adb from developer options.
2- In recovery mode and mount System partition and connect your USB to your computer!
3- Open your computer terminal and type this (to pull(download) the file "/system/build.prop" to your Desktop):
adb pull /system/build.prop ~/Desktop/build.prop
4- Now come to your Desktop and first take a backup from this file then open the file "build.prop" with text editor and add all below codes to the end of file "build.prop" then save it! (don't try to edit other lines!)
Code:
#----------------------------------
# Start
#----------------------------------
# Audio enhancer
persist.audio.fluence.mode=endfire
persist.audio.vr.enable=true
persist.audio.handset.mic=digital
af.resampler.quality=255
mpq.audio.decode=true
#----------------------------------
# Call delay
ro.telephony.call_ring.delay=800
#----------------------------------
# Video acceleration enabled
video.accelerate.hw=1
#----------------------------------
# Wifi scaning rate [every 60 --> 1 scan / min]
wifi.supplicant_scan_interval=180
#----------------------------------
# Deeper sleep/better battery life [for extrimmly power save] [kills all background apps]
ro.ril.disable.power.collapse=1
# pm.sleep_mode=1
#----------------------------------
# Improves audio and video recording quality
ro.media.enc.hprof.vid.fps=65
ro.media.enc.hprof.vid.bps=8000000
ro.media.capture.maxres=8m
ro.camcorder.videoModes=true
#----------------------------------
# Picture Quality Enhancer
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
#----------------------------------
# Disable Boot Animation [for Enable set 0]
debug.sf.nobootanimation=1
#----------------------------------
# Disable Camera Sound
ro.camera.sound.forced=0
#----------------------------------
# Better Scrolling
ro.min_pointer_dur=8
ro.max.fling_velocity=12000
windowsmgr.max_events_per_sec=120
#----------------------------------
# Disable strict mode checking
persist.android.strictmode=0
#----------------------------------
# Remain launcher in memory
ro.HOME_APP_ADJ=1
#----------------------------------
# Disable usb debugging popup in notification
# persist.adb.notify=0
#----------------------------------
# Proximeter delays
ro.lge.proximity.delay=25
mot.proximity.delay=10
#----------------------------------
# media enhancer [codecs]
ro.media.dec.aud.flac.enabled=1
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.avi.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.dec.aud.wma.enabled=1
ro.media.dec.aud.mp3.enabled=1
ro.media.dec.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
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
#----------------------------------
# Improved performance
debug.performance.tuning=1
#----------------------------------
# DNS Servers [Quad9 & Cloudflare]
net.dns1=9.9.9.9
net.dns2=149.112.112.112
net.dns3=1.1.1.1
net.dns4=1.0.0.1
net.wlan0.dns1=9.9.9.9
net.wlan0.dns2=149.112.112.112
net.wlan0.dns3=1.1.1.1
net.wlan0.dns4=1.0.0.1
net.eth0.dns1=9.9.9.9
net.eth0.dns2=149.112.112.112
net.eth0.dns3=1.1.1.1
net.eth0.dns4=1.0.0.1
net.wcdma.dns1=9.9.9.9
net.wcdma.dns2=149.112.112.112
net.wcdma.dns3=1.1.1.1
net.wcdma.dns4=1.0.0.1
net.hspa.dns1=9.9.9.9
net.hspa.dns2=149.112.112.112
net.hspa.dns3=1.1.1.1
net.hspa.dns4=1.0.0.1
net.lte.dns1=9.9.9.9
net.lte.dns2=149.112.112.112
net.lte.dns3=1.1.1.1
net.lte.dns4=1.0.0.1
net.ltea.dns1=9.9.9.9
net.ltea.dns2=149.112.112.112
net.ltea.dns3=1.1.1.1
net.ltea.dns4=1.0.0.1
#----------------------------------
# Better Network Signals
persist.cust.tel.eons=1
ro.config.hw_fast_dormancy=1
#----------------------------------
# Better call voice quality
ro.ril.enable.amr.wideband=1
#----------------------------------
# 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
#----------------------------------
# Disables built in error reporting
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
#----------------------------------
# Disables kernel error checking
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
#----------------------------------
# Disable Logcat
logcat.live=disable
#----------------------------------
# Disables sending of usage data
ro.config.nocheckin=1
#----------------------------------
# Boost Booting Speed & hibernate mode
ro.config.hw_quickpoweron=true
persist.sys.shutdown.mode=hibernate
#----------------------------------
# Very fast reboot
persist.sys.purgeable_assets=1
#----------------------------------
# Disables locating
ro.com.google.locationfeatures=0
ro.com.google.networklocation=0
#----------------------------------
# Net speed enhancer[tcp buffersize]
net.tcp.buffersize.default=6144,87380,110208,6144,16384,110208
net.tcp.buffersize.edge=6144,26280,35040,6144,16384,35040
net.tcp.buffersize.evdo_b=6144,262144,1048576,6144,262144,1048576
net.tcp.buffersize.gprs=6144,8760,11680,6144,8760,11680
net.tcp.buffersize.hsdpa=6144,262144,1048576,6144,262144,1048576
net.tcp.buffersize.hspa=6144,87380,262144,6144,16384,262144
net.tcp.buffersize.lte=262144,524288,3145728,262144,524288,3145728
net.tcp.buffersize.umts=6144,87380,110208,6144,16384,110208
net.tcp.buffersize.wifi=262144,524288,1048576,262144,524288,1048576
#----------------------------------
# For Sensor Sleep Control
ro.ril.sensor.sleep.control=1
#----------------------------------
# DHA tunning
ro.config.dha_tunnable=1
#----------------------------------
# Faster Boot-Animation FPS
# boot.fps=20
#----------------------------------
# END
#----------------------------------
5- Now we must push(upload) new file "build.prop" by typing this command in your terminal:
adb push ~/Desktop/build.prop /system/build.prop
If you have a problem with these tweaks use backup file to restore your first file "/system/build.prop"
If you have any suggestion to improve this thread please tell me!
Last update 2021/4/4
You know several of these properties are long deprecated and can be removed outright. No point in keeping them circulating as they do on every build.prop tweaks thread.
There is also the possibility, though maybe not the case with Samsung devices since I've never owned one to know first hand, that some of these properties are read from separate build.prop files. You'll have the usual prop under /system but you may also have one under /vendor, where some props like audio/gfx related, build device or patch dates, among others won't have an effect unless it is also present in the /vendor prop file. Otherwise you'll see the props "loaded" when you run 'getprop' in terminal, but whether the system actually read and set them in time in the appropriate boot stage is another issue.
Again, not certain how Samsung has these setup, there may be additional prop files that are pulled during boot like /odm. At any case, usually your best bet is not to edit the one build.prop file itself but rather add the configured properties you want to edit as a boot script using 'setprop', like under init.d or in an existing init file, if allowed, because as I understand depending on your device's init sequence those are loaded before it pulls the props from their respective mounts which would not guarantee them not being overwritten soon after, and you could remove conflicting props if it's really an issue, but it would at least allow an easy recovery without touching the prop files themselves.
Can you make these into a magisk module?
Today I don't know how to do this!
But in near future I will try to learn it!
Thanks for this suggestions!
matkali said:
Today I don't know how to do this!
But in near future I will try to learn it!
Thanks for this suggestions!
Click to expand...
Click to collapse
Good luck my friend
Dear Sir @matkali, I just want to know the proper permissions for this build.prop file before and after the editing. And - Why there are differences permissions according to differences roms and android versions ?
ant24 said:
Dear Sir @matkali, I just want to know the proper permissions for this build.prop file before and after the editing. And - Why there are differences permissions according to differences roms and android versions ?
Click to expand...
Click to collapse
You can check this file permissions by this command:
Code:
ls -l /system/build.prop
This permissions applied from rom's builder security policy!
matkali said:
You can check this file permissions by this command:
Code:
ls -l /system/build.prop
This permissions applied from rom's builder security policy!
Click to expand...
Click to collapse
Thanks Sir.
I thought the latest build was just copying articles

Build Props Tweaks

Build Props Tweaks [For both rooting method (System & Systemless)]
Code:
I am NOT responsible for bricked devices, destroyed SD cards or any
damage that may happen to your device.
We need to add this code to the end of file "/system/build.prop"
I will add complete information in the future about these codes!
I try these in Lineage OS 17.1 and give good results!
To begging these tweaks:
1- Enable adb from developer options.
2- In recovery mode and mount System partition and connect your USB to your computer!
3- Open your computer terminal and type this (to pull(download) the file "/system/build.prop" to your Desktop):
adb pull /system/build.prop ~/Desktop/build.prop
4- Now come to your Desktop and first take a backup from this file then open the file "build.prop" with text editor and add all below codes to the end of file "build.prop" then save it! (don't try to edit other lines!)
Code:
#----------------------------------
# Start
#----------------------------------
# Audio enhancer
persist.audio.fluence.mode=endfire
persist.audio.vr.enable=true
persist.audio.handset.mic=digital
af.resampler.quality=255
mpq.audio.decode=true
#----------------------------------
# Call delay
ro.telephony.call_ring.delay=800
#----------------------------------
# Video acceleration enabled
video.accelerate.hw=1
#----------------------------------
# Wifi scaning rate [every 60 --> 1 scan / min]
wifi.supplicant_scan_interval=180
#----------------------------------
# Deeper sleep/better battery life [for extrimmly power save] [kills all background apps]
ro.ril.disable.power.collapse=1
# pm.sleep_mode=1
#----------------------------------
# Improves audio and video recording quality
ro.media.enc.hprof.vid.fps=120
ro.media.enc.hprof.vid.bps=8000000
ro.media.capture.maxres=8m
ro.camcorder.videoModes=true
#----------------------------------
# Picture Quality Enhancer
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
#----------------------------------
# Disable Boot Animation [for Enable set 0]
debug.sf.nobootanimation=1
#----------------------------------
# Disable Camera Sound
ro.camera.sound.forced=0
#----------------------------------
# Better Scrolling
ro.min_pointer_dur=8
ro.max.fling_velocity=12000
windowsmgr.max_events_per_sec=120
#----------------------------------
# Disable strict mode checking
persist.android.strictmode=0
#----------------------------------
# Remain launcher in memory
ro.HOME_APP_ADJ=1
#----------------------------------
# Disable usb debugging popup in notification
# persist.adb.notify=0
#----------------------------------
# Proximeter delays
ro.lge.proximity.delay=25
mot.proximity.delay=10
#----------------------------------
# media enhancer [codecs]
ro.media.dec.aud.flac.enabled=1
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.avi.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.dec.aud.wma.enabled=1
ro.media.dec.aud.mp3.enabled=1
ro.media.dec.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
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
#----------------------------------
# Improved performance
debug.performance.tuning=1
#----------------------------------
# DNS Servers [Quad9 & Cloudflare]
net.dns1=9.9.9.9
net.dns2=149.112.112.112
net.dns3=1.1.1.1
net.dns4=1.0.0.1
net.wlan0.dns1=9.9.9.9
net.wlan0.dns2=149.112.112.112
net.wlan0.dns3=1.1.1.1
net.wlan0.dns4=1.0.0.1
net.eth0.dns1=9.9.9.9
net.eth0.dns2=149.112.112.112
net.eth0.dns3=1.1.1.1
net.eth0.dns4=1.0.0.1
net.wcdma.dns1=9.9.9.9
net.wcdma.dns2=149.112.112.112
net.wcdma.dns3=1.1.1.1
net.wcdma.dns4=1.0.0.1
net.hspa.dns1=9.9.9.9
net.hspa.dns2=149.112.112.112
net.hspa.dns3=1.1.1.1
net.hspa.dns4=1.0.0.1
net.lte.dns1=9.9.9.9
net.lte.dns2=149.112.112.112
net.lte.dns3=1.1.1.1
net.lte.dns4=1.0.0.1
net.ltea.dns1=9.9.9.9
net.ltea.dns2=149.112.112.112
net.ltea.dns3=1.1.1.1
net.ltea.dns4=1.0.0.1
#----------------------------------
# Better Network Signals
persist.cust.tel.eons=1
ro.config.hw_fast_dormancy=1
#----------------------------------
# Better call voice quality
ro.ril.enable.amr.wideband=1
#----------------------------------
# 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
#----------------------------------
# Disables built in error reporting
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
#----------------------------------
# Disables kernel error checking
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
#----------------------------------
# Disable Logcat
logcat.live=disable
#----------------------------------
# Disables sending of usage data
ro.config.nocheckin=1
#----------------------------------
# Boost Booting Speed & hibernate mode
ro.config.hw_quickpoweron=true
persist.sys.shutdown.mode=hibernate
#----------------------------------
# Very fast reboot
persist.sys.purgeable_assets=1
#----------------------------------
# Disables locating
ro.com.google.locationfeatures=0
ro.com.google.networklocation=0
#----------------------------------
# Net speed enhancer[tcp buffersize]
net.tcp.buffersize.default=6144,87380,110208,6144,16384,110208
net.tcp.buffersize.edge=6144,26280,35040,6144,16384,35040
net.tcp.buffersize.evdo_b=6144,262144,1048576,6144,262144,1048576
net.tcp.buffersize.gprs=6144,8760,11680,6144,8760,11680
net.tcp.buffersize.hsdpa=6144,262144,1048576,6144,262144,1048576
net.tcp.buffersize.hspa=6144,87380,262144,6144,16384,262144
net.tcp.buffersize.lte=262144,524288,3145728,262144,524288,3145728
net.tcp.buffersize.umts=6144,87380,110208,6144,16384,110208
net.tcp.buffersize.wifi=262144,524288,1048576,262144,524288,1048576
#----------------------------------
# For Sensor Sleep Control
ro.ril.sensor.sleep.control=1
#----------------------------------
# DHA tunning
ro.config.dha_tunnable=1
#----------------------------------
# Faster Boot-Animation FPS
# boot.fps=20
#----------------------------------
# END
#----------------------------------
5- Now we must push(upload) new file "build.prop" by typing this command in your terminal:
adb push ~/Desktop/build.prop /system/build.prop
If you have a problem with these tweaks use backup file to restore your first file "/system/build.prop"
If you have any suggestion to improve this thread please tell me!
Find this lines in the build.prop file and comment
net.dns1=8.8.8.8
net.dns2=8.8.4.4
in the recovery adb dont reconice te device..
I dont Knowl why?? Any one can help me
If you enable adb from developer options (try in power on mode to check your cable)
In twrp when connecting USB to pc wait 1min then run this command to test connection
adb devices
You must have already adb installed in your pc (to install in ubuntu).
sudo apt install android-tools-adb android-tools-fastboot
After mounting system partition you can also use file manager twrp to copy /system/build.prop
Looks promising, thanks for sharing! But as stated in the OP, explanations are really needed when it comes to build.prop tweaks. In the end it's just about convenience as of course, a responsible user can (and should) google those lines him/herself anyway, before applying anything.
Hi guys. Has anyone tried the above tweaks and can confirm that they are working fine??
adb pull /system/build.prop ~/Desktop/build.prop
adb: error: cannot create file/directory '~/Desktop/build.prop': No such file or directory
Hamid Chikh said:
adb pull /system/build.prop ~/Desktop/build.prop
adb: error: cannot create file/directory '~/Desktop/build.prop': No such file or directoryu
Click to expand...
Click to collapse
You can give what ever path's that you love it.
I use Linux and type it in that way.
'~/Desktop/' is my desktop path in my computer and 'build.prop' is file name.
matkali said:
You can give what ever path's that you love it.
I use Linux and type it in that way.
'~/Desktop/' is my desktop path in my computer and 'build.prop' is file name.
Click to expand...
Click to collapse
Tried D:/ didn't work neither
Hamid Chikh said:
Tried D:/ didn't work neither
Click to expand...
Click to collapse
You can try adb pull /system/build.prop, then drag the file to the command prompt window, assuming you use PowerShell.
so this is only for rooted devices right?
absinth4 said:
so this is only for rooted devices right?
Click to expand...
Click to collapse
Yes you most have permission of read/write of system partition of your device!

Categories

Resources