Is there any method to replace only the clock in the theme from other theme?
Yes, you can edit the Flips and the numbers only. All you have to do is decompile the apk with M10 tools and find and copy all the images from the clock flips and the numbers, copy them to a folder, close project, open the new skin you want to edit, decompile with M10 again and replace all the images you want, compile it again and then with APK Tools you have to sign the apk.
done! thanks to luis4ever!!!!
Related
Suppose you want to place a png on status_bar_expanded but do not want to keep in SystemUI/res/drawable-ldpi/ as that would cause transportation issues and increase risk of stealing pngs even if you give the SystemUI.apk to anyone only for study. Or have color xmls that if stolen can spoil your Rom surprises or TUTS
Well what would you want to do,, modify some smalis and place it in your own res.apk like lidroid-res,, etc,, but that would be too bulky and big hell of a job
It would be much better only if we could place these drawable xmls,, color xmls,, drawable pngs etc in framework-res.apk,, Well that is a trick only manufacturers use generally,, Well But since the developers/modders/themers works also need to safe guard their work, heres how we can place color xmls,, drawable xmls and drawable pngs in framework-res.apk and still make it work for other apps like SysUI, etc
-=--------Let us begin simple ----=-----------------------How to safe guard status_bar_tracking background png----------------------------------------------------------
1) decompile SystemUI.apk
2) Open status_bar_tracking.xml in res/layout
3) find its background attribute ( android:background="@drawable/x" )
4) now change it to android:background="@android:drawable/x"
5) Now delete x png from drawable-ldpi (<----------skip if u facing error recompiling)
6) Now open ur framework-res.apk with winrar and place x.png in drawable-ldpi
7) pUSH BOTH
--------------------------===---------------------------------------------------Safe guard a color xml------------------------__-==------------------------------------------------------------
Suppose you have seen my last tut regarding how to make any text change its color when you put your finger on it,, now similarly you perform the work on some other text,, say the quick panel toggle text so it turns blue when toggle is on and white when off,,, etc Now your problem is that if you give your lidroid-res.apk to anyone even for study,, he/she may steal ur color folder xml regarding toggle text dynamics and release it as his own TUT,, so what do you do,, hide the color xml regarding toggle text dynamics in framework-res.apk
1) Decompile lidroid-res.apk
2) copy the <toggle text dynamics xml name>.xml to somewhere safe
3) Open the xml that has android:textColor="@color/<toggle text dynamics xml name>"
and change it to android:textColor="@android:color/<toggle text dynamics xml name>"
4) Now decompile framework-res.apk,, place <toggle text dynamics xml name>.xml in color folder and recompile properly
This way,, safeguard whatever the hell you want
Just remember,, decompile framework-res for xmls and open using and archive opener for pngs
------------------------------------------------------------Remember to press thanks if i helped you---------------------------------------------------------------------------------------:good:
Nice bro :good:
Nice idea for ROM/Theme devs...
Regards,
Ganesh
Hi there
I'd like to delete a image from the drawable folder in the decompiled apk, is there a easy way to remove all references to the image so I'll be able to recompile it with apktool without error?
Kind Regards
Mark
You can simply replace the desired image with a little and transparent image
Hi
Very please help
The rom 4.1.2 I could using winrar for simple to change png to another png
Now I'm on 4.4.2 (DittoNote 5.2).
I want to change the png (tw_quick_panel_quick_setting_button_bg_normal.9 ???)
I think it is png a background toogles
I change my png i using winrar but nothing changes.
It is still the old png and no new png.
For what is this happening?
png's ending with 9 are not ordinary png's, they are 9-patch png's and in order to edit them you must DECOMPILE the APK, edit and then RECOMPILE. Anyway, simple adding with winRAR is nota good idea if you don't do ZIPALIGN because it slows down the reading of images....
Ah, and why post a question in app section, isn't Q&A more logical choice?
So I should do this in the Q & A - my mistake.
Ok thanks for the information.
delanik - this is just an example:
I'm trying to change the png in Note 5.2 Ditto 4.4.2
Is the file is tw_quick_panel_quick_setting_button_bg_normal.9 is background switches?
I exchange tw_quick_panel_quick_setting_button_bg_normal.9 another png
with another theme rom Note 2 but nothing has changed.
As I said - pngs with 9 at the end CAN'T be edited without recompiling. Use APKTOOL to decompile APK, then edit, then RECOMPILE. Then from recmpiled APK, copy PNGs (or whole res\drawable folder) to original APK.
If it doesn't change (and it should even when you don't do recompile - it should show BAD image) then you are not editing correct image.
Thank you very much dalanik
I SystemUi decompile framework-res.apk and now the rom DN4 v2.
It will be very difficult for me because there is a lot of files QMG
There is no custom QMG files (icons, button ....) in other roms or themes
to replace them in my rom DN4 v2
After reading those guides:
http://forum.xda-developers.com/android/themes/guide-getting-started-theming-cm12-t3006339
http://forum.xda-developers.com/android/themes/guide-t2978121
i managed to import and .apk theme to virtuous studio,enable java as variable,exported framework from my device to desktop
and finally managed to recompile the .apk
the only thing i managed to do was,to change the wallpaper..
my question is :
how can i change the colors of other app?
lets say systemui.apk to change the color of enabled WIFI
http://prntscr.com/612nui <-- make this green for example
ok i will decompile systemui.apk ,mod it and recompile it but this will work only for me...what about others?
how can i change other's apk colors through my theme apk???
How to edit the text appears on startup of an android application. Some application are modified and they show an message like apk is modded by ****. I want to edit that text.
Thanks.
rockingjassie said:
How to edit the text appears on startup of an android application. Some application are modified and they show an message like apk is modded by ****. I want to edit that text.
Thanks.
Click to expand...
Click to collapse
Decompile using apk-tool. And edit accordingly.
After decompiling,
If its just simple image, editing PNG inside drawable folders should be sufficient.
If its text, you will have to find string inside res/values folder.
Jaskaranbir Singh said:
Decompile using apk-tool. And edit accordingly.
After decompiling,
If its just simple image, editing PNG inside drawable folders should be sufficient.
If its text, you will have to find string inside res/values folder.
Click to expand...
Click to collapse
Thanks. I will try.
How do you get this to display when loading up the APK please?
Checked res folder and images but no luck yet.