guest__1 wrote:Here is the Pastebin link. As you see there is no BAD BLOCK warning which is the same result that I got from the read/ write check I mentioned.
How old is your HD2? Most HD2s will likely have some bad blocks by now. Technically you do not have to know about the bad blocks. If you are curious you can click "show" below.
Also, which sd card do you have (brand, size, speed and age)?
The HD2 (Leo) is manufactured with 2 different NAND-Flash ROM chipset types. You can detect the type entering tri-color boot mode.
If you see
PB81120 SS-B3 in the first line - that means NAND-Flash ROM from Samsung - KBY00U00VM
If you have
PB1120 HX-B3 in the first line - that means NAND-Flash ROM from Hynix - h8BFS0WU0MCR
After about one year usage Samsung chipset usually has a dozen bad clusters. Hynix normally has none of them or just a couple.
guest__1 wrote:Should I resize the partitions like you answered in the thread? Are you sure with the numbers? Could you give me a recommendation for all partitiones/ blocks/ size in MB that I posted? Do I have to reinstall everything afterwards?
As noted before I have never personally worked with cLK. However, the partitioning info should be applicable all HD2 setups.
You said you were using DataOnExt installation method. Simply put, that moves your entire /data partition to the sd-card. As a result any space allocated to /data in NAND memory is unused. Because of this you can increase the /system partition to very large without worrying about your data and apps. A large /system partition gives the system a chance to skip over bad blocks without running out of crucial space.
By the way, how big is your /data partition on the sd card? I assume this is an EXT4 partition in good shape and large enough for you needs.First, make sure you have current Nandroid backup created with a recent version of TWRP or CWM. There are versions of TWRP (but not CWM) which can also backup your data partition from the sd card.
When you repartition the device you WILL WIPE OUT EVERYTHING IN NAND MEMORY (but not the EXT4 partition on the card!). After partitioning you can either install the ROM again (not a bad idea) or restore the system partition from the backup.
Again, your data and apps residing on the EXT4 partition should not have been touched. DO NOT repartition the sd card! This would wipe your data and installed apps!
I would repartition the device as follows:
recovery/ 80/ 10
misc/ 8 / 1
boot/ 56 / 7
system/ 3200/ 400
userdata/ 176/ 22
cache/ 40/ 5
- I changed the recovery size to allow for the newer versions of TWRP and CWM. They need more space.
- I added a little to the boot partition in case you ever want to try some custom kernels.
- I increased the system partition size to 400 to allow for possible/probably bad blocks.
- User data should probably be calculated as the space left after all the others, however, it is not important since it is never used.
Once repartitioned, you can install the ROM again (a clean install - probably the better choice) or restore the backup of your boot and system partitions.
I don't think anything in here conflicts with cLK requirements but you could try to contact kokotas (he released black cLK for the HD2) although I am not sure often he reads here or on XDA. He certainly should be able to give you more accurate info, if that was needed.