Related
I am releasing this batch script with 35 fonts that I have. Font Selector V1.3 is my most recent work now with font preview. I feel this is pretty good now and will focus on a interactive GUI.
I am also working on some projects that will not only help with installing fonts, but with everything you need to do from your computer with your phone.
It has been reported that some do not work and some are duplicates. I should have fixed any that were not working, but have not removed duplicates yet.
Thanks to DexSade for installing all of these on his phone and taking screen shots.
This is for Windows only.
This should run from anywhere as long as you make a PATH to the Android SDK tools folder
Here are directions to do this for Windows
Windows XP / Vista
Right click on the My Computer icon and select the properties tab.
Select the Advanced tab and click the Environment Variables button.
In the new dialog box double-click on Path (located under System Variables) and type in the full path location to the tools directory.
This is simple to use....
1. Download the zipped folder and unzip the contents anywhere you want
2. Connect your phone through usb
3. Double Click on Font Selector
4. When you choose a font a preview box will pop up. To continue close the box
5. Answer Y or N and it will push the fonts and reboot the phone
I have not tried all of them so please let me know if they do not work or are too big.
Please let me know if this is a good idea or not, as I can easily add more.
Change Log:
V1.4--Added Ubuntu Beta and changed parts of the script so it should work with all versions of Windows
V1.3--Changed script to open up font preview before installing. Included checks to ensure that you are installing correct font
V1.2--Added Juice to #36 and fixed font locations(they should all work)
V1.1---Removed font number 10 and replaced with MyriadPro-LightSemiCnIt
Added several other fonts
DOWNLOAD V1.4:Font_Selector V1.4
DOWNLOAD V1.3:Font Selector V1.3
DOWNLOAD V1.2:Font Selector V1.2
Ill give it a shot...
im attempting to give a shot now. when i open the batch file, the first line says adb is not a recognized command. am i missing something? and also, is it possible for you to put screen shots of the fonts up? would be easier than picking them at random to find one.
kashb91 said:
im attempting to give a shot now. when i open the batch file, the first line says adb is not a recognized command. am i missing something? and also, is it possible for you to put screen shots of the fonts up? would be easier than picking them at random to find one.
Click to expand...
Click to collapse
You're going to have to extract the zip to your Android tools folder (where ADB is located)
ooohhhh, ok. OP said it was cool to unzip anywhere otherwise i wouldve done that. thanks.
since it seems youve gotten it to work, any suggestions on a good font to pick?
Very nice and simple batch file!
Easy to add additional fonts. ****ty thing is alot of the .ttf(s) that I like aren't compatible with android for some reason. I push it and I just get a boot loop.
I've got at last count about 1400 fonts so I'll go through them and see if there are any more that are compatible that look nice and send them to you.
kashb91 said:
ooohhhh, ok. OP said it was cool to unzip anywhere otherwise i wouldve done that. thanks.
since it seems youve gotten it to work, any suggestions on a good font to pick?
Click to expand...
Click to collapse
Just open the Font folder, and double click on the .ttf and a preview window will open up.
Caviar dreams looks really bad Hah, someone may like it, I hate it.
Re: Easy Font Installer (Download Now)
There's 2 files that could be copied to system32 folder and you can use and anywhere. that's how mine is setup. I'm not at my computer to see which ones, but if you unzipped to android sdk tools it should work. this is work in progress.
Just placed unzipped folder into tools directory. Very simple set up trying font two at the moment.
Re: Easy Font Installer (Download Now)
Very nice and simple batch file!
Easy to add additional fonts. ****ty thing is alot of the .ttf(s) that I like aren't compatible with android for some reason. I push it and I just get a boot loop.
I've got at last count about 1400 fonts so I'll go through them and see if there are any more that are compatible that look nice and send them to you.
Click to expand...
Click to collapse
you can use a font editor. there are some online ones, but I have not tried them yet. I will look into some later. I just wanted to get this out there so people could help with it as this is pretty simple to use.
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
If I toss in my own fonts into the setup like you have, will it read and load into the installer automatically? Or is it just this set list of fonts? (Sorry if I missed this answer, trying to skim over what I thought I already read)
If you put the directory of your tools into your PATH on your comp, you can unzip this anywhere and run it. Unless he messes with path in the .bat
any screens shots of the fonts
Re: Easy Font Installer (Download Now)
Right now you would have to change the font names and either add a couple lines of script or deal out the fonts from one with what you have. if you look at the script, you should be able to make your changes
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
What's the ADB command to capture shots? I'll take shots as I go along.
Re: Easy Font Installer (Download Now)
If you put the directory of your tools into your PATH on your comp, you can unzip this anywhere and run it. Unless he messes with path in the .bat
Click to expand...
Click to collapse
I didn't mess with the path. that's how mine is setup
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
Re: Easy Font Installer (Download Now)
What's the ADB command to capture shots? I'll take shots as I go along.
Click to expand...
Click to collapse
its not an and command..just ddms command from the tools folder, or you can double click it.
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
Number 11 is my favorite so far...
The only thing that sucks is the phone won't display the new font until it reboots.
Alright, taking screen shots now. It'll take me a little while with reboots.
Sorry about the first post. I was wondering where the png files are located in the rom so I can start theming
Sent from my HERO200 using XDA App
If this has been addressed sorry. I searched but didn't find it. If it's been addressed please point me in the right direction. Thanks
Sent from my HERO200 using XDA App
abadasstanker69 said:
If this has been addressed sorry. I searched but didn't find it. If it's been addressed please point me in the right direction. Thanks
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Ull find all the PNG in the individual apps in the system/app, system/framework, and data/app.
Papa Smurf151 said:
Ull find all the PNG in the individual apps in the system/app, system/framework, and data/app.
Click to expand...
Click to collapse
Thanks bro! All I see is apk files though. Where are the images?? Also, is there anything specific I have to do in order to export/import the files in Photoshop? I read something somewhere about a .9 PNG or something like that....what does this mean? BTW great work on your theme! It looks awesome! I love it!
Ok I'm a douche bad. lol I renamed the apk to .zip and extracted with winrar. Now I'm in to where I want to be! I'm looking for the little android guy when you make a phone call but, I can't seem to find him in the HTCdialer.apk. Am I looking in the wrong place? Thanks again for the help!
They are in the apk's.
http://developer.android.com/index.html
Good luck.
Ok found the little droid man! This is gonna be awesome!! Any more useful places I should mess around in? This is gonna be FUN!!!!!!!
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
abadasstanker69 said:
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
Click to expand...
Click to collapse
I may be wrong but I have done the same thing, all I did when I was finished was push them via adb to their respective places and then reboot and it worked fine for me. Nandroid before you push so if it boot loops you can recover. Then the easiest thing at that point would be to save your work in the ROM you modded, push to sd root, wipe and flash it. I am creating a themed version of Darchoid 2.7 but taking my sweet time as I dont have a lot of it to begin with.
For my HTC Keyboard modifications, I just dropped my new images into the APK that was open in 7zip and pushed it to the /system/app/ dir and launched the keyboard, and BAM, my new keyboard.
abadasstanker69 said:
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
Click to expand...
Click to collapse
You have to sign it too. If you want to flash it. If you wanna just push it through adb then then put your edited .apk in AndroidSDK\tools and push it.
Go to command prompt:
Code:
cd C:\android-sdk-windows\tools
adb remount
adb push xxxxx.apk /system/app/
exit
C:\android-sdk-windows\tools is assuming thats where your sdk\tools folder is
xxxxx.apk is the name of the .apk
/system/app/ is assuming that's where you got the .apk from
Thanks for all the help guys. I appreciate it but, I was attempting to make an update.zip so people could then flash them once I complete them. I like to make things idiot proof
So I did some looking and found an autosigner. Problem is, now it wants boot scripts? WTF? I know I could push them through adb and simply tell others to do the same. I was just wondering if there was an easy way of doing this? I'm currently using avabox. Thanks again guys!!
abadasstanker69 said:
Thanks for all the help guys. I appreciate it but, I was attempting to make an update.zip so people could then flash them once I complete them. I like to make things idiot proof
So I did some looking and found an autosigner. Problem is, now it wants boot scripts? WTF? I know I could push them through adb and simply tell others to do the same. I was just wondering if there was an easy way of doing this? I'm currently using avabox. Thanks again guys!!
Click to expand...
Click to collapse
Just use a mod or update.zip any will do and add ur files and delete the originals in the zip. Keep the meta file and such. Then u can autosign with avabox. It gets tricky with scripts when making a rom. The update.zip script is very basic
Check This Out
You can just take one from a working zip if you want
Otherwise you will be making a file (i use notepad++) called "update-script" *notice-there is no file extension like .txt or anything*
In general they ususally just have:
Code:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
(but may be different depending on where you want the zip's contents to be put in)
Which will be placed into a folder directory META-INF/com/google/android/update-script
You can also add things such as:
Code:
delete SYSTEM:app/contacts.apk
*or whatever you want deleted*
After you make the update-script, just sign it and flash
See my attachment for a template
[/QUOTE]You can also add things such as:
Code:
delete SYSTEM:app/contacts.apk
*or whatever you want deleted*
After you make the update-script, just sign it and flash
See my attachment for a template[/QUOTE]
What would be the purpose in doing that? Would it actually delete people's contacts if they flashed my theme? That's kinda cool but, I'm not trying to be a **** like that! lol
Also, are you guys referring to an update.zip that's all ready out as in a theme file? Or as in a rom? I understand I can use the work that's all ready there and I actually tried that. I zipped the file back up.Then signed with avabox. Renamed it to .apk. Stuck it back in the rom. Attempted to flash and got the boot script error
abadasstanker69 said:
What would be the purpose in doing that? Would it actually delete people's contacts if they flashed my theme? That's kinda cool but, I'm not trying to be a **** like that! lol
Also, are you guys referring to an update.zip that's all ready out as in a theme file? Or as in a rom? I understand I can use the work that's all ready there and I actually tried that. I zipped the file back up.Then signed with avabox. Renamed it to .apk. Stuck it back in the rom. Attempted to flash and got the boot script error
Click to expand...
Click to collapse
haha i just used contacts.apk as an example, it could be anything you wanted really. But its generally only used for when making an update.zip for boot screens.
And yes, you could take an already existing zip... but i was a little confused as to what you were doing sorry.
Correct me if I'm misunderstanding you again lol, but you're editing images within .apks and want to make a flashable-update.zip once you finish?
Easiest way, as stated before would be to use 7-zip.
Open the .apk Directly with 7-zip (no renaming the .apk to .zip or anything) and drag the replacement images into the .apk - overwriting the older images
Test it by pushing the apk to your phone, if it works without any problems great
If it doesn't then use something like Apk Manager to extract the apk/edit the files/and zip them back up < generally what I do
Put the .apk into the apps folder in my "template update.zip" file
Delete the framework folder and readme.txt file
Sign the .zip
Flash
kyouko said:
haha i just used contacts.apk as an example, it could be anything you wanted really. But its generally only used for when making an update.zip for boot screens.
And yes, you could take an already existing zip... but i was a little confused as to what you were doing sorry.
Correct me if I'm misunderstanding you again lol, but you're editing images within .apks and want to make a flashable-update.zip once you finish?
Easiest way, as stated before would be to use 7-zip.
Open the .apk Directly with 7-zip (no renaming the .apk to .zip or anything) and drag the replacement images into the .apk - overwriting the older images
Test it by pushing the apk to your phone, if it works without any problems great
If it doesn't then use something like Apk Manager to extract the apk/edit the files/and zip them back up < generally what I do
Put the .apk into the apps folder in my "template update.zip" file
Delete the framework folder and readme.txt file
Sign the .zip
Flash
Click to expand...
Click to collapse
LOL I really appreciate the help! You guys kick ass!!!! BUT I tried this method MINUS the renaming part and it didn't work. Sooooo....I'm assuming the renaming caused the issue.
Also, I was using winrar. I read somewhere that 7zip should be used instead of winrar but I just don't think this should matter considering the compression method is no different. Am I wrong? Also, will my theme have to vary from rom to rom? If I create this theme for people will I have to specify what rom I'm on?
Thanks again SOOOOOOOOOO much for the help guys...I know working with noobs can be a headache. I did it in the WinMo world for YEARS till I came to the "Dark Side"
abadasstanker69 said:
LOL I really appreciate the help! You guys kick ass!!!! BUT I tried this method MINUS the renaming part and it didn't work. Sooooo....I'm assuming the renaming caused the issue.
Also, I was using winrar. I read somewhere that 7zip should be used instead of winrar but I just don't think this should matter considering the compression method is no different. Am I wrong? Also, will my theme have to vary from rom to rom? If I create this theme for people will I have to specify what rom I'm on?
Thanks again SOOOOOOOOOO much for the help guys...I know working with noobs can be a headache. I did it in the WinMo world for YEARS till I came to the "Dark Side"
Click to expand...
Click to collapse
Yes 7zip works better for theming and roming. I tried winrar and it was a pain in the ass.
Yes u will have to specify which roms it will work on. Files on darchdroid r different than our 2.1 roms and so forth. So they wont work right.
Download avabox and use the signing tool in there to sign ur zips.
Make sure in ur zip if ur editing an app it's in the right place...ie system/app or system/framework or data/app. Then make sure ur Meta file is in there. After that sign it and then u can change the name and flash it
Papa Smurf151 said:
Yes 7zip works better for theming and roming. I tried winrar and it was a pain in the ass.
Yes u will have to specify which roms it will work on. Files on darchdroid r different than our 2.1 roms and so forth. So they wont work right.
Download avabox and use the signing tool in there to sign ur zips.
Make sure in ur zip if ur editing an app it's in the right place...ie system/app or system/framework or data/app. Then make sure ur Meta file is in there. After that sign it and then u can change the name and flash it
Click to expand...
Click to collapse
I'm such a freaking noob....what's the meta file for? This seems like alot to do for a theme :/
abadasstanker69 said:
I'm such a freaking noob....what's the meta file for? This seems like alot to do for a theme :/
Click to expand...
Click to collapse
The Meta file is for the update script. It has other uses but for ur purpose its for the update script which is the instructions the recovery uses to flash the theme. Like I stated before just use an existing one from a different theme or mod. Creating ur own is possible but not needed. Hit me up on gtalk if u want to ask me questions.
[email protected]
I don't mind teaching if anyone wants to learn
can anybody port the stock sprint evo bootscreen for our hero's? i know it's pretty basic but i like the look of it.
Possibly
I have been customizing the stock bootscreen for the Hero. If you have the Evo files or a .gif animation I can give it a try.
wikedbubble said:
I have been customizing the stock bootscreen for the Hero. If you have the Evo files or a .gif animation I can give it a try.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=697527
Above has the boot screen link to download the file. I would be intrested in the boot screen as well, if you can do it.
????
Hey sorry for the delay, I have been out of town for a few weeks. The link here doesn't seem to have the stock EVO files. Only links for customized animations.
wikedbubble said:
Hey sorry for the delay, I have been out of town for a few weeks. The link here doesn't seem to have the stock EVO files. Only links for customized animations.
Click to expand...
Click to collapse
You are right, sorry. I thought the first zip file was the stock one. Oops, I will post a question on the Evo board to request the stock boot screen animation since I do not see one anywhere on the internet.
Sounds good, I also have had a lot of trouble finding it.
wikedbubble said:
Sounds good, I also have had a lot of trouble finding it.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=731593
Post #5
Someone was able to get both files. Hope your able to do the port.
perfect
This is exactly what I was looking for. I should make some progress within the hour.
Tibedabeeto said:
http://forum.xda-developers.com/showthread.php?t=731593
Post #5
Someone was able to get both files. Hope your able to do the port.
Click to expand...
Click to collapse
Good new and bad news.
It turns out that the bootanimation.zip, in the link provided works fine on the OEM release w/ROOT and the latest [ROM] Cyanogenmod 6.0.0 Test 4 For Hero CDMA.
I am still a "Junior Member" so I cannot post links or files.
Anyway.... since these 2 releases use the bootanimation.zip for the animation, any sequence of .PNG files with the proper desc.txt file will work in .ZIP format. Even if the resolution is incorrect.
Audio has been my problem at this point. For the life of me I can't figure out how the EVO will play audio and the HEROc will not even using the bootanimation.zip config instead of the other ROM's using a .GIF file and .XML files.
Tibedabeeto & markus_del_marko
Please PM me for more detailed info so we don't tie up the threads.
wikedbubble said:
Good new and bad news.
It turns out that the bootanimation.zip, in the link provided works fine on the OEM release w/ROOT and the latest [ROM] Cyanogenmod 6.0.0 Test 4 For Hero CDMA.
I am still a "Junior Member" so I cannot post links or files.
Anyway.... since these 2 releases use the bootanimation.zip for the animation, any sequence of .PNG files with the proper desc.txt file will work in .ZIP format. Even if the resolution is incorrect.
Audio has been my problem at this point. For the life of me I can't figure out how the EVO will play audio and the HEROc will not even using the bootanimation.zip config instead of the other ROM's using a .GIF file and .XML files.
Tibedabeeto & markus_del_marko
Please PM me for more detailed info so we don't tie up the threads.
Click to expand...
Click to collapse
In Nfinitex45's rom there is a zip file containing the same layout you discussed. I took all 35 png files out of the sprint folder which is the animation that it plays in the boot screen. What I did is created a animated gif with all those file in gimp. Then took Fresh's rom 2.0d. And extracted the bootscreen folder. I took that xml file with some of those animated gif files along with the one i created from all the png files and created a bootscreen with animation and sound. I did this to test out if it would work and it seemed to work, after removing the .zip file in system/media. And placing the bootscreen folder in system/media. The only thing I see that we will need to do for this animation is change the size of the pics to the hero's resolution, besides that do the same procedure and it should work. (i think)
I have noticed with some rom's people use the .gif .xml combo. I will try doing what you said and we'll see what happens.
Also does Fresh's rom 2.0d play audio on boot, i am curious if there is a line in the .xml file that calls to a specific .mp3 file?
wikedbubble said:
I have noticed with some rom's people use the .gif .xml combo. I will try doing what you said and we'll see what happens.
Also does Fresh's rom 2.0d play audio on boot, i am curious if there is a line in the .xml file that calls to a specific .mp3 file?
Click to expand...
Click to collapse
Yes it has a line for the audio that plays mp3's.
Yup..
It all depends on the ROM. Some use a .zip file with a series of .png images and a properly formatted .desc file.
Other Rom's use an .xml file with a .gif animation and .mp3 file for audio on boot.
seems like roms built for sprint using android 1.5 or 1.6 used .xml config, newer 2.1+ roms are using the .zip .png combo??????
I really don't see a pattern.
Long story short the files provided can be used for ROM's that use the xml config because it supports audio on boot.
That's all I got..
wikedbubble said:
It all depends on the ROM. Some use a .zip file with a series of .png images and a properly formatted .desc file.
Other Rom's use an .xml file with a .gif animation and .mp3 file for audio on boot.
seems like roms built for sprint using android 1.5 or 1.6 used .xml config, newer 2.1+ roms are using the .zip .png combo??????
I really don't see a pattern.
Long story short the files provided can be used for ROM's that use the xml config because it supports audio on boot.
That's all I got..
Click to expand...
Click to collapse
Yeah I tried to create the boot animation as well, but the images got all discolored when creating a gif. I tried several times only to fail, so I gave up. What's weird is I did the same thing for the files contained in Nfinitex45's rom and it worked fine. IDK?!?
Tibedabeeto said:
Yeah I tried to create the boot animation as well, but the images got all discolored when creating a gif. I tried several times only to fail, so I gave up. What's weird is I did the same thing for the files contained in Nfinitex45's rom and it worked fine. IDK?!?
Click to expand...
Click to collapse
I'll get it done today.
Here is flashable zip with the Evo Bootscreen:Evo Bootscreen
Or download from the attachment below
There is no sound right now. I need to figure out exactly why I can't get sound even while using the xml layout.
If you want to push it to your phone unzip and navigate to system/media and push bootanimation.zip to /system/media via adb
unCoRrUpTeD said:
Here is flashable zip with the Evo Bootscreen:Evo Bootscreen
Or download from the attachment below
There is no sound right now. I need to figure out exactly why I can't get sound even while using the xml layout.
If you want to push it to your phone unzip and navigate to system/media and push bootanimation.zip to /system/media via adb
Click to expand...
Click to collapse
Thanks for creating it.
I started a theme the other day, and I'm moving through the files pretty quickly but without context it's hard to know which graphic is which. So I want to flash or apply the current work I'm doing so I can see where things are and how they look.
Right now I'm working through a deodexed version of Froyo so all the files should be in order. Assuming that I strip out all files but the graphics, how do I create a update.zip for it or use any other method? I'm new to Android so any help would be appreciated.
I'm guessing you already have the sdk installed?
chocmatic said:
I'm guessing you already have the sdk installed?
Click to expand...
Click to collapse
Yup. SDK + Eclipse.
Emulator? no?
you can either figure out how to make them Metamorph compatible (sorry, can't give you advice on that, never done it)
Or you can put the images in the correct folder of whatever .apk they go in and make a flashable update.zip, basically replacing the existing .apk's with the full complete modded ones.
You'll need to put all the modded .apk's into a file structure that mimicks where they would be on the phone and zip that structure up with an update_script and sign the update.zip.
I would highly recommend you unzip some small flashable .zip and poke around in it to see the structure and look at the update_script.
This is a download link to a transparent tray mod I did. It replaces ONE .png but because I chose to make it a flashable .zip it requires replacing the framework-res.apk. Except for the actual .apk's you'll need to put in it, this .zip would be perfectly suitable to use as a base for your mods (and you're welcome to use it). If you did use it you would put your .apk's in the system/framework folder, delete the 3 cert files in the META folder, zip the system and META folders into "update.zip" and sign it using an autosign script.
fire away with any questions
ps, you don't need eclipse or the sdk for any of this but you will need an auto-sign script which is one of the tools in Avabox
AFAIK you couldnt use the emulator in the SDK to preview this stuff anyways because you can't get Sense running on the emulator, not to mention the emulator runs SOOOOO SLOOOOWWWWW. Even if you could get Sense running on the em I would bet you would spend less time making a nand, flashing your mods, checking them out and restoring your nand if you didn't like them than using an emulator to preview this stuff.
Award Tour said:
Yup. SDK + Eclipse.
Click to expand...
Click to collapse
Download the attached file and save folder in your tools directory. Then look at sign.txt to sign files
chocmatic said:
Download the attached file and save folder in your tools directory. Then look at sign.txt to sign files
Click to expand...
Click to collapse
Nothings attached.
nebenezer said:
you can either figure out how to make them Metamorph compatible (sorry, can't give you advice on that, never done it)
Or you can put the images in the correct folder of whatever .apk they go in and make a flashable update.zip, basically replacing the existing .apk's with the full complete modded ones.
You'll need to put all the modded .apk's into a file structure that mimicks where they would be on the phone and zip that structure up with an update_script and sign the update.zip.
I would highly recommend you unzip some small flashable .zip and poke around in it to see the structure and look at the update_script.
This is a download link to a transparent tray mod I did. It replaces ONE .png but because I chose to make it a flashable .zip it requires replacing the framework-res.apk. Except for the actual .apk's you'll need to put in it, this .zip would be perfectly suitable to use as a base for your mods (and you're welcome to use it). If you did use it you would put your .apk's in the system/framework folder, delete the 3 cert files in the META folder, zip the system and META folders into "update.zip" and sign it using an autosign script.
fire away with any questions
ps, you don't need eclipse or the sdk for any of this but you will need an auto-sign script which is one of the tools in Avabox
AFAIK you couldnt use the emulator in the SDK to preview this stuff anyways because you can't get Sense running on the emulator, not to mention the emulator runs SOOOOO SLOOOOWWWWW. Even if you could get Sense running on the em I would bet you would spend less time making a nand, flashing your mods, checking them out and restoring your nand if you didn't like them than using an emulator to preview this stuff.
Click to expand...
Click to collapse
Thanks a lot. Seeing the file, it makes sense. In your simple example you modded the framework res APK -- did you have to sign that single APK or was it taken care of when you signed the update.zip? I've modded some apps already and I know that with single APKs you have to sign them so it can be installable again. Don't know if that is needed once you sign the update.zip.
BTW, I can't wait to release this theme. It makes Sense look substantially better.
Award Tour said:
Thanks a lot. Seeing the file, it makes sense. In your simple example you modded the framework res APK -- did you have to sign that single APK or was it taken care of when you signed the update.zip? I've modded some apps already and I know that with single APKs you have to sign them so it can be installable again. Don't know if that is needed once you sign the update.zip.
BTW, I can't wait to release this theme. It makes Sense look substantially better.
Click to expand...
Click to collapse
Actually signing the .apk's is not necessary. If all you're doing is swapping out images just open the .apk's archinve with 7zip (or similar program) and drop the new .png's into the correct folder (almost always res/drawable-hdpi)
Signing the .zip makes it flashable, the .apk is usable whether you sign it into a .zip or not. Actually when you're testing stuff out I find it's much quicker to just push the modified .apk to the phone via usb, I don't make a flashable .zip until it's ready for sharing
If you push a framework file to the phone ADB REBOOT immediately.
Also, don't be surprised if some of your wallpaper gets reset to stock and your google account gets wiped out after reboot, comes with the territory
nebenezer said:
Actually signing the .apk's is not necessary. If all you're doing is swapping out images just open the .apk's archinve with 7zip (or similar program) and drop the new .png's into the correct folder (almost always res/drawable-hdpi)
Signing the .zip makes it flashable, the .apk is usable whether you sign it into a .zip or not. Actually when you're testing stuff out I find it's much quicker to just push the modified .apk to the phone via usb, I don't make a flashable .zip until it's ready for sharing
If you push a framework file to the phone ADB REBOOT immediately.
Also, don't be surprised if some of your wallpaper gets reset to stock and your google account gets wiped out after reboot, comes with the territory
Click to expand...
Click to collapse
Oh okay, I think I'd prefer using ADB too. What command would I use to push the files?
Award Tour said:
Oh okay, I think I'd prefer using ADB too. What command would I use to push the files?
Click to expand...
Click to collapse
this:
Code:
adb remount
adb pull /system/framework/framework-res.apk c:\
then I make my changes to the .apk and:
Code:
adb push c:\framework-res.apk /system/framework
adb reboot
nebenezer said:
this:
Code:
adb remount
adb pull /system/framework/framework-res.apk c:\
then I make my changes to the .apk and:
Code:
adb push c:\framework-res.apk /system/framework
adb reboot
Click to expand...
Click to collapse
Cool, just so it's clear, and I'm sorry to bug, but I'd have to pull (remove I guess)
the file before pushing the new one in?
Award Tour said:
Cool, just so it's clear, and I'm sorry to bug, but I'd have to pull (remove I guess)
the file before pushing the new one in?
Click to expand...
Click to collapse
meh, you can use another compatable copy. I always just pull it first for 2 reasons: 1) I know its the one I'm using at the moment and 2) if you're gonna be using adb it's just convenient to have it right on c:\, less typing
Award Tour said:
Oh okay, I think I'd prefer using ADB too. What command would I use to push the files?
Click to expand...
Click to collapse
adb push <filename> </target dir/targetfilename>
Read this guide, very informative on ADB
SteelH said:
Nothings attached.
Click to expand...
Click to collapse
oops my bad...it's attached now
nebenezer said:
you can either figure out how to make them Metamorph compatible (sorry, can't give you advice on that, never done it)
Or you can put the images in the correct folder of whatever .apk they go in and make a flashable update.zip, basically replacing the existing .apk's with the full complete modded ones.
You'll need to put all the modded .apk's into a file structure that mimicks where they would be on the phone and zip that structure up with an update_script and sign the update.zip.
I would highly recommend you unzip some small flashable .zip and poke around in it to see the structure and look at the update_script.
This is a download link to a transparent tray mod I did. It replaces ONE .png but because I chose to make it a flashable .zip it requires replacing the framework-res.apk. Except for the actual .apk's you'll need to put in it, this .zip would be perfectly suitable to use as a base for your mods (and you're welcome to use it). If you did use it you would put your .apk's in the system/framework folder, delete the 3 cert files in the META folder, zip the system and META folders into "update.zip" and sign it using an autosign script.
fire away with any questions
ps, you don't need eclipse or the sdk for any of this but you will need an auto-sign script which is one of the tools in Avabox
AFAIK you couldnt use the emulator in the SDK to preview this stuff anyways because you can't get Sense running on the emulator, not to mention the emulator runs SOOOOO SLOOOOWWWWW. Even if you could get Sense running on the em I would bet you would spend less time making a nand, flashing your mods, checking them out and restoring your nand if you didn't like them than using an emulator to preview this stuff.
Click to expand...
Click to collapse
This was very helpful to me as well; thanks!
Actually I just thought of a question. After you sign the file and it becomes update_signed.zip can you rename it to something else like BlahBlah.zip and have it still flash properly?
Tried twice and it failed. It would create to Meta files and not find the update script. Followed the directions but that still happened; any advice?
Here is the boot animation and also the theme to the show.
Push the bootanimation.zip to system/media. Rename the existing file to bootanimation.zipold.
If you want the sound push the wav file to ect and rename existing file to PowerOn.wavold. I have only tried replacing existing files not sure if will work if you have no boot sound.
*DISCLAIMER* I am no way responsible for what you do to your device
Thanks to TXLunchbox for the bootanimation
http://dl.dropbox.com/u/64304416/bootanimation.zip
http://dl.dropbox.com/u/64304416/PowerOn.wav
Sorry for the delay on the links. Can't get the files loaded as attachments but the dropbox links are up and working!
Again use at your own risk and so far have only tested on ROM that had existing startup sound.
Glad to see you got it up nd running
Sent from my Maybach s 4g
ShadyAce80 said:
Here is the boot animation and also the theme to the show.
Push the bootanimation.zip to system/media. Rename the existing file to bootanimation.zipold.
If you want the sound push the wav file to ect and rename existing file to PowerOn.wavold. I have only tried replacing existing files not sure if will work if you have no boot sound.
*DISCLAIMER* I am no way responsible for what you do to your device
Thanks to TXLunchbox for the bootanimation
http://dl.dropbox.com/u/64304416/bootanimation.zip
http://dl.dropbox.com/u/64304416/PowerOn.wav
Click to expand...
Click to collapse
Good work man!
Tip: renaming the files to bootanimation.zipold should be bootanimation.zip.old, same with the poweron.wav file. Or you could rename it to .bak, that is how some of the various apps do it so the filesystem thinks it is a backup file. I think sdmaid will remove .old files when using it that is why I suggest using the .bak extension.
eollie said:
Good work man!
Tip: renaming the files to bootanimation.zipold should be bootanimation.zip.old, same with the poweron.wav file. Or you could rename it to .bak, that is how some of the various apps do it so the filesystem thinks it is a backup file. I think sdmaid will remove .old files when using it that is why I suggest using the .bak extension.
Click to expand...
Click to collapse
Thanks for the tip. Now to just learn how to create a complete theme that can be flashed.
ShadyAce80 said:
Thanks for the tip. Now to just learn how to create a complete theme that can be flashed.
Click to expand...
Click to collapse
Ill help you what are u stuck on
Sent From a Galaxy S with 4G
DnickDominic said:
Ill help you what are u stuck on
Sent From a Galaxy S with 4G
Click to expand...
Click to collapse
thanks. Right now I'm starting out at android.com figuring out the emulator and what not. Also looking for threads to show me how to take the boot animation and package it up for flash.
ShadyAce80 said:
thanks. Right now I'm starting out at android.com figuring out the emulator and what not. Also looking for threads to show me how to take the boot animation and package it up for flash.
Click to expand...
Click to collapse
Couple of things...
First, while I do appreciate the thanks, I was under the assumption you were going to add this to a full ROM you were working on and not just post it in another forum. If that was the case you could have just linked to my post that I did for this. The reason I never posted it in any other phone forums is that the resolution is set specifically for the Galaxy S Vibrant, therefore may have not looked as good on other devices.
Second, for the sound to work, it all depends on your kernel. I never did one for mine cause the majority of people that use the device I designed the bootanimation.zip for had VooDoo kernels and those do not support boot sound.
Third, if you're wanting to make it flashable you're going to have to learn the code for the recovery system you are using for the phone. I used to have a flashable version of mine, but when codes changed for CWM Recovery, I just figured it was easier to tell people where to push the file to.
Again, I do appreciate the thanks, but next time be a little clearer on what you're doing with someone else's work before posting it as your own.
Thank you
TXLunchbox said:
Couple of things...
First, while I do appreciate the thanks, I was under the assumption you were going to add this to a full ROM you were working on and not just post it in another forum.
Click to expand...
Click to collapse
If you goto android.com its the home page to andorid....
http://www.android.com/
Boot animtion unsuccessful.
ShadyAce80 said:
Here is the boot animation and also the theme to the show.
Push the bootanimation.zip to system/media. Rename the existing file to bootanimation.zipold.
If you want the sound push the wav file to ect and rename existing file to PowerOn.wavold. I have only tried replacing existing files not sure if will work if you have no boot sound.
*DISCLAIMER* I am no way responsible for what you do to your device
Thanks to TXLunchbox for the bootanimation
http://dl.dropbox.com/u/64304416/bootanimation.zip
http://dl.dropbox.com/u/64304416/PowerOn.wav
Click to expand...
Click to collapse
I tried to push both files like you described even renaming to bootanimation.zip.old. rebooted but no animation. Im on valhalla black final + black booster.