yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 3 Android Development] ociortan:
Mine doesn't work, sorry

I have an international note 3 SM N9500 rooted, tried to install the root for upgrading to note 7 and I stuck with a bricked phone. The screen is with that Samsung Galaxy SM N9500 on it and I cannot get it off unless I remove the battery. I downloaded on my sd card this soft, flashed with TWRP and reboot, but nothing happened. Could someone please tell me what to do? Thank you.
[Galaxy Note 3 Android Development] JJEgan:
Post lacks details .

What Root ???

Brick after root would be you used the wrong root file .

Suggest flash stock rom through Odin .
[Galaxy Note 3 Android Development] ociortan:
Thank you for your reply, I am doing now the stock rom through Odin...my bad, sorry. That's a noob here too old for this s#$t.
[Galaxy Note 3 Android Development] JJEgan:
There will be users on this forum much older than yourself .
[Galaxy Note 3 Android Development] ociortan:
That's very refreshing, thank you. I did a stock rom right now and it works flawless, but boy, I had to read a lot and I mean a LOT. Anyway, I have to thank you guys for all your great work. That's really amazing what you're doing here.
[Galaxy Note 3 Android Development] syamsoul:
Thanks so much for the script... now I have my IMEI number back. Have tried everything ..only this works. Thank you again!
[Galaxy Note 3 Android Development] rickson chin:
if galaxy s5(g900p) got kernal is not seandroid enforcing,can use it?
[Galaxy Note 3 Android Development] JJEgan:
Question makes no sense .

Suggest you ask in your phones forum to be safe.
[Galaxy Note 3 Android Development] bhasg1007:
Flashed faux kernel and the phone went into a bootloop mode giving me system ui not responding error just thought i ended with a 47k paper weight then luckily i found this script and flashed it and my phone came back to life thanks firasusman thank u very much u made my day
[Galaxy Note 3 Android Development] Yanardag:
Thank a lot. you are my hero. ;)
[Galaxy Note 3 Android Development] firasusman:
Welcome everybody's.
[Galaxy Note 3 Android Development] perosredo:
Backup your EFS

Or, you can backup your EFS before you start flashing and restore it if something really undesirable happens - it just did the trick for me using TWRP.
[Galaxy Note 3 Android Development] SocietyKiller[GE]:
OMG I had the same issue with that stupid kernel thanks to you I got my phone work again.

You made my day thank you so so much firasusman.
[Galaxy Note 3 Android Development] intuition34:
No, this solution doesn't work with this particular problem. Something happens (sometimes it's a twrp restore, sometimes something else) that borks the efs partition so that *it won't mount*. If it won't mount, u can't restore it's files or even it's image. The Only way is to implement this type of solution.... IE, u so a "low level" format of the efs partition that recreates it and allows u to mount it. Once mounted, *then* u can restore efs as u suggest.

All of this belies what I consider to be the bigger problem. How/why is it that the efs partition on our note 3's is so easily borked, and in such a man er that mounting becomes impossible.

This thread has shown MULTIPLE ways that people are inadvertently doing this. There is the twrp issue, flashing certain kernels seems to do it (although not to everyone.....Why?!) and I've even heard of people doing it upon plugging or unplugging their phones. I sincerely hope that Samsung takes a look at why so very many of its "flagship" phones have this problem. (And with the fix requiring a fair amount of savy AND it requires a procedure (rooting) that voids the warranty.

Any ideas for best way to get Samsung working on this?
[Galaxy Note 3 Android Development] Raphy511:
Got this problem when trying to backing up efs part with that app : https://play.google.com/store/apps/details?id=nl.boris.efs

I sent my phone to service center and they ask me to pay 223€ to get it repaired!

Do you think this fix will work in my case?

Thank you
[Galaxy Note 3 Android Development] micky387:
Try and report. Only solution

Envoyé de mon SM-N9005 en utilisant Tapatalk
[Galaxy Note 3 Android Development] firasusman:
Yes
[Galaxy Note 3 Android Development] Raphy511:
Thanks for answer, but I have doubts, because an other guy broke its phone with the same app as me and he repports that the zip did not worked...

: http://xdaforums.com/showpost.php?p=47593453&postcount=176
[Galaxy Note 3 Android Development] smegg:
Also, why does this work op? My efs part is mmcblk0p11 and your script points to mmcblk0p12 which is modem 1 on the n9005. I'm so confused...
[Galaxy Note 3 Android Development] firasusman:
Sorry for misunderstanding your question..

I am so sorry again.

Really i prefer to try it you will lose nothing.. Man.

Your phone is already bricked.

Rhis will recreate the efs partition for you and i think it will work.

Tell me the results..
[Galaxy Note 3 Android Development] billavg:
my phone is back and running again!!! thank you, you are the man
[Galaxy Note 3 Android Development] Catpoule:
thanks for the fix, it worked for me ....
[Galaxy Note 3 Android Development] smegg:
Oh I already used it and it worked, i just dont know why lol. I tried the commands in the script in twrp command line with altered mount point with no success but the zip with different parts worked fine. Weird.
[Galaxy Note 3 Android Development] friedrich420:
All i can say is that THIS IS A MIRACLE WORKER!!!

I can confirm that 2 members of my team had "seriously bricked" phones and ONLY thanks to this "MIRACLE FIX" did they get their phones back to life!! And we are talking about experienced users here...

I mean there are so many Amazing contributions by wes and firas but this is probably on top of the list!!!

:good::good::good:
[Galaxy Note 3 Android Development] micky387:
Exactly.Same situation last week and the fix restore my phone. :good:
[Galaxy Note 3 Android Development] firasusman:
I am so happy to find this script so helpful for all of xda community.

You are so welcome.

Thanks again for my brother Wesamothman..
[Galaxy Note 3 Android Development] micky387:
Yes note 3 is a fantastic phone but samsung dont make life easy ....

lot of problem with the phone (imei , knox ....)
[Galaxy Note 3 Android Development] Raphy511:
Thas why It is my last Samsung phone. If their engineers would have worked on a strong efs partition / recovery tool for us instead of developping a stupid bootloader including knox, cancelling our warranty, it would have been much better for everybody.
[Galaxy Note 3 Android Development] Jayster0966:
Apologize but got to ask, does work for the T-Mobile N900T variant as well?
[Galaxy Note 3 Android Development] firasusman:
I don't have this device..

And i don't know about files and partition structure there.

So if it is the same i think it will work.

You may try if (God forbid) you brick your device.

Nothing ti lose.

And report back here.

Thanks
[Galaxy Note 3 Android Development] mscion:
Hi. I'm on T-Moblie version N900T, was having some boot loop issues that were getting progressively worse. Going from boot loops cycling just a few times to 12 or more times. Last night when I changed kernels it seemed to be behaving better but this morning it is not so good again. I did try flashing your file and I'm not sure if it made much difference. I noticed that after flashing it, there is an error statement when updating partition.

E: Unable to mount 'usbstorage'

Anyways, the good news is that, at least for now, it is not an infinite loop so I can continue testing.

EDIT: Happy to report that my boot loops are completely gone! I decided to drive a steam roller over my phone and my boot loops have not reoccured! Just kidding... I did the next best thing. A full wipe. I have since rebooted 7 times and no sign of boot loop. The only thing is that I can't conclusively say is what caused the problem but if it was the efs issue your script must have fixed it and the full wipe must have removed any vestiages of this nasty bug. At minimum you gave me hope! Thanks!
[Galaxy Note 3 Android Development] firasusman:
Congratulations...

Plz some one give this Script to Samsung service center..

Coz they don't know the fix yet.

And they will charge alot for complete mother board.

As one of my friends ask me if i can help him when Samsung Centre required a lot of money from him..

I fixed his device by 1 mnt and he is

Now so happy..

Samsung service center wanted to let me buy a new motherboard after i suffer my self from this issue and one complete week without any news from them waiting for my mobile to be back in life...

But i was chocked when the ask that amount af money..

So

Some one must inform them to tbis script saving a lot of money paid from people they do nit have access here to this script....

Thanks and am really happy for every one recovered his phone back using my script..
[Galaxy Note 3 Android Development] prank1:
Thankfully my Note 3 has not had any problems, but it is very nice to know there is a fix should my EFS go bad.

Don't know why Samsung have decided to make the EFS on this device so "fragile". Never had to worry about any of this crap on my past HTC devices, if you had S-OFF and access to the bootloader you were invincible lol.

As people on this thread are reporting success with your fix with causes different from TWRP restore problems, maybe you should change the title of this thread. Someone may have a problem with their EFS and not take notice of this thread since it refers explicitly to fixing TWRP restore related problems.
[Galaxy Note 3 Android Development] samuel clarke:
I get an error message when running the brick/restore.zip e: unable to mount /usbstorage updating partition details e: unable to mount /usbstorage

Any help PLEASE PLEASE :( this happens when using twrp v2.6.3.8

---------- Post added at 12:43 PM ---------- Previous post was at 12:39 PM ----------

I get an error message when running the brick/restore.zip e: unable to mount /usbstorage updating partition details e: unable to mount /usbstorage

Any help PLEASE PLEASE :( this happens when using twrp v2.6.3.8
[Galaxy Note 3 Android Development] Raphy511:
http://xdaforums.com/showthread.php?t=2454079

Try with CWM...?
[Galaxy Note 3 Android Development] dusk1911:
Given the fantastic reviews I think I'll keep this one just in case
[Galaxy Note 3 Android Development] smegg:
Unable to mount usb storage is a normal warning for twrp in note 3 if you don't have a usb drive pligged into your phone. Don't sweat it. :)
[Galaxy Note 3 Android Development] firasusman:
Its here..
[Galaxy Note 3 Android Development] AxAtAx:
Best tool to hit note 3 yet....worked like a champ...good find, good job, thank you sir....:good::good:
[Galaxy Note 3 Android Development] D3NnNy:
Hi man I want report my experience that is really dramatic.

First that for this work rally well, and to be honest I don't know what a wrong I do but after I flash this zip the phone run again great with no issue, but when I use my recovery or just reboot the phone many time I lose again my efs.

To be honest I get this problem after flashing a kernel, and with the stock kernel I got no problem but with faux kernel I really can't fix it at all.

What Is also pathetic last 2 time I lost my efs I also lost all my root apk , I mean the icon was on the home but when I try to open...apk not installed, and when I tried to re-install error 24. I had to re flash my rom for have it normal again.

I would like know if anyone have this problem or if it just mine

Inviato dal mio SM-N9005 utilizzando Tapatalk
[Galaxy Note 3 Android Development] firasusman:
FLASH STOCK ROM THROUGH ODIN..

FULL WIPE..

FLASH THIS SCRIPT.

GO ENJOY.
[Galaxy Note 3 Android Development] brockyneo:
firasusman could you possibly help me with this how to flash one of my backups http://xdaforums.com/showthread.php?t=2546724
[Galaxy Note 3 Android Development] firasusman:
By terminal...

Through commands..

I forgot those.

I will write it here later.

But what is your backup type.?

Is it xxx. IMG

Or

Xxx. TAR. GZ

??
[Galaxy Note 3 Android Development] brockyneo:
hi there TAR.GZ sorry just im out of ideas could you tell me from thee begging what to do sorry just been at it 10hours now fed up ha ha:mad:
[Galaxy Note 3 Android Development] firasusman:
What is exactly your problem?

Did you lost your efs or you got it corrupted?
[Galaxy Note 3 Android Development] brockyneo:
hi i managed to get it working again but no everything worked but the wifi i must of curupted the efs file somehow cause when i managed to finally flash the efs backup it fixed it :D
[Galaxy Note 3 Android Development] firasusman:
Nice..

Happy for you..

This is the magic script..

It saves lifes

Hahaha... :D
[Galaxy Note 3 Android Development] AxAtAx:
As I have stated this fix is the bomb, great work. I do have a question, wth is going on with the issue, I have to use this file every 3 restores....I am getting to this party late, I mean, just got the Note3, but still rocking S4. Pretty annoying, when I am trying to build this Vision rom for the Note.....is there a perm fix? Is it a flaw with the hardware.....any enlightenment?
[Galaxy Note 3 Android Development] prank1:
TWRP restore has been associated with causing this problem; which can be fixed afterwards using this tool.

Try CWM restore; I don't think this has the problem of corrupting your EFS.
[Galaxy Note 3 Android Development] firasusman:
sometime flashing modem through odin will coz corrupted efs or loss of it .

also formatting system through recovery will possibly end with corrupted partitions .

advice to always backup your efs ....., full titanium backup ..( more safe for me than restoring from nandroid ) .
[Galaxy Note 3 Android Development] prank1:
I thought that you couldn't backup your EFS using Titanium Backup?
[Galaxy Note 3 Android Development] firasusman:
NO , you cant.

the best way is taking full copy from your efs folder to SD Card.

restore later by solid explorer which has ability for setting permission automatically according to the original path .
[Galaxy Note 3 Android Development] Maroc_Specops:
Shukran sahbi
[Galaxy Note 3 Android Development] kalintka:
Wow, that is new for me, could you share the path of efs folder?

P/s i found it in root directory, but it's size only 5-6Mb, is it right?
[Galaxy Note 3 Android Development] Maroc_Specops:
Salaam brother,

Nice file to have on ur sd in case u stuck with a problem. Havenf used it yet, who knows it might come in handy someday.

Either way thx
[Galaxy Note 3 Android Development] firasusman:
I hope you don't need it..

LOL.
[Galaxy Note 3 Android Development] chris_morcos:
Thanks a million

I was sure I was done when I lost my imei info and was stuck in bootloop but found your fix and you saved my phone and myself from much heartache. You are awesome. Thanks a million.
[Galaxy Note 3 Android Development] firasusman:
Happy for you and for everyone else used this script to save his phone.
[Galaxy Note 3 Android Development] my969:
Thank You Firasusman!

Firasusman's Brick-loop Script via TWRP which didn't work while

I was on XXUBMJ1 (I tried everything to keep that bootloader!).

But once I updated to XXUDMJ7 the phone was back to normal again. Phew!

My Knox is 0X1 now but I've got my phone back.

:)
[Galaxy Note 3 Android Development] firasusman:
Yes my dear..
[Galaxy Note 3 Android Development] Tdeljr:
I am another one that must say thank you! Was stuck for several hours last night until I found this thread and within 5 minutes my phone was restored.
[Galaxy Note 3 Android Development] Wootever:
The problem seems to be caused by /modemst1 (mmcblk0p12) and /modemst2 (mmcblk0p13) that gets corrupted everytime i change something on the /system partition.

