Install the complete linux system on an Android phone and a linux system on an Android phone

Source: Internet
Author: User

Install the complete linux system on an Android phone and a linux system on an Android phone

As the saying goes, no picture is a JB. Okay, now



Reminder: I am here only to provide a thought process and hope to help you. I also make a record. If you have any questions, please refer to "0, 0,: 1870194664 Prestige: gklbb520 ".

Note: root is required before installation. The root of  mobile phone may need to unlock the BL lock first.

Environment: linux deploy, busybox pro, VNC viewer, terminal simulator, juiceSSH, es file browser, or re file browser AParted (optional), linux computer (or vmvirtual machine), android mobile phone (root)

Process:

At first I had a red rice 1 TD phone (I am using MI 5S plus ;), here I would like to mention a few additional words: I tried many versions of ROM for the Red Rice 1TD version, and finally chose the official development version. This version does not need to 

The official start is that there are such virtual machines on the computer that can be used. I think there should also be virtual machines on Android. In fact, only simulators can be used, use of linux deploy (highly recommended for ease of use), complete linux installer (not easy to use but the image images provided on the official website), bochs (Virtual x86 cannot access the Internet) and limbo (Virtual x86 can access the Internet ). We will use the image of complete linux installer to install it in deploy. Why? In fact, linux deploy is easy to use, but after I installed the kali image, it was a linux system without any kali software. After I posted a question, I learned that kalilinux only installed the software required for the kali platform, I installed it for half a day and it turned out to be a platform. I found that there seems to be a kali image created by panic, which is really good after installation. I would like to thank those who contributed to the image here, however, I found that their images are compressed by 3.9 GB after decompression, but not more than 4 GB. They are not a complete linux image. The complete linux installer software is a complete linux installation, the software is not easy to use, and the image is very good.

Address https://sourceforge.net/projects/linuxonandroid/files? Source = navbar. After the query, we found that the general format of the mobile phone SD card is fat32 (vfat) and other mobile phone sdks such as NTFS, ext, extFat, and advanced F2FS are not supported. That is to say, a single fat32 file cannot exceed 4 GB. NTFS and extFat are not purchased by Microsoft's patent-poor mobile phone manufacturers. I have said that Samsung supports exFat in these two formats, I brushed the transplanted Samsung ROM, and then I changed a lot of ROM (Happy frog, CM, AOSP, etc, later, I tried several other Android software that said they could not use exFat SD, so I went on the road... I think so. The internal storage of the mobile phone is ext4 and can be larger than 4 GB. my mobile phone is too old and only 1 GB of internal storage is available, I want to check my mom's new mobile phone root and find that the Android version cannot be used for card swiping. Someone in the Forum has encountered this problem because the mobile phone has not updated the system for a long time. The original version was Android 6, currently, 7 is supported. You only need to upgrade the stable version to 7 and click the developer version 7. After the developer version is refreshed, you will be prompted to apply for an unlock task, after the mobile phone is connected to the driver, the software cannot find the mobile phone. This mobile phone driver problem is not just a problem for me, but a lot of people are there and cannot be solved so far. So I gave up unlocking. The key point is that I thought about it carefully. It is normal that the mobile phone does not support NTFS and extFat, but the SD card does not support EXT4. You must know that android is linux, and linux supports the ext format. In this case, I can use the inux command on Android to manually mount the device without software support. df can view the device name. My name is mmcblk1p1, fdisk mmcblk1p1 query by p confirm capacity 15 GB my 16 GB card is his q quit. Mount-t ext4/dev/block/mmcblk1p1/mnt/media_rw/sdcard1. This directory/mnt/media_rw/sdcard1 is an existing mount point in my mobile phone. You can select your own mount point and modify the permissions in the directory,

This is almost the case. Because my computer is edevil windows, I cannot copy software on win. There is ext2fsd on win, which is spam software. Copy the decompressed image and insert it into the mobile phone without this file. I ran linux on the vmvm. After the vm tool is installed, drag the large file image to the directory mounted under my linux laptop. After the copy is complete, insert the mobile phone and mount the file manually. Use the es file browser to check the file. Finally, click start in the deploy configuration of linux to see that <start is complete. Use juicessh to connect. After talking about this, the problem of 4G large files is very tricky. In other words, I won't make the image myself, but it is very troublesome to make it.

The software I mentioned has a lot of tutorials on Baidu for reference, so I won't talk about their usage. If you ask me how to use the software, I may not reply to you. Sorry. Contact me to discuss the linux World.


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.