yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] amidabuddha:
Yes just tried. Rosie.apk is the HTC Sense launcher. In apktool/framework folder it appeared as 127.apk

Unfortunately the same error (missing resources) there are no more apk files in my framework folder, maybe one of the jars?

EDIT: thank you very much for the support :)
[Galaxy S II Themes and Apps] agat63:
Dunno man.

As I said never had any HTC device.

Always been Sammies fan.

Sorry couldn'g help further.

But it is a missing dependancy.
[Galaxy S II Themes and Apps] ptlsajan:
please answer

here is my clear question,,,,,,

i want to port galaxy s3 to htc sensation............

so from which rom do i have to take framework-res.apk

and how to make the apps for galaxy s3 compitible for my device

thanks:confused::confused:
[Galaxy S II Themes and Apps] .malo2000:
problem settings.apk

Hi, I try decompile settings.apk with apktool (the original ones) and apkmanager by wanam but I get this error :(

Anyone can help me?

Thanks
[Galaxy S II Themes and Apps] wanam:
Push framework-res.apk and twframework-res.apk with apktool and try again :

apktool if framework-res.apk
apktool if twframework-res.apk
[Galaxy S II Themes and Apps] .malo2000:
I have placed twframework-res and framework-res in other folder and with command prompt I installed them...but it doesn't work :( I am with an lpd rom and it is very nice; the settings.apk taked from your rom works but mine no :(
[Galaxy S II Themes and Apps] wanam:
Same error?
[Galaxy S II Themes and Apps] ptlsajan:
Anyone
[Galaxy S II Themes and Apps] .malo2000:
With mine yes :( yours works perfectly...:(
[Galaxy S II Themes and Apps] wanam:
You can use XXALE9, you have to test and logcat to get all needed dependencies.

How did you deodex it? did you use ignore option while deodexing?
[Galaxy S II Themes and Apps] .malo2000:
I didn't deodex it :p it's a costum rom....but there isn't problem for me...I modify your apk and apkmanager works :p I was hoping you knew this error :p it appears only in decompiling....the rom is nice and it works fine ;) thank you
[Galaxy S II Themes and Apps] sam5154:
I had some problems with decompiling systemui from wanams rom. I think that there is some faulty 9.png files. I replaced those 9.png files before decompiling and it works now.

and I had same problem with systemui of VK Rom too.
[Galaxy S II Themes and Apps] CodeRedDewd:
Hi there,

Do you have a guide to set this up? I'm gettin a few errors when I try to decompile a .9.png.

/place-apk-here-for-modding/signedMms.apk

/place-apk-here-for-modding/unsignedMms.apk

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x02070015

I think I'm missing something to install or something... It says "Can't find framework resources for package."

Any suggestions?
[Galaxy S II Themes and Apps] agat63:
Before you decompile app you should install frameworks using option 1 in menu.

If you have more frameworks you should use option 81 or so "install additional framwork".
[Galaxy S II Themes and Apps] dully79:
Have you installed your correct framework?
[Galaxy S II Themes and Apps] andlaw:
yeah?.. lol, first thing i do.. and its fine i managed to get it edited a different way. :cool:
[Galaxy S II Themes and Apps] nick1313:
Not sure if this will help or not, but check out this thread.

Also have you tried just deleting those public xml entries? Or at least cutting and pasting them out of there.
[Galaxy S II Themes and Apps] marikamonteleone:
hello all. I wanted to ask you if you tell me why when I edit the XML file settings, then I do not do more than fill, there are indications or procedures for the compilation after editing the XML? thanks a lot
[Galaxy S II Themes and Apps] Black_jackss:
Hey do i need to install latest jdk to use this?

I use second to the newest jdk.i succed to recompile an apk,but when i put it in my phone,the apk becaome corrupt (problem parsing package)
[Galaxy S II Themes and Apps] agat63:
Is apk properly singed?

Did you use proper aapt.exe with your apktool?

Try to drag'n'drop edited files, images etc from newly recompiled apk into original and flash modified original app. This way you would know that you have correct signature and if app doesn't work it might be something in your edits.
[Galaxy S II Themes and Apps] Black_jackss:
I edited values/strings.xml to edit app's name

And after that I recompile,sign it with original meta-inf folder

Send it to my sd card,and that happen

It also happeNned to me even if I didnt edit anything

:confused:

I used your latest autoapktool but same result

I frequently did things like editing system app in GB but no such problem I ever encountered,and to make thing even worst, I got ics update less than a month ago :D

Via Berburu Ubur-Ubur!
[Galaxy S II Themes and Apps] agat63:
I know that ICS is copletely different from all previous builds but so far I've been able to edit SystemUI.apk, framework-res.apk, twframework-res.apk, MMS.apk Contacts.apk and quite a few more with my tool.

My attempts to edit them were the reason I made that tool (decompiling ICS apps was driving me nuts).

I always do my editing. Recompile app. Move (drug'n'drop) edited xml files and images from newly recompiled app from dist folder into appropriate locations of original app. Push app to phone or include in my roms. Works everytime.

I never had a good luck signing apps and I never changed the app name either.

So those are 2 things I can't really help you with.
[Galaxy S II Themes and Apps] Black_jackss:
So tell me,if you change sth in /values

How do you drag'n'drop it ?

Since there are no /values if you didnt extract it before

Via Berburu Ubur-Ubur!
[Galaxy S II Themes and Apps] agat63:
after you recompile app values folder is included in resourses.arcs file in root of your app.

I'm using 7z to move/copy that file from newly recompiled app into original one.
[Galaxy S II Themes and Apps] Black_jackss:
So we can replace the /values in resources.arcs by using 7zip?

Wow,i never know that before :)

Via Berburu Ubur-Ubur!
[Galaxy S II Themes and Apps] agat63:
If you do edit any of the xml files in /res/values folder after recopiling app just drug the resourses.arcs file into original app. All your edits in values folder will be moved with it.
[Galaxy S II Themes and Apps] Black_jackss:
I will try my luck tommorrow

Via Berburu Ubur-Ubur!
[Galaxy S II Themes and Apps] xXCorleoneXx:
thanks for this awesome tool,this is verry usefull for me.
[Galaxy S II Themes and Apps] agat63:
Kein problem.
[Galaxy S II Themes and Apps] xator91:
I have a lot of problems about public.xml with all framework-res compiling..
[Galaxy S II Themes and Apps] agat63:
Can you be more specific?

Pastebin you error message and may be we can figure it out.
[Galaxy S II Themes and Apps] xator91:
I doesn't have PC now here.. but the error it's like this: http://xdaforums.com/showpost.php?p=27586395&postcount=112
[Galaxy S II Themes and Apps] agat63:
Honestly it looks like an attempt to work with previously modded app.

Usually it doesn't work well since most of devs are trying to cut corners with image editing.

It complaints about declared images that do not exist.

First question would be:

Did you check your drawable-hdpi folder for those images?

Are those images there?

If yes are they .png's or 9.pngs?

And most important I would say don't try to mod previously modded app.

Start with clean stock if you want to avoid lot of problems.
[Galaxy S II Themes and Apps] m1keyb:
Fix line 21 in bools.xml all the other errors are probably as a result of that.
[Galaxy S II Themes and Apps] Andrewtst:
Yo!!! You are my king! Now I can compile / de-compile correctly. :D
[Galaxy S II Themes and Apps] Black_jackss:
Edited
[Galaxy S II Themes and Apps] jozka.1:
Hi,

I have a problem with compile source :(

I can decompile apk when I remove classes.dex, but I can't compile it.

Log:

I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\jozka1\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\jozka1\AppData\Local\Temp\APKTOOL1099734901805447217.tmp, -I, C:\Users\jozka1\apktool\framework\1.apk, -S, C:\Users\jozka1\Desktop\rom\other\..\projects\SystemUI.apk\res, -M, C:\Users\jozka1\Desktop\rom\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\jozka1\AppData\Local\Temp\APKTOOL1099734901805447217.tmp, -I, C:\Users\jozka1\apktool\framework\1.apk, -S, C:\Users\jozka1\Desktop\rom\other\..\projects\SystemUI.apk\res, -M, C:\Users\jozka1\Desktop\rom\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more

I use last aapt and apktool.

The APK is SystemUI from ICS 4.0.3.

Please someone any help?

SystemUI.apk > http://dl.xda-developers.com/attach...0c30bfc33/4fed8792/1/1/6/2/8/7/4/SystemUI.apk

framework > http://www.ulozto.net/x8j9CHE/framework-res-apk
[Galaxy S II Themes and Apps] cikova:
Solved -I can not compile secsettings.apk

sorry for my English, I need your help, I can not compile secsettings.apk me these errors, I can do? help me please.....

I attach the log

thanks Roby

SOLVED thanks
[Galaxy S II Themes and Apps] SXUsr:
Hi.

It was working fine earlier today but all of a sudden it's started giving this error when I try to compile my Phonebook, even with an unmodded Phonebook.apk it's still giving the styles.xml:204: error:?
[Galaxy S II Themes and Apps] SXUsr:
Found the solution here...
[Galaxy S II Themes and Apps] tdunham:
Yeah, plurals errors are fun.

This was taken from the rootzwiki:

http://rootzwiki.com/topic/16728-how-to-random-mods-for-the-do-it-yourself-er/

Get framework-res.apk to recompile

*this is hella time consuming, but gotta do what you gotta do*

-decompile framework-res.apk and then recompile without making any changes

-take note of every values folder which a plurals file gives an error from

-now navigate to each of those specific values folders and open the plurals.xml

-find line 79 (using Notes++) and add a 2nd "%" to the second "%d" so it looks like this: <item quantity="other">%d of %%d</item>

-save each one and recompile when all completed

Edit: There are like 3 or 4 plurals.xml files (in different folders) in framework that you'll probably have to edit line 79 on.
[Galaxy S II Themes and Apps] bambam1978:
TY

Thanks alot for the reply. anyway you can help me with the error through linux here's my error in terminal "dad@mine:~$ apktool b framework-res

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file

at brut.androlib.Androlib.readMetaFile(Androlib.java:142)

at brut.androlib.Androlib.build(Androlib.java:159)

at brut.androlib.Androlib.build(Androlib.java:154)

at brut.apktool.Main.cmdBuild(Main.java:182)

at brut.apktool.Main.main(Main.java:67)

Caused by: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file

at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:55)

at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:38)

at brut.androlib.res.util.ExtFile.getDirectory(ExtFile.java:55)

at brut.androlib.Androlib.readMetaFile(Androlib.java:138)

... 4 more

Caused by: java.util.zip.ZipException: error in opening zip file

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(ZipFile.java:127)

at java.util.zip.ZipFile.<init>(ZipFile.java:144)

at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:53)

... 7 more

dad@mine:~$ "

the reason i ask is i'm running windows through virtualbox and would prefer it to work on linux win is slow for me.

Thanks again.
[Galaxy S II Themes and Apps] tdunham:
I'm not an expert or anything but maybe java issues?

Is that from linux and the other log that was almost working from virutual windows?

Can't help with linux, sorry.
[Galaxy S II Themes and Apps] bambam1978:
was linux thanks anyways though i appreciate you taking the time to respond.
[Galaxy S II Themes and Apps] SinisterChedda:
Couldn't get any of the other tools to decompile or recompile correctly but this one works. Thanks.
[Galaxy S II Themes and Apps] /ofAllEvil:
What i use

I've been using this apktool from this thread http://xdaforums.com/showthread.php?t=1566778 i was also getting alot of errors with other tools but this one hasn't given me any problems so far on ICS :good:
[Galaxy S II Themes and Apps] alkhafaf:
Is the Wanam apk manager also compatible with GB apks ?
[Galaxy S II Themes and Apps] Arnadel:
Sorry for noob question. How can I run ICS and Original apk tool ?
[Galaxy S II Themes and Apps] Empereur78:
Hi, Thank you for the tool, I decompiled and recompiled Mms.apk successfully ! but still errors on Phone, Contacts and TouchWiz30Launcher. Can anyone try to decompile those files ?

I only want change the icon of apps ;)

edit: It's Ok, I found an addon to do that without decompiling apk ( http://s2tip.blogspot.fr/2012/05/galaxy-s3-icon-pack-addon-v20-by-s2tip.html )
[Galaxy S II Themes and Apps] gorak86:
there is no gui you just run the command prompt from the folder
[Galaxy S II Themes and Apps] ssettor:
I'm using this autoapktool to decompile/compile/sign apk...the one tool thats work for me..much more easy gor noob ヅ

http://xdaforums.com/showthread.php?t=1577025
[Galaxy S II Themes and Apps] vegeta1:
m getting this while re compiling..any help ??
[Galaxy S II Themes and Apps] nightly_shadow:
decompiling with oringinal and recompiling with ICS, good idea..
[Galaxy S II Themes and Apps] zhanjia:
Its really annoying when you did so much and still doesnt work :/

I decompiled using original and after editing i recompiled using ics apktool

but still the same log of errors i encountered..

I got help from original apktool thread but still the same log errors..

Whats wrong with my file......
[Galaxy S II Themes and Apps] m1keyb:
You need to fix line 27 on arrays.xml and delete public.xml
[Galaxy S II Themes and Apps] zhanjia:
i didnt touch Arrays.xml... i dont what wrong with that..

btw..Thanks !
[Galaxy S II Themes and Apps] m1keyb:
You could maybe try changing

<string-array name="shutdown_reboot_options">
<item>@string/reboot</item>
<item>@string/reboot_recovery</item>
</string-array>

to

<array name="shutdown_reboot_options">
<item>@string/reboot</item>
<item>@string/reboot_recovery</item>
</array>

But having said that I successfully decompiled and compiled v4.1_Bottom_Tabs_SystemUI.apk without changing anything so i'm not sure why it wouldn't for you sorry.
[Galaxy S II Themes and Apps] zhanjia:
How did know that apk...

If i could decompile succesfully, i should be able to recompile too right ?

Or xml errors could cause error in recompiling ?

Thanks !
[Galaxy S II Themes and Apps] MrRusch:
Could anyone tell me if the GalaxyS3 Mod Tool works with the S2 as well? :confused:
[Galaxy S II Themes and Apps] m1keyb:
I searched your posts to see if you'd found a solution and tried with that as you'd posted it.

A successful decompile doesn't necessarily mean you'll get a successful compile, for example using wanams apk manager I can decompile framework but have to fix plural.xml's to get framework to compile.

That first error sounds like its expecting one thing but getting another.

That apk I tried does it compile ok for you? If it doesn't that would suggest its happening because of something different in the tools (me - wanams apk manager, you - apktool)

If that compiles for you but you're getting errors after editing its something you've done....xml errors will cause compiling errors.
[Galaxy S II Themes and Apps] zhanjia:
Thanks for the info.

But why does array.xml have errors after decompile ? If it has errors, why does the apk could work before decompile?

And, like the way you taught me to fix the array.xml , how did you find out whats wrong in the xml codes ?

And yes i could recomlile without editing already with other apks..
[Galaxy S II Themes and Apps] m1keyb:
haha too many questions. The xml in its raw state doesn't have any errors, but when it's decompiled apktool is converting it to the format we can more easily understand! and creating some formatting it then can't handle in the compile process (something like that I think)

I didn't look into the codes but Im guessing that either are ok for use with android but one causes issues with a certain aapt or apktool.
[Galaxy S II Themes and Apps] agat63:
Have you tried to use this tool for decompiling/recompiling apk:

http://xdaforums.com/showthread.php?t=1577025

I made some modification to original tool and have used it for all my edits for E4GT phone.

Please be aware that if app you trying to mod has been mode perviously by someone else you have high

chances of errors.

Whatever edit's you trying to make do them to stock app and you will have higher chances for success.
[Galaxy S II Themes and Apps] plegdroid:
afternoon, you make mention you get recompile error with wanam apk manager, specifically plural error at line 79, you just need a more updated apk tool, try, 1.4.10 or 1.5.0 as these cured this know error. will save you having to edit every plurals xml.

http://xdaforums.com/showthread.php?t=1755243

ⓐⓝⓓⓡⓞⓢⓘⓓⓔ ⓘⓢ ⓝⓞⓣ ⓐ ⓢⓘⓝ
[Galaxy S II Themes and Apps] Spannaa:
Yep, if you're using Wanam's Apk Manager ICS, just swap apktool.jar in the 'other' folder with apktool_1.5.0.jar (renamed to apktool.jar obviously).
[Galaxy S II Themes and Apps] m1keyb:
Cheers folks updated :o

@kokzhanjia I updated to 1.5.0 and tried v4.1_Bottom_Tabs_SystemUI.apk again, still no errors compiling that for me. If that's not the actual apk you've modded, post your modded apk if you don't mind us having a look at it.
[Galaxy S II Themes and Apps] zhanjia:
Thanks for your help i can recompile now ! But i think theres another problem, is meta inf folder inside the apk after recompiling by default ? Because mine has no meta inf after recompiling ...

Sent from my WT19i
[Galaxy S II Themes and Apps] itsamti:
Thanks

Thanks, it worked for me.
[Galaxy S II Themes and Apps] tsubus:
Could you post your apkmanager for linux? (should only need really need aapt, all the other tools should be ok with the current linux versions...unless you haven't modified aapt)

---------- Post added at 05:05 PM ---------- Previous post was at 05:03 PM ----------

Only if you sign the package, but it should not be needed for /system/ apk's.
[Galaxy S II Themes and Apps] crashpsycho:
small modification needed

DELETE
[Galaxy S II Themes and Apps] racky29:
im getting an error using apktool, original windows files not any special mods or anything

tried on a windows 7 x64 machine and windows 8 x64 machine, both throw up this error

trying to decomple and recomplie a simple widget.apk, get this error

command i use is

apktool d widget.apk

'java' is not recognized as an internal or external command,

operable program or batch file.

but if i type

apktool.jar d widget.apk

it does decomple but nothing comes up in the command prompt, but i do get the folder of decompiled apk

please can anyone help
[Galaxy S II Themes and Apps] agat63:
Errow shows that you either don't have java installed on your machine or java/bin folder is not described in your path in environmental variables.

Check that first.
[Galaxy S II Themes and Apps] racky29:
yes you are correct and ive now got this java error sorted

added java path to environment variable path
[Galaxy S II Themes and Apps] xXfreshXx:
link down
[Galaxy S II Themes and Apps] Gojira-r32:
do you have a working link please ? for APK tool etc
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] chiefobama27:
hello, I have noticed that when you install rom manager and flash CWM with it, It makes the sch-i905 (SGT LTE) go into bootloop. I believe this is because the one that rom manager flashed was for wifi only... can someone explain to me how to possibly flash a clockworkmod recovery to stop the boot loop? or am I wrong and there's something else I have to do? Thanks for all the help in advance.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] muzzy996:
ROM manager isn't all encompassing when it comes to supporting the flashing of various ROMs and recoveries on all Android devices so what you're finding is what others already know; it doesn't support the GT 10.1 models well.

About the only reason I'd use ROM manager on my tablet would be to run the fix permissions from within the OS itself. Instead though, I just do it in CWM and I do not have ROM manager installed.

Dump ROM manager on the tab and use the latest CWM that pershoot distributed instead:

http://xdaforums.com/showthread.php?t=1090289

There's a link to his blog site in the original post in that thread. Download links for your tab version (SCH-i905) are there as are instructions for using Odin to flash it.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Misledz:
The app itself doesn't direct the files properly on where it needs to be pasted
[Samsung Galaxy Player 4.0, 5.0] BOBdotEXE:
Hey I saw this cool app on the market called Live Logcat

That lets you see what your device is doing as it boots :D

[Root Required]

[YOUTUBE]qDVPQwTsM1c[/YOUTUBE]

It works great on my sgp 4.0 usa [stock rom]
[Samsung Galaxy Player 4.0, 5.0] woer:
Thanks for this! I absolutely hate splash screens and had looked for something like this.
[Sony Tablet S] yohandesilva1:
So since we have the Condi's Tool now (BIG THANKS TO CONDI for his great work)

I was wondering how to create a custom rom, most of all how to create nand backup like rom.

And if someone can please upload a full, fully flashable, non mod .zip file that would help
[HTC Sensation] bigheed:
Hello,

I am having some trouble with my T-mobile Sensation 4G. I was trying to install a Rom and seemed to have failed. At this point it will not boot past the first white screen with the green HTC logo.

I can get it into fastboot and Clorkwork mod recovery. However, I am not really sure what to do.

I have tried superwipe and it fails. Bootloader screen is as follows:

-Revolutionary

Pyramid PVT SHIP S-OFF RL

HBOOT- 1.27.1100

RADIO- 11.22.3504.07_M

OPENADSP-V02.6.0.2226.00.0131

EMMC-BOOT

JAN 13 2012, 17:33:34

If I need to provide more information just let me know. Any help to get it back up and running would be great. I really appreciate your time and help.

Thank you in advance.
[HTC Sensation] :
Most likely the rom will not boot on your current firmware. What rom is installed?

Option 1 is to restore a backup since you can access recovery.

Option 2 is to put the correct firmware on your SD using a PC, reinsert and let your phone update.