yashsingh1/xdaforums huggingface dataset:
[Android Themes] fanoush:
Looks like systemui patching failed

... apply SystemUI.apk.patch ... patch unexpectedly ends in middle of line

so the latest bugfix was not correctly applied. It is the same old crash that should be fixed now, in the logcat it can be seen as

I/dalvikvm( 659): DexOpt: illegal method access (call Lcom/android/systemui/statusbar/policy/BatteryController;.updateSettings ()V from Lcom/android/systemui/statusbar/tablet/TabletStatusBar;)
I/dalvikvm( 659): Could not find method com.android.systemui.statusbar.policy.BatteryController.updateSettings, referenced from method com.android.systemui.statusbar.tablet.TabletStatusBar.userSwitched
W/dalvikvm( 659): VFY: unable to resolve virtual method 3750: Lcom/android/systemui/statusbar/policy/BatteryController;.updateSettings ()V
D/dalvikvm( 659): VFY: replacing opcode 0x6e at 0x0018

and

E/AndroidRuntime( 659): FATAL EXCEPTION: main E/AndroidRuntime( 659): java.lang.IllegalAccessError: tried to access method com.android.systemui.statusbar.policy.BatteryController.updateSettings:(I)V from class com.android.systemui.statusbar.tablet.TabletStatusBar
E/AndroidRuntime( 659): at com.android.systemui.statusbar.tablet.TabletStatusBar.userSwitched(TabletStatusBar.java:1626)
E/AndroidRuntime( 659): at com.android.systemui.statusbar.BaseStatusBar$3.onReceive(BaseStatusBar.java:317)
E/AndroidRuntime( 659): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:758)
E/AndroidRuntime( 659): at android.os.Handler.handleCallback(Handler.java:725)
E/AndroidRuntime( 659): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 659): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 659): at android.app.ActivityThread.main(ActivityThread.java:5227)
E/AndroidRuntime( 659): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 659): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 659): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 659): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime( 659): at dalvik.system.NativeStart.main(Native Method)
[Android Themes] Caldair:
Exactly what [MENTION=1972990]fanoush[/MENTION] said. Thanks fanoush!:)

I just got here from reading the logs and I could not have said it any better! I have never actually seen that particular error from the Auto-patcher before. It looks like your patches might have gotten messed up, maybe during the update process or something... I don't really know.

I was able to patch your devices rom without error. I hate to say it, but you might need to wipe out ApG and start fresh.

Actually, with how early that new hunk is in the SystemUI.apk patch, I am surprised that any zip produced when patching failed before that hunk would have worked at all without an endless loop of SystemUI crashes. I have a feeling that logcat must be from a mod produced before the new fix in the patch that fanoush suggested. Thanks again fanoush!

Hanspampel, clean house and try again. I really think it should work.
[Android Themes] hanspampel:
Ok guys thx for the help. I try it tomorrow from scratch. I hope thats it. Otherwise i came back.;)
[Android Themes] hanspampel:
Ok guys the re-setup did the trick. Works now without any errors on GTab 10.1.
[Android Themes] jase33:
I'm having an issue with the tabletUI mod for CM10.1.1 stable for manta. Is this a problem or did I miss the fix? Thx

### probe rom type ###
... result of ROM check: version= 4.2.2 rom= cm ...
... Using cm patches ...
... tabletUI patch date has been set to: 20130625 ...
### unzip rom ###
inflated: system/app/SystemUI.apk
inflated: system/framework/android.policy.jar
inflated: system/framework/framework-res.apk
inflated: system/framework/services.jar
### create updater script ###
inflated: META-INF/com/google/android/update-binary
inflated: META-INF/com/google/android/updater-script
... using Clockworkmod installer ...
### create restore.zip ###
### decompile system files ###
... decompile android.policy.jar ...
... decompile services.jar ...
... installing framework files ...
I: Framework installed to: C:\Users\JASE\apktool\framework\1.apk
... decompile framework-res.apk ...
... decompile SystemUI.apk ...
### jar patch tabletUI/4.2/cm/20130625 ###
... apply android.policy.patch ...
... apply services.patch ...
### apk patch tabletUI/4.2/cm/20130625 ###
... apply framework-res.apk.patch ...
... apply SystemUI.apk.patch ...

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! error: failed patching SystemUI.apk!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

usage: ./auto_patcher <ROM> <MODS> <ROMTYPE>
example: ./auto_patcher CM10.zip tabletUI cm

Use ./auto_patcher -h for the help menu
[Android Themes] Caldair:
From that it looks like you are using an old version of the auto-patcher. It should be fixed in the newer versions.

You should also be able to patch it with what you have by running the auto-patcher and specifying the patch date:

./auto_patcher cm-10.1.1-manta.zip tabletUI cm 20130403
[Android Themes] jase33:
Thanks. That worked. Why doesnt it work with the 20130625 date?
[Android Themes] Caldair:
The stable releases of CM (10.1.x) are based on CM sources from back in may or early june. There were some big changes in the nightly sources around june 20th that affected the files patched for tabletUI that required the patches to be rewritten to compensate. The original CM10.1.0 came out around june 25th so that's why the patch date was originally set to that date, to allow the stable build to use the old patches.

But then came the later stable builds, 10.1.1 and .2, which were built much later, and the auto-patcher bases the patches it uses on the build date, so the wrong patches were applied.

In the latest versions of auto-patcher however, mateorod has built in a fix specifically for the CM10.1 stable builds that catches this problem and forces the use of the older, working patches.
[Android Themes] jase33:
that makes sense, thanks. got it working right now.
[Android Themes] the_naturat_com:
Do not work on windows 7.
[Android Themes] hanspampel:
It works, im using it under Win 7 64Bit.;)
[Android Themes] the_naturat_com:
For me does not work. I have windows 7 x86. What is this error? Could somebody activate TabletUI in CM, which I use?
[Android Themes] Caldair:
CM10.2 is tabletUI patchable now!

Let me know if it works on your device.
[Android Themes] hanspampel:
With the latest nightlies, think cm team using the newest android 4.3 r2.2 code, is it broken. Cant patch it. But i made a patch with the nightly of 08/16 and this one is still working with the newest nightly.
[Android Themes] Caldair:
Should be fixed now, as long as you were having the same problem as new Nexus was.
[Android Themes] hanspampel:
Thanks again mate. Works like charme.:good:
[Android Themes] Caldair:
Android 4.3 AOSP tabletUI patching support has been added... Finally... sorry for the long delay!:D

It has not been extensively tested as of yet (just by me, on a few roms for the nexus 7 2013), so try it out on your rom and share your successes or failures here. For failures, please post the full log that the Auto-patcher generates and a link to your roms thread or download link.

Remember please that AOSP here means roms that are close to AOSP sources. Many AOSP based roms actually have heavily modified frameworks. Chances are you will not be successful in patching these, but you won't know until you try! Again logs and links are a must if there is to be any chance of getting your rom supported.;)

Happy patching!
[Android Themes] hanspampel:
Hi caldair,

thanks again for you work. I tried it with "rasbeanjelly" and it works nice.:good:
[Android Themes] evanlocked:
Work like a charm on galaxy w gt i8150 jb 4.3 but btw why not tile toggle on it is it like old tablet look anychance to get tile toggle instead the old one
[Android Themes] Caldair:
Thanks for the feedback.

I have looked at doing this before, the tiles would be very nice to have. However this is a big job as the quick tiles were never part of the old tablet system bar, and unfortunately it is beyond my abilities to code it from scratch.
[Android Themes] evanlocked:
Ok bro good to hear that hope a newest version of this mod keep up the good work:)

Edit:just a suggestion why didnt you see paranoid git source for tablet ui patch maybe it helped alot;) im not sure if it works or not just a suggestion:)
[Android Themes] kozmo2k4:
Works with TF300T on CM10.2

:good:
[Android Themes] NekroWolfen:
I get this error while trying to patch CarbonRom for Nexus 7 flo :(

View attachment log20130913003015.txt
[Android Themes] steford:
Just used this for the 1st time after moving to CM10.2 on the original Nexus 7. Was using Tabletizer which hasn't been updated in a while. Works great although lock screen remains in portrait mode. Is this common across all device patches? Thanks.
[Android Themes] Caldair:
Lock screen should rotate. Do you have it enabled in Settings? The ability to enable/disable lock screen rotation is one of the newer features in CM10.2.
[Android Themes] steford:
Aha, got it. Works perfectly.
[Android Themes] madscream:
Best

Big thnx. All work. Nexus 7 wi-fi. last version on 28.09.13 nightly. cm 10.2
[Android Themes] mbze430:
will there be a release for CM10.2 running on based 4.3.1? The CM10.2 for the Galaxy Note 8.0 is now running on 4.3.1
[Android Themes] Caldair:
Yes. [MENTION=4342828]mateorod[/MENTION] updated everything a few days ago for 4.3.1. I just updated my FLO to the latest CM nightly (4.3.1) and built a patch for it. All is working as expected.
[Android Themes] mbze430:
since I am on a Mac my git (Autopatch) doesn't work... is there a link where I can get the package manually?
[Android Themes] Caldair:
I just checked on techerrata.com, where mateor hosts the package downloads but I see the latest is from mid september and won't include the commits you need.

Do you have git installed on your mac? http://git-scm.com/downloads Or is it a known issue with auto-patcher's auto update on mac?
[Android Themes] mbze430:
The git for Mac won't download

the forum over for auto patcher seems like an issue that everyone that is on a Mac have a problem

LOG from Auto Patcher:
[Android Themes] mbze430:
ok ... well I gave up on the Mac for now... Although I still want to get some help on that... however I do have a VM Ubuntu machine....

Anyway... On the Ubuntu 12.04 LTS VM I still can't it to run completely...

Here is the log

EDIT: v3.2.07 WORKS! Thank you!
[Android Themes] hanspampel:
Hi Caldair

It seems the latest nightly of CM10.2 for Nexus 10 dosent patch anymore.
[Android Themes] Caldair:
Thank you. Someone tipped me off earlier today on github. It is fixed now and should work for you again.
[Android Themes] hanspampel:
Yeah saw your commits even on your git. Can confirm that it woks all well. Thx for the update again.:good:
[Android Themes] hanspampel:
Hey Caldair. Are you working on 4.4 update or is it not realizable since google drops the support for TabUI with 4.4?
[Android Themes] Caldair:
I have not wanted to admit it but tabletUI as we knew it is dead.:(

... at least they made the status bar able to be hidden.

Thanks for your support while this project was active [MENTION=4373586]hanspampel[/MENTION]! I appreciate it.
[Android Themes] hanspampel:
Ok, thats what i thought so. But thx for your work.
[Android Themes] VollNoob:
Unfortunately, it didn't work on my HTC One X with SlimBean 4.2 Build 8
[Android Themes] hanspampel:
Hi [MENTION=1449163]Caldair[/MENTION]

It seems we cant patch the last cm10.2.1(manta) with your tabui. Got a failed. Maybe you can take a look.;)

Thx
[AT&T HTC One (M7)] enzosly:
I have to say this battery is killing me. Anyone else seeing heavy battery drain?
[AT&T HTC One (M7)] JoeM01:
Coming from a One x, I have to say no. I've been very pleased with the battery so far.
[AT&T HTC One (M7)] Toaster Strudels:
Let it break in :)

