SD Card empty in TWRP - OnePlus 5 Questions & Answers

Hi, i've tried to install lineageos 15.1, it work great but now in TWRP the folder SD Card is empty, i dont know what to do.
Any suggestions ?

ImEraaz said:
Hi, i've tried to install lineageos 15.1, it work great but now in TWRP the folder SD Card is empty, i dont know what to do.
Any suggestions ?
Click to expand...
Click to collapse
Sounds like your internal storage is encrypted and you see cryptic named folders that are empty. You can check the "decrypt data"

strongst said:
Sounds like your internal storage is encrypted and you see cryptic named folders that are empty. You can check the "decrypt data"
Click to expand...
Click to collapse
Actualy i'm facing an other problem, I restore everything to stock, i unlock bootloader, flash twrp, i boot on twrp, just after without booting on the system. And immediately on the first boot i come back to the stock recovery.
It never happen before ..
On my first boot in twrp when i select storage, 'internal storage' is at 0Mb and in the log i got
Could not mount /data and unable to find crypto footer
Failed to mount /data (invalid argument)
Unable to mount storage ...

ImEraaz said:
Actualy i'm facing an other problem, I restore everything to stock, i unlock bootloader, flash twrp, i boot on twrp, just after without booting on the system. And immediately on the first boot i come back to the stock recovery.
It never happen before ..
On my first boot in twrp when i select storage, 'internal storage' is at 0Mb and in the log i got
Could not mount /data and unable to find crypto footer
Failed to mount /data (invalid argument)
Unable to mount storage ...
Click to expand...
Click to collapse
After flashing twrp you need to flash magisk or a custom kernel so the twrp won't be restored to stock recovery. Seems like you missed some steps on the instructions to root your device.

strongst said:
After flashing twrp you need to flash magisk or a custom kernel so the twrp won't be restored to stock recovery. Seems like you missed some steps on the instructions to root your device.
Click to expand...
Click to collapse
I feel so stupid, it was just the TWRP ...
The last on TWRP.me is not compatible, i took the last blu_spark and it work well

ImEraaz said:
I feel so stupid, it was just the TWRP ...
The last on TWRP.me is not compatible, i took the last blu_spark and it work well
Click to expand...
Click to collapse
Yeah, from the that site it won't work too...

strongst said:
Yeah, from the that site it won't work too...
Click to expand...
Click to collapse
Yes, thanks for the help.
BTW do you know how to install lineageos without being encrypted ?
People told me sideload but i don't know what's the difference

ImEraaz said:
Yes, thanks for the help.
BTW do you know how to install lineageos without being encrypted ?
People told me sideload but i don't know what's the difference
Click to expand...
Click to collapse
Have a look at here for instructions https://forum.xda-developers.com/oneplus-5/development/rom-lineageos-15-1-oreo-oneplus-5-t3727228
You need to format internal storage if it's encrypted.

strongst said:
Have a look at here for instructions https://forum.xda-developers.com/oneplus-5/development/rom-lineageos-15-1-oreo-oneplus-5-t3727228
You need to format internal storage if it's encrypted.
Click to expand...
Click to collapse
Yeah i try everything, i think i will wait for an new twrp that can decrypt it.
For now i will just remove the pin when i want to go into twrp

ImEraaz said:
Yeah i try everything, i think i will wait for an new twrp that can decrypt it.
For now i will just remove the pin when i want to go into twrp
Click to expand...
Click to collapse
You need to format the storage within twrp

strongst said:
You need to format the storage within twrp
Click to expand...
Click to collapse
Already done, nothing change

ImEraaz said:
Already done, nothing change
Click to expand...
Click to collapse
If you format internal storage it's nothing shown for sure, that's the purpose of format. After that you can install lineageos along with gapps from USB otg for example.
For DECRYPT data you should not format unless you backed up all to your pc!

strongst said:
If you format internal storage it's nothing shown for sure, that's the purpose of format. After that you can install lineageos along with gapps from USB otg for example.
For DECRYPT data you should not format unless you backed up all to your pc!
Click to expand...
Click to collapse
Ahah i know that if i format, my internal storage will be empty, i'm not that dumb ^^
But i tryied what you said and doesn't change ...
It's fine i don't go a lot in TWRP, i prefer magisk
Thanks dude

