Good news everyone!
Wifi is finally working. Thanks to aTc and notaz
.
So what was the problem?
1. I didn't know that you need two kernel modules: wl1251.ko AND wl1251_sdio.ko. I didn't use the SDIO one
2. The driver needs a firmware you can get from the Pandora repository
So after these two steps I finally got wpa_supplicant to work properly. But I still didn't have a connection to my Router.
3. You need the right configuration in wpa_supplicant.conf
Sadly there isn't a universal configuration, it all depends on how your wires lan is configured. Normally that wouldn't be a problem, but acitvating wifi via the Android GUI still doesn't work. Sadly activating it via the terminal emulator also doesn't work. Here's how you get it to work:
1. Make sure your wpa_configuration.conf has the right configuration
2. Try to activate wifi via GUI. That will try to enable wifi after booting.
3. Reboot
Now you should be connected to your router (if the configuration is right) and you should have internet access. The colors on the browser are a little off (the pandora page is brownish), but that's not that important right now.
I'll upload everything to the repository later (including a new pre-build image).
Thanks again aTc and notaz
.