yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] darrengladysz:
A possible solution.

I was loading most of my builds using the mass storage on the phone and connecting to the pc and was not able to get anything going.

For a change I removed the sd card and formatted and copied from the pc. I was able to easily start a build that had failed before.

I used a sd card adapter, formatted in windows to fat 32 with 64kb sectors and did a quick format. I then copied the build while in windows prior to inserting the build in my phone.

I got the build going 1st try, quickly and without problems.

Note that I replaced the rootfs.img file in all cases.
[HD2 Android SD Development] jamieross:
Im at a mega loss here guys, i have no idea what i have to do lol. im using cedesmiths desire_hd2, and i cant see a system.ext2 file (theres a system.img file?). Then how do i mount it when i find it. i have a copy of fedora and have found 'terminal' and tried a couple of things to get an idea of what to do but to no joy and really its just guess work. Would love to not just know but understand what to do, so if someone could help with super easy instructions id be most grateful. Also if im successful il post the adjusted file.

Jamie
[HD2 Android SD Development] Fabian1985:
It should be although I don't get It either, I'm not a programmer. Maby I can find a way to enter the line where It has suppose to come. But MAGLDR boot's automaticly and I'd like to choose every single time to boot with android or WP7.

If that's the case please make it more dutch :P So that the dumb people can understand It also:P
[HD2 Android SD Development] cobhc:
Still having problems with not getting any build booting. Think it may be due to what tigerlocc said, as I was using MAGLDR in USB Mass Storage mode to format the SD Card. I'll have to format it tonight in a different way and try it again.
[HD2 Android SD Development] zarathustrax:
Are you getting the edited files and replacing them in the build? The builds downloaded directly from their threads are not edited... you need to find the edited file and replace it.

Keep them in the android folder. If you want to try more than 1 build, name the android folder on each one something different, but keep it 8 letters or less, cause magldr only reads up to 8 letter folders. The folders can be named whatever because magldr doesn't use the startup.txt, just go into magldr and go to services, and there's an option to pick your AD SD directory, and pick the folder you want magldr to boot.

I heard there is an issue with magldr USB mass storage not transferring files correctly... cotulla said it will be fixed in next release, but for now it's best to take sd out and use sd reader to transfer files.

Hold down the power button while powering on phone to enter magldr menu, then go to services, boot settings, and always menu and then magldr will always boot into menu when you turn on phone so you can choose between android or wp7.
[HD2 Android SD Development] zarathustrax:
I just got JDMS to boot up.... I edited to init.rc before first boot, but then it still froze once it got to the point where it says to touch to droid... so I took SD out and opened it on computer, and realized that the update files in the JDMS build cause the init.rc to go back to normal... so again I edited it since it wax now already updated and update folder was gone, and it boots! I'm about to play around and see if there's any issues, but looks good so far. You just have to edit it after first boot after any updates are installed. That may be the same issue with other builds.

UPDATE: JDMS seems fully functional. On my first boot, after a couple minutes in standby, the phone rebooted on its own, but hasn't done it since. So far, so good. I'm gonna play with it a little more and then try some more builds.

Update 2: JDMS is working great. I got steady 5ma battery drain in standby. Gonna work on getting HD2ONE working next.
[HD2 Android SD Development] ricola7:
MDJ 4.6 works too!

Hey fellas,

I got another Android SD-Build to boot (and run smooth) via Magldr.

Build Name: MDJ HD 4.6 It's a Desire HD Sense build!

http://xdaforums.com/showthread.php?t=859817

What you have to do to get MDJ to work:

It is CRUCIAL NOT to use the usb storage option of MAGLDR!!! Take the sd out of your device and connect it to your PC using an microsd adapter!!!!!!!

1. Backup all Data of your sd card to PC!!!!!!!!!!!!!

2. Then format the sd card using WINDOWS (quick format is good) (NOT PANASONIC FORMATTER OR WHATEVER). THE FORMATTING STEP IS ALSO CRUCIAL!!!

3. Move the original rootfs.img file from MDJ Build (located in "Android" folder) to some place safe on your PC to have it backed up.

2. Now put my edited file that is attached here in the Android folder. (Obviously the attached file is zipped, so unzip it and then replace it )

3. Now just copy the Android folder to the root of your sd card and put it in the device.

4. Go to this tutorial from Darren and apply the steps regarding Magldr (10-23) (dont' worry, these last steps take only 2 minutes)

http://xdaforums.com/showthread.php?t=913815

Now enjoy running WP7 and MDJ!!!!!!!!

Have fun and I will help you out if I can

Greetz

Dom

EDIT: To peops who are having the issue that android does not detect the sd card... Try this solution posted by scrondone:

http://xdaforums.com/showpost.php?p=10725793&postcount=119

I can't really try it out myself cause I have never faced any sd issues (tried multiple builds on multile cards), but the approach sounds very promising to me (makes just sense ;))

Credits go to scrondone for this solution!!!!!
[HD2 Android SD Development] cobhc:
Slightly OT, does anyone know if the SD Superram build is as quick as the Nand one, and does it overclock past 1.2ghz?
[HD2 Android SD Development] Fabian1985:
Thanx mate I'm gonna try that.
[HD2 Android SD Development] Fabian1985:
So If I'm correct...I install WP7, then I load the SD card on card reader, and I format the Unallocated space to fat32 and set It to Primary. Then It should be like any other SD with android and then I can Boot from NAND (WP7) or I can Boot from SD...am I correct?
[HD2 Android SD Development] lan78691:
Well for superram download link I thought the files were already edited... aren't they? and for NexusHD2-FRG83D v1.8 I did replay the file... I guess the problem was with the usb mass storage transfer in mgaldr... I will use the sd card reader and try to boot into android that way...
[HD2 Android SD Development] scrondone:
Thank you for your work!

The MDJ 4.6 starts and everything works perfectly.

But I do not recognize the SD, recognizes only the interior space, but not the micro SD.

I have something wrong?

Thanks again!

EDIT!!!

Correct me, the SD is not recognized only by the camera ..

Where is the problem?

Thanks in advance
[HD2 Android SD Development] chriswong101:
Hey guys,

I have problem is use SuperRAM_FroYo_V1.5 ,

The first start is Ok(all can be work)

but can't reboot

anyone help me:confused:
[HD2 Android SD Development] ricola7:
Hmm, actually I have no idea...my camera detects the card

Have you tried to unmount and then mount the sd card again (android main settings - sd card & internal storage - unmount card)

Maybe this helps. Check it after you did that and if it still not works try a reboot...
[HD2 Android SD Development] orangekid:
can you upload your working JDMS? I'm dying for a working aosp or CM build.
[HD2 Android SD Development] scrondone:
The SD card is not really recognized by my system.

Does not give me the option to mount / unmount, simply does not see it installed

But using super manager app, I see the card and I can create the directory.

If you have any ideas I shall be grateful (I'm a fan of MDJ 4.6 ...)

Otherwise I'll try another!
[HD2 Android SD Development] ricola7:
Hmm...What I would ask you to do is to take a second sd card and try it with that too...

BUT it is strange that you can see the card with supermanager so the card is somehow detcted and so it shouldn't be a sd card issue.

While moving the Android folder to the sd card, did you format the card beforehand? And did you take the card out of the device and connect it directly with pc?

Actually there appear strange problems if you don't follow these two steps. Not for all, some people are fine using the magldr usb storage, but others get weird problems when doing the same...

What clustersize do you have set on the sd... I have 64KB...choose at least 16. Maybe play around a bit with those values...but this is just a shot in the blue and actually shouldn't be important.

Try it with a different sd card first, this is the easiest way.

Greetz Dom
[HD2 Android SD Development] rasih5503:
Q please help

Hi,

I have same problem.

DO we need to partition the sd card. please tell me?

do we need 2 card as one dev said?

or can we flash win 7 and then can we copy android on the folder.? please help me
[HD2 Android SD Development] buzz killington:
I had changed the desire_hd2 and was using it. Here's the changed system.ext2 file

http://www.multiupload.com/V85U6JQD2K

You should be careful with any of the builds that uses the cedesmith initrd method. You should always shutdown and not use reboot. Reboot does not flush everything and with the async data it's especially easy to corrupt your data file.
[HD2 Android SD Development] ricola7:
Hey,

actually I have no more ideas, all I can say to you is what I said to scrondone already...

Please report back

Greetz

Dom
[HD2 Android SD Development] zarathustrax:
PM sent.

I also have got HD2ONE working well, too. The trick is to first let the build boot up and install all updates and stuff, then the build will freeze up. At that point, then edit the init.rc file and then it boots up no problem. I'm just using Gizmo to mount the system.ext2 and using gizmo's text editor to edit the init.rc. I'm doing it with windows 7 and haven't had a problem yet. Every build I've tried except DS Superram has worked so far. I'm playing around with core droid HD 0.4 right now.
[HD2 Android SD Development] scrondone:
I made some tests changing the clustersize who was 64, I reduced to 32.

Nothing has changed, the system (3G, WiFi, GPS) works perfectly.

But do not recognize the SD, so the room does not work

ES-explorer does not recognize it.

Super manager recognizes it.

Tomorrow I will try with another card, I do not here now, and I'll let you know.

Thanks for the help.
[HD2 Android SD Development] Dewinter:
i got MCCM Gingerbread 1.5 SD build boot perfectly, works like charm
[HD2 Android SD Development] cephasara:
How did you repackage initrd.gz after modifiying initorig.rc, presumably you did? Did you modify anything else? Could you post your initrd.gz for this rom? Thanks.
[HD2 Android SD Development] Dewinter:
no need to touch initrd.gz, just edit the init.rc in rootfs.img, try it dude
[HD2 Android SD Development] cephasara:
Ah alright. How do I read/edit rootfs.img? I've tried mounting it in Windows and installing Ext2IFS: http://www.fs-driver.org/ as well as as mounting it in Ubuntu and nothing works.
[HD2 Android SD Development] tigerlocc:
Hey Fabian you almost got the picture; you require 2 SD Cards for this and they should be of different sizes (8GB and 16GB for example). You'd flash and install WP7 to the smaller 8GB card; once you complete that you'll open a partition manager (Easeus Partition Master comes highly recommended and it's free) and move the WP7 data off the 8GB card onto the 16GB card. After the transfer is complete you'd have 8GB remaining (16GB - 8GB you just transferred = 8GB left) and that remaining 8GB space is what you'll ultimately format into FAT32 for the Android builds.

The WP7 build is notated as "unallocated space" so you leave that ALONE!The remaining portion should be formatted as FAT32 (for Windows; My Computer/Right click/format/quick format/64KB). Once the formatting is complete copy your preferred build of Android (with the modified rootfs.img of course) to the SD card. Now boot your phone up into MAGLDR and choose #2, your Android build should boot from there.

That was a quick overview, for more detailed information please scroll through this thread from beginning to end and refer to this thread by darren as well for more details for dual booting WP7 and Android:

http://xdaforums.com/showthread.php?t=913815

Hope that helps, good luck
[HD2 Android SD Development] tigerlocc:
Try Gizmo Central, it works well for me and a few others:

http://arainia.com/software/gizmo/
[HD2 Android SD Development] hyellow:
Phiremode 2.1 boots perfectly, altough i encountered some problems.

the android settings menu is gone. ie, i can't open it because it says that the program is not available or something like that. anyone has a workaround?
[HD2 Android SD Development] cephasara:
Okay. That's reading it but how do I save changes to rootfs.img?
[HD2 Android SD Development] cephasara:
I restarted my computer and re-mounted it and it let me edit it. Thank you for your help.

On a side note, I am unable to connect to my cellular network. I noticed this problem was mentioned awhile back on this thread, but I didn't see a resolution. Does anybody know how to fix this?
[HD2 Android SD Development] hyellow:
using MDJ 4.6 right now, but there still seems to be a bug. File explorers can't see files copied recently to the sd card. anybody that has the same issue?

Solved:

Have to use cardreader/sd adapter to transfer files to the sd. Can not plug in, while the device is on and select mass storage mode in android.
[HD2 Android SD Development] scrondone:
OK ..

I did ..

Everything works WM7 + MDJ 4.6 in dualboot.

I used a different approach, though it may be useful to someone who has had my problem (SD card not recognized by android), I describe it below:

1) I have installed, unlocked and with WM7 in a smal card (8GB)

2) I formatted a 16 GB card in FAT 32 (cluster size = 32 o 64)

3) I copied android on the card, 16 GB HD MDJ 4.6 with the file "rootfs.7z" amended by ricola7, who charged in his post here: http://xdaforums.com/showpost.php?p=10702019&postcount=93

4) I put the 16 GB card in the phone, and booted from the SD Magldr, installed and configured Android, and verified that it had recognized the SD

5) I removed the 16GB card, resized the partition to about 8 GB

6) I put the SD in the phone and checked that was recognized

7) I removed the SD, and in the empty space on the 16GB card, and copy the partition created with WM7 when I installed it on the 8 GB card

Now everything works perfectly in dualboot ...

Thanks again for the advice and ricola7 for the file "rootfs.7z" already modified
[HD2 Android SD Development] bteljuice:
Can any one post a working file for the Superram 0.1 Sense by Darkstone.

or MDJ 1.7?
[HD2 Android SD Development] Fabian1985:
Hmm yes I know now. But I can only read 1 SD card at the time? If I do those steps...can I copy the partition to for example my computer, then switch SD card and then copy It to the next SD card. Btw mij cards are 4gig and 8gig. But that should not matter right?
[HD2 Android SD Development] Fabian1985:
Are the init.rc and roofs.img already have been chanched in this build? So I don't have to take any more steps with runnning WP7?
[HD2 Android SD Development] ricola7:
Nice job scrondone!

If you don't mind I will post a link to this post in my little tutorial. Cause there are more people around having this sd card issue... It's really strange why so many different issues come up although we are all having the same device (tmous maybe not). And there are no possible winmo interferences anymore like in the good old days of classical sd builds.

Maybe it's an sd card issue. What card do you have? I use a 16gb sandisk class4.

Anyways, well done mate.

Greetz Dom
[HD2 Android SD Development] ricola7:
What build do you mean?

There are 2 builds mentioned in the first post that are ready to go (you don't have to edit anything)

Builds that already work with magldr:

DL DesireZ v2.2 from dandiest

HD2 Gingerbread/CyanogenMod7 from copenhagen

BUt there are links to many working builds in this thread...

You should try the builds mentioned above first, if you have problems with these you can try two builds for which I attached the edited rootfs.img file.

See here:

http://xdaforums.com/showpost.php?p=10702019&postcount=93

and here:

http://xdaforums.com/showpost.php?p=10636526&postcount=30

Greetz

Dom
[HD2 Android SD Development] craig.buckie:
My phone does not have an SD card inserted

I've tried a few and they all worked, except for being unable to find the sd card. The /mnt/sdcard/android exists, but any files that I put on the sdcard don't transfer to the /mnt/sdcard/ and remain on /sdcard/.

Any possible solutions?
[HD2 Android SD Development] scrondone:
Put the tutorial where you want...

If I did the dualboot, is just for your file "rootfs.7z" modified...

My SD card is a Kingston 16 GB class 10
[HD2 Android SD Development] jamieross:
Just caught this sorry for the late reply, thanks for that and il prob do that but only when some1 sorts out the activation for wp7. Its been banned from customer services to give out (in the UK) u have to call your phone maker. So prob they will want seriel numbers and all that. :(

I just wanted cedesmiths build because it is so far the best build for my EU Leo

Thanks for the link M8

Jamie
[HD2 Android SD Development] orangekid:
so is there any fix for this issue where you can't mount the sd card?
[HD2 Android SD Development] ricola7:
Hey,

you can try this approach. At least the guy who posted this solved his sd card problem and I would say this solution looks very promising to me!!!

Here is the link:

http://xdaforums.com/showpost.php?p=10725793&postcount=119

Greetz Dom
[HD2 Android SD Development] gitanojr:
How did u copy the the wp7 back to the 16gb?? i mean u can use the partition program, either u found a new method or u have a way to connect both sd cards at the same time?? which it will not work for me, i only have one sd reader on my laptop, correct??
[HD2 Android SD Development] gitanojr:
did you mount system.ext2 on winblows using gizmo?? or u have ubuntu??
[HD2 Android SD Development] s0nniez:
This worked perfectly. Thank you!!!

edit: I only had one sd card reader, I had to pull another one from an old pc, hooked it up to my motherboard and ran both at the same time.
[HD2 Android SD Development] gitanojr:
How did you mount system.ext2 on gizmo?? if it doesnt recognize ext2 files?
[HD2 Android SD Development] zarathustrax:
You have to install the ext2 drivers someone posted earlier in this thread... then when searching the folders with gizmo, you type out system.ext2 when you're in the folder and it will mount it.
[HD2 Android SD Development] ricola7:
You don't have to use the sd card slot on your PC. But you don't wanna use the Magldr usb function.

I for example took my old smartphone (winmo 6.1 ;)), put the microsd in there and used its mass storage function.
[HD2 Android SD Development] gitanojr:
ok made a img file of my 8gb card in which wp7 was installed, using gencasian method http://xdaforums.com/showpost.php?p=10643011&postcount=64 and copy it to my hard drive, then using the easeus partition tool copy it to my 16gb sd card then did the rest....

Ok so for me to be able to copy the image file to my 16gb card is by using gencasian method which will format my sd card and erase anything i have on it, like if i had an android build and another unallocated partition to copy the wp7 img then it will erase "format" my whole 16gb sdcard, then i wont be able to add the android build first; and this way wont be able to have more than one sd card build, does it make sense??
[HD2 Android SD Development] Toggs:
Futurshocks Miui

I have WP7 running fine and dual booting with Futureshocks Miui v5 English. All I did was replace the rootfs with the one from Futureshocks Miui v7 (would have used v7 but splash some of the language is still Chinese and the language pack mod stalled it)

Futureshocks is a great rom by the way

:)
[HD2 Android SD Development] hyellow:
I am running Phiremod 2.1 from magldr. I've edited the rootfs. Conclusion. Works perfectly.

Edit:

I now face another problem.

The above configuration worked with a dedicated SD card.

Now, i have partitioned my SD card, did the same ol steps, but it's buggy.

When I connect it with my usb it has no option for usb drive. Can someone explain me the missing 'link' ?

It definately has something to do with it, because the previous medthod, worked without a problem.
[HD2 Android SD Development] gitanojr:
which method??

Ok i was having problems with mount sdcard in android sd, i follow this steps by scrondone:

http://xdaforums.com/showpost.php?p=10725793&postcount=119

it works but after 8 tries cause i found out what i was doing wrong: when i was copying the wp7 partition to the 16gb card i was changing it to "logical" as gencasian method suggested, so after leaving as is, meaning "type=Primary" my android build was able to mount the sd card :), i hope this helps some one else :).
[HD2 Android SD Development] candytripn:
Anyone manage to get this working with the third method? Tried pulling the sd card right before confirming the reset, then followed the steps but wp7 just seems to lock up after confirming the reset, doesn't seem to recognize the card after the next boot.
[HD2 Android SD Development] archonw:
How can i change the init.rc in the initrd.gz with Windows 7. I used 7zip but when i triy to edit within 7zip it gives an error like "Interface not supported"
[HD2 Android SD Development] hyellow:
ok, some times it work some times it's not. Try this:

Install wp7 or hard reset wp7 as usual and just leave the sd card inside.

When it reboots and stays in magldr, remove the sd card. Now delete the unformatted partition and apply. then create a new unformatted partition and leave a little bit f space unallocated at the end of the sd card. I left about 100mb on my 32Gb.

Don't t do anything yet with the fat partition.

put your sd card in your device, while still in magldr and boot into wp7.

Verify your newly created partition. If it's good, turn your device off and remove sd card and then resize the fat partition.

I've issues with my own method too, but with this refreshed method it finally worked, again. This changes everything... again.

good luck
[HD2 Android SD Development] Mark Twain:
Does anyone know if magldr will read the startup.txt in the next version? I use hd2one with a different lcd-density and I don't want to miss that feature (or is there another method to change the density?)

It is really awesome to have the choice between android and wp7. to boot both from the sd-card beside ubuntu and winmo running nand would be awesome!
[HD2 Android SD Development] zarathustrax:
There an app call lcd density that will change density... otherwise I think you can modify the build.prop file to do it.

I'm pretty sure wp7 will only be able run run from nand... don't think there will ever be a sd version because of the way it uses the sd card... but cotulla is working on a version of wm6.5 that can run from sd, so we may still be able to have tri or quad-booting phones with wp7 on nand and wm6.5, android, ubuntu, and hopefully meego on sd card. Too bad there are no 64gb microsd cards... they would really be useful with our hd2s.
[HD2 Android SD Development] craig.buckie:
Works. But the WP7 partition has to be copied as 'Primary' and not 'Logical', otherwise the SD card can't be used properly in Android.
[HD2 Android SD Development] Mark Twain:
i hope that app will work for my HD2ONE build :) this is the only annoying thing with android, everything is so gigantic. and if you change the density the keyboard is smaller too :( But I think that is the price and with a bit of routine...

Agree.

I really hope there will be some major development with meego, this is the true linux mobile system!

Well, I have a 16 gb sd and I've got plenty of free space ;)