[MOD][TUT] Add a ROM logo in About Device - Galaxy S Advance I9070 Themes and Apps

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

Related

Layout Dialler Contacts

I wonder if there is the possibility of changing only the dialing screen? Well, during the sunny days the visualization of the numbers is difficult.
poor visibility:
{
"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"
}
great visibility:
I just wanted to change the dialing screen and keep the rest of the theme.
The second option is better on sunny days.
ROM: http://forum.xda-developers.com/showthread.php?t=1583871
Thank you very much
With a root explorer locate your /system/app folder and copy phone.apk and dialertabactivity.apk to your SD card.
Copy them to your PC and keep a backup of those apps just in case.
Using 7zip or winrar open the apps. Locate their /res/drawable or res/drawable-mdpi folders. Those contain the graphics. Locate the ones with the numbers and extract them.
Edit the graphics with a good software (not paint, something like Photoshop) and save them without changing their size or format.
Drag the edited .png images to the /res/drawable or drawable-mdpi folder of the apps. Don't extract and repackage the whole app, just drag and drop the edited files in their corresponding folders whike using 7zip or winrar to view the app.
Put the edited apps in your SD and then place them in system/app with rw-r-r permissions.
Reboot, they should work OK. If they don't work (give you Fc) something got screwed in the process, try it again. If all fails, restore your original apps (the ones you backed up) to system/app with proper permissions.

[Tutorial] How to hide message sender name from notification ticker in Whatsapp

Hi this is a quick and simple tutorial bcz I don't have time to make an advanced tutorial.
This method is applicable to Stock Whatsapp and Whatsapp Plus and any other whatsapp you can find out there.
Hit thanks if you find this useful
Please use google to find the requirements bcz I can't post links now
Requirements:
# APK Mutli-Tool v1.10
# Java Development Kit 7
# Notepad++
# A brain and a pair of eyes
Steps:
Install JDK7 if you don't already have it
Extract and install APK Multi-Tool using Setup.bat
Copy your whatsapp apk inside "place-your-apk-here-for-modding" folder
Launch Script.bat
Choose option 9 to decompile the apk
When the apk is decompiled go to the following folder:
projects/....whatsapp..../res/values
Open strings.xml with notepad++
Press CTRL+F to find the following string:
Message from %s (You usually have to press "find" twice to find the wanted string)
Replace it with anything you want
ie: "New whatsapp message"
Save and exit
Go back to APK Multi-Tool and choose option 15 to recompile/sign/install the apk
If you don't want to install the modified whatsapp directly don't connect your phone to the pc, just wait till it compiles and signs the apk and says "waiting for device" then close apk multi-tool window.
Then go to "Place-your-apk-here-for-modding" folder and you'll find two files, one is the original whatsapp and the other is the modified apk "signed......apk" so do whatever you want from here
Hit Thanks if you find this useful
{
"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"
}
Sent from my Xperia Arc S using xda premium

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

[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

[TUTORIAL][ICS][JB] How to create Theme

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

Categories

Resources