(beta) kali nethunter 3

Upload: shopnopathik-aion

Post on 07-Jul-2018

212 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/19/2019 (BETA) Kali Nethunter 3

    1/9

    Forum NetHunter Forums Installing NetHunter   (BETA) Kali Nethunter 3.0 alternate installer

    If this is your first visit, be sure to check out the FAQ  by clicking the link above. You may have to register  before you can post: click the register link aboveto proceed. To start viewing messages, select the forum that you want to visit from the selection below.

    Thread: (BETA) Kali Nethunter 3.0 alternate installer

    User Name   Password   Log in

      Remember Me?

    Register Help

    What's New?

    New Posts FAQ Calendar Forum Actions Quick Links   Advanced Search

    Results 1 to 2 of 2

    Thread Tools Search Thread Display

    2016-01-12, 05:24 PM

     (BETA) Kali NetHunter 3.0 alternate installer (now stable!)

    THIS IS A NEW INSTALLER - NOW WITH

    RELEASE QUALITY

    This  Kali NetHunter installer is different f rom theofficial 3.0 installers in that it has a modified

    installer and boot image patcher script. I'm hopingto get the new installer merged into the main

    repository  eventually.It should hopefully fix any issues people are having

    with the release installer or any other method of installing.

    Builds for every supported NetHunter device

    happen every night that there is a change in therepository, sometimes more than once per day if 

    the change is important.You may want to check the timestamp (in Eastern

    Standard Time) to see if there is a new buildavailable on the same day, should your current one

    #1

    Join Date:

    Location:

    Posts:

    Jan 2016

    on your WiFi, secureit!

    26

    Send a message via Skype™ to jcadduono

     jcadduono 

    Junior Member

    Forum

    https://forums.kali.org/faq.phphttps://forums.kali.org/register.phphttps://forums.kali.org/forumdisplay.php?16-Installing-NetHunterhttps://forums.kali.org/forum.phphttps://forums.kali.org/forumdisplay.php?14-NetHunter-Forumshttps://forums.kali.org/forum.phphttps://forums.kali.org/showthread.php?29177-(BETA)-Kali-Nethunter-3-0-alternate-installerhttps://forums.kali.org/forum.phphttps://forums.kali.org/member.php?39591-jcadduonohttps://forums.kali.org/showthread.php?29177-(BETA)-Kali-Nethunter-3-0-alternate-installer&p=55006&viewfull=1#post55006https://forums.kali.org/search.phphttps://forums.kali.org/calendar.phphttps://forums.kali.org/faq.phphttps://forums.kali.org/search.php?do=getnew&contenttype=vBForum_Posthttps://forums.kali.org/activity.phphttps://forums.kali.org/faq.phphttps://forums.kali.org/register.phphttps://forums.kali.org/forum.phphttps://forums.kali.org/showthread.php?29177-(BETA)-Kali-Nethunter-3-0-alternate-installerhttps://forums.kali.org/register.phphttps://forums.kali.org/faq.phphttps://forums.kali.org/forumdisplay.php?16-Installing-NetHunterhttps://forums.kali.org/forumdisplay.php?14-NetHunter-Forumshttps://forums.kali.org/forum.phphttps://forums.kali.org/index.php

  • 8/19/2019 (BETA) Kali Nethunter 3

    2/9

    have any issues.

    These builds are NOT Aroma enabled, however, itshould be no issue to just drag apps you don't needto the uninstall button in your app drawer.

    Aroma support is going to be phased out for a

    while, especially with new TWRP releases comingout soon that may have newer kernels that aren'tcompatible with Aroma.

    DOWNLOAD

    Nightly TWRP flashable zips are located at:https://idlekernel.com/nethunter/nightly/

    Kernel only installers are in the kernel-only

    directory inside each build directory. It might be abetter idea to try and install that first and see if you can boot before flashing the entire NetHunter.

    BEFORE INSTALLING

    Please make sure your phone boots fine beforeflashing NetHunter.

    The Kali chroot and apps are installed on your data

    partition (in /data/local for chroot). To initialize thechroot and install Kali Linux, you need to start theKali NetHunter app.

    If you want the full or minimal Kali chroot included

    in the installer, you can flash the armhf-generic-kalifs zip file after your device specific one.

    If you are using a MultiROM mod, make sure that

    the ROM you want NetHunter on is your main ROMbefore installing. NetHunter needs to write to your

    boot partition, your system partition, and your datapartition.

    If you are already rooted on a Marshmallow ROM,

    or know you have systemless SuperSU installed,you will need to go into the SuperSU app and do a

    https://idlekernel.com/nethunter/nightly/

  • 8/19/2019 (BETA) Kali Nethunter 3

    3/9

    full unroot then reflash CyanogenMod 13.0 orAndroid stock factory system image and Gapps.

    This NetHunter installer does not play well withsystemless SuperSU at the time.

    The NetHunter installer will automatically installSuperSU in system mode, which I consider to be

    more stable. Since NetHunter already modifiesyour system partition, there is no need to usesystemless SuperSU anyways.

    Another advantage to using system install SuperSUon Marshmallow is that you are free to use yourMultiROM recoveries without issues!

    FULL FRESH INSTALL STEPS

    1. Flash CyanogenMod installer zip or

    Android factory system imagedepending on NetHunter support and

    what you want2. Flash Gapps if applicable (preferably

    OpenGapps  pico)3. Boot into device

    4. Complete setup wizard5. Reboot into recovery

    6. Flash the Kali NetHunter installer zipfrom this thread

    7. Boot into device8. Open the NetHunter app

    9. Use the Kali Chroot Manager to installKali on your phone

    10. You're done!

    UPDATING TO A NEWER BUILD

    Going from 3.0.0 and up, all you have to do is flashthe new build in recovery and wipe dalvik cache.

    Upgrading from NetHunter 2.0 is notrecommended, and may break the NetHunter app

    in some cases.

    CAN'T FIND YOUR DEVICE?

    http://opengapps.org/

  • 8/19/2019 (BETA) Kali Nethunter 3

    4/9

    While I do builds for every device supportedofficially by NetHunter, and my own devices as

    well, it's actually (usually) possible to installNetHunter on a completely unsupported device!

    You will find in the nightly directories, a build calledgeneric-armhf. Generic-armhf builds can be flashed

    on any device as long as they are armhf compatible.

    Generic builds do not replace the kernel, they only

    modify the ramdisk for SuperSU, extended terminalsupport, and init.d support.Along with the ramdisk modifications, they install

    the full Kali NetHunter.By not using a NetHunter kernel, you will be unable

    to use the HID gadget keyboard/mouse functions,packet injection, or USB OTG WiFi cards.

    You will however have all the apps and chroot.Some functions may be broken.

    While I don't advise installing NetHunter on anunsupported device, this is a good alternative to

    dangerously trying to run another device'sNetHunter installer on your device.

    On top of all that, generic builds can be used for

    upgrading your NetHunter installation if you'vealready installed your device specific NetHunter

    kernel.

    RAN INTO AN ISSUE OR BUG?

    In order for me to help you, you have to atminimum reply with:

    The link to the exact zip youdownloaded

    Your device model (hltecan,hammerhead, flo, mako, etc)

    The name of the ROM you're flashing iton

    The build date of the ROM you'reflashing it on

    A complete description of your problemOptional: An audio recording of you

  • 8/19/2019 (BETA) Kali Nethunter 3

    5/9

    reading this entire post

    If your issue is with a specific app, it might bebetter to contact the developer of that app.

    If your issue is during the installation (ex. flashing

    the NetHunter zip), then please collect a TWRPrecovery.log  for me.

    If you found a problem and were able to fix it, andno one's mentioned it in the thread already, itwould be kind to state the issue and your fix for

    others to make use of as well.

    You can join me and the other NetHunterdevelopers on IRC at the #nethunter room on

    freenode  to more handily diagnose problemstogether.

    I apologize, but I can't do house calls at this time.

    KNOWN ISSUES

    F2FS - You need to have an ext4 datapartition. I'm not sure why, but having

    a Kali chroot on your data partitiontotally breaks booting f2fs /data. You

    are fine with f2fs /system and /cachehowever.

    USB Keyboard - The keyboard isunusable on some devices (ex. the Note

    3) due to a depth bug that causes yourkey presses to go right through the

    keyboard into the swipe pad.Terminal App - Full screen programs

    like nano or vi are unusable becausethey can't be rendered properly. Learn

    sed for text file editing. Just kiddingthat's cruel.

    DEVELOPMENT

    https://webchat.freenode.net/?channels=nethunterhttp://rootzwiki.com/topic/24120-how-to-get-a-log-from-twrp/

  • 8/19/2019 (BETA) Kali Nethunter 3

    6/9

    You can see my branch of development here:https://github.com/jcadduono/kali-nethunter

    Alternatively, but not updated as often, it is alsoavailable as another branch on the Offensive

    Security NetHunter GitHub:https://github.com/offensive-securit...ster-

     jcadduono

    The original branch of development is located here:

    https://github.com/offensive-security/kali-nethunter

    PORTING YOUR DEVICE

    Hopefully with the changes in this installer, moredevices should be even more compatible to port. I

    recommend porting for CyanogenMod 12.1 and 13.0as they are the most tested ROMs for NetHunter

    and are more likely to get your port accepted intothe main branch to become official.

    All you have to do to port your device is modify the

    kernel, see this guide:https://github.com/offensive-securit...ing-the-

    KernelIn addition to the guide, you should enable

    CONFIG_FHANDLE, CONFIG_EXPORTFS,CONFIG_DEVTMPFS, and

    CONFIG_DEVTMPFS_MOUNT.You can find some handy commits to cherry-pick

    for kernels here  or in binkybear's GitHub.Skip the KEXEC patches unless you can find one

    specific to your device.

    Once it's modified, clone the kali-nethunter gitrepository. I recommend cloning my branch

    ( jcadduono/kali-nethunter.git) as it supportsmultiple authors and is easier to port with than the

    master branch.

    To add your new device to the Kali NetHunterinstaller, follow the instructions on this page:

    https://github.com/jcadduono/kali-nethunter.githttps://github.com/binkybear/https://github.com/jcadduono/nethunter_kernel_hammerhead/commits/cm-12.1https://github.com/offensive-security/kali-nethunter/wiki/Modifying-the-Kernelhttps://github.com/offensive-security/kali-nethunterhttps://github.com/offensive-security/kali-nethunter/tree/master-jcadduonohttps://github.com/jcadduono/kali-nethunter

  • 8/19/2019 (BETA) Kali Nethunter 3

    7/9

    https://github.com/jcadduono/kali-ne...ller/README.md

    You may want to test your kernel by itself without

    installing NetHunter. You can do this by adding -kto the build.py command.

    This will generate a zip that performs the kernelmodification steps only, and does not install any

    apps.

    Don't forget to add your kernel and a link to itssource (GitHub preferred) to kernels.txt in the git

    repository root directory.

    If everything works out, you can send me a pullrequest on GitHub and I will check out your work

    and probably merge it into the new installerbranch.

    DISCLAIMER 

    I am not affiliated with Offensive Security. They

    seem like cool guys though.I'm not even a novice when it comes to security

    and penetration. I'm just a simple systemadministrator with a passion for breaking Android.

    Last edited by jcadduono; 2016-01-30 at 08:57 PM.

    Maintainer of Galaxy Note 3 & Galaxy S5 NetHunter kernel. You can find my new K ali NetHunter installer on GitHub: [jcadduono/kali-nethunter]Nightly builds are available.

    Reply With Quote

    2016-01-30, 08:54 PM

    STEP 1: UNLOCK YOUR DEVICE

    #2

     jcadduono 

    https://forums.kali.org/member.php?39591-jcadduonohttps://forums.kali.org/showthread.php?29177-(BETA)-Kali-Nethunter-3-0-alternate-installer&p=55914&viewfull=1#post55914https://forums.kali.org/newreply.php?do=newreply&p=55006https://github.com/jcadduono/kali-nethunter/blob/master/nethunter-installer/README.md

  • 8/19/2019 (BETA) Kali Nethunter 3

    8/9

    Unlocking your device will typically wipe everything off your phone. Back up your data!(copying stuff off your internal storage to a computer is also advised in case anything goes

    wrong)If your device is locked, you read this article to learn how to back up your data:

    http://android.stackexchange.com/que...rooted-devices(preferably use the adb backup method)

    To unlock your device (applies to all Nexus devices, to my knowledge):https://www.androidpit.com/how-to-un...s-5-bootloader

    STEP 2: STAYING UP TO DATEIf you want a bug-free install, I would advise updating to your latest stock ROM.At the moment, this appears to be: 6.0.1 (MMB29S)

    https://developers.google.com/android/nexus/imagesSelect the correct firmware for your device! There are separate firmware for LTE and WiFi only

    devices.The .tgz can be extracted, giving you a few files. flash-all.bat will flash the entire firmware to

    your device, assuming you set your tools up properly from step 1.Ensure that you can boot and use your system without issues before proceeding to the next

    step!If there is a NetHunter installer for your device with cm attached to it, you can use

    CyanogenMod instead of stock.

    STEP 3: INSTALL A CUSTOM RECOVERY

    You will need to install TWRP. -> https://twrp.me/devices

    There are instructions on the linked page. You use the same tool you used in the unlock step.

    STEP 4: BACK UP - AGAIN!

    Your new custom recovery, TWRP, allows you to back up and restore your device with ease.

    You probably want to create another backup if you like where you are already, and want theoption to return to a system free of root or NetHunter.

    Use the large buttons in TWRP interface to navigate and back up your system, data, and bootpartition with ease.

    Since TWRP is on its own recovery partition, it should be accessible no matter how bad yoursystem gets messed up.

    STEP 5: FLASH KALI NETHUNTER 

    You can download the latest (nightly) version of the Kali NetHunter installer above.(please read the whole thread!)

    Good luck!

    If you run into any issues, such as reboot loops like you've mentioned, please join us in IRC.

    Join Date:

    Location:

    Posts:

    Jan 2016

    on your WiFi, secureit!

    26

    Send a message via Skype™ to jcadduono

    Junior Member

    https://twrp.me/deviceshttps://developers.google.com/android/nexus/imageshttps://www.androidpit.com/how-to-unlock-nexus-5-bootloaderhttp://android.stackexchange.com/questions/28296/full-backup-of-non-rooted-devices

  • 8/19/2019 (BETA) Kali Nethunter 3

    9/9

    -- Default Style

    « Previous Thread  | Next Thread  »

    Contact Us  Kali Linux Forums  Archive  Top

     All times are GMT. The ti me now is 03:00 PM.

    #nethunter on freenode

    We will do what we can do resolve your issues, as our goal is to make NetHunter stable on allsupported devices.

    Maintainer of Galaxy Note 3 & Galaxy S5 NetHunter kernel.

     You can find my new K ali NetHunter installer on GitHub: [jcadduono/kali-nethunter]Nightly builds are available.

    Reply With Quote

    Quick Navigation  Installing NetHunter   Top

     You may not post new threads

     You may not post replies

     You may not post attachments

     You may not edit your posts

     

    Posting Permissions

    BB code  is On

    Smilies  are On

    [IMG] code is On

    [VIDEO] code is On

    HTML code is Off 

    Forum Rules

    https://forums.kali.org/showthread.php?29177-(BETA)-Kali-Nethunter-3-0-alternate-installer#tophttps://forums.kali.org/misc.php?do=showruleshttps://forums.kali.org/misc.php?do=bbcode#videocodehttps://forums.kali.org/misc.php?do=bbcode#imgcodehttps://forums.kali.org/misc.php?do=showsmilieshttps://forums.kali.org/misc.php?do=bbcodehttps://forums.kali.org/showthread.php?29177-(BETA)-Kali-Nethunter-3-0-alternate-installer#tophttps://forums.kali.org/showthread.php?29177-(BETA)-Kali-Nethunter-3-0-alternate-installerhttps://forums.kali.org/newreply.php?do=newreply&p=55914https://webchat.freenode.net/?channels=nethunterhttps://forums.kali.org/showthread.php?29177-(BETA)-Kali-Nethunter-3-0-alternate-installer#tophttps://forums.kali.org/archive/index.phphttps://forums.kali.org/https://forums.kali.org/sendmessage.phphttps://forums.kali.org/showthread.php?29177-(BETA)-Kali-Nethunter-3-0-alternate-installer&goto=nextnewesthttps://forums.kali.org/showthread.php?29177-(BETA)-Kali-Nethunter-3-0-alternate-installer&goto=nextoldest