Вы находитесь на странице: 1из 6

8/26/2018 Run any Android ROM from SD card - FreakTab.

com
y y
Login or Sign Up
Search Page 1

Search

FORUMS TODAY´S POSTS NEWS DEALS OF THE WEEK GADGETFREAK REVIEWS FREAKTAB MEDIA CENTER KODI ADDONS

Today's Posts Mark Channels Read Member List Calendar

Home Forum TV PLAYER SUPPORT Rockchip based TV-Players RK3188 Devices

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing
messages, select the forum that you want to visit from the selection below.

Run any Android ROM from SD card


This is a sticky topic.

POSTS LATEST ACTIVITY

Run any Android ROM from SD card #1


11-29-2014, 04:58

Run any Android ROM from SD card.

linuxium
Senior Member Ever wanted to try an Android ROM on your RK3188 device but don't want to flash it and risk bricking your device? Or maybe you've currently installed
Linux and want to try Android? I've created a tool to create a bootable SD card that can run Android directly from the SD card.

Join Date: Nov 2012 You will need a PC running Linux and an SD card of 8 GB or more, at least class 10 speed, and your Android ROM(s). In this example I've downloaded
Posts: 282 Radxa Rock's Kitkat ROM 'radxa_rock_android_kitkat_140909_update.img' from 'http://radxa.com/Rock/prebuilt_images'.

Download the tool from 'https://drive.google.com/file/d/0B99...3dBUjFzcUoyLWs'. After unzipping you will see a shell script called 'create-android-sdcard'
and a directory called 'Tools'.

First load your SD card into the PC and use a command like 'blkid' or 'lsblk' to identify its device name (e.g. /dev/sdc).

Now run the program and pass the name and location of the Android ROM you want to install onto the SD card,
Helloe.g.:
Guest, if you are reading this it means you
have not registered yet. Please take a second,
Click here to register, and in a few simple steps you
./create-android-sdcard radxa_rock_android_kitkat_140909_update.img will be able to enjoy all the many features of our fine
community. Note that lewd or meaningless
nicknames are prohibited (no numbers or letters at
The program will prompt you to confirm the name of the device for the SD card. Once confirmed it will then unpack
random) the Android
and pleaseROM, create
introduce partitions
yourself on section
in the
the SD card that mimic the ROM including a 'user' partition that will use the remaining space of the SD card.for
It will
youthen install
to meet ourthe Android ROM to the SD
community.
http://freaktab.com/forum/tv-player-support/rk3188-devices/20734-run-any-android-rom-from-sd-card 1/6
8/26/2018 Run any Android ROM from SD card - FreakTab.com
y y
card and notify you when complete.
Search Page 1

Finally just take the SD card and insert into your RK3188 device and power on to enjoy Android.

The initial boot is very slow so be patient. For some ROMs this actually seems like a very long time, so be extra patient! Subsequent boots however are
faster.

Everything should work 'out of the box' for Kitkat ROMs. For 4.2.2 ROMs as internal storage is implemented slightly differently, I did find one specific ROM
where 'Explorer' didn't recognise the internal storage but 'ES File Explorer' did. All other 4.2.2 ROMs worked fine.

In theory it should work with any Android ROM packed as an image. My program uses standard RK tools which are included in the 'Tools' directory. I've
included checks to ensure the ROM's format follows the traditional build layout so if the ROM, and in particular, the 'parameter' file is substantially different
then YMMV.

Enjoy!

Tags: None

Stuck

11-29-2014, 05:49 #2

Cool will give this a try when I get time - thanks

ultimatexbmc
Senior Member

Join Date: Jun 2014


Posts: 228

Team UX
http://www.ultimatexbmc.com/

http://www.freaktab.com/showthread.p...-ULTIMATE-XBMC

11-29-2014, 08:55 #3

Hi Ian,

no_spam_for_me
Retired Super
Moderator for this you will get a sticky
(Of cause not so much PC-Linux user here, but before we lost it in space...)

Join Date: Sep 2013 I also saw that you find a way to do the same for Linux at SD?
Posts: 4824 => https://plus.google.com/+IanMORRISON/posts/P6TNn3sisa2

Maybe you will also find a way at RK3288 devices....

Regards
Tom

RK3288 Devices
- Overview BOX (LINK !)
- Overview STICK (Dongle) (LINK !)

MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

11-29-2014, 13:06 #4

for minix neo x7


used firmware http://dl.radxa.com/rock/images/andr...911_sdcard.zip
used tool and method
http://radxa.com/Rock/SD_images
taki
Senior Member
(anything changed)

write clas 10 sandisc card


Join Date: Nov 2013
Posts: 461 inserd mmc slot minix neo x7 Hello Guest, if you are reading this it means you
first look recovery screen (I think erase my nandflash but anything load it) later boot raxdarock screen. have not registered yet. Please take a second,
about 50 secont look kitkat screen but wifi of minix dont work but everthing looks perfectly Click here to register, and in a few simple steps you
I try sdcard dual boot. if it work may be modifed will be able to enjoy all the many features of our fine
radxa_rock_ite_android_ubuntu_dual_boot_141107_sdc ard.zip community. Note that lewd or meaningless
nicknames are prohibited (no numbers or letters at
random) and please introduce yourself in the section
for you to meet our community.
http://freaktab.com/forum/tv-player-support/rk3188-devices/20734-run-any-android-rom-from-sd-card 2/6
8/26/2018 Run any Android ROM from SD card - FreakTab.com
y y

Search Page 1
12-01-2014, 23:40 #5

Hi linuxium, thanks for your efforts.


I'm trying this tool but i am stuck at the point that Android boot image created on sdcard. I test it with three different KitKat roms for my MK908ii.

Code:
kandilak
Senior Member root@leonidas-UbuntuBox:/home/leonidas# ./create-android-sdcard KitKat_T010_AP6210_public_20140403.img
./create-android-sdcard: Is your SD card loaded as '/dev/sdc' (y/n)? n
./create-android-sdcard: Do you want to use a different device? y
./create-android-sdcard: Enter new device name? /dev/sdb
Join Date: May 2013 ./create-android-sdcard: Is your SD card loaded as '/dev/sdb' (y/n)? y
Posts: 157 ./create-android-sdcard: Unmounting partitions on '/dev/sdb' ... done.
./create-android-sdcard: Unpacking Android image 'KitKat_T010_AP6210_public_20140403.img' ... done.
./create-android-sdcard: Unpacking Android boot image ... done.
./create-android-sdcard: Formatting SD card '/dev/sdb' ... done.
./create-android-sdcard: Flashing bootloader 'sdboot_rk3188.img' to '/dev/sdb' ... done.
./create-android-sdcard: Updating partition table on '/dev/sdb' ... done.
./create-android-sdcard: Calculating partition sizes for '/dev/sdb' ... done.
./create-android-sdcard: Creating 'cache' partition as '/dev/sdb1' with size of 128 MB ...done.
./create-android-sdcard: Making 'ext4' file system for 'cache' partition on '/dev/sdb1' ... done.
./create-android-sdcard: Creating 'data' partition as '/dev/sdb2' with size of 1020 MB ... done.
./create-android-sdcard: Making 'ext4' file system for 'data' partition on '/dev/sdb2' ... done.
./create-android-sdcard: Creating 'metadata' partition as '/dev/sdb3' with size of 4 MB ... done.
./create-android-sdcard: Making 'ext4' file system for 'metadata' partition on '/dev/sdb3' ... done.
./create-android-sdcard: Creating 'system' partition as '/dev/sdb4' with size of 768 MB ... done.
./create-android-sdcard: Making 'ext4' file system for 'system' partition on '/dev/sdb4' ... done.
./create-android-sdcard: Creating 'user' partition as '/dev/sdb5' using rest of space on '/dev/sdb' ... done.
./create-android-sdcard: Making 'vfat' file system for 'user' partition on '/dev/sdb5' ... done.
./create-android-sdcard: Updating Android boot source ... egrep: res: Is a directory
egrep: sbin: Is a directory
egrep: res: Is a directory
egrep: sbin: Is a directory
done.
./create-android-sdcard: Rebuilding Android boot image ... 3794 blocks

./create-android-sdcard: Cannot create Android boot image ... exiting.


root@leonidas-UbuntuBox:/home/leonidas#

I'm running this with ubuntu 14.04 on a VirualBox machine.

12-02-2014, 00:02 #6

RK3288

Yesterday Ian posted this:


no_spam_for_me RK3288 SD card bootloader binary is available from
Retired Super http://androtab.info/rockchip/u-boot/
Moderator however note the caveat that the eMMC bootloader takes precedence and that it needs to be erased to boot from SD card.

Source: https://plus.google.com/+IanMORRISON/posts
Join Date: Sep 2013
Posts: 4824

RK3288 Devices
- Overview BOX (LINK !)
- Overview STICK (Dongle) (LINK !)

MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

12-02-2014, 00:11 #7

Originally posted by kandilak


Hi linuxium, thanks for your efforts.
I'm trying this tool but i am stuck at the point that Android boot image created on sdcard. I test it with three different KitKat roms for my MK908ii.
no_spam_for_me
Retired Super Code:
Moderator
:
./create-android-sdcard: Rebuilding Android boot image ... 3794 blocks

Join Date: Sep 2013 ./create-android-sdcard: Cannot create Android boot image ... exiting.
Posts: 4824 root@leonidas-UbuntuBox:/home/leonidas#

I'm running this with ubuntu 14.04 on a VirualBox machine.

I'm not sure, BUT I think VirualBox is the problem (maybe there exists problems with access to devices at Host OS (at this case the SD))...
Hello Guest, if you are reading this it means you
Have you checked if the img (or how he/it call the file) which the tool try to write to the SD exists after the crash?
have not registered yet. Please take a second,
How will the script write this img to the SD (maybe with dd?)? Click here to register, and in a few simple steps you
If the img exists after the crash, try to use 'Win32DiskImager-0.9.5-binary.zip' ( http://sourceforge.net/projects/win3...files/Archive/
will be able to enjoy all) at
thewindows to writeof
many features it to
our fine
the SD... community. Note that lewd or meaningless
nicknames are prohibited (no numbers or letters at
random) and please introduce yourself in the section
for you to meet our community.
http://freaktab.com/forum/tv-player-support/rk3188-devices/20734-run-any-android-rom-from-sd-card 3/6
8/26/2018 Run any Android ROM from SD card - FreakTab.com
y y

RK3288 Devices Search Page 1


- Overview BOX (LINK !)
- Overview STICK (Dongle) (LINK !)

MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

12-02-2014, 00:26 #8

BS
Ok, every thing back, because the access to the SD seems to work (because of the partitions)

no_spam_for_me Code:
Retired Super
:
Moderator
MKKRNLIMG=${TOOLS_DIR}/mkkrnlimg
:
CREATE_PARTITIONS_ON_SDCARD()
Join Date: Sep 2013 {
Posts: 4824 echo -n "$0: Calculating partition sizes for '${SDCARD}' ... "
:
}
:
CONVERT_ANDROID_IMAGE_TO_RUN_ON_SDCARD()
{
:
${MKKRNLIMG} boot.img-ramdisk.cpio.gz boot.img > /dev/null 2>&1 && ANDROID_IMAGE_CREATION_SUCCESSFUL=true
if ! ${ANDROID_IMAGE_CREATION_SUCCESSFUL}; then
ERROR "Cannot create Android boot image"
fi
:
}
:

It happens at the point where the tool try to build boot.img...

RK3288 Devices
- Overview BOX (LINK !)
- Overview STICK (Dongle) (LINK !)

MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

12-02-2014, 06:13 #9

Originally posted by kandilak


Hi linuxium, thanks for your efforts.
I'm trying this tool but i am stuck at the point that Android boot image created on sdcard. I test it with three different KitKat roms for my MK908ii.
linuxium
Senior Member Code:
root@leonidas-UbuntuBox:/home/leonidas# ./create-android-sdcard KitKat_T010_AP6210_public_20140403.img

Join Date: Nov 2012


Posts: 282

Please can you send me a link to where I can download the ROM KitKat_T010_AP6210_public_20140403.img so I can investigate?

Is it always the same error for each different ROM? If not, can you send me links to the other two ROMs as well?

12-02-2014, 06:24 #10

Originally posted by linuxium


Please can you send me a link to where I can download the ROM KitKat_T010_AP6210_public_20140403.img so I can investigate?
kandilak
Is it always the same error for each different ROM? If not, can you send me links to the other two ROMs as well?
Senior Member

it is the same error for each rom.


Join Date: May 2013 http://www.freak-tab.de/wasser/wasse...-um2-1.0.1.zip
Posts: 157 Hello Guest, if you are reading this it means you
https://www.dropbox.com/s/m5rplkt5b1...e_new.img?dl=0
have not registered yet. Please take a second,
https://mega.co.nz/#!WgR0WCZC!UPxulf...8YLozyjv5BTcCQ Click here to register, and in a few simple steps you
will be able to enjoy all the many features of our fine
community. Note that lewd or meaningless
nicknames are prohibited (no numbers or letters at
random) and please introduce yourself in the section
for you to meet our community.
http://freaktab.com/forum/tv-player-support/rk3188-devices/20734-run-any-android-rom-from-sd-card 4/6
8/26/2018 Run any Android ROM from SD card - FreakTab.com
y y
12-03-2014, 04:51 #11
Search Page 1

Originally posted by kandilak


it is the same error for each rom.
http://www.freak-tab.de/wasser/wasse...-um2-1.0.1.zip
linuxium
Senior Member
https://www.dropbox.com/s/m5rplkt5b1...e_new.img?dl=0

https://mega.co.nz/#!WgR0WCZC!UPxulf...8YLozyjv5BTcCQ
Join Date: Nov 2012
Posts: 282
I can confirm there is no problem with these ROMs using the script on native Ubuntu 12.04 so ...

I've just spent several hours rebuilding a Windows PC and installing Virtual Box and Ubuntu 14.04 only to find I cannot get it to recognise my USB micro SD
card reader ...

If you know of the secret to getting a USB to be seen within VB, please let me know

12-03-2014, 07:37 #12

No problem here, VB (Ubuntu 14.04) using my USB micro SD card reader.


Btw great work
You should make one for linux, because i want to use my own kernel on this image "linux-sdcard-rkm-mk802iv-new.img" and i dont know how to change it,
superceleron maybe you can help?
Senior Rom Or show how to build a linux-sdcard.
Developer
Regards.

Join Date: Sep 2014


Posts: 2966

12-03-2014, 08:05 #13

Originally posted by linuxium


I can confirm there is no problem with these ROMs using the script on native Ubuntu 12.04 so ...
no_spam_for_me
I've just spent several hours rebuilding a Windows PC and installing Virtual Box and Ubuntu 14.04 only to find I cannot get it to recognise my USB
Retired Super
micro SD card reader ...
Moderator

If you know of the secret to getting a USB to be seen within VB, please let me know
Join Date: Sep 2013
Posts: 4824 VirtualBox and USB are two parts which often have problems (instead of VMWare Workstation at 2.0)... It depends on the Host OS and also on the USB-
chip-set...
But at older VMWare Workstation (~1/2 year ago and older) they also have problems with USB 3.0 ... maybe meanwhile fixed???

RK3288 Devices
- Overview BOX (LINK !)
- Overview STICK (Dongle) (LINK !)

MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

12-04-2014, 02:33 #14

Originally posted by no_spam_for_me


Hi Ian,
linuxium
Senior Member

Join Date: Nov 2012 for this you will get a sticky
Posts: 282 (Of cause not so much PC-Linux user here, but before we lost it in space...)

I also saw that you find a way to do the same for Linux at SD?
=> https://plus.google.com/+IanMORRISON/posts/P6TNn3sisa2

Maybe you will also find a way at RK3288 devices.... Hello Guest, if you are reading this it means you
have not registered yet. Please take a second,
Regards Click here to register, and in a few simple steps you
Tom will be able to enjoy all the many features of our fine
community. Note that lewd or meaningless
nicknames are prohibited (no numbers or letters at
For RK3288 please see my new post here random) and please introduce yourself in the section
for you to meet our community.

http://freaktab.com/forum/tv-player-support/rk3188-devices/20734-run-any-android-rom-from-sd-card 5/6
8/26/2018 Run any Android ROM from SD card - FreakTab.com
y y

Search Page 1

12-04-2014, 02:35 #15

Originally posted by superceleron


No problem here, VB (Ubuntu 14.04) using my USB micro SD card reader.
linuxium Btw great work
Senior Member You should make one for linux, because i want to use my own kernel on this image "linux-sdcard-rkm-mk802iv-new.img" and i dont know how to
change it, maybe you can help?
Or show how to build a linux-sdcard.
Join Date: Nov 2012 Regards.
Posts: 282

For Linux please see here

1 2 Next

FreakTabNew Black HELP CONTACT US GO TO TOP

Powered by vBulletin® Version 5.3.4


Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.
FreakTab Network - Copyright 2012 - 2017 Rainer Trunk - Rainer Pfitzner - RW Welcome Panel / Top X Stats by InfoPanels (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
All times are GMT-8. This page was generated at 01:54.

http://freaktab.com/forum/tv-player-support/rk3188-devices/20734-run-any-android-rom-from-sd-card 6/6