yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] hg42:
Yes -- it's called dd in adb ;^)

For ext4 partitions there is e2fsck -c, for fat there are fsck.vfat etc.

But all these don't help with bricked blocks, because they freeze and therefore don't get to the point where they could write the bsd blocks to the bad block table. Also fat is too simple, it doesn't have a bad block table.

There is emmc check to scan the whole device (which also stops at the first bricked block). Accessing a bricked block locks up the flash memory chip. Any following access will get no answer.
[Galaxy S II General] tufoz:
my problem :(
[Galaxy S II General] d.fx:
You should have some option to wipe data in the stock recovery.

If you don't (**** happens) ,with odin flash either the CF-Root kernel corresponding to the rom you just flashed, or a custom kernel.

Good luck
[Galaxy S II General] talexxx:
Hi, sorry for the noob question... :o

I am trying to run e2fsck command (in Windows 7 command prompt, after running "adb devices", verifying that the device is shown, entering "adb shell" and unmounting partitions),

and almost always keep getting:

/sbin/sh: e2fsck: not found :confused:

What am I missing?

Why the e2fsck cannot be executed?

It executed one or two time, but since then it is "not found"

(I know I should run it with parameters...)

Thanks!
[Galaxy S II General] tufoz:
I flashed the new kernel..

there's the "wipe data/factory" option...

tried to wipe data/factory but still freezing in that process.. I let it work for a couple of hour but still in the same position.. i took the battery out..

now i can enter into download and recovery..

... any way out to do a full wipe??

--update--

i confirm.. still freezing on wiping data

I flashed CWM.. entered in advanced.. flashed system : ok

flashed cache : ok

flashed data : freezed!!

here's the problem..
[Galaxy S II General] hawkn:
I tried this, still no boot.

Tried several tricks andnoneworked, have also tried several pit files said to fix the errors, nothing.

I got beyond the s2boot logoonce after flashing siyah kernal and doing manual format of partitions, bit still no win.

Will probably send in the phone and demand a repair telling themthat the changed hpusing has nothing to do with the crappy emmc.

Still... thanks for the efforts guys :)

I hope they fix my phone with no questions asked :)
[Galaxy S II General] hawkn:
I got the same problem, and with 20+ hours of trial and error I've given up.

Service center next.
[Galaxy S II General] hg42:
What is "several"?

Did you try *ums-bricked*.pit?

If you get a freeze in data, you probably still have bricked blocks in there. So you have to move data further to the end of the device.

Try the highest number first, then if this works you can optimize by taking lower numbers.
[Galaxy S II General] tufoz:
hey guys..

flashed the 1048576 pit..the rom..cleared data..reboot

and now it is

powered on

.. what else should i have to do?

format the internal memory under privacy and setting.... then?

should i have to flash the unbricked pit?
[Galaxy S II General] hg42:
it is simply not existent. In your case, since you are running the shell from /sbin, you probably run it in recovery.

Not every recovery has all tools.
[Galaxy S II General] hg42:
ums-bricked?
[Galaxy S II General] tufoz:
i9100_u1_02_20110310_emmc_EXT4-patched-ums-bricked+1048576-kB

flashed and ok...

no bootloop.. :)

format internal mass storage.. ok..

and now?
[Galaxy S II General] shpanac:
It worked for me, if I can press thx million times I will do it :)
[Galaxy S II General] bombaybadboy:
If your going to try to get samsung to do something about it there reply will be its not there fault that you flashed leaked software. I have seen one of there posted emails to a member on here. They wouldnt help him
[Galaxy S II General] tufoz:
I rooted and superusered the phone.

Tryed to restore a previous backup but it freezes.. i will flash a custom rom ..

i hope it will work..
[Galaxy S II General] hg42:
where did it freeze? It shouldn't.

How did you restore?

You may still have bad blocks.

Did you check the appropriate partition? Simply by filling up with big files or better by using dd in adb.
[Galaxy S II General] hg42:
format data?
[Galaxy S II General] tufoz:
format data? if you mean factory reset.. already done..

additionally redone the process with i9100_u1_02_20110310_emmc_EXT4-patched-ums-bricked+0524288-kB: SUCCESS

format data ecc...ok..

9GB ( not 12GB :( ) on internal memory formatted.. ok

Maybe I have to reflash a stock pit??

could you be so kind to tell me what is the exact command to put in adb?
[Galaxy S II General] drazenf:
Thanks a lot make, this solution gave me back my galaxy s2.

don't even care about less memory, I have external card

thanks a lot once again :good:
[Galaxy S II General] hg42:
never!

dd if=/dev/block/XXX of=/dev/null

with XXX = partition device name (e.g. mmcblk0p10)
[Galaxy S II General] Jarmezrocks:
Responded to your PM. But just so if anyone reads your post here and has found them selves in a similar situation....UNDER NO CIRCUMSTANCES FLASH THE NEW .PIT FILE!

UNDER NO CIRCUMSTANCES DO A FACTORY DATA RESET ON THE LQ5 KERNEL IN THE STOCK 3E RECOVERY!!!!

ALWAYS (If you must run this firmware and kernel?) FLASH CF-ROOT TO UPGRADE THE RECOVERY TO 5.X CLOCKWORK RECOVERY!!!!

CHECK TO SEE IF YOUR DEVICE IS SUSCEPTIBLE TO THE BRICK BUG BY USING CHAINFIRES GOT BRICKBUG APP!!

Ok I am done shouting now :P I did it just to be a drama queen haha.

Hope your phone is ok man ;) Give me a PM and I can put you on to someone that can unbrick your device if you have rock solid hard bricked your device
[Galaxy S II General] tufoz:
i got some instruction from here: http://xdaforums.com/showthread.php?t=1570022

./adb shell

~ # dd if=/dev/block/mmcblk0p10 of=/dev/null

4194304+0 records in

4194304+0 records out

2147483648 bytes (2.0GB) copied, 38.934871 seconds, 52.6MB/s

~ # dd if=/dev/block/mmcblk0p1 of=/dev/null

40960+0 records in

40960+0 records out

20971520 bytes (20.0MB) copied, 0.417296 seconds, 47.9MB/s

~ # dd if=/dev/block/mmcblk0p2 of=/dev/null

2560+0 records in

2560+0 records out

1310720 bytes (1.3MB) copied, 0.066004 seconds, 18.9MB/s

~ # dd if=/dev/block/mmcblk0p3 of=/dev/null

2560+0 records in

2560+0 records out

1310720 bytes (1.3MB) copied, 0.065001 seconds, 19.2MB/s

~ # dd if=/dev/block/mmcblk0p4 of=/dev/null

16384+0 records in

16384+0 records out

8388608 bytes (8.0MB) copied, 0.233080 seconds, 34.3MB/s

~ # dd if=/dev/block/mmcblk0p5 of=/dev/null

16384+0 records in

16384+0 records out

8388608 bytes (8.0MB) copied, 0.268029 seconds, 29.8MB/s

~ # dd if=/dev/block/mmcblk0p6 of=/dev/null

16384+0 records in

16384+0 records out

8388608 bytes (8.0MB) copied, 0.236967 seconds, 33.8MB/s

~ # dd if=/dev/block/mmcblk0p7 of=/dev/null

204800+0 records in

204800+0 records out

104857600 bytes (100.0MB) copied, 1.907811 seconds, 52.4MB/s

~ # dd if=/dev/block/mmcblk0p8 of=/dev/null

32768+0 records in

32768+0 records out

16777216 bytes (16.0MB) copied, 0.352085 seconds, 45.4MB/s

~ # dd if=/dev/block/mmcblk0p9 of=/dev/null

1048576+0 records in

1048576+0 records out

536870912 bytes (512.0MB) copied, 10.009422 seconds, 51.2MB/s

~ # dd if=/dev/block/mmcblk0p11 of=/dev/null

18890752+0 records in

18890752+0 records out

9672065024 bytes (9.0GB) copied, 171.918507 seconds, 53.7MB/s

dd if=/dev/block/mmcblk0p12 of=/dev/null

1048576+0 records in

1048576+0 records out

536870912 bytes (512.0MB) copied, 9.850223 seconds, 52.0MB/s

Tryed on everything.. and now?
[Galaxy S II General] tufoz:
:( screenshot attached
[Galaxy S II General] tufoz:
exactly in this situation right now.. :(
[Galaxy S II General] hg42:
So you don't have bricked blocks in your partitions.

So freezes should have other reasons.

Be sure to wipe dalvik cache and cache partition when changing to different roms, etc.
[Galaxy S II General] tufoz:
when i try to wipe dalvik cache:

e: unknown volume for path [sd/ext]

Dalvik cache wiped

is this an error?
[Galaxy S II General] tufoz:
hg42, still there?
[Galaxy S II General] hg42:
I think recovery tries to wipe on sd/ext too, but hasn't found this partition.

This should be an optional partition for apps2sd.

So despite the e: it shouldn't be an error but only informational.
[Galaxy S II General] tufoz:
so there's nothing to fix..? ;)
[Galaxy S II General] seth87:
i alble to wipe data, but still cant boot into OS and freeze at the BIG S logo :crying:
[Galaxy S II General] daras66:
Remove battery on 20-30 minutes and try again

;)
[Galaxy S II General] seth87:
now can boot into system. but will freeze then turn off. any ideas?
[Galaxy S II General] blade30p:
The only way I could solve this when I had it, was to put the ROM zip on my external sd card & install it that way. Spent hours redownloading the same file, trying to flash it, getting stuck at the Samsung galaxy logo & then flashing stock ICS, only to Bootloop again as soon as I tried to flash a ROM etc . Right pain in the **** ;)

Sent from My Omega powered beast, using Xparent ICS
[Galaxy S II General] Dragonalvaro:
It worked for me... I flashed the pit file and then a 4.0.3 stock rom...

Then my phone boot up!

So... I have a question.

I have to repart my internal sd again with a stock pit? I think I readed that now my sd is smaller? how can I set my sd to a "normal" state?
[Galaxy S II General] ryanmillet:
EPIC!!

I just want to express eternal gratitude for saving my phone! :) WELL DONE! hg42
[Galaxy S II General] sahibunlimited:
Now you won't get that space back because its used at /data partition to save your installed apps and its data
[Galaxy S II General] Dragonalvaro:
But I mean... Now I have 1,97Gb as Internal storage and 9.49 Gb as USB Storage, I checked other S2 and they have about 12Gb as total space on theris USB storage...

As they told, now I have a corrupted /data partition and another /data that works fine... Can I do the repartition again to restore my memory (with a stock pit file)? Or it will get stuck again?

Can now use my phone as always? Or I have to be careful with him? I mean... Can I install CM9, root it... or it's dangerous?

Now I have a 4.0.3 from sammobile
[Galaxy S II General] NIK3SH:
Hello All,

Mine device is running,

Baseband- I9100XXLQ6

Kernal- 3.0.15-I9100XWLPT-CL941023

Everything is official in my phone no root, no custom kernel is installed in it.

Will my device also be bricked if I format/wipe it ?
[Galaxy S II General] rumberomc:
THANK YOU SOOOOOO MUCHHHHHHHH.

IT IS WORK!!!!!!!!!!!!!!!!!!!!!!!!!!

WOOOW!!!!!

AMAZING!!!!!!!:D:laugh::good::silly:
[Galaxy S II General] rwallach:
Worked like a charm for me!

After a long and painful winter, my SGS2 has come back to life.

Thanks man!
[Galaxy S II General] kanishkaggarwal:
Hi

Can you tell me how much is your internal memory space now? Is it some where around 11 GB or is it 9.5 GB?

Thanks in advance.
[Galaxy S II General] dreadheadnino:
dose it still work
[Galaxy S II General] sillypilot:
newest victim here, the pit file works like a charm!! I lost 2gb of internal space, now live with 9.5gb internal space. One downside is the read/write speed of internal memory is super slow, I'm not sure it is cm9.1 issue or the side effect of the repartition.

For other person who don't want to repartition your phone, you can flash a siyahkernel and make use the second rom features, during the booting process, press home when siyah logo appear, if you can live with that, it worth a try
[Galaxy S II General] fernmar:
Data partition corrupt?

I have a similar issue, but i was running Wanamlite V12.3 on the default kernel. I want to be sure before i give up 2GB cause i do max my 11GB as it is right now. This was what happened

I opened a YouTube link via Chrome from my Facebook app. Chrome froze and eventually the screen went black and unresponsive. I did a reset, but got stuck at the S screen. I booted into recovery and did a wipe data/factory reset and it got stuck in the process. I did a battery pull and when i reboot it got stuck during the process of optimizing apps. I reboot and the same thing happened. I booted into recovery and re-flash the rom and it failed after it went through all the process, so I attempted a restore of the rom and it also failed. I attempted restoring another rom but it had a mismatch md5 sum. I attempted flashing another custom Rom and it got stuck during the process. By this time i'm only able to get to the boot screen. I flash stock XAKL1 with the pit file and that works for me. I then attempted to flash a stock ICS via odin and it couldn't pass the boot screen so i had to went back to the XAKL1.

Is there anything else left for me to try before i create another partition?
[Galaxy S II General] Dragonalvaro:
It's secure to root my phone using this? I used the new .pit file and flash a stock 4.0.3

-ROOT/UNROOT Stock ICS Firmware without flashing

http://xdaforums.com/showthread.php?t=1501719

That worked for me before, but i'm afraid that this root method can stuck my phone again
[Galaxy S II General] silver0075:
Bomb bomb bomb

THANK YOU SOO MUCH!:laugh::good: it worked perfectlyy. But one thing , I don't know if it just because i'm anxious to use my phone again but i'm not sure if my phone is charging properly. I don't know if its a hardware problem or software but the phone is alive again so thank youu :)
[Galaxy S II General] Hessa:
First some explanation

I'm on stock ICS with the LPH stock kernel.

I can get in to the download mode, and because i'm rooted i can even get in CMW

But if i flash or at least try to flash a costum rom true CWM (zip)

After a minute max, then i get the rom is installed but it don't want to boot it keeps rebooting on the samsung logo.

On the other hand if i flash a stock rom true odin it works without any trouble even the kernel don't give trouble.

I have treid to flash with a normal pit file and still i can't flash a custom rom (same problem won't boot)

Now for the qeustions

Now why i really like to flash a costum rom is because of the battery drain of ICS stock rom.

I'm also wondering if the stock JB rom come would i still be able to flash it or is there a chance that i brick my phone ?

I have used the eMMC check from googleplay and i have a insane chip meaning flash the wipe bug is there :crying:

So 'm i stuck on this ICS stock rom or when JB stock come out i can step over ?
[Galaxy S II General] Zhangman:
This saved my ass. After a whole day of trying to save my bricked phone I came across this, cannot say how awesome you are :cowboy:
[Galaxy S II General] imvenom:
thanks a lot you saved my precious :good:
[Galaxy S II General] hg42:
that's outdated now, please read my PIT-thread (first post) again and update these instructions...

I get requests referring to this thread, where users are searching for the *patched-standard.pit which isn't included any more, because the emmc-scanner allows to directly select the correct pit.

I think my updated instructions are now usable for other phones, too? please check this and tell me if I have to change something.

All users should read my thread starter before flashing any pit.

Thanks for listening...
[Galaxy S II General] sergini:
It didn't worked for me... This was my last option to save my S2 ...

I flashed the 4.0.4 LPX Nordic after flashing pit... My phone rebooted and I got stuck again! But I can still go to download mode, can I still have any hope?
[Galaxy S II General] Raikan:
Failed to flash

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> boot.bin

<ID:0/003> NAND Write Start!!

<ID:0/003> Sbl.bin

<ID:0/003> param.lfs

<ID:0/003> zImage

<ID:0/003> factoryfs.img

<ID:0/003> data.img

<ID:0/003> Complete(Write) operation failed.

I am really in need of help with a phone (I9100). I got the above error message when flashing the XXLPH ICS version firmware and I did follow the guide all the way to the end (Boot loader) method and this problem still persist.

The problem with the phone is that I could enter Recovery menu but it seems to always fail to wipe data successfully --> It hangs and reboot itself!. However still, I could flash kernels over but not ROMs --> It got stuck at the bootscreen .

I would really appreciate it if someone could help me solve this problem. I searched throughout the forums whilst trying out different means to overcome the problem but to no avail.

Regards,

Raikan
[Galaxy S II General] androidmu:
Dude you saved my !!! I don't know how to thank you: using custom PIT worked great on my bricked SGS2 - hg24 drink a beer with me! :o
[Galaxy S II General] interioralligator:
Do you think this would work for me?

My phone got stuck on the boot logo after I installed SuperNexus (http://xdaforums.com/showthread.php?t=1810042) and wiped the data. When I go to wipe data it gets stuck at formating /data.... I've only tried to flash the stock rom for my phone (Bell GT-I9100M) through Odin 1.85 and it succeeds but the phone still gets stuck at formatting data and at the boot logo. Recently, it now gets stuck at the boot animation (with the music). Does the pit file you provided work with GT-I9100M phones and when I flash the pit do I have to check or uncheck the re-partition checkbox?

Thank you! :)
[Galaxy S II General] santhuhardware:
It worked for me...
[Galaxy S II General] Scipo:
,

After i tryed all the tutorials and what ever i could......

