Broadcast returned 0
See original GitHub issueHello everyone. I already know about the #117 and some others issues that are related. Whoever that issues did not solve the problem for me.
My computer: I am on fedora 27, running adb 1.0.40. My phone: wiko lenny 3, android 6, usb debug enabled. Other software requiring android 5 works properly (scrcpy) Gnirehtet version: rust binary, gnirehtet-rust-linux64-v2.3
The error:
2019-09-21 13:37:23.590 INFO Main: Starting relay server...
2019-09-21 13:37:23.590 INFO Main: Checking gnirehtet client...
2019-09-21 13:37:23.590 INFO Relay: Relay server started
2019-09-21 13:37:23.664 INFO Main: Starting client...
Broadcasting: Intent { act=com.genymobile.gnirehtet.START cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver }
Broadcast completed: result=0
The first run of gnirehtet correctly install the apk on the phone:
gnirehtet.apk: 1 file pushed. 0.6 MB/s (21564 bytes in 0.035s)
pkg: /data/local/tmp/gnirehtet.apk
Success
The output of adb logcat by running adb logcat -c
-> ./gnirehtet run
-> adb logcat -d
:
01-01 02:31:22.922 832 3168 V ActivityManager: Broadcast: Intent { act=com.genymobile.gnirehtet.START flg=0x10 cmp=com.genymobile.gnirehtet/.GnirehtetControlReceiver } ordered=true userid=-2 callerApp=null
01-01 02:31:22.923 832 3168 D LRRejector: isLowMemory isBackgroundAppEn=false, packageName=com.genymobile.gnirehtet
01-01 02:31:22.923 832 3168 D LRRejector: isShouldReject broadcast packageName=com.genymobile.gnirehtet , isAlowwAppflag =false ,islowramnow=true , isAboutForegroudApp = false , success=true
These are the only lines in the log regarding gnirehtet. The connection doesn’t work and the confirmation popup didn’t show up.
What I tried (in mixed order)
- ./gnirehtet reinstall
- reboot phone (after reinstall)
- kill adb server and restart adb
- browse the web regardless of the missing confirmation prompt
Issue Analytics
- State:
- Created 4 years ago
- Comments:38
Top Results From Across the Web
Android BroadcastReceiver returns zero - Stack Overflow
I make a broadcast call on my Android 10 device, but it returns zero. I tried the suggested solutions but they didn't work....
Read more >FTP PASV returning broadcast address - Server Fault
I am trying to configure an FTP server at home with Ubuntu 16.04 Server but there's an issue with PASV. I can't make...
Read more >EpcTftClassifier::Classify returning 0 ( no match ) for broadcast
Hi,. The fuction Classify returns 0 when I try to broadcast. Classifying packet: localAddr=10.0.0.7 remoteAddr=255.255.255.255 localPort=49153 ...
Read more >How do I debug why my ActionCable broadcast is returning nil?
First, I'd check to make sure your cable.yml defines using redis in development so that it can be shared between processes. Second, if...
Read more >Issue BROADCAST-STREAM-RETURN-VALUES Writeup
to broadcast streams doesn't work well for certain kinds of operations,. STREAM-ELEMENT-TYPE being an example. The zero-argument stream case is important, too, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Here is a build for current
master
(e87f7e650dc53d37bdf0d03d2f744a873464c6cb):gnirehtet-java.zip
SHA256: e745a740d5ec2e135b45feeb3422281f53060ae15cd03dd33bf86e6f69caf87bgnirehtet-rust-linux64.zip
SHA256: 1970d1b83935f7976d125fe4910d0da1895e409b942da8e7fbe28aa0639fb8c1gnirehtet-rust-win64.zip
SHA256: 0770f1e25ddaaca9f792efd160a0c1b2f1e355fc597f898d4f428369ce6e82ecDo not forget to execute
./gnirehtet uninstall
before testing it.Consider it as a release candidate 😃 Feedbacks welcome.
Thank you for all your feedbacks.
I just released v2.4.