yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 General] forest1971:
Hi,

Thanks for sharing your in-depth knowledge about partitions of G-note, it is quite interesting and could be useful as ingredient for some solution.

From a practical point it will be good if you can try to initiate an idea or solution to deal with the issue of random freeze after re-partition that some people are facing after reviving their notes using repartition.

For the background (in case it is needed), after doing repartition workaround to revive phone from emmc brick (that cause damage to some partitions) many people have their phone working as normal, except with a smaller sdcard, but for some they have reported random reboot or freeze. So far no one has been able to understand the cause or can come up with a reliable solution yet.

cheers,
[Galaxy Note GT-N7000 General] v.cecchetto:
Thanks for the answer! :victory:

I am really sorry but I dont have a solution for that problem, I suppose that we have to look at programs dealing with direct access to flash memory position.

If a program wants to access a file on a disk it relies of kernel facilities for this purpose, and using the partition table and file system structures, normally you sould'nt have problems, apart if you have bad sector in your partitions.

If we are sure all the bad sectors are away from our partitions, we have to look at programs trying to access flash memory directly.

Usually only drivers can access flash memory directly. Also in the PC world only drivers can freeze an operating system, in my experience, I speak with pc OS in mind (BSOD in windows, or kernel panic in linux).

In windows u can analyze problems using Event Viewer. In linux, and android is linux, usually you can use dmesg or system log files.

If someone is interested in GPT and PIT bytes I will go on with the analysis.

... plus I can't open a new thread as noob and I think this is the most similar thread in which my experiments can be useful! :)
[Galaxy Note GT-N7000 General] forest1971:
The idea of using dmesg or system log file to identify the cause of freeze/reboot sound like a step in the right direction! :good:
[Galaxy Note GT-N7000 General] hg42:
I faced the same problem with dd and found that at least our ics doesn't have complete long file support.

The seek operations all use the same number size for addressing. So lseek is the same as seek, and even fsetpos only uses a long (32bit).

I wonder, how you were able to skip to the backup with dd.

Which dd do you use? Mine cannot skip to the end of my 16GB partition.
[Galaxy Note GT-N7000 General] No.01:
Hi forest, I have flash CM9 Nightly and gapps and it works perfecrtly before instslling whatsapp and another apps.

Why when I tried to install some apps ftom the market the device keeps freezes and I should restart the phone again to woks?

The same problem happens to genger bread rom..

And about the partiton I have scan it and it tells that no fualty blocks.

Also another problem I've face it in cm9 nightly: It tells unavailble mobile network.
[Galaxy Note GT-N7000 General] v.cecchetto:
I have installed different terminals, and busybox and messed up my phone enough, but the dd I use should be the Terminal IDE one:

$ su
# which dd
/data/data/com.spartacusrex.spartacuside/files/files/system/bin/bbdir/dd

# dd -version
BusyBox v1.19.2 (2011-12-12 13:59:36 GMT) multi-call binary.

I got ICS 4.0.4. It differs from stock only cause I flashed 3.0.15 speedmod kernel (k3-11) to be safe from emmc bug.
[Galaxy Note GT-N7000 General] prabhu1980:
Dear Forest

It is also possible to use the dual boot scripts for partition mounting.

As uggies said I have rarely met a gem like you. Thanks for being you my friend.

Now whatever hard I think we need help of some Samsung insiders here. Can anyone else reading this can get us support. Yes I know there are discussions by several mods. But nothing materialised. Try getting some Samsung insiders ...
[Galaxy Note GT-N7000 General] forest1971:
This is so sweet :)! Thanks bro!

The idea of using dualboot as a solution sound good. In that case we can leave the damaged partitions alone and maybe it could help avoid the random freeze problem. I will try to look into this in more details. cheers.

---------- Post added at 03:43 PM ---------- Previous post was at 03:26 PM ----------

Hi, not recognizing the network is a complicated problem which could involve efs and modem partition. So, it seem not worth trying to solve that problem of CM9 rom.

Still, I would stay with GB until the problem is solved, mainly to avoid ICS emmc bug hitting again while try different things to trouble shoot the problem.

The freeze while installing application from market could involve cache partition and data partition. The application is stored in cache partition while download and will in stall to data partition.

I would try to remove and recreate cache partition with a smaller size (maybe half the original size, using the suggestion in the guide) just to try to see if it helps at all. Also since data partition in Note is very large 2147MB. Therefore, if you do not install tons of application you can try to make a smaller datafs (perhaps 1000mb) so that it has less chance of containing some bad sector in it.

It maybe useful as well if you could install a logcat application (such as aLogcat a similar log app from google play) and post the log after random reboot/freeze. cheers.
[Galaxy Note GT-N7000 General] ashkan_mc:
Dear forest1971

I am in this situation :

1. In case you do not find bad blocks in the above 4 partitions, the problem is certainly not related to partitions fault. Then you should explore other unbrick methods, using Heimdall to flash instead of odin for example

What is heimdall? how can I use it?

thanks
[Galaxy Note GT-N7000 General] forest1971:
Hi,

Heimdall is an alternative to odin which is a good free application on XDA:

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

So it is no harm to try flash with using heimdall. Somebody reported they got success with heimdall while got fail with odin before. So maybe it help.

Still, if you can report more detail of your problem we can give more effective help.

In any case, should try to flash rooted gb rom (or another gb rom), which can be download from Dr.ketan toolbox. Link from his signature. then once it is working you can go with other rom.

cheers.
[Galaxy Note GT-N7000 General] ashkan_mc:
Thanks for your answer ..

In fact I got my phone soft bricked 2 days ago. First I tried a standard pit file and I got my phone back. Then I used a modified pit file which hg24 has developed.

Now my problem is when I am on LRQ and hydracore kernel, and when I scan the internal memory with the file hg24 offered, I still stick on 1073MB which my bad block stared before I used the modified pit file.

I mean it seems that I did not use the modified pit file at all. Of course a strange thing is when I scanned it with a GB kernel, it passed over 1073MB and it seemed fine !!!

By the way and meanwhile, I have got several freezes and had to press power botton to restart my phone.

I hope I could explain enough and you can give me some clues about these freezes.

P.S. I can use odin with no problem. If I can get over these freezes, then I am good :)
[Galaxy Note GT-N7000 General] forest1971:
It seems that the scanner from hg42 scan all emmc regardless it is in a partition or just unused space.

You can check the size of sdcard and can tell if you have used the custom pit file or not: If the sdcard size is about more than 11 gb, then you have not used it. If it is significantly less (like less than 10 gb) then you sure have used custom pit file.

Some people will have random freeze after revive the phone using re-partition. We do not know the cause and an effective solution yet. Some people try to change roms and it may or may not help. cheers.
[Galaxy Note GT-N7000 General] ashkan_mc:
The sdcard is 9.33 GB. So I have used the pit file successfully. So I should try different roms and maybe it won't be ok finally :(
[Galaxy Note GT-N7000 General] forest1971:
If you can use a log cat application (can be download free from g-play), then can examine the log file after the phone freeze and perhaps there can be some clue in there.

---------- Post added at 10:27 PM ---------- Previous post was at 09:57 PM ----------

There is a potential solution to deal with the random freeze issue, thanks to Prabhu1980, using dual boot set-up. The main steps are below:

1. flash original (unmodified pit) to get partitions back to original stage.

2. format sdcard.

3. Set up dual boot following the method by Chuandinh in the link below which assume that you can get recovery mode working:

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

In that case you will be working with the rom that is installed in the sdcard but everything should be the same as using a normal rom.

This in theory could help solve the problem of random freeze if the freeze is caused by "something in the chip/phone that does not like the re-partition". Still, this theory need to be tested and it will requires good skill to get this set up done.

cheers,
[Galaxy Note GT-N7000 General] ashkan_mc:
I installed this log cat app on my phone. As soon as I get any possible freeze, I will come back here and report the log.

Thanks

Cheers
[Galaxy Note GT-N7000 General] ashkan_mc:
Ok ... I just got my first freeze now ... here is the .txt file of the log ... I hope it would be helpful
[Galaxy Note GT-N7000 General] aletheus:
can't remove /cache

it seems to be the only one corrupted, as i've gotten clean efs2ck checks on both /system and /data--i've got a gTab7.7 and it has the same partition table as the gNote

any ideas?

when i try to unmount /cache from CWM it freezes, if try to unmount from adb (/dev/block/mmcblk0p7) it freezes. i can't even get parted to print properly... :(
[Galaxy Note GT-N7000 General] forest1971:
May be should tried to do run parted without umount/ . Also, have you tried the scanner from hg42 yet? It will help identify start and end of brick area. Cheers.

Sent from my phone
[Galaxy Note GT-N7000 General] aletheus:
yes, i started using hg42's scanner last night. problem is, the bricked area MOVES...... it's ALIVE!!!!!... AND i'm concerned its moving every time i try to reflash firmware and it gets stuck... is there any way you guys (forest1971 and hg42--and anyone else not nervewracked by this problem) to read through our superbrick forum and see where me and a couple of others are going wrong? androguide.fr put it together, and i am getting "successful" flashes on repartitioned chips, but then getting it to boot without freezing?

i can't even get cm9 or 10 to install. we have very few roms to choose from on the gTab7.7, and i haven't got a configuration up and running that doesn't constantly freeze up.... we were beginning to think that gapps might be the problem, auto sync, cache and data storage etc are all heavily activated by gapps installation. anyway it's been almost two weeks of research reading trial and error here, and still can't even get market to work. i've probably gotten it to boot like 6 times.

http://xdaforums.com/showthread.php?t=1862294
[Galaxy Note GT-N7000 General] forest1971:
(I was too occupied at work). The freeze may indicate there are still bad block inside datafs. Or in some cases we do not know the cause. If you are still working on reviving your p6800 then should consider some suggestions below. if still not work then we may need to do some chat with gmail since it is a difficult case.

Suggestion: Since the scanner from hg42 does not seem to work for you, you can try another way to locate bad block that using dd and parted. Key step are below:

A. locate partition with bad block:

1. using dd (as in my guide in page 2) to scan all partitions. If a partition has bad block it will freeze or report input/output error.

example for partition 10:

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

B. Locate areas in a big partition that has bad block. For example in your p6800 the datafs partition is very big (about 14gb) so if you identify it has bad block then can do following to locate bad area:

1. use parted to remove datafs partition.

2. then use:

(parted) mkpart <begine> <end>

to create many partition with the size of 2 gb. So if you have a datafs of 6800 with the size of 14gb then you can create 7 partition with the size of 2gb each.

3. (parted) print

to see partition number

Then scan each partition using dd as above.

repeat with other partitions.

Once encounter partition with bad block it will freeze or report input/output error.

With the above you can roughly locate bad block in one or more of those 2gb partitions. Then you can remove all of those 2gb partition using parted and then using pit file or manual re-partition to do re-partition workaround to leave those bad area unused.

If you use pit you should be able to flash with odin. If you use manual method you need to create the factoryfs with the very same size (same number of blocks) as the original partition (let me know if you have problem doing that). cheers.
[Galaxy Note GT-N7000 General] raz-or:
Can someone help plz.. My note is bricked and does not go into recovery mode but does go in to download mode. I am also able to flash any ROM via odin but it still gets stuck at the Samsung note n7000 screen. Have tried flashing various kernels but still cant get into recovery. Have also tried to get adb to see the device but it cant. Any ideas anyone??? Cannot go to the service center as the flash counter is up.
[Galaxy Note GT-N7000 General] forest1971:
Maybe try again the step to get into recovery. The procedures is below:

- Hold down the Volume Up, Center Home, and Power button together until your rooted Galaxy Note resets/restart.

- When you see the Samsung Galaxy Note splash screen then let go of the power button, while still pressing the other two buttons.

If you can get into cwm then wipe cache and data. see how it goes.
[Galaxy Note GT-N7000 General] raz-or:
Thanks Forrest. Will try the let go of power button method when I'm home
[Galaxy Note GT-N7000 General] forest1971:
If really cannot get into recovery, then download and flash a full-wipe rom from dr.ketan rom thread in the dev section. It seems to work for some similar cases. Cheers.

Sent from my phone
[Galaxy Note GT-N7000 General] raz-or:
Still unable to get into recovery. Tried a full wipe GB rom. The odd thing is I get no errors flashing in Odin. Everything flashes OK. Will try a pit file with the full wipe to see if there is any change otherwise im ready to give up...
[Galaxy Note GT-N7000 General] forest1971:
I would also try to flash a custom kernel, such as Abyssnote kernel, through odin, although it will raise flash counter.
[Galaxy Note GT-N7000 General] raz-or:
tried flashing abyssnote kernel with odin, flashes without error but the weird thing is the counter doesnt go up, so not sure its getting installed, could by why i still cant get into recovery,
[Galaxy Note GT-N7000 General] forest1971:
It seems to be quite strange.

Still the important thing is to check if can get into recovery. Should also try with the kernel attached to my guide in page 2.

Another thing is to change odin. There seem to be three version around which is 1.85; 1.87 and 3.04 (or 3.0 something which can be found by searching forum) to see if there is a different outcome.
[Galaxy Note GT-N7000 General] frankf75:
I have had the same problem in the past. In my case the counter increased but I was unable to get into recovery.

Maybe your tar file is corrupted, try downloading it again.

In my case I was unable to solve it as during a PIT upload my N7000 hanged and after pulling the battery it was dead and needed a JTAG brick repair. Now it is working again.
[Galaxy Note GT-N7000 General] raz-or:
have only tried so far with odin 3.04, how do i flash the T-kernel 0.9 if its a zip using odin? as cannot get into recovery is there a tar version of this?
[Galaxy Note GT-N7000 General] forest1971:
No. That kernel is not dor odin. Should try 4-pda-kernel.tar or try again abyssnote. If that does not work, I would try to flash the original pit file for note (download from dr.ketan toolbox) with repartition box ticked, and flash at the same time with a gb rom (should be the pre-rooted gb rom, also from dr.ketan tool box. see how it goes.

Sent from my phone
[Galaxy Note GT-N7000 General] forest1971:
Thanks for sharing. There is always some risk while flashing PIT because if something goes wrong in the process then there is a chance that the phone cannot boot and will need jtag. So we only recommend using PIT in emmc brick or as last resort. cheers.
[Galaxy Note GT-N7000 General] raz-or:
feels like i have tried everything, with all possible combinations!

i have tried a number of kernels (4pda, abyss, stock), different versions of odin, tried putting in odin mode, download mode (via the jig), used the 16gb pit file with a number of full wipe stock roms, nothing appears to update the custom binary counter, so no luck getting into recovery, does this sound like the nand rw is corrupted?
[Galaxy Note GT-N7000 General] forest1971:
Hm. Looks like very difficult case. At this point I would flash bootloader, also from dr.ketan toolbox. See how it goes.

Sent from my phone
[Galaxy Note GT-N7000 General] prabhu1980:
Razor you have some data issue. You can format data if you are on a safe Kernel.
[Galaxy Note GT-N7000 General] Fear345:
Hi

I have i/o errors trying to read partitions 10 and 11 what are my options ?
[Galaxy Note GT-N7000 General] forest1971:
In that case you can do repartition follow the guide in page 2, point 5.1 to 5.3, then install a rom. See how it goes.

Sent from my phone
[Galaxy Note GT-N7000 General] Fear345:
6. In case there are faulty in partition 11: need to experiment different locations for partitions, using the guiding steps in point 5.1 to 5.3 and start and end number for partitions. Use excel to make some calculation to make sure to give factoryfs the size of 894mb

I read this step and but wasn't sure how to go about it, Tomorrow i will try steps 5.1 to 5.3 and see how it goes.
[Galaxy Note GT-N7000 General] antoniiocc98:
I bricked my note but with it, I can revive my note! :D thanks

Enviado desde mi GT-N7000 usando Tapatalk 2
[Galaxy Note GT-N7000 General] JamieD81:
Finally after months of my n7000 sitting in a box I sent to mobiletechvideos for jtag and my brick is beyond even that. Guess its off to eBay for parts since India is just to far to send for repairs
[Galaxy Note GT-N7000 General] forest1971:
Sorry, I misread it as 9 and 10. For 10 and 11 then leave 9 alone. Just remove 10 and 11 and then recreate them at different location going systematically up until it works. A better way is using scanner from hg42 to find start and end of the brick, then can know exactly in which location to make new partitions 10 and 11. Lets us know how it goes.

Sent from my phone

---------- Post added at 05:29 AM ---------- Previous post was at 05:20 AM ----------

Jtag is useful when the phone cannot boot. For emmc brick jtag alone does not work since the damaged partitions are still there. If you can still get into recovery then there is good chance it can still be revived. I remember someone, perhaps sar17, have used a, combination of jtag and repartition to revive a hardbrick cause by emmc bug. Maybe you still want to try with it again when have free time?

Sent from my phone

---------- Post added at 05:31 AM ---------- Previous post was at 05:29 AM ----------

Thanks for reporting good news!

Sent from my phone
[Galaxy Note GT-N7000 General] Whaaaat!?:
Wow, that is just such a terrible thing... It scares me from ever flashing my note again :S
[Galaxy Note GT-N7000 General] Gilg@mesh:
I just recovered my friends note following this guide!!! Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :d
[Galaxy Note GT-N7000 General] raz-or:
Cannot get into recovery to wipe data unfortunately.
[Galaxy Note GT-N7000 General] forest1971:
It seems you have tried all options. How about seeking help from SS service center? Or maybe post the problem in Q&A to see if someone has any new idea?
[Galaxy Note GT-N7000 General] rman0:
dear forest.. how is every thing.. my note get hangs several after we revive it.. and i prefer to check the partition once more..

i use e2fsck command and it said "file system was modified" should i repartitioning??
[Galaxy Note GT-N7000 General] forest1971:
That warning is no problem. Just proceed. But remember to umount partition before running. In theory e2fsck should helps.

Sent from my phone
[Galaxy Note GT-N7000 General] joefish75:
Return EMMC bricked N7000 to Samsung (uninstall CWM)

Noob here.

I have a bricked Gnote N7000 and want to return it to Samsung under warranty. I've used a USB Jig off eBay to reset the

I followed the "wonderful" PoS guide on rooting my Gnote with 4.0.4, which installs CWM. Yes I know (after searching for a couple of days) that there was a full set of instructions with warnings in the forums on XDA Developers, but this was the top google result for 'root N7000 ICS' and there was no mention of warnings in the comments. To be fair, root worked fine, although I noticed version of CWM it installs (v.5.8.1.5) does a bit of a bootloop (back into CWM) when activated.

Of course the problems occurred when I tried to wipe the EMMC /data area using CWM before installing a custom rom. It got stuck in the wipe and after that I got the dreaded bootloop back to the Samsung logo. I applied CFRoot and spent a couple of days attempting various roms (including GB), which upped the flash count. I got rid of the flash count and yellow triangle using a USB Jig (£2 off eBay) and the fine instructions for removing the flash count on xda devs.

So now I'm about ready to call Samsung and play innocent (although it was their faulty chip that caused this!) but of course I'm stuck with CWM if you boot with the vulcan grip of death and vol-up key.

How do I remove CWM when it's in this condition? Yes I know I could read 111 pages on this thread and 52 pages on the PIT thread, but I'm not after reviving my phone, just getting it in a state I can send back to Samsung in. I searched the wiki already, and if this doesn't fit into a few paragraphs I'd be willing to write the wiki pages myself, so is there a quick summary?
[Galaxy Note GT-N7000 General] timothylaws:
If you can still put your note in download mode then Go to xdaforums.com/showthread.php?t=1424997 and install the stock ROM that corresponds to your region via odin. That'll put you on stock recovery.
[Galaxy Note GT-N7000 General] forest1971:
You may also want to try to install stock kernel (in .tar format) using odin from Dr.Ketan's thread below:

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

It should help get rid of the cwm and restore stock recovery.
[Galaxy Note GT-N7000 General] joefish75:
Getting rid of CWM without overwriting factoryfs

I've tried a number of kernels, including the Samsung GB kernel. It freezes at factoryfs.img - which I think is where it's trying to overwrite the part of memory that is faulty with some Gnotes (including mine it seems). I can boot a kernel on its own, but can I skip writing factoryfs and get rid of CWM without it?
[Galaxy Note GT-N7000 General] forest1971:
Flash kernel should go through since it does not touch the damage partition as the case of flashing a rom. Should flash stock kernel and let us know how it goes.

Sent from my phone

---------- Post added at 05:33 PM ---------- Previous post was at 05:21 PM ----------

It seems there is confusion of rom and kernel. Kernel is small file, about 10 mb more or less. Rom is huge file about 600 mb.

Sent from my phone
[Galaxy Note GT-N7000 General] joefish75:
who thought up this ridiculous naming scheme

How do I know which of the stock kernels to use? They have such cryptic names such as KK5, ZSKK1 and DDLP8

---------- Post added at 08:31 PM ---------- Previous post was at 08:17 PM ----------

Ok I found this list which is here http://xdaforums.com/showthread.php?t=1424997. I flashed 4.0.4 XXLRK (UK/Ireland without branding) and my recovery is now Android instead of CWM, so it's ready to send back to Samsung! Thanks! :laugh:
[Galaxy Note GT-N7000 General] compilerNayan:
i also bricked it once. but i got it replaced from samsung :D