Category: Android

How to second guess corporate programmers... (aka how to re-enable the data toggle on a Samsung device...)

· Android

For some arcane reason, Samsung wants to keep you constantly using mobile data services, requiring 4 taps to turn it off (settings -> data usage (!) -> mobile data -> Yes, I really want to turn this off). All other (stock) Android devices just have a toggle in the quick settings - tap it, done.

This post details how to at least reduce that from 4 to 2 taps (and turn back on with 1 tap), by re-enabling the “data toggle quick tile” (it’s there, but Samsung hid it! on purpose!)

∼ Continue Reading ∼

The wonders of Android 6.0 (Marshmallow) battery saving

· Android

My Nexus 7 (2013) got it’s Android 6.0 (aka Marshmallow) upgrade two weeks ago. One of the features of Android M was improved battery life. After multiple reboots, app upgrades, etc., here’s what it looked like:

Screenshot_20151119-164155

Of course, that seems totally wrong - before the upgrade, I was getting about 2 days worth of morning/evening use out of it. Now this? Google helpdesk (yes, there is such a thing) couldn’t offer much:

∼ Continue Reading ∼

Unlock HTC One (AT&T) Odysee

· Android

This is about my efforts (and initial failure and ultimate success) unlocking a HTC One (AT&T, PN07120, cid: CWS__001) after leaving AT&T for T-mobile. 

After switching to T-mobile, I paid my early termination fee to AT&T, and then claimed my unlock code. It took a day for it to get sent, yielding an email like this:

Thank you for contacting AT&T about unlocking your mobile device.
Congratulations! Here are your unlock instructions:
Your unlock code is: Unlock Code 12345678

1. Power off the device and remove the AT&T SIM card.
2. Insert non-AT&T SIM card.
3. Power on the device. Wait a few moments, allowing the device to fully power-up.
4. Enter the unlock code when prompted.
5. Press OK. The device is unlocked.

with the ominous last line

∼ Continue Reading ∼

HTC Backup sucks

· Android, Computers

I’ve had to reset two phones recently: the Samsung Galaxy S2 so I could repartition it, and the HTC One because the Mail app had stopped working (and nothing else seemed to work).

To backup the Samsung Galaxy S2 (rooted) I used the ’nandroid backup’. Then, after having repartitioned the internal storage (see this post), I simply restored from that backup. Everything worked like a charm, including setup of the screens (pictures, layout of icons, etc.).

∼ Continue Reading ∼

Rooting Samsung Player 4.0 (YP-G1, US version) on Linux

· Android

Searching around, the obvious answer to this question is “SuperOneClick”. But I’ve tried it a few times, and it never worked.

So I tried it the “hard” way (which, for somebody using Linux on a daily basis, really isn’t that hard…), following guidance here (yes, it’s for a Samsung Fascinate, but generically, all root exploits are like that):

  1. Download SuperOneClick (google it) [SO]. We are not going to run it, so don’t worry about installing mono and all that, we only want the files there. Unzip it. Mine is at Downloads/SO

  2. You will use whatever ADB suits you, the ‘adblinux’ distributed with SO will work just fine:

∼ Continue Reading ∼

Upgrading old Android devices to Cyanogenmod - marvelous!

· Android, Computers · 1 comment

I recently upgraded my Samsung Galaxy Tab (the original one) from the Overcome Experience ROM to Cyanogenmod 10. I liked the Overcome Experience - but the tablet was slow as molasses. That may be due to app creep, but I thought I’d give the “Project Butter” experience from Android Jelly Bean a try. I went with stock Cyanogenmod 10, rather than derivatives, because of the simplicity of doing so. And: it works like a *charm*. Fast. and the full (phone, I guess) Jelly Bean experience that I already have on the Asus TF300T and the Nexus 7 (neither of which runs Cyanogenmod, for now). Many thanks to the Cyanogenmod guys, and to the XDA folks who maintain “ROMs”, who between them make older devices work where the hardware manufacturers have abandoned them.

∼ Continue Reading ∼

Upgrading to Samsung Galaxy 2 to ICS

· Android

Scary stuff… following this XDA thread and in particular paying attention to this guy.
I used Heimdall (not Odin - I’m on Linux), using
heimdall flash --factoryfs factoryfs.img --cache cache.img \ --primary-boot boot.bin --param param.lfs --kernel zImage \ --modem modem.bin --hidden hidden.img --secondary-boot Sbl.bin
after having extracted the tar.md5 file (which really is just a tar file - go figure why they call it that…) at the head of the thread.

Rooting Samsung Galaxy Tab

· Android

Z4root is the application that needed to be side-loaded. Was no longer available in Android Market. AT&T does not allow side-loading (installing applications from directories). But to change that, you need root…  Here’s what I did:

  • Download z4root.apk.
  • Download Android SDK
  • Connect the tablet, and run ‘adb install z4root.apk’
  • On tablet, run the new app.
  • Now, in principle, all applications could be installed like this, but that requires a computer every time. So to fix that, I followed the instructions here to reset the permissions permanently. Couple of things:
    • I needed root access for ADB to get to the right directory. This involved opening up on the Tab the “Superuser” application, then in a ADB shell, run ‘su’. Click the permission window on the Tab itself.
    • I copied the settings.db to /mnt/sdcard, then used ‘adb pull /mnt/sdcard/settings.db settings-orig.db’ to pull it from the phone
    • I copied it into settings-mod.db
    • I used SQLite Manager to modify the file, then copied it back to the /mnt/sdcard location, then used the ADB shell to copy it back.
    • In the ADB shell, ‘reboot’, and it worked.

Restoring an Android phone

· Android, S60

Not obvious, in particular on an AT&T-crippled device (which does not allow installation of non-market apps):

Steps that worked (kind-of, but still kludgy…)

  • Install AppBrain, and synchronize
  • Ensure that your Android phone is synchronizing all settings to the Google Account (under Settings -> Privacy, I think)
  • Now go ahead and reset the phone
  • BEFORE re-synchronizing the phone with Google, go into AppBrain on the web, and create a new list from the apps installed on your phone
  • Now re-install your phone, and associate it with your account
  • Launch the Market - there is no automatic reinstallation of anything if you don’t launch this first. It may then launch a couple of updates automatically - but not of your favorite applications.
  • Then go ahead and install AppBrain again, and log in to the app. Go ahead and synchronize
  • Go to the AppBrain.com website, and verify your lists. In my case, I had two accounts: “Apps on my phone” and “Apps on my XXXX”  (device type). The latter was the more recent sync. Now go into the old list, mark all apps, and copy to the new account
  • Back on your phone, sync AppBrain. The entire list will show up as “to install”. Go ahead.

This is not perfect:  you still have acknowledge each app twice in the market, but at least AppBrain will walk you through the process….

∼ Continue Reading ∼