Add Cromite Android extension support patches to Thorium#1191
Add Cromite Android extension support patches to Thorium#1191abue-ammar wants to merge 6 commits into
Conversation
Agent-Logs-Url: https://github.com/abue-ammar/thorium/sessions/99abe538-fc80-477b-a14d-c8cb56025629 Co-authored-by: abue-ammar <14371506+abue-ammar@users.noreply.github.com>
…on-patch Add Cromite Android extension support patches to Thorium setup
|
Thank you for your contribution. Have you compiled and tested it? Also, Cromite's version is higher than Thorium's, so I think it's highly unlikely that Thorium can directly apply this patch. |
gz83
left a comment
There was a problem hiding this comment.
I'll set it to -1 for now, until it's fully compiled, tested, and reviewed.
i can confirm it needs chrome v143+. and i haven't compiled it yet because my machine isn't capable |
|
If it's only available on M143+ versions, then Thorium cannot use it yet. In addition, Cromite is not the only branch that has introduced extensions support for the Android version of Chromium; as far as I know, there should be other branches that have done so as well. I think further evaluation is needed before reviewing this patch. |
i do not think there is any other branch attatched to it. the patch actually bypass this for android. source: https://www.androidauthority.com/try-new-chrome-for-android-with-extensions-3569268 and if download and extract v143+ you will see chrome desktop android build and the patch is just bypass that as much i have investigated https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=AndroidDesktop_arm64%2F |
|
The other branches I mentioned have already been mentioned in Alex313031/Thorium-Android#12 (comment). Including cromite, there should be at least 4 branches with extension support. Alex holds most of the decision-making power in the Thorium project; we need to wait for him to make the final decision on which path to take. |
| - Made by uazo | ||
|
|
||
| Experimental Android Extension Support Patch > https://github.com/uazo/cromite/blob/master/build/patches/Experimental-support-for-extensions-on-Android.patch | ||
| - Adapted for Thorium from Cromite patch |
There was a problem hiding this comment.
I think the original author should also be credited here.
| - Adapted for Thorium from Cromite patch | ||
|
|
||
| Enable Extensions in Incognito on Android Patch > https://github.com/uazo/cromite/blob/master/build/patches/Enable-extension-in-incognito.patch | ||
| - Adapted for Thorium from Cromite patch |
| Date: Thu, 6 Nov 2025 13:21:24 +0000 | ||
| Subject: Experimental support for extensions on Android | ||
|
|
||
| Enable experimental support for extensions in Android. |
There was a problem hiding this comment.
After quickly reviewing the patch, I believe some code still needs modification, such as cromite->thorium.
Additionally, it's necessary to check whether the compiler likes this patch.
| cp -v other/win_updater.patch ${CR_SRC_DIR}/ && | ||
| cp -v other/keyboard_shortcuts.patch ${CR_SRC_DIR}/ && | ||
| cp -v other/multi-language-translate.patch ${CR_SRC_DIR}/ && | ||
| cp -v other/enable-extensions-android-thorium.patch ${CR_SRC_DIR}/ && |
There was a problem hiding this comment.
I believe these two patches should only be applied if --android is passed.
There was a problem hiding this comment.
fixed put it under copyAndroid() so that when only --android is passed it will be applied
|
I think user script support should also be implemented as soon as possible if we continue to push for extension support. |
Updated author attribution for several patches.
…te refs Agent-Logs-Url: https://github.com/abue-ammar/thorium/sessions/e5eb73d6-f391-4f76-867f-dab18286ca22 Co-authored-by: abue-ammar <14371506+abue-ammar@users.noreply.github.com>
…flow Agent-Logs-Url: https://github.com/abue-ammar/thorium/sessions/e5eb73d6-f391-4f76-867f-dab18286ca22 Co-authored-by: abue-ammar <14371506+abue-ammar@users.noreply.github.com>
…cation Fix Android-only patch application and rename Cromite refs in Thorium patch
it is possible to add userscript. but for now extension support is very important. i think we should upgrade the chromium version and see how it goes. i think it should be fine since thorium does use some cromite patch. |
Don't hold your breath. It's already heen 3 years... |
|
Thank you for editing your PR, even though it was generated using AI. Additionally, I think we need to try regenerating the patch based on version M138, or wait until Thorium is based on version M144 LTS before continuing this work. |
you are welcome |
Summary
Integrate Cromite's Android extension support into Thorium's patch workflow and documentation.
Changes
other/enable-extensions-android-thorium.patchadapted from Cromite's experimental Android extension support patch.other/enable-extension-incognito-thorium.patchadapted from Cromite's Android incognito extension support patch.setup.shto copy and apply both new patches duringpatchThor().docs/PATCHES.mdwith entries for both newly integrated patches.Notes
Validation
bash -n setup.shbash -n build_android.sh