My phone is back to life in 1 simple step....flash with odin a modified pit file then a stock official firmware...after that IT`S ALIVEEEE :D:D::D

THANK YOU.......
[Galaxy S II General] Scipo:
.

Hy Guys.....first of all i want to thank all the guys that make this guide possible because my phone is back to life.. :) but i have one minor curiosity : When i flashed my phone,odin was stuck at data.img with the stock pit and with the custom pits...was ok....after that i put an official stock rom and back to life.But in my usb storage(Internal)My storage is now 260 mb from 11.x how i normally had...i formated that internal storage but nothing happens...what u think i have to do ?
[Galaxy S II General] kenkill:
How i can click 1 million time on thanks button, because this post/guide totally save my phone.

Thk a lot :highfive::highfive:
[Galaxy S II General] RizhCh:
ICS 4.0.3 is installed after all this but my modem is not working.

when i checked it from settings -> about -> baseband version

it shows unknown baseband. plz help me to solve this problem.

i am using i9100JPLCP 4.0.3 stock rom.

and much much thanks at least my cell can start
[Galaxy S II General] silv3rfox:
Hey guys, I'm having the same problem, I can't access recovery mode, but can go to download mode, I tried to flash Stock Firmwares, and custom Kernels with Odin on different PCs always stuck at (NAND Write Start), or it gives me Operation Failed (Write) So i knew i have to go the hard way and use PIT files and repartitions

But regarding that, I don't know which PIT files i should use! After I downloaded the pit.zip galaxy s2 16gb, there is Stock and Patched, from what I understood i should use the Patched ones, but which one? there is around 92 patched pit files for the gs2. I don't want to mess with pit files and f*ck my phone. Anyone who tried it can help me please?
[Galaxy S II General] slytidar:
which PIT fie ?

i ave exactly the same symptoms !

anyone please provide me with the standard PIT file :/
[Galaxy S II General] samironearth:
IT WORKED ON MY Galaxy TAB plus P6200 .... thank you so much ... it was bricked for a month and i had lost all hope .. even the SAMSUNG guys had no clue and said that the motherboard had to be replaced ... thank you thank you thank you :)
[Galaxy S II General] samxander:
thanks OP.. this saved me from replacing my mobo because nobody does emmc replacement in my area!:p

---------- Post added at 01:13 PM ---------- Previous post was at 01:04 PM ----------

Anybody here living in Tagaytay City or nearby area can enlist my help for reviving their phone..as i myself had been in so much trouble experiencing an almost paperweight s2..

contact me @ 9179095057

ofcourse HELP is FREE..:laugh:
[Galaxy S II General] cascabel:
I might just take you up on that offer once i've finished playing around with an old s2. ?
[Galaxy S II General] samxander:
@ cascabel

Where's your location bro?.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] dawudbhai:
Hi everyone, I was running stock ICS 4.0.3.

I rooted device using CWM.zip and installed SuperSU file.

I then downloaded crickelo custom rom and tried to install using cwm. It would just hang on installing bit so i did factory wipe/reset. Then my phone rebooted to samsung boot logo and went into a loop. can anyone help me as i can only get into download mode, and when i try flash a rom it gets stuck on factoryfs part like near the end. Do i need to wait for odin to do its bit and roughly how long does it take to copy a rom to the galaxy note using odin?

Im a noob so all help will be appreciated :confused:
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] dsmas:
PC-Odin takes max 6-7 minutes to flash a ROM.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] dawudbhai:
Hi im trying to pc odin but it looks like rom is stuck at 95%. how long shall i wait?:confused:
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] simplelife:
before you do somthing else with the phone please read this link first to make sure you on right track:http://xdaforums.com/showthread.php?t=1659768
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] apurvapatel:
If odin gives a fail at factoryfs write, you probably got your eMMC busted. Happens on stock ICS kernels when you wipe via cwm. Go through the 12th post at http://xdaforums.com/showthread.php?t=1661590

If your note is under warranty and your.custom rom shows no and binary count is zero, take it to samsung service center and tell them that the phone doesnt start after the upgrade. Tell them that you were on GB and upgraded to ICS. Dont tell them of custom roms and kernels.

Samsung ICS has this eMMC brick bug, so they would replace the mother board under warranty if.your binary count shows zero.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] apurvapatel:
If ur binary count is up, you can flash angelom kernel, boot into its recovery and then boot into the download mode to check the count. Else boot into recovery and then download mode again.

Angelom resets the binary count. But dont stay on it, it can potentially hard brick your phone.

If the count is zero, you can boot your region's stock kernel and then take it for warranty.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] dawudbhai:
Ive flashed angelom kernel and its reset my binary count. All i get now is samsung logo? can i do anything else? ive booked in a repair with samsung. Shall i send it in?
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] azzledazzle:
If your able to get into Download mode and the phone still powers up (even though it doesnt complete booting) Then i doubt its hardbricked as it would show no signs of life at all.

Have you tried flashing back to a full GB firmware with ODIN ? GB is the best firmware to revert to when you get serious issues.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] dawudbhai:
can you send me link to gb rom to install? and any additional files etc. Ive tried flashing but it gets stuck on factoryfs, like 95% is complete and the last bit dont appear to move? how long does it roughly take to flash rom? im a noob so if anyone can guide me through step by step il appreciate it.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] azzledazzle:
http://xdaforums.com/showthread.php?t=1424997

Download it, Load it into ODIN, Put phone in DL Mode, Hit start

Job done :)
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] dawudbhai:
which rom do i download? 2.3.6 gingerbread
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] apurvapatel:
Because it stops at the factoryfs write, your phone has the eMMC bug. Your eMMC memory has been corrupted by the wipe that you performed in recovery.

Just download a stock kernel for your region and flash it via pc odin. Do not flash the full ROM, GB or ICS, it will freeze at factoryfs write.

Flash a stock kernel and give it to Samsung.