[Q] [q] metamorph - Droid 2 Android Development

hey I was wondering if it would be possible to make metamorph themes the droid 2 (rooted).
Also if it is possible we could just port some popular themes using the theme porter http://forum.xda-developers.com/showthread.php?t=768194 and just use the system dump of the droid 2 as the rom? (or would that not work at all?)
thanks,
ljbaumer

its possible to use metamorph themes on the droid 2. ive successfully done it.
you have to remount the drive as as R/W first:
adb shell
su
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
then apply your theme.
i would highly recommend making a backup first as there are still a few issues. use at your own risk.

Could you post a link to an MM theme? I have been searching and cannot find any.
Thanks!

Related

[Theme] 1.5 CDMA Hero BlackMashup Theme

Alot of this is from about a month ago when I started, been traveling alot since so just wanted to update this with my latest add-ons. Screenshots & update- TEBlackMashup_0.1_signed.zip - have been posted. I am going through updating below instructions.
----------
I love how fast my phone feels after fresh 1.1 & gumbo fw with setcpu but I wanted to start getting into changing some of the icons like some of the other android skins ive seen. I take 0 credit for any of these mods, I just took other skins and pieced them together. I will try to give props to everything i used at the bottom of the thread. Some of this is copypasta from other threads i posted so you might have seen this before. Also if your phone spontaneously combusts from following this its not my fault. This is my first shot at doing this so im shooting in the dark as much as most of you are. AS ALWAYS RUN A BACKUP FIRST
------------------------------------
Using all my changes:
------------------------------------
Attached TEBlackMashup_0.1_signed.zip that should be flashable like any other update. Tested update on mine running Gumbo FW/Fresh1.1 & all seems well. HtcContacts.apk & Phone.apk are zipaligned. Run a backup first.
------------------------------------
Using just part of theme:
------------------------------------
If you only want black dialer or only want status bar
Open TEBlackMashup_0.1_signed.zip in winrar, extract APKs you want. Send to phone using below instructions
HtcContacts.apk and Phone.apk contain the black dialer buttons.
framework-res.apk contains the statusbar mods
------------------------------------
Sending individual APKs to phone:
------------------------------------
(only needed if you are only applying part of this theme)
*One method is using fresh's kitchen to send files down.
*Use ADB to push files:
This example expects apks duped in C:\android\ Only run the push commands for the files you ripped out of rom.
Code:
cd C:\android\
adb remount
adb push framework-res.apk /system/framework/framework-res.apk
adb push HtcContacts.apk /system/app/HtcContacts.apk
adb push Phone.apk /system/app/Phone.apk
adb shell reboot
*Copying from sdcard if remount fails or probably from terminal on phone
Code:
adb shell
$ su
# cd /sdcard
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# cp framework-res.apk /system/framework/framework-res.apk
# cp HtcContacts.apk /system/app/HtcContacts.apk
# cp Phone.apk /system/app/Phone.apk
# reboot
---------------------------------------------------
Changing different parts of mod from scratch yourself:
---------------------------------------------------
*Modifying the Status Bar:
Open /system/framework/framework-res.apk with Winrar. Status bar files are in /res/drawable & /res/drawable-480x320. Status_Bar*.png control the looks of the status bar (when you drag down on the notification bar). I took the one from enoch morph and replaced them into my framework-res.apk.
*Top Icons:
The voicemail icon is in in /system/framework/framework-res.apk in the /res/drawable folder called stat_notify_voicemail.png. I didn't like the pinknish purple background so i took the one from modaco and replaced the one in fresh.
Next I wanted to work off of Ratcoms battery icon. In the same /system/framework/framework-res.apk in the /res/drawable folder i took stat_sys_battery_* from his rom and plopped em back into the one from fresh1.1. Working on putting a charging symbol in.
Ratcom also had cool Download/Upload animation. In /system/framework/framework-res i put his stat_sys_download_* and stat_sys_upload_* from /res/drawable.
The wifi icons Ratcom I wanted to use as well. These are the stat_sys_wifi_signal* pngs.
CDMA Location & EVDO/1x data icons are in a different spot. I have not tried changing them yet but they are in /system/framework/com.htc.resources under the /res/drawable-480x320 folder. The EVDO/1x icons are stat_sys_data_*, The CDMA location seems to be sym_gpsone0 & sym_gpsone3
*Dialer Buttons:
Now i got into modifying the dialer buttons. These seem to be in /system/app/HTCContacts.apk. I took the phone_number_* pngs from /res/drawable-480x320 in CC SEO's mod (for the dream) and placed them in our HTCContacts.apk. I did the same in Phone.apk. I had to resize the top row of buttons to be 4px taller or there was a ugly grey bar inbetween rows, couldnt quite figure out where it was coming from. Only happened in htccontacts.apk not with phone.apk.
After you have your modified APKs you may wish to zipalign, then just push to phone following above steps.
------------------------------------
Props: (aka other roms i ripped apart)
------------------------------------
Fresh 1.1 - Amazing rom. Thanks for all the hard work flipzmode. More here
Modaco 1.3a unofficial used to grab VM & other stock icons from. Rom here
Battery Icon/Wifi Status from Ratcom's black metamorph theme
Translucent Status bar from Enoch morph here
Brock Task bar for Some bluetooth/syncing icons here
Phone Button mods CC SEO did for dream. Located here
nice work!
I have a Sprint Hero with Fresh 1.1 and I tried to change the dialer but it's not working. I downloaded HTCContacts.apk from your link to CC SEO and this is what I did but no change after reboot?
adb shell
# cd /sdcard
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# cp HTCContacts.apk /system/app/HTCContacts.apk
# reboot
.
i wanna change the dialer also it works? aparently jpeepers could not get it to work o.o
FYI you guys can use the kitchen (v0.2) to push these back. It will allow you to push any file you want.
jpeepers said:
I have a Sprint Hero with Fresh 1.1 and I tried to change the dialer but it's not working. I downloaded HTCContacts.apk from your link to CC SEO and this is what I did but no change after reboot?
.
Click to expand...
Click to collapse
You misunderstood I think. Don't take his HTCContacts.apk from his rom, i just took the PNG files and replaced them in the file from fresh's rom. Ill update the first post with the apk's i used in a second, just push those to your phone if you want it to look like mine.
flipzmode said:
FYI you guys can use the kitchen (v0.2) to push these back. It will allow you to push any file you want.
Click to expand...
Click to collapse
what directory do i push the file too .o
magicalan said:
what directory do i push the file too .o
Click to expand...
Click to collapse
Not sure about using fresh's kitchen, it might be easier. HTCContacts.apk has the black buttons mod, framework-res.apk has the battery/wifi/vm changes in it. Take whatever zip file you want to from my first post, extract it somewhere on your local computer. Push the .apk you want to the root of your SD card.
If you want just the framework-res file (battery/wifi/vm changes) after you have copied the apk to the sd card run this to put it in /system/framework/
Code:
adb shell
# cd /sdcard
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# cp framework-res.apk /system/framework/framework-res.apk
# reboot
If you want the black button mod in dialer after you have copied the HTCContacts.apk to the sd card run this to put it in /system/app/
Code:
adb shell
# cd /sdcard
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# cp HtcContacts.apk /system/app/HtcContacts.apk
# reboot
So I modified one picture in framework-res.apk. put the new picture in. Pushed the file...
Now I get stuck at the HTC boot screen??? WTF did I do? framework-res shouldn't stop it from booting!!!
I had to restore a back up and all seems well but I am totally freakin confused as to what I did wrong.
Anyone else had this happen?
I am going to try again now, but I am puzzled.
NVM After I pushed it again, it booted just fine.
Figured I would post my edit... I like it, you may not. First time I have ever done anything like this. Criticism is welcomed. Needs some touch up, not bad for 5 minutes worth of work.
BTW: the phone doesn't like it when you zipalign framework-res.apk thats what caused me not to boot. but it does take almost 1 mb off the size.
cant seem to get my phone to take the key stokes in command prompt it gives me an error about it not being able to be remounted. is it supposed to be in recovery? and can someone post every key stroke needed in command prompt to get these to work right?
whatsleft4her said:
cant seem to get my phone to take the key stokes in command prompt it gives me an error about it not being able to be remounted. is it supposed to be in recovery? and can someone post every key stroke needed in command prompt to get these to work right?
Click to expand...
Click to collapse
Phone doesn't need to be in recovery...that may actually hinder it since BusyBox needs to run...I think thats how it works at least.
Boot the phone up.
Plug it in.
Open Command Prompt
"CD C:\AndroidSDK\Tools" - Or where ever your SDK file is
"adb shell"
--Then if you are pulling stuff from the phone
cd /system/app
cp /system/app/HtcContacts.apk /sdcard
cp /system/framework/framework-res.apk /sdcard
exit
exit
To put stuff back follow his stuff above. or reverse this.
______________________
Another Note:
I changed the button_press files in HtcContacts, pushed it to the phone rebooted...no change.
Anything that I could be doing wrong here?? Maybe these can't be changed?
got it using freshs pre kitchen!
flipzmode said:
FYI you guys can use the kitchen (v0.2) to push these back. It will allow you to push any file you want.
Click to expand...
Click to collapse
How do you use pre kitchen to push the file? I tried and keep getting a message that push.bat was not found or something like that?
.
how do i change the signal icon?
jpeepers said:
How do you use pre kitchen to push the file? I tried and keep getting a message that push.bat was not found or something like that?
.
Click to expand...
Click to collapse
I also get that error when pushing using the pre kitchen....
Inever could find that farmfrenzy game...
Ah crap, requires 1.6
That could be why. Oh well.
after playing around alot and modifying things, they just don't turn out right. for now i went back to the stock taskbar.
This might be completely off-base, but anyone looking to build a custom skin needs to be aware that there are 2 types of PNG images on the phone, and they need to be treated differently. Regular PNG (name.png) are fine, edit away. However, .9.PNG are stretchable images and must be manipulated in a completely separate fashion. There are several how-to articles on the G1 boards, for those so inclined.
mkeyslehman said:
This might be completely off-base, but anyone looking to build a custom skin needs to be aware that there are 2 types of PNG images on the phone, and they need to be treated differently. Regular PNG (name.png) are fine, edit away. However, .9.PNG are stretchable images and must be manipulated in a completely separate fashion. There are several how-to articles on the G1 boards, for those so inclined.
Click to expand...
Click to collapse
well i got the battery icon changed along with alot of other things. the only thing i couldn't get changed was the network EV or radio signal icons of the taskbar. any ideas?

[THEME] all 2.2 UPgrade red / royal blue

Beyond outdated dont use
YOU MUST have a deodexed system
This will also work on all versions of 2.2
list of themed items
BlurHome by me and Explodee RED theme only
Blur phone by me RED theme only
Music by me
Settings by me
Swype (fully functional w/ colored tracer!)original by bilbobrian modded for our phones by me
Browser by me RED theme only
framework based off the 2.2 in rom manager modded by me, special thanks to teenfaces, explodee and phimuskapsi
Google search by me RED theme only
Google market by me RED theme only
misc apks for a cleaner look
Download V1.3 here ..... RED OR Blue
1.2fixes miscoloring in notification bar when downloading, changed UPgrade on lockscreen to DROID X,
1.3 added google market red theme only
By clicking the link you take full responsibility for your actions
take the downloaded file and place on the root of the sdcard, this means not in any file...
Open bootstrapper app
click top button (says success)
click reboot recovery
Open bootstrapper app
click top button (says success)
click reboot recovery
once it boots into recovery use the volume buttons and scroll down to /mounts and choose mount system
power button to go back
select install .zip from sd. camera button to select. (use power button to go back if you make a mistake)
choose zip
scroll to the royalbluezip and apply
let it run through and then choose reboot
Im still working on updated versions of launcher pro, handcent, facebook and twitter and pandora and.... and..... list goes on and on...
For all those that pm me to buy me a
BEER , this is how.
reserved for UPgrades to UPgrade
also have you ever clicked on the album art in music player? TRY IT! also try long pressing
UPgrade 1 themed launcherpro and handcent, this is for those using these programs so the icons in the menu are themed. Stock launcher pro icons are red now.
tricky install, terminal emulator. some reason you have to uninstall and reinstall to new location at the same time in terminal em, all other ways i tried failed
place apk on your sdcard
handcent - http://www.megaupload.com/?d=WNMB55DC
Use root explorer and navigate to your /data/app location check if your files have a 1 or 2 at the end, if you have a 2 then edit the downloaded apk to match and replace 1 with 2 in the following commands...
su
mount -o rw,remount -t ext3 /dev/block/userdata/data
rm /data/app/com.handcent.nextsms-1.apk (if it says file not found, you might have a 2 not a 1, you can check with root explorer)
mount -o rw, remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/com.handcent.nextsms-1.apk /system/app
reboot (type this in terminal emulator then hit enter)
Launcher pro 2.0 Themed Launcherpro Widgets
http://www.megaupload.com/?d=M0XVAJ50
Signed so throw on sdcard uninstall old one, then browse to this one on your sd and install. If you have the plus version you will need to re input your key. If you have my previous launcher you have to manuall uninstall
su
rm /system/app/com.fede.launcherpro-1.apk
reboot
then install
......................................................................................................................................................................................................
UPgrade 2
Red and black twitter, took a while to get it looking good but definitely keeps with the theme.
Its signed, so drop on your sdcard, uninstall old one, install new one, shows up in market as installed.
http://www.megaupload.com/?d=UQSI3OFL
Launcherpro upgrade 9/13. http://www.megaupload.com/?d=Q38170SW This is just an upgrade not the full thing, must have either the stock LP or mine already installed.
If you already applied this upgrade you need to uninstall the updates, Skip this if your market shows an update for LP
, go to settings>applications>manage apps>all> choose launcher pro then choose uninstall updates.
Go to where you dropped my update onto your sdcard open it then choose install
...................................................................................................................................................................
UPgrade 3
Pandora update 9/6
uninstall old pandora, drop this one on your sd and install
http://www.megaupload.com/?d=JLMF88KI
...............................................................................................
UPgrade 4
Dazzle widget, its like the power widget but with a few extra toggles
http://www.megaupload.com/?d=UMASP6K9
I HAVE TAPATALK THEMED I will not provide this as a link, I will only give this out to people with the paid version. Post in my thread via tapa and with a screen shot of the tapa widget on one of your home screens. I dont wanna get banned for warez
.................................................................................................
UPgrade 5
Finally had time to finish facebook, ugh...
widget matches perfect to twitter
http://www.megaupload.com/?d=WQP882B2
Simple addition if you hate the gallery on the x and want the 2.1 gallery from the D1. If you never had a D1 you will want this!
its signed so drop on sdcard, navigate to it and install. http://www.megaupload.com/?d=B8GEDYXM
Also heres a few red launcher pro icons
If your looking for txt icons go here http://forum.xda-developers.com/showthread.php?t=780192&highlight=tallmin
for dark blue ones here are a few modded from le3ky
http://www.megaupload.com/?d=UVWQXQQQ
Damn that's a lot of red!
Too much for me, but I applaud the work & effort. I'm sure it will be popular!
Thanks.
Too much red? ! Never!
Anyone that might want individual apks just ask... Give credit if your gonna kang though.
sent by your mom on tapatalk
any chance I could get just the themed swype?
nitsuj17 said:
any chance I could get just the themed swype?
Click to expand...
Click to collapse
If anyone wants an individual piece please pm me with the request and your email addy.
Install the usual way with terminal emulator
place the apk on your sdcard
su
mount-o rw,remount -t ext3 /dev/block/mmcblk1p21
cp /sdcard/NAMEOFAPP.apk /system/app
reboot
UPgrade #2 twitter now up in second post
almost 50 people have dl'd my theme and across 3 forums i have maybe 12 people commenting...
eh.. im over it back to work!
Man I would love the red unlock sliders. Anyway I can just add them?
Sent from my DROIDX using XDA App
tx3kgtman said:
Man I would love the red unlock sliders. Anyway I can just add them?
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
if your comfortable with moding and pushing the framework i will send you my red sliders.
If you dont want to mod it, let me know what rom/version/of 2.2 your on and i will send you a framework.
pm me the info
Well I tried to change the slider colors in my framework.apk last night. I used root explorer to place the new framework.apk and rebooted and went into boot loop. After sbf and everything I don't think ill try again lol. Im running 2.2 flyX 0.1 final with bignadad's theme.
Sent from my DROIDX using XDA App
tx3kgtman said:
Well I tried to change the slider colors in my framework.apk last night. I used root explorer to place the new framework.apk and rebooted and went into boot loop. After sbf and everything I don't think ill try again lol. Im running 2.2 flyX 0.1 final with bignadad's theme.
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
you crashed because you used root explorer, it wont work that way. Have to push it with term emu or update.zip.
bad4u6669 said:
you crashed because you used root explorer, it wont work that way. Have to push it with term emu or update.zip.
Click to expand...
Click to collapse
ok so if I modify my framework apk and push it with these commands it should work?
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/framework-res.apk /system/framework
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Do I have to mess with the services.jar?
tx3kgtman said:
ok so if I modify my framework apk and push it with these commands it should work?
su
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/framework-res.apk /system/framework
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Do I have to mess with the services.jar?
Click to expand...
Click to collapse
that will work, as long as you only dropped the editied pngs into the already compiled fram.apk. Dont unzip an apk!
Also it will reboot before you can remount.
if your going from a light status bar to dark one then you will need someones services file. so before cp/framework do a cp /services command.
bad4u6669 said:
that will work, as long as you only dropped the editied pngs into the already compiled fram.apk. Dont unzip an apk!
Also it will reboot before you can remount.
if your going from a light status bar to dark one then you will need someones services file. so before cp/framework do a cp /services command.
Click to expand...
Click to collapse
ok all im changing is the lock bars. If it reboots before I remount do I need to finish the remount after it boots up?
Sorry im coming from an Iphone. First android device here
it couldnt hurt, some people have said do it..
Honestly I never have and havent had a problem..
Welcome to the dark side, we all have to start somewhere...
bad4u6669 said:
it couldnt hurt, some people have said do it..
Honestly I never have and havent had a problem..
Welcome to the dark side, we all have to start somewhere...
Click to expand...
Click to collapse
ok I will try it. Can you send me your red slides? Thanks for the help man
added my sliders to post #2
bad4u6669 said:
added my sliders to post #2
Click to expand...
Click to collapse
Thanks. Ill let you know how it goes
Edit: looks like what you uploaded is music.apk and setting.apk?
Great work! Love the theme. Easy install.
Sent from my DROIDX using XDA App

