I overwrote partition 23 thinking it was the recovery partition. See http://forum.xda-developers.com/showthread.php?t=1721584 for details.
Would anybody be willing to send me a copy of their partition so that I can fix mine?
Note, it contains the phone's serial number. If you don't want to share that (I wouldn't recommend it), then you'll need to be on eng hboot 0.98 so that you can change the serial number before you take a copy and then restore it back to its original value.
I'd prefer a copy from an Australian, unlocked Telstra phone, but an any unlocked phone would be ok.
If you are willing to do this and don't know how to do it, PM me and I'll provide instructions.
TIA
Edit: I managed to get a copy from another phone.
Sent from my Desire S
I don't have the partition, but I can't help wondering what on earth you're doing with your phone?! Lol! :what:
Sent from my HTC Desire S
Trying to work out how to flash things without using PG88IMG files, which I find a pain if you don't use ADB.
The dd =if =of looked really promising until I discovered I didn't have accurate descriptions of the partitions.
Sent from my Desire S
miz_pimp said:
I don't have the partition...
Sent from my HTC Desire S
Click to expand...
Click to collapse
What do you mean that you don't have that partition? You don't have a /dev/block/mmcblk0p23?
If you didn't have it you would have no serial id, no model id, and who knows what else.
Sent from my Desire S
BillGoss said:
What do you mean that you don't have that partition? You don't have a /dev/block/mmcblk0p23?
If you didn't have it you would have no serial id, no model id, and who knows what else.
Sent from my Desire S
Click to expand...
Click to collapse
No, no, I meant I don't have the partition for you Sorry, I should've clarified
Sent from my HTC Desire S
Ahh. That makes more sense. No problems.
Sent from my Desire S
Same partition problem...
Hi,
I've exactly the same problem as you had. And I desesperatly need to restore that partition.
I've tried several ones, but none of them really work (3G was not working). So I looked into the dump with HexEdit and found out that they were for different part numbers.
Would you mind sharing a copy of yours so I can try it?
I would really appreciate your help.
Cheers :laugh:
Happy to help.
http://db.tt/pkyRxIW9
Sent from my Nexus 7
Fyi, this partition has the following information stored in it:
mmcblk0p23 mfgdevice: WiFi MAC-address @x40, cid @x11098 x11140, imeid @x11130, mid @x1108c x110ac, serialno @x10030 x11000
If you find a way to set the MAC address back to its original value permanently, please let me know how you did so as I've not been able to do that.
Sent from my HTC Saga
I've had also the same problem when trying to restore the original MAC address. When you changed it in the partition, the file at the beginning of the partition seems to be restored to a "default" configuration with mac addr 00:11:22:33:44... . They might be a checksum somewhere !!
By the way, the mac address is also defined a offset x110BC
If I found a solution I'll let you know.
Anyway the mac address is not really a big deal as we will probably never connect to the same wireless lan at the same time
Yeah, we'd be very unlucky to want to access the same Wi-Fi network at the same time. Lol
By the way, the mac address at 110bc is the Bluetooth mac address, not the Wi-Fi address.
Sent from my Nexus 7
Update Wifi Mac Address
Hi Bill,
If you're still interrested by restoring your wifi mac address here is how I did for my phone:
1. Dump and pull the mmcblk0p18 and mmcblk0p23 partitions
Code:
adb shell dd if=/dev/block/mmcblk0p23 of=/data/local/tmp/mmcblk0p23.img
adb shell dd if=/dev/block/mmcblk0p18 of=/data/local/tmp/mmcblk0p18.img
adb pull /data/local/tmp/mmcblk0p23.img
adb pull /data/local/tmp/mmcblk0p18.img
2. Edit both files with HexEdit
The wlan configuration at the beginning of the mmcblk0p23 image (0x00000040) is "protected" by a CRC checksum (at address 0x00000010).
I was not able to reverse engenireed the CRC parameters but whenever you alter the content of this file it is restored to a "factory" default configuration with macaddr=00:11:22:33:44:55
And the factory default is located somewhere in the mmcblk0p18 image (HBOOT).
They are several "factory" defaults wlan configurations in this partition (depending on your board revision and other parameters I guess), so you must find the one which exactly match the one in your mmcblk0p23 image. (you can do a search in HexEdit)
2.a. Update the factory default configuration in mmcblk0p18.img with the mac address you want to use
Save the mmcblk0p18.img file.
2.b. Alter the configuration in mmcblk0p23.img so that the CRC checksum will fail. (Just change the macaddress)
Save the mmcblk0p23.img file
3. Reflash the mmcblk0p18 and mmcblk0p23 partitions with the modified images
Code:
adb push mmcblk0p23.img /data/local/tmp/
adb push mmcblk0p18.img /data/local/tmp/
adb shell dd if=/data/local/tmp/mmcblk0p23.img of=/dev/block/mmcblk0p23
adb shell dd if=/data/local/tmp/mmcblk0p18.img of=/dev/block/mmcblk0p18
4. Reboot and here you have you're new mac address !!!
Thanks! I'll give this a go.
Sent from my Nexus 7
Brilliant, absolutely brilliant.
I did it all from my phone as I don't like using ADB.
The one thing that is a *must* is that both partitions have to be written at the same time.
Let me say it again - brilliant work! !
Sent from my Nexus 7
Related
I found this issus in many Samsung CDMA Devices.
I try to dump modem.bin using adb shell command below.
dd if=/dev/block/bml12 of=/sdcard/nand/bml12.bin bs=4096
but bml12.bin contains nothing but 0xFF bytes in it.
And i also try to dump EFS.
dd if=/dev/block/stl3 of=/sdcard/nand/stl3.bin bs=4096
also stl3.bin.bin contains nothing but 0xFF bytes in it.
I have dumped all the paritions from stl 3-12 and bml1-12.
but i haven't found a dumped file with exact 10~20mb size( a cdma modem.bin size?)
does anyone has any idea?
sorry for my bad english...
Try to make your output a .img file instead of a .bin. You will have to get ahold of an extractor/decompiler. Just do a search here on xda, there are a few ways to do it.
Edit: also remove the BS= arg as well.
Also remember that DD is going to dump that entire partition, not just one file.
Sent from my LG-P999 using xda premium
Волк said:
Try to make your output a .img file instead of a .bin. You will have to get ahold of an extractor/decompiler. Just do a search here on xda, there are a few ways to do it.
Edit: also remove the BS= arg as well.
Also remember that DD is going to dump that entire partition, not just one file.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
Thanks for your answer.
But this method to dump modem.bin i wrote above , have been tested sucessfully in GSM devices.
why can't dump in CDMA devices using this method?
BUMP!!!!!!!
I ran 'unlock.su' and an unlock code came up about a page wide.
Is this correct? Seems a bit long to me.
How and when is the unlock code entered?
dlw
Read this post.
http://forum.xda-developers.com/showthread.php?p=15810793
Sent from my SGH-I997 using xda premium
Thank you for replying.
I do not have Windows. I have Ubuntu 12.10.
That's a problem I'm having. Everything seems to be for Windows.
I do have a hex editor. Will see what I can find out with it.
The problem now is adb can't find device.
Turn phone off then back on.
Debugging mode is on.
Enter 'adb devices',
List of devices attached
0123456789ABCDEF device
Enter './unlock.sh',
Raging Against The Cage...
error: device not found
Been searching for hours.
dlw
dlw1146 said:
Thank you for replying.
I do not have Windows. I have Ubuntu 12.10.
That's a problem I'm having. Everything seems to be for Windows.
I do have a hex editor. Will see what I can find out with it.
The problem now is adb can't find device.
Turn phone off then back on.
Debugging mode is on.
Enter 'adb devices',
List of devices attached
0123456789ABCDEF device
Enter './unlock.sh',
Raging Against The Cage...
error: device not found
Been searching for hours.
dlw
Click to expand...
Click to collapse
make sure you're rooted.
follow the link psal gave you. follow the op direction
google for hex 10 editor
once you have the bml3 on your sdcard, upload to cloud, email yourself a copy etc..just get a copy to your pc...adb is not needed.
follow the rest of op direction to get ur code
I do not have Windows. I have Ubuntu 12.10.
Did not find a '010 hex editor' for Linux.
I have 'ghex' which is a Linux hex editor.
I do not have a /dev/block/bml3, there is a /dev/block/bml12.
Opened bml12 in ghex editor.
searched for 'FFFFFFFFFF0100000000'.
It is not there.
Posted the above at the unlock site at 9:00 am, no word back yet.
I've been at this for hours.
My apologies if the post is wrong in any way.
dlw
dlw1146 said:
I do not have Windows. I have Ubuntu 12.10.
Did not find a '010 hex editor' for Linux.
I have 'ghex' which is a Linux hex editor.
I do not have a /dev/block/bml3, there is a /dev/block/bml12.
Opened bml12 in ghex editor.
searched for 'FFFFFFFFFF0100000000'.
It is not there.
Posted the above at the unlock site at 9:00 am, no word back yet.
I've been at this for hours.
My apologies if the post is wrong in any way.
dlw
Click to expand...
Click to collapse
the code is in /dev/block/bml3
I must be dumb as a box of rocks.
There is not a /dev/block/bml3
There is /dev/block/platform, /dev/block/vold.
A lot of *loop*,*mmcblk*,*ram* files and one bml12 file.
I am looking at the /dev/block/ directory now in 'rootbrowser'.
What am I doing wrong?
dlw1146 said:
I must be dumb as a box of rocks.
There is not a /dev/block/bml3
There is /dev/block/platform, /dev/block/vold.
A lot of *loop*,*mmcblk*,*ram* files and one bml12 file.
I am looking at the /dev/block/ directory now in 'rootbrowser'.
What am I doing wrong?
Click to expand...
Click to collapse
can't see like that.
download terminal emulator (TE)
run TE
type "su"
type" dd if=/dev/block/bml3 of=/sdcard/bml3.bak
look for it on the sdcard
Entered this 3 times:
dd if=/dev/block/bml3 of=/sdcard/bml3.bak
Get this error:
/dev/block/bml3: cannot open for read: No such file or directory.
dlw1146 said:
Entered this 3 times:
dd if=/dev/block/bml3 of=/sdcard/bml3.bak
Get this error:
/dev/block/bml3: cannot open for read: No such file or directory.
Click to expand...
Click to collapse
i just did it and got the bml3.bak file
make sure you are rooted..and on froyo, gb or ics stock samsung partitions..not jb
My rom is JB -Slim3.0.0
No idea about partitions.
dlw1146 said:
My rom is JB -Slim3.0.0
No idea about partitions.
Click to expand...
Click to collapse
if you really need the code, you will need to go back to 2.2.1 or 2.3.6 with root and try again.
you can also try to find the infuse jb's bml3 partition location.
i don't run jb so i can't help u there.
gl
Yes, I need the code. AT&T's reception is not good here. A new tower just went up last week close by but its Verizon.
Thank you so much for your efforts. You have helped me learn a lot.
Thanks again,
dlw
try this...
i had trouble using the unlock post also. try using this post ---> http://forum.xda-developers.com/showpost.php?p=14887023&postcount=166
It was WAYYYYY easier for me and the code was in plain sight.
Hello everybody!
I recently wanted to update my cousin's Transformer TF101G, but I met a problem, which is described here: http://forum.xda-developers.com/showthread.php?t=2244728
Now I have made a lot of research and discovered, that I can probably solve the issue by reformatting the partitions on the tablet. When I searched the web I discovered, that partition layout is described in file /proc/mtd, but when I open the file, IT IS EMPTY!!!
So now I am asking all of you, who have TF101G or other Transformer tablet with root access to the tablet, to upload the following files:
- /proc/mtd
- /proc/mounts - you need to mount all of the partitions (system, sdcard, data...)
here so I can analyse which partitions are which. I would ask you also to provide:
- first several numbers (cca. 4) of your serial number
- ROM name
so I can identify if different tablets, serial numbers and ROMs have different partition layouts.
You can easily ADB pull files by:
Code:
adb pull /proc/mtd backup/
adb pull /proc/mounts backup/
This will copy them to backup folder.
I really appreciate your help!
Žiga
Edit:
I have seen that you have fixed the tablet.
Sent from my Transformer TF101 using xda app-developers app
Yes I found solution. If somebody wants to know, how I fixed it, read here.
I need to know if it's possible to pull old text messages off of a backup from an old phone. Before selling my HTC One S, I made an entire dump of it onto my computer.
Now I REALLY need some texts that might have been on the phone for a legal case I'm involved in. This is REALLY, REALLY, REALLY important. I don't know if it's possible to pull texts out of a backup made on a PC or not, but I REALLY need to see what texts are on there if nothing else at all.
I also used a couple different backup methods on the phone such as nandroid, titanium, Backup Everything, etc and would like to be able to go through those as well. Is there a way to emulate the phone so I can restore these backups? Is there another way to go through the data in them without having the phone?
ANY ANY ANY and ALL help greatly appreciated! Thanks!!
Install SMS backup from market
Sent from my HTC One S using xda app-developers app
flex420 said:
Install SMS backup from market
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
With all due respect, did you read my post? lol
I don't have the phone anymore. All I have is a file structure dump I did onto my computer before I sold it.
Yes, you can do it. You need a linux host (or a mac) with sqlite3 installed.
If you have a nandroid, then you have a tar file of your data partition. You have to untar it somewhere.
If you have a raw image, you have to mount it as an ext4. (In that case, a mac won't do, and you need a linux box.)
either:
tar -xf data.tar
or:
mkdir data
mount -t ext4 -o loop data.img data
Your precious data is in the following file:
data/data/com.android.providers.telephony/databases/mmssms.db
You can:
cd data/data/com.android.providers.telephony/databases/
sqlite3 mmssms.db "select * from sms;"
Edit to add:
I'm sure you can extract the file in question from a .tar on windows, and I bet there are also tools to extract it from an ext4 image, but I can't point you at any.
Also, I doubt that texts you pull from a dump are good for legal use. You may have to get the data from your network provider.
touch of jobo said:
Yes, you can do it. You need a linux host (or a mac) with sqlite3 installed.
If you have a nandroid, then you have a tar file of your data partition. You have to untar it somewhere.
If you have a raw image, you have to mount it as an ext4. (In that case, a mac won't do, and you need a linux box.)
either:
tar -xf data.tar
or:
mkdir data
mount -t ext4 -o loop data.img data
Your precious data is in the following file:
data/data/com.android.providers.telephony/databases/mmssms.db
You can:
cd data/data/com.android.providers.telephony/databases/
sqlite3 mmssms.db "select * from sms;"
Edit to add:
I'm sure you can extract the file in question from a .tar on windows, and I bet there are also tools to extract it from an ext4 image, but I can't point you at any.
Also, I doubt that texts you pull from a dump are good for legal use. You may have to get the data from your network provider.
Click to expand...
Click to collapse
Awesome. You rule.
I actually have 3 backups, all 3 of which have a file in them called "data.ext4.tar", and I can use my beloved Backtrack 5 machine (it's just so HANDY! lol) to do this. No problem.
So, I'd just untar it (this would give me an ext4 file system, right?) then mount the resulting ext4 file system and go from there?
I'm trying to get the texts from this AND from the provider.
rmp5s said:
So, I'd just untar it (this would give me an ext4 file system, right?) then mount the resulting ext4 file system and go from there?
Click to expand...
Click to collapse
Untarring the .tar file will give you a folder structure. You dont need to mount anything then. Just navigate to that mmssms.db file and query it with sqlite.
-Jobo
Thanks for the help!
Sent from my Nexus 4 using xda app-developers app
Hello together,
i hope you guys can help me out here. Today my Nexus 5 has been stolen. Now i want to prosecute but i need my IMEI. I am currently not at home but i got my laptop with a backup made by TWRP.
The folder looks like this:
http ://puu.sh/ nzexP/cfbff68baf.png (remove the spaces, i am new here thats why i cant post links yet)
As you can see there are some files and also two files efs1 efs2. But i dont know how to extract those or where to find my IMEI in that files.
Could someone please help me with that?
Thanks in advance
Edit: I found something in that recovery.log which might help to extract it? The log says:
Backing up EFS...
I:Backup command: 'dd if=/dev/block/mmcblk0p12 of='/data/media/0/TWRP/BACKUPS/05f111c90047784e/2015-08-18--14-50-33_cm_hammerheadcaf-userdebug_5.1.1_LMY48G_501//efs1.emmc.win' bs=1048576 count=3'
Click to expand...
Click to collapse
Maybe you guys now know which command the file was created with and you maybe know something for this in reverse to extract?
You don't have the box?
Call your carrier and they may have a record of the last IMEI for yoru nexus 5.
I have Bell Canada as my carrier and their system is able to read the imei from my phone.
Planterz said:
You don't have the box?
Click to expand...
Click to collapse
As i said, i do have the box but i am not at home where it is.
Isnt it possible to extract this backup files?
If you go to Google dashboard it will give you a list of all Android devices ever signed in to that account. Including IMEI.