Uninstalled sideloaded app, now unable to reinstall - General Questions and Answers

1. Sideloaded an app using LineageOS 17.1 recovery via "Apply update" > "Apply from ADB" > then "adb sideload" command on my PC.
2. Uninstalled the app using "adb shell pm uninstall -k --user 0 <package.name>". Also uninstalled from my work profile using the same command.
3. Now when I try to sideload the same app using the same process, it says success, however the app isn't on my phone.
Any help? Thanks.

Code:
adb shell pm uninstall -k -user 0 <package.name>
doesn't uninstall an app, it simply hides the app from Android's default user ( read: user 0 ).
To really uninstall an app you'ld have to run
Code:
adb uninstall <package.name>

jwoegerbauer said:
Code:
adb shell pm uninstall -k -user 0 <package.name>
doesn't uninstall an app, it simply hides the app from Android's default user ( read: user 0 ).
To really uninstall an app you'ld have to run
Code:
adb uninstall <package.name>
Click to expand...
Click to collapse
I tried that but I just got the error message "[DELETE FAILED_INTERNAL_ERROR]". Any idea on how to fix this mess?

Can anyone please help me with this? I need to properly uninstall the app and reinstall it.

google is your friend
How to install / get back uninstalled Apps (APKs) with ADB.
A lot of people searched for a way to uninstall bloat or APKs using ADB because a lot of OEMs don't allow uninstalling many of preinstalled apps. Tested on Pie and Oreo. BUT most of the articles if not all of them ( couldn't find any article...
forum.xda-developers.com

Related

Disable Google Play Music - possible?

Xperia XZ with Android 7.1.1:
When I open Google Play Music entry in App list and hit "Disable" button, it asks me the usual question of whether I want to replace the app with the factory version and then proceeds to the "Uninstalling" screen. The uninstallation quickly freezes and the phone reboots itself. The app remains enabled after reboot.
Rebotting into safe mode does not make a difference: any attempts to disable Google Play Music cause an immediate reboot.
Is it possible to somehow disable Google Play Music?
you can try it via adb?
enable usb-debugging in developer options.
Code:
adb shell
pm hide com.google.android.music
read this article:
https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
MysticEnforcer said:
you can try it via adb?
enable usb-debugging in developer options.
Code:
adb shell
pm hide com.google.android.music
read this article:
https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
Click to expand...
Click to collapse
Code:
pm hide com.google.android.music
Results in
Code:
Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.
Meanwhile,
Code:
pm uninstall -k --user 0 com.google.android.music
works. However, it does not disable the app, but changes it to "Not installed it for this user" state. This is different from disabling (although I'm not sure how).
Btw, how do I reinstall the app for this user now?

Reinstall Soundalive

A while ago I decided to remove SoundAlive from my S8 using the
Code:
Adb shell pm uninstall -k --user 0 <soundAlivePackage>
command. Time flew and I decided that I'd like to reinstall it, however, installing it through package installer results in the
Code:
app not installed
message and through ADB in
Code:
failed to install sa.apk: Failure [-3001]
where
Code:
sa.apk
is the filename for SoundAlive.
I'm unrooted, 8.0.0, Experience 9.0.
Probably don't need to know any more for the future here is a link to someone who put up a way to reinstall all packages uninstalled thru ADB
https://forum.xda-developers.com/android/general/how-to-install-uninstalled-packages-t3894235

Oukitel WP5 Pro

Hi everyone!
It is very necessary to get root on Oukitel WP5 Pro!
All that has happened so far is to unlock the bootloader and install TWRP.
Current firmware - OUKITEL_WP5Pro_EEA_V03_20200723_20200723-1929
Can someone help with getting root?
Perhaps it will be possible to port andoid 9 from another device with a mt6762d processor and get root at 9 first, and then upgrade to android 10?
but one guy say:
"Android 10 apps or pretty much anything from prevents mounting system as R / W. Yes, even if you are rooted."
I don't know if there is still some way to get root, albeit with downgrade to android 9.
Hi @aviplokos84, I guess we're on the same boat. Did you install TWRP by Mehanik6? That's the only one I found but it's not working properly. When I start it after a clean factory reset, it works. But once I have installed my apps and such if I reboot into recovery it gets stuck at the TWRP logo. I repeated the process 3 times and I always ended up at the same point.
wallace108 said:
Hi @aviplokos84, I guess we're on the same boat. Did you install TWRP by Mehanik6? That's the only one I found but it's not working properly. When I start it after a clean factory reset, it works. But once I have installed my apps and such if I reboot into recovery it gets stuck at the TWRP logo. I repeated the process 3 times and I always ended up at the same point.
Click to expand...
Click to collapse
Yes, I was able to install recovery by Mehanik6.
it did not immediately turn out exactly as in his instruction, not immediately possible to unlock the bootloader.
Each time I enter the recovery, its read-only access, changes are not saved. This stupid section Super!
Maybe you should double-check everything.
Or try to boot into the recovery from the bootloader?
I will look into it. Because I don't understand why I can get access to the recovery only the first time. However on that occasion I managed to successfully install the patch to remove the orange state warning.
This is a very strange phone. I can't figure out how to change all the pictures on the lock screen... Is the Oukitel launcher any good? A lot of sources say the phone has NFC but mine doesn't seem to. (also heard the extra cameras' are fake?)
Edit: I love the phone though, I find most phones too thin lol.
We have ROOT!
Please update your Magisk Manager to the latest canary build and patch the boot.img.
wallace108 said:
We have ROOT!
Please update your Magisk Manager to the latest canary build and patch the boot.img.
Click to expand...
Click to collapse
hello, is it possible to have some instructions on the procedure or at least point me in the direction where i might find them.
thanks in advance
h2ikm8 said:
hello, is it possible to have some instructions on the procedure or at least point me in the direction where i might find them.
thanks in advance
Click to expand...
Click to collapse
I suggest you should google Magisk Manager and learn how it works.
wallace108 said:
I suggest you should google Magisk Manager and learn how it works.
Click to expand...
Click to collapse
i know how magisk works (sort of), i have rooted my previous phone a redmi note 4, this one on the other hand is my new phone and the patch part i don't quite understand the procedure, and since it's my working phone i just wanted to avoid bricking the damn thing.
i'm finding a lot of conflicting posts, i just need those pointers on how it's done, and was wandering if there are any custom roms for it at all.
thanks for the fast reply anyway
h2ikm8
This procedure is delicate and you take FULL responsability for what you do. Be aware of that.
1.You want to download the firmware from Oukitel site and familiarize with flashtools (which is the tool to upload the firmware).
2. Then you must unlock the bootloader (you do that with adb tools using the fastboot command).
3. Copy boot.img to the root of your phone (the file is whitin the firmware).
4. With magisk you want to patch the above mentioned boot.img. Magisk will produce a patched image.
5. copy such image on your computer and upload it with flashtools to replace the original boot.img
6. At the same time you must overwrite the file vbmeta.img with an empty one (search online for this).
Done.
Ok, will try with full knowledge that if i break it...i allready bought it
wallace108 said:
h2ikm8
This procedure is delicate and you take FULL responsability for what you do. Be aware of that.
1.You want to download the firmware from Oukitel site and familiarize with flashtools (which is the tool to upload the firmware).
2. Then you must unlock the bootloader (you do that with adb tools using the fastboot command).
3. Copy boot.img to the root of your phone (the file is whitin the firmware).
4. With magisk you want to patch the above mentioned boot.img. Magisk will produce a patched image.
5. copy such image on your computer and upload it with flashtools to replace the original boot.img
6. At the same time you must overwrite the file vbmeta.img with an empty one (search online for this).
Done.
Click to expand...
Click to collapse
so i managed to follow your procedure, and got magisk working but i'm stuck at the logo in Mehanik6' s twrp.
any advice? thanks
@h2ikm8 I'm sorry but we're in the same boat (I got the same error). At the moment I'm waiting for a working TWRP custom recovery. I suggest you should check the twrp site for updates.
Hi.
wallace108 said:
This procedure is delicate and you take FULL responsability for what you do. Be aware of that.
1.You want to download the firmware from Oukitel site and familiarize with flashtools (which is the tool to upload the firmware).
2. Then you must unlock the bootloader (you do that with adb tools using the fastboot command).
3. Copy boot.img to the root of your phone (the file is whitin the firmware).
4. With magisk you want to patch the above mentioned boot.img. Magisk will produce a patched image.
5. copy such image on your computer and upload it with flashtools to replace the original boot.img
6. At the same time you must overwrite the file vbmeta.img with an empty one (search online for this).
Done.
Click to expand...
Click to collapse
wallace108 said:
@h2ikm8 I'm sorry but we're in the same boat (I got the same error). At the moment I'm waiting for a working TWRP custom recovery. I suggest you should check the twrp site for updates.
Click to expand...
Click to collapse
Please clarify, does the way described above works to rooting device without using TWRP ?
@df_ni The answer is yes. In fact at the moment there is no TWRP recovery actually working for this device.
But since getting root is done by Magisk, a custom recovery is unnecessary.
Thanks!
Hi,
So, is there a protocol do finally root that device ? I tried several guides, but at best my phone is now in "orange state" (it was it "red state" at some point !).
I guess that it's important to root it, only by the fact that most launchers don't even allow to add widgets !
Hi all... Until we get ROOT to this phone.
I have been using WP5 Pro as my daily driver for 9 months now, and am super happy with it.
However... After 3 months, the large 8000Ah battery didn't last as long as it should.
So I opened it up in ADB :
adb shell 'pm list packages -f' | sed -e 's/.*=//' | sort
ore
adb shell pm list packages
and took a closer look at the pre installed crap on the phone. And I was shocked by all the unnecessary s*it i found. com.mediatek.atmwifimeta : Why is all my Wifi traffic logged and sent to a remote server !!!.
To you who are interested in removing bloatware on your phone.
I put together a list of crap you can delete without affecting your daily use of the phone.
Just Copy & Paste in terminal and restart the phone.
adb shell pm uninstall -k --user 0 com.ssui.chdmodel
adb shell pm uninstall -k --user 0 com.android.companiondevicemanager
adb shell pm uninstall -k --user 0 com.android.dynsystem
adb shell pm uninstall -k --user 0 com.android.wallpaper.livepicker
adb shell pm uninstall -k --user 0 com.google.android.apps.tachyon
adb shell pm uninstall -k --user 0 com.google.android.apps.docs
adb shell pm uninstall -k --user 0 com.google.android.apps.googleassistant
adb shell pm uninstall -k --user 0 com.google.android.apps.wellbeing
adb shell pm uninstall -k --user 0 com.google.android.apps.youtube.music
adb shell pm uninstall -k --user 0 com.elephanttek.faceunlock
adb shell pm uninstall -k --user 0 com.android.emergency
adb shell pm uninstall -k --user 0 com.android.nfc
adb shell pm uninstall -k --user 0 com.elephanttek.faceunlock
adb shell pm uninstall -k --user 0 com.adups.privacypolicy
adb shell pm uninstall -k --user 0 com.android.backupconfirm
adb shell pm uninstall -k --user 0 com.adups.fota
adb shell pm uninstall -k --user 0 com.android.bips
adb shell pm uninstall -k --user 0 com.android.cts.ctsshim
adb shell pm uninstall -k --user 0 com.android.cts.priv.ctsshim
adb shell pm uninstall -k --user 0 com.android.localtransport
adb shell pm uninstall -k --user 0 com.android.partnerbrowsercustomizations.example
adb shell pm uninstall -k --user 0 com.android.printspooler
adb shell pm uninstall -k --user 0 com.android.sharedstoragebackup
adb shell pm uninstall -k --user 0 com.android.wallpaperbackup
adb shell pm uninstall -k --user 0 com.debug.loggerui
adb shell pm uninstall -k --user 0 com.android.traceur
adb shell pm uninstall -k --user 0 com.android.htmlviewer
adb shell pm uninstall -k --user 0 com.google.android.apps.restore
adb shell pm uninstall -k --user 0 com.google.android.apps.restore
adb shell pm uninstall -k --user 0 com.google.android.feedback
adb shell pm uninstall -k --user 0 com.google.android.onetimeinitializer
adb shell pm uninstall -k --user 0 com.google.android.gms.location.history
adb shell pm uninstall -k --user 0 com.google.android.videos
adb shell pm uninstall -k --user 0 com.mediatek.atmwifimeta
adb shell pm uninstall -k --user 0 com.android.calllogbackup
adb shell pm uninstall -k --user 0 com.ssui.setupwizard
adb shell pm uninstall -k --user 0 com.ssui.sos
You can Reinstall one or all apps again by putting:
adb shell cmd package install-existing com.app name
With USB Debugging enabled on your phone.....
There is a lot to copy and paste, so I created a script that cleans your phone in 10 seconds from all this bloatware. Download it at the bottom of this post to your desktop, unzip it to your desktop, connect phone and double-click the Claning file.
The default launcher on this phone is terrible. Here is a good alternative...
Using Mod SMART LAUNCHER 5 PRO
You can download it here: here.... here.... ore here..... just incase here too......
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello Oukitel WP5 pro users.
I'm facing issues that phone kills my sports tracking apps after lock let say after 30mins -+. I tried lot of fix: allow apps in DuraSpeed, disable duraspeed, don't optimize apps in battery option. Lot of stuff. Do you have any clue, where can be located some magick settings to denied phone killing apps. Maybe I set some hidden feature do to that, because issue does not exist few weeks ago. All reply are welcome.
nomexcze said:
Hello Oukitel WP5 pro users.
I'm facing issues that phone kills my sports tracking apps after lock let say after 30mins -+. I tried lot of fix: allow apps in DuraSpeed, disable duraspeed, don't optimize apps in battery option. Lot of stuff. Do you have any clue, where can be located some magick settings to denied phone killing apps. Maybe I set some hidden feature do to that, because issue does not exist few weeks ago. All reply are welcome.
Click to expand...
Click to collapse
Hi.
The problem lies in how Oukitel has set app permission. Only system apps have permission to run constantly in the background. Have a oukitel C16 pro and the same problem there. To get around that problem on that phone, I rooted the phone with Magisk, and put the app's in to the system folder and let the phone boot up with the apps I needed as system app, and problem was solved.
So I guess when ROOT comes to this phone, we can solve your problem

Question Google phone app

Is there any tips to remove google phone app without root or change rom ??
You can just disable using adb commands: adb shell pm uninstall --user 0 com.google.android.dialer
But you need to install another Dialer and the one from MIUI can't be installed without root the device
bartito said:
You can just disable using adb commands: adb shell pm uninstall --user 0 com.google.android.dialer
But you need to install another Dialer and the one from MIUI can't be installed without root the device
Click to expand...
Click to collapse
Thx bro

ADB system app uninstall command not working on Android 4.4.2

Hello!
I have a Panasonic p55 novo running stock Android 4.4.2. It has a lot of Google bloatware which causes the phone to lag terribly. So once I tried to debloat it via setting up ADB and running command adb shell pm uninstall -k --user 0 <package name >
but adb says something that user 0 not found or something like that. So I searched and found in some other forums a reply which said this is because multiuser feature was first introduced in Android 5.
My question is if the normal command is not working with KitKat devices, is there any other alternative command / method to debloat it? Any kind of script or an old command or a completely different method.
Any help is appreciated.
Thank you
1. To uninstall apps you basically run
Code:
adb uninstall <package name>
2. To uninstall system apps phone's Android MUST be rooted, partition /system MUST get mounted as RW
xXx yYy said:
1. To uninstall apps you basically run
Code:
adb uninstall <package name>
2. To uninstall system apps phone's Android MUST be rooted, partition /system MUST get mounted as RW
Click to expand...
Click to collapse
But on my android 6 tablet, I did this without root and it worked. Beside tthe name of the app uninstaalled, it says not installed for this user.
Is rooting method compulsory?

Categories

Resources