yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] quetzalcoatl2435:
Well, my theory just went down the drain. I'm getting random reboots, even on 97% battery. I give up for the time. Going back to epinter's latest stable CM10.

I keep running out of memory on this one anyway.
[Atrix 4G Android Development] Bert.C:
I have. Intl. d00 uk
[Atrix 4G Android Development] joelorona:
Or maybe you ran out of memory :P

Everything was working fine until i hit the 15% of the battery, the randon reboots started, i changed for the second battery and now it's fine D:
[Atrix 4G Android Development] quetzalcoatl2435:
I have no idea why, but this kernel eats RAM for breakfast. I've never seen it go over 450MB with normal use (not gaming) on epinter's CM10, but this one easily goes over 600MB.

Some debugging code in the kernel, perhaps?
[Atrix 4G Android Development] Ilkinansr92:
http://www.newegg.com/Product/Product.aspx?Item=N82E16820211558&name=Flash-Memory

ADATA 32GB Micro SDHC

Speed Class Rating Class 10

Gives reboots

http://www.newegg.com/Product/Product.aspx?Item=0DF-0005-00029&name=Flash-Memory

SanDisk 32GB microSDHC

Speed Class Rating Class 10

No Reboots

http://www.newegg.com/Product/Product.aspx?Item=N82E16820171581&name=Flash-Memory

SanDisk Mobile Ultra 32GB Micro SDHC

Speed Class Rating UHS Speed Class 1

No Reboots

Seems as SanDisk SD Cards have no reboot issues

Sent from my CM10 Motorola ATRIX 4G
[Atrix 4G Android Development] Always_Jonezen:
What we need is real developers working on this rom and kernel not ppl playing with the build prop tweaks that's what you mess with after you already have a stable rom.
[Atrix 4G Android Development] quetzalcoatl2435:
I don't think you understand me. Look at the bar at the bottom of your Running Apps screen. That bar has 2 colours. Blue = Used RAM, gray = "free". Of course, "free" RAM isn't really free. If you tap "Show cached processes", you'll see that it's used for caching apps. This is a good thing.

Now, take a look at the screenshot I posted earlier. 717MB Used. That's "used", not cached. Those remaining 67MB are what's "cached". That is NOT good. The phone gets laggy and unresponsive, and will ultimately throw a kernel panic and reboot.
[Atrix 4G Android Development] emel-iine-6z:
Black incoming call screen and blackscreen issue after a call FIXED !! :confused: it is still the same problem ;)
[Atrix 4G Android Development] Always_Jonezen:
I have followed this entire thread you are absolutely right about the ram and if your ram remains that low that would or could cause the reboots that most of us are having. And the ram is that low because of the amount of apps the phone is continuing to run in the background which is also causing the phone to get hot. I have tried every build of this rom except the newest one and had reboots, bad battery drain and heat issues with all versions.
[Atrix 4G Android Development] joelorona:
I just have facebook, whatsapp, settings, dsp, exchange services, google services and the keyboard and my ram is up to 550MB, this is insane !
[Atrix 4G Android Development] ko_wei13:
Anyone notice that this build will force the min CPU to 300mhz after screen off? I think the dev set this profile to solve the screen on delay issue.
[Atrix 4G Android Development] ravilov:
Maybe the leaked kernel has leaks... Memory leaks.

It is after all an unstable and unfinished development build.
[Atrix 4G Android Development] quetzalcoatl2435:
That might be another explanation, but with epinter's CM10, I get <400MB used after a fresh boot. On this kernel, around 550MB used after a fresh boot. Even without any memory leaks, it's still using at least 150MB more RAM.

That's not to mention that epinter's CM10 has 815MB available vs. 784MB on this one.
[Atrix 4G Android Development] rafaelbrandao:
My feedback:

Just flashed newest build (10/23), it took few minutes to reboot after I inserted my sdcard (Kingston 32gb class 4). The metal plate above sdcard slot gets very hot in about seconds.

Regarding memory usage, dunno if it's related to JB itself, but It allocates 535MB leaving just 250mb free after boot.

Another issue I noticed is the car dock app, in builds 10/20 and 10/23 it doesn't seem to work. I got it running on previous 19/10 build :(
[Atrix 4G Android Development] Ilkinansr92:
I have 855RAM on this ROM and 815 on Epinters after reboot i have 450 RAM free after 6hours my phone doesnt go below 350mbs RAM
[Atrix 4G Android Development] joelorona:
did you install something for the memory, i just have around 750MB and that's all
[Atrix 4G Android Development] quetzalcoatl2435:
Good for you. I think anyone who needed a ramfix is stuck on 784MB... :(

Is your phone an AT&T one?

Does anyone with and AT&T phone and not needing a ramfix get 784MB of RAM available or do you all have 855MB available?

This kernel was made with AT&T in mind, so I wouldn't be surprised if it runs better on AT&T phones, which is quite unfortunate for the rest of the world who are left in the dark. Thank you, Motorola...
[Atrix 4G Android Development] rafaelbrandao:
I have a AT&T model and it shows 784MB free in "about" settings.
[Atrix 4G Android Development] quetzalcoatl2435:
Did you install the ramfix? Try flashing without ramfix.
[Atrix 4G Android Development] Ilkinansr92:
Says AT&T on phone bought it in US no RAM Fix needed for me atleast but my CMDLINE is strange on this phone compared to when i run it on epinters.
[Atrix 4G Android Development] rafaelbrandao:
I didn't install the ramfix.
[Atrix 4G Android Development] quetzalcoatl2435:
Care to elaborate?

---------- Post added at 12:42 AM ---------- Previous post was at 12:40 AM ----------

So even on AT&T phones, there's no standard behaviour for this kernel... Strange...
[Atrix 4G Android Development] Ilkinansr92:
Here are the pictures i posted them before
[Atrix 4G Android Development] quetzalcoatl2435:
Mea culpa, I must have missed them before.

I'm getting the blue one, but missing "mem=512M@512M" without ramfix.

With ramfix, which is supposed to append "mem=512M@512M", the values change to the black one, but with 784MB available instead of 815MB like on epinter's. The cmdline is exactly the same as on epinter's CM10.

I have no idea why appending "mem=512M@512M" would change the first mem, nvmem, and vmalloc parameters, though.
[Atrix 4G Android Development] Ilkinansr92:
Maybe we should try to mod RAM fix with my values?
[Atrix 4G Android Development] quetzalcoatl2435:
I might try that, but I need more info first.

Care to share your cmdline?
[Atrix 4G Android Development] Ilkinansr92:
Any way i can help?
[Atrix 4G Android Development] rafaelbrandao:
cmdline:

mem=320M@0M nvmem=192M@320M mem=512M@512M vmalloc=320M video=tegrafb console=null usbcore.old_scheme_first=1 tegraboot=sdmmc tegrapart=mbr:d00:100:800,kpanic:2100:400:800 security=tomoyo mot_prod=1 androidboot.serialno=XXXXXXX
[Atrix 4G Android Development] eddhard:
A short term lo ram fix is to download something like system tuner and set it up to kill background tasks.

Not a fix but it works for me.
[Atrix 4G Android Development] Ilkinansr92:
mem=320M@0M really 320? and no ram fix? thats strange as u said ur phone is also AT&T. Why is my phone different O.o
[Atrix 4G Android Development] BravoMotorola:
Fixed the ram problem! Open up the phone, remove the ram part and glue it on upside down. Done!
[Atrix 4G Android Development] rafaelbrandao:
That's literally what I got with "cat /proc/cmdline", just copied-pasted.
[Atrix 4G Android Development] Ilkinansr92:
lol just tried it and it WORKS!!!
[Atrix 4G Android Development] quetzalcoatl2435:
Well, well... Looks like we have 2 AT&T phones with identical tegraparts getting a different cmdline.

I'm gonna read up on modifying the cmdline first. I don't want to repeat my earlier mistake in modifying it which ended up with me almost bricking my phone.
[Atrix 4G Android Development] Zeljko1234:
Screen instability, tearing, sinchronisation or whatever you call is related to SoC temperature. I just came form outside, it's about 11C and screen was unusable. Tearing like hell!

As mentioned already, kernel has wrong power management.
[Atrix 4G Android Development] jhonnyx:
haha, yes, watch out with that values....
[Atrix 4G Android Development] ivica86:
Was writing about that problem a week ago on That Rom I believe, when I was outside(low temperature) screen was working fine, when I entered into my house after 5 min. screen start shaking. I thought it was because overheating...
[Atrix 4G Android Development] Zeljko1234:
I remember your post and in my case is opposite. What is quite weird.
[Atrix 4G Android Development] rafaelbrandao:
What about the camera app, do you guys have the same purple glitches issue, at right side of the screen? I noticed it happens mainly when using widescreen modes (1080 and 720). Plus, images are not fine as in GB roms, seems washed out. Previously widescreen mode (~3mpx) isn't present neither.
[Atrix 4G Android Development] Zeljko1234:
The same what you described.
[Atrix 4G Android Development] stewartsoda:
I have a Class 10 Sandisk 32GB card that causes reboots.
[Atrix 4G Android Development] M4xweLL:
Hi people!!!

I have a Class 2 Samsung 8gb card NO REBOOTS! :D :cool:
[Atrix 4G Android Development] anupash:
Battery life has certainly improved with more deep sleep. Check the screenshots. I had reset the counters for CPU spy in between for a better look the recent hours.

Only reboot that I had with this build is when xda app froze.
[Atrix 4G Android Development] joelorona:
I'm getting a bad battery life, just above 4 hours but i keep data enabled all the time, FB, twitter, whatsapp, instagram and mail sync.

I'll wait until they improve a little more :D
[Atrix 4G Android Development] THUNDERASS:
Just my problem is heating and battery consuption. No tearing screen, No restarts.i handle ram problem with advanced task killer. Now nearly 400 mb free.

i dont know tegra part things what i have..
[Atrix 4G Android Development] anupash:
Well I had wifi on continuously for the whole duration. I am not sure as to what keeps your phone warm. I had wiped my internal and external sdcard before installation. I used CWM to wipe emmc and sdcard.
[Atrix 4G Android Development] ilya11g:
reporting screen shaking/turning off on new build :(

att atrix 4g, 1100 tegra
[Atrix 4G Android Development] THUNDERASS:
i have international atrix i checked tegra part is 1100: 100: .... and i dont have any problem with shaking..
[Atrix 4G Android Development] anupash:
no reboots with sd card for one hour now ..deep sleep works fine ..
[Atrix 4G Android Development] bobtukin:
Still getting a black screen when trying to unlock the phone.
[Atrix 4G Android Development] berniesteven:
Plug in the hdmi cable, unlock, unplug cable. Should be good until you reboot.

MB860 Peace
[Atrix 4G Android Development] ivica86:
Guys, please tell when reporting did you have screen shaking problem and other problems as well in previous build and do you have them now.Thanks
[Atrix 4G Android Development] andrea_marcello:
For me no reboots,only battery drain and phone heating.

SD san disk 8 giga class 4,international atrix tegrapart 1100:100.
[Atrix 4G Android Development] Ilkinansr92:
Strange as i went to bestbuy and bought 2 Sandisk cards and used them no reboots for me with screen off. But my ADATA 32gig class 10 is reboot crazy just turn off the screen 2 secs pass and reboot.
[Atrix 4G Android Development] yeahmann:
New build posted with the quote, "Sd-card problem solved."
[Atrix 4G Android Development] Pistolaobr:
Yeah, I know, Im using that build and did not solve anything, just added some apps and build.prop tweaks in the bugsbuynny 21th
[Atrix 4G Android Development] =JKT=:
Where?

Edit: never mind it all lol
[Atrix 4G Android Development] DroidRunner:
Epritner said the reboots were caused by WiFi drivers. Super lazy, don't want to link it.

But I could be completely wrong though.
[Atrix 4G Android Development] Houseplant:
Definitely willing to buy this. I was running 10/21, but I had to keep WiFi off. The second I turned it on and turned the screen off, I would get a reboot. If I kept it off, it ran just fine.
[Atrix 4G Android Development] DroidRunner:
Yeah I had a tough time believing the reboots were due to random SD cards. Like the Atrix picks and chooses which class and size it want to reboot on.
[Atrix 4G Android Development] quetzalcoatl2435:
I'm getting random reboots off of wifi, so that can't be the only explanation either...

Let's just admit that we have a really crappy kernel on our hands. :(

Edit: A little sneak peek for you. :) Doesn't fix the reboots, though. :(
[Atrix 4G Android Development] BravoMotorola:
I dont get it
[Atrix 4G Android Development] Houseplant:
I'm confused as well; this looks like you are running the older build. Are you running 10/21 and getting reboots without WiFi or are you running 10/23 and getting reboots without WiFi?
[Atrix 4G Android Development] quetzalcoatl2435:
Any build, on or off wifi, experience random reboots on my phone. I'm currently doing a test run on my phone without any wifi drivers. I won't have any wifi or bluetooth, but if that fixes the reboots, I can live with it for the moment.

On another note, modifying the cmdline properly DOES result in 855MB of available RAM. :)

