This repository has been archived by the owner on May 8, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
g4: init: init.qcom.post_boot.sh RIL workaround
Enhanced the workaround: - catch all other states (e.g. UNKNOWN) - special handler for PIN_REQUIRED: sometimes this state is set but no prompt happens. a trigger will be set + reset which ensures a RIL restart on every second run. handler will wait 30s for user input between each run/test - increase the number of tries to 20 (10 is too less - especially when 3 are happen almost always directly on boot due to the date/time corrections!) - increase the wait time for RIL initialization from 10 to 30 (makes no sense to kill too fast) - logging example run: > RIL restart - try 1 of 20 > restarted RIL daemon as gsm.sim.state was >< > RIL restart - try 2 of 20 > restarted RIL daemon as gsm.sim.state was >< > PIN_REQUIRED detected. waiting 30s for user input.. > RIL restart - try 4 of 20 > restarted RIL daemon as gsm.sim.state was >PIN_REQUIRED< > PIN_REQUIRED detected. waiting 30s for user input.. > > [USER ENTERS THE PIN] > > gsm.sim.state >READY< > ended (related issue Suicide-Squirrel/issues_oreo#6 ) Change-Id: I1f6a1aeb2eaff0432a8b0d1082522def1ddcd69a
- Loading branch information