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
Related
Long time lurker, first time poster... I have been learning a lot really fast about customizing different aspects of the eris, but what I have been really searching hard for is a way to customize certain components to add to an already great rom. Right now I am running Eris_Official_0.8.1T2 btw. Anyways what I am really looking for is something like this forum.xda-developers.com/showthread.php?t=654852 Mostly the Launcher is what I really want to change but to be able to tweak everything else would be great too. If someone knows how to do this or can point me in the right direction to maybe even learn how myself I would greatly appreciate it.
Thanks
unzip the rom files
system/framework/com.htc.resources
once in there go to
res/drawable-port-mdpi
the file named common_app_rosie_navbar.png
is the launcher, and thats the main thing u need to edit.
and also go to
system/apps/rosie.apk
one inside the apk go to
res/drawable-normal-mdpi
and
drawable-normal-port-mdpi
edit those to your liking
Wow I feel dumb now lol... Ive been poking around in com.htc.resources for a couple days now and completely overlooked that... Thanks alot... Only question I have now is how do I remove the word phone that overlayed on the launcher? I would post a screenshot of my home screen but since im a new user its not allowing me.
Thanks for the help
well I uploaded a photo to my album so if you feel like checking it out just go to my profile... Im starting to like the phone (icon and word) over the orb but if anyone knows how to remove the word for future reference please let me know... I am also trying to find out how to change the status bar's clock color, which searching around has brought me to editing the services.jar or services.odex file but Im still uncertain on how to do this. Any input would be great.
Im going to sound like an idiot, but i can't open the apk to edit, im missing something.. help?
Right click and open with winrar or 7zip. Once you have edited the images you will have to resign either the .apk or the rom. Depending on if you are editing the whole rom or not. Hope I was able to help
Since seeing the Dell Streaks UI (Dell Stage Launcher) i downloaded it and put it on my phone. As a launcher it works great, but there are alot of issues. So I am going to work on porting it over to the Eris, becasue it is a well built fast ui ( i am clocked at 710 and there is not lag). But I do need some help so this will be a slow process.
Here we Go
Ok im already pretty lost any suggestions on where to start?
we're all gonna need "a little" more than "i started to port a rom and am now stuck, please help."
what have you done? what's the ROM doing? booting? any errors when DDMS is running? what are they? logcat?
the streak has an 800×480 pixels resolution display, correct? so there are gonna be some sizing issues that you'll have to correct as well (honestly, a PITA)...
on top of that, isn't the streak still on 1.6? has it got a 2.2 update yet?
or... are you JUST using the launcher? or the entire ROM?
i don't mind helping anyone here when i can... just need a little to work with
tenzomonk said:
we're all gonna need "a little" more than "i started to port a rom and am now stuck, please help."
what have you done? what's the ROM doing? booting? any errors when DDMS is running? what are they? logcat?
the streak has an 800×480 pixels resolution display, correct? so there are gonna be some sizing issues that you'll have to correct as well (honestly, a PITA)...
on top of that, isn't the streak still on 1.6? has it got a 2.2 update yet?
or... are you JUST using the launcher? or the entire ROM?
i don't mind helping anyone here when i can... just need a little to work with
Click to expand...
Click to collapse
Its not the rom i am porting its dells Stage UI it is a launcher
The streak is going to get 2.2 here soon. But this was leaked. I have it installed and it runs no FCs which is a plus. Off the bat i did notice that there is a massive screen resolution difference so it doesnt like to scale like you said. That is what i am trying to over come. I am sort of a newbie at this so i am doing research at the same time to expand and learn.
Somethings i am noticing.
1. It looks like portirate and landscape are backwards. So the widgets are all funky.
2. When first booting up there are no icons in the app draw.
At this current moment i am installing all the android development tools that i will need (Eclipse and so on, I already have Android Sdk installed). But im trying to get my hands on ADW's apk to compare the xml files for how ADW scales to different resolutions so i can apply that to Dells Stage UI
Thank You in advanced for dealing with a newbie who wants to learn.
gotcha!
i've got the files sitting here.
it looks pretty nice... but you'll have to resize all the png files each of the apks... as well, you'd have to edit (hex) a few of the xml's as well.
the resizing might be tricky, as the resolution isn't an "even" scale with our screen res. 320 x 480 "x" 1.5 = 480 x 720... but that would probably look ok and be best "match"
however, i've done LOTS of editing of the png's in many files, roms (theming, etc)... and it's quite "enjoyable" hex editing... meh, not really my strong point!
would definitely be "sexy" to pull it off! hopefully someone smarter then me can give some insight to the hex editing
did you have to use/install the LCD density change too? http://forum.xda-developers.com/showthread.php?t=765639&highlight=dell
tenzomonk said:
gotcha!
i've got the files sitting here.
it looks pretty nice... but you'll have to resize all the png files each of the apks... as well, you'd have to edit (hex) a few of the xml's as well.
the resizing might be tricky, as the resolution isn't an "even" scale with our screen res. 320 x 480 "x" 1.5 = 480 x 720... but that would probably look ok and be best "match"
however, i've done LOTS of editing of the png's in many files, roms (theming, etc)... and it's quite "enjoyable" hex editing... meh, not really my strong point!
would definitely be "sexy" to pull it off! hopefully someone smarter then me can give some insight to the hex editing
did you have to use/install the LCD density change too? http://forum.xda-developers.com/showthread.php?t=765639&highlight=dell
Click to expand...
Click to collapse
Yes i did but it didnt do anything so i guess im down to editing the pngs...here we go again.....where are the PNG's?
Might be of some help
http://www.ubergizmo.com/15/archives/2010/11/htc_evo_4g_gets_dell_stage_user_interface.html
for png locations... use 7zip (or your favorite archiving program)... open up each of the apks...
you will find all the png's in the various folders
Has anyone got a port of the entire ROM to boot? Mine bootloops and I haven't had time to really look into it.
tenzomonk said:
for png locations... use 7zip (or your favorite archiving program)... open up each of the apks...
you will find all the png's in the various folders
Click to expand...
Click to collapse
That is the first thing i did ( i did use seven zip) but there are no png files. I pulled appart the actual launcher to get started on that because i think if that gets fixed the widgets might be de-opxted. so they should scale. Other than that in all the files it is either xml or orl.....wait i found them lol great . Any sugestions on what programs to use to edit them?
gnarlyc said:
Has anyone got a port of the entire ROM to boot? Mine bootloops and I haven't had time to really look into it.
Click to expand...
Click to collapse
Running an Eris kernel in it?
Has the rom been deodexed?
Stonent said:
Running an Eris kernel in it?
Has the rom been deodexed?
Click to expand...
Click to collapse
Well, yes and yes, of course. I took DJ Steve's Froyo and ported it. Not real successfully yet, but I gave it a try. If I get a chance, I'll logcat the boot if it gives me such a thing.
okay I'm also working on this but for the sprint hero. The launcher and it's widgets install fine without any mods (running cyanogen 2.2) But of course since it's an mdpi device it's really out of whack. So far I was able to change the shared uid by removing the meta-inf from all the apks and resigning them all using release keys. I then used apk manager to decompile the apks. I can decompile and recompile the widgets no problem but when it comes to the launcher it doesn't compile. Of course without the launcher having the correct dimensions none of this really matters. If anyone has any ideas.
Almost forgot that this is basically the same stock launcher that comes in 2.2 so the dimensions could pretty much be copy pasted over
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
First off, I would like to say, I know nothing about themeing Android, which is why I'm posting this.
My basic knowledge is: framework.apk in /sys is where the theming is kept. I know how to pull it from my phone, but do not know how to edit/open a .apk once its on my computer. Thats it. Thats all I know when it comes to theming. I don't know how to use the SDK or command prompts(I use root explorer) or what the individual files are in the apk are.
What I do know is graphic design, which makes me want to get into this.
What I'm trying to do is take part of a theme I like and port it to a different ROM, with my own added touches. I contacted the original developer, but since he doesn't have the phone I have(Droid A855), he has no experience on how to port it himself. In fact I was able to port his theme over from a CM ROM to Bugless v0.5 using a program I found online. However I'm unable to port the theme to Bugless v0.6. I assume this because v0.6 has bits of Gingerbread in it, and things aren't lining up.
More specifically, I'm looking to do the following:
-Take a theme that works on Bugless V0.5 and get it to work on Bugless V0.6
-I'd be happy with just porting the status bar and all the icons that come with the status bar(Wifi, battery, downloading, downloading complete, sms etc...) and the notification menu with the ability for me to change a few of the icons.
-And theming the keyboard
I understand that this may be or may not be a lot of work for someone to tell me how to do this, due my 0 knowledge of anything like this.
Thanks in advance.
Dude just a search for theme Porter, there's a couple of them and there's a sticky at the top of the forum how to theme.
My sig has links that could be useful to you also.
Hope this helps.
dully79 said:
Dude just a search for theme Porter, there's a couple of them and there's a sticky at the top of the forum how to theme.
My sig has links that could be useful to you also.
Hope this helps.
Click to expand...
Click to collapse
If you read my post, you would see that a theme porter doesn't work.
Besides I'm looking more into how to do it for future reference too, the sticky at the top is lacking.
As I say there's a few theme porters, 1 may work better than another unless you've already tried them all.
Basically youll have to use apktool/manager to decompile the apk, swap out your desired images, and recompile. You may also have to edit the xml's inside the decompiled apk to change colours. The sticky can point you in the right direction to the xml's to edit.
Just be aware of. 9png images as they can create head f#$k.
Everything you need to know is already posted its just a case of finding it.
To put the new apk on your phone you can use adb or create an update zip, there's threads for these hanging about too.
Sorry I can't link but I'm sending this from my phone, hope this sheds a little light on the subject.
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.