yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] HellcatDroid:
If you read the posts on the previous page, you will know why it will take at least a long, long time - if ever.

Found out a few more things but they are not making it more easy. on the contrary, it just more complicated.

I am afriad without having access to an actual Qualcomm based model (the US ones) it might not be possible.

I'd need to reverse, sniff and test stuff - all of which rather difficult without having access to the device in question :-/
[Galaxy S II Android Development] cdmackay:
thanks for a useful tool..

minor issue: I'm running v1.56-(beta1) on a Galaxy Note N7000, CM9 20120715.

ktool reports "Galaxy S2" in the bottom-right; is that expected?
[Galaxy S II Android Development] zt_lee:
anyone can tell me what is EFS? I google it but didn't find any explanations.
[Galaxy S II Android Development] HellcatDroid:
As I am getting a lot of mails about it, let me post some info here I can then link to:

At the moment it is uncertain if kTool - or any other app for that matter! - will ever be able to support backing up the EFS on the US variants of the S3 (and some also Qualcomm based variants of the S2)!

The EFS is not where we expect it (some partition, usually mounted to /efs), nor could it be proven that it's hidden anywhere on any of the block devices yet - i.e. dumping all /dev/block/mmcblk0p* would not contain a copy of the EFS to later on restore lost / corrupted IMEIs.

It is some play place else, for now no one knows where and even less know how to access it there.

So, right now, there is unfortunately no way of updating kTool to fully support those devices, esp. as I don't want to leave people with false hope that later will turn out not to be working.

As soon as this thing has been figured out, you can COUNT on kTool being updated - the base for supporting different models is there by now (even close to get it fully compatible for the original Galaxy S I9000) - we just need to figure this issue out.

*Meow!* ;)
[Galaxy S II Android Development] cdmackay:
Really? What did you search for? I found various things quite quickly, e.g:

http://www.xda-developers.com/android/backup-and-restore-your-efs-folder-on-samsung-devices/

which explains what is in EFS.
[Galaxy S II Android Development] Jaxidian:
So what I see in /efs is not really the efs partition that needs backed up? So what is in that partition for us?

Sent from my phone. Prepare for atrocious Swype typos.
[Galaxy S II Android Development] lyriquidperfection:
Sorry to impose but as this is important information, the same thing goes for anyone who has used my Windows based application too, EFS Pro. As soon as its figured out I too will update my application aswell.

Peace Out!
[Galaxy S II Android Development] CMNein:
Just realized your app had been updated to support the GN. Hadn't seen you around for a while. Many GN people get borked EFS as well. Before I realized this thread had been updated, i.e. 4 minutes ago (:silly:) I posted here: http://xdaforums.com/showthread.php?p=29404434#post29404434

Thanks.
[Galaxy S II Android Development] HellcatDroid:
Nice post there, thanks :)

Yah, life went a bit rolercoaster, but things are calmned down again and are about 5000% better than before :)

About the GN support, the feedback I got so far was positive but if anyone finds anything that needs fixing or tweaking, do tell :)
[Galaxy S II Android Development] kishd:
Please add support for the sgt 7.7. M=GT-P6800 D=GT-P6800
[Galaxy S II Android Development] hanzi54:
+1 Please, please, please

P=[GT-P6800]
[Galaxy S II Android Development] Ev0d3vil:
Hi hellcat great app! If I see both 100percent on the efs check I should be good to go right?
[Galaxy S II Android Development] sparkrat:
Hi HellcatDroid

Looks like a great app

I have a SGS2 i9100T on Testra. I used Samsung Kies and applied the recommended Firmware upgraded which was V4.0.3

kernel version: 3.0.15-I9100TDVLP4-CL345054

I have downloaded kTool V1.56 When I start the app I get the error [ERR_OERR] and below (no root access)

I was trying to use this app as a way obtain root.

Do you have any thoughts on this

cheers
[Galaxy S II Android Development] HellcatDroid:
Should come with the next update.

Yep.

However it will go down a bit to ninetysomething over time and reboots - but that's perfectly normal.

This is not an app to perform the root on your device - use a root kernel for that.

This app is meant to be used once you are successfully rooted.
[Galaxy S II Android Development] smohanv:
Hi

Thanks for the tool. I have done backup in img format. Can anyone tell me how to backup in tar format.

Thanks.
[Galaxy S II Android Development] HellcatDroid:
kTool makes both at the same time, if you use kTool's EFS backup function you'll get an .IMG as well a .TAR backup on the internal storage (efs.img and efs.tar.gz).
[Galaxy S II Android Development] Guto ViP:
Great app! :)
[Galaxy S II Android Development] m3talmike:
I wish it could support Galaxy S i9000! I am in real trouble with my IMEI here...
[Galaxy S II Android Development] HellcatDroid:
Support for the I9000 is being worked on, but turns out to have a few showstoppers, the I9000 is a bit *****y at some places.

However, if you're having troubles with the IMEI and no backup made, kTool wouldn't be able to do much anyways.
[Galaxy S II Android Development] m3talmike:
Thank you very much for your answer!

I have found /sdcard/backup/efs folder but contains only (i think there should be more) the files:

lost+found (it's an empty folder)

.nv_state

nv.log

nv_data.bin

nv-data.bin.md5

and until now i tried everything and haven't managed to get back my correct imei...i even flashed stock gb rom, which helped many others, but the dummy imei (0049...) remains there, too! Anyway, the phone runs ok, it doesn't have any other problem, it just shows the message "imei is invalid blablabla" with jb roms everytime i open the phone, i will have to live with that, i guess! So, i will wait for your program to support i9000 sometime and i will check it out! Thanks!
[Galaxy S II Android Development] HellcatDroid:
That sounds good, actually, if those backupfiles are from when the IMEI was still intact, make lots of copies of them and store them in lots of different places as then it's very likely you'll be able to recover your phone :)

Which gives me another feature idea for kTool: "(try to) restore from loose files" (like you just have them there).

Basically you just need to copy those files back to /efs and set the proper permissions - I need to lookup the exact permissions, but to get them back into /efs on a shell try this:

su
cp /sdcard/backup/efs/nv_data.bin /efs
cp /sdcard/backup/efs/nv_data.bin.md5 /efs
cp /sdcard/backup/efs/nv.log /efs
cp /sdcard/backup/efs/.nv_state /efs

and reboot - maybe it works already, if not we'll try to chmod them properly but as said, need to look up the proper permissions....
[Galaxy S II Android Development] m3talmike:
I have done this already, setting the correct permissions and ownership but unfortunately i had no success...i am sure that the backup is from the time that IMEI was ok, because i checked the date of creation and it's 3 months old, but everything i tried with it didn't wok...well, i will wait for your program...it is a nice feature idea restoring from loose files :)
[Galaxy S II Android Development] raghu135:
Related to kTool :)

I have lost my IMEI , now its null .

But I had before took the .img file of EFS folder with the help of EFS pro.exe .

But the file is in .img format.

I dont know where to place that .img file and hit Restore EFS from backup(Dangereous) >Restore IMG

======

am getting error : Requested EFS does not exist ! Cannot restore EFS !

Please show some light .
[Galaxy S II Android Development] gavinlew:
Hi,

Tried to use ktool on a SGS Note II N7100 N7100XXALJ1 to perform an EFS backup.

Application fails to run with

Incompatible Device

M = [GT-N7100]

D = [t03g]

P = [t03gxx]

Should the app be compatible with this device?

Cheers.
[Galaxy S II Android Development] taiber2000:
can you add the galaxy s glide (know also as the captivate glide) support to your app?

there is two version. one is the ROGERS one and one an AT&T.

both should have the efs folder like in the galaxy S2.

first off the M/D/P for the glide:

