Saturday, May 16, 2015

Update on Redmi 1S

In my last post about the Redmi 1S at Jan end, I had mentioned that I was using Adria ROM on it. And it was quite good. But the free memory was not much and after a while I got tired of using the same miui.
So for Feb and half of march I dug out my faithful Samsung Omnia W with WP7. And I hung out with it. Then by march end I still didn't have the miui 6 for Redmi. So I decided to try out mokee ROM. And to my surprise found it to be very stable.
There was a lollypop version too. So I tried out lollypop for couple of weeks. And found out that the battery life was taking a hit. Otherwise it was fine experience.
Then I had an idea about reverting to KitKat mokee ROM and see how good it is. Turned out it was even better. I am getting same battery life as Xiaomi's original ROM. And its way smoother and lighter than lollypop.
So I'm using Redmi these days. It's a great little phone. And with Mokee KitKat ROM, its going strong too.

Wednesday, May 6, 2015

Tuesday, May 5, 2015

Fwd: Another shell script by name fillDisk

#!/bin/sh
# Script to generate 100GB folders
# 20150420 (1GB)
#    -- 20 files of 50MB each

PATHTOBB="."
DATECOUNT=20
MONTHCOUNT=04

# Infinite loop.... Will fill the HDD...
while :
do
# Check if DATECOUNT is in single digits;
if [ $DATECOUNT -lt 10 ]
then
DATECOUNT="0$DATECOUNT"
fi
#echo "18 DATECOUNT::::: $DATECOUNT"

#echo "20 MKDIR: $
PATHTOBB/2015$MONTHCOUNT$DATECOUNT"
mkdir -p $
PATHTOBB/2015$MONTHCOUNT$DATECOUNT
COUNT=1

# Logic for writing 1GB folder
while [ $COUNT -lt 21 ]
do

#echo "28 File to write: 2015$MONTHCOUNT$DATECOUNT/$COUNT.img"
cp ./file.img $
PATHTOBB/2015$MONTHCOUNT$DATECOUNT/$COUNT.img
COUNT=`expr $COUNT + 1`
done # DONE 1 GB Folder   
echo "WROTE 1GB Data..."

DATECOUNT=`expr $DATECOUNT - 1`
#echo "35 DATECOUNT: $DATECOUNT"
if [ $DATECOUNT -lt 1 ]
then
DATECOUNT=30
#echo "39 Reset DATECOUNT: $DATECOUNT"
MONTHCOUNT=`expr $MONTHCOUNT - 1`

if [ $MONTHCOUNT -lt 10 ]
then
MONTHCOUNT="0$MONTHCOUNT"
fi
#echo "46 MONTHCOUNT: $MONTHCOUNT"

fi

sleep 1
done


# dd if=/dev/zero of=output.file bs=1M count=50