Problems to root A5 2017 - Samsung Galaxy A3, A5, A7 (2017) Questions & Answe

Helllo,
I tried to root my Samsung A5 2017 and also too change to LineageOS. I installed TWRP. In TWRP I selected my Lineage-Zip and OpenGApps-Zip. TWRP finished the installation succesfully. When I startet the phone, Lineage said, that it isn`t working. Now i flashed the StockROM with Odin and Android worked again. I flashed TWRP a second time and tried to wipe the Phone. This doesen´t works. Log says: "Unable to mount storage" "Failed to mount ´/data´(Invalide argument)". Then I tried to install Lineage without wiping, but the Log brought the same result.
Thank you for any help.

First of all, I think your thread belongs to the Q&A section.
To answer your question, or try at least, I'm guessing that the storage is encrypted by the Samsung stock ROM. This encryption sadly can't be removed in any other way than completely formatting the data partition.
You can do this in TWRP in the "Wipe" section with "Format data". This will also wipe your internal storage, so you should have all the important zips for installation on a microSD card or your PC, so you can install them after the wipe (I'm guessing you already did that, since you installed without having access to /data).
If you want to keep the data partition unencrypted in the future but still use the stock ROM, you can flash Magisk after removing the encryption.
Hope I could help.

Related

unable to mount /data

Hi all,
Let me start with the fact that I did something really stupid, I formated the storage in TWRP (version 2.8.0), instead of just wiping the dalvik, data and other. After that I installed the custom ROM, however the tablet would not boot, it stays at the boot animation. If I go to the TWRP, I see that the internatl storage is 0MB and it says it cannot mount \data and other files.
I tried installed other ROM as well but same thing.
Tablet is rooted.
Help me please to recover the tablet (P600)!!
Kyrillos said:
Hi all,
Let me start with the fact that I did something really stupid, I formated the storage in TWRP (version 2.8.0), instead of just wiping the dalvik, data and other. After that I installed the custom ROM, however the tablet would not boot, it stays at the boot animation. If I go to the TWRP, I see that the internatl storage is 0MB and it says it cannot mount \data and other files.
I tried installed other ROM as well but same thing.
Tablet is rooted.
Help me please to recover the tablet (P600)!!
Click to expand...
Click to collapse
Load the rom on an external sdcard, and flash from there. I usually wipe everything when flashing a new rom except for the external sd card. If that doesn't work, try booting into the odin download mode and reflash to stock firmware via ODIN. Then try flashing again.

[FIX] [TWRP] [RECOVERY] /system partition not mounting in recovery

I had come across this bug in TWRP recovery where the /system partition was unable to mount.
And i wasn't able to flash any new ROM or even backup current ROM.
Hopefully I had another ROM backed up before and I simply formatted the system and VIOLA! the problem was gone.
I posted this for anyone who might get such a problem in the future and doesn't end up cursing themselves.
Its a common bug and very easy to fix. So, Happy Flashing!
This basically work for any partition not mounting error.
Hit thanks if it helped
Help me fix my twrp
Pls, I have been on this platform for some time now. I have a challenge presently with my phone Tecno LB8A. I have been trying to upgrade it to version 10. I have unlocked the bootloader, rooted it and also flash twrp into it. I downloaded Lineage 17 and havoc but I bricked my phone severally. In twrp, I discovered there is no system partition there. Pls I need your guide on how to make the system appear. What I have on the partitions there are: dalvic cache, cache, data,sdcard, otp and internal storage. The second question bis how do I flash Lineage into it without bricking the phone

[SOLVED] Help! "encryption unsuccessful" message!

I was running oos based nougat custom rom with blu spark recovery. Then flashed official ob1, didnt like it, wiped cache/data/system and reinstalled my old oos nougat rom (audax 4.7.6). Now i get the above mentioned message..
Things i tried:
- addionally wipe internal storage and media (installed rom via adb sideload then)
- reformat system/cache/date with ext4
I googled the error and for most people (threads werent particularly concerning the op5t however) it seems that just wiping data and reinstalling the rom did the trick. Not for me though..
What can i do now?
Solution: reformating the data partition with ext4 is not enough. I had to format to FAT and right after that again to ext4, reboot to system and boom, it worked!
PS: i wonder what data is on the internal storage partition that i deleted? I didnt have any data on the phone, i just wonder.. It isnt somehow crucial to the phone?!
I think the decryption key is somehow embedded into the internal storage as wiping /data does not delete the PIN/pattern. Might be a hidden partition or something similar that is not wiped when wiping /data as long as it is ext4.
Your data is gone. It failed to completely encrypt and now there's nothing that can be done. Format /data as ext4 and let it try encrypting again
I have the same problem exactly. Can you explain in steps you have installed then format or how?
I have the same problem exactly. Can you explain in steps you have installed then format or how?
Click to expand...
Click to collapse
I had the exact same problem. But it is an easy fix but does require wiping your internal storage.
So the save way of doing this would be:
1. Backup all your data by going to TWRP or your ROM if that still works. Plug in an USB cable and use MTP or the adb pull command to backup your data
2. Reflash OB1 with no root (like Magisk of SuperSU) if you have TWRP. This will cause you to have the stock recovery again. I also recommend to do a clean flash (Wiping system and data before flashing the rom).
3. Download the rollback build from Oneplus [HERE] and copy this to the internal storage.
4. Boot into the stock recovery flash the rollback build. THIS STEP WILL WIPE YOUR INTERNAL STORAGE.
5. Now you have OxygenOS 4.7.5. Download OxygenOS 4.7.6 Incremental Update [HERE]
6. Go back to the Stock recovery and flash the incremental 4.7.6 zip.
7. You have the latest version now. So boot to fastboot reflash TWRP and flash SuperSU or Magisk in TWRP to regain root
Guys I did a fail, i had OB3 installed, and I wanted to try RR so I wiped system and when I tried to install I have seen error 7 saying its for dumpling not for oenplus5t.
So I restored.... But instead restoring OB3 I have restored stock Nougat rom -.- I have even stock recovery now, what is the best way to fix it?
Can i change to FAT and stay and dont go back to ex4 again?
Hi i don't know if u r reading this but if you are please help me cause I'm so lost and confused over this since yesterday...
so 2 days ago my phone started lagging and hanging and freezing until i realized i have got this issue with data encryption
i have a rooted sony z2 with TWRP Custom recovery
first i didn't know it was with data encryption failure so i literally factory reset and installed all my apps and data again and again!!! after every time my phone started to lag !!
after one whole day of trying everything i finally realized its actually with the data encryption and i should change my ex4 to something else... so here again i wiped the phone and changed to ex3 and installed and all my data and apps all over again
but after a couple hours...same problem again.....
im literally so tired of not knowing what to do ! my head hurts so much due this ugh....
i havent changed to FAT from ex3 so im wondering if it will finally solve my problem permanently if i change to FAT ??
And if it did can i just keep it on FAT forever ?
Please guide me thanks ...!
Lasersdude said:
I was running oos based nougat custom rom with blu spark recovery. Then flashed official ob1, didnt like it, wiped cache/data/system and reinstalled my old oos nougat rom (audax 4.7.6). Now i get the above mentioned message..
Things i tried:
- addionally wipe internal storage and media (installed rom via adb sideload then)
- reformat system/cache/date with ext4
I googled the error and for most people (threads werent particularly concerning the op5t however) it seems that just wiping data and reinstalling the rom did the trick. Not for me though..
What can i do now?
Solution: reformating the data partition with ext4 is not enough. I had to format to FAT and right after that again to ext4, reboot to system and boom, it worked!
PS: i wonder what data is on the internal storage partition that i deleted? I didnt have any data on the phone, i just wonder.. It isnt somehow crucial to the phone?!
Click to expand...
Click to collapse
Finally. Thank you so much!

data encrypted and ROM not getting installed

Hi,
Short story short.
My twrp recovery is not able to install the lineage OS ROM. Initially no storage was getting mount and i tried few steps as per XDA's other threads.
Now still when i try to format my phone and re-installing the new OS the error comes that the Data is encrypted .
I tried some tips as per people's suggestion but still the problem persists.
Scenario: 1. no OS is there in my phone. 2. Cant access it via ADB as it doesn't read my phone.(i can access my internal storage now - previously couldn't)
3. OTG/SD card shows 0 MB even after trying all the methods( unable to mount storage error)
What shall i do as i need a working phone and no OS is present in it.
A help is strongly required. Thanks in Advance.
You need to format data from recovery, and then you an try again. Eventually have a look here https://forum.xda-developers.com/lenovo-p2/how-to/how-to-unbrick-phone-decrypt-flash-t3866270

Can not Access User Folders - LineageOS 17.1

Hi!
I have installed LineageOS 17.1 on my s5neolte, but when opening file manager there is no folders. Another example is when starting Camera getting "Insert an SD card before using the camera".
TWRP version is 3.6.0_9-0.
LineageOS 17.1 is official version 20211205
Before installing using ADB sideload I did a wipe of Dalvik/Art Cache, Cace, Data, Internal Storage, and System.
I have also tried previous versions of LOS and TWRP, but with the same result. Also tried "Swipe to Factory Reset" and "Repair or Change File System" in TWRP.
If someone could please help me out to solve this I would very much appreciate it.
Thanks,
Hekja
Solved. Got help from LuK1337 over at Reddit.
The solution is to use format internal storage in the Wipe section of TWRP.

Categories

Resources