[SOLVED]]Need help editing SystemUI.apk - Thunderbolt Q&A, Help & Troubleshooting

Ok, so I've used the UOT to change my notification bar and pulldown menu. Everything looks great, except for the quick settings. I changed the background to black, but now I can't read the text because the UOT can't change the quick settings text color.
I've tried changing the values in the xml files of the apk.
I went to res/values/colors.xml
I changed <color name="primary_text_color"> to #FF0000 (red, the color I want it to be)
Also changed <color name="secondary_text_color"> to the same color.
I save the xml file. I recompile the app, push it to /system/app, and the status bar disappears, obviously meaning those 2 tiny edits broke the app.
I have no idea what else to do.
Thanks in advance for any help!
*EDIT* new question on post #8

orkillakilla said:
Ok, so I've used the UOT to change my notification bar and pulldown menu. Everything looks great, except for the quick settings. I changed the background to black, but now I can't read the text because the UOT can't change the quick settings text color.
I've tried changing the values in the xml files of the apk.
I went to res/values/colors.xml
I changed <color name="primary_text_color"> to #FF0000 (red, the color I want it to be)
Also changed <color name="secondary_text_color"> to the same color.
I save the xml file. I recompile the app, push it to /system/app, and the status bar disappears, obviously meaning those 2 tiny edits broke the app.
I have no idea what else to do.
Thanks in advance for any help!
Click to expand...
Click to collapse
You have to add the original META-INF and AndroidManifest.xml from the stock systemUI.

dmeadows013 said:
You have to add the original META-INF and AndroidManifest.xml from the stock systemUI.
Click to expand...
Click to collapse
God I hope your right. I'm trying right now. Thanks!

your wrong about it not being able to change the text color Uot kitchen can change the txt color and its not located in any of the regular color.xmls I cant seem to find it for the life of me Im literally about to build a uotk theme and add everything I have to it b/c this is really pissing me off... I cant find it at all Ive searched through dozens of .xml's for hours and changed a ton of them and it changed all the txt colors except the (notifications/quick-settings) tabs txt color.

I don't know where it is either. I'll take a look at uot kitchen again.
Sent from my ADR6400L using XDA App

I cannot change the primary and secondary text colors of quick settings in SystemUI.apk with UOT kitchen. There is simply no option for it.
Further more, I also tried changing <color name="primary_text_color"> and <color name="secondary_text_color"> to the colors I want, and still the apk breaks when pushed to the phone.
I am completely at a loss. I added the AndroidManifest.xml and META-INF from the stock SystemUI.apk to the new one, as recommended before. This does not help.
Please if anyone is good at theming, shoot me a pm.

I FINALLY figured it out. I did need to add the META-INF and AndroidManifest.xml from the original to the edited one, I just wasn't doing it the right way.

Ok, so now that I've figured out how to properly compile SystemUI.apk after editing it, I'm running into another problem. Hours of googling hasn't helped.
The secondary text color under the notifications tab has stayed black, and is therefore unreadable. The secondary text color under the quick settings tab is fine, but I can't find where to change it for the notifications tab. Here are some screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(Sorry for the odd sizes, photobuck is sucking right now...)
If someone could tell me what xml file I need to edit to change this, it would be awesome.

That can be changed with UOT, not sure which xml or line to change for it though

eraursls1984 said:
That can be changed with UOT, not sure which xml or line to change for it though
Click to expand...
Click to collapse
It might be an issue that can be resolved with a wipe. I thought it was weird. When I first did the theme, the notification secondary text color was red like I wanted it, but the quick settings secondary text color was black. I made an edit in xml, and it switched....

Figured it out.
I ended up editing EVERY text color in every xml file in /res/color

Related

Sharing Ideas/Themes/Icons

Hi everyone,
I just recently learned how to theme and create icons for your status bar, so I feel the need to expand on that and help others and create good looking things for them. I'm posting a screen shot of what I have done with my phone and would like to get ideas and/or things that you have done. I know there is a screenshot thread, but this isn't the same. This is coming together to make the best looking icons or best looking color scheme for our phones.
I am using JBoogies Orange deblur Froyo rom and I flashed his red ginger theme for a base to start. A lot of what he did is no longer there, but it was very helpful since I am just starting because it gave me a good idea of what needed to be done.
I don't know how to create a flashable zip, so if I provide you anything it will be an apk that you will overwrite your apk with, unless someone can explain to me how to create the zip.
Anyways, share your ideas.. Here is a few pics of my work so far.
Widgetlcker modded, changed battery icon to draining android, changed wifi icon, themed signal bars, themed dial pad, with the help of JBoogie created a black swype keyboard, themed the smaler icons like vibrate, alarm etc. (I have also had the circle battery icon and the regular one of course just colored. )
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I really thing something in Yelow would look good, hopefully someone or someones will have good ideas!
How can I change the Dial Pad-Number-Background?
What file do I have to change in the BlurDialer.apk?
When I put a background in the dial_num_x_... file it doesn´t work!
hanbam said:
How can I change the Dial Pad-Number-Background?
What file do I have to change in the BlurDialer.apk?
When I put a background in the dial_num_x_... file it doesn´t work!
Click to expand...
Click to collapse
Yes, blurdialer.apk, you need to go into res>drawable-hdpi
You can modify the colors in there, but do not mees with any file ending in .9
then you need to change the permissions before you overwrite the existing app.
should look like this
read write execute
x x x
x
x
jjp84 said:
Yes, blurdialer.apk, you need to go into res>drawable-hdpi
You can modify the colors in there, but do not mees with any file ending in .9
then you need to change the permissions before you overwrite the existing app.
should look like this
read write execute
x x x
x
x
Click to expand...
Click to collapse
I know but what file exactly do I have to change?
I mean the background of the Dial Numbers!
Ahh, As far as I know the only way to do it is to theme the .9 files. Here is how you can do it http://developer.android.com/guide/developing/tools/draw9patch.html
I have not tried, if you do let me know how it works out
Have you done the Theme above?
There the Dial-Numbers have a square around them. How do you do that? Which file did you changed?
hanbam said:
Have you done the Theme above?
There the Dial-Numbers have a square around them. How do you do that? Which file did you changed?
Click to expand...
Click to collapse
It's the dial text field, I guess I have messed with the .9. I know usually those aren't editable, but apparently they are, I just hadn't noticed that is what I was editing. Just made those straight lines rather than the round look
that android battery icon is 2big imo
what i do like is the slidebars on widgetlocker... do u know how I could do that on default lockscreen that comes with jboogies rom?
Peglezn said:
that android battery icon is 2big imo
what i do like is the slidebars on widgetlocker... do u know how I could do that on default lockscreen that comes with jboogies rom?
Click to expand...
Click to collapse
If i make that Android icon any smaller then you cant really see how much jusice is left or you wont see what the icon is...
Yes, you can do it in the framework.res apk. Let me know if you need any help
This is a Dialer themed for someone based off of JBoogies Honeycomb theme. Only tested on JBoogies roms.
Looking good! I like changing the icons. Battery looks good to me.
Sent from my MB525 using XDA App
Just themed the stock contact icon and the add contact button, just touching up little things
Sent from my MB525 using XDA App
EDIT: nevermind ...allready figured it out

calendar.apk - I challenge anyone to make it look right

updated 5/20
I challenge anyone and everyone to figure out how to correct the "tear" in the image below. The calendar.apk is attached. Simply rename blurcalendar.apk and instal the attached calendar.apk
Anyone that can fix it shall receive a modest donation. I've tried for quite some time now to figure it out. Solution just isn't within my limited knowledge.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
****************************************
Ive been scouring over all the XML files in BlurCalendar.apk and I can't find any references to the text color I would like to change. If anyone has any clue as to what I'm looking for, any and all advice is much appreciated.
Currently, while looking at month view in the calendar app, any date that has an event/activity is shown in bold black. I would like that changed to bold blue. See the screen shots below
I'm confident that if I can find the right line of code to change I can re-package the apk up and utilize it.
I think you might need to look in system/app/BlurCalendar.apk. I decompiled it but it decompiled with errors, however there are files within the layout folder there that look like they would control it. I don't have time right now to try and track it down but it may be the place.
EDIT
The styles.xml within BlurCalendar has this entry:
Code:
<style name="TextAppearance.EventInfo_Label" parent="@style/TextAppearance">
<item name="android:textAppearance">?android:textAppearanceSmall</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">?android:textColorSecondary</item>
<item name="android:paddingLeft">2.0dip</item>
</style>
Try textColorSecondary within the framework-res.apk styles.xml. The ?android, as far as I have been able to tell, references the main styles that are set by framework-res. There are very few entries in the styles.xml within blurcalender that seem like they might work.
jimbush3 said:
I think you might need to look in system/app/BlurCalendar.apk. I decompiled it but it decompiled with errors, however there are files within the layout folder there that look like they would control it. I don't have time right now to try and track it down but it may be the place.
Click to expand...
Click to collapse
Right, that's the one I've been looking over for the past couple hours, as the OP says. I found a thread in a different forum that someone posted up more or less exactly what I want (HERE).
I also looked over his modified files... and I don't see any modifications. So, I just don't know where to look I guess. I installed his modified calendar, but there is a very strange issue with it.
notice the "tear" towards the top. No clue what that is.
jimbush3 said:
I think you might need to look in system/app/BlurCalendar.apk. I decompiled it but it decompiled with errors, however there are files within the layout folder there that look like they would control it. I don't have time right now to try and track it down but it may be the place.
EDIT
The styles.xml within BlurCalendar has this entry:
Code:
<style name="TextAppearance.EventInfo_Label" parent="@style/TextAppearance">
<item name="android:textAppearance">?android:textAppearanceSmall</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">?android:textColorSecondary</item>
<item name="android:paddingLeft">2.0dip</item>
</style>
Try textColorSecondary within the framework-res.apk styles.xml. The ?android, as far as I have been able to tell, references the main styles that are set by framework-res. There are very few entries in the styles.xml within blurcalender that seem like they might work.
Click to expand...
Click to collapse
Thanks for looking into it. I eyed that same code for a whole myself but couldn't make anything out of it. But given what I know about the other guys calendar mod, it's a standalone apk and doesn't modify anything in the framework-res.apk.
The date color, along with the event indicator color on the right hand side of each date square, are taken from your settings in google.calendar.com. I just can't seem to find where the guy told his calendar to make the date number match the event color, instead of just being bold black.
I challenge anyone and everyone to figure out how to correct the "tear" in the image below. The calendar.apk is attached. Simply rename blurcalendar.apk and instal the attached calendar.apk
Anyone that can fix it shall receive a modest donation.
Have you tried flipping the page up to june to see if the tear goes away?
Sent from my MB860 using XDA Premium App
Ha! Yes I have tried that. The goofy image is static and doesn't move.
Sent from my MB860 using XDA Premium App
Gonna attack it as soon as I get home
Sent from my MB860 using XDA Premium App
What did you modify in BlurCalendar?
playin4sheezy said:
Gonna attack it as soon as I get home
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
awesome. good luck. I really hope you can find the cause. I love the changes made to this calendar.
jimbush3 said:
What did you modify in BlurCalendar?
Click to expand...
Click to collapse
I didn't do anything. The attached calendar.apk is not mine. I got from a thread in a different android forum. The guy that made it has had this calendar change integrated into CM releases I think.
So are you just trying to get stock calendar instead of blur calendar?
Sent from my MB860 using XDA Premium App
I guess so. I don't know what the stock calendar looks like. The main thing I like about the calendar I posted is the date numbers in month view are color-coded if there is an event on that particular day. The blur calendar just makes the date bold black.
I don't think this calendar is part of AOSP gingerbread. Its an iteration of what's in CM6/CM7.
Sent from my Xoom using XDA Premium App

[TUTORIAL][MOD]Changing all app background now possible :)

If you ever get bored with the black background in Android, now you can change it by making a few small edits to framework-res.apk/res/values/styles.xml
This will affect MOST of the black background you see in Android (e.g. settings, contacts, mms, installer etc.) with the exception of certain apps that use their on backgrounds (e.g. contacts logs, email etc.).
Difficulty level: Medium
1. Decompile framework-res.apk
2. Navigate to res/values and open styles.xml
3. Locate <style name="Theme">
4. Replace
<item name="colorBackground">@color/background_dark</item>
with
<item name="colorBackground">@color/transparent</item>
5. Replace
<item name="windowBackground">@drawable/screen_background_dark</item>
with
<item name="windowBackground">@drawable/mybackground</item>(if u need an image as background)
<item name="windowBackground">@color/white</item>(if u need a color as background)
6. Locate <style name="Theme.Black" parent="@style/Theme">
7. Replace
<item name="colorBackground">@color/black</item>
with
<item name="colorBackground">@color/transparent</item>
8. Replace
<item name="windowBackground">@color/black</item>
with
<item name="windowBackground">@drawable/mybackground</item>(if u need an image as background)
<item name="windowBackground">@color/white</item>(if u need a color as background)
9. Create a 240x400 png to your liking, name it mybackground.png and place it in drawable, drawable-ldpi, drawable-mdpi folder
9. Recompile framework-res.apk
NOTE: U can give any color which is available in res/values/color.xml.
screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DONE!
Its possible u might get recompiling error if u dont use base framework....so its better to do this with a base framework-res.apk instead of getting pissed off
Always create a backup before making any modifications!!!
Thanks to AvatarOfFrost for his tut.
trying it right now on galaxy ace
Sent from my GT-S5830 using xda premium
ok it works
but it freezes my phone after a while
and when i long press home button nothings shows up and then it also freezes
Sent from my GT-S5830 using xda premium
nope nothing such is happening with me.....its working realy fine forme....
Few things..
If you are gonna put an image in drawable folders, don't put same image i.e. 480x800 one in all folder, that's a hdpi resolution.
You should have three diff. res. images for these 3 folders. (Check proper res. & description of ldpi,hdpi,mdpi on developer.android.com
If you want to enforce a single image, put that in 'drawable' folder only.
Using a 480x800 image on Galaxy 3 will cause issues. It's resolution is only 240x400.
ive used a wallpaper 320x480
in drawable mdpi
btw there is also xhdpi
and xldpi (very rare)
Sent from my GT-S5830 using xda premium
i have mdpi ldpi and nor drawable folder....i didnt know exactly where to put so wat i did is i put the same image in every folder
Awesome tutorial aarrun!! i tried it and it's very cool
Great work! This little thing can help in the making of a lot of GREAT THEMES!!!
Thanks Arun....
can someone upload the decompiler package, its not working for me, i cant decompile
i have error in deskclock.apk, the time is not shown.how to fix it?
ok it works now correct for acw
herpderp ©copy+paste
is it obligatory to have a solid bg picture or is a 55% (example) lucent bg pictured also possible?
Cheers
qaysed
EDIT:
is only the colour value /white valid?
-> thats the only colour I managed get working
Any other value (#80323232, #00000000, /transparent) resulted in simple black.
EDIT2
I tried only white with alpha #ff, no other colour thats why I asked for only white
Nice tutorial aarun....
Mohanshbhr said:
Click to expand...
Click to collapse
Hey can I know which launcher is that?
for tansparent.....do 1 thing write the text transarent as value an try....maybe it will work......
well... as written, the alpha value for transparent is
#00xxxxxx (xx-> every colour could be taken, it will get transparent)
there is also a color variable defined in color.res which is called transparent
This wording variable didnt worl either.
Only the colour variable white was accepted, whyever...
I will try it with a transparent background picture...
That would also solve the topic.
Keep you updated.
actually if its present in colors.xml then it shud have worked......k try out with an image...shud surely work then
I am some steps forward
checked the option with the picture
a full visible picture (alpha #ff) is working (even JPG format) but if anythig with transparency this doesnt work at all and results in simple black, like default.
Can anyone confirm this (non) transparency effect?
Cheers
qaysed
EDIT:
tried to create a picture with solid level and transparent 2nd color
the blue in the middle is seen but it fades to black
so my conclusion:
transparent is not a valid colour for that action
BUT:
it works like a charme

[MOD] Blue and White battery% + Status toggles mod (Based on p3001ee's) HD Icons

Completely re-done this mod based off the great status bar mod made by p3001ee
This is an ICS mod with status bar toggles and the battery changed to my custom percentage battery icons.
To install just flash in CWM. Tested on stock ICS and KA10 but should work with any.
Now four versions!
StatToggle_BlueBattery.zip - Blue battery
StatToggle_BlueBattery_BBar.zip - Blue battery plus brightness bar
StatToggle_GreyBattery.zip - Grey (desaturated) battery
StatToggle_GreyBattery_BBar.zip - Grey battery plus brightness bar
UPDATE (20th July) I have replaced the toggle icons with higher res images and the nice gradient bar.
This is the blue battery version:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And this is the grey/white version with brightness bar:
Let me know your thoughts and please hit the Thanks button if you like this
Yeah thats looks pretty sick, well done.
What about a version with the outline of the battery removed, might make it more even compared to the other icons?
I can't use it to confirm .73 right now but i will be soon.
-smc
3Shirts said:
So taking the great work of kahei036 here http://forum.xda-developers.com/showpost.php?p=24297751&postcount=14 I have further modded the battery to blue instead of green as I use a blue theme across my XS. I also moved the numbers down which I think looks quite slick. It goes orange below 20%, red at 10% and glows red at 5% as in kahei036's original.
Screenshot:
To apply I used Root Explorer. Unzip the below and copy the framework-res.apk to your sdcard.
With Root Explorer move it to \system (you'll need to enable read/write) then change the permissions to rw-r--r--
Then move it \system\framework overwriting the one that is there (you might want to copy the original out first for backup)
Reboot and you are done!
I am using this on .67 firmware but it should work with .73 as the Android version is the same. If someone can confirm that'd be great.
Click to expand...
Click to collapse
It's working perfectly on .73. Glad to hear you are enjoying it
Sent from my LT26i using XDA
I have one curiosity: those files shoudn't be on SystemUI.apk, instead of Framework-res?
3Shirts said:
So taking the great work of kahei036 here http://forum.xda-developers.com/showpost.php?p=24297751&postcount=14 I have further modded the battery to blue instead of green as I use a blue theme across my XS. I also moved the numbers down which I think looks quite slick. It goes orange below 20%, red at 10% and glows red at 5% as in kahei036's original.
Screenshot:
To apply I used Root Explorer. Unzip the below and copy the framework-res.apk to your sdcard.
With Root Explorer move it to \system (you'll need to enable read/write) then change the permissions to rw-r--r--
Then move it \system\framework overwriting the one that is there (you might want to copy the original out first for backup)
Reboot and you are done!
I am using this on .67 firmware but it should work with .73 as the Android version is the same. If someone can confirm that'd be great.
Click to expand...
Click to collapse
May I ask which app did you use to make those text icons? simpleText?
kazuni said:
May I ask which app did you use to make those text icons? simpleText?
Click to expand...
Click to collapse
Yes indeed. Simple Text
Great work!
Thank you very much!
Thanks for this!...
On a seperate note, I love how simple your text icons are, could you grab a screencapture of the settings in Simple text? Would make my day!
Many thanks
Nice work, looks good. Thank you
Verstuurd van mijn LT26i met Tapatalk
can you do this with ICS framework.res please?
or tell us how to do it XD
is it work with the ICS?
Thanks for the great work
Can you please tell us how to do it ??
It's actually quite simple. All I did was pull the framework-res.apk out to my desktop and open it with 7zip. Inside is a res folder and inside that are various 'drawable' folders. The Xperia S is an XHDPI device to I pulled out the drawable-xhdpi folder and inside that are all the battery icons. The painstaking bit was manually editing every icon with GIMP
Once that is done, you just put the drawable folder back into the apk (drag and drop it back into 7zip) and then push the framework-res back to the device.
It's easy really.
I am working on the mod for ICS now. The battery is in SystemUI.apk for that but the process is mostly the same. Looks like the XML in drawable will need editing too though as standard ICS only has about 5 stages of battery images instead of 100
Updated for ICS, see the first page for details and downloads
Great!
Charging icon does not move (im now at 95% batt charging)
worked like a charm
thanks
Can you make a white one please?
Sorry I meant white and for ics pleeeeaaaaase
I might be able to this weekend, bit busy until then I'm afraid.
3Shirts said:
I might be able to this weekend, bit busy until then I'm afraid.
Click to expand...
Click to collapse
If you do I'll promise you lots of man love or maybe I'll just click thanks but either way I'll love you forever for making my fone look awesome!

[Q] Can't change Phone and MMS default icons?

Using Deck's CM10, modifying the apk files and am able to flash them properly (although sometimes Phone.apk decides it doesn't want to work anymore after modifications...)
I modified both Phone.apk and MMS.apk to change the default icons, but they don't seem to be taking after I flash them to my phone. I still see the default icon for both (blue phone for Phone and green message for MMS) I did get the notification bar to change for MMS, which is some progress.
I check contacts.apk, but didn't see any relevant image files in there. Where should I look to modify these images?
Why modify the apks? Make a theme that changes them, that is the best way to change them and doesn't mess with the actual apks. But which images are you changing. Our phones are xhdpi
Sent from my EVO using Tapatalk 2
I changed ic_launcher_phone.png in the xhdpi folder in Phone.apk and ic_launcher_smsmms in xhdpi in MMS.apk
Here is what it looks like so far: http://imgur.com/a/TTmJF#9
How would I make a theme over the stock launcher? Would I still be able to theme the status bar icons?
http://forum.xda-developers.com/showthread.php?p=11545308
There is a pretty good guide to help get you started. But another way to help you out is to find a theme chooser theme and start by changing out the images in that. There is many theme chooser themes available, look thru xda and the market. Goto the android software section/android themes.
Theme chooser themes can change almost everything except /layout things. And for cmx making a theme chooser theme instead of apk hacking is the very best way to theme. A lot less things can go wrong.
Sent from my EVO using Tapatalk 2
Thanks a ton One_Love! I've been wondering how this works for a while now but couldn't seem to find an actual guide for theme chooser.
Edit: I don't see how to change the Phone and MMS icons in the apk? Is it something that should be possible or do I still need to figure out why Phone.apk and MMS.apk aren't changing the app icon?
Always a good idea to check the AndroidManifest.xml to see where the launcher icons are. For most of the stock apps are in the /mipmap-xhdpi folder
Sent from my EVO using Tapatalk 2
I figured it out after awhile haha, now I'm having an issue of not getting the compiled apk to install. It compiles without issue with apktool, but once it's on the phone...nothing.
I did go through and change the names in AndroidManifest, strings and styles.xml to personalize the install to my name for the author and a custom theme name to identify it. Any ideas as to where I may have screwed up? (I started with a theme template)
After installing the apk did you go into settings and apply it. If not please explain what is happening.
Sent from my EVO using Tapatalk 2
Sorry to keep bothering you one_love_420, here is what's happening. I edited the file, compiled using apktool 1.4.3 and didn't have any errors. Copied the apk file to my sd card and tried to install it, and it simply tells me "App not installed."
I'm lost, not sure where I've screwed it up :/
Here is the file (hopefully): https://www.dropbox.com/sh/emctx52xy3h3tyu/THNAohi4x3/Attempt theming
I use Quickshortcutmaker to change the default icons on the desktop. It basically creates a new app link which you can then modify with any icon or image you want. The alternative would be to use nova launcher which already has a built in option to change any icon.
Sent from my EVO using xda premium
Well I figured out your problem. You are forgetting to sign the apk after you compiled it. I also changed the Smali folders for you since you changed the package name in the AndroidManifest.xml now they match. Here is the link for your theme signed and cleaned up a bit.
http://db.tt/NB6Zpo1d
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my EVO using Tapatalk 2
Has anyone called you a god lately? Thanks a ton one_love! If you don't mind ... one more question, where in the smali files do I need to make the edits to match the theme name?
No edits to the smali files just the folders. You have the package named in the manifest com.gdrocks.theme.BatmanV1 so I made sure the folders matched. It now looks like /smali/com/gdrocks/theme/BatmanV1instead of the default /smali/com/tmobile/theme/templatebread or whatever it was, Dont remember
Sent from my EVO using Tapatalk 2

Categories

Resources