Results 1 to 8 of 8

Thread: NetHunter wont't install on OnePlus1 - reboots to recovery.

  1. #1
    Join Date
    2019-Nov
    Posts
    36

    NetHunter wont't install on OnePlus1 - reboots to recovery.

    Flashing the latest LineageOS Nightly works fine - both with and without Mind the Gapps add-on. However, once I sideload NetHunter on top (Yes, I've completed the setup wizard before flashing NetHunter), I see the beautiful Kali Logo, but then it reboots twice, the second time, it reboots into recovery. I've tried sooo many things to correct the problem, that I don't even remember all of them. I'll try to list a few of the things that I do remember:

    I've tried installing Magisk Manager and having it download the Magisk zip file, and then installing that file from TWRP. This results in an unbootable system - knocks me back into recovery.

    Reinstalling The Stock ROM directly from the OnePlus site: Gives me an error that this file is only for oneplus1 devices, but my model is an "A0001". I find this very odd. I extracted the zip file, and found and patched the model check. I then repacked with the zip comand-line app, and flashed my patched version. I successfully reapplied the Stock ROM this way. However, after flashing LineageOS nightly, it goes back to model "A0001" again. Very bizarre!

    What can be done here?

  2. #2
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    290
    Which Android version are you running and what NetHunter image did you flash?

  3. #3
    Join Date
    2019-Nov
    Posts
    36
    Quote Originally Posted by re4son View Post
    Which Android version are you running and what NetHunter image did you flash?
    Android version is Pie by way of LineageOS 16 nightly. I have tried 3 different nightlies. I don’t recall which 3 specific nightlies off the top of my head, but all 3 were from last week sometime.

    As for the NetHunter version, I used both the download from your site, and one using your build script via my laptop running Kali 2019.4 x64.

  4. #4
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    290
    Would you mind posting the complete command with all parameters you used to generate the image?

  5. #5
    Join Date
    2019-Nov
    Posts
    36
    python build.py -d oneplus1 -p -fs full

  6. #6
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    290
    Thanks. I'll ask the author of that kernel to chip in.

  7. #7
    Join Date
    2016-Nov
    Posts
    23
    @aaronouthier As far as I know, OPO images after around July 2019 doesn't boot after installing kernel. After many tries, the following works, please try:
    https://gitlab.com/kalilinux/nethunt...note_254273238

  8. #8
    Join Date
    2019-Nov
    Posts
    36
    That worked! Thank you.

Similar Threads

  1. Unable to find kernel image at: devices/nougat/oneplus1
    By buttha in forum Building NetHunter
    Replies: 4
    Last Post: 2017-01-26, 10:06
  2. OnePlus One (oneplus1) Our preferred device, why?
    By Kali1820 in forum NetHunter General Questions
    Replies: 1
    Last Post: 2016-09-29, 13:39
  3. Replies: 9
    Last Post: 2016-08-10, 20:16
  4. OnePlus wont flash TWRP to install Nethunter
    By aidden in forum Installing NetHunter
    Replies: 2
    Last Post: 2016-02-11, 01:15
  5. Nethunter zip not showing up when I boot to recovery
    By Vesper in forum Installing NetHunter
    Replies: 3
    Last Post: 2014-12-28, 20:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •