TWRP Internal Memory 0MB - Samsung S7 Oreo 8.0 ( SM-G930FD) - Samsung Galaxy S7 Questions and Answers

Hi All,
I am trying to root Samsung S7 Oreo 8.0 with TWRP & Magisk. But, when ever I log into TWRP it's saying "Inernal Memory 0MB)
I've followed below steps :
Installed TWRP and no-verity-opt-encrypt zip, it worked until I reboot to system
After reboot again the internal memory showing as 0MB (may be re-encrypted)
Is there any way that I can remove the encryption permanently?
Error :
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Updating partition details...
Failed to mount '/data' (Invalid argument)
...done
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
PS : I've gone through the forum to find different solutions, but nothing working to remove the encryption permanently.

yes, it is possible. is use it all the time with my stock android. give me some time to write it...or maybe someone other can tell u. u already used the search in this forum?
an other question, u really need an unencrytped internal memory?
snowfirewall said:
Hi All,
I am trying to root Samsung S7 Oreo 8.0 with TWRP & Magisk. But, when ever I log into TWRP it's saying "Inernal Memory 0MB)
I've followed below steps :
Installed TWRP and no-verity-opt-encrypt zip, it worked until I reboot to system
After reboot again the internal memory showing as 0MB (may be re-encrypted)
Is there any way that I can remove the encryption permanently?
Error :
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Updating partition details...
Failed to mount '/data' (Invalid argument)
...done
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
PS : I've gone through the forum to find different solutions, but nothing working to remove the encryption permanently.
Click to expand...
Click to collapse

Thank you.. Am not exactly looking for unencrypted partition. Am just confused whether it's expected to format data and no variety everytime or is it just one time for root?
Also I gone through the threads to find fix for this issue. But most of the people are suggesting to format data.
Any other better ways? Can we take backup of existing ROM from TWRP without root?
Roberto W. said:
yes, it is possible. is use it all the time with my stock android. give me some time to write it...or maybe someone other can tell u. u already used the search in this forum?
an other question, u really need an unencrytped internal memory?
Click to expand...
Click to collapse

i am using a stock firmware by telekom, it installs some features after first flash and first reboot (maybe ur firmware does not need step 3, so my second reboot is ur first reboot into download mode)
1. flash stock firmware
2. first reboot
3. install for provider reasons and then
4. second reboot (important: into download mode)
5. flash twrp
6. third reboot (important: into twrp)
7. flash zip-file (attached to this post)
8. reboot and wait....
now u should have an unencrypted system. the only thing is, u need to repeat these steps on firmware updates.
snowfirewall said:
Thank you.. Am not exactly looking for unencrypted partition. Am just confused whether it's expected to format data and no variety everytime or is it just one time for root?
Also I gone through the threads to find fix for this issue. But most of the people are suggesting to format data.
Any other better ways? Can we take backup of existing ROM from TWRP without root?
Click to expand...
Click to collapse

Related

[Q] My Internal sdcard is corrupted! Please Help!

I Think my Internal sdcard is corrupted!
Please Help! Reflashing android won't work. I think the partition is corrupted!
Device: Google Nexus 5
Original OS: Android 5.1.0_r1 (LMY47D)
Recovery: TWRP 2.8.6.0
One day I turned my phone off, and later i decided to go into recovery. I believe I went inside Advanced Options and clicked "Fix Permissions." Then I proceeded to reboot. I was busy at the time, so when I remembered about my phone, I saw that it was still booting. It had been at least 30 minutes so I knew it was in a bootloop. I decided to go back into recovery and reflash the system.img onto it. No luck. I realized I had to try flashing the entire Nexus image (using the flash-all.bat). The phone would still not turn on. I tried flashing different versions of android, and here are my findings:
Android 5.1.0_r3, 5.1.0_r1, 5.0.1: all cause my phone to not be able to boot up (stuck on the 4 color flying animation)
Android 4.4.4, CyanogenMod (cm-11-20141008-SNAPSHOT-M11-hammerhead.zip): Allow my phone to boot up.
However, after I found that I could boot onto Android 4.4.4 and CyanogenMod, I realized that I could not get access to the sdcard!
Here are my findings:
When I go to the phone's root folder, I see a FILE called "sdcard"
When I go to \storage, I see a FILE called sdcard0
When I open camera, the app crashes (possibly because it stores pictures on the sdcard).
I tried to delete these files when I had root access with CyanogenMod but the file manager said "can't delete file." When I am in recovery mode (TWRP) however, I can see the sdcard folder and the contents. Just through every system boot, the sdcard is inaccessible.
After I realized that the problem wasn't due to the data on my phone (after flashing many system images), I realized my data partition might be corrupted. Then I went to this site and followed the directions: http://forum.xda-developers.com/goo...o-repairing-corrupted-data-partition-t2577447
The e2fsck command didn't do anything as cmd said "The superblock could not be read or does not describe a correct ext2 filesystem."
Afterwards, my friend told me to try mke2fs /dev/block/platform/msm_sdcc.1/by-name/userdata
I typed that in adb shell and something happened. I started processing blocks or something. Unfortunately now, I am unable to mount the data partition at all. I am also unable to flash the userdata.img onto my phone through fastboot.
UPDATE: When I open up twrp recovery and look in the log I see the following:
E: Could not mount /data and unable to find crypto footer.
E: Unable to mount '/data'
E: Unable to recreate /data/media folder.
Updating partition details...
E: Unable to mount '/data'
E: Unable to mount '/cache/
E: Unable to mount '/persist'
...done
E: Unalbe to mount storage.
E: Unable to mount /data/media during GUI Startup.
E: Unable to mount '/cache'
Full SELinux support is present.
E: Unable to mount '/cache'
E: Unable to Mount '/cache'
E: Unable to mount /data/media/TWRP .twrps when trying to read settings file.
E: Unable to mount '/data'
MTP Enabled
Anyone know how to fix this? Please help, I owe you so much if you can solve this! Reply to me if you're able to help, I'm also new to xda so I don't really know how messages work. Thanks!
Try taking it out and putting it back in. It happened to me too.
mygoldeneye said:
Try taking it out and putting it back in. It happened to me too.
Click to expand...
Click to collapse
By sdcard I mean the internal sdcard (/storage/emulated/0). Nexus 5 does not have an external sdcard slot anyways.
So you are saying you have no apps, no widgets, nothing... /storage/emulated/0 is your main storage which INCLUDES your system files (unless you have a phone or tablet that has a separate internal SD card - would be /storage/emulated/1 ... I am guessing)

Can't go forward at "country select" on differents Rom. Need help please !

