Stuffed up storage system - General Questions and Answers

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

Related

[Q] USB Mass storage mode not working after root

After the root procedure I don't seem to have any ability to use USB Mass storage.
Windows reports it as an empty drive, linux will show the device as connecting and assigns it a /dev/sdx device, but when you attempt to mount or fdisk, it reports no medium.
Any one else having similar issues?
I could always try a reset to factory defaults after unrooting, but I really don't see what rooting could have done.
I used the manual method and had to run zerg several times, however beyond that no other files where modified.
I've already reverted /data/local.prop to stock, no help.
Any one have any other insights?
I had to uninstall motohelper to get USB mass storage working.
Sent from my MB865
thekurrgan said:
After the root procedure I don't seem to have any ability to use USB Mass storage.
Windows reports it as an empty drive, linux will show the device as connecting and assigns it a /dev/sdx device, but when you attempt to mount or fdisk, it reports no medium.
Any one else having similar issues?
I could always try a reset to factory defaults after unrooting, but I really don't see what rooting could have done.
I used the manual method and had to run zerg several times, however beyond that no other files where modified.
I've already reverted /data/local.prop to stock, no help.
Any one have any other insights?
Click to expand...
Click to collapse
When you take a picture, does it save to your sdcard? Sounds completely unrelated huh? Well, this phone seems to have an issue with the sdcard randomly becoming read only. I have had that issue multiple times now and usually it's solved by restarting the phone. Well, I seen your issue today and didn't remember if I had tried to use it as mass storage since rooting it so I tried....no luck. Took a pic, it looked like it saved, didn't get any error, but could not find the pic in my gallery. Then I tried to take a screenshot and got the read only error. So I just took my sdcard out and made a copy of it to my pc, put it back in and rebooted my phone, it's all good now, imagine that. Needless to say, i'm backing up all my apps right now before doing anything else. Then gonna backup my contacts too.
motohelper... Sounds like a stock app...
did you just rm the apk?
thekurrgan said:
motohelper... Sounds like a stock app...
did you just rm the apk?
Click to expand...
Click to collapse
No.motohelper was a bs program that got installed to my PC when I downloaded and installed the driver pack from Motorola. Until
I uninstalled it I couldn't get USB mass storage to work.phone portal would,but not storage.
Sent from my MB865
mtnlion said:
I had to uninstall motohelper to get USB mass storage working.
Sent from my MB865
Click to expand...
Click to collapse
I had to reinstall all the drivers through motohelper to get it to work as well =/
No problems now though~
I was able to get my sdcard recognized again but still could not use it as mass storage device, never had a problem with this before root. Did factory reset and all is well.
There is no possible way root caused the issue at all. It stopped working for me once I installed moto drivers, but shows the device with mass storage under it in usb portal mode.
koriflame said:
There is no possible way root caused the issue at all. It stopped working for me once I installed moto drivers, but shows the device with mass storage under it in usb portal mode.
Click to expand...
Click to collapse
Well then it's one hell of a coincidence! Before root, w/motodrivers, worked fine, after root w/motodrivers, didn't work, after unrooting, w/motordrivers, works again.
Same thing happened with my phone. Actually now returned because of all the issues I kept having hardware wise and wound up going and getting the HTC Vivid. So if any of yall switch I will see you when a Forum is made for this device.
916x10 said:
Well then it's one hell of a coincidence! Before root, w/motodrivers, worked fine, after root w/motodrivers, didn't work, after unrooting, w/motordrivers, works again.
Click to expand...
Click to collapse
Did you see my other post about /mount/secure corruption? I have a fully working rooted mountable phone.
Sent from my MB865
malickie said:
Same thing happened with my phone. Actually now returned because of all the issues I kept having hardware wise and wound up going and getting the HTC Vivid. So if any of yall switch I will see you when a Forum is made for this device.
Click to expand...
Click to collapse
I have until the 24th of this month to decide if I want to keep this phone or not. I unrooted yesterday, will see how it goes this week. I'm not trying to pay big money for a phone right now so we'll see how it plays out.
OK I give up. The problem is intermittent. I'm going to do a log cat next time cause I'm getting about irritated. SOme times it works fine some times not. I've not unrooted or changed anything since the initial problem.
The only thing I can possibly thing is that some of the commands installed by busybox is screwing up the works.
Short of that nothing REALLY changes that could affect the operation of the phone.
What doesn't bare that idea out however is the fact that it EVER works.
**STUMPED**
It does the exact same thing on a completely unmodified phone. Therefore, it's nothing you did to it that's cause the problem.
I have the same thing on mine but it was something with the format of the card.
I flipped it to windows media sync mode then backed up the card and after the backup I unmounted the card and let the atrix format it.
I had the card in a atrix 1 before I put it in the atrix 2 so I do not know if this is the case or not.
This has now been working with out a problem for 4 days now
Same thing happened to my phone, I never rooted it.
Confirmed user error.
seraphielx said:
I have the same thing on mine but it was something with the format of the card.
Click to expand...
Click to collapse
Thank you seraphielx! Shortly before finding this thead, I'd noticed that I had a rather large number of files in the LOST.DIR on my SDcard. Which coincided with the seemingly random disappearance of some of the apps I'd moved there. And when I pulled the SDcard to back it up on my PC, there were nearly 600mb worth of files in the LOST.DIR. Most of which were photos, plus (I think) some apps. Thank God I make regular backups!
I believe the problem, at least in my case, has to do with the fact that I could pull the SDcard without first pulling the battery; which I did when I swapped the stock 2gb card for my 32gb card right after I bought the phone. Thus corrupting many files, and probably the file system on the card as well.
After backing up what remained of my storage files, I tried to format the SDcard in the Atrix2, but It wouldn't let me select the option to format, and neither could I unmount the SDcard. So I powered down the phone, pulled the card and formatted it from my PC. Poped it back in the phone, powered up, and was then able to format it with the Atrix2. Since then I've had no issues with accessing usb mass storage, nor with disappearing apps and photos.
Thanx again for the assistance!
For me sometimes it takes a few minutes before I can access sdcard from PC.
Usually it works instantly after phone reboot while not plugged in pc, then it takes ages...
seeker9 said:
After backing up what remained of my storage files, I tried to format the SDcard in the Atrix2, but It wouldn't let me select the option to format, and neither could I unmount the SDcard. So I powered down the phone, pulled the card and formatted it from my PC. Poped it back in the phone, powered up, and was then able to format it with the Atrix2. Since then I've had no issues with accessing usb mass storage, nor with disappearing apps and photos.
Click to expand...
Click to collapse
Update: OK, I can't unmount my SDcard, again. Which, of course, means I can't access usb mass storage anymore. The only I've changes made since my last post were to install some apps and change some status bar icons via Rom Toolbox, and I can't believe that has anything with the issue.
If I do a factory reset, will I need to root again?
If you have any apps installed on your SD card you will continue to have problems.

[Q] USB Mass Storage Command for CM7 Kindle Fire

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?

Problem with ClockworkMod Recovery v3.0.2.4 (USB Not Recognnized)

I wiped and cleared everything (cache, SD Card...) from the settings in order to install the new Ice Cream rom which I got working but then wanted to clean everything up. So obviously after doing the formats, it also wiped the zip (icecream). I can access clock work recovery, but it doesn't recognize my USB at all, same machine and cable is fine. I am trying to do it as a USB Mass Storage device but still it cannot recognize it. Any help would me much appreciated.
namsu55 said:
I wiped and cleared everything (cache, SD Card...) from the settings in order to install the new Ice Cream rom which I got working but then wanted to clean everything up. So obviously after doing the formats, it also wiped the zip (icecream). I can access clock work recovery, but it doesn't recognize my USB at all, same machine and cable is fine. I am trying to do it as a USB Mass Storage device but still it cannot recognize it. Any help would me much appreciated.
Click to expand...
Click to collapse
I'm not sure if you mean SD storage and not USB but you should have never formatted your SD storage.
In clockworkmod recovery there is an option to mount the SD storage. Make sure its mounted and then try activating the USB storage again. This should give you the ability to add a ROM zip file on the SD storage so you can flash it.
Thanks for the reply. Basically I am in clockwork recovery mode, I mount the SDCARD, then I go and select the option "mount USB storage". Sometimes I find that it finds Android 1.0 and I see the I: come up but then goes away quite quickly. But most of the time it comes up as unrecognized.
Now I have 2 cables, both which charge the phone fine. I have used one on a BlackBerry and remember it does the job of connecting as a data connection fine. Also have tried my XP laptop, same result.
My feeling is that it may possibly be the actual USB port on the phone that is the problem but I am unsure in this. It never failed to connect when the phone was working properly (in an actual OS).
You should update your CWM... 5.0.2.0 is the latest version.
But anyway, you don't need to mount SD card then mount USB storage. Only need to do the latest. Once you do this, unplug and replug the phone, the drive should pop up.
polobunny said:
You should update your CWM... 5.0.2.0 is the latest version.
But anyway, you don't need to mount SD card then mount USB storage. Only need to do the latest. Once you do this, unplug and replug the phone, the drive should pop up.
Click to expand...
Click to collapse
When I go into clock work recovery it says USB device Unrecognized. Problem is I don't have anything on the SD I have the ROM on my computer. Whether I go to the mount USB storage menu or not. Unsure what to do?
namsu55 said:
When I go into clock work recovery it says USB device Unrecognized. Problem is I don't have anything on the SD I have the ROM on my computer. Whether I go to the mount USB storage menu or not. Unsure what to do?
Click to expand...
Click to collapse
I imagine you don't have a working adb setup on your computer to update CWM, right?
Boot into CWM with phone plugged in. Go to mount USB storage. If your "SD" isn't recognized, still on that screen, unplug and replug phone. It should get detected then.
Tried this several times keep getting Unknown Device. I installed the SDK with Google Drivers. Unsure if that is the ADB set up.
namsu55 said:
Tried this several times keep getting Unknown Device. I installed the SDK with Google Drivers. Unsure if that is the ADB set up.
Click to expand...
Click to collapse
Yes that's the adb setup.
You might need to manually install the drivers for your phone, although this shouldn't impact on the SD mounting capabilities. Just to make sure, I would get a working adb setup and use fastboot to update your Clockworkmod Recovery to 5.0.2.0.
You can follow this to know how to use fastboot
http://wiki.cyanogenmod.com/wiki/Fastboot#Flash_Custom_Recovery.img
If you have trouble getting your phone to be detected and the drivers installed, I suggest you use PDAnet drivers instead (if you're under Windows). Some phones for some reason need .inf driver hacking to get detected.
http://junefabrics.com/android/
I will give this a go many thanks.
polobunny said:
Yes that's the adb setup.
You might need to manually install the drivers for your phone, although this shouldn't impact on the SD mounting capabilities. Just to make sure, I would get a working adb setup and use fastboot to update your Clockworkmod Recovery to 5.0.2.0.
You can follow this to know how to use fastboot
http://wiki.cyanogenmod.com/wiki/Fastboot#Flash_Custom_Recovery.img
If you have trouble getting your phone to be detected and the drivers installed, I suggest you use PDAnet drivers instead (if you're under Windows). Some phones for some reason need .inf driver hacking to get detected.
http://junefabrics.com/android/
Click to expand...
Click to collapse
Just to let you know, I am trying to access USB Storage from clockwork recovery since I don't have any rom on here at all.
This may sound weird but I held the USB in the phone port in an angle, luckily the removable drive came up. I got the the ROM on the SD it has installed and loading. I'll see if its an issue with the USB on the phone later on but as long as it got back up and running (Ice Cream) for now.
Anyway thanks guys much appreciated. I'll be a lot more careful next time before I go around wiping everything especially the SD LOL.
namsu55 said:
Just to let you know, I am trying to access USB Storage from clockwork recovery since I don't have any rom on here at all.
Click to expand...
Click to collapse
I gathered this much from your posts.
Edit: Glad you got it working. Make sure you get CWM updated whenever you can if you haven't done so, this could lead to problems down the road to flash different zips.
polobunny said:
I gathered this much from your posts.
Edit: Glad you got it working. Make sure you get CWM updated whenever you can if you haven't done so, this could lead to problems down the road to flash different zips.
Click to expand...
Click to collapse
I'll do that next time I get a chance, I thought my phone was gone there for sure. Thanks again.
namsu55 said:
I'll do that next time I get a chance, I thought my phone was gone there for sure. Thanks again.
Click to expand...
Click to collapse
The Nexus S is a difficult phone to brick, luckily. Most of the rooting, bootloader unlocking and flashing steps are easy to follow too.
No problem!
namsu55 said:
This may sound weird but I held the USB in the phone port in an angle, luckily the removable drive came up.
Click to expand...
Click to collapse
Sounds like you have a bad connector on your phone.
obsanity said:
Sounds like you have a bad connector on your phone.
Click to expand...
Click to collapse
Yeah I think so.

[Q] Still no access to internal phone via usb

Hi all,
To start with, I'm in India and tried to unlock my Verizon S3.. at first, got it rooted, tried to unlock, didn't work and it caused a bunch of connection problems, etc. with the phone, so I did a factory reset, thinking it would wipe the problems I was having.
Lost some files I forgot were on my internal memory I needed, so I wanted to do a file recovery. During this process, I re-downloaded the drivers for the S3 I needed and then found that my phone would connect, but wouldn't connect as a driver and only as a media source. So the recovery software can't find the device to inspect. Even when I debugged, it would only register as a bootloader and wouldn't recognize it as anything more.
I'm trying to figure out what other steps I need to take to either remove something that I tampered with before the factory reset, or if I need to install something new to configure my device to register as a driver, or do something else I can't figure out?
And I'm still trying to recover those files from before the factory reset too.
Anyone have any suggestions? I can explain in more detail if needed.
Thanks for all the help!
Are you trying to recover personal files that were wiped?
Sent from my SCH-I535 using xda app-developers app
Trying to get my computer to register the phone as a driver so then I will be able to recover the files.
djteotancolis said:
Are you trying to recover personal files that were wiped?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
You may be out of luck. When google went to Android 4.x, they switched to the MTP protocol which mounts the phone to the computer as a media device, rather than a mass storage device (as in previous versions of Android). As far as I can tell, devs have only been able to figure out how to get the external SD card to be seen as mass storage (and that's built into a rom, not a stand alone mod, I believe).
Is there any file recovery software/app available for Android that you can install directly on the phone, rather than needing to run it from a computer?
Well, that's not a good sign. But I will check into the direct software to the phone and let you know I find anything.
Thanks for the tip!
letinsh said:
You may be out of luck. When google went to Android 4.x, they switched to the MTP protocol which mounts the phone to the computer as a media device, rather than a mass storage device (as in previous versions of Android). As far as I can tell, devs have only been able to figure out how to get the external SD card to be seen as mass storage (and that's built into a rom, not a stand alone mod, I believe).
Is there any file recovery software/app available for Android that you can install directly on the phone, rather than needing to run it from a computer?
Click to expand...
Click to collapse

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