I am having trouble rooting Samsung j7 Perx SM-J727P. - General Questions and Answers

I am totally new to rooting, not sure what I've done wrong.
I started trying to root my SM-J727P by installing TWRP with Odin. This works fine, then I added the superSU v2.82 file to the device's microSD card. I went to install tab in TWRP recovery mode->select storage->Micro SD card->superSU.
Then when I try to flash it, a red message appears saying "Could not mount /data and unable to find crypto footer. Failed to mount /data (Invalid Argument). At the bottom it says "Failed to mount /system (Device or Resource Busy). Failed to mount /data (Invalid Argument.)
After this I read that I need to format storage.
I went to wipe->format data->typed yes and the same message appears, "Failed to mount /system (device or resource busy).
I'm extremely new to this so I don't really know what I'm talking about but do I need to disable dm-verity?
Any help would be greatly appreciated.

ColoPhone said:
I am totally new to rooting, not sure what I've done wrong.
I started trying to root my SM-J727P by installing TWRP with Odin. This works fine, then I added the superSU v2.82 file to the device's microSD card. I went to install tab in TWRP recovery mode->select storage->Micro SD card->superSU.
Then when I try to flash it, a red message appears saying "Could not mount /data and unable to find crypto footer. Failed to mount /data (Invalid Argument). At the bottom it says "Failed to mount /system (Device or Resource Busy). Failed to mount /data (Invalid Argument.)
After this I read that I need to format storage.
I went to wipe->format data->typed yes and the same message appears, "Failed to mount /system (device or resource busy).
I'm extremely new to this so I don't really know what I'm talking about but do I need to disable dm-verity?
Any help would be greatly appreciated.
Click to expand...
Click to collapse
I now have manually mounted system and no errors showed, after tapping reboot system, the phone entered a bootloop. Not sure if this is supposed to happen or not and if it is, how long does it take?

ColoPhone said:
I now have manually mounted system and no errors showed, after tapping reboot system, the phone entered a bootloop. Not sure if this is supposed to happen or not and if it is, how long does it take?
Click to expand...
Click to collapse
This happened to me when I was doing my first root with samsung. What I did was completely start over with a new stock ROM and TWRP. Be sure you have all the right things ticked on Odin. What I had to do with my sm-j700p was un-tick auto-restart when done, and when the TWRP was done flashing, I had to remove the battery instead of wait for it to shut down. Then QUICKLY go into recovery mode by pressing the buttons after you turn it back on. Flash ROM. If I remember correctly, I was so good from there, but the timing with samsung when pushing the buttons apparently is EVERYTHING.
And making sure it is the correct TWRP file. I also made the mistake of picking the wrong TWRP file. Same model and carrier...different year of phone. Software version number is where it's at to get the best info.
Good luck!

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)

Wrong pit file? storage decreased to 4gig and device wont boot

Something went wrong with my s6 g920f, am having only 9gig of internal storage which i had left on my previous rom after i try to flash stock fw not knowing auto repartition has being checked, Device wont boot after first samsung s6 logo and lifeless blank screen with led blue fading. Am still able to boot to download mode and twrp(always with failed to mount sbfs)
flashing stock fw again and boot to Android recovery i get E: failed to mount /efs (invalid argument)
yemkoid said:
flashing stock fw again and boot to Android recovery i get E: failed to mount /efs (invalid argument)
Click to expand...
Click to collapse
Try using one of these http://forum.xda-developers.com/galaxy-s6/general/g920f-pit-file-banded-firmwares-t3118459 select the appropriate pit. Add it and dont change anything in Odin.
Am now having 10gbs free of internal memory!
Using twrp terminal for following commands
mke2fs /dev/block/mmcblk0p3
couldnt stat /dev/block/mmcblk0p3--- No such file or directory
The device apparently does not exist; did you specify it correctly?
Found my old stock rom backup which I restored now my phone boots but storage is now 16gig, 10gig used by system and 5.89gig free... G920F baseband version G920FXXU3DPBT

Mutlirom Recovery Update---->Bootloop

Hello all
I just updated the multirom recovery after a year of successfully using it with 4 different roms, which 1 of them is ubuntu and now am stuck in a bootloop.
Whatever rom I try to boot it kicks me back to the rom selection screen. It must be something wrong with multirom recovery because even when I select to boot into bootloader or even Shutdown the phone from the multirom menu it just bootloops to the same screen again.
I'd really appreciate any kind of help you can give, it's extremely important I don't lose my roms. I want to save the phone as is.
Any ideas? Would really appreciate it.
-Regards.
I can't install any version of Multirom through twrp recovery. It always gives me error 7.
I also can't install a new rom. It says "Failed to create rom folder(Read only file system)".
I flash the AK kernel succesfully but at the end it gives me these errors:
E: Unable to mount '/data'
Failed to mount /data partition!
Updating partition details...
E: Unable to mount '/data'
...done
E: Unable to mount storage
Click to expand...
Click to collapse
Is there something rom with my file system?
Please, any idea would be really appreciated.

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.

no possible way to mount everything in my phone (orangefox)

so I was trying to flash custom rom and everything go just fine and then for the flashing repartitoner part my phone just restart itself for some reason after the flashing and I thought everything should've been normal but it's not for the part that I flash customrom.zip I started noticing "can't mount /data /system /system_root /cache (invalid argument) and I think it's easy to find tutorial how to fix them on youtube
here's what I found on youtube and tried
1.wipe everything (not working and can't even mount anything)
2.format data(yep still impossible it's just red and say "failed to mount"
3.change filesystem(yep still impossible)
my phone is samsung j7 2016 (j7xelte) or sm-j710f
here's the clip (of me trying every ways to fix the problem
sorry if my english is bad
this is the log I got from advanced > copy log
nvm fixed using twrp/orangefox terminal and delete /data /cache /system /vendor folder and then try to "repair partition" and now it says that it's presented now

Categories

Resources