FORUMS

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by … more

How To Port Fully Featured Sony Xperia Z4 Camera

Xperia Z4’s hardware may not impress, but its software is definitely … more

Experimental TWRP Available For Moto G 2015

XDA Senior Member squid2 has posted experimental builds of TWRP for the Moto G … more

Sunday Debate: How Can We Get a No-Compromise Phone?

Join us in a fun Sunday Debate on Compromises. Come with your opinions and … more

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

145 posts
Thanks Meter: 73
 
By NoDiskNoFun, Senior Member on 25th August 2012, 02:23 PM
Post Reply Subscribe to Thread Email Thread
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
Last edited by NoDiskNoFun; 24th January 2013 at 02:11 PM.
The Following 32 Users Say Thank You to NoDiskNoFun For This Useful Post: [ View ]
 
 
25th August 2012, 03:11 PM |#2  
Senior Member
Thanks Meter: 29
 
More
Can you explain what this is for?

Must u have a installed ubuntu or..?

Sbk2 supportive?
25th August 2012, 03:16 PM |#3  
OP Senior Member
Thanks Meter: 73
 
More
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.
25th August 2012, 03:49 PM |#4  
Senior Member
Thanks Meter: 15
 
More
So it replaces CWM at its partition?

Odesláno z mého HTC Vision pomocí Tapatalk 2
25th August 2012, 04:06 PM |#5  
OP Senior Member
Thanks Meter: 73
 
More
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!
25th August 2012, 04:32 PM |#6  
Member
Flag ribera
Thanks Meter: 1
 
More
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
25th August 2012, 04:39 PM |#7  
OP Senior Member
Thanks Meter: 73
 
More
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 ...
Last edited by NoDiskNoFun; 25th August 2012 at 04:42 PM.
The Following 2 Users Say Thank You to NoDiskNoFun For This Useful Post: [ View ]
25th August 2012, 05:09 PM |#8  
Senior Member
Thanks Meter: 158
 
More
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
25th August 2012, 05:12 PM |#9  
OP Senior Member
Thanks Meter: 73
 
More
Yes ...both work perfektly and the script set it up ...
Ubuntu 12.04 and ArmHF which makes it so damn fast ...
25th August 2012, 05:48 PM |#10  
Senior Member
Thanks Meter: 158
 
More
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
25th August 2012, 05:58 PM |#11  
OP Senior Member
Thanks Meter: 73
 
More
Libre Office should work but i havnt Test it ....
No ... Flash it, Login in with root and passwd "temppwd" and run "setup" ... Without quotes ...

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes