[Q] Root Access Denied help - AT&T HTC One (M8)

Hey everyone. I'm using my htc one m8 and I rooted my phone last night. Decided today to install Xposed Installer. When I hit install, a window pops up saying
Copying Xposed-Disable-Recovery.zip...
Mounting /system writable...
Segmentation fault
Could not mount /system writable
Trying to continue anyway...
Segmentation fault
Failed to create a backup of /system/bin/app_process
Then reboots my phone. I go into SuperSU and there is Xposed Installer with a green # next to it. I tap it and click forget to try and reinstall it. Sometimes the Root Access Failed message appears. Most times it's the message above. Please help!

Maybe a dumb question: but you did unlock your bootloader?

Make your system writable
Sent from my HTC One_M8 using Tapatalk

Related

[Tutorial] Root Your EVO3D with Automated Scripts

Simple to use. Useful for those who want ROOT access via ADB or Device for Backup, etc. It is a modified scripts from Doomlord and some1 in the CDMA threads...
Prerequisites
1) Uninstall all HTC Sync & Drivers
2) Download and install http://downloads.unrevoked.com/HTCDriver3.0.0.007.exe
3) Make sure your device Display is set to NEVER TURN OFF & not locked in the lockscreen
Instructions
1. Download attachment
2. Extract to C:\
3. Execute file Step 1
4. Execute file Step 2. If doesnt work, go to C:\files and execute Step 2
5. Remount SD card again from the DEVICE SETTINGS page
This will work for all devices not limited to EVO 3D.
For locked bootloaders (any versions), this will result in a temporary ROOT access, and will be lost after reboot.
Please feedback for whichever H-Boot this works on.
Thanks to our following comrades...
Team Revolutionary with their ZergRush exploit
http://forum.xda-developers.com/show...1296916&page=2
DoomLord with the automated script
http://forum.xda-developers.com/show....php?t=1321582
For the third guy I cant remember where.. maybe the CDMA section with the permatemproot stuff..
With this script, Titanium Backup and Root Explorer will definitely work even on LOCKED bootloaders (will lose root after reboot, just rerun the script)
For problems especially with SUPERUSER FCs, please download and run the .bat file in the UNROOT.zip. This will clean the system of all old temp root stuffs like superusers, etc...
Appreciate your thanks..
i dun understand why but it didn't work as did ur last tool, it always saids adb server out-of-date, re running or sth, it does the same in every step, and when it comes to moving files/manipulating permissions, i just get loads of errors
I'm on HBOOT 1.49.0012
P.S. i cant unlock using HTC Unlock method too no matter how many times i try (i read the instructions carefully and followed them closely) but still got unlock token check failed error......
tomanlam said:
i dun understand why but it didn't work as did ur last tool, it always saids adb server out-of-date, re running or sth, it does the same in every step, and when it comes to moving files/manipulating permissions, i just get loads of errors
I'm on HBOOT 1.49.0012
P.S. i cant unlock using HTC Unlock method too no matter how many times i try (i read the instructions carefully and followed them closely) but still got unlock token check failed error......
Click to expand...
Click to collapse
Reboot your device and try again... see edited post above..
Not sure about HTC Unlock method...
For UNLOCKED evos, it will give permanent ROOT access
For LOCKED evos, it will give temporary ROOT access
If you have problem unlocking, try grabbing a RUU file here and reflash your ROM... maybe factory reset wont hurt either...
it has run thru all the process with success, but when i try to open root explorer it show superuser force close???
looknsee said:
it has run thru all the process with success, but when i try to open root explorer it show superuser force close???
Click to expand...
Click to collapse
Also the Same thing happened to me !!!!
Yup, not working here either.
It says it installs everything ok, but when I go to update the su binary, it force closes out. When I use TI backup, it says I don't have root access.
Hope this helps so that we can at least get temp root. I just want to remove the bloatware!
Thanks for the hard work in any event!
tried this on sensation xl and it worked, root access to some apps like root explorer but terminal says access denied. it seems to unmount the internal sd card which programs need to run and only a reboot remounts sdcard but obviously root is gone after reboot. hope one of the XL devs can use this to create a working solution for our XL
ObsoleteSoldier said:
Yup, not working here either.
It says it installs everything ok, but when I go to update the su binary, it force closes out. When I use TI backup, it says I don't have root access.
Hope this helps so that we can at least get temp root. I just want to remove the bloatware!
Thanks for the hard work in any event!
Click to expand...
Click to collapse
dont need to update the SU binary.. just run the scripts and they are good to go...
however, SYSTEM/APP are in locked partition of the bootloader.. you may need to unlock your bootloader first.. but you may remove some in the Data/app llike gmail and stuffs (i prefer Exchange email than using Gmail app)
shingers5 said:
tried this on sensation xl and it worked, root access to some apps like root explorer but terminal says access denied. it seems to unmount the internal sd card which programs need to run and only a reboot remounts sdcard but obviously root is gone after reboot. hope one of the XL devs can use this to create a working solution for our XL
Click to expand...
Click to collapse
If your bootloader is unlocked, then you may be able to reboot and still have root..
Can I use these scripts to get root access without s-off ?
wasdly said:
Can I use these scripts to get root access without s-off ?
Click to expand...
Click to collapse
S-OFF not required.
FULL ROOT if UNLOCKED BOOTLOADERS
TEMP ROOT if LOCKED BOOTLOADERS
Reason : Files in SYSTEM partition are locked, hence changes made are temporary and will be lost after reboot
Yep full root acheived with u.locked bootloader on HTC sensation xl. Confirmed and working
Sent from my HTC Nexus One using xda premium
Just tried on my HK Evo3D (HBoot 1.49.0012, completely stock, no HTC unlock) and it works. But it took me a few trials to get it working.
For those who have problems with the script (e.g., permission problems during the script) try:
(In the following steps, make sure ur evo3d is disconnected from ur pc when you reboot it. Just to make sure that it is clean.)
1) reboot your phone
2) run the unroot script
3) reboot once more
4) run the root script "Step 1.bat"
5) *** go into the "files" directory ***, and run the "Step 2.bat"
6) at this step you should see the superuser is installed (check the app drawer)
7) go to Settings to mount your sd card
I have managed to root it and run through a titanium backup successfully. Thanks for the great work!
Though temp root is gained, system is still mounted as read-only
tried these, neither one worked:
1) adb remount
"remount failed: Read-only file system"
2) su; busybox mount -o remount,rw /system
No messages, no errors. But still system is in ro mode:
# busybox mount -o remount,rw /system
busybox mount -o remount,rw /system
# mount | grep system
mount | grep system
/dev/block/mmcblk0p22 on /system type ext4 (ro,relatime,barrier=1,data=ordered)
3) su; fixit; busybox mount -o remount,rw /system
Same result.
Seems, after running "Step 1.bat", the /system is temporary mounted as "rw", (that's why the script could complete without warnings/errors). But after Step 2 finishes, /system is back to "ro" no matter what...
Any insights?
ktchana said:
Just tried on my HK Evo3D (HBoot 1.49.0012, completely stock, no HTC unlock) and it works. But it took me a few trials to get it working.
For those who have problems with the script (e.g., permission problems during the script) try:
(In the following steps, make sure ur evo3d is disconnected from ur pc when you reboot it. Just to make sure that it is clean.)
1) reboot your phone
2) run the unroot script
3) reboot once more
4) run the root script "Step 1.bat"
5) *** go into the "files" directory ***, and run the "Step 2.bat"
6) at this step you should see the superuser is installed (check the app drawer)
7) go to Settings to mount your sd card
I have managed to root it and run through a titanium backup successfully. Thanks for the great work!
Click to expand...
Click to collapse
ktchana said:
Though temp root is gained, system is still mounted as read-only
tried these, neither one worked:
1) adb remount
"remount failed: Read-only file system"
2) su; busybox mount -o remount,rw /system
No messages, no errors. But still system is in ro mode:
# busybox mount -o remount,rw /system
busybox mount -o remount,rw /system
# mount | grep system
mount | grep system
/dev/block/mmcblk0p22 on /system type ext4 (ro,relatime,barrier=1,data=ordered)
3) su; fixit; busybox mount -o remount,rw /system
Same result.
Seems, after running "Step 1.bat", the /system is temporary mounted as "rw", (that's why the script could complete without warnings/errors). But after Step 2 finishes, /system is back to "ro" no matter what...
Any insights?
Click to expand...
Click to collapse
1) Reboot phone
2) Connect in DEBUG MODE
3) Run Step 1 script
4) Run Unroot script
5) Reboot phone
6) Connect in DEBUG MODE
7) Run Step 1
8) Run Step 2
You may have previously attempted some other methods, therefore you need to clean the system first...
If your bootloader is LOCKED, you still can gain TEMPORARY ROOT access and run you Titanium Backup (restore settings, data apps).. however, the SYSTEM partition is still locked, which means, whatever changes you done to the SYSTEM partition (like restoring some SYSTEM apps) will be lost after reboot.
I got forceclose with the superuser.
I dont know why, but i guess the root process was finished
Got temp root and su support with untampered stock (vodafone branding), unlocked bootloader HBoot 1.49.0018 on HTC EVO 3D GSM shooteru
System continues to be (expectedly) in ro mode.
Lost access to SD card, had to reboot to use it again...
Permanently disabled without any problems some apps that were bugging me - Thanks
Christoph
bdigitalstudio said:
1) Reboot phone
2) Connect in DEBUG MODE
3) Run Step 1 script
4) Run Unroot script
5) Reboot phone
6) Connect in DEBUG MODE
7) Run Step 1
8) Run Step 2
You may have previously attempted some other methods, therefore you need to clean the system first...
If your bootloader is LOCKED, you still can gain TEMPORARY ROOT access and run you Titanium Backup (restore settings, data apps).. however, the SYSTEM partition is still locked, which means, whatever changes you done to the SYSTEM partition (like restoring some SYSTEM apps) will be lost after reboot.
Click to expand...
Click to collapse
Thanks for your inputs. But my phone was completely stock and I have never tried other root methods before trying this one.
I observed that, /system actually get rw for a short time after the mount -o remount,rw command in step 1. But somehow it will get back to ro by itself. The time is unpredictable in a sense that sometimes step 1 script cannot finish successfully (cannot copy busybox, su to /system because it changes back to ro so quickly).
I know that the SYSTEM rw is just an overlay and all changes will be gone once rebooted. I am asking this because I just wonder if I could playaround and test something like changing fonts without s-off or HTC unlock.
---------- Post added at 05:13 AM ---------- Previous post was at 05:10 AM ----------
-Ho- said:
I got forceclose with the superuser.
I dont know why, but i guess the root process was finished
Click to expand...
Click to collapse
After temp root, go to market and install superuser again. Then run apps like titanium backup and it should work. At least in my case.
---------- Post added at 05:18 AM ---------- Previous post was at 05:13 AM ----------
chw9999 said:
Got temp root and su support with untampered stock, unlocked bootloader HBoot 1.49.0018 on HTC EVO 3D GSM shooteru
System continues to be (expectedly) in ro mode.
Lost access to SD card, had to reboot to use it again...
Permanently disabled without any problems some apps that were bugging me - Thanks
Christoph
Click to expand...
Click to collapse
After temp root the SD card is unmounted, that's why you can't use it. Did you go to Settings to mount the SD card again?
ktchana said:
Thanks for your inputs. But my phone was completely stock and I have never tried other root methods before trying this one.
I observed that, /system actually get rw for a short time after the mount -o remount,rw command in step 1. But somehow it will get back to ro by itself. The time is unpredictable in a sense that sometimes step 1 script cannot finish successfully (cannot copy busybox, su to /system because it changes back to ro so quickly).
I know that the SYSTEM rw is just an overlay and all changes will be gone once rebooted. I am asking this because I just wonder if I could playaround and test something like changing fonts without s-off or HTC unlock.
---------- Post added at 05:13 AM ---------- Previous post was at 05:10 AM ----------
After temp root, go to market and install superuser again. Then run apps like titanium backup and it should work. At least in my case.
---------- Post added at 05:18 AM ---------- Previous post was at 05:13 AM ----------
After temp root the SD card is unmounted, that's why you can't use it. Did you go to Settings to mount the SD card again?
Click to expand...
Click to collapse
Re-do it again only the first time got FC from superuser
After i got the FC, i cleared the data of superuser
Everything seems work
Thanks
ktchana said:
After temp root the SD card is unmounted, that's why you can't use it. Did you go to Settings to mount the SD card again?
Click to expand...
Click to collapse
Yep, it dawned on me and I found that option - now I can use Titan to backup everything
Is there a possibility to add automatic remounting the SD into the script using adb? I am not really familiar with this...
Thanks again
Christoph

