yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] atrix4g18:
I have created a new thread as a tutorial to build the kernel. I just updated it so that it is as simple as downloading some files and then copying and pasting commands.

[Tutorial] Build ICS/JB Kernel

For those who can't click: http://xdaforums.com/showthread.php?t=2251988

Keep in mind this will be compatible with the public alpha that is soon to be released.

This will let you get the latest kernel changes and some experience, so it is not taking away from the public alpha, merely complimenting it.
[Atrix 4G Android Development] jjwatmyself:
Blogging about it 4/27/2013

Hi there everyone. See post #1 for an update on the kernel development and public alpha build release status. :highfive:
[Atrix 4G Android Development] atrix4g18:
I have created another new thread with a script to build the kernel. Full credit for the script goes to the amazing mapkel. Without him there would be no script.

This is beyond simple. Anyone can build this, but please read the thread carefully and understand the risks.

[Script] Build ICS/JB Kernel

For those who can't click: http://xdaforums.com/showthread.php?t=2253529

Keep in mind this will be compatible with the public alpha that is soon to be released.

This will let you get the latest kernel changes and some experience, so it is not taking away from the public alpha, merely complimenting it.
[Atrix 4G Android Development] jjwatmyself:
Very nicely done. Many thanks for the contribution. Be careful though as boot.img is normally compiled and assembled at build time. Using an older, pre-assembled boot.img won't incorporate modifications made by the kernel development team.
[Atrix 4G Android Development] atrix4g18:
The boot.img is only used to get a compatible ramdisk.

The zImage that is compiled is then added to the ramdisk to form the new boot.img which is then added to a flashable zip.

So are there modifications to the ramdisk?

This is used to extract the ramdisk and repack the boot.img.

The only thing I can think of is that the script which was not made by me didn't extract and then repack, but I highly doubt that. I will look into it tomorrow.

I may be missing something here so please expand. Over PM if you want, though this is on topic.
[Atrix 4G Android Development] eagleeyetom:
Thread cleaned. Keep this thread on topic please.
[Atrix 4G Android Development] jjwatmyself:
Post #1 has been updated. :highfive:
[Atrix 4G Android Development] 3n3rg1c:
A new airplane mode bug. Issue no.46 dated 12/5/2013
[Atrix 4G Android Development] krystianp:
As I mentioned few times before... I also have lapdock and also would like to make it working at least in tablet mode or preferably get linux booted on it. But it's too soon to say it's gonna work.
[Atrix 4G Android Development] jjwatmyself:
Public release news on post #1.
[Atrix 4G Android Development] quetzalcoatl2435:
Is the bug tracker now open to public?
[Atrix 4G Android Development] sidVici0us:
Nop

Users should use the F.A.Q. thread or or the respective thread for alpha (CM9 or CM10.1) as stated in the OP.

regards
[Atrix 4G Android Development] Zeljko1234:
Before submitting new bug in respective thread, please search is it submitted already. If not, write all necessary data:

- memory type (Elpida, Hynix)

- panel type

- sdcard present (yes or no)

- simcard (normal/micro)

_ tegra revision (e.g. A03 prime)

- atag revision

- Tegrapart

- Radio (e.g. 36p, 37p, 38p)

Some data above can be easily seen in settings, about. Rest from dmesg short after boot.

Also, please explain how to reproduce bug.

Thank you
[Atrix 4G Android Development] mutejulio:
Awesome, good job guys :)

Enviado desde mi XT890 usando Tapatalk 2
[Atrix 4G Android Development] jcrahul:
GitHub

GitHub has been updated Android Kernel Motorola Olympus now we can see the commits which were done during the blackout :D thankyou team :D
[Atrix 4G Android Development] falcomer:
I donated 15 bucks to help!

Thank you developers and testers for work hard to broughta new life to atrix!

Thank you very much!
[Atrix 4G Android Development] cpl101:
HDMI

I hope this is the right place to ask, and I've searched elsewhere for more info, but nothing pops up.

I see that HDMI is "postponed."

Now, I'm NOT asking for an ETA, simply, postponed for after what? At what point do the devs plan on attacking this hurdle?

Thanks.

-Edit-

Primary reason for asking is HDMI mirroring for apps such as netlfix, Plex, etc (not lapdock, linux, etc)
[Atrix 4G Android Development] ravilov:
Asking "at what point will something happen" is exactly the same as asking for ETA.

It is postponed because it is unimportant at this point. There are far more pressing matters to deal with.

It will become important whenever it becomes important. No point in asking, especially not in this thread. Be patient and wait.
[Atrix 4G Android Development] mmontuori:
XDA Application

During some battery troubleshooting, I have noticed that the XDA Application uses a lot of battery if notifications is in use. This is especially true if running CM-10.1.

Make sure you turn off notifications or remove the XDA app.

Please report back with results after.
[Atrix 4G Android Development] Lexord:
Same thing with tapatalk, right?
[Atrix 4G Android Development] Mike B.:
This is probably not a kernel issue. Even if you still want notifications from Tapatalk/XDA, you can greatly minimize battery consumption by increasing the "How often to check" value in the settings. Using the forums' subscription module to send you email (preferably gmail) tends to accomplish the same thing while using much fewer resources.
[Atrix 4G Android Development] jhonnyx:
what about using a wakelock application? should that help identifying the problem?
[Atrix 4G Android Development] todobarato:
I think the issue is from the GPU....and not one app...( Ok, if app uses GPU is the app, but what app don't uses GPU....)

If I use for a example the browser app, I scroll one page down, in The old kernel the CPU go up from 415Mhz 25% to 1000Mhz and 100%, but in this kernel the CPU doest move at all, this is good, but the battery drains....I think the solution is like what I do on my notebook on Linux, lower the GPU power if it is on battery, but I don't know if this can be dynamically on tegra2...

Best regards,

Ferenc
[Atrix 4G Android Development] jhonnyx:
Do you recall the power balance option in ICSRom? Maybe that can help

Also, a property in the build.prop recalls somewhat of

(from CM9 build.prop; settings not present in CM10.1 build.prop)

# Performance
ro.tegra.mode=performance
ro.tegra.gpumode=quality
ro.tegra.debug=0

maybe modifying that parameters can make a difference... maybe not :P
[Atrix 4G Android Development] todobarato:
I have copied the performance lines to the cm10.1 build.prop, no difference, maybe power balance option is one good idea to lover the GPU something. But I cannot remember how was this activated on the ICSrom, if was one apk to install? Or other things....

Best regards,

Ferenc.
[Atrix 4G Android Development] jhonnyx:
I Think it's some sort of Nvidia APK but never been able to do a proper pull of that apk. If somebody manages to do it, please let us know.
[Atrix 4G Android Development] saiftheboss7:
Is github blacked out again & will be updated when the next update of kernel will be pushed out?
[Atrix 4G Android Development] tpr0:
I guess the problem is that the GPU is overclocked, using the GPU consumes less power comparing to CPU on 2D apps, or interface using a process called surfaceflinger.

So no, using GPU consumes less power, i think the GPU is overclocked, since the game performance and gpu bench is very high compared to GB, though still, the stand-by time is low...

---------- Post added at 08:47 PM ---------- Previous post was at 08:19 PM ----------

I guess the problem is that the GPU is overclocked, using the GPU consumes less power comparing to CPU on 2D apps, or interface using a process called surfaceflinger.

So no, using GPU consumes less power, i think the GPU is overclocked, since the game performance and gpu bench is very high compared to GB, though still, the stand-by time is low...
[Atrix 4G Android Development] mourao:
after a full day using it (i just upgraded from cm10, too lazy to do a backup xD), it is sooo smooth, I had no problems with calls or the SD card (8gb class 4 btw), just noticed the already mentioned delay on lock screen and a the battery drain (that isn't something that scary, it's better than the stock rom). Again, Congrats to the devs for this fantastic job ^^
[Atrix 4G Android Development] krystianp:
I've created additional sheets for specific bugs. If someone has any of mentioned there issues please fill in fields that are marked red. These values are key to the cure. Also to all that are having tearing issue and are not afraid of compiling kernel. In arch/arm/mach-tegra/board-olympus-panel.c find olympus_dsi_out.refresh_rate = 60 and lower this value until you get your panel working properly. When you have optimal value use mentioned spreadsheet to fill in info about your tegra and value that is working for you. To compile kernel you can use script in atrix4g18 thread.
[Atrix 4G Android Development] clemsyn:
The GPU is not overclocked. Google just optimized the GPU core in JB that is why we are getting higher scores, but the GPU clock is basically the same at 300mhz. I have OC'd the GPU to 400 and I have to say, this thing flies :)
[Atrix 4G Android Development] mmontuori:
The dev team is against overclocking, it is not a good practice and introduce instabilities.
[Atrix 4G Android Development] THUNDERASS:
Do u have a plan make overclocked kernel gpu and cpu after released rtm?Or can u share instructions how can we make personel overclocked(cpu+gpu) kernel?
[Atrix 4G Android Development] Feche:
Devs don't like OC since that the device may became unestable becouse of the OC and not from the KERNEL/ROM, so it may be confusing.. let's first have a stable ROM and then go with OC, etc..
[Atrix 4G Android Development] KCKitsune:
I hope the Kernel Dev team don't OC the kernel at all. I just want them to focus on getting everything working before they they start working on OCing.
[Atrix 4G Android Development] THUNDERASS:
i said after rtm(Final stage)..Of course we need firstly fully stabil kernel.After stability must be 2 options optional.(Because of our atrix 2 years old.Some apps need more hardware) .Standart and overclocked kernel.
[Atrix 4G Android Development] ravilov:
You guys seriously misunderstand the very purpose of the ROMs built with the new kernel.

They are NOT meant to be stable or finished in any way.

They are NOT meant to be your daily driver.

They are NOT meant to be reused and modded.

They are NOT meant to serve as a base for making other custom ROMs.

The ONLY purpose of those builds is to test the kernel in the "real world" and to gather bug reports. That is all.

Therefore it makes no sense for the new kernel to be used in ANY ROM other than the test builds.

At this point do NOT expect and do NOT ask for anything more than that.

Once the kernel is stable enough, of course it will be used in all kinds of ROMs, so there's no point in asking.

I'm writing this here instead of the dedicated ROM threads because this applies to all (both) ROMs.
[Atrix 4G Android Development] cncrd:
I have tried both(cm9-cm10.1) rom

my notification :

1-batery drain seems similar like stock rom if phone is not in deep sleep

in deep sleep mode batery drain about %6-7/hr on cm9 rom

in deep sleep mode batery drain about %4-5/hr on cm10.1 rom

in deep sleep mode batery drain about %0.3-0.5/hr on stock rom

If I did not flash gapps batery drain improve about %1/hr

2- flash light

I think flash light (cm10.1 and cm9)lower than stock

3-I have no problem When swicth from camera to video camera in first time but later when I try to switch form camera to video camera or from video camera to camera I had problem(camera don^t respond)

4-I have no restart or reboot problem(I have inserted also external sd card(1gb)

5- On both rom phone started immediately when I pull on the batery

same problem occured when I try to shut down via power menu

6-Screen brighness lower than stock rom.on sunny day I can not see anything on the screen

In stock rom I can see screen

LPDDR2 MR5: 0x0003 (0x0303) = Elpida

LPDDR2 MR6: 0x0001 (0x0101)\

LPDDR2 MR7: 0x0000 (0x0000)/ = 40nm

LPDDR2 MR8: 0x0054 (0x5454) = 1GB

panel_size: 0x740

atag_revision=0x83f0

Tegra SKU: 15 Rev: A04 CPU Process: 1 Core Process: 2 Speedo ID: 1

Tegra Revision: A04 prime SKU: 0xf CPU Process: 1 Core Process: 2

- sdcard present (yes )

- simcard (normal)

- radio N_01.100.00R

sorry I cannot reach google spreadsheet

sorry my pour english
[Atrix 4G Android Development] tpr0:
Omg about the gapps , thats what I thought, now my battery can go up to 17 hours normal usage without gapps..
[Atrix 4G Android Development] sidVici0us:
Ohh I test the rom without gapps now. Tanks for the idea.
[Atrix 4G Android Development] quetzalcoatl2435:
Without gapps, your phone wouldn't be syncing anything. That's essentially the same as testing with mobile data disabled...
[Atrix 4G Android Development] cncrd:
addional info:

during my test the roms have 3.1 kernel phone status:

1- wifi off

2- mobil data disable

3- gps off

4-auto screen off

5- I had select only 2g

6- all sync disable

I have same test without flash gapps my batery drain had improved
[Atrix 4G Android Development] tpr0:
Flashed gapps lite... Cm10.1 http://xdaforums.com/showthread.php?t=2221831

Way improved battery life except sleep mode performance. :D :D

Finally my daily driver...
[Atrix 4G Android Development] iko11:
Could you please add screen shot about your battery usage ?
[Atrix 4G Android Development] samiam21:
I've been running epinters cm10 with the new kernel as a daily driver for some time now. I used to have screen freezes with video playback on any other rom. That is gone now. Sure... Battery life still sux but for an alpha it is still ok. Keep up the great work guys!

Gesendet von meinem MB860 mit Tapatalk 2
[Atrix 4G Android Development] a6576171:
Same here. Weird that I really didn't do anything to things to get better.

"Standing' on a hill in my mountain of dreams, telling myself it's not as hard as it seems."
[Atrix 4G Android Development] THUNDERASS:
https://play.google.com/store/apps/details?id=com.tegraoverclock&hl=tr

Maybe if we can adjust kernel it can be use for powersave and performance.
[Atrix 4G Android Development] Manzing:
This app is for Tegra 3, Atrix is Tegra 2...

Devs do not need any app, let them do their work to improve the kernel, they will succeed soon, with no doubt.
[Atrix 4G Android Development] SWTR:
Maybe say have a look here. Its the best Kernel for our P990 and its a Tegra 2 device.

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

Gesendet von meinem LGP990 mit CM10.
[Atrix 4G Android Development] krystianp:
I had sdcard reboot on wake up bug yesterday. It was repetitive and I was able to reproduce it on both atrixes. Turns out it was some kind of error on card (until yesterday it was working fine). So what I did to fix it. First I used gparted to remove every partition on my sdcard and created new ext2 partition. After making it ready I switched to windows and using disk manager, removed ext2 and created fat partition. After formatting I placed sdcard in the phone and since then reboots are gone. Btw there was no message on uart before crash.
[Atrix 4G Android Development] atrix4g18:
Any idea why it is necessary to first make an ext2 partition before removing it to make a FAT partition?
[Atrix 4G Android Development] Pont91:
Thank you for this, it'll be very useful for many of us! :thumbup:

Could someone create a step-by-step guide of this, for noobs like me?

Sent from my beloved Atrix with Tapatalk
[Atrix 4G Android Development] krystianp:
I wanted to be sure I have no left overs after old fat partition.
[Atrix 4G Android Development] atrix4g18:
I thought this could be done by doing a turning everything to zeros, but this is probably simpler anyway. Thanks for the reply.
[Atrix 4G Android Development] krystianp:
I also didn't restore any data yet. Just have put freshly formatted sdcard into the slot.
[Atrix 4G Android Development] atrix4g18:
Good to know. As soon as the next release is made public with the battery changes I, along with many others will be able to spend more time using this kernel. Keep up the great work!
[Atrix 4G Android Development] zigory:
Ok, so all what is needed to fix those reboots is remove old FAT partition and format whole SD card again? I don't believe that formatting to EXT2 could change something)
[Atrix 4G Android Development] ravilov:
He never said he formatted it as ext2. Just that he made an ext2 partition. There's a difference.
[Atrix 4G Android Development] atrix4g18:
He removed the old partition and then created a new ext2 partition which he then deleted when he made a FAT partition to ensure then complete removal of every byte of data.
[Atrix 4G Android Development] Gizmo306:
I believe the sdcard was fixed by full format to recover from an bad cell of bad nand flash. That quick format (format mbr only) can't achieve.

I been recovered an malfunctioned sdcard by doing full format under windows, for my friend.
[Atrix 4G Android Development] quetzalcoatl2435:
I've tried deleting the sd card partition and putting the unpartitioned card in the phone last week. The phone proceeded to partition and format the card, still getting random reboots... :(

I don't think it's because of the partition type either. Changed to FAT32 LBA, still getting reboots.
[Atrix 4G Android Development] atrix4g18:
Try doing exactly what he did:
[Atrix 4G Android Development] quetzalcoatl2435:
I'm pretty sure I don't have any leftover partitions, because I put an unpartitioned card in the phone...

Anyway, I might try this again later.
[Atrix 4G Android Development] odystyle:
but we can try to format sdcard using ubuntu
[Atrix 4G Android Development] atrix4g18:
Yeah but there could still be unseen data. That's why he used such a tedious method.
[Atrix 4G Android Development] nlabrad:
An ext2 partition is a partition formatted as ext2. Partitions per se dont have any format. So, yes, he formatted it as ext2
[Atrix 4G Android Development] quetzalcoatl2435:
Partitions don't have a format, but they do have an ID. A mismatched partition ID & file system could lead to some serious data loss.

Edit: Yep, as I thought, still randomly reboots. SD card was re-formatted and still empty. Looks like random reboots when sleeping are different from reboots on wake.

The card doesn't even have to be mounted. Being plugged in and unmounted still results in random reboots, so it definitely doesn't have anything to do with what's on the sd card.
[Atrix 4G Android Development] Manzing:
Maybe you should simply check the SD card for bad sectors ? Like a chkdsk /r for a fat32 formated card.

Also, sometimes it might be usefull to format the SD using a camera for example, rather than a computer.

(It was a workaround for some satnav devices which could refused computer formated SD cards)
[Atrix 4G Android Development] todobarato:
Yes, I can confirm it, after delete partition, make new and format the SD-card to ext4 (using gparted), leave it empty the reboot came immediately when it goes into deep-sleep, before it works Ok.

Best regards.

Ferenc.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------
[Atrix 4G Android Development] quetzalcoatl2435:
Nope. Even an unpartitioned, unmounted sd card causes a reboot. Simply having the card plugged in causes random reboots. Maybe it has something to do with how the card is powered in sleep state? It definitely has nothing to do with what is or isn't on the card.
[Atrix 4G Android Development] cailloup:
Same here

Reboot even if card unmounted when phone goes is sleep

chkdsk => not working

different format (rapid windows, full windows, fat32, ntfs, others) => not working;

"unmount, chkdsk, and put sdcard in phone off" => not working

software "Ext2Fsd" not finding any Ext2 partition on sdcard

krystianp solution: gparted, delete partition, create ext2, back to windows, format fat32, insert in phone => not working
[Atrix 4G Android Development] ravilov:
Exactly. I didn't pull what I said out of my butt.

Next time check your information before you post.

Although, truth be told, a partition type/ID "ext2" indeed does not exist. I believe he meant a partition of type "linux" (ID 0x83).
[Atrix 4G Android Development] kur41:
I can confirm that after modifying panel frequency to 50Hz I haven't seen any artifacts on the screen :)

Thx for the hint krystianp!
[Atrix 4G Android Development] snaker23:
How did you modify panel frequency?

thanks
[Atrix 4G Android Development] jcrahul:
can't find the post given by krystian but i do remember the steps he had given. You have to recompile the kernel. But before you recompile you have to change the value of "refresh_rate = 60" below 60 from the file board-olyumpus-panel.c from "android_kernel_motorola_olympus / arch / arm / mach-tegra / board-olympus-panel.c"

EDIT:- here is the original post by krystian click here
[Atrix 4G Android Development] sidVici0us:
You have to compile the kernel modifying it in the source code.
[Atrix 4G Android Development] svemprala:
Have been using this kernel (with Epinter's CM10.1 ROM) for 4 days.

- No SD card reboot on wake bug for me. I have a Class 4 8 GB Sandisk.

- Battery drain is pretty high. I get around 12-14h on average, all location services turned off, (I just turned sync off to see how it changes) and wifi on all the time.

I guess the only major problem for me is the battery drain. I'm assuming it's deeply rooted into the kernel, but any tips will be appreciated (any fixes or patches that I might have missed. I just installed the ROM and Gapps.)
[Atrix 4G Android Development] affiatic:
wifi sucks battery on most phones i've used. turning it off should make big difference
[Atrix 4G Android Development] Vazay:
It's just me or you can't boot this kernel with CONFIG_NAMESPACES=y
[Atrix 4G Android Development] odystyle:
did that changes make u boot up on that kernel
[Atrix 4G Android Development] snaker23:
Oh yeah! changing refresh rate as krystianp[1] said works fine and screen tearing dissapear.

I have used olympus_dsi_out.refresh_rate = 50

Compile the kernel correctly take me a couple of hours :S becouse of this i have attached the files so if someone wants try, download and use.

Of course do nothing if you dont know what are you doing, you can damage your phone.

To flash:

Boot in fastboot mode

$ fastboot flash boot boot_50rr_cm10.img

$ fastboot reboot

Do this after flash the ROM

[1]http://xdaforums.com/showpost.php?p=41820712&postcount=1033
[Atrix 4G Android Development] chrismen83:
Nice job i didn't have problem with screen tearing but should be nice for the lot of user which don't have faculty to compile kernel :good:
[Atrix 4G Android Development] mumbhai55:
Thanks :good:

I was unable to compile kernel myself due to some error I was getting.

I flashed boot_50rr_cm10.img on epinter's latest cm10.1 rom and screen tearing issue I was having is gone.
[Atrix 4G Android Development] Vazay:
I can boot normaly without namespaces. When I enable namespaces, it takes 2-3 seconds and then the phone shuts down(kernel panic?).
[Atrix 4G Android Development] odystyle:
yeah this what happen to me....the phone stuck on red logo few second its shut down..

can someone show me how to change the CONFIG_NAMESPACES=y .

do i need to recompile the kernel to do this
[Atrix 4G Android Development] Vazay:
I'm pretty sure it's not your case. Yes, you need to recompile the kernel. Give the devs your config(d00/1100, memory type), let's see what they'll say.