yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] Starbomba:
I installed that ROM on my Atrix. It's hella smooth and i experiences no issues with Wi-Fi at all (haven't tried BT). It does have a shorter battery life than my epinter 4.1.2 ROM, but that ROM has the old chopped 2.6.32 Kernel which barely uses the GPU as it lacks any drivers to use it properly.

However, i did notice it rebooted several times by itself, some even while conencted to the charger at work.
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
use v1 recovery to flash v1 AND v3 recovery to flash v3 ONLY

"it worked for 2minutes" you mean connected to web and browsing & bt headset works and plays sound

or just "ON" is on for 2 minutes, does the "2 mins" scans wifi netork???

It seems the kernel failed to load the wifi (bcmdhd.ko / bcmdhd.bin) properly, logcat will complain wpa_supplicant not working, but this is nothing to do with wpa_supplicant

remember once you have that OFF problem, your kernel wifi module is dead, you have to reboot it flesh to test again

in order to capture the correct dmesg for polesapart to check, you should

in your terminal, su

toggle your wifi button, it should turns ON

in your terminal: dmesg > /sdcard/dmesg_on.txt

wait until wifi button went off (OFF)

in your terminal: dmesg > /sdcard/dmesg_off.txt

this will capture kernel's problem

at the mean time, you SHOULD revert to cm9/cm10 with YOUR ORGINAL recovery to make sure your WIFI HARDWARE is not broken...... very sad to hear that...
[Atrix 4G Android Development] thecjan:
[MENTION=4964106]PolesApart[/MENTION], in your kernel do we need custom .config ?
[Atrix 4G Android Development] TheAtrixGuy:
PolesApart, installed your V3 dated 23rd. Delay slightly reduced, but still I see a lag after a key press. The phone is running slightly cooler compared to previous version. Also noticed that the deep sleep mode was not being used, hence flashed bluesleep fix now, will update you on this.

Thanks again.

Edit: deepsleep working now. Checked using cpuspy
[Atrix 4G Android Development] cailloup:
"working for 2 minutes" =

wifi: I could connect and browse

BT: I could connect but it broke before playing music

So I flashed polesapart 10_23 kernel

Reboot

Reboot again

And did all this

in your terminal, su

toggle your wifi button, it should turns ON

in your terminal: dmesg > /sdcard/dmesg_on.txt

wait until wifi button went off (OFF)

in your terminal: dmesg > /sdcard/dmesg_off.txt

files attached

Thanks for help
[Atrix 4G Android Development] dattafilthyd:
Info.

Tried polesapart's oct 23rd kernel. Solves wifi getting losing conn. issue as mentioned.

I'd like to report one thing though. After using this kernel I reflashed to original kernel and it broke the wifi.

And had to flash poles' kernel again to get it work.
[Atrix 4G Android Development] PolesApart:
I remember some people having trouble with their wifi and the driver we use (bcmdhd) with epinter's CM10.1 but they worked fine with bcm4329 (IIRC one of the reasons epinters sticked with bcm4329 as the main driver).

If you to that (or cm9, if it works bcm4329, I'm not sure, there are other roms too) and it works fine, that would be a way to diagnose that. There's also the risk your wifi module is damaged. Or perhaps your main board is revision < 3 (I don't know how to check that, there should be something in the dmesg pointing out), there are slightly differences between some pins on this and the published diagrams mmontouri krystianp and others used to play with in the kernels are for hardware v3, IIRC. If that's the case it should be trivial to fix, a way to check is to make sure you still can run an older rom and have stable wifi.

EDIT: check your logs and you're running V3 (or later, if there's any) hardware.

---------- Post added at 07:03 PM ---------- Previous post was at 06:57 PM ----------

There could be two possibilities:

1) My zip of original v3 kernel is borked. Not sure if I've tried it actually, I used the scripts I used to once generate v2's :P

2) You used another means, like flashing boot.img (either fastboot, rashr or other means). That would not be enough as that would leave the previously installed (my kernel in this case) wifi module still installed while replacing only the main kernel image. The zip (assuming it's working) is the only way to go
[Atrix 4G Android Development] JUGOMAN:
latest kernel

Phone has been on for over 36 hr's, no reboots, whatsoever. WiFi fast and sanppy. Great job!!!
[Atrix 4G Android Development] PolesApart:
I'm looking into reducing the amount of reboots when not on WiFi now. It seems like I'm close to it. Fingers crossed!
[Atrix 4G Android Development] thecjan:
confirmed this issue when flash hporch32_v3.img wifi can not open.
[Atrix 4G Android Development] PolesApart:
If you need hporch32 I guess you'd have to flash the Original zip first and then flash hporch after that. It should work, then.
[Atrix 4G Android Development] ozgurgundogan:
With orijinal rom and orijinal kernel, and gapps stock 10.19 when I do not use wifi no reboot for 3 days. If I use wifi, during usage then off wifi no reboot but if I let the phone sleep with wifi open reboot occurs. There is no reboot with wifi when phone on use, but wifi and sleep seems couse problem.
[Atrix 4G Android Development] cailloup:
Flashed previous recovery and krystianp CM9

Wifi and bluetooth still broken :crying:, I could'nt even scan something

Dmesg attached

EDIT: also flasehd Epinter CM 10.2 and MROM CM7, still no wifi no BT
[Atrix 4G Android Development] JUGOMAN:
There is a " quick" WiFi fix you can try, here on XDA. It consists of placing a small piece of plastic under the mobo. Seems to help some phones, at least for a while.WiFi and BT reside on the same Broadcom chip. Hope it works..
[Atrix 4G Android Development] cailloup:
Found the topic

http://xdaforums.com/showthread.php?t=2149833

Let's try this ^^

EDIT: :victory::victory::victory:

It works! Currently listening to BT music!

What a weird fix!

Thank you :highfive:

Finder crossed it will last

Back on Z's V3, and polesApart 1023 kernel, looking forward to testing new developments :)
[Atrix 4G Android Development] JUGOMAN:
There seems to be a problem with the way this module is soldered to the Mobo. Also, this fix may last a minute, a day or forever. Tried it on one of my phone, worked for a while, then, no more.
[Atrix 4G Android Development] PolesApart:
If the fix don't hold, you may try to disassemble and reassemble the phone (up to removing the mainboard and putting it back again, there's probably no need to take the LCD or it's shield off). But you have to follow the disassembly guides to the letter, paying special attention to the antenna (connected to the coaxial cable), it's very fragile (it's a circuit board on PAPER, actually), and to the connectors on the bottom side of the mainboard. Also, to me it's harder to reassemble than it's to disassemble, but I've got some practice now (I have two atrix: one is new, the other only have the original mainboard and LCD, anything else I had to replace over time). If you don't have the practice you may buy a defective atrix to practice before going to the real thing, if you manage to find it cheap. IIRC bought one on ebay or aliexpress for almost nothing.
[Atrix 4G Android Development] cailloup:
It already stopped working lol, I put 2 more layers or pill tin and work again

I replaced the digitizer before without trouble, so I will disable if the fix doesn't hold
[Atrix 4G Android Development] thecjan:
thanks, so this is dead end? can not test your kernel?
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
Random reboots WILL PRODUCE tombstone files in /DATA/TOMBSTONE, can you plz. post them here, it is very valuable debugging information.

Those files are tomstone_00, tomstone_01, & on ... They are txt files, you can review them & decide which ones to post from leaking sensitive information :)
[Atrix 4G Android Development] Harrson:
BT Audio

Taken from this thread concerning the Galaxy Note I717 (though the posters report success on other devices) the source code for the fix for CM10 appears to be little more than altering numerical parameters.

Could it be of use here?

Additionally, I wonder if some of the configuration for this ROM (and others) was taken from ePinter's source, which may have been made before this fix was merged back into the CM tree?
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
HPORCH32

Okay, seems like panel settings is haunting a few of you, Plz. try the HPORCH32 package in the OP post :)
[Atrix 4G Android Development] thecjan:
when 4.3.1 mine Atrix need hporch32, now 4.4.4 do not need, don't know why?
[Atrix 4G Android Development] torecdude:
Excellent work Z! Iv'e been using this rom for a day now with Atrix 4g International Unlocked.

My findings:

After flashing with modded CWM phone would not boot and stuck in M red logo. It seems rebooting system from cwm isn't working since i tried couple of time but falied to boot. Took out battery and rebooted again. Atrix boot after about 2 min with Sim card error and no mobile data. Downloaded gapps as memebers posted in the thread. cwm fails to boot system again but normal boot after replacing battery makes the atrix boots very fast ~ 20 sec, Mobile data wifi are working. The rom seems very stable and i will try to use it for my daily driver. I will report additional bugs/issue in case i will come accros some.

Thank you for your amazing work!! :)
[Atrix 4G Android Development] guruzen:
Problem with CWM 6.0.5.0

