Author Topic: V22 upgrade taskbar/home screen misbehaviour  (Read 1213 times)

mithrandir

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • http://www.mygnu.de
V22 upgrade taskbar/home screen misbehaviour
« on: June 25, 2020, 05:26:36 pm »
Two days after upgrading from V19 to V22 my Cosmo suddenly started to behave strange. Most functionality of the taskbar has been missing. The home screen suddenly only had one page. Taks switching became impossible.

The reason has been, that due to a bug in/after OTA update the device has been struck in initial setup mode, where most functions are locked.

This can be solved by running the following commands in a root shell or with adb:
settings put global device_provisioned 1
settings put secure user_setup_complete 1

Initially I thought I had to perform a factory reset, but  then I found the issue on: https://www.xda-developers.com/broken-navig...ota-update/amp/

Mith

mithrandir

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • http://www.mygnu.de
V22 upgrade taskbar/home screen misbehaviour
« Reply #1 on: July 01, 2020, 10:50:20 am »
After one of the random reboots with V22,  today this happened again. Maybe switching between rooted/non rooted due to reboot is connected? Solution worked, as before.

Vistaus

  • Full Member
  • ***
  • Posts: 139
    • View Profile
V22 upgrade taskbar/home screen misbehaviour
« Reply #2 on: July 01, 2020, 04:43:21 pm »
See? I knew I couldn't be the only one with this issue! I reported it a few days ago in the V22 is out thread.

But I can't use your solution  ADB won't recognize my phone as Developer Options are inaccessible due to this bug, meaning I can't enable USB Debugging for ADB. And I can't access a root shell either since the Play Store won't install apps anymore, APK's won't install anymore either and Planet's TWRP still isn't working. Do you have any suggestion as to how I can get a root shell?
« Last Edit: July 01, 2020, 04:54:53 pm by Vistaus »

cam1965

  • Sr. Member
  • ****
  • Posts: 333
    • View Profile
    • http://
V22 upgrade taskbar/home screen misbehaviour
« Reply #3 on: July 01, 2020, 05:15:44 pm »
Quote from: Vistaus
See? I knew I couldn't be the only one with this issue! I reported it a few days ago in the V22 is out thread.

But I can't use your solution  ADB won't recognize my phone as Developer Options are inaccessible due to this bug, meaning I can't enable USB Debugging for ADB. And I can't access a root shell either since the Play Store won't install apps anymore, APK's won't install anymore either and Planet's TWRP still isn't working. Do you have any suggestion as to how I can get a root shell?

Today my gemini  ( android partition ) was totally crazy. Nothing was working correctly. Couldnt close apps, task switching impossible,  couldnt update apps ,  etc. So I did a factory reset. For my luck it didnt change my linux partition.  So the solution maybe is do a factory reset in your Cosmo.
Fortunately my Cosmo is OK. But in gemini I had to reinstall all my previous apps. After this, my gemini became so fast that I couldnt belive.
« Last Edit: July 01, 2020, 05:20:55 pm by cam1965 »

mithrandir

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • http://www.mygnu.de
V22 upgrade taskbar/home screen misbehaviour
« Reply #4 on: July 01, 2020, 08:03:47 pm »
Quote from: Vistaus
See? I knew I couldn't be the only one with this issue! I reported it a few days ago in the V22 is out thread.

But I can't use your solution  ADB won't recognize my phone as Developer Options are inaccessible due to this bug, meaning I can't enable USB Debugging for ADB. And I can't access a root shell either since the Play Store won't install apps anymore, APK's won't install anymore either and Planet's TWRP still isn't working. Do you have any suggestion as to how I can get a root shell?

Someone managed using adb by "brute force":
https://forum.xda-developers.com/showpost.p...;postcount=2706
Unfortunately he did not mention the Android version used. Maybe this is also possible on the Cosmo.

You could also try to install the rooted image from sd card as described by Planet Computers: http://support.planetcom.co.uk/index.php/Linux_for_Cosmo
Afterwards install termux from apk (since Play store does not work): https://f-droid.org/packages/com.termux/ and use the settings commands from above.

Vistaus

  • Full Member
  • ***
  • Posts: 139
    • View Profile
V22 upgrade taskbar/home screen misbehaviour
« Reply #5 on: July 02, 2020, 05:15:17 am »
Thanks. I'm already rooted using Panet's method, but it does't work anymore either (same issue). I will try the brute-forcing and if it works, I'll install Termux for next time.

Vistaus

  • Full Member
  • ***
  • Posts: 139
    • View Profile
V22 upgrade taskbar/home screen misbehaviour
« Reply #6 on: July 02, 2020, 07:34:49 am »
I managed to fix it! Thank you so, so much - I owe you one, bro

Vistaus

  • Full Member
  • ***
  • Posts: 139
    • View Profile
V22 upgrade taskbar/home screen misbehaviour
« Reply #7 on: July 02, 2020, 05:54:11 pm »
Sadly, it didn't survive a reboot and I had to reboot about 8 times before it booted up again so that I could run the commands again. Planet better be fixing this with V23, 'cause this way, it's getting hard to use my Cosmo...

mithrandir

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • http://www.mygnu.de
V22 upgrade taskbar/home screen misbehaviour
« Reply #8 on: July 03, 2020, 08:48:54 am »
Quote from: Vistaus
Sadly, it didn't survive a reboot and I had to reboot about 8 times before it booted up again so that I could run the commands again. Planet better be fixing this with V23, 'cause this way, it's getting hard to use my Cosmo...

I have just added the two comands

settings put global device_provisioned 1
settings put secure user_setup_complete 1

to a service.sh file of a magisk module, so the commands should get run on every startup (when booting rooted). I am curious to see if the issue happens again with that. Maybe this also is an option for you.

Vistaus

  • Full Member
  • ***
  • Posts: 139
    • View Profile
V22 upgrade taskbar/home screen misbehaviour
« Reply #9 on: July 04, 2020, 05:16:09 am »
Great idea! But I've never done that before. How do I do that?

mithrandir

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • http://www.mygnu.de
V22 upgrade taskbar/home screen misbehaviour
« Reply #10 on: July 04, 2020, 06:49:11 am »
Quote from: Vistaus
Great idea! But I've never done that before. How do I do that?

Magisk Modules are installed in /data/adb/modules/[modulename]. Some modules have a service.sh script there which gets executed on startup. Just install a magisk module and add the two lines to the service.sh file afterwards. (requires root) Since I have installed my exfat module anyways (and it has a service.sh file) I just have added the lines there. (If you want to use the module for this,  it can be found on mygnu.de)

I also replaced the default boot image with a magisk image (@see: https://www.oesf.org/forum/index.php?showtopic=35879) so it boots into rooted android by default (so the script gets executed). Anyways it seems, with the newly rooted boot image, the cosmo is far more stable than with planets rooting method. I have not seen a spontaneous reboot since then. Maybe the official kernel image is outdated and does not contain the kernel modifications for V22.