Skip to content
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

add support for system_root based recoveries #18

Open
wants to merge 2 commits into
base: android10-support
Choose a base branch
from

Conversation

greenflash1986
Copy link

Hi @Roboe

as I ran into the (possible) same issue #11 I possibly fixed it. This PR tries to mount "system" and if this fails it mounts "system_root" and changes the paths accordingly. (If this mount would fail also the script dies.)

Best regards

@greenflash1986
Copy link
Author

I realized that there is more work to do: the TARGET_APKs and TARGET_DIRS need to corrected as well. Will do it and come back with a solution.

@greenflash1986
Copy link
Author

Did it. Hopefully you want to merge it.

Some explanations:

  • added the possibility to mount /system_root/system and changed variables accordingly
  • corrected the paths for the TARGET_APKS / DIRS
  • had to surround *.apk with double quotes to get all correct files. maybe you want to change it in L 52ff?
  • echo -n is to prevent xargs to output an empty line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant