offensive-security / kali-nethunter

The Kali NetHunter Project
https://github.com/offensive-security/kali-nethunter/wiki
3.49k stars 891 forks source link

Do I need the kalifs.zip at all? #1199

Closed noyb666 closed 5 years ago

noyb666 commented 6 years ago

Device:

angler 6p

OS version (KitKat/Lollipop/Marshmallow/Nougat):

oreo

Built from repo (date and build command) or downloaded from website (links):

oreo nightly

Output of cat /proc/version in adb shell or NetHunter Terminal:

Issue:

I posted in the NRT thread, but then realized that here might be a better place... So what's the deal with this kalifs.zip, that I had to download in step 2 and that was never mentioned again...?

Here the full description:

So I followed the install guide step by step and that brought me to this site (offensive-security/nethunter-LRT) and I continued to follow all the steps.

Everything looked totally fine, the terminal output ends with:

"Rebooting into Kali Linux Nethunter

Everything is installed. Phone should be booting up! Enjoy Nethunter "

Great, I thought, but the phone rebooted and nothing happened. I ended up with a black screen and a white "Google" writing and sadly that's already the end of the story, no Nethunter in sight!?

Any clue what went wrong and what the state of the phone is?

And then I also remembered that on the previous site that brought me here (https://github.com/offensive-security/kali-nethunter/wiki) there in the second step (2.0 Downloading NetHunter) it says:

"For a fresh install, you will need a nethunter-generic-[arch]-kalifs-.zip as well as a kernel-nethunter-[device]-[os]-.zip. The kernel should be flashed last. The update-nethunter-generic-[arch]-*.zip files are for updating your installation or if you wish to download the Kali rootfs inside the NetHunter app instead."

Ok, I downloaded all of it in that step, but now I realize that I never used them in the following steps, simply because they were not mentioned anymore....!?

Why have I downloaded the "kalifs".zip at all? When there's no step explanation what to do with it. So have I terribly missed something? Or can we call this install guide inconsistent and confusing?

And once again, why do I have the output saying everything is fine but nothing happens?

ajes commented 6 years ago

Nethunter require: kernel-nethunter-.zip - which include modified kernel, so some hacks like wifi will work nethunter-generic--kalifs-*.zip - as this is full Kali system. Without it, you have not installed Nethunter :)

yesimxev commented 6 years ago

Yes kalifs contains the base system. You have to install nethunter-kernel too from eg. build.nethunter.com/nightly. You can also build fresh full installer (which has the fs, apps, kernel, su) using the nethunter-installer from github. You can add that to NRT too if you don't want to TWRP

0E800 commented 6 years ago

If you dont know what Kali file system is for I'm not sure anybody should be helping you arm your phone as a weapon that might ultimately wind you up in jail for not knowing how to use it or that in special circumstances by having it you can be profiled as a potential cyber threat actor or worse.

There is a reason why it takes extreme effort to successfully port your device and even when you did everything correct; and everything seems to be working you still fall into problems and everybody wants you to show them how you did it and become irritated that their results don't match yours.

Do yourself a favor and install Kali and get yourself a few tutorials and when you get bored or stuck on that, alternate to getting familiar with installing custom roms and bricking and unbricking your device.

noyb666 commented 6 years ago

@0E800

While what you're saying is partially true it still sounds like a smartass comment and you're missing the point....

The point is, that this "install guide" (that doesn't even deserve this name...) is complete rubbish...!

So Kalifs is the most important file... Great. How come it's mentioned exactly once...!??? And then never again?

""For a fresh install, you will need (to download) a nethunter-generic-[arch]-kalifs-.zip..."

And now? Use your female intuition?

Why not, just don't call it a Install guide, wiki or documentation if you don't tell people what to do after the download....

But even worse:

this "NetHunter Linux Root Toolkit" won't work anyway, because it's outdated lousy crap and SuperSu will brick your device with 100% reliability...

The link provided brings you to a 3 year old outdated post.... And that's almost good news, because SuperSu is such a nonsense, that you should really look for alternatives.

And then there's this sentence:

"The kernel should be flashed last."

Again, no instruction / explanation follows...

If the "preferred method for installing NetHunter" is the "NetHunter Linux Root Toolkit " as the creators claim... when and how do you flash it "last"....?

Actually you supposed to: "Put the NetHunter zip image you downloaded or built in the /kaliNethunter folder."

Well ok, but explain how you flash the kernel last, when you just dump it in that folder? Together with the Kalifs....? Or not? Well.... This "guide" keeps it a secret.

Bottom line: Either have a documentation and install instructions that work, others can follow and understand or not....!

What we have here is an outdated confusing pile of rubbish that needs to be cleaned up and replaced with a SIMPLE and WORKING guide in order to not waste peoples time.

And the saddest thing is, that this guide not only doesn't work, it makes rather easy things unnecessarily difficult.

When Lineage OS can have a simple, logical and easy to follow guide, why can't Nethunter?

And actually I managed to flash it eventually giving this "preferred method for installing NetHunter" a miss and following the Lineage guide and that works.

yesimxev commented 6 years ago

There are several ways but either LRT or flashing from TWRP, the process is pretty similar in the background if you are not customizing. LineageOS 15 needs AddonSU instead and apks need to be installed manually. Most of the devices would do: 1) Install TWRP and clean ROM - do initial setup. 2) SuperSu (CM) / AddonSu (Lineage15.1) 3)a Then install a generic kalifs + separate kernel 3)b complete installer made by you with nethunter-fs & nethunter-installer with latest apks, SuperSu, added custom kernel (find nethunter kernels.txt and modifying kernel nethunter website) or prebuilt kernel from build.nethunter.com

