matt-yml / pk

PK's Public system to track issues and update on work
0 stars 0 forks source link

⚠️ service hazard: android 7 support may end oct 4th #112

Closed matt-yml closed 9 months ago

matt-yml commented 1 year ago

Adaptation to Niantic's Discontinuation of Android 7 Support


Context:

Scope of Impact:

Solutions Under Consideration:

  1. Upgrading bots to a newer, supported Android version.
  2. Creating, testing, and deploying ROMs for the 3 mainline bot models

Next Steps:

Additional Notes:


Image


Image

matt-yml commented 1 year ago

great progress today 🥳

about 1/3 of our units run on the S912 processor architecture. working with other devs we were able to manually get a procedure to run android 9 on it.

it's been playing the game for about 6 hours without issues, and it doesn't appear to have malware or other problems. from russia with 💖


normally i just flash a pre-cooked ROM image and have automation put the unique flavors on the box.

the new procedure is several dozen steps and is almost completely manual.

the victory here is that even if it's manual i can likely get about 10% of devices running android 9 by the 4th

that means we'll have raid scans, invasions, some quests, and sparse spawns.

hopefully i'll figure out a way to package this image into a flashable ROM, cut out 50 manual steps, and more rapidly deploy android 9.

still need procedures/images for the other 2 models account for the other ~80ish units in the fleet.


Image

matt-yml commented 11 months ago

Good news: We have ROMs for 2/3 of our models. So we're in the process of replicating and flashing in mass.

Bad news: about 25% of our bots are obsolete unless a ROM is found. Other ROM devs have given up, but I'll keep these around until Niantic culls the Android 7 scene.

Fortunately though we're able to stay on the 64bit track for surviving models though.

A couple years ago Niantic said they were giving up 32bit, so that hammer could drop anytime too

Currently it takes 45-60mins per unit for flash and setup; heavily automated too. :grimacing:

I'm paralleling as much as possible, but this is a very time expensive process.

Hopefully we have some buffer by skipping Android 8 to A9 🤞 :crystal_ball:

matt-yml commented 11 months ago

working through units and trying to stay ahead of the curve. there are a lot of variations of these things. despite settling on 3 main models i'm hitting a "snowflake" effect: no two atvs are alike.

trying to automate more and standardize.

tracker sheet for devices and versions: pkradar device inventory

Image

matt-yml commented 11 months ago

a couple big breakthroughs!

  1. network install - flash latest ROMs and no USB key drive juggling
  2. atv watchdog - now running the development version that can handle android 9

this should speed up the process as we develop better ROMs and hopefully reclaim the 20-40% of atvs lost to android 7 obsolescence.

Image