ubuntu chroot vs native - Other TouchPad Development

I have chroot installed, debating if I should delete it and install native.
my experience with chroot: chroot does not support mouse, only 11.10, but it is in card mode which is convenient, and BT, video,audio works .
what is pro or con with native ubunto 12.10 or 13.04.

i say native will always be better then chroot
bmebme said:
I have chroot installed, debating if I should delete it and install native.
my experience with chroot: chroot does not support mouse, only 11.10, but it is in card mode which is convenient, and BT, video,audio works .
what is pro or con with native ubunto 12.10 or 13.04.
Click to expand...
Click to collapse
i been runing ubuntu on my tp for some time now and i most say with bt sound and wifi
now it wont be fast and it wont be stable :silly:
im running 12.10 and loving it

Related

[Q] i9000 and Linux (Ubuntu 10.04 / 10.10)

Does anybody run Linux at home, and if so does the I9000 pop up as a removeable device? Do I lose any awesome features by not being able to use Kies? Remote control of phone is not that useful to me.
I'll be spending the latter part of today (hopefully) finding this out for myself, but it may help if I can just return the phone on the day of delivery that faff about sending it later in the week.
Ubuntu - use usb select on connection in about phone usb and debug off in development usb Then connect phone and choose mount from the homesceen dropdown. Ubuntu will mount the sdcards I also got Kies to work with Win7 on virtual box under ubuntu - you must have the default launcher though
Sent from my GT-I9000 using XDA App
Excellent, although I've just remembered that I'm getting Windows 7 anyway. Gaming through WINE is a PITA.
Yay for education discounts!
On Ubuntu Mass Storage mode works fine, mounts the internal and external SD cards. You can also use ADB to access the phone if you set it to debug mode. There is just a funny where you need to register the USD device but if you are only wanting to access the data then you don;t need to worry about this.
Is'nt it sad that you have to use MS to work with a linux device?
Sent from my GT-I9000 using XDA App
kb909 said:
Is'nt it sad that you have to use MS to work with a linux device?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
I'm a little concerned that they will be issuing updates via Kies... since I don't have a windows disk to run in a Virtual Machine. So I guess that means I don't have the option of running a stock Froyo... Linix only people will probably have to wait for a friendly DEV to produce a custom rom based on the stock update. you can use the tool called Heimdall for that sort of thing in linux. (it's like Odin but command line based.)
are you guys using the ubuntu for netbook or regular ubuntu desktop, or the server version of ubuntu ?
AllGamer said:
are you guys using the ubuntu for netbook or regular ubuntu desktop, or the server version of ubuntu ?
Click to expand...
Click to collapse
Ubuntu 10.4 Desktop
Ubuntu 10.10 Desktop
Ubuntu 10.10 Netbook
haven't tried with the server variant
the phone is recognized via USB all modes. regular boot as a Removable device, regular boot in Debug mode, Recovery mode, and Download mode.

[Chroot] Chroot scripts for lg optimus. Run ubuntu ,debian or meego from Android

These are the scripts I have running on my phone to chroot to any image. Simply extract to / sdcard/bt5, copy the image you want to run and rename bt5.img
Then from the terminal run:
su
cd sdcard/bt5
sh bootbt
http://www.multiupload.com/19WPTHNA90
I encourage anyone who wants to upload your own images optimized for the display of the Optimus.
Need rooted phone and busybox installed, running in original firmware with quarsar v3 kernel, no problems.
we can run meego thru this? this is for developing purpose, or does it allow us users to boot OB into another operating system?
what can we do thru using this?dual boot?
of the moment only chroot, of course dual boot is possible
i'm sorry if this sounds noob, but wat does chroot do? I have only heard of multiboot. If i download that file of urs, what can i actually gain from it? thx in advance
nickrule1896 said:
i'm sorry if this sounds noob, but wat does chroot do? I have only heard of multiboot. If i download that file of urs, what can i actually gain from it? thx in advance
Click to expand...
Click to collapse
Chroot 'jails' another linux distro inside your android using the same kernel.
For example I use chroot with my Multimedia HD (Blusens T50, a Emtec Q800's brother) in order to have a debian distro plenty of space (the chroot is a external space to mount into the system) also updatable. Then, I can install in my case an ftp server, a torrent client, etc...
Regards.
From where can we download the images?
In xda exists multiple posts with images for chroot if not in google appear links with how to make your rootfs system in ext2
enviado
wuebas said:
These are the scripts I have running on my phone to chroot to any image. Simply extract to / sdcard/bt5, copy the image you want to run and rename bt5.img
Then from the terminal run:
su
cd sdcard/bt5
sh bootbt
http://www.multiupload.com/19WPTHNA90
I encourage anyone who wants to upload your own images optimized for the display of the Optimus.
Click to expand...
Click to collapse
any instruction to chroot the Megoo on ob ?
u should watch this http://wiki.meego.com/ARM/MSMQSD
of the moment exist on internet one image that load it in terminal mode (no gui) with bash shell, it is similar to ubuntu terminal. Maemo gui is possible install in ubuntu, it is hildon desktop. Since my experience the most usable desktop is lxde running vertical mode 760x1024 with real vnc using virtual keyboard of android and emulated mouse. Backtrack 5 is usable but the image has errors and gnome run slow. other alternative is matchbox desktop for small screens in embeded devices.
To run meego or maemo is necesary config gui and install vncserver.
For other part, meego uses moblin desktop, it is posible install in ubuntu too.
Here i share one rootfs with lxde and backtrack repositories, it is in spanish language; http://www.htcmania.com/showthread.php?t=260402

[Q] access native Linux from webOS or Android using chroot

I've webOS, Arch Linux(native), and Android...
As I said in the title, I would like to know if it's possible to access/use native Arch Linux using chroot in webOS or Android.
With this I could use the same cli apps in the 3 OS...
Thanks

[Q] Anybody up for porting Ubuntu?

Since we got a x86 cpu i want to use ubuntu on it, as im from germany i still dont have my I but has anybody tried linux on android?
Adam Outler mentioned something that this would not work...
Btw can somebody tell me what the kernel version is..?
Sorry mods for (possibly) posting in the wrong section :/
//Robert
Sent from my LG-P500 using xda premium
Robbilie said:
Since we got a x86 cpu i want to use ubuntu on it, as im from germany i still dont have my I but has anybody tried linux on android?
Adam Outler mentioned something that this would not work...
Btw can somebody tell me what the kernel version is..?
Sorry mods for (possibly) posting in the wrong section :/
//Robert
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Kernel version is 3.0.8.
If you can install linux distros on the backend of rooted ARM devices it should make sense we could do the same....maybe
Ubuntu on a RAZR I ? Linux x86 apps + windows apps with wine without even recompile? I think this devece needs some love. It can be the next HTC HD2 for shure.
I dont understand the htc comparison
But i have your ideas about no need to recompile and wine in mind too...
But i understand adam because linux for android is compiled for arm achitecture so a usual desktop image would make more sense...
Why is the kernel version so low?!
Sent from my LG-P500 using xda premium
What we need to do
I have a friend with this device, after rooting he reports there is no chroot command from terminal. If so we must:
Compile busybox (with more extensions) for x86 and install it alongside root (or after root)
Make a mountable image from an ubuntu clean install and mount it (probably also needs busybox)
chroot into this mounted image
run a vnc X server on a framebuffer
vnc from android
This is how it is done on other android devices, will attempt to compile and try these instructions out this weekend when I meet him but booting native ubuntu is a much better idea (even better if we can make it receive calls ).
And for what Windows on 4,3 inches display? It dont have hdmi.
Odoslané z GT-P7300 cez Tapatalk 2
The micro usb is acting like hdmi with adapter...
Sent from my LG-P500 using xda premium
Go look up the HTC HD2. It can run Windows Phone 7 and Android dual-booted (with Linux from SDCard), and was originally the last, albeit most powerful, Windows Mobile 6 phone ever made.
Even though it is four years old, there is a massive and vibrant dev community behind it, making it reach the front page of XDA forums.
However, even the venerable HD2 is getting old, with 1GHz processor and half a gig of RAM that was top-of-the-line years ago, and people have looked in vain for some kind of successor. Hopefully, the Razr I, with an unlockable bootloader and Intel processor, will be the one. But that remains for us to do.
pablocrossa said:
I have a friend with this device, after rooting he reports there is no chroot command from terminal. If so we must:
Compile busybox (with more extensions) for x86 and install it alongside root (or after root)
Make a mountable image from an ubuntu clean install and mount it (probably also needs busybox)
chroot into this mounted image
run a vnc X server on a framebuffer
vnc from android
This is how it is done on other android devices, will attempt to compile and try these instructions out this weekend when I meet him but booting native ubuntu is a much better idea (even better if we can make it receive calls ).
Click to expand...
Click to collapse
So I tried this out and there is a chroot-compatible busybox after rooting ("busybox chroot" needs to be called as opposed to "chroot" as there is no properly made link), so anyone with this phone can try (using a PC) install Ubuntu without the grub bootloader using manual partitioning on a single ext3 (I am not sure if ICS supports ext4) partition on a microsd, put into your phone, use a root terminal, mount it, mount the adequate dev, dev/pts, proc and sys partitions and chroot right in. You then might want to install a VNC server in Ubuntu to be able to create a VNC X session in a framebuffer and a VNC client on the android side to VNC into localhost (127.0.0.1), but that should work, I didn't have time to try it this weekend If someone gets stuck post and let us see what happens I cannot wait to see if wine can run desktop Spotify with sound, excited a little hehe.
EDIT: So to make this more understandable you must:
Install Ubuntu (using your computer) to a MicroSD, specifying partitions manually and choosing only a single ext3. Right before clicking install there is a button with something along the lines of "Advanced options", disable the install the bootloader (grub) option.
Insert the MicroSD into the phone and open a root terminal
I don't use Android, maybe it automounts in /media/sdcard or /sdcard, if not you will have to find the device and partition name (probably /dev/mmcblk0p1 or /dev/sdb1) and issue "mount /dev/DEVICEPARTITION /media/sdcard"
mount -t proc proc /media/sdcard/proc
mount -o bind /dev/ /media/sdcard/dev/
mount -t devpts devpts /media/sdcard/dev/pts
busybox chroot /media/sdcard /bin/bash
Now a shell from Ubuntu should open. apt-get update && apt-get install vncserver (maybe the DNS settings must be set in /etc/resolv.conf, not yet sure)
vncserver (or start vncserver, something along those lines)
Now from Android install a VNC viewer and vnc into 127.0.0.1 (or localhost)
That should do it, again if you get stuck post here
i had htc hd2, the most amazing phone in the world. I wanna buy the rarz i for the x86 processor in it. But cpu power without community and developers is nothing :|
Sorry for my bad english.
Yesterday we tried something:
We used dd to put an arch linux image on a micro sd card...
Though my laptop wasnt even able to boot from any sd card, this should work on our phone...
but how to make it boot from the sd card? xD
btw you might have noticed, this will make only linux boot, not android, we dont chroot, may somebody build a simple ubuntu img for complete linux installer?
//Robert
so right now i am trying to chroot into an img file, mounting it and then chrooting it but all i get is:
chroot: can't execute '/system/bin/sh': No such file or directory
whats wrong?
Robbilie said:
The micro usb is acting like hdmi with adapter...
Click to expand...
Click to collapse
Razr i MHL capable???
as far as i know, sadly not no
Ok so finally I got Ubuntu Quetzal running with chroot, still some problems (missing randr extension in vnc) but ill get over this
Hey,
great work. :good:
Good to see there are people with the same ideas. I´ve searched a lot for this thread.
I will also try to get this device for the same reasons when it´s cheaper. Has anybody tried to get Plasma Active or Tizen to run?
I think Active should now be possible through kubuntu Active?
Cheers!
Hi all
At first you can try a application from play store called Linux installer
https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid
Otherwise you can wait some weeks for an nexus 7 Ubuntu port witch looks really interesting.
http://forum.xda-developers.com/showthread.php?t=1957561
Ahhh maybe have a look at the andrinux project here at xda
[/COLOR]Here's the andrinux link
http://forum.xda-developers.com/showthread.php?t=1387105
Sent from my sweet little Blackbox
Robbilie said:
Ok so finally I got Ubuntu Quetzal running with chroot, still some problems (missing randr extension in vnc) but ill get over this
Click to expand...
Click to collapse
thanks for your post on preparing an arch image (I don't have permision to post in devel forum, maybe because I'm a newbie ), It worked well for me although I had to adjust some things such as path and pts mount
I now have a gcc toolchain and a latex distrib on my phone I had never used arch, found it very good
I've also tried some window managers ... the one I find best for the moment is enlightenment in the touchscreen mode, awesome works great as well.
I would also suggest to use Hacker's keyboard instead of stock android, it is a complete keyboard, very usefull when dealing with terminals ... as for VNC viewer, one should recompile android-vnc-viewer with the patches given in Issues 238 and 239 (can't post links either), it's a lot better
I've had a lot of fun, thanks
First, Complete Linux Installer doesnt work because its images are compiled for arm not x86 (i tried )
Secondly, I did a tutorial here http://forum.xda-developers.com/showthread.php?t=1966984
the nexus 7 stuff is interesting and we consider making flashable fastboot for the razr i since we dont have cwm or such you know
i am talking to jordan keyes who recently owned a nexus 7 who probably will try out the ubu stuff and i might get some system info
but i would really prefer a dual boot, capable of booting from sd...
I came across this site today:
http://www.pvsm.ru/wine/10369
translated here
I don't know if this could possibly help you any further but I thought that I might as well post it.

