Showing posts with label tutorials. Show all posts
Showing posts with label tutorials. Show all posts
Saturday, December 16, 2017
HOW TO ROOT ANY ANDROID PHONES SEE ANDROID AND TRICKS FOR THE TUTORIALS
HOW TO ROOT ANY ANDROID PHONES SEE ANDROID AND TRICKS FOR THE TUTORIALS
HOW TO ROOT ANY ANDROID PHONE
Hello Friends. From past 3 days I was on an rooting rampage with my HTC Tattoo android phone. I was a fan of Android before I ever rooted my phone and now I am in love with it since I have rooted it. The real power of any operating system lies when you have the command of the super user. This is what rooting is all about.
Rooting a device needs two things. First the right set of files for rooting and second the courage to play with a 12,000 Rs phone that you bought by saving your earnings( the cost of phone may vary depending upon the heaviness of your surname). These days I started small development work on android to learn its basics. I am looking forward to dive deep into this mobile OS. From past few days I was very much troubled with the word "rooting" and was getting really restless about it. Finally I decided on 17-07-2013 to finally sit down,leave all work and start my work on android rooting. So i started with working on android SDK first. Working of Android SDK is fairly simple and is just like the linux command line( in-fact it is a unix command line). After getting an overview of the basics of android-windows-sdk , I switched on to look for various commands and mode of working of it. Then I moved ahead to root my android phone. And finally after a struggle of 3 days I finally rooted my phone and installed a custom ROM. Oops I forgot to define what is rooting.
Rooting means to gain permissions of a superuser or the root user in any Unix based OS. This is a universal definition for a unix based Os which contains a special super user called root.
So to gain privilege of root is called rooting.
Android sdk also contains a a superb tool calld Android Debug Bridhe(ADB). It is a tool that is used to send commands to the android device using a laptop/PC. We will be extensively using it in this experiment.
Well there are lots of excellent rooting tutorials and videos available on the internet for free. You can find lots of useful resources. I will recommend you to check the threads of xda-developers forum which has some of the finest posts on rooting android phone. The main reason for creating this post is to let my readers gain intrest in exploring things. The fun of gadgets is not just in using them. The real fun lies in technically playing with them. So I am creating this post to encourage my readers to explore their android devices ( rather spoil!! ) and feel its power.
I still tried to remain a bit different from various soruces I found on the internet and which I used to root my phone. What I have done here is I have created a single folder called tattoo.rar which can be downloaded from here - DOWNLOAD.
This file can be directly downloaded and unzipped to any drive. Then by using the set of commands below you can get root privilege to your phone and later on install a higher version of Android ROM on it.
Before we begin we will have to download the android sdk. It can be downloaded from HERE. Once you have downloaded it, unzip it to any drive, say C drive. Open the folder and run SDKmanager.exe . If you are running it for the first time then it will show you a list of packages that you can install from the list.
You will have to install just one package for the time being. That is Android-sdk platform tools.
Once you have finished installing the pakage the next thing you can do is set the class path in environment variables. This is an optional step but it can speed up your process of working.
To set up the environment variables Right click on My Computer, Go to properties, then Advance System Settings , then Environment Variables. In System Variables, look for PATH. Double click on it to edit it. Then add the following path in it :
;c:android-sdk-windows ools;c:android-sdk-windowsplatform-tools
Now you are all set. To check what you have done, open command prompt type adb. Yo will see a list of options.
Now coming back to the downloaded file, tattoo.rar. Unzip it to any folder of your choice. Suppose I unzipped it in my c drive.
Now start command prompt and change directory to c:/tattoo
Your prompt should look something like this : c:/tattoo>
Now plug your HTC tattoo to USB. At the command prompt type the following command;
adb devices
If it shows a device listed, it means your device is connected and responding.
Let us proceed. Now execute the following commands in the same sequence as mentioned.
1. Lets say you have everything unpacked into C:Tattoo
2. In your terminal (on your PC) type:
- adb shell "mkdir /data/local/bin" (if it returns an error it means that the directory already exists, just proceed)
- adb push m7 /data/local/bin/
- adb push su /data/local/bin/
- adb push flash_image /data/local/bin/
- adb push tattoo-hack.ko /data/local/bin/
- adb push recovery.img /sdcard
- adb push boot.img /sdcard
3. We have every needed file on the phone now. Type now (we are still in your terminal):
- adb shell
$ cd /data/local/bin
$ chmod 766 m7 (I dont retain this step as mandatory, so if this process fails, just proceed)
$ while ./m7 ; do : ; done
lots of text until you see something like "wrote shell code", press enter 2 or 3 times enter to see:
#
4. Then perform this:
- # export LD_LIBRARY_PATH=/system/lib
- # export PATH=/system/bin
- # insmod ./tattoo-hack.ko
- # mount -o rw,remount /dev/block/mtdblock5 /data
- # mount -o rw,remount /dev/block/mtdblock3 /system
- # cat ./su > /system/bin/su
- # chmod 4755 /system/bin/su
- # chmod 755 ./flash_image
Successful execution of these commands will root your device and you can now have full rights on your HTC tattoo phone.
Now how to check if rooting is successful or not. To check it, switch off your phone. Now press the "Home" key and then power it own. You will see a recovery screen similar to the one in figure.

