[Q]Booting Ubuntu with NAND Android - HD2 Ubuntu Q&A, Help & Troubleshooting and General

Hello!
I have NAND Android on my HD2 and am very happy with it.
Now, I'd like to run GNU/Linux (not neccesarily Ubuntu, but that's good start) from SD. But, while it boots with MAGLDR, kernel seems incompatible with it, and it's very glitchy. Touchscreen and Wi-Fi don't work, just to begin with, so it's non-functional.
Here are my questions:
1) If anyone has kernel for HD2 that works well with MAGLDR, please tell me! I've heard Ubuntu 0.4 kernel is supposed to support it, but there are problems with usb host. If anyone of you is in possession of that kernel, please tell me! (I don't mind no usb host).
2) Did anyone try booting Ubuntu 0.3 on HD2 using cLK and it's fastboot functionality, like Ubuntu on Desire HD? Does it work?
Here's proper link: http://forum.xda-developers.com/showthread.php?t=1045910 (it isn't real dual boot but I don't need it)
Basically I want to have usable GNU/Linux (not android) running off sd card while I have Android on NAND.
fpu

Sorry, pls delete...

I just want to say that I tried 2) - the fastboot solution.
And it DOESN'T work :-( errors and problems the same as on MAGLDR. Touchscreen doesn't work, wifi module doesn't want to load, etc. ...
So there's still no way to have functional Ubuntu on HD2 with Android sitting in NAND.
Looking for (and forward to) kernel with MAGLDR support!
fpu

I used ICS 4.0's zImage to ubuntu0.3 and 0.2,in 0.2,the zImage works good but the WiFi and 3G isn't work~it also works in 0.3,but the touch screen doesn't work right.This zImage will boot 0.2 and 0.3,it won't died after boot~
What I can say is these~Oh my poor English!

Related

NAND android and Ubuntu

So quick question; I am contemplating flashing NAND android to my HD2,
but I'm wondering if I do, will I still be able to boot the ubuntu ports from
my sd card? Or do I strictly have to be on WINMO in order to do this?
I think you just bung the ubunto (or android) on sd card as normal and then use sd option in magldr, ill try this in a mo, will report back and let you know.
[edit] Doesnt seem to work , gutted forgot to try new ubuntu before getting rid of windows.
Hi
Ubuntu 0.3 boot really fast with magldr from sd after rename some files,
but touch screen won't work. i'm searching for a solution. mouse work with usb host & wifi seem to not work.
xboxmod said:
Hi
Ubuntu 0.3 boot really fast with magldr from sd after rename some files,
but touch screen won't work. i'm searching for a solution. mouse work with usb host & wifi seem to not work.
Click to expand...
Click to collapse
Hi.
Did you just change initrd.cpio.gz to initrd.gz ? I did and get to keyboard then nothing but linux boot screen works ok.
I also tried it with DFT Android's initrd.gz (and ubuntu zImage) and vice-versa for experimental (DFT's zImage and ubuntu's initrd.gz) as well as other htc-linux combinations...
What files did you change? The same for htc-linux Zimage to just zImage from ubuntu 0.3? is there another way? a single and proper initrd.gz, zImage that would work as the normal non-magldr way works ? can we compile it somehow ? how could we package such as clockwork update.zip ?
main question is what is best/easiest way to make magldr load ubuntu from sd or better yet clockwork/NAND using daf?
and besides ubuntu, can we get ANY linux - even to a basic shell/prompt - working NOW with just initrd.gz,zImage, ???
Thanks.
Excuse my ignorance here.
Ok - I have changed initrd.cpio.gz to initrd.gz and same for zimage_htc_leo_adb to zImage which is what MAGLDR expects (yes?). Now - I am currently using another clockwork installed nand rom so my yaffs2 partitions/layouts are obviously different to original DFT-Android DAF.EXE settings in flash.cfg.
So - on nand I have PPC-7Droid. My point is - when I run sd ad boot from magldr (clockwork moved to other folder: linux files above in root) I get as far as linux boot dialog screen verbose then reboots.
Now when I had original android (dft-desire-flash.cfg/daf.exe) part layout it got to keyboard. I am about to copy over all the other files also - rootfs.ext2 etc etc etc but I am pretty sure when using dft-original-release layout I got to keyboard (then froze) without these other files (only using initrd.gz and renamed as above Z). How can I put rootfs.ext2 onto nand properly? or sd card? How does magldr strap initrd, zimage, then read rootfs.ext2 and other files? does nand (flash.cfg) layout matter? Can someone explain how to get to Ubuntu from Magldr - SD or Nand. And have it not freeze - happy with anything as long as "running" not frozen - even no Keyboard as from there can start working... Thankyou.
I am learning Linux lol - as a windows nt kernel/driver developer starting anew with CE/Mobile and Linux so please bear with me.
ps: anyone having many Magldr = 1E HIT FATAL ?
xboxmod said:
Hi
Ubuntu 0.3 boot really fast with magldr from sd after rename some files,
but touch screen won't work. i'm searching for a solution. mouse work with usb host & wifi seem to not work.
Click to expand...
Click to collapse
Hi. Could you (or anyone at all - happy make small donation if works ok- ie: even by mouse/usb keyboard) PLEASE do me a huge favour and:
1) pack up what you have working (anything) into a boot.img and system.img set - with flash.cfg and daf.exe so I can flash to NAND?
2) Same as above and/or UPDATE.ZIP for Clockwork?
3) Single Zimage and proper initrd.gz
THANKYOU. Also: Final question:
Is it delusional/too out-there to think WINE could be put into Ubuntu-HD2? (either normal sd or NAND)? to run 16/32/any windows executable.
TheATHEiST said:
I think you just bung the ubunto (or android) on sd card as normal and then use sd option in magldr, ill try this in a mo, will report back and let you know.
[edit] Doesnt seem to work , gutted forgot to try new ubuntu before getting rid of windows.
Click to expand...
Click to collapse
Ubuntu great. It does work - sort of. Change filenames. Worth flashing back to Winmo briefly to check it out then HaRET. but you have any idea how to pack up ubuntu files for DAF.EXE ? or make rootfs.ext2 via daf.exe/flash.cfg ? or system.img/boot.img ? or even - sorry - just ideas here - clockwork update.zip ?
I work in Windows.
What tools would I need to make NAND ROM ZIP or DAF.EXE for Ubuntu and how should I go about it ?
MOD:
Sorry - new here. Please put all my questions as single post. Not meaning to spam the board. Getting used to controls etc. Thanks.
Making donation - Cotullla and DFT ! but right now - with money to burn as I have - I think it would be quite worth it to pay US$(cost_of_HD2) for WP7 with LIVE and Ubuntu and WM6 Magldr boot options all in one.

