Question: I use HTC magic as my mobile phone, and Kingston as my SD card. I don't know why. Sometimes I can find the SD card and sometimes I can't find it. I personally have some data files and want to fix them on the mobile phone system instead of the SD card (/sdcard). How can I put some files on the mobile phone system (/)?
1. download Mobile FTP server software -- swiftp server (http://file.shouji.com.cn/do/prepare/soft? Id = 16566 & softid = 18957 ). Install the FTP server as prompted. It is very simple to run the server. you can log on to the server using a computer, such as ftp: // 192.168.1.3: 2121. (the IP address is displayed in the following way)
2. Set the telnet server for the mobile phone system: ① connect the mobile phone to wifi (how to connect? If you need a vro, find the relevant information on the Internet); ② run the terminal software on your mobile phone and enter:
# Su // switch to # user, get root permission, note // do not enter
# Busybox ifconfig // view the IP address of the mobile phone. Here I see it as 192.168.1.3;
# Busybox telnetd-L/system/bin/sh // start the telnet server;
Enter tenet 192.168.1.3 under cmd on the computer. I am used to using Putty to log on.
3. start to copy files to the mobile phone system, but the system directory is "read-only file system". To copy files to the root directory, set the root directory to "read/write ":
# Mount to check system settings
Use: # Mount-o rw, remount-T rootfs/to set the root directory as read-only: (if not, add # busybox above)
Use: # mount to check system settings:
rootfs / rootfs rw 0 0tmpfs /dev tmpfs rw,mode=755 0 0devpts /dev/pts devpts rw,mode=600 0 0proc /proc proc rw 0 0sysfs /sys sysfs rw 0 0tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0none /dev/cpuctl cgroup rw,cpu 0 0/dev/block/mtdblock3 /system yaffs2 ro 0 0/dev/block/loop0 /system/modules squashfs ro 0 0/dev/block/loop1 /system/xbin squashfs ro 0 0/dev/block/mtdblock5 /data yaffs2 rw,nodev 0 0/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev 0 0
The root directory has been set to read/write (chmod 777 /);
4. Now you can: # mkdir/mydir, and then upload the data file mV to your directory.