Wednesday, January 4, 2017

MessageSync is still the best, right through to Nougat. All messages backed up and restored along with conversations that have more than one participant and significantly: MMS too!! But it has problems with emoji's. Also, the function within the app, "Synchronize" messages with backup file or "merge" with backup file is funky *see reviews for the app on Google Play Store.
JS Backup - Restore & Migrate seems good but has problems with MMS; emoji's and group conversations seem okay. Also, JS Backup tells you how many SMS and MMS items to backup before you actually run the backup.
Titanium Backup Root is excellent but requires root. Also, due to a change in the location of the com.android.providers.telephony folder with Nougat, TiBu has problems restoring to the folder. Method to make it work is as follows:
Recommend adding your Google accounts and Whatsapp accounts so that all your contacts are restored and conversations have proper names prior to following the steps below.
1. Device must be rooted and install something like ES File Explorer v4.0.2.2-systemless or use Terminal Emulator and use the 'su' command.
2. Navigate to the new Nougat SMS/MMS folder in /data/user_de/0/com.android.providers.telephony.
3. Make sure radio:radio owns the app_parts, databases, and shared_prefs folder and permissions are drwxrwx--x. Erase all files within these folders.
4. Reboot.
6. Open Titanium Backup and go to the Phone and Messaging Storage 7.0 (SMS/MMS/APN) item. Run restore from your TiBu backup files (.properties file and the large timestamped .tar.gz file) which you've placed into /storage/emulated/0/TitaniumBackup.
7. Move attachment files and databases from /data/data/com.android.providers.telephony subfolders to the corresponding folders in /data/user/0/com.android.providers.telephony. Make sure to move contents of app_parts first, and then contents of databases while replacing the existing files in that folder.
8. Make sure to reboot before opening Messaging app!
9. Wait a few minutes for Messaging app to catch up with restored messages.

I haven't yet tried the XML function of TiBu which requires pro version.

If you want TiBu to be able to see the folder location in Nougat, you can Symbolic link ln -s /data/data folder to the /data/user_de/0 folder. This only lets you Explore but the wipe data and restore functions will replace the symbolic link and make a new folder in /data/data unfortunately.

If all else fails, was thinking of trying to combine restores from both Message Sync and JS Backup apps. First go into messagesync XML file created from the backup process and removing all the SMS's. Then restoring just the remaining MMS from the edited XML. Then restoring only the SMS from JS Backup.

Thursday, October 13, 2016

Some differences when opening georeferenced imagery between QGIS and ArcGIS

Just did some minor testing after trying the Georeferencing toolbar in ArcGIS to create some world files (.jpgw, .pngw, .ecww, .tfw, etc.) and wanted to see how these two GIS suites treat the result. Normally I use MapWindow GIS to georeference aerial photos but it's very slow and has some strange bugs that might deserve another blog post.

The aerial photos were received from the provincial agency as MrSID files and were converted to ecw using IrfanView. Neither the original SID files or the ECW files had embedded projection information. In ArcGIS, I used the georeferencing toolbar and added five control points then chose Projective Transformation rather than the default Affine 1st Order Polynomial method to transform the raster. Upon clicking Update Georeferencing (Save the current warp to the dataset) from the toolbar, two files are created with the same name prefix as the .ecw file but with different extensions. They are photoname.ecw.aux.xml, and photoname.ewwx. The .ewwx file contains the image-to-world file transformation parameters using 1st Order Polynomial. The original ecw image file was untouched by this process.

I also made a copy of the photoname.ewwx file and renamed the extension to ecww so there was a file named photoname.ecww that QGIS and MapWindow can use.

It seems that although QGIS can read the ecw.aux.xml for the projection information (so it doesn't need a .prj file), it can not read this auxiliary file's contents for the higher order polynomial transformation. Thus there is a difference in the accuracy of the georeferenced raster when loaded, between ArcGIS and QGIS. In ArcGIS, if a more complex transform higher than 1st order polynomial was used to create the aux.xml and ewwx files, then it will show the raster with the higher order transformation method applied. If one decides to load the raster into QGIS, then QGIS will only use the world file (.ecww) and perform affine transformation on it.


Thursday, June 30, 2016

Friday, April 8, 2016

A list of "All-Weather" tires with the Mountain/Snowflake symbol and where to get them

Though the design and compounds have been around a few years now, it was surprisingly difficult to find tires that are truly All-Weather (good for every season) per Transport Canada standards and meet or exceed the Rubber Association of Canada performance requirements. Since my tires need replacing and I'm not looking for soft winter-specific tires, I have compiled a list of tires that have the mountain/snowflake rating based upon my search. Perhaps you'll find this list useful and that it saves you time.

Nokian pioneered this class of tires and was the first to market but there are now a number of brands with a limited selection.
http://www.wheels.ca/news/all-weather-tires-are-not-the-same-as-all-season-and-heres-why/

These makes include: Kumho, Toyo, Falken, Michelin, Vredestein, Hankook, Yokohama, and Nankang, Michelin, Multi-Mile, and Muteki.  Additionally, some are exclusively sold at certain retailers.



Tires that have the 3PMSF icon and are all-weather capable
Manufacturer Model Retailer Size Limits/ Tire diameter
Nokian Nordman WR & WR SUV Kal Tire (Exclusive) Smallest size: 155/70R13 = 21.5", Largest size: 225/55R17 = 26.7"
Nokian WRG3 & WRG3 SUV Kal Tire (Exclusive) Smallest: 175/65R14, Largest: 255/40R19,
SUV Smallest size: 235/75R15 = 28.9", SUV Largest size: 275/40R21 = 29.7"
Nankang SV-2 Kal Tire Smallest size: 175/70R13 = 22.6", Largest size: 235/75R15 = 28.9"
Kumho The Road Venture SAT (KL61) Mopar Dealers (Dodge/Jeep/Fiat),
OK Tire,
, http://www.1010tires.com/
Smallest size: 225/75R15 = 28.3", Largest size: 265/50R20 = 30.4"
Kumho Solus HA31 Mopar Dealers (Dodge/Jeep/Fiat), http://www.1010tires.com/ Smallest size: 145/80R13 = , Largest size: 225/45R17 =
Toyo Celsius & Celsius CUV OK Tire,
http://www.1010tires.com/,
https://pmctire.com/
Smallest size: 185/65R14
Largest size: 265/50R20
Vredestein Quatrac 3 & Quatrac 3 SUV http://www.1010tires.com/
https://pmctire.com/
Smallest size: 155/70 R 13
Largest size: 255/55 R 19
Vredestein Quatrac 5 https://pmctire.com/ 2
Hankook Optimo 4S Canadian Tire (Exclusive) Smallest size: 175/65R14 = , Largest size: 225/50R17 =
Yokohama Geolandar A/T G015 https://pmctire.com/
http://www.tirerack.com/
Smallest size: 215/75R15 = Largest sizes: 305/55R20 = , 35X12.50R20 = 35"
Falken Wildpeak A/T3W https://pmctire.com/ Smallest size: 235/75R15 = , Largest size: 325/60R20 =
BFGoodrich All-Terrain T/A® KO2 Mopar Dealers (Dodge/Jeep/Fiat),
https://pmctire.com/
Smallest size: 235/75R15 = , Largest size: 325/60R20 =
Michelin Pilot Alpin PA3 Canadian Tire
https://pmctire.com/
http://www.tirerack.com/
Smallest size: = 205/55R16, Largest size: = 285/40R19
Michelin Pilot Alpin PA4 Canadian Tire
http://www.tirerack.com/
Smallest size: 225/40R18 = , Largest size: = 315/35R20
Michelin Primacy Alpin PA3 Canadian Tire
http://www.tirerack.com/
Smallest size: = , Largest size: = 225/45R17
Minerva Emizero 4s https://pmctire.com/ Smallest size: = , Largest size: =
Muteki Trail Hog Kal Tire Smallest size: 265/75R16
Largest sizes:
325/60R20 = 35.4",
37X12.5R20 = 37"
Multi-Mile Wild Country XTX Sport Kal Tire 275/65R20 = 34.1"
Nitto EXO Grappler AWT Kal Tire, http://www.1010tires.com/ Smallest size:
235/80R17
Largest sizes:
305/55R20
35X12.50R20
Nokian Rotiva AT Plus Kal Tire ?

With respect to other tire models that do not have the 3-peaked mountain/snowflake rating yet might actually deliver, however subjective, sufficient or excellent performance in diverse weather conditions including snow, they are not listed here but may be numerous.  Besides reading reviews, it's worth looking at Quebec's Bill 42 (an Act to Amend the Highway Safety Code) passed in 2008 and lists the following as acceptable tires for winter driving: Tires on which one of the following inscriptions appears: Alaska | Arctic | A/T or AT | Blizzard | Ice | LT | Nordic | Snow (but not Mud & Snow) | Stud | Ultratraction | Winter.  Note that after December 15, 2014, in Quebec, these inscriptions on tires were no longer compliant with the statute and only those tires that have the 3-peaked mountain/snowflake
icon are in compliance for winter driving.  
Of course, the class of winter-dedicated tires are probably compliant with Quebec's law but that is not the topic of this blog post.
Source: https://www.caaquebec.com/en/on-the-road/advice/tips-and-tricks/tip-and-trick/show/sujet/mandatory-winter-tires-important-clarifications/

Wednesday, March 16, 2016

A simple way to view Shadow Copies on Windows 8.1 without installing or downloading software

Upon pressing "undo" accidentally in File Explorer on my Surface Pro 3, Windows 8.1 performs bad behaviour.  See details and frustration others have had here: answers.microsoft.com thread

It seems Windows 8.1 made all the contents of the folder disappear as a consequence of undoing a previous rename of the folder from "New Folder".  That is, the file entry in the Master File Table was lost. Hopefully the entries were deleted and the space is reusable (I'm not sure what how Windows manipulates the MFT in this case).

So, I wanted to recover the files from that folder.  I first found out that Windows 8 has two kinds of "backup" systems, one called File History that is intended to make regular replicas of the tracked Libraries to a separate physical disk or to a network share.  Since this File History wasn't configured and not turned on by default on my SP3, I looked toward Volume Shadow Copy, which appears to be enabled by default on the C: drive.  You can check your "System Protection" tab in System Properties to see if this is the case for you by following the first part of this tutorial: https://www.youtube.com/watch?v=jsIDfyNg7KE
In fact, you can follow the entire video if you feel you want to try the software he mentions, ShadowExplorer.

Alternatively, if you don't want to download any software and happen to have a Windows 7 Pro machine at your disposal on your network, then you can just navigate to the Windows 8.1 machine and right click the folder of interest to see Previous Versions.  This is how I recovered my files and viewed the snapshots of my Documents folder on my SP3.

Interestingly, if you try navigating to \\localhost\C$ on the Windows 8.1 computer without any software installed, you'll be able to see the Previous Versions tab, but it will be empty.  So in my case, from the Windows 7 Pro machine, I navigated to \\SP3\Users\name\Documents\ and right-clicked properties on the folder of interest.  This showed me Previous Versions with a list of snapshots and their dates.

I was afraid at first that I didn't have any shadow copies to restore because checking the Services tab in Task Manager on my SP3 indicated the VSS (Volume Shadow Copy) service was Stopped.  Also, this article says that Volume Shadow Copy Service in Windows 8 is set to manual and does not run on system startup.  Lucky for me, Shadow Copies were being made and I was able to use a Windows 7 computer on the same network to browse the "Previous Versions" of the folders on the SP3 running Windows 8.1 without even downloading other software such as ShadowExplorer mentioned above or Z-VSScopy.

Sunday, June 8, 2014

Silly Apple, customer-losing the Source (Circuit City/Radioshack), Amazon proves itself again!

Apple is so lame! This is another reason why I don't own any Apple products: they require me to install bloated iTunes software just to send a digital iTunes store gift card.

Meanwhile I purchased a physical gift card at the Source (by Circuit City) and the complete idiots there did not activate it properly. They required the physical card to activate it, which I gifted away and did not have access to for months.  Then the Source was unable to activate it and I lost my money!!!  The Apple Store was also unable to help as it is outside of their system... I am so pissed at the Source; that company had better disappear.

As for Apple, making it near impossible for me to buy a digital gift card without an Apple product or iTunes, I can't express the numerous other reasons why Apple still sucks.  I even tried asking someone who owned an iPhone to help me make the purchase via their phone but they thought it was too complicated.  So frustration!

Months after giving the card in the first place, a few pages into Googling Canada iTunes gift card online delivery, I found out that Amazon.ca can do it and at a value you specify.  Took me less than two minutes!

Is it not obvious as to why Amazon is kicking the crap out of other retailers and why everyone loves to hate Apple?

Wednesday, January 16, 2013

DWL-G122 Rev. A2 Wireless Adapter on Linux

Finding working drivers for D-Link DWL-G122 Rev. A2 USB Wireless Adapter to use in Linux Mint 14 (32-bit) based on Ubuntu 12.10.

The adapter is only compatible with WPA and WEP security modes; not compatible with WPA2.  PSK can be used.  This adapter could not connect to a router running in 802.11g/n mixed mode; but does associate with a router set in 802.11g mode.

On Mint/Ubuntu, attempts to use the native p54usb kernel module, and the necessary isl3887usb firmware placed in the correct /lib/firmware path resulted in dmesg log lines "authentication with AA:BB:CC:DD:EE:FF timed out" despite success registering drivers to the interface.  See firmware installation instructions at http://wiki.debian.org/prism54. There appears to be a newer version of the isl3887usb firmware available here, http://wireless.kernel.org/en/users/Drivers/p54, which I did not try

I had success using the old method I had running on an earlier edition of Ubuntu. Ie. load ndiswrapper

Use ndiswrapper kernel module and install Windows drivers from D-Link website.  However, D-Link Support website does not list Rev. A2 (as of 2013-01) but the correct driver is available on their FTP server at: ftp://ftp.dlink.com/Wireless/dwlg122_revA2/Drivers/dwlg122revA2_driver_102.zip

Encountered "FATAL: Module ndiswrapper not found." when trying to sudo modprobe ndiswrapper or when trying to install Windows drivers for the adapter via ndisgtk.  Downloading and installing ndiswrapper-dkms_1.58~rc1-0ubuntu1_all.deb worked. Older version ndiswrapper-dkms_1.57-1ubuntu1_all.deb did not.  Follow procedures at http://askubuntu.com/questions/132894/how-to-fix-ndiswrapper-not-found

Probably want to blacklist p54usb if you want to get ndiswrapper to work.