[Guide][HOW TO] Create Xperia 5.0+ themes using Apktool. - Sony Cross-Device Development Themes and Apps

Hello Friends,
I want to present a simple guide to create your own themes for Xperia running 5.0+. Lets get started.
Requirements:
Advanced ApkTool v4.1.0 By BDFreak. Click here to download Advanced ApkTool
Java Installed on your computer.
Text Editor (Notepad++ recommended)
Image Editing Software (Photoshop recommended).
Installing Framework files:
Extract Advanced ApkTool.rar. Copy and Paste the contents of Framework.rar (download from below) in “2-In” folder.
Run Advanced ApkTool.exe file and enter 1, to install framework-res and SemcGenericUxpRes.
{
"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"
}
Note: You need not install the framework files, everytime you decompile or recompile. This should be only done once.
Start working with your themes:
i) Decompiling the theme:
1. Copy Stock_lollipop.apk and paste it in “2-In” folder.
2. Run Advanced ApkTool.exe file and enter 2, to decompile the theme file.
3. Once decompiling is finished, you will find all the files in “3-Out” folder.
4. Now to go to 3-Out > Stock_lollipop.apk > assets folder and copy all four zip files from that folder and paste it in “2-In” folder.
5. Now rename all the zips files from .zip to .apk. Decompile all four .apks.
ii) Modifying the theme images and colors:
Note: Images must be of same resolution.
1. After decompiling, you will see 5 folders.
2. To modify go to res of each folder and change the images you want to modify and for colors open “Colors.xml” and change the colors. (Only change the last six underlined code, for example #ffffffff)
3 To change the name of the theme, go to Stock_lollipop folder > res > values > strings.xml. Open strings.xml and change the title.
4. Once done modifying, the final step is to recompile the theme.
iii) Recompiling the theme:
1. Recompile all four .apks excluding the main theme file (here Stock_lollipop.apk).
2. To recompile, Run Advanced ApkTool.exe file and enter 3. Recompile all four apks one by one (select “Recompile and then sign” option).
3. All the recompile files will be in “4-Done” folder.
4. Now rename all four files back to .zip from .apk
5. Next copy all four zip files and paste it is in assets folder of stock_lollipop.apk folder (which is in 3-Out folder).
6. Now open the AndroidManifest.xml (from Stock_lollipop.apk) with text editor and change the underlined name - "com.session.stocklollipop" everytime you create a new theme. If you are updating the theme, then there is no need to change the underlined name.
7. Finally recompile all stock_lollipop.apk and you are done.
I'm not a developer and do not know coding. Any tips from the developers are welcomed, so that this guide can be improved. I hope new themers will like this guide.
Error is decompiling:
Fix: Download apktool.jar from below and paste it in "1-BDFreak" Folder. If prompted, overwrite the file.

res

i have a problem, decompile file ...
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x00000012
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x00000012
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Unknown Source)
at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSerializer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSerializerDelegate.java:106)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:83)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:153)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:134)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:296)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:131)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:101)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)

brianblack said:
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x00000012
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x00000012
Exception in thread "main" java.lang.NullPointerException
Click to expand...
Click to collapse
Fix added to OP.

Nice guide
Thanks

Nice tutorial

cool

.... Any version for Mac avaliable?
Thanks!

bBigBrO said:
.... Any version for Mac avaliable?
Thanks!
Click to expand...
Click to collapse
It appears that "advanced apktool" is just a fancy wrapper around apktool.
You can obtain the same results using vanilla apktool and jarsigner:
apktool d to decompile
apktool b to build
jarsigner to sign (unsigned resource APKs will fail)
https://ibotpeaches.github.io/Apktool/

status bar theming?
Is the notification pulldown themeable with this method?

erico458i said:
Is the notification pulldown themeable with this method?
Click to expand...
Click to collapse
no but soon will be possible

Ambor said:
no but soon will be possible
Click to expand...
Click to collapse
When it will be possible? I wait it)

