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

Search This thread

yesimxev

Senior Member
May 8, 2017
513
174
https-_gitlab-com_kalilinux_nethunter_build-scripts_kali-nethunter-project_raw_master_images_n-png.5212293


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 (scroll down for the latest Xiaomi Mi A3 image): https://www.kali.org/get-kali/#kali-mobile
- 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 YET, but follow these steps:
- Format data if you haven't done before flashing
- adb push and install or adb sideload DisableForceEncryption_Treble.zip
- Reboot to system
- 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 for some users, the ROM does a soft reboot when server is started. If the dbus service is running in Kali chroot, soft reboot is gone, but still some users experience camera app crash.

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

Contributors
@yesimxev
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!
 
Last edited:

wetito

Senior Member
Dec 12, 2014
1,457
304
50
reggio emilia
Xiaomi Mi A3
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
 
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
the phone stays a phone with lineageOS, and have the extras of kali nethunter.

you can still do anything other phone can do.

when you want to use kali net hunter programs you turn on the Kali Chroot Manager from the NetHunter app.

if have more question ill be glad to help :)
 

wetito

Senior Member
Dec 12, 2014
1,457
304
50
reggio emilia
Xiaomi Mi A3
the phone stays a phone with lineageOS, and have the extras of kali nethunter.

you can still do anything other phone can do.

when you want to use kali net hunter programs you turn on the Kali Chroot Manager from the NetHunter app.

if have more question ill be glad to help :)
sorry for my stupid question, but in the screenshots i didn't see the phone icon. ^^
 

yesimxev

Senior Member
May 8, 2017
513
174
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)
 
  • Like
Reactions: wetito

frankline2

Member
Jun 10, 2021
10
1
Hello again. It says custom kernel is not supported in Harukey's Lineage Os 18.1 rom. But you built a custom kernel based on that rom. Any problem? Also, are the root and nethunter files deleted when Lineage Os 18.1 is updated? I would be very happy if you answer.
 

yesimxev

Senior Member
May 8, 2017
513
174
Hello again. It says custom kernel is not supported in Harukey's Lineage Os 18.1 rom. But you built a custom kernel based on that rom. Any problem? Also, are the root and nethunter files deleted when Lineage Os 18.1 is updated? I would be very happy if you answer.
Custom kernel is supported by me. That means, if you have problem, he doesn't support you but I do. It's different what he provides so it's not his responsibility if there's an issue due to the NetHunter patches
 

yesimxev

Senior Member
May 8, 2017
513
174

wetito

Senior Member
Dec 12, 2014
1,457
304
50
reggio emilia
Xiaomi Mi A3
This rom is not for noob... Read with attention first post... If there's something you don't understand... Don't flash. Because the OP have posted a clear and detailed guide. Kaly is first a linux distro, not a common android firmware. If you don't know anything about Linux... don't flash. Obviously It's only my opinion...
 

frankline2

Member
Jun 10, 2021
10
1
Bluetooth-Arsenal is not working I guess. L2ping, Spooftoph and others don't work either. It sends 0 bytes when using L2ping. In Spooftoph software, it just clones the name. It doesn't clone the mac address. What do you think is the cause of the problems?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Is it? I'll make a kernel next week
    Thank You ! I'm Also Wait For it
    1
    It should be easily ruled out. The hub I bought may not be supported by this kernel, I'll check at some point soon. What I mean if you have €5-€10, you can try different usb-C hubs. Look for the one with usb-c port (for charging), I tried the cheapest one with HDMI.

    If you just look to work with the proxmark, not charging the phone, external powered usb helps
    Ok, thanks!
    1
    Thank You ! I'm Also Wait For it
    I checked their source, los20 uses los18.1 source so you can try to flash my kernel. I'll still update my source some time this week
  • 3
    https-_gitlab-com_kalilinux_nethunter_build-scripts_kali-nethunter-project_raw_master_images_n-png.5212293


    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 (scroll down for the latest Xiaomi Mi A3 image): https://www.kali.org/get-kali/#kali-mobile
    - 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 YET, but follow these steps:
    - Format data if you haven't done before flashing
    - adb push and install or adb sideload DisableForceEncryption_Treble.zip
    - Reboot to system
    - 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 for some users, the ROM does a soft reboot when server is started. If the dbus service is running in Kali chroot, soft reboot is gone, but still some users experience camera app crash.

    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

    Contributors
    @yesimxev
    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!
    2
    Is it? I'll make a kernel next week
    Thank You ! I'm Also Wait For it
    2
    THREAD CLEANED

    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?

    Regards,
    shadowstep
    Forum Moderator
    1
    Good going bro. Thanks a lot.
    1
    Thank You ! I'm Also Wait For it
    I checked their source, los20 uses los18.1 source so you can try to flash my kernel. I'll still update my source some time this week