Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tool for merging GPT from KDZ with device GPT #2

Open
ehem opened this issue Oct 29, 2016 · 2 comments
Open

Tool for merging GPT from KDZ with device GPT #2

ehem opened this issue Oct 29, 2016 · 2 comments
Assignees

Comments

@ehem
Copy link
Owner

ehem commented Oct 29, 2016

After a device's image was overwritten with a H901 KDZ, some of the old partitions might be desirable to restore. Need something to merge the appropriate chunks from the original KDZ.

@ehem ehem self-assigned this Oct 29, 2016
@ehem
Copy link
Owner Author

ehem commented Nov 13, 2016

The initial implementation of this is done. There are two missing features right now. First, I've got a third merging strategy I want to put in place. Second, I want to have the GPT CRC remain the same after alteration.

The second is meant to make it hard_er_ to notice the GPT was altered, hopefully the low-level firmware wouldn't be sensitive to changing the slice Ids, but it could be used to try to discourage modification. The first is simply to offer another alternative.

You need to have the Android NDK installed, at which point running ndk-build will build mergegpt which implements this task (gpt is mostly a debugging tool).

@ehem
Copy link
Owner Author

ehem commented Nov 24, 2016

This appears to be done. Testing is still needed before closing this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant