yashsingh1/xdaforums huggingface dataset:
[Moto G General] padhu1989:
I did downgrade from 4.4.4 to GPE 4.4.2.. I didn't replace any files and I didn't face any issues..
[Moto G General] droider007:
my touch is not working in gpe...strange
[Moto G General] haseeb_heaven:
only important is that if you dont wanna loose all ur data..

Delete this line

fastboot erase userdata
[Moto G General] droider007:
well i anyhow installed cm12 over non working gpe....and it works ...thanks guys
[Moto G General] ArjunKapoor:
when I try to flash system.img it says "Image is too large" (when converting to gpe)...can anyone please tell me how to extract chunks from system.img??
[Moto G General] sohamtoraskar:
Guys...need lil help

My outgoing calls r working ..but incoming calls are not working :(
[Moto G General] haseeb_heaven:
Will try to make tutorial for this tomorrow
[Moto G General] padhu1989:
Did you read the guide????!!! Flash the donkey kernel or beta Super Su V30
[Moto G General] sohamtoraskar:
I tried both..
[Moto G General] haseeb_heaven:
if system.img is big like 200mb then it automatically gets sparsed and gets divided into small chunks and gets flashed ..
[Moto G General] bharat_goku:
Made a new build today and it doesn't require any patching just install ROM and gapps You should be fine

If anyone wants to test here you go

https://docs.google.com/file/d/0B8pbPQ8k1LHiV1UwUmgxbGh6Nnc/edit?usp=docslist_api&pref=2&pli=1
[Moto G General] haseeb_heaven:
is this ROM for Dual sim or what ?
[Moto G General] bharat_goku:
Not yet I would appreciate a logcat if your on dual sim though
[Moto G General] ArjunKapoor:
Then why I am stuck at boot logo ie. "google" after flashing 4.4.2 gpe rom ??
[Moto G General] padhu1989:
Use mfastboot...
[Moto G General] Rahul Balachandran:
Method 2 on Stock 4.4.4

Does method 2 require converting to GPE ? I am in 4.4.4 Stock with unlocked bootloader and root. Can I just flash the ROM and then Donkey Kernel to install CM 12 ?
[Moto G General] ArjunKapoor:
using mfastboot since I was a child :D but no luck... I just tried flashing stock 4.4.2 but cannot!!! May be my bootloader is updated!

Well can you post your bootloader version( mfastboot getvar all)? It will be helpful for me and my friend...

Sorry for my English :D

Thanks!

EDIT: Please attach an image of your bootloader too....
[Moto G General] andy_prak:
Your method 1 worked for me . Tried that method mentioned on the original post two times on XT1033 converted to GPE but was facing some issues like call not hanging up, incoming calls. All got resolved by following your method . Thanks a lot. :)
[Moto G General] suraj04:
Which version do I need to be on in order to convert to GPE ?

Hi,

I'm currently using TeamMex's Xperience ROM (Android 5.0) on my XT1033. I was just using it to test the features and now i wanted to test network connectivity as well. Hence, i want to convert to GPE. My question is: Can i directly convert from the current rom to GPE using the bat file from xdaforums.com/showthread.php?t=2739919&page=15 or do i have to flash stock 4.4.2 ROM and then convert to GPE ?
[Moto G General] haseeb_heaven:
Clear the cache...
[Moto G General] padhu1989:
No need.. Just convert to GPE using the guide...
[Moto G General] sarthak191:
gpe conversion not working

i had stock 4.4.4 from the day i purchased my unit. i tried flashing 4.4.2 gpe conversion but had black screen with stripes at times. can u help me with gpe conversion using 4.4.4.. i hv tried by converting it to xt1032 british edition and it allows network connectivity in cm12 but the dialler fc when i try to end call. any solution? thanks in advance:)
[Moto G General] padhu1989:
Which guide you used to convert to GPE.... ?
[Moto G General] sarthak191:
links used are

cosmodroid(your link), deej_runner, and one from xposedgeek with modified script.
[Moto G General] padhu1989:
Simple steps to Flash GPE rom

follow the below steps..

1. Download Global retail rom (Link - http://sbf.droid-developers.org/download.php?device=14&file=817 ) and extract it to a folder. Say Folder1

2 Download GPE 4.4.2 ROM (link - http://sbf.droid-developers.org/download.php?device=14&file=828 ) and extract it to a folder. Say Folder 2

3. Download mfastboot and extract it to Folder 2 (where you extracted the GPE ROM)

4. copy NON-HLOS.bin and fsg.mbn from Folder1 (where global retail rom extracted) and paste it to the Folder 2 (where you extracted the GPE ROM), It will ask for replacement, Give Yes..

5. Now open the Folder 2, By pressing the Shift key, right click anywhere in the empty space and select Open command Window here

6. Run the below command one by one (Ignore the errors if any)

mfastboot.exe flash partition gpt.bin

mfastboot.exe flash motoboot motoboot.img

mfastboot.exe flash logo logo.bin

mfastboot.exe flash boot boot.img

mfastboot.exe flash recovery recovery.img

mfastboot.exe flash system system.img_sparsechunk.0

mfastboot.exe flash system system.img_sparsechunk.1

mfastboot.exe flash system system.img_sparsechunk.2

mfastboot.exe flash modem NON-HLOS.bin

mfastboot.exe erase modemst1

mfastboot.exe erase modemst2

mfastboot.exe flash fsg fsg.mbn

mfastboot.exe erase cache

mfastboot.exe erase userdata

mfastboot reboot

once rebooted, wait for sometime to boot.. once mobile is booted fine, you will get the full working GPE rom... wait for 2 to 3 mins and check mobile signal is coming or not.. Then flash CM12 ROM....
[Moto G General] haseeb_heaven:
Video Tutorial for Moto G Dual SIM users

Here is Tutorial on How to Flash Stable CM12 on Moto G(XT1033) on Converted GPE

https://www.youtube.com/watch?v=3_NqpE63owc
[Moto G General] sarthak191:
both links not working
[Moto G General] rishabhdargan:
i installed it. but i am unable to disconnect the call. :(

Can someone help me? any fix for this?:)

to be clarified again.

my rom is cm12 unofficial 11282014

single sim working only
[Moto G General] Dark_bolt88:
wipe data cache and dalvik cache and flash latest superuserv2.35 and donkey kernel alpha 3 for lolipop hit thanks if i helped :) :)
[Moto G General] haseeb_heaven:
Video Tutorial for Converting to GPE

Here is Tutorial on How to convert Moto G (XT1033) Dual SIM to GPE

https://www.youtube.com/watch?v=3_NqpE63owc
[Moto G General] Lemagex:
For me, Method 2 breaks after reboot (2-3). I do method 1 but with the 4.4.4 firmware images and it's perfect
[Moto G General] ArjunKapoor:
Hello sir, Is it necessary to flash cm12 23rd nightly or we can flash 28th nightly directly?

Sorry for my bad english...
[Moto G General] padhu1989:
You can flash 28th...np..
[Moto G General] ArjunKapoor:
Excuse me sir, I just got an error while flash cm12 28th nightly. Please see images in zip file.
[Moto G General] padhu1989:
You flashed over GPE 4.4.4? You should flash over GPE 4.4.2..
[Moto G General] ArjunKapoor:
Cannot flash 4.4.2 gpe....Even I cannot flash stock 4.4.2.It says OK in cmd but In boot loader I get common errors like hab check failed for boot, downgraded to tz, system image to large( even if it gets sparsed!). I tried to install every ROM...tried with mfastboot v2 but still the same result.

I am annoyed my boot loader and I can just flash 4.4.4 gpe and stock. Cm12 installs when I am on stock but doesn't install when I am on gpe :(

Please help...

I can only taste cm 12 without sim when I am on stock ROM
[Moto G General] padhu1989:
Ignore th errors in Bootloader.. In CMD, if you got OKAY, you good to go...
[Moto G General] ArjunKapoor:
If I flash 4.4.2 gpe and get okay I get stuck at Google screen :(
[Moto G General] sarthak191:
share the 4.4.4 gpe file, if it can be flashed with fastboot

sadly no respite from dialler app bug.. still cant end call.
[Moto G General] padhu1989:
Flash super Su latest version and Donkey kernel
[Moto G General] ArjunKapoor:
As I said I just tried to using mfastboot changing firmware etc but no luck...Right now I just tried downgrading my moto to 4.3, hard-bricked it, unbricked it, now my bootloader is locked and my pc does not recognize it as fastboot. In fact bootloader is not showing connected to usb cable... when I tried charging It still says "Battery OK" when I normal power up
[Moto G General] padhu1989:
I don't know bro.. For many people it worked..
[Moto G General] ArjunKapoor:
Today I just connected my moto g and bhumm! It just got connected....!!!!Just unlocked my bootloader again and flashed stock with twrp. Ah! thank god just recovered from that hard bricked phone!
[Moto G General] kailash9999:
Incoming Calls not working

Incoming Calls not showing up on XT1033 Anterix's Build, Dated 30-11-2014. :confused: :eek::(:mad:
[Moto G General] wandhy:
Iam waiting full support for dual sim on xt-1033 :D

But, thanks you for the tutorial :thumbup:
[Moto G General] ArjunKapoor:
EDIT: I just corrupted my bootloader...reinstalled bootloader flashed 4.4.2 gpe without errors(praying:D) and did method 1 ......Voila magic...

Thank you very much [MENTION=4707513]padhu1989[/MENTION]
[Moto G General] padhu1989:
Press thanks button in op instead of saying...
[Moto G General] mmbdemedeiros:
I AM too.

?✌

Marcelo
[Moto G General] jamstar.5:
Dual sim?

How?
[Moto G General] thuva06:
okay now i got my moto g xt 1033 yesterday and rooted it overnight am currently running on mokee 4.4.4 latest nightly

to follow method 2 am i supposed to convert it to GPE ? or can i give a try flashing over mokee 4.4.4?

PS: i havent flashed any of the lollipop builds yet

i was a long time S2 (I9100G) user :p
[Moto G General] padhu1989:
You need to Flash GPE for CM12.... no worries, check the general section..someone posted lollipop OTA zip.. you can try flashing that..official one
[Moto G General] merothh:
Stock-GB-Retail (4.4.4) And GPE (4.4.4)

Hey [MENTION=4707513]padhu1989[/MENTION]

What about converting to GPE with (4.4.4 Stock GB Retail and GPE 4.4.4) ?????????? - - Instead of (4.4.2 Stock GB Retail and GPE 4.4.2)

Since i"m already on 4.4.4 and downgrading to 4.4.2 causes problems (due to the bootloader not being able to downgraded) and i cant have a tase of lollipop due to that.

I also think that this is the reason for Method - 1 not working for some of us !!!!!!!! (In the previous pages) :rolleyes::rolleyes:

Edit:-Hit thankzzz if you guyzzz agree if this is the problem and hopefully we can find a solution to this thing
[Moto G General] nani1214:
270

I had tried all the three methods, but not worked plz. Help me. Its a new phone.
[Moto G General] padhu1989:
You can try flashing over GPE 4.4.4... Why I suggest downgrading to 4.4.2 is few people including me facing issues while flashing cm12 over GPE 4.4.4.... And downgrading to 4.4.2 won't cause any issues in bootloader...
[Moto G General] padhu1989:
Can you explain.. What all you tried? What's your device model?
[Moto G General] nani1214:
dual sim issue.

all the three methods. what u have mentioned above for dual sim support on moto g.

plz help me with this issue...

its a new phone. moto g dual sim. indian version
[Moto G General] padhu1989:
Did you convert it to GPE? without converting in to GPE, CM12 wont work... only one sim will work in GPE..
[Moto G General] nani1214:
converted

yes i had converted into gpe , my xt1033 to xt1032 .. and after i flash cm12.

with g apps and method 2 zip.

buts its showing only single sim.

please help
[Moto G General] Ishan0445:
Till now only single sim is working. There is no support for dual sim buddy
[Moto G General] padhu1989:
Only one Sim will work in GPE... If you want two Sim, go back to stock and wait for official lollipop...
[Moto G General] adarsh9628:
Should i have to convert to gpe to flash donkey kernel or can i flash directly without converting

And can i flash donky kernel after flashing cm12 and gapps coz i flashed gapps already becoz in op he says flash donkey and gaps . will this brick my phone??
[Moto G General] anaydave:
http://xdaforums.com/showpost.php?p=56984788
[Moto G General] nbansal:
Error "Unable to mount /system" on flashing cm12 on xt1033 GPE 4.4.2

Hi,

I have an XT1033 and it was running cm11. I followed the instructions exactly as per this post to first flash it with Retail-GB version, and then with GPE 4.4.2. The phone worked fine in GPE 4.4.2 including network signal. Then I flashed TWRP 2.8.1.0 and did format data, wipe data, cache, system, dalvik cache and tried to flash cm-12--20141209-UNOFFICIAL-falcon.zip but it failed with an "Unable to mount ystem" error and device couldn't boot until I reflashed with a backup. The recovery.log has the below lines. Please suggest what could be wrong:

Installing '/usb-otg/cm-12-20141209-UNOFFICIAL-falcon.zip'...

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts

I:Legacy property environment initialized.

about to run program [/tmp/backuptool.sh] with 2 args

grep: /system/build.prop: No such file or directory

Not backing up files from incompatible version: 12

run_program: child exited with status 127

about to run program [/tmp/otasigcheck.sh] with 1 args

erasing 249856 blocks

blkdiscard failed: Invalid argument

writing 110281 blocks of new data

lseek64 failed: Invalid argument

I:Legacy property environment disabled.

E:Error executing updater binary in zip '/usb-otg/cm-12-20141209-UNOFFICIAL-falcon.zip'

Error flashing zip '/usb-otg/cm-12-20141209-UNOFFICIAL-falcon.zip'

Updating partition details...

I:Data backup size is 0MB, free: 5503MB.

E:Unable to mount '/system'

I:Actual block device: '/dev/block/mmcblk0p35', current file system: 'ext4'

I:Set page: 'flash_done'

I:Set page: 'rebootcheck'

I:Set page: 'confirm_action'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'advanced'

I:Set page: 'confirm_action'

I:Set page: 'action_page'
[Moto G General] padhu1989:
Can you try flashing old builds.. like 23rd buid or 26th buid... it will work.. Then flash the latest build ..
[Moto G General] nbansal:
Unfortunately, the links to the older builds arent in anerik's post anymore. Can you share them if you have them?

Also one question: Is it necessary to flash GPE after Retail-GB? If we flash cm12 on top of Retail-GB won't it work?

Thanks.

---------- Post added at 01:00 PM ---------- Previous post was at 12:34 PM ----------

Sorry, got the link to 23rd build by googling. will try.
[Moto G General] padhu1989:
For Xt1033, flashing GPE is must..
[Moto G General] nbansal:
Same error on older build too. I dived into a bit and the error is while calling block_image_update() function in META-INF/com/google/android/updater-script. This line tries to write system.new.dat at /dev/block/platform/msm_sdcc.1/by-name/system at block locations specified in system.transfer.list. It seems the block numbers in the system.transfer.list are not matching with what the GPE has in its partition table and hence the discarding and writing of blocks fails. Maybe it has to do with 8GB vs 16GB versions of XT1033? I have an 8GB. Maybe this system.transfer.list is for the 16GB version? Just a wild guess. What was your device (8 or 16) in which it succeeded?

Another piece of info here is that as per system.transfer.list, 249856 blocks are to be erased (i.e. around 976MB). However, doing a df on a terminal shows that size of /system is 827MB. So there is definitely a mismatch there.
[Moto G General] padhu1989:
I dont know bro... Whats your partition type..it should ne ext4.. dont change any partition type... I have 16gb version
[Moto G General] nbansal:
Partition is ext4. Somehow the size of my system partition is

less than what the cm12 ROM expects. Can you help me by telling what is the size of the system partition on your device?

Also if you can paste the outputs of the following commands to help me compare the partition structure (all commands to be run inside adb shell as root):

df

cat /proc/partitions

ls -l /dev/block/platform/msm_sdcc.1/by-name

And also if you could attach the gpt.bin file from the GPE ROM. That will help me compare if I used the right gpt.bin while flashing GPE.

Thanks a ton.
[Moto G General] padhu1989:
Sorry Brother.. I couldnt.. because Im in Stock lollipop rom...
[Moto G General] nbansal:
No worries Padhu.

Can anyone else who has successfully flash this cm12 rom on XT1033 (after converting it to GPE) let me know their partition structure? (df and fdisk output).

I am having trouble flashing this rom to my GPE-converted-XT1033 and that is because my system partition is 881MB whereas in the system.transfer.list file in the cm12 rom it tries to erase 249856 blocks (i.e. 1023MB). So obviously cm12 rom expects a larger system partition.

So during flashing I get the below errors and flashing fails:

erasing 249856 blocks

blkdiscard failed: Invalid argument

writing 110281 blocks of new data

lseek64 failed: Invalid argument

But I am wondering why only I am facing this issue since many others who converted XT1033 to GPE were successful in flashing this cm12. So means their system partition was larger. Why should mine be smaller if I used the same gpt.bin file present in the GPE_XT1032_KOT49H.M004_CFC.xml.zip rom? Can the same gpt.bin file cause different partition sizes on 8GB vs 16GB devices?
[Moto G General] nbansal:
I was able to successfully flash anerik's cm12 build on my xt1033. I didnt even need to convert to GPE. Just flashed the Retail-GB version (including modem), installed TRWP, and flashed cm12 over it. Everything works fine.

In fact, flashing GPE creates a problem because the gpt.bin in the GPE link in the OP reduces the system partition to 860 MB (whereas it was 960MB in Retail-GB) which is lesser than what the cm12 expects.

Update: but incoming calls arent working. nor sms. and I cant hang up any calls - dialer gets stuck. But 3G is working fine. Tried donkey kernel, BETA-SuperSU-1.30 etc.
[Moto G General] padhu1989:
GPE is must to fix dialer and call issue..
[Moto G General] nbansal:
Yeah you were right. Flashing after converting to GPE worked. So it seems while booting into GPE it writes some config info in certain partitions which affect the modem. Earlier I thought flashing a ROM would affect only /system, /boot and /data partitions only.

But Padhu, in the OP please add a comment that while flashing GPE we should not flash gpt.bin from the GPE ROM. We should just flash logo, system, and boot.img. Because flashing gpt.bin from GPE ROM reduces the size of system partition to 860MB from 970MB and it causes the 'cannot mount /system' and 'blkdiscard' errors as the cm12 ROM tries to write beyond parition boundary.
[Moto G General] fps_fan:
I flashed official gpe 4.4.4 image, tried some kitkat custom roms and works perfect as single sim, but when i tried install cm12 give error on mount /system and abort, i must downgrade to gpe 4.4.2 mixed to use cm12?
[Moto G General] padhu1989:
Yes.. You need to be in 4.4.2..
[Moto G General] fps_fan:
Can i convert using this mixed firmware? About system partition, in gpe 4.4.2 is large than 4.4.4?
[Moto G General] prinz00:
can i get dual sim working on this rom..?

can we make both the sims working on cm12 in xt1033 indian version...?..if yes then can u pls tell me how..?
[Moto G General] Meruem:
Hi guys,

I installed the Brazilian Lollippop 5.0 OTA some days ago in my XT1033 and after that my phone become very slow and buggy.

So I'm thinking in install this version, but, there's a warning in the first page for those who (Like me) installed the OTA saying to not try to install. I wonder if there is any way that I can install this version, and if you guys can provide me the link to the tutorials, because the forum is pretty confusing :(
[Moto G General] thuva06:
i seriously dont get this cannot flash over a GPE converted 5.0.1 devices XT1033/32

I own a xt 1033 and i converted it to gpe 5.0.1 and i flashed cm12, mokee, candy 5, validus and am sure all the other roms will work fine as well. i didnt face any partition issues at all

i used TWRP 2.8.2.0 :)

---------- Post added at 05:39 PM ---------- Previous post was at 05:33 PM ----------

first follow this tread and convert your device into 4.4.4 GPE
[Moto G General] joker_wuww:
The first sim is working??
[Moto G General] karthik432:
when i was trying to flash it says error in zip and getting status 1 error , installation aborted ,

pls help im using moto g gpe and when trying to flash from twrp it says error executing updater binary in zip ,

no idea what to do pls help me out
[Moto G General] andogeek10:
I think this error is occurring due to the updated partition table in GPE 4.4.4. The only rom which successfully flashes is vanir.
[Moto G General] karthik432:
but how to downgrade from lollipop to kitkat and im using original moto g gpe device
[Moto G General] akshayb007b:
no luck

The 2nd method worked but then a new problem started, wifi wouldn't turn ON.

Any insight?

Thanks.
[Moto G General] bharat_goku:
The most useless thread in general...

if u wanted cm12 in dual sim u could've just waited till one of use found a fix
[Moto G General] abhifx:
:D
[Moto G General] vishalv4:
Method 1 worked for me.

I have only one sim inserted in my phone but it showing the same sim twice. Even while calling it ask for which sim to use, range shows twice but it is of same sim.

Is there any way to show only one sim?
[Moto G General] padhu1989:
Did you convert to GPE?
[Moto G General] vishalv4:
Ya I converted to gpe 4.4.2. It worked perfectly and there was no Sim issue. After that only I followed method 1.

I followed exact steps of method 1 except , in tutorial told to use beta super user 2.27 but I used beta super user 2.39
[Moto G General] padhu1989:
Try method 2 then ..flash Donkey kernel
[Moto G General] vishalv4:
Even method 2 also I tried, that also didn't help and wifi stopped working after that.
[Moto G General] padhu1989:
It might be CM12 bug... check the cM12 forums... or Donkey kernel forums.... try flash Donkey kernel old versions..
[Moto G General] vishalv4:
Sure I'll try that
[Moto G General] prakhar911:
well first of all thank you for sharing this rom. I flashed the ROM but couldnt get the network then I flashed donkey kan kernel, luckily worked on the second try. Now the problem is I'm still not able to use the second sim.

Please guide.
[Moto G General] ankahuja:
Flashing this zip on lollipop is really gona explode my phone or something?

Hardbrick means you damage your hardware

Or the thing you wana say is softbrick

Which includes all software partitions ie system, data,dalvik,kernel, recovery and all.
[Moto G General] sauja:
CM12: Dual Sim is fixed for XT1003

Dual sim is fixed in below CM12 rom

http://xdaforums.com/moto-g/development/cm12-t2971886/post58205351#post58205351

The code will be mergerd into official branch in 2-3 days.

No need to convert to GPE to enjoy CM12 :)
[Moto G General] bharat_goku:
It's merged already :P
[Moto G General] :
CM12 for moto g xt1033, dual sim working fine!

I have a Moto G XT1033, asian version.

I intalled cm-12-20150115-NIGHTLY-falcon.zip over cm11. Installation worked fine. Next, I flashed lillipop gapps (you can fin it easily).

The result is a very stable cm12, with BOTH sims and everything I have tried working fine.
[One (M8) Q&A, Help & Troubleshooting] y2jdmbfan:
OK guys, so I am a longtime HTC owner. I had the M8 when it came out, took a break in June, and now just picked up a GPE M8 so I could get full AT&T / T-Mobile support. As much as I like stock Android, I am missing Sense, so I would like to convert the original GPE M8 to Sense. I am S-Off and have an unlocked bootloader. Is it just a matter of following the same steps as a converted GPE M8 back to Sense? Flashing Firmware and then a ROM?

Thanks,

Y2J
[One (M8) Q&A, Help & Troubleshooting] paul_viado:
this thread might help

http://xdaforums.com/showthread.php?t=2733523
[One (M8) Q&A, Help & Troubleshooting] BR7fan:
There are tutorials in the Android Development section
[One (M8) Q&A, Help & Troubleshooting] y2jdmbfan:
Thanks...And I should be able to go back to GPE if I want and return to new out of the box state by flashing the GPE RUU down the road?
[One (M8) Q&A, Help & Troubleshooting] XSL-FO:
You are S-OFF, the world is yours.
[One (M8) Q&A, Help & Troubleshooting] jball:
It's that easy