yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] alirezaafkar:
This is what i wanted all the time !

Thanks man !
[Xposed Framework Modules] :
Excuse the noobish question as this is a bit over my head. Could this be used on the framework policy jar to theme the lock screen status bar ? Or will it not work on jar
[Xposed Framework Modules] JuggaloDroid:
Here is what I could find in the logcat about my fc issue when opening. I have attached a condensed version with what I think may be specific to the issue and I have also attached the full logcat. I understand that you don't have the time to search every logcat detail like you said but if for some reason I haven't given you what you need in the condensed version, maybe you can ctrl+f the original to find the resxploit references as you would know more about what to look for than I do. Thanks in advance.
[Xposed Framework Modules] defiant07:
Everything is working perfectly for me except for when I tried to mod the entire status bar...based on my experience and the above quoted report I think there maybe status bar related bug or maybe some sort of status bar related compatibility issue???...I can change things like the wifi and battery icons, but not the entire thing.

I tried to change the status bar color by using both the color overlay method (see the attached "screenshot2" for my code - lines 31-32) and by the replace png method (this was the syntax I used: drw status_bar_bg_tile ui_bg_tile.png 255)...neither method worked.

I attached "screenshot1" to show that my other systemui mods were working and to show how I set up the working directory. Also attach the debug log should it be of interest and/or help...it's really long/big so I had to zip it.
[Xposed Framework Modules] WisdomSky:
sorry but we can only theme apks with resxploit..

thnx. I got your logcat records.. i will look into it...

so far, you're the only one who've reported encountering such critical error, wondering if it is an isolated case only (hoping that the problem is due to the ROM you are using).

I will get back to you sir after I found any solution or fix to this.

Thanks.. XD

Yeah. maybe that could be a bug or I'm just missing something...

hmmmm... I'll try to debug that...

and see if i can make a work around...

i love killing bugs... XD

right now, I'm reorganizing the source code(so if I release it as open source, it will be cleaner and much readable) and at the same time adding new features... so please hang-on to me.. XD

thank you for using resxploit.
[Xposed Framework Modules] JuggaloDroid:
Thanks for getting back to me and taking a look at the issue. I'm running a stock rom & kernel, nova launcher, gravity box, and xprivacy if that helps at all. Thanks again.
[Xposed Framework Modules] brainmaster:
I'm trying to apply the color changes, but it fails somehow. It doesn't change anything.

I'm on 4.3 and the Xpose framework is working fine with other modules.

Here is my code. Am I missing something?
[Xposed Framework Modules] hypocritelecteur:
I'm interested in using this to clean up a few issues in some xthemes. Specifically the system UI text color. Seems that there are several 'layers' of text. Theme in question is Flatron, which has some text visibility issues.

White (popup title)

Light Grey (popup text)

White (popup button labels)

So for instance

APPNAME

Do you want to uninstall APPNAME?

OK / CANCEL

The second value is difficult to read as it does not contrast with the background of the popup (which is light grey too... someone wasn't thinkin there!). The entire popup has contrast problems but the popup text is unreadable. How would I target that?
[Xposed Framework Modules] brainmaster:
That is why I'm trying to do with my code. The first part of my code for the app android (framework-res.apk) addresses the system fonts color. But somehow it isn't working, That's why I'm asking the OP about.
[Xposed Framework Modules] hypocritelecteur:
Excellent! Then I will just wait for you to fix the script and then steal if for my own. :p
[Xposed Framework Modules] manuelmagix:
why don´t for me??

#!/

apk android

color white #000000

I want change white for black

Rom Stock Samsung 4.1.2 Galaxy S2.

Other modules xposed work fine.
[Xposed Framework Modules] defiant07:
Cool...I will eagerly await your next release ;).

Also based on the below quotes and my own experience, it seems there maybe a bug related to framework-res.apk (I tried using the drw command to overlay colors and replace png's...neither method worked)? Or does framework-res not fall within the domain of ResXploit?

Not sure why your code fails on the other apps, but it seems ResXploit does not work on framework-res.apk.

your code looks odd (probably should be "color_white"), but I think ResXploit has a bug or is incompatible with framework-res.apk.
[Xposed Framework Modules] WisdomSky:
Please use the r2. it is updated to support framework-res. Overlaying png's should be working now.

it seems a bug sir... confirmed not working... resolving it right now... thnx for reporting... XD
[Xposed Framework Modules] brainmaster:
Thanks for your effort, I appreciate it. I hope you'll get it fixed.

Greetings

BM
[Xposed Framework Modules] defiant07:
Oh, nice...I told you should add the version number to the apk name so it would be easier for users to tell which version they downloaded :p.

I would suggest keeping the links updated in this section of the OP:

I have provided a variety of modules:

ResXploit (Terminal + Engine) (RECOMMENDED FOR NEWBIES)

ResXploit Terminal (Terminal Only)(DEPRECATED)

ResXploit Engine (Engine Only)

The note at the end of the OP ["(the download links below are considered r1 si they are outdated. Please refer above for the latest releases.)"] kinda indicates all the links above the the attachment box are up-to-date...I did NOT compare the file sizes and downloaded it from the link in this line: ResXploit (Terminal + Engine) (RECOMMENDED FOR NEWBIES) because I assumed it was the same as the r2 links.

Will try r2 in the near future, now that I realize I have been using r1 :silly:.
[Xposed Framework Modules] manuelmagix:
I use r2, but not work.

Sent From My Galaxy S2

Running AllianceROM v7.03

Powered by [ URL="http://xdaforums.com/showthread.php?p=41742325"]Apolo-JB-TWRP[/URL][/QUOTE]
[Xposed Framework Modules] vikasb32:
One Q if I want to change the .9.png then I need to put compiled .9.png or without compiled .9.png in sd card?
[Xposed Framework Modules] kaikupascual:
Great mod!!, but hard...

Any code for move the signal icon to left??, I can center the clock with any mod, but move the icons...

Thanks!!

And other question... with this mod I can add more toggle sliders (ON/OFF Buttons in settings)??
[Xposed Framework Modules] ruvort:
How do you theme an item in Drawable-hdpi and Drawable-xhdpi? I keep getting errors trying to point to those folders. I am going to look through the thread some more and see if I find any answers but any help would be much appreciated

Thank you :)

Edit:

It looks like the drawable command is supposed to encompass all the drawable folders but it doesn't seem to be working for me. I think the issue is that I have the same image name in different folders so I don't know how the script handles that. Is it supposed to replace them all or just the first one it comes across? I'd like them all to be replaced or at least the ones in the hdpi and xhdpi folders.

Huge Wallpaper Collection
[Xposed Framework Modules] WisdomSky:
you don't need to think of which of the drawable folders...

xposed will automatically detect that an apply the mod to any drawable that is used by the phone...

android will prefer using the specified drawable folder based on your phone's density and the selection is based on density bucket. but it doesn't mean that it is the only drawable folder to be user. There are times that a drawable is not found inside the target drawable folder, so android will look for it in the other folders...

but that doesn't matter with xposed. whichever drawable folder used actually doesn't matter...

you can replace a 9.png either with non 9.png or 9.png

we cant move icons using resxploit sir...

and you cant also add toggles...

but maybe other modules can do that....
[Xposed Framework Modules] ruvort:
Hmm no matter what I do I can't get it to replace a 9.png on my keyboard

Huge Wallpaper Collection
[Xposed Framework Modules] chrissoriano:
woaahh! noypi glad to see you brotha...working 100% quality
[Xposed Framework Modules] ruvort:
I know the image works because I've tested it with metamorph and it replaces it

Huge Wallpaper Collection
[Xposed Framework Modules] WisdomSky:
can u show me your code plsss?
[Xposed Framework Modules] WisdomSky:
can u show me your script? so i can check it?
[Xposed Framework Modules] excellentlanding:
Is it possible to theme the S Planner Wdget (month size) using this?
[Xposed Framework Modules] ruvort:
#!/
apk com.touchtype.swiftkey
drawable pitch_btn_keyboard_key_normal test/pitch_btn_keyboard_key_normal.9.png 255

Huge Wallpaper Collection
[Xposed Framework Modules] clark44:
Wow very nice job on this KUDOS :highfive::good:

Now as a ROM Developer I know how annoying it is to include an entire apk in the Aroma installer when all you're modifying, for example, is a bool in the framework-res.apk.

I'm thinking of a way to have an option in the Aroma installer that will allow changes that your module can enforce. The idea I'm looking at is maybe having an init.d script that will have values written through the Aroma installer with specific commands compatible with the module. Now once the device boots, the script can be run then it forces your module to make the appropriate changes that were chosen in Aroma and logged in the init.d script.

My question is, will your module be able to start on first boot and run in the background without the terminal and enforce the changes specified in the Aroma installer then reboot so that the changes are implemented?

I'm not sure if your module will support it but if you could implement it this would be beyond awesome because having 8 different 23MB framework-res.apk files in a ROM's zip does take up a whoooooole lot of space and just inflates the ROM's zip size and forces users to wait much longer to download and hog space in their SD/Internal (we're talkin over 184MB+ vs 1KB).

I appreciate all the hard work you do and keep up the great work buddy. You're gonna have a nice fan base of Devs if we can get this off the ground :) PM me if you wanna talk more about the idea. Thanks.

---------- Post added at 09:49 PM ---------- Previous post was at 09:28 PM ----------

Looks like you didn't specify the working directory at the top. Try this:

#!/test
apk com.touchtype.swiftkey
drawable pitch_btn_keyboard_key_normal pitch_btn_keyboard_key_normal.png 255

Also rename the pitch_btn_keyboard_key_normal.9.png in /test to pitch_btn_keyboard_key_normal.png so that the image is actually overwritten.

No need for the /test in the png name since we defined the directory right here at line 1 #!/test
[Xposed Framework Modules] Epikarus:
I'm looking to theme the 4.3 AOSP keyboard. From the start I'm trying to theme the colors but nothing is happening. I decompiled the APK to fine the values i want to change. They are in the res/values/colors.xml

This is part of the colors.xml

<color name="highlight_color_default">#fffcae00</color>
<color name="highlight_translucent_color_default">#99fcae00</color>
<color name="key_text_color_default">@android:color/white</color>

I want to change the highlight_color_default, and key_text_color_default so I input this

#!/
apk com.android.inputmethod.latin
color highlight_color_default #555555
color key_text_color_default #000000

Its not working so I'm sure this is not the way to do it, but thats what i have right now and I was wondering if you could let me know what I'm doing wrong.
[Xposed Framework Modules] ruvort:
Still no luck. I switched the code to:

#!/test
apk com.touchtype.swiftkey
drawable pitch_btn_keyboard_key_normal pitch_btn_keyboard_key_normal.png 255

But there is still no change. I also renamed the png

Huge Wallpaper Collection
[Xposed Framework Modules] jimmydene84:
Very interesting.... will try this out

Sent from my Nexus 7
[Xposed Framework Modules] WisdomSky:
please try this...

#!/test
apk com.touchtype.swiftkey
drawable pitch_btn_keyboard_key_normal pitch_btn_keyboard_key_normal.9.png 255

I'll try to implement this on a system wide method. If it goes smoothly then I'll just update it sir...

please be subscribed. Thanks... XD

color command is removed sir... I've contacted sir rovo89 and sir tungstwenty, but it seems that there are no direct solution to this even though it is documented.
[Xposed Framework Modules] myn:
Awesome!
[Xposed Framework Modules] rayjr13:
A hot reboot of the shell appears to be the only requirement to implement the script.

BTW...

Just cumbersome as hell to mod even an apks worth. gotta see about that import/export option even just to type the file out on a computer.

Looking good though. Great way to mod but a theme is just out of the question for now. would take ages to make all the links
[Xposed Framework Modules] WisdomSky:
Oh... Your idea is completely possible even without asking me... I think I've said that the resxploit engine is independent from the terminal.

In your mind, you can have a theory like "The engine is inpedent from the terminal, so I think i can add commands even without the packaged terminal, what if i directly inject it without passing through a terminal?".

your questions will be answer by:

opening a root explorer and navigating to /data/system/xploit

you will find some familiar things in there... and by just looking at it, I mean how everything is formatted, you can easily get the idea how you can do changes directly without using the conventional terminal.

Please take a look first and come back to me afterwards. XD

Idea how to implement what's on your mind:

since you are using aroma installer, I assume you have knowledge about run_program() and mount.

mount data,

make a new folder(using mkdir) inside /data/system/xploit and name it to the package name of the target app. and then create a file(using touch or echo) with the appropriate filename(remember: the file name itself is the command i assume it should start with boolean....). then apply the appropriate permissions and ownership... XD

basically, the commands in resxploit are just empty text files(except drawable command) with a formatted filename... XD

In this way, adding commands can be done in multiple ways independently and not just via the smart terminals I've added... XD

but expect that it will be lost when someone installs a termi al and change the script... but a workaround is having an init.d script that will perform the above instructions... XD
[Xposed Framework Modules] rayjr13:
is this correct syntax?

This for my personal organizations

I want to have a folder "ResXimgs" on the sdcard with a folder inside for each apk I'm modding. I just for simplicity want to make the subfolder the package name for reference when I drop images on the sdcard.

#!/ResXimgs

apk com.android.systemui
drawable stat_notify_alarm com.android.systemui/stat_notify_alarm.png 255

apk com.htc.android.worldclock
drw icon_btn_stopwatch_dark com.htc.android.worldclock/icon_btn_stopwatch_dark.png 255

Is that correct syntax? My icons in the world clock app didn't show up. But no errors on finding the files upon saving the module.
[Xposed Framework Modules] ruvort:
Thank you sir I appreciate your continued efforts. I tried that code and still no luck

Huge Wallpaper Collection
[Xposed Framework Modules] rayjr13:
Not being able to change or use multiple directories appears to be a severe limitation to the module. It will be extremely messy to utilize massive changes if everything is just dumped all in one folder with no organization.

Being able to change the active directory or set subdirectories would be a big plus. Also there is no indication that subdirectories are unsupported but unless I'm typing something wrong they don't seem to work.

E.g.

#!/folder/subfolder

#this seems to work but you cannot then define another directory?

Or

apk appname

drw img folder/subfolder/newimg.png 255

#this doesn't seem to work
[Xposed Framework Modules] rayjr13:
So then the original img in apk still exists, the image on the SDcard still exists and then a third file is created on the data folder? So it isn't technically hooking or linking the SDCard file to the screen directly?
[Xposed Framework Modules] rayjr13:
What is the method for handling resolution/resizing? I saw that you said it just picks the right one. But every icon I have brought in which would have been correct if inserted in the apk shows up tiny when brought in through the module.
[Xposed Framework Modules] Shaftamle:
So if you delete the terminal part to disable end user changes, what, if anything prevents them from reinstalling the terminal and making changes the same way?

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Xposed Framework Modules] WisdomSky:
nothing prevents prevents them from reinstalling the terminal.... if u uninstall it, you can reinstall it...

Please be reminded that you should pay attention the image dimensions... while inside the apk there are multiple drawable folders where you put same image but with different dimenslons....to attain the expected effect, use an image with dimension that corresponds to the right drawable based on your density of your screen...

for example:

my phone is an HDPI....

so android will prioritize what's on drawable-hdpi

and when you try to theme an image from there, u should pay atfention to be dimension of that image. I mean if possible, use the same dimension with the image.

please look up on google about "density bucket"

yes, you are right... we are doing this because of some reasons:

* sdcard is not immediately mounted on boot, but the data is.Thats why it is better to put things in there and it also has greater space.

* For ROM cooking(self explanatory to rom chefs)

I'm aware of that sir. I'll patch that issue up. But please be informed that I don't own any desktop computer. And only doing things right from my phone(no OTG support so I can't put a keyboard and a mouse). So please expect that updates here will take a slow pace...
[Xposed Framework Modules] defiant07:
Okay finally got around to updating to the latest version...framework-res mods still are NOT working on my device...tried both the drawable color overlay and replace methods :(.

Also found another bug I think...I tried to set up my working directory in /data, but when I go to compile it gives me an image not found error...these are syntax's I tried:

#!/data/ResXploit

#!//data/ResXploit

neither syntax worked...moved the directory back to /sdcard and everything went back to normal.

lmk if you want a debug log or if I can provide further information...gl and hf ;)...and thanks again

