[Q] USB Mass Storage Command for CM7 Kindle Fire - General Questions and Answers

Hi all.
I have a rooted Kindle Fire Running the latest CM7 that I grabbed from this site. I have two quick questions, if I may.
I know that once rooted an running CM7 Windows does not recognize the tablet for usb mass storage unless you take some steps and since I chose the option of the command in terminal emulator, I had to redo it when I restarted the tablet to show my buddy TWRP 2.0 and now I can't find that command anywhere. Can anyone point me to it?
Also since the Fire only comes with a 5GB partition as the SD card I wanted to Format and clean it and start fresh on it. any one know if that will mess with TWRP or CM 7 at all. I don't mind if I lose everything else because I have neglected adding many apps while I tinker with it.

I just had a thought. Since the SD Card is not technically an SD card and is Just a partition(correct me if I'm wrong), Then using TWRP to wipe it may wipe everything. Anyone done this?
Call me OCD but I'm worried about the storage and would love to get rid of anything not needed.
Or does anyone think I can just remove all of the folders accept for my backup folder? none seem to have much of anything in them. I think most were put there by the Stock Rom.

Nevermind on the usb thing. I got that confused with the ICS rom I flashed to my DX. All I had to do was select USB mass storage on the Fire.
But does anyone know if I can format my SD card with out ruining TWRP or the ROM?

Related

I could really use a hand with this pickle

okay, so i've found myself in a bit of a pickle. Recently I've been running the CM7 nightly's, but today I tried out the RoyalGinger rom and I believe it either corrupted my SD card or it's blocking my SD card from being used/read.
Tried several times to reformat it but each time it said 'checking SD card', but the weird thing is I have an active wireless connection, but I'm not getting texts. I can download from market, get on Facebook, etc, but my texts won't come in until I reboot the phone. A few times I booted it up and it wouldn't allow me to even see my homescreen because it'd pop up with EVERY app force closing (including google services, framework, etc), I was able to get back to my homescreen by clearing by Dalvik Cache luckily, however I'm still unable to do most anything. I went in to wipe/restore but it says cannot find SD card, directory invalid, cannot mount, etc.
Is there a way to reformat my SD card through terminal? If so could I get the code procedure for it? or anyone have any ideas other than picking up a new micro (which isn't a big deal but I'm strapped on money til Friday) but i'd still prefer to know that it's JUST my SD card and not my phone memory. Anyone? Anyone? Beuler? Beuler? Thanks in advance. I'm really sorry if I posted this in the wrong section, but c'mon, everyone gets one.
Ok so do u have a stock backup rom? Ide say go to rom manager and go to recovery and whipe etc.. Then install that stock back on it.....And can ur sd card even read at all? Just get any.file manager and check your sd.
Sent from my glacier using XDA Premium App
I think I have a backup rom of CM6, but not an actual android stock rom. It won't allow me because it says 'must have an SD card inserted' then it says must have clockwork mod recovery installed, which I do, the current version. Now that it says that I'm afraid to boot my phone into recovery, and I can't really tell if my SD card will read. I was able to use my file manager and the entire SD folder is blank.
ten minutes later: still boots into recovery, none of my backups are available on it. I was thinking about downloading a rom from the phone and trying that way, but I don't know if it'd save to the (apparently unreadable) SD card.
Ok try this...... Find out what recovery you use 3.0.0.5 or the normal 2.5.1.4 for froyo then download a rom thats the same recovery as the one u have on it right now...... If its the same as your cyanogenmod 6 then install that from the recovery manually!!!
if its not then download a rom that is and make sure you use a file manager to see if the download sticks in your sdcard. And if it doesnt stick then......your problem sir might be a corrupted sdcard, or a phone that cant read your sd.
Hope its not either or, so give it a shot.....
And ur supposed to have a stock backup as soon as you root and switch roms man Lol makes life easier
Sent from my glacier using XDA Premium App
The_F_Word said:
And ur supposed to have a stock backup as soon as you root and switch roms man Lol makes life easier
Sent from my glacier using XDA Premium App
Click to expand...
Click to collapse
Lol agreed that's saved me a couple times now
Sent from my HTC Glacier using XDA Premium App
It sounds like he doesn't have access to his sdcard. It doesn't matter how many backups you make if that's the case...
If you happen to have a sdcard reader or a microsd usb adapter you could format it in windows, copy the files you need, and start again. Also did you try connecting to your pc and seeing if it's readable that way? You can format the card if your pc recognizes it. If you have adb set up you can push the recovery image to the phone without a sdcard. But once again without a working sdcard you won't be able to flash a new rom.
Hey guys I'm pretty sure it's just my SD card. I tried saving an image, just to test it and it says 'an SD card is required to download images.bin', so I'm HOPING it's just my SD Card, however my notifications are working properly so I can at least deal with it til friday, if it IS my SD card reader in the phone, well... I have a plan for that, however due to already technically breaking that I shouldn't go into it. Thanks to you guys for taking the time to post and if you know anything else that might help me I'd gladly accept it.
darinmc said:
It sounds like he doesn't have access to his sdcard. It doesn't matter how many backups you make if that's the case...
If you happen to have a sdcard reader or a microsd usb adapter you could format it in windows, copy the files you need, and start again. Also did you try connecting to your pc and seeing if it's readable that way? You can format the card if your pc recognizes it. If you have adb set up you can push the recovery image to the phone without a sdcard. But once again without a working sdcard you won't be able to flash a new rom.
Click to expand...
Click to collapse
Hi, I have a reader on my laptop but not the adapter, so I can't tell and yes, you were right, I can't see any of my backups (which I have my stock, then cm6 and cm7) so I either need to find an adapter or get a new SD card. luckily I pulled all of my camera images off my phone last night when I put the new rom .zip on the phone sd, so I'm not really worried about 'losing' anything as long as I get my phone working back in proper condition.
Well that happened to me before as well.. All i did was replace sd cards lets the phone do its thing flash a different rom like CM6 or CM7 and then once replaced i got the adapter for my old sd card reformatted through windows and put it right back in and it worked.. So try that?
Ill have to. Thanks a lot guys I do appreciate any comments and suggestions and ill be picking up a new sd later thia week to fix it but can amyone recommend a good brand sd to pick up? the apparently failed one was a samsung 8gb
Sent from my HTC Glacier using XDA App
Hp is very good, u probably can find one with 8 gb. At best buy.. But if u want a 32 gb then thats online all day
Sent from my glacier using XDA Premium App
I usually use sandisk so yeah try that?
Something similar happened to me. Your SD card likely has a bad or corrupted file. I used Win7 to copy over what I could to a folder in my PC. The Win7 automatically refused to copy over the corrupted files while carrying over everything else. In XP, your file transfer stops and you have to try again to ensure you have everything that's not corrupted transferred over.
After copying, I just went ahead and formatted the SD to FAT32, transferred everything back, installed on my phone, and voila.
Go into recovery and partition the card. You'll lose everything on it but it should be useable after that
Sent from my HTC Glacier using XDA Premium App

[Q] tablet erases any new file on reboot??

Hey everyone,
So I got my tablet today and have been working on it for the past 8 hours!! I finally got CWmod on it and running. Had a nightmare of a time getting it to work correctly and after using NVFLASH to nuke the whole tablet and install the stock ROM, then updating i was able to get CWmod to run. Now I'm having a really odd issue.
I can boot into CWmod. I repartitioned the SD card, mounted it. I can see the device in windows but when I add ANYTHING to the internal SD card it is completely gone once I reboot the device. I'm trying to get a ROM on it but it's like the drive is locked or something really weird. It copys onto the tablet just fine. the second I reboot everything is deleted.
I feel like I'm missing something here. I had that issue with it when I ran the stock ROM. I could change something and it would not stick after a reboot. For example registering my device on kindle and then downloading books. as soon as I reboot the machine it's as if i never registered it. I'm really at a loss as to what to do with this. I can't seem to get it to save anything on the internal storage.
Well after fiddling with it for a while longer I'm about to give up. I used NVFLASH to get it to the stock ROM again. updated to 3588 and yet again, I can't get any changes to stick. I can change anything and everything on it while it's powered on. The second I power it off and reboot it nukes everything I did (and takes close to 5-6 minutes to boot). I even mounted it and deleted every single file on the internal storage. They all came back upon reboot. I reformatted the entire SDCARD, I reformatted all the user data, did a cache wipe.. nothing works. I'm wondering if my unit is defective? at this point I would love to just have a tablet that I can actually use. I can't understand how it's even possible to not be able to make any changes on the device unless it's reinstalling the ROM everytime I reboot?
What version of CWM are you using and how did you install it?
I was running CWM 8. I couldn't install it via the internal storage. It would boot into recovery mode and "install" but once the machine rebooted it would not boot into CWM. I tried it several times same deal. I could install it but once it rebooted, nothing :/..
So I had to use the micro SD card to install it. I edited the recovery command file and pointed it to the SDCARD2. It installed finally, and stuck!
I tried using the microSD card to install the other ROMs. But unfortunately it will not mount in CWM.
I'm trying to get CWM back on it after doing yet another wipe with NVFLASH. We'll see if I can get it to work..
So i'm basically sitting here with a brick.. unless I never power it off lol!
Ok well another odd thing is going on with this. I'm up and running with CWM 08 again. I can turn on USB mass storage mount. The tablet shows up in windows and on my linux box. I can make whatever changes I want, adding files, deleting everything on it. Nothing matters cause once I unmount and remount the device it's all back to normal. It seems like nothing is allowed to write to the internal storage even though it thinks it does write to it??

CyanogenMod Woes

Hey all,
I stumbled into an issue a few days ago and I'm trying to figure out how to get it resolved with minimum headache.
I downloaded the latest CyanogenMod download from h8rift's get.cm website, but unfortunately I didn't notice that it was CM9 rather than CM10 until I had flashed it and the boot animation popped up.
I didn't have a CM10 zip saved to my SD card partition, and TWRP, for some reason, would not mount to USB on either my Mac or my PC. The phone wouldn't boot into CM9, so I couldn't download the zip from there either.
So, I hit 'factory reset'.. twice, both from the bootloader, and from TWRP. Well, no luck. Now the file browser in TWRP doesn't even show my SD card's contents, just the TWRP folder. Every time I see a command line in TWRP, it tells me the SD card couldn't be mounted.
So, crap. Are all my files gone? I didn't realize factory resetting wipes the phone. I have all my photos on the SD card partition as well as a somewhat recent Titanium backup, so I'd really, really, really not like to lose those.
I understand that running a RUU will probably fix my issue, but the thing is, on the off chance that my SD card contents are still around, I'd like to be able to keep them. Will running a RUU wipe the SD card, if it still is in there somewhere? Are there any other suggestions re: getting the phone to boot, or be recognized as a USB disk? Also, if I do end up RUUing, I assume I have to unlock the bootloader again. Sigh, that was a hassle the first time.
tl;dr I'm complaining about a lot of stuff that I'll probably have to do anyways because I did something stupid and wasn't smart enough to keep backups, but if anyone wants to give pointers that'll make this process easier I will kiss your shoes and worship you forever.
Thanks.
If you end up needing to wipe your SDCard, here are some helpful tips
[Q] E:Can't mount/SD card http://forum.xda-developers.com/show....php?t=1751803
---------- Post added at 11:52 PM ---------- Previous post was at 11:29 PM ----------
denversc said:
If you end up needing to wipe your SDCard, here are some helpful tips
[Q] E:Can't mount/SD card http://forum.xda-developers.com/show....php?t=1751803
Click to expand...
Click to collapse
Oops, here is the full url:
http://forum.xda-developers.com/showthread.php?t=1751803
So I just managed to boot into CyanogenMod 9, without actually doing anything.
So it boots but can't mount the SD card. I have no idea either. Any way to mount the SD card without relocking bootloader?
Have you tried to access your sd card with a file manager app like solid explorer to see if anything is still on the card?
Sent from my Nocturnalized One XL using Forum Runner
Factory reset from the bootloader appears to wipe the sdcard and leave it in an unformatted state. I did this yesterday and fixed it by letting the phone boot back into the sense rom I was running.
Not quite sure what you can do in CM9. Have you tried connecting to your computer and seeing if windows detects a valid drive? If it doesn't maybe let windows format it, yeah I don't like this idea either, so you can at last get some files on it.
I had a similar problem after flashing a nocturnal update...
Here's what I did to resolve:
Wipe all - SD card, factory reset (all can be done inside TWRP)...then plug your phone into your computer via usb and on your phone in TWRP main screen, navigate to Mount and select USB storage. It WILL show up on your computer as unformatted - just reformat (which will wipe it again) and then let you copy files in. Just download the latest CM10 (which is working great) and flash away...
I am using a Mac computer running win xp via parallels and it worked great - I don't remember what file structure to format the SD card as, but it was the default when it brought up the format dialogue...
Hope that helps!
Sent from my One X using xda premium

Stuffed up storage system

First post, sorry if this isn't the correct place to start the thread
Alright so I'm running resurrection remix 6.1.0 rom on my rooted oneplus 3T (android version 8.1.0)
The other day, I was trying to input a usb otg into my phone but it would not recognise. Searched all over the settings but there were no options for the usb otg (didnt seem like RRemix supported it)
Now what I did next was kinda stupid on my part, so after searching over the internet and various forums, I tried two approaches
First one was to go to the terminal, entered 'su' to get root access and entered 'sm set-force-adoptable true'
Now I'll admit that I didn't know what this command was at that time, but it still didn't make my phone recognise the otg usb
Next I installed the StickMount app from playstore, mounted the mass storage, but again didnt make my phone recognise the otg usb
But then the problems started to arise, and note that I had enough internal storage (60%)
First I couldnt update some apps (says not enough storage while 11% through download)
Couldnt take pictures nor screenshots (again says no storage)
Also couldnt delete any files Ive downloaded through the default file app ( but can delete any apps)
However I could still download new apps or new files from the internet
So I'm guessing I stuffed up the SD card/ internal storage systems. I was thinking of flashing the RR rom again and starting the phone fresh but that would be a waste of time as I have to set up everything again
I have also tried the command 'sm set-force-adoptable false' but no success
So I'm wondering, are there any ways of undoing whatever I just did, without having to wipe everything and restart??
Thank you so much for any replies, I'll make sure to know what I'm doing in the future before I follow instructions on the net haha
also just curious, but would greatly appreciate if someone could tell me what I just did, searched over the internet but couldnt find a precise answer. My phone also does not have an external SD card
What you did was tell the device to use an external storage device as part of the Interminal storage.
You will have to start over from scratch. Make sure to back everything up.
What you want to do is part of their closed sources rom. I have never had a single aosp based roms with otg.
Sent from my SM-G955U using Tapatalk
zelendel said:
What you did was tell the device to use an external storage device as part of the Interminal storage.
You will have to start over from scratch. Make sure to back everything up.
What you want to do is part of their closed sources rom. I have never had a single aosp based roms with otg.
Sent from my SM-G955U using Tapatalk
Click to expand...
Click to collapse
Ah I see what hapenned, thanks for your reply!
Luckily I decided to do a reboot and super glad it fixed everything. Camera app works perfectly and my phone can recognise my storage again

Can't push files to phone via TWRP

Rooted phone, went to flash rom then accidentally selected to install TWRP app, read somewhere that doing so bricks your phone so I wiped everything. I accidentally selected to wipe internal storage along with this, so now I have no OS, no files on my phones internal storage, and can't figure this out.
I tried mounting usb with TWRP, but OTG reads as 0mb, and on my computer my Pixel XL shows up as AOSP on msm8996, and trying to copy files to it just freezes explorer.exe
I had the though of doing an adb push for the ROM, or even a factory OTA image but don't know the commands for this since it's not an SD card or anything.
I'm taking shots in the dark with this and nothing works, any responses and help is greatly appreciated
Phone is a Pixel XL. Already made a post on my devices section but I'm in a bit of a rush to figure this out so I took it here as well. Reeee indeed.
Never mind. after cmd and powershell weren't working I downloaded the all in one tool and just dragged the files over to the phones storage. In the future if anybody goes full retard like me, just do that

Categories

Resources