android ubuntu loader - HD2 Ubuntu Q&A, Help & Troubleshooting and General

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.

Related

[Tutorial] Boot Linux on the Typhoon

Started to mess about with this earlier today, finally got the damn thing to work Turns out it is quite easy..
First, to get one thing straight, this will only boot the kernel, it will dump you at a shell which you have to remotely log on to via telnet over usb. There will be some (not so) fancy text appearing on your phone's screen but that is about it. Also, it only works on unlocked phones.
This is what you get:
On your computer you'll get this:
Cool, huh? Btw, this is running from a memory card, your OS will be untouched so as soon as you reboot the phone it will boot right back into WM2003/5/6.
1. What you need
* A HTC Typhoon running any rom of your choice (I did it on WM6).
* A miniSD memory card
* A Linux distro - I downloaded the Ubuntu Live CD and ran it through VMWare, no need to install anything or reboot your computer.
* miniSD image of Xanadux - this is the linux port for HTC devices. Grab the latest version here: http://rapidshare.com/files/92218185/Linux.zip.html
(these files are extracted from the miniSD image file found here: http://vivien.chappelier.free.fr/typhoon/download.html)
2. How to run linux on the Typhoon
1. Instead of installing linux properly on your phone which requires partitioning of the internal memory etc (a lot can go wrong) we'll put it on the memory card then a Windows Mobile program called HaRET will boot linux for us from WinCE. Completely non invasive in other words.
This bit is dead easy, just extract the Linux.zip file you just downloaded and copy the files to the root of your memory card (must be memory card, can't do this from the internal memory afaik). Next, go to the File Explorer on your phone and find the file HaRET.exe. Run it then press the run button (this button has focus when you execute HaRET.exe so just press the joystick when the windows appears) and you will see a message saying "Booting linux", then after a few seconds your screen will go black and some text will appear.
Voila! That's linux running on your phone!
2. Connect to the phone via telnet
If read the last line of text that appeared on screen you'll see that it says "Press enter to activate this console" but no matter what buttons you press on the phone nothing happens, some gibberish appears but that's it.
Solution: telnet to the phone from your computer.
Get Ubuntu to boot on your computer, then go to Applications->Accessories and run the Terminal. Next type in the following commands:
Code:
modprobe cdc_ether
modprobe usbnet
ifconfig usb0 up 192.168.9.1
and finally
Code:
telnet 192.168.9.10
Login with username root and you'll find yourself at a shell like the screenshot above. Everything you see from now on is coming linux from your phone!
I've noticed that Xanadux doesnt always initialise the USB port unless it is connected via USB when booting up so make sure you always have your phone connected via USB when you run HaRET.
Now I'm going to try to figure out how to get the GSM module to work...
LINUX based ROM??
Hi shandar,
I have read your post and I am interested to know if you are cooking a LINUX based ROM that will run in a WIndows Mobile device? That would be too good to be true.
Also another question is do you need to have Linux running on your desktop to make this tutorial work?
ryanchanmd said:
Hi shandar,
I have read your post and I am interested to know if you are cooking a LINUX based ROM that will run in a WIndows Mobile device? That would be too good to be true.
Also another question is do you need to have Linux running on your desktop to make this tutorial work?
Click to expand...
Click to collapse
Hey, well, I don't know enough to make a linux rom for smartphones. I'd love a working linux distro for Typhoons & Windows Mobile phones in general but it is way out of my league unfortunately.
Btw, I probably should clarify that I only wrote the tutorial, the actual linux port is made by someone else.

[Q] Disaster - need help...

I got a copy of Android - I think its 1.6 - running on my laptop - and it seemed to work ok and be stable so I wanted to put it onto the machine permanantly.
Trouble is its decided that nothing else on the machine exists and I can't get back into vista whatever I try
It boots into something called grub loader and the only two options are the normal boot and a sort of safe mode - that lists drivers much like the old one for Windows 95/98 where you could y/n each one...
I really need help to get vista back again since there is stuff I really need like internet banking that I don't think I can do any other way (to be fair I have yet to try)
Thanks in advance
Jemma
Please tell me you partitioned off your hard drive before doing this?
If not then its a reinstall I guess, which isn't to bad as it allows you to install a decent copy of windows such as XP
That quite simply isn't an option - I was told that there is a way of solving it by using a windows CD or boot disk to reload the MBR - I was also told that the file running GRUB can be edited to find windows.
The problem is I don't have another machine and I am on state benefits - I need this computer up and running and I need access to my documents.
I can't seem to mount anything in android - and as the only option is 'format sd card' I don't really want to take it..
Does anyone else have any suggestions?
Jemmauk said:
That quite simply isn't an option - I was told that there is a way of solving it by using a windows CD or boot disk to reload the MBR - I was also told that the file running GRUB can be edited to find windows.
The problem is I don't have another machine and I am on state benefits - I need this computer up and running and I need access to my documents.
I can't seem to mount anything in android - and as the only option is 'format sd card' I don't really want to take it..
Does anyone else have any suggestions?
Click to expand...
Click to collapse
Well thanks for the sob story but what does being on benefits have to do with anything?
Anyway simply set your pc bios to boot from cd first, insert disk and boot up. From there you will be asked do you want to install or repair. Choose repair.
I'm unsure of the next step because I don't use Vista *spits* but if you can get to recovery console then you can run fixmbr from the prompt and also there is a boot manager that can fix your boot sector.
Alternatively you could from a dos prompt delete the 1.6 folders and rewrite the msconfig to open windows only.
There is also the root of trying the f8 safe mode boot into admin account and rewrite the msconfig from with windows if accessible from f8 safe.
But hell I ain't anyone else but I guess my 24 years in the business of building custom machine and my extensive knowledge of windows xp and below means nowt? Maybe try being a little less dismissive next time hey?
Add me on gmail - [email protected] if you want me to help you sort it out faster than we can here
Did you create partitions before installing android? if not then windows doesnt exist anymore, which is why grub didnt automatically add it to the list of things to boot (mine always listed everything, but sometimes it doesnt do that automatically)
this happend to me to. I had to use I linux live cd to delete the linux partition. and fix the mbr.
Sent from my Liberty using XDA App

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.

[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.

Install Android 7.0 Nougat in PC Hard-Drive | Dual-Boot with Windows OS

1. Download Android Nougat 7.0 ISO file[Developed by Android x86].
2. Download Rufus win App to Create Bootable/Live USB.
3. Insert USB with Minimum 4GB and select Downloaded ISO file and finally start.
4. After Finishing, Create New/ Separate Partition in PC for Android to be Installed with Minimum of 16GB Disk Size and Format it as FAT32.
5. After formatting, Reboot PC.
6. Boot PC from USB.
7. Select Install android x86 to HDD.
8. Now In bluescreen Select the Separate Fat32 formatted Partition to Install.
9. Do not Format.( I didn't formatted and it works fine).
10. Install Boot Loader GRUB.( It will replaces default Windows Bootloader).
12. Next it shows up that your are having Windows Partition and asked to create boot item for windows. Select Yes for that else you won't be able to boot into Windows next time.
13. Next Select Skip for EFI GRUB2.(I Skipped and worked for me, I think because I'm having Legacy PC).
14. Then Select Yes to Create Read/Write enabled system directory.
15. Now To create data.img, select yes and then Enter the Size you need for System Memory in MBs (1GB-1024MB).
16. Now Accept Reboot and then Boot Android from GRUB Menu.
17. Thats all . You have Successfully installed Android 7.0 nougat in your PC HDD.
Also I Made Video Tutorial in YouTube for Better Understanding. You can Checkout if you don't understand or if any error pops.
https://www.youtube.com/watch?v=o90aPj4zT-M(TechGeekShan).
Follow Me
http://facebook.com/techgeekshan
http://twitter.com/techgeekshan
https://www.reddit.com/r/TechGeekShan/
http://instagram.com/techgeekshan/
http://www.techgeekshan.in/
Wow thanx mate, will give it a try and will give a feed back.
Sent from my SM-G935F using XDA-Developers mobile app
silverrum said:
Wow thanx mate, will give it a try and will give a feed back.
Sent from my SM-G935F using XDA-Developers mobile app
Click to expand...
Click to collapse
Yeah.. You are welcome and we must Appreciate the Developer who developed Android Nougat x86..
Don't work for me((( Laptop wan't boot after installation...
gmikes said:
Don't work for me((( Laptop wan't boot after installation...
Click to expand...
Click to collapse
Its because of EFI/UEFI Computers
Why not work
Shanmukarajan said:
Its because of EFI/UEFI Computers
Click to expand...
Click to collapse
Why not Work ?
If I install it on my PC, do I access google play store like normal?
successfully installed on Z3735F Bay Trail-T windows 10 tablet. I don't need windows 10 OS anymore, so made one partition and install Android 7. It books OK, WIFI works fine. BUT!!!!! All the physical buttons don't work. Power button doesn't work, so there is no way to turn off the system. Volume Up and Down button also doesn''t work. But touch screen works fine. How to solve this problem? any idea? My tablet is Unbranded Tablet 10.1 from Best Buy
hey,
i got it up & running on my uefi windows 10 lenovo yoga (after some struggle i also have dual-boot). my question - how do i get gapps and supersu? it's not like you could simply flash some zips, as there is no recovery
No Playstore!! Browser does not download files!!!
So after wasting 400mb of data and roughly 30 minutes of my time, I discover that there is no preinstalled PlayStore, the preinstalled browser will not download APKs and trying to install apps from the online MarketPlace only discovers devises that the email used to Sign In with is associated to, not the device this is installed on.
These things SHOULD by all ethical means be stated in the description to prevent others from wasting both their time as well as their data.
I want to see a solution to these problems Shanmukarajan. Should you decide to neglect this issue, I won't hesitate to have this post reported to the moderators.
Thank you in advance for your prompt support on the matter.
Stevo | True.Tech.Tabs
+1 360 **** ***
there is just one issue.
you can not create a data.img file that is larger than 4GB on a fat32 partition...
how do we fix that?
It’s installs fine but when restarts windows is just starting every time and it’s not coming up with step 12 asking me about windows partition and creating boot item
I performed the installation process about 10 times with different settings but none of them seem to install Android on my HDD. The live version works and there are no errors whatsoever, but even after installation there is never an option to boot the installed Android. Only live, debug or again option to install the OS. Does anyone know the solution?
Sent from my Xperia X Compact using XDA Labs
Godecki said:
I performed the installation process about 10 times with different settings but none of them seem to install Android on my HDD. The live version works and there are no errors whatsoever, but even after installation there is never an option to boot the installed Android. Only live, debug or again option to install the OS. Does anyone know the solution?
Sent from my Xperia X Compact using XDA Labs
Click to expand...
Click to collapse
Have you tried selecting yes to GRUB 2 during installation? It's been a little while since I went through the process, but I believe that was what I had to do to get it up and running.
Godecki said:
I performed the installation process about 10 times with different settings but none of them seem to install Android on my HDD. The live version works and there are no errors whatsoever, but even after installation there is never an option to boot the installed Android. Only live, debug or again option to install the OS. Does anyone know the solution?
Click to expand...
Click to collapse
Yeah I have the same issue with my Sony VAIO Duo 11. To start from power off I have to hit the special Duo Assist button, then F11 to boot from usb, then go thru the (re) install every time, so boot takes a couple of minutes, but it always bring me back to the same great working Android with all apps and setting unchanged. I don't understand, but I just happened onto it. Be sure to not format or install any grub (not really sure about grub or grub2), but yes to make it writeable. Then you get an awesomely fast Android.
I don't even want Windows on that machine, but I'm afraid to kill all the partitions and start from scratch as the Duo has some weird builtin Windows boot stuff hard wired. I'm not sure if Android could boot without the Windows partitions.
When I am creating a new partition with 16 GB of space does it mean that Android is going to use just this partition and 16 GB or is it just for the installation files and Android will see my whole HDD as the internal storage?
Could you please let me know how you got it up and running? I am on a UEFI yoga as well, but after the installation,
grub doesn't show up and my computer boots automatically into Windows
Thanks in advance
bombaglad said:
hey,
i got it up & running on my uefi windows 10 lenovo yoga (after some struggle i also have dual-boot). my question - how do i get gapps and supersu? it's not like you could simply flash some zips, as there is no recovery
Click to expand...
Click to collapse
ZOOMA7997 said:
Could you please let me know how you got it up and running? I am on a UEFI yoga as well, but after the installation,
grub doesn't show up and my computer boots automatically into Windows
Thanks in advance
Click to expand...
Click to collapse
Did you change the boot sequence in bios? Select android to boot 1st, then Grub should ask you which os you want to launch. I installed grub 2. I also went with the triple boot. My laptop is an Asus x401a with windows 7. Along with ubuntu and android. x86 Nougat.
A little help here mates,
I installed it alongside a windows 7 ultimate.
Gave it an 80gb Partition (fat32)
So I'm planning a dual boot here.
Here's my Steps:
used rufus to create bootable from android-x86-8.1-r1.iso
booted to Flash drive
installed android to 80gb partition (with grub/windows boot entry/ and data image of 2048MB)
after installation, Reboot to test boot options
grub didn't show up, booted directly to win7
Did some researches, and from those researches I should disable SECURE BOOT, but bios don't have that option.
Also tried EasyUEFI Tool which didn't even work in windows 7
Also, no settings for UEFI or Legacy.
Boot Order doesn't show Windows bootmanager or grub too, only HDD....
I installed android in ASUS Eee Notebook Laptop 1201b
I think the only problem here is grub cant load, but I run out of solutions, so here I am asking for help.
every android on work fine in my tablet(z3735f) but there is a bug in every os no sound in headphone any one tell me how to fix it

Categories

Resources