[Q] [ICS] How to modify ICS apks?

reaper61616

Senior Member
Nov 23, 2010
663
747
0
Brodnica
Can someone tell me how to modify Sony ICS apps?

Which apktool I need to use?
I have errors when decompiling/compiling apks - framework problems (frameworks are installed!) .

I want to change some mismatches in Official ICS port, but i can't.:(

Can anyone give me an instructions?
 
Last edited:

gandhar

Senior Member
Jan 20, 2012
1,037
679
0
Goa
Can someone tell me how to modify Sony ICS apps?

Which apktool I need to use?
I have errors when decompiling/compiling apks - framework problems (frameworks are installed!) .

I want to change some mismatches in Official ICS port, but i can't.:(

Can anyone give me an instructions?
whats the error exaclty?
do you have all these things?

1.install both the frameworks(framework-res.apk and SemcGenericUxpRes.apk)?
2.update your sdk and copy aapt.exe from platform-tools to your apktool directory then reinstall frameworks and try again
3.get latest version of apktool
 

reaper61616

Senior Member
Nov 23, 2010
663
747
0
Brodnica
So:


Both frameworks are installed.

SDK is up to data and I copy aapt form platform-tools to apktool directory (size mismatch: platform-tools: 805kb - apktool original: 5.19 mb -> is not wrong to copy aapt form sdk to apktool folder:confused: )

Apktool version: 1.4.3 (http://code.google.com/p/android-apktool/downloads/list)


Errors:

< See image >


I don't know what I'm doing wrong.:(

I'm on windows XP.
 

Attachments

gandhar

Senior Member
Jan 20, 2012
1,037
679
0
Goa
So:


Both frameworks are installed.

SDK is up to data and I copy aapt form platform-tools to apktool directory (size mismatch: platform-tools: 805kb - apktool original: 5.19 mb -> is not wrong to copy aapt form sdk to apktool folder:confused: )

Apktool version: 1.4.3 (http://code.google.com/p/android-apktool/downloads/list)


Errors:

< See image >


I don't know what I'm doing wrong.:(

I'm on windows XP.

i am using 806 kb aapt, it's compiling correctly. so no problem with that..
 

gandhar

Senior Member
Jan 20, 2012
1,037
679
0
Goa
I can upload apk that I want to 'make'. :D

There is one thing I need to do: change some values in one xml file.

I can upload moded file too. :)
for the ICS port, i have it, i have a recompilation error, just a minute...

have to replace
<style name="Layout.ButtonContainer"> with <style name="Layout.ButtonContainer" parent="@android:style/Theme.Wallpaper.NoTitleBar">

in all error files
 

singh_dd93

Inactive Recognized Developer
Oct 3, 2011
1,533
3,536
0
27
Ludhiana, Punjab
So:


Both frameworks are installed.

SDK is up to data and I copy aapt form platform-tools to apktool directory (size mismatch: platform-tools: 805kb - apktool original: 5.19 mb -> is not wrong to copy aapt form sdk to apktool folder:confused: )

Apktool version: 1.4.3 (http://code.google.com/p/android-apktool/downloads/list)


Errors:

< See image >


I don't know what I'm doing wrong.:(

I'm on windows XP.
How did you rectify this problem. i am getting same error.
I have replaced the aapt.exe
I am on Win7 x64
please help

---------- Post added at 04:22 PM ---------- Previous post was at 04:18 PM ----------

for the ICS port, i have it, i have a recompilation error, just a minute...

have to replace
<style name="Layout.ButtonContainer"> with <style name="Layout.ButtonContainer" parent="@android:style/Theme.Wallpaper.NoTitleBar">

in all error files
How to do this
unable to understand
 
Last edited:

gandhar

Senior Member
Jan 20, 2012
1,037
679
0
Goa
How did you rectify this problem. i am getting same error.
I have replaced the aapt.exe
I am on Win7 x64
please help

---------- Post added at 04:22 PM ---------- Previous post was at 04:18 PM ----------



How to do this
unable to understand
copy aapt.exe from the link i gave to apktool directory, INSTALL FRAMEWORKS AGAIN and try normally
 

reaper61616

Senior Member
Nov 23, 2010
663
747
0
Brodnica
Phonebook.apk is hard to edit. You need to change some others 'strings' in many files in decompiled apk and probably it's not all... SemcMusic.apk is easier to edit.

I edit my SemcMusic.apk, but in phone I can't run it.:(

For now I'm on stock so I do not test and make changes in any apps.

FEEL FREE TO POSTING ANY IDEAS :D It can be helpful for some people in future. :)
 
Last edited: