yashsingh1/xdaforums huggingface dataset:
[HTC One X] TimeWasterNL:
This page still names "grouper", which is the old one.
[HTC One X] matt95:
Grouper is the Nexus 7 codename
[HTC One X] TimeWasterNL:
Yes, the one with Tegra 3, it's what the question was as far as I know.
[HTC One X] phazepiracy:
Installed zip files and flashed boot, i get stuck in HTC quietly Brilliant Screen like everybody here i guess.
[HTC One X] DeeZZ_NuuZZ:
already all who are in here know that...if one cant get it to boot the other also cant get it to boot...now we have just to wait...
[HTC One X] cleonardo:
very longtime for waiting ...coming soon baby ubuntu 1x
[HTC One X] and313:
I hope ubuntu is going to be that what is going to drive me away from android :)
[HTC One X] Alex-V:
Is ubuntu mother or father of android...?

I use it also for web browsing and kernel things
[HTC One X] and313:
I use it on my laptop but im not an advanced user. If it is mother or father? I dont know, i would say both :)
[HTC One X] -Happy Feet-:
I say mother... Okay that was, OT ;)

Gesendet von meinem HTC One X mit Tapatalk
[HTC One X] HTC Venom:
I'v been using ubuntu and other linux distros on my laptop for the last 5 years

