8000 Prevent ChromeOS from comitting suicide + Auto-Repair by kosuke14 · Pull Request #143 · rainestorme/murkmod · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Prevent ChromeOS from comitting suicide + Auto-Repair #143

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

Merged
merged 13 commits into from
Jun 5, 2025

Conversation

kosuke14
Copy link
Contributor
@kosuke14 kosuke14 commented May 18, 2025

chromeos-boot-alert has an ability to re-enable verified mode.
Therefore, we should patch chromeos-boot-alert.
I've brought some code (deprovision) from SH1mmer to implement auto-repair in chromeos-boot-alert.
By patching chromeos-boot-alert, ChromeOS can boot even if chromeos_startup detected block_devmode.

This pull request also includes a commit to ask the user whether they need to update pollen.

This may be a solution for #72, #98, #133 and #136

kosuke14 added 6 commits May 18, 2025 14:59
Asking to update pollen because some user customizes their pollen.
Added patching chromeos-boot-alert for a upcoming patch to prevent blocking dev mode virtually.
patched mode_block_devmode function
@kosuke14 kosuke14 changed the title Patch chromeos-boot-alert to prevent ChromeOS kills itself Patch chromeos-boot-alert to prevent ChromeOS from killing itself May 18, 2025
@kosuke14
Copy link
Contributor Author
kosuke14 commented May 18, 2025

tested successfully just now (on R130)

  1. do vpd -i RW_VPD -s block_devmode=1
  2. reboot immediately by performing EC-Reset.
  3. murkmod will bring back block_devmode to 0
  4. murkmod will boot ChromeOS directly.

@kosuke14 kosuke14 changed the title Patch chromeos-boot-alert to prevent ChromeOS from killing itself Prevent ChromeOS from killing itself May 18, 2025
@kosuke14

This comment was marked as outdated.

@kosuke14 kosuke14 changed the title Prevent ChromeOS from killing itself Prevent ChromeOS from comitting suicide May 18, 2025
@kosuke14
Copy link
Contributor Author
kosuke14 commented May 18, 2025

It also seems the chromeos_startup binary checks both vpd and crossystem.
murkmod's chromeos_startup patch disables only crossystem one.
So, maybe we should patch chromeos_startup to disable vpd one for next.

@kosuke14
Copy link
Contributor Author

done for

It also seems the chromeos_startup binary checks both vpd and crossystem. murkmod's chromeos_startup patch disables only crossystem one. So, maybe we should patch chromeos_startup to disable vpd one for next.

@kosuke14 kosuke14 changed the title Prevent ChromeOS from comitting suicide Prevent ChromeOS from comitting suicide + Auto-Repair May 20, 2025
@kosuke14
Copy link
Contributor Author

I've already tested it and it has backward compatibility.

Copy link
Owner
@rainestorme rainestorme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for the effort on a stupid project I haven't touched in months!

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

Successfully merging this pull request may close these issues.

2 participants
0