Need hw partition image for xt1626 - Moto G4 Questions & Answers

My device get hw partition corrupted and now my sims not working, are recognized but not signal. And the only way is restoring hw partiton from a working phone.
PLease can someone with rooted device sent me this file? Is only 8mb.

which file do you need? is it not the gpt.bin file in the stock files?

Related

size of system.img

Dear All:
This is a fundamental / dumb question that I am not sure where to post it.
I have a Moto X Pure/Style. I have a relatively strange variant (Chinese, XT1570). But that is not the point.
I have obtained two official images from Chinese website. Version wise they are identical.
One strange difference is size of "system.img" file.
The one I choose to flash my phone with (mind you that this is the OFFICIAL stock image with no modifications) has a system.img file which is 1.36GB in size.
Another package I obtained from a different Chinese source has a system.img file of 3.99GB in size.
When I looked to my phone, system.img file of 4GB is about right, that is how much it occupied on my phone.
Why this 1.36GB system.img file worked at first place? is there a differeces?
thanks in advance.
The larger image is probably a sector/sector image of the entire partition (dd). The smaller is just the files in use.
If you want to test this, flash the smaller image and note the free space remaining. Then flash the larger. I bet the two numbers will be similar if not the same.
sector/sector image of entire partition?
gpz1100 said:
The larger image is probably a sector/sector image of the entire partition (dd). The smaller is just the files in use.
If you want to test this, flash the smaller image and note the free space remaining. Then flash the larger. I bet the two numbers will be similar if not the same.
Click to expand...
Click to collapse
Thanks for your reply. I got a couple questions.
The large system.img file was created by clobber the sparsechunk.x file together.
What do you mean "entire partition?"
Here is what I am trying to do:
I have a Chinese version of Moto X Pure. It is the only dual-SIM version that support both AT&T and China's LTE band. However, China banned Google services thus the Chinese version contains NO Google services nor Google Service framework. What I want is to flash the XT1572 version (Rest of Asia) dual SIM Android OS while keep the modem part intact.
1. is it safe to assume all Moto X Pure|Style's partition structure is identical?
2. on Chinese web, an article stated that all I have to do is flash the boot.img AND system.img and leave everything else intact, the phone will work. Is this something I can just assume?
3. I noticed that bluetooth has its on firmware (BTFM.bin). does GPS has its own firmware as well? if it is, which image file is it? The reason I am asking this is because hardware wise, Chinese variant is different from rest of Moto X Pure in terms of navigation hardware: Chinese variant has GPS, Beidou (Chinese), and Glonass (Russian) all three receivers. and given the choice, i would like to keep that intact as well.
Thanks in advance
Entire partition as in the entire 4GB partition space. Obviously the system is not occupying all of this space, but the image created was a snapshot of the entire space including unused space.
1) I don't see why they would create different partition layouts for different regions. Usually the only difference would be in software
2) Boot.img is the kernel and system.img is the system partition. You should be fine flashing these two.
3) I don't recall ever seeing a separate gps partition. I'd think the code for it would be part of the baseband.
Whether or not the xt1572 has the right drivers for this is another matter.
Make a backup of system, boot, and data partitions, then flash the xt1572 boot and system only. You'll maybe able to boot right up or you'll have to do a factory reset from within the recovery if it bootloops on startup.
now I am confused... I see TWO system partitions in Teamwin recovery
when I tried to do a backup with Teamwin recovery, i actually see TWO "System" partition:
System (which is about 1.5GB)
and
System R/O (which is about 4GB)
what is the differences between these two system partitions?
when I do
fastboot -s XXXYYYZZZ flash system system.img
which "system" partition am I really flashing?
and when teamwin recovery said I can backup "system" partition and "system R/O" partition, how doe these two partition map to fastboot's partition? I see I can flash
partition
bootloader
modem
fsg
bluetooth
boot
recovery
system
there is only one system...
gpz1100 said:
Entire partition as in the entire 4GB partition space. Obviously the system is not occupying all of this space, but the image created was a snapshot of the entire space including unused space.
1) I don't see why they would create different partition layouts for different regions. Usually the only difference would be in software
2) Boot.img is the kernel and system.img is the system partition. You should be fine flashing these two.
3) I don't recall ever seeing a separate gps partition. I'd think the code for it would be part of the baseband.
Whether or not the xt1572 has the right drivers for this is another matter.
Make a backup of system, boot, and data partitions, then flash the xt1572 boot and system only. You'll maybe able to boot right up or you'll have to do a factory reset from within the recovery if it bootloops on startup.
Click to expand...
Click to collapse
Strange. Which version of twrp are you using?
Can you post a pic?

is it possible to force USERDATA readonly during FW installation?

I'm trying to recover files from my phone. coping /dev/block/sda18 using dd has not worked for me as recovery software only finds 3 files on the filesystem (it was high level formatted). There are alot of file recovery tools on android but I need to be able to boot my phone, in order to prevent any damage to the USERDATA partition (sda18), I thought of possiblly forcing it to be read only and then installing firmware, booting, installing recovery software, and using it on the read only internal memory.
is this feasible?
Thanks all
I could use an undelete apk, like this one -> fahrbot.apps.undelete. I'll try to install with /data unmounted...

[NEED] Dump Files

My XT907 was hardbricked and now I need dump files from working device. I need all partition except cache, system, cdrom and userdata. Can somebody help me?
[GUIDE] Making Dump Files Out of Android Device Partitions: https://forum.xda-developers.com/showthread.php?t=2450045

J5 data recovery

Hi
I have a dead (not responding nor charging) J510FN. There was no encryption activated on the device
FOr the purpose of data recovery from the internal memory I got hold on a eMMC reader. I could recover something like 27 partitions from it, including the userdata partition (around 11,5GB)
Looking with a hex editor through the file I can see its basically full with data. But I didn't have any success yet in recovering any files. I tried to mount the .bin file and run a recovery program (ext4) through it, but couldnt get any files at all.
Someone can give me a hand on this?

Can someone please lend me a give me a backup of their efs/pds partition

I accidentally flashed the wrong stock firmware, wiping my EFS/PDS/persist partition, which means that my IMEI and WiFi are wiped. Can someone please give me a backup of theirs to modify and restore?
Yes, I have tried flashing the correct stock firmware.
My device is the XT1926-7 (RETLA), although any other pds partition from other dual sim model might work.
Also, just having the file structure and the files of the /persist folder would help.
/pds = /persist (symlink)
You can't restore your IMEI with a backup of another persist partition. You need your own persist. Read this:
https://forum.xda-developers.com/g5-plus/how-to/fix-persist-resolve-imei0-explanation-t3825147
https://forum.xda-developers.com/g5-plus/how-to/dev-fixing-baseband-t3806064
Although it's for Moto g5 these threads can give you detailed information about your issue. The file structure is the same for both.

Categories

Resources