root3nl / SupportApp

The Support App is developed by Root3, specialized in managing Apple devices. Root3 offers consultancy and support for organizations to get the most out of their Apple devices and is based in The Netherlands (Halfweg).
https://www.root3.nl
MIT License
585 stars 60 forks source link

Issue with 2.4.2 on MacOS 13.0.0 MacBook M1 Pro #93

Open EdBascom opened 1 year ago

EdBascom commented 1 year ago

love the app. This bug started with 2.4.1. Model description is incorrect - "02:LocationServicesEnabled…..", should be "MacBook Pro 14". Version 2.4 works properly on MacOS 13.0.0 MacBook M1 Pro.

jordywitteman commented 1 year ago

Hi @EdBascom we have not seen this behaviour before. Was it working for you in 2.4.1? In this version the code was refactored to get the device marketing name for Apple Silicon devices. Could you check the output of this command? ioreg -l -c IOPlatformDevice | grep -e "product-name" | cut -d'"' -f 4

EdBascom commented 1 year ago

2.4.1 has the same problem. I went back to 2.4 and it worked. Command results; $ ioreg -l -c IOPlatformDevice | grep -e "product-name" | cut -d'"' -f 4 02:LocationServicesEnabled MacBook Pro (14-inch, 2021)

Ed Bascom Sys Admin 

On Nov 8, 2022, at 4:39 AM, Jordy Witteman @.***> wrote:

Hi @EdBascom https://www.google.com/url?q=https://github.com/EdBascom&source=gmail-imap&ust=1668515949000000&usg=AOvVaw1HC_5iO6WtqTel7Y72JhQM we have not seen this behaviour before. Was it working for you in 2.4.1? In this version the code was refactored to get the device marketing name for Apple Silicon devices. Could you check the output of this command? ioreg -l -c IOPlatformDevice | grep -e "product-name" | cut -d'"' -f 4

— Reply to this email directly, view it on GitHub https://www.google.com/url?q=https://github.com/root3nl/SupportApp/issues/93%23issuecomment-1307150093&source=gmail-imap&ust=1668515949000000&usg=AOvVaw3hXZ2QwXjnheRU1P2xMX7m, or unsubscribe https://www.google.com/url?q=https://github.com/notifications/unsubscribe-auth/A4B2RNIFDUE6DCJHE4IHTXTWHJCWXANCNFSM6AAAAAARZRBTOQ&source=gmail-imap&ust=1668515949000000&usg=AOvVaw2q9PIfvMAuL9JGW8QBkHhv. You are receiving this because you were mentioned.

jordywitteman commented 1 year ago

@EdBascom unfortunately we can't reproduce with also MacBook Pro 14 inch 2021 as it gives the correct output: MacBook Pro (14-inch, 2021). Is this issue seen on multiple devices?

EdBascom commented 1 year ago

Not sure. All users are working from home and this showed up on my own device. I have attached the output from the following command - ioreg -l -c IOPlatformDevice | grep -e "product-name" > ioregOutput.txt

“sysctl -n hw.model” give you MacBookPro18,3 but not the description I am looking for…

Ed Bascom Sys Admin 

On Nov 8, 2022, at 10:15 AM, Jordy Witteman @.***> wrote:

@EdBascom https://www.google.com/url?q=https://github.com/EdBascom&source=gmail-imap&ust=1668536113000000&usg=AOvVaw2E9cZT9ORq1hsoLJok32Qf unfortunately we can't reproduce with also MacBook Pro 14 inch 2021 as it gives the correct output: MacBook Pro (14-inch, 2021). Is this issue seen on multiple devices?

— Reply to this email directly, view it on GitHub https://www.google.com/url?q=https://github.com/root3nl/SupportApp/issues/93%23issuecomment-1307641392&source=gmail-imap&ust=1668536113000000&usg=AOvVaw11lguB2-A6UwbK2-_upeMg, or unsubscribe https://www.google.com/url?q=https://github.com/notifications/unsubscribe-auth/A4B2RNNGKDBCP4RPUT5O2B3WHKKCXANCNFSM6AAAAAARZRBTOQ&source=gmail-imap&ust=1668536113000000&usg=AOvVaw3AVMGM05EpRblPu9MATEB6. You are receiving this because you were mentioned.

