Tutorial for creating own lock screen for gingerbread - Desire HD Themes and Apps

1. Kindly read my post at
http://forum.xda-developers.com/showthread.php?t=1078446
2. Download this file
http://dl.dropbox.com/u/28960469/Lalit lock.zip
3. Download these trial icon files
http://dl.dropbox.com/u/28960469/256x256.rar
4. Download a free tool Paint.net (google...its free for windows).
5. Patience is required only once then onceu r done..u'll remember all on fingertips
- Make two separate folders and copy icon files in one.
- Open the downloaded zip file with winrar and extract the contents to another folder (do not mess around with original zip always make a backup copy)
- In extracted files you will have three folders
data
meta-inf
system
- open system then app u will find htclockscreen.apk ..Extract this file in different place so that u can view it separately.
- when you have extracted htclockscreen.apk (winrar can do it) go to folder htclockscreen.apk>res>drawable-hdpi folder.
6. Now you will see all the icon files used by lockscreen.. And you will easily identify the icons used by me in my lock screen.(screenshots)
7. Now either use your own collection or the demo icons provided by me open each file you want to edit with paint.net and edit the file as per your
requirement and play around with icons as you like.
8. Now u have a new set of icons in drawable-hdpi folder.
9. Important
Open the lalit lock.zip (do not extract jst keep clicking in winrar in sequense
lalit lock.zip>system>app>htclockscreen.apk>res>drawable-hdpi
copy the icons you edited here via drag and drop (do not destroy the directory or file structure)
10. Let it recompile zip if it asks.
11. Do backup and jst shoot ur zip and u will have ur lockscreen
Happy modding

Related

[Q] creating task bar

how would i edit the task bar in asopmod rom i searched through google i found nothing can someone plz help
First you need to read up on theming but in short all those png's reside in the system/framework/framework-res.apk. In that apk if you goto res/drawable-hdpi folder you'll see all of the png's that make up the task bar.
You'll need apkManager and a paint program.
Simmons - I was trying to do something similar but was having no luck -
I wanted to pull the 4G icons out of an Evo rom and put them in place of the 3G icons on CM6 - i thought it would be a riot -
I extracted the 4G's and renamed them to their 3G counterparts names and have them saved on my desktop - but I dont know the right way to extract framework-res.apk, then put in my new icons, then, and probably most importantly, zip it back up so it will flash right !
any thoughts?
Simple how to theme.
Vandelay007 said:
Simmons - I was trying to do something similar but was having no luck -
I wanted to pull the 4G icons out of an Evo rom and put them in place of the 3G icons on CM6 - i thought it would be a riot -
I extracted the 4G's and renamed them to their 3G counterparts names and have them saved on my desktop - but I dont know the right way to extract framework-res.apk, then put in my new icons, then, and probably most importantly, zip it back up so it will flash right !
any thoughts?
Click to expand...
Click to collapse
heres the How to
An apk is really just a zip file... apk stands for android package (if i remember correctly). So treat it like a standard zip file.
You'll need apk manager this will allow you to sign zips which makes them flashable. get that here
Now get your favorite Rom and make a folder. In that folder make 2 folders one called packed the other called packed. Take your rom and unzip it in the unpacked folder. and then take the original zip and move it to the packed folder.
Next go into the unpacked folder and nav to system/framework.framework-res.apk take this apk and unzip it in this folder and then make a copy of the apk and move the copy to the packed folder.
Now when you want to make a change to the framework-res.apk use the unpacked as a reference. us the packed as the change dir, you do this by opening but not unzipping the apk you want to change and just dragging the files you are replacing into the apk, this will replace them. You might want to make a a 3rd folder sorta of a master copy if you ever mess up the packed roms.
Now that you have an altered framework-res.apk you can just push it to system/framework folder (i think) and reboot and your changes are in. I never do this since flashable is easier to manage I make a flashable.
A flashable is like a but allot smaller, so d/l one of my themes and take the zip file and place in in a folder next to the packed and unpacked folder call it something like staging. now unzip apk manager into the top dir next to 3 other folders you just made.
Now my theme zip can be renamed to whatever you want your going to use it as a place holder for signing flashable zips. go into the theme zip and delete ever thing in the system folder except the framework folder then go into the frame work folder and delete everything.
Your flashable zip folder should only have a a meta-inf folder and a system folder, the system folder should only have a framework folder. Now drag your altered framework-res.apk into the flashable zip folder you just cleaned out.
Ok now you have to sign it copy that flashable zip to the place-apk-here-for-signing folder, this should have shown up when you unzipped apk manager into the folder the also contains unpacked and packed folders.
Now click on the script.bat and you'll see a bunch of option you can do option 16 to sign your zip. it takes a second or two and the date should get updated on the flashable.zip file in the place-apk-here-for-signing folder.
Now you have your new them ready to install. if your changing something else find the apk and replace framework-res.apk in these instruction and it works the same. note that most app reside in system/app so you next to take that into account.
Edit: Maybe I should have made a new thread.
creating task bar
thanks simmons i will let u know how bad i mess up but yes thanks alot man

[Q] building a rom

I have builded my rom I've zipaligned it and deodexed. I've packed rom with cygwin and tried to flash it via CWM but it won't flash. does anybody knows how to pack a rom?
Not sure if i am understanding you correct .
Rezip and sign a rom i use . signing -zip posted here sorry cannot find the link .
jje
Details
his script has 2 main uses:
1. Modify an update.zip
2. Create an update.zip
For #1 - You just extract the contents of an update.zip into the placehere folder, modify its contents, and run the script stating to create an update.zip
For #2 - So far these are the options i have in there for create the update-script
1. Copy directories
2. Copy files
3. Create Symlinks
4. Delete file
5. Delete directory
6. Flash boot image
7. Set permissions for file
8. Set permissions for directory
New Features in 2.0 :
- Set java heap size / compression level for zip
- New drag/drop mode.
>>> - If you drag a folder onto the script's icon (as in Script.bat) it will compress the contents of the folder into a zip and sign it.
>>> - If u drag a zip onto the script's icon (as in Script.bat) it will sign the zip for you.
So this script guides u as u select each option, and adds the appropriate command to the update-script file. Then u exit that sub-menu and create update.zip
I've fixed it already anyway thanks for help
Sent from my GT-I9000 using XDA Premium App

[Q] Extracting separate icon files from an icon pack?

Is it possible to get the icons in an icon pack in separate image files?
*bump*
i'm wondering the same thing, how to extract the image files from an ADW icon pack?
Getting image files
vince_junior said:
Is it possible to get the icons in an icon pack in separate image files?
Click to expand...
Click to collapse
You can make a copy of the apk file and change the apk to zip. After changing the file designation use your favorite unzipping program and extract the files. You should find the icons listed in one of the folders as .png files.
awesome, thanks!
there's no apk file if the pack is downloaded from the market, right? so i just have to search for icon packs in the net?
thanks, tabfreak!
Yes, even if you install from market there is an apk file. If you are rooted there are any number of programs to use to copy the file to your sd card or to a network drive. I use SystemPanel App/ Task Manager (a paid app) to backup all my apps. You can also use a free app "App Backup & Restore" to backup unprotected apps to the sd card and then access the backup from the sd card with the tab attached to your pc.
You don't need to be rooted. Use "ES File Explorer". Go to the apps. Long press the icon pack app and select "share". Then you can save the apk anywhere you want.
So to get this straight: I have to create a zip of the apk and then extract the icon files. Could that be done through the phone or is winrar necessary? And as far as zipping the apk, that could be done with any file explorer?
Sent from SM-T800 or SM-G920F Using IronRom or WETA Audiophile Rom
Steps to pull .png files from an icon pack
Zwhlol-Zniper said:
So to get this straight: I have to create a zip of the apk and then extract the icon files. Could that be done through the phone or is winrar necessary? And as far as zipping the apk, that could be done with any file explorer?
Sent from SM-T800 or SM-G920F Using IronRom or WETA Audiophile Rom
Click to expand...
Click to collapse
Rename the extension of the .apk to .zip. Then extract the zip file.
As an example for the Axis font pack:
1) Find the "base.apk" for the font pack by searching with ES Explorer at the device root level (/)
2) Copy the apk file to another folder
3) Rename "base.apk" to "axis.zip"
4) Extract the zip with the tool of your choice
5) Navigate to "<extract folder>/res/drawable-nodpi-v4" and you will see all of the icons in .png format
sparzdos said:
Steps to pull .png files from an icon pack
Rename the extension of the .apk to .zip. Then extract the zip file.
As an example for the Axis font pack:
1) Find the "base.apk" for the font pack by searching with ES Explorer at the device root level (/)
2) Copy the apk file to another folder
3) Rename "base.apk" to "axis.zip"
4) Extract the zip with the tool of your choice
5) Navigate to "<extract folder>/res/drawable-nodpi-v4" and you will see all of the icons in .png format
Click to expand...
Click to collapse
thanks for this procedure Sparzdos, I was looking for this since a while
now I can extract only the icons I want from each pack whitout risks of getting virusses on the phone

Edit SystemUI for Galaxy Grand Duos

Hello everyone in this thread I will show you how to edit your systemUI.apk without using NinjaMorph or apktool.
This is specially for those who have problem working with the above mentioned tools.
Required things:
1. ROM with custom recovery.
2. Custom MOD package like remove dual sim icon or translucent multi window mod for SGG Duos i.e. GT-I9082.
3. Battery Charge at least above 5%...
4. WinRar or 7-Zip.
5. Stock / Original SystemUI.apk
Procedure:
After you have all the required things lets begin....
1. Open the SystemUI.apk using Archive Tools.
2. Locate the directory of the file you wish to mod.
Example:
I wanted to modify toggle switches so the directory for me would be "SystemUI.apk: \res\drawable-hdpi\(All toggle switches)".
Now since I wanted to replace toggle switches so I got stylish toggle switches and renamed them as it is present in my SystemUI.apk.
3. Get the mods or extract the file, modify it and create folders to store modified file.
Example:
I modified toggle switches so to store modified toggles I should create folder and sub directories like:
"system/app/SystemUI.apk/res/drawable-hdpi/(Store toggles here)".
Note:
"SystemUI.apk" is the folder name..
4. After storing your mods now open any of the UI mods for SGG GT-I9082 inside this archive you will find few files such as data, system, boot.img, vrthemes etc..
5. Open vrtheme folder.
6. Inside this you will find another system folder.
7. Open system/app/SystemUI.apk/.
8. In this SystemUI.apk add your "res" which you created earlier with mods.
Note:
In case you don't find SystemUI.apk folder inside the vrtheme archive then drag'n drop the entire SystemUI.apk folder you created into the archive and note that it should be in store only mode do not compress it.
9. Now copy the archive to your sdcard or extsdcard..
10. Do not reset your device in the recovery.
11. Just go to flash zip part and flash the mod file you have created.
And that's all you got your modified SystemUI....
Link for mod I mentioned can be found here..
Link for toggle switches is here..
Thank you!!
[email protected] said:
Hello everyone in this thread I will show you how to edit your systemUI.apk without using NinjaMorph or apktool.
This is specially for those who have problem working with the above mentioned tools.
Required things:
1. ROM with custom recovery.
2. Custom MOD package like remove dual sim icon or translucent multi window mod for SGG Duos i.e. GT-I9082.
3. Battery Charge at least above 5%...
4. WinRar or 7-Zip.
5. Stock / Original SystemUI.apk
Procedure:
After you have all the required things lets begin....
1. Open the SystemUI.apk using Archive Tools.
2. Locate the directory of the file you wish to mod.
Example:
I wanted to modify toggle switches so the directory for me would be "SystemUI.apk: \res\drawable-hdpi\(All toggle switches)".
Now since I wanted to replace toggle switches so I got stylish toggle switches and renamed them as it is present in my SystemUI.apk.
3. Get the mods or extract the file, modify it and create folders to store modified file.
Example:
I modified toggle switches so to store modified toggles I should create folder and sub directories like:
"system/app/SystemUI.apk/res/drawable-hdpi/(Store toggles here)".
Note:
"SystemUI.apk" is the folder name..
4. After storing your mods now open any of the UI mods for SGG GT-I9082 inside this archive you will find few files such as data, system, boot.img, vrthemes etc..
5. Open vrtheme folder.
6. Inside this you will find another system folder.
7. Open system/app/SystemUI.apk/.
8. In this SystemUI.apk add your "res" which you created earlier with mods.
Note:
In case you don't find SystemUI.apk folder inside the vrtheme archive then drag'n drop the entire SystemUI.apk folder you created into the archive and note that it should be in store only mode do not compress it.
9. Now copy the archive to your sdcard or extsdcard..
10. Do not reset your device in the recovery.
11. Just go to flash zip part and flash the mod file you have created.
And that's all you got your modified SystemUI....
Link for mod I mentioned can be found here..
Link for toggle switches is here..
Thank you!!
Click to expand...
Click to collapse
I thank BalliBoxer, Joehanh88 and many more for providing me the files, mods and ideas...

