I saw a post earlier on G+ about the G2 and Roboto. Basically you can only use normal and bold; italic, bold italic, Roboto Light, Roboto Thin, and Roboto Condensed don't work. The weight also appears to be off.
I did some looking around and all the fonts are present on the system. I made a quick test app to compare the fonts on the G2 and Galaxy Nexus and set to figure out how to fix it.
It's pretty simple, just copy the system_fonts.xml file in the zip to \system\etc. You'll probably want to backup and/or rename the existing file first and give it the same file permissions. You'll need root and a file explorer that can mount system. Reboot and you should be able to see the changes.
I copied the file over to internal storage and used Total Commander to copy the xml file after renaming the original file.
The weight is still wrong but at least if the developer wanted to use Roboto and italics, you'll now be able to see italics.
If rooted, u can use jrummys font app, and install any font the app has, it replaces the roboto font in stock font settings....
Sent from my LG-D800 using XDA Premium HD app
@noll5326, thanks for sharing. I'm a fan of the 4.2 bold font hours/light font minutes clock and your tweak fixed this issue on my G2.
sent from my GN2 / GS4
If you want to fix the weight issues, you can download Roboto directly from Google. Just click "Download Roboto" and extract the zip, then copy to your phone. In adb you can do this:
Assuming you put the roboto files at /sdcard/roboto
Code:
su
mount -o remount,rw /system
cp /sdcard/roboto/*.ttf /system/fonts
This will overwrite the ones from the stock rom, so if you're concerned about that, you can make a backup first:
Code:
mkdir /sdcard/roboto-stock
cp /system/fonts/Roboto* /sdcard/roboto-stock
After that and using your modded system_fonts.xml, I have nice proper typography in the Play Store and other Holo apps.
Thanks!
Thanks for posting this, this was (oddly?) one of my bigger concerns in researching this phone. Will give it a try when I get it.
noll5326 said:
I saw a post earlier on G+ about the G2 and Roboto. Basically you can only use normal and bold; italic, bold italic, Roboto Light, Roboto Thin, and Roboto Condensed don't work. The weight also appears to be off.
I did some looking around and all the fonts are present on the system. I made a quick test app to compare the fonts on the G2 and Galaxy Nexus and set to figure out how to fix it.
It's pretty simple, just copy the system_fonts.xml file in the zip to \system\etc. You'll probably want to backup and/or rename the existing file first and give it the same file permissions. You'll need root and a file explorer that can mount system. Reboot and you should be able to see the changes.
I copied the file over to internal storage and used Total Commander to copy the xml file after renaming the original file.
The weight is still wrong but at least if the developer wanted to use Roboto and italics, you'll now be able to see italics.
Click to expand...
Click to collapse
sefnap said:
If you want to fix the weight issues, you can download Roboto directly from Google. Just click "Download Roboto" and extract the zip, then copy to your phone. In adb you can do this:
Assuming you put the roboto files at /sdcard/roboto
Code:
su
mount -o remount,rw /system
cp /sdcard/roboto/*.ttf /system/fonts
This will overwrite the ones from the stock rom, so if you're concerned about that, you can make a backup first:
Code:
mkdir /sdcard/roboto-stock
cp /system/fonts/Roboto* /sdcard/roboto-stock
After that and using your modded system_fonts.xml, I have nice proper typography in the Play Store and other Holo apps.
Thanks!
Click to expand...
Click to collapse
Thanks for this guys, much appreciated. I combined both of these procedures and now have all stock android roboto system fonts that render perfectly everywhere, most notably in the play store. FYI: I ended up just using root explorer to move both the xml file as well as all of the stock font files to the proper directories, changed permissions and rebooted. Good as gold :good:
Followed the instructions and now everything looks as it's supposed to!
DashClock now looks great.
Much appreciated indeed !! Thanks vm.
can someone make a zip
thanks in advance
Um... is pasting a couple of files really that big of a problem?
I reckon it can be made, yes... I might just give it a go.
EDIT: okay, here it is.
NOTE: I have not tested this and I don't know whether it works properly! I am not responsible if you mess up your system or your phone. Do a nandroid backup first!
Download from attachment or this link.
Thanks, this works great?
Sent from my VS980 4G using Tapatalk
robogo1982 said:
Um... is pasting a couple of files really that big of a problem?
I reckon it can be made, yes... I might just give it a go.
EDIT: okay, here it is.
NOTE: I have not tested this and I don't know whether it works properly! I am not responsible if you mess up your system or your phone. Do a nandroid backup first!
Download from attachment or this link.
Click to expand...
Click to collapse
didn't work for me really want this to work
Do it manually, then.
I've tried it manually and it just screws up certain screens. On the password entry when making a purchase in Play Store, you only see a corner of a huge letter where it tells you to enter your password and you can't see what you're typing at all. The Tasker app is really affected, with the preferences window being a complete disaster; the fonts are massive and spread out like crazy even though my phone is set to the smallest font size. There are several other places here and there where it really messes up too.
When it works, it looks great. But for the odd screen that it screws up, it's just not worth it. I'm glad I backed up the stock files first.
Yes, I put the xml file in /system/etc/ and downloaded the fonts from Google and put them in /system/fonts/. I changed all the file permissions. I rebooted and could see the font changes, but in some places the font was just way too large and the spacing between lines was huge. Perhaps the modified xml file still needs more tweaking.
Sevael said:
I've tried it manually and it just screws up certain screens. On the password entry when making a purchase in Play Store, you only see a corner of a huge letter where it tells you to enter your password and you can't see what you're typing at all...
Click to expand...
Click to collapse
can confirm all that was said above. there are small graphical glitches here and there too, like in gmail upon selection half of the bar up top gets colored blue, etc.
edit: just restored the backup and noticed gmail still does it, perhaps it's not font related and i just haven't noticed that before but it's definitely shouldn't be there.
http://i.imgur.com/mE7EnLW.png
apparently other phones (like HTC One) suffer from this bug too. does anybody know what causes this?
Try switching to another font and then back to Roboto. I had to do that to make it fully operational. But yeah, in a few places there are minor glitches and inconsistencies.
Anyone using this mod experiencing soft reboots?
No reboots... Worked flawlessly for me
Sent from my LG-VS980 using XDA Premium HD app
after playing around with different fonts i think i found a combination that works perfectly on our phones:
- download "stock Roboto fonts from the 4.3 base ROM" from here. strangely enough, i think those are stock HTC One fonts.
(original thread it was pulled from where you can find tons of fonts, mind you most of them wouldn't work correctly:
http://forum.xda-developers.com/showthread.php?p=45437057
the easiest way to check if the font is "working" properly is going to the Call logs screen and check the date stamp as it appears broken with some. thanks alex72 for the thread tip!)
- use "system_fonts.xml" from this thread
and done. light, condensed, bold, italic, everything seems to be working and without the issues in the usual places.
Fixing font without rooting
The above method worked perfectly. I did not want to actually root my phone and trip any root checkers, so I accomplished everything via a temporary root adb shell (IOroot ftw!).
The following was done on a stock AT&T D800 with OTA (D80010o).
Make sure to switch to another font in Display settings before attempting this.
Get root adb access. IOroot should be able to help you out with that. Make sure to end the batch script at the point it warns you, so as not to push SU and trip anything.
Make backups.
Code:
adb pull /system/etc/system_fonts.xml
adb pull /system/fonts
Move these someplace safe, just in case.
Unzip RobotoFont_G2.zip to directory with adb (repackaged using xml from first post, and Roboto font from HTC One 4.3 base ROM - mannequin's post)
Push new files
Code:
adb shell mount -o remount,rw /system
adb push system_fonts.xml /system/etc/system_fonts.xml
adb push ./fonts /system/fonts
Fix permissions and reboot
Code:
adb shell
cd /system/etc
chmod 644 system_fonts.xml
cd ..
cd fonts
chmod 644 *
exit
adb reboot
Related
i was just wondering if anyone knows a way to manually install more fonts on the vibrant.
I was wondering the same thing
Search for "FlipFont" in the market.
zinite said:
Search for "FlipFont" in the market.
Click to expand...
Click to collapse
appreciate it. will give it a shot. hopefully it works for non-root.
What if you want to use a font that flipfonts hasn't offered?
EDIT: NM got it, an app for Root users called Type Fresh can backup/ restore system fonts, and can install new fonts with proper permissions. Any TTF font file works, but picking ones that are designed for on screen viewing is best.
sent from my Samsung Vibrant
The_Chrome_Coyote said:
What if you want to use a font that flipfonts hasn't offered?
EDIT: NM got it, an app for Root users called Type Fresh can backup/ restore system fonts, and can install new fonts with proper permissions. Any TTF font file works, but picking ones that are designed for on screen viewing is best.
sent from my Samsung Vibrant
Click to expand...
Click to collapse
thanks! zinite and the chrome coyote
EDIT: i tried the app. i got to the point where i restart the phone but the new fonts do not apply. have you or anyone got this to work right on the vibrant yet? (the chrome coyote)
I tried it as well and also had no success. Font would not apply.
At least you Vibrant users got some "starter fonts" out of the box.
Captivates don't come with any besides the default.
I highly recommend the Helvetica Neue from the Market, btw, especially if you were fond of the Zune interface.
DJ! said:
thanks! zinite and the chrome coyote
EDIT: i tried the app. i got to the point where i restart the phone but the new fonts do not apply. have you or anyone got this to work right on the vibrant yet? (the chrome coyote)
Click to expand...
Click to collapse
creator2456 said:
I tried it as well and also had no success. Font would not apply.
Click to expand...
Click to collapse
Yes. I ran into this problem as well. You need to go to Settings and return your fonts to "Default" and reboot before you will see the changes.
The app works by replacing the default fonts, if the phone is already using a flipfont font then it wont work
The_Chrome_Coyote said:
Yes. I ran into this problem as well. You need to go to Settings and return your fonts to "Default" and reboot before you will see the changes.
The app works by replacing the default fonts, if the phone is already using a flipfont font then it wont work
Click to expand...
Click to collapse
I'll give that a try as it seems like a very reasonable reason why it wasn't working. Thanks for that.
Try my guide: http://www.xxthe3dmanxx.com/AndroidFonts/androidfont.html
It was written for the Moto Cliq but might work on the vibrant.
the3dman13 said:
Try my guide: http://www.xxthe3dmanxx.com/AndroidFonts/androidfont.html
It was written for the Moto Cliq but might work on the vibrant.
Click to expand...
Click to collapse
Just tried it. Did not work. Not sure if I did anything wrong, but I followed directions properly. Phone would not boot past initial Samsung Vibrant screen. Luckily I was able to ADB the .backup out and replace the original.
I just recently put this in the sticky in the general section. I listed the directory where to put the font, reboot, go to the settings and select the font, phone should reboot with the new font added.
I would LOVE IF you could test the directory for me. I bought helvatica through the system, do I think it's correct.
creator2456 said:
Just tried it. Did not work. Not sure if I did anything wrong, but I followed directions properly. Phone would not boot past initial Samsung Vibrant screen. Luckily I was able to ADB the .backup out and replace the original.
Click to expand...
Click to collapse
You need to adjust the permissions of the renamed font files to match the stock fonts or else you'll boot loop
sent from my Samsung Vibrant
The_Chrome_Coyote said:
You need to adjust the permissions of the renamed font files to match the stock fonts or else you'll boot loop
sent from my Samsung Vibrant
Click to expand...
Click to collapse
Ok...I followed the directions and did as they said. So, how does one go about doing this?
I use Root Explorer, as its one of the easiest ways to move system files around your phone.
To save you time looking in /system/fonts the permissions are:
User: Read-Yes, Write-Yes, Execute-No
Group: Read-Yes, Write-Yes, Execute-Yes
Others: Read-Yes, Write-No, Execute-Yes
Using Root explorer, you can navigate to your renamed DroidSans.ttf and DroidSans-Bold.ttf files, long press on them and select "permissions", then make sure the permissions match the stock font's listed above.
I cant express how effective the Type Fresh App was in doing this for me, and saves me a whole ton of hassle renaming everything. Plus its free.
The_Chrome_Coyote said:
I use Root Explorer, as its one of the easiest ways to move system files around your phone.
To save you time looking in /system/fonts the permissions are:
User: Read-Yes, Write-Yes, Execute-No
Group: Read-Yes, Write-Yes, Execute-Yes
Others: Read-Yes, Write-No, Execute-Yes
Using Root explorer, you can navigate to your renamed DroidSans.ttf and DroidSans-Bold.ttf files, long press on them and select "permissions", then make sure the permissions match the stock font's listed above.
I cant express how effective the Type Fresh App was in doing this for me, and saves me a whole ton of hassle renaming everything. Plus its free.
Click to expand...
Click to collapse
Thanks for that. Guess I'll give it a go again later today. I'll try Type Fresh again first, then move to doing it manually.
International Fonts
For more fonts and also international fonts, I did a tutorial on a Moto Droid couple months back, it should be exactly the same for "ROOTED" Samsung Vibrant:
http://nexusonehacks.net/android-hacks/droid-hack-how-to-install-thai-font-on-droid/
What I would like to know is how to write the AKP for flipfonts.
I wanted to pull one of the APKs from the Apps directory, but it seems to to work. I also tried making a backup of the APK with titanium backup, but the zip is empty. It seems the files are protected in some way.
I just wanted to take a look at the structure of the apk so I can use it as a template to create custom font APKs to side load.
If anyone can manage to make a backup of one of the flipfont APKs please explain how you did so.
I installed thai fonts by update.zip no root required.
I have made this theme and I think its not bad.
Feel free to try it out !
P.S. it only works correctly on Android 1.6 E10i/E15i firmware
Instructions :
1. Root is a must!
2. adb push framework-res.apk /sdcard/fr-black.apk
3. adb shell
4. su
5. mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
6. busybox cp /sdcard/fr-black.apk /system/framework/framework-res.apk
7. chmod 755 /system/framework/framework-res.apk
8. reboot your X10 mini
apps.zip has standard apps with HTC icons, extract them in /system/app/
If your phone gets stuck on booting after playing with framework or some other stuff, I've found a way to repair it without reflash :
restart phone, connect it to usb
in adb shell run rootshell command again to gain root (wise to keep it after rooting), the "su" won't work cause it depends on gfx libs and they are not started yet..
mount sdcard with this command : mount -t vfat /dev/block/mmcblk0p1 /sdcard
and put your backed files where they belong.
Good luck!
27/10/10 new version of my black theme for X8 (E15i) released.
25/09/10 Updated framework-res, some small details.
27/09/10 Added colourful theme, status icons are not b/w any more!
29/09/10 "Black" theme updated, now its more or less final!
07/10/10 Uploaded somewhat updated framework, not sure if its better or worse, so keeping the old one too. newframe.rar
P.S. don't forget to backup anything important to you, Sony Backup tool works pretty well btw.
screenshot^^?
Will it replace the default Blue theme or install as separate theme ?
Will it occupy additional Phone memory or replace Blue theme without consuming additional mem.
Lastly a screenshot please.
parthabhatta said:
Will it replace the default Blue theme or install as separate theme ?
Click to expand...
Click to collapse
It replaces it, but be careful. It's best to back up the default framework-res.apk just in case.
This looks very interesting. Pics would be very nice though ;P
Any way to do just the status bar?
Looks good. Any chance you could get rid of the remaining blue?
Thanks! I was getting really tired of the glaring blue. Much appreciated!
Eseb0 said:
It replaces it, but be careful. It's best to back up the default framework-res.apk just in case.
Click to expand...
Click to collapse
How to backup the Framework-res.apk?
parthabhatta said:
How to backup the Framework-res.apk?
Click to expand...
Click to collapse
Just copy it over to the SD card. This might work, but I've never tried it myself so not really sure.
su
cp /system/framework/framework-res.apk /sdcard/backup-framework-res.apk
If not, someone else already posted a copy of the original file in another thread anyway
pulpoff, great job
I like this Framework-res.apk ! (but also the grey one is not bad... boh are better than SE blue!!! )
unable to install...............its keep on saying busybox not found
cant install. it cant find the files or something..
im a noob so can you describe the1st steps more detailed>>?? please...
thanks
I like it thanks a lot!
nice
good work
tell me how compile framework-res.apk
i need edit framework-res.apk for translate for arabic language
i decompile and edit framework-res.apk but i can't compile file
can u help me
i use apkmanager 4.7
Nice Job man!
Looks great!!
Wow ! Very nice work !
Many thanks
I like the look of the theme, thanks! Is there a way to enter these commands on a macos system or is this only available via windows? I am on a trip for the next month and only have my macbook with me, no windows installed on this system yet.
pulpoff said:
I have made this theme and I think its not bad.
Feel free to try it out !
apps.zip has standard apps with HTC icons, extract them in /system/app/
Click to expand...
Click to collapse
The last step is optional and by "standard apps" you mean to say the default apps of X10 mini which have been modded with HTC icon. Isn't it?
BTW I have installed your theme. I find a small problem. In some screens a whitish font is displayed on whitish background making it difficult to read. Say, when I pull down the "Notification" screen the "Clear" button on top right is displayed with whitish font on whitish background. Is it a problem in my phone (should not be I think) or its general. If its general - can it be made more readable by darkening the font? I am talking about your first version. Meantime, it seems you have uploaded another modified version in which I don't know if you have taken care of this.
Anyway, yours is a very good attempt to change the theme. Thanks for your effort we have a option to go for a second theme.
Lastly, is there a way to keep multiple themes installed and select one as and when mood changes?
Installed it myself, looks awesome, just a few issues:
- A lot of buttons have dark backgrounds and dark blue text which is hard to read, like the Market Install, Open, etc buttons.
- The clear button is white text on a light grey background like the person above said, which is also hard to read.
- Tabs on apps look odd, for example the Dialer app has white icons on the light grey BG for the inactive tabs. Other apps like Nimbuzz have white inactive icons and black active icons, making both hard to see.
Great work though, I'm glad to be rid of that nasty blue ^^
What about RAM consumptions. It seems that this custom Black theme is consuming a bit more RAM than the default blue. ANy opinion on this.
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.
This version has no ATT, White notification text, fixed signal bars, and no FC's! Based on Adeo, so you keep the reboot functionality. This works for me on the new 1.5.2 SBF as well as Adeo. the "newbackup" framework apk is NOT deodexed, and from the new 1.5.2 SBF.
I still need to take new screenshots without the ATT and white notification text, but nothing else changed, so you should be able to use your imagination
New Black Browser (still unfortunately black text and a white text box until I can get apktool to actually build the browser apk).
For those who would like to know, I'm using Launcher Pro Plus, Light Grid LWP, and Beautiful Widgets with the small Super Clock and Simplicity theme with no background. Androdena weather icons.
If you want to revert, please follow the instructions with the framework-old and services-old files renamed to framework-res.apk and services.jar (remove .zip).
For the Black Browser, please just re-run with the backup browser apk.
To install the Browser, copy (cp) your current /system/app/Browser.apk to /mnt/sdcard, then adb push the downloaded apk to your phone in a directory of your choosing, and with root, run cp /path/to/Browser.apk /system/app/Browser.apk and reboot.
If you are deodexed, and you follow these instructions to a tee, there shouldn't be issues. No guarantees if not, though I'm running the new SBF non-deodexed, and no issues.
Here are modified instructions copypasta'd from Designgears (thanks man!):
First, Rename the downloaded services.zip to services.jar (due to xda's upload restriction on .jar files).
[/B]
run "Shell Root" from SuperOneClick, wait until it says you have root.
Enter adb shell from command line, You should have root(#) access:
adb shell
Mount the system directory as read/write:
mount -o rw,remount /dev/block/mmcblk0p12 /system
Make a new directory on /data for your framework file:
mkdir /data/framework
Exit shell:
exit
Then from the directory of the downloaded files, run:
adb push framework-res.apk /data/framework
adb push services.jar /data/framework
Enter ADB Shell:
adb shell
Copy your new files to their proper location:
cp /data/framework/services.jar /system/framework
cp /data/framework/framework-res.apk /system/framework
Reboot:
reboot now
Phone will flash a red led. Just let the phone reboot (it will take up to a minute, so just be patient!).
IF YOU GET ANY READ ONLY ERRORS WHILE INSTALLING, MAKE SURE YOU'RE IN A ROOT SHELL (IF NOT, TYPE SU), THEN RUN THE FOLLOWING BEFORE TRYING THE FAILED STEP:
mount -o rw,remount /dev/block/mmcblk0p12 /system
nice
i want it
but dammmn its alot of work
I think fastboot might be unnecessary, however for some reason, I've had the best results using super one click every time.
Really, it takes 5-10 minutes, and some copy pasting...I've already done the hard stuff.
Im planning on releasing a shell script to be run in the folder with the files on the phone with terminal emulator, but want to polish the theme a bit more.
Sent from my MB860 using XDA App
thanks, i'll be bookmarking this page for updates.
synergye, you can remove AT&T from the status bar if you change framework-res.apk/res/layout/status_bar.xml, and carrier length and padding to zero on line 5.
Also, the phone will reboot itself with the reboot now command, it just takes a bit (45-60 seconds). Do that instead of pulling the battery.
Good luck on getting the white text and removing AT&T from the task bar.
Can't wait
shawnbuck said:
synergye, you can remove AT&T from the status bar if you change framework-res.apk/res/layout/status_bar.xml, and carrier length and padding to zero on line 5.
Also, the phone will reboot itself with the reboot now command, it just takes a bit (45-60 seconds). Do that instead of pulling the battery.
Click to expand...
Click to collapse
Thank You very much Shawn! I'm going to change the original post, and remove ATT ASAP.
synergye said:
Thank You very much Shawn! I'm going to change the original post, and remove ATT ASAP.
Click to expand...
Click to collapse
Glad to help
Also, this theme won't mix with Adeo because of the reboot option it uses.
shawnbuck said:
Glad to help
Also, this theme won't mix with Adeo because of the reboot option it uses.
Click to expand...
Click to collapse
I'm actually using Adeo with it right now and still have the reboot option. I would assume this is because I modified the framework-res apk from Adeo.
Thats great, going to install this right now.
Shawn, I've tried droiddraw, microsoft's xml editor, excel, eclipse, wordpad, and notepad won't actually open the status bar xml. What am I missing?
It's a proprietary compiled XML format. To unpack it, you need to use apktool.
http://code.google.com/p/android-apktool/
Use:
apktool d framework-res.apk framework-res
apktool b framework-res.apk framework-new.apk
IMPORTANT:
Make sure you have the META-INF files inside the new apk. The easiest way of doing this is repacking the apk as something new, pulling out the compiled XML files, then adding them into the original apk.
On a side note, its nice to see an honest representation of what data connection the phone is getting.
I have a question. The data/framework folder we create, is there any reason why we cannot do it from a folder on our sdcard like how we pushed the deodex file over from designgears? Is this just your preference to have it in data or is it 100% required? Just curious cuz after we do all this we will have an empty data/framework folder just sitting there.
There's no reason it can't be in an already existing folder, or just data.
@Sean, thanks for the help, didn't know I'd be using apktool for that.
Sent from my MB860 using XDA App
synergye said:
There's no reason it can't be in an already existing folder, or just data.
@Sean, thanks for the help, didn't know I'd be using apktool for that.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Thanks. There is a minor typo in your instructions. You forgot a space between CP and / for the service.jar line. You will get a directory does not exist without that space
Copy your new files to their proper location:
cp /data/framework/framework-res.apk /system/framework
cp/data/framework/services.jar /system/framework
Copy your new files to their proper location:
cp /data/framework/framework-res.apk /system/framework
cp /data/framework/services.jar /system/framework
Some reason my signal icons are not showing up properly and stays on white even though i have full bars. also the signal part is still black
NguyenHuu said:
Thanks. There is a minor typo in your instructions. You forgot a space between CP and / for the service.jar line. You will get a directory does not exist without that space
Copy your new files to their proper location:
cp /data/framework/framework-res.apk /system/framework
cp/data/framework/services.jar /system/framework
Copy your new files to their proper location:
cp /data/framework/framework-res.apk /system/framework
cp /data/framework/services.jar /system/framework
Some reason my signal icons are not showing up properly and stays on white even though i have full bars. also the signal part is still black
Click to expand...
Click to collapse
Thank you for your correction.I believe this is because I replaced only one set of radio icons, so.if you're roaming, etc, they'll revert. Ill unify them later today. Also, the data portion stays white as if it's uploading and downloading until.it connects.
Sent from my MB860 using XDA App
Another note: after you push framework it will auto reboot, no need to enter in a command. So you push services.jar first, then push framework or else it will reboot before you can do it. Not sure if it will also auto reboot if you push services.jar, but it does with framework-res.apk.
I also noticed that graphics were replaced that were unrelated to the status bar such as graphics for various menu items and popups. It made them have white text on light grey background, which was hard to see. I went through the original framework and compared it with the gingerbread one and only moved over miles that were related to the status bar.
it looks better now, just missing the icons for the signal bars for normal state and also getting rid of the at&t text. Thanks for the mod!
@synergye
Would changing the images in the framework file work? Or would we need to take any special care? I mean, if we update the images only in the framework file and push that to our phone, would it work?
diablo009 said:
@synergye
Would changing the images in the framework file work? Or would we need to take any special care? I mean, if we update the images only in the framework file and push that to our phone, would it work?
Click to expand...
Click to collapse
yeah that's what i did too to replace the images that were misplaced. just change up the images in framework-res, then follow the directions in the OP to push it back in. i did it several times today.
you still gotta be wary of making your own though cuz some of the pngs are .9 extensions, those are tricky. but if you just copying and pasting images from other frameworks over, that should be fine.
NguyenHuu said:
yeah that's what i did too to replace the images that were misplaced. just change up the images in framework-res, then follow the directions in the OP to push it back in. i did it several times today.
you still gotta be wary of making your own though cuz some of the pngs are .9 extensions, those are tricky. but if you just copying and pasting images from other frameworks over, that should be fine.
Click to expand...
Click to collapse
I only want to change the status bar to something dark, and the battery icon to be one with numbers so I can take off the battery level app.
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