yashsingh1/xdaforums huggingface dataset:
[Moto Maxx Original Android Development] Gambler_BE:
Damn, flashing 10/17 didn't work for me. I just tried flashing the 10/20 now, but same thing, just stuck at the pulsating cyanogenmod logo. Do any of the devs here have any ideas? I know wiping and flashing will probably work, but I would really like to preserve my data.

Otherwise, would it be possible to just backup data in recovery, and restore this afterwards?
[Moto Maxx Original Android Development] ChazzMatt:
Do you have a backup you can restore?
[Moto Maxx Original Android Development] maximuscesar:
Sometimes I get problems like that so here is what I do: I boot in TWRP recovery and wipe cache; then I boot into CM recovery, wipe cache again and flash the zip again (I'd go with the 10/20). Also, my phone is a Brazilian Moto Maxx, which is yours?
[Moto Maxx Original Android Development] Gambler_BE:
Sadly, I do not. I just backed up my data partition using TWRP now. I guess if all else fails, I can try wiping, reflashing, and then maybe restore the data partition only?

Hmmm, probably stupid question, but how do you boot into CM recovery if you have TWRP? You just launch it from fastboot without actually flashing it? (I remember this is possible, although it's been a while since I actually used it).
[Moto Maxx Original Android Development] mirdones:
Have you tried using an older zip?

I went back to 14/10/2015 and all went smooth.
[Moto Maxx Original Android Development] maximuscesar:
Yes. You need to have the IMG recovery file for CM, then you boot into it with the command "fastboot.exe boot recovery.img". I personally prefer to leave the CM recovery as the default (ticking "update CM recovery in the developer options") and booting directly into TWRP when I need it because in the past I've had problems wiping the cache from TWRP.
[Moto Maxx Original Android Development] Gambler_BE:
I tried going back to 10/17 but that didn't work either.

Ok thanks, looks like that didn't work either though sadly :/ This is what I get when I wipe cache in CWM

Can I download just the older kernel people were mentioning? Or can I extract it from the full zip?
[Moto Maxx Original Android Development] maximuscesar:
I've seen this before: wipe the cache, reboot and try again.
[Moto Maxx Original Android Development] Gambler_BE:
This is what I get when wiping cache in CWM. Or do you mean wipe cache in TWRP?
[Moto Maxx Original Android Development] ChazzMatt:
Are you able to sideload a kernel?

I re-flashed baybutcher27's kernel in recovery yesterday before rebooting the Oct 19 nightly, so guess I got lucky because I replaced the kernel. (Just like I always re-flash the boot animation I like and the Moto Camera and Gallery package).

I have a bunch of the kernel options turned off, so it's basically stock... But I like having the Westwood TCP Congestion algorithm (which is not stock). And I do have read-ahead set to 1024kB. I keep stock MPDecision, stock Core control, Noop I/O scheduler.

http://xdaforums.com/moto-maxx/development/kernel-bhb27-kernel-t3207526
[Moto Maxx Original Android Development] Skrilax_CZ:
I've just reset kernel back to 3.10.87 ( [MENTION=5747496]baybutcher27[/MENTION] I did force push to the kernel repo), so all should be fine with 10/21 nightly. It booted fine on my phone. Meanwhile Motorola released the 5.1 kernel sources at last, so next steps will be to update the proprietaries and rebase the kernel (so for some time we'll go back to 3.10.40 to see if it's stable before updating it all the way up to 3.10.87). I'll check for the issue with 3.10.90 later, hopefully my MAXX by then will have the bootloop as you do so I can diagnose it.

[MENTION=5747496]baybutcher27[/MENTION] can you still let me know whether 3.10.88 or 3.10.89 worked for you? Thanks, we'll run into this eventually later.
[Moto Maxx Original Android Development] maximuscesar:
Ok, now reboot into TWRP and wipe your cache through it. Then reboot into CM recovery and try to install the 10/17 (the 10/20 is stuck in "starting apps" just as before).
[Moto Maxx Original Android Development] ChazzMatt:
FINALLY? After almost 4 months?
[Moto Maxx Original Android Development] Gambler_BE:
I can reach twrp fine, so I can adb push stuff to my sd card to flash it. I actually tried flashing baybutcher27's kernel but that didn't work either. I'l try it one more time with each rom, don't know if I tried his kernel with 17 or 20.

Thanks, but that gives me the following error. Looks like maybe there's more going on than I thought at first?

EDIT:

Just noticed that wiping cache in TWRP also throws the error "unable to mount '/cache' and "failed to wipe dalvik".
[Moto Maxx Original Android Development] colthars:
i'm stuck on "android is starting" screen.... have flashed and tried 20/10, 17/10 and 15/10 zips. have done the factory format in twrp. any more ideas? :(
[Moto Maxx Original Android Development] ChazzMatt:
This may not be the issue, but sometimes when my phone has gotten VERY hot in recovery I've gotten the cache errors. Forcing the phone to turn off for several minutes, putting it in the freezer for a few minutes, then booting back into recovery (volume, power buttons) then re-flashing ROM has worked.
[Moto Maxx Original Android Development] maximuscesar:
Man, looks like your FS is messed up, this happens sometimes when using different recoveries or when something goes wrong. In TWRP there is an options called "fix permissions" in the "advanced" tab. Try this then reboot and try installing 10/17 through CM recovery.
[Moto Maxx Original Android Development] Skrilax_CZ:
Try reflashing the radio package as well.
[Moto Maxx Original Android Development] colthars:
thanks,

but only worked after using baybutcher kernel. got cell to boot. :)
[Moto Maxx Original Android Development] maximuscesar:
My wife is probably calling the cops because I'm the whole afternoon without my phone but I finally managed to make it work flashing the 10/17 kernel above the 10/20 nightly. The file with the 10/17 kernel that I used is here for those who need it. It may be useless tomorrow with the 10/21 nightly but maybe not.

Well, my bluetooth headset still doesn't work for calls but I'm sure that Skrilax is working on that.
[Moto Maxx Original Android Development] Gambler_BE:
Can you say what steps you followed exactly?

I still can't get it to work. I flashed 10/20, and afterwards flashed the kernel maximuscesar posted, but it's still stuck on the Cyanogen logo whenever I boot :/ Tried letting it cool down as well, and fixed permissions.
[Moto Maxx Original Android Development] fgl27:
Better then that fix it :cool:

Not me but imoseyon a few days ago...

https://github.com/imoseyon/leanKernel-shamu/commits/lk-lp

Just that one revert and the kernel is fix

Can you please share the vendor folder that is on CM12.1?

I wanna update from CM and not use mokee vendor, to keep my more close to CM, to prevent unrelated bug.

:good:
[Moto Maxx Original Android Development] Skrilax_CZ:
Perfect, will then update it back and fix. The vendor tree for CM: https://github.com/TheMuppets/proprietary_vendor_motorola

EDIT: Made the changes, flashed them on my phone, booted fine. Pushed to repository, let's see how 10/21 goes.
[Moto Maxx Original Android Development] colthars:
Flashed 20/10, kernel, format dalvik and cache. Done!
[Moto Maxx Original Android Development] Gambler_BE:
Ok guys, factory reset fails as well, it wipes data but then fails when trying to wipe cache. The only thing I can think of is that the cache partition is messed up? I've never had this before, so I'm not really sure how I can fix this with this phone? Any suggestions?
[Moto Maxx Original Android Development] Skrilax_CZ:
Reboot to bootloader and do "fastboot erase cache".
[Moto Maxx Original Android Development] Gambler_BE:
Well, that doesn't give any errors as you can see below, but it doesn't seem to work either. I still can't mount cache in recovery, nor format it. Whenever I flash one of the nightlies I get "unable to mount /cache" after "creating partition table".

I've pulled a log from recovery, and there I can see the following line, does that tell you something?

Can't probe device /dev/block/mmcblk0p39

E:Unable to mount '/cache'

I:Actual block device: '/dev/block/mmcblk0p39', current file system: 'ext4'
[Moto Maxx Original Android Development] duowing:
Maybe it would be worth it to do a full fastboot flash of a stock firmware to see if it will manage to format and set up everything?
[Moto Maxx Original Android Development] Skrilax_CZ:
Can you flash TWRP, open adb and run: "make_ext4fs /dev/block/platform/msm_sdcc.1/by-name/cache"?

And 10/21 is up, so use that one, not 10/20 or 10/19.
[Moto Maxx Original Android Development] maximuscesar:
Nightly 10/21 worked like a charm with it's kernel 90 and everything. Also Xposed and stuff. No bluetooth for calls yet though...
[Moto Maxx Original Android Development] Gambler_BE:
Skrilax man, I love you! :D Thank you so much, for helping me out here, and for everything you're doing for this phone :D
[Moto Maxx Original Android Development] fgl27:
[MENTION=2228410]Skrilax_CZ[/MENTION]

Have you made wifi working using cm-12.1-5.1.1 kernel tree?

I have not. I try different then you, I merge moto 5.1.1 on the top of 3.10.90, I know that folder have 5.0.2 files and that may creating a bug, but i wanna to try.

I use the existent qcacld-2.0 of CM12.1 and later update from motorola, but wifi doesn't work no matter what qcacld-2.0 I use, I did not make a ROM just a boot and flash those wifi system files that get compile with. Will try to make a ROM to see if the ROM woks but only if you manage to make it work, (make a ROM take too much time)...

The sound files need to be used are those left.tfa9890.*** form su44, I have tested it after flashing it sound is good. Su 44 doesn't have tfa9890.*** it just have left.tfa9890.***.

The wave doesn't work either(The visible red dot sensors on the device lights up but the screen not), after I flash su 44 sensors files, wave doesn't work either and the red dot sensor doesn't light up. But that may be related to the way I merge...

The rest seemed ok.
[Moto Maxx Original Android Development] Skrilax_CZ:
I'm still working on that, have not checked yet if I configured the qcacld-2.0 correctly (different from main now, taken as is from Moto's makefiles). Use the one that you compile with the kernel, but it's stipl WIP. Much of the WIP stuff isn't pushed yet, such as the sound files.

There can be some changes in the devicr tree necessary with respect to the IR sensors.
[Moto Maxx Original Android Development] core720:
comming soon CM12.1 kernel 5.1.1 official?
[Moto Maxx Original Android Development] ChazzMatt:
That's what the man says. ;)
[Moto Maxx Original Android Development] NOOB LG P990:
Are nightly from oct. 24 safe to flash? I love all your work Skrilax_CZ.

Thank you!
[Moto Maxx Original Android Development] Skrilax_CZ:
10/19 and 10/20 are bugged. 10/21+ are safe to flash.
[Moto Maxx Original Android Development] anishmohandas:
I feel quark cm12.1 versions are pretty stable . we should be moving to get snapshot releases , and not just nightly :)
[Moto Maxx Original Android Development] icondeg:
I lost my windows, jejejeje

That means that I can't install the recovery from this post

Is there any other option to flash without use a PC?

Another topic

Is there a lollipop ROM that we flash directly from TWRP?

so then I'll try to flash the last version of this ROM (the ROM that fixed all the issues) then the gaps

I know that this is crazy,but this is the only way to flash this ROM without PC

I hope you can help me

Regards

Enviado desde mi XT1225 mediante Tapatalk
[Moto Maxx Original Android Development] matheus_sc:
Some people said twrp works
[Moto Maxx Original Android Development] icondeg:
The problem is that I need one ROM based on lollipop that I could flash from TWRP

I'll try to reinstall windows

My bad

Thanks anyway

Enviado desde mi XT1225 mediante Tapatalk
[Moto Maxx Original Android Development] greenemperor:
As for the recovery,needed to flash it via pc or directly from the device?

Thank you
[Moto Maxx Original Android Development] icondeg:
Good question

Is there any way to flash recovery.img file without using a PC???

Enviado desde mi XT1225 mediante Tapatalk
[Moto Maxx Original Android Development] matheus_sc:
Maybe flashify works
[Moto Maxx Original Android Development] icondeg:
Works great!!!!

Enviado desde mi XT1225 mediante Tapatalk
[Moto Maxx Original Android Development] elgringoloco77:
So if i flash just the recovery can i flash from 4.4.4 or do i need to be on lollipop first?
[Moto Maxx Original Android Development] icondeg:
You need lollipop first

So we need a ROM based on lollipop that we can flash via recovery (CM recovery)

I'll try to search a safe lollipop ROM where we can jump to CM12

any ideas?

Enviado desde mi XT1225 mediante Tapatalk
[Moto Maxx Original Android Development] matheus_sc:
[MENTION=5474227]Pika71[/MENTION] post this link https://mega.co.nz/#!TUIykSKY!xlOfw5GiG8x6Elv7jI4tUMc0fvlZ5lRjhBBXOaBixk0

This is final release, but need unroot to install.

Its possible to cm make camera api2 works?

Anyone knows if need some days to merge a new commit in cm?
[Moto Maxx Original Android Development] Pika71:
is, update, apply recovery stock and unroot
[Moto Maxx Original Android Development] icondeg:
Does anyone has the recovery stock???

Jejejejej

I'm sorry for asking that, but my windows is broken

Enviado desde mi XT1225 mediante Tapatalk
[Moto Maxx Original Android Development] Pika71:
of course...

Here >>> http://goo.gl/k9Yrb9 :good:

Luck
[Moto Maxx Original Android Development] matheus_sc:
[MENTION=2228410]Skrilax_CZ[/MENTION] can you provide a new build with fixed video and Bluetooth, until cm merged nightly?
[Moto Maxx Original Android Development] Skrilax_CZ:
Just wait :P

Also, nightlies will have SELinux in enforcing mode (the build I posted is permissive).
[Moto Maxx Original Android Development] matheus_sc:
Ok, checking cm site for waiting merge. Now i'm very happy with my maxx with cm oficial support.
[Moto Maxx Original Android Development] icondeg:
With this ROM, can we manage the kernel?

Governor

TCP

I/0 scheduler

We can use kernel tweaks from another device, example Nexus 6?

Enviado desde mi XT1225 mediante Tapatalk
[Moto Maxx Original Android Development] matheus_sc:
Some things like, governor, i/o and max and minimuin speed

Edit:in beta build anyone have wifi hotspot working?
[Moto Maxx Original Android Development] Skrilax_CZ:
I tried, wifi hotspot didn't work for me. But USB tethering works.
[Moto Maxx Original Android Development] Atrix_Lover:
Download link is not working, can you please provide another?

---------- Post added at 04:45 PM ---------- Previous post was at 04:40 PM ----------

Can somebody provide download link pleaseeeeeeee! nothing on CM download websiteeeeeeeee, pleaseeeeeeee :p
[Moto Maxx Original Android Development] Skrilax_CZ:
So as for the 5.1.1 kernel, I got it up and running with proprietaries, except for IMS / VoLTE (which is a new feature from VZW 5.1). Also added experimental support for XT1250 running under VZW.

There isn't otherwise any noticeable improvement, that I noticed so far.
[Moto Maxx Original Android Development] maximuscesar:
it is already on todays Nightly or we will see it yet?
[Moto Maxx Original Android Development] Skrilax_CZ:
I've decied to split the update + enabling IMS / VoLTE (possibly deferring that to CM-13.0, since there are not so trivial issues with that). At the moment running a test build, will keep doing so for a day or two, then merge. For those who want to build and test themselves:

1) Apply this patch on device/motorola/quark: http://review.cyanogenmod.org/#/c/114984/

2) Use "cm-12.1-5.1.1" for kernel (under kernel/motorola/apq8084) - this has been updated to kernel 3.10.91

3) Use this proprietary repo (under vendor/motorola), branch cm-12.1: https://github.com/SkrilaxCZ/proprietary_vendor_motorola

