Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Skin1980
Old
#1  
Recognized Developer - OP
Thanks Meter 1426
Posts: 718
Join Date: Nov 2009

 
DONATE TO ME
Default [HOWTO]Do a backup of your current kernel and use it for recovery

This is a new device and the development is starting quickly. Many user that haven't the device is starting to develop some stuff for it also if they don't have the phone ( like me ).

Kernel testing can cause softbrick that can be easy fixed flashing again the stock kernel. The following steps explain how to do a backup of your current kernel so you can use it to restore your device.

It's a very simple guide.....

IMPORTANT You need to use adb ( also terminal emulator is good) and you need to be root!

Code:
su
dd if=/dev/block/bml7 of=/sdcard/boot.img
tar cvf /sdcard/kernel-backup.tar /sdcard/boot.img
IMPORTANT: Write the commands exactly like i wrote and put attention that in the second command. I wrote "BML7" not "BM17" but you have to write without capital letter so "bml7" OK?

After this you'll have a file called kernel-backup.tar in your SDcard. Save it and, in case of softbrick testing a new kernel, put your phone in download mode and flash it with odin (PDA field).

Wish this can help you...

Bye
If you like my works press the THANKS button!!!


And yes... you can also donate - to support my works - with the button under my nick...
The Following 10 Users Say Thank You to Skin1980 For This Useful Post: [ Click to Expand ]
 
noobwithgalaxyy
Old
(Last edited by noobwithgalaxyy; 15th January 2012 at 11:23 AM.)
#2  
noobwithgalaxyy's Avatar
Senior Member
Thanks Meter 59
Posts: 299
Join Date: Oct 2011
I got
Code:
su
# dd if=/dev/block/bml7 of=/sdcard/boot.img
dd if=/dev/block/bml7 of=/sdcard/boot.img
# tar cvf /sdcard/kernel-backup.tar /sdcard/boot.img
tar cvf /sdcard/kernel-backup.tar /sdcard/boot.img
tar: removing leading '/' from member names
sdcard/boot.img
#
Nvm.. my bad :P
Samsung Galaxy Y >>> HTC One V running Paranoid Android[4.1.2] by 1ceb0x


Join Dropbox maybe?
 
daadeguzman
Old
#3  
daadeguzman's Avatar
Member
Thanks Meter 8
Posts: 90
Join Date: Dec 2011
Location: Philippines

 
DONATE TO ME
Quote:
Originally Posted by noobwithgalaxyy View Post
I got
Code:
su
# dd if=/dev/block/bml7 of=/sdcard/boot.img
dd if=/dev/block/bml7 of=/sdcard/boot.img
# tar cvf /sdcard/kernel-backup.tar /sdcard/boot.img
tar cvf /sdcard/kernel-backup.tar /sdcard/boot.img
tar: removing leading '/' from member names
sdcard/boot.img
#
check your sd card root. the files are there.
 
amlanpaira
Old
#4  
amlanpaira's Avatar
Member
Thanks Meter 26
Posts: 44
Join Date: Jan 2012
Location: Kolkata
it creates two files..."boot.img" and "karnel-backup.tar"...

which one should I flash with Odin??
 
Skin1980
Old
#5  
Recognized Developer - OP
Thanks Meter 1426
Posts: 718
Join Date: Nov 2009

 
DONATE TO ME
Quote:
Originally Posted by amlanpaira View Post
it creates two files..."boot.img" and "karnel-backup.tar"...

which one should I flash with Odin??
The tar file
If you like my works press the THANKS button!!!


And yes... you can also donate - to support my works - with the button under my nick...
The Following User Says Thank You to Skin1980 For This Useful Post: [ Click to Expand ]
 
termagazis
Old
#6  
termagazis's Avatar
Senior Member
Thanks Meter 188
Posts: 679
Join Date: Nov 2011
Location: Arachova-Greece
The problem is that odin wont flash it i guess !

Sent from my GT-S5360 using XDA App
XPERIA NEO V | WeberICS | NightElf Kernel | O/C 1.4 GHz |
MY WORK:
TermaRomGR for U8800pro
TermaRomGR for Galaxy Y
Guide for a2sd and EXT partition mount for Galaxy Y
 
noobwithgalaxyy
Old
#7  
noobwithgalaxyy's Avatar
Senior Member
Thanks Meter 59
Posts: 299
Join Date: Oct 2011
It doesn't.. I checked..

Sent from my GT-S5360 using XDA App
Samsung Galaxy Y >>> HTC One V running Paranoid Android[4.1.2] by 1ceb0x


Join Dropbox maybe?
 
termagazis
Old
#8  
termagazis's Avatar
Senior Member
Thanks Meter 188
Posts: 679
Join Date: Nov 2011
Location: Arachova-Greece
Quote:
Originally Posted by noobwithgalaxyy View Post
It doesn't.. I checked..

Sent from my GT-S5360 using XDA App
As i expected !!!we have big problem with odin ...


Sent from my GT-S5360 using XDA App
XPERIA NEO V | WeberICS | NightElf Kernel | O/C 1.4 GHz |
MY WORK:
TermaRomGR for U8800pro
TermaRomGR for Galaxy Y
Guide for a2sd and EXT partition mount for Galaxy Y
 
noobwithgalaxyy
Old
#9  
noobwithgalaxyy's Avatar
Senior Member
Thanks Meter 59
Posts: 299
Join Date: Oct 2011
Yeah we do have a problem.. but Skin did make it work(flashing CWM was successful, even though it didn't work)

If he can let us know how and why other single file flashes do not work..
Samsung Galaxy Y >>> HTC One V running Paranoid Android[4.1.2] by 1ceb0x


Join Dropbox maybe?
 
termagazis
Old
#10  
termagazis's Avatar
Senior Member
Thanks Meter 188
Posts: 679
Join Date: Nov 2011
Location: Arachova-Greece
@ skin1980 can we convert somehow this tar file to update.zip so we can flash it from CWM recovery?

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...