yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Q&A, Help & Troubleshooting] KCRic:
The drivers go in your Android SDK folder, where ever adb resides. At least on XP and Vista that's the case - I'm not sure if the adb issue was ever resolved in Windows 7. You could always use VM linux or dual boot linux if you like, it's much easier imo. Wubi works too I think.

When it comes to Froyo vs. Gingerbread it's literally like a linux in the sense that one is completely stable and well known by this point (Froyo) an the other is bleeding edge, not stable at times, some things are just not compatible unless you port them, and peoples knowledge base on it isn't as thorough.

I've never returned this phone to stock, which I assume you mean s-on and no superuser permissions. So I have no idea how difficult it is, though I do know you need to make sure you 100% know what you're doing before attempting it - especially if you have s-off. It's a pandoras box if you mess it up.
[G2 and Desire Z Q&A, Help & Troubleshooting] Bloodlvst:
Ah okay, I'll definitely stick with Froyo for now then. I've always stayed 1 version behidn with Fedora lol.

I did get the drivers working, made my gold card, about to downgrade my firmware.

Are the instructions the same for 1.84.666.2 ?

Edit: Successfully rooted. Now time to find a new ROM. thanks again for all the help. Quesiton though, I have no HSDPA icon anymore...do I need a new "radio" or something?
[G2 and Desire Z Q&A, Help & Troubleshooting] KCRic:
No, it will do that and some ROMs don't have either the 'H' or the 3G' icon - just depends on the developer. You can still flash a different radio - anyone listed in the G2 radio sticky will work, flash a few and see what works best for you.

There's also a radio version/.ril file issue being debated so you might check that thread too and flash the zip provided just to be safe. I think it's in the G2 questions forum but I can't remember.
[Android Software/Hacking General [Developers Only]] KitsuneKnight:
I was wondering if anyone knew if there was a way (or, at least, if this'd be possible to implement) to expose via USB an arbitrary disk image file to be mounted by the host computer instead of the SD card itself.

Basically, my goal is to consolidate having to carry around a number of USB flash drives with different bootable OSes (such as Ubuntu, ntpasswd, knoppix, fedora's live usb versions), by storing a disk image for each on my Android phone, that, when connected to the computer (and set to be mounted), an arbitrary one could be exposed as if it was a different USB flash drive- instead of only having my sdcard mountable.
[Nook Color Android Development] jtbnet:
I'm opening a new thread as this is really the work of verygreen, racks11479, j4mm3r, stilger, and rookie1.... and I've hijacked their threads enough as I only did minor repackaging to put this together as a hopefully generic template image...

This is but an attempt to create a mostly generic SDcard template for installing all versions, as base for Froyo, CM7, or Honeycomb as an SDcard install...... Most of the features best lend themselves to CM7 as verygreen's Alternate (uAltImg/Ram) allows installing and upgrading all current variants of CM7... but with Recovery as CWR 3.0.1.0/Ext3/4 with verygreen's installer/upgrader as uAltImg/Ram it can handle all your CM7 variant install and upgrade/migrate to SDcard needs...

The generic 2GB expandable image is available from;

http://dev-host.org/aewwoavj437z/Nook-2GB-SDCard-CW3010-VGCM7InstallerAsALTinMultiBoot-v6.zip

I suspect/hope that this thread will fade fast from the first page but just hope it will be useful for folks when modeling and building generic SDcard bootable versions...

EDIT: For folks who just want to update just their existing SDcard boot partition and get this boot functionality

I removed the files you shouldn't change from an existing /boot dir and zipped up the rest and posted this zip in my dropbox

http://dl.dropbox.com/u/6922721/jtbnet-modified-bootfiles.zip

Just have your SDcard mounted as /boot on your PC and extract this zip to it to get the same boot options as my card...

The layout of the current .v6 template SDcard to allow it to fit on a 2GB minimum size card is;

Part. # Name FStype Alloc. size Free Space

1 /boot FAT32 149MB 120MB

2 /system EXT3 462MB 455MB

3 /data EXT3 964MB 948MB

4 /sdcard FAT32 39MB 38MB
[Nook Color Android Development] bobshute:
Just to verify, this image has?

J4mm3r's multi-boot

CWM 3.0.1.0 but with correct mounts like racks11479's CWM 3.0.0.6 as uRecImg/Ram

verygreens installer as uAltImg/Ram

I had already done the same with racks CWM, but that's ext4 only I believe.

This will be great with CWM 3.0.1.0.

Thanks for putting this together

P.S. What is the CM7 vesion as uImage/uRamdisk?
[Nook Color Android Development] bobshute:
Tried to burn the image on a 2Gb SDcard to look inside.

It's a 4GB image not 2GB.
[Nook Color Android Development] jtbnet:
Sorry Bob... I uploaded the wrong image... Had a long day at work today so just getting to uploading a fresh image... this one IS 2 GB with larger/150MB /boot but a very small 4th /sdcard partition, and has formated system and data so won't boot to CM7 anymore but it's much cleaner...

Only thing this 2GB image only zips down to 800MB... strange as the wrong card I uploaded last night was a 4GB card I was testing with and with lots of data on system and data and it zipped down to 300MB... but this one is cleaner and does boot to CWR 3.0.1.0 as recovery and verygreen's CM7 install/updater as Alternate boot...

It's taking forever to upload so I may not be able to update the link in the original post till the morning as already well after midnight now...
[Nook Color Android Development] jtbnet:
You are correct on what it has for uRecImg/Ram and uAltImg/Ram and yes Racks' 3.0.0.6 is Ext4 Only.... thus why I wanted to update to 3.0.1.0/Ext3 and Ext4...

That wrong 4GB upload from yestrday was the test card I had expanded and tested installing CM7 RC4 with UI tweaks to test VG's installer and then restored system and data from my normal card's backup to test CWR 3.0.1.0... so I mixed up the cards when I made the image and uploaded the expanded test 4GB version instead of the original blank 2GB version I started with...
[Nook Color Android Development] jtbnet:
Updated OP with cleaned up file...
[Nook Color Android Development] jtbnet:
Thanx to Verygreen's suggestion to zerofill the system and data partitions to allow for better compression I uploaded v4 where the zipped filesize is down to 420MB from prior zip of 770MB. OP link is updated...

I'm going to continue to see if I can find a way to make this significantly smaller while still containg all 4 mountable partitions and will upload any success story if/when it might occur...

I actually used the 2GB image itself booted to CWR and ran 'adb shell' to allow me to use the 'dd' command to zero fill the system and data partitions... THANX again to verygreen for that idea...
[Nook Color Android Development] stilger:
jtbnet - I think zeroing the /data and /system file systems causes your script to fail. I put this image on an 8gb sd card today. I copied the latest Tablet Tweaks and gapps zip files to the boot partition rebooted into altboot.. It failed not being able to create files. Took the nook into recovery logged in via ADB and /system where full:

Before:

Used recovery to format /data and /system.

After:

Booted into alt boot after copying zip files to /boot again and everything installed fine.
[Nook Color Android Development] jtbnet:
THANX

I had been just deleting the filler files in CWR (/system/zerofile and /data/zerofile) instead of formatting... BUT I think I have found the answer... I need to zerofill to cause the 2 partitions to compress reasonably... BUT if I create the files then sync,umount,re-mount then delete the files, sync, umount this frees space by freeing the inode but shouldn't actually touch the zerofill'd now freed space... so compression should be the same without the files...

I'll give this a try and upload v5 later hopefully...

EDIT: finally found time to upload v5... well mirror is still in process... /data and /system now empty and result is even a few bytes smaller...
[Nook Color Android Development] xdabr:
Thank you jtbnet, but I am so confused.

Personally I'm mostly interested in SD card booting because I'd still like to leave the internal eMMC memory stock or near-stock.

But I get confused as to how the "size agnostic" approach ultimately writes to the card, whether it uses the NC or a PC as an intermediary to get the card written, how Clockwork Recovery comes into play if at all (I thought it was only used when you ARE futzing with the eMMC instead of cleanly booting off SD card), and more.

I would prefer a list of disk images I can write to an SD card with standard tools (I used "dd" on a Mac for brian's Nookie Froyo SD image), but it seems your mod here and the main size-agnostic installer are more complicated than that.

Is there a simple explanation you can give me (and other similar newbies)?
[Nook Color Android Development] verygreen:
Even 400M seems excessive for mostly zero filled card.

Basically your target compressed size should be the size of all real files on the card + a little bit.

Make sure you zero the extra fat partition and boot partition free space too as plenty of random data might be there.
[Nook Color Android Development] jtbnet:
THANX...

I did think of that... after the fact... but the free space on those 2 partitions is <150MB which at the expected 4 to 1 compression I'm seeing would only save another ~35MB... so I didn't bother try and re-upload.... as less than 10% expected improvement... IF I need to upload another version I will include this in that version though...

I'd tend to agree with you on "your target compressed size should be the size of all real files on the card + a little bit." but the actual Used space is ~100MB, Total Space = 2GB, Unused space is thus around 1.9GB... so compression (1/5-1/4) really STINKS on this... but I'm not sure why as I've tried winzip and gzip with multiple levels of compression...
[Nook Color Android Development] xdabr:
Thank you so much for the explanation, jtbnet, but it's hurting my noob brain!

It seems that most people like CM7 with Tablet Tweaks by mad-murdock. Could someone detail for me (step by step) the simplest way to get that in a bootable 2 GB SD card, preferably without involving a second card, and without touching the eMMC at all? I can't tell whether this project does that or not (and if so, how) or whether I should stick with racks11479's approach, or what. My apologies; I'm not usually this far behind.

Edit: I forgot that mad-murdock's Tablet Tweaks were already merged. So I guess just make that "CM7".
[Nook Color Android Development] stilger:
You *should* be able to do the following with the image provided in this thread on your 2gb card:

1. Download image from this thread (currently v5)

2. Write this Image to your card (I use win32diskimager or dd in linux)

3. Once the card is written place the cm7 zip in the root of the boot filesystem. (Should be a drive letter with boot in the name with files like uImage uRecImg etc on it)

4. Place the gapps zip of your choice in the same "boot" filesystem.

5. Place sdcard in nook.

6. Turn on nook.

7. Hit N button when it says Press any key for menu.

8. Choose SD and Alternate as your boot option

9. Let it finish.

10. Boot into CM7

I did not provide you all the links but the CM7 nook image in mad murdocks Tablet Tweaks thread or the latest nightly for the nook (next nightly build should have Tablet Tweaks) should work. The gapps zip is also available at the CM site.

FYI - This image is based off the work of verygreen's thread: http://xdaforums.com/showthread.php?t=1000957

Hopefully this will get you going.
[Nook Color Android Development] xdabr:
Perfect recipe; thank you, stilger! Just what I (and likely lots of others) needed to know. I'll probably try this tonight.

I love this place. :)
[Nook Color Android Development] jtbnet:
THANX...

I'd add one step which is to use something like Easeus Partition Manager to extend the /sdcard partition to fill your larger than 2GB card between #2 and #3... as if only using the 2GB card image /sdcard is Only ~30MB big ... mostly just a Fat32 FS placeholder to allow extending...
[Nook Color Android Development] stilger:
You should take and add this step by step process to the first or second post. :)

Maybe even add links etc... Dunno. Up to you.
[Nook Color Android Development] jtbnet:
THANX... Added your steps as an example in the Second post...
[Nook Color Android Development] Shortyred:
Hi I've been using your boot card works great! Question partition #1 I end up with folders saved on this partition from my nook and it always says no free space. Have you run into this problem and is it safe to delete all of them?

http://img.photobucket.com/albums/v245/shortyred/1-10-20128-48-31AM.jpg
[Nook Color Android Development] jtbnet:
Yes... this is because the standard NC load expects only one large partition on the SDCARD at Partition 1 so it creates temp dirs on each new sdcard it sees... there is a thread somewhere that explains how to modify the normal NC fstab to mount the 4th partition so you can properly share the card between NC standard boot and say CM from SDcard boots...

See this post which shows an example of how to edit the Standard Nook vold.fstab to share the 4th partition on sdcard instead of the first....

http://xdaforums.com/showpost.php?p=11134423&postcount=8
[Nook Color Android Development] Marid:
Does this work for dual boots and for cm7(gingerbread)?
[Nook Color Android Development] patgnds:
Can someone please upload this file "jtbnet-modified-bootfiles.zip" to a usa site. I am no longer able to use megaupload.

Thanks
[Nook Color Android Development] dustrho:
I have a question regarding this setup. In Windows 7, the only partition that's mounted is the first one (/boot), and the other three are not mounted. So after re-sizing the fourth partition to a much larger one (FAT32), it's not mounted. How do I mount it / utilize it so I can copy ROMs, gapps and other files onto it? I'm using an 8 GB card.

Thanks.
[Nook Color Android Development] Shortyred:
Is this thread dead?? I want to upgrade cwm to 3.0.2.8 but megaupload is shut down, is there a better boot loader?
[Nook Color Android Development] TheEditor:
Absolutely great release. I do have one issue. I used your SD image and instructions above and have extended the 4th partition but when I boot it does not mount. I am running the latest nightly of CM7 (37). Any insight would be appreciated.

Thanks
[Nook Color Android Development] jtbnet:
Sorry been a long week... about bedtime so answer may be tomorrow... but if problem is that when you reboot and come up with CM7 nitely the /sdcard doesn't mount to your PC then I can't see how this SDcard could be the culprit... BUT I'd be happy to work with you to figure out what is the problem... A couple questions...

Has you SDcard been mounted to the same PC on other attempts at running your Nook... Basically are the proper drivers installed on the PC and tested in another way...

Can you mount all your partitions, you should be be able to, if you use Samuel Haffs application from;

http://xdaforums.com/showthread.php?t=952456
[Nook Color Android Development] 12paq:
To clarify, can I apply this to an existing build of Verygreen's uSD CM7 build?

And if I can, will I gain the ability to use CWM to do basic maintenance like Nandroids and fix permissions?

Or is this specifically a ROM installer for uSD that installs the combined specifications of Racks and Verygreens installer builds with multi boot function to pick which one? ...which is really awesome on its own.

Thanks for your work and time,

12
[Nook Color Android Development] jtbnet:
It is primarily the latter but If you mount /boot from a copy of my image you could copy all the files over to your /boot skipping the uImage and

uRamdisk disk files thet got installed by your version and then you would have all the features except for the expanded size boot partition...

EDIT: I removed the files you shouldn't change from an existing /boot dir and zipped up the rest and posted this zip in my dropbox

http://dl.dropbox.com/u/6922721/jtbnet-modified-bootfiles.zip

Just have your SDcard mounted as /boot on your PC and extract this zip to it to get the options from my card...
[Nook Color Android Development] 12paq:
Hey thanks jtbnet,

This is going to be a valuable tool for me. In addition, from your post I am learning more about the specific boot files in Android and our device.

Edit: the above files worked perfectly with my existing "Verygreen CM7 uSD" setup. It's great to get back to having CWM features like nandroid backups again. Thanks!

..a side note, my latest study is to find a user friendly way, with pre-written scripts, to copy and move my B&N rooted modified Eclair stock rom image from emmc to a bootable uSD. This is almost achieved with one of the dual boot prep scripts that moves stock B&N emmc to media and creates appropriate partitiins. Why this would be handy is, to be able to boot to stock for the family by just popping in a uSD and I could have my CM7 on emmc with a dedicated uSD, now that it is near stable. Food for thought anyway.

Thanks again!
[Nook Color Android Development] :
In your instructions in the 2nd post you wrote:

4. Once the card is written, place the cm7 zip in the root of the boot filesystem.

(Should be a drive letter with boot in the name with files like uImage uRecImg etc on it)

5. Place the gapps zip of your choice in the same "boot" filesystem.

Please clarify / confirm the following:

(1) Can we place the rom and gapps update.zip files on the sd card at the same time and then boot? Or should we first boot with the rom and then repeat for gapps?

I am currently only trying to boot with the CM7 nightly 37 by itself.

(2) I downloaded racks' modified CM7 nightly 37 and I get the following error when booting into sd card and alternate for the first time:

It appears the SD card is already properly formatted

Skiping 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

Right now I renamed the CM7 nightly to updatei-cm-37.zip.

Please let me know what I am doing wrong and maybe update your instructions on the 2nd post to clarify.

Thanks

EDIT: If I power off after I receive the message above, my nook reboots automatically by itself. It is now on the screen with the word ANRDOID_. Maybe it is installing CM7 now? Maybe I am now on your steps:

10. Let it finish.

11. Boot into CM7

I'll leave it for a while and see what happens.

EDIT: No luck. I just tried repeating the instructions only with the CM7 nightly downloaded from the teamdouche site. I got the same results.
[Nook Color Android Development] jtbnet:
#1 You can put Both the CM7 install and the GApps install on the boot partition at the same time.

#2 Rack's modified versions I believe are meant to install with CWR 3.x.x.x Recovery vs. verygreen's install as Racks has already modified these files for SDcard which vg's installer/updater does on the fly to stock CM7 versions/nitely's... so I'd suggest downloading and trying a stock CM7 nitely from;

http://cm-nightlies.appspot.com/?device=encore

Part of my point for putting this together had been to give folks an easy way to use vg's installer/updater in an easily reusable form (Alternate Boot) to avoid the need for waiting for folks like racks' to build custom SDcard versions... but like I noted id you put the racks' version on partiton 4 /sdcard and use CWR 3.0.1.0 to install or upgdate from it that works fine too... but it's tricky with windows to get to the 4th partition until you already have a bootable version that makes the 4th /sdcard the usb viewable partition...
[Nook Color Android Development] :
Thanks.

That site has no links right now. I just tried repeating the instructions using the CM7 nightly downloaded from the teamdouche site (http://mirror.teamdouche.net/?device=encore). I put this update.zip in the /boot folder and renamed it updatei-cm....zip. I got the same results.

Thoughts?
[Nook Color Android Development] :
Also, this may just have been an oversight, but the files in the Nook-2GB-SDCard-CW3010-VGCM7InstallerAsALTinMultiBoot-v5.zip downloaded on verygreen's mirror site are name version 4 instead of 5. Not sure if they are the current version.
[Nook Color Android Development] jtbnet:
That site which is the changes list by version has links... just not so obvious that each version.zip name points to the normal download site... I tend to use this link versus just checking for a new version on the download site to see if the changes in the latest version warrant me updating...

I think the problem might be you renaming files... I just dropped the file from the download site called cm_encore_full-37.zip on /boot and it used that file to update me just fine...
[Nook Color Android Development] jtbnet:
The difference between v4 and v5 was that for v5 I removed the zerofile padding files in /system and /data that I used to half the size of the zip as all zeros compressed better than raw formatted disk space...

The only v5.zip (the 2 links in OP) I have has a v5.img inside I beleive so I'm confused... could you send me a link to the bad file?
[Nook Color Android Development] :
Thanks for your patience. That did it. All my trouble because I missed a detail in your first post about placing rack's version in the 4th partition.

It's now installing CM7.
[Nook Color Android Development] jtbnet:
Glad to hear you got over the hump and got it done... for upgrading to a new nitley you just do the same thing... grab a fresh nitely drop it on /boot and use alternate/vg's installer to do the update with on the fly conversion and maintains all you previous setups so makes it a piece of cake...
[Nook Color Android Development] TheEditor:
Actually the mount of the SD to which I am referring is the mounting of the SD on the Nook when booted into CM7, not when connected to the PC. I should have made that more clear.
[Nook Color Android Development] jtbnet:
I did see some comments about that being a problem with other sdcard builds when the /sdcard partition was extended for a 16 or 32 GB card... I thought someone had found a solution/workaround but I haven't tried my image extended recently past and 8 GB card so /sdcard was only extended to be 6GB... I go burn a 32 GB card... The ones I have are sandisk class-2 so I usually don't use then for boot cards but works a shot to see if I can repro problem...
[Nook Color Android Development] TheEditor:
accidental double post
[Nook Color Android Development] docfreed:
Help - Cannot Resize 4th Partition

I have followed the instructions in the OP and successfully wrote the disk image - now I cannot resize the 4th (~30 Mb) partition using Easus (on Windows Vista in administrator mode). I can see the five partitions in Easus

I wrote the image using WinImage - does this somehow affect the ability to change the partition size?
[Nook Color Android Development] jtbnet:
I've been testing for a while and I think I found the problem and fixed it as I've expanded and have it running now on my 32GB Sandisk Class-2 when seems to perform about Class-6 speed...

Check in Easeus and see if the 4th partition says it's 'Logical' instead of 'Primary' like all the others... if so then then right click on the partition and choose advanced->convert Logical to Primary.... Operations->Apply... then resize... that worked for me... I'm re-uploading a v6 with partition as Primary in a bit...
[Nook Color Android Development] jtbnet:
OP Updated to v6....

v4->v5 = remove zerofile in /data and /system

v5->v6 = change 4th /sdcard partition from 'Logical' to 'Primary'
[Nook Color Android Development] jtbnet:
OP updated with v6 on both mirrors...