anyone having any luck hacking the webtop to run full linux? - Atrix 4G Android Development

I've been looking constantly throughout many forums and have not found anyone with a hindrance of talk about running full linux on webtop with full functionality of the phone.
I've been messing around with the terminal and tried to fish around for something and i wasn't able to find anyway to put ubuntu on this app while being able to support the phone dock accessibilities.
So far for what i know is that its running a 32bit(kinda thought it may be possible for a 64bit counting the dual core) custom UI of Debian while having some source code from Ubuntu to run Firefox. I tried to manually install chrome but was not able. From what I've noticed is that there is a special partition hidden in the root for running webtop mode through the /osh folder i believe.
I bought the the laptop dock and honestly i got to say that this phone has a LOT of potential, the problem to me is that the OS build for webtop is WAY too limited. I would like to see this thing run a full linux with possibly openoffice, chrome, etc. If anyone has any info about a possible hack or something, i'd love to learn about it.

it wud be genious to get ubunut as the 'webtop'
why not

It is Ubuntu, but it has had some things stripped out or built from local sources. Many of the packages are package-name-123.123mot and this causes lots of dep res issues when trying to add in something like xterm from ubuntu feeds.
Lets be clear, there is a linux box lurking in there waiting to be freed. Make is there, gcc is there, X is running on HDMI, there are X apps, apt is there, dpkg is there, /etc is there.
I expect we'll get an xterm running on it this week, if not sooner.

I have the laptop dock, as well. The webtop is this phone's killer feature, imo. Being able to use a full desktop browser is a huge benefit in my line of work. It would be a huge improvement to gain root access and run a more complete Ubuntu.

An update: Success on xterm!
I was able to grab a debian armel xterm and extract it (couldn't install) to /osh/tmp (seemed handy) and fire up /osh/tmp/usr/bin/xterm and display it back to my laptop. I'll have to figure out more about dpkg and why it wasn't installing correctly with this command line, which it seems should have worked:
dpkg -i xterm-armel.deb -root=/osh
We should try to use dpkg properly so we have a maintainable /osh moving forward, to do otherwise is to invite issues. I have dd'ed off my /osh file-system so I can revert when if and when I break it. My goals are fairly straight forward with this endeavor:
* SSH via /osh so it is in init.d and supports -X.
* A terminal of some sort. (half ways done)
* All done via a maintainable and revertible package manager.
To go off laying down zip files or copying around files is far from my goals and should be far from yours.

Full linux?
Arm linux is different from x86 linux. When you say full linux what exactly do you mean?
I understand the need to have it more closely resemble and function like 10.04 lts but it is more likely gonna be closer to a distro like Angstrom...

infrared411 said:
Arm linux is different from x86 linux. When you say full linux what exactly do you mean?
I understand the need to have it more closely resemble and function like 10.04 lts but it is more likely gonna be closer to a distro like Angstrom...
Click to expand...
Click to collapse
ARM Linux and x86 Linux are not different, except in the architecture the binaries are compiled for. The functionality is the same, regardless of the target architecture.
When I say a full Linux I mean it looks and feels like a standard Linux/Unix system with a /var, /etc, /usr, etc. with the most of the functionality we would expect (apparently working /etc/init.d and an actual /etc/passwd) and some of the binaries we know and love (dd, bash, perl, python, vim, Xorg X bits)
It appears to be Jaunty 09.04 based from looking at /etc/lsb-release. Having said that, the packages appear to have been rebuilt at Motorola and some of the deps are missing or I am reading the output incorrectly.

You are confusing desktop linux with embedded linux. For example take a look at the differences in udev.
Sent from my MB860 using XDA App

I hear you, but it looks pretty much like a desktop distro to me, including udev. I do note that /proc and /sys are bind mounts onto /osh/proc and /osh/sys from android, so it is bastardized in that respect.

droidbird said:
I hear you, but it looks pretty much like a desktop distro to me, including udev. I do note that /proc and /sys are bind mounts onto /osh/proc and /osh/sys from android, so it is bastardized in that respect.
Click to expand...
Click to collapse
I'm fairly certain it's the full Ubuntu distro. They've probably snagged packages from Launchpad or such, so once we have dpkg set up, we should just be able to start running with it.

It clocks in (/osh) at 677MB with ~77MB free on the file system. It's pretty feature complete as a userspace from what I can tell.

droidbird said:
It clocks in (/osh) at 677MB with ~77MB free on the file system. It's pretty feature complete as a userspace from what I can tell.
Click to expand...
Click to collapse
Only 77MB free... I might grab an SD card and start installing applications onto it. It'd be easy to add the respective paths to the applications on the SD card to the PATH variable via a script. (I'm thinking about being able to make something that we can pass on as a package to others in the future.
I think the biggest problem will be the RAM. I don't know Android much (2nd week messing with it) but we should find a way to close down some of the apps when launching our 'full' linux. Maybe freeze them or something. If we're using an SD card could we not partition 1GB for swap? I heard about memory problems after having 11 tabs up in Firefox, it'll only get worse with more apps.
Throw in a keyboard/mouse and we could have a desktop that we can plug into any HDMI capable tv/monitor, that would be nice!

droidbird said:
An update: Success on xterm!
I was able to grab a debian armel xterm and extract it (couldn't install) to /osh/tmp (seemed handy) and fire up /osh/tmp/usr/bin/xterm and display it back to my laptop. I'll have to figure out more about dpkg and why it wasn't installing correctly with this command line, which it seems should have worked:
dpkg -i xterm-armel.deb -root=/osh
We should try to use dpkg properly so we have a maintainable /osh moving forward, to do otherwise is to invite issues. I have dd'ed off my /osh file-system so I can revert when if and when I break it. My goals are fairly straight forward with this endeavor:
* SSH via /osh so it is in init.d and supports -X.
* A terminal of some sort. (half ways done)
* All done via a maintainable and revertible package manager.
To go off laying down zip files or copying around files is far from my goals and should be far from yours.
Click to expand...
Click to collapse
I'm interested in this too. I was poking around /osh and trying to get gcc to work so I could try compiling some different things.
I think my aims are slightly different than yours, but lots of the same knowledge is needed. I'm interested in getting applications to run on the phone and showing up in the webtop. i.e. I'd like to have the xterm showing up on the top, not just across the network on a remote X display, like your laptop.
I can't get gcc to work because they seem to have left out the ARM 'cc1' binary which is called.
Anyway, do you mind posting the steps you took (and the site where you got the ARM xterm binary) to get the xterm up and running on the phone? I'm trying to get an ARM cc1 so I can get gcc up and going. From there, I'm hoping I'm not from from 'configure' and 'make' to get lots of different things working. (I realize this isn't something most people would want, but I'm looking at this from the point of view of someone who might like to develop applications for the webtop.)
Also, if you can find out what the proper DISPLAY environment variable is for the webtop itself (and what to tell the 'xhost +' command to let it display X on the webtop), that would be huge for me.
I'll post anything I'm able to find out as well. The more shared knowledge, the better.

For your .deb files, take a look at Launchpad. I'm guessing that's where Motorola probably got their files from.

Does anyone have a backup of their /osh? I might of screwed some stuff up and would like to compare.

I do, currently a 4k dd of the device, ~700mb.
Sent from my MB860 using XDA App

the memory problem is not really an issue, you just have to manually set the partition for webtop mode to be bigger, there is an extra 10gigs built in the phone to run, all that is needed is just the edit on that.
what i mean in full Linux is that i wan't to run REAL applications, not web apps. I ran an external hard drive will movies and music and what not. I saw that this device can really handle heavy traffic like 1080p videos and it brought me to think that this device has the performance to handle a full Linux with minimal lag. a 1080p video runs at an average 2gigs and running on the ram with about at a constant of 150-250 Mb/s depending on how it is running the codec. To be honest the ram is VERY efficient, and the only problem i see to be honest is trying to stream 720p off of YouTube because the phone can't take all the speed (even when in wifi off of a t3 network). There is some limitations but the system can definetly handle high traffic off the ram.
Anyways, aside from that. I searched through the /osh and i found that there is a way to script out addons to do specific back door functions. I'm not really a code scripter so this is where im in uncharted territories. Since this is Ubuntu source code, i believe that if you design a special function script to unlock service mode within the webtop, we might get a full terminal and maybe admin functions. Then maybe we will have right to install specific functionalities. Since Motorola built this build, my guess is that they'll have a pretty complicated security to tap into service mode. Anyone find anything of such resemblance in the root of the os?

Mafisometal said:
the memory problem is not really an issue, you just have to manually set the partition for webtop mode to be bigger, there is an extra 10gigs built in the phone to run, all that is needed is just the edit on that.
what i mean in full Linux is that i wan't to run REAL applications, not web apps. I ran an external hard drive will movies and music and what not. I saw that this device can really handle heavy traffic like 1080p videos and it brought me to think that this device has the performance to handle a full Linux with minimal lag. a 1080p video runs at an average 2gigs and running on the ram with about at a constant of 150-250 Mb/s depending on how it is running the codec. To be honest the ram is VERY efficient, and the only problem i see to be honest is trying to stream 720p off of YouTube because the phone can't take all the speed (even when in wifi off of a t3 network). There is some limitations but the system can definetly handle high traffic off the ram.
Anyways, aside from that. I searched through the /osh and i found that there is a way to script out addons to do specific back door functions. I'm not really a code scripter so this is where im in uncharted territories. Since this is Ubuntu source code, i believe that if you design a special function script to unlock service mode within the webtop, we might get a full terminal and maybe admin functions. Then maybe we will have right to install specific functionalities. Since Motorola built this build, my guess is that they'll have a pretty complicated security to tap into service mode. Anyone find anything of such resemblance in the root of the os?
Click to expand...
Click to collapse
We have root. We could go as far as setup our own desktop environment separate from Webtop. There would be no need to worry about Motorola's security problems.

droidbird said:
An update: Success on xterm!
I was able to grab a debian armel xterm and extract it (couldn't install) to /osh/tmp (seemed handy) and fire up /osh/tmp/usr/bin/xterm and display it back to my laptop. I'll have to figure out more about dpkg and why it wasn't installing correctly with this command line, which it seems should have worked:
dpkg -i xterm-armel.deb -root=/osh
We should try to use dpkg properly so we have a maintainable /osh moving forward, to do otherwise is to invite issues. I have dd'ed off my /osh file-system so I can revert when if and when I break it. My goals are fairly straight forward with this endeavor:
* SSH via /osh so it is in init.d and supports -X.
* A terminal of some sort. (half ways done)
* All done via a maintainable and revertible package manager.
To go off laying down zip files or copying around files is far from my goals and should be far from yours.
Click to expand...
Click to collapse
Fair warning, I'm frequently wrong... but off the top of my head, I think you would need to chroot into the webtop environment in order for a dpkg / apt-get install to work correctly. From what others have posted and my own (brief) investigation, the webtop isn't completely standalone... it shares with the android environment. I've been thinking of leaving the webtop alone for now, and trying the method used to run a chrooted Ubuntu instance on the Nexus One. The risk is low, and once that is in place, I could take a shot at starting an X session that runs out the HDMI, instead of just a VNC server...
EDIT: I should have asked if you chrooted before I just assumed... Sometimes I think before I post, but not often enough.

I got xterm and xeyes to run locally
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(binaries are from a ubuntu-jaunty-arm setup I did in qemu)
After I get a bit more working I'll post better instructions, but for tinkerers:
DISPLAY:0.0 is correct but you also need XAUTHORITY=/data/home/adas/.Xauthority
lxterminal seems to have issues running locally.
Things can be added to the dock by editing /data/home/adas/.gconf/apps/avant-window-navigator/window_manager/%gconf.xml but you'll also need to create a (standard) .desktop file. You can modify the nautilus one to browse /.
i agree package management is needed, but I don't think using the existing one is a good idea. I think either:
1) Create a ubuntu-arm based distro that can be launched when plugged into a dock/hdmi, but leave /osh mostly untouched
2) Or keep everything in a separate prefix, like macports/fink do.
A problem with using /data though is it's mounted nosuid. And /osh is near capacity already.

Related

Compcache on Nexus One - worthwhile or not...?

I've just posted a new Beta of my MoDaCo Custom ROM here with 128MB Compcache by default.
I'm interested to hear thoughts on whether it's going to be worthwhile!
The RAM use on my N1 is always near 100%, and with the CC enabled, I see it being used...
I'm no Compcache expert, so i'm interested to hear what others think...?
P
The best thing about the Nexus One is how fast it goes, and the RAM that allows to have lots of programs at the same time. For example, my browser almost never need to rechargue the page after using gmail or some other app and then returning to the browser, while my G1 does it almost always.
Sometimes I use advanced task manager to kill all apps and it does kill 15-19 apps! On the G1 it never killed more than 4-8.
So, I don't think this is really needed on the Nexus, if it improves things even more, cool, but I would dedicate your developer efforts to other things.
Sorry for my non-native english.
Off topic, but your "non-native english" is a lot better that that of many native speakers!
Back on topic, I' sure it would get used, since Android will keep filling RAM until it needs to clear some down (correct me if I'm wrong here), but as for whether it's needed? I'm not so sure. The Nexus seems to cope with keeping pretty much all the apps / data I am generally using in memory no problem (as juan says above 15+ apps no problem).
I dont think any form of A2SD, CC, or Swap is needed on the N1. It has more than enough RAM, and keep in mind that not all of it is unlocked yet! 100-200MB more RAM will be unlocked when Google fixes the kernel and sends out an update (or maybe cyanogen will implement it into his ROM?)
Compcache will probably help a little. The configuration is going to be key. DO NOT USE backing swap with it. If I wasn't getting my N1 replaced, for the second time, for dust under the screen I would do some benchmarking for you and give you actual numbers. Maybe when I get my new one and unlock it I will spend some time on it.
with the 1G CPU CompCache should not slow down the UI. For heavy use it should help...
I think that Linux Swap would be nice too since it could unload some of the memory that is not used on to it. If we set swappiness at 0-30 it would hardy use it but instead of dumping the processed data it would just cache it on the swap partition.
I guess the only way to say what works would be to do some testing and see.
i DEF need A2SD i dont like that everyone is saying its not needed...i am at the end of my app storage space and get a notice im running low on space, and when it gets to that point i cant recieve any more text messages
modaco said:
I've just posted a new Beta of my MoDaCo Custom ROM here with 128MB Compcache by default.
I'm interested to hear thoughts on whether it's going to be worthwhile!
The RAM use on my N1 is always near 100%, and with the CC enabled, I see it being used...
I'm no Compcache expert, so i'm interested to hear what others think...?
P
Click to expand...
Click to collapse
hey man ... I've already experimented a little myself with cc.
In my experience for the "android experience" on nexus1 (and considering how android will always try to grab what you throw at it) ... there could be some minimal improvements when utilizing it.
What I've seen thus far ...
In order to leverage cc without a significant performance impact ... changing the way the CPU performs CPU frequency samping/scaling is something that should be addressed in concert. Unfortunately we then begin to encroach on the battery draining issues.
With some minimal tweaking, cc can add a *huge* amount of available RAM.
But in the end .. I think for the typical user the benefit will be minimal.
However, for me personally ... (just for fun) ... I ran a test debian linux distro loaded up with Xorg+WindowMaker (my lightweight favorite combo) ... and the increased RAM made a significant difference. I *almost* had a fullly functional linux desktop in my hand!! Was quite neat compared to the old days of trying the same on g1.
Anyhow, just my 2 cents for now on the matter ... I'm still toying with these implementations myself. If I have anything more to add later that has significance I will.
~enom~
Please enomther, can u share with us your debian distro ready to run under the N1?
because i want to try port Archlinux like debian under the n1.
Im using it on my desktop, and is realy more light and faster than debain
Driskol said:
Please enomther, can u share with us your debian distro ready to run under the N1?
because i want to try port Archlinux like debian under the n1.
Im using it on my desktop, and is realy more light and faster than debain
Click to expand...
Click to collapse
It's a chroot'd environment/setup ... running of ext3 on the sdcard ... (still too big for the NAND) ...
Then I run Xorg through a localvnc script setup ... I then use a android VNC app from the Market to vnc into it and control it.
Still interested?
~enom~
enomther said:
It's a chroot'd environment/setup ... running of ext3 on the sdcard ... (still too big for the NAND) ...
Then I run Xorg through a localvnc script setup ... I then use a android VNC app from the Market to vnc into it and control it.
Still interested?
~enom~
Click to expand...
Click to collapse
Yes of course, i have a thread ready on arch forums but i want to try first debian and see how much stable and functional can be on the n1.
If u can use it like a desktop really, then arch, must be almost 3 times faster deleting packages, daemons, etc...
Im a newbe on linux of course, but i can try it with help
Here is the project: http://www.archmobile.org/trac/wiki/AM/Installation/Guide
Im using arch for 1 year and im really happy with it, beats ubuntu hard! hehe
Driskol said:
Yes of course, i have a thread ready on arch forums but i want to try first debian and see how much stable and functional can be on the n1.
If u can use it like a desktop really, then arch, must be almost 3 times faster deleting packages, daemons, etc...
Im a newbe on linux of course, but i can try it with help
Here is the project: http://www.archmobile.org/trac/wiki/AM/Installation/Guide
Im using arch for 1 year and im really happy with it, beats ubuntu hard! hehe
Click to expand...
Click to collapse
Disclaimer: It's *almost* as functional as a desktop
Limited by the android vnc client of course. When running with Xorg the resources are juiced (thus the need for compcahe, and why I posted it ... slight relevance) ... but sure ... I need to set one up from scratch for arm (as mine are riddled with custom data/packages) ... and I put something up for you. I'll PM you about it ... give me a couple/few days (got a big weekend comin up).
Neat project btw .. I'm definitely going to pull it down, check it out and play!
@modaco ... sry for the 4-post thread hijack
~enom~
Of course dude, when u want and when u can
By now, i just have a 500mb ext3 partition on my sdcard, with the base system of archmobile ready
As i said, im newbe, and now i need to know how can i boot it hehe
never tried it on android, but the usual way is to mount-bind /proc, /sys, /dev from the running android into the new root and then just chroot into the new system.
like
mount -o bind /dev /sdcard/arch/dev
... /proc
... /dev
chroot /sdcard/arch
then you can start services like vnc.
i doubt that arch will be so much faster though.
don't get this wrong, i used arch for over a year and really like its concept. but in the end when you compare fully customized installations of arch and for example ubuntu, the speed difference is rather minimal.
(with focus on customized, meaning on arch you install what you want and on ubuntu you remove what you do not want )
Thansk xkonnim i'll try to give it a shot
enomther, how you boot the debian?
I men if you are using it natively trought fastboot or a img from the sdcard partition ?
xkonni said:
never tried it on android, but the usual way is to mount-bind /proc, /sys, /dev from the running android into the new root and then just chroot into the new system.
like
mount -o bind /dev /sdcard/arch/dev
... /proc
... /dev
chroot /sdcard/arch
then you can start services like vnc.
i doubt that arch will be so much faster though.
don't get this wrong, i used arch for over a year and really like its concept. but in the end when you compare fully customized installations of arch and for example ubuntu, the speed difference is rather minimal.
(with focus on customized, meaning on arch you install what you want and on ubuntu you remove what you do not want )
Click to expand...
Click to collapse
Hi dude again
Finally i got chroot on my arch partition
I have it under /system/sd
and i have the minimal bash working
Now, its time to get it more deepper hehe
EDIT: Now i can start the sshd daemon and try to login into with ssh BUT i can't change the sudo pass with passwd cuz says Not enough permisions. Also, i cant find the damn it sudo binary...
I have the USBNetwork working by default on eth0, but that's all i can do cuz i can't start too the bash.
Any hint?
Bye!
Driskol said:
EDIT: Now i can start the sshd daemon and try to login into with ssh BUT i can't change the sudo pass with passwd cuz says Not enough permisions. Also, i cant find the damn it sudo binary...
Click to expand...
Click to collapse
well those steps are similar to a regular arch install, what exactly is your problem? no sudo in package sources? can't run visudo? you have a root account, just use it instead of a user account for now
edit: can you start an own topic for linux on nexus? we really should leave paul's thread alone
Yes i think it too hehe Sorry enom

