All I want to do is replace my hosts file with a larger, more robust one to reduce the ads I see when browsing the internet and running apps.
It seems like no matter what I do, I can't mount the filesystem on my Note 10.1 N8013 to make changes to /system. I am rooted, I have SU, and whether I use ES File Explorer, give access to root and permission to mount filesystem as r/w, or I use Root Explorer, browse to /etc and click the Mount r/w button, or I use adb remount or adb shell, su, and remount rw, I absolutely cannot get r/w access.
Please tell me someone has figured out how to make this work for the Note 10.1.
Bumping.
Did you gain root access using the root injected method. This is a known problem by using that method. The only way to fix this (temporarly) is to boot into cwm and fix permissions. This should allow you to do what you please. Also use a different root browser because i noticed certain ones like root explorer borks it again which makes you have fix the permissions again. That is why i said its a temporary fix. But ever since i started using the paid version of Root Browser (which is very well worth the 99 cents btw) I have not seen this problem pop up since.
Sent from my GT-N8013 using Tapatalk 2
I was about to ask the same question.
Rooted using injection.
Deleted a few apps using Root Explorer, but for some reason I had to fix permissions and reboot every time.
I used Root Explorer [paid] but the problem still persists.
I also used Solid Explorer- I can only modify once until needing to fix permission.
Anyone found a solution yet?
I used titanium to convert some app to system, and does the app that are convert are greenify, xposed frame work and also gravity box.
1. Does the convert give the app priority to do the process without root permission and work as a original system app does? or the app still need root permission to run?
2. if the converted app still need the root permission to run, so is there any way to make it without root permission and run it ?
3. is there any way to hide a root app when it is running?
I know some of those step can be solve by flashing the other ROM, but I'm curious about the answer of without flashing the ROM.
Xposed framework isn't an app. You must have move the xposed installer.
1) nope
2) nope
3) what are you trying to achieve?
Sent from my Nexus 5 using Tapatalk
Yu-Peng Lee said:
I used titanium to convert some app to system, and does the app that are convert are greenify, xposed frame work and also gravity box.
1. Does the convert give the app priority to do the process without root permission and work as a original system app does? or the app still need root permission to run?
2. if the converted app still need the root permission to run, so is there any way to make it without root permission and run it ?
Click to expand...
Click to collapse
Converting a user app to a system app has no effect on the permissions, it just moves the app from the user partition to the system partition. A root app still needs root access to run.
Yu-Peng Lee said:
3. is there any way to hide a root app when it is running?
Click to expand...
Click to collapse
Hide it from what?
I am trying to move an app from /data/app to system/priv-app. I never encountered this issue before.
My Nexus 7 2013 LTE tablet (deb/razorg) was acting up and I had a bunch of apps on it. I figured the easiest thing to do is just wipe the thing and start fresh. So I used Nexus Root Toolkit to flash the latest version of stock OS (6.0.1 (MOB30X)) and then I rooted it using the latest Magisk (v18).
So I have root, I am able to see all the files in /. I tried using FX with mount R/W (tried mount R/W on "/", "/System" and "/system/priv-app") to copy the app folder from /data/app to /system/priv-app., however it failed.
I tried using 'App systemizer (Terminal emulator)' created by veez21 with Terminal emulator to move the app, but that didn't work either... despite App systemizer stated it was done.
I figured it could be the OS so i tried flashing it again and rerooting it again with Magisk, same issue and I tried an earlier version of the stock OS (6.0.1 (MMB30S)) same issue. Tried it again on the latest OS and this time rooted it with NRT instead of Magisk, same issue.
I clearly have root as titanium backup works fine with restoring apps.
So I think for some reason the OS is denying me write access to /system/priv-app, despite I did mount r/w.. I think I did all the steps correctly..so I am wondering if anyone can point me in the right direction. .. maybe I am missing a step somewhere..
pennywaltz said:
I am trying to move an app from /data/app to system/priv-app. I never encountered this issue before.
My Nexus 7 2013 LTE tablet (deb/razorg) was acting up and I had a bunch of apps on it. I figured the easiest thing to do is just wipe the thing and start fresh. So I used Nexus Root Toolkit to flash the latest version of stock OS (6.0.1 (MOB30X)) and then I rooted it using the latest Magisk (v18).
So I have root, I am able to see all the files in /. I tried using FX with mount R/W (tried mount R/W on "/", "/System" and "/system/priv-app") to copy the app folder from /data/app to /system/priv-app., however it failed.
I tried using 'App systemizer (Terminal emulator)' created by veez21 with Terminal emulator to move the app, but that didn't work either... despite App systemizer stated it was done.
I figured it could be the OS so i tried flashing it again and rerooting it again with Magisk, same issue and I tried an earlier version of the stock OS (6.0.1 (MMB30S)) same issue. Tried it again on the latest OS and this time rooted it with NRT instead of Magisk, same issue.
I clearly have root as titanium backup works fine with restoring apps.
So I think for some reason the OS is denying me write access to /system/priv-app, despite I did mount r/w.. I think I did all the steps correctly..so I am wondering if anyone can point me in the right direction. .. maybe I am missing a step somewhere..
Click to expand...
Click to collapse
Let's try to cover the bases and go from there.
1) root checker verifies the device is rooted?
2) you have Magisk root manager installed?
3) you have the latest version of busybox installed and have granted it root permission.
4) you have gone to system settings>developer options>root access and have set root access to "apps and adb"? (you may or may not have this setting)
5) you have set mount R/W? (you have also granted your file manager/root explorer superuser/root permissions?)
6) your bootloader is unlocked? (this may or may not be necessary)
7) you have set your SELinux polcy to "permissive" mode instead of "enforcing mode? (this may or may not be necessary)
8) have you checked to see if there are any Magisk modules that you might need?
9) you said that Titanium Backup is working, Titanium Backup has a feature that converts user apps into system apps for you, have you tried this option?
Sent from my LGL84VL using Tapatalk
REsponses below
Droidriven said:
Let's try to cover the bases and go from there.
1) root checker verifies the device is rooted? Based Root Checker I am rooted
2) you have Magisk root manager installed? Yes I have Magisk Manager installed, safetynet passed
3) you have the latest version of busybox installed and have granted it root permission. Yes, installed to /system/sbin
4) you have gone to system settings>developer options>root access and have set root access to "apps and adb"? (you may or may not have this setting) Not an option
5) you have set mount R/W? (you have also granted your file manager/root explorer superuser/root permissions?) Yes, FX has roots right based on Supersu and i have mounted R/W prior to pasting it into the director
6) your bootloader is unlocked? (this may or may not be necessary) It is unlocked
7) you have set your SELinux polcy to "permissive" mode instead of "enforcing mode? (this may or may not be necessary) Base on App Systemizer, SE Enabled is False, therefore I assume it is off
8) have you checked to see if there are any Magisk modules that you might need? Not that I know of, I have moved this app as system without it on my Nexus 7 before without any other modules and also have done it on my Pixel 1 phone without it
9) you said that Titanium Backup is working, Titanium Backup has a feature that converts user apps into system apps for you, have you tried this option? Yup tried it, it just hangs there, nothing happens
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
Sounds like I covered all my bases... so I am puzzled
Hey all, long time no see. Anyways, I'd like to be able to do quite a few adb commands without actually using adb here locally on the device. So I was curious and started thinking, could you use adb to grant a terminal emulator app (i.e. Termux, the one I use) permissions such as DUMP and WRITE_SECURE_SETTINGS, or whatever else it may need to perform certain commands like clear cache and install apps. I obviously don't have root (Dag on US Carriers). Maybe I don't have a great understanding of what these permissions do? Any help is appreciated.
Unfortunately you cannot just pop into adb and try to give the app the permission, as termux doesn't request it. Termux:API does not as well. I saw somewhere over on Github some guy edited the source of Termux:API and added more APIs to use, I just don't know how to compile an app from source)
Thanks,
Gavin
Craz Basics said:
Hey all, long time no see. Anyways, I'd like to be able to do quite a few adb commands without actually using adb here locally on the device. So I was curious and started thinking, could you use adb to grant a terminal emulator app (i.e. Termux, the one I use) permissions such as DUMP and WRITE_SECURE_SETTINGS, or whatever else it may need to perform certain commands like clear cache and install apps. I obviously don't have root (Dag on US Carriers). Maybe I don't have a great understanding of what these permissions do? Any help is appreciated.
Unfortunately you cannot just pop into adb and try to give the app the permission, as termux doesn't request it. Termux:API does not as well. I saw somewhere over on Github some guy edited the source of Termux:API and added more APIs to use, I just don't know how to compile an app from source)
Thanks,
Gavin
Click to expand...
Click to collapse
Terminal Emulator is the same thing as ADB shell(adb shell, not the normal adb), anything that can be done from PC using ADB shell can also be done using Terminal Emulator app, the commands are the same except the "adb" or "adb shell" part is removed from the command.
For example "adb reboot recovery" would instead be "reboot recovery" or "adb shell dumpstate" would instead be "dumpstate".
Some commands might not work or might need other protocols, parameters or switches added to the command.
But, unfortunately, you can't set Termux or any other app to have access to change or pull anything from system without root, if you don't have root, you're wasting your time. You cant change anything about the system without root unless you have TWRP, it can do whatever it wants to do and the device can't stop it.
Sent from my LGL84VL using Tapatalk
Droidriven said:
Terminal Emulator is the same thing as ADB shell(adb shell, not the normal adb), anything that can be done from PC using ADB shell can also be done using Terminal Emulator app, the commands are the same except the "adb" or "adb shell" part is removed from the command.
For example "adb reboot recovery" would instead be "reboot recovery" or "adb shell dumpstate" would instead be "dumpstate".
Some commands might not work or might need other protocols, parameters or switches added to the command.
But, unfortunately, you can't set Termux or any other app to have access to change or pull anything from system without root, if you don't have root, you're wasting your time. You cant change anything about the system without root unless you have TWRP, it can do whatever it wants to do and the device can't stop it.
Click to expand...
Click to collapse
I understand it's the same thing, and I'm not wanting to change anything related to the system. I'm wanting to do commands such as install apps and clear data. It gives me errors when I try and do this, because I don't have permission. If I am understanding correctly, you can decompile an app, add in the appropriate APIs for the permission, and recompile it. This way you won't get an error when you try to give it a permission (adb shell pm grant com.termux android.permission.WRITE_SECURE_SETTINGS). It tells me the app doesn't request this permission.
Craz Basics said:
I understand it's the same thing, and I'm not wanting to change anything related to the system. I'm wanting to do commands such as install apps and clear data. It gives me errors when I try and do this, because I don't have permission. If I am understanding correctly, you can decompile an app, add in the appropriate APIs for the permission, and recompile it. This way you won't get an error when you try to give it a permission (adb shell pm grant com.termux android.permission.WRITE_SECURE_SETTINGS). It tells me the app doesn't request this permission.
Click to expand...
Click to collapse
If you want the app to be able to access those permissions then you need to push the app to /system to make it a system app, apps outside of system can't access those permissions.
After moving the app to system, boot to recovery and wipe only the cache partition(if you have custom recovery, wipe dalvik cache also), then reboot the device.
But, unfortunately, you aren't rooted so it isn't an option for you, you need to root your device.
But even that won't help, see here:
https://stackoverflow.com/questions...-permission-error-even-when-added-in-manifest
Sent from my LGL84VL using Tapatalk
Droidriven said:
If you want the app to be able to access those permissions then you need to push the app to /system to make it a system app, apps outside of system can't access those permissions.
After moving the app to system, boot to recovery and wipe only the cache partition(if you have custom recovery, wipe dalvik cache also), then reboot the device.
But, unfortunately, you aren't rooted so it isn't an option for you, you need to root your device.
Click to expand...
Click to collapse
Take SystemUI Tuner from the Play Store for example, it requires those permissions to do its thing. It does NOT need to be a system app to utilize them, they just need to be granted manually via adb. Greenify does this as well.
As for root, I would if I could. Verizon Note 9 is locked down like Fort Knox.
Craz Basics said:
Take SystemUI Tuner from the Play Store for example, it requires those permissions to do its thing. It does NOT need to be a system app to utilize them, they just need to be granted manually via adb. Greenify does this as well.
Click to expand...
Click to collapse
Yes, some apps can access that permission, but it's built into the app, it isn't just granted via adb or terminal. Read some of the link that I posted above. As far as I knew, accessing secured settings/permissions required root and/or unlocked bootloader, but, things always change. Granted, over the years, things change and trickier things have to be done get mods and apps to do certain things without root, but it's not quite changing/accessing the system.
Sent from my LGL84VL using Tapatalk
Droidriven said:
Yes, some apps can access that permission, but it's built into the app, it isn't just granted via adb or terminal. Read some of the link that I posted above. As far as I knew, accessing secured settings/permissions required root and/or unlocked bootloader, but, things always change. Granted, over the years, things change and trickier things have to be done get mods and apps to do certain things without root, but it's not quite changing/accessing the system.
Click to expand...
Click to collapse
Just took a look, strange. Greenify and SystemUI Tuner are considered 3rd party, correct? Maybe it's it's something with their signature? (I don't know much about signatures either)
And yes I'm aware you have to add it into the app, the app requests it and you can grant it via adb.
Think my question is answered now anyway, no lol. Thanks for your responses man.
Hey guys,So um i am using redmi note 10 miui 12.5.3 global and i pulled the stock miui camera and gallery apk using adb pull commands. I plan to install pixel experience custom rom. How would i install these in that rom?
Would require this custom ROM gets rooted, phone's bootloader gets permanently unlocked, phone's Android's AVB permanently gets disabled, as also phone's Android's SELinux permanently gets disabled.
can i find links for tutorial on how to do this?
and even if I managed to do all these,what do i do after that? would the apk install just like that?
ahmed6392 said:
and even if I managed to do all these,what do i do after that? would the apk install just like that?
Click to expand...
Click to collapse
If the APKs are of type
system-app
then you've to mount device's /system partition
user-app
then you've to mount device's /data partition
as RW before installing the APKs.
i've done the three steps. i didnt understand the last thing.How do i install the apks? do i need a seperate installer or a custom recovery? could you please explain and the apks are of system-app
You simply install them by means of ADB
Code:
adb devices
adb install <LOCATION-OF-APK-FILE-ON-PC-HERE>