Hot answers tagged

8

Bugreports are stored in /data/data/com.android.shell/files/bugreports. You can't access the file directly without root access.


6

What is a LogCat? A "LogCat" is for debugging applications / Android system. When applications / Android crash the output the "explanation" for the crash, the Exception Stacktrace, to a Log. This log can be saved and help developers to fix the crash. What is it supposed to do? It will help to solve your questions, if your asked for a LogCat it is always ...


5

There aren't really any innate problems with running a debug app. If someone grabs your unlocked phone, enables Developer Mode, and starts debugging they might be able to grab sensitive information from the app's memory slightly more easily — but that's not particularly realistic and easily countered with a lock screen. Debug information will also ...


4

You can connect your device to your PC, and use android SDK tools adb, then go to the directory and in your command line use adb shell bugreport > bugreport.txt Your bugreport will output.


3

In my case, they are in /data/user_de/0/com.android.shell/files/bugreports/


3

Note: You would need root access to run any command mentioned below for Android 4.2.1. Contrary to traditional desktop OS, apps in Android are called upon using their component, an Activity. While developers can call the activities using the programming, the end-users are left with command-line to do the calling. Android has an Activity Manager am to ...


3

After connecting via USB and receive the message "connecting as installer" on your phone's screen, make sure you're phone isn't on the lock-screen and swipe down from the top (or at least on my Verizon device) you can access "USB PC connection" settings under the "ongoing" tab. Check one of two options, MTP or PTP. This would be the same pull-down where you ...


3

If you have a Verizon Galaxy S5, please follow the instructions here: http://forum.xda-developers.com/verizon-galaxy-s5/general/disable-verizon-cd-installer-t2849481 1.In the phone dial pad, enter but don't dial *#0808# 2.Will now show the following, choose the items with * USB ( ) CP (*) AP USB Settings ( ) MTP (*) MTP + ADB ( ) PTP ( ) PTP + ADB ( ) ...


2

In case anyone with a Samsung S4 running USB Mass Storage Enabler and Busybox runs into this issue, be sure that the USB computer connection is set to MTP. This setting sometimes toggles off for some odd reason on my phone. Click the text box and you should be good to go.


2

In android 4.2, it was possible to access a hidden setup menu and fix the usb settings. The 4.3 update reverted usb setting to the broken default. The access codes for the advanced setup menus have been changed or removed. Samsung claims they've removed access, for what ungodly reason I don't know, and repeated requests and hours on the phone with them got ...


2

Generally, what you need to achieve this is to connect to the serial console of the system. Like on a desktop system, this gives you all the kernel and init messages as the device boots, and access to a shell once the device has booted. How to connect to the serial console varies between devices, and you haven't told us which device you have. Usually, you ...


2

If the device in question is rooted, you can write to the system settings directly from a shell command in adb shell. The name of the setting to write depends on which Android version you have. If your device isn't rooted, you can't change the USB debugging setting from adb or any non-system app.


2

(If you've got adb enabled on your tablet and installed on your PC, skip the next two paragraphs) If you've only been replacing apks, you'll need to enable Developer Settings (Settings -> About tablet -> scroll down to "Build number" and tap seven times). Then, go back, and into the developer options panel, and scroll down to the "debugging" section. Enable ...


2

is it possible for someone to install apks without you noticing, using remote debugging? Yes. First you have to have remote debugging (ADB over TCP/IP) on (typically requires root). Then they have to know your device's IP address and the port number used for ADB over TCP/IP. If done through a malicious app, you would have first had to install the app, and ...


2

The attack (in question) mentioned in the said research paper would work on a device only when your device is running ADB in TCP/IP mode. You have to specifically give the instructions to bind the ADB on a particular port on your device. Entering adb help would give one such entry: adb tcpip <port> - restarts the adbd daemon listening ...


1

Problem Solved Somebody just figured out how to do it: power the board using two power bins and use the usb-c for debugging.


1

If you can bear with having to turn screen off/on once the device had booted up, and just want the bootanimation to look normal, that's quite easy - just edit the bootanimation itself to make it upside-down. Grab and extract /system/media/bootanimation.zip. Rotate every extracted image by 180 degrees. Recompress the extracted files, keep the structure (...


1

I'm unsure about Nougat but this works for Android 6.0.1. Run: adb shell dumpsys audio In the output look under Audio Focus stack entries (last is top of stack). E.g., when I had an audio recorder app using microphone, the output was: Audio Focus stack entries (last is top of stack): source:android.os.BinderProxy@a60844c -- pack: com.sonymobile....


1

Using logcat extreme and monitoring per app set to WhatsApp , it shows mediaFocuscontrol: Audiofocus*request*Audiofocus() from Android.media.audiomanager when microphone is activated And mediaFocuscontrol: Audiofocus*abandon*Audiofocus() from Android.media.audiomanager when microphone is de-activated


1

You should try third party libraries such as Android Bug Tracker. You can find many other on github.


1

On 8/15/16 , spoke with a Verizon Tech for my "Homescreen is Not Working"issue. The fix is simple: Hold Power and Volume Down simultaneously, till the phone powers on When screen comes back all icons are working.


1

If you want to view the bug reports on your PC, run adb from a directory where you want to save the bugreports with adb pull /data/data/com.android.shell/files/bugreports But this may require root permission.


1

These features are part of Developer Options. Settings > Developer Options > Input Turn off Show touches Turn off Show pointer location. This terminology is from my Samsung S3, yours may be similar. This is deep into the settings heirarchy, it is unlikely accidental.


1

your device manager is showing that the adb drivers are not properly installed. If properly installed there would be no question mark by the left of the icon. I found the following steps in this article here First of all you have to Enable the USB Debugging in the Developer settings. Connect your tablet to the computer USB port. Select MTP connection ...


Only top voted, non community-wiki answers of a minimum length are eligible