How do I add language pack- Miui - LG Optimus G (International)

Okay so I flashed this Miui Rom http://forum.xda-developers.com/showthread.php?t=2489976
And started thinking if I could get it in Danish.. Found this https://github.com/1982Strand/XML_MIUI-v5_Danish which is supposed to be a Danish language pack for Miui v5. Now my question is, How do I install this? If anyone would help me it would be great thanks!
Sent from my LG-E975 using xda app-developers app

with jBart
http://en.miui.com/thread-6222-1-1.html
but i think you would have the same problem like me. (keyboard forceclose)
and you dont flash the language you edit the rom with this tool....

BRainXstorming said:
with jBart
http://en.miui.com/thread-6222-1-1.html
but i think you would have the same problem like me. (keyboard forceclose)
and you dont flash the language you edit the rom with this tool....
Click to expand...
Click to collapse
Ah thanks. Will the keyboard keep crashing even If its not being used? Otherwise I would just be able to use SwiftKey or?
Sent from my LG-E975 using XDA Premium 4 mobile app

I think only the original keyboard crash...
PS You have to edit a file from jBart To add the danish github source...
Sent from my LG-E975 using xda app-developers app

BRainXstorming said:
I think only the original keyboard crash...
PS You have to edit a file from jBart To add the danish github source...
Sent from my LG-E975 using xda app-developers app
Click to expand...
Click to collapse
Ah is there a guide? Or could u guide me?
Sent from my LG-E975 using XDA Premium 4 mobile app

Yeah but you have to wait until im at home because i have my computer Not here...
Sent from my LG-E975 using xda app-developers app

BRainXstorming said:
Yeah but you have to wait until im at home because i have my computer Not here...
Sent from my LG-E975 using xda app-developers app
Click to expand...
Click to collapse
Ah thanks
Sent from my LG-E975 using XDA Premium 4 mobile app

download jBart https://github.com/BurgerZ/jBART/archive/master.zip
go to the dircectory
jBart-master/data/settings
there is a file called repo.miui.v4.main.conf
open this file with the texteditor and delete all the text
now write
github::1982Strand/XML_MIUI-v5_Danish=Danish Translation Miui V5
Click to expand...
Click to collapse
save and close this file!
open jbart.jar (java must be installed)
search for rom file and choose your miui rom
no choose the danish language and klick on recompile
wait until jBart is finish
your translated miui is in the output directory

BRainXstorming said:
download jBart https://github.com/BurgerZ/jBART/archive/master.zip
go to the dircectory
jBart-master/data/settings
there is a file called repo.miui.v4.main.conf
open this file with the texteditor and delete all the text
now write
save and close this file!
open jbart.jar (java must be installed)
search for rom file and choose your miui rom
no choose the danish language and klick on recompile
wait until jBart is finish
your translated miui is in the output directory
Click to expand...
Click to collapse
Okay so tried, editing the file u told me to, and saved it. Went back to The jBART program, found the Rom file. Then it showed the "Danish...." pack in the Language packs, I pressed recompile, and an error showed. I went into the log and found this "[25.10.2013 20:03:16] I: FREDAG 25.10.2013 20:03:16
[25.10.2013 20:03:16] I: Copyright: 2012-2013, BurgerZ <[email protected]>
[25.10.2013 20:03:16] I: <http://burgerz.pro>
[25.10.2013 20:03:16] I: All Rights Reserved
[25.10.2013 20:03:16] I: *************************
[25.10.2013 20:03:16] I: Welcome to jBART v1.5.2
[25.10.2013 20:03:16] I: *************************
[25.10.2013 20:03:16] I: Initialization.....
[25.10.2013 20:03:16] I: HOME: C:\Users\Bruger\Downloads\jBART-master\jBART-master\
[25.10.2013 20:03:16] I: DATA: C:\Users\Bruger\Downloads\jBART-master\jBART-master\data\
[25.10.2013 20:03:16] I: TOOLS: C:\Users\Bruger\Downloads\jBART-master\jBART-master\data\tools\win\
[25.10.2013 20:03:16] I: SETTINGS: C:\Users\Bruger\Downloads\jBART-master\jBART-master\data\settings\
[25.10.2013 20:03:16] I: PATCHER METHOD CONFIG: C:\Users\Bruger\Downloads\jBART-master\jBART-master\data\patches\method_patches.conf
[25.10.2013 20:03:16] I: PATCHER STRING CONFIG: C:\Users\Bruger\Downloads\jBART-master\jBART-master\data\patches\string_patches.conf
[25.10.2013 20:03:17] I: AAPT: C:\Users\Bruger\Downloads\jBART-master\jBART-master\data\tools\win\aapt.exe
[25.10.2013 20:03:17] I: FRAMEWORKS INTALL DIR: C:\Users\Bruger\Downloads\jBART-master\jBART-master\data\frameworks
[25.10.2013 20:03:17] I: JAVA VM: 1.7.0_45
[25.10.2013 20:03:17] I: Initialization complete
[25.10.2013 20:03:17] I: *************************
[25.10.2013 20:04:38] I: Current file: XML_MIUI-v5_Danish-master.zip
[25.10.2013 20:04:38] I: Extracting ROM file...
[25.10.2013 20:04:38] I: Getting repository: https://codeload.github.com/1982Strand/XML_MIUI-v5_Danish/zip/master
[25.10.2013 20:04:38] W: Repository not found."
Any idea?

github::1982Strand/XML_MIUI-v5_Danish=Danish Translation
Click to expand...
Click to collapse
i put this in the file and tried this... it works correctly
the link in you logfile works too...
maybe github was down try it again...

BRainXstorming said:
i put this in the file and tried this... it works correctly
the link in you logfile works too...
maybe github was down try it again...
Click to expand...
Click to collapse
{
"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"
}
Looks right? I just tried again and still not working..

steffenbakke said:
Looks right? I just tried again and still not working..
Click to expand...
Click to collapse
I think there is a problem with your proxy, or maybe your internet connection is through a proxy

Hi to everyone,
I'm trying a Miui Rom. As for my language Italian, I have to use Jbart, so I tried it but occurs this error: Wrong number of LANG folder (must have one only).
Anyone can help me?

carlusmagnus said:
Hi to everyone,
I'm trying a Miui Rom. As for my language Italian, I have to use Jbart, so I tried it but occurs this error: Wrong number of LANG folder (must have one only).
Anyone can help me?
Click to expand...
Click to collapse
Last time I use jBart 2.0.0a it didn't download translation files from bitbucket repository (Italian language use this server). You need to download file manually from https://bitbucket.org/Mish/miui_v5_italy/downloads. Then extract files in /Italian/* to <jBart-dir>/repositories/translation/. In jBart Setting uncheck redownload repository. Then recompile your rom.

artit said:
Last time I use jBart 2.0.0a it didn't download translation files from bitbucket repository (Italian language use this server). You need to download file manually from https://bitbucket.org/Mish/miui_v5_italy/downloads. Then extract files in /Italian/* to <jBart-dir>/repositories/translation/. In jBart Setting uncheck redownload repository. Then recompile your rom.
Click to expand...
Click to collapse
I have just tried. It's work without error.
thanks very much for your fast reply.

After follow your post, why doesn't translate rom I recompiled? I install it and it's as before, without changes.

carlusmagnus said:
After follow your post, why doesn't translate rom I recompiled? I install it and it's as before, without changes.
Click to expand...
Click to collapse
Make sure that you flash new rom file in <jBart dir>/output/, not your original rom.

artit said:
Make sure that you flash new rom file in <jBart dir>/output/, not your original rom.
Click to expand...
Click to collapse
yes of course. I rebuild two times with jbart and trying the rom in output folder.

carlusmagnus said:
yes of course. I rebuild two times with jbart and trying the rom in output folder.
Click to expand...
Click to collapse
There should be some error in your build. Maybe you should try to uncheck Download main repository in Settings tab. Please make sure your extracted files are still there in <jBart-dir>/repositories/translation/. These dir should look like
<jBart-dir>/repositories/translation/device
<jBart-dir>/repositories/translation/main
<jBart-dir>/repositories/translation/extras
I have tested it and it works on my phone. If it don't work may be you should look into jBart log.

Related

[THEMED APPS] Operation: White on Black - Removing ICS Blue One App at a Time

My Mission: Replace ICS blue with white wherever possible. This includes icons and text.
Thank to:
Nitroz for his awesome Black Exodus theme which is the inspiration for these apps
artvandelay440 because he is awesome!
Most Recent Update: *Feb 19* Figured out my compiling problems, but I now have a new problem installing system apps. Either way, I have modified and posted Calculator.apk. Calendar is being worked on, but there is more ICS blue to remove than I thought.
Themed Apps:
Settings
Mms
Calculator
Calendar (will be posted very soon)
Apps To Be Themed:
Phone
Nova launcher (Including nova settings and app drawer)
Genie Widget (news and weather)
Keyboard
...Possibly more apps (make a request if you want, but no guarantees)
Install Instructions: Simply adb push any apk to /System/app/ (make sure to read any special instructions for specific apps)
APP: Settings.apk
WHAT'S NEW: Changed settings icon from black/ICS blue to all white. Changed icon that appears in app drawer.
PICS: http://i.imgur.com/U7yuo.png
LINK: http://www.mediafire.com/?aq214os8zz98q6c
SPECIAL INSTRUCTIONS: None
APP: Mms.apk (Text Messaging APP)
WHAT'S NEW: 100% White on black, no traces of gray that I can tell. Removed contact pics, removed border around messages, black/white icons, white notification icon. Changed app drawer icon.
PICS: http://imgur.com/a/B3scm
LINK: http://www.mediafire.com/?daaqjim0223ap6s
SPECIAL INSTRUCTIONS: Flash using CWM. Thanks to Nitroz for the script.
APP: Calculator.apk
WHAT'S NEW: 100% White on black. White glow when button is pressed. Pretty sure this is themed completely.
PICS: http://i.imgur.com/QGIAA.png
LINK: http://www.mediafire.com/?x7b46jd70nasde6
SPECIAL INSTRUCTIONS: Just put the apk somewhere on your SD card and install using root explorer or similar program.
ATTN: These apps were themed by pulling them from AOKP M3 and using the M3 framework/systemui. Installing these apps (specifically settings) on any other ROM MAY give you errors, but I'm not sure. Still kind of a noob.
ENJOY THE APPS AND STAY TUNED FOR MORE!
Reserved for future use
Bump for Mms and Settings updates. Pretty sure they are both final, but I will update if/when new versions come out.
pm me your log from the calculator recompile errors, and i'll try to help out.
artvandelay440 said:
pm me your log from the calculator recompile errors, and i'll try to help out.
Click to expand...
Click to collapse
Thank you. I just left the house so I can't post it
When I tried recompiling it threw a "invalid resource directory name" for all the drawable* folders. Man, apkmulti tool really has a problem with images or something. Even though I only modified 2 .PNG files (the same way I modified mms.apk), all the folders that contain PNG threw errors.
number3pencil said:
Thank you. I just left the house so I can't post it
When I tried recompiling it threw a "invalid resource directory name" for all the drawable* folders. Man, apkmulti tool really has a problem with images or something. Even though I only modified 2 .PNG files (the same way I modified mms.apk), all the folders that contain PNG threw errors.
Click to expand...
Click to collapse
I have a suspicion, but I'll wait to check the logs
Sent from my Galaxy Nexus using xda premium
what version of mms.apk is this? Im looking for the 4.0.4 version
GeLopez said:
what version of mms.apk is this? Im looking for the 4.0.4 version
Click to expand...
Click to collapse
4.0.3 If you link me the 4.0.4 one I will theme it (assuming it's any different)
artvandelay440 said:
I have a suspicion, but I'll wait to check the logs
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Give this a look whenever you get a chance. This is from trying to recompile SystemUI.apk, but it gives me the exact same errors as recompiling the calculator. Thanks!
--------------------------------------------------------------------------
|Sat 02/18/2012 -- 11:48:51.70|
--------------------------------------------------------------------------
--2012-02-18 11:48:52-- http://update.apkmultitool.com/apkver.txt
Resolving update.apkmultitool.com (update.apkmultitool.com)... 199.59.62.20
Connecting to update.apkmultitool.com (update.apkmultitool.com)|199.59.62.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 152 [text/plain]
Saving to: `apkver.txt'
0K 100% 3.66M=0s
2012-02-18 11:48:52 (3.66 MB/s) - `apkver.txt' saved [152/152]
A subdirectory or file projects already exists.
A subdirectory or file place-apk-here-for-modding already exists.
A subdirectory or file place-ogg-here already exists.
A subdirectory or file place-apk-here-to-batch-optimize already exists.
A subdirectory or file place-apk-here-for-signing already exists.
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mode)
The system cannot find the path specified.
The system cannot find the path specified.
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Jeff\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Program Files (x86)\Android\android-sdk\projects\SystemUI.apk\res/drawable-sw600dp-xhdpi
invalid resource directory name: C:\Program Files (x86)\Android\android-sdk\projects\SystemUI.apk\res/layout-sw600dp
invalid resource directory name: C:\Program Files (x86)\Android\android-sdk\projects\SystemUI.apk\res/values-sw600dp
invalid resource directory name: C:\Program Files (x86)\Android\android-sdk\projects\SystemUI.apk\res/values-sw600dp-port
invalid resource directory name: C:\Program Files (x86)\Android\android-sdk\projects\SystemUI.apk\res/values-sw720dp
invalid resource directory name: C:\Program Files (x86)\Android\android-sdk\projects\SystemUI.apk\res/values-sw720dp-port
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Jeff\AppData\Local\Temp\APKTOOL8670456460024137345.tmp, -I, C:\Users\Jeff\apktool\framework\1.apk, -S, C:\Program Files (x86)\Android\android-sdk\projects\SystemUI.apk\res, -M, C:\Program Files (x86)\Android\android-sdk\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\Jeff\AppData\Local\Temp\APKTOOL8670456460024137345.tmp, -I, C:\Users\Jeff\apktool\framework\1.apk, -S, C:\Program Files (x86)\Android\android-sdk\projects\SystemUI.apk\res, -M, C:\Program Files (x86)\Android\android-sdk\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
lol you're going to kick yourself.
invalid resource directory name: C:\Program Files (x86)\Android\android-sdk\projects\SystemUI.apk\res/drawable-sw600dp-xhdpi
the slash is facing the wrong direction
artvandelay440 said:
lol you're going to kick yourself.
invalid resource directory name: C:\Program Files (x86)\Android\android-sdk\projects\SystemUI.apk\res/drawable-sw600dp-xhdpi
the slash is facing the wrong direction
Click to expand...
Click to collapse
Lol. To be honest I did notice that, but I don't understand why that happens. What's the convention on forward/back slash? Is it window's fault? I obviously never explicitly entered in the wrong slash. Any ideas how that is possible?
{
"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"
}
Huzzah! I have figured out my compile errors! I had a really outdated version of aapt.exe in my windows directory
I can finally get back to theming!
Expect at least two themed apps tomorrow, probably calculator and calendar. But I have some system.ui mods I want to try out first.
BUMP for Calculator.apk
Calendar coming soon!
number3pencil said:
4.0.3 If you link me the 4.0.4 one I will theme it (assuming it's any different)
Click to expand...
Click to collapse
this is the 4.0.4 version stock (all white)
i dont know if there are differences but at least the version number is higher
Hi ALL,
Im looking for the same black and white MMS apk for my galaxy S2 running 4.0.3 with WanamLite.Stock.IML.74K.XXLPB.
Can any one port an apk for the same.
Thanks!!!!
number3pencil said:
My Mission: Replace ICS blue with white wherever possible. This includes icons and text.
Thank to:
Nitroz for his awesome Black Exodus theme which is the inspiration for these apps
artvandelay440 because he is awesome!
Most Recent Update: *Feb 19* Figured out my compiling problems, but I now have a new problem installing system apps. Either way, I have modified and posted Calculator.apk. Calendar is being worked on, but there is more ICS blue to remove than I thought.
Themed Apps:
Settings
Mms
Calculator
Calendar (will be posted very soon)
Apps To Be Themed:
Phone
Nova launcher (Including nova settings and app drawer)
Genie Widget (news and weather)
Keyboard
...Possibly more apps (make a request if you want, but no guarantees)
Install Instructions: Simply adb push any apk to /System/app/ (make sure to read any special instructions for specific apps)
APP: Settings.apk
WHAT'S NEW: Changed settings icon from black/ICS blue to all white. Changed icon that appears in app drawer.
PICS: http://i.imgur.com/U7yuo.png
LINK: http://www.mediafire.com/?aq214os8zz98q6c
SPECIAL INSTRUCTIONS: None
APP: Mms.apk (Text Messaging APP)
WHAT'S NEW: 100% White on black, no traces of gray that I can tell. Removed contact pics, removed border around messages, black/white icons, white notification icon. Changed app drawer icon.
PICS: http://imgur.com/a/B3scm
LINK: http://www.mediafire.com/?daaqjim0223ap6s
SPECIAL INSTRUCTIONS: Flash using CWM. Thanks to Nitroz for the script.
APP: Calculator.apk
WHAT'S NEW: 100% White on black. White glow when button is pressed. Pretty sure this is themed completely.
PICS: http://i.imgur.com/QGIAA.png
LINK: http://www.mediafire.com/?x7b46jd70nasde6
SPECIAL INSTRUCTIONS: Just put the apk somewhere on your SD card and install using root explorer or similar program.
ATTN: These apps were themed by pulling them from AOKP M3 and using the M3 framework/systemui. Installing these apps (specifically settings) on any other ROM MAY give you errors, but I'm not sure. Still kind of a noob.
ENJOY THE APPS AND STAY TUNED FOR MORE!
Click to expand...
Click to collapse
Can you explain me how did you change the colors? I need it for my rom for galaxy s plus. What files did you mod? Sorry for my bad english :silly:

[Windows | XP | Vista | 7 | TOOL] EasyAPKTOOL v0.02

{
"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"
}
I know there are lots of apktools out there already, but I made this for two specific reasons:
#1: To be very straightforward (Unlike other tools...)
#2: To get off the Computer and go out and enjoy Life ​Features:
This tool is the first to support APKs, JARs, and ZIPs simultaneously!
This tool is also the first to support HTC Sense and MIUI decompiling. So no more errors
Sign APK | JAR | ZIP
Zipalign APK | JAR | ZIP
Drag, type, or D | R | ecompile all APKs and JARs
Clean the installation of the frameworks in your User directory
Updated sources. Ex. apktool.jar
One way ticket
Very smart signing options.
Very smart exit options... LOL
Requirements:
Windows OS
Java JDK & JRE
Problems?:
Make sure your file has no spaces
When typing a file to Decompile, you must include its file extension
When typing a folder to Recompile, exclude the file extension
Help improve!!This is still a first release, but it's very stable. Help me to improve by leaving a comment below.
Here's some ideas you can suggest to me:
Polish it up even more
I found a bug! Please fix ...
Add this feature please ...
Or anything you want to comment... LOL XD
What I will not do:
Make this multi-platform (Mac OSX & Linux) -- Because I do not know how (And not willing to...)
Changelog-
June.28.2012 (v0.02) -​
Re-wrote the entire script from scratch (Now much better)
Simplified and Cleaned up Menu
Added ICS support
Added feature to install twframework-res.apk
Changed text color to default
Added a feature called: One way ticket
It basically guides you through the whole installation of frameworks, Decompile then Recompile, and then sign & zipalign.
Able to customize text color and background color
June.26.2012 (v0.01) -​
First Release
Built using Windows XP
Includes lots of basic and extra features
Nothing much ...
Credits and thanks:
Microsoft
Google
Android
stackoverflow.com
xavierjohn22
Daneshm90
Brut.all
wanam
iBotPeaches
Everyone who contributed
Reserved again...
Reserved for something....
First sounds good
CM9 Skyrocket
add twframework-res.apk
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
add twframework-res.apk
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
hehe that would be usefull
i tries it
and must say: gr8 work
works perfectly
Sent from my GT-S5660 using xda app-developers app
DQiB said:
i tries it
and must say: gr8 work
works perfectly
Sent from my GT-S5660 using xda app-developers app
Click to expand...
Click to collapse
sure?
recompiling doesn't seem to work, I get a log of rebuilding the apk, but there isn't created a new one, or where does it gets saved?
not in the /place apk here folder or /complete
what about ics apks?could it compile/recompile them?
voetbalremco said:
sure?
recompiling doesn't seem to work, I get a log of rebuilding the apk, but there isn't created a new one, or where does it gets saved?
not in the /place apk here folder or /complete
Click to expand...
Click to collapse
It saves it in the place files here/filefolder/
Your recompiled apk should be in the dist folder and the contents of it should be in build folder
farzad.u235 said:
what about ics apks?could it compile/recompile them?
Click to expand...
Click to collapse
Lol. I forgot about that! You can try and report back. .
ICS doesn't seem to work...
AWESOME WORK Btw LOL
Thatgrass said:
ICS doesn't seem to work...
AWESOME WORK Btw LOL
Click to expand...
Click to collapse
You need modded apktool.jar
Peteragent5 said:
You need modded apktool.jar
Click to expand...
Click to collapse
It would be awesome if you could put it in here so you can handle ics and gb
Sent from my Galaxy Nexus using xda premium
Thatgrass said:
It would be awesome if you could put it in here so you can handle ics and gb
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
v0.02 Will have lots more features. Including support for ICS and installing twframework-res.apk.
It'll also have a very cleaned up Interface, and Improved decision making with the user.
This version will have an ability to customize the text color on the Interface
Decompiled Settings.apk from adrenaline ROM.
When tried to recompile-it get this:
Code:
[*] Place_Files_Here\Settings.apk
Recompiling Place_Files_Here\Settings.apk...
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
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.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
Peteragent5 said:
v0.02 Will have lots more features. Including support for ICS and installing twframework-res.apk.
It'll also have a very cleaned up Interface, and Improved decision making with the user.
This version will have an ability to customize the text color on the Interface
Click to expand...
Click to collapse
Super awesome! Even with my gnex this will be awesome!!
Sent from my Galaxy Nexus using xda premium
I will try out.
Seems to be a great job
Thanks mate
esilviu said:
Decompiled Settings.apk from adrenaline ROM.
When tried to recompile-it get this:
Code:
[*] Place_Files_Here\Settings.apk
Recompiling Place_Files_Here\Settings.apk...
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
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.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
Click to expand...
Click to collapse
what would you edit??
Updated to v0.02
Crazyyy
Please report back.
voetbalremco said:
what would you edit??
Click to expand...
Click to collapse
nothing.
it was just a test for decompile-compile

[GUIDE] How to use APKTOOL

I've seen many users inquiring about how to decompile apps. Although there are many threads on this, still users don't search. So i decided to create this guide as our GT-S5360 forum didn't have one. I learnt this from v6ser's tut about 5-6 months ago, so i would like to thank him before starting this guide. Please PM me guys if I've missed something or written something wrong!
What is decompiling?
Android apps are BASICALLY made up of Java codes and XML files. After compiling the app, these files cannot be viewed. Decompiling is a process which decompiles the binary form of XMLs and .Java files into readable form. The XML files can be retained as it is, but the .java files are converted into smali files, a totally different language.
What is recompiling?
Recompiling is simply a way to convert the XML and smali files back into the binary form and building up of the APK with the changes made. All apps after recompiled have to be signed (except system apps).
Let's start!
Things needed :-
JRE (Java Runtime Environment)
Windows - Download apktool
Download apktool-install-windows
Place both apktool files in C:\Windows\"HERE"
First off, you need to install the framework.
The three apks needed :-
framework-res.apk (location : /system/framework)
SystemUI.apk (location : /system/app)
twframework-res.apk (location : /system/framework)
Go to Command Prompt, and type :-
Code:
apktool if {framework's folder/location}
Example in the image here :-
{
"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"
}
Repeat the same step for SystemUI.apk and twframework-res.apk too, besides framework-res.apk
These will be saved here - C:\Users\your_user_name\apktool\"HERE"
Next step, is the decompiling.
Code:
apktool d C:\filename.apk C:\folder_of_the_decompiled_files
Example in the image here :-
Now, you can view the XML and smali files. I would recommend Notepad++ to edit them.
After making your changes, you're gonna need to recompile so that the files are again in the apk form.
Next step, recompiling.
Code:
apktool b C:\folder_of_the_decompiled_files C:\newfilename.apk
(You can use other directories too, I've just used C:\ as an example)
Example in the image here :-
Now, final step is signing the apk file.
Remember don't sign the apk if it's a SYSTEM app, unless you have edited the AndroidManifest.xml.
Signing.
Download the zip file here :- http://www.mediafire.com/?gs6n10oh09c039n
Extract the files in a folder named "SignApk", in any convienient location. (I preferred C:\)
Example of the code in image here :-
That's it! I hope this guide helps a lot of newbies and other users out there!
Reserved. why use it when you have apk manager and VTS?
hell_lock said:
Reserved. why use it when you have apk manager and VTS?
Click to expand...
Click to collapse
I and many other users prefer it a for being simple. Apk manager and others can cause a lot of trouble when you don't have adb, or anything else.
One of the usefullest threads i hope many newbies read this for understand.thumps up and up and up.....
MANY GREEEEETZ!!!
Very nice thread..... Really helpful for all new user........
Sent from my GT-S6102 using Tapatalk 2
Glad you guys liked it.
Sent from my GT-S5360 using Tapatalk 2
Could be useful for newbies, a detailed tutorial is hard to get, good work
Thx a lot for the tutorial mate! It's really helpful!
1 question! : If I want to edit the framework( I get it from another mod, so it's not my stock framework). Do I need to install the framework every time I want to mod a framework that I just get?
Thx a lot man!
I'm a newbieee:fingers-crossed::fingers-crossed::fingers-crossed:
good thread
RivaultUser said:
Thx a lot for the tutorial mate! It's really helpful!
1 question! : If I want to edit the framework( I get it from another mod, so it's not my stock framework). Do I need to install the framework every time I want to mod a framework that I just get?
Thx a lot man!
I'm a newbieee:fingers-crossed::fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
No need...i mod many roms' frameworks but the installed one in apktool is repencis framework....btw, it would be better if you do it...
You can always press the thanks button if you wanna thank me!
Sent from my GT-S5360 using xda premium
anasdcool71 said:
No need...i mod many roms' frameworks but the installed one in apktool is repencis framework....btw, it would be better if you do it...
You can always press the thanks button if you wanna thank me!
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Okay mate, can you help me solve this problem I had?
When I tried to recompile back my mod framework-res.apk I got this message :
C:\APKTOOL>apktool b testframework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building apk file...
What could not find resources means?
Thx for your help!
RivaultUser said:
Okay mate, can you help me solve this problem I had?
When I tried to recompile back my mod framework-res.apk I got this message :
C:\APKTOOL>apktool b testframework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building apk file...
What could not find resources means?
Thx for your help!
Click to expand...
Click to collapse
A framework-res.apk is itself the source of other apks( when you install it - apktool if...). So the message that you got is normal.
Sent from my GT-S5360 using xda premium
You should now make a thread for debugging apktool/apk manager errors
Sent from my GT-S5360 using XDA
anasdcool71 said:
A framework-res.apk is itself the source of other apks( when you install it - apktool if...). So the message that you got is normal.
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
I see, sorry for asking a lot of question........
Is this normal? :
ry_27.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_batte
ry_17.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_batte
ry_23.png
........... a lot more
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
This is happened when I try to decompile the framework-res.apk
Thx a lot man!!!!!
I'm a newbieee:fingers-crossed::fingers-crossed::fingers-crossed:
RivaultUser said:
I see, sorry for asking a lot of question........
Is this normal? :
ry_27.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_batte
ry_17.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_batte
ry_23.png
........... a lot more
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
This is happened when I try to decompile the framework-res.apk
Thx a lot man!!!!!
I'm a newbieee:fingers-crossed::fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
I never got that kind of message while decompiling. So i really can't tell. But unless you get no problems while recompiling, everything's good.
Sent from my GT-S5360 using xda premium
anasdcool71 said:
I never got that kind of message while decompiling. So i really can't tell. But unless you get no problems while recompiling, everything's good.
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
The thing is....... I also got problem in recompiling it :
C:\APKTOOL\framework-res\res\values\public.xml:4159: error: Public symbol drawab
le/stat_sys_signal_1_cdma declared here is not defined.
C:\APKTOOL\framework-res\res\values\public.xml:4160: error: Public symbol drawab
le/stat_sys_signal_2_cdma declared here is not defined.
C:\APKTOOL\framework-res\res\values\public.xml:4161: error: Public symbol drawab
le/stat_sys_signal_3_cdma declared here is not defined.
C:\APKTOOL\framework-res\res\values\public.xml:4162: error: Public symbol drawab
le/stat_sys_signal_4_cdma declared here is not defined.
C:\APKTOOL\framework-res\res\values\public.xml:4163: error: Public symbol drawab
le/stat_sys_signal_evdo_0 declared here is not defined.
and a lot more.....
And after I checked back the folder that I want to recompile, I dont find any disc folder there............
Any advice??????????
:crying::crying:
RivaultUser said:
The thing is....... I also got problem in recompiling it :
C:\APKTOOL\framework-res\res\values\public.xml:4159: error: Public symbol drawab
le/stat_sys_signal_1_cdma declared here is not defined.
C:\APKTOOL\framework-res\res\values\public.xml:4160: error: Public symbol drawab
le/stat_sys_signal_2_cdma declared here is not defined.
C:\APKTOOL\framework-res\res\values\public.xml:4161: error: Public symbol drawab
le/stat_sys_signal_3_cdma declared here is not defined.
C:\APKTOOL\framework-res\res\values\public.xml:4162: error: Public symbol drawab
le/stat_sys_signal_4_cdma declared here is not defined.
C:\APKTOOL\framework-res\res\values\public.xml:4163: error: Public symbol drawab
le/stat_sys_signal_evdo_0 declared here is not defined.
and a lot more.....
And after I checked back the folder that I want to recompile, I dont find any disc folder there............
Any advice??????????
:crying::crying:
Click to expand...
Click to collapse
Most probably, the changes that you made are not correct. That's why you got a problem while recompiling.
If you did no changes after decompiling, but still got a problem with recompiling, then try installing the framework-res.apk, SystemUI.apk and twframework-res.apk again and then try.
RivaultUser said:
The thing is....... I also got problem in recompiling it :
C:\APKTOOL\framework-res\res\values\public.xml:4159: error: Public symbol drawab
le/stat_sys_signal_1_cdma declared here is not defined.
C:\APKTOOL\framework-res\res\values\public.xml:4160: error: Public symbol drawab
le/stat_sys_signal_2_cdma declared here is not defined.
C:\APKTOOL\framework-res\res\values\public.xml:4161: error: Public symbol drawab
le/stat_sys_signal_3_cdma declared here is not defined.
C:\APKTOOL\framework-res\res\values\public.xml:4162: error: Public symbol drawab
le/stat_sys_signal_4_cdma declared here is not defined.
C:\APKTOOL\framework-res\res\values\public.xml:4163: error: Public symbol drawab
le/stat_sys_signal_evdo_0 declared here is not defined.
and a lot more.....
And after I checked back the folder that I want to recompile, I dont find any disc folder there............
Any advice??????????
:crying::crying:
Click to expand...
Click to collapse
anasdcool71 said:
Most probably, the changes that you made are not correct. That's why you got a problem while recompiling.
If you did no changes after decompiling, but still got a problem with recompiling, then try installing the framework-res.apk, SystemUI.apk and twframework-res.apk again and then try.
Click to expand...
Click to collapse
I have seen that problem alot of times... post the complete log here... its not a prob in public.xml
hell_lock said:
I have seen that problem alot of times... post the complete log here... its not a prob in public.xml
Click to expand...
Click to collapse
I'll PM you then. It's too much if I post it here
anasdcool71 said:
Most probably, the changes that you made are not correct. That's why you got a problem while recompiling.
If you did no changes after decompiling, but still got a problem with recompiling, then try installing the framework-res.apk, SystemUI.apk and twframework-res.apk again and then try.
Click to expand...
Click to collapse
About that, I shall install the systemUI.apk that I'm running on or the stock one?
I don't find any twframework-res.apk on my system/framework????????

[Q] Bluetooth Tethering - Internet Access profile missing - Nexus 10 to SGS4

I upgraded my phone from a Nexus S to a Galaxy S4 (SGH-M919) The phone is android 4.2.2, the tablet is 4.4.2.
I was previously able to use Bluetooth Tethering from the Nexus 10 tablet to the Nexus S.
On the tablet, I still have the pairing entry from the Nexus S. When I click on the Nexus S settings in the list of paired devices on the Tablet, it shows "Rename", "Unpair", and below that a section called Profiles contains "Internet Access", which has a checkbox.
When I look at the entry for the paired Galaxy S4, "Rename" and "Unpair" are there but there are no profiles.
The phone does have the Bluetooth Tethering checkbox under Tethering and Mobile Hotspot. I unpaired and re-paired the phone while the Bluetooth Tethering checkbox was checked on the phone, and the Internet Access Profile still did not appear in the tablet's connection.
Tethering with Mobile Hotspot works fine (with Wi-Fi), but I often prefer to use Bluetooth with the tablet to save power.
Without enabling the Internet Access profile on the tablet, tethering doesn't work. Am I missing a step? How is the Internet Access Profile made available or re-enabled for the Galaxy S4?
have you seen this -> http://forum.xda-developers.com/showthread.php?t=2057344
elesbb said:
have you seen this -> http://forum.xda-developers.com/showthread.php?t=2057344
Click to expand...
Click to collapse
Thanks for the pointer.
I had seen procedures like that, but I thought they were intended for stock ROMs that did not provide the tethering support. My ROM (Wicked V8) appears to provide Bluetooth tethering as a supported feature:
{
"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"
}
Are you saying that in addition to enabling this setting, it is still necessary to modify "framework-res.apk" to cause the feature to actually work?
timg11 said:
Thanks for the pointer.
I had seen procedures like that, but I thought they were intended for stock ROMs that did not provide the tethering support. My ROM (Wicked V8) appears to provide Bluetooth tethering as a supported feature:
Are you saying that in addition to enabling this setting, it is still necessary to modify "framework-res.apk" to cause the feature to actually work?
Click to expand...
Click to collapse
I found a thread on the Verizon MK2 baseband, i am makign the mods to our framework and am testing them out now. I have a feeling something is telling the connected devices that bluetooth tethering is not available. So i will decompile the verizon one and make comparisions. This is something i want working too so i can adb over bluetooth.
elesbb said:
.... So i will decompile the verizon one and make comparisions....
Click to expand...
Click to collapse
I will also look in mine to see how it compares to the article you linked to. However, I have never decompiled an APK before. Would you recommend apktools or apkmanager as the best choice for a noob to use in a Windows 7 environment? Are there any tutorials or good references on using them, or is is pretty self-explanatory?
timg11 said:
I will also look in mine to see how it compares to the article you linked to. However, I have never decompiled an APK before. Would you recommend apktools or apkmanager as the best choice for a noob to use in a Windows 7 environment? Are there any tutorials or good references on using them, or is is pretty self-explanatory?
Click to expand...
Click to collapse
use the one in my signature if you are a noob.
elesbb said:
use the one in my signature if you are a noob.
Click to expand...
Click to collapse
I must have missed a step in the decompiling process:
I extracted and ran "elesbb's_GUI_APK_Tool_v1.1.4.5_installer.zip", and then ran the APKTool.exe from the install directory. Selected my local copy of framework-res.apk as the file to work on. Clicking "Decompile with APK tool" results in the "busy working" dialog for a few seconds, then nothing. The log contains:
Code:
Mon 01/13/2014
20:45:15.88
Decompiling..
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x010802f4 drawable/ic_ab_back_holo_dark, config=-hdpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:197)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:166)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:131)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:106)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:390)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:56)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:48)
at brut.androlib.Androlib.getResTable(Androlib.java:48)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:166)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)
timg11 said:
I must have missed a step in the decompiling process:
I extracted and ran "elesbb's_GUI_APK_Tool_v1.1.4.5_installer.zip", and then ran the APKTool.exe from the install directory. Selected my local copy of framework-res.apk as the file to work on. Clicking "Decompile with APK tool" results in the "busy working" dialog for a few seconds, then nothing. The log contains:
Code:
Mon 01/13/2014
20:45:15.88
Decompiling..
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x010802f4 drawable/ic_ab_back_holo_dark, config=-hdpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:197)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:166)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:131)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:106)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:390)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:56)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:48)
at brut.androlib.Androlib.getResTable(Androlib.java:48)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:166)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)
Click to expand...
Click to collapse
You have to install custom framework in the gui apk tool. bottom right is a check box to do so.
elesbb said:
You have to install custom framework in the gui apk tool. bottom right is a check box to do so.
Click to expand...
Click to collapse
I assume you mean the checkbox labeled "Install signed APK after signing". That is the only one using the word "install".
I tried checking that box, but still get the same exception in the log as posted before.
This is the GUI of apkTool.exe - did I get the wrong version?
You have an older version.. somewhere further in the thread is a newer one.
Sent from my SGH-M919 using Tapatalk
elesbb said:
You have an older version.. somewhere further in the thread is a newer one.
Click to expand...
Click to collapse
I downloaded an installed "UPDATE-Feb 16th elesbbs GUI APK Tool v1.3.4.5 installer.exe" from page 32 of the thread. The GUI now has two more check boxes, including "Install Proprietary Framework", which I checked. From the sub-dialog, I followed the instructions for Samsung at the top I selected "twframework-res.apk" to be installed. Then "Upon Pressing OK a text file will open....". The text file said ""I: Framework installed to: C:\Users\******\apktool\framework\2.apk" I closed the sub-dialog, and selected "framework-res.apk" as the file to work on, and clicked "Decompile with APK Tool". After the busy dialog appeared and closed, the log contained:
Code:
Tue 01/14/2014
21:03:22.92
Decompiling.. "C:\data\SGS4\system\framework\framework-res.apk"
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x010802f4 drawable/ic_ab_back_holo_dark, config=-hdpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:197)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:166)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:131)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:106)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:390)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:56)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:48)
at brut.androlib.Androlib.getResTable(Androlib.java:48)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:166)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)
-----------------------------------------------------------------
timg11 said:
I downloaded an installed "UPDATE-Feb 16th elesbbs GUI APK Tool v1.3.4.5 installer.exe" from page 32 of the thread. The GUI now has two more check boxes, including "Install Proprietary Framework", which I checked. From the sub-dialog, I followed the instructions for Samsung at the top I selected "twframework-res.apk" to be installed. Then "Upon Pressing OK a text file will open....". The text file said ""I: Framework installed to: C:\Users\******\apktool\framework\2.apk" I closed the sub-dialog, and selected "framework-res.apk" as the file to work on, and clicked "Decompile with APK Tool". After the busy dialog appeared and closed, the log contained:
Code:
Tue 01/14/2014
21:03:22.92
Decompiling.. "C:\data\SGS4\system\framework\framework-res.apk"
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x010802f4 drawable/ic_ab_back_holo_dark, config=-hdpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:197)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:166)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:131)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:106)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:390)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:56)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:48)
at brut.androlib.Androlib.getResTable(Androlib.java:48)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:166)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)
-----------------------------------------------------------------
Click to expand...
Click to collapse
You have to install both framework files before closing the dialog window.
elesbb said:
You have to install both framework files before closing the dialog window.
Click to expand...
Click to collapse
From the FrameworkInstaller dialog, I selected and installed twframework-res.apk first. The log file FrameworkInfo.txt contained:
Code:
I: Framework installed to: C:\Users\ptgo002\apktool\framework\2.apk
While the FrameworkInstaller dialog was still open, I selected and installed framework-res.apk. The log file for that framework contained:
Code:
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x010802f4 drawable/ic_ab_back_holo_dark, config=-hdpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:197)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:166)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:131)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:106)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:459)
at brut.androlib.Androlib.installFramework(Androlib.java:447)
at brut.apktool.Main.cmdInstallFramework(Main.java:199)
at brut.apktool.Main.main(Main.java:72)
Just in case there was an order dependency, I closed APKtool entirely, and started over, but installed framework-res.apk first. The log file contained the same exception trace as above.

[GUIDE] How to MOD small navigationbar for Lollipop

Hi all,
I want to share Guide for MOD small navigationbar that can use in lollipop ROM such as CM12 Unofficial ,LS,AICP ...
You can see in my clip VDO
Thank you,
 @raffaele88 for apktool_lolly.zip
thx, Perfect, working fine in EvoMagix Lillipop Beta V1
{
"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"
}
1st of all i wanna thank you for this mod, i tried and follow this mod but mine is having problems with the back button not resizing, PA 5.0.1 12/05/14 Build.
https://www.dropbox.com/s/1id9e44v8k4e7ni/PS.jpg
tryman87 said:
1st of all i wanna thank you for this mod, i tried and follow this mod but mine is having problems with the back button not resizing, PA 5.0.1 12/05/14 Build.
https://www.dropbox.com/s/1id9e44v8k4e7ni/PS.jpg
Click to expand...
Click to collapse
what's your values?
somboons said:
what's your values?
Click to expand...
Click to collapse
I tried the values on your video but still gave me same results. Back button still not resizing.
tryman87 said:
I tried the values on your video but still gave me same results. Back button still not resizing.
Click to expand...
Click to collapse
try
36
36
34
somboons said:
try
36
36
34
Click to expand...
Click to collapse
Thanks for this, been looking for a way to do this very thing. Thanks for sharing!
This is very difficult to follow. It would be helpful if you could provide written instructions.
somboons said:
try
36
36
34
Click to expand...
Click to collapse
I flashed back LS 4.0, will try it again if i have some free time.
After "apktool.apk b framework-res.apk" in command line i have only
Code:
C:\Users\Marmeladoff\Desktop\Новая папка (2)\apktool (1)>apktool.bat b framework
-res.apk
I: Using Apktool 2.0.0-dirty on framework-res.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:247)
at brut.androlib.Androlib.build(Androlib.java:266)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:240)
at brut.apktool.Main.main(Main.java:89)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:243)
... 4 more
C:\Users\Marmeladoff\Desktop\Новая папка (2)\apktool (1)>
And folder and "dist" doesn't appear.
What am I doing wrong?
Framework apk from this rom http://forum.xda-developers.com/lg-g2/development/rom-blisspop-team-blissmust-12b-t2985536
I've tried to follow the howto but it's too difficult for me
I hope to find an APK / ZIP to install / flash directly
manuelmagix said:
thx, Perfect, working fine in EvoMagix Lillipop Beta V1
Click to expand...
Click to collapse
How r u able to add another button ???
Hmm, will we see a fixed back button as ROM's continue to mature? I'm sort of OCD but on all the ROM's i've tried that i can resize the navbar + this mod the triangle just looks iffy like the above screenshot above instead of scaling better like the home and recents button.
PYCON said:
I've tried to follow the howto but it's too difficult for me
I hope to find an APK / ZIP to install / flash directly [emoji14]
How r u able to add another button ??? [emoji14]
Click to expand...
Click to collapse
Add new lines into navigation_bar.xlm of systemUI
---------- Post added at 11:17 PM ---------- Previous post was at 10:46 PM ----------
Kayen said:
Hmm, will we see a fixed back button as ROM's continue to mature? I'm sort of OCD but on all the ROM's i've tried that i can resize the navbar + this mod the triangle just looks iffy like the above screenshot above instead of scaling better like the home and recents button.
Click to expand...
Click to collapse
Fixed, change atribute "back" in navigation_bar.xlm
:good:
http://forum.xda-developers.com/attachment.php?attachmentid=3086491&stc=1&d=1419809176
Can anyone please explain how to add the menu button to the navbar?
LidaFlorida said:
Can anyone please explain how to add the menu button to the navbar?
Click to expand...
Click to collapse
Maybe we can apply from this guide.
http://rootzwiki.com/topic/30278-how-to-step-by-step-guide-to-add-menu-and-search-soft-keys/
tell me if working.
LidaFlorida said:
After "apktool.apk b framework-res.apk" in command line i have only
Code:
C:\Users\Marmeladoff\Desktop\Новая папка (2)\[COLOR="Red"]apktool (1)>apktool.bat b framework[/COLOR]
-res.apk
I: Using Apktool 2.0.0-dirty on framework-res.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:247)
at brut.androlib.Androlib.build(Androlib.java:266)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:240)
at brut.apktool.Main.main(Main.java:89)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:243)
... 4 more
C:\Users\Marmeladoff\Desktop\Новая папка (2)\apktool (1)>
And folder and "dist" doesn't appear.
What am I doing wrong?
Framework apk from this rom http://forum.xda-developers.com/lg-g2/development/rom-blisspop-team-blissmust-12b-t2985536
Click to expand...
Click to collapse
in the quote above where its red i can see your problem. your trying to recompile it.
in most cases the proper command is apktool b framework-res
there is no apk at the end cause when you decompile " apktool d framework-res.apk' it will decompile >>>framework-res <<<< there isnt no apk so try that again but instead of b use d to compile first
LidaFlorida said:
After "apktool.apk b framework-res.apk" in command line i have only
Code:
C:\Users\Marmeladoff\Desktop\Новая папка (2)\apktool (1)>apktool.bat b framework
-res.apk
I: Using Apktool 2.0.0-dirty on framework-res.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:247)
at brut.androlib.Androlib.build(Androlib.java:266)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:240)
at brut.apktool.Main.main(Main.java:89)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:243)
... 4 more
C:\Users\Marmeladoff\Desktop\Новая папка (2)\apktool (1)>
And folder and "dist" doesn't appear.
What am I doing wrong?
Framework apk from this rom http://forum.xda-developers.com/lg-g2/development/rom-blisspop-team-blissmust-12b-t2985536
Click to expand...
Click to collapse
I'm facing this problem too. Im using Windows 8.1, Microsoft visual basic powerpack, and java. How can I fix it?
muchi_13 said:
I'm facing this problem too. Im using Windows 8.1, Microsoft visual basic powerpack, and java. How can I fix it?
Click to expand...
Click to collapse
Use Apk Manager better.
LidaFlorida said:
Use Apk Manager better.
Click to expand...
Click to collapse
What do you apk manager? Please explain how its work

Categories

Resources