Heimdall AT&T S4 Mavericks

This post should help you recover an AT&T Galaxy S4 SGH-I337 back to stock 4.4.2 using a modern 64 bit version of OS X, I tried 32 bit 10.6.8 and Heimdall wouldn’t run, so I presume you need OS X 10.7 64bit and above to run Heimdall.

First off, you need to uninstall Samsung Kies so Heimdall has USB access to the S4 drivers, it will require a reboot and possibly command line uninstalls:

Secondly, you need your recovery file.  I used the big ass stock file from Stockroms (dot) net /file /GalaxyS4 /SGH-I337 /4.4.2 /”the big one there”.  You’ll need to rename it to just .tar, then untar that file, and put it in a folder from which you’ll run Heimdall.

Third, install Heimdall.

Read through this post over on XDA:

Follow the OP’s steps, but see 8d) below:

linus$ heimdall flash --RECOVERY recovery.img --SYSTEM system.img.ext4 --HIDDEN hidden.img.ext4 --BOOT boot.img
linus$ heimdall flash --MDM modem.bin --APNHLOS NON-HLOS.bin --ABOOT aboot.mbn --TZ tz.mbn
linus$ heimdall flash --CACHE cache.img.ext4 --PERSDATA persdata.img.ext4
linus$ heimdall flash --SBL1 sbl1.mbn --SBL2 sbl2.mbn --SBL3 sbl3.mbn --RPM rpm.mbn

Sudo doesn’t seem necessary. I added that 4th line per Trevor7.  Thanks to tom_callahan for the original post, for which all things considered made this quite painless for an Android wipe.

As the original poster said, each push will require a boot back into Odin’s Download Mode, hold the ‘volume down & home’ buttons in between reboots as soon as the screen goes black, then press volume up to ‘continue’.  After step #4 you’ll want to boot to the stock Recovery Mode (volume up on boot) and do a “Factory Reset / User Data Wipe”; this will insure you’re good to go.

It should boot to an AT&T logo with a startup sound, it will take a couple of minutes, then you should be back to stock TouchWiz / AT&T bloated stock 4.4.2.  Godspeed.

Update: I updated the above lines.  It should be noted I’ve had issues with the GPS since this flash.  I have been able to make it work again using a GPE “vanilla” edition with a modified TW kernel, but it’s unclear why the GPS wouldn’t work on what should’ve been a fully stock ROM (NB1 vs NC1 rootability or kernel incompatibilities?).  There is apparently a way (using Windows and Samsung KIES) to do a full recovery per the manufacturer.  I haven’t tried this method yet.  For the time being, I was excited to have GPS working, albeit with a fairly unstable AOSP/GPE/Vanilla ROM.  My hope of hopes would be to get this back to fully stock 4.4.2 NB1 and sell it, fully functional 100%.  That may be wishful thinking.


Wissahickon Four Corners Run

Finally finished (or started, depending how you look at it) the ‘Four Corners’ of Fairmount Park’s Wissahickon trail system.  The Four Corners are loosely defined as (starting in the northwest in a clockwise fashion):

  1. The Tree House
  2. Northwestern Ave. Stables
  3. Rittenhouse Town
  4. Kelpius’ Hermit Cave

I’ll say that aesthetically those are the four corners, but true geographic corners  are really defined by slightly less notable landmarks, namely:

  1. Where the ‘Meadow Loop’ trail of the Andorra Natural Area starts heading north/northeast (by the house in the corner @ ~ 900 block of Northwestern Ave).  Note: black connector trail is closed for restoration so you’ll need to follow the Meadow Loop to the blue trail which will take you to the Tree House on the red trail (if you want more mileage / quality running you could finish out the red trail before heading to the next corner).
  2. The corner of Germantown & Northwestern Aves (there is occasionally a water tap/hose on the sidewalk in front of Bruno’s Restuarant; I asked at the stables they said they had no public water access).
  3. The Sunoco on Wissahickon Ave. / W. Rittenhouse St.
  4. And finally, the 100 Stairs that lead up to Freeland Ave (I usually bear right at the top and onto the dirt trails, which lead to the Hermit’s Cave).

If you include most of the Cresheim Creek Trail and continue to bear left or right (depending whether you’re going clockwise/counter) and stay on all outer/upper trails the total will be in the 21-24 mile range, I think ~22.5 miles sounds about right for my loop, my GPS was a bit wonky and read 24.4 miles but I think that was long (compared to half loops that I’d done previously).

My upper loop took about 2 hours and then the lower loop almost 3 hours.  If you exclude my stop at Sunoco it still wasn’t particularly fast.  I found the final 2 hours pretty challenging.  I am signed up for the Dam Full Marathon (formerly the R. B. Winter Trail Challenge) in Bald Eagle State Forest in the middle of September so hopefully I can get in at least one more long run before then.

Here’s the Garmin data: http://connect.garmin.com/activity/566541184


Wissahickon Four Corners Google Earth

Wissahickon Four Corners on Google Earth


Gaggia Classic notes

I’ve been doing some more maintenance on the Gaggia Classic. When I got it back from NY it was a bit choked what with the mineral deposits from that hard Catskill aqueduct water. So I disassembled it (photos here) but the one tiny port that I somehow didn’t read up on (or take apart and clean) was the 3-way solenoid valve (it requires a large wrench and possibly you’ll need to screw the 3-way solenoid into a piece of wood to get leverage on it, read Steven Heaton’s post here and Christopher Reed’s here).

Similarly, on the OPV valve (which I did disassemble, more info on that at Ruiz’s blog), I potentially over tightened the “over pressure” spring adjustment. So between the two (one likely blockage in the solenoid and too high of ‘over pressure’) I was getting some wonky behavior: occasional air-locks, high pressure into the puck, inability to clean by backflushing Cafiza.

Without a pressure gauge hooked up to a threaded portafilter all my “pressure adjustments” have been blind, however this time I did try and hit the recommended “over pressure flow rate” which is in the neighborhood of 130 ml for 30 seconds (using a blank basket). It does take a few adjustments to get it right, and I imagine if I put an actual gauge on it (which might be possible using a Presta valved bicycle inner tube and an actual bicycle pressure gauge) it’ll need to be adjusted further (10 Bars static, 9 Bars dynamic being the goal). My existing portafilter just has two spouts and is not threaded in the middle and I’d rather not splurge and spend another $50 for a portafilter I’m only going to use once, apparently there are a few floating around as loaners, so if you’re a Gaggia Users’ Group member and have one I’d be happy to pay a deposit and shipping to at least get the machine’s pressure set.