yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] guruzen:
I have seen the default launcher is not as good as the Google Launcher.. I deleted Trubchet and installed Google launcher.

I see an infinite loop of "Service IPC" in your log cat that can be solved by my fix here

http://xdaforums.com/showpost.php?p=54940267&postcount=121

I hope with Google Launcher and this fix, it can lighten the load thus avoiding freezes because of CPU load.

---------- Post added at 03:55 AM ---------- Previous post was at 03:45 AM ----------

'There are vibrate apps that u can download to confirm if its a hardware issue or something to do with the software.
[Atrix 4G Android Development] cailloup:
All done, CMHome.apk deleted, hwcomposer replaced, let's see

Help much appreciated
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
URGENT patch for V3

There is a bash bug in Unix world, but CM patches are incomplete.... V3 still not completely safe, so

[ http://www.xda-developers.com/android/bash-patched-shellshock-vulnerability/ ]

Plz. immediately flash a new bash under the following link:

[ http://xdaforums.com/android/software-hacking/dev-lastest-bash-android-t2898295 ]
[Atrix 4G Android Development] guruzen:
Thanks Z. Have a question.

Why is the binary so big? 3.6MB. Existing one is <500KB. Any insights?
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
From what I saw from the github, that bash is built from GNU repo directly with NDK. It is a 4.3 version, CM is a 4.1 version and not completely patched, V3(CM version) does provide some protection from bash bugs, but not all of them. Given bash attack on Unix system is rampant today, it is better be safe than sorry.

Refer to the xda bash forum, there is a test sh program called bashcheck.sh & shellshocker.sh from https://shellshocker.net that can test ALL bug patterns in bash

just do that

adb push TESTPROGRM /data/local/tmp/

adb shell

cd /data/local/tmp/

./TESTPROGRAM

you can compare V3's bash against the bash fixed
[Atrix 4G Android Development] rhcohen:
Per your suggestion to flash, I downloaded the "flashable version" and attempted to flash with Recovery. Installation does not succeed: "(Status 0) Installation aborted". Presumably, I can download binary and put in /system/xbin, replacing the bash that is already there, assuming I succeed in mounting /system as rw. Is that the method you had in mind?
[Atrix 4G Android Development] cailloup:
Same here, installation aborded with flashable zip, waiting for instructions
[Atrix 4G Android Development] cailloup:
Attached are 3 logcats

- 2 reboots

- 1 freeze
[Atrix 4G Android Development] ALANKO:
For HDMI try Nebtop app this may fix hdmi issue as it does on early versions of KK :)
[Atrix 4G Android Development] andresrivas:
Nebtop was designed for simulating the hd dock. The hdmi issue is far deeper

Enviado desde mi Moto X usando Tapatalk 2
[Atrix 4G Android Development] rhcohen:
Lacking any responses about the flashable zip, I went ahead and downloaded the binary file. Using ES File Explorer, with the Root Explorer option turned on, it was pretty straightforward to mount / and /system as RW, move the bash that was already in /system/xbin out out of the way (to a folder I created, not in my path), then move the newly downloaded bash into /system/xbin, then set permissions the same as other files in that directory (rwx r_x r_x) (and then change the mounts of / and /system back to R only).
[Atrix 4G Android Development] joshua764:
I already have the permissions with root explorer. how to know if we vulnerable?

Edit: application says I'm still vulnerable !!

Enviado desde mi MB860 usando Tapatalk 2
[Atrix 4G Android Development] Dirtyguyy:
Screen Goes Black

Hey ive installed this rom and it works perfectly but when i go to lock screen and try to get back i get a black screen..stay black untill i remove the battery and turn on the fone again..and again when i lock the fone and try to get back black screen is showin..

PS. the funcion keys turn on and the voice..when i get a phone call i get a tearing screen..black and red and blue..i have uninstalled the rom and installed it again but same problem...thank u.
[Atrix 4G Android Development] thecjan:
try to flash 'boot_olympus_kitkat_bigpart_hporch32_v3.img'.
[Atrix 4G Android Development] Dirtyguyy:
okay thankss i will try now

---------- Post added at 05:03 PM ---------- Previous post was at 04:47 PM ----------

still same problem after flashing :(
[Atrix 4G Android Development] guruzen:
[HOWTO] 4.4.4 Atrix Battery fix

hporch32 is for both recovery and boot. did you flash both?

Also, try having "Security" as None. Just power button unlocks the phone. Have enough time gaps between lock and unlock.

---------- Post added at 10:09 PM ---------- Previous post was at 09:52 PM ----------

Execute the vulnerability commands from https://shellshocker.net on your device with the existing bash that came with the ROM and then patch the new one and test it.
[Atrix 4G Android Development] JUGOMAN:
Did not flash this file on mine, yet is working very well. What is it supposed to do?
[Atrix 4G Android Development] guruzen:
If i remember it right, it was created to fix screen tearing issues.. A long time ago during CM 10 days.
[Atrix 4G Android Development] cailloup:
After 2 days without wifi, I turned it back on and the result is, with very light use

- ~ 1 reboot a day without wifi

- ~ 1 reboot an hour with wifi

Log attached, I don't know what to conclude from them :(
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
You should REDIRECT your findings to BASH form for help...

[ http://xdaforums.com/android/software-hacking/dev-lastest-bash-android-t2898295 ]
[Atrix 4G Android Development] palmbeach05:
If your device is working fine with the non hporch version, do not flash the hporch version.
[Atrix 4G Android Development] rhcohen:
For what it is worth -- I patched my system with the patch Z recommended (by downloading the binary and moving into place), then tried the individual shellshocker.net tests. I find my phone passes all except for vulnerability 4. I primary shellshock vulnerability is tested by shellshock's test #1. So the patch fixes that, but leaves open another vulnerability.

But -- I note that my laptop, a Macbook Pro, running the latest OS, and running Apple's officially released Shellshock patch for Bash, also does not completely pass the shellshock tests (it fails test #7).

I've also been advised by an IT expert that these vulnerabilities are mainly an issue if you are running a web server, which most of us don't do on our phones. So I wouldn't be overly worried.
[Atrix 4G Android Development] attrixnor:
cailloup, concerning the logs you uploaded for reboot wwthout wifi on could you precise the hour it appear and what's app was used just before the reboot ?
[Atrix 4G Android Development] cailloup:
It appaered at the end of each log

I used "catlog" app, by clicking "recording". When a reboot happens, the recording stops automatically.

The reboots happened while screen off, phopne in my pocket. I realized it rebooted because the catlog recording was stoppped.

I can't tell which app I was using before screen off, I was probably on the launcher main screen
[Atrix 4G Android Development] PolesApart:
Does "Ok google" detection works for you guys? I couldn't make it work on either of my 2 atrix(es).
[Atrix 4G Android Development] mak_v_:
I'm sorry for my English first.

I flash KKv3, gaps and batteryfix.

Have a Lapdock for Atrix 4G

When i conneced my Atrix 4G to Lapdock nothing happened. And "No HDMI signal" on screen.

Can you give working instruction for my Lapdock?
[Atrix 4G Android Development] guruzen:
OK Google sucks battery. Hence, i was happy to have "voice search" working in this build rather than having "OK Google" working.
[Atrix 4G Android Development] palmbeach05:
Confirmed, OK Google works on v3
[Atrix 4G Android Development] PolesApart:
It should only be the case if you have the "always listening" setup. My language isn't officially supported in that setup (altough one of the atrixes is in english and it didn't work on it too), I was more interested in the recognition when the search app is in foreground.

---------- Post added at 01:57 PM ---------- Previous post was at 01:54 PM ----------

Please always read the first post carefully or go to a questions forum (this is development related). HDMI output is not working (yet?) since a long time. I guess any cm9, 10(.x) or 11 with the 3.1 kernel as it is have no hdmi output.
[Atrix 4G Android Development] palmbeach05:
!. OP stated in post #1 that HDMI does not work

2. Copied and pasted v3 changelog:

.Official Recovery 6.0.5.1 (built from sourcetree)

.BigPart_v2 ( /data expands 3000M, /preinstall shrinks to 2M )

.Wifi Tethering final fixed

.kernel DOCKING partial fixed <-------******************This bullet says that the docking issue is partially fixed, and does not say that all docking issues are fixed. your Lapdock issue will be fixed with further testing and development by the OP and by others here on xda. It is a known issue and is being worked on. Please be patient*********************

.Youtube/Google & related FC fixed
[Atrix 4G Android Development] PolesApart:
I still haven't tried these changes since I've moved to V3. Btw, I don't know what you changed in the kernel (or in whisperd), but in v2 with my patches, even the wall charger was confused as a car dock. In vanilla V3, when I put the phone on the unpowered car dock, it recognizes it, but as soon as turn on the car ignition and the dock is powered, it's "undocked". Did you change anything in the kernel or in whisperd for v3? Thanks!

---------- Post added at 03:07 PM ---------- Previous post was at 02:20 PM ----------

@Zn7mkUKzN1r8aCIV is V3 generating tombstones? I couldn't find any.

Anyway, google now -> voice typing -> "go to <location>" -> google maps opens -> it says something and them google maps crashes.

The logcat shows something like "GL thread crashed" and a java trace with: java.lang.illegalstateexception unable to get umvpmatrix handle
[Atrix 4G Android Development] cailloup:
I have 6 tombstone files from the past 4 days on V3
[Atrix 4G Android Development] BPinard:
I am getting the following error on installing the .zip. I already installed the correct recovery.

Finding update package...
Opening update package...
E: Failed to load keys
Installation aborted.

Any ideas guys?

UPDATE: I fixed my own problem. You must select "Toggle signature verification" in recovery to resolve the issue if this happens to you.
[Atrix 4G Android Development] rhcohen:
What do you have to do (in settings, or whatever) to get OK Google to work, even just when google search is open? The only way I can get voice search to work is to press the microphone icon when google search is open. When I try selecting "from any screen" under "OK Google Detection" I am presented with the "Make Google respond to you" screen, wherein I am supposed to say "Ok Google" 3 times, but it does not respond at all.
[Atrix 4G Android Development] dattafilthyd:
I on the other hand confirm tat it doesn't work. I'd have to click on the mic icon every time.

Ok googke from any screen also won't get activated as it has to recognize the voice 3 times which is not getting detected.

Have to applied some kinda patch or is there any setting that we'd have to do to get it working?
[Atrix 4G Android Development] palmbeach05:
you hit the search bar on the homescreen and it pulls up the google search menu and tells you to say ok google. you have to speak clearly to get it to activate. It seems that the ok google sensor in the app is a bit more stubborn than I'm used to experiencing with my AHD. also, activating the google now might also have something to do with it.
[Atrix 4G Android Development] PolesApart:
I couldn't find the "take a screenshot" function. There used to be options to enable it in the smart menu (IIRC) and the power menu. Did I miss something?
[Atrix 4G Android Development] plinkykev:
Settings / Buttons / Power Menu
[Atrix 4G Android Development] rhcohen:
I've now tried this (with and without Google Now activiated) a number of times, without success. So maybe this is one of those things that works on some hardware configurations of the Atrix but not others?
[Atrix 4G Android Development] jephimax:
I've noticed that there is much more battery drain in v3, whereas in v2 I get 2 days of moderate usage. Anyone with deep sleep issues?
[Atrix 4G Android Development] dattafilthyd:
I have solved the 'OK google' problem.

First the problem:

We are being encountered with a crash of goole now since the v1 release and were unable to use google search app at all.

V3 however fixed crash issue. and the search app was opening up. But the "Ok google" hot word detection did not work. Having installed the gapps from this page [GAPPS][4.4.x] OFFICIAL Up-to-Date PA-GOOGLE APPS (All ROM's) [2014-10-11]

So the search app is installed as a system app. When it is in the system it requires offline voice installed for the hot word to work. But there is no such option in the language & input>voice search . You can however install the offline voice with this guide [GUIDE][WORKAROUND]Enable Google Now Offline Voice on Unsupported Devices. Although you get the offline voice recognition; after installing the voice search app crashes. So that is no good.

So after a lot of research I came up with 2 options:-

1. For default OK google recognition from google search app , uninstall the system application and install the latest 'google search' app from the play store.

But keep in mind that in options you'll only find one option ["OK google detection">From google search app]

This will work 100% and without any lag.

2. With a 3rd party app called 'Open mic+'

https://play.google.com/store/apps/details?id=com.RSen.OpenMic.Pheonix&hl=en

Now you can also say OK google.

Not only that but it has several other features for custom launch. you could even say 'hey atrix' to launch voice search.

Or use front cam, shake and many other triggers.

The free version however has a hello screen that pops up every time it triggers.

This can be removed in the donate version.

And it is not very fast, it comes with a certain amount of lag.

But hey at least it works.

[Use open mic+ only if you need activation from any screen. and are Ok with the delay]

off-topic enhancements:

Furthermore you can optimize it with autovoice along with tasker (This is efficient but little tricky to set up if you aren't familiar with tasker.

Another easy alternative is the 'commanr for google now' which gives you several built in commands.
[Atrix 4G Android Development] torecdude:
Had 40% battery drain when phone idle, solved it by using unbounce. Excellent app for delaying wakelocks. https://play.google.com/store/apps/details?id=com.ryansteckler.nlpunbounce

Now my usage in phone idle is 20% and decreasing.

check out official thread for the apphttp://xdaforums.com/xposed/modules/mod-nlpunbounce-reduce-nlp-wakelocks-t2853874
[Atrix 4G Android Development] ALANKO:
Old kernel possible?

Hi

Is it possible to use older kernel (for example -> 2.6.32.59 that is very stable) with this rom?

My point is to avoid all errors and still got new nice user interface and new apps. :cyclops:
[Atrix 4G Android Development] palmbeach05:
No. That kernel is not designed for KK. Its not like the Defy and Droid X, both using a 2.6.32.9 kernel. If a kernel running that revision was ported over to KK like Quarx did with the Defy, then yes, it could be done.
[Atrix 4G Android Development] thecjan:
1. in gps.conf, NTP_SERVER=empty ??

2. wake-up screen flick, flash 'hporch32_v3.img' boot animation became black.
[Atrix 4G Android Development] marcovrv:
Just finished installing this ROM on my Atrix, with PA mini gapps and ART. So far (a couple of hours) no reboots, a FC on Google camera, and some delay going to Google Now Launcher, but I'm really impressed on the completeness of this work. I'll keep testing.

Enviado desde mi Nexus 5 mediante Tapatalk
[Atrix 4G Android Development] PolesApart:
Experimental Kernel

I'm making available an experimental kernel at This Link with a bunch of fixes. The most prominent one is that Wifi now works correctly when the phone goes to deep sleep, i.e. it doesn't lose connection. As a very nice side effect, you probably can leave the mobile data on when connected to wifi and the phone shouldn't reboot by itself anymore - or should at least do that very less often.

I also added some tiny optimizations to minimize the performance impact of having enabled deeper debug options. Alias, if your phone reboot, please open terminal and check (you might have to su to root to do that) if there's a file called /proc/last_kmsg (it only appears if the previous boot crashed), you can post it here - I'm assuming Z won't mind - or PM me.

As I've made quite a bunch of changes attempting to fix bugs found in the kernel over time, I appreciate any reports - both if things go better or worse. There's also a package with the original (non-vporch) kernel if you happen to hit a bug or decide to revert it for any reason. Source is in my github, If changes are stable we can submit it upstream so that K can cherry pick some changes to CM10.1 amd CM9 as well.
[Atrix 4G Android Development] JUGOMAN:
Place a micro SD in phone. Camera, should work. Storage for it seem to be at SD by default. Once Camera is working, you can change storage to Internal, and then remove the micro SD, if you so desire.
[Atrix 4G Android Development] JUGOMAN:
wired headset

Are they working?, not on mine.BT media audio works well, but not wired headsets. Running latest Kernel.

Nevermind...duh, I was routing media thru ext speaker. My bad. On another note, using latest kernel, working fantastic, so far (7 hrs). No reboots, whatsoever.
[Atrix 4G Android Development] cailloup:
Downloading now

I'm very glad to have a new active developer for atrix :):)
[Atrix 4G Android Development] PolesApart:
I'm attaching a few tombstones I've got over past days.
[Atrix 4G Android Development] cailloup:
Got one reboot with a kmsg today
[Atrix 4G Android Development] PolesApart:
[MENTION=2877324]cailloup[/MENTION] This one gets me too. In fact, the sequence of most crashes have been something like:

- phone is (deep) sleeping

- something makes it wake

- some irq handler prints something about timeout

- reboot.

If it were always the same irq it would be easy to find the problem (assuming it's the same), but it varies. In this case there's no precise stack trace (the information of what the kernel was doing at the time of the crash) so It doesn't help much. But I've got at least three logs with some useful information so perhaps I can advance a little longer.

The "BUG using smp_processor_id() in preemptible" is probably harmless, the debug options I've enabled do some false positives. I've fixed these warnings on the sources anyway.
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
v3M

am thinking of releasing a maintenance, v3M around Android L Official Release

. kernel will be switched to Poleapart's tree

. cm source up to that date

p.s. bash was finally patched by cm, so you don't have to flash a 'third-party' bash, it will be built from the source tree
[Atrix 4G Android Development] joshua764:
z have date for the next version? from mexico to Argentina we are following you?
[Atrix 4G Android Development] palmbeach05:
NO ASKING FOR ETAs!!!!
[Atrix 4G Android Development] TheAtrixGuy:
Guys, installed this ROM yesterday. There are no random reboots. There is delay when you open settings or any apps. Thank you z, polesapart, krystian and all for keeping the atrix alive.

I have installed PA GAPPS full modular version, around 254MB with polesapart kernel.

Thank you all so much..
[Atrix 4G Android Development] cailloup:
wifi + bluetooth issue

I'm experiencing a weird bug: wifi & bluetooth are "broken"

One week after flashing V3, bluetooth and wifi stopped working: I click the "ON" trigger, "bluetooth activation" ... I wait 5s, and it goes back on "OFF" state. Same for wifi.

- I cleared cache & dalvik, reboot => same

- I cleared cache & dalvik & reflash V3 => same

- I cleared cache & dalvik & data & format system osh preinstall & flash V3, without flashing gapps => I didn't installed any app, it worked for 2minutes and then broke again

- I cleared cache & dalvik & data & format system osh preinstall & flash V1 => same

- I cleared cache & dalvik & data & format system osh preinstall & flash V3 again + gapps => same

- I cleared cache & dalvik & flash polesApart kernel => same

I didn't try to flash the previous recovery in order to put back CM9/10, or reflashed same bigpart recovery, I'll probably do it unless someone has some clues :confused:

Attached is a logcat when I try to trigger wifi and bluetooth ON
[Atrix 4G Android Development] TheAtrixGuy:
Cailloup, I followed the exact sequence as in OP. Installed recovery, did factory reset, formatted sys, osh and preinstall, and installed ROM, KERNEL booted once and then rebooted to recovery for installing Gapps.

Mine is ATT phone.

Hope this helps.
[Atrix 4G Android Development] JUGOMAN:
WiFi/BT module failure? It is known to happen in these phones.
[Atrix 4G Android Development] cailloup:
You mean hardware issue ? eventhough I can use wifi + bluetotoh for 2minutes after clean flash ?
[Atrix 4G Android Development] attrixnor:
i not 100% sure

but forme the error seems to be appear on different part off the log : 10-24 08:01:43.838 E/WifiHW ( 527): Supplicant not running, cannot connect

perhaps a service or config file is missed. for bt or wifi

could you check if the wpasupplicant application is launch or if there is a log for it with some other info ?

other case :

other thing i see in log ; there are some error with alsa driver and audio frequency 44100 vs 48000 mismatch . can it generate other problem on phone ?

there are some error about access denied or file missed in the log , is it normal ?
[Atrix 4G Android Development] PolesApart:
Please capture a "dmesg" to a file and attach it here. Dmesg is restricted to root on this kernel so you have to "su" first.

---------- Post added at 09:35 AM ---------- Previous post was at 09:20 AM ----------

I've uploaded a new kernel -> here <-.

I still haven't tested that on 3g network, just wifi, so feel free to wait a little (or to risk if you're crazy like me).

You can see the complete changes in the github source log, but in short, I've done some experimental changes in order to save power. As a result, my phone seems cooler (you can feel in your hands that it warms up less often) and the battery seems to last longer, comparing w/ my previous kernel + unbounce (uses xposed, and only works if you didn't change Dalvik -> ART). Also, I've changed the tegra hotplug to off (it's a feature that completely disables/re-enables the cpu cores independently of one another, but in it's current implementation seems to impose some lag/choppiness). In theory that feature would help saves power, but in practice, epinter's cm10.1 had it disabled and battery seemed on average. There are other power saving mechanisms that triggers on most work loads, this one would only make sense in a nonsleeping, very low activity workload. anything higher would trigger core up/down and this takes power. A little above that, both ways have both cores active, so it stops making any difference. We could benchmark both setups later on, with the same kernel.
[Atrix 4G Android Development] cailloup:
Thank you both for help

Attached

Not sure what you mean

I have a wpa_supplicant.conf file in data/misc, see attached

How do I check if " wpasupplicant application is launch " ?

There nothing like this in settings, applications, app or service list
[Atrix 4G Android Development] attrixnor:
it's just a supposition in regards of the log file , but poleaparts is better to check the problem :)
[Atrix 4G Android Development] PolesApart:
The log wasn't taken soon enough after phone power up . Sometimes that's not even possible, as there's a lot of debug info and the buffer fills up. Perhaps try with the latest kernel, it should output less debug info.