Post Reply

[tutorial] ***apktool for sense 4.0 apks 5/12/12***

14th May 2012, 01:41 AM   |  #21  
scrosler's Avatar
Recognized Developer
Flag Fargo
Thanks Meter: 51,987
 
23,737 posts
Join Date:Joined: Feb 2007
Donate to Me
Thanks Fern!

Just got my One X on Friday so I can finally start playing around!
14th May 2012, 01:50 AM   |  #22  
fernando sor's Avatar
OP Recognized Themer
Flag north of the wall
Thanks Meter: 5,442
 
9,445 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by scrosler

Thanks Fern!

Just got my One X on Friday so I can finally start playing around!

Let me know if you have any issues. I heard that phones com.htc.resources people were still struggling with it to decompile

Sent from my ADR6425LVW using xda premium
Last edited by fernando sor; 14th May 2012 at 02:08 AM.
28th June 2012, 11:42 PM   |  #23  
magicalan's Avatar
Senior Member
Thanks Meter: 77
 
2,447 posts
Join Date:Joined: Jan 2008
Hi , i was not able to recompile i followed the instructions and got an error



help :/
am barely trying to learn how to change the taskbar on my phone
29th June 2012, 11:37 PM   |  #24  
Jmrwbilly's Avatar
Senior Member
Flag 'Cuse NY!!
Thanks Meter: 126
 
224 posts
Join Date:Joined: Nov 2011
More
All I do.. use 2 versions of apktool, one to decompile the other to compile. Can't remember what versions I use for which operation though.. would need to look

Sent from my ADR6425LVW using Tapatalk 2
2nd October 2012, 06:22 PM   |  #25  
zozor's Avatar
Senior Member
Flag Wuhan
Thanks Meter: 35
 
651 posts
Join Date:Joined: Jun 2011
More
Hi fernando , Thanks for the apktool
I get this error when I try to install the resources with this apktool
Code:
C:\Users\Near\Downloads\apktool>apktool if com.htc.resources.apk sourceTest
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-hdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-hdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-hdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-hdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR11
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: integer-hdpi-ERR12
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-hdpi-ERR13
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-hdpi-ERR14
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-hdpi-ERR15
I: Framework installed to: C:\Users\Near\apktool\framework\2-sourceTest.apk

C:\Users\Near\Downloads\apktool>
Is it normal? When I decompile the systemUI with it, I get the same error ,but the apk decompile successfully , then in the public.xml I get some id with apktool.dummy that give me a pain to identify with element is invoke in the smali.
Any idea or workaround?
4th October 2012, 04:12 AM   |  #26  
fernando sor's Avatar
OP Recognized Themer
Flag north of the wall
Thanks Meter: 5,442
 
9,445 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by zozor

Hi fernando , Thanks for the apktool
I get this error when I try to install the resources with this apktool

Code:
C:\Users\Near\Downloads\apktool>apktool if com.htc.resources.apk sourceTest
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-hdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-hdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-hdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-hdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR11
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: integer-hdpi-ERR12
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-hdpi-ERR13
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-hdpi-ERR14
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-hdpi-ERR15
I: Framework installed to: C:\Users\Near\apktool\framework\2-sourceTest.apk

C:\Users\Near\Downloads\apktool>
Is it normal? When I decompile the systemUI with it, I get the same error ,but the apk decompile successfully , then in the public.xml I get some id with apktool.dummy that give me a pain to identify with element is invoke in the smali.
Any idea or workaround?

yes thats normal
4th October 2012, 05:02 AM   |  #27  
Senior Member
Flag Houston
Thanks Meter: 57
 
210 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Please use my apktool.jar if might fix most of your problems apktool.jar
5th October 2012, 04:03 PM   |  #28  
RomsWell's Avatar
Senior Member
Flag Venice
Thanks Meter: 955
 
1,499 posts
Join Date:Joined: Jul 2011
More
Use 3.21 i think it is to decompile. And then use the latest version to recompile. Then jus do the normal asec and res swap in the orig apk to keep orig signature.
And make sure your dependencys are setup like normal too.

Sent from my ADR6425LVW using xda premium

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Rezound Android Development by ThreadRank