[Q] not able to mount system as read/write properly

Hey guys,
I'm having a problem with ES file explorer. After several days I managed to root my HUawei U8800 Ideos X5 (Android 2.3.5) and obviously one of the next steps is installing CWMR. Unfortunately I'm failing here too. I tried to copy the recovery.img to the .cust_backup/image, but it keeps to say copy failed. Root access was given and I checked all four boxes in root settings. Someone in a german forum told me to update the binarys in SU, which failed too (it says sth like copy su to /system -> failed!). I'm not even sure ES FE would work if the binarys would be current.
Is there someone who can help me? Any ideas?
I already tried the app Mount /system (rw / ro). It didn't work with this too.
Thanks a lot.
no ideas?
You must have the /system folder mounted for read and write, default is read-only.
Different folders in the file structure could be located on different file systems, the easiest way to be sure that you have read and write access were you want to put files, imho, is by using root explorer.
If you are rooted and ES have root permissions then the problem is that the folder is non-writable. I don't know the app you tried to use to mount the /system as r/w but it's easy to do in root explorer or through adb shell with a little bit of *nix knowledge (su and mount -o remount,rw).
Should work from terminal emulator app as well.
C:\Users\...>adb push C:\recovery.img /.cust_backup/image/
failed to copy 'C:\recovery.img' to '/.cust_backup/image//recovery.img': Read-on
ly file system
before I typed
adb shell
$ su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Doesn't work. adb etc. is installed.
I'm really desperate about this now, I think something is really wrong with my system partiture or something like that. I consider formatting it, the problem I obviously have is that without CWMR I have no clue how to do that and how to flash an OS after it. Does someone have ideas about the whole issue? Interesting facts about my device: Often I'm not able to flash a stock ROM, it stops somewhere in the middle of the process. Rooting works often, but not always with SuperOneClick or zergrush. At the moment my superuser app says "root app_63" in a red font instead of "root root" in a green font, at least I have current binaries at the moment, but this doesn't work always as well. Seems like I am pretty alone with all these problems, that's why I want to format /system...
Please help me! Thanks
Give root explorer a try!
Sent from my OC ed mind.!
Why would you think that would work? ES File Explorer does basically the same...
Dont EVER try to format /system or u r gonna end up completely bricked. Just take your phone to a service centre and see what can be done. If you are under warranty, replace the mobile.
Hope i helped .
Sent from my GT-S5360 using XDA-Developers App.

