PDA

View Full Version : Nexus7 (2013) NetHunter install fail



zicmama
2016-01-20, 16:08
I am following install procedure from: https://github.com/offensive-security/nethunter-LRT
I have tried with stockImage 6.0.1 (MMB29O) and 5.1.1 (LMY47V) (https://developers.google.com/android/nexus/images?hl=en#razor), NetHunter 3.0 Marshmallow (https://images.offensive-security.com/nethunter-release/nethunter-flo-marshmallow-3.0.zip) and "BETA-SuperSU-v2.66-20160103015024.zip" (http://forum.xda-developers.com/showpost.php?p=64161125&postcount=3)

I followed the HowTo... First I had to remove "-p" from "twrpFlash.sh" (as seen in forum thread) that was causing zip file not copy to device.
Then each time last install script gives error from that line: "E:Unable to mount '/data'"


./twrpFlash.sh
NETHUNTER LINUX FLASH (TWRP, SuperSU and Kali Nethunter)

CHECKING PRE-REQUISITES

Checking if adb is installed
adb FOUND
Checking if adb is installed DONE

Checking if fastboot is installed
fastboot FOUND
Checking if fastboot is installed DONE

Adb connection check
ADB device detected.
Adb connection check DONE

Checking TWRP image existence
Dir twrpImage/ has files
Checking TWRP image existence DONE

Checking SuperSu existence
Dir superSu/ has files
Checking SuperSu existence DONE

Checking Kali Nethunter zip existence
Dir kaliNethunter/ has files
Checking Kali Nethunter zip existence DONE

CHECKING PRE-REQUISITES DONE

Sending Kali Nethunter zip to the device
4648 KB/s (687443356 bytes in 144.414s)
Sending Kali Nethunter zip to the device DONE

Sending SuperSu zip to the device
4298 KB/s (4272471 bytes in 0.970s)
Sending SuperSu zip to the device DONE

Rebooting into bootloader
Rebooting into bootloader DONE

Flashing TWRP image
sending 'recovery' (8956 KB)...
OKAY [ 0.287s]
writing 'recovery'...
OKAY [ 0.318s]
finished. total time: 0.605s
Flashing TWRP image DONE

Booting into TWRP (20 secs dont worry)
downloading 'boot.img'...
OKAY [ 0.286s]
booting...
OKAY [ 0.029s]
finished. total time: 0.315s
Booting into TWRP DONE

Installing SuperSU
TWRP does not appear to be running. Waiting for TWRP to start . . .
Press CTRL + C to quit.
E:Unable to mount '/data'
Unable to locate zip file '/sdcard/supersu.zip'.
Installing '/sdcard/supersu.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
E:Failed to sysMapFile '/sdcard/supersu.zip'
E:Error installing zip file '/sdcard/supersu.zip'
Done processing script file
Installing SuperSU DONE!

Installing Kali Linux Nethunter
E:Unable to mount '/data'
Unable to locate zip file '/sdcard/kaliNethunter.zip'.
Installing '/sdcard/kaliNethunter.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
E:Failed to sysMapFile '/sdcard/kaliNethunter.zip'
E:Error installing zip file '/sdcard/kaliNethunter.zip'
Done processing script file
Installing Kali Linux Nethunter DONE!
Rebooting into Kali Linux Nethunter
Everything is installed. Phone should be booting up! Enjoy

I cannot understand what is wrong?
Is there something else to do?

Thanks

zicmama
2016-01-21, 01:20
I am trying to go into manual install with latest 6.0.1 (MMB29O)


adb push superSu/supersu.zip /sdcard/supersu.zip
adb push twrpImage/twrp-2.8.7.0-flo.img /sdcard/twrp-2.8.7.0-flo.img
adb reboot bootloader
fastboot boot twrpImage/twrp-2.8.7.0-flo.img


From TWRP install interface, no pushed files are in /sdcard ?
It shows 0 as available space??

I push supersu.zip again (during TWRP running), but when trying to install it plenty /data errors occurs, and it fails.

I am going to try same procedure on 6.0.1 (MMB29K) now

zicmama
2016-01-21, 02:58
Tried with 6.0.1 (MMB29K)

Using TWRP interface install is failing:

E:Unable to find partition size for '/boot'
E:Unable to find partition size for '/system'
...
E:Unable to mount storage

But just after using adb install command line from my linux computer:


$ adb shell "twrp install /sdcard/supersu.zip"

E:Unable to mount '/data'
Installing '/sdcard/supersu.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found

*****************
SuperSU installer
*****************
- Mounting /system, /data and rootfs
- Extracting files
- System mode
- Disabling OTA survival
- Removing old files
- Creating space
- Placing files
- Restoring files
- Post-installation script
- Unmounting /system
- Done !
Done processing script file

It succeed with only E:Unable to mount '/data' error. It was
So my Nexus is rooted now!? Continuing with NetHunter install


$ adb shell "twrp install /sdcard/kaliNethunter.zip"

E:Unable to mount '/data'
Installing '/sdcard/kaliNethunter.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Starting AROMA INSTALLER version 3.00
(c) 2013-2015 by amarullz.com


YES! Going into install now ;)
I think 'twrp-2.8.7.0-flo' has a problem in accessing Nexus7 storage, but activating this Error through GUI makes it going good for next adb command runs.
I think, I could use latest 6.0.1 (MMB29O). But I am so much excited using NetHunter now.

NOOOO!! After install TWRP flashes its boot logo and dead droid appears :mad:
Pressing Power/Vol down to power Off, my Nexus boots back on regular Android (no NetHunter)

Finally I found a working TWRP here (http://forum.xda-developers.com/nexus-7-2013/nexus-7-2013-qa/mount-recovery-t3064562) called MultiROM TWRP

Now my storage is recognized :o
Sending what I want to install:

$ fastboot boot twrpImage/TWRP_multirom_flo_20150328.img
$ adb push superSu/supersu.zip /sdcard/supersu.zip
$ adb push kaliNethunter/kaliNethunter.zip /sdcard/kaliNethunter.zip

Then using GUI to install both, all is good now ;)
Just do not install supersu proposed by TWRP before reboot.

Hope my experience could help others

localhost
2016-01-21, 11:52
I managed to get Nethunter 3.0 installed on a Nexus 7 2013 WiFi Tablet was pretty easy to be honest what I did was downloaded the Nethunter 3.0 ZIP from the nethunter site placed the zip file on my nexus 7 2013 tablet then I went to wugfresh.com downloaded the nexus root toolkit installed the ran thru the setup of The Nexus Root Toolkit setup everything on it tested to make sure the drivers were installed I recommend Option 1 if you need to install the drivers to get the Nexus Root Toolkit to be able to root your tablet.

Doing this you might lose your data so just a heads up on that now I had issues with the new Android 6.0.x so im using Android 5.1.1 build LMY48M for 2 reasons 1. I could not find Tethering on the new Android 6.0.x so I can't Tether my WiFi Pineapple NANO so I had to downgrade and 2. The version of The Nexus Root Toolkit I guess doesn't work with Android 6.0.x just yet

I recommend you flash the Stock Android 5.1.1 build LMY48M if you wanna use Nethunter 3.0

Now moving a long you will wanna flash as I said to 5.1.1 of Android use The Nexus Root Toolkit from wugfresh.com
from their your gonna wanna boot into TWRP boot and install that ZIP file for Android if you guys wanna wait till after I wake up I can try releasing a video sadly I'll have to flash my tablet which means im gonna lose all my stuff again but im willing to help if you would like be to do a video it's possibly not the best way of doing it but the way I did it works fine for me.

I recommend you do this on a Windows 7 PRO machine unless you know what your doing but I have got Nethunter 3.0 up and working however im having a problem with MITMf the autobeef feature is broken im right now trying to see if maybe their is a update from the repo or if im have to apt-get remove it and redownload it from github.

teeBone
2016-01-21, 16:41
I recommend you flash the Stock Android 5.1.1 build LMY48M if you wanna use Nethunter 3.0



I had previously flashed with 6.0.1 and Nethunter 3 but had problems with Nethunter not working correctly. After reading your post, I flashed 5.1.1 build LMY48M and now I'm stuck in a reboot loop.

teeBone
2016-01-21, 19:40
I managed to get it working and documented my steps here: http://stevendcampbell.blogspot.com/2016/01/how-to-install-kali-nethunter-3-on.html

xenios
2016-01-25, 07:52
I am following install procedure from: https://github.com/offensive-security/nethunter-LRT
I have tried with stockImage 6.0.1 (MMB29O) and 5.1.1 (LMY47V) (https://developers.google.com/android/nexus/images?hl=en#razor), NetHunter 3.0 Marshmallow (https://images.offensive-security.com/nethunter-release/nethunter-flo-marshmallow-3.0.zip) and "BETA-SuperSU-v2.66-20160103015024.zip" (http://forum.xda-developers.com/showpost.php?p=64161125&postcount=3)

I followed the HowTo... First I had to remove "-p" from "twrpFlash.sh" (as seen in forum thread) that was causing zip file not copy to device.
Then each time last install script gives error from that line: "E:Unable to mount '/data'"



I cannot understand what is wrong?
Is there something else to do?

Thanks

Id suggest using the multirom twrp. I had similiar issues with mine till i used it.

milestone
2016-01-25, 20:11
Thank you localhost!
Nexus 7 (2013) LTE version is also good?

orangeworx
2016-01-26, 15:56
I'm running unmodified latest TWRP and NH3 on my Nexus 7 2013... no issues there and it's also picking up my TL-WN722N
I used NRT to flash stock MMB29O, wait till it boots up and set it up. Root and flash TWRP. reboot then flash zip from NRT in advanced utilies, no zip copying to tablet... I've had much success as it's the 3rd time i do it in about 24 hours...
I keep messing it up trying to update pixiewps (kali comes with 1.1) and reaver (want to replace it with reaver t6x mod) and that's where i'm having the trouble

orangeworx
2016-01-26, 15:56
Thank you localhost!
Nexus 7 (2013) LTE version is also good?

Should be exactly the same thing as wifi version

orangeworx
2016-01-26, 17:15
having latest MM version and downloading the appropriate kali here (https://www.offensive-security.com/kali-linux-nethunter-download/) will work... i don't see why not, it works

ablinkin
2016-08-16, 15:33
If you are installing from OS X and getting update-binary file not found errors it could be because Safari is unzipping the files and when you compress them its foobar. If you turn off open safe files in Safari or use Wget to download from terminal it will avoid this issue.

carmila
2017-09-12, 08:17
Update please.