Removing YouTube from system? - OnePlus 7 Pro Questions & Answers

Hey guys, so I tried using a system app remover to remove YouTube. On reboot, phone froze, crippled my OS. No biggie, just reflashed my rom. My question is, is freezing YouTube with titanium backup a better option or will that likely yield the same result? Making me just have to reflash my rom again anyway.
I'm running OOS beta 9.

xxx-No Limits works at doing this. As well as replacing it with You Tube vanced if wanted. I prefer NewPipe as my replacement.

Use magisk module Debloater(Terminal Emulator) to remove any system app, you also need to install magisk module busy box and Termux from the playstore.
If you want to install YouTube Vanced you can only disable official YouTube app and install non root Vanced and it will work without problems, root methods will need to disable apk verification, and magisk modules will overwrite official app so, the playstore Will update it even if you deactivated automatic updates.
Sent from my OnePlus7Pro using XDA Labs

Navigate to /System > /System > /App or /Pri-App Some apps are moved into /System > /System > /Product > /App or /Priv-App
With a file manager with root capabilities or just file manager in TWRP don't forget to mount system first. There you can delete any pre installed apps you want just careful what you remove as could lead to issue or loss of features etc. The tomato debloat script or xXx module should have a list of safe to remove apps.

twrp file manager has been the best. Just follow the confusing steps below
Reboot to twrp
Go to mount
Mount system and vendor
Go back to main page
Go to file manager
/system/system/
App
Data
Priv-app
Vendor
Product
there are several folders with these apps installed into so you'll have to go around and delete them
Only thing it doesn't delete is India.img (because oneplus has been sucking Indias dxxx while letting everywhere else struggle)

Related

Is there any way to install an app in twrp recovery mode?

Earlier today I successfully rooted my phone and uninstalled a bunch of bloatware. Foolishly, I also uninstalled the Samsung keyboard (figuring I only use the Swype keyboard) which I now suspect it is used to enter my pin when turning the phone on. Now I can't get past the pin entry because the keypad does not show up. Is there anyway to reinstall the app in this situation?
trusko1 said:
Earlier today I successfully rooted my phone and uninstalled a bunch of bloatware. Foolishly, I also uninstalled the Samsung keyboard (figuring I only use the Swype keyboard) which I now suspect it is used to enter my pin when turning the phone on. Now I can't get past the pin entry because the keypad does not show up. Is there anyway to reinstall the app in this situation?
Click to expand...
Click to collapse
You can get a copy of the .apk file and then boot to TWRP, then use adb to sideload the .apk to /system/app or /system/priv-app (wherever it was at before you deleted it).
Or you can reflash your stock firmware or custom ROM if you're using one.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
I flash magisk.zip but it is normal app not system app
Magisk is a 3rd-party-app. Take note that a system-app is necessary part of Android OS. And Magisk isn't.
jwoegerbauer said:
Magisk is a 3rd-party-app. Take note that a system-app is necessary part of Android OS. And Magisk isn't.
Click to expand...
Click to collapse
Not quite right, when a 3rd party user app is installed or pushed to system, it then becomes a system app. The term "system app" refers to any app that is in the system partition, it has nothing to do with whether the app is a necessary part of the OS. Stock system apps, or, at least, "some" of them can be considered to be necessary parts of the OS but this isn't completely true because a lot of devices come pre-installed with non essential bloatware apps in the system partition. These non essential bloatware apps can be removed via root or by adb on non rooted devices because they are not necessary parts of the system.
For me a "system app" is - as already mentioned - an app that comes pre-installed in Android ROM's one of the partitions /system/app or /product/app or /product/overlay or /vendor/app, is a "system app" an app that is intended for the functioning of the Android device.
Your admission to this view of mine does not change my opinion.
private app is also a system app but seems to be an add-on. and i flashed the zip but it was not set as a system app, it seems the zip is not related to install like the system in twrp, and twrp mounted the system but couldn't delete any folder in. rooted but so bad!

How to properly move an app to the system on new Android patches (Oreo 8/8.1)

I have tested myself the old ways to put an app as system app on Oneplus 6, but I didn't know that with new Android patches there are some new issues and permissions required (like you can still use lucky patcher, link2sd, es file explorer,..., but you have to add some xml manually, depends on the specific app).
You still need root (magisk) with this method.
The best and the easier way I have found is to use a magisk module: App Systemizer (maybe you can find it as an app or not, idk).
Search in dowload section, in magisk manager, install it, then install a terminal emulator.
Write and enter:
su
systemize
choose 1 and it will provide you a numbered list of your installed apps
choose the correspective number
choose 2 to move to system/priv-app
It will provide the additional xml that are needed now to move an app to system; then reboot and the app will be properly moved to system.
[MOD EDIT]Do not ask for donations.[/MOD EDIT]
Link2sd
Hi, thanks for this info, i have a question
This whole process you explained here, it has to be done without revert the process done with link2sd or it has to be done fresh with link2sd not installed.
Thanks

Nexus 7 2013 LTE: Unable to move app to system/priv-app

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

Installing Cerberus as a system app that survives factory reset ?

I've just rooted my 4a on Android 12 with Magisk by following this thread with the purpose of using Cerberus and having a reset protection, but to do so I have to put it in /system/priv-app and apparently you can't mount system read/write with a Magisk root .
There's the Systemizer module but as I understand system apps installed that way will be wiped after a reset.
I have also found this script Universal Mount System R/W but I'm not sure if it will do the trick.
So is there any way to accomplish what I'm trying to do? I don't mind another root method even if it doesn't bypass Safetynet as long as I can install Cerberus the right way.

Question Pixel 7 Pro Stuck in read only mode (rooted with magisk 26.1) Am I missing something? HELP

Everything ive tried in FX Explorer fails. No matter what I try, for example editing build.prop or anything else, it constantly says read only. i cannot use any method to allow write access.
Did i miss something when i rooted with Magisk? I dont remember anything setting root to read only.
Anyone can help id appreciate any help.
Details on my root process...
Google Pixel 7 Pro, Factory Unlocked,
Android 13
Rooted using init.boot.img & magiskpatched.img
LSPosed 1.8.6 (6712) zygisk running, Magisk 26.1 with the following modules:
1. app systemizer
2. magiskhide props config
3. system apps (lucky patcher module)
4. systemless hosts
5. universal safetynet fix
6. zygisk LSPosed
Im not sure how to configure superuser in Magisk other than default settings such as mount namespace mode...Should any of this matter?
1st: props config is not needed. USF is good enough.
2nd: ofc you can't just edit any system file. The /system partition is RO by default to protect itself from idiots. For you to write anything to it, you need to enable root access (in the upgrade FX menu, swipe all the way to the right)
using root mode, you can now mount system RW temporarily, remember to mount it back to RO after you're done messing with it, a RW /system will not boot.
I thought magisk will just allow a remote link to a /system file, not actually write on it. It replaces via link, it does not actually change the file.

Categories

Resources