• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][DEV] Ubuntu Touch For B&N Nook Tablet

Search This thread

dejello

Senior Member
Oct 15, 2010
223
265
DISCLAIMER: You should know by now that anything you do can and probably does void warranties, can and may brick your devices, etc etc yada yada.... This is my first ever attempt at a port, second ROM to ever build. The base for this is CM10.1 maintained by the official devs for the B&N Nook Tablet (acclaim), so complete props to everyone who has gone looney to get us here. This port isn't very usable and as such is no daily driver by any means.


I will try to explain the details of building as best as I can remember to anyone who wants to know. I had to comment out certain lines here and there and add my changes below them. Being new to this all, I have yet to set up a git for the sources. I just wanted to get this up as I haven't seen anyone else post this for Nook Tablet. From what I know, this should work for the 8g and 16g as this is based off the Official CM10.1 for us. Again, your risk, there are plenty of ways to unbrick this device and plenty of guides.

Discussion thread:
[ROM][DISCUSSION] Ubuntu Touch B&N Nook Tablet


For those of you just wanting to take it for a spin:
(name change as I am building using two different sets of repos, one with only a local branch based off the cm repos, and my own that I will push updates to)

Download Device Specific Build:

Build 5: ut-cm-20130610-acclaim.zip - 35.72 MB

Older Builds:

(The following builds screen displays stop working for newer Ubuntu fs builds)
Build 4: ubuntu_touch-20130529-acclaim.zip - 35.54 MB
Build 3: ubuntu_touch-20130524-acclaim.zip - 34.94 MB
Build 2: ubuntu_touch-20130513-acclaim.zip - 34.90 MB
Build 1: ubuntu_touch-20130511-acclaim.zip - 34.90 MB

Download Ubuntu FS File:
Saucy is the new Raring
http://cdimage.ubuntu.com/ubuntu-touch-preview/

Installation:
1) put both files on your sdcard by your method of choice
2) go into recovery
3) format data/factory reset <-- NOTE: If you want to save data, new builds should backup stuff, not sure what all though.
4) format system to ensure clean install
5) flash Custom build and flash Ubuntu fs file
6) reboot and pray it works. :rolleyes:

After boot up notes:

- May have to push power button to get initial display.
-To get a chroot shell from your computer's terminal:
Code:
$ adb root
$ adb shell
$ ubuntu_chroot shell
- Keyboard does not currently work on Home screens. In Raring I would restart ubuntu-session. I do not see it in Saucy. 2013-06-15: playing around and starting the 'killprocs' service, keyboard worked afterwards.
Code:
[email protected]:/# service killprocs start
- Wifi seems to need a reboot to work correctly currently
- Added a script to change the display size.. If you do not like it or want to mess around with it, you can adjust the display through the chroot by editing the acclaim.conf file. After editing, reboot.
Code:
/etc/ubuntu-session.d/acclaim.conf


Build notes!

Build 5:
- Updated ubuntu sources, resulting display seems fixed for newer builds! (circa June 1st or maybe a little sooner)
- Honestly not sure atm if build 4 has it, but added a script to auto fix the display size (adds acclaim.conf for you), Saucy images seem to not require a reboot, Raring images do (or an ubuntu-session restart).

Build 4:
- Using wpa_supplicant 8 instead of 8_TI

Build 3:
- Wifi works with some terminal junk!

Build 2:
- Videos stopped working for some reason, need to debug.
- Apps no longer force close
- Wifi still down

Build 1:
- It boots
- Display works
- Sound Works
- Videos Work
- No wifi
- All apps force close after a couple of seconds
- No rotation


I'm new to all this git stuff, but figured I'd try it out:
https://github.com/dejello/android_device_bn_acclaim
https://github.com/dejello/android_kernel_bn_acclaim

I will be adding a wiki or readme on the device repo that shows dependencies and other edits needed to build your very own.

-dejello
 
Last edited:

dejello

Senior Member
Oct 15, 2010
223
265
THIS POST IS NO LONGER REQUIRED, but kept for informational purposes

Updated - Build 3 now up!

Wifi seems to be working with some terminal junk. I followed this page as a reference after figuring out the wlan module wasn't being loaded: http://www.omappedia.com/wiki/Mac80211_based_open_source_architecture#Procedure_to_build_WLAN_and_test_on_Ubuntu_FS

NOTE: The module is apparently being unloaded after a while, possibly to do with going to sleep, not sure atm. If you have installed the terminal core app you can get back online without plugging back in..


I did the following commands and checked the browser and I was online!

Code:
[email protected]:/ # adb shell
[email protected]:/ # ubuntu_chroot shell
[email protected]:/# sudo mount -t proc proc /proc
[email protected]:/# lsmod
[I]Module			Size		Used by
wl12xx			189125		0 
mac80211		384303		1 wl12xx
pvrsrvkm_sgx540_120	336017		34 
cfg80211		181275		2 mac80211,wl12xx
compat			2718		0 [/I]

Notice: It did not show wl12xx_sdio - which has wlan0.

Code:
[email protected]:/# insmod /system/lib/modules/wl12xx_sdio.ko
[email protected]:/# tail -3 /var/log/kern.log
[I]May 25 23:23:09 ubuntu-phablet kernel: [  377.563903] wl12xx_set_power: 1
May 25 23:23:10 ubuntu-phablet kernel: [  377.900939] wl12xx_set_power: 0
May 25 23:23:10 ubuntu-phablet kernel: [  377.911682] wl12xx: loaded[/I]

[email protected]:/# ifconfig wlan0 up
[email protected]:/# tail -3 /var/log/kern.log
[I]May 25 23:25:04 ubuntu-phablet kernel: [  492.360870] wl12xx_set_power: 1
May 25 23:25:05 ubuntu-phablet kernel: [  492.839141] wl12xx: firmware booted (Rev 6.3.10.0.133)
May 25 23:25:05 ubuntu-phablet kernel: [  492.864288] ADDRCONF(NETDEV_UP): wlan0: link is not ready[/I]

[email protected]:/# iwconfig wlan0 essid "tinyguest"
[email protected]:/# dhclient wlan0
[email protected]:/# ip addr
[I]......
7: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 58:67:1a:53:b1:bd brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.13/24 brd 192.168.2.255 scope global wlan0
    inet6 fe80::5a67:1aff:fe53:b1bd/64 scope link 
       valid_lft forever preferred_lft forever[/I]

Note: "tinyguest" is my test guest network with no security atm, insert the SSID of your network. I have not tested yet to see if this will work with security on.


Not sure how stable everything is, but hey, it's a dev preview so :p




UPDATE:
I just had a realization.... After insmoding wl12xx_sdio.ko and bring the wlan0 up, I simply restarted the network manager service and now the gui shows up! I do need to check my wpa_supplicant file as I had been playing with it. <-- Fine unedited. I am also running a new minidroid build compiled using wpa_supplicant 8 vs wpa_supplicant 8_TI that I have yet to upload. I will need to see if this has any effect. I was having an issue compiling the TI version and was getting annoyed trying to figure it out :p New commands are as follows:
Code:
[email protected]:/ # adb shell
[email protected]:/ # ubuntu_chroot shell
[email protected]:/# insmod /system/lib/modules/wl12xx_sdio.ko
[STRIKE][email protected]:/# ifconfig wlan0 up[/STRIKE] <-- DIdn't even up it this past time, seems that restarting the network-manager service up's it.
[email protected]:/# service network-manager restart


Will be updating this post and adding a pic..
 
Last edited:

Demetris

Recognized Developer
Aug 15, 2008
3,093
9,462
45
Limassol
Doing great :). Keep up. And why not tranfering it to nt dev thread? ;)

Στάλθηκε από το Barnes & Noble Nook Tablet μου χρησιμοποιώντας Tapatalk 2
 

tmoulder

Senior Member
Jun 7, 2011
86
15
I'm really excited, I hope your project takes off in a big way :)

I admit to confusion, though - you say the base of this is the great work done on cm10.1 nightlies by the devs here, so is this actually ubuntu touch, or a skin over android? I'm not being critical, just looking to understand.

Thanks!
 

dejello

Senior Member
Oct 15, 2010
223
265
I'm really excited, I hope your project takes off in a big way :)

I admit to confusion, though - you say the base of this is the great work done on cm10.1 nightlies by the devs here, so is this actually ubuntu touch, or a skin over android? I'm not being critical, just looking to understand.

Thanks!

Sorry for the late reply, yes, currently Ubuntu Touch is running in a chroot on a mini build of android.


Other notes, today I started trying to figure out what exactly breaks the display on the newer ubuntu fs images.

dmesg shows ubuntu-session terminating with: "terminated with status 139". I still have an image from May 24th that works, and upon updating libplatform-api1-hybris or ubuntu-platform-implmentation-android (both of which will install the other) the display breaks with ubuntu-session terminating with: "terminated with status 127" or depending on what I've done ocassionally some other error.

More searching to follow....

UPDATE: see Build 5 notes, I hadn't fully updated my ubuntu sources apparently :p Display seems to work now!


PS - the git stuff isn't current atm, but the edits should still work. the wiki dealio needs work.
 
Last edited:

ajbiz11

Senior Member
May 23, 2012
1,127
389
Ann Arbor, MI
Sorry for the late reply, yes, currently Ubuntu Touch is running in a chroot on a mini build of android.


Other notes, today I started trying to figure out what exactly breaks the display on the newer ubuntu fs images.

dmesg shows ubuntu-session terminating with: "terminated with status 139". I still have an image from May 24th that works, and upon updating libplatform-api1-hybris or ubuntu-platform-implmentation-android (both of which will install the other) the display breaks with ubuntu-session terminating with: "terminated with status 127" or depending on what I've done ocassionally some other error.

More searching to follow....

UPDATE: see Build 5 notes, I hadn't fully updated my ubuntu sources apparently :p Display seems to work now!


PS - the git stuff isn't current atm, but the edits should still work. the wiki dealio needs work.

You say build 5 should fix the display not showing? I tried it and the "Current" Saucy phablet image and got nothing.
I'm about to try the Raring image and see if it works...
 

dejello

Senior Member
Oct 15, 2010
223
265
there was a period recently where they were breaking things alot with changes... I have a working version I can upload, but if they update hybris and/or the platform-api again it'll break until i update the build.

Sent from my SCH-I510 using xda app-developers app
 

dejello

Senior Member
Oct 15, 2010
223
265
Great work! Any idea if you might get around to making a similar build for the Nook HD/HD+?

That is in my plans as I just got the HD+, not sure just yet as to when.. I need to pm verygreen or someone else and see what all I need to build cm10.1 first as I am missing something. Once I get a working build I will work on Ubuntu.

Sent from my SCH-I510 using xda app-developers app
 

ShapeShifter499

Senior Member
Sep 13, 2009
469
159
That is in my plans as I just got the HD+, not sure just yet as to when.. I need to pm verygreen or someone else and see what all I need to build cm10.1 first as I am missing something. Once I get a working build I will work on Ubuntu.

Sent from my SCH-I510 using xda app-developers app

I would love this on my Nook HD (not HD+), I have ubuntu installed on all of my systems and love it over windows.

Sent from my Nook HD using XDA Premium HD app
 

dejello

Senior Member
Oct 15, 2010
223
265
Once I get working builds again (with the new stuff they've added for booting) I will build one for the HD for which I will need testers as I do not have an HD. Honestly did not really work on it today as I am really tired. Looks like I managed to get that one build in before they added this stuff.
 
  • Like
Reactions: ShapeShifter499

ShapeShifter499

Senior Member
Sep 13, 2009
469
159
Once I get working builds again (with the new stuff they've added for booting) I will build one for the HD for which I will need testers as I do not have an HD. Honestly did not really work on it today as I am really tired. Looks like I managed to get that one build in before they added this stuff.

I'll gladly test a build for Nook HD

Sent from my Nook HD using XDA Premium HD app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    DISCLAIMER: You should know by now that anything you do can and probably does void warranties, can and may brick your devices, etc etc yada yada.... This is my first ever attempt at a port, second ROM to ever build. The base for this is CM10.1 maintained by the official devs for the B&N Nook Tablet (acclaim), so complete props to everyone who has gone looney to get us here. This port isn't very usable and as such is no daily driver by any means.


    I will try to explain the details of building as best as I can remember to anyone who wants to know. I had to comment out certain lines here and there and add my changes below them. Being new to this all, I have yet to set up a git for the sources. I just wanted to get this up as I haven't seen anyone else post this for Nook Tablet. From what I know, this should work for the 8g and 16g as this is based off the Official CM10.1 for us. Again, your risk, there are plenty of ways to unbrick this device and plenty of guides.

    Discussion thread:
    [ROM][DISCUSSION] Ubuntu Touch B&N Nook Tablet


    For those of you just wanting to take it for a spin:
    (name change as I am building using two different sets of repos, one with only a local branch based off the cm repos, and my own that I will push updates to)

    Download Device Specific Build:

    Build 5: ut-cm-20130610-acclaim.zip - 35.72 MB

    Older Builds:

    (The following builds screen displays stop working for newer Ubuntu fs builds)
    Build 4: ubuntu_touch-20130529-acclaim.zip - 35.54 MB
    Build 3: ubuntu_touch-20130524-acclaim.zip - 34.94 MB
    Build 2: ubuntu_touch-20130513-acclaim.zip - 34.90 MB
    Build 1: ubuntu_touch-20130511-acclaim.zip - 34.90 MB

    Download Ubuntu FS File:
    Saucy is the new Raring
    http://cdimage.ubuntu.com/ubuntu-touch-preview/

    Installation:
    1) put both files on your sdcard by your method of choice
    2) go into recovery
    3) format data/factory reset <-- NOTE: If you want to save data, new builds should backup stuff, not sure what all though.
    4) format system to ensure clean install
    5) flash Custom build and flash Ubuntu fs file
    6) reboot and pray it works. :rolleyes:

    After boot up notes:

    - May have to push power button to get initial display.
    -To get a chroot shell from your computer's terminal:
    Code:
    $ adb root
    $ adb shell
    $ ubuntu_chroot shell
    - Keyboard does not currently work on Home screens. In Raring I would restart ubuntu-session. I do not see it in Saucy. 2013-06-15: playing around and starting the 'killprocs' service, keyboard worked afterwards.
    Code:
    [email protected]:/# service killprocs start
    - Wifi seems to need a reboot to work correctly currently
    - Added a script to change the display size.. If you do not like it or want to mess around with it, you can adjust the display through the chroot by editing the acclaim.conf file. After editing, reboot.
    Code:
    /etc/ubuntu-session.d/acclaim.conf


    Build notes!

    Build 5:
    - Updated ubuntu sources, resulting display seems fixed for newer builds! (circa June 1st or maybe a little sooner)
    - Honestly not sure atm if build 4 has it, but added a script to auto fix the display size (adds acclaim.conf for you), Saucy images seem to not require a reboot, Raring images do (or an ubuntu-session restart).

    Build 4:
    - Using wpa_supplicant 8 instead of 8_TI

    Build 3:
    - Wifi works with some terminal junk!

    Build 2:
    - Videos stopped working for some reason, need to debug.
    - Apps no longer force close
    - Wifi still down

    Build 1:
    - It boots
    - Display works
    - Sound Works
    - Videos Work
    - No wifi
    - All apps force close after a couple of seconds
    - No rotation


    I'm new to all this git stuff, but figured I'd try it out:
    https://github.com/dejello/android_device_bn_acclaim
    https://github.com/dejello/android_kernel_bn_acclaim

    I will be adding a wiki or readme on the device repo that shows dependencies and other edits needed to build your very own.

    -dejello
    4
    Great work! Any idea if you might get around to making a similar build for the Nook HD/HD+?

    That is in my plans as I just got the HD+, not sure just yet as to when.. I need to pm verygreen or someone else and see what all I need to build cm10.1 first as I am missing something. Once I get a working build I will work on Ubuntu.

    Sent from my SCH-I510 using xda app-developers app
    3
    Build 2! and some pics...
    3
    OMG say it isn't so, is this project dead?? :crying:

    No, it's not dead. I have been on vacation for the last week, and was unsuccessful in getting a flipped build working before I left. I've been fairly busy with work and plans for this trip and the family lately. Anyone who wants to attempt building is (obviously) free to do so, there are many people more talented than me out there :) I will however continue to work on this as well as the build for the HD+ (and presumably the HD).
    3
    Alright, sounds good!

    Ok, seems I just wasn't paying attention.. Replaced the boot image in the zip with the apparent non-sdcard version >.> CM10.1 booted so I will work on a build in a bit. For the moment though the tv is calling me :)