LegacyXperia / local_manifests

Local manifest for building CyanogenMod for Xperia 2011 devices
legacyxperia.github.io
122 stars 78 forks source link

Kernel boot logo displayed for more than two minutes #383

Open emaijala opened 10 years ago

emaijala commented 10 years ago

Running CM11 build 20131225 on iyokan, I'm having issues with very long startup times after a shutdown or reboot. It feels to me like the internal partitions weren't cleanly unmounted during shutdown, but take this with a grain of salt as I don't have that much experience with Android internals. In any case, here are the results of some tests I've run. I did a normal reboot and entered CWM by clicking volume down button.

28 seconds displaying CWM-based recovery v6.0.4.5 before displaying the menu 26 seconds to mount /system <1 second to mount /data <1 second to mount sd-ext 5 seconds to mount /storage/sdcard0 (/cache seems to be mounted already, maybe it was the one taking time before the menu?)

If I restart the phone and re-enter CWM, the menu comes up instantly and all the mounts are almost instant as well (apart from /storage/sdcard0 which still takes its time).

If I reboot to CWM and then reboot again right away, CWM shows the "Rebooting" message for 32 seconds before screen goes black. After that the ROM boots quickly.

Here is dmesg from a slow boot: http://pastebin.com/LjuHtBnz Here is dmesg from a normal boot: http://pastebin.com/YjkWXuuM

To me it seems yaffs takes a long time to mount the volumes in the slow boot.

emaijala commented 9 years ago

I'm not seeing this issue on CM-12.1, so for me this is fixed, probably by the switch to ext4 on /data.

gabri-hell commented 9 years ago

Yes for me too, the boot time is back to normal. I think you'd also replace the factory microSDHC card Class 4 by 10 or UHS Class. I just ordered one and will post back when installed to give you the result ! For the moment, my Class 4 is very low on write access, but predictable... So happy that damn boot problem is resolved because it was becoming unbearable !!!

gabri-hell commented 9 years ago

Hey...the gain with Class 10 is not exhilarating !!! I really expected more. Maybe in the next updates of CM-12.1