Giter Club home page Giter Club logo

Comments (16)

binkybear avatar binkybear commented on August 16, 2024

We have only tested the installer with TWRP, although I imagine clockworkmod might work. Are you using a stock ROM? Is it possible to try to just reflash the zip file?

I'm not sure why the kernel wouldn't install for you, but that is one of the most important parts to getting things working.

from kali-nethunter.

0E800 avatar 0E800 commented on August 16, 2024

Just wanted to mention that I flashed nethunter.zip with cwm and /sdcard/htdocs did not copy over. Everything else seemed to be working except for starting the webserver. After extracting htdocs.tar to /sdcard the webserver worked. You might want to check that /sdcard/htdocs is there.

from kali-nethunter.

emersonveenstra avatar emersonveenstra commented on August 16, 2024

This happens to me too. Nexus 7 (2013) Wi-fi using the latest ClockworkMod and CyanogenMod. Error is:

* Starting Kernel install for Nexus 7 (2013) *
* Mounting System... *
set_perm: some changes failed
E: Error in /data/media/0/kali_linux_nethunter_nexus7_2013.zip
(Status 7)
Installation aborted.

I'm going to install TWRP and see what happens.

from kali-nethunter.

Rumata888 avatar Rumata888 commented on August 16, 2024

It seems to me, that your problem has to do with cyanogenmod. Not with clockwork. Even though I didn't have Kali installed fully, all the applications were installed. Not all the support files were copied.

from kali-nethunter.

binkybear avatar binkybear commented on August 16, 2024

Nethunter was designed for AOSP/Stock ROMs only. I can't speak to clockwork but there could be other issues. I suggest starting fresh/clean install.

from kali-nethunter.

binkybear avatar binkybear commented on August 16, 2024

@Rumata888 - Sorry I closed the issue without asking, did you ever get it working?

from kali-nethunter.

emersonveenstra avatar emersonveenstra commented on August 16, 2024

@binkybear are there plans to support CyanogenMod (and other custom ROMs)? I tried with both twrp and cwm, both failed at different stages in the install, so I think it is a CM issue

from kali-nethunter.

binkybear avatar binkybear commented on August 16, 2024

I do have a kernel setup for CM but it's not officially supported and it may or may not work. You would have to build all the sources yourself using the Nethunter source.

Cyanogenmod uses a separate kernel source for MSM (CAF):

http://www.reddit.com/r/Android/comments/1rt9md/eli5_what_is_caf_why_is_cm_going_caf_affects_the/

Can I also ask if you are using the latest version of CM. Just curious.

from kali-nethunter.

emersonveenstra avatar emersonveenstra commented on August 16, 2024

Cool, I'll look into it.
I'm using the latest snapshot of CyanogenMod (Oct. 8, iirc)

from kali-nethunter.

8eecf0d2 avatar 8eecf0d2 commented on August 16, 2024

Currently running Clockwork 6.0.4.7 on Nexus 7 2013 (Wifi) and I got the same error. After an initial debug I found the issue to be setting 755 permissions to /tmp/cleansystem.sh on line 111..

set_perm(0, 0, 0755, "/tmp/cleansystem.sh");

Noticed in /tmp/cleansystem.sh it talks about a CM 11 specific fix in regard to resize but since we're only setting permissions none of that should matter..
Long story short, I can't figure out why the permission setting issues exist but simply removing the cleansystem.sh commands will let the following commands complete and result in a successful (yet tampered) install.

When it reboots and you hit Start Webserver you'll see an issue.. Turns out extractwebint.sh doesn't run as it should and you'll need to manually move and decompress htdocs.tar.gz and also move the files folder across to /sdcard/.. I'd assume other things that relied on /sdcard/files existing are now broken as well as all the other stuff I'm yet to run into.

tldr; Found the issue, found another issue, safe to say more issues will be found, though no major issues, just snowballs.

from kali-nethunter.

binkybear avatar binkybear commented on August 16, 2024

@brod - Have you tried using TWRP instead of clockwork? If you did, did you notice any difference?

The cleansystem removes extra apps in /system that can prevent the webserver from installing because of size.

from kali-nethunter.

8eecf0d2 avatar 8eecf0d2 commented on August 16, 2024

Just wiped to a fresh 4.4.2 flo 4.4.4 flo, flashed TWRP 2.8.2.0 flo to recovery. Pushed kali-nethunter back to the Nexus but TWRP did not show storage or sdcard in it's install zip file file manager so I am unable to flash with it. This is my first time working with Android (not linux) so I might be missing something obvious.

Edit: After googling for issues related to TWRP & /sdcard/ I can't find a solution - it's not corrupted, it's just not there.

from kali-nethunter.

binkybear avatar binkybear commented on August 16, 2024

Nethunter will only work on 4.4.4 (you will get missing wifi with flo on 4.4.2). That's because there was an update to the wifi firmware between 4.4.2 and 4.4.4 but thats separate from the issue you are having.

As far as the zip file not showing up, you can try pushing it using adb if you have it installed on your computer. While the device is in recovery and connected via usb:

adb push filenameofnethunter.zip /sdcard/

from kali-nethunter.

8eecf0d2 avatar 8eecf0d2 commented on August 16, 2024

My bad - not sure why I thought I was on 4.4.2, corrected above. Tried pushing kali-nethunter while in TWRP recovery and it can now see the dir and file - I'll update once it's done installing.

Error on start of install in regard to the /sdcard/ partition..

E:Mount: Unable to find partition for path '/sdcard/'
Error flashing zip '/sdcard/kali-nethunter.zip'
Updating partition details...
...done
E:Error creating fstab

I checked in the TWRP terminal and /sdcard/ exists, but as expected blkid did not show /sdcard/ as a partition and blkid -o list did not show any unmounted partitions.

Last update: Installing kali-nethunter without the cleansystem.sh part on Clockword 6.0.4.7 and then running bash scripts inside of /data/tmp_kali/ manually seems to get a complete and working install so for now I'll stick to that.

from kali-nethunter.

binkybear avatar binkybear commented on August 16, 2024

I'm glad you got it working.

I can say that I've never encountered that problem but hopefully if others do they can refer to your fix.

from kali-nethunter.

StuckUpCreations avatar StuckUpCreations commented on August 16, 2024

Greetings!
Nexus 5 - installed NetHunter 3.0 with TWRP over a fresh install of marshmallow 6.0.1 and it got stuck at 70% at:
installing kernel - freeing up system space.
Tried this twice replicating the same error, the second time after sitting for over 20mins i performed a hard reset and let it boot to nethunter, booted up fine, wifite works,
Still i dont have peace of mind, could you elaborate on how to fix this problem??
thank you in advance!

from kali-nethunter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.