Related
Hello @all
since last weekend I'm also a proud owner of a Galaxy Tab 7.7 Wifi+3G 16GB (P6800). Now I have read a lot of threads about rooting,...
But at the very beginning I want to make a backup of all essential parts. In a first step this will include the partition table and the EFS Filesystem.
PIT Backup
=Q1=> Is it true that I'm able to get a backup of my partition table (PIT file) even without rooting my device?
=Q2=> Are the following steps correct?:
1) Put device in download mode
2) Detect device with heimdall
3) Download PIT with Heimdal
=Q3=> Can something go wrong with this method, or should this be absolutely safe?
EFS Backup
To backup my EFS partition, I thought of the following steps:
- Rooting the device
- Using some tool to backup the EFS partition (like KTool for the SGSII / Galaxy Note)
=Q4=> Is there a tool which can provide such a function for the Galaxy Tab?
=Q5=> Or do I need to do it manually, e.g. via "dd" and terminal emulator?
Best regards,
Chris
Hey
=Q1=> Is it true that I'm able to get a backup of my partition table (PIT file) even without rooting my device?
Click to expand...
Click to collapse
Think odin/heimdal only reads the file, it doesn't get stored anywhere on the phone..it should however come in the stock_rom_tar file.
Partition table
To backup my EFS partition, I thought of the following steps:
Click to expand...
Click to collapse
Just adapt rotohammers old tab7 commands to 7.7 partitions.. I dont trust any backup software unless it spesifies my device is supported
Just call out if something borks
Regarding the PIT file,
maybe I did not specify that one clearly: My goal is NOT to store the PIT file on the device. I want to download the PIT file to my computer, so I can use it in an emergency to flash a stock firmware with odin & repartition.
Best regards,
Chris
segelfreak2 said:
Regarding the PIT file,
maybe I did not specify that one clearly: My goal is NOT to store the PIT file on the device. I want to download the PIT file to my computer, so I can use it in an emergency to flash a stock firmware with odin & repartition.
Best regards,
Chris
Click to expand...
Click to collapse
Here is the pitfile of the Galaxy tab P6800 which I got from the Samsung Service Center in after much request.
Hello Manipur,
thank you very much for your answer and the PIT file from Samsung. I will archive it, just for the case that I'm forced to flash my Tab with the Odin repartition option.
Best regards,
Chris
thank you so much for this file. after huffing and puffing for literally 4 hours with a soft-bricked p6800 i decided to adventure into unknown territory of the re-partition box in odin.
suffice it to say that i instantly revived the p6800 in less than 5 minutes with this file
THANK YOU THANK YOU THANK YOU
I'm working with a guy in a way of unbrick Moto G3rd gen and I need some files urgently!!
I need the eMMC backup file of the partitions the size of the file is around 128mb or full mmcblk0
You need root to do this backup and its made via adb or eMMC Raw Tool! Please help us to dev a unroot method and upload this files, it won't damage your phone
HERE IS A TUTORIAL OF HOW TO DO: https://www.youtube.com/watch?v=aWgJdwn0-4M
also: https://forum.xda-developers.com/showthread.php?t=2450045
IkkyShad said:
I'm working with a guy in a way of unbrick Moto G3rd gen and I need some files urgently!!
I need a eMMC backup file of the partitions the size of the file is of 128mb and mmcblk0
You need root to do this backup and its made via adb or eMMC Raw Tool! Please help us to dev a unroot method and upload this files, it won't damage your phone
HERE IS A TUTORIAL OF HOW TO DO:
also: https://forum.xda-developers.com/showthread.php?t=2450045
Click to expand...
Click to collapse
"please"
IkkyShad said:
I'm working with a guy in a way of unbrick Moto G3rd gen and I need some files urgently!!
I need a eMMC backup file of the partitions the size of the file is of 128mb and mmcblk0
You need root to do this backup and its made via adb or eMMC Raw Tool! Please help us to dev a unroot method and upload this files, it won't damage your phone
HERE IS A TUTORIAL OF HOW TO DO:
also: https://forum.xda-developers.com/showthread.php?t=2450045
Click to expand...
Click to collapse
Which Moto G3 variant do you need partition dumps for?
MotoJunkie01 said:
Which Moto G3 variant do you need partition dumps for?
Click to expand...
Click to collapse
i need full system backup, for recovery the corrupted partitions, i just dont need the userdata
IkkyShad said:
i need full system backup, for recovery the corrupted partitions, i just dont need the userdata
Click to expand...
Click to collapse
I understand, but which variant? The 1543, 1548, 1550, etc.??
Hi
I'm Working on the same phone with same issue.
I have XT1550 varient.
Can you please upload the files?
sigmaV5 said:
Hi
I'm Working on the same phone with same issue.
I have XT1550 varient.
Can you please upload the files?
Click to expand...
Click to collapse
I have full partition dumps of the Moto G3 xt1548, Android 5.1.1 Lollipop, Build LPI23.72-32-S.28.5. I can provide all partitions except /hob, /dhob, /system and /userdata. I will link the files upon request.
MotoJunkie01 said:
I have full partition dumps of the Moto G3 xt1548, Android 5.1.1 Lollipop, Build LPI23.72-32-S.28.5. I can provide all partitions except /hob, /dhob, /system and /userdata. I will link the files upon request.
Click to expand...
Click to collapse
i need the xt1543 aprtitions, if you have send the link to me in private thx for the support
IkkyShad said:
i need the xt1543 aprtitions, if you have send the link to me in private thx for the support
Click to expand...
Click to collapse
Sorry friend. I only have partitions for my device...the xt1548.
Can anyone upload the blankflash.zip for moto g3 XT-1550?
sigmaV5 said:
Can anyone upload the blankflash.zip for moto g3 XT-1550?
Click to expand...
Click to collapse
I WOULD but have 1557
[email protected] said:
I WOULD but have 1557
Click to expand...
Click to collapse
Can you send that??
sigmaV5 said:
Can you send that??
Click to expand...
Click to collapse
OK lemme make the dump and upload it,dump ready will upload tomorrow
[email protected] said:
OK lemme make the dump and upload it,dump ready will upload tomorrow
Click to expand...
Click to collapse
Thank you
sigmaV5 said:
Thank you
Click to expand...
Click to collapse
Hey bro file is done uploading ,see that there is every partition dump except for user data and i have named them exactly as it was in "by-name " folder + I have made those dumps carefully without any mistake . Please let me know how you are trying to revive your Moto g 3 Rd gen . https://drive.google.com/file/d/0BxJ0o4DdodjIcFlocXM1NGx4blU/view?usp=drivesdk
Thanks
[email protected] said:
Hey bro file is done uploading ,see that there is every partition dump except for user data and i have named them exactly as it was in "by-name " folder + I have made those dumps carefully without any mistake . Please let me know how you are trying to revive your Moto g 3 Rd gen . https://drive.google.com/file/d/0BxJ0o4DdodjIcFlocXM1NGx4blU/view?usp=drivesdk
Thanks
Click to expand...
Click to collapse
Actually the phone connected to PC in Qualcomm hs-usb qdloader 9008 mode. I tried to flash the programmer and bootloader via QPST. But It did not work. It ended with "Cookie(if present) was not received" error. Let me try the same procedure with the files you provided and tell the results.
sigmaV5 said:
Actually the phone connected to PC in Qualcomm hs-usb qdloader 9008 mode. I tried to flash the programmer and bootloader via QPST. But It did not work. It ended with "Cookie(if present) was not received" error. Let me try the same procedure with the files you provided and tell the results.
Click to expand...
Click to collapse
Worked ?
MotoJunkie01 said:
I have full partition dumps of the Moto G3 xt1548, Android 5.1.1 Lollipop, Build LPI23.72-32-S.28.5. I can provide all partitions except /hob, /dhob, /system and /userdata. I will link the files upon request.
Click to expand...
Click to collapse
Hi i need the same but mine is moto g3 xt1540
So, some of you may have seen my work from the Android TV Platform, as i have done with AMLogic based devices im in the process of doing the same for MTK based devices, im making a full functional tool to disassemble and reassemble MTK firmware, suprisingly the firmware structure is very similar.
If anyone is interested in learning more about MTK firmware i made a video on manually splitting MTK dumped firmware HERE, so check it out, like and subscribe to my channel for more content!
What i have done
- Made a program to split an MTK firmware dump
- Split the ramdisk header to allow unpacking
- Unpack the kernel/recovery
- Unpack system
- Unpack cache
What i need help with?
i need the following info
- How to make an MTK scatter file manually
- How to repack the system with the proper partition length
- How to unpack logo.bin manually
- How to dump a firmware manually over USB without SP flash tool
Ive done some research already and dug in abit myself with no success, if needed i can provide code, binaries ive built etc to help with this
Ricky Divjakovski said:
So, some of you may have seen my work from the Android TV Platform, as i have done with AMLogic based devices im in the process of doing the same for MTK based devices, im making a full functional tool to disassemble and reassemble MTK firmware, suprisingly the firmware structure is very similar.
What i have done
- Made a program to split an MTK firmware dump
- Split the ramdisk header to allow unpacking
- Unpack the kernel/recovery
- Unpack system
- Unpack cache
What i need help with?
i need the following info
- How to make an MTK scatter file manually
- How to repack the system with the proper partition length
- How to unpack logo.bin manually
- How to dump a firmware manually over USB without SP flash tool
Ive done some research already and dug in abit myself with no success, if needed i can provide code, binaries ive built etc to help with this
Click to expand...
Click to collapse
Hey mate,
Ive gota fair bit of experience with Mediatek,
Scatters can be manually created using notepad +
All you have to do is lay them out correctly, i can upload a few in a zip if youd like ive got variations of scatters from
MT6572 nand & emmc 4 - 5 diff models
MT6737M emmc from 2 models
With taking a backup also i use NCK_MTK_Dongle theres a cracked version aswell that works takes all partitions and backs them up into singular .file format files which depending on the fs layout are as follows
Preloader
Uboot
Bootimg
Recovery
Secro
Logo
Tee1
Tee2
Simlock
Frp
Scatter_File.txt
Just for some examples,
I use mtk extractor to take the boot/recovery/system.imgs apart and repack but its only compatible with ext4 format, can also compile an ext4 system.img from scratch using it aswell, specifically though i use it for the boot and recoveries as its specifically designed to handle the MTK headers, also has a nice pull layout that consists of the kernel as a whole, ramdisk as a whole, boot.img boot_old.img, bootinfo.txt and then initrd folder containing the entire layout of the boot or recovery with init files and fstab etc but ive also noticed it will unpack and repack Qualcomm, SPD & samsung boot.imgs no problem also,
Unpacking your logo.bin also can be done with the program LogoBuilder lastest version that was released is 1.6 you can decompile the logo.bin edit the pictures etc then use the program to recompile it back into a logo.bin
Hope that helps you out a bit
Matty1993 said:
Hey mate,
Ive gota fair bit of experience with Mediatek,
Scatters can be manually created using notepad +
All you have to do is lay them out correctly, i can upload a few in a zip if youd like ive got variations of scatters from
MT6572 nand & emmc 4 - 5 diff models
MT6737M emmc from 2 models
With taking a backup also i use NCK_MTK_Dongle theres a cracked version aswell that works takes all partitions and backs them up into singular .file format files which depending on the fs layout are as follows
Preloader
Uboot
Bootimg
Recovery
Secro
Logo
Tee1
Tee2
Simlock
Frp
Scatter_File.txt
Just for some examples,
I use mtk extractor to take the boot/recovery/system.imgs apart and repack but its only compatible with ext4 format, can also compile an ext4 system.img from scratch using it aswell, specifically though i use it for the boot and recoveries as its specifically designed to handle the MTK headers, also has a nice pull layout that consists of the kernel as a whole, ramdisk as a whole, boot.img boot_old.img, bootinfo.txt and then initrd folder containing the entire layout of the boot or recovery with init files and fstab etc but ive also noticed it will unpack and repack Qualcomm, SPD & samsung boot.imgs no problem also,
Unpacking your logo.bin also can be done with the program LogoBuilder lastest version that was released is 1.6 you can decompile the logo.bin edit the pictures etc then use the program to recompile it back into a logo.bin
Hope that helps you out a bit
Click to expand...
Click to collapse
This info is somewhat useful, however im looking more towards a way of making a scatter file from a dumped firmware from a device, i see /proc/dumchar_info has some decent info, however some info i have no idea how its obtained
would you still be able to upload the scatter files for comparison?
As for the backup, what i wanna do is similar to what SP flash tool does, read from one memory address to another, i dont wanna use 3rd party tools either, i prefer to code them myself
I can unpack all that, and i can also repack the kernel, but the system im not sure how the size is defined, i may just recursively loop until a system.img larger than 2mb is created
Unfortunately that tool doesnt work with my logo.bin, ive tried but its pretty much a distorted image, and id like to code this myself aswell
Thank you for the info, if you can please upload those scatter files and ill keep you posted on the progress
Ricky Divjakovski said:
This info is somewhat useful, however im looking more towards a way of making a scatter file from a dumped firmware from a device, i see /proc/dumchar_info has some decent info, however some info i have no idea how its obtained
would you still be able to upload the scatter files for comparison?
As for the backup, what i wanna do is similar to what SP flash tool does, read from one memory address to another, i dont wanna use 3rd party tools either, i prefer to code them myself
I can unpack all that, and i can also repack the kernel, but the system im not sure how the size is defined, i may just recursively loop until a system.img larger than 2mb is created
Unfortunately that tool doesnt work with my logo.bin, ive tried but its pretty much a distorted image, and id like to code this myself aswell
Thank you for the info, if you can please upload those scatter files and ill keep you posted on the progress
Click to expand...
Click to collapse
Hey mate sorry for late reply im on aus time
Ahh i see what you mean now, im not to sure on how the system is defined to be honest mediatek is some what uniqe to say the least to me compared to everything else ive worked on before, ive noticed that aswell with fuzzy images in logobuilder inparticular on MT6979 the scatter though also had a very strange layout,
Speaking of which ive zipped up a few diff ones for you to use as reference, youll see some of the ways they are layed out is very different to one another as you will see defined within them,
https://drive.google.com/file/d/189H5EXS0ZqNuqn75A7ZNEOLo-Efq0T_h/view?usp=drivesdk
Ill be keen to try your tool once done aswell, are you going GUI based or Terminal command line based with it
Matty1993 said:
Hey mate sorry for late reply im on aus time
Ahh i see what you mean now, im not to sure on how the system is defined to be honest mediatek is some what uniqe to say the least to me compared to everything else ive worked on before, ive noticed that aswell with fuzzy images in logobuilder inparticular on MT6979 the scatter though also had a very strange layout,
Speaking of which ive zipped up a few diff ones for you to use as reference, youll see some of the ways they are layed out is very different to one another as you will see defined within them,
https://drive.google.com/file/d/189H5EXS0ZqNuqn75A7ZNEOLo-Efq0T_h/view?usp=drivesdk
Ill be keen to try your tool once done aswell, are you going GUI based or Terminal command line based with it
Click to expand...
Click to collapse
ah, im in aus time aswell
ill get this together one way or another, might just take a little time
it will be GUI based
Thanks for the upload!
Ricky Divjakovski said:
ah, im in aus time aswell
ill get this together one way or another, might just take a little time
it will be GUI based
Thanks for the upload!
Click to expand...
Click to collapse
All mate good to see another aussie on here
All sweet for things to work it takes time to figure out how they work first before anything is even built then debugged, completely understand im just happy to see some more MTK support happening as most of my tools are 4-5 years old for mtk so i think its great
Ill be waiting patiently cheers
Matty1993 said:
All mate good to see another aussie on here
All sweet for things to work it takes time to figure out how they work first before anything is even built then debugged, completely understand im just happy to see some more MTK support happening as most of my tools are 4-5 years old for mtk so i think its great
Ill be waiting patiently cheers
Click to expand...
Click to collapse
as i was saying most of the unpacking is done, the firmware structure is very similar to AMLogics(split the file from the start address to the file size in bytes), its pretty much just those few things i need, then repacking and i can dig into the GUI, id like to know more about how MTK droid tools creates a scatter file via ADB, it seems it uses some info from /proc/dumchar_info but that doesnt specify much, maybe the parameters are guessed???
ive attached a picture of my basic attempt to programatically create a scatter file, the highlighted lines are lines i dont know where this information comes from, nor do i know if those lines are the same for every MTK device
Ricky Divjakovski said:
as i was saying most of the unpacking is done, the firmware structure is very similar to AMLogics(split the file from the start address to the file size in bytes), its pretty much just those few things i need, then repacking and i can dig into the GUI, id like to know more about how MTK droid tools creates a scatter file via ADB, it seems it uses some info from /proc/dumchar_info but that doesnt specify much, maybe the parameters are guessed???
ive attached a picture of my basic attempt to programatically create a scatter file, the highlighted lines are lines i dont know where this information comes from, nor do i know if those lines are the same for every MTK device
Click to expand...
Click to collapse
I think mtk droid tools also pulls info from
cat proc/mounts & cat proc/partitions
Aswell as cat proc/dumchar_info as ive noticed some mtk devices even MT6737M dont have dumchar_info available if that helps a bit, some mtk structures slightly can differ also in certain areas, will your tool support UBIFS also ? Forgot to ask been trying to find a tool to dissasemble ubifs
Matty1993 said:
I think mtk droid tools also pulls info from
cat proc/mounts & cat proc/partitions
Aswell as cat proc/dumchar_info as ive noticed some mtk devices even MT6737M dont have dumchar_info available if that helps a bit, some mtk structures slightly can differ also in certain areas, will your tool support UBIFS also ? Forgot to ask been trying to find a tool to dissasemble ubifs
Click to expand...
Click to collapse
over time i can only hope the MTK community is like the amlogic community and have people send me devices for testing purposed, with AMLogic it was easy to obtain the info i needed because it resided in the firmware itself, i do however think this may be able to be done because mtk droid tools includes a feature where its able to split the firmware and create a scatter
As for ubifs, link me to the firmware and ill see what i can do, i should be able to do this
I just updated the thread with more information on how to manually split MTK dumped firmware, i will add more when i get around to it
Just an update, tools are coming along good, ive made substantial progress and upacking is done, generating the scatter file is coming together, repacking is almost done aswell, should have a release in about a week
Unpack/Repack Logo.bin https://forum.xda-developers.com/showthread.php?t=1953726
Any advancement with this?
good morning my friends I dedicate myself mainly to hardware I have some phones with dead emmc I want to change it the question the question have you worked with the preloader? For example I have the mt6592 and I want to mount the emmc (emcp) KMRX1000BM-B614 with 3gb of ram and 32gb of rom EMMC NAME: RX1BMB and it is CSD rev: 1.8 (MMC 5.1) it cannot be changed in name, who could edit the preloader.bin
Guys how to fix corrupted /efs in
SM-A125F ?
Jayke770 said:
Guys how to fix corrupted /efs in
SM-A125F ?
Click to expand...
Click to collapse
Root and erase efs in terminal app
fahad15090 said:
Root and erase efs in terminal app
Click to expand...
Click to collapse
I deleted the whole files of the efs folder but nothing happens
Jayke770 said:
I deleted the whole files of the efs folder but nothing happens
Click to expand...
Click to collapse
Efs not just efs folder,also some other stuff , you need to find
try that if not work then write CP file in odin!
How to reset EFS try that maybe helpful!
How to reset EFS try that maybe helpful! GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
fahad15090 said:
Efs not just efs folder,also some other stuff , you need to find
try that if not work then write CP file in odin!
How to reset EFS try that maybe helpful!
How to reset EFS try that maybe helpful! GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
Click to expand...
Click to collapse
Can i perform this without root?
how to fix this kind of error?
dd: /dev/block/bootdevice/by-name/modemst1: write error: No space left on device
First check modemst,modemst1,fsg,fsc etc found in partition list ,if yes then try that in device app terminal!
Currently I'm trying to unbrick my 8T, I got the device's full images along with it's prog but lack of rawprogram0.xml * patch0.xml
I'll need those two in order to use QFIL and restore my device. So if anyone by any chances have those files or know where to download it please kindly help to guide me out. Or may be some solutions on how to create those files.
Thanks in advance guys!
@LinhBT
[OP8T][OOS KB05AA/BA/DA] Unbrick tool to restore your device to OxygenOS
Disclaimer: By attempting any of the processes listed in this thread you accept full responsibility for your actions. I will not be held responsible if your device stops working, catches fire, or turns into a hipster and claims to have been...
forum.xda-developers.com
SkandaH said:
@LinhBT
[OP8T][OOS KB05AA/BA/DA] Unbrick tool to restore your device to OxygenOS
Disclaimer: By attempting any of the processes listed in this thread you accept full responsibility for your actions. I will not be held responsible if your device stops working, catches fire, or turns into a hipster and claims to have been...
forum.xda-developers.com
Click to expand...
Click to collapse
Thanks mate, but my situation seem worse, can't use MSM to restore since somehow, all partitions on device was deleted, that's why I need the rawprogram and patch xml to rebuild it.
Using MSM ( I tried many versions ) always leads to Device image not match ( I think it's because all the partitions are erased therefore it can't me matched with any kind of images ).
LinhBT said:
Currently I'm trying to unbrick my 8T, I got the device's full images along with it's prog but lack of rawprogram0.xml * patch0.xml
I'll need those two in order to use QFIL and restore my device. So if anyone by any chances have those files or know where to download it please kindly help to guide me out. Or may be some solutions on how to create those files.
Thanks in advance guys!
Click to expand...
Click to collapse
Where would you expect to be able to find those files?
BillGoss said:
Where would you expect to be able to find those files?
Click to expand...
Click to collapse
Thats what I'm asking my friend @@
LinhBT said:
Thats what I'm asking my friend @@
Click to expand...
Click to collapse
So you have a copy of those files for another phone? If so, can I have a look at them?
BillGoss said:
So you have a copy of those files for another phone? If so, can I have a look at them?
Click to expand...
Click to collapse
As u wish, I also attached 2 files of other device ( Venus ) for your ref
LinhBT said:
As u wish, I also attached 2 files of other device ( Venus ) for your ref
Click to expand...
Click to collapse
I'll look at them in the morning.
BillGoss said:
I'll look at them in the morning.
Click to expand...
Click to collapse
Nice, I also found a python script which claim can generate raw & patch xml files from gpt_main*.bin file, I'm already on it for few hours now but still no result.
LinhBT said:
Nice, I also found a python script which claim can generate raw & patch xml files from gpt_main*.bin file, I'm already on it for few hours now but still no result.
Click to expand...
Click to collapse
I had a look and there's nothing that I recognise. So, unfortunately I can't help you with this.
LinhBT said:
Thanks mate, but my situation seem worse, can't use MSM to restore since somehow, all partitions on device was deleted, that's why I need the rawprogram and patch xml to rebuild it.
Using MSM ( I tried many versions ) always leads to Device image not match ( I think it's because all the partitions are erased therefore it can't me matched with any kind of images ).
Click to expand...
Click to collapse
BTW, how did you manage to delete all partitions?
BillGoss said:
I had a look and there's nothing that I recognise. So, unfortunately I can't help you with this.
Click to expand...
Click to collapse
Thanks anyway mate!
Rootk1t said:
BTW, how did you manage to delete all partitions?
Click to expand...
Click to collapse
Ah, I miss-clicked the Format all button