I tried flashing the recovery CWM to install KK ROM. The ROM is simply excellent.

Calls, Camera, Mobile Data, Wifi are working great.

One problem I have is, when i boot into recovery it shows 6.0.5.0. And, i am not able to make a choice using the Power button. It just does not work.

I tried reflashing TWRP recovery to restore CM 10. Though the fast boot flash is successful, i still see CWM 6.0.5.0. In a way, i am stuck with KK+CWM 6.0.5.0

Major problem is, i am not able to flash a zip from recovery anymore because of inability to choose an option in recovery. Anyone faced the same problem, kindly let me know please.
[Atrix 4G Android Development] ubunthero:
Mirrors

Mirrored at:

http://www.kloumpt.net/files/atrix4g/Olympus_KitKat.zip

http://www.kloumpt.net/files/atrix4g/Olympus_Kikat_hporch32_img.zip
[Atrix 4G Android Development] torecdude:
rebooting from cwm is working fine now. Only had problems after installing rom.

Titanium backup is warning me that my Su binary is not updated to work with Android 4.3+. Fixed this by flashing updated Su binary from here http://download.chainfire.eu/396/SuperSU/ just flash from custom recovery and choose fix root at the end.

I noticed Wifi randomally crashes from time time and only works after 5 min. Anyone else experiencing this?
[Atrix 4G Android Development] guruzen:
Yes It works even with 77.38 Baseband on AT&T network.. Works great.
[Atrix 4G Android Development] Voldemort:
No such problems with WiFi for now...

I noticed I could not install Whatsapp with ART runtime, no issues with dalvik.

Attached tombstones

PS: I confirm mobile data works here too (Wind Italy)
[Atrix 4G Android Development] luckysquid:
anyone have this issue? I think that is present also in skype and all app that wake up a screen
[Atrix 4G Android Development] tonglebeak:
Hate to ask this, but for those of us who have a defunct volume button, is there an alternate recovery we can use for this? I can't recall which recovery version I had (it was gray and green, I think specifically made for the atrix) but it allowed me to move up/down using the home and menu buttons. I do have a new volume flex on order since I need to fix it anyways.
[Atrix 4G Android Development] plinkykev:
As far as I know, all the boot options require the VOL-DOWN to access CWM Recovery mode.

ROM's can be installed inside the OS using "ROM Toolkit", and I think that it and some other apps have options to "reboot into recovery", but once there you would then need the touch-screen CWM anyway, as all others rely on VOL UP/DOWN to navigate the menus and then the POWER key to select an option.

A new volume key flex is certainly the most logical way forward. Also, by the time it arrives, we'll have posted a few debug files here to maybe give Z enough info for a new version with some fixes (hoping for HDMI myself, so I can get using my lapdock again :) )
[Atrix 4G Android Development] guruzen:
Screenshots of 4.4.4 with Android L Theme

I am sure you guys are going to love it. I would say, it is a daily driver if you are able to compromise on the battery.

Here you go with screenshots of 4.4.4 ROM and Android L Theme.
[Atrix 4G Android Development] wax911:
Brilliant, thank you for your work! I'll this when my battery is full :victory:
[Atrix 4G Android Development] tonglebeak:
1 more q: I didn't see if anyone tried the newest kernels released by krystian for cm9 and 10.1 . Are those kernels not compatible with cm11? Probably a dumb question but I have to ask.
[Atrix 4G Android Development] Harrson:
Phone crashed while connected to my computer - I was moving a file to the microsd card, and it happened the instant I clicked the 'Turn off USB storage' button. There was (I think) a brief message saying something to the effect of "media is still in use," but I can't be sure. The file had finished copying, but the explorer window was still open.

After rebooting, I tried it again, and the phone took ~1 minute to disengage, but did not crash.
[Atrix 4G Android Development] palmbeach05:
Not compatible. Remember, ART did not exist on those versions.

Sent from my MB886 CM10.2/4.3.1
[Atrix 4G Android Development] Reiki21:
Isn't ART on the rom rather than the kernel itself? I did some ramdisk editing and got cm11 booting with KP's Jul 4 kernel. I also activated the ART runtime, it restarted and remade cache so I guess it is working regarless the kernel which was made for cm10. What I could not make work is wifi which I think is because the rom was compiled to work with the bcmdhd module and this kernel has the bcm4329 module.
[Atrix 4G Android Development] douglasroos:
I have a problem, after installation, boots ok, then shows Setup Wizard, select language and then a message saying that the setup wizard stoppedm and i can not configure my phone or enter in the homescreen.

Pleas help :)
[Atrix 4G Android Development] PolesApart:
I'd only need [MENTION=5181088]Zn7mkUKzN1r8aCIV[/MENTION] to give me a tip on how to compile an hporch kernel. Let's wait :)
[Atrix 4G Android Development] Reiki21:
KP added arch/arm/mach-tegra/board-olympus-panel_hporch32.c after getting Z's patches on August 31

Have you tried renaming that file to board-olympus-panel.c? I don't know if that is how it is done but you should give it a try.
[Atrix 4G Android Development] PolesApart:
Will try soon enough. If it's just that I can tweak something in Kconfig to automate the build.

In the mean time, I've just released the 20141016 version. I've tweaked memory allocations a bit, so it should be less laggy in some scenarios where we get out of ram. But the main change is an attempt to fix random reboots. These only happen on battery (when powered the phone doesn't deep sleep), because the modem tries to wake the phone main processor from time to time and the software that handles that seems to have a few bugs that triggers very seldomly. It's supposed to affect the original kernel but for some reason it seems easier to hit it with my previous kernel, probably something to do with the cpu hotplug change.

I'll be very busy for a few days but I'll try to collect the bug reports and responding by the next weekend.
[Atrix 4G Android Development] rhcohen:
I've been running v3 with 1023 kernel, with wifi and mobile data both on, sometimes in presence of a wifi signal, sometimes not, and sometimes plugged into wall and sometimes on battery, for over 2 days with no reboots. Very nice! (Something to do with my particular hardware?) Now a question: I had found that I was getting better battery life with ART than Dalvik. but you (@PolesApart) said this kernel won't work with ART. Is there a reason for that? Same restriction on the 10/26 kernel?

I will likely have some time in the next month to more actively help in kernel debug/development and have a particular issue related to audio that I would like to investigate, but will post that at the kernel thread.
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
Just replace arch/arm/mach-tegra/board-olympus-panel.c with board-olympus-panel_hporch32.c

In KCONFIG, you may also disable OLYMPUS_SYSFS :)
[Atrix 4G Android Development] PolesApart:
Your mileage may vary. 1023 works fine for me too, but when I'm on the move (3G and no wifi for quite a while) I see random reboots. I also see many many reboots when I try to listen to bluetooth on my car audio, unless I turn off 3g

. At home, with bluetooth headset + wifi connected, it works flawless.

As for your question, the kernels are supposed to handle ART just fine, it was just the Xposed framework (needed for unbounce) that AFAIK is still incompatible with ART. With unbounce active I get good battery duration (2 days and 10 hours w/ wifi active and radio off [airplane mode, and then wifi on]). But you can trade off one thing for another just fine.

On a sidenote, ART isn't officially supported by cyanogenmod and Z had found some incompatibility between it and selinux, so you may want to disable selinux restrictions (I use selinux mode change from play store). There are a few apps that misbehaves on art, but I never used ART for more than a day so I didn't notice anything bad. People say whatsapp doesn't install if you're running art, but if you already had it installed when you migrate, it runs just fine.

---------- Post added at 08:25 AM ---------- Previous post was at 08:12 AM ----------

Do you know if we can put hporch settings at runtime using OLYMPUS_SYSFS ? IIRC epinter used something like that. If so It would simplify my build, I would only keep a separated ramdisk for hporch and merge the same kernel. Both my phones run fine with default kernel so I wouldn't know.
[Atrix 4G Android Development] Voldemort:
I am testing poles' kernel as well and I didn't see any reboot lately (I must say I don't check the phone 24/7).

Still I am thinking of switching back to Z's v1 ROM, because on v3 apparently something breaks the vibration (it stops working after 1 or 2 days and I have to reinstall everything from scratch in order to make it work again).

Any clue on this?

Will Poles' kernel work on v1?
[Atrix 4G Android Development] Reiki21:
I think Poles' kernel should work with V1 if you first flash Z's ROM V1 using Z's recovery V3 and then flash Poles' kernel without rebooting. That way partitions will be the same as V3 because of the kernel but the rom will be V1.

By the way, I have found a problem but I'm not sure if it is related to Poles' kernel or my sdcard. When I mount both storages using usb, transfering files to the internal storage works as expected but the problem is with the sdcard. If I first transfer a file to the internal storage and then, after that, transfer another file to the sdcard it works without problem. The problem is if I first transfer a file to the sdcard, the transfer will freeze. I become unable to mount both storage with usb until I reboot, not even adb through usb. I tested Poles' kernel from 20,23 and 26 after a fresh install. With Z's included kernel it seem to work as it should. Does anybody have the same problem?

I hope I made myself clear since English is not my native language. I'll try to get a logcat and keep testing just in case it is related to my sdcard.

Edit: Got the logcat, since I could not adb through usb I had to do it with the phone.
[Atrix 4G Android Development] rhcohen:
As it turns out I think I was just lucky. After 3 days started getting reboots on the 1023 kernel, three in several hours. Will try 1026 now. RE the idea of combining with unbounce, I notice that the play store link noted in this thread indicates the app is unavailable in my country (U.S.) -- I wonder why? I guess I can download from the xposed xda thread.

UPDATE: I'm getting frequent restarts of something (I think modem) while wifi thethering.
[Atrix 4G Android Development] PolesApart:
Please attach a "dmesg" output (as root) right after the transfer fails
[Atrix 4G Android Development] Reiki21:
I hope I did it right.

Edit: attached another one just in case.
[Atrix 4G Android Development] PolesApart:
The log wasn't useful, but I could reproduce the problem. I have changed two things that could broke that, I'll look into it.
[Atrix 4G Android Development] PolesApart:
I've released a new kernel version, please try it. I could copy a large file to external sd w/ this. It's slow (and I don't know why), but it works.

There's also a hporch32 version too.
[Atrix 4G Android Development] iTaisHi:
i am exprience about 1 reboot a day.

Atrix CM11V3,

gapps: pa_gapps-modular-micro-4.4.4-20140901-signed

recovery: recovery_olympus_kitkat_bigpart_v3

working witout WIFI and BT at all. (just network Data)

** have about 25 apps that i added (installed)

are you sure the vibrate issue is because of V3 ?

the vibrate in my atrix CM11V3 work just fine for over a week.

i also had a bad exprience with that ,

work for me for couple of minutest, and than no more.

that it certainly a hardware fauilre.

Dear PolesApart,

first, thanks for your holy great job !

if i want to install your updated kernel,

should i flash the zip file through the recovery ?

is ok to do it in that order :

flash Z's CM11V3

reboot

flash micro gapps

reboot

flash youre kernel

reboot

?
[Atrix 4G Android Development] PolesApart:
You can install the kernel after flashing cm11v3, and then reboot, let the phone loads, reboot again and flash gapps, i.e. no need to reboot between installing the rom and the kernel.

I'm assuming that you either had v3 installed before, or installed the v3 recovery and did all the cleanup steps in the original post, including formating the partitions. AFAIK you can get away without that if you're just reinstalling v3.
[Atrix 4G Android Development] iTaisHi:
i always make all the cleaning steps when installing new Version.

i have two atrix units,

#1 : with CM11V3 - original Z's Kernel - with Micro Gapps ----> this is my daily use Atrix.

#2 : i want to try on it your new Kernel, and want to install it from 1st step - fresh new installation.

update

this order worked fine for me :

1. flash Z's CM11V3

2. reboot

3. flash micro gapps

4. reboot

5. flash P's kernel (271014)

6. reboot

will check it.

PolesApart,

is the flashing a new kernel is reversiable ? (i.e. flashing the 20141026 after falshing 20141027?),

or better make a backup with CWM ans restore from it?
[Atrix 4G Android Development] PolesApart:
In principle, the order is not important for the kernel, and anything works (or should work). The gapps is the boring stuff.

All v3 kernels should be totally reversible among themselves, if you flash from the recovery, using the zip, and that include the original one too. But it doesn't hurt to keep a somewhat recent backup around, as sometimes things go sideways. I've playing around with reverting kernels these days and what I can say is: so far, so good. :laugh:
[Atrix 4G Android Development] Voldemort:
I have 49 apps and I am quite confident it must be one of those, but on V1 (and on any other ROM) I never had this issue. :(
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
iTaisHi, you mean Wifi & Bt are not working on original v3 or with Pole's latest kernel?

or your phone does not have woking Wifi & Bt since v1?

the situation is very troubling...
[Atrix 4G Android Development] PolesApart:
Data encryption

[MENTION=5181088]Zn7mkUKzN1r8aCIV[/MENTION] I don't know if you looked at this article, but it says a lot about /data and encryption: https://source.android.com/devices/tech/encryption/index.html
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
I will only look at that after trying on Android L building, further 'enhancement' on 4.4 will be on held on my side, but as for v3m is coming around the corner, I want to confirm with you that your kernel github is now suitable for production use by now, right ? :)