[Ubuntu] T3buntu

Search This thread
Oct 22, 2012
40
34
CameraZOOM-20131212212745496.jpg

Please OP remove my old post about Ubuntu on Tab 3...

T3buntu (Had to call it something...)

Disclaimer:
What you do with this information is up to you. If your device breaks while trying anything in here you do that at your own risc.
I cant be held responsible for anything that happens to your device.

Everything in here was tested on a Samsung Galaxy Tab3 10.1(5210) if you try anything in here on any other device thats up to you.

Most of the work is made by the Linux on Android team i have just tested and fixed some stuff.

The image is ext2, x86 but im working on a ext4, AMD64 image.

”Changelog”
1. Replaced lxde with KDE Plasma
2. Added entryś in etc/fstab for int/ext SdCards
3. Edited bootscript from the Linux on Android team so that the SdCards in the Tab is correcly mounted and works with fstab.
4. Installed "missing" packages to minimize errors.

Works:
Wifi
Battery indicator
Int/Ext SdCard
Most of the stuff in Ubuntu.

Issues:
Leftpanel is black
Slow startup, but can be fixed. I will add that later.
Some apps dont work if you start them as root.
Couldnt make jpg work as wallpaper so using png at the moment.
Rotation isnt setup since we cant use xrandr to rotate the screen..

Not tested:
GPS

ToDo
Streamline startup
Add init.d support on the Tab
Tweaking were ever possible.
Fix sound

Now for the fun stuff.

Installation:
1. Root your device. I used this Guide.
2. Install Busybox.
3. Install Linux on Android.
4. Install a VNC client of your shoice, i preferr Jump Desktop free.
5. Copy bootscript.sh to /data/data/com.zpwebsites.linuxonandroid/files/ overwrite the old file.
6. Unpack and Copy the t3buntuv1.2_20131216.img to a place of your choosing on either internal or external sdcard.
7. Make a Linux on Android widget and point it to the img file you copied in 6.
OBS !! This image is preconfigured with the user ubuntu and psw t3buntu..
8. Now click on the LOA widget you made in 7 and let linux ”bootup”
9. In your VNC client connect to localhost.

DONE ! Your now in Ubuntu..

If you want more screenspace you can uncomment
# service call activity 42 s16 com.android.systemui
In bootscript.sh this will remove the android panel. The problem with this at the moment is that to
get it back you have to restart the Tab becourse the ´am´ command to get it back ”Seg faults” on
my tab and i havnt figured out why yet.

Consider this image as alpha...

OBS !! The image file is BIG 1.4GB compressed and 4GB decompressed. Will try and make it smaller not sure how the Linux on Android team made there images so small...
LINK to imagefile
LINK to bootscript

Credits
Linux on Android team
The one that made the scripts from the start. Not sure who made them...
 
Last edited:

imagelost

Senior Member
Mar 1, 2009
134
20
Montgomery AL
Awesome! Glad to see something! And having Ubuntu is a very cool os to have! Good work and thank you!

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

Rubenyz

Senior Member
Oct 27, 2011
398
127
Hoofddorp
Nice, but there are a few things...
The bootscript.sh contains one little, but crucial error.
At line 172, character 44, you forgot one space, which makes the mount procedure unusable:
Code:
$bbox mount -o bind /storage/extSdCard $mnt/extSdCard
Which should be:
Code:
$bbox mount -o bind /storage/extSdCard  $mnt/extSdCard

Without this (for me) it failes while it's starting up.


And, another thing, my tablet reboots at the moment I have to run VNC to start the X server, even though I'm not doing or touching anything.
After reboot it doesn't start up t3buntu either.

But, very good work !!

And yes, I do have Samsung Galaxy Tab 3 10.1 GT-P5210...
 
Last edited:
Oct 22, 2012
40
34
RubenStauttener;48606882]Nice, but there are a few things...
The bootscript.sh contains one little, but crucial error.
At line 172, character 44, you forgot one space, which makes the mount procedure unusable:
Code:
$bbox mount -o bind /storage/extSdCard $mnt/extSdCard
Which should be:
Code:
$bbox mount -o bind /storage/extSdCard  $mnt/extSdCard

Without this (for me) it failes while it's starting up.
Havnt noticed any problems here but i have added the space and updated the script since both versions works for me.


And, another thing, my tablet reboots at the moment I have to run VNC to start the X server, even though I'm not doing or touching anything.
After reboot it doesn't start up t3buntu either.
Does it reboot during script execution ? It do sound like a mem issue. Do you have widgets and such running in android ?
You can try with enabling the swapfile in bootscript.sh .


But, very good work !!

And yes, I do have Samsung Galaxy Tab 3 10.1 GT-P5210...
 
  • Like
Reactions: Meteore

Tangleberry

New member
Jul 20, 2008
1
0
I've got the terminal up and running fine. But I can't VNC into it. What settings are you using for you VNC viewer?
 

Nonta72

Senior Member
Mar 27, 2013
1,547
743
Speed Force
Thanks for sharing but it's not working :(
VNC: autentification failed !
Jump Desktop: It ask a password, and I don't have this password !

Sent from Gallifrey using TARDIS
 

Daniel-TAz00

Member
Aug 11, 2012
26
18
www.drebsdorf.net
Hi, I posted a question in the Q&A forum (them 10 posts), but I guess it really belongs here.

Tried this on my TWRP rooted UANB4 stock rom P5210, stock kernel. And I get the following with your script and image:

Code:
u0_a157@android:/ $
u0_a157@android:/ $ cd /storage/extSdCard/Img
u0_a157@android:/storage/extSdCard/Img $ su
u0_a157@android:/storage/extSdCard/Img # sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /storage/extSdCard/Img/t3buntuv1.2_20131216.img
Checking loop device... FOUND
mount: mounting /dev/block/loop255 on /data/local/mnt failed: Invalid argument
Error: Unable to mount the loop device!
1|u0_a157@android:/storage/extSdCard/Img #

Line : $bbox mount -t ext2 /dev/block/loop255 $mnt

Do I tell busybox to overwrite the mount command?
Otherwise, excellent work, cant wait till I have it running.


*EDIT*
Turns out I just had to copy the image again, I guess my first transfer got cut off.
Totally works, thx
 
Last edited:

Homage

Member
Jun 24, 2013
37
1
London
hey. i noticed that the last update was in April of 2014. i was wondering if there was any updates on this.

getting linux on my tablit was the #1 reason i chose to root my GT-P5210 in the first place.
 

r2d23cpo

Senior Member
Jan 25, 2014
286
131
hey. i noticed that the last update was in April of 2014. i was wondering if there was any updates on this.

getting linux on my tablit was the #1 reason i chose to root my GT-P5210 in the first place.

I did not try this one. I bet itworks in VNC as it tell us. Instead i did
http://forum.xda-developers.com/showpost.php?p=58175673&postcount=54

I guess I can say it work aceptable in VNC mode, definitly work nice in comand mode. I been working in a native solution but it is a hard bone for my teeth. Look in the general area.
 

pgk1

New member
Jan 13, 2009
2
0
Budapest
Hi Guys,

Anyona has this .sh script and the t3buntuv1.2_20131216.img file? if you send me im hosting and distributing free as i live :) i want to use for my home automatization.

THX
G



CameraZOOM-20131212212745496.jpg

Please OP remove my old post about Ubuntu on Tab 3...

T3buntu (Had to call it something...)

Disclaimer:
What you do with this information is up to you. If your device breaks while trying anything in here you do that at your own risc.
I cant be held responsible for anything that happens to your device.

Everything in here was tested on a Samsung Galaxy Tab3 10.1(5210) if you try anything in here on any other device thats up to you.

Most of the work is made by the Linux on Android team i have just tested and fixed some stuff.

The image is ext2, x86 but im working on a ext4, AMD64 image.

”Changelog”
1. Replaced lxde with KDE Plasma
2. Added entryś in etc/fstab for int/ext SdCards
3. Edited bootscript from the Linux on Android team so that the SdCards in the Tab is correcly mounted and works with fstab.
4. Installed "missing" packages to minimize errors.

Works:
Wifi
Battery indicator
Int/Ext SdCard
Most of the stuff in Ubuntu.

Issues:
Leftpanel is black
Slow startup, but can be fixed. I will add that later.
Some apps dont work if you start them as root.
Couldnt make jpg work as wallpaper so using png at the moment.
Rotation isnt setup since we cant use xrandr to rotate the screen..

Not tested:
GPS

ToDo
Streamline startup
Add init.d support on the Tab
Tweaking were ever possible.
Fix sound

Now for the fun stuff.

Installation:
1. Root your device. I used this Guide.
2. Install Busybox.
3. Install Linux on Android.
4. Install a VNC client of your choice, i preferr Jump Desktop free.
5. Copy bootscript.sh to /data/data/com.zpwebsites.linuxonandroid/files/ overwrite the old file.
6. Unpack and Copy the t3buntuv1.2_20131216.img to a place of your choosing on either internal or external sdcard.
7. Make a Linux on Android widget and point it to the img file you copied in 6.
OBS !! This image is preconfigured with the user ubuntu and psw t3buntu..
8. Now click on the LOA widget you made in 7 and let linux ”bootup”
9. In your VNC client connect to localhost.

DONE ! Your now in Ubuntu..

If you want more screenspace you can uncomment
# service call activity 42 s16 com.android.systemui
In bootscript.sh this will remove the android panel. The problem with this at the moment is that to
get it back you have to restart the Tab becourse the ´am´ command to get it back ”Seg faults” on
my tab and i havnt figured out why yet.

Consider this image as alpha...

OBS !! The image file is BIG 1.4GB compressed and 4GB decompressed. Will try and make it smaller not sure how the Linux on Android team made there images so small...
LINK to imagefile <===== this URL broken
LINK to bootscript <===== this URL broken

Credits
Linux on Android team
The one that made the scripts from the start. Not sure who made them...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    CameraZOOM-20131212212745496.jpg

    Please OP remove my old post about Ubuntu on Tab 3...

    T3buntu (Had to call it something...)

    Disclaimer:
    What you do with this information is up to you. If your device breaks while trying anything in here you do that at your own risc.
    I cant be held responsible for anything that happens to your device.

    Everything in here was tested on a Samsung Galaxy Tab3 10.1(5210) if you try anything in here on any other device thats up to you.

    Most of the work is made by the Linux on Android team i have just tested and fixed some stuff.

    The image is ext2, x86 but im working on a ext4, AMD64 image.

    ”Changelog”
    1. Replaced lxde with KDE Plasma
    2. Added entryś in etc/fstab for int/ext SdCards
    3. Edited bootscript from the Linux on Android team so that the SdCards in the Tab is correcly mounted and works with fstab.
    4. Installed "missing" packages to minimize errors.

    Works:
    Wifi
    Battery indicator
    Int/Ext SdCard
    Most of the stuff in Ubuntu.

    Issues:
    Leftpanel is black
    Slow startup, but can be fixed. I will add that later.
    Some apps dont work if you start them as root.
    Couldnt make jpg work as wallpaper so using png at the moment.
    Rotation isnt setup since we cant use xrandr to rotate the screen..

    Not tested:
    GPS

    ToDo
    Streamline startup
    Add init.d support on the Tab
    Tweaking were ever possible.
    Fix sound

    Now for the fun stuff.

    Installation:
    1. Root your device. I used this Guide.
    2. Install Busybox.
    3. Install Linux on Android.
    4. Install a VNC client of your shoice, i preferr Jump Desktop free.
    5. Copy bootscript.sh to /data/data/com.zpwebsites.linuxonandroid/files/ overwrite the old file.
    6. Unpack and Copy the t3buntuv1.2_20131216.img to a place of your choosing on either internal or external sdcard.
    7. Make a Linux on Android widget and point it to the img file you copied in 6.
    OBS !! This image is preconfigured with the user ubuntu and psw t3buntu..
    8. Now click on the LOA widget you made in 7 and let linux ”bootup”
    9. In your VNC client connect to localhost.

    DONE ! Your now in Ubuntu..

    If you want more screenspace you can uncomment
    # service call activity 42 s16 com.android.systemui
    In bootscript.sh this will remove the android panel. The problem with this at the moment is that to
    get it back you have to restart the Tab becourse the ´am´ command to get it back ”Seg faults” on
    my tab and i havnt figured out why yet.

    Consider this image as alpha...

    OBS !! The image file is BIG 1.4GB compressed and 4GB decompressed. Will try and make it smaller not sure how the Linux on Android team made there images so small...
    LINK to imagefile
    LINK to bootscript

    Credits
    Linux on Android team
    The one that made the scripts from the start. Not sure who made them...
    3
    Added links to Linux on Android and Busybox in first post.
    2
    Nice, but there are a few things...
    The bootscript.sh contains one little, but crucial error.
    At line 172, character 44, you forgot one space, which makes the mount procedure unusable:
    Code:
    $bbox mount -o bind /storage/extSdCard $mnt/extSdCard
    Which should be:
    Code:
    $bbox mount -o bind /storage/extSdCard  $mnt/extSdCard

    Without this (for me) it failes while it's starting up.


    And, another thing, my tablet reboots at the moment I have to run VNC to start the X server, even though I'm not doing or touching anything.
    After reboot it doesn't start up t3buntu either.

    But, very good work !!

    And yes, I do have Samsung Galaxy Tab 3 10.1 GT-P5210...
    2
    hey. i noticed that the last update was in April of 2014. i was wondering if there was any updates on this.

    getting linux on my tablit was the #1 reason i chose to root my GT-P5210 in the first place.

    I did not try this one. I bet itworks in VNC as it tell us. Instead i did
    http://forum.xda-developers.com/showpost.php?p=58175673&postcount=54

    I guess I can say it work aceptable in VNC mode, definitly work nice in comand mode. I been working in a native solution but it is a hard bone for my teeth. Look in the general area.
    1
    RubenStauttener;48606882]Nice, but there are a few things...
    The bootscript.sh contains one little, but crucial error.
    At line 172, character 44, you forgot one space, which makes the mount procedure unusable:
    Code:
    $bbox mount -o bind /storage/extSdCard $mnt/extSdCard
    Which should be:
    Code:
    $bbox mount -o bind /storage/extSdCard  $mnt/extSdCard

    Without this (for me) it failes while it's starting up.
    Havnt noticed any problems here but i have added the space and updated the script since both versions works for me.


    And, another thing, my tablet reboots at the moment I have to run VNC to start the X server, even though I'm not doing or touching anything.
    After reboot it doesn't start up t3buntu either.
    Does it reboot during script execution ? It do sound like a mem issue. Do you have widgets and such running in android ?
    You can try with enabling the swapfile in bootscript.sh .


    But, very good work !!

    And yes, I do have Samsung Galaxy Tab 3 10.1 GT-P5210...