Wednesday, October 16, 2024

Kobo Touch Can't Connect to WiFi or Internet

So, I got myself a spare Kobo Touch. You know, in case my Kobo Glo conks out. Trying to save, so I got a secondhand one from eBay.

The Kobo Touch arrived, freshly factory reset. Selected my preferred language and was given a choice of Computer Setup or Wireless Setup.

For wireless setup, first screen asked me to configure the date, time and timezone. Proceeded to the next  screen, which is for WiFi connectivity. Selected the WiFi network and put in the password. It says connected, but then sends me back to the first screen, which is for the date/time/timezone. Tried it a couple of times and used different WiFi networks. It says connected, but didn't let me through to the next sign-in page.

Backtracked and tried the Computer Setup option instead. This time, it asks me to go to kobosetup.com and download the Kobo Desktop software. Kobo device was detected, but now the desktop software is saying it can't connect to the Internet, which is strange.

Quick check on the forums has multiple people reporting the same issue. It's like factory resetting the Kobo Touch essentially bricks the device and it can't complete initial setup. Apparently, you need to install the latest firmware to get the networking going, but you can't update to the latest firmware because networking is broken.

Good thing is, you can connect the Kobo to the PC and access the filesystem like a regular USB device. Download the firmware from here, copy it over to the .kobo folder, then disconnect from PC. The Kobo will then install the sideloaded firmware and away you go. The strange thing is, when I compared the sideloaded firmware with the installed firmware, they're essentially the same, so not really sure why it didn't work before.

Something I learned just now. For Kobo devices, you can actually convert regular epub files to what's called kepub (Kobo epub) format, which provides the following advantages:
  • faster page turns
  • image zooms
  • footnote previews
  • time-estimate metrics
  • better responsiveness to text selection, font changes and searching
  • page flip, etc.
If you're already using Calibre, you can download the KoboTouchExtended plugin, so epubs are converted to kepubs on-the-fly. Instructions here.
Double-check in the Extended tab for the plugin that the "Send books as kepubs" option is checked/enabled.

OR you can use the standalone software kepubify to do the conversion.

And if you're feeling adventurous, you can also patch your Kobo to display NickelMenu for extended functionality.

Sunday, March 10, 2024

Jailbreaking the iPod Touch


Been using the iPod Touch for many years now. Never felt the need to jailbreak it. I mainly use them to play podcasts and stream online radio stations - either through the Sony dock or using the built-in speakers.

Just the other day, my Bose SoundTouch Portable died, so I'm thinking of replacing it with an iPod Touch on an Altec Lansing dock. Interesting thing I noticed - while one iPod Touch has the TuneIn Radio app, the other one does not. Worse, it can't even connect to the App Store to download it. Both 4th-generation and running the same iOS version (6.1.6) and on the same WiFi network. The only reason I can think of is that Apple must've cut off access to the App Store for unsupported devices.

I started reading online articles about jailbreaking iOS devices and that sounds like the solution I'm looking for, so here we go.

The articles suggest using checkra1n or p0sixpwn. checkra1n is currently only macOS or Linux. Tried to download the dmg on my MacBook Pro and got blocked/deleted by the company firewall/antivirus. Used my personal PC to download p0sixpwn instead. One thing to note, p0sixpwn requires iTunes version 11.1.5 for best results. iTunes doesn't need to be set up - it just needs to be installed on the PC.

After jailbreaking the iPod Touch, it didn't feel any different. There's just a new app called Cydia and that's it. After some more research, apparently, you'll need to install the tweaks or apps that you want from the default repositories / sources. If what you're looking for is not available, you'll need to add extra repos or sideload IPAs. Heck, you can even install other package managers like Sileo, Zebra, or Installer 5.

Now, sideloading IPAs is a whole different topic. Normally, Apple wouldn't let you sideload unsigned or expired IPAs, so either you'll have to set up or install an alternate app store and download from there. Or you can use Cydia Compactor to sideload IPAs, but the software asks for your Apple credentials and the IPA will need to be re-signed every 7 days. And there's also a limit of how many IPAs you can install. People with paid developer accounts have up to 1 year before re-signing is required. Sounds like a lot of work to me. All I want to have an old version of the free TuneIn Radio app installed.

That's where Karen's AppSync Unified comes in. "AppSync Unified is a tweak that allows users to freely install ad-hoc signed, fakesigned, unsigned, or expired IPA app packages on their iOS devices that iOS would otherwise consider invalid."

One option is where you download IPA from an online library via Safari. Send the file to the Filza file manager using the share option, then install from there. 

For me, instead of installing Filza, I installed OpenSSH and MobileTerminal instead. Once the IPA file has been downloaded to the iPod Touch (or copied over via WinSCP), it's just a matter of running appinst (e.g. appinst /var/mobile/app.ipa) - either locally using MobileTerminal or remotely using OpenSSH via Putty.

In summary:

  1. Download and install iTunes version 11.1.5
  2. Download p0sixpwn
  3. Configure p0sixpwn to run in Windows 7 compatibility mode
  4. Start p0sixpwn as administrator
  5. Disable passcode lock on the iPod Touch, the connect it to the PC
  6. p0sixpwn should detect the iOS device. Click on Jailbreak to start the process
After reboot, you should now see Cydia installed. On first run, Cydia will start refreshing itself. In my case, I had to disable Pihole for Cydia to work.

Post-install steps:
  1. Install SSLPatch tweak.
  2. Download SSL certificate from https://cydia.invoxiplaygames.uk/certificates/
  3. Add Karen's Repo
  4. Install AppSync United, Appinst and MobileTerm
  5. Install OpenSSH.
  6. Change password for root (default password is alpine) and mobile users

Where to find IPA files? From your iOS device browser, you can try https://mtmdev.org/webapp/ Click on the selected app to install.

You can also find some collections on archive.org