Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Nexus 6P (angler) Android 8.1 kernel support #174

Merged
merged 1 commit into from Feb 17, 2019

Conversation

Projects
None yet
4 participants
@kimocoder
Copy link
Contributor

kimocoder commented Feb 17, 2019

Forked the source from "jcadduono" which was based on v3.10 sources from google,
merged 355+- upstream patches of v3.20 onto it and added the wifi modules.

Tested and working on the latest official firmware of Android v8.1 build for Nexus 6P.

馃

@kimocoder

This comment has been minimized.

Copy link
Contributor Author

kimocoder commented Feb 17, 2019

@Re4son this should be a walk in the park 馃憤 馃崝
WIFI & HID is working.
Nexmon is also working on this specific firmware.

Kernel sources is over here

screenshot_20190216-213658

screenshot_20190216-215639

screenshot_20190216-220847

screenshot_20190216-215853

@SymbianSyMoh

This comment has been minimized.

Copy link

SymbianSyMoh commented Feb 17, 2019

@kimocoder That's super cool, Can you confirm that the bluetooth of the device works fine without any problems?

I have Nexus 6P (Android 7.1.2) Kernel version (3.10.73-nethunter-angler-1.1) Build number (N2G48C) but the bluetooth is not working at all, rest of the functions Wifi/HID/DriveDroid emulation works totally fine.

@SymbianSyMoh

This comment has been minimized.

Copy link

SymbianSyMoh commented Feb 17, 2019

@Re4son I believe it's time to port it to Planet Computer's GEMINI PDA beside the Kali Linux image, no?

@kimocoder

This comment has been minimized.

Copy link
Contributor Author

kimocoder commented Feb 17, 2019

Bluetooth is also working just fine <3

@Re4son

This comment has been minimized.

Copy link
Collaborator

Re4son commented Feb 17, 2019

@SymbianSyMoh Working on it - give me a couple of days :-)

@SymbianSyMoh

This comment has been minimized.

Copy link

SymbianSyMoh commented Feb 17, 2019

Thanks a lot for the feedback, time to upgrade Android to get rid of the annoying notifications regarding the upgrade hahaha

@Re4son Re4son self-requested a review Feb 17, 2019

@SymbianSyMoh

This comment has been minimized.

Copy link

SymbianSyMoh commented Feb 17, 2019

@SymbianSyMoh Working on it - give me a couple of days :-)

That's the spirit <3

@Re4son Re4son merged commit 29b95d7 into offensive-security:master Feb 17, 2019

@kimocoder

This comment has been minimized.

Copy link
Contributor Author

kimocoder commented Feb 17, 2019

@SymbianSyMoh you must use a workaround in order to get the kalifs in place.
After you have rooted, install "stericsson busybox" to "/system/xbin/" - connect to pc and go into "adb shell", then "su" and cd "/data/local/nhsystem" and download the kalifs file by hand with "wget https://build.nethunter.com/kalifs/kalifs-latest/kalifs-armhf-minimal.tar.xz" (or "curl -O https...")

then simply do "xz -d *.tar.xz", then "tar xvf *.tar" then you have it! "rm -rf *.tar.xz" to cleanup

I have reported the issue in another thread, so it will be checked upon soon.

@SymbianSyMoh

This comment has been minimized.

Copy link

SymbianSyMoh commented Feb 17, 2019

Great, so the automatic installation of kalifs through Nethunter's app is not working for now at least, well manually is always good too for debugging.

@SymbianSyMoh you must use a workaround in order to get the kalifs in place.
After you have rooted, install "stericsson busybox" to "/system/xbin/" - connect to pc and go into "adb shell", then "su" and cd "/data/local/nhsystem" and download the kalifs file by hand with "wget https://build.nethunter.com/kalifs/kalifs-latest/kalifs-armhf-minimal.tar.xz" (or "curl -O https...")

then simply do "xz -d *.tar.xz", then "tar xvf *.tar" then you have it! "rm -rf *.tar.xz" to cleanup

I have reported the issue in another thread, so it will be checked upon soon.

Great, so the automatic installation of kalifs through Nethunter's app is not working for now at least, well manually is always good too for debugging.

@faloyeh

This comment has been minimized.

Copy link

faloyeh commented Feb 20, 2019

@kimocoder I "think" there is an issue with wireless modules at least I'm not able to load them.

root@kali:~# cat /proc/version
Linux version 3.10.73-nethunter-angler-3.0 (root@kimocoder) (gcc version 5.4.1 20170404 (Linaro GCC 5.4-2017.05) ) #1 SMP PREEMPT Sun Feb 17 01:19:09 CET 2019

root@kali:~# lsmod
Module Size Used by

root@kali:~# modprobe ath9k_htc
modprobe: ERROR: could not insert 'ath9k_htc': Exec format error

Full details here:

kimocoder/android_kernel_huawei_angler@8b6e249

Am I wrong here?

Thanks!

@kimocoder

This comment has been minimized.

Copy link
Contributor Author

kimocoder commented Feb 21, 2019

@faloyeh you are correct infact, modinfo shows correct but it gets the exec format error.
I went offshore for work for 1 month, but the kernel sources is available at my repo over here https://github.com/kimocoder/android_kernel_huawei_angler/tree/nethunter-8.0

Someone should fix the modules as I'm not home for a month now.

@Re4son is tagged and notified

@faloyeh

This comment has been minimized.

Copy link

faloyeh commented Feb 22, 2019

@kimocoder Thanks a lot for your reply!

As for the kernel panic , at least symptom wise, it might be similar to what has been dealt with in issue #168 .. I will try to figure out what the solution has been to avoid the kernel panic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can鈥檛 perform that action at this time.