Related
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
I am not a developer . I am just sharing the ROM from MIUI ANDROID .
Credit : MIUI , MIUI ANDROID and HTC for INCREDIBLE S .
DOWNLOAD 2.8.10
Languages included:
English (MarkHUK & iBotPeaches)
Chinese (Xiaomi)
Polish (Acid)
Dutch (Kees-Jan)
Italian (Mish)
Korean (IAmGhost)
Spanish (Anonymous)
Danish (1982Strand)
Russian (KDG & malchik-solnce)
Arabic (silent_4)
Ukrainian (KDG & Vlaaaad)
German (Gerret84 & Marco)
Hebrew (roenano)
Hungarian (vagyula)
Slovak (ingbrzy & UFO & supersasho)
Czech (kynio & jomi)
Greek (FinN)
MIUI ROM 2.8.10 Changelog
[System]
New Variety framework to control and refresh content or crawl data
Add Variety framework supports other applications
New virus-scanning function
Add a password protection for system
Fix setting the ringtone when set to "no" leads to errors
Fix sound played only once issues
Repair the the Huaping problem
Delete confirmation prompt for the data network, convert from Wi-Fi
[Phone]
Optimise call recording button will not be clickable (because some devices do not support call recording)
Optimise update of attribution number of libraries
Optimal adjustment of the proximity sensor when hanging up, also avoid accidental dialing problems when phone is in your pocket
Fix Custom attribution information is deleted from call list. Attribution information is not updated.
Fix proximity sensor on some devices when in call leads to FC errors
Included in the fix number "," cannot normally match the contact name
[Contacts]
Optimise the contact list page account screen
Fix bulk deletion, you cannot remove SIM card contacts
[Messaging]
Optimise MMS synchronisation, when MMS has been deleted its items will not continue to sync
[Lock screen, status bar, notification bar]
New synchronisation status bar displays icons
Fix lock screen does not display the lock screen wallpaper when applied
Fix status bar is always displayed, showing checking SD card problem
[Desktop]
Add dynamic wallpaper support
Optimize 720P devices desktop layout
Fix problem when name is too long, causes text over lap of adjacent icons
Fix RAM cleanup key button text problems
Fix in some cases large font used in some applications
[Themes]
Add Desktop widget support for richer dynamic effects (eg, screen can have a special animation effects)
New clock desktop widget dynamic screen effects
Optimise boot animation, so that it can adapt to the screen size
Optimise the theme home page layout
Optimised time taken to apply wallpaper in themes
Fix in some cases, wallpapers may fail to load
Fix theme application, memory leak may lead to FC errors
[Camera]
Fix screen freezing issue in Camera UI
[Gallery]
Add Gallery to support large font mode
New cloud image copies only historical photographs simultaneously when charging (if set in settings)
Optimise load speed when first opening application
Optimisation to improve cloud picture albums when the screen turns off synchronisation speed will be reduced
Repair insert / delete / update the database leads to occasional FC error
Fix SD card error leads to the Gallery FC errors
Fix repeated download of the cloud picture albums
【Settings】
Fix synchronisation button toggle switch problems
Remove the font size in the secondary setting switch
[File Explorer]
Add support for other applications to select a file and sent directly to MiDrive
Optimise MiDrive usage via the file explorer to select the files from third-party programs
Optimisation to increase reading progress prompt when loading folders
Fix image thumbnails in some cases show the normal size instead of thumbnail
Fix renaming of file, you cannot copy / paste / or set as wallpaper
Fix cross-draw the screen in editing mode, editing mode will not quit
[Calendar]
Fix issues when system language is set to Arabic, leads to FC error
[Notes]
Added support for notes to click on links to visit web sites or call phone numbers
Optimise the reminder dialog startup speed
Optimisation to reduce the update image scaling strategy, if the picture is too large it will be reduced to a screen display size
Fix modifying the system language leads to FC
Fix adding multiple contacts will lead to problems
Repair notes in contacts issues
Fix in some cases, adding a contact will result in the pictures displaying garbled (if added to note)
[Other]
New addition of the original Internet transfer functions
[Alarm clock]
Optimize the alarm to sound, the screen does not automatically unlock when alarm is on
Current Version :
MIUI ROM 2.8.10
Thank you.
thanks for share.
has anyone installed this? Am currently on Nik's Project X. Wondering if I should try this. Any screenshots? Checked on miuiandroid.com, but didn't find much info there.
farhadtarapore said:
has anyone installed this? Am currently on Nik's Project X. Wondering if I should try this. Any screenshots? Checked on miuiandroid.com, but didn't find much info there.
Click to expand...
Click to collapse
According to this thread, users are having problems with GPS, ringing with no reason and no status bar after reboot.
If anyone has tried it, can you post whether this one is much faster than the sense ones? thanks.
is it ICS based? thought 2.xxxx MIUI is gingerbread
highKo said:
is it ICS based? thought 2.xxxx MIUI is gingerbread
Click to expand...
Click to collapse
It's ics.
Sent from my HTC Incredible S using xda app-developers app
its miui4 2.8.3
I suggest you guys go read the last few pages of the miui thread in the general section..
amitizle said:
According to this thread, users are having problems with GPS, ringing with no reason and no status bar after reboot.
If anyone has tried it, can you post whether this one is much faster than the sense ones? thanks.
Click to expand...
Click to collapse
not having any of these problems
some people are having better luck than others
I have noticed no major bugs and it is a lot better than sense3.6 (imo)
New version is up, but won't boot...I'm on BlackRose. Anyone can get it to boot?
New version here: http://miuiandroid.com/community/threads/miui-rom-2-8-10.17545/
the link in the OP doesnt work .. anyway the link posted above for the new update 2.8.10 works
ROM download status is in :
Status: Rebuilding
i will update once it is updated ..
aftab565 said:
ROM download status is in :
Status: Rebuilding
i will update once it is updated ..
Click to expand...
Click to collapse
It's updated...Here
Yes, but it won't boot... Stuck at splash screen
UPDATED
vladabiber said:
Yes, but it won't boot... Stuck at splash screen
Click to expand...
Click to collapse
Download the 2.8.3 and follow the instructions in the "General" section in our phone's forum. Everything is working for me after following them, didn't check GPS though...
So, it isn't possible to flash new version on top of the old one? I didn't intend to do full wipe before flashing upsate. Tnx anyway
So there are a few who can't get 2.8.10 to boot up..
Sent from my potato chips using xda qwertyuiop
zukri90 said:
So there are a few who can't get 2.8.10 to boot up..
Sent from my potato chips using xda qwertyuiop
Click to expand...
Click to collapse
vladabiber said:
So, it isn't possible to flash new version on top of the old one? I didn't intend to do full wipe before flashing upsate. Tnx anyway
Click to expand...
Click to collapse
vladabiber said:
Yes, but it won't boot... Stuck at splash screen
Click to expand...
Click to collapse
stuck at the MI bootscreen ?
demonicjas said:
stuck at the MI bootscreen ?
Click to expand...
Click to collapse
No, HTC splash screen.
just download the ota-update.zip(below the "DOWNLOAD") and upgrade from 2.8.3.
based on CM 10.
author thread on bbs.feongbao - http://bbs.fengbao.com/thread-1488650-1-1.html
version: 3.7.19
bugs: MIUI bugs + microphone low volume problem (cm bug).
download:
* Mega
- if folder with newest version is empty - upload in progress or build is broken.
can you upload another host. can't download
l0000l said:
can you upload another host. can't download
Click to expand...
Click to collapse
yes, wait 15 min.
if someone know, write me some file hostings which supports 200+ mb
gdrive
https://docs.google.com/file/d/0Bw_fU50PaauKOVIyQ2NPTXl4Nmc/edit?usp=sharing
Appears to work very well - very smooth too... doesn't seem to support 4G, but generally avoid use due to battery drain. Will update if any issues are found.
UPDATE:
No Camera app included, but installing the GE Leaked Camera app worked fine
4G not working
Bluetooth doesn't seem to be working - haven't tried Sultan's kernel to check tho
A couple of apps wont install - most notably Google Plus.. says not compatible. Have tried market enable, and locale changer to no avail yet. Will do some build.prop edits and see how I go.
..
camera app is here and both galleries (miui/jb 4.1), can't say anything about lte.. (ukraine.. we don't have even 3g ;( )
don't notice incompablity issues.. yes, can't find gplus in market.
i think it can be fixed with build.prop edit on "htc holiday" or something..
kkruglov said:
..
camera app is here and both galleries (miui/jb 4.1), can't say anything about lte.. (ukraine.. we don't have even 3g ;( )
don't notice incompablity issues.. yes, can't find gplus in market.
i think it can be fixed with build.prop edit on "htc holiday" or something..
Click to expand...
Click to collapse
Hmm... re-installed rom zip over the top, and got the camera now! Must have been a bad write or permissions perhaps.
In trying to install Google Plus (and some other apps that the market said were incompatible), got a missing library error, and decided to try installing gapps 4.1 - seemed to solve the problems, all apps installing fine now.
Still no bluetooth - won't even turn on (is this just me?). Going to try one of Sultan's kernels now and will update... thanks again for posting this rom
UPDATE:
None of the Sultan kernels appear to enable bluetooth on this build - looking at logcat's, I think it could be framework related - but not sure
kkruglov said:
based on CM 10.
bugs: MIUI bugs + microphone low volume problem (cm bug).
where i found it? - bbs.feongbao.com forum..
author: may be him, i think http://forum.xda-developers.com/member.php?u=5328252
links:
https://mega.co.nz/#!xpxgjSQS!Xg9Tr1E2kLy_S831aSrjoHfC2DxYhuqN79SwTGKDELs - for all
https://docs.google.com/file/d/0Bw_fU50PaauKOVIyQ2NPTXl4Nmc/edit?usp=sharing - google drive
http://yadi.sk/d/fFf8Ew4e6ICO6 - east europe/russia
Click to expand...
Click to collapse
this is actually v4 skinned to look like v5. wish i knew how they got data working. that was all my port needed. Wonder if he just used mine and fixed it. Cool that you posted it here. what miui bugs are there exactly?
ZeRo2o9 said:
this is actually v4 skinned to look like v5. wish i knew how they got data working. that was all my port needed. Wonder if he just used mine and fixed it. Cool that you posted it here. what miui bugs are there exactly?
Click to expand...
Click to collapse
its not v4 skinned, android version is 4.1.2, so.
there is problem with bluetooth, cant say more, i'm not using it as daily driver.
kkruglov said:
its not v4 skinned, android version is 4.1.2, so.
there is problem with bluetooth, cant say more, i'm not using it as daily driver.
Click to expand...
Click to collapse
oh sorry didnt see that. cool
update:
v 3.7.5
miui changelog:
[System]
Optimization - Improved Xiaomi account registration process ( 07-04 )
Fix - When the screen is off, “Shake to skip” in Music does not work (For Xiaomi devices) ( 07-04 )
[Contacts]
New - Preset numbers on yellow page can be updated online (07-02)
Optimization - Update preset numbers of yellow page(07-02)
[Lock screen, status bar, notification bar]
Optimization - Expanded the response region of lock screen password “delete” button (07-02)
Optimization - Lock screen password setting process (07-02)
[Gallery]
Fix - When multi-selecting to delete a large number of photos in local album, delete confirmation box takes too long to pop up (07-02)
[Themes]
New - After the theme currently in use finishes updating, a prompt to remind the user to re-apply the theme will appear in the notification bar ( 07-03 )
Optimization - Optimized memory usage of themes ( 07-03 )
Optimization - The theme currently in use will be updated first in Batch update ( 07-03 )
Optimization - After applying theme, it will automatically switch to the desktop ( 07-03 )
[Music]
Fix - When the screen is off, remote rewind / forward is invalid(07-02)
Fix - In some cases, music FC (07-02)
Fix - When music is playing in the background, uninstalling SD card might cause FC ( 07-04 )
[Setting]
Fix - When long pressing a setting item, shadow appears on the interface ( 07-03 )
[E-mail]
New - Added support for outlook.com mailbox (07-02)
New - Added support for downloading ZIP file in Email (07-02)
Fix - In some cases, after re-loginning Xiaomi account, "Getting Started" button of KuaiPan does not work (07-02)
[Xiaomi account]
New - Added retry mechanism for registration activation failure (07-02)
New - Added MiCloud icon on the desktop (07-03)
Optimization - Optimized activation SMS tip for enabling Micloud services for the first time. (07-02)
Optimization - Users in Hong Kong and Taiwan just need to send an ordinary SMS (other than international SMS) to activate Xiaomi Account (07-02)
https://mega.co.nz/#!AhgTSZIb!agnTLhvunThX-vw7gYmQqyPMDSUMvNryCFp9atyxP28
kkruglov said:
update:
v 3.7.5
miui changelog:
[System]
Optimization - Improved Xiaomi account registration process ( 07-04 )
Fix - When the screen is off, “Shake to skip” in Music does not work (For Xiaomi devices) ( 07-04 )
[Contacts]
New - Preset numbers on yellow page can be updated online (07-02)
Optimization - Update preset numbers of yellow page(07-02)
[Lock screen, status bar, notification bar]
Optimization - Expanded the response region of lock screen password “delete” button (07-02)
Optimization - Lock screen password setting process (07-02)
[Gallery]
Fix - When multi-selecting to delete a large number of photos in local album, delete confirmation box takes too long to pop up (07-02)
[Themes]
New - After the theme currently in use finishes updating, a prompt to remind the user to re-apply the theme will appear in the notification bar ( 07-03 )
Optimization - Optimized memory usage of themes ( 07-03 )
Optimization - The theme currently in use will be updated first in Batch update ( 07-03 )
Optimization - After applying theme, it will automatically switch to the desktop ( 07-03 )
[Music]
Fix - When the screen is off, remote rewind / forward is invalid(07-02)
Fix - In some cases, music FC (07-02)
Fix - When music is playing in the background, uninstalling SD card might cause FC ( 07-04 )
[Setting]
Fix - When long pressing a setting item, shadow appears on the interface ( 07-03 )
[E-mail]
New - Added support for outlook.com mailbox (07-02)
New - Added support for downloading ZIP file in Email (07-02)
Fix - In some cases, after re-loginning Xiaomi account, "Getting Started" button of KuaiPan does not work (07-02)
[Xiaomi account]
New - Added retry mechanism for registration activation failure (07-02)
New - Added MiCloud icon on the desktop (07-03)
Optimization - Optimized activation SMS tip for enabling Micloud services for the first time. (07-02)
Optimization - Users in Hong Kong and Taiwan just need to send an ordinary SMS (other than international SMS) to activate Xiaomi Account (07-02)
https://mega.co.nz/#!AhgTSZIb!agnTLhvunThX-vw7gYmQqyPMDSUMvNryCFp9atyxP28
Click to expand...
Click to collapse
Any particular reason it goes to starting apps and just reboots and hangs at the boot ani?
don't know ;(
really, i've just downloading this rom from its author weibo account and reupload and post here ..
do full wipe, i have it in use for two days and i don't have any unexpected problems (now i'm on sense 3.6, its more battery stable).
new version is uploading
changelog for 3.7.19 (official):
[System]
New - In somecases, the phone does not respond [ JLB4.2 ] ( 07-17 )
Fix - Restoring factory settings may cause FC ( 07-17 )
Fix - The input box background transparence issue of stock input keyboard in landscape mode ( 07-18 )
[Phone]
Optimization - Improved the Internet call settings page layout in landscape mode (07-16)
Optimization - "Custom attribution" can be configured when "Display attribution" is closed (07-16)
[Contact]
Optimization - Back button operation error in contact details (07-18)
Optimization- When adding unknown numbers or mails contacts, SIM contacts are not displayed. (SIM card contacts cannot be stored with more information) (07-18)
Optimization - In group page, the option of setting ringtone does not show if there is no contact (07-18)
Optimization - Improved the switching effects of the function of "import contacts from other phones" (07-18)
Fix - In some cases when searching for a number, the search results are not correctly highlighting found numbers (07-16)
Fix - When adding new number to contacts, the number is not displayed in segments(07-18)
Fix - Clicking the contacts in global search results cannot redirect to the correct page (07-18)
Fix - Quick click on the dialer might make it fold (07-18)
Fix - When there is no set mailbox account, click on the unknown contact page to send email will lead to FC (07-18)
[Lock screen , status bar, notification bar]
Fix - Framework text display error (07-19)
[Launcher]
New - Added support for clicking to create a new folder while sorting out apps (07-18)
New - In “Edit widegts” mode, you can now slide to sort out apps on the dock (07-18)
New - When moving apps to a folder, it can roll automatically if the screen is full (07-18)
[Messaging]
Fix - In text editing interface, click on the title bar will switch tabs (07-16)
Fix - When searching text messages, if clicking the "draft" coversation with some contact, you will not be able to see other messages with that contact ( 07-17 )
Fix - While editing an MMS message, long press on the picture causes operation item dislocation ( 07-17 )
Fix - MMS prompt error ( 07-17 )
Fix - In some cases, when editing MMS , the input method keys are unresponsive ( 07-17 )
Fix - In some cases, when composing a message, click on "recent contacts" does not work ( 07-17 )
[Lock screen, status bar, notification bar]
Optimization - Added support for displaying virtual Home and Back button in the lock screen (07-16)
[Gallery]
New - Automatically upload new albums to MiCloud delayed by one minute (07-16)
Fix - While using small font, lower half of the image text in gallery is missing (07-16)
Fix - When opening screenshots in the gallery page, the menu bar is still presented(07-16)
Fix - Large-size gif received via MMS cannot be viewed in gallery (07-16)
Fix - GIF format and BMP format wallpaper cannot display in full screen mode(07-16)
[Music]
New - Added new revision of 1 * 4 music widget (07-16)
New - Added Xiaomi equalizer (07-16)
New - Added button calibration function for earphones with remote ( 07-18 )
New - Updated Dolby DS1.2 sound controls( 07-18 )
Optimization - Improved desktop pop-up control app interactions when opening music app(07-16)
[E-mail]
Optimization - In the process of adding an Exchange account, it will not ask the account type again ( 07-17 )
Fix - Repeated adding of POP3 mail causes mail syncing FC( 07-17 )
[Browser]
New - While inputing in the address bar, URL commonly-used combinations (such as www., .com)are presented ( 07-17 )
[Alarm Clock]
Optimization - Improved the weather information loading speed of default variety clock ( 07-17 )
[Video]
Fix - Abnormal exiting issue caused during full-screen playback ( 07-18 )
Have you tried building from patchrom to get a jb 4.2.2? I might work on that. Now that we have 4.2.2 builds. hopefully to much isn't broken. I started to work on it but my repo sync hung. I'll try it with different flags this time I'll report back with what I got if I can successfully get it to repo sync :/
yes somebody should try porting cm based miui again. when i did it we had the hacked RIL and the proper fix wasnt even in cm yet. now that it is official nightlies someone should try again. only major thing i needed was data
ZeRo2o9 said:
yes somebody should try porting cm based miui again. when i did it we had the hacked RIL and the proper fix wasnt even in cm yet. now that it is official nightlies someone should try again. only major thing i needed was data
Click to expand...
Click to collapse
Yea but MIUI is still a pain to get things to work... :/
TheROMGuy said:
Yea but MIUI is still a pain to get things to work... :/
Click to expand...
Click to collapse
Yes it is but its not impossible port from the sensation (with permission if you use someone elses rom) and it will save alot of time
ZeRo2o9 said:
Yes it is but its not impossible port from the sensation (with permission if you use someone elses rom) and it will save alot of time
Click to expand...
Click to collapse
Yea I'm trying to get the PatchRom repo to sync but I always have trouble with repo sync but I'll try to build see if I can ask one of the devs if I can port what ever is broken in. The ROM. This is if I can get repo sync to work.
Edit: Sadly I can only find a ICS PatchRom if any of you guys can find a JB PatchRom could you PM me the repo link that would be very helpful.
TheROMGuy said:
Yea I'm trying to get the PatchRom repo to sync but I always have trouble with repo sync but I'll try to build see if I can ask one of the devs if I can port what ever is broken in. The ROM. This is if I can get repo sync to work.
Edit: Sadly I can only find a ICS PatchRom if any of you guys can find a JB PatchRom could you PM me the repo link that would be very helpful.
Click to expand...
Click to collapse
https://github.com/MiCode/patchrom/tree/jellybean42-mtk
bilibox said:
https://github.com/MiCode/patchrom/tree/jellybean42-mtk
Click to expand...
Click to collapse
Thanks Bilibox if I can get repo sync to work we should have a working MIUI tomorrow when I get off school. (Sadly I'm still junior)
Edit:Working on getting necessary things so I can start building PatchRom is a little odd to work with.
Edit-2: getting a cp stat error for the makefile cant continue until I get it fixed I started a thread about it.
{
"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"
}
To God be the glory, my Slim7 Nougat project finally works on the LG G4!
This is a very slimmed down version of Android Nougat, almost a "vanilla" experience with a few tasteful perks! By design, this ROM comes without root for those who wish to have a "pure" version without the entanglements that come with root, but it can also be easily rooted by using chainfire's SuperSU (see below for instructions and downloads). In it's default form, it is perfect for those banking apps, workplaces, and games that require you to have a phone without root. No need for tricks or hacks, all while having the latest and greatest Android on your phone.
Also, this unrooted ROM is great if you use a special SU, like a custom SuperSU, Magisk, etc. I don't support those directly, but in this ROM, you don't have to remove root so you can add those. DO SO AT YOUR OWN RISK!
**** This is an UNOFFICIAL ROM. Install at your own risk! ****
This SlimRoms Nougat ROM was built for the H811 LG G4 T-Mobile variant using modified LineageOS trees. I have not tried this on any other device, but you are welcome to try it AT YOUR OWN RISK. The updater script may need to be edited. I did add a line for the H815, so that may work. Chime in if it worked on your device.
A huge thanks to the SlimRoms Project team!
Disclaimer: SlimRoms is not responsible for any damages to your device.
All of my work is completely available for any who wish to use or modify it. I didn't make SlimRoms, the device trees, or vendor blobs. I simply used and edited existing material. A huge thanks should go to those who actually created this stuff.
Click to expand...
Click to collapse
Downloads:
Rom Download link:
https://www.mediafire.com/folder/e0vhn6vwgsvyz/nougat
SuperSU download: (There may be other versions, 2.79 is the only version I personally tested.)
http://www.supersu.com/download
Gapps link:
http://opengapps.org/
-Which I personally only tested Pico. Be sure to choose "Arm64" and "7.1".
The AKLU kernel:
DOWNLOADING THE AKLU KERNEL IS NO LONGER REQUIRED, IT IS BUILT INTO THE ROM.
https://forum.xda-developers.com/tmobile-g4/development/kernel-nougat-kernels-t3622811
Be sure to only choose the SLIM 7 version.
Be sure to follow these installation steps very carefully, as they may be different then what you are used to.
!!!FIRST BOOT TAKES LONGER THAN 5 EARTH MINUTES TO COMPLETE!!!
!!!IF YOU FLASH SUPERSU, IT WILL REBOOT SEVERAL TIMES DURING INSTALL, THAT IS OKAY!!!
!!!PLEASE FOLLOW THESE INSTRUCTIONS CAREFULLY, AS THEY MAY BE DIFFERENT THEN WHAT YOU ARE USED TO!!!
Installation instructions ( TO BE NON-ROOTED ) :
-Download ROM, and if desired, gapps, and put them on your phone's external storage.
-Reboot into recovery mode - TWRP (I peronally installed this using 2.8.7.0)
-Backup what you had. (Just to be safe.)
-Wipe. (I recommend an advanced wipe, but at least do the basic wipe.)
-Install Rom.
-Install Gapps. - Optional
-Reboot and enjoy, reminder, it will take over 5 minutes to boot the first time!
Installation instructions ( TO BE ROOTED ) :
-Download ROM, SuperSU, and if desired, gapps, and put them on your phone's external storage.
-Reboot into recovery mode - TWRP (I peronally installed this using 2.8.7.0)
-Backup what you had. (Just to be safe.)
-Wipe. (I recommend an advanced wipe, but at least do the basic wipe.)
-Install Rom.
-Install Gapps. - Optional
-Reboot to system, reminder, it will take over 5 minutes to boot the first time!
-Go back to TWRP.
-Install SuperSU.
-Let the system boot up. Note that it may reboot a couple times during the boot animation, that is okay.
-Enjoy!
Code:
What works:
So far everything that I have tried works, such as
- Camera for video and pictures
- Phone calls/receiving
- Data 2g/3g/LTE
- Bluetooth
- WiFi
- PTP/MTP
- GPS
- Multi-Window
- Substratum (if Rooted)
- Developer Settings is fixed!
etc....
What doesn't:
- Let me know in the forums if you find other issues.
Main Features:
- Slim 7.1.2
- SlimDim, now with 100% more dimming
- SlimAction, Splits screen action (long press app in slim recent)
- SlimRecents, an alternative recents
- Notification log (long press statusbar header)
- Kill app from notification (long pres app notification)
- OmniSwitcher built in so the kill function works with or without root.
- Advanced reboot (found under security settings).
SlimRoms XDA Forum: http://forum.xda-developers.com/slimroms
Source Code: http://github.com/SlimRoms/
Official websites: http://www.slimroms.net/ or http://slimroms.org/
ROM OS Version: 7.1.2 Nougat
ROM Kernel: Linux 3.10.84
Based On: AOSP and LineageOS.
My device and kernel trees: https://github.com/alaskalinuxuser/
Created 2017-06-14
Last Updated 2017-09-07
Change log:
Code:
20170906
- Substratum now working if rooted.
fw/base: Audioservice set BT_SCO status. Camera: Ignore torch status update for aux or composite camera. Camera2: Fix error callback if buffer is lost
hw/qcom/bt-caf: Revert Merge tag 'LA.UM.5.5.r1-04900-8x96.0' into HEAD
apps/Bluetooth: Directly inform Audio HAL regarding SCO state change
apps/Dialer: IMS-VT: Transmit static image when multitasking
apps/Snap: Automatic translation import
codeaurora/telephony: IMS-VT: Add config that controls visibility of static Image UI
vendor/slim: Updates to Tmo US APN, other misc build environment changes
frameworks/av: Camera: Add null checks on mdevice to avoid crash
frameworks/base: SEEMP: Add auth framework for outgoing sms messages. Audioservice: Set BT_SCO status. Camera: ignore torch status updates for aux or composite camra. Camera2: Fix error callback if buffer lost.
frameworks/native: SF: Improve hwrotation handling. Native: Increase art heap limit to 192MB for 1024MB ram devices
hardware/broadcom/wlan: Merge tag android-7.1.2_r28
hardware/qcom/bt-caf: libbt-qcom: Allow reading BT address from property. Revert 'Merge tag 'LA.UM.5.5.r1-04900-8x96.0' into HEAD'
hardware/samsung: wifiloader: load kernel module if present
apps/Settings: Revert 'Settings[Wifi]: fix the input invalid length for WEP encryption.'
apps/Snap: Add missing null check on isCamera2Supported
Updates to Correios Celular (BR) APN
Updates to build environment
Merge android-7.1.2_r29
hw/qcom/fm: Upstream LineageOS
hw/samsung: Upstreamfrom LineageOS
apps/Bluetooth: Translation updates
resources/devicesettings: Translation updates
Add WOM internet/mms APN
hw/samsung: Updates to power, secril and macloaders
apps/Dialer: Fix compilation warnings
apps/Snap: Fix low resolution front camera icon
Updates to sensitive phone numbers
fw/base: PowerProfile: allow overriding default power profile
hw/qcom/fm: Update colors and translations (LineageOS)
apps/Bluetooth: Translation updates (LineageOS)
apps/Settings: MSIM: Fix user set DDS sub in hotswap cases.
apps/Snap: Translation updates (LineageOS)
resources/devicesettings: Translations update (LineageOS)
vendor/qcom/opensource/dataservice : datatop: Fix out_dir array empty content verification. datatop: Remove unused variables from datatop_ip_table_poll.c
vendor/slim: Updates to APNs, sensitive phone numbers, offline charging graphics and build configs
Translation updates
bootable/recovery: Updater: Allow devices to supress BLKDISCARD
fw/base: ScreenCap: Add support for jpeg. Bootreceiver: check console-ramoops-0
fw/native: Updates to surface flinger (Upstream from LineageOS
hw/qcom/fm: Upstream from LineageOS
hw/samsung: Updates to power and secril (upstream from LineageOS)
apps/Snap: Upstream from LineageOS
Merge android-7.1.2_r23
Fix default notification, alarm and ringtones Bug: #318
fw/base: Reduce the setTransactions. SystemUI: Fix Notification Background Color Issue
hw/qcom/audio: hal: add missing incall recording usecases and check
hw/samsung: Upstream from LineageOS
apps/Snap: Add overlay for restarting camera preview for additional cameras
system/core: fs_mgr healthd: check console-ramoops-0. init.rc: setup console-ramoops-0. logcat: Add missing newline to read failure
MusicFX: Updates and changes from CAF, Omni, DU and AospExtended
Add Ambient Display QS tile
Sensitive numbers: Update MCC codes
stagefright-plugins: Fix 'supported' typo in log
fw/av: CameraService: fix cameraId type of onDeviceStatusChanged
hw/qcom/audio-caf/msm8916: Merge tag 'LA.UM.5.5.r1-04900-8x96.0' into HEAD
hw/qcom/bt-caf: Merge tag 'LA.UM.5.5.r1-04900-8x96.0' into HEAD
hw/qcom/fm: Update translations
hw/qcom/keymaster: Add msm8996 and msm8998 into support list
apps/Snap: Update translations
services/Telecomm: SensitivePhoneNumbers: Handle lists of MCC codes
Update APN's for China Telecom Macau
misc build changes
Update translations
Fix brightness bar not always registering touches
ffmpeg: Rebase to latest LineageOS
stagefright-plugins: Revert 'FFmpegExtractor: Don't use our extractor when we agree with StageFright'. Add support for opus files
frameworks/base: Binder: be forceful about a forceful exit. Add support for Opus format.
contactsprovider: Fix merge error, Should fix Visual Voice Mail
mediaprovider: Revert 'MediaProvider: Fix where condition of delete queries and Fix check for existence of parent'. Fix SQLiteDiskIOException. Fix force closed when plug out the SD card while music is playing. Fix thumbnails of new edit photos display wrongly in Documents. Fix failure in android.provider.cts.MediaStore_FilesTest
Add sensitive numbers for Ukrain, Greece, Taiwanese.
Fix sensitive number for Czech Republic
Add apn for Japan Umobile APNs
device/qcom/common: Use correct opcode for STOE_CLK_SCALE_DIS
fw/base: Upstream fixes from master, Add null check for action bar
hw/qcom/display-caf/msm8916 msm8974: hwcomposer: Fix regression in hwc_sync
hw/qcom/display-caf/msm8994: hwcomposer: Fix regression in hwc_sync, libmemtrack: Fix integer overflow in kgsl function, Fix duplicate copy file rules
hw/qcom/media-caf/msm8994: vdec:Do not call stream_off on input port if all EBD's are not flushed.
hw/ril ril-caf: fix a memory leak.
hw/samsung: Add BLN support, Fix fast blinking notification LEDs, exynos: multimedia: add support for OMX_IndexParamVideoIntraRefresh parameter
apps/Nfc: make T3T/Nfc-F HCE options
apps/Snap: Upstream from LineageOS
providers/MediaProvider: New material icon, Fix where condition of delete queries
system/core: fix healthd include paths, Init: Run restorecon_recursive asynchronously
Update sensitive phone # for BR, PT, GB and FR. Add Virgin Media Ireland to APN's
Fix SlimDoze triggers not following Ambient Display
Expose more resources for OMS
fw/base: Minor fixes and optimizations
Snap: Simulate back button when menu button is pressed, Add orientation correction for landscape devices, Sign with platform keys
system/bt: Disable AVRCP 1.6
Add sensitive phone # for Israel
Merge June security update (android-7.1.2_r17)
Translation updates
Updates to battery stats counter reset
hw/qcom/audio-caf (msm8916 & msm8996): Upstream from LineageOS
hw/qcom/media-caf (msm8916 & msm8996): Upstream from LineageOS
hw/samsung: Upstream from LineageOS
system/core: Updates to sched_policy
Updates to sensitive phone numbers
20170620
- Added in the new Slim Theme Manager
(However, as of this writing, there are no compatible themes....)
20170619
- Fixed the developer settings.
20170614
-Added several base apps.
-Cosmetic fixes/updates.
-Added OmniSwitcher as optional switcher/tasker.
-Initial release!
Screenshots and features.
Screenshots and features.
Great and Thanks. [emoji106]
waseemmayaa said:
Great and Thanks. [emoji106]
Click to expand...
Click to collapse
No problem! I'm glad you appreciate this ROM.
Also, WiFi hotspot is working great!
Sent from my LG-H811 using XDA-Developers Legacy app
AlaskaLinuxUser said:
No problem! I'm glad you appreciate this ROM.
Also, WiFi hotspot is working great!
Sent from my LG-H811 using XDA-Developers Legacy app
Click to expand...
Click to collapse
Gonna flash this tonight. And whats about theme...?
waseemmayaa said:
Gonna flash this tonight. And whats about theme...?
Click to expand...
Click to collapse
Thanks. The Substratum theme engine works if you root the ROM.
Edit:
Bummer, the Substratum is broken in this build. I'll try to get that going again....
Make sure you set your default ringtone and notification sound. I forgot to give it a default. You only have to choose a ring tone and notification sound once.
Sent from my LG-H811 using XDA-Developers Legacy app
AlaskaLinuxUser said:
Make sure you set your default ringtone and notification sound. I forgot to give it a default. You only have to choose a ring tone and notification sound once.
Sent from my LG-H811 using XDA-Developers Legacy app
Click to expand...
Click to collapse
thank you for your time building this. and for sharing roms. planning on building others.? just curios.:good:
awesome mate. slim roms are fantastic!
raptorddd said:
thank you for your time building this. and for sharing roms. planning on building others.? just curios.:good:
Click to expand...
Click to collapse
It looks like there are a lot of good ROMs in the LG G4 section for H815/H811, I don't want to build "over" what people already have going. That being said, I am open to suggestion, but can't promise anything. Do you have a ROM request?
kevp75 said:
awesome mate. slim roms are fantastic!
Click to expand...
Click to collapse
Thanks guys! Kind words are always welcome!
I have started work on the AKLU kernel:
https://forum.xda-developers.com/tmobile-g4/development/kernel-nougat-kernels-t3622811
It is very basic right now, but I plan to add more as time goes on. No promises, but my other AKLU kernels typically feature: More governors, more i/o schedulers, FauxSound, voltage control (so you can set your own voltage, under or over), and light overclocking of the CPU and GPU. So be sure to check it out, and take a look as time goes on and I (hopefully) add more features!
cool, something new to try!! thanks for this!! i miss building slim when i had my nexus 5
AlaskaLinuxUser said:
It looks like there are a lot of good ROMs in the LG G4 section for H815/H811, I don't want to build "over" what people already have going. That being said, I am open to suggestion, but can't promise anything. Do you have a ROM request?
Thanks guys! Kind words are always welcome!
I have started work on the AKLU kernel:
https://forum.xda-developers.com/tmobile-g4/development/kernel-nougat-kernels-t3622811
It is very basic right now, but I plan to add more as time goes on. No promises, but my other AKLU kernels typically feature: More governors, more i/o schedulers, FauxSound, voltage control (so you can set your own voltage, under or over), and light overclocking of the CPU and GPU. So be sure to check it out, and take a look as time goes on and I (hopefully) add more features!
Click to expand...
Click to collapse
thank you .. this means more things to try. and this also helps G4 as it looks like its getting dead.. in development. thank you for your time.. and sharing.. no request right now later..
An oddity that I've noticed on this and other Slim nougat ROMs:
Sometimes, when you use wave 2 wake, or press the power button to turn on the screen, the screen does not appear to come on. In reality it does, but the backlighting is not on, so the screen is too dark to see.
This is rare, but when it happens, I push the power button to turn off the screen, then push again to turn on, in which the screen is bright again.
I'll try to look at the settings to see where the disconnect is.
Sent from my LG-H811 using XDA-Developers Legacy app
So far so good. Love me some Slim. Odd thing though, the nav buttons have a double tap feel to them like you actually tap it twice, lime a double feedback. Has anyone else notices that? Typing and other taps do not have that, just on the nav buttons
Midnight_Rider said:
So far so good. Love me some Slim. Odd thing though, the nav buttons have a double tap feel to them like you actually tap it twice, lime a double feedback. Has anyone else notices that? Typing and other taps do not have that, just on the nav buttons
Click to expand...
Click to collapse
That is true, the nav bar does have a higher vibration / feedback setting than the keyboard. This is the default. I think the idea is to make you aware that you pressed the nav bar and not the keyboard.
Sometimes, while using the keyboard (I swipe to type on the default keyboard) I will get an odd double feedback vibration buzz that is stronger than normal. Have any of you had that?
Sent from my LG-H811 using XDA-Developers Legacy app
AlaskaLinuxUser said:
That is true, the nav bar does have a higher vibration / feedback setting than the keyboard. This is the default. I think the idea is to make you aware that you pressed the nav bar and not the keyboard.
Sometimes, while using the keyboard (I swipe to type on the default keyboard) I will get an odd double feedback vibration buzz that is stronger than normal. Have any of you had that?
Sent from my LG-H811 using XDA-Developers Legacy app
Click to expand...
Click to collapse
can it be removed.? in settings. also you say developer is balnk how to select usb debugging.? for restore titanium.?
AlaskaLinuxUser said:
That is true, the nav bar does have a higher vibration / feedback setting than the keyboard. This is the default. I think the idea is to make you aware that you pressed the nav bar and not the keyboard.
Sometimes, while using the keyboard (I swipe to type on the default keyboard) I will get an odd double feedback vibration buzz that is stronger than normal. Have any of you had that?
Click to expand...
Click to collapse
Don't use swipe that much but using it right now im not noticing that. Works OK. Thanks for the info on the nav buttons
raptorddd said:
can it be removed.? in settings. also you say developer is balnk how to select usb debugging.? for restore titanium.?
Click to expand...
Click to collapse
I had no issues with TB. It worked fine out of the box. Just figured that all that was set by default
Midnight_Rider said:
Don't use swipe that much but using it right now im not noticing that. Works OK. Thanks for the info on the nav buttons
I had no issues with TB. It worked fine out of the box. Just figured that all that was set by default
Click to expand...
Click to collapse
raptorddd said:
can it be removed.? in settings. also you say developer is balnk how to select usb debugging.? for restore titanium.?
Click to expand...
Click to collapse
Yes, currently USB debugging is on by default. You could turn it off of you are rooted by editing your build prop.
On:
persist.service.adb.enable=1 persist.service.debuggable=1 persist.sys.usb.config=mtp,adb
Off:
persist.service.adb.enable=0 persist.service.debuggable=0 persist.sys.usb.config=mtp
And rebooting the phone. Hopefully I'll get that fixed, and you can turn it on and of the normal way. I just have not had time to look at it yet.
Sent from my LG-H811 using XDA-Developers Legacy app
thank you both midnight and alaska. ill try it.
I just fixed the developer options menu. Uploading now. I have slow internet, so it will be a couple of hours.... Here's a screenshot:
Update is in the OP, ready for download!
Sent from my LG-H811 using XDA-Developers Legacy app
About Us:
Revolution OS provides stock Miui 10 UI/UX experience with useful customizations. Based on Miui Gobal Dev, it provides a smoother experience. Useful customizations from various projects have been added and we always try to help our users.
#revos
For all Miui Lovers, we bring you a Miui 10 based custom Rom with better stability, long battery and superior customizability.
Smoother than EU Rom (according to users).
Credits:People behind this amazing ROM!
@BadWolfYe (Owner/Dev/Designer)
@Nulled_patronxx (Co-founder)
Disclaimer: While we make every effort to test these builds as much as possible, we are not responsible for anything that may happen to your device. We ask that you do your part to know your device and know how to recover from problems before you flash! If you have questions, ask your fellow users or ask us in Telegram Group.
** Revolution has no MIUI OS GSI or will have. We do not support ROM'S GSI covers or only give the devices officially supported by us on the web **
>Download<
Official Web:
https://os.revtechs.me
Telegram –
1. Group for Support of Revolution OS ROM MIUI (English Users) > https://t.me/revolutionmiuien
2. Downloads Channel > https://t.me/ROSdownloads
3. News Channel > https://t.me/revolutionnews
Instructions:
-Download the ROM of your choice
-Backup each and every partition from TWRP Recovery (optional)
-Make a full wipe (system, data, cache, dalvik)
-Make a data format (if Rom version is up/downgrading)
-Flash RevolutionOS Package
-Gapps are included in this ROM
-Wipe cache! -And at last Reboot!
[First boot will take few minutes! Have patience] Clean Flash is always recommended!
ROM Information:
ROM OS Version: 9.x Pie
ROM Firmware Required: None. Included in the Rom
Recovery: TWRP (pie supported)
Based On: Miui Global Dev 10
Version Information:
Status: Stable
Created 2019-05-01
Changelog (Full):
System
New - Base updated to 9.4.18
Optimize - Updated Google Security Patch (2019 # 3) to enhance system security
Optimize - Optimization stereo effects speaker
Optimize - Updated Youtube vanced (now replaces Youtube normal), Google Keyboard and WebView Google
Desk
Fix - Optimized experience to set a password when using a transparent wallpaper
Settings
Optimize - Optimized display grouping homepage
Optimize - Optimize the display of the display list accessibility
Optimize - Optimize the display of the group of home page
Fix - the problem of disabling eye protection mode and adjust the effect of eye protection screen is not dimmed.
Fix - Fix in several languages, the page shows confusion WiFi
New - Add Airtime screen, go to Settings -> Time Experience screen use
New - Added protection probe WIFI
Security Center
Fix - Fixed backup during the virus scan process will restart analysis.
Optimize - Optimize window style application wizard on red below the horizontal screen
Fix - Repair copy risk during the virus scan will restart the analysis
Camera
New - On 18: 6 (full screen the camera)
Optimize - Optimize the beauty and filtering interaction experience
Optimize - Optimize picture modes, portrait and short video for a unified beauty and filter input
Optimize - optimize positional order short video and slow motion
Lock Screen
New - loading screen for all devices
Fix - Problems that a double slash is generated when entering notifications
Fix - Solve the problem that the configuration page of the deleted fingerprint is abnormal
Fix - Solve the problem that the fingerprint authentication is abnormal under the screen after reboot and the screen is off
Fix - Fix the bar drop - down notifications from the lock screen, the load ball does not disappear
Fix - Fixed the problem that the notification bar on the lock screen is abnormal to unlock in the state screen
Optimize - Optimize GPS status bar display icon
Optimize - optimize the user interface and experience of renaming fingerprints.
Optimize - Optimize quick copy of the "Require password once every 72 hours , "
Fix - Fixed the ability to modify and set the password lock screen when using a transparent wallpaper
Fix - after it has been off setting item "Display off Finger fingerprint" fingerprint still it displayed in some cases.
Fix - to unlock and enter the horizontal screen, the display will flash for a moment.
Fix - Solve the problem that the interface of the third lock screen can not display the battery charge cable
Fix - Solve the problem that the password lock screen is displayed horizontally in some cases.
Fix - troubleshoot the lock screen images when the divided space is not configured
Fix - solves the problem that the interface lock screen is not updated on time
Fix - corrects bar drop notifications screen locking the load ball does not disappear
Fix - no minor notifications are solved, but it shows a problem with entry "no important notices"
Fix - solve the problem that the display style dynamic 24 - hour video does not show the image background
Fix - Fix the bottom of the lock screen by applying a third theme shows a messy problem
Optimize - optimize the loading speed of wallpaper to change the mobile phone
Optimize - optimize the experience of unlocking fingerprint: when you unlock your phone by double - clicking the notification message, you can use the fingerprint instead of password to unlock it .
Fix - Solve the problem that the animation is not smooth after the face unlock properly.
Fix - fix the configuration page screen information, problem bending the number of preview image Double clock
Fix - fix update time battery status bar is not appropriate
Clock
New - the ability to freely select a white or black background in the clock setting was added
Optimize - color background clock after this update is white
Optimize - Optimize pages of Life Morning Post related
Network Wizard
Fix - solve the problem that the operation saved as invalid after setting the quota in the package
Album
Optimize - Optimize removal album slow
Optimize - Optimize the slow loading pages album
Optimize - Optimize album thumbnail slow loading problem
FaceID
Fix - In some cases, the message FaceID not go away.
Topics
Optimize - Optimize the sources of the application without restarting
Calculator
New - normal to add a window function small calculator Added
Application Lock
Fix - Fixed some error models display the entry box password lock application
Game Tools
Optimize - Completely updated, support for block device lock, SIM cards, apps, among others.
Optimize - function desktop shortcut for acceleration of the game was added.
Optimize - optimize how acceleration mode of the game.
Fix - corrects the game to answer the speaker, the call duration displays the wrong question
Fix - correction network quick trip to accelerate the click input is not sensitive
Optimize - the new version of the game accelerates homepage and style of the interface is completely new.
Optimize - the toolbox of the game is completely updated, it is compatible with screen lock information, network card switch with one click and other functions
Other optimizations and adjustments
Fix - the problem of user interface the height of the button at the bottom of the interface of the start guide is not uniform
Fix - Solve the problem of the color and size of the operation buttons are inconsistent during startup
If you want any bug to be fixed please write here on xda in detail. Give Logcats, mention your device name, mention specific details about the problem. By helping us, you are helping yourself too.
->How to take Logcats?
https://goo.gl/UcTM9 and https://goo.gl/J4CSEP
Thanks for the post. I like it.
Included apps dont update with playstore after first reboot. Wipe all data from play store app but nothing change, "download waiting"...
domenicocortez said:
Included apps dont update with playstore after first reboot. Wipe all data from play store app but nothing change, "download waiting"...
Click to expand...
Click to collapse
You must do a clean installation, since the base is changed, from oreo to pie.
Already clean flash...
Just to install latest version of play store from apkmirror and reboot, everything is ok and updated.
domenicocortez said:
Included apps dont update with playstore after first reboot. Wipe all data from play store app but nothing change, "download waiting"...
Click to expand...
Click to collapse
Although I did not face any such problems. But, nonetheless. Please update whether it did work or not.
Thank you.
There's no problem with play store. Just need to enable gcam. Best miui pie at the moment
Is it possible to allow us to flash Gapps on our own?
I am currently in China and Google is blocked here...So, Gapps is basically junk app here...
Shiw Liang said:
Is it possible to allow us to flash Gapps on our own?
I am currently in China and Google is blocked here...So, Gapps is basically junk app here...
Click to expand...
Click to collapse
No cause it's global based
F2FS supported ?
Is Miui screen recorder included???? I want to record internal sound
Baravan Kurdish said:
Is Miui screen recorder included???? I want to record internal sound
Click to expand...
Click to collapse
Update: Miui screen recorder is available. But, due to Google's policy, it can't record internal sound.
You can always use other apps to do so.
damnsaif said:
You can always use other apps to do so.
Click to expand...
Click to collapse
Ok then it means it doesn't include Miui screen recorder, and No i can't i want to record internal sound and hear it while recording on other screen recorders i can't, i was able to record internal but i couldn't hear it while recording that's why i want miui screen recorder
lelidsn said:
F2FS supported ?
Click to expand...
Click to collapse
No
Baravan Kurdish said:
Ok then it means it doesn't include Miui screen recorder, and No i can't i want to record internal sound and hear it while recording on other screen recorders i can't, i was able to record internal but i couldn't hear it while recording that's why i want miui screen recorder
Click to expand...
Click to collapse
is this one?
camp70 said:
is this one?
Click to expand...
Click to collapse
Yeah that's the one but the name is little different, check the settings and see if you can recorder system sounds only and the other option should be record Mic
Baravan Kurdish said:
Yeah that's the one but the name is little different, check the settings and see if you can recorder system sounds only and the other option should be record Mic
Click to expand...
Click to collapse
It has
camp70 said:
It has
Click to expand...
Click to collapse
Interesting gonna try this rom today, btw how is the battery and performance (gaming)?
Battery not bad to be based on beta. I dont use games
camp70 said:
Battery not bad to be based on beta. I dont use games
Click to expand...
Click to collapse
Ok thanks, u test Antutu? If yes what was the score