FORUMS
Remove All Ads from XDA

[APP][4.1+] HEBF Optimizer - Battery saver and root toolbox - v2.1 (2018/06/20)

281 posts
Thanks Meter: 734
 
By IvsomEmidio, Senior Member on 18th June 2016, 09:31 PM
Post Reply Email Thread
Announcement from IvsomEmidio: THE BEST VERSION IS OUT! HEBF 2.0.1 (PHOENIX)
Quote:

/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this application
* before installing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, we will laugh at you.
*/
*/

INDEX

Post 1 : Introduction and informations
Post 2 : Downloads
Post 3 : ChangeLogs
Post 4 : Tweaks Sumary


Feeling heartbroken? Someone screwed up with you? Forget it. Your heart can be empty, do not let your battery get too!

HEBF(empty heart, full battery)
Created in the midst of a broken heart, on top of this, my device's battery was discharging fast and increasing my fury, then the application was created in 2014 (before in shell) intended to improve battery life and performance of your phone using tweaks and mods.

What is HEBF?

HEBF Optimizer is an application that aims to increase the performance of your device, also by focusing on battery performance, we didn't forget it.
The application also features a useful and smart toolbox that you can use whenever you want.

Dashboard:
  • Quickly set battery and performance profiles
  • RAM and CPU load
  • Quick memory cleaner
  • Manage app services

Battery:
  • Battery information
  • Improve Battery
  • Google Play Services Drain Fix
  • Wifi Settings
  • Multicore power saver
  • Reset battery statistics

Performance:
  • Performances Tweak
  • Best Multitasking
  • Reduce in-call delay
  • GPU Renderization
  • Improve Rendering Quality
  • Liquid smooth UI
  • Better scrolling

VIP Battery Saver: NEW!
  • Profiles
  • Auto turn on
  • Toggle Android default battery saver
  • Disable Wi-Fi and mobile data
  • Force stop apps

Game Booster:NEW!
  • Profiles
  • Clean caches
  • Set gaming low memory killer profile
  • Force Stop apps

Fstrim: NEW!
  • Manual fstrim
  • Scheduled fstrim

Advanced Options: NEW!
  • Build.prop editor
  • Manual DNS
  • Entropy manager
  • ART Compiler Filter
  • Sysctl
  • Scripts runner

CPU Manager: NEW!
  • Set CPU Frequency
  • Set Governor

Tools:
  • Apps manager (Freeze, uninstall, clear data, permissions etc)
  • Faster boot
  • Kil mediaserver
  • Hostname changer
  • DPI changer
  • Disable Kernel Panic
  • Disable Logging

RAM Manager:
  • App Killing Tendency control
  • Low Memory Killer

Kernel Options(Only custom kernels):
  • DoubleTap2Wake
  • USB Fast Charge
  • KSM
  • Dynamic Fsync

Cleaner:
  • Clean Junk files/Hidden thumbnails/Screenshots/caches
  • Whatsapp Cleaner
  • Telegram Cleaner

Widgets:
  • Fstrim
  • Rebooter (Reboot/Bootloader/Recovery/Power off/DownloadMode)
  • CPU Mode
  • Game booster



What is necessary to use this application?
  • A rooted phone
  • Busybox installed (We recommend the Stericson's one)
  • Android 4.1+
We need your help!
App translation
We are needing translators and a english reviewer (Yes)
There is not much to translate, it is arround to 400 [?] entries
There are two ways to get started:
  • Grab the file on GitHub
  • (App) Go to About > left side of the three-dot menu > Translate this app and follow the instructions
You can translate whenever you find time to!!!

Easier way:
There is an app called "Stringlate" which allows you to translate through your Android device.
All you need to do is:
  1. Install the app, of course
  2. Add a new repository (Use Owner: Lennoard, Project: HEBF) (Or paste this URL: https://github.com/Lennoard/HEBF)
  3. Once you have added the repository, add a new locale and choose (E.g pt = Portuguese, fr = French)

Download Stringlate

Stringlate help
Stringlate README.md

Current translations:
English reviewed by GitHub user weazie
Brazilian portuguese by HEBF Team
German by GitHub user VenityZ and Christof Schäfer
French by XDA Member @Nitorac
Russian by XDA Member @Hanabish Recca
Spanish reviewed by Alekss Ro
Italian by XDA Member @TheGatorade
Turkish by Umut TURUNÇ
Indonesian by Ezra Lazuardy
Chinese by GitHub user @008exe

Most wanted translators:
Arabic
Hindi
Japanese
Polish


Thank you! You will be honoured by helping thousands!

Thanks to
  • @ChainFire
  • @Page96
  • @Lennoard
  • Android VIP
  • Beta Testers

HEBF Blog
HEBF Google+ Community
Facebook Page

XDA:DevDB Information
HEBF Optimizer, App for the Android General

Contributors
IvsomEmidio, Lennoard, Jamiéric GS, Guilherme Augusto, Jamieric Gomes, Android VIP Users
Source Code: https://github.com/Lennoard/HEBF


Version Information
Status: Stable
Current Stable Version: 2.0.2
Stable Release Date: 2017-11-17
Current Beta Version: 2.1
Beta Release Date: 2018-06-21

Created 2016-06-18
Last Updated 2018-06-21
The Following 197 Users Say Thank You to IvsomEmidio For This Useful Post: [ View ] Gift IvsomEmidio Ad-Free
 
 
18th June 2016, 09:31 PM |#2  
IvsomEmidio's Avatar
OP Senior Member
Flag VIP City
Thanks Meter: 734
 
Donate to Me
More
Downloads


HEBF Google+ Community
Facebook Page
HEBF Blog



Notice: Fenix 2.0.0 is out !
The Following 67 Users Say Thank You to IvsomEmidio For This Useful Post: [ View ] Gift IvsomEmidio Ad-Free
18th June 2016, 09:31 PM |#3  
IvsomEmidio's Avatar
OP Senior Member
Flag VIP City
Thanks Meter: 734
 
Donate to Me
More
Reserved
Changelogs:
1.0.1b
  • Second beta release
  • Now HEBF notifies you when the thumbnails size is over 300Mb!
  • Fixed Force Close when switching to Landscape mode
  • Tweaks revisions
  • Added Force connection type indicator
  • Color changes
  • Text revisions
  • Added more cleaner options
  • Collapsing AppBar Layout on About screen. The new FloatingActionButton takes you to the build folder at AFH
  • HEBF now verifies whether the necessary files exists and shows a warning if does not
  • Updated credits
  • Updated licenses dialog

v1.0.2b
  • Third beta release
  • Attempt to fix Force Close bug at the first time (By asking for READ first)
  • Fixed and improved busybox detection (We hope so) Thanks to @Omario-242
  • Updated translations
  • We started to work on lighter performance tweaks
  • Source code clean up (Partial)
  • Application log (/system/etc/HEBF/app.log) (@Marília de Oliveira) BR


v1.0.3
  • v1.0.3 Released
  • HOT: Fixed FC due storage permissions on Android 6.0+ FOREVER
  • Now I don't need to kill myself

    Changelog:
  • 4rd beta release
  • Fixed Force Close bug at the first time (No luck before)
  • Version changes
  • Library updates
  • Updated translations
  • Fixed notification icon size
  • Added clean thumbnails at boot

v1.0.4 Pre-Stable

*Hot:* Added German translations by @VenityZ
*Hot:* Added profiles menu
Improved application's performance
Updated Tweaks (Thanks again to the myth @Paget96 for his mythness)
Small color changes
Improved dialogs look
Fixed notification icons
Removed cleaner scripts at boot
Removed strange shadow above the toolbar
Improved ART Fix Switch system

v1.0.5

Updated Tweaks
Added Kernel Panic
Added Settings screen
Fixed battery calibration dialog
Separated faster boot into 2 options
Removed tweaks Cards if they don't match with the Android version
Improved tweaks explanations (more coming real soon)
v1.1.2 (Especial Version)

Updated tweaks
Improved descriptions
Added widgets, check them out!
3 options for the Floating Action Button at the Main screen, check them out!
Added Force English language on settings
Better management of new versions: if a new version is installed, a notification will ask you to copy the files again
Added Power saver for multicore CPUs
Decreased margins size on landscape mode
DPI Changer and Hostname changer now show the current value as a hint
Added manufacturer's bloatware remover (Limited)
Force copy option now shows a progress dialog
New options for Google Play Services drain fix (Experimental)
WhatsApp files cleaner now shows the current size of the folders
Reduced necessary thumbnails size for a notification to show
Added Low Memmory Killer - minfree manager
Added Reduce in-call delay
Added Better rendering quality
Added use GPU for rendering
Added TCP tweaks
Added Google DNS
Added Better 3G connection
Added NET tweaks
Added Improve browsing
Added Better streaming
Improved block buttons layout
Improved CardView's ripple effect
Bug fixes

v1.1.4

Fixed problems with root access
Fixed problems with profiles and infinite progress dialogs
Fixed problems with the introduction of the application, which suddenly ends sooner than expected making an error appear asking to copy the files again.
General improvements for 4.4-
Other bug fixes.

v1.3b

Updated German translations by Christof Schäfer
Added Russian translations by XDA Member @Hanabishi Recca
Added tablet layouts
Added Telegram and Screenshots Cleaner
Added Low RAM Device flag
Adblocker updated
Improved application performance
UI and design changes
Improved navigation
Better support
General improvements for everyone on 6.0+
Bug fixes

v1.5.1- Hanabi

Fixed issues for 4.4-
Added a Build.prop Editor [Advanced options]
Added a Run as Root option [Advanced Options]
FStrim updated
Prevent service to be killed on boot so it can be finished correctly
Fixed back button not working for some screens

v1.5.2- HNOH

- Non-launcher shortcuts for apps [Android 7.1]
- DNS Changer added [Advanced Options]
- Entorpy Manager added [Advanced Options]
- Adaptive LMK control added
- Added Fsync control
- Design and layout changes
- Added a splash screen
- Enhanced logging [Settings]
- Small changes of information
v1.5.3

- Presets added to Build.prop editor
- Low Memory Killer updated (improved logic + apply at startup)
- Game Mode Removed
- Game Booster added

v1.5.4 (PLAYSTORE BETA)

Battery information
Notification improvements
Spanish translation reviewed by Alekss Ro
Initial Hindi translation by XDA Member @sohamsen
Added Turkish translation by Umut TURUNÇ
Hint for current DNS [Manual DNS @advanced Options]
Layout changes
v1.5.4-March Rain

Added presets for build.prop editor
Updated Low Memory Killer (RAM management profiles + improved logic + apply on boot)
Battery information
Spanish translation reviewed by Alekss Ro
Initial Hindi translation by XDA Member @sohamsen
Added Turkish translation by Umut TURUNÇ
The return of the SELinux switch
Notification improvements
Hint for current DNS [Manual DNS @advanced Options]
Layout changes
Removed Game mode
Game Booster added
Logging improved
Code improvements

2.0.0 FÊNIX

[!] Preferences were reset, some settings may have been lost

New Intro screen

Added a dashboard screen

Added a device info screen
Added a CPU Manager screen (basics for now)
Changed colors: The blood color of my broken heart is red, not pink
Decreased margins size
You can now stop HEBF services individually
You can now schedule fstrim and select which partitions to trim
Improved Game Booster and its widget
Improved ART Compiler Filter option

Improved VIP Battery Saver
added a widget and a Quick Settings Toggle
Improved Backup / Restore: you can now share, import or export a backup as a configuration file. It also supports directly opening confuguration.zip files
Moved uncategorized options to the "Tools" screen
Removed Wi-Fi sleeper
Added Wi-Fi Settings (user lvl 3)

Added Instant Doze option (6.0+)
Info about the DNS server (External link)
Better logging system

Google Play Services Drain Fix is back with a different approach
Widgets updated

Updated Settings screen
Liquid Smooth UI updated
Lots of bug fixes including:
/data/data junk size not being shown
Crash due permission denied errors
Root shell
Fsync path
Whatsapp cleaning failure
ANR while reapplying changes
Text not being shown in some small screens
VIP Battery saver improviments and new UI
Game Booster UI
Tweaks UPDATED
And much more (See GitHUB)
The Following 53 Users Say Thank You to IvsomEmidio For This Useful Post: [ View ] Gift IvsomEmidio Ad-Free
18th June 2016, 09:31 PM |#4  
IvsomEmidio's Avatar
OP Senior Member
Flag VIP City
Thanks Meter: 734
 
Donate to Me
More
Tweaks summary

Fstrim
Discards "trims" unused blocks on a mounted filesystem, reducing the lag by running
Code:
fstrim -v /cache
fstrim -v /system
fstrim -v /data
using the fstrim binary (duh ).It is recommended that you fstrim at least once in a week.

Zipalign
Optimizes the android package files (and its uncompressed data) alignment. It is not "necessary" on 5.0+ apks
Let us quote developer.android.com :
Quote:

Zipalign is an archive alignment tool the provides important optimization to Android application (.apk) files. The purpose is to ensure that all uncompressed data starts with a particular alignment relative to the start of the file. Specifically, it causes all uncompressed data whitin the .apk, such as images or raw files, to be aligned on 4-byte boundaries.
[...]
The benefit is a reduction in the amount of RAM consumed when running the application.


AdBlocker
Not avaliable in the Play Store version, and may not be here for too long.
Modifies the hosts file (/system/etc/hosts) to block all the advertisements, including in-app ads.
Faster boot
Sets the shutdown mode to hibernate and enables the Quick Power On feature, speeding up the boot time.
  • Disable bootanimation
    • Reduces the boot time by disabling the bootanimation (It may seem that your device will not turn on correctly, but it is normal).

Improve battery
Avaliable for 5.0- and 5.0+ (yes), Optimizes the Wi-Fi scan interval, enables the power saving mode, disables the error reports without performance impacts to improve your battery life.

Google Play Services drain fix
Not avaliable in the Play Store version.
Fixes the battery drain caused by some of the Google Play Services background services.
WARNING: IT WILL DISABLE THE SERVICES, ENABLE THIS OPTION ONLY IF YOU ARE OK WITH IT AND IF YOU ARE EXPERIENCING DRAIN.
Avaliable services:
  • Location
  • Check-in
  • System update
  • User report
Reenabling the services may take some time, please be patient

Wi-Fi Sleeper
Increases your battery life by controlling, preventing and scheduling the Wi-Fi to switch itself on/off.
The value set for WiFi idle wait is 15 seconds
Power saver for multicore CPUs
This CPU balance attempts to run the workload in the system on minimum number of CPU packages and tries to keep rest of them idle for longer duration, helping other packages to be in idle state and save power.
First, it checks whether your device has the power suspend mode and then set the value according to your selection to ys/kernel/power_suspend/power_suspend_mode
Let's quote android.com
Quote:

The power states of the system on a chip (SoC) are: on, idle, and suspend. “On” is when the SoC is running. “Idle” is a medium power mode where the SoC is powered but doesn't perform any tasks. “Suspend” is a low-power mode where the SoC is not powered. The power consumption of the device in this mode is usually 100 times less than in the “On” mode.

And kernel.org:
Quote:

The kernel supports up to four system sleep states generically, although three
of them depend on the platform support code to implement the low-level details
for each state.
The states are represented by strings that can be read or written to the
/sys/power/state file. Those strings may be "mem", "standby", "freeze" and
"disk", where the last one always represents hibernation (Suspend-To-Disk) and
the meaning of the remaining ones depends on the relative_sleep_states command
line argument.

Note that in Android is a bit different but the thought is the same

Disable manufacturer bloatware
Not avaliable in the Play Store version. Currently only available for Sony
Freezes some useless packages and applications, you choose which.
Performance tweak
Enables the performance tunning mode, decreases the colors number to 16bpp (16 bits per pixel) and optimizes the "fling" velocity (smooth scroll) for a general improvement with minimal impact on battery.
The 16bpp mode is most noticiable in darker areas.

Best Multitasking
Tunes the Low memory killer parameters for a better multitasking profile, based on the amount of RAM available.

Gaming mode
Optimizes the FPS limit, enables purge of assets and frees more RAM for performance improvements in games.

Reduce in-call delay
Reduces the delay to receive or end a call

Better scrolling
Might drain
Improves the scrolling responsiveness and speed.
Liquid smooth UI
Can drain
Optimizes the touch pressure scale for improved user interface elements.

Improve rendering quality
May drain
Optimizes the screen composition properties and enables overlay UI mode for a better graphics quality.

Use GPU Acceleration
Will drain
Enables the hardware accelerated UI, forces GPU screen composing and disables the vsync for a much better performance at the cost of battery.

TCP tweaks
Improves various TCP values for the IPv4 protocol such as timeout and sockets reuse.

Use Google DNS
An public alternative to your current DNS provider. Google DNS (8.8.8.8 and 8.8.4.4) will improve the security and speed up the browsing.
Guess what, it is free.

Improve 3G speed and signal
Improves a set of RIL and HSDPA properties, prefix and GPRS classes to improve the quality of the connection.
Improve browsing speed
Tweaks for the buffer size of the connection types, from LTE to GPRS. Results in a better browsing experience.

Better video streaming
Tweaks for the stagefright (the Android media library, not the bug). Results in smoother video streams.


Force connection type indicator
Attempts to force the connection indicator to show (The 4G/LTE, H+, H, 3G, E or in some unfortunately cases, G icon on statusbar). Requires a AOSP or AOSP based Custom ROM.

ART Fix
Only forAndroid 5.0+
Sets the dex2oat as interpret only, making the applications load faster.
The dex2oat is the new runtime since Lollipop, it compiles the dex file directly so your processor can execute the code natively. This process to take the dex and prepare for a direct process is called OAT.
According to Google, interpret only would skip all compilation and relies on the interpreter to run code. This should cause:
  • Apps will load faster as dex2oat won't touch the code again, so, no more waste of storage too.
  • There will be less time to that screen "Optimizing app X of X"

Battery calibration
Calibrates your battery by erasing the batterystatus.bin file generated by the Android OS containing battery statistics (which sometimes gets corrupted). YOU MUST ONLY CALIBRATE WITH BATTERY LEVEL AT 100%.
Kernel Panic
Kernel panic is an action performed when the system detects a fatal software / hardware error from which it can't recover. Similar to the blue screen of death, of which I was victim. (Dayumm :/ )
Disabling it may slightly reduce lags and avoid random reboots.

Disable logging
If you don't want to see the Android striving to record everything that is happening in all applications, enable this option.
Some say that this can save battery...

SELinux Changer
Tries to changes the Security Enhancements status (SELinux) by running
Code:
setenforce [ ]
On Android 4.4 and later, the default value is enforcing, unless changed by a custom kernel.

DPI Changer
Changes the LCD density. Smaller values are equal to larger screen space
Default DPI for some screen resolutions:
Code:
240x320(ldpi) - 120
320x480(mdpi) - 160
480x854(hdpi) - 240
540x960(hdpi as well) - 240
720x1280(xhdpi) - 320
1080x1920(xxhdpi) - 480
Warning: Please disregard the above information if you are running this application on a Tablet.


Hostname Changer
Another extra feature to change the hostname (the device's name when connected to a Wi-Fi or Ethernet network).
The default name is someting like android-0d02d3352rd2
See:
The Following 36 Users Say Thank You to IvsomEmidio For This Useful Post: [ View ] Gift IvsomEmidio Ad-Free
18th June 2016, 10:24 PM |#5  
Senior Member
Thanks Meter: 63
 
More
The best App for tweaking! ❤
God job, my team! 😎
The Following 5 Users Say Thank You to Jamiéric GS For This Useful Post: [ View ] Gift Jamiéric GS Ad-Free
19th June 2016, 12:40 AM |#6  
DeluxeMark's Avatar
Senior Member
Thanks Meter: 80
 
More
Nice APP! It helped me so much

Sent from my Moto G 2014 using XDA-Developers mobile app
The Following 3 Users Say Thank You to DeluxeMark For This Useful Post: [ View ] Gift DeluxeMark Ad-Free
19th June 2016, 01:00 AM |#7  
Lennoard's Avatar
Senior Member
Flag Teresina
Thanks Meter: 587
 
Donate to Me
More
Quote:
Originally Posted by DeluxeMark

Nice APP! It helped me so much

Sent from my Moto G 2014 using XDA-Developers mobile app

Thank you, please keep an eye on it and report anything you judge necessary!
19th June 2016, 01:20 AM |#8  
DeluxeMark's Avatar
Senior Member
Thanks Meter: 80
 
More
Would be possible to add a section for RAM manager? It was perfect

Sent from my Moto G 2014 using XDA-Developers mobile app
19th June 2016, 01:35 AM |#9  
Lennoard's Avatar
Senior Member
Flag Teresina
Thanks Meter: 587
 
Donate to Me
More
Quote:
Originally Posted by DeluxeMark

Would be possible to add a section for RAM manager? It was perfect

Sent from my Moto G 2014 using XDA-Developers mobile app

We're looking into it with the "profiles" concept but please, formalize the feature request here
The Following 2 Users Say Thank You to Lennoard For This Useful Post: [ View ] Gift Lennoard Ad-Free
19th June 2016, 02:14 AM |#10  
Omario-242's Avatar
Senior Member
Flag Munich
Thanks Meter: 386
 
More
Crashed on first start up on my Sony Xperia Z3 with Android N Preview 3
Did a restart of the app and it seems to work just fine.
Somehow it doesn't detect the busybox installation as it constantly gives
out the error message (I have sterricsons busyboy installed and updated).
Enabled a few tweaks here and there,
Will probably give feed back if I notice any improvements.
The Following 3 Users Say Thank You to Omario-242 For This Useful Post: [ View ] Gift Omario-242 Ad-Free
19th June 2016, 02:48 AM |#11  
Lennoard's Avatar
Senior Member
Flag Teresina
Thanks Meter: 587
 
Donate to Me
More
Quote:
Originally Posted by Omario-242

Crashed on first start up on my Sony Xperia Z3 with Android N Preview 3
Did a restart of the app and it seems to work just fine.
Somehow it doesn't detect the busybox installation as it constantly gives
out the error message (I have sterricsons busyboy installed and updated).
Enabled a few tweaks here and there,
Will probably give feed back if I notice any improvements.

This crash is due storage permission being reseted for some reason, just in case it still remains crashing, check it on Settings.
We'll put it on FAQ soon.
About the busybox... That's a problem. Is it installed at /system/xbin?
And finally, Android N support is currently not guaranteed so surely there is work to be done
Thank you for your feedback, we appreciate your help
The Following User Says Thank You to Lennoard For This Useful Post: [ View ] Gift Lennoard Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes