yashsingh1/xdaforums huggingface dataset:
[Motorola Atrix 2] PhoenixNghi:
THIS IS FOR ICS 1ST LEAK, ODEXED

Awesome,

May I contribute another style? ^^

I like honeycomb :silly:

http://www.mediafire.com/?t236f3hkd1zkeak

based on
[Motorola Atrix 2] alteredlikeness:
Yes! Definitely.. Great idea. I will link to your post in one of the OP's..

I am assuming that you just went into my zip package with 7-zip and opened the SystemUI.apk and just dropped in the new 204 battery images in the proper folder to overwrite the others, right? You didn't have to re-sign the zip package did you?

NOTE TO ALL: PLEASE FEEL FREE TO CONTRIBUTE YOUR BORROWED, STOLEN, OR HAND-MADE BATTERY ICONS! SEE POST #2
[Motorola Atrix 2] PhoenixNghi:
Yes, exactly, just modified this file, drag n drop

but I used winrar.

Tested ok on my phone.
[Motorola Atrix 2] Drgravy:
hey altered

I hope this okay to share this here

I found this modding tool called "tickle my android" by ticklefish

it can change all sorts of icons like battery,wifi,signal bars.

I think it has something like 46 different sets of battery icons:)

also has build in ADB so you can pull files the decompile/recompile them and push them back

and also has a few othor features

I think it is really simple to use

Check it out and let me know what you think​
[Motorola Atrix 2] alteredlikeness:
Of course it's ok to share..

And yea, i'm somewhat familiar with that.. ticklefish made a cool tool.

But, I still prefer to do it manually. Besides, I think that program always decompiles, even for battery images.. that's overkill, if you ask me.

Sent from my phone's mind
[Motorola Atrix 2] Drgravy:
I agree

but I think it is still a great place to swipe some images from
[Motorola Atrix 2] xLordNitro:
How would i find the 204 battery pngs? Its just the stock battery that came with the leak
[Motorola Atrix 2] alteredlikeness:
That's up to you... you could try to see if someone created something like those.. or maybe make some.

There are only like 20 or so battery images in the stock SystemUI.apk which runs at 10% increments.. So, there are not enough images included in stock to give you 1% increments with that stock icon. You would either need to create the rest with GIMP or Photoshop, or get lucky and find some that have the look you want.
[Motorola Atrix 2] xLordNitro:
http://xdaforums.com/showthread.php?t=1434061 The ICS Domination Battery is pretty nice, isnt that the one that was in Romulus? If you could make that one it would be nice? Or do those directions in that post work?
[Motorola Atrix 2] alteredlikeness:
This one?

I didn't use that in Romulus.. at least not in v2..

But, yea, in theory, you could just:

-take one of my 1perBatt_DropTogs zips (odexed or deodexed as appropriate for your system - take the one with drop togs, or you will loose those)

-open it with 7-zip or winzip on your computer

-navigate to /system/app/SystemUI.apk/res/drawable-hdpi in the 7-zip/winzip window

-then drop the 204 images you want right in there, and click 'yes' to overwrite (note: they need to be named stat_sys_battery_'something'.png)

-rename the zip (so as to avoid confusion), and flash as per usual

But, that is a good link - been there before.. Thanks!
[Motorola Atrix 2] alteredlikeness:
double post.. hmmm.. the possibilities now...

How about an old photo?
[Motorola Atrix 2] fran7382:
is there a way to change the spacing between the wifi icon and signal icons, or to delete the 4g icon to get rid of that awkward space that i've mentioned before? i wanna know how to make it look more like this
[Motorola Atrix 2] alteredlikeness:
Yes it is possible.. I think. One would probably need to do some extensive xml edits.. but, if you got rid of the 4g icon, how would you know if data is on or not?

Sent from my phone's mind
[Motorola Atrix 2] fran7382:
I could check the awesome data on/off toggle in the notification drop down ;)
[Motorola Atrix 2] alteredlikeness:
Riiight... The toggles :)

I'll check it out when I get a chance, but off the top of my head I would guess the status_bar.xml (at least) would need to be edited in the layout folder in SystemUI.apk..

EDIT: and/or maybe the signal_cluster_view.xml

What's up with all of these new xmls in ICS? They look all sloppy and weirdly spaced... anyone else noticed?

Also, anyone decompile the homescreen.apk yet? You most likely will have some bad 9patch files in there (six total, to be exact), and will get errors compiling unless you fix them... I have re-drawn the patches and fixed them up if anyone wants my decompiled copies.. PM me... Not that I had much faith in Moto as it is, but this is ridiculous.
[Motorola Atrix 2] fran7382:
Thanks again!
[Motorola Atrix 2] hankbizzo5:
Disreguard phone is F'ed up will not charge on charger % keeps going down.....
[Motorola Atrix 2] fran7382:
The data icon disappears because you are using a wifi connection, not mobile data. Which is why the icon reappears when wifi is turned off.

Sent from my ATRIX 2 running ICS :D
[Motorola Atrix 2] hankbizzo5:
Has never done that before in the past just started today ..... There is always the 2 the data and the wifi icons on the bar.....
[Motorola Atrix 2] fran7382:
That's the way it was on gingerbread but it changed in ics lol. It's weird but you'll get used to it. It's always been like that for me and I flashed the leak twice.
[Motorola Atrix 2] hankbizzo5:
Check out the pic the E is always on the data version not the no data E but is now gone ????? This is how mine has been since today gone?????
[Motorola Atrix 2] fran7382:
And now I have no more answers haha...can anyone else help?

Sent from my ATRIX 2 running ICS :D
[Motorola Atrix 2] hankbizzo5:
Lol same here I know I am not bugging I watch it every time I send a text ocd ish lol....
[Motorola Atrix 2] alteredlikeness:
Everything in order here? Or is your phone out of order, hank? Lol.. :p sorry. I don't mean to poke fun at your misfortune, but I couldn't resist..

So, how is it going? You get 'er working? And for the record, I didn't touch any of the data stuff...

Sent from my phone's mind
[Motorola Atrix 2] hankbizzo5:
Lol yea i peeked in the files, and everything is there where it should be.... As for my phone not a clue at 75% plug in charger down to 47% in a blink..... about to roll back and try again ..... Think this is my hint to get the sgii and get it over with..... All good poke away LOL.....
[Motorola Atrix 2] rdavisct:
The best u can do without extensive editing is go into bools.xml and u can disable the "hide data when on wifi" .so theyre wont be a space, instead youll see the 4g there grayed out. Untill u disconnect from wifi
[Motorola Atrix 2] hankbizzo5:
Just wanted to add that i was in no means trying to be insulting..... I personally know the effort that goes into this type of project and my hats off to you and all the devs..... Think I got my issue resolved cleared battery state full charged repeated and all seems good..... Guess some kind of rouge glitch.....
[Motorola Atrix 2] devilhunter47:
Please devs can you make one for the SEARET 4.0.4??..
[Motorola Atrix 2] atrix_noob:
What the 1% mod is used for?

Srry i don't know lol's

Sent from my Motorola Atrix 2 running ICS Leak!
[Motorola Atrix 2] devilhunter47:
Shows battery percent as 51,52,53 etc instead of the stock 50,60,70
[Motorola Atrix 2] atrix_noob:
Ohh ok! Thank u

Sent from my Motorola Atrix 2 running ICS Leak!
[Motorola Atrix 2] alteredlikeness:
This one?: http://xdaforums.com/showthread.php?t=1758824

If you could send me the deodexed SystemUI.apk and services.jar, I might be able to help you..

It's better if you hit the "Thanks" button on the post you found useful...
[Motorola Atrix 2] atrix_noob:
Srry! Hehe and again thank u

Sent from my Motorola Atrix 2 running ICS Leak!
[Motorola Atrix 2] alteredlikeness:
Major update to OP#2 - guide for porting to your system version (MEARET, SEARET, Etc... even other devices maybe!)

Sent from my phone's mind
[Motorola Atrix 2] fran7382:
I'm on SCv7, how can I get the stock battery back? Could I use the zip that has just the drop down toggles, and then replace the battery icons with the stock ones?
[Motorola Atrix 2] Chowlz:
I'm on SCv7 with update 2 and was wondering if there was a way to get the little blue circle from the original ICS like in the screenshot without changing the toggle icons.
[Motorola Atrix 2] fran7382:
I've been trying to get just the drop down toggles with the stock 10% battery by doing it all myself but editing xml's and all that stuff i have to do is just too difficult for me.... can anyone help?
[Motorola Atrix 2] alteredlikeness:
I can help you do it yourself, or you can send me your current SystemUI.apk and services.jar, and I will try to do it for you as soon as I can...

Sent from my phone's mind
[Motorola Atrix 2] fran7382:
I figured it out, with some help from alteredlikness. All it took was moving around some png's and odexing the SystemUI.apk

THESE ARE FOR ODEXED ROMS: If you want these drop toggles w/stock 10% battery,

here's the dropbox link.

If you want these drop toggles from scv7 w/stock 10% battery,

here's the dropbox link.

Here are the same mods (drop togs, 10% batt), but for DEODEXED.

Old Drop Toggles

SCv7 Drop Toggles

Wipe cache/dalvik cache and flash in bootmenu. enjoy!
[Motorola Atrix 2] alteredlikeness:
Nice!! I updated the OP linking to your post..
[Motorola Atrix 2] fran7382:
Added mods for deodexed systems...
[Motorola Atrix 2] alteredlikeness:
Updated guide to put the toggles at different locations (very top, very bottom, or standard) - check under the "-edit status_bar_expanded.xml or status_bar_tracking.xml for new qp xml" heading...
[Motorola Atrix 2] jlvanvleet:
Deodexed Stock with 1% Battery Circle and Updated Quick Panel Icons

I took and edited the images used in the SCv7 quick panel toggles so that the colors were uniform for both the on and off icons. I took the SystemUI.apk from SCv7 and changed the images inside to revert it back to the stock look and then added my modded quick panel icons. Below is images taken from my phone with the mod installed. I also added the 1% Circle Battery Mod to this as well.

Off

View attachment 1319366

View attachment 1319367

On

View attachment 1319368

View attachment 1319369

Here is the link to the file:https://www.dropbox.com/s/sf3mxy1ncwlci4g/1%25BatteryQPmod.zip

Follow the install instructions given in the opening post

Thanks goes to rdavisct for SCv7 and alteredlikeness for the opening this post.
[Motorola Atrix 2] shardul.phatak:
i successfully flashed this on timmytim's new ICS ROM

thanks a lot :good:
[Motorola Atrix 2] Black Metal:
hey guys i have a problem with this 1% battery,i tried every uploaded files for 1% battery and flashed on my a2,but it deletes my notification bar and battery is still on 10% mode...im on ICS leak and my version is 672.1.7.mb865.meretail.en.06...also my background wallpaper is black and cant be changed...can you guys help me?!
[Motorola Atrix 2] alteredlikeness:
These zip packages do not work with MEARET systems.. you will need to follow the guide and make your own. It's actually pretty simple. In fact, I just got the 1% battery to work for cm10! ;) (after a little troubleshooting..)
[Motorola Atrix 2] Archmag3:
Mind sharing it please ? :good: :laugh:
[Motorola Atrix 2] Landon418:
Can somebody upload the "Smali" folder with the toggles? I can't decompile systemui.apk to port from , but I could decompile my phone's systemui.apk
[Motorola Atrix 2] alteredlikeness:
Use the framework-res.apk from the carrier removal zip as your framework for apktool... http://xdaforums.com/showthread.php?t=1780265 - then you should be able to decompile (are you using the newest apktool? v1.5.0, I think.. from iBotPeaches)

Sent from my phone's mind
[Motorola Atrix 2] Landon418:
THANKS! Turns out I was using an older version of apktool...:silly:
[Motorola Atrix 2] alteredlikeness:
I added the stock deodexed files to OP#2, for anyone who wants to run a diff and compare with the deodexed modded files for porting purposes..

Also, why not... here's a working 1% battery for CM10 that I put together a while ago - flash in cwm recovery, and wipe dalvik and cache. please note that I myself am not satisfied with the batt images, but that's an easy change.

Since, dropbox sux.. here's another link to the CM10 1% battery

EDIT: Links removed due to non-compatibility with newer builds of CM10
[Motorola Atrix 2] shardul.phatak:
1 request .... can i have 1% battery & drop toggles for Xanadu's Multilanguage ROM :fingers-crossed:
[Motorola Atrix 2] alteredlikeness:
Well, if someone wants to test it out... find it here: TogsBatt_ICSMultiLangROM.zip. I have no idea if it works but, I did it the same as I've done many others..

For xanadu's deodexed ics multilanguage rom only.

EDIT: FOR THE MAIN ROM ONLY, NOT THE STOCK ONE AT THE BOTTOM OF THE OP.
[Motorola Atrix 2] shardul.phatak:
thanks altered .... but it didnt work out

system ui failed
[Motorola Atrix 2] alteredlikeness:
Dang.. sorry. I'll try to look at it closer today.. I kinda put it together in like 15mins yesterday.. I may have overlooked something

EDIT: ...or not. See edit two posts up.

Sent from my phone's mind
[Motorola Atrix 2] deveshmanish:
Can i have 1%battery mod and drop toggles for ICS leak 2???
[Motorola Atrix 2] alteredlikeness:
Maybe, if/when I get around to it.. but, I don't typically do requests. The guide at the beginning of this thread should help you or anyone to do it - and you might be surprised how simple it is. Tools like WinMerge (for windows) or Meld (for linux) are very helpful. Also, APKManager or MultiTool help with compiling and saving signatures and whatnot (just remember to update the apktool and appt). If anyone has any issues they can post here.. and maybe everyone can learn from it. ;)
[Motorola Atrix 2] deveshmanish:
I'll try n follow that guide but just in case you get the spare time if you dont mind it would be highly appreciated.if i finish ill post it here.

Thanks nywz.
[Motorola Atrix 2] hankbizzo5:
Is the newest version renamed apk multi tool????? here is what I have been using Apk multi tool.....
[Motorola Atrix 2] alteredlikeness:
Yes, Apk Multi-Tool is the newer version. ApkManager is the original, I think. Both work well if you have the latest apktool and aapt.

Lately, I've just been using raw apktool..

But, the cm10 framework-res.apk is being stubborn to compile - I found that you need to edit the arrays.xml and delete the public.xml in order to compile without error.

Sent from my phone's mind
[Motorola Atrix 2] hankbizzo5:
Would you mind to share the edits in a pm or on the thread?????? Had to use 7zip on the last few mods.....
[Motorola Atrix 2] alteredlikeness:
Well, just tried again, and now I get no issues re-compiling cm10 framework-res... strange. But before I had to edit the lines shown in the error (something about "reference-array" where "string-array" is expected), and deleted the public xml... but, so far that error is no more... It might just be a diff version of apktool or aapt that I was using on a diff comp or in linux... no idea.
[Motorola Atrix 2] hankbizzo5:
Now are you using the framework.res and SystemUI.apk from Cm10 in the apk tool/other file????? After a reboot seems to work wonder if there are some residual files that get left over and cause this issue..... Weird????? Working for me now also.....

Btw : The apk-multi-tool has the nice new features seems more stable.....
[Motorola Atrix 2] deveshmanish:
i keep getting this error while trying to decompile systemui.apk (modded version) i successfully decompiled my stock systemui.apk so i guess there is no problem with the apktool.

please help!!!
[Motorola Atrix 2] alteredlikeness:
Try apktool v1.5.0 (search xda), and the new aapt posted there also.

Then put your framework-res.apk and SystemUI.apk in the same folder as apktool and type:

apktool if framework-res.apk

And do the same with systemui.apk - both from the ROM you are decompiling. It needs to be done each time you work on apks from different systems.

Sent from my phone's mind
[Motorola Atrix 2] alteredlikeness:
Here are the ATT ICS leak#2 deodexed versions of the batt & togs mods: https://dl.dropbox.com/u/61960599/att_leak2_battogs_signed.zip

Thanks to deveshmanish for the deodexed files. This mod package has not been tested. They may or may not work on some of the deodexed roms based on ICS leak#2 (depending on apk signatures). If someone wants to re-odex them to work on stock ICS leak#2, please see here and feel free to ask me any questions about the process.
[Motorola Atrix 2] deveshmanish:
Hey i have the toggles and battery mod installed.would it pose a problem in OTAing???
[Motorola Atrix 2] alteredlikeness:
Not sure.. if it fails, at least you know why.. Lol

I'm mostly positive that it will fail though - it checks the SHA-1 hash of the SystemUI.apk/odex and services.jar/odex before intalling the update.. if they don't match, it fails.
[Motorola Atrix 2] alteredlikeness:
Just an update for anyone having troubles re-compiling the cm10 framework-res.apk... in my case, it was apktool v1.5.0 causing the compiling errors (maybe it decompiled it wierd too) - but, for cm10 frame-res, use apktool 1.4.10

If you can't find different versions of apktool, I've got a nice collection.

Sent from my phone's mind
[Motorola Atrix 2] deveshmanish:
Confirmed working!!!!

However i swapped in the battery images...

If someone needs this version with the new battery images here(only deodexed ICS leak#2):

http://db.tt/CE1BwoGO

Thanks altered!!!

Sent from my Atrix2 Stock ICS Leak#2 Rooted,Deodexed,With Google Now...
[Motorola Atrix 2] alteredlikeness:
Lol.. thanks for confirming - wasn't sure if those worked and I quickly tried to redo and odex them yesterday, and must've overlooked something - ended up fxz'ing... oh well, I'll try again.

Sent from my phone's mind
[Motorola Atrix 2] deveshmanish:
Yeah well i'm here for such things.

BTW did you forget to remove the carrier name in this???

I'm trying to figure out how to do that..

Sent from my Atrix2 Stock ICS Leak#2 Rooted,Deodexed,With Google Now...
[Motorola Atrix 2] alteredlikeness:
Right.. did not remove carrier name in that. I really want to find a cleaner way, but this is the method I use so far: http://xdaforums.com/showthread.php?t=1773879

Works well for the one in status bar, but it will remove all notifications (like "No Internet Connection" and "Emergency Calls Only") in the pull-down shade and lockscreen.
[Motorola Atrix 2] Gekass:
is it working with the official at&t release?
[Motorola Atrix 2] alteredlikeness:
No, not an odexed mod for stock final ics yet. The one's in the OP will soft-brick you.

Deodexed for final is posted a few posts up though - I just couldn't get them re-odexed for some reason... but, I plan on it soon (really, I do).
[Motorola Atrix 2] Gekass:
Hi.

do you mean the one posted in the #92 post?

just want to be sure!

Thanks!
[Motorola Atrix 2] alteredlikeness:
I meant post #88, but those in #92 I believe work also, but have different battery icons.

And, these are for deodexed systems only..
[Motorola Atrix 2] Gekass:
And the stock ics is deodexed right?
[Motorola Atrix 2] deveshmanish:
Nope bro stock ROM is odexed.

FYI if you see .odex files in your system/app and system/framework then your system is odexed.
[Motorola Atrix 2] TonySkate:
Will this work on official att ics? I just want the notification toggles.. Sorry i am new and i want to be sure

Enviado desde mi MB865 usando Tapatalk 2
[Motorola Atrix 2] deveshmanish:
Now what part if that you didn't understand that you had to ask this very question???
[Motorola Atrix 2] TonySkate:
Did you read the qoute?

Enviado desde mi MB865 usando Tapatalk 2
[Motorola Atrix 2] deveshmanish:
I certainly did the question is did you??But hey this can go on for like ever.

Not being rude but the answer was already there.I guess you just don't understand it.so lemme just give it to you plainly.no it will not work on official AT&T ICS(unless you got it deodexed)
[Motorola Atrix 2] alteredlikeness:
:D Got it!! Ok.. now the odexed mods will start coming.. ;)

Sent from my phone's mind
[Motorola Atrix 2] devilhunter47:
Quick question..the deodexed drop toggles work on Numa??
[Motorola Atrix 2] alteredlikeness:
Not the ones in the OP.. and maybe not the newer deodexed ones either

.. what exactly would you like to change with the Numa drop toggles, maybe I could help?

Sent from my phone's mind
[Motorola Atrix 2] devilhunter47:
Hmm okk..i like to have the scv7 leak2 drop toggles:)
[Motorola Atrix 2] alteredlikeness:
And here's the help I offer:

Take a copy of the SystemUI.apk from SCV7 and the one from Numa, and open them side-by-side with 7-zip or Winrar. And copy by drag and drop from SCV7 to Numa the following:

-all "quickpanel.." and "quick_panel.." png files in/res/drawable-hdpi

-quickpanel_quick_settings.xml, status_bar_expanded.xml, and status_bar_tracking.xml (and maybe status_bar.xml if you want) from/res/layout

-then push the modded Numa SystemUI back to your phone and set permissions (root explorer, adb, zip..)

Or just take the entire SystemUI from SCV7 (or not, I just noticed that the sigs in META-INF are different- but might still work on Numa), but that will mess up the Recent apps screen (cause it's got dimensions in framework-res).

That's why I thought it'd be easier to just show you how because there's too many mods in Numa that tie the apks and jars together

Sent from my phone's mind
[Motorola Atrix 2] anikadam:
How about adding a 2G/3G toggle ??
[Motorola Atrix 2] alteredlikeness:
That would require some major edits - and I don't think I can accomplish it easily (and, honestly, I don't want to commit so much effort in to trying to figure it out). But, there are toggle widgets on the Play Store that do that though, right?
[Motorola Atrix 2] devilhunter47:
Will give it a try after making a nandroid backup of my current rom:)..this procedure changes the entire pull down screen or just the toggles??
[Motorola Atrix 2] alteredlikeness:
That should make the whole shade close to SCV7, if you still want the toggles on the bottom then take only the quickpanel_quick_settings.xml and the pngs

Sent from my phone's mind
[Motorola Atrix 2] alteredlikeness:
Updated OP with odexed and deodexed batt and tog mod for final att ics..

Sent from my phone's mind
[Motorola Atrix 2] anikadam:
Not a problem, i am using a widget which gets the work done.. But would definitely look into the edits from your drop doqn toggle guide :thumbup:
[Motorola Atrix 2] x3ro:
Is there any way to modify what toggles show up and the order?
[Motorola Atrix 2] alteredlikeness:
The order is in the SystemUI.apk/res/layout/quickpanel_quick_settings.xml...

To get different toggles you need to edit/add to the quickpanel smali code and some xmls in /values. Not easy to add different ones..

Sent from my phone's mind
[Motorola Atrix 2] Gekass:
Thanks, tested the odexed version on my stock ics and it's working.

Now, is it me or there's no reboot option in the stock ics?

(sorry for the off topic question)
[Motorola Atrix 2] deveshmanish:
There's no option in ICS for reboot buddy and the modding required to implement that is not a piece of cake too.
[Motorola Atrix 2] x3ro:
Most of this flew right over my head :\

I've never decompiled an APK or anything.

I think there's just too many options on the quick toggles. I love the mod, but I'm just wanting wifi, bluetooth, GPS, silent, and rotation lock on mine. I don't need the others. Any good tutorials on doing what you mentioned in your post above?

I know how to edit XML files, but the rest just kinda flew right over my head. LOL.

Thank you for this mod though!
[Motorola Atrix 2] PhoenixNghi:
REMAKE VERSION OF THESE

1% HONEYCOMB BATTERY STYLE
​

​

ZIP INSTALL

DEODEXED_1perBattTogs_battHoneyComb_ICSFinalATT_signed

ODEXED_1perBattTogs_battHoneyComb_ICSFinalATT_signed
​
[Motorola Atrix 2] paleozord:
So the odexed version above should now be installable on second/leak/final/OTA Roms without bricking, or still only first-leak systems? Can anyone confirm?