• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][OFFICIAL]Kali NetHunter for the Xiaomi Mi A3 LinageOS18.1

Search This thread


Senior Member
May 8, 2017
I am stupid. Kernal is "Linux kali 4.14.229-Nethunte-18.1 -yesimxev #3 SMP PREEMPT Sat May 1 00:22:42 BST 2021 aarch64" lineage_laurel.... was my build number ! Still can't get my wireless card to work , any ideas?
Sorry I have really little time to try to reply. Are there firmwares in /etc/firmware/ ?
Also, show me the last 10-20 lines in dmesg


Senior Member
May 8, 2017
That's interesting, most phones doesn't support Y cable out of the box. Dwc3 needs a quite unique patch to have aca_enable and otg_charging on there to be enabled
  • Like
Reactions: ardasher

Top Liked Posts

  • There are no posts matching your filters.
  • 3

    I present to you: Kali NetHunter for the Xiaomi Mi A3 on LineageOS 18.1

    Kali NetHunter is an Android ROM overlay that turns an ordinary phone into the ultimate Mobile Penetration Testing Platform.
    The overlay includes a custom kernel, a Kali Linux chroot, an accompanying Android application, which allows for easier interaction with various security tools and attacks, as well as a client to the Kali NetHunter App Store.
    Beyond the penetration testing tools arsenal within Kali Linux and the Kali NetHunter App Store, NetHunter also supports several additional classes, such as HID Keyboard Attacks, BadUSB attacks, Evil AP MANA attacks, and much more. For more information about the moving parts that make up NetHunter, check out our NetHunter Components page.
    NetHunter is an open-source project developed by Offensive Security and the community.

    ~ Prerequisites ~
    - Lineage 18.1 - https://forum.xda-developers.com/t/rom-11-unofficial-laurel_sprout-oss-lineageos-18-1.4240953/

    ~~ Downloads ~~
    - NetHunter installer: https://images.kali.org/nethunter/nethunter-2021.2-laurel_sprout-eleven-kalifs-full.zip
    - Magisk – https://forum.xda-developers.com/apps/magisk
    - Force Encryption Disabler for Treble - https://www.androidfilehost.com/?fid=8889791610682920239

    ~~ How to Install ~~
    Assuming you have unlocked bootloader, flashed LOS, Gapps, Magisk and still in Linage recovery:
    To have encryption disabled, DON"T REBOOT TO SYSTEM, but follow these steps:
    - adb push and install or adb sideload DisableForceEncryption_Treble.zip
    - Do initial setup
    - Reboot to recovery
    - adb push and install or adb sideload nethunter-2021.2-laurel_sprout-eleven-kalifs-full.zip
    - Reboot into system, setup or update Nethunter from NetHunter store and do a final reboot

    ~~~ Notes & Updates ~~~
    KeX is working, but the ROM does a soft reboot when server is started. Will be fixed at next release latest.

    Credits: The Offensive Security Team and the NetHunter community

    Android Version: 11.0

    XDA: DevDB Information
    Kali Nethunter, Kernel & ROM for the Nokia Xiaomi Mi A3

    For LineageOS: @Harukey
    Huge thanks as this project would not be possible without him!

    Source Code: https://gitlab.com/kalilinux/nethunter/
    Kernel Source: https://github.com/yesimxev/android_kernel_laurel_sprout

    Follow me on Twitter!

    Just a friendly reminder to keep it civil, on-topic and refrain from putting fuel to fire by responding to posts that you think are offensive or hateful. Just report if you feel something isn't right and let us take care of it for you, so that we can make your experience on the forum better. :)

    Now let's all take a deep breath, and get back on topic, shall we?

    Forum Moderator
    Good going bro. Thanks a lot.
    there's a thing that is not clear... if i flash this rom the phone remain a phone? i can make calls? install goole apps? i have a phone with extra kaly functions? or trasform my phone in a little (and useleess) linux pc and remove all basic phone functions... because in the second case i don't understand the utility. but in thr first case it should be a good update
    I wouldn't say useless even if there's no phone functions. Not because of Kali or Linux, it's just a pentesting arsenal in your pocket. But no worries, all works. You flash Kali NetHunter on top of Android 11 (LineageOS 18.1 in this case)
    That's interesting, most phones doesn't support Y cable out of the box. Dwc3 needs a quite unique patch to have aca_enable and otg_charging on there to be enabled