Your syntax is

incorrect

...it should be like this:

#!/ResXimgs

apk com.android.systemui
drawable stat_notify_alarm stat_notify_alarm.png 255

apk com.htc.android.worldclock
drw icon_btn_stopwatch_dark icon_btn_stopwatch_dark.png 255

you do NOT need to target the apk twice.
[Xposed Framework Modules] WisdomSky:
sorry sir, but if you are referring to the /data partition... I think it will not gonna really work...

for security reasons, we only allow the working directory to be set up only from sdcard....

so in the case you showed above....

resxploit will read it like this:

/sdcard/data/ResXploit

/sdcard//data/ResXploit
[Xposed Framework Modules] WisdomSky:
sorry sir, but if you are referring to the /data partition... I think it will not gonna really work...

for security reasons, we only allow the working directory to be set up only from sdcard....

so in the case you showed above....

resxploit will read it like this:

/sdcard/data/ResXploit

/sdcard//data/ResXploit

and about the framework-res mods, I've tried it and seems working fine...
[Xposed Framework Modules] defiant07:
ahh, okay did not realize the working directory had to be in /sdcard...you should add that information to the "Defining working directory path of your images" section of the second post...as it currently reads it suggests the working directory could be set up anywhere...no reason to apologize, I'd actually rather have it on /sdcard, but I was just messing around with it to test things out :p.

i know my syntax is good, guess maybe I am targeting the wrong png's...I will keep experimenting :fingers-crossed:

peace and respect good sir
[Xposed Framework Modules] rayjr13:
I understand about the terminal use. just cumbersome is all it's nothing to just make a txt file on pc and copy paste on terminal all the same as import export to me, so dont make that a big deal.

I am using a device no external SD. So when i saw sdcard i mean /data/media/ or the internal partition dedicated to SDcard. I am not aware but does it have the same loadin behavior that you have described?

Lastly i regards to the icons, my concern is that the same icons I'm using are the ones that I add into the apk normally. Instead I am using hte module and they are coming out tiny. my phone is 1080 hardware and my build prop is set to ro.sf.lcd_density=480

So possibly my rom setup but if I swap the file into apk it either is stretching it or it is the right size.
[Xposed Framework Modules] defiant07:
Yep, user error...what an ID10T :p...I was targeting the wrong stuff...funny how stuff that sounds and looks like what you want is NOT what you want...I bet those other reports of framework-res mods not working had the same root cause too - the user.

sorry for my silly posts/questions...I know you have already got a bunch of them and that you will like continue to get a bunch more of them...thanks for the responses and help :good:.
[Xposed Framework Modules] manuelmagix:
Impossible nothing works for me with your module.

Anyone with Samsung Galaxy S2?

Sent From My Galaxy S2

Running AllianceROM v7.03

Powered by [ URL="http://xdaforums.com/showthread.php?p=41742325"]Apolo-JB-TWRP[/URL][/QUOTE]
[Xposed Framework Modules] brainmaster:
Is the issue with the color changes gonna be fixed or it can't be done?

Thank you for your work.
[Xposed Framework Modules] djmouse:
wow this looks like an awesome module, would have never seen it if it wasnt in the portal,gonna give it a go im sure ill be back with questions lol!!!
[Xposed Framework Modules] WisdomSky:
I think this is a bug in Xposed Framework...

I've got a response from sir tungstwenty. but unfortunately, he doesn't have any idea about this problem.

while sir rovo89 also responded, but the response was not as concrete to solve the problem. I've removed the color drawable from the OP...

but will put it back if ever I found out how to sort this thing.
[Xposed Framework Modules] Killamurk:
change font color?

How can we change the default font color from Black to Red? Is that possible like for apps like browser/facebook/instagram and system font color?
[Xposed Framework Modules] djmouse:
does anyone know or could tell me how to change, i have a s4 running 4.2.2 and on the lock screen when you receive a text message it shows up in a white box like the screen shot i posted,how would i make that black or transparent with this app.i have the files i need from another theme that they are black but i cant figure out witch one it is.thanks
[Xposed Framework Modules] Kerns_JW:
Presumably in framework-red. You will need to explore