## How I fixed the lag issue on my Nexus 5x

If you Google Nexus 5x lag, you will see many users complaining about lag on the Nexus 5x. If you follow the threads, some people will complain about lag. Others will say they've experienced no lag. Some seem to think it has to do with faulty units (vs. non-faulty units). Others seem to think it has to do with not-yet-optimized-for-Marshmallow apps.

I, too, experienced the lag, but I chalked it up to Marshmallow still needing some kinks ironed out or the difference in performance between an encrypted Android vs. an unencrypted one. It also wasn't horribly debilitating a lag—it was just slightly annoying. It would be an extra second switching apps or an extra second for an app to load after being selected.

I tried uninstalling some apps I thought might be problematic. I also tried clearing the cache partition (that would make things a little better for maybe an hour or so, but then the lag would return).

Finally, I did what I really didn't want to do: I did a factory reset. I backed up all my data to my computer and did a full wipe of all my phone's contents. Now this, I think, is the most important step: when setting up the phone, I chose not to restore backed up data from Google's servers and just do a fresh, clean setup. It was annoying, of course, because I had to go through all my settings and tweak them and manually download all my apps again, but it was totally worth it. Now there's absolutely zero lag. The phone performs just as well as my old Moto X 2013.

I don't know that this is the definitive solution, but it worked for me. So if you're one of those Nexus 5x users who's experiencing the dreaded lag, take the 3-4 hours to back up your data locally, do a factory reset, do not restore backed-up data associated with your Google account, then re-download your apps, restore your local backup, and re-configure everything again fresh. You, too, may find it totally worth the trouble.

## Star Wars, Episode VII success not a surprise

What is with Entertainment Weekly?:

So now what? Just as it was hard to predict The Force Awakens’ opening weekend, it’s also hard to predict what it’ll do from here. Because of the holidays, movies opening in December usually see a smaller debut but much, much bigger multiples. A December opening like this is unheard of (the previous December record was held by The Hobbit: An Unexpected Journey, which debuted to $84.6 million). But movies like Avatar, which only opened to$77 million in 2009, went on to make almost \$750 million domestically, making it the biggest movie of all time. We’ll have to see what happens over the next few weeks and whether The Force Awakens can not only score a big opening, but a big final total, too. [ Emphasis added ]

Are they kidding? It's not hard to predict. The pre-sale tickets sold out immediately. Everyone I knew who was a Star Wars fan (and even those who don't identify that way) was itching to see the film. Right now—during opening weekend—I have a lot of friends who have seen the film multiple times and have plans to see it more times still.

After three horrible prequels (yes, they were horrible!), people are looking for just at least a passably average sequel now, and they got something half-way decent (some people are saying amazing, but I'll respectfully disagree), so they're going to town. The Force Awakens will continue to break records. We don't have to see if it will "score... a big final total." We just have to wait to see how big the big final total is.

## Manually installing an OTA update for the Nexus 5x

In theory, your device should automatically check for an OTA (over-the-air) update, download it in the background, and then prompt you to install the update. No matter how much I manually checked, my device kept insisting it was up to date (I know Google likes to do staggered automatic rollouts, but it's just annoying when I manually initiate a check and Google still insists on not giving me the update).

These are just slightly more detailed step-by-step instructions based on Android 6.0.1 Marshmallow OTA Links for Sideloading. This GitHub page has a list of OTA updates for Nexus devices. Find the download for your device. I'm using my device (Nexus 5x) as an example. In theory, the instructions should be very similar for other Nexus devices.

## Find your device's build number

There are two different 6.0 builds for the Nexus 5x (MDB08L and MDB08M). To find out which one was mine, I had to go to Settings > About phone > Build number to find out my build was MDB08L.

For the U.S. version of the Nexus 5x, the upgrade is MHC19J from MMB29Q.

## Enable USB debugging

While you're in the About phone section, tap the Build number and keep tapping it until you get a notification that developer options are now enabled. Then go to Settings > Developer options and scroll down until you get to USB debugging and tap the toggle next to it to enable it.

## Get the Android SDK

Google used to have an easy-to-find SDK download link. Now it points you to Android Studio instead, which you can use to install the SDK using SDK Manager if you go to Tools > Android > SDK Manager. You may, somewhere on the Android developer website be able to track down a standalone SDK download if you dig around enough.

It took me a while to find exactly where the SDK installed to. Eventually, I found it it was installed to /Users/username/Library/Android/sdk/platform-tools (I'm using a Mac—it's probably a similar path for Windows, maybe in /Users/username/AppData?).

## Do the actual flashing of the OTA

Disclaimer: Uh, these instructions worked for me, but absolutely this is at your own risk. I'm not at all responsible (nor is the person who wrote the tutorial on which this is based) for any damage you might do to your device.

Open up a terminal (again, I'm using a Mac, so it's in /Applications/Utilities/Terminal.app; if you're using Windows, find cmd.exe and launch that up instead).

At this point, plug your device into your computer using a USB cable. You may have to switch to PTP mode to get it to work.

Change directories to where adb is:

Substitute in your actual username for username. And don't forget you can use the Tab key to autocomplete directory names instead of manually typing out the full path.

Make sure your device shows up in the list of devices:

Use the volume down key to focus on Recovery. Once that's in focus, press the power button to select it.

You'll see what looks like an error and a dead Android lying on its back. Press the volume up key and power buttons at the same time until you get to a list of menu options.

Use the volume down key until you get Apply update from ADB into focus. Then press the power button to select it.

You should then see a message that says Now send the package you want to apply to the device with "adb sideload ."

Back on your computer, enter a command similar to this one (again, Tab completion is your friend—you don't want to manually retype the full filename of the OTA update you downloaded:

You'll then see output similar to this in the terminal on your computer:

with little progress percentages going up along the way.

Meanwhile, on your phone/Android device, you'll see output similar to this:

Finding update package...
Opening update package...
Verifying update package...
Installing update...
Verifying current system...
Verified system image...
Verified vendor image...
Patching system image after verification.
Verifying the updated system image...
Verified the updated system image.
Patching vendor image after verification.
Verifying the updated vendor image...
Verified the updated vendor image.
Patching the boot image...
script succeeded: result was [1.000000]

When that's done, use the volume up key to highlight Reboot system now and then press the power button to select it.

After your device reboots, you should see something like Android is upgrading...
Optimising app # of 66
.

That's it! Your update should now be installed.

## Pure Ubuntu 15.10

These removal commands were created based on what Kubuntu, Xubuntu, etc. packages were added to a default Ubuntu 15.10 installation. It's possible that the commands might remove some other packages you have since added to the default and want to keep. If that's the case, keep track of which packages those are and reinstall them. Theoretically, your settings should still be there. I am not responsible for any damage you do to your *buntu installation. If you're worried about breaking anything, do a full back up of your *buntu installation.

Remove Kubuntu
Paste this command into the terminal.

Remove Xubuntu
Paste this command into the terminal.

sudo apt-get remove apt-offline blueman brltty-x11 catfish debian-archive-keyring desktop-base espeak exo-utils gawk gigolo gir1.2-cheese-3.0 gir1.2-clutter-1.0 gir1.2-cogl-1.0 gir1.2-coglpango-1.0 gir1.2-gtkclutter-1.0 gmusicbrowser gnome-icon-theme gnome-icon-theme-symbolic gnome-system-tools gnome-themes-standard gnome-themes-standard-data greybird-gtk-theme gstreamer1.0-libav gtk-theme-config gtk2-engines-pixbuf hddtemp i965-va-driver inxi libaacs0 libavcodec-ffmpeg56 libavformat-ffmpeg56 libavutil-ffmpeg54 libbdplus0 libbluray1 libcairo-perl libcrystalhd3 libdigest-crc-perl libexo-1-0 libexo-common libexo-helpers libextutils-depends-perl libextutils-pkgconfig-perl libgarcon-1-0 libgarcon-common libglade2-0 libglib-object-introspection-perl libglib-perl libgme0 libgsm1 libgtk2-notify-perl libgtk2-perl libgtk2-trayicon-perl libgtkspell0 libintl-perl libjpeg-progs libjpeg-turbo-progs libkeybinder0 libmodplug1 libmp3lame0 liboobs-1-5 libopenjpeg5 libopus0 libotr5 libpango-perl libreoffice-style-elementary libschroedinger-1.0-0 libshine3 libsigsegv2 libsoxr0 libssh-gcrypt-4 libswresample-ffmpeg1 libtagc0 libthunarx-2-0 libtumbler-1-0 libtwolame0 libunique-1.0-0 libva1 libvdpau1 libvte-common libvte9 libwnck-common libwnck22 libx264-146 libx265-59 libxfce4panel-2.0-4 libxfce4ui-1-0 libxfce4ui-2-0 libxfce4ui-common libxfce4ui-utils libxfce4util-bin libxfce4util-common libxfce4util7 libxfcegui4-4 libxfconf-0-2 libxvidcore4 libzvbi-common libzvbi0 light-locker light-locker-settings lightdm-gtk-greeter lightdm-gtk-greeter-settings lm-sensors menulibre mesa-utils module-init-tools mousepad mugshot numix-gtk-theme orage parole pastebinit pavucontrol pidgin pidgin-data pidgin-libnotify pidgin-otr pinentry-gtk2 plymouth-theme-xubuntu-logo plymouth-theme-xubuntu-text python-defusedxml python-magic python-psutil python-soappy python-wstools python3-psutil ristretto shimmer-themes system-tools-backends thunar thunar-archive-plugin thunar-data thunar-media-tags-plugin thunar-volman tumbler tumbler-common va-driver-all vdpau-va-driver xfburn xfce4-appfinder xfce4-cpugraph-plugin xfce4-dict xfce4-indicator-plugin xfce4-mailwatch-plugin xfce4-netload-plugin xfce4-notes xfce4-notes-plugin xfce4-notifyd xfce4-panel xfce4-places-plugin xfce4-power-manager xfce4-power-manager-data xfce4-power-manager-plugins xfce4-quicklauncher-plugin xfce4-screenshooter xfce4-session xfce4-settings xfce4-systemload-plugin xfce4-taskmanager xfce4-terminal xfce4-verve-plugin xfce4-volumed xfce4-weather-plugin xfce4-whiskermenu-plugin xfce4-xkb-plugin xfconf xfdesktop4 xfdesktop4-data xfpanel-switch xfwm4 xscreensaver xscreensaver-data xubuntu-artwork xubuntu-community-wallpapers xubuntu-core xubuntu-default-settings xubuntu-desktop xubuntu-docs xubuntu-icon-theme xubuntu-wallpapers && sudo apt-get install ubuntu-desktop

Remove Lubuntu
Paste this command into the terminal.

Remove Edubuntu
Paste this command into the terminal.

## Pure Kubuntu 15.10

These removal commands were created based on what Ubuntu, Xubuntu, etc. packages were added to a default Kubuntu 15.10 installation. It's possible that the commands might remove some other packages you have since added to the default and want to keep. If that's the case, keep track of which packages those are and reinstall them. Theoretically, your settings should still be there. I am not responsible for any damage you do to your *buntu installation. If you're worried about breaking anything, do a full back up of your *buntu installation.

Remove Ubuntu
Paste this command into the terminal.

Remove Xubuntu
Paste this command into the terminal.