I haven't seen any other threads and if I have over looked anything based on this topic that is helpful please redirect me. I was just wondering what apps that are preinstalled in ROMs are safe to remove e.g Twitter, Flickr, Footprints etc. I do not need help removing them I already have I am just curious as to what else can be removed safely with out creating an problems/FC.
For anyone interested in removing these apps here is how to do so: (I absolutely do not take any credit for figuring out how to removes these I found it on google and I cannot remember where)
Code:
Type "adb remount"
to remove Peep: "adb shell rm /system/app/*Twit*" then press enter
to remove Stocks: "adb shell rm /system/app/*Stock*" then press enter
to remove Flickr: "adb shell rm /system/app/*Flickr* then enter
to remove Footprints: "adb shell rm /system/app/*Footprints*" then press enter
Additional Apps that are possible to remove thanks to shelnes for the info
to remove Teeter (the HTC game like labyrinth): "adb shell rm /system/app/*Teeter*"
to remove Mail: "adb shell rm /system/app/*Mail*"
to remove HTC Sync: "adb shell rm /system/app/*Sync*" *NOTE* THIS MAY CAUSE YOUR WEATHER TO NO LONGER WORK (the weather info clock) WHEN I REMOVED ALL OF THESE FOR SOME REASON OR ANOTHER MY WEATHER CEASED TO WORK
to remove QuickOffice: "adb shell rm /system/app/*Quickoffice*"
to remove Jbed Java: "adb shell rm /system/app/*Jbed*"
PLEASE NOTE this directory did not work for me if it does not work for you try
"adb shell rm /system/sd/app/*Jbed*"
*NOTE*: Please note that you must run command prompt to do this, either click start, run and type 'cmd' or anyone with Vista or higher type 'cmd' in search, also AndroidSDK must be installed search the forums youll find a guide then in cmd type 'cd\' enter, and 'cd yourdrive:\AndroidSDK(or whatever you named the folder)\tools\' e.g cd c:\AndroidSDK\tools\ after doing this you can enter the commands in the code box
where do u type these? i have ra 1.6.2 and no idea where to put these in
edit: no worries i found it. For any1 else wondering its the cmd prompt on your pc after remounting your phone (should have done this in the early stages of making your goldcard!)
so are there no other apps that are safe to remove?
You also can remove Teeter, Mail, HTC Sync, Mail, Jbed Java and QuickOffice without it causing any problems.
thank you =D
No problem
-------------------------------------
Sent via the XDA Tapatalk App
How to remove Stocks, Nascar and other useless apps...
Hmm cant get it to work?
Just asks me if I want to remove what I just entered and cant enter y for yes?
{
"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"
}
sorted forgot to adb remount: also get rid of unwanted ring tones eg:
adb shell rm /system/media/audio/ringtones/*Blippy*
Related
Hi, I have a problem, I keep receiving subscription ads requests, it seems that it is from my cellphone company, since you can see the sim image in there but I am not sure. This are some examples:
{
"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"
}
Background info: (running Android 6.01, 26.3.B.0.131)
So I used to be on a cell phone company which had this subcription ads request (Movistar), but I changed to another one which they say they do not have any of that (Tuenti), with the same number, and they are both owned by the same company (Otecel), so maybe some settings from the old operator were kept in the new ones, I have talk and talk and talk with them, and i just keep receiving this ads.
Is Root the solution?
Maybe if root my device, I can disable the sim services app, or I do not know something else, and I would not receive this ads again, or what do you guys recommend me.
Hello, have you tried to 'adb hide' or 'adb disable' the STK apk? No root required AFAIK
Pixelado said:
Hello, have you tried to 'adb hide' or 'adb disable' the STK apk? No root required AFAIK
Click to expand...
Click to collapse
No, I have not tried not, because I do not know how to do it, could you please teach me , please noob steps
Sorry for being so late haha.
I'll assume you're using Windows 7 or newer.
Steps:
- Get ADB and proper drivers for your devices (Flashtool ships with all of this)
- Enable dev settings on your phone
- Enable USB debugging. Disregard all warnings
- Connect your Xperia to your PC via USB cable
- Wait for drivers to install
- Open a terminal/command prompt on your PC, point it to a directory where you have an ADB executable (adb.exe) (you can do this by opening the flashtool libs folder, eg: c:\flashtool\x10flasherlib, and right-clicking anywhere on the window while keeping the SHIFT key pressed)
- Issue the following command:
-- adb devices
Your phone should ask for authorization now. Grant it
- Issue the following command(s):
-- adb shell (this gives you access to your device's terminal from your PC)
-- pm disable com.android.stk
If the above command fails, try:
-- pm hide com.android.stk
- You're done
You can avoid using a PC by using a terminal emulator on your device AFAIK. I might be wrong though.
Hi.
The app was working on my phone before the update, but then it started acting funny. So I reinstalled it and tried the ADB stuff again but it's not working anymore.
I tried revoking the USB debugging authorization, and still no joy.
Whenever i type this command: "adb shell pm grant com.fb.fluid android.permission.WRITE_SECURE SETTINGS"
I get this message:
"Exception occurred while executing:
java.lang.IllegalArgumentException: Unknown permission: android.permission.WRITE_SECURE
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:2368)
at com.android.server.pm.permission.PermissionManagerService.access$1100(PermissionManagerService.java:131)
at com.android.server.pm.permission.PermissionManagerService$PermissionManagerInternalImpl.grantRuntimePermission(PermissionManagerService.java:3240)
at com.android.server.pm.PackageManagerService.grantRuntimePermission(PackageManagerService.java:6402)
at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:1730)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:217)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:25694)
at android.os.Binder.shellCommand(Binder.java:642)
at android.os.Binder.onTransact(Binder.java:540)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:3315)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4732)
at android.os.Binder.execTransact(Binder.java:739)".
Please help.
anyone, please ?
Follow these steps:
-Restart Mobile Phone
-Enable Developer Mode in the Android settings.
-Enable USB Debugging
-Install Adb (links bellow)
-Run the following adb command to grant the permission
Open PowerShell window. You can use SHIFT+right click in abd folder.
Now enter the following command and hit ENTER:
./adb shell wm overscan 0,0,0,0
and then
./adb shell pm grant com.fb.fluid android.permission.WRITE_SECURE_SETTINGS
now check Problem will solve.
vedz86 said:
Follow these steps:
-Restart Mobile Phone
-Enable Developer Mode in the Android settings.
-Enable USB Debugging
-Install Adb (links bellow)
-Run the following adb command to grant the permission
Open PowerShell window. You can use SHIFT+right click in abd folder.
Now enter the following command and hit ENTER:
./adb shell wm overscan 0,0,0,0
and then
./adb shell pm grant com.fb.fluid android.permission.WRITE_SECURE_SETTINGS
now check Problem will solve.
Click to expand...
Click to collapse
Thanks for the trick. It works fine.
Same error message on my Mi 10 Lite and the Powershell commands didn't help, anything else I could try ? Thanks !
webvan said:
Same error message on my Mi 10 Lite and the Powershell commands didn't help, anything else I could try ? Thanks !
Click to expand...
Click to collapse
Hi, I saw your issue and I found the fix because I also faced this. Just enable these two options under Developer Options before entering those commands. These are two extra security measures introduced in Mi and Redmi phones. You need to sign in via Mi Account to continue. Make sure to disable it after use. Hope it helps:
{
"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"
}
All I want to achieve is to pull subfolders ( DCIM etc.pp ) of Android's /data/media folder what successfully got mounted as RW
To access /data partition you need root permission which is adb root
But most devices would refuse to run this command, in which case you need to install adb insecure mode. You can get that from here.
After installing the app switch to insecure mode. Then pull command should work.
Alternatively you can use adb shell to work around it:
Code:
adb shell
su
mkdir /sdcard/media
cp -R /data/media/* /sdcard/media
exit
exit
adb pull /sdcard/media
Notes:
The "*" in "/data/media/*" stands for all, which copies all files in current directory. If you want specific file just replace it with "filename.extension"
The option "-R" in "cp" command stands for recursive which copies directories, and will copy all files in respective directories as well.
Thanks for trying to help: Unfortunately your solutions don't work at all.
FYI:
I use /data/local/tmp for intermediate storage ( permissions: rwxrwxrwx )
I can successfully copy /data/media/<SUBFOLDER> to /data/local/tmp/<SUBFOLDER> ( permissions rw-rw-rw- )
All copied files have permission rw-rw-rw-
When applying ADB PULL on /data/local/tmp/<SUBFOLDER> I still get error "Access denied" even if having additionally set owner of all
files in /data/local/tmp/<SUBFOLDER> to shell.shell and/or root.shell and/or shell.root and/or root.root
It's working fine with me, but I used /sdcard as the copy folder.
Like I said you can only access /data partition with root. You can try the first method mentioned above.
As mentioned none of your suggestions solved the problem.
1, ADB Insecure obviously doesn't work on Android 8+ devices, hence useless
{
"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"
}
2. Temporarily copying to /sdcard in my case is useless too, because /sdcard is merely a symlink to /data
So you can't even use pull command on /sdcard partition?
I only found this answer, that may be similar https://android.stackexchange.com/a/213172
Since the last MIUI update I am experiencing an issue with notification. When using a video player (like Plex, VLC, YouTube Vanced), I usually see a notification icon when using background playback. This is now gone. Also, and this is the main issue actually, when I close the app I still see it in the notification center and when I swipe it away it still occupies the same space. The notifications below it won't move up. And when I put the phone in stand-by and then open it again, the multimedia notification is there again. The only way to get rid of it is to force close the app.
Is anybody else experiencing this ?
{
"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"
}
i have the exact same issue after 12.5 update
Yes is a known bug of this release.
The only solution is by ADB
Open developer tools, connect by USB, and by ADB shell type the following command:
adb shell settings put secure qs_media_resumption 0
That's all
adb shell settings put secure qs_media_resumption 0
thank you, fixed the issue
rello1976 said:
Yes is a known bug of this release.
The only solution is by ADB
Open developer tools, connect by USB, and by ADB shell type the following command:
adb shell settings put secure qs_media_resumption 0
That's all
Click to expand...
Click to collapse
Thanks for this. I'm trying to get this to work, but I don't have much experience using adb. Could you perhaps tell me why it's not working for me ?
adb shell
* daemon not running; starting now at tcp:5037
* daemon started successfully
renoir:/ $ settings put secure qs_media_resumption 0 Exception occurred while executing 'put': java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS at com.android.providers.settings.SettingsProvider.enforceWritePermission(SettingsProvider.java:2105) at com.android.providers.settings.SettingsProvider.mutateSecureSetting(SettingsProvider.java:1615) at com.android.providers.settings.SettingsProvider.insertSecureSetting(SettingsProvider.java:1566) at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:408) at android.content.ContentProvider.call(ContentProvider.java:2486) at android.content.ContentProvider$Transport.call(ContentProvider.java:522) at com.android.providers.settings.SettingsService$MyShellCommand.putForUser(SettingsService.java:375) at com.android.providers.settings.SettingsService$MyShellCommand.onCommand(SettingsService.java:277) at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98) at android.os.ShellCommand.exec(ShellCommand.java:44) at com.android.providers.settings.SettingsService.onShellCommand(SettingsService.java:49) at android.os.Binder.shellCommand(Binder.java:932) at android.os.Binder.onTransact(Binder.java:816) at android.os.Binder.execTransactInternal(Binder.java:1162) at android.os.Binder.execTransact(Binder.java:1126)
UPDATE: nvm, I figured it out. I had to also enable the debugging feature that allows secure access. (and log into my Mi account, blegh).
Thanks again
Thank you, the above fixed the issue
Here is a simpler way to fix that, you just need to update MIUI Notifications built-in app to a newer version.
I have attached the apk file, just install it on top of the existing version.
Gonna try it now. Thanks!
Hi, I did the adb process adb shell settings put secure qs_media_resumption 0 but now i'm having issues when the phone connects to the car bluetooth as the song names aren't being updated. How can I revert this, which is the default value for it? I would like to try and see if fixes the issue with the car system and then try to update the notif apk.
thanks!
anyone?
To my knowledge Windows Subsystem for Android ( WSA ) is not created to run apps from the Amazon store only, but is configured for testing via ADB, will say run Linux commands in an Android shell, too.
WSA ( what at time of this writing is running Android 12 ) has merged Landley's Toybox v0.8.4, a bag of over 200 Linux command line applets - I have not really counted them.
A typical Linux distribution provides 428 command line applets - the SU incorporated. I have uploaded .ZIP ( 263 MB ) what contains them all here to:
428-cmds
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
If you are interested in this project, too, then it's on you to download and extract the .ZIP and push the 428 files onto Android, preferredly to /storage/emulated/0/428-cmds, and make them executable.
Example .BAT-file - assumed .ZIP got extracted into D:\428-cmds folder & ADB is installed on PC
Code:
adb connect 127.0.0.1:58526
adb devices
adb shell "cd /sdcard & mkdir -p -m06755 428-cmds 2>/dev/null"
adb push "D:\428-cmds" "/sdcard/428-cmds/"
adb shell "SM='getenforce';setenforce 0;cd /sdcard/428-cmds;CMDS='$(find .-name "*" -maxdepth 1 -type f 2>&1 | grep -i -v denied)';while read x;do chmod 06755 "$x" & chown root:shell "$x";done; << "$CMDS";chcon "$x" u:object_r:su_exec:s0;setenforce "$SM";"
{
"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"
}
Note:
The 428 commands provided all are ELF32 binaries, so 32-bit:
That doesn't have to stop you from using them on a x86_64 PC because a 64-bit CPU can handle 32-bit commands.
Hmm... Great Work
I am getting an error on the last command.
/system/bin/sh: here document '$CMDS' unclosed
I tried the method in your toybox thread but it doesn't connect to wsa.
I think it is looking on the wrong port from the looks of the script. I am just trying to get root. I updated my rooted build of wsa and it no longer would load. i have tried different ones making sure to remove the one from the microsoft store first. Installing the one from the microsoft store by installing the amazon store gets wsa working again but without root and without my userdata.vhdx that I backed up. Any help would be appreciated. Thanks