Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Thread

Search This thread

TomTcom

Senior Member
Mar 27, 2011
1,192
535
Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Thread

This guide assumes you are familiar with using the Tubuntu application by x3Maniac. If you are not, please read the OP by x3maniac to familiarize yourself with the application before going further. Also, I'm giving instructions based on the standard dual boot configuration.

OP for Tubutnu by x3maniac

This install takes about 2 hours or more because of installing GNOME-CORE.

Please note that this version is very new. There are a few bugs like any OS and some random issues I have encountered. x3maniac is also working on a newer initramfs and kernel. This will be released in due time. Continue to check the OP for updates.

One more note, there is no GUI. We are going to install gnome-core as the GUI. You can install any desktop you want but this guide is only for GNOME-CORE.

1. After sucessful bual boot you should be in Prime (Android). Please set up your internet connection so you have a valid wpa_supplicant to copy. Reboot to recovery or power down, vol down + power and vol up to enter recovery to boot Ubuntu.

2. Login with root and family as the password. (you are at a text based login)

3. Execute this command: resize2fs /dev/mmcblk0p8 (ensures your partition is fully using the 6GB available)

4. We now need to set up an internet connection. Execute this command: mount -o rw /dev/mmcblk0p7 /tmp

5. cd /tmp then cd /misc/wifi

6. Execute this command: cp wpa_supplicant.conf /etc

7. Execute this command: wpa_supplicant -B -c /etc/wpa_supplicant.conf -iwlan0

8. Execute this command: /usr/lib/klibc/bin/ipconfig wlan0 (type out everything as you see it)

9. nano /etc/resolv.conf add nameserver 8.8.8.8 to this file. ctrl + o and ctrl + x to save and exit.

10 nano /etc/apt/sources.list find entries that are commented out with the"#" sign for "universe" and remove the pound sign. Save and exit.

10. Execute this command: apt-get update

11. Execute this command: apt-get install sudo -y

12. nano /etc/sudoers add this line username ALL=(ALL:ALL) ALL ) (substitute the username you made) (you are copying the same line that has root but with your new username)

13. Execute this command: apt-get install bash-completion (optional but recommended)

14. Execute this command: nano /etc/hosts add 127.0.0.1 tf101.raring to this file. Save and exit.

15. Execute this command: apt-get install apt-utils (optional but recommended)

16. Execute this command: adduser username (substitute username for whatever username you would like). Enter a password as well.

17.Execute this command: exit we are exiting so we can login with the new user and install the gnome-core.

18. Login with your new username and password

19. Execute this command: sudo apt-get install gnome-core (may take about 2 hours or so to install) DO NOT REBOOT AFTER THIS FINISHES

20. You may encounter questions such as encoding and character set. I chose UTF-8 for "Encoding to use on the console" and Latin1 and Latin5 for character set. NOTE: I'm not sure if the second one is correct.

21. Execute this command: sudo apt-get purge pulseaudio (once this is done you may reboot and should be presented with the GUI)

22. Login to the GUI with your username and open terminal.

23. Execute this command: sudo apt-get install software-center (this is Ubuntu software center)

24. Execute this command: sudo apt-get install cpufrequtils (this is the governor for the CPU's)

25. Execute this command: sudo nano /etc/rc.local

26. Add the following 2 lines into this file and save and close:
26b. cpufreq-set --cpu 0 -d 812000 -u 1400000 -g ondemand
26c. cpufreq-set --cpu 1 -d 812000 -u 1400000 -g ondemand

27. If you have problems booting back into Android, open terminal and Execute this command: sudo echo boot | dd of=/dev/mmcblk0p3 bs=1 seek=0
 
Last edited:

benmatlock

Senior Member
Dec 20, 2012
207
61
Was just wondering if this method has the onboard keyboard for the SL101 enabled? Currently using the tubuntu package setup and the hardware keyboard was not being recognized.
 

TomTcom

Senior Member
Mar 27, 2011
1,192
535
Re: Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Th

Was just wondering if this method has the onboard keyboard for the SL101 enabled? Currently using the tubuntu package setup and the hardware keyboard was not being recognized.

Not that I'm aware of. It's specific to the tf101 only.
 

TomTcom

Senior Member
Mar 27, 2011
1,192
535
Re: Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Th

You are right. I'll fix that soon!
 
  • Like
Reactions: Kingzak34

Kingzak34

Senior Member
Jan 5, 2011
3,097
1,543
South
Google Nexus 4
OnePlus One
Is it normal that status bar are both black and some icons are missing ( replaced with a black and white "picture" icon ).
May be it miss something ? Or it's just me xD

I'll try to get onboard on login now ;) Thanks for your guide anyway !
 
  • Like
Reactions: TomTcom

TomTcom

Senior Member
Mar 27, 2011
1,192
535
Re: Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Th

Is it normal that status bar are both black and some icons are missing ( replaced with a black and white "picture" icon ).
May be it miss something ? Or it's just me xD

I'll try to get onboard on login now ;) Thanks for your guide anyway !

Sounds right for gnome core but I would have to see if yours is the same as mine.

Seems to be quite a minimalistic setup.

Thanks for checking out onboard.
 

Lethe6

Senior Member
Sep 11, 2012
446
91
Thanks for the guide. Before I give it a shot, I have a few questions. Are you aware if:
- The HDMI output works (don't care much about audio but some may)?
- It suffers the same random freezes as Lunbuntu does? Mine freezes randomly while doing trivial tasks, such as creating a desktop shortcut lol :\ Trying to get a stable one going!
 

TomTcom

Senior Member
Mar 27, 2011
1,192
535
Re: Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Th

Thanks for the guide. Before I give it a shot, I have a few questions. Are you aware if:
- The HDMI output works (don't care much about audio but some may)?
- It suffers the same random freezes as Lunbuntu does? Mine freezes randomly while doing trivial tasks, such as creating a desktop shortcut lol :\ Trying to get a stable one going!

Not sure of HDMI but yes there are freezes for me that is. Some more updates will be coming soon to help make it better.
 
  • Like
Reactions: Lethe6

TomTcom

Senior Member
Mar 27, 2011
1,192
535
Re: Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Th

I think with last 2.6.34 kernel with confgured 316-1200 cpu, it shouldnt freez ( Didnt had freez for now, didnt do the cpu config at the end of guide )

Let me refine my statement...I think many of my freezes were due to suspend and a few other little things. Also probably some of them were my fault too.
 

Lethe6

Senior Member
Sep 11, 2012
446
91
Still happening to me... it can take 1 minute it can take 20 minutes, under very light load, doing the most random things... :(
 

TomTcom

Senior Member
Mar 27, 2011
1,192
535
Re: Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Th

Still happening to me... it can take 1 minute it can take 20 minutes, under very light load, doing the most random things... :(

Try loading cpufrequtils from the last step of the guide. Should help considerably.
 

Kingzak34

Senior Member
Jan 5, 2011
3,097
1,543
South
Google Nexus 4
OnePlus One
Here we are ! I found a way to show Onboard on login screen !
Was searching long long time why doesnt work, cause I didnt installed onboard .... Shame on me !
So ! Defaut DM is gdm.

Open term,
nano /etc/gdm/Init/Default

Before the exit 0 at the end, add "onboard&"
Then save and reboot ;)
( You can add options like size and position to the command, look into onboard man )

( Dont forget the & otherway, You'll got to log in text mode and add it cause if there is no &, Onboard appear and nothing append, screen stay black )

Ho, and be carefull, you add a ) in line that contain
The last ) must not be typed
 
Last edited:
  • Like
Reactions: TomTcom

TomTcom

Senior Member
Mar 27, 2011
1,192
535
Here we are ! I found a way to show Onboard on login screen !
Was searching long long time why doesnt work, cause I didnt installed onboard .... Shame on me !
So ! Defaut DM is gdm.

Open term,
nano /etc/gdm/Init/Default

Before the exit 0 at the end, add "onboard&"
Then save and reboot ;)
( You can add options like size and position to the command, look into onboard man )

( Dont forget the & otherway, You'll got to log in text mode and add it cause if there is no &, Onboard appear and nothing append, screen stay black )

Ho, and be carefull, you add a ) in line that contain The last ) must not be typed

That worked! Lol...I went through a lot of config files doing the same thing. This is great news, much appreciated KingZak!
 

TomTcom

Senior Member
Mar 27, 2011
1,192
535
Re: Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Th

You can do the same with kdm and lightdm ( But not with lightdm from x3maniac Lubuntu dont know why )

KingZak, have you been able to use the file /usr/share/onboard-defaults.conf? I wanted specific sizes and settings for login screen, screen saver, and desktop. However when I use the file of doesn't use the settings I modify.

Any ideas?

***
In dconf editor you can tell it to use the defaults config file but it appears to reset each time onboard is closed...hmmm..not sure the next step.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Thread

    This guide assumes you are familiar with using the Tubuntu application by x3Maniac. If you are not, please read the OP by x3maniac to familiarize yourself with the application before going further. Also, I'm giving instructions based on the standard dual boot configuration.

    OP for Tubutnu by x3maniac

    This install takes about 2 hours or more because of installing GNOME-CORE.

    Please note that this version is very new. There are a few bugs like any OS and some random issues I have encountered. x3maniac is also working on a newer initramfs and kernel. This will be released in due time. Continue to check the OP for updates.

    One more note, there is no GUI. We are going to install gnome-core as the GUI. You can install any desktop you want but this guide is only for GNOME-CORE.

    1. After sucessful bual boot you should be in Prime (Android). Please set up your internet connection so you have a valid wpa_supplicant to copy. Reboot to recovery or power down, vol down + power and vol up to enter recovery to boot Ubuntu.

    2. Login with root and family as the password. (you are at a text based login)

    3. Execute this command: resize2fs /dev/mmcblk0p8 (ensures your partition is fully using the 6GB available)

    4. We now need to set up an internet connection. Execute this command: mount -o rw /dev/mmcblk0p7 /tmp

    5. cd /tmp then cd /misc/wifi

    6. Execute this command: cp wpa_supplicant.conf /etc

    7. Execute this command: wpa_supplicant -B -c /etc/wpa_supplicant.conf -iwlan0

    8. Execute this command: /usr/lib/klibc/bin/ipconfig wlan0 (type out everything as you see it)

    9. nano /etc/resolv.conf add nameserver 8.8.8.8 to this file. ctrl + o and ctrl + x to save and exit.

    10 nano /etc/apt/sources.list find entries that are commented out with the"#" sign for "universe" and remove the pound sign. Save and exit.

    10. Execute this command: apt-get update

    11. Execute this command: apt-get install sudo -y

    12. nano /etc/sudoers add this line username ALL=(ALL:ALL) ALL ) (substitute the username you made) (you are copying the same line that has root but with your new username)

    13. Execute this command: apt-get install bash-completion (optional but recommended)

    14. Execute this command: nano /etc/hosts add 127.0.0.1 tf101.raring to this file. Save and exit.

    15. Execute this command: apt-get install apt-utils (optional but recommended)

    16. Execute this command: adduser username (substitute username for whatever username you would like). Enter a password as well.

    17.Execute this command: exit we are exiting so we can login with the new user and install the gnome-core.

    18. Login with your new username and password

    19. Execute this command: sudo apt-get install gnome-core (may take about 2 hours or so to install) DO NOT REBOOT AFTER THIS FINISHES

    20. You may encounter questions such as encoding and character set. I chose UTF-8 for "Encoding to use on the console" and Latin1 and Latin5 for character set. NOTE: I'm not sure if the second one is correct.

    21. Execute this command: sudo apt-get purge pulseaudio (once this is done you may reboot and should be presented with the GUI)

    22. Login to the GUI with your username and open terminal.

    23. Execute this command: sudo apt-get install software-center (this is Ubuntu software center)

    24. Execute this command: sudo apt-get install cpufrequtils (this is the governor for the CPU's)

    25. Execute this command: sudo nano /etc/rc.local

    26. Add the following 2 lines into this file and save and close:
    26b. cpufreq-set --cpu 0 -d 812000 -u 1400000 -g ondemand
    26c. cpufreq-set --cpu 1 -d 812000 -u 1400000 -g ondemand

    27. If you have problems booting back into Android, open terminal and Execute this command: sudo echo boot | dd of=/dev/mmcblk0p3 bs=1 seek=0
    2
    Re: Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Th

    lol done

    one more thing lmao

    why the sound is so low i cant find the volume options

    In terminal open alsamixer and increase the volume there.
    2
    Re: Guide for Raring & GNOME-CORE using [Win32/64][Dual Boot] Tubuntu for x3Maniac Th

    im happy it booted up to lubuntu now i guess i play around to get other stuff on it u r awesome man

    You're welcome. Hit a couple thanks and we'll be even..lol!
    2
    Tried playing around with the wpa_supplicant file for a while with no luck. I even removed the security on my network (previously I had WPA2) and it says that it's connected but when I execute "/usr/lib/klibc/bin/ipconfig wlan0" it hangs just like before :(

    Do you mind sharing your file? I've googled and tried various tags with no luck so far.

    /etc/wpa_supplicant.conf

    Mine looks like this:

    ctrl_interface=wlan0
    network={
    ssid="putSSIDhereINquotes"​
    scan_ssid=1​
    key_mgmt=WPA-PSK​
    psk="passwordINquotes"​
    }


    That's it..
    2
    Is there a way for me to check that the internet is working? I think it should be working because I can see the mac address on my router's connected list.

    ---------- Post added at 09:10 PM ---------- Previous post was at 09:06 PM ----------



    This happens to me too when i run ipconfig and then i exit out with CTRL-C. Is this supposed to happen?

    If you can do an apt-get update then your internet is working as it needs to be.

    I will tell you both that I had issues with the supplicant I copied from Android and ended up going to Google and making my own. It wasn't really anything different and it worked though so you might want to try that as well.

    That shouldn't happen, you are probably partially working but not authenticated appropriately to your network. You may have to edit/play around with your supplicant file. If you are able to get that far it just may be a tweak or two.

    As I said before, X3's original instructions didn't work quite right for me and I made my own guide so it's possible for whatever reason I don't know that you might need to do the same. Research, tweak, test. It gets kind of annoying but you'll learn a lot and be able to do it better and quicker next time.