-
Notifications
You must be signed in to change notification settings - Fork 17
GET DEVICE INFO FAILS - Object reference not set to an instance of an object #3
Comments
I immediately found this post on reddit describing the same issue and a workaround. I will try this later today. |
Thanks for the report. I've known about this issue but unfortunately I haven't had the time to look into it. This workaround should solve your problem in the meantime. |
Thanks for responding so quickly. It looks like your suggestions worked perfectly. Use nRF I was able to pair with the PGP with custom firmware running and save away the key for later. I was then able to write the valid flag using the characteristic mentioned above and it appeared to function like it used to. One question I have however, if we're only adjusting the valid flag to switch to one of the real PGP images, isn't the custom SUOTA firmware still on the PGP? |
Writing to the restore characteristic does more than adjust the valid flag. It literally restores the device to its pre-tamper state. There are two copies of the stock PGP firmware on any device, restoring will erase the block that the custom firmware is on, then write the untouched copy on said block. If you're interested the following link contains |
Hi I also had this problem I wonder if it is something to do with newer versions of android as it failed on my moto G6 as above, however it ran successfully with on a old sampsung S5mini |
I am working in rewriting the entire client (v2.0). I am hoping this issue will go away when I have a cleaner interface. Keep an eye out in the 2.0 branch if you're interested |
Guess it's android related because it happened to me as well using Android 10 on a Google Pixel 1 but didn't last year when the same device was using Android 9. Not sure if my PGP is a clone, but I'm almost sure it's not. After some struggling, was able to both extract the key and write the flag to restore it as well 🎉. |
Had the same issue: Android 11 gives this message on the PGP Keyextractor firmware -> read out Key and restore PGP function. So need to be rewritten for Android 11 support ;-) Phones used = Hopes this helps someone |
Same message error here with: Fortunately, using nRf (I had to remove and reinsert the battery from the PGP before nRf was able to find it) I was able to save the keys and restore the PGP to the normal state. |
I've been really busy with work so I haven't had time to work on this issue. It probably won't be fixed in the foreseeable future. |
I understand you perfectly, sometimes (often) I'm in the same situation at work. If I could give you a suggestion: you could add a warning before the steps to follow, so people is prepared to use nRf in case they receive the error message and don't think the PGP is bricked. Thanks for your amazing work and the detailed explanations published in you blog. |
i can confirm that bluetooth characteristics can't be read correctly on newer android devices. i had to use an old android 6 phone, because on android 9 it was impossible to read the key and blob or revert the firmware. there should be a failsafe that reverts the original firmware after an hour or after restart, so that people with no access to older phones dont end up with bricked devices |
Looking a bit more about what the custom patch was supposed to write, I don't think the firmware on my go plus is the original firmware of a pokemon go plus, or it is a partial patch, which may mean my device is bricked. If anyone knows how I could reset this with some soldering and breadboarding, I'm all ears |
i had the same UUIDs when using android 9 phone. and i was unable to restore the device in any way using that phone, had to try an older one
i recommend using an old android phone, it's not worth the effort of going through soldering and all that |
Issue
When attempting to get device info an error message pops up saying
Unable to get Device Information. Please try again. Error: Object reference not set to an instance of an object (see image)
When attempting to restore the PGP firmware the software complains that the device is not registered in the history of devices. I'm not sure if this is a separate issue. The PGP is now stuck in a patched state and cannot connect to pokemon go. (Good thing it's an old unused one ;) )
The battery was new and the PGP connected to Pokemon Go fine after a PGP reset.
Steps to Reproduce
Follow steps described in Running section of README.md
Ran through to step 10.
Failed to get device info
Versions
The text was updated successfully, but these errors were encountered: