Hello,
I am trying to reverse engineer my phone that won't allow me to flash the partitions with an img file I took using DD. I have the following issue-
The first thing I did when I set up the phone was make sure it was unlocked in developer options.
OEM unlocking
Allow the bootloader to be unlocked
(with the slider moved over to the right)
It's almost like the settings conflict with each other. Any ideas on this? It looks like even though it is on in developer options doesn't mean that it will work in ADB. The proof is in the pudding as they say.
According to the research I have done, I am also seeing that with many phones you must set the option in fastboot mode after setting this in developer options.
I tried to compare/diff the aboot image partition in a hex editor but it did not show any differences in them. To do this I started out with the option set locked and took a DD image of aboot. I then restarted the phone and set the option to unlock and took a second DD image.
I have a full backup of all partitions of the phone and could post any additional info you need.
I am trying to reverse engineer my phone that won't allow me to flash the partitions with an img file I took using DD. I have the following issue-
Code:
[root@localhost platform-tools]# ./fastboot flash system system.img
target reported max download size of 1073741824 bytes
Invalid sparse file format at header magi
erasing 'system'...
FAILED (remote: device is locked. Cannot erase)
finished. total time: 0.017s
[root@localhost platform-tools]#
[root@localhost platform-tools]# ./fastboot oem device-info
...
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) Charger screen enabled: true
(bootloader) Display panel:
OKAY [ 0.027s]
finished. total time: 0.027s
[root@localhost platform-tools]# ./fastboot oem unlock
...
FAILED (remote: oem unlock is not allowed)
finished. total time: 0.012s
[root@localhost platform-tools]#
The first thing I did when I set up the phone was make sure it was unlocked in developer options.
OEM unlocking
Allow the bootloader to be unlocked
(with the slider moved over to the right)
It's almost like the settings conflict with each other. Any ideas on this? It looks like even though it is on in developer options doesn't mean that it will work in ADB. The proof is in the pudding as they say.
According to the research I have done, I am also seeing that with many phones you must set the option in fastboot mode after setting this in developer options.
I tried to compare/diff the aboot image partition in a hex editor but it did not show any differences in them. To do this I started out with the option set locked and took a DD image of aboot. I then restarted the phone and set the option to unlock and took a second DD image.
I have a full backup of all partitions of the phone and could post any additional info you need.