yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] andrei693:
[Q] SII (Vodafone NL) with "Download mode" only, stuck on NAND Write Start!!

Hi all,

I have a SGS II from Vodafone NL that was not vendor locked, unfortunately I don't know more about it as I didn't care about firmware, kernel and the such. The phone is 2y 9m old. It all started with a low battery reboot, battery was at 0% and while plugged in was restarting shortly after boot, some too demanding applications that wanted to do their thing immediately after boot. This happen 2 or 3 times, on one of the boots I saw the android updated (green robot with spinning mesh), it was really short and I recall something about updating one file or so. Didn't pay much attention, the phone booted up properly when the battery reached 1%. After a few hours in which I used the phone a few times I found the phone shutdown and on boot I had the boot logo loop. Not knowing what to do I went into "Recovery mode" (Vol up + Home + Power) and issued a factory reset. It did something and I didn't pay much attention to it. There were a lot of errors related to /system /cache and something else that was not accessible. I was thinking that the on-board emmc might have died or at least part of it is. After the factory reset the phone has only the battery logo and "Download mode" (Vol down + Home + Power) only. I don't know what kernel I had nor what OS version it was on, I've updated via Kies some time ago, autumn 2013 maybe.

I've downloaded from sammobile:

I9100BULPG_I9100VDFLP9_I9100BULP8_HOME.tar.md5 Feb 2013 Ver 4.1.2

I9100BULPG_I9100VDFLP9_I9100BULP8_HOME.tar.md5 Sep 2012 Ver 4.0.3

When trying to upload them with Odin 1.85, 3.04 and 3.07 they fail at "NAND Write Start!!" with no other error message, just the normal succeed 0 / fail 1 which I find kinda dumb. Tell me what the error was, the device surely has said something or it timed out. I've tried this on 2 different computers both with Windows7.

After all this failed I tried flashing:

Siyah-s2-v4.1.5.tar

Same error from Odin but something changed in the "Download mode", now it says "CUSTOM BINARY DOWNLOAD: YES (1 counts)", before it was 0. The current binary is still saying Samsung official. The phone is still not booting and the "recovery mode" is still not there.

My questions:

Is there any way I can connect to it via adb and maybe have a shot at looking at it's disk layer? Saw that dd can be used within the adb shell IIRC. I do have some linux/unix filesystem recovery experience.

I saw that they use the .PIT file to change the sector allocation and avoid the damaged parts of the emmc. In order to do that I need to somehow give it a booting kernel. Is there any way of doing that? Maybe boot another device that can attach the emmc.

Should I try heimdall? Can it connect to the device even in "download mode"? I need to install one linux machine for this as I have only windows and BSDs around.

Is there any way for me to reliably find out the model of phone I have?

Are there any other things I can try to recover it or can I consider it's emmc dead?

Thank you.
[Galaxy S II Q&A, Help & Troubleshooting] doctor_droid:
Pit files can help ...as u already knw..

No pit file flashing doesn't needs working recovery..

U can flash pit file by odin itself...

Did u tried flashing a pit file?
[Galaxy S II Q&A, Help & Troubleshooting] MistahBungle:
Sticker on phone chassis under battery.
[Galaxy S II Q&A, Help & Troubleshooting] andrei693:
Haven't tried a pit file as I thought that I need to know which part must be taken out from the sector allocation first. Is it just trial and error?

If yes, which pit files should I try?

Thanks.
[Galaxy S II Q&A, Help & Troubleshooting] andrei693:
On the sticker I have:

Model: GT-I9100

SSN: -I9100GSMH

FCC ID: A3LGTI9100

IMEI and S/N

Don't know what to make out of these tough.
[Galaxy S II Q&A, Help & Troubleshooting] MistahBungle:
Why ? It's pretty self explanatory. It says you have an I9100, so you have an I9100. The rest of that stuff on the sticker is irrelevant.

So...if you do decide to flash a PIT, make sure it's an I9100 PIT or you'll definitely end up with a 116gm plastic paperweight.
[Galaxy S II Q&A, Help & Troubleshooting] andrei693:
I found this thread with PIT files http://xdaforums.com/showthread.php?t=1667886, but as I said, I'm clueless as which of the I9100 models this is and which archive should I chose, don't really remember if 8GB/16GB/32GB, plus there is a i9110g there. I know this sounds ignorant but I was with my phone, will not happen in the future.

Also there is this link: http://xdaforums.com/showthread.php?t=1823918, which is supposed to be a partition scanner but I find it confusing. In my case I can't flash anything on the phone so it seems impossible to use the scanner, is that correct? Are there cases in which parts of your emmc can die but you'll still be able to boot a kernel or have/use "recovery mode"?
[Galaxy S II Q&A, Help & Troubleshooting] andrei693:
Status update.

I tried to flash Siyah-s2-v5.0.1.tar with both Odin 3.07 and 1.85.

3.07 said the same error immediately after NAND Write Start!! I had to close Odin, remove battery and upon restart the phone has the triangle present but only download mode works. It incremented the CUSTOM BINARY DOWNLOAD and CURRENT BINARY has changed to CUSTOM.

<ID:0/006> Added!!

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

<ID:0/006> File analysis..

<ID:0/006> SetupConnection..

<ID:0/006> Initialzation..

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

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

<ID:0/006> zImage

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

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

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

1.85 just stayed for ~20 min on "NAND Write" and had to close it myself. Again had to remove battery has phone was not rebooted by Odin. Again the "BINARY DOWNLOAD" counter was increased. The phone still has "download mode" only and the triangle present on normal start.

I don't understand why Odin fails to reboot the phone and returns error upon writing.

I'm still a bit reluctant to use PIT files as I still don't know for sure which one to chose. Keeping it as a last resort tough.

Will try different kernels and I'm still searching for a bootloader to try and write, maybe somehow I can get it to "recovery mode" so I can use adb to see the partitions it has. Can't find any link for this.

I didn't backup EFS partitions and this is my biggest concern in using PIT files. If I understood correctly writing a new PIT file will delete all partitions. Is it possible then to still recover the device?

If anyone has any ideas ...
[Galaxy S II Q&A, Help & Troubleshooting] nopainwithme:
Here' s the bible, did you read it? http://xdaforums.com/showthread.php?t=1457458

Every single word there is important.

Also http://xdaforums.com/showthread.php?t=2345831 has some good tips, but you might have already read it

Here's my experience with a very similar problem: i got the same Odin error, nothing could be written and eventually decided to flash PIT file... Result: phone HARD bricked, no download mode anymore. I suppose the PIT file flashing failed as all of the rest.

IT's the last resort as, if it fails, your phone wil be completely dead (at least for the software part), no charging anymore, no download mode, and you will either need to revive it with a JTAG or change the motherboard.

SO before doing it, try and try everything slowly and using your mind.

Now going back to my problem, it was an emmc hardware problem, even JTAG riff box couldn't revive it (errors pointed to hardware fault) and i had to change the mainboard. I bought a phone with broken display for around 50$ and replaced my mainboard. In a service center you will likely be asked at least 150$.
[Sprint Samsung Galaxy S 4 Android Development] Warboy:
Here is the NAE Repacked ROM

ONLY TESTED WITH Philz Recovery

About the ROM

Basically Stock

DeKnoxed

Rooted

Odexed

Downloads

NAE ROM Flashable - Mediafire [Broken]

MK2 Stock ROM Flashable - Mediafire

NAE Patch for STRICTLY My MK2 Stock ROM - Mediafire

Then after you flash those 2, You can deknox it and root it.

ROM requires a Wifi fix if you are not running the newest modem. Don't ask me for it.
[Sprint Samsung Galaxy S 4 Android Development] Parkourkid93:
Feels good waking up to see this ;)
[Sprint Samsung Galaxy S 4 Android Development] sandman121383:
Im no.2! Awesome
[Sprint Samsung Galaxy S 4 Android Development] btoddweber:
Thanks a bunch!!!
[Sprint Samsung Galaxy S 4 Android Development] pixelsblur:
great, thanks bro.
[Sprint Samsung Galaxy S 4 Android Development] Warboy:
Link posted.
[Sprint Samsung Galaxy S 4 Android Development] Echo113:
Yay!! Thanks.
[Sprint Samsung Galaxy S 4 Android Development] Rydah:
Thanks

Sent From My HTC One! ?
[Sprint Samsung Galaxy S 4 Android Development] rheller219:
link not working for me...anyone else?
[Sprint Samsung Galaxy S 4 Android Development] dodgeboy:
I get a never-ending captcha loop
[Sprint Samsung Galaxy S 4 Android Development] leaderbuilder:
Me too :/

Tried multiple browsers. Multiple times, still no download.
[Sprint Samsung Galaxy S 4 Android Development] majid25:
I was able to download with no issues...but unfortunately when installing the ROM i don't get past the Samsung splash screen
[Sprint Samsung Galaxy S 4 Android Development] fgr:
Ditto...
[Sprint Samsung Galaxy S 4 Android Development] leaderbuilder:
Finally got it downloading! Tried again at client office, now I've got to stay here till I get it. :P

Thanks [MENTION=803586]Warboy[/MENTION]!

Also when you say 'deknoxed' you're talking about the bootloader I'm presuming, right?

Edit: Looks like the bootloader (img) IS in here.
[Sprint Samsung Galaxy S 4 Android Development] filebug:
NM i found the new modem so i'll just flash that
[Sprint Samsung Galaxy S 4 Android Development] Warboy:
there is no bootloader in here. There is only boot.img which is the kernel.

DeKnox, no Knox apks or aboot.
[Sprint Samsung Galaxy S 4 Android Development] cjn14:
So with no bootloader, how do we flash correctly?
[Sprint Samsung Galaxy S 4 Android Development] pixelsblur:
Me either, how bout some install instructions? I just wiped factory reset, cache partition, wiped dalvik, wipe to install new rom, rebooted recovery, then installed rom, but not getting past the samsung logo?

thank god for nandroid back ups.
[Sprint Samsung Galaxy S 4 Android Development] leaderbuilder:
OH Okay great! I just looked at the files comming down. I'm a flashaholic and will flash either way. :eek:

Thanks again Warboy!
[Sprint Samsung Galaxy S 4 Android Development] RJOent:
So much win!!

---------- Post added at 10:58 AM ---------- Previous post was at 10:55 AM ----------

Wanna link us?
[Sprint Samsung Galaxy S 4 Android Development] npaulseth:
Stuck on Samsung logo. Wiped cache/dalvik cache.
[Sprint Samsung Galaxy S 4 Android Development] leaderbuilder:
As for flashing OP says Philz, not sure which version, I'm on 6.08.9 now. [I do know that the very latest Philz, 6.13.1, is designed for KK.]

Also Warboy said you have to be on the latest modem. So head over to Unknownforce's firmware thread for that.

As for process, I'd probably wipe cache, wipe Dalvik, wipe system, wipe data, then factory reset/wipe for ROM install. I usually do that a couple of times to ensure full wipes.

THEN reboot recovery and try install. [maybe even install the KT KK kernel after the ROM install, I don't know]

But that's just what I'm going to do later. Unless somenone comes up with better method.
[Sprint Samsung Galaxy S 4 Android Development] filebug:
http://xdaforums.com/showthread.php?t=2338919

in this thread is the firmware that you can odin to your phone to get current radio
[Sprint Samsung Galaxy S 4 Android Development] cjn14:
If anybody gets this to boot correctly with doing the new firmware first, please let us know.
[Sprint Samsung Galaxy S 4 Android Development] filebug:
i am about to give it a try had to test my backup first tho LOL
[Sprint Samsung Galaxy S 4 Android Development] optimummind:
Anyone successfully flashed this coming from stock rooted MK2 with Knox-free MF9 bootloader and MK2 modem?
[Sprint Samsung Galaxy S 4 Android Development] neno2323:
hell yeah i just woke not even 5 mins ago and i see this
[Sprint Samsung Galaxy S 4 Android Development] filebug:
hmm

stuck at samsung logo using philz 6.08.9 and the newest 6.15.4. Think this rom is missing something important or not ready for the main stream.
[Sprint Samsung Galaxy S 4 Android Development] Jim M:
MD5?

Why is there not a check sum MD5 for the download? If you would please provide one we can see if we are getting a corrupted download.

Right now the zip is not booting after people try installing it.
[Sprint Samsung Galaxy S 4 Android Development] daniel4653:
Seems like its missing the kernel. If the OP used android kitchen to make this I have ran into that problem. The fix was to flash a kernel after and it would fully boot up. Problem is that we don't have a kernel right now.
[Sprint Samsung Galaxy S 4 Android Development] Warboy:
It should work, I'll take a look later at it. Paging [MENTION=4645794]CNexus[/MENTION]
[Sprint Samsung Galaxy S 4 Android Development] filebug:
yeah that is my guess also
[Sprint Samsung Galaxy S 4 Android Development] get-Apache:
no go here either

I am flashing with Philz latest 6.15.4 wiping all the zones data/cache/system/preload and then factory reset for rom install.

Been getting error in /storage/sdcard01/jfltespr_NAE_test0.zip (status 7)

Install aborted

Downloaded 2x, pulled sd card and loaded rom on directly - no go on flash
[Sprint Samsung Galaxy S 4 Android Development] leaderbuilder:
That was my thought. I wonder if the KT TW 4.3 kernel would work? [I know KT also has a 4.4 kernel but its for AOSP].

May have to wait for 4.4TW though.

I'll be trying this later when I get off the road.

Hopefully someone else might have answers too.
[Sprint Samsung Galaxy S 4 Android Development] anees02:
But i think the kernel released see this link

http://www.androidpolice.com/2014/02/12/samsung-releases-kitkat-kernel-source-for-sprint-galaxy-s4/

and this

http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=SPH-L720
[Sprint Samsung Galaxy S 4 Android Development] leaderbuilder:
That's the source. It still has to be compiled and, hopefully tweaked by some of the great devs here, for us to use it.
[Sprint Samsung Galaxy S 4 Android Development] anees02:
Thanks

So we have to wait another day ....there is may be a solution.

Where is CNexus to do his magic?:laugh::victory::laugh:
[Sprint Samsung Galaxy S 4 Android Development] optimummind:
OP, could you provide the md5 for the download? It'll put my mind to rest before trying the flash. :)
[Sprint Samsung Galaxy S 4 Android Development] Warboy:
Yea, give me a few. I'm going to try to rebuild the rom. But everyone YES the kernel is there. It might just be a script issue.
[Sprint Samsung Galaxy S 4 Android Development] rtwrobert10:
Use philz 6.08
[Sprint Samsung Galaxy S 4 Android Development] Warboy:
Thats the Philz I originally used, But testing anything newer for Philz leads me to believe he has changed alot with the updater script requirements. Still working on fixing this. There was a reason why it was called _test0. lol.
[Sprint Samsung Galaxy S 4 Android Development] leaderbuilder:
Thank you kind sir. :)
[Sprint Samsung Galaxy S 4 Android Development] optimummind:
Awesome. I'll disregard the earlier file and wait for the new one. Thx~! :)
[Sprint Samsung Galaxy S 4 Android Development] Echo113:
I keep fetting stuck on splash screen. I odined the nae modem prior to flashing this and it says nae in about phone but my wifi wont turn on. Is this why it keeps sticking at the splash screen?
[Sprint Samsung Galaxy S 4 Android Development] rheller219:
its getting looked at and taken care of.
[Sprint Samsung Galaxy S 4 Android Development] conflikt:
Will this trip knox if on mja modem without Knox ?
[Sprint Samsung Galaxy S 4 Android Development] Parkourkid93:
If you don't have a knox boot loader, then you won't trip knox
[Sprint Samsung Galaxy S 4 Android Development] conflikt:
Awesome, when will the new version be put up? Ready to switch back over from cm11 kind of burned out with it. Lol
[Sprint Samsung Galaxy S 4 Android Development] Rydah:
Anything? Thought it was just me

Sent From My HTC One! ?
[Sprint Samsung Galaxy S 4 Android Development] Parkourkid93:
Lol yea I've been looking for something new too, i had to switch to MIUI for a bit
[Sprint Samsung Galaxy S 4 Android Development] Warboy:
I don't believe I can get it to work right now. The best I can do is post a 100% stock MK2 and the NAE patch. The patch would require philz 6.08 recovery.
[Sprint Samsung Galaxy S 4 Android Development] conflikt:
So how would the install work coming from cm11? I'm under the NME modem without Knox. Go ahead and post up and I'll be happy to test long as no Knox is tripped :)
[Sprint Samsung Galaxy S 4 Android Development] asafegous:
Downloaded file twice and flashed with Phil's. Failed to boot system. Can somebody post a twrp nandroid of nae, please.
[Sprint Samsung Galaxy S 4 Android Development] CNexus:
Try deleting these files to get it booting for others:

system/etc/recovery-resource.dat

system/etc/boot_fixup

system/etc/selinux_restore (<-- not sure about this filename, might be a little different)
[Sprint Samsung Galaxy S 4 Android Development] asafegous:
Can't find them. Still waiting to try this rom.
[Sprint Samsung Galaxy S 4 Android Development] fgr:
I've got the recovery-resource, but not the other two.

I'm working on this also, I'll let everyone know if I come up with something. My first line of business after we get this to flash is to deodex it...
[Sprint Samsung Galaxy S 4 Android Development] Warboy:
The etc folder only has recovery-resource.dat

Maybe the symlinks or permissions need to be corrected for the new files from the update?
[Sprint Samsung Galaxy S 4 Android Development] runwithme:
I have modified ROM so still bare stock with NAE and root. I am uploading file now so this may help fix some boot issues.
[Sprint Samsung Galaxy S 4 Android Development] AcE2DuCe:
Sweet can't wait!!!!
[Sprint Samsung Galaxy S 4 Android Development] Warboy:
posted my 100% stock MK2 rom + the NAE modified Patch. USE Philz 6.08
[Sprint Samsung Galaxy S 4 Android Development] runwithme:
newfangled 4.4.2 sprint samsung update so here is s4 stock rom. I had one random boot loop and wi-fi is also not working so expect some bugs

Details

Knox removed

rooted

stock

zip-aligned

Download link: http://www.androidfilehost.com/?fid=23329332407571872

md5 = 4ee11a901d10d7dc30e172a79025c49c
[Sprint Samsung Galaxy S 4 Android Development] optimummind:
The stock MK2 zip failed during flash. Got a set_perm: some changes failed error + a Status 7 error. Used the latest Philz recovery.
[Sprint Samsung Galaxy S 4 Android Development] asafegous:
#fail here as well
[Sprint Samsung Galaxy S 4 Android Development] conflikt:
installed but no data and wifi is broken. Also the phone dialer when calling voice mail does not make any keytones, Could anyone link me to the wifi fix?
[Sprint Samsung Galaxy S 4 Android Development] cmonsterf50:
6.08 is suggested. I think 6.13 or something is latest. I'm using 2nd latest just fine.
[Sprint Samsung Galaxy S 4 Android Development] AcE2DuCe:
!!!!WARNING!!!!!

Guess what the "NAE Patch for STRICTLY My MK2 Stock ROM" is just the file for the OTA 4.4.2. update which gives you KNOX. You could have at least warned people. Your first ROM was suppose to be DeKnoxed. Your passing off files that can be downloaded fromhttp://android.clients.google.com/p...CSB_user_RP_to_NAE_CSB_user_RP_Update_FWD.zip. It's not some patch you made.
[Sprint Samsung Galaxy S 4 Android Development] Warboy:
Excuse me, The files are different, The Knox bootloader has been removed, the radios have been removed. Please review the files within it before you make such as claim. Just because I kept the zip name means nothing.

Like I said You have to use Philz 6.08, Not 6.12 or 6.15
[Sprint Samsung Galaxy S 4 Android Development] filebug:
both files posted above give status 7 or stuck at sprint logo while booting using philz 6.08.
[Sprint Samsung Galaxy S 4 Android Development] eskomo:
I'm not sure this guy knows what he is doing. Is this your first rom? You should take this out of public release and keep it private volunteer testing to get it working. Too many people could mess up their phones when the dev doesn't know what they are doing.
[Sprint Samsung Galaxy S 4 Android Development] Rydah:
Just be smart flashers and backup, then there will be nothing to complain about. He's doing this on his time, without forcing anybody to flash...

Sent From My HTC One! ?
[Sprint Samsung Galaxy S 4 Android Development] Gabewithkungfugrip:
It should be mentioned that it appears this rom was

not

created from the US sprint model. It says it's the international model GT-19505.
[Sprint Samsung Galaxy S 4 Android Development] runwithme:
WOOPS.... :(

I was working on getting 4.4.2 over to the Sprint S4 and I was eager to get back to it to see if I could help, and, when I came back to it, I forgot the base was for the international version.. I'm going to work on this as a separate development because it is a different project.

I'm sorry for any confusion I caused anyone but I'll try my best to make up for it :)
[Sprint Samsung Galaxy S 4 Android Development] CNexus:
So because Samsung decides to implement new security that makes it harder and harder to boot roms without the newest and complete firmware, that means someone doesn't know what they're doing?

I would advise against making such rude comments in a publicly viewable forum. PM or simply informing yourself of all the facts involved are two more optimal routes you could have taken.

FYI, a rom not booting IS NOT equal to a phone not working. This is not p->q; one does not imply the other.
[Sprint Samsung Galaxy S 4 Android Development] Majin101:
Lol that guy is just trolling on every thread.
[Sprint Samsung Galaxy S 4 Android Development] AcE2DuCe:
Real 4.4.2 (NAE) ROM that work with no problem....

This ROM in the below thread worked for me with no problem. Check out this thread below.

http://xdaforums.com/showthread.php?t=2650706
[Sprint Samsung Galaxy S 4 Android Development] CNexus:
I checked his posts and he actually is...I'm surprised he can manage to log on to xda by himself judging by some of the things he's posted.
[Sprint Samsung Galaxy S 4 Android Development] Warboy:
I knew someone would get it working. They always make it harder.
[Sony Xperia T, TL, TX, V] rinkulsk:
update is live i am downlaoding it now cheers xperia v users

dont forgot to hit the thanks button guys....
[Sony Xperia T, TL, TX, V] Spotja:
Is yours a carrier version?
[Sony Xperia T, TL, TX, V] Allen Hu:
Plz make FTF!!!

Thanks button pressed:good:
[Sony Xperia T, TL, TX, V] rinkulsk:
no its not carrier n well i dont know how to make ftf will u guide me after i update my xperia v
[Sony Xperia T, TL, TX, V] Ainster:
No update for me so where are your phone from ?

P.S. update checker dosn't find update :/
[Sony Xperia T, TL, TX, V] datagubben:
Make ftf with flashtool, and share PLEASE!
[Sony Xperia T, TL, TX, V] androidseb:
From which Country you are?

typed with a Xperia V on tapatalk 4.4
[Sony Xperia T, TL, TX, V] charmidz:
:+1: :D please make ftf file
[Sony Xperia T, TL, TX, V] rinkulsk:
i am from india guys n wait 2 hrs as downloading speed is slow

and yes will make ftf
[Sony Xperia T, TL, TX, V] kongaz2:
plz let me know cust of your device :o
[Sony Xperia T, TL, TX, V] rinkulsk:
http://www.xperiablog.net/2014/02/14/xperia-v-android-4-3-update-9-2-a-0-295-now-live/

they thanked me

feeling wonderful
[Sony Xperia T, TL, TX, V] chintankoya:
Which City u belong to?

Hi,

I am also from India. Can you tell me which City you are from and which network you are using?

I live in Mumbai and i tried checking the update but it shows that my phone is up to date.
[Sony Xperia T, TL, TX, V] Hanry77:
This long I waited, hopefully there is pleasing to upload the firmware ftf :D:D
[Sony Xperia T, TL, TX, V] rinkulsk:
am too from mumbai but i am luck to get the update

and yes will make ftf