5,604,122 Members 48,956 Now Online
XDA Developers Android and Mobile Development Forum

[HOW TO] Use Apktool

Tip us?
 
cowsquad
Old
#11  
cowsquad's Avatar
Senior Member
Thanks Meter 265
Posts: 1,098
Join Date: Aug 2009
Location: Portland, Oregon

 
DONATE TO ME
Quote:
Originally Posted by goldiecalypso View Post
@hyztname

hi, how are you

I've done what you said in post #1 step by step, everything's ok with no error but when I push my new edited "SystemUI.apk" to the device, it doesn't work. I have the same issue when I use APKMultiTool

what do you think?
You have to sign ur new app. Google how to sign apks in google

Sent from my Droid using Tapatalk 2
 
goldiecalypso
Old
#12  
goldiecalypso's Avatar
Senior Member
Thanks Meter 53
Posts: 184
Join Date: Jan 2012
Location: Island of Ogygia
Quote:
Originally Posted by cowsquad View Post
You have to sign ur new app. Google how to sign apks in google

Sent from my Droid using Tapatalk 2
I signed it with "signapk" according to your talks and download link, but still nothing!





MSI Windpad Enjoy10 - Gingerbread 2.3.1, Official 0224 [ROOTED]
HTC HD2 - TyphooN CyanogenMod 7
T-Mobile HTC HD2 - WM6.5
Samsung i900 Omnia - OCK's WM6.5 Premium
Eten glofiish X600 - WM6.0


 
v6ser
Old
#13  
v6ser's Avatar
Senior Member - OP
Thanks Meter 152
Posts: 118
Join Date: Jan 2012
Location: Rome now, Brasilia before

 
DONATE TO ME
@goldiecalypso

SystemUi.apk isn't a simple package.

If I'm right you don't have to decompile sources.

apktool d -s SystemUI.apk

-s, --no-src (Will not decode sources)
If I helped you hit thanks



CM9, AOKP and S-Voice for MDPI/LDPI porter

checkout my work at MADTEAM
The Following User Says Thank You to v6ser For This Useful Post: [ Click to Expand ]
 
droidxpert
Old
#14  
Senior Member
Thanks Meter 27
Posts: 200
Join Date: Jan 2012
Location: calicut
could u plz tell me hw to do it in ubuntu
on MCalaw's awesome CM9
 
cowsquad
Old
#15  
cowsquad's Avatar
Senior Member
Thanks Meter 265
Posts: 1,098
Join Date: Aug 2009
Location: Portland, Oregon

 
DONATE TO ME
Quote:
Originally Posted by droidxpert View Post
could u plz tell me hw to do it in ubuntu
What do you want to know?

Sent from my Galaxy Nexus using Tapatalk 2
The Following User Says Thank You to cowsquad For This Useful Post: [ Click to Expand ]
 
droidxpert
Old
#16  
Senior Member
Thanks Meter 27
Posts: 200
Join Date: Jan 2012
Location: calicut
sir i decompiled framework-res.apk and i have modded the pngs in drawable ldpi folder.but when i am trying to recompile it it shows errors in every png i modded..i modded using photoshop cs6...please help
on MCalaw's awesome CM9
 
cowsquad
Old
#17  
cowsquad's Avatar
Senior Member
Thanks Meter 265
Posts: 1,098
Join Date: Aug 2009
Location: Portland, Oregon

 
DONATE TO ME
Quote:
Originally Posted by droidxpert View Post
sir i decompiled framework-res.apk and i have modded the pngs in drawable ldpi folder.but when i am trying to recompile it it shows errors in every png i modded..i modded using photoshop cs6...please help
What kind of error are you getting? Where you messing with 9.pngs?

Sent from my Galaxy Nexus using Tapatalk 2
The Following User Says Thank You to cowsquad For This Useful Post: [ Click to Expand ]
 
droidxpert
Old
#18  
Senior Member
Thanks Meter 27
Posts: 200
Join Date: Jan 2012
Location: calicut
ya i was editing .9 pngs.and one of xda member suggested me to flatten it before saving.This compiles successfully but creates a white background for all images
on MCalaw's awesome CM9
 
cowsquad
Old
#19  
cowsquad's Avatar
Senior Member
Thanks Meter 265
Posts: 1,098
Join Date: Aug 2009
Location: Portland, Oregon

 
DONATE TO ME
Quote:
Originally Posted by droidxpert View Post
ya i was editing .9 pngs.and one of xda member suggested me to flatten it before saving.This compiles successfully but creates a white background for all images
Working with 9.pngs isn't easy to do. You must use 9.png tool to work with those. 9.pngs are pain in the ass. There are tutorials out there man

Sent from my Galaxy Nexus using Tapatalk 2
The Following User Says Thank You to cowsquad For This Useful Post: [ Click to Expand ]
 
fritzhy
Old
#20  
Senior Member
Thanks Meter 291
Posts: 241
Join Date: Nov 2011
Location: Stockholm

 
DONATE TO ME
Quote:
Originally Posted by droidxpert View Post
ya i was editing .9 pngs.and one of xda member suggested me to flatten it before saving.This compiles successfully but creates a white background for all images
You need to use the draw9patch.bat tool if you change the shape of anything in a 9.png. Check out http://developer.android.com/guide/t...tml#nine-patch for some basics.
Check out my inverted Dropbox and inverted Google Keep.

Donations via PayPal are not at all necessary, but highly appreciated!

The Following User Says Thank You to fritzhy For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes