{"id":26902871,"url":"https://github.com/0x1da9430/cubesolver","last_synced_at":"2026-04-29T18:31:58.113Z","repository":{"id":218563993,"uuid":"625289158","full_name":"0x1DA9430/CubeSolver","owner":"0x1DA9430","description":"A 3x3x3 Rubik's Cube Solver for Android","archived":false,"fork":false,"pushed_at":"2024-03-09T16:53:48.000Z","size":3299,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T09:53:57.754Z","etag":null,"topics":["opencv","rubiks-cube","rubiks-cube-solver","two-phase-algorithm"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0x1DA9430.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-08T16:44:33.000Z","updated_at":"2025-01-30T18:33:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"d23f03c3-1661-4393-a6c0-f5dcb0de688c","html_url":"https://github.com/0x1DA9430/CubeSolver","commit_stats":null,"previous_names":["yankfitzgerald/cubesolver","0x1da9430/cubesolver"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/0x1DA9430/CubeSolver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x1DA9430%2FCubeSolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x1DA9430%2FCubeSolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x1DA9430%2FCubeSolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x1DA9430%2FCubeSolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x1DA9430","download_url":"https://codeload.github.com/0x1DA9430/CubeSolver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x1DA9430%2FCubeSolver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32439169,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T18:12:22.909Z","status":"ssl_error","status_checked_at":"2026-04-29T18:11:33.322Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["opencv","rubiks-cube","rubiks-cube-solver","two-phase-algorithm"],"created_at":"2025-04-01T09:53:59.945Z","updated_at":"2026-04-29T18:31:58.098Z","avatar_url":"https://github.com/0x1DA9430.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CubeSolver\n\nA 3x3x3 Rubik's Cube Solver for Android.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://github.com/YankFitzgerald/CubeSolver/blob/master/figures/202311220037564.png\" style=\"zoom:70%;\" /\u003e\n\u003c/p\u003e\n\n\n## Key Features\n\n- **Color Recognition:** Utilizes image processing techniques and computer vision algorithms for accurate color detection.\n- **Cube Validator:** Checks if the scanned cube configuration is solvable.\n- **Cube Solver:** Implements a 2-phase algorithm to generate the optimal solution.\n  - The implementation of two-phase algorithm referenced this project: [cs0x7f/min2phase](https://github.com/cs0x7f/min2phase)\n\n- **Voice Cues and Auto-play:** Enhances user experience with audio guidance and automatic progression of solving steps.\n- **Timer and History Module:** Tracks and records solving times and dates for user performance analysis.\n- **User Interface:** Offers a user-friendly, accessible design suitable for various skill levels with visual impairments.\n\n\n\n## Project Structure\n\n- **Manifests:** Defines runtime configurations like icons, name, permissions, etc.\n- **Java Classes:** Contains the core logic and functionalities of the app.\n- **Resources (res):** Includes drawable resources, layouts, launch icons, and constant definitions like strings and styles.\n- **OpenCV Library:** Utilized for computer vision functionalities.\n- **Gradle Scripts:** Manages compilation configurations and dependencies.\n\n## UI Flowchart\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"figures\\cube layout.png\" width=\"550px\" /\u003e\n\u003c/p\u003e\n\n## Screenshots\n\u003ctable\u003e\n\u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"figures/home.jpg\" alt=\"Home\" width=\"250px\" /\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"figures/scan.jpg\" alt=\"Scan\" width=\"250px\" /\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"figures/wrong face.jpg\" alt=\"Wrong Face\" width=\"250px\" /\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"figures/sol2.jpg\" alt=\"Solution 2\" width=\"250px\" /\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"figures/result.jpg\" alt=\"Result\" width=\"250px\" /\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"figures/settings.jpg\" alt=\"Settings\" width=\"250px\" /\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n\n## Getting Started\n\n### Installation\n\nDownload the [apk](https://github.com/YankFitzgerald/CubeSolver/releases/tag/Publish) file and install on your android devices.\n\n### Debug in Android Studio\n\nYou will need to Integrate OpenCV first.\n1. Download OpenCV SDK for Android\n\n2. Unzip downloaded OpenCV SDK\n\n3. Go to Android Studio\n   - **File -\u003e New -\u003e Import Module**\n   \n   - Select **OpenCV-android-sdk/sdk**, click **Open**, name the module as \"opencv\"\n   \n   - Click **Finish**\n   \n   - You will have an exception in the **build.gradle** file\n   \n     ```bash\n     * Exception is:\n     org.gradle.api.GradleScriptException: A problem occurred evaluating project ':openCV'. \u003c81 internal lines\u003e\n     at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:116)\n     at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:42) \u003c82 internal lines\u003e\n     Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin with id 'kotlin-android' not found. \u003c8 internal lines\u003e\n     at build_e4kzq4gccekt1idrn9dr74nup.run(/Users/pawandeepsingh/AndroidStudioProjects/opencv_integrate/openCV/build.grad\n     ... 164 more\n     ```\n     Don't worry. You should have a `build.gradle(:opencv) ` file opened. Just add this code above `apply plugin: '.....'` lines.\n     ```bash\n     plugins {\n        id 'org.jetbrains.kotlin.android' version '1.7.10'\n     }\n     ```\n   - Now sync project with gradle scripts. (It will take some time to download all things needed)\n4. Modify the `compileSdkVersion`, `minSdkVersion` and `targetSdkVersion` in `build.gradle(:opencv)`. Make it compact with module's **build.gradle** settings.\n5. Go to **File -\u003e Project Structure -\u003e Dependencies**, Select **\\\u003cAll Modules\\\u003e**, click **+** to add module dependency.\n   - Click on app\n   - Select the checkbox `opencv`\n   - Click **OK**\n   - Click **Apply** and **OK**\n6. Now you should be able to run and debug the project. Otherwise, go to **Build -\u003e Clean** Project then **Build -\u003e Rebuild Project**.\n\n---\n\nDeveloped with ❤️\u0026☕ by Ke Yan.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x1da9430%2Fcubesolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x1da9430%2Fcubesolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x1da9430%2Fcubesolver/lists"}