Author Topic: Need help flashing the image  (Read 7493 times)

voronaam

  • Newbie
  • *
  • Posts: 4
    • View Profile
Need help flashing the image
« on: October 13, 2020, 06:47:56 pm »
I do not have Android booting on my device and need help flashing the original signed image back to it. What I have tried so far:

1. Downloaded v21 firmware from the official site https://support.planetcom.co.uk/download/CosmoFirmware/fota_v20_v21_update/Updatepackage.zip
2. Downloaded v19 from a link on this forum: https://drive.google.com/file/d/1A9K04eyaXglgBX9y5sVVt3e6pVZGRA0Y/view
3. Installed two versions of the SP Flash Tool from https://spflashtool.com/download/
4. Downloaded various scatter files from this forum

I tried various combinations of scatter files and unpacked firmware folders with various versions, but nothing seems to work. Older version of the SP Flash Tool says I have to update, newer version refused to read old scatter files. When fed a new scatter file from this forum (Cosmo_MT6771_Android_full_stock_edited_scatter.txt) it complains that pgpt partition file is missing - and indeed I do not see either pgpt.img or pgpt.bin in the firmware archives I downloaded.

I have reached out to Planet Computers about a month ago, but have not heard back from them.

As a side note, Debian and TWRP boot up just fine on the phone. Only Android (either stock or rooted) have issues for some reason.

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
Re: Need help flashing the image
« Reply #1 on: October 14, 2020, 07:01:22 am »
I do not have Android booting on my device and need help flashing the original signed image back to it. What I have tried so far:

1. Downloaded v21 firmware from the official site https://support.planetcom.co.uk/download/CosmoFirmware/fota_v20_v21_update/Updatepackage.zip
2. Downloaded v19 from a link on this forum: https://drive.google.com/file/d/1A9K04eyaXglgBX9y5sVVt3e6pVZGRA0Y/view
3. Installed two versions of the SP Flash Tool from https://spflashtool.com/download/
4. Downloaded various scatter files from this forum

I tried various combinations of scatter files and unpacked firmware folders with various versions, but nothing seems to work. Older version of the SP Flash Tool says I have to update, newer version refused to read old scatter files. When fed a new scatter file from this forum (Cosmo_MT6771_Android_full_stock_edited_scatter.txt) it complains that pgpt partition file is missing - and indeed I do not see either pgpt.img or pgpt.bin in the firmware archives I downloaded.

I have reached out to Planet Computers about a month ago, but have not heard back from them.

As a side note, Debian and TWRP boot up just fine on the phone. Only Android (either stock or rooted) have issues for some reason.

Try fastboot. There is a lot of posts here about flashing using fastboot.
Please see below  and read everything to understand.

You can use these images to restore to a v19 firmware:

https://www.oesf.org/forum/index.php?topic=35879.90

Please, Use full images. ( I think it is the same of your image )

As a guide reference  ( fastboot) please see:

https://www.oesf.org/forum/index.php?topic=35879.60

You can also flash lk2, scp2, sspm_2 and tee2. ( same as lk, scp, sspm and tee  ) and also preloader and recovery.




« Last Edit: October 14, 2020, 07:29:46 am by cam1965 »

voronaam

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Need help flashing the image
« Reply #2 on: October 14, 2020, 11:05:22 am »
Thank you. I have tried those.

fastboot never worked for me.

Code: [Select]
$ fastboot flash boot boot-v23-stock.img
target reported max download size of 134217728 bytes
sending 'boot' (32768 KB)...
OKAY [  1.761s]
writing 'boot'...
FAILED (remote: not allowed in locked state)
finished. total time: 1.763s

I tried this (pressing volume up on the device), and it did not do anything:
Code: [Select]
fastboot flashing unlock
...
(bootloader) Start unlock flow

FAILED (remote:
Unlock operation is not allowed
)
finished. total time: 7.117s
[

That is why I was hopeful to use SP Flash Tool.

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
Re: Need help flashing the image
« Reply #3 on: October 14, 2020, 07:44:06 pm »
Thank you. I have tried those.

fastboot never worked for me.

Code: [Select]
$ fastboot flash boot boot-v23-stock.img
target reported max download size of 134217728 bytes
sending 'boot' (32768 KB)...
OKAY [  1.761s]
writing 'boot'...
FAILED (remote: not allowed in locked state)
finished. total time: 1.763s

I tried this (pressing volume up on the device), and it did not do anything:
Code: [Select]
fastboot flashing unlock
...
(bootloader) Start unlock flow

FAILED (remote:
Unlock operation is not allowed
)
finished. total time: 7.117s
[

That is why I was hopeful to use SP Flash Tool.

Before to use fastboot, you must first  enable development options in android and inside them, unlock oem .
Good luck
« Last Edit: October 14, 2020, 07:47:34 pm by cam1965 »

voronaam

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Need help flashing the image
« Reply #4 on: October 14, 2020, 10:25:39 pm »
Before to use fastboot, you must first  enable development options in android and inside them, unlock oem .

This is kind of hard to do when Android does not boot :) Are there any other options? Can I enable it from TWRP? That boots.

voronaam

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Need help flashing the image
« Reply #5 on: October 15, 2020, 12:07:32 am »
This is kind of hard to do when Android does not boot :) Are there any other options? Can I enable it from TWRP? That boots.

Nevermind, I managed to flash a few partitions with SP Flash Tool and it has completely bricked the device. I have some backups from it and will try to do something. But otherwise looks like mailing it back to Planet Computers is the only option...

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
Re: Need help flashing the image
« Reply #6 on: October 15, 2020, 06:46:51 am »
Before to use fastboot, you must first  enable development options in android and inside them, unlock oem .

This is kind of hard to do when Android does not boot :) Are there any other options? Can I enable it from TWRP? That boots.

I really don' t know.
I saw this : https://www.getdroidtips.com/unlock-bootloader-mediatek-device/

Try fastboot oem unlock .

Good luck .