I'm at total idiot for doing this btw, but i'd love some help as to how to get out of this hole!
Due to the file size limitations of FAT32, and me needing to qucikly move some large ISO files, i decided to put them on my flyer. I thought i was formatting the external sd card to ex fat, but only realised when i got home that i actually formatted the internal memory!!! argh!
I comes up as 'your internal memory may be broken, please reformat it' but when i press the option to format nothing happens.
From recovery, i cant mount it, so again cant format it.
I'm guessing this is due to linux/android not being able to recognise these partitions
Any help would be much appreciated! I'm on a 16GB wifi flyer btw.
Thanks in advance
It sounds like you still have hboot and recovery, so you must have formatted the internal storage; have you tried running an RUU for your model? The proper RUU should format your device and restore the stock OS. Is that the US Best Buy 16GB WiFi only Flyer?
Yeah i've got full Hboot and recovery access, and the device works fine, save for the internal storage problem.
I did the format on my PC when i mounted the internal storage for access.
Its a european wifi flyer, and i got the RUU (RUU RUU_Flyer_HTC_WWE_Wifi_2.27.1114.31_Radio_20.3504. 30.089BU_3809.07.04.06_M_release_204727_signed)
Does running the RUU format the internal storage aswell then?
I'm guessing as i've S-OFFed using revolutionary, i'll need to follow this guide?
http://forum.xda-developers.com/showthread.php?t=1346200
Yes, you are are on the right track. If you want to keep the Revolutionary hboot, you could just run the RUU from Windows. It will write the stock system OS, and you'll keep s-off and Revolutionary. You'll just have to push the su files again to get root. You'll also have to flash the cwm recovery again with either the Revolutionary tool or manually.
If you want totally stock with s-on, then follow the instructions in the link you provided.
or.... you could just install busybox and format the partition from the command line using adb or do the same from recovery....you don't need to mount it to format it. If you wait an hour or so until I have my flyer in hand I'll give you the command you want.
Oh that would be fantastic!
Yeah I'm not back at home yet (will be in a few hours), so fixing it without running the ruu again would be the best solution imo!
Sent from my HTC Sensation Z710e using XDA App
globatron said:
or.... you could just install busybox and format the partition from the command line using adb or do the same from recovery....you don't need to mount it to format it. If you wait an hour or so until I have my flyer in hand I'll give you the command you want.
Click to expand...
Click to collapse
Oh, it just dawned on me that the OS is all there and working for the OP, and it is just the internal storage that needs to be formatted. Sorry, didn't read close enough. In CWM recovery, under "Mounts and Storage", choose "format /internal_sdcard". That should be all that is needed. Learning here myself, so I'm curious to see the adb way also.
jscott30 said:
Oh, it just dawned on me that the OS is all there and working for the OP, and it is just the internal storage that needs to be formatted. Sorry, didn't read close enough. In CWM recovery, under "Mounts and Storage", choose "format /internal_sdcard". That should be all that is needed. Learning here myself, so I'm curious to see the adb way also.
Click to expand...
Click to collapse
Yeah I tried that as soon as I realised the problem, but when I went to format the internal memory, it can't complete.
The returned commands seem to imply that it needs to mount it first, before it can be formatted. And it can't be mounted because android can't recognise exFat
Sent from my HTC Sensation Z710e using XDA App
If you have busybox installed and are booted it should be this:
Code:
mkfs.vfat /dev/block/mmcblk0p33
globatron said:
If you have busybox installed and are booted it should be this:
Code:
mkfs.vfat /dev/block/mmcblk0p33
Click to expand...
Click to collapse
I must confess, I've never used busybox before.
When I get back to my flyer, is it a simple case of installing busybox,
then using adb, run adb shell and then the above code line?
Sent from my HTC Sensation Z710e using XDA App
Hereisphilly said:
I must confess, I've never used busybox before.
When I get back to my flyer, is it a simple case of installing busybox,
then using adb, run adb shell and then the above code line?
Sent from my HTC Sensation Z710e using XDA App
Click to expand...
Click to collapse
yes, as root.
Well i'm having some trouble installing Busybox.
I've downloaded it fro mthe market, and i run through the green install window, check the default path which is system/xbin, and then it says it cannot install as there is not enough space on the SD card or the SD card is mounted!
I'm guessing this is becaue it is looking for the internal memory, and it cannot find it
Any suggestions?
push the apk to /system/app with adb.
Right, i ran this code and this is what i got returned
C:\android-tools>adb push stericson.busybox.apk /system/app
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
failed to copy 'stericson.busybox.apk' to '/system/app/stericson.busybox.apk': Read-only file system
seems like it is the same error i got when i tried to install it after downloading and installing the apk fro mthe market
The market download seemed to be a 2 stage process - i could download and install it fine, but once i ran the app from the drawer, it prompted a secondary install, which is where the previosu errors were generated...
ok, download the attached zip file and extract it:
Code:
adb push busybox /data/local/tmp
Code:
adb shell
$ su
# chmod 755 /data/local/tmp/busybox
# /data/local/tmp/busybox mkfs.vfat /dev/block/mmcblk0p33
globatron said:
ok, download the attached zip file and extract it:
Code:
adb push busybox /data/local/tmp
Code:
adb shell
$ su
# chmod 755 /data/local/tmp/busybox
# /data/local/tmp/busybox mkfs.vfat /dev/block/mmcblk0p33
Click to expand...
Click to collapse
That did it! Thanks so much!
I've just mounted it on my PC again, and the total size is showing an 8.68 GB drvie... i honestly cant remember how big the partiton was last time, but i'm using a 16GB flyer, so i would have thought it would be closer?
Either way, at least its usable again now!
Thanks again
Glad you were able to work this out. 8.68 GB is correct for that partition.
Sent from my SGH-I997 using Tapatalk
Hereisphilly said:
That did it! Thanks so much!
I've just mounted it on my PC again, and the total size is showing an 8.68 GB drvie... i honestly cant remember how big the partiton was last time, but i'm using a 16GB flyer, so i would have thought it would be closer?
Either way, at least its usable again now!
Thanks again
Click to expand...
Click to collapse
yep, as jscott said that would be right for a 16GB flyer.
Fantastic, thanks so much for helping!
I have this problem with my One X, found this topic in search.
But, when trying to mkfs.vfat /dev/block/mmcblk0p33 , im getting this error:
mkfs.vfat /dev/block/mmcblk0p33
mkfs.vfat: can't open '/dev/block/mmcblk0p33': No such file or directory
Pls help?
Related
Getting that in recovery...what do I do?
Stock recovery or custom?
Sent from my Amiga 500 using Workbench
StuMcBill said:
Stock recovery or custom?
Sent from my Amiga 500 using Workbench
Click to expand...
Click to collapse
Custom Recov
Serious_Beans said:
Custom Recov
Click to expand...
Click to collapse
I had this on stock, didn't think it was a problem though?
Never seen it in custom.
Sent from my Amiga 500 using Workbench
I'm having the same problem -- any ideas? I'm running stock ROM with CWM (ClockworkMod) v4.0.0.4.
Samsung Galaxy Tab 10.1 16GB Wifi-only U.S.
Cheers,
Trevor
I'm having the same problem
E:Unable to open ums lunfile (No such file or directory)
No support for USB in cwm
Sent from my Nexus S using XDA App
What can i do now then?
Getting the same error here as well :-(
same error here. downloaded some custom roms via my GT10.1, found out after wiping the files weren't completed properly, so trying to transfer them via my laptop now... kinda stuck.
takman0124 said:
What can i do now then?
Click to expand...
Click to collapse
mark.m.moran said:
Getting the same error here as well :-(
Click to expand...
Click to collapse
thecraigmcrae said:
same error here. downloaded some custom roms via my GT10.1, found out after wiping the files weren't completed properly, so trying to transfer them via my laptop now... kinda stuck.
Click to expand...
Click to collapse
You have to adb push files to tab while in recovery. For instance,
adb shell mount /data
adb push (your file) /data/media/
Hope that helps
dragon4000 said:
You have to adb push files to tab while in recovery. For instance,
adb shell mount /data
adb push (your file) /data/media/
Hope that helps
Click to expand...
Click to collapse
how to adb push files?
this is coursed because the cwm that came with the rom does not support usb mounting.
So all you have to do is, put your sd card in anorther phone, and boot into cwm, mount the sd card, and transfer anorther rom, and put back the sd card in your phone, and install it. that worked for me
Galaxy Nexus
What if your using the galaxy nexus???? i need a way to access my SD storage through my MAC so i can put a ROm on there to flash it..any helpful tips?? need a phone mines stuck till i fix this
I'm working on this thread to show others how I've gotten CWM running off of my NT.
This will be broken out into 2 sections: SDCard Execution and Internal Installation. I've verified that backup and restore works using both of these methods.
First I would like to thank Bauwks and Nemith who have developed the u-boot crack and recovery.img used in this process. Here are some of the threads that I used for this process:
http://forum.xda-developers.com/showthread.php?t=1440645 - Nemith's CWM recovery.img
http://forum.xda-developers.com/showthread.php?t=1440438 - Next steps and Bauwk's internal image build process
METHOD 1 - SDCARD :
1. Setup SDCard
Using a new SDCard (not one you have info stored on) make a new MSDOS partition table and add a 50 MB FAT32 partition as the first primary partition. Then make sure you enable to boot and lda flags.
Any SDCARD larger than 50 MB should work but I used an extra 2GB laying around. You can add other partitions to the card if you want, but it is not necessary to allocate the entire card. Any added partitions would need to be manually mounted on your Nook anyway.
I used GParted on my Ubuntu machine to do this but any formating tool should work.
2. Copy Files onto SDCard
You can grab the files I used here:
http://www.mediafire.com/?dr6bqau194389te
Just UnZip the files directly to the root of the boot partition you created above (make sure flashing_boot.img, u-boot.bin, and boot.img are on the root not the folder SDCARD)
3. Insert SDCARD into NT
Now, with your NT powered off, eject the SDCARD you just created from your computer and insert it into the tablet. Then just turn it on and VOLA! You should now be in CWM!
You can then insert another (larger, preferably 16 GB +) SDCard and do a full backup.
METHOD 2 - Internal Installation:
ADB REQUIRED!!!!!
Make Sure you have Method 1 working before trying this! It is a good idea to have already backed up your device before proceeding.
Update 1/19/2012: I've modified the internal recovery.img to automatically execute the code in Step 4 which seems to have finally fixed the boot-loop. Now you can use CWM internally without having to be around your computer! Please see Pg 7 for details on how I fixed this issue.
Update 1/22/2012: I'm removing the warnings since this method seem to be verified by a lot of different sources. It looks like Indirect beat me too an APK so please see his thread if you want an easier way to install this:
http://forum.xda-developers.com/showthread.php?t=1458630
1. Get Recovery Image
You can use the image I built from Buawks/Nemith source.
http://www.mediafire.com/download.php?yodxftopf5qckgo
The original image I created (with boot-loop) can be found here but is considered obsolete. I'm leaving it here while the new image is tested:
http://www.mediafire.com/?k5azwo6modab9j9
2. Copy Recovery Image to SDCard
You can either push using
Code:
adb push /path/to/irrecovery2.img /mnt/sdcard/irrecovery.img
or just Copy/Paste from a computer.
I recommend using the SDCard but really you can push this file anywhere you can access it from the Nook.
3. Upload Recovery Image to Recovery Partition
Just follow these adb commands exactly!
Code:
adb shell
su
dd if=/mnt/sdcard/irrecovery.img of=/dev/block/mmcblk0p3
Done! You will get into a boot-loop if/when you go into CWM.
You should now be able to fully backup and restore! To get into CWM either adb
Code:
su
Code:
reboot recovery
or power on the device while holding down N+Power (you may need to unplug usb and/or let go of the power button after boot if device keeps turning off).
NOTE: If you are getting a "Error mounting /sdcard" when using backup/restore you just need to remove and reinsert your sdcard.
4. Reboot out of CWM - Optional
If you still end up in a boot-loop just run these commands from adb to reset some security checks and get out of the CWM boot-loop. Check out this thread for an explanation of how this works:
http://forum.xda-developers.com/showthread.php?t=1444630
Follow these simple steps to reboot:
1. Go to "mounts and storage" in CWM menu
2. Select "mount /bootdata"
3. Execute the following code (thanks Bauwks!):
Code:
dd if=/dev/zero of=/bootdata/BootCnt bs=1 count=4
dd if=/dev/zero of=/bootdata/BCB bs=1 count=1088
reboot
You can also just go to "reboot system now" if the last line of code does not work.
Welcome back! Now get to work on some roms!
is there any easier way, I'm trying to follow but I don't kno how to do step 1, & your directions to eject sdcard card & insert it is very confusing.
Sent from my BNTV250 using Tapatalk
Swiissjokr said:
is there any easier way, I'm trying to follow but I don't kno how to do step 1, & your directions to eject sdcard card & insert it is very confusing.
Sent from my BNTV250 using Tapatalk
Click to expand...
Click to collapse
I can upload an SDImage that you can use. It would be made the same way Nook Color SDcards are made (google around), but this is a much bigger file and it will take me a while to upload.
What issues are you having?
Swiissjokr said:
is there any easier way, I'm trying to follow but I don't kno how to do step 1, & your directions to eject sdcard card & insert it is very confusing.
Sent from my BNTV250 using Tapatalk
Click to expand...
Click to collapse
dhkr234 said:
MOD Edit: Removed quote for reasons above.
Click to expand...
Click to collapse
A little harsh but yea... EJECT the sdcard from the computer after you're done partitioning, then INSERT that sdcard into the Nook Tablet's SDcard slot.
It doesn't get any simpler than that
can you post some screenshots or a video or two showing how cwm works on the NT?
Not every user here is at the same level of knowledge. XDA developers is all about sharing and learning, not bashing newbies If you cant respond in a friendly manner, then dont!
Please try to help fellow users, not give them a bashing!
We should all be working together here people!
I have deleted some posts to keep this thread clean!
@OP if you want me to delete more, let me Know
Peace!
Thanks for the steps man. Will give a shot in a minute.
Sent from my pseudo-Nexus S using XDA premium
Since this is the way to do CWM for this device, +1 for sticky imo
Write Image?
Can't we just write the image to an SD Card using Winimage?
Worked great. Backing up my image now as we speak!
If anyone has any questions doing this from Ubuntu don't hesitate to ask.
dodgepot said:
Worked great. Backing up my image now as we speak!
If anyone has any questions doing this from Ubuntu don't hesitate to ask.
Click to expand...
Click to collapse
Would love to know the exact commands used from an ubuntu terminal and what programs i can use (not familier with ubuntu but i have problems using windows do to drivers being installed prior to root)
As a newbie, what advantages/benefits do I have from installing CWM (ClockWork Mod)?
pcgate said:
As a newbie, what advantages/benefits do I have from installing CWM (ClockWork Mod)?
Click to expand...
Click to collapse
pffff many things like backup your entire nook (system, data, recovery,cache...) and restore when needed (used when you test other ROMs, or you messed something up), you can wipe/format partitions, flash .zip files (used for patches, fixes, tweaks, etc... you name it) you can fix permissions, wipe battery states, use adb, mount/unmount partitions including sdcard (if you forgot to put the file you were going to flash for example lol) format your sdcard and create ext(used for "apps to sd") and swap partitions.
Veronica
would be awesome, if somebody who has already done the steps,could post some pictures on how to do this under windows
Swiissjokr said:
is there any easier way, I'm trying to follow but I don't kno how to do step 1, & your directions to eject sdcard card & insert it is very confusing.
Sent from my BNTV250 using Tapatalk
Click to expand...
Click to collapse
I used EASEUS Partition Master to create a 50MB FAT32 primary partition on a 512MB SDCARD. Booted into CWM and am making system back now. This is great!!!
tgraves said:
I used EASEUS Partition Master to create a 50MB FAT32 primary partition on a 512MB SDCARD. Booted into CWM and am making system back now. This is great!!!
Click to expand...
Click to collapse
can you post some pictures how to do the steps with the EASEUS Partition Master
Pete1612 said:
can you post some pictures how to do the steps with the EASEUS Partition Master
Click to expand...
Click to collapse
You have asked in a previous post, please do not repost. Someone will do this for you if they choose.
Easy and well done. Thanks to all involved in this effort.
ae1990 said:
Would love to know the exact commands used from an ubuntu terminal and what programs i can use (not familier with ubuntu but i have problems using windows do to drivers being installed prior to root)
Click to expand...
Click to collapse
Hey, in Ubuntu open terminal, put
sudo apt-get install gparted
Once you've done that plug your SD card into your reader, under system> administration (I'm running 10.10) select gparted.
Select the sdcard in gparted, format it in fat, create a partition in fat32 at 50mb.
Sent from my HTC Glacier using xda premium
For the partitioning, I used minitool partition wizard, easy to use and free. Google it or find it on my site http://www.makingitdigital.net/android/index.html
Cool, now I have not used adb shell or any of that stuff yet, so off to studying before step 2.
I think they changed the partition to slow us to have full access to the memory. I think I asked the question elsewhere but I can't find it. My question is which folder is it?
Sent from my BNTV250 using xda premium
if I remembered correctly I think they wanted to give it an obscure name like /void..somethingsomething. Beyond that I'm not sure. The download links were pulled when I got around to downloading the alpha so I can't say for sure. Hope this helped even a little bit.
myl0h said:
if I remembered correctly I think they wanted to give it an obscure name like /void..somethingsomething. Beyond that I'm not sure. The download links were pulled when I got around to downloading the alpha so I can't say for sure. Hope this helped even a little bit.
Click to expand...
Click to collapse
the SD card is by default mounted on /ext-sd (or something like that) we are in the process of allowing full memory access.
Internal memory partition /media
hersh40 said:
I think they changed the partition to slow us to have full access to the memory. I think I asked the question elsewhere but I can't find it. My question is which folder is it?
Click to expand...
Click to collapse
Who is "they" ? B&N ? The problem is the internal memory is not mounted to the proper folder /mnt/media . Goneczilla is aware of the problem and already has it figured.
myl0h said:
if I remembered correctly I think they wanted to give it an obscure name like /void..somethingsomething. Beyond that I'm not sure. The download links were pulled when I got around to downloading the alpha so I can't say for sure. Hope this helped even a little bit.
Click to expand...
Click to collapse
I think you mean /vold thats the VOLume Daemon of linux .
If you want to have access to the internal memory in the CM7 alpha, then :
1. mount root as rw and create a folder called " media " in the /mnt folder .
Then goto terminal . get root by using su command . then use the following command :
Code:
mount -t vfat /dev/block/vold/179:10 /mnt/media
then create a symlink to /media using :
Code:
ln -s /mnt/media /media
However this only lasts until reboot and does not mount in windows .But apps can use this space unlike the /data .
Alternatively wait for the revised build of CM7
Daedricgeek
what if we add those commands to /system/bin/clrbootcount.sh?
upd: no such a file in cm7, so init.rc maybe
daedricgeek said:
Who is "they" ? B&N ? The problem is the internal memory is not mounted to the proper folder /mnt/media . Goneczilla is aware of the problem and already has it figured.
I think you mean /vold thats the VOLume Daemon of linux .
If you want to have access to the internal memory in the CM7 alpha, then :
1. mount root as rw and create a folder called " media " in the /mnt folder .
Then goto terminal . get root by using su command . then use the following command :
Code:
mount -t vfat /dev/block/vold/179:10 /mnt/media
then create a symlink to /media using :
Code:
ln -s /mnt/media /media
However this only lasts until reboot and does not mount in windows .But apps can use this space unlike the /data .
Alternatively wait for the revised build of CM7
Daedricgeek
Click to expand...
Click to collapse
Thanks, that worked and I see that it mounted. However, apps still refuse to use it, and complain that sdcard has insufficient space (which is true).
Before a fixed release is out, is there any way to increase the size of SD partition?
Sent from my Nook Tablet with CM7
Help Guys...i flashed JuopunutBear Patched 2.21 HBOOT and now my samsung 16gb class 10 memory...recognized as 12kb...i tried to format it..but the format makes it 12kb again..please help!also with that hboot s-off viperrez still bootlooping when i insert pin
Taken directly from the official website:
If you cannot get the SD card to be recognized by the device even after doing the data recovery, you can reformat your SD card to a clean state using these instructions:
Install busybox
adb shell su -c "busybox fdisk /dev/block/mmcblk1"
type o
type w
adb shell su -c "busybox fdisk /dev/block/mmcblk1"
type n
select primary, then 1
choose default sizes
type w
adb shell su -c "busybox mkfs.vfat /dev/block/mmcblk1p1"
Click to expand...
Click to collapse
shrike1978 said:
Taken directly from the official website:
Click to expand...
Click to collapse
i'm doing all the above..but in the last step..i don't have any notification on phone!
after re installing some times it works..but still bootloop when i insert pin on viperez...whats happening..im on hboot patched 2.25 s-off....without sim the rom works great....any help?
Update: A hint...the global ruu roms seems that they work....or sense 3.6 roms..don't know..but rezone redux....and Ineffabilis Deus v1.2 working.....in the ither hand sense 4 roms such as niels business with sense 4 and viper rez bootloop when i insert pin..hope that will help to solve the problem
Djmk4 said:
after re installing some times it works..but still bootloop when i insert pin on viperez...whats happening..im on hboot patched 2.25 s-off....without sim the rom works great....any help?
Update: A hint...the global ruu roms seems that they work....or sense 3.6 roms..don't know..but rezone redux....and Ineffabilis Deus v1.2 working.....in the ither hand sense 4 roms such as niels business with sense 4 and viper rez bootloop when i insert pin..hope that will help to solve the problem
Click to expand...
Click to collapse
I would suggest you post your rom specific issues in their specific threads...
had problem with sdcard too
i use hp format tool
i tried many other but just this fix it
might help u too
If you have a USB adapter and Windows, you can just use Disk Management to fix the partition size.
Thanks for help guys..it was easy but I didn't know how.I just format as in clockwork recovery
Sent from my ADR6425LVW using xda app-developers app
It sounds to me that when you formatted it from the computer that the SD was formatted to Fat32 rather than Ext3 or Ext 4, so the phone couldn't read the storage. Reformatting from recovery formatted it in Ext rather than Fat32 making the storage readable again.
try clean it with diskpart
and then start hp format tool with full/long format
use recovery to mount the sdcard to pc if its not helping
I don't have a usb card reader, so I'm trying to figure out how to tell if my sdcard is formatted as fat32 or exfat by only using my phone. My phone is rooted. I tried the following in a terminal window:
1. su
2. fdisk -l
But this doesn't return anything. I'm not sure what I'm doing wrong, is there some way to tell if my sdcard is fat32 or exfat on my phone?
Well if it helps out. Read on google thay most come already exfat and have to be changed if tjats what you prefer
Sent from my SCH-I605 using xda app-developers app
The mount command will show you.
adrynalyne said:
The mount command will show you.
Click to expand...
Click to collapse
Thanks, this is what I was looking for.