yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] PolesApart:
Testing fix for random reboots.

I had a reboot and managed to get a very useful /proc/last_kmsg. The modem handling is still buggy. It seems we had a tradeoff: we could get frequent modem drops or infrequent reboots (well, the original kernel - at least for me - was also giving me frequent reboots. And my first releases got it worse, until it got better).

Now (fingers crossed) I think I've managed to kill the beast once and for all. Not my merit anyway, I tracked down two nvidia bug reports and adapted their changes to our code. I've been testing for a few hours, if all goes well I'll publish a new kernel tomorrow.

I don't know if you noticed, but one of my latest releases introduced a power saving feature that's to disable the 2nd cpu core when the screen goes off. That have two nasty side effects: sometimes when listening to music w/ bluetooth headphones (I use the atrix every day for that), when pressing the media buttons (pause/back or next), there's a lag responding to it. It's under a second, but it's there.

Another is that when we press the power button, sometimes, depending on the load, the screen takes forever to turn on. Even without this change we already had this behavior, but I feel it got worse.

I'll leave as it is for now, but I'll end up fixing it eventually.

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

Only the two wakelocks it offers in the free version. Or whatever is the default, I didn't change the settings :D
[Atrix 4G Android Development] guruzen:
ART

Has anyone been able to set the runtime as ART? I have been trying on V3 and it never changes. After reboot, i still see it as Dalvik.

I have done it on Defy+ where it takes at least 5 minutes to boot as it converts everything to machine code. I don't see that happen.

Has anyone faced this problem in Atrix? If so, do you have a way to get it to work pls

Thanks
[Atrix 4G Android Development] miteshpc:
I am using ART. Had to change to dalvik after Whatsapp didn't install and return back to ART. Idle Time Connection Manager doesn't install. https://play.google.com/store/apps/details?id=com.sk.pcm2&hl=en

The screen is crack so can't test a lot.
[Atrix 4G Android Development] JUGOMAN:
Running ARt here, no problems. Is you have Xposed installed, disable it. Otherwise ART won' t " stick".
[Atrix 4G Android Development] todobarato:
Hello,

hporch32 latest kernel works for me, no screen tearing.

Thanks.
[Atrix 4G Android Development] Voldemort:
Thanks for that :thumbup:

The "navigator bug" is exactly what you said, except that it occurs to me also coming from Google maps and randomly repeats the black screen 2-3 times.

I'll wait for your next kernel then I will switch back to v1 of this rom because a phone without vibration is quite useless when I'm on the move...

Hopefully your latest kernel will work, because the battery life is great (I have noticed that little lag you mentioned, but some brand new phones are worse just out of the box :D)
[Atrix 4G Android Development] whatever47:
Hallo,

latest hporch32 kernel works fine for my atrix (even if it was not required). Good battery life, no screen tearing no reboots.

I am impressed , thanks very much for all persons involved in the development of the rom and the kernel.:good:

Google maps are not working right as mentioned above.

I am using this rom now for about a week. When I wanted to download the rom with the PC it didnt work even when I tried to download with different PC's.

It offers you a file called "Olympus_KitKat_v3_downloader-I3cEXNHnS.exe" (220KB) (see screenshot).

Just for curiosity I installed this on a test-system and it installs a lot of crap on the system.

Finally I downloaded it with my android tablet without problems.

So there is definitely going something wrong with the download and maybe the admin could have a look at it.
[Atrix 4G Android Development] Fozix:
You must click "Direct download link".

Do not use the download installer with ".exe" extension.
[Atrix 4G Android Development] guruzen:
Removed xposed and i am in ART. Thanks a lot.
[Atrix 4G Android Development] PolesApart:
hporch32 vs non-hporch32

Ok people, as we have enough complaints of hporch32 kernel giving weird behavior on non-hporch32-needing kernel, at this point it's safe to recommend people to stop testing hporch32 on their phones, i.e. do the usual stuff: only hporch32 if you need it ;)

And as for the progress on modem drops vs reboots: it's very hard for me now to get to the point where the flaw that induces modem drop or reboot behavior happens, but it happens. So it's hard to test (I can get hours without triggering that), and at this point I can say it's not fixed yet. The "good" thing about reboot is that the phone comes back with data enabled, so it's kind of a forced recovery :P On the other hand if I avoid the reboot, there's (soft) modem drop, which motorola's ril is unable to recover without some help. I'll look into these as they happen, but it may take a while to get a good analysis. So no kernel release for today I guess.
[Atrix 4G Android Development] todobarato:
Hello,

PolesApart, the answer from author of the program:

______________________________________

It's working on kitkat,* as well as android 5. However,* not every rom work well with breakdown mode.* We know that some 4.4 rom do not support breakdown mode.

Try disable breakdown mode if you can.

Regards,

____________________________________

What is breakdown mode?

Best regards.
[Atrix 4G Android Development] cscmf99:
I follow the instructions and my atrix can stay idle for six hours only with wifi connected but no sim card. I am use the november 5th kernel now. Any idea i went wrong?
[Atrix 4G Android Development] PolesApart:
Are you using the xposed + amplify module? Is it working? Did you turn the airplane mode on and then enabled the wifi? Because even without sim card, without airplane mode the modem still works (in "emergency only" mode).

---------- Post added at 02:55 PM ---------- Previous post was at 02:47 PM ----------

I have no clue :D
[Atrix 4G Android Development] JUGOMAN:
wifi

I did not have WiFi on for 36 hrs, was testing phone for reboots.
[Atrix 4G Android Development] dattafilthyd:
Alternative to network monitor mini

Install gravity box xposed module and in the status bar settings->enable the data traffic monitor, simple format.

this is the only one that works well.

also "internet speed meter" app works well with hourly traffic logs as well.

https://play.google.com/store/apps/details?id=com.internet.speed.meter.lite&hl=en

:cowboy:
[Atrix 4G Android Development] dattafilthyd:
It does work on 4.4 kitkat devices. Tried on moto g samsung galaxy s4 etc.

It however does not on our atrix 4g.

info:

Breakdown mode means that the data traffic is broken down app wise or by ip connection wise.

Breakdown mode is enabled only if manually set, it's off by default.

So, it's nothing related to breakdown mode.

Reply to the developer saying that you have disabled breakdown mode and yet traffic still shows 0kbps.

I myself have also gotten in touch with the dev. We'll see what comes of it.
[Atrix 4G Android Development] dattafilthyd:
overclocked kernel?

Hey pole'. have you thought about making an overclocked version of your kernel?
[Atrix 4G Android Development] Fozix:
How long your battery runs if you ask about the overclocked version?
[Atrix 4G Android Development] cscmf99:
I did turn the airplane mode on but I had the Wi-Fi on. I am now also using xposed + amplify but just the free version now. I have no idea what to block in xposed and thus want to know more before donation.

Now I am testing with Wi-Fi off. In CPU spy, it shows 77% of the time is in deep sleep. I am thinking my battery is really too old or soon to die.

What is the number of hour supposed to have with airplane mode on and with WIFI on? I am now even considering to buy new battery for this phone.

Thanks.
[Atrix 4G Android Development] rhcohen:
I just today installed the 11/5 kernel (non-hporch32). After about 2 hours, for the first time in quite a while, my phone froze while asleep (blank screen; green alert light blinking; really frozen, though -- e.g. could not make a usb connection to my computer.) After I rebooted I could fine no useful log files to send (no /proc/last_kmsg, /data is empty, no files of length >0 in /dev/log). Anything else that would be of use, should this happen again?
[Atrix 4G Android Development] torecdude:
Im having issues with the lock screen , when i try to turn on screen after i turn it off a couple of seconds ago, most of the time lock screen wont apear it screen stays off. I need to turn screen off again and on 2-3 time until i manage to turn screen on. Sometimes i need to remove the battery and reboot, sometimes i get a message, "lock screen isnt responding do you want to close it?"

Anyone else having this?
[Atrix 4G Android Development] iTaisHi:
PoleApart,

in addition to the install order i mentioned before

(all cleaning procedures, flashing v3 image, reboot, flash 20141027 kernel , reboot, flash micro Gapps, reboot ---> the atrix work 100%)

i tried flashing 20141101 kernel.

rebooted the atrix,

got into recovery,

flashed the 20141101 kernel,

after completion approved - rebooted the atrix.

now it freeze on Boot Logo ,

any ideas to solve it before flashing all from beginning ? :confused:
[Atrix 4G Android Development] PolesApart:
Enter recovery, clear cache and try installing another kernel version, only then reboot again. If that works, you can re-download (just to be sure the file is not corrupted,) the offending kernel version and try again.

---------- Post added at 08:55 AM ---------- Previous post was at 08:54 AM ----------

Yes, it's a known side effect of a power-saving change I've made. I'll fix/revert it eventually, but not right now. The problem was already present, but it got (sometimes much) worse.

---------- Post added at 09:13 AM ---------- Previous post was at 08:55 AM ----------

That's probably a deep-sleep death. The phone cpu dies and is unable to wakeup again. Unfortunatelly it leaves no traces. There are at least two probable causes for this: a bug in code affecting suspend/resume paths in very early stages, or a power management side effect that goes against what the cpu expects to find when sleeping (or waking). I'll keep an eye on it (it happened to me too, but has been a while) and review recent changes, but it may be a while. Also, it's nor surprising if it "magically" stops happening on newer kernels, I've seen it before.

---------- Post added at 09:17 AM ---------- Previous post was at 09:13 AM ----------

With light usage, I get between 1 and 2 days (airplane mode on, wifi on). On totally idle I almost got three days. I'm using xposed+amplify, gapps and data sync enabled. I suppose that if I disable data sync I can get over a week. But then it's not a phone, it's a brick on power-saving mode :D

Alias, betterbatterystats says facebook is the number one phone wakeup culprit. So having that disabled/not syncing helps too.
[Atrix 4G Android Development] todobarato:
Hello Polesapart,

How you installed betterbatterystats, I get done error that says that in kitkat doest works properly and I need to activate something, but I really Haven't understand what was needed to do. So it first show any information, any idea?

Thanks,

Ferenc.

_________________________________________

Alias, betterbatterystats says facebook is the number one phone wakeup culprit. So having that disabled/not syncing helps too.[/QUOTE]
[Atrix 4G Android Development] dattafilthyd:
16-18 hours with greenify and ampify(unbounce). Thing is I am into gaming (not necessarily new ones). So, enthusiastically speaking, an overclocked kernel will help in performance improvement. But i normally connect the charger while gaming for several hours. So yes I am interested.;)

---------- Post added at 09:04 PM ---------- Previous post was at 08:41 PM ----------

Hey Z'. I have a doubt.

On the atrix we have 16 internal space right.

These days phones like moto g etc use the entire space available for root. i.e the root space and the sdcard space are interlinked. So the root space can use the entire 16gb. And we can install as many apps as we want because it is not limited to the 2gb partition.

You have changed the recovery to use the osh space for the system partition. Hence the name bigpart i presume.

But is it possible to tweak the recovery so the the root space can use the sdcard space as well (Biggerpart:p) like in the newer phones?:confused:
[Atrix 4G Android Development] PolesApart:
I've got the apk from the thread http://xdaforums.com/showthread.php?t=1179809

I'm using the latest stable one (eg. 1.16.0)

It's working fine as far as I can tell...

---------- Post added at 02:43 PM ---------- Previous post was at 02:34 PM ----------

Honestly, no, I haven't. I'm no gamer (or let's say I only play dummy games) so I have no straight use for overcloking myself. In the past I did use faux123's kernel with overclocking (IIRC I used 1.4ghz) and it did help on overal navigation (browser specially), but today's phone with kitkat is faster than that, without overclocking.

AFAIK [MENTION=4641721]krystianp[/MENTION] begin implementing it but it wasn't finished, I suspect because it's a lot of work involved. So I'm not willing to start this task, but of course I'll be more than glad to help anyone that gets the hard-work done in tweaking the final bits.

One thing that worries me however is that our phone gets hot in scenarios it's clearly (or should I say probably) not using too much cpu. I suspect it's the 3g modem (and this didn't happen with motorola firmware, at least not to that extent). And without having it cool, we can't overclock it for it gets unstable very quickly, as we'll need for the cpu to gets hot too and if the modem is hot before we overclock, it's very likely it will crash. Besides, we won't be able to hold the phone on our hands.

So we would have to "fix" this first. Which I would love to do, because that would save battery when we need it the most: when using the phone. But I have no idea of why that happens nor how to fix it :)
[Atrix 4G Android Development] rhcohen:
I have now just had my second freeze while sleeping (deep-sleep death, apparnently) in 24 hours on the 11/05 kernel. I didn't see any substantial difference in battery life between that and the 11/01 kernel, so I will revert to 11/01 (as I had no deep-sleep death incidents during the week I was using that, and it seems I can't provide any more useful info about the causes with this kernel).
[Atrix 4G Android Development] cailloup:
I'm sorry for the offtopic but some of you are probably only watching development section (It was my case)

End of Atrix for me :crying:

If someone has an idea to solve this question, I would be glad to test

http://xdaforums.com/atrix-4g/help/mount-storage-power-button-touchscreen-t2936141

Another huge thanks for all developpers that kept Atrix alive :good:
[Atrix 4G Android Development] PolesApart:
Search for 'Replacement mb860 flex' on ebay . Apx. US$ 5 if you only managed to destroy this particular cable :)

Been there myself, it was easy to replace. I even have a spare :P

---------- Post added at 02:48 PM ---------- Previous post was at 02:33 PM ----------

There's a new kernel release on the block.

At least in theory, this one no longer suffers from reboot/modem drop tradeoff, i.e. in case of modem error it'll just short circuit the battery and .. just kidding, it should be fine; Also I didn't have any deep-sleep freeze with it. Please test and report as usual. Most other bugs are still there, though. I've made a few adjustments to low memory killer thresholds, and it feels a little more fluid to me, killing a few unused apps ahead of time, instead of having to do it when the phone is lower on memory.
[Atrix 4G Android Development] PolesApart:
I just fixed the kernel <-> whisperd (the userspace daemon that detects proprietary docks), so next kernel release will have proper dock support, in the sense of recognizing most docks "the right way". Just tested with multimedia & car dock. Lapdock should be detected but I suspect hdmi still requires work. AFAIK krystianp's patches weren't merged in github and I don't have a lapdock to test.
[Atrix 4G Android Development] jcrahul:
i have a lapdock and could test for you pm me the stuff :D
[Atrix 4G Android Development] Voldemort:
It's been 4 days since my last total wipe + reinstall and yesterday the vibration was gone, as usual.

I only installed 23 apps (simply from playstore) and none of them has weird functions. I need the phone to be "working" therefore I'm switching back to v1 and will keep testing kernels anyway ☺
[Atrix 4G Android Development] dattafilthyd:
Oh damn. I had no idea about the modem heating issues. I found overclocked versions were available for cm7 by faux clemsenelite, There is also one available for cm 10.1 with cpu and gpu both overclocked. Figured it'd be the same way. (increase the clock limit, tweak the cpu voltages and voila). Probably the modem heating issue are only on the cm11 kernel? hmm. Thanks anyway.:):good:
[Atrix 4G Android Development] Fozix:
I'm almost sure that vibration dissapears because of apps, or maybe because of hardware problem. No one else reported this issue.

You may try another test - do wipe again and do not install any of your programs from playstore.
[Atrix 4G Android Development] todobarato:
My feedback,

I install the kernel date 2014-11-11, reboot by 3g and deepsleep of dead...display black, no way to wakeup threw phone. I reverted to older, 2014-11-01, works Ok

[/COLOR]There's a new kernel release on the block.

At least in theory, this one no longer suffers from reboot/modem drop tradeoff, i.e. in case of modem error it'll just short circuit the battery and .. just kidding, it should be fine; Also I didn't have any deep-sleep freeze with it. Please test and report as usual. Most other bugs are still there, though. I've made a few adjustments to low memory killer thresholds, and it feels a little more fluid to me, killing a few unused apps ahead of time, instead of having to do it when the phone is lower on memory.[/QUOTE]
[Atrix 4G Android Development] guruzen:
I have seen awesome performance after 11Nov Kernel and changing it to ART. I got Antutu score of ~11200. Opening of apps is good.

I disabled animation to 0.0x in developer mode and in performace, i chose "Kernel samepage merging". Keep minimal apps that you require. I removed a lot of them from /system/app and am using essential apps such as whats app, chrome, maps, inbox etc.

Phone's performace has improved a lot after doing all the above.
[Atrix 4G Android Development] iTaisHi:
as Fozix already wrote to you,

if after every clean flash/install , your vibrate is working good,

in that case it is 99% that one of your App causing the disappearing vibrate issue.
[Atrix 4G Android Development] PolesApart:
Also, I'm assuming it could be the modem, because other than the cpu it's the only thing that drains a lot of power. Well, there's gpu too, but I suppose we don't use it too much on day-to-day basis. But of course I could be wrong. There are other factors in play. One of them is that there's a delicate balance between voltages, performance, power wastage (in form of heat) and stability. AFAIK you should reduce voltage in higher clock rates in order to be able to sustain them without overheating. But every production batch has different silicon properties, so if you optimize your usage for one, there's other that can crash, or have that deep sleep bug or whatever. So sometimes the cpu clocks are capped and voltages are set to conservative values, as the manufactures don't want to spend the money of benchmarking every phone unit.

So we can simply have a combination of factors in CM11 that, for instance, makes heavy usage of both cpu cores and/or gpu and the heat dissipation we see could be from the tegra SoC instead of the modem. I don't know.

If that was the case, a good tuning of undervolting would encourage overclocking and could also get to the point where it would happen to some extent generating less heat than now. But who knows? Anyone willing to play with it? If you point me to the cm10.1 sources w/ overclocking we could take a look.

---------- Post added at 12:43 PM ---------- Previous post was at 12:36 PM ----------

As of Kitkat, Kernel Samepage merging was even oficially adopted as good practice by android team. The only remark is that it can consume some battery (because it continually reads your physical memory to search for duplicate pages), but that depends on usage. I'm pretty sure newer kernels have tuned it down a bit (most mainstream android phones are coming with 3.10.x, we're still in 3.1.x), so it might be more efficient for those. The same applies to zram: zram is supposed to be quite buggy for 3.1, but was adopted as good practice also for Kitkat. More info in https://source.android.com/devices/low-ram.html

Note that although they consider low ram only those phones with 512MB of ram, we're somewhere in between: from our 1G, quite a bit is reserved for the gpu, and our kernel memory management is perhaps a bit poorer, compared with 3.4 and 3.10 releases (consider most [but not all] later jelly beans and kitkat devices were designed and tuned along with these kernels).

And there are people on old phones that gets incredible performance from their 2.6.x kernels, or so I read (it seems like most kitkat unoficcial ports for Motorola Xoom are still on 2.6.x).
[Atrix 4G Android Development] Voldemort:
Z said that as well, that's why I reduced the installed apps from 40+ to 23.

Testing one by one will take weeks although I could already exclude the most common ones (WhatsApp, chrome, gmail, Waze, Facebook, LinkedIn and so on...).

The problem is I need a reliable device (a random reboot ain't a big deal) and in these weeks I really have no spare time :(
[Atrix 4G Android Development] Bactu:
Bluetooth keyboard not working

Hi!

I've recently installed v3 :good:

I have a touch-broken Atrix and I'm using dock's USB and BT Keyboard but I can't connect it. Previously I was using epinter's ROM and the keyboard worked OK. Then I've tried stock ROM and I coulnd't connect (the ROM didn't ask me to type on keyboard as Android 4 do, and this is the only difference I've noted).

Today I've flashed BigPart v3. The phone ask me to type on keyboard but then it disconnect it and turn of the BT light on the keyboard. If I try to connect it again, it tries but to no avail.

Any clues?
[Atrix 4G Android Development] palmbeach05:
Jw, would it be easier to make these flashable zips with the anykernel script, or are you changing thing besides the kernel?
[Atrix 4G Android Development] PolesApart:
As the kernel is rom specific (bigpart), I don't think it would gain us nothing, specially because I almost never repack the ramdisk nor change settings (except recently), just the kernel image and have a script to automate the kernel build and generating the zip. It would be nice if we were targetting several roms or something. At least from what I could grasp from reading the thread, I didn't know anykernel until now :)

---------- Post added at 09:55 PM ---------- Previous post was at 09:45 PM ----------

Kernel 2014.11.12 available.

- Fix for whisperd (the motorola daemon that handles the dock recognition). At least car dock & multimedia (the ones I have to test) are ok. Also please note that this fix is twofold: part kernel, part ramdisk, as the original kernel's ramdisk has wrong permissions to some devices IIRC.

- Attempt to force-enable 5Ghz wifi recognition from within kernel. I couldn't test for there are no 5 Ghz wifi around, accordingly to my previous-5ghz-tested notebook at least. Please report on that.
[Atrix 4G Android Development] homerwasa:
Easy peasy.

Flashify app works for updating cwm to 6.x IMG file

Then rebooted

Used cwm and flashed rom.

Fired right up.

Thanks all.

Miss this old phone.