android ubuntu loader

hi
is there any way to load ubuntu 3 for hd2 from nand android?
+1 yes it is possibly ?
1. i copied the files on my sd-card.
2. renamed initrd.cpio.gz to initrd.gz
3. renamed zImage_htcleo_usbhost_2.6.32.9-38182-g6ad7e77 to zImage
in magdlr:
1.i go to 9.services then 1.boot setting then 2.always menu
2-i go to 9.services then 1.bootsetting then 3.ad sd dir and select linux folder
3.shut down
after power on the magdlr menu appear, and if i select boot ad nand, android will boot compeletly, and if i select boot ad sd haret will execute, but after complete loading and when mouse pointer appear, phone will restart,whats the problem?
alikhalesi said:
and if i select boot ad sd haret will execute
Click to expand...
Click to collapse
Wrong!
haret is a windows mobile executable and it has nothing to do with magldr.
TheATHEiST said:
Wrong!
haret is a windows mobile executable and it has nothing to do with magldr.
Click to expand...
Click to collapse
yes,but haret executed,and ubuntu loaded.when mouse pointer and keyboard appear, phone restarted.
alikhalesi said:
yes,but haret executed,and ubuntu loaded.when mouse pointer and keyboard appear, phone restarted.
Click to expand...
Click to collapse
linux and android don't in the same way.
ask the cook of your android rom to enable kexec on the kernel in his next release, then you should be able to boot ubuntu from within android.
a bit like haret on windows.
plopper
plopper said:
linux and android don't in the same way.
ask the cook of your android rom to enable kexec on the kernel in his next release, then you should be able to boot ubuntu from within android.
a bit like haret on windows.
plopper
Click to expand...
Click to collapse
is there any android build that kernels support kexec now?
and if i download it, problem will be solved?
alikhalesi said:
is there any android build that kernels support kexec now?
and if i download it, problem will be solved?
Click to expand...
Click to collapse
not that i know off, so it's up to some rom chef to enable it so we can test it.
plop
Interesting thanks.
Well is it now possible to boot ubuntu from android?
And is there a tutorial? If not, may anyone post something about that.
I'm using the Typhoon Android and it would be a funny gimick to boot Ubuntu
Ehm i read somewhere that someone booted Win98 oder 95 on the HD2 is there a Video up or a hp?
only if someone ports a similar Haret app on Android but im pretty sure theres other ways via terminal not sure
I am also very interested in a haret for Android! This would be great.
I use NO windows anymore (on any device for that matter) and would like too keep it that way
Super cool job, looks great in the youtubes...
it would be very nice to know if there's a way. thank you all
i would guess there's 2 ways for this to work. 1: from inside android after it's already loaded (like haret) and 2. from the bootloader when you first start your phone up.
i know with a PC, you can have any OS's files on a hard drive, or partition or whatever. but if your bios doesn't know it's there, it wont just go auto looking for it. it will tell you 'operating system not found' or something along those lines. now when you install an OS on a PC it updates that boot menu, or in linux the grub menu which is pretty much the same thing. there's also a program handy in windows called 'easyBCD' and linux has the 'startupmanager' respectively. so it's already been taken care of in those OS's and i gotta think it can't be that hard to get one going for mobile OS's as well.
i would think, it shouldn't be that hard to direct the bootloader at the startup of the phone, to wherever your directory for your phone's OS is located (and similarly for a secondary OS). just a matter of modifying that line so it reads into the correct directory. of course i can't program but it sounds right
非常有趣的感谢~
First off not to sound rude to anyone but haret builds can boot within magldr but a proper roof.img is needed for magldr and not windows. i dual boot sd builds and nand all the time when i use magldr but im using cLK cause i work at night and dont want to risk the battery dying on me. Also have you try the hd2 toolkit not the one for flashing clk or magldr but the that loads hbl to boot up ubuntu here : http://forum.xda-developers.com/showthread.php?t=1095726 just for the new ones that dont know.
It's very possible, we just need a dev who's motivated enough to create a app, or script that will execute the correct terminal codes.
Ubuntu with Android
On Ubuntu website, they claim to have Ubuntu working (in near future) on smartphomes supporting ARM. From what I gather, they install Ubuntu but only with Android system. Is anyone working on this? I use windows to sync in with all contacts and calendars, but want to do this with Ubuntu.

