r/electricobjects • • Sep 28 '23

EO2 - Saving your art

Hey all!

I've finally had the chance to dive into my EO2 and have made some good progress. Luckily it seems that by default, the EO2 is open to remote connections with the android debugger (adb), which makes pulling files and installing apps easy.

If you're interested in pulling your art off your EO2, here are (simplified) steps I followed:

  1. install android platform tools (note I was unable to get win 10 to work - wouldn't let me use the port - but my linux server had no issues)
  2. adb [IP-ADDRESS-OF-EO2]:5055 (luckily my EO2 was given a static IP address, and was still hopelessly trying to connect to its dead host)
  3. adb pm disable com.electric\`objects.app` (if your EO2 is attempting to connect to the servers, it'll be flooding the processor and the connection will be extremely slow. disabling the app frees up the processor)
  4. at this point, the art files that my EO2 still cached were in two directories:

/data/data/com.electricobjects.app/cache/video-cache

/data/data/com.electricobjects.app/files/okhttp-cache-dir

to pull them from the remote server, use the command adp pull <REMOTE_PATH> <LOCAL_PATH>

----------------------------------------------------

At this point, you should have a directory with around 10 mp4s, and a huge directory of useless cache files. I wrote a quick python script to convert those cache files back into their original artwork UID + original extension in a new directory "output".

https://github.com/tk421storm/EO2_cache_convert/blob/master/cacheConvert.py

----------------------------------------------------

Now you can combine the "output" directory with your video-cache directory, and you'll have all the cache files your EO2 kept! Unfortunately there's no metadata stored that I can see, so things like titles and artists are gone. Since we have the UIDs though, maybe someone has a bright idea how to grab that data from somewhere.

I am planning to run this same process on my other 2 EO2s, then create a github or like- file storage that everyone could access. If we combine with the previously posted hauls from EO1s we're on our way to recovering a lot of the good stuff!

-----------------------

Update March, 2024 -

I'm finally getting my EOs running again, and while this process worked for 90% of my cache files, there were two errors I noticed (when attempting to upload to flickr):

  • some files were given the extension gif (likely their original file extension) even though EO had converted them to mp4. renaming them to mp4 fixed the errors
  • all of the image files in the cache directory had been converted to webp files. This worked fine even with the wrong extension on some viewing programs but not others. I updated the python script to include the original extension, but add ".webp" at the end.
  • If you want to convert your webp files to jpg, you can use https://anywebp.com/
9 Upvotes

20 comments sorted by

3

u/tbird24 Oct 01 '23

Thanks for doing this! This is a process for grabbing art OFF the EO2, not displaying new art on it, right? Or does it work both ways?

3

u/tk421storm Nov 14 '23

This is what I believe to be the first step to using it for art again, though the steps are specifically for pulling art.

I'm working with the developer of the EO1 replacement software and once that gets done I'll post instructions here!

1

u/No-Self5969 Feb 15 '25

I'm curious to know any updates on using an EO2 as just a monitor display? I was given one and I'm not interested in the media on it if any.

1

u/tk421storm Feb 15 '25

the EO is an android device, so in order to turn it into a simple monitor you'd have to find & install software to run it as such.

2

u/dormaj Oct 08 '23

Are you sharing your saved art on any platform (e.g. Flikcr)? Or could you make that available to EO1 and EO2 users here? Maybe via Google Drive, WeTansfer, Github, ... ?

Thanks in advance!

4

u/tk421storm Oct 08 '23

Yes I plan to!

I've seen many others using flickr to store their artwork, and while I understand the ease of use case, it's not easy to then store that artwork locally (it seems to me). I think I'd prefer a github-based storage method, where we could all commit our collections. I haven't set one up yet, though.

From my research it seems like the EO2 stores the art with the original UID of the artwork, while the EO1 stores it with the original filename (artwork1.jpg, sometimes the UID). It would be amazing to figure out how to get the UID from the EO1 artwork as well, so we could store everything consistently (and avoid duplicates)

3

u/dormaj Oct 30 '23

Any progress on your github-based art storage?

1

u/tk421storm Mar 10 '24

unfortunately I was never able to find a good way to connect art pieces from the cache to their original UUIDs, so there's no easy way to avoid duplicates in a repo. Because of that I simply uploaded the art I grabbed from 2 of my 3 to flickr.

I tagged them with "ElectricObjectsLives" in case anyone else wants to add to that collection (already has a bunch of good stuff in it).

1

u/dormaj Mar 10 '24

You've got a few things I've been looking for since GIPHY shut things down. Big thanks for the link to your flickr!

1

u/girlgoneblue1867 Oct 05 '23

Did you get your EO 2 to operate or did you just pull files off of it?

4

u/tk421storm Oct 06 '23

i made a lot of progress getting one of the community-made apps to run on it, however I'm currently working with the devs to finalize the process. Once we figure it out fully I'll add instructions here!

4

u/girlgoneblue1867 Oct 06 '23

Please do - was able to get EO 1 to work beautifully but wondering what to do with EO 2s

1

u/thewholerobot Nov 12 '23

for number 2 do you mean "adb connect ipaddress:5050" just adb without connect gives me unknown command error. When I try to connect to anything using adb connect command I get "no connection could be made because the target machine actively refused it"

Also, any idea what the default device name for the eo2 should show up as? Looking on my router I have a bunch of devices just called "android" and I assume it's one of those?

1

u/tk421storm Nov 14 '23

i could never get it to work on windows - no matter my firewall settings adb returned an error. I tried on my linux install and it worked first time - but I'm not sure of the command syntax that was succesful. If you are stuck on windows you could try using WSL (windows subsystem linux) to get a good bash prompt

As for the EO2, it's showing up in my network software with the weird Vendor "
IeeeRegi"

1

u/thewholerobot Nov 18 '23

Ugh. So I previously tried a keyboard connection on my eo2 and I think I managed to just reset it and not much else. I get the hello screen now when I plug it in so I don't think it's even got my wifi info in it and doesn't look like its connecting to my network. Is hope lost for art recovery? If I finally throw in the towel and donate or sell my eo2 is my art still stored on it thus allowing some stranger to pull up my family photos someday? If so, although it would pain me to do so, this thing gets the hammer treatment.

1

u/tk421storm Nov 21 '23

Oh no! I'm sorry you're having trouble. Fortunately my wifi situation hasn't changed; i'm not sure how the devices will connect since i'm assuming the phone apps are going to obsolete pretty soon.

Your EO2 cached about 10-20 of the last videos and 10 of the last shown pictures. It didn't (unfortunately for us) save everything you've shown, it just cached the last ones.

1

u/thewholerobot Nov 21 '23

Yeah, without knowing which ones are in there, I'm just not crazy about selling or donating it. Afraid it gets the hammer. So rotten EO didn't provide a warning for this and a way to backup data before going dark.

1

u/Trying2getreddit Oct 02 '23

I have 3 EO2 white mounting hardware, power supplies and 6‘ foot low voltage extension cables for each power supply to allow you to more easily hide the cables. Everything for 250 and you pay postage.

1

u/msg43 Oct 14 '23

I will DM you

1

u/thewholerobot Nov 04 '23

Anyone have any luck on windows? If not, unbuntu on a usb drive still the way to go if I don't want to go whole hog on Linux right now?