yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy Note II] idoit:
I had a relatively good OmniROM on my Samsung Galaxy Note 2 SGH-I317M for a while. I was in the middle of listening to some music that my phone crashed and rebooted and it got stuck at the OmniROM logo. I waited but then as I noticed it's not getting anywhere, I rebooted the phone. Then it got stuck at the Samsung GN2 logo.

I can go to download mode and I do have TWRP 2.6.3.1 as recovery mode and it's working. The weird thing is that, when I go to TWRP it asks for a password which I'm sure I've never set up in first place! Using File Manager of TWRP, I can browse but all critical folders are empty (system, data, etc, ...). Even if I insert my external SD card, the sdcard1 folder doesn't show anything! Worse than all, I can't wipe, backup, restore, install or mount or pretty much any of the functionalities in TWRP as folders are empty and external microSD card is not mounted. I can confirm all folders exist but are empty as I said. Apparently, it is unable to mount any folder!!!

In download mode, I tried to flash the stock ROM for 4.1.1 and 4.3 but it always fails with NAND Write started Operation fail error. And just to make sure I have tried different versions of Odin, different cables and 2 computers, all same error. I appreciate if someone can help me. This phone is new.

Another symptom is that when I power off the phone and charge it by plugging it in, the battery logo shows up but it's always show empty. I know the battery is being charged because when in TWRP, it shows percentage on top of screen, say 83%. Please help.

I can even adb from my PC to the phone.

Here is what Odin shows:

<ID:0/003> Added!!

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> I317MVLUCMK5_I317MOYACMK5_HOME.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/003> Odin v.3 engine (ID:3)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

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

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

<ID:0/003> sboot.bin

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

<ID:0/003>

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

<OSM> All threads completed. (succeed 0 / failed 1)
[AT&T Samsung Galaxy Note II] dicksteele:
You're only kinda hosed....

You need to find an ODIN package WITHOUT the sboot.bin. That's the bootloader that is not flashing....
[AT&T Samsung Galaxy Note II] idoit:
By reading around, I was getting the impression that I need to flash .pit file along with the stock ROM but as I don't want to get things worse I was reluctant to do it. My searches for odin package without sboot.bin takes me no where. Not that I am a super Android toddler but any help is certainly more than appreciated. Well Ok, I'm noob. admit it. :) :good:

Edit: I found out about N7100UBALJ2_N7100TCEALJ1_TCE ROM from http://xdaforums.com/showthread.php?t=2523366 but not sure if that solves the problem or that's relevant as it's for N7100 and mine is SGH-i317m... same family but who knows maybe different ROMs! ?
[AT&T Samsung Galaxy Note II] rangercaptain:
Can you connect to your pc and transfer rom files?

If not, in download mode you can use adb.exe and "adb push / mnt/sd card rom name" if you can't transfer.

Don't use a pit file. That partitions all of your phone.
[AT&T Samsung Galaxy Note II] idoit:
Update: I uploaded the recovery.log file from TWRP by accessing with adb in recovery mode.

Nothing happens when I connect it to PC in normal mode... I mean just connecting it as it is. (NOT in recovery mode or download mode).

Right now, I am in Windows and when I connect it in download mode, I try to adb but it says device not found. In recovery mode, I can adb but as I said in first post, I can't read or write. MicroSD is not recognized, so I can't put stock ROM there either. Is there any hope to get my phone back?

Well, I did try to flash a pit file from here, but it fails with same NAND Write error! :(
[AT&T Samsung Galaxy Note II] idoit:
I have a good news.

So I went to /dev/block folder when ADBing and noticed mmcblk0 device. I manually mounted mmcblk0p1 and yoohoo it is mounted. It means now i can put my TWRP backup files there and run TWRP restore. Is that a good idea?! Does it make sense at all? I mean I am desperate for any way to get this thing back, a shadow of hope is huge for me too now.

Update: Ahhh damn it! I mount the MicroSD from adb to /external_sdcard (this is the folder where it used to mount my external microSD) in TWRP. Using File Manager provided by TWRP, I confirm the folder is there. But when I go to Restore section, it doesn't show any partition and it doesn't let me choose external memory. It's like this:

- Internal Memory (0MB)

- External Memory (0MB)

- USB OTG (0MB)

Any thoughts? I feel I am so close but not there yet.
[AT&T Samsung Galaxy Note II] rangercaptain:
The reason adb doesn't work is you need a setting checked in developer options. I wish that was a default setting.

You're not bricked if there's any lifesigns.

Have you used the Kies website? I generally don't recommend Kies, but when your operating system is borked, Kies has an emergency firmware recovery option.

Before you go to Kies, copy down the information on the sticker under your battery, and it will be case sensitive when Kies asks for that info.
[AT&T Samsung Galaxy Note II] idoit:
Alright, done. :)

When in Kies, it can't connect to my device. tried all usb cables and all 3 modes: Normal, download and recovery. Always says connecting... spinning forever. I suppose I should work in download mode anyways, right? Anyway, I went to Tools > firmware emergency recovery and entered the serial number. It finishes to 100% but it the end prompts with this error:

<Firmware emergency recovery stopped due to error. If the problem persists, please contact the Samsung service center.>
[AT&T Samsung Galaxy Note II] idoit:
Now to report back the result from Kies FER:

I follow the instructions word by word. As the screenshot shows, Kies tells me to put phone into "Recovery mode"by pressing on power button. Well, either Samsung doesn't know what recovery mode is or ... Anyways, I take battery out and etc and boot to normal phone by pressing on power button... and "Free Upgrade"button is still grayed out. I go to Recovery mode (Power + Home + Volume Up) and it is still grayed out. (first screenshot attached below)

It's only in Odin Download mode (Power + Home + Volume Down and then Volume Up) that it becomes available.

After some time, the following error appears. I have done it a couple of times now and I restarted my Windows too. but no dice. :(

(second screenshot attached below)
[AT&T Samsung Galaxy Note II] dicksteele:
And you're on an i317M on ATT?

Was this an original Rogers or Bell phone???
[AT&T Samsung Galaxy Note II] idoit:
I have i317M and it was originally for Bell. I got rid of stock ROM and then installed OmniROM until this happened.

Kies is not helping the poor smartphone either (well now it is dumbphone :D). Keeps giving that error too.
[AT&T Samsung Galaxy Note II] dicksteele:
Cool.... So where did you get this

I317MVLUCMK5_I317MOYACMK5_HOME.tar.md5

The ODIN file that's blowing up on the bootloader?
[AT&T Samsung Galaxy Note II] idoit:
I have to say this: When my phone was alive, in order to unlock the carrier from Bell, I had to flash a 4.1.1 modem and I flashed one from Rogers to unlock. So my under setting in my Phone was showing Rogers brand. Now with this in mind:

I downloaded that file from here under heading I317MVLUCMK5 4.3 Stock Firmware. I noticed it is for Rogers. (where for Bell was available too but I downloaded Rogers one.

I have tried some other original i317m stock roms (from sammobile.com), 4.1.1 for Bell but no luck same NAND error. I simply guess ODIN can't write anything, and the eMMC is corrupted! ?
[AT&T Samsung Galaxy Note II] dicksteele:
It's trying write the sboot.bin file which is the bootloader.

The 4.3 bootloader slaps down any attempts to overwrite it. That's why you're seeing the fail.

I'm downloading a 4.1.2 to see if sboot.bin is in there

---------- Post added at 08:58 PM ---------- Previous post was at 08:23 PM ----------

Good news the I317M_RWC_I317MVLBMA3_I317MOYABMA3_Original.zip from the

Rogers – 4.3 Jelly Bean RWC_I317MVLBMA3_I317MOYABMA3_I317MVLBMA3 download does not have the sboot.bin.

That should bring you back.. Or at least get past the ODIN flash fail

---------- Post added at 09:02 PM ---------- Previous post was at 08:58 PM ----------

Awesome on the firmware site BTW !
[AT&T Samsung Galaxy Note II] idoit:
Thank you very much dicksteele! I'm downloading it too and it will take 8 hours I believe, so I'll report back later. Now, here is the thing: Reading some comments from that page makes me be careful though.

Specifically, talking about the following comments:

Now, what should I do now to make sure I will be able to make calls, assuming (hopefully) I'll get this sucker back to life? :)

Oh boy, will I ever again install OmniROM on it? Hell NOOO!
[AT&T Samsung Galaxy Note II] rangercaptain:
You won't lose your baseband or IEMI. What you are doing is returning your phone to 100% factory stock (except for the 4.3 bootloader). You can deal with any other issues as they arise/if they arise from a working phone easier than you can from a borked phone.

Why eight hours to download?
[AT&T Samsung Galaxy Note II] dicksteele:
The losing the IMEI was because of a different issue I believe.... The /efs partition holds all the important cel info. As long as that's not hosed you're fine...

OMNIROM should not have touched that.

Backing up your /efs can be done a couple of ways.

http://www.xda-developers.com/android/backup-your-efs-partition-with-easy-to-use-app/
[AT&T Samsung Galaxy Note II] idoit:
So I downloaded that file and it took almost 8 hours. But it still has sboot.bin and boot.img file inside! Obviously flashing with Odin gave same error. [MENTION=2918361]dicksteele[/MENTION]: Can you please share with me the link I can download? I downloaded this file (http://rg.to/file/c036fd8b51b8836bf0a399eee83ee680/%20I317M_RWC_I317MVLBMA3_I317MOYABMA3_Original.zip.html) from http://androidromupdate.com/2012/11...-sgh-i317m-canada-original-stock-romfirmware/ under I317MVLBMA3 4.1.2 Stock Firmware, Rogers – 4.3 Jelly Bean RWC_I317MVLBMA3_I317MOYABMA3_I317MVLBMA3

P.S. I opened the tar.md5 file with 7-zip.

[MENTION=3105785]rangercaptain[/MENTION]: My internet speed is good, it should have been because of the download link above (from rapidgator) which made it so slow. Where do you guys download from that's faster?!

Thanks everyone.
[AT&T Samsung Galaxy Note II] dicksteele:
I'm a dumbass It was

I317M_RWC_I317MVLALJ2_I317MOYAALJ2_Original

And you're right it was rapidget that was slow.... I have a download manager that I use and it pulls it down quick.

Another location is here

http://www.sammobile.com/firmwares/3/?download=8176

I know I know RC. :D

You need a login to download, registration is free.

I'm trying to upload the one I downloaded but upload dies 3 MB into it.

If you have probs with the sammobile one, I'll try and get the other one downloaded so you don't have to waste another 8 hours because I'm a dumbass.

And 7zip to verify was good, that's what I did.
[AT&T Samsung Galaxy Note II] idoit:
This is being downloaded quickly. Until that download is finished, I knew yesterday I downloaded I317M_BWC_I317MVLALJ2_I317MOYAALJ2_Original (Similar to the one you just said to download but for Bell). You're right, this one doesn't have sboot.bin but it does have boot.img. Anyways, I tried to flash it with Odin3 v3.04, and it fails on me! :(

Firmware update start...

boot.img

NAND Write Start!

Complete(Write) operation failed.​

Now, I have no idea what to do next! Wow, phones and even products from big companies like Samsung are so fragile.

[Off-topic]

Boy, these last 3 days had been hectic. First this happened to my Phone. Then today, when I was in Windows (which I rarely use, I went on Disk Management and made my C partition active). Stupid Windows, wiped all my partition table!!! And now my laptop is a piece of brick too. Oh boy, you know, when it rains it pours! :)
[AT&T Samsung Galaxy Note II] rangercaptain:
I use Odin3 v1.85 and it never failed.

But I don't know why Kies failed you.
[AT&T Samsung Galaxy Note II] dicksteele:
I went to bed last night after 1 and had daughter wake up at 5:30, bad dream or something.. So I'm useless.....

Which version of ODIN ?

Hopefully you won't say 3.07..

Here it is

http://d-h.st/N1V

ODIN 1.85

http://uploaded.net/file/qi9ffkly

---------- Post added at 07:38 PM ---------- Previous post was at 07:23 PM ----------

Hell yeah. Try the 1.85 if you're not using it....

EDIT: Brain may be engaging... No sure why I'm drinking a Rock Star at 8 PM....

So before OMNIROM were you on 4.3 ???

And what was it?

I'm going somewhere, but not sure if it's the right path.... Rock Star not working completely. Can't remember if anyone has flashed the 4.3 param.bin and tz.img on a i317m..

I think that's why it's wigging out... Left over 4.4.2 crap from OMNIROM.

---------- Post added at 07:59 PM ---------- Previous post was at 07:38 PM ----------

Just found some good points from [MENTION=5015324]gastonw[/MENTION] in a Galaxy S 2 forum

Try all odin versions possible

Try all usb ports.

Try all usb cables.

Try all pc/laptops you can.

Try flashing various ROMs.

Try flashing various kernels via Odin.

Uninstall & reinstall Kies

Can you still get into recovery?
[AT&T Samsung Galaxy Note II] idoit:
I am all puzzled by this phone right now!!! I read and read and read forums... Symptoms of my phone don't reflect that it is super bricked or hard bricked. It seems to be soft bricked, right? But yet getting it back to boot had consumed 3 days of my life! :(

I tried 1.85 now after ranger's suggestion and you. I'll try other Odin versions soon.

Thank you. :)

Before OmniROM, I was on Stock 4.3. The phone came with I guess 4.1.2 and I updated to 4.3 I am sure.

Well, it was OmniROM, right? I'm not sure... what do you mean? :D

You got it right, it was OmniROM 4.4.2... CRAP. I'm either going back to basic phone (if I can't get this thing alive) or pure stock rom!!! Done with custom ROMs for now.

My PC has 4 USB ports and I have 3 USB cables at my disposal (my laptop is out of game for now until I deal with Microsoft's trouble-gift for me today! Thanks Bill Gates BTW :D).

I have tried all 12 combination above with Odin3 v1.85 with [MENTION=1233888]disks[/MENTION]teel's link and all fail at boot.img.

I can go to recovery (TWRP 2.6.3.1) without any issues.
[AT&T Samsung Galaxy Note II] rangercaptain:
What happens if you boot the phone without the sd card or the sim?

And what happens in recovery without those items?

Can you use a virgin windows 7 computer, Odin3 v1.85 and a factory cable?

Since Kies got you nowhere I'm looking at your pc/cable.
[AT&T Samsung Galaxy Note II] dicksteele:
Agree,,, PC/cable big possible cultpits

But I'm thinking trying to flash a kernel from TWRP also. See if that bombs.

Or maybe flashing Jedi MasterX2. Its a multicarrier ROM

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

See if that works....

Or maybe this one

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

Been concentrating on ODIN flashes,,,, Why not try a TWRP flash of a 4.3 ROM....

Make sure they have a boot.img... A kernel since that's the first thing that barfed in ODIN
[AT&T Samsung Galaxy Note II] rangercaptain:
I think one of his issue is that his recovery sees all his folders as empty so he can't flash. Thats why I was suggesting removing the sim and sd card bevause they could be corrupted. I'm just guessing on that solution, remembering the 8086 ibm pc that would go dark if you inserted a bad memory module (simm). Thats like 1982 era.
[AT&T Samsung Galaxy Note II] dicksteele:
Ahhhhh... kinda the same thing on zenith 248s with a screaming 286 inside. When DOS 5.0 was released. What a joyous time.
[AT&T Samsung Galaxy Note II] Zen Arcade:
12Mhz for extra power!!! Take that IBM :sly::eek::D
[AT&T Samsung Galaxy Note II] rangercaptain:
I paid $3,000 for my z248. It had a 64 mb hard drive and a fancy ega monitor. Woot!
[AT&T Samsung Galaxy Note II] dicksteele:
You were way smarter than me... I got suckered into a learn/build a PC training course racket in 1990.. Here's my first one. No hard drive. I finally got one for lord knows how much, 20 MB.

By the time DOS 5.0 and 6.2 came out I was a memory managing MOFO.

Thanks for the flashback !!

And sorry got WAAAAYYY off track.

So [MENTION=4422246]idoit[/MENTION] how you doing? Is the phone working ???
[AT&T Samsung Galaxy Note II] idoit:
rangercaptain, disksteele and Zen Arcade: Thanks for your responses. I had a cold and that's why I was off these days. I figured there are so much to learn before doing any further action. I am going to read what you guys referred to in previous posts and MAYBE MAYBE try this one as well: http://xdaforums.com/showthread.php?p=29996469&nocache=1

I'll report back when I get better (which would be soon, I hope). Thanks again. :)
[AT&T Samsung Galaxy Note II] dicksteele:
Hope you get better soon..

Do this as last resort !

http://xdaforums.com/show...6469&nocache=1
[AT&T Samsung Galaxy Note II] idoit:
Thanks [MENTION=2918361]dicksteele[/MENTION].

Just out of curiosity: Is it possible that the internal memory in this phone became absolutely full (0k free space) in the night before its death, and therefore there is no space left now for mounting or looping partitions?!!! I am saying this because, honestly as the phone can go to download mode and recovery mode, the issue shouldn't have been so serious. I should have been able to recover it fairly easily, but it hadn't been the case. :confused:

Also, when I plug it in to charge the phone, no change to LED happens. Indeed, that LED had been off almost always since the catastrophic day. ;) It does charge, as I can see the battery percentage pumping up when I am in TWRP.

If I'm not mistaken, the LED only turns on red (for as short as a fraction of a second!) when I reboot and that's it. Other than that, no lights whatsoever. Is that an indicator of anything, I wonder.

BTW, I have a very good news: I found my TWRP NAND backup, so no worries about EFS partition. Only if I can somehow revive internal memory.

Unless I am an idiot and am doing something very trivial the wrong way, there should be a way to get this thing up and running!!! as [MENTION=4330322]MistahBungle[/MENTION] said in http://xdaforums.com/galaxy-s2/help/help-request-s2-stuck-boot-logo-t2082129.

:eek:
[AT&T Samsung Galaxy Note II] dicksteele:
I would think a full wipe with TWRP and a restore of your backup should make it happy again....

And make sure if the backup is on your backup is on the external sdcard, for the love of god don;t format that ! Been there, done that with a slip of a finger !
[AT&T Samsung Galaxy Note II] idoit:
That's exactly the issue. In TWRP, when I go to Wipe > Swipe to factory reset, it gives a lot of "E: Unable to mount XYZ" where XYZ is stuff like /efs, /cache, /system, /cache and failed to decrypt data.

Now, if I try to "Format Data", it asks for my password. I haven't assigned a password (as far as I remember). Is there any way to decipher password in TWRP?!

Right now, after reading a success story for someone with similar scenario, I tried to re-flash TWRP (same version as the one I have right now) with Odin 3.04 and 3.07 but it failed with same NAND write error. So that I guess prunes the theory that if a ROM doesn't have sboot.bin, it would be flashed on my phone. Does that make any sense to any one of you? :good:
[AT&T Samsung Galaxy Note II] dicksteele:
You've only tried TWRP right ?

Try Philz Recovery

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

http://goo.im/devs/philz_touch/CWM_Advanced_Edition

t0lteatt
[AT&T Samsung Galaxy Note II] rangercaptain:
I always blow past the password, but you can go to the original develpoment forum and ask the TWRP guys.
[AT&T Samsung Galaxy Note II] idoit:
Oh boy, same old NAND write error. :(

Very close to throw this piece of brick out the window. :D

[MENTION=3105785]rangercaptain[/MENTION]: I might actually do that. Thanks. My mind is blown after so much reading and no success.
[AT&T Samsung Galaxy Note II] dicksteele:
Frickin crazy man. Sorry..

And you haven't tried the pit yet?

I've been reading around for your errors.. Didnt go back and read here,

I read dudes did 3 wipes back to back and then tried flash. I thought I read that works.

Here's the pit files, I'm sure you've seen them

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

Maybe try sending Zen a PM, the guy that zipped up the pit files. He's wicked awesome
[AT&T Samsung Galaxy Note II] rangercaptain:
I'm sure dicksteele is on the right track with the pit file. If you repartition your phone you will reformat and rewrite the directories.

Alternatively, you can send your phone to a JTAG service. They connect a flashing tool directly to the phone and flash rhe rom chip with 4.1.1. The cost is about $50 and takes a week door to door. www.mobiletechvideos.com
[AT&T Samsung Galaxy Note II] idoit:
So, finally I went ahead and tried to flash pit file now that phone is in this state.

I flashed the i317m and the ROM file that [MENTION=2918361]dicksteele[/MENTION] pointed me to (the one without sboot.bin it is). I did it with Odin3 3.04 and it got stuck at "Set Partition" getting pit information.

after waiting, I pulled battery, usb. Back to download mode, now I tried with pretty much all versions of Odin3.

All give this error:

<ID:0/003> Re-Partition operation failed.

I tried another cable too.

[MENTION=3105785]rangercaptain[/MENTION]: Yes, I think pit direction is the right one too, but this sucker doesn't accept any flash whatsoever!
[AT&T Samsung Galaxy Note II] dicksteele:
So maybe flash the rim without repartition checked. Since flashing the pit accomplished that.

Guessing......

Not sure if you need to re flash pit. Since an attempt was made to repartition. Then flash rom with only reboot option checked
[AT&T Samsung Galaxy Note II] idoit:
Update: Please ignore this post. Just to test, I tried to Odin the rooting file for i317m (CF-Auto-Root-t0ltecan-t0ltevl-sghi317m.tar.md5) and it gives:

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

<ID:0/003> FAIL!

So the issue is still same crappy NAND. Sammy is a very bad boy, baaaad!

I guess that, now, the pit is missing altogether, because: when I want to flash just the ROM (no pit), Odin spits (hahaha I'm good at wordplay :D) the following errors:

<ID:0/003> Added!!

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> I317MVLALJ2_I317MOYAALJ2_I317MVLALJ2_HOME.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/003> Odin v.3 engine (ID:3)..

<ID:0/003> File analysis..

<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.img

<ID:0/003>

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

<OSM> All threads completed. (succeed 0 / failed 1)

Now, if you look closely, before this I used to get a "NAND Write failed" line. But now I don't get that, and I guess that's because a step earlier (partition table) is messed up now... ?!
[AT&T Samsung Galaxy Note II] dicksteele:
Did you flash pit, then flash rom without partition checked?

---------- Post added at 07:01 PM ---------- Previous post was at 07:00 PM ----------

Or flash pit, then flash twrp via odin. See recovery flashes