Run any Android ROM from SD card. - Android Stick & Console AllWinner based Computers

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.
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 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/0B99O3A0dDe67b3dBUjFzcUoyLWs'. 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, e.g.:
./create-android-sdcard radxa_rock_android_kitkat_140909_update.img
The program will prompt you to confirm the name of the device for the SD card. Once confirmed it will then unpack the Android ROM, create partitions on the SD card that mimic the ROM including a 'user' partition that will use the remaining space of the SD card. It will then install the Android ROM to the SD card and notify you when complete.
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!

I'm going to try this on my Timing Power RK3188 Mini PC later today. Thanks!

Any idea why it's telling me cannot create kernel image?

Type password to decrypt storage.
I downloaded the rom as from ricomagic
FW_141208:S/N from 201307**** till now
First I installed the rom in Nand and then created the sd card as described( with the same rom). After few seconds after booting , android shows the message :Type password to decrypt storage.
Passwords like p, root ... does not work. Any hint or direction to search for?
Thank you for all well done work.
Edit:
I got a better aproach at (Linuxium) - 21 de jun de 2014
First form official rikomagic web site i installed the latest stock firmware
MK802IV_AP6210_141208. (kitkat)
Then I downloaded make-rkm-mk802iv.7z and create a linux sd-card
Thank you for your great work!
Murilo

can i do it with a usb instead of sd card because my android box do not have a sdcard port

thank you

can i try on any box or its only specific box?

Linuxium said:
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.
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 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/0B99O3A0dDe67b3dBUjFzcUoyLWs'. 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, e.g.:
./create-android-sdcard radxa_rock_android_kitkat_140909_update.img
The program will prompt you to confirm the name of the device for the SD card. Once confirmed it will then unpack the Android ROM, create partitions on the SD card that mimic the ROM including a 'user' partition that will use the remaining space of the SD card. It will then install the Android ROM to the SD card and notify you when complete.
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!
Click to expand...
Click to collapse
download??? link please

Related

[ROM][CM7] [v1.3] Size-agnostic SD Card image and CM7 installer for SD Cards.

