yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 General] shoey63:
Lets face it. Samsung doesn't care about us guys who root and flash our SGN and then get bricked by ICS coz they know we have voided our warranties. They're just concerned about Jo Blo who does a factory reset from stock ICS after deleting a massive file or whatever and ends up with a superbrick. They don't need us to test for that! They can just come down out of their ivory tower, go onto the street, give an n7000 to a kid and tell him to keep doing factory resets until it bricks. If he manages it, give him a new one for free and take the bricked on back for analysis;)
[Galaxy Note GT-N7000 General] musashiro:
quoted from the xda article, i think they support rooting/custom roms...:D

@shoey63

:D
[Galaxy Note GT-N7000 General] Sparda92:
shoey63 made a good point.

I believe also that Samsung doesn't care about us, people who root and flash their devices.

Samsung just wants to be friend with the XDA community to find a fix.

That's it.
[Galaxy Note GT-N7000 General] olivespin:
Guyz, Install Official ICS facing freezes and other problems.

If i go to samsung service centre and they install fresh copy of ICS i run a chance of activating this Emmc Bug?

I dont wana get into repairs trouble.

PS: I think i have activated Emmc Bug on my phone and am sitting on a time-bomb, help me plz ppl. (Plz confirm if indeed activated it)

http://xdaforums.com/showthread.php?t=1700718
[Galaxy Note GT-N7000 General] Entropy512:
Well, the wear leveller internally always erases before writing (and does other stuff too) - During "normal" operation, this erase operation works fine.

However, with flash memory, it's beneficial to explicitly erase cells if you can, to make the wear leveller's job easier - if it knows that a certain cell is no longer used at all, it can erase it in advance. This can lead to better filesystem performance, especially if you erase cells on file deletion (on SSDs, this is the TRIM command - on eMMC chips it's a variant of ERASE, and it will be used if a filesystem is mounted with the "discard" option - ours isn't.)

Standard day-to-day "erase when needed" operation of the wear leveller during writes is fine.

It's when doing explicit erase operations that the eMMC chip chokes - it hangs, leaves corrupted data structures (probably null pointers - e.g. instead of block N pointing to memory cell Y, it points to a bogus location), and any time those data structures are accessed, it hangs again.

As to the occasional comments of writing zeros - Ken assumed we were looking at full replication of the ICS wipe feature, including the privacy benefits of wiping the partition in addition to just formatting it. Google added the ERASE step for privacy reasons - if you just format the partition, data is still there.

However for most people here - People wipe because they changed their firmware in /system, not for privacy reasons. So the legacy Gingerbread way of doing things (format without wipe) is fine. MMC_CAP_ERASE will disable the wipe steps without replacing them with a zero writeout - for nearly all XDA users this is fine. (A full zero overwrite would greatly increase the time required for a wipe data/factory reset.)
[Galaxy Note GT-N7000 General] friedje:
Yep that is exactly how it works.
[Galaxy Note GT-N7000 General] stiffi2011:
So what's the Threshold that makes the system go from normal overwriting to "erase" commands?

Can anybody say for sure its ONLY during a Wipe/Factory reset?

This has been my fear all along. That if if something I do goes beyond a certain threshold, that the erase function will be invoked.

An example might be, copy 10,000 songs off the system to a PC, or moving 5 GB worth of Pictures from Internal Memory to the External Memory Card
[Galaxy Note GT-N7000 General] ashkan_mc:
Has the problem been fixed in the LQ3 update ?
[Galaxy Note GT-N7000 General] Ogy77:
Yes good question,anybody know something about new fw LPQ June 2012,fix bug on kernel???
[Galaxy Note GT-N7000 General] androidindian:
Nope. Not out as yet. Will be an announcement when its out. And will be released as a patch.
[Galaxy Note GT-N7000 General] Entropy512:
For a while, as there was little knowledge about the nature of the bug, it was suspected that deleting large files could be dangerous.

However, after further knowledge and research:

For ERASE commands to be caused by simple file deletion (a variation of "TRIM") - The filesystem must be mounted with the "discard" option. No ICS kernel/initramfs/firmware combo I've seen for our device, I9100, or I777 does this.

In theory, an app with superuser permissions could issue erase commands - but I am unaware of any apps that do this.
[Galaxy Note GT-N7000 General] garwynn:
Well, T989 (T-mobile GS2) ICS source dropped... I'll have it after I get back from lunch. Hopefully this will give us an idea of how it was fixed as it is rumored to contain the same fix as the Epic 4G touch - should be similar solution for the Note as well.

Entropy, PM or shoot me an email and I can send you individual source files. Will take 2 hrs to d/l the entire pkg so if you only need a few it may be faster that way.

Update

T989 /drivers/mmc/core/core.c still contains the mmc_erase() function and matches Entropy's stock sources. Still digging...
[Galaxy Note GT-N7000 General] Entropy512:
drivers/mmc/*

By tonight there's a good chance someone will have uploaded it to github though.
[Galaxy Note GT-N7000 General] garwynn:
Attached.

I did notice in /drivers/mmc/host/sdhi.c

mmc->caps |= MMC_CAP_SDIO_IRQ | MMC_CAP_ERASE | MMC_CAP_CMD23;

But I'm not sure if this is what I'm supposed to be looking for.
[Galaxy Note GT-N7000 General] Entropy512:
MMC_CAP_ERASE in sdhci.c is OK on Exynos devices, as the eMMC is hung off of the MSHCI controller - SDHCI only has the external SD and the wifi chip (SDIO for wifi).

For I727 and T989, I don't know if the eMMC is on the MSHCI port or if it's an SDHCI port.
[Galaxy Note GT-N7000 General] garwynn:
Well, there's no mshci.c (or .h) in /host if that may help. Did check sdhi.c and sdhci.c and both have MMC_CAP_ERASE added.

Still digging - saw s3cmci.c didn't have it in the line but not sure if that's it or not.
[Galaxy Note GT-N7000 General] IRepTheKing:
I'm truly looking forward to the drop. I knew better, but still ended up bricking like the rest. I miss my GS2 but I'll be patient. I'm sure the fix is coming soon.
[Galaxy Note GT-N7000 General] tribalkg:
Least we can do is wait little more. Don't worry guys, Galaxy Note has great specs, it won't be outdated for years. That's my opinion. As long there is support from developers, we are good to go. :)

Just want to say thank you to all of the devs (XDA and others) that are working and trying to figure it out.
[Galaxy Note GT-N7000 General] Entropy512:
Hmm I only see MMC_CAP_ERASE set in sdhci.c and omap_hsmmc.c

I don't know which interface the T989 hangs its eMMC off of though - unlike Exynos devices it might be on the SDHCI port.

If it isn't, the T989 sources are safe. If it is hung off of the SDHCI port, it's dangerous.
[Galaxy Note GT-N7000 General] nuramohammed26:
@ Entrophy512 I have been following your work for a while,more grease to your elbow! Now my problem:I tried installing a transition effect through CWM while i am on DDLP8 but all i got is a bootloop,so i tried flashing the stock ROM(DDLP8) via ODIN again,Got stuck at factoryfs like most people,i searched for solutions and found one by hg42 which i followed to the letter,so i got my Gnote working again but with a loss of 3-4GB,but still my Gnote is crashing or FC,after so many flashes(almost 22)i got AllianceRom 3.4 RE Gingerbread Rom working but still market crashes and browser also when i start copying movies or large files to the USB storage,it will start normally but stops halfway.i decided to go back to ICS DDLP8 using Odin.BOOM:eek: THAT IS WHEN IT HAPPENS!my note BRICKED finally,it refuse to enter download/recovery mode or even show the battery icon when i plugged the charger,so i got paranoid.......i still have my warranty therefore i took it to Samsung service center....NOW!MY PROBLEM,(a)could Samsung be able to revive my Gnote by the use of JIG?because if they do then i can't claim warranty(custom flash counter more than 20),(b) if somehow the Gnote is resurrected will i get back the whole 16GB.thanks in advance:D
[Galaxy Note GT-N7000 General] Entropy512:
Samsung will replace your motherboard. You may get charged $200+ for it.

Bull**** like this is why a number of the ERDs are going to give up on Samsung if they don't provide the info required to repair devices ourselves to the community. THEY caused this bug but are still taking every excuse possible to deny warranty service for devices damaged by it.
[Galaxy Note GT-N7000 General] nuramohammed26:
Thanks for the info,but if they can't get the phone to boot,how will they know if i ever use a custom ROM:confused:
[Galaxy Note GT-N7000 General] M3TALLICA:
You answered it already yourself.

They probably won't be able to boot it up without replacing the MoBo, so chances are that they'll never know what happened.

And yes you'll get back the whole 16 GB storage.
[Galaxy Note GT-N7000 General] :
Got my Note with a new motherboard for free and...

Samsung still gave me a new motherboard with a faulty firmware revision 0x19

:mad:
[Galaxy Note GT-N7000 General] nuramohammed26:
thanks bro:Dit means a lot to me cos $200+ could buy me a new phone:cool:
[Galaxy Note GT-N7000 General] panyan:
i dont think they have any with a newer firmware mate
[Galaxy Note GT-N7000 General] :
If you have warranty for your phone, the warranty covers the motherboard replacement! I got a new motherboard for free because i still have my warranty :D

I'll have to wait for new ICS builds ;)
[Galaxy Note GT-N7000 General] Entropy512:
They do (it's present in shipped GNex units) but they are not forward-fitting devices that shipped initially with the defective fwrev or even retrofitting on repair.
[Galaxy Note GT-N7000 General] PoisonWolf:
Do you think if this gets posted on sites like Engadget/The Verge, that Samsung might be more pressured into doing something about it?
[Galaxy Note GT-N7000 General] nuramohammed26:
Hey that is a good Idea,maybe we should force their hands,how can someone do that;)?
[Galaxy Note GT-N7000 General] garwynn:
Honestly, no - which is why I personally haven't advocated that route.

Based on what I've heard the patches are going out for the kernels. That ought to stem the tide of bricks for most people. The remaining ones hopefully will be replaced under the warranty - if someone tries to charge you for it just kindly tell them it's hardware failure. Besides, they're not going to be able to see what ROM you were on if it doesn't boot.

The other reason is that quite honestly we've had a lot of people willing to talk to us in back channels - making this more public, such as those with Apple - will make it less likely that they'll be willing to talk to outside devs as easily in the future.

That's just my 2 cents and others may disagree.
[Galaxy Note GT-N7000 General] PoisonWolf:
Makes sense. I agree with you.
[Galaxy Note GT-N7000 General] :
Read this link:

http://xdaforums.com/showpost.php?p=27019956&postcount=234

I explain how to get your phone to Samsung with a valid warranty :D

PS: My Note was accepted to have warranty with the way i've done things! They can't see if your binary counter was reset :D
[Galaxy Note GT-N7000 General] Markuzy:
The local Samsung facebook page has been advocating factory resets for ICS problems for users. Hope this gets fixed soon. I cring when their front line support has no clue on what is going on.

Sent from my GT-N7000 using Xparent ICS Tapatalk 2
[Galaxy Note GT-N7000 General] tribalkg:
Don't get too upset with those answers on social network pages. Here in Serbia they didn't know that ICS 4.0.4 is out, even though S3 is shipping with that version. :)

People that work on social network pages usually are not that familiar with the whole Android thing. They know basic stuff and I believe that they have prepared answers for whole range of questions.

That sucks but what can you do? Just try to ignore it. :)
[Galaxy Note GT-N7000 General] nandihno:
So how soon is soon? Anyone care to guess?
[Galaxy Note GT-N7000 General] MR.change:
I tried to tip GSMarena when this all began ,they just ignored me.

maybe if more users go to their site and use the tip button

go here and make some noise ,maybe they'll listen if we spam them with this issue:

http://www.gsmarena.com/tipus.php3

when this goes public ,then maybe samsung will learn to properly test it's firmwares before public release.

---------- Post added at 04:06 PM ---------- Previous post was at 03:39 PM ----------

yes you make sense ,but honestly ,I've been keeping track of this and I don't think it is going anywhere useful anytime soon.

back channels may get samsung devs to work with you on solutions ,but none will be released if they don't get samsung's approval first.

going public is the only way to force samsung's hands ,and to make sure this kind of mistakes doesn't happen in the future.
[Galaxy Note GT-N7000 General] nCoder:
seriously?

There is no need for that.

Samsung listened and is working on it, and you don't gain nothing by flaming Samsung for this problem.

if you want to complain, and you think other brands don't have any problem, why don't you sell your device and buy other brand?
[Galaxy Note GT-N7000 General] underlines:
I've sent the tip to GSMarena:

Title:

Samsung ignores hard-brick bug

Text:

Over 3 months XDA developers reported a emmc-chip bug
in the Galaxy Note and Galaxy S2. This bug will result in a
hard-brick. Samsung denied and ignored them for at least 2 Months,
before they started to work, just after an official Google employee
mentioned the same bug on a mailing list. Read the full story here:

http://xdaforums.com/showthread.php?t=1698977
[Galaxy Note GT-N7000 General] MR.change:
No they haven't, a couple of developers working from Backdoor channels doesn't count as samsung's official response.

Do you think if Samsung knew that they wouldn't have recalled all their ICS ROMs until things were fixes?!!

that they would leave LPY ,LPF,LQ2 and ohters for people to update to and then brick? no if samsung has confirmed this problem their first action would be to remove all of those ROMs till they are patched.

and please drop the stupid fanboysim act cause that's not what this about.

I bought a note cause I wanted a note, and an s2 before that, and I love them

I have nothing against Samsung, but more and more people are bricking daily cause we don't want to hurt samsung's feelings!!!

---------- Post added at 04:27 PM ---------- Previous post was at 04:24 PM ----------

Thanks, and I just re tipped them as well
[Galaxy Note GT-N7000 General] garwynn:
Samsung so far has been good on its word on OFFICIAL responses. OSRC has officially replied to my email inquiry last week and is reviewing the code. My inquiry to Samsung Mobile yesterday got me an official response asking me to contact Samsung Telecom R&D (USA), which is where we knew we needed to get to.

So it is moving forward, just probably not at the pace that you're wanting.
[Galaxy Note GT-N7000 General] MR.change:
maybe you are right ,maybe it will move eventually ,but tell that to my friend who got a note less than a month ago and then updated and bricked it three days ago , I just wish he had told me first !

samsung need to withdraw their official ROMs ASAP ,not everyone who owns a note are present here on XDA ,and thus are very likely to flash and brick their phones while thinking they are safe cause they haven't flashed a custom ROM.

I guess ,each user should decide for themselves if they want to sit this one out or report it to the media.

as for me ,I was willing to let the screen problems go ,but not something this serious.

and no it's not for my sake as well ,thankfully I'm safe and happy with CM9 ,it's for the sake of every noob out there with a Note in their hands.

we both are driving towards the same goal ,but with different approaches ,I just hope our methods won't collide with each other.
[Galaxy Note GT-N7000 General] hiroko83:
I Agree, I love my Note , I love its hardware , but I am serioulsy disapointed about the way that Samsung did handle the ICS upgrade... Same thing for the battery life : you just can not tell users : please make sure to unlock your phone before unplugin the charger because we do not plan to fix that bug ...
[Galaxy Note GT-N7000 General] vgergo:
GSM Arena tip

Maybe something like this is better for GSMArena:
[Galaxy Note GT-N7000 General] jgaviota:
Mr.change, this is a sincere question: Did your friend brick while wiping on the stock rom and stock kernel?

LPY had disastrous battery life, I'm on LQ2 and battery life is excelent.
[Galaxy Note GT-N7000 General] M3TALLICA:
Yes we ought to.

People outside XDA really need to know this.

Samsung is trying hard to fix it, fine.

BUT YOU had already fixed it on GNexus, still you kept shipping other devices with borked eMMC, kernel and recovery.
[Galaxy Note GT-N7000 General] nuramohammed26:
I totally agree with you,i bricked my Gnote after upgrading it and i just bought it new, which i use for only four days:( in my locality,most people don't know what is XDA or even what is warranty and how to claim it.I have been using Samsung phones since R220 and i am a Die-Hard Samsung fan but this is not fair.I sent my Gnote to Samsung Service Center which i hope they would not be able to revive with a JTAG/JIG because that will void my Warranty.....My problem here is if Samsung take care of their Faulty Chip initially, then i would not be waiting for my phone to come back from service center for 3wks and i might even pay $200+....lets do what ever it takes for them to clean their ****....
[Galaxy Note GT-N7000 General] MR.change:
a sincere answer is that I don't know ,I haven't seen it myself ,I only saw his facebook post two days ago .

but he is a total noob who has never heard of XDA ,I don't even know how he managed to update his device ,but he sais it was the official update that bricked his phone ,he also mentioned sammyfirmware so I guess he learnt a thing or two.

but look even if he is wrong ,even if he bricked his device due to something else ,it has been documented that a wipe can kill your phone even on full stock.

read the sticky made by Entropy512 if you haven't done that yet ,it clears everything up.
[Galaxy Note GT-N7000 General] vampireblood:
I hope that the italian release of ics(and each other release)comes out with the fix...

Inviato dal mio Galaxy Note con la MAGNIFICA AOKP Android Open Kang Project ROM:)
[Galaxy Note GT-N7000 General] fraad:
well i just would like to say i had my g/n 700 bricked called up vodafone uk it would not come on at all after the ics update factor rest phone a few times thought it might be ok till monday night then g/n700 bricked so called vodafone uk there sent me new one out next day they all they asked what happen i told them done update to isc done factory rest on phone now it will not come back on with out takeing a look at my phone or asking me to send it in for a repair they just sent me new one next day so i put on the got brickbug on the new n700 and it all so has it so i would try tell ever body about this its not right at all
[Galaxy Note GT-N7000 General] Entropy512:
We did get some more information - It turns out certain types of wipes may be less likely to cause damage than other methods. I need to collect some data this weekend, but might would explain why the damage rate is lower with stock recovery. However, we know that the damage rate with stock recovery is nonzero (At least 3-4 reports of damage caused by stock recovery scattered around), so its method of wiping is still not safe.

I'm working on collecting more data and will provide more detail later.
[Galaxy Note GT-N7000 General] MR.change:
@Ncoder :

see , now here is a man who actually knows what he is talking about

thank you very much for your continuous efforts on this matter entropy
[Galaxy Note GT-N7000 General] abhijit038:
I second that statement of yours. Stock non rooted Roms are impeccably safe. After performing many wipes ffrom factory recovery ( 50 so far, I have even tested on latest JPLPD) , I tried it on my friend's note too. The observations were same. NO BRICKING.

As a matter of fact, I've had conversation with Samsung tier 3 rep.; he assured me that it's perfectly safe to do wipe. He even advised me to do so after updating to ICS from GB.

Ps I have NOT ROOTED my phone ever since ICS was first released for note.
[Galaxy Note GT-N7000 General] KSauzeRK:
I think people spitting on Samsung and people encouraging to wipe from stock rom don't seem to realize even if Entropy and others discovered necessary conditions, we don't know all the sufficient and necessary conditions for the problem to rise. The guy from google says the emmc chip bug is intermittent which is another way of saying we don't know what exactly causes it yet. Now it might be possible that stock roms don't cause any problem on wipe and that the few reports we have are either not totally virgin stock rom or are caused by another bug, may it IS dangerous, we just DON'T yet. We can only hope Entropy discover all the conditions necessary and sufficient of the bug.
[Galaxy Note GT-N7000 General] MR.change:
yes true,this damn episode has taken too long and new information comes to the scene everyday.

here goes my humble opinion though: a factory reset always mean a wipe from stock recovery ,it doesn't matter if you are rooted or not ,stock recovery will be the same.

and I've seen some at least two reports (one of which is on the previous page of this thread) of people bricking from factory resetting on a stock kernel.

@abhijit038

at the same time ,I've seen people wiping 20 times or more form the leaked ICS with full root and full CWM and they also tried to convince everyone else that wiping was OK because they did it some 20 times on full custom leaked kernel.

I really regret posting here ,not because I think I'm wrong ,but because I accidently started a flame war between people who defend Samsung and people who hate them .

when in fact this shouldn't be fanboysim related at all ,I mean we all bought a Samsung product didn't we?!!
[Galaxy Note GT-N7000 General] PoisonWolf:
It is likely that the rate of bricking on stock ROMs are dependent on how filled the data partition is. On stock ROMs, it is very tiresome to fill up the data partition by downloading apps on the market.

However, if you run a rooted GB rom....copy 100mb files until it is almost full, then upgrade to non-wipe stock ICS losing root and CWM, and only then try to do a factory reset.....I'm fairly certain you'll have a good shot at bricking even when you've moved to stock ROM with no CWM or root (just the remnant 100mb files left in data partition).

This is just speculation on my part though. The more times you call the erase command, the bigger your gamble. Even if it's a 1% of bricking....if you call on it 100 times....how lucky do you feel?
[Android Themes] ebs512:
I don't know if this goes in this section but its a theme related question...I'm very noob when it comes to XML coding and creating themes...yes I have all the major image editors (Photoshop,fireworks,green sea icon editor pro, iconfx pro, gimp, paint.net) and yes i have the famous notepad++ for changing hex color codes in an XML but this has only helped me so far for modifying other people's work and I am requesting someone write or shoot a video tutorial on making a theme chooser apk from scratch without using anyone else's work, other than Google, so I can try to get this down a little bit better, is anyone capable of doing this?

Sent from my Nexus S 4G using Xparent Cyan Tapatalk 2