[q] how to modify the lockscreen layout? - Hero, G2 Touch Themes and Apps

i want to modfy the font type/size of the clock and maybe remove some elements as they spoil the look:
{
"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"
}
even if i knew which xml file to play with they don't seem that easy to edit....
anyone done this or know how?
ta
apes

This is quite a tricky task. I am not very knowledgeable in this area but i do know that you can use the apktool(google it) to access the xml files. But my suggestion would be to look for another lockscreen that might suit you more.

Most of what you want can be achieved by editing the file 'keyguard_screen_tab_unlock.xml'
This is located inside the 'framework-res.apk' in \res\layout
You will need to unpack the 'framework-res.apk' using apktool to get at the .xml file to edit it.
An example of what can be done can be seen by phinnaeus in this thread:- http://forum.xda-developers.com/showthread.php?t=735480

cheers both, got the file and edited which was easy enough. rebuilding the apk doesn't seem as straightforward..

Hmmm, the rebuild should as simple as the unpack (in theory). If you get it working I'd like to see the result
Would be good to see some nice custom Lockscreen's.

it repacks ok but i needed to copy the original resources.arsc back in to avoid errors. ended up trying two things:
flash the recompiled apk as update - hangs at boot.
stick the recompiled xml in the original apk & flash - hangs at boot.
flash a recompiled apk without editing the xml - hangs at boot.
for some reason the recompiled apk is much bigger than the original, seems so have a few extra folders in there.
away for a few days but will post back when i've managed this. why the fokk the xmls are binary i don't know; editing sony ericsson xmls was so much easier....

Related

Cannot overwrite files in Windows folder

I know this is probably a really stupid question, but is there any way to overwrite image files in the windows folder.
I searched and could not find a solution.
{
"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"
}
You may be able to accomplish what you are trying to do a cab file. what are you trying to do?
I was trying to replace images. I decided to just recook the rom with the new images.
You can always make a cab, to replace them... it'll be easier than recooking the whole rom.
Are you trying to replace the initial boot image? If you need help, post the image you want and I'll make you a cab.
I followed ITJE's instructions on extracting and building a new rom. How do I recreate the .nbh file (I used Open Touch 2.6 as my base rom).
duprade said:
You can always make a cab, to replace them... it'll be easier than recooking the whole rom.
Are you trying to replace the initial boot image? If you need help, post the image you want and I'll make you a cab.
Click to expand...
Click to collapse
I already cooked the Os.nb
ICP-Fan said:
I followed ITJE's instructions on extracting and building a new rom. How do I recreate the .nbh file (I used Open Touch 2.6 as my base rom).
Click to expand...
Click to collapse
found it: http://forum.xda-developers.com/showthread.php?t=353053&highlight=create+nbh

Help making custom bootscreen (Modest Mouse)

I am trying to make a bootscreen for my hero running Cyanogenmod 6.0.0 RC0. I used the boot animation preview tool located Here to see what it would look like and it seemed to work fine. When I push the zip to my /system/media/ folder and reboot i just get a blank black screen when the animation should be playing. I did the images in photoshop cs5 and saved them 'for web and devices' without transparency, and 8-bit. Is there any other setting that I will need to make this work?
here is the gif created by the boot animation preview program (this is not pushed to phone just for preview purposes)
{
"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"
}
I figured it out. The problem was in the zip compression. I had originally packaged it with the default 7zip compression, then today when I was repacking it I used winrar to create a zip file and set the compression rate to 'store' instead of normal and when I pushed to my phone it worked.
Sent from my Hero CDMA using XDA App
Nice work.
I have had a lot of success as well.
The only problem I am having is getting audio to play during boot without using the .gif .xml combination, any suggestions?
wikedbubble said:
Nice work.
I have had a lot of success as well.
The only problem I am having is getting audio to play during boot without using the .gif .xml combination, any suggestions?
Click to expand...
Click to collapse
I don't know. I just started trying to make them

menu font colors

Hey does anyone know what file in a rom defines what color the text in the menu is?
I was working on my rom and I did a bunch of editing to PNG files and a bit of XML and I can't find the file to change the color of the text in the menu. This is what happened accidentally when I changed some files...
{
"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"
}
any help would be great
thanks,
ljbaumer
ljbaumer said:
Hey does anyone know what file in a rom defines what color the text in the menu is?
I was working on my rom and I did a bunch of editing to PNG files and a bit of XML and I can't find the file to change the color of the text in the menu. This is what happened accidentally when I changed some files...
any help would be great
thanks,
ljbaumer
Click to expand...
Click to collapse
i need to know the exact same thing .. im trying to get white text on menus
same here, Dell Streak Gingerbread theme black text=no good.
I heard its pretty involved to do, the creator of the gingerstreak theme said he would update it but its been a week already.
I just did this tonight. It requires a lot of work. You have to decompile the framework-res.apk using APKManager. Then, find and edit res/values/styles.xml. Recompile and resign the app. Simply unzipping the .apk with 7zip isn't enough, you need to actually decompile and recompile it. And when you get APKTool make sure you get the 1.3.1 deprecated one, not the newest 1.3.2 version or you will bootloop.
You have to combine the posts from these 2 threads, they are very short.
http://forum.xda-developers.com/showthread.php?p=9719727
http://forum.xda-developers.com/showpost.php?p=8316984&postcount=2297

[Q] Help with themeing an .apk

Ok here is my dilema, I am trying to take this .apk (it's a clock):
https://www.dropbox.com/s/rkyy0n1tba6xleu/Mods/Sshick Animated
and change a few of the .pngs to make it a little more to my liking, I have red animated second hands and a background with the "Miui" erased. I opened it with 7zip and replaced the the .pngs with mine and everything seemed to go just fine. But when I try and install it on my phone it says "Installation failed" whereas the original ^ installed like a regular .apk through Astro just fine. The only way I could get it to install was by pushing it to system/app with RootExplorer, but I would like non-rooted people to be able to enjoy this.
So my question is, did I package it wrong or did I have to edit an .xml or something or what did I do that makes it not install like the original? Because I didn't think just swapping out some .pngs would cause that much of a change. And yes they were all named exactly the same as the original and I have no other versions of the clock installed at the time. Thanks in advance for any help that can be given.
This is what the clock looks like when it's finished (installed via RootExplorer):
{
"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"
}
I believe you need to sign it again. Search for Auto-Sign app.
You have to sign it. You can do it on your phone with Signapktic from Stericson on the Market. Or there's a bunch of ways to do it on your computer, the easiest being the Auto signer.
Wow thank you guys so much for the help, I knew it was something like that but didn't know how to fix it. Got it working though and it looks good and installs just like it's supposed to. Idk if it's your kind of thing, but I attached the apk so you can use it or test it out or whatever. Thanks again.

a.i.type transparent and white keyboard HDPI

I bought this keyboard a.i type even though i have flex t9, swift key, swype, android standard, htc, and i actually find this the best as i always mistype alot of stuff on my phone, and unlike swiftkey it doesnt add "the" where ever it likes. It beeps when you get a spelling wrong and auto corrects, MAGIC!
I have gotten a bit bored of the stock skin, so decided to theme a little with some transparency, and subtle color changes.
Theres a market link to the app im talking about.
https://market.android.com/details?id=com.aitype.android&feature=search_result
I have been talking with mayfield03 on here, and hes got me into looking at this last week, but anyway i thought i would share this with the rest of you. (thanks mayfield) apologies that it looks a bit rubbish.
screen shots from it running on my EVO 3d
{
"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"
}
HOW to install
1 download the file
Download
get your APK, ( i didnt want to give the apk here as that would be piracy)
extract your apk from /data/app (use root explorer to copy the file to your memory card)
use 7zip to open the APK on your desktop and then drop in the files which i have on my zip
download SIGNAPKTIC from the markey "stericcsons app"
sign the apk which we have edited.
https://market.android.com/details?...sMSwxLDEsImNvbS5zdGVyaWNzb24uc2lnbmFwa3RpYyJd
USE THE TEST KEY
Now run the signed apk, which should have been placed on the root of your memory card, it will install the app over the top of the old one, i used ASTRO to run this.
Done.
I may come back to this to enhance, we will see. Let me know what needs doing.
PART 2, White/Green skin
install the same way
Download

Categories

Resources