These are my installation notes from installing Cyanogenmod 13 on Samsung Galaxy S4. This S4 was originally brought from T-Mobile and its model number is SGH-M919. The Cyanogenmod codename for this device is jfltetmo. Prior to following my notes, read through the CM wiki at https://wiki.cyanogenmod.org/w/Jfltetmo_Info
1. Install JDK and Android SDK for adb
2. Install heimdall. However the classic one doesn't install. Had to use Heimdall-1.4.1-Unofficial-Signed.dmg
3. Go into Download Mode (Vol Down + Power + Home Key) with no wires connected....
Sunday, April 17, 2016
Saturday, September 22, 2012
Posted by Kalpesh on 1:34 PM with No comments
After booting from the external drive (Fedora 17 Live), I mounted the ISO file in loopback mode
[root@localhost home]# mkdir /tmp/livecd
[root@localhost home]# mount -o loop /run/media/liveuser/WINDOWS/Fedora-17-i686-Live-Desktop.iso /tmp/livecd
[root@localhost home]# cd /tmp/livecd/LiveOS/
Next make sure that you have an empty SD Card at '/dev/mmcblk0'. Erase the head if need be and recreate the partition table.
## Destroys partition table and MBR
[root@localhost LiveOS]# dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=100
100+0 records in
100+0...
Monday, April 20, 2009
Posted by Kalpesh on 9:26 AM with No comments

One of our clients host a content management system built on top of technology I use at work. The technology is a custom server that stacks on top of the J2EE application servers like JBoss or a servlet container like Apache Tomcat. Our standard stack that we prescribe to clients is the MySQL-Apache Tomcat stack. Over a period of few weeks, the needs of this client grew well beyond the standard stack. Considering the amount of static content being...
Tuesday, April 7, 2009
Posted by Kalpesh on 1:03 PM with No comments
The other day I was on a client machine which happened to give me the following exception when looking up an RPM package using yum. [root@staging ~]# yum search vncLoading "rhnplugin" pluginrpmdb: Lock table is out of available locker entriesrpmdb: Unknown locker ID: 8470error: db4 error(22) from db->close: Invalid argumenterror: cannot open Packages index using db3 - Cannot allocate memory (12)error: cannot open Packages database in /var/lib/rpmTraceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.main(sys.argv[1:])...
Monday, February 2, 2009
Posted by Kalpesh on 3:41 PM with No comments
Here's some handy bash script to notfiy support when we are running low on disk space.#!/bin/bash## Description:Checks the available space for the disk mounted as / (root)# If disk space is less than 10GB it will send out a notification## Send emails to these peopleEMAILID=support@mydomain.com# Min Free SpaceMINSPACE=10485760# Get the space availableFREESPACE=`df / | awk '{ if( NR == 2) print $4 }'`# Send email if requiredif [ $FREESPACE -le $MINSPACE ];then logger "Warning: Root Drive Running Out Of Disk Space [${FREESPACE}KB]" mail...
Friday, May 23, 2008
Posted by Kalpesh on 2:49 PM with 2 comments
Mantis is one of the many bug tracking softwares available out there (Refer: Top Configuration Management). For an internal project at work, I needed a bug tracker and Mantis was the logical choice due to prior experience within the development team. The machine at hand was running on CentOS Release 4.4 and required the following rpm packages:
[root@eclipse html]# rpm -q httpd mysql-server php php-mysql php-ldap
httpd-2.0.52-28.ent.centos4
mysql-server-4.1.20-1.RHEL4.1
php-4.3.9-3.22.9
php-mysql-4.3.9-3.22.9
php-ldap-4.3.9-3.22.9
There...
Wednesday, April 9, 2008
Posted by Kalpesh on 7:37 AM with No comments
While setting up Apache HTTP Server to rotate logs I came across an interesting problem. How would you truncate a file? The trivial solution that I came up with was[root@lambda ~]# rm -f /var/log/httpd/foo.log[root@lambda ~]# touch /var/log/httpd/foo.logUnfortunately this doesn't work. The HTTP Server ceases logging to the file unless there is a server restart. After prying around the web I came across some interesting tricks but the one that stood out was:[root@lambda ~]# :> /var/log/httpd/foo....
Subscribe to:
Posts (Atom)