Jump to content

Ubuntu for hudl - working as "chroot"!


Guest glossywhite

Recommended Posts

Guest glossywhite

:D I now have "Ubuntu" working on the hudl, using chroot method, which I installed using "Complete Linux Installer" on the Play Store:

 

https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid

 

You MUST ensure that when the app downloads your distro image, that you rename the .img and place it in the correct directory - for example, Debian: /sdcard/debian/debian.img

 

 

Here it is, running:

 

http://www.youtube.com/watch?v=gfeS7G3Eqww

 

 

 

 

 

 

 

 

Work in progress - trying to make GNU+Linux boot natively on the hudl - here are some links from other Rockchip-based experiments

 

http://www.slatedroid.com/topic/77977-ubuntu-1210-complete-armmk808rk3066-desktop-solution-new-homeio-release-chromiumtrue-flash-gles-goodies-xbmc-easy-setup-and-much-more/
 

 

### I AM NOT RESPONSIBLE IF YOU BRICK YOUR HUDL! ###

Edited by glossywhite
Link to comment
Share on other sites

Very exciting. Tried running Ubuntu as a CHROOT today, to no avail. This might be the next thing to try, when we get CWM  :) Looks like we need a certain type of kernel, too.

Link to comment
Share on other sites

Guest glossywhite

Just tried this - doesn't work so far. Made up the ext4 SD card as per the guide, and flashed the kernel image to "recovery" partition first, booted android then "adb reboot recovery" to no avail, and the same when flashing to "kernel" partition.

Oh well :)

Link to comment
Share on other sites

Here's some screenshots - I just shot a short video, and am in the process of uploading it - I shall publish it here tonight:

 

How did you manage to get it working? Didn't work at all for me.

Link to comment
Share on other sites

Guest glossywhite

How did you manage to get it working? Didn't work at all for me.

 

Ah! Did you rename the downloaded, extracted .IMG file to "ubuntu.img", and does it reside inside "/sdcard/ubuntu" ?

 

I used the Ubuntu 10 method - you need to install a VNC client and also a terminal emulator - the app has buttons for installing them (I had them already though).

Edited by glossywhite
Link to comment
Share on other sites

Good job matt. I have it all installed, and files, (I think) in the right place. Getting "failed to connect to localhost/127.0.0.1 (port5900)" error when launching via vnc. I get the same error in the terminal as you did, although for you it was already live.
Followed the guide, and steps above.
Anyone got any ideas?

Using ubuntu 10 from the linux guide app.

Edit 1:
Did you change the kernel in anyway? I've gone back through the guide, and the only thing that I can think of is the kendal not supporting loop devices, (although I get the same error as it's shown in your video).

 

Edit 2:

OK - Will outline the steps I've taken so far, and hopefully there's an obvious mistake in there somewhere.

  1. Rooted hudl and installed Super SU
  2. Installed the Complete Linux Installer, and started the Ubuntu 10.10 guide
  3. Enabled USB Debugging
  4. Downloaded the "large" image file, unpacked to SD card, and placed in folder called "ubuntu"
  5. Installed Terminal and Viewer apps
  6. Launched boot widget (although Launch menu item from within ther Linux instaler app has same effect)
  7. Terminal launches, but error "unable to create loop device" shown - then 1 root@adroid:/storage/emulated/legacy/ubuntu #   shown (per advice in guide)
  8. Launch VNC, entering Nickname (Blank), password (ubuntu), Address (localhost), Port (5900) Username (Blank), COlour format (24-bit colour)
  9. Error thrown: VNC Connection Failed! Failed to connect to localhost/127.0.0.1 (port 5900): connect failed: ECONNREFUSED (Connection refused)

Any and all advice gratefully received!

 

Cheers

Edited by QLF
Link to comment
Share on other sites

Afternoon all. Just wondering if anyone other than glossywhite has this working?

Can't seem to get past the problem above, so might have to go back to stock and start again.....

Link to comment
Share on other sites

Guest glossywhite

You need to ensure the downloaded, extracted .IMG file is renamed to "ubuntu.img" and located in /sdcard/ubuntu/. If not, this will be a cause of it not working.

Other than that, I've no idea, since I currently have other projects too, (including raspberry pi GPIO hacking - LOTS of fun - you guys should all get one :) its immensely satisfying).

Sorry not to be able to help further; if I was working on Ubuntu for ARM at all, it would be getting the native Picuntu port to display on the LCD, or having Ubuntu touch up and running.

All the best. :)

Link to comment
Share on other sites

Guest Justice™

I'm curious if there's a simple "switch" (Much like enabling the internal display on allwinner A10 tablets running Linux) that could allow us to output to the internal display rather than over HDMI, the touch screen is another matter completely though.

Link to comment
Share on other sites

Guest glossywhite

I'm curious if there's a simple "switch" (Much like enabling the internal display on allwinner A10 tablets running Linux) that could allow us to output to the internal display rather than over HDMI, the touch screen is another matter completely though.

 

Please state clearly what you mean: Are you referring to the native Ubuntu ("Picuntu") distro, or the chroot'ed method, as detailed herein?

Thanks :)

Edited by glossywhite
Link to comment
Share on other sites

Guest Justice™

Please state clearly what you mean: Are you referring to the native Ubuntu ("Picuntu") distro, or the chroot'ed method, as detailed herein?

Thanks :)

I was referring to the native picuntu version. In hindsight I probably should've posted it in that thread.

Link to comment
Share on other sites

Guest glossywhite

I was referring to the native picuntu version. In hindsight I probably should've posted it in that thread.

Nope. Sadly (and I think possibly a bit short-sightedly) they only compiled the kernel to allow HDMI out. Had they released two kernels - one for stick, one for tablet, I think that would have been better, but then - who am I to complain? Without their hard work, I would not have even got this far.

:)

Link to comment
Share on other sites

Guest Justice™

Nope. Sadly (and I think possibly a bit short-sightedly) they only compiled the kernel to allow HDMI out. Had they released two kernels - one for stick, one for tablet, I think that would have been better, but then - who am I to complain? Without their hard work, I would not have even got this far.

:)

Ah, that's a shame. Any progress and work done is great though. :)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.