MuntashirAkon / MuntashirAkon/AppManager

Reboot options

Open
#1,405 3 comments 0 reactions 0 assignees View on GitHub
Feature Priority: 3 Status: Pending
Dominant language
Java
Stars
9k
Forks
518
PR merge metrics
No merged PRs in 30d

Description

### Please check before submitting an issue

- [X] I am using the latest version of App Manager
- [X] I have searched the issues and haven't found anything relevant
- [X] I have read the docs

### Describe a description of the new feature

As a package manager AM should allow users to reboot the phone similar to Magisk directly from the app itself.

![ResizedImage_2024-07-11_06-51-27_2617](https://github.com/MuntashirAkon/AppManager/assets/48226312/7165f8bf-690f-4c9d-a9df-93596ba0ee60)

Few cases where AM itself requires device reboot.
1. Apps that use storage access framework (SAF), SSAID or Android KeyStore works properly only after an immediate restart. ([source](https://muntashirakon.github.io/AppManager/en/#subsec:backup-restore-restore))
2. Root users don’t need to enable ADB over TCP. If you still want to use ADB over TCP, you must revoke superuser permission for App Manager and restart your device. ([source](https://muntashirakon.github.io/AppManager/en/#sec:adb-over-tcp))

Manually using hardware button for reboot isn't ideal, though you don't need hardware button as some ROMs (modern android phones) provide this option on android's pull-down-menu. But I do think advanced package manager like AM should provide this basic feature.

### Describe the solution you'd like

1. Add the Reboot options to options menu of main page (_Root/ADB-only feature_)
2. Where AM itself requires reboot - show a dialog of 30sec timer with option to "reboot now" & "cancel"

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.