Stopping deamon and restart it caused fatal bootloop
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 1.4k
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
Environment
Platform:Android
OS Version:8.1(EMUI 8.1)
Testing Software Version:AccA 1.0.34
Advanced Charging Controller v2022.6.4
Device Models:Huawei P20 Pro HW-01K CLT-L0J
Description
Operated ‘stop’ Advanced Charging Controller Daemon(accd) from AccA then started it manually. Rebooted, then boot stucked at bootloader unlocked warning screen.
Steps to reproduce
1.Install AccA
2.Notifys ACC installation fail
3.Install latest ACC manually
4.Restart AccA and confirm accd is working
5.Press ‘stop’ to stop accd via AccA
6.Sometime later, start accd via AccA
7.Reboot phone
8.Phone doesn't boot
Expected result
Phone boots normally
Actual result
Can not boot to Android
You can't mount any partition at TWRP Custom Recovery
You can't wipe any partition at TWRP Custom Recovery
You can't install/backup/restore zip/img at TWRP Custom Recovery
You can't ADB sideload/don't see real files at file manager/fix linux context/change file system/resize file system etc at TWRP Custom Recovery
You can't boot eRecovery(EMUI Recovery)
You can't enter into fastboot mode(still you can get into rescue&fastboot mode via connecting usb cable with pc and volume down + power buttons)
You can use ADB at TWRP but you can't use pull/push command, shows mount error
You can write img file via rescue&fastboot mode but the partition will not come back, console says writing successful but you do not have access to any partition yet.
You can't use dload to write firmware forcefully via USB-OTG USB memory because you don't have eRecovery
Reproducibility Rate
Unknown, just did once
Workarounds
Unknown
Severity (Reference)
Critical
Priority (Reference)
High
Screenshots / Videos / Logs
There is no way to take pictures unless you have extra phone or camera
The log appeared at TWRP was mostly mount error, like /system is invalid argument (error for every partition except recovery)
Notes
I got bootloop at woke up. What I did before shutdown was just only AccA related, and this is exactly only related to system modifying (I'm not refering to system partition) probably make phone brick, so I made this issue. I tried to download firmware for CLT-L0J(Charlotte-L0J) because I didn't back up my phone but they are need to pay and have wired pay system, like paying to world local reseller or pay it with crypto-coins, so I could't buy them at all. If I have right Full-OTA firmware data maybe I could unbrick my phone. But the phone does not me allow to write/mount any partition so still hopeless anyway. I asked the cell phone store to repair it because I can't handle this anymore.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the stop/start accd sequence in steps 5–7 and the reboot in step 8, then investigate the reported TWRP mount errors and partition-access failures. The issue provides no file, test, log, workaround, or reliable reproduction; done would require demonstrating that this sequence no longer leaves the Android device unable to boot or access partitions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile, operating-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100