[ROM][5.1][PEREGRINE][STOCK]Debloated, GApps-free XT1039 ROM (update - 29.02.2016) - Moto G 4G Android Development

Introduction
This ROM is based on lost101's work, that you can read about here. I used his Retail EU 5.1 ROM (Optimized) v1.1 for XT1039 as a base of my own "project" of further debloating and removing as much Google's stuff as possible. The main aim is to use clean and stable Android and improve privacy. My work is simply removing things from system/app and system/priv-app folders and testing if everything still works, and by "works" I mean that I can use my phone as a daily driver and depend on it.
Disclaimer
Even if everything works 100% fine for me I take no responsibility for anything that happens to anyone else's device after flashing my ROM. If you want to try it, do it on your own risk.
Description
This is Retail EU 5.1 ROM (Optimized) v1.1 for XT1039 by lost101 with the following modifications:
ver 0.9
Files removed from system/app folder:
- atfwd
- BasicDreams
- Calculator
- CalendarGoogle
- com.motorola.android.settings.diag_mdlog
- Exchange2
- Facelock
- FMRadioservice
- FMRecordService
- GoogleContactsSyncAdapter
- HoloSpiralWallpaper
- LiveWallpapers
- LiveWallpapersPicker
- NoiseField
- PartnerBookmarksProvider
- PhaseBeam
- PhotoTable
- Piktures
- PrintSpooler
- SoundRecorder
- UserDictionaryProvider
- VisualizationWallpapers
Files removed from system/priv-app folder:
- AudioEffects
- BackupRestoreConfirmation
- CalendarProvider
- ContextEngineClient
- CQATest
- Email
- EmaraPhoneExtns
- GoogleBackupTransport
- GoogleFeedback
- Moodles
- MotCamera
- Phonesky
- PreloadContacts
- WallpaperCropper
Files added to system/app folder:
- SimpleExplorer
ver 0.9.2
Files removed from system/app:
- BrowserProviderProxy
- LatinIMEGoogle
- HTMLViewer
- SimpleExplorer
Files removed from system/priv-app:
- CellBroadcastReceiver
- WapPushSI
Files removed from system/etc/permissions:
- com.google.maps.xml
- com.google.android.media.effects.xml
- com.google.widevine.software.drm.xml
- com.motorola.camera.xml
- com.motorola.context.xml
- com.motorola.gallery.xml
- com.motorola.software.fmradioservice.xml
- com.motorola.software.fmrecording.xml
Files removed from system/network:
- com.google.android.maps.jar
- com.google.android.media.effects.jar
- com.google.widevine.software.drm.jar
- com.motorola.gallery.jar
Files removed from system/vendor:
- PittPatt folder and its content
Files removed from system/usr/srec/en-US:
- all files
Files added to system/app:
- AnySoftKeyboard
- MIxplorer
ver 1.0_beta
Files removed from system/app:
- ConfigUpdater
Files removed from system/priv-app:
- GmsCore
- GoogleLoginService
- GoogleOneTimeInitializer
- GooglePartnerSetup
- GoogleServicesFramework
- MotoOneTimeInitializer
- SetupWizard
- SetupWizardExt
- StorageOptimizer
Files added to system/bin:
- sqlite3 (downloaded here). Please continue reading to see why you need it
build.prop changes:
- "ro.setupwizard.mode=OPTIONAL" changed to "ro.setupwizard.mode=DISABLED"
Flashing
1. Boot into TWRP
(2. Backup)
3. Format data (Wipe>Format data>yes)
4. Transfer ROM to SD card/Local storage
5. Wipe>Factory reset
6. Install
7. Reboot
Remove SIM card before initial boot. This is to avoid download of any automatic "updates" using your mobile data during initial setup of your device.
Initial boot and initial setup (v0.9 & 0.92 only)
a) Skip connecting to WiFi network
b) On "About your privacy" screen go to privacy settings and disable the following:
- Help improve Motorola products (enabled by default)
- Enhanced device support (enabled by default)
c) Skip adding your name
d) On "Google services" screen disable the following:
- Use Google's location service (enabled by default)
- Help improve location services (enabled by default)
- Help improve your Android experience (enabled by default)
Initial boot and initial setup (v1.0_beta only)
No initial setup as Setup Wizard has been removed
Post-installation setup (v0.9 & 0.9.2 only)
1. Turn WiFi off and go to Google Settings:
a) in "Ads" tab opt out of interest-based ads and reset advertising ID
b) in "Location" tab turn location on - when "Improve location accuracy?" pop-up appear choose "DISAGREE" and turn location back off
c) in "Security" tab disable "Allow remote lock and erase", "Improve harmful app detection" and "Scan device for security threats" options (all enabled by default). These steps are essential if you want to disable Google Play Services
2. Go to phone's Settings:
a) Language & input > Spell checker (only ver 0.9. For later versions see post #2):
- while it's on by default enter Google Spell Checker settings and disable "Look up contact names" option (enabled by default)
- Turn Spell checker off
b) Language & input > Google Keyboard (only ver 0.9. For later versions see post #2):
- in "Accounts and Privacy" tab disable "Improve Google Keyboard" option (enabled by default)
- in "Preferences" tab disable "vibrate on key press" and "sound on key press" options (it saves some battery)
- in "Text correction" tab disable "Block offensive words", "Auto-correction", "Show correction suggestions", "Personalised suggestions","Suggest contact names" and "Next-word suggestions" options (all enabled by default)
c) Sound & notification > other sounds:
- disable "Dial pad tones", "Screen locking sounds", "Touch sounds", "Vibrate on touch" options (all enebled by default) to save some battery
d) WiFi > Advanced > disable "Scanning always available" option. It will save your battery and protect your privacy as some sensitive data (eg. saved network names and addresses) is being broadcasted by your device. If you want to keep scanning on you can protect yourself with eg. PryFi
e) Wireless & networks > More > Emergency broadcast - turning them off will save some RAM and battery life
f) Apps > All > disable the following:
- Browser message
- Downloads
- Google account manager*
- Google one time init*
- Google partner setup*
- Google play services*
- Google services framework*
- Messenger
- Motorola one time init*
- Motorola services*
- Photos
- Setup*
- Setup Wizard*
*In case you're wondering why they were not removed from the ROM - they're all being used during initial boot and setup. If you remove them from the ROM the system won't start. If you remove them from the system/priv-app folder after installation you won't be able to do factory reset.
g) Open Dialer and go to Settings > Advanced > turn "Nearby places" off
4. Use Simple Explorer to install all the apps you want. I'd suggest installing firewall and setting it up before inserting SIM card and turning WiFi back on to avoid any unnecessary and unwanted downloads. I personally use AFWall+ (XDA thread, download)
Post-installation setup (v1.0_beta only)
After your device boots you will find the Setup Wizard is not launching. This is normal since all GApps have been removed. Everything seems normal and ready to use, however some crucial UI functions (Home button and quick settings) are disabled - this is also normal. Home button is disabled to prevent user escaping Setup Wizard before it's completed - same for Quick Settings - you can't access them before setup is done. In normal situation unlocking UI functions is handled by Setup Wizard and GmsCore services, but since they've been removed from this ROM you have to do it manually:
1. Go to Settings > About phone > tap Build number 7 times to unlock Developer options > back > Developer options > enable USB debugging
2. Connect the phone to PC and execute the following commands with ADB:
Code:
adb shell
su
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
insert into global (name, value) VALUES('device_provisioned', 1);
insert into secure (name, value) VALUES('user_setup_complete', 1);
.quit
reboot
Your UI is now restored and your phone is ready to use. Please refer to setup instructions for versions 0.9 and 0.9.2 for general ideas what can/should be done next.
Known issues
- FC of Language & input menu in Settings after going back from "Language", "Spell checker" and "Google Keyboard"
Battery life
I'm using ver 1.0 beta (I guess it's not beta anymore as it proved to be working and stable). The battery life is exceptional. Overnight drain is around 0.1-0.2% per hour so you can expect your battery to go down no more than 1-2% when you sleep. BetterBatteryStats (big thanx to chamonix for the free XDA edition of his app) shows that my device stays in deep sleep for about 98% of time. Please note I've got all sync services disabled as well as wifi scanning and all radios but phone (which is in 2G mode all the time), I also use Greenify and the biggest battery drainer seems to be Gravity Screen I use to automate screen on/off with flip cover. Don't be surprised if your phone stays on in standby mode for more than 3 weeks if left in one place with good network signal (vs. official 8.8 days).
In everyday use, which for me means having the phone on 24/7, making a few calls a day and some 1 hour of WiFi/4G internet browsing daily I usually have to charge it once every 3-4 days. Please note I try to keep my battery between 90-10%, so I rarely charge it 100%.
Life after Google
You can try using Micro GmsCore to access Play Store content, and here are some alternatives:
1. Interesting and useful apps in F-Droid store:
- Adaway (system-wide ad blocker)
- AFWall+ (very nice firewall. I use it in whitelist mode because it blocks internet access to all apps by default)
- Etar (calendar. Won't work without Google calendar service and account)
- K-9 mail (bit ugly but awesome mail client)
- Open camera (stock camera replacement)
- Wifi automatic (turns wifi off when you lock the screen which saves battery and improves security. Bugged a little and randomly disables wifi from time to time)
- SMSsecure (messaging app with encryption)
- 920 Editor (text editor)
- Document Viewer (self explanatory)
- Network Log (self explanatory)
2. Other interesting and useful apps around the web (mostly on XDA):
- ApkTrack (app updates tracker),
- Calc+ (calculator),
- CoolTool (CPU and RAM usage and other info display),
- DejaOffice (office app that looks a bit outdated, but it's the only calendar app to work without Google services I found so far),
- Disconnect.me (private web searches; the app FC right after starting it, probably due to lack of Google search services available)
- DriveDroid (turns the phone into Linux live USB),
- ES File Explorer (file explorer),
- Firefox (web browser),
- Gravity Screen (Turning screen off and on without using physical power button),
- Greenify (apps hibernator),
- KWGT (custom widget maker),
- LiveBoot (Chainfire's app that replaces boot animation with system log display),
- maps.me (open source google maps alternative),
- MiXPlorer (file explorer),
- MoboClean (permissions manager),
- Naked Browser (web browser),
- NetGuard (no-root firewall),
- NeutriNote (notes),
- Nova Launcher (launcher)
- Open Camera (same as F-Droid app),
- Parasol (community based permission manager),
- PryFi (WiFi security),
- QuickPic (gallery),
- Recently ("close all apps" button in recents window),
- Recordr (sound recording app),
- Servicely (services management. Think twice before installing and using it - developer's G+ site, developer's APKMirror downloads
- SD Maid (cleaning tool),
- Super Backup (apps, sms, call logs, etc. backup),
- Titanium Backup (data backup),
- True phone (dialer),
- VLC (media player),
- WifiKill (WiFi killer),
- Wifi Protector (WiFi security, anti-wifikill),
- Xposed (sdk22 arm version is the right one for XT1039)
You can find more interesting apps and links on this XDA forum
3. Software that may help you secure your device - sufficientlysecure.org
4. More security software - Secure Mobile Apps
5. XDA Labs (alpha version of XDA app store)
6. Firefox browser add-on that lets you download apk files directly from google play store (without Google account connected to your device) in case you can't find desired app anywhere else.
7. Alternative app-stores, .apk mirrors, etc. - use at your own risk. So far I only tried Amazon's store - the pro is that it exists, the cons are that it requires tons of permissions, has very unfriendly interface, takes a lot of space, and the apps you download will only work as long as the store's app is installed.
Credits and thanks
Motorola for making such a good device
lost101 - creator of original ROM
DF1E - creator of Simple Explorer
HootanParsa - creator of MIxplorer
Menny Even Danan and all creators of AnySoftKeyboard
_that and all people behind TWRP for their work
Sqlite3 developers
All the developers who share useful information and solutions in the web
Download
XT1039_Retail_EU_51_Optimized_v1.1_mod_v0.9.zip
XT1039_Retail_EU_51_Optimized_v1.1_mod_v0.9.2.zip
XT1039_Retail_EU_51_Optimized_v1.1_mod_v1.0_beta.zip

Notes
ver 1.0_beta
It's still being tested, but so far everything looks OK. The main goal has been achieved - GmsCore (aka the cancer of Android) has been removed and stock system turned into almost-AOSP state.
ver 0.9.2
- Further debloating and cleaning unnecessary files;
- Simple Explorer replaced with MIxplorer which offers more functions;
- Google Keyboard replaced with open source AnySoftKeyboard which is lighter and not made by Google. After installation go to keyboard settings (I suggest using app drawer icon to avoid FCs in Language and input menu) and in "Special dictionaries" uncheck "User-dictionary" and "Contacts dictionary" options. In "Auto dictionary" sub-menu choose "Do not learn new words" if you don't want the keyboard learn/spy on you.
If you want to uninstall these apps, use file explorer with root access and delete system/app/AnySoftKeyboard and/or system/app/MIxplorer and reboot.

I flashed this beacuse I wanted an even cleaner rom, but I still want to have the google play store. I don't seem to be able to activate it somehow.

baxtex said:
I flashed this beacuse I wanted an even cleaner rom, but I still want to have the google play store. I don't seem to be able to activate it somehow.
Click to expand...
Click to collapse
Thanks for trying it. The store app was removed from this rom. If you want to use it you need to install it yourself.

minimale_ldz said:
Thanks for trying it. The store app was removed from this rom. If you want to use it you need to install it yourself.
Click to expand...
Click to collapse
Ah, I did but it crashed everytime I tried downloading a app..

baxtex said:
Ah, I did but it crashed everytime I tried downloading a app..
Click to expand...
Click to collapse
If disabled, enable the following services in this order:
- Google services framework*
- Google play services*
- Google account manager*​
Enable a service, reboot and test app downloading.

I managed to remove all GApps from the rom and make it work by changing build.prop entry "ro.setupwizard.mode=OPTIONAL" to "ro.setupwizard.mode=DISABLED". It's the way to bypass Setup Wizard on initial boot where all the core GApps are needed. The only problem is that system UI stays in Setup Wizard mode where Home button, quick settings and pretty much all the notifications are blocked which is not very handy, especially disabled Home button. There is a way around it, eg. an app like "Button saviour", but it would be much better to restore UI functions without any bloatware. If anyone has any idea how to do it, please share.

Hi, i have a question. Is it possible to do a rom for our moto g 4g 1gen with the moto g 4g 2gen's marshmallow official update ? Thanks
Envoyé de mon XT1039 en utilisant Tapatalk

supersutra said:
Hi, i have a question. Is it possible to do a rom for our moto g 4g 1gen with the moto g 4g 2gen's marshmallow official update ? Thanks
Envoyé de mon XT1039 en utilisant Tapatalk
Click to expand...
Click to collapse
AFAIK the work is actually in progress but I don't know any details. You can ask OP in this thread.

minimale_ldz said:
AFAIK the work is actually in progress but I don't know any details. You can ask OP in this thread.
Click to expand...
Click to collapse
Thank you [emoji6]
Envoyé de mon XT1039 en utilisant Tapatalk

ROM updated to version 1.0_beta. Please read OP for details.

OP updated with some battery usage information

Most recent battery stats

Does this rom have the mobileradioactive bug?

Geos1 said:
Does this rom have the mobileradioactive bug?
Click to expand...
Click to collapse
Honestly, I'm not sure. I always used some auto data switch that was turning radio off when screen was off, so I wasn't even aware of such bug.

Now I know this is an old thread.
Obviously the link to the roms are dead but I do have lost101 rom nd followed what you removed. But I don't know what sqlite3 file to add because that link is alo dead. what sqlite file am I looking for to add to the bin folder?
I am trying to create a mp3/audiobook only player.

Related

Skype 2.0 / video-call patched to work with HTC Incredible S

Original thread: http://forum.xda-developers.com/showthread.php?t=1148708
Newer build again..
It is intended for android 2.3 devices only and it has:
- No autostart
- Exit button
- Fixed status icons @ notification bar
-Works with devices with no camera, incompatible CPU (no video-calling of course!)
- Works with devices with only one camera
- Works with devices with 2 cameras
- Has a new settings screen, ADVANCED SETTINGS, where you can customize things!
Just press options key and tap Advanced Settings.
Additional settings available:
- Force-enable video-calling
- Camera resolution picker (Black camera image or zoomed image? Try "Force 320x240"!)
- Focus Mode
- Color Effect
- Scene Mode
- White Balance
- Rotation (does not seem to be working )
- Flip image you see
- (Audio) Force speaker off after skype calls, if your speaker stays enabled after skype calls
- (Audio) Use MODE_IN_CALL, for devices that audio fails by default
****************************
If you don't see some of the above settings, they're not supported on your device.
(Unsupported focus/other modes may lead to black camera image, just pick another or revert to "Default"!)
To get video-calling just check "Force-enable video-calling" in Advanced Settings and restart Skype app using the Exit button, or simply restart your phone.
Video-calling is LANDSCAPE ONLY!!!
****************************
-
As always, uninstall original skype app, then install my APK!
If you have force-closes or issues, try wiping skype app data using Titanium backup and reinstall.
Grab it: signedSkype20047.rar
Need lots of feedback guys!
Oh .. if you want to thank me.. push thanks
Click to expand...
Click to collapse
i can confirm it working
bump so you can see the official and recent modded version
thanks maaan

[APP][2.2+][11 Dec. 2022 - V3.1] BetterBatteryStats

I started BetterBatteryStats because I was missing the great battery history that Spare Parts allowed to call on Froyo. It has been a long journey since the first version. BetterBatteryStats provides an insight in following categories:
- General "other stats "overview: Awake, Deep Sleep, Screen On, Phone On, Wifi On, Wifi Running ratios
- Kernel Wakelocks
- Partial wakelocks
- Alarms/Wakeups
- CPU States
- Network stats
- Process stats with User and System CPU time
Use so called references BetterBatteryStats shows data for different samples over time:
- since boot
- since unplugged
- since charged
- since screen off
- custom references
- any combination of the above (e.g. from screen off to screen on)
BetterBatteryStats is calling the "batteryinfo" service of Android to retrieve data already lying there without generating overhead. Since Kitkat Google has revoked the permission for normal apps to access these stats (without valid reasons IMHO). You can read more about that here.
Fortunately and thanks to @Looki75 there is a way to work around the restrictions intruduced by google in Kitkat and run BBS on non-rooted devices. Please see here for more details.
BetterBatteryStats has been tested on Froyo, Gingerbread, Honeycomb (3.1, thanks to daveid), ICS, JB, Kitkat and Lollipop on different ROMs and Kernels.
What are wakelocks and why should you care about them?
When it comes to Android the most discussed and commented topic that I know is battery drain / battery life. I'm a quite heavy user because I spend a lot of time on the train every day reading my mails, surfing and listening to music but still my phone is off for a long time during the day and while I accept the battery being drained while I use the phone I care about it draining slowly while "doing nothing".
Wakelocks or to be more precise partial wakelocks is a pattern than helps devs to make sure that important pieces of their code do not get interrupted. Wakelocks are not bad per se, they are a tool. There are many poor implementations that make use of wakelocks and BBS helps making that transparent.
Caution: do not use and wakelock supressor tools. They will cause an erratic behavior of your phone, causing more harm than good.
Basically the phone has (simplified, kernel devs don't shoot) three states:
1. awake with screen on
2. awake
3. sleeping (that's you phone favorite state)
The transitions are from (1) to (2) and finally from (2) to (3). Now as long as you use your phone it's in (1) and does not leave that state as long as you keep using it interactively. If you stop using it the phone is aiming to go to (3) as fast as possible.
And here's where wakelocks are important: as our phones as smartphones they tend to do background processing. Some of this processing is important like e.g. making a phone call, listening to music or synchronizing your contacts.
As the phone wants to go from (2) to (3) and on the other hand you don't want to hang up while you are in a call the app keeps hold of a wakelock to prevent that transisiton. When you hang up the partial wakelock gets release and here we go (the phone goes to sleep).
So partial wakelocks is a tool and it's not something that we should forbid for obvious reasons. Now there are cases when the design on an app is not real life proven (conditions of poor of no converage) and the wakelocks have negative effects because they are held unnecessarily or for too long.
BetterBatteryStats identifies these wakelocks and using your expertise or the once from our users here you can understand what happens and find a strategy to change that for the better.
And what about wakeups?
Wakeups (alarms) is a pattern to be used when an application should to something after a certain period of time (or at a certain time). Again, an alarm is a tool and is nothing.
On the other hand there are a lot of poor implementations that BBS can help you discover:
- alarms waking up the device when all the app should do is refresh the screen: in such cases the app uses the wrong type of alarm, there are alarms that are specifically to be used only when the screen is on
- to frequent alarms: in case of e.g. poor network conditions some apps may use alarms to repeat failed network operations. Doing this too often will cause too many wakeups (and wakelocks for doing the handling)
- apps that wake up your device when you did not expect any activity while screen is off: you can use the info provided by BBS to contact the dev about such issues
Try it yourself
If you need help
Always add the whole context when asking for help. Most of the times a dumpfile is helpful, sometimes screenshots showing your observations may help as well.
Before posting a dump please make sure that the references for kernel wakelocks and alarms were processed correctly. Reading a dump takes a few minutes and it would be great if you could not waste the time of whomever studies it, aiming at helping you.
Generally a dump "since unplugged" is better than "since charged". When you start your analysis make sure to follow following procedure:
- enable watchdog processing in BBS settings
- verify from/to references is checked under custom views
- full charge device then let it run down to ~95%
- put device to sleep for at least 6 hours (no touchy!)
- wake device and launch BBS
- adjust from/to references to 'screen off' and 'screen on'
- save dumpfile from share menu
- post resulting log to this thread (or provide cloud link)
I will not reply to posts with incomplete dumps
Reporting bugs
If you want to report a bug please make sure:
- that you can reproduce the problem
- explain what the problem is, how you could reproduce it and what is going wrong (a sentence lke "xxxx does not work for me" is a waste of your time and wil be ignored)
- enable debug in advanced prefernces
- post a logcat
A good read about reporting bugs
Translations
Starting with 2.0 BBS is getting multi-language. Currently following languages are included:
- en: main language, maintained by me
- ru: translation thanks to @gaich
- cz: translation thanks to @mag01
- es translation thanks to @vldesco
- it translation thanks to @code010101
- hr translation thanks to @seky2205
- fr translation thanks to @xavihernandez
- de translation thanks to @Minty123
- tr translation and other language improvement by @Eleo
If you want to contribute with a new language please feel free to offer you service and contribute to BBS, by submitting a pull request to the github project with the translated strings.xml. But please be aware of the fact that translation is a continuous work: even if the initial effort is higher there will be unavoidable changes to the english master XMLs that will require regular updates of your translations.
If you have a recommendation for a free croud-translation service that you would prefer I am open for suggestions.
Thanks
To nobnut for donating me a Nexus S for testing
To nobnut and brandall for their support, encouragements, testing and constructive feedback in the early stages of the development.
To @Javinotfound or the new icons / logo
To suku_patel_22, jeremysherriff, Karpfenhai, Tungstwenty, It_ler, Perseus71 and mag01 for their help in this thread and their systematic testing my betas and RCs
To Entropy512 for providing support and insights about kernel wakelocks and helping making BBS a better tool
Release
Edit 2021-06-13: Google has pulled BBS from GPlay. The given reason is that I use a library (HockeyApp) that allows installations by other means than the GPlay; that is correct except that library is a) deprecated and does not have backend anymore and b) the GPlay edition does not use that library, only the xda-edition does. Anyhow, I am working on a fix
BetterBatteryStats is available on Google Play (https://play.google.com/store/apps/details?id=com.asksven.betterbatterystats) for what I believe is a fair price. If you like my work and want to support me please fell free to show your gratitude by buying the app.
Google play users can register to be part of the public beta programme. Selected Release Candidates will be released to google play as part of the beta programm. You can enroll to the beta programme here: https://play.google.com/apps/testing/com.asksven.betterbatterystats
Follow me on Mastodon to be notified of updates and get insights in new features/developments.
xda edition: for xda-dev members I provide an always free and fully featured version of BBS (please play fair and do not redistribute the app without my consent).
Current test-release:
I have moved to an automated build system (older releases are still attached here) and do the distribution using AppCenter.
Privacy note
Access to the downloads does not require you to register to AppCenter (you still can to benefit from neat features like notifications when new releases are available)
Get release candidates here
Changelog
2.3
- Full android O support
- Unrooted devices now fully supported (with perms added using ADB)
- UI improvements and I18N
- Better support for substratum theming
- Fixes based on crash-reports
- Added application analytics
2.2.2.0
Fixed #791: bugs preventing sensor stats to show properly on pre-lolipop devices
2.2.1.0
Fixed #787, #788: bugs preventing some stats to show properly on pre-lolipop devices
2.2.0.0
Merged translations
same as RC3
Older Changelogs
2.2.0.0RC3
Fixed sensor report
Prep for release
2.2.0.0RC2
#780: Added proper Sensor Stats
2.2.0.0RC1
#659: Renamed "Other" stat to "Summary"
#398: possibility to add a note when saving a dumpfile
#682: Alarms details view is now scrollable
#772: use bolder fonts to comply with design guidelines and make reading on smaller devices easier
#677: added GPS time (sensors) to Summary
#777: folded both Text and JSON representations of the dumpfile into one file
2.2.0.0B6
#675: watchdog sometimes shows awake > 100%
#756: added LG G2 Kernel Wakelocks support and more agressive detection of LG G2, G3, G4
#759: Watchdog toast sometimes get sticky
#760: Kernel Wakelocks do not substract properly on non-root devices (or with API-mode on)
#762: alarm do not show icon on non-root devices (or wirh API-mode)
2.2.0.0B5
#733: Kernel wakelocks parser for LG G4
#753: Added option to select the destination directory for dumpfile/locat/etc. (Requires OI FileManager)
2.2.0.0B4
#715: introduced snackbars instead of many of the toasts
#731: fixed layout issues for "old" widgets with RTL languages
#749: fixed another non-root issue
2.2.0.0B3
#211: add sensor data to "other" stats
#741: improvements on non-root experience (network stats, fixes)
#748: fixed doze mode counters
Added sync time to other stats
2.2.0.0B2
#734: added doze mode stats (Marshmallow)#744, #747: more fixes for non-rooted usage
#745: fixed/more accurate Bluetooth stats for Marshmallow
2.2.0.0B1
#716: experimental: grant required permissions without having to install system app (requires root)
#735: fixed parsing of native alarms and API call for Marshmallow
#736, #737, #738: various FC from gplay crash reports
#741: improve functionality for non rooted devices (having system app installed)
2.1.0.0
No changes from RC6
2.1.0.0_RC6
Some more widget tuning
Merged transations
2.1.0.0_RC5
Some widget tuning
Merged and compacted changelog
2.1.0.0_RC4
#720, #721: "Awake" is now consistently "Awake when screen off"
2.1.0.0_RC3
I18N
More work on widget
2.1.0.0_RC2
#712: Fixed widget real estate
2.1.0.0_RC1
#708: reverted AppOps call back to older working version
#711: fixed process view sort
#713: fixed graph series
See also in-app changelog
2.1.0.0_B5
#673: permissions list scroll issue
Experimental M-preview support
Transition animations
2.1.0.0_B4
#612: kernel wakelocks for LG G3 5.0
#694: added awake ratio to dashclock
#699: merged system app changes
#702: moved to new appcompat
New Icons by Javi
2.1.0.0_B3
#693, 695: fixed crash on 2.3.x devices
#693: reverted back to "old" (small) system app apk to work around CM/LP 5.1.1 installation isuues
#696: fixed behavior of the "back" icon on older Android devices
2.1.0.0_B2
#671: revert to old AppOps calling method
#681: fixed rate dialog
#683: limit widget font size
#686: string mssing leading to @number being displayed
#687: widget opacity can be adjusted
I18N
2.1.0.0_B1
New responsive widget
#510: New System App (no need to update)
#658: Fixed various crash reports from gplay
#679: Fixed graphs being off on 5.1
#405: Fixed widget sometimes not refreshing at screen on
2.0.0.0
No functional changes from RC6
Merged I18Nalized changelogs
2.0.0.0RC6
This is the golden release: release notes have been updated for the upcoming 2.0
#650: semi transparent grey touch feedback for pre-lolipop devices
- Sorry, no fix for the unthemed dialogs: there is a bug in appcompat to that and I could not find a way around that except rewriting all dialogs and that is too much change at this point in time.
2.0.0.0RC5
#632, #633, #634, #635: Fixed package info dialog (colors, label width)
#639: added arabic (testwise)
#626: fix (again) for FC on long press using german language
2.0.0.0RC4
#626: fixes crash when long-pressing a list item
#630: added credits for I18N
#631: hotfix for issue with RC3 on pre-lolipop devices
2.0.0.0RC3
#616: no battery graph when all values are 100%
#617: no changelog showing in RC2
#618: add info to dumpfile is alarms/kernel wakelocks are from API
#621, #624: I18N
#622: material design touch feedback
#625: FC opening dashclock settings
2.0.0.0RC2
#552: fixed wrong style for overflow menu in dark theme
#609: fixed oblique lines in graphs
2.0.0.0RC1
#546: option to force EN-en locale
#569, #582, #588, #595: more translations
#583: move *api* out of the title
#585: optimized load time of graphs
#586: use white icon for watchdog notifications
#597: battery graph always shows same data
#599: FC opening credits screen
#600: clean up debug info from normal logcat
#602: fixed watchdog reporting of awake
2.0.0.0B7
#491: added frature to import/export preferences
#540: System App Dialog now includes link to the recovery ZIP as a workaround is in-app install does not work (links to XDA or gplay, depending on version)
#551: fixed "pinned" battery graph
#553: lighter cicle gauge and font
#554: settings screen and white text on the light background that appears after clean start
#558: make from-to ref spinners suppressable
#563: more I18N (thanks to gaich and mag01 fpr their hard work keeping up with me changing the strings)
#564: alarm details dialog title is too dark for dark theme
#566: add notification bar color for lolipop
#572: pass the su --context for accessing dumpsys alarm (may cause slowdown, please report on that with supersu version you are using)
#574: better performance in graphics
2.0.0.0B6
#521: make icon size and font size adjustable
#522: kernel wakelock using API fail on lolipop
#550: missing strings
#556: fixed native kernal wakelocks on lolipop
#557: no translation of array, mote stuff to strings
2.0.0.0B5
#360, #529, #534, #539: more externalized strings for I18N
#387: use of wakelocks with timeouts, because I can
#511: Themed dialogs
#517: redesigned graphs
#527: add SELinux policy to dumpfile
#532: fixed theme switching issues
#535: added Czeck, thanks to mag01
#536, #537, #538: added russian, thanks to gaich
#531: fixed alarms dialog showing infinite / Hr.
#545: merged new constants that were causing the wrong stats to be processed
2.0.0.0B4
First shot at I18N: implemented german
#495: cleanup ununsed libs
#502: cleanup assets
#518: fixed infinite wakeups per hour in alarms
#519: re-add battery from/to % to screen (optional)
#520: alignment of labele/icons
#523: theme switch only complete after restart
#524: switched back from cards layout as it takes too much real estate
#525: notification area invisible by default
#526: FC after theme switch
#528: Partial wakelocks show wrong values (thank google for changing the constants again)!
2.0.0.0B3
#484, #508: surface information about errors / failures to the UI
#493: avoid retrieving the battery level from battery info API to reduce load (and avoid service unavailable)
#497: added dark theme
#509: added % from/to back to dumpfile
#512: theme preference slider controls
#513: fixed empty release notes
#515: automatically detect SELinux preventing access to dumpsys alarm and fall back to API mode
#516: fixed alarms showing infinity in gauges
2.0.0.0B2
#496: fixed gauges in RAW stats always being 100%
#499: "since" and white header missing in raw stats
#504: failed remot to ro after system app install does not report an error anymore since the app was installed correctly
#505: advanced pref to enable alternate (API) mode for retrieving alarms (and avoid the need for permissive kernel)
#506: alarm details missing in dumpfile
Bigger changes under the hood: externalized all preferences to prepare for I18N
2.0.0.0B1
It's all new and shiny
#487: ability to save JSON format from tasker plugin
New calculation approach to avoid rounding differences
Simplified / removed unused options from settings
Removed google analytics
1.16.1.0B2
#486: watchdog does not warn
1.16.1.0B1
#446, #483: watchdog warns about 100% awake even if reading shows it's not the case
#481, #482: FC conditions from crash reports
#485: addedf more comprehensive info about BATTERY_STATS perm and Xposed setting to dumpfile
1.16.0.0
no changes from RC6 1.16.0.0_RC6
#479: attempt to fix failing system app install process on certain devices
#480: fixed Dashclock settings not opening in xdaedition
1.16.0.0_RC5
#475: more speaking text for XPosed module settings
#476: fixed dashclock API 2 manifest (kudos to DvTonder)
#477: fixed exception in method to obtain other stats from dumpsys (compat mode)
#478: fixed alarm parsing error on pre 4.2 versions
1.16.0.0_RC4
#469: Fixed network stats parsing error
#472: Fixed alarm parsing for L preview
#473: fixed wakelock being expressed in ms on L preview
#474: fixed sorting of CPU states
1.16.0.0_RC3
#470: fixed non null extra passed by certain launchers
#471: fixed batterystats service name on L preview
1.16.0.0_RC2
#464: fixed icon height in list
#466: if xposed modue is checked in advanced prefs do as if all perms were there (use at your own risk)
#467: fixed missing icons in network view
#468: fixed FC condition when creating a logcat
1.16.0.0_RC1
#463: added copy to clipboard on long-press
Merged to master1.16.0.0_B7
#462: fixed antialiasing of pie gauge to avoid pixelation
1.16.0.0_B6
#457: fixed FC on calling permissions
#458: fixed value of "other" stats gauge being off
#459: pie gauge brush too large on low density devices
#460: add setting to disable system app presence (for XPosed module users)
#461: added setting (display section) to use "old" bar gauge instead of "new" pie
1.16.0.0_B5
#452: update to Dashclock API 2.0
#453: fixed "current" reference not getting updated when BBS is called from tasker
#454: fixed network stats "lo" not matched to "Mobile"
#455: merged a few UI changes from the upcoming 2.0 branch
#456: fixed: when only one reference spinner is shown avoid Toast message
1.16.0.0_B4
#426: added occurences per minute/hours in alarms on screen and dumpfile
#450: fix for memory leak
#451: revert from JSON the Java serialization of references for better performance (references will be deleted after installation)
1.16.0.0_B3
#448: if root is available offer full featured alarms using dumpsys
#449 avoid flushing cache, imporving performance
1.16.0.0_B2
#447: system app has wrong signature
1.16.0.0_B1
#427: optimize the root calls for dumpsys if system app installed
#429: replace java serialization of references with a more flexible JSON serialization
#435: avoid crashing when appops not available (4.4.2+)
#437: better resetting of screen counters for non rooted 4.4+ devices
#439: dumpfile chapters comments reflect need for root
#440: better support for root (does not require to be enabled in advanced prefs anymore)
#441: offer to install as system app on 4.4+ is root available
#443: alarm does not require root anymore
#446: watchdog notification should never report more than 100%
1.15.0.0
Same as RC8 except the release notes
1.15.0.0_RC8
#432: make sure to ask for su rights right after enabling root features
#433: hint that the system app should be uninstalled before uninstalling BBS
1.15.0.0_RC7
#430: better fix for blocking root access
#431: fix for install as system app when package comes from gplay
A few changes in the popup for kitkat user at first run
Bump in version number causes references to be deleted at first run
1.15.0.0_RC6
#430: fixed blocking call if trying to install as system app without having root features enabled
1.15.0.0_RC5
#428: force mediascanner after saving files
Recreated icons in all densities
1.15.0.0_RC4
#421: Another attempt to fix the xxxhdpi icon
#426: fied missing process stats on kitkat
Fixed other stats not refreshing properly on kitkat
1.15.0.0_RC3
Fixed the way we manage system apps
1.15.0.0_RC2
Sharpened xxxhdpi icon
Added the ability to install BBS as system app (requires root, usefull only for kitkat right now)
1.15.0.0_RC1
#424: add proper (error) messages to notify about features not available without root on kitkat.
Add timing of screen on time when no stats can be retrieved
1.15.0.0_B6
#421: added xxhdpi assets
#423: fixed alarms parsing on 4.3+
1.15.0.0_B5
#422: fixed account info obfuscation for new account format coming with kitkat
1.15.0.0_B4
#418: re-add process stats to kitkat
Fix for potentially missed partial wakelocks where uid could not be found
1.15.0.0_B3
#419: Package info and icons re-added to kitkat partial wakelocks
#420: fixe from gplay creashreports
Added hires icon
1.15.0.0_B2
#416: readded missing other stats (kitkat)
#417: fix for duplicate partial wakelocks
1.15.0.0_B1
#414: Fixed error at launch (service not available for kitkat)
#415: re-added partial wakelocks and very basic other stats (deep sleep only) to kitkat (requires root)
1.14.0.0
Updated libs
1.14.0.0RC1
#404: Fixed text padding for short time strings
#407: added app ops for 4.3+ users
1.14.0.0B2
#401: added ACCESS_SUPERUSER to manifest permissions
#402: wrong values in wakelocks with hashed account info caused by hash being applied multiple times
1.14.0.0B1
#355: implement a permanent su shell to execute all commands
Various fixes from gplay crash reports
1.13.4.0
Same as B2, no changes
1.13.4.0B2
#391 support all implementations of sqlite
1.13.4.0B1
Refactoring of database access to avoid locking
1.13.3.0
Fix for users having FCs due to database lock problem
1.13.2.0
Fix for users having FCs at start
1.13.0.0
Unchanged from RC2
1.13.0.0RC2
#384: salted the account name before hashing
Fix for stats not reflecting the combo boxes anymore for some users after a reference refresh
1.13.0.0RC1
Fix to make sure spinners do not get out of sync
#383: Fixed battery / voltage level in dumpfile
A few typos
Added timestamp to logcat
1.13.0.0B5
#191, #334: Added "share" option for saving/sharing dumpfiles, dmesg and logcat
#381: fixed database exception occuring sometimes and potentially responsible for the blank stats happening from time to time for some users
#382: dmesg requires root for newer kernels
1.13.0.0B4
Added some logging to debug percentage problem: adb logcat | grep StatsAdapter
#377: refactored KB handling
#379: refactored "raw" stats
Stats row shows interactive areas (glow)
1.13.0.0B3
#236: mask account info
#378: fixed fallback stat in DashClock widget
1.13.0.0B2
#376: no icon in process view
#377: missing KB icon
1.13.0.0B1
#367: added dashclock support
#375: added JSON dumpfile format support
1.12.4.0
#372: Widgets do not update on a fresh install
#373: change default widget fallbacl to "boot"
#374: refresh spinners and user refresh causes the cache of refs to get flushed/reloaded from data
1.12.3.0
#369: small widget uses wrong prefs
#370: Other stat times/total time incorrect
1.12.2.0
#366: fixed FC when creating a dumpfiel from tasker
Improved logging
Fixed concurrency problems potentially leading to weird display
Fixed a caching issue
1.12.1.0
Fix migration issues from 1.11 leading to inconsistent stats
#359: make sure BatteryInfoUnavailableException does not other stats to be shown
#361: a better fix for battery/voltage using current instead of "to" stat
#363, #364, #365: fixed different error conditions from crash reports
1.12.0.2
Skipped 1.12.0.1
#356: bug when migrating from 1.11
#357: to battery % always shows current value
1.12
Same as RC12, no changes
1.12RC12
#356: fixed empty stats after screen being rotated
1.12RC11
#223: active monitoring
#346: save 'unplugged' ref at first use to avoid empty refs
#347: pref to diable widgets to be refreshed at screen on
#344: better fix for errors in parsing network/alarms causing the whole reference to be saved empty
1.12RC10
#302: added credits for used libs in app besides git (under help)
#342, #345: remove log verbosity when debug advanced pref is not enabled for cleaner logcats
#343: fixed alarms parsing of details for flg= and cmp= (both pre- and post 4.2.2)
#344: error in parsing network stats causes the reference to be saved empty (potentially a cause of reference shown as not having been created)
1.12RC9
#323: pref for saving dumpfile to private storage
#337: implement 48dp rhythm
#338: optimize list real estate
#339 (partially): fixed tiny font for widget being same as small
1.12RC8
#341: fixed alarms for android 4.2.2
1.12RC7
#327: spinner refresh issues
#331: sometimes the stats shown do not reflect the spinner selection
#333: charged and unplugged should not be in the "to" spinner as that makes no sense
1.12RC6
#307, #328; widget stops updating and stays blank
#327: spinner refresh issues
#329: fallback ref in 1x1 widget is never loaded
#330: an attempt to fix wakelock issue when su commands are blocked
1.12RC5
#326: fixed rate dialog showing at each start
Some profining
Less intrusive logging if dedug is disabled in prefs
1.12RC4
New readme and rate dialogs
#325: times in wakeup_sources are a factory 1000 to small
1.12RC3
#321: fixed spinner heights
#322: filter "0" cpu states
#324: add marker to dumfile if using wakeup_sources
1.12RC2
#320: added experimental support for wakeup_sources (newer kernels deprecate /proc/wakelocks)
1.12RC1
#318: automatically refresh current when entering the main screen (can be changed in adv. prefs)
#319: "to ref" is shown by default (can be changed in adv. prefs)
1.12B9
#316: FC when calling BBS from watchdog notification
#317: 2x2 widget showing 0 KWL/PWL
1.12B8
#312: Fixed negative CPU percentages
#313: refresh after events creating new references show inconsistent references (from/to)
#314: proper migration of default stat type prefs coming from 1.11
#315: fixed cause of "unknown error"
1.12B7
#310: fixed partial and kernel wakelocks always being the same and icons missing
#311: fixed kb reader thread not retriieving online content
1.12B6
Changed the way su operations are processed
Some fixes regarding the refresh of the spinners
Make sure all root operations are running in an own thread
1.12B5
#308: since boot can not be selected
Fixed callstack when updating a reference
Widget now have a lightweight method for obtaining the current data without causing the cache to be updated
Spinners show references sorted in ascending order
Fixed spinner not showing all existing references
1.12B4
#306: fixed broken dumpfile
Added pref to show/hide the "reference to" spinner
Added screen on reference (saved when watchdog is active)
References are now stored in a database
From/To references are chronogical
1.12B3
#303: invalidate "current" when other refs are saved
#305: dissapearing refs
1.12B2
Some tuning
#298: Fixed FC on raw alarms
#299: Watchdog does not report when awake > threshold
#300: fixed spinner height
1.12B1
#187: freeze current time
#193: add screen brightness states to "other" stats
#274: copy wakelock to clipboard
#279: add option to save dmesg
#286: add mV/h to dumpfile
#290, 292: typo, wording
#296: kbreader is now asynchronous and doesn't block UI thread when github is slow
1.11
no change from RC8
1.11RC8
#289: FC on package info screen for pre-ICS devices
1.11RC7
#288: usability issue in permission view fixed
1.11RC6
#276: another attempt at fixing scheduled dumpfile creation from tasker
#287: fixed ratio calculation for battery drain in %/h
1.11RC5
#280: added legend to permissions tab
#283: unticking watchdog option "Screen off" stops the EventHandler service
#284: added drain per hour to battery drain text on screen and dumpfile
1.11RC4
#281: Fixed bad reference on unplug when 100% charged
#276: fixed dumpfile creation from tasker
removed delimiter till a configurable version can be provided
1.11RC3
A better fix for widgets being updated
Nicer implementation of package info using a tabbed pager (using ActionBarSherlock)
Changed in-app help and messages to make the conect of references clearer
More speaking "missing ref" texts
1.11RC2
#277: more prominent delimiter in listview
fixed calculation of since value
1.11RC1
#229: show autorun and other package info like permissions and services, click on the icons
#279: reverted the time reference for since and calculations back to 1.9.x
#275: widgets do not always refresh: hack to make sure the widget always get the broadcasts from the launcher, even if the lancher is not complying with standards (see http://stackoverflow.com/questions/7390449/widget-notification-when-homescreen-app-is-restarted)
yet another attempt to fix since screen off dump incomplete when created at wakeup from taker plugin
big refactoring (only relevant for the ones reading the code)
1.10.5
No changes from RC1
1.10.5RC1
Make sure app is not installed to SD (watchdog, widgets, detecting boot and unplug won't work properly)
Writing references respect "root features" settings
Fixed error condition in widget (potentially not showing data)
Refactored broadcast handlers
Another attempt to fix dumpfile creation in tasker plugin
1.10.4
Fixed logcat permission
1.10.3
Some changes in widget code
#270: added option to save logcat from app
1.10.2
#263: adv prefs to turn on stats while plugged
#264: error happening when reading other stats should not skip the whole stats
#265: reference summary shows data instead of counts (in dumpfile and log)
#266: difference in "since" time between widget and screen
#268: error when checking charger status causes exception
1.10.1
#261: missing cpu states file causes references to stay empty
#262: battery level handling causes exception
1.10
A few changes in logging
New ?????
1.10RC3
#257: referencea are missing processes
#258: if debug pref is not checked since shows 0s
1.10RC2
#256: silent crash on progress dialog
#252: a better fix for the FC on enabling root features
Typo in prefs
Added drain to on screen battery info
1.10RC1
#251: added batter level from/to to screen (and a pref to enable/disable it)
#252: an attempt to fix the FC on enabling root features
#254: incomplete (ref missing) dump from tasker
#255: not systematic crash on creating custom ref
1.10b7
#248: added raw CPU states
#249: ratio of other stats is calculated against something that is smaller than "since"
#250: when a reference is null all stats should show that there is no reference availble
1.10b6
#247: fixed deep sleep sometimes being substracted twice, causing negative values
1.10b5
#245: source of "since" is now the reference
#246: added battery voltage/level from/to to dumpfile
Removed unneeded API calls (that were to cause to batteryinfo stopping)
New error handling exposes API errors to the user
1.10b4
#243: deep sleep not showing
#244: no stats when plugged (as some internal registers do not count when plugged, leading to inconsistencies)
Removed pre-1.9 migration code that may lead refs to be deleted at start
#235: grey background for bars
1.10b3
#234: show icon for stats providing package info
#8: call application settings when package info is available (click on icon)
Refactored error handling
Workaround to avoid SuperUser to obcess about asking for rights
1.10b2
#240: removed "test" menu
#241: fixed nested menu causing FC on SDK<14
#242: removed froyo specific references as BBS is not depending on Android's implementation of refs anymore
1.10b1
#209: added since boot ref
#227: fallback to since boot if default stat type is not available
#228: pref to control log level
#230: two step save of references to avoid empty references if su request times out
#231, #232: reorganized preferences
#233: reorganized menu
#238: process Siyah "deleted: " kernel wakelocks properly
#239: network stats / alarms are disabled by default, can be turned on in advanced prefs
1.9.2.1
#226: reference info to dumpfile
1.9.2 (|xda only)
Fixed error condition where "no ref since charged" appeared after a while when a reference was present
#224: screen on time is too high in "since screen off"
1.9.1 (@xda only)
Added more logging to references
#213: Tasker plugin does not create dumpfiles / custom refs
#216: more compact CPU state view
#218, 220, 221: various fixes from Google Play logs
I maintain A list of features to be implemented and bugs here.
Below you can find older releases.
If not required I do not recommend using these as they are not up-to-date with the most current development, features and fixes.
How-to and FAQ
How-to
I have created a GitHub project for the Knowledge Base where the online and in-app help will be maintained as well. You can find the information here:
The online help: https://better.asksven.io/betterbatterystats/help/
The how-to: https://better.asksven.io/betterbatterystats/how-to/
A good how-to by Chris Hoffman published by How-to geek
Online Hilfe auf Deutsch: http://asksven.github.com/BetterBatteryStats-Knowledge-Base/help_de.html
How-To auf Deutsch: http://asksven.github.com/BetterBatteryStats-Knowledge-Base/howto_de.html
The repo: https://github.com/asksven/BetterBatteryStats-Knowledge-Base
The Knowledge Base Project: http://asksven.github.com/BetterBatteryStats-Knowledge-Base/
FAQ
1. Q:Will BBS be fixed to support Kitkat (I get "Services could not be contacted" errors?
A: Kitkat is supported by BBS starting from version 1.15
2. Q:Why are partial statitics not available on Kikat?
A: If you have a rooted phone enable the advanced root features and all will be fine. If you have no root unfortunately you are stuck without Partial Wakelocks as Google has made changes to prevent apps to access that data (see also here)
3. Q:Why installing BBS as a system app as everything works with root?
Deprecated: BBS does not require the system app anymore
A: Starting with Kikat BBS has 3 modes: without root a limited mode provides a minimal set of stats. With root the set of stats is complete but some stats (other, partial wakelocks, processes) still use a workaround. Finally with the system app BBS is fully featured without any workaround.
4. Q:I have high wlan_rx kernel wakelock. What is it and how to proceed?
A: This kernel wakelock is caused by Wifi waking up your device. To avoid it you should turn your Wifi off if not using it, use a tool to control your Wifi state or try to find and remove the cause. More here
5. Q: Google Maps is causing a lot of overhead. Must I freeze it?
A: no, Karpfenhai wrote step-by-step instructions on how to configure autostarts and the location service to avoid that
6. Q: Are you aware of the bug in BBS causing SuperUser to ask for su-permissions over and over again
A: As you said, SuperUser is asking over and over again, it's no BBS bug as BBS only requests su rights. More here
7. Q: BBS shows "no ref since unplugged"
A: Starting from 1.9 is is mandatory to plug/unplug after boot to get a "since unplugged" reference to be created. Starting from 1.10 there is anew reference "since boot" and a preference to fall back to that reference if no other is available.
8. Q: Why can't you just skip deleting the references at boot?
A: If I could I would. In a nutshell: BBS is a passive monitoring tool; this means it does not cause any overhead collecting data but compares snapshots. Now the disadvantage of this is that it makes no sense to compare values of counters between two references (e.g. "since unplugged" and "current") if the counters were reset in between. In fact that would potentially cause negative values, in every case wrong values.
9. Q: But is used to work before. Why did you change it?
A: It didn't work, you just didn't notice. The kernel and Android reset their counters at boot. That means that there is no way to compare counters from before the boot with counters from after.
10. Q: What do the widget colors / graphics mean?
A (new round widgets): the legend is displayed if you resize the widget
A (legacy widgets): For the large widget it's pretty simple. The colors represent the values "Since" (blue), "Deep sleep" (green), "Awake" (yellow), "Screen on" (white), "Kernel wakelocks" (magenta), "Partial wakelocks" (cyan). The 100% is the max of those values.
For the small widget see here
11. Q: Where are the dumpfile and logcat saved / how are the files named?
A: Both files are saved to /sdcard, their names are BetterBatteryStats-.txt and logcat-.txt where timestamp is of the format "yyyy-MM-dd_HHmmssSSS" (starting from 1.12 there is an option in advanced prefs to save those files to the private directory /sdcard/Android/com.asksven.betterbatterystats/files).
12. Q: Are you aware of the fact that BBS does not work properly for secondary users (Android 4.2)?
A: BBS works fine for secondary users as long as you don't enable root features. The reason is not BBS but the lack of support of the multiuser feature in the superuser/supersu version you are using.
13. Q: What is *overflow*?
*overflow* is a sign that one stat counter was overrun. This may happen if you have not boote your phone since long or if some wakeup/wakelock is very frequent. The only way to see what is hidden behind *overflow* is to reboot and take a fresh reading.
14. Q: Why is 'screen off' reference not being created?
A: You have to enable the watchdog for that reference to be created
15. Q: Even after plugging/unplugging my phone no reference except 'boot' is shown
A: something is preventing the unplug event to be passed to BBS. You should check for tools like greenify or stamina mode that mask such events and make sure that BBS is whitelisted. On newer Android versions please also make sure that BBS is not "optimized" by Android, under "Settings - Battery Optimization"
16. Q: What is the watchdog and how does it work?
A: The wachdog is a feature to help you in analysing when happens when screen is off. When the watchdog is turned on a reference 'screen off' is created. You can also configure the watchdog to create a reference 'screen on'. Opionally the watchdog will notify you when screen is turned on and the awake ratio was bigger that the configured threshold. In order to avoid too much overhead in processing a threshold can be set to disable the computing for short screen off times.
17. Q: my logcat is empty and says "Unable to open log device '/dev/log/main': No such file or directory"
A: Check if you have a custom kernel that turns off logging. If not some file permissions may be broken: use the repair permissions function from your recovery
18. Q: How can I get rid of GSF wakelocks
A: GSF (google service framework) can not be avoided and in no case it should be frozen. Here are some settings that can help reducing the overhead.
19. Q: The other stat is wrong. It shows "No data connection" and "No or unknown signal" while was online with Wifi all the time
A: "No data connection" and "No or unknown signal" refer to your cell data (2G/3G) service. As you have had Wifi on for some time the cell data was turned off, consistent to what the stats say: work as designed
20. Q: I can not install BBS as a system app. What can I do.
A: BBS does not require the system app anymore
A: If you are on a version older than 4.4 you don't need to install BBS as a system app. If you are on 4.4+ you should first try the in app installer. If for some reason it fails you can use the CWM scripts attached to install / uninstall BBS as a system app
21. Q: I am suffering from a high NLPWakelock time. Is there something I can do about it?
A: Here's a good summary of what NLP is and how it can be positively impacted (thanks to @Perseus71)
22. Q: On CM12 based ROMs the launcher crashes when placing a widget. When will this be fixed?
A: I can not find anything wrong with BBS code and the crash occurs in the launcher, not in BBS. After spending quite some time trying to understand the problem I must conclude that the problem is with CM12 (other ROMs on Lollipop do not have this problem)
23. Q: I can not or do not want to root my devices but would like to use BBS to gain insight. Can this be done?
A: The answer used to be "no" but this has now changed. See post #4 for a detailed description on how to proceed.
24. Q: I can not get BBS to work. How should I proceed to find out the cause
BBS has no dependency to any root-tool and does not require root to work, it only requires specific permissions that can be granted by:
- using ADB as described in the FAQ
- letting the app grant itself the permission if root is available
25. Q: BBS Shows a permanent notification. Can I remove it?
The notification is due to the android app model having changed and now requiring apps that run in the background to show themselves. I have put the "background app" notification into a separate channel named "BBS Event Processing" so you can disable it if it bugs you: no other vital notification will be send to that channel
26. Q: What is this popup saying "Detected problems with API compatibility"?
For Android 9.0 Pie users getting the "Detected problems with API compatibility (visit g.co/dev/appcompat for more info)" popup error please see this post.
When diagnosing / analysing there are a few important things to know:
- the app (advanced settings) shows you whether the permissions were granted or not
- when checking if any acition had a positive result you should always use raw stats as the default view does a diff between two snapshots, i.e. if one snapshot is missing it may show no results
- logcat may give you some info about what is going wrong, e.g. the app not being able to contact the battery_info service
Running BBS on non-rooted devices
This is not an april's fool joke!
TLDR;
This knowledge article describes a method to enable BBS to run on unrooted devices on Android versions starting with Kitkat (on previous versions root is not a must). More about that here: http://better.asksven.org/bbs-systemapp/
As it requires a few tools to be installed on your pc it requires some basic knowledge, understanding, and the readiness to tinker and to learn.
What is describe here is a method to inject according permissions required to access the battery stats using the android debugging bridge to issue commands from the pc. This will allow to grant the needed permissions, that will survive reboots.
Credits
All credits for this brilliant approach go to @Looki75. My special thanks go to @Perseus as well as to the supportive bbs community in general for their tenacity, feedback and constant support and feedback.
Details
Congrats, you made it until here, let's get started.
We will go through all steps of the setup. If you are aware of the tools and techniques please feel free to jump to the appropriate section.
The initial post on this topic as well as the basic steps (for advanced users) can be found in this original post: http://forum.xda-developers.com/showpost.php?p=67441059&postcount=30632
1. Install necessary ADB drivers and exe on PC
This may be the tricky part but we can leverage some experience in that area. A good read:
The 15 second adb installer
2. Enable USB debugging on phone's developer options
This is pretty straight forward:
http://www.howtogeek.com/129728/how...menu-and-enable-usb-debugging-on-android-4.2/
Congratulations, your are now a developer!
3. Connect phone to PC
The easiest part: connect the usb cable on both ends. When you connect the phone to PC on ADB, some models will throw a authorization message on phone Screen asking if you authorize this pc to access the phone. Its a Android M Thing.
4. Run the commands:
This requires some explanations and some hints about how to check what may have gone wrong.
Once you have connected your phone via usb start by unlocking your phone and by issuing the command: adb devices
If it came back with a Device name instead of waiting for device or "no permissions" (on linux), then you know its safe to go ahead with the real command. Its this adb devices that also triggers the Authorize pc command.
If the "adb devices" command does not return a positive result you may want to look into:
a) on windows the proper installation of the special usb drivers
b) on linux you may need to add some udev rules. This may help: http://stackoverflow.com/questions/32151114/adb-is-not-detecting-my-android-device-on-ubuntu
If the "adb devices" returned a positive result is is safe to proceed:
adb -d shell pm grant com.asksven.betterbatterystats_xdaedition android.permission.BATTERY_STATS
Adapt the package name depending on which version - XDA or PlayStore (without "_xdaedition" extension) - you have installed
Update: starting with 2.3-150 two new permissions are required to support alarms fully on unrooted devices
adb -d shell pm grant com.asksven.betterbatterystats_xdaedition android.permission.BATTERY_STATS
adb -d shell pm grant com.asksven.betterbatterystats_xdaedition android.permission.DUMP
adb -d shell pm grant com.asksven.betterbatterystats_xdaedition android.permission.PACKAGE_USAGE_STATS (needed starting on Lolipop)
Update: starting with SDK28 (Android 11) google has restricted access to the private APIs that BBS uses. Google is fuzzy about the why and arguments in terms of privacy and security.
You will need to run the following (assuming your device is not rooted, otherwise BBS takes care of that for you) for BBS to get access to these APIs:
SDK28 (Android Pie / 9)
adb -d shell settings put global hidden_api_policy_pre_p_apps 1
adb -d shell settings put global hidden_api_policy_p_apps 1
SDK29 (Android 10 and following)
adb -d shell settings put global hidden_api_policy 1
Note: a restart may be required after applying the global settings...
See also here
Voila... congrats for your tenacity, you have earned it!
Ref, Hints and blacklist
Litterature
Article from the Android PDK about Power Management: http://www.netmite.com/android/mydr...s/power_management.html#androidPowerWakeLocks
Other useful tools
The default battery usage (Gingerbread): Settings -> About Phone -> Battery Usage
The most interesting data is shown when clicking on the graph (bars below the graph). Unjustified "awake" times when display is off is an indicator for rogue apps doing stuff in the background when you think your phone is asleep
Battery Monitor Widget
Has a great stat on battery drain over time. I use this tool regularly after leaving my phone alone for 1/2 hour to check how the battery drain looks like against my benchmark of 2-10 mAh average (optimal for my SGS2).
[android backup service]
(http://code.google.com/android/backup/index.html). It is a service that offers cloud backup/restore of your settings and offers an API for other apps to do the same (http://developer.android.com/guide/t...ta/backup.html).
You can turn it off (but will lose the automatic backup) under Setting -> Privacy ->Back up my data.
Backups are useful though but no need to do it in the cloud, I'd recommend scheduling a regular backup using titanium instead (that's my setting).
[DataTracker-FD] is fast dormancy. Find the 'secret' codes for your device to turn FD off. *#*#9900#*#* on an SGSII. (contrib. by nobnut)
[syncmanagerhandlesyncalarm] That service is documented here (http://www.kiwidoc.com/java/l/x/andr.../c/SyncManager) and is responsible for updating the accounts you have under Settings -> Accounts and Sync. High values may come from bad settings (sync too often, huge amounts of data) or poorly written providers.
[reserved for misbehaving apps]
Been looking for something like this since I installed a GB ROM!
So, basically I install this app, and then Spare Parts should work as it normally did? (or dial *#*#4636#*#*, or whatever that is)
thebeardedchild said:
Been looking for something like this since I installed a GB ROM!
So, basically I install this app, and then Spare Parts should work as it normally did? (or dial *#*#4636#*#*, or whatever that is)
Click to expand...
Click to collapse
No Spare Parts won't be of any help as BetterBatteryStats does not replace com.android.settings.battery_history.BatteryHistory (called by Spare Parts). Installing the app you will get a new icon and will get the stats when starting it
Excellent work! Just what Gingerbread needs. The very best of luck with the app!
Thank you.
Sent from my Motorola StarTac using Voodoo
chamonix said:
No Spare Parts won't be of any help as BetterBatteryStats does not replace com.android.settings.battery_history.BatteryHistory (called by Spare Parts). Installing the app you will get a new icon and will get the stats when starting it
Click to expand...
Click to collapse
Ah, I see, so I use this app instead of Spare Parts. Well awesome, thanks for the clarification, and the useful app!
This is great. What about mimicking the part in spare parts that showed percentage running time? That's valuable info too. I've seen many times where running time was pegged at 100 yet there wewettewere no partial wake locks.
lexluthor said:
This is great. What about mimicking the part in spare parts that showed percentage running time? That's valuable info too. I've seen many times where running time was pegged at 100 yet there wewettewere no partial wake locks.
Click to expand...
Click to collapse
I'd be happy to look into that. Can you give me the exact name of the option/dialog you are missing to make sure we talk about the same thing?
nobnut said:
Excellent work! Just what Gingerbread needs. The very best of luck with the app!
Thank you.
Sent from my Motorola StarTac using Voodoo
Click to expand...
Click to collapse
Thank you for the support and for the testing!
Bug in Network Usage stat
nobnut has reported incomplete stats for network usage (list does not show all apps that have generating network traffic). I reproduced this on Gingerbread where my phone only shows google maps traffic. I could reproduce this on HSDPA as well as on Wifi. The figures that are shown seem ok and increases when I use Maps.
Now interesting is that this problem can not be reproduced on Froyo where reported apps concur with the Network stats from Spare Parts.
As the stat is incomplete I'll remove it from the app till I can find a solution.
When I noticed this, it occurred to me that perhaps user apps were not reporting their data, whereas the system apps were. I can get readings for a number of apps, they are all system apps however.
This may just be concidence.
New version 0.4.0 is out. See second post for download link and changelog
Your blog link still reads 0.3.1
thebeardedchild said:
Ah, I see, so I use this app instead of Spare Parts. Well awesome, thanks for the clarification, and the useful app!
Click to expand...
Click to collapse
Not sure since I can't get there on spare parts.
It was in battery history and I think it was the default that came up that said "running" and it gives a percent of the time the phone is running.
I've seen that pegged at 100% with no wake locks, so that still indicated a problem.
Very cool, thank you for your efforts. Downloaded and following on twitter/subscribed to the thread.
nobnut said:
Your blog link still reads 0.3.1
Click to expand...
Click to collapse
oops, fixed, thank you
lexluthor said:
Not sure since I can't get there on spare parts.
It was in battery history and I think it was the default that came up that said "running" and it gives a percent of the time the phone is running.
I've seen that pegged at 100% with no wake locks, so that still indicated a problem.
Click to expand...
Click to collapse
Ok here's what I have on Froyo going to Spare Parts:
. Battery Information: useless
- Usage stats: it's an poorly formated list of apps with the launch count and CPU time
- Battery History: a list of graphable buttons with following stats: Other usage, Partial Wake Usage, Sensor Usage, GPD Usage, Network Usage, CPU Usage. Each shows a list of apps/processes with blue/red bars.
Maybe you are talking about "Other usages". Here I see % running, %screen on, %wifi on

[UB][LB][4.6.6][AROMA]Miui V5 Stock based on 4.2.2

Hello XDA users,
I am really proud to present to you one of the most interesting ROM called MIUI (Redefining Android)
Base ROM: This rom has been ported by patchrom using Stock based Sony firmware build 10.3.1.A.2.67 TW (Taiwan) Version (which is the 4.2.2 version) this means this ROM is very bugless and have a really great battery life (tested) and have Bravia 2, Xload, Walkman and Sony Album Xperia menu to select MTP or MSC and playstation certificate.
Recovery and Installer: I have implement aroma installer and also ported fully working dual recovery, 1. TWRP (by pressing down) and 2. CWM TOUCH (by pressing up) from Xperia Z which will know your phone as dogo or C5502 ( so you won't get status 7 problem any more )
Kernel: I have added Doomkernel V19 on this rom for unlocked bootloaders but for locked bootloaders they need to flash stock 4.2.2 rom before flashing this.
MIUI Version: This rom has been ported from MIUI V4.6.6
Please note that GAAPS is NOT included, you may flash it manually AFTER booting the rom
Download GAAPS
For those who wnat LTE Please note (Only C5503) : after downloading and flashing the fix go to dialer and type: *#*#4636#*#* then go into Phone information, slide down and select Set preferred network type then chose LTE/GSM/CDMA auto (PRL) mode and you're all set
What's working?:
Everything so far
What's not working?:
Didn't notice any major issues! Pleas kindly do tell me if you find anything not working EXCEPT ADB which is a known bug (USB is working flawlessly)
BUGS:
Please kindly tell me if any find out
ROM State:This ROM is released on 3.12.20 version, I'll do whatever it takes to bring a full working no bug rom, however it is really great already!
Credits:
ME! for porting it!
lpws521 for making all this happening by created a full working miui stock based on Xperia Z (If he didn't do it I might still have a long long way to make this working! So please feel free to rate his post)
@imanesaurus for camera hardware button fix solution
@xenius9 For giving me an idea what is problem with adb debugging problem and to support this rom with updaing it, thanks a lot mate
niaboc79 For Xperia Z1S Keyboard and for Honami Camera, feel free to press thanks for him.
Pandemic For Cpu Control & Stats Settings, he has done a great job .
My friend, Willber G for testing it
Xiaomi, For very interesting MIUI ROM
Sony, For their great bugless stockrom and kernel
Google, For Android
If I forget someone or something please kindly tell me
XDA:DevDB Information
MIUI V5 Stock Based, ROM for the Sony Xperia ZR
Contributors
sijav, lpws521
ROM OS Version: 4.2.x Jelly Bean
ROM Kernel: Linux 3.4.x
ROM Firmware Required: 10.3.1.A.2.67
Based On: Sony Stock Rom build 10.3.1.A.2.67
Version Information
Status: Stable
Current Stable Version: MIUI V5 4.6.6
Stable Release Date: 2014-06-06
Created 2013-11-23
Last Updated 2014-06-11
Downloads and Instructions
Latest :
4.6.6 English ROM http://d-h.st/6Zt
4.6.6 MultiLang ROM http://d-h.st/lRJ
Gaaps : http://celogeek.miuiandroid.com/gapps/miuiandroid_gapps-4.2.2-small_signed-8012.zip
Previous version :
4.5.23 English ROM http://d-h.st/0Wa
4.1.24 MultiLang ROM http://d-h.st/ApF
4.1.24 English ROM http://d-h.st/C2k
4.1.17 MultiLang ROM http://d-h.st/hKG
4.1.17 English ROM http://d-h.st/wCw
4.1.3 http://d-h.st/kWn
3.12.27 http://d-h.st/x8p
3.12.20 http://d-h.st/4eU
Instructions: For both LB and UB
[FOR LB] Flash 4.2.2 Rom, root it using vroot or kingo, install recovery using NUT's recovery.
[FOR UB] Flash a kernel with recovery. (you can find the rom recoveries in aur/device/ub/*/boot.img)
Go to recovery
Flash the ROM,
Follow aroma instructions,
NOTE : DO NOT WIPE or FLASH ANYTHING AFTER ROM FLASHED! (you can select wipe on aroma installation)
Reboot
Boot the Rom completly
Flash Gaaps and other addons and reboot (optional)
NOTE : Press vul+down for TWRP recovery and vul+up for Philz touch CWM recovery
Press Thanks and enjoy
Change Log and Addons
Change Log:
4.6.6
Mine :
Add - 3 new Kernel (Stock AxZR and doom)
Fix - fixed wifi problems on doom kernel,
Update - Recovery
Update - Sony Apps
Optimized a bit
Miui :
[System]
Fix - GPS did not use other satelites than GPS when there's not network (Mi3 WCDMA/CDMA) (5-27)
Fix - Slow charging speed (Mi3 WCDMA/CDMA) (6-5)
Fix - Sometimes couldn't open WLAN after booting (Mi3 WCDMA/CDMA) (6-5)
Fix - Sometimes couldn't connect to any WiFi router without rebooting (Mi3 WCDMA/CDMA) (6-5)
Fix - Recorder couldn't adjust volume on speaker (Mi3 WCDMA/CDMA) (6-5)
Fix - OTG couldn't write in (Mi3 WCDMA/CDMA) (6-5)
[Messaging]
Fix - Homescreen popup window did not show incoming messages' content (5-27)
Optimization - Optimized UI of Notification messages. Support viewing messages by types by pulling down (6-4)
[Camera]
Optimization - It blurred when long pressing to take pictures (Mi3 WCDMA/CDMA) (6-5)
[Gallery]
New - Press the blank area to add pictures when Cloud images page is empty (6-4)
New - Support editing pictures in cloud albums (6-4)
New - Support pinching to return to image list when viewing pictures in full screen (6-4)
[Mail]
New - Added 'Resend all' function in Outbox (5-28)
Optimization - Enhanced speed of batch operation (5-28)
Optimization - Exchange account login procedure (5-28)
Fix - Sometimes app would FC when deleting mails by swiping to the left (5-28)
Fix - Sometimes there were two back icons at More - Sync options (Mi3 WCDMA/CDMA) (5-28)
Fix - Sometimes it would report error when sender box is empty (5-28)
Fix - Some POP accounts could not log in (6-3)
Fix - ZIP attachments did not automatically open after downloading (6-3)
Fix - Using 'Sort by' in searching results may cause FC (6-3)
Fix - Could not send mails by clicking the email address in contact details page (6-3)
[Browser]
Optimization - Optimized Text magnifying glass when selecting texts in a webpage. The content near the selected area will also be shown in the magnifying glass (5-29)
Fix - Some webpages said password was not filled in after auto-fill (6-4)
Fix - Some webpages didn't zoom in/out by double press (6-4)
[Themes]
Optimization - Boot animation after updating (Mi3 WCDMA/CDMA)(5-27)
Optimization - Ringtone selection page in Mi Pad (5-27)
[Virus Scan]
Fix - ‘Pause’ button did not work when scanning (5-29)
4.5.23
Mine :
Update - Recoveries and busybox to the latest version
Update - Sony Apps
Add - Soft-key DPI options in Aroma
Miui :
[Messaging]
Optimization - Support recognizing time information in a message and adding it to Calendar (5-21)
Optimization - Show pop-up notifications when clicking URL in MMS (5-6)
Fix - Sometimes app might FC when enabling cloud messaging in Mi Cloud (4-30)
Optimization - When writing a new message, cursor will automatically go to text box after choosing a contact (4-23)
Fix - App might FC if chose contacts repeatedly when writing messages (4-23)
Fix - Cannot delete MMS after failed to download its content (4-23)
Fix - Mistakes in showing 'From XX' in the Starred page (4-23)
Fix - Choosing 'Top up now' after receiving the phone bill for SIM card 2 would show the number of SIM card 1 by default (4-23)
Fix - Notification messages' avatars didn't change with themes (4-23)
Fix - When browsing slide list page, opening guest mode would cause FC ( 04-11 )
Fix - “Send” button display error when the text message is too long ( 04-11 )
Fix - When reboot the phone after setting timed message, the button to remind user to resend the message displays wrong ( 04-11 )
Fix - When dialing a number from SMS details page, the input method keyboard would not retract ( 04-11 )
Fix - At text conversation screen, touching notification to enable Cloud Messaging would cause FC (3-25)
Fix - When creating a new message, selecting a recipient with a long name would cause the text box to display incorrectly (3-18)
Fix - When user was using Cloud Messaging, first message would be sent as a regular text message (3-11)
Fix - Sometimes, in Airplane mode, Messaging app would FC (2-25)
Fix - Sometimes Cloud messaging wouldn't work (2-25)
Fix - Sometimes when sending group messages from SIM 1 or SIM 2, messaging app would FC (Redmi) (2-25)
[Home Screen]
New - App names and other home screen elements will automatically change colors with wallpapers (5-7)
New - Support auto-filling blanks after batch deleting icons in home screen editing mode (5-7)
Fix - Sometimes, icons were repeated (5-7)
Fix - Sometimes, icons in the Dock were in wrong order (5-7)
Optimization - Optimized icon size (4-15)
Optimizaiton - Icon shadow is turned off by default (4-15)
Fix - When searching apps in the dock, the app's icon didn't show completely (4-14)
Fix - Sometimes, icons couldn't be moved to the right of the dock (4-15)
Fix - Sometimes icons on Home screen would overlap (4-1)
Fix - Sometimes app icons would disappear at the Preview Home screen view (4-1)
Fix - Sometimes, apps in the dock would display in the wrong positions (4-1)
New - Tap indicator on Home screen to jump to corresponding Home screen (3-3)
New - After uninstalling apps, icons on the Home screen can be sorted out automatically to fill the vacancy (2-27)
Optimization - When changing wallpaper in “Edit Home screen”, wallpaper can also be applied to lock screen (2-27)
[Recorder]
New - Recorder backs up recordings automatically to Mi Cloud (3-5)
New - Recordings are not visible in Guest Mode (3-5)
[Contacts]
Optimization - Simplified display method of WeChat/Google+ accounts etc. in contacts detail page (4-16)
Optimization - Set QQ as default IM when adding a new contact (4-16)
Optimization - When sending contacts information using SMS, the contact's recently used number will be marked (4-16)
Fix - Sometimes, opening unnamed contacts would cause app to FC (4-15)
Fix - Some characters blurred in the add new contact page (4-15)
Fix - Form error in contacts settings page (4-16)
Fix - Call logs could be seen in Guest mode (4-16)
Fix - When managing SIM contacts, the app might FC if you reenter it after exiting by pressing the Home button (4-16)
Fix - When adding an extension number to contacts after calling it, the number would show incorrectly (4-16)
Fix - If set a contact's birthday to February 29 without choosing the year, it would show as March 1 (4-16)
Fix - Sometimes, adding an unrecognized number to a contact app would cause FC (4-3)
Fix - In a messaging conversation, after touching a contact's portrait to view their details, touching the back button would bring user to Contacts list (4-1)
Optimization - When sending a contact's namecard, you can choose "My profile" (3-25)
Fix - When adding an unknown number to contacts, if the number was too long it couldn't be added (3-24)
Fix - When accessing Contracts from the Home screen, there was an issue with the screen transition (3-24)
Fix - Sometimes, the Settings button in the Contacts menu wouldn't respond (3-24)
Fix - Sending a namecard to merged contacts might create duplicate cards (3-24)
Fix - Sometimes contacts would fail to import from SIM card (3-24)
Fix - When exporting contacts, notification display was truncated (3-24)
Fix - When entering the dialpad from other apps, no location was displayed (3-24)
Fix - Issues with importing contacts from SIM card to Mi Account (3-24)
Fix - Contacts imported from USIM couldn't be deleted (3-25)
Fix -When importing contacts via Bluetooth, "Cancel match" might cause FC (3-27)
Fix - Sometimes entering Settings would cause FC (3-18)
Fix - When deleting an account, the number of unsynced contacts displayed in notification message was incorrect (3-18)
Fix - Deleted contacts would still display (3-13)
Fix - SIM card contacts would overlap (3-13)
[Lockscreen, Status bar, Notification shade]
Optimization - The two arrows of the Data toggle always show when connecting data (Redmi 1S WCDMA/CDMA, Mi3 WCDMA/CDMA) (5-20)Fix - Sometimes, the No SIM Card icon would not disapper (5-21)
New - Number of an app's notifications shown on it's icon supports third-party customization (4-30)
Optimization - Icons of toggles in the Notification shade (4-30)
Optimization - Status bar style (4-30)
Optimization - Do not support swip down gesture for floating notifications (4-30)
Optimization - If a theme needs to unlock by swiping upward, the upward arrow wouldn't show (4-14)
Optimization - Added gradual black change when there's no lockscreen password (4-14)
Optimization - Transition animation of Notifications page and Toggles page (4-14)
Optimization - When SIM card hasn't been inserted, status bar shows 'SIM card not inserted' icon (2-25)
Fix - If user received a new notification while pulling down the notification shade, the shade would freeze (2-25)
[Phone]
Fix - Singapore build was not able to make emergency 999 calls (2-19) (Mi 3 WCDMA)
Fix - Card scanning accessories were not being recognized by the phone (2-19) (Mi 3 WCDMA)
[Camera]
Fix- Sometimes camera lost focus when flashlight was turned on (Mi3 WCDMA/CDMA) (5-22)
Optimization - Improved the color of photos taken using camera flashlight( 04-11 )
New - Smart face beauty mode supported (The front camera can automatically make your face thinner and eyes larger) (2-19) ( MI3 TD)
Optimization - Skin beauty effect becomes more natural (2-19) ( MI3 TD)
Optimization - Improved focusing in weak lights (2-19) ( MI3 TD)
[Gallery]
Fix - After user upgraded versions, app would FC (4-15)
Fix - Sometimes, pressing the Menu button in album would cause app to FC (4-9)
New - When deleting non-system albums, user will be asked whether or not they want to delete system albums as well (3-11)
[Calendar]
Fix - Sometimes app would FC in opening (5-20)
Optimization - Month view style (4-29)
Fix - Incorrect page form when creating new events (4-29)
Fix - App would FC when clicking on the location in an event (5-6)
Fix - Sometimes, page moved slowly when swiping (5-7)
Fix - Sometimes, loading data might cause FC (4-22)
Fix - The screen wouldn't turn off after being waken up by pop-up reminder (4-16)
Fix - Sometimes, the homescreen widget showed months incorrectly (4-16)
New - Added alarm clock reminder mode (4-4)
Optimization - Pop-up calendar notification sound will repeat until user touches 'Snooze' (4-1)
Optimization - Forbid using Back button and Home button in pop-up reminder to prevent misoperation (4-4)
Fix - Pop-up notification format issue (4-1)
Fix - Issue with widget display on Home screen (4-1)
Fix - When switching languages, user was not able to switch time zones properly (2-18)
[Music]
Optimization - Popup menu of online music list (5-20)
Fix - Some bluetooth earphones wouldn't show music information on it's screen (Mi3 WCDMA/CDMA) (5-20)
Optimization - Optimized UI and fixed some bugs (Nexus 7 II) (5-15)
New - Support syncing songs to Mi Cloud (Settings - Mi Cloud - Music) (5-5)
Optimization - Use high definition pictures in the online music details page (5-5)
Fix - Incorrect round corners in the online music details page (5-5)
New - Optimized online music page (4-23)
Fix - Sometimes, music widget would display wrong song information and playing status (4-9)
Fix - After skipping, playing song and display information did not match ( 04-11 )
Optimization - Notification for when user touches play when library is empty (4-3)
Fix - Sometimes, music controls were not responsive at lock screen (4-3)
New - MIUI music database expanded (3-24)
Fix - When playing in songs shuffle mode, when song was added to the now playing list, it might not play (3-24)
Optimization - Equalizer is only adjustable when headphones are connected (3-12)
[Notes]
New - Added undo feature (3-12)
New - Added redo feature (3-12)
[File Explorer]
Optimization - Filename suffix will not be selected by default when renaming a file (4-3)
Fix - After file was renamed, a file with the original name would still appear (3-25)
[Security Center]
New - New version of Blocklist (4-23)
Optimization - Clicking the 'Not enough system storage' notification will go to 'Cleaner - Advanced' directly (4-23)
Optimization - Improved Advanced cleaner ( 04-11 )
Optimization - When cleaning up, improved animation for objects being added to the exceptions list (3-25)
Optimization - In the cache section under Clean up, secondary options are automatically enabled (3-25)
Fix - In Power settings, the Apps power consumption list was displayed incorrectly (3-5)
Fix - Clciking "Power usage" might cause reboot (3-6)
New - Scheduled reminders for Trash clean up (2-26)
New - When installation of a new app fails due to insufficient storage space, Security Center reminds user to clean up Trash (2-26)
Optimization - Default reminder time for Trash clean up set to 3 days (2-26)
Fix - Data usage was displayed incorrectly (Redmi) (Mi 3) (2-25)
Optimization - After you exit Do Not Disturb mode, unread indicators will be cleared (2-19)
Fix - Sometimes virus scan would FC (2-19)
[Weather]
New - Added two weather types: Freezing rain and hail (5-20)
Fix - Bottom half of the main page was blank (5-5)
Optimization - Optimized UI for extremely hazardous AQI (4-15)
Fix - After 6PM, the temperature high displayed was actually the high for the following day (3-25)
Fix - Sometimes location feature couldn't be disabled (3-25)
Optimization - Air quality measuring station info added (3-18)
Fix - Sometimes user couldn't disable auto-locate function (3-18)
Fix - Sometimes tapping air quality details would cause FC (3-18)
Optimization - New UI arrangement for location name on main screen (3-11)
Optimization - Warning icon is now displayed in the status bar (3-11)
Optimization - GPS icon aligned (center) with location name (3-11) (Mi 3)
New - If Weather app can’t access certain air quality data, the corresponding index will be hidden (3-5)
Optimization - The Weather app can be further customized with themes (3-5)
Optimization - When user taps the update button on the main screen, location is also updated (3-5)
Optimization - Notifications for weather forecasts are enabled by default (2-18)
Fix - Sometimes weather data would not be displayed in the correct language after user switched system languages (2-19)
[Themes]
Optimization - Smoother scrolling for lists (3-19)
Optimization - Descriptions in Theme Store now support multiple languages (3-19)
Optimization - List view takes up less memory (3-19)
Optimization - Notification when user's limit of authorized devices is exceeded (3-19)
Fix - Sometimes themes had system permissions issues (3-18)
Fix - Sometimes, when changing between Paid and Free themes lists in the Themes Store, content would display incorrectly (3-19)
[Video]
Optimization - On the "Shared devices" list, devices you've connected to previously are marked (3-19)
Fix - Sometimes favorites wouldn't sync automatically (3-19)
Fix - When data connection changed, app would stop responding (3-11)
Fix - Sometimes when choosing an episode, app would FC (3-12)
New - Video player supports anthologies (3-5)
New - Faster switching to next episode in Video Player (3-5)
Optimization - Merged Video and Video player apps (2-19)
Fix - When playing video on a DLNA device, the name displayed by the Video player and the name displayed in the list were different (2-19)
[Mail]
New - Support viewing thumbnails in attachment managing page (5-15)
New - Support viewing unread mails by one click and marking a mail as read by one click (5-15)
Optimization - Download attachments when there's no WiFi (5-15)
Optimization - Search using the server when using an exchange account (5-15)
Optimization - Optimized operating logic when there's not enough space to download the attachments (5-15)
Optimization - Optimized operating logic of Drafts. An email will only be saved as a draft if the server decides the operation is meaningful (5-15)
Optimization - Canceled response when swiping right in Drafts, Outbox and Sent folders (5-15)
Optimization - Attachment types icons align in the center. Support viewing bmp. and gif. types of pictures (5-15)
Optimization - Removed the double - byte space characters at the beginning and end of the senders' names (5-15)
Optimization - Optimized UI and texts at downloading (5-15)
Fix - The notification signal in the Status bar would still show after clearing the new emails notification (5-13)
Fix - Pictures inserted into the emails could not show (5-15)
Fix - After deleting an account, attachments downloaded from the account would also be deleted (5-15)
Fix - Emails in the Exchange account could not auto-sycn if system auto-sync was turned off (5-15)
Fix - Sometimes, refresh repeatedly would cause abnormality in data usage (5-15)
Fix - Could not set up an account manually if auto setup failed (5-15)
Fix - Contact details information was dislocated when clicking the contact avatar in email details page (5-15)
Optimization - Mail Login page (4-29)
Fix - It would go back to the homescreen after logging into account (4-29)
Fix - Receiver names in the Cc box might show unrecognizable code (4-29)
Fix - Receiver names might show unrecognizable code (4-29)
Fix - Incorrect form in the composing email page (4-29)
Optimization - New version of MIUI Mail (4-16)
[Browser]
Optimization - Support using abbreviations when putting in website addresses (Nexus 7 II) (5-14)
New - Show searching results in a new page after choosing Find in page for selected text (5-7)
New - Data saving mode (5-7)
New - Online page text font will change with theme font (5-7)
New - Support WML page (5-7)
Optimization - New kernel supports system theme font (4-30)
Fix - Music would continue playing after being discontinued (4-30)
[Settings]
Fix - Incoming calls from people in the exceptions list of DND did not ring (5-20)
[System]
Fix - Sometimes could not register Xiaomi Account using the current phone number (Mi1/1S) (5-22)
Fix - Could not use VPN (Mi3 WCDMA/CDMA) (5-22)
Xiaomi Mi3 WCDMA/CDMA will receive OTA update to Android 4.4 Kitkat (5-4)
Fix - Open SSL security flaw (4-15)
Optimization - Increased Wi-Fi download performance when using Bluetooth headphones to make a call (Mi 3) (2-26)
Fix - Phone couldn't connect to some types of routers (Mi 3) (2 26)
Fix - Ring volume for incoming call was inconsistent when using headphones (Mi 3) (2-26)
[Other]
Fix - Sometimes com.xiaomi.eventreceiver would crash (4-26)
[Xiaomi Account]
Optimization - Guide page style (5-6)
Optimization - Style adjustment of registration and login pages (4-4)
[Blocklist]
Fix - DND exceptions list and Blocklist exceptions list caused conflict (5-20)
[Clock/Calculator]
Fix - Sometimes alarm clock delayed in ringing (5-21)
[Mi Cloud]
Fix - After choosing Do not merge in the popup window of merging Mi Cloud data, it did not direct to the next step (5-20)
[Security]
Fix - Sometimes couldn't use Cleaner (5-10)
Fix - Incorrect system storage in Cleaner - Advanced (5-7)
New - New version of Data usage monitor, redesigned UI, and new features (3-18)
New - Permissions manager kernel upgraded to LBE V3 (3-18)
Optimization - Faster cache clearing and virus scan (3-18)
4.2.14 (Didn't released due to unresponsive and unstable build)
Mine :
Add - Add Camera Honami for flash in Aroma
Add - Add Xperia Z1S Keyboard for flash in Aroma
Add - Add new CPU Stats and CPU Control in settings for flash in Aroma
Optimization - Optimized and tweeked the rom a little bit, It's now flying!! (It was flying on 4.1.24, this release is a mess!)
Miui :
[Home screen]
New - New Edit Home screen interface (2-12)
New - View the notificiation shade by swiping down anywhere on the Home screen (2-12)
Optimization - Previewing Home screens uses less system memory (2-12)
Fix - When user created a shortcut without a name, FC would occur (2-12)
[Phone]
Fix - Sometimes the switch for auto IP identification would display incorrectly (2-11)
[Gallery]
New - Album thumbnails of screen shots will be detected automatically (2-10)
Fix - User could not delete albums that they had shared with themselves (2-10)
Fix - When Wi-Fi was disabled, photo downloads would be canceled (2-10)
Fix - User could not copy photos to shared albums (2-10)
Fix - When user rotated phone photo would not maintain its scale or position (2-10) ''
4.2.7 (Didn't released due to working on other things)
Miui :
[Lock screen, Status bar, and Notification shade]
New - Added the option to customize carrier name (Settings-Notifications-Additional settings-Edit service provider name)
Optimization - Improved pulldown notification shade and displayed some information in the status bar
[Weather]
Fix - Location issues of places outside China
[Security Center]
Fix - Display error of phone internal storage in Cleaner
4.1.24
Mine:
Add - Add DoomkernelV19 so you can choose it to either flash this kernel or just install recovery
Fix - 5503 Vendors fixed
Add - Add a new theme (you can choose it in theme)
Fix - Fix some bugs that may encounter some random FC
Miui :
[System]
Fix - When listening to a call with headphones, audio output was too soft (1-23) (Mi 3 WCDMA)
Fix - Sometimes phone would still display charging status after USB charger was disconnected (1-23) (Mi 3 WCDMA)
Fix - Phone wouldn\'t recognize ATM/credit card reader accessories (1-23) (Mi 3 WCDMA)
[Contacts]
New - Added English for importing contacts via Bluetooth (1-21)
[Gallery]
Optimization - Uploaded video names will not display the file extension (1-21)
[Weather]
Optimization - If a city name hasn't been translated into the current system language, it will be replaced by the local language automatically (1-21)
Optimization - Sharing features are now the same as system sharing features (1-21)
Optimization - Weather warnings are only displayed when system language is set to Simplified Chinese (1-21)
Optimization - More ways to share Weather info (1-22)
Fix - After switching system language, Weather widget would display incorrectly (1-21)
[Lock screen, Status bar, and Notification shade]
Optimization - Custom notifications will now change along with system language (1-21)
[Video]
New- Mi Link function notification (1-22)
Optimization - For Mi Link, when there is only 1 device, it will be displayed directly onscreen (1-22)
Fix - Fixed RTSP streaming media seek issue (1-22) (Mi 3 TD version)
4.1.17
Mine:
Fix - Pressing the camera hardware button is now fully functional
Add - 5503 now fully supported (alongside 5502 as you can choose in AROMA).
Add - MultiLang from now on will be added
Remove - Gaaps removed
Miui :
[System]
Fix - Pressing the Power button lightly will turn on the phone (1-16)
Fix - Opening FM radio without a headphone may make recording calls unresponsive (1-16)
[Contacts]
New - Delete batch call logs (Open “Keypad” , press “Menu”, click “Delete batch” and select the call logs you want to delete) (1-13)
[Homescreen]
Fix - Widgets cannot completely show when added in MiSpace (1-14)
[Themes]
Fix - Sometimes Themes app FC (1-14)
[Music]
Optimization - Cannot download higher quality music immediately after purchasing (1-14)
[Weather]
Optimization - Location function for cities outside mainland China (1-16)
Fix - The same weather alert appears repeatedly in Notification sheet (1-16)
[Video]
Optimization - Enhanced loading speed of video lists (1-15)
Fix - No respond when decoding PCM audio files (1-15)
Fix - Cannot play vob files (1-15)
Fix - Video app FCs after it fails to analyze file path (1-15)
Fix - Sometimes cannot load the posters of online videos (1-15)
Features and Addons:
Honami camera mod (timeshift isn't working, when you try it your cam will not work anymore, so you have to clear timeshift data in settings-apps): Yandex.Disk Mega 4shared
CPU Stats and Control: Miui 4.1.24 En | Miui 4.1.24 Multi
New Xperia Z1S Keyboard with emojy support(Miui Optimisied): http://d-h.st/HKi
How to enable ADB
I've trying for a FULL day to upload this, after more than 20 attempts! I couldn't I need some kind of resume-able upload service like mediafire which accept more than 500 MBs (It's actually 520 MBs)
If anyone knows any upload center with resume-able upload which accepts more than 520 MBs please kindly let me know,
Thanks
EDIT: see below attachment :crying: after 4 hours of uploading now this!!
sijav said:
I've trying for a FULL day to upload this, after more than 20 attempts! I couldn't I need some kind of resume-able upload service like mediafire which accept more than 500 MBs (It's actually 520 MBs)
If anyone knows any upload center with resume-able upload which accepts more than 520 MBs please kindly let me know,
Thanks
EDIT: see below attachment :crying: after 4 hours of uploading now this!!
Click to expand...
Click to collapse
dropbox/copy/mega?
shteren said:
dropbox/copy/mega?
Click to expand...
Click to collapse
Thanks for your replay:
mega has trebile speed, It is always says dropped connection!,
what is copy?
I couldn't upload directly to dropbox too, after 50-70% (for about 4 hours) it just says upload error!
I'm now using dropbox application to sync, if it get's currect then I might be able to put it in dev host too
stay tuned
EDIT: DONE!!!!!!!!!
Link download added at second post,
Please wipe your data manually before installing and also please choose Locked Bootloader even if you're on unlocked bootloader
Have fun and try to press power button continuously after installing this rom, this might give you the feeling you have some energy drink
Sorry guys, I have forgot to put the right jars, I have added a fix version, just flash it after you flash the main rom zip, thanks.
wow
Thanks for the great work
Hope to see more improvements
sijav said:
Thanks for your replay:
mega has trebile speed, It is always says dropped connection!,
what is copy?
I couldn't upload directly to dropbox too, after 50-70% (for about 4 hours) it just says upload error!
I'm now using dropbox application to sync, if it get's currect then I might be able to put it in dev host too
stay tuned
EDIT: DONE!!!!!!!!!
Click to expand...
Click to collapse
copy is yet another cloud service like dropbox and mega, you start with 15GB, you get 5GB extra if you get invited by another use like me here is a link, and every use you invite you get another 5GB, i already have 60GB for free, which is quite nice.
https://copy.com?r=kMJtzf
New link added,
This should works now,
Sorry for delay and bootloop
Anyone tried this??
I bought ZR 1 month back and still not fed up with the stock ROM..
When I am finally fed up.. I am definitely gonna try this
I tried both Xperia and MIUI in my last S3.
new link added,
it is now stable
have fun
this is definitely interesting. Always been a fan of MIUI. In the OP you mentioned all the stock sony apps such as walkman and album working, do you mean they are included in the rom or have to download separately? If included, does the MIUI music shortcut points to walkman or the MIUI music still?
Also, your title says UB/LB, since the rom doesn't have kernel, how can phone with locked bootloader flash this?
silvscorp said:
this is definitely interesting. Always been a fan of MIUI. In the OP you mentioned all the stock sony apps such as walkman and album working, do you mean they are included in the rom or have to download separately? If included, does the MIUI music shortcut points to walkman or the MIUI music still?
Also, your title says UB/LB, since the rom doesn't have kernel, how can phone with locked bootloader flash this?
Click to expand...
Click to collapse
Sony apps included you can select whether you want it or not in aroma, miui album and music and video is always there and you can have both with no conflict, (lockscreen works with walkman perfectly)
This rom needs stock kernel, I didn't put any kernel but a doom kernel or any stock based kernel can be flash alongside this, locked bootloaders can't flash kernels that is why the rom is suite them, unlock bootloader do not need to flash kernel but still can flash their own stock based, (My bootloader is locked and havn't flashed any kernel by the time I'm writing this) this rom is NOT cm based so it won't work with cm kernels, also it doesn't have cm bugs like headset bug,
Hope to get all of your questiom
Link not work
xenius9 said:
Link not work
Click to expand...
Click to collapse
Sorry guys, dropbox blocked me for bandwidth reason and they ask me to buy some upgrade package, which I can't for can't having credit card or any online shopping card reasons, So I'm uploading it to copy for the moment and it will be done in about 4 hours from now on (my internet upload speed is as low as 32 KB per sec at it's best!!)
will update the post after it's done
new link added => http://d-h.st/4eU
Have fun
Please do give feedbacks ... thanks
ROM updated 3.12.27 => http://d-h.st/Z6A
sijav said:
ROM updated 3.12.27 => http://d-h.st/Z6A
Click to expand...
Click to collapse
Are you working on 4.3 based one?
Sent from my C5503 using xda app-developers app
Bad/brocken archive(

[GUIDE] Maximum Battery ROMs with microG

After seeing sagar321 getting 6 hours SoT, I switch too. Been using AIMROM-v2.0-20170709, which is the best build for battery savings. The latest build v2.5 is not as good for battery comparatively, although it has more rom improvements/features.
Note: Other roms I tested which is battery-friendly
CrDroid v3.4
CosmicOS v2.0
need to check with official forums for best version/build which is battery friendly
My protocol for max battery savings, using my own custom kernel, microG (without GAPPS, but with functional Play Store which you can use to install Gapps), need root:
(battery draining Google Play Services is not installed, but Google Calendar, Chrome, Drive, Gmail, Keep, Sheets work without issues
Google Play won't work, Google Photo won't sync, this is due to microG authentication issues)
- Backup all data, partitions (see my sig below)
- Boot to TWRP, wipe dalvik/cache
(optional: change Cache filesystem to F2FS)
- Flash AIMROM v2.0,
then immediately flash XDA Nanomod PATCHER v13.3 (official thread), this allows the rom to enable Signature Spoofing, which is a pre-requisite for microG. The patching could take a while.
(what this means is you can use ANY rom, including those which do not support Signature Spoofing natively, simply apply the patch
of course select those roms without any Google Apps
battery performance, compatability will differ across roms)
- reboot phone when done, setup phone networks & any other optimal settings, but do NOT create any accounts.
- boot to TWRP, flash my custom kernel v05, (official thread), reboot phone
(important note: when choosing kernels, always check the rom base (aosp or lineage), roms with same base can share the same kernel
in this context, AIMROM & OctOS roms are both lineageOS based so can use the kernel interchangeably)
- boot to TWRP, flash SuperSU or magisk v14 (official thread), reboot phone
then install Magisk Manager v5.3.0, configure Automatic Response to GRANT using Settings
Important note: if using official Xposed for Nougat, SuperSU is a better choice bcoz it works with Greenify. I could not get Greenify to work when Magisk is installed.
- boot to TWRP, flash ale5000's microG installer & google-sync-addon (just follow this excellent guide)
reboot phone, configure microG as described in the 1st post of microG guide
MUST reboot phone
- give all required permissions from Settings > Apps > 3-dot menu > Show System
calendar
calendar storage
contacts
contacts storage
google calendar sync
google contacts sync
google play store
microG services core
must reboot phone
- add new google account
go to Settings > Accounts > Google > myaccount > 3-dot menu > Sync now
verify Calendar, Contacts are syncing, wait for completion, then reboot
- launch Contacts, Calendar
verify your contacts, calendar events are intact
- launch Play Store
disable auto-update apps from Play Store Settings
install any Google Apps you need
give all required permissions for these Google Apps, from Settings > Apps > 3-dot menu > Show System
then reboot phone
sync these Google Apps, from Settings > Accounts > Google > myaccount > 3-dot menu > Sync now
must reboot, launch these Google Apps, if asked to :
Sign-in, simply choose Cancel, the app will work (especially Google Calendar)
- if using AdAway (recommended as ads strain battery & network), make sure to put mtalk.google.com on your whitelist (Your Lists, White), or else problems are likely to occur when using Google Cloud Messaging (ie Whatsapp, Google Apps etc)
at this point, Signature Spoofing, microG, Google Apps work. Most significantly, there is no battery draining Google Play Services.
the next section deals with more battery saving configuration:
- configure kernel as described here, reboot
- install ForceDoze
activate service (toggle)
Settings >
Don't disable sensors on screen off [CHECK]
Turn off while charging [UN-CHECK]
Disable motion sensing for Doze [CHECK]
Whitelist apps : add any apps which need to be ON during screen off, as ForceDoze will kick in, and put those apps to sleep
(I added Whatsapp coz I need the messages to be notified as they arrive, Chrome so my downloads will not be interrupted)
note that apps added to Whitelist will be added to Battery Optimisation as Not Optimised
- install Nougat/Oreo Quick Settings (this app satisfies 90% of my quick tiles)
reading mode/black & white/monochromacy = oreo/nougat quick settings
3g setting = Nougat/Oreo Quick Settings (Cellular data type), shortcutter (yes), tile extension (activity>mobile network>data roam settings)
battery saver = lineage, oreo/nougat quick settings
advanced power menu = Nougat/Oreo Quick Settings (Reboot)
ring mode = Nougat/Oreo Quick Settings (Ringer Mode)
camera = Nougat/Oreo Quick Settings (Camera)
- install Shortcutter
turn ON black/white screen - save battery during standby
other useful quicktiles
system tiles: B&W, power saver, ring mode
action tiles: camera, power dialog
custom tile: Activity (Phone>Mobile Network Settings 2G/3G/4G)
Tile Extension
Custom shortcut (select ETC, system profile), but note that this in not available in Oreo roms
if using LineageOS-15.0 (oreo), which don't have many quick tiles, can supplement with
(good to have)
system tiles: ambient display
auto sync
heads up
ime selector
immersive
location
mobile data
system tiles: network mode? can't seem to get it to work
action tiles: power menu, volume panel
information tiles: data usage
tiles from tile extension
shortcut: ETC. (screenshot)
- Install any other apps required, but do consider
Play Store alternatives:
F-Droid, I installed Open Camera, K-9 Mail, oandBackup, Termux
- Google Cloud Messaging > 3-dot menu > Advanced
set everything to ON/Manual: 30 minutes
(larger ping times save battery, but GCM messages may arrive late
smaller ping times drain battery, but GCM message may arrive on time
your mileage may vary, I tested 10x Whatsapp message during a 3 hour standby, all messages arrived within 1st min)
If there are issues with headphone/speakers/mic, simply install SoundAbout, set all to 'Let Media App decide"
If screen goes black during incoming phone calls,
turn on Power Notification Controls
set Phone notifications Importance to another level (Settings > Notifications > Phone)
or install & use another phone dialer
other mods I've tried
boot to twrp
flash official xposed sdk for nougat
reboot
install xposed installer
flash arise sound mod
working xposed modules
xprivacy, even though internal check error
forcedoze
amplify
boot manager
swipeback
greenify, need supersu, not magisk
gravity box does not work atm, rename original /system/framework/XposedBridge.jar, then replace with version from GravityBox, but this version causes XPrivacy to not work
updated: 2017-10-10
reserved
Does it will work with ze500kl @pokipokipxorn
---------- Post added at 12:21 PM ---------- Previous post was at 12:21 PM ----------
Does it will work with ze500kl @pokipokipxorn
mohamedelkholy said:
Does it will work with ze500kl @pokipokipxorn
---------- Post added at 12:21 PM ---------- Previous post was at 12:21 PM ----------
Does it will work with ze500kl @pokipokipxorn
Click to expand...
Click to collapse
Yes
Just make sure u use the right version of ROM & custom kernel for your model
If there is no custom kernel for your model, the guide still works for battery savings, just skip the kernel configuration (kernel adiutor) section.

[ROM][MIUI9] MiuiPro ROM for Xiaomi Mi Max 2 (Oxygen) stable and developer roms

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
MiuiPro rom (based on Chinese rom)
Features of MiuiPro ROMs
Code:
[SIZE="2"]- assembled on the basis of Chinese firmware
- translation languages ​​- Russian, Belarusian, Ukrainian, English, Turkish, Chinese
- own firmware and patch repository
- cut out excess Chinese applications
- optimized system resources and power consumption
- the minimum required for Google services
- extended reboot menu
- M8 weather app with an extended widget and source package
- author's wallpaper, themes and styles of design
- root-rights in the drain, integration of SuperSu
- init.d support
- busybox
- tweaks build.prop
- Keyboard Sony Xperia as the main keyboard
- independent settings
- extended desktop settings (on / off shadows, captions, reflection icons, automatic closing of folders, gestures on the desktop with the ability to choose their own applications for them)
- a modified stock dialer and the application "Phone" (the ability to turn on the maximum screen backlight when you call and configure the action after the end of the call)
- setting the time before selecting a SIM card before making a call
- possibility to activate full-screen photo when calling
- Photo caller default settings - providing photo selection (in normal mode - without full screen)
- the ability to select the default photo when calling
- the ability to hide / show the search bar, "My profile" and "Groups" in contacts and ringing
- call recording quality settings
- flashlight blinking settings when making a call
- advanced settings for network type selection
- smart mobile network - SmartNET
- setting the network type when making a call
- Set the network type when you turn on Wi-Fi
- connection timers
- advanced battery indicator settings
- fixed the notification count on icons
- possibility of on / off. sound when you connect and disconnect the charger
- the ability to manually select the color of the LED from the palette
- various styles of the status bar
- separate ring volume and notifications in the pop-up window
- possibility of on / off. screen when connecting / disabling. charger
- the ability to set the color of the percent text (own, gradient, default)
- the ability to hide / show icons in the status bar
- the view of the switch panel when the curtain is opened (in the joint mode)
- the ability to hide / show the brightness panel in the curtain
- the ability to hide / show the search bar in the curtain
- the ability to hide / show the weather in the blind
- Ability to show LTE icon instead of 4G
- a pop-up message was disabled when selecting the "3G only"
- the ability to install your application to hold the function keys
- endless scrolling of desktops
- camera tweaks (shooting modes, 4K and shooting with the screen off, noise reduction, etc.)
- enable / disable vibration when unlocking with a fingerprint
- setting the number of switches in the curtain
- customize the animation of pop-up notifications
- Yandex search in the browser
- gestures anywhere on the screen with the ability to assign any actions to them
- animation and interpolation of lists (visual effects)
- sound delivery report sms
- screen off animation
- inclusion of rounded corners of the screen
- A-GPS settings
- switching tracks with volume buttons
- FaceID (only for devices with 64-bit processor architecture)
- Assigning your application to a combination of buttons
- weather widget in personal assistant
- and much more…[/SIZE]
MiuiPro ROMs is installed on unlocked (not locked) bootloader​
How to install:
1. If you go from the official ROM or you have a DATA partition encrypted, then we make the FORMAT section data
2. If you switch from the ROM of other localizers, then we make WIPE selected partitions (Delvik / ART Cache, Cache, System, Data) and reboot again in the recovery
3. If you update MiuiPro rom, then just select the archive for the rom and flashing it
Download: [url]https://miuipro.by/rommgr/device/491[/URL]
Additional applications: [url]https://miuipro.by/files/[/URL]
Official Website: [url]https://miuipro.by/[/URL]
Screenshots: [url]https://drive.google.com/drive/u/1/folders/1x_V3_R9FfhdH6dOd7ixw2taciInVJQHh[/URL]
If your language is not in the firmware, then we do not have an interpreter who can translate our settings into your language. if you are proficient in such skills and want to help, contact me in telegram id @АlexPashenko
?
ekin_strops said:
Same like Xiaomi EU Rom. No major difference.
Click to expand...
Click to collapse
This is not true, Why do you say so, you did not even consider the features of the firmware.
Show xiaomi.eu an unlock on the face and other settings that our team added. xiaomi.eu there is nothing, In our arsenal there are about 50 changes and additions. Xiaomi.eu have this? NO!!!!
Code:
- assembled on the basis of Chinese firmware
- translation languages ​​- Russian, Belarusian, Ukrainian, English, Turkish, Chinese
- own firmware and patch repository
- cut out excess Chinese applications
- optimized system resources and power consumption
- the minimum required for Google services
- extended reboot menu
- M8 weather app with an extended widget and source package
- author's wallpaper, themes and styles of design
- root-rights in the drain, integration of SuperSu
- init.d support
- busybox
- tweaks build.prop
- Keyboard Sony Xperia as the main keyboard
- independent settings
- extended desktop settings (on / off shadows, captions, reflection icons, automatic closing of folders, gestures on the desktop with the ability to choose their own applications for them)
- a modified stock dialer and the application "Phone" (the ability to turn on the maximum screen backlight when you call and configure the action after the end of the call)
- setting the time before selecting a SIM card before making a call
- possibility to activate full-screen photo when calling
- Photo caller default settings - providing photo selection (in normal mode - without full screen)
- the ability to select the default photo when calling
- the ability to hide / show the search bar, "My profile" and "Groups" in contacts and ringing
- call recording quality settings
- flashlight blinking settings when making a call
- advanced settings for network type selection
- smart mobile network - SmartNET
- setting the network type when making a call
- Set the network type when you turn on Wi-Fi
- connection timers
- advanced battery indicator settings
- fixed the notification count on icons
- possibility of on / off. sound when you connect and disconnect the charger
- the ability to manually select the color of the LED from the palette
- various styles of the status bar
- separate ring volume and notifications in the pop-up window
- possibility of on / off. screen when connecting / disabling. charger
- the ability to set the color of the percent text (own, gradient, default)
- the ability to hide / show icons in the status bar
- the view of the switch panel when the curtain is opened (in the joint mode)
- the ability to hide / show the brightness panel in the curtain
- the ability to hide / show the search bar in the curtain
- the ability to hide / show the weather in the blind
- Ability to show LTE icon instead of 4G
- a pop-up message was disabled when selecting the "3G only"
- the ability to install your application to hold the function keys
- endless scrolling of desktops
- camera tweaks (shooting modes, 4K and shooting with the screen off, noise reduction, etc.)
- enable / disable vibration when unlocking with a fingerprint
- setting the number of switches in the curtain
- customize the animation of pop-up notifications
- Yandex search in the browser
- gestures anywhere on the screen with the ability to assign any actions to them
- animation and interpolation of lists (visual effects)
- sound delivery report sms
- screen off animation
- inclusion of rounded corners of the screen
- A-GPS settings
- switching tracks with volume buttons
- FaceID (only for devices with 64-bit processor architecture)
- Assigning your application to a combination of buttons
- weather widget in personal assistant
- and much more…
Thank you for the rom.
JIBIN.D.GAMER said:
Thank you for the rom.
Click to expand...
Click to collapse
It's my pleasure
xposed working on this ?
kannan96 said:
xposed working on this ?
Click to expand...
Click to collapse
I do not use it. Therefore I will not answer you for sure
Am impressed with the change log and want to give it a try as my daily rom. Am currently using xiaomi.eu rom. So for installing I need to wipe data and all partitions and then boot into recovery again and then flash it right?
Question 2: for future versions of miuipro updates, do I need to wipe data every time If I am on your rom. I hope not.
Which twrp
palimatix said:
Am impressed with the change log and want to give it a try as my daily rom. Am currently using xiaomi.eu rom. So for installing I need to wipe data and all partitions and then boot into recovery again and then flash it right?
Question 2: for future versions of miuipro updates, do I need to wipe data every time If I am on your rom. I hope not.
Which twrp
Click to expand...
Click to collapse
1 - yes
2 - dont need to wipe data
I see a mention of Super SU. Is there anyway to get rid of that. I would want to use magisk
shiwik said:
I see a mention of Super SU. Is there anyway to get rid of that. I would want to use magisk
Click to expand...
Click to collapse
You can delete the archive before the firmware on the way META-INF / com / mp / miui_pro_root / miuipro_root. Instead of him to live archive with magic, from our site https://miuipro.by/files/magisksu/
alexpashenko said:
You can delete the archive before the firmware on the way META-INF / com / mp / miui_pro_root / miuipro_root. Instead of him to live archive with magic, from our site https://miuipro.by/files/magisksu/
Click to expand...
Click to collapse
Thanks for the quick response. Are you saying just getting rid of the folder should do?
Also do i need to comment out those statements in updater-script?
Advance thanks
shiwik said:
Thanks for the quick response. Are you saying just getting rid of the folder should do?
Also do i need to comment out those statements in updater-script?
Advance thanks
Click to expand...
Click to collapse
You only need to replace the archive with the firmware SuperSU on magisk. The link with the instruction you gave above
Download the firmware to your PC and open (not unpack) the downloaded file as a simple folder (we recommend using 7zip)
Go along the path META-INF \ com \ mp \ miui_pro_root and copy with replacement miuipro_root file on this (the name does not change)
Close the file and throw off his phone
Download in TWRP and the usual way to stitch assembly
After the phone you want to remove the remaining load application ®SuperSU regular way, ie as a simple application.
Note: replace ®SuperSU on ®Magisk is only possible starting from the assembly 7.10.19 and higher. Starting with version 7.11.2 file miuipro_root it will be located in the same folder that is on the path META-INF / com / mp / miui_pro_root. That is, at the request of Ruth access (manager selection ®Magisk / ®SuperSU ), to produce a replacement for the specified path. The exception is Xiaomi Mi5s (song) , which by default is sutured ®Magisk and can not be replaced.
Just installed the ROM with Magisk. So far so good. There are lot more features compared to stock.
Couple things i would request
1. In the stock ROM there is an additional permission section in addition to permissions. I am looking for this so that i can get my super backup access to the SD card.
2. Can we get to reduce only the notification volume and not tie that with the ringtone
3. Aspirational - Can we get toggle screen to stock android? Again this is only aspirational
4. Aspirational - Can we get the screen to lightup when we pick up the phone if there are any notifications (Aspirational again. Not sure what is the complexity here)
Thanks for a great ROM.
shiwik said:
Just installed the ROM with Magisk. So far so good. There are lot more features compared to stock.
Couple things i would request
1. In the stock ROM there is an additional permission section in addition to permissions. I am looking for this so that i can get my super backup access to the SD card.
2. Can we get to reduce only the notification volume and not tie that with the ringtone
3. Aspirational - Can we get toggle screen to stock android? Again this is only aspirational
4. Aspirational - Can we get the screen to lightup when we pick up the phone if there are any notifications (Aspirational again. Not sure what is the complexity here)
Thanks for a great ROM.
Click to expand...
Click to collapse
Good afternoon. we have a section where users post their wishes and ideas and the team implements them to the extent possible. I will write down your wishes
Has rom build in dpi change?
Is dutch lang availible in this rom?
Thanks
I will prefer default bundle with Magisk not SuperSU.
anyone can review this rom
jackchua65 said:
I will prefer default bundle with Magisk not SuperSU.
Click to expand...
Click to collapse
Download the firmware on the PC and open (do not unpack) the downloaded archive as a simple folder (we recommend using 7zip)
We go along the META-INF \ com \ mp \ miui_pro_root path and copy it with the miuipro_root file replaced with this (we do not change the name)
Close the archive and drop it on the phone
We reboot into TWRP and in the usual way we flash the assembly
After downloading the phone, you need to delete the remaining application ®SuperSU in the regular way, i.e. as a simple application.
Note: you can replace ®SuperSU®Magisk only starting from build 7.10.19 and higher. Beginning with version 7.11.2, the miuipro_root file will be located in the same folder, that is, by the META-INF / com / mp / miui_pro_root path. That is, at the request of the choice of the manager of the root-access (®Magisk / ®SuperSU), the replacement should be made in the specified path. The exception is Xiaomi Mi5s (song), in which by default it is sewn with ®Magisk and can not be replaced.
https://miuipro.by/files/magisksu/

Categories

Resources