0x192 / 0x192/universal-android-debloater
Can't enable packages after disabled them on Sony Xperia 1 V
- Dominant language
- Rust
- Stars
- 19.9k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
### **Your phone model**:
Sony Xperia 1 V (XQ-DQ72)
---
### **Describe the issue**
A clear and concise description of what the problem is.
I **disabled** `com.sonymobile.pip` and **uninstalled** `com.sonymobile.sidesenseapp.monitor`
But later when I found my third party pip function is not working as usual ( wechat video chat pip lost audio after around 10 min picture-in-picture mode running)
So I tried to **restore** `com.sonymobile.sidesenseapp.monitor` and **enable** `com.sonymobile.pip`. The sidesense is restored as excepted, but not functioning. And for pip, it didn't even restore.
And I also tried other packages I disabled/uninstalled at the same time, all uninstalled packages can be restored successfully. But those disabled ones, I can't get even one of them to be enabled again.
I then tried **reflash** the ROM without dropping the userdata, but the two functions only work before I restore my magisk root, once I regain the root it all back to the state before reflashing
---
### **You have a solution?**
What to do to fix the issue.
Sadly, I don't have any solutions right now.
---
### **UAD log**
Upload the logfile generated by UAD. It would be difficult to help you without it.
This contains the log of disable/uninstall process
[UAD_20230714.log](https://github.com/0x192/universal-android-debloater/files/12051482/UAD_20230714.log)
This contains the log of enable/restore process
[UAD_20230715.log](https://github.com/0x192/universal-android-debloater/files/12051487/UAD_20230715.log)
---
Thanks in advance!
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue involves ADB commands to enable/disable Android packages on a Sony Xperia device. Review the logs (UAD_20230714.log and UAD_20230715.log) to see the disable and enable attempts. Look at the code handling package state changes, likely in the ADB interaction module. Test on a similar device to reproduce the enable failure after a disable. 'Done' means the package can be re-enabled successfully via the tool.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, rust
- Domain
- mobile, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100