Posts

Showing posts from September, 2014

Unbrick or Recover Xiaomi Redmi 10A and other MTK devices

Case: Your Redmi 10A (probably other MTK devices too) is not turning on and doesn't react to any button pressed nor cable connection. Requisites:   Dead phone USB Cable  You tried tons of tutorials to unbrick the phone and didn't work This image Willingness to even use Linux to fix it (it's not hard) Steps: Create a bootable USB using the image downloaded. Make sure your computer allows booting from USB. Boot the computer from the bootable USB. When booting, a list of options will be shown. Pick the first one: Boot Live system. Once the system is loaded, go to the right-upper corner to connect to Wi-Fi. Once you have internet, use the Firefox browser (click on the icon in the left-upper corner) and download the Linux version of this tool (SP Flash) and save it in the desktop. Unzip the tool downloaded. Download the fastboot version of the stock ROM . Unzip the ROM, to have the folder and files. Click on 'MTK' icon that is in the desktop. In the command line opene

Making Queries to Compare Dates in SQL Server

It's time to share a little tech knowledge!, when you are working with databases, SQL Server specifically, it's a good practice to keep in some tables records that could be used as auditing information, for this purpose you need to save date of the performed operation necessarily. However, when the audit comes, you open your database to make a query against it but you think at that moment whether you should use <,>,= operators or you could write the date as is or you must use it as text and so on. Well, too much thinking, the answer is to use the "between" keyword and putting date as text including time as shown. select  *  from Scheme .OperationAudit where AuditDate between   '07/01/2013 00:00'   and   '08/14/2013 23:59'  order by AuditDate asc Remember that date format depends of format used by the server, this is easy to know by using 13, yes, put 13 first in the date and if the query shows error then the month is not f