Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Simple Instructions for Linux (Ubuntu) on a MK802IV or T428

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

    Simple Instructions for Linux (Ubuntu) on a MK802IV or T428

    Simple Instructions for Linux (Ubuntu) on a MK802IV or T428
    (https://plus.google.com/109451178006...ts/Edr7cbWFit4)

    If you want to try Linux (Ubuntu) on your MK802IV or T428 device without multiple flashing, SD cards or different PCs, please try this approach.

    Required: A Windows PC with Rockchip's standard firmware upgrade application "RKAndroidTool v1.37" and "7-Zip" installed.

    Instructions:

    1. Download the following files:
    1.1 Loader
    For MK802IV: https://docs.google.com/file/d/0B99O...it?usp=sharing
    For T428: https://docs.google.com/file/d/0B99O...it?usp=sharing
    1.2 parameter: https://docs.google.com/file/d/0B99O...it?usp=sharing
    1.3 kernel
    For MK802IV: https://docs.google.com/file/d/0B99O...it?usp=sharing
    For T428: https://docs.google.com/file/d/0B99O...it?usp=sharing
    1.4 boot: https://docs.google.com/file/d/0B99O...it?usp=sharing
    1.5 system: https://docs.google.com/file/d/0B99O...it?usp=sharing
    2. Unzip the system file to create a file called "linuxium-ubuntu1204-rfs.img"
    3. Prepare your device for flashing by attaching it to your Windows PC as per usual
    4. Execute the "RKAndroidTool v1.37" application and delete the NAND by selecting "EraseIDB"
    5. Select the check boxes for Loader, parameter, kernel, boot and system, select and update the paths for the downloaded Loader, parameter, kernel, boot and system files and then flash by selecting "Run"
    6. Disconnect your device from the PC and boot it.
    7. Once it has finished booting press "alt&f1" to get a login prompt
    8. Login as "linuxium" with "p" for password and enter "sudo su -"
    9. Now enter "mount -o remount,rw /dev/mtdblock0 /" followed by "reboot"
    10. Your device will then reboot, perform a "fsck" and do a further reboot before showing the (lightdm) login screen
    11. Again login as "linuxium" and open a terminal
    12. Enter "sudo su -" followed by "resize2fs /dev/mtdblock0"
    13. Now configure wifi (on wlan0) and then reboot

    Your device should now be working running Ubuntu. I recommend that you then run an "aptitude update" followed by an "aptitude upgrade".
    Recommended packages to install include "ssh openssh-server tightvncserver cpufrequtils chromium-browser".

    Many thanks for all the earlier feedback that inspired this approach.

    #2
    UG007B

    Can you create such set for UG007B?
    Thanks.

    Comment


      #3
      UG007B needs a different kernel and unfortunately I don't have this device to compile and test on

      Comment


        #4
        Hi linuxium,

        your avatar looks like a teacher. Are you a teacher?

        What do you need to know for porting to another Rockship TV-Stick, the WLan/Bluetooth hardware?

        JDfense

        Comment


          #5
          video

          QUOTE=linuxium;97754]Simple Instructions for Linux (Ubuntu) on a MK802IV or T428
          (https://plus.google.com/109451178006...ts/Edr7cbWFit4)

          If you want to try Linux (Ubuntu) on your MK802IV or T428 device without multiple flashing, SD cards or different PCs, please try this approach.

          Required: A Windows PC with Rockchip's standard firmware upgrade application "RKAndroidTool v1.37" and "7-Zip" installed.

          Instructions:

          1. Download the following files:
          1.1 Loader
          For MK802IV: https://docs.google.com/file/d/0B99O...it?usp=sharing
          For T428: https://docs.google.com/file/d/0B99O...it?usp=sharing
          1.2 parameter: https://docs.google.com/file/d/0B99O...it?usp=sharing
          1.3 kernel
          For MK802IV: https://docs.google.com/file/d/0B99O...it?usp=sharing
          For T428: https://docs.google.com/file/d/0B99O...it?usp=sharing
          1.4 boot: https://docs.google.com/file/d/0B99O...it?usp=sharing
          1.5 system: https://docs.google.com/file/d/0B99O...it?usp=sharing
          2. Unzip the system file to create a file called "linuxium-ubuntu1204-rfs.img"
          3. Prepare your device for flashing by attaching it to your Windows PC as per usual
          4. Execute the "RKAndroidTool v1.37" application and delete the NAND by selecting "EraseIDB"
          5. Select the check boxes for Loader, parameter, kernel, boot and system, select and update the paths for the downloaded Loader, parameter, kernel, boot and system files and then flash by selecting "Run"
          6. Disconnect your device from the PC and boot it.
          7. Once it has finished booting press "alt&f1" to get a login prompt
          8. Login as "linuxium" with "p" for password and enter "sudo su -"
          9. Now enter "mount -o remount,rw /dev/mtdblock0 /" followed by "reboot"
          10. Your device will then reboot, perform a "fsck" and do a further reboot before showing the (lightdm) login screen
          11. Again login as "linuxium" and open a terminal
          12. Enter "sudo su -" followed by "resize2fs /dev/mtdblock0"
          13. Now configure wifi (on wlan0) and then reboot

          Your device should now be working running Ubuntu. I recommend that you then run an "aptitude update" followed by an "aptitude upgrade".
          Recommended packages to install include "ssh openssh-server tightvncserver cpufrequtils chromium-browser".

          Many thanks for all the earlier feedback that inspired this approach.[/QUOTE]

          Good job can you make a video and how i booted if i using a usb mouse and usb remote control I do have to use a USB keyboard

          G

          Comment


            #6
            I have tried this on a mk802IV with new wifi. Wifi works. Ethernet (sr9700) does not manage to get an ip address from DHCP, but does work if ip address, netmask and gateway are set manually.

            No bluetooth. [sorry, duplicate posting, I do not know which thread linuxium reads)

            bug (?): fb-sync takes 100% of one core.
            Last edited by dkcm; 09-23-2013, 18:49.

            Comment


              #7
              Originally posted by dkcm View Post
              I have tried this on a mk802IV with new wifi. Wifi works. Ethernet (sr9700) does not manage to get an ip address.

              bug (?): fb-sync takes 100% of one core.
              < linuxium> ... I included Galland's implementation of the PHJANDERSON "smooth video playback fix": which creates the 100% usage on one CPU core due to process rk_fbvsync so this is as expected - I could compile them again and exclude this as Galland made it a config option which might be more suitable for those not primarily needing video
              So it's not a bug, it's a feature!

              Comment


                #8
                Originally posted by moofree View Post
                So it's not a bug, it's a feature!
                aha! then

                pgrep fb-vsync | xargs renice +19

                and problem solved for me.

                Comment


                  #9
                  Originally posted by linuxium View Post
                  Simple Instructions for Linux (Ubuntu) on a MK802IV or T428
                  (https://plus.google.com/109451178006...ts/Edr7cbWFit4)

                  If you want to try Linux (Ubuntu) on your MK802IV or T428 device without multiple flashing, SD cards or different PCs, please try this approach.

                  Required: A Windows PC with Rockchip's standard firmware upgrade application "RKAndroidTool v1.37" and "7-Zip" installed.

                  Instructions:

                  1. Download the following files:
                  1.1 Loader
                  For MK802IV: https://docs.google.com/file/d/0B99O...it?usp=sharing
                  For T428: https://docs.google.com/file/d/0B99O...it?usp=sharing
                  1.2 parameter: https://docs.google.com/file/d/0B99O...it?usp=sharing
                  1.3 kernel
                  For MK802IV: https://docs.google.com/file/d/0B99O...it?usp=sharing
                  For T428: https://docs.google.com/file/d/0B99O...it?usp=sharing
                  1.4 boot: https://docs.google.com/file/d/0B99O...it?usp=sharing
                  1.5 system: https://docs.google.com/file/d/0B99O...it?usp=sharing
                  2. Unzip the system file to create a file called "linuxium-ubuntu1204-rfs.img"
                  3. Prepare your device for flashing by attaching it to your Windows PC as per usual
                  4. Execute the "RKAndroidTool v1.37" application and delete the NAND by selecting "EraseIDB"
                  5. Select the check boxes for Loader, parameter, kernel, boot and system, select and update the paths for the downloaded Loader, parameter, kernel, boot and system files and then flash by selecting "Run"
                  6. Disconnect your device from the PC and boot it.
                  7. Once it has finished booting press "alt&f1" to get a login prompt
                  8. Login as "linuxium" with "p" for password and enter "sudo su -"
                  9. Now enter "mount -o remount,rw /dev/mtdblock0 /" followed by "reboot"
                  10. Your device will then reboot, perform a "fsck" and do a further reboot before showing the (lightdm) login screen
                  11. Again login as "linuxium" and open a terminal
                  12. Enter "sudo su -" followed by "resize2fs /dev/mtdblock0"
                  13. Now configure wifi (on wlan0) and then reboot

                  Your device should now be working running Ubuntu. I recommend that you then run an "aptitude update" followed by an "aptitude upgrade".
                  Recommended packages to install include "ssh openssh-server tightvncserver cpufrequtils chromium-browser".

                  Many thanks for all the earlier feedback that inspired this approach.


                  My wifi not working, I have old mk802iv with 8188 module, I've try insmod but got symbol error. please can you help me with that?

                  Mike

                  Comment


                    #10
                    [deleted]

                    Comment


                      #11
                      in my startup network will already a password
                      MY MINI PC: C4,CS918,M8,M8C

                      Comment


                        #12
                        Originally posted by darekmarta1975 View Post
                        in my startup network will already a password
                        First you have to give root a password:

                        sudo passwd root


                        My screen output to my HD Monitor is just 720p (but System Settings Display Resulution says it is 1920x1080). I use a HDMI to DVI adapter. Do I need another kernel?

                        Comment


                          #13
                          I mean the password for the network


                          MY MINI PC: C4,CS918,M8,M8C

                          Comment


                            #14
                            Originally posted by darekmarta1975 View Post
                            I'm talking about here is what you can see in the picture
                            open a terminal and give you a root password:

                            sudo passwd root

                            than, try connecting wifi with your new password again.

                            Comment


                              #15
                              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