Results 1 to 9 of 9

Thread: Nethunter 1.21 Nexus 4 and Nexus 7 2012 not complete

  1. #1
    Join Date
    2015-Mar
    Location
    Netherlands
    Posts
    16

    Nethunter 1.21 Nexus 4 and Nexus 7 2012 not complete

    Installed Nethunter 1.2.1 on both my
    Nexus 4 and Nexus 7 2012
    Same problems

    Turn off External Wifi button in Kali Launcher
    chroot: can't excucute 'script /usr/bin/stop-wlan1.sh': No such file or directory

    My external wifi adapter TL-WN722N is not workeng on both installs
    USB mouse and memory stick are.
    Works on my pc

    Help needed.
    Lools like modprobe does not funtion correct some how.
    .fw files for htc_9271 are on the file system but are not being loaded.
    Nexus 4 and Nexus 7 2012
    Android 4.4.4 KTU84P

    Same problem as on version 1.10
    Kali menu 11 NFC atacks:
    Not working
    Option 1 Clone Milfare card
    needs to install dependesies.
    /usr/bin/kalimenu: line 1088: nfc-list: command not found
    Fails on /sbin and
    Option 2 Write Milfare Card
    Fails on
    rm : cannot remove '/tmp/black_card.mfd' : No such file or Directory.
    Option 3 View Milfare Card Data
    /usr/bin/kalimenu: line 1043: nfc-list: command not found

    I do not know mutch on android on how to fix this but becoms frustrating now trying for day 8 now tot get it to work some how.
    Last edited by Boeli; 2015-04-07 at 10:06.

  2. #2
    Join Date
    2015-Mar
    Location
    Netherlands
    Posts
    16
    This is what I get:
    root@kali:~# lsusb
    Bus 002 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 002: ID 05c6:9048 Qualcomm, Inc.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    root@kali:~# lsmod
    libkmod: ERROR ../libkmod/libkmod-module.c:1567
    kmod_module_new_from_loaded: could not open /proc/modules: No such file or
    directory
    Error: could not get list of modules: No such file or directory
    root@kali:~# modprobe htc_9271
    libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open
    moddep file '/lib/modules/3.4.93-hells-Core-b47-OTG/modules.dep.bin'

    From dmesg:

    [ 768.078254] healthd: battery l=100 v=4352 t=28.2 h=2 st=5 c=-139 chg=a
    [ 768.095131] hub 2-0:1.0: state 7 ports 1 chg 0002 evt 0000
    [ 768.095192] hub 2-0:1.0: port 1, status 0101, change 0000, 12 Mb/s
    [ 768.111734] mdp4_overlay_req2pipe: mdp4_overlay_format2type!
    [ 768.111796] mdp4_overlay_set: mdp4_overlay_req2pipe, ret=-34
    [ 768.111887] msmfb_overlay_set: ioctl failed, rc=-34
    [ 768.112009] mdp4_overlay_pipe_alloc: ptype=1 FAILED
    [ 768.112131] mdp4_overlay_req2pipe: pipe == NULL!
    [ 768.112162] mdp4_overlay_set: mdp4_overlay_req2pipe, ret=-12
    [ 768.112284] msmfb_overlay_set: ioctl failed, rc=-12
    [ 768.150282] portsc = 88001205
    [ 768.205371] unplug_check_worker: usb_now=850, usb_target = 1500
    [ 768.214954] usb 2-1: new high-speed USB device number 2 using
    msm_hsusb_host
    [ 768.226461] hub 1-0:1.0: hub_suspend
    [ 768.226491] usb usb1: bus auto-suspend, wakeup 1
    [ 768.226522] msm_hsic_host msm_hsic_host: suspend root hub
    [ 768.226766] msm_hsic_host msm_hsic_host: EHCI runtime idle
    [ 768.226796] msm_hsic_host msm_hsic_host: EHCI runtime suspend[
    768.226949] msm_hsic_host msm_hsic_host: HSIC-USB in low power mode
    [ 768.284480] portsc = 88001205
    [ 768.390050] usb 2-1: default language 0x0409
    [ 768.392858] usb 2-1: udev 2, busnum 2, minor = 129
    [ 768.392858] usb 2-1: New USB device found, idVendor=0cf3, idProduct=9271
    [ 768.393132] usb 2-1: New USB device strings: Mfr=16, Product=32,
    SerialNumber=48
    [ 768.393285] usb 2-1: Product: USB2.0 WLAN
    [ 768.393529] usb 2-1: Manufacturer: ATHEROS
    [ 768.393651] usb 2-1: SerialNumber: 12345
    [ 768.396856] usb 2-1: usb_probe_device
    [ 768.396886] usb 2-1: configuration #1 chosen from 1 choice
    [ 768.397680] USB fast charging is OFF.
    [ 768.397924] msm_otg msm_otg: Avail curr from USB = 1000
    [ 768.398107] msm_otg msm_otg: current: 1500 -> 1000 (mA)
    [ 768.398351] pm_power_set_property_usb: usb_target_ma 1000
    [ 768.399603] usb 2-1: adding 2-1:1.0 (config #1, interface 0)
    [ 768.403296] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0002

    root@kali:~# lsusb -t
    2-1:1.0: No such file or directory
    /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=msm_hsusb_host/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=vend., Driver=, 480M
    /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=msm_hsic_host/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=vend., Driver=diag_bridge, 480M
    |__ Port 1: Dev 2, If 1, Class=vend., Driver=hsic_sysmon, 480M
    |__ Port 1: Dev 2, If 2, Class=vend., Driver=ks_bridge, 480M
    |__ Port 1: Dev 2, If 3, Class=vend., Driver=mdm_bridge, 480M
    |__ Port 1: Dev 2, If 4, Class=vend., Driver=mdm_bridge, 480M
    |__ Port 1: Dev 2, If 5, Class=vend., Driver=rmnet_usb, 480M
    |__ Port 1: Dev 2, If 6, Class=vend., Driver=rmnet_usb, 480M
    |__ Port 1: Dev 2, If 7, Class=vend., Driver=rmnet_usb, 480M
    |__ Port 1: Dev 2, If 8, Class=vend., Driver=rmnet_usb, 480M
    root@kali:~#

  3. #3
    If I am not mistaken, you should be using Android 4.4.4 KTU84P.

    Could be wrong, but that is the version I always use.

  4. #4
    Join Date
    2015-Mar
    Location
    Netherlands
    Posts
    16
    Thanks type Iuse Android 4.4.4 KTU84P installed via the nethunter installer.
    To be complete image-mako-ktu84p.zip
    The Q is my mistake typing.

    The installer looks to fail as the data transfers are not completed before it reboots.
    The kali_linux_nethunter_1.10_occam_kitkat.zip is 984.912 KB but only 724 MB got transferd to the phone.
    When putting the file in manualy on the root of the sdcard it works fine and installer does not hang.
    Als same problem with the 1.21 version

    Installed and tried it about 8 or 9 times.
    With different setups, kernels

    Tried
    Franco_r209_test-OTG_justvarshney.zip OTG working for usb mouse but not wifi
    franco.Kernel-nightly-r213.zip (OTG not working)
    hells-Core-b47-USB-OTG_Justvarshney.zip (OTG not working)
    cm-11-20140916-SNAPSHOT-M10-mako.zip with franco kernel (screen does not work nice wifi OTG notworking)
    cm-11-20140804-SNAPSHOT-M9-mako.zip (not working with the phone stayd in boot logo. maybye not tried all options like factory reset, cahce davilc reset, and multiple reboots)

    OTG cable
    OTG y cable multiple USB power injector 700Ma 1000Ma 2000Ma
    OTG cable with y cable make my self with standard usb connectors.
    With both cables same resuls.
    As with LSUSB command the device does show up in the list it does work and identifies the USB wifi via UTG but it fails to load the kernel modules!

    Also tried to add the ath9K drivers:
    apt-get update && apt-get install firmware-atheros (did not work as well.)
    htc_9271.fw file is on the file system /lib/firmware

    Installed Kernel
    http://photonicgeek.me/NetHunter/Ker...t-12042014.zip
    So update busybox and supersu. not working
    Reinstalled Nethunter 1.21

    Got a working TL-WN722N
    Take usb wifi out.
    Reboot phone.
    Put USB wifi back in.
    Start kali teminal
    command ifconfig wlan1 up
    Can't use it yet with the installed programs as I do not get a ip.
    iwconfig does not show the adapter yet.
    Do get a greenled when starting up.
    Last edited by Boeli; 2015-04-08 at 14:19. Reason: New kernel found new try
    Nexus 4 and Nexus 7 2012 other harware Odroid U2, PI 2 running kali, Kali on Ironkey and laptop and server

  5. #5
    Join Date
    2015-Mar
    Location
    Netherlands
    Posts
    16
    Now got stuf working:
    Nexus 7 2012:
    Wifi working OTG

    Steps taken:
    Unlocked device
    installed default android 4.4.4
    installed kernel photinicgeek groupertiplapia
    http://photonicgeek.me/NetHunter/Ker...t-12042014.zip
    Install busybox-signed.zip and UPDATE-SuperSU-v2.40.zip with twrp don't
    forget to wipe cash and dalvik
    Installed kali_linux_nethunter_nakasi_kitkat.zip with twrp don't forget to
    wipe cash and dalvik
    created a symbolic link
    ln -s /system/etc/firmware /etc/firmware (to enable modules to be loaded.)
    Restarted the device
    In the default terminal
    su
    iwconfig wlan1 up
    Started Nethunter you see wlan1 in the list as well as wlan0 and pp2p0
    Setup Metasploit
    Start progress service
    Goto option 6 pentest
    select option 1
    Will start to install
    When you get the msf console run
    msfupdate
    Should work fine

    Nexus 4:
    Wifi working mostly still testing

    Unlock the phone
    Install bootloader
    Install default android 4.4.4
    Install photonicgeek.me mako kernel with twrp don't forget to wipe cash
    and dalvik
    http://photonicgeek.me/NetHunter/Ker...t-12042014.zip
    Install busybox-signed.zip and UPDATE-SuperSU-v2.40.zip with twrp don't
    forget to wipe cash and dalvik
    Installed kali_linux_nethunter_occam_kitkat.zip with twrp don't forget to
    wipe cash and dalvik
    Reboot the phone
    With in kali terminal
    make a symbolic link to /etc/firmware
    ln -s /system/etc/firmware /etc/firmware
    shutdown the phone
    Plug in the wifi usb adapter with y cable and power
    Start the phone
    In the default android terminal
    su
    ifconfig wlan1 up
    Now start nethunter you should see the wlan0 wlan1 and p2p0 interfaces.
    Last edited by Boeli; 2015-04-10 at 10:38. Reason: change name of nexus 7 zip to nakasi
    Nexus 4 and Nexus 7 2012 other harware Odroid U2, PI 2 running kali, Kali on Ironkey and laptop and server

  6. #6
    Join Date
    2015-Apr
    Posts
    1
    hello

    for nexus 7 2012 can i install kali_linux_nethunter_occam_kitkat.zip ? occam is not for nexus 4? what is different?

    Thx

  7. #7
    Join Date
    2015-Mar
    Location
    Netherlands
    Posts
    16
    Thanks type as I was doing so mutch at the same time I copied the name over.
    For nexus 4 it is kali_linux_nethunter_occam_kitkat.zip
    For nexus 7 2012 it is kali_linux_nethunter_nakasi_kitkat.zip

    Thank for helping uit.
    Nexus 4 and Nexus 7 2012 other harware Odroid U2, PI 2 running kali, Kali on Ironkey and laptop and server

  8. #8
    Join Date
    2014-Sep
    Posts
    2
    Quote Originally Posted by Boeli View Post
    Now got stuf working:
    Nexus 7 2012:
    Wifi working OTG

    Steps taken:
    Unlocked device
    installed default android 4.4.4
    installed kernel photinicgeek groupertiplapia
    http://photonicgeek.me/NetHunter/Ker...t-12042014.zip
    Install busybox-signed.zip and UPDATE-SuperSU-v2.40.zip with twrp don't
    forget to wipe cash and dalvik
    Installed kali_linux_nethunter_nakasi_kitkat.zip with twrp don't forget to
    wipe cash and dalvik
    created a symbolic link
    ln -s /system/etc/firmware /etc/firmware (to enable modules to be loaded.)
    Restarted the device
    In the default terminal
    su
    iwconfig wlan1 up
    Started Nethunter you see wlan1 in the list as well as wlan0 and pp2p0
    Setup Metasploit
    Start progress service
    Goto option 6 pentest
    select option 1
    Will start to install
    When you get the msf console run
    msfupdate
    Should work fine

    Nexus 4:
    Wifi working mostly still testing

    Unlock the phone
    Install bootloader
    Install default android 4.4.4
    Install photonicgeek.me mako kernel with twrp don't forget to wipe cash
    and dalvik
    http://photonicgeek.me/NetHunter/Ker...t-12042014.zip
    Install busybox-signed.zip and UPDATE-SuperSU-v2.40.zip with twrp don't
    forget to wipe cash and dalvik
    Installed kali_linux_nethunter_occam_kitkat.zip with twrp don't forget to
    wipe cash and dalvik
    Reboot the phone
    With in kali terminal
    make a symbolic link to /etc/firmware
    ln -s /system/etc/firmware /etc/firmware
    shutdown the phone
    Plug in the wifi usb adapter with y cable and power
    Start the phone
    In the default android terminal
    su
    ifconfig wlan1 up
    Now start nethunter you should see the wlan0 wlan1 and p2p0 interfaces.
    Thank you for the tutorial Boeli, this was the only way I could make my external wifi working on a Nexus 7 2012, (wifi: AWUS036NHA with AR9271).

    I used the following images:
    Kernel-groupertilapia-kitkat-12042014.zip
    nakasi-ktu84p-factory-2c6e4d6f.tgz
    openrecovery-twrp-2.8.3.0-grouper.img
    BusyBox-v1.23.2-Stericson.zip
    UPDATE-SuperSU-v2.46.zip

    Wlan1 can be used with some of the apps like Chrome, after doing the steps in this tutorial:
    https://forums.kali.org/archive/index.php/t-18269.html

    Chrome works fully with the external wifi, but apps like youtube or google play are not (browsing videos or apps works but downloading does not)

    I tried fake wifi connection but it does not help.

  9. #9
    Join Date
    2020-Dec
    Location
    Italy
    Posts
    3

    -

    The file is never created...There is no file where i specifie it to be created, if i try to create the file with the same name and location again i do not get a warning that i am overwriting another file so file is never created.

Similar Threads

  1. NetHunter for Nexus 7 (2012/3G)
    By DesertShadow in forum Installing NetHunter
    Replies: 1
    Last Post: 2020-09-11, 20:59
  2. NetHunter on Nexus 7 2012 tilapia
    By vineethng in forum NetHunter General Questions
    Replies: 2
    Last Post: 2016-11-14, 09:50
  3. Nethunter nexus 7 2012
    By woxblazer in forum Installing NetHunter
    Replies: 0
    Last Post: 2015-12-05, 22:27
  4. Replies: 0
    Last Post: 2014-12-20, 22:58

Posting Permissions

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