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?
Related
Sorry all I didn't mean to abandon the thread. I drove 11&1/2 hours yesterday from Elburn, IL to Dimondale, MI and back to pick up a rare polydactyl kitten. "Mew mew mew mew meow mew mew".....
Se7eN43 said:
http://www.mediafire.com/?sharekey=6bf0dcc2f919bfb907258ee67c679e4ae04e75f6e8ebb871
download and take the 2 files "launcher.apk and launher.odex" and copy them to the root of your sdcard. then open terminal and type the commands..
su [enter]
mount -o rw,remount /dev/block/mtdblock3 /system [enter]
cd /sdcard/ [enter]
busybox cp launcher.apk /system/app [enter]
busybox cp launcher.odex /system/app [enter]
then reboot
Click to expand...
Click to collapse
You heard the man! get downloading.
I have to redownload hero myself. I was in traffic going down I-94E coming into Indiana, and maps took over a minute to get me back to the home screen. I was furious lol. so i went to the forum and grabbed the latest cyanogen and flashed on the go.
while my downloads are going, and my skillet is cooking I'll throw out what cleanup commands I remember using.
Code:
su
cd system/apps
rm ./*idget*
rm ./*itter*
rm ./*eather*
rm ./*tock*
Yes I am one lazy ass bastard more to come ...
mmmmm skillet.
Here's what I have in my /system/app
Code:
# cd system
cd system
# cd app
cd app
# ls
ls
gtalkservice.apk
Launcher.apk
checkin.apk
Vending.apk
UserDictionaryProvider.odex
UserDictionaryProvider.apk
UploadProvider.odex
UploadProvider.apk
Updater.odex
Updater.apk
TelephonyProvider.odex
TelephonyProvider.apk
Talk.apk
Superuser.apk
Stk.odex
Stk.apk
SettingsProvider.odex
SettingsProvider.apk
Settings.odex
Settings.apk
Phone.odex
Phone.apk
PackageInstaller.odex
PackageInstaller.apk
NetworkLocation.apk
Mms.odex
Mms.apk
MediaUploader.apk
MediaProvider.odex
MediaProvider.apk
ImProvider.odex
ImProvider.apk
HtcStreamPlayer.odex
HtcStreamPlayer.apk
HtcSoundRecorder.odex
HtcSoundRecorder.apk
HtcSettingsProvider.odex
HtcSettingsProvider.apk
HtcMusic.odex
HtcMusic.apk
HtcLockScreen.odex
HtcLockScreen.apk
HtcLocationService.odex
HtcLocationService.apk
HtcLocationPicker.odex
HtcLocationPicker.apk
HtcContacts.odex
HtcContacts.apk
HTMLViewer.odex
HTMLViewer.apk
HTC_IME.odex
HTC_IME.apk
HTCNew.odex
HTCNew.apk
HTCCamera.odex
HTCCamera.apk
HTCAlbum.odex
HTCAlbum.apk
GoogleSubscribedFeedsProvider.odex
GoogleSubscribedFeedsProvider.apk
GoogleSettingsProvider.apk
GoogleSearch.odex
GoogleSearch.apk
GoogleContactsProvider.odex
GoogleContactsProvider.apk
GoogleApps.apk
GmailProvider.apk
GSD.odex
GSD.apk
FlashPlayer.odex
FlashPlayer.apk
FilePicker.odex
FilePicker.apk
DrmProvider.odex
DrmProvider.apk
DownloadProvider.odex
DownloadProvider.apk
DCSUtility.odex
DCSUtility.apk
DCSReverseGeocode.odex
DCSReverseGeocode.apk
DCSImpl.odex
DCSImpl.apk
DCSGeocode.odex
DCSGeocode.apk
CustomizationSettingsProvider.odex
CustomizationSettingsProvider.apk
Clicker.odex
Clicker.apk
CheckinProvider.odex
CheckinProvider.apk
CertificateService.odex
CertificateService.apk
CalendarProvider.odex
CalendarProvider.apk
Calendar.odex
Calendar.apk
Calculator.odex
Calculator.apk
Browser.odex
Browser.apk
AccountManager.odex
AccountManager.apk
Launcher.odex
#
Warning you will get a force close message each boot if you remove the social network provider file. i still did it and I'm looking on how to get rid of the message
The "One Thing" about Hero above all else is its Rosie interface. Get rid of it and you have a really crippled Hero. Of coure Hero has a nice dialer, facebook/twitter support etc but I'm pretty certain 90% of people want Hero for its UI
one word: FLASH
F**K the rest
This is exactly what ive been hoping for!!!!
yeah i recently left all social networks ... i remembered that I'm not a social person and I really dont even like to leave the house so who needs 'em?
I have a feeling that plenty of people know whats wrong but wont tell me because my searchFu is weak
The Launcher.apk that comes with the latest Hero releases will work as the standard Launcher. For example, I'm running JACHero 2.1 right now in this same fashion (Rosie, Stocks, QuickOffice, Widgets and various other bloat removed) It functions very well, and makes everything way more responsive when you ditch the TouchFlo UI, but you will also lose the widgets. The upside to it though is that almost every widget in TouchFlo is basically an interface for its main app. So even though you're using a standard Launcher.apk, you can still fire up Weather, Twitter (HTC Peep), Stocks, etc. The dialer, Contacts, Facebook integration and such remain intact.
This a great way for people who don't have class 6 SD cards and run into excessive loading times, or the few users who just plain don't like the TouchFlo interface.
If you're running JACHero, you should already have a Launcher.apk in your apps directory. You can either go into your applications list, click on Rosie, and Clear defaults (then press the Home button to select your Home of choice) or simple delete the Rosie.apk and Rosie.odex files from your build to automatically make Launcher.apk your default home screen (Make sure you actually do have the Launcher.apk in the apps directory before you do this though, or you'll be stuck staring at a ghosted boot screen)
Also, I'll add that i did attempt to use the 5 icon 5 screen Launcher from TheDude's build, but it wouldn't work in the Hero rom for some reason.
Ima try it out
Seems that the Launcher.apk has been removed from JACHero builds 2.3.1 and higher. If you don't have it in your build, you can most likely pull it from and earlier 2.x build that is 2.3 or lower.
here you all go. i needed this because i have to create a "Phone Info" shortcut with Any Cut to switch to "WCDMA Only" so my 3G signal does not drop and the shortcut doesnt show up on the TouchFlo interface.
http://www.mediafire.com/?sharekey=6bf0dcc2f919bfb907258ee67c679e4ae04e75f6e8ebb871
download and take the 2 files "launcher.apk and launher.odex" and copy them to the root of your sdcard. then open terminal and type the commands..
su [enter]
mount -o rw,remount /dev/block/mtdblock3 /system [enter]
cd /sdcard/ [enter]
busybox cp launcher.apk /system/app [enter]
busybox cp launcher.odex /system/app [enter]
then reboot
You will need to grab Launcher from an earlier JACHero 2.x build if you want to use it. It is not included in the roms you mentioned, and as you have already noticed ones from non-hero builds won't work. Sure would be nice to get the 5 screen mod working on the launcher from hero.
Touchflo is definately more appealing to the eye, but it really isn't happy running on the Dream. All the Hero roms I've tested run great with launcher as default. Even the ones from before the tweaking was done. I know there are moddified versions or Rosie in some of the roms that are supposed to use less ram, but I still didn't really notice much of a differance when using them. Just installed the new "Super Optimized" one that coolbho3000 posted and it works great so far.
Here's a couple ideas (for someone more skilled then myself)[still learning]
How about a modified version of launcher to mimic touchflo? Would it be hard to make an overlay above drawer level that has links to dialer, add to home, and open drawer? If most people just like use it for the look
someone could even make one for non HERO builds.
Also, since all the "HTC" widgets are linked to apps, could we possibly make "Android" widget clones of them? I know it's probably too much time and hassle, but this would be good for use with hero apps (like the music player) that are ported to other builds.
Personally I'm getting sick of the hero build ... yeah the launcher looks good but the only good point is that it has flash player while its looking by the end of October its will be released to the android community
I'm now waiting for the Ophone build to be ported lol I actually sat there and said I WILL BE THE ONE TO DO IT! ..... I haven't a clue where to start ha-ha
but my quick answer to the above question I Believe if you push the old launcher .apk first then u should be able to upgrade to cyanogen launcher.apk
hey im getting ready to remove rosie and what not.....since im not gonna be using rosie, cant i do away with all the htc widgets??
jj972 said:
hey im getting ready to remove rosie and what not.....since im not gonna be using rosie, cant i do away with all the htc widgets??
Click to expand...
Click to collapse
yea u can.. while in reg home u can't use them widgets anyways
i use TouchFLO for the looks im use to the lag by now...
Yeah that's fine to do just either adb it or manually uninstall them you're choice
jshields said:
Yeah that's fine to do just either adb it or manually uninstall them you're choice
Click to expand...
Click to collapse
is there any other files besides the apks and odexs i can remove for the widgets and rosie?
EDIT:Everything seems real smooth....exactly what i expected...
Se7eN43 said:
here you all go. i needed this because i have to create a "Phone Info" shortcut with Any Cut to switch to "WCDMA Only" so my 3G signal does not drop and the shortcut doesnt show up on the TouchFlo interface.
http://www.mediafire.com/?sharekey=6bf0dcc2f919bfb907258ee67c679e4ae04e75f6e8ebb871
download and take the 2 files "launcher.apk and launher.odex" and copy them to the root of your sdcard. then open terminal and type the commands..
su [enter]
mount -o rw,remount /dev/block/mtdblock3 /system [enter]
cd /sdcard/ [enter]
busybox cp launcher.apk /system/app [enter]
busybox cp launcher.odex /system/app [enter]
then reboot
Click to expand...
Click to collapse
hey thanks for the help... umm the only problem im having is that i dont know what to do with launcher.rar how do i open it to extract the Launcher.apk and the Launcher.odex files (im on a mac, but also have a PC i could use)....Do i open with winrar (i only have on my PC)......the rest of the steps i know how to do cuz i've done this before.....thanks in advance
P.S
PLZ if some on knows how to make a 5 screened (auto-rotate *cough*) Launcher.apk that is compatible with JACHERO 2.3.3, that would be grate and i think im talking for all of us when i say "THAT SH*T WOULD BE AWESOME"...so if you want the respect of many, and have the skill to do this...PLZ DO!!!!
Thanks again in advanced
Se7eN43 said:
here you all go. i needed this because i have to create a "Phone Info" shortcut with Any Cut to switch to "WCDMA Only" so my 3G signal does not drop and the shortcut doesnt show up on the TouchFlo interface.
http://www.mediafire.com/?sharekey=6bf0dcc2f919bfb907258ee67c679e4ae04e75f6e8ebb871
download and take the 2 files "launcher.apk and launher.odex" and copy them to the root of your sdcard. then open terminal and type the commands..
su [enter]
mount -o rw,remount /dev/block/mtdblock3 /system [enter]
cd /sdcard/ [enter]
busybox cp launcher.apk /system/app [enter]
busybox cp launcher.odex /system/app [enter]
then reboot
Click to expand...
Click to collapse
thanks for this,
I tried touchflo hero but it was way too slow and clunky but I really like the HTC apps so using the alternative home launcher is much better for me.
Best of both worlds
BTW I'm one of those rare people who haven't done apps2sd
me = Black G1
JAC2.3.3 with old launcher = happy
If you've never heard of rar it means you must be a windows only user which means you probably want this
http://www.rarlab.com/download.htm
stupid cat made me double post. i've only got 10 fingers, he's got 14 how can i compete
tried to get jachero again. got a boot loop after alt+w alt+s (three times) gonna redownload
Updated: July 24/2010 Go to the X10 Theme repo for a listing of uploaded themes.
Thanks to everyone that is helping out and contributing. I also apologize if I rip anything off. If I do please post it and I will definitely correct it.
The usual disclaimer goes with this... Use at your own risk and backup your system before making any changes. You know what to do if you run into problems
I think this is important...
Links for various stuff:
framework-res.apk
/system/app/ folder
startup show (boot animation)
Mms.apk
Phonebook.apk
apps2sd-work in progress?
http://forum.xda-developers.com/showthread.php?p=7037044#post7037044
Many visual aspects of the os and system apps can be changed and surprisingly easily. By default when opening an apk you should look around the res-drawable folders for the pngs to edit. If you have noticed, there are some png's that look like xxx.9.png. To modify these files easily, remove the 9 from the filename and open with your preferred editor. When you are done editing the files save them, open the command prompt and type draw9patch. This should open a window with an arrow in it. Drag your file there and I'm pretty sure it goes into the same folder. That's it.
If you are using a mac use betterzip and take a look here.
You can also use root explorer (I havent tried this myself)
Step 1:
Connect phone to pc, enable usb debugging and open adb. Type:
adb pull /system/framework/framework-res.apk framework-res.apk
That will pull your framework-res.apk to whatever folder is displaying in your command line.
Step 2:
Find the framework-res.apk on your hard drive, right click and open with 7zip.
Step 3:
Use png's here or create your own and dump into the appropriate folder within framework-res.apk.
Step 4:
When you are done editing the files open up adb and type the following command:
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb push framework-res.apk /sdcard/framework-res.apk
adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
That will put the new framework-res.apk on your phone. It should automatically reboot (if not reboot it) and your changes should be applied!
When running the script above you can replace framework-res.apk with whatever you want. For example, Timescape.apk
Remember, it is CASE sensitive I made this problem many times)
If you would like to pull an entire folder put a slash at the end of the last word. For example, adb pull /system/etc /etc"/" (no " in actual script )
Courtesy of corruptfate is the steps to modify the startupshow (post #207)
step 1: open adb shell
step 2: type "adb shell"
step 3: type "su"
step 4: type "mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system"
step 5: type "mkdir system/etc/semc/startupshow"
step 6: exit and redo step 1 - 4
step 7: type "mkdir system/etc/semc/startupshow/default"
step 8: exit and open command prompt again, this time type "ddms"
step 9: look for the default folder in system > etc > semc > startupshow > default
step 10: push the images into that folder
Possible reasons your phone won't boot after modifications:
images anren't stored properly, right format, right size etc.
unpacked apk improperly, use 7zip, it doesn't mess anything up
you signed the package before pushing it- unless you know what you're doing follow the directions to a tee and you should be fine
pushed the package to the wrong directory, /system/framework-res.apk XX, /system/framework/framework-res.apk
I'm sure many other reasons, these were the only ones I encountered
How to get past boot screen:
Use backup framework-res.apk and push that one to your phone. Remember to place that one where the modified one is.
To see if adb sees your phone type adb devices, if a serial number pops up try pushing your original, if not...
Flash your phone again from scratch . Sorry, I don't know any better way yet.
Please post your themes and download themes from the X10 theme repo
The basics:
http://forum.xda-developers.com/showthread.php?t=502010
http://developer.android.com/index.html
http://developer.android.com/guide/developing/device.html
Some Links:
Notification background color
Status bar clock color
Notification font color
Notification bar shortcuts
Edit 9.png's
Install mobile defense as system app through terminal (I haven't tried this yet)
Resigning apps
http://forum.xda-developers.com/showthread.php?t=549109
http://androidforums.com/developer-101/8665-how-signing-roms.html This is the one I have been using. I just noticed its for roms
http://code.google.com/p/android-apktool/ Figured it out but no need for it as of yet
How to modify notification background colors
Some of the files; not sure which is the top band displaying carrier(semc_avctivity_title.9.png??):
statusbar_background.png
status_bar_background.png
status_bar_close_on.9.png
status_bar_header_background.9.png
status_bar_item_background_normal.9.png
They should be in res/drawable-240dpi. Once you find them open them and modify as you wish. Once completed save your changes.
Getting FLAC working, I was wrong, mixed up file folders. Apparently meridian pioneer works. Havent gotten a chance to test for sure yet. I am now trying to manually add flac support to mediascape
Second tutorial: Busting open apks so you can edit xml's!!
So has anyone tried opening up an xml file on their phone to edit only to find incoherent coding. Well I have. So I have stumbled upon a tool called apktool. The tool somehow breaks down the apk into readable xml files. I haven't gotten so far as to test out an edited xml because I wanted to post this so I don't forget how to do it.
1. follow instructions on installing apktool. Unzip the files into your android-sdk-windows/tools folder
2. Put a copy of your framework-res.apk into the same tools folder
3. from command type: java -jar apktool.jar if framework-res.apk
4. Put whatever apk you want to edit into tools folder and type this: java -jar apktool.jar d xxx.apk
5. Look in your tools folder and voila there will be a folder named with whatever apk you worked with.
Third tutorial: Use smali/baksmali to edit services.jar and services.odex
1. follow instructions on downloading and installing smali/baksmali
2. pull these files from your phone and place them into the same folder as smali (should be android-sdk-windows\tools):
code.odex
ext.odex
framework.odex
android.policy.odex
There may be other ones needed that Im missing so if you find this out please let me know
3. place the odex you want to modify into the same folder (android-sdk-windows\tools)
4. from the command line type java -jar baksmali-1.2.3.jar -x services.odex
your pc will work a little bit and when its finished will just show your directory again.
5. minimize that screen and go into the folder you put everything in there should be an out folder. Open it up and all the files to edit will be there!
I haven't recompiled yet but when I do Ill finish this tutorial.
COMMON PROBLEMS:
These are some problems I ran into because I am a noob. I figure it may help a couple people out
1.unable to access apktool.jar/baksmali-1.2.3.jar
Im pretty sure you are in the wrong directory
from the command line type: cd C:\whatever\directory\leadsto\android-sdk-windows\tools\the.jarfileyouaretryingtoaccess
2....
Modification requests:
Custom boot screens-- find your startupshow folder=== SOLVED
custom response to invalid password
Ad hoc support
Disable slide lock
App drawer categorization=== THERE'S AN APP
map hardkeys
cool, gonna try and change the battery indicators
I was able to replace framework-res while the phone was running, but now the phone wont boot.. good thing I made a backup of the original one
xxsashixx said:
I was able to replace framework-res while the phone was running, but now the phone wont boot.. good thing I made a backup of the original one
Click to expand...
Click to collapse
Thats where I'm stuck too. Did you resign the package after modifying it? Im going to try that in a bit.
Does anyone know of a good n00b guide to emulating our phone in eclipse?
@microkiwi can you post how it went?
I did make some new icons in PS, but unfortunately I wasn't able to boot the phone after pushing my new files to it
I also tried to sign it with the autosign (testsign.java) application but no luck...
mikrokiwi said:
I did make some new icons in PS, but unfortunately I wasn't able to boot the phone after pushing my new files to it
I also tried to sign it with the autosign (testsign.java) application but no luck...
Click to expand...
Click to collapse
Cool thanks, hey have you seen an app called metamorph? I just noticed it right now but it seems like stericson automated and simplified the process. Heres a link
http://forum.xda-developers.com/showthread.php?t=591329
Have you tried that app yet?
Yes, I have made a metamorph theme now and everything seems fine, the theme shows up and I can apply it and everything.
But after reboot the phone is still using the old icons
Any other metamorph themes that we can install?
I think for 1.6 only
gavriel18 said:
http://code.google.com/p/android-apktool/ Looks cool I just wish I knew how to use it
Click to expand...
Click to collapse
Apktool is just for everything else but signing ;-)
mikrokiwi said:
Yes, I have made a metamorph theme now and everything seems fine, the theme shows up and I can apply it and everything.
But after reboot the phone is still using the old icons
Click to expand...
Click to collapse
Could you please upload the theme, I'd like to learn how theming works. In the AndroidThemes thread I found only themes for custom roms. THX !
mikrokiwi said:
Yes, I have made a metamorph theme now and everything seems fine, the theme shows up and I can apply it and everything.
But after reboot the phone is still using the old icons
Click to expand...
Click to collapse
Could you please post the .png files from the framework pull? I would like to change the colors and then try to replace them with files in a theme that I found that might work with our phone. The only issue is the resolution of the theme that I had in mind. If this works then we can all make custom themes for our X10 using that theme as a template. Not sure if it will work, but I would like to try.
pietropizzi said:
Could you please upload the theme, I'd like to learn how theming works. In the AndroidThemes thread I found only themes for custom roms. THX !
Click to expand...
Click to collapse
Unfortunately it does not work at the moment, but when I get it to work I will upload it for everyone to use
troyjamz said:
Could you please post the .png files from the framework pull? I would like to change the colors and then try to replace them with files in a theme that I found that might work with our phone. The only issue is the resolution of the theme that I had in mind. If this works then we can all make custom themes for our X10 using that theme as a template. Not sure if it will work, but I would like to try.
Click to expand...
Click to collapse
http://www.mediafire.com/file/kkmhmnyhgyw/framework-res.apk open it with 7zip
Thx man!
mikrokiwi said:
Unfortunately it does not work at the moment, but when I get it to work I will upload it for everyone to use
http://www.mediafire.com/file/kkmhmnyhgyw/framework-res.apk open it with 7zip
Click to expand...
Click to collapse
Tack så mycket!
@microkiwi Thanks for the upload, do you mind if I post that link in the first post?
@brut.all Does it work the same way as autosign? I followed the instructions properly on installing it but when I try to open it a command line pops up for a second (too fast for me to read) and then closes. Am I missing something?
Also do you know if framework-res.apk needs special signing? I'm just trying to figure out why the phone gets stuck at boot after pushing the modified apk.
@pietropizzi I have made one as well it doesn't work but I'll upload it right away. Check out the metamorph thread for some tutorials on theming. It is surprisingly easy.
On another note has anyone gotten to move their apps to the sdcard? I've tried but with no luck..
heres a post I made about it:
http://forum.xda-developers.com/showthread.php?p=7037044#post7037044
Cool ,I'm going to try it tonight. Mind if I add it to the list at the top?
BTW did anyone know mediascape supports wav audio Swwweeeeeetttt
Transparency MOD:
If you want to have a transparent notification window (the window shade), you can follow these steps:
Required:
- a working adb connection (you will need a PC because of the executable below)
- a transparent status_bar_background.png (if you do not have your own, the one i used is attached)
- xUltimate-TP.exe (attached)
- a file archiver (i used WinRAR)
Note: This should work on any Android phone running Froyo.
Firstly, you need to copy services.jar and framework-res.apk from the Android Phone to your PC
1.) Reboot into Recovery (fake-flash, Unrevoked, or adb recovery, they will all work)
2.) adb shell
mount /system
adb pull /system/framework/services.jar c:\
adb pull /system/framework/framework-res.apk c:\
3.) Optional: Copy the framework-res.apk and services.jar files to a separate directory.
4.) Copy xUltimate-TP.exe to the same directory the files mentioned above are located in.
Run xUltimate-TP.exe and wait for it to say it is finnished (it takes about 2 minutes to complete)
5.) Open framework-res.apk in WinRAR and go -> res -> drawable-hdpi-v4
Copy your status_bar_background.png into this folder inside WinRAR by dragging it over the window.
Close WinRAR
6.) Copy the patched services.jar and framework-res.apk to c:\
7.) adb shell
rm /system/framework/services.jar
rm /system/framework/framework-res.apk
**CTRL+C (to exit back to the windows shell)
adb push c:\services.jar /system/framework/services.jar
adb push c:\framework-res.apk /system/framework/framework-res.apk
adb reboot
And that's it.
I have attached my patched services.jar and framework-res.apk
If you are running Defrost 2.0+, using them may work for you (I am using DeFrost 2.4).
Major props to:
http://www.droidforums.net/forum/xeudoxus/47283-release-xultimate.html
as it is his executable that patches the transparency.
Josh.
fllash said:
Hi there,
I apologize if this seems to be the incorrect sub forum to post in, however the thread i made in Themes has no responses after a week or so.
On to my question.
I have flashed many froyo roms for the desire, but they all have one thing in common - they do not have a transparent window shade/notification thingo.
I dismantled a few themes with transparent windowshades, copied them across to my framework-res.apk file and pushed it back to system/framework, but nothing changes. Well, a couple of the png's i have overwrote in the framework-res file caused the window shade to change colour (for example in the theme where the windowshade had a dark transparent background, the background turned black).
Is there a limitation somewhere preventing desire users of froyo to change transparency?
Or is there another file that needs to be edited?
Thanks for readin'
Josh.
Click to expand...
Click to collapse
I've asked the same thing and no one has replied, I assume you mean the notification drawer?
Changing the png file alone doesn't add transparency, it only does on the notification bar, there must be an xml file in framework-res.apk which handles transparency for it, but I'm so inexperienced in xml I haven't tried looking and there's so many xml files it would take days to convert each one to "readable" xml and find which line of code among thousands controls it
I haven't tested it, didn't have the chance, but you can check here
http://www.droidforums.net/forum/xeudoxus/47283-release-xultimate.html
Look for xUltimate Froyo Transparency Fix
Yeah, i mean the notification draw - that you drag downwards.
Thanks for the link, im checking it out right now.
phunkycow said:
I haven't tested it, didn't have the chance, but you can check here
http://www.droidforums.net/forum/xeudoxus/47283-release-xultimate.html
Look for xUltimate Froyo Transparency Fix
Click to expand...
Click to collapse
I tried patching the service.jar with it but it doesn't seem to work.. anyone else have tried too?
sckc23 said:
I tried patching the service.jar with it but it doesn't seem to work.. anyone else have tried too?
Click to expand...
Click to collapse
Did you make sure the background image of the "notification drawer" is transparent? Or applied it using the stock framework-res?
phunkycow,
You are a Genius,
It worked like a charm!
For anyone who is interested, the steps i followed were:
1.) Reboot into Recovery
2.) adb shell
mount /system
adb pull /system/framework/services.jar c:\
3.) Download the Transparency patch (I've attached it if that makes it easier)
4.) Copy the services.jar from c:\ to a folder (i used the desktop), and make sure that the Transparency fix executable (xUltimate-TP.exe) is in the same folder.
5.) Run xUltimate-TP.exe and wait for it to say it is finnished (it takes about 2 minutes to complete)
6.) Copy the patched services.jar (it overwrote the one in the folder) to c:\
7.) adb shell
rm /system/framework/services.jar
**CTRL+C (to exit back to the windows shell)
adb push c:\services.jar /system/framework/services.jar
adb reboot
And that's it.
I have also attached my patched services.jar, and framework-res.apk with a transparent status_bar_background.png.
If you are running Defrost 2.0+, using them may work for you (I am using DeFrost 2.4).
Now, you MAY NOT notice any transparency straight off the bat because your theme may not have a transparent status_bar_background.png.
If you find that it isnt transparent, i have attached a transparent status_bar_background.png
You need to add this to your framework-res.apk.
Major props to:
http://www.droidforums.net/forum/xeudoxus/47283-release-xultimate.html
as it is his executable that patches the transparency.
Josh.
Glad I've helped, even a little. I was lucky enough to bump to that thread accidentally after looking for ways to deodex! You may want to edit the original post with the steps to apply transparency, and maybe edit the title as well? I'm sure other people might be interested as well
phunkycow said:
Did you make sure the background image of the "notification drawer" is transparent? Or applied it using the stock framework-res?
Click to expand...
Click to collapse
I did. I took the background image from Amer v4 (which is transparent) and flashed both the patched service.jar and new image to the phone. The notification panal ended up solid black.
Anyway will definitely try it again to see if i have any luck this time=)
Can someone post a screenshot? I could have sworn I have tried all this already to no avail.
edit: also, I thought that the services.jar patcher mentioned above was for the notification bar. Does this only make the notification bar transparent, or the actual background of the shade (where not covered by notifications)
This method did not work for me, however this one did
http://forum.xda-developers.com/showpost.php?p=7739623&postcount=53
Glacier with Gr8gorillas desire HD port 2.2
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
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