Linuxium's Bootloader software to dualboot Android and Linux

Forum to discuss the new Quad Core Rikomagic MK802 IV Mini PC

Moderators: KEgg, twjordo, tatubias

Linuxium's Bootloader software to dualboot Android and Linux

Postby linuxium » Thu Feb 20, 2014 3:18 am

Linuxium's Bootloader software to dualboot Android and Linux
=============================================

I've updated my original bootloader software (https://plus.google.com/+IanMORRISON/posts/9DvTKTy99Yy) with the following improvements:

1. There is now a separate partition for Linux. This fixes how the 'sdcard' is mounted in Android and removes the need to edit 'vold.fstab'.
2. The bootloader now allows SD cards to hold the Linux root file system (RFS) either on the entire card or on a partition on the card. This means you can now use either 'dd' in Linux or 'Win32 Disk Imager' in Windows to create the SD card with the Linux RFS. As a result, the utilities are no longer required.
3. Booting Android from SD card has now been removed as it added complexity and wasn't needed by most users.
4. By sharing a common parameter file, both the Linux and Android kernels (kernel.img and recovery.img respectively) and Android RFS (system.img) can be substituted with any working image that uses the parameter file (i.e. CONFIG_CMDLINE_FROM_BOOTLOADER=y).
5. A single update image is now available for flashing to simplify installation.
6. The update image includes the latest stable Android image released for that device together with a Linux kernel built from the source code released for that device.

This latest version allows the choice of booting Android from NAND or Linux from SD card/NAND with an option to install/remove Linux to/from NAND or save to SD card as well as offering access to the command-line by invoking a shell.


Pre-Requisites
---------------------

For Windows download and install 'RKBatchTool' (see these excellent instructions http://wiki.radxa.com/Rock/flash_the_image#Install_driver) or for Linux download and install 'upgrade_tool' (see https://plus.google.com/109451178006683865932/posts/ZVic25M5cdT).

Download a Linux root file system e.g.

Ubuntu (https://docs.google.com/file/d/0B99O3A0dDe67RTFZbHg3ZWE3LXc)
Lubuntu (https://docs.google.com/file/d/0B99O3A0dDe67RWRTbGxDbndlSDQ)
Xubuntu (https://docs.google.com/file/d/0B99O3A0dDe67WWp1dEFJZC1hTWs)
Debian (https://docs.google.com/file/d/0B99O3A0dDe67aHVJT0FCbGw2V1k)

and install to an SD card (unzip and then for Windows use 'Win32 Disk Imager' or for Linux use 'dd').


Installation
----------------

Connect your 3188 device in bootloader mode (connect a USB cable to your PC and press the reset button on your device while you connect the other end of the cable to the micro USB OTG port on your device).

Download and unzip the update image:

Rikomagic MK802IV (latest model) - https://drive.google.com/file/d/0B99O3A0dDe67NjVLSHlhQXVnX0k

Flash your device using 'RKBatchTool' for Windows or 'upgrade_tool' for Linux (see the instructions above).

Now insert the SD card and boot your device. Select the required boot option from the on-screen menu. Note the first Android boot is very slow as it is setting up the system ready for use. Be patient, even after you think that nothing is happening, as it will boot!

To add the Linux modules to the Linux RFS simply:

1. Download the modules and unzip the file:
Rikomagic MK802IV (latest model) - https://drive.google.com/file/d/0B99O3A ... mJId2l5TkE
2. As root enter 'cd /lib/modules' and then 'cpio -ivdum < <unzipped_modules_file>'
3. Reboot


Caveat - required reading
------------------------------------

Flashing software to a device can cause the device to become 'bricked'. Typically this is due to a specific cause e.g. poor quality USB cable, insufficient power source, manual interruption/intervention, incorrect flashing software etc.. There are several techniques to recover from this situation published on the internet. Whilst this software has been extensively tested on the specific devices without problem, your usage of it is at your own risk.
linuxium
 
Posts: 56
Joined: Thu May 23, 2013 5:44 am

Re: Linuxium's Bootloader software to dualboot Android and L

Postby fanotis » Thu Mar 13, 2014 7:13 pm

hello

for Rikomagic MK802IV (old model) is it possible to have the update image with linuxium's bootloader software to dualboot android and linux ?

thanks :D
fanotis
 
Posts: 3
Joined: Thu Mar 13, 2014 7:07 pm

Re: Linuxium's Bootloader software to dualboot Android and L

Postby linuxium » Sun Mar 16, 2014 10:05 am

linuxium
 
Posts: 56
Joined: Thu May 23, 2013 5:44 am

Re: Linuxium's Bootloader software to dualboot Android and L

Postby fanotis » Sat Mar 29, 2014 9:48 am

Hi,
Now i have got the dualboot on my old modèle, but no wifi or bluetooth :( under Android.

This kernel is OK fort 8188 chipset ? :?
fanotis
 
Posts: 3
Joined: Thu Mar 13, 2014 7:07 pm

Re: Linuxium's Bootloader software to dualboot Android and L

Postby winux » Wed Apr 09, 2014 3:09 pm

Hi,
I've have bought the device rkm mk802IV (8gb) s/n: 20131201xxx and tried to installing linux, following the instructions given by Linuxium:
-Downloaded all required files : latest mk802IV image, xubuntu image.
-Connected the device in bootloader mode,
-Restored the last firmware image of my device (download from official site)
-Upgraded the firmware image(rikomagic-linuxium-bootloader) with rkbatchtool,
-flashing (linuxium-ubuntu1304-xubuntu-desktop-rfs.img) on sd card with Win32DiskImager.
and so far so good.
I have connected the device to my Tv and It boots from sdcard ; but i have a problem, the screen starts to blink and it is impossible to use.
Has anyone had the same problem?
Thanks in advance.
/winux
winux
 
Posts: 1
Joined: Wed Apr 09, 2014 2:47 pm

Re: Linuxium's Bootloader software to dualboot Android and L

Postby millo1978 » Thu Apr 10, 2014 10:28 pm

Me too :(
I don't know why

Inviato dal mio GT-I9300 utilizzando Tapatalk
millo1978
 
Posts: 13
Joined: Tue Apr 08, 2014 11:49 am

Re: Linuxium's Bootloader software to dualboot Android and L

Postby fanotis » Thu Jun 19, 2014 10:01 pm

Hello,

Rikomagic send a new firmware for old 802iv under Android 4.4. Can we install picuntu or ubuntu with this firmware ?
fanotis
 
Posts: 3
Joined: Thu Mar 13, 2014 7:07 pm


Return to Rikomagic MK802 IV Quad Core Forum

Who is online

Users browsing this forum: No registered users and 3 guests

cron