ImEraaz said:
Ahah i know that if i format, my internal storage will be empty, i'm not that dumb ^^
But i tryied what you said and doesn't change ...
It's fine i don't go a lot in TWRP, i prefer magisk
Thanks dude
Click to expand...
Click to collapse
What do you mean by "and doesn't change ..." exactly? Are you not able to install lineageos 15.1? I don't get you what's not working right now.

strongst said:
What do you mean by "and doesn't change ..." exactly? Are you not able to install lineageos 15.1? I don't get you what's not working right now.
Click to expand...
Click to collapse
It's working right now, just if i wan't to go in TWRP i need to disable the pins/password

ImEraaz said:
It's working right now, just if i wan't to go in TWRP i need to disable the pins/password
Click to expand...
Click to collapse
That's cause of encrypted internal storage imo. But why it's not working for you i don't know...

strongst said:
That's cause of encrypted internal storage imo. But why it's not working for you i don't know...
Click to expand...
Click to collapse
Yeap i didn't know too, i followed all the steps.
I started from oos 5.0.4 without any pins or password, i wiped -> factory reset and installed lineageos & GApps ...
At least i can see my sdcard folder right now ^^

Guys, I do the first steps with TWRP, but I see my SD Card empty when I go to install. I don't know what to do.
I have Samsung Galaxy TAB E (SM-T561) and twrp_2.8.7.0_sm-t561
I Don't know what to do... I am stuck.

strongst said:
Sounds like your internal storage is encrypted and you see cryptic named folders that are empty. You can check the "decrypt data"
Click to expand...
Click to collapse
Where is this option? I can't find it...

hermeswol said:
Where is this option? I can't find it...
Click to expand...
Click to collapse
Ok, I found the solution.
Format and change file system of the SD card inside the twrp, after that mount it in PC, restore the files, and it will be ok.

Related

[Q]How do i wipe completely the phone?

Hey since loads of apps are keep crashing on every other rom i want to wipe my phone completely i want to wipe everything the sd,external,and all the other stuff what things i have to wipe in the recovery?also if i do that how i am gonna put the rom file inside the SD if i am gonna wipe completely the phone?
someonewhy said:
Hey since loads of apps are keep crashing on every other rom i want to wipe my phone completely i want to wipe everything the sd,external,and all the other stuff what things i have to wipe in the recovery?also if i do that how i am gonna put the rom file inside the SD if i am gonna wipe completely the phone?
Click to expand...
Click to collapse
Format sd card in custom recovery, after that push a rom to the phone to flash with adb : adb push namerom.zip /sdcard/. Try to push a rom first to see if that works/
gee2012 said:
Format sd card in custom recovery, after that push a rom to the phone to flash with adb : adb push namerom.zip /sdcard/. Try to push a rom first to see if that works/
Click to expand...
Click to collapse
only the sd card?i want to format completely the phone the system either like i said everything..
when i tried to push rom i keep getting failed to write data protocol fault no status
someonewhy said:
when i tried to push rom i keep getting failed to write data protocol fault no status
Click to expand...
Click to collapse
Do you have adb installed? If not look here http://www.redmondpie.com/how-to-set-up-android-adb-and-fastboot-on-windows-tutorial/.
gee2012 said:
Do you have adb installed? If not look here http://www.redmondpie.com/how-to-set-up-android-adb-and-fastboot-on-windows-tutorial/.
Click to expand...
Click to collapse
Yup got it working just to make sure what i am doing
1.Factory reset via recovery
2.Format SD via recovery
3.ADB sideload the rom
4.flash and i am good to go right?i will not have any problems like stuck on boot logo and etc?
someonewhy said:
Yup got it working just to make sure what i am doing
1.Factory reset via recovery
2.Format SD via recovery
3.ADB sideload the rom
4.flash and i am good to go right?i will not have any problems like stuck on boot logo and etc?
Click to expand...
Click to collapse
Correct mate, good luck
gee2012 said:
Correct mate, good luck
Click to expand...
Click to collapse
Sorry for being rude but i was talking about the internal sd card not external...how do i wipe the internal one?
someonewhy said:
Sorry for being rude but i was talking about the internal sd card not external...how do i wipe the internal one?
Click to expand...
Click to collapse
Format external sd card, but why would you? You can just wipe what you dont`t need.
Usualy its enough to data factory reset, wipe both caches and format system before flashing a new rom. You don`t have t wipe the internal and external sd cards.
gee2012 said:
Format external sd card, but why would you? You can just wipe what you dont`t need.
Usualy its enough to data factory reset, wipe both caches and format system before flashing a new rom. You don`t have t wipe the internal and external sd cards.
Click to expand...
Click to collapse
i dont have any external sd card on my phone i use only the internal one but still i just want to know...how do i format the internal?just do the same steps u told me go to cwm and hit n format sd card?
someonewhy said:
i dont have any external sd card on my phone i use only the internal one but still i just want to know...how do i format the internal?just do the same steps u told me go to cwm and hit n format sd card?
Click to expand...
Click to collapse
Format sdcard will do, that will wipe everything. Did you backup the EFS folder and stored it on your pc.
gee2012 said:
Format sdcard will do, that will wipe everything. Did you backup the EFS folder and stored it on your pc.
Click to expand...
Click to collapse
nope how do i backup the efs?
someonewhy said:
nope how do i backup the efs?
Click to expand...
Click to collapse
Look here http://forum.xda-developers.com/showthread.php?t=2447342, its not hard if you read the OP.
gee2012 said:
Look here http://forum.xda-developers.com/showthread.php?t=2447342, its not hard if you read the OP.
Click to expand...
Click to collapse
when i open the bat file i am getting
CHOICE is not recognized as an internal or external command operable program or batch file.
good-bye
press any keys to continue
and yes i enabled USB debugging
someonewhy said:
when i open the bat file i am getting
CHOICE is not recognized as an internal or external command operable program or batch file.
good-bye
press any keys to continue
and yes i enabled USB debugging
Click to expand...
Click to collapse
Are you rooted atm?
gee2012 said:
Are you rooted atm?
Click to expand...
Click to collapse
yup
Do wipe data in cwm
Click THANKS button if u helped
someonewhy said:
yup
Click to expand...
Click to collapse
Just made the EFS backup, pressed EFS-BACKUP.bat and it asked for root rights and the backup was beeing made.
gee2012 said:
Just made the EFS backup, pressed EFS-BACKUP.bat and it asked for root rights and the backup was beeing made.
Click to expand...
Click to collapse
Its not working...i heard you need the choice.exe in ur system32 folder but i dont have it?
someonewhy said:
Its not working...i heard you need the choice.exe in ur system32 folder but i dont have it?
Click to expand...
Click to collapse
I don`t have choice.exe in system32 and it worked for me

TWRP can't mount data

Wanted to make a backup but TWRP says 0MB next to data and when I tried to delete the TWRP (the one where it makes my backups) to make some space it says it couldn't mount data.
Boot to system, reboot to TWRP and try again.
I've tried that, doesn't work.
xAnkris said:
Boot to system, reboot to TWRP and try again.
Click to expand...
Click to collapse
Sent from my Moto G (4) using XDA-Developers mobile app
Have you tried another SD card or did you converted the SD to internal storage?
I thought the data partition was more than just the SD card? I'll try though.
Sent from my Moto G (4) using XDA-Developers mobile app
@Florensie if i am right or not but you haven't mentioned if you tried to Mount /DATA from
Twrp > Mount > tick √ DATA
__Madddy said:
@Florensie if i am right or not but you haven't mentioned if you tried to Mount /DATA from
Twrp > Mount > tick √ DATA
Click to expand...
Click to collapse
If I do that it doesn't get ticked.
Sent from my Moto G (4) using XDA-Developers mobile app
@strongst
Should I try to reflash TWRP with ADB? @_Maddy @strongst @xAnkris
Sent from my Moto G (4) using XDA-Developers mobile app
Florensie said:
Should I try to reflash TWRP with ADB? @_Maddy @[email protected]
Click to expand...
Click to collapse
You can give it a try
Florensie said:
Should I try to reflash TWRP with ADB? @_Maddy @strongst @xAnkris
Sent from my Moto G (4) using XDA-Developers mobile app
Click to expand...
Click to collapse
Which TWRP version are you using currently, Official or Sherp's Modified..?
Download different than you have, and try...
__Madddy said:
Which TWRP version are you using currently, Official or Sherp's Modified..?
Download different than you have, and try...
Click to expand...
Click to collapse
From the website so official. I'll try.
Sent from my Moto G (4) using XDA-Developers mobile app
Florensie said:
From the website so official. I'll try.
Click to expand...
Click to collapse
Use the modified for g4 plus by shrep's http://forum.xda-developers.com/mot...covery-twrp-3-0-2-r3-moto-g4-g4-plus-t3494337
@__Madddy @strongst that didn't work, also everytime I restart the recovery it has reset my settings.
The log says:
Could not mount /data and unable to find cryptofooter.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
(...)
Unable to mount storage
(...)
Unable to mount /data/media/TWRP/.twrps
MTP Enabled
(...)
I can't actually save the log on my sd card because of this.
/data and /sdcard folders are empty in twrp file manager.
EDIT: here is exactly what I did to my device:
- Flashed soaktest when OTA was first captured without unlocking bootloader
- Unlocked bootloader
- Flashed official TWRP
- Made a full backup with TWRP
- Accidentally did systemless root which I did not know only worked on MM
- Restored backup
- Wanted to do another backup before going to CM 14.1 and saw that it showed 0MB next to data
- Flashed schreps' TWRP
I'm still on soaktest ATM. The phone is fully functioning as far as I know except for a few soaktest bugs.
Florensie said:
@[email protected] that didn't work, also everytime I restart the recovery it has reset my settings.
The log says:
Could not mount /data and unable to find cryptofooter.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
(...)
Unable to mount storage
(...)
Unable to mount /data/media/TWRP/.twrps
MTP Enabled
(...)
I can't actually save the log on my sd card because of this.
/data and /sdcard folders are empty in twrp file manager.
Click to expand...
Click to collapse
Did you tried to repair your data partition within twrp, it's under advanced wipe-select the partition and then repair or change for system
strongst said:
Did you tried to repair your data partition within twrp, it's under advanced wipe-select the partition and then repair or change for system
Click to expand...
Click to collapse
Will this wipe my data and also check my edit on my previous comment. And does it matter if I do change file system or repair file system?
Florensie said:
Will this wipe my data and also check my edit on my previous comment.
Click to expand...
Click to collapse
You messed up your partitions imho. Try to change your data partition to fat first then back to ext4 with the mentioned method
I believe your only option would be to format(not wipe) data. Just so you know this erases internal storage as well. Or maybe a modified TWRP will work.
strongst said:
You messed up your partitions imho. Try to change your data partition to fat first then back to ext4 with the mentioned method
Click to expand...
Click to collapse
Thanks, that fixed it. Sorry for being such a noob.
Florensie said:
Thanks, that fixed it. Sorry for being such a noob.
Click to expand...
Click to collapse
No problem, next time be aware of what you want to flash because mixing things can cause unwanted problems as you know for now
I have the same problem on my S8 (G950F) after rooting it, I have installed the twrp.
If I have the system partition to fat then I back to ext4, my data will be erased?
I want to fix it but I don't want loss all my data. :/

How to decrypt Resurrection Remix Nougat

I encrypted my OnePlus 2 running on Unofficial Resurrection Remix Latest build of 23rd July 2017. Ever since then I am not able to decrypt my device, the option in Settings-> Security-> Encryption is not clicking and just showing the status as Encrypted (SS attached).
Can someone guide me on how do I decrypt my device?
EDIT:
Got it decrypted.
Format data from Settings doesn't work. So here's what you can do.
Steps
1 - Backup your entire device (Apps+App Data+Internal Storage)
2 - Go to TWRP->Wipe->Format data->Yes (Type 'yes') & Done.
3 - Now reboot and then copy paste your internal storage.
The only way to decrypt is a full wipe
Lore96jr said:
The only way to decrypt is a full wipe
Click to expand...
Click to collapse
Wiping internal storage also?
Mehul.S said:
Wiping internal storage also?
Click to expand...
Click to collapse
Unfortunately, yes
You can backup anything to your pc, for apps use titanium
Lore96jr said:
Unfortunately, yes
You can backup anything to your pc, for apps use titanium
Click to expand...
Click to collapse
Yeah, I just got it decrypted. Updated the OP too on how-to. Thanks
Mehul.S said:
Yeah, I just got it decrypted. Updated the OP too on how-to. Thanks
Click to expand...
Click to collapse
You're welcome

[G950F] No /data partition in TWRP after flashing oreo update

Hi,
ive just followed the flashable oreo TWRP thread in here to test out Oreo.
My device is S8 G950F
link -> https://forum.xda-developers.com/ga...1-10-flashable-oreo-twrp-dump-beta-2-t3703083
After that TWRP didnt recognized my data partition anymore...:crying::crying:
So i installed latest TWRP in Odin again (had 3.1.1 before 3.2.0.0 after) - didnt helped.
Ive done a full restore with odin after i downloaded the firmware via samfirm, this is the exact firmware number ive used:
G950FOXM1AQJ5_CL12401979_QB15459675_REV00_user_low_ship
Still no success
I also tried flashing supersu (2.82) and dm-verifity (v.6.0).
Any ideas?
Is it just the partition table in twrp that needs to be updated or some stupid thing i forgot?
Regards
create one !!
popmpopm said:
create one !!
Click to expand...
Click to collapse
when you use wipe
choose data and use repair or change file system option
after resize file system and voila !!
popmpopm said:
when you use wipe
choose data and use repair or change file system option
after resize file system and voila !!
Click to expand...
Click to collapse
Yup already figured it out 5 mins after I created this. Shame over me
please help.
i have the same problem.
ive installed clean google edition orea (i had google edition nought 7 before).
everything works except /data/ mount in twrp.
the solution above didnt work, gave me errors.
do i need to format data?!
it will format all my current /data/ or also the internal storage?
thank you.
eliazu said:
please help.
i have the same problem.
ive installed clean google edition orea (i had google edition nought 7 before).
everything works except /data/ mount in twrp.
the solution above didnt work, gave me errors.
do i need to format data?!
it will format all my current /data/ or also the internal storage?
thank you.
Click to expand...
Click to collapse
Ok yeah it'll format whole internal storage.
You need to change the partition type of /data to f2fs and then change it back to ext4. Then two recognize /data again
Thargorsson said:
Ok yeah it'll format whole internal storage.
You need to change the partition type of /data to f2fs and then change it back to ext4. Then two recognize /data again
Click to expand...
Click to collapse
How do i format if twrp can't access /data?
eliazu said:
How do i format if twrp can't access /data?
Click to expand...
Click to collapse
It's not format.
Go to wipe, advanced wipe, repair or change partitions ,select data, select change partition type, select f2fs slide to continue.
Then do the same with data and change back to ext4.
eliazu said:
How do i format if twrp can't access /data?
Click to expand...
Click to collapse
its not magic you have all option in twrp wipe
I have done this and it works but as soon as i reboot and go back to twrp it doesnt recongize /data am i doing something wrong
after so many tests I discovered that twrp can read and write data only if you flash last supersu beta, magisk and supersu official both doesn't work:
https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Does the resize option or file system option wipe internal storage?

Internal storage not working.

So I tried moving to Havoc 2.0, so I flashed the TWRP from @Oki and everything went nice and smooth installed Havoc, got internal problem error, but then when I was in the system I noticed that my internal storage is only 8GB so I checked in TWRP and yes the internal storage has only 400MB free and even TWRP can't do a thing with it the only thing that detects is the TREBLE PARTY.
Any idea how to fix this?
Mousman said:
So I tried moving to Havoc 2.0, so I flashed the TWRP from @Oki and everything went nice and smooth installed Havoc, got internal problem error, but then when I was in the system I noticed that my internal storage is only 8GB so I checked in TWRP and yes the internal storage has only 400MB free and even TWRP can't do a thing with it the only thing that detects is the TREBLE PARTY.
Any idea how to fix this?
Click to expand...
Click to collapse
Format data,reboot twrp.Format all partitions
Predatorhaze said:
Format data,reboot twrp.Format all partitions
Click to expand...
Click to collapse
Thanks, I totally missed the wipe of Internal Storage I wall all the time tapping the repair or change button.
Mousman said:
Thanks, I totally missed the wipe of Internal Storage I wall all the time tapping the repair or change button.
Click to expand...
Click to collapse
make sure the size is default before you flash the rom again
Predatorhaze said:
make sure the size is default before you flash the rom again
Click to expand...
Click to collapse
Checked and the size is OK now but the Internal problem is still there after reboot.
Mousman said:
Checked and the size is OK now but the Internal problem is still there after reboot.
Click to expand...
Click to collapse
Had the exact same problem when trying to install Axon 7. Sorry but I never found a solution so I went back to AEX V6 PIE. I hope you find a solution cuz this seemed to be a problem quite a few people have had especially with the Havoc ROM.

Categories

Resources