Getting old Java phones online again

(antcating.github.io)

58 points | by waximabbax 22 hours ago

12 comments

  • martheen 1 hour ago
    I had two Sony Ericsson phones in a row at the tail end of this series back when SE phones' software was really made by them instead of some MDM licensed to use SE branding, but barely functioned as a phone (I don't think the MDM models can even run Opera Mini in any usable capacity, either very slow, losing preferences on each load, or keep asking permission at each step). The Windows method is how my cheap phone without Wi-Fi can browse the net tethered to my laptop, which in turn was connected to the library's Wi-Fi (why not just do it on the laptop? because I can save the article in Opera Mini to read while on public transport or walking).

    I used to get by with 100 MB a week package for Opera Mini traffic only, and even though the latter phone has HSDPA, I rarely turned it on because it was such a battery hog. My country still supports 2G, but I probably won't have the patience anymore to wait for anything to load, even with Opera Mini's impressive compression.

    Weirdly enough, those ancient potatoes have a system-wide clipboard, eg I can copy from an EPUB read through Albite, a J2ME app, then paste it in the native text messaging app or Opera Mini to search, which apparently is some forbidden dark magic in KaiOS.

    • Ambroos 16 minutes ago
      Those Sony Ericsson phones were so good for how cheap they could be. You could do J2ME multitasking, get push Gmail with Exchange ActiveSync protocol, I had one with GPS even (G705) that did decent turn-by-turn navigation. And with some PC software you could mess around with the internal XML configuration files to unlock extra features on many of them.
    • lxgr 30 minutes ago
      > I used to get by with 100 MB a week package for Opera Mini traffic only

      100 MB used to get me through a whole month and then some! Opera Mini was magic.

  • skibz 10 minutes ago
    Thanks for sharing this. I'm quite fond of cellphones from this era.

    I had fun learning to write J2ME apps for them at school.

    Fun fact: these Java phones used the KVM (https://en.wikipedia.org/wiki/K_virtual_machine)

  • lxgr 39 minutes ago
    > many older Sony Ericsson, Nokia, and other phones seem to support PANU even if it is not mentioned in the documentation

    Wow, I wish I'd known this back in the day! This could have saved me a lot of pocket money...

  • pmontra 1 hour ago
    I've been using a Nokia N70 from 2006 to 2011, then switched to Android with a Samsung Galaxy S2. Previous Android phones were usually just too slow and clumsy, not a clear win over the N70.

    It's in some drawer at home and maybe it still works, if I still have its charger around. I googled a bit and it seems that I could install something called Gnubox [1] on the N70 and connect it over Bluetooth Serial Port to a Linux computer. That Linux box will forward packets to the N70. Maybe I'll give it a try but what could I do with it? Maybe a remote for some service at home, any ideas?

    [1] https://github.com/LukeUsher/gnubox

    • easyThrowaway 40 minutes ago
      The Nokia N70 had a really ancient Python version available for it (1.5.* I believe?) and a somewhat experimental http server...but I can imagine Claude could write with ease something better than that nowadays, if you can get the SDK to install (It required a serial code despite being released for free).

      You could try hosting a website from there.

  • asimovDev 2 hours ago
    Last time I used internet on a Java phone was in 2013, it was quite usable still at that point, but it was a couple websites in total that I used. Opera on a Nokia, it handled average http website, I do not think I used a single WAP website after 2010, most sites started moving to hosting a mobile version on a m (m.example.com) subdomain. Maybe my memory of the events is completely warped though
    • tosti 49 minutes ago
      That sounds about right. The last "m." I still used was only decomissioned a few years ago.
      • asimovDev 19 minutes ago
        Wikipedia had "m." until very recently (as late as 2023 iirc). I remember it being an issue that people would share a mobile version of the article and it wouldn't redirect on desktop
  • tetris11 1 hour ago
    Old phones really need a Rockbox type project to give new life into these devices.

    Postmarket is the right direction, but I feel doesnt target old Blackberrys and Sony Ericsons

    • mschuster91 1 hour ago
      Given the age these devices have, I'd not be surprised for many of them failing rather sooner than later to flash memory degradation corrupting the firmware. If anything, we should focus on dumping their firmware and developing emulators for them.
      • anthk 51 minutes ago
        J2ME emulators work fine under Android for obvious reasons.
        • mschuster91 49 minutes ago
          I'm not talking about J2ME "userspace" applications (although preservation of these is important, too!), more about the operating system.
          • anthk 48 minutes ago
            MAME should already emulate some Symbian models.
  • easyThrowaway 2 hours ago
    I friend of mine tried something similar for an art project some times ago using mostly Nokia Phones.

    For some unknown reason Internet-over-bluetooth was hidden from the UI even on many unlocked devices, only Symbian v2 or v3 devices had the option readily available.

    We tried building a gsm "bridge" network for any device in a few centimeters in radius using the GPIO pins from a raspberry pi acting as a SDR, but at the time we couldn't get it to work at all.

    • lxgr 25 minutes ago
      There were a lot of weird carrier politics back in the day. I remember using a native, excellent SIP client on a S60 3rd edition phone, but Nokia ripping it out for a later 5th edition one, presumably due to carrier pressures about lost calling minutes.
  • jillesvangurp 2 hours ago
    Funny that people call these Java phones. Most of the phone was definitely not Java. Most of the applications on the phone were native. The only things users could install and run however were J2ME (Java 2 Micro Edition) applications. For that it had a simple jvm with a standard library that was limited to the various mobile profiles. I worked at Nokia just before the iphone launched (in the research department). I knew some of the people working on standardization related to J2ME.

    Of course Android is technically much more of a Java phone than these old phones ever were. It supports most of the java standard library and lots of Android specific stuff. And it kept up with Java versions. It does compile the Java to native though, so there's no JVM running. And these days there are also flutter, native, and other applications running on the phone.

    Android knocked the main premise from under J2ME that there was a need for a limited mobile only jvm away as it basically just shipped support for most of the standard library. It did that via the Harmony project that originated in IBM. This allowed Google to dodge the classpath exception in the GPL which is an exception that Sun added to the GPL that allowed dynamic linking on desktop but not on mobile. Thus requiring an expensive commercial license from what was then still Sun for shipping J2ME functionality. That's the basis for what later became the big copyright dispute between Oracle and Google. Harmony was effectively a clean room implementation of the standard library with an Apache 2.0 license.

    Android killed J2ME because it was a proper Java phone with more favorable licensing. Google basically just gave it away to OEMs initially. So, that killed the whole market for Symbian and other proprietary systems. Nokia later open sourcing that did not really stop developers and users leaving. And Nokia abandoning J2ME in favor of native application SDKs did not really help. C++ just wasn't a great fit for mobile developers. Symbian development was notoriously hard. And Nokia stubbornly avoided touching Android until it was about to be gobbled up by MS. An actual Nokia Android phone shipped just before that happened. MS promptly killed that of course. By then windows phone was supposed to save everything, which was another doomed attempt at avoiding Java on mobile. Because MS had a big thing against anything Java.

    Nokia's own Linux based OSes (there were several) actually were closely related to Android but Nokia made a point of never bundling J2ME or a proper JDK. Android and Meego shared what was basically the same kernel and Nokia laid a lot of the ground work for Android to run at all. Early Android versions were tested on N800s even because you could just boot that into something else than Maemo (before the Meego rename). You could actually run Java on Maemo pretty easily. I did that for a research project. I was running Tomcat and a few other things on these things. All it took was an apt-get install.

    • lxgr 33 minutes ago
      I think it's reasonable to classify computing platforms by their respective user-installable software formats/ecosystems. Most users care about "can I run software/game X on my device", not "what is my device's ABI/ISA/OS/VM". In that sense, Android is also decidedly not a "Java phone", since it can't (at least not natively) run J2ME applications, nor can it even run Java bytecode.

      But yeah, this terminology too falls apart when you consider e.g. Symbian/S60, which supports two (almost) equal application software platforms.

    • grodriguez100 1 hour ago
      > to dodge the classpath exception in the GPL which is an exception that Sun added to the GPL that allowed dynamic linking on desktop but not on mobile

      Actually, the Classpath exception was introduced by GNU Classpath, another alternative Java classlib similar to Harmony.

    • anthk 49 minutes ago
      FDroid has a J2ME emulator on its repos which even supports internet connections, so Pocket Gopher works under it. Altough today I'd just use Lagrange, but it's cool as a curiousity.
  • inference-god 53 minutes ago
    There is so much fucking great hardware that is wasted because of licensing BS it's actually sickening. Manufacturers should be required to opensource firmware when something is EOL so it's not wasted.

    I had great MP3 players, Phones, Routers, just so much good stuff wen to the bin because the "vendor" stopped supporting.

    • protocolture 51 minutes ago
      >Manufacturers should be required to opensource firmware when something is EOL

      I like it, but this is better.

      >Manufacturers should be required to opensource firmware

      • inference-god 30 minutes ago
        This is true, I mean you're buying the device so you should have the firmware too.
  • tpoacher 52 minutes ago
    Great, all we need now is a GOJPOA hat.
  • anthk 53 minutes ago
    Get a J2ME Gopher browser and head to gopher://magical.fish, gopher://sdf.org and gopher://hngopher.com

    https://felix.plesoianu.ro/mobile/pocket-gopher/

    Also, with a J2ME IRC client you can connect to im.codemonkey.be:6667 (Public https://bitlbee.org server) and using modern services such as Mastodon and Jabber (and some of the public Biltbee servers -bridges- support Steam, Telegram and Discord).

  • KouroxshRu 2 hours ago
    [flagged]