site

files for beauhilton.com
git clone https://git.beauhilton.com/site.git
Log | Files | Refs

commit 0011e6e4d0d1ce463db838528de4164d27e172f8
parent d86540d933e4d17587531fd5bf4a28e0f2707d62
Author: Beau <cbeauhilton@gmail.com>
Date:   Tue, 19 Sep 2023 22:52:00 -0500

update

Diffstat:
Mindex.json | 10++++++++++
Asite/camplist.md | 172+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asite/posts/pixel6screen.md | 126+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 308 insertions(+), 0 deletions(-)

diff --git a/index.json b/index.json @@ -1,5 +1,15 @@ [ { + "url": "/posts/pixel6screen", + "page_file": "site/posts/pixel6screen.md", + "nav_path": [ + "posts" + ], + "excerpt": "The internet, up to now, says you need Windows or MacOS to calibrate the Pixel 6's fingerprint reader after installing a new screen and digitizer.\nThe internet, up to now, was wrong.", + "date": "2023-09-19", + "title": "Pixel 6 DIY screen replacement, with fingerprint reader calibration\nusing Linux" + }, + { "url": "/posts/pagecrypt", "page_file": "site/posts/pagecrypt.md", "nav_path": [ diff --git a/site/camplist.md b/site/camplist.md @@ -0,0 +1,172 @@ +# Camping Checklist + +Adapted from REI's. + +## Campsite + +- [ ] Tent (and footprint, stakes) +- [ ] Tarp +- [ ] Stakes +- [ ] Sleeping bags +- [ ] Sleeping pads +- [ ] Camping pillow +- [ ] Headlamps or flashlights (and extra batteries) +- [ ] Camp chairs +- [ ] Camp table (if no picnic table) +- [ ] Lantern (and mantles and fuel/batteries if needed) + +Optional: + +- [ ] Sunshade, tarp or screen house +- [ ] Hammock +- [ ] Cots +- [ ] Sleeping bag liners +- [ ] Firewood sourced near campsite +- [ ] Camp rug +- [ ] Tablecloth and clips (or tape) +- [ ] Clothesline with clips + + +## Tools & Repair Items + +- [ ] Multi-tool +- [ ] Duct tape +- [ ] Extra cord +- [ ] Tent-pole repair sleeve +- [ ] Pad/Mattress repair kit +- [ ] Mallet or hammer (for hammering tent stakes) +- [ ] Saw or axe (for cutting firewood) +- [ ] Small broom and dustpan + + + + +camp mug icon +Kitchen +Many campgrounds have drinkable water. If not, bring your own, or be prepared to treat water if there’s a water source. Also, for even more ideas and food suggestions, see our separate Camp Kitchen Checklist. + +Stove and fuel +Matches/light/firestarter +Cook pots (and pot holder) +Frying pan +Eating utensils +Cooking utensils +Bottle opener, can opener, corkscrew +Sharp knife +Plates/bowls +Mugs/cups +Cutting board +Cooler +Ice or ice substitutes +Water bottles +Camp sink or wash bins +Biodegradable soap +Pot scrubber/sponge(s) +Trash/recycling bags +Dish towel +Optional: + +Camp grill and fuel +Grill rack +Griddle +Dutch oven +Charcoal +Portable coffee/tea maker +Rolling ice cream maker +Marshmallow/hot dog roasting forks +Small food-storage containers/bags/foil +Large water jugs +Large, clear plastic bins to store kitchen gear + + + + +pen and pencil icon +Campsite Extras +Most of the following items are optional, though depending on how remote your campsite is, navigation tools such as a map, compass and/or GPS may be required (for more info, read about the Ten Essentials). + + +Solar and portable power +Binoculars +Navigation tools +Field guides (flowers, insects) +Star chart/night-sky identifier +Book/reading material +Notebook and pen/pencil +Music player with headphones +Games and toys +Dog gear +Dry bags, stuff sacks or clear plastic bins to store items + + + + +puffy vest icon +Clothing & Footwear +Moisture-wicking underwear +Moisture-wicking T-shirts +Quick-drying pants/shorts +Long-sleeve shirts (for sun, bugs) +Lightweight fleece or jacket +Boots or shoes suited to terrain +Socks (synthetic or wool) +Sleepwear +Additional items for rainy and/or cold weather: + +Rainwear (jacket and pants) +Long underwear +Warm insulated jacket or vest +Fleece pants +Gloves or mittens +Warm hat +Optional: + +Swimsuits +Water sandals +In-camp sandals or booties +Bandanas + + + + +soap icon +Health & Hygiene +Toilet paper +Hand sanitizer +Toothbrush and toothpaste +Toiletry kit +Quick-dry towel +Menstrual products +Prescription medications +First-aid kit or first-aid supplies (see First-Aid Checklist) +Sun and bug protection: + +Sunscreen +Sunglasses (and sunglasses straps) +Sun hat +Lip balm +Insect repellent +Insect repellent device +Optional: + +Urinary products +Sanitation trowel (if no toilets) +Baby wipes +Alcohol or antiseptic wipes +Mirror +Brush/comb +Cosmetics +Spare eyeglasses/contact lens supplies +Eyeshades +Earplugs +Portable camp shower + + + + +personal ID and credit card icon +Personal Items +Credit card and/or cash +ID +Cellphone +Campsite reservation confirmation (if required)* diff --git a/site/posts/pixel6screen.md b/site/posts/pixel6screen.md @@ -0,0 +1,126 @@ +# Pixel 6 DIY screen replacement, with fingerprint reader calibration using Linux + +<time id="post-date">2023-09-19</time> + +<p id="post-excerpt"> +The internet, up to now, says you need Windows or MacOS to calibrate the Pixel 6's fingerprint reader after installing a new screen and digitizer. +The internet, up to now, was wrong. +</p> + +## Physical install + +My wife's Pixel 6's screen stopped working. +Seemed to be ok otherwise. + +We looked at the cost of replacing the phone vs repairing the screen. + +A similarly capable phone would cost quite a bit more than the replacement screen kit, +which was ~$130 from [iFixit](https://www.ifixit.com/products/google-pixel-6-screen-genuine). + +So we bought the replacement screen, +watched a few videos on YouTube, +and were off to the races. + +The tear-down and physical installation were easy. +Kudos to Google for making the Pixels easy to work on. +I won't give much detail here: just use the videos, +whichever ones have a bunch of views. + +I did waste the included screen adhesive on the first go-around, +because I didn't realize that the broken screen I removed had been separated from its frame +(so the old frame was still installed and I installed the adhesive to the its top, +rather than in the phone casing where it belongs, +and found out when the phone wouldn't click back together with the new screen). +It was about $10, including shipping, for a second adhesive (also iFixit). Fits like a glove. + +Total $140, and Verizon sent us a free new Pixel 7 anyway (long story), so now my wife has the 7 +and I upgraded from my old Pixel 2XL to this refurb'd Pixel 6. +Dang, what an upgrade. +Even though the Pixel 6 is widely considered the dud of the group, +I'm loving it. + +## Fingerprint reader calibration is needed + +After it was all installed and working well, +the next hurdle was recalibrating the fingerprint reader. +The fingerprint reader is part of the new screen, and needs calibrated, +or it will not even attempt to work (seems more an "activation" than a "calibration," no?). + +The website Google provides for calibration is <https://pixelrepair.withgoogle.com/udfps>. +If you look around the internet for troubleshooting related to this tool, +you'll see a number of old posts recounting various problems, +most of which seem to have been ironed out by this writing. + +However, the one problem I couldn't find a fix or update for was how to use that website +if you're not running Windows or MacOS. + +[This Redditor couldn't get it working on Linux or Windows, bad luck?](https://www.reddit.com/r/GooglePixel/comments/xq82ri/pixel_6_fingerprint_calibration/). + +[Anon is very angry at Google for not supporting Linux for the calibration (ctrl-F "linux" to find)](https://issuetracker.google.com/issues/217589152?pli=1). + +We no longer have anything but Linux/OpenBSD systems in the house +(while I love FOSS and feel some glee in this fact, +it is not entirely on purpose, and I don't hate Windows or MacOS - +my wife's MBP met an early demise at the thrown milk cup of a boisterous toddler, +or I would have tried that machine first +to avoid the possible headache of ironing out a solution for Linux for a [hopefully] one-time computing event.). + +The udfps website was finding my phone, but refusing to go further. +I was in fastboot. +Browser didn't matter (tried OG google-chrome-stable, vivaldi-stable, firefox). +USB-A vs USB-C computer-side connection didn't matter (some folks mentioned needing USB-A, so I tried). +Activating Android developer mode didn't help, +and activating USB debugging within the developer options didn't either. + +I saw some posts talking about installing USB drivers to get udfps to work for Windows machines, +so decided to poke around and see if maybe it was a driver issue on Linux as well. + +It (probably) was. + +## Android build tools to the rescue + +On Arch Linux +(these tools are widely available, +distro doesn't matter, +this is just what I used): + +```shell +paru # make sure things are up to date generally +paru -S android-tools android-sdk-build-tools # includes adb and other goodies +reboot +``` + +After grabbing the Android build tools listed above and rebooting, +the website found my phone and ran the calibration software without a hitch. +It didn't seem to work prior to rebooting, +and I'm a lazy cretin/wizened ol' wannabe sysadmin, +so fancy a reboot to fix all of life's woes. + +I don't recall if I used vivaldi-stable or google-chrome-stable to run udfps, +but I think it was the prior +(I bet any Chromium-based browser would work, +provided the right system tools are in place). + +I also can't remember if I used USB-A to USB-C or dual-sided USB-C, +but I think it was the dual USB-C. (I did this all on a Thinkpad T14s) + +I do think developer mode and USB debugging active on the phone are required, +but I'm not completely certain. + +In any case, fingerprint unlock is a go! + +Almost too easy. + +## Manual clean up - what, you think this is NixOS? + +Unless you're an Android dev, you probably won't need the tools again, +at least not for a long while, so: + +```shell +paru -R android-tools android-sdk-build-tools # about 156MiB, not much, but it's the principle of the thing +``` + +## Next steps +### ? 🦒 ? + +idk, maybe.