[ADB LIST] Debloat Applications (No-Root) - Xiaomi Mi 9 Themes, Apps, and Mods

As the excellent thread by @SirTAVARES has been closed, I thought I'd post up with something I found.
After debloating, I was unable to access external storage in apps or the various file managers. When I tried to access I got the Toast message:
Turn on in Settings > installed apps first
The fix was to reinstall com.android.documentsui using the command:
adb shell cmd package install-existing com.android.documentsui
Cheers

picitup said:
After debloating, I was unable to access external storage in apps or the various file managers. When I tried to access I got the Toast message:
Click to expand...
Click to collapse
Thanks for sharing.:good:
Many apps listed there, are NOT bloatware.
Everyone should be AWARE and WARNED , because it can cause problems.
For those who are not familiar with ADB/CMD can use this tool: https://github.com/Saki-EU/XiaomiADBFastbootTools/releases/

Related

problems installing anything

I try to install apk packages like godzson dialer and clear_keyboard and i get errors.
I used apps installer and android dev
apps installer tells me It cannot install the app
android dev I run
adb install C:\clear_keyboard\system\app\HTC_IME.apk
I get
failure [install_parse_failed_unexpected_exception]
I searched for hours finding solutions that say i need to push the files to /system/apps and doing that there is permissions involved and I cant seem to touch anything in /system.
When I run chmod 777 /system i get an error saying unable to change read only file system.
I thought all of this was going to be simple tasks but it's getting really annoying any help would be greatly appreciated. Thanks for everything.
if yr installing through and use
Make sure phone is synced
Make sure app is in tool file I'd adk file
Make sure when at command prompt Ur in adk/tools file first
Adb remount
Adb push (app.apk) /system/(app/framework)
ok I figured out my problem but fixing it is going to be quite confusing. Looks like I would have to know a lot more than I do to fix it. Basically the adb is not reading the phone as root (or something like that). And the ro.secure is set to 1 which it should be set to 0 to be considerd root. So therefore I have to reinstall a bootimg. Ive been reading it on another forum page but i cant post it cause my account hasn't been verified yet. but it's this forum and here is the thread showthread.php?t=443041&page=2
but it's like french to me!!! If anyone can dumb this down for me I would really appreciate it lol thanks a lot you guys have been so much help in the little amount of time ive been a member to this forum. Thank you
redlinethecar said:
I try to install apk packages like godzson dialer and clear_keyboard and i get errors.
I used apps installer and android dev
apps installer tells me It cannot install the app
android dev I run
adb install C:\clear_keyboard\system\app\HTC_IME.apk
I get
failure [install_parse_failed_unexpected_exception]
I searched for hours finding solutions that say i need to push the files to /system/apps and doing that there is permissions involved and I cant seem to touch anything in /system.
When I run chmod 777 /system i get an error saying unable to change read only file system.
I thought all of this was going to be simple tasks but it's getting really annoying any help would be greatly appreciated. Thanks for everything.
Click to expand...
Click to collapse
First, put your apk's in your "C:\AndroidSDK\Tools\" Folder
Second open the cmd window and do "cd C:\AndroidSDK\Tools\"
Third do "adb remount"
Fourth "adb push xxxx.apk /system/app/"
that will install them
When remounting I get error
Code:
remount failed: Operation not permitted
but I continue anyway and the
Code:
adb push HTC_IME.apk /system/app
sends the file with no problem but it doesn't install it though.
Here are steps to do if it is not already installed on your phone. However, if it is you can not install when it is already there. I'm not sure how to remove in terminal and everything I've tried it tells me read only blah, blah, blah...
I tried mount -o remount,rw /system---that is suppose to work.
1.Make sure anything you want installed is in
the root of the sdcard..(/sdcard/nameoffile.apk)
2. Download a terminal emulator from the market.
If it installs continue..If not then continue on back to the thread.
3. Open up the terminal emulator. It should ask permission from SU. >Always allow
4. Now type the following
su (hit enter)
install /sdcard/name_of_file.apk /system/app/name_of_file.apk----if it is a system app
If it is a downloaded app then use /data/app
Ok.... well I tried that way also and I get the error
Code:
install: not found
I downloaded the terminal app from the market and entered the commands as you said for ex.
Code:
install /sdcard/HTC_IME.apk /system/app/HTC_IME.apk
Thanks a lot though I wish it could have been that easy.

Apks safe to uninstall on Liberated FR series ROM?

I need to uninstall as many apks as I can from my phones memory and download them off of market and install on my sd card to free up memory. My phone memory is pretty full and seems to be causing it to lag.... What are the safe ones and unsafe ones to remove?
Tenacious--M said:
I need to uninstall as many apks as I can from my phones memory and download them off of market and install on my sd card to free up memory. My phone memory is pretty full and seems to be causing it to lag.... What are the safe ones and unsafe ones to remove?
Click to expand...
Click to collapse
If you can find the app in the market then its safe to remove. If its in the market that makes it optional. However removing google apps can have adverse affects on other google apps, but your phone will still continue to function just fine, and most if not all the google apps can be found in the market (with the exception of the market itself, dont remove that!). Apps such as the music app and clock apps can be replaced entirely by market apps. Preinstalled wallpapers can also be removed from the rom. Another thing i remove is any ringtones I dont think I"ll need. I dont know about liberated, but cm6 has WAY more ringtones than I need/want, so I just delete em. I also now remove the boot animation from the ROM before installing it to save a few MB. You just get a black screen where the bootanimation would normally show up until the phone boots.
Whats the easiest way to remove files? Ive tried to use Root Explorer and Titanium Backup but they show back up when I restart... Im hoping there is an easier way to remove than adb.....????
Tenacious--M said:
Whats the easiest way to remove files? Ive tried to use Root Explorer and Titanium Backup but they show back up when I restart... Im hoping there is an easier way to remove than adb.....????
Click to expand...
Click to collapse
adb is pretty easy actually. Search the forums for making a cmd shortcut for adb, or if someone remembers how they could post it (this will make life infinitely easier). Then you just boot into recovery and plug in the phone, type the following without the apostrophes:
'adb shell' hit enter.
'cd /system/app' enter.
'ls' enter. (this will pop up a list of the apps you have)
'rm name of app.apk' and its gone forever.
Just keep repeating that last step for every app you want removed.
Can i do this via Terminal Emulator?
yes but the command is different...id give it if i knew it...
CallMeAria said:
adb is pretty easy actually. Search the forums for making a cmd shortcut for adb, or if someone remembers how they could post it (this will make life infinitely easier). Then you just boot into recovery and plug in the phone, type the following without the apostrophes:
'adb shell' hit enter.
'cd /system/app' enter.
'ls' enter. (this will pop up a list of the apps you have)
'rm name of app.apk' and its gone forever.
Just keep repeating that last step for every app you want removed.
Click to expand...
Click to collapse
Im having a hell of a time removing apps from my Liberated Aria. I have installed ADB and the necessary software. I am able to get into CMD and get a listing of files (apk's), but they do not remove... what commands do I need to use?
Ive tried
rm /youtube.apk
rm /system/youtube.apk
rm /system/app/youtube.apk
They are still there... maybe Im not mounting the drive? Or its not in Read/Write mode?
Tenacious--M said:
Im having a hell of a time removing apps from my Liberated Aria. I have installed ADB and the necessary software. I am able to get into CMD and get a listing of files (apk's), but they do not remove... what commands do I need to use?
Ive tried
rm /youtube.apk
rm /system/youtube.apk
rm /system/app/youtube.apk
They are still there... maybe Im not mounting the drive? Or its not in Read/Write mode?
Click to expand...
Click to collapse
make sure your bored into clockwork recovery. Then go to partitions and mount system. then just follow those same directions I posted above. To remove the app you would type:
rm youtube.apk
Exactly like that, with a space after rm and no /.
hm...
Some times I use SystemApp Remover.
Its pretty easy to work.

How to uninstall applications?

Hi!
I've just rooted NST with NookManager.
I'm a total noob in android world (as I don't have any smartphone) and I'm searching for basics about rooted android devices since two days but I didn't come to a solution to my problems.
Simply I want to uninstall some apk as described in this thread http://forum.xda-developers.com/showthread.php?t=1933615
I don't have titanium pro or root explorer.
How to install/uninstall apps and how to take full control about entire nook file system?
Thanks
yell! said:
Hi!
I've just rooted NST with NookManager.
I'm a total noob in android world (as I don't have any smartphone) and I'm searching for basics about rooted android devices since two days but I didn't come to a solution to my problems.
Simply I want to uninstall some apk as described in this thread http://forum.xda-developers.com/showthread.php?t=1933615
I don't have titanium pro or root explorer.
How to install/uninstall apps and how to take full control about entire nook file system?
Thanks
Click to expand...
Click to collapse
It depends on the Launcher you are using.
By default you should have "ReLaunch" installed.
To uninstall an apk, just select it in the app list and hold for a little bit longer. A dialog containing "uninstall" option the should pop up.
The other way is to use "NookColorTools".
http://forum.xda-developers.com/showthread.php?t=868366
Install it , run it, select "manage applications", select certain apk, uninstall it.
edit : you should probably place 'NookColorTools' in /system/app/ using ADB
######################################
Installing apk's
1 way - put 'some_app.apk' on mSD card and select it using any file manager.[/COLOR]
2 way - configure ADB, connect your nook and type 'adb install /your_apk_location_on_harddrive
3 way - install Google Play using 'NTGAppsAttack', install "searchmarket.apk" (i uploaded it somewhere, check my posts), search for apk in google play and install it.
#############################
To uninstall a system apk
Read the forum before deleting any system apk's.
Most of them are necessary for the system to work.
1 way - get any file manager that can mount root partition (Rhytm file manager ; ES file explorer) , select "root explorer" in options, navigate to '/system/app/', Move/delete any apk that you desire.
2 way - configure ADB, connect nook, type 'adb shell', 'mount -o rw,remount /dev/block/mmcblk0p5 /system', 'cd system', 'cd app', 'ls' (to see apk list), 'rm apk_name.apk'.
#############################
To install a system apk.
configure ADB, connect nook, type 'adb shell', 'mount -o rw,remount /dev/block/mmcblk0p5 /system'
exit ADB, from your system type 'adb push /your_apk_location /system/app'
#############################
If you encounter problems with installing from mSDcard search for "howto allow install non market applications on android'.
Remember that only Apk's for Android 2.1 will install. 2.2+ versions will give you an error.
That works great except for MetroUI and Apple 4S. Neither of which seem to want to uninstall from the play store and there's no app entry to hold down on to force deletion.
Plus ESfilemanager isn't letting me go to the system menue else I'd delete the apk there and while ReLaunch /will/ for some reason let me go to /system/apps since it won't let me move the library.apk back to the app folder from backup I'm not sure I trust it to not somehow fubar a delete.
Plus my sister deleted my nook backup image.
Any ideas how to safely clear these thins for someone that's clueless on how to use ADB from ubuntu 12.04? A link to an idiot's guide would be nice if nothing else.
Goggles2114 said:
That works great except for MetroUI and Apple 4S. Neither of which seem to want to uninstall from the play store and there's no app entry to hold down on to force deletion.
Plus ESfilemanager isn't letting me go to the system menue else I'd delete the apk there and while ReLaunch /will/ for some reason let me go to /system/apps since it won't let me move the library.apk back to the app folder from backup I'm not sure I trust it to not somehow fubar a delete.
Plus my sister deleted my nook backup image.
Any ideas how to safely clear these thins for someone that's clueless on how to use ADB from ubuntu 12.04? A link to an idiot's guide would be nice if nothing else.
Click to expand...
Click to collapse
>TUTORIAL - EVERYTHING ABOUT ADB - Fully Illustrated
http://forum.xda-developers.com/showthread.php?t=1241935
-use ADB to install NookColorTools
-go to 'manage applications' (in NCT)
-delete what needs to be deleted
Deleting files is needed only when you want to get rid of a system app.
Don't forget to mount system partition with write permissions. Otherwise you will not be able to copy NCT to /system/app/
You are a lifesaver (and is this thing pinned? I don't recall seeing it pinned. Hell best way of hiding a thread is put it at the very top with a sticky and making it red blinky bold letters.)
OK derp. That guide's windows. Need something linux-centric. I've a feeling after the initial setup it's similar
On command line 'adb devices' gets me nothing even with nook in usb mode.
Edit again: http://rootzwiki.com/topic/20770-gu...-adb-and-fastboot-in-linux-ubuntu-and-mint12/
Using that guide. Will edit/respond with results.
Edit the Third: Odd. Didn't have ot use ADB. ReLaunch let me install. Now to figure out wtf about mountingaccessing internal storage as root.
Thank you for your replies!
I prefer the ADB method via USB, I do not like to modify things by touch screen.
I installed ADB, server is running and nook is connected by usb cable, but no devices are found
Google does not help me (or I am failing with keywords) and I do not want to use a wireless connection.
yell! said:
Thank you for your replies!
I prefer the ADB method via USB, I do not like to modify things by touch screen.
I installed ADB, server is running and nook is connected by usb cable, but no devices are found
Google does not help me (or I am failing with keywords) and I do not want to use a wireless connection.
Click to expand...
Click to collapse
Make sure you have the driver installed properly. See the wiki article on installing the ADB driver for the Nook Simple Touch.
yell! said:
Thank you for your replies!
I prefer the ADB method via USB, I do not like to modify things by touch screen.
I installed ADB, server is running and nook is connected by usb cable, but no devices are found
Google does not help me (or I am failing with keywords) and I do not want to use a wireless connection.
Click to expand...
Click to collapse
Use "ADB konnekt" to connect with your pc via wifi.
If you want to connect via USB you have to turn on "USB DEBUGGING" (manually of using NookColorTools)
and add correct udev rules (http://ubuntuforums.org/showthread.php?t=1918512) on linux.
There are some differences in adding udev rules in different versions of Ubuntu/Debian/Mint. I have no idea on how to do that on Fedora,Gentoo etc.
Don't know how to do that on windows. This info can be found using a search engine x]. Look for ("android device adb setup windows")

Accidentally uninstalled Package Access helper

Hey Guys,
I just made a big blunder.. darn! I uninstalled the Package Access Helper (thru the titanium backup app) on my G2 (D802 ver) and now I can't install any apps anymore from the PlayStore.
The phone is rooted though..
My question is... What's the best and easiest way to remedy this problem? should I go to all the hassle of reflashing back to Stock ROM? OR can I possibly get an apk for this "Package Access Helper" thingie? and where in God's world do I find this apk if ever asl well?
I'm in dire need here guys... pls help me out. .::
thank you.
There you go
bender_007 said:
There you go
Click to expand...
Click to collapse
Hey thanks bender.. I tried to download and install the apk file on my phone but I'm getting an error - "Package not installed"...
letters_to_cleo said:
Hey thanks bender.. I tried to download and install the apk file on my phone but I'm getting an error - "Package not installed"...
Click to expand...
Click to collapse
copy it to /system/app & reboot
Thanks, but I dont have have any root explorer app on my phone.
Already installed the adb shell on my laptop..
enabled USB debugging on my phone, checked device manager and saw "Androidnet Sooner Single ADB Interface: under Computer.
then on the command prompt with admin permission, I typed on where the adb libs are located
adb shell
su
adb remount
chmod 777 /system/apps
adb push DefaultContainerService.apk /system/app/
BUT.... I always end up with the errr message "device not found"
What's this error all about??
Thank you again for sharing some of your info... I highly appreciate your insights on this
Here you go x2
flashable
@error - you need adb drivers + usb debugging enabled.
I sent you back a message mate.
Unfortunately the flashable zip might not be of no good to me at all, as I did not install any custom recovery on my phone e.g. twrp, etc.
I guess the only route I can do is to really push the DefaultContainerService.apk to the /system/app but I'm always getting this err -'device not found''it
Should Androidnet Sooner Single Adb interface really be the one that appears under the Device manager? or should it be 'Android Composite ADB Interface'?
I'm having a tough luck on this
I guess the most I can do on this would be to just reflash it back to stock again and hope it'll work. *sigh
what does "adb devices" show ?
bender_007 said:
what does "adb devices" show ?
Click to expand...
Click to collapse
adb devices show nothing.
letters_to_cleo said:
adb devices show nothing.
Click to expand...
Click to collapse
you need a more recent adb.exe
try this one https://dl.dropboxusercontent.com/u/663851/adb.exe
darkobas said:
you need a more recent adb.exe
try this one https://dl.dropboxusercontent.com/u/663851/adb.exe
Click to expand...
Click to collapse
thanks man, I downloaded the adb tool from the android sdk website itself.
By the way, I tried as well booting up to stock recovery, and flashing the zip (on the earlier post), but since my phone system is not yet mounted, then the zip file didn't do anything at all.
any one please send me the Package Access helper to my gmail
Please help me I want to restore my package Access helper back please
For battery optimization obsessives, Do not delete or disable it. Apps from play store can not be installed without it. This what I ended up with after disabling the service.

Can't delete system apps with root

For some reason I cannot delete system apps. I know for sure that I am rooted and that the system is mounted. No matter what app I use it doesn't work. System app remover from the Play Store gives me a "failed uninstall" error, deleting the system app folders with root explorer does not work, and Titanium Backup doesn't work. I even tried changing the permissions to rw for each app to no avail. Does anyone have any idea what the problem is?
bkores said:
For some reason I cannot delete system apps. I know for sure that I am rooted and that the system is mounted. No matter what app I use it doesn't work. System app remover from the Play Store gives me a "failed uninstall" error, deleting the system app folders with root explorer does not work, and Titanium Backup doesn't work. I even tried changing the permissions to rw for each app to no avail. Does anyone have any idea what the problem is?
Click to expand...
Click to collapse
Probably system write protection (see here http://androidforums.com/threads/zte-write-protection-for-zmax-and-other-zte-phones.1040331/)
running this will disable it
adb shell reboot disemmcwp
peramikic said:
Probably system write protection (see here http://androidforums.com/threads/zte-write-protection-for-zmax-and-other-zte-phones.1040331/)
running this
adb shell reboot disemmcwp
Click to expand...
Click to collapse
Thanks. I'll try this when I get home and update with the results.
It worked! Thank you so much! @peramikic
I'm also trying to delete system apps. The link posted above is no longer working can someone post a new link or point me in the right direction
dunas2331 said:
I'm also trying to delete system apps. The link posted above is no longer working can someone post a new link or point me in the right direction
Click to expand...
Click to collapse
if you use adb:
adb shell reboot disemmcwp
if you use terminal emulator:
su
reboot disemmcwp
if you use TWRP terminal:
reboot disemmcwp
Thanks it worked I used twrp
chek my youtube video

Categories

Resources