Booting / Dual Booting from SD - P3600 General

Is it possibile installing a different O.S. on a SD?
Is it possibile booting from an O.S. installed on a SD card?Just like a powerful PC can we create a dual boot loader?
It would be wonderful making a choice to start from resident O.S. or from an installed O.S. in the SD.
Thanks in advance for your kind reply.

i doubt it
never heard about the bootloader being able to use the sdcard for anything but to take an image from and flash the rom with it
also sdcards are very very much slower then internal flash so it would mean a very very slow start if it was possible

well. actually i had such idea. the idea is to integrate sd drivers to xip, create imgfs and 2 fat partitions on sd and launch xip from xip. unfortunately, because of some strange bootloader behavior on my asus 525, i have not yet managed to start a xip from ram, it keeps falling to the one on DoC..))) but i think everything is possible. just you need to be very careful when migrating from flashdrv to sdmemory - it`s hard to set up the driver for os root correctly

Related

[Q] Android and WP7 Dual Boot

With the recent developments of Android and WP7 for the HD2, I really can't decide between the two. Will there be an option of dual boot like with WM6.5? I'd love to have this option.
I would definitely love for this to happen, although WP7 is in the lead for me now, booting android once in a while wont be so bad.
i think itz possible in tmobile usa HD2 with itz 1gb ROM ... two partitions using two NAND OS... dual NAND..
I'm very interested in this option. Hopefully this will be available soon.
I hoppe we find a solution for Leo from EU (512Mo).
Like WIN6.5 + Android on SD ?
My favorite way : Android in NAND, WP7 on SD !!
think we should be able to still boot android off sd with magldr... we just need to switch to a different sd card that wasn't used with wp7. I hope its possible. will be trying it soon.
i would love to do this, i have a 124 leo.
F*ck the 512!
Android+WP7 would be sweeeet for 1024!
http://www.darkforcesteam.com.cn/thread-25910-1-1.html
James_Caliber said:
http://www.darkforcesteam.com.cn/thread-25910-1-1.html
Click to expand...
Click to collapse
im still running an old build of sd, so is it possible to upgrade radio, magldr, win7 nand and keep android on sd?
im not really wanting to give up android just yet, but i do admit i want to see what win7 is like
James_Caliber said:
http://www.darkforcesteam.com.cn/thread-25910-1-1.html
Click to expand...
Click to collapse
based by the link above (with google translate), its possible to dual boot with wp7 nand and android sd
Is it possible to back up a android nand rom, so i don't need to download al apps again and set them all up again?
stephandelaat said:
Is it possible to back up a android nand rom, so i don't need to download al apps again and set them all up again?
Click to expand...
Click to collapse
SEARCH!!!
But since your lazy, yes there is. Its called Titanium backup and it saves all your apps and settings into a file. When you install a new build just recover that file from within Titanium backup and all your apps and stuff will be there.
James_Caliber said:
http://www.darkforcesteam.com.cn/thread-25910-1-1.html
Click to expand...
Click to collapse
So...does anyone here speak enough Chinese to make more sense of this than Google Translate does? I think some sort of modification needs to be made to init.rc. Possibly system.img too. It's also not clear to me if a NAND or SD ROM is meant to be used. There are some links which I'm trying to make sense of...
Dark Fire said:
So...does anyone here speak enough Chinese to make more sense of this than Google Translate does? I think some sort of modification needs to be made to init.rc. Possibly system.img too. It's also not clear to me if a NAND or SD ROM is meant to be used. There are some links which I'm trying to make sense of...
Click to expand...
Click to collapse
Im unsure on how to do this also, if anybody fancys typing it into something we could follow it would be great!
Im in work today and my phone is fully charged ready for win7/android combo
How would you boot android from nand if you can't access the file system of the SD card?
Its an unknown format and magldr surely won't be able to boot anything from it.
Maybe it works the other way round, though?
Or you could use your phone7 without sd card...
hey that may even work.
Limited storage for phone7 - who cares?
domenukk said:
Or you could use your phone7 without sd card...
hey that may even work.
Limited storage for phone7 - who cares?
Click to expand...
Click to collapse
That's what I would like to be able to do. WP7 is nice to play with at this stage but I still plan to use Android most of the time.
Ali_Shaikh said:
SEARCH!!!
But since your lazy, yes there is. Its called Titanium backup and it saves all your apps and settings into a file. When you install a new build just recover that file from within Titanium backup and all your apps and stuff will be there.
Click to expand...
Click to collapse
Thanks alot, i wasn't able to find it. Google couldn't help me.
Sent from my HTC HD2 using XDA App
domenukk said:
How would you boot android from nand if you can't access the file system of the SD card?
Its an unknown format and magldr surely won't be able to boot anything from it.
Maybe it works the other way round, though?
Or you could use your phone7 without sd card...
hey that may even work.
Limited storage for phone7 - who cares?
Click to expand...
Click to collapse
Half of the sdcard is formatted in FAT32. The other in WP7 system file.
James_Caliber said:
http://www.darkforcesteam.com.cn/thread-25910-1-1.html
Click to expand...
Click to collapse
Here's that thread translated:
1-14
I have already declared in the title dual boot, or have friends do not understand the altar. After the following modifications, select the boot wph start guide wp7, select the boot ad sd sd boot on Android , Android WP7 and dual-boot, the boot options can, without disturbing each other. Start wp7 will not interfere with sd card, wp7 sd card did not even know exist, the question is wp7 little space available, but at least can be used.
Expect experts to address the first time in wp7 can choose to start the occupation of the sd card space, do not fully occupied enough.
-------------------------------------------------- -------------------------------------------------- -------------------------------------------------- ---------------
Thank DFT ! Because SD Android running well, I have not brush Nand Android, waiting for the arrival of WP7.
Today, DFT has released long-awaited HD2 users WP7, I finally started to brush. Brush some of the altar before the access to the Friends of the experience, that really exclusive WP7 SD card, which can later how to run Android.
I have access to the information carefully and found that the SD card as WP7 only system expansion space, the first start of the SD card partition to use. Therefore, I decided to removed the SD card so reserved for Android use.
PC: Windows 7
HD2: SHPL 2.08
SD: Sandisk 8G c4 (from the phone in the show)
The following is the process of Brush:
1. Three-color screen brush Magldr 112 (all normal, NES Set )
2.Magldr start to select the USB Flasher, PC-side DWI (all normal)
3. Phone reboots directly into the WP7, simple to use, after all the normal (free space 98M)
4. Handset off
5. Insert SD card
6. boot holding down the hold button, enter the Magldr menu
7. Set always shows the menu (to decide, because I want to dual-boot often, so set the boot menu)
8. Set the boot path SD card Android
9. Guide the SD Android, the show finished HTC interface (kernel, Init after) boot into Andoird animation between the phone restart
Episode: I stupid out, SD card, there are a lot of information not backed up, hands and no card reader, can not enter the Andoird, the backup can not, WP7, when not installed into the SD card, do not expect him to. Fortunately, there are menu items that Magldr USB storage (my first use of Magldr), select this option, the memory card sorting.Remove the SD card all the Android-generated directory (the directory is generated Android, do not also delete a Android), re-boot, the first screen to enter Andoird die.
10. Online access to information, Magldr guide SD card Android, need to modify inti.rc.
11. Will system.img (I use the DHD Android) copied to the Linux modified.
In the service ril-daemon / system / bin / rild-l / system / lib / libhtc_ril_wrapper.so append --d / dev/smd0 nand parameters, to support
Nand boot.
12. Returns Android phone, after a successful boot.
Nagging: WP7 egg really hurt, WIFI without any settings, I have been using a static IP, can not be set.
Click to expand...
Click to collapse
He's dual booting, but none of the SD card space is for WP7. It only has around 100megs left. WP7 automatically RAID0's the whole card with internal memory for space. That's why removing the card screws up WP7 and a hard reset has to be done. I think what would be ideal is if the card could be split into 8gb for WP7 and 8GB for Android, but part of the problem is you can't call HARET.exe or CLRCAD.exe because there is no OS to understand those executables.

[IDEA] for Actual NAND WP7 and Android

Hi DFT and all devs,
I very appreciate your work that done on Android and WP7.
Our HD2 can run both best OS in NAND, but not have choose in hard way for switching.
Today I have an idea for you all as show in my attachment.
The way I think is like we do the backup image like ghost file in Windows.
If our HD2 can create backup NAND file and rewirte by itself, I think it may switch over between WP7 and Android in NAND within 10 minutes without desktop.
That's just my idea, I know there is a lot of think to do, if you interest on it.
I'll wait for that dream.
Thanks for all contribution.
Great works!
you dont actually have that much space unless you have the tmo version. also, you gotta reformat the sd card every time because windows 7 does some weird striping data thing.
So.. you can use different partitions on SD-card. If it possible backup android data on SD card, in same method possible backup WP7 data on it. like CWM working...we can in came time backup different android builds. It's just ideas.
untrueparadox said:
you dont actually have that much space unless you have the tmo version. also, you gotta reformat the sd card every time because windows 7 does some weird striping data thing.
Click to expand...
Click to collapse
The partition I show in picture is SD card (may be 16GB needed) not in NAND!
I means:
For WP7 to Android, we backup all WP7 NAND into image in Dump Partition 1, then reformat NAND for suitable for android, then read image (which was backup from previous OS swap Android->WP7) then dump it back to NAND.
Vice versa,
For Android to WP7, we backup all Android NAND into image in Dump Partition 2, then reformat NAND for suitable for WP7, then read image (which was backup from previous OS swap WP7->Android) then dump it back to NAND.
The backup process, NAND formating and image reading and dump back to NAND should be done in MAGLDR within one selection of OS swap menu.
That's all my idea.
I did not mention to put 2 OS in NAND, but hot swap by phone itself!
Maybe a bad idea to ask here, but what does linux swap do anyway? what is it for? cant seem to find an easy answer... Great idea btw, I like it
Swap + RAM = virtual memory
The Linux kernel selects the file (memory pages and so on) from RAM to swap them @ swap.
Swap is a background memory.
Swap is a supporter of RAM.
O.K.?
Greetings
This idea could work. There won't be a problem with WP7 and the memory card, because you only get a problem if you boot WP7 without memory card, but if you switch wp7 doesn't recognize anything about the memory card, so the most weird thing is solved. If we could manage to create this or maybe the dft team with further versions of magdlr it would be very interesting, but I don't know if we really need it, because we can do a dual boot with a sd-android-rom. Thumbs up for this interesting idea!
Although it seems to be doable (can't think of anything wrong at least), the boot times for an OS when you swap them is severely decreased. Let's do the math ?
Imagine we're switching from Android to WP7. So, we've got to dump around 400MB (at least) and load another 400MB (again, at least):
Writing Android to SD (400MB) at a 6MB/s (not to bad of a speed) = 67 seconds (approx.)
Writing WP7 from SD (400MB) to NAND at 2MB/s (yup, NAND is slow) = 200 seconds
So, i'd estimate at least 267 (as in 5 minutes) of time added to the boot sequence when you swap. Sure it may be tolerable for those guys who only switch from time to time, but i don't know...
What are your thoughts?
Partition NAND
It seems there is still no solution to do NAND partition without a PC. But other steps seems okay Let's wait!

[Q] Memory Full: Now Phone BRICKED & Won't Turn On - Please Help

When I try to turn my phone on, it will not get passed the ROM loading screen (Energy blue logo). This is because the internal memory is full.
I really need to get into the file system to delete a file (and fix the problem) or copy certain stuff out - it has pictures of my fiance on to say the least, and I really want them.
But, as Windows won't boot I can't do this in the traditional way. Obviously I can still get into bootloader - so is there a way I can access the file system? A bit of software I can run on my laptop that can somehow access the file system through bootloader mode? All I need to do is identify a c.1mb file and delete it...
The background to all this is the phone was displaying messages about 'memory nearly full' - but it had done this before and just stopped, so I left it again. Except, at some point signal reception dropped and stayed at 0. So I rebooted, and got stuck at the loading screen - which is where we've been for the last few days now.
I really hope someone can help. If you can, I'll buy you a few beers.
Thanks,
David
Phone was running WM6.5 with HSPL (3 I'm fairly sure)
How in the hell did you manage to fill your internal memory up, why not just use a SD card for storage?
If you can get into bootloader, cant you simply connect it via activesync/wmdm and then just copy what you need and delete?
I think I took too many photos! Though I'm not exactly sure tbh... Some bug in the ROM kept changing the save dir from SD card to internal, but I did keep an eye on the space, perhaps just a few too many photos in one night...
Anyway ActiveSync isn't working (for me at least) in bootloader mode - don't I need to have Windows Mobile loaded?
Should activesync work in bootloader mode?
TheATHEiST said:
If you can get into bootloader, cant you simply connect it via activesync/wmdm and then just copy what you need and delete?
Click to expand...
Click to collapse
doesnt work. you cant access the live file system from anywhere except within running wm.
You can dump off the rom partition into .raw files, but when you rebuilt it (in a ktchen) you would still only end up with the original rom as it was out of the box, no user data.
@OP, you could possibly go into bootloader, confirm 2.08.hspl, flash magldr, and then boot from an sd android, though i suspect you still wouldn't see the winmo files. (I assume there are now android builds that can be booted to and run from sd without the need for haret/winmo? i'm a nand man meself so unsure. )
It's what i'd try if it really was that critical, otherwise I'd weep for a little while, kick myself and write 'backup' post-its all over my office, then hard reset and move on.
Thanks for the advice - I will definitely try your suggestion before 'moving on', losing a whole bunch of contacts will also be a real pain.
Do you know of any threads/links explaining magldr and how it will help?
Is there no other way to access any part of the internal memory and just delete 1 file?
I found out that magldr has 2 commands:
"Boot WPH" - boots WPH from nand. WPH must be flashed before. NOT AVAILABLE now.
"USB Flasher" - use this item to flash Android or WPH.
Problem is the first one isn't yet available - maybe he would give me a beta though.
I assume WPH is Windows Phone. So if I had a version with 'Boot WPH' command working,
a) Could I flash Windows Phone into the nand (whatever that is)?
b) Once in booted & loaded WP7, could I view the WM6.5 files on the internal RAM?
I think I agree it is unlikely the files would be viewable within Android - surely it must use a different file system. Does WM use FAT32 for the internal memory?
Thanks
Bear in mind WP7 and winmo are two very different OSes.
WP7 has been out btw.
Once you flash the device, with MAGLDR, android or WP7, the internal storage is wiped so it makes no sense to flash it if you still want what is in it.
davenash said:
I found out that magldr has 2 commands:
"Boot WPH" - boots WPH from nand. WPH must be flashed before. NOT AVAILABLE now.
"USB Flasher" - use this item to flash Android or WPH.
Problem is the first one isn't yet available - maybe he would give me a beta though.
I assume WPH is Windows Phone. So if I had a version with 'Boot WPH' command working,
a) Could I flash Windows Phone into the nand (whatever that is)?
b) Once in booted & loaded WP7, could I view the WM6.5 files on the internal RAM?
Click to expand...
Click to collapse
any type of flashing (nandroid, wp7 or wm) will destroy whats on there already, thus defeating the object.
There are more than two options in magldr, one of which is 'boot sd ad' for boot sd card android.
I think I agree it is unlikely the files would be viewable within Android - surely it must use a different file system. Does WM use FAT32 for the internal memory?
Click to expand...
Click to collapse
its probably not an issue of the file system type, android (linux) can access fat partitions no problem. Its probably more to do with whether the sd builds can mount the internal rom or not.
Im no linux head at all, still fumbling in the dark though, so i could be wrong.

4x boot

Ok. Lets say i wanna choose between 4 different operating systems at startup, anyway of doing that?
not at the moment.
if dft manages to start winmo 6.5 from sd it would be possible, but at the moment you have to choose between winmo 6.5 and wp7.
don't know if ubuntu can be run from sd using magldr.
and you need 2 partitions on your sd.
I still haven't read much, but from what I understood, you can boot android and ubuntu on wm6.5 so that's 3x boot. until someone manages to create an SD WP7 build that somehow runs from directly a partitioned SD something more or less like what SD android is now, or making MAGLDR run it while keeping wm6.5 and everything intact.
let's just wait and see what happens, XDA devs never fail to surprise

DUALBOOT-how 2 reinstall wp7without toutching Android ?

Hi installed wp7+Android using dual boot with magldr1.3
now i'm very satisfied with Android, and want to install a new build of wp7 without toutching Android ! how to do? if i install wp i think i will damage android partition in my SD card plz help
regards
+1
That is correct, if you reinstall WPH it will (re)format your SD card and so erase the Android partition.
But some guys here will surely provide the anwser to that problem.
hica said:
Hi installed wp7+Android using dual boot with magldr1.3
now i'm very satisfied with Android, and want to install a new build of wp7 without toutching Android ! how to do? if i install wp i think i will damage android partition in my SD card plz help
regards
Click to expand...
Click to collapse
Should be easy, in theory at least.
1. Use a disk imaging software to make an image of the entire partition you use for Android and save that image on your computer.
2. It'll perhaps be a good idea now to delete the Android partition or better yet, delete both WP7 and Android partitions altogether and make just one FAT32 partition spanning the entire card. This might not be necessary but it'll give the next step a stock, empty, Fat32 formatted SD card to begin with.
3. Install the new WP7 build.
4. Go through the entire process of setting up the partitioning for dual-booting the way you did it in the first place with your previous setup.
5. Once you have the Android partition resized and formatted...simply write the disk image saved from step 1 to it using your favorite disk imaging software.
Please note that I have NOT tried this out and can't confirm if it'll work but in theory, it should. Also, if you keep the partitions exactly of the same size that you had in the first place with your original dual-boot setup, it'll *probably* increase the chances of it working in the end.
Hope it helps. =)
I agree with HQRaja.
I would simply create a folder on your Desktop and call it Android Partition Backup, or something simular. Insert the memory card and only the Fat32 partition will be visable in Windows so select everything and move it to the newly created folder on your Desktop. Install Sd Formatter from here. Once launched click on options, Format Type as Full Erase, Format Size Adjustment as On then OK. This will format not only your fat32 partition but remove all partitions as well. Then install the new WP7 Rom, Dual Boot as before and then copy everything from your backup folder back onto your card.
If you feel you dont have enough room for music, apk's or want to try mulitple Android Roms while still using WP7, the keep an eye out for my new tutorial where you can have say over 11gb for Adroid and over 3gb for WP7. It is written out but will read it through more tomorrow to make sure it is ok before uploading. I would do it tonight except my Mrs is nagging and I have been summond .
Hope this helps.
I have been searching for a solution where I can increase/allocate 75% space in sd card for android use and the remaining for w7. I heavily used android because of more games and applications. I am using w7 just for show

Categories

Resources