wpa_supplicant WPA2 patch for Androiod (KRACK)? - Networking

Hi everyone,
You may have seen recent publication about WPA2 vulnerbilities (called KRACK): https://arstechnica.com/information...l-leaves-wi-fi-traffic-open-to-eavesdropping/
A wpa_supplicant patch is already released: https://w1.fi/cgit/hostap/commit/?id=a00e946c1c9a1f9cc65c72900d2a444ceb1f872e
Does anyone know whether it is already included in recent LineageOS builds?

Okay, patches are now included:
https://review.lineageos.org/#/q/st...wpa_supplicant_8+branch:cm-14.1+topic:krack-n

Manual patch of retired models?
Hi,
is there a way to patch a phone that is no longer supported by the vendor?
Let's say, root the phone, compile patched wpa_supplicant and replace it somehow. Is it possible?

Related

[Q] wpa_supplicant for gt-p6810

I have the wifi only version of the SGT7.7 and it annoys me that the built in wpa_supplicant filters out ad-hoc networks. I am in the process of setting up a development environment for this device but I need the right version of the wpa_supplicant source code. Anyone point me to it?
In any case, this process is somewhat like bashing my head against a brock wall - given the various different toolchains, etc. Anyone want to post a compiled version of ad-hoc wpa_supplicant for this device and put me out of my misery?
Multiple hits out there on the interwebs for other Android devices but none of them work on mine. So far. Size of the binary is way too small in most cases.
This device is running Honeycomb (3.2) right now - fingers crossed for ICS soon. I have rooted it, of course.
# ./wpa_supplicant -version
wpa_supplicant v0.8.x
Copyright (c) 2003-2011, Jouni Malinen <[email protected]> and contributors
Source found
at github.com/CyanogenMod/android_external_wpa_supplicant_8.git
don't know if it's the right source, given it's the ICS stream.
Any joy with this one? I too am after a wpa_supplicant that will enable ad-hoc on SGT7.7.
working on it
Not yet. Still trying to get the right toolchain setup so this thing compiles without error. In my limited free time.
Thanks texkelly. Appreciate the effort.
If there's any testing I can help out with I'd be happy to. I have a rooted SGT 7.7 and have tried the variety of wpa_supplicant files that are already available.
Resurrecting an old thread.
Any updates on this? It would be very helpful to enable ad-hoc so I can share my Smartphone's/Laptop's connection easily.
Thanks in advance.
Extra reading:
http://szym.net/2010/12/adhoc-wifi-in-android/
http://www.olsr.org/?q=olsr_on_android
Tried olsr (rel 0.5) on P6800 but isn't working. Is there a newer version (rel 0.6) here http://www.olsr.org/releases/0.6/ but not a precompiled samsung android version for binaries.
At this moment for adhoc wifi usage only chance is to use CM (9 & 10) but unfortunately both version suffers in wifi drivers (Atheros closed sources drivers) and are still unstable - tethering issues, signal quality, bizarre activation behaviour...
Resurrecting the thread. Anyone?

adhoc patch wpa_supplicant_8

Hello everyone,
I own the NExus 7 and the missing adhoc capability bugs me.
Sadly there is no public available patch for the wpa_supplicant_8 (which is the v8 of this file).
In http://www.slatedroid.com/topic/31094-request-compile-ad-hoc-enabled-wpa-supplicant/ user alex mentioned he changed the code of the v6 patch from
http://dl.xda-developers.com/attachdl/1967d77f4caf72d003889b890e6a31dd/50471c4c/3/8/2/0/5/5/diff.txt
to v8, but he seems to not receiving thread updates.
Could anyone in this forum modify the v6 patch to work with v8? I then will compile my own wpa_supplicant and share it with whoever it needs!
thanks in advance!
bye
(PS: I am not allowed to post this devel threads as a new user, sorry)

Sero 7 Pro Modifying ROM for ad hoc Wi-Fi

I am posting here asking for help, assistance, coaching.
It seems to me that I have all the pieces to properly modify the Sero 7 Pro ROM to accept ad hoc Wi-Fi connections. I've spent several days trying to find a simple step-by-step guide for applying github patches to existing kernels and flashable ROM. I have come to believe that no such simple guide/aid exists because the process itself appears to be complex.
The Nexus 7 CyanogenMod has been successfully modified for ad hoc Wi-Fi. My research indicates that the Sero 7 and the Nexus 7 are similar enough that the same patches should be able to be applied to the Sero 7 ROM. The Nexus 7 and Sero 7 both:
Use Android Jelly Bean 4.2.X
Have the same processor, 1.3GHz NVIDIA Tegra 3
Use the same Wi-Fi Chip, Broadcom BCM4330
Kernels use the same Driver, Broadcom bcmdhd Version 5.90.195.104
What I have is the kernel source
http://hisense-usa.com/support/firmware/Sero%207%20Pro_kernel_opensource_us.tar.gz
The full Stock ROM, latest version
https://skydrive.live.com/redir?resid=F7DECBA5BB726100%21108
Patches applied to Nexus 7 CyanogenMod ROM with detailed discussion
http://www.thinktube.com/android-tech/46-android-wifi-ibss
Briefly summarizing the discussion and code contained in the above Thinktube webpage:
The Kernel is patched making changes to the bcmdhd Wi-Fi driver
The ROM is patched making changes
to the wpa_supplicant
a few additions to the Android framework and
some changes to the Settings App
So in concept it seems pretty straightforward. Where I am struggling is the whole github process of applying the patch to the Kernel source. Then compiling the modified Kernel source. And applying the remaining patches to the ROM with the newly modified Kernel.
I need someone willing to work with me on the github piece. Or alternately coach me through that process.
So the resounding lack of response tells me either I've posted on the wrong forum or it is indeed as complex and cumbersome as I suspected.
But I may have figured out how to accomplish it myself. I have NOT figured out the github process. But I do know a little Linux and do run a virtual Ubuntu machine.
So I :
1. manually modified the Broadcom bcmdhd in the kernel source line by line.
2. swapped the wpa_supplicant file in the Sero7 stock ROM with the one from the Nexus 7 CyanogenMod ROM.
3. extracted the needed sero7_defconfig and initramfs.cpio.gz files
4. compiled the modified kernel source code and created a new boot.img
5. inserted the new boot.img to complete the modification of the Stock ROM
And if this all works, I’ll post my fix in a new thread, perhaps “Sero 7 Pro hoc Wi-Fi Fix”
wpa_supplicant
bardell3600 said:
So the resounding lack of response tells me either I've posted on the wrong forum or it is indeed as complex and cumbersome as I suspected.
But I may have figured out how to accomplish it myself. I have NOT figured out the github process. But I do know a little Linux and do run a virtual Ubuntu machine.
So I :
1. manually modified the Broadcom bcmdhd in the kernel source line by line.
2. swapped the wpa_supplicant file in the Sero7 stock ROM with the one from the Nexus 7 CyanogenMod ROM.
3. extracted the needed sero7_defconfig and initramfs.cpio.gz files
4. compiled the modified kernel source code and created a new boot.img
5. inserted the new boot.img to complete the modification of the Stock ROM
And if this all works, I’ll post my fix in a new thread, perhaps “Sero 7 Pro hoc Wi-Fi Fix”
Click to expand...
Click to collapse
Oh boy! I've been waiting to hear if someone got the ad-hoc going on the Sero 7 Pro. I've posted asking for help doing this too but never seemed to get a working answer. Did you get yours working and if so could you please post the wpa_supplicant file for the Sero? I would sure like to wifi tether to the Sero. It's the only device I have that doesn't see my phone's wifi.
Thanks a bunch!
Bob

Looking for Hardware Blobs Compatible With the AOSP Master Branch

Hi everyone,
I am wanting to compile stock AOSP from the master branch per the instructions provided on the AOSP website. However, when looking for the proprietary binaries that are needed to enable hardware functionality, there are no binaries available for my Nexus 7 (WiFi, 2012). Has anyone managed to find any binaries that would be compatible that I could install into the source tree prior to commencing the build? I'm honestly not sure what I should be Googling for, if such binaries even exist. I can find binary blobs for the 2013 model (Flo), but the newest blobs I can find for the 2012 model are for 5.1.1.
Thanks in advance for all your help!
Tyler K.

Merging Newest Security Patches to Kernel

Just ordered the phone today, will get it today , but my model is CAZ-AL10. Anyway, only thing I think the kernel really needs is maybe some governor/IO schedule options and the latest security patches from google. Is anyone working on this? I downloaded the source, and have done some basic kernel building, basically building someone else's git repo, but how would one go about merging the latest security patch to the kernel? I know how to add governor/IO stuff, but I have looked all over and cannot find anything to help me with this question. Is it just a matter of syncing AOSP source?

Categories

Resources