[Q] 4.0.3 HTC Temp Root Question

Hello everybody,
i have gained root access to my phone via backup/restore method through adb where local.prop is stored in /data/. So when i log onto my phone with adb i have root access. I copied busybox, su and the superuser.apk to the right place and removed the local.prop file again. After a reboot I was hoping to remove some crapware off my phone but to my surprise the binaries i copied vanished from the filesystem. So the phone reverted the changes by itself. I did this process several times copying busybox and su to various places referred to by $PATH, but it´s everytime the same after i reboot. The files are gone.
After the first attempts failed i tried to make changes to my phone while logged in as root. I wanted to uninstall unnecessary packages with "pm uninstall" but that failed also. The command just responds "failed". Even when /system is mounted rw (it remounts itself to ro after a while though). I´ve also made changes to /init.rc but they are also gone after a reboot as other changes i´ve made. Basically i wasn´t able to accomplish anything with root access no matter what i did.
So what i want to know is how this black magic works andy why i cant do anything with root. I know how to achieve real root through htc dev and various other methods.
Thanks for reading!
nasenstueber said:
Hello everybody,
i have gained root access to my phone via backup/restore method through adb where local.prop is stored in /data/. So when i log onto my phone with adb i have root access. I copied busybox, su and the superuser.apk to the right place and removed the local.prop file again. After a reboot I was hoping to remove some crapware off my phone but to my surprise the binaries i copied vanished from the filesystem. So the phone reverted the changes by itself. I did this process several times copying busybox and su to various places referred to by $PATH, but it´s everytime the same after i reboot. The files are gone.
After the first attempts failed i tried to make changes to my phone while logged in as root. I wanted to uninstall unnecessary packages with "pm uninstall" but that failed also. The command just responds "failed". Even when /system is mounted rw (it remounts itself to ro after a while though). I´ve also made changes to /init.rc but they are also gone after a reboot as other changes i´ve made. Basically i wasn´t able to accomplish anything with root access no matter what i did.
So what i want to know is how this black magic works andy why i cant do anything with root. I know how to achieve real root through htc dev and various other methods.
Thanks for reading!
Click to expand...
Click to collapse
is your RECOVERY.img
and beside i dont really think your /system is fully mounted rw
mauricio.valladolid said:
is your RECOVERY.img
and beside i dont really think your /system is fully mounted rw
Click to expand...
Click to collapse
Thanks for the reply. i use mount -o remount,rw /system as mount command to get read/write permission on /system. If there is something more to do please let me know. And if the behavior i ve seen is caused by the recovery.img is there something i can do about it?
nasenstueber said:
Thanks for the reply. i use mount -o remount,rw /system as mount command to get read/write permission on /system. If there is something more to do please let me know. And if the behavior i ve seen is caused by the recovery.img is there something i can do about it?
Click to expand...
Click to collapse
why dont you just install ext4 recovery and flash supersu.zip?
I really dont get it why are you trying to do it the hard way

[Q] cant delete old mount point

Hi,
I have a nexus 7 2013 with 4.2, rooted.
I was using stickmount to mount a usb HD and the nexus crashed and now after rebooting (a number of times)
I have sdcard/usbStorage/sda1/nexus directory and I can not delete this dir and this is messing up trying to mount any drives now.
both the nexus and the sda1 directories give a permission denied when trying to delete them. I also tried as root with the same result.
any ideas how to get rid of these ?
thanks
HD
solution
harrydrip said:
Hi,
I have a nexus 7 2013 with 4.2, rooted.
I was using stickmount to mount a usb HD and the nexus crashed and now after rebooting (a number of times)
I have sdcard/usbStorage/sda1/nexus directory and I can not delete this dir and this is messing up trying to mount any drives now.
both the nexus and the sda1 directories give a permission denied when trying to delete them. I also tried as root with the same result.
any ideas how to get rid of these ?
thanks
HD
Click to expand...
Click to collapse
Well I got the files removed but I'm not sure how a regular user would ever do it if they have a similar problem.
I rebooted into TWRP custom recovery and unmounted the data partition. Then from the TWRP command line I first did
a e2fsck -y -f /dev/block/mmcblk0p30 and it found a few errors and fixed them. After rebooting I was still not able to delete the files so I rebooted into TWRP again and mounted /data and from there I was able to delete the files. Not sure what was locking them and why when booted normally they could not be removed.

[Q] Xposed framework installation trouble

Before anything i'd like to state that I searched the forums and the web before posting here and havent found a fix yet.
So my problem is that I cant seem to install the xposed framework on my SG Note 2.
Its Japanese made from NTT Docomo. Its an SC-02E. I have rooted the device with vipsavior's JB 4.3 root files and I have SuperSU working. The problem is that whenever I try to install (directly to the system) this error pops up.
SD card: /storage/emulated/0/Android/data/
de.robv.android.xposed.installer/files
Copying Xposed-Disabler-Recovery.zip...
Mounting /system writable...
mount: permission denied (are you root?)
Could not mount /system writable
Trying to continue anyway...
cp: cant create '/system/bin/app_process.orig': Read-only
file system
Failed to create a backup of /system/bin/app_process
So I'm at a loss. I dont understand, I am rooted and i've verified it with root checker. I have updated my SU binaries. I have installed busybox. Ive tried reinstalling xposed installer multiple times and different versions as well as rebooting.. Still to no success. I've tried installing Xposed using flash to recovery option but that soft bricked my phone (fixed that by flashing the root firmware i used to root through odin)
I'd also like to note that above the xposed frameworks install/update buttons; the app_process and Xposedbridge.jar numbers are missing under the active column and instead have 3 red dashes each. I've tried setting SeLinux app on permissive... still nothing. Any help please. I dont know what to do.

Categories

Resources