Not very much related to thread:
I have an apk, I am trying to Zip Align it using the tools posted at XDA but whenever I am trying to upload the output zip align file on Play Store, I get the following error:
Upload failed
Your APK cannot be analysed using aapt. Error output:
Failed to run aapt dump badging:
ERROR getting 'android:icon' attribute: attribute is not a string value
Any solution for this error.?

ImAnurag said:
Not very much related to thread:
I have an apk, I am trying to Zip Align it using the tools posted at XDA but whenever I am trying to upload the output zip align file on Play Store, I get the following error:
Upload failed
Your APK cannot be analysed using aapt. Error output:
Failed to run aapt dump badging:
ERROR getting 'android:icon' attribute: attribute is not a string value
Any solution for this error.?
Click to expand...
Click to collapse
I'm sorry, I don't much about this error while uploading it to the playstore. However, mostly it looks like the problem is with the AndroidManifest.xml file.
Have you tried searching it in google?

mindenfrak said:
When it will be possible? I wait it)
Click to expand...
Click to collapse
Guide
http://forum.xda-developers.com/crossdevice-dev/sony/guide-unlock-add-permission-to-sony-t3089885
ImAnurag said:
Not very much related to thread:
I have an apk, I am trying to Zip Align it using the tools posted at XDA but whenever I am trying to upload the output zip align file on Play Store, I get the following error:
Upload failed
Your APK cannot be analysed using aapt. Error output:
Failed to run aapt dump badging:
ERROR getting 'android:icon' attribute: attribute is not a string value
Any solution for this error.?
Click to expand...
Click to collapse
session20 said:
I'm sorry, I don't much about this error while uploading it to the playstore. However, mostly it looks like the problem is with the AndroidManifest.xml file.
Have you tried searching it in google?
Click to expand...
Click to collapse
Hi there
Gentlemen, I am convinced of 99.9999999% I do not have possibilities publication Themes created this method.
The basic principle of publication. YOUR APP MUST BE SIGNED YOUR SIGNATURE.
OTHERWISE WITHIN A FEW DAYS AND SO IS THEME removed from your PLAY STORE

Good just followed his guide
depues apply the theme
stop all apk
any solution

Here comes the solution for all the people experiencing problems like syntax errors when compiling:
The path where the advancd apktool lies must not contain spaces!
Anyway, nice tutorial, exactly what I was looking for! :good:
Best regards,
Dhelonious

I don't know if it's my case only but, following your guide, I decompiled and recompiled the stock lollipop apk without modificating it, and my device was not able to install the apk. Xperia M5 dual E5663, Android 5.1 fyi.
And also, I tried Sony's Theme Creator BETA tool and couldn't get the custom navigation buttons. Anyone got the same problem?

Related

Odex and Deodex TornadoTheme and StockTheme Latest XXJVT (2.3.5)

