phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.4k stars 659 forks source link

Umidigi One Max | Powers Down | Boots straight into TWRP #606

Open kgoerbig opened 5 years ago

kgoerbig commented 5 years ago

Your Roms run great, for the most part. However, if I start streaming a video from any app or start streaming music, after a short amount of time my Umidigi One Max:

A.) Announces, "Powering Down" B.) Boots directly into TWRP C.) If I reboot, it again boots directly into recovery. Almost as if the partition became corrupted. D.) Try to recover a backup I made in twrp, reboot, again boots straight into recovery. E.) If SP Flash can communicate with the phone, I can usually push all the stock images back to the phone. If not, I have to push the images via fastboot with my Ubuntu PC to restore stock on the phone, and then it boots. After that I need to install TWRP, and re-root the device from scratch.

If I do any other CPU intensive task under a GSI ROM, it doesn't have this issue, only when I stream video. I haven't tried any games to see if it causes this behavior.

I have tried multiple GSI Roms located here too, same problem: https://github.com/phhusson/treble_e...%28GSI%29-list

I also install, Open Gapps (pico), and Magisk.

I do not believe the device is overheating, it's usually around 32-34C from the TWRP menu at that point.

As a sidenote, this issue of the device suddenly powering down after starting to stream a video, does not happen with the stock ROM. I am kind of at a loss on this one.

Weirdest thing I have experienced running a custom ROM. I have tried install the GSI Roms from TWRP as an image, and using SP Flash. I still end up with the device powering down after streaming a video, and either partition corruption (I'm guessing), or emmc becoming erased for some odd reason.

And this is after I've setup my device completely (installing apps, backgrounds, everything).

Any Ideas?

phhusson commented 5 years ago

Well get logcat when that happen?

I'm rather thinking this is an issue of under-voltage, than over-temperature, try toset brightness at minimum and see if it happens too?

Le mar. 9 juil. 2019 à 23:17, kgoerbig notifications@github.com a écrit :

Your Roms run great, for the most part. However, if I start streaming a video from any app or start streaming music, after a short amount of time my Umidigi One Max:

A.) Announces, "Powering Down" B.) Boots directly into TWRP C.) If I reboot, it again boots directly into recovery. Almost as if the partition became corrupted. D.) Try to recover a backup I made in twrp, reboot, again boots straight into recovery. E.) If SP Flash can communicate with the phone, I can usually push all the stock images back to the phone. If not, I have to push the images via fastboot with my Ubuntu PC to restore stock on the phone, and then it boots. After that I need to install TWRP, and re-root the device from scratch.

If I do any other CPU intensive task under a GSI ROM, it doesn't have this issue, only when I stream video. I haven't tried any games to see if it causes this behavior.

I have tried multiple GSI Roms located here too, same problem: https://github.com/phhusson/treble_e...%28GSI%29-list

I also install, Open Gapps (pico), and Magisk.

I do not believe the device is overheating, it's usually around 32-34C from the TWRP menu at that point.

As a sidenote, this issue of the device suddenly powering down after starting to stream a video, does not happen with the stock ROM. I am kind of at a loss on this one.

Weirdest thing I have experienced running a custom ROM. I have tried install the GSI Roms from TWRP as an image, and using SP Flash. I still end up with the device powering down after streaming a video, and either partition corruption (I'm guessing), or emmc becoming erased for some odd reason.

And this is after I've setup my device completely (installing apps, backgrounds, everything).

Any Ideas?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/606?email_source=notifications&email_token=AAAA4OXPJ7MSEJRDORBDOWTP6T55BA5CNFSM4H7JMBD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G6GNTKQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAA4OVU7NBK6MKZHQFKVNLP6T55BANCNFSM4H7JMBDQ .

penn5 commented 5 years ago

From recovery erase para partition using DD. Should fix recovery loop

defvs commented 5 years ago

It happened to me as well after installing mods / flashing zips. You need to flash stock partitions back. Make sure you're using phhusson AOSP GSI. Not sure about the other ones.

kgoerbig commented 5 years ago

But why just when streaming? I also tried GSI RR from https://get.resurrectionremix.com/gsi/system-190406-arm64-aonly-vanilla-nosu.img

Same issue. I do a full wipe first, install img, pico, and reboot. Nothing too complex.

I'll try to get logcat of it next time. If it is a voltage issue, why would one of the partitions get wiped or corrupted? Again, I will reinstall soon, and try to get logcat.

kgoerbig commented 5 years ago

I think I may have resolved this issues with root, magisk, and GSI ROMs. Partly from Penn5's comment and another post I found.

This post: https://forum.xda-developers.com/android/development/umidigi-f1-twrp-bootloop-t3935506

  1. I created a file on my external sdcard, and named it bootloop-fix. This way, I have an easy script to execute for the dd command. Just mount the sdcard from twrp, go to advanced > Terminal > cd into the ext card dir > type ./bootloop-fix

I threw this text in it:

!/bin/sh

dd if=/dev/zero of=/dev/block/platform/bootdevice/by-name/para count=1 bs=32

  1. Next, I found a user that created a flashable zip to disable OTA updates both in custom & stock. After I have done both these steps, all GSI Roms are now rock stable.

https://forum.xda-developers.com/showpost.php?p=79644458&postcount=3