[MOD] LG G3 AIO MOD (build.prop - init.d) FOR BETTER PERFORMANCE & BATTERY LIFE

Search This thread

BuLLeT_93

Senior Member
Apr 10, 2009
622
1,290
29
Frosinone

--- Before install the mod ensure that BUSYBOX is installed, otherwise download Busybox On Rails from Play Store and install. ---

Added updated v1.2 BL93_INIT.D_MOD.ZIP (New version)


Read Carefully

Don't work with Stock Kernel (the values doesn't exist here)

If use RESOLUTION MOD OF "BL93_INIT.D_MOD_v1" on Stock based rom with G4 UX and G4 apps and have graphics problem or FC, consider that G3 is not G4 and all ported things are not native for G3. [/SIZE]


ONLY IF SELECT "RESOLUTION MOD" WHILE INSTALLING "BL93_INIT.D_MOD_v1", NEED TO CHANGE "ro.sf.lcd_density=" (DPI) VALUES IN "build.prop" FILE TO 528 OR 530 OR 532 ONLY IN STOCK BASED ROM.

IF YOU DON'T INSTALL IT DON'T NEED TO EDIT DPI

__________________________________________________

What the mod do and how it works
For best experience and less lag i recommend to use Gabriel Kernel from my friend @mostafaz
[KERNEL] [Lollipop] [Stock] [Gabriel5.] [D855]
__________________________________________________

Versions
- v1 build.prop: A lot of build.prop code (properties of ROM) to get better performance/battery life.
- v1.2 init.d:A lot of init.d scripts (scripts that run at boot) that u can select using AROMA INSTALLER to get better performance/battery life.
__________________________________________________

The codes
Build.prop Tweaks:
##
# BuLLeT_93 Tweaks
# Smooth Scrolling
windowsmgr.max_events_per_sec=100
ro.max.fling_velocity=15000
ro.min.fling_velocity=8000
ro.min_pointer_dur=8
touch.pressure.scale=0.03
##
# Disable Android Logging Stuff
debugtool.anrhistory=0
profiler.debugmonitor=false
profiler.launch=false
profiler.hung.dumpdobugreport=false
##
# Disable Log & Kernel Checks
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
ro.config.htc.nocheckin=1
ro.config.nocheckin=1
logcat.live=disable
##
# Disable Sending Report
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
##
# Rendering Tweaks
debug.composition.type=c2d
debug.egl.hw=0
debug.enabletr=true
debug.overlayui.enable=1
debug.performance.tuning=1
debug.sf.hw=1
dev.pm.dyn_samplingrate=1
ro.fb.mode=1
ro.vold.umsdirtyratio=20
persist.sys.composition.type=c2d
persist.sys.ui.hw=0
video.accelerate.hw=1
debug.egl.profiler=0
##
# Qualcomm tweaks
com.qc.hardware=1
debug.qc.hardware=true
debug.qctwa.preservebuf=1
debug.qctwa.statusbar=1
##
# Battery tweaks
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
dalvik.vm.checkjni=false
ro.ril.power_collapse=1
ro.vold.umsdirtyratio=20
ro.mot.eri.losalert.delay=1000
persist.service.lgospd.enable=0
persist.service.pcsync.enable=0
##
# Better Dalvik
dalvik.vm.verify-bytecode=false
dalvik.vm.dexopt-flags=m=v,o=y
##
#Flag tweaks
MIN_HIDDEN_APPS=false
MAX_HIDDEN_APPS=false
CONTENT_APP_IDLE_OFFSET=false
EMPTY_APP_IDLE_OFFSET=false
MAX_ACTIVITIES=false
ACTIVITY_INACTIVITY_RESET_TIME=false
MAX_RECENT_TASKS=false
MIN_RECENT_TASKS=false
ENFORCE_PROCESS_LIMIT=false
MAX_SERVICE_INACTIVITY=false
APP_SWITCH_DELAY_TIME=false
MAX_PROCESSES=false
PROC_START_TIMEOUT=false
CPU_MIN_CHECK_DURATION=false
GC_TIMEOUT=false
SERVICE_TIMEOUT=false
MIN_CRASH_INTERVAL=false
__________________________________________________

Changelog
V1.2
- Fixed conflict problem with my other MODs (Thanks to @MarvinFS and @ClownShoes for reports)
- Fixed reboots after startup
- Added init.d script to Disable KSM (Thanks to @bbergin76)

V1.1
- Fixed problem that cause SD Card Mounting/Unmounting message
- Fixed lags when Wakeup phone after Deep Sleep
- Deleted some incompatible SLEEPERS code
- Added Zipalign binary
- Updated other minor code

V1
- Initial Release
__________________________________________________

Installation
BACKUP BACKUP BACKUP, then
Download attached .zip file
Copy to Phone
Reboot in Recovery
Install
__________________________________________________

To Uninstall
Init.d tweaks MOD
- Execute the installation ZIP deselecting ALL scripts or that u want to delete.
- Reboot

Build.prop tweaks MOD
- Replace the "build.prop" file in "/system" with the "build.prop.bak" stored in /sdcard0
- Ensure to delete the ".bak" extension
- Set 644 permissions and "root/root" to "Owner/Group" to restored "build.prop" file
- Reboot

Waiting feedback ;)
 

Attachments

  • BL93_BUILD.PROP_MOD_v1.zip
    125.5 KB · Views: 5,485
  • BL93_INIT.D_MOD_v1.2.zip
    4.1 MB · Views: 7,569
Last edited:

arebokert

Senior Member
Feb 2, 2014
89
42
Sweden
Just a heads up, you switched the descriptions for v1 build.prop and v1 init.d around, the descriptions should be swapped :)
Anyway, great mod, will try it out!
 
  • Like
Reactions: dolph8886

Scorp123

Senior Member
Aug 14, 2012
456
141
I'm slightly confused by the wording in the op. Does the BL93_INIT.D_MOD_V1 include the resolution MOD? I'd rather not mess with that, but I would like to try out any other MOD's you've made here.
 

Scorp123

Senior Member
Aug 14, 2012
456
141
So are the build prop MOD's an aroma package as well? I just want to be double sure before I go messing with things like this
 

sochansam

Senior Member
Apr 18, 2014
145
27
I'm guessing this is why you need to make a backup

Hit the Thanks button if I helped you!

Well, what I did was to delete the init.d scripts and kept the build.prop (I know there was a backup made upon flashing, but maybe there is an easier way that I did not notice so I asked). Hopefully, that's all that was needed. I had issues with the SD card apparently being dismounted and some slowdown waking up so I decided to remove it.
 

zoneofSAM

Senior Member
Sep 11, 2011
237
54
30
New Delhi
OnePlus Nord 2 5G
Well, what I did was to delete the init.d scripts and kept the build.prop (I know there was a backup made upon flashing, but maybe there is an easier way that I did not notice so I asked). Hopefully, that's all that was needed. I had issues with the SD card apparently being dismounted and some slowdown waking up so I decided to remove it.

Same happened with me when I flashed buil.prop and init zips. SD card unmounted randomly!!!! I'm glad I made nandroid backup, then Restored it ;)
BTW, I'm on Cloudy g3 2.5 D855 with 0.8.1D 5.2.x kernel
 
Last edited:

Jagdish84

Senior Member
May 1, 2010
1,883
435
Well, what I did was to delete the init.d scripts and kept the build.prop (I know there was a backup made upon flashing, but maybe there is an easier way that I did not notice so I asked). Hopefully, that's all that was needed. I had issues with the SD card apparently being dismounted and some slowdown waking up so I decided to remove it.

I had the same issues but i only deleted the kernel latency and sleepers init.d scripts and rebooted...
no more slowdowns on wake(why i removed the kernel sleepers script) and SD issues(why i removed kernel latency script).
 

BuLLeT_93

Senior Member
Apr 10, 2009
622
1,290
29
Frosinone
How do I uninstall the mods?
For init.d just execute the installer and De-Select all voices ;)

Well, what I did was to delete the init.d scripts and kept the build.prop (I know there was a backup made upon flashing, but maybe there is an easier way that I did not notice so I asked). Hopefully, that's all that was needed. I had issues with the SD card apparently being dismounted and some slowdown waking up so I decided to remove it.
Same happened with me when I flashed buil.prop and init zips. SD card unmounted randomly!!!! I'm glad I made nandroid backup, then Restored it ;)
BTW, I'm on Cloudy g3 2.5 D855 with 0.8.1D 5.2.x kernel

For init.d same as top, and i will add a build.prop restorer!
And next version come's with scripts description on Aroma, to help all to choice better what needs ;)

Thanks for the reports :highfive:
 

bbergin76

Senior Member
Feb 21, 2015
106
17
Samsung Galaxy Tab S6
I had the same issues but i only deleted the kernel latency and sleepers init.d scripts and rebooted...
no more slowdowns on wake(why i removed the kernel sleepers script) and SD issues(why i removed kernel latency script).

Removing the kernel sleepers script did get rid of my slowdown on wake as well.

However, I am still getting the SD issues even after removing kernel latency script.
 

BuLLeT_93

Senior Member
Apr 10, 2009
622
1,290
29
Frosinone
  • Like
Reactions: bbergin76

Top Liked Posts

  • There are no posts matching your filters.
  • 54

    --- Before install the mod ensure that BUSYBOX is installed, otherwise download Busybox On Rails from Play Store and install. ---

    Added updated v1.2 BL93_INIT.D_MOD.ZIP (New version)


    Read Carefully

    Don't work with Stock Kernel (the values doesn't exist here)

    If use RESOLUTION MOD OF "BL93_INIT.D_MOD_v1" on Stock based rom with G4 UX and G4 apps and have graphics problem or FC, consider that G3 is not G4 and all ported things are not native for G3. [/SIZE]


    ONLY IF SELECT "RESOLUTION MOD" WHILE INSTALLING "BL93_INIT.D_MOD_v1", NEED TO CHANGE "ro.sf.lcd_density=" (DPI) VALUES IN "build.prop" FILE TO 528 OR 530 OR 532 ONLY IN STOCK BASED ROM.

    IF YOU DON'T INSTALL IT DON'T NEED TO EDIT DPI

    __________________________________________________

    What the mod do and how it works
    For best experience and less lag i recommend to use Gabriel Kernel from my friend @mostafaz
    [KERNEL] [Lollipop] [Stock] [Gabriel5.] [D855]
    __________________________________________________

    Versions
    - v1 build.prop: A lot of build.prop code (properties of ROM) to get better performance/battery life.
    - v1.2 init.d:A lot of init.d scripts (scripts that run at boot) that u can select using AROMA INSTALLER to get better performance/battery life.
    __________________________________________________

    The codes
    Build.prop Tweaks:
    ##
    # BuLLeT_93 Tweaks
    # Smooth Scrolling
    windowsmgr.max_events_per_sec=100
    ro.max.fling_velocity=15000
    ro.min.fling_velocity=8000
    ro.min_pointer_dur=8
    touch.pressure.scale=0.03
    ##
    # Disable Android Logging Stuff
    debugtool.anrhistory=0
    profiler.debugmonitor=false
    profiler.launch=false
    profiler.hung.dumpdobugreport=false
    ##
    # Disable Log & Kernel Checks
    ro.kernel.android.checkjni=0
    ro.kernel.checkjni=0
    ro.config.htc.nocheckin=1
    ro.config.nocheckin=1
    logcat.live=disable
    ##
    # Disable Sending Report
    profiler.force_disable_err_rpt=1
    profiler.force_disable_ulog=1
    ##
    # Rendering Tweaks
    debug.composition.type=c2d
    debug.egl.hw=0
    debug.enabletr=true
    debug.overlayui.enable=1
    debug.performance.tuning=1
    debug.sf.hw=1
    dev.pm.dyn_samplingrate=1
    ro.fb.mode=1
    ro.vold.umsdirtyratio=20
    persist.sys.composition.type=c2d
    persist.sys.ui.hw=0
    video.accelerate.hw=1
    debug.egl.profiler=0
    ##
    # Qualcomm tweaks
    com.qc.hardware=1
    debug.qc.hardware=true
    debug.qctwa.preservebuf=1
    debug.qctwa.statusbar=1
    ##
    # Battery tweaks
    pm.sleep_mode=1
    ro.ril.disable.power.collapse=0
    dalvik.vm.checkjni=false
    ro.ril.power_collapse=1
    ro.vold.umsdirtyratio=20
    ro.mot.eri.losalert.delay=1000
    persist.service.lgospd.enable=0
    persist.service.pcsync.enable=0
    ##
    # Better Dalvik
    dalvik.vm.verify-bytecode=false
    dalvik.vm.dexopt-flags=m=v,o=y
    ##
    #Flag tweaks
    MIN_HIDDEN_APPS=false
    MAX_HIDDEN_APPS=false
    CONTENT_APP_IDLE_OFFSET=false
    EMPTY_APP_IDLE_OFFSET=false
    MAX_ACTIVITIES=false
    ACTIVITY_INACTIVITY_RESET_TIME=false
    MAX_RECENT_TASKS=false
    MIN_RECENT_TASKS=false
    ENFORCE_PROCESS_LIMIT=false
    MAX_SERVICE_INACTIVITY=false
    APP_SWITCH_DELAY_TIME=false
    MAX_PROCESSES=false
    PROC_START_TIMEOUT=false
    CPU_MIN_CHECK_DURATION=false
    GC_TIMEOUT=false
    SERVICE_TIMEOUT=false
    MIN_CRASH_INTERVAL=false
    __________________________________________________

    Changelog
    V1.2
    - Fixed conflict problem with my other MODs (Thanks to @MarvinFS and @ClownShoes for reports)
    - Fixed reboots after startup
    - Added init.d script to Disable KSM (Thanks to @bbergin76)

    V1.1
    - Fixed problem that cause SD Card Mounting/Unmounting message
    - Fixed lags when Wakeup phone after Deep Sleep
    - Deleted some incompatible SLEEPERS code
    - Added Zipalign binary
    - Updated other minor code

    V1
    - Initial Release
    __________________________________________________

    Installation
    BACKUP BACKUP BACKUP, then
    Download attached .zip file
    Copy to Phone
    Reboot in Recovery
    Install
    __________________________________________________

    To Uninstall
    Init.d tweaks MOD
    - Execute the installation ZIP deselecting ALL scripts or that u want to delete.
    - Reboot

    Build.prop tweaks MOD
    - Replace the "build.prop" file in "/system" with the "build.prop.bak" stored in /sdcard0
    - Ensure to delete the ".bak" extension
    - Set 644 permissions and "root/root" to "Owner/Group" to restored "build.prop" file
    - Reboot

    Waiting feedback ;)
    23
    To all:
    This is a community, if there are 1000 downloads, 25 thanks and only 2-3 reports this cannot help me and we all to develop and provide useful info to others.
    If u spent 2 minute for download, 2 minute for little reports and thanks is nothing.
    5
    Bad news:
    I've to stop development until i'm back to home (above 15-20 days), now i'm on vacation and my G3 battery is dead (water damage).
    Cannot buy a new one because right now don't have the funds on my Paypal to complete the order.

    Sorry to all, cu soon :(
    5
    V1.2 Update!

    BL93_INIT.D_MOD Updated to v1.2 release

    Added also "The Codes" section.

    For changelog and download see the first page ;)

    Thanks to all for reports and don't forget to Hit the Thanks Button at first post :D
    4
    How do I uninstall the mods?
    For init.d just execute the installer and De-Select all voices ;)

    Well, what I did was to delete the init.d scripts and kept the build.prop (I know there was a backup made upon flashing, but maybe there is an easier way that I did not notice so I asked). Hopefully, that's all that was needed. I had issues with the SD card apparently being dismounted and some slowdown waking up so I decided to remove it.
    Same happened with me when I flashed buil.prop and init zips. SD card unmounted randomly!!!! I'm glad I made nandroid backup, then Restored it ;)
    BTW, I'm on Cloudy g3 2.5 D855 with 0.8.1D 5.2.x kernel

    For init.d same as top, and i will add a build.prop restorer!
    And next version come's with scripts description on Aroma, to help all to choice better what needs ;)

    Thanks for the reports :highfive: