I want to re-partition my NAND, and don't have windows around. So I downloaded cwm-sd.zip and cwm.zip. I extracted cwm-sd.zip to the root of my sd card , copied cwm.zip with appropriate flash.cfg inserted. I will reboot, go to Mahler, ad sd. (As described)
But I will get sd kernel open failed.
I try with the latest stable clockworkmod. 5.0.26
Any ideas what the problem might be.
I want to repart nand only, so any other ideas not including windows pc are welcome, I have pc with Ubuntu on it.
Sent from my HTC HD2 using xda premium
1st-sorry, don't know why its not entering cwm
But
2n- it doesn't work like that. you can't repartition magldr from SD. If it did boot "ad SD" it would run cwm, nothing more. The SD cwm is so you can backup/flash roms without having nand cwm, but it relies on the nand already being partitioned.
If you want to partition from SD use clk instead of magldr.
I have a working CWM installed. I just want to re-part, really.
According to this thread,
http://forum.xda-developers.com/showthread.php?t=987531
it seems this should be possible. I dont want to re-install CWM though, I just want to re-part. I can cope with terminal and adb , I think, and these options are (I think) available under linux, but I dont know how to do it
Well, I disagree, but hey, you have the info. I'll be interested in reading your how-to if you manage it.
(Also, from your other threads you seem not to have noticed that partitioning also installs cwm at the same time)
deckoff said:
I have a working CWM installed. I just want to re-part, really.
According to this thread,
http://forum.xda-developers.com/showthread.php?t=987531
it seems this should be possible. I dont want to re-install CWM though, I just want to re-part. I can cope with terminal and adb , I think, and these options are (I think) available under linux, but I dont know how to do it
Click to expand...
Click to collapse
Even with this link i failed at setting up ADB on my Ubuntu machine but you may have better luck than i.
I am almost 100% sure I managed to do this way back in time. What I don't know is if I can use adb to partition NAND , and if so, how. Not to mention that the phone is not the typical android phone.
Sent from my HTC HD2 using xda premium
samsamuel said:
Well, I disagree, but hey, you have the info. I'll be interested in reading your how-to if you manage it.
(Also, from your other threads you seem not to have noticed that partitioning also installs cwm at the same time)
Click to expand...
Click to collapse
I have noticed it, I assume it will install over the existing one...
I dont have any info, I just cite a source. The process apparently fails for me, so I am stuck. I am probably misunderstanding it.
You CAN install cwm over the current one, by booting into cwm and then using flash zip from sd card, and selecting the new cwm.zip from your sd (just like flashing a rom), BUT this doesn't partition anything, it is just loading the contents of the zip into the recovery partition that already exists.
trust me, if you want to partition the phone without a pc, you need to be using cLK.
From the link above:
For MAGLDR up to 1.13, booting from SDCard (SD-files version):
Download the file attached
Extract the files to the root directory of your sdcard
Start recovery within MAGLDR with menu point "AD SD"
Recovery should start
You're done
Click to expand...
Click to collapse
What exactly is this used method used for? It is described in the Install CWM methods(if I am not wrong)
Flash.cfg files in clockworkmod.zip are used to re-part data and user partitions. What happens if I re-flash CWM.zip with custom flash.cfg file inside via method at the top of the post. Or just flashing CWM.zip with flash.cfg via the installed CWM. What and when reads the flash.cfg files and act accordingly?
It is not a question of trust, I would love to know the basic workflow of the process
The cwm that comes with a flash,cfg is for flashing to nand via usb - magldr - usb flasher, or the cLK equivalent.
the cwm-sd version, and the process outlined in your quote, is used to boot into a valid working copy of cwm from sd card instead of the nand recovery partition.
For example if your nand version of cwm gets corrupted, .. for example trying to use rom manager under magldr, corrupts the nand copy of cwm, so you can load to the sd version of cwm, and use that to do a backup of your rom and/or reinstall cwm into the nand partition. It does NOT let you repartition the nand in the process. The partitioning happens via teh daf.exe and flash.cfg, , its daf.exe that does it. cwm just works with teh contents of teh partitions, not teh actual partitions.
If you were really tight on space, you could omit the nand recovery partition altogether and only ever run cwm from sd, gaining a whole FIVE MEG to put towards the data partition!
Related
Hi guys,
Ive been reading about Clockwork recovery (watched the videos etc.) but still have a question.
I am using this rom on my HD2: NexusHD2-Froyo V1.9b NAND
I have configured my phone with all my personal settings, app, etc. and I want to install clockwork recovery so that I can install Apps2SD (using the .zip installation file). My 8GB SDcard is already partitioned with 1GB ext4 partition following the 7GB fat32 partition.
The question is can I install clockwork recovery without having to flash a new rom afterwards thus loosing all my current configuration? Or installing clockwork (copy files to SD root, then flash etc) does not affect current installed NAND rom?
Sorry if I was supposed to get this info through the various threads - I just could not find a clear answer.
Regards,
F
copy over the 2 files it tells you to and follow the insteructions, it wont do anything tothe existing installtion, well it didnt to me anyways
Richy99 said:
copy over the 2 files it tells you to and follow the insteructions, it wont do anything tothe existing installtion, well it didnt to me anyways
Click to expand...
Click to collapse
cheers m8
Hi guys,
I have a problem with my HD2. I have MAGLAR 1.13 and NAND rom from gauner "[23 JAN] gauner1986's Z-FI 0.1 (Desire Z based) [KERNEL = my own ]". + rafpigna 1.70OC kernel.
Everything works great but GP FIx was kinda slow. So I tryed to follow this trhead http://forum.xda-developers.com/showthread.php?t=900631&page=14 and I copied the sensors.bravo.so gps.bravo.so to /system/lib/hw/. I didn't replaced nothing because these files were not there. Also changed permissions from 644 to 777 on /system/lib/libgps.so. And rebooted... (this is the ref http://forum.xda-developers.com/attachment.php?attachmentid=490930&d=1295171058)
Now after load the maglar and kernel, when it shows the "HTC Quietly brilliant" phone just won't leave this stage.. and won't boot... just cycles on this stage.
I need to access filesystem to remove those files from it. How can I do it without having the phone booted?
Tks,
pmjcr
Can I do it from AD Recovery?
I can see that with MAGLDR 1.13 I have a AD Recovery mode. And if I put a zip on root of sdcard I can make ate least something... What do I have to put on the zip file in order to delete these files?...
Also see that in these zips there is a META-INF\com\google\android\update-script
In this script usually I has these commands
ui_print("Formatting System..."); to print something to the screen
format("MTD", "system"); I believe this is for formating partition
mount("MTD", "boot", "/boot") This should be to mount....
What I need is a "rm" command/syntax to remove sensors.bravo.so gps.bravo.so from /system/lib/hw
someone??...
I think I've found...
delete DATA:etc/hosts--------------delete("/data/etc/hosts");
on http://forum.xda-developers.com/showthread.php?t=936175
will try... fingers crossed
Your new sensors file may be causing the issue.
Since it appears you have Clockwork recovery, do a NAND backup then a file system format, then re-flash your ROM.
You can at least then recover the data area should this fix the issue.
I am not having any luck... this update.zip from root of SD is only for Clockworkmod and I don't have it... only magldr... As in menu i've seen "AD Recovery" I though it would work.. but no...
What is the AD Recovery for on MAGLDR and how can I use it? When I select it I will have "no boot sources".
Ok... I'm a little tired of searching... but I've realized that I need a way of doing an incremental update via DFT method. Anyone knows how?...
I really don't want to loose my s4ettings from my phone... everything was working so great... just the GPS was slow on fix... buááááááá
If you are going to continue to ask several questions in this thread between replies I suggest you edit one post over and over. It is difficult to help when you're having to quote many different posts.
If you don't have Clockwork recovery installed then you have a problem - sort of. You won't have AD Recovery, and installing it will wipe your current ROM.
My suggestion is you download CWR 1.12 which is the SD Card method, put the zipped files in the ROOT of your SDCARD and use the SD AD or SD Android boot option in MAGLDR. This should give you the option to backup your ROM and flash a new .zip ROM.
dkl_uk said:
If you are going to continue to ask several questions in this thread between replies I suggest you edit one post over and over. It is difficult to help when you're having to quote many different posts.
If you don't have Clockwork recovery installed then you have a problem - sort of. You won't have AD Recovery, and installing it will wipe your current ROM.
My suggestion is you download CWR 1.12 which is the SD Card method, put the zipped files in the ROOT of your SDCARD and use the SD AD or SD Android boot option in MAGLDR. This should give you the option to backup your ROM and flash a new .zip ROM.
Click to expand...
Click to collapse
Thanks for your adviceI was already on that stage trying a SD built. I've loaded and android from SD but getting an image required some more additional steps. I ended by installing a new built (the DL Desire one) that has a recovery method.
Thanks for your help.
Rgds,
I am curious about the topic in the title as well. I have access to a Mac and PC. Some sort of "USB" mode that allows access to the internal memory and not just the memory card.
I have been attempting to get WP7 working on my hd2, but have given up as I just can't get the thing to activate. So I have been trying to put android back on, but nothing I try installing now comes out bootable. I've even tried putting it back to an official rom before installing (or trying to) android. whereas that rom works, the android install still fails to boot.
Anyone got any suggestions?
which rom are you trying to install? cwm or daf install?
cwm install, imilka's vision sense.
Hi,
I have HD2 with 3.03.0000 SPL, 2.15.50.14 radio, ROM 3.14.479.2 (04666) WWE.
I tried to boot SuperRAM_FroYo_V1.5.
Everything is ok, but when green HTC logo appears, phone is restarting to Windows... Can someone tell me what I need to do to boot Android ? I tried to search, but I dont find answer.
Thanks.
Looking into it farther, it's looking like when i try to install from clockworkmod recovery (3.0.0.5) that I have booting off my sd-card, the install goes far too wuick. it doesn't even create partitions or anything. Could it be the wp7 rom caused some areas of the phone to be 'locked' or something similar?
borda01 said:
Hi,
I have HD2 with 3.03.0000 SPL, 2.15.50.14 radio, ROM 3.14.479.2 (04666) WWE.
I tried to boot SuperRAM_FroYo_V1.5.
Everything is ok, but when green HTC logo appears, phone is restarting to Windows... Can someone tell me what I need to do to boot Android ? I tried to search, but I dont find answer.
Thanks.
Click to expand...
Click to collapse
Same is happening with 1.42.000 & 2.15.14 radio.
SpiritWolf said:
Looking into it farther, it's looking like when i try to install from clockworkmod recovery (3.0.0.5) that I have booting off my sd-card, the install goes far too wuick. it doesn't even create partitions or anything. Could it be the wp7 rom caused some areas of the phone to be 'locked' or something similar?
Click to expand...
Click to collapse
You have reformatted your SD Card to original size after using WP7, have you? If not, download Panaspnic SD Formatter and format your SD card using that.
Are you guys making sure you have right CWR system layout size for the ROM you're trying to flash? That's usually the problem if it won't get past the first Android bootscreen.
Task 29
Flash radio
Reformat sdcard
Flash magdlr1.13
Flash cwm recovery with correct partition size.150, 200mb etc.
Flash rom
Tbe task 29 and sdcard reformat should revers any possibilities of something still hanging around from wp7
2.15 radio
2.2miui stock via cwm
chrisgto4 said:
Task 29
Flash radio
Reformat sdcard
Flash magdlr1.13
Flash cwm recovery with correct partition size.150, 200mb etc.
Flash rom
Tbe task 29 and sdcard reformat should revers any possibilities of something still hanging around from wp7
Click to expand...
Click to collapse
Only use this if just flashing the correct CWR partition won't work. There's also no need to reflash the radio. Task 29 only formats the NAND area.
Yeah, I did a full set of partitions on my sd card. not sure it was needed as wp7 didn't recognise the card.
Depends on which task 29 he finds in his search. Also if this is somehow radio related (seriously doubt) why not reflash it anyways, not gonna hurt. Since we dont know exactly whats wrong why not just redo eveything. Only takes about 5 minutes. And pretty much guaranteed to boot
2.15 radio
2.2miui stock via cwm
SpiritWolf said:
Yeah, I did a full set of partitions on my sd card. not sure it was needed as wp7 didn't recognise the card.
Click to expand...
Click to collapse
Full set of partitions? Meaning you've got a FAT32 first partition and a Ext3/4 second partition? What CWR do you have installed though? It might be the wrong size for the ROM you're trying to flash. You can check what size CWR partition you have by opening the flash.cfg file (inside of your CWR folder) and find the line with 'system ya | 300' etc.
SpiritWolf said:
Yeah, I did a full set of partitions on my sd card. not sure it was needed as wp7 didn't recognise the card.
Click to expand...
Click to collapse
Oh. Guessing u have a leo512 and partitioning sdcard for apps2 sd. Wp7 still got ahold of your sdcard and did something.
2.15 radio
2.2miui stock via cwm
Yeah. I have the partitions set up as follows
1. Fat32 13gigs (ish)
2. Ext4 1gig
3. Ext4 350mb
3. linux swap 150gig.
the version of my clockworkmod recovery thing is v.3.0.0.5 and is running off my sd card, not actually installed on the phone. This has all worked for me fine until i put wp7 on, now nothing seems to be working. sigh.
Running off your SD card as in the intrid and zImage file are in there? I suggest you just update your CWR to the newest version (1.3). It doesn't need those files to be copied to the SD Card and runs off NAND. In MAGLDR it has it's own menu too. (AD Recovery). For me, I just have a load of different recovery folders with different partition sizes but it's not needed. I suggest you download the 150M CWR and then just change the partition size to whatever is needed. You just change the System ya | -150- to whatever size is needed. It'll probably be in the first post of the ROM you're downloading.
SpiritWolf said:
Yeah. I have the partitions set up as follows
1. Fat32 13gigs (ish)
2. Ext4 1gig
3. Ext4 350mb
3. linux swap 150gig.
the version of my clockworkmod recovery thing is v.3.0.0.5 and is running off my sd card, not actually installed on the phone. This has all worked for me fine until i put wp7 on, now nothing seems to be working. sigh.
Click to expand...
Click to collapse
You need to format your whole sdcard. Whatever your using to format isnt seeing everything. Some partition types are only seen by linux. What partition tool are you using?
2.15 radio
2.2miui stock via cwm
I used gparted to give it it's fresh lot of partitions
Have you tried what I said to do?
Ok, got recovery flashed in and running out of magldr. When it comes to partitioning the sd card, what is the advantage of 4 partitions over 3, as some rom threads say to partition 4, some say 3.
You mean an Ext3/4 partition? I honestly don't know and I just use an Ext3 partition as it's easier to do on XP. Both work though fine though.
Have you flashed your ROM yet?
Good day fellow HD2 owners,
I'm truly sorry but just recently got myself a HD2 and been trying to install and updated version of a nice ROM.
I was able to get the following installed
Radio 2.15.50.14
HSPL 2.08
MAGLDR 1.13
ClockworkMod Recovery 5.0.2.6
and then i found a DAF.exe file - (i had to leave the phone in flasher mode and the .EXE file did the rest). As you probably already guest the ROM is a bit out of date. So i tried to install a newer one. Well i came a cross many, many ROMS. But they seem a bit more advance and tbh i dont quite understand yet.
I been wanting to install the following ROM - http://forum.xda-developers.com/showthread.php?t=1298188 - but i just dont know what to do after i donwload the file since there is not DAF.EXE file in there.
Also whats the deal with all the partitions on all that jazz??? If there is a tutorial or posts out there i will appreciate if someone could point me in the right direction.
Thank you in advance.
daf.exe is basically the tool that partitions the NAND into separate sections, then it loads the image for each section into that section, , bootloader, recovery, data (blank) cache (blank) and most importantly, system.
But nowadays most roms don't use that method, instead you set up the partition layout the way you want it (it tells you in each roms first posts what system size to choose, this is teh important one, teh other sizses rarely need changing) by installing clockwork (which still uses a daf,exe to install , but only fills the recovery partition, all others stay blank) I'd recommend you get the nand tool-kit for partitioning.
Then, you boot into magldr, choose 8-AD recovery which runs the clockwork recovery program,. and from there you choose flash zip from sd card, , browse to the rom.zip you downloaded and put on your sd card, and the images for the bootloader and system partition are loaded into the blank partitions you created.
The plus side of doing it this way is that. assuming you aren't changing the system size (same sized rom) you can flash a new rom without needing daf.exe, and since daf.exe requires a PC, doing it this way means no need for a computer. You can downlaod the rom onto your sd straight through your phone and flash it on the bus, or at work, whatever.
Most roms come in two flavours, cLK and magldr (don't confuse cLK with CWM, two different things) you have magldr, so be sure and get magldr version.
Also, don't forget to set up an EXT partition on your sd card before you flash teh rom (You only need to do this once, not every time you flash) and the system will automatically use it as internal storage.
What I have:
MGLDR 1.13
CWM - 5.0.2.6
Ubuntu working
What I want:
To enlarge my system part from 155 to 200 MB
What I tried:
HD2 NAND toolkit under wine - woll not work cos USB drivers cant be installed ( Or I dont know how. Emulation starts OK)
ClockWorkMod SD version:
I tired:
For MAGLDR up to 1.13, booting from SDCard (SD-files version):
Download the file attached
Extract the files to the root directory of your sdcard
Start recovery within MAGLDR with menu point "AD SD"
Recovery should start
You're done
Click to expand...
Click to collapse
but all I got is
SD kernel open failed
Click to expand...
Click to collapse
SD card is 8GB, class 4 (I suppose). Cant swear how exactly it was formatted, used gparted default options.
Any help appreciated
This probably isn't the answer you were looking for, but cLK 1.5 supports repartitioning on the device. It can also be installed via sd card. It's aim (amongst other things) is to completely remove the need of a PC, in case you have a broken USB port.
cLK thread : http://forum.xda-developers.com/showthread.php?t=1114053&page=96
The only thing that is holding me back from clk is the rmnet issue. I will probably find a pc and do the re-part that way, or try with a smaller, freshly formatted 2 gb SD card.
will report if I succeed with the SD mgldr method.
Sent from my HTC Desire HD using xda premium
MAGLDR + Recovery
When you are flashing the recovery (after flashing the MAGLDR), there is a flash.cfg file (text-file), which configures the partitioning. You can simply change the corresponding values before flashing.
Celestion said:
When you are flashing the recovery (after flashing the MAGLDR), there is a flash.cfg file (text-file), which configures the partitioning. You can simply change the corresponding values before flashing.
Click to expand...
Click to collapse
I know that. The problem is that the kernel, which should boot the install procedure of CWM( and the process of re-partitioning) never actuall starts...