yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] mosca_:
Thanks for your work.

I am excited to read your progress.

Thank you.
[Samsung Galaxy Nexus] kenshin33:
5Ghz works, WPA (2 i think as it has been a very longtime since I touched the router config). wifi direct have no clue

tethering as you said no,

it seems as if when the card is deactivated to the formware is not reloaded at all (enabled debug/info in the driver). it goes off and stays off, hostapd fail;s when setting up AP mode

in here :

static int nl80211_register_beacons(struct wpa_driver_nl80211_data *drv,
struct nl80211_wiphy_data *w)
{...}
[Samsung Galaxy Nexus] metalspring:
well thats a start... maybe search through the code of the original kernel file and try to find any references to those lines, or tethering, etc and then maybe add them back in then see if it works

Btw, right now you could post the kernel somewhere and ask different people to test it to see if anything else doesnt work, if the overall wifi performance is better/worse/about the same

I've been testing it (I dont really use tethering so no big deal there) and it seems to work better with less disconnects or stalls and I also seem to get a little better reception

One other thing you might want to add in just for testing is the wifi pm fast patch so other kernels could use the newer driver without extra issues
[Samsung Galaxy Nexus] kenshin33:
https://docs.google.com/file/d/0B3x6rnZK4-jLWGV5bUdPQWFTT3c/edit

the whole thing

I'm trying to do just that (spent the day actually on it :S)

or just the boot image : https://docs.google.com/file/d/0B3x6rnZK4-jLWUtzY3NhZHZpUGM/edit

can use fastboot boot (without permanently flashing it)
[Samsung Galaxy Nexus] sd3993:
Everything seems to work fine other than WiFi tethering(which you're already aware of).

No crashes/reboots/freezes yet.
[Samsung Galaxy Nexus] wavedashdoc:
So is this a 3.4 kernel? Or a 3.0 with GPU fixes? Interested in testing!
[Samsung Galaxy Nexus] sd3993:
This is the stock cm11 kernel with newer wifi drivers. Not sure if the new gpu drivers are in them. Breaks wifi tethering.
[Samsung Galaxy Nexus] Ashtrix:
For WiFi direct we need an app from playstore to get it working for filesharing...:good: & thanks for your work !!

When AK developed the kernels for NP, his kernels were patched with newer WiFi drivers and i'm pretty sure that they worked well :cyclops:
[Samsung Galaxy Nexus] Sdobron:
No. His update WiFi drivers didn't even work with WPA security, so this is still an improvement over AKs kernels.
[Samsung Galaxy Nexus] Nephilim:
Incorrect, AK's kernels did not work with WEP security which is outdated and not very secure, WPA works fine on his kernels.
[Samsung Galaxy Nexus] martinko23:
But many people use it..

Envoyé de mon Galaxy Nexus en utilisant Tapatalk
[Samsung Galaxy Nexus] Mevordel:
Have you tried updating the nl80211/wext framework to 3.4 to match the drivers?
[Samsung Galaxy Nexus] Nephilim:
I edited my last post, the person I was responding to was wrong, AK Kernels did not work with the outdated WEP WiFi security, WPA worked fine on all AK Kernels.

Anyone that still has a WEP secure router is just asking to be hacked and should spend the small amount it takes to upgrade to a WPA router.
[Samsung Galaxy Nexus] bsmitty83:
so heres an error i keep getting on aosp/aokp when building a rom , i dont know what it is but ive seen it a few times on both roms im trying to build

anybody know what this is ?

make: *** No rule to make target `/home/bsmitty/android/aokp/out/target/product/toro/obj/STATIC_LIBRARIES/libdumpstate.tuna_intermediates/export_includes', needed by `/home/bsmitty/android/aokp/out/target/product/toro/obj/EXECUTABLES/dumpstate_intermediates/import_includes'. Stop.
[Samsung Galaxy Nexus] Link_of_Hyrule:
I would say a lot of people use tethering so that's definitely something that needs to work. Hopefully you can get that if it has better Wi-Fi awesome although I never thought there was problems with the Wi-Fi anyways.
[Samsung Galaxy Nexus] PlayfulGod:
ppl still use WEP??? I'd just run a open network b4 I use WEP. lol
[Samsung Galaxy Nexus] Nephilim:
No doubt lmao!
[Samsung Galaxy Nexus] metalspring:
what is the first error that pops up? those are usually more descriptive than then make error output

But if I had to guess, something is off in your /devices/samsung/toro or /devices/samsung/tuna directories
[Samsung Galaxy Nexus] bsmitty83:
That is the first and only error , I'm running on "make -j1" so after a few hrs that's it . that's what I don't get usually it'll say where the error is but all I get is a file that is compiled needs another compiled file that's not there . its aokp source with my device and vendor folded. Im compiling for the new GPU drivers .
[Samsung Galaxy Nexus] aosp:
[MENTION=4328678]metalspring[/MENTION] [MENTION=1664077]kenshin33[/MENTION]

Had some time to check the code so

if you still using the kernel with the new WiFi drivers flash this please and let me know if it fixes tethering thanks ;) http://goo.gl/f8eOxu
[Samsung Galaxy Nexus] aosp:
You applied this?

tuna: update flag for dumpstate library · 9b1945b · VanirAOSP/device_samsung_tuna · GitHub - http://goo.gl/LX21S2
[Samsung Galaxy Nexus] bsmitty83:
yes its included in AOKP kitkat source
[Samsung Galaxy Nexus] metalspring:
You might have to do make -j1 showcommands

Or make -V=1 -j1

Not sure which one will work best but that might at least show you where and why the build is failing

I'd have to guess it's a makefile trying to use some resource not in your directory
[Samsung Galaxy Nexus] aosp:
Doesn't look like aokp is very active or on top of things lately why not use cm repos or [MENTION=4112553]dhacker29[/MENTION] repos with the changes you make?
[Samsung Galaxy Nexus] metalspring:
Nice, it works now with no security, wpa psk and wpa2 psk

What were those files from so credit can be given and kenshin33 can push those changes to cm's gerrit so they can include it?
[Samsung Galaxy Nexus] bsmitty83:
I might switch to cm , ( I kinda have an issue with cm ATM , specifically cm.inc , but its another topic lol ) just since its what all the cool kids are doing :p , I was just starting from a point where I knew the ROM built before I changed things like PVR , but I'll do as you suggest since its more of a unified start point :beer:
[Samsung Galaxy Nexus] supernova_00:
A lot of places that offer free wifi do which is why Franco did not/and still doesn't use the updated wifi drivers with his kernel for our phones, plus wifi tethering being broken.
[Samsung Galaxy Nexus] kenshin33:
didn't try it yet but yeah + what did you change ?

I went thouroug the kernel code (I'm no expert though, I canread C but I have no clue as to how the wireless system nor the driver(s) work). nothing seemed out of the ordinary. my next stop was hostapd.
[Samsung Galaxy Nexus] metalspring:
oops, my bad i forgot i had flashed a test kernel of my own after yours and even with the zip aosp made, no wifi tethering on yours :(

same error too

E/hostapd ( 5766): Configuration file: /data/misc/wifi/hostapd.conf

I/hostapd ( 5766): rfkill: Cannot open RFKILL control device

E/hostapd ( 5766): nl80211: Failed to set interface wlan0 into AP mode

E/hostapd ( 5766): nl80211 driver initialization failed.

E/hostapd ( 5766): Failed to initialize interface
[Samsung Galaxy Nexus] aosp:
[MENTION=1664077]kenshin33[/MENTION]

Try reverting back to the stock WiFi drivers then apply the commit below

bcmdhd: upgrade to 1.28.4 (r339952) - Thanks to Master: renaudallard · d21079a · anarkia1976/AK-tuna · GitHub - http://goo.gl/HstnKH

Add these to the defconfig too please

CONFIG_IKCONFIG=y

CONFIG_IKCONFIG_PROC=y
[Samsung Galaxy Nexus] :
I wish you guys could just sit in a room for a day and work together :( we'd probably be testing nightlies by now!

Thanks for reading, won't disturb anymore :)
[Samsung Galaxy Nexus] PlayfulGod:
nah its mako holding nightlies up. lol
[Samsung Galaxy Nexus] aosp:
[MENTION=4112553]dhacker29[/MENTION] [MENTION=2999829]PlayfulGod[/MENTION] [MENTION=4608636]bsmitty83[/MENTION]

Tuna can ;) http://xdaforums.com/showthread.php?p=47828896

[MENTION=1664077]kenshin33[/MENTION] [MENTION=4328678]metalspring[/MENTION]

This patch can be used instead to upgrade the drivers

net: wireless: bcmdhd: use new Linux 3.4 drivers - version 1.28-27 · 4b57d3d · tiny4579/tinykernel-gnex · GitHub - http://goo.gl/n9F9Yf

As far as tethering goes with the newer GNeX WiFi drivers little tweaks can be made like changing this in the tuna BoardConfig.mk

WPA_SUPPLICANT_VERSION * * *:= VER_0_8_X

to

WPA_SUPPLICANT_VERSION * * *:= VER_2_1_DEVEL

newest hostap android-kk

http://goo.gl/ogScJG

tuna_ak_defconfig + Makefile: Adjust some Configurations for WIFI · 8a0ec04 · anarkia1976/AK-tuna · GitHub - http://goo.gl/JGXoMi

bcmdhd/Kconfig: Fix path /system/vendor/firmware/fw_bcmdhd.bin · 92e120e · anarkia1976/AK-tuna · GitHub - http://goo.gl/WQO3k8

CONFIG_CFG80211=y

CONFIG_NL80211_TESTMODE=y

CONFIG_RFKILL=y

CONFIG_BCMDHD_FW_PATH="/vendor/firmware/fw_bcmdhd.bin"

CONFIG_BCMDHD_NVRAM_PATH="/etc/wifi/bcmdhd.cal"

CONFIG_DHD_USE_SCHED_SCAN=y

CONFIG_BCMDHD=y

CONFIG_WIRELESS=y

CONFIG_RFKILL_PM=y

CONFIG_RFKILL_INPUT=y

CONFIG_CFG80211_ALLOW_RECONNECT=y

CONFIG_WIFI_CONTROL_FUNC=y
[Samsung Galaxy Nexus] shriom_manerker:
you need to have two titles ! recognized contributor and recognized developer :) thanks for all your contributions bro :) and i hope they keep coming :p
[Samsung Galaxy Nexus] bsmitty83:
So I finally got cm11 to compile my kernel inline , with the new modules (PVR) but I'm hitting some other errors farther into the build. If I can get around those , we might have a test ROM soon , although not sure if the drivers work or not , I'm getting close ........
[Samsung Galaxy Nexus] Grarak:
What errors?
[Samsung Galaxy Nexus] bsmitty83:
Can't remember off the top of my head, I'll post the error as soon as I get in front of my computer
[Samsung Galaxy Nexus] tobiascuypers:
Yea when you get a chance to tell us the errors that would be great. I can see what I can do
[Samsung Galaxy Nexus] bsmitty83:
ok heres the lastpart of my build with the error(s)

target thumb C++: libandroidfw <= frameworks/base/libs/androidfw/ResourceTypes.cpp

frameworks/base/libs/androidfw/ResourceTypes.cpp:69:13: warning: unused parameter 'cookie' [-Wunused-parameter]

static void printToLogFunc(void* cookie, const char* txt)

^

frameworks/base/libs/androidfw/ResourceTypes.cpp:69:13: warning: unused parameter 'txt' [-Wunused-parameter]

frameworks/base/libs/androidfw/ResourceTypes.cpp:2925:10: warning: unused parameter 'asset' [-Wunused-parameter]

status_t ResTable::add(const void* data, size_t size, void* cookie,

^

frameworks/base/libs/androidfw/ResourceTypes.cpp:3350:17: warning: unused parameter 'tmpBuffer' [-Wunused-parameter]

const char16_t* ResTable::valueToString(

^

frameworks/base/libs/androidfw/ResourceTypes.cpp:3375:6: warning: unused parameter 'bag' [-Wunused-parameter]

void ResTable::unlockBag(const bag_entry* bag) const

^

frameworks/base/libs/androidfw/ResourceTypes.cpp: In static member function 'static bool android::ResTable::stringToFloat(const char16_t*, size_t, android::Res_value*)':

frameworks/base/libs/androidfw/ResourceTypes.cpp:4207:38: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]

*(float*)(&outValue->data) = f;

^

frameworks/base/libs/androidfw/ResourceTypes.cpp: In member function 'void android::ResTable::print_value(const android::ResTable::Package*, const android::Res_value&) const':

frameworks/base/libs/androidfw/ResourceTypes.cpp:5574:54: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]

printf("(float) %g\n", *(const float*)&value.data);

^

frameworks/base/libs/androidfw/ResourceTypes.cpp: In member function 'void android::ResTable::print(bool) const':

frameworks/base/libs/androidfw/ResourceTypes.cpp:5737:84: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

printf("NON-INTEGER ResTable_entry SIZE: %p\n", (void*)esize);

^

frameworks/base/libs/androidfw/ResourceTypes.cpp:5743:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

(void*)esize, (void*)typeSize);

^

cc1plus: some warnings being treated as errors

make: *** [/home/bsmitty/android/CyanogenMod/out/target/product/tuna/obj/SHARED_LIBRARIES/libandroidfw_intermediates/ResourceTypes.o] Error 1

bsmitty@bsmitty-HP-EliteBook-8730w:~/android/CyanogenMod$

any help you guys give will be appreciated
[Samsung Galaxy Nexus] ScardracS:
Have you made a clean build?
[Samsung Galaxy Nexus] bsmitty83:
no , not for the last build , but ill give it a shot , it'll take some time .
[Samsung Galaxy Nexus] ScardracS:
Ok.. I think that could be one solution but I haven't any other idea about your problem
[Samsung Galaxy Nexus] RW-1:
Hi, I don't wish to sidetrack the thread, but this is related, seems the CM11 has a cherry pick implemented that have corrected the rotation glitching on the GNex, the screenshot glitch remains however the image is good. Released today.

I'm curious as to what those may have been in relation to similarly how a rollback was implemented for webview, versus what I'd want to call a real "Fix".
[Samsung Galaxy Nexus] PlayfulGod:
these??

http://review.cyanogenmod.org/54546

http://review.cyanogenmod.org/54545
[Samsung Galaxy Nexus] Sdobron:
Yes the webview fix led to lag and poor performance. I hope another alternative will be used soon.
[Samsung Galaxy Nexus] PlayfulGod:
other than in the stock browser???? I have not experienced that.
[Samsung Galaxy Nexus] kenshin33:
Work (didn't try as I'm not home and don't have access to other device) but id doesnt fail as b4

Btw it is with 1.88.45
[Samsung Galaxy Nexus] RW-1:
To quote Big Macintosh : "Yep"

Those are them.

I could be incorrect, only going by most comments, I have not tried it myself (Sorry, I'm waiting patiently for BaldwinGuy and a new Shiny build with the commits he chooses to do, should be interesting - I'll let the thread continue, you guys have a lot of hard work to iron out)
[Samsung Galaxy Nexus] PlayfulGod:
working fine on maguro with the exception of doing a screenshot, animation still glitches but image is fine. Toro & toroplus feedback has been mixed, but yanno how that goes with the masses. lol

I have the prop implemented as I proposed into the tuna device.mk.
[Samsung Galaxy Nexus] Nephilim:
? Where are you getting this lag and poor performance, I am on swordrune's CM11 unofficial builds and the last two with the webview fix implemented show no difference in performance than the ones that still had the black box issues. Maybe the kernel you are using or the settings you are causing issue or possibly a rogue application because 4.4 runs just as smooth after the fix.

Agreed, although I prefer Chrome so I delete stock browser from the rom zip before I install anything.
[Samsung Galaxy Nexus] Sdobron:
That's what I mean. In aosp browser
[Samsung Galaxy Nexus] Nephilim:
Probably should have specified that it was only the stock browser that was giving you lag. ;)
[Samsung Galaxy Nexus] sagara.sandaru:
I noticed alot of lag in apps like feedly, circa etc.. Is chromeview more resources hungry than webview?
[Samsung Galaxy Nexus] shriom_manerker:
people are right about anything that uses the webview lags, gmail,aosp browser. (its not as smooth as 4.3 was ) its about 15-30 fps frame rates depending on the content. if you go to google.com and tap that menu bar and scroll down all the google based websites(+you,search,images) in the black panel it really lags in that perticular area
[Samsung Galaxy Nexus] aosp:
[MENTION=4608636]bsmitty83[/MENTION] you using [MENTION=4112553]dhacker29[/MENTION] tuna kernel repo?

defconfig: enable omapflb · addefa0 · dhacker29/android_kernel_samsung_tuna · GitHub - http://goo.gl/lYlIri

latest [MENTION=4112553]dhacker29[/MENTION] builds

http://androidhosting.org/Devs/Dhacker29/maguro/cm-11-20131126-UNOFFICIAL-maguro.zip

http://androidhosting.org/Devs/Dhacker29/toro/cm-11-20131126-UNOFFICIAL-toro.zip

http://androidhosting.org/Devs/Dhacker29/omap4/gapps-kk-20131120-no_set_metadata.zip
[Samsung Galaxy Nexus] bsmitty83:
Yea I was using his kernel just so I have a common start point as everyone else . all the errors I got yesterday were because I deleted the common/overlays folder , but still no build .

I might try again with a different source for the ROM maybe , 4.3 or 4.2 , also I am using hashcodes otter PVR source , dhacker29's I couldn't make , but hashes worked .
[Samsung Galaxy Nexus] Suxsem:
Please if there are any updates let we know... This thread is the most interesting one in this section I think and it's a pleasure to read it :)
[Samsung Galaxy Nexus] ScardracS:
All we want to know if there are any updates but they (devs) need time to fix all the bugs before release a first version of kernel 3.4
[Samsung Galaxy Nexus] bsmitty83:
Basically a 3.4 kernel is a far ways off , right now adb is about all that works so yea ....

As for the newer gpu drivers , im still working on that , but as of now it dosent work for me . I am building 4.4 vanir for myself since i havent seen it , once its done ill take a crack at making it with the newer drivers .

Im gonna try to make the module built in to the kernel like it is currently instead of a module as the new one calls for .

Happy Thanksgiving everyone , time to watch my Lions embarrass themselves

Lol
[Samsung Galaxy Nexus] tobiascuypers:
I don't even have a gnex anymore and I still appreciate your input. Time to watch my Packers lose (;
[Samsung Galaxy Nexus] metalspring:
not to be off topic but is vanir still using linaro toolchains? I know thats usually what they used in the past but somehow linaro kills ART runtime

And [MENTION=1664077]kenshin33[/MENTION] any progress on the new wifi drivers?
[Samsung Galaxy Nexus] bsmitty83:
I don't think they are , I haven't seen any linaro toolchains in my source , and the default kernel isnt built with -O3

I'm lazy today and don't feel like looking tho lol :p
[Samsung Galaxy Nexus] dhacker29:
The webview was NOT a roll back it was an upstream cherry-pick from chromium that fixed the issue.........
[Samsung Galaxy Nexus] ILA:
But that still isn't a real fix, but a workaround, right?
[Samsung Galaxy Nexus] dhacker29:
Well that was chromium's fix to the issue. So yes. New PVR blobs still need this fix to work.
[Samsung Galaxy Nexus] kenshin33:
basically as ASOP said. newr hostap is needed

https://www.codeaurora.org/cgit/ext...a_supplicant_8/log/?h=caf/upstream/android-kk

grab the head of android-kk (in wich ever way you want)

that should do it.

one thing that needs changing in : hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c

os_strncpy -> os_strlcpy

in my case AP mode works, I get my tablet to connect, pings the phone but that's it, no internet connection, as there's no masquerading going on, if I add the rule manually, it works.

if you don;t want to build yourself I'll uploaded as soon as it finishs building (just synced)

so I think may it is a probleme with AFwall or something, but driver wise and hostapd it is working.

I put it in as a comment in gerrit, but nobody seems to be interested.

for now I have it running on my own phone

[MENTION=4608636]bsmitty83[/MENTION] why not try to integrate the new pvr drivers to currently working kernel (3.0.x)?

aosp or cm source tree.

I wanted to to just that but I have exams comming, I certainly shouldn't start fideling with it now !!!

[MENTION=4328678]metalspring[/MENTION] there you go :

https://docs.google.com/file/d/0B3x6rnZK4-jLMzBBazRENmRtUmM/edit

cm-11 with updated bcmdhd driver
[Samsung Galaxy Nexus] bsmitty83:
That's what I've been trying for , a 3.4 kernel is another story . right now the new ddk is built as a module , I'm gonna try to put it back in the kernel
[Samsung Galaxy Nexus] aosp:
[MENTION=4112553]dhacker29[/MENTION] tuna is missing lots of ti omap enhancements I mean the more I dig the more I notice Google did poo to make the gnex more awesome total neglect from goo but so far we can improve GNeX gpu, ducati, gralloc, omx and our WiFi drivers

hwc: update ti hardware composer hal

Squashed commit from d-jb-mr1-release

Updates HWC to the latest sources.

http://goo.gl/ABdFQi

[MENTION=4112553]dhacker29[/MENTION]

Look at all these omap enhancements the tuna is not utilizing but still running like a boss

http://omapzoom.org/?p=platform/hardware/ti/omap4xxx.git;a=shortlog;h=refs/heads/d-jb-mr2.0-release

http://omapzoom.org/?p=platform/hardware/libhardware.git;a=shortlog;h=refs/heads/d-jb-mr2.0-release

http://omapzoom.org/?p=platform/har...it;a=shortlog;h=refs/heads/d-jb-mr2.0-release

[MENTION=1664077]kenshin33[/MENTION]

Screw qcom use the hostapd source directly from

Android: Add a top level Android.mk

This allows the hostap.git repository version to be build as part of the

full Android platform build.

http://goo.gl/Dt08sF

hostap android-kk

http://goo.gl/ogScJG

WPA_SUPPLICANT_VERSION * * *:= VER_2_1_DEVEL

[MENTION=4112553]dhacker29[/MENTION] you try the newer WiFi drivers with WiFi display yet?

Happy gobble gobble day to all ;)
[Samsung Galaxy Nexus] kenshin33:
it is exactely the same

and VER_2_1_DEVEL wans't needed (it worked without it)

for now I just grabbed the snapshot, rm -rf external/wpa_supplican_0_8/* and copied over the files fron the snapshot.

a better way I guess would be to git add remote.
[Samsung Galaxy Nexus] N00BY0815:
[MENTION=2838735]aosp[/MENTION] would you mind to gather all those "tweaks" and updates somewhere? Maybe a seperate thread? This could come in handy for many other omap devices as well! But really you guys rock! And I am glad google had an omap device, because otherwise probably noone would work on omap devices this much and hard. So thanks to all!
[Samsung Galaxy Nexus] aosp:
Lots of the goodies are in the d-jb-mr2.0-release branch

graphics: Add TI/IMG vendor-specific pixel formats http://goo.gl/iAvYQx

libtiutils: update to latest http://goo.gl/4sauGI

libdsswdb: add dss wb hal sources

http://goo.gl/p3FiSN

omx: Add OSAL library

http://goo.gl/SWkIis

omx: changes required to adapt to new libdce

http://goo.gl/Fce93Q

libhardware: Add processor specific property

This adds ro.board.processor property which

contains the boards processor type. This

property allows libhardware to load the

correct gralloc libraries based on processor

version.

http://goo.gl/Wtoxcu

libhardware: OMAP extension to extend hwc api

Support an extension to the HWC callback mechanism, so

that the api can be freely extended in the future.

This change is intended to keep ABI compatibility for

the HWC as this api will only be used if HWC_EXTENDED_API

is set in the flags.

This isn't bullet proof ABI protection as it assumes

that both SurfaceFlinger and HWC implementation will

support the same extensions.

http://goo.gl/9whaQ8

Gralloc: FB1 identifier flags.

Current gralloc implementation has no way of identifying FB unless

specifically indicated. Here we define FB1 specific flags that aids

dual FB support in JB-MR1.

http://goo.gl/iX1Pne

[MENTION=4112553]dhacker29[/MENTION] goo brought in qcom memtracker hal etc but no omap enhancements for the gnex cause they suck ;)
[Samsung Galaxy Nexus] Link_of_Hyrule:
Meant to post on a different thread sorry. keep up the great work guys :P