Edit: Whoop. Just got another reboot, without wifi drivers.
[Atrix 4G Android Development] fash99:
Yes, I think the same. This kernel really suck. The only really great are the developers!!!

Enviado desde mi MB860 usando Tapatalk 2
[Atrix 4G Android Development] ebswift:
Is anyone else with an SD card *not* getting reboots? I don't get the reboots here with the SD card always in and wifi on. The only time wifi is off is when I'm in transit, tasker switches it off when I'm away from work or home cell towers. Uptime seems to be indefinite as long as I keep it charged.
[Atrix 4G Android Development] rmkilc:
Me.
[Atrix 4G Android Development] Random Canadian:
I played back a file recorded with "that build" on my laptop, still had the click click click. So theres a problem with audio capture as well as playback.
[Atrix 4G Android Development] Albertini:
The logs I uploaded where off charger, will provide one connected to usb port (to pc) asap.

Is verbose mode ok, or should I only let it ouput errors?

Thnx a lot for having a look!

:good:

Edit: there are no reboots so far with charger conntected, when display goes off. Defintely makes a difference.

Edit2: just had one reboot while installing xfa app. Will upload log after next reboot.
[Atrix 4G Android Development] Ilkinansr92:
Thnx

So far it seems as phone stops or mostly stops rebooting when its connected to any power sourse. Cant wait to compare the logs
[Atrix 4G Android Development] sntc06:
If I remembered correctily when you plug your phone into a power source, it basically won't enter deep sleep.
[Atrix 4G Android Development] Ilkinansr92:
Now that u mentioned it CPU spy did show it running on 216Mhz when plugged and not in deep sleep. Going to disable deep sleep xD

Hey guys add those 2 line to build.prop

pm.sleep_mode=1

ro.ril.disable.power.collapse=1

Also run logs and see what happens then let me know
[Atrix 4G Android Development] yeahmann:
That would explain why reboots are happening when not plugged in. Maybe there are more problems with "that ROM" than we original thought.
[Atrix 4G Android Development] matrox02:
Mine shows that it does go into deep sleep but over night instead of deep sleep is sat on 216mhz all night I suspect that the MDM shut down error is stopping it from entering deep sleep and is also causing the bad battery life, I'm still on the ROM and am waiting for a crash so I can see the log error
[Atrix 4G Android Development] alberto88a:
Testing right now. First comments: Camera flash not working at all. Random reboots if mobile data is enabled. 5 or 6 different cpu governors (I chose ondemand) It seems stable apart for data and camera app that is not very good. Antutu says 4675 (cpu 2511 (ondemand) gpu 894 (hwa should work to get these points) ram 701 and I/O 569) Now I'll test for battery usage until it's totally discharged...come on guys let's try to improve this good base :)

EDIT: it reboots when the screen turns off
[Atrix 4G Android Development] Ilkinansr92:
You would be wrong on this note if i suspect right

MDM shut down stops when plugged in as it doesnt power down the phone completely for deep sleep which stops reboots.

And when phone is unplugged it tries to run MDM shut down to put the phone in deep sleep.

Im testing my build.prop edit right now and others should too and provide logs if u can.
[Atrix 4G Android Development] gambe89:
I experienced lots of reboot when using mobile data, plugged in or not. Seems fine when plugged in using ONLY wifi (data enabled unchecked from settings -> wireless & network -> mobile network).

just my 2 cents..
[Atrix 4G Android Development] matrox02:
When plugged into the charger? Mine was still doing the MDM error while plugged into the charger, should I uoad the error log? There are errors like sound.USB not found and stuff as well in it
[Atrix 4G Android Development] THUNDERASS:
i am an international user So far(3 hours) My experience that rom is working good.But still a little bit warm and battery consume is high.But best android 4 rom i ever seen for atrix. Thanks all of your effort.Please keep working..After all bugs are remove it ll be perfect..
[Atrix 4G Android Development] Ilkinansr92:
Yeh logs are always nice as we all have different tegra parts and that makes out phones different with different problems. And we cant fix what we dont know needs fixing xD

Also we need to get a hold of Faux123 as he is the best kernel dev alive (that i know of =P) or someone equally skilled

pm.sleep_mode=1

ro.ril.disable.power.collapse=1

Fixed my phone reboots when it just in plane sleep mode. with no other interraptions
[Atrix 4G Android Development] berniesteven:
Perhaps you could upload a logcat so dev could see what's wrong.

MB860 Peace
[Atrix 4G Android Development] matrox02:
https://www.dropbox.com/s/ovp70ielg379pqk/alogcat.2012-10-14-09-17-01+1300.txt

I hope this works??

I just reviewed my own logcat, and cannot find the error i mentioned about the sound.usb not being found.. ah well i hope this works, because at any other time when the phone isnt doing anything i just get spammed with mdm_shutdown problems

Oh my tegra part is the 1100 type btw.
[Atrix 4G Android Development] ticiano_arraes:
For me, the most annoying issue so far is the video playback. It plays 2x the normal speed. The video camera works great with videocam illusion
[Atrix 4G Android Development] damonsmith666:
My camera app has disappeared at some point . I don't know if its after permission fix or what but its just gone
[Atrix 4G Android Development] ar31791:
Please watch your language
[Atrix 4G Android Development] Ilkinansr92:
Ringtones.mp3 for CM10

Delete your Audio fonder in system/media before flashing this so you do not have duplicated ringtones.

http://www.mediafire.com/?o8o8pl7l8fak84c

---------- Post added at 05:07 PM ---------- Previous post was at 05:06 PM ----------

You should do wipe cache and Delvik then run fix permissions as based on your log many of them are not recognized....
[Atrix 4G Android Development] yeahmann:
Same speed problem with music. I guess there's something wrong with the codecs.
[Atrix 4G Android Development] quetzalcoatl2435:
For those of you stuck with 784MB of RAM available, try this.

WARNING: DO NOT FLASH IF YOU DON'T KNOW WHAT YOU'RE DOING!!!

You have to edit the updater-script first before you flash. Find your current, working cmdline, and change the setcmdline parameter after "vmalloc=256M" to whatever your cmdline currently is.

The idea is to change:

for those of us stuck with 784MB of RAM to:

which will result in 855MB of available RAM.

Everything behind those 4 parameters should be the same as your current, working cmdline!

WARNING: DO NOT FLASH IF YOU DON'T KNOW WHAT YOU'RE DOING!!!

I AM NOT RESPONSIBLE FOR ANYTHING THAT GOES WRONG BECAUSE OF YOU BORKING YOUR CMDLINE!!!

I have personally tested this and it gave me 855MB instead of 784MB available RAM with this kernel.

P.S. Have a full sbf ready for your phone in case you edited the setcmdline parameters wrong. I made that mistake once, and the only way to recover from a faulty cmdline is to flash a full sbf. Make sure you have the right sbf for your phone. Flashing the wrong sbf file will result in a hardbrick!

Some wise words from the creator of the original ramfix himself:

PLEASE READ AND UNDERSTAND EVERYTHING BEFORE YOU DO ANYTHING!
[Atrix 4G Android Development] Ilkinansr92:
GRATZ MAN my values worked for you still don't get why I had them from the start compared to other ppl

Sent from my CM10 Motorola ATRIX 4G
[Atrix 4G Android Development] supermalloch:
Ramfix test works!

Just want to say that i can confirm that the new ramfix works! :victory:

Thank you!

Before: # cat /proc/cmdline

mem=320M@0M nvmem=192M@320M mem=512M@512M vmalloc=320M video=tegrafb console=null usbcore.old_scheme_first=1 tegraboot=sdmmc tegrapart=mbr:1100:100:800,kpanic:2500:400:800 security=tomoyo mot_prod=1 androidboot.serialno=XXXXXXXXXX

After: # cat /proc/cmdline

mem=384M@0M nvmem=128M@384M mem=512M@512M vmalloc=256M video=tegrafb console=null usbcore.old_scheme_first=1 tegraboot=sdmmc tegrapart=mbr:1100:100:800,kpanic:2500:400:800 security=tomoyo mot_prod=1 androidboot.serialno=XXXXXXXXXX
[Atrix 4G Android Development] Houseplant:
I have also been reboot free for a bit now, even with SD card.
[Atrix 4G Android Development] cailloup:
Ramfix test works here too!

Showing 855Mb RAM :good:

International Atrix

Phone just rebooted, I have 19 services running

482Mo used

373Mo free

The only service with a ram value different from 0 is "settings" with 35mo (same with the hidden processes, all at 0) so I don't know where the rest comes from
[Atrix 4G Android Development] murphy46:
I think this is too much dangerous to be in a rom thread, should be in a Dev Only thead to test...i fla**** and don't work(i see the advice) i will try recover for fastboot or sbf later. Any advice?
[Atrix 4G Android Development] quetzalcoatl2435:
Err, this is in the "Atrix 4G Android Development" section, right?

Have you edited the updater-script to match your working cmdline?
[Atrix 4G Android Development] murphy46:
yeah, but i think i do it wrong, anyways, already fixed...the rom thread are more people than another dev sections, but ok, you right, i will try later anyway with more careful very late now i can broken again to i try tomorrow with more time(and battery)

I don't know if it is a know bug, i can't get image trought hdmi. with and without dock, everything else working beautyful.
[Atrix 4G Android Development] Larac:
Running a sandisk 32GB class10 card with no reboots.

Just noticed that when my phone was on charge over night it stuck @ 312Mhz rather than 216Mhz which it normally does. Bizar.

Off to try the new ramfix.
[Atrix 4G Android Development] Newbleeto:
Has anyone been able to get bluetooth tethering working on this thing? I want to share my mobile internet connection to my nexus 7, but it doesn't work. The devices connect to each other, but the tablet won't access the internet.

I'm running the build from the 23rd.

Before you ask, I did enable bluetooth tethering in the hotspot settings, and my bluetooth headset works just fine.

Cheers!
[Atrix 4G Android Development] NFHimself:
Hi,

Please emphasize that the script needs YOUR complete /proc.cmdline in there, from a working phone adb session, not recovery adb session as the recovery has it's own possible /proc/cmdline via a different kernel, etc. You are not just editing the mem=?? stuff.

What would be best is to first create a zip that is plain jane what your /proc/cmdline is or one that uses setcmdline with a blank argument or "". That way you can reset to default in case of errors. Or you can just fastboot flash your boot partition, no need for an sbf.

Cheers!