[Q] Weird thing... - HTC Desire X

So I made some modifications to MIUI Settings.apk and when I tried to recompile the apk this errors/warnings occured: See the attached .txt file

It means there are no translations for these strings: but these don't stop you to recompiling it!
The real errors are missing files:
Code:
C:\Users\Mihai\apktool\framework\1.apk, -I, C:\Users\Mihai\apktool\framework\6.apk, -S,
C:\Users\Mihai\Downloads\AndroidMultitool_2.1_Win7\AndroidMultitool\Decompiled_apk\Settings\res, -M,
C:\Users\Mihai\Downloads\AndroidMultitool_2.1_Win7\AndroidMultitool\Decompiled_apk\Settings\AndroidManifest.xml]
xpirt

the files you quoted are there...that was the weird thing...I'm looking at those files right now 3 different programs said the same thing in their logs...
the app I'm working on it's from your port of MIUI ROM (settings.apk)

MihaiA7X said:
the files you quoted are there...that was the weird thing...I'm looking at those files right now 3 different programs said the same thing in their logs...
the app I'm working on it's from your port of MIUI ROM (settings.apk)
Click to expand...
Click to collapse
6.apk is a framework file missing, seems framework-miui-res.apk.
Btw use official aapt.exe and apktool.jar from MICode: https://github.com/MiCode/patchrom_tools
xpirt

tried to decompile and recompile without making changes and it worked...so now the problem is the changes that i make affects the building process

Related

[GUIDE][MOD] Transparent Background of Arc System App

Hello,
I had asked how to make the background of System App transparent a couple of weeks ago here.
But Nobody can answer the way what exactly I want to do so I finally figure out how to make the background of System App transparent~~
This is including for Phone, Contacts, Messaging, Settings, Music, Alarms, Email, Calendar, Calculator, Sync, Media Server, Clock, Media Discovery, Setup Guide.
This is not including for Timescape, TrackID, Support.. I'm still investigating and will update for this...
It's actually not make the background of System app transparent.... show the wallpaper in the background of System app.
So if you change wallpaper, the background of System app also can be changed to your wallpaper~~~
When I modified style.xml just for the transparency, it's so confusing because the other app behind of System app.
This is based on Rooted LT15i 3.0.1.A.0.145 O2 so working for 145 based Rom. But I'm not sure it's working for LT15i_3.0.A.2.181 Rom.
--------------------------------------------------------------------------------------------------------
[GUIDE HOW TO]
I add the guide which xml and png is modified so it will be helpful for someone who use the other version ROM.
It's so simple if you already know how to inherit from the other in android.
For framework-res.apk, first of all decompile framework-res.apk
Step 1 : In \res\values\style.xml
Change this :
Code:
<style name="SEMCTheme" parent="@style/Theme">
to
Code:
<style name="SEMCTheme" parent="@style/Theme.Wallpaper">
Save and close
Step 2 : In \res\drawable-hdpi-v4\semc_bg.png
Open with photoshop and make semc_bg.png transparent
Step 3 : Compile framework-res.apk
For SemcGenericUxpRes.apk, first of all decompile SemcGenericUxpRes.apk
Step 1 : In \res\values\style.xml
Change this :
Code:
<style name="SEMCTheme" parent="@android:style/Theme">
to
Code:
<style name="SEMCTheme" parent="@android:style/Theme.Wallpaper">
Save and close
Step 2 : In \res\drawable-hdpi-v4\semc_bg.png and \res\drawable-land-hdpi-v4\semc_bg.png
Open with photoshop and make semc_bg.png transparent
Step 3 : Compile SemcGenericUxpRes.apk
For FBMediaDiscovery.apk, first of all decompile FBMediaDiscovery.apk
Step 1 : In \res\values\style.xml
Change this :
Code:
<style name="MediaUpdatesTheme" parent="@android:style/Theme">
to
Code:
<style name="MediaUpdatesTheme" parent="@android:style/Theme.Wallpaper">
Save and close
Step 2 : In \res\drawable-hdpi-v4\semc_bg.png
Open with photoshop and make semc_bg.png transparent
Step 3 : Compile FBMediaDiscovery.apk
--------------------------------------------------------------------------------------------------------
Please see the attached apk files.
Framework-res.apk and SemcGenericUxpRes.apk is for System Apps and should push under /system/framework/
FBMediaDiscovery.apk is for Media Discovery in 145 based rom and should push under /system/app
Looks good, I'll test it out when I get home.
hi rleon...
...thank you so much dude, i've been waiting for this mod everything works perfectly fine....i have just one small request: could you possibly include the CRT screen off animation, or the reboot options mod?
That's what has just come to my mind, it'd be great if you could include those....if not, it's actually awesome anyway
Great~ everything works fine for you...
As I know, CRT Screen off animation and reboot option already exists in the other thread...
If you wanna just one framework-res.apk file including all things, I will try but I'm not sure~~
Please give me a time~~
Hi rleon,
Could you please give a detailed list of items / files / folders you changed or altered?
I'm trying to make the system backgrounds invisible aswell however it seems folders have different names in .181
Thanks for the hard work tho!
For framework-res.apk and SemcGenericUxpRes.apk, 181 Rom is same.
framework-res.apk and SemcGenericUxpRes.apk should be located in the same folder which is under /system/framework/ so you can push these files under /system/framework/
And FBMediaDiscovery.apk is just for 145 based Rom so it may not be there in 181 Rom.
Please check whether there is FBMediaDiscovery.apk under /system/app ro not.
If not, you cannot push this file.
Hmm just tried to install them.. however I got a bootloop.
Anything special I should do while copying the files?
I think your 181 rom is different so it cannot be applied this apks.
I just compiled for 145 based rom...
I will update how to modify style.xml later so you can modify and compile for your 181 based rom by yourself....
That would be awesome, looking forward to it
I did a noob mistake and put it on my phone (3.0.1 UK) and now i can't change my wallpaper at all =\
can anybody upload me the original files for my firmware please???
This is good! My homedock, status bar and notification is already transparent and now I just added this too. Cool!
Sent from my LT15i using XDA Premium App
Is it Build 3.0.1.A.0.145 UK?? It should be working...
Currently my rom also Build 3.0.1.A.0.145 UK......
Thanks a lot for the guide! :-D
// Edit
However there doesnt seem to be a style.xml in my version hmmm interesting ;p!
meidan95 said:
I did a noob mistake and put it on my phone (3.0.1 UK) and now i can't change my wallpaper at all =\
can anybody upload me the original files for my firmware please???
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1052067
Damorisio said:
http://forum.xda-developers.com/showthread.php?t=1052067
Click to expand...
Click to collapse
sorry if it's a stupid question but what am I need to do with this link?
where did you find the "value" folder inside the res folder, i cant find it anywhere..Trying to edit it myself so that i can retain the crt sreen off as well as the reboot option.
Can't even find the value folder much less the style.xml
Sent from my LT15i using XDA Premium App
Since I changed my rom to HK 145 rom, I applied your work to my arc. It looked good and nice and worked very well. Great job. Thank you very much.
I followed the instructions for framework-res.apk and got a bootloop.
Couldn't even decompile SemcGenericUxpRes.apk, I got error messages.
I don't suppose anyone might have any idea why?
Is it possible to have it as a solid black background?
and does this work on Xperia Play?

[Q]Problem after changing AndroidManifest.xml

Hello Guys and Galls,
I want to change the background of Settings.apk from black to white. I use the FroyoMod Rom http://forum.xda-developers.com/showthread.php?t=815595.
If change
Code:
<application android:label="@string/settings_label" android:icon="@drawable/ic_launcher_settings" android:taskAffinity="">
to
Code:
<application android:theme=[COLOR="Red"]"@android:style/Theme.Light.NoTitleBar"[/COLOR] android:label="@string/settings_label" android:icon="@drawable/ic_launcher_settings" android:taskAffinity="">
in AndroidManifest.xml.
I use ApkManger to decompile and compile. The (de)compiling is without any errors.
After compile with ApkManager i do the follow:
- open original Settings.apk and unsignedSettings.apk with 7-zip
- delete AndrodManifest.xml in original Settings.apk
- copy AndroidManifest.xml from unsignedSettings.apk to original Settings.apk
- copy the modified original Settings.apk to the phone in /system/app
- chmod 644 Settings.apk
- chown root:root Settings.apk
So now if I start Settings nothing happens, nothing, not even an fc.
This is was logcat says:
Code:
com.android.settings has no certificates at entry AndroidManifest.xml
What I´m doing wrong?
Try one of the many apk re-packaging tools on this forum. Ive used apktool but there are some front ends built for it
From something awesome
killersnowman said:
Try one of the many apk re-packaging tools on this forum.
Click to expand...
Click to collapse
tigger-gg said:
I use ApkManger to decompile and compile.
Click to expand...
Click to collapse
By the way if I change any other xml file in /res there are no such problems.
tigger-gg said:
I use ApkManger to decompile and compile.
Click to expand...
Click to collapse
dur
i read this on the mobile and did not see that....
solving the problem? because I would be interested
Me too, I'm having a problem recompiling an AndroidManifest.xml with apkmanager 5.0.1., it won't install unless I use an original AndroidManifest.xml file first, then I can flash right over it. At first I thought it was a the change I made in the file, but I just decompiled and compiled an unmodified version, and it did the same thing. So its the compiler.
Settings.apk is a signed system app. It will refuse to run unless signed by the same key as the rest of the system apps. Just replacing a single XML in the APK will cause a signature mismatch.
Best bet? I'd say make your change, then use a kitchen like dsixda's to resign the whole system with the test key (I think this is a menu option).
Yep your whole system has to have the same signature. I did this edit for a rom a while back, but I made the settings transparent instead of white background by using Theme.Wallpaper.NoTitlebar. Just sign your whole rom together with testkeys and all should be good until another system app gets changed/modified and the signatures don't match again.
Sent from my PG06100 using Tapatalk
Thanks to Gene Poole and one_love_420, I will try your instructions.
If your after quickly signing a whole load of apk's, I wrote a command line front end to do all the hard work for you.
You can even generate your own private key.
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
BUMP to top
Please big problem been fighting for weeks
any one know anything about this!!
So anybody find a solution yet? Seems to be the binary text conversion.
It is the signitures in manifest.inf fyi

Help modding an Arc running 4.0.A.2.368

So there's a couple of things I'd like to do to/with my Arc that I can't seem to figure out, so I was wondering if anyone might be able to shed some light on it all.
Firstly, I'd love to be able to strip the clock out from my statusbar.
I've found this guide but when I try and decompile SystemUI.apk, I get error messages and even if I ignore those errors and open up the xml file in question, I can't find the but of code I'm supposed to delete
Secondly, whilst the new themes are great and all, I'd much rather have a transparent/translucent background in my system apps to match the app drawer background in VTL (the launcher I use).
Again, there's a guide but even without the previous firmware, I was having trouble with it
And now I'm not sure if the instructions still apply...
So, I'm hoping that one or other of the brilliant XDA-dev geniuses might be able to help
Hi.
I use this for de and recompiling, taken from the link in my sig, "Theme Reference", the whole guide was wrote for the X10 but still a worth read....
_calum_ said:
Setting up:
In the attached zip file (themes.zip) you will find a copy of my theme creation environment. It’s not too complicated, it only contains a couple of folders so I know where everything is, three key batch files (all one-liners) and apktool.
The first thing we need to look at is install_framework.bat. This contains the following line:
Code:
java -jar apktool.jar install-framework stock\framework-res.apk
All this does is tell apktool to install the framework on your system. The resources from stock\framework-res.apk will be extracted to a default location. If you don’t do this then you will not be able to recompile other apk’s that rely on the framework (you will get a ResourceNotFound error).
The other batch files decompile and build the framework, these are the ones that need to be modified if you start working on a different apk:
Code:
[B]decompile.bat[/B)
java -jar apktool.jar d stock\ framework-res.apk working\ framework-res
[B]build.bat[/B]
java -jar apktool.jar b working\framework-res out\framework-res.apk
I have included the stock X10 framework. If you use on of the other frameworks out there you may find that you get a lot of errors when trying to recompile. That’s because someone got lazy with the .9.png’s
As we are modifying the framework directly we do not need to run install_framework.bat, for a different apk (e.g. Phonebook.apk) you may need to run this first to avoid errors when decompiling.
Decompiling and Building:
1. Run decompile.bat. After this you will see that the working folder is filled with the contents of the apk. The images we need to modify are in the subfolders res/drawable-hdpi and res/drawable-land-hdpi. If you look at some of the .9.png’s in there you can see the guides (see the attached image). This makes it really easy to edit them, you can just edit them like any other image (as long as you do not touch/alter the guides).
2. Edit any images that you want. For the .9.pngs I usually make a copy without the 1 pixel border so that I can edit the entire image, then I paste the copy back into the middle of the original .9.png. You don’t have to worry about the guides, they are already set correctly.
I have created a tool that takes the stock x10 status bar icons, removes the background and sets them to a colour of your choice here. This was made to make my life easier by minimizing the time I spend in photoshop.
3. Run build.bat. This compiles the framework, embedding the guide information into the .9.png’s. The output framework is in the out folder. Do not push this to your phone as it is incomplete and the resources.arsc is stored incorrectly. If you do push it to your phone then you get to reflash
Now you can just drag the edited images out of the generated framework onto your hard drive and use steps 4. and 5. of the Drag/Drop method described below to update your framework.
Click to expand...
Click to collapse
Themes.zip
...depending on the errors? either the apk is at fault or your Java. When it comes to theming Android you'll find a lot of the principles apply across all Brands, I could easily theme for a HTC or a Samsung if I bought one if you see what I mean, but can be specific, and being S.E, it is lol, but what I'm trying to say is the firmware may have changed but changing a particular aspect will remain the same, but without trying you won't know, or learn.
Well, this is the error message I get when I try to decompile the SYstemUI.apk
--------------------------------------------------------------------------
|05/08/2011 -- 16:57:14.95|
--------------------------------------------------------------------------
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
'adb' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find C:\Android\General\APK Manager\place-apk-here-for-modding\../plac
e-apk-here-for-modding/signedSystemUI.apk
Could Not Find C:\Android\General\APK Manager\place-apk-here-for-modding\../plac
e-apk-here-for-modding/unsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\Iain\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x010300a4
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080486
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x010300a4
at brut.androlib.res.data.ResPackage.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(Unknown Source)
at brut.androlib.res.data.value.ResReferenceValue.toResXmlFormat(Unknown Source)
at brut.androlib.res.data.value.ResAttr.convertToResXmlFormat(Unknown Source)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unknown Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown Source)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Click to expand...
Click to collapse
As for the other part, I haven't tried that yet because I'm not sure the instructions still apply in light of the new themes function SE have added.
I'll take a look at what you've posted though, thanks.
Step666 said:
Well, this is the error message I get when I try to decompile the SYstemUI.apk
Click to expand...
Click to collapse
Do you have the SDK installed?
No but a mate of mine who very definitely does have it installed had similar issues.
I'll download the SDK now and try again.
Step666 said:
I'll download the SDK now and try again.
Click to expand...
Click to collapse
This should help with setting up adb- [GUIDE] ADB, Fastboot, and Nandroid for Noobs, and is quite essential.
Thanks but I'm not interested in setting up adb.
Step666 said:
Thanks but I'm not interested in setting up adb.
Click to expand...
Click to collapse
No worries, good luck.
Ok, so I downloaded and installed the entire Android SDK and every optional extra, something like 3GB all told.
Still get exactly the same error messages as before - whether I use APK Manager or the tool you recommended.
My mate who also tried to decompile it for me reckons that the problem is down to dependencies.
APK Manager has an option to decompile with dependencies but I don't know what they are.
Step666 said:
My mate who also tried to decompile it for me reckons that the problem is down to dependencies.
Click to expand...
Click to collapse
..........
Step666 said:
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
'adb' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
EDIT: attach the apk and I'll try.
Step666 said:
Ok, so I downloaded and installed the entire Android SDK and every optional extra, something like 3GB all told.
Still get exactly the same error messages as before - whether I use APK Manager or the tool you recommended.
My mate who also tried to decompile it for me reckons that the problem is down to dependencies.
APK Manager has an option to decompile with dependencies but I don't know what they are.
Click to expand...
Click to collapse
Decompile with dependencies and drag in SemcGenericUxpRes.apk from your phone
also do this to install the framework resources
http://forum.xda-developers.com/showpost.php?p=15496506&postcount=81
Hope it helps you
Regards
Hi,
Sorry to barging in to your thread. I was trying to to decompile the Home.apk it successfully did. After recompiling it back I replace the file. Now the phone is not getting pass the Sony Logo. Now sure why
ShyamSasi said:
Hi,
Sorry to barging in to your thread. I was trying to to decompile the Home.apk it successfully did. After recompiling it back I replace the file. Now the phone is not getting pass the Sony Logo. Now sure why
Click to expand...
Click to collapse
This is the same principle...
3. Run build.bat. This compiles the framework, embedding the guide information into the .9.png’s. The output framework is in the out folder. Do not push this to your phone as it is incomplete and the resources.arsc is stored incorrectly. If you do push it to your phone then you get to reflash
Now you can just drag the edited images out of the generated framework onto your hard drive and use steps 4. and 5. of the Drag/Drop method described below to update your framework.
Click to expand...
Click to collapse
- http://forum.xda-developers.com/showthread.php?t=834806
XperienceD said:
This is the same principle...
- http://forum.xda-developers.com/showthread.php?t=834806
Click to expand...
Click to collapse
Thanks Mate .. It worked
XperienceD said:
EDIT: attach the apk and I'll try.
Click to expand...
Click to collapse
Thank you for the offer.
I've literally just sat down in front of my PC for pretty much the first time today, which is why I hadn't replied until now.
I'm going to try what Adam suggested first but if I run into trouble, I may take you up on your offer...
AdamTt said:
Decompile with dependencies and drag in SemcGenericUxpRes.apk from your phone
also do this to install the framework resources
http://forum.xda-developers.com/showpost.php?p=15496506&postcount=81
Hope it helps you
Regards
Click to expand...
Click to collapse
I decompiled with dependencies and dragged a copy of SemcGenericUxpRes.apk into the APK Manager window and still got errors.
Also, I'm not sure what you mean by installing the framework resources - you are aware I'm not trying to mod the framework-res.apk just now, I'm trying to sort the SystemUI.apk to remove the clock from the notification bar.
Anyway, here's the APK is anyone can work out what I'm doing wrong...
ShyamSasi said:
Thanks Mate .. It worked
Click to expand...
Click to collapse
You're welcome.
Step666 said:
I decompiled with dependencies and dragged a copy of SemcGenericUxpRes.apk into the APK Manager window and still got errors
Click to expand...
Click to collapse
...
Daneshm90 said:
Requirements:
Java
Adb
Click to expand...
Click to collapse
...
Daneshm90 said:
Got problems ?
1. Make sure your path has no spaces
2. Your filename has no wierd characters
3. Java/adb are in your path
4. It's not a proprietary rom's apk (aka Sense,Motorola,Samsung) (If u are, then use option 11 and drag the required framework, eg com.htc.resources, twframework-res...etc)
5. It's not a themed apk (if it is, expect .9 png errors, use as close to stock as possible)
6. Look at the log to know whats happening
7. If all else fails, post as much info as possible and we will try to assist you.
Click to expand...
Click to collapse
XperienceD said:
This should help with setting up adb- [GUIDE] ADB, Fastboot, and Nandroid for Noobs, and is quite essential.
Click to expand...
Click to collapse
- Apk Manager 4.9 - Makes Modifying Ur Apk A Breeze (Windows/Linux)
But I was been able to mod the framework-res apk from the previous version without setting up adb, so the program clearly doesn't need it.
Also, the mate of mine who tried to decompile it for me previously has adb set up on his PC and he still had the same errors.
So I'm just not convinced that's got anything to do with it.
edit: to clarify, I will give it a go when I have some free time but I'm still not convinced it's the root of the problems.

howto de/compile systemui.apk without any error

Hello,
I wanted to de/compile the systemui.apk and got errors.
I installed framework-res.apk with apktool.
After installation I used apktool (Win7) and decompiled the systemui.apk.
But I got the same errors as many others have gotten them.
brut.blahblahblah..
So I tried other apktool.jar (apktoolICS.jar) and it worked fine!
I opened the new systemui folder and there are the following folders:
res and assets
no smali folder. is it right and normal?
Because the compiling with old apktool (not apktoolICS) didn't work, I compiled with the ICS file and it worked. I got the translation message (airplane_mode).. Not interesting for me atm.
When I look at the new built systemui.apk, I wondered about the file size.
The new file: 1.009kb
The old file: 1.338kb
I signed the new file. Now the file size is 1.044kb.
I edited only a xml file (styles.xml)..
The file didn't work on the sgs2..
Could someone tell me what I did wrong?
Please help me
Best regards
Marcus
*push* after moving to correct section
maybe no need to sign your new file,
try to drag the META-INF folder and the AndroidManifest.xml from the older file to the new file you build
BTW, is your old systemui file a deodex one?
if no deodex, the smali code wil include in the odex file~

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

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?
reaper61616 said:
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?
Click to expand...
Click to collapse
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
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 )
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.
reaper61616 said:
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 )
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.
Click to expand...
Click to collapse
i am using 806 kb aapt, it's compiling correctly. so no problem with that..
Can you upload your aapt?
What you thing about errors?
reaper61616 said:
Can you upload your aapt?
What you thing about errors?
Click to expand...
Click to collapse
mostly aapt error, many people on apktool bugtracker solved by replacing aapt,
i'm uploading aapt
here:
http://dl.dropbox.com/u/63607856/aapt.zip
Thanks for aapt.
You ever try to decompile and compile (even without changes) phonebook.apk?
reaper61616 said:
Thanks for aapt.
You ever try to decompile and compile (even without changes) phonebook.apk?
Click to expand...
Click to collapse
i've done home.apk succesfully
let me try phonebook
1.succesfully decompiled...
I can upload apk that I want to 'make'.
There is one thing I need to do: change some values in one xml file.
I can upload moded file too.
Framework-res.apk
You must install framework-res.apk with this command:
Code:
apktool if framework.res.apk
reaper61616 said:
I can upload apk that I want to 'make'.
There is one thing I need to do: change some values in one xml file.
I can upload moded file too.
Click to expand...
Click to collapse
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
Kobzar666 said:
You must install framework-res.apk with this command:
Code:
apktool if framework.res.apk
Click to expand...
Click to collapse
I do this. I ICS Xperia there is two files to be done with 'if' atribute.
you can tell me what to edit, i'll try..
In several minutes check your PM.
Sent.
I edit SemcMusic.apk and... when I replace original with modded apk there is no diferent.
I delete original apk in system/app and music still working! what is going on?
Try rebooting phone
Sent from my Smultron using XDA
singh_dd93 said:
Try rebooting phone
Sent from my Smultron using XDA
Click to expand...
Click to collapse
Sorry, I just want to click quote. I try this but it do nothing...
I update SemcMusic.apk with app from another rom and update was showing in menu.
reaper61616 said:
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 )
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.
Click to expand...
Click to collapse
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 ----------
gandhar said:
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
Click to expand...
Click to collapse
How to do this
unable to understand
singh_dd93 said:
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
Click to expand...
Click to collapse
copy aapt.exe from the link i gave to apktool directory, INSTALL FRAMEWORKS AGAIN and try normally
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 It can be helpful for some people in future.

Categories

Resources