[ROM]TMO-US-DRC83 Rooted by Heiher

这是我的第二个ROM,基于官方OTA的DRC83制作的,集成了一些 Native 程序,如 busybox, ssh, scp, iptables, sqlite3 等等,删除了系统空间的一些不常用的应用程序。感谢支持!

Model number:T-Mobile G1
Firmware version: 1.6
Baseband version: 62.50SC.20.17H_2.22.23.02 (DMD64)
Kernel version: 2.6.29 harry@linux-rvzl #1 (ADP 1.6)
Build numver: DRC83
Support languages: English

下载地址:http://www.heiher.info/sftp/android/TMO-OTA-US-DRC83-Rooted_heiher_20100620.zip

Over!

[Recovery] [15-May-2010] RA-dream-v1.7.0

Features

Use the trackball (up+down) to navigate through the menu, press the trackball to select items.
You can also use the volume keys (vol-up + vol-down) to navigate, and the CALL-ANSWER key to select items (in case your trackball is broken).

  • full ADB access in recovery mode
  • Busybox v1.15.3
  • HW-Key navigation (volume keys + CALL-ANSWER) option
  • Extended menu (with keyboard-shortcuts):
    • [HOME+Back] Reboot system now :: reboot your phone
    • [Alt+X] Go to console :: bring up the console
    • [Alt+T] USB-MS Toggle :: enable/disable USB mass storage (use when the phone is connected to your PC)
    • [Alt+B] Backup/Restore (recovery partition not included!)
      • [Alt+0] Nand backup :: Make a Nand backup
      • [Alt+1] Nand + ext backup :: Make a Nand + ext backup
      • [Alt+2] Nand restore :: Restore a Nand backup
      • [Alt+3] BART backup :: Make a BART backup (Nand + ext)
      • [Alt+4] BART restore :: Restore latest BART backup
      • [Alt+5] Bck Google files :: Makes a backup of the Google proprietary system files in /cache/google
      • [Alt+6] Rst Google files :: Restores the Google proprietary system files from /cache/google
    • [Alt+F] Flash zip from sdcard :: Flash a zip update file from your sdcard
    • [Alt+W] Wipe
      • [Alt+0] Wipe data/factory reset :: Wipe /data and /cache
      • [Alt+1] Wipe cache :: Wipe /cache only
      • [Alt+2] Wipe Dalvik-cache :: Wipe /cache/dalvik-cache
      • [Alt+2] Wipe SD:ext partition : Wipe the ext partition on your sdcard
      • [Alt+4] Wipe battery stats : Wipe the battery stats in /data
      • [Alt+5] Wipe rotate settings : Wipe the sensor settings in /data
    • [Alt+P] Partition sdcard
      • [Alt+0] Partition SD :: Interactive SD partitioning
      • [Alt+1] Repair SD:ext :: Repair the ext partition
      • [Alt+2] SD:ext2 to ext3 :: Convert ext2 to ext3
      • [Alt+3] SD:ext3 to ext4 :: Convert ext3 to ext4
    • [Alt+O] Other
      • [Alt+0] Fix apk uid mismatches :: Does extacly that
      • [Alt+1] Move recovery.log to SD :: Moves the recovery log file to your sdcard. (Use when you want more detailed recovery log information)
    • [ALT+Q]Power off :: Powers off your phone
  • Scripts available from console :

Install

  • There are several ways to install a custom recovery, choose the one that suits you most (I probably forgot a few).
  • You don’t need to enter “mount -a” if your partitions are already mounted.

Via terminal

flash_image recovery /sdcard/recovery-RA-dream-v1.7.0.img

Download
recovery-RA-dream-v1.7.0.img

Over!

Android 手机看联通3G手机电视

联通3G用户可以在联通沃门户网站里观看手机电视,访问联通沃门户是不收取流量费用的,但是只有使用 wap 接入点才能访问。其中的视频和文本是以联通的M点和T点结算的,当然你可以包月。

设置WAP接入点

Name: CU-WAP
APN: 3gwap
Proxy: 10.0.0.172
Port: 80
Username:
Password:
Server: http://www.wo.com.cn
MMSC: http://mmsc.myuni.com.cn
MMS proxy: 10.0.0.172
MMS port: 80
MCC: 460
MNC: 01
APN type: default     注:这是要设置为 default 类型
Name: CU-MMS
APN: 3gwap
Proxy: 10.0.0.172
Port: 80
Username:
Password:
Server: http://www.wo.com.cn
MMSC: http://mmsc.myuni.com.cn
MMS proxy: 10.0.0.172
MMS port: 80
MCC: 460
MNC: 01
APN type: mms    注:这个用于收发彩信

现在去浏览器里访问 http://www.wo.com.cn 就可以看手机电视了。

Over!

Android Wired Tether 有线共享手机网络

Android Wired Tether 可以将手机模拟成一个有线网卡,通过USB连接的计算机就可以通过手机的移动网络接入到 Internet,这款软件与 Android Wireless Tether 非常类似,只是它是有线的。

手机要运行这款软件需要 root 权限,同时内核也需要支持,具体看官方的说明。

我在 Ubuntu 10.04 LTS 操作系统的计算机上连接 G1,NetworkManager 能够自动连接网络,无需任何配置,非常方便,推荐使用。

Over!

Android 终端命令安装 apk 应用程序

为了解放空间把 ASTRO File Manager 也删除了,它的功能基本都可以使用终端命令操作,如果你安装了 busybox 后。

su
cp /sdcard/test.apk /data/app/
chmod 644 /data/app/test.apk
chown system.system /data/app/test.apk

Over!

Telnet 登录 Android

在安装 busybox 过后,就可以通过 telnet 登录到 Android 系统并执行命令了,这对于没有QWERT键盘实在是太方便了。

首先要在 Android 系统上进行 telnetd 服务程序

telnetd 8000

使用 telnet 或 nc 连接服务器

telnet xxx.xxx.xxx.xxx 8000

Over!

Busybox 1.16.1 for G1

下载地址:sftp://sftp:sftp@heiher.info:heiher/android/busybox-armv6l

安装方法

su # 需要 Allow
cp /sdcard/busybox-armv6l /data/expstick/bin/busybox-armv6l  # 假设最新版本的 busybox-armv6l 存放在 /sdcard
rwsystem
/data/expstick/bin/busybox-armv6l rm /system/bin/busybox
/data/expstick/bin/busybox-armv6l cp /sdcard/busybox-armv6l /system/bin/busybox
chmod 755 /system/bin/busybox
chown root.shell /system/bin/busybox
rm /data/expstick/bin/busybox-armv6l
/system/bin/busybox --install -s /data/expstick/xbin/bb # 不可修改
rosystem

Over!

Bash for G1

强大的 Bash 有人编译 Armel 版本了,那不就可以在G1上使用了?那是必需的!下面来安装吧。

首先下载 sftp://sftp:sftp@heiher.info:heiher/android/bash_for_G1.tar.gz,解压缩后将 bash 和 bash_profile 两个文件存放在 /sdcard 中,开始安装。

su # 需要 Allow
rwsystem
cp /sdcard/bash /system/bin/bash
chmod 755 /system/bin/bash
chown root.shell /system/bin/bash
cd /system/bin
mv sh sh.bk && mv bash sh
rosystem

bash_profile 就放在 /sdcard 中,相信你也明白它是做什么的了。

Over!

解决 Android 本地 scp 不能使用的问题

由于 /system 空间不够, ssh 和 scp 两个命令是安装在 /data/expstick/xbin 目录中的,这样引发了一个问题 scp 找不到正确的 ssh 绝对路径,解决方法是

su # 需要 Allow
rwsystem
ln -s /data/expstick/xbin/ssh /system/bin/ssh
rosystem

Over!