Skip to content

Commit

Permalink
Merge branch 'main-14' of https://github.com/Archfx/duo-de into main-14
Browse files Browse the repository at this point in the history
  • Loading branch information
Archfx committed Aug 15, 2024
2 parents a4cf307 + f2d276a commit 8bec1d8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Sync
name: TrebleDroid-Sync

on:
workflow_dispatch:
Expand Down Expand Up @@ -31,13 +31,21 @@ jobs:
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Commit changes
id: commit_changes
run: |
git add .
git commit -m "feat: sync with latest sources of TrebleDroid [via Ponces]"
if git diff-index --quiet HEAD; then
echo "No changes to commit"
echo "changes=false" >> $GITHUB_OUTPUT
else
git commit -m "feat: sync with latest sources of TrebleDroid [via Ponces]"
echo "changes=true" >> $GITHUB_OUTPUT
fi
- name: Create Pull Request
id: create_pr
uses: peter-evans/create-pull-request@v5
if: steps.commit_changes.outputs.changes == 'true'
with:
commit-message: "feat: sync with latest sources of TrebleDroid [via Ponces]"
branch: sync-bot
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2023-2024 ponces
Copyright (c) 2024 Aruna Jayasnea | අරුණ

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@



This is a GSI variant rom build targetted for Microsoft Surface Duo with the intention of using the Surface Duo as a desktop environment using experimental floating window features. This build combines gapps/vanila variants of the GSI rom from [ponces](https://github.com/ponces/treble_aosp) with desktop mode enabled + various tweaks to make it nice and smooth with the help of [thain](https://github.com/thai-ng) tweaks. All credits go to respective developers. Desktop mode can be disabled from the ``home settings``.
This is a GSI variant rom build targetted for Microsoft Surface Duo with the intention of using the Surface Duo as a desktop environment using experimental floating window features. This build combines gapps/vanila variants of the GSI rom from [ponces](https://github.com/ponces/treble_aosp) with desktop mode enabled + various tweaks to make it nice and smooth with the help of [thain](https://github.com/thai-ng) tweaks. All credits go to respective developers. Desktop mode can be disabled from the ``home settings``, if required. The latest version is stable and secure for daily usage.

![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/archfx/duo-de/total?style=for-the-badge&label=duo-de%20Downloads&color=%2333cc33)
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/archfx/duo-de/sync.yml?style=for-the-badge&label=TrebleDroid%20Sync)


<p align="center">
<img src="images/src-duo.png" alt="drawing" style="width:600px;"/> </p>

## Posture Engine

Thanks to [thain](https://github.com/thai-ng), both duo1 and duo2 react to various postures and the hinge gaps can be enabled/disabled through the treble app.
With the posture processor engine, both duo1 and duo2 react to various postures. Specifically, the touch configurations and display settings will toggle between left-screen phone mode, right-screen phone mode, and tablet mode based on the hinge position. The hinge gaps can be enabled/disabled through the treble app.
<p align="center">
<img src="images/duo-1.png" alt="drawing" style="height:300px;" />
<img src="images/duo-2.png" alt="drawing" style="height:300px;"/> </p>
Expand Down Expand Up @@ -51,7 +53,8 @@ adb reboot fastboot
fastboot flash system aosp-arm64-ab-gapps-14.0-<<version>>.img
fastboot reboot
```
4. Once you flash a **duo-de** version using the above steps, subsequent updates will be received using OTA. You can check updates using ``settings -> system -> system updates``.
4. Perform a manual reboot once the device is booted to the home screen so that first-time configurations are applied.
5. Once you flash a **duo-de** version using the above steps, subsequent updates will be received using OTA. You can check updates using ``settings -> system -> system updates``.
## FAQ
- I flashed the ROM, however, the windows are not floating even if the desktop mode is enabled.
Expand All @@ -60,12 +63,12 @@ fastboot reboot
> - Enable freeform windows
> - Enable non-resizable in multi-window
>
> This issue will be fixed in subsequent releases after `v2024.07.09`
> This issue is fixed in subsequent releases after `v2024.07.09`
## Issues
Any issues, please
[open an issue](https://github.com/Archfx/duo-de/issues/new/choose) with a detailed description.
[open an issue](https://github.com/Archfx/duo-de/issues/new/choose) with a detailed description. Please use the [discussion](https://github.com/Archfx/duo-de/discussions/new/choose) section for any questions regarding flashing and similar stuff.
## Credits
These people have helped this project in some way or another, so they should be the ones who receive all the credit:
Expand Down

0 comments on commit 8bec1d8

Please sign in to comment.