[Q] Flash under Linux (Ubuntu)

Hello all.
I search in the forum but I don't find the answer. Maybe no solution or my English is definitively too poor !!!
I have a computer with Linux (Ubuntu 10.10). Every time I want to make a change on my HD2, I have to reboot and launch my Windows session. But I want to definitively ****ch to Ubuntu. So is a solution exist to flash under linux (directly, with wine or with virtual machine like virtualbox).
I want to be able to flash my HD2 to return to WM6.5 or to flash the CWM recovery etc...
Do you have some answers ?
Thanks for attention.
Bye
as of now, the only way to flash rom through linux is using CWM (perhaps you'd need windows for that too).
The reason behind this is that the CustomRUU is only made for windows and not for linux.
Ive had my own tries with virtualisation and qemu but to no avail, CustomRUU needs to establish a direct serial contact with the device which is not possible for any VM in linux as of my knowledge, so the best bet is to get cLK loader, it uses userspace linux for android on nand, so you can flash recovery, rom, boot, kernel using the sdk tools of linux since it supports fastboot. after installing cLK, your phone becomes pretty close to a native linux one with the only drawback being the rom needs some changes to work with cLK but the good news is anyone can do it easily, we only need to repack the supplied kernel in a .img to flash using fastboot.
Thanks for information. I will try cLK and SDK.

[Q] Anyway to get Ubuntu on Hd2 along with NAND

Yes i have seen the several threads on the matter however i have not been able to post a question on them for i am a new member. My question is how to get ubuntu running on an HD2 that currently runs magldr and a nandroid rom. i have tried using the ubuntu.sh however it never establishes a handshake because the connection is refused. Help?
same situation but i haven't tried ubuntu.sh because it's size...
i've seen on htc_linux twitter that the next version of ubuntu will have magldr support... hope he releases it soon...

[Q] ubuntu

does anyone think it'd be possible to run ubuntu on the x8?
Since the devs unlocked the bootloader it is possible to run ubuntu...(I guess)
Wait for someone to make a tutorial or search in google for running ubuntu on other android devices!
I tried but with no luck. x8 kernel do not support loop something.. I managed to start it in command line (or I think so) but main desktop did not load. But it is possible overall on android. Tried androlinusDOTcom tutorial
I never tried, but I can't find a -convincent- reason to do it...
Why ubuntu? there are way better distros for ARM/embedded devices
Maybe try this thread: http://forum.xda-developers.com/showthread.php?p=17379419#post17379419. I used Debian from HTC G1 and ran it on X8, it is working just fine, even when I also got an information, that my X8 is not supporting loop and ext2. Maybe You'll find it usefull, because this is almost one universal way to run every distribution with prepared debootstrat image. If You have some more questions let me know.
I will try to run Ubuntu in the nearest future, but now I'm happy because of Debian running . It is only a chroot, not a full replacement of Android, but it can run most of tools.

Categories

Resources