Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
soshite
Old
#1  
soshite's Avatar
Member - OP
Thanks Meter 26
Posts: 72
Join Date: Feb 2012
Location: Layton
Default [How-To] Retrieve your Original Serial Number

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: [ Click to Expand ]
 
Pete1612
Old
#2  
Senior Member
Thanks Meter 35
Posts: 225
Join Date: Feb 2011
Location: Kaufbeuren
I will as soon as I get the I/O error figured out

Sent from a better galaxy
If I helped you and you want FREE ONLINE STORAGE just click here --> http://db.tt/bY8OadMQ
 
soshite
Old
#3  
soshite's Avatar
Member - OP
Thanks Meter 26
Posts: 72
Join Date: Feb 2012
Location: Layton
Quote:
Originally Posted by Pete1612 View Post
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.
 
Pete1612
Old
#4  
Senior Member
Thanks Meter 35
Posts: 225
Join Date: Feb 2011
Location: Kaufbeuren
I took a different SD card and it worked.

Sent from a better galaxy
If I helped you and you want FREE ONLINE STORAGE just click here --> http://db.tt/bY8OadMQ
 
ae1990
Old
#5  
Senior Member
Thanks Meter 20
Posts: 207
Join Date: Jan 2012
Location: rancho cucamonga
Probably keep this but it's u service the as card tab I. the back of the Cover
 
Eogram
Old
(Last edited by Eogram; 4th May 2012 at 09:28 PM.)
#6  
Member
Thanks Meter 3
Posts: 36
Join Date: Aug 2010
Location: Phoenix
@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
 
chamnv
Old
#7  
Junior Member
Thanks Meter 1
Posts: 29
Join Date: 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
 
AdamOutler
Old
#8  
AdamOutler's Avatar
Elite Recognized Developer
Thanks Meter 7871
Posts: 4,717
Join Date: Feb 2011
Location: Louisiana

 
DONATE TO ME
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.
I ignore PMs with questions that could be answered by searching. If you PM me, I probly won't respond.
Check out my developer pages. Add me to your circles on Google Plus.
 
demetris_I
Old
#9  
demetris_I's Avatar
Senior Member
Thanks Meter 1504
Posts: 1,181
Join Date: Aug 2008
Location: Limassol

 
DONATE TO ME
Quote:
Originally Posted by AdamOutler View Post
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.
 
sailerph
Old
#10  
Member
Thanks Meter 3
Posts: 56
Join Date: 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: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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...

XDA PORTAL POSTS

Profile Flow: A Tasker Alternative

By now, we’re all quite familiar with Tasker, the personal automation app that seems to be able to … more

More Tips to Help Promote Your Android App

With over 700,000 apps in the Google Play store and more than 48 billion app installs, it’s … more

Sony Continues AOSP Initiative on the Tablet Z

Sometimes, you can harp on a subject so much that you end upbeating a dead horse. In our eyes, … more