So, everybody who wants to use substratum on touchwiz is required to buy an addon from the google play store for two dollars. I don't like that. The themers don't benefit from it, nor was samsung support a huge problem to get going. I patched out the requirement for it, and am uploading the apk for it.
This does NOT:
-Remove any piracy checks
-Support piracy
This DOES:
-Allow you to theme your Samsung without the two dollar addon
Now before people get all up in arms about this, I'm legally able to do this. The code is released under GNU GPLv3, and I can make modifications all I'd like as long as I share the source. (Here, for reference)
You'll need to uninstall the default substratum app and replace it with mine, other than that, it's the same app. As Substratum updates, I will too.
Source: Mod edit: link removed
APK: Mod edit: link removed
Looks good, Thanks for changes.
Does it conflict with Samsung themes?
it work in legacy mode?
» [android]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/android.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [android]: Installation of "android" has failed.
» [com.samsung.android.lool]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.samsung.android.lool.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [com.samsung.android.lool]: Installation of "com.samsung.android.lool" has failed.
» [com.android.settings]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.android.settings.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [com.android.settings]: Installation of "com.android.settings" has failed.
» [com.samsung.android.smartmirroring]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.samsung.android.smartmirroring.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [com.samsung.android.smartmirroring]: Installation of "com.samsung.android.smartmirroring" has failed.
» [com.samsung.android.app.scrollcapture]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.samsung.android.app.scrollcapture.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [com.samsung.android.app.scrollcapture]: Installation of "com.samsung.android.app.scrollcapture" has failed.
» [com.android.systemui]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.android.systemui.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [com.android.systemui]: Installation of "com.android.systemui" has failed.
» [com.android.systemui.navbars]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.android.systemui.navbars.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [com.android.systemui.navbars]: Installation of "com.android.systemui.navbars" has failed.
» [com.android.systemui.tiles]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.android.systemui.tiles.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [com.android.systemui.tiles]: Installation of "com.android.systemui.tiles" has failed.
» [com.android.systemui.statusbars]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.android.systemui.statusbars.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [com.android.systemui.statusbars]: Installation of "com.android.systemui.statusbars" has failed.
---------- Post added at 08:45 AM ---------- Previous post was at 08:45 AM ----------
Getting this error
---------- Post added at 09:06 AM ---------- Previous post was at 08:45 AM ----------
Solved:
Enabled modify settings in app settings.
---------- Post added at 09:06 AM ---------- Previous post was at 09:06 AM ----------
Awesome work
NEW RELEASE: Mod edit: link removed
Since Sub's dev said this, I had to patch again to make it look like it has TouchWiz addon installed
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now it looks like this:
Drzhivagolikesandroid said:
» [android]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/android.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [android]: Installation of "android" has failed.
» [com.samsung.android.lool]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.samsung.android.lool.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [com.samsung.android.lool]: Installation of "com.samsung.android.lool" has failed.
» [com.android.settings]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.android.settings.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [com.android.settings]: Installation of "com.android.settings" has failed.
» [com.samsung.android.smartmirroring]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.samsung.android.smartmirroring.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [com.samsung.android.smartmirroring]: Installation of "com.samsung.android.smartmirroring" has failed.
» [com.samsung.android.app.scrollcapture]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.samsung.android.app.scrollcapture.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [com.samsung.android.app.scrollcapture]: Installation of "com.samsung.android.app.scrollcapture" has failed.
» [com.android.systemui]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.android.systemui.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [com.android.systemui]: Installation of "com.android.systemui" has failed.
» [com.android.systemui.navbars]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.android.systemui.navbars.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [com.android.systemui.navbars]: Installation of "com.android.systemui.navbars" has failed.
» [com.android.systemui.tiles]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.android.systemui.tiles.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [com.android.systemui.tiles]: Installation of "com.android.systemui.tiles" has failed.
» [com.android.systemui.statusbars]: APK could not be signed. java.io.FileNotFoundException: /storage/emulated/0/.substratum/com.android.systemui.statusbars.StatusBarIconsforSamsung-signed.apk: open failed: ENOENT (No such file or directory)
» [com.android.systemui.statusbars]: Installation of "com.android.systemui.statusbars" has failed.
---------- Post added at 08:45 AM ---------- Previous post was at 08:45 AM ----------
Getting this error
---------- Post added at 09:06 AM ---------- Previous post was at 08:45 AM ----------
Solved:
Enabled modify settings in app settings.
---------- Post added at 09:06 AM ---------- Previous post was at 09:06 AM ----------
Awesome work
Click to expand...
Click to collapse
How you solved it pal?
USA-RedDragon said:
NEW RELEASE: Mod edit: link removed
Since Sub's dev said this, I had to patch again to make it look like it has TouchWiz addon
Click to expand...
Click to collapse
Nice one
I have actually purchased Sungstratum but I completely agree with you as the Themers dont receive any payment from this.
Also, why only target Samsung users?
Just bought it yesterday ?
hosseinito said:
How you solved it pal?
Click to expand...
Click to collapse
Go to the App Info for the app and change the permissions to allow storage and allow overlays etc.
richierich said:
Go to the App Info for the app and change the permissions to allow storage and allow overlays etc.
Click to expand...
Click to collapse
Yeah. Thanx mate
i cannot install any themes. it keeps wanting me to update the apps apk one by one and then nothing happens
Welldone to the Dev, its ridiculous that the devs these days are earning tens of thousands of dollars on something open source, and targeting a specific set of devices!
Good on you
It's one thing to take GPL-licensed work and remove the requirement for the add-on app. It's entirely another to make it look like it's an "official" release so as to try and get support from the substratum team, when they specifically said they won't support modified builds.
Thread closed.
Please do not contact the OP regarding the patched version, as he will not be distributing it.
Related
When I try to sign an apk compiled with smali i get the following error:
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native methodat java.util.zip.ZipFile.<init>(Zipfile.java:131)at java.util.zip.JarFile.<init>(JarFile.java:150)at java.util.zip.JarFile.<init>(JarFile.java:129)at com.android.signapk.SignApk.main(SignApk.java:320)any ideas?
*sorry for my eng*
Hello guys, i have installed substratum and the moment of install have this error:
» [com.android.phone]: Failed to generate resource table for split ''
» [com.android.phone]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/values/styles.xml:29: error: Error: No resource found that matches the given name (at 'android:actionBarStyle' with value '@*com.android.phone:style/TelephonyActionBarStyle').
» [com.android.phone]: Installation of "com.android.phone" has failed.
I've never seemed to be able to install a theme (in this case pitchblack) can anyone help me ? heres the log,
» [org.adaway]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [org.adaway]: Installation of "org.adaway" has failed.
» [android]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [android]: Installation of "android" has failed.
» [com.android.bluetooth]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.android.bluetooth]: Installation of "com.android.bluetooth" has failed.
» [com.google.android.calendar]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.google.android.calendar]: Installation of "com.google.android.calendar" has failed.
» [com.android.server.telecom]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.android.server.telecom]: Installation of "com.android.server.telecom" has failed.
» [com.android.chrome]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.android.chrome]: Installation of "com.android.chrome" has failed.
» [com.google.android.contacts]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.google.android.contacts]: Installation of "com.google.android.contacts" has failed.
» [com.android.contacts]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.android.contacts]: Installation of "com.android.contacts" has failed.
» [com.oneplus.security]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.oneplus.security]: Installation of "com.oneplus.security" has failed.
» [com.google.android.apps.docs]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.google.android.apps.docs]: Installation of "com.google.android.apps.docs" has failed.
» [com.android.emergency]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.android.emergency]: Installation of "com.android.emergency" has failed.
» [com.android.documentsui]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.android.documentsui]: Installation of "com.android.documentsui" has failed.
» [com.oneplus.gallery]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.oneplus.gallery]: Installation of "com.oneplus.gallery" has failed.
» [com.google.android.inputmethod.latin]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.google.android.inputmethod.latin]: Installation of "com.google.android.inputmethod.latin" has failed.
» [com.google.android.gm]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.google.android.gm]: Installation of "com.google.android.gm" has failed.
» [com.google.android.googlequicksearchbox]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.google.android.googlequicksearchbox]: Installation of "com.google.android.googlequicksearchbox" has failed.
» [com.android.vending]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.android.vending]: Installation of "com.android.vending" has failed.
» [com.google.android.gms]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.google.android.gms]: Installation of "com.google.android.gms" has failed.
» [com.google.android.tts]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.google.android.tts]: Installation of "com.google.android.tts" has failed.
» [com.google.android.apps.plus]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.google.android.apps.plus]: Installation of "com.google.android.apps.plus" has failed.
» [com.instagram.android]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.instagram.android]: Installation of "com.instagram.android" has failed.
» [com.topjohnwu.magisk]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.topjohnwu.magisk]: Installation of "com.topjohnwu.magisk" has failed.
» [com.android.providers.media]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.android.providers.media]: Installation of "com.android.providers.media" has failed.
» [com.android.cellbroadcastreceiver]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.android.cellbroadcastreceiver]: Installation of "com.android.cellbroadcastreceiver" has failed.
» [com.teslacoilsw.launcher]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.teslacoilsw.launcher]: Installation of "com.teslacoilsw.launcher" has failed.
» [net.oneplus.launcher]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [net.oneplus.launcher]: Installation of "net.oneplus.launcher" has failed.
» [com.microsoft.office.outlook]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.microsoft.office.outlook]: Installation of "com.microsoft.office.outlook" has failed.
» [com.google.android.packageinstaller]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.google.android.packageinstaller]: Installation of "com.google.android.packageinstaller" has failed.
» [com.android.dialer]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.android.dialer]: Installation of "com.android.dialer" has failed.
» [com.google.android.dialer]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.google.android.dialer]: Installation of "com.google.android.dialer" has failed.
» [com.android.phone]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.android.phone]: Installation of "com.android.phone" has failed.
» [com.google.android.apps.photos]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.google.android.apps.photos]: Installation of "com.google.android.apps.photos" has failed.
» [com.android.settings]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.android.settings]: Installation of "com.android.settings" has failed.
» [com.spotify.music]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.spotify.music]: Installation of "com.spotify.music" has failed.
» [com.android.storagemanager]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.android.storagemanager]: Installation of "com.android.storagemanager" has failed.
» [com.android.systemui]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.android.systemui]: Installation of "com.android.systemui" has failed.
» [com.android.systemui.navbars]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.android.systemui.navbars]: Installation of "com.android.systemui.navbars" has failed.
» [com.android.systemui.statusbars]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.android.systemui.statusbars]: Installation of "com.android.systemui.statusbars" has failed.
» [com.google.android.apps.translate]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.google.android.apps.translate]: Installation of "com.google.android.apps.translate" has failed.
» [com.twitter.android]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.twitter.android]: Installation of "com.twitter.android" has failed.
» [com.google.android.apps.wallpaper]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.google.android.apps.wallpaper]: Installation of "com.google.android.apps.wallpaper" has failed.
» [com.whatsapp]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.whatsapp]: Installation of "com.whatsapp" has failed.
» [com.xda.labs.play]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.xda.labs.play]: Installation of "com.xda.labs.play" has failed.
» [com.google.android.youtube]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.google.android.youtube]: Installation of "com.google.android.youtube" has failed.
» [com.ebay.mobile]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.ebay.mobile]: Installation of "com.ebay.mobile" has failed.
» [projekt.substratum]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [projekt.substratum]: Installation of "projekt.substratum" has failed.
Click to expand...
Click to collapse
any advice or help would be great!
blackcell1 said:
I've never seemed to be able to install a theme (in this case pitchblack) can anyone help me ? heres the log,
any advice or help would be great!
Click to expand...
Click to collapse
You didn't pick a version of Android at the top dropdown
nicholaschum said:
You didn't pick a version of Android at the top dropdown
Click to expand...
Click to collapse
how stupid of me, thanks dude.
I'm always getting this error when i tried to install a substratum theme what could be wrong?
» [com.android.systemui]: Overlay APK creation has failed!
» [com.android.systemui]: Installation of "com.android.systemui" has failed.
My android version is 7.0
Device is Itel p31
I'm on my stock ROM, and I have root with Magisk. I installed Substratum hoping to change the UI of the ColorOS, but every time I try to compile a theme, I get these errors:
Code:
» [com.android.systemui]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//type3_Android_9_0/layout/qs_panel.xml:24: error: Error: No resource found that matches the given name (at 'id' with value '@*com.android.systemui:id/quick_settings_background').
» [com.android.systemui]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//type3_Android_9_0/layout/qs_panel.xml:33: error: Error: No resource found that matches the given name (at 'id' with value '@*com.android.systemui:id/quick_settings_status_bar_background').
» [com.android.systemui]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//type3_Android_9_0/layout/qs_panel.xml:43: error: Error: No resource found that matches the given name (at 'id' with value '@*com.android.systemui:id/quick_settings_gradient_view').
» [com.android.systemui]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//type3_Android_9_0/layout/qs_panel.xml:53: error: Error: No resource found that matches the given name (at 'accessibilityTraversalBefore' with value '@*com.android.systemui:id/qs_carrier_text').
» [com.android.systemui]: Installation of "com.android.systemui" has failed.
Substratum kept crashing when I first installed it, so I flashed the Legacy Rescue zip, and after that it didn't crash, but now I'm stuck at compiling. Please help!
UPDATE: I got Substratum to compile, but now I can't apply them, even after rebooting.
Any pointers? This is getting frustrating now.