I'm freshly unlocked and perm rooted; I've already used Titanium Backup, Root Explorer, etc.... my Su is working.
I looked at the CleanTool thread in the Dev forum to see how to remove bloat, and executed the same commands from adb shell .... here's a small pasted section :
$ pm disable com.gameloft.android.Verizon.GloftLGolf2.lgolf2
pm disable com.gameloft.android.Verizon.GloftLGolf2.lgolf2
[1] Killed pm disable com.gameloft.android.Verizon.Glof
2.lgolf2
$ pm disable com.blockbuster.app.htc
pm disable com.blockbuster.app.htc
[1] Killed pm disable com.blockbuster.app.htc
Following a reboot, these bloat apps are still here and functioning. Anyone know what I'm doing wrong, or a more effective way to selectively remove what I consider bloat?
$ means you are not in SU
you need to type SU in ADB
The $ will change to #
Then try again (making sure if your phone asks you to allow ADB SU privs, you check allow; if that happens)
jdmba said:
$ means you are not in SU
you need to type SU in ADB
The $ will change to #
Then try again (making sure if your phone asks you to allow ADB SU privs, you check allow; if that happens)
Click to expand...
Click to collapse
This works, of course. This seems like such a duhhhhhh question, now that I know the answer.
Thanks so much
DIncLover said:
This works, of course. This seems like such a duhhhhhh question, now that I know the answer.
Thanks so much
Click to expand...
Click to collapse
Glad you were able to be helped.
Sorry for resurrecting this thread, but I was really surprised why "pm disable-user" does not work as user but also seems to require root-permissions? Makes no sense to me...
Hello, I am a newbie working with Android Studio so thank you in advanced for your patience. I am attempted to restore a backup file from an LG device onto an emulator device. In the process I am facing an issue I can't identify. To start the emulator I continue getting a permissions denied msg.
If I run the command "sudo chown ubuntu /dev/kvm" the permissions issue is corrected. It then happens again later and I can't figure out why? Are the permissions resetting for some reason?
richey75 said:
Hello, I am a newbie working with Android Studio.......
Click to expand...
Click to collapse
I haven't used this in quite some time but, you may find the following threads helpful for what you are looking for. Don't be afraid to ask for some member guidance within one of them too.
https://forum.xda-developers.com/showthread.php?t=1599005
https://forum.xda-developers.com/showthread.php?t=3698584
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
JBNCK-NONROOT Debloat script for Samsung devices
Works best on:
Exynos S20 series
Exynos A Series
Knox-tripped Samsung devices
[THIS PROJECT IS DISCONTINUED AND I WILL NO LONGER ANSWER ANY QUESTIONS ON THIS THREAD]
Don't worry, I'm working on a better, more extreme and more up-to-date one. I will post a link when it's ready!
Perfect, thank you
Very nice script, JanBoyGamer23. Is it possible to remove the stock Messanger app, as well? The one with three dots in the icon?
I can't install, for example Chrome
AlliePC said:
Very nice script, JanBoyGamer23. Is it possible to remove the stock Messanger app, as well? The one with three dots in the icon?
Click to expand...
Click to collapse
Yes, of course! Go to your platform tools folder (Download them if you need them) and type in:
adb shell pm uninstall -k --user 0 com.samsung.android.messaging
diegoxdrp said:
I can't install, for example Chrome
Click to expand...
Click to collapse
What?
Perfect thanks
Thank you, exactly what does "platform tools folder" mean?
Thanks, what if i want to remove or disable Samsung Game Optimization Service? Am on Android 11, 3.0.
I did try the adb command, but it didnt work. pl advise.
Vipin2689 said:
Thanks, what if i want to remove or disable Samsung Game Optimization Service? Am on Android 11, 3.0.
I did try the adb command, but it didnt work. pl advise.
Click to expand...
Click to collapse
gos always reinstalls itself. The only way to remove it is the root method: Go to your root explorer and find the app's folder in /system/priv-app and delete the folder
Hey, great script! However, I found out I needed Android SIM Toolkit after I ran the script. Do you know a way to recover/ reinstall it? or "undo" the script somehow? Thanks!
Sari95 said:
Hey, great script! However, I found out I needed Android SIM Toolkit after I ran the script. Do you know a way to recover/ reinstall it? or "undo" the script somehow? Thanks!
Click to expand...
Click to collapse
open cmd in the folder of the debloat script (the folder with all the files: adb, debloat.bat etc.) and type in:
adb shell pm install-existing com.android.stk
or with a dual sim:
adb shell pm install-existing com.android.stk
adb shell pm install-existing com.android.stk2
JanBoyGamer23 said:
open cmd in the folder of the debloat script (the folder with all the files: adb, debloat.bat etc.) and type in:
adb shell pm install-existing com.android.stk
or with a dual sim:
adb shell pm install-existing com.android.stk
adb shell pm install-existing com.android.stk2
Click to expand...
Click to collapse
That worked perfectly. Thank you!
OP, Is there a way to run your script on a MAC?
Hi, did bixby routines will work after execute this script on s20+?
I am assuming this will work on new Galaxy S21... Asking before I break my wife's new phone!!
gee.dunkin said:
I am assuming this will work on new Galaxy S21... Asking before I break my wife's new phone!!
Click to expand...
Click to collapse
Yep, should work.
Great, thanks!
FYI: I had Vanced YouTube installed and it was removed by the script. At the end I had no YouTube at all.
Also, I was somewhat surprised that you decided to remove Google Maps as well, as bloatware. Anyways, I've reinstalled both Vanced YouTube and Maps, no big deal.
Thanks for the script, you saved my some headache! I actually tried uninstalling all Facebook components using System Apps Uninstaller (root) and I ended up reflashing the firmware through Odin, as the phone got stuck on boot loops after "successfully" uninstalling them.
@op,
Could you please post a complete list of items included in the package (to be removed)?
The script had a tremendous effect on battery and I'm curious to review the main offenders (I highly suspect it to be Google telemetry, but I'd like to know specifics).
Again, excellent work, thank you!
Thanks!
nacos said:
@op,
Could you please post a complete list of items included in the package (to be removed)?
The script had a tremendous effect on battery and I'm curious to review the main offenders (I highly suspect it to be Google telemetry, but I'd like to know specifics).
Again, excellent work, thank you!
Thanks!
Click to expand...
Click to collapse
Nice to hear that it worked for you!
If you want a full list you can just look into the script as I don't remember. I know that it almost completely removes google spying, facebook trash, samsung knox bloatware and other country based bloat.
PROBLEM SOLVED NO NEED TO REPLY
Hey, xda-developers!
Can you give me some advice? I debloated my LG v20 with adb using the following command: "pm uninstall -k --user 0 com.lge.cloudhub". It seems that I accidentally uninstalled a object that controls my phones second screen.
Can you please tell me how I can re-install said objects (without factory reset)? I'm pretty sure I know which objects I need to re-install, just don't know how to. I tried "adb shell cmd package install-existing com.lge.signboard" and got the error message "127|elsa:/ $ adb shell cmd package install-existing com.lge.signboard
/system/bin/sh: adb: not found"
So any ideas: commands, programs I can use, anything... I'm super grateful.
Thank you for reading my post!
Regards,
xdagirlrocker
xdagirlrocker said:
PROBLEM SOLVED NO NEED TO REPLY
Click to expand...
Click to collapse
If solved, why not say how - for others?
If rooted then this can be tried...
https://forum.xda-developers.com/t/...diatek-armv8-2020-08-24.3922213/post-84201415
CXZa said:
If solved, why not say how - for others?
If rooted then this can be tried...
https://forum.xda-developers.com/t/...diatek-armv8-2020-08-24.3922213/post-84201415
Click to expand...
Click to collapse
Good point! I will do so! Maybe it will help someone in future.
First I searched for possible objects that might be related to LG v20 second screen. Through the power of duckduckgo I found the following objects:
com.lge.signboard.initialguide
com.lge.provider.signboard
com.lge.signboard.setting
com.lge.quicktools
com.lge.coneshortcut
com.lge.conerecent
com.lge.signboard
In my case the (by mistake) removed object was com.lge.signboard.
From there on solved it using a software I found on xda forums. It's called ADB AppControl and it can be found on the following links. I also included the xda link. Since I couldn't find the proper command to restore the deleted item, I used this software to "un-delete" it. It was very easy.
https://appcontrol.neocities.org/index_en.html
https://forum.xda-developers.com/t/...app-manager-debloat-tool-for-android.4147837/
Cheers
Hi there,
Adb is installed on the external disk and the device was rooted.
When I ran
Code:
adb pull /dev/block/mmcblk0p43 43.img
it returned
Code:
adb: error: remote object '/dev/block/mmcblk0p43' does not exist
mmcblk0p43 is the userdata partition of the device.
However,
Code:
adb shell "su -c cat /dev/block/mmcblk0p43" > 43.img
managed to pull mmcblk0p43 into the external disk.
Why did adb pull /dev/block/mmcblk0p43 43.img fail to pull userdata partition?
Thanks in advance.
we are running in circles...
adb pull /dev/block/... requires 'adb root'
aIecxs said:
@wenyendev the answer applies to all your following questions:
adbd cannot run as root in production builds. you have three options. 1) use adb root in TWRP recovery mode. 2) use insecure adbd daemon 3) use adb shell su shell instead. that's it.
Click to expand...
Click to collapse
aIecxs said:
we are running in circles...
adb pull /dev/block/... requires 'adb root'
Click to expand...
Click to collapse
Thanks for your reply.
But how could you expect me to know in advance that adb pull command requires adb root?
Because you already did...
We expect you can remember your previously working commands (you have written in post #1
in the quoted thread just to name example):
wenyendev said:
In addition
adb pull /dev/block/mmcblk0p43 43.img
It returned
adb: error: remote object '/dev/block/mmcblk0p43' does not exist
[...]
adb pull /dev/block/mmcblk0p43 43.img worked.
Click to expand...
Click to collapse
So how it comes that you're asking about exact same command just 7 days later again?
I have asked you to read old thread(s) for good reason.
aIecxs said:
please stop posting multiple threads.
please start reading answers in old threads.
Click to expand...
Click to collapse
While it may true, by opening new threads you may get more attention, please understand that threads on XDA are problem-focused, not question-based. This is not a Q&A site where each single minor issue belongs to new question (and even on Q&A sites they would just close your repeating questions as duplicates).
This is a forum where you should keep your problem in one single thread, avoid spreading pieces of information over multiple threads.
your issue is to recover deleted files from unencrypted rooted device. do not open new thread for every little step, ask your questions in the same thread that belongs to the (real) problem.
You will benefit when you're focused to keep every information in one thread. Other people trying to help will read the history of what has already been asked, and can offer better help.
kindly read this post
*** read before you post ***
I am not to be embroiled myself in heated arguments here.
Thanks again for your answer.