phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.39k stars 655 forks source link

Flashing system-roar-arm64-ab-vndklite-floss.img (11.0 v310) fails with 'sparse flash write failure' #1952

Open dev-zero opened 3 years ago

dev-zero commented 3 years ago

This is for a Huawei P10 (EMUI 9.1). Flashing system-roar-arm64-ab-floss.img worked, but system-roar-arm64-ab-vndklite-floss.img fails with:

$ fastboot flash system system-roar-arm64-ab-vndklite-floss.img
Invalid sparse file format at header magic
Sending sparse 'system' 1/7 (431012 KB)            OKAY [ 12.882s]
Writing 'system'                                   FAILED (remote: 'sparse flash write failure')
fastboot: error: Command failed
phhusson commented 3 years ago

Yes this image is too big for your device

3 août 2021 08:50:37 Tiziano Müller @.***>:

This is for a Huawei P10 (EMUI 9.1). Flashing system-roar-arm64-ab-floss.img worked, but system-roar-arm64-ab-vndklite-floss.img fails with:

$ fastboot flash system system-roar-arm64-ab-vndklite-floss.img Invalid sparse file format at header magic Sending sparse 'system' 1/7 (431012 KB)            OKAY [ 12.882s] Writing 'system'                                   FAILED (remote: 'sparse flash write failure') fastboot: error: Command failed

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub[https://github.com/phhusson/treble_experimentations/issues/1952], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAAA4ORTOY7YA7VAANYZL5TT26GT3ANCNFSM5BOFU2WA]. Triage notifications on the go with GitHub Mobile for iOS[https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675] or Android[https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email]. [data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAAjSURBVGiB7cEBDQAAAMKg909tDwcUAAAAAAAAAAAAAADApwExOAABR9ZGcwAAAABJRU5ErkJggg==###24x24:true###][Image de pistage][https://github.com/notifications/beacon/AAAA4OT6ZNVHJFJ5URV2PCDT26GT3A5CNFSM5BOFU2WKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OJF6MXQ.gif]

dev-zero commented 3 years ago

@phhusson thanks a lot for the quick answer. Do you have a hint on how to proceed for a Magisk-rooted device? E.g. without SU (using microG)?

dev-zero commented 3 years ago

I tried deduping according to your tweet to get root r/w, but that failed as well.