[TUTORIAL][ICS][JB] How to create Theme - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

Hi Xda,
This is the second tutorial made ​​by me​
I would like to share with you my knowledge.
To decompile, sign and recompile files I using Advance ApkTool 3.0.0
Let's start!
1. Download this arhive View attachment 2985800 and extract eXperiaLOrange.apk from arhive in Advanced ApkTool 3.0.0 in OUT folder.
( See screenshot )
{
"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"
}
2. Now edit apktool.yml in eXperiaLOrange.apk
Change eXperiaLorange with the name you want for your theme!
( see screenshot )
3. Now go to res / values and open strings.xml. Change eXperia L Orange to name you want to appear in Theme Piker!
( see screenshot )
4. Now open colors.xml and change color code with you color code. For color codes visit this page http://www.color-hex.com/.
In Colors.xml change this code! Change code without #ff
( see screenshot )
5. Now change wallpapers in drawable-mdpi and drawable-land-mdpi with you wallpapers. Wallpapers must have the same size and .PNG
( see screenshot )
6. Now rename folder eXperiaLOrange.apk in Advanced ApkTool / OUT whith name you theme in apktool.yml
As you can see in the screenshot is the same name!
7. Recompile , Sign and put in system/ vendor / framework, set permision rw- r-- r-- and reboot!
8. DONE!
Sorry if you do not understand ... is the second tutorial made ​​by me!
If you like my tutorial please press Thanks button!:good:

Thanks for your work,
but the guide was already here for long time ago:
http://forum.xda-developers.com/showthread.php?t=2204009

Related

[GUIDE/REFERENCE/HOW-TO] PCSCII.apk & Settings.apk dissected

PCSCII.apk dissected​
Below I have unpacked the PCSCII.apk. This APK is responsible for connecting to your PC.
I have numbered the files inside /res/drawable-hdpi and matched them accordingly to what they are responsible for displaying on the phone. Enjoy!
Now you can theme that pesky hard-to-find USB icon!​
{
"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"
}
Also, inside /res/drawable you will find: common_white_button_press.9.png, common_white_button_rest.9.png, common_white_button_select.9.png
These are the background PNGs for buttons numbered 2 (Charge only) & 3 (Disk drive) in the above screenshots.
Settings.apk
Settings.apk dissected​
Below I have unpacked the Settings.apk. This APK is for settings on the phone and can be accessed by pressing menu then settings, or through the app drawer.
I have numbered the files inside /res/drawable-hdpi and matched them accordingly to what they are responsible for displaying on the phone. Enjoy!
​
PNG #3 common_app_ic_launcher_settings.png - This PNG is the icon that shows up in the app drawer for Settings.
PNGs #30-37 are the PNG files for the animated tutorial that shows when setting a pattern lock.
IMPORTANT:
You may have noticed common_list_highlight_press.9.png, common_list_highlight_selected.9.png, and green_divider.png located inside the /res/drawable-hdpi folder. These look just like button highlight/selected PNGs and the list divider. However, changing these will not change what you think in the settings app. If you want to change the button highlights and list divider they are going to be found in fusion.apk and/or com.htc.resources.apk.
Reserved......
Reserved .......
Reserved...
Good work !!
Sent from my PG86100 using xda premium
Very nicely put together Steelh.
Very nice, great work
Shot from my sharp shooter in 3d

[Q] Can someone help me edit an apk

I really like the stock xperia keybord and was thinking when the smiley key was pressed it would be better if it displayed emojis, (this it what it could look like (made in photoshop)
{
"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"
}
Soooo i was wondering if someone thinks they would be able to give me a hand in editing this apk, as i am having a few problem
Hope someone can help
MRL3GS
Anyone??
I won't be able to help you but I could tell you how to do that.
1. Get the apk of the keyboard you want to edit.
2. Next Download 7zip if you don't have that.
3. Now extract the apk using 7zip. (Right Click the apk to see 7zip options.)
4. The folder in which all the extracted files and folders are locate "res" folder. In this folder all the images are located.
5. Once you open the RES folder you will have folders like hdpi, mdpi, etc...
6. Now open up any such folder you like. There you will be able to see the stock emoji icons. Replace them with the ones you want. Make sure you crop them so they keep the same size like the once you replaced.
7. Open the APK file with 7zip and delete the files you had replaced.
8. Now in the APK add the files which you added in the extracted folder. (Add the emojis which you added in the RES folder) Add them to the folders where you had deleted the stock images.
You could press the thanks button now as the tutorial has finished.
Sent from my GT-I9505G Samsung S4 Google Edition. Just Kidding!
And you could press the thanks button if I helped.

[MOD][TUT] Add a ROM logo in About Device

I took some pieces from other guide
What you need?
-Apktool
-Settings.apk
-Notepad++
First, choose/make a logo to add in Settings.
Recommended these dimensions (in pixel) :
LDPI: 270x67
MDPI: 320x80
HDPI: 480x120 --> This for S Advance
XHDPI: 720x180
Open command promot and move to your Apktool's folder. Then, type this:
Code:
apktool d Settings.apk
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download attachment, rename it to "logo_row.xml" and put it in Settings/res/layout.
Come back and go to xml folder. Search and open device_info_settings.xml.
Copy this code:
Code:
<PreferenceScreen android:key="rom_logo" android:layout="@layout/logo_row" />
below this:
Code:
<PreferenceScreen android:title="@string/about_settings"
xmlns:android="http://schemas.android.com/apk/res/android">
in this way:
Save and close the file
Now, if you have the logo in specific resolutions, put the files in their folders drawable-****, else put single file in drawable-nodpi folder (to create if doesn't exist). The logo/s must be called all "romlogo" (without quotes ).
Come back to the main folder, where's place apktool and type:
Code:
apktool b settings
Now, with WinRAR/Winzip/7-Zip, extract Settings.apk in a folder called Settings-new.
Go to Settings/build/apk and copy all files and folders and paste them into Settings-new folder replacing old files.
Compress all content of Settings-new folder...
...and rename from Settings-new.zip to Settings.apk --> File Ready
Screen "About device"
Sorry for my bad english (x100)
Tested on:
-Samsung Galaxy S Advance
-Samsung Galaxy Mini
Click to expand...
Click to collapse
Credits:
[email protected] for test it on Galaxy Mini
-PAC-man team, especially Grarak for his commit
Click to expand...
Click to collapse
Reserved just in case

[TOO] [SHARE] APK Java Viewer

Note : I am Sharing the work of forumber2.All the credits goes to him A little intoduction by him
forumber2 said:
APK to Java Viewer​
{
"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"
}
Hi all!
As you know, we can view and save java classes in classes.dex via some tools. And we have enough guides (like this; http://goo.gl/QkK6P7 ) but it requires effort so, I made this small tool for lazy people
This script will show the java files in your apk/jar (framework). Instructions as below:
1. Download the zip in Attachments.
2. Extract Java-Viewer.zip anywhere on your PC.
3. Put your an apk or jar (framework) in "Input".
4. Execute "Run_me_first.bat"
5. Follow Instructions (in tool)
**JRE is required
**IMPORTANT: DO NOT leave spaces when you name your apk files, e.g. "123 abc.zip" is a no go, "123abc.zip" is the correct way,
Bugs;
-After converting dex to jar, the script ends suddenly. Thats why you need execute View_Java.bat after finish Run_me_first.bat script
-jd-gui can't decompile all smali files.
Applications are used;
-JD-GUI 0.3.6
-7zip
-dex2jar-0.0.9.15
Credits;
@Ryuinferno for his "Sign-em!" thread style
@lickarock for his guide and his screenshot
Click to expand...
Click to collapse
Downloads Here
Orginal Threads

[MOD] [KitKat] [ROOT] Apple Emoji Replacement for KitKat

first time I saw this way is here and the original thread was here.
This mod will replace your current "flat" KitKat emoji with Apple emoji. Here is the instruction by angelsel :
(remember to backup your current fallback_fonts.xml before do this.)
1. Grab AppleColorEmoji.ttf and place it into /system/fonts/
2. Set /system/fonts/AppleColorEmoji.ttf to have permissions 644 (rw-r--r--) and owner:group root:root.
3. Modify /system/etc/fallback_fonts.xml like so:
find :
Code:
<family>
<fileset>
<file>AndroidEmoji.ttf</file>
</fileset>
</family>
screenshot
{
"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"
}
Above this block, add
Code:
<family>
<fileset>
<file>AppleColorEmoji.ttf</file>
</fileset>
</family>
screenshot
4. Set /system/etc/fallback_fonts.xml to have permissions 644 (rw-r--r--) and owner:group root:root.
5. Reboot.
if you enjoy it, give Thanks to angelsel for the instruction here at his own original thread [MOD] Apple Color Emoji system-wide for KitKat
screenshot (sorry if large )
Help
Hey I need help this is what mine look like. After I get here what do I do next? Because when I did it the first time I bricked my phone.
BrandonJoynvr said:
Hey I need help this is what mine look like. After I get here what do I do next? Because when I did it the first time I bricked my phone.
Click to expand...
Click to collapse
brick? you mean bootloop?
in easy way, copy AppleEmoji.ttf to system/font, find AndroidEmoji.ttf then rename it to AndroidEmoji.ttf.old. after that, rename AppleEmoji.ttf to AndroidEmoji.ttf, set the permission rw-r--r-- and reboot. forget editing .xml, just do renaming 2 .ttf file

Categories

Resources