yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Q&A, Help & Troubleshooting] Ed Murray:
Thanks for trying. I had a feeling it may not be possible without the missing IR sensor. I was hoping there was a workaround though but it sounds like maybe not.
[Nexus 6 Q&A, Help & Troubleshooting] Gundabolu SC:
I have a Moto Maxx and a Nexus 6, just outa curiosity flashed the Moto X Pro image on my Moto Maxx and it booted! Camera Wifi and many other things never worked though! :eek:

Moto Maxx though very identical to Nexus 6 cannot boot Nexus roms, guess its the same reason why Moto X pro roms dont boot on Nexus 6! :(

---------- Post added at 10:26 PM ---------- Previous post was at 10:25 PM ----------

Didnt the previous gen Nexus devices have active display without IR sensors? :fingers-crossed:
[Nexus 6 Q&A, Help & Troubleshooting] danarama:
No nexus has ever had active display.
[Nexus 6 Q&A, Help & Troubleshooting] Gundabolu SC:
Sorry Sorry meant so say the previous gen Moto Devices! :)
[Nexus 6 Q&A, Help & Troubleshooting] knitler:
The 2013 X and Moto G/E do not have IR sensors.
[Nexus 6 Q&A, Help & Troubleshooting] Bigbear222:
So disappointed this never took off! Wish there was anything I can do to help! If so my hangouts is bearballs22@Gmail.com and I have a small knowledge of the related things! Anything I can do at all!
[Nexus 6 Q&A, Help & Troubleshooting] legofan623:
...Still nothing? I'm going nuts trying to find a way to record 60+fps video and I'm wondering if this could be the key.
[Nexus 6 Q&A, Help & Troubleshooting] p.m.6:
Hey Friends.

Happy new year.

I have a bricked moto x pro and need hex or mbn partition files.it is in qdloader 9008.Please please please Help me.
[Nexus 6 Q&A, Help & Troubleshooting] legofan623:
Google Drive link is dead ;( .
[Nexus 6 Q&A, Help & Troubleshooting] p.m.6:
I could unbrick this phone and I have that system.zip file but din not help me.My phone stuck on a locked fastboot mode with no android system to check allow oem unlock!! If developers can help me please contact here or by email.

Thanks
[Nexus 6 Q&A, Help & Troubleshooting] Vivjen:
bit.ly/1pivqmi ROM reuploaded
[Nexus 6 Q&A, Help & Troubleshooting] Azlun:
So, i guess you can not flash/boot recovery with TWRP,also can not flash system by fastboot, maybe you may try moto RSD lite, not sure, Google it.
[Nexus 6 Q&A, Help & Troubleshooting] Q9Nap:
Sorry to raise this thread from the dead, but getting moto x pro firmware running on nexus 6 is something I've been wanting to do for awhile. Why? Just to say I could, I guess, lol.

I made a flashable zip of boot and system using superr's kitchen, and it flashes ok, but it hangs on the bootlogo, which flashes repeatedly.

This is actually a positive sign, since if it was totally incompatible, it would auto reboot to recovery.

I'm not sure why it won't fully boot; someone mentioned something about system ril code earlier in this thread, maybe /system/etc/motorola/qcril.db?

As for the radio, it does not work due to the modem partition not being large enough.

I don't think that flashing the x pro radio should be necessary, though; boot and system should be all that is needed, I think.
[Nexus 6 Q&A, Help & Troubleshooting] Azlun:
great to see you are back，you can flash a depair kernel ovrriding offical kernel，and flash the system image I make，I believe you can make call and use 4g，there are still many other bugs such as

Bluetooth and NFC.
[Nexus 6 Q&A, Help & Troubleshooting] Azlun:
Check despair kernel info in attched，I am replying on my Nexus6 running moto x pro LXG22 system with NFC file removed as I done on uploaded packet months ago in this thread.
[Nexus 6 Q&A, Help & Troubleshooting] Q9Nap:
I read through this thread entirely, not sure how I missed so much info the first time around; I wasn't aware that anyone got it "working".

After reading about everything that doesn't work due to non-existent sensors and/or kernel content, there just isn't much reason, for me anyway, to bother trying.

As for NFC issues, you may be able to resolve them by flashing ONLY the fsg (aka mdm1m9kefs3) partition from the retcn radio image.

I extracted it and put it in a flashable zip if you want to try it, see attachment :)

It could potentially fix other issues as well.

If it doesn't work, you can easily revert to any stock radio you're using from here:

http://xdaforums.com/nexus-6/develo...e-fastboot-t3066052/post59728002#post59728002

Thanks for all your hard work on trying to get this working, btw!

*Edit*

I got bored and decided to try flashing; the fsg didn't do anything to help, so I removed the attachment.
[Nexus 6 Q&A, Help & Troubleshooting] Azlun:
I have tried to locate where is the problem, I think the problem is come from our kernel we used is for NEXUS6,but system request kernel to implement api for MOTO X Pro,

so to merge NEXUS6 Kernel with MOTO X Pro kernel addtional components is what we need to step forward.
[Nexus 6 Q&A, Help & Troubleshooting] Q9Nap:
That's kinda what I was thinking, but that task is above my paygrade...
[Nexus 6 Q&A, Help & Troubleshooting] soarer925@gmail.com:
Hello xda

I have been trying to put the nexus 6 ROM on a moto x pro because I could not find motoxpro ROM. Its not working can't unlock dam bootloader. Every time phone reboot to fastboot bootloader lock back. Also software on the phone is not moto x pro its a windows 3.1 looking with a camera testing program. If its possible can someone direct me to moto x pro ROM the links in the beginning of this tread do not work anymore. Will try again to unlock bootloader later.
[Nexus 6 Q&A, Help & Troubleshooting] Q9Nap:
Sounds like you have the 4.4.4 factory firmware installed currently. Did you receive the device with that firmware on it?

I have the 4.4.4 factory firmware for Nexus 6; wondering if this is the same for Moto X Pro.

Would you mind posting the build.prop so I can compare?

You just have to set up adb if you don't already have it set up, then enable adb access from your developer settings.

Then:

adb pull /system/build.prop

If the factory firmware is identical, it may be possible to use it as a base for cross flashing between Moto X Pro and Nexus 6.

Thanks in advance!
[Nexus 6 Q&A, Help & Troubleshooting] tania9423:
hi----all

I need link....

link fail.

tks
[Nexus 6 Q&A, Help & Troubleshooting] blinqipa:
Yeah ,most probably flashing the whole system could yield a brick .But where do both devices differ ? I haven't seen a single different hardware specification differ between both ,except that the Moto X Pro has only one extra sensor (IR sensor afaik) and nothing more nothing less.
[Nexus 6 Q&A, Help & Troubleshooting] Omar1c:
Swoooosh
[Nexus 6 Q&A, Help & Troubleshooting] simms22:
off hand.. the back camera differs, theres no front cam on a moto x pro, bluetooth is slightly different, moto x pro has an fm radio, and the moto x pro is missing a gyroscope and barometer. and they have differing drivers.

http://m.gadgets.ndtv.com/motorola-moto-x-pro-2282-vs-motorola-google-nexus-6-2060

edit.. the info that i got from this link is probably wrong.
[Nexus 6 Q&A, Help & Troubleshooting] blinqipa:
[MENTION=1811927]simms22[/MENTION] you have been misinformed I guess , but above this you can see 2 photos comparing both Motorola Moto X Pro , and Motorola Nexus 6 ,both specifications taken from motorola.com(.cn) .Bluetooth , Front camera , rear camera , dunno about FM Radio , gyroscope is also present on Moto X Pro as Nexus 6 , and all of these are IDENTICAL.
[Nexus 6 Q&A, Help & Troubleshooting] simms22:
everything i wrote was taken off that site i linked :angel:
[Nexus 6 Q&A, Help & Troubleshooting] blinqipa:
I haven't had a look on the website ,but I know that it had been misconstruing the actual specs of Moto X Pro since pre-release of the device .But officials say what's true .
[Nexus 6 Q&A, Help & Troubleshooting] doitright:
FWIW: Nexus 6 *does* have an FM radio. All qualcomm SoC's have them. The only question is whether or not there is an antenna wired up to it.

