Android Tablets Forum banner
1 - 19 of 19 Posts

· Registered
Joined
·
12 Posts
Discussion Starter · #1 ·
Dear AllHow are you,I have apad with Android 1.5I need to make it support other languge (Arabic).the problem i need to replace some fonts on the system.but i don't know how to access the root .I can't replace the system file.this is the method :-copy from hereFeatures:-Allow the system to read Arabic characters.-Does not cost you your data. No wipe is needed.Requirements:-Root!!!Steps: -Get Root!!!-Download Dejavu_Fonts_By_Aman_Alshurafa.zip from Downloads page-Extract file, rename folder to "fonts", and place it on your sdcard (Home Directory)-open Terminal and write:sumount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /systemchmod 4755 /system/fonts/*cp -rf /sdcard/fonts/* /system/fonts/wait your help.Regards
 

· Registered
Joined
·
253 Posts
[quote name='vipqatar;7566]sumount -o rw' date='remount -t yaffs2 /dev/block/mtdblock3 /systemchmod 4755 /system/fonts/*cp -rf /sdcard/fonts/*/system/fonts/[/QUOTE']If I try to rearrange the commands to be entered, I get this - The idea is to copy the fonts from SD to /system/fonts which wont work, as /system is readonly regardless of root or not. Only way to do it is to add the fonts to a /system image, and flash it to your pad. (Which again makes me wish for /system on a writable file system.)
 

· Registered
Joined
·
12 Posts
Discussion Starter · #4 ·
[quote name='xaueious;7604]Get adb working' date=' then you can do those shell commands using adb shell. Fonts go into a folder on your sdcard according to those commands.[/QUOTE'] DearI try that already ,but it say system file read only , i don't have access to make changesso for that i ask for ROOTDo you have other way.Thanks
 

· Registered
Joined
·
12 Posts
Discussion Starter · #5 ·
[quote name='ZilverZurfarn;7806]If I try to rearrange the commands to be entered' date=' I get this - The idea is to copy the fonts from SD to /system/fonts which wont work, as /system is readonly regardless of root or not. Only way to do it is to add the fonts to a /system image, and flash it to your pad. (Which again makes me wish for /system on a writable file system.)[/QUOTE'] HelloYou are right , i think like you say , but now i need to check the imgfile which pro can open it and rezip it again , then update my pad with it.i will let you know if i sucessregards
 

· Registered
Joined
·
253 Posts
xaueious;8051 said:
Wait I'm confused now. So you can't push to the /system partition at all? This wasn't what I thought. The system partition should be writable somehow.
No, it isn't, until some rom cook manages to change the /system partition into something else like yaffs2. adb remount works (cheerfully reports Success) but /system is still readonly, as cramfs is a readonly file system.
 

· Registered
Joined
·
12 Posts
Discussion Starter · #12 ·
Yes you are right , i try to modify the img , but can't , it's not opening , i try many software , but it's encrypted .so , need to try other way of modify the boot img.thank u
xaueious;8184 said:
That means we need to modify init.rc in boot.imgBut we have not been able to modify boot.img because there's some sort of CRC on it.
 

· Registered
Joined
·
12 Posts
Discussion Starter · #13 ·
xaueious;8051 said:
Wait I'm confused now. So you can't push to the /system partition at all? This wasn't what I thought. The system partition should be writable somehow. Did you try adb remount?
yes , but the same , not successful.most of the method on the internet i try them.no lcukthanks 4 trying
 

· Registered
Joined
·
253 Posts
system.img (and boot.img) is a cramfs image. Under Linux, it can be mounted with mount -o loop -t cramfs mountpoint system.imgTo unpack a cramfs image under Windows, you can use cramfsck, and (re)create a cramfs image with mkcramfs (even if I don't think that'll work, as Windows wont preserve symlinks and stuff).If you start off from update.img, you first have to extract the different partition images with afstool
 

· Registered
Joined
·
28 Posts
rogerbraun;12838 said:
You don't need to change boot.img just to add some fonts. In the hybrid rom thread there is a post by me how to modify the system.img. You can just change the fonts there.
1. Extract the update.img using "AFPTool.exe -unpack update.img folder". You can find this program with some of the flashers (I forgot which one, if anyone remembers, please tell).2. Mount the system.img with "mount -o loop system.img mountfolder". You have to use linux for this, but installing in a VM is enough.3. Copy the folder to a working directory "cp -r mountfolder my_repacked_system"4. Remove / add any apps you like from my_repacked_system/apps5. Make a new system.img with "mkcramfs my_repacked_system system.img"6. Flash directly OR repack to update.img using AFPTool.exe
 
1 - 19 of 19 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top