-
Notifications
You must be signed in to change notification settings - Fork 28
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
App in crash after enabling the calendar option #14
Comments
I've cleared all the data and then also uninstalled and reinstalled the app, but it still crashes. Thanks Logcat
|
Please try version 3.2 and let me know if this is fixed |
Thanks @shmykelsa This version solved the app crash and now it's working again... Choosing again Calendar option, I have to choose a value higher than 1 (is it correct?). Thanks |
Yes it is. 1 is default value so makes no sense to apply 1
When you were doing this, did you have a green status near the button?
Probably it's a good idea to choose to revert everything and start from a clean base
|
I've reverted everything, then rebooted phone, restarted with all options red, started only with calendar sat to 2 and I get same error |
When you apply the option, does the log show an error like "ERROR: Database is locked"? |
8I get this message And this log
Then I see this |
Uhm, it seems like many operations are giving hard time to the database. Is this the only tweak not working? |
I will try now. |
There should be no contraindications in doing them all in one time, however there's the risk that after doing many of them the database locks itself because of the too many operations. In that case, with the latest update, the app has been made stronger to handle this errors better and have a bit of a cooldown before making a new move. |
I had another crash setting up 3 options together when choosing also the "enable cards in multimedia app" REGISTRO:
|
And other tweaks are reverted/applied fine? |
Also another option gives me error
|
Seems like you are in the case of Google Play Services database not working properly, see #12 for troubleshooting |
On MIUI I can't uninstall updates nor uninstall Google Play Services... |
That's really bizarre. Not even on three-dots menu? |
I found the way to disable updates (removing admin right to Find My device app), and now the disable icon appeared, but it's greyed out. |
@woody4165 Clear all datas and skip disabling |
Done, activated all the ones I needs. It's better to activate one per time and reboot. On the calendar one I still get the error. |
Are you able to replicate the issue and generate a bug report as done in the very first post? |
You mean the last error I'm receiving, on the calendar? |
@woody4165 Yes |
I've tried with Github credentials and with email, but in both cases it fails |
Don't worry about GitHub right now. Does a dialog like the one on the original post appear? |
No, that one appeared because the app was crashing, this time the error report is something managed directly by the app and the app it's not crashing.. |
Hi @shmykelsa just downloaded the 3.2.1 and I get a similar crashing like first post in this thread. Do you want me to send the screenshot of that log? Thanks |
Yes please! |
I think this is happening because of the original problem. You have the calendar tweak with a null value. It's a border line situation really. This version should help. Let me know if it crashes. You should be able to set any value to the agenda now. Set it and then install the official release of AA AIO TWEAKER |
should I uninstall the actual version, install the debug version and the install the 3.2.1 version? Thanks |
@woody4165 Yes, correct |
The debug version didn't work. I always get this grey icon. Instead, I have installed the 3.2 version, then I have disabled the calendar option, uninstalled the 3.2 and installed 3.2.1 and it worked this way. Now I have set calendar to 3 days and I haven't got any error. Thanks |
Please note that Android Auto only shows days with events. If you have an event tomorrow, a event the day after tomorrow and one on sunday, it will just show tomorrow, the day after tomorrow and sunday and not the days between (or today). |
I have events every day in my calendar... ;-) weekdays and weekends |
Could you please try to undo and redo the patch once again and send a log right here? |
|
Seems like you are having troubles again modifying the database, cause the log outputs
|
can I check something locally with some android tool (sql, terminal)? |
Yes. You could use an elevated shell on the phone (even via ADB) and with sqlite3 you can try to manually open/manipulate the database. |
Thanks, can you tell the name and path of the db and what I can try? In the meantime, I'm preparing an old (but with Android 10 custom ROM) clean smartphone with AA and AA AIO Tweaker. |
As for calendar tweak, try the following:
Shell should have sqlite3> as output Then
You should see something like Then let's check if the trigger was created successfully |
I've used an android app to access the the first SELECT produce no data I don't find the table |
Okay something has gone wrong with AA AIO TWEAKER's agenda tweak
Normally it's not displayed, hence why I suggested to do it via shell Anyways, try to undo and re-do the agenda tweak with this version. |
Here is the output from the terminal
|
Okay. Try out the new version I've attached. |
With this version, the app crashes
|
I tried on the other phone the debug version, and it runs ok. |
Now I'm blocked, I tried the debug version, 3.2.1 and 3.1 (that was working yesterday, while the newer and debug versions were crashing) and the app always crashes... What can I do now ? Thanks |
Does it crash past the initial warning screen? |
Yes, clicking after 5 seconds countdown |
Are you able to reproduce a bug report like in the original post? |
Here it is.
|
I've tried the test phone and the Calendar option is working, but not as I was expecting. But now, my issue is try to solve the crash issue. In the next days or week, if I have time, I will try to switch from stock MIUI 12 to Resurrection Remix, on my Poco X3 Thanks |
That's clearly mentioned in the built-in tutorial
Try this: uninstall actual version, try version 2.6, if status is green near the agenda tweak, deactivate the tweak. Select a day and do the tweak. Try then to install latest version.
|
ok, thanks, I haven't checked this before.
Now I've reinstalled 3.2.1 and calendar option is green but with 0 day . What do you suggest? Thanks PS: even if I see 0 days in the app (latest version), I see 3 days in AA, that is what I've sat in the 2.6.0 version |
That's a visual bug that will be fixed in next version |
@woody4165 could you please report the working status on latest version? |
Hi I've just tested removing the calendar option (since was showing 1 day, but it's set to 3. This is reverting the hack
And, after a reboot, this is installing the hack
And now it shows it good. |
Hi
I've enabled some of the options, but after enabling the calendar one, leaving 1 day, and after rebooting the phone, when entering again in the app, after clicking the "I understand" button, the app crashes and continue crashing
This is the message I get
What can I do now to let the app works again?
Thanks
The text was updated successfully, but these errors were encountered: