[H830][H850][kernel+] Kali NetHunter for the LG G5 (3.1.0) - LG G5 ROMs, Kernels, Recoveries, & Other Developme

Welcome to the thread on Kali NetHunter for the LG G5.
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.
The installer zip will add a few files (including busybox) 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.
These Kali NetHunter builds are designed and tested for LG G5 stock 6.0.1 firmware.
DOWNLOAD
Current version: 3.1.0 (stable, 2016-04-29)
Download here: https://idlekernel.com/nethunter/nightly
Your device is: h830 (T-Mobile) / h850 (International)
Recommended install method: Use TWRP 3 for H830 or TWRP 3 for H850
Install kernel-nethunter-[h830|h850] and nethunter-generic-armhf-kalifs-full-rolling zips in any order.
You can actually only install the kernel if you want to take advantage of its features without having to install the rest of NetHunter!
BEFORE INSTALLING
Do not flash the NetHunter update zip with a fresh data partition!
Most ROMs will wipe it clean on the first boot if you haven't completed the Android Setup Wizard yet, there's no need to wipe your ROM or data to try it out. I do advise backing up your data partition before flashing the zip though.
(this should no longer be possible now with added installation checks)
Please make sure your phone boots fine and runs fine before flashing NetHunter. It's confusing when people report bugs that exist due to other factors unrelated to NetHunter.
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.
If you would like to use another root method, or prefer systemless SuperSU, then simply remove the supersu folder from the installer zip and it will proceed without it.
FULL INSTALL STEPS
Follow the instructions on setting up working data and internal storage in TWRP.
Flash kernel-nethunter-[h830|h850] and nethunter-generic-armhf-kalifs-full-rolling zips in any order.
Reboot into device
Open the NetHunter app
Let the NetHunter app finish setting everything up
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. On some ROMs you may need to wipe dalvik cache.
UPDATING YOUR ROM
To get all your NetHunter and SuperSU functions back after flashing a new ROM, just reflash the kernel-nethunter-[h830|h850] zip and the ~60 MB update-nethunter-generic-armhf zip in TWRP.
RUNNING WIFI PENETRATION TESTS
The internal WiFi chipset of the G5 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 USB-C host 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:
[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 (it better be h830/h850)
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. (type resize when opening a new terminal window)
Sound - There is no sound when using the NetHunter kernel. Well, the Kali slogan...you know. Just kidding, this needs urgent fixing!
THE KERNEL
The NetHunter kernel for the LG G5 is based on LG's H850 v10a kernel sources.
It has the following changes:
Updated to Linux 3.18.31 (security fixes & more)
F2FS added using Jaeguek Kim's latest kernel.org:f2fs-stable sources (available on system/data/cache!)
UKSM - Ultra Kernel Same-page Merging support
Compiled with -O2 optimizations using GCC Linaro 5.3 aarch64 toolchain
Simple IO (SIO) scheduler as default IO scheduler (updated for modern kernels)
USB HID Gadget keyboard support
mac80211 packet injection support
Westwood, HTCP, or Cubic (default) TCP congestion algorithms
savoca's KCAL display color calibration driver
RTL-SDR, BT RFCOMM, and various WiFi OTG drivers enabled
NFS and CIFS client support with file caching
Additional drivers built in for the full Kali NetHunter experience
SCREENSHOTS
{
"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"
}
DEVELOPMENT
For the kernel included in NetHunter for the LG G5, you can find the sources here: https://github.com/jcadduono/nethunter_kernel_g5
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 the LG G5, Kernel for the LG G5
Contributors
jcadduono, The Kali NetHunter team
Source Code: https://github.com/jcadduono/nethunter_kernel_g5
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 3.1.0
Stable Release Date: 2016-04-29
Created 2016-04-23
Last Updated 2016-06-07

I am confused, is this a rom, kernel or performance boost mod ? please Eli5...

_ray_ said:
I am confused, is this a rom, kernel or performance boost mod ? please Eli5...
Click to expand...
Click to collapse
It's a kit ROM so to speak. It's for penetration testing so if you don't know what it is then you don't need it.

ChongoDroid said:
It's a kit ROM so to speak. It's for penetration testing so if you don't know what it is then you don't need it.
Click to expand...
Click to collapse
Kool, cheers

Up and runing. Bootanimation is not fullscreen, and it looks like wifite does not find any internal wifi (Not that internal will be of any use, but it was shown on my other android device). Need to get a usb-c otg cable now to get my alfa rocking again.
This are just things i find, should not be in a offended way.
Awesome that it came to h850 so fast, thanks.

Pinu'u said:
Up and runing. Bootanimation is not fullscreen, and it looks like wifite does not find any internal wifi (Not that internal will be of any use, but it was shown on my other android device). Need to get a usb-c otg cable now to get my alfa rocking again.
This are just things i find, should not be in a offended way.
Awesome that it came to h850 so fast, thanks.
Click to expand...
Click to collapse
Yup added a note in the middle of my first post about the internal WiFi. Unfortunately the boot animation was made for us in 1080p and while we could resize it to other resolutions, it wouldn't look very nice stretched out. :x I guess it wouldn't be terrible on 2560x1440, but we can't really be bothered to create multiple boot animation zips right now unless someone wants to help us!
I'm just glad it worked first try, I made a ton of changes in the kernel and was expecting it to crash or not boot. It's nice to have a reliable device to maintain without owning it once in a while, Samsung's S7 is certainly the opposite where compiling even the stock kernel sources results in boot loops.
Also really glad OEMs are including full armhf binary support on their aarch64 devices! We've yet to port NetHunter fully to aarch64, though the installer is ready, the chroot isn't.
Could someone please gather a recovery.log from TWRP after flashing the two zips? Advanced -> Copy log to SDcard, copy it off your sdcard and preferably upload it in your reply. Thanks!
(I'm ensuring that everything is installing correctly with no silent errors)
If you've already installed NetHunter, it's safe to flash the zips again as much as you want!

nice to see this, current have it running one my oneplus one, will try it on my g5 soon

It would be very interesting to see a modular bottom modded to support an OTG interface and the insides of a USB wifi dongle...

Anybody having problems with adb and bluetooth not working ? Just want to be sure it's me.

Pinu'u said:
Anybody having problems with adb and bluetooth not working ? Just want to be sure it's me.
Click to expand...
Click to collapse
same here, and on top of that... No Sound at all. System wide. All Sources... Freaky :cyclops:

Thx, hopefully after a few updates all is fine .

Miustone said:
same here, and on top of that... No Sound at all. System wide. All Sources... Freaky :cyclops:
Click to expand...
Click to collapse
hmm those are both things that were modules that i turned to builtin, maybe i need to make them back into modules, perhaps LG is using closed source kernel module versions? :S

jcadduono said:
hmm those are both things that were modules that i turned to builtin, maybe i need to make them back into modules, perhaps LG is using closed source kernel module versions? :S
Click to expand...
Click to collapse
Strange, hope you can fix it... Can't help you with that. But if you need more infos or a Log. Just say something! Really want to use this Kernel... Great work at all. Thanks!:good:

All connections are working Now with latest Version of this Kernel. But the Sound is still missing. None of the Outputs is working. Bootsound is also not hearable... ?

Hi can you work on having NTFS support via otg. Thanks.

I have no sound and sd card not reading on H30.
Sent from my LG-H830 using Tapatalk

Has the sound issues and stuff been fixed:fingers-crossed:? I'm planning to get the G5 and this kind of a deal breaker between it and the HTC 10
(BTW, I'm planning on getting the H830)

This looks pretty awesome but I wouldn't install it on my G5. I think I'd get a OnePlus Two or something for this.

No sound and SD Card can not be read.My Phone is H850,V10c.I flash latest Version of this Kernel(kernel-nethunter-h850-marshmallow-3.1.0-20160524-1936)

I wonder if the dev would be better off compiling the kernel from source once more then adding in the modules one by one testing to see which one breaks it then just removes it until a future release.

Related

Kali NetHunter for the Galaxy Note 3 (3.1.0)

Kali NetHunter for the Galaxy Note 3 (3.1.0)
Welcome to the thread on Kali NetHunter for the Samsung Galaxy Note 3.
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 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: 3.15.3 (stable, 2016-12-17)
Please be careful to download the right version based on this table:
N9005: hlteeur
N900W8 & N900T: hltecan
N900P: hltespr
N900K, N900L, & N900S: hltekor
SC-01F: hltedcm
SCL22: hltekdi
CyanogenMod 12.1 & SlimRom 5.1: lollipop
CyanogenMod 13.0 & SlimRom 6.0: marshmallow
Nightly TWRP flashable zips are located at: https://build.nethunter.com/nightly/
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.
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.
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 Galaxy Note 3 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:
[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.
You may be able to fix some bugs by updating to the latest bootloader and modem for your device.
See: (Direct Download) Latest Bootloaders & Modems
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)
SCREENSHOTS
{
"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"
}
DEVELOPMENT
For the kernel included in NetHunter for the Samsung Galaxy Note 3, you can find the sources here: https://github.com/jcadduono/idleKernel-note3
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
It is powered by idleKernel, however none of the idleKernel scripts (ikconfig, usb control, kernel tweaks) are available by default. I recommend installing idleKernel zip (non-NetHunter) from the idleKernel thread and then flashing the NetHunter updater or kernel installer over idleKernel. You will then have all of idleKernel and Kali NetHunter's features at your disposal.
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 the Galaxy Note 3, Device Specific App for the Samsung Galaxy Note 3
Contributors
jcadduono, the Kali NetHunter team
Source Code: https://github.com/jcadduono/kali-nethunter
Version Information
Status: Stable
Current Stable Version: 3.15.3
Stable Release Date: 2016-12-17
Created 2016-01-07
Last Updated 2016-12-21
Reserved
first
great cant wait to try it out
What solution are you offering for Wifi devices, Are you going to compile kernel for compatable devices?
Or is this something the user is going to have to do.
I only mention this, as i have a Working version of Nethunter and have for over a year, But i refused to post release information due to the support required to get various wifi devices to work.
I did not want to get involved so the release never happened, Am happy compliling my own kernel for supported drivers, But i dont see your average joe doing this.
Also another snag i found was you can only have the one wifi device enabled at one time, so disabling the onboard to enable the external.
All issues by commands, but am just questioning if you have considered this or have support for this?
dave7802 said:
What solution are you offering for Wifi devices, Are you going to compile kernel for compatable devices?
Or is this something the user is going to have to do.
I only mention this, as i have a Working version of Nethunter and have for over a year, But i refused to post release information due to the support required to get various wifi devices to work.
I did not want to get involved so the release never happened, Am happy compliling my own kernel for supported drivers, But i dont see your average joe doing this.
Also another snag i found was you can only have the one wifi device enabled at one time, so disabling the onboard to enable the external.
All issues by commands, but am just questioning if you have considered this or have support for this?
Click to expand...
Click to collapse
I suppose multiple WiFi devices would be in the realm of Kali rather than the kernel. I can't imagine it being harder than using a powered USB hub to connect multiple radios and configure each of them using one of the network managers available in the Kali repository, while leaving your native Broadcom WiFi to Android to handle. All the popular / mac80211 injection capable WiFi drivers are compiled right into the kernel and enabled - not as modules. The Nethunter installer takes care of installing all the necessary firmware binaries to your system partition as well.
The compatible USB WiFi dongles should just be plug and play at this point.
I'm still waiting on my TP TL-WN822N to arrive from Amazon for testing.
Btw have you tried the Nethunter 3.0 app? It really is designed to make everything quick and easy, 1 step for whatever you're trying to do.
Considering swinging by the #nethunter room on freenode to ask questions and/or suggest ideas to make things easier.
I have not tried 3.0
Am still talking about 2.0 seems like they have added some additional support like network manager.
This was not present in my build so i just use a few bash scripts to enable and disable.
But ill give this version 3.0 a try thanks
dave7802 said:
I have not tried 3.0
Am still talking about 2.0 seems like they have added some additional support like network manager.
This was not present in my build so i just use a few bash scripts to enable and disable.
But ill give this version 3.0 a try thanks
Click to expand...
Click to collapse
Not a network manager in nethunter app, I mean install one in Kali chroot the same way you would on a Debian server.
Version 3.0.1 is now up and the changes are:
Tell SuperSU to install in system mode (not systemless)
Update SuperSU to version 2.66
Use SuperSU's supolicy binary to patch the sepolicy during install (fixes Marshmallow/CM13.0 unable to boot)
Inject init.superuser.rc into the ramdisk if it's not there already
SuperSU should no longer be broken with non-gzip compressed ramdisks
Find commits here: https://github.com/jcadduono/kali-nethunter/commits/master
Please note that it is still Kali Nethunter 3.0, and the .1 is just an update that improves flashing compatibility.
Y'know, I really thought you guys would be eating this stuff right up. <_<
please include flashing instructions - do we need to also flash gapps...which ones should we use. Thank you.
comptonhubbard said:
please include flashing instructions - do we need to also flash gapps...which ones should we use. Thank you.
Click to expand...
Click to collapse
It's not a ROM, it's an app, kernel, and environment. You have to flash it on an already set up CyanogenMod ROM from TWRP.
jcadduono said:
It's not a ROM, it's an app, kernel, and environment. You have to flash it on an already set up CyanogenMod ROM from TWRP.
Click to expand...
Click to collapse
After IdleKernel 6.6.5?
Gandicela said:
After IdleKernel 6.6.5?
Click to expand...
Click to collapse
Doesn't matter. If you flash idleKernel after, make sure it's the -kali version though. The only thing flashing idleKernel does is add ikconfig, /sbin/usb, and a few small kernel tweaks in the ramdisk.
jcadduono said:
Doesn't matter. If you flash idleKernel after, make sure it's the -kali version though. The only thing flashing idleKernel does is add ikconfig, /sbin/usb, and a few small kernel tweaks in the ramdisk.
Click to expand...
Click to collapse
I see. It's therefore like this: Running CM>>Kali Hunter>>Kali Hunter Kernel. Cheers, Mate!
I need to format SD-card?
amazing work.
tnx
Mx WaR HaBiB said:
I need to format SD-card?
amazing work.
tnx
Click to expand...
Click to collapse
No you dont have to format it
Sent from my SM-N9005 using Tapatalk
Gandicela said:
I see. It's therefore like this: Running CM>>Kali Hunter>>Kali Hunter Kernel. Cheers, Mate!
Click to expand...
Click to collapse
So, do we need to use version for CM 12.1 for OnePlus from here?
https://www.offensive-security.com/kali-linux-nethunter-download/
Ps
It works
First install kali kernel, after download Kali for oneplusone, reboot into recovery, install kali zip, and aftet again idle kali kernel.
I am on CM 12.1 nightly...
eseregin said:
So, do we need to use version for CM 12.1 for OnePlus from here?
https://www.offensive-security.com/kali-linux-nethunter-download/
Ps
It works
First install kali kernel, after download Kali for oneplusone, reboot into recovery, install kali zip, and aftet again idle kali kernel.
I am on CM 12.1 nightly...
Click to expand...
Click to collapse
Why are you doing this!!! You're bound to end up breaking something.
All you do is flash this after completing CM setup wizard and you're done. There's absolutely no reason to download any other Kali installer. This is the full version 3.0! Nethunter app now sets up your chroot for you.
Full steps:
Flash CyanogenMod installer zip
Flash Gapps (preferably opengapps pico)
Boot into device
Complete setup wizard
Reboot into recovery
Flash the Galaxy Note 3 Kali Nethunter installer zip from this thread
Boot into device
You're done!
If you absolutely need ikconfig or /sbin/usb, then you can install idleKernel-kali zip from the idleKernel thread later.
3.0.1_2016_01_10 build uploaded. Just a bug fix for Nethunter app.
Installation query
I have CM13 set up with superSU 2.46 and idleKernel 6.5.5 installed.
Do I have to install CM all over again? And follow your steps, or is there a way for me to keep my data and just flash it as is?
UnbracedTundra said:
I have CM13 set up with superSU 2.46 and idleKernel 6.5.5 installed.
Do I have to install CM all over again? And follow your steps, or is there a way for me to keep my data and just flash it as is?
Click to expand...
Click to collapse
Make a full backup in twrp first.
Wipe /system and dalvik and /cache. Install latest CM13 (or CM12.1 if thats what you meant) zip and gapps, then boot into system. Once boot is complete, reboot into recovery and flash nethunter then boot and you should be good to go without deleting your data.
jcadduono said:
Why are you doing this!!! You're bound to end up breaking something.
All you do is flash this after completing CM setup wizard and you're done. There's absolutely no reason to download any other Kali installer. This is the full version 3.0! Nethunter app now sets up your chroot for you.
Full steps:
Flash CyanogenMod installer zip
Flash Gapps (preferably opengapps pico)
Boot into device
Complete setup wizard
Reboot into recovery
Flash the Galaxy Note 3 Kali Nethunter installer zip from this thread
Boot into device
You're done!
If you absolutely need ikconfig or /sbin/usb, then you can install idleKernel-kali zip from the idleKernel thread later.
3.0.1_2016_01_10 build uploaded. Just a bug fix for Nethunter app.
Click to expand...
Click to collapse
Wow...
I am idiot!
Completely ignored the main link I needed -
https://idlekernel.com/nethunter/cm12.1
Now I understand that went dangerous way, lucky still with working phone
Tbh, most all utilities in Kali for now behind my knowlage of Linux so far
PS
I can see some scripts somehow survived even with full wipe, now my recovery provide some red lines doing job, something path missing in /data/...something/something
Though do the job.
I thought nothing can survive after full wipe...

[Marshmallow] Kali NetHunter for the nVidia SHIELD tablet (3.15.2)

​
Welcome to the thread on Kali NetHunter for the nVidia SHIELD tablet and SHIELD tablet K1.
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.
The installer zip will add a few files (including busybox) 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.
These Kali NetHunter builds are designed and tested for nVidia's Marshmallow release & CyanogenMod 13.0.
In theory, they should work fine on -all- Marshmallow SHIELD ROMs.
DOWNLOAD
Current version: 3.15.2 (testing, 2016-10-13)
Download here: https://build.nethunter.com/nightly
Your device is: shieldtablet
Recommended install method: Use TWRP 3.0.2-2 or newer for shieldtablet
Install kernel-nethunter-shieldtablet and nethunter-generic-armhf-kalifs-full-rolling zips in any order.
Kernel only installers are in the kernel-only directory inside each build directory. It might be a better idea to try and install that first and see if you can boot before flashing the entire NetHunter.
You can actually only install the kernel if you want to take advantage of its features without having to install the rest of NetHunter!
BEFORE INSTALLING
Do not flash the NetHunter update zip with a fresh data partition!
Most ROMs will wipe it clean on the first boot if you haven't completed the Android Setup Wizard yet, there's no need to wipe your ROM or data to try it out. I do advise backing up your data partition before flashing the zip though.
(this should no longer be possible now with added installation checks)
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.
FULL INSTALL STEPS
Boot into TWRP
Flash kernel-only/kernel-nethunter-shieldtablet and chroot-full/nethunter-generic-armhf-kalifs-full-rolling zips in any order.
Reboot into device
Open the NetHunter app
Let the NetHunter app finish setting everything up
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. On some ROMs you may need to wipe dalvik cache.
UPDATING YOUR ROM
To get all your NetHunter and SuperSU functions back after flashing a new ROM, just flash the new ~60 MB nethunter-generic-armhf zip and kernel-nethunter-shieldtablet zip in TWRP.
RUNNING WIFI PENETRATION TESTS
The internal WiFi chipset of the SHIELD tablet 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:
[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 (it better be shieldtablet)
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)
THE KERNEL
The NetHunter kernel for the nVidia SHIELD tablet is based on nVidia's rel-24-sb-r1-2 kernel sources.
It has the following changes:
F2FS added using Jaeguek Kim's latest kernel.org:f2fs-stable sources (available on data partition)
Cortex-A15 & Neon-VFPv4 + -O2 compiler optimizations
NEON-asm kernel & SHA/AES NEON support
Compiled with Linaro's branch of GCC 4.9 (2016.02)
Simple IO (SIO) scheduler as default IO scheduler (updated)
USB HID Gadget keyboard support
mac80211 packet injection support
Updated mac80211 and USB WiFi drivers
TCP congestion control updates and fixes
Westwood, HTCP, or Cubic (default) TCP congestion algorithms
DriveDroid compatibility
Steel01's KEXEC hardboot support for Multi-ROM
Additional drivers built in for the full Kali NetHunter experience
SCREENSHOTS
{
"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"
}
DEVELOPMENT
For the kernel included in NetHunter for the nVidia SHIELD tablet, you can find the sources here: https://github.com/jcadduono/android_kernel_nvidia_shield
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 the nVidia SHIELD Tablet, Device Specific App for the Nvidia Shield Tablet
Contributors
jcadduono, The Kali NetHunter team
Source Code: https://github.com/offensive-security/kali-nethunter
Version Information
Status: Stable
Current Stable Version: 3.15.2
Stable Release Date: 2016-10-13
Created 2016-04-11
Last Updated 2016-10-14
Yay!
fattire said:
Yay!
Click to expand...
Click to collapse
Big thanks to this guy for doing all the testing, it's been a pleasure going in blind!
This is awesome to see. I'm going to have to load this up over one of my cm-13.0 builds and see how it goes. A few of us local devs considered porting it a time or two, but never got around to it. Many thanks to both of you for getting it working.
jcadduono said:
THE KERNEL
The NetHunter kernel for the nVidia SHIELD tablet is based on nVidia's rel-24-sb-r1-1 kernel sources.
It has the following changes:
KEXEC hardboot support for Multi-ROM
Click to expand...
Click to collapse
So, those kexec patches aren't needed unless you're expecting to be running as the primary ROM. Which I guess is possible. But also note that those are in flux... I haven't got multirom officially working for M yet. I might have just cracked it tonight, but it isn't released yet. Also, the arm64 kexec patch set isn't needed for this device, they're there because the kernel also works for Tegra X1 devices, aka the Shield TV.
Steel01 said:
This is awesome to see. I'm going to have to load this up over one of my cm-13.0 builds and see how it goes. A few of us local devs considered porting it a time or two, but never got around to it. Many thanks to both of you for getting it working.
So, those kexec patches aren't needed unless you're expecting to be running as the primary ROM. Which I guess is possible. But also note that those are in flux... I haven't got multirom officially working for M yet. I might have just cracked it tonight, but it isn't released yet. Also, the arm64 kexec patch set isn't needed for this device, they're there because the kernel also works for Tegra X1 devices, aka the Shield TV.
Click to expand...
Click to collapse
Hey, alright, thanks! I kind of just saw the patches there and figured "may as well grab em so people aren't complaining it won't boot" (this happens a lot on devices with multirom support!)
Good to know who to credit them to now. I'll update it again when you've got it all working then.
I've got a shield TV myself which is why I cherry picked the X1 parts. Figured I'd try it out on there eventually for the the chroot and a few services anyway. <.<
hi only see 1 zip in the downloads section?
Sorry dev but am lost here a can only find the kernel zio??
skooter32 said:
Sorry dev but am lost here a can only find the kernel zio??
Click to expand...
Click to collapse
yep you're lost i concur 100%, go back and read the instructions again
I tested the kernel with the Vulkan OTA. On point. Perfect.
JCAdduono this is awesome! I installed it and was able to successfully add my external wireless card (Alfa AWUS051) with a quick "ifconfig wlan1 up". Thanks for the time put on it just to give us new functionality! I will put it to the test through my class and give you feed back! Thanks!!
Am I the only one unable to access adopted storage using this twrp?
Sent from my SHIELD Tablet K1 using Tapatalk
Exile1975 said:
Am I the only one unable to access adopted storage using this twrp?
Sent from my SHIELD Tablet K1 using Tapatalk
Click to expand...
Click to collapse
probably not, i have no idea how to get adopted storage working in TWRP
i wonder if it's because it's built in 6.0 branch instead of 5.1
jcadduono said:
probably not, i have no idea how to get adopted storage working in TWRP
i wonder if it's because it's built in 6.0 branch instead of 5.1
Click to expand...
Click to collapse
I was using the 3.0.0 twrp with the Vulcan update prior to this, even tho it lagged the adoptable storage was available. Maybe this could point you in the right direction. Thanks for the quick response.
Sent from my SHIELD Tablet K1 using Tapatalk
Exile1975 said:
I was using the 3.0.0 twrp with the Vulcan update prior to this, even tho it lagged the adoptable storage was available. Maybe this could point you in the right direction. Thanks for the quick response.
Sent from my SHIELD Tablet K1 using Tapatalk
Click to expand...
Click to collapse
well, no, it doesn't point me in any direction as i have no idea what you are talking about or where to find this, or even if the developer made his sources available (unlikely)
but you know what else could point me in the right direction? a recovery.log
jcadduono said:
well, no, it doesn't point me in any direction as i have no idea what you are talking about or where to find this, or even if the developer made his sources available (unlikely)
but you know what else could point me in the right direction? a recovery.log
Click to expand...
Click to collapse
Well, the twrp I was referring to is this one by @Steel01
http://forum.xda-developers.com/showthread.php?p=64520513
However the unofficial twrp 3.0.2 by @romracer also works. I'm not sure if the source is available for the 3.0.2, but steel01 has stated his source is available. I'll reflash yours and pull some logs in a little bit. Thanks again
Edit: oh, the Vulcan update I was talking about was the 6.0.1 ota from Nvidia, not the borked 6.0 update
Edit 2: I guess I wasn't using the twrp I thought I was. The steel01 versions don't actually let you access adopted storage. But the other by romracer does
Sent from my SHIELD Tablet K1 using Tapatalk
Got that recovery log
https://drive.google.com/file/d/0B44pUMrBECEWVVZienBYOGxOYzA/view?usp=docslist_api
Sent from my SHIELD Tablet K1 using Tapatalk
Exile1975 said:
Got that recovery log
https://drive.google.com/file/d/0B44pUMrBECEWVVZienBYOGxOYzA/view?usp=docslist_api
Sent from my SHIELD Tablet K1 using Tapatalk
Click to expand...
Click to collapse
hmm invalid usb mass storage lun too...would be nice if i could get someone to work with me in #twrp channel on freenode irc to fix issues
the touchscreen is laggy and buggy too right?
jcadduono said:
hmm invalid usb mass storage lun too...would be nice if i could get someone to work with me in #twrp channel on freenode irc to fix issues
the touchscreen is laggy and buggy too right?
Click to expand...
Click to collapse
I'll find you ol. Dees_troy is usually the one to talk to...
I guess my first dumb question is why is a ROM maintaining a separate version of twrp and not just using the ones already built?
Then what tree was it built against? I assume USB is working on mine (see here, yes it's the multirom edition, but all the standard twrp 3.0 functions are the same). I can't test that right now, though. Can someone with the problems see if they happen there too?
The touchscreen (technically screen refresh) issue is the same both here and on the shield tv. No idea what's going on. Tried toggling double buffering off, but no dice. lj50043 (iirc on the numbers) is the official twrp maintainer for the tablet. He'd be the one to talk to. But he hasn't made any progress last I checked either.
Just about to give this a go!
Kudos to you guys for finally giving me a nerd outlet on the go

[OFFICIAL]Kali Nethunter for Moto G 2015[OSPREY]

{
"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 G 2015[osprey] 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:
LineageOS 14.1 Based Custom ROM's
Now also supporting LineageOS 15.1 based custom ROM's
Bugs:
Phone Reboots when the Wireless Adapter is Removed.(Making a Permanent Fix for this) !
Fixed for Oreo ROM's
DOWNLOAD KERNEL FROM UPDATE SECTION AND FLASH IT VIA TWRP
SCREENSHOTS:
All Screenshots are given Below
Root Access Is required so root your device before flashing nethunter zip.
INSTALLATION INSTRUCTIONS:
Download the Latest Build From the Links Below
Install The Official TWRP Recovery From Here or use any other Supported Recovery that you currently have installed.
Take a Backup of your Current ROM.
Flash the NetHunter zip File.
Reboot.!
Enjoy!
Post Installation
After Flashing ZIP files, reboot your device
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 ZIP
GitHub Source Codes:
Kali Nethunter Source Code
Kernel Source Code
CREDITS:
Kali NetHunter Whole Team for the source code and guide!
LineageOS team for the kernel source
XDA:DevDB Information
Kali Nethunter, Tool/Utility for the Moto G 2015
Contributors
rajeshdubey293
Source Code: https://github.com/rajeshdubey293/kali-nethunter.git
Version Information
Status: Stable
Stable Release Date: 2018-07-12
Created 2018-07-12
Last Updated 2018-07-12
If you like my work please consider thanks.
ENJOY!
Wow.. Nice
Update for LineageOS 15.1 Support
Now Kali Nethunter for Moto G 2015 is supporting Oreo ROMs.
Download Link:
Nethunter ZIP for Oreo custum ROMs
Support forecast for Merlin?
gambiarraweb1 said:
Support forecast for Merlin?
Click to expand...
Click to collapse
since turbo edition has different chipset and i do not own that devices so i can not test after building.
gambiarraweb1 said:
Support forecast for Merlin?
Click to expand...
Click to collapse
or one more thing can be happen, i will build kernel for you but you have to test it at your own risk.
Update V 1.3 - Fixed Rebooting
Fixed Rebooting after removing wireless adaptor
Download KERNEL below and flash it.
Download Kernel for Oreo ROM's
Earphones don't work with kernel
Thank you so much for porting nethunter, but the kernel has bug that makes earphones not work
FariosK said:
Thank you so much for porting nethunter, but the kernel has bug that makes earphones not work
Click to expand...
Click to collapse
For my device it works perfect.you just check with another kernel if it works or not.
can u upload net-hunter for android 6.0.1 moto g3 2015or osprey -nougat version will work ?
moto g5 plus
could create a kernel for moto g5 plus, to support external adapter?
can anyone help me I have flashed this on my moto g3 which has cm 13 installed[6.0.1] but after flashing i cant turn on wifi, it dosnt allow me to switch to wifi on. please help me, thanks in advanced
Narrize said:
can anyone help me I have flashed this on my moto g3 which has cm 13 installed[6.0.1] but after flashing i cant turn on wifi, it dosnt allow me to switch to wifi on. please help me, thanks in advanced
Click to expand...
Click to collapse
Your WLAN drivers are encompassed within your boot image. If you have a TWRP backup of your CM boot image, restore it. If you do not, extract the boot.img from the CM13 ROM build you are using. You can install it via TWRP or fastboot. Of course, if you are running systemless root (Magisk, pHH, SuperSU, etc) you will lose root unless you have an addon.d script installed. If you are using a CM based system-wide root, superuser access should not be affected at all. On reboot, your WiFi should be functioning normal. From this point, make a full TWRP backup of your device partitions and try the install from the OP again, taking care to fully follow OP's instructions.
Viva La Android said:
Your WLAN drivers are encompassed within your boot image. If you have a TWRP backup of your CM boot image, restore it. If you do not, extract the boot.img from the CM13 ROM build you are using. You can install it via TWRP or fastboot. Of course, if you are running systemless root (Magisk, pHH, SuperSU, etc) you will lose root unless you have an addon.d script installed. If you are using a CM based system-wide root, superuser access should not be affected at all. On reboot, your WiFi should be functioning normal. From this point, make a full TWRP backup of your device partitions and try the install from the OP again, taking care to fully follow OP's instructions.
Click to expand...
Click to collapse
so i basically go to twrp recovery, locate the boot.img and than install/flash it via twrp, than wifi should be working?
---------- Post added at 08:21 AM ---------- Previous post was at 08:18 AM ----------
Narrize said:
so i basically go to twrp recovery, locate the boot.img and than install/flash it via twrp, than wifi should be working?
Click to expand...
Click to collapse
and where can i find the boot.img, do i have to find a file on the internet specific to my ROM, or is it available within the phone itself..?
Narrize said:
so i basically go to twrp recovery, locate the boot.img and than install/flash it via twrp, than wifi should be working?
---------- Post added at 08:21 AM ---------- Previous post was at 08:18 AM ----------
and where can i find the boot.img, do i have to find a file on the internet specific to my ROM, or is it available within the phone itself..?
Click to expand...
Click to collapse
It is available within the ROM package you originally installed using TWRP. The CM ROM itself will be a zip archive. Extract the contents of that zip archive using WinZip, WinRAR, etc. One of the files inside will be the boot.img. Alternatively, you can reinstall the entire ROM without wiping userdata, known as a "dirty flash." But, all that should be needed to get your WiFi working is the boot.img.
rajeshdubey293 said:
For my device it works perfect.you just check with another kernel if it works or not.
Click to expand...
Click to collapse
may I ask how to install it properly becouse my kernel dosnt change after flashing t`the zip with twrp (i am a total noob so forgive me if the question is stupid)
should I creat a .img out of the files that are in the zip?
ok got the kernel running but know I flashed nethunter it worked and wallpper and boot screen changed but non of the apps are showing
rajeshdubey293 said:
Update V 1.3 - Fixed Rebooting
Fixed Rebooting after removing wireless adaptor
Download KERNEL below and flash it.
Download Kernel for Oreo ROM's
Click to expand...
Click to collapse
Thx for kali rom. But there is wifi turn on issue. Any solution !??
Only one issue :-. Wifi not turning on. Any solution plzzzz
Narrize said:
can anyone help me I have flashed this on my moto g3 which has cm 13 installed[6.0.1] but after flashing i cant turn on wifi, it dosnt allow me to switch to wifi on. please help me, thanks in advanced
Click to expand...
Click to collapse
Same bug in my moto G3 osprey :-(.

[ROM][discovery][Pie][9.0] AOSP [Sony Open Devices Project]

{
"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"
}
To God be the glory, a working AOSP ROM for those on both the 50.1 and the 50.2 firmware, Pie flavored! There may still be a few bugs here and there, please read this entire post before using!
**** This is an UNOFFICIAL ROM. Install at your own risk! ****
WARNING: This build SHOULD work on both the H3213 and H3223, but I could only test on a H3223.
Disclaimer: I am not responsible for any damages to your device.
A huge thanks to the Android Open Source Project and Sony Open Devices Project!​
The Sony Open Devices Project (SODP) is an initiative to build Android for phones while being as vendor binary large object (blob) free as possible. There are still a few vendor blobs used in this project, but the goal is to one day be vendor blob free. I don't know if that will ever fully happen, but it is nice to move in that direction. That said, all of my work is completely available for any who wish to use or modify it. I didn't make AOSP, the device trees, or vendor blobs. I simply used and edited existing material. A huge thanks should go to those who actually created this stuff.
This Unofficial AOSP ROM was built for the H3223 (discovery), but may work on some of the other variants, please try at your own risk. However, if you do try it on another variant, please be sure to let me know in the comments how well it worked.
Downloads:
Rom Download link:
Note: This is designed to work with any firmware version of the XA2 Ultra, because you flash a custom OEM partition. I've tested this on 50.1 and 50.2 firmware phones.
http://www.mediafire.com/folder/dl8dcra6ojog5/Sony Open Device Project
IF there is an ENG build, it is marked "ENG" for testing purposes only. It's your phone, you can install anything you want, but I do not recommend installing the ENG build. Use the "USER" or "USERDEBUG" builds.
There are two versions of the project, a vanilla AOSP without Google Apps, and a vanilla AOSP with Google Apps. I have tested both on my phone. If you want Google Apps, you cannot use the gappless version and then flash gapps, it doesn't work, you must use the gapps version if you want Google's apps.
Installation instructions: (DIFFERENT THAN NORMAL! DONE THROUGH FASTBOOT!)
- Download the zip file for AOSP 9.
- Unzip the zip file, and you will find 5 images.
- If using Windows, put these in your folder you use for fastboot, if using Linux, you can do this from any folder.
- Reboot the phone into bootloader/fastboot mode.
- Flash them to your phone, like so (example for Linux)
Code:
$ fastboot flash boot ./boot.img
$ fastboot flash oem ./oem.img
$ fastboot flash system ./system.img
$ fastboot flash userdata ./userdata.img
$ fastboot flash vendor ./vendor.img
$ fastboot reboot
Your phone will now boot into AOSP Pie!
If you plan to install magisk, then let the rom boot once, then go back to TWRP and flash magisk. I recommend making a backup of at least the boot partition first. Magisk is optional, of course. And you do so at your own risk!
What works:
Code:
So far these things that I have tried work, such as
- Display/touch
- Camera (front and back) for pictures and video!
- Phone calls
- Data 3g/LTE
- Bluetooth
- WiFi
- Sound in system, in calls, over bluetooth devices
- MicroSD card (external SD card).
- GPS
- Fingerprint sensor
- Camera Button launches camera and takes photos
- MTP file transfer
etc....
What doesn't:
Code:
Gappless version:
- FM Radio does not work
- The built in Gallery app cannot play back recorded videos from camera. VLC or other apps work fine though.
- Nothing else that I know of, but let me know if you find something!
Gapps version:
- FM Radio does not work
- The built in Gallery cannot play back recorded videos from camera. VLC or other apps work fine though.
--But the Google Photos app can.
-The built in Google Camera app does not work, however, Open Camera, or other camera apps do.
- Nothing else that I know of, but let me know if you find something!
Source Code: https://source.android.com/
Device, kernel, and vendor trees: https://github.com/sonyxperiadev
My GitLab: https://gitlab.com/alaskalinuxuser/
ROM OS Version: 9.0 Pie
ROM Kernel: Linux 4.9.194
Based On: Android Open Source Project
Created 2019-10-03
Last Updated 2019-10-24
Changelog:
20191024
- Fixed MTP crash issue.
20191023
- Sync'd source and fresh rebuild
- Now have a "Gapps included" variant and a "Gappless" variant.
20191004
- Rebuilt kernel
- Fixed camera turning green or crashing
- Fixed general stability.
20191003
- First build, a bit unstable.
- Camera turns green.
- PTP, MTP cause crashes.
- FM Radio does not work.
Notes:
This ROM is very, very, vanilla. It is straight up AOSP. No frills, no mods, no extras. Just pure source.
I personally don't use Gapps anymore, but I did test that the gapps version boots up and connects. That's about all I test with Gapps, though.
I also don't use social media except XDA, so I don't know how well every app works. But if you have issues and have logs, perhaps I can look at them and see what is wrong.
Can I flash back to firmware 50.x.xxxx after flashing this?
Yes, you can. I flashed this and then flashed back to the 50.2 firmware several times while testing. As always, you assume full responsibility for your device, but it worked for me.
Issues/workarounds:
- Video playback from camera. Any camera videos you record work fine, but the built in player can't play them. I downloaded and used VLC app to play them and they work just fine. You can get VLC or other apps from the play store, or here: https://www.f-droid.org/en/packages/org.videolan.vlc/, or if you are using the Gapps included version, you can use Google Photo.
- If you are using the Gapps included variant, the built in Google Camera app does not work. However, using the playstore, I downloaded a number of camera apps, such as Open Camera, and they all worked. I'll try to look into it if I get time.
The only thing i didnt like about aosp is that you cant add features like gravitybox does. And Unfortunatly I need snapchat cause my woman uses it. lol Breaks the safety Net
Couldn't flash gapps? I'll boot into twrp and flash gapps after booting into aosp and nothing? What am I doing wrong... The is will boot and no gapps appear?
Yodasgodfather said:
Couldn't flash gapps? I'll boot into twrp and flash gapps after booting into aosp and nothing? What am I doing wrong... The is will boot and no gapps appear?
Click to expand...
Click to collapse
Good question, I'm not sure, I don't use gapps, but I could try flashing it to see tomorrow. Which gapps did you flash? Opengapps, 64 bit arm, for pie?
alaskalinuxuser said:
good question, i'm not sure, i don't use gapps, but i could try flashing it to see tomorrow. Which gapps did you flash? Opengapps, 64 bit arm, for pie?
Click to expand...
Click to collapse
64 bit nano for pie
Yodasgodfather said:
64 bit nano for pie
Click to expand...
Click to collapse
I installed AOSP, let it boot, downloaded 64 bit nano opengapps, fastbooted into TWRP, flashed the gapps via adb sideload, and rebooted. It didn't crash or hang up on me. However, I've noticed that it doesn't install the playstore app. I'm very confused. I tried this several times with pico, nano, micro, and mindthegapps.
AlaskaLinuxUser said:
I installed AOSP, let it boot, downloaded 64 bit nano opengapps, fastbooted into TWRP, flashed the gapps via adb sideload, and rebooted. It didn't crash or hang up on me. However, I've noticed that it doesn't install the playstore app. I'm very confused. I tried this several times with pico, nano, micro, and mindthegapps.
Click to expand...
Click to collapse
Thank you for looking into it? but yeah same I'm very confused as well but I believe I have found something that I'm not at all familiar with. I found this link that has someone that has a similar issue with the responder saying they can use "adb pull" command to flash Google factory images so it might be worth looking into?
https://stackoverflow.com/questions/41695566/install-google-apps-on-aosp-build
Whoo-hoo! Praise God! Good traction on Android 10! After some tinkering with XOSD source, I've got a booting version of Android 10 with the new 4.14 kernel! Certainly not a daily driver by any means yet, but I'll keep tinkering. I'll add a few teaser shots as well. :victory:
AlaskaLinuxUser said:
Whoo-hoo! Praise God! Good traction on Android 10! After some tinkering with XOSD source, I've got a booting version of Android 10 with the new 4.14 kernel! Certainly not a daily driver by any means yet, but I'll keep tinkering. I'll add a few teaser shots as well. :victory:
Click to expand...
Click to collapse
Awesome look at you go! ?
AlaskaLinuxUser said:
Whoo-hoo! Praise God! Good traction on Android 10! After some tinkering with XOSD source, I've got a booting version of Android 10 with the new 4.14 kernel! Certainly not a daily driver by any means yet, but I'll keep tinkering. I'll add a few teaser shots as well. :victory:
Click to expand...
Click to collapse
Hell yeah man. Thank God we still got one developer on the xa2 ultra threads.
So I've messed with aosp a bit and have found a way to help make things easier. I've installed nanodroid which will give you micro g and it's service and more!
https://nanolx.org/nanolx/nanodroid
I haven't been able to figure it out but it has a setup wizard as well which does give you the option to install the official play store. If any one else can't get that to work then perhaps install osm(gapps) with fdroid and install the "fakegapps" xposed module to get signiture spoofing. Hope this helps?
Yodasgodfather said:
So I've messed with aosp a bit and have found a way to help make things easier. I've installed nanodroid which will give you micro g and it's service and more!
https://nanolx.org/nanolx/nanodroid
I haven't been able to figure it out but it has a setup wizard as well which does give you the option to install the official play store. If any one else can't get that to work then perhaps install osm(gapps) with fdroid and install the "fakegapps" xposed module to get signiture spoofing. Hope this helps?
Click to expand...
Click to collapse
Great work, and good find!
I am currently building this ROM again with built in gapps ... Hopefully, I can have that and an updated version of aosp that is gappless available tomorrow or the next day (so I can test it a bit). I spoke with a few guys on the SODP telegram channel, and they make aosp with gapps built in, so I thought I'd try that to see if that helps you guys who want to use this ROM with gapps.
Good news!
I was able to build AOSP 9 with Gapps built in, and will be posing that once I get it uploaded. (It will take a long time, because I have slow internet.) I'm testing it out on my phone now, everything seems to work here. I will also be posting an update of the gappless version as well.
Thank you so much! I have been waiting for this but when do you think it will be available?
Yodasgodfather said:
Thank you so much! I have been waiting for this but when do you think it will be available?
Click to expand...
Click to collapse
Good news! It is up and posted. Be sure to fully read Post #1, and Post #2 before proceeding.
I tested both the gapps included, and the non-gapps versions on my phone, both worked. With the Gapps version I was able to connect and download several apps, my emails synced, as did photos, etc....
For this rom, the things that I am actively working on are MTP/PTP computer connections.
Also, Android 10 is still in the works, it's just giving me a few fits at the moment, but I will keep working on it. I don't want to release a "half baked" rom, I would like it to be 95%+ functional before putting it up for you to use. Hopefully, that will not take forever. :fingers-crossed:
Love it I did notice the ctsintegrity was false but I fixed it with a magisk module other than that it's great!? I understand from your last post you are working on Android 10 but any idea on when your roms will be updated to 5.0.2 version?
Great news! Praise God! With some great guidance from @MartinX3, and a post by @oshmoun, I was able to apply a patch to the kernel that fixed MTP communications for transferring files to your PC! I have the builds now, and will upload them. My internet is really slow, so it will take a while....
Great news! Praise God! With some great guidance from @MartinX3, and a post by @oshmoun, I was able to apply a patch to the kernel that fixed MTP communications for transferring files to your PC! I have the builds now, and will upload them. My internet is really slow, so it will take a while....
AlaskaLinuxUser said:
Great news! Praise God! With some great guidance from @MartinX3, and a post by @oshmoun, I was able to apply a patch to the kernel that fixed MTP communications for transferring files to your PC! I have the builds now, and will upload them. My internet is really slow, so it will take a while....
Click to expand...
Click to collapse
The new builds have been uploaded, the 20191024 builds have working MTP for file transfers, and the OP has been updated! Enjoy!

[KERNEL][Nethunter] For Pixel 4a (Sunfish) [Android 12] [Android 13]

{
"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"
}
ALYNX Nethunter Kernel for Pixel 4a - [Stock][Android 12/12L]
What is Nethunter ?
Kali NetHunter is a free & Open-source Mobile Penetration Testing Platform for Android devices, based on Kali Linux.​
Click to expand...
Click to collapse
Code:
I'm not responsible for bricked devices, dead SD cards.
Do some research if you have any concerns about features included in this Kernel.
About the kernel :
Kernel is based on stock sources compiled using clang 14.0.7
Features:
Internal Wifi Monitor Mode Support (packet injection doesn't work as it is based on qcacld-3.0 which is not capable of packet injection yet)
HID gadget keyboard/mouse
USB WiFi, mac80211 (Monitor mode, packet capture, packet injection) [Compatibility List]
RTL88XXAU USB WIFI Support
RTL8188EUS USB WIFI Support
ATH9K_HTC USB WIFI Support
Ethernet Support
Bluetooth USB Support
SDR Support
BadUSB
warning: please do not update magisk after flashing the kernel, you can update the magisk before flashing the kernel.
Installation:
Download the zip file containing the kernel .
Flash the zip using twrp or franco kernel manager (Flashing the kernel/zip will preserve the root)
Install Busybox
Download Wireless_firmware.zip open Magisk and install the zip as Magisk module
Install Nethunter store
Install Nethunter app & Nethunter terminal from Nethunter store
Open Nethunter app & Download the full chroot kalifs within the app and let the app setup everything. After it finishes it'll start the chroot automatically.
Update the sources with apt-get update && apt-get upgrade in the chroot using nethunter terminal
Reboot the device
Note: if nethunter app crashes open any android terminal in su environment and paste the following.
Code:
pm grant com.offsec.nethunter android.permission.ACCESS_FINE_LOCATION
pm grant com.offsec.nethunter android.permission.ACCESS_COARSE_LOCATION
pm grant com.offsec.nethunter android.permission.READ_EXTERNAL_STORAGE
pm grant com.offsec.nethunter android.permission.WRITE_EXTERNAL_STORAGE
pm grant com.offsec.nethunter com.offsec.nhterm.permission.RUN_SCRIPT
pm grant com.offsec.nethunter com.offsec.nhterm.permission.RUN_SCRIPT_SU
pm grant com.offsec.nethunter com.offsec.nhterm.permission.RUN_SCRIPT_NH
pm grant com.offsec.nethunter com.offsec.nhterm.permission.RUN_SCRIPT_NH_LOGIN
Screenshots:
Extra
if you want to replace nethunter terminal with termux (not completely nethunter main app will still launch nethunter terminal everytime for any operation but you can access kali chroot environment from termux.
(i know nethunter terminal sucks)
Follow these steps to access the environment from termux:
Install termux from f-droid or from nethunter store
Open termux and install root repo using pkg update && pkg install root-repo tsu wget
Download the script from termux using wget https://raw.githubusercontent.com/name-is-cipher/boot-nethunter/main/install_boot-kali.sh
chmod +x install_boot-kali.sh && ./install_boot-kali.sh
let it setup everything.
restart termux and type boot-kali to access the nethunter chroot environment
if you like my work give this post a like : )
Credits:
Team Kali For Nethunter
momojura For his help
Special Thanks to Nfury00701 for testing the kernel.
XDA:DevDB Information
Alynx Nethunter For Pixel 4a Sunfish
Contributors: V3rB0se
Source Code: https://github.com/V3rB0se/Alynx-nethunter-sunfish
Version Information
Status: Stable
Stable Release Date: 03/07/2022
Created 03/07/2022
Last Updated 23/08/2022
yes ! FINALLY..
Thank you @V3rB0se
Android 13 Update ​Changelog: [2022/08/23]​
Alynx 2.0
- Upstream Android 13 (Blu Spark Kernel)
- Bluetooth Support
- Ethernet Support
- Fix RTL 8XXX SL (Replaced)
- All the goodies from Blu Spark Kernel
Thanks to @eng.stk for his amazing work.
Downloads & Links :
- Flashable Zip: https://mega.nz/file/OEYUkALL#BsMDy6Gs7gDV7CpO46wOQPI-0uC-fnNJ0C1nyPXI3Rc
This is awesome, thanks a ton! Working on latest CalyxOS (Pixel 4a ofc)
Haven't had much time for testing but so far Duckhunter is working. Rucky complains about the kernel for some reason, though... Edit: Nevermind, Rucky works now. I think it just needed a reboot lol
Also, what do you mean don't update Magisk? Should I just re-flash the kernel after updating Magisk? I'm going to have to update at some point.
BrightShard said:
This is awesome, thanks a ton! Working on latest CalyxOS (Pixel 4a ofc)
Haven't had much time for testing but so far Duckhunter is working. Rucky complains about the kernel for some reason, though... Edit: Nevermind, Rucky works now. I think it just needed a reboot lol
Also, what do you mean don't update Magisk? Should I just re-flash the kernel after updating Magisk? I'm going to have to update at some point.
Click to expand...
Click to collapse
its just a warning. because when i tried to update the magisk to v25 it went into bootloop so i had to setup everything. You can visit my pixel 3 nethunter thread. I don't know if it's different from pixel 4 or maybe it was just the v25 update, but you can try to update the magisk and see what happens.
V3rB0se said:
Yeah its just a warning. because when i tried to update the magisk to v25 it went into bootloop so i had to setup everything. You can visit my pixel 3 nethunter thread. I don't know if it's different from pixel 4 or maybe it was just the v25 update, but you can try to update the magisk and see what happens.
Click to expand...
Click to collapse
Ah, got it. I flashed the kernel with the v25 update already installed, so I can't test it, but if another version comes out I will
Man I feel dumb I am sorry I didn't see your message man.
Can confirm it also works on
lineage-19.1-20220707
d33dvb said:
Man I feel dumb I am sorry I didn't see your message man.
Click to expand...
Click to collapse
no worries i just wanted to test the kernel. i thought maybe you could help with test builds since i don't own the device.
Can you add support for TL-WN727N.
Have you included all the kernel modules?
Hritik utekar said:
Have you included all the kernel modules?
Click to expand...
Click to collapse
everything (that is necessary for nethunter to work) is included in the kernel.. should be working fine.
Do you have oneplus8t kernel for android 13 with nethunter support?
V3rB0se said:
Android 13 Update ​Changelog: [2022/08/23]​
Alynx 2.0
- Upstream Android 13 (Blu Spark Kernel)
- Bluetooth Support
- Ethernet Support
- Fix RTL 8XXX SL (Replaced)
- All the goodies from Blu Spark Kernel
Thanks to @eng.stk for his amazing work.
Downloads & Links :
- Flashable Zip: https://mega.nz/file/OEYUkALL#BsMDy6Gs7gDV7CpO46wOQPI-0uC-fnNJ0C1nyPXI3Rc
Click to expand...
Click to collapse
Nice work.. However, after flashing this one with TWRP 3.7.0_12-0, I cannot boot on slot A. Just slot B where TWRP is. So I'm stuck on TWRP for now.
Any idea about what went wrong? Or what are the next steps you would recommend to troubleshoot?
Thanks!
LABuse56 said:
Nice work.. However, after flashing this one with TWRP 3.7.0_12-0, I cannot boot on slot A. Just slot B where TWRP is. So I'm stuck on TWRP for now.
Any idea about what went wrong? Or what are the next steps you would recommend to troubleshoot?
Thanks!
Click to expand...
Click to collapse
Flash stock kernel and then try using ex kernel manager or franco kernel manager to flash the kernel.
V3rB0se said:
Flash stock kernel and then try using ex kernel manager or franco kernel manager to flash the kernel.
Click to expand...
Click to collapse
I don't know what the #@$ I need with TWRP.. Usually I have no pbs.... But thanks! I worked perfect with Franco... I might use it instead in the future!
There is no RTL88XXAU and RTL8188EUS USB WIFI Support.
My wifi cards are not detected.
You can also add support for internal blutooth as is very easy
cr4sh-lab said:
There is no RTL88XXAU and RTL8188EUS USB WIFI Support.
My wifi cards are not detected.
You can also add support for internal blutooth as is very easy
Click to expand...
Click to collapse
Rtl8188EUS is in there idk why it's not working for you.
V3rB0se said:
Rtl8188EUS is in there idk why it's not working for you.
Click to expand...
Click to collapse
Solution: did my own kernel instead
Hi, new to the forum and the world of rooted devices. I've Just installed on Pixel 4a (4G) Android 13; all is working well, as far as I can tell; thank you.
A couple of issues though; my Atheros chipset is not working (AR5271, I think); my 2800usb, on the other hand, is working well.
The other issue is the boot animation. There is no */system/media* directory and I cannot find the actual media directory (again, I am using a Pixel 4a (4G). On these issues, any assistance would be greatly appreciated.

Categories

Resources