Hello
After solved issue to my problem : http://forum.xda-developers.com/mate-8/help/flash-configure-phone-country-selection-t3318172
I have the same problem by selecting country.
I have flashed TWRP recovery and root the phone. (with original rom)
I have downloaded differents rom ... no one is ok ... i'm stay on "select country" and i can't go "next". nothing when i click on "next". This issue is for differents rom...
I don't understand.
I have wipe data/system/cache/dalvik/cust ... always the same issue...
Thx for help
up
just try flash rom without wipe or formate
i did that to avoide setup screen
It work with dirty flash.
Thank's
Hello, im facing the same problem and i dont know how to resolve it, could you please help me . . And btw what do you mean by " Dirty Flash" ?
Ainzy said:
Hello, im facing the same problem and i dont know how to resolve it, could you please help me . . And btw what do you mean by " Dirty Flash" ?
Click to expand...
Click to collapse
go back to your working rom
then flash the rom you want without wiping any thing or factory reset from twrp
rowihel2012 said:
go back to your working rom
then flash the rom you want without wiping any thing or factory reset from twrp
Click to expand...
Click to collapse
Hello and sorry for my very bad english ...
What do you mean by " Go back to your working rom" because before that, i wiped all the data and like a di*k i forgot to backup first lol and now when i boot the phone im stuck in settings page
like where you need to set the languages, country ect... Looks like a bootloop. Sorry for being a noob T_T
Ainzy said:
Hello and sorry for my very bad english ...
What do you mean by " Go back to your working rom" because before that, i wiped all the data and like a di*k i forgot to backup first lol and now when i boot the phone im stuck in settings page
like where you need to set the languages, country ect... Looks like a bootloop. Sorry for being a noob T_T
Click to expand...
Click to collapse
download the rom you wanna flash with you pc
open the zip file and go to /system/app/HwStartupGuide and remove it from zip with winrar pc app
then but the rom in sd card and flash it with twrp recovery
will work fine :good:
the setup screen will be no longer appear with you and rom will work fine
rowihel2012 said:
download the rom you wanna flash with you pc
open the zip file and go to /system/app/HwStartupGuide and remove it from zip with winrar pc app
then but the rom in sd card and flash it with twrp recovery
will work fine :good:
the setup screen will be no longer appear with you and rom will work fine
Click to expand...
Click to collapse
I downloaded the rom from :
http://www.carbontesla.com/2016/02/download-huawei-mate-8-b152-marshmallow-update-emui-4-0-europe/
But there is no file such as /system/app/ect inside the zip.
Even with this one :
https://drive.google.com/file/d/0B5I_q70mNuR4SndZQ1JNSUJQX00/view?pref=2&pli=1
there is no /system/app/HwStartupGuide but just /system/app/wali/
What should i do ? thx for your help
Ainzy said:
I downloaded the rom from :
http://www.carbontesla.com/2016/02/download-huawei-mate-8-b152-marshmallow-update-emui-4-0-europe/
But there is no file such as /system/app/ect inside the zip.
Even with this one :
https://drive.google.com/file/d/0B5I_q70mNuR4SndZQ1JNSUJQX00/view?pref=2&pli=1
there is no /system/app/HwStartupGuide but just /system/app/wali/
What should i do ? thx for your help
Click to expand...
Click to collapse
searsh the zip file for HwStartupGuide and remove it
rowihel2012 said:
searsh the zip file for HwStartupGuide and remove it
Click to expand...
Click to collapse
Hello, now i'm facing a new problem. I can't flash any roms with Team Win Recovery Project Mate 8 v2.8.7.0 and TWRP by Rayglobe :
http://prnt.sc/a7cdah
Even with ADB Sideload i got an error, since im living in China and for any reason I don't know why i can't upload an image even with a VPN so, i will just write down what i see from my screen phone:
Uploading partition details...
...done
Full SELinux support is present.
MTP Enabled
Starting ADB sideload feature...
Installing '/sideload/package.zip' ...
Removing empty directorys...
Unpacking new files...
add link type file...
write radio image...
E:unknow command [errno]
script succeeded: result was [ ]
Formating Cache using make_ext4fs function.
Wiping Dalvik ache Directories...
-- Dalvik Cache Directories Wipe Complete!
Click to expand...
Click to collapse
Then from my PC with the platform tool, its load at 47% and then nothing. Im prett sure that my file is not corrupted or something like that, cause i downloaded like 4 times the file and from different server.
Do a NXT-L29 TWRP backup will resolve the issue ??
Ainzy said:
Hello, now i'm facing a new problem. I can't flash any roms with Team Win Recovery Project Mate 8 v2.8.7.0 and TWRP by Rayglobe :
http://prnt.sc/a7cdah
Even with ADB Sideload i got an error, since im living in China and for any reason I don't know why i can't upload an image even with a VPN so, i will just write down what i see from my screen phone:
Then from my PC with the platform tool, its load at 47% and then nothing. Im prett sure that my file is not corrupted or something like that, cause i downloaded like 4 times the file and from different server.
Do a NXT-L29 TWRP backup will resolve the issue ??
Click to expand...
Click to collapse
Use twrp v3
rowihel2012 said:
Use twrp v3
Click to expand...
Click to collapse
i used this one :
http://forum.xda-developers.com/mate-8/development/recovery-twrp-huawei-mate-8-t3298567
And i still got the same issue even in adb sideload or flash with TWRP V3
From ADB Sideload :
Unable to mount storage
Failed to mount 'data' (invalid argument)
Full Selinux supprt is present.
TeamWin Recovery 3.0.0.0
Unable to mount /data/media/TWRP/.twrps
Failed to mount '/data' (Invalid argument)
Failed to mount '/data' (Invalid argument)
Failed to mount '/data' (Invalid argument)
MTP Enabled
Failed to mount '/data' (Invalid argument)
Installing zip file'/sideload/package.zip'
Removing unneeded files...
Patching system files...
Remvoving empty directorys...
Unpacking new files...
add link tye file...
Write radio image...
E:unknow commad [errno]
script succeeded: result was [ ]
Formating Cache using make_ext4fs function.
Failed to mount '/data' (Invalid argument)
Failed to mount '/data' (Invalid argument)
Click to expand...
Click to collapse
And from TWRP when im trying to install the zip file:
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media/ folder.
Updating partition details...
Failed to mount 'data' (Invalid argument)
...done
Unable to mount storage
Failed to mount '/data' (Invalid agument)
Full SELinux supprt is present.
TeamWin Recovery 3.0.0.0
Unable to mount /data/media/TWRP/.twrps
Failed to mount '/data' (Invalid argument)
Failed to mount '/data' (Invalid argument)
Failed to mount '/data' (Invalid argument)
MTP Enabled
Failed to mount '/data' (Invalid argument)
Failed to mount '/data' (Invalid argument)
Failed to mount '/data' (Invalid argument)
Installing zip file '/external_sd/B152.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
zip file is corrupt!
error installing zip file '/external_sd/B152.zip'
updating partition details...
failed to mount '/data' (invalid argument)
...done
failed to mount '/data' (invalid argument)
Click to expand...
Click to collapse
You have to wipe /data. Then you don't have this issue. To wipe /data you have to write "yed" on the prompt
julien712 said:
You have to wipe /data. Then you don't have this issue. To wipe /data you have to write "yed" on the prompt
Click to expand...
Click to collapse
I already do that, and the problem is still there
Edit 1 : With any rom of NXT-L29, when im trying to flash with TWRP i always get this message :
"Skipping MD5 check: no MD5 file found"
Is that normal?
Ainzy said:
I already do that, and the problem is still there
Edit 1 : With any rom of NXT-L29, when im trying to flash with TWRP i always get this message :
"Skipping MD5 check: no MD5 file found"
Is that normal?
Click to expand...
Click to collapse
you have to formate data not wipe
yea this is normal no md5 found
rowihel2012 said:
you have to formate data not wipe
yea this is normal no md5 found
Click to expand...
Click to collapse
Hello, by wipe you mean in TWRP, select WIPE > Format Data and type "Yes".
If yes, i already did that like 10 times and i still got the same error when flashing or using adb sideload :crying::crying:
Edit 1: With any roms I downloaded its show me on my screen when flashing with Install>Select zip file then swipe to flash, the following message :
Updating partition details...
...done
Full SELinux is present.
Modify By Raimondo Martire
MTP Enabled
Installing zip file 'external/_sd/update.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Zip file is corrupt!
Error installing zip file '/external_sd/update.zip'
Updating partition details...
...done
Click to expand...
Click to collapse
I really dont know where / what is the problem...
You can try to go back to stock rom with the rayglobes tool. Select "unbrick" section. It will flash all partitions to stock.
julien712 said:
You can try to go back to stock rom with the rayglobes tool. Select "unbrick" section. It will flash all partitions to stock.
Click to expand...
Click to collapse
Hello, i did what you tell me to do and the problem is still there i can't pass the bootloop in the settings page on the main menu :crying::crying:
What oO never saw that.
Fastboot mode doesnt works ?
Very strange because huawei reformat by this way... The only way to restore to stock.

TWRP - Failed to mount '/data' (invalid argument)

Hi,
i want to format my /data but i can't because TWRP can not mount it.
I tried to change the filesystem to ext4 and format it but i stuck in boot.
It also says internal storage 0mb.
How can i fix that?
or is that normal with nougat atm?
yeah, I have the same problem. I think the L04 doesn't have a working version of TWRP.
TomboIa said:
Hi,
i want to format my /data but i can't because TWRP can not mount it.
I tried to change the filesystem to ext4 and format it but i stuck in boot.
It also says internal storage 0mb.
How can i fix that?
or is that normal with nougat atm?
Click to expand...
Click to collapse
same here! I tried to go back to EMUI 4.1 and use flash fire to update firmware without loosing root, it works all the way up to the EMUI 5 update then it forces me into TWRP to flash the file for whatever reason and then I loose root, and TWRP stops working properly.

How to uninstall Magisk?

Hello. I've recently tried to uninstall Magisk through its app but that doesn't seem to work. Some apps still detect that I have root access and not allow me to use it. Thus, I tried removing the install files in my phone and it still couldn't work. I have also tried factory resetting but for some reason TWRP won't allow it.
It writes:
"Could not mount /data and unable to find crypto footer
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder
Updating partition details
Failed to mount '/data' (Invalid argument)
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present.
Unable to mount '/data/media/TWRP/.twrps
MTP enabled
Failed to mount '/data' (Invalid argument)
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Formatting cache using make_ext4fs...
Updating partition details...
Failed to mount '/data' (Invalid argument)
Unable to mount storage"
Phone is still working perfectly apart from these errors. How can I fix this? Any help would be greatly appreciated. Thanks!
larrysgx said:
Hello. I've recently tried to uninstall Magisk through its app but that doesn't seem to work. Some apps still detect that I have root access and not allow me to use it. Thus, I tried removing the install files in my phone and it still couldn't work. I have also tried factory resetting but for some reason TWRP won't allow it.
It writes:
"Could not mount /data and unable to find crypto footer
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder
Updating partition details
Failed to mount '/data' (Invalid argument)
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present.
Unable to mount '/data/media/TWRP/.twrps
MTP enabled
Failed to mount '/data' (Invalid argument)
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Formatting cache using make_ext4fs...
Updating partition details...
Failed to mount '/data' (Invalid argument)
Unable to mount storage"
Phone is still working perfectly apart from these errors. How can I fix this? Any help would be greatly appreciated. Thanks!
Click to expand...
Click to collapse
To answer this we need the following info:
1. What phone do you have?
2. Do you use a stock or custom rom?
3. If you use a custom rom, what rom is it?
Zapthos said:
To answer this we need the following info:
1. What phone do you have?
2. Do you use a stock or custom rom?
3. If you use a custom rom, what rom is it?
Click to expand...
Click to collapse
Well, I have a S7 Edge. I am not that experienced with tech so I'm not so sure what I did for the Rom.
I flashed it through Odin though. I could dm you the link of the tutorial if you don't mind
Re-Flash rom
You can try re-flashing the rom (not sure if it's a word but you probaly know what I mean). So enter twrp (power, volume up & home button), go to wipe and wipe the following: System, Data, Cache, Dalvik/Art cache. Once you've done that flash the rom. Depending on what rom you use, you can see if magisk is gone. If not, try another rom (make sure it is for your device!!!). This should help, if not let me know.
Or just run Magisk Manager, tap Uninstall, then tap complete uninstall.

Phone no longer has OS and having trouble installing custom rom

Hey guys, hoping someone can save me from having to buy a new phone. I either need to fix it quickly or replace it quickly cause my job depends on having one.
I have a Moto 9 g plus.
I wanted to root my phone for a long time and today I decided to try since the Android 11 update ****ed up the camera on my phone anyway.
I followed this guide here
Root Motorola Moto G9 Plus Android 10 using TWRP and Install Magisk
When you have Stock Android on your mobile, You are almost free from bloatware apps. Even if your manufacturer put some apps, You can get rid of them in
www.androidinfotech.com
Everything seemed to be going well except that I couldn't get magisk to install, I kept getting errors in twrp.
I ended up installing the apk for magisk and used it to modify the boot file. I installed the image in twrp and on reboot, it went into a boot loop. I could go back to trwp and after swiping to factory reset, it broke the loop when I restart the phone. The problem is that now it just goes straight to the menu that you normally need to press and hold down and power to go to. I never did get to confirm if my phone was successfully rooted or not, I'm guessing no, and that that is the main problem now, as the phone won't boot up to where I can use apps, and if it isn't rooted, from what I understand, I can't install another rom?
Also, whenever I'm finished with twrp, when I press to reset it says something like "Phone no longer has OS, are you sure you want to reboot?". I read it is from wiping the data or factory reset, but I didn't actually wipe any internal memory, I can still view all files on it and on my sd card.
Maybe you guys can confirm my suspicions that I just ****ed up my phone for good or not.
This is what the error says when I attempted to install a rom, I tried with lineage and arrowos and I don't believe the problem is with the roms.
E:unable to update logical partion: /system_root
E:unable to update logical partion: /vendor
E:unable to update logical partion: /product
Failed to mount '/system_root' (Invalid argument)
Failed to mount '/vendor' (Invalid argument)
E:Unable to open /system_root/system/apex
E:Unable to load apex images from /system_root/
system/apex
MTP Enabled
Failed to mount '/system_root' (Invalid argument)
Installing zip file '/external_sd/Arrow-v12.0-odessa
-UNOFFICIAL-20211013-gapps.zip'
Flashing A/B zip to inactive slot: A
Failed to mount '/system_root' (Invalid argument)
Failed to mount '/vendor' (Invalid argument)
Step 1/2
Error applying update : 7 (ErrorCode::
kInstallDeviceOpenError)
Updater process ended with ERROR: 1
To flash addition zips, please reboot recovery to
switch to the updated slot.
Error installing zip file '/external_sd/Arrow-v12.0-odessa
-UNOFFICIAL-20211013-gapps.zip'
Updating partition details . . .
. . . done
If I try to install magisk.zip it gives this error
Failed to mount '/system_root' (Invalid argument)
Installing zip file '/external_sd/Magisk-23.0.zip
Checking for Digest file . . .
Unmounting System . . .
********************************
Magisk 23.0 Installer
********************************
- Current boot slot: b
! Cannot mount /system
- Unmounting partitions
Updater process ended with ERROR: 1
Error installing zip file 'external_sd/Magisk-v23.0.zip
Updating partition details . . .
. . . done
Thanks to anyone to offers any suggestions, this is my first time attempting this, so don't assume I know anything, I just step by step tutorials and usually don't have problems like this.

Categories

Resources