Results 1 to 8 of 8

Thread: Phone reboots when ejecting wifi

  1. #1
    Join Date
    2015-Apr
    Posts
    14

    Phone reboots when ejecting wifi

    Hi All,

    My first post here so be gentle! I've searched the forum but haven't found anything similar yet, apologies if I've missed something...

    I have a OnePlus One running nethunter, using a recommended tplink USB wifi with OTG splitter etc. all working great!!!

    However, when I yank the wifi out, the phone quite often reboots. I see there is a command in the nethunter shell menu to safely eject usb wifi, but this does not work, and generates a warning: "wireless tools not found".

    The main nethunter launch menu has an option to disable external wifi, and this does seem to sort the problem, but I don't know what this is actually doing, and there isn't an option to turn the wifi back on again.

    Any pointers and advice would be much appreciated.

    Cheers.

  2. #2
    Join Date
    2015-Apr
    Posts
    14
    OK, running the command (before disconnecting the device):

    rfkill block wlan

    Seems to have the desired effect. And I _think_ that it gets enabled again when starting mana up, and does not interfere with the device in built wifi. I'll test some more and report back how I get on.

  3. #3
    Join Date
    2014-Sep
    Posts
    176
    This is a known issue with the wifi firmware (I believe) and people have had success calling the device down before disconnecting.

  4. #4
    Join Date
    2015-Apr
    Posts
    14
    Hey binkybear,

    Thanks for the tip. You're right, all that is required is a quick:

    ifconfig wlan1 down

    And then when it's needed again:

    ifconfig wlan1 up

    Cheers!

  5. #5
    Join Date
    2015-Apr
    Posts
    1
    "ifconfig wlan1 down" doesn't work on Nexus 7 - 2013

    I've tried PwniePad - no problems with WiFi-Adapter disconnect.

  6. #6
    Join Date
    2014-Sep
    Posts
    176
    @schinfo - The problem on exists in Android 4.4.2+ for wlan prima enabled devices. So anything newer then that is going to have reboot issues.

  7. #7
    Join Date
    2015-Apr
    Posts
    12
    To get it not reboot on unplugging. Start kali terminal. Do a ip link show up. See if mon0 or wlan1 are up.

    If they are do a ip link set wlan1 down
    And then unplug. This will prevent it from crashing the device.

  8. #8
    Join Date
    2014-Sep
    Posts
    5
    Hey

    try : iw dev mon0 interface del

Similar Threads

  1. Need help in connecting a WiFi Adapter to my phone
    By dank_pancake in forum NetHunter General Questions
    Replies: 1
    Last Post: 2017-01-05, 16:45
  2. one plus one reboots
    By agney in forum NetHunter General Questions
    Replies: 1
    Last Post: 2015-06-24, 06:35
  3. Chromebook reboots during dd to sdcard
    By tpwn3r in forum ARM Archive
    Replies: 5
    Last Post: 2013-09-01, 16:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •