HELP! Original lockscreen or how to edit motorola lockscreen =S - Defy Android Development

i whant to edit or remove the motorola lockscreen...
But i can't, if i try to edit it, it doesn't work any more or doesn't work as before...
If not, remove this lockscreen and use the original android lockscreen.
i'm making a rom and i'm stucked with this.... and the background color of some items...

In the froyo ROMs:
Decompile the framework-res.apk
Replace keyguard_screen_tab_unlock.xml
Replace the zz_moto_jog_tab pngs
If you also edit the integers.xml you can fix the problem where the sound slider is not right justified.
<integer name="config_lock_screen_slider_padding_left">58</integer>
<integer name="config_lock_screen_slider_padding_right">0</integer>
<integer name="config_lock_screen_slider_padding_top">58</integer>
<integer name="config_lock_screen_slider_padding_bottom">55</integer>
Bingo AOSP lock screen
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Thanks!! but one more question for you my friend
I use 7zip to extract files from framework-res.apk but XML files, seems strange =S
rare simbols, and i can't understand anything

You have to decompile it. I use apk manager.

If you cant see the content of an xml, you can use axmlprinter2 to SEE this, but with that tool you cant change the xml, need to be done with hex editor.
There is a kitchen to do this? I think it can be done with apk manager.

breezasib said:
You have to decompile it. I use apk manager.
Click to expand...
Click to collapse
Just that

And how to do the same in 2.1 ROMs ? I'd love to get back original lockscreen - motorolas suck with green wallpaper ,)

Darmach said:
And how to do the same in 2.1 ROMs ? I'd love to get back original lockscreen - motorolas suck with green wallpaper ,)
Click to expand...
Click to collapse
Slightly different in 2.1:
You have to change the zz_moto_keyguard_screen_tab_unlock.xml in the framework-res.apk
And set the clockopia font in the digitalclock within the framework.jar

okay i will try it, so to decompile and compile the apk i need to use apk manager and to see what is inside the XML, axmlprinter2?
EDIT:
Where are the XML styles to edit the background opacity/color and style??
THanks!

Nice! Almost to easy!
Q: When im alredy at it- cant i change the color and shape on the original sliders just by using other .png's? (i would like to have just plain gray circles and no "sliders".. and i'd like to change the clock to Digital clock widget by Maze- Im running with WidgetLocker now but.. you know how it is- ending a cal and your right back on the stock one- and somtimes it flaches by when locking/unlocking. And damn, I whant perfection!
Running Froyo btw.

You have done a great work on bringing native lockscreen to Defy. Thanks a lot! There is one more thing I would also love to have. It is Froyo call answer/hangup bars.. I'm curious do you have any thoughts on customizing blurphone.apk? Looking forward for the updates.

Related

[Modding] Help with transparent notification bar + theme preview

I try to make my theme but I have a problem.
I want the notification background transparent but I don't know how to modify it.
I try different way but not success.
Anyone can help me?
Thanks
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Small preview of the theme I working
I have also % of battery and trackball wakeup (thanks to eug89 for compile java)
that top grey part is called title_bar_portrait.9.png and is located on framework-res.apk. the part you want to make transparent is called status_bar_background.png and is also located in framework-res.apk
not sure if you have edited .9.pngd before but it you have to do more than just replace the image for it to look right. also im not sure if that part can be made transparent in froyo as i am currently having trouble with it. however if your making the theme for CM just adjust the transparency in photoshop, gimp etc
hope that helped
Have anybody get the status_bar_background.png transparent on FroYo ROMS?
Ok.
So the problem is froyo
Formel-LMS said:
Have anybody get the status_bar_background.png transparent on FroYo ROMS?
Click to expand...
Click to collapse
i dont think so. froyo doesnt seem to allow the image to have any transparency
Theres a Xeudoxus app that patches services.jar to enable that transparency. Didn't find exact details as too which particular file (s) are affects (for morphs). I hate when people do that (hiding details ), I will investigate after work.
For more info see this thread: http://forum.xda-developers.com/showthread.php?t=700703
Thanks Britoso.
Now I have the theme with transparent.
Now I have to fix the bar "Notification" because are also trasparent.
Also I have to investigate why It have some crash when I use metamorth for apply theme.
edit.
perfect all I want.
I have only investigate for crash when using metamorph.
Thx britoso from that other thread and xuedoxus for the app
finally got it working on my theme(frf91)
pretty cool theme!

[REQ] Original Sense Clock & Slider Bar Theme, Changing Start Up Sound

