Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Splash screen freeze #15

Open
Pia38 opened this issue Jul 14, 2022 · 7 comments
Open

Splash screen freeze #15

Pia38 opened this issue Jul 14, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@Pia38
Copy link

Pia38 commented Jul 14, 2022

Version 4.7 tested on Xiaomi android 10, after granting ".Statuses" storage access, app freezes on splash screen layout
Please fix

@GauthamAsir
Copy link
Owner

Please attach logs for debugging

@GauthamAsir GauthamAsir added the bug Something isn't working label Jul 14, 2022
@Pia38
Copy link
Author

Pia38 commented Jul 14, 2022

This log error

2022-07-14 14:12:43.947 30339-30339/? E/tatusdownloade: Unknown bits set in runtime_flags: 0x8000
2022-07-14 14:12:45.443 30339-30339/a.gautham.statusdownloader E/libc: Access denied finding property "ro.vendor.df.effect.conflict"
2022-07-14 14:12:46.334 30339-30597/a.gautham.statusdownloader E/ion: ioctl c0044901 failed with code -1: Invalid argument

@Pia38
Copy link
Author

Pia38 commented Jul 14, 2022

@GauthamAsir
Copy link
Owner

Any other logs available?

@Pia38
Copy link
Author

Pia38 commented Jul 14, 2022

Nothing, only that log shows up, I've been trying to find another error log. but no.

In "Run" also not found error log

@Pia38
Copy link
Author

Pia38 commented Jul 14, 2022

This full log by "Logcat Verbose" from opening applications, granting storage access, until the application stops only on the Splash screen

2022-07-14 14:29:10.084 31930-31930/a.gautham.statusdownloader V/PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@49f09ad, this = DecorView@57804e2[SplashActivity]
2022-07-14 14:29:10.098 31930-31961/a.gautham.statusdownloader D/Surface: Surface::connect(this=0xd4f34800,api=1)
2022-07-14 14:29:10.102 31930-31961/a.gautham.statusdownloader D/Surface: Surface::setBufferCount(this=0xd4f34800,bufferCount=3)
2022-07-14 14:29:10.103 31930-31961/a.gautham.statusdownloader D/Surface: Surface::allocateBuffers(this=0xd4f34800)
2022-07-14 14:29:30.753 31930-31961/a.gautham.statusdownloader D/Surface: Surface::disconnect(this=0xd4f34800,api=1)
2022-07-14 14:29:30.786 31930-31961/a.gautham.statusdownloader I/GED: ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 2, oppidx_max 2, oppidx_min 0
2022-07-14 14:29:30.794 31930-31930/a.gautham.statusdownloader V/PhoneWindow: DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@49f09ad, this = DecorView@57804e2[SplashActivity]
2022-07-14 14:29:33.606 31930-31930/a.gautham.statusdownloader V/PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@49f09ad, this = DecorView@57804e2[SplashActivity]
2022-07-14 14:29:33.624 31930-31961/a.gautham.statusdownloader D/Surface: Surface::connect(this=0xd4f34800,api=1)
2022-07-14 14:29:33.626 31930-31961/a.gautham.statusdownloader D/Surface: Surface::setBufferCount(this=0xd4f34800,bufferCount=3)
2022-07-14 14:29:33.627 31930-31961/a.gautham.statusdownloader D/Surface: Surface::allocateBuffers(this=0xd4f34800)
2022-07-14 14:29:38.249 31930-31961/a.gautham.statusdownloader D/Surface: Surface::disconnect(this=0xd4f34800,api=1)
2022-07-14 14:29:38.282 31930-31930/a.gautham.statusdownloader V/PhoneWindow: DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@49f09ad, this = DecorView@57804e2[SplashActivity]
2022-07-14 14:29:38.297 31930-31961/a.gautham.statusdownloader I/GED: ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 2, oppidx_max 2, oppidx_min 0
2022-07-14 14:29:41.242 2298-2298/? I/Zygote: DropCapabilitiesBoundingSet ro.build.version.type=
2022-07-14 14:29:41.255 2298-2298/? I/tatusdownloade: Late-enabling -Xcheck:jni
2022-07-14 14:29:41.297 2298-2298/? E/tatusdownloade: Unknown bits set in runtime_flags: 0x8000
2022-07-14 14:29:41.733 2298-2298/a.gautham.statusdownloader I/FeatureParser: can't find angelica.xml in assets/device_features/,it may be in /vendor/etc/device_features
2022-07-14 14:29:41.757 2298-2298/a.gautham.statusdownloader W/tatusdownloader: type=1400 audit(0.0:140519): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=433 scontext=u:r:untrusted_app:s0:c18,c257,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
2022-07-14 14:29:41.762 2298-2298/a.gautham.statusdownloader E/libc: Access denied finding property "ro.vendor.df.effect.conflict"
2022-07-14 14:29:41.783 2298-2333/a.gautham.statusdownloader D/libMEOW: applied 0 plugin for [a.gautham.statusdownloader].
2022-07-14 14:29:41.883 2298-2298/a.gautham.statusdownloader D/ForceDarkHelper: updateByCheckExcludeList: pkg: a.gautham.statusdownloader activity: a.gautham.statusdownloader.SplashActivity@aabe4d0
2022-07-14 14:29:41.900 2298-2298/a.gautham.statusdownloader I/chatty: uid=10274(a.gautham.statusdownloader) identical 2 lines
2022-07-14 14:29:41.902 2298-2298/a.gautham.statusdownloader D/ForceDarkHelper: updateByCheckExcludeList: pkg: a.gautham.statusdownloader activity: a.gautham.statusdownloader.SplashActivity@aabe4d0
2022-07-14 14:29:41.905 2298-2298/a.gautham.statusdownloader D/ForceDarkHelper: updateByCheckExcludeList: pkg: a.gautham.statusdownloader activity: a.gautham.statusdownloader.SplashActivity@aabe4d0
2022-07-14 14:29:41.909 2298-2298/a.gautham.statusdownloader W/tatusdownloade: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
2022-07-14 14:29:41.912 2298-2298/a.gautham.statusdownloader W/tatusdownloade: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
2022-07-14 14:29:41.916 2298-2298/a.gautham.statusdownloader D/ForceDarkHelper: updateByCheckExcludeList: pkg: a.gautham.statusdownloader activity: a.gautham.statusdownloader.SplashActivity@aabe4d0
2022-07-14 14:29:41.921 2298-2298/a.gautham.statusdownloader I/chatty: uid=10274(a.gautham.statusdownloader) identical 1 line
2022-07-14 14:29:41.938 2298-2298/a.gautham.statusdownloader D/ForceDarkHelper: updateByCheckExcludeList: pkg: a.gautham.statusdownloader activity: a.gautham.statusdownloader.SplashActivity@aabe4d0
2022-07-14 14:29:41.947 2298-2298/a.gautham.statusdownloader D/URI: content://com.android.externalstorage.documents/document/primary%3AAndroid%2Fmedia%2Fcom.whatsapp%2FWhatsApp%2FMedia%2F.Statuses
2022-07-14 14:29:41.949 2298-2298/a.gautham.statusdownloader I/Timeline: Timeline: Activity_launch_request time:208052646
2022-07-14 14:29:41.984 2298-2298/a.gautham.statusdownloader I/SurfaceFactory: [static] sSurfaceFactory = com.mediatek.view.impl.SurfaceFactoryImpl@47c6771
2022-07-14 14:29:42.202 2298-2298/a.gautham.statusdownloader I/PowerHalWrapper: PowerHalWrapper.getInstance
2022-07-14 14:29:42.209 2298-2298/a.gautham.statusdownloader D/ViewRootImpl[SplashActivity]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
2022-07-14 14:29:42.218 2298-2298/a.gautham.statusdownloader D/libMEOW: applied 0 plugin for [a.gautham.statusdownloader].
2022-07-14 14:29:42.219 2298-2298/a.gautham.statusdownloader I/InputTransport: Create ARC handle: 0xc4989210
2022-07-14 14:29:42.222 2298-2298/a.gautham.statusdownloader V/PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@49f09ad, this = DecorView@57804e2[SplashActivity]
2022-07-14 14:29:42.225 2298-2298/a.gautham.statusdownloader W/Looper: Slow Looper main: Activity a.gautham.statusdownloader/.SplashActivity is 568ms late (wall=0ms running=0ms ClientTransaction{ callbacks=[android.app.servertransaction.TopResumedActivityChangeItem] }) because of 2 msg, msg 1 took 405ms (seq=2 running=348ms runnable=3ms io=28ms late=2ms h=android.app.ActivityThread$H w=110), msg 2 took 460ms (seq=3 running=217ms runnable=3ms io=182ms late=109ms h=android.app.ActivityThread$H w=159)
2022-07-14 14:29:42.282 2298-2331/a.gautham.statusdownloader D/libMEOW: applied 0 plugin for [a.gautham.statusdownloader].
2022-07-14 14:29:42.283 2298-2331/a.gautham.statusdownloader I/GPUD: @gpudInitialize: successfully initialized with GL, dbg=0 mmdump_dbg=0 mmpath_dbg=0
2022-07-14 14:29:42.351 2298-2331/a.gautham.statusdownloader D/Surface: Surface::connect(this=0xd9a17000,api=1)
2022-07-14 14:29:42.365 2298-2331/a.gautham.statusdownloader D/Surface: Surface::setBufferCount(this=0xd9a17000,bufferCount=3)
2022-07-14 14:29:42.365 2298-2331/a.gautham.statusdownloader D/Surface: Surface::allocateBuffers(this=0xd9a17000)
2022-07-14 14:29:42.381 2298-2331/a.gautham.statusdownloader W/Gralloc3: mapper 3.x is not supported
2022-07-14 14:29:42.385 2298-2331/a.gautham.statusdownloader E/ion: ioctl c0044901 failed with code -1: Invalid argument
2022-07-14 14:29:42.839 2298-2331/a.gautham.statusdownloader D/Surface: Surface::disconnect(this=0xd9a17000,api=1)
2022-07-14 14:29:43.116 2298-2298/a.gautham.statusdownloader V/PhoneWindow: DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@49f09ad, this = DecorView@57804e2[SplashActivity]
2022-07-14 14:29:43.136 2298-2331/a.gautham.statusdownloader I/GED: ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 2, oppidx_max 2, oppidx_min 0
2022-07-14 14:29:49.681 2298-2329/a.gautham.statusdownloader I/tatusdownloade: ProcessProfilingInfo new_methods=0 is saved saved_to_disk=0 resolve_classes_delay=8000
2022-07-14 14:29:54.945 2298-2298/a.gautham.statusdownloader D/HEY:: content://com.android.externalstorage.documents/tree/primary%3AWhatsApp%2FMedia%2F.Statuses
2022-07-14 14:29:54.976 2298-2298/a.gautham.statusdownloader V/PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@49f09ad, this = DecorView@57804e2[SplashActivity]
2022-07-14 14:29:54.993 2298-2331/a.gautham.statusdownloader D/Surface: Surface::connect(this=0xd9a17000,api=1)
2022-07-14 14:29:54.995 2298-2331/a.gautham.statusdownloader D/Surface: Surface::setBufferCount(this=0xd9a17000,bufferCount=3)
2022-07-14 14:29:54.996 2298-2331/a.gautham.statusdownloader D/Surface: Surface::allocateBuffers(this=0xd9a17000)
2022-07-14 14:29:55.013 2298-2298/a.gautham.statusdownloader I/PowerHalWrapper: PowerHalWrapper.getInstance
2022-07-14 14:29:55.015 2298-2298/a.gautham.statusdownloader D/ViewRootImpl[Toast]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
2022-07-14 14:29:55.036 2298-2298/a.gautham.statusdownloader I/InputTransport: Create ARC handle: 0xeffb4c80
2022-07-14 14:29:55.042 2298-2298/a.gautham.statusdownloader I/Toast: Show toast from OpPackageName:a.gautham.statusdownloader, PackageName:a.gautham.statusdownloader
2022-07-14 14:29:55.072 2298-2331/a.gautham.statusdownloader D/Surface: Surface::connect(this=0xc4a18000,api=1)
2022-07-14 14:29:55.074 2298-2331/a.gautham.statusdownloader D/Surface: Surface::setBufferCount(this=0xc4a18000,bufferCount=3)
2022-07-14 14:29:55.074 2298-2331/a.gautham.statusdownloader D/Surface: Surface::allocateBuffers(this=0xc4a18000)
2022-07-14 14:29:56.981 2298-2331/a.gautham.statusdownloader D/Surface: Surface::disconnect(this=0xc4a18000,api=1)
2022-07-14 14:29:56.985 2298-2298/a.gautham.statusdownloader D/View: [Warning] assignParent to null: this = android.widget.LinearLayout{4bae190 V.E...... ......ID 0,0-287,211}
2022-07-14 14:29:56.985 2298-2298/a.gautham.statusdownloader I/InputTransport: Destroy ARC handle: 0xeffb4c80

@UsamaIrshad66666
Copy link

It's because the app is using DocumentFile data type to access statuses in directories. This DocumentFile data type is too big, and it's being called multiple times for multiple statuses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants