[INFO]GT-N7000 JB kernel source code released

Search This thread

galaxynote2

Senior Member
Sep 26, 2012
822
1,089
Buenos Aires - Argentina
Now is it possible to know if there is brickbug?

To see if any kernel has the Emmc brickbug or not, simply need to open the kernel image and see if MMC_CAP_ERASE script its enabled or not. There's dont need to search in kernel sources :)
__________________________________________________________

A source code can be implemented on Cm10 based roms, better battery autonomy, smooth animations, faster phone, can be overclocked and other things. Also, with this source code we will have updated modded kernels like speedmod, hydra etc..

Sorry my bad english!
 

cicciocant

Senior Member
Oct 3, 2005
488
10
Z

zylor

Guest

What Samsung did was to implement this fix:

https://patchwork.kernel.org/patch/1526741/

So basically you can use format commands normally in stock kernels and a normal format of the partition is done but without triggering the brickbug :highfive:

And viewing sources you can see that the fix from Samsung was applied around lines 2349 to 2396 in: driver > mmc > card > block.c

as follows:

Code:
#define CID_MANFID_SAMSUNG	0x15

static const struct mmc_fixup blk_fixups[] =
{
	MMC_FIXUP("SEM02G", 0x2, 0x100, add_quirk, MMC_QUIRK_INAND_CMD38),
	MMC_FIXUP("SEM04G", 0x2, 0x100, add_quirk, MMC_QUIRK_INAND_CMD38),
	MMC_FIXUP("SEM08G", 0x2, 0x100, add_quirk, MMC_QUIRK_INAND_CMD38),
	MMC_FIXUP("SEM16G", 0x2, 0x100, add_quirk, MMC_QUIRK_INAND_CMD38),
	MMC_FIXUP("SEM32G", 0x2, 0x100, add_quirk, MMC_QUIRK_INAND_CMD38),

	/*
	 * Some MMC cards experience performance degradation with CMD23
	 * instead of CMD12-bounded multiblock transfers. For now we'll
	 * black list what's bad...
	 * - Certain Toshiba cards.
	 *
	 * N.B. This doesn't affect SD cards.
	 */
	MMC_FIXUP("MMC08G", 0x11, CID_OEMID_ANY, add_quirk_mmc,
		  MMC_QUIRK_BLK_NO_CMD23),
	MMC_FIXUP("MMC16G", 0x11, CID_OEMID_ANY, add_quirk_mmc,
		  MMC_QUIRK_BLK_NO_CMD23),
	MMC_FIXUP("MMC32G", 0x11, CID_OEMID_ANY, add_quirk_mmc,
		  MMC_QUIRK_BLK_NO_CMD23),

	/*
	 * Some issue about secure erase/secure trim for Samsung MoviNAND
	 */

	MMC_FIXUP("M8G2FA", CID_MANFID_SAMSUNG, CID_OEMID_ANY, add_quirk_mmc,
		  MMC_QUIRK_MOVINAND_SECURE),
	MMC_FIXUP("MAG4FA", CID_MANFID_SAMSUNG, CID_OEMID_ANY, add_quirk_mmc,
		  MMC_QUIRK_MOVINAND_SECURE),
	MMC_FIXUP("MBG8FA", CID_MANFID_SAMSUNG, CID_OEMID_ANY, add_quirk_mmc,
		  MMC_QUIRK_MOVINAND_SECURE),
	MMC_FIXUP("MCGAFA", CID_MANFID_SAMSUNG, CID_OEMID_ANY, add_quirk_mmc,
		  MMC_QUIRK_MOVINAND_SECURE),
	MMC_FIXUP("VAL00M", CID_MANFID_SAMSUNG, CID_OEMID_ANY, add_quirk_mmc,
		  MMC_QUIRK_MOVINAND_SECURE),
	MMC_FIXUP("VYL00M", CID_MANFID_SAMSUNG, CID_OEMID_ANY, add_quirk_mmc,
		  MMC_QUIRK_MOVINAND_SECURE),
	MMC_FIXUP("KYL00M", CID_MANFID_SAMSUNG, CID_OEMID_ANY, add_quirk_mmc,
		  MMC_QUIRK_MOVINAND_SECURE),
	MMC_FIXUP("VZL00M", CID_MANFID_SAMSUNG, CID_OEMID_ANY, add_quirk_mmc,
		  MMC_QUIRK_MOVINAND_SECURE),

	END_FIXUP
};

This fix according to Samsung fixes the brickbug... but neither me and Entropy512 trust Samsung on this one... :eek::rolleyes:

You can view more info on this issue in here:

Discussion thread for /data EMMC lockup/corruption bug
 

GeeckoDev

Senior Member
Feb 26, 2013
458
3,332
What is the difference between this release and GT-N7000_HK_JB_Opensource_Update2.zip that was out a while ago?
 

twerg

Senior Member
Oct 11, 2009
892
148
Hobart
Apps & Games
blog.gsmarena.com/samsung-releases-galaxy-note-jelly-bean-source-code/

Article has link to source of info and link to source code download (have not checked this myself though, don't know what to do with it)
 
B

baz77

Guest
I am not sure battery life can get any better, its freaking amazing
 

Top Liked Posts