errmsg, I'm using you kernel from first post of the thread with stock ROM. Works good, but have several issues:
1. There is some kind of sleep of death. If there is some heavy app in memory, i.e. Navitel, smart goes to locked state and can't be unlocked. It doesn't respond to power button.
That's a very valuable info. I had this only once during 2 weeks with GitHub application trying to load my kernel repository. I was not able to reproduce this and I think that's because of acer's changes to lowmemorykiller. I filed a bug
for this and
will port the changes now
I checked the boot logs and found this:
E/ActivityManager( 125): java.io.FileNotFoundException: /sys/module/lowmemorykiller/parameters/del_pid (No such file or directory)
E/ActivityManager( 125): java.io.FileNotFoundException: /sys/module/lowmemorykiller/parameters/add_pid (No such file or directory)
: Acer tries to keep process android.process.acore alive even in low memory condition. As you may remember Acer has created a "beautiful" Acer UI replacing stock android interface. I suppose it was so memory-hungry that Acer decided to prevent the user from seeing how all this UI gets killed by android.
Even HTC Sense on my wife's HTC Desire gets unloaded in low memory condition (which does not look like a good thing as well). So porting these changes may not be something that would be helpful.
2. Another minor issue also with locking, I've reproduced today, when attach usb cable to the phone also it can't be unblocked. Phone responds to the power button, I can see turn off power popup, but I was unable to choose something until unplugged cable. This is minor issue.
I think this may be related to the previous one, since touchscreen driver was not tampered with I am fairly sure it is something being killed that feeds input to the system. I will inspect ActivityManagerService to see what exactly it tries to keep alive.
Could you please run adb shell dmesg when the USB cable is attached and pastebin it? It would be great if you could record a video of the failure to see how USB plug in/out timing may affect it. I haven't experienced this on my phone, though.
Edited by errmsg, 17 June 2013 - 05:25 PM.