and from my little knowledge about linux history Android and Ubuntu are brothers and their father is Linux (though Ubuntu being originally built on Debian and android direct from linux source)
[HTC One X] Alex-V:
Thx for answers... :)
[HTC One X] TimeWasterNL:
Brother from another mother.
[HTC One X] LisekDH:
It`s will be very nice to see Ubuntu on HOX :)
[HTC One X] and313:
Here is a one week old build running on nexus

https://www.youtube.com/watch?v=ez2MKVKJYS0&feature=youtube_gdata_player

Btw the official release was yesterday
[HTC One X] Random Pinenut Joy:
Okay, the Linux kernel upon which Ubuntu is built (Ubuntu is a derivative of the Debian distro, which both are the front end - with slight kernel variations, linux is the backend) is the same kernel from which Android derives its kernel. Thank you Linus Torvalds for your work. So Android & Ubuntu are essentially brothers or sisters. Depending which way you look at it.
[HTC One X] Thunder07:
If I don't go out 2night,

I'll see if I can get anything to work!

But does adb work?

Send From My HTC One X
[HTC One X] and313:
It did with the previous build. Dont know about the last one
[HTC One X] -Happy Feet-:
Has anyone run the first build?

Gesendet von meinem HTC One X mit Tapatalk
[HTC One X] and313:
Yes, it worked. But overheating problems
[HTC One X] DeeZZ_NuuZZ:
:( could be due to some not optimized things...high CPU load etc...hm

Gesendet von meinem HTC Desire HD mit Tapatalk 4
[HTC One X] and313:
The new build should not have such problems! I hope :)
[HTC One X] DeeZZ_NuuZZ:
i hope too :D and if it has those problems but it will boot then we or if matt or thunder are willing in to do that for us, to optimize it...hope it will work and i get my phone back :D
[HTC One X] gmadvanced:
Waiting for new steps to come out one month ago the s3 has a stable version of Ubuntu without any issues and we still the same
[HTC One X] and313:
Jp its a sad story, considering that a supported device is also a tegra 3 chipset. I'm not a dev but this should be a plus
[HTC One X] TimeWasterNL:
There are way more devs for Samsung devices than for HTC devices.
[HTC One X] gmadvanced:
I'm sad bcz I like my HTC more then my s3
[HTC One X] Random Pinenut Joy:
Is the git repo still the same for compiling & building. I heard that Ubuntu was going to drop the android side of things.
[HTC One X] matt95:
It is very well explained here
[HTC One X] danielxg:
Google Nexus 4 Review of Ubuntu Touch 14.04 http://www.youtube.com/watch?v=PXpndRWmC-A
[HTC One X] danielxg:
Binary package “nvidia-tegra3” in ubuntu trusty

Ubuntu Trusty (14.04) nvidia-tegra3

https://launchpad.net/ubuntu/trusty/+package/nvidia-tegra3

I hope that this is helpful to run ubuntu 14.04 for HOX????????
[HTC One X] and313:
Well the game is over for our hox all over so probably not. I already said we should raise money as a community but nobody wants to listen to get some development going even on the old kernels

Turns out old kernels are not suited for 4.4. So we really are stuck
[HTC One X] fotis12:
we need something new and stable, should we do something all the htc users together?
[HTC One X] danielxg:
start a petition like this

http://www.change.org/petitions/htc-htc-needs-timely-kernel-source-releases

---------- Post added at 10:13 PM ---------- Previous post was at 10:12 PM ----------

http://www.change.org/petitions/htc-htc-needs-timely-kernel-source-releases
[HTC One X] convict_moody:
Bro kernel sources are released by HTC o.O
[HTC One X] and313:
Yes. They did it yesterday so a petition would be "helpful" if they wouldnt
[HTC One X] hooman_1515:
Hi

When this rom is ready to use ?

Is it ready for 2 month?
[HTC One X] DeeZZ_NuuZZ:
No one is working on it

Gesendet von meinem HTC One X mit Tapatalk
[HTC One X] hooman_1515:
It have some bug
[HTC One X] LukeNukem:
It has heaps of things not working, was a big thing they got it booting.

But this project is dead. ;)
[HTC One X] HTC Venom:
Just to let you guys know a lot of popular devices on XDA didn't get Ubuntu touch yet . since I'm owning nexus 7 2013 there is no development at all for it

So don't be shocked to see this project being aborted
[HTC One X] Cney:
Best thing you can do is getting your own hands dirty. Oh and check the Ubuntu development site. The keep it sort of up to date.
[HTC One X] chalmizzle:
or buy a GNEX
[HTC One X] convict_moody:
Exactly
[HTC One X] matt95:
tomorrow i'll try to upload my sources again, hope the git won't get stuck suddenly ...
[HTC One X] Cney:
There was an earlier version I saw on the net that booted but nothing else did. I'm gonna try to find that one. Maybe a little comparison could help.

What version of hboot do you need? I might try to build this on my Ubuntu 13.04 laptop.
[HTC One X] matt95:
Well i think that most of us have the latest HBOOT...

EDIT: tonight i'll be back home and i'll start again some testing...
[HTC One X] and313:
This one has booted for me

http://xdaforums.com/showthread.php?t=2171786

[Discontunued] Ubuntu Touch port [last update March 13]
[HTC One X] matt95:
that has been made with the old sources... now it's time to move on the new ones...
[HTC One X] matt95:
i've just discovered that i had double a line in the array.c file

static void task_cpus_allowed(struct seq_file *m, struct task_struct *task)
{
seq_puts(m, "Cpus_allowed:\t");
seq_cpumask(m, &task->cpus_allowed);
+	seq_putc(m, '\n');
seq_puts(m, "Cpus_allowed_list:\t");
seq_cpumask_list(m, &task->cpus_allowed);
+	seq_putc(m, '\n');
}

i'll fix that and investigate on other files tonight

EDIT: New array.c file attached
[HTC One X] Jhinta:
so i got it bould , and can adb to it ad chroot it , but no gui , so also lon=king into that
[HTC One X] matt95:
did it boot? :D
[HTC One X] Jhinta:
well it boots ,, but no gui yet . adb is working
[HTC One X] matt95:
mmm so you are at my point in the end probably :/
[HTC One X] matt95:
found another nosuid mounting partition in the ramdisk/init.rc , got it fixed now

# mount mtd partitions
# Mount /system rw first to give the filesystem a chance to save a checkpoint
mount yaffs2 mtd@system /system
mount yaffs2 mtd@system /system ro remount
- mount yaffs2 mtd@userdata /data nosuid nodev
+ mount yaffs2 mtd@userdata /data nodev
mount yaffs2 mtd@cache /cache nosuid nodev
[HTC One X] matt95:
compiling right now, let's see if those two solves the boot issue
[HTC One X] matt95:
still no luck, it remains in bootanimation process....
[HTC One X] Jhinta:
try this

adb root

adb shell

ubuntu_chroot shell
[HTC One X] matt95:
already tried with adb root but my terminal won't push that command :/

i'll be away for 3 hrs, thank i'll be back again on it :) contact me if you have something working
[HTC One X] DeeZZ_NuuZZ:
yea for some reason the boot.img i think or so isn't allowing "remote" access via adb :/ ...because in the other builds adb wasn't able to find the device...neither the device manager of the computer .... really strange :/
[HTC One X] matt95:
Discovered that the problem is not about the kernel... take a look at the file here

no error found as far as i can see
[HTC One X] matt95:
today i'll try to make some changes in the package provided by the ubuntu-site
[HTC One X] Jhinta:
Dont kknow for sure but i belief ubuntu_chroot shell doesnt mount the system correctly as ->

Kernel = oke

initrd = not sure but adb works so sould be oke

rootfs get mounted but there is no proc no dev cant even do df or mount mtab error

#!/system/bin/sh
# This program is free software: you can redistribute it and/or modify it
# under the terms of the the GNU General Public License version 3, as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranties of
# MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the applicable version of the GNU Lesser General Public
# License for more details.
#.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (C) 2012 Canonical, Ltd.

export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export HOME=/root
export USER=root

ROOT=/data/ubuntu
MOUNT=/system/bin/mount
CHROOT=/system/xbin/chroot
ECHO=/system/xbin/echo
MKDIR=/system/bin/mkdir
UCHROOT=/system/bin/uchroot

enable_swap()
{
if [ -f /data/ubuntu/SWAP.swap ]
then
/system/xbin/swapon /data/ubuntu/SWAP.swap
fi
}

export_qt5_shell_envvars()
{
# These are here to be able to launch the Qt5 apps seamlessly
export QML2_IMPORT_PATH=/usr/lib/arm-linux-gnueabihf/qt5/imports
export QT_QPA_PLATFORM=ubuntu
}

setup_mounts()
{
if [ ! -d $ROOT/vendor ]
then
$MKDIR $ROOT/vendor
fi
if [ ! -d $ROOT/system ]
then
$MKDIR $ROOT/system
fi
if [ ! -d $ROOT/data ]
then
$MKDIR $ROOT/data
fi

$MOUNT -o bind /dev $ROOT/dev

$MOUNT -t devpts devpts $ROOT/dev/pts
$MOUNT -t sysfs sysfs $ROOT/sys
$MOUNT -t tmpfs run $ROOT/run

if [ ! -d $ROOT/run/shm ]
then
$MKDIR $ROOT/run/shm
fi

$MOUNT -t tmpfs none $ROOT/run/shm

if [ ! -d $ROOT/run/lock ]
then
$MKDIR $ROOT/run/lock
fi

$MOUNT -t tmpfs -o size=5242880 none $ROOT/run/lock
$MOUNT -o bind /system $ROOT/system
$MOUNT -o bind /vendor $ROOT/vendor
$MOUNT -o bind /data $ROOT/data
}

launch_uchroot()
{
exec $UCHROOT
}

launch_shell()
{
export_qt5_shell_envvars
exec $CHROOT $ROOT /bin/bash -c su -
}

case $1 in
"init")
setup_mounts
enable_swap
launch_uchroot
;;
*)
launch_shell
;;
esac

---------- Post added at 07:07 PM ---------- Previous post was at 07:06 PM ----------

in android

mkdir /data/ubuntu/run

mkdir /data/ubuntu/run/lock

mkdir /data/ubuntu/shm

this will make it mount oke
[HTC One X] Thunder07:
if you're still on ubuntu,

can you try this through ubuntu_chroot

after you get it to mount correctly

export $(dbus-launch)

unity8
[HTC One X] matt95:
i'm trying right now
[HTC One X] matt95:
i already have those folders
[HTC One X] matt95:
that's what i get

# root@localhost:/# export $(dbus-launch)
# Failed to open /dev/null: Permission denied
[HTC One X] matt95:
tried to

# chmod 666 /dev/null

but it gives me the same error
[HTC One X] boisdulait:
Hi,

In ubuntu, fixing this is simple :

rm -f /dev/null
mknod /dev/null c 1 3
chmod 666 /dev/null

But I don't know if it's the same on phone
[HTC One X] matt95:
already tried, no go
[HTC One X] matt95:
# ls -la /dev/null
# crw-rw-rw- 1 root root 1, 3 Jun 23 17:28 /dev/null
[HTC One X] boisdulait:
It seems tobe good. (crw-rw-rw- 1 root root 1, 3 Jun 23 17:28 /dev/null)
[HTC One X] matt95:
yeah that's what i though, but it still gives me no permission :rolleyes:
[HTC One X] Thunder07:
i managed to fix that :)

and made it as far as unity8

root@ubuntu-phablet:/# unity8
unity8
__pthread_gettid -2
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
found ro.board.platform for tegra
loaded the dummy plugin
loaded the Linux plugin
Registered the AalSensorPlugin types

Segmentation fault
[HTC One X] boisdulait:
In the logs, maybe you'll find what's wrong :

% grep null /var/log/* |grep -v “\/dev\/null 2″
[HTC One X] Thunder07:
houston we've got boot!!
[HTC One X] Alex-V:
nice :) good work...and good luck for the rest :) :) :) :)
[HTC One X] matt95:
Ahaha you did it mate :D
[HTC One X] Thunder07:
can you post the kernels init.rc??
[HTC One X] matt95:
Yep sure, send me I'll make the rest
[HTC One X] TToivanen:
Which features of this list are working? :D

Screen Brightness Controls

Automatic Brightness

GSM

CDMA Connections

3G/4G Data

WiFi

Internet Browser

Camera

Video Player

Sound (over speakers)

Audio Out via Headphones

Bluetooth

Charging Indicator

Software Center (Note : You can install simple shell applications via apt-get install … once inside the chroot)

Most applications are placeholders

MMS

SIM Storage

Auto Rotation (Or any rotation for that matter)

Notifications (All of them are placeholders)

Most Applications that do function are web apps like m.gmail.com.

NFC
[HTC One X] Jhinta:
so we have the first boot and your asking what again? :good:

---------- Post added at 10:17 PM ---------- Previous post was at 10:11 PM ----------

? how what /dev/null fixed ? , till getting permission d
[HTC One X] TToivanen:
Of course I'm interested in seeing what has changed over 4 months of time. Didn't mean to be offensive or anything :p
[HTC One X] Jhinta:
ahhhhhhhh got it now iḿ ad unit8
[HTC One X] Thunder07:
it wasnt a problem, we where going about it the wrong way.

there isnt a really way to test any of them,

Wifi: as their site states, Wifi should be wrong, but we need to manually switch it on/off... so i didnt bother looking for the method

Phone: i tried calling my self with no luck.

Music: nothing showed up from my music list, so i couldn't test, though there is a manually/terminal way around it.

Camera: app opens but nothing shows up

Webbrowser: opens, but as i'm not connected to wifi or 3g, useless

NFC: no app or interface to test it with... so as it stands, i think they only made it more stable....

unless their is a menu which i missed :p

or due to the way i FORCED it to boot, somethings didn't load, this a missing menu :eek:

like, im 100% sure the resolution is not loading correctly.

anyway, ill take a break now & see if i can find something new later 2night!!
[HTC One X] Jhinta:
its relay a mount error (/dev/null)

for me it is that /data/ubuntu/run - shm - lock dont get mounted

if i runn from android 1 by 1 you can see witch is failing

/system/xbin/swapon /data/ubuntu/SWAP.swap
/system/bin/mount -o bind /dev /data/ubuntu/dev
/system/bin/mount -t devpts devpts /data/ubuntu/dev/pts
/system/bin/mount -t sysfs sysfs /data/ubuntu/sys
/system/bin/mount -t tmpfs run /data/ubuntu/run
/system/bin/mkdir /data/ubuntu/run/shm
/system/bin/mount -t tmpfs none /data/ubuntu/run/shm
/system/bin/mkdir /data/ubuntu/run/lock
/system/bin/mount -t tmpfs -o size=5242880 none /data/ubuntu/run/lock
/system/bin/mount -o bind /system /data/ubuntu/system
/system/bin/mount -o bind /vendor /data/ubuntu/vendor
/system/bin/mount -o bind /data /data/ubuntu/data

---------- Post added at 10:43 PM ---------- Previous post was at 10:40 PM ----------

resolution can be fixed https://wiki.ubuntu.com/Touch/Porting

about wifi we can auto load it the rest we have to see how it works
[HTC One X] matt95:
Ok we need some more testing now, we'll try to fix the wifi and other small issues tomorrow and i'll release the files as soon as the build is considered "discrete :D"...
[HTC One X] matt95:
I though that they made this more stable but the memory is very bad now

# free -m
total used free shared buffers cached
Mem: 971 796 175 0 16 215
-/+ buffers/cache: 564 407
Swap: 99 0 99
[HTC One X] Thunder07:
That's probably because they've added things to it, instead if those pictures :p

Sent from my HTC One X
[HTC One X] matt95:
even sense takes less RAM :D
[HTC One X] svenvv:
Maybe the entire OS is loaded into ram instead of loading assets when they are needed?

Or.. We have A memory leak somewhere :(
[HTC One X] Jhinta:
does proc get auto mounted when you chroot to ubuntu?
[HTC One X] matt95:
Filesystem 1K-blocks Used Available Use% Mounted on
none 4 0 4 0% /sys/fs/cgroup

It appears to be not....

i have to mount them by myself
[HTC One X] matt95:
This is from chroot

# mount
none on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755,size=1024)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
none on /dev type devtmpfs (rw,mode=0755)
none on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755,size=1024)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)

this is from adb shell

rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /storage tmpfs rw,relatime,mode=050,gid=1028 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/sdhci-tegra.3/by-name/APP /system ext4 ro,relatime,user_xattr,acl,barrier=0,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 rw,nodev,noatime,user_xattr,acl,barrier=0,data=ordered,noauto_da_alloc 0 0
/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache ext4 rw,nosuid,nodev,noatime,user_xattr,acl,barrier=0,data=ordered,noauto_da_alloc 0 0
/dev/block/platform/sdhci-tegra.3/by-name/RCA /rca ext4 ro,noatime,user_xattr,acl,barrier=0,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/RFS /rfs ext4 rw,noatime,user_xattr,acl,barrier=0,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/DLG /devlog ext4 rw,nosuid,nodev,relatime,user_xattr,acl,barrier=0,data=ordered 0 0
tmpfs /data/ubuntu/dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /data/ubuntu/dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0
devpts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0
sysfs /data/ubuntu/sys sysfs rw,relatime 0 0
run /data/ubuntu/run tmpfs rw,relatime 0 0
none /data/ubuntu/run/shm tmpfs rw,relatime 0 0
none /data/ubuntu/run/lock tmpfs rw,relatime,size=5120k 0 0
/dev/block/platform/sdhci-tegra.3/by-name/APP /data/ubuntu/system ext4 ro,relatime,user_xattr,acl,barrier=0,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/APP /data/ubuntu/vendor ext4 ro,relatime,user_xattr,acl,barrier=0,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data/ubuntu/data ext4 rw,nodev,noatime,user_xattr,acl,barrier=0,data=ordered,noauto_da_alloc 0 0
none /data/ubuntu/data/ubuntu/proc proc rw,nosuid,nodev,noexec,relatime 0 0
none /data/ubuntu/proc proc rw,nosuid,nodev,noexec,relatime 0 0
none /data/ubuntu/sys/fs/cgroup tmpfs rw,relatime,size=4k,mode=755 0 0
systemd /data/ubuntu/sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,name=systemd 0 0
[HTC One X] Jhinta:
fix

#!/system/bin/sh
# This program is free software: you can redistribute it and/or modify it
# under the terms of the the GNU General Public License version 3, as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranties of
# MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the applicable version of the GNU Lesser General Public
# License for more details.
#.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (C) 2012 Canonical, Ltd.

export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export HOME=/root
export USER=root

ROOT=/data/ubuntu
MOUNT=/system/bin/mount
CHROOT=/system/xbin/chroot
ECHO=/system/xbin/echo
MKDIR=/system/bin/mkdir
UCHROOT=/system/bin/uchroot

enable_swap()
{
if [ -f /data/ubuntu/SWAP.swap ]
then
/system/xbin/swapon /data/ubuntu/SWAP.swap
fi
}

export_qt5_shell_envvars()
{
# These are here to be able to launch the Qt5 apps seamlessly
export QML2_IMPORT_PATH=/usr/lib/arm-linux-gnueabihf/qt5/imports
export QT_QPA_PLATFORM=ubuntu
}

setup_mounts()
{
if [ ! -d $ROOT/vendor ]
then
$MKDIR $ROOT/vendor
fi
if [ ! -d $ROOT/system ]
then
$MKDIR $ROOT/system
fi
if [ ! -d $ROOT/data ]
then
$MKDIR $ROOT/data
fi

$MOUNT -o bind /dev $ROOT/dev

$MOUNT -t devpts devpts $ROOT/dev/pts
$MOUNT -t sysfs sysfs $ROOT/sys
$MOUNT -t tmpfs run $ROOT/run

if [ ! -d $ROOT/run/shm ]
then
$MKDIR $ROOT/run/shm
fi

$MOUNT -t tmpfs none $ROOT/run/shm

if [ ! -d $ROOT/run/lock ]
then
$MKDIR $ROOT/run/lock
fi

$MOUNT -t tmpfs -o size=5242880 none $ROOT/run/lock
$MOUNT -o bind /system $ROOT/system
$MOUNT -o bind /vendor $ROOT/vendor
$MOUNT -o bind /data $ROOT/data
$MOUNT -t proc proc /data/ubuntu/proc
}

launch_uchroot()
{
exec $UCHROOT
}

launch_shell()
{
export_qt5_shell_envvars
exec $CHROOT $ROOT /bin/bash -c su -
}

case $1 in
"init")
setup_mounts
enable_swap
launch_uchroot
launch_shell
;;
*)
launch_shell
;;
esac
[HTC One X] matt95:
great i'll take a closer look at it after my shower :D and i'll also post the ubuntu-touch preview so that everyone who can help will have the opportunity to do it, just give me 30 mins :D
[HTC One X] matt95:
links added to OP :good::D
[HTC One X] and313:
Um... Which ubuntu package?
[HTC One X] matt95:
Sorry i forgot to say that, you need the armfh.zip
[HTC One X] and313:
already downloaded. i just thought it has to be the biggest one :)

direct link:

http://cdimages.ubuntu.com/ubuntu-t.../current/saucy-preinstalled-phablet-armhf.zip
[HTC One X] matt95:
Pretty intuitive :D
[HTC One X] Jhinta:
Got wifi working ( script )

?? do we need this before wifi , also cant we add to bashr (chroot env) ????

export $(dbus-launch)

We need to remove wifi driver from android side or onload it before chroot

then insmod it in chroot

just create this file in android env /data/ubuntu/etc/wpa_supplicant.conf (aka chroot env /etc/wpa_supplicant.conf)

ctrl_interface=/var/run/wpa_supplicant
driver_param=use_p2p_group_interface=1
update_config=1
device_name=endeavoru
manufacturer=HTC
model_name=HTC One X
model_number=HTC One X
# removed line dont think its needed (hwserial), if so let me know
# removed line device_type=xxxxx
config_methods=physical_display virtual_push_button keypad

network={
ssid="multi1"
psk="4abcdefghijk"
key_mgmt=WPA-PSK
priority=1
}

network={
ssid="multi2"
psk="4abcdefghijk"
key_mgmt=WPA-PSK
}

network={
ssid="multi3"
psk="abcdefghijk"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}

once your setup is oke

wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf
dhclient wlan0

we still need to find a way to get networkmanager working (if this even works that is, anyone knows?)
[HTC One X] matt95:
Right now I'm not at home, I'll try when I'll be back
[HTC One X] cleonardo:
fisrt, i want to say thank ur job , when i were install , but not network ,can't call, and very llll ,
[HTC One X] TimeWasterNL:
You should read the OP first.