Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
OS not starting after last update #424
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jo3l33
Sep 9, 2016
Ok, so I am unable to fastboot oem unlock via adb (FAILED: remote: oem unlock is not allowed) ? How may I restore to factory if I am not able to unlock bootloader ? I can't obviously allow oem unlock in dev option because OS is not starting.
Any solution for this ?
Thanks.
jo3l33
commented
Sep 9, 2016
|
Ok, so I am unable to fastboot oem unlock via adb (FAILED: remote: oem unlock is not allowed) ? How may I restore to factory if I am not able to unlock bootloader ? I can't obviously allow oem unlock in dev option because OS is not starting. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jo3l33
Sep 9, 2016
Will reflash of https://builds.copperhead.co/builds/bullhead-factory-2016.09.09.07.12.48.tar.xz work without unlocking bootloader ? Should be possible - signed by same key I presume ?
Thanks for help&info.
jo3l33
commented
Sep 9, 2016
|
Will reflash of https://builds.copperhead.co/builds/bullhead-factory-2016.09.09.07.12.48.tar.xz work without unlocking bootloader ? Should be possible - signed by same key I presume ? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jo3l33
Sep 9, 2016
Ok, so it can't be done - Cooperhead original factory img can not be reflashed. Bootloader locked.
I am out of options I know of. Devs of Copperhead, please let me know if there is any way of repairing it. Thanks.
jo3l33
commented
Sep 9, 2016
|
Ok, so it can't be done - Cooperhead original factory img can not be reflashed. Bootloader locked. I am out of options I know of. Devs of Copperhead, please let me know if there is any way of repairing it. Thanks. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Sep 10, 2016
Contributor
If you locked the bootloader and then disabled OEM unlocking, there is no way to unlock the bootloader or perform a factory reset without booting into the OS or using a specially crafted update package signed with the correct key. You can sideload updates, so if this is caused by a bug occurring then it could be fixed by an update. It's feasible that it's a hardware issue or an issue like data corruption which would not be fixable by a normal update. If it's data corruption, in the worst case scenario we could produce a sideload package to format the device. However, there are there drastic measures that could be taken before that.
More information would be helpful, i.e. whether this is an unaltered install of CopperheadOS (no unofficial sideloaded modifications) and more details on what led up to this situation.
Did the update process appear to complete without interruption?
Does it state that the installation is corrupted or boot, or does it produce the normal yellow state for a third party OS with the correct key fingerprint?
|
If you locked the bootloader and then disabled OEM unlocking, there is no way to unlock the bootloader or perform a factory reset without booting into the OS or using a specially crafted update package signed with the correct key. You can sideload updates, so if this is caused by a bug occurring then it could be fixed by an update. It's feasible that it's a hardware issue or an issue like data corruption which would not be fixable by a normal update. If it's data corruption, in the worst case scenario we could produce a sideload package to format the device. However, there are there drastic measures that could be taken before that. More information would be helpful, i.e. whether this is an unaltered install of CopperheadOS (no unofficial sideloaded modifications) and more details on what led up to this situation. Did the update process appear to complete without interruption? Does it state that the installation is corrupted or boot, or does it produce the normal yellow state for a third party OS with the correct key fingerprint? |
thestinger
added
the
Type: bug
label
Sep 10, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Sep 10, 2016
Contributor
I could make you a userdebug build where you would have adb access in early boot to obtain logs and perhaps fix the problem.
|
I could make you a userdebug build where you would have |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Sep 10, 2016
Contributor
after last update OS starts (on nexus 5x) till passphrase entry then check it and then display spinning logo forever
Does it make it far enough for you to enter your password? It's not clear to me if the boot stalls before it gets there, or after you enter it.
Does it make it far enough for you to enter your password? It's not clear to me if the boot stalls before it gets there, or after you enter it. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Sep 10, 2016
Contributor
It sounds like it stalls after, in which case you might already have adb access if you had it enabled and a key was already whitelisted (userdebug builds simply have it force enabled including in early boot and do not require authentication, which is why that would help).
|
It sounds like it stalls after, in which case you might already have adb access if you had it enabled and a key was already whitelisted (userdebug builds simply have it force enabled including in early boot and do not require authentication, which is why that would help). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jo3l33
Sep 11, 2016
Hi thestinger,
thank you very much for your reply&help.
I have unaltered install of CopperheadOS (no unofficial sideloaded modifications) and I can see normal yellow state for a third party OS with the correct key fingerprint after boot. After boot OS starts to load - spining Copperhead logo, then it asks for passphrase to unlock OS. I can normally enter passphrase and it apparently checks it, if it is correct (if I enter wrong one, it prompts about wrong passphrase).
Once it checks passphrase it starts to load OS with spinning logo once again after which nothing happens - I tried to let it run for couple of hours and it is still spinning - no OS loaded.
I can sideload via recovery option in bootloader. I have usb driver and adb/fastboot tools set up. I have vanilla copperhead OS so no modifications. Just have all security options maxed. Phone is like 4 months old (bought new). I've choosen this phone, because I wanted to use your Copperhead OS.
Let me please know, what I can try - either sideload some debug img you will provide or anytning else you recommend. I was thinking about waiting for your next release and would try to sideload it (it wont let me sideload previous updates before this last one).
Thank you very much for any help.
jo3l33
commented
Sep 11, 2016
|
Hi thestinger, I have unaltered install of CopperheadOS (no unofficial sideloaded modifications) and I can see normal yellow state for a third party OS with the correct key fingerprint after boot. After boot OS starts to load - spining Copperhead logo, then it asks for passphrase to unlock OS. I can normally enter passphrase and it apparently checks it, if it is correct (if I enter wrong one, it prompts about wrong passphrase). I can sideload via recovery option in bootloader. I have usb driver and adb/fastboot tools set up. I have vanilla copperhead OS so no modifications. Just have all security options maxed. Phone is like 4 months old (bought new). I've choosen this phone, because I wanted to use your Copperhead OS. Let me please know, what I can try - either sideload some debug img you will provide or anytning else you recommend. I was thinking about waiting for your next release and would try to sideload it (it wont let me sideload previous updates before this last one). Thank you very much for any help. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jo3l33
Sep 11, 2016
Edit* - yes, update process went smoothly - no problem there. Then it restarted and started loading OS as I have described above. Thanks.
jo3l33
commented
Sep 11, 2016
|
Edit* - yes, update process went smoothly - no problem there. Then it restarted and started loading OS as I have described above. Thanks. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Sep 11, 2016
Contributor
Did you have adb enabled already? You should still have adb access after you enter the passphrase via the same previously whitelisted computer if you did.
|
Did you have adb enabled already? You should still have adb access after you enter the passphrase via the same previously whitelisted computer if you did. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jo3l33
Sep 11, 2016
I should have adb access (computer whitelisted a while ago, but usb debug was switched off).
What command should I send via adb ? Thanks for help.
jo3l33
commented
Sep 11, 2016
|
I should have adb access (computer whitelisted a while ago, but usb debug was switched off). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Sep 11, 2016
Contributor
If you do still have adb access, get the logs with adb logcat. If not, I can upload a userdebug build to sideload.
|
If you do still have adb access, get the logs with |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jo3l33
Sep 12, 2016
adb logcat - no response (- waiting for device -) - so I guess I do not have adb access afterall. But I can sideload via recovery option in bootloader. Thank you for all your help.
jo3l33
commented
Sep 12, 2016
|
adb logcat - no response (- waiting for device -) - so I guess I do not have adb access afterall. But I can sideload via recovery option in bootloader. Thank you for all your help. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Sep 12, 2016
Contributor
A userdebug build would give you adb access, but it doesn't really work as a non-local solution. Publishing it would reduce security for all CopperheadOS users...
|
A userdebug build would give you adb access, but it doesn't really work as a non-local solution. Publishing it would reduce security for all CopperheadOS users... |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Sep 12, 2016
Contributor
I'll try to think of a way to deal with this. I don't know though.
|
I'll try to think of a way to deal with this. I don't know though. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Sep 12, 2016
Contributor
Could create a user build with the ability to wipe from recovery, which would only compromise the anti-theft value of OEM unlocking (not a big deal). That wouldn't allow for data recovery or determining what went wrong though.
|
Could create a user build with the ability to wipe from recovery, which would only compromise the anti-theft value of OEM unlocking (not a big deal). That wouldn't allow for data recovery or determining what went wrong though. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jo3l33
Sep 12, 2016
Thank you very much for further info! I certainly do not want you to compromise any of security features of Copperhead OS for other users. Though I would like to know, what caused this, but if there is only solution to wipe from recovery I do not leave any critical data on my phone/s anyway - so I can part with my existing data there.
If there is solution that I can wipe data and load full latest Copperhead img, that would be best solution from my side. Also, if you do not want to publish custom "wipe" build, I can assure you, that if you send it to me, I will use it and delete it. I understand the the value you are creating with secured custom OS and that is why I am using it/bought phone supporting it.
Thank you again for your help.
jo3l33
commented
Sep 12, 2016
|
Thank you very much for further info! I certainly do not want you to compromise any of security features of Copperhead OS for other users. Though I would like to know, what caused this, but if there is only solution to wipe from recovery I do not leave any critical data on my phone/s anyway - so I can part with my existing data there. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Sep 12, 2016
Contributor
I wouldn't really mind publishing it since it's just an anti-theft feature but sending a link to you via email would be saner. Note that since downgrades aren't be possible, it becomes irrelevant after the next update anyway (since it can no longer be used to wipe updated installs).
|
I wouldn't really mind publishing it since it's just an anti-theft feature but sending a link to you via email would be saner. Note that since downgrades aren't be possible, it becomes irrelevant after the next update anyway (since it can no longer be used to wipe updated installs). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Sep 12, 2016
Contributor
Would really like to find out what the problem is and fix it, but I can't think of a sane way to do that.
|
Would really like to find out what the problem is and fix it, but I can't think of a sane way to do that. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
jo3l33
Sep 12, 2016
Hi Daniel, I've sent you an email with further info. Thank you very much for all your help. Joe.
jo3l33
commented
Sep 12, 2016
|
Hi Daniel, I've sent you an email with further info. Thank you very much for all your help. Joe. |
thestinger
closed this
Sep 14, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Sep 14, 2016
Contributor
(not going to be further progress on identifying the cause since the wipe approach was taken)
|
(not going to be further progress on identifying the cause since the wipe approach was taken) |
jo3l33 commentedSep 9, 2016
Hi,
after last update OS starts (on nexus 5x) till passphrase entry then check it and then display spinning logo forever. OS does not load. I have tried to sideload latest update via adb - same result.
What may I try to get it working ? Or should I waste time with complete factory reset & losing all my data ?
Thanks in advance for reply&help.