150 points by waximabbax | 66 comments
  1. ngd

    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.

    1. andrewl-hn

      Opera had similar, and we also had a large piece of Java code that would do either device / manufacturer or feature detection to work around bugs that different vendors had in their j2me implementations. It was gnarly.

      Sun maintained closed source test suites called TCKs (Technology Compatibility Kit) for their desktop (j2se), server (j2ee), and mobile (j2me) versions of Java. If you wanted to ship a JVM on your device you had to get a license from them and pass those tests. j2me TCK was very incomplete and very forgiving compared to the desktop one. Was it by accident or by design, I'm not sure, but Sun really wanted more phone vendors to ship Java on their phones, so making the test suite easier to pass would be in their interests. As a result many Java apps wouldn't run on different devices out of the box, and if you had a popular mobile app like Opera Mini you would have to adjust to new JVMs appearing in a wild all the time.

      1. jervant

        we'd often get bug reports that could only be reproduced on specific devices

        And now us Android developers get to experience that same joy. Thanks Google!

        1. akazantsev

          Java, write once, debug anywhere.

          Edit: fixed the slogan

        2. martheen

          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.

          1. Ambroos

            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.

            1. ngd

              Would you believe the original implementation of the ActiveSync support at Google was implemented entirely from reverse engineering the protocol using packet captures.

              1. Aloha

                I would, its amazing what you can do with packet captures

              2. kalleboo

                There was a lot of fun firmware hacking you could do with the Sony Ericsson phones. IIRC the tool to do it was called DaVinciTeam? The main thing people wanted was to reflash to the stock firmware to remove carrier branding/limitations/SIM locks, but you could also do things like install custom fonts. Any TTF would work, so I installed fonts that had Japanese Kanji so I could see my song titles correctly. The Sony Ericsson phones had better font rendering/anti-aliasing of CJK characters than Windows did at the time.

              3. lxgr

                > 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.

                1. griffoa

                  100MB got me six months at least.

              4. andai

                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

                1. matsemann

                  Used to love the Opera Mini browser. It proxies content through a server and served a page to the phone with smaller/compressed images etc., so it was actually usable to browse on a shitty connection. The navigation (before touch) was also nicer on it than most built in browsers.

                  1. anthk

                    When I had a capped data plan my connection speed was about 2.7KBPS/3 on Usenet.

                    I ran Mosh and I connected to a public Unix server and read everything text-based there, altough Gopher and IRC worked just fine without remote login and from Bitlbee I could chat with my XMPP and Telegram accounts.

                    1. 6510

                      I remember a sweet spot where bandwidth and hardware are bad enough that I only wrote code. A slightly better connection (cable in stead of dial-up) and I was reading the whole time, a better pc made gaming the thing to do, today I watch a lot of videos.

                      Met a few people from poor countries on irc who are still at the coding stage. Not sure if jealousy is the word but it seems coding was a better use of my time.

                      1. andai

                        I had the same problem. If I go online my brain just gets fried.

                        I came up with some solutions for that.

                        Tldr just turn the router (and my phone) off before bed, and keep it off for at least an hour in the morning. I tend to get more real work done during that time than the rest of the day combined. So I usually keep it off for a few hours extra, because getting stuff done feels good.

                        > Getting sidetracked by absolute nonsense -- roughly 100% of which comes in thru the internet. The “actual problem” is “task switching”, of course (alt-tabbing), but I found this impulse miraculously dissolved when I unplugged the wifi router... and removed my phone. Can’t be tempted by what ain’t there!

                        https://news.ycombinator.com/item?id=47466922

                    2. neurostimulant

                      I think the only feature phones with Bluetooth PAN support are Sony Ericsson's. Symbian v3 phones also support Bluetooth PAN, but they are smartphones. Symbian v1, v2, UIQ, and Communicators can also connect via Bluetooth using PPP, but their built-in UI lacks the option to configure it, even though the underlying Symbian OS is capable of it. Thankfully, there is Gnubox (and various ports of it), which lets you configure those phones to connect to the internet via PPP over Bluetooth.

                      If you don't want the hassle of setting up PAN or PPP over Bluetooth on your PC and you have an ESP32 with Bluetooth Classic, there are projects that let you flash it with firmware that turns it into a Bluetooth bridge for PAN or PPP, such as Satura Bridge (Bluetooth PAN) or Vetera Bridge (Bluetooth PPP).

                      - Gnubox: https://web.archive.org/web/20080125044214/http://gnubox.dns...

                      - Satura Bridge: https://github.com/sigildeveloper/satura-bridge

                      - Vetera Bridge: https://github.com/arifwn/vetera-bridge

                      1. pmontra

                        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

                        1. easyThrowaway

                          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.

                        2. lxgr

                          > 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...

                          1. Waraqa

                            I'm impressed by http://ProtoWeb.org service. Unlike wayback machine, it allows you to browse the internet like it's 1995. It works on browsers from that era.

                            1. grishka

                              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.

                              1. beedle_mcdeedle

                                I thought my country (Canada) had already shut down all its 2G networks but it looks like one carrier (Rogers) is still in the process of phasing it out and plans to finish this process by late 2027.

                                In 2017 I was thinking about this issue because my final project for my college course used a 2G modem from aliexpress because it was 10x cheaper than a 3G modem at the time.

                              2. tetris11

                                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

                                1. mschuster91

                                  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.

                                  1. anthk

                                    J2ME emulators work fine under Android for obvious reasons.

                                    1. mschuster91

                                      I'm not talking about J2ME "userspace" applications (although preservation of these is important, too!), more about the operating system.

                                      1. anthk

                                        MAME should already emulate some Symbian models.

                                2. MisterMunchkin

                                  It’s crazy how far we’ve come since these phones, I don’t know why anyone would miss them. They were terrible!

                                  And the price gouging was ridiculous. They wanted you to pay for ringtones, they wanted you to pay for every single message. Phones were locked to specific networks, it was just suffering.

                                  1. kalleboo

                                    All of those limitations were due to carriers, and phones are still locked to specific networks, depending on your jurisdiction.

                                    Even back then if you bought a phone outright without subsidy with the stock firmware and just stuck your SIM card into it, it let you do anything, Sony Ericsson phones let you use any MP3/AMR/MIDI as a ringtone.

                                    You could Bluetooth MP3 files from a Sony Ericsson Walkman phone to another to share music. The iPhone killed that.

                                    1. xgulfie

                                      These microtransactions sound quaint when you consider what it's like to play most mobile games nowadays. Ad when you finish a level, pay to buy VBucks to buy an item to beat the level, watch an ad for more VBucks...

                                    2. skibz

                                      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)

                                      1. martheen

                                        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.

                                      2. asimovDev

                                        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

                                        1. kalleboo

                                          I remember the launch of the .mobi TLD "for mobile sites", and I though it was moronic since it was hell to type on a numberpad (6→66622444, the → being to reset the 6 key which most people didn't know you could do, they would hit it again which would change the "m" to an "o" and then have to wait for it to "time out")

                                          1. asimovDev

                                            using .mobi instead of .wap (927) is certainly a choice

                                          2. tosti

                                            That sounds about right. The last "m." I still used was only decomissioned a few years ago.

                                            1. asimovDev

                                              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

                                          3. jillesvangurp

                                            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.

                                            1. lxgr

                                              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.

                                              1. kalleboo

                                                I think the major difference was that the J2ME phones had like, 4 MB of RAM, whereas the Android phones started at 192 MB of RAM. Android killed J2ME since they could justify the higher cost of the faster CPU and increased RAM with a proper web browser.

                                                Re: Nokia and Symbian. Symbian S60 was just bad. I went from a Sony Ericsson K850 to a N70, and it was actually worse at multitasking. The J2ME apps on the SE were actually more efficient than the C++ apps on Symbian.

                                                1. grodriguez100

                                                  > 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.

                                                  1. anthk

                                                    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.

                                                    1. pjmlp

                                                      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.

                                                    2. andai

                                                      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.

                                                      1. pjmlp

                                                        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.

                                                        1. jraph

                                                          > 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.

                                                          1. Uncle_Brumpus

                                                            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.

                                                        2. easyThrowaway

                                                          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.

                                                          1. lxgr

                                                            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.

                                                          2. vegnus

                                                            Let's say hypothetically I wanted to experiment with a Java phone, for a laugh. What would be a decent model?

                                                            1. anthk

                                                              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).

                                                              1. dzonga

                                                                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.

                                                                1. unityrag

                                                                  Is there is any new release of Java phones?

                                                                  1. neurostimulant

                                                                    IIRC HMD used to include j2me supports on their new nokia phones, but suddenly stopped doing that. Not sure why.

                                                                    1. martheen

                                                                      I wish. Doesn't seem so, it cost vendors non-trivial amount of money & effort to include J2ME support, and it seems the people buying feature phones today either don't care about J2ME apps or deliberately want phones that don't have any browsers or proper apps.

                                                                    2. inference-god

                                                                      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.

                                                                      1. protocolture

                                                                        >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

                                                                        1. sorrywhat

                                                                          > 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.

                                                                          1. inference-god

                                                                            This is true, I mean you're buying the device so you should have the firmware too.

                                                                        2. kotaKat

                                                                          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.

                                                                          1. tpoacher

                                                                            Great, all we need now is a GOJPOA hat.

                                                                            1. karel-3d

                                                                              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!

                                                                              1. andrewl-hn

                                                                                I'm not sure how things are now, but years and years after Opera moved to Blink they still maintained their own browser engine for Opera Mini use. Their servers ran Presto, took its rendered output, compressed it into a binary form and send this bundle to a Mini on a phone. The engine was not receiving any features, though, so things like CSS flex box and grids didn't work. Maybe they added them or maybe they switched away to Blink, too, or maybe it is still has no support for that.

                                                                                1. karel-3d

                                                                                  Huh they not only still work, it's still in Android store, and even offers free data in some African countries.

                                                                                  https://www.opera.com/mini/free-data

                                                                                  1. martheen

                                                                                    It's a win-win for both sides. Opera got the data for what type of sites are popular that they can use for their internal marketing or sell to third-parties, while operators reduce the load on their networks, sometimes the proxy server is colocated, meaning cached traffic cost nothing.

                                                                                    My Indonesian provider used to offer ridiculously cheap package fully knowing it would barely add any load to their network.

                                                                                2. ayon_jodder [deleted]
                                                                                  1. KouroxshRu [deleted]