Factory Reset of 1+1 on Cosmic OS ROM - Internal Storage not Accessible - ONE Q&A, Help & Troubleshooting

Hi All,
I got my OPO installed with Cosmic OS through a friend few months back, and my Phone started giving out troubles off late. I never had the experience of flashing phones. To start my device fresh, I did a complete factory reset without knowing the dos/donts of a custom ROM (Deleted all the data without backup), and it screwed up my device.
After Factory Reset:
Most of the apps don't work
Not able to access the internal storage. Could see the internal storage through Settings > Storage, but not able to access through files explorer application.
Device getting detected in my comp. while connecting through USB, but its empty. Not able to transfer data either.
Is there a method I can recover my storage and reinstall a ROM?
Thanks, Vivek

vivekadithya said:
Hi All,
I got my OPO installed with Cosmic OS through a friend few months back, and my Phone started giving out troubles off late. I never had the experience of flashing phones. To start my device fresh, I did a complete factory reset without knowing the dos/donts of a custom ROM (Deleted all the data without backup), and it screwed up my device.
After Factory Reset:
Most of the apps don't work
Not able to access the internal storage. Could see the internal storage through Settings > Storage, but not able to access through files explorer application.
Device getting detected in my comp. while connecting through USB, but its empty. Not able to transfer data either.
Is there a method I can recover my storage and reinstall a ROM?
Thanks, Vivek
Click to expand...
Click to collapse
I think you might have unintentionally formatted your internal storage.Do this: Power off your device>Press Power off+vol down buttons simultaneously until you see 1+ logo,you'll be greeted with twrp splash screen after that>Select Install,and see if your files,that were in internal storage before,are still there or not(see attached screenshot).If they aren't there,I'm sorry,but there's no possibility of getting your files back now.
Now,to flash a new ROM,see rom threads and there should be instructions in first post of that thread on how to flash.After done,blame your frand for all of this.

Mr.Ak said:
I think you might have unintentionally formatted your internal storage.Do this: Power off your device>Press Power off+vol down buttons simultaneously until you see 1+ logo,you'll be greeted with twrp splash screen after that>Select Install,and see if your files,that were in internal storage before,are still there or not(see attached screenshot).If they aren't there,I'm sorry,but there's no possibility of getting your files back now.
Now,to flash a new ROM,see rom threads and there should be instructions in first post of that thread on how to flash.After done,blame your frand for all of this.
Click to expand...
Click to collapse
Hey Mr. AK, thanks for sharing these steps. But unfortunately I dont see TWRP splash screen opening in Reboot. However, it opens in CyanogenMod Recovery mode. While doing my full factory reset of my device earlier, I remember deleting TWRP and GAPPS from the device(Unknowingly).
I now installed TWRP app through app store, the following are some things I saw after installation
When I select TWRP Flash from the home screen, it opens a the next screen with a pop up notification at the bottom saying 'Device Not Rooted'
When I select Reboot option through the options pane on the left, and then select REBOOT Recovery, it doesn't reboot.
I'm not able to downoad the TWRP image for my device as well.
Is there anything that I could do from this state?

vivekadithya said:
Hey Mr. AK, thanks for sharing these steps.
Is there anything that I could do from this state?
Click to expand...
Click to collapse
https://forum.xda-developers.com/oneplus-one/help/flashed-twrp-recovery-cyanogen-recovery-t3696525

Related

Need help!!! :(

Was doing to do a fresh installation of Omni on my Nexus 5 and i accidently done a factory reset however also wiped the internal storage so the rom is now lost.
As i cannot boot the phone, i can only get into the bootloader and recovery screen, how can i manually upload files to my phones storage?
Hope you guys can help me asap.
Thanks,
Ed
edwardtobia said:
Was doing to do a fresh installation of Omni on my Nexus 5 and i accidently done a factory reset however also wiped the internal storage so the rom is now lost.
As i cannot boot the phone, i can only get into the bootloader and recovery screen, how can i manually upload files to my phones storage?
Hope you guys can help me asap.
Thanks,
Ed
Click to expand...
Click to collapse
You should mount the sd card using recovery and then use your PC to copy the zips you need back to your sd card and then flash them. Some recoveries will automatically mount the sd card as soon as you connect the phone and the PC with the usb cable. In others you may have to go into the mounts (or Mounts and Storage) menu and select mount USB storage or sd card.
edwardtobia said:
Was doing to do a fresh installation of Omni on my Nexus 5 and i accidently done a factory reset however also wiped the internal storage so the rom is now lost.
As i cannot boot the phone, i can only get into the bootloader and recovery screen, how can i manually upload files to my phones storage?
Hope you guys can help me asap.
Thanks,
Ed
Click to expand...
Click to collapse
Try to push rom file through adb side load..
I happened to me once..
Try this..
http://forum.xda-developers.com/showthread.php?t=2575150
Plug her into computer
Make sure drivers are working for adb by mounting storage than running the command "adb devices" assuming you have set up your sdk. if your device shows up. Run this
"adb push ROM.zip*/data/media" in the prompt.
If your device is not recognized.
Update drivers manually using the device manager on your computer. You will need to install the drivers. That's easy. Just look up how to. That should fix it with minimal confusion
Sent from my Nexus 5

My sm g935f is stuck booting in twrp

I used Flashify to isntall twrp like i did dozen of times before but this time something went wrong, and my phone only boots in twrp. I do not want to flash the a stock rom because I need my music and my photos on my phone!
Cobacar said:
I used Flashify to isntall twrp like i did dozen of times before but this time something went wrong, and my phone only boots in twrp. I do not want to flash the a stock rom because I need my music and my photos on my phone!
Click to expand...
Click to collapse
1)if you've made a backup that can be restored in twrp ,do it.
2)download a Custom ROM and flash It through twrp .only data ,cache and dalvik need to be cleared .you won't lose stuffs in internal storage including photos ,music.
3) if you cant find any custom roms then connect your phone to pc then,in twrp ->mount ->enable mtp.now you can access your storage, backup your files on PC ,then flash stock ROM and later restore .
Hope this helped.
[email protected] said:
1)if you've made a backup that can be restored in twrp ,do it.
2)download a Custom ROM and flash It through twrp .only data ,cache and dalvik need to be cleared .you won't lose stuffs in internal storage including photos ,music.
3) if you cant find any custom then connect your phone to pc then,in twrp ->mount ->enable mtp.now you can access your storage, backup your files on PC ,then flash stock ROM and later restore .
Hope this helped.
Click to expand...
Click to collapse
I didn't format data like i should have for twrp to work properly, it says i have 0 mb of storage and i can't make backups. When I access my phones storage (,in twrp ->mount ->enable mtp) it says i have 0 files on my phone.
Thanks for your reply!
[email protected] said:
1)if you've made a backup that can be restored in twrp ,do it.
2)download a Custom ROM and flash It through twrp .only data ,cache and dalvik need to be cleared .you won't lose stuffs in internal storage including photos ,music.
3) if you cant find any custom roms then connect your phone to pc then,in twrp ->mount ->enable mtp.now you can access your storage, backup your files on PC ,then flash stock ROM and later restore .
Hope this helped.
Click to expand...
Click to collapse
https://www.google.com/url?q=http:/...ds-cse&usg=AFQjCNGf-ywVNCeQi-6AY9ZtmxF2p9Ph3A
By flashing that rom with odin, do I loose everything?
Cobacar said:
https://www.google.com/url?q=http:/...ds-cse&usg=AFQjCNGf-ywVNCeQi-6AY9ZtmxF2p9Ph3A
By flashing that rom with odin, do I loose everything?
Click to expand...
Click to collapse
Download that and a gapps for android 6 and also a supersu.zip. enable mtp like earlier and put them on your phone storage .now do a normal wipe in twrp wiping only data ,cache and dalvik(which is a normal factory reset)
And then install the ROM followed by gapps and supersu.
If you didnt wiped your internal storage you won't lose your files.
After booting up in file manager delete the folder called "0"(make sure none of your files that are personal are in there first) and your phone storage should be normal.
[email protected] said:
Download that and a gapps for android 6 and also a supersu.zip. enable mtp like earlier and put them on your phone storage .now do a normal wipe in twrp wiping only data ,cache and dalvik(which is a normal factory reset)
And then install the ROM followed by gapps and supersu.
If you didnt wiped your internal storage you won't lose your files.
After booting up in file manager delete the folder called "0"(make sure none of your files that are personal are in there first) and your phone storage should be normal.
Click to expand...
Click to collapse
I shall do that, and in the process ill be praying to god it works!
Thanks a lot and ill be informing you of the result! I love you
[email protected] said:
Download that and a gapps for android 6 and also a supersu.zip. enable mtp like earlier and put them on your phone storage .now do a normal wipe in twrp wiping only data ,cache and dalvik(which is a normal factory reset)
And then install the ROM followed by gapps and supersu.
If you didnt wiped your internal storage you won't lose your files.
After booting up in file manager delete the folder called "0"(make sure none of your files that are personal are in there first) and your phone storage should be normal.
Click to expand...
Click to collapse
When i try to put files to my phone from pc it says"the device has either stopped responding or has been disconnected"
Factory reset doesn't work, it fails every time with a lot of red messages saying "failed to mount '/data' (invalid argument)" and "unable to mount storage"
Cobacar said:
When i try to put files to my phone from pc it says"the device has either stopped responding or has been disconnected"
Factory reset doesn't work, it fails every time with a lot of red messages saying "failed to mount '/data' (invalid argument)" and "unable to mount storage"
Click to expand...
Click to collapse
Looks like flashing that twrp messed up your default storage.
Just so you know you're the 8th person I ran into who had trouble with flashify. Looks like the only way is flashing stock ROM .but don't do it yet we'll look together for a less destructive option.
Can you try to flashing through Odin to see if it works.
[email protected] said:
Looks like flashing that twrp messed up your default storage.
Just so you know you're the 8th person I ran into who had trouble with flashify. Looks like the only way is flashing stock ROM .but don't do it yet we'll look together for a less destructive option.
Click to expand...
Click to collapse
There is nothing for me to do except to cry and be mad hahahahahah :crying: :crying: :laugh:
Do you think there is a solution or should i just accept the fate?
I would just bite the bullet, enter download mode and Odin the stock firmware. Get it over with and start fresh.
Sent from my Nexus 6 using XDA-Developers mobile app
Cobacar said:
There is nothing for me to do except to cry and be mad hahahahahah :crying: :crying: :laugh:
Do you think there is a solution or should i just accept the fate?
Click to expand...
Click to collapse
You can either flash your stock ROM and be done with it or try and wait for a solution but since your device won't boot and you can't even copy your ROM files to phone I don't think there is much you can do(I did try some searching). Normally when this happens there a new folder called "0" (that behaves as a storage)from where you can transfer your rom file to flash but you say you can't do that here. And since after flashing twrp your phone didn't boot your system and directly booted recovery one would think your whole memory partition including system and internal storage got effed up.
So what you're trying to save may already be gone.you should be mad at your self for putting your trust in an app that has resulted in bricks for many users and flash the stock ROM IMO.
Sorry.
You should always make a backup when doing something that has anything to do with root /customization etc..
fast69mopar said:
I would just bite the bullet, enter download mode and Odin the stock firmware. Get it over with and start fresh.
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
It's pretty hard form me to do because i would lose 2000 songs and over 6 thousand images. And i can't afford to lose them
Cobacar said:
It's pretty hard form me to do because i would lose 2000 songs and over 6 thousand images. And i can't afford to lose them
Click to expand...
Click to collapse
Are you sure you don't have your music and images backed up somewhere in the cloud or to your PC? Maybe backed up with Samsung Kies?
Sent from my Nexus 6 using XDA-Developers mobile app
---------- Post added at 09:04 PM ---------- Previous post was at 09:00 PM ----------
Are you 100% familiar with what you can attempt to do with TWRP and your device connected to your PC? When you select "MOUNT" in TWRP what boxes are checked?
Sent from my Nexus 6 using XDA-Developers mobile app
fast69mopar said:
Are you sure you don't have your music and images backed up somewhere in the cloud or to your PC? Maybe backed up with Samsung Kies?
Sent from my Nexus 6 using XDA- mobile app
---------- Post added at 09:04 PM ---------- Previous post was at 09:00 PM ----------
Are you 100% familiar with what you can attempt to do with TWRP and your device connected to your PC? When you select "MOUNT" in TWRP what boxes are checked?
Sent from my Nexus 6 using XDA- mobile app
Click to expand...
Click to collapse
Yeah, I have only small bits backed up.
The problem i have with twrp is that it needs to format my device for it to work, the same as the last time i did it. I used my other phone as a security measure but my brother managed to format that one 20 minutes before I screwed this one up, and he did that without my knowledge. So the situation is pretty bad here
Thanks
When you have TWRP open on your device and you are connected to your PC, does your PC recognize the device? If so, what does the device manager say it recognizes the device as? Also, do you have a USB-OTG? If so, you can try to mount OTG in TWRP, select OTG as your storage and perform a backup to your USB-OTG. If it works it.can save your butt.
Sent from my Nexus 6 using XDA-Developers mobile app
fast69mopar said:
When you have TWRP open on your device and you are connected to your PC, does your PC recognize the device? If so, what does the device manager say it recognizes the device as? Also, do you have a USB-OTG? If so, you can try to mount OTG in TWRP, select OTG as your storage and perform a backup to your USB-OTG. If it works it.can save your butt.
Sent from my Nexus 6 using XDA- mobile app
Click to expand...
Click to collapse
It recognizes it as portable device, samsung galaxy s7 edge, as it should i think. I can't find a storage device right now to connect it to my phone
See if you can round up a USB-OTG device. That may be the obly thing that saves you for any type of backup. Hope it works
Sent from my Nexus 6 using XDA-Developers mobile app

[Help Needed] Data (Photos, Videos, Documents) Recovery after soft bricking?

Hello everyone,
I need your help. Sorry for the long post.
I have a OnePlus One. It was running on CM 13.0 (Android 6.0.1). I had TWRP and MultiROM installed.
I have had an issue where whenever I flash a zip file in TWRP, the phone will show an error after installing the zip: "Unable to mount storage". This appeared in red color on the screen right after showing the progress of the zip installation. The phone worked fine and all the flashed zips worked great as well. However, the error that appeared every single time when I flash a zip file bothered me. So I tried to fix it. (I know, if it's not broken don't fix it, but sadly I tired).
I followed this video to get rid of the error => (https://www.youtube.com/watch?v=X7yDPszoQ5s). However, instead of getting rid of the error, I ended up with a huge problem. My phone couldn't recognize the data in the internal storage. It showed that the internal storage was empty. When I tired to reboot in TWRP, It said: "No OS installed are you sure you wish to reboot". I realized that the video I followed was for a different problem and that I ended up with the same issue the video was trying to fix! I tried every single option the video suggested to fix the problem and nothing helped.
I connected my phone to my laptop and downloaded the latest CyanogenMod zip for my phone and I flashed it. when I rebooted my phone I got a screen that asked for my password. I typed a random password (I discovered later that the phone will accept any password and say it's correct). I got the following error: "Decryption Unsuccessful... The password you entered is correct, but unfortunately your data is corrupt... To resume using your phone, you need to perform a factory reset. When you set up your phone after the reset, you'll have an opportunity to restore any data that was backed up to your google account...Then the only thing I can select is "reset phone." ". I pressed the reset button on the screen, the phone rebooted and showed the same error. Then I tired flashing PAC ROM and I got the same error again. Then I flashed OmniROM and the phone worked! It didn't show the error.
I have a Titanium backup for all my apps and I also have a nandroid backup for my previous ROM (in my memory stick using an OTG cable). However, I don't have any backups for my internal storage (photos, videos, documents... etc). I am guessing that these files are still in my internal storage. I didn't copy any new files to my phone because I think if I do, then the phone will keep replacing my old files (that I can't see) with the new ones.
My question is: Is there a way to get back these old photos and videos from the internal storage? Note that I didn't delete these files, but the phone can't read them. Also, I checked the nandroid backup that I have and the file system type of the previous ROM was EXT4. My current file system type is the same, EXT4.
Thank you for the help!

[SOLVED] TWRP can't mount internal storage - the problem is coming back...

I wanted to update my rooted Android Nougat to Oreo and also go from SuperSU to Magisk. During that process I discovered that TWRP recovery couldn't mount my internal storage.
I quickly saw on a lot of sites that it's a well-known issue, and I solved it by converting from ext4 to ext2 and back again. Now my phone is running perfect. All apps are installed, data and settings are restored with Titanium and root with Magisk is working fine. But then I remembered about the issue with TWRP and booted into recovery - just to discover the problem is back again. I can't mount my internal storage. So I can't flash zip files, I can't do a backup etc.
When I search xda or the web in general, I can't figure out why the problem has occured again. Also I can't find out how to fix it without losing all my data. Can anybody answer these two questions? Why is this happening again and how do I permanently fix it? And can it be with all my data on my phone - because I'm not able to do a backup.
Michael B.N. said:
I wanted to update my rooted Android Nougat to Oreo and also go from SuperSU to Magisk. During that process I discovered that TWRP recovery couldn't mount my internal storage.
I quickly saw on a lot of sites that it's a well-known issue, and I solved it by converting from ext4 to ext2 and back again. Now my phone is running perfect. All apps are installed, data and settings are restored with Titanium and root with Magisk is working fine. But then I remembered about the issue with TWRP and booted into recovery - just to discover the problem is back again. I can't mount my internal storage. So I can't flash zip files, I can't do a backup etc.
When I search xda or the web in general, I can't figure out why the problem has occured again. Also I can't find out how to fix it without losing all my data. Can anybody answer these two questions? Why is this happening again and how do I permanently fix it? And can it be with all my data on my phone - because I'm not able to do a backup.
Click to expand...
Click to collapse
The problem occurs when you use a ROM which encrypts the software or the ROM your flashing has an encrypted kernal. The only way out is to flash a ROM which doesn't encrypt. It is a known problem with TWRP and we have to wait for the TWRP team to update TWRP to handle quota allocation.
It seems the problem is solved for me. I flashed the TWRP version from this link: https://forum.xda-developers.com/showpost.php?p=77296102&postcount=1243
First I tried from Odin but it didn't work. Then I installed the TWRP app from Google Play and flashed the other file, rebooted to recovery, and it seems to work. I can mount my internal storage, make a backup etc. So this is the solution for me.
I had also similar problem of internal storage 0mb and i was not be able to mount my data
so when i flash color recovery by nobody
It's gone because it's allready patch by him
I think it's issue of encrypt data so just flash this recovery from nobody post
https://forum.xda-developers.com/galaxy-s7/themes/recovery-twrps-colored-t3859323
Hey guys
wondering if somebody can assist me with my issue. I can mount the internal storage via twrp, and can copy files etc over to the internal storage on my pc. But when i go into file manager nothing appears. even though i indicate that it show me the internal storage. any ideas?
isgakbrfc said:
Hey guys
wondering if somebody can assist me with my issue. I can mount the internal storage via twrp, and can copy files etc over to the internal storage on my pc. But when i go into file manager nothing appears. even though i indicate that it show me the internal storage. any ideas?
Click to expand...
Click to collapse
i think you must try with different file mngr, that one have no ability or permission to read system files
noniboyba said:
i think you must try with different file mngr, that one have no ability or permission to read system files
Click to expand...
Click to collapse
I'll re flash later and try a different file manager. Otherwise I'll install treble or re flash stock and start over
isgakbrfc said:
Hey guys
wondering if somebody can assist me with my issue. I can mount the internal storage via twrp, and can copy files etc over to the internal storage on my pc. But when i go into file manager nothing appears. even though i indicate that it show me the internal storage. any ideas?
Click to expand...
Click to collapse
same problem, have you found solution ? please help me
TWRP sometimes can't mount the storage, the storage is encrypted, but don't worry. You can still flash your files and rewrite system partion. But in order to show the Storage, you have to use a different version of TWRP. Why am I saying this is mentioned following:
I installed the latest version of twrp, It didn't ask for any password patter to decrypt my storage. So , different XDA posts made me understand that , formatting everything, factory reset will decrypt my storage. And trust me, I have done it several time, several times my brother but it didn't decrypt my storage. I couldn't backup my ROM and without backing up my ROM, I didn't take the risk of flashing new ROM. I waited. This twrp couldn't even mount my system partion. So I seeked knowledge from different person. It took a lot of effort.
Then I learned that, I should change this version of TWRP. I changed to an older version and it didn't decrypt my internal storage after formatting, but it mounted my system partion. Since, it couldn't decrypt my internal storage, I couldn't take backup of my rom and save it to internal storage. so I inserted a pendrive in my phone, and saved the backup of my rom there.
Permanent Solution​
Flashing DM Verity Force Encryption Disabler will decrypt your storage instantly. But in my case, it aroused another problem, None of the security measures of my phone worked afterwards. FOD, pin, password, pattern none of them worked. I don't know the reason but I don't suggest it with my little knowledge. but almost every rom flasher use them, so I thing I have to study about them to know how they work.​
second and best option: start trying older version of TWRP, the good one will be the one to ask the password the recovery in the beginning. It will decrypt your internal storage.​
I was brief here, if anyone doesn't understand these things, let me know, I will explain them step by step because I know the pain of being NEWB.

Stuck on "Phone is Starting"

My phone running on RRos 8.6.0 and I forgot the Pattern so from twrp I deleted the
"locksetting.db"
(My device didn't have any files named as the key for to deleted)
and from users I deleted
"setting_fingerprint.xml"
"setting_face.xml"
and booted to system
and now my it is stuck on "phone is starting"
Touch is working fine and I am able to access notification panel and turn on and off the tiles and go into settings.
I even added a new Pattern so that the deleted file gets created but then when I went to add fingerprint the sensor is not working as in its not reading.
also in apps(from settings) there is no option for "open". There's only clear cache and clear storage.
also I tried wiping dalvik art cache.
also device wont show on pc for transferring data while in twrp or even when phone is booted and I choose File transfer from notification.
What shall I do ?
Thankyou
Happened to me the same way, then I install stock rom and everything works fine.
Hi,
Same problems and same exact cause. Installing stock rom did not solve it.
Any other ideas?
Thanks!
Indru said:
Hi,
Same problems and same exact cause. Installing stock rom did not solve it.
Any other ideas?
Thanks!
Click to expand...
Click to collapse
Did you find any solutions?
The only solution was to format Data partition (including storage) and lose everything in the process, sadly.
If I remember correctly I was able to copy stuff from data partition to external USB via Recovery mode. But this was long ago, don't remember all the details... Just that I had to delete the data partition.

Categories

Resources