http://reviewjolla.blogspot.com/2013/12/jolla-howto-workaround-for-battery-life.html?m=1
After publishing an article about finding the NFC bug, lots of users have tested workarounds to fix the bug. The software solution given there is now confirmed as safe, so I share it again in this detailed HowTo. Workarounds like this remains the only change for users to extend their battery life for normal level, as the next Sailfish update 2, version 1.0.2.5 does not offer a fix the this bug yet, but an update is on its way:
@zlatkoe @SimoRuoho ETA for NFC hot fix is second week of January. This time we need to make sure that it really works ..
— Harri Hakulinen (@HarriHakulinen) December 27, 2013
To enable developer superuser mode in Jolla
- Go to Jolla Settings -> Developer Mode
- Enable developer mode. Enable SSH connection.
- Enter or generate a new password (options are visible after SSH). Remember it and Save.
- Reboot your phone
To prevent Jollas communication with The Other Half (NFC bug)
Open terminal. You see an exchanged keyboard, and an enter line showing "bash-3.2$ ". Thats where you write your commands. During the following commands, the enter line changes to "bash-3.2# ", telling you that you have entered developer superuser mode. In this mode its possible to command the phones hardware. During your writing, either the keyboard or the command line is higlighted - you can write even when keyboard changes to grey. Write the bolded commands below, and press enter after each:devel-su <- you command your terminal to enter developer superuser mode
(your password) <- note: invisible writing. Jolla confirms that you are the superuser
systemctl mask tohd.service <- you put a mask to a buggy service commanding NFC chip
systemctl stop tohd.service <- you stop the service
exit <- you leave the devel-su mode
exit <- you leave the terminal (it closes)
Terminal closes, and you have now a phone using less battery. Cconsumption is reduced by 2% per hour, giving you max 500h standby time. Your phone does not recognize The Other Half any more, so the ambience does not change when you attach it. Everything else is normal. Masking the service, like commanded above, prevents the phone to enable connection after reboot, so this offers a permanent fix until removed.
To return everything the way it was
After Jolla distributes a Sailfish OS update fixing the NFC bug, you can remove your changes to the system. Its safer to do before installing that update, but this should work as well after it. Open terminal again, write the bolded commands below, and press enter after each:devel-su <- you command your terminal to enter developer superuser mode
(your password) <- note: invisible writing. Jolla confirms that you are the developer.
systemctl unmask tohd.service <- you take the mask away, so the system can find the service again
systemctl start tohd.service <- you start the service
exit <- you leave the devel-su mode
exit <- you leave the terminal (it closes)
Terminal closes, and your Jolla can communicate with The Other Half again.
Is this all safe?
According to Harri Hakulinen, Chief engineer at Jolla, yes it is:@SimoRuoho Stopping tohd.service should be otherwise ok, but if you do it you may need to start it again manually after update.
— Harri Hakulinen (@HarriHakulinen) December 27, 2013
According to several users, yes it is. Ive been carefully following comments going on at forums, twitter and The User Report tool during the last 4 days. People are reporting better standby hours, and none of them has reported problems caused by this fix.However, keep in mind that you must be careful with what you do. In the developer mode, wrong commands given can break your phone.
0 comments:
Post a Comment