clear the Cache on google services app or setting the wifi to always on seems to fixed the problem for me. The phone haven't freeze last 24hours. It usually freeze every half an hour and required hard reboot.
ok. I tested AOSP 7.1.2 and it's usable!!! Battery management seems to be very well. I have to tablet sleep for days and battery still remain. Just little bit slow whenever launching an app, it hesitate few seconds and then run the app. For facebook, I switch to use an app call "friendly"...
Someone managed to upgrade his Nexus 5 from 16gb to 64gb — and not only that, upgraded the eMMC type from 4.5 to 5.0 so it writes and reads much faster.
Ok. After testing many roms.
The only way to get facebook runnable is to use android 4.3.1 (SmoothROM 5.3) ( I think I tested android 7, 6, 5 and 4.4 and all lag like hell)
SmoothROM v5.3 Link
Have to use google chrome and m.facebook.com and add shortcut to desktop.
You can do the same...
I found the high Idle battery usage some what related to the phone keep search for upgrade and the process "android OS" was consuming around 50% all the time.
After set these two setting, it fixed the battery drain and "android OS" only use around 20%. Now it remains 100% battery for 10 hours...
Try:
1) Setting->System update ->(three dots)->Update Settings->Wifi auto download (Disable)
2) Setting->Battery->(Setting icon on top right)->keep wifi on when sleeping->Never
9pm last night to 7am this morning, it remains 100% battery. (Android OS was running 11%)
Before these setting, I only get around 70% battery when I wake up in the morning.(Android OS was running 56%)
1) Setting->System update ->(three dots)->Update Settings->Wifi auto download (Disable)
2) Setting->Battery->(Setting icon on top right)->keep wifi on when sleeping->Never
After these two settings, the android OS usage drop back to normal 10~20%