yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] lost101:
Here are the results:

{

"buildInfo": {

"fingerprint": "motorola\/falcon_gpe\/falcon_umts:5.1\/LMY47M.M005\/10:user\/release-keys",

"kernelVersion": "3.4.42+",

"brand": "motorola",

"manufacturer": "motorola",

"model": "XT1032",

"release": "5.1",

"sdk": "22",

"id": "LMY47M.M005",

"versionCode": 6,

"versionName": "v.6"

},

"results": [

{

"name": "ZipBug 9950697",

"isVulnerable": false

},

{

"name": "ZipBug 8219321",

"isVulnerable": false

},

{

"name": "ZipBug 9695860",

"isVulnerable": false

},

{

"name": "CVE-2013-6282",

"isVulnerable": false

},

{

"name": "CVE-2011-1149",

"isVulnerable": false

},

{

"name": "CVE-2014-3153",

"isVulnerable": false

},

{

"name": "CVE-2014-4943",

"isVulnerable": false

},

{

"name": "CVE-2015-1528",

"isVulnerable": false

},

{

"name": "CVE-2015-1538-1",

"isVulnerable": false,

"exception": "java.io.IOException: Error running exec(). Command: [\/data\/data\/com.nowsecure.android.vts\/files\/crashCheck-pie, 5, \/data\/data\/com.nowsecure.android.vts\/files\/stagefrightCheck-pie, \/data\/data\/com.nowsecure.android.vts\/files\/CVE-2015-1538-1.mp4] Working Directory: null Environment: null"

},

{

"name": "CVE-2015-1538-2",

"isVulnerable": false

},

{

"name": "CVE-2015-1538-3",

"isVulnerable": false

},

{

"name": "CVE-2015-1538-4",

"isVulnerable": false

},

{

"name": "CVE-2015-1539",

"isVulnerable": false

},

{

"name": "CVE-2015-3824",

"isVulnerable": false

},

{

"name": "CVE-2015-3828",

"isVulnerable": false

},

{

"name": "CVE-2015-3829",

"isVulnerable": false

},

{

"name": "CVE-2015-3864",

"isVulnerable": false

},

{

"name": "sf-itunes-poc",

"isVulnerable": false

},

{

"name": "CVE-2015-6602",

"isVulnerable": false

},

{

"name": "CVE-2015-3825",

"isVulnerable": true

},

{

"name": "CVE-2015-3636",

"isVulnerable": false

},

{

"name": "CVE-2015-7888",

"isVulnerable": false

}

]

}
[Moto G 4G Android Development] Syoenth:
I have a link for the Latinamerican ROM, can you make a Optimized Rom of this version?
[Moto G 4G Android Development] DeX1009:
Hi, I'm trying to install untouched optimized version on my XT1039 EU.

TWRP can't install the rom, I have:

symlink: no of symlinks failed = 1
E:Error executing updater binary in zip (ecc. ndr)

I wiped all. What can I do?

EDIT: I'm talking about optimized rom.

EDIT2: I succesfully installed untouched version. But I would like to know why I had that issue...
[Moto G 4G Android Development] J0kker:
Im currently using the EU optimized on my xt1039 without issue, maybe a bad download ?

BTW, I'm using this with kamimari's kernel for some weeks and everything is good and smooth.:good:
[Moto G 4G Android Development] nantzen:
I flashed the EU 5.1 ROM (Optimized) v1.1 and everythings is OK. Now, I would like to know if there is a way to:

- hide the operators name from the status bar

- show the battery percentage in the status bar

thanks!
[Moto G 4G Android Development] Wyneg:
Hi!

Use Gravity Box, this xposed module have both options ;)
[Moto G 4G Android Development] Kong2000:
Stock ROM has an option for that next to data roaming. Translated from German it would be something like 'show operator name'.

******************************

My XT1039 updated to 23.26.3. now. VTS for Android shows two remaining vulnerabilities. :(
[Moto G 4G Android Development] _jis_:
Show mobile network.

Tapatalk Pro 4.6.2
[Moto G 4G Android Development] nantzen:
thank you very much!

the path is: Settings > ..More > Mobile networks > Show mobile network (uncheck)
[Moto G 4G Android Development] _jis_:
I understand that you don't need to show your network in your country, but when you will travel abroad, it should be better to enable it again :)
[Moto G 4G Android Development] nantzen:
good advice! thanks again!
[Moto G 4G Android Development] Panderine:
Hey [MENTION=1006674]lost101[/MENTION] would you mind optimizing this version :

XT1040_PEREGRINE_TEFLA_5.1_LPB23.13-35.5_cid12_CFC.xml.zip

I took it from your other thread (http://xdaforums.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795)
[Moto G 4G Android Development] lost101:
Can you confirm if stage-fright is fully patched in that image?
[Moto G 4G Android Development] Panderine:
I believe is a partial fix. No full fix released yet. Also no 5.1.1 yet for peregrine.
[Moto G 4G Android Development] lost101:
I only add ROMs based on Retail firmware. Is there anything in the Retail Latin America firmware not present in the already available Retail Brazil ROMs?

Please try to appreciate that I have started ROM collection threads for Falcon, Peregrine and Moto E (1st Gen) - I have a backlog of ROMs to work on.
[Moto G 4G Android Development] joaquinssitto:
How to install your kernel 5.1.1 on the Moto G XT1040 (Untouched) I have your source code.. https://github.com/MotorolaMobilityLLC/kernel-msm/releases/tag/MMI-LPB23.13-35
[Moto G 4G Android Development] lost101:
I don't follow what you are asking. That source is for the Kernel already included with the ROMs. There are no Stock 5.1.1 ROMs, only Stock 5.1.0 ROMs. The Kernel will work with Stock 5.1.1 if it ever arrives.
[Moto G 4G Android Development] lost101:
Here is a flashable zip to fully patch Stock ROMs for all currently known Stagefright exploits. Test with Stagefright Detector. The files originate from a Falcon 5.1 Stock Firmware, but I expect they are compatible with these ROMs. Do a nandroid backup just in case. Feedback appreciated.

https://www.androidfilehost.com/?fid=24269982087017854​
[Moto G 4G Android Development] Skire90:
Thanks once again lost101, you're the best! Works like a charm :)
[Moto G 4G Android Development] meekrawb:
Works great, thanks [MENTION=1006674]lost101[/MENTION]
[Moto G 4G Android Development] cpvm:
I just delete it.
[Moto G 4G Android Development] sdembiske:
Stagefright patch works on Fido xt1040 stock 5.1

Flashed on Fido XT1040 stock 5.1 and seems to work perfectly - Stagefright Detector now shows as not vulnerable where previously was showing two vulnerabilities. Had not received the patch from Motorola/Carrier, so once again my Thanks! for your work. Best Regards.
[Moto G 4G Android Development] lost101:
Here is a test version of the XT1042 US Cellular 5.1 Optimized ROM. Please provide feedback.

https://www.androidfilehost.com/?fid=24340319927534228​

Edit #1: I forgot to include SuperSU. I mainly only want to know if calls / data / wifi works.

Edit #2: New zip uploaded.
[Moto G 4G Android Development] jccz:
Pls can you prepare 5.1 EU Optimized version with all security patches?
[Moto G 4G Android Development] lost101:
The plan is to build a new ROM when a fully patched factory firmware image is available. For now, use Stagefright patch zip linked to above.
[Moto G 4G Android Development] jccz:
OK. Optimized 1.1 + patch linked here = fully patched? I thought Optimized 1.1 is based on older stock untouched (even not partially patched).
[Moto G 4G Android Development] lost101:
The Stagefright flashable zip should fully patch the ROM - test with Stagefright Detector.
[Moto G 4G Android Development] jccz:
OK, i will try (i still use latest 4.x stock for now). Thx for info.
[Moto G 4G Android Development] jccz:
Flashed, thanks for optimized ROM and stagefright security patch.

Still have problem with device encryption (probably boot problem - i had android logo for about 24h).

And there are some other security vulnerabilities. VTS for android shows: 2015-6608, 2015-1528, 2015-3825. Two latter are patched by stock 23.26.3.en.EU.
[Moto G 4G Android Development] lost101:
I've added the following to post #2:

Bugs:

When flashing, I get the following: "E:Error executing updater binary in zip"

This is a custom recovery bug. Try restarting recovery and flashing again. Alternatively you may need to format /data. Note: this will delete anything on internal storage - photos, music, videos etc.​
[Moto G 4G Android Development] panchovix:
Oh sorry, my bad, will try now
[Moto G 4G Android Development] Pupet_Master:
I have a couple of questions.

The first is that i know that the original flashs need the stock recovery. The images here can be flash with TWRP?

Other question is if it update for the Lollipop Boot loader too, so when we go back to CM it wont flick the screen as it do now.
[Moto G 4G Android Development] panchovix:
Well, no wifi works and no signal, and im from chile (XT1040), and some laggy animations
[Moto G 4G Android Development] lost101:
EVERYONE: If you flash, please state the ROM (Untouched or Optimized) and your Model.

These zips can only be flashed with a custom recovery

, such as TWRP.

OP states: Each zip contains ROM and Kernel only. Bootloader is not touched.

Do you have the KitKat or Lollipop radio firmware?
[Moto G 4G Android Development] panchovix:
I dont know how to know that, if helps i never installed any official 5.x rom, only roms like cm12, etc
[Moto G 4G Android Development] Xornop:
How to flash 5.1 Lollipop update

Have problems with WiFi, bluetooth, data not working, or can you just not update at all because of any reason?

I flashed Lollipop,

succesfully

, this way:

(can be done from any rom, you will lose all data, however, but this can of course be restored at setup)

0. Have adb and fastboot on your pc, and TWRP recovery (or maybe CWM works too? idk) installed on your phone.

1. Download this (modified by me) zip

2. Fastboot flash 4.4.4 Kitkat from here

3. Go to TWRP recovery and adb push the zip from step 1 to your /sdcard

4. Flash the zip in TWRP recovery (Maybe CWM works too? idk)

5. Fastboot flash the xt1039 5.1 radio from here

6. Reboot and enjoy! First boot may take a while (10 minutes max)

By the way, this is for EU RETAIL XT1039 ONLY
[Moto G 4G Android Development] lost101:
Okay, it can be assumed you have the Radio Firmware that came with KitKat. I provided links and information above regarding how to flash the XT1040 Lollipop Radio Firmware: http://xdaforums.com/showpost.php?p=61569593&postcount=58
[Moto G 4G Android Development] lost101:
I guess that confirms it. These ROMs require the Lollipop Radio Firmware. Thanks for the info.
[Moto G 4G Android Development] Pupet_Master:
Thanks M8.

Is there any chance of capture the bootloader only to push via fastboot?
[Moto G 4G Android Development] lost101:
This utility also supports XT1039 and XT1040.

http://xdaforums.com/moto-g/development/falcon-bootloader-upgrader-tool-t3093793​
[Moto G 4G Android Development] cpvm:
I am not sure if xt1040 radio will work on a xt1045, but I investigate and found that the only difference between the xt1040 and xt1045 are only one band.

But anybody know what is "cid "? because is the only difference between the firmwares.

I was thinking to flash Brazilian xt1040 cid 12 lollipop to my xt1045 amxpe cid 12

Enviado desde mi XT1045 mediante Tapatalk

---------- Post added at 03:06 PM ---------- Previous post was at 03:03 PM ----------

I have the same problem with animations in KitKat, but I fixed by changing the GPU frequency to 3xx and the governor to power save.

Enviado desde mi XT1045 mediante Tapatalk
[Moto G 4G Android Development] voland34:
help

I flashed optimized spain 5.1 but dialer didn't work properly. I then went to TWRP and wiped again, reinstalled, but nothing changed. Then i read about formatting all data and did that...but ended up formatting averythiong included system! so now i'm stuck at twrp with no rom image to reionstal, and no system to reboot to! How can i reinstall rom? the phone stopped being recognized by my pc so i cant adb sideload rom again...

Thanks
[Moto G 4G Android Development] cpvm:
Our phone has a micro sd, just extract it, connect it to a computer, copy a ROM, put it again in the phone and flash it.

Enviado desde mi XT1045 mediante Tapatalk
[Moto G 4G Android Development] lost101:
Explain exactly what you mean when you say you "formatted all data"? What command and where?
[Moto G 4G Android Development] cpvm:
I think that he has the ROM in the internal storage and then he formated all the phone with twrp (system, cache, internal storage) and he doesn't have anything to flash now.

Enviado desde mi XT1045 mediante Tapatalk
[Moto G 4G Android Development] Pupet_Master:
Nice i wasn't aware of this tool.

Thanks a lot for the indication.
[Moto G 4G Android Development] voland34:
on a XT1039...i went twrp advanced wipe ---> and marked dalvik cache, data, internal storage, cache and system...when i try to reboot it says no OS to reboot to.
[Moto G 4G Android Development] cpvm:
Just copy a ROM to a SD card

Enviado desde mi XT1045 mediante Tapatalk
[Moto G 4G Android Development] lost101:
ADB should still work while in TWRP. Maybe try disable / enable ADB Sideloading.
[Moto G 4G Android Development] oldmanhouse:
I am having trouble with GPS on my XT1039 flashed with the latest optimised 5.1 ROM and Radio. I get a fix on my location (using Copilot GPS app), but there are momentary losses of connectivity which stop the app functioning correctly. As it is a navigation app, it needs a constant connection, but my XT1039 is flicking between having a connection and "determining current position".

I have tried the GPS fix ZIP, GPS fix app, and doing the two fastboot erase commands. What else can I do to troubleshoot?
[Moto G 4G Android Development] lost101:
You could also try GPS Status as a fix.

It could be app related, and / or /data related. Try an alternative app such as Here.

Ultimately you may have to format /data - TWRP > Format Data > Yes and reflash ROM.
[Moto G 4G Android Development] oldmanhouse:
Thanks, I think I've fixed it but will have to do a road test tomorrow. The app I am using is Copilot, and on the GPS settings there is a "Use NMEA" option which I unchecked and it now appears to be working. I now have a persistent "3D GPS Fix Acquired" message rather than it flicking between that and the "Determining current position" message.
[Moto G 4G Android Development] rodsayd:
[MENTION=1006674]lost101[/MENTION] can you make a flashable zip for https://www.androidfilehost.com/?fid=24052804347826863 (Latin America Retail). The Brasil retail has some apps in portuguese that didn't come in the Latin America. If it's not much problem, I didn't found it in OP
[Moto G 4G Android Development] lost101:
Okay. I will try to add the ROMs soon.
[Moto G 4G Android Development] minimale_ldz:
[MENTION=1006674]lost101[/MENTION] - Hi, I'm using your optimized retail EU ROM on a daily basis for some time now and it's wonderful. Just have one issue - pretty much every time I'm in a settings menu I'm getting message saying "Unfortunately Launcher3 has stopped" which is weird to me as I'm using Lightning Launcher. Would uninstalling Launcher3 solve the issue, is it OK to remove it (Titanium says it's a system app and removing it may cause problems, I guess it's just a standard message, but still)?

Thanks
[Moto G 4G Android Development] lost101:
Yes, remove it.
[Moto G 4G Android Development] rodsayd:
[MENTION=1006674]lost101[/MENTION] I see you uploaded the Retail LAT ROM, thank you very much for your effort.
[Moto G 4G Android Development] lost101:
XT1040 Retail Latin America Stock 5.1 (Optimized) v1.0 is now available. Also available is the (Untouched) version here.

Changelog:

Updated: Google Calender | Clock | Dialer | Messenger | Play Store

Replaced: Motorola Gallery with Piktures​
[Moto G 4G Android Development] baxtex:
Anyone know if there is a flashable zip containing Stock 5.1 kernel?
[Moto G 4G Android Development] pan05:
Maybe try this:

http://xdaforums.com/moto-g/4g-deve...grine-moto-t2991006/post61704952#post61704952
[Moto G 4G Android Development] gen_scheisskopf:
Make one yourself:

-download custom kernel zip package

-download stock firmware

-replace files in the custom kernel zip with the ones from stock firmware excluding META-INF folder (leave it as is)

-make a backup, flash kernel
[Moto G 4G Android Development] Kong2000:
Just received OTA update for XT1039 to 23.26.6 with latest stagefright patches and radio fw bugfix. Zimperium stagefright detector shows "not vulnerable" now.
[Moto G 4G Android Development] Eurofighter_ty:
In about phone says Android Security Patch Level or something like that ? It's strange to Motorola updating their phones...

Can anybody capture the OTA ?
[Moto G 4G Android Development] sevenrock:
They even announced the update ;)

https://forums.motorola.com/comment/1022984
[Moto G 4G Android Development] Eurofighter_ty:
It would be more useful that update if they update it to January 2016 patch level :)
[Moto G 4G Android Development] baxtex:
https://plus.google.com/+DavidSchuster/posts/WJTSyywqYeW

So we will be getting MM?!
[Moto G 4G Android Development] lost101:
The 2014 Moto G LTE referred to is the 'Thea' handset, not 'Peregrine': http://xdaforums.com/moto-g-lte
[Moto G 4G Android Development] Sparks9876:
Anybody know if the op link for the xt1039 eu version is the latest which contains the no calls when on 4g fix, should be 23.26.6 ??, the changelog lower down does not say anything and as its a very new update from moto I would like to know if its the original 23.26.3 version which has the bug.

---------- Post added at 09:10 PM ---------- Previous post was at 08:57 PM ----------

Ok scrap the last post, the download is an older one.

like the post quoted here it would be good of someone to post the newest 511 with the bugfix, thank you in advance.
[Moto G 4G Android Development] rodsayd:
[MENTION=1006674]lost101[/MENTION] I just flashed Optimized version Latin America and google keyboard is giving FC, can't pass the setup wizard. I think the keyboard is not installed properly (did a clean flash of course).
[Moto G 4G Android Development] Jeconias Santos:
My device this in a way that did not pass the "Warning unlocked" even to establish itself stock or custom rom. I tried to install this your zip with TWRP and I received direct error, then managed to install via CWM, just Rom, since the radio was via fastboot, it gave error in TWRP and CWM. I can not install more stock nor custom on my device, just stay with your Rom.

I can install custom kernel made to stock?

His work is excellent! I hope to see in MM. :D
[Moto G 4G Android Development] lost101:
I'm aware of this and will fix it as soon as I can.

You are not following the flashing instructions in first post. They must be followed exactly.
[Moto G 4G Android Development] rodsayd:
Don't worry, I have no hurry. I was just pointing out for you to know, thank you.
[Moto G 4G Android Development] jccz:
Info from my EU friend - update 23.26.6.en.EU is in the air:

Stagefright Detector - not vulnerable

VTS - device is secure (tests: 25; failed tests: 0)
[Moto G 4G Android Development] mizi_:
The 23.26.6 retgb.retgball.en.GB version is available? I would go back from cm to stock. I have the missing call on LTE problem.

Inviato dal mio Amazon Tate utilizzando Tapatalk
[Moto G 4G Android Development] lost101:
XT1040 Retail Latin America Stock 5.1 (Optimized) ROM v1.0a is now available.

Changelog:

Fixed: Google Keyboard FC

Updated: Play Store​
[Moto G 4G Android Development] redavenger:
i find the launcher3 crashing .

also dont really like the white background color of the app window. can that be changed to black?

i would prefer to have the motorola gallery app installed. as stated it does crash when restarting the phone.

also i would have preferred the stock messanging program instead of the google messenger.

its not bad, but if your going to leave it stock, you should leave all the apps and settings stock.

but yeah..going to give it a test and see how it goes
[Moto G 4G Android Development] minimale_ldz:
[MENTION=1006674]lost101[/MENTION]

I was testing CM 12.1 for a week, but returned to optimized EU rom, as CM has some serious wifi issues (including rebooting the system after turning wifi off today). I pushed debloating your optimized rom a little further and disabled the following:

- launcher3 (removed completely as I'm using other launcher and l3 was giving me random 'stopped' messages),

- Android live wallpaper (I don't use them) + Bubbles, Music visualisation wallpaper and Phase beam,

- Basic daydreams,

- Browser message,

- com.android.wallpaper.holospiral (I guess it's just another wallpaper),

- Downloads and Download manager (I use ES explorer anyway. Please note: Play Store won't work without Download manager),

- Email and Exchange services (don't use either),

- Google one time init (not sure about this one but googled it's safe to disable),

- Market feedback Agent (same as above),

- Motorola contextual services (Motorola spying stuff),

- Motorola one time init (same as google one time init?),

- Motorola services (don't need any),

- photo screensavers,

- photos,

- sound recorder,

- trusted face.

I hope the system will remain stable after that. I've got an impression disabling all of it gave some 30 MB of extra RAM, but it could as well be due to a recent reboot. I'll report any issues if they appear.
[Moto G 4G Android Development] lost101:
If you ask nicely, I can add a flashable zip of Stock Messenger to OP.

Including Stock Launcher also means including Google Search (Velvet) - this will considerably increase the size of the ROM zip with little benefit as both will probably require an immediate update upon Google Play login. I chose Trebuchet (CyanogenMOD's launcher) to have a small, basic, functional launcher included. Anyone who cares enough to find it's limitations can easily move on to another launcher.
[Moto G 4G Android Development] redavenger:
pretty please. :P

its all good tough...giving the rom a test. seems good so far. definitely notice the change from stock.
[Moto G 4G Android Development] minimale_ldz:
I updated my list. First issue I found is that you can't use Play Store without Download manager enabled, which is bad and not-so-bad at the same time as I'm trying to set my device to work without a google account (privacy issues). First problem is that optimized rom makes initial setup pretty much impossible without using Play Store as it doesn't contain any web browser nor file explorer that you can use to download/sideload apps you need. I found a way around it (turning ES file explorer apk into flashable zip), but need more time to test it.

EDIT: After all my flashable zips didn't work as I expected. After flashing ES file explorer I could see the folders and files in the system, but the app itself didn't appear in app drawer and I couldn't use it. It was also missing from app list in Settings, but I was creating zips with some app that is "in early stage of developement", so I guess I just experienced how much there is still to develop. I went the other way now and messed with your rom a little and added couple of apps directly to it. I hope you don't mind me doing it for my private purposes. I'll report any issues if they appear.
[Moto G 4G Android Development] chk_xiii:
Can I dirty flash this over the previous optimized version or do I need to make a clean install?
[Moto G 4G Android Development] lost101:
You can try dirty, but a clean install is recommended.
[Moto G 4G Android Development] lost101:
New files added to OP 'Miscellaneous' section: (Files are from XT1045 Firmware, however should work with any model)

Stock 5.1 Dialer | Messenger (All models) (Clear Dalvik Cache after flashing)​
[Moto G 4G Android Development] redavenger:
i have noticed the launcher crashes when you switch back to the messenger program at times.

also i installed the dialer and messenging from recovery and now both dont work. they crash when opened or when android starts
[Moto G 4G Android Development] lost101:
What model are you? Did you wipe 'Dalvik Cache' after flashing? Can you try a new launcher?
[Moto G 4G Android Development] redavenger:
i have xt1039

yep cleared the cache twice

also before installing the dialer/messeging, do i need to have root access, because i had root access removed when i tried to install it.?
[Moto G 4G Android Development] lost101:
Just to be clear. The zips are to be flashed in custom recovery (e.g TWRP) - nothing else is required. Android can be rooted or unrooted - it's irrelevant.

1) Flash zip and clear Davlik Cache in custom recovery.

2) Reboot into Android.​