New answers tagged

0

You can flash a new recovery image with fastboot. The command is: fastboot flash recovery recovery.img where 'recovery.img' is the name of the image. If you enter fasboot on the command line with no options or parameters you will see the usage, which is: fastboot flash [partition] [filename]


1

I thought adb gives some sort of unrestricted temporary access (like temporary root). When you open an ordinary terminal emulator app, you're shown a terminal and are automatically logged in as a particular user. The User ID of this particular user is the user ID of your displayed terminal emulator app. Such user and app is considered untrustworthy and ...


0

I have faced the same issues too and your best bet is to reset the phone via a custom recovery(assuming you have one installed) since you flashed cm13.


0

adb does not grant automatic root access unless you modify the system to run adbd as root (and if you're able to do that, you probably have root anyways) or if you are running an insecure development ROM (typically only for Nexus devices) and run adb root. So normally, you have to be rooted and run su within adb shell just like you would within within a ...


1

No, it is not possible to remove the app from bootloader. ADB daemon is not running in the device in that tiny environment when the device is in fastboot mode and stock recovery doesn't offer shell access. Your best bet is to flash a custom recovery, such as TWRP, CWM or Philz Touch from fastboot/download mode or from a tool using PC (if at all possible ...


0

Based on the information by others, now I know that the backup file is just a prefixed Deflated (GZip) stream, based on this information this simple program can unpack it for you: import java.io.*; import java.util.zip.*; /** Run: javac unab.java && java unab backupfile.ab */ public class unab { private static final int BACKUP_HEADER_LENGTH = ...


1

None of the workarounds worked for me here, and I don't want to downgrade my SDK tools. Here's what I came up with: skip adb backup on the computer and go straight to device via adb shell. $adb version Android Debug Bridge version 1.0.35 Revision fc2a139a55f5-android $ adb shell shell@jflte:/ $ bu 1 backup -apk app.package.name > /sdcard/backup.ab ...


0

ADB backups usually do not contain system apps, unless explicitly specified by you while performing the backup process. If this is the case, you can certainly restore safely without any problem. But some apps may be incompatible with 6.0 as such. So they may not work after the restore.


0

Yesterday we ended up in the same state after trying to flash CyanogenMod 13 on the phone: loop trying to boot CyanogenMod 13 (cyan robot head with circle waves) and no way to get the phone to put itself into adb or fastboot mode. Here's how we solved the issue and got the phone working again, just if it's useful for somebody in the future: Reboot to the ...


0

Based on my testing, adb status-window will continuously monitor the status of the ADB (whether it's connected to a device or not). While it's active, connecting a device will show Android Debug Bridge State: device and disconnecting it will show Android Debug Bridge State: unknown On the other hand, adb logcat also continuously monitors the ...


-1

You can refer to this post KitKat: echo "AT^SYSCONFIG=13,1,1,2\r" > /dev/smd0 Lollipop: echo "AT+WS46=12\r" > /dev/umts_at0


0

Download the factory image for your device here: https://developers.google.com/android/nexus/images Follow the instructions at the top of the page to flash. Note that the WIFI and Mobile versions have different images. Make sure to use flash-all otherwise the bootloader and radio will remain the same and the images won't flash. Another option if you want ...


0

Since the device is rooted you can install a compatible Xposed Framework1 and then the Xposed module NotifyClean. The app's description notes: You could configure which apps are allowed to create notifications in the top left area, the notification area. If an app creates a notification it will be collected and added to the list. You could deny all ...


0

If you have a developer ROM, or in any way you have "su" enabled, you could copy to the SDcard and then use the shell: adb push d:\save.bin /sdcard/. adb shell "su @ cp /sdcard/save.bin /data/data/com.square_enix.android_googleplay.FFIII_GP/files/save.bin"


0

it turns out that i simply should use the cp command from within my root android shell.. and copy it to /mnt/sdcard.. the rest is obvious after that


0

I was a bit wrong, it appeared that i had no system and no bootloader (through which I used to launch recovery). I held both volume buttons and sticked usb cable during this - and it helped.


2

To add to Jared's answer (can't comment - not enough reputation yet :/). This works with the emulator only so I wrote an app you can run on a real device and it provides exactly the same interface (telnet to :5554 and run "geo fix ..." or "geo nmea"): MockGeoFix


3

Addressing Revision 4 You're still doing things incorrectly even though I noted in revision 1 of my answer that you would need adb in PC for once and once alone as long as no reboot or disabling of USB debugging occurs. Regarding your attempt: u0_a192@klimtwifi:/ $ adb connect localhost:9999 * daemon not running. starting it now on port 5038 * * ...


0

Ok so to update- now on my 3rd USB port/ daughter board with no success. Still charges about 20%/hr when not being touched while plugged in, no computer connection, and charges halfway normally when on the wireless pad. Did some more internet scouring and found this guy doing a power amplifier swap: ...


0

Since, you do not want to root your phone. ADB backup are closest to the Full Backups. I recommend using Helium Backup for taking backups to your Phone's SD card or PC. More information can be found here.


0

So finally, I did not find out how to enable UDP forwarding for USB communication but I did somethings else that works pretty well, but you have to enable USB tethering (from the computer ping the phone to see if it's properly enabled): Create a TCP server on the phone and a TCP client on the desktop. Execute adb tcp: tcp: on the desktop so it can ...


0

If no drivers work on Windows 10 or 8.1/8 and your goal is to just use fastboot to flash boot.img (Probably because you have S-ON), there's the way of the Linux: Get a USB stick ready and use Live Linux Creator and install a Live Linux like Ubuntu or Lubuntu onto the stick. Boot to the Live version (maybe you can use VirtualBox VM on Windows, not sure). Open ...


0

Enable USB Debugging mode solve the problem! For those who don't know how to enable it (it's very hidden on Android 4.3 onward), see this.


-1

I thought I answered it long time ago. You do it like that c:\adb\adb.exe shell sqlite3 /data/data/com.android.providers.contacts/databases/contacts2.db "SELECT * FROM calls order by _id desc limit 1;" But it may be different in different android versions. As far as I remember worked on KitKat


1

No-Root firewall does the same. The advantage is that it is all displayed in a GUI-interface. To function, it creates a VPN(disadvantage of this is that you can't use your own VPN at the same time of course). Then it lists the apps that want's to access a certain IP address over a certain port, and you can decide if you want to allow or disallow in the ip or ...


0

if you can go in recovery mode, you can also go in download mode. if you use odin, i guess you have a samsung device. Normally push togheter power button, home button, volume - button turn any samsung mobile in donwload mode. downlaod an official ROM from http://www.sammobile.com/firmwares/ and flash it with odin.


0

Since it is Android Lollipop, you can setup adb in PC and execute this command: adb shell pm hide PACKAGE PACKAGE → package name of an app. To know the package name of an app, follow the answers to the question: View app's full package name? If I'm correct, this app is exactly what came with your device and which you aim to get rid of. Although ...


0

Okay, it seems the answer is trivial. My fingers don't have to lose the comfort of typing adb push, yet I would be able to cause media scanner scan my pushed file, automatically and immediately. Here's my script tweaked to my needs: (Note: root access is not required in Android) #!/bin/bash function push_file () { target="${@: -1}"; ...


1

I managed to solve this. To make AnySoftKeyboard my main keyboard, I had to: Turn it into to a system app (with Link2SD) Reboot as instructed Put the following commands via ADB: adb shell settings put secure default_input_method com.menny.android.anysoftkeyboard/.SoftKeyboard adb shell ime enable com.menny.android.anysoftkeyboard/.SoftKeyboard (I put ...


0

I'm not sure how the media scanner works exactly, I think that the media scanner constantly updates the Download folder inside internal storage... if something doesn't show up inside another folder, i copy it to the download folder and it triggers media scanner... Try using Download folder inside Internal Storage as the absolute path



Top 50 recent answers are included