[MOD] Circle Battery for Tranquility 3.0

Hi all,
So, I'm no coder, themer, whatever by any means, but I looked around, couldn't find it, and decided that I wanted it. So I created a quick mod of Tranquil.'s framework-res.apk by switching out the battery related .pngs. This is nothing special... but I figured I'd share in case someone else likes it.
Credit for original PNG's goes to Fightspit. Original thread here:
http://forum.xda-developers.com/showthread.php?t=724778
Please, please make a nandroid backup in case it hoses your phone. It shouldn't but be warned... If your phone decides to become an expensive paperweight, it's not my fault. You knew the risks (though in worst case you should still be able to sbf).
I'm attaching a screenie, and the apk. To install the apk, this is how I did it, there might be easier ways, but dunno, I like ADB so that's what I use.
1) Download the apk and put it onto the root of your sd card
2) The steps
a) open the adb shell and become root if you're not already
adb shell
b) become root
su -
c) mount /system as RW
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
d) Temporarily place file in /system/app to change permissions. I moved it here so I could change permissions before overwriting the original apk since for some reason it wouldn't let me change permissions on /sdcard, ... otherwise I guess there'd be boot loops galore
cp /sdcard/framework-res.apk /system/app/framework-res.apk
e) Change directory to where you just moved the apk
cd /system/app
f) Actually change the permissions
chmod 644 framework-res.apk
g) overwrite original apk with my changed one
mv framework-res.apk /system/framework/framework-res.apk
b) reboot phone to make changes
reboot
Let me know if you like it.
Looks really good. I was just modding my TranQ 3.0 framework-res last night myself to change the batery to the round clock. I did however use one of the other circular battery icons tho. After seeig this tho I may have to make another change to mine now.....lol.
great job, i will incorporate that into the next release.
jimmydafish said:
great job, i will incorporate that into the next release.
Click to expand...
Click to collapse
Hey, thanks man! I like it, looks good on my phone

Can someone point me in the right direction on theming?

Hey guys, is there a guide or something i can follow on how i can theme items on my tab?
I know how to use most design packages, but i don't really know where to start on acquiring the files i need to edit.
thanks
Unfortunately can't help with any knowledge , but I'd LOVE to see some decent themes for the Tab!! Tired of the stock look. Good luck and hope you share your work
natious said:
Hey guys, is there a guide or something i can follow on how i can theme items on my tab?
I know how to use most design packages, but i don't really know where to start on acquiring the files i need to edit.
thanks
Click to expand...
Click to collapse
first of all, u need to have a rooted device!
Then pull ur existing framework.apk and frameworkTW.apk
Then u search for a theme u want to have on ur tab or u create the icons for urself
then u open with 7zip the original framework and replace the files! U need to watch out that the icons have the same pixel*pixel size if not it wont boot!
when u are ready, replace it with ur original one with
adb shell
su
mount -o remount,rw -t -rfs /dev/block/st19 /system
exit
adb push framework.apk /system/framework/
adb shell
chmod 644 /system/framework/framework.apk
and the same with the other framework file
if this doesnt sound familiar to u, the read what root is, what adb is, what framework is, and what chmod is! OR LEAVE IT as u will brick the device if u dont know what u are doing!
Landroid said:
first of all, u need to have a rooted device!
Then pull ur existing framework.apk and frameworkTW.apk
Then u search for a theme u want to have on ur tab or u create the icons for urself
then u open with 7zip the original framework and replace the files! U need to watch out that the icons have the same pixel*pixel size if not it wont boot!
when u are ready, replace it with ur original one with
adb shell
su
mount -o remount,rw -t -rfs /dev/block/st19 /system
exit
adb push framework.apk /system/framework/
adb shell
chmod 644 /system/framework/framework.apk
and the same with the other framework file
if this doesnt sound familiar to u, the read what root is, what adb is, what framework is, and what chmod is! OR LEAVE IT as u will brick the device if u dont know what u are doing!
Click to expand...
Click to collapse
Thanks for that, my device is rooted, and i get an idea on what your on about, if i try and it bricks is it as simple as pushing the orginal apk's back on to fix things up?

How do I start developing android ROMs?

Is there a tutorial?
First of all... Deodexing and zipaligning is something I want to be able to do myself...
I followed these commands:
http://forum.xda-developers.com/showthread.php?t=765270
With some slight edits being yaffs2 as the filesystem for S5660 for example...
But after editing my ROM has forcecloses all the way... Can someone help me with this?
Second... How do I export my ROM to a flashable file for use in odin
Third my inspiration!
So I have to know these things:
- deodexing and zipaligning properly
- how do I export image for use in ODIN.
- What software do and will I need?

Categories

Resources