[Q] Ubuntu from NAND Android? - HD2 Android Q&A, Help & Troubleshooting and Genera

Now that we have NAND Android working, will it be possible to boot ubuntu from Android?

Definitely, you just have to trim down the size.
Sent my HTC HD2 using XDA App

do you want to boot ubuntu similar to a nand build? or are you okay with the an sd version, cuz for there there already is one. the thread's here
http://forum.xda-developers.com/showthread.php?t=889433

zachmerrill504 said:
do you want to boot ubuntu similar to a nand build? or are you okay with the an sd version, cuz for there there already is one. the thread's here
http://forum.xda-developers.com/showthread.php?t=889433
Click to expand...
Click to collapse
ubuntu has to be booted from winmo not from android and when using nand builds you have no winmo so you would not be able to boot ubuntu in the why you would with winmo it would have to be able be opened from inside android

ttibbetts83 said:
ubuntu has to be booted from winmo not from android and when using nand builds you have no winmo so you would not be able to boot ubuntu in the why you would with winmo it would have to be able be opened from inside android
Click to expand...
Click to collapse
no, that's not correct! MAGLDR provides you also the possibility of booting from SD card after some adjustments (so not yet possible with ubuntu). dcordes already reported that he will try to boot ubuntu directly from MAGLDR and also post instructions for 0.3 conversion if it will be trivial

tRIACTIs said:
no, that's not correct! MAGLDR provides you also the possibility of booting from SD card after some adjustments (so not yet possible with ubuntu). dcordes already reported that he will try to boot ubuntu directly from MAGLDR and also post instructions for 0.3 conversion if it will be trivial
Click to expand...
Click to collapse
Depends on your nand partition layout etc also - ie: daf? clockworked? etc?
I used sd card with initrd.cpio.gz renamed initrd.gz and same for adb_zimage to zImage. cant get that to stick though so tried with zimage/initrd from the DFT-Android-BOOT.IMG(unyaffs'd) and thus far can get to UBUNTU MOUSE/KEYBOARD then blank/frozen. Some ppl have it working with keyboard I think... We need someone to cut it down and mount/merge rootfs.ext2 into boot.img+system.img (with fixed zImage+initrd.gz) and/or a clocked update.zip for clockwork.
It works though: try it: even just putting zimage and initrd (renamed of course) in root will get verobone 'nix output...
Anyone here can make boot.img+system.img+yaffs-the-ext2. ? or update.zip
or even JUST CORRECT INITRD.GZ+zIMAGE properly?
Would be happy with ANYTHING: even to just TYPE! at a [email protected] Linux on HD2.
Thanks.

Ubuntu_magldr
xxxxxxxxxx
phoenixtraveller said:
xCan someone tell me why it stops at desktop ubuntu?
I copy all linux files to sdcard \linux and setup magldr sd-boot to here.
COPY (not renamed) initrd.cpio.gz to initrd.gz and adb_zimage to just zImage.
partitioned sd card previously with 4096-ext and 256-cache (16gb) using CLOCKWORK OF COURSE.
NAND=clockwork/blank.
Boots.
But can someone help me/make a boot.img+system.img(containing FIXED initrd.gz and zImage) PLEASE - and proper flash.cfg for daf.exe ???
or UPDATE.ZIP for clockwork install ???
Thanks.
Will donate $.
Click to expand...
Click to collapse

Related

[Q] MAGLDR SD freezes on boot.

It's a problem, I've tried with different builds and SD cards with the same result, it boots to the system but right when the lockscreen shows up it freezes. Solutions?
cotulla said in the magldr thread, "the build on the sd card also has to be a "nand" build" reason being is that the current sd builds are looking for things left in ram (drivers) that aren't there.. Hope this clears this up..
swyped from my Desired HD2
Anyone know how to install a NAND version to the SD?!
You can't .. wait for chefs to build a SD version compliant with magldr
Sent from my HTC HD2 using XDA App
I Think
Theory # 1
I think it may be doable via Flash.cfg
We just have to figure out exactly how it can be done.
------
Theory # 2
I think we can use a NAND kernel on SD build to make it boot?
I will give the kernel thing a try - MDJ9.1 working very well on Gauner's HD Rom (sorry Gauner, but your kernel was quite choppy even after I had left it to sync).
i have the same question. i dont know how to solve the problem
stuck with the same issue, installed a nand version before backing up contents from my sd build, which is unbootable now.
My only hope is to uninstall nand (by putting a windows rom), then boot back into my sd android to backup settings?
update:
i put back on the fly the OzDroid, booted back to my SD android, but it was corrupted, upon boot it complained about different system UID, and i got too many FC on too many apps, and i am unable to backup anything useful
starting over.....
mcbyte_it said:
stuck with the same issue, installed a nand version before backing up contents from my sd build, which is unbootable now.
My only hope is to uninstall nand (by putting a windows rom), then boot back into my sd android to backup settings?
update:
i put back on the fly the OzDroid, booted back to my SD android, but it was corrupted, upon boot it complained about different system UID, and i got too many FC on too many apps, and i am unable to backup anything useful
starting over.....
Click to expand...
Click to collapse
Damn, I've got the same problem. Too excited to install NAND on my Phone that I forgot to back up apps.
Ah well, Hope I can still extract *some* files from my sd card via my computer...
ThaDeanesta said:
Theory # 1
I think it may be doable via Flash.cfg
We just have to figure out exactly how it can be done.
------
Theory # 2
I think we can use a NAND kernel on SD build to make it boot?
Click to expand...
Click to collapse
Can this be done for UBUNTU?
I had renamed ubuntu-hd2-0.3 files initrd.gz and zImage and also tried using initrd.gz from DFT_anrdoid and with same's flash.cfg layout and playing around GOT UBUNTU UP TO KEYBOARD/MOUSE (but no touch).
How can this be done to Nand?
What is proper way to do ubuntu you think?
What SHOULD files be named and which zImage/initrd.gz shoulw work?
Thanks.
You can now boot sd roms from sd using magldr
You just need to modify one line in init.rc as detailed here:
forum.xda-developers.com/showthread.php?t=913964
You will likely need linux or at least a live cd of linux to do it.

[Q] Do SD Builds boot using MAGLDR?

Ok so there are obvious NAND builds which I can flash as per WM ROMS, they will boot fine, but can I put an SD build on my sd card and it boot direct from MAGLDR?
I know it supports booting android from SD but which builds? Also do the files have to be in a different location that sd\Android?
Thanks we could really do with a MAGLDR 101 type sticky
Thanks in advance
Please move to Android Q&A I've just had a senior moment! :-(
mattwaddy said:
Ok so there are obvious NAND builds which I can flash as per WM ROMS, they will boot fine, but can I put an SD build on my sd card and it boot direct from MAGLDR?
I know it supports booting android from SD but which builds? Also do the files have to be in a different location that sd\Android?
Thanks we could really do with a MAGLDR 101 type sticky
Thanks in advance
Please move to Android Q&A I've just had a senior moment! :-(
Click to expand...
Click to collapse
You should read this:
forum.xda-developers.com/showthread.php?p=10202441#post10202441
mattwaddy said:
Ok so there are obvious NAND builds which I can flash as per WM ROMS, they will boot fine, but can I put an SD build on my sd card and it boot direct from MAGLDR?
I know it supports booting android from SD but which builds? Also do the files have to be in a different location that sd\Android?
Thanks we could really do with a MAGLDR 101 type sticky
Thanks in advance
Please move to Android Q&A I've just had a senior moment! :-(
Click to expand...
Click to collapse
It is now possible to boot most roms that haret.exe ran using magldr
forum.xda-developers.com/showthread.php?t=913964
you will need some linux skills to do it as it involves mounting an image and changing one line in init.rc

[Q] magldr "Boot AD SD" compatible ROMS

Since MagLdr release, i have never seen any build that is compatible to run from magldr's "Boot AD SD" option, am i missing something?
from what i understood and tried by myself (after unfortunatelly losing my setup) normal SD build are not compatible with this option.
How can i convert normal SD or NAND roms to run from SD with this magldr option?
It's not something you'd call compatible, but with a little bit of work all of the sd builds that uses the cedesmith initrd can be modified pretty easily to boot from magldr. I've done it with JDMS, HD2ONE and desire_hd2 so far, and letama has posted the modified superram one. I'm sure the DesireZ works the same. You can find the instructions he posted here:
http://forum.xda-developers.com/showpost.php?p=10314695&postcount=807
It's literally just adding nand_init to one line in init.rc
There is a thread released today which will tell you step by step how to convert Nand Roms into Zip Rom so you can flash it anytime from SD card through Clockwork Mod Recovery.
http://forum.xda-developers.com/showthread.php?t=905961
buzz killington said:
It's not something you'd call compatible, but with a little bit of work all of the sd builds that uses the cedesmith initrd can be modified pretty easily to boot from magldr. I've done it with JDMS, HD2ONE and desire_hd2 so far, and letama has posted the modified superram one. I'm sure the DesireZ works the same. You can find the instructions he posted here:
http://forum.xda-developers.com/showpost.php?p=10314695&postcount=807
It's literally just adding nand_init to one line in init.rc
Click to expand...
Click to collapse
But how about RAM builds? And how do you read a .ext2 file?
AndHD2 said:
There is a thread released today which will tell you step by step how to convert Nand Roms into Zip Rom so you can flash it anytime from SD card through Clockwork Mod Recovery.
http://forum.xda-developers.com/showthread.php?t=905961
Click to expand...
Click to collapse
the question is , how to convert the NAND boot rom to SD boot, not CMR!
CMR is just another method to flash NAND Roms, without a data cable
sorry, but i dont understand how this works. the post explaining the procedure is not very clear to me. could someone be of any help and make it a little bit more noob proof?
i have phone numbers and text messages on a sd card android rom which i need badly.
Dewinter said:
the question is , how to convert the NAND boot rom to SD boot, not CMR!
Click to expand...
Click to collapse
I would like to do that, too. I love the NAND ROM TyphooN CM7 3.3.5, but I would really to convert it to an SD ROM.
me also i need SD room from TyphooN rom.

[Q] Boot android from NAND with WinMo

Hi all
Is there any way to boot android from NAND through WM?
F.E. in this Super Lite ROM we have 396 MB free space on NAND
data.img + rootfs + kernel ~ 280 MB
So, can we point haret to boot android from internal storage? may be with some cmd line option? Or we need special drivers for NAND support?
Thank you
mascew said:
Hi all
Is there any way to boot android from NAND through WM?
F.E. in this Super Lite ROM we have 396 MB free space on NAND
data.img + rootfs + kernel ~ 280 MB
So, can we point haret to boot android from internal storage? may be with some cmd line option? Or we need special drivers for NAND support?
Thank you
Click to expand...
Click to collapse
Huh... I think you misunderstood something (or perhaps it's me). If you put android in NAND, you don't need WM or haret. The problem is that at this point we (well, the devs... ) don't know how to initialize hardware, that's why we need WM.
Perhaps it would be possible to load WM, then haret+android from NAND, but don't know it that can be done.
is haret starts from internal memory? if we have 396MB of free space it is enough for android. maybe battery life will be improved when it won't be started from SD?
haret starts from any location and needs startup.txt in the same folder
then it looks for "rel_path" value, if it's empty haret tries to find all files in the root of sdcard
if it's f.e. "andboot" => sdcard/andboot
and there is one more value: "root" (used in neopeek builds)
f.e. "root=/dev/mmcblk0p2" makes haret load all files from 2nd partition on sdcard..
This is interesting, maybe I will try it later with a very lite ROM and XDAndroid
EDIT: I suppose XDAndroid has been written to start from SD. I saw "FAT Error" in haret lines and it didn't boot. Since I'm not a dev and I don't know what to edit I'll be waiting for s.o. else to try..
Cheers!
Is there anybody capable and willing to try and rewrite the paths of a haret-started android to start it from NAND. Yesterday when I tried it Haret started but since every path is pointing to SDcard folders it couldn't load anything. I confirm that I also had 396Mb free on NAND with the above mentioned Very Lite ROM.
radichev said:
Is there anybody capable and willing to try and rewrite the paths of a haret-started android to start it from NAND. Yesterday when I tried it Haret started but since every path is pointing to SDcard folders it couldn't load anything. I confirm that I also had 396Mb free on NAND with the above mentioned Very Lite ROM.
Click to expand...
Click to collapse
You cannot do this, there's just a lot of work!
The dev-s are trying to build a NANDroid for the Blackstone. What is the point to have a win and android on the NAND if you have a native Android system flashed to the NAND, WinMo is useless. So be patient and follow this thread!
Best regards, FLeX!
nasko_spasko said:
You cannot do this, there's just a lot of work!
The dev-s are trying to build a NANDroid for the Blackstone. What is the point to have a win and android on the NAND if you have a native Android system flashed to the NAND, WinMo is useless. So be patient and follow this thread!
Best regards, FLeX!
Click to expand...
Click to collapse
Generally you are right, but if it is a matter of just a few lines rewriting paths this could be a good alternative for an everyday Android port, while waiting for genuine NAND boot.
BTW I am watching all threads regarding this issue Pozdravi!
radichev said:
Generally you are right, but if it is a matter of just a few lines rewriting paths this could be a good alternative for an everyday Android port, while waiting for genuine NAND boot.
BTW I am watching all threads regarding this issue Pozdravi!
Click to expand...
Click to collapse
But i think that nand file system it's not fat32,so haret wouldn't recognize it
Achieving nand flashing it's harder but i think it's better than wm + android
HELICOPTER88 said:
But i think that nand file system it's not fat32,so haret wouldn't recognize it
Achieving nand flashing it's harder but i think it's better than wm + android
Click to expand...
Click to collapse
I agree with you! But do you think these lags in menus and apps will be eliminated when some day, somehow android is booted from NAND??? I'm just wondering, or its from the drivers, etc.
HELICOPTER88 said:
But i think that nand file system it's not fat32,so haret wouldn't recognize it
Achieving nand flashing it's harder but i think it's better than wm + android
Click to expand...
Click to collapse
Maybe you are right, I had the message "FAT Error" as I said a few posts above. Good luck with NAND, I am ready for testing if you need a Blackstone device
Cheers!
from this thread:
What is NAND booting?
NAND booting uses code on the NAND to boot directly into Android without having Windows Mobile on the device. Currently, zImage and initrd.gz are stored on the internal NAND while the modules, rootfs, ext2, and data are stored on the SD card.
Click to expand...
Click to collapse
I'm wondering if we could boot android with all files (or at least data.img) on NAND with haret on this stage..
mascew said:
from this thread:
I'm wondering if we could boot android with all files (or at least data.img) on NAND with haret on this stage..
Click to expand...
Click to collapse
The answer is simple: NO! Android wouldn't boot at all.
As you can see in similar threads, the developers are trying to build NANDroid(there is no "data.img"; "system.ext2", etc. on SD, the target is the contents of this images to be writen to the NAND like mount points, for example: "/data" or "/system", etc.), wich means the Reading/Writing time will be reduced. Loading from image file on SD card is much more slower.
If you want to try loading with HaRET from NAND, just give up! It wont work.
Best regards, FleX!
Edit: @g3rm0
Sorry mate i didn't saw your post.

[Q] SD Development + Native SD

so now that the Native SD seems to be a HiT & is Fast, will the SD Development still continue? Would those guys who are not developers - so they say - be able to still port/ convert those NAND Roms to Native SD?
Just wondering.
Nativesd and SD aren't the same, nativesd is a nand rom running from SD ext so for example can't be used when the phone is running winmo, whereas SD android can be started from haret under winmo.
oops, wrong.
samsamuel said:
Nativesd and SD aren't the same, nativesd is a nand rom running from SD ext so for example can't be used when the phone is running winmo, whereas SD android can be started from haret under winmo.
Click to expand...
Click to collapse
I am affraid to say you are incorrect,Native SD can be used when running winmo.
oh, well happy to be corrected, , i just hadn't seen any reference to haret/clrcad in relation to nativesd.
samsamuel said:
oh, well happy to be corrected, , i just hadn't seen any reference to haret/clrcad in relation to nativesd.
Click to expand...
Click to collapse
Here yo go my friend,http://forum.xda-developers.com/showpost.php?p=31110719&postcount=2
NativeSD Installation for Windows Mobile and other OS users :
From Xylograph
Code:
1. Boot into recovery by executing the usual clcad and haret stuff inside the Recovery folder.
2. Flash the ROM.zip package and follow instructions
3. Reboot and boot the ROM by executing the usual clcad and haret stuff inside the NativeSD folder.
Click to expand...
Click to collapse
ahhhh (to be fair, i didnt even twig you could start recovery from haret either, heh)
thanks for your input guys, a lot of us benefits from this :highfive:
wis1152 said:
Here yo go my friend,http://forum.xda-developers.com/showpost.php?p=31110719&postcount=2
NativeSD Installation for Windows Mobile and other OS users :
From Xylograph
Click to expand...
Click to collapse
I'll be glad to use this instructions, 'cause I'm a Windows Mobile users (but not voluntarily . But Instruction 2. Flash the ROM.zip package and follow instructions makes my nervous. Will the flashing not erase the WM6.5?
leschakk said:
I'll be glad to use this instructions, 'cause I'm a Windows Mobile users (but not voluntarily . But Instruction 2. Flash the ROM.zip package and follow instructions makes my nervous. Will the flashing not erase the WM6.5?
Click to expand...
Click to collapse
it will if you choose 'nand' in the instalation options, but any rom that allows nativeSD will use teh aroma installer and will default to installing on the sd-ext partition, unless you manually choose the nand option.

Categories

Resources