[LINUX] Debian/Ubuntu for ASUS MeMO Pad 7 (ME176C(X))

Hello,
I not familiar with Arch, so I will try Debian or Ubuntu in the MeMO Pad.
I have setup Ubuntu 21.04 in another computer on the SD card and put it in the tab.
I have put the vmlinuz and initrd.img on the adp partition.
With the config file ubuntu.conf in /esp/loader/entries (on the esp partition) :
title Ubuntu
volume 80868086-8086-8086-8086-000000000007
linux /vmlinuz-5.11.0-16-generic
initrd /intel-ucode.img
initrd /acpi-me176c.img
initrd /initrd.img-5.11.0-16-generic
options root=UUID=<UUID of the ubuntu partition in SD> rw
Click to expand...
Click to collapse
With or without the intel-ucode.img and acpi-me176c.img it the same.
I have touchscreen, sound, USB, rotation, but I don't have : Wifi, Bluetooth, battery management
I don't understand how to port the drivers ; https://github.com/me176c-dev/linux-me176c/blob/master/porting.md
Is it more easier with Debian or an older kernel ?
Can I use an arch or postmarketos package or is it directly in the kernel ?
Thanks in advance
Hey Daouid,
Have you had any further luck? I have one of these old MemoPads and would love to see it working again!
Cheers
Rockymars
Hey Rockymars,
Sorry, no ...
I don't have try more and don't have answers.
I think a solution can be to buy a low cost USB Ethernet or USB Wifi with standard driver to use this an OTG USB.
And to put the tab in charge when she is off or with Android.
I don't know if Ubuntu 22.04 could have this drivers.
Anybody know how to add drivers to Ubuntu or Debian ?

Categories

Resources