[Kernel+][H918|US996] Kali NetHunter for the LG V20 - LG V20 ROMs, Kernels, Recoveries, & Other Developm

​
OKAY SO
I present to you: Kali NetHunter 3.15.3 for the LG V20 (H918 & US996)
(yes, the first custom kernel for the LG V20!)
If you don't know what Kali NetHunter is, well, it's the entire Kali Linux operating system in a chroot on your phone, plus a bunch of awesome apps for executing exploits, fixing things, doing cool things. It goes on, I suppose.
I'm gonna be honest guys, I'm not a security person. When it comes to security, I'm more of a Paul Blart.
What I do know though, is that there is apt-get, and apt-get is life.
Find much more information here: https://github.com/offensive-security/kali-nethunter/wiki
The answer to all your questions, generally the answer is YES, IT CAN DO THAT.
Most ROMs should be supported, as our installer uses a dynamic patching method on your current boot image!
The NetHunter installer zip will add a few files to your /system partition, and install all of the NetHunter apps to your /data partition.
The chroot is located in /data/local/nhsystem, so you don't have to worry about your system partition being full. It's full read/write capable.
Understand that the zip will replace your current kernel with a completely different one.
This is necessary because most stock or custom kernels don't provide the drivers needed to operate most of Kali NetHunter's features.
NetHunter also includes its own Busybox that gives you full large file support and some extra applets.
It will not overwrite your current one, and will happily install alongside it as busybox_nh.
DOWNLOAD
Current version: 3.15.3 (stable, 2016-11-20)
Please be careful to download the right version based on this table:
LGH918 (T-Mobile): kernel-nethunter-h918-*
LGUS996 (US Unlocked): kernel-nethunter-us996-*
All others be sad.
For the apps, chroot, and everything other than just the kernel, you will also need to download:
nethunter-generic-arm64-*
See installation instructions before proceeding!
Downloads are available at the official NetHunter build server: http://build.nethunter.com/nightly/
BEFORE INSTALLING
IMPORTANT: The Kali NetHunter installer requires write access to your data partition!
This means that if your data partition is encrypted, you will need to use the [Format Data] button in TWRP to remove encryption.
This will delete all your data, including internal storage.
You should back everything up first before installing Kali NetHunter.
The Kali chroot and apps are installed on your data partition (in /data/local/nhsystem for chroot). To initialize the chroot and install Kali Linux, you need to start the Kali NetHunter app.
The generic NetHunter installer will automatically install SuperSU. We try to keep it up to date, but it isn't always.
If you already have SuperSU or another root method installed, please simply delete the supersu.zip from the root of the zip file before installing it.
** If modifying the installer zip, you will have to disable ZIP signature verification as modifications will break it.
It's recommended that you restore or flash your ROM's original kernel before installing NetHunter.
FULL INSTALLATION STEPS
Install Team Win Recovery Project (H918) or Team Win Recovery Project (US996) to your recovery partition.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Recommended: If you have a custom kernel or SuperSU installed, restore your stock kernel. (called Boot in TWRP)
This isn't entirely necessary, but you may need to flash the NetHunter kernel again if SuperSU replaces it.
If your data partition doesn't mount in TWRP:
Go to [Wipe] -> [Format Data] (not advanced wipe) -> type "yes".
WARNING: This will wipe your internal storage, disable encryption, and factory reset your phone!
Once your data partition is formatted, go to [Reboot] -> [Recovery].
Download the kernel-nethunter zip specific to your device.
Without exiting TWRP, transfer the NetHunter kernel installer zip to your device over MTP* and flash it using [Install] in TWRP.
If you wiped your data partition in step 2:
Go to [Reboot] -> [System].
Set up your phone by following the Android setup wizard.
Once it's set up, reboot back into recovery.
For new installations: Download the nethunter-generic-arm64-kalifs zip.
For upgrades: Download the update-nethunter-generic-arm64 zip.
Without exiting TWRP, transfer the NetHunter generic arm64 installer zip to your device over MTP* and flash it using [Install] in TWRP.
Go to [Reboot] -> [System].
Wait 2-5 minutes for your device to finish setting itself up.
Open the NetHunter app to initialize the environment
You're done!
* MTP, known as Media Transfer Protocol, is the same way you transfer files from your PC to your device when booted into system.
UPDATING TO A NEWER BUILD OR UPDATING YOUR ROM
Follow the installation steps above. NetHunter can be installed over itself as many times as you'd like.
If you don't want to lose your chroot, flash the smaller update-nethunter-generic-arm64 zip instead.
DEVICE RECOMMENDATIONS
The LG V20 internal wireless does not support monitor mode. This means you'll need to use an OTG adapter and a wireless card that does.
I highly recommend these two items:
Alfa Networks AWUS036NEH: https://smile.amazon.com/802-11g-Wireless-Long-Rang-Network-Adapter/dp/B0035GWTKK/
iXCC USB Type-C to Type-A OTG adapter: https://smile.amazon.com/iXCC-Adapter-Charge-Supported-Devices/dp/B017TJN22C/
* I am not affiliated with these sellers
The AWUS036NEH is the most tested and stable adapter available, and also comes in a very convenient portable form factor allowing antenna swaps for greater scanning ranges.
The iXCC USB adapter is compliant with USB Type-C specifications and provides up to USB 3.1 Gen 2 compatibility. It's also well built.
I don't recommend using smaller OTG adapters - they can break your ports if you accidentally put too much pressure on them or your phone falls with them plugged in.
THE KERNEL
The NetHunter kernel for the LG V20 is based on H918 v10d kernel sources.
It has the following changes:
Carefully security & bug patched to CodeAurora's latest msm8996 7.0 tag: LA.UM.5.5.r1-01600-8x96.0
SELinux enforcing, switches to permissive when requested by NetHunter app
F2FS updated to Jaeguek Kim's latest kernel.org f2fs-stable sources
F2FS formatted data partition support
Tuxera exFAT drivers replaced with Samsung's latest open-source exFAT drivers
Enabled USB (OTG) Atheros, Ralink, and Realtek WiFi drivers
FIOPS IO scheduler as default IO scheduler, SIO available
DriveDroid compatibility
USB HID Gadget keyboard & mouse support
mac80211 packet injection support
savoca's KCAL color calibration driver built in
Additional drivers built in for the full Kali NetHunter experience
Data partition encryption optional (may not be supported by custom kernels - encrypt at your own risk)
Kernel module support, insert your own modules! (modprobe available in Kali chroot)
CIFS, NFS available through included kernel modules
VerifiedBoot status hack to pass SafetyNet
RAN INTO AN ISSUE OR BUG?
In order for me to help you, you have to at minimum reply with:
The link to the exact zip you downloaded
Your device model
The name of the ROM you're flashing it on
The version and build date of the ROM you're flashing it on
A complete description of your problem
If your issue is with a specific app, it might be better to contact the developer of that app.
For Kali NetHunter bugs/issues, you can open a ticket at: https://github.com/offensive-security/kali-nethunter/issues
If your issue is during the installation (ex. flashing the NetHunter zip), then please collect a TWRP recovery.log for me.
If you found a problem and were able to fix it, and no one's mentioned it in the thread already, it would be kind to state the issue and your fix for others to make use of as well.
You can join me and the other NetHunter developers on IRC at the #nethunter room on freenode to more handily diagnose problems together.
I apologize, but I can't do house calls at this time.
KNOWN ISSUES
USB Keyboard - The keyboard is unusable when using Google Keyboard as your input method. Switch to Hacker's Keyboard.
DEVELOPMENT & CONTRIBUTIONS
You can see the main branch of NetHunter's development on the Offensive Security GitHub: https://github.com/offensive-security/kali-nethunter
Kali NetHunter Official device updates: https://github.com/offensive-security/nethunter-devices/commits
LG V20 NetHunter kernel source: https://github.com/jcadduono/android_kernel_lge_msm8996/tree/nethunter-7.0
If you wish to donate to the NetHunter project, you can donate directly to me through the Donate button under my name.
This will generally go towards supporting my next flagship device purchase, which will receive NetHunter and TWRP support from myself.
You can also use "Basenji Rescue and Transport" as your Amazon Smile charity and that will make me really happy!
(in my avatar, if you see a dog, that's a Basenji!)
SCREENSHOTS
DISCLAIMER
I am not affiliated with Offensive Security. They seem like cool guys though.
I'm not even a novice when it comes to security and penetration. I'm just a simple system administrator with a passion for breaking Android.
Please restrain yourselves from asking me security related questions.
XDA:DevDB Information
Kali NetHunter for the LG V20, Kernel for the LG V20
Contributors
jcadduono, The Kali NetHunter team
Source Code: https://github.com/offensive-security/kali-nethunter
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 3.15.3
Stable Release Date: 2016-11-20
Created 2016-11-21
Last Updated 2016-11-27

Sorry guys, it'll be up in an hour or two. The build process takes a while to generate a rootfs for each architecture before the zips start appearing on the server.
It's alive! Go crazy!
In the meantime, grab a cup of coffee! I'm a fan of Second Cup's Cuzco Whole Bean. Light roast is the best roast.
I'll use this spot here to thank Mr. @slayerh4x for taking the time to boot up my kernel test builds on his device and confirm it's not catching fire.
He put his life and phone at risk for you guys.
If anything, roll Alliance and gank him while he's AFK. Paypal donations are overrated.
For anyone wishing to roll their own custom kernels, check out:
https://github.com/jcadduono/android_kernel_lge_msm8996/commits/android-7.0 (stock configuration and ready to build for all variants!)
https://github.com/jcadduono/lazyflasher (NetHunter's installer, without the NetHunter - use it to flash and ship your builds!)

Wow @jcadduono awesome stuff. This is amazing. I'm very much looking forward to future development. I'm not familiar with this but seeing this excited the crap out of me for future TMO V20 development. The doors that are opening are incredible. Great work!
Sent from my LG-H918 using XDA-Developers mobile app

Thank you for your great support jcadduono.
Quick question. Does it wipe out this annoying unlocking bootloader screen when booting a phone?

netgar said:
Thank you for your great support jcadduono.
Quick question. Does it wipe out this annoying unlocking bootloader screen when booting a phone?
Click to expand...
Click to collapse
No, this is a bootloader feature and cannot be removed.

jcadduono said:
No, this is a bootloader feature and cannot be removed.
Click to expand...
Click to collapse
Do you know of this nethunter rom would have more features than a Nexus 4 or 7 nethunter rom? Basically what I mean is, does our hardware (v20) offer anything better/different as far as "tools wise" for this rom?

so this is different then most modified kernels right? what do the apps do?

albinoman887 said:
so this is different then most modified kernels right? what do the apps do?
Click to expand...
Click to collapse
Kali Linux is for network security penetration testing, hacking. It adds the apps from that.
@jcadduono, thank you so much yet again. I'm happy to help test the next project too lol.
---------- Post added at 11:20 AM ---------- Previous post was at 11:05 AM ----------
Hey I'm Horde man, I don't get ganked by puny Alliance players.
jcadduono said:
Sorry guys, it'll be up in an hour or two. The build process takes a while to generate a rootfs for each architecture before the zips start appearing on the server.
It's alive! Go crazy!
In the meantime, grab a cup of coffee! I'm a fan of Second Cup's Cuzco Whole Bean. Light roast is the best roast.
I'll use this spot here to thank Mr. @slayerh4x for taking the time to boot up my kernel test builds on his device and confirm it's not catching fire.
He put his life and phone at risk for you guys.
If anything, roll Alliance and gank him while he's AFK. Paypal donations are overrated.
For anyone wishing to roll their own custom kernels, check out:
https://github.com/jcadduono/android_kernel_lge_msm8996/commits/android-7.0 (stock configuration and ready to build for all variants!)
https://github.com/jcadduono/lazyflasher (NetHunter's installer, without the NetHunter - use it to flash and ship your builds!)
Click to expand...
Click to collapse

So, the directions are a little confusing. I just want some clarification please. Am I just flashing in TWRP, and good to go? I am on Tilde88's v2 stock modded ROM.

I can't clarify the instructions any more than they already are. You'll just have to try.

You're 1 of a kind @jcadduono..thank you...i also like the [+]

Is there a copy of the stock kernel somewhere in case we want to go back or would it mess it all up cause of flashing the tools separately? Restore of a previous twrp backup will restore stock kernel right? Having trouble getting the download to start, I'll try the PC. Thanks for this. Ive never seen this included in anything on android. Way outside the box. I love it!

Bubba Fett said:
Is there a copy of the stock kernel somewhere in case we want to go back or would it mess it all up cause of flashing the tools separately? Restore of a previous twrp backup will restore stock kernel right? Having trouble getting the download to start, I'll try the PC. Thanks for this. Ive never seen this included in anything on android. Way outside the box. I love it!
Click to expand...
Click to collapse
Just restore the boot part of a twrp backup.

slayerh4x said:
Just restore the boot part of a twrp backup.
Click to expand...
Click to collapse
Right. That makes sense. Thanks. Oddly though, i have a corrupted external sd card of flashing the apps. It didnt touch it as far as i can tell. Anyone know of a fix other than formatting it?

Bubba Fett said:
Right. That makes sense. Thanks. Oddly though, i have a corrupted external sd card of flashing the apps. It didnt touch it as far as i can tell. Anyone know of a fix other than formatting it?
Click to expand...
Click to collapse
I had that too and I just reflashed the kernel, took the card out/back in then rebooted again. Is it formatted with the exfat file system?

slayerh4x said:
I had that too and I just reflashed the kernel, took the card out/back in then rebooted again. Is it formatted with the exfat file system?
Click to expand...
Click to collapse
Whew! Wish i could give you a double thanks on that one. Big headache to fix that one! Thanks bro!

Bubba Fett said:
Whew! Wish i could give you a double thanks on that one. Big headache to fix that one! Thanks bro!
Click to expand...
Click to collapse
Unfortunately the exFAT driver I replaced it with is a bit pickier than the Tuxera one so I'd suggest running repair from TWRP to make sure all your sectors look fine.
If it continues to have issues, you might want to just adb pull /external_sd from twrp, then format it as ext4, then adb push external_sd /external_sd/
It might take me a while to find the problem, I've been running the exFAT driver for a few days and have yet to run into an issue with it, although I'm running it on my PC since I won't have a phone for a while (Note 7 returned, Samsung said I won't get a cheque for a month)

jcadduono said:
I can't clarify the instructions any more than they already are. You'll just have to try.
Click to expand...
Click to collapse
Excellent, read a bit more and got it. I was just re-reading the same sh!t over and over haha. Installed and running fine, tinkering away!!! Thank you for all your hard work brother @jcadduono, means a lot to all of us!

does this support K-cal

young0ne said:
does this support K-cal
Click to expand...
Click to collapse
no, I tried initially to add support but LG is using some customized calibration drivers of their own and the interfaces are quite different, it'd take a bit of work to write the kcal drivers to be compatible and since I don't own the device it's really hard to debug.

Related

[MOD] MultiROM v33

TLDR:
This project is no longer actively maintained, see explanation here.
1: MAKE A BACKUP. Seriously.
2: Downloads in second post. Flash recovery, then kernel, then MultiROM.
3: Any issues: please report at https://github.com/multirom-nexus6p/multirom/issues I won't be reading this thread very often.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction
This is a port of Tassadar's MultiROM, a multi-boot mod for Nexus 6P. The main part of MultiROM is a boot manager, which appears every time your device starts and lets you choose ROM to boot. You can see how it looks on the left image below and in gallery. ROMs are installed and managed via modified TWRP recovery. You can use standard ZIP files to install secondary Android ROMs and MultiROM even has its own installer system, which can be used to ship other Linux-based systems.
This is still very experimental!
This has been thoroughly tested with the most popular ROM's for the 6P.
Make backups. Seriously. Please.
Features:
* Multiboot any number of Android ROMs
* Restore nandroid backup as secondary ROM
* Boot from USB drive attached via USB-C OTG cable
Warning!
It _is_ dangerous. This whole thing is basically one giant hack - none of these systems are made with multibooting in mind. It is no longer messing with data partition or boot sector, but it is possible that something goes wrong and you will have to flash factory images again. Make backups. Always.​
Installation
We have a custom built MultiROM Manager .apk in the downloads section, feel free to try it! (somewhat untested, please report, even if install doesn't work, ROM name customization, etc. should work fine)
1. Via MultiROM Manager app
This is the easiest way to install everything MultiROM needs. Install the app found in the next post, and select MultiROM and recovery on the Install/Update card. If the Status card says Kernel: doesn't have kexec-hardboot patch! in red letters, you have to install also patched kernel - either select one on the Install/Update card or get some 3rd-party kernel here on XDA. You are chosing kernel for your primary ROM, not any of your (future) secondary ROMs, so select the version accordingly.
Press "Install" on the Install/Update card to start the installation.
Accept any Super User request prompts.​
2.Manual installation
Firstly, there are videos on youtube. If you want, just search for "MultiROM installation" on youtube and watch those, big thanks to all who made them. There is also an awesome article on Linux Journal.
MultiROM has 3 parts you need to install:
Modified recovery (TWRP_multirom_angler_YYYYMMDD.img) - download the IMG file from second post and use fastboot to flash it.
Patched kernel - You can use either one of the stock ones in second post or third-party kernels which include the patch, you can see list in the second post. Download the ZIP file and flash it in recovery.
MultiROM (multirom-YYYYMMDD-vXX-angler.zip) - download the ZIP file from second post and flash it in recovery.
Your current rom will not be erased by the installation.​
Adding ROMs
1. Android
Go to recovery, select MultiROM -> Add ROM. Select the ROM's zip file and confirm.​
Using USB drive
During installation, recovery lets you select install location. Plug in the USB drive, wait a while and press "refresh" so that it shows partitions on the USB drive. You just select the location (extX, NTFS and FAT32 partitions are supported) and proceed with the installation.
If you wanna use other than default FAT32 partition, just format it in PC. If you don't know how/don't know where to find out how, you probably should not try installing MultiROM.
If you are installing to NTFS or FAT32 partition, recovery asks you to set image size for all the partitions - this cannot be easilly changed afterward, so choose carefully. FAT32 is limited to maximum of 4095MB per image - it is limitation of the filesystem, I can do nothing about that.
Installation to USB drives takes a bit longer, because the flash drive is (usually) slower and it needs to create the images, so installation of Ubuntu to 4Gb image on my pretty fast USB drive takes about 20 minutes.
Enumerating USB drive can take a while in MultiROM menu, so when you press the "USB" button in MultiROM, wait a while (max. 30-45s) until it searches the USB drive. It does it by itself, no need to press something, just wait.​
Updating/changing ROMs
1. Primary ROM (Internal)
Flash ROM's ZIP file as usual, do factory reset if needed (it won't erase secondary ROMs)
Go to Advanced -> MultiROM in recovery and do Inject curr. boot sector.
2. Secondary Android ROMs
If you want to change the ROM, delete it and add new one. To update ROM, follow these steps:
Go to Advanced -> MultiROM -> List ROMs and select the ROM you want to update.
Select "Flash ZIP" and flash ROM's ZIP file.
Note that swapping roms between internal and external is not supported (yet). Also, after flashing a factory image to the primary system and boot partition, make sure to immediately inject MultiROM before first boot, otherwise the secondary ROMs will be deleted.
Source code
MultiROM - https://github.com/multirom-nexus6p/multirom/tree/master (branch master)
Modified TWRP - https://github.com/multirom-nexus6p/Team-Win-Recovery-Project (branch android-6.0) -- Includes the awesome new Material Dark TWRP theme by @daveyannihilation ! Go thank him, or get his Blackout Domination Layers or CMTE (yes, there are free versions on the Play Store, but you can find those yourself, or donate to a hard worker ).
Kernel w/ kexec-hardboot patch - https://github.com/multirom-nexus6p/android_kernel_huawei_angler/tree/mm -- use angler_defconfig
Device tree: https://github.com/multirom-nexus6p/TWRP-android_device_huawei_angler/tree/android-6.0-mrom​
Thanks
This port is based on the hard work of Tassadar, 500 Internal Server Error, Geoff Levand, webgeek1234, Mike Kasick, Npjohnson, Hashbang173, and many others. Thank you.
Issues
- None that are known. If you find one that this thread does not know about/hasn't answered (solid rule, read the last three pages of the thread befre reporting an issue), report it on the specific repo in question here.
- IF YOU GET LOCKED OUT OF YOUR DEVICE: Don't worry! Your data is fine. Simply boot to TWRP, choose 'Advanced' ==> 'Terminal Command' ==> type "rm -Rf /data/system/gatekeeper.*.key" (without the quotes). This is a dirty fix, and should only be used to recover data, not as a permanent solution! After you recover your data, wipe /data (you don't have to wipe Internal Storage), and re-setup the device.
Please report any unlisted issues to the GitHub bug tracker at https://github.com/multirom-nexus6p/multirom/issues . You'll get faster response if you post there instead of in this thread
Changelog
Here
Downloads
Downloads
v33 -- Stable 7:
MR Installer App: Play Store Link
MR-TWRP: mr-twrp-recovery-20160528-05-STABLE7.img
MultiROM Installer Flashable ZIP: multirom-20160514-v33-UNOFFICIAL-angler-STABLE7.zip
Stock HardBoot Enabled Kernel Flashable ZIP (only your Primary ROM needs this): kernel-hardboot-stock-angler-6.0.1-20160514
MultiROM Uninstaller Flashable ZIP: multirom_uninstaller.zip
NOTE:
Third party kernels with kexec-hardboot support (can be flashed to primary ROM):
ElementalX
FrancoKernel
AK
PureNexus
(Alert me if I've missed any!)
Extra Information
Unlike some of the other 64-bit MultiROM ports, this port does have kexec-hardboot enabled, which is less risky and speeds up boot into secondary ROM. Anyone porting MultiROM to a Snapdragon 810 device may find the source to be useful. The patch was written by @500 Internal Server Error
Also, due to recent events on other projects of mine, you are welcome to fork our Github repositories, and use them to port MR to new devices, and as a reference, but, I ask that no one build targeting the 6P using our source and post it publicly (of course you can build for personal use, but distribution is forbidden). Of course, I welcome and ask that anyone who wants to pull request changes in to do so!
The only acceptable releases based on our source for the 6P is recovery/multirom themes, though, I strongly ask you tag me so I can note the themed version in the OP.
XDA:DevDB Information
MultiROM for Nexus 6P, Tool/Utility for the Huawei Nexus 6P
Contributors
npjohnson, 500 Internal Server Error
Source Code: https://github.com/multirom-nexus6p/
Version Information
Status: No Longer Updated
Current Stable Version: v33-05282016-STABLE7
Stable Release Date: 2016-05-28
Created 2016-02-12
Last Updated 2017-09-17
[MOD] MultiROM v33 -- Beta 4
Reserved
Reserved.
Reserved.
Reserved
Downloads
Reserved.
changelog
Reserved.
Extra information
Unlike some of the other 64-bit MultiROM ports, this port does have kexec-hardboot enabled, which is less risky and speeds up boot into secondary ROM. Anyone porting MultiROM to a Snapdragon 810 device may find the source to be useful.
Just a heads up, your
Spoiler
tags didn't work, you will probably want to use [hide] instead. Looks promising though!
@daveyannihilation here you go, jump on it lol.
thanks that works
Oh awesome! Subscribed and will install as soon as I get off work. Thank you for your hard work @500 Internal Server Error
#whiteuimustdie #themesmatter
Yeahhhhhhhhhhhhh!! Finally. Very happy to see this
Sent from my Nexus 6P using Tapatalk
Nice work! Can't wait to try it out.
Definitely needed! Super!!
500 Internal Server Error said:
v33 beta 1:
Recovery: https://multirom-nexus6p.github.io/recovery-20160211.img
MultiROM Installer: https://multirom-nexus6p.github.io/multirom-20160211-v33-UNOFFICIAL-angler.zip
Patched kernel: only the primary ROM needs this. Secondary ROM's kernels do not need patching.
Stock 6.0.1 kernel: https://multirom-nexus6p.github.io/kernel-hardboot-stock-angler-6.0.1-20160211.zip
Click to expand...
Click to collapse
Congrats on this man! The Hardboot Patch will be indefinitely helpful for ARM64 users in the future!
No noticable bugs so far. I'm going to build MR with USB support sometime this weekend, will test, and get back to you.
Something we are going to have to deal with that other devices won't is the /vendor partition on the 6P. For example, user install Layers Overlay on stock ROM, now CM based secondary won't boot due to conflicting Layers/CM theme. Th8s wasn't a problem on the Nexus 6 because it didn't have a /vendor, but simply had a /system/vendor for each ROM.
A simple way we could bypass this is to set up a virtual /vendor (like we already have for /boot) and give the option when making the ROM to use a virtual /vendor, and then if the user opts to do so, they could base it off a vendor.IMG, or their current /vendor. If this doesn't sound like something you'd want to do, we could also tell the secondary ROMs to look at /system/vendor, and not ever mount /vendor (though this'd require that MR inject the current /vendor partition contents into /system/vendor on Secondary ROM flash.
Could you make a separate thread in the Original-Development about the HardBoot patch, and irlts inner workings? Tasssdar made a thread like that for the Nexus 6, and it helped a lot of kernel devs get up to speed quickly. It also contained example commands, etc. and was a great place for Kexec newcomers to learn.
Again, Congrats!
And finally its here! Glad you dealt with kexec-hardboot
npjohnson said:
A simple way we could bypass this is to set up a virtual /vendor (like we already have for /boot) and give the option when making the ROM to use a virtual /vendor
Click to expand...
Click to collapse
This should be doable - I can look at how MultiROM mounts the system partition and try to do the same for vendor. However, I'm not sure if there is a need for that since CyanogenMod didn't ship with any custom vendor binaries. I'll look into it when a ROM actually needs it.
Could you make a separate thread in the Original-Development about the HardBoot patch, and irlts inner workings?
Click to expand...
Click to collapse
Sure: I'll post a guide on porting it to other devices. The TLDR version:
- It's based on Geoff Levand's arm64 kexec patch as adapted by webgeek1234 to build on Android
- the hardboot part works by:
kexec call is made to load kernel, ramdisk, and device tree at specified addresses
kernel makes a temporary copy of this data in RAM that won't be overwritten at reboot, along with some code to copy it to the final positions
kernel reboots
Hardboot kernel checks that a hardboot is required, and jumps to the copier code
Copier code copies the new kernel to the final address and jumps to it
New kernel boots.
The extra copying code is needed since on 32-bit ARM the kernel can copy itself to the desired position; on arm64 it can't and extra code is needed. In addition, on 32-bit ARM the position of the ramdisk and device tree doesn't seem to matter; on the Nexus 6P however they have to be placed at the same location that the real bootloader uses.
Omg. Amazing. The only thing i am missing on the 6P. You are the men! Thank you so much.
Added to Nexus 6P index thread:
[INDEX] Huawei Nexus 6P
Great work!
Sent from my Nexus 5X using Tapatalk

Kali Nethunter for the Xperia SP

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Welcome to the thread on Kali NetHunter for the Sony Xperia SP
If you don't know what Kali NetHunter is, well, it's the entire Kali Linux operating system in a chroot on your phone, plus a bunch of awesome apps for executing exploits, fixing things, doing cool things. It goes on, I suppose.
I'm gonna be honest guys, I'm not a security person. When it comes to security, I'm more of a Paul Blart.
What I do know though, is that there is apt-get, and apt-get is life.
Find much more information here: https://github.com/offensive-securit...nethunter/wiki
The answer to all your questions, generally the answer is YES, IT CAN DO THAT.
Most AOSP based ROMs should be supported!
The updater zip will add a few files to your /system partition, and install all of the NetHunter apps to your /data partition.
The chroot is located in /data/local, so you don't have to worry about your system partition being full. It's full read/write capable.
Understand that the zip will replace your current kernel with a completely different one.
This is necessary because most stock or custom kernels don't provide the drivers needed to operate most of Kali NetHunter's features.
DOWNLOAD
Current version: 0.1 (beta, 2016-11-15)
Please be careful to download the right version based on this table:
Xperia SP: huashan
CyanogenMod 13.0 & SlimRom 6.0: marshmallow
Download from this AFH folder: https://www.androidfilehost.com/?w=files&flid=114915
BEFORE INSTALLING
Please make sure your phone boots fine and runs fine before flashing NetHunter. It's confusing when people report bugs that exist in CyanogenMod by itself.
The Kali chroot and apps are installed on your data partition (in /data/local for chroot). To initialize the chroot and install Kali Linux, you need to start the Kali NetHunter app.
The NetHunter installer will automatically install SuperSU in system mode, which I consider to be more stable. Since NetHunter already modifies your system partition, there is no need to use systemless SuperSU anyways.(not for huashan, I disabled this for giving you guys choices, also to prevent any possible problem caused by SuperSU.)
FULL FRESH INSTALL STEPS
Optional: Flash CyanogenMod/SlimRom installer zip
Optional: Flash Gapps if you want them (preferably OpenGapps pico)
Boot into device
Complete setup wizard
Reboot into recovery
Flash kernel-nethunter-hlte* and nethunter-generic-armhf-kalifs-full-rolling zips in any order.
Flash the only Kali Nethunter installer zip(update-nethunter......)
Boot into device
Open the NetHunter app
Use the Kali Chroot Manager to finish the installation
You're done!
UPDATING TO A NEWER BUILD
Going from 3.0.0 and up, all you have to do is flash the new build in recovery and wipe dalvik cache.
UPDATING YOUR ROM
To get all your NetHunter and SuperSU functions back after flashing a new ROM, just flash the ~60 MB update-nethunter-* zip again.
RUNNING WIFI PENETRATION TESTS
The internal WiFi chipset of the Xperia SP is not capable of running services which use monitor mode such as Wifite. For this, you will need to use a monitor mode capable WiFi adapter through a microUSB OTG adapter.
As for compatible adapters, I highly recommend the Alfa Networks AWUS036NEH (eBay) which uses the Ralink RT3070 chipset. There are currently no monitor mode supported Wireless-AC adapters available.
Once plugged in, you can run the command from Kali terminal to turn on your adapter:
Code:
[email protected]:~# ip link set wlan1 up
RAN INTO AN ISSUE OR BUG?
In order for me to help you, you have to at minimum reply with:
The link to the exact zip you downloaded
Your device model (hlte, hltecan, hltesovietrussia, etc.)
The name of the ROM you're flashing it on
The version and build date of the ROM you're flashing it on
A complete description of your problem
Optional: An audio recording of you reading this entire post
If your issue is with a specific app, it might be better to contact the developer of that app.
If your issue is during the installation (ex. flashing the NetHunter zip), then please collect a TWRP recovery.log for me.
If you found a problem and were able to fix it, and no one's mentioned it in the thread already, it would be kind to state the issue and your fix for others to make use of as well.
You can join me and the other NetHunter developers on IRC at the #nethunter room on freenode to more handily diagnose problems together.
I apologize, but I can't do house calls at this time.
KNOWN ISSUES
USB Keyboard & VNC - Google Keyboard, AOSP Keyboard, CM Keyboard do not work due to a depth bug, use Hacker's Keyboard as a workaround.
Terminal App - Full screen programs like nano or vi are unusable unless you use the resize command. (always type resize when opening a new terminal window)
DEVELOPMENT
For the kernel included in NetHunter for the Sony Xperia SP, you can find the sources here:
https://github.com/AdrianDC/android_kernel_sony_msm8960t/tree/cm-14.1
See the Kali NetHunter installer source here: https://github.com/offensive-security/kali-nethunter
See the Kali NetHunter app source here: https://github.com/offensive-security/nethunter-app
DISCLAIMER
I am not affiliated with Offensive Security. They seem like cool guys though.
I'm not even a novice when it comes to security and penetration. I'm just a simple system administrator with a passion for breaking Android.
Please restrain yourselves from asking me security related questions.
NOT SO MUCH AS SEEN ON MR. ROBOT, BUT PROBABLY EVEN BETTER
XDA:DevDB Information
Kali Nethunter for huashan, Kernel for the Sony Xperia SP
Contributors
dic1911
Kernel Special Features:
Version Information
Status: Testing
Current Beta Version: 0.1b
Beta Release Date: 2016-09-18
Created 2016-09-18
Last Updated 2016-11-15
Reserved
Reserved
Interesting
Will look for this .
Thank you !
Iekuta said:
Interesting
Will look for this .
Thank you !
Click to expand...
Click to collapse
I noticed your signature says you're running nougat, this is for marshmallow only, cause I haven't build a nougat kernel yet, so remember to do nandroid before install!:good:
Sounds Cool
#NooB Here If I am not wrong this Kali Net Hunter is for wifi hacking right , might it be wps or wpa..Could you please mention what other things can be done via Kali Nethunter
Also , Currently I am on CM14 Alpha..Will the above zip file work on mine or is it exclusively for CM13 only..
Gshrestha said:
Sounds Cool
#NooB Here If I am not wrong this Kali Net Hunter is for wifi hacking right , might it be wps or wpa..Could you please mention what other things can be done via Kali Nethunter
Also , Currently I am on CM14 Alpha..Will the above zip file work on mine or is it exclusively for CM13 only..
Click to expand...
Click to collapse
I don't use Nougat for now,
but I still upload a build for nougat in case anyone don't fear the possibility to brick one's XSP
(Caution! UNTESTED BUILD!), only try it at your own risk!
(btw, the kernel is from "cm-14.0-20160918-UNOFFICIAL-huashan.zip" by Adrian DC)
dic1911 said:
I don't use Nougat for now,
but I still upload a build for nougat in case anyone don't fear the possibility to brick one's XSP
(Caution! UNTESTED BUILD!), only try it at your own risk!
(btw, the kernel is from "cm-14.0-20160918-UNOFFICIAL-huashan.zip" by Adrian DC)
Click to expand...
Click to collapse
Seems like I will wait for the tested build for CM14 next time
I've read the whole post and I know it's for marshmallow only. So that means I'll get my phone bricked if I try to install this on lollipop?
Kali linux running under android sounds interesting.
dic1911 said:
I don't use Nougat for now,
but I still upload a build for nougat in case anyone don't fear the possibility to brick one's XSP
(Caution! UNTESTED BUILD!), only try itat your own risk!
(btw, the kernel is from "cm-14.0-20160918-UNOFFICIAL-huashan.zip" by Adrian DC)
Click to expand...
Click to collapse
It's working with 0914 with helium kernel, but I didn't test chroot cuz I don't have a decent internet connection right now will report back when I download the chroot img
[Edit]
You will have to clear cache partition for some reason to avoid any problems
Amazing, i was asking that about 2 year and u've done it ^^
#noob here
hi, a question to make it clear .. i am on mm 6.0.1 , if i flash nethunter.zip via twrp in my current rom will mm be wiped ? or it will add a new application in mm after flashing.
i know that i will have to install few apks to get nethunter working , but if i directly flash nethunter in my current rom will my current rom be wiped/deleted ??
or do i just have to flash it from twrp like we commonly flash gaaps ???
electro_nik said:
#noob here
hi, a question to make it clear .. i am on mm 6.0.1 , if i flash nethunter.zip via twrp in my current rom will mm be wiped ? or it will add a new application in mm after flashing.
i know that i will have to install few apks to get nethunter working , but if i directly flash nethunter in my current rom will my current rom be wiped/deleted ??
or do i just have to flash it from twrp like we commonly flash gaaps ???
Click to expand...
Click to collapse
No your rom won't be wiped. It will be modified
And you will have NetHunter apps
I have a bug, when i try to launch kali shell with terminal the app crash. I use infected build of CM13
bobslesbricoleurs said:
I have a bug, when i try to launch kali shell with terminal the app crash. I use infected build of CM13
Click to expand...
Click to collapse
you didn't follow the tutorial to set up the whole thing, do you?
chroot environment need to be installed manually within NetHunter app
Okay, but get an error during the download
bobslesbricoleurs said:
Okay, but get an error during the download
Click to expand...
Click to collapse
Not my problem for any network/storage related problem, you have to fix it yourself.
But my first guess is that you have insufficient space left in internal.
(NetHunter downloads chroot fs to /sdcard/kalifs-(full/minimal).tar.xz, and extract the content to /data/local/nhsystem
and minimal install takes about 600 MB, full installation takes 3 GB in total)
Okay, thanks, but one question why when i install super su it bootloop? And when i try to install latest zip of super su it didn't found boot image an installation aborting. You wan't a log?
---------- Post added at 06:59 AM ---------- Previous post was at 06:04 AM ----------
And can you tell me how did you do to port nethunter because i wan't to port it to my Meizu MX4 ^^
Error again even with clean install and full chroot
See the screen
bobslesbricoleurs said:
Okay, thanks, but one question why when i install super su it bootloop? And when i try to install latest zip of super su it didn't found boot image an installation aborting. You wan't a log?
---------- Post added at 06:59 AM ---------- Previous post was at 06:04 AM ----------
And can you tell me how did you do to port nethunter because i wan't to port it to my Meizu MX4 ^^
Click to expand...
Click to collapse
for SuperSU, you'll have to find a way to install it properly, iirc I have upload a working SuperSU version for XSP along with XenonHD MM
for porting, see the NetHunter wiki yourself, I'm not that pro to explain all the stuff.
bobslesbricoleurs said:
Error again even with clean install and full chroot
See the screen
Click to expand...
Click to collapse
For errors like that, I assume that the chroot environment isn't properly installed(even if the NetHunter app showed it booted fine without error, that's what occurred to me when I install chroot without enough space in /data), try install minimal chroot and install metapackage(s) manually with NetHunter chroot manager(it will show up how many space is needed, be sure to check your free space before proceed)

[OFFICIAL]Kali Nethunter for Motorola Moto G5 [CEDRIC]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Kali Nethunter for Motorola Moto G5[cedric] with wireless attacks working​
INTRODUCTION:
The Kali NetHunter is an Android ROM overlay that includes a robust Mobile Penetration Testing Platform. The overlay includes a custom kernel, a Kali Linux chroot, and an accompanying Android application, which allows for easier interaction with various security tools and attacks. Beyond the penetration testing tools arsenal within Kali Linux, NetHunter also supports several additional classes, such as HID Keyboard Attacks, BadUSB attacks, Evil AP MANA attacks, Wireless Attack 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.
Note:
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in this Kernel before flashing it! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
Features:
802.11 Wireless Injection and AP mode support with supported USB wifi card such as TP-Link 722N V 1.0.
Supports BadUSB MITM attacks. Plug in your Nethunter to a victim PC, and have your traffic relayed though it.
Contains a full Kali Linux toolset, with many tools available via a simple menu system.
USB Y-cable support in the Nethunter kernel – use your OTG cable while still charging your Device!
Software Defined Radio support. Use Kali Nethunter with your HackRF to explore the wireless radio space.
SUPPORTED ROMs:
Oreo Based Custom ROMs
Now also supporting LineageOS 14.1 based ROM's[Update V 1.3]
Download the Nethunter LineageOS 14.1 kernel below, given in update section
Bugs:
1. Currently HID attacks is not Supported (working on a Permanent Fix for this). -- Fixed
2. While Installing Nethunter, none of the applications are installing automatically so I have given link below to download application zip, extract APK;s and install it manually (Only in Oreo based ROM's)
SCREENSHOTS:
All Screenshots are given Below
Root Access Is required so root your device before flashing all this files.
INSTALLATION INSTRUCTIONS:
Download the Latest Build From the Links Below
1. Install The Official TWRP Recovery From Here or use any other Supported Recovery that you currently have installed.
2. Take a Backup of your Current ROM.
3. Flash the NetHunter zip File.
4. Flash The Kernel Zip file
or
5. Full Nethunter Zip With Kernel.(File size is 928mb and takes 20 min to install fully so have patience)
6. Reboot (first boot will take time).
Enjoy!
Post Installation
After Flashing ZIP files, reboot your device and Install all the APK's(Only for Oreo based ROM's)
1. Open the NetHunter App and start the Kali Chroot Manager.
2. You might want to download the real packages which might be around 400-500 MB in size.
3. Set up Hacker Keyboard.
4. Set up custom commands.
Extra Information Regarding Wireless Attacks
1. To Enable Monitor Mode, type this cmd in the nethunter terminal - [sudo airmon-ng start wlan1]
2. to use Wifite V1, type this cmd in the nethunter terminal - [wifite --mon-iface wlan1mon]
3. to use Wifite V2, type this cmd in the nethunter terminal - [wifite -i wlan1mon]
Download Links
Nethunter Kernel(Only for Oreo)
Nethunter Zip
Full Nethunter Zip with Kernel(Only for Oreo)
Nethunter APK's
GitHub Source Codes:
Kali Nethunter Source Code
Motorola Moto G5 Kernel Source Code
Motorola Moto G5 LineageOS 14.1 Source Code
CREDITS:
Kali NetHunter Whole Team for the source code and guide!
@Martichou - Alize Owner and developer for his source code
Specially @infixremix for his work on alize kernel.
LineageOS team for the kernel source
Update releases
Code:
Update V 1.0 - Only Tp-Link 722N was supported
Update V 1.1 - HID support were added
Update V 1.2 - Some improvements in the kernel
Update V 1.3 - Support for LineageOS 14.1 were added
XDA:DevDB Information
Kali Nethunter, Tool/Utility for the Moto G5
Contributors
rajeshdubey293
Source Code: https://github.com/rajeshdubey293/kali-nethunter.git
Version Information
Status: Stable
Stable Release Date: 2018-06-20
Created 2018-07-12
Last Updated 2018-07-12
If you like my work please consider thanks.
ENJOY!
Updated kernel With HID Support
Download Link
Kernel With HID Support(For Oreo)
Note
Just flash this kernel Zip if you have already installed nethunter
SELinux permissive is required, so
If your ROM does not support permissive SELinux then follow below Link to enable it on boot time
1. if you have installed Magisk, Link
2. If you have installed other than Magisk then, Link
Update kernel V 1.2
Download Link:
Kernel V 1.2 With HID(For Oreo Only)
Update:
Better Performance
Hi, just to be sure, theoretically I can install it over my current rom LOS without losing anything, right?
DavidKirsch said:
Hi, just to be sure, theoretically I can install it over my current rom LOS without losing anything, right?
Click to expand...
Click to collapse
Of course !!nothing will erase.!! Enjoy.
This is an oreo rom but you've provided the link for 32bit recovery.
Exanneon said:
This is an oreo rom but you've provided the link for 32bit recovery.
Click to expand...
Click to collapse
It's not a rom
It's a zip that contains scripts & apps and a custom kernel needed for the app/scripts to run
Although the 32bit twrp should flash it since this is for oreo roms you should already have the 64bit twrp installed and you should not change it
Exanneon said:
This is an oreo rom but you've provided the link for 32bit recovery.
Click to expand...
Click to collapse
If you have installed Oreo ROM them you must have 64 bit recovery flashed but if you have flashed your Oreo using fastboot boot recovery.IMG then if you use 32 bit recovery also, for the flashing nethunter it will work..
Now Nethunter for Motorola Moto G5 is also supporting LineageOS 14.1 Based ROM
Procedure
1. Download Kernel Zip File
2. Download Nethunter Zip File
3. Flash Kernel Zip File
4. Flash Nethunter ZIP File
5. Reboot
No need to download Application Zip, there is no bug in LineageOS 14.1
Follow the post installation procedure given in main thread to setup Nethunter in your device..!!
Enjoy
Bugs
You tell me.!!
Kernel For LineageOS 14.1
Nethunter Zip File
Nod32 Alert
I know that this is "hacking stuff", but is it normal if my Antivirus (Nod32) detects a keylogger trojan in (kernel-nethunter-cedric-nougat-20180625_161916.zip) ?
Sorry if I asked something really stupid....
Palko21 said:
I know that this is "hacking stuff", but is it normal if my Antivirus (Nod32) detects a keylogger trojan in (kernel-nethunter-cedric-nougat-20180625_161916.zip) ?
Sorry if I asked something really stupid....
Click to expand...
Click to collapse
I am not sure about this because i don't use Windows, so i can not test it right now.!! give me some time, i will get back to this soon..
Palko21 said:
I know that this is "hacking stuff", but is it normal if my Antivirus (Nod32) detects a keylogger trojan in (kernel-nethunter-cedric-nougat-20180625_161916.zip) ?
Sorry if I asked something really stupid....
Click to expand...
Click to collapse
One more thing, if you have any doubt regarding virus or something, you can unzip the kernel zip file and see it manually.
Nod32 Alert(resp)
Thanks for the quick response!
What would be the point of having a keylogger written for windows in a linux based kernel file? Weird.
(Edit: I'm stupid, of course it reports keylogger on the keylogger.apk)
Sorry for troubling ya
Not happy once again uncredited , I work on al-ice Cedric martin works on it ocattionaly typical not credited .
infixremix said:
Not happy once again uncredited , I work on al-ice Cedric martin works on it ocattionaly typical not credited .
Click to expand...
Click to collapse
Am really sorry for this.i have edited my post.once again am really sorry that i forgot..
rajeshdubey293 said:
Am really sorry for this.i have edited my post.once again am really sorry that i forgot..
Click to expand...
Click to collapse
No worries sorry to come across rude , great work tho pal tested my router thanks to you
infixremix said:
No worries sorry to come across rude , great work tho pal tested my router thanks to you
Click to expand...
Click to collapse
Thank u..:laugh:
rajeshdubey293 said:
Download Link:
Kernel V 1.2 With HID(For Oreo Only)
Update:
Better Performance
Click to expand...
Click to collapse
What's the advantage of HID?
infixremix said:
What's the advantage of HID?
Click to expand...
Click to collapse
you can use your phone as mouse and keyboard by connecting it via USB to PC.
for hacking related to HID, you can visit to kali nethunter website for more info.
Update
Code:
Updates
- Aroma installer is added
- themes are added in the installer
- support for more languages are added
- support for both LineageOS 14.1 & LineageOS 15.1
- some useful APK's is added
Now just download one file for both LineageOS 14.1 and LineageOS 15.1
choose your ROM version while flashing the Nethunter
Download Link:
Updated Nethunter ZIP
Note:
- be carefully while flashing
- choose your right ROM version otherwise your device will not boot.
Enjoy..!!

[DEPRECATED][ROM][diOS][N] Samsung Galaxy Tab A 7.0 LTE SM-T285 (gtexslte)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is discoveryOS (diOS)
Code:
/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here before flashing it!
* YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/
About this project: discoveryOS (or in short: diOS)
I was not satisfied with any external car navigation system I can get because either they are ultra slow, outdated, having bad user experience, missing speed cam support or simply taking ages to get a gps lock within my car.
So the main approach here is not having the best ROM for all users but for those having the same need then I have. Usually these both should not conflict so if I fix an issue for my needs it might fix yours as well. But my focus is navigation, nothing (much) else.
Examples: if Camera has issues I might not solve it, if calling has issues I might not solve it, etc.
Features of discoveryOS
fully based on /e/ OS for a full google-free experience
F-Droid (OpenSource Apps as an alternative to Google Play) including extra repos
debloated everything not needed for diOS (for details check this list)
Integrated MagicEarth Navigation
Integrated Automate App
Integrated Aurora Store
Speaker output optimized for speech (i.e. increasing loudness as much as possible)
my builds come with full OTA update support (from v2.0 on)
(... you know that thing which informs you that a new update is there and where you just click to download + install)
Roadmap
Implementing Kiosk Mode for navigation only (might be provided as a separate build)
links: <--- abandoned by using the app "Automate" instead
the one I will go for (tested fine already): https://www.sdgsystems.com/post/pro...droid-devices-with-a-device-owner-application
older approaches:
Implementing Kiosk Mode in Android - Part 1
Part 2 Part 3 Part 4 Part 1: No Android Changes Required Note: Looking for Kiosk mode in Android Lollipop 5.0 or later? Skip to part 3. What is “Kiosk Mode” and why would you want to use it? Kiosk Mode basically allows a single Android application to have full control of the system. The user is...
www.sdgsystems.com
Implementing Kiosk Mode in Android - Part 3: Android Lollipop (and Marshmallow)
Part 1 Part 2 Part 4 Part 3: Android Lollipop (and Marshmallow) Android 5.0 (Lollipop) and 6.0 (Marshmallow) now have an official Kiosk Mode that anybody can use, but they don’t call it Kiosk Mode. They call it “screen pinning” or “task locking”. This article will provide information on how to...
www.sdgsystems.com
Implementing Kiosk Mode in Android - Part 4: A Better Provisioning Method for DPC / Device Owner
Part 1 Part 2 Part 3 In part 3 of our series on kiosk mode, we provided source code for our Set Device Owner app. This app allows you to provision Android Lollipop and Marshmallow devices using the “device bump” method, which configures device owner apps or device policy controllers (DPC) such...
www.sdgsystems.com
Integrate my created Automate flow to simulate a KIOSK mode (i.e. start navigation on boot and keep it on top always)
Requirements
Your device need to be unlocked (seriously?!)
Latest TWRP/SHRP build is highly recommended, e.g. mine: see my recovery post
Do a full Nandroid backup before doing anything else!
Samsung STOCK firmware should be on T285XXU0AQH1.
You can check your current firmware version in Android -> settings -> About / Phone info -> Baseband version
If you like try first without flashing this firmware but if you encounter any issues upgrade to this version first before reporting
Fast and (afaik) good site for downloading: https://sfirmware.com/samsung-sm-t285/
(scroll down and type T285XXU0AQH1 in the search box, choose the one for your country, download, flash as usual, flash TWRP/SHRP again, flash this ROM)
Installation
Backup
When you flash diOS the first time:
Wipe: System and do a factory reset !
A LOT of bad stuff can happen otherwise
Flash the ROM
Optional (if you want root): Flash Magisk
Flash OpenGapps ????? STOOOOOOOOP NO No no! you don't want that on a google-free phone! diOS contains everything you need to live without Google!
Boot (be patient on first boot!!! SIM detection might take a minute after the FIRST boot after clean flash as well)
Open Maps (MagicEarth) and click the download button to get your country/region maps
Open Automate to import the kioskmode flow
Open F-Droid -> Settings -> Repositories and choose those you want to enable (most of them are described here) & swipe down to update the repo list.
Open Aurora -> choose Anonymous as long as you don't want to have paid apps working
Enjoy
Known issues
no OMS support! OMS is a hack DEEP in the android sources and all these are outdated now. if you need that use jedl's build
build is ENG , i.e. "adb root" will work and no auth required for ADB
bluetooth is working but using the blobs by jedld's build until I find the time fixing the android sources (unfortunately the repo of jedld does not contain the full history so I have to compare manually...). Until then I keep it like that.
not charging on USB connection (normal power supply works fine) - still investigating. Seems to be an issue with my kernel.
This ROM is just coming with BASIC stuff so several apps you might want to see in a regular Android ROM are simply not there.
Examples (excerpt only!):
- no Camera app
- no Browser app
- no Gallery app
- no Email app
- no Calendar app
- no <fill-in-whatever-you-are-missing>
the complete list can be found here always
If you find a bug not listed, follow the instructions here and provide me with the logs: FAQ #1
Download
Get the builds from my leech server
discovery OS: https://leech.binbash.rocks:8008/discoveryos/nougat/gtexslte/
Note:
Builds are updated when I decide to do so. There is no build cycle.
Changelogs
search results from this thread: click
Credits
LineageOS
jedld, really! thanks dude, not just for giving a starting point but also for providing your sources.
... if I forgot to mention YOU, tell me
Sources
It took me a while (2 or 3 weeks iirc) to clean up all the sources from jedld in order to be able to update and keep in sync with LOS itself.. All these can be found here:
github org
build manifest
XDA:DevDB Information
discoveryOS, ROM for the Samsung Galaxy Tab A series
Contributors
steadfasterX, jedld (without his work I would never had bought that tab! he made all the main parts until 2018!)
Source Code: https://github.com/smt285
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
Based On: /e/ OS
Version Information
Status: Beta
Beta Release Date: 2020-11-19
Created 2020-04-03
Last Updated 2020-11-20
everything around my recovery images
RECOVERY images
Download (shrp + twrp)
TWRP: here
SHRP (recommended): here
I provide 3 formats:
IMG (twrp only)
TAR (shrp & twrp)
ZIP (shrp only)
When to use the IMG (twrp only)?
If you flashed a custom recovery already
if you like to flash by download mode with heimdall
When to use the TAR (shrp & twrp)?
If you never flashed a custom recovery before you have to use this one
if you like to flash by download mode with ODIN or JOdin
When to use the ZIP (shrp only)?
If you want to switch from TWRP
if you want to upgrade from one SHRP version to another
if you flashed the TAR of SHRP in download mode by ODIN or JOdin you HAVE to flash this ZIP in SHRP once
How to flash the IMG?
boot to your custom recovery
push the IMG to your device (e.g. by adb)
select flash
ensure you select "IMG" (when in TWRP. when in SHRP that is not needed)
select the IMG file
choose "Recovery" as the "Target Partition" and flash
Reboot to Recovery to complete the setup.
How to flash the TAR?
boot to download mode
start ODIN/JOdin
put the TAR into the AP/PDA slot
ensure the "Auto Reboot" is NOT ticked/checked
flash
turn the device off (HOME+PWR+VOLDOWN) and directly switch just the VOLDOWN button to VOLUP when it wakes up and hold all 3 buttons until you see the recovery loading
How to flash the ZIP?
boot to your custom recovery
push the ZIP to your device (e.g. by adb) (or start and use adb sideload and you are done)
select flash
select the ZIP & Flash
Reboot to Recovery to complete the setup
Reserved
New build arrived
Changelog
Release date: 2020-04-03
Download: see OP
initial build:
I had a REALLY hard time to actually make LOS 14.1 boot with cleaned sources.. thought the ramp-up will take a week at most .. but that was way off..
jedld had done several patches within AOSP and I had to find out which are required where etc. the main reason why my build were not booting at all (which is f**** hard to debug without and log and/or adb ) was that one.
But I needed to clean the sources as several parts of these were incredible outdated and so needs to be udpated.
I had spent several more days to cleaning up even more stuff and finally uploaded a test build.
feel free to join but read the KNOWN ISSUES topic carefully before.
It is still in a very early state and I have tested pretty much nothing else then boot, apps, bluetooth, WiFi
Kernel:
switching to EUR kernel
implemented kernel build within LOS build!
added own TWRP defconfig
moving kernel modules like WiFi to /system
.... and more (see "Detailed changes")
LOS:
added alle needed TWRP configs
moving kernel modules like WiFi to /system
sepolicy updates for rild
.... and more (see "Detailed changes")
Detailed changes:
LOS: this build VS. last build (by jedld, yea 19 pages ... was a long time )
Device tree: github
Kernel: github
.-
For those interested I will also provide SHRP (skyhawk recovery) after some testing and fine tuning ...
Sent from my OnePlus 6T using XDA Labs
Testing and report
Thank You for this Great JOB
---------- Post added at 07:32 PM ---------- Previous post was at 07:10 PM ----------
steadfasterX said:
For those interested I will also provide SHRP (skyhawk recovery) after some testing and fine tuning ...
Sent from my OnePlus 6T using XDA Labs
Click to expand...
Click to collapse
Migration from Lineage Jed for LOS 7.1.2
Recovery 3.3.1.1 Ok
installation Ok
Magisk Ok
Google Apps Ok
Fist Boot Ok
Wifi and sensors Ok
OpenCamera working Perfectly
ROM stable Ok no errors in all files i recomend this release for all users Galaxy Tab T285
Great Job Great ROM.
Hacker.
May I know how do I flash your TWRP build? I am using Odin and I am supposed to flash .tar.md5 file right? Yours is in disc img file and when I try to extract / mount it shows "corrupted file".
nicktsh said:
May I know how do I flash your TWRP build? I am using Odin and I am supposed to flash .tar.md5 file right? Yours is in disc img file and when I try to extract / mount it shows "corrupted file".
Click to expand...
Click to collapse
Ah yea I haven't uploaded the ODIN file yet. Thanks for reminding. You can either wait for that or flash any of the other available TWRP versions for the smt285 which have a ODIN package. Once you have TWRP you can simply flash my img from within TWRP to update .
Sent from my OnePlus 6T using XDA Labs
Great piece of work, very much needed. Thanks Bro.
I wished if volte would have worked, is there any chance!
---------- Post added at 07:24 AM ---------- Previous post was at 06:33 AM ----------
Getting CTSProfile false in Magisk 20.4, any fix ?
रRudra said:
Great piece of work, very much needed. Thanks Bro.
I wished if volte would have worked, is there any chance!
---------- Post added at 07:24 AM ---------- Previous post was at 06:33 AM ----------
Getting CTSProfile false in Magisk 20.4, any fix ?
Click to expand...
Click to collapse
VoLTE is always a pita. So no.
Will check cts profile, should be fixable ..
Sent from my OnePlus 6T using XDA Labs
steadfasterX said:
VoLTE is always a pita. So no.
Will check cts profile, should be fixable ..
Click to expand...
Click to collapse
ctsprofile issue solved, I can share the solution if u need! Thanks
रRudra said:
ctsprofile issue solved, I can share the solution if u need! Thanks
Click to expand...
Click to collapse
Fingerprint .. I just need to add it but if you can share the exact one from stock it saves 2min for me
EDIT: nvm got it.
Sent from my OnePlus 6T using XDA Labs
I recently flash the rom, mobile data to long to open. Thank for this, still finding bugs
Having trouble flashing a custom recovery. Odin doesn't seem to like me. Could anyone help me out?
Installed - works fine but found one annoying bug - lockscreen is not rotating at all - it's only vertical and not want to rotate to horizontal when I rotate device.
how to install this ?
im having error on flashing it through twrp 3.1.1.1 it states error 7
jayrakiztah said:
im having error on flashing it through twrp 3.1.1.1 it states error 7
Click to expand...
Click to collapse
use the latest TWRP linked in the OP.
steadfasterX said:
use the latest TWRP linked in the OP.
Click to expand...
Click to collapse
twrp 3.1.1.1? it is already installed
jayrakiztah said:
twrp 3.1.1.1? it is already installed
Click to expand...
Click to collapse
nope. 3.3.1.1 is the latest and it is linked in the OP
.-
steadfasterX said:
nope. 3.3.1.1 is the latest and it is linked in the OP
.-
Click to expand...
Click to collapse
i flashed your sharp recvoery and it still got an error 7

[ROM][Official] Kali NetHunter for the Huawei Nexus 6P Android 8.1

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I present to you: Kali NetHunter for the Huawei Nexus 6P Android 8.1 Oreo
This is the recommended stable version for the Nexus 6P.
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 ~
- Android 8.1 - https://developers.google.com/android/images
- TWRP - https://twrp.me/
- Magisk – https://forum.xda-developers.com/apps/magisk
~~ Downloads ~~
- NetHunter: https://www.offensive-security.com/kali-linux-nethunter-download/
~~ How to Install ~~
- Update to / flash latest official Android release
- Install TWRP
- Copy Magisk and NetHunter image to USB drive
- Reboot into TWRP, insert USB drive.
- flash NetHunter image
- flash Magisk
- Reboot
- Run NetHunter app
- Reboot
~~~ Notes & Updates ~~~
Nexmon is included in the 2020.2 release.
Credits: The Offensive Security Team and the NetHunter community, huge thanks to yesimxev, & kimocoder.
Android Version: 8.1
XDA: DevDB Information
Kali Nethunter, Kernel & ROM for the Huawei Nexus 6P
Contributors
@Re4son, @kimocoder, @yesimxev
Source Code: https://gitlab.com/kalilinux/nethunter/
Kernel Source: https://github.com/Re4son/android_kernel_huawei_angler
**RESERVED**
**RESERVED**
Little teaser of what more is to come
You are a man of your word.
Huge thanks to you and the entire Kali Nethunter team !
I don't how you did finally get rid of this pesky reboot bug by plugged in wlan adapter, but you delivered.
And don't disappoint.Like always.
I could go on complimenting, but as someone said to me once, back to the issue related subject on hand.
There are none.
--
Even my to an oblivion gebranded Asus NIC is working very good (with Realtek 8812au).The same goes for 8811 and the other AC ones I have.
I hadn't the time to test every single one, but I am curios if the Realtek 8811eu(s) has made it, as well.
For many people this chipset has somekind of importance, because it was the second revision of the TP-LINK TL-WN722N model.
Like you wrote, has Nexmon are couple of problems.
I could use nexutil, but solely without results.
---
I would like to thank you in the name of the Nexus community, who has held on to this device series, for one or another reason.
I will try and look, that my next device a OnePlus 7 or maybe a Xiaomi Mi 9T is going to be..
I wanted to ask if you could post a link to the most recent repository for this kernel.
I tried to build it of yours, about a week ago and couldn't pass the usb related bug.
I started to revisit the Oreo kernel for the Nvidia Shield K1 tablet, perhaps you saw the link to the posts on Twitter, over here at the shield sub-forum.
Unfortunately bricked the device a month after I finished compiling it while trying to port Linux Tegra (Ubuntu flavoured OS to the Shieldtablet..).
I kept the finished kernel.The best result did I link in the Nvidia forum at Xda and 5 other iterations are in my Afh-dev account.
I did a couple test runs yesterday, but had no luck so far.
Maybe you could take a look a the kernel and give me a hint when you have a bit free time, ..next summer?
Many heaps^
UsPdSr
edit.
The request for a link to the recent kernel source has answered itself..
Many thanks for this release. Nethunter works like a Charme
Just for those user, who like to use a other rom, than the resource hungry Google stock one, AOSiP 8.1 works just as well.
If someone rather prefers a stock environment, then SUPERXE or nrdw are a good alternative as well.
The nethunter page says the current download for 2020.2 is available. Does that mean nexmon is fully working ?
Re4son changed the Nexmon files in Nethunter's repo ~2 weeks ago again.
https://gitlab.com/kalilinux/nethun...3e47c0368acbf5878cce/oreo/angler/system/lib64
After some issues* with my 6P during testing various compatible roms for the new kernel, which reminded me painful at the last days of my previous one, which bite the dust end of last year after kimocoder's try to 'enhance' a kernel respectively released a build for android stock, which already existed to the time, based primarily on jcadduono work, revised by Re4son and then as latest working release to the official repository added.After I tried to build one by myself, supported the community(especially for this device at the time) and made pressure to the whole botched so-called "working" releases for Oreo 2 years prior.
He put some bells and whistles on it, but the massive reboots after trying to set external wlan adapter into Monitor mode, didn't let the kernel unfortunately run properly.
I am looking for a new device, but am unsure what to buy.
Beside that the Nexus nostalgic will always be a great and important factor.
Too bad that the foremost specs and the faulty hardware behave not so harmonic are over time.
I can gladly upload installer which I build a couple of days ago with the changes from Nethunter's repo.
If the Xiaomi Mi 9T wouldn't be so "full of MIUI", bootloader restrictions and Anti-Rollback protection, could it be a spectacular device.
But Xiaomi's business strategy to release every week 3 "new(sic!)" devices are a bit too generic for me, without sounding pretentious.
OnePlus is obviously the chosen candidate - Google's Pixel aren't any different from Samsung Galaxy horror show and the ridiculous expensive and at the same time sh*tty performance mastering iPhone by now. :E
The price of the OnePlus are getting affordable, some provider finally starting to pick them up here and even not everything is honkey doorey with them (firm politics have changed rapidly as well) , so are they the best-bad choice.
Sorry, I digressed.
I am happy to upload the kernel or the complete installer if prefered for you to test.
Cheers
---------- Post added at 10:25 AM ---------- Previous post was at 10:15 AM ----------
@Re4son
I noticed the thread title 'rom' contained.
If possible, would I like to ask to change it into 'Overlay' or kernel.
Just for user, who are unsure about the application, function, usability of Kali Nethunter.
*
I wanted to make it clear that the device issues are to 99,9 % result of the age or his famous hardware default(s), not of this awesome work and the entire project behind.
Can't get the phone into monitor mode for the life of me.
Thanks for this very much. Im just starting to get my feet wet with this nethunter stuff. Any tips and tricks would be appreciated.
huge thanks for your work.
there is a problem: i have installed twrp,magsik,android oreo(angler-opm7.181205.001-factory-b75ce068.zip) and nethunter(nethunter-2020.2-angler-oreo-kalifs-full.zip). i could see a new HID KeyBoard Device in Win7 ,but the HID Attacks didn't work well . how can i fix this issue ?
upon flashing the file and booting , i tried opening the nethunter app , but it says "New app build detected: Doing app files update.(init.d and filesDir) and then force closes. the device is connected to the internet . what am i doing wrong ? .os is nrdw's stock optimized
crashnova said:
Can't get the phone into monitor mode for the life of me.
Thanks for this very much. Im just starting to get my feet wet with this nethunter stuff. Any tips and tricks would be appreciated.
Click to expand...
Click to collapse
The complete lack of information is overwhelming.
Which chipset?External adapter or internal chip?
;/
---------- Post added at 07:30 PM ---------- Previous post was at 07:24 PM ----------
Nightslade said:
upon flashing the file and booting , i tried opening the nethunter app , but it says "New app build detected: Doing app files update.(init.d and filesDir) and then force closes. the device is connected to the internet . what am i doing wrong ? .os is nrdw's stock optimized
Click to expand...
Click to collapse
Wipe everything and start over.
Do you build your own installer, or flashed the official release?
I had a couple of problems with Nrdw's rom, if I remember correct.It is likely to work if you fire the last stock on it, or try ABC, they are all very stable.
UsPdSr said:
The complete lack of information is overwhelming.
Which chipset?External adapter or internal chip?
;/
Click to expand...
Click to collapse
My bad. Internal, for now.
crashnova said:
My bad. Internal, for now.
Click to expand...
Click to collapse
Hm, Re4son changed the Nexmon files shortly after the pre-release and apparently fixed them.
I use it not that often and currently have I a seperate setup for work.
In any case, did I build a new installer with a freshly baked chroot, all the updates and upgrades, Apps and the currently recommended kernel for this device.
I uploaded it.
Wipe and format your device and flash afterwards the newest stock rom.
Flash Magisk and try it with the installer again.
If you encounter issues would I refer to the Kali Nethunter's gitlab presence and write a issue report.
The installer (full chroot, bootanimation, kernel..).
https://mega.nz/file/FJoAAI7A#CfAicSrguktZU8yH0X0u1BA-CH8AdWVrHlkbH13MaCk
UsPdSr said:
Wipe everything and start over.
Do you build your own installer, or flashed the official release?
I had a couple of problems with Nrdw's rom, if I remember correct.It is likely to work if you fire the last stock on it, or try ABC, they are all very stable.
Click to expand...
Click to collapse
I flashed the official release
Just after i posted this i tried with the latest stock clean install. even with no encryption and all i had the same error . Does the updating this happen for all devices ?
ill give the file you uploaded a try
Nightslade said:
I flashed the official release
Just after i posted this i tried with the latest stock clean install. even with no encryption and all i had the same error . Does the updating this happen for all devices ?
ill give the file you uploaded a try
Click to expand...
Click to collapse
Do you mean with 'update' the one recently introduced by the Nethunter team?
I assure you that is not in correlation with such bug.
Since release didn't I have a problem with one single external adapter.
As written before, do I not use nexutil often.
Re4son changed the patched firmware ~2 weeks after pre-release.
I cloned the repo, devices and build you the installer with python3.
If you have further issues would I recommend that you issue a bug report on gitlab, or write Re4son, yesimxev or kimo here..
it seems is not clear, is nexus 6p have a working monitor mode and injection working?

Categories

Resources