How to remove background color from apps

Hey guys,
you might have discovered that on your Mate 7 all app icons (that shouldn't have a background) have a background set by your phone.
However, this does not always look good (in my opinion at least) - so I tried to fix it.
There is basically a simple solution to it which I want to share with you here.
Requirements
7zip or any other similar tool on your computer
A file manager app on your phone that supports accessing the whole file system (for example "FX File Explorer")
My solution will probably work with other apps and programs too but I will only describe it for these exact ones.
Part 1: Copying the theme to an accessible location
Copying a preinstalled theme
Open FX File Explorer on your phone. Locate the System category and open it.
Navigate to /system/themes and copy the file you wish to modify. (long press -> copy). The default theme is "Golden.hwt"
Now go back to the main window in FX.
Go to Main Storage and paste the file there. (click on "CLIPBOARD" in the top right corner and click paste in the sidebar that just opened)
Copying a user-installed theme
For user-installed themes this process is optional and mostly unnecessary. However, I will explain it anyway:
Open FX File Explorer on your phone. Locate the Main Storage category and open it
Navigate to HWThemes and copy the file you wish to modify. This time you might have to copy all the .hwt files because they aren't named the same as the theme.
Step 3 and 4 are the same as for preinstalled themes.
Part 2: Modifying the theme
Connect your phone to your computer. Open it with explorer or the file manager you have installed if you are not using Windows.
In the folder Internal Storage you should now find the themes you copied in part 1. Move them to your computer.
For user-installed themes you have to locate the correct theme first. To do that, you have to open each file with 7zip and look for the name in the file description.xml inside the zip (The name is always the entry "title")
Once you have found the correct theme, open it with 7zip. then doubleclick on icons inside the zip.
Download the universal transparent icon pack from the attachment. Open it in a seperate window of 7zip.
Copy all the files in the downloaded zip to the image folder in the theme.
Now navigate up one directory inside the theme zip. Open the file description.xml again and change the name inside the title tag. (Example: <title>XYZ</title> -> <title>XYZ_modified</title>
Close 7zip and copy the file back to your device. YOU HAVE TO PLACE IT IN THE "HWThemes" FOLDER!
Now you can enable the theme just like you activate any other theme (in the Designs app)
Congratulations, you have removed the icon backgrounds from your theme.
Sorry if my english is not that good... It's not my native language
I tried this on Ascend G6 (EMUI3.0).
Srangly enough, it works for some icons, but some icons (not the stock ones!) still have a coloured added background.
MrStickmanPro1 said:
Hey guys,
you might have discovered that on your Mate 7 all app icons (that shouldn't have a background) have a background set by your phone.
However, this does not always look good (in my opinion at least) - so I tried to fix it.
There is basically a simple solution to it which I want to share with you here.
Requirements
7zip or any other similar tool on your computer
A file manager app on your phone that supports accessing the whole file system (for example "FX File Explorer")
My solution will probably work with other apps and programs too but I will only describe it for these exact ones.
Part 1: Copying the theme to an accessible location
Copying a preinstalled theme
Open FX File Explorer on your phone. Locate the System category and open it.
Navigate to /system/themes and copy the file you wish to modify. (long press -> copy). The default theme is "Golden.hwt"
Now go back to the main window in FX.
Go to Main Storage and paste the file there. (click on "CLIPBOARD" in the top right corner and click paste in the sidebar that just opened)
Copying a user-installed theme
For user-installed themes this process is optional and mostly unnecessary. However, I will explain it anyway:
Open FX File Explorer on your phone. Locate the Main Storage category and open it
Navigate to HWThemes and copy the file you wish to modify. This time you might have to copy all the .hwt files because they aren't named the same as the theme.
Step 3 and 4 are the same as for preinstalled themes.
Part 2: Modifying the theme
Connect your phone to your computer. Open it with explorer or the file manager you have installed if you are not using Windows.
In the folder Internal Storage you should now find the themes you copied in part 1. Move them to your computer.
For user-installed themes you have to locate the correct theme first. To do that, you have to open each file with 7zip and look for the name in the file description.xml inside the zip (The name is always the entry "title")
Once you have found the correct theme, open it with 7zip. then doubleclick on icons inside the zip.
Download the universal transparent icon pack from the attachment. Open it in a seperate window of 7zip.
Copy all the files in the downloaded zip to the image folder in the theme.
Now navigate up one directory inside the theme zip. Open the file description.xml again and change the name inside the title tag. (Example: <title>XYZ</title> -> <title>XYZ_modified</title>
Close 7zip and copy the file back to your device. YOU HAVE TO PLACE IT IN THE "HWThemes" FOLDER!
Now you can enable the theme just like you activate any other theme (in the Designs app)
Congratulations, you have removed the icon backgrounds from your theme.
Sorry if my english is not that good... It's not my native language
Click to expand...
Click to collapse
But do I have to downl. your file to get bckgrnd removed ?
Can u show us one screenshot of icons ? how it looks like ?
Thnx
helped!!! BROTHER THIS REALLY HELPED A LOT.. THANK YOU VERY MUCH.........
mrstickmanpro1 said:
hey guys,
you might have discovered that on your mate 7 all app icons (that shouldn't have a background) have a background set by your phone.
However, this does not always look good (in my opinion at least) - so i tried to fix it.
There is basically a simple solution to it which i want to share with you here.
requirements
7zip or any other similar tool on your computer
a file manager app on your phone that supports accessing the whole file system (for example "fx file explorer")
my solution will probably work with other apps and programs too but i will only describe it for these exact ones.
part 1: Copying the theme to an accessible location
copying a preinstalled theme
open fx file explorer on your phone. Locate the system category and open it.
navigate to /system/themes and copy the file you wish to modify. (long press -> copy). The default theme is "golden.hwt"
now go back to the main window in fx.
go to main storage and paste the file there. (click on "clipboard" in the top right corner and click paste in the sidebar that just opened)
copying a user-installed theme
for user-installed themes this process is optional and mostly unnecessary. However, i will explain it anyway:
open fx file explorer on your phone. Locate the main storage category and open it
navigate to hwthemes and copy the file you wish to modify. This time you might have to copy all the .hwt files because they aren't named the same as the theme.
step 3 and 4 are the same as for preinstalled themes.
part 2: Modifying the theme
connect your phone to your computer. Open it with explorer or the file manager you have installed if you are not using windows.
in the folder internal storage you should now find the themes you copied in part 1. Move them to your computer.
for user-installed themes you have to locate the correct theme first. To do that, you have to open each file with 7zip and look for the name in the file description.xml inside the zip (the name is always the entry "title")
once you have found the correct theme, open it with 7zip. Then doubleclick on icons inside the zip.
download the universal transparent icon pack from the attachment. Open it in a seperate window of 7zip.
copy all the files in the downloaded zip to the image folder in the theme.
now navigate up one directory inside the theme zip. Open the file description.xml again and change the name inside the title tag. (example: <title>xyz</title> -> <title>xyz_modified</title>
close 7zip and copy the file back to your device. you have to place it in the "hwthemes" folder!
now you can enable the theme just like you activate any other theme (in the designs app)
congratulations, you have removed the icon backgrounds from your theme.
sorry if my english is not that good... It's not my native language
Click to expand...
Click to collapse
thİs really helped bro.. And it works too. Thanks again.. I have beeen looking for this for ages... But i found itnow..
Hi,
This is something I was eagerly looking forward on my new Y6 (EMUI 3.1).
I have followed all your steps unto 6.
Bit confused with "Copy all the files in the downloaded zip to the image folder in the theme.".
Can you please clarify the above for me?
Thanks in advance :good:
MrStickmanPro1 said:
Hey guys,
you might have discovered that on your Mate 7 all app icons (that shouldn't have a background) have a background set by your phone.
However, this does not always look good (in my opinion at least) - so I tried to fix it.
There is basically a simple solution to it which I want to share with you here.
Requirements
7zip or any other similar tool on your computer
A file manager app on your phone that supports accessing the whole file system (for example "FX File Explorer")
My solution will probably work with other apps and programs too but I will only describe it for these exact ones.
Part 1: Copying the theme to an accessible location
Copying a preinstalled theme
Open FX File Explorer on your phone. Locate the System category and open it.
Navigate to /system/themes and copy the file you wish to modify. (long press -> copy). The default theme is "Golden.hwt"
Now go back to the main window in FX.
Go to Main Storage and paste the file there. (click on "CLIPBOARD" in the top right corner and click paste in the sidebar that just opened)
Copying a user-installed theme
For user-installed themes this process is optional and mostly unnecessary. However, I will explain it anyway:
Open FX File Explorer on your phone. Locate the Main Storage category and open it
Navigate to HWThemes and copy the file you wish to modify. This time you might have to copy all the .hwt files because they aren't named the same as the theme.
Step 3 and 4 are the same as for preinstalled themes.
Part 2: Modifying the theme
Connect your phone to your computer. Open it with explorer or the file manager you have installed if you are not using Windows.
In the folder Internal Storage you should now find the themes you copied in part 1. Move them to your computer.
For user-installed themes you have to locate the correct theme first. To do that, you have to open each file with 7zip and look for the name in the file description.xml inside the zip (The name is always the entry "title")
Once you have found the correct theme, open it with 7zip. then doubleclick on icons inside the zip.
Download the universal transparent icon pack from the attachment. Open it in a seperate window of 7zip.
Copy all the files in the downloaded zip to the image folder in the theme.
Now navigate up one directory inside the theme zip. Open the file description.xml again and change the name inside the title tag. (Example: <title>XYZ</title> -> <title>XYZ_modified</title>
Close 7zip and copy the file back to your device. YOU HAVE TO PLACE IT IN THE "HWThemes" FOLDER!
Now you can enable the theme just like you activate any other theme (in the Designs app)
Congratulations, you have removed the icon backgrounds from your theme.
Sorry if my english is not that good... It's not my native language
Click to expand...
Click to collapse
Hi ArnoJeroen,
Huawei Y6 / EMUI 3.1
I am facing the same problem It works for some icons but not for all ... did you find out any solutions to resolve this? any feedback will be much appreciated.
ArnoJeroen said:
I tried this on Ascend G6 (EMUI3.0).
Srangly enough, it works for some icons, but some icons (not the stock ones!) still have a coloured added background.
Click to expand...
Click to collapse

Categories

Resources