Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
macked
Old
(Last edited by macked; 27th March 2012 at 01:39 AM.)
#1  
Senior Member - OP
Thanks Meter 35
Posts: 164
Join Date: Apr 2011
Location: Springfield MA
Default Some themeing questions....

Hey guys, I'm a super noob when it comes to this theming, but I do have a basic understanding of how it all works.

Basically I'm starting work on my first theme and I will be working on Saurom. I had no problem doing the battery stuff, but I cant seem to find the images that correspond to the signal bar and 4g connection. Can anyone tell me what apk has those images?

Also I am always looking to expand my knowledge on theming so if anyone can recommend some good videos or a good write up on the topic I would love to hear from ya.

As always thanks in advance!

sent from my iPhone killers killer, Samsung Galaxy Note.
 
dsmitty166
Old
#2  
dsmitty166's Avatar
Senior Member
Thanks Meter 1421
Posts: 1,706
Join Date: Aug 2010
Location: Orange City, Iowa

 
DONATE TO ME
System/app/systemui.apk

decompile that and look in the res/drawable-hdpi and xhdpi

I have some tutorials but I'll have to link them when I get to a computer
Sent from my SAMSUNG-SGH-I717 using xda premium
The Following User Says Thank You to dsmitty166 For This Useful Post: [ Click to Expand ]
 
macked
Old
#3  
Senior Member - OP
Thanks Meter 35
Posts: 164
Join Date: Apr 2011
Location: Springfield MA
Thanks Smitty, I'll pull that out right now and take a look. Also looking forward to your tutorials.
 
macked
Old
#4  
Senior Member - OP
Thanks Meter 35
Posts: 164
Join Date: Apr 2011
Location: Springfield MA
Well, I'm off to a good start, bricked it lol. I don't think I signed the apk correctly or I did something wrong pushing it onto the phone. I think I'll wait for the link to those tutorials before I cause some real damage.
 
diablo009
Old
#5  
diablo009's Avatar
Senior Member
Thanks Meter 1218
Posts: 5,252
Join Date: Apr 2009
Location: Atlanta GA
Look into framework and twframework apks too under /system/framework. These too contain icons under res/drawable-hdpi and xhdpi


AT&T Galaxy S3: [ROM] Intergalactic v2.8 with Kernel C

All Infuse modems individually packed into CWM flashable packages


Android Memory Management
Customizing Icons

Clicking "THANKS" is the simplest and easiest way of showing appreciation.
 
ee23hd2
Old
#6  
ee23hd2's Avatar
Recognized Themer
Thanks Meter 958
Posts: 1,107
Join Date: Apr 2010

 
DONATE TO ME
Yeah there will be signal and battery icons in a few different locations. But in this case you want to look in systemui/res/drawable-xhdpi as smitty stated. If youre having trouble finding certain pngs, feel free to ask, and we can save you some time =)
 
macked
Old
#7  
Senior Member - OP
Thanks Meter 35
Posts: 164
Join Date: Apr 2011
Location: Springfield MA
Alright, I've been furiously editing png files, and I want to see what it looks like on the phone. I think I'm doing something wrong though when I try and put the apks back. I'll run down what I'm doing and maybe someone can tell me where I'm going wrong. I'm using APK Multi-Tool


This is for framework-res.apk
1. Put all the edited png files back in their respective folders.
2. In apk multi tool, press 3 for 'Zip apk'
3. I press 1 for 'System apk (retains signature)'
4. I go rename the unsignedframework-res.apk to framework-res.apk

while phone is booted normally:
5. adb remount
6. adb push framework-res.apk /system/framework
7. adb remount
8. adb reboot

Now the phone will start booting and then screen goes black. I am forced to restore a nandroid.
 
lactardjosh
Old
#8  
lactardjosh's Avatar
Recognized Contributor
Thanks Meter 299
Posts: 550
Join Date: Dec 2010

 
DONATE TO ME
Try using APKManager for framework-res.apk.I have better luck with that one for framework for some reason.
The Following User Says Thank You to lactardjosh For This Useful Post: [ Click to Expand ]
 
macked
Old
#9  
Senior Member - OP
Thanks Meter 35
Posts: 164
Join Date: Apr 2011
Location: Springfield MA
Yeah I'm doing something wrong. I did the same as above for SystemUI.apk and it booted alright but the notification pulldown and status bar were missing. Does the problem really lie with APK Multi-Tool?
 
macked
Old
(Last edited by macked; 25th March 2012 at 09:01 PM.)
#10  
Senior Member - OP
Thanks Meter 35
Posts: 164
Join Date: Apr 2011
Location: Springfield MA
Ok, I seemed to have found the problem. The issue was being being caused by the script in APK Multi Tool. I changed this line
%szip% a -tzip "place-apk-here-for-modding/unsigned%capp%" "projects/%capp%/*" -mx%usrc%
to this:
%szip% a -tzip "./place-apk-here-for-modding/unsigned%capp%" "./projects/%capp%/*" -mx%usrc%
for some reason the first line would include the /projects/framework.apk/ directories in the rezipped apk, this would then cause the bootloops and crashes.

Well anyway everything works now! So excited, here is a couple screen grabs of my recoloring so far of Saurom. It's very simple and I will be doing much more work on it, but I am really just going for a very simple blue theme.
Attached Thumbnails
Click image for larger version

Name:	SC20120325-154133[1].jpg
Views:	91
Size:	35.1 KB
ID:	964963   Click image for larger version

Name:	SC20120325-155738[1].jpg
Views:	88
Size:	37.5 KB
ID:	964981  

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...