How to move app from /data/app to /system/app - Huawei P10 Questions & Answers

Good day,
First of all, I have a rooted P10 (VTR-L29C636 B166) using Magisk method. I have tried moving the app using Lucky Patcher and /system/app Mover, but both are unfortunately unable to perform the task.
I tried using Total Commander to remount the /system app as RW, but it won't do it. Basically right now the only way I've found to write to /system is by mounting it thru TWRP, and doing an ADB push. But from there, the app that was moved to /system/app doesn't appear in my app list.
I have a feeling I'm missing out on a crucial step here in order to mount /system/app as RW without having to go through TWRP, but I can't find it. Any help would be much appreciated.
Thanks in advance.

Related

Can't delete stock apps with adb or astro

When I try to delete a stock app using adb a failure line pops up at the end..when i use astro and go to system/apps and try to manually deleting the apk's a "error deleting files message pops up"..please help so I can free up space on my phone..help in advance it greatly appreciated
Sent from hero running FROYO
allenmkelso said:
When I try to delete a stock app using adb a failure line pops up at the end..when i use astro and go to system/apps and try to manually deleting the apk's a "error deleting files message pops up"..please help so I can free up space on my phone..help in advance it greatly appreciated
Sent from hero running FROYO
Click to expand...
Click to collapse
Switch it to R/W.
Can use root explorer to do this
Sent from my Zen-Rom Hero!
if using adb make sure you type:
Code:
adb remount
Try titanium back up it might work look for it on the market
Root-Hack-Mod-Always™
Either you need a file explorer than can mount the system as R/W, such as root explorer or do
adb remount
adb shell rm /system/app/xxxx.apk
Click to expand...
Click to collapse
The system has to be read/write to delete the apps found in /system/app
kyouko said:
if using adb make sure you type:
Code:
adb remount
Click to expand...
Click to collapse
What he said.
Sent from my HERO200 using XDA App
Just use titanium back up I've yet to meet an app that it can't uninstall warning some system apps should not b removed read carefully on wich ones u can safely remove as it can throw ur system off
Root-Hack-Mod-Always™
allenmkelso said:
When I try to delete a stock app using adb a failure line pops up at the end..when i use astro and go to system/apps and try to manually deleting the apk's a "error deleting files message pops up"..please help so I can free up space on my phone..help in advance it greatly appreciated
Sent from hero running FROYO
Click to expand...
Click to collapse
I use root explorer, but you should also make sure you remount if you're attempting to do this with adb
THANKS TO ALL..it out of nowhere let me delete them using the android terminal must of been a typo.. ALL LOVE FOR THE ANDROID COMMUNITY
Sent from hero running FROYO
I use QtADB. Very simple, very effective, works great, removes ANY stock apps/widgets and so on.
No need to use cmd or adb lines or anything. It's just like Windows add/remove programs.

[Q] Permission Issues

So a while back I used a 1-Click root app. Don't recall which one. Then flashed CM6. Lately I've been noticing some permissions issues.
It started when I attempted to install the new Car Home from the market and couldn't. I tried using RootExplorer to unistall the old version with no luck. I've given it SU permissions but still no dice.
Today I tried to install the new YouTube app from the market but got the same results.
So I tried through ADB and can't navigate to /system/app.
# cd /system/app -- gives "cd: can't cd to /system/app"
# su cd /system/app -- gives "Permission denied"
I've also tried fix_permissions in the terminal with no luck. (I remember this from the G1 days. don't know if it is still used)
Anyone know what could be going on?
I'm not concerned about my warranty any more so I suppose I could unlock my bootloader if anyone thinks rooting the official way would help.
Thanks for your time.
Are you mounting Root Explorer in R/W?
Edit: I had probs mounting my Root Explorer into R/W, and eventually found out I had a bad version of busybox...
Sent from my Nexus One using XDA App
danger-rat said:
Are you mounting Root Explorer in R/W?
Click to expand...
Click to collapse
Wow I feel dumb. I was forgetting to mount in R/W. Got the old apps uninstalled. Still can't get the new apps installed.. Oh well I never use either of them anyway.
BTW any reason I couldn't cd to /system/app in ADB? Probably something else stupid.
Just confirm that the apps are removed (my busybox issue sometimes made it appear like the apps were gone, but when I looked again, they were back).
Did you reboot after removing?
Sent from my Nexus One using XDA App
To upgrade system apps:
1. Uninstall the old version using Root Explorer or Titanium Backup (I've found Titanium to be easier).
2. Reboot.
3. Install the new system app from the Market.
Dude,
Did you not read the OP? He's having trouble uninstalling with Root Explorer... how does telling him to uninstall with Root Explorer help?
Sent from my Nexus One using XDA App
danger-rat said:
Dude,
Did you not read the OP? He's having trouble uninstalling with Root Explorer... how does telling him to uninstall with Root Explorer help?
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Dude,
I read the op. I also read the followup where he figured out he had to remount in rw mode. I was attempting to offer the procedure that works 100% of the time for upgrading system apps.
Fair enough...
Sent from my Nexus One using XDA App

[Q] System app question

Does anyone know if there is any way to install an app that would be a system app as just a normal app?
Only on way to find out
Sent from my SGH-I897 using XDA Premium App
I don't think so, /system/app is usually mounted r/o. You'd have to use adb or root explorer to get into that directory with r/w permissions.
BlackSideburns said:
Does anyone know if there is any way to install an app that would be a system app as just a normal app?
Click to expand...
Click to collapse
To the best of my knowledge, it's possible. Whether it's well advised, that's another story altogether.
If you're wanting to try it, you could do this:
1. Reboot into recovery and use the adb command "adb pull /system/app/appname.apk" to make a backup copy of the .apk file.
2. Reboot and use TiBu to uninstall the system app (or just use adb while still in recovery to do this. The commands would be adb root, adb shell, cd /system/app, rm -i appname.apk, exit.
3. Once the app is uninstalled from the system, just copy your backup (from wherever your adb folder is located) over to your phone and reinstall it. At this point, I would assume it would behave like any other non-system installed app.
Again, I can't guarantee this would work, and it's likely to cause FC's (or worse). But yes, in theory, I believe you could do it. Maybe someone more knowledgeable could verify this?

ADB mount issues on captivate

I did Google and searched in this forum
Once i have rooted my device i wanted delete some stuff rename some stuff and intall some new apk's. I chose ADB and my device does get listed when i search using ADB devices and i granted SU(Super user) permissions. and I can isntall 3rd party apps without any issues.
i was try to push the nosecurity.email.apk to my phone when ever I tried to mount or delete overwrite or push a file i get permission denied or read only file or some kinda message which means that i can do what I'm trying to do.
3. now i want to replace my existing email.apk with the provided here
I was able to rename existing apk using Super Manger but i have to install the modified email.apk using ADB and now i'm stuck. I cant figure out how to install this apk using ADB or any other way.
i get SU permissions using Super manager and i have some root required tools like Busty Box Titanium backup........
????????
what can be done to resolve issues with ADB
jhogal1 said:
I did Google and searched in this forum
Once i have rooted my device i wanted delete some stuff rename some stuff and intall some new apk's. I chose ADB and my device does get listed when i search using ADB devices and i granted SU(Super user) permissions. and I can isntall 3rd party apps without any issues.
i was try to push the nosecurity.email.apk to my phone when ever I tried to mount or delete overwrite or push a file i get permission denied or read only file or some kinda message which means that i can do what I'm trying to do.
3. now i want to replace my existing email.apk with the provided here
I was able to rename existing apk using Super Manger but i have to install the modified email.apk using ADB and now i'm stuck. I cant figure out how to install this apk using ADB or any other way.
i get SU permissions using Super manager and i have some root required tools like Busty Box Titanium backup........
????????
what can be done to resolve issues with ADB
what is alternative way to install APPS(system apps not 3rd part apps) besides ADB and Side load wonder machine
Click to expand...
Click to collapse
The way that I switch out keyboards (smart keyboard or swype which are system apps) is to use root explorer (paid app) and drop the .apk into the system/app folder after mounting it as read/write.
It may take a reboot for them to take effect.
There are other file system apps that will get you into the root directory that are free.
Sent from my GT-I9000 using XDA Premium App
Frank the Funkasaurus Rex said:
The way that I switch out keyboards (smart keyboard or swype which are system apps) is to use root explorer (paid app) and drop the .apk into the system/app folder after mounting it as read/write.
It may take a reboot for them to take effect.
There are other file system apps that will get you into the root directory that are free.
thanks for your reply
the issue is i can get to monut my device in RW mode atll ADB dosent allow me to that, the real issue for me is with ADB. once i have ADB working withh kinda acess i can write/rename/copy files
Click to expand...
Click to collapse
jhogal1 said:
I did Google and searched in this forum
Once i have rooted my device i wanted delete some stuff rename some stuff and intall some new apk's. I chose ADB and my device does get listed when i search using ADB devices and i granted SU(Super user) permissions. and I can isntall 3rd party apps without any issues.
i was try to push the nosecurity.email.apk to my phone when ever I tried to mount or delete overwrite or push a file i get permission denied or read only file or some kinda message which means that i can do what I'm trying to do.
3. now i want to replace my existing email.apk with the provided here
I was able to rename existing apk using Super Manger but i have to install the modified email.apk using ADB and now i'm stuck. I cant figure out how to install this apk using ADB or any other way.
i get SU permissions using Super manager and i have some root required tools like Busty Box Titanium backup........
????????
what can be done to resolve issues with ADB
Click to expand...
Click to collapse
Try this: Reboot to recovery, make sure your /system is mounted, and then plug in your usb.
After you've done that, in adb, type "adb root", and then try doing what you need to do.
Could try using Droid explorer to push the apk to phone, get root explorer to open files and change permissions. If adb isn't working for you, have you checked your environmental variables path? Something like c:/android-sdk/platform-tools etc. Also remember USB debugging enable. Remember when asking your phone for root priviledges to type in SU
Sent from SGS Captivate CM7 or MIUI with Escapist orTKGlitch using XDA premium app.

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/

Categories

Resources