planet-community / planet-devices

Repository for Planet Computers devices. Use this for feature requests, bugs, and *constructive* feedback.
Creative Commons Zero v1.0 Universal
19 stars 1 forks source link

Cosmo doesn't recognize bigger SD cards #42

Open Hi-Fi opened 1 year ago

Hi-Fi commented 1 year ago

When trying to add bigger SD cards to Cosmo, it just shows dialog about need of formatting, but never completes it even told to format.

Same cards work fine with much older phones, so issue doesn't seem to be too new cards.

Also after formatting screen disappears, card is only visible at all after reboot. So before reboot it seems that there's no card installed.

Logs and images will be added a bit later when connecting phone to computer for better log collection.

ZimbiX commented 1 year ago

How big a card are you trying to use? Planet Computers don't seem to have specified which SD card capacity standard it uses. Given I happily use a 64GB card in mine, I can only assume it's at least SDXC. Perhaps the formatting function or your card is broken - have you tried formatting it on a computer?

Hi-Fi commented 1 year ago

@ZimbiX I formatted and used card fine on both computer with separate memory card reader and also on older phone (probably Sony Xperia Go from 2012).

I think latest one I used was 8Gb card.

ZimbiX commented 1 year ago

Are you trying to use the exFAT filesystem? Apparently the Cosmo does not support that

Hi-Fi commented 1 year ago

I tried with multiple (FAT, FAT32, formatting with another Android), and all resulted same thing: dialog to ask to format the card, and just disappearing after a while when formatting has started (and went to some percentage).

But that's some time ago already, and might also be HW or card issue.

Hi-Fi commented 1 year ago

For some reason card is recognized as "Samsung SD" even formatted for multiple times.

Card formats and works fine on Astro.

ZimbiX commented 1 year ago

Damn; I'm out of ideas then. So it definitely works with smaller cards? Weird! Sounds like it could be an issue with just your device maybe

Hi-Fi commented 1 year ago

Have to check, can't remember now as took SD card to get Linux on Cosmo.

I reported that at the time I got Cosmo to PC, but no answer so kind of forgotten the thing and left Cosmo to drawer to wait for updates.

@ZimbiX Thank you for trying to help with the issue.

shymega commented 1 year ago

I was able to use a 512GB SD card in my Cosmo (Integral), and I've not heard of any issues with higher-capacity cards on Cosmo, so I'm going to close this issue as device-specific, and recommend you contact Planet.

Hi-Fi commented 1 year ago

Actually contacted couple of times without answer. Maybe just bad luck with device or card, but Astro at least works fine with that.

shymega commented 1 year ago

Just before I close the issue, what FW version was the Cosmo on?

Hi-Fi commented 1 year ago

Build: Cosmo-9.0-Planet-02032021-V25 Custom built version: alps-mp-p0.mp1-v5.313

According logs window just dismises without any further info:

01-09 09:33:59.765   639   734 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
01-09 09:34:59.766   639   734 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
01-09 09:35:57.454   848  1844 I ActivityManager: START u0 {cmp=com.android.settings/.deviceinfo.StorageWizardInit (has extras)} from uid 10012
01-09 09:35:57.456   848  1844 W ActivityManager: startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { cmp=com.android.settings/.deviceinfo.StorageWizardInit (has extras) }
01-09 09:35:57.476   848  1852 V WindowManager: Set focused app to: AppWindowToken{d811f6f token=Token{17af24e ActivityRecord{cc4d949 u0 com.android.settings/.deviceinfo.StorageWizardInit t109}}} old focus=AppWindowToken{1c2802e token=Token{f1c72a9 ActivityRecord{a130630 u0 com.android.settings/.SubSettings t107}}} moveFocusNow=true
01-09 09:35:57.478   432   449 I vendor.mediatek.hardware.power@2.0-impl: notifyAppState pack:com.android.settings, act:com.android.settings.deviceinfo.StorageWizardInit, pid:1215, state:1
01-09 09:35:57.506  1215  1215 D ViewRootImpl[StorageWizardInit]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
01-09 09:35:57.509  1215  1215 V PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@b494d80, this = DecorView@b4604bd[StorageWizardInit]
01-09 09:35:57.518   848  1844 I WindowManager: Relayout Window{6c96881 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit}: oldVis=4 newVis=0 focusMayChange = true
01-09 09:35:57.520   438   789 I BufferQueueConsumer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#0](this:0x7ec0060800,id:23,api:0,p:-1,c:438) setConsumerName: com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#0
01-09 09:35:57.520   438   789 I BufferQueueConsumer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#0](this:0x7ec0060800,id:23,api:0,p:-1,c:438) setDefaultBufferSize: width=2160 height=1080
01-09 09:35:57.522   438   465 I BufferQueueProducer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#0](this:0x7ec0060800,id:23,api:1,p:1215,c:438) connect(P): api=1 producer=(1215:com.android.settings) producerControlledByApp=true
01-09 09:35:57.562   848   890 I ActivityManager: Displayed com.android.settings/.deviceinfo.StorageWizardInit: +76ms
01-09 09:35:57.992   848  1852 V WindowManager: Changing focus from Window{53c2f3c u0 StatusBar} to Window{6c96881 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit} Callers=com.android.server.wm.WindowManagerService.relayoutWindow:2142 com.android.server.wm.Session.relayout:244 android.view.IWindowSession$Stub.onTransact:309 com.android.server.wm.Session.onTransact:164 
01-09 09:35:57.992   848  1852 D WindowManager: Input focus has changed to Window{6c96881 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit}
01-09 09:35:57.995   848   890 I WindowManager: Focus moving from Window{53c2f3c u0 StatusBar} to Window{6c96881 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit}
01-09 09:35:58.854   438   465 I BufferQueueProducer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#0](this:0x7ec0060800,id:23,api:1,p:1215,c:438) queueBuffer: fps=2.29 dur=1310.34 max=818.00 min=6.73
01-09 09:35:59.767   639   734 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
01-09 09:35:59.860   438  1186 I BufferQueueProducer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#0](this:0x7ec0060800,id:23,api:1,p:1215,c:438) queueBuffer: fps=36.76 dur=1006.58 max=401.77 min=9.74
01-09 09:36:00.863   438  1678 I BufferQueueProducer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#0](this:0x7ec0060800,id:23,api:1,p:1215,c:438) queueBuffer: fps=41.88 dur=1002.78 max=316.09 min=14.12
01-09 09:36:02.847   438   465 I BufferQueueProducer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#0](this:0x7ec0060800,id:23,api:1,p:1215,c:438) queueBuffer: fps=8.57 dur=1983.84 max=1333.54 min=16.17
01-09 09:36:03.854   438   465 I BufferQueueProducer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#0](this:0x7ec0060800,id:23,api:1,p:1215,c:438) queueBuffer: fps=55.59 dur=1007.29 max=49.93 min=13.79
01-09 09:36:04.529  1215  1215 D ViewRootImpl[StorageWizardInit]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
01-09 09:36:04.533   848  1852 V WindowManager: Changing focus from Window{6c96881 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit} to Window{384f575 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit} Callers=com.android.server.wm.WindowManagerService.addWindow:1519 com.android.server.wm.Session.addToDisplay:205 android.view.IWindowSession$Stub.onTransact:129 com.android.server.wm.Session.onTransact:164 
01-09 09:36:04.533   848  1852 D WindowManager: Input focus has changed to Window{384f575 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit}
01-09 09:36:04.535   848   890 I WindowManager: Focus moving from Window{6c96881 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit} to Window{384f575 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit}
01-09 09:36:04.555   438   465 D SurfaceFlinger: duplicate layer name: changing com.android.settings/com.android.settings.deviceinfo.StorageWizardInit to com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#1
01-09 09:36:04.555   438   465 I BufferQueueConsumer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#1](this:0x7ebfd50800,id:24,api:0,p:-1,c:438) setConsumerName: com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#1
01-09 09:36:04.556   438   465 I BufferQueueConsumer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#1](this:0x7ebfd50800,id:24,api:0,p:-1,c:438) setDefaultBufferSize: width=1502 height=965
01-09 09:36:04.559   438   465 I BufferQueueProducer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#1](this:0x7ebfd50800,id:24,api:1,p:1215,c:438) connect(P): api=1 producer=(1215:com.android.settings) producerControlledByApp=true
01-09 09:36:04.587   848   890 I WindowManager: Losing delayed focus: Window{6c96881 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit}
01-09 09:36:04.856   438  1186 I BufferQueueProducer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#0](this:0x7ec0060800,id:23,api:1,p:1215,c:438) queueBuffer: fps=37.93 dur=1001.88 max=382.94 min=9.46
01-09 09:36:06.146   438  1186 I BufferQueueProducer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#1](this:0x7ebfd50800,id:24,api:1,p:1215,c:438) queueBuffer: fps=1.27 dur=1572.04 max=1558.71 min=13.33
01-09 09:36:06.241   848  4403 I ActivityManager: START u0 {cmp=com.android.settings/.deviceinfo.StorageWizardFormatProgress (has extras)} from uid 1000
01-09 09:36:06.252   438   466 I BufferQueueProducer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#1](this:0x7ebfd50800,id:24,api:1,p:1215,c:438) disconnect(P): api 1
01-09 09:36:06.252   438   466 D BufferQueueConsumer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#1](this:0x7ebfd50800,id:24,api:1,p:-1,c:438) getReleasedBuffers: returning mask 0xffffffffffffffff
01-09 09:36:06.253  1215  1215 D View    : [Warning] assignParent to null: this = DecorView@7db53c5[StorageWizardInit]
01-09 09:36:06.254   848  4403 V WindowManager: Remove Window{384f575 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit} client=4cbe4ac, surfaceController=Surface(name=com.android.settings/com.android.settings.deviceinfo.StorageWizardInit)/@0x27f25e5 Callers=com.android.server.wm.WindowState.removeIfPossible:1966 com.android.server.wm.WindowManagerService.removeWindow:1679 com.android.server.wm.Session.remove:226 android.view.IWindowSession$Stub.onTransact:261 com.android.server.wm.Session.onTransact:164 
01-09 09:36:06.258   848  4403 V WindowManager: Changing focus from Window{384f575 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit EXITING} to Window{6c96881 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit} Callers=com.android.server.wm.WindowState.setupWindowForRemoveOnExit:2105 com.android.server.wm.WindowState.removeIfPossible:2076 com.android.server.wm.WindowState.removeIfPossible:1966 com.android.server.wm.WindowManagerService.removeWindow:1679 
01-09 09:36:06.258   848  4403 D WindowManager: Input focus has changed to Window{6c96881 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit}
01-09 09:36:06.263   848   890 I WindowManager: Focus moving from Window{384f575 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit EXITING} to Window{6c96881 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit}
01-09 09:36:06.266   848  1308 V WindowManager: Set focused app to: AppWindowToken{3a3014f token=Token{211afae ActivityRecord{274b029 u0 com.android.settings/.deviceinfo.StorageWizardFormatProgress t109}}} old focus=AppWindowToken{d811f6f token=Token{17af24e ActivityRecord{cc4d949 u0 com.android.settings/.deviceinfo.StorageWizardInit t109}}} moveFocusNow=true
01-09 09:36:06.267   848  1308 V WindowManager: Changing focus from Window{6c96881 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit} to null Callers=com.android.server.wm.WindowManagerService.setFocusedApp:2638 com.android.server.am.ActivityManagerService.setResumedActivityUncheckLocked:3738 com.android.server.am.ActivityStack.onActivityStateChanged:498 com.android.server.am.TaskRecord.onActivityStateChanged:1794 
01-09 09:36:06.268   848   890 I WindowManager: Focus moving from Window{6c96881 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardInit} to null
01-09 09:36:06.269   432   449 I vendor.mediatek.hardware.power@2.0-impl: notifyAppState pack:com.android.settings, act:com.android.settings.deviceinfo.StorageWizardFormatProgress, pid:1215, state:1
01-09 09:36:06.306  1215  1215 D ViewRootImpl[StorageWizardFormatProgress]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
01-09 09:36:06.310  1215  1215 V PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@97dd593, this = DecorView@88d7b64[StorageWizardFormatProgress]
01-09 09:36:06.322   848  2344 I WindowManager: Relayout Window{108fee0 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardFormatProgress}: oldVis=4 newVis=0 focusMayChange = true
01-09 09:36:06.324   438   789 I BufferQueueConsumer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardFormatProgress#0](this:0x7eb6868000,id:25,api:0,p:-1,c:438) setConsumerName: com.android.settings/com.android.settings.deviceinfo.StorageWizardFormatProgress#0
01-09 09:36:06.324   438   789 I BufferQueueConsumer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardFormatProgress#0](this:0x7eb6868000,id:25,api:0,p:-1,c:438) setDefaultBufferSize: width=2160 height=1080
01-09 09:36:06.325   848  2344 V WindowManager: Changing focus from null to Window{108fee0 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardFormatProgress} Callers=com.android.server.wm.WindowManagerService.relayoutWindow:2142 com.android.server.wm.Session.relayout:244 android.view.IWindowSession$Stub.onTransact:309 com.android.server.wm.Session.onTransact:164 
01-09 09:36:06.325   848  2344 D WindowManager: Input focus has changed to Window{108fee0 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardFormatProgress}
01-09 09:36:06.325   848   890 I WindowManager: Focus moving from null to Window{108fee0 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardFormatProgress}
01-09 09:36:06.326   438   466 I BufferQueueProducer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardFormatProgress#0](this:0x7eb6868000,id:25,api:1,p:1215,c:438) connect(P): api=1 producer=(1215:com.android.settings) producerControlledByApp=true
01-09 09:36:06.359   848   890 I ActivityManager: Displayed com.android.settings/.deviceinfo.StorageWizardFormatProgress: +85ms
01-09 09:36:06.423   438   465 W SurfaceFlinger: Attempting to set client state on removed layer: com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#1
01-09 09:36:06.423   438   465 W SurfaceFlinger: Attempting to destroy on removed layer: com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#1
01-09 09:36:06.436   438   438 I BufferQueueConsumer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#1](this:0x7ebfd50800,id:24,api:1,p:-1,c:-1) disconnect(C)
01-09 09:36:06.439   438   438 I BufferQueue: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#1](this:0x7ebfd50800,id:24,api:1,p:-1,c:-1) ~BufferQueueCore
01-09 09:36:06.673   438   466 I BufferQueueProducer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#0](this:0x7ec0060800,id:23,api:1,p:1215,c:438) disconnect(P): api 1
01-09 09:36:06.673   438   466 D BufferQueueConsumer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#0](this:0x7ec0060800,id:23,api:1,p:-1,c:438) getReleasedBuffers: returning mask 0xffffffffffffffff
01-09 09:36:06.706  1215  1215 V PhoneWindow: DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@b494d80, this = DecorView@b4604bd[StorageWizardInit]
01-09 09:36:06.737   438   438 I BufferQueueConsumer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#0](this:0x7ec0060800,id:23,api:1,p:-1,c:-1) disconnect(C)
01-09 09:36:06.737   438   438 I BufferQueue: [com.android.settings/com.android.settings.deviceinfo.StorageWizardInit#0](this:0x7ec0060800,id:23,api:1,p:-1,c:-1) ~BufferQueueCore
01-09 09:36:07.931   438   465 I BufferQueueProducer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardFormatProgress#0](this:0x7eb6868000,id:25,api:1,p:1215,c:438) queueBuffer: fps=1.26 dur=1587.71 max=1574.03 min=13.68
01-09 09:36:23.058   848  4403 V WindowManager: Changing focus from Window{108fee0 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardFormatProgress} to null Callers=com.android.server.wm.DisplayContent.layoutAndAssignWindowLayersIfNeeded:2450 com.android.server.wm.DisplayContent.positionStackAt:1914 com.android.server.wm.DisplayWindowController.positionChildAt:93 com.android.server.am.ActivityDisplay.positionChildAt:169 
01-09 09:36:23.059   848   890 I WindowManager: Focus moving from Window{108fee0 u0 com.android.settings/com.android.settings.deviceinfo.StorageWizardFormatProgress} to null
01-09 09:36:23.063   848  7193 V WindowManager: Set focused app to: AppWindowToken{1c2802e token=Token{f1c72a9 ActivityRecord{a130630 u0 com.android.settings/.SubSettings t107}}} old focus=AppWindowToken{3a3014f token=Token{211afae ActivityRecord{274b029 u0 com.android.settings/.deviceinfo.StorageWizardFormatProgress t109}}} moveFocusNow=true
01-09 09:36:23.072  1215  1215 D View    : [Warning] assignParent to null: this = DecorView@b4604bd[StorageWizardInit]
01-09 09:36:23.111   438  1678 I BufferQueueProducer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardFormatProgress#0](this:0x7eb6868000,id:25,api:1,p:1215,c:438) queueBuffer: fps=1.12 dur=15180.20 max=14914.01 min=11.79
01-09 09:36:23.128  1215  7017 W ProcStatsManager: No process com.google.android.ext.services/10011 for service android.ext.services.storage.CacheQuotaServiceImpl
01-09 09:36:23.129  1215  7017 W ProcStatsManager: No process com.google.android.apps.maps/10078 for service com.google.android.apps.gmm.notification.inbox.storage.InboxNotificationStorageExpirationService
01-09 09:36:23.143   438   438 I SurfaceFlinger: screenshot (com.android.settings/com.android.settings.deviceinfo.StorageWizardFormatProgress#0)
01-09 09:36:23.755   438   466 I BufferQueueProducer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardFormatProgress#0](this:0x7eb6868000,id:25,api:1,p:1215,c:438) disconnect(P): api 1
01-09 09:36:23.756   438   466 D BufferQueueConsumer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardFormatProgress#0](this:0x7eb6868000,id:25,api:1,p:-1,c:438) getReleasedBuffers: returning mask 0xffffffffffffffff
01-09 09:36:23.767  1215  1215 V PhoneWindow: DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@97dd593, this = DecorView@88d7b64[StorageWizardFormatProgress]
01-09 09:36:23.769  1215  1215 D View    : [Warning] assignParent to null: this = DecorView@88d7b64[StorageWizardFormatProgress]
01-09 09:36:23.779   438   466 W SurfaceFlinger: Attempting to destroy on removed layer: AppWindowToken{3a3014f token=Token{211afae ActivityRecord{274b029 u0 com.android.settings/.deviceinfo.StorageWizardFormatProgress t109}}}#0
01-09 09:36:23.783   438   438 I BufferQueueConsumer: [com.android.settings/com.android.settings.deviceinfo.StorageWizardFormatProgress#0](this:0x7eb6868000,id:25,api:1,p:-1,c:-1) disconnect(C)
01-09 09:36:23.784   438   438 I BufferQueue: [com.android.settings/com.android.settings.deviceinfo.StorageWizardFormatProgress#0](this:0x7eb6868000,id:25,api:1,p:-1,c:-1) ~BufferQueueCore
shymega commented 1 year ago

Reopening, I believe this is a bug with the settings UI.

Robsno commented 1 year ago

I have a 256GB sandisk that works well on both my Cosmo and my Astro with no issue,happily moving 10s of GB back and forth

shymega commented 1 year ago

Yeah, I think it could be a bug with the UI, but I too had a 256GB SD for my Cosmo, and it worked great.

So I'm of two minds whenever to close this issue.