Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Linux for MK802IV on NAND - no need for an SD card

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Linux for MK802IV on NAND - no need for an SD card

    New image for MK802IV for those who want just a Linux stick without using the SD card - supports internal wifi and 1080p.

    Basic installation instructions are:

    1. Create the root file system (RFS) on an SD card as "linuxroot"
    2. Re-image your device to support a single Linux partition
    3. Flash the SD kernel that boots from the SD card to the device
    4. Boot and then create a RFS in NAND on the device
    5. Flash the NAND kernel that boots from NAND on to the device
    6. Boot the device without the SD card

    Detailed instructions are:
    1.1. Download the compressed Ubuntu 12.04 RFS (https://docs.google.com/file/d/0B99O...it?usp=sharing) to a Linux machine
    1.2. Make sure you have 7zip installed ("apt-get install p7zip-full")
    1.3. As root enter "7za x -so ubuntu1204-rfs.tar.7z | tar xf -" to create the Ubuntu 12.04 RFS directory "ubuntu1204-rfs"
    1.4. Mount an empty SD card as "/mnt/rfs"
    1.5. Use "gparted" to create a single "ext4" partition on it labeled as "linuxroot"
    1.6. Copy the RFS onto the SD card by "cp -a ubuntu1204-rfs/* /mnt/rfs"
    1.7. Ensure the copy has finished by entering "sync" and then "umount /mnt/rfs" so you can then remove the SD card
    2.1. Prepare your device for flashing by attaching it to a Windows machine as per usual
    2.2. Execute the "RKAndroidTool v1.37" application and delete the NAND by selecting "EraseIDB"
    2.3. Download the Linux parameter file (https://docs.google.com/file/d/0B99O...it?usp=sharing)
    2.4. Repartition the NAND by selecting the check boxes for Loader and Parameter, select the paths for the loader and the downloaded parameter file and flash by selecting "Run"
    3.1. Download the SD kernel (https://docs.google.com/file/d/0B99O...it?usp=sharing) and the generic boot image (https://docs.google.com/file/d/0B99O...it?usp=sharing)
    3.2. Prepare your device for flashing by attaching it to a Windows machine as per usual
    3.3. Select the check boxes for Loader, Kernel and Boot, selected paths for the downloaded kernel and boot files and flash by selecting "Run"
    4.1. Insert the SD card into the device and boot.
    4.2. If Unity doesn't appear hit alt+F1 and login as linuxium (password "p"), enter "sudo su -" and then "mount -o remount,rw /dev/disk/by-label/linuxroot /" followed by "exit" and finally "startx"
    4.3. Open up a terminal and become root by entering "sudo su -"
    4.4. Create a RFS in NAND by entering "mkfs.ext4 /dev/mtdblock0"
    4.5. Create a mount point for the RFS by entering "mkdir /mnt/rfs" and mount it by entering "mount /dev/mtdblock0 /mnt/rfs"
    4.6. Copy your current RFS to the NAND RFS by entering "cd /" and "cp -ax `ls | egrep -v "proc|run|sys$"` /mnt/rfs" and "mkdir /mnt/rfs/{proc,run,sys}" and "chmod 555 /mnt/rfs/proc" and "umount /mnt/rfs" and then shutdown your device and remove the SD card
    5.1. Download the NAND kernel (https://docs.google.com/file/d/0B99O...it?usp=sharing)
    5.2 Prepare your device for flashing by attaching it to a Windows machine as per usual
    5.3. Select the check boxes for Loader and Kernel, selected the path for the downloaded NAND kernel file and flash by entering "Run"
    6.1. Boot the device and open up a terminal and configure your wifi
    Last edited by linuxium; 21 September 2013, 04:12.

    #2
    Thanks , does it support XBMC HW Acceleratin ?

    Comment


      #3
      No

      Comment


        #4
        Superceeded (so closed)

        Try these simplified instructions - just download the files and flash to your device - http://www.freaktab.com/showthread.p...K802IV-or-T428

        Comment

        Working...
        X