As you can see you are now presented with certain boot options which were previously not available for you. Now along with rooting the device with the set of commands mentioned above, we also flashed the SD card so that it becomes capable of installing custom ROMs. Custom ROMs are developed using a perticular version of android with a different interface. Installing a custom ROM can enhance your mobile performance. You can find lots of custom ROM available on the internet. I would recommend to check out this page - Custom ROM. It has whole list of custom ROMs for HTC Tattoo.
I chose a custom ROM based on Android 2.3 Gingerbred so as to upgrade my old Android 1.6 pre-installed OS. This is the biggest advantage of rooting. You can install higher versions of OS even if the manufacturer is not producing updates. All you have to do is simply download a custom ROM and copy it in the SD card. Dont copy in any folder, just inside the card in zip format. Now in the above image you will find an option "install zip from SD card". Once you click on it you will be presented with a screen similar to the one shown below :
You can see the two zip custom ROMs available on my SD card which I had copied. Now I can select any one of them and install it on my phone. Once the installation is complete, reboot your phone and you are ALLLLL DDOONNEE !!
Finally you will have a new version of android installed on your phone.
SPECIAL NOTE : Rooting has certain advantages but it has disadvantages too. There can be several components which might not function properly. So before installing any custom ROM make sure it has all the basic common functions. Like in my case the Camera is not working but the battery usage and speed has increased greatly. Also there are numerous One-Click Root applications available for android devices who can automatically root your phone but I would recommend that you go for this manual approach it will give better understanding.
Hope you enjoyed reading this tutorial. If you too have a HTC Tattoo and you are bored of Dounut then dont wait, just jump to GingerBred. I bet you will love it.
Do Leave your comments and suggestions.
Tuesday, December 12, 2017
How to install Windows 10 SDK and Windows 10 New Emulators with Visual Studio 2015 Update 1 Beginners Tutorials with Step by Step Guidance
How to install Windows 10 SDK and Windows 10 New Emulators with Visual Studio 2015 Update 1 Beginners Tutorials with Step by Step Guidance
Introduction:



















If you are a beginner with Windows 10 UWP(Universal Windows Platform) apps, this post is here to help you get started. Step by step, I am going to show you "How to install windows 10 sdk ?" and also "How to install windows 10 New Emulators ?" with Visual Studio 2015 Community Update 1.

This article can explain you about below topics:
1. Why UWP apps?
2. How to install Windows 10 sdk?
3. How to repair, modify and uninstall Windows 10 sdk?
4. How to install Windows 10 Emulators?
Requirements:
- Windows 10 SDK works best on the Windows 10 operating system. And it is also supported on: Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2, but not all tools are supported on these operating systems.
- Current release (Version 1511) of the Windows SDK doesnt include a .NET Framework Redistributable Package. So we may need to install Microsoft .NET Framework 4.6 Package.
- Make sure the computer you�re installing on has the minimum required disk space that is from 10MB to 2.5GB hard disk space, otherwise, setup will return an error.
- If you are trying to attempt online installer for windows 10 sdk. Make sure your system having good internet connectivity.
- We can get Windows 10 SDK by installing Windows 10 Standalone SDK or you don�t need to install this SDK if you already having Visual Studio 2015 Update 1 or later.
- You must enable Hyper-V on your machine to use windows 10 emulators
1. Why UWP apps?
There are so many improvements on Unviersal Windows app development for Windows 10 from Windows 8.1 experience.
- Previously in windows 8.1 universal app project, we need to create two different app packages (.APPX) for windows phone & Windows, but now no more than one app package and we can use only one app package that can run across all Microsoft platforms (Mobile,Desktop,Xbox,Surface Hub, Holographic, IOT..etc)
- Now no need to create two separate projects for windows phone and windows, with windows 10 sdk now build one Universal Windows app that runs on all Windows 10 devices.
- We no longer need a developer license with Windows 10. But we must Enable Developer Mode to your device for development.
Please follow below steps to install Windows 10 SDK.
Step 1: Make sure you�ve to downloaded the latest Windows 10 SDK or Microsoft Visual Studio 2015 from here (Note: current version is VS 2015 Update 1). After that downloaded file will be locate at Downloads folder, And I am locating downloaded file in below path.
Now to install setup double click on above file. And it will launch below VS dialog box
We can make custom installation of visual studio 2015 only for Windows 10 development and so make sure to select Custom option and press Next button. Then we would find below screen
Universal Windows App Development Tools are enough to create your Windows 10 universal apps. So make sure to select them from above screen and press Next button and it will ask us for confirmation of visual studio custom installation settings like below,
Now press on Install button and setup will start to run like below
It will take more time and it depends on network speed and your system processor as well. So after some time, windows 10 sdk will be install on your system and screen could be comes with a message like All specified components have been installed successfully" and also its better to restart your system before to use windows 10 sdk.
3. How to repair, modify and uninstall Windows 10 sdk?
This step is very easy as same like general software, we need go to Control Panel, open Programs and Features and select our software name is Microsoft Visual Studio Community 2015 with Update1 and right click on to change.
Now wizard would be like below
Now press what ever you want to perform on setup below actions
Modify: This options is for changing custom installation of Visual Studio
Repair: If you think any package installation was missing from your current custom installation settings, then again you can repair setup to get missing package installation on your machine.
Uninstall: This option is for removing setup from your PC, Note: you need to also remove shared components of Microsoft .NET Framework 4.6 SDK.
if you think any package was missing from your installation, press Repair button from wizard, but it will take time for repairing setup and screen could be comes with below message like All specified components have been repaired successfully" and also we need to restart our system for making better result of setup file.
4. How to install Windows 10 Emulators?
Generally it is impossible to test our UWP app on every Windows 10 physical device, So visual studio made an nice extension is called Emulator concept, So Emulators can help us to see how our app appears on a different Windows device. But there are below few limitation to use windows 10 emulators- To test app in any of the emulators, you must have to install Visual Studio 2015 update 1 or later on a your machine.(Like in earlier above discussions)
- Your processor should supports Client Hyper-V and Second Level Address Translation (SLAT).
By default, directly Windows 10 Emulators may not available with current version of Visual Studio 2015 Update 1 and you need to download windows 10 emulators separately. So please follow below steps to install window 10 emulators
Step 1: How to to download windows 10 Emulators SDK?
When you open your visual studio to create new UWP app and trying to run your app on emulators from Debug section you would be find below screen:

So click on Download New Emulators and it will redirect to a Windows 10 Emulators link there you will find below option to download latest emulators
Okay to download emulators, Tap on Install Emulators and it will start to download setup file and locate it in Downloads folder. So after completion of download i placed the setup file in below folder path:
Now double tap on above setup file name is EmulatorSetup and you will find below screen:
In above screen for offline installation, I am trying to download entire setup file to specific folder path is D:SoftwaresVStudio2015EmulatorSetupEmulatorOffline. you can also choose first option for direct online installation if you have good network speed in your PC.
Now the wizard will ask you about Windows Kits Privacy with below screen, choose yes and press Next button
Now you can get download option for windows 10 emulators and press Download button to start.
After some time it will complete download and shows where it is downloaded like below screen.
Step 2: How to to install windows 10 Emulators?
So now its time for installing emulators, go to setup download folder path at D:SoftwaresVStudio2015EmulatorSetupEmulatorOffline. here you will find below files
Now run above setup file name is EmulatorSetup and you will find below screen:
Press Next button and it will again ask you about Windows Kits Privacy choose Yes and Click on Next button. After that you need to accept License Agreement. So finally you will get Install option from below screen
Now setup will start for installation, and one more important note you must enable Hyper-V in your machine otherwise it will throw an error like below
If you have already enabled Hyper-V machine, setup file will be smoothly install on your machine and you will get success installation message.
Wow!!! now every thing is configured for your Windows 10 development, and you can start to build nice Windows 10 Universal Windows Platform(UWP) apps.
I added sample source code of Windows 10 UWP app and you can download source code from below option.

All the very best :)
FeedBack Note:Please share your thoughts,what you think about this post,Is this post really helpful for you?I always welcome if you drop comments on this post and it would be impressive.
Follow me always at @Subramanyam_B Have a nice day by Subramanyam Raju :)

Subscribe to:
Posts (Atom)