Greetings, I need some guidance-- someone to point me in the right direction. I have been unsuccessful in my attempts to locate the original Sense clock and *especially* the bottom slider bar (not the icons). I am running a custom VBN rom (w/ CHT 1.8.5.1) (which runs flawlessly) but has been slightly themed.
Also, does anyone know how to change the start up sound? I noticed that the registry points to a file in the /windows directory (HTC-QuietlyBrilliantBoot.wav) but there wasn't any file. I was just going to replace the wav file (with a compatible one) but am completely baffled.
Thanks again, XDA!
Update:
Links to necessary files are provided below thanks to XDA member Paten.
gus_chi said:
Greetings, I need some guidance-- someone to point me in the right direction. I have been unsuccessful in my attempts to locate the original Sense clock and *especially* the bottom slider bar (not the icons). I am running a custom VBN rom (w/ CHT 1.8.5.1) (which runs flawlessly) but has been slightly themed.
Also, does anyone know how to change the start up sound? I noticed that the registry points to a file in the /windows directory (HTC-QuietlyBrilliantBoot.wav) but there wasn't any file. I was just going to replace the wav file (with a compatible one) but am completely baffled.
Thanks again, XDA!
Click to expand...
Click to collapse
Try these files. I'm not sure about the slider bar. I don't really know anything about the start up sound either.
Paten said:
Try these files. I'm not sure about the slider bar. I don't really know anything about the start up sound either.
Click to expand...
Click to collapse
Thank You! I will be sure to give these a try. *crosses fingers*
Everything [almost] works great! The slider is back to stock theme and the clock is as well but there is no background. Would you mine also uploading the background file? BTW, thank you very much. I am sincerely grateful.
i.e.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Behind the clock, the stock background is missing. The previous theme was transparent I believe.
Clock background... Enjoy!
Startup with Sound, copy bootuphtc.wav to windows\.
Or install *.cab file. Welcome & boot with sound.
Paten said:
Clock background... Enjoy!
Click to expand...
Click to collapse
This is it! Working perfectly! Thanks Paten.

Theme questions

I am making myself a theme and was wondering if anybody knew which files changed these two things.
-Box when moving widgets
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-Title background for folders (apps organizer)
Sorry I can't be more help immediately but I can tell you the green widget moving box will be a .9.png and will probably be pretty small.
Obvious places to start would be in the 2 framework apk's but they may well be somewhere in system/app too. I'd look in anything widget related (downloader, updater, etc) and I'd look in rosie.apk too..
again, sorry thats just a couple shots in the dark but I'd like to know too. I'll poke around some tonight and see if I can find them
Yeah I figured it was going to be a .9 file, probably 1px but I just can not find them.
rujelus22 said:
Yeah I figured it was going to be a .9 file, probably 1px but I just can not find them.
Click to expand...
Click to collapse
Well it would probably be a minimum of 9x9, and it looks like it has rounded corners so maybe more than that. Also, both of these things might not be pngs. Could be simple xml drawings.
I was thinking maybe xml also. are there any good tutorials on how to edit the xml's?
rujelus22 said:
I was thinking maybe xml also. are there any good tutorials on how to edit the xml's?
Click to expand...
Click to collapse
Use APK manager to decompile the apk, it'll output readable/editable xml files. I don't have the link on me but a quick search in the forums will bring it up.
AwardTour, have you recompiled a framework apk with AppManager yet? I tried but kept getting an error when it got to the manifest.
OP, here is a link to Apk_Manager_4.8. I can't offer any advice on editing xml, yet.. I just decompiled and saw a readable xml for the first time a couple days ago it was cool
apktool
http://code.google.com/p/android-apktool/
makes altering apks a snap.
I have looked around in the XML's and png and still can not find these for the life of me. I have a few more I can not find either. Any help on any of these would be greatly appreciated.
1- Progress bar
2- Calendar Item Color
3- Phone Highlight Color

Notification Bar Clock Font

Is it possible to make the font of the clock in the notification bar bold, like in this screenshot?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And would it be possible through typefresh?
Cheers
I'm pretty sure the only way would be by modifying the framework xml files, which would probably make it theme dependent as you would more than likely need to edit some that get compiled into resources.arsc, meaning you need any additions from the theme in your working folder when you compile.
Where's the screenshot from? Looks nice and if you had the framework for it I'd gladly sort out something for the X10.
There may be an app out there that can do this, but I have my doubts.
_calum_ said:
I'm pretty sure the only way would be by modifying the framework xml files, which would probably make it theme dependent as you would more than likely need to edit some that get compiled into resources.arsc, meaning you need any additions from the theme in your working folder when you compile.
Where's the screenshot from? Looks nice and if you had the framework for it I'd gladly sort out something for the X10.
There may be an app out there that can do this, but I have my doubts.
Click to expand...
Click to collapse
thanks for the reply, its from myn's 2.2 rom for the evo 4g
http://forum.xda-developers.com/showthread.php?t=809985
Are you interested in the theme from your screenshot, or do you just want a run-down on which xml files to modify? (or do you have a theme you're using now that you just want a bold clock for)
_calum_ said:
Are you interested in the theme from your screenshot, or do you just want a run-down on which xml files to modify? (or do you have a theme you're using now that you just want a bold clock for)
Click to expand...
Click to collapse
im quite happy with my current theme, a run down of what to edit would be great
however, ive noticed that the clock seems to be bold on stock android, as you can see on the x10 aosp screens, so is it something se have changed?
dogwoofer said:
Is it possible to make the font of the clock in the notification bar bold, like in this screenshot?
And would it be possible through typefresh?
Cheers
Click to expand...
Click to collapse
How did you get the battery percent icon? Is it part of a theme?
jeet.9890427233 said:
How did you get the battery percent icon? Is it part of a theme?
Click to expand...
Click to collapse
yes it is ...
Anyone find this out? I'd like to change the font of my clock in my notification bar..
I'm pretty savvy with the Android OS, have done my own metamorph's and mod's for awhile.. I just can't seem to find where the clock is stored.

[HOW-TO]{ICS}Resize Recent Apps Thumbnails

since no one is interested in Galaxy Nexus forum, I share that here too
(I searched and didn't find anything related)
I found the way how and I wanted to share it. I'm not advanced on that.
1. Decompile SystemUI.apk
2. Go to \res\values\dimens.xml
3. Change
<dimen name="status_bar_recents_thumbnail_width">XXX.0dip</dimen>
<dimen name="status_bar_recents_thumbnail_height">XXX.0dip</dimen>
to your like.
4. Recompile
5. Use it
- You better leave the same proportions of the thumbnail width and height, or I guess they'll look weird. Approximately, it is at 1,13xxx.
- You can change the app title size by changing
<dimen name="status_bar_recents_app_label_text_size">XX.0dip</dimen>
- You can change the icon size by changing
<dimen name="status_bar_recents_app_icon_max_width">XX.0dip</dimen>
<dimen name="status_bar_recents_app_icon_max_height">XX.0dip</dimen>
- You can change app label color by changing
in file \res\values\colors.xml the line
<color name="status_bar_recents_app_label_color">#ff0dc5e0</color>
the result:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Well I know what I will be doing when the ics ROM for the 3vo becomes more stable. Thanks dude
Sent from my PG86100 using XDA App
AWESOME, THANKS!
Sorry for the stupid questions but I'm just starting on android. I swear I searched but I didn't find an answer.
So, do I have to sign the SystemUI after recompile? If yes where do I find the key, I'm not making a rom just modifying SystemUI.apk
Do I have to push it using ADB or just use root explorer to replace and set permissions?
Thanks..
nikidorian said:
AWESOME, THANKS!
Sorry for the stupid questions but I'm just starting on android. I swear I searched but I didn't find an answer.
So, do I have to sign the SystemUI after recompile? If yes where do I find the key, I'm not making a rom just modifying SystemUI.apk
Do I have to push it using ADB or just use root explorer to replace and set permissions?
Thanks..
Click to expand...
Click to collapse
You don't need to sign system apps both ways should work
Sent from my Hero using XDA App
Ok, it worked but I noticed that the image is just getting bigger and the quality is still bad. Is there any way to increase the resolution of the previews. Is I read the files in SystemUI I can't find any way to do that. Anyone?
I didn't find a way for that but also I guess that it would take longer to show you the thumbs. Plus, it would consume more ram. Personally, I use smaller thumbs.
Nice
Nice guide, thanks for that
but before applying the tutorial you wrote, my thumbnails don't show up
I have cm9.1 while i tried on aokp they show up
here's what i mean
If I changed it in the dimens.xml it didn't change anything on my lg g3
edit: I had to change 'status_bar_recents_thumbnail_height_two_line' and 'status_bar_recents_thumbnail_height_three_line'
but thanks for your guide i wouldn't have found it otherwise
Yeah, it was for an older version of android, I haven't looked at it for the newer ones
Sent from my Nexus 5

Categories

Resources