Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
TrevE
Old
(Last edited by TrevE; 22nd February 2010 at 04:57 AM.)
#1  
Recognized Developer - OP
Thanks Meter 3493
Posts: 2,019
Join Date: Apr 2007

 
DONATE TO ME
Default [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
Attached Thumbnails
Click image for larger version

Name:	snap20100221_143033.jpg
Views:	574
Size:	22.7 KB
ID:	284084   Click image for larger version

Name:	snap20100221_143242.jpg
Views:	496
Size:	19.4 KB
ID:	284085   Click image for larger version

Name:	snap20100221_165753.jpg
Views:	434
Size:	19.8 KB
ID:	284162   Click image for larger version

Name:	snap20100221_182636.jpg
Views:	158
Size:	22.6 KB
ID:	284198  
Attached Files
File Type: zip TEBlackMashup_0.1_signed.zip - [Click for QR Code] (3.17 MB, 48 views)
 
lv2bll
Old
#2  
lv2bll's Avatar
Senior Member
Thanks Meter 2
Posts: 279
Join Date: Nov 2009
nice work!
Phone-- T Mobile Galaxy S IV
Recovery--
Rom--

Retired: HTC Hero(phone was tough as nails too)
Epic 4G Touch
Epic 4G
these devs do so much work for the community,
so show your support by donating a lil bit,
to anyone else you aren't owed anything so
don't bitch and moan about what they haven't done.
 
jpeepers
Old
#3  
Senior Member
Thanks Meter 15
Posts: 235
Join Date: Feb 2008
Location: Colorado
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


.
 
magicalan
Old
#4  
magicalan's Avatar
Senior Member
Thanks Meter 62
Posts: 2,387
Join Date: Jan 2008
i wanna change the dialer also :P it works? aparently jpeepers could not get it to work o.o
 
flipzmode
Old
#5  
flipzmode's Avatar
Recognized Developer
Thanks Meter 917
Posts: 1,325
Join Date: Jan 2009

 
DONATE TO ME
FYI you guys can use the kitchen (v0.2) to push these back. It will allow you to push any file you want.
Xylon - Nexus 4: 2.1.1b2 (Android 4.2.2)
Fresh Evo LTE: 5.3.1 (Android 4.0.4) || Fresh Evo 3d: 4.2.0 (Android 2.3.4) || Fresh Evo: 4.3.3
Fresh Shift: 4.1.1 (Android 2.3.3) || Fresh Hero: 2.4.0 (Android 2.1)

CDMA Android development and Fresh rom home: http://GeekFor.Me || Twitter

 
TrevE
Old
#6  
Recognized Developer - OP
Thanks Meter 3493
Posts: 2,019
Join Date: Apr 2007

 
DONATE TO ME
Quote:
Originally Posted by jpeepers View Post
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?
.
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.
 
magicalan
Old
#7  
magicalan's Avatar
Senior Member
Thanks Meter 62
Posts: 2,387
Join Date: Jan 2008
Quote:
Originally Posted by flipzmode View Post
FYI you guys can use the kitchen (v0.2) to push these back. It will allow you to push any file you want.
what directory do i push the file too .o
 
TrevE
Old
(Last edited by TrevE; 10th January 2010 at 03:16 AM.)
#8  
Recognized Developer - OP
Thanks Meter 3493
Posts: 2,019
Join Date: Apr 2007

 
DONATE TO ME
Quote:
Originally Posted by magicalan View Post
what directory do i push the file too .o
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
 
Kcarpenter
Old
#9  
Kcarpenter's Avatar
Senior Member
Thanks Meter 146
Posts: 3,348
Join Date: Nov 2009
Location: Clinton, TN
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.
-----------------
-HTC EVO LTE - Stock ATM
Google+: Karl Carpenter
FaceBook: http://www.facebook.com/kcarpenter5407
Twitter: @KCarpenter528
 
Kcarpenter
Old
(Last edited by Kcarpenter; 10th January 2010 at 04:59 AM.)
#10  
Kcarpenter's Avatar
Senior Member
Thanks Meter 146
Posts: 3,348
Join Date: Nov 2009
Location: Clinton, TN
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.
Attached Thumbnails
Click image for larger version

Name:	battery_low_battery.jpg
Views:	40
Size:	2.1 KB
ID:	265790  
-----------------
-HTC EVO LTE - Stock ATM
Google+: Karl Carpenter
FaceBook: http://www.facebook.com/kcarpenter5407
Twitter: @KCarpenter528

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

Advanced Search
Display Modes

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

Go to top of page...

XDA PORTAL POSTS

XDA University: Porting ClockworkMod Recovery to New Devices

Having a good recovery makes the process of modifying, tweaking, maintaining, … more

One Stop Guide Shop for the Newbie and Dev

It’s been well established that XDA-Developers isthedestination for resources relating to … more

What Happened at Google I/O 2013 – XDA Developer TV

Unless you just emerged from a deep, dark, dank cavern under the Earth, you know … more

Forums Added for the LG Optimus G Pro and Sony Xperia Tablet Z

Not too long ago, we talked about how Sony was continuing its AOSP efforts on … more