Long time no see.
Too busy with work and no time for anything but to relax and drink a beer.
So here are some quick answers:
Normally you need an app to mount the new device. The mounting is implemented in vold (ROM) so I can't do anything to this.
There are countless apps on play store. StickMount is the one I now use.
It's because CWM needs a onetime small initialisation of /cache, where it checks if it should run.
After a friend's successful Xperia S stock to CM11 operation success, it was working very fast and nice because of the dalvik, ram and all optimizations.
So I went this path today, and flashed mike's CM11 with nAa kernel.
I forgot to titaniumbackup some apps and export contacts so I had to switch back.
And it happened to me for the 1st time.
So what procs it? Flashing a non-stock based kernel.
And at last info about it (I was asking every time for logs but no one post anything related all this time)
Code:
bq27520 0-0055: Failed unseal when checking IT Enable. rc=-5
bq27520 0-0055: IT Enable check failed. rc=-5
Normally it should be
Code:
bq27520 0-0055: IT Enable confirmed to be set.
So the driver has a function that unseals the device for initialization.
And a command or a state fails.
Investigating further but don't expect a fix (seems like TI problem).
EDIT------------------------
Ok the fix is easy and intended ONLY to those that can't fix it by flashing another kernel and then CTCaer again.
- With adb enabled connect the phone to a pc.
- Open cmd and write "adb shell"
- Enter su
- enter cd /sys/class/power_supply/bq27520
- enter echo 0 > fg_lock
- enter echo "start" > fg_cmd
- wait 10 seconds
- enter echo "end" > fg_cmd
- wait 10 seconds
- enter echo 1 > fg_lock
Reboot phone