5,597,501 Members 31,833 Now Online
XDA Developers Android and Mobile Development Forum

[Linux] Net-Install Ubuntu (V0.7)

Tip us?
 
NoDiskNoFun
Old
(Last edited by NoDiskNoFun; 24th January 2013 at 02:11 PM.)
#1  
Senior Member - OP
Thanks Meter 73
Posts: 145
Join Date: Feb 2011
Default [Linux] Net-Install Ubuntu (V0.7)

Heyho,

i've made an ArmHF Ubuntu rootfs with an Net-Install (like Debians Net-Installer) script. So you can choose your:
- Desktop Environment
- Display Manager
- It's able to install Jhinta kernel
- It's able to install Mouse-Driver
- It's able to install Tegra-Drivers (v15)
- Resize itself
- Set up WiFi
- Set up Bluetooth
- Set up Sound
- Install TouchEgg (Multitouch Support)
- and the whole thing is only about ~500mb (Download file is ~200mb and saved in .tar.gz)
- since V0.6 its about 1GB (Downloadfile is about 250MB and saved in .tar.bz2)

its stable and works with every TF101 but i want to add more options so please if you got an idea, tell me.

Some Informations about:

- It works with every TF101 version
- G version should work like it works in lilstevies ubuntu version
- SBKv2 can use Wheelie and NVFlash or flash it on Android data partition like lilstevies ubuntu version
- You DON'T need ubuntu it is ubuntu but it isn't anything installed like the ubuntu desktop, only base system
- The script installs everything and set it up and you can choose your favorite desktop environment
- Its made for newbies who dont know how they could do this.
- If you use the img on internal storage you need to resize it manually.: See how to.
- For Multitouch read instructions from here (V0.5 and above)
- If you have choose lightdm press on ubuntu-icon in lightdm and choose your Desktop Envoronment or you'll stuck on "can't find ubuntu session"

V0.1:
- Initial Release

V0.2:
- TF101G support
- KDE bugfix
- make it faster and smaller
- add Gnome as installation canidate
- Tegra Driver isn't fixed, wait till tomorrow

V0.3:
- add WPA_GUI to modify networks after installation
- add return to change settings when installations fails
- fixed Tegra Driver
- add unsecured network-config for wpa_supplicant
- add sound setup

V0.4:
- small bugfix in kernel install
- small bugfix for sound
- small bugfix for sudo

V0.5
- small bugfix in kernel install (now it should work)
- add touchegg for multitouch gestures
- add the option to compile kernel from sources
- add kernel install from Github
- add kernel install on first or second boot
- add xterm
- add ADB install for people who havn't got a dock (Check How-To)

V0.6
- Add OpenBox, Onscreen-Keyboard
- Add Autologin
- A trillion-bugfixes
- Including WiFi now works (if can't connect try to reboot)
- Including now really really trust me it really work kernel flashing (not tested xD)
- Ready for NO-DOCK =)

V0.7
- Add Autologin (not working yet)
- Bluetooth is working now
- Kernel flashing now working (tested on another devices)
- Now it shows only kernel related options (Jhinta or lilstevie)
- Now you need to type "setup" and hit Return after boot process
- Updated Tegra driver install (using .deb)


Downloads:

Image for flashing:

XdaFileServer.nl

older images on Dropbox

The script itself (only for Developers) are also in DroBox folder


Code:
How-to:
Extract File (for V0.6 rename it to net-install.tar.gz)
( Windows: Use WinRar / Linux: Use tar xfvz net-installer.img.tar.gz )
Flash it with OLiFE or Frank's Tool or internal Ubuntu way (you need to overwrite your exsiting Linux)
With V0.6 you only have to boot it and you're finished.
Since V0.7 you need to type "setup" and hit Return
Login with root / temppwd
type setup and enter
after first reboot login
type setup and enter
ADB is Out of Order =D
Code:
How-To (ADB):

(It don't work correctly at the moment (need testers)

Extract File
( Windows: Use WinRar / Linux: Use tar xfvz net-installer.img.tar.gz )
Flash it with OLiFE or Frank's Tool or internal Ubuntu way (you need to overwrite your exsiting Linux)
With V0.6 you only have to boot it and you're finished.
Flash lilstevie kernel (it won't work with Jhinta's)
run "adb shell"
run "step1adb.sh"
exit adb
run "adb-install.sh" for Linux | "adb-install.bat" for Windows
make changes for WiFi in opend file, save and close
TF101 will reboot

If you have to wait for connection at boot for more than 60sec something went wrong
        - reboot and try again to connect (i recommend this first)
        - rerun adb-install script for modify connection

run "adb shell"
run "step2adb.sh"
exit adb

How to resize img:
You need Linux!
Run that commands in a terminal
Code:
qemu-img create Linux.img (X)G (X = siye in Gigabyte)
fdisk Linux.img (close it with CTRL + C)
mkfs.ext4 LInux.img
mkdir Net-install
mkdir Linux
sudo mount net-installer.img Net-install
sudo mount Linux.img
sudo cp -a -f -v ./Net-Install/* ./Linux/
Use Linux.img from now on
You can remove all made directorys and net-installer.img
The Following 32 Users Say Thank You to NoDiskNoFun For This Useful Post: [ Click to Expand ]
 
vietchinh
Old
#2  
Senior Member
Thanks Meter 21
Posts: 176
Join Date: Jun 2012
Can you explain what this is for?

Must u have a installed ubuntu or..?

Sbk2 supportive?
 
NoDiskNoFun
Old
#3  
Senior Member - OP
Thanks Meter 73
Posts: 145
Join Date: Feb 2011
it's a mimnimal install of ubuntu with my script for installing everything like you want it. for example you want kde instead of unity. it installs kde for you. i've made it for noobies who like kubuntu or don't know howto setup jhinta kernel and drivers.
 
senel
Old
#4  
Member
Thanks Meter 3
Posts: 97
Join Date: Apr 2011
So it replaces CWM at its partition?

Odesláno z mého HTC Vision pomocí Tapatalk 2
 
NoDiskNoFun
Old
#5  
Senior Member - OP
Thanks Meter 73
Posts: 145
Join Date: Feb 2011
No .... You Flash it over your Linux partition (16) ... Because its linux\ubuntu but only the Base System and the script installs the Desktop Environment you want .... Just TRY it ... Its unbeliveble fast!
 
realdope
Old
#6  
Member
Thanks Meter 1
Posts: 32
Join Date: Jul 2010
Location: ribera
Lightbulb ubuntu on tf101 G !?!

Does it work with a tf101g?
and how do i flash this image on my tf 101 G?
Thanks for your great work
 
NoDiskNoFun
Old
(Last edited by NoDiskNoFun; 25th August 2012 at 04:42 PM.)
#7  
Senior Member - OP
Thanks Meter 73
Posts: 145
Join Date: Feb 2011
There are two ways:
1. Renane it to Ubuntu.img and copy it into olife/images
2. Use Franks Tool and use this File

I'll make an how to when i'm at Home...


And it works with every tf101 ... Sbkv2 needs wheelie ...
G Version needs Modem Tool but i dont know which ...
The Following 2 Users Say Thank You to NoDiskNoFun For This Useful Post: [ Click to Expand ]
 
prog19
Old
#8  
Senior Member
Thanks Meter 40
Posts: 198
Join Date: Apr 2012
So i can use jhinta kernel with working trackpad? This works in dualboot mode ? Ubuntu 11.10 or 12.04 ?

I already have ubuntu in dualboot, but im sutuck in the old kernel because in my tablet jhinta's kernel does not enable usb hotplug and trackpad. Maybe i was missing something. Can you tell me if this 2 functions are working when using your scripts.
Thanks in advance


Enviado pelo meu Transformer, usando o aplicativo XDA Premium
 
NoDiskNoFun
Old
#9  
Senior Member - OP
Thanks Meter 73
Posts: 145
Join Date: Feb 2011
Yes ...both work perfektly and the script set it up ...
Ubuntu 12.04 and ArmHF which makes it so damn fast ...
 
prog19
Old
#10  
Senior Member
Thanks Meter 40
Posts: 198
Join Date: Apr 2012
I will try this as soon as i comeback to my home. This sound amazing.
Will libre office work in kde enviroment ?

So i use olife to flash the ubuntu image and run the sripts in my linux pc conected to transformer ?

Enviado pelo meu Transformer, usando o aplicativo XDA Premium

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes