TWRP install and rebooting to system succesful, but twrp can't read internal storage - Samsung Galaxy A30 Questions & Answers

Device: SM-A305N KOO (Korea)
I successfully installed twrp via odin on my A30, flashed magisk.zip, and rebooted to system successfully. After that, I flashed an optimization file and rebooted to system (also successful). But I found that the internal storage was encrypted, so I went straight back to TWRP and did Advanced Wipe - change file system to ext2, then ext4. Now My 'Files' app in the system can read the files correctly like in the pic.
But in the TWRP, the file names in the internal storage is still in random characters. How can I fix this?

If twrp only shows "random characters" that's because the internal storage hasn't been decrypted. Twrp should ask for your user password to decrpyt it. Alternatively you could also do
Code:
adb shell
twrp decrypt MyLovelyPassword
EDIT: You need to be booted into twrp to use this. You could also use the terminal which comes within twrp; just leave the `adb shell' part then.

Related

Unable to update CM13

Hello guys, i was trying to update my CM 13 today and it didn't work. It made the download but once in the recovery, nothing happened :S i'm trying to understand why and i hope some of you know of this.
By the way, my TWRP version is the 2.8.7.0 if it helps..
ugh...Can't really understand what happened
You installed via OTA/cm updater? meaning you downloaded with your phone
Just download the zip directly and flash it with twrp
You'll also need to re-flash gapps unless you're using TWRP 3.0.0
Make sure that you have not installed any additional mods which alters system partition (kernels, soundmods etc.) If not, easiest solution would be to dirtyflash new one or clean install.
Same problem here.
405. CM13. TWRP 3.0.0. Merged SD card with internal storage.
In Recovery I can see folder structure but no files. I know its because of SD-encryption but I hoped I could at least see files in internal storage to update. Hope there's a solution soon. Does anyone have a workaround?
Gesendet von meinem LG-D405 mit Tapatalk
Filesystem of sdcard mount point
What is your /sdcard mount point filesystem? Mine is 'auto' (Maybe that might be causing the problem?) , and you can check by going into TWRP -> Wipe -> sdcard -> Repair or Change File System
Thank you for your answer. I checked that quickly, but couldn't find the option 'repair or change filesystem' without actually wiping the storage... I'll check again later if there's more time.
I found and changed the option from exFAT to ext4. All folders on the SD were lost in TWRP. Changed back to exFAT: couldn't see them either..
When using adopted storage (i.e. formatting external SD and using it as internal storage), then /sdcard in Android becomes /emmc in TWRP. At least it's what I see here using TWRP 3.0.0 Dark Blue.
From what I've looked, all internal storage is used only for app and app data once I started using adopted storage, so the only way I can think of using internal storage in TWRP to flash anything is either sideloading or using MTP in TWRP.
I managed updating through sideload.
1. Connect your phone to your computer via USB
2. Activate sideload in TWRP (advanced)
3. In platform-tools folder press Shift+right click to open commandline
4. If your device is connected properly ('adb devices') you can sideload zips (in platformfolder) via the command 'adb sideload filename.zip'
5. Restart device. Note: It took a few minutes for all apps to appear in the appdrawer again.
Thank you all for your help! I will looks after the folder emmc, but as I see no files, just folders anywhere, I am not that hopeful. But at least it works now
kreativpause said:
I managed updating through sideload.
1. Connect your phone to your computer via USB
2. Activate sideload in TWRP (advanced)
3. In platform-tools folder press Shift+right click to open commandline
4. If your device is connected properly ('adb devices') you can sideload zips (in platformfolder) via the command 'adb sideload filename.zip'
5. Restart device. Note: It took a few minutes for all apps to appear in the appdrawer again.
Thank you all for your help! I will looks after the folder emmc, but as I see no files, just folders anywhere, I am not that hopeful. But at least it works now
Click to expand...
Click to collapse
What did you wipe prior to your sideload? I want to do a wipe and fresh install of gapps and cm13, but I am afraid I could soft brick my phone.
I chose both. Dalvik and the other option ( I believe cache). No issues.
kreativpause said:
I chose both. Dalvik and the other option ( I believe cache). No issues.
Click to expand...
Click to collapse
Mine gets stuck at "detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system" then it just reboots to TWRP again. Sideload says "
serving: 'cm-13.0-20160322-NIGHTLY-w7.zip' (~0%) * failed to read command: No error". Did you wipe system before you sideloaded?
I did not wipe anything beforehand.

Internal memory does not show on PC

Hello everybody,
I am in desperate need for help.
Received my OP3T yesterday and followed the instructions to flash Sultan's CM13 ROM, unlocking bootloader, running "fastboot OEM unlock", deleting data and system partitions, attempting to flash TWRP and even using the SuperSu root afterwards.
I now have an issue where the internal memory of the phone does not show up on PC. It does not show when I am running CM13, and does not show when I'm in the TWRP recovery menu.
- Using the mount feature in TWRP does not work.
- All my file systems are currently set to ext4.
- USB debugging is on, off course.
- Tried accessing internal memory on a different PC, and still doesn't show.
I've tried completely deleting all the partitions, re-flashed TWRP and re-flashed CM13. Also tried re-flashing the original recovery and the original OxygenOS rom.
As a result, I can only access the TWRP recovery now. I have no way to copy the CM13 zip file or any other file to the internal memory.
Anyone know what's going on?
to see internal storage in TWRP you need to enter the password you definied as android login.
to see internal storage on pc go to "Settings/developer options/usb configuration and use again "file transfer" (i hope this is the english word for "dateiübertragung")

Can't find magisk.zip in twrp, Internal Storage (0MB)

I have my magisk.zip in my sdcard/download but it's not showing on twrp (Internal storage 0 MB)... I tried wiping cache and data but it failed... I made sure that "Install ZIP" is selected. I'm using this twrp (color is orange instead of blue).
I'm using SM-J730F (used to be SM-J730F/DS but because of bootloop I had to install SM-J730F firmware, everything seems to work as it should).
I successfully rooted my other android phone but it's a lot more complicated for this model...
Is there any solution for this problem?
Edit 1: I tried with this solution by "format data" and then copy magisk.zip to sdcard/download, formating worked (Internal storage was't 0MB anymore) but when I connected with PC and opened my mobile folder was completely empty... It was empty before and after formating when accessing mobile folder on PC while on twrp (access was allowed the first time system booted) but in home screen mobile files can be accessed on PC. I'm starting to hate SM-J730F...
Edit 2: This solution worked (I can transfer files directly from my PC while on twrp) but my whole OS got wiped as well and had to flash it with odin... Which returned me to square one (no twrp)...
Well, i had same problem, got around it by flashing twrp in adb
markoscekic said:
Well, i had same problem, got around it by flashing twrp in adb
Click to expand...
Click to collapse
I just installed this kernel
Dragonknigh said:
I just installed this kernel
Click to expand...
Click to collapse
try to install via Magisk Manager app
Dragonknigh said:
I have my magisk.zip in my sdcard/download but it's not showing on twrp (Internal storage 0 MB)... I tried wiping cache and data but it failed... I made sure that "Install ZIP" is selected. I'm using this twrp (color is orange instead of blue).
I'm using SM-J730F (used to be SM-J730F/DS but because of bootloop I had to install SM-J730F firmware, everything seems to work as it should).
I successfully rooted my other android phone but it's a lot more complicated for this model...
Is there any solution for this problem?
Edit 1: I tried with this solution by "format data" and then copy magisk.zip to sdcard/download, formating worked (Internal storage was't 0MB anymore) but when I connected with PC and opened my mobile folder was completely empty... It was empty before and after formating when accessing mobile folder on PC while on twrp (access was allowed the first time system booted) but in home screen mobile files can be accessed on PC. I'm starting to hate SM-J730F...
Edit 2: This solution worked (I can transfer files directly from my PC while on twrp) but my whole OS got wiped as well and had to flash it with odin... Which returned me to square one (no twrp)...
Click to expand...
Click to collapse
Same problem, fixed! flowing this link
https://************/how-to-fix-twrp-unable-to-mount-storage-internal-storage-0mb/
Just save my day!
I fixed this by removing i.e. the password that locks my device i.e. no password
ADB Sideload

TWRP Internal storage unable to Mount (internal 0mb) redmi note 4 (mido)

There is an akward situation, whenever i try to go into TWRP for flash any zip aur img file , TWRP does not show any such file. It is 100% sure that i transfer the flasheable zip file to the mido. But TWRP does not show. It shows 0mb internal storage. And i tried to wipe delvik cashe data system but it gives a message and error in red color that data not mount.
So for this i just formate the phone by twrp... It get easly formate by typing YES and delete all the internal storage, after that i can wipe all the stuff under advanced wipe by selecting all the options system data delvik cashe.... Etc.
After doing this i just power off the phone by twrp, and again boot the phone into twrp recovery by pressing volume up+ power button
And then twrp shows 52 gb aprx internal , so i transfer the custom rom zip file and gapps zip to the phone using computer.
After that i had flash the rom and reboot the phone into system..
The phone get started and work awsome.
Now after an hour latter , i had again reboot the device to recovery ... To flash magisk manager ... Guys i am shoked the internal storage shows 0 mb instead of actual memory.
Again does not shows any zip file, img file.
So i have to follow all the steps that i performed before formate the phone and reboot to recovery then transfer magisk and then flash it.
The problem is why twrp again and again shows 0mb error ...
So i also flash the miui using fastboot method (clear all) clean flash, then flash the twrp after that flash the custom rom.
After flashing rom , Now again reboot to recovery it shows 0 mb internal and data unable to mount.
Twrp fix temporary not permanent.
Please tell me if you find any solution for this for permanant fix twrp 0 mb error....
dheerajsinghal said:
Please tell me if you find any solution for this for permanant fix twrp 0 mb error....
Click to expand...
Click to collapse
Wrong section here.
https://forum.xda-developers.com/redmi-note-4
Hi! actually i had similar issue after restoring all partitions (not just boot data and system, but all the 10 or more partitons) on my redmi 4x. i couldnt mount the data partition it got corrupted somehow. I couldnt format it in twrp too. Reflashing everything in my flash solved the problem, just dont forget to NOT choose the option with RELOCK, or you will lock the bootloader.

Some folders/partitions are not encrypted

Hi, I have a problem. Some of my folders are not encrypted in twrp file manager. Inside folder /sdcard and /data/data are displaying folder name correctly, which that is the sign of unencrypted folder. But anything inside the folder /data/app are encrypted. I dont know why the my phone only encrypt some part of data. I have previous xiaomi phone that fully encrypted everything in /data and /sdcard partition.
I was unlocking my device, i installed twrp and formatted /data there, then installed only miui global beta rom, no magisk, encryption disabler, or etc. After finished everything and put my data to phone storage, and also set lockscreen pattern, i rebooted the phone once so it will encrypt my data at first reboot. After that I installed twrp again via fastboot because it has been replaced by stock recovery. Went to twrp file manager, and these problem happened.
Do anyone experience this? I need full encryption for my phone privacy and safety.
Note: any current twrp version no one has support encryption, so normally it wont able to read anything inside /data partition.

Categories

Resources