M = [SAMSUNG-SGH-I927R]

D = [SGH-I927R]

P = [SGH-I927R]

this is form my device witch is a ROGERS one, the AT&T one is without the R in the end.

the glide has a terga2 chip and the efs folder has the nv_data.bin and nv.log files as should the s2.

so i hope you can support the glide as well. thanks.
[Galaxy S II Android Development] vitalij92:
What about Galaxy Note 2 (GT-N7100) ?
[Galaxy S II Android Development] HellcatDroid:
Send me one, and I shall investigate :D

Nah, seriously, I need to gather details about the device - which isn't too easy without having it and not being able to test things....

But I'll try :)
[Galaxy S II Android Development] HellcatDroid:
Sorry, already checked on this, not possible.
[Galaxy S II Android Development] taiber2000:
thanks for trying man.

hope i can find an easy way to implicate this efs backup and restore.
[Galaxy S II Android Development] Dexter_prog:
I've got a question about the EFS check option. I did a backup when I flashed to stock unbranded 4.0.3. Then I flashed to Resurrection Remix. As I was not getting any data connection, I used the "efs backup check" tool and it reported taht 93% differed. I restored a CWM backup of 4.0.3 and my data connection was working just fine. Run the check again and I got the 93% thing again. Should I restore the backup? I mean, everything seems to be working fine and I have my real IMEI.

Im still trying to figure out why I don't have data connection on custom roms based con cm9-10, though. Not sure if this could fix it.
[Galaxy S II Android Development] Tubgirl:
+1 for the GT-N7100... you really should get one :) It's the best phone money can buy!!

Brgds... /Tubgirl
[Galaxy S II Android Development] JohnM109R:
Hey Guys will this also Work on all Galaxy S3 Variants
[Galaxy S II Android Development] HellcatDroid:
93% different or 93% matching?

I suppose you mean 93% matching as that's the number it gives - and that's normal.

The OS keeps "remembering" (=writing) data into the nvdata.bin file, it's totally normal the matching not being 100% anymore after the first reboot after making the backup.

Well, I'll take one, if someone has a spare to part with ;)

Gotta some research on the devices internals when I got some time, once that's done and all looks good it'll be added.

Internation I9300 mostly.

The US variants are mostly based on Qualcom CPUs and don't have an EFS like this, they store the nv data directely in the radio where the app can't access it, unfortunately....
[Galaxy S II Android Development] sasha4fierce:
what is efs?
[Galaxy S II Android Development] toxicro:
Anyone used kTool to flash kernel or modem on leaked JB 4.1.2-XXKLSJ for Galaxy S2 ?
[Galaxy S II Android Development] Dexter_prog:
oops, the "#### bytes differ" thing distracted me. Thanks for clearing that up! (just in case: it did say "matched")
[Galaxy S II Android Development] mschmitt01:
Any chance of supporting the US Galaxy Note 2 varients?
[Galaxy S II Android Development] jwrubi:
i have used this on my m250k. but after i convert my phone to i9100, the imei changes. specifically to the fake/dummy imei, which is 004999010640000.
[Galaxy S II Android Development] jb.traveller:
Only just found this great app. :) Used it on my SIII. Thanks again.
[Galaxy S II Android Development] sergiu84:
I've tried this on my i9100 with SlimBean 4.2.1 Beta1, it says it backs up the kernel & EFS successfully, but I can't find the files. Would be great otherwise.. Thanks!

edit: never mind, closing and reopening the app seems to have made it work. Great app!
[Galaxy S II Android Development] HellcatDroid:
2.00 ?

If it's a Quallcom based CPU, likely not for the EFS as that's stored deep inside the radio where an app can't access it.

As for the rest, eventually yes.

I am currently thinking about doing a full rewrite from scratch of kTool, because the code grew way beyond what it originally was planned to be *lol*

Besides a cleaned up UI and more flashing functions (like dump/flash modem and other things) i am working on a mechanism that will autodetect all required partitions and mountspoints - that would eliminate the need to add support for every device manually and it will work on a wide variety of devices "out of the box".

I also want to support the multi window feature of the Note 2 and the S3.

So, big things might happen to kTool - only catch (there always is one ;)): It will be a lot of work, so it will take some time!

But: I'll try to slap the two most important features (detection of the partitions and multiwindow support) into one last 1.xx update before soley working on 2.00 :)

On a sidenote:

I've been contacted by numerous ad-networks already asking to add their ads into kTool!!!

However: kTool will stay ad-free! 2.00 will get a humble, non-disturbing donate button, but no ads!

All that said, happy new year \o_
[Galaxy S II Android Development] machhho:
can anyone dump the efs.img for the Galaxy S2 I9100G by ktool and post it here please , because I got mine corrupted .

thanks
[Galaxy S II Android Development] :
You got be f*cking kidding me with that efs thing!
[Galaxy S II Android Development] k6?:
Any news on the arrival of 2.0? :D

Thanks
[Galaxy S II Android Development] injulia:
I am waiting too.... :D
[Galaxy S II Android Development] mortallkombat:
this app cant work with my N7100

this app didnt work with my galaxy note 2 n what can be done 2 support it
[Galaxy S II Android Development] :
I need to dump my kernel contents from say boot.img-kernel.... Any help?

thanks
[Galaxy S II Android Development] leechseed:
Any news bout v2?:):):):thumbup::thumbup::thumbup:

Greetz

SlimBean-b6|i9100¬Tapa2
[Galaxy S II Android Development] shady225:
can someone please upload the apk file? thank you
[Galaxy S II Android Development] aukhan:
+1
[Galaxy S II Android Development] ErnestoD:
Please help. I cant connetc to network I have one S3 international

I made last week a efs back up and tried to restore it with Ktool but cant find anything. My sd card name is sdcard0.

I have other backups creeated when installing roms.

I found in sdcard0 two files: efsbackup.tar.gz and efsdev-mmcblk0p3.img.gz

Are those 2 or one of those the backup

Please Im desperate
[Galaxy S II Android Development] mightymouse2045:
I have a note 2 GT-N7100 and get incompatible device error when running your app?

This is what it asks me to quote:

M = [GT-N7100]

D = [t03g]

P = [t03gxx]

Any ideas?
[Galaxy S II Android Development] trurl3:
Is there any hope to make this toool compatible with GT-I9205 Galaxy Mega 6.3 ?
[Galaxy S II Android Development] =-=:
works on Galaxy S III

thanks BRO :D
[Galaxy S II Android Development] globalm:
Galaxy S3 problem.

Hi

I have used this app successfully on my Galaxy S3 for some time. I had to factory reset the phone and since then the app works only partially. The efs.img file is created and checks out correct when verified but the efs.tar.gz does not check out (nv_data.bin not found) and the file has zero size. I thought it might be a Busybox issue and updated Busybox but no change. Phone is i9300 and is rooted with ARHD 40.0 ROM.

Thanks for any help.
[Galaxy S II Android Development] bdkbaik:
same happen to me..it said

(nv_data.bin not found)

everything others work
[Galaxy S II Android Development] Zeuszoos:
Could you please add the following device?

M = [SGH-M819N]

D = [meliuslteMetroPCS]

P = [meliuslteMetroPCS]

Thank You!!! :)
[Galaxy S II Android Development] tonycfc:
Did a backup a week ago and updated this app from v1.22 to v1.23. When I ran an efs backup integrity check now, it says my backup for both .tar and .img is only 95% instead of 100% when I first used this app.

Is this suppose to happen? I mean, from time to time the efs folder on the NAND would change a little? Could it arise from ROM flashing or anything? I need some light on this. :)
[Galaxy S II Android Development] HellcatDroid:
From the first post:

;)

Yes, it seems to be totally normal.

If you look at the bytecount, on every reboot it changes 80 bytes (at least on my phone) more.

When installing a new/different/other ROM it changes significantly more on the first boot of the new ROM.

By now my original EFS backup (made before I ever flashed something except the root kernel) is about 188k different already (did a lot of flashing and rebooting again, lately xD).

(click for larger view)
[Galaxy S II Android Development] tonycfc:
My gosh, I can't believe I missed that in the first post! I guess I thought that was the changelog. I am sorry that you had to repeat yourself and thank you for your time! I really appreciate it!

Sorry! :X
[Galaxy S II Android Development] HellcatDroid:
He, no prob :D
[Galaxy S II Android Development] rasinell:
thanks! v1.23 works perfectly :)

have a beer; Confirmation number: 6JV24499B96388621
[Galaxy S II Android Development] HellcatDroid:
Oh man, thanks a lot! Highly appreciated! :)

And glad to hear it's working now :)
[Galaxy S II Android Development] HellcatDroid:
Can someone with an I9100T please try if this build of kTool runns on it (i.e. doesn't give the "device not supported" message):

http://f.lui.li/get_174_13af.html

Thanks :)
[Galaxy S II Android Development] nobleskill:
Worked very well on mine! Lol. Vodafone AU sgs2 9100T. Efs backup and verify all through with no errors. Thanks muchly for this one.

Sent from my GT-I9100T
[Galaxy S II Android Development] HellcatDroid:
Thank's for testing :)

v1.24 is now live.
[Galaxy S II Android Development] Walvater:
Hey man

You saved my ass! :D

Lost my IMEI and couln't replace it with my backed up one. Root explorer couldn't manage to mount the /efs folder as r/w.

But your tool did it!!

Is there anyway to donate? ;-)
[Galaxy S II Android Development] mjb:
Click the "Donate to Me" badge below HellCat's name on the left of his post above.
[Galaxy S II Android Development] Walvater:
Lol! The button was to obvious for me.. ;-) Thanks!
[Galaxy S II Android Development] morg01:
Greets Hellcat,

used your tool before when I originally tried your kernel, so I've got a back up of my efs safely tucked away cheers.

however, I downloaded your market app yesterday in order to run a more current efs backup, anyway the app reports that the backup was successfully dumped to the root of internal sd card . . . but its no where to be found? (and incidentally the phone ended up rebooting shortly after)

is this an incompatibility with different kernels?
[Galaxy S II Android Development] dannysheimy:
i saw 1.25 in market already.........
[Galaxy S II Android Development] HellcatDroid:
Hm, must've been an coincidence, it should work an any kernel.

There was an issue with stock kernels, but that's been solved.

Weird though, the files couldn't be found, but might've been caused by the sudden reboot ("dirty" filesystem, dir entries not fully written before the crash/reboot or something....).

Yeah, added the 9100G to the models the app will accept to work on.
[Galaxy S II Android Development] SMN™:
please somebody upload apk file here i cannot access to the market from iran.
[Galaxy S II Android Development] Nyssa1104:
Don't you think it would of been polite to ask HD Hellcat Droid 1st? ;) http://xdaforums.com/member.php?u=4173973
[Galaxy S II Android Development] SMN™:
sorry, my english is not so good and i was so angry cause of my IMEI! :(

you're right

hellcat is it possible to restore efs.img that backed up with paul script with your app?

if so! could you upload this app on xda? because i cannot access to market from iran! :(

--------------------

finally i found apk file with google :-)! and restore my EFS folder. tnx a lot for this perfect app :-)!
[Galaxy S II Android Development] HellcatDroid:
Sorry for the delay, work cought me bad again, or I'd have responded more early.

Good you found it, or I'd just have attached it to this post or something and glad it did help you :)
[Galaxy S II Android Development] mr_villagomez:
Does this work with the japanese sc-02c variant of the s2?
[Galaxy S II Android Development] HellcatDroid:
The partition layout should be the same, yes, should work.

What's the exact model number?

Like I9100T or I9100G or w/e variants are out there....
[Galaxy S II Android Development] malhor:
I'm very embarassed :o

Owner of a GS2, but the market does not seem to want to allow me to install it. Says "not compatible with your device" :confused:

could it be rom dependance ?

thanks you

Edit : ok, cleared market data&cache solved it. did I say I was embarassed :D

I sayI should get some sleep
[Galaxy S II Android Development] HellcatDroid:
Updated to v1.30

added ability to open Odin update .tar archives and flash the param.lfs, modem firmware or kernel if present in the update .tar.

Use to flash those parts from stock ROM updates, or any other custom content (usually kernels) that come in .tar update form usually flashed via Odin.
[Galaxy S II Android Development] Luciman:
Very nice -thanks a lot!

Did I oversee the .apk-Download (I know it's in the market, but I prefer the .apk)?
[Galaxy S II Android Development] HellcatDroid:
Here you go:
[Galaxy S II Android Development] Luciman:
Danke sehr, mein Herr! :D

So from here on the v1.30 will be part of CF-Root xyz instead of v1.25?
[Galaxy S II Android Development] HellcatDroid:
I doubt CF-Root will ever include this xD

However, if there's a new version of my kernel (i.e. new features added, and rebuilds made for various ROM versions), yeah putting the current kTool in it then.

Until then it stays at the one currently packed in.
[Galaxy S II Android Development] Luciman:
Already done yesterday late afternoon! ;)

Have a nice weekend!
[Galaxy S II Android Development] al5911:
Please help, I tried to install from market but it said that my device is not compatible!?

I use 1.25 before and it work perfectly! Oh, btw I'm the G variant owner ;). Thanks.
[Galaxy S II Android Development] HellcatDroid:
It's some bug/problem of the market app, maybe this will work for you too:
[Galaxy S II Android Development] al5911:
OK thanks. I'll just try to install the apk you put on your first post.

Just to experiment a bit :). Thanks again...

Edit : correction ... your kTool v1.30 link is in the 45th post ...
[Galaxy S II Android Development] ou812bkewl:
Is it possible to make this app work for the SGH-I777? It is AT&T's variant of the SGS2. If not, can anyone tell me the proper mapping path to generate the .img in ADB. I tried the old method I used for my Captivate (/dev/block/stl3), but that path doesn't even exist on the SGS2. I have a .tar.gz backup, but it would be nice to have the .img too for a little redundancy.

I used the ADB commands in the following thread after rooting with SuperOneClick 2.2: http://xdaforums.com/showthread.php?t=859914 Thanks for the great work!!!
[Galaxy S II Android Development] hasbai:
can u updated again for galaxy note pls?

i think 1.24 have work with my note

thy
[Galaxy S II Android Development] HellcatDroid:
What's the exact model number of the Note? (Like the "I9100" for the S2.)
[Galaxy S II Android Development] hasbai:
Galaxy Note GT-N7000

i found v1.00 and works fine on the note
[Galaxy S II Android Development] HellcatDroid:
Can you please try if this one works? :)
[Galaxy S II Android Development] hasbai:
thy:)

its work

v1.30a
[Galaxy S II Android Development] HellcatDroid:
Great :)

Update pushed into Market.
[Galaxy S II Android Development] hasbai:
Herzlichen dank:)
[Galaxy S II Android Development] ArcticCat:
WOW thanks I have been looking all day for an easy way to backup my kernel!

You rock

Maybe edit the description on the market to say it works with the Note ?
[Galaxy S II Android Development] xenocide976:
thanks for the Note update!!!
[Galaxy S II Android Development] HellcatDroid:
Sounds like a plan, I totally shall do that :D
[Galaxy S II Android Development] CatalystWon:
I realize this is the I9100 thread, but will this work for the older I9000m (Froyo 2.2). I ask because if I read correctly on the Market, it does not.

Thanks.