[Q] MAGLDR not seeing all directories on SD card - HD2 Android Q&A, Help & Troubleshooting and Genera

I've always booted Android from my SD card using RunDroid under Windows 6.5. But I broke my HD2 so I bought another used HD2.
This "new" HD2 already has Android (NAND) installed and it's using MAGLDR 1.13. The installed Android version runs fine so I don't want to remove it. Instead, I simply want to run the same Android I've been running on my old HD2 from SD.
So I boot into MAGLDR, goto Services -> Boot Settings-> AD-SD Dir to pick the directory I want to boot my Android from.
Problem is, the directory list MAGLDR is showing isn't anywhere near complete. It only shows the first 9 directories on the SD card (there are about 30 directories on the SD card). So I'm unable to choose the right directory to boot from.
This is a 16GB SD card formatted as FAT32. My old HD2 had no problems whatsovere reading from it (not in Win6.5, not in Android).
So does anybody know what's wrong here?
Thanks in advance for your help.

Perhaps some folders have an attribute set that is hiding them? -h for instance. Personally I'd create a new folder, test if mgldr can see it, and if it can, move the contents of the android folder into it. If itccan't, I'd backup the SD, and do a complete reformat of the card, including rebuilding the partition from scratch.

All directories can be viewed from within Android without problem...
Odd thing is, that MAGLDR is displaying all directory names in 8.3 format. In fact, I think it only shows the directories created from within WM 6.5. The directories it doesn't show are created from within Android.

I've copied the contents of the SD Card to my PC's harddrive, reformatted the SD Card and copied everything back.
It's still only showing the first 9 directories (only this time 9 different directories).
The card was formatted using FAT32 since I want the card to be readable under WM6.5 as well. But that shouldn't be a problem considering Android can read the SD card just fine.

Zippy1970 said:
It's still only showing the first 9 directories (only this time 9 different directories).
Click to expand...
Click to collapse
try this just for kicks, if youcan be bothered,,,, empty teh card, put the dirs on in the ordser you want them to appear, one at a time. Im betting the first nine you drag across will appear.
Ive seen harddisks do the 8.3 thing unexpectedly, i'd be looking hard at the sd card. If you have another card available, definitely give it a test to compare.
As for the fat32 formatting, perhaps a non standard block size was used (or at least one magldr wasn't expecting, , remember magldr is a handfull of lines of code compared to androids many hundred thousand lines, , just saying 'well android can read it fine' is a bit like saying 'hey what gives, , my binoculars can't see the horsehead nebula, but the hubble can'
(astronerds, calm yourselves, yes i know you can see it thru a nice set of decent binos with a good lense/filter, it was just the first commonly known astro object i could think of )

Yeah it's showing the first 9 directories only so I did what you said and cleared the SD card and copied the Android folder first, then the rest. MAGLDR now saw the right Android directory and I was able to set it as boot directory. But now I have another weird problem. I've started a new thread since it's (I think) an unrelated problem.

Zippy1970 said:
I've always booted Android from my SD card using RunDroid under Windows 6.5. But I broke my HD2 so I bought another used HD2.
This "new" HD2 already has Android (NAND) installed and it's using MAGLDR 1.13. The installed Android version runs fine so I don't want to remove it. Instead, I simply want to run the same Android I've been running on my old HD2 from SD.
So I boot into MAGLDR, goto Services -> Boot Settings-> AD-SD Dir to pick the directory I want to boot my Android from.
Problem is, the directory list MAGLDR is showing isn't anywhere near complete. It only shows the first 9 directories on the SD card (there are about 30 directories on the SD card). So I'm unable to choose the right directory to boot from.
This is a 16GB SD card formatted as FAT32. My old HD2 had no problems whatsovere reading from it (not in Win6.5, not in Android).
So does anybody know what's wrong here?
Thanks in advance for your help.
Click to expand...
Click to collapse
i extremely stuck i was trying to use native sd method so i created a new ext partition but when i tried to create it i am unable to see any folders in the Services -> Boot Settings-> AD-SD Dir to pick the directory I want to boot my Android
why is this please help me asap

That was a problem to me when I started playing with nativesd, seeing only the first few directories, but if you just use the volume rocker to scroll down, you will get another page of the remaining directories and files, simple.

Just great reply - Thanks
:good:
phochiom said:
That was a problem to me when I started playing with nativesd, seeing only the first few directories, but if you just use the volume rocker to scroll down, you will get another page of the remaining directories and files, simple.
Click to expand...
Click to collapse

Related

[Q] Partition SD Card (different than previous questions asked)

First off, to eliminate the flamers 1)I know you don't need to partition your SD Card (i've been running android on 2 SD cards for around a month now) 2)I know it won't make my device run any faster.
The question is though If i partition my memory card to have the 3 partitons: ext, linux swap, and fat32, will this mean that on the main part of the memory card that my windows mobile can see that i won't have all of the various folders that the Android OS creates (i.e: .android_secure, .bookmark_thumb1, rosie_scroll?
The reason i ask is i want to have my memory card as clean as possible so that within my windows mobile build that it is still very organized.
Thanks for any help you can offer. If you are going to reply simply to say use the search, I have, I've read and thank you very much, you can now move on to the next topic to type that.
I also have the same question.
How get clean memmory card from Android folders?
Or how to install Android in folder (sdcard/Android/all android folders)
Than my WM folders will use (sdcard/WM folders)
I second either of these as to keep my mem card tidy from all the android folders created and mixed up with my WM files.
Well since no one seems to know the answer or isn't willing to share, I am going to try doing this within the next two days and will report back on whether or not it works.
How would each OS know what partition belongs to it?
gaiden0000 said:
Well since no one seems to know the answer or isn't willing to share, I am going to try doing this within the next two days and will report back on whether or not it works.
Click to expand...
Click to collapse
Nice to hear that! I think there is 2 ways:
with partition on sdcard
change Android install place to place in folder
Somone who build Android roms can try to change location where android install apps.
juggs said:
How would each OS know what partition belongs to it?
Click to expand...
Click to collapse
If you crate partition for linux (ext...) windows will not show, read and find it.Also WM will not read files on linux partition but I think that linux still will read both. Dono how it is on Android but in Ubuntu on PC it works.
SD partitioning works great!
This is how to create partitions on your SD card: http://forum.xda-developers.com/showthread.php?t=267475
I tried it - and it works. WinMo shows two storage cards - 'Storage Card' and 'Storage Card 2'. The first one is the Active partition - which is my Android partition.
When you are in WinMo and installing WinMo software, you are given the choice of where to install it - and it shows both storage cards. So in effect you can have all that is WinMo on one partition and all that is Android on another. Android is working nicely from its own partition.
I must say - this is the first time my Android is working sooooooo well. As well as my wife's HTC Desire device. It is a noticeable difference - the same Android build worked quite sluggishly before this exercise. It is either because I am using a freshly formatted partition, or because it has its own partition now.
My partitions were formatted with FAT32, 32KB unit allocation size. I am using ChuckyDroid ROM and currently testing this Android build Core_Droid_V.0.2.
Yeey ! " ... after action - satisfaction .. "

[Q] freeze on rebooting

Hi guys,
I've been trying out different android builds but after a while it won't boot in android anymore.
I run the CLRAD and HaReT, it show the command lines and then freezes on the HTC screen.
It is not the first time I'm launching it, everything is allways set up the way I like it and then I want to reboot a final time and it freezes. (first boot only takes 10 min.) Then I have to take out the battery to reset, but everytime after it freezes, tried waiting for +1 hour but no changes.
When I delete all the android files from my SD card and copy the original ones it restarts again and I have to setup everything again.
I tried new wm roms (Miri HD2 wm6.5.x) different radios (now 2.12.50.02.2),
the new HSPL3 but nothing seems to solve this.
edit: now I'm trying to use the mdeejay froyo HD v3.7 rom
I've searched the forum and other users seem to have the same problem, but no solutions have come forward. The people replying allways seem to think it is the first boot that takes 10 min. but it's not that. First boot works fine.
I would love to have a solution so I can start using android on a daily basis.
If you need more info, just ask.
I was having the same problem initially...very frustrating. Now i found the permanent solution for this problem. The problem on the second time or more on rebooting is depending how do you install the code in the root of SD card. Please follow the instruction carefully as each ROM (depending on which one you use) may require the files to store diffrently in the "root" of SD card. So read carefully after you unzip the code, where should you transfer the files in the SD card. Either under SD root or SD\Android (directory).Eg. I'm using FroyoStone_Sense V3.2 ; use 7-Zip File Manager program (can be download), then execute (click on the downloaded file : FroyoStone_Sense-V3.2.7z ) with the 7-Zip File Manager then you will get 2 directory 1. Android 2. Media and one readme.txt file. Copy the directory 1 and 2 in you root of your SD card. Then you run thru file manager, CLRCAD.exe follow by haret.exe . This the first setup. Let it run and setup your device. It will work and the second time you reboot, just run CLRCAD.exe and haret.exe as usual, your device will work perfectly..Good luck.
Hi, Just to add another note for you convenience if you are using different android build ef Mdeejay_Froyo_Sense_v.2.4.2_NextSense; when you extract the downloded file using 7-Zip File Manager, you will get 2 directories 1. AndroidApps and 2. Media with the rest of files including CLRCAD.exe and haret.exe .Copy and paste exactly the structure into your SD card. It will run beautifully and you will not have probelm on freesing on 2nd reboot even for the next reboot...hope it helps and try it out.thx.
I've the very same situation and Khairon i tried that method doesn't work...
Still same issue...
Any one can solve this?
cheers
Hi, use file using 7-Zip File Manager program to extract the downloaded zipfile. I've tried severals Android ROM builds and it works well on my HD2 after 2 weeks of trial and error on the freezing after the 2nd reboot. To increase your chance of success, reformat the SD card only then copy the files into the SD card.
Thx
all done, still same 2nd boot = freez
dont understand wots wrong
i am using the mjeedy's revolution build
is there any way to completely burn the android to HD2 like wince roms?
cheers
i was having exactly same problems as u, so i formatted my card with a card formatter, not through windows but used a card formatter, installed android agian and bingo it works, im using droidrom, radio 2.12, with the card format do full reset not quick this should work
full format is not working either
I also noticed that there is a file popping up on my SD card : EncFiltLog.menc
Searching around points to SD card encryption, but this is turned of in windows.
I checked with Miri, who made my windows rom and he said it's not set in the rom itself.
But this might explain everything, when I reboot the linux bootloader can't read the SD card because of the encryption.
Only thing now is to turn it off, but how can I do this when it is off in windows
I also had that file today on my "goldcard", the old 2GB SD-card shipped with my HD2. I tried the old card, because I can't start android (on 16GB sandisk) anymore.
Hi, I have the same problem.
Reboot freeze on 16GB Kingston.
Working fine on 2GB SD.
On both SD card is the same formating.
it doesn't seem to be related to the SD card i guess, I also tried my original 2GB card instead of my regular 16GB.
Both give me the same problems.
Hey anyone got a resolution to this??
my build works on my gb but not my 6gb card???

[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.

Android SD is deleting all new files on SD card and new files not visible

Hello,
i have 2 problems:
1. I formated my 8 GB card under FAT32 and i copied on Andorid. Then i copied some apps on the card to install them, but when i opened Files explorer in android, the files were not there. Then i opened the card again in windows, and they were there again!!! So they are visible in windows and not visible in android
2. I put back my music on the card, it was ok for 30 mins and after that all the new files on the card ware gone! Only the android folder was there!
What to do?
Anybody can help?
Am i the only one with this problem
From what I remember this has been a problem when using Android to move files to your sdcard, are you using Nand or SD?
After you copy something try rebooting and then it should show up. Way back when before Nand we had to do it this way as for some reason Android will not see the new file until you reboot.
I've restarted the phone several times, but still no files...
Are you using a SD or Nand rom?
SD. All i can see on the card from droid file manager are only the droid files.
Update: After moving the files on the phone while in WM, now i can see them in Android also... for now I will update it if android deletes them or something...
LexHammer said:
SD. All i can see on the card from droid file manager are only the droid files.
Update: After moving the files on the phone while in WM, now i can see them in Android also... for now I will update it if android deletes them or something...
Click to expand...
Click to collapse
Glad you got it sorted out, yeah mounting your sdcard while running an SD Android rom has never been the most reliable. I would definitely suggest doing it in WinMo from now on to avoid any issues

[Q] Android on SD and partitions etc NO CARD FOUND

Hello,
I am looking for some advice with regard to a speciifc problem I have with my HD2 which is running Android from SD using haret.exe etc to start the system from within Windows Mobile 6.5. The android files are currently held on a 8GB sandisk card. I have prefered this method of using android basically because I find it useful to remove the SD card and create a backup of the files onto my PC, which gives me peace of mind before installing new tryout software, just incase something goes wrong, I know I have the option to go back to a working system very quickly by reloading the files back to the SD card from the PC backup.
Recently I have been thinking that it might be easier if I could backup the files using the phone directly, so I decided to buy a 16GB card in order to partition it into two virtual 8GB drives and load my existing android os files onto one partition, whilst using the second partition to save a backup of android. I thought I should be able to create a backup of android from within WM6.5 instead of having to remove the card and rely on a PC all the time to do this job.
So, using MiniTool Partition Wizard Home Edition, I formatted and partitioned the new 16GB SD card, I used FAT32 for each partition and proceeded to copy my android files to the first partition of the new card. I installed the card into my HD2 and started the phone up which booted into WM6.5
From within WM6.5, I used the file explorer and could see both partitions appearing as separate SD cards, the first containing all my android os files etc, and the second partition was empty of course. Just as a test I thought I would try a copy and paste of a couple of files from the android partition to the empty partition, and this worked just fine. I thought to myself I am onto a winner here : ) Read on....
With that I decided to boot into android by clicking on haret.exe.
The system started to boot as normal and everything appeared to be going very very well. Booting completed and the system was ready to use..... Then I thought I would have a look around and see if it was running ok. OH DEAR.... It was reporting that it couldn't find the SD card, even though it had booted from it ! All my files and folders inaccessible and any programs that had been moved to SD card wouldn't start up or were missing from the list of installed apps. I still cant understand why the system has booted from an SD card that it cannot find once the system has booted......
This whole excercise was basically motivated by the need to be able to backup and restore the system from one partition to the other without the constant need to remove the SD card and do the job from a PC. (Constant removal of the SD card is starting to bother me incase I end up wearing the card slot out)
So basically my question is can this be done using my existing android install? (I wouldn't want to start again and install from scratch because the system is highly customised, and has took me a long time to get where it is now) I want to be able to have two partitions on my SD card, one which boots, runs android and holds all my files associated with android, and a second parition which I can use to create and restore a backup from within WM6.5.
This is not a desperate requirement, but I feel it would be a lot better than needing to rely on having my PC to hand all the time. This idea has come from my longstanding history of creating backups using GHOST and similar applications in Windows XP. I would like to do the same with my phone. Obviously I would still periodically make a backup to the PC for safekeeping but it would be more convenient to do it with the phone itself.
Any advice on where I am going wrong would be very useful. Also if you can suggest any other ways of making a strong reliable backup that makes an image of 'EVERYTHING' as is from within android directly, please let me know. I have had a look at Titanium backup, but not sure if it would make a mirror image of 'EVERYTHING' the way I would like to do it (like Ghost does in windows). The way I am doing it at present works fine, except for having to constantly remove the card and rely on having a PC about.
Oh by the way the android version on my SD card is Froyo 2.2 incase this matters (I have never bothered upgrading because it works and does what I need it to do)
Many Thanks
Tony
Brookbond said:
Hello,
I am looking for some advice with regard to a speciifc problem I have with my HD2 which is running Android from SD using haret.exe etc to start the system from within Windows Mobile 6.5. The android files are currently held on a 8GB sandisk card. I have prefered this method of using android basically because I find it useful to remove the SD card and create a backup of the files onto my PC, which gives me peace of mind before installing new tryout software, just incase something goes wrong, I know I have the option to go back to a working system very quickly by reloading the files back to the SD card from the PC backup.
Recently I have been thinking that it might be easier if I could backup the files using the phone directly, so I decided to buy a 16GB card in order to partition it into two virtual 8GB drives and load my existing android os files onto one partition, whilst using the second partition to save a backup of android. I thought I should be able to create a backup of android from within WM6.5 instead of having to remove the card and rely on a PC all the time to do this job.
So, using MiniTool Partition Wizard Home Edition, I formatted and partitioned the new 16GB SD card, I used FAT32 for each partition and proceeded to copy my android files to the first partition of the new card. I installed the card into my HD2 and started the phone up which booted into WM6.5
From within WM6.5, I used the file explorer and could see both partitions appearing as separate SD cards, the first containing all my android os files etc, and the second partition was empty of course. Just as a test I thought I would try a copy and paste of a couple of files from the android partition to the empty partition, and this worked just fine. I thought to myself I am onto a winner here : ) Read on....
With that I decided to boot into android by clicking on haret.exe.
The system started to boot as normal and everything appeared to be going very very well. Booting completed and the system was ready to use..... Then I thought I would have a look around and see if it was running ok. OH DEAR.... It was reporting that it couldn't find the SD card, even though it had booted from it ! All my files and folders inaccessible and any programs that had been moved to SD card wouldn't start up or were missing from the list of installed apps. I still cant understand why the system has booted from an SD card that it cannot find once the system has booted......
This whole excercise was basically motivated by the need to be able to backup and restore the system from one partition to the other without the constant need to remove the SD card and do the job from a PC. (Constant removal of the SD card is starting to bother me incase I end up wearing the card slot out)
So basically my question is can this be done using my existing android install? (I wouldn't want to start again and install from scratch because the system is highly customised, and has took me a long time to get where it is now) I want to be able to have two partitions on my SD card, one which boots, runs android and holds all my files associated with android, and a second parition which I can use to create and restore a backup from within WM6.5.
This is not a desperate requirement, but I feel it would be a lot better than needing to rely on having my PC to hand all the time. This idea has come from my longstanding history of creating backups using GHOST and similar applications in Windows XP. I would like to do the same with my phone. Obviously I would still periodically make a backup to the PC for safekeeping but it would be more convenient to do it with the phone itself.
Any advice on where I am going wrong would be very useful. Also if you can suggest any other ways of making a strong reliable backup that makes an image of 'EVERYTHING' as is from within android directly, please let me know. I have had a look at Titanium backup, but not sure if it would make a mirror image of 'EVERYTHING' the way I would like to do it (like Ghost does in windows). The way I am doing it at present works fine, except for having to constantly remove the card and rely on having a PC about.
Oh by the way the android version on my SD card is Froyo 2.2 incase this matters (I have never bothered upgrading because it works and does what I need it to do)
Many Thanks
Tony
Click to expand...
Click to collapse
Android looks at storage (and cards and file systems) differently. Assuming you created the partitions okay, you would have to use the Linux mount command (sorry, more reading).
A simpler way to accomplish your goal would be to have everything in one partition on the card. Create a folder and call it "Backup_Folder" or some other name meaningful to you. You will be able to copy/paste in Windows or Android.
Having said that you might want to read more about NAND installations when you have time. It would likely run better and give you more choices. Although a learning curve, once mastered it is as simple and safe as what you are now doing.
---
Junk: something you have kept for years, and thrown away two weeks before you need it...

Categories

Resources