account arrowhead-down arrowhead-up mobile-menu search sm-bold-x x-skinny-rounded x-skinny arrowhead-right social-facebook social-googleplus social-instagram social-linkedin social-pinterest social-qzone social-renren social-tencent social-twitter social-vkontakt social-weibo social-youku social-youtube

Please help us improve our website

Take our customer survey to evaluate your visit.

It should only take a few minutes to answer five quick questions. Just click the Launch survey button at the end of your visit to begin.

cancel
Showing results for 
Search instead for 
Did you mean: 
Welcome to the Open Devices community!

This is where we discuss open source and development related questions on our Open Devices initiative.

Flashing H8324 AOSP with fastboot

Apprentice
Message 1 of 5
585 Views
Message 1 of 5

Flashing H8324 AOSP with fastboot

After much chagrin, including downgrading to Oreo, I've got a compiled AOSP P and an unlocked bootloader. However when I try to flash the compiled .img I get:

$ fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'bootb' (65536 KB)...
OKAY [ 6.961s]
writing 'bootb'...
FAILED (remote: No such partition.)
finished. total time: 6.964s

Note the "sending bootB" above, I would hazard that the partition is called boot rather than bootb and that's why it's failing. I have no idea why fastboot is deciding to add a "b" (it's the same regardless of partition and if flashing "fastboot flashall".

 

Anyone have any ideas on what the problem may be?

 

Cheers!

4 REPLIES 4
Apprentice
Message 2 of 5
580 Views
Message 2 of 5

Re: Flashing H8324 AOSP with fastboot

Nevermind, once I restarted build & flash OS fastboot correctly gave

$ fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot_b' (65536 KB)...

 

Note underscore in boot_b, which was successful.. Now I just have to get it out of the boot loop.

 

Cheers,

Developer World
Message 3 of 5
517 Views
Message 3 of 5

Re: Flashing H8324 AOSP with fastboot

Hi,

you have to flash the software on slot A and to select slot A as bootable

 

The easyest way to do this is to:

1.flash the device with flashtool

https://developer.sony.com/develop/open-devices/get-started/flash-tool/

2. boot the device with the official SW

3. flash Open Devices

 

Regards

Alin

 

Highlighted
Regular
Message 4 of 5
504 Views
Message 4 of 5

Re: Flashing H8324 AOSP with fastboot

As a side note, I had a similar problem with pioneer (h4113) after I had begun using the Android Studio's fastboot. When flashing e.g. the boot partition, the error came back saying that there was no such partition boot__b (note the double underscore). Changing the partition name to boot_b instead of just boot made the procedure successful.

Developer World
Message 5 of 5
486 Views
Message 5 of 5

Re: Flashing H8324 AOSP with fastboot

Hi,

we advise a clean start from _a before flashing Open Devices

 

Regards

Alin