[Q] Editing the lockscreen - Thunderbolt Q&A, Help & Troubleshooting

I'm running Liquid Thunderbread v2.6 right now and using the its lockscreen.
I want to put an image of someone as my wallpaper at the lockscreen but the big digital clock and date covers most of the face.
Does anyone know if a method or a an existing flash file I can use to get rid of that?
I did a bunch of research and tried to edit the xml file myself, but I have no clue how to decompile and recompile back into the framework.

just switch your lockscreen to wallpaper rather than clock lol if you really need to decompile though i use apk manager. not sure which apk contains that file but if you can find it apk manager can decompile and recompile it

dak_181 said:
just switch your lockscreen to wallpaper rather than clock lol if you really need to decompile though i use apk manager. not sure which apk contains that file but if you can find it apk manager can decompile and recompile it
Click to expand...
Click to collapse
How do I switch my lock screen to wallpaper rather than clock?
Sent from my HTC ThunderBolt using XDA Premium App

johnnysyeah said:
How do I switch my lock screen to wallpaper rather than clock?
Sent from my HTC ThunderBolt using XDA Premium App
Click to expand...
Click to collapse
Assuming you don't want to deal with all that trouble, cyanogemod and probably some other ASOP roms allow you to change the lock screen wallpaper without hacking the compiled apk files.

yareally said:
Assuming you don't want to deal with all that trouble, cyanogemod and probably some other ASOP roms allow you to change the lock screen wallpaper without hacking the compiled apk files.
Click to expand...
Click to collapse
Oh, I'm able to change the lockscreen to a wallpaper on want. The problem right now is that the large digital clock and date covers the background image so I want to disable those two items.
Sent from my HTC ThunderBolt using XDA Premium App

johnnysyeah said:
Oh, I'm able to change the lockscreen to a wallpaper on want. The problem right now is that the large digital clock and date covers the background image so I want to disable those two items.
Sent from my HTC ThunderBolt using XDA Premium App
Click to expand...
Click to collapse
I guess if you really want, it's an AOSP rom so I would grab the source if he contributed back his changes to it (or ask him). Then grep through the source and find where the clock is and mod the source and recompile. If that's too much, find someone with the time willing to do it
If he wont give the source, as mentioned, hack the apk or switch to an AOSP rom that doesnt hide their sources like OMFGB or CM7.

yareally said:
I guess if you really want, it's an AOSP rom so I would grab the source if he contributed back his changes to it (or ask him). Then grep through the source and find where the clock is and mod the source and recompile. If that's too much, find someone with the time willing to do it
If he wont give the source, as mentioned, hack the apk or switch to an AOSP rom that doesnt hide their sources like OMFGB or CM7.
Click to expand...
Click to collapse
I'm going to try the apk manager tonight
I read somewhere about what file the code is in.
All I needed was a way to decompile it and recompile it.
I'd prefer to try things on my own so I can learn instead of relying on others
Sent from my HTC ThunderBolt using XDA Premium App

johnnysyeah thanks

htcpili said:
johnnysyeah thanks
Click to expand...
Click to collapse
Thanks? For what?

Related

[MetaMorph] Transparent Lockscreen (com.htc.resources.apk)

