Showing posts with label miui. Show all posts
Showing posts with label miui. Show all posts

Monday, January 18, 2016

How to enable "init.d" in MIUI ROMs(and phones too)

Hi guys,

Nowadays since network data is very important in everyone's life and the best way to save it from internal apps or updates is "firewall" like "droidwall, AFwal+ etc".
and to use these firewalls perfectly in MIUI ROMs, "init.d" file must be there(which is not in MIUI ROMs). So here are the steps for enabling or installing "init.d":

Method 1(easy and 99% working):

1. Download "init.d toggler" from google playstore or this link .

2. Open this app and press "enable init.d"


Method 2(complex for non linux users and 100% working but try it if method 1 failed for you):

1. Download this "term-init.sh" from here  written by "Ryuinferno @ XDA".

2. Open  terminal emultaor.

3. Now its for the fun things (typing commands):

#su   (grant root access when prompted)
#sh "loctaion of term-ini.sh"  (for eg: sh /storage/sdcard0/Downloads/term-init.sh)

4. The script will execute, now just follow the instructions showed.


Thanks for visiting.
Wish it helped you all.


Read more

How to install android sdk tools in ubuntu

Hello guys,

Today i am gonna tell you how to install android sdk in ubuntu.


steps:

1. Download android-sdk from official site

2. Now open terminal( shortcut key: alt+ctrl+T )

3. Extract the archive you just downloaded by typing command:

       #tar xvzf ~/android-sdk*.tgz

4. Now  get the root privileges for your account:

       #sudo su

5. Now install some Multi-Arch Packages:

     #apt-get install libstdc++6:i386 lib32z1 lib32ncurses5 libbz2-1.0

6. Now just relocate android sdk you just extracted:

     #chown -R root:root ~/android-sdk-linux*

     #chmod -R +xr ~/android-sdk-linux*

     #mv ~/android-sdk-linux* /opt/android-sdk-linux

7. Now install oracle-sun jdk:
  
    this is another tutorial,click here

8. Now inserting Android sdk tools into USER PATH:

       #su <username>

       #nano ~/.bashrc
     
       #export PATH=/opt/android-sdk-linux/tools:/opt/android-sdk-linux/platform-tools:$PATH

Note: Ctrl+Shift+v to Paste Content into nano
       Ctrl+x to Save and Exit
       Load New Settings by typing below written command:

       #bash                    

9. Now update android sdk tools and APIs:

       #cd /opt/android-sdk*/tools
       #sudo su -c "./android sdk"



Thanks for visiting.
Subscribe and follow me if you liked.
Read more