Bit of a noob here, got a quick question! - HD2 Android Q&A, Help & Troubleshooting and Genera

So I just bought a HD2 last week, after a little trial and error I managed to install this ROM http://forum.xda-developers.com/showthread.php?t=1117787 following the guide in the thread.
Every thing is running fine, no bugs, really fast and am really pleased with the phone and rom.
The only thing that I am a little unsure of, is that looking around the forums at other roms and also in the MIUI forums I see a lot of people talking about needing specific cache/partition/swap (not exactly sure which) sizes to run each ROM, in the MIUI forum it says "rom need to be at 150mb for magler/cLK to work right."
But following the guide for the ROM there is no mention of this an I did not do this step, the only thing I did was use CWM to create a EXT and swap (just chose sizes I thought would suffice) to get apps2sd to work once I had installed the rom.
Now I know the ROM runs fine but my question is will it run any better if I created the correct sized cache/partition/swap (whatever the hell it is!!)?
Sorry for sounding such a noob but this phone is a little different from my old hero to install ROMs on

When you flash clockwork mod you can edit the size of the system.
Open the folder of clockwork mod you downloaded and edit flash.cfg file with notepad and change system size to 150M .
That´s it

When you flash clock work mod???
As far as I can tell CWM just runs of my SD card (if I wipe the files off the SD card that are provided with the rom, it doesnt load CWM when I hold the power button then choose the number one option)
This is what I dont get, is CWM supposed to be permanently flashed to the nand as well, like the ROM is? And if it does just run off the SD, then why does it need a certain system size and what does this do?

Okay i think i have to write much now
Okay first you flash magldr (it´s the ´base´)
then you flash Clockwork Mod via USB Flasher option in magldr:
"For MAGLDR 1.13, booting from NAND:
Download the file attached
Download a partition layout incl. recovery from this thread which fits your ROM you want to use best and unzip it into "C:\recovery" for example
Copy over the recovery image file from inside the zip archive into this folder "C:\recovery", delete existing "recovery-raw.img" and rename copied image file to "recovery-raw.img"
Flash the recovery and partition layout using "DAF.exe" as usual and described in the thread of raiderx or the ROM provider
Boot Recovery with menu point "8. AD Recovery"
You're done"
Go here to get it :http://forum.xda-developers.com/showthread.php?t=987531
Before flashing it edit the flash.cfg file like i described it before ,then flash the .zip ROM..

Thanks for the detailed reply, so I'm gathering that this will install CWM onto my nand, but as I have the ROM running fine and don't really mind that CWM runs from the SD card, are there any benefits to doing this?? And will I lose some storage space on the phone if I do this?

you can use the sd version too
I suggest that when you change your ROM next time ,use the nand version with the right partition .

Related

[Q] How to Access a NAND filesystem without boot?

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.

Want to change ROM but confused about a few things.

Hi.
After getting my HD2 last week I tentatively but successfully flashed my first ROM, which was the Rafdroid 4.0.2.
I had correct radio.
I installed HSPL 2.08.
I installed MAGLDR 1.13
I got the Rafdroid ZIP file
Prepared SD card with Primary Partition and 1GB ext3 partition.
Downloaded the 400MB CWM partition and flashed to HD2
Then installed the Rafdroid Zip from SD card via CWM.
Everything seemed to go fine and I've been using the Rafdroid for a week. But now I want to try a new ROM, specifically the NexusHD2-Gingerbread V2.7 ROM.
Now I'am a bit unsure on how best to proceed still being new to the world of NAND. A few things in the Nexus ROM thread confuse me.
Installing CWM_Recovery_for_NexusHD2 (135MB system and 2MB cache)
Does this mean I need to reflash to CWM partiton size 1.3v 150MB? I'm unsure what the 2MB cache means.
Enter ClockworkMod Recovery when you're on MAGLDR 1.13 (hold "Power" button during boot) and select "AD Recovery" or "Boot AD SD" (if ever copied CWM's initrd.gz and zImage to SD).
The first part of this I understand but I don't know what the bold bit is. Do I need to copy these files to my sd card? I didn't do anything like this when I flashed Rafdoid.
Thanks for your time. Hopefully a few pointers can get me on my way
Yes, reflash cwm but with a different partition layout.
(look in cwm folder find flash.cfg, open it in notepad, you will see the numbers to change)
The bit in bold - ignore that, there are two types of cwm, one that installs to the nand, like you have, and one that runs from sd, so ignore the sd bit.
So,
Into magldr,,
usb flashing,,,
flash the new layout with the sizes the rom suggests, (you can tinker with your own sizes as you get used to changing, it's the system size that is important, a few meg bigger than the unzipped size of the system folder in the rom.zip)
When that completes, back into magldr,
Ad recovery (option 8 I think) to boot cwm, and flash the rom.
You can set the system size to what you like, so long as it is bigger than the roms system folder, but anything over is wasted, it doesn't count towards internal storage, so if the rom says 135 and you flash 150 layout, there is 15meg wasted space. (that being said, 150 is a good size to use, since quite a few roms use that or smaller,, sense free roms will mostly all fit in 150 layouts,) meaning you can switch between them without flashing cwm again. Also means you can restore cwm backups from any of them into that layout, so you can set one up, take backup, flash another, take backup, flash a third, then any time restore either of the backups.
Use flash.cfg to change partition.. Btw. I read in NexusHD rom topic you need to flash 135MB system and 2MB cache.
About the second problem:
Just make sure you have zipped rom on your sd card, enter MAGLDR, select AD Recovery and flash zip.
I think the second way is possible if you manually copy those files, never tried it.
Hi Sam and volv.
Many thanks for taking the time to answer my queries!
Should I get rid of the Rafdroid sd card layout and just re format the card to FAT32? I don't think I'll be going back to it.
Another thing about the backup - where are they stored - in the NAND memory or on the sd card for loading back into NAND?
Everything else you've posted has been very clear and super helpful. I'll definitely be a lot more confident at flashing the ROM tomorrow!
Thank you.
Warren_Orange said:
Hi Sam and volv.
Many thanks for taking the time to answer my queries!
Should I get rid of the Rafdroid sd card layout and just re format the card to FAT32? I don't think I'll be going back to it.
Another thing about the backup - where are they stored - in the NAND memory or on the sd card for loading back into NAND?
Everything else you've posted has been very clear and super helpful. I'll definitely be a lot more confident at flashing the ROM tomorrow!
Thank you.
Click to expand...
Click to collapse
Hi,
Before starting anything,BACKUP YOUR STUFF.
Go to ad recovery>backup and restore and make a backup of your current system and data.This is stored on your sd card in clockworkmod/backup.
Next ,flash your new partition.
Then go to ad recovery and wipe data,cache partition,and dalvik(advanced)
Then go back and choose install zip from sd card(having placed your new ROM zip on the root of your sd card using a card reader)
Most roms support using the ext partition, so definitely keep it.
Before you flash, in cwm, do a 'wipe data/factory reset','wipe cache', and then 'advanced - wipe dalvik cache'. This will clear out the data and such from the previous rom, so no need to format it. (there may be some leftover folders from certain apps in the fat32 partition, you can manually delete them as and if necessary, shouldnt cause any problems)
backups get saved to the sd card, in a folder called clockwork, so be sure and back that up if you plan on formatting your sd card.
Hi again.
I just want to say the flash went like clockwork (no pun intended ) The NexusHD ROM has a really nice feel to it. Its my first taste of stock Android and I like it.
I was going to sell the HD2 and keep my old Hero, but I'm not so sure now after trying NEXUS HD ROM.
Hmmn decisions decisions.
Once again thanks for all your help. It definitely filled in the missing blanks.
Ta Ta
you can use every flash.cfg and change the values to the needet. Run the flash tool and after that flash the zip via recovery

[Q] I am very confused!!!!

Since some days and i 'm downloading ROMS EU or others.
I become very confused as i'm looking for ROM that can flashed easy way as attached here that 1st snap-shot shows that after extracting ROM downloaded that there is no file DFA.EXE to run but instead of that all there are folders.
although installation instructions said that run DFA.EXE.
I did not see that file except in one and old version.
I need to have newest version.
Here i flashed my HD2 within 10 minutes and it was very good exp to this transform to android and no more windows!!!!
Guys,
How can i have a flash that contain DFA.EXE and it does not rely on SD
I downloaded 3 ROMS but all of them are folders with no DFA.EXE is there some ways that to know if ROM file has a DFA.EXE file instead of downloading and waste my time as my connection is little bit slow!!!!.
My HD version is MIDDLE EAST
The rom you opened in second Screenshot doesn't use dark forces flasher.
You will have to flash a recovery (clockwork mod). And flash the rom via clockwork mod.
It makes flashing much easier and you can make backups etc.
For tutorial see the android nand section -> roll up sticky.
Look out for how to flash your first rom and clockwork mod.
Hope that helps you
Sent from my HD2 using xda premium
It makes flashing much easier and you can make backups etc.
Click to expand...
Click to collapse
Did you miss the bit where he says he wants one that doesn't rely on SD card?
@OP No there are very few roms that use daf.exe, nearly all use cwm and SD card.
You could learn how to load a cwm rom into the android sdk on the PC, then dump the system and boot folder to images and replace the system and boot images in the old daf rom folder, remembering to adjust flash.cfg partition size for the new system size.
samsamuel said:
Did you miss the bit where he says he wants one that doesn't rely on SD card?
@OP No there are very few roms that use daf.exe, nearly all use cwm and SD card.
You could learn how to load a cwm rom into the android sdk on the PC, then dump the system and boot folder to images and replace the system and boot images in the old daf rom folder, remembering to adjust flash.cfg partition size for the new system size.
Click to expand...
Click to collapse
Oh yes but he maybe he will notice that cwm is a very useful flasher etc.
Sent from my HD2 using xda premium

[Q] Installing ROM [NAND] - don't have DAF.EXE

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.

Trying to install CWM from sd SD kernel failed

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!

Categories

Resources