• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[REF] How to boot your SD build from magldr [quick guide]

Search This thread

xmyszka

Senior Member
Nov 5, 2006
154
32
DW
What version (link) is working with MAGLDR ?? All booting but frezee
I tryed:
- SuperRAM_FroYo_V1.5
- NexusHD2-FRG83D_V1.8_(Froyo 2.2.1)
- Motoman234_Desire_PCB_Sense_V1.0
- Core_Droid_HD_V0.4_Release_Version
all this booting but freze :(
 

zarathustrax

Senior Member
Aug 29, 2007
1,517
190
SouthSide of Chicago
with haret: yes, you're right (the fastest is darkstone SuperRAM 1.5 without sense)
with magldr: will NOT. Will freeze to death while booting.
Some guys don't understand the difference between haret and magldr booting. Never mind...

It makes no difference if you have a tmous hd2 or a euro hd2... haret and magldr booting work the same on both. How is magldr different on a tmous hd2 and a euro hd2... if you can boot a sd build on one, you can boot it on another. The edited sd builds I have given to people have worked fine on both versions. I completely understand the difference between haret and magldr booting.
And I have DS Superram 1.5 booting with magldr fine now with letama edited initrd.gz. It just freezes the first couple times you boot, but after you get it going, it boots everytime fine.

EDIT: I notice the link on post1 goes to sense ram build... I have posted the correct edited initrd.gz that letama posted. I have also modified many other builds to work and have gotten almost every build I've tried to work. If there's another build you want, just pm me.
 

Attachments

  • rambuild_initrd_for_nand.zip
    588.7 KB · Views: 148
Last edited:

Bobby9

Member
Dec 1, 2006
20
1
EDIT: I notice the link on post1 goes to sense ram build... I have posted the correct edited initrd.gz that letama posted. I have also modified many other builds to work and have gotten almost every build I've tried to work. If there's another build you want, just pm me.

Wow! Thank you, zarathustrax! darkstone's SuperRAM 1.5 without sense ist booting with magldr from sdcard without any problems now! Very fast. You've done a great job, zarathustrax!

Thanks again from Germany, Bobby
 

Bobby9

Member
Dec 1, 2006
20
1
What version (link) is working with MAGLDR ?? All booting but frezee
I tryed:
- SuperRAM_FroYo_V1.5

1. Download darkstone's SuperRAM 1.5 from Dec.18th, 2010
(the fastest, stable, stock Android 2.2.1 without the consuming Sense = small, clean & bloody fast)
2. Get the initrd.gz file from zarathustrax in post # 223 on this page and copy it into your android folder on sdcard
3. boot AD SD with magldr and smile :)

EDIT: some off-topic-tipps:
- format the FAT32 part of your SD-card using Windows-Explorer with cluster-size set to "standard". This will speed up your SD AD and not destroy WP7 partition.
- flash radio 2.10.50.28_2 AFTER you are finished with WP7+Android installation (unplug USB-cable, power off, hold volume down, power on while holding down volume, wait for coloured screen displaying "Serial", plug in USB, then flash radio). This will help you to have as less as 3 mAh power consumption in standby and ~100 mAh less while in use.
- disable 'Use wireless networks' in Settings>Location menu. You will now get 7mA or less constantly. darkstone discovered this as the main culprit. Also works in other builds.


More tipps welcome
 
Last edited:
  • Like
Reactions: ricola7

nichi4ov

Member
Jan 12, 2010
23
1
Pitesti
It makes no difference if you have a tmous hd2 or a euro hd2... haret and magldr booting work the same on both. How is magldr different on a tmous hd2 and a euro hd2... if you can boot a sd build on one, you can boot it on another. The edited sd builds I have given to people have worked fine on both versions. I completely understand the difference between haret and magldr booting.
And I have DS Superram 1.5 booting with magldr fine now with letama edited initrd.gz. It just freezes the first couple times you boot, but after you get it going, it boots everytime fine.

EDIT: I notice the link on post1 goes to sense ram build... I have posted the correct edited initrd.gz that letama posted. I have also modified many other builds to work and have gotten almost every build I've tried to work. If there's another build you want, just pm me.

can u help me initrd.gz from [Build] PSFreedom , problem is it boot load and when to start phone reboots
 

ricola7

Senior Member
Nov 3, 2009
147
56
1. Download darkstone's SuperRAM 1.5 from Dec.18th, 2010
(the fastest, stable, stock Android 2.2.1 without the consuming Sense = small, clean & bloody fast)
2. Get the initrd.gz file from zarathustrax in post # 223 on this page and copy it into your android folder on sdcard
3. boot AD SD with magldr and smile :)

EDIT: some off-topic-tipps:
- format the FAT32 part of your SD-card using Windows-Explorer with cluster-size set to "standard". This will speed up your SD AD and not destroy WP7 partition.
- flash radio 2.10.50.28_2 AFTER you are finished with WP7+Android installation (unplug USB-cable, power off, hold volume down, power on while holding down volume, wait for coloured screen displaying "Serial", plug in USB, then flash radio). This will help you to have as less as 3 mAh power consumption in standby and ~100 mAh less while in use.
- disable 'Use wireless networks' in Settings>Location menu. You will now get 7mA or less constantly. darkstone discovered this as the main culprit. Also works in other builds.


More tipps welcome

EDIT: works now, don't know why...just booted it up a couple of times...strange stuff


Thx for the tipp...I can't get it to work though ;)
I took the Darkstone build from Dez 18th, exchanged the initrd.gz with the one zara posted...

It boots up fine, but when it finally displays the android lock screen, it instantly freezes (no touch response whatsoever)

I used a formatted sd card (which works well for other builds booted from magldr)...Don't know whats the prob...

Greetz Dom
 
Last edited:

zarathustrax

Senior Member
Aug 29, 2007
1,517
190
SouthSide of Chicago

EDIT: works now, don't know why...just booted it up a couple of times...strange stuff


Thx for the tipp...I can't get it to work though ;)
I took the Darkstone build from Dez 18th, exchanged the initrd.gz with the one zara posted...

It boots up fine, but when it finally displays the android lock screen, it instantly freezes (no touch response whatsoever)

I used a formatted sd card (which works well for other builds booted from magldr)...Don't know whats the prob...

Greetz Dom

Yeah, sometimes it takes a couple times to fully boot up, but once it does, it should work everytime after that. It took me 3 boots before it fully went through setup.

can u help me initrd.gz from [Build] PSFreedom , problem is it boot load and when to start phone reboots

I'll take a look at that build and see if I can get it to work... probably just need to edit the init.rc file.
 
Desire HD2 Build

FYI

After some reading and research (I'm not familiar with unix systems) I managed to get my favourite SD Build running.

HOWTO:
-- download the Desire HD2 rom
-- browse into updates\init-files\ folder
-- there you can find the init.rc file
-- overwrite the service ril-deamon line with the one mentioned in the first post
-- finish

no need for mounting the system.img or download the linked file from the first post.
this was all I have to do to get this build running.

BTW: I tried to install also the updates, but one of them crashed my build, so be carefully. I don't know exactly which one was the problem cause I tried to install it in one boot cycle. At the moment I use the build without the updates and every thing is working as far as I can see. :)
 

hlpdt10

Senior Member
Apr 9, 2007
95
3
i installed wp7 to my HD2 Nand and i want to install more android rom to my sd card ( i used "two sd card" method to install wp7 and android rom in my 8gb sd card). I was sucessfully install some android rom to my sd card (ex: Future stock rom, desire_z..) but now

i have a problem:
i'm using a Gizmo drive to mount system.ext2 of rom "[6 Feb][DL DesireZ v3.4 final][DL Data2SD/Ext4 v2.7][Nand/SD/MAGLAR]" (to edit the init.rc file)

but after mounted i can't edit the init.rc file inside the drive. ( i have already installed all driver and sofware for reading ext2/ext3 file) i can only read the ext2 file and copy init.rc file from ext2. please help me:
- may be the system.ext2 has been locked??
- How can i edit the init.rc file inside the "read only" system.ext2?
 
Last edited:

hyellow

Senior Member
Oct 27, 2006
543
70
i installed wp7 to my HD2 Nand and i want to install more android rom to my sd card ( i used "two sd card" method to install wp7 and android rom in my 8gb sd card). I was sucessfully install some android rom to my sd card (ex: Future stock rom, desire_z..) but now

i have a problem:
i'm using a Gizmo drive to mount system.ext2 of rom "[6 Feb][DL DesireZ v3.4 final][DL Data2SD/Ext4 v2.7][Nand/SD/MAGLAR]" (to edit the init.rc file)

but after mounted i can't edit the init.rc file inside the drive. ( i have already installed all driver and sofware for reading ext2/ext3 file) i can only read the ext2 file and copy init.rc file from ext2. please help me:
- may be the system.ext2 has been locked??
- How can i edit the init.rc file inside the "read only" system.ext2?

have you tried... right clicking on it?
 

hlpdt10

Senior Member
Apr 9, 2007
95
3
yes..i already did right click but i still can't edit the init.rc. I can copy it to my desktop and can edit the init.rc in my desktop but after that i can't replace the init.rc in system.ext2
 
Last edited:

zarathustrax

Senior Member
Aug 29, 2007
1,517
190
SouthSide of Chicago
yes..i already did right click but i still can't edit the init.rc. I can copy it to my desktop and can edit the init.rc in my desktop but after that i can't replace the init.rc in system.ext2

Are you using a microSD to SD converter to edit the microsd? I had the problem using that before because I accidently had to lock switch set to lock on sd card. Or maybe copy the whole system.ext2 file to desktop, then replace init.rc, then put system.ext2 back.
 

ricola7

Senior Member
Nov 3, 2009
147
56
i installed wp7 to my HD2 Nand and i want to install more android rom to my sd card ( i used "two sd card" method to install wp7 and android rom in my 8gb sd card). I was sucessfully install some android rom to my sd card (ex: Future stock rom, desire_z..) but now

i have a problem:
i'm using a Gizmo drive to mount system.ext2 of rom "[6 Feb][DL DesireZ v3.4 final][DL Data2SD/Ext4 v2.7][Nand/SD/MAGLAR]" (to edit the init.rc file)

but after mounted i can't edit the init.rc file inside the drive. ( i have already installed all driver and sofware for reading ext2/ext3 file) i can only read the ext2 file and copy init.rc file from ext2. please help me:
- may be the system.ext2 has been locked??
- How can i edit the init.rc file inside the "read only" system.ext2?

Hey,

what you can try is following (even though you already installed the ext2 drivers):
1. restart your pc and don't open up gizmo yet (must not be in autstart either)
2. Go to this page http://www.fs-driver.org/download.html and download the file.
3. install it on your pc (if you have windows 7, run it in vista compatiblity mode)
4. you can abort the installation when you are asked to designate partitions, the drivers are already istalled at this point)
5. open gizmo and mount the ext2 file. maybe you can edit the file now via right click
 

ricola7

Senior Member
Nov 3, 2009
147
56
Hey guys,

any experienced linux users who can help me?

I installed an ubuntu virtual machine a few days ago to edit the init.rc files located inside the initrd.gz archives. This works perfectly...

Now I would also like to edit the init.rc files inside the system.ext2 files/partitions.
Is it possible using ubuntu to acces system.ext2 and edit the files inside? (I can access and edit using gizmo under windows, but I would like to do it with ubuntu too)

And if its possible I would need the commands for the terminal...

Thx.

Greetz Dom
 

hlpdt10

Senior Member
Apr 9, 2007
95
3
Are you using a microSD to SD converter to edit the microsd? I had the problem using that before because I accidently had to lock switch set to lock on sd card. Or maybe copy the whole system.ext2 file to desktop, then replace init.rc, then put system.ext2 back.

yes. i'm using "micro to SD converter" to edit the microsd, but i'm using a tape to keep the lock off on my sd card before i inserted it to my mac. ( by the way, i'm using vitual w7 on my mac). I already coppied system.ext2 to my desktop and edit from that but i still can't do. I'm afraid the problem may be is: i'm using vitual w7 inside mac ( so it hasn't got enough driver, i had some problems when i uprom by vitual w7 in mac, i have to using another lap to up)

Can any one can edit the system.etx2 in side mac?

Hey,

what you can try is following (even though you already installed the ext2 drivers):
1. restart your pc and don't open up gizmo yet (must not be in autstart either)
2. Go to this page http://www.fs-driver.org/download.html and download the file.
3. install it on your pc (if you have windows 7, run it in vista compatiblity mode)
4. you can abort the installation when you are asked to designate partitions, the drivers are already istalled at this point)
5. open gizmo and mount the ext2 file. maybe you can edit the file now via right click
Yes. I already installed all the driver i need. :(
 

ricola7

Senior Member
Nov 3, 2009
147
56
yes. i'm using "micro to SD converter" to edit the microsd, but i'm using a tape to keep the lock off on my sd card before i inserted it to my mac. ( by the way, i'm using vitual w7 on my mac). I already coppied system.ext2 to my desktop and edit from that but i still can't do. I'm afraid the problem may be is: i'm using vitual w7 inside mac ( so it hasn't got enough driver, i had some problems when i uprom by vitual w7 in mac, i have to using another lap to up)

Can any one can edit the system.etx2 in side mac?


Yes. I already installed all the driver i need. :(

i can upload the edited system.ext2 if you want...but tomorrow, I'm tired now...

Is it even necessary to edit the init.rc in system.ext2 too? Cause the init.rc inside initrd.gz is already edited and as far as I know this build is magldr ready?!
 

hlpdt10

Senior Member
Apr 9, 2007
95
3
hehe..Finally i find the way to mount ext2 in mac and in ubuntu too for editing it. :D

and

Hey guys,

any experienced linux users who can help me?

I installed an ubuntu virtual machine a few days ago to edit the init.rc files located inside the initrd.gz archives. This works perfectly...

Now I would also like to edit the init.rc files inside the system.ext2 files/partitions.
Is it possible using ubuntu to acces system.ext2 and edit the files inside? (I can access and edit using gizmo under windows, but I would like to do it with ubuntu too)

And if its possible I would need the commands for the terminal...

Thx.

Greetz Dom
here you are:

you can use terminal similar like this:

mount -o loop /users/"your dir"/system.ext2 /users/"your dir for mounting"

and after that you can edit it :D
 
  • Like
Reactions: ricola7

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    This is a very short guide for all of you looking to dual boot android from the sd card now that you have windows phone 7 taking up the nand space. It's originally posted by letama and I added a bit to it.

    It's actually quite simple. All you have to do is add nand_init to one line in the init.rc file. For most builds, you will need to use a linux distro and mount the rootfs.img file, then edit the init rc file, add nand_init to this line:

    Code:
    service ril-daemon /system/bin/rild -l /system/lib/libhtc_ril_wrapper.so -- -d /dev/smd0
    so it looks like this
    Code:
    service ril-daemon /system/bin/rild -l /system/lib/libhtc_ril_wrapper.so -- -d /dev/smd0 nand_init

    For builds that uses the cedesmith initrd method, you have to mount the system.ext2 file, everything else is the same.

    Save your file. Make sure you haven't changed the permissions and unmount the image. Copy the build to your microsd, set magldr to boot from the directory you copied it to and boot ad sd, you should be good to go.

    Problems: booting it this way does not read from your startup.txt, you have to wait for cotulla to add it in future magldr. I'm not sure if the old method of updating (dumping everything in a folder named root) still works.

    Disclaimer: I've tried this with jdms, hd2one, superram, desire_hd2 and mdj rEVOlution 2.3 and they all work fine with my old data image, your mileage may vary. This is a very quick guide because that's all I know :) Anymore I'll have to search google, so you might as well do that yourself :D Anyone who have a better method of editing feel free to post it. I'll add it here if you post it in this thread.

    Tip from aled99 to edit without linux.
    I've managed to mount system.ext2 to Windows 7. Without VM and Linux at all.
    What tools are needed:
    1. Windows Ext2/Ext3 driver. You can get it from here.
    2. Any software to mount image to virtual drive. I've used Gizmo Drive, but there are others also working.

    Tip: Gizmo doesn't show ext2 as supportable image type, when you browse for image. So, manually type *.* filter.

    Some files that are already edited:
    CoreDroid HD 0.4 edited by ricola7
    Desire_hd2 system.ext2 file
    HD2ONE 0.3.5 system.ext2
    JDMS 1.62
    MDJ HD v4.6
    MDJ rEVOlution 2.3 rootfs.img
    NexusHD2-FRG83D v1.8 from nzxtneo
    Superram 1.5 from letama

    Builds that already work with magldr:
    DL DesireZ v2.2 from dandiest
    HD2 Gingerbread/CyanogenMod7 from copenhagen
    16
    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://forum.xda-developers.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://forum.xda-developers.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://forum.xda-developers.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!!!!!
    7
    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://forum.xda-developers.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
    6
    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://forum.xda-developers.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://forum.xda-developers.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://forum.xda-developers.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://forum.xda-developers.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!!!!!
    3
    Modified rootfs for NexusHD2-FRG83D V1.8

    Here is a modified rootfs.img for the NexusHD2-FRG83D V1.8 build.