yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Ashby7:
http://xdaforums.com/showpost.php?p=46155577&postcount=1843

It may still have a chance to make a fix R/W on this method?
[Wear OS Q&A, Help & Troubleshooting] Mobydhick:
Hi there and Happy New Year all !

This Christmas, Santa Claus has brought me an incredible LG G Watch R !

The problem is that my phone, a Wiko Darkfull only runs Android 4.2.1...

After searching on lots of forum, I found a ROM on XDA (Project SJO) which have bring my phone to Android 4.4 KitKat.

Requierements sims to be ok (Google Services, Play Store and co are in the right versions)...

But when attempting to download Android Wear from the store => incompatible Device !

I tried to modifier some build.prop entries to be recognize as a smartphone known to be Android Wear compatible but it seems not working.

I so download the apk, but this does not work "verification failed during installation".

I want to try installing Android Wear with zip package from TRWP custom Recovery but no means to put an had on this package...

Any one got an idea ?

Thanks for your replies.
[Moto G General] reversegear:
Edit : All issue is solved now check this post

Hi

This post is only intended for GPE converted 1033 users. i've seen many guys complaining in Dev section.

im a GPE converted 1033 user since the day i unlocked the bootloader.

in recent past had a issue with all the CM12 based roms like

1. Encryption Error due to EXT4 partition

2. WiFi wont work (CM integrated wifi modules into kernel)

3. Roms recognize my device as Dual SIM after converting to GPE

4. Continuous System UI force closes :(

earlier, all this problem solved by flashing Donkey Kang Kernel. Recently dev of DKK stopped support for our device

Solution

as a workaround till our devs fix the issue with GPE converted 1033 devices. i took DKK3.8 kernel and CM12 Based Boot.img (exactly RR rom) made a new boot.img which works for me without above mentioned problems. i'm just sharing my experience here. if you feel this workaround is useful please confirm

summary

RAMDISK form DKK3.8

Zimage from CM12 based Kernel(Integrated WiFi Modules)

How to install.

the provided file is boot.img directly (not a flashable zip. )

Latest TWRP supports flashing img files directly. please make use of it else you can also use apps like rashr which is available in playstore.

please make sure you know what you are doing before messing with your device.

PS : i'm not a developer :)

Edit : i tested with Resurrection Rom and i can confirm everything works as a single sim device on GPE converted 1033

Edit1 : tested with validus build 17-01 works prefectly

Edit2 : all credits to the developers ;)
[Moto G General] bharat_goku:
tell me the changes needed i'll rebuild my base around it..
[Moto G General] reversegear:
Actually the problem started when cm integrated WiFi modules into the kernel.

Also when i compare ram disk. gpe check has changed in the recent kernels. Earlier separated fstab available for gpe device Now its merged

In my op the boot.IMG consists of ramdisk from DKK 3.8 and zimage from latest cm source
[Moto G General] Flashhhh:
Can these changes be merged in official cm?? [MENTION=4125857]bharat_goku[/MENTION] can u pls tell me??
[Moto G General] reversegear:
Differences between stock kernel and modified kernels

Stock kernel device recognised as dual sim in terminal

Modified kernel device recognised as gpe in terminal
[Moto G General] reversegear:
Does this work for u
[Moto G General] Flashhhh:
I haven't tested yet but it should work
[Moto G General] Uz986:
can i flash this boot.img on donkey kang kernel or should reflash rom and then flash boot.img?

edit:just flashed it using rashr app on candy rom above donkey kernel and everything is fine...thanks for this fix
[Moto G General] padhu1989:
Will try now..
[Moto G General] pra27:
worked for me

This worked for me. I couldn't receive SMS after flashing any ROM. Now I can receive. Also my phone is being detected as gpe single sim now. But I have a query. Would multitasking be affected by changing this boot.img ? Or it is only just for setting up boot correctly. Please if u can elaborate. Sorry for being noob.:o
[Moto G General] reversegear:
as far as multitasking is concerned it is as good as CM12 roms.

this link might be useful if you are concerned about multitasking http://xdaforums.com/moto-g/general/fix-lmk-fixer-adj-t3007589
[Moto G General] pra27:
Thanks for the response. You are right, there are no multitasking issues.
[Moto G General] padhu1989:
Working perfectly for me... flickering issue also stopped... Super smooth now... using Crdroid..
[Moto G General] reversegear:
what is that Flickering issue..

bcoz i never came across Flickering issue with my device.
[Moto G General] Uz986:
i think it happen to people who updated to stock lollipop or something like that...i never enconter it too bcz i never gone back to stock
[Moto G General] L_S:
I found the cause of this "bug" gpe converted. In cm11 when has the file persist.radio.multisim.config empty into /data/property is recognized as single sim (the file is created automacally on reboot, even if manually delete). Donkey lp too don't create this file automatically in cm12 (what hack he used i don't know), but if create manually or made a dirty flash from cm11 all kernels recognized as single sim (due file created on cm11), if delete or made a factory reset cm12 back to be recognized as dual.

I hope that info help devs to fix in official roms :fingers-crossed:
[Moto G General] reversegear:
Update on the way :)

In the mean time : anyone using this modified kernel pls confirm whether compass tile works in cm12 based ROMs

For me it is struck in initializing
[Moto G General] abhi0502:
Yeah it not working on rr it getting stuck on initializing :(
[Moto G General] ren2r:
Based on your solution I've been looking at the RAMDISK of the Donkey Kernel and found that the only file that is required to start system as GPE is his "init" binary within the ramdisk. I've tried with 3 differents kernels from AOSP based roms and worked.
[Moto G General] reversegear:
Glad to here that..

You can share ur boot.img here with the permission of the actual kernel/rom developers. :) by giving them credits

Does compass tile work in ur modified kernel

Edit:

I never knew still so many GPE converted 1033 users on XDA :happy:
[Moto G General] ren2r:
I recomend try "boot" command through fastboot before flash.

I just want say that I did nothing, it's all work of ROM devs, I just swaped one file inside RAMDISK.

I can't tell if compass is working, because in my device this never worked even with kitkat, I don't know if is a hardware or another problem

Edit: [MENTION=4176888]reversegear[/MENTION] I can confirm that compass is working this way, I tried in other device and get it working on CM12 and RR.

boot-RR.img file is based from "Resurrection Remix Rom" and boot-DU.img from "Dirty Unicorns Rom".

Resurrection Remix v5.3.2 from 27-01-2015.

Dirty Unicorns v9.0 from 02-02-2015.

Thanks to all developers that shared your works.

Thanks to [MENTION=4176888]reversegear[/MENTION] by shared this experience.
[Moto G General] abhi0502:
Im getting too much lag on RR rom with boot-RR
[Moto G General] reversegear:
Finally some love for GPE converted dual Sim devices :)
[Moto G General] ren2r:
The boot with the fastboot "boot" command have a small lag to boot, it is just to see if is working, did you flashed already? :confused:
[Moto G General] abhi0502:
Yeah i flashed it with twrp recovery it had too much lag in performance i had to return to reversegear boot.img
[Moto G General] ren2r:
I will look the file I've uploaded.

Edit 1:

I've repacked the bootimg and I've got the file equal the previous one, and it's is running pretty smooth on my device, I think that might be something about the ramdisk because in the reversegear boot file the ramdisk is from DK kernel, but in the file that I've uploaded it's pratically the same as RR rom with just init binary swapped.
[Moto G General] abhi0502:
Can u make boot.img of Euphoria OS. As it has disabled mpdecision and enabled intelliplug by default and its more battery friendly. It's just a request :D
[Moto G General] ren2r:
I never used this ROM, could you send me a link of its thread?
[Moto G General] abhi0502:
http://xdaforums.com/moto-g/development/lollipop-5-0-x-euphoria-os-t3016005
[Moto G General] ren2r:
My internet is horrible, I'm not able to download the full rom. I will look at when get home.

Edit:

[MENTION=5585587]abhi0502[/MENTION]

I have not tried because I haven't the rom installed yet, but here it is...

View attachment boot_Euphoria.img

If you want try it right now.
[Moto G General] andogeek10:
If i need to add the init binary to some other kernel, all I'll have to do is unpack the kernel to be changed and then add the binary and repack, right?
[Moto G General] ren2r:
It's just what I did, but I am thinking that the init binary will get outdated soon, if it's not already.
[Moto G General] abhi0502:
Thanxs i will try it
[Moto G General] L_S:
Hi guys, please test and share what happen, for me work on all roms, even with stock kernel ;). I created using zipme. For test, create a nandroid backup of current rom if want, after do a factory reset > flash rom + gapps + force-ss.zip (do not wipe after flash this) and reboot :D
[Moto G General] abhi0502:
Thanks man its working on RR perfectly [MENTION=5670526]ren2r[/MENTION] yours working on Euphoria OS thanx
[Moto G General] reversegear:
where were you so far :)

please confirm if SMS,MMS works with this method
[Moto G General] abhi0502:
Yeah its working :)
[Moto G General] andogeek10:
Will this zip work with any ROM or only those which support dual sim?
[Moto G General] abhi0502:
Any ROM. I flashed it on Euphoria OS and RR ROM both are working fine with single sim. U can even flash custom kernels that too working with no problem
[Moto G General] ren2r:
someone besides me are having problems with multitask in any custom ROM?

I see that the file init.rc sets the permissions to the adj and minfree in lowmemorykiller folder, but I don't know if this is the better way to manage this.

I know this is a little off topic, but it's about xt1033 too, because I had this problem in 3 phones I had in my hands. :confused: :(
[Moto G General] abhi0502:
Try this

http://xdaforums.com/moto-g/orig-development/fix-moto-g-minfree-fixer-t3015238
[Moto G General] andogeek10:
[MENTION=5670526]ren2r[/MENTION]

Can you tell me which all files have to be changed/replaced in the kernel? I want to modify the bliss pop kernel like you have done others.
[Moto G General] ren2r:
I already tried, I'm actually using right now, but I want to know if this is the only way to get multitask working flawless in our device or if there is already a ROM with multitask working.

:confused:

I just unpacked the boot.img from the ROM, swaped the binary "init" which is the ramdisk by the DK and repacked again, but I guess the [MENTION=4328732]L_S[/MENTION] way much safe if you can wipe your data.
[Moto G General] abhi0502:
U can try with this . Actually I uses all 3 at once

http://xdaforums.com/moto-g/general/fix-lmk-fixer-adj-t3007589

http://xdaforums.com/android/software-hacking/mod-projct-mod-boost-nitro-x-edition-t2809443
[Moto G General] ren2r:
thanks, I will try this solution too. So you are having that problem too?

Edit:

I was wondering why noone developer has implemented these scripts or something like directly in Rom source.
[Moto G General] abhi0502:
All bugs will be solved in lollipop 5.1 update by Google
[Moto G General] L_S:
About my flashable zip, it create a file in /data (cm11 based roms create it automatically on boot, at moment cm12 no). Of course, is possible do a full wipe if want, but if boot after a factory reset will going back to recognized as dual sim due missing the file, so just flash again force-ss.zip again and will get a the rom fully working as single sim.
[Moto G General] bloodvayne:
Does this work with XT1033 GPE-converted on 5.0.1 Lollipop? (41.18 bootloader).
[Moto G General] abhi0502:
Yes all xt1033 to gpe devices
[Moto G General] bloodvayne:
That's good to hear, I'll be trying this myself. I heard that some people who are on GPE-converted XT1032 Lollipop 5.0.1 , have status 7 error when flashing CM12. How did you flash CM12? Was it through TWRP?

Thanks for your contribution for our niche group ;)
[Moto G General] abhi0502:
Yeah through twrp latest

Flash this file through recovery it will solve all errors

http://xdaforums.com/showpost.php?p=58623727&postcount=34
[Moto G General] ren2r:
I talked about a full wipe, because you say to install it after the rom, and in your instructions, you talked about a factory reset.

I looked at your flashable zip, I understood that you placed a file that make the device be recognized as gpe, I think that would be a better way if a command in boot time creates that file, this way will work even if you do a factory reset anytime in future.
[Moto G General] roofrider:
Im trying L_S's forcess zip with DU currently. Initially i found the performance to be very choppy (lots of freezes. Especially the initial Google setup and while adding a Google account later), not sure if it was cuz of the zip, as i didnt boot into the rom prior to flashing the zip. But now it seems to be fine. Will let you know if i run into any trouble.

Thanks a lot ren2r and L_S!
[Moto G General] roofrider:
Guys, What ROM are all of you on?

I'm on DU now but the battery life is bad and the performance is sluggish. I'll be travelling for the weekend so i need one that is quite snappy and has decent battery. Any suggestions?
[Moto G General] ren2r:
I'm using the Bliss pop,

I found it pretty smooth and the battery lasts more than one day for my use
[Moto G General] roofrider:
Thanks! I'll give it a shot.
[Moto G General] andogeek10:
You can try slim lp. I've found it to be the most stable with good battery backup
[Moto G General] abhi0502:
I prefer to use kitkat stock(flashable zip) +faux kernel while travelling . It gives best battery life.

Here is my one of the screenshot(6hrs clg + 10 travel)
[Moto G General] DoctorStrange96:
the zip works, but the sim toolkit (stk) app no longer appears in the app drawer

rom: cyanogenmod 12 (unofficial build by temasek)
[Moto G General] reversegear:
its working fine for me im on blisspop. though i dont use that app :)

reference : http://xdaforums.com/showpost.php?p=59071496&postcount=158 im quoting here. it will better if this discussion stay off from the development thread

Donkey kernel's ramdisk is based on CM12s old Kernel where the device recognition logic (single sim, Dual sim, GPE) is entirely different from the present one. and also the wifi modules are integrated into the kernel in the present CM kernel unlike it is bundled as .ko files in the DKK this is the reason wifi wont work with the recent CM12 roms along with DKK
[Moto G General] DoctorStrange96:
oh, okay then. thanks for explaining. and dont worry, now i know everything i wish to know, so no more off-topic, kernel-related stuff

now talking about roms, i used blisspop for some time, but i tested aicp for a while and it proved to be faster than bliss (and also faster than cm12 and the stock motorola rom – but for now almost every lollipop rom for the moto g leaves the stock rom eating dust :p)
[Moto G General] roofrider:
Ok guys, I need to update my bootloader to that of LP's, someone point me in the right direction. I'm just not sure if I should flash the xt1032 bootloader or the xt1033 bootloader as our devices are converted.
[Moto G General] reversegear:
Bootloader of 1033/1032 are identical.

Check this post http://xdaforums.com/showthread.php?p=59520890
[Moto G General] luan176:
now with 5.1 on gpe converted xt1033 we can have dual sim?
[Moto G General] sahnimanas:
Does this fix the systemUI force close for anyone?

I've been getting this FC loop for every rom i've tried recently. (been using stock GPE ROM since the last 4.4.4 update, didn't have problems with most ROMs before that)

Thanks in advance!
[Moto G General] SH1M4BD3:
You need force_ss.zip flash it in everytimes you flash the roms&gapps. Should fix that fcs.

Or you can adb shell the commands

setprop persist.radio.multisim.config ""
[Moto G General] SH1M4BD3:
Strike xt1033 converted GPE official 5.1 + you need xt1032 5.0.2 brazillian modem?????
[Moto G General] Chandresh204:
i was on asia retail 5.0.2 --> then i flashed the GPE 4.4.4 --> then i side loaded the GPE OTA 5.0.1 --> then i side loaded the GPE 5.1

everything except the network i.e the modems in working fine.....

so what modem files and from which version should i flash the modem files to get sim working :

from asia retail 4.4.4?

from brazilian 4.4.4?
[Moto G General] SH1M4BD3:
444gpe >sideload 5.0.1>sideload 5.1 (all step without entering setup) pull the 5.0.2xt1032 brazillian modem's then flash it over fastboot.. Profit
[Moto G General] Chandresh204:
i don't have the 5.0.2 brazillian modem.... please can you share the link??

it'd be really helpful ....
[Moto G General] SH1M4BD3:
I'll upload it soon..
[Moto G General] Chandresh204:
Thank you :)
[Moto G General] SH1M4BD3:
https://mega.co.nz/#!Zls0FQga!hu3_AR7egrdNgQ6rTEeTNt1C5pfv6nAGYIUSLDGogos extract and flash it over fastboot
[Moto G General] Chandresh204:
a million thanks to you :) its working !

just one more question .... flashing brazilian modems on indian device with indian baseband .... would it affect the battery life??
[Moto G General] SH1M4BD3:
Test it..and report here, as am indonesian and used that one too let we see the effects. So far i love its performances smooth and multitask quiet good
[Moto G General] Chandresh204:
yes indeed, its way smoother than 5.0.2 asian and really stable.... every animation is working as it should be... the recent windows bug is gone and it does not lag in multitasking and the memory bug is gone too! Google has really done its job well.... and i hope motorola doesn't mess up with this and give out the update as is....
[Moto G General] shashankj150:
Bro can u plz elaborate me how did u sideloaded 5.1 ota ..converted xt 1033 to gpe 5.0.1 but unable to configure adb ..plz ..thanks in advance
[Moto G General] SH1M4BD3:
Enter recovery, aply update from sideload, make sure adb driver installed
[Moto G General] shashankj150:
tried that but pc does not recognizes device..i think thats driver issue right..
[Moto G General] Chandresh204:
http://adbdriver.com/downloads/

download the adb driver installer from above and install in your pc.... enter into recovery of your device --> install from adb --> connect your device to pc --> open the dab installer --> it will show the driver is installed incorrectly --> press the install button --> wait for the OK sign beside your device name --> your device is now recognised --> make sure you have fastboot adb 1.0.32 or above --> command prompt --> cd into the folder where the dab drivers are --> use command " adb sideload <filename> " filename without <> ..... the percentage indicator will be there and after 100% voila!
[Moto G General] shashankj150:
Thanks bro..whenever i put adb sideload in cmd as i renamed the file to update it doesnot recognises update or whatever may be the file name . rest is all fine
[Moto G General] SH1M4BD3:
Rename it to ota.zip dont use capital
[Moto G General] shashankj150:
reanmed it to update.zip ,ota zip but its like adb sideload loading ota.zip then cannot read ota.zip

zip
[Moto G General] Chandresh204:
do you have minimal adb 1.0.32 ? actually i don't know why the error occurred but it showed the same error when i sideloaded the file 2nd time.... first it gave me the error that i have older adb fast boot then the error same as you in 2nd turn.... so i downloaded the adb 1.0.32 and problem solved .... it read the file properly and side loaded properly...

here is the link for adb fastboot 1.0.32

https://drive.google.com/file/d/0Byp8kln6_9usYkJYR0tWM3pFN28/view?usp=sharing
[Moto G General] ankushv:
^^^ New boot loader coming with gpe 5.1 . Flash with care , or wait till a way to downgrade is reliably available .
[Moto G General] akshay7394:
Hey, question:

I did exactly that, and it started installing and after it went to the "verifying system step" (after installing some stuff) it said "installation aborted". Any idea what I'm doing wrong?

I've got an XT1033 converted to single-sim GPE
[Moto G General] shashankj150:
yup..error 7 installation aborted ..
[Moto G General] firmanacre:
I got that error too. after that I flashed firmware 5.1 from 5.0.1 and it works fine
[Moto G General] SH1M4BD3:
Did you guys directly sideloading whole ota zip togather??after you sideloading 5.0.1 ota you have to reboot till reach setup, then again enter recovery and sideload the 5.1.. Should be works that way
[Moto G General] shashankj150:
Yup..1st sideloaded 5.0.1 then rebooted to recovery and sideloaded 5.1 then flashed network fix (for xt 1033)
[Moto G General] moralesnery:
To those who are running already 5.1 GPE using the OTA: Its possible to make a factory reset using android menu, or we must do it using recovery/fastboot?
[Moto G General] ankushv:
No Factory Reset for me

I have an xt1033 converted to gpe 5.1 via direct firmware flash from the image , but if I try a factory reset from phone memory or recovery menu it throws up some cache error , but the factory reset works from mfastboot though .
[Moto G General] DoctorStrange96:
Does the unpack-boot.img-and-replace-init trick still work? The force-ss zip works fine but I wanna convert my phone to GPE, and I want it recognized as a falcon_gpe, not as a falcon_umtsds :p
[Moto G General] ardhipoetra:
anyone succeed installing CM 12.1 from GPE 5.1?
[Moto G General] xavier666:
Is clean flash mandatory?

Will I lose storage data? (Pictures, music etc)

Will it disable the 2nd SIM or will it convert my phone from XT1033 to XT1032?

Will I be able to install exclusive XT1033 ROMs? :D

**EDIT**

I'm a normal XT1033 user (Did not convert to GPE or anything)
[Moto G General] reversegear:
1 No.

2 No.

3 2nd Sim will be disabled (no Sim options and no 2 networks)
[Moto G General] xavier666:
Question number 4? :(
[Moto G General] reversegear:
Oops sorry Q4 got hidden under the quote in tapatalk I didn't notice that

4 yes :)
[Moto G General] xavier666:
I'm very sorry but I made a mistake. I meant, can I flash exclusive XT1032 or single sim ROMs?
[Moto G General] reversegear:
Yes
[Moto G General] DoctorStrange96:
Guys, for those of you who are having problems with this new method with the force-ss.zip (or simply dont want to do it), you can do the "old" method (it still works!).

This is a modified version of Optimus Kernel by [MENTION=5857055]Flashhhh[/MENTION]. The sole difference between my version and his is the init binary mentioned here in this thread, extracted from that old Resurrection Remix kernel) All the rest is the exact same thing you see in Optimus' official version.

Device is shown as falcon_gpe in the terminal now - and the SIM toolkit app no longer disappears after a reboot (takes a bit of time to show up in the app drawer though).

Kernel works with all AOSP & CM roms, and their respective derivatives.

Download it here: https://mega.co.nz/#!NNAmjRCQ!FUevpDyPc6hFhBr-Z8tdXX025cEI2wMgNL-kjq7s25U
[Moto G General] reversegear:
Can you confirm on cm based ROMs notification drawer compass works
[Moto G General] DoctorStrange96:
Sorry but i cant confirm. My phone's magnetic sensor is physically damaged (not sure - maybe because of too much time without cablirating?) and Moto's own service center refused to take my phone in and fix it (saying that the Moto G doesn't have a magnetic sensor at all ¬¬), so compass doesn't work.

Edit: Compass should work just fine, since this is a recent, up-to-date kernel
[Moto G General] MindLeader:
Hello, i have XT1033 GPE Converted device. So i flashed a custom ROM(CM 12.1 based) on it by TWRP(for XT1032) but i had an issue; i cant send or receive SMS. I tried another custom ROM but its still same. Do you know a solution about this?(without revert asia retail)
[Moto G General] reversegear:
Flash this http://xdaforums.com/showthread.php?p=58623727