[Q] Apktool , Install framework-res resource - Galaxy S II Themes and Apps

How can I run ICS and Original Apk Tool ?
http://forum.xda-developers.com/showthread.php?t=1558171
And how can I install framework-res resources ?

Yes. Original to decompile and compile. Use ICS to compile if you are having problems with the Original one.
To install sources on Windows
open cmd [if you are running x64 with java x32, open C:\Windows\SysWOW64\cmd.exe]
cd [your apktool folder] [exemple: cd C:\Users\YourUsername\Documents]
apktool if framework-res.apk
done.
To install sources on Linux
open terminal
cd [apktool folder again]
apktool if framework-res.apk
done. Actually it's the same steps as on windows, but anyway...
Just remember you must have java jre/jdk installed. And the framework-res.apk must be together with the apktool.jar.

Screen shot is here ;
Now what can I ? I clicked apktool.bat but not opened :/
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Arnadel said:
Screen shot is here ;
Now what can I ? I clicked apktool.bat but not opened :/
Click to expand...
Click to collapse
In this case, you need to run framework-if.bat Running apktool.bat won't be different. You can also path\apktool if framework-res.apk

Related

[Q] ADB/JAVA help :(

I cannot work with apk multi tool
i have installed java and android sdk
and have added path in environmental variables for sdk
Whenever i run APK Manager following err comes
Heres screen
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
swap.blue said:
I cannot work with apk multi tool
i have installed java and android sdk
and have added path in environmental variables for sdk
Whenever i run APK Manager following err comes
Heres screen
View attachment 964636
Click to expand...
Click to collapse
Download some other version of java. For as long as i knoe, i tried adb and what happened was whenever i wrote "adb logcat" it showed "waiting for device" wheras device was connected. Cnat undastand. Thought abt apk tool, ihave neva used it. I do all mah work manually. I read somewhere dat you have to ignore latest version.
Sent from my GT-S5360 using XDA Premium

Why does my XML look like this?

...and how do I make it stop? I've tried Notepad++ with the XML plugin, Eclipse, EditPlus, Notepad, WordPad, and none of them seem to be encoding it properly.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
did you decompile the apk? or did you just extract the apk?
No... he didnt. Decompile the apk and it will come out normal.
Sent From My Sprint Galaxy Nexus
IINexusII said:
did you decompile the apk? or did you just extract the apk?
Click to expand...
Click to collapse
Oh... derp. I extracted it. That explains it.
I just spent about an hour trying to figure out why I can't build a decompiled apk. I was able to decode it just fine, but I get a bunch of errors when I try to build it. I gave up and thought I'd try smali to edit classes.dex and I thought I'd be able to edit the XML by simply extracting it from the apk.
I'm trying to modify the stock Jellybean launcher (following these directions) because Apex is too choppy and I don't like Nova.
I was able to edit launcher.smali, recompile it, put it back into the apk and flash it without any force closing issues (had to substitute a few things). Now I need to do the rest in XML but I can't recompile with apktool or anything.
Never mind. I've got it:
http://forum.xda-developers.com/showthread.php?p=28862729#post28862729

[Q]after decompile-compile apk in Astro it had got problem with parsing

I was decompiling and compiling my ICS apk I used API 14, android-sdk rev20, and apktool ver 1.4.3 then I have been done this but It has a problem parsing package
WHAT SOLUTION TO FIX IT ?
like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
or I'm attaching my problem apk like SemcMusic.apk
below
and then download this and fix it, If It works, upload me
I'VE GIVEN YOU THE SOLUTION ON NUMEROUS THREADS. You don't need to start a thread for every apk you have an issue with.!
Sent from my CM9'd Arc
ah i'm sorry
danisariandi said:
I was decompiling and compiling my ICS apk I used API 14, android-sdk rev20, and apktool ver 1.4.3 then I have been done this but It has a problem parsing package
WHAT SOLUTION TO FIX IT ?
like this
View attachment 1246446
or I'm attaching my problem apk like SemcMusic.apk
below
and then download this and fix it, If It works, upload me
Click to expand...
Click to collapse
apktool 1.4.3 has compile problems.
Update aapt.exe by taking it from android sdk and try to compile again.
Should work fine.

[Q] How to change battery icon color?

Hi,
What should I do to change battery icon color from green to blue like this?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My rom --> Xperia T ICS Rom V6.8 For Arc / Arc-S, Based on (4.0.4) 587
Thanks...
You have to download the SystemUI.apk that the rom uses, open it with 7zip, and go to res/drawable-hdpi and edit every picture that has 'stat_sys_battery' in it's name with paint or photoshop
Hi. The file u need to edit is system/app/SystemUI.apk. U have two options
- Decompile the file, make ur edits with any png editor, such as photoshop, gimp, etc and recompile. Replace the new file with the old one and give rw - r - r permissions
- Go to UOT Kitchen. There u have tons of different icons for statusbar. Make your choice. At the end you will be asked to upload some of the files of the rom you are using. It will provide you a flaseable zip. Flash it from recovery.
Hope it answers your doubt
Thank you both for your quick responses
I will try tomorrow...

[GUIDE] Easily Compile And Decompile Apk With Easy Apk Dissassmbler

EASY APK DISSASSMBLER .
EASY WAY TO COMPILE AND DECOMPILE APK .
FIRST OF ALL ALL CREDITS GOTO CREATOR OF THIS AWSOM TOOL .
CREDITS-ORION.BAK
So im just sharing his awsom work here .
ORIGINAL THREAD-http://forum.xda-developers.com/showthread.php?p=14049173
WHAT IS IT?
A awsom utility which is a helper/user interface for apktool and other great tool
to modify resources like xml ,png and dex and other ressource.
FEATURES
DECOMPILE APK
RECOMPILE AND SIGN IT AUTOMATCALLY
Disassemly a classes.dex with smali
Assembly a classes.dex with baksmali
Sign an apk
Convert an xm binary to xml
HOW TO USE?
:silly: Its so simple that it dosen't need any instruction :laugh: . But still i gave instruction for better help.
Just put any apk to apk dissassmbler folder
Run and press 0 and enter the name of apk for decompile.
Modify apk .
U can also launch n use notepad++ by pressing 7 if u dont have notepad++ preinstalled
After modification compile it by pressing 1 and entering the name of decompiled folder.
And it wll recompile and sign it automatically.
DONE.
-------------------------------------------------------------------------------------------------------------------------------------------------
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DOWNLOAD
Note: You need to have java installed and have java in the path.

Categories

Resources