ponces / treble_aosp

Script and patches for building TrebleDroid AOSP
Other
179 stars 46 forks source link

Random System UI Restarts #50

Closed aarslan007 closed 7 months ago

aarslan007 commented 9 months ago

Info

Device: Infinix Note 10 Pro
GSI version: treble_arm64_bgN-userdebug 14 UP1A.231105.003.A1 eng.ponces.20231201.112420 release-keys
Vendor version: MOLY.LR13.R1.MP.V93.P47,MOLY.LR13.R1.MP.V93.P47

Expected Behavior

There should be no random restarts.

Current Behavior

The SystemUI randomly restarts, and the Android logo appears. Then you have to unlock the phone, and the app you're using is not active anymore, losing any filled-in information or progress.

Possible Solution

Not sure.

Steps to Reproduce

1. It is random, so I can't really reproduce it. Although, it does happen a minute or so after I restart my phone everytime.

Logs

Acknowledgements

ponces commented 9 months ago

Got logs?

aarslan007 commented 9 months ago

Here you go:

a.log

aarslan007 commented 9 months ago

Reboots are happening on the latest build as well:

treble_arm64_bgN-userdebug 14 UQ1A.231205.015 eng.ponces.20231210.103257 release-keys

ponces commented 9 months ago

Can't see any SystemUI restart on that log. Was this retrieved during a restart?

aarslan007 commented 9 months ago

Here's the latest one:

a.log

ponces commented 9 months ago

Again, no SystemUI crash on those logs... are you sure it happened during that time?

aarslan007 commented 9 months ago

When the Android logo appears, is it the SystemUI that restarts or is it the phone that reboots? I'm not sure if I worded it right.

novhy commented 9 months ago

i think its because anr 5 seconds timeout activity manager kill systemui sometime its kill important java process so zygote got restarted

or its because unsupported kernel bpf?

mustahids1 commented 9 months ago

Same issue for me as well. Device Infinix x689B. Build number: treble_arm64_bgN-userdebug 14 UQ1A.231205.015.A1 eng.ponces.20231217.141736 release-keys

Every reboot is like two reboots. After the device restarts, within 1-2 minutes the device reboots again automatically, the "android" logo appears. The 2nd one is very short kind of reboot. I have also noticed auto reboots in random times as well.

After the latest update, I can't flash the magisk patched boot img as well. The flashing finishes perfectly, but after the "fastboot reboot" command, the device gets stuck in the stock recovery mode. To get my device running again, stock boot.img flashing only helps. So Root is not working.

Any solution?

aarslan007 commented 9 months ago

Unfortunately, the latest update didn't fix these annoying reboots. Hope it gets resolved soon.

mustahids1 commented 9 months ago

Unfortunately, the latest update didn't fix these annoying reboots. Hope it gets resolved soon.

Hello there, have you installed magisk successfully?

aarslan007 commented 9 months ago

No, I don't root my phone anymore.

mustahids1 commented 9 months ago

Magisk worked perfectly for me in the previous version. The lastest update is killing me. There are other issues as well, like, while in a call or using earphone, the device seems confused where to put the sound output. I get auto loudspeaker while talking over a call and can't change it. Using earphone doesn't trigger any changes, I get two sounds, both the earphone and the phone speaker. Checked the earphone with the other devices, its fine. The package installer also crashes, and after a reboot yt revanced and yt music revanced automatically vanishes.

I am in a mess completely :(

aarslan007 commented 9 months ago

Yes, the latest build has issues. I'm facing the following:

  1. Sometimes, when using the headphones, the sound comes through the headphones as well as the speakers.
  2. Can't change the clock style on the lock screen.
  3. Random reboots.
  4. No fingerprint lock.

Are you facing any of these other issues as well, @mustahids1 ?

mustahids1 commented 9 months ago

Yes, the latest build has issues. I'm facing the following:

  1. Sometimes, when using the headphones, the sound comes through the headphones as well as the speakers.
  2. Can't change the clock style on the lock screen.
  3. Random reboots.
  4. No fingerprint lock.

Are you facing any of these other issues as well, @mustahids1 ?

Definitely Facing the 1 & 3 issues Not facing the fourth issue. About the 2nd one, no idea. Haven't tried to change it yet.

I hope and pray that the devs check these out.

aarslan007 commented 8 months ago

@ponces This issue has worsened with the latest update. I have had so many restarts.

mustahids1 commented 8 months ago

@ponces This issue has worsened with the latest update. I have had so many restarts.

I have gone back to my stock rom. Seems like there is no stable/bugless custom rom/gsi for my infinix hot 10s :( sad

aarslan007 commented 8 months ago

I'm also contemplating flashing LineageOS 20 GSI because there's no other VNDKLITE Android 14 GSI other than AOSP.

ponces commented 8 months ago

Does this issue happen on TD?

mustahids1 commented 8 months ago

I'm also contemplating flashing LineageOS 20 GSI because there's no other VNDKLITE Android 14 GSI other than AOSP.

I haven't tried vndklite version yet. My treble info says "system-arm64-ab.img.xz" Not sure about the compatibility.

aarslan007 commented 8 months ago

I tried TD in the early days of Android 14. It didn't happen. But I hated TD vanilla, so I tried yours.

aarslan007 commented 8 months ago

I'm also contemplating flashing LineageOS 20 GSI because there's no other VNDKLITE Android 14 GSI other than AOSP.

I haven't tried vndklite version yet. My treble info says "system-arm64-ab.img.xz" Not sure about the compatibility.

Treble Info app's readings on the stock ROM are the correct ones. Once you install the GSI, it doesn't detect that you have VNDKLITE.

ponces commented 8 months ago

I tried TD in the early days of Android 14. It didn't happen. But I hated TD vanilla, so I tried yours.

What about the latest build of TD for example?

aarslan007 commented 8 months ago

I tried TD in the early days of Android 14. It didn't happen. But I hated TD vanilla, so I tried yours.

What about the latest build of TD for example?

Ok. If I decide to flash LineageOS, I'll flash TD in between and let you know how it goes.

BrianXtrim commented 7 months ago

Have you tried lineage os or TD. and if so does it still restart?

aarslan007 commented 7 months ago

Yes, I tried LineageOS 20 TD. It didn't restart, but some apps like Foodpanda don't work on it. I'm back on this GSI now because, other than the restarts, it is pretty much the best VNDKLITE option for me right now.

ponces commented 7 months ago

I'll send you a test build later today @aarslan007 . Can you hit me on telegram please?

aarslan007 commented 7 months ago

Sure. Thanks.

aarslan007 commented 7 months ago

I'll send you a test build later today @aarslan007 . Can you hit me on telegram please?

My Telegram is not working. I have been trying to make it work for hours now. Could you share it here?

Will I be able to flash this test ROM without losing my data? I have just recently set everything up.

ponces commented 7 months ago

Here it is! Let me know how it goes.

aarslan007 commented 7 months ago

Here it is! Let me know how it goes.

Can I dirty flash it?

aarslan007 commented 7 months ago

@ponces Is this VNDKLITE? Others don't work on my phone. Sorry, just want to be sure because it doesn't say so in the file name.

ponces commented 7 months ago

It's not. I assumed it was regular. Here it is.

ponces commented 7 months ago

Any news?

aarslan007 commented 7 months ago

Installing it. Will report shortly.

aarslan007 commented 7 months ago

No restarts so far after flashing the test build. Even the lock screen clock is fixed in this build. Thank you! šŸ‘

ponces commented 7 months ago

No restarts so far after flashing the test build. Even the lock screen clock is fixed in this build. Thank you! šŸ‘

Was this so easily reproduced? Were they frequently occuring?

aarslan007 commented 7 months ago

Yes, they were occurring more frequently since the last update. And a restart always occurred right after whenever I manually restarted the phone.

But so far so good with this test build!

mustahids1 commented 7 months ago

I guess I need to try this test build also. Let's see. Will magisk work fine in this? @ponces

mustahids1 commented 7 months ago

Here it is! Let me know how it goes.

Have you removed the regular version? Can you give it again? I can hit you on telegram.

aarslan007 commented 7 months ago

Still working perfectly after 15 hours or so.

ponces commented 7 months ago

Merged and to be delivered in the following releases: https://github.com/TrebleDroid/platform_packages_modules_Connectivity/commit/abd5c4c28ee7a09eaf40809b1d1ececad495bf0e

mustahids1 commented 7 months ago

Still working perfectly after 15 hours or so.

How's your battery doing? Is the battery backup normal, like before? Or have you noticed any changes? I noticed that even when the phone is locked (screen off), there is significant amount of battery drainage. Can't find out what's draining my battery even when I am not using it.

BrianXtrim commented 7 months ago

My battery also just started draining. And it doesnt even charge well anymore.

aarslan007 commented 7 months ago

My battery seems to be normal.

mustahids1 commented 7 months ago

My battery also just started draining. And it doesnt even charge well anymore.

Exactly. I have a fast charger but the phone is charging very slowly and draining fast.