You must use do all three steps!
[Moto Maxx Original Android Development] fgl27:
[MENTION=2228410]Skrilax_CZ[/MENTION]

Nice work.

There is a way to cherry-pick that under review commit?
[Moto Maxx Original Android Development] Skrilax_CZ:
Yes, click on the Download menu on the right, it will give you the command to cherry-pick.
[Moto Maxx Original Android Development] fgl27:
Yes it work. I know some things I ask are may be really newbiesh, but you always answer, I really appreciate the help Thanks.

My test build is running (made all the changes and using the new 5.1.1 kernel), so far so good no bugs.
[Moto Maxx Original Android Development] gabriellajeado:
Are the test builds with the new kernel avaliables for download?
[Moto Maxx Original Android Development] IonAphis:
Skrill,

I have been patiently waiting in this thread to see if any news about CM-13.0 popped up. Since you mentioned it first, do you have any idea of how far away we are from having working nightlies?

Thanks
[Moto Maxx Original Android Development] gabriellajeado:
+1:highfive::cool:
[Moto Maxx Original Android Development] Skrilax_CZ:
CM12 nightlies came in January this year after Android L was released, thus I'd expect CM13 will come after Christmas.
[Moto Maxx Original Android Development] svprm:
Last few nightlies,i'm facing battery drop.

Currently I'm using 27th build.

I'm doing dirty flash for new builds.

Anybody facing this problem?
[Moto Maxx Original Android Development] Skrilax_CZ:
No battery issue for me.

10/28 nightly will be VZW 5.1 based (3.10.91 kernel).
[Moto Maxx Original Android Development] maximuscesar:
I haven't noticed it.
[Moto Maxx Original Android Development] svprm:
Is this normal?

Usually i get around 2 day backup.
[Moto Maxx Original Android Development] maximuscesar:
We need to see screen on time, but mine is pretty much around that with everything on all the time. There isn't something that you used to let off and now is on (like Google Now or something)?
[Moto Maxx Original Android Development] IonAphis:
Skrillax,

Maybe you can help me with something, it has been mentioned in this thread before. Im not getting LTE service where I know I have good coverage. So I went back to stock to see if the APN settings were matching, and for my carrier, in stock the MNC shows up as "341". However, MNC in CM12.1 shows a "34". I tried changing the APN manually, but of course it dissapears from my APN list as soon as I do, because the APN list hides all APNs that are not compatible with my carrier. I tried changing the file in system/etc as well, but of course it also dissapears because Cyanogen is recognizing my carrier with the "34" MNC and not "341". I can find this to be the only reason why LTE is not working (in my case, maybe the same for others). Is there a way for me to change the MNC code in cyanogen, so it reads the correct information? If not, can this be submitted for the next update? I've never submitted anything to commit so I don't know how that would go.

Thanks,

Ion
[Moto Maxx Original Android Development] maximuscesar:
I'd reflash the radio from this stock in which apn works. But let's wait to see what Skrillax says...
[Moto Maxx Original Android Development] Shooting Star Max:
I've flashed the latest nightly, and I am seeing some new APKs which I don't know.

What are the following apps for?

com.quicinc.cne.CNEService

com.verizon.permissions.appdirectedsms

com.verizon.permissions.vzwappapn (well, those two are kind of obvious. I deleted them since I am not on evil Verizon)

MotoSignatureApp (yeah, sure, something from Motorola, but is it needed?)

MyModule [com.vzw.apnlib] (more Verizon)

Phone [com.motorola.android.buacontactadapt...]
[Moto Maxx Original Android Development] :
XT1250 On 10/28 Nightly

Is this build supposed to work on the XT1250 with stock firmware or do I need to flash the newer firmware? Whenever I flash, I get stuck at the bootloader unlocked message. I saw that this nightly is supposed to work with Verizon, and I really want to get it working. Thanks.
[Moto Maxx Original Android Development] anishmohandas:
Audio seems to be broken on 10/28 nightly... Music app (tried eleven that's built in and Google's play music) not playing sound when on speaker or headset... MX player plays sound on videos just fine...

Anyone else have this problem??
[Moto Maxx Original Android Development] Shooting Star Max:
I have checked, and I have this same bug. The YouTube app plays audio fine, but music apps keep silent.
[Moto Maxx Original Android Development] soldrag:
Yes, spotify work fine too.

PS. Funny, in pocketcast if i listen on 1x speed, then i have bug, but if use another speed, then all work fine.

PPS. Bluetooth headphones work without bug.
[Moto Maxx Original Android Development] Skrilax_CZ:
Fixed for next nighly, tested with Google Play Music. It was a kernel bug:

https://github.com/CyanogenMod/andr...mmit/af803e07db05533f7e86a57a7846ae4118092cd3
[Moto Maxx Original Android Development] fgl27:
[MENTION=2228410]Skrilax_CZ[/MENTION]

This work for Quark too I have tested...

media_profiles: add SlowMo support
[Moto Maxx Original Android Development] NOOB LG P990:
Nice! Any flashable zip dude? Great job!
[Moto Maxx Original Android Development] fgl27:
original thread, http://xdaforums.com/moto-x-2014/themes-apps/moto-camera-slowmo-t3231606

have not tested that file from the original thread, I have just updated the quark one but I think is the same, many file from X are in Maxx custom (or vice versa)...

My file in the attachment is not a flash zip, read original thread for instructions...

PS... [MENTION=4942639]NOOB LG P990[/MENTION]

check this, made a +++zip
[Moto Maxx Original Android Development] screege:
Does the bluetooth issue is gone with the new build?
[Moto Maxx Original Android Development] fedecape:
Hey guys, I'm on an August nightly. Is the newest 1031 safe to flash?

The new kernel comes with it, right?

Thanks
[Moto Maxx Original Android Development] dbirkett:
xt1250

xt1250 support is broken, it gets stuck at the bootloader splash screen yet. Tried flashing either from CM recovery, or TWRP recovery. ADB is not running at all yet, so I have no way to know what is going on, but it seems like the kernel doesn't get loaded by the bootloader at all. Any ideas? Any troubleshooting information I can get to try to figure this out?
[Moto Maxx Original Android Development] dbirkett:
xt1250

Flashed stock vzw xt1254 firmware, 5.1.1, still no dice. The VZW firmware booted fine, but once I flashed CM, it won't go past the bootloader screen
[Moto Maxx Original Android Development] maximuscesar:
I don't know if it is just a coincidence or if this is actually a possibility but my frontal speaker stopped working. Should I worry about the hardware or it's possible to be related to the last nightly (20151104)?

nevermind, it was hardware indeed.
[Moto Maxx Original Android Development] Gundabolu SC:
CM13 You there yet! :D

Man cant wait.....
[Moto Maxx Original Android Development] fgl27:
When you flash 5.1 from Verizon you flash via fastboot all the files from XML zip? and you are update the bootloader by the one on Verizon xml file?

If yes, the bootloader version is capable of loading a 5.1.1 android OS, so the problem may be on the kernel.

And if you update the bootloader by the verizon one, have you try any one of the bootloader that are on the OP?

---------- Post added at 08:39 PM ---------- Previous post was at 08:12 PM ----------

[MENTION=2228410]Skrilax_CZ[/MENTION]

Don't know if this make any difference to help those not working model... Probably not...

https://github.com/bhb27/android_de...mmit/50271ff264e895049c5c821cd7d9f505f09f886d

I boot that commit to my device no problem...

ro.product.device is not common but I believe that doesn't make any difference.

Use this as reference... https://github.com/bhb27/boot_quark/tree/RR-10-29/build.prop
[Moto Maxx Original Android Development] fedecape:
Hey Guys, what camera app do you use?

I've been using Google Camera for a few months, but I feel that I am not getting the best possible quality with it.

Thanks!
[Moto Maxx Original Android Development] NOOB LG P990:
Hi, I started to use the one that [MENTION=5747496]baybutcher27[/MENTION] posted, It's the same Motorola's, but in this one Slo-Mo is working. That's awsome for me. Hope it helps you too