| |     "Stats" = {"02:LocationServicesEnabled"={"Read"=1,"Init"=18446741875058070529,"Size"=18446741875058070529,"Present"=Yes},"02:IOPlatformSleepAction"={"Present"=No,"Read"=2},"02:BaseSystemAccessibilityFeatures"={"Present"=No,"Read"=3},"02:ota-retry-uptime"={"Present"=No,"Read"=1},"02:restore-retry-warnings"={"Present"=No,"Read"=1},"02:ota-step-battery-level"={"Present"=No,"Read"=1},"02:preferred-count"={"Present"=No,"Read"=1},"02:restore-retry-ids"={"Present"=No,"Read"=1},"02:IOCompatibilityProperties"={"Present"=No,"Read"=48435},"01:system-passcode-lock-blob"={"Present"=No,"Read"=1},"02:tbt-options"={"Present"=No,"Read"=4},"02:restore-child-failures"={"Present"=No,"Read"=1},"01:fmm-mobileme-token-FMM"={"Present"=No,"Read"=1},"02:tbtupdate-status-001e6f7a8831c800"={"Present"=No,"Read"=1},"01:ota-outcome"={"Present"=No,"Read"=1},"02:aapl,panic-info"={"Present"=No,"Read"=2},"01:backlight-nits"={"Write"=5,"Init"=18446741875058076690,"Size"=10,"Present"=Yes},"02:IODeviceMemory"={"Present"=No,"Read"=2},"02:bluetoothHostControllerSwitchBehavior"={"Present"=No,"Read"=2},"01:ota-reboot-retry-enabled"={"Present"=No,"Read"=1},"01:upgrade-boot-volume"={"Init"=18446741875058069750,"Present"=Yes,"Size"=18446741875058069750},"02:ota-step-warnings"={"Present"=No,"Read"=1},"01:ota-updateType"={"Init"=18446741875058070280,"Present"=Yes,"Size"=18446741875058070280},"02:IOPlatformQuiesceAction"={"Present"=No,"Read"=2},"02:zhuge_debug"={"Present"=No,"Read"=8},"02:ramrod-nvram-shadow-path"={"Present"=No,"Read"=1},"02:restore-retry-codes"={"Present"=No,"Read"=1},"02:restore-perform-shutdown"={"Present"=No,"Read"=1},"02:bluetoothInternalControllerInfo"={"Read"=3,"Init"=18446741875058071026,"Size"=18446741875058071026,"Present"=Yes},"02:IORematchPersonality"={"Present"=No,"Read"=2},"01:IOPlatformHaltRestartAction"={"Present"=No,"Read"=1},"02:product-name"={"Present"=No,"Read"=12},"02:restore-reboot-retry-enabled"={"Present"=No,"Read"=1},"02:ane-type"={"Present"=No,"Read"=123},"01:IOAVDHEVCDecodeCapabilities"={"Present"=No,"Read"=1},"01:IOPlatformWakeAction"={"Present"=No,"Read"=1},"02:IOPlatformPanicAction"={"Present"=No,"Read"=2},"02:ramrod-nvram-sequence"={"Present"=No,"Read"=1},"02:ota-step-external-power"={"Present"=No,"Read"=1},"02:usbcfwflasherResult"={"Init"=18446741875058072737,"Present"=Yes,"Size"=18446741875058072737},"02:boot-info-payload"={"Init"=18446741875058070584,"Present"=Yes,"Size"=18446741875058070584},"01:IOPlatformQuiesceAction"={"Present"=No,"Read"=1},"02:IOAVDHEVCDecodeCapabilities"={"Present"=No,"Read"=2},"01:ota-brain-version"={"Present"=No,"Read"=1},"02:ota-step-results"={"Present"=No,"Read"=1},"02:skip-language-setup"={"Init"=18446741875058070468,"Present"=Yes,"Size"=18446741875058070468},"02:restore-step-warnings"={"Present"=No,"Read"=1},"02:ota-submission-url"={"Present"=No,"Read"=1},"01:boot-args"={"Present"=No,"Read"=808},"02:ota-retry-results"={"Present"=No,"Read"=1},"01:current-network"={"Write"=1,"Read"=3,"Init"=18446741875058077181,"Size"=192,"Present"=Yes},"01:IOPlatformActiveAction"={"Present"=No,"Read"=1},"02:BridgeOSNVRAMGeneration"={"Present"=No,"Read"=4},"01:panicmedic"={"Present"=No,"Read"=1},"02:SleepWakeFailureString"={"Present"=No,"Read"=1},"01:IOCFPlugInTypes"={"Present"=No,"Read"=17},"02:restore-anomalies"={"Present"=No,"Read"=1},"02:board-rev"={"Present"=No,"Read"=4},"01:IOPlatformSleepAction"={"Present"=No,"Read"=1},"01:ota-result"={"Present"=No,"Read"=1},"01:board-id"={"Present"=No,"Read"=69},"01:ota-initial-failure-reason"={"Present"=No,"Read"=1},"01:recoveryos-passcode-blob"={"Present"=No,"Read"=1},"02:ota-step-monitor"={"Present"=No,"Read"=1},"02:IOUserClasses"={"Present"=No,"Read"=22},"01:ota-initial-forced-reset-uptime"={"Present"=No,"Read"=1},"01:boot-command"={"Present"=No,"Read"=7},"02:ota-step-uptime"={"Present"=No,"Read"=1},"02:ota-retry-error"={"Present"=No,"Read"=1},"02:__INSTALL_FAST_NO_REALLY"={"Present"=No,"Read"=9},"02:restore-reboot-retry-zone"={"Present"=No,"Read"=1},"01:IORematchPersonality"={"Present"=No,"Read"=1},"02:recovery-boot-mode"={"Init"=18446741875058070342,"Present"=Yes,"Size"=18446741875058070342},"02:HardwareModel"={"Present"=No,"Read"=16},"01:IOBusyInterest"={"Present"=No,"Read"=2},"01:BluetoothInfo"={"Write"=1,"Read"=1,"Init"=18446741875058074584,"Size"=2,"Present"=Yes},"02:ota-retry-names"={"Present"=No,"Read"=1},"02:net-boot"={"Present"=No,"Read"=1},"01:ota-child-failures"={"Present"=No,"Read"=1},"02:disable_screensavers"={"Present"=No,"Read"=3},"02:ota-os-version"={"Present"=No,"Read"=1},"01:IOPlatformPanicAction"={"Present"=No,"Read"=1},"02:ramrod-nvram-session"={"Present"=No,"Read"=1},"01:product-name"={"Present"=No,"Read"=6},"02:ota-original-base-os-version"={"Init"=18446741875058072467,"Present"=Yes,"Size"=18446741875058072467},"01:nonce-seeds"={"Write"=1,"Read"=1,"Init"=18446741875058073978,"Size"=435,"Present"=Yes},"02:restore-step-codes"={"Present"=No,"Read"=1},"02:IASCurrentInstallPhase"={"Write"=2,"Read"=2,"Delete"=1,"Init"=18446741875058072375,"Size"=16,"Present"=No},"02:restore-step-names"={"Present"=No,"Read"=1},"02:pre-recovery-ota-failure-uuid"={"Present"=No,"Read"=1},"02:ota-step-user-progress"={"Present"=No,"Read"=1},"02:ota-retry-warnings"={"Present"=No,"Read"=1},"01:BluetoothUHEDevices"={"Write"=1,"Read"=1,"Init"=18446741875058074469,"Size"=65,"Present"=Yes},"01:ota-forced-reset-uptime"={"Present"=No,"Read"=1},"01:ota-uuid"={"Present"=No,"Read"=2},"02:IOPlatformActiveAction"={"Present"=No,"Read"=2},"01:IOCompatibilityProperties"={"Present"=No,"Read"=24214},"02:oblit-inprogress"={"Present"=No,"Read"=3},"02:ota-retry-codes"={"Present"=No,"Read"=1},"01:auto-boot"={"Init"=18446741875058072677,"Present"=Yes,"Size"=18446741875058072677},"02:restore-step-domains"={"Present"=No,"Read"=1},"01:preferred-count"={"Present"=No,"Read"=3},"02:OTA-migrator-metrics"={"Present"=No,"Read"=1},"02:restore-retry-results"={"Present"=No,"Read"=1},"02:enable-remap-mode"={"Present"=No,"Read"=11},"02:recoveryos-initiated-update"={"Present"=No,"Read"=1},"02:DebugBluetoothHIDShim"={"Present"=No,"Read"=3},"02:restore-step-results"={"Present"=No,"Read"=1},"01:ota-reboot-retry-zone"={"Present"=No,"Read"=1},"01:SystemAudioVolumeExtension"={"Read"=2,"Init"=18446741875058074770,"Size"=18446741875058074770,"Present"=Yes},"02:FirmwareFeatures"={"Present"=No,"Read"=11},"02:restore-retry-domains"={"Present"=No,"Read"=1},"02:DefaultBackgroundColor"={"Present"=No,"Read"=18},"02:AAPL,ignore"={"Present"=No,"Read"=2},"01:target-uuid"={"Present"=No,"Read"=2},"02:enable_qa_root_certs"={"Present"=No,"Read"=1},"01:ota-install-tonight"={"Present"=No,"Read"=1},"01:recovery-boot-setting"={"Present"=No,"Read"=1},"02:restore-retry-error"={"Present"=No,"Read"=1},"02:prev-lang-diags:kbd"={"Init"=18446741875058070410,"Present"=Yes,"Size"=18446741875058070410},"01:boot-volume"={"Init"=18446741875058072521,"Present"=Yes,"Size"=18446741875058072521},"01:fmm-mobileme-token-FMM-WipePending"={"Present"=No,"Read"=1},"01:IOUserClasses"={"Present"=No,"Read"=11},"02:ota-retry-monitor"={"Present"=No,"Read"=1},"02:auto-boot-x86-once"={"Present"=No,"Read"=1},"02:restore-retry-names"={"Present"=No,"Read"=1},"01:upgrade-fallback-boot-command"={"Present"=No,"Read"=1},"01:ota-snapshot-update"={"Present"=No,"Read"=1},"02:non-coherent"={"Present"=No,"Read"=1},"02:OTA-sealvolume-metrics"={"Present"=No,"Read"=1},"02:board-id"={"Present"=No,"Read"=138},"01:recovery-boot-mode"={"Present"=No,"Read"=1},"01:ota-retry-result"={"Present"=No,"Read"=1},"01:ota-anomalies"={"Present"=No,"Read"=1},"01:ota-context"={"Present"=No,"Read"=1},"02:backlight-level"={"Present"=No,"Read"=1},"01:fmm-computer-name"={"Read"=3,"Init"=18446741875058069914,"Size"=18446741875058069914,"Present"=Yes},"01:policy-nonce-digests"={"Init"=18446741875058072803,"Present"=Yes,"Size"=18446741875058072803},"02:stress-rack"={"Present"=No,"Read"=3},"02:ota-initial-breadcrumbs"={"Present"=No,"Read"=1},"01:failboot-breadcrumbs"={"Init"=18446741875058069653,"Present"=Yes,"Size"=18446741875058069653},"02:aud-early-boot-critical"={"Present"=No,"Read"=1},"02:ota-retry-battery-level"={"Present"=No,"Read"=1},"02:ota-retry-breadcrumbs"={"Present"=No,"Read"=1},"02:IOPlatformHaltRestartAction"={"Present"=No,"Read"=2},"02:current-network"={"Present"=No,"Read"=1},"02:OTA-pre-conversion"={"Present"=No,"Read"=1},"02:restore-step-ids"={"Present"=No,"Read"=1},"02:restore-retry-monitor"={"Present"=No,"Read"=1},"02:IOCFPlugInTypes"={"Present"=No,"Read"=34},"01:IODeviceMemory"={"Present"=No,"Read"=1},"02:SleepWakeFailurePanic"={"Present"=No,"Read"=1},"01:ota-failure-reason"={"Present"=No,"Read"=1},"01:ota-breadcrumbs"={"Present"=No,"Read"=1},"02:ota-step-codes"={"Present"=No,"Read"=1},"02:ota-step-domains"={"Present"=No,"Read"=1},"02:ota-conv-panic-indicator"={"Present"=No,"Read"=1},"02:ota-retry-ids"={"Present"=No,"Read"=1},"02:ota-step-ids"={"Present"=No,"Read"=1},"01:panicmedic-timestamps"={"Init"=18446741875058069977,"Present"=Yes,"Size"=18446741875058069977},"02:ota-retry-external-power"={"Present"=No,"Read"=1},"02:boot-note"={"Init"=18446741875058070934,"Present"=Yes,"Size"=18446741875058070934},"01:SystemAudioVolume"={"Init"=18446741875058073929,"Present"=Yes,"Size"=18446741875058073929},"01:ota-initial-result"={"Present"=No,"Read"=1},"02:ota-retry-user-progress"={"Present"=No,"Read"=1},"01:ota-retry-failure-reason"={"Present"=No,"Read"=1},"02:restore-step-monitor"={"Present"=No,"Read"=1},"02:restore-outcome"={"Present"=No,"Read"=1},"01:ota-retry-enabled"={"Present"=No,"Read"=1},"02:ota-original-os-version"={"Present"=No,"Read"=1},"01:preferred-networks"={"Write"=3,"Init"=18446741875058074827,"Size"=1728,"Present"=Yes},"02:IDInstallerDataV2"={"Init"=18446741875058073433,"Present"=Yes,"Size"=18446741875058073433},"02:_libmalloc_experiment"={"Present"=No,"Read"=1},"02:display-carveout-inhibitcache"={"Present"=No,"Read"=1},"02:_csegbufsz_experiment"={"Present"=No,"Read"=1},"02:ma-analytics-force-submit"={"Present"=No,"Read"=1},"02:IASUCatalogURL"={"Present"=No,"Read"=59},"02:OTA-post-conversion"={"Present"=No,"Read"=1},"02:IASInstallPhaseList"={"Write"=2,"Read"=2,"Delete"=1,"Init"=18446741875058071096,"Size"=715,"Present"=No},"01:fmm-mobileme-token-FMM-BridgeHasAccount"={"Present"=No,"Read"=1},"02:ota-perform-shutdown"={"Present"=No,"Read"=1},"02:IOPlatformWakeAction"={"Present"=No,"Read"=2},"02:restore-step-error"={"Present"=No,"Read"=1},"02:IOBusyInterest"={"Present"=No,"Read"=5},"02:OTA-fsck-metrics"={"Present"=No,"Read"=1},"01:lts-persistance"={"Read"=1,"Init"=18446741875058076607,"Size"=18446741875058076607,"Present"=Yes},"02:ota-step-names"={"Present"=No,"Read"=1},"02:mca-info0"={"Present"=No,"Read"=1},"02:csr-data"={"Present"=No,"Read"=2},"02:bluetoothExternalDongleFailed"={"Write"=1,"Read"=2,"Init"=18446741875058074652,"Size"=1,"Present"=Yes},"01:update-volume"={"Init"=18446741875058070042,"Present"=Yes,"Size"=18446741875058070042},"02:BOSCatalogURL"={"Present"=No,"Read"=59},"01:prev-lang:kbd"={"Read"=1,"Init"=18446741875058074703,"Size"=18446741875058074703,"Present"=Yes},"02:ota-step-error"={"Present"=No,"Read"=1},"02:ota-retry-domains"={"Present"=No,"Read"=1},"01:battery-health"={"Write"=646,"Read"=2,"Init"=18446741875058076751,"Size"=378,"Present"=Yes},"01:ota-controllerVersion"={"Init"=18446741875058070210,"Present"=Yes,"Size"=18446741875058070210}}
| |     "product-name" = <"MacBook Pro (14-inch, 2021)">
generalToz commented 1 year ago

Hi, I have this issue too. I'm setting this up for my org and that's the only noticeable problem. When you mouse over Computer Name, it shows "Model 02:LocationServicesEnabled"

Screenshot 2023-03-07 at 2 25 25 PM

Running version 2.4.3, only downloaded this yesterday for the first time and this issue has been persistent. Also testing this on MacBook Pro M1 Pro.

EdBascom commented 1 year ago

I have found that removing the "-l" from the ioreg command solves the problem! The new command should look like this - ioreg -c IOPlatformDevice | grep -e "product-name" | cut -d'"' -f 4 Is this something I can modify?

avenjamin commented 1 year ago

confirming both the original and @EdBascom's command work on my macOS 13.2.1 MacBook Pro (16-inch, 2021)

bradtchapman commented 1 year ago

@jordywitteman : can this issue be closed, since @EdBascom said it's working? I have 2.4.3 and it looks fine (I have an M2 MacBook Pro).

EdBascom commented 1 year ago

This bug is NOT working. My solution on Mar 13 is something you need to incorporate. The model number is not displaying properly for all computers... Attached is an example of the error.

Screenshot 2023-07-10 at 9 20 28 AM
xirianlight commented 1 year ago

Symptom persists in the 2.5 release - I've got a symptomatic Apple silicon device on my hands:

Screenshot 2023-08-14 at 9 27 25 AM
EdBascom commented 1 year ago

On Mar 13 I gave you the command to solve the problem. I just tried version 2.5 and the problem is still there... The following command does not work - ioreg -l -c IOPlatformDevice | grep -e "product-name" | cut -d'"' -f 4 The following command works! - ioreg -c IOPlatformDevice | grep -e "product-name" | cut -d'"' -f 4

jordywitteman commented 1 year ago

@EdBascom I thought I tested this in the app and that the outcome was negative. Some commands run from Terminal with standard user permissions behave differently when run by a sandboxed app. I tried again and it seems we can add your suggestion. Will be part of v2.5.1

EdBascom commented 11 months ago

This issue has been fixed after deploying version 2.5.1 - Thank you.