Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[HOW TO] Use Apktool

OP v6ser

17th April 2012, 07:10 PM   |  #11  
cowsquad's Avatar
Senior Member
Flag Portland, Oregon
Thanks Meter: 265
 
1,099 posts
Join Date:Joined: Aug 2009
Donate to Me
More
Quote:
Originally Posted by goldiecalypso

@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
17th April 2012, 09:57 PM   |  #12  
goldiecalypso's Avatar
Senior Member
Island of Ogygia
Thanks Meter: 53
 
185 posts
Join Date:Joined: Jan 2012
Quote:
Originally Posted by cowsquad

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!
28th April 2012, 10:07 PM   |  #13  
v6ser's Avatar
OP Senior Member
Flag Rome now, Brasilia before
Thanks Meter: 152
 
118 posts
Join Date:Joined: Jan 2012
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)
The Following User Says Thank You to v6ser For This Useful Post: [ View ]
5th May 2012, 05:57 AM   |  #14  
Senior Member
Flag calicut
Thanks Meter: 27
 
200 posts
Join Date:Joined: Jan 2012
More
could u plz tell me hw to do it in ubuntu
5th May 2012, 05:38 PM   |  #15  
cowsquad's Avatar
Senior Member
Flag Portland, Oregon
Thanks Meter: 265
 
1,099 posts
Join Date:Joined: Aug 2009
Donate to Me
More
Quote:
Originally Posted by droidxpert

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: [ View ]
9th May 2012, 01:17 PM   |  #16  
Senior Member
Flag calicut
Thanks Meter: 27
 
200 posts
Join Date:Joined: Jan 2012
More
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
10th May 2012, 03:27 AM   |  #17  
cowsquad's Avatar
Senior Member
Flag Portland, Oregon
Thanks Meter: 265
 
1,099 posts
Join Date:Joined: Aug 2009
Donate to Me
More
Quote:
Originally Posted by droidxpert

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: [ View ]
10th May 2012, 07:05 AM   |  #18  
Senior Member
Flag calicut
Thanks Meter: 27
 
200 posts
Join Date:Joined: Jan 2012
More
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
10th May 2012, 07:30 AM   |  #19  
cowsquad's Avatar
Senior Member
Flag Portland, Oregon
Thanks Meter: 265
 
1,099 posts
Join Date:Joined: Aug 2009
Donate to Me
More
Quote:
Originally Posted by droidxpert

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: [ View ]
10th May 2012, 05:44 PM   |  #20  
Senior Member
Flag Stockholm
Thanks Meter: 299
 
248 posts
Join Date:Joined: Nov 2011
Donate to Me
More
Quote:
Originally Posted by droidxpert

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.

The Following User Says Thank You to fritzhy For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes