Task29 - Should or shouldnot? - HD2 Android Q&A, Help & Troubleshooting and Genera

I task29 everytime when i flash new rom. But i heard somewhere task29 make HD2 has bad blocks. Is that right?
I think when task29 it format NAND so i don't need to "wipe data, wipe cache, wipe dalvik-cache" because there are nothing on NAND. Right?
IMO (i did before & until now) the way to flash new rom:
Format SDCard.
Copy rom into SDCard in root folder.
Task29.
Install MAGLDR.
Partition.
Install rom from zip file.
Install addons (if any).
Reboot
Wait at least 10 minutes.
Config initial setup.
Wait at least 5 minutes after screen off.
Reboot.
Wait at least 5 minutes.
Use normally.
If don't use task29 when flash a new rom:
Format SDCard.
Copy rom into SDCard in root folder.
Partition.
Wipe data.
Wipe cache.
Wipe dalvik-cache.
Fix permission.
Install rom from zip file.
Install addons (if any)
Wait at least 10 minutes after reboot.
Config initial setup.
Wait at least 5 minutes after screen off.
Reboot.
Wait at least 5 minutes.
Use normally.
If update new version of current rom:
Copy new version rom into SDCard in root folder.
Wipe dalvik-cache.
Install rom from zip file.
Install addons (if any).
Fix permission.
Wait at least 10 minutes after reboot.
Config initial setup.
Wait at least 5 minutes after screen off.
Reboot.
Wait at least 5 minutes.
Use normally.
Please correct me if i'm wrong. Thanks.
I searched in forum & found many guides to flash rom but they are little different. English is not my native language. Sorry for my bad English.
Which is the right way to flash?
Thank you very much. Appreciate every replies.

i guess when you do a full wipe, ther is no need to do any other cleanig..
i always perform a full wipe, when flashing NAND roms and never had bad blocks, except very few times,where i think it's ROM's fault..
i hope i helped a little..

6oltsqs7 said:
I task29 everytime when i flash new rom. But i heard somewhere task29 make HD2 has bad blocks. Is that right?
I think when task29 it format NAND so i don't need to "wipe data, wipe cache, wipe dalvik-cache" because there are nothing on NAND. Right?
IMO (i did before & until now) the way to flash new rom:
Format SDCard.
Copy rom into SDCard in root folder.
Task29.
Install MAGLDR.
Partition.
Install rom from zip file.
Install addons (if any).
Reboot
Wait at least 10 minutes.
Config initial setup.
Wait at least 5 minutes after screen off.
Reboot.
Wait at least 5 minutes.
Use normally.
If don't use task29 when flash a new rom:
Format SDCard.
Copy rom into SDCard in root folder.
Partition.
Wipe data.
Wipe cache.
Wipe dalvik-cache.
Fix permission.
Install rom from zip file.
Install addons (if any)
Wait at least 10 minutes after reboot.
Config initial setup.
Wait at least 5 minutes after screen off.
Reboot.
Wait at least 5 minutes.
Use normally.
If update new version of current rom:
Copy new version rom into SDCard in root folder.
Wipe dalvik-cache.
Install rom from zip file.
Install addons (if any).
Fix permission.
Wait at least 10 minutes after reboot.
Config initial setup.
Wait at least 5 minutes after screen off.
Reboot.
Wait at least 5 minutes.
Use normally.
Please correct me if i'm wrong. Thanks.
I searched in forum & found many guides to flash rom but they are little different. English is not my native language. Sorry for my bad English.
Which is the right way to flash?
Thank you very much. Appreciate every replies.
Click to expand...
Click to collapse
I have been using Task29 on every rom install I do, it has not failed me yet. Everyone needs to use this install guide, works perfect, READ and do not miss 1 step, and it will be perfect. best thing to come out for the HD2 trust me.
http://forum.xda-developers.com/showthread.php?p=11097380

I very strongly disagree with the above post and the guide you posted. You're unnecessarily wasting time and effort and indeed repeated writing to the NAND can eventually lead to bad blocks, and the amount of times this is done is doubled if you do a full cycle with Task29. IMO, this is what should really be done when flashing a new ROM:
1. Copy ROM to SD
2. Repartition CWM
3. Flash ROM
Repartitioning CWM wipes everything anyway, so there's no point in wiping again. Really this is all that is needed, and I don't see why people do any more. I realise now that this may come across as insulting but I really don't mean it that way, I just find it a little annoying when someone posts 'do a Task29' as the first step in a guide, when it really is pointless

This is my way:
- Coppy ROM to sd card
- wip data cacth
- wip partition
- wip davich cacth
- install zip (ROM file) from sd card
- reboot
No need to format sd card
Sent from my HTC HD2 using xda app-developers app

Nigeldg said:
I very strongly disagree with the above post and the guide you posted. You're unnecessarily wasting time and effort and indeed repeated writing to the NAND can eventually lead to bad blocks, and the amount of times this is done is doubled if you do a full cycle with Task29. IMO, this is what should really be done when flashing a new ROM:
1. Copy ROM to SD
2. Repartition CWM
3. Flash ROM
Repartitioning CWM wipes everything anyway, so there's no point in wiping again. Really this is all that is needed, and I don't see why people do any more. I realise now that this may come across as insulting but I really don't mean it that way, I just find it a little annoying when someone posts 'do a Task29' as the first step in a guide, when it really is pointless
Click to expand...
Click to collapse
Thanks for your reply.
That is not a guide. Just only my way when i install new rom. In every guide of rom i see little different and i wonder is it right or wrong so i post here to get your opion.
Are there clearly documents about:
Wipe data.
Wipe cache partition.
Wipe dalvik-cache.
Fix permission.
I think when we know exactly what is wipe data, wipe cache, wipe dalvik-cache, fix permision, we can install rom in the right way.
Thanks for all your replies.

6oltsqs7 said:
Thanks for your reply.
That is not a guide. Just only my way when i install new rom. In every guide of rom i see little different and i wonder is it right or wrong so i post here to get your opion.
Are there clearly documents about:
Wipe data.
Wipe cache partition.
Wipe dalvik-cache.
Fix permission.
I think when we know exactly what is wipe data, wipe cache, wipe dalvik-cache, fix permision, we can install rom in the right way.
Thanks for all your replies.
Click to expand...
Click to collapse
You don't need to do a fix permissions. When you install a rom, the basic permissions are set through updater-script, and when you boot a rom, it is supposed to set all the permissions correctly through init.rc.
When you are coming from another rom, all you *need* to do is "wipe data/factory reset" (that option in CWM) and you are good to go.. Dalvik-cache resides in /data also (in most roms I have seen) so it is unecessary to wipe dalvik-cache again.

jianC said:
You don't need to do a fix permissions. When you install a rom, the basic permissions are set through updater-script, and when you boot a rom, it is supposed to set all the permissions correctly through init.rc.
When you are coming from another rom, all you *need* to do is "wipe data/factory reset" (that option in CWM) and you are good to go.. Dalvik-cache resides in /data also (in most roms I have seen) so it is unecessary to wipe dalvik-cache again.
Click to expand...
Click to collapse
Exactly. The only other thing you might need to do would be to repartition CWM which should wipe the data anyway.

Related

[Q] Clearing Settings

Hi,
I have an HD2 with MAGLDR and CWM. Now i want to update my Hyperdroid ROM because of some issues. The Last Time i did this, all my previous installed apps, sms and contacts are still there.
How can i make a complete clean installation of all this?
Thank you,
trial
Enter cwm
Choose wipe data/ factory reset
Flash new rom.
samsamuel said:
Enter cwm
Choose wipe data/ factory reset
Flash new rom.
Click to expand...
Click to collapse
I sugest to flash "daf.exe" application to recreate boot. And OFC from cwm partition/format SD if you want clean installation.
If you have problem with some roms, put task29 and fix permition
GL
flashing from zip overwrites the boot and system partition, and 'wipe data/factory reset' wipes sd-ext, cache, data and clears the .android folders on the fat32 partition, so unless you want to change the partition size, there is no extra benefit in reflashing cwm (which is what "flash daf.exe" means, for anyone that has only used the flashing tool) and as for task29,,, well i've always considered that to be superfluous except in times where things are genuinely wrong, and indeed doing a full "task29, cwm, rom flash" every time (some people even consider re-flashing hspl, the radio and magldr a 'clean' install ) hugely increase the load on the nand blocks, and considering the number of 'bad block' threads that have been coming up the last 6 months, keeping the number of writes,wipes and rewrites low has got to be top priority.
(course, just my thoughts, I'm no electronics engineer or dev )

Cannot flash any ROM's

Hello, I have recently been unable to flash ROM's succesfully.
I have Clockwork MOD 4.0.0.2 installed as it came with CF-Root, and I am on stock 2.3.5 KI3.
I have tried flashing several roms, and while it says install complete, whenever it restarts, it is on a boot loop, where it won't go past the Galaxy S II bit with the yellow triangle, I have to flash the stock rom again using odin to even use the phone, I have tried to flash other recovery versions, like 4.0.0.14 and 5.1.2.6 (I think it is) but they all come up with errors mounting or getting recovery.log or something, could you please help?
Did you try to do a full wipe?
Most issues can be resolved by this.
In the CWM menu chose the factory reset/full wipe. (Don't worry it won't touch your files on the internal SD card)
Do a cache wipe and in the advanced menu do a dalvik cache wipe.
Some recommend to do this procedure twice, but you should be settled with doing it once
Let me know if it helped?
theMartyMcfly said:
Did you try to do a full wipe?
Most issues can be resolved by this.
In the CWM menu chose the factory reset/full wipe. (Don't worry it won't touch your files on the internal SD card)
Do a cache wipe and in the advanced menu do a dalvik cache wipe.
Some recommend to do this procedure twice, but you should be settled with doing it once
Let me know if it helped?
Click to expand...
Click to collapse
Yeah I did all that, didn't help, the progress bar gets half way and says complete :S I have downloaded the ROMs several times aswell incase they were corrupt, still didn't help.
Take out the battery, wait a bit, put it back in. Do all the wipe and formatting procedures (perhaps twice) and format the internal sd card as well and wipe the battery stats (just to be sure)
Sent from my GT-I9100 using XDA App
Backup EFS folder 1st....
ultramag69 said:
Backup EFS folder 1st....
Click to expand...
Click to collapse
That's probably not a bad idea.
Here's how:
http://forum.xda-developers.com/showthread.php?t=1068193

[SOLVED] Task29 or multiple formats?

I've been reading .. and in my readings I've read different people saying different things . I heard running task29 a lot can cause bad blocks .. and I flash a lot of ROMs . So I created a task29 zip flash from recovery which formats all nand partitions 3 times in a row to wipe out everything . Is that good for the memory and is that enough to wipe everything clean or should I use task29 every time and not worry about that being the cause of bad blocks ? In short , which is safer ?
Sent from my HTC HD2 using Tapatalk
Well do the math,, task 29 wipes every block once, your zip wipes some three times, which would you suspect as being there times more likely to end in bad blocks?
To be honest what's the point? In 999 out of 1000 flashes its enough to do a 'wipe data factory reset' and then flash.
samsamuel said:
Well do the math,, task 29 wipes every block once, your zip wipes some three times, which would you suspect as being there times more likely to end in bad blocks?
To be honest what's the point? In 999 out of 1000 flashes its enough to do a 'wipe data factory reset' and then flash.
Click to expand...
Click to collapse
Well , in every ROM thread ive read , it says to task29 before flashing . and i thought task29 was a more "harsh" way of wiping the nand . Like a format , does it not just clear the blocks without writing to them ? I personally think either way is still "not good" for the flash memory . But i could be wrong . And i always thought there were "leftovers" from just doing a factory reset ?
In my opinion, task29 is very unnecessary.
Only do it if your device is having issues, otherwise flash roms and bootloaders directly without task29'ing.
By the way, by "task29" they mean empty-rom.nbh .. not empty-rom.zip .
As for the .zip, a full wipe does the same.
Marvlesz said:
In my opinion, task29 is very unnecessary.
Only do it if your device is having issues, otherwise flash roms and bootloaders directly without task29'ing.
By the way, by "task29" they mean empty-rom.nbh .. not empty-rom.zip .
As for the .zip, a full wipe does the same.
Click to expand...
Click to collapse
A full wipe cleans all partitions of the nand ? i thought it just did /userdata . and thank you thats what i thought task29 was . but is flashing an empty .nbh worse then running the format command ?
Let me clarify a few things for you:
Task29: removes everything off your device's internal memory, when you boot your phone after a task29 you will get stuck at bootscreen (first splash), because there is nothing on your device (no bootloader).
Under CWM:
Wipe data/factory reset is different from format that can be found in (mount & storage):
Wipe data/factory reset: does not remove your OS, it will only delete your personal data retaining your ROM intact.
But a format will completely remove your ROM and you will be stuck at the bootscreen if you do so.
Every thing under CWM does not touch your device's bootloader (cLK or MAGLDR), and they only affect the Android ROM within CWM.
Hope this help you
Marvlesz said:
Let me clarify a few things for you:
Task29: removes everything off your device's internal memory, when you boot your phone after a task29 you will get stuck at bootscreen (first splash), because there is nothing on your device (no bootloader).
Under CWM:
Wipe data/factory reset is different from format that can be found in (mount & storage):
Wipe data/factory reset: does not remove your OS, it will only delete your personal data retaining your ROM intact.
But a format will completely remove your ROM and you will be stuck at the bootscreen if you do so.
Every thing under CWM does not touch your device's bootloader (cLK or MAGLDR), and they only affect the Android ROM within CWM.
Hope this help you
Click to expand...
Click to collapse
Yes this i knew thanks though . My question is this , is it safer to wipe the bootloader off using task29 , then starting over , or is it safer to format all partitions of the NAND in CWM before changing to another ROM ?
I don't know which is safer. (or in other words, I don't know which is dangerous )
But if you must do a wipe, I'd recommend "Wipe data/factory reset" . That should do the job. (Most roms format partitions upon installation anyway so I coudn't care less )
Marvlesz said:
Wipe data/factory reset: does not remove your OS, it will only delete your personal data retaining your ROM intact.
Click to expand...
Click to collapse
it also wipes cache partition, the sd-ext partition on your sd card, and clears the .android folder on the fat32 part of the sd card. These last two are the reason many roms wont boot after flashing, even with a task29, since those two areas aren't touched by task29 (or your format zip presumably)
Im with Marvlesz, steer away from task29, , whats the use in removing magldr and cwm only to reflash it?
For me, a clean install would be ,,, cwm - wipe data factory reset - flash the new rom.
Only if the fresh rom doesn't boot after a few times rebooting (and performing a wipe data on the fresh rom, just like how in winmo it was recommended to do a hard reset straight after flashing) would i consider a task29.
Marvlesz said:
I don't know which is safer. (or in other words, I don't know which is dangerous )
But if you must do a wipe, I'd recommend "Wipe data/factory reset" . That should do the job. (Most roms format partitions upon installation anyway so I coudn't care less )
Click to expand...
Click to collapse
Okay thanks ! I wasnt sure if the single format they do upon installation was enough . Ive been getting small app crashes in some ROM's ive tried , so i formated each partition at least once before flashing the ROM and it fixed it . I remember when flashing WinMo ROMs a task29 was a must on my Rhodium . But i was pretty sure wiping the partitions in CWM was indeed good enough . I just kept getting confused when each ROM's thread said YOU MUST TASK29 so i was like well now im just confused lol . I'll mark thread solved
samsamuel said:
it also wipes cache partition, the sd-ext partition on your sd card, and clears the .android folder on the fat32 part of the sd card. These last two are the reason many roms wont boot after flashing, even with a task29, since those two areas aren't touched by task29 (or your format zip presumably)
Im with Marvlesz, steer away from task29, , whats the use in removing magldr and cwm only to reflash it?
For me, a clean install would be ,,, cwm - wipe data factory reset - flash the new rom.
Only if the fresh rom doesn't boot after a few times rebooting (and performing a wipe data on the fresh rom, just like how in winmo it was recommended to do a hard reset straight after flashing) would i consider a task29.
Click to expand...
Click to collapse
Thanks again guys !
For me clean install means first do a factory/data reset. Will clean ext, and previous roms leftover folders. Then i will go to mounts in cwm. Do format every thing i got except sd.
On next boot, magldr, cwm is there. But no boot or rom. Then from magldr, i go to cwm and install the zip. I barely had done task 29 2 times in 3 mnths, just for repartition. ( though its not needed for repartition).
Sent from my HTC HD2 using xda premium

[Q] Update Paranoidandroid from 1.1a to newest version

Is there a way to make an update from V1.1a to the newest version without a full flash? I wish to avoid a reinstallation of all Apps and settings
I installed 1.2 straight over the top of 1.1 and it worked no problem, all apps and data unaffected.
Otherwise, do a cwm backup, then clean install, then cwm - advanced restore - restore data.
So you have copied the V1.2 Zip-File on the SD card and flashed the version with 'AD recovery' in MAGLDR?
I have flashed v1.4a, from v1.1a .
I did this:
Copied the ROM to my SDCARD, Backed up current ROM (Just in case), wiped dalvik cache, installed ROM, fixed permissions ('cause I installed an a2sd script), rebooted into ROM.
(Took about 17 minutes) at first.
just done a 1.2a to 1.4a dirty upgrade, no backup/restore, just straight over the top, no fix permissions, nothing, , no problems (well, not in first 4 hours anyway)
Marvlesz said:
I have flashed v1.4a, from v1.1a .
I did this:
Copied the ROM to my SDCARD, Backed up current ROM (Just in case)
Click to expand...
Click to collapse
With wich tool do you do that?
, wiped dalvik cache,
Click to expand...
Click to collapse
How i can do that?
fixed permissions ('cause I installed an a2sd script)
Click to expand...
Click to collapse
I don't understand, what you mean with this point
Sorry for much questions and thanks in advance for your help
Marvlesz said:
... wiped dalvik cache, f...
Click to expand...
Click to collapse
Is that the item 'wipe cache partition' in MAGLDR in AD Recovery?
In cwm choose advanced and you will see wipe dalvik
Yes, i found it, thanks for your help.
Do you think additional work is to do to erase dalvik because i'm using Link2SD? If you display an app in this program the part 'Dex' seems linked to dalvik and has moved for apps which are stored on the sd card.
samsamuel said:
I installed 1.2 straight over the top of 1.1 and it worked no problem, all apps and data unaffected.
Otherwise, do a cwm backup, then clean install, then cwm - advanced restore - restore data.
Click to expand...
Click to collapse
And then you have all App, settings, etc. back on the system?
HTCdevel said:
And then you have all App, settings, etc. back on the system?
Click to expand...
Click to collapse
Yep, they never left the system, there was no wipe,,,phone running fine, on 1.2, downloaded 1.4 using phone, restarted into cwm, ran the flash, rebooted, done. I wasn't even at home, I was on the train.
Admittedly there isn't a huge amount,, maybe 10 apps, and some data, but there was no setting up to do except for the PAD /PAL stuff,, contccts, wallpaper, shortcuts, loclscreen shortcuts, all exactly as it had been 4 minutes before.
Marvlesz said:
...fixed permissions...
Click to expand...
Click to collapse
This point is currently open for me.
What does it mean?
it means start cwm and click advanced - fix permissions
have been doing update just flashing over the existing pa, no problem at all. so answer is yes.
HTCdevel said:
...
Do you think additional work is to do to erase dalvik because i'm using Link2SD? If you display an app in this program the part 'Dex' seems linked to dalvik and has moved for apps which are stored on the sd card.
Click to expand...
Click to collapse
This is, hopefully , my last open issue.
HTCdevel said:
This is, hopefully , my last open issue.
Click to expand...
Click to collapse
Ok, let me clarify a few things for you:
1- I backed up my ROM (Because I was expecting a bootloop, so I did a BU just in case, it's not necessary if you know your ROM's going to boot.)
2- I wiped dalvik/fixed permissions because I use (amarullz d2ext) which requires a clean dalvik & fixing permission, if you don't use that script, you don't need them.
3- Other than that, you can do just like sam, install the update on top of your current rom and you should be good to go.
Marvlesz said:
...
2- I wiped dalvik/fixed permissions because I use (amarullz d2ext) which requires a clean dalvik & fixing permission, if you don't use that script, you don't need them...
Click to expand...
Click to collapse
Is amarullz comparable with Link2SD, then i must do it in the same manner?
I have tried it before a few minutes, but it fails in a bootscreen with the HTC logo. Android doesn't start.
What i have done:
1) Copied the file paranoidandroid_hd2_v1.4a.zip to the SD card,
2) Enter MAGLDR
3) AD Recovery
4) Wipe Dalvik, fix permissions
5) Install Zip from SD card
6) choose Zip from SD card
7) choose the Zip and confirmed it
I have made a backup so i could restore the system and everything is like before.
Fix permissions AFTER installing the rom. There's nothing to fix until then.
Marvlesz said:
I have flashed v1.4a, from v1.1a .
I did this:
Copied the ROM to my SDCARD, Backed up current ROM (Just in case), wiped dalvik cache, fixed permissions ('cause I installed an a2sd script), installed ROM, rebooted into ROM.
(Took about 17 minutes) at first.
Click to expand...
Click to collapse
Thanks man for this. When i flash new rom, i did these steps:
Task29
Install Magldr
Partition
Wipe all data/factory reset
Wipe partition cache
Wipe Dalvik cache
Flash ROM
Flash update, addons if nessessary (Do i need reboot before do this step?)
Now i know when use wipe dalvik cache.
I read somewhere about task29 many times make the phone "bad blocks". I did it hundred time when flash new ROM
May i flash new ROM without task29 & install madglr, just do from step 3 above?
Thanks all.

[Q] Help phone already rooted

Hi my phone has already been rooted and loaded with a rom as far as i know. someone did it for me before but i completly forget how he did it and dont know where to start. Was reading the guides but i dont quite understand how to do it from when i already have one loaded in. Any chance someone can lead me to the right direction. Also have Cyanogenmod 7 not sure if that makes a difference and clockworkmod recovery v3.0.0.5
Flash latest recovery through rom manager, download rom you want, verify md5 sum, transfer onto sd card if not already there. Then this it's what I do-reboot into recovery, use trackpad to scroll and select items, perform a backup of current rom (nandroid), factory reset, wipe cache, wipe dalvik cache, format system (very important), choose install zip, scroll through your sd card files until you find the zip, select it and let it do it's thing. Once done, reboot phone, let boot and leave alone for 10 minutes, reboot into recovery again, fix permissions, reboot phone and let sit for 5 minutes (should load a lot faster), then set up phone how you want. Use apps from the play store to back up app data, text messages, etc. just don't bother backing up system apps, can cause issues. Download any apps you want directly from play store (under my apps) before restoring data to them. Make sure you don't wipe sd card unless you have it backed up on a computer and are willing to transfer everything over in recovery...it all sounds complicated but after you do it a couple times, it doesn't take very long. Main thing is to ALWAYS make a back up before flashing anything (rom, kernel, mod, etc.) To flash a kernel, you just need to wipe cache and dalvik cache only and fix permissions.
ronin178 said:
Flash latest recovery through rom manager, download rom you want, verify md5 sum, transfer onto sd card if not already there. Then this it's what I do-reboot into recovery, use trackpad to scroll and select items, perform a backup of current rom (nandroid), factory reset, wipe cache, wipe dalvik cache, format system (very important), choose install zip, scroll through your sd card files until you find the zip, select it and let it do it's thing. Once done, reboot phone, let boot and leave alone for 10 minutes, reboot into recovery again, fix permissions, reboot phone and let sit for 5 minutes (should load a lot faster), then set up phone how you want. Use apps from the play store to back up app data, text messages, etc. just don't bother backing up system apps, can cause issues. Download any apps you want directly from play store (under my apps) before restoring data to them. Make sure you don't wipe sd card unless you have it backed up on a computer and are willing to transfer everything over in recovery...it all sounds complicated but after you do it a couple times, it doesn't take very long. Main thing is to ALWAYS make a back up before flashing anything (rom, kernel, mod, etc.) To flash a kernel, you just need to wipe cache and dalvik cache only and fix permissions.
Click to expand...
Click to collapse
any chance i can get this is noob terms lol
grkkilla said:
any chance i can get this is noob terms lol
Click to expand...
Click to collapse
Go on YouTube and type in how to flash a custom rom on the mytouch 4g something should come up that'll be easy to follow
Sent from my SAMSUNG-SGH-T989 using xda premium
First of all.. what is what u really want to do? to root it again? to change rom?(operative system)??? or what??? here are a couple of link that may help u... anyway be more specifict...
This may help....
http://forum.xda-developers.com/showthread.php?t=1281085
http://forum.xda-developers.com/showthread.php?t=1388962

Resources