Kali Nethunter for Redmi 4x - Xiaomi Redmi 4X Guides, News, & Discussion

Hi,
This is my first time posting anything useful on XDA .
Anyways, I ported nethunter for our lovely device Santoni by using clarity kernel (non-treble) as base and patching it to support different USB WiFi cards and USB HID for rubber ducky attacks.
As far as I have tested it everything *should* work.
Installation instructions ->
1. Be on a non treble Oreo Rom. At the time of writing this, I am using Dirty Unicorns.
2. Have at least 1 gig of free space.
3. Flash the provided zip.
4. Run the nethunter app.
*Note* if you didn't get the nethunter app along with others, extract the zip and install them manually.
Credits :-
1. rainforce279 (clarity kernel)
2. Me, my ****ty laptop and not knowing jack **** of what I was doing.
3. The nethunter porting guide on github.
4. Peyla for his HID patch
Link :
https://drive.google.com/file/d/13YoKOxjFDlfHTzPWMyrkt0m4zfDHbzip/view?usp=drivesdk
Link for HID patch :
https://github.com/pelya/android-ke...eric-kernel-version/generic_kernel_3.18.patch
***UPDATE***
There was an error involving the external wifi card, not being able to be detected as a wireless extension because I forgot to enable cfg80211 wireless extensions compatibility.
So, flash the following after you flash the above zip
https://drive.google.com/file/d/1BYmXYbB2ZLAEJELVWly3osvkDI1ACAuw/view?usp=sharing
*************************************

Good work bro

Nice work (Y)
Sent from my Redmi 4X using Tapatalk

vatsal uppal said:
Link for HID patch :
https://github.com/pelya/android-ke...eric-kernel-version/generic_kernel_3.18.patch
Click to expand...
Click to collapse
hi
what is this file " HID patch " and how to install it?
my phone is redmi 4x santoni unlocked bootloader and root !

M_hack! said:
hi
what is this file " HID patch " and how to install it?
my phone is redmi 4x santoni unlocked bootloader and root !
Click to expand...
Click to collapse
Hi,
The HID patch is meant for developers wanting to implement the HID functionality in their own kernel. What HID basically is, it allows your mobile to function as a keyboard and mouse when attatched to a computer through a USB cable although you need a companion app provided in the nethunter zip I uploaded.
Please, before flashing nethunter consider taking a backup as you might want to go back.
Anyways, to flash this mod (this is not a ROM, Kali nethunter is installed on top of a ROM) :-
1. Install an Oreo ROM (non treble)
2. Then flash the provided zip ( both Google drive links, first the larger one then the smaller one )
If you don't know what nethunter is kindly google it or refer to the link below :-
https://www.google.co.in/amp/s/arst...id-device-into-hacker-swiss-army-knife/?amp=1

M_hack! said:
hi
what is this file " HID patch " and how to install it?
my phone is redmi 4x santoni unlocked bootloader and root !
Click to expand...
Click to collapse
Keep in mind that this won't work on MiUi.
Again,
First flash :-
1. https://drive.google.com/file/d/13YoKOxjFDlfHTzPWMyrkt0m4zfDHbzip/view
Then
2. https://drive.google.com/file/d/1BYmXYbB2ZLAEJELVWly3osvkDI1ACAuw/view

Where to download Oreo Rom for Redmi 4X
What to download Oreo Rom for Redmi 4X?

vatsal uppal said:
Keep in mind that this won't work on MiUi.
Click to expand...
Click to collapse

mininvit said:
What to download Oreo Rom for Redmi 4X?
Click to expand...
Click to collapse
Hi,
Kindly refer to the development section of XDA ->
https://forum.xda-developers.com/xiaomi-redmi-4x/development
Although, I do not recommend doing any changes to your device if you don't know what this mod does or what a ROM is.

vatsal uppal said:
Hi,
Kindly refer to the development section of XDA ->
https://forum.xda-developers.com/xiaomi-redmi-4x/development
Although, I do not recommend doing any changes to your device if you don't know what this mod does or what a ROM is.
Click to expand...
Click to collapse
I installed the "pixel experience", twrp installed the nethunter, rebooted the phone, but the "nethunter" application did not appear in the application list. What to do? I tried to install many Oreo firmware, the same problem

mininvit said:
I installed the "pixel experience", twrp installed the nethunter, rebooted the phone, but the "nethunter" application did not appear in the application list. What to do? I tried to install many Oreo firmware, the same problem
Click to expand...
Click to collapse
Extract the nethunter zip (the bigger one) and you'll find apps there, you will have to install them manually

vatsal uppal said:
Extract the nethunter zip (the bigger one) and you'll find apps there, you will have to install them manually
Click to expand...
Click to collapse
I first need to install through twrp nethunter.zip, and then still separately from it apk-files?

mininvit said:
I installed the "pixel experience", twrp installed the nethunter, rebooted the phone, but the "nethunter" application did not appear in the application list. What to do? I tried to install many Oreo firmware, the same problem
Click to expand...
Click to collapse
mininvit said:
I first need to install through twrp nethunter.zip, and then still separately from it apk-files?
Click to expand...
Click to collapse
Yes, somehow the nethunter zip file failed to install the provided apps which happened in my case too. So, all you need to do is install nethunter zip, extract it using some explorer like es explorer and install the apps you'll find in the extracted zip

doesn't work monitor mode
help me... monitor mode doesn't work... i have connected wireless card but it doesn't show

Hello,could you tell me how to compile the kernel?I have try to do that but failed

ashu_tosh_m said:
help me... monitor mode doesn't work... i have connected wireless card but it doesn't show
Click to expand...
Click to collapse
Open nethunter terminal and type
airmon-ng start wlan1

Where is Root??
vatsal uppal said:
Link :
https://drive.google.com/file/d/13YoKOxjFDlfHTzPWMyrkt0m4zfDHbzip/view?usp=drivesdk
Click to expand...
Click to collapse
I can find ROOT Package (SuperSU/Magisk) inside of other Kali NetHunter (Official/Ported)..........But I can't find any of the ROOT Package provided by default inside of Kali NetHunter:crying:
So my question is : Do I have to obtain Root manually???....if yes:laugh::laugh: then Which ROOT (SuperSU/Magisk/Other) & Which version is Best for Kali NetHunter????????
Thanks in Advance

Kernel
how do you rebuild ur kernel that support nethunter, would u share ur experiences,
i would rebuild kernel from simple kernel that support fast charge without dropping like clarity

Mainak007 said:
I can find ROOT Package (SuperSU/Magisk) inside of other Kali NetHunter (Official/Ported)..........But I can't find any of the ROOT Package provided by default inside of Kali NetHunter:crying:
So my question is : Do I have to obtain Root manually???....if yes:laugh::laugh: then Which ROOT (SuperSU/Magisk/Other) & Which version is Best for Kali NetHunter????????
Thanks in Advance
Click to expand...
Click to collapse
I suggest you use magisk

vatsal uppal said:
I suggest you use magisk
Click to expand...
Click to collapse
Version?

Related

[REQUEST] Sony Framework for Magisk 19.1

the module Sony Framework has not been updated for magisk 19.1 and therefore has been removed by magisk manager, someone can update it and run it on magisk 19.1, I want to use PS4 Remote Play!
Thanks!
albysprx said:
the module Sony Framework has not been updated for magisk 19.1 and therefore has been removed by magisk manager, someone can update it and run it on magisk 19.1, I want to use PS4 Remote Play!
Thanks!
Click to expand...
Click to collapse
Same for me
I third this request. Help someone ?
Search here for "remote enabler" then look for the first 4-6 pages,there must be a working link for the necessery files
atakan1986 said:
Search here for "remote enabler" then look for the first 4-6 pages,there must be a working link for the necessery files
Click to expand...
Click to collapse
Dont work cant be flashed because cant mount /system
Try this module.
https://forum.xda-developers.com/showpost.php?p=79463199&postcount=109
fnldstntn said:
Try this module.
https://forum.xda-developers.com/showpost.php?p=79463199&postcount=109
Click to expand...
Click to collapse
Doesn't work
Sony framework v1 in magisk repo work for me.
zerlkung said:
Sony framework v1 in magisk repo work for me.
Click to expand...
Click to collapse
Of course it works, that's the module that's being discussed. Issue is that it was never updated to the new template and has now been removed from the repo.
For anyone wanting to get a hold of the files it can currently be found in the Modules grave: https://github.com/Magisk-Modules-Grave/SonyFramework
Didgeridoohan said:
Of course it works, that's the module that's being discussed. Issue is that it was never updated to the new template and has now been removed from the repo.
For anyone wanting to get a hold of the files it can currently be found in the Modules grave: https://github.com/Magisk-Modules-Grave/SonyFramework
Click to expand...
Click to collapse
Link down.
Gabaldia said:
Link down.
Click to expand...
Click to collapse
Yes. The repo grave has been cleared. Anyone wanting to keep working on this will need to find the files somewhere else.
I found this repo in github "corejarpatch/SonyFramework" (I can't post links yet) but when I try to install it, it says "Magisk is not activated".
Hope that someone can make it work
pedriterman said:
I found this repo in github "corejarpatch/SonyFramework" (I can't post links yet) but when I try to install it, it says "Magisk is not activated".
Hope that someone can make it work
Click to expand...
Click to collapse
I made it work. I will upload the module to github as soon as I can. It has some extras now.
pedriterman said:
I made it work. I will upload the module to github as soon as I can. It has some extras now.
Click to expand...
Click to collapse
Did you put the code in a new Magisk module template?
pedriterman said:
I made it work. I will upload the module to github as soon as I can. It has some extras now.
Click to expand...
Click to collapse
Any news on that?
pedriterman/Sony-Framework-Remaster on github. Can't post links
There you go guys. Hope that I uploaded it right.
Thx but...
Flashing via Magisk v19.1/v7.1.2 :
! This zip is not a Magisk Modul!
Flashing via TWRP 3.2.3.1:
"Invalid zip file format!"
lamahh said:
Thx but...
Flashing via Magisk v19.1/v7.1.2 :
! This zip is not a Magisk Modul!
Flashing via TWRP 3.2.3.1:
"Invalid zip file format!"
Click to expand...
Click to collapse
It works as expected.
However, you have to open the .zip and modify it slightly.
I attached a working, flashable version for 19.1 by @pedriterman. Here is a link as well.
Thank you @pedriterman !
lamahh said:
Thx but...
Flashing via Magisk v19.1/v7.1.2 :
! This zip is not a Magisk Modul!
Flashing via TWRP 3.2.3.1:
"Invalid zip file format!"
Click to expand...
Click to collapse
Your error told me exactly what the problem was - an extra folder was nested inside before the files. Had to repackage the zip. Just finished booting after installing the module. Looks like someone else posted a working version.
MonteXMat said:
It works as expected.
However, you have to open the .zip and modify it slightly.
I attached a working, flashable version for 19.1 by @pedriterman. Here is a link as well.
Thank you @pedriterman !
Click to expand...
Click to collapse
Forgot to tell that you have to unzip, take the content from the folder and zip again

Custom Rom

Is there any custom like pixel experience rom for galaxy A30?
phoe zay said:
Is there any custom like pixel experience rom for galaxy A30?
Click to expand...
Click to collapse
1.- Unlock Bootloader
2.- Root device with magisk
3.- Install root explorer
4.- Delete samsung apps (message, phone, calendar, etc, etc, etc
5.- install nova launcher and nova launcher prime
6.- install google apps in play store
7.- install google phone mod apk (XDA forums)
8.- Don´t delete samsung camera and samsung gallery. Gcam is not compatible 100% with samsung a30 device
9.- Install google wallpapers
10.- In Magisk manager install google sans font module
11.- For best sound install in magisk manager viper4android fx sound module
12.- Enjoy Samsung A30 google experience!
other: install google recorder in apk mirror
phoe zay said:
Is there any custom like pixel experience rom for galaxy A30?
Click to expand...
Click to collapse
I'm running Treble Experience GSI by phhusson on my A30GN
AOSP Android 10 fully Rooted and Twrp installed
how did you do it aosp of A30
takikatana said:
how did you do it aosp of A30
Click to expand...
Click to collapse
The process is simple.....But there are a few requirements that you need to do before hand.
1. Unlock your Bootloader
2. Patch your Boot.img using Magisk
3. Install Twrp. If compatible with your device. In my case I used "Geiti94" Twrp he provided (TWRP_A30_A305F_V3_ASH1.tar) this worked for me even though I've got a A305GN and was flashed using Odin.
4. Download GSI rom of your choice just make sure you download the right version for your phone otherwise you'll face endless bootloops. *****You can use "Treble Info.apk" ***** to find out what your phone system supports as there are 4 types
5. Boot into Twrp, Tap on Wipe then Advanced Wipe then select "Dalvik/Art Cache" System" Data" leave everything else as it is. Then swipe to Wipe.
6. Then go back to Twrps main screen and tap on Install and navigate to where you put the GSI file by Selecting Storage then Install Image this will show only GSI image files. Then select your GSI file then select which Partition to flash to.....Which is SYSTEM.... DONE.
Screenshots
My system is a Arm64 compatible with a SystemAB GSI
Does this image have any error? if so could you tell me which ones are please
Madxtaz said:
Does this image have any error? if so could you tell me which ones are please
Click to expand...
Click to collapse
I haven't experienced any sort of errors/bugs yet. Everything I use on a daily basis works, but if there are any errors/bugs they have yet to show themselves.
You have to understand that there are going to be errors/bugs in any custom firmware you flash to your phone, that's just the way it is nothing's 100% besides Stock.
I installed AOSP, it was easy. I am from Latin America and I had no problems placing the TWRP or loading the ROM, and the phone works much faster and the battery, it seems to last much longer
-Sorry for my bad English
rubenx3me said:
I installed AOSP, it was easy. I am from Latin America and I had no problems placing the TWRP or loading the ROM, and the phone works much faster and the battery, it seems to last much longer
-Sorry for my bad English
Click to expand...
Click to collapse
What AOSP GSI image did you go with? Was it already Rooted with SU?
Have you manage to resize your screen to allow your icons at the top of your screen to fiit
If you by any chance have "Phh Treble Settings" in your "Settings" then your good to go.
Yes, it is already rooted. I did it with the last one published in AOSP, published 4 days ago I think, download the version with gapps, you ride it with TWRP (it's in img) and that's it
rubenx3me said:
I installed AOSP, it was easy. I am from Latin America and I had no problems placing the TWRP or loading the ROM, and the phone works much faster and the battery, it seems to last much longer
-Sorry for my bad English
Click to expand...
Click to collapse
Hi, I'm from Latin America too. My cell phone model is the SM-A305GU and I would also like to install AOSP but I don't have enough knowledge and I don't want my cell phone to be like an unusable brick. Could you guide me to get this?
PD: Sorry for my bad English.
jays note 2 said:
What AOSP GSI image did you go with? Was it already Rooted with SU?
Have you manage to resize your screen to allow your icons at the top of your screen to fiit
If you by any chance have "Phh Treble Settings" in your "Settings" then your good to go.
Click to expand...
Click to collapse
I'm not the OP but when I tried Lineage Phh-Treble, there was an option about diameter of round corners in "Phh Treble Settings"->"Misc settings" and I set that to 20 and then the problem was fixed.
SnakePin said:
I'm not the OP but when I tried Lineage Phh-Treble, there was an option about diameter of round corners in "Phh Treble Settings"->"Misc settings" and I set that to 20 and then the problem was fixed.
Click to expand...
Click to collapse
Yep that's the settings your looking for
I have found that not all the Android 10 gsi I've used have this feature, Pixel Experience Q 28102019 being one of them.
so I've flashed this zip via TWRP to regain this ability. I know it doesn't work on all of them but its worth a try for those of you out there willing to give it a go.
I have successfully flashed the aosp 10 gsi (latest one) seems to be working really good.
The transitions seems to be little bit lagging with the stock launcher, and using other launcher totally removes the way task changer works. Which launcher are you guys using?
Can you make us tuturial please:fingers-crossed:
bobandar said:
I have successfully flashed the aosp 10 gsi (latest one) seems to be working really good.
The transitions seems to be little bit lagging with the stock launcher, and using other launcher totally removes the way task changer works. Which launcher are you guys using?
Click to expand...
Click to collapse
Please, sir, can you give us a tutorial on how to install aosp? Thank you.
takikatana said:
Can you make us tuturial please:fingers-crossed:
Click to expand...
Click to collapse
Madxtaz said:
Please, sir, can you give us a tutorial on how to install aosp? Thank you.
Click to expand...
Click to collapse
Have you guys rooted your devices?
bobandar said:
Have you guys rooted your devices?
Click to expand...
Click to collapse
I have....Fully rooted with Magisk without any problems

FDE.Ai

I tried to install the FDE.Ai module @FeraVolt post" and the console reported that the kernel does not accept the module, but the apk version says to uninstall .. what to do? I couldn't even install it and the app says the module is installed and I have to remove it. I tried to install using Magisk Manager and also via recovery ..
EvertonLinyx said:
I tried to install the FDE.Ai module @FeraVolt post" and the console reported that the kernel does not accept the module, but the apk version says to uninstall .. what to do? I couldn't even install it and the app says the module is installed and I have to remove it. I tried to install using Magisk Manager and also via recovery ..
Click to expand...
Click to collapse
That means that your kernel blocked the module. Only thing you can do is change the kernel.
Sent from my Redmi Note 8 Pro using Tapatalk
Paget96 said:
That means that your kernel blocked the module. Only thing you can do is change the kernel.
Sent from my Redmi Note 8 Pro using Tapatalk
Click to expand...
Click to collapse
I solved the problem by reinstalling the rom and installing the apk again, I will test the basic apk version anyway, thanks for your attention bro :highfive:
Paget96 said:
That means that your kernel blocked the module. Only thing you can do is change the kernel.
Sent from my Redmi Note 8 Pro using Tapatalk
Click to expand...
Click to collapse
I tried on the old Grand Prime and J7 2017, do you know which kernel I can use to not have this block of the magisk modules? I search but only find rom

Question new information regarding custom or globalrom?

I wanted to ask if there is any new information regarding a global rom or a custom rom? I would definitely be flashing it right away.
Best hope for that will be when the S version is released. According to available information it is virtually identical to the X, so the firmware might be transferable.
can't wait!
Hopefully.
I’m not sure how things will go. I would much prefer working with aosp to get a booting gsi rom personally
TBH I've got the X working so well now that I don't really see a huge need for a new ROM. If someone gets it working and shows a benefit then...
Yes, of course it works and doesn't cause any problems, but I would like only the voice assistants from Google
and android auto, all the rest is ok
Android auto is dead in the game bro'
Are there any new advances?
i suppose nothing, there is trouble with Vivo and unsecure Boootloader. Nobody seems interested by solid and friendly solution to unlock then after port a rom on this baby !
lesscro said:
i suppose nothing, there is trouble with Vivo and unsecure Boootloader. Nobody seems interested by solid and friendly solution to unlock then after port a rom on this baby !
Click to expand...
Click to collapse
that's a shame. I would really appreciate a custom rom or at least a European supported rom
A multilingual ROM (like Global) who can be really adapted to our market can be nice. Anyway X Fold S is just a small update and not a global phone market.
My magisk module for Android Auto and Google Assistant should work on vivo X Fold too.
[MIX Fold 2][MAGISK] Global ROM-ify module collection [Add translations, Google Assistant, Android Auto]
I decided to create a module sharing thread here. If Magisk is enabled, all modules will continue to work after the OTA update. (use "Install to Inactive Slot" method) If Magisk is disabled, the module also loses its effectiveness. Add official...
forum.xda-developers.com
AndroPlus said:
My magisk module for Android Auto and Google Assistant should work on vivo X Fold too.
[MIX Fold 2][MAGISK] Global ROM-ify module collection [Add translations, Google Assistant, Android Auto]
I decided to create a module sharing thread here. If Magisk is enabled, all modules will continue to work after the OTA update. (use "Install to Inactive Slot" method) If Magisk is disabled, the module also loses its effectiveness. Add official...
forum.xda-developers.com
Click to expand...
Click to collapse
I can confirm this works perfectly Google assistant works.
Haven't tried Android auto but I would be stunned if it didn't work
domineus said:
I can confirm this works perfectly Google assistant works.
Haven't tried Android auto but I would be stunned if it didn't work
Click to expand...
Click to collapse
You install Magisk ? With boot.img did you use ?
I install magisk and he ask me to choose an img...
I use magisk long time ago on custom rom, it was more easy...
I need to download official rom and extract boot.img ?
lesscro said:
You install Magisk ? With boot.img did you use ?
I install magisk and he ask me to choose an img...
I use magisk long time ago on custom rom, it was more easy...
I need to download official rom and extract boot.img ?
Click to expand...
Click to collapse
You can extract boot.img in two ways:
1. What you described
2. Use DSU Loader and pull the file out using the following commands in adb:
adb shell
su
dd if=/dev/block/by-name/boot of=/data/local/tmp/boot.img
chown shell.shell /data/local/tmp/boot.img
(After the end of adb shell)adb pull /data/local/tmp/boot.img
Click to expand...
Click to collapse
RR-99 said:
TBH I've got the X working so well now that I don't really see a huge need for a new ROM. If someone gets it working and shows a benefit then...
Click to expand...
Click to collapse
Can you share your experience with us as to what you did to get rid of Chinese and bloat sw?
domineus said:
You can extract boot.img in two ways:
1. What you described
2. Use DSU Loader and pull the file out using the following commands in adb:
Click to expand...
Click to collapse
Thx for your feedback.
Does this install will wipe all data ?
lesscro said:
Thx for your feedback.
Does this install will wipe all data ?
Click to expand...
Click to collapse
When I rooted it didn’t. When I BLU I think it did
kanf77 said:
Can you share your experience with us as to what you did to get rid of Chinese and bloat sw?
Click to expand...
Click to collapse
I haven't removed any Chinese bloatware, since I didn't find it was slowing down the phone or using too much memory. Quite happy to have it just sit there instead of risking removing too much.

[MODULE] LiveBoot - Verbose boot animation

A magisk module that enables unix-style boot animation for Android devices - Magisk module of Chainfire's LiveBoot app without any app or UI
Preview:
Tested on Mi 10T Pro with PixelExperence Plus 13. Should work all AOSP based custom ROMs.
0000bootlive (original is 0000liveboot), liveboot(.apk), libdaemonize.so files are licensed under the GPLv3 by "Jorrit Chainfire Jongma".
For detailed licenses: COPYING, LICENSE
Other parts of this project are licensed under GPLv3 too.
- See Github: https://github.com/symbuzzer/livebootmagisk
- Download: https://github.com/symbuzzer/livebootmagisk/releases
Does it work with MCK ROM / Samsung devices? I'm very interested in this.
sergii19 said:
Does it work with MCK ROM / Samsung devices? I'm very interested in this.
Click to expand...
Click to collapse
Try LiveBoot from Google Play Store first. If it works, you can remove it then install this
symbuzzer said:
Try LiveBoot from Google Play Store first. If it works, you can remove it then install this
Click to expand...
Click to collapse
What about stock based? 8.0 oreo here. Tried this one and it didnt work for me. Lg v20
Mysticblaze347 said:
What about stock based? 8.0 oreo here. Tried this one and it didnt work for me. Lg v20
Click to expand...
Click to collapse
You should try

Categories

Resources