Otherwise use nethunter-LRT and add the previous components into its folders (follow it's README).

With this method, LineageOS 15.1 still needs apks installed manually and AddonSu flashed before kali in order to enable root

noyb666 commented 6 years ago

Yes, there are several ways... on top of the ones you named you can also install the APK's described here: https://forum.xda-developers.com/android/general/kali-nethunter-android-device-t3596625

But the point is: it would be nice to have a understandable docu, wiki, install guide... you name it. Instead we are presented this crap here, that isn't even consistent about the supported devices to begin with... Then it "forgets" to tell you what to do with the Kalifs and when "later" is to flash the kernel and after innumerous hours and weekend sessions until 2 am you find out that this LRT (" our preferred method for installing NetHunter" yeah, my ass....) won't work at all because it's complete useless outdated nonsense.... (To be be more precise: The first part works (flashing the stock image) but not the second, SuperSu will brick it and it's unclear what exactly to put in the " /kaliNethunter folder.")

So the point is...: Apparently different people have long time ago written this tutorial and never ever read, updated or corrected it and now we're looking at this mess. Honestly, without this "guide" I would have saved a lot of time and flashing the Kalifs couldn't be easier and more straightforward, what I fail is to flash a kernel that works, not only because it's still unclear what "The kernel should be flashed last." is supposed to mean but probably also because I want to use it on a Lineage OS and there isn't a kernel for this OS around.

0E800 commented 6 years ago

Your frustration and contempt for this thing that you expected to go your way is hilarious . I could see you shaking your fists at blackberry bushes because although tasty and healthy , have sharp thorns. To expect things to be tailored to your designs only invites frustration. Own it.

Are you a developer? Its no wonder these guys (sr. devs) took a hiatus and abandoned their social media entrapments . This thing that has become nethunter was a incredible ride to be apart of from the beginning . Its momentum and growth quadroopled because of the many actors volunteering their time and code and kernel manipulation theories bolstered by the overwhelming abundance of the spectrum of users that were eager to test or donate hardware so that this thing could be what it has become.

Those many different tutorials scattered about the net that you see as stale or moldy bread crumbs only leading to more frustration are a testament to how glorious it was to be not just a witness but finally a contributor because your dedication paid off and you were able to get it to work and there were 100+ others out there knowing any day someone was going to get it to work and post their recipe for success.

Mr 0 in reading comprehension skills would have noticed that all the tutorials that lead him to another and another and another all had dates. Your frustration is your own. You are not a developer, and this is not a Build-a-Bear workshop. You lack the humility and absolute determination required to pursue a whimsical endeavour, like the Alice at Wonderland because she never went in the hole after the rabbit. Just stood there kicking dirt in the hole cursing the illusion of fate.

Rub some nickels together and make it happen captain. Man up or gtfooh with that sense of entitlement. Your attitude unwelcome here.

Go out and buy a PwnPad. Then you can have an excuse to demand support.

 This project that started out as a DIY alternative to a ultra expensive PwnPad, and became something unfathomably better than anything the Pwnie crew could have engineered     Try picking up a adult origami book and see how frustrating those easy on the eyes high color instructions are
amzker commented 6 years ago

You All Making It Confusing

Kalifs.zip Fully Required For Nethunter

IF Wanted To Install Just Full Kali Linux

Need Kali.img (2GB)

On Mon, 17 Sep 2018, 6:53 am 0E800, notifications@github.com wrote:

Your frustration and contempt for this thing that you expected to go your way is hilarious . I could see you shaking your fists at blackberry bushes because although tasty and healthy , have sharp thorns. To expect things to be tailored to your every expectation only invites frustration. Own it.

Are you a developer? Its no wonder these guys (sr. devs) took a hiatus and abandoned their social media entrapments . This thing that has become nethunter was a incredible ride to be apart of from the beginning . Its momentum and growth quadroopled because of the many actors volunteering their time and code and kernel manipulation theories bolstered by the overwhelming abundance of the spectrum of users that were eager to test or donate hardware so that this thing could be what it has become.

Those many different tutorials scattered about the net that you see as stale or moldy bread crumbs only leading to more frustration are a testament to how glorious it was to be not just a witness but finally a contributor because your dedication paid off and you were able to get it to work and there were 100+ others out there knowing any day someone was going to get it to work and post their recipe for success.

Mr 0 in reading comprehension skills would have noticed that all the tutorials that lead him to another and another and another all had dates. Your frustration is your own. You are not a developer, and this is not a Build-a-Bear workshop. You lack the humility and absolute determination required to pursue a whimsical endeavour, like the Alice at Wonderland because she never went in the hole after the rabbit. Just stood there kicking dirt in the hole cursing the illusion of fate.

Rub some nickels together and make it happen captain. Man up or gtfooh with that sense of entitlement. Your attitude unwelcome here.

Go out and buy a PwnPad. Then you can have an excuse to demand support.

that if this project that started out as a DIY alternative to a ultra expensive PwnPad, that became something unfathomably better than anything the Pwnie crew could have engineered a. Try picking up a adult origami book and see how frustating those easy on the eyes high color instructions are

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/offensive-security/kali-nethunter/issues/1199#issuecomment-421867224, or mute the thread https://github.com/notifications/unsubscribe-auth/AiQi33CJgCZpTGGr-3-HEZL-pvg4kfCuks5ubvmXgaJpZM4WVNgG .

yesimxev commented 6 years ago

I know what you mean. Think like - if it's too obvious, it's easy enough for dangerous script kiddies :)