Samsung Unpacked Coverage: All About the S6

more

Samsung Galaxy S6 Cameras

more

The Battery Behind the Samsung S6 and S6 Edge

more

Samsung S6 and S6 Edge Performance

more
Post Reply

[How-To] Retrieve your Original Serial Number

OP soshite

20th April 2012, 09:46 PM   |  #1  
soshite's Avatar
OP Member
Flag Layton
Thanks Meter: 26
 
76 posts
Join Date:Joined: Feb 2012
More
This was purely experimental for me, but it worked. And now I have my serial number back.

Pre-requisites:

1. You need CWM, running internal, or at least two microSD cards to be running from sd card.
2. Two MicroSD card required.
3. If you're using Windows you need some program that can perform disk dumps. I use Ubuntu... so... I don't know if the commands are similar in windows, sorry.
4. You'll need someone else' serial number. In other words, you'll need someone else' backup of the /rom partition. Check lavero.burgos unbrick topic. I think there is one on there.

This should be at least somewhat risk-free. Since it doesn't actually tinker with settings

Okay, so boot into internal cwm on your Nook. Make sure you have an sdcard in your nook. Then run adb:

Code:
$ adb start-server
$ adb devices
Make sure you see your device and it shows it in recovery mode.
Code:
$ adb shell
~ # mount sdcard
~ # dd if=/dev/block/mmcblk0p5 of=/sdcard/blk/mmcblk0p5.img
~ # exit
$ adb pull /sdcard/blk/mmcblk0p5.img /path/to/file/mmcblk0p5.img
$ adb shell
~ # rm /sdcard/blk/mmcblk0p5.img
~ # exit
At this point you insert your sdcard into your computer. Depending on what adapter you use, we need to make sure that you are going to use the correct device... so...
Code:
$ fdisk -l
Other than your Hard Disk's partitions (usually the first four), you should see a second one, either /dev/mmcblk0 or /dev/sdc depending on the adapter, but make sure it is the same size as your SD card, so you know which one you are going to be using. Once you verify which one is yours go ahead and umount it.
Code:
$ dd if=/path/to/file/mmcblk0p5.img of=/dev/mmcblk0
Wait for it to finish, shouldn't take longer than a half-minute, once it's done, Go ahead and mount it again, you should see the only partition as "rom", and two folders: devconf, and log.

Navigate to devconf, and there's a bunch of other files. Open "DeviceID" in vim or notepad or something. This is your Serial No., or where it should be anyway. On your nook, if you pop open the little MicroSD flap, you will see the device' serial number. Delete whats in that file, and type your Serial No. on there. Close and don't forget to save it. Now open "SerialNumber" and delete what's on there, and key in YOUR serial number. Close and save.

Umount your sdcard again. Delete the original mmcblk0p5 (/path/to/file/mmcblk0p5). Then jump into shell

Code:
$ dd if=/dev/mmcblk0 of=/path/to/file/mmcblk0p5
$ adb push /path/to/file/mmcblk0p5 /sdcard/blk
$ adb shell
# ~ dd if=/sdcard/blk/mmcblk0p5 of=/dev/block/mmcblk0p5
# ~ umount /sdcard
# ~ exit
In cwm go into advanced/reboot recovery. Let it reboot. And then when it's in cwm run "adb devices" and verify your serial number is there.

Thanks to Pete1612 and lavero.burgos ! Hopefully Pete1612 will test out this method too. This should be relatively easy, it's not hard. Just time consuming. -_-

Once again, let me know if I made any mistake
The Following 4 Users Say Thank You to soshite For This Useful Post: [ View ]
21st April 2012, 05:54 AM   |  #2  
Senior Member
Flag Kaufbeuren
Thanks Meter: 35
 
228 posts
Join Date:Joined: Feb 2011
More
I will as soon as I get the I/O error figured out

Sent from a better galaxy
22nd April 2012, 06:38 PM   |  #3  
soshite's Avatar
OP Member
Flag Layton
Thanks Meter: 26
 
76 posts
Join Date:Joined: Feb 2012
More
Quote:
Originally Posted by Pete1612

I will as soon as I get the I/O error figured out

Sent from a better galaxy

The I/O error means the partition is damaged, however when unmounted the sdcard and re-inserted it, it seemed to work fine, so I went with it.
22nd April 2012, 07:36 PM   |  #4  
Senior Member
Flag Kaufbeuren
Thanks Meter: 35
 
228 posts
Join Date:Joined: Feb 2011
More
I took a different SD card and it worked.

Sent from a better galaxy
4th May 2012, 04:37 PM   |  #5  
Senior Member
rancho cucamonga
Thanks Meter: 21
 
228 posts
Join Date:Joined: Jan 2012
More
Probably keep this but it's u service the as card tab I. the back of the Cover
4th May 2012, 09:50 PM   |  #6  
Member
Flag Phoenix
Thanks Meter: 6
 
43 posts
Join Date:Joined: Aug 2010
More
@ae1990

1. Type reply
2. Verify that what you typed was correct
3. Submit

I think you forgot step 2.

Edit-
That came off ruder than intended, I would actually like to know what you were trying to say.

Sent from my SCH-I500 using Tapatalk 2
Last edited by Eogram; 4th May 2012 at 10:28 PM.
20th June 2012, 07:45 AM   |  #7  
Member
Thanks Meter: 1
 
33 posts
Join Date:Joined: Feb 2012
I think have a way:
1. Copy mmcblk0p5 from nook tablet fine and push to sdcard
2. Use dd command
dd if=/sdcard/blk/mmcblk0p5 of=/dev/block/mmcblk0p5
3. In Cm7 ( boot sdcard) or stock rom have root, i use root exploer change serial in file devices id, serialnumber in rom/devconf.
I had changed my nook by this way. It success, it pass b&n :0
21st June 2012, 12:54 AM   |  #8  
a much easier method... from any rooted nook with ADBD enabled.

Get either adb shell or a terminal and change to root user by issuing the "su" command.

copypasta this block
Code:
mkdir /data/local/mnt
mount /dev/block/mmcblk0p4 /data/local/mnt
Serial=`cat /data/local/mnt/devconf/SerialNumber`
echo "Your Nook Tablet Serial Number is: $Serial"

You will receive a message that says "Your Nook Tablet Serial Number is: ************"

OP is convoluted.
22nd June 2012, 10:33 AM   |  #9  
Demetris's Avatar
Recognized Developer
Flag Limassol
Thanks Meter: 7,782
 
2,627 posts
Join Date:Joined: Aug 2008
Donate to Me
More
Quote:
Originally Posted by AdamOutler

a much easier method... from any rooted nook with ADBD enabled.

Get either adb shell or a terminal and change to root user by issuing the "su" command.

copypasta this block

Code:
mkdir /data/local/mnt
mount /dev/block/mmcblk0p4 /data/local/mnt
Serial=`cat /data/local/mnt/devconf/SerialNumber`
echo "Your Nook Tablet Serial Number is: $Serial"

You will receive a message that says "Your Nook Tablet Serial Number is: ************"

OP is convoluted.

OP has made a guide to restore it.
Yours is a way to print it out *if* its there, anyone can read it under the sd card latch so i dont see your reasoning of this post.
20th August 2012, 05:45 AM   |  #10  
Member
Thanks Meter: 3
 
76 posts
Join Date:Joined: Feb 2012
Hello, Can you help a noob with this ? I am at a command prompt. Wrong serial # Recovery
now what exactly ? Thanks

The Following User Says Thank You to sailerph For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes