Related
Whenever I try to format /data through CWM 3.0.2.8, it returns the message.
error while formatting /data
Click to expand...
Click to collapse
Also when I try to restore a backup, CWM cannot format /data.
I've also tried to install CM7. It says it completed its install in CWM but when I reboot, it retains the OS (rooted stock 1.2) I was currently on.
Me too. I just updated to MR1 and I am trying to restore the /data directory and I can't.
There's one thing I noticed about this refurb'd nook color. The space available in the device info is 1GB. Shouldn't it be higher or did they change the file structure with the latest models?
Also, I went into ADB and mounted EMMC. The last modified date for the files in there is May 4th.
Edit
Not sure if this would help.
~ # fdisk -l /dev/block/mmcblk0
fdisk -l /dev/block/mmcblk0
Disk /dev/block/mmcblk0: 7944 MB, 7944011776 bytes
255 heads, 63 sectors/track, 965 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 * 1 9 72261 c Win95 FAT32 (LB
A)
/dev/block/mmcblk0p2 10 18 72292+ c Win95 FAT32 (LB
A)
/dev/block/mmcblk0p3 19 56 305235 83 Linux
/dev/block/mmcblk0p4 57 965 7301542+ 5 Extended
/dev/block/mmcblk0p5 57 114 465853+ 83 Linux
/dev/block/mmcblk0p6 115 789 5421906 83 Linux
/dev/block/mmcblk0p7 790 834 361431 83 Linux
/dev/block/mmcblk0p8 835 965 1052226 c Win95 FAT32 (LB
A)
~ #
Click to expand...
Click to collapse
~ # parted /dev/block/mmcblk0
parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
print
print
Model: MMC SEM08G (sd/mmc)
Disk /dev/block/mmcblk0: 7944MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 74.0MB 74.0MB primary fat32 boot, lba
2 74.0MB 148MB 74.0MB primary fat32 lba
3 148MB 461MB 313MB primary ext2
4 461MB 7937MB 7477MB extended
5 461MB 938MB 477MB logical ext2
6 938MB 6490MB 5552MB logical ext3
7 6490MB 6860MB 370MB logical ext3
8 6860MB 7937MB 1077MB logical fat32 lba
(parted)
Click to expand...
Click to collapse
Someone responded back to me on this forum.
http://androidforums.com/b-n-nookcolor/333668-format-internal-partition.html#post2672750
Barnes & Noble has started shipping new NOOK Color devices that are partitioned to allow only 1 GB of "user sideloaded" storage. The remaining 7 GB are partitioned for the OS, apps from the new B&N Apps store, and items downloaded directly from B&N. For the typical (non-rooted) device, the user would have to use the microSD slot for additional storage. I suspect you got one of the newly partitioned devices, which is why you are now seeing only 1 GB instead of the previous 5 GB of storage available.
Click to expand...
Click to collapse
Is there anyway to repartition the new devices or I'm stuck with this? If not, it's going to prevent me from dualbooting. This might also be the cause of my second problem, installing CM7 and still ending up with the original OS.
Oh man am I glad I found this thread. I was freakin' out when I couldn't load phiremod onto my newly purchased NC. Turns out I can only see 1GB of storage like the others in this thread. Hopefully some one will find a way to repartition the newer devices otherwise I am stuck with a rooted NC running the stock ROM with no way to return it.
You can just "Reset to factory default" and it'll remove the root. Then you can try to return it or exchange it. I'd probably say this if they ask for a reason...
"It's showing 1GB space as opposed to 8GB space as advertised"
Though I'm wondering why install CM7 doesn't change anything. After installation, it still boots up the stock OS.
jb7038 said:
You can just "Reset to factory default" and it'll remove the root. Then you can try to return it or exchange it. I'd probably say this if they ask for a reason...
"It's showing 1GB space as opposed to 8GB space as advertised"
Though I'm wondering why install CM7 doesn't change anything. After installation, it still boots up the stock OS.
Click to expand...
Click to collapse
Trying to load new ROMS fails because I can't do a data wipe as instructed.
I wonder if they made it so that outside sources can't write or modify /data now but it's still rootable with manualnooter.. I can format the other partitions through CWM and restore them easily.
EDIT
http://www.barnesandnoble.com/nookcolor/features/index.asp?cds2Pid=35583
*1GB = 1 billion bytes; Actual formatted capacity may be less. Approximately 5GB available to store content, of which up to 4GB may be reserved for content purchased from the Barnes & Noble NOOK Store.
I am not sure what kind of security they could have on the actual partitions, but the dual boot ROMS show that resizing the partitions should not be to hard, though it does mean you may lose data (possibly).
I don't mind losing my /data. I rather be able to install CM7 or something on the EMMC as opposed to running it on the SD.
I'd be grateful if someone could show me how to partition it so it's back to the original partition, 4gb/4gb as opposed to 7gb/1gb I think.
I hope something is figured out soon.
Here's the solution to anyone following this thread.
http://forum.xda-developers.com/showpost.php?p=13971291&postcount=110
I had this problem too.. bought a brand new nook color... this is what i did using CWM 3.0.2.8 to boot off SD...
1. used manual nooter 4.5.6
(after applying had all types of popup force close messages about /media this /media that)
2. changed my patitions to match this post
http://forum.xda-developers.com/showpost.php?p=13003431&postcount=166
(Note: Although it said that it didnt write the partitions it actually did)
3. did the 8 boot reset and nook button reset...
(This didn't reset the partitions actually and I had 5.sumthin GB free space not 1GB as before)
4. Manual nooted again then installed Phiremod 6.2 and Dalingrin's Kernel 042411 for cm7....
Sparks1641 said:
I had this problem too.. bought a brand new nook color... this is what i did using CWM 3.0.2.8 to boot off SD...
1. used manual nooter 4.5.6
(after applying had all types of popup force close messages about /media this /media that)
2. changed my patitions to match this post
http://forum.xda-developers.com/showpost.php?p=13003431&postcount=166
(Note: Although it said that it didnt write the partitions it actually did)
3. did the 8 boot reset and nook button reset...
(This didn't reset the partitions actually and I had 5.sumthin GB free space not 1GB as before)
4. Manual nooted again then installed Phiremod 6.2 and Dalingrin's Kernel 042411 for cm7....
Click to expand...
Click to collapse
I did this too and it scared the crap out of me when it kicked me out of fdisk. I thought I hosed it for good. Then when I did the 8 resets it kept going into CWM on the 8th reset. It wasn't until I rebooted it from CWM did it go and reflash itself.
Man that was scary. I thought I had a $250 paper weight.
I was a little freaked out when the fdisk said it didn't work... But reading around I seen that its almost impossible to break it as long as you don't mess with the first 3 partitions so what was the worse case I figured... This must be an issue with the CWR though.. Probably just updating the CWR to format different sizes of the partitions... A format with offset and length feature in an advanced menu... then we can change the sizes to what we want.. But going forward until CWR gets updated every new nook probably gonna have to do the partition change... Not like that's a big deal...
I bought a Nook Color used off craigslist cus they "bricked" it. I thought, no prob, through in the CWM uSD card, erase the data and system, and throw 1.2 on to root.
Can't erase the Data!
They said it was only a few weeks old. I'm guessing it was a refurb with new partition, they tried to root it somehow, and messed it up, then gave up.
Let's hope this fixes it!
Let us know if the partition thing works.. that would be cool.. GL.....
Sparks1641 said:
Let us know if the partition thing works.. that would be cool.. GL.....
Click to expand...
Click to collapse
I did the repartition here:
http://forum.xda-developers.com/showthread.php?t=1094371
and it worked like a charm - finally have CM7 on my 4th Nook!
Thanks to DeanGibson.
hi guys i am in a big mess
1)i tried installing official 2.3.5 final and my phone(u8800) started bootlopping after factory reset i managed to start it once.
2)i restarted my phone after rooting it and had again bootloops that i didnt ever manage to overcome.
3)so i desided that i should reflash official(and the desaster started)update failed on 99% and the worst bootloader locked .
4)i tried installing an official froyo also failed at 99% but bootloader unlocked
5)now i am on ubuntu able to see pink screen files but unfortunately i dont have dd back up but i have many back ups from cwm on my sd from custom roms is there any posibility to unbrick my phone?
ps for admin sorry for same thread but the other started writing in some unknown language to me
Can you access recovery?
So you downgraded to 2.2, which version B138?
can you try to access recovery? official will do for factory reset, if doesn't start again try to flash it again, and after that do wipe and factory reset from recocery...
I managed to downgrade like that also failed at 99% but with factory reset the phone started normally...
Atanasov Goran said:
So you downgraded to 2.2, which version B138?
can you try to access recovery? official will do for factory reset, if doesn't start again try to flash it again, and after that do wipe and factory reset from recocery...
I managed to downgrade like that also failed at 99% but with factory reset the phone started normally...
Click to expand...
Click to collapse
1)yes my 2.2 froyo is 138 from how to root ginerbred thread and after this flash i lost adb compatibility in windows so now i am in ground zero if ther is a way to flash something from ubuntu or backtrack in bootloader mode because even after that still no access to phone not even from pc on cwm to see my sd card
2)in simple boot my phone stacks on huawei logo,i can also get to recovery menu and finaly and i think the most helpfull i can get pink screen and mount my files on linux.
3)i have also try to recover in last saved working recovery (custom rom)
4)i think that something went wrong with my partitions but i realy need help from a developer because i dont know what to do
try this
try to wipe/factory reset from the official recovery, should start normaly after that, my phone did the same when i downgraded from 2.3 stoped at 99% and said that the update failed but after a factory reset booted normaly
Maybe a partition is damaged.
Try from linux on pink screen to check partitions for errors. Maybe you can fix it like this and after to successfully flash the update.
dancer_69 said:
Maybe a partition is damaged.
Try from linux on pink screen to check partitions for errors. Maybe you can fix it like this and after to successfully flash the update.
Click to expand...
Click to collapse
can you give some info how to do that i see 3 partitions of 105mb,235 and recovery partition only who auto mount and on gparted i see 4gb unreachable
do you mean just to check disk this partitions ?
I haven' t specific infos, I'm using linux very rear the last year. I think that you can use the fsck tool of linux. You can find a lot of info about how to check partitions for linux if you search on google. Just be careful to not format them or erase them.
Tranos said:
can you give some info how to do that i see 3 partitions of 105mb,235 and recovery partition only who auto mount and on gparted i see 4gb unreachable
do you mean just to check disk this partitions ?
Click to expand...
Click to collapse
You should see 13 partitions total if you look at the drive with parted or gparted etc.. And yeah you could run fsck on all the ext3/ext4/fat32 partitions. But if you don't see all the 13 partitions in parted / gparted then I think the partition table is damaged or some weird bootloader lock issue.
after some tries and stock reflashes i am now on official cwm recovery and trying to wipe data/factory resets returns me an error :
E:cant mount @(or /dev/block/mmcblk0p13) both wipe and format same error
can you candly send me the official recovery files and what should i have in(i think something after so many custom roms failed)
and this are the partitions i can see now
You could run gparted and note down all partitions which are ext3, ext4 or fat32. Then you can check the disks with "sudo fsck /dev/sdxx". Also I can post my partition table later when I'm on my comp so you could compare it to yours.
Sent from my u8800 using xda premium
thies are all partitions but i think there are too many anallocated
Code:
GNU Parted 2.3
Using /dev/sdd
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Error: Invalid partition table on /dev/sdd -- wrong signature 0.
Ignore/Cancel? i
Model: Qualcomm MMC Storage (scsi)
Disk /dev/sdd: 3959MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 512B 252MB 252MB primary fat32
2 252MB 252MB 512kB primary boot
3 252MB 255MB 3072kB primary
4 255MB 3959MB 3704MB extended
5 268MB 281MB 12,6MB logical
6 336MB 472MB 136MB logical ext3
7 537MB 537MB 512kB logical
8 604MB 607MB 3146kB logical
9 671MB 678MB 7168kB logical
10 738MB 741MB 3146kB logical
11 805MB 808MB 3146kB logical
12 872MB 1103MB 231MB logical ext3
(parted)
2 partitions are missing
Here's how mine looks. I'm guessing you don't have a dd backup of the whole phone? Anyway if your partition table is messed up, it would be possible to clone my partition table. Only the partition table, and leaving all other data intact. It would probably be a good idea also to check with others if the partition table is always exactly the same on all phones, or if there are different flash mems or something with diff. tables. Also did you run fsck on 1,6,12 and 13?
Code:
$ [B]sudo parted /dev/sdc[/B]
GNU Parted 2.3
Using /dev/sdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) [B]p[/B]
Model: Huawei eMMC Storage (scsi)
Disk /dev/sdc: 3959MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 512B 252MB 252MB primary fat32
2 252MB 252MB 512kB primary boot
3 252MB 255MB 3072kB primary
4 255MB 3959MB 3704MB extended
5 268MB 281MB 12.6MB logical
6 336MB 472MB 136MB logical ext4
7 537MB 537MB 512kB logical
8 604MB 607MB 3146kB logical
9 671MB 678MB 7168kB logical
10 738MB 741MB 3146kB logical
11 805MB 808MB 3146kB logical
12 872MB 1103MB 231MB logical ext2
13 1141MB 1770MB 629MB logical ext4
14 1812MB 3959MB 2147MB logical fat32
(parted)
do you know how ican fix my partitions again or should i sent it to service tbh it is huawei fault that my phone doesnt work now
I checked my partition table(I have 2.3 installed, not 2.2) and are same that ksata' s, except partition 12 which is in ext3, not ext2.
But I think that on 2.2 rom the partition table has 12 partitions and not 14(I've used command cat /proc/mounts some times when a was on 2.2 rom and always partitions count was until 12). So, I don' t think that it' s something wrong with the partition table.
But maybe some of the existing partitions is damaged and when update tries to write on it, gets an error and update stops.
You can check the ext2/3/4 partitions from gparted. First umount a partition end then check it(if you right click on a partition these options are available on the menu)
Looks like I have bricked mine too.. pretty badly. When updating to 2.3 if fails at step 2 (40 %) and shows "update failed" (same with 2.2). Can't access recovery either. In pink screen Windows and Ubuntu doesn't mount any partitions..
Looks like I have to send it in to change motherboard, but if any have suggestions how to fix it please tell me
ps. was on Cm7 before this happened.
skifyr123 said:
Looks like I have bricked mine too.. pretty badly. When updating to 2.3 if fails at step 2 (40 %) and shows "update failed" (same with 2.2). Can't access recovery either. In pink screen Windows and Ubuntu doesn't mount any partitions..
Looks like I have to send it in to change motherboard, but if any have suggestions how to fix it please tell me
ps. was on Cm7 before this happened.
Click to expand...
Click to collapse
Try to flash using internal SD card. Also, one user reported that removing battery worked.
Blefish said:
Try to flash using internal SD card. Also, one user reported that removing battery worked.
Click to expand...
Click to collapse
How to access internal when you can't boot (not even to recovery)? Tried to remove battery, but didn't work..
1)i managed to solve my problem by using the genokolars re-partition to stock from modaco and the partition zip that is at a reply of him not post start thank you everybody for the try .and after reflashed the chinese stock 162
2)but now i have nulled imei can i restor it by some clock works recoveries or ther is no way to restore it(i dont have dd back up)
skifyr123 said:
How to access internal when you can't boot (not even to recovery)? Tried to remove battery, but didn't work..
Click to expand...
Click to collapse
Have the same issue. Did you try to work it out somehow?
Try look at my thread here:
http://forum.xda-developers.com/showthread.php?t=1466953
A friend of mine tried to install CM7 on his NookColor. Something went wrong and so he brought it to me. I've done dozens of these. I thought it would be an easy fix so I stuck in my trusty SD boot card with encore_CM72-MiRaGe-03042012. I booted into CWM and did a factory reset and installed encore_CM72-MiRaGe-03042012. I booted it up and expected it to be fixed.
It did the same thing this time which is to boot to the initial splashcreen and then go blank. You can tell the screen is still backlit, but it never changes. You have to hold the power button for 30 seconds to turn it off.
When I boot back into CMW I see some unexpected messages
E:Can't mount /cache/recovery /command
E:Can't mount /cache/recovery /log
E:Can't open/cache/recovery /log
E:Can't mount /cache/recovery /last_log
E:Can't open/cache/recovery /last_log
I tried installing CM7 again and watched the messages closely. It says
Installeding update
Install from sdcard complete.
Reboots the same way
Can anyone point me in the right direction to fix this? Thanks
Well, I spent all day yesterday Googling and searching all the forums on XDA Of course I started with Dummies Guide to Fixing 'My Nook Won't Boot'. It is incredibly out of date and is likely to do more harm than good. I think that if it is going to be a sticky, then at least it should show current, relevant information.
I tried [HOW-TO] : Restore Nook Color back to stock EASILY!. I was unable to format several of the partitions specified, but proceeded anyway. It appeared to install OK, but now I am stuck at the N when it boots.
I am continuing to search but I keep running into dead links, downloads that say they will take 5 hours, and references to outdated files. I really would appreciate some knowledgeable help here guys. Thanks
I have the same deal. I think since the WIP clockwork update. I've tried most of the fixes from the links as I still have most. I tried everything you have as well as trying restoring and using different versions of clockwork and trying to get a cache up to no avail. The please keep me posted because this is the first replica of my situation. I am using an Asus t101 now so I'm in no hurry but I've had me NC forever and love the reading size.
Good luck.
How do you create or fix the cache for e:? I can you ADB into clockwork?
Just in case anyone ever reads this thread I thought I would give some more information regarding my problem.
I am able to get into CWM 3.2.0.1 internally. I stiil can't get any ROM loaded though. ( I have loaded several different ROMS to the NC previously including the CM7 nightlies from 75 to 130, so I am well versed in how to do it).
I'm thinking there is something wrong with my partitons. I'm not well versed in exactly what happens during the boot process and what is on each partiton.
I though it might be useful for those people who know about this stuff if I supplied more info (since my eyesight is giving out from reading so many threads)
If I go into the mounts and storage menu and do severals format, this is what I get.
Format system - Error formatting /system!
Format data- Error formatting /data!
Format cache- Error formatting /cache!
I was afraid to format emmc or boot.
Does this help anyone?
Have you tried creating a bootable CWM SD card? That always helps me out when things get screwy.
Tried the EMMC recovery repair?
p.s. - NEVER format Boot. You'll have many a difficulty if you do.
I do have a CWM SD card and can boot to that as well.
Neither one works. I tried installing
nookcolor_1_4_1_update.zip
update-nc-stock-1.3.zip
encore_CM72-MiRaGe-03232012.zip
All leave me where I am now
How old is the nook?
What happened when your friend tried to install cm7? What was going on with it prior to installation?
Don't really have much info.
I have no idea how old the NC is.
I believe that the guy had stock B&N running and tried to install CM7 (verson unknown) with a bootable microSD card, I don't know if he was using the latest CWM on the card.
Um........mail it to me. I'll fix it.
Minimum fees apply.
Here's another clue.
I have a dual boot SD card made based on the instructions in
[ROMS]NEW! Dualboot Mirage CM7 / ICS CM9 Image for SDcard [3/26].
If I use it on a stock B&N NC, the SD card works correctly.
If I use it in the borked NC, it still boots into a black screen.
I would prefer to try to resolve this mayself. I have 20+ years in PC support and feel if I can just get the right information, I can fix it.
If I can't get it done in the next 3 or 4 days, I may take you up on it. However, the frind would have to OK it and I don't know how he feels about sending it off. Thanks
BTW, I tried plugging in the USB cable to see if maybe I could try some ADB magic, but the laptop slings an error when trying to load the driver.
Let me amend that last post. I tried the dual boot (this time using the alternate boot image) and successfully got into CM9. Does this help me?
I am trying to find a way to fdisk or mount a way to change pemissions to rw,mode=0755 or but cannot find the usb yet. I will see what I can google.
Seems the emmc permissions are wrong possibly.
Edit: this is what my mount says about the nook when I mount it to linux:
/dev/sdb on /media/0838-AA8D type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks)
Since I have thee NC booting to CM9 off the SD card, I thought I would load ADB and see if there was something I could do..
I went to [Ref] Nook Color Links |Guides|How To|Utilities| Etc. 12/26 Read FIRST =) in the developer's section and went to the referenced
•Nook Color USB Drivers and ADB Setup (WinXP&7)
The links in that thread are dead. Can someone point out a link to the current prefered method?
have you tried
[UPDATE ZIP] Stock 1.2 update.zip flashable from CWM
from showthread.php?t=1050520
This is nookcolor easy adb 3:
http://db.tt/b3XfztAY
And the USB files file NC:
nookcolor usb
http://db.tt/QRhksG2n
Hi there,
If you are able to boot to CM9 off the sDcard. Try opening up terminal emulator and enter the following commands:
Code:
$ su
# fdisk -l /dev/block/mmcblk0
and paste the output here. That should give you you're EMMC partition layout.
-Racks
Yeah, what racks said. Sounds like you formatted your emmc boot partition to me. In one of the old resurrected threads that you posted to, the OP flat out says they formatted boot.
Don't format boot, everyone.
Post the output of racks command, and we'll know for sure.
If you just formatted (read: erased) the boot partition, then your ROM partition should be intact. That means 8 failed reboot can load the stock firmware. It may be a last-ditch effort for many, but it doesn't require any adb knowledge our even a computer, so I tend to recommend it early.
Reboot as it is loading the cyanogen screen eight times while holding down power,n, and the volume keys. If it doesn't work the first time, do the entire sequence again. Of course, if you enter rack's command, you will see if your ROM partition is still intact which is required for this method to work.
[email protected]:/ # fdisk -l /dev/block/mmcblk0
Warning: invalid flag 0x00,0x00 of partition table 5 will be corrected by w(rite)
Disk /dev/block/mmcblk0: 7944 MB, 7944011776 bytes
255 heads, 63 sectors/track, 965 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 * 1 9 72261 c Win95 FAT32 (LBA)
/dev/block/mmcblk0p2 10 18 72292+ c Win95 FAT32 (LBA)
/dev/block/mmcblk0p3 19 56 305235 83 Linux
/dev/block/mmcblk0p4 57 935 7060567+ 5 Extended
[email protected]:/ #
Bonnie_Raitt said:
[email protected]:/ # fdisk -l /dev/block/mmcblk0
Warning: invalid flag 0x00,0x00 of partition table 5 will be corrected by w(rite)
Disk /dev/block/mmcblk0: 7944 MB, 7944011776 bytes
255 heads, 63 sectors/track, 965 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 * 1 9 72261 c Win95 FAT32 (LBA)
/dev/block/mmcblk0p2 10 18 72292+ c Win95 FAT32 (LBA)
/dev/block/mmcblk0p3 19 56 305235 83 Linux
/dev/block/mmcblk0p4 57 935 7060567+ 5 Extended
[email protected]:/ #
Click to expand...
Click to collapse
Yep, your missing the last 4 partitions which are /system, /data, /cache, /media. Which you would need to flash any rom. You're gonna have to re-create them by using fdisk from and SDcard ROM (eg. CM7 or CM9). There's a thread here somewhere that dealt with all that. I'll browse through and see if I can find it for you.
-Racks
This it?
http://forum.xda-developers.com/showthread.php?t=958748
Not sure how to rebuild the missing partitions yet. Appreciate the help fellas.
Long story short, I screwed up my internal memory partition table and believe I've got it back.
Problem: I need a dump of /dev/block/blkmmc0p1 (and p5) if at ALL possible from anyone that has a working Nook.Color.
My problem is similar to this one: http://forum.xda-developers.com/showthread.php?t=918772
If only the files on this page were still active on Mediafire: http://forum.xda-developers.com/showthread.php?t=919353
That's the long and short of it. If you guys want some additional info I can provide any information, but as I said, a dump of someones boot partition would definitely help.
Thanks all!
-Josh
Your PM to me says you flashed my 3 zips. I generally don't respond directly to PMs, I prefer the forums. I assume you meant my three zips in my partition repair thread. The repair 145678 zip has a dump of that partition built onto it. So if that flashed successfully, and it still will not let you boot, finding another dump file will not help. If you want one, extract the one from there.
You may need to describe more what you have done and how it is acting now.
Sent from my Nook HD+ running CM10 on Hybrid SD
OK, I'll just start from the beginning with what I've done:
I have a Nook Tablet (not talking about it, just saying... I'm in the right forum lol) and a friend got a Nook Color and wanted to know if I could soup it up the same way.
Well I had it working and like an idiot, I accidently used the Nook Tablet "swap storage" routine to make /sdcard1 <-> /sdcard0 instead of the one for the Nook Color. It took the flash fine and upon reboot it claimed that the SD Card needed to be prepared so I let it format the "card"
That's all she wrote so far. I rebooted it again and it wouldn't even come on. It was at 30% power when I told it to reboot, so I figured it was plagued by the sleep of death so I let it charge all night.
Woke up, still nothing.
I made a CWM bootable SD card and LO AND BEHOLD, it started up without a hitch!!! But it complained constantly of "/cache" not mounting to store its log files (that was earlier today and it has been a LONG day so I cant recount the exact error message). When I tried to install the ROM again, however it failed all around.
Your partition 2 repair file failed at first for me, that's how bad it was.
After many different attempts, I setup a bootable SD card with Nookie and get a little further.
With Nookie, I was able to FINALLY adb into the device and fdisk -l /dev/block/mmcblk0 which revealed an empty table and with wrong cylinder, head, and sector count, which I fixed by using the information found here: http://forum.xda-developers.com/showthread.php?t=942324
After that, I remade my CWM bootable SD card and got better results. /cache errors are gone and I was able to use all three of your zip files for repairing partitions (forgive me for not having the file names handy).
That has gotten me a little further, but now I keep getting errors about /boot not mounting.
Also, I haven't just been using CWM, but also TWRP (which thinks my serial number is all 0s), but when I manually mount /rom I can see in the devconf folder that my serial number has been restored (before I recreated partition table and ran your 3 zips, that wasn't even the case).
I'm sorry this is so scatter brained. I've been at it for a solid 10 hours all while laid up in bed with walking pneumonia, so..yeah...fun times..
It could also be that I didn't partition it properly because partition 1 (the only 1) seems to lose it's file system type every time, while the other 7 remain intact.
If it did not have the proper cylinder head count, how did you repartition it? That quoted thread just says what the proper layout should be, not how to repartition it.
Sent from my Nook HD+ running CM10 on Hybrid SD
Well, I'm not EXACTLY a total n00b. I looked up the busybox/fdisk syntax.
First I did fdisk -C 965 -H 255 -S 63 /dev/block/mmcblk0 (as it was reporting nothing right)
That command got me the proper size of the disk and I, with help of the "m" help command" recreated it to this (now that I have adb working in TWRP, I'm back to my preferred parted, so this is not an fdisk printout, but a parted printout):
Number Start End Size Type File system Flags
1 32.3kB 74.0MB 74.0MB primary fat32 boot, lba
2 74.0MB 148MB 74.0MB primary fat32 lba
3 148MB 461MB 313MB primary ext2
4 461MB 7937MB 7477MB extended
5 461MB 938MB 477MB logical ext2
6 938MB 1941MB 1003MB logical ext3
7 1941MB 2311MB 370MB logical ext3
8 2311MB 7937MB 5626MB logical fat32 lba
In the past 5 minutes I have used mklabel to wipe partition table (shown above) again and am recreating them... again.
----EDIT-----
Here is that redone partition table:
Model: MMC SEM08G (sd/mmc)
Disk /dev/block/mmcblk0: 7944MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 512B 74.0MB 74.0MB primary fat32 boot, lba
2 74.0MB 148MB 74.0MB primary fat32 lba
3 148MB 461MB 313MB primary ext2
4 461MB 7944MB 7483MB extended lba
5 461MB 938MB 477MB logical ext2
6 938MB 1941MB 1003MB logical ext2
7 1941MB 2311MB 370MB logical ext2
8 2311MB 7944MB 5633MB logical fat32 lba
I'm not exactly a noob either and I could not find that -c -h -s command. I've been looking for that forever because I have a device that is showing the wrong count. So thanks.
Let me know how that new repartition comes out. I'll help if I can. I have all the images if you need them.
Sent from my Nook HD+ running CM10 on Hybrid SD
New layout:
Number Start End Size Type File system Flags
1 512B 74.0MB 74.0MB primary fat32 boot, lba
2 74.0MB 148MB 74.0MB primary fat32 lba
3 148MB 461MB 313MB primary ext2
4 461MB 7944MB 7483MB extended lba
5 461MB 938MB 477MB logical ext2
6 938MB 1941MB 1003MB logical ext2
7 1941MB 2311MB 370MB logical ext2
8 2311MB 7944MB 5633MB logical fat32 lba
Of your 3 zips, 1, 4, 5, 6, 7, 8 repair seemed to work without error, but I'm back to partition 2 repair not working. ARGH, talk about a step backwards LOL.
jmh363905 said:
New layout:
Number Start End Size Type File system Flags
1 512B 74.0MB 74.0MB primary fat32 boot, lba
2 74.0MB 148MB 74.0MB primary fat32 lba
3 148MB 461MB 313MB primary ext2
4 461MB 7944MB 7483MB extended lba
5 461MB 938MB 477MB logical ext2
6 938MB 1941MB 1003MB logical ext2
7 1941MB 2311MB 370MB logical ext2
8 2311MB 7944MB 5633MB logical fat32 lba
Of your 3 zips, 1, 4, 5, 6, 7, 8 repair seemed to work without error, but I'm back to partition 2 repair not working. ARGH, talk about a step backwards LOL.
Click to expand...
Click to collapse
I hope you saved an image of p3. That is critical.
Sent from my Nook HD+ running CM10 on Hybrid SD
leapinlar said:
I hope you saved an image of p3. That is critical.
Sent from my Nook HD+ running CM10 on Hybrid SD
Click to expand...
Click to collapse
Hope of backing up any partitions went bye bye when I had to recreate the partition table the first time.
Now, is that the partition with devconf files or the factory.zip partition?
I'm still a bit unclear on that.
jmh363905 said:
Hope of backing up any partitions went bye bye when I had to recreate the partition table the first time.
Now, is that the partition with devconf files or the factory.zip partition?
I'm still a bit unclear on that.
Click to expand...
Click to collapse
P2 is the one with the devconf files. P3 has the factory.zip, but more importantly it has the rombackup.zip which was the backup of p2 when it was manufactured. That is what my p2 repair zip uses when it reconstructs p2. If you don't have that info, you will never be able to boot to stock again. But we can make dummy info so it can boot to CM. If you got a backup of the p2 before it died, you will be ok.
BTW, I just used your fdisk commands to fix my bad cylinder count. Thank you.
Sent from my Nook HD+ running CM10 on Hybrid SD
BTW, I just used you fdisk commands to fix my bad cylinder count. Thank you.
Sent from my Nook HD+ running CM10 on Hybrid SD
Click to expand...
Click to collapse
No prob. That file is LOOOONG gone, but my only hopes are running CM10. Stock is for lusers. I have the serial number and wifi mac address written down so if we need to fake a few things, ANY help you can offer to get this thing working will be great.
I DID forget to mention that I have a TWRP backup of the Boot, Cache, System, and Data, but it won't restore :-/ I'm sure they're filled with all kinds of goodies.
Again, ANY HELP would be so great.
You tell me what you need me to submit and I'll be more than happy.
assert failed: (getprop("ro.product.device:") == "zoom2" || get prop("ro.build.product") == "zoom2") || getprop("ro.product.overallname:" == "NOOKcolor")
^^^ an error I'm getting trying to "install" the romrestore.zip file from my TWRP backup files. I'm not an expert, but is that saying my device and product name have been changed to something they shouldn't be?
jmh363905 said:
No prob. That file is LOOOONG gone, but my only hopes are running CM10. Stock is for lusers. I have the serial number and wifi mac address written down so if we need to fake a few things, ANY help you can offer to get this thing working will be great.
I DID forget to mention that I have a TWRP backup of the Boot, Cache, System, and Data, but it won't restore :-/ I'm sure they're filled with all kinds of goodies.
Again, ANY HELP would be so great.
You tell me what you need me to submit and I'll be more than happy.
Click to expand...
Click to collapse
You need to make three files to put in the devconf folder.
DeviceID has your 16 digit serial number
SerialNumber has the same info
MACAddress has your 12 digit MACaddress with no spaces or colons.
Also BootCnt should automatically get made by the system. It will not hurt to have a dummy one there. 4 bytes with nothing in it. That is the one that triggers an 8failed boot reset if it ever gets up to 8 in that file.
Also in the main folder should be a file call BCB (which means Boot Control Block). That should get created automatically by TWRP or CWM.
You get all that in there and flash a CM ROM and it should boot.
P3 does not matter unless there is a problem and stock recovery needs it. As long as you make sure that the DeviceID file is intact, you will never need p3.
Sent from my Nook HD+ running CM10 on Hybrid SD
---------- Post added at 06:50 PM ---------- Previous post was at 06:47 PM ----------
jmh363905 said:
assert failed: (getprop("ro.product.device:") == "zoom2" || get prop("ro.build.product") == "zoom2") || getprop("ro.product.overallname:" == "NOOKcolor")
^^^ an error I'm getting trying to "install" the romrestore.zip file from my TWRP backup files. I'm not an expert, but is that saying my device and product name have been changed to something they shouldn't be?
Click to expand...
Click to collapse
No, it is because the original device name was zoom2. You do not want to flash that anyway, since you do not have a working p3. It does the same as my repair p2 zip.
Sent from my Nook HD+ running CM10 on Hybrid SD
OK from ADB Shell, here are my commands so far:
cd /
mkdir rom
mount /dev/block/mmcblk0p2 rom
cd /rom
mkdir devconf
echo 2011460062572006 > DeviceID
echo 2011460062572006 > SerialNumber
echo 58671A19B85F > MACAddress
Do I need to chmod these files as well?
jmh363905 said:
OK from ADB Shell, here are my commands so far:
cd /
mkdir rom
mount /dev/block/mmcblk0p2 rom
cd /rom
mkdir devconf
echo 2011460062572006 > DeviceID
echo 2011460062572006 > SerialNumber
echo 58671A19B85F > MACAddress
Do I need to chmod these files as well?
Click to expand...
Click to collapse
Nope, once you verify those files are really there, just flash a CM ROM.
edit, well now that I think about it you might want to set it for 644. I usually flash those and that is what CWM sets them as.
Sent from my Nook HD+ running CM10 on Hybrid SD
leapinlar said:
Nope, once you verify those files are really there, just flash a CM ROM.
Sent from my Nook HD+ running CM10 on Hybrid SD
Click to expand...
Click to collapse
-- Install /sdcard/cm-10-20130324-NIGHTLY-encore.zip ...
Finding update package....
Opening update package....
Installing update.... (a couple minutes like it's doing something)
*Verifying filesystems....
* Verifying partition sizes...
E: Unable to mount '/boot' (tw_mount)
E: Unable to mount '/emmc' (tw_mount)
E: Unable to mount '/emmc' (tw_mount)
E: Failed to mount /emmc (Invalid argument)
E: Failed to mount /emmc (Invalid argument)
E: Failed to mount /emmc (Invalid argument)
Rebooting system after that yields in the same ole same ole: First, using the software reboot failes.....always.. I'm taken to a blank (not backlit) screen that I have to press and hold Power + Nook. If I press both of these and an SD card is present, I'll get recovery again. If an SD card isn't present, it just sits there with a blank screen. (not backlit)
Ready to put a hole through it. LOL
jmh363905 said:
-- Install /sdcard/cm-10-20130324-NIGHTLY-encore.zip ...
Finding update package....
Opening update package....
Installing update.... (a couple minutes like it's doing something)
*Verifying filesystems....
* Verifying partition sizes...
E: Unable to mount '/boot' (tw_mount)
E: Unable to mount '/emmc' (tw_mount)
E: Unable to mount '/emmc' (tw_mount)
E: Failed to mount /emmc (Invalid argument)
E: Failed to mount /emmc (Invalid argument)
E: Failed to mount /emmc (Invalid argument)
Rebooting system after that yields in the same ole same ole: First, using the software reboot failes.....always.. I'm taken to a blank (not backlit) screen that I have to press and hold Power + Nook. If I press both of these and an SD card is present, I'll get recovery again. If an SD card isn't present, it just sits there with a blank screen. (not backlit)
Ready to put a hole through it. LOL
Click to expand...
Click to collapse
Two things, look at my edit above. And did you format those partitions after creating them? You need to. flashing my repair zip and format zips will take care of 145678. You still need to manually format p2 as fat32.
Edit: It looks to me like TWRP is doing some more checking that CWM does not do. You might try using CWM while trying to fix this. Also the new TWRPs do not like my zips.
Sent from my Nook HD+ running CM10 on Hybrid SD
leapinlar said:
Two things, look at my edit above. And did you format those partitions after creating them? You need to. flashing my repair zip and format zips will take care of 145678. You still need to manually format p2 as fat32.
Sent from my Nook HD+ running CM10 on Hybrid SD
Click to expand...
Click to collapse
I verified that the files were still present after a reboot and they were (plus a Lost+Found directory indicates that there's an active, formatted partition), but I am going to go ahead and format both boot and rom with FAT32 file system:
ADB Shell Commands:
mkfs.vfat /dev/block/mmcblk0p1
mkfs.vfat /dev/block/mmcblk0p2
Then attempted restoring again. Same process as before, except NO errors AT ALL this time, so seeing it as a ray of hope, I followed it up with the GApps package (in hopes that THIS IS IT....)
Good news, PROGRESS has been made:
Now, WITHOUT an SD card, the unit will power on and give me the Cyanoboot Bootloader, but just hangs at loading from EMMC 01
What do you suggest now? ( and when this is all said and done with I'm gonna be needing your PayPal account so I can thank you)
Those other partitions need formatting too. Use my 5678 format zip.
Sent from my Nook HD+ running CM10 on Hybrid SD
Working on my Mom's Nook Color. Rooted at one time, restored to stock. I believe something got nuked in the 1.4.1 to 1.4.3 update and because of it's age, B&N won't do a thing about it. So it's up to me. I'd like to restore it to stock if possible but even repairing the EMMC enough for a ROM would be fine as my mom has resorted to a SD ROM. I personally would like to fix this because I've never seen an Android device I couldn't fix (yet). I've tried both CWM and TWRP with the repartition zips, installing ROMs and stock files, etc. Only thing I haven't tried to manual creating partitions through ADB. Issue I'm getting is that no matter if I'm wiping or installing, I'm getting an "E:Unable to mount '/data'" error. Oddly enough, when booted into CM7 on the SD card, I can see the 5gb of user data partition and can even place the Nook update file on it (from B&N) but Nook recovery never sees it when I boot into it manually. The 8 failed boots recovery method is the only thing I haven't been able to try and I can't imagine it would do anything more than the partitioning zips. Anyone here have an insight on how to manually partition this thing or how to fix this NC through any other method?
Did you use my format zip after you ran my repartitioning zip? That would give that error if you forgot.
Yes, you can repair the emmc partition manually with fdisk in terminal emulator (TE) in CM7 on SD. First thing to do is to enter in su mode in TE by typing su enter. Then run this command:
fdisk -l /dev/block/mmcblk0
It should list the configuration of the partitions. I suspect your cylinder/head/sector (CHS) settings are wrong. It should say 965 cylinders, 255 heads, 63 sectors. If it does not say that, you need to repair it. Type:
fdisk -C 965 -H 255 -S 63 /dev/block/mmcblk0
Then type the earlier command to make sure it is right.
Then you should be able to run my emmc repair zips and they should work.
Sent from my Nook HD+ running CM10 on Hybrid SD
Deleted upon request
40Glock said:
Well my heads are certainly off. Came up with 965 cylinders, 255 heads, 63 sectors. however, when I type in the fdisk commands you listed, it tells me "-:Unknown Command"
I tried running the 3 zips from your thread prior to posting this and I was still getting the data error. Guessing the heads are what's throwing it off so bad.
My partition list looks like this:
# busybox fdisk -l /dev/block/mmcblk0
Disk /dev/block/mmcblk0: 7944 MB, 7944011776 bytes
255 heads, 63 sectors/track, 965 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 * 1 9 72261 c Win95 FAT32 (LBA)
/dev/block/mmcblk0p2 10 18 72292+ c Win95 FAT32 (LBA)
/dev/block/mmcblk0p3 19 56 305235 83 Linux
/dev/block/mmcblk0p4 57 935 7060567+ 5 Extended
/dev/block/mmcblk0p5 57 114 465853+ 83 Linux
/dev/block/mmcblk0p6 115 236 979933+ 83 Linux
/dev/block/mmcblk0p7 237 281 361431 83 Linux
/dev/block/mmcblk0p8 282 935 5253223+ c Win95 FAT32 (LBA)
Click to expand...
Click to collapse
You are right, it should be 255, I was going from memory. I will correct the above post. (Also can you either remove my quoted post from your above reply or edit it so users do not see my incorrect post?) Your partition table is ok. But from looking at the print out, you have not successfully run my partition zips. If you had run it successfully, p4 would end on 965, not 935. But I still think you need to run my format zip.
Sent from my Nook HD+ running CM10 on Hybrid SD
May have a culprit though I'm not quite familiar with it. Getting a status 2 error when trying to flash, then it gives me the unable to mount data. So I'm not able to successfully flash the files. Must have missed it because I was focusing on the mount error. Going to see what I can track down about status 2 in TWRP unless you know off the top of your head.
40Glock said:
May have a culprit though I'm not quite familiar with it. Getting a status 2 error when trying to flash, then it gives me the unable to mount data. So I'm not able to successfully flash the files. Must have missed it because I was focusing on the mount error. Going to see what I can track down about status 2 in TWRP unless you know off the top of your head.
Click to expand...
Click to collapse
It is because you are using a new TWRP. It does not like my old zips. Either use CWM or use the older TWRP I have in my repair thread.
Sent from my Nook HD+ running CM10 on Hybrid SD
Nope, created a bootable SD using the TWRP in your thread. Gave me the same /data error after installing each of the zips. Tried installing 1.2 from the SD card, seemed to go fine but still gave me the /data error. I starting to think this is truly just a nuked Nook.
40Glock said:
Nope, created a bootable SD using the TWRP in your thread. Gave me the same /data error after installing each of the zips. Tried installing 1.2 from the SD card, seemed to go fine but still gave me the /data error. I starting to think this is truly just a nuked Nook.
Click to expand...
Click to collapse
Ok first, please remove my incorrect post you quoted above.
Second, it sounds like the recovery is needing a valid /data partition before it will let you flash. You can repair it manually using fdisk. I will send you the commands via PM so noobs do not try this and muck things up.
Sent from my Nook HD+ running CM10 on Hybrid SD
Corrected the quote, will be looking for the PM. Thanks for all your help man! I'm good with repairs generally but not to this depth.
40Glock said:
Corrected the quote, will be looking for the PM. Thanks for all your help man! I'm good with repairs generally but not to this depth.
Click to expand...
Click to collapse
It needs more correction than that. I suggest you just delete it. PM very shortly.
Sent from my Nook HD+ running CM10 on Hybrid SD
leapinlar said:
It needs more correction than that. I suggest you just delete it. PM very shortly.
Sent from my Nook HD+ running CM10 on Hybrid SD
Click to expand...
Click to collapse
Done.
Well I'm booting to the N logo and freezing. When I was trying to flash a rom over it before, it would not mount /data in SD recovery. Cannot get to EMMC recovery. When I flash from the dual boot SD with CWM, it doesn't give me the /data mount error but it still doesn't boot past the N logo. Beginning to wonder if my EMMC bootloader is damaged.
Click to expand...
Click to collapse
Back from the PM exchange.
Let me explain how the booting works. A lot of this is explained in my NC Tips thread linked in my signature in item A12. There is more detail there.
When the nook boots, it looks at p2 to make sure everything is ok there. If it is not ok not it tries to boot to stock recovery to repair itself. If stock recovery is not there or corrupt it hangs on the N logo. Obviously yours is messed up. So yes, your emmc bootloader files are messed up. Usually flashing a ROM to emmc fixes that. My emmc partition repair zip also fixes that. But you have had no success with that.
Also, usually when it tries to boot to stock recovery and the SD is inserted, it will boot only to SD recovery, not an SD ROM which yours does. So that confuses me.
I personally don't like or trust TWRP. You said earlier you tried to use one of my bootable CWM cards and it gave the same can't mount /data error. Yet you say the dual boot CWM did not. That dual boot CWM has been modified to put things on SD, so I recommend trying my bootable CWM again.
Sent from my Nook HD+ running CM10 on Hybrid SD
Well I tried with CWM 5.5.0.4 and it was addressing mmcblk1p2 for some reason so now I'm writing 3.0.2.8 to an SD. If that doesn't work, I'll switch to an older CWM. If THAT doesn't work, it seems a vat of acid is in store...
40Glock said:
Well I tried with CWM 5.5.0.4 and it was addressing mmcblk1p2 for some reason so now I'm writing 3.0.2.8 to an SD. If that doesn't work, I'll switch to an older CWM. If THAT doesn't work, it seems a vat of acid is in store...
Click to expand...
Click to collapse
You need to explain these statements. How do you know it was addressing 1p2? You know that is normal for any CWM to do that? It is looking for a possible /sd-ext on SD. It has nothing to do with your issue. You know just enough to info to make bad assumptions. I'm just about to give up on you.
Sent from my Nook HD+ running CM10 on Hybrid SD
leapinlar said:
You need to explain these statements. How do you know it was addressing 1p2? You know that is normal for any CWM to do that? It is looking for a possible /sd-ext on SD. It has nothing to do with your issue. You know just enough to info to make bad assumptions. I'm just about to give up on you.
Sent from my Nook HD+ running CM10 on Hybrid SD
Click to expand...
Click to collapse
We're done here
40Glock said:
We're done here
Click to expand...
Click to collapse
I'm done too. Just one more comment. I'm not sure why you are concerned so much about getting emmc working when SD works for you. If it is because you want stock for your Mom, you can try my stock on SD in my B section of my NC tips thread. It may not work if your p2 is messed, but it might be worth a try for her.
Done.
Sent from my Nook HD+ running CM10 on Hybrid SD