Hey there guys,
As the title says, i am meaning to ask about the HTC Desire lockscreen.
Our 2.1 Roms, including the ones from the HTC Legend, whenever you want to unlock you pull down the bar and the transition pulls down the lockscreen picture down as well.
On the HTC desire though, you just pull down the bar, and it unlocks in a better (for me) transition. The lockscreen picture stays intact, and the bar is just pulled down. I seem to prefer that.
Here's a video showing this @ 1:01.
Is this possible to achieve?
TIA
EDIT: 14/6/2010
Thanks to HomerSp (many many props) Desire lockscreen is now available!
Get it HERE as an update.zip.
Well..
Everything is possible! And I totally agree with you.
Yes, would be very nice. Perhaps a theme could resolve this or hopefully the official 2.1 will include this.
Now that we're three, anyone mind giving us a hint? I'll try and work on it myself if needed.
Gotha be something in the HTCLockscreen.apk !!
Hax some there making the lockscreen "wallpaper/background" not following the unlock bar. Instead you make it stand still and fadeout to the homescreen when unlock has been done.
Don't ask me how to do this tho
really liked it !
now , we are four
the lockscreen would be nice if it wre to be for the 2.1 roms
Also (thought I might add this in, might be some help), when answering a call only the bar slides down (not the background).
About whether this will be in the official 2.1, I'm not sure if this any indication of what to expect but on the HTC Wildfire (2.1 and similar specs to our Hero), the lockscreen is the same as the one we have in 1.5 (ie bar + background, not just bar).
My guess its just a modified HTCLockscreen.apk
Lennyuk said:
My guess its just a modified HTCLockscreen.apk
Click to expand...
Click to collapse
lol me2, hasn't anyone just tried it? i was expecting to be hit with problems when opening this thread, just make a nandroid backup and push the file to /system/app.
kendong2 said:
lol me2, hasn't anyone just tried it? i was expecting to be hit with problems when opening this thread, just make a nandroid backup and push the file to /system/app.
Click to expand...
Click to collapse
Yea figured as much as well, thing is i have no idea if, due to the difference in screen size, it would get affected ( i suppose it will).
And due to me not knowing HOW to edit apk's, thought maybe i'd ask first.
I'll be uploading in a while the Lockscreen.apk off of MCR ROM for the Desire. My ROM isn't deodexed, so I can't test it, if any of you guys wanna give it a try, please do so and let me know. Nandroid first, as kendong said.
edit. just remove the HTCLockscreen.apk from system/app/ and push this one via adb.
Well, as noone tried it, i did a nandroid and cooked a Villain rom 5.5.0 with the APK integrated in it.
Freezes on boot. Ill try again and get a logcat, see if someone can help out.
I like the collapsing effect we have on 1.5..
Ok so instead of a cooked rom, i went ahead and installed 5.5.0 Villain Rom today, and removed the normal HtcLockScreen.apk via adb, and pushed the new one.
As expected, same as above, it wouldn't boot. I've got a logcat now.
Anyone mind giving this a look?
I am still not giving up here.
Decompiled the apk's via the APKTool, and i am "trying" to compare the two. Anyone with more knowledge please help me out.
Here are the two decompiled apk's. One from VR 5.5.0 and the other one from the Desire.
I do believe that this might be a problem with /system/frameword/com.htc.resources.apk. If it is, i have no idea how to fix it. This guess is based upon the fact that most themers update that particular apk in order to move from old framework rosies to new ones (1.5 =>2.1).
ANY help is appreciated.
There are 4 changed files located in DesireLock\smali\com\htc\lockscreen
HtcLockScreen$1.smali
HtcLockScreen$5.smali
HtcLockScreen.smali
R$string.smali
Comparing these would probably come up with only the bar going down as these files are smalled then the original hero lockscreen.
xinos said:
There are 4 changed files located in DesireLock\smali\com\htc\lockscreen
HtcLockScreen$1.smali
HtcLockScreen$5.smali
HtcLockScreen.smali
R$string.smali
Comparing these would probably come up with only the bar going down as these files are smalled then the original hero lockscreen.
Click to expand...
Click to collapse
You based this on the file size difference, didn't you?
Well, substituting the files from the old lockscreen to the new desire lockscreen, then recompiling would make it work, you believe?
If all the other requets are the same, then yes it should be just a few lines actually. But i have no idea what the other differences between say the dialer, or other functionality the desire lockscreen adds/remove's.
I really want this too
Wouldn't it be easier to get the desire lockscreen.apk and put the graphics from the hero into the apk-file and edit the layout so the images fit into the screen?
Related
I searched the forum to see if someone had done this and couldn't find it. I back ported the weather widget from 2.0 in case anyone is interested (works fine on donuts). This is the beginning of my development work. Hope this helps!
Please just take the .zip file and rename it to .apk
copy to your sdcard and install with any file explorer or
connect your device to your pc with development enabled
type "adb install MotAccuWeatherWidget.apk"
Red
G1 with latest Cyan
Thank you to this site and all the developers for their inspiration and hard work.
This has been around for a while...
Good work, though. Kudos and thanks for the effort.
Oh, sorry. I guess I'll probably get flamed by like 30 ppl now. lol. I guess I will try my hand at the Dock applications, unless that has been done too?
Red
redd12345 said:
Oh, sorry. I guess I'll probably get flamed by like 30 ppl now. lol. I guess I will try my hand at the Dock applications, unless that has been done too?
Red
Click to expand...
Click to collapse
If anyone flames you, they're stupid. You did good work, even if it was in vain. Car Dock has been ported to Donut, though I don't think the little nightstand Dock from Droid is running on anything prior to 2.0... Not sure, though, as it doesn't interest me all that much.
thanks for the encouragement. is there a list of things that show what needs to be back ported or which ones have already been? I want to contribute.
Red.
redd12345 said:
thanks for the encouragement. is there a list of things that show what needs to be back ported or which ones have already been? I want to contribute.
Click to expand...
Click to collapse
Not to my knowledge. It might not be a bad idea for one of the leading devs to start a thread here on things we want from new phones to run on our phones, and check them off as they are accomplished. 75% of the list would be from the Nexus One, at the moment. You really want to help? See what you can do to get Launcher2 from the Nexus working on Dream... Just changing the build.prop doesn't work, so we'll have to fix errors one by one. Hope you're better at coding than I.
There is also more info in the Dream app section, where these apps are usually released...good work, keep it up!
Hi, there's a version that does not work with 1.6 (only 2.X). Which version is?
BR.
I'm not sure. I pulled this weather widget from Eugene373's AOSP Rom port and hex edited the AndroidManifest.xml to make the MinSDK 3 instead of 5. I can't tell you much more than that. I hope this helps you.
Red.
Give this widget a shot and see if it's the one you are looking for. At least one person might make use of it. haha
Red
yukkio said:
Hi, there's a version that does not work with 1.6 (only 2.X). Which version is?
BR.
Click to expand...
Click to collapse
So, does anyone know if this will work on 1.6? Cyanogen MOD ROM?
It will work on any 1.6 rom. I am running Cyanogen's 11.1 (most recent.) This widget typically works on most people's "custom roms" as long as the 1.6 base is the same, it's just that there is a MinSDK value that prohibits users on a lower SDK from using the application. I dropped that value to 3, so I think that it should also work on hero roms (1.5 cupcake base) if someone likes the graphics on this widget better than the weather app that is included. Hope this helps.
Red.
Ps. I am going to be trying my hand at creating themes instead. My only experience with programming was C++, Pascal, and Visual Basic and that was close to 8 years ago! lol. I'm a little outdated as far as Java goes.
I'm really looking forward to using Stericson's Metamorph. It is such a great effort for theme development.
i sure could use it im new to xda im non root for now, but i would like to make a few nice add ons to my mt3g till i get the guts to root. is thr some good stuff here for a non root like me
Awesome job. I appreciate the work.
Odd question though, what do you do in the process of back porting? I'd love to learn..
Nice Widget, thanks. I was using weathereye before. I like this one better.
Thanks. In the case of this widget, it was ok to backport it because it doesn't call on any other functions that are proprietary to a specific rom (ie. Happenings widget from Blur calls tons of other functions in the home.Blur). There are a few places online when you look up backporting (I'll try to remember to post the links for people.)
You want to start by unziping the aplication you want to backport. Just rename it to a .zip file.
When you look in the file, you will see AndroidManifest.xml. This file has been compiled out as a binary file so you can't read it like a normal .xml file. You want to then download AxmlPrinter2.jar and run that to change the AndroidManifest.xml to AndroidManifest.txt by typing "Java -jar AmxlPrinter2.jar AndroidManifest.xml > AndroidManifest.txt"
The hard part is to find the byte offset in the AndroidManifest where it says the MinSDK value is. The MinSDK value needs to drop from 6 or 7 down to "2" so that you can use the widget on Cupcake or higher. There is a program online and I will post the link when I get home that you use with Eclipse to find the byte offset and then you have to use a Hex editor to change the value in the original .xml file.
Once you use the hex editor and save your changes, you zip up all the files and use the apkbuilder.exe that is in the sdk tools directory by typing "apkbuilder application_name.apk -z application_name.zip"
that will make an apk from a zip file and then you right-click and resign the apk file. From there, you just copy it to your sd card and you know the rest.
It is a pretty dirty and painful approach to porting an app. That is why I am more interested in working on themes. You can just unzip the apk's you want to use and edit the /res directory and then rebuild the app and sign it. Photoshop works great for it.
I'm planning on making a theme/rom that uses hero (1.5) for a base, but slimming it down and using widgets that are smaller like the one that I ported and changing a lot of the graphics for the clocks and such.
I hope this helps for anyone interested in developing.
Red.
Wisefire said:
Awesome job. I appreciate the work.
Odd question though, what do you do in the process of back porting? I'd love to learn..
Click to expand...
Click to collapse
Ok so I have been searching the forums and I cannot find an exact answer for what I want to change so if this is a problem that had already been solved, please direct me to the thread.
I just recently dl'd the chm binary release and like it. But the on screen keyboard is hard on my eyes.
So my question is how would I go about replacing it with something like, o say the buuf on screen keyboard instead?
HTC_IME is not what I want just to clarify.
And once again, I apologize if this has already been threaded...
There is no way that none of you know this...
philosophics said:
There is no way that none of you know this...
Click to expand...
Click to collapse
We could help you, but it is a 3rd party keyboard. What keyboard is it?
I'm not really sure. After installing the HTC_IME, I now have 2. Htc keyboard and android keyboard. If I knew how to take a screenie, I would but I don't.
As far as I know, its the on screen keyboard I've had since I rooted...
The keyboard that comes with chm binary is what I want to change...
well, I know how to modify the look of the builtin keyboard, but I haven't messed with 3rd party stuff.
The stock keyboard can be changed by theming. They're just png files, although the .9.pngs make it a little bit more complicated.
Well I kinda figured as much but what I'm really trying to ask is where do I find them?
They're in framework-res.apk on the phone. If you extract this file they'll be under res/drawable/
The filenames are btn_keyboard*.png
By using metamorph or creating an update.zip style theme you can change these and apply a theme to the phone. Theming is a real pain, but I think it's worth learning how to do.
Ya, I have already pieced together a blackbar to my liking so I'm well aware of the hassles it is to do. I'll be learning the .9's as soon as I get my pc parts back from rma and then I'll try to put out a skin.
Thanks bud, I'll look into this tomorrow after I've slept...
If you want to do this easily, download the buff keyboard skin for better keyboard, and take the .9.pngs from there.
Wow! Now that should have been said at the very beginning. Good thing I was too busy today to get to that. Cloverdale, you just saved me a few hours of frustration. still though, I thank the both of you for the help. I will update the thread when I have success so everyone knows its solved!
Ps- anyone else try to read the forums on your phone? Its a little tricky...
Sorry for the off topic comment but I felt the need...
ok so I couldn't really find a way to download the better keyboard/buuf theme on the pc so I went and tried swapping the btn-keyboard---'s and noting happened after add.
So now I'm on the hunt for the better keyboard dl
I don't know where to look for the file when dl'ing to phone so if all else fails, I guess I could dl to phone and then search for it by folder by painstaking folder...
Update - I cannot for the life of me find the file on the web or on the phone. I dl'd from marketplace but I must not be very smart cause I don't know where marketplace stores stuff...
Downloading the better keyboard theme was supposed to save me grief but in fact, it did the exact opposite...
Update - Well I thought by removing the btn_keyboard_key.xml would solve my problem considering the BUUF skin does not contain one. Same nasty black and blue keyboard. All the buuf keyboard .--- are there so I'm confused once again.
I do not want to install another pay-for app and I don't want the entire buuf theme as of now so I will wait till later today after sleep and try again.
Unless someone knows exactly what's wrong. I'm doing everything I can to keep this 3 month old drywall from having holes in it...
I thought the black bar mod was hard to do... hahaha! That was a cake walk compared to this...
Update - Removing the xml's to the keyboard was a bad idea. It forced closed the android keyboard cause it wanted to change the language to latin or something like that. Touch Input keyboard (HTC_IME) will still work though and I made backups so all of this is just a learning experience for me.
...This is so not like modding and skinning a moto. Way more complicated. So much can go wrong.
Which reminds me, how do I view the .xml's with win7? Never done it before...
So does anyone have any other ideas? Maybe there's something I've been missing this whole time?
I have replaced the btn_keyboard--- files in the framework-res.apk like I was told to do and there is no effects... at all. Positive or negative...
philosophics said:
So does anyone have any other ideas? Maybe there's something I've been missing this whole time?
I have replaced the btn_keyboard--- files in the framework-res.apk like I was told to do and there is no effects... at all. Positive or negative...
Click to expand...
Click to collapse
Well the only other place I can think of is the LatinIME.apk, but I'm not sure about that one
You know, that almost makes sense cause when I removed the .xml for the keyboard to make it match with buuf, the phone kept screaming at me about ..... latin something. So I will check this out and let you know.
But now I have a new problem. I think I need to remove a few applications cause my phone keeps force closing everything after reboot due to an update.zip file. So once I conquor this then I'll start working on the original problem...
I would like to theme a rom with the following but im not sure how or if its possible due to the fact that the functions come from sense roms but i figured if the htcmusic.apk can be ported to any rom than why not contacts, dialer and notification bar (as pictured). Any help is appreciated.
I think it's not possible to install sense-apps to non-sense-ROM.
But you can modify the com.htc.resources.apk and framework-res.apk and replace some graphics in it.
ogo2 said:
I think it's not possible to install sense-apps to non-sense-ROM.
But you can modify the com.htc.resources.apk and framework-res.apk and replace some graphics in it.
Click to expand...
Click to collapse
some apps are possible. music was ported successfully to vanila roms. I would imagine that contacts could be ported to work, but id imagine things like contact sync with facebook and such wouldnt work
i guess trial and error will have to give me the answer. I was hoping to get feedback so i wont waste my time or do the trial without the error.
Oneofonex1 said:
i guess trial and error will have to give me the answer. I was hoping to get feedback so i wont waste my time or do the trial without the error.
Click to expand...
Click to collapse
I'm pretty sure it's not possible. The two apps of the top of my head (HTC Music and HTC Camera) were able to be ported because they had little to no dependencies on Sense framework. The ones you're trying to port, unfortunately, have many.
This could be completely off, and I wouldn't be surprised of parts, or all, of it are wrong.
First, I apolgize if this belongs in the general section, I just wasn't sure where to post. I would like to change the look of my dialer (the one you hit the phone icon to bring up), specifically to the look of Jt's AOSP rom dialer posted by Captainkrtek and pictured below. I really can't find anything that says exactly what to change in the contacts apk to get it to look like that. Rather, everything I have done has failed miserably. can anyone give me a little insight into what I take from one to put into the other? Thanks in advance
the touchwiz dialer and aosp dialer don't line up right, you'll need some xml edits (DIP) and images and a bunch of other stuff.
the dialer is TabDialerActivity.apk (or something like that)
DialerTabActivity.apk and framework-res.apk
Big thanks to both of you. I have that apk on my phone, but the aosp rom doesn't, do they hide that somewhere else on aosp? I am just sifting thru the whole rom right now looking for the same files. Also, if they don't line up right, am I just wasting my time?
Fyrmedic654 said:
Also, if they don't line up right, am I just wasting my time?
Click to expand...
Click to collapse
Well, it all depends on what you want. You might want to check Phone.apk also.
Eh, looked there but nothing matches up. I give up. Getting it like that may be more than my noob behind can handle right now. I'm still learning the ins and outs so, I may put this on the back burner next to my custom boot animation. Thanks again for the help. At least now if I find one I like in another theme, I will be able to change it
http://forum.xda-developers.com/showpost.php?p=9102683&postcount=80
These are winmo cabs, any way to put one of those into a ROM, either a flashable zip, an APK, a CM7 theme via tmobile theme chooser?
I'm especially interested in the bottom left Houston Texans one.
highly unlikely wihtout changing the scripts etc in the cab file adn then rebuilding it
Thats sucks
I'm talking about putting that image on a CM7 dialer. So it shouldn't be THAT hard right?
Sent from my HTC HD2 using XDA App
i did respond to your pm...but i see you are very eager to get this done.
overall, no it isn't hard. but the best way, i dunno.
the dialer is in two locations, really - contacts.apk (com.android.contacts) and phone.apk (com.android.phone) in cm7 roms. look for:
dial_num_*_wht where * = a number, etc. (they are pretty obvious)
the hard part - getting the images to look as you please. (always the hardest thing, i guess).
then to get it on your phone. many theme apks won't simply allow you to drag/replace in the apk (anastasdroid always gave me errors when i did that.)
so options:
1- decompile/recompile the above system apks with your edits and push to your phone / replace in your rom
2.a- decompile/recompile your favorite theme with your edits and install the theme
2.b - make your own theme (though then no other theme)
3- try metamorph to push your files to your apk (this would make more sense to me)
the above makes sense in my head; hopefully it will to you.
if you can edit images, i am more than willing to help - or as i wrote in the pm, when work evens out i will be glad to help.
-----------------------
edit - one concern i see is that the numbers on the cm7 dial pad seem spaced out. at least on hdpi. that may make it less of a statement as the above cab.
Ill try it out and see what happens
Sent from my HTC HD2 using XDA App
lol, it is indeed the hardest part to get the image looking like the pic.
I will try using Photoshop and MS paint p) and see what I can get to.
I will update this post soon.
Edit :
*1- Tried on my phone, normal background hasn't changed. Pulling attachments (for now).
*2- Now the app won't even start and there is no signal, lol.
*3- It's no use, even though I changed the background, but it keeps the phone off having signal. sorry, you'll have to have a professional do it for you .
orangekid said:
http://forum.xda-developers.com/showpost.php?p=9102683&postcount=80
These are winmo cabs, any way to put one of those into a ROM, either a flashable zip, an APK, a CM7 theme via tmobile theme chooser?
I'm especially interested in the bottom left Houston Texans one.
Click to expand...
Click to collapse
You should PM Nando. He's starting to branch into droid and I would bet hard cash he can figure it out.