Questions tagged [debug]
Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program or a piece of electronic hardware, thus making it behave as expected. Use this tag only in cases where your question is NOT development related.
68
questions
0
votes
0
answers
211
views
Missing logcat? KMSG? Debugging random reboots
I have this crap ANS ARTIA phone running Android 12. It keeps rebooting—2-3 times at the same date/time of the week (once while using G Maps, once using Waze) plus a couple more times outside of those ...
0
votes
0
answers
73
views
App acting differently on 2 different devices
I have a streaming app which has an internal player (not great) but it also allows us to use MX Player.
The app is installed on my Android TV and also my Nvidia shield.
On the android TV, if I chose ...
0
votes
0
answers
22
views
My Android 7 tablet keep display restart / shutdown message and then restart itself
I have a tablet with Android 7 that suddenly display restart or shutdown prompt message and when I click anywhere in the screen the message disappear then appear again then it restart itself. Is this ...
1
vote
0
answers
69
views
Debugging Firefox on Android
I had the following: on Firefox on Android, some links in a facebook post behaved this way: I got a pop-up window that there's no Internet and I should try again, and then the following screen ...
0
votes
0
answers
300
views
How to use adb to take dumpstate logs on a Samsung device during device setup after first power on?
I need to get dumpstate logs on a Samsung Fold device during device setup after first power on (after new binary flashing or factory reset).
I am unable to set debug level high through *#9900# because ...
1
vote
0
answers
324
views
Android 8.0.0: can not enable developer options for USB debugging?
Android 8.0.0: can not enable developer options for USB debugging?
When I tap the "Developer Options", says:
Turn on Developer options first.
About Phone > Software Information > ...
0
votes
0
answers
216
views
Debug Android Permissions
I would like to analyze deeply the behavior of the android permissions.
When a permission is granted or not, what android do, etc.
I have some ideas, but I would like to know which one could be the ...
1
vote
1
answer
688
views
How Access to Debug mode to edit kernel in Android Phoenix OS on VMware Workstation
I search hours on internet but didn't find solution.
I install Android x86 and Android Phoenix OS on VMware Workstation.
Both Freezing in x86_64:/ # and Android doesn't come up
But I Found Solution ...
1
vote
0
answers
279
views
Debug the full output of QR code reader?
In my Android device, I use app "A" to scan a static QR code and the app will show the result.
If I use a regular QR code reader app, the QR code will show as: "checkin:XXXstaticID"...
0
votes
0
answers
610
views
How to debug dysfunctional internet access on mobile data?
On a new Shift 6mq with Android 10 (light version without Google services) apps don't have internet access via mobile data. Unfortunately I usually use WiFi so I didn't notice when internet vi mobile ...
1
vote
0
answers
155
views
using adb command for Samung Galaxty A51
I have a samsung galaxy A51 i already had the developer mode on my phone but i forgot to allow usb debugging on it before my screen broke. The phone still works but the screen wont light up & wont ...
0
votes
0
answers
630
views
Sniff Android protected app HTTPS requests
I am going to capture an app's HTTPS request to get its Login API.
I am using Fiddler. When inputting the username and password and pressing sign in, the app is working. But in Fiddler, I can not find ...
0
votes
0
answers
1k
views
Debugger to a non-debuggable Android app
I want to know can we attach a debugger to an app running on the smartphone which is published over Google Play Store without modifying the original app?
The reasons for asking this is by default the ...
1
vote
0
answers
825
views
Turn on adb network mode on device without USB connection
I am debugging an app using a phone-PC combination which has USB issues. I can successfully establish a wifi connection using 'adb tcpip 555' then 'adb connect 1.2.3.4'
However, sometimes I can't ...
3
votes
1
answer
4k
views
How to check Firefox/Chrome developer console/tools on Android without a computer?
I am aware of these two questions
How can I access the browser console on Opera Mobile on Android?
Is it possible to open developer tools console in Chrome on Android phone?
However the first one ...
1
vote
0
answers
430
views
enable usb debugging via ADB from recovery?
Since ADB debugging is not ON, I keep it off unless I need to do something, I now cant use even Vysor to view whats on screen since my screen died with just some color dots and lines seen on screen. I ...
0
votes
0
answers
80
views
How to log requests to Google play services
Sometimes my battery usage gives me a very high percentage (e.g. 45%) for Google Play Services. Is there a way to log the name of the app that may be causing this problem. Please note that I am not ...
1
vote
2
answers
8k
views
How can I access the browser console on Opera Mobile on Android?
How can I access the browser console on Opera Mobile on Android?
Browser console = something similar to the developer console window on Chrome, when pressing the keyboard shortcut Ctrl Shift J
2
votes
2
answers
918
views
Copy Paste Removes Spaces
Every time I copy and paste text on my android phone white spaces are removed, i.e.:
Copy:
this is a test
Paste:
thisisatest
The behaviour is the same no matter which app I copy/paste text from/...
1
vote
1
answer
3k
views
how to connect and disconnect from WiFi using ADB (not a root user)?
I found this project which allows me to connect to a WiFi through ADB commands not being a root user. I was wondering if anyone knows how to disconnect also from ADB and not being a root user.
...
1
vote
1
answer
701
views
How to inspect HTTPS traffic of a third-party app on Android 9+
I want to inspect inside HTTPS-encrypted packets that an app is sending. It is not my app, I don't have its source code.
My device is rooted, so I can modify /system/etc/security/cacert if needed, ...
2
votes
1
answer
7k
views
How to get installation log (either from adb install or manual install)
The question is what to grep/filter?
adb logcat | grep what?
adb install file.apk
tried with grep apk and manual install, but it contains no useful information:
01-25 17:29:05.721 4241 6322 I ...
1
vote
1
answer
2k
views
How To Enable Debug Mode From ADB Shell or ADB Via Terminal In Linux
so far I have put my android device in ftm mode
i have tried from adb sideload
now i am trying with busybox ash
I'm able to run ls
but anything else says permission denied or error:closed.
/ $ ls
...
1
vote
0
answers
327
views
Where can I modify to make a custom rom allow debug any apk without android:debuggable="true" in AndroidManifest.xml?
I am try to debug a android app which have integrity check. Then I can not decompile it and change AndroidManifest.xml. And this app do not work in emulator. Therefore, I try to flash a custom ROM ...
0
votes
1
answer
560
views
USB debugging turns off after restart on Android 7.0
Recently, my Moto G4 running Android 7.0 has been turning off USB debugging under developer options whenever the phone restarts. Is there a way to keep it on all the time? I have already tried ...
0
votes
0
answers
225
views
Why I couldn't monitor traffic from this page?
When I opened the capture log I found nothing from the page other than this when I first tried to visit it using http only, and then I get that security warning and i click proceed to unsafe anyway i ...
0
votes
0
answers
538
views
WiFi dropping with channel switch and not reconnecting: how to debug
Since a few days my new Samsung Galaxy A50 (running Pie build PPR1.180610.011.A505FNXXU1ASD6) is dropping the WiFi connection to my router (Fr!tzBox 7940) for no clear reason.
I've been trying all ...
0
votes
1
answer
343
views
How can I install / debug applications on nanopi m4 Android board?
I have a nanopi m4 Android board, usb type c port for charging and data (and debugging maybe), four usb 3.0 ports, Android 8.1
I need to use adb,
what I have tried
use the charging / data port (usb ...
3
votes
1
answer
13k
views
How to disable "logd" logging?
The /data/misc/logd/ directory is filled with 256 MB log files. Currently I don't need debug log files, so I would like to turn off logging.
Partial solution:
It seems I can turn off with the ...
0
votes
1
answer
365
views
Boot animation upside down after new ROM
I have a Wileyfox Spark, for lovers of it, you surely know it comes with CyanogenMod13 OS as it's stock. But you know very well how one might want a more decent Nougat or Oreo based CM14 or CM15 or ...
0
votes
0
answers
2k
views
how to make any app debuggable
I am working on some project where I need to debug existing apps on android android market. I know by modifying androidmanifest.xml we can do so but for that I need to have source code. So is there ...
4
votes
0
answers
2k
views
Find out why my Android phone is rebooting
All of a sudden, my almost 2-year-old Samsung Galaxy S5 Neo starts rebooting at random times.
I did some research, and various forum threads on the Internet recommend different "try this" solutions: ...
1
vote
2
answers
2k
views
How to determine which application is blocking microphone usage?
Is there a way to determine which currently running application is using the microphone? I suspect the arrow launcher but would like to try and confirm this. I'm looking for a method which would ...
-1
votes
2
answers
714
views
How do you install your Android Studio app onto an LG Smart Watch Sport?
I am building an application to run on a smartwatch using Android Studio, and I want to install it onto my LG Smart Watch Sport, but I do not know how to do this with this watch. That's because you ...
1
vote
0
answers
2k
views
How to debug bootloop? [closed]
I built custom Cyanogenmod 13.0 for Galaxy S5 Exynos (G900H), however after I flash my ROM, the phone is stuck on bootloop with the Samsung logo turning off and on in a loop.
since CM and LineageOS ...
1
vote
1
answer
727
views
Take bug report for specific application
I am starting Android development, and I am looking for a way to get a bug report from a user's phone.
I know about the Settings / Developer options / Take bug report system, but from what I have seen,...
1
vote
1
answer
872
views
Nexus 5X won't turn on, even from Debug Menu
My sister's Nexus 5X won't turn on. It is charged. When you try to power on, it makes it to the Google animation but freezes and goes back to black. You can make it to the debug menu go through the ...
2
votes
0
answers
83
views
Determine which app connects to a specific host and port? [duplicate]
As the title says, I need to know which app establishes a connection to a host on a specific port (in my case within LAN).
In case the answer depends on the platform: The device is a Moto G (xt1045) ...
1
vote
0
answers
66
views
How can I debug degrading performance for my Shamu device?
I've had my Nexus 6 since it first came out and will be replacing it with the new Pixel anyway but I want to get to the bottom of this.
In the last 6+ months the phone got increasingly slow and ...
0
votes
0
answers
243
views
Debugging wifi connection on Nexus 5x
After upgrading from Nexus 5 to Nexus 5X, I am unable to connect to my company's wifi. The credentials I provide are correct, and sometimes I do manage to connect, but that lasts only several seconds ...
0
votes
0
answers
112
views
How can I enable USB debugging on Xperia Miro when touch is not working?
I have a Xperia Miro. I am trying to connect mouse with OTG cable, but it is not able to detect.
Touch is totally not working.
How can I solve this issue?
0
votes
0
answers
238
views
Brutal bug "android.process.acore has stopped" doesn't solve after factory reset
Apparently this bug is prevalent and some are lucky enough to solve it by simply clearing data of Contacts storage but not me. I believe I have tried it all. Even after factory reset (via stock ...
0
votes
1
answer
1k
views
Economist app stuck with old issues
This has happened to me repeatedly with the Economist app on Android. Basically the app usually automatically downloads the weekly issue by push notification, but sometimes it simply doesn't do that. ...
1
vote
0
answers
989
views
ADB: how to use it over TCP/IP during USB accessory development
I'm using an evaluation board from Atmel (based on SAM D21 Cortex-M0+ MCU) for developing a custom Android USB accessory and related app.
I'm new to Android development, but I understood I need ADB ...
0
votes
1
answer
2k
views
Missing Keyboard on Lock Screen
I got a system message that the keyboard had crashed. Then my keyboard won't restart. And now that my phone is locked, I can't unlock it to try any of the normal fixes, such has disabling and enabling ...
8
votes
2
answers
2k
views
What are the security implications of using an app built "for debug"?
I've just come upon several .apk files hosted with Github projects which are "compiled for debug" (i.e. having application-debuggable set, which one can e.g. check using aapt dump badging /path/to/apk ...
2
votes
0
answers
1k
views
No debug icon on Nexus 5 with Android 6.0.1 Marshmallow
When I plug the USB cable, the debug icon doesn't show up. adb devices doesn't see it.
Developer mode enabled.
Developer option enabled.
Stay awake enabled.
USB debugging enabled.
I am already in ...
1
vote
1
answer
5k
views
How can I debug "Homescreen has stopped working"?
I have an LG L40 D160 Android phone that repeatedly gives me errors. When it boots, I always get the message "home screen has stopped working". This pops up repeatedly and makes it hard to do anything....
16
votes
5
answers
29k
views
Bugreport location
If I have bug reports enabled in dev options and I take a bugreport from the power button menu, where are these reports saved?
I see there is an option to share it, but I want to pull it directly ...
1
vote
0
answers
458
views
access files of app and run-as command alternative for debugging
I try to access data\data folder without root because I want to access some downloaded files by the app and I have realized the files download in data directory. I have tried to pull to sdcard but as ...