Giter Club home page Giter Club logo

adbloat's Introduction

adbloat

Pre-Requisites for Using ADB

Setup all of the following to use ADB

Setup Computer with ADB Platform Tools

Windows Install with Chocolatey choco install adb -y Linux Install with Terminal sudo apt install -f --assume-yes android-tools-adb android-tools-fastboot

  1. Open Settings, and select “About”.
  2. Tap on “Build number” seven times.
  3. Go back, and select “Developer options”.
  4. Scroll down, and check the “Android debugging” or “USB debugging” entry under “Debugging”.
  5. Plug your device into your computer.
  6. On the computer, open up a terminal/command prompt and type adb devices.
  7. A dialog should show on your device, asking you to allow usb debugging. Check “always allow”, and choose “OK”.
    • Note: If you don't see this prompt on you device change the usb connection to MTP or File Transfer on the device

ADB Commands - These commands work when device is bridged into pc

adb shell - launches a shell on the device

  • adb shell pm list packages - list all installed packages on the device
    • adb shell pm list packages -3"|cut -f 2 -d ": - lists all user installed packages
    • adb push <local> <remote> - pushes the file local to remote
    • adb pull <remote> [<local>] - pulls the file remote to local. If local isn’t specified, it will pull to the current folder.
    • adb logcat - allows you to view the device log in real-time. You can use adb logcat -b radio to view radio logs, and adb logcat -C to view logs in colour
    • adb install <file> - installs the given .apk file to your device
    • adb uninstall com.packagename - uninstalls package from shell pm list packages
      • Note: if you encounter "[DELETE_FAILED_INTERNAL_ERROR]" type this to bypass: adb shell pm uninstall --user 0 <appname>
    • adb reboot - reboots system
    • adb reboot bootloader - reboots to bootloader
    • adb reboot recovery - reboots into recovery mode
    • adb reboot fastboot - reboots into fastboot mode

Fastboot Commands - These commands work when device is in Bootloader and Fastboot Mode

  • fastboot devices - shows all connected devices
    • fastboot reboot - reboots device - can add bootloader, recovery, and fastboot
    • fastboot oem device-info - shows oem bootloader status (unlocked or locked)
    • fastboot oem unlock - unlocks oem phones - note: aosp and unlocked phones don't need this
    • fastboot flashing unlock - unlocks system for custom rom in pixel and other phones
    • fastboot flashing unlock_critical - unlocks bootloader and system partitions - note: this isn't generally needed
    • fastboot format:ext4 userdata - format userdata on device - note: this will erase your entire device
    • fastboot boot recovery.img - test recovery image without flashing
    • fastboot flash recovery recovery.img - flash recovery image then run fastboot reboot recovery to boot into it.
    • fastboot flash boot boot.img - flash boot image - this is the kernel
    • fastboot -w - wipes device
    • fastboot update </path/to/your/Rom.zip> - flashes zip to the device

adbloat's People

Contributors

yurindoctrine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

adbloat's Issues

Issues with storage?

Script works great, thank you.

I'm having a slight issue where Obtainium export button is being greyed out and the import button loops to the main page. No logcat/debug output.

Any ideas which command is causing this?

Thanks.

A question about how the script works

Hi friend, I want to apply a script to mi 11 ultra, will this script not delete application data? Is it possible to use it on an already configured phone with an unlocked bootloader?

Found a problem with the Desktop

Hello!

I have encountered a problem on my Mi 11 Ultra phone: after using a certain script, the phone works fine, but the "com.miui.home" launcher starts using too much RAM.

I tried resetting the app settings and rolling back the update, but it didn't help. Unfortunately, the problem remains.
ADBAppControl_EahYdy9E3G

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.