Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
mgorman
Old
#1  
Senior Member - OP
Thanks Meter 55
Posts: 1,333
Join Date: Aug 2009
Location: Ypsilanti
Default "porting" lockscreens

I've searched through the forums but i can't find an answer that works.

I want to take a semi-transparent lockscreen from one hero rom and put it on another hero rom that doesn't have a transparent lockscreen

i've tried replacing com.htc.resources.apk and when the phone reboots i hear the notification sound that the USB is connected but all i see is the htc loading symbol. the home screen never loads.
 
Zarboz
Old
#2  
Zarboz's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 6311
Posts: 4,641
Join Date: Mar 2009
Location: Denver

 
DONATE TO ME
Quote:
Originally Posted by mgorman View Post
I've searched through the forums but i can't find an answer that works.

I want to take a semi-transparent lockscreen from one hero rom and put it on another hero rom that doesn't have a transparent lockscreen

i've tried replacing com.htc.resources.apk and when the phone reboots i hear the notification sound that the USB is connected but all i see is the htc loading symbol. the home screen never loads.


totally going in the wrong way for that

the reason your getting a htc screen hang is bcuase the resources.apk your using prolly came from a different WWE build than the one your applying it to.... so go back to the one that came with your rom ... moving on to transparent lockscreen

what hero rom are you trying to modify and are you trying to mod the lockscreen grafics as well?


if your modding the graphics for the lockscreen bar unzip (using winrar) the apk (keep the original apk file) and inside one of the folders is one called draw port 480x280 the loscreen bar images are right there to edit

when your done editing


open the original resources.apk with winrar and navigate to that drawport480x280 folder
drag your modified images to the winrar window that is opened to the drawport480x280 when you modify the images keep the names that were originally corresponding with the images...so that the system can find them when it loads the lockscreen. and it will have a prompt click on ok and it will put those images back in your apk

now adb push your new resources.apk to your phone reboot to enjoy your modified lockscreen bar.

to change the image to transparent....(use photoshop to make a transparent .jpg image) get in root explorer on your phone and navigate to your /system/etc/lockscreen/port/ folder and the htc.lockcscreen1.jpg image is the one were gunna replace so name your custom image from photoshop the same thign that that htc.lockscreen1.jpg and then adb push (or root explorer copy) it to the /system/etc/lockscreen/port/ to replace original effects should apply immediatly then enjoy your fully modified lockscreen
 
pegaz
Old
#3  
Member
Thanks Meter 0
Posts: 85
Join Date: Nov 2007
Location: Rzeszow
i'm looking for original lock screen from android to replace hero's one cuz the time and date in original is bigger and backlight timeout is set to 5 sec ( in hero is 15- waste of battery). If you find a way how to do this - please let mi know cuz i've been trying and asking and nobody answered me...
 
mgorman
Old
#4  
Senior Member - OP
Thanks Meter 55
Posts: 1,333
Join Date: Aug 2009
Location: Ypsilanti
Quote:
Originally Posted by Zarboz View Post
totally going in the wrong way for that

the reason your getting a htc screen hang is bcuase the resources.apk your using prolly came from a different WWE build than the one your applying it to.... so go back to the one that came with your rom ... moving on to transparent lockscreen

what hero rom are you trying to modify and are you trying to mod the lockscreen grafics as well?


if your modding the graphics for the lockscreen bar unzip (using winrar) the apk (keep the original apk file) and inside one of the folders is one called draw port 480x280 the loscreen bar images are right there to edit

when your done editing


open the original resources.apk with winrar and navigate to that drawport480x280 folder
drag your modified images to the winrar window that is opened to the drawport480x280 when you modify the images keep the names that were originally corresponding with the images...so that the system can find them when it loads the lockscreen. and it will have a prompt click on ok and it will put those images back in your apk

now adb push your new resources.apk to your phone reboot to enjoy your modified lockscreen bar.

to change the image to transparent....(use photoshop to make a transparent .jpg image) get in root explorer on your phone and navigate to your /system/etc/lockscreen/port/ folder and the htc.lockcscreen1.jpg image is the one were gunna replace so name your custom image from photoshop the same thign that that htc.lockscreen1.jpg and then adb push (or root explorer copy) it to the /system/etc/lockscreen/port/ to replace original effects should apply immediatly then enjoy your fully modified lockscreen
alright ill give that a shot. thanks
 
Zarboz
Old
#5  
Zarboz's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 6311
Posts: 4,641
Join Date: Mar 2009
Location: Denver

 
DONATE TO ME
Quote:
Originally Posted by pegaz View Post
i'm looking for original lock screen from android to replace hero's one cuz the time and date in original is bigger and backlight timeout is set to 5 sec ( in hero is 15- waste of battery). If you find a way how to do this - please let mi know cuz i've been trying and asking and nobody answered me...
just delete htclockscreen.apk?

idk

haha
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...