More interesting than the motorola applications (which don't do anything you can't do with aosp and boil down to the unsubstantiated belief that they do something "better"), would be whether the moto x has code (kernel) for led hwblink.
[Nexus 6 Q&A, Help & Troubleshooting] knitler:
I have a spare Nexus 6 running 5.1 right now that I can happily flash around and test on if it would help any.
[Nexus 6 Q&A, Help & Troubleshooting] USA-RedDragon:
I'm handy if you want me to
[Nexus 6 Q&A, Help & Troubleshooting] Murrda:
You don't ever want to fastboot any image that is not intended specifically for your device.. A the system.img will contain code for the RIL and that code will only work for the radio.img's that are for the Pro and if you were to fastboot a radio.img that isn't for the Nexus 6 that is a 100% guarantee brick... Done deal! The only possible way to get any part of the Pro to work would be apps via sideloading the apk's or making a flashable zip of the system image. Does anyone know if they use that same mount points? Mount points would be how each individual partition is laid out upon boot of the ROM in its entirety. If anyone had the device we would could cat/proc it and pull all the partitions via adb or can get some of them through an updater script if there are any ROMs out for the pro yet whether it's AOSP or stock, it just needs to be a ROM that would be installed through a custom recovery....
[Nexus 6 Q&A, Help & Troubleshooting] blinqipa:
Yeah swoosh . Why would you flash a factory image not intended for your phone?
[Nexus 6 Q&A, Help & Troubleshooting] danarama:
Why do you keep saying that?
[Nexus 6 Q&A, Help & Troubleshooting] blinqipa:
He once wanted to flash the factory images ,because his Nexus 6's screen was smashed and wanted to RMA it .So when he saw that it could brick ,he used the work swoosh ,meaning he abandoned the attempt to do it .Dunno why he used it the second time ,when he already knew the brick situation since the first time .
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
That's the sound of his Nexus 6 being flushed down the toilet. Sometimes it takes two flushes?
[Nexus 6 Q&A, Help & Troubleshooting] danarama:
So he's made up his own pseudo-language?
[Nexus 6 Q&A, Help & Troubleshooting] blinqipa:
Probably.
[Nexus 6 Q&A, Help & Troubleshooting] blinqipa:
Another thing worth to bring up here is that both devices have same codename , shamu(nexus 6) /// shamu_retcn(MotoXPro) .

"The Moto X Pro's codename is also Shamu ,as Nexus 6 ,just a "_retcn" added to the end . Shamu_retcn ,Shamu-Nexus 6 , ret-Retail , cn-China (not sure what ret means , but the only explanation I can give is retail)"
[Nexus 6 Q&A, Help & Troubleshooting] blinqipa:
Guys I tried and put my hands on dsixda's kitchen .It created the long-needed Updater-script along with updater-binary ,but it fails flashing on TWRP .Any help what might cause it on update-binary?
[Nexus 6 Q&A, Help & Troubleshooting] Omar1c:
I say swoosh because its common sense that it will happen and there's no reason to remind everyone you don't need to be the omochao of xda and my nexus 6 is definitely in the sewer tunnels by now
[Nexus 6 Q&A, Help & Troubleshooting] danarama:
That what will happen? What does "swooosh" even mean?

...and just to point out what you think is common sense is not necessarily so common and shared with everyone. Every day someone bricks a device by doing something they shouldn't so things need to be pointed out over and over.
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
There are two sticky threads about not relocking bootloader on 5.1 or you risk bricking your device. And I swear that I've seen at least 2 dozen "please help me" posts from people who've done just that. I think the N6 forum needs an omochao. ;)
[Nexus 6 Q&A, Help & Troubleshooting] Omar1c:
Yep you are right anyways I've managed to deodex moto camera and moto gallery I'll keep deodexing .
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
That is indeed good news.
[Nexus 6 Q&A, Help & Troubleshooting] blinqipa:
Have you found which libraries are needed for them to be installed?
[Nexus 6 Q&A, Help & Troubleshooting] doitright:
I see a whole bunch of assumption in there, and no fact.

Assumption 1: That the motoxpro system image is incompatible with the nexus6 radio. Until someone tries, there is no proof of this.

Assumption 2: That the motoxpro radio will brick a nexus 6. Again, no proof of this.

In fact, since the hardware is *the same*, a more reasonable assumption is that the motoxpro radio is TOTALLY compatible with a nexus 6.

Now here is the thing about radio/bootloader; THEY ARE NOT THE SAME.

I can almost guarantee that you can install the motoxpro radio on a nexus 6 without problem.

What I strongly suggest, is that you do NOT install the motoxpro BOOTLOADER, since this WILL lock you down and take away all the unlocked nexus goodness.
[Nexus 6 Q&A, Help & Troubleshooting] dhruvmalik:
I see the Moto X Pro has Band 40 (LTE) - Which our N6 doesnt.

Wonder if we could get the Modem from the Moto X Pro to perhaps enable it?

Band 40 is LTE in India and it would be pretty cool to get it working here.
[Nexus 6 Q&A, Help & Troubleshooting] exb0:
okay how about... everyone stop speculating until someone is willing to risk their nexus 6 to flash motox files.
[Nexus 6 Q&A, Help & Troubleshooting] knitler:
I've already tried flashing a lot of stuff, All I got was a Google boot loop.

If anyone has things they specifically want me to try just post it up and I'll try when I get home tonight.
[Nexus 6 Q&A, Help & Troubleshooting] blinqipa:
Well can you risk your Nexus 6?
[Nexus 6 Q&A, Help & Troubleshooting] knitler:
Yup, its a spare I have, so no big deal if it gets bricked. Though I prefer it don't get permanently bricked if possible. :P
[Nexus 6 Q&A, Help & Troubleshooting] blinqipa:
Do you have any Google account so I could contact you on Hangouts ?
[Nexus 6 Q&A, Help & Troubleshooting] KnifeSkills:
deodexed system zip
[Nexus 6 Q&A, Help & Troubleshooting] USA-RedDragon:
[MENTION=4790327]blinqipa[/MENTION] Have you figured out how to see what shared libraries the moto apks are using?
[Nexus 6 Q&A, Help & Troubleshooting] Omar1c:
Wonderful I'll jump on this soon
[Nexus 6 Q&A, Help & Troubleshooting] hsomnus:
I'll have a 2nd device next week for development and random flashing...let me know how I can help
[Nexus 6 Q&A, Help & Troubleshooting] knitler:
Just got home from work, yes I do. kschweri@gmail.com Just note me links to anything you want me to flash/test and when I'm not at work I'll test it all.
[Nexus 6 Q&A, Help & Troubleshooting] DespairFactor:
Why are we trying to make a ROM instead of getting the libs/apks and making a flashable zip of the desired applications?
[Nexus 6 Q&A, Help & Troubleshooting] MichaelMcEntire:
That would be awesome and I know many would be grateful for that if you have any ideas.
[Nexus 6 Q&A, Help & Troubleshooting] DespairFactor:
I can try to help if we get these apps out of the image, I just am not home right now, I won't be home until 9 hours from now and I need to sleep when I get home. If anyone is able to work with me they can hit me up on hangouts matthewdalex92@gmail.com
[Nexus 6 Q&A, Help & Troubleshooting] _Dennis_:
I think they said they are trying to work backwards. Get a ROM then breakout the files for each app. This allows them to get the most for their work so to speak, get everything 'working' then figure out what is needed for what specific app.
[Nexus 6 Q&A, Help & Troubleshooting] KnifeSkills:
Haha I think we just dont know what we're doing.

So far I've deodexed the system.zip, pulled the Moto apks and decompiled them, looked at each AndroidManifest.xml and took note of each permission and library theyre using to try and understand what else they need to run properly. Now I'm looking through the /system/lib and /system/framework of the Moto X Pro for .so and .jar files with similar names.

Heres the .txt file I made to reference the permissions and libraries used by each app. I'm not sure if the permissions are even important but the <uses-library> tag in the AndroidManifest.xml of each apk is leading me to files with the same names.
[Nexus 6 Q&A, Help & Troubleshooting] Omar1c:
Well I ported moto voice but unfortunately I don't understand Chinese so even if we did port the entire software , we wouldn't be able to use the feature also I would like to add that moto display is causing fc on launch so I would have to look into that. Moto gallery and moto camera work fine

Moto email works fine
[Nexus 6 Q&A, Help & Troubleshooting] blinqipa:
This means progress ?

How did you get it open (working) , which libs did you use , and which libs did you use for the moto camera and gallery?

By the way can you use the Motovoice apk from the Moto X 2014 which supports English ,but with the libraries of Moto X Pro?
[Nexus 6 Q&A, Help & Troubleshooting] joderme:
Got this far with the help of [MENTION=1415579]adrynalyne[/MENTION].

He packed the system files into a TWRP flashable package, however, the boot.img from the Moto X Pro dump results in a Google screen bootloop.

Flashing the boot.img from the Nexus 6 allows the phone to get past the Google screen and on the the Moto boot screen, however, it doesn't make it past this.
[Nexus 6 Q&A, Help & Troubleshooting] blinqipa:
I see .Good ,though I couldn't even get into that bootanimation of Motorola ,any logs?
[Nexus 6 Q&A, Help & Troubleshooting] joderme:
I don't know of any way to get logs. I tried adb logcat, however, it never got that far into booting. Any other ideas?

I am wondering what the bootloader might play in all of this? Anyone know if the Moto X Pro bootloader is unlockable?
[Nexus 6 Q&A, Help & Troubleshooting] KnifeSkills:
Moto X Pro bootloader is unlockable, at least according to the chinese forums. And try ddms for logs, its in the tools folder of the sdk.

---------- Post added at 07:49 AM ---------- Previous post was at 07:44 AM ----------

For camera and gallery, just push the /system/priv-app/MotCamera and MotGallery2 folders to your phone in same location /system/priv-app and reboot.
[Nexus 6 Q&A, Help & Troubleshooting] platynumx:
Doesn't work for me.
[Nexus 6 Q&A, Help & Troubleshooting] KnifeSkills:
Doesnt work how? Wont install? files wont copy? In general on forums like these you need to provide more info for anyone to be able to help you.

What rom are you on? Did you use the deodexed system zip? Did you check permissions? send a screenshot of what your /system/priv-app/MotCamera and MotGallery2 look like in ES file explorer or whatever file explorer youre using.

Im actually testing on Euphoria rom right now, maybe I should be on stock rooted to test this stuff better.
[Nexus 6 Q&A, Help & Troubleshooting] platynumx:
Stock (rooted)lmy47i build.no. yes.

Moving there files they don't show up in launcher. Trying to install them gives a parsing error. Am i trying this with the wrong set of files?
[Nexus 6 Q&A, Help & Troubleshooting] Ajs1992:
Did you push the files with the write permissions, and did they copy over correctly? I couldn't get them in /priv-app/ correctly without using adb push.

Both applications work for me. Gallery editing does not work, but I believe that just relies on a single library file or something. Just like regular Gallery2.
[Nexus 6 Q&A, Help & Troubleshooting] coldheater:
any luck? I can test it for you as well.
[Nexus 6 Q&A, Help & Troubleshooting] adrynalyne:
ddms just runs off of adb. If the device doesnt boot far enough for adbd to activate, you cannot get logs in that manner.

I'll have more time this weekend to look at it. I can't have downtime on my phone during the week because I am on call.
[Nexus 6 Q&A, Help & Troubleshooting] KnifeSkills:
Trying to debug editing an image in gallery:

FATAL EXCEPTION: main

Process: com.android.gallery3d, PID: 5885

java.lang.UnsatisfiedLinkError: dlopen failed: "/system/priv-app/MotGallery2/lib/arm/libjni_android_filtershow_filters.so" has bad ELF magic
[Nexus 6 Q&A, Help & Troubleshooting] platynumx:
Can't believe I missed the deodexed files. Downloaded moved fixed permissions and camera and gallery are working. Good job!
[Nexus 6 Q&A, Help & Troubleshooting] Gundabolu SC:
I Could get the Moto App working along with Gallery and Assist.... Double twist to take pic shows up but nothing happens... Moto Display Force Closes On me... And I went ahead and made a zip n flashed the whole system and the boot IMG... But there is some issue with the kernel on the Nexus 6 I guess cuz it keeps going back to the google Screen... Maybe some Dev can take a look at it... I hope someone can get this working!? :)
[Nexus 6 Q&A, Help & Troubleshooting] Omar1c:
Did he do any build.prop changes to the moto x pros build .prop to match that of a nexus 6?
[Nexus 6 Q&A, Help & Troubleshooting] Gundabolu SC:
There is no need for any builprop edits as we are flashing the entire system and boot.... Cuz both devices are the same... Its something to do with the boot.img there is something seriously wrong but I am pretty sure someone who understands Kernels can do something about it... :)
[Nexus 6 Q&A, Help & Troubleshooting] apristel:
What did you need to make moto assist work? I'd love to try that.

What apk would be the one for the "Hey Moto" feature? That is Moto Assist right?

Thanks and great work.
[Nexus 6 Q&A, Help & Troubleshooting] knitler:
That's the Moto App. Not the same as Assist.
[Nexus 6 Q&A, Help & Troubleshooting] apristel:
OK! I moved the moto.apk app over to priv-app in a Moto folder, set both permissions correctly but i get "Moto is not compatible with this device"

build.prop edit to make it work or am I missing something?
[Nexus 6 Q&A, Help & Troubleshooting] knitler:
Yeah, missing the fact that no one has gotten that to work yet. :silly:
[Nexus 6 Q&A, Help & Troubleshooting] blinqipa:
Can you upload the whole flashable package you made ?

And for your info guys , we've been discussing this situation with Matthew A. ever since he gave me his email .For the better , he said that everything could be a lot easier if we only got the files , libraries , apps we need ,collect all of them and make a flashable .zip , and this , I think is the most logical way we could ever try .So if anyone , especially [MENTION=1415579]adrynalyne[/MENTION] could help us making a flashable .zip sooner ,would be better .Why is this way more logical than flashing the whole system package ? According to Matthew ,it is obviously stupid to flash a system package which was not meant for your device , and I accept with this one .It'd be lot easier to install the files we need , and a lot easier to debug them on a working ROM ,then trying to make a ROM work first and then messing up with all the apps that don't work.
[Nexus 6 Q&A, Help & Troubleshooting] KnifeSkills:
We know, we have the files, libraries, and apps...we have them odexed and deodexed...we just need to know which ones to use and if there needs to be any modification done to any of it. We have multiple people already trying different combinations of apps with different libraries, frameworks etc. We need someone who has successfully done this before to help tell us everything we need and help decipher log messages.
[Nexus 6 Q&A, Help & Troubleshooting] Gundabolu SC:
The thing with such features is that they are built deep into the framework so its not as easy as to get a flasable zip.... We need the whole system with boot!!
[Nexus 6 Q&A, Help & Troubleshooting] blinqipa:
Well since Motorola makes its ROM(OS) with minor changes from the original Android UI, it's going to be easier to port the features even though some things from the framework differs. Again ,it's easier to port the features on a working ROM ,than to make a whole package which by any means does not run in your phone ,because of the fact that it was not built for your phone.
[Nexus 6 Q&A, Help & Troubleshooting] Smallsmx3:
How's the camera app compared to the Google app and the pictures they produce? Better or the same? Does the camera app work better?
[Nexus 6 Q&A, Help & Troubleshooting] adrynalyne:
Yeah I can upload it tonight. Its nothing special, I just have a working installer right now with no other changes. I was going to look at it this weekend but family has eaten up the entire two days. [MENTION=2653446]joderme[/MENTION] tested some ramdisk changes I made during lunch at work but it didn't have positive results.