[*WORKING*] **Ubuntu on Vibrant** UPDATE:11/05/10

UPDATE: So here is the link to a better version of Ubuntu running on your Vibrant. I do not have much time yet to edit the original post, but take a look at the this. You should be able to get it to work.
http://forum.xda-developers.com/showthread.php?t=823370
OLD:
DISCLAIMER: I AM NOT RESPONSIBLE FOR ANY LOSS OR DAMAGE TO YOUR PHONE!! YOU ARE DOING THIS AT YOUR OWN RISK.
Ok, so for those who like to push the limits with their phones I don't think it gets better then this
I would like to thank everyone who has contributed to making this possible. We had gotten a lot of good posts.
But a big thanks goes out to danielmid84, he provided me with the link http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-nexus-oneandroid/ and a custom modified script to work with our phones, thank you!!
UBUNTU on Vibrant
INSTRUCTIONS
Prerequisites:
Root
Latest version of BusyBox
Android SDK ( and knowledge of how to use the tools, adb shell, etc... )
Understanding of Linux commands ( but not necessary )
Files needed are located here: http://www.megaupload.com/?d=FALJFT3L
BootUbuntu script modded by danielmid84 here: http://forum.xda-developers.com/attachment.php?attachmentid=385853&stc=1&d=1282503588 NOTE: This file replaces the BootUbuntu file located in the archive above.
VERY IMPORTANT!!!
Step 1:
Connect your phone to the computer and mount your internal storage sdcard (Not your external sdcard).
Step 2:
Now create a new folder under sdcard named "ubuntu" for instance "/sdcard/ubuntu/" and copy ALL of the files in the "ubuntu.zip" archive over to this newly created folder EXCEPT the BootUbuntu file. You will be copying over the BootUbuntu file over from the additional BootUbuntu file link provided above.
Step 3:
Now that we have all of the files in place, make sure to "Turn off USB storage" on your phone to be able t access the SD card from ADB Shell. Also make sure your "USB Debugging Mode" is check under "Settings>Applications>Developement".
Step 4:
We are going to want a windows terminal open and we are going to "cd" into your "/tools" folder, wherever that may be located. For example " cd c:\android\sdk\tools".
Once you are in the "tools" folder, issue this command "adb shell". And for linux users, you will be issuing the command as "./adb shell".
Step 5:
Once you are in ADB Shell, you should see a "#" symbol now.
You are then going to type "su" to enter superuser mode.
Step 6:
We are going to cd into the ubuntu folder by issuing the command "cd /sdcard/ubuntu".
Now that we are located in "/sdcard/ubuntu" we will issue the command "sh ./ubuntu.sh"
This command only needs to be entered once, or if you ever change the file "bootubuntu".
Step 7:
Once that is completed, issue the command "bootubuntu".
If you get the "localhost" prompt, you have just successfully installed UBUNTU onto your Vibrant. Congratulations!!!
Now mind you, this is not with a Graphical User Interface yet and but you can access the power of Linux and Ubuntu by using a Terminal Emulator.
But if you want a running Graphical User Interface to play with, keep in mind that is uses a lot of memory and continue reading and I will have that updated here shortly.
Step 8:
We are now going to install a GUI.
While still being in Ubuntu with the "localhost" prompt, issue the command "apt-get update".
Then issue the command "apt-get install tightvncserver".
Step 9:
Once that is complete, you are going to want to issue the command "apt-get install lxde". This will take a few minutes so let it do its thing.
Step 10:
Next we are going to type:
"export USER=root" then
"vncserver -geometry 1024x800" but you can change the display size to what you prefer.
You will be asked to set a password at this time for login.
Step 11:
Next we are going to add the following commands to /root/.vnc/xstartup.
Now type:
"cat > /root/.vnc/xstartup" it will seem like it is hanging after you push enter, but it is only waiting for additional input. So continue by entering
"#!/bin/sh"
"xrdb $HOME/.Xresources"
"xsetroot -solid grey"
"icewm &"
"lxsession"
Then hit Ctrl+D twice and Enter key.
Step 12:
Now open the Android VNC app on your phone with "localhost" as "address" and "5901" as "port". Enter your password as well and connect!! You will now have a GUI for your Ubuntu!
REMEMBER: EACH TIME YOU WANT TO LOGIN TO YOUR UBUNTU, YOU DON'T NEED TO BE CONNECTED TO YOUR COMPUTER. YOU CAN USE TERMINAL EMULATOR.
This is only for full phone reboots to set up Ubuntu again.
Start Terminal Emulator and cd into "/sdcard/ubuntu"
Then issue these commands:
"su"
"export USER=root"
"vncserver -geometry 1024x800"
and you should be able to log back into the GUI with Android VNC again.
I'm surprised that not one person is interested in this...
I think debian on the vibrant would be sick!
sadly I don't dev
Can I ask what "debain" is? For all of us new guys..
Sent from my Vibrant using XDA App..
Typos/Nonsense due to Swype!
Stock Root + RyanZA LagFix + Captive Camera MOD
itsjusttim said:
Can I ask what "debain" is? For all of us new guys..
Sent from my Vibrant using XDA App..
Typos/Nonsense due to Swype!
Stock Root + RyanZA LagFix + Captive Camera MOD
Click to expand...
Click to collapse
Google is your best friend. http://en.wikipedia.org/wiki/Debian
yeah man, I'm pretty surprised too that no one else is interested in this! I would love to see debian get ported to work on our phones
For those who are asking, debian is a version of desktop Linux. When it works on our phones, it will essentially allow you to do almost anything you can normally do on a desktop computer.
Thanks for the link! This looks luke it would be amazing.. I hope we can eventually get this...
Sent from my Vibrant using XDA App..
Typos/Nonsense due to Swype!
Stock Root + RyanZA LagFix + Captive Camera MOD
post videos.
freekyfrogy said:
It will essentially allow you to do almost anything you can normally do on a desktop computer.
Click to expand...
Click to collapse
You mean, it'll allow you to do almost anything you can normally do on a tiny format linux desktop computer
It's all good and dandy, someone has ported Ubuntu to N1 back in a day, but the question remains:
Why would you want to run a full fledge Linux OS on your phone?
I am a linux user, and have been for quite some time, I do enjoy it on my work laptop with 14.1" of real estate, but I fail to see a huge benefit of running a complete OS on the phone.
And before everyone starts with "you know android is linux" I know that, and it is stripped down linux OS for portable devices like phones, etc. It is as good as it gets, and suits the portable device market well.
Please feel free to address my question:
Why would you want to run a full fledge Linux OS on your phone?
How about we get a port of WINE on android...
lqaddict said:
It's all good and dandy, someone has ported Ubuntu to N1 back in a day, but the question remains:
Why would you want to run a full fledge Linux OS on your phone?
I am a linux user, and have been for quite some time, I do enjoy it on my work laptop with 14.1" of real estate, but I fail to see a huge benefit of running a complete OS on the phone.
And before everyone starts with "you know android is linux" I know that, and it is stripped down linux OS for portable devices like phones, etc. It is as good as it gets, and suits the portable device market well.
Please feel free to address my question:
Why would you want to run a full fledge Linux OS on your phone?
Click to expand...
Click to collapse
I was thinking the same thing. Its kinda a party piece. Look at what my phone can do. You know. I had it on my N1 and i never used it. Just like we could have windows 95 on the HD2. The only good thing i used it for on the N1 was air-crack, and i never got it to work right.
So you can compile android source on your phone, duh!
Sent from my SGH-T959 using XDA App
Yeah, I find it a shame that some people think debian on a phone is simply a party peice. There are too many useful reasons to list, especially the reason to have a smart phone is to expand the abilities past just "a cellphone"
lqaddict said:
It's all good and dandy, someone has ported Ubuntu to N1 back in a day, but the question remains:
Why would you want to run a full fledge Linux OS on your phone?
I am a linux user, and have been for quite some time, I do enjoy it on my work laptop with 14.1" of real estate, but I fail to see a huge benefit of running a complete OS on the phone.
And before everyone starts with "you know android is linux" I know that, and it is stripped down linux OS for portable devices like phones, etc. It is as good as it gets, and suits the portable device market well.
Please feel free to address my question:
Why would you want to run a full fledge Linux OS on your phone?
Click to expand...
Click to collapse
The real question is why not....
I'm sick and tired of all the negative posts in the xda forums.
why would you want camera on a phone?
why would you play games on a phone?
why would you read webpages on a phone?
why would you text on a phone?
why would you listen to music on a phone?
why would you want to go to the moon?
Is it affecting you in some way?
does someone sacrifice a kitten somewhere when someone wants to use a device for something it was not intended to?
do you enjoy stifling development?
jzero88 said:
Yeah, I find it a shame that some people think debian on a phone is simply a party peice. There are too many useful reasons to list, especially the reason to have a smart phone is to expand the abilities past just "a cellphone"
Click to expand...
Click to collapse
good man
scrizz said:
The real question is why not....
I'm sick and tired of all the negative posts in the xda forums.
why would you want camera on a phone?
why would you play games on a phone?
why would you read webpages on a phone?
why would you text on a phone?
why would you listen to music on a phone?
why would you want to go to the moon?
Is it affecting you in some way?
does someone sacrifice a kitten somewhere when someone wants to use a device for something it was not intended to?
do you enjoy stifling development?
good man
Click to expand...
Click to collapse
Agreed, why not explore the possibilities...
Sent from my SGH-T959 using XDA App
And why drive the nails down with a screwdriver?
There is no negativity coming from my question, I just needed to hear the reason people choose to run linux on their phones.
Developing a code for android phones on the phone running full linux, ok I failed to see the benefit, unless you get a hard-on from running a compiler on your phone while on a crapper. I would see how I might benefit from using some of the linux commands on my phone, like tcpdump, etc. but running a full raw OS on it is just overkill in my opinion.
And why drive the nails down with a screwdriver?
There is no negativity coming from my question, I just needed to hear the reason people choose to run linux on their phones.
Developing a code for android phones on the phone running full linux, ok I failed to see the benefit, unless you get a hard-on from running a compiler on your phone while on a crapper. I would see how I might benefit from using some of the linux commands on my phone, like tcpdump, etc. but running a full raw OS on it is just overkill in my opinion.
Click to expand...
Click to collapse
To probably sum it all up... MOBILITY.
First, I am sure you have several games on your phone which you play frequently. Some of those which you could play on your computer, and some maybe only on the device. If you could play games on your computer, why would you want to play them on your phone?
Virtually everything you can do on your phone you can do on your computer, ten times better. The reason we have Office Suites, Calendars that sync, Games, CAMERA!!!!, Photo Editing Tools, etc. etc. etc... the list goes on and on, is to do it mobile.
No offense, but your question is pretty ignorant.
"I just needed to hear a reason people choose to run linux on their phones"
Click to expand...
Click to collapse
as an answer is funny as hell if you ask me,lol.
I think if you have nothing productive to contribute other than asking meaningless questions which is plainly obvious, especially in a forum like this, then don't post anything at all.
Only my $0.02
jzero88 said:
To probably sum it all up... MOBILITY.
First, I am sure you have several games on your phone which you play frequently. Some of those which you could play on your computer, and some maybe only on the device. If you could play games on your computer, why would you want to play them on your phone?
Virtually everything you can do on your phone you can do on your computer, ten times better. The reason we have Office Suites, Calendars that sync, Games, CAMERA!!!!, Photo Editing Tools, etc. etc. etc... the list goes on and on, is to do it mobile.
No offense, but your question is pretty ignorant.
as an answer is funny as hell if you ask me,lol.
I think if you have nothing productive to contribute other than asking meaningless questions which is plainly obvious, especially in a forum like this, then don't post anything at all.
Only my $0.02
Click to expand...
Click to collapse
Why my question is ignorant? I am coming from a development stand point, what android (a linux port for smartphones and mobile tablets) does not do well that the full linux OS can address? I am curious... I've seen some embeded linux systems that are running the OS that requires to complete the task - packet sniffers for instance - I am pretty sure you can run the full OS on it, but it is overkill. I understand that the smartphones are our mobile gateways when we are away from computers, and as they stand right now I failed to see what the full OS can contribute to the whole mobile experience. Games? Well, now you have the whole android community asking when the cadega becomes available on android so that you can run Call of Duty, etc. on your phone.
And as far as me not contributing and asking the meaningless questions - when you come to the development board and demand that something needs to be ported on your device a developer will ask you my question:
Why do you need it? What benefits are you looking for?
So, I still to hear the answer to these questions besides the fun factor to show your co-workers look I have a penguin on my boot screen.
Look at it from this standpoint, every major phone release has hardware that can rival netbooks and ultra-portables, when the dual-core snapdragons hit later on, they may even be on par with low end notebooks. They contain cellular modems as well as wifi so you're constantly connected on a device that can fit in your pocket.
On the software side every major mobile operating system out there is constantly evolving and adding more and more features of that you can find on any PC/Linux/OSX box in the world. Albeit they're slimmed down versions, designed to be lightweight and functional on a smaller sized screen.
Add in google voice, a service that you can have your cell phone calls funneled into a single number or have your google voice number funneled into any other phone number you tell it to, plus you have skype. Installing Debian on a mobile device doesnt change the fact its still a cell phone the only it changes is how much this cell phone can do without restrictions.
Its the people who push software and hardware to there limits and into places they were never designed to be, that push the technology world and push the companies to do new things. There the pioneers who are trying to marry the inevitable before anyone else is ready. Those are the people who make companies like Google, Nokia, Intel, etc etc realize that there is potential in a risk, when there is a community ready to back them up. If it wasn't for the indie developers out there trying to minimalize linux to be used on cell phones we wouldn't have our beloved Android today.
You ask why, I'll answer because its inevitable. You can join the front lines or you can wait.

Starting with Development...

I hope this is the right place to post this, if not my apologies. I've had my Droid X for two weeks now, and have done a few customizations to it (NexTheme, root, BusyBox) and to be honest I'm bored already even though I'm still getting used to this phone...and even though it's my first Android powered device, and second smartphone.
Anyways, I want to dig into the guts of this and possibly contribute. I have been working with some form of Unix since the early 90's, and I'd like to think I'm quite experienced with it.
This is where I need assistance. Even though I'm quite adept with my Google-Fu, I'm still not able to point myself in the correct direction. I have a terminal app on the phone, and adb on my pc, however...to be frank...they both suck. Perhaps it's the limits of a mobile Linux platform and not having proper term types defined, but I can't get a decent working environment setup to navigate the filesystem in a comfortable and easy to read way. It's making it extremely difficult to see where I am, where I've been, and the files/directories and their permissions, etc etc. Have tried setting and resetting various TERM env types, but nothing seems to change the layout/display.
I had found an SSHd how to hoping I could install SSHd on the phone and just SSH in from a proper terminal, but it's from 2008 and deals with the G1. I wasn't able to get the steps to work for me.
Short of what I've already tried, what other options are there...if any? I don't know what, if anything, I could contribute to the community...but I'd like to give it a real go, and I *really* do love to mess with things heh heh....
The easiest way i have seen to navigate through your file system is using root explorer on the market.
Since you have adb set up, you should be able to execute "adb shell". Also, there seems to be an emulator included in the sdk, though I haven't used it myself.
Sent from my DROIDX using XDA App
mattyboy1013: I'm looking for a non-gui shell based method of navigation. A terminal is a lot easier and quicker for me.
pchop: Yea, I've used adb shell when manually rooting, and I wasn't too keen on how it laid things out. Particularly in a single column making navigation difficult. I'll take a look at the emulator though, and see what it does. Thanks.
I may be wrong but isn't android a java platform sitting on top of unix?
That's my understanding as well, and I'd like to navigate it as if it were a Linux box, ie: through a console. Problem is, the two terminal apps I have access to (as mentioned above - terminal emulator and adb shell) present the file system in a single column and with no sorting. It makes navigating and seeing whats available quite difficult.
What I'm looking for, if it even exists, is a terminal app that will display in rows and columns, and sorting alphabetically with directories first then files. Basically how most Linux distributions do by default and have for years.
I tried some more with my attempts at getting SSHd on the phone by compiling dropbear myself via the android source, but no go. The compile bails on me even after several fixes and attempts. Was hoping SSH in via a gnome-terminal, xterm, eterm, etc on one of my Linux boxes would set a proper TERM environment that the phone would respect, but I may be barking up the wrong tree there as well.
Dunno, I'm just in search of something to play with, and heck...doing all of the above has kept me pretty busy anyways lol.

[PORT] Ubuntu 13.04 Alpha (very)

Ubuntu 13.04 Alpha for HP Touchpad
*working sound (I think you will like the volume button sounds)
*working wifi powered on at startup
*working bluetooth powered on at startup
*working 5 finger gestures with touchegg
*DeLorean Dark Theme
*custom Kernel+Modules for Wine+Qemu Add-on?
*Did I mention Wine Add-on? To play solitaire and space cadet pinball. They are in Applications Other..
*SquashFS Added
*A bunch of hacks.. they removed /etc/fstab and if you try to add an entry like I did then udev won't boot! I used the /etc/init.d/audiod_srv file to mount what I wanted.
*Freedreno latest with Mesa (THANK YOU ROB CLARK AND JCSULLINS, Calc1Programmer, BodenM, castrwilliam, Mystikal57!)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You will need the Kernel that comes with it.
If you want to run wine x86 with qemu.. Simply put the wine.sqsh file on your sdcard when you boot.
I did that to save space.. and so people can toggle back and forth. I originally had wine merged into the filesystem but now everything symbolically links to /usr/gnemul. That is my other "fun" project. Wine 1.5.23 with Qemu 0.14.1 with NPTL patch. Barely runs. http://wiki.winehq.org/ARM x86 per Qemu.
Links....
http://www.gdriveurl.com/?idl=913607779492&out=2 4GBUbuntuInstallSystem13Alpha.sh
http://www.gdriveurl.com/?idl=913607779509&out=2 Rootfs.tar.gz
http://www.gdriveurl.com/?idl=713607779506&out=2 uImage.Ubuntu13
http://www.gdriveurl.com/?idl=913607779518&out=2 wine.sqsh
This is a link to the original thread that started it.
http://forum.xda-developers.com/showthread.php?t=1304475 By BodenM
To Install:
Become familiar with the Ubuntu on HP Touchpad project. Try other builds.. 11.10, 12.10 if you feel the need. Read the 87 page thread above. You need to have a 4GB Partition created for ubuntu to be installed on before hand. This is a branch of an ongoing project.
http://code.google.com/p/hp-touchpad-ubuntu/wiki/Installation
Step 6 ends with you about to extract the file on the sdcard to the ubuntu partition. That is what you need to be familiar with.
Be handy with Novacom. That is a way to get root access to the touchpad in webos.. There are a TON of sites that cover this. Google it.
Do this in novacom.. you should have a bash shell with root at /media/internal
Place Rootfs.tar.gz and wine.sqsh and 4GBUbuntuInstallSystem13Alpha.sh and uImage.Ubuntu13 on the sdcard. You WILL need to replace the Kernel to run wine. If you don't and want to use your own kernel, then you MUST replace the modules. If you run your kernel with my modules you MIGHT get a reboot when using a lot of bandwidth over wifi. If I ftp'd a file over wifi, it would crash. I had to recompile ath6k to get around that. That is what happens 100% of the time if I use my kernel with the standard modules that we have been playing with. It's because my kernel is compiled with VMSPLIT-3G and it affects ath6k unless it gets recompiled along with the kernel.
TO INSTALL KERNEL
mount -o remount,rw /boot
cp /media/internal/uImage.Ubuntu13 /boot/uImage.Ubuntu
mount -o remount,ro /boot
sync
TO INSTALL FILE SYSTEM
sh /media/internal/4GBUbuntuInstallSystem13Alpha.sh
when it's done you should have it.
PROBLEMS YOU MAY ENCOUNTER:
Touchscreen may stop responding. If it does do a 5 finger tap to verify that. You may need to do it a couple of times. That seems to help. 5 finger tap is like pressing the start\windows key on your keyboard.
I added 3 startup programs
1. Touchegg
2. Sound enable unmuting at login
3. Bluetooth enable at login
Touchegg can be removed by just going to startup applications and removing it. That will go back to single touch. Check out the gestures and the onscreen keyboard. Hold down on a mouse key and then click on an icon. It should work. Easier to resize the keyboard.
DOUBLE CLICKING WITH TOUCHEGG
You can two finger click for a double, use the onscreen keyboard.. or do a fast double to triple tap.. It is odd.. Somethings can't be double clicked very easily and some can....Maybe you guys can help with that? Maybe its a 13.04 Alpha thing.
THREE FINGER SWIPE UP AND DOWN MAXIMIZES AND MINIMIZES.
It's alpha.. No, really.
http://cdimage.ubuntu.com/daily-live/current/
http://cdimage.ubuntu.com/daily-live...rmhf+omap4.img
Amazing !
Very happy for multi touch and freedreno !
Could you share kernel sources on github please ? If we made any modifications, it could be good to have the same kernel's base :good:
Keep up the good work
<--Ubunutu newb. How do I change the font color? I can't read anything when searching Software Center.
mdleal said:
<--Ubunutu newb. How do I change the font color? I can't read anything when searching Software Center.
Click to expand...
Click to collapse
TweakTool doesn't work... You have to go to dconf editor.. Go to like org, desktop, interface.. you can change themes and stuff like that.
Mystikal57 said:
Amazing !
Very happy for multi touch and freedreno !
Could you share kernel sources on github please ? If we made any modifications, it could be good to have the same kernel's base :good:
Keep up the good work
Click to expand...
Click to collapse
Thanks! No problem will soon.. All I did was change 3 things in the config file.. 2 for wine and 1 for squashfs. The kernel is from CyanogenMod. I will also post the freedreno sources.. BodenM also has them available.. The kernel.. It just doesn't have the 2 changes for wine.. We could run wine 0.9.x and keep the kernels that we have.. But that is less fun.
EDIT! I added you to the thank you list! I knew you sounded familiar! Thanks for the sound! GREAT JOB! Seriously.. I saw how you are doing it.. That is ingenious, using webOS for sound.
links dead
links dead:crying:
WTH
Why did the links die.. Don't tell me Google Drive changes the links... That would suck.
Unfortunately the OP appears to have based this on my 12.10 beta1, not my 12.10 final. I'm making an overlay tarchive that will fix most of the bugs, along with a few I didn't encounter on my release.
Bugs which will be fixed:
SDcard is mounted with incorrect uid/umask (Downloads aren't writable, etc.)
PulseAudio crashes in middle of long outputs (like music) - This requires the disablement of PulseAudio. Sorry, no OSX-like volume sounds.
No kexec capable kernel.
/dev/mmcblk0p13 is mounted on top of existing files in /boot, making it difficult to install kexec kernel.
No swap or zram.
Most init scripts are in obsolete /etc/init.d format.
Major remaining bug: Freedreno won't support EXA. We need an EXPERIENCED kernel CODER (not me) to fix our kernel by PROPERLY backporting KGSL from Kernel 3.0.8 to 2.6.35. I don't see any other solution, because I don't think the person who is workiing on Freedreno wants to backport their driver.
Soon-to-be-added feature: Automount of other OS's filesystems, if they exist, under /mnt.
nice
castrwilliam said:
Unfortunately the OP appears to have based this on my 12.10 beta1, not my 12.10 final. I'm making an overlay tarchive that will fix most of the bugs, along with a few I didn't encounter on my release.
Bugs which will be fixed:
SDcard is mounted with incorrect uid/umask (Downloads aren't writable, etc.)
PulseAudio crashes in middle of long outputs (like music) - This requires the disablement of PulseAudio. Sorry, no OSX-like volume sounds.
No kexec capable kernel.
/dev/mmcblk0p13 is mounted on top of existing files in /boot, making it difficult to install kexec kernel.
No swap or zram.
Most init scripts are in obsolete /etc/init.d format.
Major remaining bug: Freedreno won't support EXA. We need an EXPERIENCED kernel CODER (not me) to fix our kernel by PROPERLY backporting KGSL from Kernel 3.0.8 to 2.6.35. I don't see any other solution, because I don't think the person who is workiing on Freedreno wants to backport their driver.
Soon-to-be-added feature: Automount of other OS's filesystems, if they exist, under /mnt.
Click to expand...
Click to collapse
keep up the good work dude
Okay.. I updated the thread with the new url's and ran them through google drive url to create permalinks.. They should now be permanent. Why google? Why.... Pain in butt.
netkillercat said:
keep up the good work dude
Click to expand...
Click to collapse
castrwilliam said:
Unfortunately the OP appears to have based this on my 12.10 beta1, not my 12.10 final. I'm making an overlay tarchive that will fix most of the bugs, along with a few I didn't encounter on my release.
Bugs which will be fixed:
SDcard is mounted with incorrect uid/umask (Downloads aren't writable, etc.)
PulseAudio crashes in middle of long outputs (like music) - This requires the disablement of PulseAudio. Sorry, no OSX-like volume sounds.
No kexec capable kernel.
/dev/mmcblk0p13 is mounted on top of existing files in /boot, making it difficult to install kexec kernel.
No swap or zram.
Most init scripts are in obsolete /etc/init.d format.
Major remaining bug: Freedreno won't support EXA. We need an EXPERIENCED kernel CODER (not me) to fix our kernel by PROPERLY backporting KGSL from Kernel 3.0.8 to 2.6.35. I don't see any other solution, because I don't think the person who is workiing on Freedreno wants to backport their driver.
Soon-to-be-added feature: Automount of other OS's filesystems, if they exist, under /mnt.
Click to expand...
Click to collapse
Cool! Yeah I realized the sdmount problem yesterday.. You had to wait until I gave it its own thread! :laugh: Waiting to update! Good job! What is the main benefit to the kexec kernel? Will update the files with your fixes!
And.. it's a little bloated.. :laugh:
Aww man.. Does this mean we have to use alsamixer? What is a good replacement for that in gnome?
My last setup had VLC and gstreamer both configured to use "plug:dmix" so that you could dstill have multiple sounds playing at one time.
A good mixer is "xfce4-mixer". Despite the name, it doesn't pull in too much XFCE bloat.
You can in theory still run PulseAudio as a dmix client but of course you will then have the complexity of multiple independent mixer applications. The best PA mixer is "pavucontrol", not the one in Control Center, because it has both Windows-style per-app volume controls AND global playback and recording controls by source/sink.
any problem in first use:
1) gnome-tweak-tools does not work for change black theme and other option
2) initramfs cant update
3) many packages dont need in tablet
4) compiz, rotate screen cant work correctly
5) i have any problem in reboot and halt tablet
6) cant access to flash memory ,permission denied.
7) cant detect vga driver, i guess ubuntu 11.04 for tablet can be detect it.
8) panel widget options dont work correctly in touch finger
9) installed webserver such az apache does not work. http://localhost , could not find server
10)cant access to internal memory ,permission denied.
11)plymouth couldnot disable/remove from kernel
Made an account to say thank you.
Wonder if it can be overclocked to 1.8ghz from within Ubuntu. Also rsyslog took up a lot of CPU cycles so I deleted it. udevd takes up a lot of cycles as well but you can't really delete that afaik, but killing it after boot seems to not have much adverse effects, and the tablet runs smoother as a whole afterwards.
Thank you for the nice new toy for our tablet! I successfully installed it on a 6GB partition. So far I can report the following things:
Pros:
- more responsive touchscreen than on 12.10
- better working onboard virtual keyboard than on 12.10 - resize, move, pop-up - working great
- very nice multi-touch gestures for scrolling, maximize, minimize and right-click
- I feel it faster and better responding than 12.10 - may be this is becuase of the optimizations in 13.04
Cons:
- volume keys doesn't increase or decrease the audio
- dnsmasq uses a lot of the cpu - need to kill it
- internet access stops after a while, although the Wi-Fi is connected - need to reconnect the wi-fi, can this be related to killing dnsmasq?
- udevd uses a lot of the cpu - need to kill it - I ran "udevadm monitor" and I can see only reports for the battery and something else (not known) on 5 secs refresh basis
- rsyslogd uses a lot of the cpu - need to kill it
- System Settings panel is bigger than the screen - can not resize it
- VLC can not play song after song - resource is not available - I think this is reported already
- no swap partition
If anyone else experience this you can report it, I think this will be useful for further optimiziations and fixes.
Also is it a good idea to have a repo with the kernel and distro, so we can make/sync/test changes?
@jshafer817,
Sorry for the lame question, but do you use an already compiled distro, or you compile it on your own?
I have a problem. WiFi worked correctly after the very first boot but every boot now it just connects to my WiFi network but doesn't actually establish a connection. My WiFi is working fine though on webOS and my laptop with Ubuntu (all on the very same network). I tried removing it from network manager and connecting all fresh again but it still doesn't give me a connection.
Anyone has an idea on how to fix it?
---------- Post added at 12:50 PM ---------- Previous post was at 12:49 PM ----------
stdinov said:
Thank you for the nice new toy for our tablet! I successfully installed it on a 6GB partition. So far I can report the following things:
Pros:
- more responsive touchscreen than on 12.10
- better working onboard virtual keyboard than on 12.10 - resize, move, pop-up - working great
- very nice multi-touch gestures for scrolling, maximize, minimize and right-click
- I feel it faster and better responding than 12.10 - may be this is becuase of the optimizations in 13.04
Cons:
- volume keys doesn't increase or decrease the audio
- dnsmasq uses a lot of the cpu - need to kill it
- internet access stops after a while, although the Wi-Fi is connected - need to reconnect the wi-fi, can this be related to killing dnsmasq?
- udevd uses a lot of the cpu - need to kill it - I ran "udevadm monitor" and I can see only reports for the battery and something else (not known) on 5 secs refresh basis
- rsyslogd uses a lot of the cpu - need to kill it
- System Settings panel is bigger than the screen - can not resize it
- VLC can not play song after song - resource is not available - I think this is reported already
- no swap partition
If anyone else experience this you can report it, I think this will be useful for further optimiziations and fixes.
Also is it a good idea to have a repo with the kernel and distro, so we can make/sync/test changes?
@jshafer817,
Sorry for the lame question, but do you use an already compiled distro, or you compile it on your own?
Click to expand...
Click to collapse
For System Settings, that's not a problem from this port at all. On the desktop it's also non-resizable.
And the volume keys work fine here.
3.0.8 is working.. sort of
Wifi and Touch are working with KGSL and EAX in 3.0.8
jshafer817 said:
Wifi and Touch are working with KGSL and EAX in 3.0.8
Click to expand...
Click to collapse
Weren't those the big things? Then what's still broken?

gentoo on nexus 7

Figured this should go in the "Nexus 7 Original Development" but I can't post there
http://imgur.com/XjIDruA for picture
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My directions are on the gentoo forums, in the install section at https://forums.gentoo.org/viewtopic-p-7604764.html
Don't attempt this if you don't know how to install gentoo, build tools from AOSP, or unbrick your device!
I don't have any ROMs for a gentoo install, at the moment, but I will probably eventually provide a way to flash an image or two, with a stage3 + wifi + dhcpcd + sshd added to the default rc runlevel. Please keep in mind, if you didn't read the source and compile it yourself, you don't know what's in the binary.
So it looks like I'm getting closer. From what I can tell, ubuntu is booting into the system (or root) partition, with an initramfs image that creates a chroot. They "pause" the loading of the Android OS, and boot into the chroot environment.
I've found abootimg though, and I'm thinking a properly grep'ed and hacked AOSP kernel can have most of the 'forced' directories and option changed, or set in the boot command line. I'm going to try kernel builds in my gentoo chroot, from the ubuntu install on the nexus 7. I'll have to at least get boot backups working in "TWRP 2.7 - Nexus 7" but that should be easy with cat, dd, and a system+userdata partition to reliably mount.
I'm aiming to get a kernel that boots into mmcblk0p9 (or userdata) without an initramfs, or any playing around with the system partition. I'd like to eventually use the recovery boot as a boot into a 'gentoo minimal cd' image, stored on the system partition.
Anywho, 8 more posts away from adding links and images
well, i can't help, but i can cheer for you to succeed
Well, looks like I got wifi, battery status, usb keyboard, backlight control, getty term, cpu gov, and most everything that works in ubuntu working.
Haven't built Xorg yet, but I'm sure that'll work too, and haven't tested bluetooth yet, but I'm sure it'll work too.
Directions are on the gentoo install forum board, if you have trouble following them, just ask me for help
I'll be configuring and building gentoo for the next week or so, but maybe in a month, I'll set-up some flash-able images. I'm using the ubuntu kernel for now (derived from the AOSP kernel, as far as I can tell), but I'll probably try a few more build of the gentoo kernel.
By the by, doing "emerge -1 system" with MAKEOPTS="-j5" and it's eating my battery, about 1% every 5 minutes, plugged into ac charger, so just be carefully when building gentoo, and watch your battery status ("cat /sys/devices/platform/tegra-i2c.4/i2c-4/4-0055/power_supply/battery/capacity" to view current battery %)
deadram said:
By the by, doing "emerge -1 system" with MAKEOPTS="-j5" and it's eating my battery, about 1% every 5 minutes, plugged into ac charger, so just be carefully when building gentoo, and watch your battery status ("cat /sys/devices/platform/tegra-i2c.4/i2c-4/4-0055/power_supply/battery/capacity" to view current battery %)
Click to expand...
Click to collapse
It might be best to cross compile from another device. I'm thinking that a lot of write activity will wear out the internal storage faster?
You could then host portage from said device and access packages over the network.
Is libhybris part of your plan?
What about booting "toram" from a squashfs filesystem stored on "sdcard". This could allow coexistence with the default filesystem as well as increased performance.
crache said:
It might be best to cross compile from another device.
Click to expand...
Click to collapse
It would be a little faster, but more time consuming to set-up. That would be outside the scope of this tiny pseudo tutorial anyways
I'm thinking that a lot of write activity will wear out the internal storage faster?
Click to expand...
Click to collapse
True, but I'd guess that's a 10 to 20 year process. Most phones are ssd, and last about that long... some laptops come with ssd drives, they wouldn't if they didn't last ~some~ amount of time. Besides - if cell phones are any indication of the future - I'll have cracked the screen by then, or dropped it in the toilet
Is libhybris part of your plan?
Click to expand...
Click to collapse
Nope, my plan is to have only gentoo on my tiny box. I may eventually look into setting up android in a chroot, if you google it, someone has done that before, on a different device. If i remember correctly, it booted Debian, then set-up the android chroot, and passed graphics control off to android.
What about booting "toram" from a squashfs filesystem stored on "sdcard". This could allow coexistence with the default filesystem as well as increased performance.
Click to expand...
Click to collapse
Well, if you wanted that, you could set it up that way. I'm looking to get Xorg up and running, lighttpd, firefox, and wine (for ie), and set-up a portable web development tablet. I'm turning this toy into a computer
That said, when i get around to making the "install CD" or image file, it'll probably be a 650-400MB image file, compatible with multiboot, and it'll be up to you to figure out the finer details. That is the idea behind gentoo anyways, to fine tune your system to how you want, and not how someone else thinks is best.
----
As an aside, after playing with cpufreq for a while, and wifi, I have a feeling my battery problem has more to do with the screen being powered. Apparently there isn't a way to turn off the power to the GPU and LCD from VT, without a working Xorg server. At least none that I can find.
Well I got a few more things working. Check the gentoo forum link at the top for more info. By the by, posting from my nexus 7 gentoo install using xorg and firefox 31.0.
Looks like I've got the kernel thinned out, and a few more things on the go. Check the gentoo forum link for the details.
Should have an install image within a couple months. Next steps are hacking the kernel drivers a bit, and then building a website for my wife (That's how I tricked her into letting me buy this thing in the first place, but don't let her know that! XD), and then figuring out the install image.

Categories

Resources