Sent from my HTC One
[AT&T HTC One (M7)] Goatshaver:
Nope. Actually it's been really good. :)
[AT&T HTC One (M7)] rgoyena:
Im always on power save
[AT&T HTC One (M7)] minicoop7:
Been using this since full charge watching directv, plex, vevo, YouTube and battery seems decent. Still no match with my buddy's Note 2. But acceptable.
[AT&T HTC One (M7)] youwonder:
I had some issues with my battery when I got it. Turns out the stock clock/weather thing on the lock screen couldn't get a lock on my position (just kept saying "current location"), and would run GPS for 10 seconds whenever I unlocked my phone. After fiddling with GPS and the weather settings themselves for awhile to no avail, I said F it and just let it happen. Eventually it got a lock and since then battery life has been fine.
[AT&T HTC One (M7)] CheesyNutz:
Battery is fine for me
[AT&T HTC One (M7)] Cheeze[iT]:
Battery been great. Way better than the s3. Just wished I could still view screen on time
[AT&T HTC One (M7)] CocheseUGA:
Battery has been surprisingly good after the first day. Unplugged over 10 hours with about two hours screen time and at 60%.
[AT&T HTC One (M7)] pokey9000:
WiFi Performance mode kills mine fast.
[AT&T HTC One (M7)] cdromo90:
just returned a Note 2 and although its not right up there with it, its still pretty good.
[AT&T HTC One (M7)] SirSigma:
I have been incredibly happy with the battery life. It's solid and wonderful.
[AT&T HTC One (M7)] lunercrab:
Battery has it's ups and downs for me....like today I had less the 6 hours off the charger and got like 2.5 on screen time and battery was down below 30%...haven't been able to get over 13 hours on a charge with moderate usuage....turned off lte which helped some but not a lot
[AT&T HTC One (M7)] enzosly:
Going to mess around with settings. It could be that I'm spoiled with my note 2.
[AT&T HTC One (M7)] miketamm:
It has a non removable battery. How do we swap the battery if it dies?
[AT&T HTC One (M7)] xeni:
Buy a new phone.
[AT&T HTC One (M7)] davewuvswaffles:
I started this morning around 75% and got to 8% in about 8 hours of heavy usage. I must have sent a few hundred texts today along with a bunch of snapchats, took a bunch of pictures, web browsing, some Navigation use, an hour or so of Skyping, and a whole bunch of other stuff. Battery saver was on, but I had data running all day, Wifi and LTE per the situation. It actually said that Messaging was the main battery hog at 32%.

What I've taken from it is that if you're going to be using the phone heavily, it doesn't hurt to have a charger.
[AT&T HTC One (M7)] Cheeze[iT]:
Where do you guys see how much screen time is used? I don't see it with sense
[AT&T HTC One (M7)] davewuvswaffles:
Weird, my battery just went from 8% to 32% from being on the charger for a few minutes.

I guess it's not calibrated very accurately yet.
[AT&T HTC One (M7)] sifulee:
I'm a little frustrated with my battery life. Got the phone on the 1st and the most I can get with moderate to heavy usage is 7 to 10 hours. I've done a full drain at least 5 times now and it seems to be getting worst. I've installed batteryguru so hopefully that will help. Will see.
[AT&T HTC One (M7)] Grumpy Bob:
I was not digging the battery either but then I got Juice Defender and I have to say it's made a world of difference.

Still not a great battery but JD actually makes it manageable.
[AT&T HTC One (M7)] chambers7867:
I have a great combo of apps used to keep my battery in check on the one. Im getting awesome battery life with it.
[AT&T HTC One (M7)] anilkuj:
what app is that?
[AT&T HTC One (M7)] chambers7867:
The app that makes the biggest difference is NFC task launcher. When on WiFi I turn off my data connection and Bluetooth and set it up to my needs. The data off when on WiFi alone saves 3-4 hours of useage
[AT&T HTC One (M7)] chambers7867:
Here are my typical rules that I use on a Dailey basis.

Hope this helps!
[AT&T HTC One (M7)] fl13dl1c3:
I'm having battery stats similar to yours with more than 30% of battery used by the kernel... anyone else have this same issue??:confused:
[AT&T HTC One (M7)] tyshemi:
Best I could can get is 16hrs and 330 screen on time not bad but not great either
[AT&T HTC One (M7)] xeni:
I can't believe how people are complaining about 16hrs+ of time with 2+ hours of screen time. I had a galaxy S3 with work e-mail and MobileIron and the best I could do is about 8-9 hours of total battery with 1.5 - 2 hours of screen time. I am currently on 24 hours of total time with 1.5 hours of screen time and still have 25%.
[AT&T HTC One (M7)] joshyy_rey:
Mine the other day. 4 hr SOT almost 2 hr of talk. And 1 hr of music. In satisfied. And not an ounce on WiFi. LTE is too fast lol
[AT&T HTC One (M7)] tyshemi:
Wasn't complaining there tough guy and tbh with smartphones progressing so fast consumers are always going to want more! This phone it's good at everything I was asking about wakelocks and was holding my phone up from getting better life out of it
[AT&T HTC One (M7)] kasper1977:
Have had my one for a couple weeks now getting two solid days with average use on stock Rom
[AT&T HTC One (M7)] tyshemi:
Check this out I can't track this down
[AT&T HTC One (M7)] Dazrin:
I just spent over a week at Disney World with this as my main camera and took over 1,500 pictures (about 1/2 Zoes) and the lowest I got was 10% after a long day. I don't have a screen shot or the exact times it was on for, but while I was concerned at first it seemed to work fine. I know for me during normal workdays the battery will be more than adequate.
[AT&T HTC One (M7)] Orion575:
Have you ever used an S4? Sounds like you never had it!

---------- Post added at 02:09 AM ---------- Previous post was at 01:46 AM ----------

That is the reason I returned my One and kept an S4!
[AT&T HTC One (M7)] californiarailroader:
That's nice, but I think we need more posts on how to help the HTC One Battery ;)
[AT&T HTC One (M7)] nisekyuu:
I don't understand this. You guys say you're happy with 3-5 hours of screen on time, yet there are people up in the international HTC1 forums posting pictures of their 6+ 7 hour Screen on times. Are they doing something different from us? I've been fussing with the software for days trying to increase the battery life. Power saver on, LTE off, screen on 25% brightness, and greenified apps, and the best screen on time i've gotten is 5hr 20m. Is there something wrong with my battery? Should I get it replaced
[AT&T HTC One (M7)] barondebxl:
5h on screen time and you complain?
[AT&T HTC One (M7)] Mrkrackie:
I would kill for 5 hours I'm lucky to get 4 hours with 15 hours off charger. Usually dies after 3 hours or so of screen. With everything off. I believe mine is bad just hoping it'll magically get better.
[AT&T HTC One (M7)] barondebxl:
Wait, are you talking about on screen time or time off charge?
[AT&T HTC One (M7)] godfirst:
He's referring to screen on time. Screen on time varies depending on each individuals usage. Everyone will not get the exact same screen on time, because everyone don't use their phones the same.
[AT&T HTC One (M7)] dalamchops:
Ive been running 40 hours, 2hr screen time, with 40% remaining.
[AT&T HTC One (M7)] Napoleon_PhoneApart:
I take it there are no kernels out there with fast charge enabled?
[AT&T HTC One (M7)] ZekkRagnos:
In getting good battery life so far!
[AT&T HTC One (M7)] tsktsk999:
Hi guys,

may i know is my battery life normal?

anybody know what does Phone Radio means? according to the usage, the Phone Radio and the total usage are the same.
[AT&T HTC One (M7)] Alaris:
Phone radio is your connection to your cell network.
[AT&T HTC One (M7)] Cl0ud7:
overall not bad..considering i came from a samsung captivate :)
[AT&T HTC One (M7)] angehorus:
Battery issue

The battery of my previous S3 was better than my new HTC one, i don't know how i should set elementX to improve it
[AT&T HTC One (M7)] Mrkrackie:
Not having the best luck.
[AT&T HTC One (M7)] tyshemi:
That's not that bad man to be honest
[AT&T HTC One (M7)] tyshemi:
That was yesterday not great
[AT&T HTC One (M7)] Mrkrackie:
Not even an hour of screen time. How is that even remotely not bad.
[AT&T HTC One (M7)] tyshemi:
Trust me with what you have left that's normal for me I have to be on wifi to get great battery life ! Look at my stats I poster 9hrs and 4 screen on time was all wifi that's not good ompared with what others get ! I have two htc ones and one is rooted with rom and gets close to the same so I'm at a loss as well but yours wasn't bad imo
[AT&T HTC One (M7)] bostonfan:
as a former htc inspire user, the battery life for me is amazing!
[AT&T HTC One (M7)] ElBeaner:
I'm not having heavy battery drain, but slow charging. I took the phone to 0% last night full power off. Plugged in and Gsam app said it was going to be 4.5 hours to full charge. Given that the stock charger is a 1A charger at most it should be 3 hours if that.
[AT&T HTC One (M7)] mfknboss:
6hrs on screen time. Can't complain :)
[AT&T HTC One (M7)] Alaris:
Are you doing anything special?
[AT&T HTC One (M7)] mfknboss:
Power saver is on. WiFi is on for 5 of the 6 hrs of screen on time. I did do what HTC recommended for the HTC evo 4G OG. I charged to 100% unplugged it, power off, plug it in wait till the charge led turned green, unplugged turn on plug in and wait for the charge led to turn green again, unplug and repeat about 5-6 times.

Edit* I also have data turned off while using WiFi, also disabled all bloatware apps that allowed. Stock Rom not rooted.

GPS is off I don't use it.
[AT&T HTC One (M7)] RyanTX:
I'm on a galaxy nexus and seeing these screenshots makes me way jealous. Im lucky to get 1.5 hours of screen on time.

I really hope this phone is introduced for Verizon next week!
[AT&T HTC One (M7)] sliderocket22:
Are most of you rooted or stock? Unless I have my brightness set to 20-30%, my One's battery is destroyed. Even then, it doesn't fair that well. I definitely throw it on the charger at least once at work.

I'm completely stock. However, I haven't disabled LTE. I get it at home (1-2 bars) but not where I work. I usually have WiFi off when I'm out or at work since it does me little good. Power saver is off.

I just downloaded the Better Battery Stats, so I'll give it a full charge and see what goes on with the phone.
[AT&T HTC One (M7)] haw_spider:
Hi. This is my Att htc One battery life. It is getting better... this is my third charge since I bought it.. Usually The One uses around 8-9% while talking an hour and around 10 % an hour while browsing.. I am not a gamer. So I would say the battery is great for stock rom.. with that 6% left I culd get around 40min of usage.. so 7-8 hours is not bad for third charge..:) Getting international rom would help a lot I think .. I stil use Htc one x and I get around 7 hours of usage out of it with viper rom..

For now I am happy with battery especially with stand by time which drains around 1% every 2 hours.

Biggest drain is the screen of course when used outdoors in full sun, so that is what lowers the average screen on time for some people
[AT&T HTC One (M7)] dc/dc:
Of the three devices I'm using right now, the One is by far the best when it comes to battery. It's incredible. I checked my battery metre last night before I went to bed, and I still had 65% after 18 hours off charger.

1. HTC One

2. Nokia Lumia 920

3. BlackBerry Z10 on OS10.1

The Lumia usually gets all the way through the day, but it can be flaky if some app is hung open. The Z10 rarely gets a complete day, and definitely not a Friday.

All devices have Bluetooth on (though only active in the car), WiFi is used at home and work, and LTE is used all other times. I have three Exchange accounts on each (work and two outlook.com), I make about 20 minutes of calls on average a day, and send maybe 10 texts.