yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] sleepless.bs:
Hi everyone.

I followed the guide to boot the "PSFreedom-Rom" by darkstone (http://xdaforums.com/showthread.php?t=777120) in magdrl from sd.

I set up a ubuntu vm, mounted the rootfs.img, edited the init.rc and put complete build back on sd-card.no problem yet.

The rom booted up successfully from magldr "ad sd" (sd card prepared, unlock screen appears), but the touchscreen doesnt work at all-.-

hardware-keys work well (long press on powerbutton gives me the shutdown-menu)

Any ideas to this problem?

The other idea -that you can take every build you want and transform it with these files (Link) in a psjailbreak-build didnt work for me either. i edited the init.rc from the rom i chose, overwrote the files from the chosen rom with these from the previous post and put the folder on the sd ard. magldr gave me the "gogogo", then blackscreeen and then it throws me back to magldr.

if someone managed it to have android on NAND and psjailbreak-android on sd, pls share the solution.

Other solutions to have daily Android-NAND-build (rafdroid hd in my case) and the possibility to jailbreak your ps3 are welcome:-)

i think some other people are interested in a solution too.

thx
[HD2 Android SD Development] ptlsalz:
has anyone tried the new http://xdaforums.com/showthread.php?t=1038694 build to boot with wp7? any changes required? I tried the gizmo method but cannot find the text in init.rc file that needed changing. please help :)

cheers
[HD2 Android SD Development] le_cactus:
Confused

Hi,

This is really what I want; play with WP7 until I'm convinced it can replace Android. So dual booting would be perfect.

The thread title: How to boot your SD build from magldr but all SD build I've used use a system system.ext and data.img, I can't find a rootfs.img

The currect build I'm using als has a initrc.gz, that contains a initrc file. A quote from that file:

service ril-daemon /system/bin/rild -l /system/lib/libhtc_ril_wrapper.so
socket rild stream 660 root radio
socket rild-debug stream 660 radio system
socket rild-htc stream 660 radio system
user root
group radio cache inet misc audio

It doesn't mention the -d /dev/smd0 so where do I add the nand_init statement? Or, should I dig deeper and ming the system.ext2?

Please could someone shed some light in this, cause I really want this to work!

TIA,

Cheers,

/Cacti
[HD2 Android SD Development] 0ryn:
Mountings

You need to mount from your already mounted sdcard.

First check that you can see the contents of your sdcard.

You ether have activated usb mass storage on your phone or have removed the sd from the phone and plugged it into an sd reader. Ether way you need to locate it in linux and mount it first

I don't use ubuntu, but I suspect you ether mount it manually or use the filemanager to do it.

If you did it using the filemanager then you need to look in /media/disk for your android folder (what ever YOU called it)

In my case "Android"

so I would do this:

#mount -o loop /media/disk/Android/system.ext2 /mnt

Or if I was doing this manually I'd locate the sdcard

fdisk -l

root@Anubis:/# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes

255 heads, 63 sectors/track, 121601 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x000c7a94

Device Boot Start End Blocks Id System

/dev/sda1 * 1 120145 965059584 83 Linux

/dev/sda2 120145 121602 11701248 82 Linux swap / Solaris

Disk /dev/sdb: 15.9 GB, 15931539456 bytes

255 heads, 63 sectors/track, 1936 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000

Device Boot Start End Blocks Id System

/dev/sdb1 1 1937 15554048 c W95 FAT32 (LBA)

Now we know what the drive's devid is: /dev/sdb1

we need to make a mount point for it

root@Anubis:/# mkdir /mnt/sdb1

and a mount point for system

root@Anubis:/# mkdir /mnt/system

Now we mount both

root@Anubis:/# mount -t vfat /dev/sdb1 /mnt/sdb1

root@Anubis:/# mount -t ext2 /mnt/sdb1/Android/system /mnt/system

Do whatever editing you need to do and unmount / remove the mount points in the correct order.

root@Anubis:/# umount /mnt/system

root@Anubis:/# umount /mnt/sdb1

root@Anubis:/# rm -rf /mnt/sdb1 /mnt/system

That should do you assuming that you know how to use VI / another console editor. Remember unless you are root you might not be able to save any changes.

In case you do not know how to use vi and want to use gedit

launch gedit with gksu

jon@Anubis:~$ gksu gedit
[HD2 Android SD Development] Dark Fire:
Cool, yeah apparently rel_path doesn't make a difference. So now we can boot a virtually unlimited number of instances of most HD2 Android ROMs from our microSD cards. :)

Also, the instructions in this thread could probably be turned into a script for speed and/or new users if someone has the time.
[HD2 Android SD Development] zarathustrax:
It would be great if people could start posting the modified versions of the builds when they make one... then maybe we can collect them together in a thread. It would make things a lot easier for people.
[HD2 Android SD Development] attractor:
Which SD build works with MADLDR?

Has anybody succesfully booted from SD? If yes which build?

I have tried a few builds and they have all failed. I updated the init.rc under windows 7 with Gizmo.

I have tried both MAGLDR 1.11 and 1.12. The build that seemed to go furthest was MIUI-Jaws-1812.7z, but it would not boot into android.
[HD2 Android SD Development] gencaslan:
year...i tried with futureshocks miui build and it worked. i edited the data.img file with mount -o loop option in virtualbox ...unmounted and copied back to the sd-card with the futureshocks-folder.

did anybody manage to get darkstones superram to work with magldr sd boot option ? i can't find any init rc file in darkstones build. i mounted system.ext2 there was none. and i could not mount newinitrrd.gz.
[HD2 Android SD Development] buzz killington:
Sorry, ram builds are a little different. Read this post

http://xdaforums.com/showpost.php?p=10319297&postcount=868
[HD2 Android SD Development] gencaslan:
i tried that solution but it did not work for me...i put letamas initrd file as initrd.gz in darkstones superram build. it showed up the green htc logo and then rebooted. i tried a few times...same result.

but thanks anyway...i go to sleep.
[HD2 Android SD Development] buzz killington:
I found the full build for the superram, but I can't find the post on xda that included it

http://www.multiupload.com/38KFUHNRJ6
[HD2 Android SD Development] ricola7:
Core Droid HD 0.4 Desire HD Sense build works for dual boot

Hey fellas,

I got an Android SD-BUild to boot (and run smooth) via Magldr.

Build Name: Core Droid HD 0.4 It's a Desire HD Sense build!

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

(This was my favorite sd build which I used over a month with no problems. It's fast and smooth)

I wrote a more detailed tutorial in the Core Droid HD 0.4 thread which covers dual booting with WP7 aswell:

http://xdaforums.com/showpost.php?p=10689007&postcount=1106

What you have to do to get Core Droid 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 your Core Droid Build (located in "Android" folder) to some place safe on your PC to have it backed up.

4. 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 )

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

6. 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 Core Droid!!!!!!!!

Have fun and I will help you out if I can

Greetz

Dom

EDIT: I attached the edited init.rc too, but if you follow my steps above you just need the attached rootfs.img!!!

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] newcountry:
Thanks a lot....ha....ha....

It's OK for me now........I got both WP7 and MDJ FroYo HD v4.6 "SD Buold".

Excellent......I got two latest system on my phone now.....no more WM 6.5 again.
[HD2 Android SD Development] loyalhudy:
Can somebody upload a modded file?
[HD2 Android SD Development] whycali:
pain

feeling a little pain here. so you are saying this download should be magldr 1.11 bootable from the sd card as is?
[HD2 Android SD Development] buzz killington:
Yes you can boot that one as is. It comes with a 256mb data but you can change it with another blank one.
[HD2 Android SD Development] darrengladysz:
I got some sd android builds to work on the sd by adding "nand_init" in the rootfs.img but the phone and data service do not seem to work. You cannot check or uncheck these and they are greyed out in settings - wireless.

However, this build works:

[Jan 12][DL DesireZ v2.2][SD][PPP/RMNET][Base 1.72.466.4][SquashFS][UTF8&Arabic] Link: http://xdaforums.com/showthread.php?t=881937

Does anyone know why or have a fix?

Thanks
[HD2 Android SD Development] nzxtneo:
Modified rootfs for NexusHD2-FRG83D V1.8

Here is a modified rootfs.img for the NexusHD2-FRG83D V1.8 build.
[HD2 Android SD Development] attractor:
The method of post #30 worked :)

Core Droid HD 0.4 rules!!!
[HD2 Android SD Development] darrengladysz:
Do you have the phone and data service working?

Thanks
[HD2 Android SD Development] attractor:
Phone and data work including 3G. I could not get wifi to work yet. I am looking into it.
[HD2 Android SD Development] darrengladysz:
This is getting interesting :)

I followed these instructions. Wifi is working but not mobile service. Same as Dom:

http://xdaforums.com/showpost.php?p=10637815&postcount=1076
[HD2 Android SD Development] Blame73:
+1 I haven't been able to install the Windows Ext2/Ext3 driver on Win7
[HD2 Android SD Development] Blame73:
I found another program that works and even supports LVM2 and EXT4:

Ext2Read
[HD2 Android SD Development] gencaslan:
i retried today and it worked...although it freezed on the first boot. the second boot was successfull.

props to LeTama.

I'm actually not able to install Google Maps...any ideas on that ? I tried to unmount the sd card but same result.
[HD2 Android SD Development] darkony:
run in compitability mod vista service pack 2
[HD2 Android SD Development] gencaslan:
You Can try with Virtualbox. it worked for me.

First install virtualbox. then install ubuntu on the virtual box. than create an shared folder. copy over the necessary files. mount them...edit them and copy back.
[HD2 Android SD Development] Beretta93:
Did you manage to change data.img for this build?

For me it worked with 256mo data.img, but freezes with 512mo data.img...
[HD2 Android SD Development] whycali:
This stops at load zimage, sd kernal open failed. will redownload and attempt from different card

by the way I am using 1.12 magldr
[HD2 Android SD Development] whycali:
just for fun I also have this problem.
[HD2 Android SD Development] Dewinter:
anybody successfully booted MDJ Gingerbread / NexusHD2 Gingerbread / gpc Gingerbread from SD??? I know these are NAND builds , what should i modify if i want to boot these NAND builds from SD via MAGLDR??
[HD2 Android SD Development] Blame73:
Maybe this could help:

I've been able to use darkstone SuperRAM from SD loading it via MAGLDR.

http://xdaforums.com/showpost.php?p=10648943&postcount=2898
[HD2 Android SD Development] Gamer 007:
I have a big problem when Android launches, it hangs the system

I can not do anything more, and must take the battery out and in again
[HD2 Android SD Development] Beretta93:
Personally, I have LeTama's whole android folder, and it works with his 256Mo data.mg, but if I try to change the data.img to a bigger sized one, I have a freeze after boot, on the lock screen...
[HD2 Android SD Development] ricola7:
Booting is fine...you just have to edit the rootfs.img file. See the tutorial how to do this for core droid 0.4 e.g.

http://xdaforums.com/showpost.php?p=10689007&postcount=1106

The problem I get with every build that everything runs smooth and stable except the phone itself (call/text/3g). My sim is not detected at all and I can't see no info under settings like imei etc.

other hardware works fine (cam, camcorder, gps, g-sensor, sound, wifi)

If someone could point me to a solution thís would be much appreciated ;)

EDIT: SOLVED!!!!!!!!!!!!!!)

Greetz Dom
[HD2 Android SD Development] Grumps:
I have the same prob :(
[HD2 Android SD Development] pronty68:
I want to make the MDJ FroYo HD v4.6 to work, but for me it stops at load zimage, sd kernal open failed.

I edited the init.rc file with the extra 'nand_init'. Did you do anything extra to make it work ? Did you perhaps make an extra mount on the system.ext2 file. If so, which command and in which file ?
[HD2 Android SD Development] attractor:
I verified MDJ_FroYo_HD_v._4.6_MDJ_S78.0 booting from SD card after modifying the init.rc in the rootfs.img.

I also installed a 1G data.img before booting but I dont think that was ever an issue as I had not does so in CoreDroid HD.

However same as in the CoreDroid HD my Wifi does not work.

"Unable to scan for networks"

Everything else does including 3G.

Have tried both MAGLDR 112 and MAGLDR 111, same issue.
[HD2 Android SD Development] zarathustrax:
I think we need to try convincing some chefs to start making updated SD builds for us that work with magldr. It seems the older builds still have issues even once we get them booting... maybe they are still relying on haret to leave the hardware initialized by winmo. If builds are made specifically for booting off sd with magldr, I bet they will work a lot better overall. Maybe we can get some sort of bounty thread going to entice devs to create some updated sd builds.
[HD2 Android SD Development] cephasara:
Modifying RAM builds

I have the same problem when trying to repack init.rc in initrd in initrd.gz. I've re-compressed it as a cpio file and then added it to a gzip file as mentioned here: http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images

I'm trying to get ANY gingerbread ram rom working via boot from SD in magldr. Please, can anybody help?
[HD2 Android SD Development] Beretta93:
Switched to this build after corruption problem with darkstone's superRam. Works pretty well. Thank you very much.
[HD2 Android SD Development] Dewinter:
sorry dude, Core Droid 0.4 is just a SD build not a NAND build , what i wanna do is make those NAND builds boot from SD via magldr
[HD2 Android SD Development] jmcdonald58:
I got SuperRam booting following Letamas directions but cannot connect to internet changed apn I am so close I even received a sms message while missing with it cannot figure out why I am not getting data
[HD2 Android SD Development] jcsy:
in this post :

http://xdaforums.com/showpost.php?p=10319297&postcount=868

was this initgz the ORIGINAL from superam 1.5 build or the newinitgz which was patched for data corruption

the original initgz file size is about 500KB while the newinitgz which is against data corruption is about 1000KB

the patch provided by LETAMA is only about 500KB size
[HD2 Android SD Development] jmcdonald58:
It was Letamas around 588kb
[HD2 Android SD Development] DimICE:
I edited init.rc as in guide, but SuperRam Sense v0.1 freeze after boot..
[HD2 Android SD Development] jcsy:
yeah but not sure if Letamas patched the data corruption init or the 1 in darkstones default zip

:D

scared to boot up my android though since the file size is the size of the non-patched data corruption initgz (roughly 500kb)
[HD2 Android SD Development] zarathustrax:
I finally got a build working great booting off sd with magldr... Tytungs NexusHD2 1.8. Someone posted the modified file for it earlier in this thread I think, and with it android booted up perfectly and I have had no issues with it yet. As far as I can see, everything works and is VERY fast. No delay whatsoever on the lockscreen when turning it on like I usually have with most sd builds... and battery drain is pretty low. I'm still testing and playing around, but I had the drain as low as 2ma at one point during standby! I'm working on trying to get that consistently. It's averaging 4-6ma right now.

Anyways... I just wanted to let you guys know the first build I got working flawlessly with my dualboot setup. I have had issues with every other build so far. Only other one I got functional was the desireZ2.2. SuperRam boots and I get through the setup, but it just goes to a black screen I can't get past... and MDJ DesireHD4.6 gets to lock screen and freezes after mounting sd card.
[HD2 Android SD Development] jmcdonald58:
I used all 3 just changed the name to int I boot fine just cannot get network connection I am going try the modified nexux build posted earlier
[HD2 Android SD Development] jmcdonald58:
Going give this a spin now see how it goes Thanks
[HD2 Android SD Development] zarathustrax:
For anyone that wants to try Tytungs NexusHD2 build, the modified file for it is in post 36 of this thread. This is the only build I've gotten to work well so far... even getting 2ma battery drain on standby sometimes, but can't get it consistent yet... it jumps up to 60ma or over 100ma sometimes, too. Trying to work on stabilizing it now.
[HD2 Android SD Development] jmcdonald58:
+1 working here also following post 36 also still have Darkstone build in shadows but liking the look of this build usally on sd builds they take a day or so to sort themselves out in the past I have following Ds instrustions on disabling use wireless networks and gps to keep the drain down after a day or so I was always able to use grs and wireless networks enabled all the time I am happy to finally boot and have working Sd build from magldr
[HD2 Android SD Development] whycali:
Darkstone darkscreen

Hanging after I put in my login and password at the account wizard. connecting to google servers and then when it does its a black screen. all the holy hell I went through to get wp7 on here and now more ugh. somebody shed a quick tear for me.. ok I am over it.
[HD2 Android SD Development] zarathustrax:
Yeah, that's the same thing that happens to me with darkstones superram 1.5. Please post if you find a solution to it. I'm using NexusHD2 right now, which works well, and I'm going to try core droid HD next.
[HD2 Android SD Development] krdvg:
How much time does it take to boot into Android from magldr?
[HD2 Android SD Development] whycali:
Thats the only one that works?

Jeeze I hate to even entertain that old Tytungs. Men have been to space since he came out with that one, its older than my ex-wife.... crap
[HD2 Android SD Development] whycali:
too long

If you have to ask you should reboot

Edit; actually if its your first go it could be 10 min, then worry
[HD2 Android SD Development] jmcdonald58:
Geeze thats really bad yeah it would be nice to see some newer or updated sd builds for sure thats the only one I could get going I needed to prove to myself it would work anyway Magldr 1.13 should hopefully solve this
[HD2 Android SD Development] whycali:
Not that bad

funny that I was whining about the age of the build, at least it ran out and installed all the market items it could find that it knew I had.
[HD2 Android SD Development] nzxtneo:
Yeah, that was me. And I officially got permission from tytung that it was okay that I modified it.

But here is the deal. The modified rootfs.img is for the DEC. 10th build with the

hastarin r8.5.3_oldcam kernal.

If and/or when you want to update to the most recent SD kernal (hastarin r8.6) it WILL revert the line that was added to the init.rc file and will not boot with magldr!

Here is the link to the hastarin r8.6 compiled by tytung himself:

http://xdaforums.com/showpost.php?p=9881424&postcount=2696

Make sure you follow his instructions exactly!!!

I will upload both versions of the modified rootfs.img's once I finish downloading something.

Damn this DSL connection!!!

Oh, and I asked tytung if he was planning on possibly releasing an SD Gingerbread version and he said he would look into it once it was officially released for the Nexus One!!![/ATTACH]
[HD2 Android SD Development] zarathustrax:
It's only about a month old... What can't it do that newer builds can? It seems really fast and stable to me. I've always heard great things about tytungs builds, too. Either way, I just edited JDMS and about to try that and core droid hd out and see how they work. I'll post back with my results. We definitely should try to get some chefs to start updating their SD builds now that there are more people looking for SD builds again.
[HD2 Android SD Development] lan78691:
I can't get any of the builds to work... not even the one that are listed on the front page.. they all get stuck on the htc logo. I am using mgaldr 1.12 and am trying to run wp7 while running android build of the sd card through mgaldr... is that possible? what am I doing wrong? please help!
[HD2 Android SD Development] zarathustrax:
Are you editing the init.rc files?
[HD2 Android SD Development] nzxtneo:
rootfs file for NexusHD2-FRG83D V1.8 - hastarin r8.5.3_oldcam

Remember, booting from magldr does not read the startup.txt, so if you want a 1gb data.img then do a search on how to adjust an existing image.
[HD2 Android SD Development] nzxtneo:
rootfs file for NexusHD2-FRG83D V1.8 - hastarin r 8.6 oldcam

rootfs - NexusHD2-FRG83D V1.8 hastarin r 8.6 oldcam
[HD2 Android SD Development] lan78691:
Well not personally... not yet.. I wanted to try out some of the roms posted on the first page that already have their init.rc files edited. so that shouldn't be a problem. I have tried DL Desirez, Superram, and NexusHD2-FRG83D v1.8 but they all got stuck at the htc logo screen. Currently trying Core Droid 0.3... it got past the htc logo screen but now stuck on another loading screen (where there is a line moving around the android buddy in a circle.. like in cyanogen. Trying again.

update: tried again and still stuck on the other loading screen...
[HD2 Android SD Development] tigerlocc:
Hey lan,

I just experienced the same issue (remember, I was able to boot this rom before as well). It would get to the spinning android screen then loop over and over... for about an hour.

I thought about it and realized the first time i got it working was after a fresh format. Meaning nothing Android system related was on the SD card when I tried to boot core droid (0.3).

Since that revelation I went back to my SD card root and removed any references to the Android system (you know those folder it creates like "LOST.DIR" of "secure.android". Or if you want to get a higher chance of success, format your fat32 partition (windows, my computer, right click, format, quick format, 64KB and then replace the Android folder.

How do I know? I just confirmed my theory lol after an hour of that spinning green android i did what I said above (well not the formatting part), removed the Android directory and replaced it and booted through MAGLDR and BAM! We're all good!

Now I just need to see if I'm missing anything (last time i was missing my messages icon). I'll keep you posted if not this thread then the other thread. Dont give up lan keep on it you'll get it eventually!
[HD2 Android SD Development] dajw:
Where should i place SD built files?

Should the files be placed on the root of the SD card or can i keep them inside Android folder?