8000 feat: add Konik A1 UFS chip variants by ChosenCypher · Pull Request #153 · commaai/flash · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: add Konik A1 UFS chip variants #153

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/utils/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ export function checkCompatibleDevice(storageInfo) {
return 'userdata_90'
}

// Konik A1 - 8x64GB
if (storageInfo.prod_name === '64GB-UFS-MT 8QSP' && storageInfo.manufacturer_id === 300 &&
storageInfo.total_blocks === 14143488) {
return 'userdata_30'
}
if (storageInfo.prod_name === 'HN8G962EHKX037' && storageInfo.manufacturer_id === 429 &&
storageInfo.total_blocks === 14125056) {
return 'userdata_30'
}

throw new Error('Could not identify UFS chip')
}

Expand Down
0