[Q] CM9. can't mount /system rw - Acer Iconia Tab A100

Whenever I try and mount system as writable I get
Mount: operation not permitted
The error occurs whether I use adb or terminal.
Sorry! Realized after posting I'd gone into the wrong forum! Could a mod move it please? Or delete it and I'll make a new one?

Maybe try to download the ICS rooting.zip and run the macro using fastboot.

Open up terminal emulator and type:
su
mount -o remount,rw / system
Sent from my SPH-D710 using xda premium

bmxrideher said:
Open up terminal emulator and type:
su
mount -o remount,rw / system
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
This won't work on the a100. You still need the mempodroid exploit.

Works on mine. It's only a small price to pay to have the CM9 goodness on my tablet and it's R/W until next reboot.
Sent from my SPH-D710 using xda premium

bmxrideher said:
Works on mine. It's only a small price to pay to have the CM9 goodness on my tablet and it's R/W until next reboot.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
This method doesn't work on my tablet.
Isn' there any other method to acquire r/w?

bellaale said:
This method doesn't work on my tablet.
Isn' there any other method to acquire r/w?
Click to expand...
Click to collapse
Either of the ICS root methods in the dev section should fix it

bellaale said:
This method doesn't work on my tablet.
Isn' there any other method to acquire r/w?
Click to expand...
Click to collapse
You might try "busybox" after the su and before the mount command, e.g.: 'busybox mount -o remount,rw /system'
Busybox knows about these things.

AZBOLIVE
just type in "su" enter it then type commands as normal.
your permissions wont let you at present,
letting the system know to run su works good.
hope it helps!

Related

Remounting /system partition as r/w'able

Inve been messing around with "better terminal emulator" trying to mount the system partition using different syntax, when I input the "mount" command (this is all while busybox and flash_image are installed in /system/xbin) I get a return depicted by the images attached. Could someone with more technical prowess tell me what the output is telling me.
Sent from my T-Mobile myTouch 3G Slide using XDA App
Armyjon88 said:
Inve been messing around with "better terminal emulator" trying to mount the system partition using different syntax, when I input the "mount" command (this is all while busybox and flash_image are installed in /system/xbin) I get a return depicted by the images attached. Could someone with more technical prowess tell me what the output is telling me.
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
Well, your image is way too small to read.
Other image did not upload.
Sent from my T-Mobile myTouch 3G Slide using XDA App
Either way, you can't mount the /system partition as r/w except in recovery. The SPL security will not permit the partition to be written to in normal boot mode.
The images didn't upload properly I guess is there a better screen shot app I can use?
Sent from my T-Mobile myTouch 3G Slide using XDA App
Oh ok thank you
Sent from my T-Mobile myTouch 3G Slide using XDA App
Armyjon88 said:
Inve been messing around with "better terminal emulator" trying to mount the system partition using different syntax, when I input the "mount" command (this is all while busybox and flash_image are installed in /system/xbin) I get a return depicted by the images attached. Could someone with more technical prowess tell me what the output is telling me.
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
That image is really small... lol. I can't read it. At the moment, you can not mount the system until the phone is in recovery. THANKS HTC! hahaha.
Yeah I know but I think I figured it out I had the upload setting to low hopefully this fixes it.
Sent from my T-Mobile myTouch 3G Slide using XDA App
Does this work?
$ adb shell
$ su
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
in clockwork just go to the partitions menu and mount /system
mayormullet said:
Does this work?
$ adb shell
$ su
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
Thanks mayormullet, that one's going in my notes.
Worked like a charm

Superuser su binary

I've noticed that the su binary installed by superuser doesn't survive a reboot. Anyone else have this problem? Any fixes?
Sent from my SPH-D700 using XDA App
Same here. Have to re update after each reboot
Sent from my SPH-D700 using Tapatalk
same here, had to update the binary too
How do you update the su?
Launch superuser, go to settings and scroll to the bottom.
Sent from my SPH-D700 using XDA App
I've found 3 su:
/system/bin/jk-su (original from the oneclick/permanent)
/system/xbin/su (symlink to /sdx/su)
/sdx/su (superuser updates this one)
Superuser does not update /system/bin/jk-su so I decided to.
So far its working.
Sent from my SPH-D700 using XDA App
dangdang said:
I've found 3 su:
/system/bin/jk-su (original from the oneclick/permanent)
/system/xbin/su (symlink to /sdx/su)
/sdx/su (superuser updates this one)
Superuser does not update /system/bin/jk-su so I decided to.
So far its working.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
How did you update it yourself?
Here's what worked for me. Keep in mind I am rooted using oneclick 2.2.4 which comes with busybox and remount scripts.
1. Update the su binary using superuser.
2. Launch a terminal (I use better terminal emulator pro)
3. Run 'su' from the terminal
4. Mount system rw with 'remount rw'
5. Remove jk-su with 'rm /system/bin/jk-su'
6. Copy the su binary superuser installed with 'cp /sdx/su /system/bin/jk-su'
7. Reboot and it should survive.
Notes:
Do not include single quotes when running the commands.
I'm paranoid about permissions so as root in terminal I ran:
chown root.shell /system/bin/jk-su
chmod 755 /system/bin/jk-su
To match the permissions of the removed jk-su. I'm not sure if this was necessary.
I haven't tested using adb yet so I don't know the steps.
Sent from my SPH-D700 using XDA App
Code:
#cp /sdx/su /system/bin/jk-su
cp: not found
the last part does not work (i have the same root method)
i have to re-root the phone when i get home today. but i will try to move the updated binary with root explorer instead of the command line.
Replace 'cp' with 'busybox cp'.
Sent from my Android using CDMA
dangdang said:
Replace 'cp' with 'busybox cp'.
Sent from my Android using CDMA
Click to expand...
Click to collapse
will try I had the same issues
dangdang said:
Here's what worked for me. Keep in mind I am rooted using oneclick 2.2.4 which comes with busybox and remount scripts.
1. Update the su binary using superuser.
2. Launch a terminal (I use better terminal emulator pro)
3. Run 'su' from the terminal
4. Mount system rw with 'remount rw'
5. Remove jk-su with 'rm /system/bin/jk-su'
6. Copy the su binary superuser installed with 'cp /sdx/su /system/bin/jk-su'
7. Reboot and it should survive.
Notes:
Do not include single quotes when running the commands.
I'm paranoid about permissions so as root in terminal I ran:
chown root.shell /system/bin/jk-su
chmod 755 /system/bin/jk-su
To match the permissions of the removed jk-su. I'm not sure if this was necessary.
I haven't tested using adb yet so I don't know the steps.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
I have this exact same problem on my Samsung Moment (have to update SU every reboot).
The directory structure seem a bit different. For example, there's no /system/bin/jk-su (in fact, if I find / -name 'jk-su' I get no results at all).
I am poking around the directory structure trying to figure out where to find the source and destination su files that I'm going to have to overwrite and I can't seem to figure which is which. Does anyone have any idea how to do the functional equivalent of dangdang's post on a Moment?
Thanks!
Um... Why did you feel the need to necro this INCREDIBLY ANCIENT thread?
k0nane said:
Um... Why did you feel the need to necro this INCREDIBLY ANCIENT thread?
Click to expand...
Click to collapse
Because people like to bring out the bat again and continue to beat the remaining not decomposed guts out of the horse...
lmao
I was about to say. WTF is everyone talking about SU not surviving a reboot /noodlescratcher
davidrules7778 said:
Because people like to bring out the bat again and continue to beat the remaining not decomposed guts out of the horse...
lmao
Click to expand...
Click to collapse
k0nane said:
Um... Why did you feel the need to necro this INCREDIBLY ANCIENT thread?
Click to expand...
Click to collapse
It was the most relevant post after doing a search. Forum etiquette blows my mind. I can only imagine how much "use the search feature!" I'd have gotten if I'd have made a new post about this. Oh well, I tried.
lol. i hear ya!
DamienWind said:
It was the most relevant post after doing a search. Forum etiquette blows my mind. I can only imagine how much "use the search feature!" I'd have gotten if I'd have made a new post about this. Oh well, I tried.
Click to expand...
Click to collapse
DamienWind said:
It was the most relevant post after doing a search. Forum etiquette blows my mind. I can only imagine how much "use the search feature!" I'd have gotten if I'd have made a new post about this. Oh well, I tried.
Click to expand...
Click to collapse
most likely SU is built into your kernel and short of rebuilding or repacking your kernel you cant update it..
I have a samsung galaxy s I9000 running Gingerbread will this work for me..?

[GUIDE] Update CM without losing custom /system changes (ex Swype, keymap)

