yashsingh1/xdaforums huggingface dataset:
[One (M7) Themes and Apps] agentdr8:
What rom are you on? Prism.apk changed from 4.1.x to 4.2.x, so that might have some bearing on why it isn't working for you.

The correct size of each image should be 76x76px to display properly on Sense roms using my mod. I don't believe there were too many hi-res honeycomb devices, so it's unlikely you'll find them already made to those dimensions. Short of scaling each image up, which like you said might make them pixelated, you'd have to recreate/redraw each one.

There should only be 113 battery images; 101 for each battery percent (0-100), 1 for battery_unknown, and 11 for charging animations.
[One (M7) Themes and Apps] Jake_09:
Apparently, this person went so far as to create a battery animation from 0-100 as well as the standard 101. What I'm doing right now is scaling them up 70x70 and using the effects tool to sharpen the images a little. They actually aren't looking too bad when zoomed out to 100% but I still have my doubts. I don't think the extra 36 pixels will make them look that much worse. I'll try it with a few and see.

If this doesn't work, I have no idea how to redraw them otherwise I would just do that instead of scaling them up because it seems to me that it would be an equivalent amount of work with the exception that the way I'm doing it may end up making them look super crappy. :eek:

Also, what is the resolution? The default for paint.NET is 38.7 pixels/cm
[One (M7) Themes and Apps] agentdr8:
Gimp is showing 76x76px is 72ppi, or 28.346 px/cm.

Also, the mod only handles 11 charge animation images currently. If you don't think it would look right with only 11 images, I might be able to have it use however many are found within the charge subfolder.
[One (M7) Themes and Apps] Jake_09:
I'm just not sure which 11 I would choose to do the charging but based on my usage of this battery icon in the past, it's really cool if you can use all 100.

After 3 hours, I'm not quite even halfway. :eek: I don't know how you guys do this...
[One (M7) Themes and Apps] agentdr8:
Usually you pick the charging image from every 10%. But I'll see what can be done about having it support all 101.
[One (M7) Themes and Apps] Jake_09:
How does one go about creating new images in such a precise manner?
[One (M7) Themes and Apps] agentdr8:
That I don't know. I'm not a themer, and can barely manage to edit images without messing them up. :silly:
[One (M7) Themes and Apps] Marusaia:
Go there if you want to create battery icon.

Mine came from this tool.

http://xdaforums.com/showthread.php?t=1918500

Envoyé depuis mon ASUS Transformer Pad TF700T en utilisant Tapatalk 4
[One (M7) Themes and Apps] Jake_09:
Sounds like you're in the same boat as me. :/

I've never done anything like this so I'm just pretending to know what I'm doing and hoping it works. It has worked so far... I just hope that once I'm done with these images it actually turns out well. I'm going to be pretty upset if it doesn't after spending all this time editing them one by one. Where's a themer when you need one...?

I forgot to mention earlier when you asked, I'm running ARHD 12.1 which is based on the stock 4.2.2 Sense ROM. Probably why that transparent mod doesn't work. The transparent notification bare still works for some reason though.
[One (M7) Themes and Apps] agentdr8:
That's why I asked snachez to do the default iconpack for me ;)

That's odd, as I'm also on ARHD 12.1. I'll do some digging to see if something isn't right in my code.
[One (M7) Themes and Apps] ady_uaic:
Hi, there is any chance to make it work on ARHD 12.2?
[One (M7) Themes and Apps] iElvis:
:confused: It's working just fine for me.
[One (M7) Themes and Apps] ady_uaic:
yes, sorry mate, I forgot to activate the xposed after clean install of 12.2. cheers
[One (M7) Themes and Apps] iElvis:
That happened to me too the first time I installed ARHD. :D
[One (M7) Themes and Apps] Jake_09:
Does anyone have the link to ARHD 12.2? When I last checked the thread the latest version was still 12.1.

Edit: sorry. Ignore this. I'm a tard. It's just labeled incorrectly
[One (M7) Themes and Apps] michmeister:
Why would you ask in this thread anyways :confused:
[One (M7) Themes and Apps] Jake_09:
Someone mentioned 12.2 in here so I was wondering if they might tell me where to get it
[One (M7) Themes and Apps] agentdr8:
Most all Sense and GE ROMs are usually found in the HTC One > One Android Development thread. CM/AOSP ROMs are usually in the HTC One > One Original Android Development thread.
[One (M7) Themes and Apps] denwathappened:
Problem parsing the package. Can you provide other links for the latest update? Thanks
[One (M7) Themes and Apps] agentdr8:
Try http://db.tt/BYQV3Emd
[One (M7) Themes and Apps] agentdr8:
If anyone else is running a GE rom and would like to help test the GE version of the mod, please send me a PM.

Thanks!
[One (M7) Themes and Apps] maxxhtc:
Can I not change all blue colors to red? (got the red phone)

Thanks!

p.s. Also a bit noob about how to choose rainbow colors in wifi and signal strength. If I install apk in Op I only get to choose the blue color scheme right? So how do I add the rainbow colors etc. I've seen a few zip files, but don't know how to add these in xposed module or whatever. :confused:

/maxxy
[One (M7) Themes and Apps] vizzy:
Yeah like the above post, I can't seem to find rainbow stuff.

Edit.
[One (M7) Themes and Apps] HungryPillow:
I haven't been keeping up with all the updates but I just tried the latest version again with InsertCoin and it works now... so I just wanted to say I love you!!! :o:laugh:
[One (M7) Themes and Apps] agentdr8:
Under mod Settings, Icon Settings, use Icon Colors and enable the options you want, along with the color you want. If you want them all the same, enter that value into the textbox of the colorpicker, and click on the arrow between the color boxes, then select the right-most box. This will only add color to imported and overwritten icons, not the stock icons.

Iconpacks are found in the Iconpack thread. On post #1, you'll find a few of the ones that used to be included inside the v1 mod. If you want rainbow icons, download the pack with rainbow in the name. Either copy it to /sdcard/xsbm on your phone and use the mod Settings, Icon Settings, Select iconpack for import to import it, or open it using a file manager and launch it with XSBM, which will import it that way.
[One (M7) Themes and Apps] agentdr8:
Awesome. Glad to hear it's working now :)
[One (M7) Themes and Apps] maxxhtc:
Not sure if I got all that but I'm doing my best, downloading apk.
[One (M7) Themes and Apps] agentdr8:
It should all be rather simple once you get in there and start messing with the options.

Let us know if you need further assistance. I tried to make the preference screens as intuitive as possible, but sometimes my idea of intuitive isn't the same as everyone else's.
[One (M7) Themes and Apps] maxxhtc:
Was pretty easy once inside menu yes. Good options. I chose override on almost everything so the new symbols would activate.

Got 2 questions. Firstly I would rather have more the normal international look of mobile connection symbols, not "LTE" but 4g and 3g etc with the normal arrows - how do I do for that?

Secondly, if I wanted a specifik icon from a zip icon pack for say the wifi symbol only, do I import the iconpack and am able to choose just this one symbol somehow?

Thanks, looks so sweet now on my red htc one :cool:
[One (M7) Themes and Apps] agentdr8:
Since you want the stock international icons, but most likely match them in color to the others, you'll want to replace the mobile data icons in the iconpack. The 2nd post explains how to replace icons in the packs.

You can mix & match icons from different packs to create your own. Just make sure you maintain the proper filenames.
[One (M7) Themes and Apps] nightrainbow:
Hi,

Can find an answer on the thread,

But I see that is possible to change the notification background color

but not sure if possible to use a custom image/

Been looking at the xsbm packages but can find a place for it

Thanks
[One (M7) Themes and Apps] agentdr8:
Hmm, haven't seen a request for this feature before. I'll see what can be done.
[One (M7) Themes and Apps] agentdr8:
A quick update on the GE version of the mod...

GE 4.3's SystemUI is different than GE 4.2.2, so the transparent statusbar option isn't working right. I'm still sorting this issue out.

GE doesn't have a separate data icon, but instead overlays the mobile data type over the signal bars, and then overlays data direction arrows over the other two. This change will require a different iconpack structure for the GE mod

Removed some of the preference options that related to Sense stuff

Hopefully the testers will find some other things and I'll be able to work them out prior to public release.
[One (M7) Themes and Apps] sorceforge:
Hello. First of all, thank you for making such a nice mod.

I tried this in my newly-updated One X+, so I am going to report what happens.

I see many of the tweaks is working; such as transparent navbar, or notification bar, and center clock. However, there are some tweaks doesn't work -

1) Iconpack does not get applied after SystemUI reset.

2) Even if I chose to remove AM/PM, it does not remove AM/PM, but AM/PM indicator gets big as the clock next to it.

I will report back when I see more bugs. Thank you!

EDIT : It is my first time to use this mod, so I forgot to check override options. Sorry. :D Anyway, These icons are too big to use in our 720p device, so I think it is necessary to use 720p set.
[One (M7) Themes and Apps] agentdr8:
[MENTION=618483]Thunder07[/MENTION] might be able to share some information on what dimensions the icons should be for the OneX/X+ devices.
[One (M7) Themes and Apps] Thunder07:
48x48

But note that the width can be anything,

It's the height that must be 48...

Speaking off, before I start porting my mods,

Would you be able to pad and resize the pictures from within the app?

If so I have a logic of how to calculate the new size and padding.

If so, that would make porting mods A LOT easier,

Since you won't need to do much(to port) echo beside beside renaming and apk to a zip.

Also, instead of hooking the battery method( the method mentioned just as an example) , would you not be able to hook the method that calls the images?

That way you'd just compare the image name to that's of the zip, if it exist replace if not, the don't.

This would open the door to a lot more customization and would be more compatible with other phones.

Finally,

How about if you added apk support,

So that mods don't need to be converted to a zip,

Just throw the systemui.apk there and it works!

See what you made me do, I waste quiet for so long :p

Sent from my HTC One X
[One (M7) Themes and Apps] agentdr8:
I think I can pad images, but I'm not sure how to just yet. Let me look into it. Would the padding be equal on all sides?

The reason behind hooking the method that draws the battery icons instead of using a replacement drawable-list is to enable individual percent images. Most stock SystemUI's come with stat_sys_battery.xml, which is a drawable-list that only defines about 11 different images. In order to replace this using Xposed, you have to provide an alternate stat_sys_battery.xml that defines all 100 steps. The limitation is that this resource (and all the drawables it defines) must exist within the APK (or another APK), and can't be loaded dynamically from storage. I wanted an easy way for people to swap out battery images, without having to include them in my APK, or their own APK (like how XTheme works). Doing a 1-for-1 image replacement on the pre-defined images is no big deal, but that would only get you a subset of the overall 100 steps.

If I understand what you're saying, drawable resources inside of an APK would be replaced with images found in an iconpack? I believe this is how the VR system works. And while this does work well and easily enough, it doesn't cover the cases where other parts of an app need to be changed to extend functionality (like the battery example above).

For universal device support, OEMs really need to be prevented from modifying the AOSP parts of Android so that there is a consistent base system to work with. Every OEM wants to extend Android to fit their needs, which isn't always in line with other OEMs. And on top of that, they sometimes don't even apply the same changes to all the devices they sell. I suppose this could be considered part of Android's "fragmentation" issue.
[One (M7) Themes and Apps] Thunder07:
height (top and bottom) yes, width is not needed.

ok, there is a ways around this...

for one you can read the xml and the icon pack and see if they match. (not very sure how readable the xml is... but im gonna presume they're readable through xposed, tell me if im wrong)

i know this kind of conflicts with my image drawer hook, but you can always make an exception within the app. (would require hooking the battery earlier)

for 2nd you only need this for battery then right?

not quite...

i want you to use the images in the APK, as if they where an iconpack...

also, as i said earlier, as you read through the APK you can read the xml and see if its a 10 or 100 battery mod.

would the xml be what Rovo refered to as layout? (which he said it'll be nasty to replace)

i know, thats why im asking you to hook the image loader/drawer,

as its the most basic unchangeable thing in it.
[One (M7) Themes and Apps] agentdr8:
Ok, that should be doable. What dimensions should the padding be?

XML files are not plain-text once compiled into an APK. Xposed can replace resources that pre-exist, or if you want to add additional resources, you have to override the original method that's used to retrieve the resources. I tried many different ways to leave the existing methods alone and just extend the level-list, but I don't believe it's possible programmatically. That's a limitation of Android, not the Xposed framework.

So use the image resources found within an APK as an iconpack.... that's probably doable, since it's just a zip file anyhow, but why would you want the images found within an APK? They're usually stock images...?

Layouts are defined in XML, and are not easy to replace since they have a lot of dependencies on resource IDs and other views that may include other views, etc etc. And they are usually specific per-device.

This is where the systemui draws the battery images:

public void onReceive(Context paramContext, Intent paramIntent)
{
int i;
int j;
boolean bool;
int i1;
if (paramIntent.getAction().equals("android.intent.action.BATTERY_CHANGED"))
{
i = paramIntent.getIntExtra("level", 0);
j = paramIntent.getIntExtra("status", 1);
bool = false;
switch (j)
{
case 2:
case 5:
bool = true;
case 3:
case 4:
}
if (!bool)
i1 = [B]2130837758[/B];
else
i1 = [B]2130837767[/B];
j = this.mIconViews.size();
}
Object[] arrayOfObject1;
for (int k = 0; ; arrayOfObject1++)
{
if (k >= j)
{
int m = this.mLabelViews.size();
for (int n = 0; ; n++)
{
if (n >= m)
{
localObject1 = this.mChangeCallbacks.iterator();
while (true)
{
if (!((Iterator)localObject1).hasNext())
return;
((BatteryStateChangeCallback)((Iterator)localObject1).next()).onBatteryLevelChanged(i, bool);
}
}
localObject2 = (TextView)this.mLabelViews.get(n);
Object localObject1 = this.mContext;
arrayOfObject1 = new Object[1];
arrayOfObject1[0] = Integer.valueOf(i);
((TextView)localObject2).setText(((Context)localObject1).getString(2131361819, arrayOfObject1));
}
}
[B] ImageView localImageView = (ImageView)this.mIconViews.get(arrayOfObject1);
localImageView.setImageResource(i1);
localImageView.setImageLevel(i);[/B]
Object localObject2 = this.mContext;
Object[] arrayOfObject2 = new Object[1];
arrayOfObject2[0] = Integer.valueOf(i);
localImageView.setContentDescription(((Context)localObject2).getString(2131361909, arrayOfObject2));
}
}

i1 is the resource ID of either stat_sys_battery or stat_sys_battery_charge (depending on charge state). Both are the predefined level-list drawables XMLs that are in res/drawable, and either have to be replaced via modres.fwd (which can only replace resources with ones included within the module), or the method overridden, which is what I'm doing.

One thing I could do to make it more flexible is to just read in the list of files found within the battery/ and battery/charge/ folders of the iconpacks, and then iterate over just those images.
[One (M7) Themes and Apps] Thunder07:
its based on the device,

let say, i make an icon pack for the hox, thats 48x48 (h*w),

you want this on ur phone, if u use it like that, it will be stretched and loose quality,

so i'd recommend padding it to 76*48.

but let say know i want to use a mod from the One (76*76) on my One X,

in this instance i'd recommend a resize.

the trick is to 1st request the icon for the systemui, get its diamension and compare.

if SystemUI's icon height is > then iconpack then pad that image to equal the heights of SystemUI's icon

if SystemUI's icon height is < then iconpack then resize (reduce in size) the image to equal the heights of SystemUI's icon

im not entirely sure how well it will look, but it must be tried 1st.

ill post a half arsed port 2morrow from the one x, for you to tried it with this method on your phone.

also, if you do end up doing this, id recommend you do this during the apply phase,

i.e resize and pad all images and save them in a location to be read, instead of doing it one by one whenever the image is requested.

i presumed since you are acting on behalf of the app, it will be more readable from your position.

true and not,

most mods out there right not are in the form of APK,

also, i 'might' like the samsung stock more than htc, (i could just drop it in the xsmb folder and vola)

ok i see, since you're overriding the method, you remove the original image loader (as its now part of your method), which i wanted you to hook.
[One (M7) Themes and Apps] agentdr8:
Ok that seems easy enough. I'll play around with your icons and see how it comes out.

Ah, I see. I'm sure this could be done, but then there's the issue with some devices using different names for icons. For example, Samsung names their signal icons like stat_sys_tw_5signal.png (or something similar).
[One (M7) Themes and Apps] Thunder07:
check the attachment,

i replaced the signal & battery icons

both which are 48*48

i'd try them as they are before padding them.

ummm this could be a problem :/
[One (M7) Themes and Apps] CheesyNutz:
nice i was just coming to see if there was any progress on the 4.3 side
[One (M7) Themes and Apps] sahilarora2003:
Is it compatible on InsertCoin V3.0-14 ? I am trying to use it on IC but nothing is changing after reboot/restart SystemUI ? M I missing something ?

I selected the settings and checked override about every setting of icons.. Any further steps I have to follow ?

Thank You.
[One (M7) Themes and Apps] agentdr8:
It should work since it's based on the 2.24 release, which ARHD 12.x is also based on. If the SystemUI has been modified though, it's possible it can't find the classes or methods that I'm hooking.

Did you also import the default_iconpack.xsbm.zip? Make sure you do that, and then apply changes.
[One (M7) Themes and Apps] agentdr8:
GE mod testers: A new version has been posted and should prompt for update at next mod Settings launch.

Transparent statusbar is working (thanks to master coder C3C076), but like on most other devices, it looks bad in many apps that aren't designed for it. I'd recommend a color and semi-transparent alpha around 70%.

Added the option to enable AM/PM on the 12h clock display since it isn't there by default.

Once the default iconpack is finished, it should be ready for a public release.

EDIT: Pushed another quick update, this one should resolve the hide clock option not working.
[One (M7) Themes and Apps] agentdr8:
The battery images seem to be 97x48?

Signal images are showing 50x50 for me.

I can still try them as-is, but I don't think they will scale properly at those dimensions.
[One (M7) Themes and Apps] sahilarora2003:
Yes. I also did that. But its still not working. Maybe cause of the modifications selected in the aroma while flashing the rom. The icons were already customized.:rolleyes:

Boomed From My Boombastic !!! HTC ONE !!!
[One (M7) Themes and Apps] Thunder07:
signals are 50x50 :p ill check the original 2morrow morning....

also, the whole point of this is to see if they scale nicely 1st, before you go making modification...

they they don't, you pad and rescale.
[One (M7) Themes and Apps] agentdr8:
Ahh, you might need to push the unmodified SystemUI.apk over the one you selected. I haven't downloaded IC, but if you look through the zip file it should have multiple SystemUI.apks in different directories.
[One (M7) Themes and Apps] agentdr8:
Ah ok. I'll let you know how it works out.
[One (M7) Themes and Apps] Clselfridge:
I updated the simplistic icon pack with a few more differences. Posted it in the icon pack thread. http://xdaforums.com/showpost.php?p=44728197&postcount=29
[One (M7) Themes and Apps] ric1487:
Very good mod !!! Amazing !:good:
[One (M7) Themes and Apps] agentdr8:
snachez updated the default white icons. They've been posted to the OP of the [URL="http://xdaforums.com/showpost.php?p=44218395&postcount=1]theme thread[/URL], as well as included in v2.1.0
[One (M7) Themes and Apps] VPMercedes:
Still using version 1.50, the 2.xx version gives some sort lag when you switch between the app drawer and back to home screen and vise versa. Does anyone else have this problem?
[One (M7) Themes and Apps] CheesyNutz:
any chance i can get the version that works with 4.3 ?
[One (M7) Themes and Apps] agentdr8:
I hadn't noticed this, but I also was using Nova instead of Sense/Prism. Since I'm doing the GE dev right now, I can't currently troubleshoot the Sense version. If you could, can you try unchecking the transparent Sense nav bar option and see if that helps? If that doesn't, try unchecking the transparent statusbar option and test. Those are the only 2 settings that affect Sense resources.
[One (M7) Themes and Apps] agentdr8:
Check your PM.
[One (M7) Themes and Apps] VPMercedes:
I just tested it, unchecked both options but it still lags when switching between app drawer and home screen. It even occurs when all options are unchecked. This first happend with the 1.51 release that's why I stayed with 1.50 ;)

Still love this mod, can't do without it!
[One (M7) Themes and Apps] reservin:
I will post SystemUI.apk when I get back home. But isnt this some kind of bug? Because it always shows 4G icon when I use data even though I am in 3G connection.?
[One (M7) Themes and Apps] ilal2ielli:
Just tested 1.14, and the icons are still not working properly. The last version I remember them working properly would have been around 1.06, about the time you no longer required langer hans' systemUI fix.

AT&T version here.
[One (M7) Themes and Apps] agentdr8:
Yeah, I'm going back through my changes to see where I went wrong. It's probably when I added icons for the GN2. I'm going to split them out tomorrow and see if that addresses the issues people are seeing.
[One (M7) Themes and Apps] agentdr8:
Well, there are different icons for different connection states. And if I'm missing one of the states, it'll fall back to the default icon provided by the SystemUI.

But I think if it was working correctly in earlier versions, then most likely I introduced a bug somewhere when trying to add additional device support. I just want to make sure I'm intercepting the proper resource requests.
[One (M7) Themes and Apps] CheesyNutz:
any chance you add a hide clock to the mod :P for the GE roms !! ?
[One (M7) Themes and Apps] reservin:
I am currently on H and when I start to browse webpage, it turns to 4G with light up arrows. After finishing load webpage, it goes back to H. If I click the link of webpage, back to 4G.

Icon is constantly changing as browsing webpage. It always shows 4G when I actually use mobile data, but when I dont use data, it stays on 3G or H.

Previous version was fine since it just stayed on 4G.

This is my SystemUI.apk from ARHD 11.0