Logon Through Telnet and FTP on Android phones

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.