[AT&T Samsung Galaxy Note I717] darkspr1te:
Eeek, See what i mean lol, I am getting a little lost and not associating users with devices, If i could ask anyone who has posted information specific to their device just re-edit and state the Device, this includes and MBR/EBR and partition tables. Sorry if i am being a pain anyone, I am also resorting the info i already have into common and device specific.

Still, thats a lot of partitions.

below is a python script that backs up the mbr/ebr corectly, it's run from linux ( a ubuntu vm works fine)

import os
from struct import *

def mbr():
global offset, partitions
os.popen("adb shell su -c 'dd if=/dev/block/mmcblk0 of=/cache/partition0.bin bs=512 count=1'").close()
os.popen("adb shell su -c 'cp /cache/partition0.bin /sdcard/partition0.bin'").close()
os.popen("adb pull /sdcard/partition0.bin .").close()
f = open("partition0.bin", 'rb')
data = f.read()
f.close()
partitions = [ ]
n=0
while True:
buf = data[446+(16*n):446+(16*(n+1))]
partition = dict(zip(('boot', 'id', 'start', 'size'), unpack('4I', buf)))
partition['type'] = "MBR"
n += 1
partition['no'] = n
partitions.append(partition)
if partition['id'] == 5:
offset = partition['start']
break

def ebr():
global offset, partitions
n = 0
while True:
a = 0
os.popen("adb shell su -c 'dd if=/dev/block/mmcblk0 of=/cache/ebr bs=512 count=1 skip=" + str(offset+n) + "\'").close()
n += 1
os.popen("adb shell su -c 'dd if=/cache/ebr of=/cache/partition0.bin bs=512 count=1 seek=" + str(n) + "'").close()
os.popen("adb shell su -c 'cp /cache/ebr /sdcard/partition0.bin'").close()
os.popen("adb pull /sdcard/partition0.bin .").close()
f = open("partition0.bin", 'rb')
data = f.read()
f.close()
while True:
buf = data[446+16*a:446+16*(a+1)]
partition = dict(zip(('boot', 'id', 'start', 'size'), unpack('4I', buf)))
if partition['id'] == 5:
break
if partition['id'] == 0:
return
partition['type'] = "EBR"
partition['no'] = n
partition['start'] += n-1+offset
partitions.append(partition)
a += 1

if __name__ == "__main__":
mbr()
ebr()
os.popen("adb shell su -c 'cp /cache/partition0.bin /sdcard/partition0.bin'").close()
os.popen("adb pull /sdcard/partition0.bin .").close()
for part in partitions:
print "%s %2i, Boot: 0x%02X, Id: 0x%02X, Start: 0x%08X (%8i), Size: 0x%08X (%8i, %8i KB)" % (part['type'], part['no'], part['boot'],part['id'], part['start'], part['start'], part['size'], part['size'], part['size']/2)

I am sorry for any confusion folks. In the mean time i will finish current research and data gathering here in this thread and then start pushing solutions back to the original threads for the specific device.

From you(users) if you could edit your posts to reflect the device specific information

. I think we need a moderator or some one to 'police' the posted info on our/my behalf.

Any one want to help?

So the way forward my side is i will continue with my verified data for the hp as i have the most data on that right now. in a couple of days i will go back through the posts and reread all the ones with posted backups/partition/device info and scrape the required info again to make sure each data is reflected correctly in the unbrick solution for that device.

Also some of the information I am gathering here I will be pushing to E:V:A as it's copies of the partition tables he needs for other documentation and/or service solutions. Anyway's I am sure a quick tidy up of our post's wont hurt , i am a prime culprit of post/edit/edit/edit/edit/post lol :confused: :silly: :laugh:

darkspr1te