yashsingh1/xdaforums huggingface dataset:
[One (M7) Themes and Apps] agentdr8:
The many ARHD users here would disagree with you. I actually do all my testing on ARHD, which is currently at 71.1 on my m7.

Which version did you install, and where did you install from? There's a few different ones in the Xposed Repo. Please enable debugging in the module settings, restart, and provide me the error.log from Xposed Installer.
[One (M7) Themes and Apps] Rabar13:
well, it worked perfect for me before reflashing the ROM, i'm using version 2.3.5 and installed from xposed installer , and here's the error log file
[One (M7) Themes and Apps] agentdr8:
Not sure which iconpack you're using, but if it's the default stencil that comes with the mod, try placing the 2 attached files in /data/data/com.dr8.sbicons.sense/xsbm/framework. Rename them from .zip to .png

Reboot and let me know if that fixes it. The next version of the mod should address the issues with missing framework icons causing the whole thing to fail.
[One (M7) Themes and Apps] Rabar13:
its working!! :good:
[One (M7) Themes and Apps] rayjr13:
Any progress update to speak of or trouble

Implementing your changes?

sent from my T6DNA
[One (M7) Themes and Apps] agentdr8:
Still working on it. Progress is going smoothly though, just taking a bit longer than I had hoped due to other commitments. Will hopefully have something to test later this week.
[One (M7) Themes and Apps] agentdr8:
I posted a new beta release to the xposed repo (v2.3.6d). I've refactored the methods that load framework images so that the filelist arrays are built dynamically based on the contents of the framework folders. Also, I've moved all HTC framework icons to a different folder off the top-level, named htcframework. And the Beats/Boomsound icons go in their own folder off the top-level, named dsp. The only iconpack that's been adjusted for these changes is the default one that is bundled with the mod. It only extracts itself though to /sdcard/xsbm if either a) there is no /sdcard/xsbm folder, or b) the firstrun preference flag isn't set or is set to true. Otherwise you can check out the new folder structure via the attached file. I'll be updating the iconpack structure posts here and in the themes thread accordingly.

I also modified the apps.txt loading method to ignore lines that begin with either a hashtag/pound symbol or a double forward slash. This should help speed testing up when trying to replace app icons.
[One (M7) Themes and Apps] rayjr13:
No verizon data icons yet correct?

Or what would be the substitution method if it is dynamic as well?

Also you have: apps\com.htc.android.worldclock-stat_notify_alarm_snooze.png

in your default template but it isn't your apps.txt by default.
[One (M7) Themes and Apps] rayjr13:
data point

Just remember I am only one data point and I am working on a Ported One Max ROM onto a DNA:

but beats replacement didn't work for me. I appear to be pulling the beats logo from drawable-400dpi instead of drawable-xxhdpi so dont just all over it because of me.

I added icon_launcher_airplane.png to the framework folder didn't work either (don't know if it was supposed to be able to that way)

I added icon_btn_search_web_dark.png to the framework folder didn't work either (don't know if it was supposed to be able to that way)

I added icon_btn_search_web_dark.png to the htcframework folderand

it worked

added icon_launcher_airplane.png to the htcframework folderand

it worked

added ton more they worked as well. for files that normally pull from framework-htc-res even though my ROM has them in framework-res. Go figure

none of these 3rd party apps worked when listed together:

com.htc.resources-icon_btn_add_dark

com.htc.resources-icon_btn_add_light

com.htc.resources-icon_btn_attachment_light

com.htc.resources-icon_btn_camera_dark

com.htc.resources-icon_btn_menu_dark

com.htc.resources-icon_btn_more_dark

com.htc.resources-icon_btn_phone_light

com.htc.resources-icon_btn_search_dark

com.htc.resources-icon_btn_search_light

com.htc.resources-icon_btn_share_dark

com.htc.resources-icon_btn_share_light

com.htc.android.worldclock-stat_notify_alarm_snooze

com.htc.android.worldclock-stat_notify_timer

alarm snooze didnt work when it was solo in the folder and others lines commented out in the txt. So not looking good for 3rd party apps yet. But the progress you've made on the framework/htcframework I haven't seen done this well in an Xposed modules. Not I just got to figure out how to theme com.htc.resources via xposed
[One (M7) Themes and Apps] agentdr8:
No verizon yet. Wanted to get the framework stuff done first.

I actually don't use the 3rd-party icon overrides, so the ones in there are from snachez' original white iconpack. I figured I'd just leave them in as an example for others.
[One (M7) Themes and Apps] agentdr8:
Hmm. It shouldn't matter where the original resource is located; the mod just provides a different resource id, regardless of device dpi. Do you know if the original file is still named stat_sys_beats.png?

Changes to the framework icons require a reboot, or at the very least, a soft-reboot. It should read any file within the framework folder and try to replace the resource based on the filenames, minus the extension. Files located in the framework folder are used for replacements in the "android" package (framework-res.apk), and ones in htcframework are for "com.htc.framework" (framework-res-htc.apk).

I'm not sure if HTC resources are loaded as part of the framework. If it is the case, then it will never reach the apps class. I'd have to put in another method to load those during initZygote, and they would get a separate folder like htcframework (maybe htcresources).

EDIT: looks like the htc resources are part of the framework. The package is actually "com.htc". I'll have to make some adjustments if you want to replace those.
[One (M7) Themes and Apps] agentdr8:
Ok I pushed another beta to the repo that allows you to replace htc resources found in com.htc.resources.apk (or com.htc package). Make a folder named htcresources off the top level of the iconpack. Or for quick testing, you can create that subdirectory in /data/data/com.dr8.sbicons.sense/xsbm after installing the beta.
[One (M7) Themes and Apps] rayjr13:
Depending on the Sense ROM sometimes a given icon is in framework res and other times it is in framework res htc. What's interesting is usually what I was trying to change is is in htc but in my ROM this time it wasn't. So I originally tried to match my ROM location which I shared above didn't work then I tried the usual location I had been swapping to and it did work. Seems the framework replacements in sense at least at the level the xposed modules can touch are extremely intertwined. Glad your implementation is able to sort them all out.

sent from my T6DNA
[One (M7) Themes and Apps] heather1209:
The beta isn't working for me :( it's not changing the icons. I tried the iconpack you posted with no success. I turned on logging but nothing is showing up in the xposed logs when I try and apply the updates to the systemui.

Edit: I also tried creating an htcresources folders both in the icon pack and in the data/data folder for the mod but no change.
[One (M7) Themes and Apps] rayjr13:
when I update to the beta and rebooted the icons that were previously working in 2.3.6. stopped working in 2.3.6e.

[MENTION=434511]agentdr8[/MENTION] I haven't tried adding any folders to my theme zip and reimporting. I haven't tried just reimporting my theme without the new folder [ddn't work]. The behaviour reminds me of when the method was not dynamic and if you were missing a file from the replacement group folder or the replacement folder altogether, nothing working. Are there any defaults that should go in the htcresources folder

I wiped data on the app 2.3.6.e, when brought to the import screen I selected my new zip that had the htcresources folder and some icons in it, and the previous framework changes were active again upon reboot (don't remember if I hard of soft rebooted).
[One (M7) Themes and Apps] agentdr8:
Ah Ok. It must be loading a null value or something. I'll put some error handling around the arrays.
[One (M7) Themes and Apps] agentdr8:
Debugging only gets enabled after a reboot, not an Apply.

The pack I posted doesn't have the htcresources folder in it. I'll have to update it accordingly.
[One (M7) Themes and Apps] rayjr13:
Is there any effect of putting in a file(name) in a folder that it doesn't find a "match" to replace using the new dynamic method?

I can't find a good icon to test in htc resources lol either that or I'm not sure its working....
[One (M7) Themes and Apps] agentdr8:
You should see an entry in the error.log stating ResourcesNotFound for drawables that don't match.
[One (M7) Themes and Apps] heather1209:
I manually added the folder but it's still not changing my icons. I tried to clear data for the mod and reboot like rayjr23 did, but no luck. What else should I do to get this working again?

Edit to attach my log after reboot.
[One (M7) Themes and Apps] agentdr8:
It's throwing an NPE for the htcresources folder, so it either can't read it, or there aren't any files within it. I'm going to put some error handling around those methods to avoid the NPE. Give me a few to post a new version to the repo.
[One (M7) Themes and Apps] agentdr8:
Ok 2.3.6f (beta) is up on the repo. Give it a shot.

Nix that. Just tested and it's still failing.

EDIT: Ok 2.3.6g should fix this issue. Tested on my m7 and it handles the NPE appropriately now.
[One (M7) Themes and Apps] rayjr13:
Back to that notification/statusbar upload/download final image issue. I am finally getting aroud to the last set of mods I'm trying to do to com.htc.launcher (HTC Blinkfeed) and to com.htc.resources (Common Resources). And I noticed this file in the launcher that matches the final image. Might not be it and it might be the same file name but in another of the framework files.

icon_btn_download_dark.png

Thought I'd share I'll try the app folder to see if it touches it.

btw what log file shows those errors?

seems like if it doesn't find a match i thikn it stops importing those icons for that folder in alphabetical order. So anything alphabetically after that icon fails...Am I noticing that right? in 2.3.6e that indeed seems to be the case not 100% sure its the alphabetical order but if improper icons are in the folder not all the icons in the folder will be replaced. Best to add them slowly if unsure. that may be the cause for "broken" replacements some are seeing.

---------- Post added at 05:58 PM ---------- Previous post was at 05:00 PM ----------

I'm back to having everything my zip load up after some removals so will try the new version.
[One (M7) Themes and Apps] agentdr8:
Yep, found that same one when I looked through the com.htc.resources.apk, but it doesn't seem to be the one that gets displayed when downloading finishes. I'll have to look through the framework code to see which resources it's actually requesting.

The error.log in Xposed Installer->Log, or /data/data/de.robv.android.xposed.installer/log

I'll have to see about handling files that exist, but don't match any resources. It may not be strictly alphabetical, but if the method fails during the initZygote phase, it seems to break all the code that follows.
[One (M7) Themes and Apps] rayjr13:
are you decompiling to look at the framework? I've never looked to find the links I usually just replace all the icons when I them the actual apks. doing things the xposed way is showing me how nestled and intertwined everything can be.
[One (M7) Themes and Apps] agentdr8:
Yeah. It seems the final image is requested from the stat_sys_download_done_static.xml, which defines stat_sys_download_anim0.png as a bitmap resource. I can't actually decompile the framework-res.apk from the One though; apktool 1.5.2 is giving me issues. This info is based on what I found in AOSP source.
[One (M7) Themes and Apps] agentdr8:
Ok I figured it out. You need a file named stat_sys_download_done.png in the framework folder and it'll display that after the download is done or is paused.
[One (M7) Themes and Apps] rayjr13:
Excellent I will try it now. Did you figure which apk it was pulling that done resource from? Just out of curiosity.

Also the debugging log points out those culprits really easily too bad its stashed in the installer app. So I was able to figure icon_bfn_share_dark does go in htcresources like I had originally thought. So I should be good now on plugging at the core framework resources.

Does the scaler apply a percentage operation to all the icons or open all and save all at the same resolution?

I will go back and play with that beats icon and Any others to see if those incorrect matches were hanging them up from being processed.

Thx again

sent from my T6DNA
[One (M7) Themes and Apps] rayjr13:
That was a keen implementation at first I was worried about it but picked up on some exceptions. I have my stat bar stuff a little smaller and like it.

Looks like I misunderstood and the non framework related folders are not all dynamic. My dsp and I think the latest template are missing the BoomSound icon and that's why no beats replacement for me, possibly issue for others. My phone doesn't have BoomSound so I'll throw in some dummy file either that or my ROM has BoomSound as a beats icon lol and that's why no change. Lol but just a heads up to give the bundled template a once over. I may have caused the missing file but pretty sure the new version is lacking a few required icons for some folders now.

sent from my T6DNA
[One (M7) Themes and Apps] rayjr13:
Looks like I misread the log. According to the log there was no boomsound icon in my com. HTC package. I'll just turn off dsp replacement for now.

sent from my T6DNA
[One (M7) Themes and Apps] agentdr8:
Boomsound should only apply to m8 roms.
[One (M7) Themes and Apps] agentdr8:
Yeah, only the framework folders and the misc folder are dynamic. The others are still fixed for now. I forgot to handle the empty or missing condition for the dsp folder, so I'll add that now.
[One (M7) Themes and Apps] yoyomonk:
Is there any way to change the header color on sense 6 (the header background of the clock/date)? I have lightbleed and changing that would be awesome.
[One (M7) Themes and Apps] agentdr8:
You mean the notification window header?
[One (M7) Themes and Apps] rayjr13:
Got one for you. I just noticed:

Icon_launcher,_phone didn't replace for me. In htcframework folder I do not get a error in xposed log but it didn't take. Have you tried that one?

sent from my T6DNA
[One (M7) Themes and Apps] agentdr8:
There's also a resource of the same name in com.htc.resources. It's possible that's the one being referenced. Try putting your image in htcres and see if that works.
[One (M7) Themes and Apps] rayjr13:
That is where it normally pulls from. But no that was a reference not found that is where I started initially.

sent from my T6DNA
[One (M7) Themes and Apps] agentdr8:
Where does this icon get displayed?
[One (M7) Themes and Apps] rayjr13:
It's the "phone" launcher icon lol, so on the home screen, the app drawer. It's here in my ROM: framework-res\res\drawable-xxhdpi\icon_launcher_phone.png right along with icon_launcher_airplane.png

But airplane replaces when its in the xsbm /htcframework/ folder

it may be a matter of where it is located versus where it is linked from. Idk for sure but I don't think I have tried in the xsbm /framework/ folder. Guess I need to do that then. That wasn't it either. Maybe I should try the 3rd party folder for htcdailer.apk or htccontacts.apk. Both of those I thought linked to the framework though for that icon. Again it could always be just my ROM
[One (M7) Themes and Apps] rayjr13:
For the time being and because its just a launcher icon, I cheated and used folder organizer to create an app shortcut with a different icon.
[One (M7) Themes and Apps] agentdr8:
This is what I see in the HTCDialer manifest:

<application android:theme="@style/HTCSkin" android:label="@string/app_label" [B]android:icon="@drawable/icon_launcher_phone"[/B] android:name="DialerApp"

And there's an icon_launcher_phone.png in the res/drawable-xxhdpi folder.

I think the hardest part about this type of theming is finding out what piece of code is calling what resource out of what package. Lots of investigative work since they don't follow any sort of standards.
[One (M7) Themes and Apps] yoyomonk:
Yes. That's a way better way of describing it lol
[One (M7) Themes and Apps] rayjr13:
yea I think it's specific to my ROM port. but there is only a jpg with that name in my htc dialer and the image doesn't match. But like I said that traditionally hasn't been the image that changes it usually in one of the framework resources.
[One (M7) Themes and Apps] agentdr8:
If you want to post your htcdialer.apk, I can see what the manifest.xml shows.
[One (M7) Themes and Apps] rayjr13:
<application allowSkinChange="true" android:configChanges="locale|layoutDirection" android:hasCode="true" [b]android:icon="@drawable/icon_launcher_phone"[/b] android:label="@string/app_label" android:name="DialerApp" android:persistent="true" android:taskAffinity="android.task.HtcDialer" android:theme="@style/HTCSkin" android:vmSafeMode="true" configuredButton="0">

but there is only the one icon with that name in the package

C:\Android\DNA\justchecking-RC4.2\projects\dialerrr\dialerr\res\drawable-400dpi\

but attached isn't the icon i have. There is transparancy and the jpg obviously doesn''t have that. nor does my icon have that square around it. I did replace the image via rexploit and I think it change to the icon I used in a few backend places like in a selection menu hear or there but no the the phone icon. Which I think should be defined in the phone app and not the dialer app. I'll decompile the phone as well to see.
[One (M7) Themes and Apps] shpitz461:
I've uploaded the dialers from InsertCoin r174 and Renovate r153.

I have an iconpack with an icon for headphones, but when I connect it, the phone overrides it with a plain white ugly icon.

Would love to be able to change the icons for HEQS/VEQS, and the Settings icons.

i'm running IC r174.
[One (M7) Themes and Apps] rayjr13:
have you tried using the third party apps folder for systemui? I haven't to see if it would work. I think I listed few of the icon names from sense6 roms. I also use sense6toolbox to activate the HEQS but all that should still be systemui mods.
[One (M7) Themes and Apps] shpitz461:
You mean '3rd Party App replacements' section in post #2? Can you give me an example of how it might be done?
[One (M7) Themes and Apps] rayjr13:
sure 1 sec

http://xdaforums.com/showpost.php?p=54546413&postcount=408
[One (M7) Themes and Apps] heather1209:
Alright, so I think my icon pack is done finally. I haven't had to fix anything in a while so it should be good haha. I'm attaching it here. Keep in mind I've borrowed some icons from miscellaneous locations so the only credit I take is for adding some bevel filters and gradient blends to everything! Otherwise, credit is due elsewhere and unfortunately I did not maintain a list of where I got everything since I never thought I'd share them.

Oh and it also has several third party app icons included. I didn't take them out because I figure they might help someone!
[One (M7) Themes and Apps] rayjr13:
your third party's worked?
[One (M7) Themes and Apps] heather1209:
Yup. The only one I couldn't get to work isn't included and I haven't tried since the app updated but it was an icon for the drivesync app I have. Otherwise all the others work fine and I even use this mod to change the built in tasker icons that I use for home screen shortcuts. It's awesome.
[One (M7) Themes and Apps] rayjr13:
I saw the tasker and ES explorer one. cool!
[One (M7) Themes and Apps] agentdr8:
Nicely done heather. One thing to note, inside your wifi folder you have a Desktop.zip file, which is inflating the overall filesize of the pack. Other than that, great job.
[One (M7) Themes and Apps] heather1209:
Thanks for catching that and letting me know. I was wondering where I put that!!! :eek:

Here's the wifi-corrected version.

Side note: I was wondering, since I don't have anything in there yet, what icons can go into the htcresources folder?
[One (M7) Themes and Apps] agentdr8:
In theory, any of the drawable resources found in /system/framework/com.htc.resources.apk. I think [MENTION=4111823]rayjr13[/MENTION] has a list of what's worked so far on the rom/device he's been working on (DNA I think).
[One (M7) Themes and Apps] shpitz461:
I'll give these a shot, thanks!

Which ROM are you running?
[One (M7) Themes and Apps] heather1209:
I'm using ViperOne on my M8
[One (M7) Themes and Apps] shpitz461:
Nice work but didn't like the icons, too plain for me :)

Also, I cannot get any apps/framework icons to change using the apps folder and txt file. I'm running InsertCoin r174 on M7.

I'm gonna flash it fresh and see if anything might be in the way. All I have active now is XSBM and Sense Toolbox 6. BT, GPS, Wifi, Data, battery, USB, copy/paste icons all change w/o a problem. Can't seem to be able to change the headphones icon, still the plain white ugly icon from the ROM.
[One (M7) Themes and Apps] agentdr8:
You're using the latest beta from the xposed repo yes? I haven't had a chance yet to tidy it up for a stable release, so the version on the OP/Downloads tab/Play store is a bit outdated so to speak.
[One (M7) Themes and Apps] shpitz461:
I don't think so, it says v2.3.5... How do i get the beta?

EDIT: ah, now I see it, can change to allow beta downloads...2.3.6g is latest?
[One (M7) Themes and Apps] agentdr8:
Yep.
[One (M7) Themes and Apps] shpitz461:
LOL, so i installed the beta, rebooted. Now, all the icons I changed above are all the original ROM's, but some apps have changed icons: youtube, xposed installer, fm radio, htc music.

i deleted the xsbm folder under /data/data and tried to select my pack and apply, none of the icons change.

I'll play with it more tonight, there must be something else causing this. No clue where these new apps icons came from...
[One (M7) Themes and Apps] rayjr13:
boy do I...

I've attached just the folders for some of the more common resources that will basically be pulling in across sense, minus a few calendar and dialer buttons. I haven't included them all but some to get you going, and like I said the most common. Oh and those are mostly if not all compliments of JBeitel's RIT icons

if you have questions where any of them show up feel free to ask me.
[One (M7) Themes and Apps] rayjr13:
[MENTION=434511]agentdr8[/MENTION] I'm still willing to test that VZW signal mod *nudge" *nudge* whenever you have the time to play with it.
[One (M7) Themes and Apps] agentdr8:
The beta version requires updated packs. The only packs currently compatible are the included default_iconpack, and the one heather posted. I have yet to go through and update the existing ones, as well as the pack details on the 2nd post.
[One (M7) Themes and Apps] rayjr13:
we're still on 236g correct?
[One (M7) Themes and Apps] agentdr8:
Yep. Hopefully I'll have some time later this week to start working on the Verizon stuff.
[One (M7) Themes and Apps] shpitz461:
Ah, ok, so what has changed? Where is the default pack included? With the installation of 2.3.6g?

Attached is the xposed log that I get when XSBM loads.

EDIT:

Order has been restored :) Copied my files over the default zip and applied, works now :)

Going to play with it some more.

Thanks!
[One (M7) Themes and Apps] shpitz461:
Attached another xposed log.

it's not listed in apps.txt nor there's an icon in apps for 'com.android.phone'.

Also, why is the app keep reloading the icons, several times a minute in the beginning, then every minute or so?