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...
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?
hey, i've been screwing around pulling .apks from /system/app + /framework...and pretending i'm some hardcore themer or something...lol anyway...
firstly sorry for my lack of correct terminology...i only learnt how to use adb properly a few days ago and am very green when it comes to all this stuff.
i've managed to pull some pngs from com.htc.resource.apk which correspond to the main part of the sense/rosie interface (ie the buttons at the bottom of the home screen).
All i have been looking at doing is editing the colours of these pngs to add slight customisation..for now.
After editing i pushed com.htc.resource.apk back to my hero and hey presto it worked...nice new coloured interface (just the bottom of the homescreen, not everything like i've seen in some themers work and metamorph themes) but alas i came across a MASSIVE issue:
I lost the ability to sign into my google account and sync my contacts!!!!
I tried again and had the same issue...very strange i thought seen as i was only editing images...but i know computer systems can be temperamental...
so does anyone know what i'm doing wrong? possibly how i can fix this issue? it's been bugging me for at least 24 hrs and i'm sure there must be some easy fix. at first i thought it could be something to do with signing the files, but as far as i'm aware as i'm only playing with pngs no signing has to be done...correct me if i'm wrong.
I'm using villain rom 10.3 at the moment...if that makes a difference to whatever answers i'm hoping to get.
I've attached an image oh my status bar so far. i'm hoping to make a corresponding rosie/sense button thingy interface in the near future...
all help is GREATLY appreciated and i'm happy to share any "work" that i've done with anyone..so don't be shy.
Cheers
hey bro! i was playing around with the htc.com.resources.apk too! was trying to edit the lockscreen to a different style but too encounter the exact same problems as you faced!
apparently this guy, odin13 in his post
"clear sense lockscreen for Cronos 1.7.1"
managed to edit the htc.com.resources.apk without any facing any problems like us. im actually using his edited htc.com.resources.apk for clear lockscreen right now..
Cheers for the reply, bit of a flummoxing problem. I'll try an find odin and see if he can help!
Please anyone else feel free to help me here :-D
Hi guys,
Sorry for my late response but i just noticed the msg i got...
I'm really sorry but i really can't help you with this problem.
You should better ask it in the Villain forum since i'm no developer or some like that.
The boyz at Villain will definately be able to help you out with this or at least they can tell you what's going wrong.
The 'trick' with lockscreen is something i read once in a post ( can't remember which forum though ) so it's not even something i will take credit for.
Good luck bro and srry again for the late response!
hoi,
odin
Hey thanks for getting back to me man, greatly appreciated. Those boys at villain did solve it, i think it was a combination of pulsar & ultimately shen who sorted me out.
For stuff like the lockscreen and sense interface you need to create an update signed zip file and flash that way. no more loss of contacts which is great!
Happy days!
Camera takes raw images in kalim 10.9
translate.googleusercontent.com/translate_c?hl=en-GB&ie=UTF-8&sl=es&tl=en&u=http://www.htcmania.com/forumdisplay.php%3Ff%3D201&rurl=translate.google.co.uk&usg=ALkJrhiuQ-KUWzTbwAieMGtyhVj3w26H_A
Sent from my HTC Tattoo using XDA App
Thanks. I see that it is possible to convert the outputted .raw image to jpg. We can somehow say it is done! Just to complicated to be done everyday!
Hopefully they will translate in English and post the ROM in here. Would love to try it out. Lots of outstanding features and capturing images in RAW is exactly what I need.
Taking photos in raw format seems to be working well (someone even posted a photoshop script that'll translate those raw photos to jpeg). However, there are a couple of things that aren't working right now, namely:
Preview isn't working yet.
There seems to be some problem with camera unloading. When you close camera app, the camera won't behave correctly in any other app.
But it is, indeed, a giant leap forward thanks to kalimochoaz
bladez said:
Hopefully they will translate in English and post the ROM in here. Would love to try it out. Lots of outstanding features and capturing images in RAW is exactly what I need.
Click to expand...
Click to collapse
http://translate.google.com/transla....htcmania.com/showthread.php?t=169524&act=url
message deleted by user
posted in the wrong thread sorry
Why I have not posted my work here
Hi all,
I have decided not to post it here this ROM together with Arco ( from the past this forum has been filled of ) for some good reasons.
Yo already have Arco's Gingerbread. This is an excelent ROM
I realy want to have camera working, so I prefere not to doble post ( spanish / english ) takes time.
Not fill this foro with people thinking that the ROM makes photos. This ROM only makes RAW at this moment.
I don't like credit, this is a work together with HTC mania guys and Arco's work. The ROM is from Cyanogen Team, so all credit for them.
If anyone feels that can help, of course, always it will be welcome. I don't need credit as I said before, I need camera working. Take a look at my github, all is in there. I hope in not to much time is in cyanogen so it will be more esasy for all of you to download and compile...
For the ROM statements, Arco's ROM is always one step advanced from mine, He is doing a great work for all of us. Also I am receiving help from HCDRJacob and Cyanogen.
Feel free to take the git or the ROM and suggest for camera topics. More people helping -> more possibilities to have it working.
Thanks for asking for my work.
one question, where are the RAW files stored... i can't seem to find a folder...
Servantez said:
one question, where are the RAW files stored... i can't seem to find a folder...
Click to expand...
Click to collapse
Now it's released the version 10.11. Saves jpeg to sdcard at folder DCIM/Camera
filipepferraz said:
Now it's released the version 10.11. Saves jpeg to sdcard at folder DCIM/Camera
Click to expand...
Click to collapse
after taking a picture I have no trace of the .jpg in DCIM folder / when I switch camera to camcoder mode something actually is saved to sdcard, but the file is corrupted...
Servantez said:
after taking a picture I have no trace of the .jpg in DCIM folder / when I switch camera to camcoder mode something actually is saved to sdcard, but the file is corrupted...
Click to expand...
Click to collapse
Create a directory in sdcard: /DCIM/Camera ( case sensitive ). This camera app is for test so I don't make the directory if it doen't exists and no jpeg can be stored.
Once you go out of the camera reboot the tattoo it will consume resources and you will not be able to go again into camera app witout reboot
calimochoazucarado said:
Create a directory in sdcard: /DCIM/Camera ( case sensitive ). This camera app is for test so I don't make the directory if it doen't exists and no jpeg can be stored.
Once you go out of the camera reboot the tattoo it will consume resources and you will not be able to go again into camera app witout reboot
Click to expand...
Click to collapse
Thanks for the tip
x @calimochoazucarado:
I'm trying to follow your excellent work in camera things from few months, and you are the only one that is trying to solve this thing.
Tattoo is not a great phone, hardware is not realy like his major brothers, so lost also camera and fm is realy making me hungry.
Obviusly is not a fault of the people like you that spend lot of time and money (becouse time is money) on this great work, but i think that the most important thing before make a fully costumized rom,is gain a working kernel with at least camera working, i hope that is the point that all rom maker like you are trying to do.
I belive that an opensource community MUST collaborate to gain the max from a common ideal, HTC lost us in the deep space of 1.6, you and others still working hard, but please, do this hard work in english on this forum, just to make us able to test and , others that can, able to help.
Thanks to all rom developer, thanks to you for your hard work, i hope this pray would be recived
-vt- said:
x @calimochoazucarado:
I'm trying to follow your excellent work in camera things from few months, and you are the only one that is trying to solve this thing.
Tattoo is not a great phone, hardware is not realy like his major brothers, so lost also camera and fm is realy making me hungry.
Obviusly is not a fault of the people like you that spend lot of time and money (becouse time is money) on this great work, but i think that the most important thing before make a fully costumized rom,is gain a working kernel with at least camera working, i hope that is the point that all rom maker like you are trying to do.
I belive that an opensource community MUST collaborate to gain the max from a common ideal, HTC lost us in the deep space of 1.6, you and others still working hard, but please, do this hard work in english on this forum, just to make us able to test and , others that can, able to help.
Thanks to all rom developer, thanks to you for your hard work, i hope this pray would be recived
Click to expand...
Click to collapse
I 100% agree. FMRadio probably will never work, but camera would be THE step. And if behind the great kalim there is cyanogen we are in excellent hands.