Getting old Java phones online again

(antcating.github.io)

98 points | by waximabbax 1 day ago

21 comments

  • ngd 2 hours ago
    In the late 2000s Google's London office had a small department who kept just about every feature phone you could imagine stored, charged and ready to grab for devs and qa teams to test out J2ME apps we were building. They had hundreds of devices all stored in these tiny little cages. The variance in the J2ME setups on each device was vast and we'd often get bug reports that could only be reproduced on specific devices.
  • martheen 4 hours 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 2 hours 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.
      • ngd 2 hours ago
        Would you believe the original implementation of the ActiveSync support at Google was implemented entirely from reverse engineering the protocol using packet captures.
        • Aloha 53 minutes ago
          I would, its amazing what you can do with packet captures
    • lxgr 3 hours 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.

  • andai 2 hours ago
    Heh, this brings me back. At one point my only internet was the wifi from a cafe down the street, which I'd pick up with my phone. Then I'd connect to my phone over bluetooth (since you can't do a wifi hotspot and connect to wifi at the same time).

    I got like 3 KB/s, it was awful! That's how I learned that the web is mostly text (the parts I actually care about), but the text won't load because the web is full of crap.

    So then I figured out that I can just browse the web via w3m (terminal based browser, like lynx) over Mosh. Works great.

    I also learned that most of what I watch on YouTube, I'm actually just listening to it, and that audio uses way less bandwidth than video. So basically I put YouTube on my mp3 player, haha

  • pmontra 4 hours 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 3 hours 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.

  • grishka 2 hours ago
    I'm glad that we still have 2G networks in my country with no plans to shut them down. So you put a sim card into an old phone and it just works.

    However, there's another issue I ran into with J2ME. In the name of "security", an app can't connect to TCP ports 80 and 443 without having been signed with a trusted certificate that you can't get any more. So if you want to implement modern TLS, you're out of luck. The only way to bypass this seems to be to patch the phone's firmware to add your own CA or remove the check entirely. Which is a real shame, since I figured out how to compile J2ME apps with a modern JDK.

  • lxgr 3 hours 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...

  • skibz 2 hours 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)

    • martheen 7 minutes ago
      A friend in uni made a function solver with graphics on J2ME for final project. Should've been trivial and I thought the professor won't accept it, until she told me without even floating point nor square root, she had to implement them first.
  • andai 1 hour ago
    I bought a classic Nokia phone last year. Brand new! I think they're done by a 3rd party company now.

    It looks and feels basically identical to the ones from early 2000s (complete with awful LCD screen, didn't know they still make them like that!)

    You can hardly tell the difference except, at startup, the startup jingle stutters. So I wonder if they're running some kind of emulation.

    • pjmlp 1 hour ago
      Depends on the model, there is an updated version of Series 30 operating system, and yes Nokia nowadays is all about networking equipment, Nokia used the money from selling out the mobile unit to Microsoft to buy out the Siemens part from NSN deal.

      HMD has made a deal with Nokia for branding.

    • jraph 1 hour ago
      > the startup jingle stutters

      Sound or video? Because the video stuttering would be accurate, actually. Especially if you had hundreds of SMSes, it would take time to process them at boot time, for some reason.

      • Uncle_Brumpus 1 hour ago
        Brings back good memories of my first phone, silver, bulbous, with a big antenna nub on top, where the main distinguishing feature was the fact that it wasn't just any phone, it was a CAMERA phone. I can still hear the startup jingle and see the 0.5fps jittery startup animation in my mind's eye.

        My brother and I used to use the self-timer function on the camera, take them onto the trampoline we had, and then hurl them up into the air as hard as we could on a big bounce to try and capture "satellite imagery" of our family home. Surprisingly, they never broke.

  • asimovDev 5 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 3 hours ago
      That sounds about right. The last "m." I still used was only decomissioned a few years ago.
      • asimovDev 2 hours 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
  • jillesvangurp 4 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 3 hours 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 3 hours 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 3 hours 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.
    • pjmlp 1 hour ago
      Yet, Android Java and the whole extensions, and behaviour changes made by Android OEMs, make the ecosystem just as of a mess, as J2ME used to be.
  • tetris11 4 hours 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 3 hours 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 3 hours ago
        J2ME emulators work fine under Android for obvious reasons.
        • mschuster91 3 hours ago
          I'm not talking about J2ME "userspace" applications (although preservation of these is important, too!), more about the operating system.
          • anthk 3 hours ago
            MAME should already emulate some Symbian models.
  • easyThrowaway 5 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 2 hours 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.
  • unityrag 1 hour ago
    Is there is any new release of Java phones?
  • vegnus 2 hours ago
    Let's say hypothetically I wanted to experiment with a Java phone, for a laugh. What would be a decent model?
  • dzonga 1 hour ago
    people in the developed world might not have experienced the impact of opera mini for us who were in the 3rd world.

    it made many sites accessible.

  • kotaKat 43 minutes ago
    Euro-centric phones, yes. Anything in the world of open GSM networks and freely unlocked handsets, sure.

    American phones did not get these luxuries, sadly. If you got Bluetooth on your phone, you maybe got the headset profile, and if you were lucky, you could send pictures between friends that way, but carrier profits be damned if they wanted to let you access the mobile Internet outside of their profitable walled mobile garden.

    Many dumb handsets over here in the States ended up with various Bluetooth profiles locked out and it wasn't uncommon to see BT DUN disabled because they really, really didn't want you to tether your phone and wanted that sweet, sweet mobile broadband plan money.

    Hell, even trying to sideload content was nearly impossible on a lot of our handsets because they REALLY wanted you to pay $3.99 for a 30 second Justin Timberlake ringtone on the MEdia Net.

  • inference-god 3 hours 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 3 hours 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

      • sorrywhat 2 hours ago
        > Manufacturers should be required to opensource firmware

        As a start, I'd also be fine with not being liable to be sentenced to 5 years in prison for "circumvent a technological measure" if I try to do it myself.

      • inference-god 3 hours ago
        This is true, I mean you're buying the device so you should have the firmware too.
  • tpoacher 3 hours ago
    Great, all we need now is a GOJPOA hat.
  • karel-3d 1 hour ago
    I am very surprised that Opera Mini servers - that basically browse the web for you and send you the "compressed" version - still work! I would have guessed nobody uses it in 2026 and they just turned them off!
  • anthk 3 hours 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 4 hours ago
    [flagged]