I'm trying to install Thai font onto my Desire.
Setup: HTC Desire w/Pays Desire 2.1 RockSolid v1.5 ROM
I'v tried 3 metods so far (see below):
Metod 1 & 2 results in the fonts going to /systems/fonts, while Metod 3 says allready exists (although does not list with 'ls'...). I also tried to copy the fonts to /systems/font (without 's' at the end).
In any case so far, I can't see thai font's while sms'ing / browsing.
And sorry, new poster, so can't link (but the below is easy to find with google, along with the fonts).
Anyone got any more ideas to how to get thai fonts (probably same with other fonts also), without going to froyo rom (I like sense ui 2.1 and no mic-echo...)
1) desire normal boot, and connect with adb-recovery.bat
adb remount
adb shell
cat /sdcard/fonts/DroidSans.ttf > /system/fonts/DroidSans.ttf
cat /sdcard/fonts/DroidSans-Bold.ttf > /system/fonts/DroidSans-Bold.ttf
cat /sdcard/fonts/DroidSerif-Regular.ttf > /system/fonts/DroidSerif-Regular.ttf
cat /sdcard/fonts/DroidSerif-Bold.ttf > /system/fonts/DroidSerif-Bold.ttf
cat /sdcard/fonts/DroidSerif-BoldItalic.ttf > /system/fonts/DroidSerif-BoldItalic.ttf
cat /sdcard/fonts/DroidSerif-Italic.ttf > /system/fonts/DroidSerif-Italic.ttf
reboot
2) same as 1) but from recovery
3) Terminal Emulator w/BusyBox
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# mkdir /data/busybox
# cat /sdcard/busybox > /data/busybox/busybox
# chmod 755 /data/busybox/busybox
# mkdir /data/local
# cd /data/busybox
# ./busybox –install
# cp /sdcard/fonts/* /system/fonts
You can run pushfonts.bat in attached file via recovery mode to push thai fonts.
Credit for someone in pdamobiz.com that I cannot remembered.
Felys said:
You can run pushfonts.bat in attached file via recovery mode to push thai fonts.
Credit for someone in pdamobiz.com that I cannot remembered.
Click to expand...
Click to collapse
using that zip file in recovery resulted in:
"E:No signature (52 files)
E:Verification failed
Installation aborted"
I might have done it wrong (installed as the zip file in recovery).
Anyway, I saw that this zip file contained more font files than the two other locations I have downloaded the thai fonts from. So I went to recovery and pushed all the font files manually to system/fonts (adb shell commands).
and now.....IT'S WORKING!!!!! thx
Hello all,
I've got a very similar problem. I would like to install Georgian font into my defrost 16c system. For example I got DejavuSans.ttf (from Dejavu project) and I've allready tried to push it into /system/fonts (in recovery mode ofcourse). Pushing went well... but after reboot, no luck. Appear squares not georgian letters.
Anybody have some Idea?
Sent from my HTC Desire using XDA App
alinuxos said:
Hello all,
I've got a very similar problem. I would like to install Georgian font into my defrost 16c system. For example I got DejavuSans.ttf (from Dejavu project) and I've allready tried to push it into /system/fonts (in recovery mode ofcourse). Pushing went well... but after reboot, no luck. Appear squares not georgian letters.
Anybody have some Idea?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Which recovery state you are in? If you still in red triangle screen, the push will not be succeed (yeah it still say in cmd that they already pushed file to phone). I have run AM recovery, and then pushed the font via adb and it works.
Make sure you have all fonts. First times I tried I was missing mono and callback font files of the Thai font files. Not sure if dejavu has those fonts. I did it successfully in recovery at Ted triangle.
Sent from my HTC Desire using XDA App
Felys said:
Which recovery state you are in? If you still in red triangle screen, the push will not be succeed (yeah it still say in cmd that they already pushed file to phone). I have run AM recovery, and then pushed the font via adb and it works.
Click to expand...
Click to collapse
I've tried as you said with AM Recovery, but I got the same result:
alinux$ ./adb-mac push /Users/alinux/Downloads/dejavu-fonts-ttf-2.31/ttf/DejaVuSans.ttf /system/fonts
786 KB/s (633604 bytes in 0.786s)
After reboot there is no DejaVuSans.ttf in /system/fonts directory.
What is recovery mode?
Is it required to root the phone prior to using the puchfont.bat utility?
Related
I've just got my hands on a HTC Hero (Orange UK) yesterday (from my brother, @smartbrain)
Here's how I was able to install Thai language fonts onto my Hero, step - by step.
It's really simple. (I did this on windows7 but xp should be the same)
1. First off, root your hero. I rooted my using Dayzee's instructions posted here.
http://forum.xda-developers.com/showpost.php?p=4257045&postcount=38
2. After you have your hero rooted. It's time to install the fonts.
(The process here is based on a post (installing Thai fonts and keyboard on HTC magic) by YSR on pdamobiz http://www.pdamobiz.com/forum/forum_posts.asp?TID=220019&PN=1 )
I believe the same process can be applied to other language fonts though I have not yet (and probably will never) test this.
To start the process you'll need these files.
DroidSansWithThaiFontsv1.zip These are the fonts we'll be using
3. Open up the command prompt (windows+R then type cmd and enter)
before installing the fonts you'll need to enable read/write in the system/fonts folder first.
go to the tools folder in your Android SDK using the command prompt (mine is J:\andsdk\tools)
type in
"adb shell"
"su" (If you've rooted your Hero properly, this should work and you should see a "#" sign, if it does not, go back to the rooting instruction by Dayzee in the link above.)
"mount -oremount,rw /dev/block/mtdblock3 /system" this is to make the system folder read / writable, then lastly.
"chmod 777 system/fonts/" (Yes, this is brutal, Do not forget to re-chmod this to chmod 755 when you're done. )
and you should be ready.
4. It's now time to push in the fonts.
Unpack the font pack in the link provided into the \tools\ folder and start another command prompt
point your location to the tools folder in your sdk and type in
"adb push DroidSans.ttf /system/fonts/DroidSans.ttf"
"adb push DroidSans-Bold.ttf /system/fonts/DroidSans-Bold.ttf"
"adb push DroidSerif-Regular.ttf /system/fonts/DroidSerif-Regular.ttf"
"adb push DroidSerif-Bold.ttf /system/fonts/DroidSerif-Bold.ttf"
"adb push DroidSerif-BoldItalic.ttf /system/fonts/DroidSerif-BoldItalic.ttf"
"adb push DroidSerif-Italic.ttf /system/fonts/DroidSerif-Italic.ttf"
5. Shutdown and re-boot your Hero. it should now be able to display Thai.
I haven't been able to get the keyboard to work yet. but I don't need that anyway so this is good enough for me.
Hope it helps.
sample picture
edit: I forgot the mount -oremount... command line, fixed it, shpould be alright now. Have fun with your Hero!
Hey, good stuff. On a parallel track, do you know how I can create a font pack with Arabic fonts?
copy fonts
Hi,
I rooted as you told. But when I tried to push fonts , I faced problem. The problem is after rooting i see "#" in CMD which then I could not copy fonts. The massage is the font folder in /system/fonts has not unblocked. Any idea ?
Many thanks
Many many thanks. Very well explained and it does exactly what I want. I can now read messages from Thailand!
you dont need to install all the fonts, all you need is a custom CID/default.xml
for example on my custom rom I have over 30 languages! no fonts needed!
just an FYI
Drizzy Drake Rogers said:
you dont need to install all the fonts, all you need is a custom CID/default.xml
for example on my custom rom I have over 30 languages! no fonts needed!
just an FYI
Click to expand...
Click to collapse
but original font not contain Thai language. Thai language is different from chinease that why we have to install them. I try custom lacale before and its not work for our language
chuti98 said:
but original font not contain Thai language. Thai language is different from chinease that why we have to install them. I try custom lacale before and its not work for our language
Click to expand...
Click to collapse
yea some fonts need change because the locale is not supportive to certain languages!
i have used CID all the time with filled fonts and works great, i dont use all languages so kinda hard to tell whats really supportive!
When I try to push the fonts in i get the following error msg "adb: not found.
I extracted the .zip file into c:\sdk\tools
please help.. what do I do?
Thanks
Can't push in the fonts
When I try to push the fonts in i get the following error msg "adb: not found.
I extracted the .zip file into c:\sdk\tools
please help.. what do I do?
Thanks
thanks,
how to make sure the browser is reading from /system/fonts directory?
Certain website says fonts to be copied to current user under .fonts directory.
Which is considered the user directory for android.
Hi there, This is for your information Highwind33
If you need you android to have Thai & English once you open it. there is a ROM which is for the East Asia and you could have it instead of what you are using now. i guess you are lucky.
I need Arabic & English and for the time being i find my Hero usless with out Arabic... I got tons of Test Messges and emails contacts in arabic.
this is the link. the one you need is:
SEA: (South East Asia)
RUU_Hero_HTC_Asia_SEA_WWE_2.73.728.5_release_signe d_NoDriver.exe
http://forum.xda-developers.com/showthread.php?t=559622
bye
assuming u are using Hero !
Are there anyone that could re-up the DroidSansWithThaiFontsv1.zip-files?
The link is broke!
Non existing fonts directory
Hi, I'm a little stuck.
I have rooted my phone and can see the /system directory but I have no /system/fonts directory. I tried creating one and pushing all the fonts into it. I could see the fonts in the directory before I rebooted the phone.
Once rebooted I still could not see thai characters on thai web pages. I went back in and checked the fonts directory; it was no loger there.
Please let me know what else I need to do.
Kind regards,
AD
P.S. I just relized (4am) the mount command failed but cannot figure out why or what to do to make it work.
Canno mount
Hi,
I'm trying to install Thai fonts nd get the following error when trying to mount:
/ # mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount: mounting /dev/block/mtdblock3 on /system failed: Invalid argument
/ #
Any ideas where I'm going wrong??
Rgds,
-----------------------------------------------------------------
Resolved just type in
"mount system" withouth al the other fancy parameters
Rgds
AD
DroidSansWithThaiFontsv1
Superbravo said:
Are there anyone that could re-up the DroidSansWithThaiFontsv1.zip-files?
The link is broke!
Click to expand...
Click to collapse
Yes I found it...
Thanks for the info, I'm learning to read Thai (slowly) and this will help a lot
Does anyone know why I can't see Thai as on option in Google Translate on the phone, seems to have Vietnamese, Chinese, Japanese etc but not Thai?
It's been over a year now, I'm currently running Villain6.2 ROM on my hero, with BFS. This method still works.
easiest way to install that fonts is to use android commander
no manual command input in console, just naviate to /system/fonts, delete existing files, copy new from ur computer, reboot and voila!
(eventually you can use for example SUFBS file manager, it have option to mount /system RW, and install that fonts without connecting to PC)
installing thai fonts was one of first things that i did after getting root (villain5.5), now i'm running villain6.2.1 and this method still works flawlessly.
also recommend free app from market "DroidSans Thai Keyboard", installs as additional keyboard witch both roman and thai chars, very nice design
Done similar via "Root Explorer"
Deleted old fonts,renamed new fonts to original and
copied from sdcard to the fonts folder at system!
Please help
when I type "chmod 777 system/fonts/"
I get the message "read only file"
Please let me know what I'm doing wrong
Hi, I admit that I have been taking stuff from the community such as the excellent modaco rom and the gold card method and other stuff without giving stuff back to the community. After 2 days of work, here is my contribution back.
As some of you may know, Modaco's rom and other methods have flawed HTC_CIMEs either not complete or glitchy. So here is a fix.
NOTE: DOESN'T WORK WITH THE CHINESE/EXTENDED ROM
Confirmed to work with modaco 2.6 and 2.7, should work with other roms as well.
1. Download and extract this package http://www.mediafire.com/download.php?gfwh1mhvtyk
2. Boot into recovery mode (home + power)
DO A NANDROID BACKUP just in case
3. Wipe (I don't think it works without it)
4. Install the CORE version of Modaco's rom (NOT the Chinese version)
5. Reboot Phone, then reboot into recovery mode
6. Install the update.zip that is in the package
7. Reboot Phone (Checkpoint : Check if there is chinese input installed and all chinese input options are available.)
Note: Steps 8 to 11 is to fix the input in the messaging app.
8. Navigate via Command Prompt to the extracted folder with the adb.exe
9. Type "adb remount"
10. Type "adb push system /system"
11. Type "adb shell reboot"
12. Enjoy
BTW : you will need to change your default input method
I know that everything can be put into an update.zip, if someone wish to, please do.
References
forum.xda-developers.com/showthread.php?t=512530 for the update.zip
I'm chinese,let me tell your guys who want to use modaco roms but don't like the ime what to do.
1.download "modacopatchedrecovery-1.0.zip", you'll find this useful file from this forum.unzip it to your hd(eg.d:\hero).
2.connect your phone with usb.not mount the sdcard.
3.use "cmd" from windows start menu then type:
Code:
d:[enter]
cd hero[enter]
adb devices [enter][this will show your connected hero phone]
4.when you connect your phone correctly.let us remove something:
Code:
adb shell rm /system/app/HTC_CIME* [enter]
adb shell rm /system/app/CN* [enter]
adb shell rm /system/app/HTC_IME* [enter]
*notice:this step will remove all your imes.
5.install the new ime.i suggest you use google pinyin and moto pinyin.you can find the google pinyin from market (keyword "google"),and you can use google.com find moto pinyin (keyword "moto text input").
6.install it with htc sync or sdcard.now you have the best chinese ime.
ps. I strongly suggest Paul to use "moto text input" instead of others for next chinese core version.
Application can use Chinese IME after re-installing HTC_CIME and HTC_IME (from Dream)
Hi!!!Thx Soooooooooo much! It's amazing using your update.zip, I was finding a solution to type in both CHT n CHS with Touch Input! Now it do works!!!! Thxx!!!!! Haha~~~
awesome. Now i can finally type in wubi instead of writing
it hangs on mcr 2.8
tianci86 said:
it hangs on mcr 2.8
Click to expand...
Click to collapse
I tested on 2.6, 2.7, 2.8 and 2.9
Which step did you encounter this?
Vener said:
I tested on 2.6, 2.7, 2.8 and 2.9
Which step did you encounter this?
Click to expand...
Click to collapse
after i rebooted, and try to set it under locale and text. then it was forced to close the app.
i didnt choose to wipe though. i'm afraid all my settings will be gone
Thank you so much! It would be perfect if there is Traditional Chinese input, is there a way to install it? SEA Hero stock rom does have Traditional Chinese input if im not mistaken.
tianci86 said:
after i rebooted, and try to set it under locale and text. then it was forced to close the app.
i didnt choose to wipe though. i'm afraid all my settings will be gone
Click to expand...
Click to collapse
I did the following:
1. A walk through follow the complete steps.
2. After reboot, same problem as u.
3. Follow step 1-7 again.
4. It works now.
P.S. I have never wipe anything. You do not have to wipe anything to make this update work.
ChiLam said:
Thank you so much! It would be perfect if there is Traditional Chinese input, is there a way to install it? SEA Hero stock rom does have Traditional Chinese input if im not mistaken.
Click to expand...
Click to collapse
Traditional Chinese is included, it is in the settings
ericlin0122 said:
I did the following:
1. A walk through follow the complete steps.
2. After reboot, same problem as u.
3. Follow step 1-7 again.
4. It works now.
P.S. I have never wipe anything. You do not have to wipe anything to make this update work.
Click to expand...
Click to collapse
tianci86 said:
after i rebooted, and try to set it under locale and text. then it was forced to close the app.
i didnt choose to wipe though. i'm afraid all my settings will be gone
Click to expand...
Click to collapse
If you are comming from the chinese ROM, I think you will need to wipe, if you are comming from the core rom, it should work.
Based on what you said, it is very possible that you typed the command wrongly.
Vener said:
Traditional Chinese is included, it is in the settings
If you are comming from the chinese ROM, I think you will need to wipe, if you are comming from the core rom, it should work.
Based on what you said, it is very possible that you typed the command wrongly.
Click to expand...
Click to collapse
Can't find it anywhere for pinyin input
ChiLam said:
Can't find it anywhere for pinyin input
Click to expand...
Click to collapse
I think you using the chinese version, it will not work with it.
unable to delete HTC_CIME
pper said:
I'm chinese,let me tell your guys who want to use modaco roms but don't like the ime what to do.
1.download "modacopatchedrecovery-1.0.zip", you'll find this useful file from this forum.unzip it to your hd(eg.d:\hero).
2.connect your phone with usb.not mount the sdcard.
3.use "cmd" from windows start menu then type:
Code:
d:[enter]
cd hero[enter]
adb devices [enter][this will show your connected hero phone]
4.when you connect your phone correctly.let us remove something:
Code:
adb shell rm /system/app/HTC_CIME* [enter]
adb shell rm /system/app/CN* [enter]
adb shell rm /system/app/HTC_IME* [enter]
*notice:this step will remove all your imes.
5.install the new ime.i suggest you use google pinyin and moto pinyin.you can find the google pinyin from market (keyword "google"),and you can use google.com find moto pinyin (keyword "moto text input").
6.install it with htc sync or sdcard.now you have the best chinese ime.
ps. I strongly suggest Paul to use "moto text input" instead of others for next chinese core version.
Click to expand...
Click to collapse
Hi Bro,
Had tried to used the rm but these files are read only , I use chmod in terminal also unable to change to writeable or to delete them. (btw I had root access)
potterang said:
Hi Bro,
Had tried to used the rm but these files are read only , I use chmod in terminal also unable to change to writeable or to delete them. (btw I had root access)
Click to expand...
Click to collapse
Ensure you have write permission on the directory before removing the files. Alternative, use root explorer and mount as RW before you remove the files.
Cheers.
CruiseMan said:
Ensure you have write permission on the directory before removing the files. Alternative, use root explorer and mount as RW before you remove the files.
Cheers.
Click to expand...
Click to collapse
Thks bro, found a easier way, just had to
adb remount /system [enter]
adb shell rm /system/app/HTC_CIME* [enter]
adb shell rm /system/app/CN* [enter]
adb shell rm /system/app/HTC_IME* [enter]
Just sharing, I am running the MCR 2.9. In order to use the Google Pinyin. This is what I do.
1. Backup only the HTC_IME.apk from /system/app to /sdcard
2. Remove all the IME from /system/app
3. Restart my HTC
4. Install Google Pinyin IME
5. Install back the HTC IME (from step 1).
Everything working perfectly now I think I am using the Google Keyboard instead the HTC bundled.
Cheers.
help...
does not work with modaco rom 3.0...
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,
I have my rooted htc desire with a custom rom (Oxygen).
I'm not able to change the fonts in /system/fonts. I used adb, but I get error!!
I tried this
> adb remount
> adb push ./DroidSans.ttf /system/fonts
> failed to copy './DroidSans.ttf' to '/system/fonts/DroidSans.ttf': Directory not empty
Any advise??
Try using absolute system.
But ADB thinks you're trying to move the font to a location that points to a file and not a folder, what I would do is
adb remount
adb push [drag the file into the terminal/cmd window, location will appear] /system/fonts/
and you're done.
It didn't work
I got the same error
sahaf525 said:
Hi,
I have my rooted htc desire with a custom rom (Oxygen).
I'm not able to change the fonts in /system/fonts. I used adb, but I get error!!
I tried this
> adb remount
> adb push ./DroidSans.ttf /system/fonts
> failed to copy './DroidSans.ttf' to '/system/fonts/DroidSans.ttf': Directory not empty
Any advise??
Click to expand...
Click to collapse
I did not go through all that drama, use an app called type fresh once rooted and i was gold!
just do a search "type fresh app" the first hit has details, sorry cant post links yet
I got this error message:
Error remounting
Could not remount /system
Any way,, I changed the fonts before flashing the rom to my phone & it worked with me
Many Thanks,,,
I use Font Changer.
It works like a charm!
If that helps. (I have to reboot each time i want to instal a new font and i use oxygen too).
I wanted to change my device model, so I copied build.prop from another mobile to my mobile. I am already rooted. But unfortunately I did not change the o.s. from gingerbread to froyo in build.prop ( I have android 2.2 FROYO) When I rebooted, there were many errors. It is now showing no sim card. Mobile network search gives error. Effectively, I can not use the mobile. Terminal emulator, X-plore etc. stopped working. Only Rom toolkit free version works and astro file manager works. Other programs are forcefully closed. Needles to say, I must replace new build.prop with new one.
Using adb I can only pull files but can not write as it is in read only mode.
adb root and adb remount works only if you are in recovery mode ? Y mobile does not have any custom recovery so when I boot in recovery mode it hangs.
Superuser has installed su in system\bin directory. But from adb shell I can use su also. It gives permission denied error. Hence I can not remount the system.
I have read similar threads and found that on some mobiles adb root or adb shell su works but on some not.
I am using Vista 32 bit with admin rights, still can not use root in adb.
Please tell me, how can I mount system read-write. I can not install root explore as google play and even internet is not working.
Please help.
maheshchavan said:
Using adb I can only pull files but can not write as it is in read only mode.
Click to expand...
Click to collapse
activate USB debugging then in console
Code:
adb shell
su
mount -o rw,remount /dev/block/mmcblk0p1 /system
adb push build.prop /system/build.prop
check where is your build.prop
ruscan.calin said:
activate USB debugging then in console
Code:
adb shell
su
mount -o rw,remount /dev/block/mmcblk0p1 /system
adb push build.prop /system/build.prop
check where is your build.prop
Click to expand...
Click to collapse
OMG ruscan.calin i COULD KISS YOU! I had tried to change my OG EVO 4G's buildprop file to another phone so that I could purchase & download an incompatible Google Play app. However after I restarted the phone wouldn't start! It would boot into my rooted HTC EVO 4G Android 2.3.3 and HTC Sense 2.1 but it would get stuck on the wallpaper with just the notification bar at the top and all buttons would be frozen. However I noticed when I plugged in my phone to my computer via usb the computer recognized it. I always keep my phone with USB debugging enabled so I thought I should be good right? I have spent the last 4 hours trying to install and setup adb with no real previous experience with it. I am familiar with dos from years ago and that helped me as it's basic procedure, commands, etc. Then I found out how to install the HTC drivers which I needed and then download the Android SDK with adb that's included which many guides show easily. I started the command prompt (cmd), typed my adb devices command and hurray it showed my phone! I connected and quickly navigated to the build.prop system folder! Luckily when I changed the file I made a bak backup and left it in the same folder. Now the main issue was figuring out how to change the naming of the files which I did via usual adb commands (mv build.prop.bak build.prop). But then to no avail I couldn't get it to write due to it being a system read only folder! Arg! Then I found your post on here, above, and typed it in simply leaving out the adb push portion and replacing that with the mv file command instead and first changing the name of the bad file and then replacing the bak file as the good copy! I exited back to the adb main and unplugged my phone. Moment of truth and man was everything flashing through my head at once! I booted up and YESSSSSSSSSSSSSS, it worked! I went back into root explorer and got rid of the offending leftovers and I've learned my lesson! I just don't want to think about what would have happened if I hadn't found this post. Thank you and if anyone else makes this hug mistake let me know and maybe I can help. Moral of the story don't mess with the build.prop or any system folder unless you know what you're doing! Thanks again!
Quick Guide to Fix Android "build.prop" Issues:
1. Find and download USB drivers for your phone by model or type (HTC EVO 4G's HTC Fastboot drivers): http://downloads.unrevoked.com/HTCDriver3.0.0.007.exe
2. Download and install Android SDK and choose adb: http://developer.android.com/sdk/index.html
Guide: http://htcevohacks.com/htc-evo-hacks/how-to-install-android-sdk-and-adb-drivers-for-htc-evo-4g/
3. Run a command prompt from the "c:/program files/android/android-sdk/platform-tools/" directory. I had to copy the command prompt to get it to open there but sometimes a right-click action will do it. The guide below will help just navigate down to "Using ADB" and skip the rest.
Guide: http://www.howtogeek.com/114667/how...y-default-move-almost-any-app-to-the-sd-card/
4. Once you open the command prompt and you're in the "c:/program files/android/android-sdk/platform-tools/" foler type "adb devices" and your device should appear. If it does move on to next step.
5. Then type adb shell and use the ls command to see directories. Then you'll need to navigate to the system folder by typing "cd system" and then type "ls" to look around in the directory (similar to "dir" in DOS). You should now see the bad build.prop file.
6. You'll need to rename the file or push a correct version. First you need to use the "adb shell" command again and then "su" and finally "mount -o rw,remount /dev/block/mmcblk0p1 /system" to make the directory writable (see ruscan.calin post above for additional info).
Note: I only had to rename my build.prop as I already had my old one in the same system folder. You may have to copy the bad build.prop to your computer, edit it and then push it back to the same system directory. These directions are only for renaming files in the same folder. For the info on how to copy the file to your computer and push it back to your phone go to step *10 below or use the guide below it.
7. I already had the bad build.prop in the system directory with my old one which I had named build.prop.bak. If you have this too simply rename by changing the name first of the bad file to anything by typing "mv build.prop build.prop.bad" or similar.
8. Next rename the build.prop.bak to build.prop by typing "mv build.prop.bak build.prop". Everything should go smoothly and move onto the next step.
9. Finally, If no error messages are found, simply type "adb reboot" or "adb shell reboot" (Depending which version of ADB you have). You should be done, your phone will reboot like normal (working, lol) and everything should be working again! YAY!
*10. To copy the build.prop to your phone type "adb pull /system/build.prop c:\" and the file should be placed in the main c:/ directory on your computer. Navigate to the root (c:/) directory and then right click and "open with" the "build.prop" file using a notepad or other file editor. Then use the text editor (Notepad, etc) to change back what you originally changed to mess everything up. There is tons of stuff on the net to let you know what to fill back in depending on your phone model/type. Or it's possible to get a previous version from an old Nandroid backup or similar. Save the changed text file and make sure its named the same "build.prop" and make sure it's still in the root directory (If you're having issues on this step or just want more insight check out the guides and threads below for more help).
Guide 1: http://androidforums.com/admire-all...p-computer-not-phone-using-root-explorer.html
Guide 2: http://www.modaco.com/topic/328943-quick-guide-to-modifying-buildprop-with-adb/
Guide 3: http://forums.androidcentral.com/sp...-replaced-build-prop-phone-wont-start-up.html
*11. We've already made the directory writable in step 6 so we simply need to push the file back to the phone. If any error message appear re-do step 6 to make writable again. Otherwise push the modified file back to the phone by typing "adb push c:\build.prop /system/". Back to step 9 above! Yay!
If anyone wants to help cleanup this quick guide or make any changes feel free. I just wanted something so that if anyone else has this issue they won't have to worry or search forever to find a solution. OMG it's 2:30AM, to bed... I ride! LOL
Enjoy,
5th :highfive:
THANK YOU!!! Totally saved me today.
One thing that I noticed. After pushing the correct build.prop, I had to fully power down, then turn back on my Razr for it to load up the fixed build.prop.
error message,Help please
Hello, when i am going to mount and change the permission i am getting constant error od device not found or sh:not found.
What to do?Help me please?
jigarpattani said:
Hello, when i am going to mount and change the permission i am getting constant error od device not found or sh:not found.
What to do?Help me please?
Click to expand...
Click to collapse
What step are you on? What phone do you have? More info please?
i am have problem whit my pantech flex i need to use the build.prop.bak but when i type the su it stay in blank do nothing any ideas pls help
ehy there hope someone can help me...i have an archos 97b platinum, messed up with build.prop. So i pulled out and restored but can't push in any way. I have a cwm installed, tablet rooted but i alwais got "permission denied" at push command. Other error is operation not permitted" if i try remount command from adb. i can do mount -o rw,remount /dev/block/mtdblock7 /system but after that push still give me permission denied.
any suggestion?
http://imgur.com/FDLp4fl
i open a 2nd cmd, give the mount -o rw,remount /dev/block/mtdblock7 /system , and system is now rw, but from the first cmd when i give "push build.prop /system (or /system/build.prop) it will always return me permission denied
help
dev.block
i want to view to dev/block using adb shell #
eg . what block is boot.img
what block is recovery.img
what block is system.img
what block is cache.ing
adb shell getprop mtd is not work . Pls Help Me & sent to mail [email protected]