This is a Metamorph for a transparent lockscreen that was made by request for a friend. This is intended for a deodexed stock mytouch4G ROM (2.2/2.2.1). This will modify com.htc.resources.apk. Most likely this will crash your system when applied. If not, reboot to see changes. Ive been seeing an error when using metamorph to extract, it does not seem to find the theme file. All files extract and you will be able to apply by selecting "Pick existing theme".
*NOTE* This works when applied using the safari theme (thanks for the feedback). I'll look into modifying other themes... eventually. Requests will be considered.
zebrapositions said:
This is a Metamorph for a transparent lockscreen that was made by request for a friend.
Click to expand...
Click to collapse
Yeeeaaaahhhh your friend is happy now
Love it thank you thank you thank you!
Sent from my HTC Glacier using XDA App
?
i couldnt make it stick using metamorph
teamsilence said:
i couldnt make it stick using metamorph
Click to expand...
Click to collapse
Hmm I'm using your rom and it worked fine for me.. I extracted it on the computer, put it on my SD in the androidthemes folder, and then went to pick existing theme, apply all.
Has anyone been able to get rid of the lockscreen wallpaper? To show the homescreen? I've tried old methods, but they don't seem to work in sense 2.2 stock or modded roms for the n1
crx4xharder said:
Has anyone been able to get rid of the lockscreen wallpaper? To show the homescreen? I've tried old methods, but they don't seem to work in sense 2.2 stock or modded roms for the n1
Click to expand...
Click to collapse
We tried, but couldn't get it.
Sent from my HTC Glacier using XDA App
Same here. Running Ice but can't get it to stick. Good idea tho. I like it.
EDIT: Sent .zip to sdcard. Let Metamorph unzip. Still FC's my messengers while applying then nothing.
If you remove the htclockscreen.apk and .odex from your /system you'll get a transparent lockscreen... Albiet with the stock froyo lock but I prefer it anyway
Sent from my HTC Glacier using XDA App
So after trying this, the text on the lock screen doesn't line up correctly. All 3 lines of text, the date, the time & T-mobile all overlap. Is this supposed to be used with any of the lock screen themes or a specific one? Anything else need to be changed to get it to align correctly?
Beast84 said:
So after trying this, the text on the lock screen doesn't line up correctly. All 3 lines of text, the date, the time & T-mobile all overlap. Is this supposed to be used with any of the lock screen themes or a specific one? Anything else need to be changed to get it to align correctly?
Click to expand...
Click to collapse
BUMP! Anyone??
Beast84 said:
So after trying this, the text on the lock screen doesn't line up correctly. All 3 lines of text, the date, the time & T-mobile all overlap. Is this supposed to be used with any of the lock screen themes or a specific one? Anything else need to be changed to get it to align correctly?
Click to expand...
Click to collapse
What ROM are you running? when I posted this, there was only stock ROM available.
Sent from my Desire HD using XDA App
zebrapositions said:
What ROM are you running? when I posted this, there was only stock ROM available.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Thats what I am running
So this is just a transparent slider for the lockscreen?
I'm assuming theres no way to make a fully or semi-transparent wallpaper?
I know most icons are png's, which support transparency, but I'm not sure (and highly doubt) if a transparent png file would retain transparency after being set to be the wallpaper? If I had to guess I would think the file is converted in some way before it is actually applied...
I wonder if there is a way to bypass this and allow for transparencies in the wallpaper?
Though this works, it doesn't look so good since its transparent and the text overlays whatever is on the first screen. It would be nice if the lockscreen background could be honored by the stock froyo lock. Or at the very least, a solid color or black background.
mbernusg said:
If you remove the htclockscreen.apk and .odex from your /system you'll get a transparent lockscreen... Albiet with the stock froyo lock but I prefer it anyway
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
civicvx94 said:
So this is just a transparent slider for the lockscreen?
I'm assuming theres no way to make a fully or semi-transparent wallpaper?
I know most icons are png's, which support transparency, but I'm not sure (and highly doubt) if a transparent png file would retain transparency after being set to be the wallpaper? If I had to guess I would think the file is converted in some way before it is actually applied...
I wonder if there is a way to bypass this and allow for transparencies in the wallpaper?
Click to expand...
Click to collapse
Transparent images won't set correctly, from what I've read about other sense ROMs, you'd have to hexedit the file, changing the color to transparent... don't know if it would even work. There are lockscreen replacements, like lock bot, possibly some others. Wish there where better options... the ROM in general lacks the basics for most things I want to do... which is why I currently run the desire HD port by gr8gorilla. The ROM has been ported to a lot of phones, so there is quite a bit of mods and themes available.
I'm curious what features. Are you referring to stock? Does the desire port have working drivers for everything? I thought FFC (camera) was a problem as well as video playback. Iced is what I'm currently using and its rock solid and can overclock.
zebrapositions said:
Transparent images won't set correctly, from what I've read about other sense ROMs, you'd have to hexedit the file, changing the color to transparent... don't know if it would even work. There are lockscreen replacements, like lock bot, possibly some others. Wish there where better options... the ROM in general lacks the basics for most things I want to do... which is why I currently run the desire HD port by gr8gorilla. The ROM has been ported to a lot of phones, so there is quite a bit of mods and themes available.
Click to expand...
Click to collapse
Sent from my HTC Glacier using XDA App
kambiz.aghaiepour said:
Though this works, it doesn't look so good since its transparent and the text overlays whatever is on the first screen. It would be nice if the lockscreen background could be honored by the stock froyo lock. Or at the very least, a solid color or black background.
Click to expand...
Click to collapse
yeah i agree, but i do with what i have and enjoy my homescreen, since i have to look at it constantly, even when locked
Could you post the picture that you are using? looks cool
stratax said:
Could you post the picture that you are using? looks cool
Click to expand...
Click to collapse

