[Q] gingerbang 2.01 question - Verizon Droid Incredible 2

hey guys
just want to say love the gingerbangsense 2,01 rom. been using it awhile now..no problems so far.i was wondering though if its possible to change the pulldown menus and such.maybe a patch or something. or were the file is to edit it, im not trying to take away from the great work you did...but would like to place my own touch on my phone i;m not a noob but being i have less then 10 posts i'm not aloud to post in the development section. away. keep up the GREAT work !!!

johne105 said:
hey guys
just want to say love the gingerbangsense 2,01 rom. been using it awhile now..no problems so far.i was wondering though if its possible to change the pulldown menus and such.maybe a patch or something. or were the file is to edit it, im not trying to take away from the great work you did...but would like to place my own touch on my phone i;m not a noob but being i have less then 10 posts i'm not aloud to post in the development section. away. keep up the GREAT work !!!
Click to expand...
Click to collapse
anything is possible to change theme wise..what exactly color/theme wise are u wanting to do

wasn't looking to change themes per say....just the pull down menu were it has the "VIvoW" was maybe looking to put my name there.and also at the top on the apps menu were you have "teamsbrissenmod" like i said before i;m not looking to take away from all of your hard work,,just looking to personalize my phone.and if maybe someone swipes it ,it will have my name all over it. i'm using gingerbang sense 2.01 as my daily driver for a week or so and its been running excellent .love your work. anyway thanks for responding,,i know your a busy guy and i appreciate it that your answered my post.cant say that about all the other developers out there,,,,,so THANKS MAN !!

johne105 said:
wasn't looking to change themes per say....just the pull down menu were it has the "VIvoW" was maybe looking to put my name there.and also at the top on the apps menu were you have "teamsbrissenmod" like i said before i;m not looking to take away from all of your hard work,,just looking to personalize my phone.and if maybe someone swipes it ,it will have my name all over it. i'm using gingerbang sense 2.01 as my daily driver for a week or so and its been running excellent .love your work. anyway thanks for responding,,i know your a busy guy and i appreciate it that your answered my post.cant say that about all the other developers out there,,,,,so THANKS MAN !!
Click to expand...
Click to collapse
if you are good with apkmanager/apktool i can let you know what/where to edit those 2 specific things
if not, tell me what you would like it to say in place of VivoW and teamsbrissenmod and ill edit for ya, and upload

haven't used apk tools yet...going to try it. if you dont mind,,id like to put "JOHNS INC 2" WERE VivoW IS ON THE PULLDOWN screen and "JOHNS APP FILES" WERE teamsbrissenmod is on the app menu. i dont know what you would load it to..a zip file? that would work..can update via cwm. maybe you can also tell me were the files are on the phone,,if not to much a pain in the ass...i like to tinker,,maybe i can finally figure out apk tools. again i greatly appreciate you taking the time out to help me...if you have a paypal account or somewhere i can donate...even just coffee money or something let me know...thanks again

I would like to do that . I dowload the new apk manager. What is the next step please.

johne105 said:
haven't used apk tools yet...going to try it. if you dont mind,,id like to put "JOHNS INC 2" WERE VivoW IS ON THE PULLDOWN screen and "JOHNS APP FILES" WERE teamsbrissenmod is on the app menu. i dont know what you would load it to..a zip file? that would work..can update via cwm. maybe you can also tell me were the files are on the phone,,if not to much a pain in the ass...i like to tinker,,maybe i can finally figure out apk tools. again i greatly appreciate you taking the time out to help me...if you have a paypal account or somewhere i can donate...even just coffee money or something let me know...thanks again
Click to expand...
Click to collapse
i dont do things for donations...if u like something ive done, and want to donate thats completely optional but appreciated
i dont have much time through the end of the weekend...but i can upload a zip with those 2 changes for you on monday (im off)...ill pm it to u
android-incredible said:
I would like to do that . I dowload the new apk manager. What is the next step please.
Click to expand...
Click to collapse
if you have apkmanager, u will need to install the proper frameworks for sense with apktool (i use linux apktool exclusively at home...when forced to use windows i use apkmanager but put apktool if my sdk/tools folder for installation)
in the scenario where u have an apktool.jar in ur sdk/tools folder (doesnt matter where apkmanager is)
pull framework-res.apk and com.htc.resources.apk from the rom.zip and put them in ur tools folder
cd ur tools folder
Code:
apktool if framework-res.apk
apktool if com.htc.resources.apk
(this will install the proper frameworks for decompile/recompile)
now pull systemui.apk and rosie.apk from the rom.zip
decompile both
go into projects folder for apkmanager
*to edit the pulldown from VivoW
-go into framework-res.apk folder in projects
-res folder -> values folder > strings.xml
change the "VivoW" in this at the bottom:
Code:
<string name="custom_status_banner">VivoW</string>
to whatever u want less than 16 characters (iirc)
*to edit TeamSbrissenMod from Rosie app drawer header
-go into rosie.apk folder in projects
-res folder _>values folder -> strings.xml
change the "TeamSbrissenMod" near the bottom in this:
Code:
<string name="all_apps_tab_all_apps">TeamSbrissenmod</string>
to whatever u want
*edit: if using sense 3 patch, must do the above edit to that rosie as well (systemUI isnt changed so theres no additional one to edit for VivoW)
any sense 2.1 rom rosie can be edited like that, the sys ui edit doesnt exist in other roms though, i added it to the xml and methods in smali

wow......just had a brain meltdown....i dont know how you guys do it...writing code,roms and such...i read thru your directions on how to change those 2 files..and i'm stunned at how much work goes into it...i give you alot of credit man..i really do....ok then...i'm a noob with apk tools...i'll tinker with it...but if your still up to it i really could use the zip update after the weekend,,when you have time....i'm running your gingerbangsense 2.01 with the sense 3 patch also with the clock removed on pulldown and the transparent zip.just want to say thanks in advance for this and again..THANKS for all your great roms !!!...damn..after reading those directions again...i have a hangover type headache...!!

johne105 said:
wow......just had a brain meltdown....i dont know how you guys do it...writing code,roms and such...i read thru your directions on how to change those 2 files..and i'm stunned at how much work goes into it...i give you alot of credit man..i really do....ok then...i'm a noob with apk tools...i'll tinker with it...but if your still up to it i really could use the zip update after the weekend,,when you have time....i'm running your gingerbangsense 2.01 with the sense 3 patch also with the clock removed on pulldown and the transparent zip.just want to say thanks in advance for this and again..THANKS for all your great roms !!!...damn..after reading those directions again...i have a hangover type headache...!!
Click to expand...
Click to collapse
I'll put a.zip together that contains no clock and and the two edits us like on Monday

nitsuj17 said:
i dont do things for donations...if u like something ive done, and want to donate thats completely optional but appreciated
i dont have much time through the end of the weekend...but i can upload a zip with those 2 changes for you on monday (im off)...ill pm it to u
if you have apkmanager, u will need to install the proper frameworks for sense with apktool (i use linux apktool exclusively at home...when forced to use windows i use apkmanager but put apktool if my sdk/tools folder for installation)
in the scenario where u have an apktool.jar in ur sdk/tools folder (doesnt matter where apkmanager is)
pull framework-res.apk and com.htc.resources.apk from the rom.zip and put them in ur tools folder
cd ur tools folder
Code:
apktool if framework-res.apk
apktool if com.htc.resources.apk
(this will install the proper frameworks for decompile/recompile)
now pull systemui.apk and rosie.apk from the rom.zip
decompile both
go into projects folder for apkmanager
*to edit the pulldown from VivoW
-go into framework-res.apk folder in projects
-res folder -> values folder > strings.xml
change the "VivoW" in this at the bottom:
Code:
<string name="custom_status_banner">VivoW</string>
to whatever u want less than 16 characters (iirc)
*to edit TeamSbrissenMod from Rosie app drawer header
-go into rosie.apk folder in projects
-res folder _>values folder -> strings.xml
change the "TeamSbrissenMod" near the bottom in this:
Code:
<string name="all_apps_tab_all_apps">TeamSbrissenmod</string>
to whatever u want
*edit: if using sense 3 patch, must do the above edit to that rosie as well (systemUI isnt changed so theres no additional one to edit for VivoW)
any sense 2.1 rom rosie can be edited like that, the sys ui edit doesnt exist in other roms though, i added it to the xml and methods in smali
Click to expand...
Click to collapse
wao looks complicated,I prefer to wait for you, I would like to change the VivoW for (My incredible 2) and teamsbrissenmod for (Incredible2 apps)

thanks man....that would be great !!!!

That's a lot of work to edit two little lines
Apktool hates me

thank you my friend...greatly appreciate it !!!

android-incredible said:
wao looks complicated,I prefer to wait for you, I would like to change the VivoW for (My incredible 2) and teamsbrissenmod for (Incredible2 apps)
Click to expand...
Click to collapse
Hi nitsuj17, this is just a reminder.thanks

android-incredible said:
Hi nitsuj17, this is just a reminder.thanks
Click to expand...
Click to collapse
I dont know what happened but i can't send pm.ok bro this is what i have. The tsm_gbvivow_sense3_patch_2.1.zip also I have the remove_trans_pulldown.zip
I have Android version 2.3.4,HTC Sence version 2.1
In the notifications screen i would like to change the name of VivoW for My incredible and the name of TeamSbrissenmod for My incredible2
thanks

android-incredible said:
Hi nitsuj17, this is just a reminder.thanks
Click to expand...
Click to collapse
android-incredible said:
I dont know what happened but i can't send pm.ok bro this is what i have. The tsm_gbvivow_sense3_patch_2.1.zip also I have the remove_trans_pulldown.zip
I have Android version 2.3.4,HTC Sence version 2.1
In the notifications screen i would like to change the name of VivoW for My incredible and the name of TeamSbrissenmod for My incredible2
thanks
Click to expand...
Click to collapse
i got your pm...will probably get to it tomorrow

nitsuj17 said:
i got your pm...will probably get to it tomorrow
Click to expand...
Click to collapse
Thanks.......

android-incredible said:
Thanks.......
Click to expand...
Click to collapse
Nitsuj17, I know you are busy, but im not sure if you forget the fix. Thanks......

Related

Ultimate Extractor

I got this idea from a thread where someone was asking for a certain icon pack and I suggested to go one by one and grab the icon from each apk. I then thought to myself that this could all be automated. So here it is:
Ultimate Extractor
HOW TO USE:
1. Download icex.zip
2. Make folder C:\icex
3. Extract files from icex.zip to C:\icex
4. Put the theme in C:\icex (has to have .zip extension)
5. Make sure that the theme is the only zip file in C:\icex
6. Now you have 4 choices:
-> 6a: If you want everything (.pngs, .jpgs, .xmls) run UltimateExtractor.bat
-> 6b: If you want only icons (icon.png or ic_launcher*.png) run IconExtractor.bat
-> 6c: If you want almost every single .png run PngExtractor.bat
-> 6d: If you want to run Ultimate Extractor on .apks and not a whole zip file, run UltimateExtractorApk.bat *NEW*
Thanks to ultra spikey for his theme porter script which I based mines off of and thanks to woelv for the thread that got me to do this.
xidominicanoix said:
I got this idea from a thread where someone was asking for a certain icon pack and I suggested to go one by one and grab the icon from each apk. I then thought to myself that this could all be automated. So here it is:
ICon EXtractor v1.0
HOW TO USE:
1. Download icex.zip
2. Make folder C:\icex
3. Extract files from icex.zip to C:\icex
4. Put the theme in C:\icex (has to have .zip extension)
5. Make sure that the theme is the only zip file in C:\icex
6. Now you have to choices:
-> 6a: If you want every single icon, run IconExtractor.bat
-> 6a -> 1: You will be prompted twice
-> 6a -> 2: Hit 'u' and enter at both prompts
-> 6b: If you dont want to be prompted, run IconExtractor_NoPrompt.bat
7. All the icons will now be in folder C:\icex\icons
The reason that the non prompting one won't give you all the icons is because a lot of icons are named "icon.png" so they end up overwriting each other. Also some of the ic_launcher* icons have the same name as well (such as ic_launcher_gallery). The prompting script gives you the option to automatically rename the .pngs as they are extracted. I will try and find a way around this eventually.
I will try to find a way to get all the icons without being prompted (its a 7z thing)
Thanks to ultra spikey for his theme porter script which I based mines off of and thanks to woelv for the thread that got me to do this.
Click to expand...
Click to collapse
wow man... you never cease to amaze me... keep up the badass work!
Ted417 said:
wow man... you never cease to amaze me... keep up the badass work!
Click to expand...
Click to collapse
hehe thanks man .. if only i could get it to be perfect
nice work! now you need another tool to repack the icons. so people can extract icons from one place and repack them automatically into another. that would be perfect since people who extract the icons want to use it for another app or theme.
NguyenHuu said:
nice work! now you need another tool to repack the icons. so people can extract icons from one place and repack them automatically into another. that would be perfect since people who extract the icons want to use it for another app or theme.
Click to expand...
Click to collapse
well thats what ultra spikey's theme porter is for
xidominicanoix said:
The reason that the non prompting one won't give you all the icons is because a lot of icons are named "icon.png" so they end up overwriting each other. Also some of the ic_launcher* icons have the same name as well (such as ic_launcher_gallery). The prompting script gives you the option to automatically rename the .pngs as they are extracted. I will try and find a way around this eventually.
Click to expand...
Click to collapse
Maybe you could create folders for each apk. So that the icons can be easily identified?
Great work, by the way!
RichieDaze said:
Maybe you could create folders for each apk. So that the icons can be easily identified?
Great work, by the way!
Click to expand...
Click to collapse
i was able to get them into folders for each apk but i was having trouble getting them to the root of each folder (they were in res/drawable within each folder which is what im trying to avoid)
ill keep working on it and see if i can get them into the root of their own folders
EDIT: found a huge bug which ill be fixing for the next update
xidominicanoix said:
i was able to get them into folders for each apk but i was having trouble getting them to the root of each folder (they were in res/drawable within each folder which is what im trying to avoid)
ill keep working on it and see if i can get them into the root of their own folders
EDIT: found a huge bug which ill be fixing for the next update
Click to expand...
Click to collapse
This would make mylife ten times easier to port themes. I have to search through the whole rom to get the png's I need. It takes around 4 hours to do. Plus some of the older roms png's have different names for them. Mostly on the Framework. Does it extract the png's from the Framework as well?
Yea it should be doing so but ill double check to make sure
EDIT: no i wasnt doing it before but i implemented it now
ok new update
have everything in separate folders now
enjoy
ALSO, for anyone who's curious .. that 'huge bug' is due to some themes having an 'app' folder while others have 'system/app' ... my script wasnt working with the 'app' folder before ... now it tests for it
EDIT: had to re up it real quick with a small fix
Should I reboot after doing this process or simply the icons apply themselves instantly? 'Cause I did it and nothing happened. i'm on CyanogenMod 3.97 and try to put icons of the Aero theme...Can some help...Pleaseeee
fairymaru said:
Should I reboot after doing this process or simply the icons apply themselves instantly? 'Cause I did it and nothing happened. i'm on CyanogenMod 3.97 and try to put icons of the Aero theme...Can some help...Pleaseeee
Click to expand...
Click to collapse
this isnt changing the icons in your phone .. this extracts the icons from any theme and puts them in a folder on your computer .... its mainly a help to theme devs or anyone looking just for icons
Ohhh ok good thanks for the reply
This program works great....Only one thing though, on the launcher folder, seems like the png's w/ the same name get over writen. Example= "delete_handle" from Res/drawable-land AND Res/drawable-port aren't two different Png's. Maybe for this apk and others with thhe same folders, you could place them in the original folders----Drawable----Drawable-land----Drawable-port, as you said it work before hand. Some other folder/Png's are missing as well...
I tryed to use UltraSpikey's theme converter and was unsucessful. I was More accurate using this method, thanks to you... It is gladly appreciated...
RichieDaze said:
This program works great....Only one thing though, on the launcher folder, seems like the png's w/ the same name get over writen. Example= "delete_handle" from Res/drawable-land AND Res/drawable-port aren't two different Png's. Maybe for this apk and others with thhe same folders, you could place them in the original folders----Drawable----Drawable-land----Drawable-port, as you said it work before hand. Some other folder/Png's are missing as well...
I tryed to use UltraSpikey's theme converter and was unsucessful. I was More accurate using this method, thanks to you... It is gladly appreciated...
Click to expand...
Click to collapse
yea the overwriting pisses me off but its the only way to get it fully automated .. i will add a second version that will prompt to rename any pngs ... or i can try to get the drawable, drawable-land, and drawable-port right ... can you let me know which folders are missing so i can see why?
Can't wait until saturday night, i'm off work, so i can play with this. Thanks for your hard work!
RichieDaze said:
This program works great....Only one thing though, on the launcher folder, seems like the png's w/ the same name get over writen. Example= "delete_handle" from Res/drawable-land AND Res/drawable-port aren't two different Png's. Maybe for this apk and others with thhe same folders, you could place them in the original folders----Drawable----Drawable-land----Drawable-port, as you said it work before hand. Some other folder/Png's are missing as well...
I tryed to use UltraSpikey's theme converter and was unsucessful. I was More accurate using this method, thanks to you... It is gladly appreciated...
Click to expand...
Click to collapse
now they get extracted into their respective folders (drawable, drawable-land, drawable-port, etc) (also this stops the overwriting )
temporizer said:
Can't wait until saturday night, i'm off work, so i can play with this. Thanks for your hard work!
Click to expand...
Click to collapse
no problem man .. just trying to use what ive learned so far to help out the community
Works perfect now!!!
Ten Thumbs up!!!!!!
Now its like stealing candy from the baby...
Any ideas that i should implement .. it feels sorta 'final' but i can always try and optimize/revise/add to it
There's always room for improvement... How about making this script pull the Jpeg"s off the Framework and Launcher??? Then at a later date(Next update) locate the most common edited Xml's files to be pulled off next...

Customize your phone (theme/icons/locksreen)

Hello dear Forum...
First off I have to apologize if I missed something in a sticky,
since I'm new to the forum and the hole rooting/customizing on my GT I-9000.
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Could anyone provide a link or an explanation how to:
# set own icons for apps
# set lockscreen (as its said there are 4 different ones on this ROM; plus changing the lockscreen image in the settings is not quite working for me)
# setting another theme - if not too complicated.
many thanks in advance - seems to be a truly nice community!
reimi said:
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Click to expand...
Click to collapse
Final ?? When did it come out ?? Didn't find on Darky's website.
Sorry , wasn't logged in.
GT-I9000 said:
Final ?? When did it come out ?? Didn't find on Darky's website.
Click to expand...
Click to collapse
its the files name, I downloaded from somewhere in this thread:
http://forum.xda-developers.com/showthread.php?t=814091
reimi said:
Hello dear Forum...
First off I have to apologize if I missed something in a sticky,
since I'm new to the forum and the hole rooting/customizing on my GT I-9000.
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Could anyone provide a link or an explanation how to:
# set own icons for apps
# set lockscreen (as its said there are 4 different ones on this ROM; plus changing the lockscreen image in the settings is not quite working for me)
# setting another theme - if not too complicated.
many thanks in advance - seems to be a truly nice community!
Click to expand...
Click to collapse
To change the icon in an apk, you need to get the apk, open it with winrar and go to drawable-hdpi
There are pngs there. Normally, the icon one is called icon.png, but on some apps, it has a different name, for example ic_launcher_phone.png
You edit it and substitute it.
Then you push the apk back into your phone into /system/app in case it's a system app or you just copy the apk to your sdcard and install it.
Lockscreen background may not work with some specific lockscreens.
For a theme, to make one you'd need to edit the pngs in framework-res.apk/drawable-hdpi (opening it with winrar) and then push it back. That's for changing icons and part of the appearance, but to change text colours and other things you'd need to decompile the apk and edit some xml's.
To apply a theme you just need the zip of the theme, copy it into your sdcard and install it through cwm.
coldflid said:
To change the icon in an apk, you need to get the apk, open it with winrar and go to drawable-hdpi
There are pngs there. Normally, the icon one is called icon.png, but on some apps, it has a different name, for example ic_launcher_phone.png
You edit it and substitute it.
Then you push the apk back into your phone into /system/app in case it's a system app or you just copy the apk to your sdcard and install it.
Lockscreen background may not work with some specific lockscreens.
For a theme, to make one you'd need to edit the pngs in framework-res.apk/drawable-hdpi (opening it with winrar) and then push it back. That's for changing icons and part of the appearance, but to change text colours and other things you'd need to decompile the apk and edit some xml's.
To apply a theme you just need the zip of the theme, copy it into your sdcard and install it through cwm.
Click to expand...
Click to collapse
thank you for the answer!
Is there no way to change the icons of stock applications?
And how may I change the lockscreen?
could you please give me a link, or something how to apply themes via cwm - to be honest I don't even know what cwm is.
sorry for all the questions - many thanks in advance!
reimi said:
thank you for the answer!
Is there no way to change the icons of stock applications?
And how may I change the lockscreen?
could you please give me a link, or something how to apply themes via cwm - to be honest I don't even know what cwm is.
sorry for all the questions - many thanks in advance!
Click to expand...
Click to collapse
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app
For the lockscreen, to theme the glass lockscreen, you need to edit the pngs in framework-res.apk/res/drawable-hdpi named zzz_unlock_arrow_0000.png up to zzz_unlock_arrow_0009.png and the zzz_unlock_blackbg.9.png and zzz_blackbg_dual.9.png
To theme puzzle lockscreen:
edit zzz_unlock_puzzle_noti_icon_unlock and zzz_unlock_puzzle_noti_icon_unlock_fit
For android lockscreen (in framework-res.apk/res/drawable-land-hdpi):
ic_jog_dial_unlock
ic_jog_dial_sound on
ic_jog_dial_sound off
For epic unlock on framework-res.apk/res/drawable-hdpi
mod zz_unlock_lockbg_press
mod zz_unlock_lockbg_press
In case you want to get a stock framework and get aosp lockscreen:
To get aosp lockscreen you'd need to decompile classes.dex in android.policy.jar and edit a few files.
For that, i use ubuntu.
You open android.policy.jar and extract classes.dex
Then get baksmali and smali and place them in the same location as classes.dex
Open up a terminal and type cd and the location
Example:
cd /home/coldflid/Desktop
Then type java -jar baksmali-1.2.5.jar classes.dex
(if you've got another version of bajsmali change the 1.2.5 for the version you have).
You can type java -jar baksmali-1.2.5.jar classes.dex -o *
Where * is the name of the folder where you want classes.dex to be decompiled
Then you'd need to mod LockPatternKeyGuardView.smali or replace it with a modded one.
Then type in terminal
Then type java -jar smali-1.2.5.jar *
Where * is the name of the folder where classes.dex was decompiled
out.dex should be generated, rename it to classes.dex and copy it to android.policy.jar (replace the old one).
Then use root explorer to copy it to system/framework
coldflid said:
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app
For the lockscreen, to theme...
Click to expand...
Click to collapse
thank you for the answer!
I'm currently using LockBot Pro to change the locksreen and its background, works fine for me.
I'll try to change the stock app icons as soon as I have time. Thanks!
coldflid said:
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app...
Click to expand...
Click to collapse
I'm currently trying to substitute the stock app icons.
My question is, how I can find out, which of all those images is used for the menu and how can I browse the folders on my pc, which I can browse on my phone via root explorer...
thanks for the answer!

[Guide][DDKQ8] Remove "Swipe screen to unlock" | Center lockscreen Clock | more...

[Guide][DDKQ8] Remove "Swipe screen to unlock" | Center lockscreen Clock | more...
No guide can explain every bit of information a beginner needs to know to achieve the wanted results. You need to make an effort and have patience to learn what you need.
This guide assumes that you have some basic knowledge like managing files on your phone, setting permissions, using command prompt on your computer. I will not explain what is ADB or Root Explorer or how to use them. google can help with that.
The steps described here are the steps i did on my computer (windows) and my rom (rooted, deodexed). i cannot promise to offer support, i'm a semi-noob myself.
standard disclaimer applies: Do it at your own risk & Backup your system before trying any of this.
What you will need:
• apk file compiler/decompiler: i will use apktool
• archive manager: winrar, 7zip
• Text editor : Notepad++ is recommended
• A way to manage files on the phone: ADB, Android Commander, Root Explorer
• an image editor (for some parts): Photoshop, Gimp, Paint.NET...
Part I. Decompiling
1. First you need to download and install apktool which allows you to decompile apk files and rebuild them. some people prefer APK Manager but i find apktool simpler to use.
Download these two files and export them to your Windows directory.
apktool-install-windows-r04-brut1.tar.bz2
apktool1.4.3.tar.bz2
2. Pull the file framework-res.apk from /system/framework/ on your phone and place it on your computer. for exemple under C:\lockscreen\
3. Now open a command prompt window and change the current directory to C:\lockscreen\ by entering the command
Code:
cd c:\lockscreen
Then decompile your apk file by entering the following command
Code:
apktool d framework-res.apk
This will create a new folder named framework-res within it are the decompiled contents of framework-res.apk
Part II. Editing files
Remove "Swipe screen to unlock"
1. Open \framework-res\res\values\strings.xml
2. Find lockscreen_unlock_guide_text
3. In that line, delete Swipe screen to unlock
Note: \res\values\strings.xml is for English language. if you're using a differnet language on your phone then you have to edit the corresponding strings.xml file in the proper values directory. for exemple if you're using French then you'll have to edit the strings.xml file under values-fr
Change the date format on the lock screen
1. Open \framework-res\res\values\strings.xml
2. Find mid_month_day_mid_wday_no_year
3. Replace E. d MMM. with the format you want.
Reference:
d numeric Day of the Month (1)
dd numeric Day of the Month (01)
EEE short Day of the week (Mon)
EEEE long Day of the week (Monday)
M numeric Month (1)
MM numeric Month (01)
MMM short Month (Jan)
MMMM long Month (January)
yy short year (09)
yyyy long year (2009)
exemple: yyyy MMMM d, EEEE to display 2012 March 12, Monday
Center the lockscreen clock and date
Explaining this mod step by step would take too long. All the editing is done in a single file \res\layout\zzz_keyguard_screen_clockwidget.xml
I uploaded the edited file (not compiled). All you have to do is replace you original file under framework-res\res\layout\ with this one before you compile. Advanced users can take a look at it, compare it with the original and edit it if they want/can.
I also replaced the charging icon that appears on the lockscreen. The png file is inluded with the xml file. To apply it, after you're done with Part III of this guide, open your modded apk file with winrar/7zip, browse to \res\drawable-mdpi\ then drag the png and drop it in the apk.
Part III. Creating the modded file
After we're done editing the xml files, we will recompile them and update the original apk with the modded ones.
1. Go back to that command prompt window and enter the following command to recompile the files
Code:
apktool b framework-res
(no .apk at the end)
when it's done, you will find a new folder under framework-res named build where the compiled files are placed.
2. Go to framework-res\build\apk\ copy the resources.arsc file
3. Open your original framework-res.apk file with an archive manager like winrar or 7zip (do not extratct, open with) and paste resources.arsc inside it.
4. If you used the edited zzz_keyguard_screen_clockwidget.xml file, then you have also to copy the compiled version from \buid\apk\layout\ and paste it under the same path inside your apk file.
Now your framework-res.apk is modded and ready to be installed.
5. Place the apk in your phone under /system/framework/ and set its permissions to rw-r--r--
Note: Some may prefer to copy the file to /system/ first, set the permissions and then move it to /system/framework
6. Reboot
Changing the font of the clock:
For some reason, this clock is not actual text, it does not use a font. Instead, the numbers are png files placed under /res/drawable-mdpi/
So to change the font, you will have to make new png files for each number, plus one for the column )
I uploaded the ones i made. you can take a look at them to note the dimensions and names of the files. you have to use those same names. also notice that there are two different files for the number one.
After you're done modding your framework-res.apk and just before you send it your phone, open it with winrar and browse to /res/drawable-mdpi/ then drag the png files you made and drop them inside the apk.
Flashable zips:
lockscreen_text_patch_DDKQ8.zip => remove "Swipe screen to unlock" text
LockscreenMod_Stock_DDKQ8.zip => Centered clock and mod with replaced clock font for stock DDKQ8
dali47 said:
This is a short guide explaining how to remove the "Swipe screen to unlock" text from the new galaxy-note-like lockscreen available in the new DDKQ8 rom.
i will add more details if asked for.
Click to expand...
Click to collapse
Maybe you know how to make the date display more "acceptable"? I hate how it looks in stock...
I would really appreciate a flashable zip to solve this problem.
Nice
FROM XDA APP
PRESS THNX IF I HELPED YOU
U can remove everything from lockscreen
herpderp © aint got money to pay to my fish
Thanks..!! was searching for this..!!
Will try this today or tomorrow...can anyone tell or make a guide on how to enable crt animation on stock 2.3.6 DDKQ8
Sent from my GT-S5830 using xda premium
iSxy said:
Will try this today or tomorrow...can anyone tell or make a guide on how to enable crt animation on stock 2.3.6 DDKQ8
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Same way as every other
herpderp © aint got money to pay to my fish
Hey Can u tell the way by wich i can use this lockscreen in lewa rom....
if i want to replace stock rom lockscreen, i need to replace framework-res.apk only, right?
1 Question..
Can we just replace that Swipe to unlock text to our own custom one?
wassupadi said:
Hey Can u tell the way by wich i can use this lockscreen in lewa rom....
Click to expand...
Click to collapse
i dont think u can
FROM XDA APP
PRESS THNX IF I HELPED YOU
iSxy said:
1 Question..
Can we just replace that Swipe to unlock text to our own custom one?
Click to expand...
Click to collapse
Yes
FROM XDA APP
PRESS THNX IF I HELPED YOU
Good guide.
Sent from my GT-S5830 using xda premium
kmarci said:
Maybe you know how to make the date display more "acceptable"? I hate how it looks in stock...
I would really appreciate a flashable zip to solve this problem.
Click to expand...
Click to collapse
how do you mean acceptable?
i can only make a flashable zip for specific roms and themes. maybe i will see what roms out there are based on DDKQ8 and make a couple of zips.
i usually prefer making guides than making falashable zips so anyone can apply the mod on it's own specific system.
wassupadi said:
Hey Can u tell the way by wich i can use this lockscreen in lewa rom....
Click to expand...
Click to collapse
the lockscreen it hard coded un the framework, maybe also some other files. i personally cnt do it. if you want to try to port it i can provide you with any files you need from stock DDKQ8
hanaxxaru said:
if i want to replace stock rom lockscreen, i need to replace framework-res.apk only, right?
Click to expand...
Click to collapse
not really. not all frameworks are compatible with all roms. it probably will not work. it needs to be ported. but you can try of you want. just make a backup of your system before.
iSxy said:
1 Question..
Can we just replace that Swipe to unlock text to our own custom one?
Click to expand...
Click to collapse
sure you can. just replace "swipe screen to unlock" with whatever you want. there might be some limitations for how much text you can fit. i didnt try it.
K ty..ill try tomorw for custom text.. Anyone tell me some good line to write?
Sent from my GT-S5830 using xda premium
dali47 said:
how do you mean acceptable?
i can only make a flashable zip for specific roms and themes. maybe i will see what roms out there are based on DDKQ8 and make a couple of zips.
i usually prefer making guides than making falashable zips so anyone can apply the mod on it's own specific system.
Click to expand...
Click to collapse
Something in this format: year. month day., name of the day. For today: 2012. march 12., monday
I'm on same rom as you are (stocklite v5). Would you please help me how to change the date display?
kmarci said:
Something in this format: year. month day., name of the day. For today: 2012. march 12., monday
I'm on same rom as you are (stocklite v5). Would you please help me how to change the date display?
Click to expand...
Click to collapse
ok, i figured it out
open \res\values\strings.xml
find mid_month_day_mid_wday_no_year
in that line, change E. d MMM. into yyyy. MMMM d., EEEEE
re-build and replace resources.arsc in original apk
posibilities
is it possible to move the framework thing to another stock rom using maybe titanium back up?
dali47 said:
ok, i figured it out
open \res\values\strings.xml
find mid_month_day_mid_wday_no_year
in that line, change E. d MMM. into yyyy. MMMM d., EEEEE
re-build and replace resources.arsc in original apk
Click to expand...
Click to collapse
Hey dude, you're unbeleivable! Thanks a lot! (Unfortunatelly I can only hit once the thanks button... )
torchwolfery said:
is it possible to move the framework thing to another stock rom using maybe titanium back up?
Click to expand...
Click to collapse
not sure what "thing" you mean. but no. Titanium Backup backs up apps and settings. the lockscreen is neither an app nor a setting.
kmarci said:
Hey dude, you're unbeleivable! Thanks a lot! (Unfortunatelly I can only hit once the thanks button... )
Click to expand...
Click to collapse
glad to help

Please help me with theming!

Okay, I am really sorry if this sounds negative or like a rant, first off. I really want to get into theming. I have been trying for weeks, possibly months, to figure out how to do certain things. I have only recently been able to successfully make a zipthemer mod, and that's very easy. I really need specific help. The tutorials that I have seen are not specific enough, as they assume that you have prior knowledge of things like SDK and ADB. I am a completely clean slate. I have been completely unsuccessful in finding a step by step tutorial that I can actually follow to get the things done that I want to do. Maybe it's just me, but I have been literally hours searching for it. I have asked for help, but never get any because people tell me to go research how to do it.
I want to do only two things now...I am running dark paranoid android and I want to change the circlemod battery from the stock to white. I have the pngs, I just don't know where to put them or what files need to be edited. I also have no coding experience, so I need fairly specific help to learn what things need to change.
I also want to change the clock in the status bar from the ICS blue to white.
That's it....I know it sounds like it should be simple, but it's not to me. I have tried and tried to find the answers on my own, but have been wholly unsuccessful. It has left me feeling jaded and frustrated, leading to this thread.
Can somebody please point me somewhere that will teach me what I need to know with kid gloves? I want to really get into doing this and participate in the community, but I fail time and time again. I have tried to find pre-made themes to do what I want, but everything is usually too deeply modded whereas I only want to change a few things. Please help!
they go in the systemui.apk /res/drawables-xhdpi folder. If there is already a circles mod there, you don't need to code anything. The status bar clock color is in styles.xml of systemui.apk. The color code for ics is #33b5e5, so change it to #ffffff.
Here's the line of code you need to change. https://github.com/android/platform...r/packages/SystemUI/res/values/styles.xml#L41
change @android:color/holo_blue_light to #ffffff.
This is called hard coding, and in an ideal world, you'd change it to @color/status_bar_clock then add that value to colors.xml, but i know google will never optimize their code that way
artvandelay440 said:
they go in the systemui.apk /res/drawables-xhdpi folder. If there is already a circles mod there, you don't need to code anything. The status bar clock color is in styles.xml of systemui.apk. The color code for ics is #33b5e5, so change it to #ffffff.
Click to expand...
Click to collapse
Thank you very much. I didn't know which XML to look at.
I am pretty sure I tried putting the mod in that folder but it didn't take for some reason. I have looked pretty deeply into any other place they could be and can't find it for some reason.
Sent from my Galaxy Nexus using Tapatalk 2
liquid150 said:
Thank you very much. I didn't know which XML to look at.
I am pretty sure I tried putting the mod in that folder but it didn't take for some reason. I have looked pretty deeply into any other place they could be and can't find it for some reason.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Look in the /drawable folder in systemui. If the mod is present, you should find a stat_sys_battery_circle.xml in there.
artvandelay440 said:
Look in the /drawable folder in systemui. If the mod is present, you should find a stat_sys_battery_circle.xml in there.
Click to expand...
Click to collapse
Thank you I will check it out.
Sent from my Galaxy Nexus using Tapatalk 2
No problem. I'm writing a guide for my site on theming that's aimed at both beginners and advanced. I'll link it here when I'm done.
Sent from my Galaxy Nexus using Tapatalk 2
artvandelay440 said:
No problem. I'm writing a guide for my site on theming that's aimed at both beginners and advanced. I'll link it here when I'm done.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Any idea why when I flash white numbers into phone.apk it doesn't change anything? I am not in a place I can play with XML (no computer) so I tried something else.
Does pa/cm10 use a different apk?
Sent from my Galaxy Nexus using Tapatalk 2
liquid150 said:
Any idea why when I flash white numbers into phone.apk it doesn't change anything? I am not in a place I can play with XML (no computer) so I tried something else.
Does pa/cm10 use a different apk?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Phone.apk dial numbers used for "During a call dialer" so you have to change Contacts.apk dial numbers.
Yep- he's right. The ones in phone.apk are for the in-call dialpad.
Is there a fairly specific tutorial thread that I can turn to for editing XML files? From my very limited understanding I have to decompile it and work through it myself. Do I do this through ADB and push it? Is there an ADB tutorial to do things like that? I was hoping somebody here has a fairly specific noob-friendly tutorial.
My issue is that most of the tutorials that I have seen just say things like "use X tool and decompile." Well, I don't know how to do that. lol.
Thanks to everyone for all your help, and also to anybody else that helps in advance.
liquid150 said:
Is there a fairly specific tutorial thread that I can turn to for editing XML files? From my very limited understanding I have to decompile it and work through it myself. Do I do this through ADB and push it? Is there an ADB tutorial to do things like that? I was hoping somebody here has a fairly specific noob-friendly tutorial.
My issue is that most of the tutorials that I have seen just say things like "use X tool and decompile." Well, I don't know how to do that. lol.
Thanks to everyone for all your help, and also to anybody else that helps in advance.
Click to expand...
Click to collapse
For decompile:
*you will need to have Java runtime installed*
1.download http://minus.com/mwgtTbmZd
2.create a folder c:\apktools
3.Take the zip and unzip all 4 files to c:\apktools
4.You will need to pull the framework-res.apk from the rom you are working on. Copy it to c:\apktools
5.Rename apktool.jar.1.4.2 to apktool.jar
6.Open a command window and make sure everything you do from now on is while you are in this folder c:\apktools
* If you don't know how, just open command window and by use this command ( cd.. ) until you are in ( C:\ ) driver then ( cd apktools )
7.In command window type: java -jar apktool.jar if framework-res.apk
You only need to do this once, unless you are working on a different Rom
8.decompile framework-res with apktool: java -jar apktool.jar d framework-res.apk
make any changes you want
9.Now compile: java -jar apktool.jar b framework-res
If you get error compile it with apktool version 1.4.3, So what I do at this point is rename apktool.jar to apktool.1.4.2, and then rename apktool.jar.1.4.3 to apktool.jar
10.Once it is done compiling you will need to go to c:\apktools\framework-res\dist and you will now see your new framework-res.apk
Just remember to copy any apk you want to decompile right into the root of c:\apktools
--
Now put your new for example framework-res in flashable zip (attached) and flash by using Rom Manager aka CWM.
Note that framework-res.apk should be inside framework folder, and SystemUI.apk inside app folder.
I'll make one tonight and link it.
Sent from my Galaxy Nexus using Tapatalk 2
Oh, one more question...is this a lot easier to do in Linux? I haven't installed my copy of Ubuntu on my new box yet because I haven't felt the need yet.
liquid150 said:
Oh, one more question...is this a lot easier to do in Linux? I haven't installed my copy of Ubuntu on my new box yet because I haven't felt the need yet.
Click to expand...
Click to collapse
I'd start in Linux since more of the advanced concepts require it.
Sent from my Galaxy Nexus using Tapatalk 2
Check this out. It might help http://www.jbthemes.com/artvandelay440/theming-guide/
I am having trouble finding the status bar xml controlling clock color (battery, too). I am not seeing a values nor styles folder nor XML in System UI. My ROM is DarkPA. If anybody knows offhand where I should look please let me know, otherwise I will continue on my own.
you won't see a /values folder until you decompile it. then, it will be in /res.
liquid150 said:
Oh, one more question...is this a lot easier to do in Linux? I haven't installed my copy of Ubuntu on my new box yet because I haven't felt the need yet.
Click to expand...
Click to collapse
get that ubuntu booted
Sent from my Galaxy Nexus using Tapatalk 2
If you still need help tomorrow let me know. I could either do the edits for you or help you with the apps you need ...
Thyrus said:
If you still need help tomorrow let me know. I could either do the edits for you or help you with the apps you need ...
Click to expand...
Click to collapse
I am available as well. Hit me up via talk if need be. I have helped many setup theming. Although i use xdaautoapktool which is much more comprehensive theming tool...
Sent from my Nexus 7 using Xparent Blue Tapatalk 2

[Full guide][ICS/JB] Make your own theme!! [09-03-2013]

About me
I didnt see any thread with ALL guides in ONE place. And I think alot people want to know how to do this or that. Its also clearer for myself to have an all-in-one placed tutorials! So with all the help of awesome people and myself Im gonna teach you stuff! All credits goes to other people. Ask Q ONLY in this thread! Dont expect too much: I modify this thread very rarely!
Requirements
Notepad++ [editing /xml]
Apktool [Basic knowledge of compiling apks] Helpfull link: click
Root explorer [to push apk back to your phone]
7zip [to replace .pngs]
Nandroid backup [important]
Guides
1. How to get custom statusbar?
To replace your statusbar with a custom .png go to:
SystemUI.apk/res/values/drawables.xml search this line
Code:
<item type="drawable" name="status_bar_background">
make changes as
Code:
<item type="drawable" name="status_bar_background">@drawable/statusbar</item>
now place statusbar.png file in drawable folder then recompile.
2. How to get my home-screen?
http://www.youtube.com/watch?v=hVoXrS-RWBY
3. How to delete text under toggles?
This is hardest part cuz Lidroid is 'different'. First, follow this to succesfully decompile it: http://forum.xda-developers.com/showpost.php?p=31991217&postcount=1
After that, go to: res\layout\power_widget_button.xml
Add this: visibility="gone" to TextView and it should be gone now!
You can also delete the text WiFi, Bluetooth, Silent, etc. in the strings.xml in values folder!
4. How to modify framework?
Just replace .pngs in your drawable-res-hdpi folder!
This will change all system actions, like pop-up look, buttons look, and alot more!
5. How to change background in settings / dialer?
Remember: You CANT change for dialer AND settings it can only be done for both. Go to framework-res.apk > res > drawable-nodpi > tw_dialog_bg [kind of this]
And replace with SAME format and same name! now you hav this bg in file manager, settings, an much more!
6. How to change grid size of touchwiz launcher?
http://forum.xda-developers.com/showthread.php?t=1990801
This thread tells you which size: http://forum.xda-developers.com/showthread.php?t=1990801
And this is also usefull: http://forum.xda-developers.com/showpost.php?p=28561607&postcount=1690
7. Change icon of system apps [dont work with market ones]
Go to the apk and look for the icon, just extract the folders and you'll see it. Replace it with an icon-pack from this thread: clik
So no need to decompile and after this just push back to sysem/app dont forget to set perm.
8. Custom bootanimation on stock based kernels [speedmod]?
So, we love the stability and battery of speedmod kernel. But also get rid of the boring samsung boot. The steps:
Your bootanimation MUST HAVE FINITE REPEAT VALUES, otherwise you will be stucked in a beautiful boot loop.
*What is this?
Open your zip and see the txt file. The number after all "p" must be HIGHER than 0. It means how many times this part will repeat, and 0 is infinite
1- Pick your desired bootanimation.zip and make two clones. Rename them to ODEAnim.zip and sanim.zip
3- Move the three zip files to /system/media
4- Go to /system/bin. Backup and delete the file samsungani. Rename the file bootanimation (this file you find in this folder; it ISNT your zip file) to samsungani.
5- Reboot
Error guides
* By theming you ll always run into problems. Like bootloops. Mostly its with framework-res.apk. If you get bootloop try this: click And if your system suddendly reboots after replacing framework-res its normal, just wait and reboot one more time. You can also try wipe cache and dalvik! But it isnt normal when u got statusbar fc then you have recompile errors or did sth wrong.
* When you try to push files back after theming and your file manager says: cannot paste. That means you havent enough space in your /system partition. Deleting useless [system] apps and 'tts' folder can free up alot! U can also buy micro SD and with TB move apps2sd
:good:
---------- Post added at 09:34 PM ---------- Previous post was at 09:26 PM ----------
Thanks
WALLPAPERS!!! IF U WANNA KNOW WHERE I GOT MY AWESOME WALLS HEAD OVER TO THIS AWESOME THREAD CREDITS FOR ROSARIA! http://forum.xda-developers.com/showthread.php?t=1942169&page=13
NEW!!!
I made blue clock for lockscreen!!
Download pngs here: http://www.mediafire.com/?c3segwhvay411v9
Replace in framework/res/drawablehdpi
AW: [THEME][MOD][4.2.1 XWLSD] Blue Steel
Nice Theme, good Work
Can you tell me where you have changed the text?
http://img843.imageshack.us/img843/4318/20130226223431.png
Regards Marcel
marcel2909 said:
Nice Theme, good Work
Can you tell me where you have changed the text?
http://img843.imageshack.us/img843/4318/20130226223431.png
Regards Marcel
Click to expand...
Click to collapse
WHERE ARE THE DOWNLOADS AND SCREENSHOTS???? I CANT SEE THEM HERE ON THIS THREAD
bold and red just to get attention..dont get offended... just gimme the theme if its beautiful
marcel2909 said:
Nice Theme, good Work
Can you tell me where you have changed the text?
Regards Marcel
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2162055
After that, move folder meta-inf and manifest from ORIGINAL to your new.apk. Otherwise you get weird errors and bootloop. Happy theming!
Update: New screenshots coming!!
Update v3!!!
Hey people..I updated almost EVERYthing and like to share it with you, go to post 1! You can also ask me things if you wanna know how2doit! Hope u like it ^^
EDIT: I CHANGED THE PURPOSE OF THIS THREAD, I WILL PROVIDE TUTORIALS FOR THEMING FOR JUST ANYTHING AND IT GETS UPDATED ONCE IN A WHILE
Re: [THEME][4.1.2] Cyanginger all-in-one mod[8-3-13]
Request link
Spoiler
Device : GT I9100
Rom : WanamLite V14.3
Hey, I dont know if it also works on wanam, [i have omegarom] but you can always try it.. Make nandroid FIRST
This is my systemui, with custom statusbar, wallpaper and MUCH more! http://forum.xda-developers.com/showpost.php?p=38912032&postcount=96
In attachment
If it doesnt work u can always ask me what you want I couldnt teach or do it for you. In my free time!
Rene_ajax said:
5. How to change background in settings / dialer?[/B]
Remember: You CANT change for dialer AND settings it can only be done for both.
Click to expand...
Click to collapse
Not entirely true, depends on the theme being used as the base.
nice to see that my teaching was not in vain
keep learning.
jackq said:
nice to see that my teaching was not in vain
keep learning.
Click to expand...
Click to collapse
yu mate. Then nobody have to ask again and again and also to give you credits thanks alot again!
I wil add more but dont have time right now
might try it out

Categories

Resources