yashsingh1/xdaforums huggingface dataset:
[Moto 360] zrothseattle:
Bruh. Eternally gracious.
[Moto 360] fernando2610:
Please someone help, i tried exactly above instrucciones and nothing, im in centro america, i dont know if that its blocking the update or something

Enviado desde mi SM-N920I mediante Tapatalk
[Android Q&A, Help & Troubleshooting] delt01:
Hello everyone, here's a tough one to crack, been at it for hours!! This is Android 4.1.1, running on a proscan/gigabyte PLT1066G.

Anyway, i need the "exec" builtin command in /init which for some reason got stripped out of the build on this tablet. I compiled my own /init replacement from the official android source, with the "exec" command enabled.

A few problems occur when i boot the tablet with this /init in its rom image - NOTHING ELSE HAS BEEN CHANGED, *only* the /init binary. Same /init.rc file, everything else is exactly the same.

- Sound no longer works. A tool called 'dumpsys' shows that it might be a mismatch with the sample rate. With the stock /init, "dumpsys media.audio_flinger" shows 48KHz, and with my own compiled /init, it shows 44.1KHz. Sound chip (from /proc/asound/...) shows as "SOC-Audio - AML-WM8960". Also, apps that try (and fail) to play audio seem unaware that any error is occurring. They keep running as if the audio was actually playing.

- The screen won't rotate according to gravity, ie. when you flip/turn the device.

- Brightness can no longer be controlled by the user interface. However i am able to read / write the brigness level from the shell via "/sys/devices/platform/aml-bl/backlight/aml-bl/brightness". From a script that runs early in the boot process (using init's "exec" command) i set the permissions on this file to a+rw, which enables non-root user to set the brightness from the shell, but still can't set brightness from the UI.

...so, since only one file has been replaced, i would guess all of these problem are symptoms of a common cause, like a service not being started properly. If anyone is familiar with the internals of android 4.1's boot process, i'd be very grateful for any advice.

Thanks very much for any help!!
[Android Q&A, Help & Troubleshooting] HeyMuzammil:
Please Someone Create Custom ROM For Well Known Device Micromax E311 :banghead:
[Galaxy Note 3 Q&A, Help & Troubleshooting] saagar_mistry:
So guys, I've seen on forum people posting battery results and some get around 6 and some get around 9 hours of screen on time.

Can someone explain how that works? I barely get about 3 hours of screen on time and it just sucks. Some Roms I get 4 hours.

I use greenify, low brightness, plain wallpaper, have disabled many apps i'm not using. I still see drops in battery. I unplug my phone at 100% and drops abt 5-6 % in few minutes.

On Audax Rom and Audax kernel right now. Is there a right combo of ROM and kernel I should use?

If someone could shed some light, that would be great.
[Galaxy Note 3 Q&A, Help & Troubleshooting] plumzup67:
Go back to audax 2.4 kernel its better than 2.6 also get kernel aduitor and undervolt globally -25 I don't like greenify it's not great get servicely instead and lastly get app ops and stop screen wakelocks on Google services and other things you see waking your screen
[Galaxy Note 3 Q&A, Help & Troubleshooting] saagar_mistry:
so tried finding audax 2.4 but couldn't.

In kernel auditor, I go to CPU voltage and on top right corner click global offset and set it to -25?

also installed app ops...

for that do i go click on an app i want to disable wakelock for and in the app it shows permissions such as read contacts, modify contacts but all the way to the bottom it says keep awake, I just turn that off right?

just wanted to confirm if i'm doing it right or not.

thanks!!
[Galaxy Note 3 Q&A, Help & Troubleshooting] nijom:
AryaMod 6.0 + Lean Kernel 6.3

(Around 30 bloats freezed + Power save ON)

No Greenify or PowerNap.

Minimum 6 hours SOT. (Half a day in Wifi and 3G in office hours).

I came from CM to TW based ROM and battery is better in TW based.
[Galaxy Note 3 Q&A, Help & Troubleshooting] plumzup67:
I may have 2.4 on my pc and yes exactly as you said it tick global in top right and set on boot also iv link to arter 8.1 iv tried it for a day its great if you want to try after audax I'll send and yes just on all google services untick keep awake

---------- Post added at 03:58 PM ---------- Previous post was at 03:53 PM ----------

Edit I normally get 8 2 9 hours sot and that's with heavy use and when switch off I get 98% deepsleep
[Galaxy Note 3 Q&A, Help & Troubleshooting] saagar_mistry:
You Sir are a genius, the two changes except audax made a huge difference and i see the difference now.

Thank you for your reply. and from this search I got to this link, I haven't applied all of it yet but looks promising,

so if anyone is looking for more battery life go here and follow the thread:

http://xdaforums.com/android/general/guide-extreme-battery-life-t3095884/post60425051#post60425051
[Galaxy Note 3 Q&A, Help & Troubleshooting] ithehappy:
The thing with the battery life is dependant on ROM mainly, as long as you are not undercloking and all those with a custom kernel. When the early batches of Lollipop ROMs were being released I used to get 6-7 hours SoT at an average, I was shocked with the result, as it was at least 25-30% better than KitKat. I hit even 8 hours two or three times. But then with the later LP releases that SoT was dragged down to something like 5 hours! I don't know! Probably Samsung realised that 7 hours SoT is too much and as Note 3 is an old device they probably thought about messing it and force it to lower or something like that? Don't know! I don't even care about battery life any more, I charge my phone twice a day sometimes, but it wouldn't hurt to have 7-8 hours of SoT, I mean when I did have it I sure remember of enjoying it, to a good extent too.
[Galaxy Note 3 Q&A, Help & Troubleshooting] pixiephile:
my battery life also poor, i'm on cm 12.1 unofficial and get around 2 and half hours of sot.
[Galaxy Note 3 Q&A, Help & Troubleshooting] nijom:
As far as I know, TW based ROMs give more SOT (with certain Bloats freezed)

---------- Post added at 05:49 PM ---------- Previous post was at 05:47 PM ----------

I was on Mobile Data till 52%
[Galaxy Note5 Q&A, Help & Troubleshooting] liquidraven:
ON Verizon and my phone has been randomly rebooting during a call if i try to open internet or some other app. Has also just randomly rebooted while navigating through the phone. Anyone else seeing random reboots and is this the ram management issue?

Wondering if i should just return it and pre order the 6s and try apple again as today's the last day to return..i don't want a phone that just randomly acts up..this is irritating.
[Galaxy Note5 Q&A, Help & Troubleshooting] kinghu:
No reboots ever. I thought RAM management was background apps refreshing or not over time/the more you open.

This sounds like something else. Maybe try a factory reset if you have time. If it persists just return it.
[X Play Original Android Development] Carlos Arriaga:
Good work! :D downloading...
[X Play Original Android Development] joeanca:
Terrific! So happy the development has started it felt lonely in this thread.
[X Play Original Android Development] magdeoz:
Wow thanks Sir !!!
[X Play Original Android Development] Mennooo:
Awesome!

Still no service tho, like on PAC man. XT1562 single sim

Skickat från min XT1562 via Tapatalk
[X Play Original Android Development] pyr0sphere:
Never owned a Motorola phone before this. Does the Moto app run on CM? Can it be side loaded?

Thanks for the great work on the ROM and kernel. Great to have dev support for this phone
[X Play Original Android Development] Marco Lomas:
Thanks! What about the lil lag on stock firm? Its gone or still apears?

Enviado desde mi XT1563 mediante Tapatalk
[X Play Original Android Development] CharlesW123:
Installed fine but also not getting a mobile signal after install? When going through the Cyanogenmod install mobile was working and got an LTE signal? But after all installed and accounts logged in and on WiFi getting no mobile signal? Tried a reboot, even manually going in to pick mobile network (Three UK in my case but the phone is sim unlocked) and although the UK networks show up once Three selected its not working and states I try later?

Nandroid backup of stock Moto restoring now but happy to test further, or get a logcat, etc on this if needed?

I've got the single sim version, model XT1562
[X Play Original Android Development] dictionary:
Service works just fine for me. I'm curious what model everyone has that isn't working. I'm on a xt1563 single sim from Canada.
[X Play Original Android Development] MrHanky19:
Device: XT1562 Single Sim

Same results like CharlesW123
[X Play Original Android Development] squid2:
RIL Configuration

I have a Canadian XT1563 and I made sure it worked on my own device. Are you saying that the UK model is a single SIM XT1562? That's interesting. I had assumed that all XT1562 devices were dual SIM and wrote the RIL configuration code accordingly.

Could one or two UK XT1562 users PM me the output of running "getprop" on the stock ROM, and confirming as to whether your device is single or dual SIM? It would be much appreciated.
[X Play Original Android Development] cartmenicus:
Same boat as dictionary my device is working fine signal and WiFi. Must be a problem with the 2s/dual sim.
[X Play Original Android Development] CharlesW123:
PM'd you a getprop output now :)
[X Play Original Android Development] ALD76:
All XT1562 are dual sim but its only activated in the Retasia firmware not the Reteu. I have a UK phone flashed with the asia firmware and your builds work fine.
[X Play Original Android Development] sjaakd:
I have send you an getprop from xt1562 singlesim EU model
[X Play Original Android Development] squid2:
Thanks, I've updated the RIL configuration based on information from Charles and you. I read somewhere that dual sim XT1563 models also exist. If anyone has a dual sim XT1563, please PM me your getprop for CM support to be added.
[X Play Original Android Development] dictionary:
The dual sim xt1563 are from Mexico. Honestly though, I'm pretty sure it's the same, just with the added flags. All the hardware is there.
[X Play Original Android Development] ephumuris:
So is it possible to just flash some sort of modem file or something or do I need to flash a full other regions rom for this to work on my UK XT1562.
[X Play Original Android Development] Marco Lomas:
Sorry for ask, how its the performance on the rom? Compared to stock i ask. Thanks for bring cm to x play :)

Enviado desde mi XT1563 mediante Tapatalk
[X Play Original Android Development] cartmenicus:
It's defiantly a bit laggier but not by to much. Still usable just gotta ramp up the kernel
[X Play Original Android Development] Quasar:
Yep. The Moto X Play firmware is 32 bit.
[X Play Original Android Development] madcat1990:
He's probably surprised because the CPU in the MXP can do 64bit.

Sadly, unless Motorola releases 64bit binaries, I don't think we could ever have 64bit android running on this thing.
[X Play Original Android Development] ephumuris:
No updates or ideas on the aux not working. Not just me there's another user too. Seriously don't mind posting a log or anything that may help. More details? Rom is great other than that no problems.
[X Play Original Android Development] squid2:
I haven't had a chance to look at it yet, but I'll try to get to it this weekend. It's probably due to headset detection thresholds in the kernel in need of tweaking. Aux out has a much higher impedance than headphones, and that probably has something to do with it. Maybe I missed a moto commit.
[X Play Original Android Development] squid2:
October 17 Release

Today's build is a minor update, adding support for the Australian "vfau" variant based on information provided by [MENTION=7004822]HiggsBroson[/MENTION]. Apart from that, it should behave about the same as the last build.
[X Play Original Android Development] ephumuris:
Now that makes sense you learn something new every day! Thanks for the reply its not a deal breaker this rom is a definite daily driver. I just have to listen to awful radio in my car for now :)
[X Play Original Android Development] Lennyz1988:
I am having the same problem on the CM from h2o64. Is this bug still in this build?
[X Play Original Android Development] squid2:
It's fixed on the last few builds here. I had initially fixed it with a prebuilt audio HAL, but now I'm using the source built HAL with speakerphone fluence disabled as suggested by h2o64, which also works but allows using the source built HAL.
[X Play Original Android Development] squid2:
I did a bit of investigation on the aux out issue. Headphone/aux detection in the kernel is working fine, it's an Audio HAL issue. Relevant logcat snippet:

D/audio_hw_primary( 352): start_output_stream: enter: stream(0xb80cec78)usecase(1: low-latency-playback) devices(0x20000)
E/msm8916_platform( 352): platform_get_output_snd_device: Unknown device(s) 0x20000
E/audio_hw_primary( 352): out_write: error -22 - cannot prepare channel: Invalid argument
D/audio_hw_primary( 352): out_standby: enter: stream (0xb80cec78) usecase(1: low-latency-playback)
E/msm8916_platform( 352): platform_add_backend_name: Invalid snd_device = 0
E/audio_hw_primary( 352): disable_snd_device: Invalid sound device 0
E/AudioAttributes(25559): Invalid stream type -2147483648 for AudioAttributes
I/MediaFocusControl( 881): AudioFocus requestAudioFocus() from android.media.AudioManager@3b95496dkom@123da9a2 req=1flags=0x0
D/audio_hw_primary( 352): start_output_stream: enter: stream(0xb80cec78)usecase(1: low-latency-playback) devices(0x20000)

I haven't tried yet, but I bet it would work if you tried it on the August 11th build* with the prebuilt audio HAL. Motorola probably added a new playback device with ID 0x20000 in the HAL that the source built HAL lacks support for. I'm going to try to fix the issue with the source built HAL tonight.

*note that you can't downgrade CM unless you do a clean install, or else things will break

EDIT: 0x20000 is the standard line out ID. See https://github.com/CyanogenMod/android_system_core/blob/cm-12.1/include/system/audio.h#L672

I still need to figure out how to fix the source built HAL properly.
[X Play Original Android Development] ephumuris:
I'll wait for a new build rather than downgrade then!
[X Play Original Android Development] Lennyz1988:
Ok, thanks for the explanation. I'm downloading your build right now. Having a working speaker+microphone is mandatory for me. When my girlfriend is nagging on the phone, I can just put her on speaker and place my phone on the other side of the room ;) It beats her yelling in my ear.
[X Play Original Android Development] squid2:
Line out issue fixed: http://review.cyanogenmod.org/#/c/113752/1

I'll upload a new build soon.
[X Play Original Android Development] ephumuris:
That's brilliant. Seems to be the only bug I have come across in my use with it. Runs smooth, my Bluetooth works fine now, battery as good or better than stock. Highly recommended.

People will continue to request double tap to wake but my phone always unlocks in my pocket with it enabled on other phones.
[X Play Original Android Development] squid2:
Keep Awake Issue

I've noticed one bad behaviour on both osprey and lux where the device stays awake much more than it should. Here's an example from my lux:

The behaviour varies depending on the WiFi network you are connected to. If you turn off WiFi, all is good. On some networks, like my normal home network, all is fine. Other networks, like my work network (see 10 AM to 7 PM yesterday), it takes too long to go to sleep as something keeps it awake. It was awake for 2/3 of my work day yesterday. You can see that it did go to sleep at lunch time when I left my office (since I left the building with the offending WiFi). It also went to sleep while I was driving home from work last night, and when I was driving to my aunt's place later last night. The router at my aunt's place is a bit different in behaviour from my work and home routers, but it also causes keep awake issues on lux. See the long periods that it has stayed awake today when it shouldn't, such as last night while I was asleep.

The same problem is occuring for CM on osprey and lux. I don't take my surnia to work, so I don't know if it's affected, but it likely is. On osprey, I recall that it used to go to sleep fine on my work network with the stock CM kernel as of this revision, and with the latest revision of the osprey CM kernel it now misbehaves and no longer sleeps properly at work.

I also recall that on October 8th and earlier on osprey, the stock CM kernel used to sleep fine on my osprey (though it was slow and laggy due to debug configuration), and my "Squid Kernel" was already causing sleep issues on my work network prior to that.

My conclusion from all these experiences is that the WiFi sleep issue is being caused by one of the following commits:

https://github.com/CyanogenMod/andr...mmit/ca0d03bae35dbd80acf1bd4da99a61aacdbfa75c

https://github.com/CyanogenMod/andr...mmit/61454e288d102ae73e5d414c403e679b28a80f10

https://github.com/CyanogenMod/andr...it/c44b220811ff47772f1c4eb3911837000568d96cer

If it's one of the WiFi IPV6 commits, that would be a bit frustrating as they are required to fix WiFi for some Indian users. If it's the defconfig change, I'll need to isolate which config change in particular is the culprit.

[MENTION=5490790]Nico3d3[/MENTION] The inconsistent battery life you are experiencing on my kernel is probably caused by the same bug I'm describing above. Check if your phone is sleeping enough, and check if it goes to sleep properly if you turn off WiFi for a while.
[X Play Original Android Development] pyr0sphere:
Can't seem to set up the newest build. AOSP keyboard keeps crashing and no matter how many times I press skip, I can't advance

Tried flashing both with and without GAPPS
[X Play Original Android Development] squid2:
October 18 Relaese

Today's build fixes the issue that prevented high impedance aux out audio from working. For reference, the relevant changes to the audio HAL are http://review.cyanogenmod.org/#/c/113817/ and http://review.cyanogenmod.org/#/c/113818/
[X Play Original Android Development] ephumuris:
I'm a happy man and that fixes the only bug I've noticed...

Has anyone else got any bugs or niggles on the latest build or are we rock solid stable now?

Other than the sleep issue I guess but my battery life is great and my work wifi isn't worth using so its all fine.

Download links not working for me will try again later.

Still not downloading...
[X Play Original Android Development] andyfletcher:
Hi Guys,

My first flash on my new Moto X Play ( done it 100's of times with my previous phone - a nexus 4), but having issues with google play services.

After booting up the rom stalls at the enable network (in my case ee).

Restart and the initial setup completes ok, but errors start popping up about missing google play services.

I have tried a number of different builds from the slim to the super and i get the same issue on all.

I also tried the previous build and had the same issue.

Any suggestions welcome.cheers

Andy
[X Play Original Android Development] squid2:
Which gapps are you using? Try doing a clean install (wipe system, data, cache, and dalvik) and use OpenGAPPS. It lets you generate a custom gapps package with only the apps you want, and it seems to work on all my devices.
[X Play Original Android Development] goodrench:
I have issues with certain browsers not downloading. Have you tried a different browser?
[X Play Original Android Development] ephumuris:
I always download directly to device...

And it doesn't work in Firefox either.
[X Play Original Android Development] andyfletcher:
Cheers for the reply, i'm using Open GAPPS. I tried the Aroma version, but that just froze on me, so i downloaded the open gapps stock version, did a complete wipe of caches and data but still get the error about google play services need installing.

I did download and install the apk's manually, but that caused the phone to error repeatedly.

I just tried the pac rom and that also gives me the same issue, i just dont know why im having issues with gapps.

Any ideas?
[X Play Original Android Development] Berlino:
You can try TK Gapps (former PA-Gapps from same Dev)...never had any problem with nano-modular-package: http://xdaforums.com/android/software/tk-gapps-t3116347

I recommend a clean flash with wiping system, data, cache and dalvik cache.
[X Play Original Android Development] kaushikb.1996:
The WiFi is turn on even when I switch it off even in stock ROM
[X Play Original Android Development] zdeev:
What's the go-to procedure to upgrade to the new build? Do I need to wipe everything?
[X Play Original Android Development] aarmstrong23:
What is the différence between this rom and the other cm 12.1 rom thread?!

Motorola Moto X Play 2015
[X Play Original Android Development] madcat1990:
The other rom was build using the Motorola Kernel directly (With very few patches)

This one uses an original kernel, with parts of it based on the motorola kernel, made by the amazing [MENTION=6485916]squid2[/MENTION]

(Correct me if I'm wrong here!)
[X Play Original Android Development] aarmstrong23:
Ok thanks a lot madcat

Motorola Moto X Play 2015
[X Play Original Android Development] ammarr:
I still can't get the mic to work on speakerphone. Would it require a clean flash?
[X Play Original Android Development] Quasar:
Other ROM also uses a different device tree, but you won't have to worry much about the two since both devs are working together now.
[X Play Original Android Development] mishko:
Delete
[X Play Original Android Development] squid2:
You're right, I just checked and it's broken again. Will fix when I get a chance.
[X Play Original Android Development] squid2:
I've narrowed down the source of this issue to one particular commit: http://review.cyanogenmod.org/#/c/111849/

The question remains as to why this change prevents my device from sleeping properly when connected to certain WiFi networks. I'll revert this commit in the next build I post and let you all report back if it breaks anything WiFi related in your setups.

I became busy tonight with other things and didn't get around to revisiting the speaker issue (I got home past midnight). I'll try to fix it tomorrow night or day after, whenever I get time. It shouldn't be too difficult, as I was able to make it work on [MENTION=4792450]h2o64[/MENTION] 's build with the source built HAL when speakerphone fluence is disabled, so it must just be a setting I missed somewhere.
[X Play Original Android Development] ammarr:
Thanks for looking into this. Fyi, i haven't been able to get speakerphone working on his latest build either.
[X Play Original Android Development] odysseus84:
[MENTION=6485916]squid2[/MENTION] FYI: encryption seams not to work.

I started it and it showed the green robot of encryption, but it disappears after a few seconds. The phone says the data is corrupted but a reboot still works just like normal.
[X Play Original Android Development] squid2:
Just checked and I can confirm that it's broken. Interestingly it works fine on osprey, whose port this is based off of. I'll need to figure out what's happening.