Latest version for Firmware XXJVT
Odex -- Greentheme AOSP lock -- http://forum.xda-developers.com/showpost.php?p=18168508&postcount=416
Odex -- Greentheme Glasslock -- http://forum.xda-developers.com/showpost.php?p=18194304&postcount=458
Deodexed --Greentheme -- AOSP lock http://forum.xda-developers.com/showpost.php?p=18168247&postcount=412
Deodexed -- Greentheme -- Glasslock http://forum.xda-developers.com/showpost.php?p=18172336&postcount=431
Odex -- Bluetheme -- http://forum.xda-developers.com/showpost.php?p=18168508&postcount=416
Odex -- Bluetheme Glasslock -- http://forum.xda-developers.com/showpost.php?p=18194304&postcount=458
Deodexed -- Bluetheme -- AOSP lock http://forum.xda-developers.com/showpost.php?p=18168247&postcount=412
Deodexed -- Bluetheme -- Glasslock http://forum.xda-developers.com/showpost.php?p=18172336&postcount=431
Updated version for the themes: Version 2
- Changed lowest brightness to even lower values. From a scale of 0-255 i changed 33 to 25. It seems to be quite good.
- Changed highest brightness to higher value. Instead of 253 i made it 255
- Removed "phone options" when holding the power button. So all menu options now fit without scrolling.
- Changed AOSP behaviour. Normal lockscreen is AOSP, but when you have a message or missed phonecall, you will see the Epic lockscreen.
-- Added for green theme is transparent stuff
Green and Blue Odex and Deodexed -- http://forum.xda-developers.com/showpost.php?p=18475621&postcount=522
TornadoDark ODEX edition: http://forum.xda-developers.com/showpost.php?p=18536070&postcount=526
I also made some mods for the Tornado framework, but they can be flashed on any JVT version:
Odex version Modpack1: -- http://forum.xda-developers.com/showpost.php?p=18195414&postcount=470
Deodexed version Modpack1: -- http://forum.xda-developers.com/showpost.php?p=18195414&postcount=470
What is in it ?
MMS hacked for sent time / no sms limit
LogsProvider hacked to not see SMS entrys into the phonelog
Phone hacked to use the flip to silent and non increasing ringtone (you do need to disable status tones or you will get a fc when connected, this bug is something to sort out later)
Back to original files from stock themes:
Odex and Deodexed -- http://forum.xda-developers.com/showpost.php?p=18195149&postcount=464
Back to original files from Modpack1: -- http://forum.xda-developers.com/showpost.php?p=18195414&postcount=470
Features Themes:
-AOSP lockscreen
-CRT TVoff
-BatteryMod
-Extended powermenu
-Sip over 3G and Wifi
-Bluetheme also has transparent stuff
-Bluetheme has nexus batterymod
-Greentheme has cm7 batterymod
Let me know it you encounter problems
Screenshot Bluetheme AOSP lock
{
"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"
}
Screenshot Greentheme Glasslock
GingerBread older stuff
Older stuff i made:
I also made the theme for XFJV7 Odex based
For now only Bluetheme based. During the week i will upload also my other theme.
-Sip over 3G and Wifi
-AOSP lockscreen
-CRT screenoff
-BatteryMod (1%)
-Blue wifi / signal when connected
-Transparent and blue themed
-Extended powermenu
-Odex based
Suitable for CWM 2.5 and 3
Download here:
http://www.multiupload.com/58VP8ZIYS3
What is enabled on the JVS Odex version ?
-Battery percentage (drop per percent)
-Extended powermenu
-ASOP lockscreen
-Changing color if connected to Google
-CRT off
-SIP enabled in the framework
Greentheme has CM7 battery-icons
Bluetheme has Nexus battery-icons
Downloads are in attachment
Remember this is only for ODEX ROMs and NOT for DEODEXED ROMS
And yes i did collect quite a few icons on XDA here and there, so if you feel i should thank you by name just let me know.
Otherwise i want to thank everyone that helped and made this possible.
------------------Older stuff------------------------------
What is enabled on deodexed versions ?
-Overscroll (orange)
-Battery percentage (drop per percent)
-Extended powermenu
-ASOP lockscreen
-Changing color if connected to Google
-CRT off
-SIP enabled in the framework
Left everything else like in stock framework files
-Enjoy !
XXJVQ (2.3.4 firmware) Version
http://www.multiupload.com/09IG18ORLK
(flash with CWM3)
JVO Version
http://www.multiupload.com/G6P9CIGVUI
(flash with CWM 3)
JV9 Version
http://www.multiupload.com/5L2UDC28RR
(flash with CWM 3)
JVP Version (Ginger 2.3.4)
Did use some parts from $omator this time. Did not have the time to make all adjustments myself. So thanx !
-Overscroll is blue is this one btw.
http://www.multiupload.com/PDXBYKX9QR
CM7 batterymod version for JVP
http://www.multiupload.com/IC98L6BCQJ
Froyo batterymod for JVP
http://www.multiupload.com/76VCX47CSW
Cannot find a deodexed and zipaligned version of JV9?
Here is my non wipe version: http://www.multiupload.com/2FDAE49IKL
Froyo 2.2.1 version !
This theme is really basic but effective !
What can you expect from this theme ?
- Colors will stay as close as possible to the stock theme
- Settings screen is extended to support the unlock screens (in display)
- 5 Unlockscreens added
- Shutdown menu is extended to support Reboot, Recovery and Downloadmode.
Screenshots: (some old, will be updated soon)
Versions available:
StockMod Plus v1.0 with % Battery
StockMod Plus v1.0 With Stock Battery (Without Numbers)
StockMod Plus v0.91 with % Battery
StockMod Plus v0.91 With Stock Battery (Without Numbers)
StockMod Plus v0.81 with % Battery
StockMod Plus v0.81 With Stock Battery (Without Numbers)
customized 0.81 by dneill2006
Stockmod 0.82 with batterymod (numbers in battery) with full framework
Stockmod 0.82 without batterymod (no numbers in battery) with full framework
customized 0.82 by dneill2006
What to choose ?
Use the full framework version, it's the most stable and supported one
How to install ?
Put the file on the SD card and flash with CMW
Requirements ?
You need to have a deodexed ROM. It seems to work on JPY, JP3 or JP5, JP8. But should work on other versions. XXJP5 maybe has a issue.
Todo:
- Investigate how to install in a non-deodexed ROM
- Make tekst fit in dropdown menu
- Other stuff being reported here
Version history:
0.81 small package with only needed files
0.82 is basically 0.81 with added framework files
0.91 Pressing home button on lockscreens is now disabled
0.91 Shutdown menu now fits (no need to scroll anymore) (big thanx to bitblaster)
1.0 has added the pulldownmenu non-transparent (big thanx to dhiru1602)
Special thanx to Darkyy and R64 for helping me out
Also thanx to all others that have helped me to create this theme.
Waiting for Screenshots!
philippsp said:
Waiting for Screenshots!
Click to expand...
Click to collapse
added screenshots.
Now going to finetune the CMW file
thanks for this. will download. meanwhile some stock goodies....
Hmm it looks like the framework file i used is still based on JS3. Does anyone know how to decrypt the XML files ? I want to modify them myself
Brotuck said:
Hmm it looks like the framework file i used is still based on JS3. Does anyone know how to decrypt the XML files ? I want to modify them myself
Click to expand...
Click to collapse
Use apk manager by daneshm90.
Edit: look for JesusFreke's smali and baksmali jar files.
Sent from my GT-I9000 using XDA App
g00ndu said:
Use apk manager by daneshm90.
Edit: look for JesusFreke's smali and baksmali jar files.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
i tried apktool but i am getting errors.
Code:
C:\encrypt>"C:\Program Files (x86)\Java\jre6\bin\java.exe" -jar "C:\encrypt\apktool.jar" d -f "c:\encrypt\Settings.apk" "c:\encrypt\decode"
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\user\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x02070015
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02050000
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColorHint, value=0x02050001
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0207000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0207000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0207000f
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
Trying APKmanager now...
I'm also interested on this
Brotuck said:
Hi Guys,
I was looking around and did not find find the theme i was looking for.
What exactly did i want ?
Run a rom with only minor changes like the 4Lockscreen and Extended Settings.
Shutdown menu with the option to go to recovery and downloadmode.
Only the usage of stock icons. So no changes in color !!
Beceause i am fairly new to scripting, i just borrowed some scripts from other themes and changed them like i wanted.
I actually used some frameworkstuff from Darkyy and added the default icons back.
The first result is not the endproduct but for now something i can live with.
I will release the CMW file soon, so keep an eye on this topic...
For now it is based on JS5....
Click to expand...
Click to collapse
Brutus hi
Here is a power menu and lockscreens mod on stock(deodexed).
http://www.multiupload.com/4PQFLJYPAK
I made this a while ago, based on js2 (should work on jpy and later - deodexed), you can use it as template.
It’s untested!! So use it at your own risk, backup and everyhing.
if there is any problem, let me know and i'll fix it.
Love the idea!
When it's complete, ask to get it added to the kitchen!
One request, would you be able to make edited versions of the dialer to support different pixel densities?
Can't wait for this i love being on darkys but i hate the status bar being entirely black, ruins wallpaper blending
Mingo3k said:
Love the idea!
When it's complete, ask to get it added to the kitchen!
One request, would you be able to make edited versions of the dialer to support different pixel densities?
Click to expand...
Click to collapse
I will think about it after i finished this project. It is really fun to do, but takes a lot of my time.
kepke said:
Brutus hi
Here is a power menu and lockscreens mod on stock(deodexed).
http://www.multiupload.com/4PQFLJYPAK
I made this a while ago, based on js2 (should work on jpy and later - deodexed), you can use it as template.
It’s untested!! So use it at your own risk, backup and everyhing.
if there is any problem, let me know and i'll fix it.
Click to expand...
Click to collapse
Thanx i will take a look at it and use it for reference material.
Still searching to decode all official samsung apk files
I managed to do 90%, but i want to be able to decode all of it.
To be continued....
Brotuck said:
I will think about it after i finished this project. It is really fun to do, but takes a lot of my time.
Thanx i will take a look at it and use it for reference material.
Still searching to decode all official samsung apk files
I managed to do 90%, but i want to be able to decode all of it.
To be continued....
Click to expand...
Click to collapse
try putting the framework-res.apk and framework.jar in "place-apk-here-for-modding" while decoding settings
kepke said:
try putting the framework-res.apk and framework.jar in "place-apk-here-for-modding" while decoding settings
Click to expand...
Click to collapse
twframework-res.apk did the trick ! Thanx
Brotuck said:
twframework-res.apk did the trick ! Thanx
Click to expand...
Click to collapse
yeah i meant twframework
kepke said:
Brutus hi
Here is a power menu and lockscreens mod on stock(deodexed).
http://www.multiupload.com/4PQFLJYPAK
I made this a while ago, based on js2 (should work on jpy and later - deodexed), you can use it as template.
It’s untested!! So use it at your own risk, backup and everyhing.
if there is any problem, let me know and i'll fix it.
Click to expand...
Click to collapse
Thanks a lot!
Works like a charm on JS5
rafalense said:
Thanks a lot!
Works like a charm on JS5
Click to expand...
Click to collapse
i'll make one for odexed systems (if there's damand for it).
Brotuck?
can you please paste the link at the first post?
kepke said:
i'll make one for odexed systems (if there's damand for it).
Brotuck?
can you please paste the link at the first post?
Click to expand...
Click to collapse
Updated first post
I am investigating the 5 lockscreen. That looks really cool.
- Currently i am decrypting the stock apk files. So i can add just the unlock screen option, without the color changes and added/altered names. Have "real" stock menu's etc.
Only problem now is that i need to sign the apk file if i want to encrypt it again, and because it is a official stock Samsung apk,do i need the real certificate ?
All modifications on the apk files is done, i need to test them out now.
Next version will NOT be based on any existing theme, but on the stock files of JS5
Thanks a lot man! Hope you can upload it with 5 lockscreens soon
Sent from my Samsung Galaxy S (Android phone)

[Q] Can use apktool for Settings and framewok-res.apk on Froyo?

I wanted to make Froyo of our language version.
Settings.apk and Framework-res.apk was going to Decode or Build by using Apktool.
They ended with a large amount of error (declared here is not defined.) and (Unknown Source) when I tried to make the apk file.
Moreover, the build was not able to be done even though anything did not change after Decode the Apk file.
someone knows the method of changing them by using Windows Apktool v1.3.2 or other tool ?
I completely decoding/encoding framework-res.apk, settings.apk, blurcontact.apk, and some useful package, and translated on my language. all work great.
To correct decoding/encoding, you need add framework into apktool.
download /system/framework/moto-res.apk and /system/framework/blur-res.apk to PC, then do
apktool if /path/moto-res.apk
apktool if /path/blur-res.apk
then decode/encode, work fine. it can say "no default string" for some apk, but it's not a problem.
all work for me.
also you can try add /system/framework/framework-res.apk, but this framework included in apktool, from the box.
after decode\ i add my locale and translate string.xml with ailocalizer 1.5. (then delete other file in local folder, check some local folder, to see what file needed)
then compile apk, with apktool
open \dist\*.apk with 7zip, and extract *.arsc
copy this new translated *.arsc, into original apk pakage (open in 7zip) with rewrite.
no need sign.
just replace old apk in phone, with this new one. copy into /system, give permission 644 (rw-r--r--), and move this file, with overwriting on original file folder.
i don't delete any odex, i don't use "store" compression, and all work great for me.
defy android 2.2.1 PL
Zorge.R said:
I completely decoding/encoding framework-res.apk, settings.apk, blurcontact.apk, and some useful package, and translated on my language. all work great.
To correct decoding/encoding, you need add framework into apktool.
download /system/framework/moto-res.apk and /system/framework/blur-res.apk to PC, then do
apktool if /path/moto-res.apk
apktool if /path/blur-res.apk
then decode/encode, work fine. it can say "no default string" for some apk, but it's not a problem.
all work for me.
also you can try add /system/framework/framework-res.apk, but this framework included in apktool, from the box.
after decode\ i add my locale and translate string.xml with ailocalizer 1.5. (then delete other file in local folder, check some local folder, to see what file needed)
then compile apk, with apktool
open \dist\*.apk with 7zip, and extract *.arsc
copy this new translated *.arsc, into original apk pakage (open in 7zip) with rewrite.
no need sign.
just replace old apk in phone, with this new one. copy into /system, give permission 644 (rw-r--r--), and move this file, with overwriting on original file folder.
i don't delete any odex, i don't use "store" compression, and all work great for me.
defy android 2.2.1 PL
Click to expand...
Click to collapse
Thank you for your reply.
I tried according to your advice.
pull 3 frame apk install my computer
and decode Settings.apk
 I: Loading resource table...
 W: Skipping "android" package group
 I: Decoding resources...
 I: Loading resource table from file: C:\apktool\framework\1.apk
 I: Copying assets and libs...
Then make /res/values-** folder and copy other lungage string.xml to in it.and then translate string.xml with ailocalizer.
So far, there is no any problem. Thank you
But (compile apk, with apktool) can not compile.....also with a large amount of error (declared here is not defined.) and (Unknown Source) .
Something wrong?
s_pippen33 said:
Thank you for your reply.
I tried according to your advice.
pull 3 frame apk install my computer
and decode Settings.apk
 I: Loading resource table...
 W: Skipping "android" package group
 I: Decoding resources...
 I: Loading resource table from file: C:\apktool\framework\1.apk
 I: Copying assets and libs...
Then make /res/values-** folder and copy other lungage string.xml to in it.and then translate string.xml with ailocalizer.
So far, there is no any problem. Thank you
But (compile apk, with apktool) can not compile.....also with a large amount of error (declared here is not defined.) and (Unknown Source) .
Something wrong?
Click to expand...
Click to collapse
you can add locale, directly from localizer, pres + button, and enter you locale.
also in you locale folder, need to be all xml, like other locale folder, see fr folder, for example.
btw, don't you forget, delete bak file, after editing xml?
Zorge.R said:
you can add locale, directly from localizer, pres + button, and enter you locale.
also in you locale folder, need to be all xml, like other locale folder, see fr folder, for example.
btw, don't you forget, delete bak file, after editing xml?
Click to expand...
Click to collapse
also changed arrays.xml and delete .bak file.
Furthermore, apk After decoding, the same error occurs when I build without some modification....
you use apktool on linux ?
BTW ailocalizer's auto translation isn't function work ?
(Error reading JObject from JsonReader. Current JsonReader item is not an object: Start Array)
s_pippen33, don't touch array.xml. Translate Only STRING.xml and try compile.
some error is normal, if this error is "no default string".
auto translate don't work.

[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:

[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????????

How do I add language pack- Miui

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.

Categories

Resources