Sdcard corruption - Nook Color Q&A, Help & Troubleshooting

Running cm10 night lies. My sdcard will become corrupt unexpectedly.
I just tried to download the latest nightly from 2013-01-27 and the file that is downloaded is 0kb even though it takes about a minute to download.
I can verify it's not the card holder on my nook because if I boot into recovery, I can adb and write a new file or push a file to it without issue. I can even used a recovery sdcard without issue.
I'm thinking this is a problem with cm10 because if I format the sdcard from within the storage menu, it works until my next reboot.
Any suggestions would be helpful
Sent from my NookColor using xda app-developers app

Related

ICS JackpotClavin070112.zip mounting sdcard problem

I think this ROM has fixed this problem. However; there is nothing when I plug my KF. I also put the vold into /system/bin and change its permission into 777. Is there any way work around ??? Thank you
I believe the only way to mount the SD card is by TWRP, and installing/copying whatever you need then rebooting back into the OS. Someone correct me if I'm wrong, but that's what I believe is the solution. Forgive me if I'm wrong.
the sdcard fix was for installing apps on the device. mounting it as a sdcard on ur pc is still an issue within the os. reboot to twrp and mount SD card to transfer files.
Sent from my HTC Glacier using xda premium

Can't write to internal EMMC

Hi,
I have a nook that I rooted and put a custom rom on back about a year and a half ago. I flashed the ROM to the internal EMMC and CWM 3.2.0.1 was flashed as recovery. If it makes any difference it was a CM9 ROM
Now here's where I'm at. I can run ROMs off the sd-card but they are not stable at all. I get a whole bunch of force closes and such.
When I try and flash a new ROM to the internal EMMC it says it completes, but nothing changes. It is still the previous ROM. When I try and format the /data and /system partitions with the EMMC recovery, it doesn't complete. It says there is an error. When I format with TWRP off an sd card, it says it completes but once again, the rom is not wiped.
I've tried the 8 reboot error method, and it never gets to the stock recovery screen. It keeps booting to the EMMC ROM.
I've tried repartioning the EMMC with leapinlar's zip files. It says it successfully completes, but once again nothing changes.
Ideally I'd like to get the emmc back to stock and try and run a rom off the sdcard.
I've read the threads that I thought were applicable to my issues, but nothing seemed to work. I'm completely out of ideas. Anyone have similar issues or can provide some guidance?
Thanks.
The problem you are having running a ROM from SD is the brand and speed of SD you are using. It needs to be SanDisk class 4.
The reason the 8 failed boot does not work is you replaced the stock recovery with CWM. It needs the stock recovery to be able to complete. See my NC tips thread linked in my signature and read item A12. Assuming you can get it to flash, I have a stock recovery zip there.
I don't understand why the ROMs are not flashing. You say it gives errors when you try to wipe with CWM. What do the errors say? You used the internal CWM and TWRP on SD, but none worked. Try my bootable CWM SD to see if that helps.
I don't understand why my partition zips did not work. I know the newest TWRP will not flash them without giving an error 2 message. Try my bootable CWM SD.
Sent from my Nook HD+ running CM10.1 on Hybrid SD
Thanks for the advice...
I've been using a Patriot class 10 micro sd to run the roms/attempt to flash new roms. Its worked fine before, but I'll try and pickup another one from someplace.
When I try and format /system and /data from the emmc CWM it says "Error formatting /system" or "error formatting /data" after working away for about 5 minutes
Here's what i did:
Created CWM 6.0.1.2 Bootable SD
- Flashed NookColor-emmc-stockrecovery.zip
- Message said successfull.
- tried to restart and old CWM recovery 3.2.0.1 was still installed
Booted into CWM 6.0.1.2 Bootable SD Recovery
- mounted /system and /data
- attempted to format
- Message "Done." for both
- attempted to flash stock 1.4.3 that you have modified for CWM
- install from sdcard complete
- reboot
- Old CynanogenMod bootscreen and old rom still installed.
Using same CWM 6.0.1.2 Bootable Sd Recovery
-flashed NookColor-emmc-repair-partitions-1-4-5-6-7-8.zip and NookColor-emmc-format-partitions-5-6-7.zip
-said success
-attempted to flash stock 1.4.3
- nothing changed. Old rom still installed
One more thing I noticed:
Everytime I login to the currently flashed rom, any changes I make are never saved. For example, if i install an apk or uninstall an app, the next time i can successfully boot into the emmc ROM, those changes are reversed to the previous version. Could it be that the current rom is being stored somewhere and being reflashed when it tries to bootup?
I hate to say this, but it sounds like your internal embedded card has become read only. I have had this happen to SDs but not to emmc. The apps act like they are writing and if you leave the folder and come back, they are not there. It is like they are writing to a ramdisk instead of your SD. You might try booting to a ROM on SD and see if you can write to any of the internal partitions like /cache or /rom and see if they stick. If not, you may only be able to run off SD and maybe not even then. You might have to change your dalvik cache setting on SD so it uses /data instead of /cache.
Sent from my Galaxy Tab running Tapatalk
I tried copying a file to the emmc partition from twrp and it didn't persist after reboot... so it looks like the emmc is set to read only. I don't supposed I can change that using adb and/or software solutions right? It's a hardware issue?
Any guidance on how to change davlik cache to use /data instead of /cache? I'll be happy to get any sort of stable rom running off any SD card.
I was hoping to repurpose the nook as in in car tablet to tether a data connection to my phone and play music and such.
Thanks for your help. I appreciate you taking the time.
canjoe said:
I tried copying a file to the emmc partition from twrp and it didn't persist after reboot... so it looks like the emmc is set to read only. I don't supposed I can change that using adb and/or software solutions right? It's a hardware issue?
Any guidance on how to change davlik cache to use /data instead of /cache? I'll be happy to get any sort of stable rom running off any SD card.
I was hoping to repurpose the nook as in in car tablet to tether a data connection to my phone and play music and such.
Thanks for your help. I appreciate you taking the time.
Click to expand...
Click to collapse
I don't know of anything that can revive it. I never could revive my SD that that happened to.
To make your ROM on SD use /data for all of the dalvik cache, create a file in /data named local.prop. In that file put this line:
dalvik.vm.dexopt-data-only=1
Next time it boots the system file portion of dalvik cache will be on /data along with the installed app portion.
Sent from my stock Nook HD+ using XDA Premium
I now have a stable version of CM 7.2 running off the SD card. I put the davlik cache on the data partition and everything seems to be running pretty smooth.
I'll keep messing around seeing if there is anything to revive the internal emmc, but at least I can use the nook off the SD card again.
Thanks for helping me troubleshoot and figure this out. Cheers.

[Help] Flashing zip files off sdcard

EDIT: Ok, I've located where my problem is. Basically what happens is when I install the Custom ROM it replaces my 2ndInit bootmenu and CWM and it 'upgrades' them. But because it has 'upgraded' them I can no longer mount sd card. I have to reinstall 2ndInit to 'downgrade' CWM and then I can flash again.
Hi there,
A few weeks back I flashed Paranoid Android onto my phone (latest release), however now I have discovered that in recovery mode, my phone can't read or mount the sdcard, i.e. I can't apply updates.
Code:
If I select 'Install zip from sdcard > Choose zip from sdcard' I get:
E:Can't mount /sdcard/
And if I try 'Mounts and storage > mount /sdcard' I get:
Error mounting /sdcard!
I would really appreciate any help on this issue.
Note it was working previously (which is how I installed the ParanoidAndroid ROM) but now my phone can't read the sdcard in recovery. IT CAN READ IT ONCE THE PHONE HAS BOOTED UP.
Try running a chkdsk scan from a Windows machine to check if there's corruption in the filesystem
Sent from my MB526 using xda premium
thekguy said:
Try running a chkdsk scan from a Windows machine to check if there's corruption in the filesystem
Sent from my MB526 using xda premium
Click to expand...
Click to collapse
will do and will post the results, but before I do, would that show anything because the sdcard works fine once the phone has booted up?
Not sure myself, it just eliminates any filesystem corruption as the cause. Also try using another build like quarx to check for this problem
Sent from my MB526 using xda premium
thekguy said:
Not sure myself, it just eliminates any filesystem corruption as the cause. Also try using another build like quarx to check for this problem
Sent from my MB526 using xda premium
Click to expand...
Click to collapse
But I can't flash using recovery, so how would I test Quarx's build? Haven't had time to boot up my windows partition, but I will eventually.
EDIT: Ran fsck on fedora partition (forgot about the command). It came up with this
Code:
fsck from util-linux 2.21.2
e2fsck 1.42.3 (14-May-2012)
fsck.ext2: Is a directory while trying to open /media/CDF2-6BE2
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
I've backed up my SDCard and am going to run e2fsck command (will post results) otherwise I'm going to have to reformat it
EDIT 2: Came up with same error. Should I reformat it? As ext3/ext4? What should I do?
My memory card was standard fat32
And I'm no Linux expert but I think you're trying to check for a wrong filesystem, what is your current sdcard format(filesystem)
And I think you should reformat as fat32
Sent from my MB526 using xda premium
thekguy said:
My memory card was standard fat32
And I'm no Linux expert but I think you're trying to check for a wrong filesystem, what is your current sdcard format(filesystem)
And I think you should reformat as fat32
Sent from my MB526 using xda premium
Click to expand...
Click to collapse
Code:
/dev/sdb vfat 7856128 1361952 6494176 18% /media/CDF2-6BE2
Now I've checked fsck again
Code:
fsck.vfat /media/CDF2-6BE2/
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
Read 512 bytes at 0:Is a directory
Can you try with Windows? And format to fat32
Sent from my MB526 using xda premium
thekguy said:
Can you try with Windows? And format to fat32
Sent from my MB526 using xda premium
Click to expand...
Click to collapse
will do
EDIT:
Code:
The type of the file system is RAW.
CHKDSK is not available for RAW drives.
OK, Am backing up now. Will reformat as fat32
Ok... So now I've formatted as fat32, tried again, flashed full sbf, re-rooted phone, installed 2nd-init, flashed Quarx's latest build (before wi-fi experimentation builds) and still I have the problem
Sorry for the triple post
I've located where my problem is. Basically what happens is when I install the Custom ROM it replaces my 2ndInit bootmenu and CWM and it 'upgrades' them. But because it has 'upgraded' them I can no longer mount sd card. I have to reinstall 2ndInit to 'downgrade' CWM and then I can flash again.
Any suggestions on how I might be able to fix this?
Probably there isn't any fix, but you could make zip containing the working recovery, and flash it after every rom flash
Sent from my MB526 using xda premium
thekguy said:
Probably there isn't any fix, but you could make zip containing the working recovery, and flash it after every rom flash
Sent from my MB526 using xda premium
Click to expand...
Click to collapse
If you could show me how to do that, I would so extremely grateful
Aparently there was a similar problem with the Defy running the 'official' CM and the wiki documented a fix here: http://oldwiki.cyanogenmod.org/wiki/Motorola_Defy:_FAQ#SD_Card
Do you think that could possibly work for the Defy+?
EDIT: However if I make a .zip file, would that put my phone in bootloop though? Because whenever I reinstall 2ndInit (v2.3) and it 'downgrades' my CWM/Bootmenu it causes a bootloop where I have to reflash everything. If I make a .zip that I flash after each install would it cause the same problem because it's 'downgrading' from the Bootmenu/CWM of the JB CM10 ROM.
I would've made you one, but unfortunately my computer is not working. I think it should be enough if the boot menu folder is replaced by your working set by a flash after every install
Sent from my MB526 using xda premium
thekguy said:
I would've made you one, but unfortunately my computer is not working. I think it should be enough if the boot menu folder is replaced by your working set by a flash after every install
Sent from my MB526 using xda premium
Click to expand...
Click to collapse
I really appreciate your help! I guess you could perhaps guide me in doing it, or I could wait till you've got a wroking computer.
So, computer just started working, and I made you a zip
Download the zip to your computer and extract the contents[META-INF and system) folders. Add your working bootmenu files inside the system/bootmenu folder you just extracted and delete the pre-existing text file there. Then add both META-INF and system to a zip(not rar!) and try flashing it. Make sure that the file consists of META-INF and system folders within itself. It should work
IF THERE'S A SIGNATURE VERIFICATION ERROR JUST TOGGLE SIGNATURE VERIFICATION WHICH IS PRESENT JUST BEFORE SELECTING THE ZIP FILE TO FLASH VIA RECOVERY
thekguy said:
So, computer just started working, and I made you a zip
Download the zip to your computer and extract the contents[META-INF and system) folders. Add your working bootmenu files inside the system/bootmenu folder you just extracted and delete the pre-existing text file there. Then add both META-INF and system to a zip(not rar!) and try flashing it. Make sure that the file consists of META-INF and system folders within itself. It should work
IF THERE'S A SIGNATURE VERIFICATION ERROR JUST TOGGLE SIGNATURE VERIFICATION WHICH IS PRESENT JUST BEFORE SELECTING THE ZIP FILE TO FLASH VIA RECOVERY
Click to expand...
Click to collapse
Thank you very much, I'll definitely try this out!
EDIT1: First attempt, didn't work
Trying something again...
EDIT2: Second attempt.... Put phone into bootloop :\
EDIT3: Third attempt... Seems like a bootloop again
So basically it changes the Recovery version (not the bootmenu) and puts it into bootloop :\ however I can flash via recovery.
Try copying only recovery folder from inside boot menu
I'll try to make a zip which first deletes the folder to avoid incompatibilities.
BTW can you enter the boot menu when there's boot loop?
And also try fixing permissions
Sent from my MB526 using xda premium
thekguy said:
Try copying only recovery folder from inside boot menu
I'll try to make a zip which first deletes the folder to avoid incompatibilities.
BTW can you enter the boot menu when there's boot loop?
And also try fixing permissions
Sent from my MB526 using xda premium
Click to expand...
Click to collapse
Yeah I can enter bootmenu during bootloop before it starts. I'll retry with the recovery folder only.
EDIT: Wow it worked! Thank you so much I hope you don't mind too much, but if you can modify the recovery slightly that it'd help out a lot and make everything perfect. But I can't thank you enough
I'll upload my working Patch.zip:
If you can do these, that would be amazing: (this is from the working CWM)
1) When I select 'Wipe data/factory reset' it says 'Formatting /data...' and then immediately says 'Formatting /cache...' and when the phone boots up, all my data is there. Now that isn't a problem as such but if I needed to do a clean install that may cause some issues.
2) This isn't a problem, but I was wondering if you could add a printed line whenever I execute the 'Wipe dalvik cache' because it wipes it very fast, but doesn't say anything in the console so I'm not sure if I clicked it or not. Nevertheless when I boot my phone up it says optimising apps which means that it worked.
But yeah only minor things.
Thank you so much
1)I can't modify the recovery, since I'm not really a dev but I can try to make you another zip to wipe data separately
2)Again, that is something coded in the recovery, which I don't know how to alter. Plus, my computer isn't working again(bad ram :banghead: ) so I'm limited to the phone
But are you able at all to wipe data from the custom recovery? Bootmenu? Are both not working?
Sent from my MB526 using xda premium

[Q] Backtrack Linux on Defy+

Hello friends,
Currently I'm running very stable 'cm-72-20120923-NIGHTLY-Defy+' on my defy+(MB526).
I want to install Backtrack linux on my mobile and i followed a thread on xda which requires me to move 'bt5.img' file to my sdcard, problem is my sdcard is fat32 and bt5.img file is 5gb in size so i can't move it to my sdcard.
Here are the steps i taken
1. Going through some info on net i found that i can format my sdcard to ext3/ext4 if i use 'cm-10.2-20131020-NIGHTLY-mb526' so i flashed this rom to my defy+ and its very good except that I'm continuously getting 'telephony stopped working' error resulting in phone getting rebooted frequently, so i again moved back to CM7.2
2. I tried formatting my sdcard to ntfs but then defy+ won't recognize it.
3. Some site says that i can partition my sdcard using custom recovery but i don't see any option like that in custom recovery.
4. Is partitioning sdcard a good idea? and if yes then does CM7.2 supports ext3/ext4?
Please suggest me something on this.
Thanks
There are some issues, described here: http://forum.xda-developers.com/showthread.php?t=2076327
You must be on cm10.1 or later, so try installing again with a system wipe. The telephony layer message should be fixed by the newer fixes, which you can get from the dev thread
Sent from my MB526 using Tapatalk 2

[Q] Nook Color won't boot without SD Card

I know there is a lot of information out here about the nook color not being able to boot but none of it seems to fix this issue. I was trying to upgrade my nook from cyanogenmod 7.2 to cyanogenmod 10.2. I used Rom Manager on the device and downloaded the new ROM. Everything was fine until I told it to install. The nook went to reboot and I was presented with a black screen. I couldn't get it to do anything and I thought it was dead forever. I then installed a bootable ROM on my SD card and was able to get it to boot from the SD card. I have attempted to install several different versions onto the EMMC but none will boot. When I reboot the nook it just goes to a black screen and sits there, even with the SD card in it. This is the only sequence that allows me to get my nook color to boot from an sd card:
1) Hold the "n" and power buttons for 30 seconds (I think this forces it to power down)
2) Push and hold power button for a few seconds.
If I do this with a bootable SD card installed the nook boots the SD card. If I do this without the SD card installed I just get a black screen. I have tried many things from many threads here. I have tried fixing partitions, installing new ROMS and other things but nothing seems to work. I know the nook is not bricked because I can boot it from the SD card. I think the boot partition may be the issue. When I am booted from the SD card I can mount all partitions except "/boot". Should I be able to mount this partition?
I just need to know how to get my nook back to a state where it will boot without the SD card inserted. I know how to create a bootable SD card and install zips.
Very frustrated at this point, guidance that anyone can give would be greatly appreciated...
Thanks.
You said you tried fixing partitions. How did you do that and what were the results? Were you using my partition repair zips from my partition repair thread linked in my signature?
And ROM Manager assumes you have a correct version of CWM installed on internal memory. It is best not to use that tool. It is way outdated. It is best to install ROMs manually with CWM.
Sent from my BN NookHD+ using XDA Premium HD app
deleted post
Partitoning did not seem to help
leapinlar said:
You said you tried fixing partitions. How did you do that and what were the results? Were you using my partition repair zips from my partition repair thread linked in my signature?
And ROM Manager assumes you have a correct version of CWM installed on internal memory. It is best not to use that tool. It is way outdated. It is best to install ROMs manually with CWM.
Sent from my BN NookHD+ using XDA Premium HD app
Click to expand...
Click to collapse
Yes I have done 2 out of the 3 zips you have on your post. 1) NookColor-emmc-repair-partitions-1-4-5-6-7-8.zip and 2)NookColor-emmc-format-partitions-5-6-7-8.zip. I did not do the partition 2 zip as it looked like it may cause more problems. However, I'm not sure it could get much worse.
Today I ran the RecoveryFix.zip from this post --> http://forum.xda-developers.com/showthread.php?t=958748
No Help. Same issue, I reboot and nothing but a black screen. I have to do the 2 steps I described in my original post to get the SD card to boot. Is there a way I can see what is on the nook partitions? These tools allow me to copy zip files but there is nothing that allows me to look around on the nooks internal partitions. What does the nook need to boot without the SD card. It seems there must be something partially working because I can get the SD card to boot...
Thanks I advance for your help.
Need to fix internal hard drive...
Ok, so now I'm pretty sure it's just my internal memory that is screwed up. I installed CM 7.2 on an SD card and now my nook color is running from the SD card. But if I take the SD card out and try to reboot all I get is a black screen(Not even a flash or anything when hitting the power button). So right not the only thing my nook can do is boot from the SD card.
How can I fix the internal memory??
noooker said:
Ok, so now I'm pretty sure it's just my internal memory that is screwed up. I installed CM 7.2 on an SD card and now my nook color is running from the SD card. But if I take the SD card out and try to reboot all I get is a black screen(Not even a flash or anything when hitting the power button). So right not the only thing my nook can do is boot from the SD card.
How can I fix the internal memory??
Click to expand...
Click to collapse
Try flashing the repair partition 2 zip. It has protections built in to prevent further damage.
Then go to my NC tips thread linked in my signature and return to stock via item A15. Be sure to flash the format zip listed there too. Then you should be able to start over.
Sent from my BN NookHD+ using XDA Premium HD app
Repair Partiton 2 failed
leapinlar said:
Try flashing the repair partition 2 zip. It has protections built in to prevent further damage.
Then go to my NC tips thread linked in my signature and return to stock via item A15. Be sure to flash the format zip listed there too. Then you should be able to start over.
Sent from my BN NookHD+ using XDA Premium HD app
Click to expand...
Click to collapse
Ok, I think I may have totally screwed this nook up. I found some other repartition//format zips that I ran trying to fix the problem. Now I can't even run from the SD card. It tries to boot but I get an error and it fails. I tried to run your repairpartition2.zip file but it did not work. This is the output:
E:Can't mount /cache/recovery/last_install
E:failed to open last_instal: no such file or directory
Finding update package...
Opening update package...
Installing update...
Repair /rom partition (P2)
Checking for /factory - if ot found will return error message and repair will be aborted.
assert failed:mount("ext2", "EMMC", "/dev/block/mmcblk0p3", /factory") == "/factory"
E:Error in /sdcard/NookColor-emmc-repair-partition-2.zip
(Status 7)
Installation aborted.​
I've also noticed that it cannot mount any of the partitions from the booted SD card any more. I'm seeing
E:Can't mount /cache/recovery/log and other errors
I think one of the other .zips I ran screwed things up even more. Am I now screwed up past the point of no return? I have very good unix knowledge but very little android knowledge. Is there anything I can do with the adb utility to help here.
Thanks for all your suggestions so far. It seems like I need to redo this thing from scratch and need some guidance on how to do it.
More Info: Now when booted from SD card I cannot mount "/boot", "/system", "/data", "/emmc" or "/cache" partitions. I wish I could get a shell and look around on the rom...
noooker said:
Ok, I think I may have totally screwed this nook up. I found some other repartition//format zips that I ran trying to fix the problem. Now I can't even run from the SD card. It tries to boot but I get an error and it fails. I tried to run your repairpartition2.zip file but it did not work. This is the output:
E:Can't mount /cache/recovery/last_install
E:failed to open last_instal: no such file or directory
Finding update package...
Opening update package...
Installing update...
Repair /rom partition (P2)
Checking for /factory - if ot found will return error message and repair will be aborted.
assert failed:mount("ext2", "EMMC", "/dev/block/mmcblk0p3", /factory") == "/factory"
E:Error in /sdcard/NookColor-emmc-repair-partition-2.zip
(Status 7)
Installation aborted.​
I've also noticed that it cannot mount any of the partitions from the booted SD card any more. I'm seeing
E:Can't mount /cache/recovery/log and other errors
I think one of the other .zips I ran screwed things up even more. Am I now screwed up past the point of no return? I have very good unix knowledge but very little android knowledge. Is there anything I can do with the adb utility to help here.
Thanks for all your suggestions so far. It seems like I need to redo this thing from scratch and need some guidance on how to do it.
Click to expand...
Click to collapse
That error message says your factory partition is gone and it contained info there that is vital and un-retreivable. You might be able to rebuild your partitions but some ROMs will never run without that backup info from /factory (partition 3). You just got too aggressive with your partition repairs.
Sent from my BN NookHD+ using XDA Premium HD app

Categories

Resources