Can't write to internal EMMC - Nook Color Q&A, Help & Troubleshooting

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.

Related

SD Card changed format, lost all my apps, can't reinstall. Help!

So I just traded my iPhone for a rooted MyTouch. It has the Cyanogen mod I believe. Well all of a sudden I could not access my SD card and when I tried to open it on my computer it said 'Wrong Format'. Wouldn't work on the phone either. So I formated Fat32 and thought I could start over.
It still shows my apps installed in the Marketplace, although they were on the SD and deleted. I can't uninstall them, but it thinks they are there, somewhere. Has anyone had this problem? I am relatively new to Android and rooting. I had a jailbroken iPhone before. Thanks!
kinda depends really. I would suggest first going thru recovery console if you are using amon recovery and partition sd card there. With most modified roms you have apps 2 sd so there are actually 3 partions. The biggest is fat32 for data like music, then ext2,3,4 for applications then a linux swap partition to help expand the ram on the phone and if you formated on PC or from settings on phone those partitions are gone. So I would do that first and then try to uninstall from market and reinstall again if not you may need to wipe and restart the device.
How do I get into recovery mode? I tried going to the terminal and using the flash_image recovery /sdcard/imgfile but it says I do not have permission?
Any ideas??
If your phone has been rooted right by the previous owner, you can access the recovery mode by first powering down, then pressing home and power at the same time.
Ahh! That worked! thanks!
I have a variation on this problem and lost my apps and Market, hope someone can help. Started with the SD card coming unmounted randomly, known issue with EVO I guess. Followed the recommendation of reformatting the SD by plugging it into a Windows PC and doing a FAT32 format. I backed up everything I could "see" from SD to C: drive. I am running a custom ROM with APPS2SD feature and Clockworkmod recovery. I'm very new to Linix and Android but, it looks like there is a Linix Ext3 partition that is made by APPS2SD on the SD card and that is where all my apps where, including android Market app. So, upon copying all the folders back to the re-formatted SD I had no apps and no android Market to able to re-download all my apps. I guess Market is like a licensed deal that you can't just get a .apk of and reload it. I do HAVE a current recovery backup that was on the FAT32 directory of the SD card but it appears the the Ext3 partition is not in that recovery file. I tried booting into recovery with Clockworkmod and reformatting the SD again, I tried a "Restore ext3.img" but Clockworkmod comes back with 'sd-ext.img not found" so I am guessing that the Linix Ext3 partition backup was stored IN the Ext3 partition of the SD(?) and the system and data stuff is stored in the FAT32 recovery file. Brilliant idea (not)! I tried a re-flash of the ROM, flashes OK but no apps. Anyway, the SD is properly partitioned now, the FAT32 stuff is back on, I don't know how to look in to the Est3 partition but, I know there is one program there cause I installed a file explorer by downloading and executing an .apk and there was an option to install it to SD. Going to factory reset and starting over again is not an option. Any ideas please?
SOLVED this issue:
apperantly the android market application is called "vendor.apk" and can be downloaded from various sites BUT WAIT, it's not that simple. Apperantly the vendor app has to be specific to your phone (hardware)? On a whim, I downoaded the previous version of my custom ROM (happedned to be Fresh ROM) .zip, I extracted the vendor.apk from the .zip and installed that. Then, I had an apk called MarketUpdater.apk, or something like that, that had installed in the phones system/app from the last Fresh ROM update. I ran this to update the vendor (android market) to the latest version, then I ran that. Did it work? NO, it crashed hen I tied to run market. I then did a re-boot. Did it it work? NO Upon attempting to reboot it got stuck in a loop and froze. Very scary. So, remove the battery and try again. I think I had to remove and re-install the SDcard somewhere in there to get it to a first time boot and, after a re-boot, whalla, come back with a working market. Market remembered all the apps that I purchased and I re-downloaded everything. Of course, I don't know for sure where they are stored right now (SD card or phone??)
And, my original problem of SD card constantly coming unmounted has been fixed.

[PROBLEM] Clockwordmod recovery issue

hello,
i am havin annoyin issue with clockwordmod recovery 2.x.x.x.x, it doesnt see new files on sd card.. i have tried formating sdcard from recovery but it didnt format it at all.. next i formatted sd in windows, but still.. when i log into recovery it suppouse to show the files i've uploaded onto sdcard which were; cm7, nightly 40, new radio, gapps.. but instead it shows the old files which are not on the sdcard.. the problem is more annoying because i ve notticed that after formatting system, wipping cache etc.. so now i have only acces to broken? recovery and my wf gets bootloop all the time.. please help is there any way to flash the new cm7 from pc or somehow fix the sd card and flash new cm7 and fix the recovery??
i have searched @ google but i found notting..
please help ; /
cheers,
Have u tryed using unrevoked again n updateing with Rom manager
Do u have another SD card
Sent from my HTC Wildfire using XDA App
i cant use unrevoked and rom menager because my wf doesnt load os.. i was tryin to put update.zip and load it from sd card but it says "cant open E:/sdcard/update.zip (bad) installation aborted.", ive load even file as pc49img.zip, in bootloader it says it's parsing and it looks like everything is ok but still have no updatec cmw ;/.
and no i do not have another sd card ;/
Surely borrowing an SD card from some of your close ones shouldnt be an issue? Anyway, did you try using an RUU to get back to the default state?
i;ve tried to use ruu, it only sees my phone while the htc logo but it says it's not enough charged.. i think ill try to wait until green led comes up and try it again ;/
mlotson said:
hello,
i am havin annoyin issue with clockwordmod recovery 2.x.x.x.x, it doesnt see new files on sd card.. i have tried formating sdcard from recovery but it didnt format it at all.. next i formatted sd in windows, but still.. when i log into recovery it suppouse to show the files i've uploaded onto sdcard which were; cm7, nightly 40, new radio, gapps.. but instead it shows the old files which are not on the sdcard.. the problem is more annoying because i ve notticed that after formatting system, wipping cache etc.. so now i have only acces to broken? recovery and my wf gets bootloop all the time.. please help is there any way to flash the new cm7 from pc or somehow fix the sd card and flash new cm7 and fix the recovery??
i have searched @ google but i found notting..
please help ; /
cheers,
Click to expand...
Click to collapse
Sounds like you might have partitioned your card, and now are looking at two different partitions, one from windows, one from recovery. You could try repartitioning it from recovery, to make sure that you only have one FAT partition and one EXT and that they are in the correct order.
Mine has its FAT partition on p1, and ext2 on p2.
hey mate,
could you guide me how to do it? in recovery i have;
unmount system
unmount data
unmount cache
mount sd-card
when i click on mound sd-ext it says "ERROR MOUNTING SDEXT:!"
;/
i took off the sd card and formatted it then i mount it into the device and tried to choose zip file but it was unmounted in options so it didnt show me any files, next i've mounted sd card and left sd-ext unmounted and againt its the same, it shows me the old files which dont even exist anymore, i guess it maybe something with partitionin, but how to do it? could you guide me how to make one fat and one ext ? like u have? thx in advance
I partitioned mine from a linux PC with an SD card reader attached, but it should work from recovery as well.
From the Clockworkmod recovery menu, choose advanced and then partition sd card then choose the size you want for the ext partiton, then the size for the flash partition (if any). That should set them up correctly in the correct order.
Questions/Problems don't belong in the Development section <---please click link and read....moved to general...
i've wipped cache and during wippin it said that there is no sd-ext partiotion ; / it's something wrong with clockwork but i have no idea what.. it shows only the old files that i've loaded on sd before flashing with cm7 rc-2 ;/ the weird thing is that i remember that i updated cmw do newest 3.0.5... (something like that - the orange one) and it worked fine but next when i log into recovery it shows the older version oO
i successfuly manange to update cmw, i used adb in that purpouse and now everything works fine

[Q] What can be done to eMMC from CM7 SD install?

I'm running CM7 off of an SD card. I believe if I flash CWM Recovery from ROM Manager, it will flash it onto the eMMC ... is that correct?
Also, if I update the su binary from within Superuser apk, will it update it on the SD or eMMC?
Also, what would happen if I formatted SD from within CM7? Would it format the WHOLE SD or just the FAT32 partition that CM7 sees as the SD card?
My Nookcolor is not rooted or modified at all. I've never booted into the stock rom to be exact.
Thanks for the help.
JoshClarke said:
I'm running CM7 off of an SD card. I believe if I flash CWM Recovery from ROM Manager, it will flash it onto the eMMC ... is that correct?
Also, if I update the su binary from within Superuser apk, will it update it on the SD or eMMC?
Also, what would happen if I formatted SD from within CM7? Would it format the WHOLE SD or just the FAT32 partition that CM7 sees as the SD card?
My Nookcolor is not rooted or modified at all. I've never booted into the stock rom to be exact.
Thanks for the help.
Click to expand...
Click to collapse
You are right, flashing from ROM Manager puts it on emmc. And flashing things from CWM recovery normally flashes things to emmc. There are special modified versions of CWM that will flash things to SD, but I'm sure you don't have one of those. If you are interested in getting one that you put on SD so that you can backup your system, etc, just search for alternate CWM recovery and my name. I posted a version. (Edit: look here http://forum.xda-developers.com/showthread.php?p=22719241)
Updating su will put it on the system you are running at the time.
I think formatting the SD will format the whole card, if not at least your boot partition. I would not try it. You can put it in your PC and use partition software to format just partition 4 if you want just that sdcard partition cleared.

[Q] Can I have partitions that can be accessed from both NC Stock and CM7 on SD card?

Hi everyone!
I just got CM7 (latest stable release) installed on on external sdhc card. I have wifi issues with CM7 (and looking around the forums tells me that CM7 can be finicky with certain routers) so I would love to be able to use Nook's stock ROM (4.1.4) when I am having issues.
But, when I am on NC ROM, I don't see anything except the small boot partition on the SD and when I am on CM7, I don't get access to this boot partition. I am wondering if there is a way to either create another partition or make the currently existing partitions accessible on both ROMS so that I can share data between them.
I am a n00b without any Android experience so thanks in advance for your patient responses.
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Thanks ✟
Moving to Q&A
andrandom said:
Hi everyone!
I just got CM7 (latest stable release) installed on on external sdhc card. I have wifi issues with CM7 (and looking around the forums tells me that CM7 can be finicky with certain routers) so I would love to be able to use Nook's stock ROM (4.1.4) when I am having issues.
But, when I am on NC ROM, I don't see anything except the small boot partition on the SD and when I am on CM7, I don't get access to this boot partition. I am wondering if there is a way to either create another partition or make the currently existing partitions accessible on both ROMS so that I can share data between them.
I am a n00b without any Android experience so thanks in advance for your patient responses.
Click to expand...
Click to collapse
Look in my signature for a link to my tips thread. I explain there how to make the SD media partition available to both ROMs (item B3).
leapinlar said:
Look in my signature for a link to my tips thread. I explain there how to make the SD media partition available to both ROMs (item B3).
Click to expand...
Click to collapse
*That's* the one I wanted to point them to.
leapinlar said:
Look in my signature for a link to my tips thread. I explain there how to make the SD media partition available to both ROMs (item B3).
Click to expand...
Click to collapse
Thanks.
Do you mean step #3 in Section B? I could edit it without running your script too, can't I?
andrandom said:
Thanks.
Do you mean step #3 in Section B? I could edit it without running your script too, can't I?
Click to expand...
Click to collapse
If whatever you have on emmc is rooted, you can manually edit it. If you have unrooted stock, then you need to flash the zip since without root you cannot edit those files manually. And I did mean item B3. Each item is a different topic, they are not steps. One topic does not depend on another. Just do B3 and no others if you want.
Yes, item B3. My mistake...
I should be able to do flash the zip from my current CM7 SD card's boot partition, shouldn't I?
So I put the update-stockemmc-vold-fstab-modified-for-partition4.zip file in the boot partition of the SD card, rebooted to Recovery mode and then booted to NC's stock ROM. NC is still using the tiny boot partition on the SD card as my external storage instead of the much larger CM7 partition. This was the same partition that was under 'My Files / Memory card' before I flashed so nothing has changed. I did this twice to double-check.
Am I doing this wrong?
andrandom said:
Yes, item B3. My mistake...
I should be able to do flash the zip from my current CM7 SD card's boot partition, shouldn't I?
So I put the update-stockemmc-vold-fstab-modified-for-partition4.zip file in the boot partition of the SD card, rebooted to Recovery mode and then booted to NC's stock ROM. NC is still using the tiny boot partition on the SD card as my external storage instead of the much larger CM7 partition. This was the same partition that was under 'My Files / Memory card' before I flashed so nothing has changed. I did this twice to double-check.
Am I doing this wrong?
Click to expand...
Click to collapse
Yes you are doing it wrong. You need to flash that file with a CWM card, not put in the boot partition of your SD. And since you did that, you need to re-flash your latest ROM on SD to correct your mistake. (I will edit my instructions to make it a little clearer that you use CWM to flash that file.)
I got NC stock ROM to see my SD card partition by following item A10. That is most excellent and thanks again!
Unfortunately, I no longer see the boot partition when I attach NC to my computer whether NC is running off stock ROM or CM7. My guess is that this is due to my failed attempt to flash from my CM7 SD card yesterday. Am I right?
I thought I could reverse that by copying the update-stockemmc-vold-fstab-return-to-stock.zip file to CM7's boot (and then booting to the recovery mode) but that seemed to have nothing.
If I understand your previous message correctly, I should re-do my entire SD card but... I have already spent a few hours downloading and customizing the Android apps. Is there a way to preserve all that before Win32diskimager destroys the contents of the SD card?
Is there a way to manually mount the /etc folder from a unix prompt and alter the file?
Does it even matter if I don't see boot while I attach NC to a computer? Are there any caveats to 'let it be'?
Questions, questions and more questions...
That leads me to the obvious question, is there a book that explains Android to someone who is not interested in programming it but wants to understand the architecture and design of the OS (and custom ROMs)?
Thanks for being patient with all these n00b questions.
andrandom said:
I got NC stock ROM to see my SD card partition by following item A10. That is most excellent and thanks again!
Unfortunately, I no longer see the boot partition when I attach NC to my computer whether NC is running off stock ROM or CM7. My guess is that this is due to my failed attempt to flash from my CM7 SD card yesterday. Am I right?
I thought I could reverse that by copying the update-stockemmc-vold-fstab-return-to-stock.zip file to CM7's boot (and then booting to the recovery mode) but that seemed to have nothing.
If I understand your previous message correctly, I should re-do my entire SD card but... I have already spent a few hours downloading and customizing the Android apps. Is there a way to preserve all that before Win32diskimager destroys the contents of the SD card?
Is there a way to manually mount the /etc folder from a unix prompt and alter the file?
Does it even matter if I don't see boot while I attach NC to a computer? Are there any caveats to 'let it be'?
Questions, questions and more questions...
That leads me to the obvious question, is there a book that explains Android to someone who is not interested in programming it but wants to understand the architecture and design of the OS (and custom ROMs)?
Thanks for being patient with all these n00b questions.
Click to expand...
Click to collapse
You do not need or want to re-set up the whole SD installation. Just put the same CM7 zip file back in the boot partition and boot to SD recovery. It will put the correct vold.fstab back on the SD. You will not lose any settings or apps you have already set up. (And putting the return to stock zip there was also the wrong thing to do. The vold.fstab for stock and CM7 are different. But don't worry, it will fix that too.)
You are not supposed to see the boot partition on the PC when you plug the nook in with the cable. You are only supposed to see 'emmc' and 'sdcard'. Under the original setup, your stock system thought the boot partition was 'sdcard' and that was why you saw it on your PC. Since you modified stock to see partition 4 as 'sdcard', partition 4 is what the PC sees, not the boot partition.
Most people have to physically take the card out of the nook and put it in the PC to see the boot partition on the PC. If you don't want to do that, use my script in item B4. But since you are on CM7, you will not be adding many things to the boot partition to install with SD recovery in the future. So it is probably best to leave things be.
And I don't know of any books to help you.
Sent from my Nook Color running ICS and Tapatalk
That is excellent news!
A bit of playing around with Astro tells me that I was wrong about seeing the 'CM7 SDCARD' partition when I was on CM7 ROM. I am only seeing the boot. Anyway, I am going to flash the CM7 ROM again and I am hoping it would fix everything.
Also, yes, I can see the boot partition when I put the SD card directly on my computer but I was also able to see it when I hooked up the NC to my computer via USB before I did my unintended tweaks but... I'll survive.
I'll be back after I flash. (Famous last words??)
Mission accomplished!
Thanks again for all your help.
For future reference after you alter stock's fstab... all you have to do is:
mkdir /sdcard/boot (only have to do this one time)
mount /dev/block/mmcblk1p1 /sdcard/boot (do this every time you want to put something on the boot partition)
put anything you want on boot partition in /sdcard/boot
DizzyDen said:
For future reference after you alter stock's fstab... all you have to do is:
mkdir /sdcard/boot (only have to do this one time)
mount /dev/block/mmcblk1p1 /sdcard/boot (do this every time you want to put something on the boot partition)
put anything you want on boot partition in /sdcard/boot
Click to expand...
Click to collapse
Yes, there is one big advantage to using that method. I think it allows the boot partition to be seen not only on the nook, but also on the PC when you plug in the usb.
leapinlar said:
Yes, there is one big advantage to using that method. I think it allows the boot partition to be seen not only on the nook, but also on the PC when you plug in the usb.
Click to expand...
Click to collapse
We could probably come up with a symlink to /dev/block/mmcblk1p1 to /sdcard/boot and avoid having to mount it everytime as well.
DizzyDen said:
We could probably come up with a symlink to /dev/block/mmcblk1p1 to /sdcard/boot and avoid having to mount it everytime as well.
Click to expand...
Click to collapse
Thank you Dizz, your suggestion got me to thinking and I was able to come up with an init.d bash script that does the trick. I just temporarily mounted sdcard and created the sdcard/boot directory and the mounted the boot partition to it, then unmounted sdcard so it could be mounted again by the system later in the boot sequence.
The only problem is now sdcard will not mount on the PC using UMS mass storage. Must be because of having a second mount within the mount. But it does mount with MTP. But that may be acceptable. I will test some more, including using Goo Manager tomorrow.
EDIT (6-21): Goo Manager works. But I think I have figured out why sdcard is not mounting in UMS. Once it is mounted in my script and the boot partition mounted under it, it cannot be unmounted. And since it cannot be unmounted, it cannot be mounted later by the system as vold. If it cannot be mounted as vold, it does not show in UMS. For now I think I will leave it as I have it in Rev 2 of my script (symlinking to the root directory with full r/w permissions). If people want to see the boot partition on the PC, just use my modified for CM9 NookColorUMS available in my tips thread.
Sent from my Nook Color running ICS and Tapatalk
Help!
When CM7 is running, my computer is no longer mounting any of the partitions when I connect NC to my computer via the USB cable.
If the NC stock ROM is running, my computer mounts all three partitions (MyNook..., boot and CM7SDcard) but calibre is not recognizing the external partitions for transfers.
Further, when I boot to my NC stock ROM, I am no longer seeing my SD card's contents in the NC's library.
This may have something to do with the fact that NC stock ROM seemed to have updated itself to 4.1.3.
Should I re-run the scripts again or am I missing something else?
When it was updated to 1.4.3, you lost the emmc mods. Just re-flash my zip with the CWM SD. You may have lost CWM on emmc too.
On CM7, you have to select the turn on storage button after you plug it in. It is not automatic like stock. Pull up the notification area and touch the turn on button.
Darn, I forgot about that 'USB' option under notifications. Enabling it allows me to find the partitions. I will run your scripts again when I find a spare mUSB card.
Thanks again for your help!

[Q] Write issues?

I apologize if this has come up before and I'm just not finding the answer, but I've seen others describe this problem with no solutions offered.
I'm running Paranoid Android off my Nook color, CWM 5.5.0.4 Racks recovery, no alternate, all on the emmc. I used leapinlar's partition fixes prior to flashing PA 3.6 originally, then used it again when I clean wiped to install PA 3.69. I originally ran CM7 off an SD card and for some reason it did take awhile to get CWM to work off the emmc, but once I finally got it flashed, it worked beautifully.
The problem I'm having is with the write access to the emmc and sd cards. It cropped up when I first installed PA 3.6 to the emmc and at first I chalked it up to a flash problem running CWM from the SD rather than emmc. However, when I fixed CWM to flash off the emmc and clean installed PA 3.69, the same problem was there: both the emmc and SD card (when inserted) is marked as read only and problems come up when, say, trying to download files through the browser, from dropbox, box. or goo manager.
Under goo manager, I could see the default download folders were simply wrong though even when the pointer is fixed, it will only download when the external SD card is inserted. While under dropbox I only get the "storage is full or unavailable" or "error exporting..." messages, under box I get the message that I don't have permission to download to storage. I saw under one thread this type of problem was chalked up to a hardware issue, however, not only can I download under goo to the proper folder on the emmc when I have an SD card inserted (browser will download to the SD when inserted), but all my write access is normal under CWM (I can nandroid to the internal storage, no SD card present, without any issues). In addition, there are no issues with the caches and how the system runs in general, nor do I have any problems downloading and installing programs from the play store. So I'm wondering if this could be a user permission issue rather than a hardware issue? "Fix permissions" under CWM is the only reference I know to this possibility but does nothing to fix this problem. I also notice most apps are defaulting to /storage/sdcard which may be a big part of this issue, though it still doesn't explain why all storage is marked as read only in Settings -> Storage, or even if the two events are related!
Whatever it is, I'm about at the end of my skills here and any help would be appreciated!
It is very normal for apps to default to /storage/sdcard.
And fix permissions in CWM only fixes permissions in /data, not the media partitions where you are having the issue.
When the media partitions are mounted at startup they are set up to turn read only if they encounter read/write errors during operations. It sounds like this is what is happening to you. I know in CM10 that the operating system was much quicker to trigger that read only option than in earlier CM versions. It may be true in PA too. The usual solution is to get a better quality SD (SanDisk class 4), but you say it is happening to emmc media too.
Why are you running my partition repair zips when changing systems? That seems unnecessary. It may be somehow related to your issues.
Sent from my Nook HD+ running CM10.1 on emmc.
leapinlar said:
It is very normal for apps to default to /storage/sdcard.
And fix permissions in CWM only fixes permissions in /data, not the media partitions where you are having the issue.
When the media partitions are mounted at startup they are set up to turn read only if they encounter read/write errors during operations. It sounds like this is what is happening to you. I know in CM10 that the operating system was much quicker to trigger that read only option than in earlier CM versions. It may be true in PA too. The usual solution is to get a better quality SD (SanDisk class 4), but you say it is happening to emmc media too.
Why are you running my partition repair zips when changing systems? That seems unnecessary. It may be somehow related to your issues.
Sent from my Nook HD+ running CM10.1 on emmc.
Click to expand...
Click to collapse
The flash of the partition fix files was predominantly to see if there was an issue from the original flash created when I installed PA 3.6. My install of 3.6 would never boot normally and required an SD with a recovery in order to boot at all. My thinking was that, since I never got a recovery installed correctly on emmc that something may have been screwed up when I flashed the partition fixes and/or PA originally causing the write errors that I was getting. Once I had the recovery installed correctly on the emmc, I used that to reflash the partition fixes then updated to PA 3.69 since I had wiped everything in the process. However, the write issues remained in the new install though CWM works wonderfully off of emmc now.
Are there any logs I can check to see if encountering read/write errors could be the problem? I can try going back and installing CM7 to see if I get any of the same issues, but I believe on other systems the partition structure is changed between upgrading from CM9 to CM10. Do I need to watch for any of those issues on the nook color as well?
Thank you very much for your help!
jaxxes said:
The flash of the partition fix files was predominantly to see if there was an issue from the original flash created when I installed PA 3.6. My install of 3.6 would never boot normally and required an SD with a recovery in order to boot at all. My thinking was that, since I never got a recovery installed correctly on emmc that something may have been screwed up when I flashed the partition fixes and/or PA originally causing the write errors that I was getting. Once I had the recovery installed correctly on the emmc, I used that to reflash the partition fixes then updated to PA 3.69 since I had wiped everything in the process. However, the write issues remained in the new install though CWM works wonderfully off of emmc now.
Are there any logs I can check to see if encountering read/write errors could be the problem? I can try going back and installing CM7 to see if I get any of the same issues, but I believe on other systems the partition structure is changed between upgrading from CM9 to CM10. Do I need to watch for any of those issues on the nook color as well?
Thank you very much for your help!
Click to expand...
Click to collapse
There are no partition changes for any version of CM on the NC. And CM7 may give you better write performance.
For logs, go to Terminal Emulator and type dmesg. You must enter superuser mode first by typing su. It will give you a long log you can scroll through.
Sent from my Nook HD+ running CM10.1 on emmc.

Categories

Resources