Sunday 24 May 2015

Android Lollipop for Redmi 1s :MoKee Android Lollipop 5.1.1_r3 (LMY48B) Redmi 1S

MoKee ROM has released a custom build for Redmi 1S smartphone based on Android 5.1.1_r3 build LMY48B.

MoKee is a pre-rooted custom ROM, the latest build of which squashes the heating issues while charging. With every new release the team updates the changelog detailing each small fix to the notable changes.



Steps for flashing new Mokee rom:


  • create a backup of all important data of the phone using custom recovery;TWRP recovery
  • Enable USB Debugging on the phone to connect it with the computer and use Android SDK with it
  • 80% battery charge to avoid power off
  • phone should be rooted with the latest recovery:TWRP
  • Connect the phone to the computer via USB cable then move the downloaded files to the storage (internal/external) of the phone and remember the location
  • Disconnect the phone and boot into recovery mode
  • n recovery mode, create a nandroid backup of the existing ROM, which can be restotred later if the new ROM does not work or, you want to revert to the current version. From recovery select Backup and do a swipe on the Swipe to Back Up button
  • Perform wiping task. Go to recovery menu and select Wipe. Also do advance wipe and select system, data, dalvik cache and cache
  •  Go back to recovery menu and select Install then locate the folder where you have saved the Mokee ROM and confirm installation
  • Install the Gapps package in the similar procedure you used for flashing the ROM
  • Once the installation process is completed, perform wipe cache and dalvik cache
  • reboot the phone
If everything goes fine you can now enjoy the new rom

Download link






Saturday 13 September 2014

How to run or execute a program n number of times in a terminal/command line?

If you want to run or execute a program n number of times,you can create a shell script or you can use the native commands provided in the terminal it self.It depends on your convenience.

For example you can use this one

You can use xargs and seq. Generally:

seq nr_of_times_to_repeat | xargs -Iz command
For example:

seq 10 | xargs -Iz xdotool click 1
will execute the xdotool click 1 command for 10 times. 



if you want to use a script

then use this


#!/bin/bash

x=1
while [ $x -le 10 ]
do
  <command to run>
  x=$(( $x + 1 ))
done
where 10 is the number of times to run the command
if you need to build in a little break:
#!/bin/bash

x=1
while [ $x -le 10 ]
do
  <command to run>
  sleep 1
  x=$(( $x + 1 ))
done
Copy the script into an empty file, replace <command to run> by your xdotool command, save it as run_xdotool.sh, run it by the command:
sh /path/to/run_xdotool.sh
Alternatively, you can make it executable and simply run it by
/path/to/run_xdotool.sh

How to transfer and copy files from/to an Android device with ADB via GUI?

There are various ways of doing this.

First of all you should have adb tools installed,go to the google dev site and download the latest adb tools and update it.I hope your device is rooted too to perform this operation.

sudo apt-get install mtp-tools mtpfs
$ mkdir phone
...Connect phone, set usb mode to MTP...
$ sudo mtpfs -o allow_other phone
...Trying to do anything with the new filesystem right now will take a minute or so, just be patient...
...Finally, you can access your phone and do whatever, then...
$ sudo umount 
 
This is the version I used 
mtpfs --version
FUSE library version: 2.8.6
fusermount version: 2.8.6
using FUSE kernel interface version 7.12 
 
 

Realtek RTL8723AE-BT stops working when Kernel 3.5.0-21 is used

Realtek RTL8723AE-BT stops  working when Kernel 3.5.0-21 is used ,how to make the Realtek RTL8723AE-BT work?

The model is: Realtek RTL8723AE Wireless LAN 802.11n PCI-E NIC

Install the new kernel ,them recompile ,run the update manager so that all the repositories and dependencies are updated .
Then do this 
cd Desktop/RT8723  <--or wherever you compiled the package
sudo su
make clean
make
make install
modprobe rtl8723e
exit
 
then do this 
./scripts/driver select rtlwifi
make
sudo make install
sudo modprobe rtl8723ae
You 'make clean' because the module was compiled originally against your specific versions of kernel, headers, gcc, etc. When updates are installed, the various files built in the compile process may or may not work correctly with, for instance, a newer gcc version, so wipe it all out and start fresh: make clean
 


Tuesday 9 September 2014

NEST 2015 preparation old question papers

About NEST
National Entrance Screening Test (NEST) is a compulsory test for students seeking admission to National Institute of Science Education and Research (NISER), Bhubaneswar and University of Mumbai - Department of Atomic Energy Centre for Excellence in Basic Sciences (UM-DAE CBS), Mumbai. Both NISER and UM-DAE CBS were set up by Department of Atomic Energy, Government of India in 2007. Their mandate is to train scientific manpower for carrying out cutting edge scientific research and for providing input to scientific programmes of Department of Atomic Energy and other applied science institutions in the country. The test is conducted in 45 cities (70 venues) across India. This brochure gives the detailed procedure for applying for the test, syllabus of the test and various dead lines.

Integrated Science Education and Research Center (ISERC), Visva Bharati, is also participating in NEST 2014 and will admit students for its Integrated MSc course from the Merit List of NEST 2014. The eligibility criteria are the same as that for NISER/ CBS and the students admitted to ISERC are also eligible for INSPIRE scholarship.


 NEST 2014

NEST 2007

NEST 2008

NEST 2009

NEST 2010

NEST 2011

NEST 2012

NEST 2013





 

CAT Exam 2015 preparation 7

Eating only breakfast and lunch may be more effective at managing type 2 diabetes than eating smaller, more regular meals, scientists say. Researchers found that the volunteers who ate two meals a day lost more weight than those who ate six, and their blood sugar dropped. Scientists divided a group of 54 volunteers aged 30 to 70 with type 2 diabetes into two groups of 27 people. Volunteers were then given either a six-meal-a-day diet (A6) for 12 weeks followed by a two-meal day diet (B2), or vice versa. The study compared two meals with six meals. The B2 group ate only breakfast and lunch, and the A6 group ate their food throughout the day. Weight loss for the B2 group averaged 1.4kg (3lb) more than A6, and they lost about 4cm (1.5in) more from their waistlines.

Which of the following strengthens the conclusion of the above study that eating two meals a day may be more effective at managing type 2 diabetes than eating smaller, more regular meals?

OPTIONS

     1)   The volunteers were given the freedom to choose their diets as long as the calorific value remained the same for each meal.
     2)   The volunteers were fed the same calorie diet spread over the course of two or six meals a day.
     3)    The average rate of metabolism of the first group of volunteers was much lower than that of the second.
     4)    The volunteers who were on two meals a day ate much less than those who were on six meals a day.

CAT Exam 2015 preparation 6

A new report has laid bare the UK's pretensions to have cut greenhouse gas emissions over recent years. Ministers have claimed global leadership in reducing CO2 emissions and urged other nations to follow suit as production of CO2 in the UK is down 20% in the past two decades. But the official Climate Change Committee (CCC) said that the UK's total contribution towards heating the climate has actually increased as the overall contribution to emissions is up 10%.

Which of the following help resolve the paradoxical claims in the above passage?

OPTIONS
 
 1)While the UK has been cutting emissions at home, it has been importing more goods from other countries, pushing up CO2 emissions there.
 2)Each individual in the UK is responsible for only half of the production emissions of someone in other countries, which have kept their manufacturing base.
 3)It is hard for any government including that of the UK to quantify imported emissions and difficult to influence other nations' climate policies.
 4)UK's unilateral climate targets are forcing up energy prices and driving manufacturing jobs abroad.