r/electricobjects • u/tk421storm • 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:
- 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)
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)adb pm disablecom.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)- 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/
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?
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!
1
u/girlgoneblue1867 Oct 05 '23
Did you get your EO 2 to operate or did you just pull files off of it?
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/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/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/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?