Home screen + lock screen icons.

Im creating my own rom for the htc flyer and i've removed some apps that had icons on the main homescreen and lock screen, now when I install my rom they are blank spaces.
my question is how do i change the layout of the icons and widgets/lockscreen for people installing my ROM?
grlayouts said:
Im creating my own rom for the htc flyer and i've removed some apps that had icons on the main homescreen and lock screen, now when I install my rom they are blank spaces.
my question is how do i change the layout of the icons and widgets/lockscreen for people installing my ROM?
Click to expand...
Click to collapse
If it has any version of sense 3.0 or better you can't. The tools have not been updated yet due to HTC changing the coding
It's not.. 3.0 how do I edit it?
Sent from my HTC Flyer P510e using XDA App
What you need to do is probably different based on what launcher your using. You may want to check out this thread. Somebody lists an XML file that you can edit for Sense and Android Launcher, and I just posted a method to restore ADW.Launcher's icons, widgets, and settings.
I'm not really sure where do go for lockscreen mods, as I have not made any myself yet.
grlayouts said:
It's not.. 3.0 how do I edit it?
Sent from my HTC Flyer P510e using XDA App
Click to expand...
Click to collapse
As long as apktool works for the apk in question this should would. I don't really mess with sense, touchwiz, or blur so i have no real idea. By using my knowledge of AOSP then you should open the launcher in question. navigate to
res/xml/
there should be workspace.xml files that you can edit. Then you have to repackage the apk with apktool.
If you have the apk handy as well as the framework-res and com.htc.resources.apk and send them to me I can take a look as well
https://github.com/CyanogenMod/andr...lob/gingerbread/res/xml/default_workspace.xml
grlayouts said:
It's not.. 3.0 how do I edit it?
Sent from my HTC Flyer P510e using XDA App
Click to expand...
Click to collapse
For the lockscreen you will need m10 tools to decompile the HTC m10 files and edit the layout in Idle lockscreen base apk and fusion apk. Editing HTC Apks are not like editing any other type of apk as it uses the m10 encoded files. Its alot more difficult then normal apks as they dont use the same folder set up

Translucent Status Bar

Hey themers:
I'm just getting acquainted with making small modifications to the system and am currently working from a stock 4.0.4 LPL based ROM. I would like to implement a 50% translucent effect on the TW status bar.
I've decompiled SystemUI.apk many different ways - as a non-system app, an app w/ dependencies (both framework-res.apk and twframework-res.apk), I've recompiled without any issues at all and immediately de-compiled to make sure my changes "stick", and they do. I then throw them into a flashable zip, wipe cache/dalvik, flash the zip and fix permissions, no go.
I'm following a guide that was originally posted in the GS2 forum that instructs us to do the following:
1) SystemUI StatusBar.smali - locate the "...Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V" statement and change the const/v16 above it from "const/16 v16, 0x4" to "const/16 v16, -0x3".
2) Go to res > values > drawables.xml and edit "status_bar_background" hex to #7f000000 for 50% transparency.
This didn't work on its own, so on top of that I also tried implementing the same sort of change mentioned in #1 above on both the PhoneStatusBar and TabletStatusBar.smali files. Still no go. The system boots no problem, but just no change in the visual appearance of the status bar.
Does anyone have any ideas outside of this on what smali file or statement in the above files might control this feature? I'm still digging but didn't know if others had attempted this. Thanks to any and all who are willing to help. I don't need anyone to look at code for me, just a gentle shove in the right direction would be fantastic!
+1 for this.
I'd love to see this work.
jtdo said:
+1 for this.
I'd love to see this work.
Click to expand...
Click to collapse
+1
was looking for something like that for month.
I'll get there...The solution cannot be far off from what has already been documented. However it seems others have not yet been able to do it on this device...probably just because there are more pressing projects underway. Guess it's up to us noobs lol
Sent from my SGH-T989 using XDA Premium HD app
djmatt604 said:
I'll get there...The solution cannot be far off from what has already been documented. However it seems others have not yet been able to do it on this device...probably just because there are more pressing projects underway. Guess it's up to us noobs lol
Sent from my SGH-T989 using XDA Premium HD app
Click to expand...
Click to collapse
Haha anything is possible on XDA (;
djmatt604 said:
I'll get there...The solution cannot be far off from what has already been documented. However it seems others have not yet been able to do it on this device...probably just because there are more pressing projects underway. Guess it's up to us noobs lol
Sent from my SGH-T989 using XDA Premium HD app
Click to expand...
Click to collapse
Does tw use a standard grey block to extend the background for the status bar? It sounds like it would and if that is do you could try adding that grey colour to an alpha channel on the image.
Just a thought
Sent from my HTC Desire HD using xda app-developers app
scaryshark said:
Does tw use a standard grey block to extend the background for the status bar? It sounds like it would and if that is do you could try adding that grey colour to an alpha channel on the image.
Just a thought
Sent from my HTC Desire HD using xda app-developers app
Click to expand...
Click to collapse
I'll have a look this week!
You need to modify the "tw_" variants of the status bar definitions to see anything happen, TouchWiz UI does not use the regular assets/definitions.
qreeves said:
You need to modify the "tw_" variants of the status bar definitions to see anything happen, TouchWiz UI does not use the regular assets/definitions.
Click to expand...
Click to collapse
Thank you sir! I will give it another go. Have a TW ROM to update in the next cpl weeks, this might make it in
Sent from my Infamous Tab.
djmatt604 said:
Thank you sir! I will give it another go. Have a TW ROM to update in the next cpl weeks, this might make it in /QUOTE]
No problem, I spent most of last night working out how to move the system bar from the bottom of the screen to the top using a decompiled SystemUI from the TouchWiz rom for the Galaxy Tab. You might find that even though you make the bar transparent that the area behind it is black anyway (it is for me at least using the official 4.0.4 rom) due to it assuming that the system bar is being rendered there. I'm yet to figure out how to manipulate the rest of the WindowManager environment to fix the issue.
Click to expand...
Click to collapse

[Q] Lockscreen Location?

Hey, I want to port the AOSP 4.1 lockscreen to stock motoblur 4.1 for the DROID RAZR.
I want to know where is the lockscreen located.
What I know is that a part resides in the Framework-res.apk, but is it just there? Or is it splattered in other places of the framework?
Also, I want to know what parts inside of Framework-res.apk are the one that compose the lockscreen please.
Thanks in advance.
You can change that with the app called nova in Google play store
Sent from my Nexus 7 using xda app-developers app
Olao99 said:
Also, I want to know what parts inside of Framework-res.apk are the one that compose the lockscreen please.
Click to expand...
Click to collapse
Decompile you're framework, go to the res folder and search for lockscreen, that should find any and all files you're looking for.

[Q] Stock Android Lockscreen on P769?

Is there a way to get the stock Android lockscreen on the P769? I have tried renaming LGLockscreen3.apk but the new lockscreen it gives after renaming it has a white line on the bottom. I was thinking if maybe there was an apk that has the AOSP lockscreen so I can replace LGLockscreen.apk with it. I have tried Holo Locker but sometimes the phone unlocks to the LG Lockscreen.
Ntrasme said:
Is there a way to get the stock Android lockscreen on the P769? I have tried renaming LGLockscreen3.apk but the new lockscreen it gives after renaming it has a white line on the bottom. I was thinking if maybe there was an apk that has the AOSP lockscreen so I can replace LGLockscreen.apk with it. I have tried Holo Locker but sometimes the phone unlocks to the LG Lockscreen.
Click to expand...
Click to collapse
For after market lock screens, like Go Locker, etc. You must disable the stock lock screen and also must allow and activate the after market lock screen app in System->Security->Phone Administrators
shinobisoft said:
For after market lock screens, like Go Locker, etc. You must disable the stock lock screen and also must allow and activate the after market lock screen app in System->Security->Phone Administrators
Click to expand...
Click to collapse
Thanks, but is there a way to get the stock Android lockscreen without aftermarket apps? If you don't understand what I mean by "Stock" I mean the lockscreen with a white lock and 3 shortcuts, Google Up, Camera Left, and Unlock Right. It's the one found in CM.
Ntrasme said:
Thanks, but is there a way to get the stock Android lockscreen without aftermarket apps? If you don't understand what I mean by "Stock" I mean the lockscreen with a white lock and 3 shortcuts, Google Up, Camera Left, and Unlock Right. It's the one found in CM.
Click to expand...
Click to collapse
That's CM's lock screen. Should be available in any CM ROM. Stock is unchanged from the OEM.
shinobisoft said:
That's CM's lock screen. Should be available in any CM ROM. Stock is unchanged from the OEM.
Click to expand...
Click to collapse
Would it be possible to get the lockscreen.apk from a CM10 ROM and use it on a stock P769?
EDIT: I tried opening a CM ROM but there isn't a lockscreen APK. (I'm still learning about Android) However, when I rename the LGLockscreen3 APK, I get a CM-like lockscreen just that it has a grey bar on the bottom.
Ntrasme said:
Would it be possible to get the lockscreen.apk from a CM10 ROM and use it on a stock P769?
Click to expand...
Click to collapse
I'm not sure.
Ntrasme said:
Would it be possible to get the lockscreen.apk from a CM10 ROM and use it on a stock P769?
EDIT: I tried opening a CM ROM but there isn't a lockscreen APK. (I'm still learning about Android) However, when I rename the LGLockscreen3 APK, I get a CM-like lockscreen just that it has a grey bar on the bottom.
Click to expand...
Click to collapse
Thanks for sharing.
All you have to do is remove the lockscreen apk.
You made the system not find it by renaming it.
I believe I saw something about it inside the LGSettings.apk. However, I never knew how to enable it. :beer:
Sent from my LGMS769 using XDA Premium 4 mobile app
kuma82 said:
Thanks for sharing.
All you have to do is remove the lockscreen apk.
You made the system not find it by renaming it.
I believe I saw something about it inside the LGSettings.apk. However, I never knew how to enable it. :beer:
Sent from my LGMS769 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
For some reason I can't see the images you attached, instead it's a broken file icon do you know what causes that? It only happens to me on XDA.
You could try editing build.prop
There is lglockscreen=true or something similar. Dont remember exactly. Just chang it.
From what I can tell the following are the files you've been looking for...
1) com.lge.lockscreen.apk
2) Lock Screen Settings.apk
As @kuma82 mentioned, there may also be something in SystemUI.apk as well.
http://i.imgur.com/8yczCJ5.jpg This is how it looks, there is a grey bar on the bottom. Can it be fixed?
Ntrasme said:
http://i.imgur.com/8yczCJ5.jpg This is how it looks, there is a grey bar on the bottom. Can it be fixed?
Click to expand...
Click to collapse
I have no idea. If it can I don't know how. I'm not a Java/Android programmer. Sorry.
Ntrasme said:
http://i.imgur.com/8yczCJ5.jpg This is how it looks, there is a grey bar on the bottom. Can it be fixed?
Click to expand...
Click to collapse
Mine is 100% transparent. I've done a lot of editing. I'm not sure what exactly I changed. I'll see if I can fix it.
I've been doing some searching and I can't find where it's at
Sent from my LGMS769 using XDA Premium 4 mobile app
Update
I believe that lockscreen is found in the frameworks apk. I've checked everywhere else and I found some info in the frameworks.
Sent from my LGMS769 using XDA Premium 4 mobile app
Ntrasme said:
http://i.imgur.com/8yczCJ5.jpg This is how it looks, there is a grey bar on the bottom. Can it be fixed?
Click to expand...
Click to collapse
@kuma82 is right. Original AOSP lock screen code is in /framework.jar and its resources are in framework-res.apk. To fix grey bar you need to look into those files. If you delete or rename Lockscreen3.apk, AOSP lockscreen will show up. But I don't think it's easy to fix that grey bar and you don't have option to customize that lock screen.
artit said:
@kuma82 is right. Original AOSP lock screen code is in /framework.jar and its resources are in framework-res.apk. To fix grey bar you need to look into those files. If you delete or rename Lockscreen3.apk, AOSP lockscreen will show up. But I don't think it's easy to fix that grey bar and you don't have option to customize that lock screen.
Click to expand...
Click to collapse
Thanks buddy hopefully I'll be able to port some stuff from CM
Sent from my LGMS769 using XDA Premium 4 mobile app

Categories

Resources