I rooted my micromax p275 and wanted to change its font by replacing /system/fonts/Roboto-Regular.ttf with my desired font but i accidentally replaced it with Robot.Regular.ttf. Now it doesn't starts. I want to push another font file in /system/fonts with the correct name (Roboto-Regular.ttf) but it doesn't works saying permission denied. I have tried su command but it just reprints the same commands i type and press enter and thus doing nothing. Any way out friends. I would be greatly helped by you. Every single hint is wanted.
Asked
Active
Viewed 93 times
1
1 Answers
0
If you have a backup font file and adb is working, then you can just do adb remount
and try pushing the backup font again. This command is just a shortcut for adb shell mount -o remount.rw /system
, which remounts /system
as writable.
If adb remount
doesn't work, then run adb root
and try again. (i.e., run adb root
, adb remount
, and adb push /path/to/backup/Roboto-Regular.ttf /system/fonts/
, in that order). I'm not sure how picky adb is about telling it to use root.

Mark Haferkamp
- 171
- 5
-
adb root
wouldn't work on a production kernel which meansadb remount
oradb shell mount -o remount.rw /system
(sic) would always fail. See Is there a way for me to run Adb shell as root without typing in 'su'? – Firelord Mar 01 '16 at 08:32
adb push
? That too from recovery?? – Bharat G Oct 28 '15 at 21:13