I have watched a lot of tutorials but nothing is working please someone help
I made a video of the problem and what I tried. Can anyone understand what happened
https://www.youtube.com/watch?v=VaN-y-Worlg
Update: In Data i Changed the file system and went back to original. Didn't work.
I even wiped system. But i guess the only problem is to fix the "data". Since it shows 0 Mb size. But i can't find any way or guide. The ones i did find are too advanced and use cmd commands and toolkits which i don't think an inexperienced user like me should be following.
Some background information: i attempted to install Open gApps and enable Camera2 API. I Entered "read only" mode.
The adb shell commands for enabling it wasn't working (some "proprietary" something shown )
So I tried another method. I downloaded the latest Magisk and flashed it. Then i tried gApps. I don't remember when i started to think what went wrong but yeah..
I found this and I think it may be related.
But I don't understand it properly.
And its and Old post for some other Recovery
https://forum.xda-developers.com/go...o-repairing-corrupted-data-partition-t2577447
See if this will help you
https://forums.oneplus.com/threads/closed-solved-twrp-unale-to-mount-storage-help.544878/
Essentially reboot twrp then wipe-> format data
jaybeeee said:
See if this will help you
https://forums.oneplus.com/threads/closed-solved-twrp-unale-to-mount-storage-help.544878/
Essentially reboot twrp then wipe-> format data
Click to expand...
Click to collapse
DId that in the video. Doesn't work
Did you reboot twrp first? I don't see that
jaybeeee said:
Did you reboot twrp first? I don't see that
Click to expand...
Click to collapse
Oh yeah didn't do it in the video.. But yeah no good.
Crap, sorry to hear it, hopefully someone better than me chimes in. Good luck!
Why did you wipe internal storage? And what are you trying to mount. If you are trying to install a new rom all you need to wipe is cache, dalvik, system and data. Wiping internal storage removes everything from the internal SD card and if you do this then you have no OS.
Sent from my iPad using Tapatalk
Stransky said:
Why did you wipe internal storage? And what are you trying to mount. If you are trying to install a new rom all you need to wipe is cache, dalvik, system and data. Wiping internal storage removes everything from the internal SD card and if you do this then you have no OS.
Click to expand...
Click to collapse
At this point i can't care less about the data in internal storage. I just need to flash the official MIUI ROM back, enable Camera2 API and live in peace. At this moment I'm halfway through downloading the ROM but I'm not sure if i can flash it due to the Mount Issue of internal storage. I plan on transferring it to my micro SD card and flashing it from there to System Image. Will it work? And Internal Storage formatting failed in case you didn't notice. Practically nothing worked except the file system change of "data". And even that didn't fix the unable to Mount issue.
Stransky said:
Why did you wipe internal storage? And what are you trying to mount. If you are trying to install a new rom all you need to wipe is cache, dalvik, system and data. Wiping internal storage removes everything from the internal SD card and if you do this then you have no OS.
Click to expand...
Click to collapse
Btw i gave more information on the first post.
Have you tried redwolf recovery? If it has the same error then flash your phone with fastboot rom
devcon69 said:
Have you tried redwolf recovery? If it has the same error then flash your phone with fastboot rom
Click to expand...
Click to collapse
Hevent tried redwolf recover. Just Fastboot flashed the ROM on intuition. And it Worked!!
Related
Since this phone does not have an SD card, does this mean that anytime I want to try a new ROM or something and have to factory reset, that everything off my phone will be erased? Including pictures and ect? I cannot believe they didn't leave SD card support for this phone, really upset about that. It takes too long to transfer my 10gig+ data from my sdcard to this phone. I don't want to have to go through that constantly with this phone.
No the stuff on your phone will not be wiped. The whole "sdcard" thing is a misconception.
The phone itself has a internal storage.
Other phones such as Galaxy S2/S1... have a internal storage and external. Which is removable.
HerroMoto said:
Since this phone does not have an SD card, does this mean that anytime I want to try a new ROM or something and have to factory reset, that everything off my phone will be erased? Including pictures and ect? I cannot believe they didn't leave SD card support for this phone, really upset about that. It takes too long to transfer my 10gig+ data from my sdcard to this phone. I don't want to have to go through that constantly with this phone.
Click to expand...
Click to collapse
Well, if you flash a new a new system image only, then I guess the stuff located in the userdata partition will not be erased...
zephiK said:
No the stuff on your phone will not be wiped. The whole "sdcard" thing is a misconception.
The phone itself has a internal storage.
Other phones such as Galaxy S2/S1... have a internal storage and external. Which is removable.
Click to expand...
Click to collapse
... but if you flash the userdata partition, ALL of your data will be erased, because /sdcard is actually a link to /data/media
If it was me I would make a backup anyway for the sake of a few minutes before flashing any ROM.
Flashing a new rom does NOT erase your data, ie photos - downloads - music etc.
Vangelis13 said:
Flashing a new rom does NOT erase your data, ie photos - downloads - music etc.
Click to expand...
Click to collapse
Have you tried it? Try flashing one of the stock builds from Google found here and tell me if your data gets erased. I can tell you that mine did, but I make sure to make a backup of everything (like daleski75 said earlier) before flashing anything related to the data partition.
as far as I have seen the stock recovery will wipe the /sdcard partition. CWM recovery will not
fundo51 said:
as far as I have seen the stock recovery will wipe the /sdcard partition. CWM recovery will not
Click to expand...
Click to collapse
Is there any way to flash a ROM or factory image in fastboot without wiping the SD card partition? I can only get my device to show up in fastboot, not ADB.
PolishPauL11 said:
Is there any way to flash a ROM or factory image in fastboot without wiping the SD card partition? I can only get my device to show up in fastboot, not ADB.
Click to expand...
Click to collapse
Remove userdata.img from the Google images.
Honestly I would work on getting ADB to work properly. It will give you much more flexibility in these situations.
Sent from my Galaxy Nexus using XDA App
i got the same prob i just rooted, im use to having a sd card so whats the answer if you flash in cwm do a wipe in cwm it wont erase the internal storage? because it sux reloading everything from the computer via usb
dre4402 said:
i got the same prob i just rooted, im use to having a sd card so whats the answer if you flash in cwm do a wipe in cwm it wont erase the internal storage? because it sux reloading everything from the computer via usb
Click to expand...
Click to collapse
No it won't wipe the SD card partition unless you unlock the bootloader or flash the factory images in fastboot.
Hi thanks for the guide ive succesfully rooted my nexus 7 but i have a question do i need to format data to install new rom additionally to wiping and if yes does is format my internal storage? (like the rom zips and my mp3s?)
Oh and btw my usb doesnt work in twrp is that normal?
Thanks
Shillopellos9 said:
Hi thanks for the guide ive succesfully rooted my nexus 7 but i have a question do i need to format data to install new rom additionally to wiping and if yes does is format my internal storage? (like the rom zips and my mp3s?)
Oh and btw my usb doesnt work in twrp is that normal?
Thanks
Click to expand...
Click to collapse
Formatting data will only wipe the system data needed to overwrite your current ROM. It is advised to do a full wipe before flashing so no bugs or glitches happen. The worst case scenario if you don't wipe your system data is that your tablet won't be able to boot up. I advise wiping when installing any ROM. Your internal storage should be safe from harm
thor6577 said:
Formatting data will only wipe the system data needed to overwrite your current ROM. It is advised to do a full wipe before flashing so no bugs or glitches happen. The worst case scenario if you don't wipe your system data is that your tablet won't be able to boot up. I advise wiping when installing any ROM. Your internal storage should be safe from harm
Click to expand...
Click to collapse
ok thank you very much for your anwser but the usb in the recovery menu is not working am i doing something wrong my pc says it can find the usb drivers.
Shillopellos9 said:
ok thank you very much for your anwser but the usb in the recovery menu is not working am i doing something wrong my pc says it can find the usb drivers.
Click to expand...
Click to collapse
Let me get a clearer understanding of your problem. What do you need the USB drivers for? If you want to move files, use ADB sideload. (Google it please).
thor6577 said:
Let me get a clearer understanding of your problem. What do you need the USB drivers for? If you want to move files, use ADB sideload. (Google it please).
Click to expand...
Click to collapse
i googled it but i mean use usb like a storage device in recovery(like mount usb in clockwork) not push via adb zips.
After many program installations and various rom setups, I want to free up space on my Internal SD Card by doing a full wipe. Is there a way to do this and be able to load a rom?
sfetaz said:
After many program installations and various rom setups, I want to free up space on my Internal SD Card by doing a full wipe. Is there a way to do this and be able to load a rom?
Click to expand...
Click to collapse
Stock recovery wipes everything but TWRP preserves the "virtual" sdcard. There might (or might not) be some advanced option in TWRP to wipe the virtual sdcard, never looked.
Twrp has the wipe option, I knew that already. I wanted to find a way to use it and still be able to flash a rom. In any case I figured out how to transfer a file to the device with the ADB push command after getting adb to recognize the nexus. Will attempt all this in a couple of days.
sfetaz said:
Twrp has the wipe option, I knew that already. I wanted to find a way to use it and still be able to flash a rom. In any case I figured out how to transfer a file to the device with the ADB push command after getting adb to recognize the nexus. Will attempt all this in a couple of days.
Click to expand...
Click to collapse
I guess I don't understand what you mean then as by default twrp doesn't reset your virtual sdcard for a wipe, so whichever ROM update.zip files you had on the virtual sdcard would survive a wipe in twrp, so there would be no reason to copy them back over.
I guess maybe your question had nothing to do with wipe, and you were really asking how to transfer a custom ROM install file to the tablet so twrp can install it. You can do that using adb or mtp or just download the file using the browser on the tablet.
In advanced wipe there is a box for internal storage... and TWRP supports OTG so you can connect a flash drive formated to FAT32 that contains the Zip you wan't to flash and flash it like any other file.
iamezio said:
In advanced wipe there is a box for internal storage... and TWRP supports OTG so you can connect a flash drive formated to FAT32 that contains the Zip you wan't to flash and flash it like any other file.
Click to expand...
Click to collapse
This is what I mean. My virtual SD Card (data/media) is bloated with files I want to get rid of. So I wanted to wipe internal storage to clear all files and reinstall a rom. Using ADB or USB-OTG as iamezio says, I can transfer a rom zip back to the internal storage after wiping it to be able to install a rom. When I first made this post I wasn't sure how to do this.
sfetaz said:
This is what I mean. My virtual SD Card (data/media) is bloated with files I want to get rid of. So I wanted to wipe internal storage to clear all files and reinstall a rom.
Click to expand...
Click to collapse
Well, when you do a wipe from twrp, it is just removing all the files using a delete operation, which you can also do yourself.
The part of your question that seemed pertinent to me is you wanted TWRP to see your ROM file, which is the same question one would have if they asked how do I install a ROM.
sfetaz said:
This is what I mean. My virtual SD Card (data/media) is bloated with files I want to get rid of. So I wanted to wipe internal storage to clear all files and reinstall a rom. Using ADB or USB-OTG as iamezio says, I can transfer a rom zip back to the internal storage after wiping it to be able to install a rom. When I first made this post I wasn't sure how to do this.
Click to expand...
Click to collapse
twrp will wipe you internal storage with that option you saw in advanced settings. i actually did that one day by mistake and had to sideload the files to get back up and running. if that's what you are ready for, then go for it, it'll do it...
Hello! I've only been working with Android for a good year but the only devices I've used have had SD cards so I've only ever backup'd, and flashed via an SD Card.
I understand I must either get an OTG cable or push through ADB to get the files on my device after wiping through TWRP right? I've already unlocked the bootloader, flashed TWRP, and rooted through CF.
Is there anywhere I can move the ROM files too in the phone's internal storage that'll stay there after wiping my System, Data and Cache through TWRP so I can select them to flash right afterwards?
Thanks for helping me, I understand it's a noob question!)
Br4nd3n said:
Hello! I've only been working with Android for a good year but the only devices I've used have had SD cards so I've only ever backup'd, and flashed via an SD Card.
I understand I must either get an OTG cable or push through ADB to get the files on my device after wiping through TWRP right? I've already unlocked the bootloader, flashed TWRP, and rooted through CF.
Is there anywhere I can move the ROM files too in the phone's internal storage that'll stay there after wiping my System, Data and Cache through TWRP so I can select them to flash right afterwards?
Thanks for helping me, I understand it's a noob question!)
Click to expand...
Click to collapse
Wiping data will not wipe your data/sdcard, so you can download the files normally (directly on the device using a web browser, or USB MTP, etc).
Yes, custom recovery is specifically setup not to wipe your internal storage.
Sent from my Nexus 7 2013 using Tapatalk
SwoRNLeaDejZ said:
Yes, custom recovery is specifically setup not to wipe your internal storage.
Sent from my Nexus 7 2013 using Tapatalk
Click to expand...
Click to collapse
Awesome. So put the files into my SDCard or any internal folder and it should work?
Sent from my Nexus 7 using XDA Premium 4 mobile app
Br4nd3n said:
Awesome. So put the files into my SDCard or any internal folder and it should work?
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Anywhere on your SD card is safe.
arkolbus said:
Anywhere on your SD card is safe.
Click to expand...
Click to collapse
SD card? Nexus 7?
douger1957 said:
SD card? Nexus 7?
Click to expand...
Click to collapse
The internal "sdcard" directory
arkolbus said:
The internal "sdcard" directory
Click to expand...
Click to collapse
Ah.
CM's File Manager calls it "internal storage" as does Android. ES File Explorer calls it "SD card." You say "tomato" and I say "tamato..."
At any rate, a factory reset will indeed wipe the internal storage/sd card. The ROM the OP is trying to flash will no longer be there. Ask me how I know this.
For what it's worth, here's how I do it.
1) Back up that which I can't reload. Pictures automatically upload to Dropbox for me. Music I can always resync. Your mileage may vary.
2) Factory reset. If I'm feeling lazy or the ROM developer says it's OK, I'll wipe just the cache and dalvik, then flash away. Feeling lazy usually means more work in the end, so I try to avoid that option.
3) Reboot. Once the setup wizard runs... I do not sign on to Google so that it won't try to restore my apps and settings... I mount the internal storage and transfer the ROM zip to the device. I do not download anything directly to my device, but rather my desktop. First off, I trust the internet connection more, second, I can run the thing past my antivirus before I load it on my device. I then transfer it to the root directory of the device.
4) Boot into recovery and wipe the cache, dalvik and system. I then flash the ROM. If there are other files that need to be flashed before the first boot, I do so one at a time. When I'm done, I'll wipe the cache and dalvik one more time, then boot into the system and run the wizard.
When I first got into Android with the Droid Incredible, I was a flashaholic. It'd be nothing to flash three or four times a week. I quickly learned what worked and what didn't. Knocking on wood, I've never come close to bricking a device and usually don't invite trouble by sticking religiously to my routine. That's not to say that I never got a tightening feeling in my nether regions when a device seemed to hang on the splash screen a bit too long.
ROM development is far more sophisticated now than in those days. With both the Rezound and now the S4, I've pretty much hung with one developer and his product and don't flash nearly as much, especially since the ROMs of today are far more stable. But the basic procedure remains the same. The above procedure is modified from my phones past and present, since the Nexus is the first device I've owned that did not have an external SD card, which isn't wiped on a factory reset. I also don't do a nandroid backup with the Nexus, since it's a fairly simple matter to reload a factory image using Wug's Toolbox. That's how I recovered from doing a factory reset and a system wipe on the Nexus... which also involved some tension in the posterior.
douger1957 said:
Ah.
CM's File Manager calls it "internal storage" as does Android. ES File Explorer calls it "SD card." You say "tomato" and I say "tamato..."
At any rate, a factory reset will indeed wipe the internal storage/sd card. The ROM the OP is trying to flash will no longer be there. Ask me how I know this.
Click to expand...
Click to collapse
douger: the OP was referring to a factory reset/wipe in TWRP, which does *not* wipe the internal storage. I flash frequently on my Nex7 and LG G2, neither have external SD cards, both have TWRP, and I have never lost my data using this method. If you load TWRP and click [Wipe], the exact text is:
Factory Reset
Wipes Data, Cache, and Dalvik
(not including internal storage)
arkolbus said:
douger: the OP was referring to a factory reset/wipe in TWRP, which does *not* wipe the internal storage. I flash frequently on my Nex7 and LG G2, neither have external SD cards, both have TWRP, and I have never lost my data using this method. If you load TWRP and click [Wipe], the exact text is:
Factory Reset
Wipes Data, Cache, and Dalvik
(not including internal storage)
Click to expand...
Click to collapse
It did indeed blow out my internal storage when I first tried it. When I went to flash, there was nothing in internal storage. None of the usually folders, most certainly not the .zip I was looking for, nothing. Enter tension. :cyclops:
Perhaps the next time I'll try again. It'll save a few steps. I'll have Wug's Toolbox open just in case. :highfive:
In edit: I just looked. In TWRP version 2.7.0.0, I must have hit the "format data" button and didn't catch it. You sir are exactly correct.
douger1957 said:
It did indeed blow out my internal storage when I first tried it. When I went to flash, there was nothing in internal storage. None of the usually folders, most certainly not the .zip I was looking for, nothing. Enter tension. :cyclops:
Perhaps the next time I'll try again. It'll save a few steps. I'll have Wug's Toolbox open just in case. :highfive:
Click to expand...
Click to collapse
TWRP wipe blew out your internal storage, or was it some other process? Your link pointed to a T-mo "master reset", which I'm sure isn't referring to a custom recovery. Unlocking the bootloader on my G2 completely trashed my internal storage, but I was expecting this. IIRC, Nexus devices have been more unlock-friendly, but loading a factory image will wipe everything, including internal sd.
Helpful hint for everyone (esp. the paranoid): get a cheap USB OTG to USB-A (female) adapter, and have a flash drive handy. Newer versions of TWRP can mount USB OTG, so it's a nice plan B if you can't get past recovery. They're cheap (<$5), small, and come in handy pretty often.
Yeah the N7 official TWRP definitely does not wipe internal storage. It says right in TWRP "wiping data without wiping /media" which means without wiping internal storage.
If your TWRP is wiping the internal you should make sure it isn't a modified version and TeamWin official.
Sent from my Nexus 7 using Tapatalk
To clarify, wipe data/factory reset wipes your internal storage (/data) but misses /data/media which is your 'sdcard', call it what you like
Assuming a custom recovery, I cannot speak for stock
Sent from my Nexus 7 2013 using Tapatalk
matt4321 said:
To clarify, wipe data/factory reset wipes your internal storage (/data) but misses /data/media which is your 'sdcard', call it what you like
Assuming a custom recovery, I cannot speak for stock
Sent from my Nexus 7 2013 using Tapatalk
Click to expand...
Click to collapse
Yes but your sdcard is to most and many your internal storage... What is factory reset wiping if it avoids everything you have on your sdcard, including files copied to the root of your internal storage?
Sent from my Nexus 7 using Tapatalk
I followed This Guide to get temp root on my Verizon M8 in order to get s-off with sunshine. The SuperSU apk the guide requires is hosted on an iffy looking file hosting site. I'm worried that it could've been infected with malware, which would've gotten root access.
After getting s-off, I followed the guide to install the DigitalHigh GPE ROM HERE. First I had to flash the 5.1 GPE firmware, and then the ROM itself. Would doing both of these things remove any infections, if that apk was infected? If not, what should I do? If it had root access, it could have installed as a system app. I'm assuming that flashing either the 5.1 firmware or the ROM would've overwritten system apps, but I'd like to be sure.
If I wipe internal storage, will I still have s-off and be able to flash the firmware through adb or sideload a ROM?
TheLeshii said:
I'm assuming that flashing either the 5.1 firmware or the ROM would've overwritten system apps, but I'd like to be sure.
Click to expand...
Click to collapse
Firmware doesn't touch system partition; but a ROM flash wipes it and flashes the new ROM to the system partition.
TheLeshii said:
First I had to flash the 5.1 GPE firmware, and then the ROM itself. Would doing both of these things remove any infections, if that apk was infected?
Click to expand...
Click to collapse
I can't claim to have the technical knowledge to really say. But I suppose theoretically its possible some malicious code can reside on other partitions. But it probably unlikely for an infection to be that sophisticated, when there is lower hanging fruit to be had. I'd guess that you are correct, that most malware is installed in system partition or as an app in user data.
TheLeshii said:
If I wipe internal storage, will I still have s-off and be able to flash the firmware through adb or sideload a ROM?
Click to expand...
Click to collapse
Yes, yes, and yes.
The only thing that can make the phone s-on again, is you manually making it so.
So if I do wipe internal storage, would I be able to do everything without a microSD, being that I can't enable USB debugging with no OS? If so, would it be as simple as rebooting to fastboot, then RUU mode, flashing a firmware zip, and then maybe pushing the ROM?
Sent from my HTC One_M8 using XDA Free mobile app
TheLeshii said:
So if I do wipe internal storage, would I be able to do everything without a microSD, being that I can't enable USB debugging with no OS? If so, would it be as simple as rebooting to fastboot, then RUU mode, flashing a firmware zip, and then maybe pushing the ROM?
Click to expand...
Click to collapse
I'm not sure I follow. Wiping internal storage doesn't affect the ROM. Or are you thinking of wiping everything (internal storage, system, etc.) again.
Wouldn't wiping internal storage take out everything, including the ROM? I'd just like to my sure my phone is clean of malware.
Sent from my HTC One_M8 using XDA Free mobile app
TheLeshii said:
Wouldn't wiping internal storage take out everything, including the ROM? I'd just like to my sure my phone is clean of malware.
Click to expand...
Click to collapse
"Internal storage" specifically just means the user-accessible storage partition (also called the "virtual SD" by some), which is /data/media. That one partition, that's it. No other partitions are touched, including system (ROM) partition, as I already mentioned.
Now, there are options to wipe other partitions, such as in the Advanced Wipe options in TWRP. If you select the system partition, than that will wipe the ROM. But again, its a completely different option and partition than internal storage.
If I wipe the OS completely, would I still be able to access the device with adb? Or would wiping /system definitely get rid of all possible malware?
TheLeshii said:
If I wipe the OS completely, would I still be able to access the device with adb?
Click to expand...
Click to collapse
You should be able to use adb while booted into TWRP. Fastboot commands will work without OS (boot into bootloader-fastboot mode).
TheLeshii said:
Or would wiping /system definitely get rid of all possible malware?
Click to expand...
Click to collapse
"Definite" is a tough term. In the grand scheme, in theory you can have malware on your phone and computer from any number of sources. But its a matter of probability. I'd say if you've already replaced your ROM, wiped user data, and you wipe internal storage; the probability of malware is rather low.
redpoint73 said:
"Internal storage" specifically just means the user-accessible storage partition (also called the "virtual SD" by some), which is /data/media. That one partition, that's it. No other partitions are touched, including system (ROM) partition, as I already mentioned.
Now, there are options to wipe other partitions, such as in the Advanced Wipe options in TWRP. If you select the system partition, than that will wipe the ROM. But again, its a completely different option and partition than internal storage.
Click to expand...
Click to collapse
Sorry to ask again, seems I have to do it because my internal storage is almost full because of unnecessary "things".
So if I wipe the internal storage from TWRP, it will not affect the ROM, etc? So I don't need to flash any ROM again after wiping the internal storage?
Thank you, sir!
pryg said:
Sorry to ask again, seems I have to do it because my internal storage is almost full because of unnecessary "things".
So if I wipe the internal storage from TWRP, it will not affect the ROM, etc? So I don't need to flash any ROM again after wiping the internal storage?
Click to expand...
Click to collapse
ROM is on the "system" partition, which is completely separate from internal storage. You will only wipe the ROM if you specifically choose to wipe the system partition in Advanced wipe options.
You will however, lose all personal data on internal storage if you wipe it, including TWRP backups. So its advised you copy TWRP backups to your computer or removable SD before wiping. You should always have a known good TWRP backup available, in my opinion.
ROM zips also take up a lot of space. If you've been doing a lot of ROM flashing you might clear up your storage problem simply by moving unneeded TWRP backups and ROMs to your computer.
redpoint73 said:
ROM is on the "system" partition, which is completely separate from internal storage. You will only wipe the ROM if you specifically choose to wipe the system partition in Advanced wipe options.
You will however, lose all personal data on internal storage if you wipe it, including TWRP backups. So its advised you copy TWRP backups to your computer or removable SD before wiping. You should always have a known good TWRP backup available, in my opinion.
ROM zips also take up a lot of space. If you've been doing a lot of ROM flashing you might clear up your storage problem simply by moving unneeded TWRP backups and ROMs to your computer.
Click to expand...
Click to collapse
Thank you, sir. Where can I find the TWRP backups?
pryg said:
Thank you, sir. Where can I find the TWRP backups?
Click to expand...
Click to collapse
TWRP>Backups>Serial number