Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Linux] [IMG] [Dev] [WIP] Debian Unstable for Rootbind [TF101 / TF101G(?)]

OP TravellingGuy

24th March 2014, 12:46 AM   |  #1  
OP Member
Thanks Meter: 28
 
30 posts
Join Date:Joined: Feb 2010
Updated 2014-05-11!

Well, well, what do we have here? This is a full Debian Unstable installation with the relatively new MATE Desktop Environment http://mate-desktop.org/, which has finally made it's way to the Debian Unstable. MATE is essentially a continuation of the Gnome 2 desktop, and runs great on lower end hardware.

Screenshot:


This DOES NOT have the NVIDIA drivers, as I'm using the very latest X releases. The only thing the NVIDIA drivers really get you is good video playback and 3D performance. I don't find the NVIDIA drivers give better 2D performance.

Minor Issues
  • As you can see in the screenshot, the battery indicator shows as not working. However, if you hover your mouse over the battery indicator, it does show the battery level of both batteries.
  • Systemd recently came the default system and service manager in Debian unstable. Systemd says it requires the AUTOFS4 kernel module, however that module does not seem to exist in @jrohwer's kernel, so you'll see systemd failures during boot. It does boot fine anyway, but see the next bullet point.
  • systemd is unable to do an fsck on the root file system (maybe because AUTOFS4 kernel module) during boot, so it ends up leaving the root filesystem in read-only mode. I have worked around this by adding a line to the /etc/rc.local to remount / as readwrite, which seems to do the trick.
  • Gnome Network Manager has a bit of odd behaviour. After trying to connect to your wireless network for the first time, it will fail, but it will add your network to the list of available networks. Right-click the Network Manager icon, select "Edit Connections...", select your wireless network, click Edit, go to the "Wi-Fi Security" tab and manually enter your wireless passphrase. After doing this once, it will connect normally after that.
  • As before, sound is hit and miss. Powering down and booting again has a tendency to fix it for a while.
  • Periodically, when it boots into MATE, the touchpad will stop working. Undock and dock again and it'll come back.
  • Power management doesn't work.

Good things
  • Touchscreen works!
  • You don't need to undock your keyboard during boot. Nice!

Bluetooth and HDMI was not tested (I don't use them).

DOWNLOAD
http://goo.gl/LfydG7

USAGE
Default user is "debian" with a password of "debian".

INSTALLATION
In Android, if you have an existing linuxroot in your /data/ directory, rename/move it.

Extract the Debian image into /data/

Code:
su
busybox mount -o remount,rw /
mv /data/linuxroot /data/linuxroot-old

cd /data
tar -pxvzf /pathto/debian-unstable-mate-2014-05-11.tar.gz
busybox mount -o remount,ro /
Reboot to recovery, install @jrohwer's kernel and you're away.

THANKS
@jrohwer
@DjDill
@Sni

Below is my original post for anyone that want's the older Debian Unstable with the NVIDIA drivers

**************************
Original Post!

This is a basic Debian Unstable (mostly unstable) image for @jrohwer's rootbind method/kernel found here (see post 3):
http://forum.xda-developers.com/show....php?t=2347581
It uses the 3.1.10-12 oc kernel.

Obligatory Screenshot:


This has the latest Linux For Tegra binary drivers installed (R16.3) and working. es2_info shows the renderer as "NVIDIA Tegra" and I've included a 720p trailer in the Videos directory which can be played with nvgstplayer with great quality and sound. (nvgstplayer --uri "The Simpsons Movie - Trailer.mp4")

HOW I CREATED IT
I started with a Debian stable install and got the NVidia Tegra drivers working with it. Debian stable's X is at ABI 12. I then held the xserver-xorg-core (apt-mark hold xerver-xorg-core) package to prevent it from automatically updating. Then upgraded everything else to the unstable versions. It seems very few packages are dependent on newer X releases. I did try to upgrade X to the last ABI 14 version that Debian did, but got bad screen corruption with newer X releases and the Tegra driver.

I tried get gstreamer hardware accelerated playback by following this guide (http://ac100.grandou.net/hw_accelerated_video_playback) but did not have success.

DOWNLOAD
http://goo.gl/ZSYoZC

(Mirrors welcome! I suspect Google Drive will shut it down if too many people go for it.)

It's 850 MB download.

USAGE
Default user is "debian" with a password of "debian".

Ensure your tablet is not docked until you get the login screen.

INSTALLATION
In Android, if you have an existing linuxroot in your /data/ directory, rename/move it.

Extract the Debian image into /data/

Code:
su
busybox mount -o remount,rw /
mv /data/linuxroot /data/linuxroot-old

cd /data
tar -pxvzf /pathto/debian-unstable.tar.gz
busybox mount -o remount,ro /
Reboot to recovery, install @jrohwer's kernel and you're away.

MISCELLANEOUS
Wireless works, sound mostly works (it seems to randomly stop working for no apparent reason.. @DjDill complained about the same thing for his Ubuntu image as well. As mentioned, hardware acceleration is working.

I didn't test bluetooth, HDMI, or power management.
Attached Thumbnails
Click image for larger version

Name:	debian-unstable-xfce4.jpg
Views:	3353
Size:	96.4 KB
ID:	2646442   Click image for larger version

Name:	mate-desktop-1.8.0.jpg
Views:	1253
Size:	91.0 KB
ID:	2738674  
Last edited by TravellingGuy; 12th May 2014 at 01:14 AM. Reason: Use URL shortener to track clicks.
The Following 5 Users Say Thank You to TravellingGuy For This Useful Post: [ View ]
24th March 2014, 11:35 PM   |  #2  
Member
Flag Várzea Grande
Thanks Meter: 0
 
33 posts
Join Date:Joined: Mar 2012
More
I'll test it ASAP and post the results in here.

Meanwhile, I would like to ask some questions about Linux in the TF101G:

1st - Using jrohwer Kernel, I need to extract the IMG to /data/linuxroot, right?
2nd - I should never use the Dock until it boots?
3rd - Using the netinstaller v7 my tab freezes while downloading, using DjDill it wont even boot up

I know here is not the right place to ask (hypocrisy), but I'll try ur Debian now and post the results
Last edited by vbob; 25th March 2014 at 01:06 PM.
24th March 2014, 11:58 PM   |  #3  
OP Member
Thanks Meter: 28
 
30 posts
Join Date:Joined: Feb 2010
Hi vbob.

Quote:
Originally Posted by vbob

I'll test it ASAP and post the results in here.

Meanwhile, I would like to ask some questions about Linux in the TF101G:

1st - Using jrohwer Kernel, I need to extract the IMG to /data/linuxroot, right?

No, you need to flash jrohwer's kernel in recovery.

Quote:
Originally Posted by vbob

2nd - I should never use the Dock until it boots?

Correct. There's weirdness with the kernel, if the dock is connected, it continually logs errors to the console during boot. I think it'll boot up eventually with it docked, but you might be waiting a few hours.

Quote:
Originally Posted by vbob

3rd - Using the netinstaller v7 my tab freezes while downloading, using DjDill it wont even boot up

Sorry, not sure on this one!
The Following User Says Thank You to TravellingGuy For This Useful Post: [ View ]
25th March 2014, 01:09 PM   |  #4  
Member
Flag Várzea Grande
Thanks Meter: 0
 
33 posts
Join Date:Joined: Mar 2012
More
I've managed to install on the TF101G, and it worked like a charm, except there is no wifi! Even running "sudo depmod -a", copying nvram and typing iwlist, etc it refuses to connect.
25th March 2014, 08:57 PM   |  #5  
Junior Member
Thanks Meter: 2
 
18 posts
Join Date:Joined: Sep 2009
Hi! I tried this debian image today. Unfortunately the touch screen doesn't work and the usb mouse does not too. If I update from terminal t required xorg-input-abi-20. After this update the xserver crashed.
How did you create this image? Could you create a new stable (wheezy) image?
Thanks!
26th March 2014, 05:36 AM   |  #6  
OP Member
Thanks Meter: 28
 
30 posts
Join Date:Joined: Feb 2010
Quote:
Originally Posted by vbob

I've managed to install on the TF101G, and it worked like a charm, except there is no wifi! Even running "sudo depmod -a", copying nvram and typing iwlist, etc it refuses to connect.

Hmm. You could try add this to your /etc/network/interfaces file:
Code:
auto wlan0
iface wlan0 inet dhcp
    wpa-ssid    <ssid>
    wpa-psk    <passphrase>
This assumes a WPA2 personal protected access point. This will cause the wifi to try to connect when the network interface is brought up, instead of using network manager. See if that works.
Last edited by TravellingGuy; 26th March 2014 at 05:50 AM.
26th March 2014, 05:43 AM   |  #7  
OP Member
Thanks Meter: 28
 
30 posts
Join Date:Joined: Feb 2010
Quote:
Originally Posted by szigeza

Hi! I tried this debian image today. Unfortunately the touch screen doesn't work and the usb mouse does not too. If I update from terminal t required xorg-input-abi-20. After this update the xserver crashed.
How did you create this image? Could you create a new stable (wheezy) image?
Thanks!

Pfft! Who uses a touchscreen nowadays! I actually noticed that after the fact as well, but I never really use the touchscreen, so didn't notice. In fact, it seems that if you try to use the touch screen, it actually screws up the touchpad and button click stops working. Maybe that your problem. Don't touch the screen and you'll be golden. I tried a USB mouse and it works fine for me.

I can provide the steps I used to create the base stable (wheeezy) image if it would be useful, then you (or anyone else) could build their own.
26th March 2014, 05:58 PM   |  #8  
Junior Member
Thanks Meter: 2
 
18 posts
Join Date:Joined: Sep 2009
Ok, please tell me steps, I will try make a stable image.
Thanks!
29th March 2014, 11:29 PM   |  #9  
OP Member
Thanks Meter: 28
 
30 posts
Join Date:Joined: Feb 2010
Hey guys.

Good news, Nvidia has updated their Linux for Tegra driver to 16.4, which has some important fixes.

You can easily download and install it on your Debian image. Head over to my Hardware Acceleration thread for details and installation instructions.
1st April 2014, 09:46 PM   |  #10  
Kingzak34's Avatar
Senior Member
Flag South
Thanks Meter: 1,267
 
2,533 posts
Join Date:Joined: Jan 2011
Donate to Me
More
For those interested, I made a guide for setting up rootbind linux :

http://forum.xda-developers.com/show....php?t=2684854

I'll update and link your thread too

Thanks to all dev/users making img for our TF101, it's really great to make it a working laptop

Thanks for your work.

The Following 3 Users Say Thank You to Kingzak34 For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
debian, tf101, transformer, unstable
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes