Skip to content

FawkesOficial/NethunterBuild-RedmiNote4-mido

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 

Repository files navigation

Nethunter Build - Redmi Note 4(mido)

I'm making this repo for two reasons:

  • Help someone else that fell into the same assle that I did
  • Keep a guide for myself in case I ever want to re-install/fix a Nethunter Build for mido

I also want to say upfront that I take no credit other than the fact that I'm compiling everyhing into this repo. All the credit goes to this guy on XDA that gave the full solution that ended up working for me.

Im so glad I found that post buried in the Kernel thread. Without it I probably would have been stuck for ages. My problem was that I was actually trying to install the kernel in a "treble" ROM.

At the time I'm writing this repo(01/04/2021), it was kind of hard to find an actual good, working, and most importantly, non-treble ROM. I ended up going with Liquid Remix like the guy mentioned in the post and tbh I recomend going with that aswell.

If you have any questions, feel free to open an Issue or contact me on Twitter @FawkesOficial

Instalation Steps:

These instalation steps are based on this post from the Kernel's XDA thread.

  1. Boot into Recovery mode. (I used OrangeFox Recovery. More on that later.)
  2. Wipe everything. (Apart from usb-otg and micro-sd. You might not need to do this but I totaly recomend you to do so)
  3. Flash an Android 8.1.0, non-treble ROM (Example: Liquid Remix 9.0.8)
  4. Flash Magisk.
  5. Flash GApps.
  6. Wipe Cache and Dalvik.
  7. Reboot into System.
  8. Go trough the usual Android setup.
  9. Install the Magisk App.
  10. Inside the Magisk App, search for the Busybox Addon and then install it.
  11. Reboot into Recovery.
  12. Flash the Kernel "nethunter-mido-oreo-kalifs-full-v1.0.zip". This can take a couple of minutes.
  13. Unfortunately, this doesn't automatically install all the apps. To proceed and install the rest of the apps, go to store.nethunter.com, download and install the Nethunter Store app.
  14. Search and Install:
  • NetHunter
  • NetHunter Terminal
  • USB Keyboard
  • NetHunter KeX
  1. Open the NetHunter App πŸ‘’ ≑ πŸ‘’ Kali Chroot Manager; and finally press 'START KALI CHROOT'
  2. You are done !

Troubleshooting:

I really recomend you to take a look at these steps aswell because chances are that you will probably fall into these problems too.

apt-get update KEYEXPIRED:

Fix: Open NetHunter Terminal πŸ‘’ Select: Kali πŸ‘’ Run: wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add

KeX Manager not properly starting the server:

Fix: Open NetHunter Terminal πŸ‘’ Select: Kali πŸ‘’ Run: apt-get update && apt-get full-upgrade -y

DeAuth πŸ‘’ 'SCAN NETWORKS' not showing any output + Possibly other modules not working:

Fix: Download the latest 'nh_files' folder from https://gitlab.com/kalilinux/nethunter/apps/kali-nethunter-app/-/tree/master/assets/nh_files

πŸ‘’ Open your desired file explorer πŸ‘’ Internal Storage πŸ‘’ Replace the 'nh_files' folder with the one you downloaded and extracted from the website.
* For extracting .zip and .rar files you can install 'RAR' app from Google Play Store

NetHunter App πŸ‘’ DuckHunter HID not converting STRING's:

Fix: Unfortunately, as of 01/04/2021, the NetHunter App's DuckHunter HID Converter does not convert STRING's into shell scripts that can be run. Because of this I've made two repositories to attempt to fix this.
I recomend you use this one FawkesOficial/duckhunter wich is a fork of the original DuckHunter repo by @byt3bl33d3r
* Run it from the Kali shell!

Recovery Choice and a short story on a problem I had while switching ROMs on Redmi Note 4:

A while ago I tried installing Nethunter for the first time but was unsuccessful.
Back then, when there was no custom Kernel for mido, the easiest method that I found was a video on YouTube whose only instalation steps where: Flash Lazyflasher πŸ‘’ Flash a modified Lineage OS 14.1 ROM πŸ‘’ Flash SuperSU and that was it.
While the root was working fine, the external wifi card and hid support was not.
So I tried other methods and along many other changes that I made back then, for some reason I messed up my /persist partition wich made me loose my Wifi, Bluetooth and Fingerprint features. A clear sign that this might have happend to you is: if you go to your android settings and lookup your macaddress, it should be something like: "02:00:00:00:00:00".
To fix this, I installed OrangeFox Recovery, wich by the time I'm writing this, was the only recovery that supported flashing a custom persist.img to then fix /persist.

Downloads:

If any of these links gets outdated, and you can't find them anywhere else, and you really want these specific files, I might still have a copy of them saved arround. In wich case, open an Issue report here or contact me trough Twitter(@FawkesOficial)

About

My Nethunter Build guide for Redmi Note 4 (mido)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published