Android ssh: Warning: Reading the random source seems to have blocked.

Error:

$ ssh [email protected]
ssh: Warning: Reading the random source seems to have blocked.
If you experience problems, you probably need to find a better entropy source.

1. Copy ssh to /sdcard/ from /system/bin/
2. Connect sd to computer (Linux).
3. hexeditor /mnt/sdcard/ssh
4. Find ASCII string “/dev/random”.
5. modify HEX “72 61 6E 64 6F 6D 00 63” to HEX “75 72 61 6E 64 6F 6D 00”
6. Save & Exit
7. Copy ssh to /system/bin from /sdcard/
8. Change owner & permission.

Over!

[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 [email protected] #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!

Busybox 1.16.1 for G1

下载地址:sftp://sftp:[email protected]: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!