Run Any Android ROM From SD Card
Run Any Android ROM From SD Card
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
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.
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
ultimatexbmc
Senior Member
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
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
Search Page 1
12-01-2014, 23:40 #5
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
12-02-2014, 00:02 #6
RK3288
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
Join Date: Sep 2013 ./create-android-sdcard: Cannot create Android boot image ... exiting.
Posts: 4824 root@leonidas-UbuntuBox:/home/leonidas#
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
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
:
}
:
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
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?
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
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'
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
1 2 Next
http://freaktab.com/forum/tv-player-support/rk3188-devices/20734-run-any-android-rom-from-sd-card 6/6