How to Get a Custom Home Button - Xperia SP Themes and Apps

So here is the way, how You can create Custom Home Button.
* Softwares you need to do this : (all download links provided below) :
1) 7-Zip File Manager
2) Windows Image Resizer
* Stepwise Guide :
STEP 1 : Get you launcher’s (.apk) file
STEP 2 : Extract it with 7-Zip File Manager
STEP 3 : Open the folder where you have extracted the apk file
STEP 4 : You will find a folder named ‘res’ ; open it and go to ‘res\drawable-hdpi"; open all folders inside 'res' folder and make sure that you have replaced all the stock isons by desired icons.
STEP 5 : You will find your Launcher Icon. Right Click on it, go to Properties and then to Details ; there you will find dimensions of the image. Note them somewhere.
STEP 6 : Now select the desired Icon and resize it using Windows Image Resizer by right clicking and then clicking on ‘Resize Image’.
STEP 7 : Replace the Icon in extracted folder with the same name.
STEP 8 : Repeat the above steps in ‘ res\drawable-sw800dp-hdpi ‘ and ‘ res\drawable-xhdpi ‘ and ‘ res\drawable-xxhdpi ‘ folders.
STEP 9 : After replacing all the icons, come back to the folder and select all files, right click on them and using 7-Zip add them to an archive, when adding into an archive make sure that you (.zip) by (.apk).
STEP 10: Install the launcher or place it in an Custom Rom. ( I would suggest place this launcher in an Custom Rom )
* All Screenshots, Download links and Custom launcher provided below
IF ANY PROBLEM JUST TELL ME

Thread Closed: 12. Using the work of others. Please see Forum Rules....

Related

[TUT] Advance Framework Edit

things you'll need
APK MANAGER
7zip
DESCRIPTION :
Q : Basic
A : The icons are stored in the Drawable-mdpi folder in the framework.
these icons are linked to XML's in Drawable folder
if you just add the icons and don't change the xml, you'll get nothing.
Q : Why Cant we just Edit the XML files?
A : The XML files are encrypted. if you try to edit it you will get weird characters.
Q : No XML No Edits, Are we Done?
A : Yes, No XML No Edits. But we've a walkaround. The APK MANAGER
it decompiles the apk and unencrypts the xml file.
BASIC :
Extract the contents of APK MANAGER to any folder
you'll have few folders
place your apk in the place-apk-here-for-modding folder
open Script.bat
and chose option to decompile and minimize
it will create a folder namely PROJECTS
now you can edit the xml files
after your done, maximize the apkmanager window and choose comiple apk
HOW TO ADD MORE PNGS :
if you want to add pngs like the battery percentage you'll need to link the png to the xml file
this can be done by two ways
1. assigning resource_id
&
2. directly putting in the names
the 1st method is easy but complex so forget it
the second method is simpler.
just find the xml file corresponding to the png and than simply add the name.
for eg.
stat_sys_battery.xml is the battery status xml.
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
Click to expand...
Click to collapse
here the
android:drawable is the android code
and
@drawable/stat_sys_battery_* is the file location
check the attachment for better understanding
Click to expand...
Click to collapse
THE PROBLEM & THE SOLUTION :
if you try to edit any modded framework file you'll get error while compiling.
and your phone will hang if you use that file.
SOLUTION
instead of using modded file. use the STOCK framework. Edit your files and compile your apk
now when you compile it, it will give you few options
1. is it a system file [y/n]
choose yes
2. (...blah blah.. do you wish to keep files)
choose yes
now it will extract the stock (unedited) framework in a KEEP folder
minimize the window
open the folder and delete all the files you modified.
if you had modified xml file you'll also need to delete resources.asrc
now maximize the apkmanager window and press any key.
your modded apk will be compiled in the place-apk-here-for-modding folder
PS : IT WOULD BE UNSIGNED
LAST STEP :
open the compiled unsigned apk and extract all the files you edited (including resources.asrc)
simply replace these files in the framework-res.apk you wanted to mod
only part to take care is the resources.asrc file you don't have to replace it directly
do this steps for replacing resources.asrc
1. right click the resources.asrc
2. select add to archive
3. archive format zip
4. compression method Store
5. select the path of your framework-res.apk
I know this all seems way to complex but if you read carefully and do it step by step, its all easy as a PIE

How to change the icon picture of any apk

~~~~HOW TO CHANGE .APK ICON USING APK MANAGER~~~~
You will find apk manager in the attachments
For example you want to change the icon picture of settings.apk
JUST FOLLOW THE STEP BY STEP GUIDE:-
1. Copy Settings.apk in the folder called "place-apk-here-for-modding"
2. Start the "Script.bat"
3. Choose point 22 "Set current Project"
4. Choose your app you want to extract
5. Choose point 1 "Extract apk"
6. Go to the folder called "Projects"
7. Choose your app you just have extracted
8. Choose the folder called "res"
9. Look in the folders where the icon is.
10. Change the icon but be sure it have the same size ("mdpi: 48x48" "hdpi: 72x72" "xdpi: 96x96")
11. Go back to script windows or start script.bat again
12. Choose point 22 "Set current Project" again
13. Choose point 3 "Zip apk"
14. Choose point 12 "sign apk"
15. Go back to the folder "place-apk-here-for-modding" now you should have an apk there that is called signed"NameOfYourApp"
16. Copy it to your SD Card and install it on your device.
NOW IT IS DONE. ENJOY!!!!!!!!

[TUT] How to deodex roms+set up Android kitchen(cygwin)+extract files from Kdz

INTRODUCTION
HI GUYS..!
Though there are many threads explaining about the set up of android kitchen and deodexing roms...i found it a bit confusing,as most of the threads take you to different threads which again explain the steps in detail,most of which though informative is unnecessary as they are General threads .. so,TODAY i will be explaining simple step by step procedures from setting up cygwin to doedexing a rom for our devices...
THIS THREAD IS FOR L3 BUT SHOULD WORK ON L5 AND L7 ALSO ( for extracting &deoxing-Only First generation ie; L3,L5&L7..Not for L3 II,L5 II, L7 II ,but the method for android kitchen is common for both generations)
THINGS NEEDED(DOWNLOADS)
1.JAVA- download here http://java.com/en/download/manual.jsp
2.LG EXTRACTION KIT PUT TOGETHER BY ME -
http://www.mediafire.com/download/qdxgh0hqznph3nf/KDZ_extraction_Kit+kitchen+cygwin.rar
Click to expand...
Click to collapse
STEP 1-INSTALL JAVA (just download and install it)
STEP 2- SET UP CYGWIN (This method is for Windows-i have provided the 32 bit setup ,for 64 bit download the setup from website below and skip to step 3) for 64 bit users - http://www.cygwin.com
1.extract the rar file i have provided and open the folder
2.open setup-x86.exe - don't proceed
3.open the cygwin setup guide provided in the folder and follow the steps
Click to expand...
Click to collapse
STEP 3- SET UP ANDROID KITCHEN
1. open the folder u extracted from my rar file
2.right click on Android-Kitchen-0.224_2 and extract here
3.now copy the "kitchen" folder to c:\cygwin\home\(your_user_name)\
[Note :: make sure that ur username does not contain any spaces (eg; homepc) (not eg; home pc) ;if it does then copy to c:\cygwin\home\ ]
Click to expand...
Click to collapse
STEP 6- CHECK IF ANDROID KITCHEN WORKS
1.Right click on the desktop shortcut of cygwin and run as administrator
2.type
Code:
cd kitchen
for people who have spaces in there user name
Code:
cd /home/kitchen
3.to open menu
Code:
./menu
IF YOU DONT GET ANY ERRORS THEN PROCEED TO THE NEXT STEP
Click to expand...
Click to collapse
STEP 7- EXTRACTING THE KDZ FILE(For custom odexed roms proceed to STEP 9)
(For the users who don't know about the .kdz , it is the file format for the stock lg rom firmwares,...to download the kdz files goto-
http://lg-phone-firmware.com/index.php?id_mod=11 and download the firmware that suits you accordingly...im using v10k open eupore )
1.open the folder u extracted from my rar file
2.rightclick on lgextract LGExtract-0.2.1 and select extract here
3.copy the .Kdz to the extracted folder
4.type
Code:
LGExtract.exe -kdz V10X_xx.kdz
(wherein "v10X_xx " stands for the version of kdz u want to extract eg v10k_00)
5. you should end up with three files a .dz file ,a .dll file and a .cab file ( eg DZ_LGE400AT-00-V10k-EUR-XXX-AUG-08-2012+0.dz ; QCT_E400_20120703.dll and V10k_00.cab
Click to expand...
Click to collapse
STEP 8-EXTRACTING THE ..DZ FILE
1.open the folder that u extracted from my rar file
2. rightclick on the DZDecrypter_v0.5.rar file and select extract here.... do the same for the DZDecrypter_v1.0b.rar file
3. now "copy" the .dz file into both extracted folders
4. open the extracted DZDecrypter_0.5 folder and type
Code:
DZDecrypt.exe LGE610AT-xx-VxxX-XX-XXX-xx-xx-20xx+x.dz
wherein "LGE610AT-xx-VxxX-XX-XXX-xx-xx-20xx+x.dz" is name of the .dz file
5. open the extracted DZDecrypter_v1.0b and do the same
6. now what we need is the boot.img ;recovery.img and system.img
7.make a new folder
8.to get the boot.img and recovery.img go to the DZDecrypter_v0.5 folder and copy the two files to a folder u created
9.to get system.img go to the DZDecrypter_v1.0b folder and find the file named system.img.ext4
10. just rename it to system.img and copy it to the folder u created
Click to expand...
Click to collapse
STEP 9- EXTRACTING THE SYSTEM.IMG and deodexing the System Files
(FOR CUSTOM ROMS CREATE A FOLDER IN C:\cygwin\home\your_user-name\kitchen\ AND NAME IT "WORKING_090313_013348" AND COPY THE META-INF;SYSTEM AND BOOT.IMG INTO IT AND OPEN THE KITCHEN MENU AND FOLLOW FROM THE11TH STEP )
Click to expand...
Click to collapse
NOTE :custom rom users use can this command via the terminal emulator to obtain the system file's on the rom... it is recommended to do this on a Fresh installation or else you will obtain a lot of unwanted files along with the ones needed ..
Code:
su
tar -c system/* >> sdcard/system.tar
Click to expand...
Click to collapse
this will create a .tar file on your sdcard which u can latter transfer to your pc and extract using winrar or 7zip
The files needed are
/app
/bin
/etc
/fonts
/framework
/lib
/media
/semc
/usr
/xbin
build.prop
Click to expand...
Click to collapse
delete the rest of the folders
1.COPY THE BOOT.IMG AND SYSTEM.IMG TO c:\cygwin\home\(your_user_name)\kitchen\original_update
2. open cygwin as adminstrator and open the kichen menu(refer step 6)
3.select option 1 -set up working folder from rom
4.select default 1
5.select n (dont change name)
6.select ext2explore
7.follow the instruction on the cmd
8.select n (don't extract cache.img)
9.select y (view rom info)
10. press enter to continue
11.select option 0 (advanced options)
12.select 11 deodex files in your rom
13.select v and change API LEVEL to 10(this is for gingerbread rom ie 2.3.x for other rom select accrdly)
14.select b deodex both folders ( sometimes u can get errors for few apks to resolve that delete the apks in the location below in system/app ...you have to delete both the .apk and .odex ; PS:don't delete the others they are deodexed...!)
15.press enter
16. view the contents of the folder navigate to C:\cygwin\home\your_user-name\kitchen\WORKING_xxxxxx_xxxxxx u'll find the deodexed apks in system\apps
17.now u can make changes to the file.
Click to expand...
Click to collapse
(OPTIONAL:I have not tried the zip but should work well)
STEP 10- FLASHING THE DEODEXED FILES TO THE ROM
1. open the folder that u extracted from my rar file
2. install 7 zip (7z920.exe) ignore if already there
3.rightclick on 'deodex.zip' and select open with 7zip
4.open system in 7zip
5.replace the /app and /framework from the folders in C:\cygwin\home\your_user-name\kitchen\WORKING_xxxxxx_xxxxxx\system
(Just drag and drop in the opened .zip file)
6. copy the zip file to the sdcard of ur phone
7. flash it via cwm
Click to expand...
Click to collapse
ANDROID KITCHEN IS A AWESOME TOOL ..ALMOST ALL OF THE STEPS IN IT ARE SELF EXPLANATORY ...I SUGGEST THAT U PLAY AROUND WITH IT TO GET USED TO IT ..
CREDITS
@dsixda FOR ANDROID KITCHEN
http://forum.xda-developers.com/showthread.php?t=633246
@pankaj88 FOR KITCHEN SETUP FOR DEODEX
http://forum.xda-developers.com/showthread.php?t=1767392
@Homero2 FOR LGEXTRACT EXTRACTING KDZ FILE
http://forum.xda-developers.com/showthread.php?t=2180586
@copsfrance FOR DZDECRYPT
@yayakuya & @andwie
FOR INTRODUCING ME TO THE THREADS..!
FOR ANY FURTHER QUESTIONS PLS REFER THE LINKS IN CREDIT AS THEY MOST PROBABLY WOULD HAVE BEEN ANSWERED THERE DO YOUR RESEARCH SEARCH AND LEARN ASK QUESTIONS ONLY AS A LAST RESORT NO ONES' A EXPERT ..!
NOTE :: Always make a backup before changing system apk's..! Not responsible for any damages..!
HIT THANKS BUTTON IF I HELPED YOU
THANK YOU...!
Great guide,very good explained and very helpfull,thanx.:thumbup:
GREEEEETZ!!!!
stock rom?
what about stock rom??
-CALIBAN666- said:
Great guide,very good explained and very helpfull,thanx.:thumbup:
GREEEEETZ!!!!
Click to expand...
Click to collapse
thanks man ..!!Much appreciated
arjunrambz said:
what about stock rom??
Click to expand...
Click to collapse
you'll need the boot.img so you have to download the firmware (check in the about phone should be like 10 j or something ) and follow from STEP 7 for any other doubts you can use the links in the credits..!
heres the link to download firmware for l7
http://lg-phone-firmware.com/index.php?id_mod=13
Thanks alot for this
Sent from my LG-E400 using XDA Premium 4 mobile app
skiplou_memory said:
Thanks alot for this
Sent from my LG-E400 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
you always welcome..!:good:
Im getting an error while trying to extract the .dz file...
C:\Users\Aleksandar\Desktop\Decrypter 1>DZDecrypt.exe LGP710AT-00-V10f-EUR-XX-JU
L-23-2013+0.dz
DZ-Decryptor v1.0b *ALPHA RELEASE* by BIGB0SS from COPS.
[■] Opening file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".
[■] Allocated memory: 1280 Mo.
[x] Invalid markers in main header.
[■] Closing file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".
aleksandar_021 said:
Im getting an error while trying to extract the .dz file...
C:\Users\Aleksandar\Desktop\Decrypter 1>DZDecrypt.exe LGP710AT-00-V10f-EUR-XX-JU
L-23-2013+0.dz
DZ-Decryptor v1.0b *ALPHA RELEASE* by BIGB0SS from COPS.
[■] Opening file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".
[■] Allocated memory: 1280 Mo.
[x] Invalid markers in main header.
[■] Closing file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".
Click to expand...
Click to collapse
This method is only for first generation of L series. You tried to extract dz of P710 (L7 II) so obviously it won't work.
andwie said:
This method is only for first generation of L series. You tried to extract dz of P710 (L7 II) so obviously it won't work.
Click to expand...
Click to collapse
So is there a way i can extract that .dz?
aleksandar_021 said:
So is there a way i can extract that .dz?
Click to expand...
Click to collapse
No, not for your device yet.
aleksandar_021 said:
Im getting an error while trying to extract the .dz file...
C:\Users\Aleksandar\Desktop\Decrypter 1>DZDecrypt.exe LGP710AT-00-V10f-EUR-XX-JU
L-23-2013+0.dz
DZ-Decryptor v1.0b *ALPHA RELEASE* by BIGB0SS from COPS.
[■] Opening file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".
[■] Allocated memory: 1280 Mo.
[x] Invalid markers in main header.
[■] Closing file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".
Click to expand...
Click to collapse
Sorry i din't mention it ,this is only for the first generation ;ie l3,l5,l7 (not l3 II,L5 II,L7 II)
after deodex, how to create the KDZ file as before? You can help me?
dn80 said:
after deodex, how to create the KDZ file as before? You can help me?
Click to expand...
Click to collapse
Use can Use this
http://forum.xda-developers.com/showthread.php?t=2179431
Extract apps from stock KDZ
Hello
I'm trying to extract two applications from a Stock Rom KDZ file from my LGE975
I have installed the pacman 4.3 rom, and lost two apps very importante for me. The Diodioct and the Quick translator.
I now that there is thread only for that, but I have already install it and I get a message say "wrong phone model"
I have ask for more help and no answer until now.
So I found this thread i'm asking if there is a way two extract this two apps and install it on my phone with the pacman rom?
Thanks

[How to]Apk Studio, decompilation - recompilation

Apk Studio, decompilation - recompilation, How to
I tried several times to work with Apk Studio, but I could not find a guide to understand exactly how it works.
Finally, one day I understood.
That's why I thought that would be a useful guide to understand others, how simple it is.
-------------------------------------------------------------------------------------------
You need:
Java Runtime Environment
Apk Studio, which you can download here
-------------------------------------------------------------------------------------------
Let's start:
Unzip Apk Studio archive
Reserve the archive, do not delete.
Note: Where you unzip the archive on PC, there you will work. If you wont to change the address on your PC for work, then unzip again the archive to new address.
-------------------------------------------------------------------------------------------
- Create a new folder on Desktop named -> Project 1
- Copy in the new folder Project 1 the file framework-res.apk of the ROM you want to mod.
View attachment 3180767
- Open Apk Studio;
- choose File -> Settings in Apk Studio;
- to Binaries you have the path to binaries, do not touch there;
- click the Add button
View attachment 3180773
- to Tag write -> framework
- to Path click and search the path to Project 1\framework-res.apk, then Open and then Install,
- cick Save
View attachment 3180780
View attachment 3180785
Now framework-res.apk it is installed.
You can install more framework from other ROM, but do not forget to change the name Tag, for that you can recognize it.
-------------------------------------------------------------------------------------------
- add file DeskClock.apk in Project 1, the file is attached below;
View attachment 3180787
View attachment DeskClock.zip
- In folder Project 1 create another folder DeskClock JB or whatever name you want to call (not strictly necessary);
View attachment 3180795
- in Apk Studio open File -> Apk;
- to Project name -> add a name "1" (for example or how do you want), it will be create a folder with this name;
Note: spaces between words are not allowed to this name;
- to Apk Path choose the path to the file DeskClock.apk;
View attachment 3180800
- to Project Location choose the path to the folder DeskClock JB - just select the folder, and click Select Folder, do not open the folder DeskClock JB;
- to Framework - selects the framework installed;
View attachment 3180801
- click Create and waits;
- in Statusbar, Apk Studio will tell you when finished.
- it was made decompilation
-------------------------------------------------------------------------------------------
1. You can work on Apk Studio or you can put in bar and open files with Notepad++
2. You can close Apk Studio and reopen leter.
-------------------------------------------------------------------------------------------
1.
- the folder "1" has been created, as we called the project;
- plus a new folder was created with the name "original", that contains files that will serve to recompile;
View attachment 3180804
View attachment 3180808
- In Apk Studio looking to change the value to the path 1/res/layout/desk_clock_time_date.xml
View attachment 3180812
- find TextView android: textSize = "106.0sp" that should be changed to 100.0sp
View attachment 3180813
- I changed the value;
View attachment 3180814
Why I changed DeskClock.apk, you can see here
- choose File -> Save, and close the file;
- under View - click Build, the Statusbar tells you what makes Apk Studio and when it is finished;
- in the folder Project 1\DeskClock JB\1 was createed a new folder named "built"
View attachment 3180816
- the folder "built" contains the file rebuilt.apk
View attachment 3180818
- rename file rebuilt.apk to DeskClock.apk
That's all.
Done!
-------------------------------------------------------------------------------------------
2.
If you have close Apk Studio to use another program for changes, like Notepad ++ when open again Apk Studio you will see that the source is not there.
- we do a test
- close Apk Studio
- delete the new folder "built", only the folder "built" with content;
- open Apk Studio
- choose File -> Open Directory
- Look for path Project 1\DeskClock JB\1\apktool.yml
- select the file apktool.yml and choose Open;
- source reappears in APK Studio;
- select 1, name folder that contains the source;
View attachment 3180819
- click Built, under View;
- Recompiled folder "built" that you deleted, is recreated and contains rebuilt.apk
- rename the .apk file
That's all.
Done!
-------------------------------------------------------------------------------------------------------------------------------
Thanks to:
vaibhavpandeyvpz for Apk Studio
-------------------------------------------------------------------------------------------------------------------------------
Think Different
"Because the people who are crazy enough to think they can change the world, are the ones who do."
Steve Jobs
Hi!
Can you upload APK Studio 10.0.0.2? For a long time only the new version is available which is unusable.

No Icons after swapping in the system menu root

"Hello all , i post my new guide to change icons without using apktool . This guide is for newbies though other all advance developer may think this useless or may be they known this a very ago.
# Note :-
1) This guide is for all newbies who want to edit there app icons , but dont have apktool or have no knowledge about it .
2) This guide is only applicable for system apps .
3) You should have knoweledge for flashing zips by CWM .
# What is needed ?
1) A must have computer with paint (opptional) [ some phones with Zarchiver app can be used . ]
2) WinRar
3) A flashable zip file supplied by other developer .
4) A icon Set which you want to replace with .
# Procedure :-
1) Make a directory called " stock " .
2) Paste your app in it .
3) Below i have taken SystemUI.apk.
4) Rename that app to SystemUI.zip ( just make .apk to .zip format )
5) Then go to options (press right mouse button) press Extract to SystemUI
6) After extracting go to the extracted folder " SystemUI"
7) Browse to res / drawable-mdpi / you will find all icons there . ( In my case its mdpi , it may be hpdi .)
8) Note that the resolution must be same or it may not look good . [ Expiremental ]
9) Replace the icon which you want to from your icon set .
10) Go back to folder where you will find folders like META-INF , res , & files like AndroidManifest.xml , classes.dex, resources.arsc .
11) Now select that all files and press the right button of the mouse ( the options button) .
12) Select the Add to Archive option .
13) Now keep the same name of the app you are modding and select " zip " .
14) A new zip file is created like " SystemUI.zip" . Rename it to SystemUI.apk ( just from .zip to .apk )
15) Now your modded app is ready .
16) Take the flashable zip provided by other developer .
17) open that zip and replace your file with his . ( in folder system/app/ " replace here ." )
18) Save the zip . And Flash it using CWM !!! Enjoy now you can see your modded icons .!! "
Hello, I do everything according to the manual, but after replacing the app and restart your tablet app disappears from the main mena on the tablet, what I'm doing wrong?
sorry for my english, thang.

Categories

Resources