Wednesday, 8 April 2015

How To Download Files via Terminal Emulator [Kali, Ubuntu, etc.]

In this blog i don't write big post for SEO rankings.. It's just my personal blog so this post won't be so long. Just one line big line to download files via terminal emulator because it gives you pause and resume supports.. :v

Download Files using Terminal in Ubuntu, Kali and other Linux

replace your link and enter hit ENTER button..
wget "http://www.xposedgeek.net/file_url.exe"
 Add download link in the quotes and hit enter.. if u are getting errors then type this command and hit enter:
sudo su
Now try that command again! :)

Friday, 14 November 2014

Install CyanogenMod 12 ROM on Motorola Moto G (Lollipop!)

Yesterday I wrote a post about Android Lollipop for Motorola Moto G, but the amazing thing was that Motorola tweeted that they don't have any fixed date for the updates and didn't say anything about what their customer care guys reported. Anyway who cares for official update when you have CyanogenMod ROM? The ROM which I'm presenting is truly based on Android 5.0 Lollipop (CM12). Compiled by SeannyM on XDA, this ROM has many flaws and can be said that it's just to give us a taste about Android 5.0 Lollipop. As of now, you cannot use this ROM as your daily driver and moreover this ROM is also not official build so the newer builds/fixes won't be included here frequently. Anyway here's the complete list on what's working and what's not. This is not stock ROM, but CyanogenMod based ROM, I must remind you again. Also this ROM will not boot on XT1033. If you want to do so, you will need to convert your Falcon to XT1032 either by installing US retail ROM or by install GPE ROM on your device. Note that I don't update my pages frequently, so always consult he OP. Here's the Original post of this ROM on XDA. Do thanks the developer on his thread, because his work is just awesome. He's one of the fastest person to compile CM12 ROM and the first one to compile CM12 ROM for Motorola Moto G Falcon.

Motorola Moto G (Falcon) Running CyanogenMod 12 Android Lollipop ROM


What Works in CyanogenMod 12 ROM for Motorola Moto G

  • Network.
  • Vibration.
  • Earphones/Headphones.
  • Many features of Lollipop.
What Doesn't Work in CyanogenMod 12 ROM for Motorola Moto G
  • Data connection.
  • Bluetooth.
  • WiFi.
  • Audio.
  • Camera.
All the things not mentioned out here ARE NOT WORKING in this ROM, so kindly make a backup of your current ROM before flashing this onto your device.

This ROM is for Moto G 1st Gen (Falcon) and not for Moto G 2nd Gen (Titan)!

How To Install CM 12 ROM (Lollipop ROM) on Motorola Moto G
  • Get the ROM from XDA thread.
  • Move it to your SD Card. We will need to use Fastboot. Install ADB & fastboot and drivers from here.
  • Reboot to TWRP Recovery.
  • Select Backup option from the main menu and then swipe from left to right to confirm the backup for the current ROM (MOST IMPORTANT, AS THE ROM DOESN'T WORKS QUITE WELL). You may choose MD5 Checksum skip and Compression as well to save time and space, both.
  • After the backup completes, select Wipe from the TWRP recovery and then choose System, Data, cache. Swipe to confirm the wipe!
  • Now click on Reboot>Bootloader to reboot to bootloader.
  • Connect your device to PC through USB cable and make sure fastboot works.
  • Place the system and boot images (.IMG files) in the folder where you are having Fastboot and ADB along with their drivers.
  • Type these commands and hit enter:
    fastboot flash system system.img
    fastboot flash boot boot.img
    fastboot reboot
  • Your device will now reboot and you'll see Lollipop boot animation!
Now taste the lollipop as much you can and please do report us from the comments!

Thursday, 13 November 2014

Motorola Moto G [Indian] Will Get Android Lollipop update tomorrow!

Motorola has been very nice since the time Lenovo overtook it. Their every phone is well known these days especially the new series, which is E, G and X respectively. Recently Motorola announced 2nd versions of the two devices, Motorola Moto G and Motorola Moto X. Currently both the second gen devices have got Lollipop update officially, but no news for Moto G XT1033 (Indian first gen variant). Recently, I saw people posting about Lollipop update on the Motorola Moto G group on Facebook. One person named Siddharth Barodia posted on the group with his screen shot in which he was having chat with Motorola customer care and where Siddharth came to know that the Lollipop hunt begins tomorrow! 
Here's the screenshots which Siddharth posted on the Facebook group regarding the Lollipop update for Falcon XT1033:



I too had chat with Motorola customer care though in mine case he/she didn't have clear notes regarding the updates and the release date.
Here's another screenshot captured by Archies Bhanushaliin the same facebook group where again the Motorola service center said that the update will release tomorrow for the Indian Motorola Moto G users:



So here's how to get this update:
  • Unroot your phone.
  • Revert to stock firmware
  • Lock the bootloader!
Note: If you are having an unlocked bootloader then you may not receive the Lollipop update tomorrow!

Monday, 10 November 2014

Create 'Menu' in Your Turbo C++ Program

My first question was how to create a menu in Turbo C++ which my friends failed to answers, even the ones who had special classes for this. I searched everywhere on the web and ended up with a script or I must say a program with menu. You will need to enter "1, 2, 3" or any other variable to open that certain part of this script. For example, if you press 1 in my old calculator TC++ program, then it will open addition window. If you press 2 it will open Subtraction window and so on. All you have to do is just copy your source code and paste it to my script which turns your program to a menu or multiple functioning script. So here's the source code for this. Please manually edit the script according to your needs: 


#include<conio.h>
#include<stdio.h>
#include<fstream.h>
#include<math.h>
#include<process.h>
void main()
{       clrscr();
unsigned int choice;
cout<<"\n\t\t\tYOUR TEXT WHICH WILL BE SHOWN IN THE MIDDLE OF THE SCREEN\n";
cout<<"\n\t\t\tPress 1 For ANYTHING\n";
cout<<"\n\t\t\tPress 2 For ANYTHING\n";
cout<<"\n\t\t\tPress 3 For ANYTHING\n";
cout<<"\n\t\t\tPress 4 For ANYTHING\n";
cout<<"\n\t\t\tPress 5 For ANYTHING\n";
                {       cout<<"";}
                cin>>choice;
                while(choice==1)
                {
----- Code if the person presses 1 and hit enter ------
                 }
                 while(choice==2)
                 {
          ----- Code if the person presses 2 and hit enter ------
                 }
                 if(choice==3)
                 {
----- Code if the person presses 3 and hit enter ------
                 }
                 if(choice==2)
                 {
----- Code if the person presses 4 and hit enter ------
                 }
 if(choice!=1&&choice!=2&&choice!=3&&choice!=4&&choice!=5)
                 {      cout<<"IF WRONG OPTION IS HIT, THEN THIS TEXT WILL DISPLAY.";
                        getch();
                        exit(0);
                 }
 if(choice==5)
 {
----- Code if the person presses 1 and hit enter ------
 }
        }
getch();

For example, have a look at my calculator having the same source code for the menu:




Get the script from my MediaFire account: http://goo.gl/JOItBq

Monday, 3 November 2014

How To Make A Calculator In Turbo C++

I am learning Turbo C++ and thanks to my friend +ankit dubey for helping me whenver I face problems in using this tool and syntax. Here's my first tool and also I am pushing the source code for beginners like me who can make their own calculator with modification. 

Features:

  • Memu
  • Addition
  • Subtraction
  • Multiplication
  • Division
  • Written for newbies :D or I must say written by a newbie :D





Not talking about anything else, here's the source code:


#include<conio.h>
#include<stdio.h>
#include<fstream.h>
#include<math.h>
#include<process.h>
void main()
{       clrscr();
unsigned int choice;
cout<<"\n\t\t\tWelcome To Calculator By Rohan Arya\n";
cout<<"\n\t\t\tPress 1 For Addition\n";
cout<<"\n\t\t\tPress 2 For Subtraction\n";
cout<<"\n\t\t\tPress 3 For Multiplication\n";
cout<<"\n\t\t\tPress 4 For Division\n";
cout<<"\n\t\t\tPress 5 To Exit The Tool\n";
                {       cout<<"";}
                cin>>choice;
                while(choice==1)
                {
int a,b,c;
clrscr();
cout<<"\n\t\t\tAddition\n";
printf("Enter The First Number ");
scanf (" %d",&a);
printf("Enter The Second Number ");
scanf (" %d",&b);
c=a+b;
printf("The Answer is %d",c);
getch();
exit (0);
                 }
                 while(choice==3)
                 {
                int d,e,f;
clrscr();
cout<<"\n\t\t\tMultiplicaion\n";
printf("Enter The First Number ");
scanf ("%d",&d);
printf("Enter The Second Number ");
scanf ("%d",&e);
f=d*e;
printf("The Answer is %d",f);
getch();
exit (0);
                 }
                 if(choice==4)
                 {
int g,h,i;
clrscr();
cout<<"\n\t\t\tDivision\n";
printf("Enter The First Number ");
scanf ("%d",&g);
printf("Enter The Second Number ");
scanf ("%d",&h);
i=g/h;
printf("The Answer is %d",i);
getch();
exit (0);
                 }
                 if(choice==2)
                 {
int j,k,l;
clrscr();
cout<<"\n\t\t\tSubtract\n";
printf("Enter The First Number ");
scanf ("%d",&j);
printf("Enter The Second Number ");
scanf ("%d",&k);
l=j-k;
printf("The Answer is %d",l);
getch();
exit (0);
                 }
if(choice!=1&&choice!=2&&choice!=3&&choice!=4&&choice!=5)
                 {      cout<<"entered wrong choice PROGRAM IS ABORTING!!!!!!";
                        getch();
                        exit(0);
                 }
if(choice==5)
{
exit(0);
}
        }
getch();
Download the source code file:  http://goo.gl/mq1TxW
Here's the executable file: http://goo.gl/qGt5vh


If you have suggestions to make this tool better, then do comment below! :)

