yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] dattafilthyd:
It's probably all atrix phones. Probably no ones uses the cam to that extent maybe.

But Ah. So we come back to the question that someone else had already asked.

Can we apply the modifications on the 3.1.10 kernel to the 2.6x kernel from the gb and cm7 and port to the cm11.

If 2.6x is used then even HDMi will work.

A very very long shot. I know:confused:.

That is why I am resorting to low end means o get the most out of the current rom and existing kernel.

If so the focuser is the only thing we have to look into (maybe replicate the part of the code from 2.6x into 3.1.10). Just considering the possibilities here.:rolleyes:
[Atrix 4G Android Development] nozorrog:
Installed the 18nov. kernel. Have screen problems on wake up after deep sleep. Multicolor stripes on the screen. No such problems with the 15nov. one. Revert back to the 15nov. kernel.

Thanx for your great work, PolesApart!
[Atrix 4G Android Development] PolesApart:
[MENTION=5523312]thecjan[/MENTION] pointed out that I messed up with the hporch32 vs non-hporch32 upload. I think that both of then are non-hporch32 but in any doubt I'm fixing the scripts and uploading 20141119 instead. Sorry for that one :P

This will be the last kernel post for a while I think. I should eval v3m and I recommend people to stay with the 20141115 release should the today's one proves to be laggy or buggy in any other way.

---------- Post added at 06:28 PM ---------- Previous post was at 05:54 PM ----------

The thing is that the 2.6.x kernel went from nvidia. That means it's only a shell for proprietary nvidia stuff and porting those to 3.1.x is not feasible (someone once said that linux is the most incompatible o.s. ever, to the point of being incompatible with itself. That's far from truth on the userspace, but not so much on the kernel space).

What some people did was to keep 2.6.x kernel but merges parts of newer code into that (xoom porters went that way IIRC, but motorola actually did port it's 2.6.x to ics for xoom and not for atrix, and although they share a good deal of common hardware, it's not the same thing). Without at least ics, it's very hard to get that codebase to run on cm11 or even 10(.x), ics was very radical in API changes. For instance, the reason google now hotword detection in any screen (including lock screen) doens't work, as far as I could see from log cat, is because our sound libs comes from nvidia and they're not (IIRC) jelly beans compatible.

We're kind of stuck here and left to dry by motorola. In this scenario you generally go better by having the source code, and mmountori, krystianp and epinter, among others, went that way and it proved quite good, as we can see. And fixing hdmi is easier than the kernel porting: the proof is that it was done already, but since details weren't disclosed, and I have no clue of what had to be done, we'll need some help from krystianp. To be honest I don't use hdmi, but I sometimes think of buying a lapdock just for fun and that would require it.

As for the camera, it's almost working fine. I can even play with the focuser if I find the time. Going beyond that is where my knowledge ends, I don't really know how to check if some code really does the lens shading and whatever else is needed to enhance the image. I managed to get a datasheet from a "cousin" module but not for the specific camera module our phone uses.
[Atrix 4G Android Development] guruzen:
Kernel

[MENTION=4964106]PolesApart[/MENTION]

I just checked that there is a version on Nov19. However, yesterday i saw one Nov 18. Any changes to this new one? I don't see Nov18 anymore and hence was wondering what changed!

Ignore.. I saw your old post...

---------- Post added at 03:46 AM ---------- Previous post was at 03:41 AM ----------

All,

http://www.solidfiles.com/d/6dc6c76b63/Olympus_KitKat_v3m.zip does not work here. it says page not found.

Can someone place it in a diff location pls so that i can test this build?

Thanks
[Atrix 4G Android Development] PolesApart:
There are two minor changes between 18 and 19 (other than the hporch fix): one is for making usb <-> sdcard copying a little faster and should have zero impact on anything else, and the other is a reversal of a small tuning in the .18 that I've found out to lag more when memory exhausted, instead of helping.
[Atrix 4G Android Development] thecjan:
Z, in V3M changelog: CM11-M11 why is not update to M12 ?

---------- Post added at 07:17 AM ---------- Previous post was at 07:12 AM ----------

Cwm 6.0.5.1 is recovery not ROM itself.

sudo fastboot flash recovery recovery-xxx.img
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
I saw SELINUX blocked jp.xxxx from running sth, so you might want to disable SELINUX temporarily to install P&D (probably...)
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
no M12 logs??? Cyanogenmod didn't update it, I can't help, v3m's built tree was up to Nov. 17, Okay?
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
Poles, to give you some motivation for ongoing kernel development, Android L for tegra2 has already seemed to be possible by now!!!

This time, it is from Timduru, He has already built one for Asus's Transformer & he opens his source :) [ http://xdaforums.com/eee-pad-transformer/development/rom-t2942560 ]

it is a AOSP, I will wait for CM12 first nighty and then start porting...
[Atrix 4G Android Development] thecjan:
v3m, power off plug into wall to charge, after hours it auto boot?
[Atrix 4G Android Development] dattafilthyd:
Hmm. Xoom had a 2.6x kernel built for ics huh. explains much. And we've not had that luck. Okay.:/

The audio lib issue i know - the hot word detection doesn't work at all (when installed on the system) (not just any screen) doesn't work even if on the google now screen. Because the it tries to use the libs present system. It only work if you install it in the data partition (via playstore or apk) so it uses the google libs. Which is the only way it works for us.

Hdmi isn't so very important. But, Did krystianp actually get the HDMI working?:)

The camera lacks the tegra gpu optimization. But still the focuser can be messed around with huh.

Still it's hard to find a phone using the same camera sensor to look at the code. Even if we find one it'd have to be tegra 2 right. For getting the proper optimizations. I suppose.:rolleyes:
[Atrix 4G Android Development] lincer556:
The latest version works out good, I have a question an some issues.

Question: does anybody knows how to disable the in app menu shortcut?? (3 vertical dots) on Cm10 this was disabled from scratch and in the developer options could be turned on and off.

The issues are that the kernel would not recognize the headsets, so the button will not work and the hands free mic won't record anything at all, not even in call.

And the other issue is that the media player sometimes stops when hitting play, this happens 2 or 3 times, also notifications may turn on music.

This issue was fixed on a Chinese kernel named jZ-kernel for Cm10.1

In some scenario, while taking screenshots black artifacts may occur.

Google Maps still crashing on 9.0.0 and 9.1.0
[Atrix 4G Android Development] guruzen:
Have been wondering if you had a link where i can download v3m from. OP link does not work for me. Can u place it somewhere and share the link pls?

Thanks
[Atrix 4G Android Development] lincer556:
Download the link on the pc and unzip it, you will find what you need inside since it comes with a new recovery.

Do not try to flash it since it will not work.
[Atrix 4G Android Development] guruzen:
Well.. What i meant to say was, the OP link to download the zip to my PC does not work. I get "Page Not Found". So, i was wondering if you could help me place the zip in some location and share the link
[Atrix 4G Android Development] lincer556:
That's weird, if there's no issue with OP i may do a mirror.

Also, a piece of advice for those wishing to update from V3 to V3m, knowing that the V3m comes with a new recovery a FULL WIPE needs to be done, so there will be a data loss, but you can make a backup previous to the V3m Recovery install, then after installing Recovery, Rom, GApps and Kernel you may recover the Data/Android Secure partitions with advanced restore, i did that and didn't got problems at all...

Also i may ask something, i use the Touchpal X Keyboard, but in Cm11 sometimes get stuck annoyingly...

I still don't know what is may causing this...
[Atrix 4G Android Development] fuel426:
I was referring to the ICS camera, is faster, the colors are OK, while it has less options, it does the job. (How do I upload from my phone??? [emoji28] I have the .apk)
[Atrix 4G Android Development] palmbeach05:
Snapshot releases are based off of end of month builds, typically between the 25-30/31 timeframe. Like Z stated, his build is based off of 17 Nov. So yes, you are getting M12, but you really are getting M12 + all commits since snapshot was done at the end of Oct. Technically this is like a M12.5
[Atrix 4G Android Development] fuel426:
Here is an example of the camera. (No filter, because I'm not a teenager)
[Atrix 4G Android Development] PolesApart:
For people who wasn't able to download v3m from the provided link, here is a copy: https://dl.dropboxusercontent.com/u/32712371/Olympus_KitKat_v3m.zip

Some people also sent me private messages regarding installation errors: guys, I can't help you. Read the original topic instructions and you should be fine. Also note that you're not able to just install v3m on top of v3, you have to backup your data first and clear data. I even tried to cheat on this but google apps gave me hell, so just take the time and do it from the scratch.

Also, I didn't change the recovery because I assumed nothing changed between v3 and v3m. Am I right, [MENTION=5181088]Zn7mkUKzN1r8aCIV[/MENTION] ? :P
[Atrix 4G Android Development] Fozix:
The path now is there:

/sys/devices/platform/tegra-i2c.3/i2c-3/3-004c/temp1_input

and

/sys/devices/platform/tegra-i2c.3/i2c-3/3-004c/temp2_input
[Atrix 4G Android Development] thecjan:
P, last-11-19-kernel WOW super fast performance.
[Atrix 4G Android Development] dattafilthyd:
Quite nice.

Pull the apk from your phone via adb.

or copy it from root/system/app/"the camera apk" to your sdcard.

Then attach it to a post here or upload to dropbox or sendspace or mediafire via chrome - your choice.:)
[Atrix 4G Android Development] asparaz43:
If it can be useful I posted this video https://www.youtube.com/watch?v=ZylRu1YDZiQ
[Atrix 4G Android Development] wax911:
Had the same problem, fixed it by turning on flight mode and switched on WiFi. When the message dialogue pops up pull down your status bar down and swipe left or right at the bottom of it to access quick settings. Worked like a charm!
[Atrix 4G Android Development] jman316:
Tried installing but got a status 7 message.....
[Atrix 4G Android Development] torecdude:
Had this problem also, you can skip setup wizard by tapping at the beggining of the setup (at language selection) top left, top right, bottom right and bottom left. thanks to jasonjsimon http://xdaforums.com/showthread.php?t=2677610

