Fonts: how do i install a font to my phone? - Droid Eris Q&A, Help & Troubleshooting

There is a font on another rom that I like, how would I get that installed onto my Eris? I have the file from the other rom.

Have a look at T2noob's batch file font installer for ideas (and fonts, too).
Looks like he takes a pair of True Type (.ttf) files - one regular face, one bold face - and copies them to
/system/fonts/
renaming the (respective) .ttf files to "DroidSans.ttf" and "DroidSans-Bold.ttf"
Then, just reboot.
That was done for rooted 2.1 ROMs; I'm not sure if it the same for AOSP or CM6 Froyo ROMs
good luck
bftb0

bftb0 said:
Have a look at T2noob's batch file font installer for ideas (and fonts, too).
Looks like he takes a pair of True Type (.ttf) files - one regular face, one bold face - and copies them to
/system/fonts/
renaming the (respective) .ttf files to "DroidSans.ttf" and "DroidSans-Bold.ttf"
Then, just reboot.
That was done for rooted 2.1 ROMs; I'm not sure if it the same for AOSP or CM6 Froyo ROMs
good luck
bftb0
Click to expand...
Click to collapse
Thank you so much, this helps. I posted a question to his thread on the other site, but is it possible, since the fonts are in "true type" format that I can use some of mine?

johnny quest said:
Thank you so much, this helps. I posted a question to his thread on the other site, but is it possible, since the fonts are in "true type" format that I can use some of mine?
Click to expand...
Click to collapse
The best way to find out is to try.
Just make a Nandroid backup before you start, and then there is zero risk involved in trying.
bftb0

bftb0 said:
The best way to find out is to try.
Just make a Nandroid backup before you start, and then there is zero risk involved in trying.
bftb0
Click to expand...
Click to collapse
Ok, thanks I will give it a try.

johnny quest said:
Ok, thanks I will give it a try.
Click to expand...
Click to collapse
I used the T2Noobat but it says Device not found but when I go to the folder where my font is, its not there. So I don't know if I have to reboot my phone in order for my font to take effect. Or, the way you said about system/fonts..... I don't know where in my sd would I find the fonts in order to change it.

johnny quest said:
I used the T2Noobat but it says Device not found but when I go to the folder where my font is, its not there. So I don't know if I have to reboot my phone in order for my font to take effect. Or, the way you said about system/fonts..... I don't know where in my sd would I find the fonts in order to change it.
Click to expand...
Click to collapse
If you get errors, it is not reasonable to conclude that the install worked despite the errors. That's what error messages are for - to tell you that something went wrong.
T2noobs .bat file (script) presumes that you have:
1) ADB working on your PC (generally by installing the Android SDK or HTC Sync + adb)
2) That your phone is connected via USB cable
3) That your phone has USB Debugging turned on
4) That your phone is running a rooted ROM.
You don't have to use his script. I mentioned it as an example. You can just use a root-aware file manager (RootExplorer or Estrongs File Manager), and re-mount /system in RW mode, and then drop your two True Type fonts into
/system/fonts/
with the file names "DroidSans.ttf" and "DroidSans-Bold.ttf"
and then reboot. Obviously, there will already be files in there with those names to begin with, so you need to either (a) rename them to something else, (b) move them to some other folder, or (c) delete them.
I don't know how to make this any clearer.
You probably should spend some time learning how to perform Nandroid backups and restores before you do any of this (if you have not already mastered those skills). Having good backups will save your butt.
bftb0
PS. I just did this on my (CELB 3.2) ROM, so I know it works - assuming you are not using some screwy fonts.

bftb0 said:
If you get errors, it is not reasonable to conclude that the install worked despite the errors. That's what error messages are for - to tell you that something went wrong.
T2noobs .bat file (script) presumes that you have:
1) ADB working on your PC (generally by installing the Android SDK or HTC Sync + adb)
2) That your phone is connected via USB cable
3) That your phone has USB Debugging turned on
4) That your phone is running a rooted ROM.
You don't have to use his script. I mentioned it as an example. You can just use a root-aware file manager (RootExplorer or Estrongs File Manager), and re-mount /system in RW mode, and then drop your two True Type fonts into
/system/fonts/
with the file names "DroidSans.ttf" and "DroidSans-Bold.ttf"
and then reboot. Obviously, there will already be files in there with those names to begin with, so you need to either (a) rename them to something else, (b) move them to some other folder, or (c) delete them.
I don't know how to make this any clearer.
You probably should spend some time learning how to perform Nandroid backups and restores before you do any of this (if you have not already mastered those skills). Having good backups will save your butt.
bftb0
PS. I just did this on my (CELB 3.2) ROM, so I know it works - assuming you are not using some screwy fonts.
Click to expand...
Click to collapse
Thank you so much, I've been living on backups and restores. believe me I've learned my lesson. I will give this a try.

Your method worked great with the Root Manager. I bought it on the market. Ok, my biggest problem now is that my font is microscopic small. I don't know why. But I can't see the letters of which folder I'm in to take that font out.
I need a favor: can you post up screenshots or the number of folders to scroll down to get to the system/fonts/droidsans.tff
I can't see it, really its that small its the universal acc font.
Never mind I got it. Took a lot of squinting but I got it. Thanks.

Related

[FIX] See ALL apps in Market (froyo only apps, and paid/protected apps) Automated!

laymil has posted a much better script for this. As such I will be discontinuing my work on this for now. Not for any hard feelings, but because it is now beyond me to help any further.
As always I am glad to have helped the community in some small way. Thank you all
CHEERS
Geniusdog254 Posted the exact lines in the build prop that needed to be changed. This is a pretty common fix for problems like this between versions of Android. There was some concern however that you may miss some of the newer apps released only for Froyo. I wrote some simple scripts that will fix this for us.
Simply: One puts the Froyo build.prop on your phone. The other puts the modded build.prop on your phone.
Prerequisites
YOU MUST HAVE GSCRIPT INSTALLED
YOU MUST HAVE BUSYBOX INSTALLED
(IF YOU ARE USING PAULS FROYO ROM FROM HERE
http://forum.xda-developers.com/showthread.php?t=686631
IT DOES NOT HAVE BUSYBOX INSTALLED
Also--
There are now 2 downloads.
One will reboot your phone automatically
One will not!
(I recommend this one for anyone that has problems, or doesn't know ADB well.)
Installation
Code:
Download the attached .zip file
Place the "buildprop" folder in the root of your sdcard
Place both "Normal_Froyo.sh" and "Modded_Froyo" files in the gscript folder on your sdcard
Code:
Open Gscript
Press menu and select Add Script
Press Load File button
Select Normal_Froyo file
Press Save button at bottom
Repeat for Modded_Froyo file
After that all you have to do is open gscript and select which one to run.
Normal_Froyo will give you stock froyo build.prop and let you see froyo only apps
Modded_Froyo will give you the market fix build.prop
You can also create shortcuts directly on your homescreen for each script if you wish
-----------------------------------------------
I've decided to skip the update.zip, I've found no way to copy the scripts to the gscript folder on the sdcard this way.
I'm going for an app instead.
P.S. I've never written an app before, java looks like russian to me lol. So if anyone has any tips, or knows any good tut's let PM me and let me know.
------------------------------------------------
fixed no buildprop folder
added NON-autoreboot download.
buildprop switcher v0.3.zip ORIGINAL
buildprop_switcher_no_rebootv0.3.zip NO REBOOT
buildprop swticher v0.3.1.zip DOWNLOAD THIS ONE
When the file is unzipped, there are 4 files - No Buildprop folder. Now I get the part about putting the two .sh files into Gscript folder.
Do I make another folder called buildprop and put build.2.1 and build.2.2 inside?
OR
Do I put build.2.1 and build.2.2 onto the root of the SDCARD?
Dayz xx
Dayzee said:
When the file is unzipped, there are 4 files - No Buildprop folder. Now I get the part about putting the two .sh files into Gscript folder.
Do I make another folder called buildprop and put build.2.1 and build.2.2 inside?
OR
Do I put build.2.1 and build.2.2 onto the root of the SDCARD?
Dayz xx
Click to expand...
Click to collapse
So sorry lol Didn't notice until I was making the update.zip that I didn't put the other files in a folder IN the zip. Just make a folder on your sdcard called buildprop. and put them in there.
BTW testing the flashable update.zip method right now
thx, seems to work
so no more *#*#etc.. afterwards?
watercool said:
thx, seems to work
so no more *#*#etc.. afterwards?
Click to expand...
Click to collapse
Right.. the checkin service runs on each reboot. So it is not needed.
Worked just fine, but I did have to do the checkin thing. Possibly had poor signal but checkin hadn't done on reboot. Worked fine after that...
Dayz xx
followinginsanity said:
Right.. the checkin service runs on each reboot. So it is not needed.
Click to expand...
Click to collapse
Can the checkin method be used, instead of rebooting? I'd much rather switch back and forth via checkin rather than having to reboot.
Thanks.
Namuna said:
Can the checkin method be used, instead of rebooting? I'd much rather switch back and forth via checkin rather than having to reboot.
Thanks.
Click to expand...
Click to collapse
The reboot is built into the script. On my phone, if I checkin, the apps still don't show till I reboot. But show if I only reboot. If checkin alone works for you though, you can remove the reboot command from the script.
I'm not sure what happened, but after following the instructions exactly, my phone crapped. It got as far as the first nexus logo (non-animated), then the buttons lit up and I got a black screen. And that's how it stayed.
Any ideas?
This worked great for me I also solved my (unrelated) prob with SlideIt by forcing the dictionary to save in the settings, so I'm no longer bothered about losing shortcuts stuff on a reboot.
Dandy!!
tested again with a second n1. works perfect! automated checkin works perfect.
Can you please post what changed in the .prop file.
Also you didn't add the video codecs in the "new" prop file
InGeNeTiCs said:
I'm not sure what happened, but after following the instructions exactly, my phone crapped. It got as far as the first nexus logo (non-animated), then the buttons lit up and I got a black screen. And that's how it stayed.
Any ideas?
Click to expand...
Click to collapse
Mine did this as well, though I am unsure why just yet. Been busy all day.
Mikey1022 said:
Can you please post what changed in the .prop file.
Also you didn't add the video codecs in the "new" prop file
Click to expand...
Click to collapse
The only thing I changed from the stock to the "modded" build.prop were these 2 lines
from this
ro.build.description=passion-user 2.2 FRF50 38042 release-keys
ro.build.fingerprint=google/passion/passion/mahimahi:2.2/FRF50/38042:user/release-keys
to this
ro.build.description=passion-user 2.1-update1 ERE27 24178 release-keys
ro.build.fingerprint=google/passion/passion/mahimahi:2.1-update1/ERE27/24178:user/release-keys
I didn't add anything else to these. If you would like other things added to the build.prop files. You are welcome to edit them yourselves, or let me know what things you want changed, and I can include them.
I can make it user friendly. With descriptions for each modded line, then you can simply un-comment the options that you want.
PS: I thought I had the flashable update ready, but the update-script is giving me problems. ANYONE that wants to help please let me know. I'd really like to get this out to everyone.
InGeNeTiCs said:
I'm not sure what happened, but after following the instructions exactly, my phone crapped. It got as far as the first nexus logo (non-animated), then the buttons lit up and I got a black screen. And that's how it stayed.
Any ideas?
Click to expand...
Click to collapse
same thing here....ANY IDEAS????????????
This is a great find, inductions were perfect and easy to follow. Not one issue getting all my paid apps back! Thank again!
JDMSirEK4 said:
same thing here....ANY IDEAS????????????
Click to expand...
Click to collapse
To anyone that can't get thier phone to boot all the way after doing this
Its not a big deal. Your phone booted. But the build.prop didn't get copied before the reboot.
If you did a nandroid before you tried it. Restore that!
If you didn't, OR you know how to use adb. Do this
Code:
adb remount
adb push [COLOR="red"]/path/to/build.2.1(or)build.2.2[/COLOR] /system/build.prop
adb reboot
I hope to have this fixed quickly.
ANYONE WHO'S PHONE WILL NOT BOOT AFTERWARDS!
Check and make sure you put the files in the right place.
build.2.2
&
build.2.1
go in
build.prop FOLDER ON YOUR SDCARD
that was the only reason I got the error, i deleted the files off my card when i was testing the flashable update.
If you still get an error. open both files in the gscript folder, and remove or comment out the reboot line. Then tell me what error you get in gscript.
So I did this and am able to see the new apps. When I reboot the phone I cannot see a bunch of old apps in my launcher. I revert to the normal script and reboot again and still cannot see a bunch of my apps. Appbrain says theyre installed and I can open them from there but no widgets or shortcuts for them Any Ideas?
r0adki111 said:
So I did this and am able to see the new apps. When I reboot the phone I cannot see a bunch of old apps in my launcher. I revert to the normal script and reboot again and still cannot see a bunch of my apps. Appbrain says theyre installed and I can open them from there but no widgets or shortcuts for them Any Ideas?
Click to expand...
Click to collapse
Are those apps moved to the SD by any chance? If so, best bet is to go to Settings>Applications>Manage Applications>Find your launcher, and force stop it. Should work after that.
dictionary said:
Are those apps moved to the SD by any chance? If so, best bet is to go to Settings>Applications>Manage Applications>Find your launcher, and force stop it. Should work after that.
Click to expand...
Click to collapse
Nope they're not on SD. I'll try the fc of launcher.
Ok it worked thank you! but my xiia widget still is not back and I'm assuming others. Anything I can do for the widgets?
Ok installed and reinstated the app. Works great thx again.
Update:
Ok after another reboot, apps don't show again. FC the launcher they come back but not the widgets.. Grrrrrr...

[Q] Boot Animation Audio

I have the Call of Duty boot animation, but for some reason the audio wont work. I also have tried the Xbox 360 boot animation. Even that, will not play the audio. but the FinalThunder.mp3 still plays fine.
Ive checked permissions, file names...rhetorically everything. Anyone got an idea what i might be doing wrong?
which rom are you using.....I'm finding the same problem using CM7 and the Bios boot animation. Haven't really looked into it yet though as I just loaded it this morning.
Will post back if I find anything.........
Stock. I rooted fully. Rootchecker says im fine, and the animation works, but no sound
What I have found that works is you have to have the folders within bootanimation.zip set up the same way as the stock one: android, progress and VZW. I haven't look that far into but it seems like the boot sound is triggered when a certain folder is started. If this is so, replacing the boot animation with another one that isn't structured the same and renaming the mp3 to FinalThunder won't work.
Like, wat do you mean? only thing i got is the bootanimation.zip and FinalThunder.mp3, and its int he same place, as in /system/customize/resource/
Superthrust said:
Like, wat do you mean? only thing i got is the bootanimation.zip and FinalThunder.mp3, and its int he same place, as in /system/customize/resource/
Click to expand...
Click to collapse
There's a folder structure inside bootanimation.zip. I'm not talking about where the zip file stored on the phone. More than like the Call of Duty zip has two folders in it, android and part2. Link me to where you got the boot animation and I'll fix it for you.
zhp pilot said:
There's a folder structure inside bootanimation.zip. I'm not talking about where the zip file stored on the phone. More than like the Call of Duty zip has two folders in it, android and part2. Link me to where you got the boot animation and I'll fix it for you.
Click to expand...
Click to collapse
Ill try to attach the ones i have.
Looking inside them both, stock bootanim has no folders. But the COD one does. As for the audio, FinaltHUNDER works but cod-finalthunder wont. (no, i didnt name it that lol)
As i said before, the boot animation works PERFECTLY, just the audio is not working
Try this. Works with sound on my phone. http://www.mediafire.com/?2fvuc65eqdcfdp3
testing. will post with results.
Also, could you maybe tell me what you did? I really want to learn. I have some others i'd like to get working, as well as some ideas I am building with some friends. They know the stuff, but they are in classes and doing finals..I don't have the luxury of college.
Also, is there a way i can adb into my phone and auto-achieve r/w on my system folder? Right now, i have to use RootExplorer and mount as R/W since adb always tells me "unable to push, blah blah, read only filesystem"
It works. Perfectly. Cept the audio is unsynched but that will be easy for me to fix. Thank you so much. What did you change, my awesome savior?
Superthrust said:
testing. will post with results.
Also, could you maybe tell me what you did? I really want to learn. I have some others i'd like to get working, as well as some ideas I am building with some friends. They know the stuff, but they are in classes and doing finals..I don't have the luxury of college.
Also, is there a way i can adb into my phone and auto-achieve r/w on my system folder? Right now, i have to use RootExplorer and mount as R/W since adb always tells me "unable to push, blah blah, read only filesystem"
Click to expand...
Click to collapse
All I did was set the folder structure the same way the stock one is, with android, progress and VZW and made sure desc.txt was formatted properly.
If you are using adb, instead of using Root Explorer to mount system, try command
Code:
adb shell sysrw
Of course this command all depends on how the ROM is set up that you are using.
So, say im using a new bootanimation. Copy/pasta the desc text file, and make sure the structure inside is the same way?
adb shell sysrw says permission denied. im using rooted stock.
Superthrust said:
So, say im using a new bootanimation. Copy/pasta the desc text file, and make sure the structure inside is the same way?
Click to expand...
Click to collapse
Simple break down: android folder contains the first image of the boot animation; the one some people thinks is a second splash screen. VZW folder contains the actually boot animation images and progress is the last image display at the phone is booting. Place your boot animation images in these folders accordingly. I would suggest just putting a plain black image in the android folder and name the image the same as the stock "second splash" screen.
Use the desc.txt file from the boot that I sent you. The only thing you will need to change is the frame rate to make it work with other boot animations. So if a boot is supposed to be displayed at 10 fps, change the 30 to 10 and save.
Once you have everything the way you want it, zip all three folders and desc.txt using the store, or no compression, option. Now you are ready to go. Like you mentioned earlier, you may need to edit FinalThunder.mp3 to make it sync correctly.
About adb sysrw command; stock RUU is not up for that command. Not sure what the syntax would be for stock root or if you can even mount the system as R/W through adb.
dont think i can. and i thnk i gotta lower the fps a little ont he animation
zhp pilot said:
Simple break down: android folder contains the first image of the boot animation; the one some people thinks is a second splash screen. VZW folder contains the actually boot animation images and progress is the last image display at the phone is booting. Place your boot animation images in these folders accordingly. I would suggest just putting a plain black image in the android folder and name the image the same as the stock "second splash" screen.
Use the desc.txt file from the boot that I sent you. The only thing you will need to change is the frame rate to make it work with other boot animations. So if a boot is supposed to be displayed at 10 fps, change the 30 to 10 and save.
Once you have everything the way you want it, zip all three folders and desc.txt using the store, or no compression, option. Now you are ready to go. Like you mentioned earlier, you may need to edit FinalThunder.mp3 to make it sync correctly.
About adb sysrw command; stock RUU is not up for that command. Not sure what the syntax would be for stock root or if you can even mount the system as R/W through adb.
Click to expand...
Click to collapse
I tried changing the FPS and i hit save. I saved it also in the .zip and now the boot animation wont work period. What did i do wrong? Only thing i did was change 30p to 27p
Superthrust said:
I tried changing the FPS and i hit save. I saved it also in the .zip and now the boot animation wont work period. What did i do wrong? Only thing i did was change 30p to 27p
Click to expand...
Click to collapse
Did you open it from within the zip file and save it? If so, when you saved it, the zip was updated and probably changed the compression ratio to the default of whatever program you are using.
zhp pilot said:
Did you open it from within the zip file and save it? If so, when you saved it, the zip was updated and probably changed the compression ratio to the default of whatever program you are using.
Click to expand...
Click to collapse
so what compression method do i have to use to make this work correctly? Cause i need to fix the audio again.
Superthrust said:
so what compression method do i have to use to make this work correctly? Cause i need to fix the audio again.
Click to expand...
Click to collapse
None. Use store option or no compression.
Hey guys, I'm looking for and audio thread that would help with a GB lockscreen, I have ran across one or know if there is one but I found this one and may one of you could help me?
I want to change or I should say make an audio sound for when I unlock my GB Rom. Is that possible? I also wanted to combined in two audio sounds. Any help would be great and appreciated. Thanks
*WALK in the WORD*

Battery Icon Mod

The stock battery icon on Galaxy wifi 5.0 is not very inspiring and it doesn't tell you the battery level. It is quite easy to replace them on other phones with Clockwork Recovery. You just need to go to UOT kitchen http://uot.dakra.lt/kitchen/ , pick the icons you like and it will give you a flashable zip file.
Without Clockwork Recovery on Galaxy wifi, it can still be done but with a bit more manual operations.
Prerequisites:
1. A rooted device.
2. Clockworkmod Recovery (optional).
Step 1:
Use Titanium backup (pro version needed) to free up some spaces in /system directory (There are 0 byte free in stock rom). You can delete some unused system apps or convert some of them to user app. For example converting Flash player and google map to user app free up enough space for me.
Step 2:
Backup the following apk files from your stock rom. You can do that by using some file manager like File Expert. These files will be needed by UOT kitchen
/system/app/SystemUI.apk
/system/framework/framework-res.apk
/system/framework/twframework-res.apk
Step 3:
Go to UOT kitchen http://uot.dakra.lt/kitchen/ and cook your custom UI. Make sure you read their how-to here first http://uot.dakra.lt/how_to/
Step 4a: (follow this if you have Clockworkmod Recovery)
Copy the zip produced by UOT kitchen to your internal SD card. Reboot to CWM Recovery and flash the zip file using the option "Install zip from sd card". Then reboot and you are done.
Step 4b: (follow this if you don't have Clockworkmod Recovery)
Extract the 3 modified apk files from the zip package produced by UOT kitchen and put them into a convenient location on your sdcard, say /sdcard/
Step 5:
The system directory is by default read only. You need to remount it as r/w. I do that through adb shell
Code:
su
mount -o rw,remount /dev/block/mmcblk0p13 /system
Step 6:
Copy your new apk files into /system directory
Code:
cp /sdcard/SystemUI.apk /system/app/
cp /sdcard/framework-res.apk /system/framework/
cp /sdcard/twframework-res.apk /system/framework/
Step 7:
Restart your device. The /system directory should remounted as read only and the new UI will take effect.
Disclaimer:
Certainly there are risked involved and I did corrupted my rom on several occasions when trying this out. So make sure you have a functional ROM around before you give this a try.
thanks for the tips.
hey I wanna ask you about is it can fully modification from http://uot.dakra.lt/kitchen/
I mean don't just modify battery icon but every option that site provide.
thanks in advance.
" Step 1:
Use Titanium backup to free up some spaces in /system directory (There are 0 byte free in stock rom). You can delete some unused system apps or convert some of them to user app. The flash. For example converting Flash player and google map to user app free up enough space for me."
How do you do that with titanium backup? Do you have to get pro?
aillez said:
thanks for the tips.
hey I wanna ask you about is it can fully modification from http://uot.dakra.lt/kitchen/
I mean don't just modify battery icon but every option that site provide.
thanks in advance.
Click to expand...
Click to collapse
I have only experimented with icons so far. Other mod may be possible because UOT kitchen does support gingerbread. Since this device is new, we need some brave soul to try that out
iJimaniac said:
" Step 1:
Use Titanium backup to free up some spaces in /system directory (There are 0 byte free in stock rom). You can delete some unused system apps or convert some of them to user app. The flash. For example converting Flash player and google map to user app free up enough space for me."
How do you do that with titanium backup? Do you have to get pro?
Click to expand...
Click to collapse
Yes, you will need the pro version. If you have the pro version, long press an app will give you the option to do the conversion.
Well, while deleting apps with TI, I decided to get rid of "phone", figuring I didn't need it, but it turns out Google voice needs it! Trying to "restore", but just hangs forever. If someone could give me the "com.sec.android.app.dialertab.apk" located in /system/app/ I would really appreciate it!
EDIT; I just reinstalled voice from market, seemed to fix it, I wouldn't advise removing phone from the apps though!
can you make the display of battery accurate to 1%?thank you!
First make it accurate to 5%, then work on 1%
I think the accuracy of the battery level is deeper down in the system, may be in the kernel?
If you try different types of battery widget on Galaxy Player, they all have very bad accuracy.
I want to edit the framework-res.apk manually, instead of using the kitchen. Do the files need to be deoxed? Would flashing a framework-res compiled with apk manager brick the device?
nice guide!
I've used UOT Kitchen to get ICS transitions, change icons, battery, fonts, and customize the status bar and they all work on my galaxy player 4.0 US.
what are those different icons you have on your notifications like the wifi icon and what launcher is that ADW?
azoller1 said:
what are those different icons you have on your notifications like the wifi icon and what launcher is that ADW?
Click to expand...
Click to collapse
I am using the "Color pack V8 animated" icon set on UOT kitchen. The launcher is GO Launcher.
Stale_bread said:
I want to edit the framework-res.apk manually, instead of using the kitchen. Do the files need to be deoxed? Would flashing a framework-res compiled with apk manager brick the device?
Click to expand...
Click to collapse
There is still an odex file in the system directory. I suppose it is not deoxed but UOT kitchen doesn't seem to bother with that file. I guess it is because these apk files don't contain any executable code.
from OP
Disclaimer:
Certainly there are risked involved and I did corrupted my rom on several occasions when trying this out. So make sure you have a functional ROM around before you give this a try.
Click to expand...
Click to collapse
Two things, if you please:
When you say "corrupted my rom", you can't boot your device but you can still go to dl mode, correct?
"functional ROM" is the fw/md5 file we usually flash via odin/heimdall?
I'd like to try this out (& then some...) but, in the absence of a custom recovery, I don't wanna have to go through the lengths of "resurrecting" my sgp. TIA!
maxq1 said:
from OP
Two things, if you please:
When you say "corrupted my rom", you can't boot your device but you can still go to dl mode, correct?
"functional ROM" is the fw/md5 file we usually flash via odin/heimdall?
I'd like to try this out (& then some...) but, in the absence of a custom recovery, I don't wanna have to go through the lengths of "resurrecting" my sgp. TIA!
Click to expand...
Click to collapse
In my case, it couldn't boot beyond the samsung start up screen, but I can still boot into download mode. Since we are only modifying a file within the file system, it is very unlikely that it will destroy the download mode.
If you can get to download mode, you can flash one of the firmwares you found in this forum using odin. You need to be sure you have the correct firmware for your device though, because there are so many variant of Galaxy Player. What is the version of your device?
nvm that (i was thinking on the same lines too though) but thanks anyway! appreciate it.
thanks to your guide, was able to change my fonts and added that flying in pop up animation as well. for these two, however, i don't think we need the kitchen though and for that matter, we don't need to modify systemui & twframework.
for fonts (you could use font changer apps, but i hate doing so for such things), take any you fancy from anywhere here in xda (WARNING: only extract the downloaded file to your device/pc) then rename (case sensitive) font files accordingly: Clockopia.ttf, DroidSans.ttf, DroidSans-Bold.ttf. copy these to sd & push to /system/fonts/ using similar cp command/s from OP.
for pop up animation, you could follow this guide. no need to sign after replacing files in /res/anim. copy modded framework-res.apk to sd then push to device via same commands in OP.
btw, wouldn't issuing "reboot" within adb shell be more convenient & safer after changing system files while booted to android? it's what i did instead of rebooting via power button, as you'll most likely see an FC fiesta after replacing these files.
maxq1 said:
nvm that (i was thinking on the same lines too though) but thanks anyway! appreciate it.
thanks to your guide, was able to change my fonts and added that flying in pop up animation as well. for these two, however, i don't think we need the kitchen though and for that matter, we don't need to modify systemui & twframework.
for fonts (you could use font changer apps, but i hate doing so for such things), take any you fancy from anywhere here in xda (WARNING: only extract the downloaded file to your device/pc) then rename (case sensitive) font files accordingly: Clockopia.ttf, DroidSans.ttf, DroidSans-Bold.ttf. copy these to sd & push to /system/fonts/ using similar cp command/s from OP.
for pop up animation, you could follow this guide. no need to sign after replacing files in /res/anim. copy modded framework-res.apk to sd then push to device via same commands in OP.
btw, wouldn't issuing "reboot" within adb shell be more convenient & safer after changing system files while booted to android? it's what i did instead of rebooting via power button, as you'll most likely see an FC fiesta after replacing these files.
Click to expand...
Click to collapse
Theses are good suggestions, will definitely give them a try.
As for changing system fonts, I like to use the Font Installer app on the market
https://market.android.com/details?id=com.canvs2321.font_installer&hl=en The nice thing is I can preview the fonts before changing them.
As for the reboot, actually I did try using the reboot command once but it toasted my rom on that occasion. That's why I didn't mention the method in the guide. May be I should give that another try next time.
Hopefully, we will get CWM soon then it will be much easier to flash these mods.
WT Ho said:
I think the accuracy of the battery level is deeper down in the system, may be in the kernel?
If you try different types of battery widget on Galaxy Player, they all have very bad accuracy.
Click to expand...
Click to collapse
Kernel battery driver is very simplistic and only has 5% increments in the numbers it returns.
On my list to look at once I finish CWM - no guarantees.
thhhhhhhhhhhhhhanxx

[Q] APK Creation

Well as many of you know we're over most of the hurdles we needed to jump with the CM7 build for Nook tablet.
Updates for the internal version are simple via CWM, the SD version is not so simple of course.
I'm assuming that it should be possible to built an APK that gains superuser permissions then copies the new files to the system. Can anybody confirm this is possible please?
We need to know that we can tell our SD user that they can update their version just as easy as the internal user
Thanks in advance for your help again everyone!
Well presumably this is how ROM Manager and Metamorph both do their thing, just in a slightly more round about way (as they don't come with the files they need to copy). I'm almost 100% sure this is possible, but I've never tried it personally.
EDIT: Looks like this is how you'd do it: http://developer.android.com/reference/java/io/File.html. Specifically the renameTo() method.
CelticWebSolutions said:
Well as many of you know we're over most of the hurdles we needed to jump with the CM7 build for Nook tablet.
Updates for the internal version are simple via CWM, the SD version is not so simple of course.
I'm assuming that it should be possible to built an APK that gains superuser permissions then copies the new files to the system. Can anybody confirm this is possible please?
We need to know that we can tell our SD user that they can update their version just as easy as the internal user
Thanks in advance for your help again everyone!
Click to expand...
Click to collapse
Well there are about a dozen ways to do this. First of one of the hardest things is comming up with the commands/script. I can defiantly do this. If you want an apk, there are a few guys whom could port my script to an apk. I'm going to make a script here that will format, and create partitions and extract directly from the nook, no need to go through the fancy formatting and such, just go into terminal and run the script. Ill post a prototype for you to have the testers test!
Do you think something like BacksideUpdater inside custom ROM for LG Optimus V?
made by JerryScript
JerryScript i very nice guy, I bet if you ask him, he will let you play with his code
if is it what you looking for
Yes, this is possible. I wrote an app that flashes the recovery partition for my older Froyo phone in the very rudimentary Basic4Android. Copying files under root privileges was part of this process. Fairly easy if you find the right coding examples in whatever your development platform of choice.
xdajunkman said:
Yes, this is possible. I wrote an app that flashes the recovery partition for my older Froyo phone in the very rudimentary Basic4Android. Copying files under root privileges was part of this process. Fairly easy if you find the right coding examples in whatever your development platform of choice.
Click to expand...
Click to collapse
So one of the problems is its not really copying. Its more of an extraction from one place to another. We are required to use dd, and fdisk(for formatting).
GREAT! I was worried updates would be to complicated for people
Sent from my Nook Tablet using xda premium
... and I was worried that I might have to wipe my NT clean again to get the updates. After a week with this wonderful upgrade, I've got a LOT of customization I don't want to lose...
Whoops, wrong button with the thanks. Anyway, it occurs to me you could just have people run a script from a terminal emulator. That would probably be the simplest way to do it. Make an Update folder on the SD card, add it to the PATH by default, and users could just copy over the update files and run the script. Just a thought.
Sycobob said:
Whoops, wrong button with the thanks. Anyway, it occurs to me you could just have people run a script from a terminal emulator. That would probably be the simplest way to do it. Make an Update folder on the SD card, add it to the PATH by default, and users could just copy over the update files and run the script. Just a thought.
Click to expand...
Click to collapse
Has to be simple, something like copy an update.zip onto the SD card then run the apk which will automatically run the update in the zip But my knowledge of such things is limited so I need help there
Same process. With the above method, the user would only have to copy over the file, open a terminal, and type 'update'. With the apk idea you just have to add a little more time for someone to actually write the app (not that it would take too long).
Sycobob said:
Same process. With the above method, the user would only have to copy over the file, open a terminal, and type 'update'. With the apk idea you just have to add a little more time for someone to actually write the app (not that it would take too long).
Click to expand...
Click to collapse
Hmm.... that sounds good.
Anybody know how to actually implement it ?
Dammit, idk why I keep hitting the thanks button thinking it's reply >.>
Anyway, it's just a matter of setting the PATH variable to include /sdcard/Update/ or something similar. To make an actual update, make a folder called Update, fill it with all the files that need to be copied over (probably in a directory structure), and write a script that actually copies everything over. You'll need to make sure sh is in /system/bin (I think it is by default).
You could zip the the files as well, using gunzip (busybox?) to extract them before copying them, then deleting them when you're done, just to keep it cleaner for the user.
The only downside to all this is that I don't know how you would flash a kernel.
Sycobob said:
Dammit, idk why I keep hitting the thanks button thinking it's reply >.>
Click to expand...
Click to collapse
That makes two of us!
Sycobob said:
Anyway, it's just a matter of setting the PATH variable to include /sdcard/Update/ or something similar. To make an actual update, make a folder called Update, fill it with all the files that need to be copied over (probably in a directory structure), and write a script that actually copies everything over. You'll need to make sure sh is in /system/bin (I think it is by default).
You could zip the the files as well, using gunzip (busybox?) to extract them before copying them, then deleting them when you're done, just to keep it cleaner for the user.The only downside to all this is that I don't know how you would flash a kernel.
Click to expand...
Click to collapse
I'm guessing you'd just flash it as usual, surely that one is the easiest? Copying stuff to boot partition would hopefully be just as simple, I was mainly worried about updating system files. I could do with building one for the current update to test the theory!

Borrowing bootanimation.zips from the Galaxy Nexus..

So I wanted an appropriately shiny boot animation for my newly Fresh-rommed Evo, and I found this page:
http://droidmodderx.com/galaxynexus/how-to-install-100s-of-bootanimations-for-your-galaxy-nexus (Full of previews, will bog your computer down!)
That phone has the same screen resolution, 720 x 1280, so most of these seem to work for me. I didn't bother with flashing them from recovery, as the bootanimation.zip file can be easily extracted and placed in /system/media using Root Explorer. Your mileage may vary. I am using Spyro at the moment, nice ICS-ish colors.
SOME of them did not work, or rather they worked, with intermittent flashes of a white screen..I am not sure but suspect it's something to do with frame rate? Anyone?
Updates.................
Directories: Your individual rom maker may have put the animation package in one of several locations. These include:
/system/media
/system/customize/resource
/data/local
I have seen still other locations used on my old EVO 4G (and new roms are coming out all the time), so if you just cannot find anything, try doing a search for 'animation.zip' from the root level, with your file browser.
Filenames: Your rom maker may have used one of several slightly different name variants for the bootanimation.zip package; it really depends on what they started out with as a base. Sense-based roms, for example, will tend to change things up. You might have an 'HTC_bootup_one.zip' instead of a 'bootanimation.zip'. You can't go wrong by naming your new package the exact same thing, and putting it in the same folder. (BUT you also have the option of deleting all oddly named animation packages you find in odd locations on your phone, and just using the standard 'bootanimation.zip' and putting it in /system/media. This is the Android standard location, and it will almost certainly look there if it can't find it elsewhere. Note that if you do this and fail to find and delete the other package, it will still use the other instead.)
Permissions: You shouldn't need to change permissions on the package file, at least that's never been an issue for me. If you are having problems there, I'd suggest trying the standard 644 setting one usually finds in the system folder, or RW-R--R--. (As long as the file is Readable by the owner, I would think that it would work.)
I can't delete or change these files! You may be using ES File Explorer, which is not the easiest app to drive. It requires root permission being set in its settings, and if you don't do that, hilarity can ensue. (I again recommend Root Explorer by Speed Software, which is not free but gives the most straightforward file browsing experience you can imagine, a big plus if you're new to rummaging around in your phone's innards!)
You absolutely cannot play with this stuff without root, so don't even try, okay? And when you want to change anything in a root-level folder, you will need to remember to set that folder RW (read/write), and then remember to set it back to RO (read only) when you are done, yes? You smart folks already know these things, I just want to make this post as complete as possible.
But I need MORE animations! I found the link above by googling 'bootanimation.zip 720x1280' so have at it!
If you've any more questions, please ask..
Worked great for me, thanks!
-Mike
What about activating sound?
Purest said:
What about activating sound?
Click to expand...
Click to collapse
Well, if you want sound and the animation doesn't include it, it is possible to add any fairly short sound in .ogg format to the same /system/media folder, and call it with an edit to the bootanimation.zip file. (You'll need to call it from the desc.txt file inside the zip.)
Say you have a sound picked out and converted, and it's called evoboot.ogg. Your desc.txt will need to include the line:
s evoboot.ogg
There are some tutorials on building these animations from scratch, if you look around on here, like http://forum.xda-developers.com/showthread.php?t=1420991
Sent from my EVO using xda premium
You can also use this guide
http://forum.xda-developers.com/showthread.php?t=1321360
Sent From My Sweet Ass EVO LTE
I have been wanting to change Boot Animations - and I have done it on other phones and ROMS I have used - but I am a little confused - I went to my system/media folder and there isn't a boot anmiation file in that folder now - The Rom I am using (Charmeleon or something like that) has a boot animation of some kind - but it must be in a different folder - any suggestions?
mocsab said:
I have been wanting to change Boot Animations - and I have done it on other phones and ROMS I have used - but I am a little confused - I went to my system/media folder and there isn't a boot anmiation file in that folder now - The Rom I am using (Charmeleon or something like that) has a boot animation of some kind - but it must be in a different folder - any suggestions?
Click to expand...
Click to collapse
I use the same rom. The file is in system/customize/resource. You have to rename the bootanimation to hTC_bootup_one.zip. Also don't forget to make the permissions match.
I am very much looking forward to trying some of these out tomorrow when I get off of work!! I've read through the two guides on making your own and implementing your own sound files. These sound very exciting as well, but I feel they are over my head still. I am going to pace myself a bit and wait to try them.. but soon I will try.. But for now there are just so many to choose from.
ducky1131 said:
I use the same rom. The file is in system/customize/resource. You have to rename the bootanimation to hTC_bootup_one.zip. Also don't forget to make the permissions match.
Click to expand...
Click to collapse
Could you expand on how to make permissions match. I found two files in that directory that has me confused. One is hTC_bootup.zip and one is SPC_bootanimation.zip. Which do I change? Also it seems that I can't delete the spc one to put the zip I downloaded in its place. Am I making this harder than it really is?
Sent from my htc_jewel using xda premium
MRBULLRED said:
Could you expand on how to make permissions match. I found two files in that directory that has me confused. One is hTC_bootup.zip and one is SPC_bootanimation.zip. Which do I change? Also it seems that I can't delete the spc one to put the zip I downloaded in its place. Am I making this harder than it really is?
Sent from my htc_jewel using xda premium
Click to expand...
Click to collapse
Got it. Thanks.
Sent from my htc_jewel using xda premium
MRBULLRED said:
Got it. Thanks.
Sent from my htc_jewel using xda premium
Click to expand...
Click to collapse
Got what? Can anyone elaborate?
I'm wanting to know this too, because I tried some other boot animations from an HTC ONE series phone, and it didn't work.
These were mentioned here on the boards earlier, and I tried to use a flashable "beats" BA, but it did not work. Also tried the "suckerpunch" BA manually by going into system/customize/resource, and THAT did not work either.
A guide would be greatly appreciated, and a sticky should be made for boot animations, as well as splash screens.
mcwups1 said:
Got what? Can anyone elaborate?
I'm wanting to know this too, because I tried some other boot animations from an HTC ONE series phone, and it didn't work.
These were mentioned here on the boards earlier, and I tried to use a flashable "beats" BA, but it did not work. Also tried the "suckerpunch" BA manually by going into system/customize/resource, and THAT did not work either.
A guide would be greatly appreciated, and a sticky should be made for boot animations, as well as splash screens.
Click to expand...
Click to collapse
Where did those animations come from that you mentioned? Cause i doubt the names are correct for this phone
Sent From My Sweet Ass EVO LTE
Okay. First go download the boot animation that you like from:
http://tinyurl.com/co9ulfv Not sure if you can post the full links here but at least this one is clickable?
(One of the bootanimations I clicked on was bogus so use your brain. The next three brought me right to the file download without visiting a website first.) Then go into ES file explorer and go into settings and make it writable by placing a check next to Root Explorer and Mount File System. Next I found the downloaded file and clicked into it and clicked Data then local and found the actual boot animation zip and copied it to the root of the SD card so it would be easy to find. After that I renamed that file to SPC_bootanimation.zip. Now you go into system/customize/resource and delete the file labeled as SPC_bootanimation.(I saved a copy first and this must be done before you copy the file you're pasting in there. Don't know why but once I copied I couldn't delete the stock _bootanimation.zip file). Then I went back to the sd card and copied the renamed SPC_bootanimation file and pasted it in the resource directory where i deleted the original. Bingo, reboot and you will see your new animation. I did all of these steps in ES File Explorer.
Your folder may be in system/media depending on which rom you're using. I am on stock/ ultra smooth lscape Rosie by flex360.
P.S. the way I was messing up first was I was trying to rename the file I downloaded to spc_bootanimation not the bootanimation.zip file located inside of that original download in the Data/Local directory.
Also, I'm not an English major by any means, so if something is spelled incorrectly or the proper grammar wasn't used, sorry. I'm not looking for a lesson just looking to help out. heck if it's bad enough, just click on the donation tab next to my name and maybe I can afford some classes.
I'm using the bluplazmall boot animation. Looks really good.
http://gunnermike53.com/Themers/jaekar99/Galaxy-Nexus-403/BluPlazmaII-403-Nex.zip
I updated my post, does it answer your questions? If not, or if you would like to correct a point, let me know.
dased14 said:
Where did those animations come from that you mentioned? Cause i doubt the names are correct for this phone
Sent From My Sweet Ass EVO LTE
Click to expand...
Click to collapse
they are correct when your running a one x rom port. thats what hes referring to joelz rom.
thanks, I can't stand the stock animation and haven't found much so far for the EVO LTE. Lots of stuff out there for the G Nex!!
what you looking for?
Ok maybe I'm just retarded, or just a little rusty on my adb. Tried this in RootExplorer, didn't work. Tried it using adb, didn't work either. It's saying /system is mounted as Read-Only. I tried an app called SUFBS and made sure that it was mounted as Read-Write, and it failed. In adb, I'm navigating to the correct folder, "adb devices" to make sure it's showing up, "adb remount" which is succeeding, then "adb push SPC_bootanimation.zip /system/customize/resource/" and it's giving the Read-only error. I'm running ViperRom 1.2.1 and am S-Off. Anybody got any pointers? Oh and btw, I did extract the bootanimation.zip from the .zip file I downloaded from the website in the op.
I am curious what root explorer is saying when in that directory..does the button at the top allow you to set it RW?
It's not showing an icon for rw or anything. May be a different, crappier version? It's the one that came with ViperROM. That SUFBS app is very similar, and I chose rw in it, found the bootanimation.zip file on my sd card, moved it to /system/customize/resource, and it showed it moving the file, but it never showed up.
Edit: It's RootBrowser. Nonetheless, SUFBS is essentially the same thing. I'm curious though why I can mount as read-write in that app, yet adb says its read-only.

Categories

Resources