-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Identify UBports recovery via adb #22
Comments
We can achieve this with setting a property inside the recovery init.rc. Which name should the property have? |
The UBports installer has no way of knowing, if the recovery currently used is a UBports specific recovery, which is required in order to install Ubuntu Touch via system-image-upgrader. Set a property which we can check for with ADB to detect if a recovery supporting system-image-upgrader is running. Issue: ubports#22 Change-Id: I0f2a00a0a8f9b68203804f1c61f9b639cf7227fc Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Opened a PR with property Later on we need to pick it to other branches as well. Also needs to be actually checked in installer, which is another TODO. Example usage: it returns:
|
The UBports installer has no way of knowing, if the recovery currently used is a UBports specific recovery, which is required in order to install Ubuntu Touch via system-image-upgrader. Set a property which we can check for with ADB to detect if a recovery supporting system-image-upgrader is running. Issue: ubports#22 Change-Id: I0f2a00a0a8f9b68203804f1c61f9b639cf7227fc Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
updated property to |
The UBports installer has no way of knowing, if the recovery currently used is a UBports specific recovery, which is required in order to install Ubuntu Touch via system-image-upgrader. Set a property which we can check for with ADB to detect if a recovery supporting system-image-upgrader is running. Issue: ubports#22 Change-Id: I0f2a00a0a8f9b68203804f1c61f9b639cf7227fc Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
The UBports installer has no way of knowing, if the recovery currently used is a UBports specific recovery, which is required in order to install Ubuntu Touch via system-image-upgrader. Set a property which we can check for with ADB to detect if a recovery supporting system-image-upgrader is running. Issue: ubports/halium_bootable_recovery#22 Change-Id: I0f2a00a0a8f9b68203804f1c61f9b639cf7227fc Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
The UBports installer has no way of knowing, if the recovery currently used is a UBports specific recovery, which is required in order to install Ubuntu Touch via system-image-upgrader. Set a property which we can check for with ADB to detect if a recovery supporting system-image-upgrader is running. Issue: ubports/halium_bootable_recovery#22 Change-Id: I0f2a00a0a8f9b68203804f1c61f9b639cf7227fc Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
The UBports installer has no way of knowing, if the recovery currently used is a UBports specific recovery, which is required in order to install Ubuntu Touch via system-image-upgrader. Set a property which we can check for with ADB to detect if a recovery supporting system-image-upgrader is running. Issue: ubports/halium_bootable_recovery#22 Change-Id: I0f2a00a0a8f9b68203804f1c61f9b639cf7227fc Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
This is possible now on the installer side with ubports/ubports-installer#2529 and needs installer config changes done by the maintainers. As all the patches have landed for the recoveries, they need to be rebuilt and it should start working. |
The UBports installer has no way of knowing, if the recovery currently used is a UBports specific recovery, which is required in order to install Ubuntu Touch via system-image-upgrader. Set a property which we can check for with ADB to detect if a recovery supporting system-image-upgrader is running. Issue: ubports#22 Change-Id: I0f2a00a0a8f9b68203804f1c61f9b639cf7227fc Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
The UBports installer has no way of knowing, if the recovery currently used is a UBports specific recovery, which is required in order to install Ubuntu Touch via system-image-upgrader. Set a property which we can check for with ADB to detect if a recovery supporting system-image-upgrader is running. Issue: ubports#22 Change-Id: I0f2a00a0a8f9b68203804f1c61f9b639cf7227fc Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
The UBports installer has no way of knowing, if the recovery currently used is a UBports specific recovery, which is required in order to install Ubuntu Touch via system-image-upgrader. Set a property which we can check for with ADB to detect if a recovery supporting system-image-upgrader is running. Issue: #22 Change-Id: I0f2a00a0a8f9b68203804f1c61f9b639cf7227fc Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
The UBports installer has no way of knowing, if the recovery currently used is a UBports specific recovery, which is required in order to install Ubuntu Touch via system-image-upgrader. Set a property which we can check for with ADB to detect if a recovery supporting system-image-upgrader is running. Issue: #22 Change-Id: I0f2a00a0a8f9b68203804f1c61f9b639cf7227fc Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Check for legacy channel flag and hardlink system.img again (cherry picked from commit 85ea41287b3c51fa781749c652adec182cf13e0b)
The UBports installer has no way of knowing, if the recovery currently used is a UBports specific recovery, which is required in order to install Ubuntu Touch via system-image-upgrader. Set a property which we can check for with ADB to detect if a recovery supporting system-image-upgrader is running. Issue: ubports#22 Change-Id: I0f2a00a0a8f9b68203804f1c61f9b639cf7227fc Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
The UBports installer has no way of knowing, if the recovery currently used is a UBports specific recovery, which is required in order to install Ubuntu Touch via system-image-upgrader. Set a property which we can check for with ADB to detect if a recovery supporting system-image-upgrader is running. Issue: ubports#22 Change-Id: I0f2a00a0a8f9b68203804f1c61f9b639cf7227fc Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
For proper installation having the UBports recovery onboard is mandatory. Currently the installer happily uses TWRP et.al. and tries to install UT with them, which fails.
Make recovery somehow identifyable from the outside via adb so that we can stop the installer from doing bad things.
The text was updated successfully, but these errors were encountered: