solved: Modified RC30 system file replacement - G1 Android Development

i have fount how to make the android support more languages (basic support), and it's works great over the Emulator.
i took the font files over "system/fonts" and added the chars i needed.
and now i have the G1 Modified RC30 and i want to take those files and replace them.
but i can't get access to do it.
anyone can guide me how i can replace the files??
solved
Code:
> adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
just need to do this before copying the files
and this when done
Code:
> adb shell mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system

hi
how did you manage to change the fonts in the Emulator?
\tools\lib\fonts\default
i tried this one, but it has no use, i suspect that system.img has the system fonts, any help how to access that?
thanks

Related

Install Modded RC30 from Bug Terminal?

Hey guys,
Sadly, I've got Vista64, which works fairly well, FYI.
Anyways, because of it I can't install the USB drivers.. But I figure I'm just using them to access the terminal, which I, on RC29, apparently already have access to...
If I copy recovery.img to the SDcard and then use the filemanager to put it in /system, would I be able to flash it from the homescreen? What commands would I use?
Just
$ su
su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd /system
cd /system
# cat /data/local/recovery.img > recovery.img
cat /data/local/recovery.img > recovery.img
# flash_image recovery recovery.img
flash_image recovery recovery.img
#
?? Is this going to do something bad...
Thanks
**I don't have write permission to /System using Android File Manager. I'm sorry I'm a linux newb here, what cmds do I need to use to overwrite that file?
grim1234 said:
Hey guys,
Sadly, I've got Vista64, which works fairly well, FYI.
Anyways, because of it I can't install the USB drivers.. But I figure I'm just using them to access the terminal, which I, on RC29, apparently already have access to...
If I copy recovery.img to the SDcard and then use the filemanager to put it in /system, would I be able to flash it from the homescreen? What commands would I use?
Just
$ su
su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd /system
cd /system
# cat /data/local/recovery.img > recovery.img
cat /data/local/recovery.img > recovery.img
# flash_image recovery recovery.img
flash_image recovery recovery.img
#
?? Is this going to do something bad...
Thanks
**I don't have write permission to /System using Android File Manager. I'm sorry I'm a linux newb here, what cmds do I need to use to overwrite that file?
Click to expand...
Click to collapse
I have the same problem: I am using Windows Server 2008 x64 and there is no 64 bit driver for ADB. I ended up installing a Ubuntu VM:
http://www.koushikdutta.com/2008/10/developing-and-debugging-android.html
Well, I tired txting this to someone...
cp /sdcard/recovery.img /system
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system
cat /data/local/recovery.img > recovery.img
flash_image recovery recovery.img
Then booted into recovery mode and pressed alt-L...
And it doesn't work.
I guess it's VMWare time... zzz
Check out my post over at AndroidCommunity http://androidcommunity.com/forums/f28/i-have-rc30-and-root-6867/ this will allow you to install the modified upgrade without the adb, and sdk.

Script for remounting the file system as r/w?

Ideally, I'd like to have a script that I can keep on my sdcard that when clicked, it remounts the file system as r/w. The idea is to save me from having to manually punch in the command every time. I have DroidSans installed but it seems like overkill to keep the entire program for just that one function.
I'm not new to 'nix, but don't know much about creating scripts.
Thanks to all that help.
You could jus install DroidSans Tweak Tools on v0.87 the first button is to mount as R/W and the one below that is for Read Only.
Just an option I know it's not jus a script but it's what I've been using for the time being till I write a script to use w/ gscript.
couldn't you just use Gscript to run
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
wouldn't that work?
Meltus said:
couldn't you just use Gscript to run
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
wouldn't that work?
Click to expand...
Click to collapse
Yes, you would type:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
In the terminal emulator after being granted superuser access.
Meltus said:
couldn't you just use Gscript to run
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
wouldn't that work?
Click to expand...
Click to collapse
I'll try that. The project page for GScript appears to be down right now for maintenance, but I will try later and see what I get.
Thanks alot.

CDMA Hero Bootscreen MODS *Working

Okay here is how to do it if you dont already know, (sorry if this was done before but i found it amazingly fun. lol)**Note, you can be caught in a boot loop for ANY boot files, i would exclude the .mp3 file, but just to be safe, make sure any file you edit, has the same attributes as before. Editing the .xml file, as long as you only edit variables(e.g. useAudio="0" // 1: true ; 0:false the "0" <- that is the only part you should edit, It should be in quotes!!) Do this at your own RISK! i have attached the XML file as a TXT file, just rename it and edit it to what you like.
What you need:
DriodExplorer, (GUI for editing the phones filesystem)
adb and AndriodSDK (they come together)
1. Open up your adb shell, and make sure you see '#' and not '$'
2. type this in: mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
so output should look like this for Super Users: (From start to finish)
Code:
adb shell
$ su
su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Or if you are Rooted already:
Code:
adb shell
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
then open up DriodExplorer and navigate to the "/system/media/bootscreen/"
folder. you can now drag and drop any file or edit any file you want.
**NOTE: you can also do this with a file explorer from the phone side too.
Now to finish the job, in adb shell put this in, so it looks like this for super users:
Code:
adb shell
$ su
su
# mount -o remount,r -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,r -t yaffs2 /dev/block/mtdblock3 /system
And for Rooted users:
Code:
adb shell
# mount -o remount,r -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,r -t yaffs2 /dev/block/mtdblock3 /system
Notice the 'rw' is now just 'r' this makes the system folder turn back to read only mode, so not to **** it up later
Hope this has helped many of you!!

Stock Calendar, HELP PLEASE

Hello,
Accidentally today I removed Calendar.apk and CalendarProvider.apk from /system/apps.
But I have the backups .apk from /system/apps.
This is what I do:
Code:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cat /sdcard/Calendar.adk > /system/app/Calendar.adk
cat /sdcard/CalendarProvider.apk > /system/app/CalendarProvider.apk
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
reboot
And the app doesn't appear in the menu or in other place. What I'm doing wrong?

[Q] Having trouble mounting \system in rw on BAMF 1.5

Hey guys,
Loaded BAMF 1.5 yesterday and have been enjoying the ROM thus far. However, I've been trying to push my custom widget.txt to the \system\customize\ folder so I can have my own power controls in the notifcation bar. I have tried the Mount rw/ro app from the Market, and have also tried mounting rw using adb (mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system).
Each time, when I use the command: adb push widget.txt /system/customize/ I get the error: failed to copy 'widget.txt' to '\system\customize\': Read-only file system
Where am I going wrong?
Seth
sethschmautz said:
Hey guys,
Loaded BAMF 1.5 yesterday and have been enjoying the ROM thus far. However, I've been trying to push my custom widget.txt to the \system\customize\ folder so I can have my own power controls in the notifcation bar. I have tried the Mount rw/ro app from the Market, and have also tried mounting rw using adb (mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system).
Each time, when I use the command: adb push widget.txt /system/customize/ I get the error: failed to copy 'widget.txt' to '\system\customize\': Read-only file system
Where am I going wrong?
Seth
Click to expand...
Click to collapse
I'm pretty sure the TB is using EXT3, not YAFFS2.
Try
Code:
mount -o remount,rw -t ext3 /dev/block/mtdblock3 /system
Even easier, assuming you have busybox. busybox mount isn't as lame as the standard mount which is provided, so you don't have to tell it as much, it can figure things out on its own:
busybox mount -o remount,rw /system
busybox mount -o remount,ro /system
Click to expand...
Click to collapse
even easier.
sysrw
sysro
Doesn't anyone ever read the first post of my rom?
I'm an idiot. Thanks for the ext3 vs yaffs2 reminder.
I'll try busybox at some point also to check
And to Adrynalyne, apparently I didn't read the first post...my bad. Thanks for reading mine, though. I'll pay closer attention in the future.
Seth

Categories

Resources