>
> since firefox frequently grinds GINGERBREAD.UVLDG to a standstill, i want
> to upgrade the OS on my galaxy sii sgh-t989.
>
> i've tried both Benjamin-Dobell/Heimdall and jamiejackson/Heimdall, either
> can examine the phone partitions, and both seem to go thru the motions of
> flashing the recovery partition according to the linux end, but the phone
> doesn't show any blue progress bar, instead shows "Firmware upgrade
> encountered an issue" (clearable with "close-pc-screen").  i think my usb
> cable is fine because adb push works and the pushed files' md5/sha1 are
> fine.
>

"ok, got it."  well i posted the question, and finally found the answer, so
i'll post it.  bore warning, unless you're interested in upgrading the OS
on a t989, or find amusement watching mice in mazes.  i chose CM11
<https://download.cyanogenmod.org/get/jenkins/122888/cm-11-20150823-NIGHTLY-hercules.zip>(kitkat),
seeing reports that lollipop and other roms are not as good for battery
life.  getting there, well, in retrospect, simple enough, but wading
through endless outdated or inapplicable or inaccurate even tho very well
intended misinformation may not be the quest for the holy grail but was no
piece of cake either.  the cm t989 install instructions
<http://wiki.cyanogenmod.org/w/Install_CM_for_hercules> are pretty poor,
clearly generated from a template and often misleading for the t989.  even
so they were indeed helpful and should be read carefully.  maybe my summary
here might help someone, like even myself if there's ever another goaround
on this phone.

first i tried fastboot.  from my attempts, and from something i read, i
ended up concluding it didn't support the t989.  in retrospect i wonder if
i was misled by the same circumstances confusing my attempts using
heimdall.  i was hoping not to have to compile heimdall from source,
warnings abound about against using mainstream heimdall versions on a
t989.  i ended up compiling several versions of heimdall, both under vivid
and under precise, looking for one that would work.  following some cm wiki
page for building heimdall was a mistake.  the source tree Linux/README is
good if ignoring all but Appendix B.  and this page
<http://wiki.cyanogenmod.org/w/UDEV> explains how to run heimdall&adb as a
normal user.

from my experience with my d710, not seeing a blue transfer bar on the
phone led me to presume that meant heimdall flash wasn't working properly,
plus i was getting "Firmware upgrade encountered an issue" on the phone,
whereupon trying to reboot the phone would just return to that message.
eventually i found that "heimdall close-pc-screen" clears that bootlockout,
tho only when omitting "--no-reboot".

jamiejackson/Heimdall <https://github.com/jamiejackson/Heimdall.git> did
work on vivid, i was able to realize, once i let go of looking for a blue
transfer bar on the phone, and stopped trying to flash CWM.  trying to
flash CWM always led to the "Firmware upgrade encountered an issue"
bootlockout.  perhaps a different version of CWM might have worked.
TWRP-2.8.7.0 at least had the grace to boot itself up but couldn't find
/sdcard.  TWRP-2.8.5.0
<http://techerrata.com/file/twrp2/hercules/openrecovery-twrp-2.8.5.0-sgh-t989.img>
worked.

>apt-get install android-tools-adb
>#tick t989 usb debugging, plug to pc
>adb push SGH-T989_UVMC6_radio.zip /sdcard/
>adb push SGH-T989_UVMC6_radio.zip.md5 /sdcard/
>adb push gapps-kk-20140606-signed.zip /sdcard/
>adb push gapps-kk-20140606-signed.zip.md5 /sdcard/
>adb push cm-11-20150823-NIGHTLY-hercules.zip /sdcard/
>adb push cm-11-20150823-NIGHTLY-hercules.zip.sha1 /sdcard/
>adb shell ls -a -l /sdcard/|sort -k4 -n|listsort|&t
>md5sum -c openrecovery-twrp-2.8.5.0-sgh-t989.img.md5
>#download mode(vol up&down & plug to pc)
>Heimdall/heimdall/heimdall flash --recovery
openrecovery-twrp-2.8.5.0-sgh-t989.img --no-reboot
>adb reboot recovery     #or vol up&power
>#use TWRP to wipe, and install radio, cm11, &gapps

first time i tried installing cm11, it barfed complaining my radio was
incompatible, which tempted me to think perhaps one of the roms touted on
galaxys2root might just include a compatible radio and be an easier way to
go, but i oogled around, found SGH-T989_UVMC6_radio.zip and used it, even
though i had to disable twrp's signature verification in order to use it.
at least the md5 passed.  twrp verifies using an .md5 file if present.
md5's are usually provided alongside .zip's but usually not in the form of
an .md5 file, tho the .md5 files are easy to make and provide a tad of
comfort when flashing, especially when flashing a radio without sig
verification.  i turned signature verification back on for cm11&gapps
<http://itvends.com/gapps/gapps-kk-20140606-signed.zip>.  the sig
verification checkbox in twrp's install dialog lead me to presume i could
choose per-zip, but no, the choice is per install batch, so i installed the
radio separately with it off, then cm11&gapps with it on.  no idea if this
repartitioning warning
<http://forum.xda-developers.com/showpost.php?p=44646889&postcount=381> is
applicable to cm11, but anyway i did flash it 3 times.

and indeed so far it does seem worth the effort, cm11 isn't grinding to a
standstill running firefox..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20150908/a9c5f4f4/attachment.html>