5,593,587 Members 38,150 Now Online
XDA Developers Android and Mobile Development Forum

[TOOL] kTool v1.55 - Dump+Flash kernel / Backup+Restore EFS,Check if EFS backup is OK

Tip us?
 
HellcatDroid
Old
(Last edited by HellcatDroid; 9th July 2012 at 09:52 AM.) Reason: Update to v1.55 @ 08.07.2012
#1  
HellcatDroid's Avatar
Senior Member - OP
Thanks Meter 765
Posts: 1,026
Join Date: Jul 2011
Location: Cologne Area

 
DONATE TO ME
Talking [TOOL] kTool v1.55 - Dump+Flash kernel / Backup+Restore EFS,Check if EFS backup is OK

Heya!

Some know my little kTool already, some love it, some hate it.
Well, let's try to get some more love for it




>> Now with support for the Galaxy-Nexus and the Galaxy-S3! <<


So, what does this do?
  • Dump current kernel (and recovery on devices having a seperate one)
  • Flash kernel from /sdcard/zImage
  • Flash recovery from /sdcard/recovery.bin
  • Backup EFS
    (as raw .IMG dump and as .TAR archive)
  • Check/Verify EFS backup (i.e. compare to "live" EFS)
  • Restore EFS from either .IMG or .TAR
  • Open stock update .TARs and flash from from it:
    - Modem Firmware
    - PARAM.LFS
    - Kernel
  • Reboot device
    - normally
    - to recovery
    - to download mode




*) When you check the EFS backup right after you made it, it should show a 100% match to the current phone's EFS.
However, after a reboot, the EFS *does* start to differ a bit - that seems to be normal, during my tests the EFS differed for 80bytes more after each reboot, my original EFS dump even differed by ~150k already


kTool companion tool market link [ Show ]

Hope you like it.


If anyone has more suggestions on what would need to be checked/verified during the check operation, do tell
Quote:
The process com.xda.forum.signature has stopped unexpectedly. Please try again.
Quote:
[ Force Close ]
The Following 97 Users Say Thank You to HellcatDroid For This Useful Post: [ Click to Expand ]
 
koolshubh
Old
(Last edited by koolshubh; 22nd October 2011 at 03:10 PM.)
#2  
koolshubh's Avatar
Senior Member
Thanks Meter 51
Posts: 354
Join Date: Aug 2011
After doing backup I did efs backup check....
And in that it says nv_data.bin not found..
Whts the reason? :@

Sent from my GT-I9100 using XDA App
The Following 3 Users Say Thank You to koolshubh For This Useful Post: [ Click to Expand ]
 
HellcatDroid
Old
(Last edited by HellcatDroid; 22nd October 2011 at 03:12 PM.)
#3  
HellcatDroid's Avatar
Senior Member - OP
Thanks Meter 765
Posts: 1,026
Join Date: Jul 2011
Location: Cologne Area

 
DONATE TO ME
Quote:
Originally Posted by koolshubh View Post
After doing backup I did efs backup check....
And in that it says nv_data.bin not found..
Whts the reason? :@
For the .img and the .tar or only for one of them?
What does it say for "mount returned:"?

"nv_data.bin not found" means a bad/corrupted backup.

// EDIT

Just saw the screenshot.

Something went wrong making the raw .img dump (weird....).
But the .tar backup is OK (100% match to the phone's one).

Hmm.... gotta investigate the .img issue some more.
Quote:
The process com.xda.forum.signature has stopped unexpectedly. Please try again.
Quote:
[ Force Close ]
The Following User Says Thank You to HellcatDroid For This Useful Post: [ Click to Expand ]
 
koolshubh
Old
#4  
koolshubh's Avatar
Senior Member
Thanks Meter 51
Posts: 354
Join Date: Aug 2011
Check this;




Sent from my GT-I9100 using XDA App
The Following User Says Thank You to koolshubh For This Useful Post: [ Click to Expand ]
 
HellcatDroid
Old
#5  
HellcatDroid's Avatar
Senior Member - OP
Thanks Meter 765
Posts: 1,026
Join Date: Jul 2011
Location: Cologne Area

 
DONATE TO ME
OK, that helps a lot already.

The efs.img dump might be all fine and OK, it's actually a problem getting it mounted to "look into it".
Dug around some more and also found this:
Code:
2: system error (out of memory, cannot fork, no more loop devices)
"2" was the returncode you got during the check, fits with the verbose error message you get when trying the mount from a shell.

Cool, at least I know where to look, not exately sure why this happens, but we'll find out.
Maybe a busybox thing, maybe I'll bundle one with the app....
Quote:
The process com.xda.forum.signature has stopped unexpectedly. Please try again.
Quote:
[ Force Close ]
The Following 2 Users Say Thank You to HellcatDroid For This Useful Post: [ Click to Expand ]
 
guaiwujia
Old
#6  
Senior Member
Thanks Meter 5
Posts: 135
Join Date: Nov 2006
Location: SHANGHAI
thanks for updating~~~

I have used the old one from here
f.lui.li/get_99_f13d.html
 
HellcatDroid
Old
#7  
HellcatDroid's Avatar
Senior Member - OP
Thanks Meter 765
Posts: 1,026
Join Date: Jul 2011
Location: Cologne Area

 
DONATE TO ME
Updated to v1.21
Quote:
The process com.xda.forum.signature has stopped unexpectedly. Please try again.
Quote:
[ Force Close ]
The Following 3 Users Say Thank You to HellcatDroid For This Useful Post: [ Click to Expand ]
 
tonycfc
Old
#8  
Senior Member
Thanks Meter 8
Posts: 120
Join Date: Jul 2011
Everything is working from my end. Thanks for the tool!



Sent from my GT-I9100 using XDA App
Previous phone: HTC Touch HD
ROM: Stock Windows Mobile 6.5

Current phone: Samsung Galaxy S II GT-I9100
ROM: Rootbox v.4.0 [4.2.2]
Kernel: Stock

Android inside!
 
micmaccc
Old
#9  
micmaccc's Avatar
Senior Member
Thanks Meter 30
Posts: 288
Join Date: Apr 2010
Quote:
Originally Posted by HellcatDroid View Post
Updated to v1.21

it just works!
thx!
regards,


The Beast
 
@muja@
Old
#10  
Senior Member
Thanks Meter 3
Posts: 210
Join Date: Apr 2008
Thanks and cheers.
Sony Experia Z
Sony Experia V
SGS2
SlimBean 4.3 beta4
Baseband PBVLP7
Kernel Dorimanx 9.39

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes