[Samsung Galaxy S9+ Guides, News, & Discussion] mylesgoose:
From unpacking to running NetHunter in 20steps:​

Flash stock lineageos 20.0 android 13 image following the instructions at lineageos website wiki.lineageos.org/devices/star2lte download.lineageos.org/devices/star2lte/builds I used lineage-20.0-20231229-nightly-star2lte-signed.zip mirrorbits.lineageos.org/full/star2lte/20231229/lineage-20.0-20231229-nightly-star2lte-signed

SHA256 d167e0feeb356614b8c7b9ed23cbfaf5ce081a3b89783bbfe0d6419d84aadff7 flash also the boot.img and recovery pertaining to that build.

login to the device and make a call and send a message and use the wifi and Bluetooth. Apparently it initializes it. You can install the bloatware from google if you like also as per the instructions on their website.

power of the device and hold the up volume button and the bixby button lower left, and the power button. this boots to recovery. select advanced mount/unmount system. then select apply update.

github.com/topjohnwu/Magisk/releases or magisk.zip

nethunter-20240104_033206-star2lte-los-thirteen-kalifs-full.zip

or if you wish to build the package yourself here is the files for the nethunter installer (star2lte-los.zip) you can also do it from the source code on the github site referred to in the zip file documents or the lineagos documents above.

gitlab.com/mylesgoose/kali-docs/-/blob/master/nethunter/installing-nethunter-on-the-samsung-star2lte-s9plus/star2lte-los.zip

if you decided to build the image yourself you have to put the devices.cfg and kernels.yml files into the correct folders and the modules folder and image remain in the star2lte-los folder from the extracted.zip file shown above, which goes inside the thirteen folder for the NetHunter installer.

This particular image because we have modified the config file it will display an error message when you boot the device. just press okay. It is possible to fix this error message by spoofing the .config file as per this commit. yet i have not done that yet. github.com/yesimxev/android_kernel

gist.github.com/FreddieOliveira/errormessage you need two files on the device the nethunter-20240104_033206-star2lte-los-thirteen-kalifs-full.zip or whatever your one is called and the magisk.apk rename the magisk.apk to magisk.zip,dont use the star2lte-los.zip attached that is for building the kalinethunter.zip with the application available on this site to build yourself. press apply update and select from disk if you have it on your sd card etc or downloaded to internal storage. select the magisk.zip and it will say there is an error with the package its not signed. proceed anyway. reboot the device and then install the magisk.apk login to magisk.apk and you can see it is showing as root. it will ask you do you want to allow it to continue the setup process. select yes. once its rebooted open magisk again. click install it will say, method, option one select and patch a file or option two direct install recommended. select this option direct install. then lets go. follow any onscreen prompts and reboot if necessary.

Run Magisk Manager to finish the rooting process

reboot into recovery menu as above. select advanced and mount the system partition again.

select apply update and Install the NetHunter zip. this part of the process will fail it will only install the kernel. this is what makes it so that we can access functions that where previously blocked in the lienage os stock kernel. once you have flashed the kali kernel. it takes about 15 min. reboot your device. nothing will look different. except it will say userdebug or kali as the version of the kernel in the info about phone.and likely display that error message we spoke about earlier.

ensure automatic updates for device are turned of by enabling developer options, clicking the about phone/ build number 7 times. this is also a convenient way to use adb to copy files to the sdcard. or you can just download them from the links here actually on the device.

open magisk manager. select modules select install from storage and find the build of nethunter downloaded above form google drive or made yourself.

this process takes 25 min or so just be patient.

full nethunter will be installed. excluding the boot logo and the background image. you can create them once booted. with the nethunter app.

reboot and you will see the apps.

open the nethunter store app and update the terminal and nethunter app. it does not work otherwise.

if you run apt-get dist-update it changes the line in passwd file for _apt and apt-get update will no longer work. you have to reset it like so

open kali terminal

type nano /etc/passwd

find the line starting with _apt

now edit that line to _apt:x:0:65534::/nonexistent:/bin/false

try apt-get update again.

if you try to use the kex manager setup local server for me it failed. it installs it yet does not create a user passwd. so we have to create one manually. open terminal and type vncpasswd enter a new passwd twice then type vncserver this will start the server.

go back to the kex manager down the bottom of the page it has a refresh button click it and it should say server started. click open kex client and type your passwd click enable audio above prior if you like.

Current status​

HID attacks this is enabled in the kernel. you will have to work out how to make the drivers installed.

wifi injection. all the drivers are installed, this is the exynos device so we will have to modify the drivers etc now booted into kali.

Docker for android is enabled in this the kernel.

Also thank your or your help -yesimxev