cant root after android O update - Samsung Galaxy A3, A5, A7 (2017) Questions & Answe

I have installed android O and have TWRP installed but when i try and flash Super SU through TWRP it fails and does not root, i dont know why or if ayone else has experienced this problem on the A5 2017 but if someone has and knows how to fix it please let me know

elderwolf123 said:
I have installed android O and have TWRP installed but when i try and flash Super SU through TWRP it fails and does not root, i dont know why or if ayone else has experienced this problem on the A5 2017 but if someone has and knows how to fix it please let me know
Click to expand...
Click to collapse
47 views and no reply, come on. i had to update and reformat as my phone was playing up, i have data for work apps that i need to restore. how can an old thread about the january security update be active still yet one about the Android O update gets ignored

What error do you get while installing in twrp. send logs screenshots
Btw you have to be patient mate. It takes time for people to understand your problem and find solution
You can try magisk also if you want

jfk999 said:
What error do you get while installing in twrp. send logs screenshots
Btw you have to be patient mate. It takes time for people to understand your problem and find solution
You can try magisk also if you want
Click to expand...
Click to collapse
it wont mount data and then when it mounts it spits out an error saying it cant patch the ram disk, also i have had it too many times where i have asked a question just to have it ignored to this day

Your device is encrypted, you need to format data to decrypt device and flash root and flash the zip to disable encryption, dont know where the zip file is.

24imelqui said:
Your device is encrypted, you need to format data to decrypt device and flash root and flash the zip to disable encryption, dont know where the zip file is.
Click to expand...
Click to collapse
if i disable encryption then safety check will always fail. i didn't have to earlier but every time i delete data and try it fails saying ram disk cant be patched or restored

I have the same issue as jfk999 except having data wiped, i have tried everything i know and so far to no avail. last time i isued the no encrypt zip it broke safety net and most of my apps including the phones stability. https://forum.xda-developers.com/samsung-a-series-2017/help/root-issues-oreo-t3800852

elderwolf123 said:
I have the same issue as jfk999 except having data wiped, i have tried everything i know and so far to no avail. last time i isued the no encrypt zip it broke safety net and most of my apps including the phones stability. https://forum.xda-developers.com/samsung-a-series-2017/help/root-issues-oreo-t3800852
Click to expand...
Click to collapse
SuperSU isn't really compatible with Oreo as it needs some patches to work which it's unlikely to get.
Magisk is now the premier root solution and the most up to date for Oreo and includes the relevant patches.

ashyx said:
SuperSU isn't really compatible with Oreo as it needs some patches to work which it's unlikely to get.
Magisk is now the premier root solution and the most up to date for Oreo and includes the relevant patches.
Click to expand...
Click to collapse
I tried magisk and it failed, i must just be unlucky and also some root apps and pc programs dont like Magisk

elderwolf123 said:
I tried magisk and it failed, i must just be unlucky and also some root apps and pc programs dont like Magisk
Click to expand...
Click to collapse
Failed in what way?
If you have an app that has issues then you need to notify the developer of that app.

Failing in patching ramdisk points to possible error in boot image.You can try the method given by moozer in my post that helped me patch the boot image.I guess that would solve your problems
Also try starting from scratch..try downloading clean rom from sammobile and start over.
Hope that helps

ashyx said:
Failed in what way?
If you have an app that has issues then you need to notify the developer of that app.
Click to expand...
Click to collapse
same as Super Su, wiped data and it failed to patch the ramdisk and then it couldnt restore it, it looped my device so I had to use the Magisk uninstaller to fix it. All i have done since updating is install TWRP and tried rooting which is failing

elderwolf123 said:
same as Super Su, wiped data and it failed to patch the ramdisk and then it couldnt restore it, it looped my device so I had to use the Magisk uninstaller to fix it. All i have done since updating is install TWRP and tried rooting which is failing
Click to expand...
Click to collapse
Please post the TWRP recovery log(file only) so I can fix this.

ashyx said:
Please post the TWRP recovery log(file only) so I can fix this.
Click to expand...
Click to collapse
I tried dumping the logs but it failed, magisk sais there is already root and super SU says another error. i dont have root so i cant fix it for starters and im not wiping my phone again if i can avoid it as even with backing up my data im losing some and last thing i need is to lose a really important photo i have

elderwolf123 said:
I tried dumping the logs but it failed, magisk sais there is already root and super SU says another error. i dont have root so i cant fix it for starters and im not wiping my phone again if i can avoid it as even with backing up my data im losing some and last thing i need is to lose a really important photo i have
Click to expand...
Click to collapse
How do you mean it fails?
Just select save recovery.log and save to sd card.

ashyx said:
How do you mean it fails?
Just select save recovery.log and save to sd card.
Click to expand...
Click to collapse
i did that and the logs didnt save

elderwolf123 said:
i did that and the logs didnt save
Click to expand...
Click to collapse
When i do it my phone picks up the main storage as an SD and always has then there is the Micro SD. it tries mounting the data partition to copy it but it fails

elderwolf123 said:
When i do it my phone picks up the main storage as an SD and always has then there is the Micro SD. it tries mounting the data partition to copy it but it fails
Click to expand...
Click to collapse
That's why I said save to micro sd card. Just select micro sd as default storage then save.

ashyx said:
That's why I said save to micro sd card. Just select micro sd as default storage then save.
Click to expand...
Click to collapse
And how am i ment to do that? cant do it through Android and i dont think i can do it through TWRP
This is what the TWRP log says when I try and dump logs to SD
Could not mount /data and unable to find crypto footer
Failed to mount '/data' (invalid argument)
Unable to recrate /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
MTP Enabled
Failed to mount '/data' (invalid argument)
Copied recovery log to /data/media.
I am running 3.0.2-0 TWRP as thats all i could find and get

elderwolf123 said:
And how am i ment to do that? cant do it through Android and i dont think i can do it through TWRP
This is what the TWRP log says when I try and dump logs to SD
Could not mount /data and unable to find crypto footer
Failed to mount '/data' (invalid argument)
Unable to recrate /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
MTP Enabled
Failed to mount '/data' (invalid argument)
Copied recovery log to /data/media.
I am running 3.0.2-0 TWRP as thats all i could find and get
Click to expand...
Click to collapse
Mount/select storage/micro sd card.

Related

Problem with recovery

Well people i have problem with my recovery because i wanna install a rom and when i choose apply update from sdcar show me this error Faile to mount /sdcard ( No Such file or directory ) E: Can't mount /sdcard. Install from sdcard complete. I need help plz what to do?
Kirbin17 said:
Well people i have problem with my recovery because i wanna install a rom and when i choose apply update from sdcar show me this error Faile to mount /sdcard ( No Such file or directory ) E: Can't mount /sdcard. Install from sdcard complete. I need help plz what to do?
Click to expand...
Click to collapse
Need a bit more info mate, do you mean CWM recovery or stock recovery? Also are you using a custom Kernel like Merruk? Which ROM are you trying to install? Tell us and we can help you
Kirbin17 said:
Well people i have problem with my recovery because i wanna install a rom and when i choose apply update from sdcar show me this error Faile to mount /sdcard ( No Such file or directory ) E: Can't mount /sdcard. Install from sdcard complete. I need help plz what to do?
Click to expand...
Click to collapse
Or you could just remove and reinsert your SD card and try again.
Thnks people but i solution this problem i only use the panasonic formatt and this work Thnks
Kirbin17 said:
Thnks people but i solution this problem i only use the panasonic formatt and this work Thnks
Click to expand...
Click to collapse
or you could just have used your phone to format your sd card

External SD not recognized in Rom or Recovery

Hi, i didn't use my m8 for a while. I had flashed a Liquid-Smooth Lollipop-Rom and wanted to setup the phone again until i noticed that the external SD card is not mounted and not recognized at all.
SD card itself is not the issue, i tried it on different phones and computers, it worked all fine, formatted it in FAT32 etc.. It's working on any other system, but not with the m8. Also other cards are not working with the phone.
I tried PhilzRecorvery and TWRP and the Cyanogenmod 12+13 (using adb sideload), no changes at all.
My Phone is S-ON, at the moment i use TWRP v2.8.7.0 and Cyanogenmod 12.1.
Using the partitioning function of TWRP it says
E: Unable to locate device or partition
Click to expand...
Click to collapse
If i go to the Wipe menue and select "Micro SDcard" and "SD-Ext" it says:
E: mkdosf process emded with ERROR=1
E: Unable to wipe ' /external_sd' .
E: Unknown MTP message type: 1
E: Unable to wipe 'external_sd'
Updating partition details...
...done
Updating partition details...
...done
Click to expand...
Click to collapse
I hope these are all the necessary infomations. I am not very experienced in modding android, but at least i know how to flash roms and the basic sdk-plattform tools, whatever.
Thank you very much and please be kind, i am not an expert!

Wipe anything in TWRP causes many Fails

I have installed TWRP and SuperSU following instructions here and it all works but If I try to install any zips or do any sort of wiping i get a list of error messages :
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (invalid arguement)
Unable to recreate /data/media folder.
Unable to mount storage.
etc
I have tried reinstalling TWRP and SuperSU, even tried reinstalling firmware and still get the errors. My phone seems to be working fine as long as nothing goes wrong or I imagine I can't install a ROM
Any advice would be greatfully appreciated.

[Help] /data partition empty/corrupted

I have a Samsung Galaxy S3 (SGH-I747). It was running fine on CM13 nightlies. One night I needed the phone for calculator (odd enough lol) and noticed it was turned off. I turned it back on. It seemed like it was just gonna boot like it usually does but I got a bootup message claiming that the /data partition is corrupted and needs to be reset to continue using the phone.
I followed the phones instructions and did the reset (I've had to factory reset before I really didn't care). It booted to TWRP (3.0.2-0) and started the factory reset. The log for the recovery showed many errors. Heres the log if I just boot into TWRP without doing anything:
Code:
[COLOR="Red"]Failed to mount /data and unable to find crypto footer.
Failed to mount '/data' (No such file or directory)[/COLOR]
[COLOR="red"]Unable to recreate /data/media folder.[/COLOR]
Updating partition details...
[COLOR="red"]Unable to mount '/data' (No such file or directory)[/COLOR]
...done
[COLOR="red"]Unable to mount storage
Failed to mount '/data' (No such file or directory)[/COLOR]
Full SELinux support is present.
Running boot script...
Done.
[COLOR="red"]Unable to mount /data/media/TWRP/.twrps[/COLOR]
MTP Enabled
[COLOR="red"]Failed to mount '/data' (No such file or directory)[/COLOR]
The same errors pop up when wiping the device too.
Here's what i've tried:
The corrupt data reset (didn't work)
Reinstalling a new copy of CM13 (didn't help)
I also have tried flashing stock images (AT&T) firmware. Did not work, the AT&T system says the /data partition is corrupted too and cannot do anything about it.
NOTE: The /data partition info in TWRP shows the size as 0MB!
I've posted for help on the cyanogenmod forums but no avail so far. I do not what to do next and need some suggestions.
Thanks.
Have you tried Odin to flash the stock firmware?
StoneyJSG said:
Have you tried Odin to flash the stock firmware?
Click to expand...
Click to collapse
That's what I used to get the stock firmware on it in the first place...
I'm still learning how to mod and customise android so I completely missed this.
The fix was as simple as changing the filesystem into a different format on TWRP..
Sent from my SAMSUNG-SGH-I747 using Tapatalk
TechGuyAnthony said:
I'm still learning how to mod and customise android so I completely missed this.
The fix was as simple as changing the filesystem into a different format on TWRP..
Sent from my SAMSUNG-SGH-I747 using Tapatalk
Click to expand...
Click to collapse
thanks for posting fix as i'm sure it will help others.
"err on the side of kindness"

Problems with data partition

Hi,
I tried to flash viperOS using squid twrp for moto G5S, but something in the process i think i did wrong.
My phone model is montana xt1790.
I unlocked the bootloader.
I tried to install the recovery, but had same problem than @dau999
dau999 said:
Bootloader gives me a notification that the img is not signed or corrupt (squids one)
Click to expand...
Click to collapse
I tried to flash "no-verity-opt-encrypt-5.1.zip" file posted as solution here https://forum.xda-developers.com/showpost.php?p=74813124&postcount=23.
After this i have working the recovery, but i believe this is what did wrong:
With debug mode enabled, after a wipe clean (Cache, Data, Dalvik/ART and system) and format data (wipe all your apps, backups, pictures, videos, media and removes encryption on internal storage) got this errors:
Code:
Could not mount /data and unable to find crypto folder.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Unable to mount storage.
Unable to mount /data/media/TWRP/.twrps
Failed to mount '/data' (Invalid argument)
After this errors i flashed ViperOS, but after first boot it, first thing viper OS ask me was the phone password, after i enter it, the phone show up a message saying that password is ok but data is corrupt, restarting and trying to fix my phone without success (same errors like failed to mount /data)
Also i tried to use the "repair or change file system" selecting Data partition, twrp show me this: http://oi65.tinypic.com/2prin8y.jpg, also i got this errors:
Code:
/sbin/fsck.f2fs /dev/block/mmcblk0p54 process ended with ERROR: 255
Unable to repair Data
What should i do?, i don't know is related with an encryption on data partition, or if this can be solve.
EDIT:
Found the solution in reddit: www.reddit.com/r/AndroidQuestions/comments/7w5c75/used_the_format_data_option_in_twrp_recovery_on/
Just fixed the issue after making a second format in TWRP ( WIPE > FORMAT DATA)

Categories

Resources