Due to popular demand I have created a size-agnostic SDCard CM7 installer.
Also allows to install unmodified CM7 builds on SD card.
Current version: 1.3
Grab the installer image here:
http://crimea.edu/~green/nook/generic-sdcard-v1.3.img.gz
it's a ~9M image that would unpack into ~130M disk image.
Also note - not all SD cards are created equal. Here is a thread of interest is you have not bought one yet: http://forum.xda-developers.com/showthread.php?p=12964262
Short version: buy Sandisk-branded class 4 microSD cards.
Write the image on your SD card. I tested with 2G, 4G and 8G cards and all worked.
Any uSD card of 1G or bigger in size should work if it is recognized by your nook.
Write on Windows by using WinImage and on Linux/MacOS X by using dd (to the entire device, not one of the partitions. The device name should not have any numbers at the end. The command is something like dd if=/somewhere/generic-sdcard.img of=/dev/sdX bs=1024k)
After done with writing, eject and then re-insert the uSD card into your computer.
Download a CM nightly build from here http://download.cyanogenmod.com/?device=encore (It is recommended to choose -87 nightly or later. If you plan to use prior version for initial install, stick with installer 1.2.1 for a different u-boot version)
Or just use your own update-cm-*-KANG-signed.zip file that is produced if you do your own builds.
The image would correctly detect unmodified CM7 builds and would make necessary adjustments to make them work on SD card.
Put the file to the SD card (there is only one partition). Don't change the name of the file.
unmount the uSD card and insert it into the nook.
Boot from this SD card. It'll boot and will update you on progress.
When it's done, it'll power off.
That's it, you now have CM7 on your SD card.
How to install market and gapps:
After you have booted into the CM7 on SD card for the first time and set up wifi access (important!)
Go to http://wiki.cyanogenmod.com/index.php?title=Latest_Version and at the end there is a table with various google apps versions. Get the one suitable for your cyanogen version (CM7 is the latest for now). The file is named gapps-....zip
shutdown your nook and take the SD card out, insert it into your computer.
Copy the gapps-... file to the SD card on the first partition (titled boot) without changing the file name.
Insert the uSD card back into the NOOK and boot into "Recovery mode" (hold nook N key and then press and hold power until the "Loading..." message appears and then disappears with screen going blank. Release power button, then press it again and hold for ~5 seconds, the bootloader "Loading..." message should be on the screen for three seconds or so before you release power button, keep holding N button until screen blanks again. If the screen went off while you were holding the power key, that means you were holding it for too long).
Alternatively if you do not want to fight the timing, boot normally into Android, then from desktop hold power key until a poweroff menu appears, In the poweroff menu choose "reboot", in the next menu choose "recovery" and press "OK". The nook would reboot straight into recovery.
How to update to a new build:
put the new build you want to try on the first partition. (the name must be update-cm-*.zip or cm_encore_full*.zip or just update-*.zip)
Boot from the SDcard in the recovery mode (see above) and the new snapshot would be installed.
The partition layout would be preserved, filesystems are NOT reformatted, so your data should be safe.
Installing other stuff:
Booting in recovery mode would install all files that are named "update-..." and end with .zip The files would then be deleted! Most of the packages should work, but I only tested a subset and not entire syntax of updater script is implemented. Certainly format and delete are not implemented.
OC Kernel installation instructions:
Starting with v1.2.1 there are no special instructions, install normally as described above.
Partition layout for the SD cards depends on size:
Less than 600M - unsupported.
up to 1G cards gets: system of ~300M and data of the rest of space. No FAT partition
2G cards (more than 1G up to 1800M) gets: 300M system, 612M data, rest is FAT sdcard
more than 2G cards gets: 460M system, 975M data, rest is FAT for sdcard.
How to update if you already installed using older version of the installer and don't want to reinstall (understandably):
Get update zip from http://crimea.edu/~green/nook/update-genimage-1.3.zip
Put the zip file as is onto the first partition of your sdcard..
reboot into recovery (triggered by the keys, the reboot into recovery does not work yet).
The new version would be installed and you are done.
You can combine this installation together with updating to .32 kernel in one step. Just put the update-cm file and the update-genimage-1.3.zip to the first partition. Make sure there is still at least 1M of space left!
Changes in 1.3
Install u-boot.bin and MLO loaders if provided.
Fixed a problem that led to overwrite of recovery kernel if a nightly was installed more than once)
(only in full image) updated u-boot to ignore BCB as that was a common source of problems. (that's why this version is not recommended for initial install with older nightlies, those don't provide a more correct u-boot for later operations. It's fine to do the update from older installer release, though)
Changes in 1.2.1
Really fixed dalingrin kernel packages installation
A bit more robust handling of install scripts
Changes in 1.2
Updated to new u-boot from B&N 1.2 update
Ability to obey BCB in eMMC (allows reboot into recovery from CM7)
Hopefully simplified the timing to trigger recovery boots from keyboard
Added support for Dalingrin's kernel update packages
The v1.1 version that is known good to work with 2.6.29 kernel releases is located at http://crimea.edu/~green/nook/generic-sdcard-v1.1.img.gz
This is very cool, thanks! My father bought a nook color after seeing mine, and after hearing what I have been able to get mine to do (thanks to the efforts of all the devs here) he has wanted to play a little more with his. Thanks to you, I have an easy way to set up the SD card and then ship it up to him. I can give him a taste without having to force him to even root his yet. Thanks again!
Very nice! Thanks.
Care to share the dates and differences between your build and say CM's? or perhaps a link to your builds progress?
I know you have done great work with BT, didn't want to get off topic, but I'm curious.
Thanks again.
12paq said:
Very nice! Thanks.
Care to share the dates and differences between your build and say CM's? or perhaps a link to your builds progress?
I know you have done great work with BT, didn't want to get off topic, but I'm curious.
Thanks again.
Click to expand...
Click to collapse
I did not work on BT (other than helping with testing), so I don't claim any credits there.
The difference between standard build and my build so far is only that my build has patched init files to boot from SD right in the zip file. (CM7 checkout as of today ~12pm), it was only created for testing, before I rolled the code that could update vanilla builds to work on SD cards.
You can use unmodified CM7 nightlies with this sdcard image now. The image itself does not contain any CM7 code, you need to copy zip file with it after writing the image to the SD card, but before attempting to boot.
Verygreen, I believe you have won the game. Congratulations!
Ah yes, I stand corrected, you created the first CM7 sd bootable for testing of BT.
Thanks again for your time on this latest project!
First off, this works very well! Thanks!
Now, after getting CM7 running on the sdcard, I plug the device into the usb port on my computer and instruct it to mount the sdcard. But, instead of the sdcard partition being mounted, the emmc partition is mounted.
Was that intentional or is it a bug?
Thanks
Thanks very easy to setup!
atomclock said:
First off, this works very well! Thanks!
Now, after getting CM7 running on the sdcard, I plug the device into the usb port on my computer and instruct it to mount the sdcard. But, instead of the sdcard partition being mounted, the emmc partition is mounted.
Was that intentional or is it a bug?
Thanks
Click to expand...
Click to collapse
New code in CM7 actually should cause both internal MMC AND sdcard to be mounted.
That is unless you used 1G sdcard, 1G sdcard does not have any mountable free space and then you'd only see emmc content as mountable.
verygreen said:
New code in CM7 actually should cause both internal MMC AND sdcard to be mounted.
That is unless you used 1G sdcard, 1G sdcard does not have any mountable free space and then you'd only see emmc content as mountable.
Click to expand...
Click to collapse
I'm using an 8Gb sdcard and I can access both the emmc and sdcard partitions through ADB but only the emmc partition is mounted.
So, I just need to try this with a different nightly build until I find one where the issue is corrected?
Well, I tried it with both cm_encore_full-25 and cm_encore_full-26 and still only the emmc partition is mounted.
atomclock said:
I'm using an 8Gb sdcard and I can access both the emmc and sdcard partitions through ADB but only the emmc partition is mounted.
So, I just need to try this with a different nightly build until I find one where the issue is corrected?
Well, I tried it with both cm_encore_full-25 and cm_encore_full-26 and still only the emmc partition is mounted.
Click to expand...
Click to collapse
As long as everything is mounted internally I don't think my changes broke anything else, so if there is a bug it's in the CM7 build itself.
I don't actually mount my nook on the computer, so I don't even know how to enable it by default come think of it.
I just know there was an ongoing work in this area to allow simultaneous mounting of multiple volumes and I heard it was already included, though I am not 100% sure about that.
To verygreen:
Well, I'm certainly doing something wrong here:
1. Using Win32DiskImager release 0.2 r23, i burnt my 2 GB with your generic.... .img image.
2. Copied your update.... .zip (on a second attempt an original cm_encore... .zip, plus gapps-GB-20110307-...zip, as installer was asking for it, at least to inflate), now I suspect your "put" is not equal to my "copy".
3. Tried to boot, enjoyed the penguin and boot scroll, but after everything was finished and prepared to "really" boot the boot was executed from my eMMC instead.
aludal said:
To verygreen:
Well, I'm certainly doing something wrong here:
1. Using Win32DiskImager release 0.2 r23, i burnt my 2 GB with your generic.... .img image.
2. Copied your update.... .zip (on a second attempt an original cm_encore... .zip, plus gapps-GB-20110307-...zip, as installer was asking for it, at least to inflate), now I suspect your "put" is not equal to my "copy".
3. Tried to boot, enjoyed the penguin and boot scroll, but after everything was finished and prepared to "really" boot the boot was executed from my eMMC instead.
Click to expand...
Click to collapse
Yes, the automatic reboot boots into eMMC for now, I am looking into it.
So just reboot again with the card in.
also, don't put gapps on the card at the first try. This combination does not boot for me into the desktop for some reason that I did not get to the root of. Possibly because it want internet connection setup that still is not if you try it on your first boot.
Thanks verygreen! This is a fantastic build! I was able to quickly and easily install this on my sd card.
Thanks again!
verygreen said:
Yes, the automatic reboot boots into eMMC for now, I am looking into it.
So just reboot again with the card in.
also, don't put gapps on the card at the first try. This combination does not boot for me into the desktop for some reason that I did not get to the root of. Possibly because it want internet connection setup that still is not if you try it on your first boot.
Click to expand...
Click to collapse
Somehow I went into non-booting phase, lol. My guess is after booting into my rooted Eclair with bookmarks-and-other-stuff-to SD I've got me an SD card not really good for "second" boot. Just have no idea what Eclair might do to that EXT4.
Anyways, repeated the experiment, now with pressing Power for >5 sec. Has booted into CyanogenMod 7 without a problem.
Can't do whatever testing: missing GAPPS very mucho! Please, Mr. verygreen, compile it into your image. In any case, I'm not really interested in swapping nightlies on this card -- by the last commits they didn't change much/significantly since n18. Just a static SD image of CM7 n26 + latest (03072011) Gapps will be a very desirable "mod" of yours. In any case you did exactly that (minus Gapps) for n17. Sure, there's a complete procedure of building SD image, but it's obviously much better followed when with a Linux box, and I don't have it.
aludal said:
Somehow I went into non-booting phase, lol. My guess is after booting into my rooted Eclair with bookmarks-and-other-stuff-to SD I've got me an SD card not really good for "second" boot. Just have no idea what Eclair might do to that EXT4.
Click to expand...
Click to collapse
Supposedly nothing. I routinely boot into eclair and then insert CM7 sdcard and it's fine.
aludal said:
Can't do whatever testing: missing GAPPS very mucho! Please, Mr. verygreen, compile it into your image. In any case, I'm not really interested in swapping nightlies on this card -- by the last commits they didn't change much/significantly since n18. Just a static SD image of CM7 n26 + latest (03072011) Gapps will be a very desirable "mod" of yours. In any case you did exactly that (minus Gapps) for n17. Sure, there's a complete procedure of building SD image, but it's obviously much better followed when with a Linux box, and I don't have it.
Click to expand...
Click to collapse
I can't distribute gapps, like I said
Well, until I figure out why recovery boot does not work what you can try to do is this:
after initial install was successful (and you setup your wireless), power off the nook, get the sd card.
Download gapps-gb-...zip and put it on the first partition.
move the uImage file to uImage.bak and uRamdisk to uRamdisk.bak.
Copy uRecImage to uImage and uRecRam to uRamdisk.
boot with the resulting image. It should say that it found the gapps archive and unpack it.
After it flushes caches and reboots, power off, put the sd card back into the computer
move uImage.bak to uImage and uRamdisk.bak to uRamdisk
boot off the card again, hopefully the gapps are working after that.
Please let me know if any problems arise.
verygreen said:
Supposedly nothing. I routinely boot into eclair and then insert CM7 sdcard and it's fine.
I can't distribute gapps, like I said
Well, until I figure out why recovery boot does not work what you can try to do is this:
after initial install was successful (and you setup your wireless), power off the nook, get the sd card.
Download gapps-gb-...zip and put it on the first partition.
move the uImage file to uImage.bak and uRamdisk to uRamdisk.bak.
Copy uRecImage to uImage and uRecRam to uRamdisk.
boot with the resulting image. It should say that it found the gapps archive and unpack it.
After it flushes caches and reboots, power off, put the sd card back into the computer
move uImage.bak to uImage and uRamdisk.bak to uRamdisk
boot off the card again, hopefully the gapps are working after that.
Please let me know if any problems arise.
Click to expand...
Click to collapse
I just tried following your directions for installing the gapps zip file. After renaming the uImage and the uRamdisk files the nook boots to your recovery with the penguin shows up with the follow:
Populating /dev using udev: done
Initializing random number generator....done
modprobe: chdir (2.6.32.9): No such file or directory
Starting network...
Detected Standard B&N nook layout, emmc first
It appears the SD card is already properly formatted
Skipping format
Mounting /dev/mmcblk1p1 as /boot
Looking for the install images....
Initial Install files not found
Please download it from nook.linuxhacker.ru
and put on first partition of this SD card
the name should start with updatei-cm and end with .zip
Then the cursor just sits. No installation of the .zip file. Do I have to have the original cm zip file on the sd card with the gapp zip file? I thought it was posted that doesn't work.
Also thanks for the great work on this so far.
Absolutely Fantastic and pain free. You have done a great service.
Thanks
verygreen -
Would this work with an Android 3.0 Honeycomb Preview build, instead of a CM7 build ?
Modra76 said:
I just tried following your directions for installing the gapps zip file. After renaming the uImage and the uRamdisk files the nook boots to your recovery with the penguin shows up with the follow:
Populating /dev using udev: done
Initializing random number generator....done
modprobe: chdir (2.6.32.9): No such file or directory
Starting network...
Detected Standard B&N nook layout, emmc first
It appears the SD card is already properly formatted
Skipping format
Mounting /dev/mmcblk1p1 as /boot
Looking for the install images....
Initial Install files not found
Please download it from nook.linuxhacker.ru
and put on first partition of this SD card
the name should start with updatei-cm and end with .zip
Then the cursor just sits. No installation of the .zip file. Do I have to have the original cm zip file on the sd card with the gapp zip file? I thought it was posted that doesn't work.
Also thanks for the great work on this so far.
Click to expand...
Click to collapse
Seeing the same. Also tried naming the gapps file "update.zip", to no avail.

Restore Internal SD Card from zip ROM streak 5

Hello friends, how are you?
I'm from Portugal, and i have one nice strek 5 working great.
But i have another two, that don't boot, it stuck on delll Logo.
i think another my friends try to root or update, and fail.
it don't make any fast boot or streak mod.
so i disassemble to read its sd card.
because i'm using windows, so i install DiskInternalls Linux Reader to have acess to sd card files.
When mounted, its show two volumes, "Linux Ext Volume 1" and "Linux Ext Volume 2"
the firs one have 244 Mbs, and the other one have 1.65Gb
the small one have two folders, lost+found, recovery and a lot of jpeg files in root folder.
the second one, that have 1.65Gb, have a lot od folders and semms a lot of a zipped rom image.
Its possible just decompress and copy to the volume?
Thanks
If you format the card and put it back in the streak, it should set it up automatically. However, you will lose anything on it this way.
Ok. i will try..
but, it don't need to write some data in "boot area" ?
I'm asking that, becouse i download 3 roms, all ziped, but easy to see files, i also download streak mod, and has only one img file, it can't be unzipped..
my firts idea, was copy streak boot files, to card, but i can't acess it..
My assumption, and it is only an assumption, is there is some sort of actual rom memory on the phone that holds the lowest levels of the operating system. Maybe fastboot and the recovery menu, but not recovery itself. The rom actually resides on the internal sd card. When I put in my freshly formatted sd card, I simply rebooted the phone and I don't remember if it was automatic, or I had to confirm it, but the streak partitioned/formatted/whatever the internal sd card itself. I then flashed a recovery and a rom.
Hello.
like you said, i have insert a new sd card, but formated in FAT, i think thats the problem.
I try to load Linux Live CD, and format in ext2/3.
or try to copy rom directly file to sd card.
You think might work?
***EDIT***
I have format the card, and i have inserted into sreak and turn it on..
How much time is preparing the new card ?
and how i know that is ready to reboot?
thanks
I have created an image of my inner SD Card right after a factory reset.
Download Here
I created this using Clonezilla, you should be able to use Clonezilla to restore it. It is an image of the entire sd card. You need to unzip the downloaded file to use it.
Note: I am running DSC_Rom, which is Gingerbread based. I don't think it makes a difference.
marvin02 said:
I have created an image of my inner SD Card right after a factory reset.
Download Here
I created this using Clonezilla, you should be able to use Clonezilla to restore it. It is an image of the entire sd card. You need to unzip the downloaded file to use it.
Note: I am running DSC_Rom, which is Gingerbread based. I don't think it makes a difference.
Click to expand...
Click to collapse
cannot start clonezilla iso
slav_pu6 said:
cannot start clonezilla iso
Click to expand...
Click to collapse
You burn the .iso file to a cd and boot it.

[Q] Is it possible to double a N2A card for Nook Tablet?

My cousin and I want to get Nook Tablets 16GB to mess around with, but we don't have the time anymore to (sorry, *I* don't have the time anymore, she can't figure out technology whatsoever) to figure out if we're always doing things right via the forums at this point and stay updated.
I still want to support the community as I've utilized a lot of information (namely for my old HTC TP2) here. I was thinking about buying an N2A card for the both of us, but wanted to make sure that I can copy the files from one card to another SD card so that we can use them in our respective tablets. And I rest easier knowing that I was able to make a small contribution to the community.
Is this possible? We'd both like to access the Google Play market.
Use the link in my sig. It literally takes 5 minutes after you make the cards, and you can get screaming deals on cheap cards (you can probably find 2 2gig cards for about $10) and then you'll both have full access to the market and still have access to the stock interface if you so choose (note that you will not be able to use apps downloaded from the Play store on the stock interface if you're on firmware 1.4.3, only on an aftermarket launcher).
rebelx said:
My cousin and I want to get Nook Tablets 16GB to mess around with, but we don't have the time anymore to (sorry, *I* don't have the time anymore, she can't figure out technology whatsoever) to figure out if we're always doing things right via the forums at this point and stay updated.
I still want to support the community as I've utilized a lot of information (namely for my old HTC TP2) here. I was thinking about buying an N2A card for the both of us, but wanted to make sure that I can copy the files from one card to another SD card so that we can use them in our respective tablets. And I rest easier knowing that I was able to make a small contribution to the community.
Is this possible? We'd both like to access the Google Play market.
Click to expand...
Click to collapse
If you are really wanting to go the N2A route (I personally would not), use Win32diskimager to READ the image (for backup purposes). Safely eject card. Insert new card and WRITE image. Safely eject card. Backup done!
Or do the $20 download only and buy your cards yourself. In any case, let us know what you do!
rebelx said:
My cousin and I want to get Nook Tablets 16GB to mess around with, but we don't have the time anymore to (sorry, *I* don't have the time anymore, she can't figure out technology whatsoever) to figure out if we're always doing things right via the forums at this point and stay updated.
I still want to support the community as I've utilized a lot of information (namely for my old HTC TP2) here. I was thinking about buying an N2A card for the both of us, but wanted to make sure that I can copy the files from one card to another SD card so that we can use them in our respective tablets. And I rest easier knowing that I was able to make a small contribution to the community.
Is this possible? We'd both like to access the Google Play market.
Click to expand...
Click to collapse
You can use the method/tools posted here and here to build an SD card version of blogpost author's CM10 ROM, or the current version of some other CM10 ROM varieties such as "CM10 "Jelly Bean" 0.08.x", "CM10 PURE AOSP 4.1.2 JBV06.1-Hashcode", and "SGT7+CM10+Cherry Picks" which are posted and discussed on XDA Barnes & Noble Nook Tablet Dev. Forum.
digixmax said:
You can use the method/tools posted here and here to build an SD card version of blogpost author's CM10 ROM, or the current version of some other CM10 ROM varieties such as "CM10 "Jelly Bean" 0.08.x", "CM10 PURE AOSP 4.1.2 JBV06.1-Hashcode", and "SGT7+CM10+Cherry Picks" which are posted and discussed on XDA Barnes & Noble Nook Tablet Dev. Forum.
Click to expand...
Click to collapse
It took me a few hours of trial and error but I sat down with my 4gb sandisk card and the second link up there and am now typing on my NT running CM10 off the SD card. There are a few glitches in the guide above, but I can walk you through them if you like.
Building a CM10 SD card for NT
FWIW, here the process I follow to build a CM10 SD card for my 16GB Nook Tablet:
1. Get the pair of files cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip and cm-10-yyyymmdd-UNOFFICIAL-acclaim_sd_hd.zip from http://iamafanof.wordpress.com/2012/11/03/cm10-0-jelly-bean-for-nook-tablet-uploading/
2. Create 4 partitions using MiniTool Partition Wizard Home Edition per the instructions at http://iamafanof.wordpress.com/2012/11/11/how-to-guide-bootable-cm7cm9cm10-sdcard-for-nook-tablet/: boot, system, data, and sdcard. Make sure that you set the partition ID type for the boot partition to 0x0C FAT32 LBA and set its Active flag, otherwise the SDcard will not be bootable. Once this is done, the boot partition should appear as a (read/write accessible) drive under Windows. (Note that you can adjust the suggested sizes of the partitions upward to fill up the entire SDcard; FWIW the sizes I use on my 8GB card for the 4 partitions are, respectively: 0.5GB/0.5GB/2GB/[remainder of SDcard]).
3. Copy to the boot partition of the SD card the following files from cm-10-yyyymmdd-UNOFFICIAL-acclaim_sd_hd.zip: boot.img (in folder p2), flashing_boot.img, MLO, recovery.img, u-boot.bin.
4. Replace updater-script in folder META-INF\com\google\android of cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip with the updater-script from in folder p2 of cm-10-yyyymmdd-UNOFFICIAL-acclaim_sd_hd.zip.
5. Replace vold.fstab in folder system/etc of cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip with the vold.fstab from folder CM10_Jelly_Bean\1_os of SD_Boot.zip (obtained http://iamafanof.wordpress.com/2012/11/11/how-to-guide-bootable-cm7cm9cm10-sdcard-for-nook-tablet/).
6. Replace updater-script in folder META-INF\com\google\android of gapps-jb-20121011-signed.zip (obtained from http://goo.im/gapps/gapps-jb-20121011-signed.zip) with the updater-script in folder CM10_Jelly_Bean\p2\gapps of SD_Boot.zip.
7. Copy to the boot partition of the SD card cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip and gapps-jb-20121011-signed.zip that get modified with the replacement updater-scripts and vold.fstab files in the above steps (which cause the CM10 ROM and JellyBean Google Apps to be installed on the SDcard rather than on your NT itself).
You should now have a bootable SD card with 7 files on it, ready for the phase of “installing ROM and gapps” described at http://iamafanof.wordpress.com/2012/11/11/how-to-guide-bootable-cm7cm9cm10-sdcard-for-nook-tablet/.
A few additional points worth noting:
If your NT is like mine, you will have to plug in the powered USB cable to the NT in its power-off state -- in order for the NT to boot from the SDcard.
Generally the lower rating (and also cheaper) class 4 SD cards are more suitable for running a ROM than the higher classes 6 and 10 cards (since the latter are optimized for large & sequential block read/write at the expense of random read/write). So if you happen to use a class 10 or 6 card and your apps frequently crash or freeze, consider switching to a lower class SD card.

[Q] Writing a ROM file to SD card?

I have a Nook Tablet (NT8) which I am using with a custom ROM, which I downloaded from a site called 'Android for Nook'. It was in the form of an image file which I wrote to an SD card, giving me a bootable SD card, keeping the original Nook OS untouched. It appears to be based on CW7, and has lots of bugs. I am looking for something more stable. I recently came across this file:
cm-10-20121207-UNOFFICIAL-acclaim.zip
I have a lot of experience with flashing ROM files from recoveries and such on other Android phones. The Nook is a strange animal, because we are booting from an SD card. What I would like to do is boot from the recovery on the Nook's SD card, and flash that zip file over the old 'ROM' on the SD card. Essentially just as if I was replacing one ROM with another one on an Android phone. However, if I do this from the Nook's recovery, I will likely end up replacing the internal OS, which I want to keep intact.
Any tips on how I can take that zip file and make it into a bootable SD card would be appreciated.
http://iamafanof.wordpress.com/2012/11/18/cm10-0-jellybean-sdcard-img-for-nook-tablet/
Thanks. The image file is over a year old, but I might be able to make use of the updating instructions.
mnealbarrett said:
Thanks. The image file is over a year old, but I might be able to make use of the updating instructions.
Click to expand...
Click to collapse
No, it isn't, it was just updated less than two weeks ago as well.

[HOW-TO] Building a CM10.0 SD card for Nook Tablet

NOTE: to build CM10.1 SD card, see http://forum.xda-developers.com/showpost.php?p=36685310&postcount=1.
[Caveat emptor: adopt/follow this guide at your own risk].
FWIW, below is a digest of the process to create a SD card running CM10.0 builds by XDA Developer Succulent which is posted at his blog http://iamafanof.wordpress.com and which I have used to build a CM10.0 SD card for my 16GB Nook Tablet:
Download the pair of files cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip and cm-10-yyyymmdd-UNOFFICIAL-acclaim_sd_hd.zip from http://iamafanof.wordpress.com/2012/11/03/cm10-0-jelly-bean-for-nook-tablet-uploading/, and SD_Boot.zip from http://iamafanof.wordpress.com/2012/11/11/how-to-guide-bootable-cm7cm9cm10-sdcard-for-nook-tablet/.
Download gapps-jb-20121011-signed.zip from http://goo.im/gapps/gapps-jb-20121011-signed.zip.
Using a disk partition tool (such as MiniTool Partition Wizard Home Edition) create 4 partitions: boot (Primary, FAT32), system (Primary, Ext4), data (Primary, Ext4), and sdcard (Primary, FAT32). Set the partition ID type for the boot partition to 0x0C FAT32 LBA and set its Active flag (otherwise the SDcard will not be bootable). Once this is done, the boot partition should appear as a (read/write accessible) drive under Windows. (Note that you can adjust the suggested sizes of the partitions upward to fill up the entire SDcard; FWIW the sizes I use on my 8GB card for the 4 partitions are, respectively: 0.5GB/0.5GB/2GB/[remainder of SDcard]).
Copy to the boot partition of the SD card the following files from cm-10-yyyymmdd-UNOFFICIAL-acclaim_sd_hd.zip: boot.img (in folder p2), flashing_boot.img, MLO, recovery.img, u-boot.bin.
Modify the zip files using drag and drop with winrar/winzip (do not extract and repack the zip files):
Replace updater-script in folder META-INF\com\google\android of cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip with the updater-script from in folder p2 of cm-10-yyyymmdd-UNOFFICIAL-acclaim_sd_hd.zip.
Replace vold.fstab in folder system/etc of cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip with the vold.fstab from folder CM10_Jelly_Bean\1_os of SD_Boot.zip.
Replace updater-script in folder META-INF\com\google\android of gapps-jb-20121011-signed.zip with the updater-script in folder CM10_Jelly_Bean\p2\gapps of SD_Boot.zip.
Copy to the boot partition of the SD card cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip and gapps-jb-20121011-signed.zip (that get modified with the replacement updater-scripts and vold.fstab files in the above steps).
Put the SD card into the NT, and boot from its power off by inserting a powered USB cable. Press and hold the N button as soon as CyanoBoot comes up to get the boot menu to display.
Select SDC Recovery.
[Optional but recommended step, in case you accidentally forget to replace the updater-script file(s)] Select Backup to backup your current NT config (/boot, /recovery, /system, and /data).
Select "Install zip from SD card" and install the modified cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip file.
Select "Install zip from SD card" and install the modified gapps-jb-20121011-signed.zip file.
Select "Power off" to turn off the NT.
Boot the NT from its power off by inserting a powered USB cable; after about a minute you should see boot animation lasting for a few minutes followed by initial wifi network and google account setup process, after which your CM10 on SD is ready for use.
A few additional points worth noting:
If you plan to backup your NT current ROM config then add to the boot partition size at least 600MB for each backup (to save space you can copy/archive backup data folders to your PC and remove their copy from the boot partition).
Generally the lower rating (and also cheaper) class 4 SD cards are more suitable for running a ROM than the higher classes 6 and 10 cards (since the latter are optimized for large & sequential block read/write at the expense of random read/write). So if you happen to use a class 10 or 6 card and your apps frequently crash or freeze, consider switching to a lower class SD card.
Did you ask succulent if it was OK to post his work here? Someone already did it in the dev section and he was a little upset that he wasn't even consulted about it.
Sent from my CM 10 SD nook tablet. Thanks devs.
Thanks for the tutorial. I've used XDA for a long time and loaded lots of custom ROM's, but I'm finding this Nook Tablet situation ridiculously complicated. I'm having trouble understand your step number 8.
"Copy to the boot partition of the SD card and gapps-jb-20121011-signed.zip..." doesn't make grammatical sense. Is there a typo here?
sanjosanjo said:
Thanks for the tutorial. I've used XDA for a long time and loaded lots of custom ROM's, but I'm finding this Nook Tablet situation ridiculously complicated. I'm having trouble understand your step number 8.
"Copy to the boot partition of the SD card and gapps-jb-20121011-signed.zip..." doesn't make grammatical sense. Is there a typo here?
Click to expand...
Click to collapse
I just looked at it and it appears you are failing to read it. There are clear and concise instructions as provided by Succulent and cut and pasted by digimax.
It clearly says to copy the ROM and the gapps.
Sent from my CM 10 SD nook tablet. Thanks devs.
SlowCobra96 said:
I just looked at it and it appears you are failing to read it. There are clear and concise instructions as provided by Succulent and cut and pasted by digimax.
It clearly says to copy the ROM and the gapps.
...
Click to expand...
Click to collapse
There were indeed typos in the cited paragraph (thanks to sanjosanjo for spotting them), and I already fixed them.
digixmax said:
There were indeed typos in the cited paragraph (thanks to sanjosanjo for spotting them), and I already fixed them.
Click to expand...
Click to collapse
Did you reword them from succulents site because those are what I used when I did my SD card and I had zero issues following them.
Sent from my CM 10 SD nook tablet. Thanks devs.
On Step 8, did you mean to copy the cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip to the boot partition instead of the cm-10-yyyymmdd-UNOFFICIAL-acclaim_sd_hd.zip because in step 12 you say to install cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip? I've followed your steps for replacing the files, but did not put the sd_hd.zip on the SD card, only the normal acclaim.zip.
I'm going to try it now and see what happens.
Edit: says installation aborted. This was when trying to install the cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip that has had the files replaced from the sd_hd.zip
LucasMN said:
On Step 8, did you mean to copy the cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip to the boot partition instead of the cm-10-yyyymmdd-UNOFFICIAL-acclaim_sd_hd.zip because in step 12 you say to install cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip?
...
Click to expand...
Click to collapse
Yes (I corrected it).
LucasMN said:
...
Edit: says installation aborted. This was when trying to install the cm-10-yyyymmdd-UNOFFICIAL-acclaim.zip that has had the files replaced from the sd_hd.zip
Click to expand...
Click to collapse
I had neglected to indicate in step #3 that the partition type of /system and /data is (Primary, Ext4).
digixmax said:
FWIW, below is a digest of the process to create a SD card running CM10 builds by XDA Developer Succulent which is posted at his blog http://iamafanof.wordpress.com and which I have used to build a CM10 SD card for my 16GB Nook Tablet (caveat emptor: adopt/follow it at your own risk):
Click to expand...
Click to collapse
thanks for this great thread digixmax. what is the difference between your method and just directly writing succulent's IMG file to a card?
his post looks like it was updated 12/25, although perhaps the image file is from 12/08. is yours updated since then?
http://iamafanof.wordpress.com/2012/11/18/cm10-0-jellybean-sdcard-img-for-nook-tablet/
zeiss74 said:
thanks for this great thread digixmax. what is the difference between your method and just directly writing succulent's IMG file to a card?
his post looks like it was updated 12/25, although perhaps the image file is from 12/08. is yours updated since then?
http://iamafanof.wordpress.com/2012/11/18/cm10-0-jellybean-sdcard-img-for-nook-tablet/
Click to expand...
Click to collapse
First off, just to be clear: I did not invent this process, rather my post is intended to be a streamlined digest of Succulent's blogs on how-to build CM SDcard -- including in particular the blog http://iamafanof.wordpress.com/2012/11/11/how-to-guide-bootable-cm7cm9cm10-sdcard-for-nook-tablet/. This process gives you the maximum flexibility at the outset in sizing the partitions, creating extra partitions, etc. This process has also worked for some of the other CM10 builds that are available on XDA such as ChrisHoffman's and Hashcode's builds, as well as the Paranoid Android build posted on Succulent's blog.
Succulent's pre-made SD card image is the simplest/quickest way to create a bootable SDcard of his CM10 builds: you just download and write the image to SDcard and it's ready to go. It's possible to adjust the partition sizes after the image is written to the card but with some risks of messing up the partition table which could make the SDcard not bootable. There have also been reports that NTs running these images appear to have same identical MAC address, thus any two of these NTs will not be able to get on the same LAN (e.g., in the same household WiFi LAN) at the same time.
Re: Succulent's v12/25: I just flashed it (internally on emmc) today and it works great, but he has not posted cm-10-xxxxxxxx-UNOFFICIAL-acclaim_sd_hd.zip for it so you'll have to wait a bit if you want to build the image from scratch.
digixmax said:
First off, just to be clear: I did not invent this process, rather my post is intended to be a streamlined digest of Succulent's blogs on how-to build CM SDcard -- including in particular the blog http://iamafanof.wordpress.com/2012/11/11/how-to-guide-bootable-cm7cm9cm10-sdcard-for-nook-tablet/. This process gives you the maximum flexibility at the outset in sizing the partitions, creating extra partitions, etc. This process has also worked for some of the other CM10 builds that are available on XDA such as ChrisHoffman's and Hashcode's builds, as well as the Paranoid Android build posted on Succulent's blog.
Succulent's pre-made SD card image is the simplest/quickest way to create a bootable SDcard of his CM10 builds: you just download and write the image to SDcard and it's ready to go. It's possible to adjust the partition sizes after the image is written to the card but with some risks of messing up the partition table which could make the SDcard not bootable. There have also been reports that NTs running these images appear to have same identical MAC address, thus any two of these NTs will not be able to get on the same LAN (e.g., in the same household WiFi LAN) at the same time.
Re: Succulent's v12/25: I just flashed it (internally on emmc) today and it works great, but he has not posted cm-10-xxxxxxxx-UNOFFICIAL-acclaim_sd_hd.zip for it so you'll have to wait a bit if you want to build the image from scratch.
Click to expand...
Click to collapse
thanks!
also, dumb question but if you "remove SD card" in step 14, how is "CM10 on SD ready for use" in step 15? do you reinsert it?
zeiss74 said:
also, dumb question but if you "remove SD card" in step 14, how is "CM10 on SD ready for use" in step 15?
Click to expand...
Click to collapse
Mistake on my part, leave the card in the NT.
ok, worked great (the second time). the first time i used 7zip to change the zip files, but then i read a readme.txt from succulent that said to only use drag and drop with winzip/winrar to change the zip files, so i downloaded winrar and it worked. the first time i got the "installation aborted" error.
thanks again, i'm super excited to try CM10. been wanting to update this NT for some time now.
Just an FYI it isn't the pre-made image file that causes the repeating MAC Address it is something in the CM 10 build. I have 2 NT 16's running different build dates of CM 10 SD and both have identical MAC Addresses. Somewhere in the build of CM 10 it appears that it is taking the MAC Address from a developer unit and applying it to everyones NT. Or so it would appear.
SlowCobra96 said:
Just an FYI it isn't the pre-made image file that causes the repeating MAC Address it is something in the CM 10 build. I have 2 NT 16's running different build dates of CM 10 SD and both have identical MAC Addresses. Somewhere in the build of CM 10 it appears that it is taking the MAC Address from a developer unit and applying it to everyones NT. Or so it would appear.
Click to expand...
Click to collapse
My NT has the same MAC address regardless of whether it's running stock, running CM10 internally or off SD card.
I think there is something wrong with your build images or possibly with your NTs (you can look up the NTs' MAC addresses in /rom/devconf/MACAddress on their emmc).
digixmax said:
My NT has the same MAC address regardless of whether it's running stock, running CM10 internally or off SD card.
I think there is something wrong with your build images or possibly with your NTs (you can look up the NTs' MAC addresses in /rom/devconf/MACAddress on their emmc).
Click to expand...
Click to collapse
So I have 2 broken NT's that despite the stock os showing the correct MAC Addresses and even the Mac config files showing the correct to the individual NT Mac address, when I load CM 10 despite not doing anything to change the configuration files other than updater-script, I broke it? Really?
And on top of that the pre-made images are known to have the same Mac address. Though the exact same files, sans imager program, couldn't possibly be problematic?
Somehow I doubt your stock os, if your using the succulent build for cm10, has the same Mac address.
Does your MAC end in 9f:fd ?
Sent from my CM 10 SD nook tablet. Thanks devs.
SlowCobra96 said:
So I have 2 broken NT's that despite the stock os showing the correct MAC Addresses and even the Mac config files showing the correct to the individual NT Mac address, when I load CM 10 despite not doing anything to change the configuration files other than updater-script, I broke it? Really?
And on top of that the pre-made images are known to have the same Mac address. Though the exact same files, sans imager program, couldn't possibly be problematic?
Click to expand...
Click to collapse
If your two NTs running stock OS still show two distinct MAC addresses then I don't think you have broken the NT per-se. Most likely you simply didn't properly build one or both of CM10 SDcard images. Your problem is the type Succulent often refers to as "residue" problems.
Somehow I doubt your stock os, if your using the succulent build for cm10, has the same Mac address.
Click to expand...
Click to collapse
It is the same MAC address, but believe whatever you want.
Does your MAC end in 9f:fd ?
Click to expand...
Click to collapse
Nope.
Then im a ****ing idiot and you are a god. Shrug. I am an not adverse to admitting when I am wrong, however in this situation I don't believe I am. Apparently my 2 NT's are completely special. Oh wait, anyone running the Image files have the same issues. There is nothing shared between the two NT's. SD cards arent shared. Not a single file is shared. Not even the build date of the CM 10 files is shared. So again I say, there is a problem with the SD version of CM 10 not reading the correct MAC. How you got lucky with your mac reading correctly from SD and EMMC I don't know, especially considering anyone else that has multiple NT's in the same house suffers the same issue.
i have two followup questions to help me better understand this setup.
1. what are the different partitions on the card? and why wouldn't we make the boot partition as large as can be? i went to back up my NT apps (about 100) to bring them to my CM10 card, and they are 800MB, and the only partition i can copy them to from my PC is boot. so i'm out of luck with 500MB (250 MB free). also, since boot is the only partition i can access from my PC, it means that's where all my videos and music will have to be copied. so it seems like i should make boot 4+ GB. i don't own any large apps (like those 2 GB racing games) so i would guess my other partitions don't need to be huge. am i missing anything? with the tablet up and running but few apps, the 0.5GB boot partition is about 50% full, the 0.5 GB system partition (no longer labeled such) is 64% full, while 2GB data and 4.5GB sdcard are 5% and 0% used (per minitool)
2. if this doesn't change the stock NT, then what are steps 10 and 11 doing? where are they installing something? from the SD card to the SD card, maybe in another partition? do i need to keep those zip files on the boot partition once they are installed?
thanks for any assistance to help my understanding.

Categories

Resources