FORUMS

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we … more

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One … more

Huawei’s Rapid Rise to Third Place in the Smartphone Race

Huawei has quickly grown to become one of the world’s biggest … more

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

9,572 posts
Thanks Meter: 5,567
 
By fernando sor, Recognized Themer on 13th May 2012, 03:06 AM
Post Reply Subscribe to Thread Email Thread
14th May 2012, 01:41 AM |#21  
scrosler's Avatar
Recognized Developer
Flag Fargo
Thanks Meter: 63,669
 
Donate to Me
More
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,567
 
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: 81
 
More
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
 
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
 
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,567
 
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
 
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: 1,036
 
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