[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108924":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":9,"pushedAt":32,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":15,"starSnapshotCount":15,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},108924,"OneOS","fahadalijaved\u002FOneOS","fahadalijaved","Another Android, next to One UI: switch a rooted Samsung Galaxy into another Android system and back, without flashing.",null,"Kotlin",752,102,19,157,0,5,99,470,34,89.97,"Apache License 2.0",false,"main",[25,26,27,28,29,30,31],"android","container","gsi","kernelsu","one-ui","root","samsung","2026-11-23 10:00:56","2026-11-23 20:32:13","\u003Cp align=\"center\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"images\u002Fbanner-dark-2x.png\">\n    \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"images\u002Fbanner-light-2x.png\">\n    \u003Cimg src=\"images\u002Fbanner-light-2x.png\" width=\"100%\" alt=\"OneOS: another Android, next to One UI. Nothing flashed. Switch from an app, come back the same way. A One UI phone and a OneOS foldable, with arrows going both ways.\">\n  \u003C\u002Fpicture>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg alt=\"Status: experimental\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fstatus-experimental-5B3FCB?style=flat-square&labelColor=2B3445\">\n  \u003Cimg alt=\"Android 17\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAndroid-17-1C5FD6?style=flat-square&labelColor=2B3445\">\n  \u003Cimg alt=\"One UI 9\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FOne%20UI-9-1C5FD6?style=flat-square&labelColor=2B3445\">\n  \u003Cimg alt=\"Root: KernelSU\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Froot-KernelSU-1C5FD6?style=flat-square&labelColor=2B3445\">\n\u003C\u002Fp>\n\nOneOS runs a second Android system next to One UI on a rooted Samsung Galaxy\nand switches between the two without flashing anything. One UI stays\ninstalled; the other system lives in a folder on the phone and starts on One\nUI's kernel as a container with its own zygote and system_server. You switch\nfrom the OneOS app and come back with **Back to One UI** (the OneOS app inside\nthe other system) or by holding **Volume Up + Volume Down** for 3 seconds.\n\nOneOS started from [OneLineage](https:\u002F\u002Fgithub.com\u002FWeWaffles\u002FOneLineage) by\nWeWaffles, and builds its guest images with\n[MysticGSI](https:\u002F\u002Fgithub.com\u002FMysticGSI\u002Fmysticgsi). See [Credits](#credits).\n\n> [!WARNING]\n> **Experimental. It can break your phone's data. Do not try this unless you\n> know what you are doing.** OneOS replaces core parts of a running system as\n> root. During development a guest system reached One UI's data and deleted\n> app data and photos, and a guest once took over the phone's lock-screen\n> hardware slot so that One UI could not unlock until a factory reset. Both\n> are guarded against now, but untested phones and images can fail in new\n> ways. **You must back up your accounts and data first, and remove the screen\n> lock (PIN, pattern, password, fingerprint, face) before switching.** Only use\n> a phone you can afford to reset. Nothing here is supported by Samsung,\n> Google or OPPO.\n\n## Status\n\nApp version 0.4.40. Samsung flagships with Snapdragon, plus the first five\nExynos phones and (0.4.33) the first MediaTek phone; root is required (tested with KernelSU; Magisk and APatch are\ndetected but untested).\n\nThe app now uses an adaptive SESL9 card picker, a new OneOS icon, dedicated\nsetup\u002Fupdate and pre-boot checks, and optional verbose entry\u002Freturn screens.\nSee the [UI gallery](docs\u002Fapp\u002Fredesign-gallery.md) for Fold8 cover and inner\nscreen screenshots, and [boot handoff notes](docs\u002Fboot-status.md) for the\ndisplay lifecycle and release packaging requirements.\n\nWhere each system has actually started, on our phones and on testers' (One UI\n9 throughout). What they reported working, item by item, is in\n[docs\u002Fcompatibility.md](docs\u002Fcompatibility.md).\n\n| Guest system | Has run on |\n| --- | --- |\n| Pixel 11 Fold (Android 17) | Galaxy Z Fold8 Ultra (SM-F976B), Z Fold8 (SM-F971B) |\n| ColorOS 17, Find N6 build | Galaxy Z Fold8 Ultra (SM-F976B), Z Fold8 (SM-F971B) |\n| ColorOS 17, Find X9 Ultra CN build | Galaxy S26 Ultra (SM-S948), S25 Ultra (SM-S938), S25 (SM-S931), A57 (SM-A576B) |\n| ColorOS 17, Find X9 Ultra IN (global) build | Galaxy Z Flip5 (SM-F731B) |\n| Infinity-X 4.1 | Galaxy S26 Ultra (SM-S948), S25 Ultra (SM-S938), S25 (SM-S931), S24 Ultra (SM-S928), Z Flip5 (SM-F731B) |\n| Nothing OS 5.0 | Galaxy Z Fold8 Ultra (SM-F976B) |\n\nStarted is not the same as finished: on Infinity-X the reports so far say calls\ndo not work and SMS only sometimes, which is what the IMS switch in Advanced is\nfor (0.4.31, Infinity-X and HyperOS). On the Z Flip5 the camera was broken in\nboth systems; 0.4.31 carries the fix.\n\nUntested profiles, where the app asks you to tick that you know before\nswitching: Galaxy Z Fold8 (SM-F971) and Z Fold7 (SM-F966), Galaxy S26+ (SM-S947),\nS26 (SM-S942, SC-51G), S25+ (SM-S936) and S24 Ultra (SM-S928) with ColorOS; the\nPixel 11 Fold image on the Z Fold8, the Pixel 11 Pro image on the Galaxy S26\nUltra, S26+ and S26, and the Pixel 9 Pro XL image on the Galaxy S25 Ultra, S25,\nS25+ and S24 Ultra (the Pixel 11 images need a newer CPU), and from 0.4.30 also on\nthe Galaxy S23, S23+, Z Flip5, Z Flip7, A57 and (0.4.31) A56; and on every Galaxy S phone above, the Find X9 Ultra IN (global) build\nof ColorOS 17, with Google Play and the Play Store; and on every phone above,\nInfinity-X 4.1 (0.4.27), a custom Android 17 made for the Find X9 Ultra, with\nGoogle Play and Google's apps; and from 0.4.31, on every phone above, HyperOS,\nXiaomi's system from the Xiaomi 18 Fold, made for the Galaxy Z Fold8 Ultra and Z\nFold8 (its cover screen layout runs on the cover; other phones may try it too,\nwhere it runs as a phone). Galaxy S23 (SM-S911),\nS23+ (SM-S916), from 0.4.29 the Galaxy Z Flip5 (SM-F731, used as a phone on\nthe main screen) and from 0.4.40 the S23 Ultra (SM-S918) are accepted for testing only:\ntheir vendor software is too old and the system will most likely not start\n(One UI comes back by itself; please share the session logs).\n\nExynos, first runs: the Galaxy S26+ with Exynos (SM-S947B, m2s) with both\nFind X9 Ultra builds and the Pixel 11 Pro image, the Galaxy Z Flip7\n(SM-F766, Exynos 2500) with both Find X9 Ultra builds, used as a phone on the\nmain screen (no cover screen layout yet), from 0.4.29 the Galaxy A57\n(SM-A576, a57x) with both Find X9 Ultra builds, the first A-series phone, and\nfrom 0.4.31 its smaller sibling the Galaxy A56 (SM-A566, a56x), with the same\nimages, and from 0.4.40 the Galaxy S24 with Exynos 2400 (SM-S921, e1s) with the S23s'\nimages. The Galaxy Z Flip6 (SM-F741, Snapdragon 8 Gen 3 like the S24 Ultra) takes\nthe S24 Ultra's images but HyperOS from 0.4.40, untested, used as a phone on the main screen. The\nS26+ and Z Flip7 test sessions fixed the first Exynos problems (the phone\nrestarting after the switch); every system on Exynos is still untested. Each\nof them also offers Infinity-X.\n\nRelease notes are in [changelog.md](changelog.md).\n\nKnown open issues for each system are in `docs\u002Fpixel-guest.md` and\n`docs\u002Fcoloros-on-fold.md`.\n\nEverything else (other Exynos phones, other models, other images, other\nAndroid versions) is refused by the app's compatibility checks.\n\n## Your phone is not listed?\n\nRun **OneOS Probe** on it. It is a separate read-only app: it changes nothing,\nand it strips the IMEI, phone numbers and Wi-Fi names from its report (it\nneeds root to read the system). Tap **Run tests**, then **Send to the OneOS\nteam** (from 0.4.29), or **Share** and post the zip with your phone model in\n**Phone reports** in the [OneOS Telegram group](https:\u002F\u002Ft.me\u002FTheoneOS). New releases are announced\nthere too. Probe is in the same download folder as the app (see the latest\nrelease).\n\n## Getting started\n\n**Before anything else (do not skip these):**\n\n1. **Use a tested phone.** The systems above have only been tested on the\n   phones listed next to them. On any other phone the app warns you, and things\n   may not work.\n2. **Back up your accounts and data.** Samsung Cloud, Google and Smart Switch,\n   plus photos and anything else you can't lose. OneOS guards One UI's data,\n   but it is experimental.\n3. **Remove your screen lock.** Settings › Lock screen › Screen lock type ›\n   **None** or **Swipe**: no PIN, pattern, password, fingerprint or face. If\n   something goes wrong and the phone boot-loops, a locked phone may need a\n   factory reset to recover. OneOS will not switch while a lock is set.\n   From 0.4.32 Advanced has a switch, under **Risky**, to do it anyway: your\n   One UI apps and photos are encrypted behind that lock, so a session that\n   leaves the phone unable to accept it is a factory reset, not an\n   inconvenience. Leave it off unless you have a reason and accept that.\n4. **Root, battery and heat.** The phone must be rooted (tested with KernelSU),\n   charged to at least 30 % and not hot (under 42 °C).\n\n**Then:**\n\n5. Install the OneOS app made for your phone's series and allow it in your\n   root manager. From 0.4.25 there are three downloads, each about half the\n   size of the old single app:\n   `OneOS-\u003Cversion>-fold.apk` (Galaxy Z Fold8 Ultra, Z Fold8, Z Fold7, Z Fold6, Z Fold5),\n   `OneOS-\u003Cversion>-s26.apk` (Galaxy S26 Ultra, S26+, S26, Z Flip8) and\n   `OneOS-\u003Cversion>-s25.apk` (Galaxy S25 Ultra, S25+, S25, S24 Ultra, S24, S23 Ultra, S23,\n   S23+, Z Flip7, Z Flip6, Z Flip5, A57, A56, A36, A07). Installed the wrong one? OneOS tells you which file your\n   phone needs.\n6. In OneOS open **Systems**, tap **Download** on the system made for your\n   phone and download it, on Wi-Fi (3.3 to 5.9 GB).\n7. Back in OneOS tap **I have the file**, pick the download, then **Set up**.\n   Setup takes about 15 minutes: keep OneOS open and the phone plugged in. One\n   UI keeps working meanwhile.\n8. Tap **Switch**. To come back, tap **Back to One UI** in the other system\n   (usually no restart), or hold **Volume Up + Volume Down** for 3 seconds.\n   Stuck on the logo? Hold\n   **Power + Volume Down** to restart into One UI.\n\nIf your root does not survive a restart, activate it again after you come back.\n\n**Tell us how it went** (from 0.4.29): after a session, open **Last session**\nand tap **Send to the OneOS team**. Say whether the system started and tick\nwhat worked and what had problems (Wi-Fi, calls, Bluetooth, camera and so on);\na note and your Telegram name are optional. By default the app sends the short\nlog (the first minutes after the switch and the last two before it ended); it\nsends the whole session's log when you tick a problem or turn it on. The logs\nare the same file **Share** sends, with personal data already removed, and the\nteam keeps reports for 30 days. **Share** and **Save** are still there if\nsending does not work. What everyone reported is counted in\n[docs\u002Fcompatibility.md](docs\u002Fcompatibility.md): per OneOS version, phone and\nsystem, how many reports started and what worked (answers only: no names,\nnotes or phone details).\n\nYou can tick what works while you are still in the other system (from\n0.4.30): open the OneOS app there and tap **How's it going?**. Back in One UI,\n**Send to the OneOS team** has your answers filled in.\n\n**More than one system** (from 0.4.30): when you set up another system, the\none you had stays on the phone as a copy, with its apps and data. Home lists\neach of them as **Switch to \u003Csystem>**. One tap puts it back (the system set\nup now is kept the same way), updates OneOS's files in it if they are older\nthan the app (about 2 minutes) and opens the switch. A copy you no longer\nneed can be deleted there too, or in **Advanced › Free up space**.\n\n**Removing OneOS:** in OneOS open **Advanced › Remove OneOS data**. It deletes\neverything OneOS put on the phone: the system you set up (with the apps and\naccounts in it), older copies and the session logs. It checks first that\nnothing of a session is still connected to One UI, and refuses otherwise. One\nUI and its data are not touched, and downloaded system files stay where you\nsaved them. Then uninstall the app as usual. Without the app, the same cleanup\nruns from a root shell such as Termux: `sh remove-oneos-data.sh` (from\n`scripts\u002F`; it asks su for root, and `--dry-run` shows first what it would\ndelete).\n\n## How it works\n\n1. On a build machine, an OEM firmware image is turned into a system image\n   (with MysticGSI, outside this repository), and `scripts\u002Fmake-overlays.sh`\n   patches its framework (`switcher\u002Fpatches\u002F`) so it can run as a guest next to\n   One UI.\n2. The app checks the phone and the image (size and SHA-256 against its own\n   table), then, as root, stages the image and its patched files in\n   `\u002Fdata\u002Flocal\u002Ftmp\u002Foneos`.\n3. `switcher\u002Fassets\u002Foneos_switch.sh` stops One UI's zygote and system_server\n   (the kernel, vendor services and radio keep running) and `guest_prepare.sh`\n   \u002F `guest_start.sh` start the guest's own framework in a mount namespace whose\n   `\u002Fsystem` is the image and whose `\u002Fdata` is the stage.\n4. Guards keep the guest away from One UI's data and keys: its own vold,\n   storage and installd guards, no weaver or gatekeeper writes, no new users,\n   app ids of its own (`docs\u002Fapp\u002Fpatch-catalog.md`).\n5. `return_to_oneui.sh` stops the guest and gives the phone back to One UI, in\n   place when it can and by a reboot otherwise (`docs\u002Finplace-return.md`).\n\n## Repository\n\n| Path | What it is |\n| --- | --- |\n| `app-android\u002F` | The OneOS app and OneOS Probe (Kotlin, One UI look through SESL), the in-guest Back to One UI app, and their tests |\n| `switcher\u002Fassets\u002F` | The session scripts the app ships: switch, prepare, start, return, bridges |\n| `switcher\u002Fpatches\u002F` | Framework patchers (Python and smali) applied by `make-overlays.sh`, and Samsung's installd interface table |\n| `switcher\u002Foverlays\u002F`, `switcher\u002Fnative\u002F` | Runtime resource overlays, and the source of the guest zygote launcher (`zygote_exec`) |\n| `scripts\u002F` | Build-machine tools: the overlay build, adb deploy for development, log collection |\n| `docs\u002F` | Design notes, the patch catalog, and what each test session showed |\n\n## Building from source\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002Ffahadalijaved\u002FOneOS.git\ncd OneOS\u002Fapp-android\n.\u002Fgradlew assembleProbeDebug     # OneOS Probe: needs nothing outside this repository\n.\u002Fgradlew test                   # unit tests (dash or busybox for the root script tests)\n```\n\nRequirements: JDK 21, the Android SDK with platform `android-37`\n(`ANDROID_HOME` or `sdk.dir` in `local.properties`), and internet access to\nGoogle Maven and Maven Central. Details: `app-android\u002FREADME.md`.\n\nThe full OneOS app (`assembleFullDebug`, `assembleFullRelease`) also packs the\npackage sets: the files OneOS patches out of each built system image, from\n`..\u002Fout\u002Foverlays*`. They are not in this repository. Building the guest images\nthemselves is not part of this repository either (OneOS's images are built with\nMysticGSI, see Credits). What is here is how OneOS patches a built image:\n\n```sh\nAPKTOOL=\u002Fpath\u002Fto\u002Fapktool.jar EXTRACT_EROFS=\u002Fpath\u002Fto\u002Fextract.erofs \\\n    scripts\u002Fmake-overlays.sh \u003Csystem.img> out\u002Foverlays   # the set for that image\n```\n\nThe build fails unless every file matches `app-android\u002Fpackages\u002F\u003Cset>.sha256`\nexactly, so the sets must come from the same firmware builds. Release builds\nare signed with a key from `~\u002F.oneos-release\u002Fkeystore.properties`\n(`storeFile`, `storePassword`, `keyAlias`, `keyPassword`); without it the\nrelease packaging stops. Debug builds use your machine's debug key.\n\n## Where the images come from\n\nThis repository does not host system images, OEM firmware or the patched\nframework files built from them, and GitHub releases never carry them. They\ncontain Samsung's, Google's or OPPO's code. The guest images are built from\nthe vendor's own firmware outside this repository, and the app accepts only\nthe builds whose size and SHA-256 it knows\n(`app-android\u002Fcore\u002Fmodel\u002Fsrc\u002Fmain\u002Fkotlin\u002Fcom\u002Ffahadali\u002Foneos\u002Fcore\u002Fmodel\u002FImages.kt`).\nThe `firmware\u002F` and `out\u002F` folders are ignored by git for that reason.\n\n## License\n\nOneOS is licensed under the [Apache License 2.0](LICENSE). Parts of this\nrepository come from other projects and keep their own terms: the\nOneLineage-derived session scripts (published with WeWaffles' permission). See\n[NOTICE](NOTICE) and [CREDITS.md](CREDITS.md).\n\n## Credits\n\n- **[OneLineage](https:\u002F\u002Fgithub.com\u002FWeWaffles\u002FOneLineage)** by **WeWaffles**:\n  the container hot-switch OneOS is built on. OneOS's session scripts started\n  from OneLineage's, and WeWaffles gave permission to publish this work on top\n  of it, with credit here and in the app.\n- **[MysticGSI](https:\u002F\u002Fgithub.com\u002FMysticGSI\u002Fmysticgsi)** (The MysticGSI\n  Authors, Apache-2.0): builds the guest images OneOS runs (not part of this\n  repository). MysticGSI includes TrebleDroid work by Pierre-Hugues Husson\n  (phh) and contributors.\n- **[Project Infinity-X](https:\u002F\u002Fgithub.com\u002FProjectInfinity-X)** and its Find X9\n  Ultra build ([X9UInfinityX](https:\u002F\u002Fgithub.com\u002FX9UInfinityX)): the Infinity-X\n  system OneOS runs from 0.4.27, unchanged, with OneOS's own framework patches.\n- **[OneUIProject](https:\u002F\u002Fgithub.com\u002FOneUIProject)**: SESL, oneui-design and\n  oneui-icons (MIT) give the app its One UI look.\n- **[Josh Skinner (@thatjoshguy67)](https:\u002F\u002Fgithub.com\u002Fthatjoshguy67)**: Galaxy\n  Z Fold8 support ([pull request #1](https:\u002F\u002Fgithub.com\u002Ffahadalijaved\u002FOneOS\u002Fpull\u002F1)):\n  the Fold8's Find N6 ColorOS set, its cover display, Quick Settings, AOD, widgets,\n  Pocket Studio and Google fixes, and Samsung's hinge sensor for half-folded\n  postures and the open\u002Fclose animations in ColorOS and Pixel, which the Z Fold8\n  Ultra uses too.\n- smali\u002Fdexlib2, AndroidX, Kotlin, Guava, ZXing and others: the full list with\n  licenses is in [CREDITS.md](CREDITS.md).\n\nNot affiliated with Samsung, Google, OPPO, OnePlus or Project Infinity-X. Galaxy and One UI are\ntrademarks of Samsung Electronics; Android and Pixel of Google LLC; ColorOS of\nOPPO.\n\n## Contributor patch channels\n\nDevice-scoped experimental patch sources can be registered alongside the stable\nOneOS patches. See the [patch authoring and publishing guide](docs\u002Ffold8-patch-channels.md)\nfor supported file schemas, source registration, build examples, testing and rollback.\n","OneOS 是一个在已 Root 的三星 Galaxy 设备上运行第二套 Android 系统（非 One UI）的容器化方案，无需刷机即可在 One UI 与 OneOS 之间双向切换。其核心技术基于 KernelSU root 权限，在原系统内以容器方式启动独立的 GSI（Generic System Image）实例，拥有隔离的 zygote 和 system_server 进程；支持 Android 17 与 One UI 9，通过应用或物理按键组合触发切换。适用于希望临时体验不同 Android 版本（如 AOSP、LineageOS 风格）或折叠屏定制界面、同时保留原厂 One UI 系统的高级用户，需承担实验性风险。",2,"2026-11-24 04:35:19","CREATED_QUERY"]