yashsingh1/xdaforums huggingface dataset:
[Barnes & Noble Nook Tablet] Goncezilla:
Unfortunately this will probably not be official. There is a lot more work required and nothing is synced to thier repos right now.

Would be nice though

That is a good idea. Unfortunately I can't just use their driver. I'll look at their source though! Thanks.
[Barnes & Noble Nook Tablet] Goncezilla:
WIFI Turned On!

It works it works!

Finally got wifi to turn on/off and show a MAC address. I have to go to work so I can't play with it a bunch but the other devs have the files.

It didn't seem to be able to scan or connect to a network, but it recognizes the hardware finally! :D:D:D:D

EDITJust wanted to give a big shout out to Know-Fear for suggesting looking at the Kindle Fire source. That is exactly what I used to build the drivers, so please hit his Thanks button! Hate to admit it but Amazon seems to be playing nicer with thier devs since they released thier entire source code :|

I will update this post again in a bit to capture how I fixed this.
[Barnes & Noble Nook Tablet] Indirect:
Send over the files and I'll work on the scanning

Sent aboard the Evo Express

---------- Post added at 07:34 AM ---------- Previous post was at 07:29 AM ----------

We just need the wpa supplicant file I believe then we're good. :)

We also need : WLAN Firmware file --> /system/etc/wifi/firmware.bin
[Barnes & Noble Nook Tablet] CelticWebSolutions:
I'm on it!
[Barnes & Noble Nook Tablet] Danrarbc:
We're getting there. Getting my sd card ready to be the home of CM7.

You'll do internal and sd releases?

PS: Where you went wrong yesterday was saying you should be able to do something by day end :p

Jinxed yourself.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
We currently have internal release being built but recreating it as an external will be straight forward so yes we can do both when the time comes :)

And yes you right about the day end thing! We'll shoot him later :)
[Barnes & Noble Nook Tablet] Goncezilla:
Well you just missed me before I left for work :(

I will get you these files ASAP but it might be a while. From what I was reading you might not need to update the firmware.bin or wpa_config. I'm pretty sure they weren't built on compile anyway (maybe wpa_config) so you would have to find another source.

I did read something in the Nook Color forum that removing the attwifi/B&N stuff rom the wpa_config might help....

I'm going to sync up with our git tonight so you guys will have access to my files while I'm at work, I promise! ;)
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Good idea, if we have access to config we can compile kernel and required drievrs ourself, if I try to start now I'll be exactly where you were when you started and have to go from scratch which is just silly really.

I think we need the supplican.conf as well as the bin
[Barnes & Noble Nook Tablet] Goncezilla:
I'm not sure they are built with the drive and can't double check for a while :(
[Barnes & Noble Nook Tablet] CelticWebSolutions:
1. Enable building of wpa_supplicant in your BoardConfig.mk

This is by simply adding: BOARD_WPA_SUPPLICANT_DRIVER := WEXT to your BoardConfig.mk . This will set WPA_BUILD_SUPPLICANT to true in external/wpa_supplicant/Android.mk enabling building of driver_wext.c

If you have a custom wpa_supplicant driver (like madwifi or my custom android private commands emulation - see last paragraph) you can replace WEXT with AWEXT or your driver name (MADWIFI, PRISM etc).

2. Provide a proper wpa_supplicant.conf for your device

Providing a wpa_supplicant.conf it's important because the control socket for android is specified in this file (ctrl_interface= ). This file should be copied by your AndroidBoard.mk to $(TARGET_OUT_ETC)/wifi (usually /system/etc/wifi/wpa_supplicant.conf ). This location will be used on wpa_supplicant service from init.rc.

There are two different ways in which wpa_supplicant can be configured, one is to use a "private" socket in android namespace, created by socket_local_client_connect() function in wpa_ctrl.c and another is by using a standard unix socket.

Minimum required config options in wpa_supplicant.conf :

- Android private socket

ctrl_interface=wlan0

update_config=1

- Unix standard socket

ctrl_interface=DIR=/data/system/wpa_supplicant GROUP=wifi

update_config=1

Depending on your driver you might also want to add:

ap_scan=1

If you have AP association problems with should change to ap_scan=0 to let the driver do the association instead of wpa_supplicant.

If you want to let wpa_supplicant connect to non-WPA or open wireless networks (by default it skips these kind) add:

network={

key_mgmt=NONE

}
[Barnes & Noble Nook Tablet] Goncezilla:
Is this a setting you guys can see? It might be in the init.rc.

---------- Post added at 10:45 AM ---------- Previous post was at 10:39 AM ----------

Yep sorry if I got anyone's hopes up. :o

We will release an Alpha once we determine the rom is usable, which right now means being able to connect to a Wifi network and wake up the device from sleep.

***Other devs will Probably Kill me for this :p****

If anyone wants to try out the pre-Alpha build we have for development purposes PM me.

I can't guarantee anything and you are at your own risk if you use it!
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Off your chump is all I can say lol!

I would also like to add that if Gonc is going to do that that absolutely no support will be offered what so ever!
[Barnes & Noble Nook Tablet] dodgepot:
How's about we just wait until it's finalized? Tbh, none of us need it pre-alpha

Granted, I did request it but the other two make sense

_______sig starts here______

Even you were a beginner once

If this post helped click the thanks button!

remember QTIP - Quit Taking It Personal
[Barnes & Noble Nook Tablet] Fatos:
I think we can wait a bit more

Hi and thanks to all the developers for doing a great job.

I have got my NT since new year. I have waited until now for a rom so if i wait one or two more weeks i think ill survive :) think this is how everyone should think. So i suggest that you DEV not spend your precious time with releasing not finished Mod and than still having to read through peoples posts complaining abut it.

Keep up the work and thanks to all of you.
[Barnes & Noble Nook Tablet] Indirect:
I'm currently working on the loading of the media partition (will be labeled as sdcard with the true sdcard being labled as sd_ext). All I'll need is for goncezilla to add my new init.rc script to the next kernel's ramdisk and it should work. No promises though. ^^
[Barnes & Noble Nook Tablet] Anon9mouz:
Hey check this out touch CWM I would like to help with this if i could on porting this over:D

http://www.clockworkmod.com/rommanager

___________________________________________
[Barnes & Noble Nook Tablet] Goncezilla:
That is an easy one ;) I'll get with you later to fix that. We can leave the sdcard partion alone and add whatever mounting point you want (/media/bigdrive?). We can even mount it were the 1 GB parition is mounted and move that one somewhere else.
[Barnes & Noble Nook Tablet] Indirect:
It is the 1gb media partition. Its not mounted on boot. Let's name it something funny though in vold.fstab after we edit the init.d
[Barnes & Noble Nook Tablet] Goncezilla:
Lol, didn't even realize we were missing the 1 GB. Good news is we can also mount the 15GB B&N usually locks out. We have to put them in different folders for now. I'll let you pick the folders to mount them in (somewhere in /media to keep uniform) and I'll mod the init.rc later. You can modify the vold.fstab and/or the init.d to get them to mount but it is probably just as easy to do it from init.rc
[Barnes & Noble Nook Tablet] Indirect:
I've got the vold.fstab sorted, and the init.rc. also, the 15gb is the /data folder so we can't do much with it. We can probably mount a folder in it though
[Barnes & Noble Nook Tablet] Goncezilla:
Good call. I have been doing more kernel building than playing with the rom so you are way more experieced with it. I was thinking the 1GB was mounted as data (doesn't make sense now that I think about it) and the other needed to be mounted still.

I haven't looked at the permissions either. Is the /data partion fully rw accessible? If not than that needs to be fixed in init.rc.

Thanks for sorting me out!
[Barnes & Noble Nook Tablet] Indirect:
Data is r/w for su, we can mount the directory and set it as r/w. The data folder itself being r/w is a bad idea. We will just mount omnomnom (the folder I decided on for the internal memory) and I'll think of something for /media/
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Just updated our original post with current progress, If I've missed anything please let me know :)
[Barnes & Noble Nook Tablet] Goncezilla:
Can anyone install a CPU monitor to see if the frequency scaler is working? I found some issues that suggest that letting the clock frequency drop too low could result in sod.

I might build a kernel tonight that uses a fixed frequency to see if it resolves anything.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
I'll try now
[Barnes & Noble Nook Tablet] Danrarbc:
On a lot of devices that line is around 250mhz IIRC. Not much can get down into the 100s and not have issues.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
I just tried setcpu and limited the minimum and maximum to full and it still had EVIL SOD!
[Barnes & Noble Nook Tablet] nooknut:
Might there be anything in this thread that might help? http://code.google.com/p/cmtouchpad/issues/detail?id=75

I'm not an engineer, programmer, mathamagician, etc. Just a Project Manager, so be gentile. I'm just trying to help.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
We're not like many of the other Devs on here who flame everyone for not being as perfect as they think they are. Thank you for your help and I'll take a look :)
[Barnes & Noble Nook Tablet] Data Injures:
I'm sure you guys have tried this, but I'll put in my 2 cents anyway. Have you tried putting the Nook to sleep by letting the screen time out or using a soft key, then waking it up with any button other than the power button? Maybe it's a problem with the power button itself not having the right commands linked with it, therefore killing the Nook? Hope I didn't just make myself look like an idiot here. :o
[Barnes & Noble Nook Tablet] Danrarbc:
No its a good suggestion. I can't remember it now but I'm pretty sure that was an issue with another device.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Unfortunately once this puppy sleeps, be it automatically or done with power button there is no waking it. Even ADB gets killed the second it goes to sleep. It's a full deep sleep with no return...
[Barnes & Noble Nook Tablet] Goncezilla:
Well that eliminates that....thanks for checking
[Barnes & Noble Nook Tablet] Data Injures:
Ok well I've been Googling around, and it seems that CM7 ports tend to have the SOD problem because of something in the framework. NPE?

"Prevent sleep of death caused by framework NPE (android_frameworks_base)" - CM7 changelog

So I found this, hopefully it helps you guys out:

http://developer.android.com/reference/java/lang/NullPointerException.html

Sorry if I'm way off here. I just want to contribute something other than clicking the "thanks" button now and then. :p

- Now that I think about it, if it's in the changelog, it should already be implemented. Oops.
[Barnes & Noble Nook Tablet] tselling:
You can repartition so that the media partition has the bulk of storage area. I did this using "parted" in CWM. There is a thread on this in the General forum. Basically you need to delete the data partion (the last partition #11). Then resize the media partition bigger (partition 10). Then recreate the data partition as ext2, then use 2 tune2fs commands to turn it into ext4 partition. Working fine for me. I set mine up with approx 10GB in the media partition and over 2.5GB in the data partition. Since I load alot of games I didn't want to make the data partition too small. This works well since I see the 10GB when I connect to PC via USB. Of course you need to backup and restore the data partition unless you are doing a complete reinstall.
[Barnes & Noble Nook Tablet] c0ldburn3r:
Might want to ping fattire. Looks like he has wifi fulling working on open AP and wpa.

*man am I way behind. Cm9 looks wicked smooth, can't imagine how slick cm7 is.

10 char this
[Barnes & Noble Nook Tablet] spinningfrog:
Just wondering that if you can already manage to get an Angry birds apk in there and working perhaps there is another app that can be installed / configured also that is designed to "prevent" sleeping. How does the app control that? Maybe another direction to approach it from anyway.

Good luck and thanks for being so diligent and smart with this and remember that there are many many of us out here just beyond the firelight watching all of you work and cheering you on every step of the way. We have no doubt in your ability to figure this out and we are collectively amazed. I am inspired and proud to be watching all of you work so well together. Well done!

;)

Deirdre
[Barnes & Noble Nook Tablet] CelticWebSolutions:
added another little video to original post ;)
[Barnes & Noble Nook Tablet] CelticWebSolutions:
4:44am actually yes. I'm the only UK one though so more sensible times for others :)
[Barnes & Noble Nook Tablet] Goncezilla:
That is something we would like to look at down the road. Right now we have the full 16GB mounted and usable across a couple partitions.
[Barnes & Noble Nook Tablet] homen3:
About SOD you can temporarily use this: http://goo.gl/HSZ1r

or maybe you can see the Touchpad Patch here: http://goo.gl/ePx2G

Hope it helps :-)
[Barnes & Noble Nook Tablet] CelticWebSolutions:
I'm afraid neither of those options are suitable for the NT. The app doesn’t stop it and the fix is a different firmware that wouldn’t be suitable to install on the NT

Thanks for trying though :)
[Barnes & Noble Nook Tablet] Goncezilla:
Hate to keep pointing fingers at B&N (actually :mad:) but it seems that they 'forgot' to include a lot of the wifi binaries in their 1.4.1 'update'.....

EDIT

So I may have been a little off about B&N earlier. It looks like some of the files they removed where unused anyay. I'm hoping they were just cleaning up leftover binaries they got from component manufacturers.

They still didn't inlcude the files to build the drivers though :eek:
[Barnes & Noble Nook Tablet] CelticWebSolutions:
How convenient!
[Barnes & Noble Nook Tablet] PG101:
Guys, lets keep that Thanks on a little low... a thread space is wasted.. We know how appreciative we are of the devs doing a great job here.. but thats why we put the "Thanks" button there :)

Cheers!
[Barnes & Noble Nook Tablet] Indirect:
I'm asking for some help on the wifi issues from a friend, I'm determined as hell to get it working.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
You and me both! The wifi thing is a real Mare.

By the way I asked Ganjaman to clean up the thread a little, even half of my posts can go really. Information is duplicated etc so we don't need multiple posts saying whats going on and loads saying thanks. Like PG says, that’s why there's a thanks button :)
[Barnes & Noble Nook Tablet] Goncezilla:
Wifi Findings and Where We stand

So the big sticking point for us is still WIFI and we are taking baby steps in the right direction. Just wanted to keep everyone updated, and hopefully inspire ideas.

What we know:

1. OMAP Based systems require that wifi drivers (tiwlan_drv.ko) files be built along side each kernel build

2. These drivers must also be 'calibrated' to the board from within android. This sets up voltages and timing requirements so the board knows how to talk to the wifi card. We currently have not been able to successfully calibrate this.

3. Alongside of the drivers, we must also have the right combination of configuration files and firmware. This isn't as picky as the drivers but has been a source for errors at time.

Where We Stand Now:

1. We are currently able to load both the firmware and the drivers, making the GUI show wifi as ON.

2. We are having calibration errors that don't allow the wifi com ports to be opened correctly (I'll post dmesg info on this soon).

3. We are currently using Kindle Fire source code, cross-referencing a NT kernel, to build the drivers and configuration (ini) files. I'm not sure if this is a source of error or not.

4. We have tried using both stock firmware.bin and KF compiled firmware.bin files, but neither seem to make a difference.

5. There is reason to believe that some of the modules we are using (wlan_start, wlan_cu, wpa_supplicant) are incorrectly compiled and the cause for us not to be able to calibrate the drivers.

I also found some B&N backup files located on the ROM partition. You can get them by doing the following in adb shell, but this can be dangerous!

su
mount -o rw,remount / /
mkdir /rom
mount -t vfat -r /dev/block/mmcblk0p5 /rom

then (outside of adb shell)

adb pull /rom <directory path to dump too>/romdump/

Make sure to either unmount /rom or restart the device imediatly so that the rom files do not become corrupted!

The files I found of interest are MAC (your original device MAC address) and WifiBackupConfiguration (not sure how to use this tried renaming it nvs_map.bin and placing it on /data/mis/wifi but no luck)

---------- Post added at 09:24 AM ---------- Previous post was at 09:17 AM ----------

I got in touch with some Kindle Fire devs last night about it too. No real fruit but they were very helpfull (probably because they are laughing at us NT owners lol!) and pointed me in a couple of good directions.
[Barnes & Noble Nook Tablet] Danrarbc:
Well, you guys will make sure we have the last laugh. The 1GB of RAM will make this a better Android tablet :D

Anyways, it's a shame it looks like B&N sabotaged some of the kernel elements. Samsung did that with the Charge for GB, you couldn't build the kernel they released until jt1134 found out how.

Come to think of it maybe he could help out. This is the kind of stuff he has made breakthroughs on before, I just don't know if he has much experience with OMAP devices.
[Barnes & Noble Nook Tablet] Goncezilla:
We certainly won't turn away experience!
[Barnes & Noble Nook Tablet] masr1979:
Just like to point out that the Pandaboard (not the ES) also has a OMAP 4430. Maybe some help/inspiration can be found checking there. As I understand, it's no problem building an ICS image for it.
[Barnes & Noble Nook Tablet] succulent:
Have you look over at omapzoom.org? They have a lot of useful sources.

platform/hardware/ti/wlan.git
[Barnes & Noble Nook Tablet] O_G:
Indeed, i have further cleaned all non dev posts from this thread, i think its a about five pages deleted. Lets try to Keep it on topic, only post if you have something to input to the development! This is by request of the OP.

@CelticWebSolutions. If i missed any unwanted posts, let me know:)

Take it easy

O_G
[Barnes & Noble Nook Tablet] Indirect:
Appreciate it OG. Anyway guys, I've been poking around using the TI Setup cli, and I have been getting errors when trying to setup the nvs file. (I've gotten returned error status -36_
[Barnes & Noble Nook Tablet] Goncezilla:
Actually we have been there. It has basically been our wifi bible for the time being :D

There are a few things that don't work with the NT (like the MMC(3) instead of MMC(5) kernel setting) but for the most part a very good reference.

---------- Post added at 10:39 AM ---------- Previous post was at 10:35 AM ----------

Getting the exact same return. It wasn't identified as an error for me though, just return 36.

I found that despite TI's recommendations you have to leave the WIFI ON to calibrate it. (or attempt to)

Are you also seeing a '-s' error associated with power_save or something too? I think this might be a bad module causing this.
[Barnes & Noble Nook Tablet] homen3:
surely you've already read, but can be useful to someone and maybe find a solution. :-) I'm searching documentation and posts around the web..

Compiling wifi kernel module

After installing a custom kernel, the wifi module may be unstable or unusable. The solution is to recompile the module, linking it to the new kernel build.
cd ~/android/system/system/wlan/ti/sta_dk_4_0_4_32
KERNEL_DIR=~/android/kernel/cm-kernel CROSS_COMPILE=$CCOMPILER ARCH=arm make -j`grep 'processor' /proc/cpuinfo | wc -l`
A file named wlan.ko will be produced in the current directory. You must install the new module to the device.
adb shell mount -o remount,rw /system
adb shell cp /system/lib/modules/wlan.ko /system/lib/modules/wlan.ko.backup
adb push wlan.ko /system/lib/modules/wlan.ko
Reboot the device. If all goes well, you should be using the newly compiled 'wlan.ko'.
For devices which may be utilizing wifi module from vendors other than TI, you may choose other appropriate drivers.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Lol yes, we been there and done that and smashed our face running into yet another brick wall. :( Gonc and I are currently working on a different approach which may or may not do exactly the same again but we're crossing eveything ;)
[Barnes & Noble Nook Tablet] Goncezilla:
This is good stuff! I'm actually looking into something very similar to this now (something I found in Kindle Fire Source code). Unfortunatly I can't try anything until i get off work, but where did you find this? Anything about wlan_6-1 or something with this too?

I ask because I see the sta_dk files ;)
[Barnes & Noble Nook Tablet] homen3:
You can find complete instructions in the cyanogenmod wiki
[Barnes & Noble Nook Tablet] Goncezilla:
DOH! You have to be kidding, I've run through that site a million times I swear! :o

Thanks

EDIT I don't want to get the cart ahead of the horse but this maybe one of the missing pieces. I will attempt to build this module again tonight.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Our problem is that we are so far into the forest we haven't been able to se eteh wood for the trees! So you never know! ***Touches wood***
[Barnes & Noble Nook Tablet] xdajunkman:
Sorry...I tried...really I tried to resist all day...but just can't.

Stop touching your wood and get back to work!
[Barnes & Noble Nook Tablet] CelticWebSolutions:
I've had 2 PM's about that too lol

come on guys.... it's not funny!
[Barnes & Noble Nook Tablet] Mephikun:
Yeah... it kinda is. ;P
[Barnes & Noble Nook Tablet] Sycobob:
Anyone know if the B&N Nook app from the Market works on CM7?
[Barnes & Noble Nook Tablet] pilotguy415:
I cannot verify on the tablet of course but I've used it on multiple phones running cm7 with no issues.
[Barnes & Noble Nook Tablet] Sycobob:
Sorry, I guess I kinda worded that poorly. I'm wondering if it works on CM7 on the Nook specifically because so far it doesn't work on the existing setups. I want still want to be able to access my Nook collection through the normal app once the "Nook OS" thing is gone.
[Barnes & Noble Nook Tablet] codygs83:
Patience sycobob. The dev team is working hard on this rom and it is still way to early for that question. I believe the current wiFI problem is a little more important.
[Barnes & Noble Nook Tablet] Sycobob:
Not impatient, just curious.
[Barnes & Noble Nook Tablet] dang69:
On the off chance that it was forgotten or overlooked I want to mention this post of Adam's which mentions standby/resume as well as wireless,

http://xdaforums.com/showpost.php?p=21514529&postcount=24
[Barnes & Noble Nook Tablet] darthvince:
I was just about to mention this. It looks like a promising possibility. Get with Adam?
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Thanks both for the suggestion but I'm afraid we'd already tried that and it dind't work :(

But watch this space, we've made a little progress and I'll be posting a video later today (it's still morning here)
[Barnes & Noble Nook Tablet] Novaglarion:
It works on the Nook Color running CM7 so I don't see why it wouldn't work on the Nook Tablet running the same.
[Barnes & Noble Nook Tablet] jdebay:
It works fine on the Nook Color that has cm7 and no problems.
[Barnes & Noble Nook Tablet] Jario:
Can you dual boot the NTs stock launcher with CM7/CM9, i really like the reader it has