Very often when you want to write files to a particular partition on ADP1, you will get a "Permission Denied" if the partition is mounted read-only.
To get around this, you need to mount the partition read-write. Typically this is done with /system partition
$ adb shell
$ su
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
(Replace /dev/block/mtdblock3 & /system with appropriate device path and mount point, as obtained from cat /proc/mounts)
Thousands of Android games for free! Download top apk games for Android phones and tablets without any payments.
lundi 19 janvier 2009
dimanche 18 janvier 2009
Android Dev Phone 1 Button Combinations
The following are the ADP1 / G1 button combinations for booting in various modes.
Regular mode: Power button
Fastboot mode: Power on with Camera + Power button. Wait until Android on skateboard image appears with text "SERIAL0", and press Back button. It'll enter FASTBOOT mode.
Alternatively, Power + Back button takes you directly to fastboot mode
Recovery mode: Power on with Home + Power button.
In recovery mode,
Alt + L - toggle log text display
Alt + s - apply sdcard:update.zip
Alt + W - wipe data/factory reset
Safe mode: Power + Menu button
The 3-button salute (Call + Menu + Hangup) causes a reboot in any of the above modes.
Using ADP1 without sim card
You know that Android Dev Phone 1 is fully unlocked. But if you've just opened your box and don't have a sim with a working data plan, you'll be greeted with a "No sim card" "Emergency dial" screen on first boot. Now, if you had a sim card with a working data plan, it'd allow you to go ahead and and sign in with your Google account, but you don't. So you cannot do anything at the "No sim card" screen.
There's a workaround, however. You can use wifi to setup your account. It requires you to use the adb tool available from the android sdk.
There's a workaround, however. You can use wifi to setup your account. It requires you to use the adb tool available from the android sdk.
- Connect the device to your computer using the USB cable. You should be able to see a listing for your device if you run adb devices. Then execute the following commands.
- $ adb shell
- $ su
- $ cd /data/data/com.android.providers.settings/databases
- $ sqlite3 settings.db
- INSERT INTO system (name, value) VALUES ('device_provisioned', 1);
- .exit
- $ reboot
- $ adb shell
- am start -a android.intent.action.MAIN -n com.android.settings/.Settings