There's a really simple way to prevent CyanogenMod from overwriting your custom /system changes during an update. Create the file '/system/etc/custom_backup_list.txt' with a list of files within /system that you don't want to be overwritten.
For example, to prevent CM from wiping out Swype, open adb shell and type this:
Code:
mount -o remount,rw /system
cd /system/etc
echo lib/libSwypeCore.so >custom_backup_list.txt
echo app/Swype.apk >>custom_backup_list.txt
cd /
mount -o remount,ro /system
If you use teferi's custom keymap, do this:
Code:
mount -o remount,rw /system
cd /system/etc
echo lib/libSwypeCore.so >custom_backup_list.txt
echo app/Swype.apk >>custom_backup_list.txt
echo usr/keylayout/vision-keypad.kl >>custom_backup_list.txt
echo usr/keychars/vision-keypad.kcm.bin >>custom_backup_list.txt
cd /
mount -o remount,ro /system
Then the next time you flash CM, your changes to /system will still be there. If you want to see why this works, take a look at /system/bin/backuptool.sh
Hope this helps
Thanks! This is great; now I can easily keep my Email.apk that doesn't require me to enter a alphanumeric password every time I want to use the phone.
CM probably needs to overwrite build.prop but I've been changing the LCD density in this file. Is there a way to use a seperate file to override the lcd density so that i can let CM overwrite build.prop but still maintain lcd density after a flash?
Whatever commands you put in /data/local/userinit.sh will run at boot. So in adb shell, type this for a density of 215:
Code:
cd /data/local
echo setprop qemu.sf.lcd_density 215 >userinit.sh
awesome! thank you!
Don't suppose you would know how to get the CM update to not install/auto delete after installation apks like ADWLauncher and wifi calling?
Thank you!
This may be the long lost solution to my Swype and Cyan Problems. The new Release Candidates are destroying my swype and not liking it's return after installing the new Cyan. So, if this can basically help me update without losing much, it's a god send. Especially the LCD density.
You're a genius.
Thank you.
Hmm, seems the issue is still persistent. Thanks though.
Should userinit.sh and custom_backup_list.txt survive the upgrade or should they both be included in the backup list file?
Sent from my HTC Vision using XDA App
If you look at the actual script, it seems that it ignores the backuptool if .installscript exists, and in practice, I've noticed that nothing gets saved when flashing via ROM Manager. Is this, in fact, what's happening, and is there a way around it?
sundar2012 said:
awesome! thank you!
Don't suppose you would know how to get the CM update to not install/auto delete after installation apks like ADWLauncher and wifi calling?
Click to expand...
Click to collapse
You can put the following in /data/local/userinit.sh:
mount -o rw,remount /system
for apk in ADWLauncher.apk MS-HTCVISION-KNT20-02.apk
do
rm -f /system/app/$apk
done
for package in com.android.launcher
do
pm uninstall $package
done
mount -o ro,remount /system
exit 0
Click to expand...
Click to collapse
I haven't tried this for removing the Wifi Calling app, so ymmv. I remove a much larger set of apps myself (facebook, email, live wallpapers, amazon mp3 store, DSPManager, FileManager, Browser). http://wiki.cyanogenmod.com/index.php?title=Barebones has a list of apps that can be removed safely.
@cparekh -- what e-mail app is that? Or did you just use the pre-OTA's Email.apk app?
Rc4 has the trackpad wake fm radio and speaker led fixed its workng very smooth better than rc3
Sent from my HTC Vision using XDA App
sundar2012 said:
awesome! thank you!
Don't suppose you would know how to get the CM update to not install/auto delete after installation apks like ADWLauncher and wifi calling?
Click to expand...
Click to collapse
Just delete them from the cmupdate.zip before flashing. Cwm recovery doesn't require sig so u don't have to worry about resigning it.
OP: nice find, I'm sure ill use it at some point.
This is driving me crazy because I know I have used this command before but i cannot get it to work now... What is the deal?
Code:
$ mount -o remount,rw /system
Usage: mount [-r] [-w] [-o options] [-t type] device directory
Rooted using gfree on this phone. On my previous phone I used wpthis and did not have a problem. Anyone know what I need to do to mount rw?
cparekh said:
Thanks! This is great; now I can easily keep my Email.apk that doesn't require me to enter a alphanumeric password every time I want to use the phone.
Click to expand...
Click to collapse
I need that apk
Sent from my HTC Vision using XDA App
Used this method to when going from stock to CM 6.1.1 and could not get it to work. I had to push/install manually from ADB.
Anyone had any luck? I did what the OP said then flashed. Was I supposed to do anything after flashing wiping and then flashing (CM & gapps)?
rraxda said:
This is driving me crazy because I know I have used this command before but i cannot get it to work now... What is the deal?
Code:
$ mount -o remount,rw /system
Usage: mount [-r] [-w] [-o options] [-t type] device directory
Rooted using gfree on this phone. On my previous phone I used wpthis and did not have a problem. Anyone know what I need to do to mount rw?
Click to expand...
Click to collapse
Make sure you have root in the shell by typing su.
cparekh said:
Thanks! This is great; now I can easily keep my Email.apk that doesn't require me to enter a alphanumeric password every time I want to use the phone.
Click to expand...
Click to collapse
IConrad01 said:
@cparekh -- what e-mail app is that? Or did you just use the pre-OTA's Email.apk app?
Click to expand...
Click to collapse
chubb16 said:
I need that apk
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
I am also interested in that apk
How can I backup progress on Angry Birds? Drives me nuts starting back over when I reflash CM
Titanium backup. You can use it to restore the app and the data. Usually i just restore the data to a fresh install.

How to make some apps to remove or make it stop on 2.3?

Best dear xda members,
i was wondering how to remove apps or make them stop working example '' googlemaps ''
aygul12345 said:
Best dear xda members,
i was wondering how to remove apps or make them stop working example '' googlemaps ''
Click to expand...
Click to collapse
Info please.
Are you:
Rooted?
If Yes:
Using a custom ROM?
S-OFF?
If No, you need to be at least rooted. Please let me know exactly what your set up is.
rootSU said:
Info please.
Are you:
Rooted?
If Yes:
Using a custom ROM?
S-OFF?
If No, you need to be at least rooted. Please let me know exactly what your set up is.
Click to expand...
Click to collapse
Thanks fo ya reply,
i'm on 2.3 officeel htc rom,
Yes S -off,
Yes rooted
no not a custom rom, i'm on 2.3 officeel htc rom,
aygul12345 said:
Thanks fo ya reply,
i'm on 2.3 officeel htc rom,
Yes S -off,
Yes rooted
no not a custom rom, i'm on 2.3 officeel htc rom,
Click to expand...
Click to collapse
OK, s-off is the biggest enabler. You can do 3 things. 2 cost, one is more involved....
1) Simply "Freeze" the applications with titanium backup. This stops them running and hides them from the app drawer
2) Using root explorer, navigate to /system/app (mount R/W) and delete the apks.
3) Use adb (I have a guide for this but if you own either of the above applications, its not worth it).
If you were not s-off and using a custom rom, another option would be to remove the apk's from the rom zip file and reflash it. Thats not an option here though.
Hope this helps.
rootSU said:
OK, s-off is the biggest enabler. You can do 3 things. 2 cost, one is more involved....
1) Simply "Freeze" the applications with titanium backup. This stops them running and hides them from the app drawer
2) Using root explorer, navigate to /system/app (mount R/W) and delete the apks.
3) Use adb (I have a guide for this but if you own either of the above applications, its not worth it).
If you were not s-off and using a custom rom, another option would be to remove the apk's from the rom zip file and reflash it. Thats not an option here though.
Hope this helps.
Click to expand...
Click to collapse
I think to '' freeze '' best sulution is and to delete i gues...
Use ADB? why is it not worth for this? explain, i wanna learn it!
aygul12345 said:
I think to '' freeze '' best sulution is and to delete i gues...
Use ADB? why is it not worth for this? explain, i wanna learn it!
Click to expand...
Click to collapse
Oh ok, yeah if you want to learn...
Well its just more complex and uses command line. I have a guide to do this in my signature if you're interested.
If you want to learn adb and fastboot, I have an FAQ for those too. Read both of those
rootSU said:
Oh ok, yeah if you want to learn...
Well its just more complex and uses command line. I have a guide to do this in my signature if you're interested.
If you want to learn adb and fastboot, I have an FAQ for those too. Read both of those
Click to expand...
Click to collapse
But first... if i get it right... there a 3 ways to do it right? Step 1-2 must to do.. but what means step 3 ? How it works? What is the different about 1,2
Sent from my HTC Desire using xda premium
Im sorry, I dont know what you mean?
There's more to English than just words. I can't for the life of me, understand the meaning of this thread title. OP post seems ok, so why not make the title meaningful?
rootSU said:
Im sorry, I dont know what you mean?
Click to expand...
Click to collapse
Hahaha, you said they are 3 ways to do this, step 1 and 2 are the steps you must to do,
but like i said.. step 3 .. what is the diffence than about step 1 and 2? ,
Sent from my HTC Desire using xda premium
aygul12345 said:
Hahaha, you said they are 3 ways to do this, step 1 and 2 are the steps you must to do,
but like i said.. step 3 .. what is the diffence than about step 1 and 2? ,
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
Oh you mean Option 1, option 2 and option 3.
Option 1 and 2 use an application that you have to pay for. In fact these applications, all rooted users should own.
Option 3 uses adb so you have to connect to a PC to do it.
Actually, you could do it in terminal emulator if you are s-off, instead of adb, but adb is easier.
In adb, you can boot to recovery, connect to adb and simply
Code:
mount /system
where as in terminal emulator you would have to
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
But thats annoying to type on a soft keyboard.
Err.. I think there's two commands in that one line.
...which you need to mount system read / write whilst android is running. Unless you have a simpler line that works?
Code:
mount -o remount,rw /dev/block/mtdblock3 /system
-t should be required only the first time you mount it.
Droidzone said:
Code:
mount -o remount,rw /dev/block/mtdblock3 /system
-t should be required only the first time you mount it.
Click to expand...
Click to collapse
Seems to work. Whatys teh Yaffs2 actually doing then and why is it almost every solution on the internet?
yaffs2 needs to be specified the first time you're mounting something, or mounting after umounting, where you need the -t to specify file system type.
mount -t yaffs2 /dev/block/mtdblock3 /system
While specifying a re mount, system is already aware of the type.
Ah thank you.
rootSU said:
Oh you mean Option 1, option 2 and option 3.
Option 1 and 2 use an application that you have to pay for. In fact these applications, all rooted users should own.
Option 3 uses adb so you have to connect to a PC to do it.
Actually, you could do it in terminal emulator if you are s-off, instead of adb, but adb is easier.
In adb, you can boot to recovery, connect to adb and simply
Code:
mount /system
where as in terminal emulator you would have to
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
But thats annoying to type on a soft keyboard.
Click to expand...
Click to collapse
Soo.. step 1 and 2 are apps that cost, but yea indeed you must to pay it.
Soo option 3 is the easyist way? And can you learn me more about that coding/ commands, soo what do i have to download it?
Sent from my HTC Desire using xda premium
Have a read of the faq I wrote, then the guide. They both tell you what to download and do
Sent from my HTC Desire using Tapatalk
rootSU said:
Have a read of the faq I wrote, then the guide. They both tell you what to download and do
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Can you post the link please. i see differents lot a links of you.. give me the correct one.

Tasker/Secure Settings on Systemless Root

So i'm trying to create a profile in tasker to enable/disable airplane whenever i'm connected to Wifi and it seems SecureSettings isn't allowing root actions even though it has root privileges. Anyone know an app that works with tasker that can allow me to enable/disable airplane mode?
Thanks!
metpage said:
So i'm trying to create a profile in tasker to enable/disable airplane whenever i'm connected to Wifi and it seems SecureSettings isn't allowing root actions even though it has root privileges. Anyone know an app that works with tasker that can allow me to enable/disable airplane mode?
Thanks!
Click to expand...
Click to collapse
Is there any particular reason you are using systemless root?
Sent from my Nexus 5X using Tapatalk
Mainly for Android Pay to work but I'm not married to systemless root if system root makes this work. However I may have found a workaround using Locale instead.
Sent from my Nexus 5X using Tapatalk
In either a terminal on your phone, or via adb shell from the computer, enter these commands:
Code:
mount -o remount,rw /system
touch /sbin/su /system/bin/su /system/xbin/su
mount -o remount,ro /system
I can't remember if you need to reboot or not, but might as well, just in case. Afterward, run your task and allow Secure Settings root access.
After doing this, Tasker and Secure Settings works for me. If this doesn't fix your problem, I don't know.
Thanks I'll give this a shot if Locale doesn't work
Sent from my Nexus 5X using Tapatalk
lightningdude said:
In either a terminal on your phone, or via adb shell from the computer, enter these commands:
Code:
mount -o remount,rw /system
touch /sbin/su /system/bin/su /system/xbin/su
mount -o remount,ro /system
I can't remember if you need to reboot or not, but might as well, just in case. Afterward, run your task and allow Secure Settings root access.
After doing this, Tasker and Secure Settings works for me. If this doesn't fix your problem, I don't know.
Click to expand...
Click to collapse
I have the same problem, running CF-Autoroot on my S7 edge. I would like to try your trick but am not sure how to exactly . Could you please explain a little bit more in detail how this is done?
EDIT: nevermind, i solved it my self using THIS method.
Thanks in advance.
Works for Secure settings, but it's broken Titanium backup
When I try to implement this in adb I get the following:
mount: '/dev/block/platform/soc.0/f9824900.sdhci/by-name/system'->'/system': Device or resource busy
Can anyone help? Would greatly appreciate it. Thanks!
facted said:
When I try to implement this in adb I get the following:
mount: '/dev/block/platform/soc.0/f9824900.sdhci/by-name/system'->'/system': Device or resource busy
Can anyone help? Would greatly appreciate it. Thanks!
Click to expand...
Click to collapse
Try using this command instead:
mount -o rw,remount /system
It worked for me
PiousInquisitor said:
Is there any particular reason you are using systemless root?
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
is there system root for 7.0 or is this thread about 6.0.1?
niklus101 said:
is there system root for 7.0 or is this thread about 6.0.1?
Click to expand...
Click to collapse
There are unofficial versions in in the super su section here.
LSI said:
Works for Secure settings, but it's broken Titanium backup
Click to expand...
Click to collapse
Yeh, unfortunately, it does, same with AdAway.
Does it have to do with Android N or is it about the fact that touch /sbun/su fails due to sbin being read only?
If someone knows a solution, that would be great.
LSI said:
Works for Secure settings, but it's broken Titanium backup
Click to expand...
Click to collapse
I have the same problem with this too. It would be great to have a solution, or at least knowing how to reverse it would be great.
lightningdude said:
In either a terminal on your phone, or via adb shell from the computer, enter these commands:
Code:
mount -o remount,rw /system
touch /sbin/su /system/bin/su /system/xbin/su
mount -o remount,ro /system
I can't remember if you need to reboot or not, but might as well, just in case. Afterward, run your task and allow Secure Settings root access.
After doing this, Tasker and Secure Settings works for me. If this doesn't fix your problem, I don't know.
Click to expand...
Click to collapse
Do you hit enter at each line?
I'm doing this exact thing with Tasker and Magisk. I just had to add a quick edit to my build.prop, and then Tasker could recognize root with Magisk, and it worked fine.
Fit some reason I'm getting this error when dropping the commands
That's because it's mount -o not -0.
I just got secure settings and tried these commands in terminal. However they don't work. I get device or resource busy.
I'm on PureNexus 7.1.1 root via supersu on my Nexus 5x IF that matters in any way.
Edit: never mind. Solved it by replacing 0 with o. *Facepalm*
I've encountered the same problem in Android 7.1.2 and the above solution didn't work out for me. Secure Settings system+ is unavailable.
Any other solutions?
The first command
mount -o remount,rw /system
gave me the following result:
mount: '/dev/block/platform/msm_sdcc.1/by-name/system' not user mountable in fstab
1|jfltexx:/ $
It seems like an error.
akran said:
I've encountered the same problem in Android 7.1.2 and the above solution didn't work out for me. Secure Settings system+ is unavailable.
Any other solutions?
The first command
mount -o remount,rw /system
gave me the following result:
mount: '/dev/block/platform/msm_sdcc.1/by-name/system' not user mountable in fstab
1|jfltexx:/ $
It seems like an error.
Click to expand...
Click to collapse
Try this:
Code:
mount -o rw,remount /system
touch /sbin/su /system/bin/su /system/xbin/su
mount -o ro,remount /system
I'll share how I fixed this problem, which might be a LOT easier for some people.
Install a file manager that has root access (ie Root Explorer).
Navigate to /system/bin
Click whatever button to mount /system as rw.
Create a directory (or file) and call it su
Reboot phone
Open Secure settings and enable root.
At this point (and with above solutions, Android Pay is broken. If you want it back.
Open file manager again.
navigate to /system/bin
mount rw
delete the su folder (or file) you created earlier.
reboot.
Secure Settings only checks for su file the first time. Once it's been granted access, it no longer looks for su, it just tells the system it needs root access. So it will work the way its supposed to, even though it no longer can find the su file in expected location.
Also, for those that don't know, "touch" creates a file. So if you want to pass SafetyNet still, go back and delete the 3 files created from the touch command. And note that you only need to do 1 of them, not all 3, for Secure Settings to work.

Categories

Resources