offensive-security / kali-nethunter

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

[suggestion] simple guides #735

Closed vay3t closed 5 years ago

vay3t commented 7 years ago

I know that many of those who are here know how to install a kernel with twrp or update android without OTA. But not all keep the subject. My suggestion is in the wiki: add reference links or at best, explanatory steps of how to update a kernel or install nougat when the device does not have official support. (among other things) Will help a lot of newbies just entering the world of android. And at the same time help the community by testing the latest updates without making unnecessary steps

Jinovas commented 7 years ago

Agreed! There are so many "how to's" out there, and I'm still confused on the very basic structure of how it should be done. @_@

ntakouris commented 7 years ago

Well, you can't easily install nethunter if you have no clue on how android works and never installed a custom ROM/changed recovery/unlocked bootloader of a device (or even without making some android apps). Hell, it took me 2.5 days to figure out how to make stuff work for the OnePlus One and I ended up doing half of the installation by hand cause first boot hanged. It's tricky, but it worked. It is also common programmer-sense so I suggest you don't start believing everything on the internet. For example, you don't need to install busybox like many people say, it comes bundled with CM , for CM verrsions <= 12.1 , you don't need to flash GApps, they are already there. You don't need to flash superSU before installing nethunter, I could go on....

Just experiment a bit and everything will be fine.

Jinovas commented 7 years ago

Well I know a decent amount about android and I've flashed Android devices hundreds of times(many in a different environment) and my own. It's just that for whatever reason, I just run into 1 issue and I spend a good amount of time trying to research why it's acting that way and how to fix. But one thing can lead to another trying to figure out why one fixed worked partly or why not at all, double checking everything that's needed to be done. Can't say I'm very structured at troubleshooting though at times, just very persistent till I get to a point where I my brain starts losing track of where I started lol

More-so irritated now because I can't reauthorize my nexus 5 on my pc or kali box to start over and from the looks of it, it had possibly something to do with Google's secure USB debugging feature on them. I didn't read too much into it atm needing a break, so I just left it at that for now. This happened the last time I flashed them and trying to install nethunter. I couldn't reauthorize them till the next day or so.

I had them mostly completed before but couldn't get them to recognize my alfa dongle like my nexus 7 does. None of them though, recognize the network device driver built into them. Today, I learned that possibly the kernel headers weren't flashed right or just needed a new one. So I tried that, didn't work, kernel header didn't change so thought I'd just do one from scratch just to be sure. But then I ran into the issue of not being able to authorize them with my pc or kali box and spent more time trying to see if there was a way around it...... /dead

vay3t commented 7 years ago

@mpkosewski Maybe you want to see this #341 @Zarkopafilis I mean specific things regarding nethunter.

Jinovas commented 7 years ago

You sir, just saved me a world of headaches and heartaches lol

Jinovas commented 7 years ago

It does arouse a few more questions, but pretty much makes sense about my problem with my nexus 5's. Like my nexus 7 pretty much works without error, minus a few small things and my user errors lol

vay3t commented 7 years ago

if u have questions with n5 and n7 u can ask me via twitter

Jinovas commented 7 years ago

Oh right on. I would but I don't have anymore social media accounts anymore really, especially after working for Facebook. Lol

ntakouris commented 7 years ago

@phr34k0 I failed to install nethunter with CM 13 ( I think kernel needed an update , but it was inside the supported range). CM 12.1 install with updated kernel to 5.0 didn't go smooth either, ended up installing many apps manually. After of 1-2 days of crashes and some tinkering, phone has 3 days of uptime, no weird stutters or whatever.

ntakouris commented 7 years ago

@phr34k0 Why is there a need to install update-nethunter-bacon-marshmallow too? Also, thx for the info, but as soon as I'm stable, no need to update...

ntakouris commented 7 years ago

So I did good not bothering and just clean installing cm 12.1 with a multirom patched kernel (5.0 - only used multirom to update it automatically). I'm switching to a OP 3T or axon 7 soon (I hope). I'll tell people how it went too...

On Tue, Jan 3, 2017, 12:40 PM Hello World notifications@github.com wrote:

@Zarkopafilis https://github.com/Zarkopafilis oh yeah now i remembered. There was a system level error or something if you used nethunter-oneplus1-lollipop-3.0.zip right before that kernel-nethunter-bacon-marshmallow-20160804.zip and new SuperSU. Hence i had to extract the apps instead and used the update-nethunter-bacon-marshmallow. One can just replace the kernel in nethunter-oneplus1-lollipop-3.0.zip and SuperSU used but i was lazy to go on digging and on an alternate route

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/offensive-security/kali-nethunter/issues/735#issuecomment-270088120, or mute the thread https://github.com/notifications/unsubscribe-auth/AFL1MjssWmJTsEKTLPalZ48_vNPX8UC6ks5rOiW0gaJpZM4LZKD4 .

ntakouris commented 7 years ago

At least when I really needed to make a call and nethunter didn't boot, I used multirom and booted to a cm13 backup :) cheers

On Tue, Jan 3, 2017, 1:46 PM Hello World notifications@github.com wrote:

Didn't went ahead as far as multirom as it consumes space but i gave i might have a look at your method one of these days :) Apparently NFC works well over CM12.1 rather than CM13. Might have to wait a while longer till there's a better stable for CM12.1. Might switch to OP 3 too. Love me some 6 GB RAM with 128 storage

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/offensive-security/kali-nethunter/issues/735#issuecomment-270098098, or mute the thread https://github.com/notifications/unsubscribe-auth/AFL1Mpm5dpTAxglVZBnFEYloG7-xGPoyks5rOjUBgaJpZM4LZKD4 .

vay3t commented 7 years ago

I would appreciate the addition of the steps to install LineageOS in nexus 5

ntakouris commented 7 years ago

@vay3t lineageOS is still setting up proper build servers, please be patient, the just started working. I'd suggest to not go full on it, let it be battle tested and stable under normal conditions first. Also, we don't know wether they plan to support a version of android < 7 (for most developer friendly devices at least).

P.S. The install procedure should be the same one, or at the worse case, a recovery update would be required (if they act stupid and break compatibility , because it's a CM fork/clone after all).

vay3t commented 7 years ago

Nethunter image already exists:

ntakouris commented 7 years ago

I wouldn't recommend it unless you have a spare phone and time to kill tho

ThatGuy626 commented 7 years ago

Anyone got nethunter and fruitywifi working yet lol its a pain in the ass error after error

Nexus 5 Hammerhead ;)

intosec commented 7 years ago

@ThatGuy626 try "systemctl start php7.0-fpm"

Jinovas commented 7 years ago

I've got all my nethunter's working off the stock marshmallow rom's. Working great so far =)

webcoderz commented 7 years ago

we are all active on twitter.

webcoderz commented 7 years ago

the wiki is pretty straight forward on how to install the software, where it lacks is instructions on how to use the tools, but thats up to you to learn..... TRY HARDER don't forget, thats OFFSEC's motto

ntakouris commented 7 years ago

Try harder...

On Fri, Jan 6, 2017, 8:31 AM Hello World notifications@github.com wrote:

"Trying harder" is great but not when downloads on the official site comes with hangs and an unstable CM12.1. Someone need to take that down, stash a 5.0 kernel or least rename it to OnePlus One CM 12.1 (Multirom). Lol. Just saying.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/offensive-security/kali-nethunter/issues/735#issuecomment-270841450, or mute the thread https://github.com/notifications/unsubscribe-auth/AFL1MsP-6Jcyn1JXpkRLSBz2Crd7SeS8ks5rPd-qgaJpZM4LZKD4 .