Repository navigation
fix: the whole backup over EDL starts PICO OS's debug start under the engineering ABL, so USB debugging is kept - #191
Merged
Conversation
… engineering ABL, so USB debugging is kept Under the stock ABL, which the whole backup writes, PICO OS starts with SELinux enforcing and refuses adb's shell the vendor's USB property; under the engineering ABL, which the restore through overpressure's recovery leaves for that start, it starts permissive. The restore also downloads the unlock files: the backup over EDL needs the loader, and its debug start the engineering ABL. For #172
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For #172
The whole backup over EDL wrote the stock ABL with everything else, so PICO OS's first start ran with SELinux enforcing, which refuses adb's shell
persist.vendor.usb.config(avc: denied { set } ... vendor_usb_prop ... permissive=0). Through overpressure's recovery that start runs under the engineering ABL, where PICO OS starts permissive.cycle --restore-all --debug-startwrites the engineering ABL in place of the stock one (--image abl=...), checked against its hash first; nothing is written otherwise. Write the stock bootloader writes the backup's boot and ABL back, as before.On the headset (Windows): the fixed
cycle --restore-all --debug-start, PICO OS's first start permissive and USB debugging stored,cycle --restore-only, then PICO OS's own start (stock ABL, enforcing) answers adb. Host tests: the restore's first stage, the images, and the refusal without the engineering ABL.