Moto G Partitions: Which one does what? - Moto G Q&A, Help & Troubleshooting

Hi guys!
Coming from an aged S3 Mini, I am totally happy with my Moto G 4G so far. One thing intrigued me, though: TWRP displays a few more partitions that I'm used to, and when doing nandroid backups, a few of the XT1039's partitions remain unchecked. Can someone explain to me which one does what? (Also, please excuse me if the question has been asked before, I did use the search function):
Data
Cache
System
Boot
PDS
utags
persist
NON-HLOS
modemst1
modemst2
fsg
fsc
sp
cid
The red and bold ones are unknown to me, although I've wiped modemst1 and modemst2 via fastboot to solve a GPS issue. Do I only need to backup and restore the checked ones (Data, System and Boot) when I need to?

I'd make a backup of all the red partitions once and then *never* restore them unless you have a problem and you *know* that restoring one of those partitions fixes your issue.

Related

[Q] Imei Issues - In desperate need of rescue session, have EFS backup

Hi fellas,
my opo gave out after I switched to an f2fs filesystem and flashed AK kernel, both lollipop... I know dum.
but I ran into the problem where it doesnt recognize my sim card anymore so I checked whether I still had an IMEI and it shows nothing, neither does baseband.
funny enough wifi and bluetooth seem to work, I have backups of modemst1 and modemst2 but flashing them doesnt seem to work, I tried the nightmare fix already and i'm feeling pretty lost now.
Please can anyone help me out?
Same issue here
I'm able to use WiFi properly, however, there is no sim detected and no IMEI either.
I have multiple EFS backups on TWRP as well as the modemst1 and modemst2 files.
Even after restoring the EFS backups, it doesn't help.
Try finding system image and flash it via fastboot
Or tool.
But it will lose all data so be careful and try backing up on your pc.
Sometimes just flashing original system image can bring them back. But don't mess up too much wid it. Bcz i have dead note 2 bcz of that.
So try to flash system image full may ne it will help.
steijn0 said:
Hi fellas,
my opo gave out after I switched to an f2fs filesystem and flashed AK kernel, both lollipop... I know dum.
but I ran into the problem where it doesnt recognize my sim card anymore so I checked whether I still had an IMEI and it shows nothing, neither does baseband.
funny enough wifi and bluetooth seem to work, I have backups of modemst1 and modemst2 but flashing them doesnt seem to work, I tried the nightmare fix already and i'm feeling pretty lost now.
Please can anyone help me out?
Click to expand...
Click to collapse
nthacks said:
I'm able to use WiFi properly, however, there is no sim detected and no IMEI either.
I have multiple EFS backups on TWRP as well as the modemst1 and modemst2 files.
Even after restoring the EFS backups, it doesn't help.
Click to expand...
Click to collapse
Follow this guide
http://forum.xda-developers.com/oneplus-one/help/fix-brickloop-audio-fx-fc-efs-corrupt-t2879061
If you have backups of modemst1 and modemst2
Code:
fastboot erase modemst1
fastboot erase modemst2
then
Code:
fastboot flash modemst1 modemst1.bin
fastboot flash modemst2 modemst2.bin
Otherwise you can erase those two partitions then use this if you don't have backups
Code:
fastboot flash modem NON-HLOS.bin
this file (NON-HLOS.bin) is usually found in any CM based ROM by unzipping. These instructions are in the guide I linked so read through that too and attempt the solutions there before attempting these commands, they are meant as a last resort if the others don't work

[Q] How can I update my rooted XT1032 GPe 4.4.4 to 5.0, since I had to flash non-GPe

Hello,
TL;DR: My question: where can I find a stock 4.4 GPe firmware compatible with XT1032 devices? (cid: 0x00DE
I had a rooted Moto G GPe 4.4, which prompted me yesterday about updating to Lollipop (OTA update, is that right?). Of course, it didn't work. Seriously, for newbies like me reading this, don't accept this, wait for something stable to be available.
So, yesterday, it downloaded everything and started updating. It hanged right in the middle with an error screen. I tried a reboot, same thing (in french it was written "Aucune commande". I guess the proper translation would be no command available or something). I tried a recovery, I had the little android logo lying on the ground with a scary warning on his belly. I tried a factory reset, same thing.
So, I went on this forum, started following this guide, however I was on Linux so I didn't use his .bat script, instead I manually used fastboot and mfastboot.
I downloaded the image named XT1032_RETAIL-EU_4.4.4_KXB21.14-L1.40_36_cid7_CFC_1FF.xml.zip (the CID don't match but it worked) available at this address. For information, the link http://sbf.droid-developers.org/phone.php?device=14 is dead since yesterday at least, which is annoying given the bandwidth of filefactory.
Using mfastboot, I launched these commands:
Code:
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot reboot
Everything was fine. My phone booted, prompted me to install the device and download my apps. Aside from the fugly Motorola boot animation and stock apps, great. However, I couldn't get the Lollipop update, since apparently it is only available to 4.4 GPe edition. I thus got even dumber than normally and started to follow this guide. Beware, the sound is very loud on this video, and doing a video for this kind of info is pretty dumb anyway. The process is written down in the description.
I downloaded the 4.4 GPe firmware linked and started to flash it using mfastboot, same process as above. However, upon rebooting I had only a prompt to decrypt my data. WTF? I used my Google Account password to no avail. Rebooted in fastboot mode, tried recovery and factory reset. Nope. So, I flashed again the XT1032_RETAIL-EU_4.4.4_KXB21.14-L1.40_36_cid7_CFC_1FF firmware. I booted fine, and it is currently restoring my system.
Anyone could explain exactly why it did it? Do I have to worry about anything (I don't care about my data, everything is backed up securely. But I critically need my phone and can't afford to brick it).
I am unable to find a stock 4.4 GPe firmware. Anyone got a link? If possible from a reputable source? I'd like to stay on a GPe phone, I hate bloated and ugly designs. And I'd like to update to Lollipop.
Edit: Okay, the flashing did work, however the CID mismatch is more of a problem than I thought. My CID as printed by fastboot is 0x00DE (and NOT 0x000DE as sometimes indicated in some guides). My image CID is 0x0007. I can't speak on the microphone and I don't have any tone when I call. It is a problem. FFS, is there any ROM I can flash working with this CID?
lknr said:
Hello,
TL;DR: My question: where can I find a stock 4.4 GPe firmware compatible with XT1032 devices? (cid: 0x00DE
Anyone could explain exactly why it did it? Do I have to worry about anything (I don't care about my data, everything is backed up securely. But I critically need my phone and can't afford to brick it).
I am unable to find a stock 4.4 GPe firmware. Anyone got a link? If possible from a reputable source? I'd like to stay on a GPe phone, I hate bloated and ugly designs. And I'd like to update to Lollipop.
Click to expand...
Click to collapse
GPE 4.4.x uses ext4 /data partion whereas Retail-XX versions use f2fs. Hence when we restore the /data partition from a different filesystem type it gives that 'enter encryption password' screen. So probably you had restored your /data partition on GPE device from your non-GPE /data backup. Wihout that it should work fine.
nbansal said:
GPE 4.4.x uses ext4 /data partion whereas Retail-XX versions use f2fs. Hence when we restore the /data partition from a different filesystem type it gives that 'enter encryption password' screen. So probably you had restored your /data partition on GPE device from your non-GPE /data backup. Wihout that it should work fine.
Click to expand...
Click to collapse
Okay, that mush be linked indeed. However I didn't restore my backup (I didn't have much files, and by backup I mean my documents were uploaded on the cloud so I don't care about anything on the device. If I launch fastboot erase userdata before flashing the GPE firmware I downloaded, will it still do the enter encryption password screen ? Is there a guide to flash a GPE firmware somewhere?
lknr said:
Okay, that mush be linked indeed. However I didn't restore my backup (I didn't have much files, and by backup I mean my documents were uploaded on the cloud so I don't care about anything on the device. If I launch fastboot erase userdata before flashing the GPE firmware I downloaded, will it still do the enter encryption password screen ? Is there a guide to flash a GPE firmware somewhere?
Click to expand...
Click to collapse
Okay, it seems you didnt wipe data partition when you flashed GPE over Retail version. So when it booted into GPE, GPE cannot interpret f2fs /data partition and thinks its encrypted and prompts for the password. If needs a blank/wiped /data at first boot. In general its a good idea to 'erase userdata' (if via fastboot) or wipe data partition (if using recovery) when flashing any ROM.
nbansal said:
Okay, it seems you didnt wipe data partition when you flashed GPE over Retail version. So when it booted into GPE, GPE cannot interpret f2fs /data partition and thinks its encrypted and prompts for the password. If needs a blank/wiped /data at first boot. In general its a good idea to 'erase userdata' (if via fastboot) or wipe data partition (if using recovery) when flashing any ROM.
Click to expand...
Click to collapse
That was it, simply. Thanks. I followed this guide (incidentally using the very same files I downloaded in my OP), stopped right before the OTA sideload step. It is no downloading the system update on its own, everything seems to be working.

[Q]XT1031 CDMA CM GPS issue

As you know Moto G will occur GPS issue after flash CM from stock.
GSM/WCDMA user can follow OP to erase modemst1 and modemst2 partition to get recover.
But XT1031, CDMA parameters also stored on these partitions.
Erase modemst partitions will fix GPS but lost CDMA signal.
I have tried to dump modemst1 and modemst2 partition in stock ROM then restore them after CM instillation. After restore, CDMA and GSM all NOT work. Looks like in CM install procedure, CM will make some modification on NVRam and/or modemst. And some critical GPS parameters are corrupted or not read properly.
Does any one know how to fix this without erase modemst partitions?
Thanks in advice.
BTW, I am using XT1031 with SIM slot MOD, which make it to use China Telecom SIM card. I have to do some modification on NVram. But everything works on stock 4.4.4 , so I think the GPS is common issue.

lost signal moto xt1039, partition backup request

I've lost cellular signal in my xt1039 device. Tried many things including reflash firmware/ flash modem... with no permanent solution.
At last fellow brother @lost101 suggested to flash some partitions stated here http://forum.xda-developers.com/moto-g/help/story-lost-recovery-imei-0-t3414511 as a solution. But by searching in google i cant find any.
Can any of you be kind enough to take backup of "dhob" "fsc" "misc" and "hob" partitions from your xt1039 device and by sharing those help me fix my phone? I'll be greatfull forever.
Backing up partition is easy, just install partition backup in your rooted phone. Select raw partition image from setting menu. And its done.
promote
I'm posting this comment just to promote this post, please help me with those partitions if you can.
As far I know, these partition's contain very sensitive data unique to the device. So do not upload these files, and do not flash these partitions on another device. For example, it could cause you to have the same IMEI as someone else, or a multitude of other issues.
As for the actual issue, do your IMEI show up correctly in Android, or is it only the signal that is broken?
Professor Gibbins said:
As far I know, these partition's contain very sensitive data unique to the device. So do not upload these files, and do not flash these partitions on another device. For example, it could cause you to have the same IMEI as someone else, or a multitude of other issues.
As for the actual issue, do your IMEI show up correctly in Android, or is it only the signal that is broken?
Click to expand...
Click to collapse
My imei is intact. Its just my cellular signal that doesn't work. And its not only my issue, there are many with the same problem but no solution. So here I am requesting those partition to try as a solution as stated in this post http://forum.xda-developers.com/moto-g/help/story-lost-recovery-imei-0-t3414511 . I've tried everything else that i could find.
In my country wifi network isn't that available. So without cellular network a phone here is as good as dead. Can you suggest any solution?
Flashing those partitions most likely won't fix your network signal, and could make the problem much worse. In the OP you say you flashed the stock modem, so what method did you use to do this? Did you get the stock firmware and run:
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
Professor Gibbins said:
Flashing those partitions most likely won't fix your network signal, and could make the problem much worse. In the OP you say you flashed the stock modem, so what method did you use to do this? Did you get the stock firmware and run:
Code:
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
Click to expand...
Click to collapse
did those, tried flashing full firmware and downgrading too... nothing worked. Any other suggestions?
Usually factory firmware would fix it, so it could be a hardware issue. Under what conditions did you lose signal - did you flash a ROM?

Please help me guys!!!!

Hey
I have a moto g(retasia version,xt1033).I accidentally ran the horrid command 'fastboot erase all'.This command erased the following partitions from my mobile->
Hob
Dhob
Fsc
Fsg
Cache
Clogo
User data
Modemst1
Modemst1
Carrier
Keystore.
After running this command my imei became zero and my device was not detecting any sim cards.So to restore the radio functionality of my phone,I obtained these partitions from a friend of mine who is having the same device and tried to restore the partitions using the app partitions backup and restore as well as using dd commands via adb.All these methods proceed flawlessly but I am not getting the signals back.
So if there is anyone here who has faced the same problem and has solved it someway please help me
P.S:Since these partitions are device specific and obviously in a secure read only kind of location,is it possible that these partitions are not getting written while running the dd commands?If so,does anyone here know how to bypass the securities and write these partitions?
Please help me guys.
Regards,
Gautham C S
Try to install you stock motorola 5.1 ROM by fastboot.
BryanByteZ said:
Try to install you stock motorola 5.1 ROM by fastboot.
Click to expand...
Click to collapse
These partitions don't come with the stock ROM.
try this....
http://forum.xda-developers.com/showthread.php?p=52648789#post52648789
tutul2336 said:
try this....
http://forum.xda-developers.com/showthread.php?p=52648789#post52648789
Click to expand...
Click to collapse
Tried that already:crying:

Categories

Resources