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
Related
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?
What .apk do I need to modify to change the icons in the taskbar? Like battery, signal etc etc...I thought it was in framework-res.apk and i found some icons, but not all...Any ideas? Help...
Nevermind, I figured it out and changed some icons around...
Share the procedure with the rest of us noobs. i would like to give it a try.
Thanks
I'll try and write something up when I get a chance. Im getting busy here at work...ugggh.
Ok, what I did was pulled two files from my phone... com.htc.resources.apk and framework-res.apk. Make sure you download 7-Zip and make a backup of both files just in case. What I suggest is doing a nandroid backup prior to changing around any files. This way it CYA in case something happens. Again, be VERY CAREFUL!! I am NOT responsible for anyone screwing up their phone. DO A NANDROID BACKUP!!! LOL
1. Make sure Android SDK is installed. I have mine installed at c:\android-sdk-windows
2. I extracted both files to the android-sdk-windows\tools folder...like this. Open your command prompt and cd to where SDK is installed...
c:\android-sdk-windows\tools>adb remount
remount succeeded
c:\android-sdk-windows\tools>adb pull /system/framework/com.htc.resources.apk c:\android-sdk-windows\tools
(This should automatically pull the file into your tools folder.)
3.Next I pulled the framwork-res.apk file...
c:\android-sdk-windows\tools>adb pull /system/framework/framework-res.apk c:\android-sdk-windows\tools
(This should automatically pull the file into your tools folder.)
4. Next I opened com.htc.resources.apk with 7-Zip.
- Navigate to the res folder. Then navigate to the drawable-480x320 folder. Lets say you want to change the signal icon, well that icon happens to be cdma_sys_signal_0 - 6.png. You'll see them in the folder. What I did was grabbed some icons from other ROMS and I extracted them and copied them to the .apk. After I copied the icons over I then pushed the file back to my phone like this...
5. c:\android-sdk-windows\tools>adb push com.htc.resources.apk /system/framework/com.htc.resources.apk After a few seconds you'll see that its pushed over.
In the framework-res.apk file the folder you want to look in is \res\drawable\ it has the battery indicators as well as the charging of the battery etc etc...The files in the .apk start with stat_ You pretty much do the same thing like you did with the other .apk. Make sure you push it back to your phone. After you push both files back make sure you reboot by doing the following command...
6. c:\android-sdk-windows\tools>adb shell reboot
Its really easy to do...I had no issues...Have fun. Let me know if you need any assistance.
Your the man, thanks.
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
I've been seeing way too many requests for this with just about every mod possible. Considering the simplicity of this mod, the easiest way to please everyone, is for all of you to know how to accomplish this mod yourself.
BTW, this is for the status bar itself, not pulldown bar or notification background.
What you need:
- Paint.NET software (or any other image editing software that you are already comfortable with, this one seems to be the easiest for setting transparency though.)
- Your framework-res.apk AFTER you have all of your other mods applied to your phone. Otherwise you will have to apply this mod again every time you add or change mods (most likely).
- 7zip
So, you should have your framework-res.apk on your computer and 7zip installed to open the apk. Open up the framework, navigate to /res/drawable-hdpi folder. In that folder, find the file statusbar_background.png. You can either pull that file out to your computer to edit it or open it straight from 7zip (which is the best way to ensure there is no issues when pushing framework back to the phone) but you must have your editing software set as the default to open .png files.
Now once you have that file open in Paint.NET, you will see the image of the status bar as you currently have it. Up on the top toolbar, you should see the option "Layers". Click that then select "Layer properties" at the bottom of the drop-down. At the bottom of the window that pops up, you should see "Opacity" and the number set at 255 with the neighboring slider all the way to the right. I suggest using the slider because as you move it you will see the transparency applied to the bar image, allowing you to slide it around to the desired transparency.
Once you have finished setting your transparency, click the little disk image at the top left to save your changes, close the program out and you should then see a box pop up in 7zip (if you made changes without unpacking the file from 7zip first) asking if you would like to apply changes to file you edited. Say yes, then close 7zip, which may or may not state that changes have been made to the apk and if you'd like to update it, which you would say yes to if it does. If you unpacked the file from 7zip, simply drag and drop the file back into its correct spot, confirm you want to replace the file, then close it up. After all of this is done, just put framework-res.apk back into the framework folder on your phone whatever way you like, turn your phone on and you have a transparent status bar.
As a side note, you can play with Paint.net to see all of the modifications you can make to your status bar like changing colors, texture, and a few other things. One piece of advice is to have a backup framework-res.apk in case you make a mistake or something.
excuse my extreme noobness, but what is the best way to transfer the apk back and forth from the phone to computer? yes I am new to this and yes I am a retard and yes I probably shouldnt even try this..
JoeyBones1 said:
excuse my extreme noobness, but what is the best way to transfer the apk back and forth from the phone to computer? yes I am new to this and yes I am a retard and yes I probably shouldnt even try this..
Click to expand...
Click to collapse
Easiest way would be to get root explorer so you can navigate to the /system/framework folder and copy the apk from there to your sdcard, where you can just copy it to your computer. the other option would be plugging your phone into your computer, phone should be on, open up command prompt then navigate to your sdk/tools folder (get it if you dont already have it), then type "adb pull /system/framework/framework-res.apk c:\" without the quotes. the file will be in the root of your C directory. To get it back on your phone when finished, for root explorer just reverse the steps, but when moving the apk back to its proper folder, just hit the "Mount R/W" button at the top right of root explorer, copy the file back in and reboot. For alternate method, boot into recovery, mount /system partition, then in prompt after navigating to sdk tools folder type "adb push c:\insertdirectoryto\framework-res.apk /system/framework/" without quotes, then boot up and youre done.
tried this...boot looped...had to restore backup...thanks for the info though...might try again soon
BillytheKid82 said:
tried this...boot looped...had to restore backup...thanks for the info though...might try again soon
Click to expand...
Click to collapse
Did you try editing the file without extracting it or did you extract it and reinsert it?
Or you could edit the .png and use metamorph to push it into the framework-res.apk without moving or unzipping anything. And you could just keep the metamorph theme with that one .png on your sdcard to re-apply it whenever you flash a new rom, without altering any other theme elements you've already applied.
What do I edit to change the pull down notifications?
Sent from my Incredible using XDA App
thx a ton got it
transparent, transferring back to phone now..we will see
edit ..boot loops too..
i used root explorer ..extracted framework-res.apk to my sd card ,,then on my computer i opened paint.net and edited the statusbar_background.png file and then
zipped back up the framework-res and renamed to apk then copied back to my framework folder and it the forced closed and went into boot lopes...
i know im close to getting this right ..what step am i skrewing up?
i edited the file w/out extracting it...using root explorer i copied the framework res to my sdcard...plugged my phone in to comp, opened the framework res w/ 7zip, edited w/ gimp, saved all changes...unmounted phone, used root explorer and copied the new edited framework, then navigated to the original framework res and pasted the new one there to overwrite the original...then it force closed so i tried to paste it again, then the phone rebooted and boot looped? not sure if i did something wrong
Gahh Its Lee said:
What do I edit to change the pull down notifications?
Sent from my Incredible using XDA App
Click to expand...
Click to collapse
That file is a .9.png file. editing these is ridiculously difficult and ill-advised.
chrisloveskaos said:
thx a ton got it
transparent, transferring back to phone now..we will see
edit ..boot loops too..
i used root explorer ..extracted framework-res.apk to my sd card ,,then on my computer i opened paint.net and edited the statusbar_background.png file and then
zipped back up the framework-res and renamed to apk then copied back to my framework folder and it the forced closed and went into boot lopes...
i know im close to getting this right ..what step am i skrewing up?
Click to expand...
Click to collapse
BillytheKid82 said:
i edited the file w/out extracting it...using root explorer i copied the framework res to my sdcard...plugged my phone in to comp, opened the framework res w/ 7zip, edited w/ gimp, saved all changes...unmounted phone, used root explorer and copied the new edited framework, then navigated to the original framework res and pasted the new one there to overwrite the original...then it force closed so i tried to paste it again, then the phone rebooted and boot looped? not sure if i did something wrong
Click to expand...
Click to collapse
I JUST remembered that I think you need to be running a deodexed rom to allow modifications. I've always used deodexed roms and forgot that it might be a requirement for things like this. Do either of you know if what youre running is deodexed or not?
mixedlemon said:
Or you could edit the .png and use metamorph to push it into the framework-res.apk without moving or unzipping anything. And you could just keep the metamorph theme with that one .png on your sdcard to re-apply it whenever you flash a new rom, without altering any other theme elements you've already applied.
Click to expand...
Click to collapse
metamorph is definitely more useful. I just have never created anything to run with it so I don't know the process of doing so.
im running skyraider vanilla, i tried to look on the thread to see if it is deodexed and i couldn't find if it is or not...may not be...thanks for your help
mb02 said:
I JUST remembered that I think you need to be running a deodexed rom to allow modifications. I've always used deodexed roms and forgot that it might be a requirement for things like this. Do either of you know if what youre running is deodexed or not?
Click to expand...
Click to collapse
running new skyraider 3.3 and im sure it is
Yea it seems they are both deodexed, and btw I didn't know skyraider 3.3 was so awesome I'm tempted to switch over to it. But yea, I'm not sure why your phones aren't allowing the modifications to the framework. I might as well load SR 3.3 and see for myself what's up. I'll get on that later tonight when I have time and let you guys know if i figure anything out.
Use this with metamorph. It will work on any rom (tested on skyraider 3.3) except those that still use the "drawable-hdpi-v4" folder in the framework-res.apk. If your rom uses that folder, simply rename the folder it puts on your sdcard in /sdcard/AndroidThemes/HalfTransparentBar/
If you'd rather have a different transparency just replace the .png in the folder with yours.
In fact, if you want to edit ANY graphic on your rom, just put the .png in the /sdcard/AndroidThemes/xxxxxx/framework-res/res/drawable-hdpi/ folder with the same file name as the one you want to replace. And of course, do a nandroid backup just in case.
EDIT: As Berzerker7 pointed out, this file probably wont make anything transparent unless you have a modified services.jar. oops.
mixedlemon said:
Use this with metamorph. It will work on any rom (tested on skyraider 3.3) except those that still use the "drawable-hdpi-v4" folder in the framework-res.apk. If your rom uses that folder, simply rename the folder it puts on your sdcard in /sdcard/AndroidThemes/HalfTransparentBar/
If you'd rather have a different transparency just replace the .png in the folder with yours.
In fact, if you want to edit ANY graphic on your rom, just put the .png in the /sdcard/AndroidThemes/xxxxxx/framework-res/res/drawable-hdpi/ folder with the same file name as the one you want to replace.
edit: and of course, do a nandroid backup just in case.
Click to expand...
Click to collapse
Well then that simplifies a lot of things lol. Thanks for putting that up for us, makes everything even easier.
Simply swapping a file won't work. It's the same reason simply swapping a transparent image for the notification pull-down doesn't work. Opacity is controlled on another level by services.jar. You need to modify the values there, as well as swapping out for a transparent image.
Btw, this didn't work for me on SkyRaider 3.3. (Metamorph or swapping the file).
It makes the background black but not transparent on virtuous 3.0.1
mixedlemon said:
Use this with metamorph. It will work on any rom (tested on skyraider 3.3) except those that still use the "drawable-hdpi-v4" folder in the framework-res.apk. If your rom uses that folder, simply rename the folder it puts on your sdcard in /sdcard/AndroidThemes/HalfTransparentBar/
If you'd rather have a different transparency just replace the .png in the folder with yours.
In fact, if you want to edit ANY graphic on your rom, just put the .png in the /sdcard/AndroidThemes/xxxxxx/framework-res/res/drawable-hdpi/ folder with the same file name as the one you want to replace.
edit: and of course, do a nandroid backup just in case.
Click to expand...
Click to collapse
Berzerker7 said:
Simply swapping a file won't work. It's the same reason simply swapping a transparent image for the notification pull-down doesn't work. Opacity is controlled on another level by services.jar. You need to modify the values there, as well as swapping out for a transparent image.
Btw, this didn't work for me on SkyRaider 3.3. (Metamorph or swapping the file).
Click to expand...
Click to collapse
Ah, I must have already installed a theme that modified it, then.
WOOOT!
SO can't wait to try this!
Wow... epic fail on my part... edited the image, repackaged, compared to original, file sizes/compression were similar enough, so I copied it onto my SD card and went in to Root Explorer... Mistake number 1)forgot to do a nandroid OR a titanium, Mistake number 2)Renamed the framework-res.apk to framework-res.bak BEFORE I copied the new file to the /system/framework. As soon as I did that, everything went haywire so I did a battery pull and went to do it the ADB way from recovery. Thought I did that right, so I rebooted into a bootloop... Finally gave up so I decided to do mistake number 3)full nandroid restore of a backup that was admittedly a few days old (See mistake 1 lol) after which I had rearranged a few things and added more apps etc... Now on to the important stuff...
MAKE SURE YOU DO STEP 1 BEFORE ATTEMPTING ANY OF THIS AND IF YOU RUN INTO PROBLEMS, DO STEP 2 SO YOU DON'T MAKE THE SAME MISTAKE I DID!
Step 1)For the love of all that's holy, do a Nandroid and Titanium backup first!
Step 2)In Clockwork Mod Recovery, do NOT do a full restore, instead go to advanced restore and simply restore the system (the part that you were messing around with to do this mod lol I realized this gem just as I clicked "Yes" in CWM, I still have the palm print on my forehead... haha
Hopefully you folks will have better luck than I did, but if not, hopefully I can save you some of the headache I went thru...
Ok well I don't like the default Asus buttons so I decided to get this http://forum.xda-developers.com/showthread.php?t=1120014
That was on the stock rom. I just flashed the Revolver rom however and noticed the icons were back to normal so I went through the process in the link like before however this time my wallpaper disappeared along with the navbar. I looked in Root Explorer and SystemUI was only a couple of kbs in size so obviously it got corrupted. I kept trying this method with the same result.
How else could I go about getting those buttons? Do I have to mod the SystemUI file manually and put them in, if so, how?
EDIT: Solved it. For anyone else experiencing issues with Metamorph, check out ZipThemer.
I manually add them from the linux command line. You have to use the update command to add them to the zip/apk. Don't sign the new apk after adding them.
unzip -l SystemUI.apk - look in the res folders
zip -ur SystemUI.apk res/blah/blah
for that last line, I just have a res/ directory with all the files that I want to replace in the proper subdirectories.
Good luck! use zip --help or unzip --help if you get stuck.