Good luck man
[Atrix 4G Android Development] torecdude:
CWM restore issues

Hi,

I would like to report that Modded CWM recovery failed to restore my 4.4.4 backup i made yesterday. I get stuck at M red logo after i reboot from CWM. My only choice was to factory reset, wipe dalvik and format /system, /osh , /preinstall. I restored cwm backup with titanium backup pro.

Also, is it possible to make the rom to be installed with supersu 2.02? Titanium back keeps warning me that i need to update my su binary in order to work on a 4.3+ device. It would be really awsome if the rom came with supersu 2.02.

Thank you for your amazing work!!
[Atrix 4G Android Development] LawlessPPC:
I'm really impressed with this ROM congrats to the dev even tho its early days *80)
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
This rom was already built up to Aug.12 source... Su is the built-in one... Can you post /data/misc/audit/audit.log just after Titanium warns about SU problem, thx.

Or Does your Titanium need an upgrade? :)
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
DId you unmount your USB on the Desktop side before that ''Turn off USB storage' on the phone???
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
This kernel is BigPart, is hacked to increase the size of /system into /osh, so unless K has already included the BigPart patch in his latest kernel builds, you will end up (eventually) accessing files that are now in /osh instead of /system & result in 'file failure'...
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
I am pretty sure that CM11 did have some recovery mechanism that OVERWRITE my custom recovery. 6.0.5.0 is the OFFICIAL recovery that was built from the source and bundled in this ROM, & you already knew I haven't fixed the POWER button yet... :(

so at the meantime, you have to FASTBOOT reflash my modded 6.0.3.7 if it was 'mysteriously' replaced by 6.0.5.0
[Atrix 4G Android Development] guruzen:
Yep. I flashed hporch32 recovery and i now see 6.0.3.7 working fine.. Flashed gapps FULL stock and the ROM rocks.

Thanks a zillion for making this dead phone a live phone.. My friends ask if it is Moto E or G. I feel proud to say, it is the great ATRIX 4G with 4.4.4 :)
[Atrix 4G Android Development] Harrson:
I use the Motorola drivers to handle communication with the phone, so unmounting has never been an option.
[Atrix 4G Android Development] Reiki21:
KP's lastest kernel does not have included the BigPart hack. What I did was to change the system partition from mmcblk0p12 to mmcblk0p13, which is osh (webtop), in fstab.olympus inside the ramdisk and combine that with KP's kernel, then install your cm11 rom in the osh partition without the BigPart hack using adb commands. System partition shows the same size as the webtop one when I use the df command.
[Atrix 4G Android Development] Basmatek:
Does flashlight led have full power output in this rom? It was weak in cm10.1.
[Atrix 4G Android Development] jman316:
What am I doing wrong?
[Atrix 4G Android Development] kusanagi666:
maybe the recovery..?
[Atrix 4G Android Development] jman316:
My recovery is cwm 5.0.2.0 if that helps
[Atrix 4G Android Development] kusanagi666:
for this rom you must install the bigpart recovery 6.0.3.7 included in the zip (rom +recovery) decompress and install ..luck

P.D the recovery is the .img format ..that flash in fastboot mode ..please read the install method in the first post
[Atrix 4G Android Development] palmbeach05:
open up the zip, you'll see the recovery.img and the ROM zip. Flash the recovery via fastboot and then wipe data, cache, system, and osh (OP says preinstall, but ROM flashes without error without wiping that)
[Atrix 4G Android Development] kyva1929:
Data is working now.

Hint:

The first and second boot takes quite long. The 2nd boot spent much of its time in the 3M screen. I timed the 2nd boot to be about 6 mins in total, which was slightly longer than the first boot.

After 3rd boot network info is showing and mobile data is working - so just reboot few times and patiently wait for it to finish.
[Atrix 4G Android Development] aluves:
Battery charged to 90%. Not able to go 100%. Decrement of battery is 10% each time. 90, 80, 70, 60, 50 and goes on.
[Atrix 4G Android Development] sms2000:
Superb! I updated the CPUTableau. Soon to be uploaded.
[Atrix 4G Android Development] PolesApart:
These are also available by

/sys/class/hwmon/hwmon0/device/temp1_input
/sys/class/hwmon/hwmon0/device/temp2_input

If one is cpu, the other is ... ? Any clues? :)
[Atrix 4G Android Development] dattafilthyd:
Battery temp most probably. (system logged data.) ADT7461 temp monitor by analog devices

Ti OMAP3430 temp sensor can be directly accesses to get real time update. (I use Temp monitor).
[Atrix 4G Android Development] Fozix:
First and second core :)
[Atrix 4G Android Development] dattafilthyd:
I don't think we don't have per core temp sensors on our device.:rolleyes:
[Atrix 4G Android Development] iTaisHi:
couple of question about the new V3m + kernel:

1. what exactly mena the "m" (v3m)?

2. what last version of P's kernel include in V3M? (11152014? or 11192014?)
[Atrix 4G Android Development] PolesApart:
M = Master of the known universe. Or more likely, modified or something :P

The kernel is 20141115 with a patch reversed. This reversal may give some lag when the phone is doing heavy IO (writing to storage, for instance, when google play store is updating stuff), but on the other hand should help when the screen is off and you press the power button to turn it on again. The patch needed to be reversed as it caused problems (at least) with transferring files over usb.

I'm attempting to compensate for this extra lag in 20141119 kernel, and it seems better overall but there's no free meal, at some points there will be lags. I just feel it's less frequent on 19 than it's in 15. YMMV.

---------- Post added at 04:27 PM ---------- Previous post was at 04:21 PM ----------

I was reading around It seems like the sensor is on the board and it has an extra input for an external diode (used as a sensor). This diode is (somewhat) close to the cpu die. So one will be "board" temperature and the other is cpu.

The battery has a sensor too but the schematics says it's connected to the power/charging controller chip, it's exposed indirectly via the battery driver: /sys/class/power_supply/battery/temp
[Atrix 4G Android Development] dattafilthyd:
'm' stands for 'maintenance'. Only quoting z here.:)
[Atrix 4G Android Development] palmbeach05:
So it is ok to flash 11/19 kernel on v3m?
[Atrix 4G Android Development] PolesApart:
You got me on that one. I'll upload a v3m kernel specific just in case.
[Atrix 4G Android Development] sms2000:
The 2nd temp sensor is generally hotter than the 1st. I used the 2nd in my application.
[Atrix 4G Android Development] JUGOMAN:
The V3m is your own 11/15 kernel. I updated to the 11/19 kernel and all is well.
[Atrix 4G Android Development] PolesApart:
The kernel is 100% compatible, but the kernel update image also has initramfs. In theory the init and the selinux ruleset could differ. Very unlikely, though, but if you find any problems, try flashing the other.
[Atrix 4G Android Development] Fozix:
Yep, second is hotter now, on android 4.4.4.

On android 2.3.6 first temp was hotter.

Why? Very interesting.
[Atrix 4G Android Development] Zn7mkUKzN1r8aCIV:
Poles, in v3m, I have already updated init.olympus & uevent.olympus as requested to fix docking detection. I have also updated framework config.xml lowmem (from 0 to 16384) in /device/overlay... so let me know if anything you need to update. (as for sepolicy, there were no official request up until now...)

I have every plan to give out vXMAS on late Dec :)
[Atrix 4G Android Development] PolesApart:
I think you got everything covered. I'm experimenting with some vm values but for now there's no definitive change, but I'll let you know whatever appears to be more stable.

Thanks for that xmas gift, I'll wait anxiously :D

---------- Post added at 10:48 PM ---------- Previous post was at 10:45 PM ----------

Guys you've exhausted my *20gb/day* limit from dropbox account today. I think that was because some people had difficulties with the OP link for downloading V3M and used my mirror instead. Anyway, everything is down now. I'll have to drop the v3m mirror by tomorrow so that dropbox allows me to keep providing the kernel images. We'll have to find another mirror to v3m, if anyone has somewhere to store it, please do so. thanks :)
[Atrix 4G Android Development] inarush:
I was wondering to myself: where is Krystianp? It's been a while since his last post here. Is he still involved in this project?

Everyone here misses him :D
[Atrix 4G Android Development] sms2000:
2.3.6 is older Android with lesser GPU utilization.

4.x introduced much higher GPU load.

Likely that...
[Atrix 4G Android Development] palmbeach05:
vXMAS? Gotta love Christmas gifts! Will it be something chocolatey or something better than a kitkat?
[Atrix 4G Android Development] thomorph:
Why not using a mega.co.nz account?

Don't know if there is a limit of band usage
[Atrix 4G Android Development] ALANKO:
Any news for HDMI mirroring?
[Atrix 4G Android Development] DooMaster:
No, It's been discused previously, please I invite you to read and most important, to follow this thread, as I do, to keep updated to modifications, milestones and achievements. :good:
[Atrix 4G Android Development] PolesApart:
Feel free to setup an account for us and mirror the rom zip. The more mirrors, the better. I'm trying not to take that role as maintaining the kernel already takes up quite a lot of my spare time. I'm married, so too much of my (limited) spare time not spent with my wife may lead to world war III or something. I'm not a war enthusiast. :cool:
[Atrix 4G Android Development] thomorph:
Will upload it tonight and see if the sharing option in mega let you directy send the new version of the kernel in the folder.
[Atrix 4G Android Development] Reiki21:
Here is a mirror on mega https://mega.co.nz/#!yA91iQxb!HZ62m_4eAuaWpR-eL7Tpq1NzvDTha-SY69X87y6Izac

Thanks for the continuous updates :good:
[Atrix 4G Android Development] PolesApart:
My dropbox should be back online and to celebrate there's a new kernel release with a (potential) fix for a binder reboot. Apparently my binder memory leak fix induced this bug which triggers now and then, causing a reboot (apparently it causes a hang and a reboot). One of those bugs which doesn't trigger for a week and then trigger three times a day.

If you observe reboots please check /proc/last_kmsg. Or unzip the attached script to /data/local and check /data/local/last_kmsg from time to time. It's now clever enough to compress the data so it doesn't fill up your partition :)

Note you have to unzip it, xda doesn't let me attach bash scripts by fear I'll hack you :P
[Atrix 4G Android Development] rhcohen:
Haven't tried the latest kernel yet, but I've checked a number of times after reboots and never found a file /proc/last_kmsg, just a file /proc/kmsg with nothing in it. Is there something I need to do to enable /proc/last_kmsg to get written? (I will try out your attached script as another route to get the info.)
[Atrix 4G Android Development] PolesApart:
Yes: you need a crash. The kernel saves (sort of) a copy of dmesg in a memory buffer. In a clean boot, this buffer is cleaned and no /proc/last_kmsg file exists. Should it reboot for some abnormal reason *and* the memory buffer is intact, the /proc/last_kmsg appears. That's why I've posted that script: it checks on boot if there's a /proc/last_kmsg and saves it for you to analyze later, as another reboot (clean or not) will make the information go away.

This method isn't perfect, as the buffer can be corrupted by several reasons, one of them being the fact that dynamic RAM doesn't hold the information for too long, it need to be refreshed. So even on crashes it isn't uncommon to lack the /proc/last_kmsg file.
[Atrix 4G Android Development] rhcohen:
If "crash" means anything leading to a spontaneous reboot, I've had plenty of those and checked right after quite a few, still no /proc/last_kmsg. Maybe that means the buffer is pretty much always corrupted when my phone reboots?
[Atrix 4G Android Development] PolesApart:
It seems likely. And sometimes the /proc/last_kmsg shows but has some garbage. But if that's the case send it anyway, sometimes there's something legible even in the middle of it, that was how I've caught the last bug. Which I think may be what you're seeing (I also didn't have /proc/last_kmsg sometimes), unless you had this reboot on the very latest kernel (the one I posted today).