mount: mounting /dev/block/platform/msm_sdcc.1/by-name/modemst1 on /test failed: I/O error
mount: mounting /dev/block/platform/msm_sdcc.1/by-name/modemst2 on /test failed: I/O error

modem subsystem failure reason: fs_rmts_super.c:252:10,7,Superblk age not in sequence.

the efs partition is not affected, so a simple fix for now is:

#!/sbin/sh
mke2fs /dev/block/platform/msm_sdcc.1/by-name/modemst1
mke2fs /dev/block/platform/msm_sdcc.1/by-name/modemst2
exit 0

complete partition table:

Model: MMC MBG4GC (sd/mmc)
Disk /dev/block/mmcblk0: 31.3GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 4194kB 19.9MB 15.7MB apnhlos
2 19.9MB 80.2MB 60.2MB modem
3 80.2MB 80.7MB 524kB sbl1
4 80.7MB 80.7MB 32.8kB dbi
5 80.7MB 80.7MB 32.8kB ddr
6 80.7MB 82.8MB 2097kB aboot
7 82.8MB 83.4MB 524kB rpm
8 83.4MB 83.9MB 524kB tz
9 83.9MB 94.4MB 10.5MB pad
10 94.4MB 105MB 10.5MB param
11 105MB 120MB 14.7MB ext2 efs
12 120MB 123MB 3146kB modemst1
13 123MB 126MB 3146kB modemst2
14 126MB 137MB 11.5MB boot
15 137MB 151MB 13.6MB recovery
16 151MB 165MB 13.6MB fota
17 165MB 172MB 7331kB backup
18 172MB 175MB 3146kB fsg
19 175MB 175MB 1024B fsc
20 175MB 175MB 8192B ssd
21 175MB 184MB 8389kB ext4 persist
22 184MB 193MB 9437kB ext2 persdata
23 193MB 2609MB 2416MB ext4 system
24 2609MB 2923MB 315MB ext4 cache
25 2923MB 3028MB 105MB ext4 hidden
26 3028MB 31.3GB 28.2GB ext4 userdata
[Galaxy Note 3 Android Development] gorinnosho:
thank you very much firasusman

i haved efs corruption after installed faux003 kernel on 14/112014...i didn t know it was this pb so i haved send my gn3 to samsung...1 month to return to me and samsung want 325 euros for repair because knox warranty.

so you have saved my gn3 and my money.
[Galaxy Note 3 Android Development] sjsu:
Biggest thankyou ever

Just want to say a huge THANKYOU. I thought my phone was dead for the last month, I was in despair and I gave up hope.

BUT

You SIR have came and saved my phone and my life from misery.

THANKYOU!!!!
[Galaxy Note 3 Android Development] firasusman:
Try to flash stock odex ROM after running this script twice if this script alone not recover your phone..

Then you will have your phone back.
[Galaxy Note 3 Android Development] HappyPlato:
Wow, so easy of a fix. Million Thanks. :D
[Galaxy Note 3 Android Development] ratcom:
Just had to use this fix twice! never had anything go wrong before but for some reason Custom N3 Kernel seems to trigger the corruption ?!?

Anyway THANK YOU for saving my Note 3!
[Galaxy Note 3 Android Development] firasusman:
Welcome.
[Galaxy Note 3 Android Development] ps000000:
This Script help my N9005 from

1. Random Restart

2. No SIM (SIM inserted)

3. WiFi can not enable

Cause by

1. Fresh install OMEGA MK2 rom <==== Fine

2. Install custom N3 kernel <=== Fine

3. Install Vulpix 3 Mod <=== conflicted & Soft Brick Loop
[Galaxy Note 3 Android Development] Nemorensis32:
CWM --> Odin

Hi ,

above all, thank you for your work even though I didn't try it yet.

Actually I contact you to know whether it's possible to adapt this script to an Odin package please ?

I have still my 0x0 Knox. I would like to keep it so.

I saw a topic where someone also had a solution to install a custom ROM without trip KNOX. Maybe we can do it with CWM ?

IT WOULD BE A GREAT XMAS GIFT !!!! :D :D

Thanks for your answer.

---------- Post added at 06:56 PM ---------- Previous post was at 06:38 PM ----------

What about this solution :

clear EFS (using Odin) and flash a new ROM.

It could work ? I don't have a backup of my EFS but you seem to say newer Android version can build it back itself.

---------- Post added at 06:57 PM ---------- Previous post was at 06:56 PM ----------

What about this solution :

clear EFS (using Odin) and flash a new ROM.

It could work ? I don't have a backup of my EFS but you seem to say newer Android version can build it back itself.
[Galaxy Note 3 Android Development] thothong:
I am using "SM-N900T" T-mobile in US would like to confirm that your program works flawlessly with our version. I got into to boot loop after did restore from TWRP. Been trying almost 10 hours straight. You are the best. I just wonder if I may share your link on T-Mobile Galaxy Note 3 forum? Thanks again

Amorn
[Galaxy Note 3 Android Development] firasusman:
I think yes...

If you can do it, so go on.

If not then let me try to package it for you..

Thanks for your concern.
[Galaxy Note 3 Android Development] Nemorensis32:
So, I tick "Phone ESF Clear " on Odin. And what about "Phone Bootloader Update" ?

I won't brick more my phone ???? :S

THanks
[Galaxy Note 3 Android Development] casanovas:
Yes Please, can we have an ODIN version ???? i cant copy the file to my phone cause all the reboots
[Galaxy Note 3 Android Development] micky387:
just put the fix into ext sd card ;)
[Galaxy Note 3 Android Development] casanovas:
cant.. i dont have a card reader :( :( and i cant connect to phone too...
[Galaxy Note 3 Android Development] micky387:
no choice for you. only on ext sd card

EDIT

Try if you can, open terminal command into recovery and execute

try and report
[Galaxy Note 3 Android Development] casanovas:
I can only flash from ODIN.... so i need the file in ODIN version
[Galaxy Note 3 Android Development] micky387:
try this,it's same

http://xdaforums.com/showthread.php?t=2471421
[Galaxy Note 3 Android Development] Nemorensis32:
Any opinion ? I keep thinking it might be the solution but I don't want to screw up my phone...

Phone ESF Clear would format that partition too, right ? Phone bootloader Update is probably a non-relater option but I wonder if I'm wrong.

Thanks for your answers.

PS : I'm already rooted
[Galaxy Note 3 Android Development] Nemorensis32:
A beggining ?

Hi guys,

I found this script to get back your IMEIL from a corrupt partition of a GALAXY S3 with ODIN. (DO NOT USE WITH YOU NOTE 3 !!! ). http://d-h.st/Fhb

I think maybe it could help some programmers ?

Coming from this French forum : http://forum.frandroid.com/topic/148233-tuto-r%C3%A9cup%C3%A9rer-imei-et-connection-r%C3%A9seau-perdus-apr%C3%A8s-root/
[Galaxy Note 3 Android Development] Nemorensis32:
Hum... since nobody answered for 24 hours to my question, I tried that "Phone ESF Clear" option after reading some forums. Nothing better. Same factors. According to some one forum, it happens when the partition (?) is corrupted.

Looking forward for a solution. My phone comes from France and I live in Thailand. Nobody speaks English in my countryside and I doubt I can find any shop to do it for me... So, PLEASE, help me!! :'(
[Galaxy Note 3 Android Development] DaOldMan:
Does anyone know why formating the efs partition helps? Is there a copy of efs somewhere to restore the missing parttion? The data must come fro somewhere....

Just curious,

Thomas
[Galaxy Note 3 Android Development] Nemorensis32:
Formatting enables the reconstruction of the EFS partition. Or at least of the content of that partition since , according to what I might have understood with my little level of knowledge, the script of Fire'' creates a new partition as well. Moreover, Odin proposes to remove the content of the EFS partition but it doesn"t seem to remove the partition itself. Experts will confirm my words or not... :cowboy:

But, yes, the phone is able to rebuild the EFS since I saw many forums with Galaxy S3 talking about that. Unfortunately their solutions are probably outdated here... :'(
[Galaxy Note 3 Android Development] DaOldMan:
On the S3 and other older Samsung phone the efs partition is easy to access. It's mounted as /efs on root and it contains the Imei in a FILE. Also it contains the backup to that file. The file is signed with md5 (I think). Usually what they call "rebuilding efs" is just the restoration of the backup file when a stock rom is installed. It checks the md5 and if it's wrong it deletes the corrupt file and replaces it with the backup file. I can undertand this, it's not really rocket science.

But here, on ,my Note3 the IMEI is not a file, it's a encoded partition. The script formats the partition so it's supposed to be gone forever. But it's not. There is no backup as far as I can see. The Imei must come from somewhere and I would like to understand how this works a bit more.

Thomas
[Galaxy Note 3 Android Development] firasusman:
Magic.... :eek::o:what::D:cool:;)