Customize your phone (theme/icons/locksreen) - Galaxy S I9000 Themes and Apps

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!

Related

How to build my own theme?

Hello, I am looking forward on creating my own them for Galaxy S2, so I suppose I need to find where all the icons are located.
I will probably open the stock samsung theme graphics in photoshop and edit them, so any idea where they are located?
Is this the correct way of doing it?
ZenorGR said:
Hello, I am looking forward on creating my own them for Galaxy S2, so I suppose I need to find where all the icons are located.
I will probably open the stock samsung theme graphics in photoshop and edit them, so any idea where they are located?
Is this the correct way of doing it?
Click to expand...
Click to collapse
Easy and beginers way:
Start with UOT kitchen: http://uot.dakra.lt/
Get the SystemUI.apk and framework-res.apk from the rom which you want to theme. Upload it to the kitchen and edit what you want.
Cook the theme and flash it with CWM as an update.
More advanced:
Get the toucwiz's framework and Settings.apk, you can edit png's of settings menu and touchwiz launcher. (you can not do this with UOT kitchen)
And check out this thread: http://forum.xda-developers.com/showthread.php?t=916814
GOOD LUCK!
Thanks Dark Emotion, good guide!
Dark Emotion said:
Easy and beginers way:
Start with UOT kitchen: http://uot.dakra.lt/
Get the SystemUI.apk and framework-res.apk from the rom which you want to theme. Upload it to the kitchen and edit what you want.
Cook the theme and flash it with CWM as an update.
More advanced:
Get the toucwiz's framework and Settings.apk, you can edit png's of settings menu and touchwiz launcher. (you can not do this with UOT kitchen)
And check out this thread: http://forum.xda-developers.com/showthread.php?t=916814
GOOD LUCK!
Click to expand...
Click to collapse
Thank you, what about the Notification bar power controls? Where can these be found?
ZenorGR said:
Thank you, what about the Notification bar power controls? Where can these be found?
Click to expand...
Click to collapse
In the UOT kitchen: go to icons (check "Use this mod"), scroll down and check "Notification Power Buttons" and just choose any icon set you want. You can choose between 8 types of icons.
No I meant, in which apk are they found, so I can replace them with my own.
Is it on the framework-res.apk or systemUI.apk ?
/edit: Found them, on SystemUI.apk -> res folder
But it seems they are indexed png images, so can't edit them in photoshop. I suppose I will have to replace them.
Ok one more question would be, is it possible to change the color of the White popup windows?(like the one that popus when you long press the power button).
I know it's possible to edit the background color, but what about the font color? I suppose it's found on the xml.
Here's how the popup is displayed on kitchen:
ZenorGR said:
Ok one more question would be, is it possible to change the color of the White popup windows?(like the one that popus when you long press the power button).
I know it's possible to edit the background color, but what about the font color? I suppose it's found on the xml.
Here's how the popup is displayed on kitchen:
Click to expand...
Click to collapse
Sorry man but I don't know answer to that question.
Well I found that the font colors may exist on framework-res\res\values\colors.xml if you decompile framework-res.apk
But after changing a color value, I then compiled the apk, replaced the new on on my phone and got boot loop so I had to re-flash a different theme to unstuck.
If anyone got any idea on how to change the font colors let me know!
If you have a search in the "how to theme" thread (link already posted) I put up a zip that I had lying on my desk top that tells you where to find a lot of the text colours.
The only problem with editing these is some apps will still use their own colour code and could cause problems like readability.
Hope this helps.
Edit: I had them on my sd card, credit to the creator!!!
In which page dully?
ZenorGR said:
In which page dully?
Click to expand...
Click to collapse
I've posted them in my last post m8
Oh now I see it, so the one I am looking for is bright_foreground_light color. I want that in white, so the hex would be this one right? #ffffffff
Well that's what I did, then compiled the framework-res and replaced it on the Systems folder, then rebooted the phone but I got a reboot loop.
Any suggestions?
What did you use apkmanager?
If so did you answer yes and yes then delete what you modified from the keep folder
I used apktool:
apktool b framework-res(folder)
but as I can see now, the new apk compiled it's missing the META-INF folder, maybe that's why?
/edit:
So I just tried with apk-manager, I used the same method then compiled (answered yes/yes) now I have this:
unsignedframework-res.apk
But getting an error when trying to sign it.
ZenorGR said:
I used apktool:
apktool b framework-res(folder)
but as I can see now, the new apk compiled it's missing the META-INF folder, maybe that's why?
/edit:
So I just tried with apk-manager, I used the same method then compiled (answered yes/yes) now I have this:
unsignedframework-res.apk
But getting an error when trying to sign it.
Click to expand...
Click to collapse
Don't sign it, you don't sign system apks.
Just delete the "unsigned" part or rename to framework-res.apk and push or flash and it should work.
Ok thanks.
I just replaced it but no go, the font is still black(atleast there is no boot loop this time).
I suppose I messed up the part on apk_manager where it says to delete any files you modified on the "keep" folder.
On keep folder there was no value/colors.xml(colors.xml is the one I edited the bright_foreground_light).
Cheers
Did you delete resources.arsc?
No, let me try again.
Success! Dude you rock! Thanks a lot, for providing lot's of great info about this, here it is: blue font and full black pop-up menus.
Also attached two more shots of the theme I am making:
ZenorGR said:
No, let me try again.
Click to expand...
Click to collapse
Basically resources.arsc is the"hidden" xml folders that become visible when you decompile.

[Q] How to remove current wallpaper?

Is it even possible to remove default wallpaper? Sorry for the stupid question.
If what you mean is to change the default wallpaper, I think you could modify the framework-res.apk file. There's a resource file called default_wallpaper.png (or close to that, I forget ) change it with an image you want, I believe there's a tutorial about that in XDA
If you want to change your current wallpaper, you could do a long press at your homescreen and select wallpaper
Hope this helps,
Regards,
Reidzeibel
Sent from Ridwandroid-2.3.6 : 1804 MHz OC & Customized I8150DXLA2 Stock ROM w/ Cowithgun's kernel & Zeppelinrox V6 Script
reidzeibel said:
If what you mean is to change the default wallpaper, I think you could modify the framework-res.apk file. There's a resource file called default_wallpaper.png (or close to that, I forget ) change it with an image you want, I believe there's a tutorial about that in XDA
If you want to change your current wallpaper, you could do a long press at your homescreen and select wallpaper
Hope this helps,
Regards,
Reidzeibel
Sent from Ridwandroid-2.3.6 : 1804 MHz OC & Customized I8150DXLA2 Stock ROM w/ Cowithgun's kernel & Zeppelinrox V6 Script
Click to expand...
Click to collapse
Yeah yeah! Default wallpaper is what i meant. Where is this framework-res.apk file that i can change? Hmmm.
I found the framework-res.apk file, but couldn't find the default_picture.png?
SyzwnFrzRdz said:
Yeah yeah! Default wallpaper is what i meant. Where is this framework-res.apk file that i can change? Hmmm.
Click to expand...
Click to collapse
This is how I did it :
1. Your phone must be rooted
2. Install "root explorer" or such application (I assume you know how to use it, if not, google it, it's not hard,really)
3. Copy the original framework-res.apk (in /system/framework/framework-res.apk) to your SD card, copy it to your PC.
4. Use 7-zip to open the framework-res.apk from your phone
5. Move to "\framework-res.apk\res\drawable-hdpi\" (see screenshot)
6. Look for "default_wallpaper.jpg" (see screenshot again)
7. Now, you could just change that file with another file, choose the wallpaper of your choice, and resize it to match the resolution of the "default_wallpaper.jpg" (if it's 400x800, your new file SHOULD have the same resolution, to prevent... I don't know, just to be on the safe side )
8. Rename your new file to Default_wallpaper.jpg, and drag it to the 7-zip window with the original default_wallpaper.jpg, overwrite it
9. Push the new framework-res.apk to your phone (use root explorer or adb, I used the root explorer)
10. Reboot phone
NOTE!!
I haven't tried to change the default wallpaper, but I do change many parts of the framework-res.apk, DO AT YOUR OWN RISK!
Here's the screenshot of my expanded Notification bar :
http://s1-03.twitpicproxy.com/photos/full/502609161.png
Hope this helps,
Regards,
Reidzeibel
reidzeibel said:
This is how I did it :
1. Your phone must be rooted
2. Install "root explorer" or such application (I assume you know how to use it, if not, google it, it's not hard,really)
3. Copy the original framework-res.apk (in /system/framework/framework-res.apk) to your SD card, copy it to your PC.
4. Use 7-zip to open the framework-res.apk from your phone
5. Move to "\framework-res.apk\res\drawable-hdpi\" (see screenshot)
6. Look for "default_wallpaper.jpg" (see screenshot again)
7. Now, you could just change that file with another file, choose the wallpaper of your choice, and resize it to match the resolution of the "default_wallpaper.jpg" (if it's 400x800, your new file SHOULD have the same resolution, to prevent... I don't know, just to be on the safe side )
8. Rename your new file to Default_wallpaper.jpg, and drag it to the 7-zip window with the original default_wallpaper.jpg, overwrite it
9. Push the new framework-res.apk to your phone (use root explorer or adb, I used the root explorer)
10. Reboot phone
NOTE!!
I haven't tried to change the default wallpaper, but I do change many parts of the framework-res.apk, DO AT YOUR OWN RISK!
Here's the screenshot of my expanded Notification bar :
http://s1-03.twitpicproxy.com/photos/full/502609161.png
Hope this helps,
Regards,
Reidzeibel
Click to expand...
Click to collapse
Step 4 is not that clear Reidzeibel, you mean open it on my phone or PC?
Oh sorry, I mean, open the file on your PC (it's the one that you modify, and later push it to overwrite the original framework-res.apk)
And before doing anything to your handheld, prepare a nandroid backup just in case. I did a nandroid backup everytime I modify the Android system files.
Regards,
Reidzeibel
reidzeibel said:
Oh sorry, I mean, open the file on your PC (it's the one that you modify, and later push it to overwrite the original framework-res.apk)
And before doing anything to your handheld, prepare a nandroid backup just in case. I did a nandroid backup everytime I modify the Android system files.
Regards,
Reidzeibel
Click to expand...
Click to collapse
Dude :
-I extracted framework-res.apk using 7zip on my PC.
-I replaced the default wallpaper with my desired wallpaper.
-Now, i do not know how to compressed it back to .apk file.
No, don't extract it, just open it in 7-zip and leave it opened, don't extract, don't do anything, just find the image file you want to change, resize it to match the resolution of "default_wallpaper.jpg".
I've attached two more screenshots to show you, hope it helps
Regards,
Reidzeibel
P.S:
-In the "drag" screenshot, I replaced three files, those with entries on the "created" and "accessed" field are the ones I replaced, the files I edit are shown in the explorer window behind the 7-zip window
reidzeibel said:
No, don't extract it, just open it in 7-zip and leave it opened, don't extract, don't do anything, just find the image file you want to change, resize it to match the resolution of "default_wallpaper.jpg".
I've attached two more screenshots to show you, hope it helps
Regards,
Reidzeibel
P.S:
-In the "drag" screenshot, I replaced three files, those with entries on the "created" and "accessed" field are the ones I replaced, the files I edit are shown in the explorer window behind the 7-zip window
Click to expand...
Click to collapse
Bro,
I did exactly as you show the steps above and it suddenly reboots! Why it happened?
EDIT :
By doing all those methods, will it change the lockscreen a well?
P/S : Do you know how to modify the transition when locking the phone? Just asking!
SyzwnFrzRdz said:
Bro,
I did exactly as you show the steps above and it suddenly reboots! Why it happened?
EDIT :
By doing all those methods, will it change the lockscreen a well?
P/S : Do you know how to modify the transition when locking the phone? Just asking!
Click to expand...
Click to collapse
Uh, I had no reboot while doing the push, I rebooted manually after having several force close windows popped up (in my case), but then after reboot, it works normally. Is the default wallpaper changed?
No, Lockscreen wallpaper have it's own option in the settings->display
And for the transition, no I didn't have time to try it yet. But I do want to learn how to change my phone lockscreen transition into ICS manually (without theme) <--- this, or your question is about the crt-animation when screen turns off (locking phone)?
reidzeibel said:
Uh, I had no reboot while doing the push, I rebooted manually after having several force close windows popped up (in my case), but then after reboot, it works normally. Is the default wallpaper changed?
No, Lockscreen wallpaper have it's own option in the settings->display
And for the transition, no I didn't have time to try it yet. But I do want to learn how to change my phone lockscreen transition into ICS manually (without theme) <--- this, or your question is about the crt-animation when screen turns off (locking phone)?
Click to expand...
Click to collapse
1. My phone rebooted itself and then there were some FC's with the launcher. I clicked on Force Close and it is back to normal. My default wallpaper changed as i desired as well! Thanks to you Reidzeibel!
2. For lockscreen wallpaper, there's nothing related to modifying the framework, is it?
3. Due to lockscreen transition, i meant that by changing the transition into ICS manually because i LOVE the old-tv-like transition!
SyzwnFrzRdz said:
1. My phone rebooted itself and then there were some FC's with the launcher. I clicked on Force Close and it is back to normal. My default wallpaper changed as i desired as well! Thanks to you Reidzeibel!
2. For lockscreen wallpaper, there's nothing related to modifying the framework, is it?
3. Due to lockscreen transition, i meant that by changing the transition into ICS manually because i LOVE the old-tv-like transition!
Click to expand...
Click to collapse
1. Mine was : Force close ALL THE WAY =___=, then the notification bar screwed up, all applications icon turned to default, the phone became laggy, then I rebooted manually. There's the thanks button, click it, LOL
2. As far as I know, All theme-related files are :
-Framework-res.apk
-SystemUI.apk
-Settings.apk
These three files have some connection to the theme, I themed my notification bar as in the first post by modifying Framework-res and SystemUI. The ICS theme file in the Theme Thread has the three files included inside it. Thus to edit the lockscreen transition, I believe you have to edit the three files, in a more complicated way (might have to deodex, decompile, recompile, smali-ing, and so on)
3. Actually you could just apply the ICS theme, and then modify the framework-res.apk to enable the CRT-animation, it is easier than porting the ICS theme to your own framework-res.apk
reidzeibel said:
1. Mine was : Force close ALL THE WAY =___=, then the notification bar screwed up, all applications icon turned to default, the phone became laggy, then I rebooted manually. There's the thanks button, click it, LOL
2. As far as I know, All theme-related files are :
-Framework-res.apk
-SystemUI.apk
-Settings.apk
These three files have some connection to the theme, I themed my notification bar as in the first post by modifying Framework-res and SystemUI. The ICS theme file in the Theme Thread has the three files included inside it. Thus to edit the lockscreen transition, I believe you have to edit the three files, in a more complicated way (might have to deodex, decompile, recompile, smali-ing, and so on)
3. Actually you could just apply the ICS theme, and then modify the framework-res.apk to enable the CRT-animation, it is easier than porting the ICS theme to your own framework-res.apk
Click to expand...
Click to collapse
1. Clicked it already! Hehe.
2. I think i'm gonna opt that out as i do not how to do those complicated stuffs, well i'm not a dev.
3. ICS Theme? Where do i find it? And how do i modify to enable CRT-animation? I have so much to learn! Sorry for the excessive '?'.
1. Thanks for clicking thanks )
2. I'm not a dev too -_-, but I do learn some stuffs to modify my I8150, read many topics here, and I'm sure you'd be able to personalize your I8150
3. There's one at the Theme thread, But I haven't tried it yet, If you want to try it, make sure you create a nandroid backup beforehand.
No worries about the excessive "?"
Actually I have a thread in another forum that explains about the CRT-animations and modifying SystemUI & Framework-res.apk, read it somewhere in XDA. (forget where it is) Too bad it is in Indonesian Language, too busy to translate it into english, maybe later I'll post at the theme section, as it is all about theme. *and I just reached 10 post here on XDA, thanks to you too )*
reidzeibel said:
1. Thanks for clicking thanks )
2. I'm not a dev too -_-, but I do learn some stuffs to modify my I8150, read many topics here, and I'm sure you'd be able to personalize your I8150
3. There's one at the Theme thread, But I haven't tried it yet, If you want to try it, make sure you create a nandroid backup beforehand.
No worries about the excessive "?"
Actually I have a thread in another forum that explains about the CRT-animations and modifying SystemUI & Framework-res.apk, read it somewhere in XDA. (forget where it is) Too bad it is in Indonesian Language, too busy to translate it into english, maybe later I'll post at the theme section, as it is all about theme. *and I just reached 10 post here on XDA, thanks to you too )*
Click to expand...
Click to collapse
Mister Reidzeibel, thanks for the short reply as well as your helps. I appreciate it dude! Thanks AGAIN! For default wallpaper, i'm really quite satisfied with the outcome. For the lockscreen, maybe i'll just use my picture as one. HAHA! And for the lockscreen transition, i have posted a new thread about it and i'll just...wait for someone to provide me the tips to do so! Good day bro!

[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

[Q] SystemUI apk problem

Hi everyone,
I'm using the deodexed 4.2.1 rom on My Galaxy Nexus with a custom SystemUI.apk that works (it doesn't make notification and navigation bar disappear) taken from this thread.
I successful replaced unwanted image files in the apk with 7zip and now I'm trying to change the clock color in the taskbar.
I do the following things, in order:
1. Decompile apk with apktools
2. Change values of color in the proper xmls
3. Recompile apk
4. Replace SystemUI with the new one
5. Clean Cache/Dalvik and reboot
After that notification and navigation bar disappear. Am i missing something?
Help please! D':
Does the modified apk have the proper permissions?
cupfulloflol said:
Does the modified apk have the proper permissions?
Click to expand...
Click to collapse
I think so (rw r r).
That's my SystemUI.apk
I would like to change clock/date color in notification/toggle mode from ics blue to white.
Hey mate!!!!!
You must sign apk with signapk everytime you make changes into an apk.
http://code.google.com/p/dex2jar/ in dex2jar you will find d2j-apk-sign.sh/bat script
Seems that i told you bull**** coz systemUI never have to be signed...
http://forum.xda-developers.com/showthread.php?t=1848458
So, restoring old "stock" SystemUI.apk you get phone working well again?
Ultrakiller said:
Hey mate!!!!!
You must sign apk with signapk everytime you make changes into an apk.
http://code.google.com/p/dex2jar/ in dex2jar you will find d2j-apk-sign.sh/bat script
Seems that i told you bull**** coz systemUI never have to be signed...
http://forum.xda-developers.com/showthread.php?t=1848458
So, restoring old "stock" SystemUI.apk you get phone working well again?
Click to expand...
Click to collapse
Yes, I made a nandroid backp for safety.

[MOD][ZIP][GUIDE] Navigation bar on Note 3 - 4.3

This is a guide to enable the navbar on the Galaxy Note 3 running Android 4.3 (NOT an overlay!). I can't guarantee this will work with any xposed modules or navbar mods. This will put an AOSP-like navigation bar on your Note 3, NOT a TouchWiz one! Which means from left to right, the buttons are: Back, Home, Recent.
[UPDATED 12/22/13] - Added back_ime (down arrow instead of back when keyboard is open)! Zip updated, steps are the same. See screenshots.
!!If you are on 4.4.2 KitKat!!
You do not need to do anything with SystemUI, Samsung left all the important stuff in there. Just download GravityBox Xposed module for KitKat, and enable navigation bar.
You need to know how to decompile SystemUI.apk, modify it, then recompile it.
This is for DEODEXED roms!
1. Decompile SystemUI.apk
2. Go to the folder SystemUI.apk was decompiled in. Open res/values/drawables.xml and add the following line, then save it:
Code:
<item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
3. Open /res/values/public.xml, find this line, delete it, then save:
Code:
<public type="drawable" name="tw_navigationbar_bg_land" id="0x7f020194" />
4. Open the attached zip file, find and open the folder "drawable". Copy all 5 xml files and paste them in res/drawable/, replacing the existing files.
5. Delete the files "tw_navigationbar_bg.png" and "tw_navigationbar_bg_land.png" from /res/drawable.
6. Find the folder "drawable-xhdpi" in the attached zip and copy it to res/, this will add a new folder in that directory.
7. Find and open the folder "layout" in the attached zip and copy the xml file to res/layout, replacing the existing xml.
8. Compile the decompiled SystemUI.apk
7. Put the new SystemUI.apk in the system directory on your phone, change permissions to rw-r--r--. Now cut the new SystemUI.apk to the clipboard (ES file browser) and go to system/app and find the old SystemUI.apk.
9. Rename the old SystemUI.apk to SystemUI.apk.bak, and quickly paste the new SystemUI.apk into system/app. Be quick about pasting new apk, the phone will restart about 5 seconds after renaming the old one.
10. Add the following line to your build.prop:
Code:
qemu.hw.mainkeys=0
11. If your phone did not reboot on it's own, reboot the phone, and you should have a navigation bar! There are various guides on how to disable the capacitive nav buttons, so I won't cover that here.
Thanks to @gharrington for writing up this guide for the S4 on Android 4.2.2; I used that as a starting point!
Here is a pre-edited SystemUI.apk you can use (attached below). This removes any themes you have!
[UPDATED 12/22/13] - Added the down arrow instead of back when keyboard is open!
[UPDATED 12/24/13] - Made a flashable zip! If you want to flash a zip theme, just flash the attached zip after flashing your theme. Then either flash Navigation_Bar_ON.zip from this post or add qemu.hw.mainkeys=0 to your build.prop if you haven't already
[UPDATED 03/10/14] - KitKat users do not need this mod, the stock SystemUI has everything it needs. See big red text for instructions.
For DEODEXED: Copy the new SystemUI.apk to /system, change permissions to rw-r--r--. Go to /system/app and rename the old SystemUI.apk to SystemUI.apk.bak, then move the new SystemUI.apk to /system/app. Flash the Navigation_Bar_ON.zip from this post (thanks @jovi23!) in TWRP or CWM. Reboot, and done!
If your ROM doesn't have init.d support, add "qemu.hw.mainkeys=0" (without quotes) to your build.prop, reboot, and done!
For ODEXED: Follow the same steps above, but also rename SystemUI.odex to SystemUI.odex.bak.
DO NOT FLASH THE ZIP IF YOU ARE ON 4.4.2
You do not need to do anything to SystemUI.apk, Samsung left everything it needs in there. Just get GravityBox Xposed module for KitKat and enable the navigation bar.
If you wish to use this SystemUI.apk in your ROM, all I ask is that you give credit
Any screenshot thanks?I forgot, first
Sent from my SM-N900T using Tapatalk
JT man said:
Any screenshot thanks?
Click to expand...
Click to collapse
Oh yes, sorry. I attached one to the second post.
This is what i been looking for have to look into how to decompile and recompiling the systemUI looks really complicated
Sent from my SM-N900T using XDA Premium 4 mobile app
Would anyone mind testing this SystemUI.apk? Need to be deodexed. Copy it to /system/, then change permissions to rw-r--r--. Now move it over to /system/app. Be sure to rename your old one to SystemUI.apk.bak, incase it doesn't work. I made this from a stock, deodexed ROM, so it should work, but I want it tested by someone else before I post it up top.
This will get rid of a lot of theming, so if you are themed, beware, as I haven't tested it that.
Moved to second post.
Hmm... after decompiling my SystemUI.apk I don't see those 2 files from steps 2 and 3
fredrick1213 said:
Hmm... after decompiling my SystemUI.apk I don't see those 2 files from steps 2 and 3
Click to expand...
Click to collapse
Hmm, that's odd, I'm sure the apk needs those. Were there any errors on decompile? Also, did you install framework-res.apk, SystemUI.apk, and twframework-res.apk into apktool?
gakio12 said:
Hmm, that's odd, I'm sure the apk needs those. Were there any errors on decompile? Also, did you install framework-res.apk, SystemUI.apk, and twframework-res.apk into apktool?
Click to expand...
Click to collapse
Ok so my problem was that I wasn't installing SystemUI.apk but even after installing it I don't see the public file in res/values
fredrick1213 said:
Ok so my problem was that I wasn't installing SystemUI.apk but even after installing it I don't see the public file in res/values
Click to expand...
Click to collapse
Can you open up the SystemUI.apk in 7z to see if the public.xml file is in res/values?
gakio12 said:
Can you open up the SystemUI.apk in 7z to see if the public.xml file is in res/values?
Click to expand...
Click to collapse
This is really weird. It doesn't even have the values folder
fredrick1213 said:
This is really weird. It doesn't even have the values folder
Click to expand...
Click to collapse
If you can attach the SystemUI.apk, I will take a look at it.
gakio12 said:
If you can attach the SystemUI.apk, I will take a look at it.
Click to expand...
Click to collapse
Here ya go
fredrick1213 said:
Here ya go
Click to expand...
Click to collapse
Thanks. I think this is because you are running an ODEXED ROM, correct? From your sig I assume it is pure stock TouchWiz, just rooted. You can try using my SystemUI.apk that I posted a few posts back, but you would need to rename SystemUI.odex to SystemUI.odex.bak AND SystemUI.apk to SystemUI.apk.bak, just so you get backups of existing files.
When I was doing it, my phone would reboot on it's own 5 seconds after renaming SystemUI.apk, so I only had 5 seconds to put the new one in there. This is where TWRP really helped.
In your screen shot - The Nav Bar looks like it's hiding the very bottom of the screen - Does this mod take into account the presence of the Nav Bar - And shift the display up - ie; is the Nav Bar hiding the Dock?
Sent from my SGH-I317 using Tapatalk
Yes, this mod is an actual navbar. It does not hide the dock. I will post another screenshot.
gakio12 said:
Yes, this mod is an actual navbar. It does not hide the dock. I will post another screenshot.
Click to expand...
Click to collapse
Thanks - And one other question - Are you doing this all on the phone - or are you doing any of it on the pc? .... I just read through the first page very quickly..
Sent from my SM-N900W8 using Tapatalk 2
shaggyskunk said:
Thanks - And one other question - Are you doing this all on the phone - or are you doing any of it on the pc? .... I just read through the first page very quickly..
Click to expand...
Click to collapse
I did almost all on the PC, only part I did on the phone was move the new SystemUI.apk into place. There is a stock SystemUI.apk I posted in post #6 if you want to give that a try (must be deodexed). If you do give it a try, please let me know how it works out
Anyway of making it transparent and also is there a way to enable 3 dot menu?
Sent from my SM-N900T using Tapatalk
gakio12 said:
Thanks. I think this is because you are running an ODEXED ROM, correct? From your sig I assume it is pure stock TouchWiz, just rooted. You can try using my SystemUI.apk that I posted a few posts back, but you would need to rename SystemUI.odex to SystemUI.odex.bak AND SystemUI.apk to SystemUI.apk.bak, just so you get backups of existing files.
When I was doing it, my phone would reboot on it's own 5 seconds after renaming SystemUI.apk, so I only had 5 seconds to put the new one in there. This is where TWRP really helped.
Click to expand...
Click to collapse
gakio12 said:
I did almost all on the PC, only part I did on the phone was move the new SystemUI.apk into place. There is a stock SystemUI.apk I posted in post #6 if you want to give that a try (must be deodexed). If you do give it a try, please let me know how it works out
Click to expand...
Click to collapse
I followed your advice and it worked! I now have the navbar. I'm odexed btw and it still worked. Thanks!

Categories

Resources