Thursday 7 September 2017

How to replace Kingoroot with supersu

Greetings!!!

I am very much into rooting, installing custom recovery and then loading custom ROMs on to my mobile phones. There are several ways in which an android device can be rooted.

Two major techniques are either using computer or rooting from the mobile itself. This second method involves using an app. There are several apps that can be used to root an android mobile. However, below are some of the most famous ones:-

Framaroot
Kingoroot
Towelroot

There might be a situation when you rooted your device by means of any of the apps above and now you want to move to supersu. For this, follow the below steps:-

1. Root your device with Kingoroot (latest version)
2. Install an older version of supersu
3. Then from this older version of supersu, remove the root permissions associated with Kingoroot
4. Uninstall the Kingoroot
5. Upgrade the supersu to latest version, either via playstore or by using Flashify (you will have to download the latest supersu supported by your device)


Enjoy!! You have successfully replaced the Kingoroot with supersu!!


Wednesday 6 September 2017

Delete all the files and folders inside a folder in DOS



Greetings!!

Recently i faced a scenario where i was unable to delete the log files because of some error related to path being too large.

After some thought, decided to use the DOS to achieve the same. Tried several commands such as del, deltree, rm, rmdir etc.

The command that I found to be the most effective was as below:

cd c:\Performance\logs [Command to navigate to the logs folder]
rd . /q /s                           [Command to delete all the files in this logs folder]



Please make note of the “.” in this command. 

Note: Because you are in c:\Performance\logs, it will fail to remove that folder but everything else will be deleted.

Cheers!!