shell

  1. GIRATOR

    Thread Install magisk using ONLY adb root shell

    /* excuse windows person in advance for poor grammar */ TL;DR: LG V20 H918 bootloader unlocked bootable LOS19.1 no fastboot available no recovery available Goal: setup magisk using adb root shell Is it possible? What happend: On stock LG V20 H918 no flashing was available in fastboot...
  2. D

    Thread com.sec.spp.permission.TOKEN remote code execution backdoor on Samsung Apps

    Hallo, I've noticed this problem 1 year ago and it keeps affecting my different Samsung devices, when I format them, even with nand erase and re partition using pit files, after some days or even hours the problem comes back. The said permission contains an unique code for every token on...
  3. kdvb

    Thread [Vulnerability] Bluestacks root access via adb

    On GitHub: https://github.com/KDVB/BlueStacks-ADB-root-access Disclaimer For informational purposes only. The author does not call for further actions. Created to warn users who use this product Background ADB (Android Debug Brigde) - is a versatile command-line tool that lets you communicate...
  4. BLuFeNiX

    Thread [Exploit] [Shizuku Support] SMT Shell v2.0 - get a SYSTEM SHELL (UID 1000) within the app itself - and write your own system app with an API

    SMT Shell v2.0 GitHub: https://github.com/BLuFeNiX/SMTShell Hi everyone! After seeing the recent controversy over a similar tool, I have decided to maintain my own version of the Samsung system shell exploit, targeting CVE-2019-16253. Original CVE: CVE-2019-16253 What does it do? This tool...
  5. K

    Thread ***LOCKED UNTIL FURTHER NOTICE*** System Shell Exploit - ALL Samsung Mobile Devices NO BL UNLOCK REQUIRED.

    ***MODERATOR ANNOUNCEMENT: THREAD CLOSED*** @K0mraid3 you are hereby required to provide proper credit in your OP as follows: Link the assigned CVE for this exploit as it mentions the author's blog and GitHub, OR Link the original research repo as provided by @flanker017 Further, while you...
  6. B

    Thread How To Guide Some hints about the Android safe mode

    Safe mode is a feature in Android phones where all third-party apps on the device become inaccessible when enabled. Doing a Google search on Android safe mode, I found a lot of information that is outdated and no longer applies to the current Android version. So this small HowTo contains some...
  7. O

    Thread ADB "Hey Google" edit settings when screen is off

    Hi every, i have a two devices Samsung Tab S6 and OnePlus Nord 2. I want use Google Assistant when screen is off. In same settings "Hey Google & Voice Match" is diferent options. How it i change setting in my Nord2 as in Tab S6? is such a thing even possible? Thnx everyone
  8. D

    Thread My first shell script to prevent internet access until InviZible privacy app runs

    Hi Again Folks! This is my first shell script and I didn't think twice before showing it to everyone, look the Github Repo. It is a script that prevents access to the internet until this application is executed when system boots up! What do you think about it?
  9. D

    Thread How can I run main activity app at background after boot with screen locked?

    "am start -n" doesn't work, my script is in "/data/ADB/service.d" with 755 permission. System apps show notifications on the locked screen when booting, ie they run automatically. How do I do this with a user app? I want to run a privacy app, "InviZible" when the system boots, because autostart...
  10. Z

    Thread Writing to /mnt/usbhost1?

    Hi! I was creating a series of filler dummy files to actually erase as much as possible on a Quantum GoClever 900 Android tablet (specifications: Allwinner A23, 512MB RAM, 8GB of internal storage, Android 4.4.2, stock firmware, NO root) before the factory reset (so as to leave no chance to file...
  11. D

    Thread Android persistent script backdoor

    Hi, I am using msfvenom, on Kali, to embed a payload in an app. When the app launches it starts the backdoor reverse_tcp service which connects to my session. Once I have a meterpreter session I try to run a shell script, in the background, to constantly try and reconnect when/if the app...
  12. B

    Thread How to access data folder from non-rooted device?

    A few weeks ago one of my important apps started crashing on open. Since I have important informaiton saved on that app I need to obtain it. Is there a way to access that package folder (and that app is not debuggable) with adb or shell? When I try to access via adb and shell the result it...
  13. noidodroid

    Thread [GUIDE] IMEI / Connection Repair on Asus Zenfone 2E ZE500CL Z00D

    [GUIDE] IMEI / Connection Repair on Asus Zenfone 2E ZE500CL Z00D I am writing this guide because I recently recovered a bricked ZE500CL and after flashing around so many different files I lost my IMEI and connection abilities. After a little research and some thought I easily repaired my IMEI...
  14. M

    Thread Is there a shell script to lock phone for a period of time?

    Hey there! I'm trying to make a macro automation where after it is triggered it runs a script that locks the phone for a custom period of time, not allowing to reboot or power off the phone through hardware keys. I believe it would happen on the bootloader, like when there's a firmware update...
  15. memorycorruption

    Thread Why is adb still showing "http" links in its terminal outputs?

    Upon getting an permission error when using ./adb shell .... I noticed that in the displayed output, http links are being used instead of google's own aggresive years-long push for sites to use https due to security concerns of the http protocol etc... The whole developer.android.com site...
  16. N

    Thread Any way to figure out the recovery mode button combination using adb?

    I changed few lines in build.prop of my android TV box and it resulted in a "services died => GC_EXPLICIT freed => cant get entry" loop, with long lines of error if I look into the logcat from adb. The device screen is stuck at the android log. Even though, I changed the build.prop file to how...
  17. oF2pks

    Thread [APP|ROOT|FOSS|5.0+] ADBungFu: appOps manager / ADB simulator (#su Magisk)

    EDIT: android 12 appops added Superuser ADBcmd appOps freezer ^4 root ed :# su Magisk (all appOps not requiring aosp/sOpPerms i.e. the permission-less ones) *Official build is live on F-Droid; attached _debug flavor has extended functionalities (and latest chainfire/libsuperuser:1.1.0)...
  18. B

    Thread Gtec Framework | ARM | MIPS | X86 | X64 | WINCE | WM

  19. MarcelS

    Thread Does Terminal Emulator stop execution of program when I close the window?

    I started 'ping' command from Terminal Emulator which execution is infinit. I wasn't able to stop that. When I pressed Vol- + C (which should work as Ctrl + C), 'ping' command didn't abort. So I just closed Terminal Emulator app. So if I close terminal without stopping program ('ping' in this...
  20. k1ll3r8e

    Thread [TOOL] ADB-Overlay [2.2.2.0 - .Net 6]

    Heyho together, after my P9-Lite and P10-Lite toolkit i thought, it's time to build a more generic version. Here it is, the ADB-Overlay! The main point of this project is to serve a GUI for ADB. Currently, there is a File-Explorer, Remote-Desktop, Shell interface and APK installer implemented...
  21. prahladyeri

    Thread Is there a way to grant myself MANAGE_USERS permission while inside the adb shell?

    The thing is that I'm fed up of some stock adware apps on my Micromax phone and want to disable them for good. So, as per this Android SE answer, I used adb shell to disable the app, but I'm getting the following error: [email protected]:/ $ pm hide com.micromax.trendingapps Error...
  22. CrashOverride93

    Thread shell commands cannot write on external sd card

    Hi, I'm trying to create and delete zip files through command on external SDCard, but fails. The 'Permission denied' message is shown when both commands are executed. I have tested it on latest Tasker beta version, and also using Terminal app, but as it would be obvious, same error is shown. I...
  23. P

    Thread Which forum for asking questions about the shell and changing environment vars etc?

    People, I have a rooted Google 2 XL and routinely connect to it from my Fedora Linux machine and the first thing I realise is that things are so different from Linux that I can't find where to do even simple things like changing my prompt via editing Environment Variables etc. I had a quick...
  24. J

    Thread How to overwrite system file with script

    This script creates another file in the same directory, with the *same* name as the desired target file: There are now two files in the same directory with the same name (???). The original file has an Android icon, and the new file has a text icon (Total Commander). #!/bin/bash/sh ... echo...
  25. T

    Thread Help with mounting SDExt partition

    Hi floks, I have a oneplus X phone (Onyx) with the weirdest problem with AOSP 8.1 (this rom). I am trying to mount my partitioned external SDCard (ext2 primary partition) in /data/sd to be able to move some app data to my card and free up internal space. Mounting works ok from adb ("su"+"mount...
  26. X

    Thread [ROOT][ALL] Android Scripts Toolkit (AST)

    My thread and project are inactive now. Please accept my apologies for this inconvenience.
  27. M

    Thread [INFO] TERMINAL, SHELL & DISPLAY SERVER on LINUX, ANDROID & WINDOWS

    This post is not an authority on the subject, but just a few reminder notes for me and for those who are interested in grasping things in simple way. WHAT IS SHELL Shell is the commandline interpreter i.e. it takes commands from user as text and facilitates the execution of relevant binaries...
  28. MOAMEN123

    Thread [tool][windows][adb shell program by moamen][v1.0]

    ADB SHELL PROGRAM BY MOAMEN Why did i make this tool? To help new users and developers to use adb and fastboot with easier way;) What is new in it and why it is different ? Because it allows you to use most of adb commands without typing one command line as well as you can use any additional...
  29. W

    Thread Read-only file system - ONLY SOMETIMES - On Android 5.1.1 Flash Drive

    I am really stumped here. I have an Android 5.1.1 TV computer, rooted, SuperSU, shared mount namespaces, and generally working as expected. I have Tasker run a shell script, using root, to perform a nightly backup of my /sdcard to a file on a flash drive attached to one of the computer's USB...
  30. letrain02

    Thread Debloating Using adb shell - information thread

    i have been unable recently to get the lg debloater app to work. not sure why, looks like it was pulled from the app store? well there is an easier way anyways. here is my list of apps i removed via adb shell. if anyone else would like to add any other apps i think this would be a great...
  31. raynan

    Thread Screencap command not working as root?

    I've been researching this for the past few days and haven't found anything particularly helpful and I'm just curious to see if anyone else has tried this or has a solution. Running the "screencap" command as root on my 2 XL running 8.1 no longer works, regardless of any options; if I did my...
  32. KobiP

    Thread How to modify build.prop

    Hello, the Main XDA Page had a tutorial on how to disable the Google Assistant. Step 1: Root Step 2: Change build.prop But somehow I am stuck with how to change build.prop. - With adb pull I can get the file, but I can't push it, I get the message "failed to copy 'build.prop' to...
  33. Matt07211

    Thread Unable to get a root shell in ADB

    Preface: I am trying to attain root, on a un-rooted device, Samsung xCover3, (Note: Root is able to be achieved on kit-kat, and marshmallow, not on Lollipop, which is the current device I'm working on...
  34. elfrisi

    Thread Unable to hide the HTC 10 Lock Screen

    About two months ago, I hid the HTC 10 LockScreen (to get the AOSP one) using the abd shell pm hide com.htc.lockscreen. It worked flawlessly. However, last night I had to Factory Reset my HTC because it randomly started bootlooping and giving me an SD card reading error (unfortunately, my SD...
  35. R

    Thread Where to get original coloured housing?

    Hi, anybody know where to get these coloured battery back doors? I have found only black one...
  36. facuarmo

    Thread [SCRIPT] Log CPU Usage with interval (Linux)

    Hey guys, I've just decided to get inside of the Android development world. Anyways, I'm mostly a fan of Linux, so I've made my first Linux script, I know it's simple, but I've never interacted with the user before, or picked an output. When I knew that Android made use of Linux in its core, my...
  37. mrgnex

    Thread Fix "device offline" when using adb

    Today I wanted to use adb on my phone but it always returned the message "device offline". Baffled as I was I started searching the web. To my surprise there wasn't a solution out there. But I did manage to fix it. How to fix it: 1. Locate the folder with the adb.exe and AdbWinApi.dll and...
  38. I

    Thread Tasker root shell command not working

    I have a Taiwan model H815, rooted using the injection method. I'm trying to use a root shell command in a Tasker profile task to enable/disable mobile data in Tasker ("svc data enable/disable"). The command appears to execute, and a message pops up saying "Tasker has been granted superuser...
  39. C

    Thread Mechanical problem: Dropped Xperia Z - jolted power button and lifted case rim

    Hi, I dropped my Xperia Z the other day and now the power button seems to be permanently down (recessed). The case rim below the power button (when looking at the screen) is lifted. Luckily, I can still power up/down, but now the lifted area below the power button has become the button. If I...
  40. Deic

    Thread [TOOL][v2.0] SH-OTA, an Android script auto-updater utility

    *** Disclamer I'm lazy for this now xD... Introduction An Android script auto-updater utility. How to 1. Download SH-OTA (down) 2. Edit your script 2.1 Add the code of SH-OTA.sh in your script 2.2 Write the latest version of your script, example: version="1.0_stable"...
  41. mike the inkman

    Thread [shell][utility][terminal] munky-tool

    ***MUNKY-TOOL*** IS AN ONBOARD ANDROID UTILITY FEATURES Copy system.img Copy boot.img Backup efs Logcat Backup and Restore Contacts Out For A Rip Munky-tool will locate and copy most partitions without you having to track down paths. This is convenient if you use a ROM kitchen, or just want...
  42. B

    Thread [Game] [3.0+] Battle of Tanks : Reloaded

    Bigger, Better, Meaner - Battle of Tanks: Reloaded, our new Android game is out: Get it from Play Store: https://play.google.com/store/apps/details?id=com.thoughtshastra.battletankreloaded Battle of Tanks is an action-packed, addictive, 3D Android game. In Battle of Tanks Reloaded your goal...
  43. thisguysayswht

    Thread adb push/pull with wildcards (or adb shell cp /foo/*/bar_*)

    I've been working on a bash script that automates commonly used adb and fastboot commands. Its pretty much done, but I have one option I'm trying to incorporate that takes a backup (through the adb twrp interface) and automatically puts it on the host machine. It needs to wildcard both the...
  44. brainscollector

    Thread Top quality Moto G 2013 shell

    Hey. I'm looking for colored (red / royal blue / turquoise) moto g shell that is covered with rubber layer like in black "stock" version. I've heard that there are some produced with this method but so far I have bought 5 (most of them sent back to seller) that were just a plastic - slippery...
  45. P

    Thread [Q] "Simple" bluetooth question: Disable Automatic Connection or workaround?

    [Q] "Simple" bluetooth question: Disable Automatic Connection or workaround? I am looking for some way to prevent every phone in the house from trying to connect to a bluetooth speaker or receiver when it's turned on. the devices in question all run Android 4.4.4 stock unrooted Motorola...
  46. R

    Thread Grip shell for Moto G 2014

    Anyone know if they will be sold by Motorola in the future? Or any OEM or Chinese brands out there? I'm surprised noone asking about them. I have one on the original Moto G and it's great. I wouldn't want to get a case to add thickness to the new Moto G, a grip shell would be perfect.
  47. osm0sis

    Thread [DEV][TEMPLATE] Complete Shell Script Flashable Zip Replacement + Signing [SCRIPT]

    Complete Shell Script Flashable Zip EDIFY/update-binary Replacement + Zip Signing Documentation Background Information First truly done by Chainfire for his SuperSU zips, the typical update-binary in flashable zips may be replaced by a shell script and the recovery will run this instead. This...
  48. Bexton

    Thread [SCRIPT][1.6+][WHATSAPP][14/11/08] Disable sending read-receipts for WhatsApp msgs

    Shell script to disable read receipts for all your incoming Whatsapp messages Even "better": Others won't see whether you've already read their message(s) or not. However, you will still be able to see the read receipts of others! :p...
  49. AnteusFogg

    Thread [Q] How to make an apk out of a shell script?

    Here's my problem: For Aviate users, the transparent theme is highly anticipated. It is available with a little change of a key in the config XML file. But that's only available for rooted users. I know shell, so I should be able to put together a script that does the job but it'll still not...
  50. 7175

    Thread [Shell][mksh][Scripting]::mksh-R50e-static-FULL+mkshrc_mods:::

    :::BRIEF DESCRIPTION::: mksh is the official, currently-developed shell used for Android. It is not an app nor a virus (lol) like some people seem to think, looking at a quick xda search. And as the core shell for android, it is used to shell superuser, so if you're rooted and get a message...