yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 General] nileshkucha:
help

sir i have unique prb i think...sometime phone restart and then..my usb and sd card shows 0.00 byte and and notification " usb storage is damaged..need to format "..so i have format then all..again..plz help if u have any solution..:/:/:(:(:(
[Galaxy Note GT-N7000 General] forest1971:
Not sure what is the cause in this case. I would change rom or reinstall/restore rom if you have not done so. cheers.
[Galaxy Note GT-N7000 General] nileshkucha:
help

i have done that..

---------- Post added at 05:54 PM ---------- Previous post was at 05:46 PM ----------

is there really any solution to make usb storage 11.9 again and remove all bad sectors ?
[Galaxy Note GT-N7000 General] forest1971:
There is no solution yet, so far. Still, if you are really comfortable with using adb method then you could try to explore again the areas from 281mb to 3322mb. In many case the damage is just a small area in that range. So if you select different options for partition 9 and 10 or reduce the size of 10 (if you do not install too many heavy games) then you could recovered a lot of space.

If you have damage only in part 9 then you can start new partition from 1174 and save 2gb.

also should try the emmc check application from theme/app section or play store

https://play.google.com/store/apps/details?id=net.vinagre.android.emmc_check&feature=search_result

it should give you some idea about where is the start of faulty blocks.

cheers,
[Galaxy Note GT-N7000 General] nobby:
forest

thanks for the advice. here's what happened...

i deleted and recreated partition 7 as per the guide without changing its size at all and when i rechecked the table all seemed to be well. i was able to install a rom (cassies xtra light) and it booted to a crazy flashing image in blue and yellow of a face - a bit like a strobe light. next i tried another rom (rocketrom) and could not get past the galaxy note page with the warning triangle. next i tried a stock gb rom but that failed to install even (i think that might be a dodgy download though). and now i cannot boot back into recovery!!!

but looking on the bright side - i was able to install a rom. i haven't been able to do that at all recently. so there is definitely progress and i don't think i am too far from unbricking my note.

next steps - i am away this weekend but on my return i will reinstall the recovery kernel and basically start your (excellent) guide all over again. i will check the table more throroughly and possibly change some partitions around. any other advice?

i am definitely hopeful of a successful resolutiuon.

more news next week.

nobby
[Galaxy Note GT-N7000 General] forest1971:
The things with part 7 suggest that there are some minor file system errors which e2fsck could fix. It is not the errors caused by the emmc bug, therefore e2fsck did not freeze and parted can create a partition with same size in there.

It is a good thing to take time to play with it using adb, since you will learn a lot about android phone' memory and how to manage it.

Install some custom rom can be tricky. Extralite, as from installation guide, requires several cycle of reboot and wipe. Should also try some cm9 roms such as Goatrip, Cleanote, Paranoid. They received good feedbacks. Cheers.
[Galaxy Note GT-N7000 General] abhijit038:
Thanks :)

Thank you so much for your great work.
[Galaxy Note GT-N7000 General] forest1971:
Thanks for sharing good news. It's nice!

btw, quoting long post is not encouraged by the forum rule since it take much storage space, so would appreciate editing to cut it short. cheers.
[Galaxy Note GT-N7000 General] sameer654:
Thanks a million ton for this guide ................ i've tried it & succeeded
[Galaxy Note GT-N7000 General] yavhadjiev:
Now I have a big problem. My Note is bricked, stops when flashing with pc odin in the begining and stack there. I can flash kernels I may go to cwm recovery and download mode, allso i have 2 cwm backups on stock GB and custom ICS, and i have waranty. But whats my bothered mostly, is there any tool to copy internal storage to PC in this situation. I've maked a pictures and videos that is important to me, and the docs too. In CWM I mount internal sd but that it was external sd. What I must to do to get this files. In recovery I can see every folder but just that. Another question is if I doing that unbricked mode with PIT files, will I be eable to restore phone with CWM restore in external sd and will that restored my files in internal sd.

Thanks in advance.
[Galaxy Note GT-N7000 General] forest1971:
Hi: If you do repartition with custom PIT file, all your files in internal sdcard will be gone.

You can try to do repartition with adb/manual method with some adjustment below, then there is good chance you can recover it.

1- follow the guide to set up adb.

2- then follow other steps until step 3, you can skip 4.

3- In step 5 of the guide: remove only partition 9 and 10 (leave part 11 alone).

Then try to re-create these 2 partitions within the range of 281mb-3322mb: should make a full-size factoryfs partition (part 9) and a smaller datafs partition (part 10) to fit in the areas mentioned. for example recreate partition 9 with the size of 800mb and a partition 10 of 200 mb. Try to fit them in different location within the range of 281mb-3322mb, using parted.

4- then once the two partitions are re-created you follow step to format them and install a custom rom, cm9 or GB. if successful you can get all your file back which is still there in the internal sdcard/usb storage.

5- after recover files you can go back to remove and recreate full size partition following manual or PIT file method to get the phone to work normally.

You can also use adb to pull files from sdcard to PC once adb is set up and connected, but you need to know the name and location of the file on your sdcard which can be difficult and very time-consuming to pull many files.

cheers,
[Galaxy Note GT-N7000 General] apurvapatel:
I guess, if you are comfortable with text commands on linux, pulling the files via adb would be the safest bet if the files are really important. Although time comsuming, it would get you the files.
[Galaxy Note GT-N7000 General] apurvapatel:
Ok, just found out in one of chainfire's post...

Which ever custom ROM you download, it would be zip file.

In the zip file, navigate to the path \META-INF\com\google\android and open the file updater-script in notepad.

Search for the word "format" in the updater-script file. If you find the format word in the file, the ROM is dangerous. There are 100% chances that it will brick your phone again. The full command in the file would be

format("ext4", "EMMC", "/dev/block/mmcblk0p9", "0")

The ROM is safe only if updater-script file does not contain the format command.

Hope this helps.

But do not point your finger at me if still a ROM bricks your phone :)

Forest, please link this to your tutorial in the 12th post.
[Galaxy Note GT-N7000 General] apurvapatel:
@yavhadjiev

You can use adb command in the CMD window.

If your phone boots into the recovery menu and you got root, you can connect the phone via usb cable to the pc and run "adb"

Once connected to the phone via adb, you can copy the files you want from the phone to the pc. Thats called "pulling", which can be done via the "pull" command. It is a unix/linux command, much like the dos's copy command.

Once you pull all the files you need, you can give it for repairs.

I myself had pulled the photos, videos and documents from the phone to my pc when i got my phone bricked.

Hope this helps.
[Galaxy Note GT-N7000 General] forest1971:
Yes, if you can boot the phone into CWM then you can set adb, shell into it, list directory and files in sdcard, then pull important ones off it. You can do with all files one by one, as long as directory and files had been named in the way that dos can read, that is there must be no space in between characters in names. cheers.
[Galaxy Note GT-N7000 General] hosmsdos:
guys i was trying to help out a friend and install a custom rom for him, but now device is bricked (i think). there is no recovery mode but there is download mode(thank god). i can flash custom kernel but whenever i try to flash a rom it gets stucn in factory.fs in odin. can someone help me with the steps needed. I dont care about any files inside.
[Galaxy Note GT-N7000 General] forest1971:
There is a detailed guide on page 2. You can use PIT file method which is easier or manual method to explore more options to recover your phone. if have difficulties to follow the guide, you can post in details and help will come. cheers.
[Galaxy Note GT-N7000 General] yavhadjiev:
Today I had big progress. After making re-partitions 9 and 10 I was able to mount internal storage and copy important files to pc. Thanks , many many thanks! Now I make removing the triangle and removing binary count successively, but now I need stock kernel gb LA6 to make my phone warranty accessible. But where I can get that??? After hours of searching and reading , I had no luck to find this kernel. How can extract it from stock rom?

Cheers Yavor!
[Galaxy Note GT-N7000 General] apurvapatel:
You can get stock kernels from here http://xdaforums.com/showthread.php?t=1371007
[Galaxy Note GT-N7000 General] forest1971:
Glad to know it helps to recover files. This is a useful experience for those who are in a similar situation. cheers.

---------- Post added at 11:55 AM ---------- Previous post was at 11:50 AM ----------

Thanks for sharing the link on stock kernels from Dr Ketan! cheers.
[Galaxy Note GT-N7000 General] apurvapatel:
For all those brick victims who need to access/backup files from their phones, I just came across AROMA FILE MANAGER at this post. It is a RECOVERY BASED FILE MANAGER.

I myself have not used or tested it. I have not the faintest idea how well it works on our N7000. I am just pointing at the developers thread in case someone wants to try it.

USE IT AT YOUR OWN RISK.
[Galaxy Note GT-N7000 General] hg42:
I already used it.

It's really awesome and works well on the N7000.

A full gui file manager started from recovery.

Indeed it should be very useful for backing up any files before repartitioning.

I think, I should add a link to the my pit thread, too.

Thanks for mentioning...
[Galaxy Note GT-N7000 General] hg42:
Hmm, should I create an "internal sd backup pit"?

Drastically shrinking data and placing system at end of fomer data? It seems there is often 1GB undamaged at end of former data.
[Galaxy Note GT-N7000 General] alvinasnow:
i think its a gr8 Idea. while checking my emmc through "emmc brickbug check", i noticed that first damaged block came at 1019Mb or about 1GB. So this may well help us gain some more space. :good:
[Galaxy Note GT-N7000 General] hg42:
hmm, this wasn't my idea, I thought to make a PIT, which doesn't repartition the internal sd, so after flashing this PIT and a ROM you could first backup your files from the internal sd.

But now I think it's not worth to install a ROM only for this backup.

You can easily backup your files from internal sd with adb pull or by copying them with aromafm from internal sd to external sd.

Btw. this block at 1GB is your first bad block, but you certainly have much more.

Mine are from 1GB to about 3GB, they seem to be contiguous (I scanned in 100MB steps), which means 2GB bricked blocks.

This also means there is no way to get more space out of it other than using the regain PITs (or forest's method).

And you really need the data partition for your apps. So you cannot shrink it for normal operation.
[Galaxy Note GT-N7000 General] ali_khalid5518:
Hay guys sorry got a bigi prob....my friend flashing the phone with and he mistakenly wiped and now the phone stuck on Galaxy Note i7000 screen and i flashed the XXlpy by odin and phone start and reaches to Samsung screen logo.....nothing happen now stuck at samsung screen....

My question is do i follow the procedure given on post 1

I had no option coz the phone have no warranty.

Need some help guys thanks
[Galaxy Note GT-N7000 General] forest1971:
Did you wipe while on ICS or GB?

if wipe under ICS stock then likely got super-brick with some partition damage. But wipe from GB you should be ok.

Still, if you could already flash through odin without problem then the emmc should be fine.

Just need to flash GB first (to get a safe kernel) and then wipe cache and data, then the phone should boot. Should download the correct GB rom from Dr.ketan's thread if you do not have yet in your PC.

If it still get stuck at factoryfs or datafs while using oding, then you can go back to use the guide in this thread, using custom PIT file from hg42 which is easier, or use manual method. That are the key formulas to revive your phone. hope it helps.

cheers.
[Galaxy Note GT-N7000 General] alvinasnow:
Hay hg42... scanning over the folders and stuff of my emmc, a revelation shocked me that i don't have the efs partition backup, all those folders and files related to EFS. Despite my acute search i could not find anything named efs. looks like I am doomed and feels like having no efs backups or .tars I am dangling at the verge of getting hardbricked anytime :( What you say, have i messed something up with my efs partition?

Thanx for helping
[Galaxy Note GT-N7000 General] hg42:
Given that my pit files work for most (but having no statistics),

the first 1GB is usually left intact by the emmc brick.

At least one person did format the efs partition when trying to fix the brick, but there was no need for that.

But also given that the information stored in the efs is uniquely made for YOU, you should certainly make a backup NOW :-)

There are some backup apps for this:

HC-ktool or nitrality for creating an efs.img,

Gsii_repair can make a tar

you can also use

dd if=/dev/mmcblk0p1 /sdcard/efs.img

or

tar cvf /sdcard/efs.tar /efs

in adb or any root terminal.

Copying the files would be ok, too, but the permissions must be saved, too. For this tar is perfect.

I personally keep an efs.img and also a tar in several copies at different places.
[Galaxy Note GT-N7000 General] yavhadjiev:
Many many thanks! Today my Note will go to technitions to be fixed. In warranty!

Cheers Yavor
[Galaxy Note GT-N7000 General] kevin.husson1:
Brick my note

Hi community,

I think my note is very brick. :crying:

i try to use the procedure but i have an error during the partionning.

I'm a new customers so, i can't upload screenshoot.

But i try to explain my issue.

During this command : mkpartfs primary ext2 3322 4215

I have this error : Error: Input/output error during write on /dev/block/mmcblk0

Retry/Ignore/Cancel?

i think i must to change the size block but I do not know what to put in the prompt box.

Have you any idea for resolve this problems ?

Thanks a lot

PS : I'm sory for my bad english because i'm french.
[Galaxy Note GT-N7000 General] forest1971:
In this case that area already have bad blocks. Put in cancel "c" and "enter" and start making partition in the next block range from 4215 MB up. like below.

(parted) mkpartfs primary ext2 4215 5108

(parted) mkpartfs primary ext2 5108 7255

(parted) mkpartfs primary fat32 7255 15200
[Galaxy Note GT-N7000 General] kevin.husson1:
Nop

Thanks for your answers.

I try to put the first line : (parted) mkpartfs primary ext2 4215 5108

but my phone reboot and when i'm return to the recovery, adb command don't recognize my phone.

i must to flash kernel via Odin to restore the adb command.

After restore the adb command, i try to reload the command but i have a new error,

I can't post screenshoot for the moment but here are the error :

(parted) mkpartfs primary ext2 4215 5108

mkpartfs primary ext2 4215 5108

mkpartfs primary ext2 4215 5108

Error: Input/output error during write on /dev/block/mmcblk0

Retry/Ignore/Cancel? C

C

C

(parted) mkpartfs primary ext2 3322 4215

mkpartfs primary ext2 3322 4215

mkpartfs primary ext2 3322 4215

Error: /dev/block/mmcblk0: unrecognised disk label

(parted)

Have you an idea ?
[Galaxy Note GT-N7000 General] forest1971:
It just tell you have a large damage area in the EMMC.

Now try with next range:

(parted) mkpartfs primary ext2 5108 6001

see how it goes
[Galaxy Note GT-N7000 General] kevin.husson1:
not bad

Sorry, i'have retry the first command and i have this error :

(parted) mkpartfs primary ext2 4215 5108

mkpartfs primary ext2 4215 5108

mkpartfs primary ext2 4215 5108

Warning: You requested a partition from 4215MB to 5108MB.

The closest location we can manage is 15.8GB to 15.8GB.

Is this still acceptable to you?

Yes/No? Yes

Yes

Yes

Error: File system too small for ext2.

(parted)

The ext2 is too small :crying:
[Galaxy Note GT-N7000 General] forest1971:
It is strange. Try to put MB into the code and run again:

(parted) mkpartfs primary ext2 4215MB 5108MB
[Galaxy Note GT-N7000 General] kevin.husson1:
the same

The same error :(

(parted) mkpartfs primary ext2 4215MB 5108MB

mkpartfs primary ext2 4215MB 5108MB

mkpartfs primary ext2 4215MB 5108MB

Warning: You requested a partition from 4215MB to 5108MB.

The closest location we can manage is 15.8GB to 15.8GB.

Is this still acceptable to you?

Yes/No? Yes

Yes

Yes

Error: File system too small for ext2.

(parted)

as you said : it's strange
[Galaxy Note GT-N7000 General] forest1971:
Let's close CMD window. start it again and start adb process again. run parted and print partition table again and see how it looks before continue further.
[Galaxy Note GT-N7000 General] kevin.husson1:
...

This is all procedure .....

C:\android-sdk\platform-tools>adb devices

List of devices attached

304D19A2183CD1CE recovery

C:\android-sdk\platform-tools>adb shell

~ # umount /cache

umount /cache

umount: can't umount /cache: Invalid argument

~ # umount /system

umount /system

~ # umount /data

umount /data

umount: can't umount /data: Invalid argument

~ # parted /dev/block/mmcblk0

parted /dev/block/mmcblk0

GNU Parted 1.8.8.1.179-aef3

Using /dev/block/mmcblk0

Welcome to GNU Parted! Type 'help' to view a list of commands.

(parted) print

print

print

Error: The backup GPT table is not at the end of the disk, as it should be.

This might mean that another operating system believes the disk is smaller.

Fix, by moving the backup to the end (and removing the old backup)?

Fix/Ignore/Cancel? Fix

Fix

Fix

Warning: Not all of the space available to /dev/block/mmcblk0 appears to be

used, you can fix the GPT to use all of the space (an extra 2048 blocks) or

continue with the current setting?

Fix/Ignore? Fix

Fix

Fix

Model: MMC VYL00M (sd/mmc)

Disk /dev/block/mmcblk0: 15.8GB

Sector size (logical/physical): 512B/512B

Partition Table: gpt

Number Start End Size File system Name Flags

1 4194kB 25.2MB 21.0MB ext4 EFS

2 25.2MB 26.5MB 1311kB SBL1

3 27.3MB 28.6MB 1311kB SBL2

4 29.4MB 37.7MB 8389kB PARAM

5 37.7MB 46.1MB 8389kB KERNEL

6 46.1MB 54.5MB 8389kB RECOVERY

7 54.5MB 264MB 210MB CACHE

8 264MB 281MB 16.8MB MODEM

9 281MB 1174MB 893MB ext4 FACTORYFS

10 1174MB 3322MB 2147MB DATAFS

11 3322MB 15.2GB 11.9GB fat32 UMS

12 15.2GB 15.8GB 537MB ext4 HIDDEN

(parted) rm 9

rm 9

rm 9

(parted) rm 10

rm 10

rm 10

(parted) rm 11

rm 11

rm 11

(parted) mkpartfs primary ext2 4215MB 5108MB

mkpartfs primary ext2 4215MB 5108MB

mkpartfs primary ext2 4215MB 5108MB

C:\android-sdk\platform-tools>

and after that, i can't use adb command, i must to flash kernel with odin.

And when i use print function, nothing new partition appear.
[Galaxy Note GT-N7000 General] forest1971:
Looks like there is a serious problem.

Now I would flash the original PIT file attached to restore the partitions to condition before removing. (choose the 16GB PIT for your phone).

btw, have you tried to flash custom PIT file method from hg42 thread yet?
[Galaxy Note GT-N7000 General] kevin.husson1:
not good

Thanks, i don't try to use the custom PIT.

I have already flash with the original pit, and i heve this error.

Have you the link for the custom pit ?

And a little question ? It's possible to use a JIG for remove the counter ? because when i flash PIT whith ODIN, the counter take +1. For send to the warranty.
[Galaxy Note GT-N7000 General] forest1971:
The custom PIT is from the link to hg42 thread at the top of the guide in page 2. If you can revive phone, then can use triangleaway application (from the forum) to remove yellow triangle. But if cannot make it work then must use Jig.
[Galaxy Note GT-N7000 General] kevin.husson1:
...

Thanks a lot,

I try this and I'll let you know....
[Galaxy Note GT-N7000 General] forest1971:
Hope you can make it with custom PIT file. GL!
[Galaxy Note GT-N7000 General] hg42:
Flashing pits shouldn't increment flash counter, but flashing non stock kernels will.

So first use a stock gb rom for reviving.

Link: http://xdaforums.com/showthread.php?t=1667886
[Galaxy Note GT-N7000 General] kevin.husson1:
Great

Thanks you very very very much.

With your council, i understood how to repear my phone and with this experience, i can explain to french forum how to unbrick her phone.

But i wait to receive my jig for decrease my flash counter and send my phone to SAMSUNG, because i have lost 4Go of my free space.....

Anyway, thnak you so much
[Galaxy Note GT-N7000 General] apurvapatel:
Wouldnt flashing stock kernel over the angelom kernel reset the counter? It worked for me.
[Galaxy Note GT-N7000 General] kevin.husson1:
nice

Have you the link for this kernel please ?
[Galaxy Note GT-N7000 General] apurvapatel:
Download Angelom kernel at http://www.mediafire.com/?5bmrc6cf81w5mya

Flash with pc odin.

Boot into recovery, then boot into download to check the counter status. Once gone, flash a stock kernel.
[Galaxy Note GT-N7000 General] kevin.husson1:
Done !

Yes Thanks you it's done.

But are you sure samsung can't see any flash on my phone ?

Because after flash Stock ROM for replace the kernel, i want to reflash the original pit for have the original problem. So, i can send in tranquility my note to the after-sales service
[Galaxy Note GT-N7000 General] apurvapatel:
As long as you are on stock kernel and your binary count is zero, they wont detect anything custom.

If your phone doesnt boot, no need to flash bin eithee.

Just take it to samsung and tell them that your phone wont start after the upgrade. They should be ok with that.
[Galaxy Note GT-N7000 General] travis82:
Note to self when in ICS recovery and you flash the cwm.zip do not wipe data in that recovery. When I did it emmc brick bugged my phone.

Anyways the softbrick ate 1.2gb of my datafs partition and about 90mb of my system partition so about 1.3gb of bad blocks. These are the bad blocks I couldn't use. (805mb-2173mb)

After I remade the system and data partitions not use those blocks I had no issues flashing anymore. Stock or CM9.
[Galaxy Note GT-N7000 General] hg42:
I would like to know, how you determined the areas that were bricked.

I did something similar.

I used a script which loops over all the blocks.

The inner of the loop starts a dd command in the background which scans a certain chunk of blocks. This dd command is watched by the main script and if it doesn't finish after some time, the main script triggers a reboot.

For each step a file named <current block number>.test is written to the external sd, which remains writable when the internal flash locks up.

After each successful step the block number file is renamed to *.ok.

When rebooting, the script is started again and renames the current test file to *.failed.

Then the next chunk is tried.

May be, you found a simpler solution?
[Galaxy Note GT-N7000 General] travis82:
Just manually tried to make partitions. When I couldn't create one, I knew that nlock was bad.
[Galaxy Note GT-N7000 General] travis82:
Just wish I knew how to zero out the emmc chip. Than I could fool around more.