Monday, 27 October 2014

How To Root Xolo Opus HD

Xolo Opus HD is a killer phone with very nice specifications like 5 inch display, 8 GB ROM, Android 4.4.2 KitKat, but still you cannot get many things like Multi Window and other customizations which are only available to the people who have rooted their phones. I have seen many MediaTek MT6582 android phones with Android 4.4.2 KitKat. Actually rooting these phones are very easy and I am now bored of writing such big paragraphs for this only. :/ 

Get drivers and other USB things working.. See all of this here on my other blog.

How To Root Xolo Opus HD
  • Get my Mashup Root Tool and install it on your PC (obviously not on your phone).
  • Execute the .BAT file and press any key to continue.
  • Press option 3 and hit enter.

  • Rest you will get to know what to do!

Thursday, 23 October 2014

How To Root Huawei Honor Holly

There are currently no guides to root this killer phone, Huawei Honor Holly, so my friend on Facebook asked me to root his phone. Because he was so tensed as he never had a MediaTek device, he didn't allow me to have a ReadBack of his phone as when I told that his phone will sleep for 30 minutes till ReadBack, he was afraid that his phone will brick. So obviously I had to root it with an application only because he wasn't allowing me to flash anything onto his phone. Recently I had posted a rooting tutorial on Micromax Unite 2 which is running on the same SoC, so I rooted his phone using my own tool, Mashup Root Tool which can root almost any new phone and running Ice Cream Sandwich or above.

How To Root Huawei Honor Holly

  • Get Mashup Root Tool from my personal tech blog.
  • Install the tool on your desktop or anywhere and open the .BAT file from the directory.
  • Press any key to pass the splash screen.
  • Type 3 and hit enter!

You have rooted your phone if you follow the webpage opened by the tool...For all this you need to have drivers installed on your PC...To get them click here.