Re: [android-building] Grouper [Nexus 7] encrypted storage password

1,226 views
Skip to first unread message

Jean-Baptiste Queru

unread,
Jul 27, 2012, 4:22:54 PM7/27/12
to android-...@googlegroups.com
What exact commands do you use when flashing?

JBQ

On Fri, Jul 27, 2012 at 1:17 PM, JF Dionne <jeanfra...@gmail.com> wrote:
> Hi
>
> I made an image for grouper and when I flash it, it asks me my encrypted
> storage password... which I don't have...
>
> The only way to get by this is to boot in recovery and wipe data and cache.
>
> How do I fix this so it doesn't ask me any passwords ?
>
> Thanks
>
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en



--
Jean-Baptiste M. "JBQ" Queru
Technical Lead, Android Open Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Jean-Baptiste Queru

unread,
Jul 27, 2012, 4:30:16 PM7/27/12
to android-...@googlegroups.com
I'm worried about "fastboot flash userdata userdata.img", because
you're flashing a sparse filesystem onto a partition that might not
have been erased, and because you might be flashing a filesystem of
the wrong size (if can't know if your device has 8GB or 16GB of
storage).

The best approach is "fastboot format userdata" (which is supported on
Galaxy Nexus and Nexus 7). At least, and especially on Nexus 7, I'd
strongly recommend to first erase any partition you flash, and
especially userdata and cache.

JBQ

On Fri, Jul 27, 2012 at 1:26 PM, JF Dionne <jeanfra...@gmail.com> wrote:
> adb reboot bootloader
> fastboot flash boot boot.img
> fastboot flash system system.img
> fastboot flash userdata userdata.img
> fastboot reboot
>
> It's in a script... I don't manually type this each and everytime...

Jean-Baptiste Queru

unread,
Jul 27, 2012, 4:43:27 PM7/27/12
to android-...@googlegroups.com
Older Nexus devices would implicitly erase the partition before
flashing the new data, but Nexus 7 doesn't do that.

JBQ

On Fri, Jul 27, 2012 at 1:39 PM, JF Dionne <jeanfra...@gmail.com> wrote:
>> It worked !
>
>
> So even though it worked on other Nexus devices, my method was not the best
> way to do it or is it just added protection ??
>
> So, just to confirm, best practice is too erase than flash any partition I
> want to flash ?
>
>
> Thanks for your (really) fast answer
Reply all
Reply to author
Forward
0 new messages