[Q] How to make a custom Froyo IMG? - Nook Color General

I've been lurking around here for a while, and I've customized my Froyo (0.5.9) to how I want it. What I want to do now is expand p4 to fill the rest of the (4GB) uSD card, and copy the whole disk into an IMG file like the original Froyo.
Windows seems to not like this card. It says it's damaged and needs formatting when it has 0.5.9 on it, so I can't use EASEUS to expand the partition, nor can I use Win32Imager to copy it.
Any suggestions on how to proceed? Should I use Linux? If so, what do I do differently in Linux?
Thanks!
EDIT: It seems to have fixed itself. After reflashing and making sure I use the eject option when removing it from the computer, I can copy the whole disk with Win32Imager.

Related

[HELP]Apps/Data on SD: Switching to new SD card

Is it possible if I installed apps/data on SD card to switch to another card and install apps/data on it? I removed my current card and my phone stopped working. I will take help from anyone who has it.
if you want to, you should be able to copy everything to a backup folder and upload to another sd card. you need to do this in linux cause windows does not natively read ext2 partitions. shut down your phone, remove the micro sd card, put in your computer, copy everything to the backup folder, then re-partition your new (hopefully bigger) micro sd card. put back in the phone and boot it up. i have never tried this, but it should work, just as long as you have the ext2 partition the system can read from. good luck.
I agree fully with corp769. In addition, two important things to remember are:
* ext2 must be the second (primary) partition
* you must preserve UNIX access permissions by copying apps and data directories with cp -rp ! That's the reason apps on SD doesn't work without repartitioning.
* you must use a separate card reader, you cannot do this while the card is plugged into your G1. (Unless you can do some fancy mounting/unmounting stuff on the phone, that is. It's certainly easier and safer to use a card reader).
I too have never tried this, but it should work.
creid2352 said:
Is it possible if I installed apps/data on SD card to switch to another card and install apps/data on it? I removed my current card and my phone stopped working. I will take help from anyone who has it.
Click to expand...
Click to collapse
i did this on linux from a 2G card to a new 8G card .. my partitions are named so i utilize naming to distinguish one partition from the other:
make two folders on your linux desktop .. "SDD1" and "SDD2" .. the FAT32(sdd1) can be click-and-drag to the desktop folder .. the EXT2(sdd2) needs to be run inside Terminal to retain the permissions (unless someone know a better way)
ie: sudo cp -a /media/sdd2/* /home/LucidREM/Desktop/SDD2
then switch cards
ie: sudo cp -a /home/LucidREM/Desktop/SDD2/* /media/sdd2
obviously substitute your name for mine unless you call yourself "LucidREM"
In the exact same process when you have an error nfs :
In linux with the card reader
unmount both vfat and ext2 partitions and type :
fsck -p /dev/yourext2partition.
fsck.vfat -p /dev/yourfatpartition
that's how I manage to recover 2 MicroSD card
If you want to go the GUI route - go grab a copy of the GParted Live distribution. Put that on bootable media (whatever your case may be, USB or CD/DVD) then boot into GParted and use the GUI to copy and paste the partitions over. GParted will do a consistency check and fix any errors in both partitions first, then copy over into the new SD card.
Thanks a lot for the help everyone. I will give this a shot when I get home. Appreciate all the quick responses.
no prob man, just let us know if it works for you or not.
If you don't have linux, is there a program for windows or mac I can use to do this? Thanks
legaleye2005 said:
If you don't have linux, is there a program for windows or mac I can use to do this? Thanks
Click to expand...
Click to collapse
Yes download Wubi (which is like Linux in a box, and can be installed in like 10 minutes and ready to use and removed like a normal program) or download Paragon Partition Manager 9 Trial Version, it must be version 9 not 10. I recommend Wubi however, much easier, and who knows, you might fall in love with it like I did.
I tried the LucidREM instructions and it is looping on startup.
Is there a different way to do this?
Simplest Method
Just in case people still want to know how to change SD cards (ext partition and all), which I suspect will happen a lot since the 16GB cards are going to start dropping in price soon, here's the simplest and best way I know how to do it. I have done this a bunch of times without any issues. I've even used this to go from a G1 to a myTouch (with minor compatibility changes, of course). But simply changing/upgrading SD cards is a breeze.
First thing's first. You will need bart.sh which can be found here: http://forum.xda-developers.com/showthread.php?t=562292. If you are using a myTouch or simply don't want to bother typing commands, use Amon_RA's wonderful recovery menus with bart.sh already built in. The Nexus One version can be found here (http://forum.xda-developers.com/showthread.php?t=611829) but there are links to the recovery menus for the G1, myTouch, Hero, etc. on that page.
You will need to be familiar with how bart.sh works and this is way beyond this post. There is a ton of information on the bart.sh thread. So here are the steps that need to be done.
1) Run bart.sh, either in recovery console or via recovery menu, to backup your entire ext2/3/4 partition (as well as nandroid for simplicity).
2) Back up the fat32 portion of your SD card as you normally would by mounting your SD card to your computer. Make sure that this includes the new bart.sh backup which should be located in the bart folder in the root of you SD card.
3) Partition your new SD card using the method of your choice. Amon_RA's recovery menus have an easy and painless method for this but you can use parted or any other method you choose. If you use your device to partition your new SD card do NOT boot your phone after you partition the card. You will want to finish Step 4 first. Amon_RA's recovery allows you to mount your SD card from recovery to help you complete Step 4 if you do not have a SD card reader.
4) Using Amon_RA's recovery menu or an SD card reader copy the fat32 partition, which includes your bart.sh backup, from your PC to the fat32 partition of your newly partitioned SD card. From the recovery menu, restore your bart.sh backup.
5) Voila. You now have all of your partitions moved to a new SD card.
This process can be simplified into one sentence. Do a bart.sh backup and restore it to the new SD making sure the SD card has the proper partitions and that you don't forget about the fat32 partition. The above is just a list showing the proper order so that you don't lose any data during the process.

Burned wrong image - Full SDCard Access

so i either don't fully understand how images work in the SDCard itself (not on the nook), or i did something wrong and don't know how to fix the card, but at any rate, i managed to burn a 128meg image onto my 8gig sd card, didn't like the image, and now can't figure out how to get the card back to a regular 8gig card!
would love some direction. tried to search but must not be using right keywords.
didn't see any kind of format or clear option in the winimg program we're using.
thanks!
byproxy said:
so i either don't fully understand how images work in the SDCard itself (not on the nook), or i did something wrong and don't know how to fix the card, but at any rate, i managed to burn a 128meg image onto my 8gig sd card, didn't like the image, and now can't figure out how to get the card back to a regular 8gig card!
would love some direction. tried to search but must not be using right keywords.
didn't see any kind of format or clear option in the winimg program we're using.
thanks!
Click to expand...
Click to collapse
On your Nook I believe you can go to Settings, Device Info, Mount the SD card if it's not mounted and then format it. It'll erase it and you'll have a blank SD card. If you're going to put a different image on the card I don't know if you even need to bother formatting, but I' not sure about that stuff.
does the nook format work differently than a computer format? because i burned a 128meg image onto an 8gig card and now even a computer format won't get the whole 8gigs back... just the 128 megs. it's like it's got invisible partitions on it or something.
Partition
Try EASEUS Partition Manager to change the partition size/format card.
byproxy said:
so i either don't fully understand how images work in the SDCard itself (not on the nook), or i did something wrong and don't know how to fix the card, but at any rate, i managed to burn a 128meg image onto my 8gig sd card, didn't like the image, and now can't figure out how to get the card back to a regular 8gig card!
would love some direction. tried to search but must not be using right keywords.
didn't see any kind of format or clear option in the winimg program we're using.
thanks!
Click to expand...
Click to collapse
byproxy... here is the easy way...
1) Go and download "EASEUS Partition Master 7.0.1 Home Edition" --- just google it (the home edition is free and downloadable)
2) Put your microSD card into a card reader and plug into your computer
3) install EASEUS onto your computer and run the app
4) Once app is started, located your microSD card amongst the list of drives listed
5) select each one of the partitions on the SD card, and delete them individually
6) Once all partitions are deleted, make sure that you are still selecting the microSD card, and select the option to create partition (it may just say create)
7) Make sure you select FAT 32
8) Then select FORMAT
9) Lastly, click on APPLY and it will do all the things above. So in short you select all the actions that you want... and only in step 9 will it execute all those actions.
Please make sure that any changes you make are to the SD card and not any of your other drives. Last thing I would want is for you to accidentally format your Computer, NAS, or your non-SD card. =)
Enjoy...
sweet. exactly what i was looking for. thanks gents!!!
hvuong2 said:
byproxy... here is the easy way...
Enjoy...
Click to expand...
Click to collapse
OK, but isn't it easier just to do it in the Nook or am I missing something here?
...worst case there's a low level SD card formatter from Panasonic (IIRC might be Toshiba) that will do a complete low level format and has recovered uSDs for people using them with Nintendo DS dev carts...
A Google search should turn it up, or a thread on a DS site which might have a link to it. It'll be a little windows program...
(I believe that windows and most devices just do sort of a quick format of the uSD, and so can't recover from some problems like re-partitioning of the card... so monkeying around with a partition editor and assigning the card to be one big partition then re-fromatting under windows or some other device MIGHT work as well...)
[EDIT]
oops, I see post #5 has the re-partitioning solution as well... another way to do it would be to backup an image of the card BEFORE burning something like autonooter on it then restore that original image to card once finished with whatever you were trying out... it's what I did when I tried autonooter w/my old 128MB card, in linux in my case a
dd if=/path/to/sd/card of=./somefilename
dd if=./autonooter.img of=/path/to/sd/card
then later
dd if=./somefilename of=/path/to/sd/card
sd card path under linux is likely to be /dev/memc<device ref characters?>
You should also be able to do this under windows with the utility recommended for windows users to use with the autonooter image, as I'm guessing that it's just a GUI wrapper and a windows compiled version of the dd utility...
[/EDIT]
Varying opinions
BarryR1 said:
OK, but isn't it easier just to do it in the Nook or am I missing something here?
Click to expand...
Click to collapse
Some believe that there are issues with formatting on Nook... depending which ROM you are running. The surefire and safe way, is to do it from a PC.
Nook should format, but may not partition correctly.
hvuong2 said:
Some believe that there are issues with formatting on Nook... depending which ROM you are running. The surefire and safe way, is to do it from a PC.
Nook should format, but may not partition correctly.
Click to expand...
Click to collapse
No, the Nook will format the *device* and not a partition, so it always works. But you don't want to do it if you've installed NC or HC to eMMC.
If you're using Stock rooted, just boot without the card in the device, put it in, format. Done.
Or if you're on a real os just format the device... mkfs.vfat /dev/sdX

[Q] HOW DO I setup multiple partitions SDCARD

Running Nookie Froyo 0.6.8 from 16GB sdcard, but sdcard is not showing all of the 16gb of space. Is there instructions on how to setup partition on sdcard to save media etc. I have noticed a lot of mention but no firm instructions. If there are some can someone point me to them please.
I am going to try the USB mass storage apk but want to make sure this is what I should be doing.
Any help would be wonderful!
I'm assuming you are using Windows and managed to burn the image and boot your Nook? If so, load up EASEUS Partition Manager, the latest version. The home edition is free. When you load it up, make sure you run as administrator.
Be sure that you are looking at the SDcard. You should see 3 tiny little partitions and one mid-sized one next to unallocated space. No need to create any new partitions. Just resize the SDcard partition to fill the remaining space. Apply the changes. Eject and put it in your Nook. You should now see the SDcard with tons of free space.
Homer
Accessing SD Card partition
So once i have expanded the SD card partition how do i now access it to put music and movies on it. Any help would be greatly appreciated.
Thanks
Thanks, I will give that a shot.

I need some help with a SD card with CM7

Hi everyone. I have CM7 running off an 8GB Sandisk microsd card. Something I still cant figure out to do is how to access the remaining space on the card that is not being used by the boot partition. I can access it from the Nook, but if I take it out and try to access it from a PC I only have the boot partition which only gives me about 100mb of free space. When I plug the nook into my pc with the sdcard installed I only have access to the built in storage. Can anyone please tell me how to access the extra space or direct me to a walkthrough on how to do it. I searched but couldnt find it.
Thanks.
You can use easeus partition manager or minitools partition manager.... you need to set partition 4 to active to see it in the computer... but you MUST remember to make partition 1 active again to use it in nook....
The issue is that all 4 partitions are created as primary partitions... Window will only see the first active primary partition.
Thanks a lot. I will check out easeus partition manager. I appreciate your response.
I finally got around to trying what you mentioned, DizzyDen. I got the sd card switched to active, but still when I open it up in windows explorer I can only see the boot partition. In easeus it states that the partition will all the storage is active though. Any suggestions?
That is common and limitation of windows... it will only see the first active partition on a drive... the same as when you were using the 2 GB version.... you can change the active partition in easeus partition managare to partition 4... do what you want... but you HAVE to remember to change it back to partition 1 as active before you take it out and put it back in nook
DizzyDen said:
That is common and limitation of windows... it will only see the first active partition on a drive... the same as when you were using the 2 GB version.... you can change the active partition in easeus partition managare to partition 4... do what you want... but you HAVE to remember to change it back to partition 1 as active before you take it out and put it back in nook
Click to expand...
Click to collapse
Some how this really screwed up my computer booting up. I made 100% sure not to check any of my two desktop HDD's and just switched primary and active on the SD card. Easeus asked to reboot computer and then I eventually had to do a restore point to be able to boot windows afterwards...
How about you try this:
[ROM][CM7] Size-agnostic SD Card image and CM7 installer for SD Cards. with updater
I know this will require you to reinstall CM7 but it Automatically adjusts for any sized card and allows easy updating without CWR or PC.
____________________________________________________
Sent from NookColor CM7 using Tapatalk
japzone said:
How about you try this:
[ROM][CM7] Size-agnostic SD Card image and CM7 installer for SD Cards. with updater
I know this will require you to reinstall CM7 but it Automatically adjusts for any sized card and allows easy updating without CWR or PC.
____________________________________________________
Sent from NookColor CM7 using Tapatalk
Click to expand...
Click to collapse
Seems they already did that... have cm7 running on SD... the problem they stated was not being able to access partition 4 on their computer.... btw... when you change active on SD in easeus don't reboot... you don't have to.
DizzyDen said:
Seems they already did that... have cm7 running on SD... the problem they stated was not being able to access partition 4 on their computer.... btw... when you change active on SD in easeus don't reboot... you don't have to.
Click to expand...
Click to collapse
No... What he's talking is that he did something like install a 4gb image on a 8gb card and now he wants to expand the "sdcard"partition to fill the remaining space on the card. I had to do this when I had a Nookie Froyo 2gb image on my 4gb card but it was annoying. The only easy and smooth way to do it was to Boot to my Linux Install (Ubuntu 10.04) on my PC and Run GParted(The best Partition Manager under the Sun) Trying to do it in Windows was just miserable.
In the end I found it much easier to simply use the Method in my above post when I installed CM7 and it's been the best Expirience I've had Installing a Custom ROM. It's also been dirt simple to update CM7 as all I have to do is plug the SD into my PC and Copy the latest CM7 zip onto my boot partition and boot to recovery. It installs everything automatically. You can even do the same thing to install GApps. If I'm away from my PC but want to update I just download the Zip to my Nook and then use a Terminal App to mount Boot to a folder, and then simply copy the Zip over and Reboot into Recovery.
So I recommend just reinstalling CM7 to an SDcard with my above post for a less stressful experience.
____________________________________________________
Sent from NookColor CM7 using Tapatalk
I don't think that's the case. He said he was able to see the storage space from his Nook but not when putting the uSD card in his PC. This is the case because Windows is only able to see the first active partition on a drive; using something like Easeus he can temporarily switch the active partition to #4 to view the storage space.
Unless what you mean is increasing the size of the first partition by deleting all the other partitions as well and just having 1 large boot partition so that it's viewable when mounted on PC (or on stock if dual booting). I don't know the viability of that because I'm not sure how CM7 needs to have partitions structured other than that the 1st is always the boot and the 4th = storage. I may be wrong
*edit: Also, if you're trying to access the root level of files during USB storage mode (for, eg., dropping a new boot animation to /data/local) you won't be able to do it, need to use something like Root Explorer or ADB*
I think the OP needs to clarify what his/her problem is because no matter how I read the OP's post I interpret it one way but other people are interpreting it other ways. Until the OP clarifies, I don't think anybody can help since none of us are on the same page.
____________________________________________________
Sent from NookColor CM7 using Tapatalk

[Q] Guide Request

Could someone point me toward a guide that include the step by step instructions on how to reformat your microSD card after a CWM image has been burnt onto it to get it back to it's original size/recognizable in the Nook/PC.
This to me is the most frustrating part of loading ROMs on the Nook and I don't believe it's laid out step by step in any guides. They simply leave it at downloading a partition manager software tool, but not what do to within that tool.
Thanks!
I would actually recommend just buying a cheap card that you use just for flashing images. Rather than backing up, image burning, then reformatting your card each time you want to do something in CWM, spend the $6 online and buy a cheap 2GB card that you use only for this purpose. I know it isn't required, but I still use a bootable SD card with CWM recovery on it to flash new nightlies or really anything else.
I know this doesn't answer your question, but it is my solution to this problem.
While I agree you should consider a new card in case things ever go south, you should be able to put it into a card reader and format it with Windows. You can also wait until the NC is booted up and then insert the card and format it with the NC.
I actually do have a dedicated cheap card with CWM loaded on it. The problem I ran into this time was that someone had approached me with a stock nook wanting a ROM loaded onto it. So I needed yet another card to burn a root image onto. So I was stuck having to burn that image on an 8GB not so cheap card and then could never get it back to 8GB or recognizable in my PC/Nook by using various software packages.
It also causes all sorts of FCs when inserted into the Nook running MIUI. Once it's removed they go away.
Regardless, if anyone knows of a guide or the steps to doing so that actually works, it would be appreciated and I have to imagine I'm not the only one who runs into this extremely frustrating issue.
i could be wrong
but cant you boot into default nook, not booting off the microSD card and reformat the microSD card?
even if you rooted/formatted the built-in memory for android/cm7 over the nook color OS, you should be able to format the card.
the other question that i have the the OP
have you tried to access the card from all os (win, mac, linux) both through a usb adapter and through the nook directly connected to the pc/mac?
I have not had that issue with either a USB card reader or with the Nook. Do you have access to a camera that uses micro SDHC cards? You can usually format it there as well. After that, Windows should recognize the card in a reader and let you delete any folders the camera placed on it.
WWWestonC said:
Could someone point me toward a guide that include the step by step instructions on how to reformat your microSD card after a CWM image has been burnt onto it to get it back to it's original size/recognizable in the Nook/PC.
This to me is the most frustrating part of loading ROMs on the Nook and I don't believe it's laid out step by step in any guides. They simply leave it at downloading a partition manager software tool, but not what do to within that tool.
Thanks!
Click to expand...
Click to collapse
I think we need a little more information about what you are trying to achieve?
If you are looking to get your uSD back to its "fresh off the rack from the store" state, the easiest thing to do would be to just use your NC to reformat the card from within it's "Settings" area.
But, if you have loaded CM7 (or whichever ROM) onto the eMMC of your nook, then you would need to use Android's tools to do this.
When using an imaging tool to prepare the uSD, I would recommend Image Writer for Windows to write your ROM images to the uSD. It is pretty easy to use, and way better than WinImage. Use the 0.3 (Lost) release.
In my case, I just used verygreens solution of installing CM7 to my uSD, it is a one time set up and I only have to drop new nightlies onto the /boot partition whenever I want to upgrade (which is everytime a new nightly comes out, heh). I never take my uSD out of the NC anymore.
If you are looking to repartition your uSD card to get a bigger /boot partition so you can rest assured that the bigger nightlies will fit (essential if you have alternate image and ramdisk files for the alternate boot scenario), then I would follow this post in verygreen's guide.
In response to some of the questions, I am trying to get my SD card back to off the shelf so it can be used in the Nook for storage.
I have not tried on another OS to format the card. I only have Windows XP on my laptop. I could try on my Windows 7 desktop but would be very surprised if that solves the issue. I cannot see it when it is plugged in via USB adapter to my PC.
I have MIUI 1.7.22 ROM loaded on the eMMC of my Nook and using Android's format option does not work as it is greyed out.
Nothing recognizes it except for Easus Partition Manager, but I've tried everything under the sun (Deleting Partition/Wiping Partition/Assigning Drive Letter/Increasing size) and can't get it to return to a usable state.
WWWestonC said:
In response to some of the questions, I am trying to get my SD card back to off the shelf so it can be used in the Nook for storage. [snip...]
Click to expand...
Click to collapse
In Android, I think you have to unmount the uSD before you can "erase" it (thus effectively re-formating it to it's maximum size).
I would do it this way if you are able to, because you are guaranteed a uSD card that Android will recognize every time. Devices that use removable cards this way know how to properly format them. Desktop OSs treat them as removable media (i.e. like disks/discs) and do not always format them properly using a a USB adapter.
When formating SD/uSD cards on your PC, your best bet is to use an actual card reader that connects to your PC via a USB cable (like the multi-card readers).
Here is a formatting tool specifically for SD/uSD cards from the SD Association website (https://www.sdcard.org/consumers/formatter_3/). Instructions are at their website too.
Incidently, if you have access to a Mac system running OS X, the Disk Utility app in Applications > Utilities will also format your uSD and get it back to stock where Win machines have problems. I know this from personal experience.
Here is another thread, Read All About it: WP7 SD-card format working., with more formatting info that may or may not be helpful...
Short of a Mac system, you could install Linux (I recommend Ubuntu currently) in a VirtualBox virtual machine environment and give that a go in your Win7 environment. If you go this route, you also want to install the Extention Pack for USB 2.0 support. Then you end up with a more versatile OS for tinkering around in all within your Win7 evironment....

Categories

Resources