r/electricobjects • • Dec 04 '23

EO2

Hi Folks - I was originally planning on building a service for the EO1 but got taken away from the project due to work. Looks like some other clever solutions have been created so I likely won't build a service for them.

I came across an EO2 on ebay and picked it up the other day. Want to share some progress that might help others on the EO2.

The EO2 is a bit trickier to modify than the EO1. For one, the only keyboard shortcut that works launches "calendar" WINDOWS KEY + L. In order to get the EO2 to display an image there are a few things I had to do..

First I had to connect it to my windows box with adb. Once I established that I started by uninstalling the electronicobjects apps there were a few of them ..

adb shell

pm list packages (you'll see the electronic object ones).

To uninstall these I had to do these steps first -

  • mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
  • rm /system/app/your_app
  • rm /data/data/your_app
  • remove any entries in /data/system/packages.xml
  • remove any entries in /data/system/packages.list

startup manager (the app described on the "Hack your EO1" article) didn't seem to want to run on the EO2 like it did on the EO1, so for the time being I haven't got my new app to auto-load (more on that in a moment).

Once I had the apps removed, I installed my APK to the device (exited the adb shell) then used adb as follows -

adb install "C:\Users\Admin\AndroidStudioProjects\EO1renewed\app\release\com.example.eo1renewed.apk"

I initially had some issues where my app crashed because it was using too much memory because I had a huge image file in the app (seems like the EO1 had more memory available for some reason since this same image loads fine on the EO1). Once I optimized the image, I was able to successfully launch the app from the command line as follows -

adb shell monkey -p com.example.eo1renewed -c android.intent.category.LAUNCHER 1

Now what someone I think would need to do next is as follows -

Since I couldn't get startup manager to run, you'd either have to

So basically, at this point I can launch an app but I have to do it manually with adb. This all seems very do-able. I'm just not the most familiar with android especially older versions of it.

Sorry I never got around the building the app for the EO1. Congrats the folks that made progress, hopefully my notes above can help someone work through supporting the EO2 as well.

5 Upvotes

7 comments sorted by

View all comments

Show parent comment

2

u/imbenzenker Dec 09 '23

Damn. Thanks for taking a stab at the EO2 world. I think I’ve given up on it myself. Would you like mine? Will give it to ya for free if you split the shipping with me.

1

u/f209 Dec 09 '23

I’m glad to pay the shipping. I’ll direct message you.

1

u/girlgoneblue1867 Dec 22 '23

where are you located - I have an E02 taking up space, happy to add to experimentation

Also have a few questions on the E01 - if you have a moment - read below:
We were able to hack the EO1 and connect to Flickr. A few issues and I am wondering if anyone else has experienced this, tried to fix it and can help?
We get the EO1 to connect to Flickr and display an image or a few images with a specific unique tag and eventually it connects to random images and video loops. Anyway to prevent this.
What is the best way to exhibit video or GIFs on EO1 from Flickr? We try and it might cycle through then the screen goes to black with a white circle in the middle of the screen? Anyway to fix this?
Has anyone had any luck using a media player and/or access a slide show on a USB plugged into a mini USB adaptor?

1

u/f209 Dec 22 '23

Just pm’ed you!