request for android p gsi - Treble-Enabled Device Guides, News, & Discussion

request for android p gsi image build on android p dp4 or which ever dp sources are available for non pixel phones.

hope some developer start to work on this project soon.

Closed in 3, 2, 1...

Any update related to android p gsi...??

It is not possible since android P source code is not public yet.
cf: https://android.googlesource.com/platform/manifest/+refs

@sharky172 Thanks for posting it that way and with a link. I was actually wondering why I couldn't find any GSI info for P. Not asking for ETA, just curious on average when do the next release's sources show up online, when they officially announce the version or a little before?

Not yet, Android P sources aren't public, so we need to wait little more.

Good news for us, i found chat on telegram group. Mr. Erfan Abdi (who invented capire le treble/CLT) said that android p gsi is under development. For additional info, he had been release android p port developer preview 4 for motorola moto z.
He said p gsi is coming soon
Here's the proof
https://forum.xda-developers.com/moto-z/development/rom-android-p-developer-preview-t3786645
And i also screenshot his statement

yogasetyaadi said:
Good news for us, i found chat on telegram group. Mr. Erfan Abdi
Click to expand...
Click to collapse
can you share a link to the group?

Android-p-preview-4 manifest https://android.googlesource.com/platform/manifest/+/android-p-preview-4

DarkRisen said:
can you share a link to the group?
Click to expand...
Click to collapse
https://t.me/phhtreble
Aosp phusson group

ya i posted this thread after reading post on xda that a dev has tested android p gsi on some motorola phone.
if there is any gsi to test please post it in this thread. i mean for all phones

GSI ANDROID P PREVIEW DP3 ??
https://androidfilehost.com/?w=files&flid=275999

is this for arm 64 a only device
and what are instructions to flash as i see post gsi zips.
gello0 said:
GSI ANDROID P PREVIEW DP3 ??
https://androidfilehost.com/?w=files&flid=275999
Click to expand...
Click to collapse

gello0 said:
GSI ANDROID P PREVIEW DP3 ??
https://androidfilehost.com/?w=files&flid=275999
Click to expand...
Click to collapse
Where you get that link??

P DP3 semi-GSI - EXPERIMENTAL AND MOST LIKELY BROKEN
https://androidfilehost.com/?w=files&flid=275999
Requirements :
1) Qcom fully treblized device with 8.1 vendor
How to flash :
1) extract and flash P-DP3-sGSI.img.zip to system
2) mount vendor in TWRP
3) flash POST-sGSI zips from 1 to 3 in priority
4) reboot
if didn't worked post your logs(logcat and console-ramoops) here i'll come for help : @psemiGSI
Enable adb using this command in TWRP :
Linux/mac : cd ~/.android && adb push adbkey.pub /data/misc/adb/adb_keys
Win :
cd C:\Users\<userName>\.android\
adb push adbkey.pub /data/misc/adb/adb_keys
And take logs

godraxe said:
P DP3 semi-GSI - EXPERIMENTAL AND MOST LIKELY BROKEN
https://androidfilehost.com/?w=files&flid=275999
Requirements :
1) Qcom fully treblized device with 8.1 vendor
How to flash :
1) extract and flash P-DP3-sGSI.img.zip to system
2) mount vendor in TWRP
3) flash POST-sGSI zips from 1 to 3 in priority
4) reboot
if didn't worked post your logs(logcat and console-ramoops) here i'll come for help : @psemiGSI
Enable adb using this command in TWRP :
Linux/mac : cd ~/.android && adb push adbkey.pub /data/misc/adb/adb_keys
Win :
cd C:\Users\<userName>\.android\
adb push adbkey.pub /data/misc/adb/adb_keys
And take logs
Click to expand...
Click to collapse
You think this will work coming from open beta 13 in oneplus 5? And I have to flash all zips in twrp?

what is the partition type. is it a or a/b or ab

Is it working on redmi note 5 pro?

godraxe said:
P DP3 semi-GSI - EXPERIMENTAL AND MOST LIKELY BROKEN
https://androidfilehost.com/?w=files&flid=275999
Requirements :
1) Qcom fully treblized device with 8.1 vendor
How to flash :
1) extract and flash P-DP3-sGSI.img.zip to system
2) mount vendor in TWRP
3) flash POST-sGSI zips from 1 to 3 in priority
4) reboot
if didn't worked post your logs(logcat and console-ramoops) here i'll come for help : @psemiGSI
Enable adb using this command in TWRP :
Linux/mac : cd ~/.android && adb push adbkey.pub /data/misc/adb/adb_keys
Win :
cd C:\Users\<userName>\.android\
adb push adbkey.pub /data/misc/adb/adb_keys
And take logs
Click to expand...
Click to collapse
I flashed the image, then the 3 zips and when I reboot system it goes to fastboot mode.
Oneplus 5

Related

[tool][mac & linux] rom installation script

ROM INSTALLATION SCRIPT
Code:
[LIST]
[*]your warranty will be voided
[*]YOU NEED A UNLOCKED BOOTLOADER
[*]Be smart, read the instructions and the read me
[/LIST]
INTRODUCTION
This will allow you to easily install roms on you phone, good for beginners who are not very experienced.
These scripts are in the form of (.sh) so they will only work on mac and linux at the time I will release (.bat) windows scripts as well.
Click to expand...
Click to collapse
FEATURES
fast and easy to use
works on devices with and without fastboot
can use root to isntall recovery if there is no fastboot
use openrecovery script to isntall, wipe and backup current rom
is on GITHUB
Click to expand...
Click to collapse
INSTRUCTIONS
download as a zip
extract
open a command line at folder or cd to it
install devices drivers
get ADB working
run
Code:
chmod +x install.sh
or
Code:
chmod +x install_no_fastboot.sh
run
Code:
./install.sh
or
Code:
./install_no_fastboot.sh
wait for process to complete
ENJOY
Click to expand...
Click to collapse
CHANGELOG
Code:
Fixed the scripts so that they work far more reliably. It also fixes that root access bug for pushing the OPENRECOVERYSCRIPT
OLDER RELEASES:
Initial release
Click to expand...
Click to collapse
DOWNLOADS
source code
FAQ
Q. Do I need root if I have fastboot
A. No (use install.sh)
Q. Does this flash safetrap
A. NOOO!!!, IF you have a locked bootloader do NOT use this it will void your warranty, BRICK your phone or worse
Q. DO I "need" to rename my recovery
A. YES
Q. What custom recoveries does this support
A. Any one that is in .img form, can flash roms, and support openrecoveryscript
XDA:DevDB Information
ROM installation script, Tool/Utility for all devices (see above for details)
Contributors
melbing
Source Code: https://github.com/Melbing/rom_installation_script
Version Information
Status: Testing
Current Stable Version: 2.0
Stable Release Date: 2014-12-24
Current Beta Version: 1.0
Created 2014-12-06
Last Updated 2014-12-28

OnePlus 5 Kali Nethunter

Hello boys & girls!
I want to port the Kali Nethunter rom to the OnePlus 5.
Because it is my first time i need some people who can port it together with me.
Offensive Security has a nice tutorial on their website but its getting complicated when i come to the modify kernel part.
I really need some help with that.
More info:
offensive-security.com/kali-linux-nethunter-download
Porting info:
github.com/offensive-security/kali-nethunter/wiki/Porting-Nethunter
Sorry due the spam restrictions i cant post the links.
If you got some tips or advice on how to do it let me know! :good:
Greetings,
Stefjoe
Let me see...
EDIT: Ok. I can't help sorry
_MartyMan_ said:
Let me see...
EDIT: Ok. I can't help sorry
Click to expand...
Click to collapse
Damn.... too bad
Any luck with this? Having a hard time myself.
I've looked at it myself and it seems complicated to me because I've never done that before but maybe anyone here is able to do it...
stefjoe said:
Damn.... too bad
Click to expand...
Click to collapse
Any progress?
The only problem to port nethunter to the OP5 is to add HID and CDROM support to the kernel but in order to do so, those patches have to be ported to kernel version 4.4+ ...
Otherwise packet injection over usb works fine on OOS.
I'm trying to compile a kernel with packet injection for RR.
Tell me if you want the kernel ... I've modded Adin's kernel (OOS) and Lightning kernel (LOS).
You will then have to install the nethunter chroot zip and you're good to go.
Arka1n said:
The only problem to port nethunter to the OP5 is to add HID and CDROM support to the kernel but in order to do so, those patches have to be ported to kernel version 4.4+ ...
Otherwise packet injection over usb works fine on OOS.
I'm trying to compile a kernel with packet injection for RR.
Click to expand...
Click to collapse
I think you can find the patch for HID and CDROM support here:
https://forum.xda-developers.com/showthread.php?t=2196707
https://github.com/CyanogenMod/andr...mmit/46bd47757a9f34c1d95dd2620414893212fb0526
FYI I don't know anything about patching kernels so i might be wrong
Well this leads to the hid patch :
github.com/pelya/android-keyboard-gadget/blob/master/kernel-3.4.patch
And this to something about the CDROM patch for the OP3 :
github.com/binkybear/androiddevs_kernel_oneplus_msm8996/commit/fc6f4b6b5f70509fbc5d583e8315f88119acb3c2
Not yet allowed to post links...
Anyway i need some help from other devs to port those to 4.4 :silly:...
Arka1n,
Hey,
I saw the post regarding putting nethuntr on the 1+ 5.
Are you willing to give me the needed kernel too plz?
Thanks
Jazzzzz
Arka1n said:
Tell me if you want the kernel ... I've modded Adin's kernel (OOS) and Lightning kernel (LOS).
You will then have to install the nethunter chroot zip and you're good to go.
Click to expand...
Click to collapse
Most definitely would like it! Message me
Arka1n said:
Tell me if you want the kernel ... I've modded Adin's kernel (OOS) and Lightning kernel (LOS).
You will then have to install the nethunter chroot zip and you're good to go.
Click to expand...
Click to collapse
I definitely would like it too !!!
Crappy upload rate so it may take some time...
[WOOT]
Here : https://forum.xda-developers.com/oneplus-5/development/burgerhunter-t3638810 :victory:
OnePlus5
I just got mine and want to do the same. I currently have nethunter on the original oneplus one and it works great. I am hoping it's the same process. Has anyone done it on any of the oneplus phones before? I ask because it took me at least 3 weeks every day after work playing with it. I bricked it maybe 3 times and OnePlus team remotely fixed it and finally I got it working. It wasn't easy.
If somebody has, please share your experience. I will try to pull up all of the links I used and videos I watched before I finally got nethunter to boot.
I want to do this to the oneplus 5 so I can use it for nethunter then wipe the onplus one and use it as my phone. Any help/advice is greatly appreciated. I will come back and post the info I used for the oneplus one and anything I find for the oneplus 5.
cheers
Nethunter for OnePlus 5
I found a way to "port" but not the entire kernel.
I managed to create chroot and can run Kali shell after one failed trail.
IMPORTANT : I went into bootloop(only boots into twrp) once while trying to remount /system as rw. But then I figured out SElinux must be disabled. You know what to do if you went into a bootloop, but just take a backup (nandroid backup didn't work for me)
And I also lost all of my data after I flashed stock recovery.
Everything seems to be working fine. But there is a problem with the Nethunter 3.0.
The
Code:
apt-get
does not work.
However, I pinged google.com and I get replies.
So, we need to install metapackages manually. At least for now.
What I did :
1. Download OnePlus One nethunter 3.0 ROM
2. Locate the apks (<nethunter_extracted>/data/app)
3. Install in this order :
• Nhterminal
• VNC
• Nethunter app
4. Open the Nethunter app and install the chroot
( I selected full chroot, however, you may choose minimal chroot too instead )
5. From any root explorer, we need to copy the files that are under /data/data/com.offsec.nethunter/files/scripts/*
to
/system/bin
(If you don't find the .../files/scripts, open Nethunter app and try again)
6. After copying the files to /system/bin,
There are three important files :
•bootkali
•bootkali_bash
•bootkali_login
We need to symlink these ↑
Important : we need to make the system writable first.
Run from AndroidSU shell:
Code:
#setenforce 0
Code:
#mount -o rw,remount /system
Then, linking :
Code:
ln -s /data/data/com.offsec.nethunter/files/scripts/bootkali /system/bin/bootkali
Code:
ln -s /data/data/com.offsec.nethunter/files/scripts/bootkali_bash /system/bin/bootkali_bash
Code:
ln -s /data/data/com.offsec.nethunter/files/scripts/bootkali_login /system/bin/bootkali_login
You can remount /system to read-only if you wish to.
7. Next, install BusyBox to /system/bin
Usually, it is installed to /su/xbin.
But we need to install to /system/bin too.
This step is necessary.
8. Now, the Kali shell works fine.
Try running
Code:
#bootkali
in AndroidSU shell and you should be in the Kali shell
You can also open Nhterminal app and select Kali.
9. You may install the other apks now.
Enjoy ~ !!
Unable to start monitor mode error showing pls rply
Whats the problem
---------- Post added at 02:39 AM ---------- Previous post was at 02:16 AM ----------
I m using oneplus 5 naughat 7.1 rom and kali nethunter installed.
But problem in monitor mode
Error:Newly created monitor mode interface wlan0mon is *NOT* in monitor mode.
Removing non-monitor wlan0mon interface...
WARNING: unable to start monitor mode, please run "airmon-ng check kill"
I m trying this command 'airmon-ng check kill' but same problem

[GUIDE] Run OEM GSI on Xperia X Performance

I tested some OEM GSI of Erfan, I give a list which GSI could run on our device.
Download Link
If you meet random reboot when booting, try to flash Treble files(boot.img vendor.img) again.
V2.0 is the most stable Treble version, I tested on it.
These GSI could run on V2.0 :
Flyme-Aonly-9-20190702-ErfanGSI
HydrogenOS-Aonly-9-20190614-ErfanGSI
MIUI-Aonly-9-20190529-ErfanGSI
OxygenOS-Aonly-9-20190701-ErfanGSI
ZUI-Aonly-9-20190617-ErfanGSI
How to flash​
1.Flash treble files.(See Readme.txt)
2. Flash GSI.
3 Make sure your data partition is not encrypted.(Format in twrp)
4.Get adb permission.
5 Flash treble TWRP and flash Magisk.
6. Reboot.
How to get ADB permission​1. Our treble TWRP V2 doesn't support MTP, so we need V1 to access Data partition.
2. After you flashed and boot into treble TWRP V1, You need to make sure your data partition is not encrypted. So you need to format data partition.
3. Enable adb before boot using this command in TWRP:
Linux/mac :
Code:
adb push ~/.android/adbkey.pub /data/misc/adb/adb_keys
Win :
Code:
adb push C:\Users\[COLOR="Red"]<userName>[/COLOR]\.android\adbkey.pub /data/misc/adb/adb_keys
4.Reboot, you will get adb permission.
How to kill[ Notch/B]​
1. Move fxxknotchv6.apk to /system/product/overlay
2. Set permission 0664
3.Reboot
Attention​1. HydrogenOS-Aonly-9-20190614-ErfanGSI will failed at Setup guide. You can run these commands to disable Setup guide.
Code:
adb shell
settings put global device_provisioned 1
settings put secure user_setup_complete 1
reboot
You can go into desktop. Then delete SetupWizard.apk.
2. MIUI will cost a long time on booting. If you can't enter desktop, try to showdown with power + vol up, then boot again.
3. OxygenOS need to flash OOSHDRfixAonly after flashing system image.
You can download it from Here.
@Sjll so do you think it's OK for daily use? thx.
f870103 said:
@Sjll so do you think it's OK for daily use? thx.
Click to expand...
Click to collapse
No,there still are some hugs.
Anyone installed one UI in our treble build? Does it work?

Waiting a nethunter kernel

I believe someone will build a nethunter kernel for 8 and 8 pro.
Actually I found one on github and I tried to build a kernel to flash , I can't boot my phone. MY system is H2OS 10.5.12, oos and h2os can use same kernel. Oh, if anyone try to make a kernel, dont for android 11, the system has so many limits and bad experients.
Wanted to ask the same. I want to buy a new phone that works with Kali nethunter and I can't decide to buy the OnePlus 7 or the 8. Since there is an official rom for the OnePlus 7, and for the 8 there is only a kernel on GitHub that no one is able to make it work. I'm afraid to buy the OnePlus 7 and when I buy it then they make a nethunter rom for OnePlus 8 :laugh:
Figured i would chime in on this as i was able to get it up and running on my OP8P
i downgraded to 10.5.12 by flashing via fastboot from here...
Guide: Restore OnePlus 8/8 Pro Back to Stock OxygenOS Software
Guide to restore OnePlus 8/8 Pro back to the stock OxygenOS software after rooting, installing custom ROMs, etc by flashing the factory image (fastboot ROM).
www.thecustomdroid.com
Then go through the setup and root the device with magisk
once it was back to a "stock" rooted android 10 OS i installed the generic arm kalifs image via TWRP
booted back up and installed the nethunter store app apk, then nethunter apk.
NetHunter | Kali NetHunter App Store - Android App Repository for Penetraton Testing and Forensics
© 2010-2019 Kali Linux, F-Droid, and Contributors
store.nethunter.com
go to nethunter store first and install the nethunter terminal. once installed go back to the store and check for updates.
after the check open nethunter and it should do some more updates and you should be able to start the chroot
I have hid (rucky) and monitor mode working for internal wireless
BUT!
i did the OTA update to android 11 and rucky disappeared and sudo apt-get update no longer worked
but i found this post here
Temporary failure resolving 'http.kali.org' · Issue #913 · offensive-security/kali-nethunter
Device: OnePlus+ OS version Lollipop Output of cat /proc/version in adb shell or NetHunter Terminal: [email protected]:~# cat /proc/version Linux version 3.4.67-cyanogenmod-g399b32b ([email protected]) (gcc versio...
github.com
and that fixed the apt-get update.
rucky is still non operational unfortunately
markmn123 said:
Figured i would chime in on this as i was able to get it up and running on my OP8P
i downgraded to 10.5.12 by flashing via fastboot from here...
Guide: Restore OnePlus 8/8 Pro Back to Stock OxygenOS Software
Guide to restore OnePlus 8/8 Pro back to the stock OxygenOS software after rooting, installing custom ROMs, etc by flashing the factory image (fastboot ROM).
www.thecustomdroid.com
Then go through the setup and root the device with magisk
once it was back to a "stock" rooted android 10 OS i installed the generic arm kalifs image via TWRP
booted back up and installed the nethunter store app apk, then nethunter apk.
NetHunter | Kali NetHunter App Store - Android App Repository for Penetraton Testing and Forensics
© 2010-2019 Kali Linux, F-Droid, and Contributors
store.nethunter.com
go to nethunter store first and install the nethunter terminal. once installed go back to the store and check for updates.
after the check open nethunter and it should do some more updates and you should be able to start the chroot
I have hid (rucky) and monitor mode working for internal wireless
BUT!
i did the OTA update to android 11 and rucky disappeared and sudo apt-get update no longer worked
but i found this post here
Temporary failure resolving 'http.kali.org' · Issue #913 · offensive-security/kali-nethunter
Device: OnePlus+ OS version Lollipop Output of cat /proc/version in adb shell or NetHunter Terminal: [email protected]:~# cat /proc/version Linux version 3.4.67-cyanogenmod-g399b32b ([email protected]) (gcc versio...
github.com
and that fixed the apt-get update.
rucky is still non operational unfortunately
Click to expand...
Click to collapse
Thank you for documenting your experience. I attempted to install the generic Kali kalifs but the HID interface was not detected. I assume due to lack of kernel
Are there any developments in kernels for oneplus 8 pro? The following link provides a kernel builder but it is unsuccessful:
GitHub - kimocoder/nethunter_kernel_oneplus8: NetHunter kernel for OnePlus 8 / 8 Pro
NetHunter kernel for OnePlus 8 / 8 Pro. Contribute to kimocoder/nethunter_kernel_oneplus8 development by creating an account on GitHub.
github.com
Go to the nethunter app in your phone
then click USB arsenal in the hamburger menu
Click the USB function drop down and select HID
Click ADB dropdown and select disable
Finally click the "set usb function" button down below
If it works you will get a "USB function set successfully" notification
now open rucky and type away
markmn123 said:
Figured i would chime in on this as i was able to get it up and running on my OP8P
i downgraded to 10.5.12 by flashing via fastboot from here...
Guide: Restore OnePlus 8/8 Pro Back to Stock OxygenOS Software
Guide to restore OnePlus 8/8 Pro back to the stock OxygenOS software after rooting, installing custom ROMs, etc by flashing the factory image (fastboot ROM).
www.thecustomdroid.com
Then go through the setup and root the device with magisk
once it was back to a "stock" rooted android 10 OS i installed the generic arm kalifs image via TWRP
booted back up and installed the nethunter store app apk, then nethunter apk.
NetHunter | Kali NetHunter App Store - Android App Repository for Penetraton Testing and Forensics
© 2010-2019 Kali Linux, F-Droid, and Contributors
store.nethunter.com
go to nethunter store first and install the nethunter terminal. once installed go back to the store and check for updates.
after the check open nethunter and it should do some more updates and you should be able to start the chroot
I have hid (rucky) and monitor mode working for internal wireless
BUT!
i did the OTA update to android 11 and rucky disappeared and sudo apt-get update no longer worked
but i found this post here
Temporary failure resolving 'http.kali.org' · Issue #913 · offensive-security/kali-nethunter
Device: OnePlus+ OS version Lollipop Output of cat /proc/version in adb shell or NetHunter Terminal: [email protected]:~# cat /proc/version Linux version 3.4.67-cyanogenmod-g399b32b ([email protected]) (gcc versio...
github.com
and that fixed the apt-get update.
rucky is still non operational unfortunately
Click to expand...
Click to collapse
going back to the top, have you tried to run your internal WIFI card on monitor mode and perform packets injection at the same time, did you get any results back as your wifi card supports injection mode..? do u have a custom kernel works for Nethunter embedded by enabling external Wifi cards, monitor mode support, packet injection tested).?
let me pls know if u go successfully thru this before, and what is ur best android OS you always prefer to use with Nethunter..?
Invincible-Man said:
going back to the top, have you tried to run your internal WIFI card on monitor mode and perform packets injection at the same time, did you get any results back as your wifi card supports injection mode..? do u have a custom kernel works for Nethunter embedded by enabling external Wifi cards, monitor mode support, packet injection tested).?
let me pls know if u go successfully thru this before, and what is ur best android OS you always prefer to use with
Click to expand...
Click to collapse
So i have monitor mode working. I have set it up as a custom command using the following
echo "4" > /sys/module/wlan/parameters/con_mode
the above is all that needs to be typed. i also have exec mode to run in background
now to stop monitor mode you need another custom command
ip link set wlan0 down && echo "0" > /sys/module/wlan/parameters/con_mode
wifi operations will return to normal however packet injection does not work. then again i have only tested on wifite. I have not tried aireplay-ng
also im reading that installing nexmon from the nethunter store may add injection but i am weary of flashing wifi firmware since i dont know how to back up the existing in case it does not work
markmn123 said:
So i have monitor mode working. I have set it up as a custom command using the following
echo "4" > /sys/module/wlan/parameters/con_mode
the above is all that needs to be typed. i also have exec mode to run in background
now to stop monitor mode you need another custom command
ip link set wlan0 down && echo "0" > /sys/module/wlan/parameters/con_mode
wifi operations will return to normal however packet injection does not work. then again i have only tested on wifite. I have not tried aireplay-ng
also im reading that installing nexmon from the nethunter store may add injection but i am weary of flashing wifi firmware since i dont know how to back up the existing in case it does not work
Click to expand...
Click to collapse
Thing like that needs some patches over the kernel build, unfortunately none of them available now to match with kernel vers 4.19, so the biggest wanted part still missing "injection packets" even the monitor mode is working by default or not.
However I did one for my OP8pro and I only was able to enable some external usb wireless which is I have"rt2800, mt7601uu" at least I can do airmon-ng and activate monitor mode to do wifi attacks successfully, but still probably we need something to be specially build for this marvelous device!!
How did you get the drivers for the rt2800 on there? ive been looking for a way to get rtl8812 & rtl8814 on mine but dont know how
markmn123 said:
How did you get the drivers for the rt2800 on there? ive been looking for a way to get rtl8812 & rtl8814 on mine but dont know how
Click to expand...
Click to collapse
They're all there by default, no big deal only you need to enable them one by one from menuconfig settings, then you ready to go with compiling kernel after!
Here's my NetHunter kernel for OnePlus 8 Pro OOS v.10 based on blu_spark kernel. You can compile it by yourself or just flash prepared archive from Releases.
GitHub - flypatriot/blu-spark_kernel_oneplus_sm8250: blu_spark NetHunter kernel for OnePlus 8/Pro
blu_spark NetHunter kernel for OnePlus 8/Pro. Contribute to flypatriot/blu-spark_kernel_oneplus_sm8250 development by creating an account on GitHub.
github.com
It is highly recommended to flash SystemRW_Script to have an ability to write to system_root.
After flashing the kernel you need to:
1. Copy 4.19.81-NetHunter folder from kernel archive (in modules/system_root/lib/modules) to android's /lib/modules.
2. Install NetHunter app and NetHunter Terminal from NetHunter Store.
3. Launch applications and give all needed permissions.
4. Install and start chroot.
5. Launch Android SU Terminal and enter commands:
mount -o remount,rw /
cp -sfr /data/data/com.offsec.nethunter/files/scripts/* /bin/
6. Copy folders from configs.zip to android's sdcard/nh_files.
7. Copy firmware files from firmware.zip to android's /etc/firmware/ and /vendor/firmware/
Hope you'll enjoy it.
flypatriot said:
Here's my NetHunter kernel for OnePlus 8 Pro OOS v.10 based on blu_spark kernel. You can compile it by yourself or just flash prepared archive from Releases.
https://github.com/flypatriot/blu-spark_kernel_oneplus_sm8250.
It is highly recommended to flash SystemRW_Script to have an ability to write to system_root.
After flashing the kernel you need to:
1. Copy 4.19.81-NetHunter folder from kernel archive (in modules/system_root/lib/modules) to android's /lib/modules.
2. Install NetHunter app and NetHunter Terminal from NetHunter Store.
3. Launch applications and give all needed permissions.
4. Install and start chroot.
5. Launch Android SU Terminal and enter commands:
mount -o remount,rw /
cp -sfr /data/data/com.offsec.nethunter/files/scripts/* /bin/
6. Copy folders from configs.zip to android's sdcard/nh_files.
7. Copy firmware files from firmware.zip to android's /etc/firmware/ and /vendor/firmware/
Hope you'll enjoy it.
Click to expand...
Click to collapse
it's better to include what features was added/enabled on this kernel..?
flypatriot said:
Here's my NetHunter kernel for OnePlus 8 Pro OOS v.10 based on blu_spark kernel. You can compile it by yourself or just flash prepared archive from Releases.
https://github.com/flypatriot/blu-spark_kernel_oneplus_sm8250.
It is highly recommended to flash SystemRW_Script to have an ability to write to system_root.
After flashing the kernel you need to:
1. Copy 4.19.81-NetHunter folder from kernel archive (in modules/system_root/lib/modules) to android's /lib/modules.
2. Install NetHunter app and NetHunter Terminal from NetHunter Store.
3. Launch applications and give all needed permissions.
4. Install and start chroot.
5. Launch Android SU Terminal and enter commands:
mount -o remount,rw /
cp -sfr /data/data/com.offsec.nethunter/files/scripts/* /bin/
6. Copy folders from configs.zip to android's sdcard/nh_files.
7. Copy firmware files from firmware.zip to android's /etc/firmware/ and /vendor/firmware/
Hope you'll enjoy it.
Click to expand...
Click to collapse
*EDIT*
Jumped ahead of myself before I found your repo. Excellent work! Cant wait to see what this thing is really capable of. Would love to mess around wit hbluetooth when it starts working
What features do you have working on the kernel?
The only thing i need to get working is Bluetooth (RFCOMM) and support for rtl8812au, rtl8188eus which work on this phone according to @kimocoder
I also have monitor mode on the internal wifi SoC but no injection. Is that possible?
flypatriot said:
Here's my NetHunter kernel for OnePlus 8 Pro OOS v.10 based on blu_spark kernel. You can compile it by yourself or just flash prepared archive from Releases.
https://github.com/flypatriot/blu-spark_kernel_oneplus_sm8250.
It is highly recommended to flash SystemRW_Script to have an ability to write to system_root.
After flashing the kernel you need to:
1. Copy 4.19.81-NetHunter folder from kernel archive (in modules/system_root/lib/modules) to android's /lib/modules.
2. Install NetHunter app and NetHunter Terminal from NetHunter Store.
3. Launch applications and give all needed permissions.
4. Install and start chroot.
5. Launch Android SU Terminal and enter commands:
mount -o remount,rw /
cp -sfr /data/data/com.offsec.nethunter/files/scripts/* /bin/
6. Copy folders from configs.zip to android's sdcard/nh_files.
7. Copy firmware files from firmware.zip to android's /etc/firmware/ and /vendor/firmware/
Hope you'll enjoy it.
Click to expand...
Click to collapse
Also source link isn't available
markmn123 said:
What features do you have working on the kernel?
The only thing i need to get working is Bluetooth (RFCOMM) and support for rtl8812au, rtl8188eus which work on this phone according to @kimocoder
I also have monitor mode on the internal wifi SoC but no injection. Is that possible?
Click to expand...
Click to collapse
Negative injection mode could not be presented on wlan0 since it's required some patches and I don't believe they're available for 4.19.81 kernel versions, however mon is already enabled by default and other features you add are enough to go ahead with nethunter.. Good job.. BTW the link for source you shared isn't available can you repost it again or you can drop the flashable.zip kernel itself let me test it on my phone first
Invincible-Man said:
it's better to include what features was added/enabled on this kernel..?
Click to expand...
Click to collapse
All features are listed in repo Readme.md
Invincible-Man said:
Also source link isn't available
Negative injection mode could not be presented on wlan0 since it's required some patches and I don't believe they're available for 4.19.81 kernel versions, however mon is already enabled by default and other features you add are enough to go ahead with nethunter.. Good job.. BTW the link for source you shared isn't available can you repost it again or you can drop the flashable.zip kernel itself let me test it on my phone first
Click to expand...
Click to collapse
Sorry for source links. It's really unavailable.
Plese try this one
GitHub - flypatriot/blu-spark_kernel_oneplus_sm8250: blu_spark NetHunter kernel for OnePlus 8/Pro
blu_spark NetHunter kernel for OnePlus 8/Pro. Contribute to flypatriot/blu-spark_kernel_oneplus_sm8250 development by creating an account on GitHub.
github.com
And you're quite right about internal wifi injection mode.
markmn123 said:
*EDIT*
Jumped ahead of myself before I found your repo. Excellent work! Cant wait to see what this thing is really capable of. Would love to mess around wit hbluetooth when it starts working
What features do you have working on the kernel?
The only thing i need to get working is Bluetooth (RFCOMM) and support for rtl8812au, rtl8188eus which work on this phone according to @kimocoder
I also have monitor mode on the internal wifi SoC but no injection. Is that possible?
Click to expand...
Click to collapse
Most of features were presented by @kimocoder. But unfortunately kernel from his repo didn't work for me. So I spent time to compile a new one.
flypatriot said:
Sorry for source links. It's really unavailable.
Plese try this one
GitHub - flypatriot/blu-spark_kernel_oneplus_sm8250: blu_spark NetHunter kernel for OnePlus 8/Pro
blu_spark NetHunter kernel for OnePlus 8/Pro. Contribute to flypatriot/blu-spark_kernel_oneplus_sm8250 development by creating an account on GitHub.
github.com
And you're quite right about internal wifi
Click to expand...
Click to collapse
flypatriot said:
btw I've done build my own nehunter kernel since last year almost based on elementalx kernel since this one has alot of good stuff in it ex. battery safer, gpu and cpu optimizations tho.. Can you also send me a flashable img or zip file to try this one as well..?
Click to expand...
Click to collapse
Check this one.
And can you share your kernel version just for testing.
flypatriot said:
Check this one.
And can you share your kernel version just for testing.
Click to expand...
Click to collapse
Currently im on OS10 kernel version 4.19.81
Invincible-Man said:
Currently im on OS10 kernel version 4.19.81
Click to expand...
Click to collapse
Mine is the same cause we don't have a normal working twrp for OOS 11.

How to root OxygenOS 12?

Hello there, I've never rooted a phone before but would love to try it with Android 12 finally coming out as stable on the OnePlus 8 Pro. So as a complete noob, can anyone walk me through it, or does anyone have a handy thread that takes me through all of it? Thank you!
Same method with OOS11 (other thread), u need full OTA OOS 12 to detached the boot.img and patch it with magisk.
- Or easier just on OOS11 rooted => update to OSS 12 (after install finished, dont reboot, go to magisk select install to inactive slot, now reboot)
dangtoi1993 said:
Same method with OOS11 (other thread), u need full OTA OOS 12 to detached the boot.img and patch it with magisk.
- Or easier just on OOS11 rooted => update to OSS 12 (after install finished, dont reboot, go to magisk select install to inactive slot, now reboot)
Click to expand...
Click to collapse
Thank you! Although as I said I'm very new So if you could explain in a biiiit more noob friendly words, that would be appreciated!
andylmfao said:
Thank you! Although as I said I'm very new So if you could explain in a biiiit more noob friendly words, that would be appreciated!
Click to expand...
Click to collapse
As i know, there is still no downloadable full OTA file for stable OOS 12,
then root method is root at OOS 11 then update after.
to do that, imo, u need to find read and research some old thread to know about that phone before.
its easier than someone will write here for you.
dangtoi1993 said:
As i know, there is still no downloadable full OTA file for stable OOS 12,
then root method is root at OOS 11 then update after.
to do that, imo, u need to find read and research some old thread to know about that phone before.
its easier than someone will write here for you.
Click to expand...
Click to collapse
Ah okay, thank you! Do you know how long it usually takes for an OTA file to come out? Or, if you could, help me through going back to OOS11, rooting it, and then updating to OOS12 and keeping root?
andylmfao said:
Ah okay, thank you! Do you know how long it usually takes for an OTA file to come out? Or, if you could, help me through going back to OOS11, rooting it, and then updating to OOS12 and keeping root?
Click to expand...
Click to collapse
I posted the patched boot img from latest OO12 Ota to another thread.
Flash it via fastboot and your are good.
BootIMG-Magisk24.3_IN2025_11_C.11
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
xtcislove said:
I posted the patched boot img from latest OO12 Ota to another thread.
Flash it via fastboot and your are good.
BootIMG-Magisk24.3_IN2025_11_C.11
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
Click to expand...
Click to collapse
Oh wow, thank you! How do i flash it via fastboot?
andylmfao said:
Oh wow, thank you! How do i flash it via fastboot?
Click to expand...
Click to collapse
I guess you already setup adb/fastboot on your pc. If not google it.
-connect phone to the pc and activate usb debugging in your phones developer settings(unlock developer settings by tapping 5 times about phone)
-run a windows shell in the folder where you setup adb and fastboot.exe
-type the following in shell
adb reboot bootloader
Your phone will boot into the bootloader
type:
fastboot flash boot BootIMG-Magisk24.3_IN2025_11_C.11.img
xtcislove said:
I guess you already setup adb/fastboot on your pc. If not google it.
-connect phone to the pc and activate usb debugging in your phones developer settings(unlock developer settings by tapping 5 times about phone)
-run a windows shell in the folder where you setup adb and fastboot.exe
-type the following in shell
adb reboot bootloader
Your phone will boot into the bootloader
type:
fastboot flash boot BootIMG-Magisk24.3_IN2025_11_C.11.img
Click to expand...
Click to collapse
And that's just it? Wow! Thank you!
Edit- It just say "Waiting for the device in the Shell. What do I do? And it doesn't show up with "fastboot devices" It also says there's no driver under windows device manager.
edit 2 - nvm I figured it out, turns out I hadn't installed the USB drivers
andylmfao said:
And that's just it? Wow! Thank you!
Edit- It just say "Waiting for the device in the Shell. What do I do? And it doesn't show up with "fastboot devices" It also says there's no driver under windows device manager.
edit 2 - nvm I figured it out, turns out I hadn't installed the USB drivers
Click to expand...
Click to collapse
I hope it works for you now. Have fun.
Hi, will this boot.img work for 11 C.16? If not, do you know where i can get it? Thanks
paq1170 said:
Hi, will this boot.img work for 11 C.16? If not, do you know where i can get it? Thanks
Click to expand...
Click to collapse
IDk but i installed C.16 lately and have the patched image on my pc.
boot_11.C16
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
Extracted from OnePlus8ProOxygen_11_C.16_15.E.16_OTA_1036_all_2204222258_57eced36 and patched with Magisk24.3.
I'm guessing that it's not a good idea to OTA root from oos11 to 12?
omega552003 said:
I'm guessing that it's not a good idea to OTA root from oos11 to 12?
Click to expand...
Click to collapse
What do you mean? To preserve root with the inactive slot method within magisk?
I root my device with flashing a patched boot img.
xtcislove said:
What do you mean? To preserve root with the inactive slot method within magisk?
I root my device with flashing a patched boot img.
Click to expand...
Click to collapse
Well that how yo'd normally do it, but for some reason when you do that on the OOS12 upgrade its get really weird.
xtcislove said:
IDk but i installed C.16 lately and have the patched image on my pc.
boot_11.C16
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
Extracted from OnePlus8ProOxygen_11_C.16_15.E.16_OTA_1036_all_2204222258_57eced36 and patched with Magisk24.3.
Click to expand...
Click to collapse
Do you have C.20 version?
gzyms said:
Do you have C.20 version?
Click to expand...
Click to collapse
No.
Simply download the Prebuild binaries from here.
[TOOL] A QUICK Android OTA payload dumper
Made with Go. By utilizing goroutines, this can extract img files from (full) OTA payload.bin really quickly. See how fast this is: https://i.imgur.com/adpijqf Source Code: https://github.com/ssut/payload-dumper-go Prebuilt binaries...
forum.xda-developers.com
Edit: That is the payload dumper im using.
(ROOT) Android 11 / Latest stock and patched img's / payload dumper / magisk_patched guides
Hi all, Have seen a lot of requests for patched boot images on these threads so thought i'd share a guide on how to get it yourself as well as all the files required, plus the patched boot.img if you just want to go ahead and boot/flash it...
forum.xda-developers.com
6.58 MB folder on MEGA
4 files and 3 subfolders
mega.nz
And download the C.20 update from here.
[OnePlus 8 Pro][ROM][OTA][Oxygen OS] Repo of Oxygen OS Builds
As OnePlus doesn't always provide download links for all of their OxygenOS ROMs & OTA update zips, we've created an index to put the links in one post so that they're easy to find. Note: This is not a support thread for issues you may have with...
forum.xda-developers.com
Use payload dumper to extract the boot image and copy it to yout device
Install Magisk apk on your device (does not matter if it has root or not)
patch the boot image, copy the patched image to your pc and you have a patched boot image for C.20.
xtcislove said:
No.
Simply download the Prebuild binaries from here.
[TOOL] A QUICK Android OTA payload dumper
Made with Go. By utilizing goroutines, this can extract img files from (full) OTA payload.bin really quickly. See how fast this is: https://i.imgur.com/adpijqf Source Code: https://github.com/ssut/payload-dumper-go Prebuilt binaries...
forum.xda-developers.com
And download the C.20 update from here.
[OnePlus 8 Pro][ROM][OTA][Oxygen OS] Repo of Oxygen OS Builds
As OnePlus doesn't always provide download links for all of their OxygenOS ROMs & OTA update zips, we've created an index to put the links in one post so that they're easy to find. Note: This is not a support thread for issues you may have with...
forum.xda-developers.com
Use payload dumper to extract the boot image and copy it to yout device
Install Magisk apk on your device (does not matter if it has root or not)
patch the boot image, copy the patched image to your pc and you have a patched boot image for C.20.
Click to expand...
Click to collapse
This is not as easy as you might think. The default payload dumper (and the Go version) cannot handle these incremental OTAs:
Processing boot partitionUnsupported type = 9 · Issue #10 · vm03/payload_dumper
Hi, @vm03! :) Is there a solution to this problem? Only boot.img didn't succeed. I have Nokia 4.2 Thanks! Log: (.py) PS D:\Downloads\1> python payload_dumper.py --diff payload.bin Processing aboot ...
github.com
Instead you need to use this:
GitHub - mrslezak/update_payload_extractor
Contribute to mrslezak/update_payload_extractor development by creating an account on GitHub.
github.com
Unfortunately, this payload extractor fork is broken on windows. I had to set up a Ubuntu VM to run it.
The entire process took the majority of my afternoon
Attached is the extracted boot.img, both magisk patched and unpatched. Hopefully it saves others some time.
Swap_File said:
This is not as easy as you might think. The default payload dumper (and the Go version) cannot handle these incremental OTAs:
Processing boot partitionUnsupported type = 9 · Issue #10 · vm03/payload_dumper
Hi, @vm03! :) Is there a solution to this problem? Only boot.img didn't succeed. I have Nokia 4.2 Thanks! Log: (.py) PS D:\Downloads\1> python payload_dumper.py --diff payload.bin Processing aboot ...
github.com
Instead you need to use this:
GitHub - mrslezak/update_payload_extractor
Contribute to mrslezak/update_payload_extractor development by creating an account on GitHub.
github.com
Unfortunately, this payload extractor fork is broken on windows. I had to set up a Ubuntu VM to run it.
The entire process took the majority of my afternoon
Attached is the extracted boot.img, both magisk patched and unpatched. Hopefully it saves others some time.
Click to expand...
Click to collapse
You are right. I posted the wrong payload dumper.
I am using the one from here and it worked with every payload i tried.
(ROOT) Android 11 / Latest stock and patched img's / payload dumper / magisk_patched guides
Hi all, Have seen a lot of requests for patched boot images on these threads so thought i'd share a guide on how to get it yourself as well as all the files required, plus the patched boot.img if you just want to go ahead and boot/flash it...
forum.xda-developers.com
6.58 MB folder on MEGA
4 files and 3 subfolders
mega.nz
I guess the other one is quicker but im using this and it works. I edit my old post.
Swap_File said:
This is not as easy as you might think. The default payload dumper (and the Go version) cannot handle these incremental OTAs:
Processing boot partitionUnsupported type = 9 · Issue #10 · vm03/payload_dumper
Hi, @vm03! :) Is there a solution to this problem? Only boot.img didn't succeed. I have Nokia 4.2 Thanks! Log: (.py) PS D:\Downloads\1> python payload_dumper.py --diff payload.bin Processing aboot ...
github.com
Instead you need to use this:
GitHub - mrslezak/update_payload_extractor
Contribute to mrslezak/update_payload_extractor development by creating an account on GitHub.
github.com
Unfortunately, this payload extractor fork is broken on windows. I had to set up a Ubuntu VM to run it.
The entire process took the majority of my afternoon
Attached is the extracted boot.img, both magisk patched and unpatched. Hopefully it saves others some time.
Click to expand...
Click to collapse
Can we use this attached boot img on IN2011_11_C.20 (India)?

Categories

Resources