GauthamAsir / WhatsApp_Status_Saver

WhatsApp Status Downloader, preview, share and save files. Android 10+ support
102 stars 50 forks source link

Splash screen freeze #15

Open Pia38 opened 2 years ago

Pia38 commented 2 years ago

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

GauthamAsir commented 2 years ago

Please attach logs for debugging

Pia38 commented 2 years ago

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 commented 2 years ago

https://drive.google.com/file/d/1VI461i6jtViVbVeYoAMCx3hRPf3aZ5Ea/view?usp=sharing

GauthamAsir commented 2 years ago

Any other logs available?

Pia38 commented 2 years ago

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 commented 2 years ago

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 commented 11 months ago

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.