Related
Once you a custom rom installed is it possible to install a custom font to your phone?
I've been able to change all my icons with bettercut just want to change the system font now
Sent from my HTC Desire using XDA App
Me too please. I would love to change my system fonts. Just a little bigger
If you are rooted, you can do this if you are familiar with adb commands. The commands would be something similar to this and would be executed while in Recovery Mode with USB connected:
adb shell mount /system
adb shell rm /system/fonts/(font name)
adb push (font name) /system/fonts
adb shell remount
adb shell reboot
Sent from my HTC Desire using XDA App
Thanks Masdroid. I am rooted but not familiar with adb commands. Would you be kind enough to expand a little. I am using windows vista 32 and phone is defrost 1.6
duryard said:
Thanks Masdroid. I am rooted but not familiar with adb commands. Would you be kind enough to expand a little. I am using windows vista 32 and phone is defrost 1.6
Click to expand...
Click to collapse
If you are running Windows, you need to first make sure that you have the Windows Android SDK (http://developer.android.com/sdk/index.html) downloaded and extracted to your computer, use the following path to extract it: C:\android-sdk-windows.
Next, download and place the selected font files to the root of your C: (e.g. C:\[font name])
Then, switch off your phone and boot to Recovery Mode. Once booted into Recovery Mode, first perform a Nandroid backup which you can restore afterwards if anything happens to go wrong. Now, while still in Recovery Mode, open a separate command-line window and then type: cd C:\android-sdk-windows\tools, press enter.
Now type the following commands in adb and hit enter afterwards to execute:
adb shell mount /system
adb shell rm /system/fonts/[font name]
adb push [font name] /system/fonts
adb shell remount
adb shell reboot
The default system fonts that the Desire uses are:
DroidSans.ttf
DroidSans-Bold.ttf
DroidSansMono.ttf
etc. I had some other font (I forget, let's say Helvetica for fun):
Helvetica.ttf
HelveticaBold.ttf
HelveticaMono.ttf
If you rename the Helveticas into the DroidSans names, back up the old fonts somewhere else, and then put your renamed fonts in the /system/fonts folder, it will work. Since we don't have /system write access while in the device, we can't tell Android to look at our different fonts while running - we just have to replace what's there.
I have attached a zip with random the font files I renamed. The non-mono fonts came from a font called Comfortaa; the mono is Vera Sans Mono. These are plug-and-play - back up your old versions of DroidSans.ttf, DroidSans-Bold.ttf and DroidSansMono.ttf and push these to your /system/fonts folder in their place. Replacing DroidSans.ttf pretty much updates everything in the system.
Thanks Masdroid
No worries bud.
Sent from my HTC Desire using XDA App
MasDroid said:
Now, while still in Recovery Mode, open a separate command-line window and then type: cd C:\android-sdk-windows\tools, press enter.
Click to expand...
Click to collapse
What do you mean open a separate command line window, open it where?
And do you know any sites or anything which convert fonts to .ttf?
While your phone is connected via USB and in Recovery Mode (green and black menu), simply open up another command prompt window (Start > Run > type cmd, press Ok). Access adb and execute commands.
Nope, not aware of any sites that convert fonts to .ttf - try Google or Bing
Sent from my HTC Desire using XDA App
did anyone manage to do this? is there not an app or something? like rom manager
Can you tell me how i can do this on mac osx snow leop?
I can't change fonts with root explorer so i want to try with another tutorial..
hello
I have a HTC desire
I am root and in recovery mode, I also copied that are interested in c: \annifont.ttf.
once in the cmd, I type the first line
"Adb shell mount / system" and enter all goes well. For the second,
"Adb shell rm / system / fonts / annifont.ttf" and it goes wrong, he said:
"Rm can not remove '/ system / fonts / annifont.ttf': No such file or directory.
Help, what is the problem??
i must rename the fonts
you can try this app, it's really easy
http://forum.xda-developers.com/showthread.php?t=618019
syfo said:
you can try this app, it's really easy
http://forum.xda-developers.com/showthread.php?t=618019
Click to expand...
Click to collapse
I just wanted to post this too
You have to download HTC Sync (because of the drivers) before you can use this suite on your desire
Hi ! I was trying to change the lockscreen font ( Clockopia.tff ) with Root Explorer ( just renamed the old one and placed another font there ( named Clockopia.tff ofc )), but it resulted in bootloop. So what am I missing here?
A little help would be apreciated! Thought I'd ask in this thread and not create a new one.
EDIT: Found a little program called Type Fresh, installed it to my Desire and changed the font. I was afraid the font was some way corrupted, but I guess not.
Hi guys I want to install keyboardmanager by installing from /sys/app try as I may i just can't move any apk into the root sys folder. Have read write permission in the folder but after paste or copy request the file remains on the sd. Can copy files from sd to /.
Have searched and searched but can't find out why I can move files to this path. I need access as would like to remove some stock apps also.
Rooted with evoke and am running a desire with cyanogen 6.1.0 stable and clockwork mod recovery 2.5.0.7
Any help would be much appreciated.
Q&ASent from my GT-P1000 using XDA App
Are you S-OFF?
If not you do not truly have RW access, just the appearance of it in File Explorer.
Try booting into recovery and using adb to move it, or go through the steps to S-OFF.
Try copying it to /system/app/
Not /sys/app/...wrong place.
Mercianary: I think he used sys as short for system.
To answer the question. The desire is nandlocked so even with root you can't write to system while it is booted. You need to hack the phone on bootloader level (get s-off) to gain this write access.
@cwakerly From what i understand, you are trying to install an apk from your sd card to /system/app while the phone is on and running? As suggested above, you cannot do this via a File Explorer app unless you have full root to the /system partition (S-OFF). Try it via ADB instead and follow these steps:
Perform a Nandroid backup first just incase anything were to go wrong.
1. You need to have USB Debugging enabled, HTC Sync and Android SDK installed (http://developer.android.com/sdk/index.html).
2. To get adb running on the Windows OS platform, for example, download & extract the Android SDK to the following path: C:\android-sdk-windows.
3. Turn on your phone and connect it to your PC via a USB port, and then boot into Recovery mode..
4. Instead of placing the apk onto the SD card, place it into C:\android-sdk-windows\tools in Windows.
5. Open command prompt and type cd C:\android-sdk-windows\tools, hit enter.
6. Type adb shell mount /system, then hit enter, to mount the /system partition.
7. Type adb push keyboardmanager.apk /system/app, hit enter.
8. Type adb reboot.
Let me know if that is what you meant and if it works for you.
Hey guys thanks so much for suggestions will try them and let you know if it works
Sent from my HTC Desire using XDA App
hi i have installed sdk, htc sync and java plug ins.
using command line when i try to run adb shell mount /system command i get the following error message:
'adb' is not recognised as an internal or external command. operable program or batch file.
any ideas what's happing here?
Have you navigated to the tools folder of the sdk?
Mine is C:\android-sdk-windows\tools
Yours maybe something similar....
Sent from my HTC Desire using XDA App
cwakerly said:
hi i have installed sdk, htc sync and java plug ins.
using command line when i try to run adb shell mount /system command i get the following error message:
'adb' is not recognised as an internal or external command. operable program or batch file.
any ideas what's happing here?
Click to expand...
Click to collapse
try it in smaller chunks, type adb shell, you will then get a # sign, now type mount /system
hi have navigated to tools folder of sdk, still the same error message. when i type adb shell i get the same error!
If you have latest sdk you need the "other" tools folder. I'm not at my pc so I'm not sure the exact name.
Sent from my HTC Desire using Tapatalk
if you haven't got it done yet use this update.zip
open the zip then put the apk you want to install in /system/app then zip it back up. it wont be signed so turn off signature verification in recovery before you flash it.
Hurray using the update zip worked!! Thank you everyone for your help on this
Have a great Christmas.
Craig
Sent from my HTC Desire using XDA App
No ADB knowledge needed. Just follow instructions.
1. Download mini-adb Here
2. Extract that and put it on your desktop.
3. Download original image file Here
4. Extract the image file using winrar, and put the extracted file onto your desktop.
5. Go into the extracted image file you extracted in step 4, and navigate to
Desktop\ota_odex_V1.1\system\app and find swype.apk.
6. Take the swype.apk, copy it, and paste it into your mini-adb folder you extracted in step 2. Put it here: Desktop\EZ-MiniADB\MiniADB. The folder should also have RunMe.bat and adb.exe, and also the newly pasted swype.apk
7. Go back into the extracted image file you extracted in step 4, and navigate to Desktop\ota_odex_V1.1\system\lib and find libSwypeCore.so
8. Copy and paste that libSwypeCore.so into the same folder you pasted the Swype.apk
9. Go download HTC sync and install it.
10. Plug your phone into the laptop and make sure debugging mode is on.
9. Now go to your mini-adb folder on your desktop and double click RunMe.bat
10. When the black command prompt window pops up, type the following:
adb remount [PRESS ENTER]
adb push libSwypeCore.so /system/lib/ [PRESS ENTER]
adb push swype.apk /system/app/ [PRESS ENTER]
11. Unplug your phone, and you are done! You can set the option of using swype in your settings!
+1 Thanks if you got Swype Working
ADB KNOWLEDGE
Now that you used ADB to push the files, you can also use ADB to push other things to other places. Just make sure whatever you want to push is in the same folder as your RunMe.Bat....
or you could use the root explorer app and extract the files, move the files and install the apk from there... much easier and you dont have to use ADB
WarBird87 said:
or you could use the root explorer app and extract the files, move the files and install the apk from there... much easier and you dont have to use ADB
Click to expand...
Click to collapse
Quite frankly I never came across with a guide with your method. If you think your way is better, go make a guide for it. All the guides I came across didn't work for me except for this one, so that is why I made a guide.
I also found this .apk called Swype Restore in the Cyanogen forums.
http://forum.cyanogenmod.com/topic/...over-your-swype-after-installing-cyanogenmod/
Does the tutorial mentioned in OP require me to have this Cyanogen mod installed ? .. I just got a Desire Z about a week or two ago and I'm just running the default stuff and would like to just install Swype into that directly if possible ..
Or just sign up for the beta and install it...
Mnemoch said:
Or just sign up for the beta and install it...
Click to expand...
Click to collapse
If you take the effort to do it this way, you can always reinstall swype in like 3 seconds, beceause the apk and the lib file is already in ur mini adb folder.
Hi guys, my phone is rooted and works fine but still branded to three and the 3 bootloader annoy me. How can I get it off? Please help.
Sent from my Inspire 4G using XDA Premium App
change the bootanimation and downanimation zips found in system/customize/resource in the flashable rom's in the dev subforum.
open a command window and go to where android sdk tools are, or wherever an adb.exe is (in the tools you used to root for example)
put the bootanimation.zip file that you wish to use in the same folder that adb.exe is in.
Make sure usb debugging is checked under settings>applications>development and your dhd is plugged in and set to 'charge only'
Once you're in the path where abd is located in the command prompt
run the following commands to push the new bootanimation.zip
adb remount
adb push boot.zip /data/local/bootanimation.zip
adb reboot
your device will reboot and if its a proper format then you'll see the boot animation.
... or you can always change to a different rom
Hey guys this is a noob-friendly tutorial on how to deodex stock 4.3 Firmware on a locked bootloader. This tutorial is for windows only, im sorry, that's what i have.
Requirements:
1. A fully rooted xperia M.
2. Busybox installed
3. Winrar
4. A brain
5. Time and patience.
BEFORE WE START, MAKE SURE YOU HAVE INSTALLED BUSYBOX:
1. Go to playstore.
2. Search busybox
3. Download the one by stericsson, not busybox x, not anyother busybox. If you are using busybox x or something else. This app will replace the one you downloaded so do it anyway.
4. Open the app
5. Click normal install
6. After installation, reboot.
PART 1:
Here i will show you how to setup adb as a variable. This is NOT optional.
1. Go to this website: http://developer.android.com/sdk/index.html
2. Scroll down
3. Click download for other platforms.
4. Go to the sdk tools only list and download the zip for windows 32&64 bit. NOT THE EXE, THE ZIP.
5. After downloading is finished, right click on the file and click "extract files..."
6. Click the "C:\" directory and the extract.
6.1. Download this file: http://www.mediafire.com/?d5wj9bslikmf53d
6.2. Extract it into the root of the android-sdk-windows folder, in the "C:\" directory.
7. After thats done, Right click on "Computer" ("my computer" for windows xp)
8. Click "properties"
9. Click on the advanced tab
10. Click environment variables
11. double click on the text entry named "Path" in the lower list box
12. At the end of it, add: ";C:\android-sdk-windows\platform-tools" (without quotation marks)
13. Click on OK to exit out of the dialog
14. then OK again to get out of My computer's properties
15. Reboot computer.
PART 2:
Here i will show you how to deodex your firmware.
16. For both single sim download this: http://d-h.st/VWr
For C2004 download this: https://www.dropbox.com/s/90qbypc36kde8y9/deodex_c2004_dual.zip
For c2005 download this: https://www.dropbox.com/s/mkzfnt05vhwjcta/deodex_c2005__Latest.zip
17. Extract to anywhere, the file for you from the above links.
18. In the extracted folder open system
19. Take both app and framework folders and paste them onto your desktop.
20. Rename the app folder to done_app
21. Rename the framework folder to done_framework.
22. Connect your phone to computer via usb
23. Copy the done_app and done_framework folders to the root of your external sd card. So these files can be found at /ext_card/done_app and /ext_card/done_framework.
24. disconnect phone
25. On phone, go to settings
26. Click developer options
27. Enable usb debugging
28. Click revoke usb debugging authorisation, then ok
29. Connect phone to pc again
30. On pc, Click start
31. Click run
32. Type cmd in the box, then ok
33. A command prompt window should open up.
34. Type adb shell, and hit enter. If it says that your phone is unauthorised, then check your phone, grant the computer permissions to use adb.
35. Type adb shell and hit enter again if you got the unauthorised error. This should start daemon. If you didn't get the unauthorised error, dont type it again.
36. Now type these commands line by line, hitting enter as you type each line, NOT all of them at the one go. Copy and paste would be better than typing them.
su
stop
mount -o rw,remount /system
rm /system/app/*.odex
rm /system/framework/*.odex
cp /ext_card/done_app/* /system/app/
cp /ext_card/done_framework/* /system/framework/
mount -o ro,remount /system
reboot
39. When you're phone reboots itself, you will have a fully deodexed
Stock firmware.
TROUBLESHOOTING (MUST READ THIS!!!!) :
1. If you got an error like system is busy when typing in the second last command, wait a minute then retype it. If it happens again after you retype it then run the STOP command again and retry.
2. If settings app force closes after you deodex, download this on your phone: http://www.mediafire.com/?ygyuln0heu25qb9. Extract it using a file manager. In the extracted folder, open system then app then move all three files there to /system/app overwriting the old settings app. Set all three files' permissions to rw-r-r. Reboot. It should now work fine.
3. If any other of your apps give a force close, then uninstall and reinstall them. This is very unlikely though, none of your apps should give a force close error.
CREDITS: @paper13579 for creating this thread and editing the code a little bit. A big thanks to @gamer649 who showed me the method to deodex. @arshh19 for providing deodexed files for single sim. @stalin.sk2 for providing deodexed files for C2004 and C2005. @ansebovi for creating the moddified settings.apk
Sent from my C2004 using xda app-developers app
thks bro but one Mistake = brick So until ı hava à Lots öf money., i cant RİSK that.
...... Bull**** this SwiftKey Keyboard ı cant close auto Fix.
Sent from my C1905 using XDA Premium 4 mobile app
abuzer3 said:
thks bro but one Mistake = brick So until ı hava à Lots öf money., i cant RİSK that.
...... Bull**** this SwiftKey Keyboard ı cant close auto Fix.
Sent from my C1905 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Bro, i gave you this guide step by step, you don't need to figure anything out yourself. It's all done for you. It works, trust me, i used that exact procedure on my permanently locked bootloader and ut worked. Same for other people
Sent from my C2004 using xda app-developers app
Thanks for this thread it's very helpfull but It's not so noob friendly. ADB won't work with your setup guide because adb.exe is placed in different location. In my case proper location is: C:\adt-bundle-windows-x86_64-20140321\sdk\platform-tools but it's sdk version/os type related.
iks8 said:
Thanks for this thread it's very helpfull but It's not so noob friendly. ADB won't work with your setup guide because adb.exe is placed in different location. In my case proper location is: C:\adt-bundle-windows-x86_64-20140321\sdk\platform-tools but it's sdk version/os type related.
Click to expand...
Click to collapse
You downloaded the wrong package
Is you read it properly, you would have realised that this is what i wanted you to download it from here http://developer.android.com/sdk/index.html#download. Scroll down. Click download for other platforms. Scroll down to sdk tools only. Click the first windows zip package. It says all of that in the guide
Sent from my C2004 using xda app-developers app
paper13579 said:
You downloaded the wrong package
Is you read it properly, you would have realised that this is what i wanted you to download it from here http://developer.android.com/sdk/index.html#download. Scroll down. Click download for other platforms. Scroll down to sdk tools only. Click the first windows zip package. It says all of that in the guide
Sent from my C2004 using xda app-developers app
Click to expand...
Click to collapse
Yes, you're right. Sorry xD
iks8 said:
Yes, you're right. Sorry xD
Click to expand...
Click to collapse
No problem bro.
Sent from my C2004 using xda app-developers app
When i download the zip you said to download, there is no adb in folder \tools, just a txt file saying that adb has been moved to an other directory. Do you have a direct link where i could download the right zip ?
PS : Sorry for my bad english
krarche said:
When i download the zip you said to download, there is no adb in folder \tools, just a txt file saying that adb has been moved to an other directory. Do you have a direct link where i could download the right zip ?
PS : Sorry for my bad english
Click to expand...
Click to collapse
This is the .zip what you are told to download. I've just had a look in my SDK folder and it is the same, have you got a platform-tools folder?
No, no platform-tools folder
krarche said:
No, no platform-tools folder
Click to expand...
Click to collapse
Download the .zip I'm attaching to this post and then extract it in the root of the SDK folder. So you can choose between going to platform-tools and tools. Once you have done that edit the path so instead of it finishing with /tools it will finish with /platform-tools.
That worked ! Thanks for your help
krarche said:
That worked ! Thanks for your help
Click to expand...
Click to collapse
Not a problem, I have the entire ADT and SDK so I have every file Remember to hit the thanks button for me and paper13579.
Sorry, i just saw your comments. did i miss something in my guide that i should add?
Sent from my C2004 using xda app-developers app
paper13579 said:
Sorry, i just saw your comments. did i miss something in my guide that i should add?
Sent from my C2004 using xda app-developers app
Click to expand...
Click to collapse
In the zip you're saying to download in your guide, adb is missing in the folder \tools
Hi bro can make tutorial for unlocked bootloader to.thx
YsfIsma said:
Hi bro can make tutorial for unlocked bootloader to.thx
Click to expand...
Click to collapse
Bro there is already a tutorial for unlocking bootloader, here it is(for dual Sim) http://forum.xda-developers.com/showthread.php?t=2484622
For single sim- http://forum.xda-developers.com/showthread.php?t=2650510
Sent from my C2004 using Tapatalk
paper13579 said:
Hey guys this is a noob-friendly tutorial on how to deodex stock 4.3 Firmware on a locked bootloader. This tutorial is for windows only, im sorry, that's what i have.
Requirements:
1. A fully rooted xperia M.
2. Winrar
3. A brain
4. Time and patience.
PART 1:
Here i will show you how to setup adb as a variable. This is NOT optional.
1. Go to this website: http://developer.android.com/sdk/index.html
2. Scroll down
3. Click download for other platforms.
4. Go to the sdk tools only list and download the zip for windows 32&64 bit. NOT THE EXE, THE ZIP.
5. After downloading is finished, right click on the file and click "extract files..."
6. Click the "C:\" directory and the extract.
6.1. Download this file: http://www.mediafire.com/?d5wj9bslikmf53d
6.2. Extract it into the root of the android-sdk-windows folder, in the "C:\" directory.
7. After thats done, Right click on "Computer" ("my computer" for windows xp)
8. Click "properties"
9. Click on the advanced tab
10. Click environment variables
11. double click on the text entry named "Path" in the lower list box
12. At the end of it, add: ";C:\android-sdk-windows\platform-tools" (without quotation marks)
13. Click on OK to exit out of the dialog
14. then OK again to get out of My computer's properties
15. Reboot computer.
PART 2:
Here i will show you how to deodex your firmware.
16. For both single sim download this: http://d-h.st/VWr
For C2004 download this: https://www.dropbox.com/s/90qbypc36kde8y9/deodex_c2004_dual.zip
For c2005 download this: https://www.dropbox.com/s/mkzfnt05vhwjcta/deodex_c2005__Latest.zip
17. Extract to anywhere, the file for you from the above links.
18. In the extracted folder open system
19. Take both app and framework folders and paste them onto your desktop.
20. Rename the app folder to done_app
21. Rename the framework folder to done_framework.
22. Connect your phone to computer via usb
23. Copy the done_app and done_framework folders to the root of your external sd card. So these files can be found at /ext_card/done_app and /ext_card/done_framework.
24. disconnect phone
25. On phone, go to settings
26. Click developer options
27. Enable usb debugging
28. Click revoke usb debugging authorisation, then ok
29. Connect phone to pc again
30. On pc, Click start
31. Click run
32. Type cmd in the box, then ok
33. A command prompt window should open up.
34. Type adb shell, and hit enter. If it says that your phone is unauthorised, then check your phone, grant the computer permissions to use adb.
35. Type adb shell and hit enter again if you got the unauthorised error. This should start daemon. If you didn't get the unauthorised error, dont type it again.
36. Now type these commands line by line, hitting enter as you type each line, NOT all of them at the one go. Copy and paste would be better than typing them.
Su
Stop
mount -o rw,remount /system
rm /system/app/*.odex
rm /system/framework/*.odex
cp /ext_card/done_app/* /system/app/
cp /ext_card/done_framework/* /system/framework/
mount -o ro,remount /system
Reboot
39. When you're phone reboots itself, you will have a fully deodexed
Stock firmware.
TROUBLESHOOTING (MUST READ THIS!!!!) :
1. If you got an error like system is busy when typing in the second last command, wait a minute then retype it. If it happens again after you retype it then run the STOP command again and retry.
2. If settings app force closes after you deodex, download this on your phone: http://www.mediafire.com/?ygyuln0heu25qb9. Extract it using a file manager. In the extracted folder, open system then app then move all three files there to /system/app overwriting the old settings app. Set all three files' permissions to rw-r-r. Reboot. It should now work fine.
3. If any other of your apps give a force close, then uninstall and reinstall them. This is very unlikely though, none of your apps should give a force close error.
CREDITS: @paper13579 for creating this thread and editing the code a little bit. A big thanks to @gamer649 who showed me the method to deodex. @arshh19 for providing deodexed files for single sim. @stalin.sk2 for providing deodexed files for C2004 and C2005. @ansebovi for creating the moddified settings.apk
Sent from my C2004 using xda app-developers app
Click to expand...
Click to collapse
I did as indicated but I'm not getting through the Su command!
pedroj666 said:
I did everything you say but I'm not getting through the point 30!
I downloaded the SDK Tools Only for other platforms and platform-tools. Unzipped the sdk and moved the "android-sdk-windows" folder to the root of pc c: \.
After that unzipped platform-tools folder and moved into android-sdk-windows.
After that I went to "environment variables" and added the "Path" in the lower box the list you have indicated (C: \ android-sdk-windows \ platform-tools).
did the remaining steps in sony M but when I get to step 30 nothing appears on the pc!
Click to expand...
Click to collapse
Ok, first of all, don't quote the full thread from he OP. Second, step 30 is telling you to press start. What do you mean y don't know his to get past this step. It's as basic as it can get
Sent from my E15i using xda app-developers app
paper13579 said:
Ok, first of all, don't quote the full thread from he OP. Second, step 30 is telling you to press start. What do you mean y don't know his to get past this step. It's as basic as it can get
Sent from my E15i using xda app-developers app
Click to expand...
Click to collapse
Ya sorry xD!
I have noticed this but now my probelema is not this! I can not run the command Su. Give me the error "not found".