[TUT] How to mark bad nand blocks [20/11/2013]

For general discussion and questions specific to Android development for HTC HD2/Leo
Moderator: Forum Moderator

[TUT] How to mark bad nand blocks [20/11/2013]

Postby symbuzzer » Fri Jul 19, 2013 10:24 am

UPDATED: 20/11/2013

CONFIRMED NOT WORKING. IT ONLY SHOWS ALREADY MARKED BADBLOCKS. USE INSTRUCTIONS BELOW
For Black LK users:
(Thanks for this trick to gilbert32)
1) Go to "settings, fill bbt at startup" and reboot
2) Go to "info> bad block table"


For aMAGLDR and cLK users
1) Download and install specific driver to your PC (ActiveSync or Windows Mobile Device Center)
2) Download WM rom and open exe file via Winrar or 7zip or any zip extractor.
3) Extract *.nbh file from it on your desktop and rename it: "leoimg.nbh"
4) Connect your phone to PC and copy leoimg.nbh file to root of your SD Card.
5) Power Off your phone and Press VOLDOWN + END buttons to start SPL pre-bootloader. (three colour screen)
6) It will ask you to install rom. For accept press END button and wait.
7) When WM installition finished, remove your battery.
8) Open SPL pre-bootloader with VOLDOWN + END buttons.
9) Install 2.08.HSPL for aMagldr or 3.03.HSPL for cLK via DFT HSPL4
10) Install 2.15.50.14 radio rom for aMagldr. (cLK users dont need to install any specific radio)
11) Install aMagldr or cLK bootloaders with their own tools/methods in their threads.
12) Flash recovery with bootloaders own tools/methods in their threads
13) Make partitions via bootloaders with their own tools/methods in their threads
14) Run Recovery and Wipe all partitions on Nand memory.
15) Select Copy Log option from Advanced menu.
16) Plug your phone to pc in Mass Storage mode
17) Open SDCard\recovery.log file via any text editor on your PC.
18) Check your badblocks (ex: "mtd: not erasing bad block at 0x07a20000")


symbuzzer
Forum Moderator
 
Posts: 320
Joined: Mon Jun 24, 2013 7:05 am
Country: Turkey (tr)
Has thanked: 176 times
Been thanked: 168 times

Advertisement
 

Re: [TUT] How to mark bad nand blocks

Postby captainhase » Wed Nov 13, 2013 12:07 pm

Hello and thank you for this tut. Is it essential to flash a wm ROM first to check for bad blocks and mark them? Or is it OK to just wipe all from within twrp and do the following steps. Sorry if I just don't get it but this is my first time being in the need to mark bad blocks.
Thanks in advanced!

Gesendet von meinem NexusHD2 mit Tapatalk
User avatar
captainhase
Junior Member
 
Posts: 26
Joined: Thu Jul 11, 2013 3:31 pm
Country: Germany (de)
Has thanked: 5 times
Been thanked: 4 times

Re: [TUT] How to mark bad nand blocks

Postby symbuzzer » Wed Nov 13, 2013 5:18 pm

captainhase wrote:Hello and thank you for this tut. Is it essential to flash a wm ROM first to check for bad blocks and mark them? Or is it OK to just wipe all from within twrp and do the following steps. Sorry if I just don't get it but this is my first time being in the need to mark bad blocks.
Thanks in advanced!

Gesendet von meinem NexusHD2 mit Tapatalk


Hi. Sorry but you should install a WM rom if you are using magldr.
Another way, you can install Black LK. Its steps are easier than magldrs. After that, you can install magldr again.
symbuzzer
Forum Moderator
 
Posts: 320
Joined: Mon Jun 24, 2013 7:05 am
Country: Turkey (tr)
Has thanked: 176 times
Been thanked: 168 times

Re: [TUT] How to mark bad nand blocks [20/11/2013]

Postby symbuzzer » Wed Nov 20, 2013 7:58 pm

@kokotas

Black LK's "mark BB @ startup" option didnt mark badblocks. It only shows marked badblocks.
symbuzzer
Forum Moderator
 
Posts: 320
Joined: Mon Jun 24, 2013 7:05 am
Country: Turkey (tr)
Has thanked: 176 times
Been thanked: 168 times

Re: AW: [TUT] How to mark bad nand blocks [20/11/2013]

Postby Elveneleven » Thu Feb 13, 2014 9:12 am

Hi Symbuzzer.
Did I understand your Tutorial right?

In step 14 by wiping the nand partitions with the recovery (CWM. or ExtendedTWRP) the bad blocks will be marked as corrupted and written in log file. Is that right?

By viewing this log in the following steps i can see how many bad blocks are there and where in Nand they are. Right?


The bad blocks will be marked forever? Even after doing a superwipe with pixelfreaks nice little app or doing a task29.

After marking the bad blocks is there a need to increase system partition to 400MB (EU HD2) even if a lesser amount of MB is needed for a Rom?

I know if i have bad blocks i need to increase system partition. Are there any recommendations how much to increase per bad block. (e. G. Increase 5MB for every bad block)

Thanks for the help.


sent with Tapatalk Pro
User avatar
Elveneleven
Junior Member
 
Posts: 50
Joined: Fri Jun 28, 2013 10:10 pm
Has thanked: 67 times
Been thanked: 15 times

Re: [TUT] How to mark bad nand blocks [20/11/2013]

Postby moldowan » Fri Feb 21, 2014 12:19 pm

Thanks for this tutorial! The third bad block on my HD2 (which was not yet marked until now) has been marked successfully.

Note: After 11), you can already check with Black LK whether (new) bad blocks have been marked (settings > fill bbt at startup, reboot, info > bad block table).
moldowan
Junior Member
 
Posts: 9
Joined: Wed Jul 17, 2013 9:34 am
Country: Germany (de)
Has thanked: 6 times
Been thanked: 0 time

Re: [TUT] How to mark bad nand blocks [20/11/2013]

Postby mucho » Tue Apr 22, 2014 1:02 pm

Hello,

First of all 10x for the great tutorial. It is my last hope to get my HD2 working with KitKat (I suppose there are some bad blocks on NAND causing KitKat crashes). So, I got only one question about point 10 - do I need installing 2.15.50.14 radio in case I already have it installed?! Thanks!
mucho
Junior Member
 
Posts: 3
Joined: Fri Feb 21, 2014 10:49 pm
Country: Bulgaria (bg)
Has thanked: 0 time
Been thanked: 0 time


Return to HD2 Android Q&A, Help & Troubleshooting and General

Who is online

Users browsing this forum: No registered users and 0 guests

cron