yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] PolesApart:
New "beta" kernel version. Just two minor changes: Disabled "CONFIG_NVMAP_HIGHMEM_ONLY" (it should allow the 3d engine to get more memory, on the other hand, it was one of the things I disabled for "stable" and it might be related to less reboots. Let's test and figure out) and merged [MENTION=4641721]krystianp[/MENTION] focuser improvements, try taking photos with your camera and comparing focus behavior.

Cheers.

P.S..: I suspect the permissions problem we were discussing previously to be rom-related instead of kernel, so I'm not looking into it as I'm rom-ignorant :D
[Atrix 4G Android Development] netinetinet:
I had a recent kernel reboots with tethering, with new beta everything is ok, thank you
[Atrix 4G Android Development] netinetinet:
For me this is total nostalgy .. I have Nexus 5, but I threw sim card into my Atrix .. Thank you all, for your hard work ..
[Atrix 4G Android Development] palmbeach05:
It is pretty amazing how this device won't die. Thought we hit the brick wall at 4.3 and 4.4 (4.3 was reported to have issues and then there was a long time between that and 4.4), but it just keeps going.

I know a lot of us are waiting for LP, but from personal experience on 5.0-5.0.2, it might be a good idea to wait for 5.1
[Atrix 4G Android Development] iTaisHi:
Thanks P,

Still didn't flash the last one,

I am only two days with previous one (21.3.15).

Still check it .

Only thing I see is waking up device take 5 sec '.

I didn't really understand if I should already upgrade to the last one , or it would be good also checking this kernel?

One more thing,

I see 723M memory.

For what I remember , I used to see bigger amount of memory....

Sent from my Atrix 4G KK444, Z's CM11v4 , P's 20150321 kernel.
[Atrix 4G Android Development] PolesApart:
The recommended kernel is the one you're using.

I'd suggest everyone to try it for a few days and report to me *if* you get *all* of these conditions together:

- using it on wifi

- using it on 3g for at least a few hours

- both scenarios above, but repeated both on wall charger or dock and on battery

- manage to get at least 3 days of uptime (i.e. no self reboots in between).

If you do get reboots or manage to get 3 days of uptime on those conditions, then please repeat with the other kernel and also try comparing pictures and tell krystianp or myself about it (and if someone leaves their phone idle 24h/7 on wifi please don't bother reporting anything other than the focuser as I can't use the other information for anything right now).

I'm also interested in somewhat heavy 3d games or apps or benchmarks, see if they behave better/worst between releases. In case of benchmarks please take an average score of a minimum of 5 subsequent tests on either kernel (use the same number of attempts on both cases) before concluding a kernel goes better than the other, these benchmarks fools us.

In maybe a week or two I'll probably have a better idea if the toggled config option has any impact on stability/usability and if it doesn't negative impact anything, the beta will be promoted to stable (same kernel, won't change anything other than declaring the current stable obsolete), otherwise I'll put to rest the config option and use the stable one as a basis for next stable kernel (which currently would have just the focuser change in mind).

As for the delay, YMMV, but I also have it many times, other times it's instant, and IIRC all my december kernels had worst delay and it was all the time.

---------- Post added at 10:15 AM ---------- Previous post was at 10:07 AM ----------

I think that I raised the dedicated memory, but I'll double check that. Nevertheless, for a while I took 8MB from the (originally) 16MB memory dedicated to the HDMI framebuffer and gave it back to the system, but my latest kernels reverted that, so you should see at least that much less memory. Now that krystianp is working to have HDMI working we'll probably need it anyway :)

As a side note, today most memory used by the graphics engine is reserved for it, so our 1G has that much less memory for general usage. At least in theory, newer kernels (>3.4 IIRC) would have the ability to get rid of most (but not all) of the dedicated video memory even on our tegra2, so both general purpuse apps and 3d graphics ones would compete for ram dynamically: non-graphics intensive could use more memory, and graphics-intensive-only too. But as the tegra 2 has some limitations on this I don't know if this development went mature and if it had negative performance impacts, but I'm pretty sure it was developed *before* nvidia dropped tegra2 support entirely, so the code should be there somewhere.
[Atrix 4G Android Development] joshua764:
PolesApart. who are doing great work. hopefully soon have working Hdmi. still have great battery consumption and a long wait to load it. you have any suggestions for this? hug.
[Atrix 4G Android Development] iTaisHi:
There is a nice APP that logs the reboots.

"Reboot logger" (be.watana.rebootlogger)

Easy way to look after the reboots and know if at night you had more than 1 reboots.

I currently not finding it in the play store,

(Or not searched so good)

if someone want ,I will try upload up here.

Sent from my Atrix 4G KK444, Z's CM11v4 , P's 20150321 kernel.
[Atrix 4G Android Development] iTaisHi:
Unfortunately I had to go back to 20150205 kernel.

20150321 caused the device work very slowly, some freezes, and eventually WiFi stopped working.

I had to go back to 20150205 to verify that the non working WiFi is not caused of a hardware failure.

The WiFi symptoms was the I turn it to "on" , but the button is not getting blue , and got back to "off".

For know I will stay with that version,

Unless it would be useful to check something else on the new version...

One more issue I have for along time already :

When start camera app , sometimes I get an error : "can't connect to camera".

This error come and go, and I couldn't see any pattern of the reason for that.

The camera in my device is not stable at all.

Its could be hardware issue,

Any idea of how to verify it ?

Sent from my Atrix 4G KK444, Z's CM11v4 , P's 20150205 kernel.
[Atrix 4G Android Development] rhcohen:
I'm unclear on the order in which you would like tests of the kernels. I've been on Feb 05, just updated to the most recent (Mar 26). Any reason I should test March 24 before going to March 26? (I can already report that some test photos with stock camera and March 26 look pretty good; too soon for comments on stability.

Also I'm having a problem with the numerical touchpad for both Feb 05 and March 26 -- not sure how long the problem has been there. The middle row of my touchpad -- numbers 4, 5, and 6 -- does not work for entering tones once a call has been initiated. (To test, make a call; then once the call has started ringing, or after answered, press some more keys.) The keys all work fine for making calls. So clearly a software issue. Anyone else having this problem? Anyone know a workaround, or how to get at the source of the problem?

UPDATE: in first 5 hours on 3/26 kernel, 1 freeze and one random reboot. Will try 3/24 kernel.
[Atrix 4G Android Development] todobarato:
Hello PolesApart,

I was testing beta stable kernel: PolesApart-krnl-ZKK_V3M-20150326.zip

The camera focus works OK.

I get after about 4 hours the deep-sleep of dead ...it only wake-up with battery remove :(

Best regards.
[Atrix 4G Android Development] PolesApart:
CPU hotplug seems to make deep-sleep death more frequent, but if we have it even without it (I even experienced myself yesterday), maybe there's a way to find the culprit, and more importantly, if it's workaroundable (that isn't a word, is it?). Unfortunately there are no logs of these events, perhaps [MENTION=4641721]krystianp[/MENTION] has some ideas.

---------- Post added at 08:52 AM ---------- Previous post was at 08:45 AM ----------

Let's keep reading ...

And that was your reason right there: the 3/24 is supposed to be more stable. See if 3/24 on average gets you past at least one day without reboots.

I'm testing what would be the equivalent of 3/24 + focuser patch from 3/26 and it seems more stable for me than 3/26, but I did get a freeze and a reboot in two days testing (and I had to swap batteries today), so I'll test it for a few more days. Please keep testing, preferably the 3/24 one. The main focus of the testing is to see if we can conclude in favor of one or another in terms of stabiliy. 3/24 uses a different configuration than previous kernels, 3/26 uses the same. If we can assure 3/24 have better stability we'll keep it's config in next releases, otherwise we'll keep as it was before and base our future work in 3/26. But I need actual testing because my first impressions on 3/24 may have no significative statistical value.

Hit: 3/24 is hporch32 version of 3/21, they're the same otherwise.
[Atrix 4G Android Development] J()KER:
PolesApart, what about mic issue?
[Atrix 4G Android Development] rhcohen:
OK, testing 3/21 now. yes it would be nice to have the camera improvements merged with whichever of 3/21 and 3/26 proves more stable.

Poles, or someone else -- can you test to see if you have the keypad problem I reported? That is, middle row (numbers 4,5,6) of touch-tone keypad doesn't work for generating tones during a phone call (that is, once a call is in progress; works fine for making the call in the first place). So I can't respond to an automated phone request like "if you know your party's extension, press 5 now".
[Atrix 4G Android Development] bobmorsy:
[MENTION=4964106]PolesApart[/MENTION] I have tested both 24 and 26 kernels and I think that 26/3 is a bit more stable. yet both of them drain the battery too fast(the phone heats even when the screen is off), and I can assure you that the 5/2 kernel is way way better at energy saving(no heating). is it the tegra hotplug?

Thanks for your efforts!
[Atrix 4G Android Development] PolesApart:
It's likely to be the hotplug. In theory even without hotplug, most of the work would happen on a core while the other would be in deep sleep, which is not the same as turning it down entirely but should be closer. In practice the 2nd core may be requested or having trouble going to sleep, and that would drain battery fast. But if it's getting warmer even when idle, it could mean one of the cores isn't deep sleeping, or the phone is waking up too often. I'll try to see some stats on my phone and see if there's any hint. My battery isn't hanging on too.

---------- Post added at 09:39 AM ---------- Previous post was at 09:37 AM ----------

Weird, never noticed this. I'll see if it happens here.
[Atrix 4G Android Development] rhcohen:
It may well be a temporary quirk of my phone. In desparation I found/installed a DTMF tone generator app. After opening and trying it, it seems the regular phone keypad has been restored to normal functioning! I did a reboot to see if it was always going to be necessary to open the tone generator app before placing a call that would need tones during the course of the call, and found that the keypad was still functioning properly. So installing/opening this app once fixed the phone. Will next try uninstalling the tone generator app. In any case if someone else has the problem, we have a workaround.

RE the kernels: for me it looks like 3/21 is possibly more stable than 3/26 (but still not totally stable). I had a freeze and a reboot in first few hours of 3/26, and so far one reboot during first 16 hours on 3/21. Will keep testing. We may be experiencing something like [MENTION=4641721]krystianp[/MENTION]'s experiments with the kernel on CM9 and CM10.1 -- many iterations varying pinmux settings in the kernel; testers had varying results with regard to freezes and reboots, perhaps dependent on details of the phone hardware.
[Atrix 4G Android Development] krystianp:
I can't relate to kk but I'm constantly monitoring two atrixes. One, my former daily that now uses my wife, has over 2 days of uptime, no reboots or hangs. Second one I'm using on daily basis as testing device during app development, also is stable with no reboots. Though on both devices I have installed cm9, both use latest cpu hotplug (which suspends hotpluging after screen is turned off). My guess it's sdhci related. KK uses different bcm4329 driver, maybe there's a problem...
[Atrix 4G Android Development] todobarato:
Hello Polesapart,

I get after about 37 hours one freeze that ended on reboot, but I can say probably my fault I was testing one scrip today that disable the 2nd core and enables it if high load, the freeze was after wake-up only one core was active. The scrip isn't the reason has this works ok on CM7 without any freeze.

I will say, the most stable kernel the 21 PolesApart-krnl-ZKK_V3M-20150321.zip

Best regards,
[Atrix 4G Android Development] krystianp:
That script most probably doesn't do anything to cpu. I don't remember exporting anything cpu related to userspace and i suspect in cm7 faux123 had that exported in his kernel. But if [MENTION=4964106]PolesApart[/MENTION] enabled it the way faux123 did then I'm wrong;)
[Atrix 4G Android Development] todobarato:
Hello,

it is one scrip from me, it checks if the CPU 1 is online and disable it with the command: echo 0 > /sys/devices/system/cpu/cpu1/online

one second script check if the CPU 0 is with 1000Mhz every 7 sec and enables the 2nd core.

I am not sure if the action to disable the 2nd core manually has freeze the system, but I think was the reason.
[Atrix 4G Android Development] krystianp:
Damn, i totally forgot there is access to cpu:D if there is no protection mechanism to check whether there is work executed or queued only for second core (and it couldn't be rescheduled to first core) then it could get stuck. There is one parameter that on gb kernel was 0 and on was somewhere around 300 afair. I used old value but maybe it's safer to use higher value, it had something to do with cpu transition time.

Edit:

Had first deepsleep hang. Only difference was that I had inserted simcard and had turned mobile data on.
[Atrix 4G Android Development] rhcohen:
Hello [MENTION=4641721]krystianp[/MENTION], nice to see you posting here!

Update on my experiences, which is that I'm not seeing any substantial difference in reboot frequency between Poles's 3 most recent kernels (Feb 5, March 21, March 26). For me I seem to get at a few reboots per day no matter which. I DO have wifi and cell data on all the time, and also I have an external SD card installed all the time, if any of that matters. It does seem that the March 26 kernel has better camera focusing, so I will go back to that one for a while and see what else I notice.

Update on the touch-tone generation problem, it is back (#4, 5, 6 don't work if pressed while a call is in progress; they work OK for making a call). Not sure now what makes the problem go a way or come back. I'm curious if others notice this. I think [MENTION=4964106]PolesApart[/MENTION] was going to check.
[Atrix 4G Android Development] PolesApart:
Do you always answer with the phone in vertical (portrait), right? Mine was fine. Perhaps your touchscreen is intermittently failing? It's one of the pieces to fail most often, and it often does fail on just a stripe (sometimes vertical, sometimes horizontal), although every time the touchscreen of atrixes failed, it never was intermittently.
[Atrix 4G Android Development] rhcohen:
Thanks for checking! I don't think my screen is failing. The row of buttons (4,5,6) works every time for placing a call. It is true that these buttons are in a different location on the screen for placing a call than for the during-call dialer. BUT -- as mentioned I installed a DTMF dialer app, which has a row of numbers in the same position as the 4,5,6 row of the during-call dialing pad -- and that works every time. So it seems to be software.

By the way, the orientation of the dial pad for during-call dialing is always the same (portrait), at least for me, regardless of how the phone is oriented when I answer a call.

UPDATE: Looks like my problem is hardware. I did a touchscreen test and I do seem to have a bad zone. Time for a new phone, I guess :(.
[Atrix 4G Android Development] PolesApart:
It's not exactly a breeze to swap the touchscreen, but it's cheap. I've swaped two times (four if you count a fake one I bough on ebay and one I managed to destroy while learning how to swap). The key secrets are to not destroy the flat cable (nor anything else) and to glue well. I recommend buying the ones which comes already glued to the (new) frame & glass, altough the glass is probably cheap material instead of real gorila glass. But to be honest gorilla glass 1 is not that impressive, so put a protective film and be happy :D Also, I suggest buying an addititional flat, the one that have your earpiece and front camera , because sometimes it's the culprit and/or you could damage it replacing the touchscreen. I bought one and have stored just in case, the earpiece is the 2nd thing to break more often, just losing for the touchscreen.

Now if you really want a new phone, I would buy a gen 2 moto maxx, but in my country they're too expensive (as in you feel robbed even if you do have the amount), so I'll wait.
[Atrix 4G Android Development] square_eyes:
Hi, I have switched to this ROM to use my Atrix in its dock as a DNLA UPNP music player. Everything seems to be working well except that it drops WiFi.

The forum is over 100 pages long and I couldn't see anyone with my specific scenario in a search. i.e. wanting stable WiFi, and not needing a SIM or data connection.

Wiping Dalvik seems to renew my ability to get back on to WiFi, but after an hour or so it drops out and isn't able to reconnect.

Any ideas?

Thanks for keeping the Atrix alive!

Edit: Obvious, but I put it in flight mode and enabled WiFi. It seems to be working for now :good:
[Atrix 4G Android Development] iTaisHi:
Isn't flight mode suppose to disable WiFi ?

Sent from my Atrix 4G KK444, Z's CM11v4 , P's 20150205 kernel.
[Atrix 4G Android Development] square_eyes:
Yeah but...

I did this to disable all radios, then only enabled WiFi. It seems to have curbed the drop outs for now.
[Atrix 4G Android Development] vidra:
GAPPS

How did you install GAPPS. I keep getting error 0 ?

txn:confused:
[Atrix 4G Android Development] asparaz43:
Hello, wipe cache, Dalvik, date, format system, preinstall, osh, flash rom reboot, then switch off and falls into recovery and flash gapps and reboot ;)
[Atrix 4G Android Development] vidra:
Error 0

Hi,

I keep getting error 0 when trying to install Gapps.

How to I fix it ?

Tnx,
[Atrix 4G Android Development] iTaisHi:
Are you using cwm version 6.0.5.1 ?

Is it a compatible gapps for kitkat?

Sent from my Atrix 4G KK444, Z's CM11v4 , P's 20150205 kernel.
[Atrix 4G Android Development] Pesky person:
Deep sleep

I know, this issue is known, but still, I would like to ask. I have problem with deep sleep (tried hporch kernel in V4 package and 04262015 with similar result). In one moment, everything works like a charm. Rarely phone goes in deep sleep, power consumption is about 0,7-1,5%/hour. But after restart, it never goes into deep sleep and takes about 4%/hour. I tried uninstall most apps, turn off voice dial and other...notning changed. I have no idea, what changes the situation.

Is any app, service or kernel, I should turn off/try? This is only problem, almost everything work fine and it's quite stable. Good job!
[Atrix 4G Android Development] iTaisHi:
AFAIK , battery drain I still a known issue that haven't solve yet.

Just for checking (it is not useful) you can try leave your device for one day with no sim and WiFi , and see how slow the battery drains (I am not quiet sure, but as I remember it's drains very slowly)

As for deep sleep , AFAIK , the last or couple of the last kernel versions are not quiet stable , those kernel versions used to check specific issues.

Look in my signature what kernel I use.... Its more stable (for me).

Sent from my Atrix 4G KK444, Z's CM11v4 , P's 20150205 kernel.
[Atrix 4G Android Development] Pesky person:
Problem is, in (default) battery stats, "phone idle" is still active. In this case, I have 4% without touching device (wifi off, mobile data off). Sometimes, phone works OK (till reset...by me or mistake...doesn't matter) and in the same situation, it has only 1% (1,1 in older, 0,5 in newer kernel) and "phone idle" is (almost) not active.

I'm curious, what could be the reason.
[Atrix 4G Android Development] iTaisHi:
Sprachen Sie Deutsch ? ;)

I am little bit lost you...

Do you mean that your phone is not get into "idle phone" status ,

that is suppose to be a low battery drain mode ?

By the way, in my device I saw now that "idle phone" is 23% :confused: and its getting down as long as I am using more the phone. ( and other criterion getting up, like "screen", "Google services" and etc)

Keep talking tomorrow.... Have been a Long day today and its too late.

Gute nacht

:thumbup:

Sent from my Atrix 4G KK444, Z's CM11v4 , P's 20150205 kernel.
[Atrix 4G Android Development] Pesky person:
I was confused (doing two things in one time) and wrote rubbish, sorry. I mean in battery stats, my phone was awake all the time (even I don't touch him) and power consumption was the 4%/hour. And when I'm lucky, phone start to behave "normal" and goes into sleep till the reset or turn off (by user or by error, doesn't matter).

Thx for the tip, I'm trying 20150205 kernel and looks stable.
[Atrix 4G Android Development] vidra:
Hi,

I flashed this rom and it's great - but I am heaving an issue with my screen.

When the phone goes to sleep (screen turns off) I sometimes can't wake it up -

the buttons light up and I can sometimes see some white lines on the screen.

But the image won't show. The screen can feel touches, because I can unlock it (i can Hear it) but screen still won't

show the picture.

How do I fix it ?
[Atrix 4G Android Development] nozorrog:
Do flash the hporch32 kernel.

It's here: https://www.dropbox.com/sh/1w47t4vofyiwveb/AAAyK69Lv3z3oSgGI4Qoh9nha?dl=0
[Atrix 4G Android Development] vidra:
Which one ?
[Atrix 4G Android Development] nozorrog:
You choose.)))

For me the 20150205 is the best.
[Atrix 4G Android Development] leopard_fist:
I get 2 or 3 random reboots per day on this rom, or an incoming call will sometimes lock it up, or playing a youtube video will sometimes lock it up. Also, the phone screen will sometimes play "peek-a-boo" with me -- meaning, for example when i'm trying to check voicemail, the screen will go off before my finger can press the keypad, then after i press the power button a few times the screen will come back on - then will go off again before I can press the keypad... almost like the phone is doing it on purpose to annoy me...

anyone know of any troubleshooting or maintenance steps i can take? i need a phone that works :eek:
[Atrix 4G Android Development] iTaisHi:
Silly question : did you try flash the ROM again ?

Did you flash it exactly like mentioned in op ?

Sent from my Atrix 4G KK444, Z's CM11v4 , P's 20150205 kernel.
[Atrix 4G Android Development] runekock:
As to reboots, this is a well-known problem. You can try some of the different kernels from poles-apart:

https://www.dropbox.com/sh/1w47t4vofyiwveb/AAAyK69Lv3z3oSgGI4Qoh9nha

but don't expect perfection. Also disable wifi or mobile data if you don't need it.

The peek-a-boo thing is probably related to the proximity sensor: by design the phone goes back to sleep if it thinks it is in a pocket. I don't know how to solve it.
[Atrix 4G Android Development] bobmorsy:
I suppose this device has been officially abandoned?:confused:
[Atrix 4G Android Development] iTaisHi:
Absulotly not !

Working on ver 5.0

Sent from my Atrix 4G KK444, Z's CM11v4 , P's 20150205 kernel.
[Atrix 4G Android Development] palmbeach05:
I suppose you never saw the Mokee 5.0.2 thread
[Atrix 4G Android Development] Arichman:
What Gapps are you guys using with this?

The Rom flashed just fine but I keep getting "(Status 0) Installation aborted." whenever I try to install Gapps.
[Atrix 4G Android Development] palmbeach05:
Visit droid x's cm11 thread, the gapps they use work on our device