What is "Trust System User" ? - SuperSU

Hello people.
Far as I understand this option is to make apps that are stored in /system/app gain root access without asking user. However, the apps that I have moved to /system/app folder still ask for root access nonetheless. Isn't it system apps that is meant by "system user?"
Thanks in advance.

remorseful said:
Hello people.
Far as I understand this option is to make apps that are stored in /system/app gain root access without asking user. However, the apps that I have moved to /system/app folder still ask for root access nonetheless. Isn't it system apps that is meant by "system user?"
Thanks in advance.
Click to expand...
Click to collapse
System user is uid 1000. Apps in /system/app do not run as the system user.

Chainfire said:
System user is uid 1000. Apps in /system/app do not run as the system user.
Click to expand...
Click to collapse
This is because the boot looped in S6.
Please S6 Czech and to create the appropriate file.

Related

[Q] move apps into stock rom odexed

Guy How can I move applications into the system without causing them to crash, I tried it with titanium and terminal emulator but only rootexplorer okay....?
angel.sea said:
Guy How can I move applications into the system without causing them to crash, I tried it with titanium and terminal emulator but only rootexplorer okay....?
Click to expand...
Click to collapse
To move some apps like android terminal emulator you must add lib(from this app) to /system/lib or something else. About titanium backup/pro i preffer to stayin' it in /data
Alucard1989pl said:
To move some apps like android terminal emulator you must add lib(from this app) to /system/lib or something else. About titanium backup/pro i preffer to stayin' it in /data
Click to expand...
Click to collapse
Titanium does not move these lib when moving applications to / system / app?
Link2Sd?
Sent from my GT-S5830i using xda app-developers app
Alucard1989pl said:
To move some apps like android terminal emulator you must add lib(from this app) to /system/lib or something else. About titanium backup/pro i preffer to stayin' it in /data
Click to expand...
Click to collapse
Titanium does not move these lib when moving applications to / system / app?ne Someone told me that if i don't deodex my rom i risk to crash all applications*
try luck with root explorer
I do not know how to pull these libraries, to move I can use the terminal emulator ... someone can tell me where I find them?
angel.sea said:
Titanium does not move these lib when moving applications to / system / app?ne Someone told me that if i don't deodex my rom i risk to crash all applications*
Click to expand...
Click to collapse
I don't never say the Titanum backup can moves libs or something
Alucard1989pl said:
I don't never say the Titanum backup can moves libs or something
Click to expand...
Click to collapse
Sorry for my english but it was a question
angel.sea said:
Sorry for my english but it was a question
Click to expand...
Click to collapse
OK i mean the some app like Root Explorer don't need to move lib(s) (from this app) to /system/lib to working fine without ForceClose(FC) but some apps like Android Terminal Emulator need to move lib(s) (from this app, just open it like package file as rar or zip with 7zip or winrar on PC and copy lib(s) from folder(s)) to /system/lib. But i don't know how Titanum Backup work when you copy this app to /system/app and change permisions(rw-r--r-- / 644) and restart phone. Maybe it'll work good without FC or will FC . I hope you understand what i tell you
Kevo9513 said:
Link2Sd?
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
^^ THIS
make sure you have root, download and install Link2SD then grand access to root permission (if not using to to make more space or its orginal intended use) then skip when it asks for partition info by pressing back.
select app you want to move then select convert to system app for normal apps or intergrade update into system for updates to system apps like playstore etc.
REBOOT phone after doing it all to get rid of forsed closes. Some apps dont like being used like this. You can also try Apps2Rom in playstore I have used but prefer L2SD as I use it for more memory my linking apps to the SD

How remove the Blotwares STEP by STEP

With the intention of helping all those who have difficulties in removing blotwares even with programs like TITANIUM and others..
Here is a small step by step that I did to remove the blotwares..
STEP - 1
You install the app available in the playstore, called System app remover Https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp&hl=en_US
1.1)
You need to install the app available in the playstore, called Termux Https://play.google.com/store/apps/details?id=com.termux&hl=en_US
1.2)
grants root access to the 2 apps.
STEP - 2
Perform apk removal With the Termux application open,
you enter as root
-> su (enter as root)
You should now allow to modify the directory system
-> mount -o remount, rw -t rfs /dev/stl5 /system
Now you need to get into the "System app remover" application and pick up the APP directory you want to remove.
-> rm -r [DIRECTORY]
Now you need to return the directory system to read only, 'ro', to prevent malicious activities
-> mount -o remount, ro -t rfs /dev/stl5 /system
Restart your phone and you can see that the app is no longer on your device.
NOTE: If you can not go back to read only, after the system reboot you will be able to.
My mobile got much faster and with no crashes after deleting these apps ...
I had difficulty removing blotwares from a rom I downloaded that is available on this link for ZUK Z2 PRO
https://forum.xda-developers.com/zuk-z2-pro/development/miui-8-version-zuk-z2-pro-t3563578
ALERT: As all androis have the same command system, should work for any device, but be careful not to remove applications essential for system operation. It can cause an infinite loop in system reboot.
If you have a rooted phone, you can just download "ES Datei Explorer", grant root access and remove the folders in /system/app , /system/priv-app , /system/preload of the apps you don´t want. After reboot, you´ll just have to remove the icons from your homescreen.
Make a backup by moving the folders somewhere else. You´ll never know when you need one of these "unnecessery" apps.
Tuerkay said:
If you have a rooted phone, you can just download "ES Datei Explorer", grant root access and remove the folders in /system/app , /system/priv-app , /system/preload of the apps you don´t want. After reboot, you´ll just have to remove the icons from your homescreen.
Make a backup by moving the folders somewhere else. You´ll never know when you need one of these "unnecessery" apps.
Click to expand...
Click to collapse
Well thought, I'm accustomed to using linux, commands are the same, so it was something that I created in a "homemade" way and decided to share. This app actually displays the root directory, so, it's very good and less difficult, but the app remover can be useful for help you to know what file you need remove..
Thanks for adding the information ..
This is the link what app he's talking about
https://play.google.com/store/apps/details?id=com.estrongs.android.pop
Grants root access and go to directory for remove the file you want.
can anything be done without rooting?
akyiboy007 said:
can anything be done without rooting?
Click to expand...
Click to collapse
This procedure can not do without root, but, have one way you can do without root, i never tested.
This is the link, for Android 4.4, i don't know if works for 5.0 , 6.0 or 7.0, take a look...
https://www.xda-developers.com/how-to-remove-bloatware-from-your-android-device-xda-tv/

use ROOT apps with unrooted Android 6

Hello I would like to know if it is posible.
I want to use some apps like titanium on my unrooted android 6
I have installed TWRP
so I think flashing the aps from zip in TWRP, setting root permission to the apps and placed on system apps, they are going to work like root?
Please help me, thanks!
??
publi0147 said:
Hello I would like to know if it is posible.
I want to use some apps like titanium on my unrooted android 6
I have installed TWRP
so I think flashing the aps from zip in TWRP, setting root permission to the apps and placed on system apps, they are going to work like root?
Please help me, thanks!
Click to expand...
Click to collapse
No, that isn't how that works, sorry. There is no such thing as "setting root permission". Simply moving the apps to /system won't allow them to get root, because you aren't rooted.
npjohnson said:
No, that isn't how that works, sorry. There is no such thing as "setting root permission". Simply moving the apps to /system won't allow them to get root, because you aren't rooted.
Click to expand...
Click to collapse
and why other preinstalled apps can work as root?
publi0147 said:
and why other preinstalled apps can work as root?
Click to expand...
Click to collapse
They don't... Because root doesn't exist on stock devices.
They do run as the system user, but that isn't enough for any root apps to function alone, as root apps rely on writing to non-user writable directories, which the system user cannot do.

Help moving user app to system partition...

I'm having a problem getting to move any user app to the system partition on my Nexus 6. I'm using the Pure Nexus ROM, now rooted with Magisk, Android 7.1.2. The thing is, I have tried to do so when I was on Stock ROM, also tried it with SuperSU root instead of Magisk with no difference whatsoever. Link2SD doesn't work but neither worked system/app mover by j4velin.
What should I do to get that to work? Thanks in advance...
You're using Magisk... There are modules for that.
Two actually. And they can be installed from the Manager:
https://forum.xda-developers.com/apps/magisk/module-terminal-app-systemizer-ui-t3585851
https://forum.xda-developers.com/showthread.php?t=3477512
Take your pick.
Didgeridoohan said:
You're using Magisk... There are modules for that.
Two actually. And they can be installed from the Manager:
https://forum.xda-developers.com/apps/magisk/module-terminal-app-systemizer-ui-t3585851
https://forum.xda-developers.com/showthread.php?t=3477512
Take your pick.
Click to expand...
Click to collapse
Well right now for some reason Magisk isn't installing anything on my device, however I was wondering, if there is a method which installs the app as system and that the app continues to be there even if I unroot my device?
Dorlan2001 said:
Well right now for some reason Magisk isn't installing anything on my device, however I was wondering, if there is a method which installs the app as system and that the app continues to be there even if I unroot my device?
Click to expand...
Click to collapse
The whole design concept of Magisk is to protect the system partition from being modified. It does that by sym-linking directories. Using Magisk, as designed, the apps will go into the Magisk.img, not system. When booted, it'll look like the apps are in system but if you unroot they'll be gone.
If you don't care about modifying the system partition, you can move an app manually. User apps are in /sdcard/data/app and system apps are in /system/app. Once moved, you'll have to edit the permissions for the folder to rwxr-xr-x (755) and the apk inside the folder to rw-r--r-- (644).
ktmom said:
The whole design concept of Magisk is to protect the system partition from being modified. It does that by sym-linking directories. Using Magisk, as designed, the apps will go into the Magisk.img, not system. When booted, it'll look like the apps are in system but if you unroot they'll be gone.
If you don't care about modifying the system partition, you can move an app manually. User apps are in /sdcard/data/app and system apps are in /system/app. Once moved, you'll have to edit the permissions for the folder to rwxr-xr-x (755) and the apk inside the folder to rw-r--r-- (644).
Click to expand...
Click to collapse
Thanks for the info mate! It was really helpful to me to get to understand how Magisk works, and to be able to make the changes I wanted to my system using Root Explorer. Is so weird though, that those apps who claim to automate things, don't work on my device...
Thanks again!!!! :good:

xperia 1 ii apk Overwrite

How can I overwrite the apk in the system?
tobos said:
How can I overwrite the apk in the system?
Click to expand...
Click to collapse
You will need root and unlocked bootloader.
kamalaggi said:
You will need root and unlocked bootloader.
Click to expand...
Click to collapse
Thanks for the reply.
It is already rooted with bootloader unlock and magisk.
Can I do so afterwards?
tobos said:
Thanks for the reply.
It is already rooted with bootloader unlock and magisk.
Can I do so afterwards?
Click to expand...
Click to collapse
Yep. Either Uninstall using titanium backup or remove apk from wherever the system apk is. Then push (or copy) to destination and set permissions to 755
I can't overwrite it.
iArvee said:
Yep. Either Uninstall using titanium backup or remove apk from wherever the system apk is. Then push (or copy) to destination and set permissions to 755
Click to expand...
Click to collapse
Thanks for the reply.
The titanium backup allows me to disable the app, but not to delete it.
It also says Root Explorerde permissions change failed.
Is there any other way to do this?
tobos said:
Thanks for the reply.
The titanium backup allows me to disable the app, but not to delete it.
It also says Root Explorerde permissions change failed.
Is there any other way to do this?
Click to expand...
Click to collapse
FWIW I'm having the same issue. Titanium Backup Pro says it can't find the APKs and Remove System Apps app thinks it does and then really does nothing. I even tried Lucky Patcher, which does the same thing.
Root File Browser shows everything in System/App and System/Priv-App as being 755, but if I try to change it to 777, it says it fails. If I try to delete anything, it looks like it does it, but then nothing changes.
If I try to change permissions through ADB, it tells me that the file system is Read-only, and if I tried to run ADB as root, it tells me it cannot run as root in production builds.
Edit:
Solution: Install any terminal emulator, and the Debloater module from Magisk to remove system apps systemlessly (see Debloater module official thread here)
Edit 2: There are three apps, Call of Duty, Tidal 3 month free trial, and Linked in, which are located in /oem/app and they cannot be removed by this method. I do not know how to remove them...

Categories

Resources