yashsingh1/xdaforums huggingface dataset:
[prjkt.io] merkurial:
Self contained script to run on boot and not need a pc

Hi,

I've modified the linux adb script to be run by magisk, I don't have init.d support on my P20 Pro, so I placed the script on

/magisk/.core/service.d

I also

ln -s /magisk/.core/service.d /system/etc/init.d

to make it easier to remember.

The sleep timer might need to be increased, I tried to wait for projekt.substratum to be running but it was not enough, so unless someone can shed light on what other process to wait for, the sleep will do.

Also, this should also be launchable from Tasker or some tool alike.

So download the script, rename it to start_andromeda-android.sh, and

adb push start_andromeda-android.sh /magisk/.core/service.d/
adb shell
su
chown 0:0 /magisk/.core/service.d/start_andromeda-android.sh
chmod 0755 /magisk/.core/service.d/start_andromeda-android.sh

#### optional, if your phone lacks /system/etc/init.d support, and you want to simulate it with magisk
# mount -o remount,rw /system
## if /system/etc/init.d exists and is not functional, like on my P20 Pro, just do
# rm -fr /system/etc/init.d
# ln -s /magisk/.core/service.d /system/etc/init.d
# mount -o remount,ro /system

# start_andromeda-android.sh

#!/system/bin/sh

sleep 15

# Let's first grab the location where Andromeda is installed
pkg=$(pm path projekt.andromeda)

# Due to the way the output is formatted, we have to strip 10 chars at the start
pkg=$(echo $pkg | cut -d : -f 2 | sed s/\\r//g)

# Now let's kill the running Andromeda services on the mobile device
kill=$(pidof andromeda)

# Check if we need to kill the existing pids, then kill them if need be
if [ -z "$kill" ]; then
am force-stop projekt.substratum
appops set projekt.andromeda RUN_IN_BACKGROUND allow
appops set projekt.substratum RUN_IN_BACKGROUND allow
CLASSPATH=$pkg app_process /system/bin --nice-name=andromeda projekt.andromeda.Andromeda &
else
am force-stop projekt.substratum
kill -9 $kill
appops set projekt.andromeda RUN_IN_BACKGROUND allow
appops set projekt.substratum RUN_IN_BACKGROUND allow
CLASSPATH=$pkg app_process /system/bin --nice-name=andromeda projekt.andromeda.Andromeda &
fi
[prjkt.io] Pkt_Lnt:
This script is for non-rooted phones, so your script does not need to be run on rooted phones. Not this from the OP / post #1.

https://xdaforums.com/apps/substratum/andromeda-desktop-clients-release-notes-t3668682
[prjkt.io] merkurial:
You are right, sorry. There should be a thread about the app on the play store to do the same but which does not work on my phone. I'll try posting there.
[prjkt.io] djdarkknight96:
No no need, if you do it does speed up building overlays.
[prjkt.io] IndependentFool:
Nvm. Android File Host is back up.
[prjkt.io] Velvis:
Moto e5 Plus Theme Phone App?

I have tried applying BauticUI and Sai's Oreo theme and some of my system is themed, but the phone and messaging apps are not.

I keep getting that message that a March update requires a reboot as well.

Is there help for the actual theming portion of substratum?

Thanks!

Just noticed I get an error: overlay outdated or mismatched
[prjkt.io] vdavidk:
When I use the Galaxy evolution theme, the UI system stops working and can not use theme and overlay.
[prjkt.io] djdarkknight96:
That error means you didn't pick os used at the top of theme list. Theme issues not Substratum issues.

That's a theme issue not Substratum contact theme dev.
[prjkt.io] Velvis:
How do I do that? I dont see where its asking for that?

Thank you for the help.
[prjkt.io] djdarkknight96:
Email theme developer, they will know what is wrong.
[prjkt.io] ficybutter:
hi, the andromeda java client (v2.0) doesnt seem to work for me. it keeps showing an error that says jni error/java exception as occurred. any fix? i've tried installing the latest version of java but that doesn't seem to work either.

i'm on a galaxy s9+ with andromeda version 22
[prjkt.io] superorange0:
hi can someone help me TT

idk why some of my custom font won`t showed up even after i restart my phone.

im using s9+

thankyou
[prjkt.io] saddyz:
If i download the andromeda from different source will it work then? Cuz i tried and its instantly closing and when i open its closes automatically. Also i done the following procedure still not working as substratum saying (verification failed please use force stop and relaunch again. And if this issue keep going then reinstall the app through play store).. so i have to buy the app otherwise i cant access it??? Plz does anyone have any fix tell me asap.... thnx...
[prjkt.io] PhreighnQ:
If you stole the app, you have no right to complain about it not working. You also have no right to expect anyone to give you support for it.
[prjkt.io] djdarkknight96:
Use the script instead start_Andromeda.bat, extract the zip then click it while connected.

That's not a subs issue.

Because you pirate the app, how hard is that to understand? BUY THE APP DON'T STEAL THE APP!
[prjkt.io] assassin193:
Did i do something wrong ?

I downloaded Substratum from Google Play, then i installed Adromeda which i downloaded from web. Then i run the Andromeda Script (Windows Batch Script) while connecting my phone with PC, the Substratum app ran but it said authentication failed.

Im using Nokia 8 with android 8.1.
[prjkt.io] seanskiT!:
Read the last few posts....
[prjkt.io] assassin193:
Oh, i get it, so i have to buy the Andromeda app, right ?

Then i thought this thread is about how to use it free, i'm sorry for my thinking.
[prjkt.io] flex1911:
Thread cleaned.

If someone is acting rude and offensive, better ignore his post and report it immediately. By continuing "feeding" him you are making the situation even worse.
[prjkt.io] recharged20:
I updated andromeda on playstore, now it keeps saying that verification has failed. What gives? I tried to uninstall - reinstall andromeda addons, same result. I even uninstall andromeda and click the link that subtratum would give me to andromeda on playstore to reinstall, still the same problem.

edit: verification may failed if used with play store 10.6.X and above and recommend to update to play store 10.9.X, but play store is only updated to 10.8.X? And why push out update that still buggy?
[prjkt.io] garylawwd:
Just download an older version from apkmirror simples.

And its a playstore bug not a bug with andromeda so there's no problem with the app your pointing the blame in the wrong direction
[prjkt.io] Paciooo:
My verification is failing with any version of the play store.Tried with 9.8,10.4,10.3,10.5.This isn't a play store bug,is a andromeda one.No pirated app,updated this morning from the playstore.
[prjkt.io] recharged20:
Welpp, i dont mean to point blame, but play store recognize just fine that i'm a beta tester for the app while substratum/andromeda do not --- I could actually run the script and it says that the server is connected, lol. The problem is that while I checked the do not auto update and downgrading play store, it keeps auto-updating and I'm back at where I started, at this point I feel it is probably easier if I could get the andromeda v22 instead.

can anyone else chime in on this? What version of play store would v23 working?
[prjkt.io] proxima8:
Hi I have the same problem tried playstore 10.5 and 10.4 disabled the autoupdates to stay downgraded. Reinstalled Andromeda/Substratum but still the same auth error.

paid Andromeda/Substratum on Sony XZ on 8.0 and july patch

Any ideas?

Edit: playstore does it's autoupdate anyway fracking google, but I tried in airplane mode to get at least in the app to disable all overlays, no chance.

Edit2: works again thanks
[prjkt.io] Venom0642:
Leave beta after that uninstall the Andromeda after leaving from beta right in Playstore then right in Playstore uninstall Andromeda then install back do not join beta it's a Stable one now v22.
[prjkt.io] voroxda:
How to disconnect from Andromeda respectively kill Andromeda service.

I use Andromeda in rooted mode, means not over ADB. When the new version of Andromeda was published in Google play store, I installed the new version and then I want to test it.

Therefore I started Andromeda in rooted mode (red background becomes green).

Is there a possibility to stop the Andromeda service afterwards or do I have to reboot?

am force-stop commands of the package

projekt.andromeda (and projekt.substratum) does not help. The Andromeda service seems to be a undependend daughter process?

Additional question: makes this senses at all because the Andromeda service accesses no resources respectively causes no battery drain?
[prjkt.io] voroxda:
Additional comment: now I found a way:

#killall andromeda (as root)
[prjkt.io] djdarkknight96:
For those with connection issues with Andromeda update on beta channel, either leave beta or update substratum. It's fixed now!
[prjkt.io] guyd:
Thanks! Your post saved me a lot of grief!
[prjkt.io] excelle101:
Andromeda + Substratum not working.

Hey. I installed the andromeda app in order to get some really nice looking themes on substratum. Unfortunately before that, I tried to get it the cheap way and downloading andromeda off sites for free. Now that I bought the andromeda app, it doesn't even work properly. When I tap the andromeda icon to open it, it opens for half a second then disappears. I dont know what to do, I bought it for 2 dollars, and this is what I get lol. Some help would be appreciated. dm me on snapchat @ excelle404
[prjkt.io] djdarkknight96:
Well since you mentioned pirating did you have any other pirate apps installed? Not work properly? How so? Please explain or show screenshots it works just fine for that $2
[prjkt.io] AndroidHtc101:
Guys is this still relevant? I'm on a one plus 3t, and I'm abit confused about "disable the System UI options before building my theme"

I didn't want to run into the same problem and bootloops. What System UI settings do I disable before building my theme for the 1st time?

Thanks
[prjkt.io] Agrawalprayank:
Substratum oreo

An error is popping out stating that IT SEEMS THAT VERIFICATION HAS FAILED TRY REINSTALLING THE ADDON FROM GOOGLE PLAY STORE

unable to verify andromeda to substrarum
[prjkt.io] zikryyy_:
Andromeda apps Keeps Force Closing

Hello, i have substratum themes installed and i themed the google play store. After the playstore update, the play store keeps force closing. So i wanted to open the substratum app but i cant because andromeda cannot work. I tried using the the desktop client but it still not active. I cant even open the play store and andromeda. So what should i do ?
[prjkt.io] krule031:
Hey guys.

Just wanted to ask a simple question.

Should Andromeda stay connected after unpluging the cable? It gets disconected as soon as I unplug the cable, so it got me thinking.

I have Huawei P10 Lite, stock unrooted 8.0.
[prjkt.io] rpr69:
Almost the same issue for me, although I can get into Play Store fine, Google App, and Gmail don't work, and Substratum is not recognizing Andromeda. On Pixel 2 stock 8.1 no root, Flux theme, latest Substratum. Andromeda status shows green, but Substratum doesn't recognize it.
[prjkt.io] animeallen:
Andromeda closes after a second once it opens. Also, even though it's green, substratum does not recognize it. I checked the logs and this is what I saw related to Andromeda.

07-29 16:52:30.140 E/InputDispatcher(1278): channel 'b1de96c projekt.andromeda/projekt.andromeda.activities.InfoActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
[prjkt.io] Nihilhem:
Hello. Why is "unrooted" a requirement? There's literally an option in the app that requires a rooted phone.

I bought the Andromeda app some days ago and tried it yesterday. I couldn't connect it to the desktop client. I verified that I had my phone's drivers installed and ADB access was possible (the phone was shown in the list. I could even flash it via ADB, so I really think that's not the problem). I've tried both the batch file and java file methods, but I am still unable to connect it. When I open the batch file it runs the code and then closes rapidly. When I use the java file (the last version), it shows me my device and says "Andromeda service not started". If I hit "Start Andromeda service", it just says "sh" followed by a long line of text, stays like that for a few minutes and says again "Andromeda service not started". Does anyone know why this happens? Maybe it's because my phone is rooted and has a custom ROM? (Oreo 8.0.0)
[prjkt.io] rpr69:
If you have a rooted custom ROM, then you don't need Andromeda.
[prjkt.io] Nihilhem:
I'm not an advanced user and I've been searching for a way to apply a dark theme to my phone for months. I honestly don't know any way of doing that, so that's why I want to use Andromeda.
[prjkt.io] FatalitySonic2:
Hi. I wanted to apply a theme but for some reason, the command the new version of andromeda gave me doesn't work (Permission denied) and if I launch the desktop client, the server stays inactive and I'm unable to re-enable it. USB debugging is on, drivers and ADB have been installed on my PC and I'm on Samsung Galaxy S8 8.0 with sungstratum mode disabled. What should I do?
[prjkt.io] djdarkknight96:
Just sure you are on default theme, One plus has their own theme system so if you keep it on default nothing will go wrong.

Uninstall both subs and Andromeda, reboot and install again. Should fix it unless you have any apps that Pirate "steal paid apps" or like lucky Patcher.

---------- Post added at 09:23 PM ---------- Previous post was at 09:16 PM ----------

Long press substratum icon and select "recover me" then rebuild playstore overlay and enable everything again. If it errors building send log to theme Dev.

I can't remember but there is some devices that have to stay connected to PC while using subs. Search the thread, I think it was Sony devices but I can't remember.

Try uninstalling both subs and Andromeda, reboot and reinstall. Should fix it but if not come back and let us know.

It's not a requirement, Andromeda doesn't need root but you can use them together for faster building and no PC needed. With root only you don't need Andromeda or a PC. If rom has commits you will get full experience with root.

Are you on Windows or Linux? Permission denied is the issue, fix that and everything will work. If using Linux try running the. Bat manually by opening .bat and running those commands.
[prjkt.io] FatalitySonic2:
I'm on Windows but it looks like I'm dumb. All I had to do was uninstalling and reinstalling both Andromeda and substratum. Then, launching the bat. It worked now. Thanks for your help tho. ^^
[prjkt.io] Nihilhem:
What do you mean by "if rom has commits"?
[prjkt.io] djdarkknight96:
We have commits for custom roms to run subs without root and without Andromeda. But not all custom roms merged it like LineageOS or Dirty Unicorns. They still work with root or Andromeda though.
[prjkt.io] Nihilhem:
I have LineageOS and Substratum doesn't work for me. It still asks me to buy Andromeda, which I did, and didn't work either. I've tried all of the possible methods, even the one with the Android terminal. This is what I got:
[prjkt.io] djdarkknight96:
I'm running lineage on my Nexus 6, with root and Andromeda working fine. I uninstalled Andromeda and it still has root for me. I'm guessing it's a root issue not subs.

That log looks like it's not finding the files, did you extract the files on pc?
[prjkt.io] djdarkknight96:
LineageOS works just fine
[prjkt.io] zikryyy_:
Okay thanks fixed it already
[prjkt.io] Ryrift23:
Hey, I'm on the Galaxy S9 (8.0, unrooted) and was just looking into getting Andromeda and in the description in the playstore it says, "Google Play Store versions 10.6.X and above are causing verification to fail. Please revert to an older version or update to 10.9.X to pass verification."

Right now I'm on version 10.8.50 and it seems to be the latest, so how can I revert to 10.5.x? Because I tried to install the apk but it didn't work
[prjkt.io] djdarkknight96:
You are already on the working version of playstore, think that's a typo. 10.7.x were the bad ones 10.8.x work fine.
[prjkt.io] Ryrift23:
Alright, thanks
[prjkt.io] N.Y.Gazz:
Hi everyone .. I have a little problem here. I managed to do the tutorial, but once my phone disconnected the application andromeda is no longer connected. the theme that I put via substratum is partly present on my xperia xa2 ultra. I feel that the substratum theme is in conflict with my theme sony.comment to make substratum my main theme?

Envoyé de mon H3213 en utilisant Tapatalk
[prjkt.io] minto009:
Hi, i am using mac. After running the dmg file it says Andromeda is now binded on your device. Please advise. I have done the usb debugging. Is there any solution
[prjkt.io] djdarkknight96:
If I remember correctly you can't mix subs and Sony themes..Also to apply themes with subs the pc has to be connected. ......if I remember correctly from another post.
[prjkt.io] Max2thecore:
P20 pro here. Doesnt Work at all.

The Andromeda Client App fir the PC doesnt even seem to exist, not a single command works. Its a ****ing mess.
[prjkt.io] Pkt_Lnt:
They are in post #1 of this thread.

Step 1 - Download these files!

Andromeda Script (Windows Batch Script): https://www.androidfilehost.com/?fid=889764386195928947

Andromeda Script (Mac App): https://www.androidfilehost.com/?fid=961840155545594694

Andromeda Script (Linux Script): https://www.androidfilehost.com/?fid=961840155545594692

Andromeda Client (Java Alpha):

- Andromeda v20 and higher: https://www.androidfilehost.com/?fid=890129502657598825

- Andromeda v19 and lower: https://www.androidfilehost.com/?fid=673791459329049735
[prjkt.io] Max2thecore:
I did everything, it doesnt work
[prjkt.io] Pkt_Lnt:
Ok, well, my Android Crystal Ball is in the shop for repair. When I get that back and can use its powers to figure out what phone, android version, themes and PC type you have, I will offer more help for you here. :silly: :D
[prjkt.io] Max2thecore:
I have a Huawei P20 Pro and i'm trying to install themes but the CMD does not recognise my phone and when I press enter or any key it says ''Deamon started successfully*''

Then quick display error and thats pretty much it.
[prjkt.io] Pkt_Lnt:
What Android version?????

Linux / Windows / MAC?????

Do the themes say they support specifically Huawei P20 Pro?????

In a command window, with your phone connected to the computer, what does

adb devices

show?
[prjkt.io] Max2thecore:
Windows, Android 8.1, yes they do support the P20 pro. ADB connected with the phones says error, yes its in USB Debugging.

The problem is that Andromeda cannot connect with my phone. When I open Andromeda on my PC for connection status, its impossible for me to enable it. The Andromeda startup doesnt work like I said previously, when I press enter to connect the ADB and the phone together, it says ERROR and shuts back down. I don't know I i can be any more clear. Nothing I downloaded works except the 2 mobile apps ( Substratum offline and andromeda opens for confirmation but nothing works) but as there are no connection between the mobile and deaktop andromeda, no themes will apply
[prjkt.io] Pkt_Lnt:
It is that adb is not setup correctly to allow the script to connect to Andromeda and Substratum on your phone.

When you type "adb devices" in a command window, you should see your phone serial number and the word "device. Here is mine:

skunk@LinuxMint ~ $ adb devices

List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully

458HYDG24683579	device
[prjkt.io] djdarkknight96:
Yes there is nothing wrong with the script, this is an abd and phone connecting issue. Not Substratum/Andromeda issues!

Just like [MENTION=4403217]Pkt_Lnt[/MENTION] said you have to be able to get serial number to show with "adb devices" in cmd window inside Andromeda folder you extracted the files too, so pc sees phone then script will work. Try reinstalling your phone adb drivers. Fix that and come back we can help further once that's fixed but there's nothing else we can do until then.
[prjkt.io] N.Y.Gazz:
thank you very much[emoji106][emoji106]. I managed to keep my theme with substratum. there is an "infinity dark" theme that caused a shutdown of the system every 5 seconds, but I managed to fix this problem. thank you for this tutorial and advice.

Envoyé de mon H3213 en utilisant Tapatalk
[prjkt.io] ManuBaws:
I followed the instructions, after I pressed enter the command prompt closes but the substratum pannel does not appear.

Device: Huawei P10 Lite latest version of substratum and andromeda
[prjkt.io] PowerPoint777:
Asus Zenfone 3

Does It Supports Asus Zenfone 3? Please Reply!

I Will Buy Andromeda Then!
[prjkt.io] djdarkknight96:
Command prompt is supposed to close, did you have your device connected and adb enabled on the phone?

Phone doesn't matter, you just need Oreo.
[prjkt.io] PowerPoint777:
But Many People Saying That it's Not Supporting Asus Zenfone 3 That's Why i was asking!
[prjkt.io] djdarkknight96:
If you are on Oreo Substratum will work, it's the themes that won't on system unless a theme is made for it. You can use some simple things and theme 3rd party apps but system might boot loop or not even build. Make a theme? Lol
[prjkt.io] PowerPoint777:
So i bought it last night! Gonna try today! Let's see what happens! If Something doesn't go wrong! You guys are here to help me! ❤️

---------- Post added at 02:20 AM ---------- Previous post was at 01:43 AM ----------

I Am Trying To Use it! When i run the batch file! And press any key! It running some codes then it's getting closed after that NOTHING HAPPENED!!!
[prjkt.io] Pkt_Lnt:
In a command window, with your phone connected to the computer, what does

adb devices

show?
[prjkt.io] PowerPoint777:
Okay so in ANDROMEDA Client Java! It shows my device now! But! When I try to start Andromeda service! It's showing loading then got Freeze! And After That There is not progressing!
[prjkt.io] Pkt_Lnt:
So adb devices in a command window shows your device serial number followed by the word device, like this?

~ $ adb devices

List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully

458HYDG24683579	device

Many times above I have seen [MENTION=2126467]djdarkknight96[/MENTION] mention the java client is often buggy, and suggests using the windows .bat file. Can you try that?
[prjkt.io] PowerPoint777:
I Don't Know What To Do Know!

[IMG="This is What Happening!"]https://drive.google.com/file/d/1wndoU4mBXqTgUl8gu61i3hMNPG3cPYxm/view?usp=sharing[/IMG]

I Don't Know What To Do Know!

---------- Post added at 03:29 AM ---------- Previous post was at 03:25 AM ----------

Yeah i Can Do That But After Pressing Any Key on the Keyboard it runs some code then shuts off then nothing happens! and i am running adb devices code in cmd but it showing a error, i am so noob i guess to use andromeda! ahhh this is killing me!

---------- Post added at 03:32 AM ---------- Previous post was at 03:29 AM ----------

Yeah now i somehow managed to run adb devices command and it's showing my device yes!!
[prjkt.io] Pkt_Lnt:
It shows device serial number?
[prjkt.io] PowerPoint777:
Can You Guide Me Please? I PM You! Thanks For Helping!!!

---------- Post added at 03:42 AM ---------- Previous post was at 03:40 AM ----------

Yeah It Showing Device Serial Number!
[prjkt.io] Pkt_Lnt:
I do not offer support via PM, that is best done in the forum where everyone can see. Did you go through the tutorial?

If you see the serial number, then adb is working. Try the .bat file in a command window.
[prjkt.io] PowerPoint777:
Tried Just Now! Again It Runs Some Command And Closed! And In My Phone Nothing Happened! ::crying::crying:
[prjkt.io] Pkt_Lnt:
I am out of ideas. My phones are Pixel 2 XL and Nexus 6, and I use Linux on my computers.

There is a Telegram channel with many of the Substratum developers and themers there.

This is from their G+ page:
[prjkt.io] PowerPoint777:
I will definitely look into it! Thanks again!
[prjkt.io] Pkt_Lnt:
You are welcome. I don't understand how if adb returns your serial number, then the .bat file does not work. That is why I do not use windows. :p
[prjkt.io] PowerPoint777:
I bought it the very next day...and now i am disappointed! I can't ditch windows because i use fl Studio! ;__;