How to upgrade to Android 2.3.X (Gingerbread) from 2.1 (Eclair) using CynogenMod 7.1 (CM 7.1) on Motorola Milestone A853 / A953 ?

How to upgrade to Android 2.3.X (Gingerbread) from 2.1 (Eclair) using CynogenMod 7.1 (CM 7.1) on Motorola Milestone A853 / A953 ?

Before following the below steps to flash your phone with new Cynogenmod7 ROM; make sure that you have taken all necessary backups like contacts, SMS and most used apps etc.

Pre-Reqs:
1. Your phone must be rooted before. To root the phone follow the below instructions.(http://www.krishnababug.com/2011/07/root-android-phones-motorola-htc.html)

2. Download the required below files and keep it ready from http://forum.xda-developers.com/showthread.php?t=941346
    a. Open Recovery - OpenRecovery 1.46 - BR 0.3.zip (for update OR1.46_extfs_mmcfix_update.zip )
        Download from link
    b. Google apps - gapps-gb-20110828-newtalk-signed.zip
    c. CynogenMod ROM - update-cm-7.1.0-11.10.12-Milestone-odexed-signed.zip

3. Disable_recovery_check_by_OTA.sh - Search in google and download this file.   

4. Enable USB debugging on your phone from Menu > Settings > Applications > Development and connect it to your computer via USB.

Now Create a Folder structure under sdcard root like below

sdcard
    |
    |__update.zip
    |
    |
    |__OpenRecovery
    |      |
    |      |__scripts
    |      |     |
    |      |     |__Disable_recovery_check_by_OTA.sh
    |      |
    |      |__updates
    |            |
    |            |__update-cm-7.1.0-11.10.12-Milestone-odexed-signed.zip
    |            |
    |            |__gapps-gb-20111012-signed.zip
    |
    |____ Other_Stuff
   

Steps to flash your phone with new Android build by CynogenMod:
1. Once the above tree structure is ready on your phone just power off the phone
2. While you Power on; press X button on the physical keyboard on your milestone.
3. Hold ‘X’ until you see a Triangle with an Exclamation mark on it, and then let go of ‘X’.
4. (If required ) Press & Hold the Volume up button and press the camera button. You'll be taken to Android System Recovery.
5. Using D-Pad as cursor and golden button in the middle as ‘Enter’ , Perform a ‘Wipe Data/Factory Reset’ & ‘Wipe Cache Partition’
6. Once done , apply Sdcard :update.zip.
7. You will be taken to Motorola Milestone Open Recovery Version 1.46 .
8. From menu, go to Nandroid > Backup All. This will place a backup of your current ROM in a folder called Nandroid on your SD Card.
9. Move it to a safe location later.
10. Perform a wipe data/factory reset (In case of CynogenMod updates skip this step)
11. Perform wipe > wipe cache partition and wipe Dalvik cache.
12. Apply Update, scroll to ‘update milestone-signed.zip’ and apply.
13. Now Apply  ‘gapps signed.zip’ and Apply.
14. Go back to Main Menu and reboot system
15. All set to see new CynogenMod logo after Motorola logo :) The first boot may take more time.

Possible errors :
1. E:signature verification failed error - If you get this error , make sure that the file under SDCARD > OpenRecovery > scripts > Disable_recovery_check_by_OTA.sh is fine and readable.
Note : Keep the above tree structure available always on ur sdcard and replace the new updates under updates directory each time when new updates are available.

Reference :

Read more


Websphere 6.1.0.0 to 6.1.0.35 upgrade steps

This post aims to explain the simple steps to upgrade the base build version of Websphere 61.0.0 to 6.10.35

Please follow the below steps one by one ..
How to upgrade WAS 6.1.0.0 to WAS 6.1.0.35 ?


  • Choose the required OS and bit level of hardware and then select both JAVA SDK and AppServer files for upgrade
  • Along with this download the IBM Update Installer V7.0.0.19 for WebSphere Software for Windows.
  • Once you download the required 3 files
6.1.0-WS-WASSDK-WinX32-FP0000035.pak
6.1.0-WS-WAS-WinX32-FP0000035.pak
7.0.0.19-WS-UPDI-WinIA32.zip
  • Extract the update installer, and install it.
  • Once installation created the folder structure
C:\Program Files\ibm\WebSphere 6.1\UpdateInstaller\maintenance

Copy the files 6.1.0-WS-WASSDK-WinX32-FP0000035.pak and 6.1.0-WS-WAS-WinX32-FP0000035.pak to the above path.
then let installer pick this two packages and install it.
All set to go ..now your WebSphere is upgraded :)

Read more


shell script to check newly created files in a directory and its sub directories

Shell script to check newly created files in a directory and its sub directories
The below shell script is to monitor a Directory and its sub-directories, and log the information when particular type of files are created/found.

The below script will monitor a directory "/opt/krish" for .sh files.
If there exists any .sh files in the directory (includes sub-directories) it will log the information in the results.log file in the same directory.
It repeats this operation for every 10 seconds so that any newly created file information will be captured.

You can keep on creating some test files using "touch d11.sh" in the same directory to verify whether the same is been logged in the results.log or not.

nc184120:/opt/krish # cat check.sh
#!/bin/ksh
cd /opt/krish
> results.log
date >> results.log
while true
do
    for file in `find . -type f -name "*.sh"`
    do
          ls -lrt $file >> results.log

    done
    sleep 0
done

Read more


How to see created trigger description and SQl stament , to confirm new or old is used ?

I was looking for a SQL query which can display the Trigger description, like while creating a trigger what condition was used especially which key word used like new or old. The below SQL query helped me to know such details.

How to see created trigger description and SQl stament , to confirm new or old is used ?

Launch the SQL prompt and connect to you database as sysdba.

Then run the below commands to know about the trigger you created ...

SQL> drop trigger TSIN_TR;

Trigger dropped.

SQL> CREATE OR REPLACE TRIGGER TSIN_TR
  2  AFTER INSERT ON TARGET_SERVER
  3  FOR EACH ROW
  4  BEGIN
  5  INSERT INTO ADJUST_DISTRIBUTION (PACKAGE_ID) SELECT PACKAGE_ID FROM TARGETLIST_MAP T
  6  WHERE T.TARGETLIST_ID = :NEW.TARGETLIST_ID;
  7  END;
  8  /


Trigger created.

SQL> set linesize 200
SQL> set pagesize 500
SQL> desc user_source;
 Name                                                                                                              Null?    Type
 ---------------------------------------------------------------------------------------------------
 NAME                                                                                                                       VARCHAR2(30)
 TYPE                                                                                                                       VARCHAR2(12)
 LINE                                                                                                                       NUMBER
 TEXT                                                                                                                       VARCHAR2(4000)

SQL> select distinct type from user_source;

TYPE
------------
TRIGGER

SQL> select text from user_source where name='TSIN_TR' order by line asc;

TEXT
----------------------------------------------------------------------------------------------------
TRIGGER TSIN_TR
AFTER INSERT ON TARGET_SERVER
FOR EACH ROW
BEGIN
INSERT INTO ADJUST_DISTRIBUTION (PACKAGE_ID) SELECT PACKAGE_ID FROM TARGETLIST_MAP T
WHERE T.TARGETLIST_ID = :NEW.TARGETLIST_ID;
END;

7 rows selected.

SQL> select DESCRIPTION, TRIGGER_BODY from user_triggers where trigger_name = 'TSIN_TR';

DESCRIPTION
----------------------------------------------------------------------------------------------------
TRIGGER_BODY
--------------------------------------------------------------------------------
TSIN_TR
AFTER INSERT ON TARGET_SERVER
FOR EACH ROW
BEGIN
INSERT INTO ADJUST_DISTRIBUTION (PACKAGE_ID) SELECT PACKAGE_ID FROM TARGET

SQL >

Hope this helps ...

Read more


How to root android phones ?

The below is the procedure I tried to root my Motorola Milestone Android 2.1. Hope this will help the rest of the phones like HTC, Samsung etc.
I felt this is the simple and easy way to root your Android phone. Before going to implement this rooting procedure let's understand the need for it.
If you are not a gadget geek or you don't want to play with your phone, please stop reading this article here only and browse your other favorite site.
Though we all know that android is a Unix mobile OS built on Linux kernel, new users mind will flash a question that "with which user I am logged in to this OS?" . If you got this question you can directly follow the procedure to gain root privileges. Otherwise read through need for rooting.
Need for rooting :  
  1. By default Android login will be a non root user.
  2. So if you gain root privileges you can have full control over the hardware for which you spent lot of money.
  3. In other words rooting your phone will unveil the functionalities hidden by vendor which can be supported by costly hardware.
  4. Rooting Android OS helps you in tweaking the android OS functionalities.
  5. To install lattest Apps supported in next Version android you need to root your old Android version OS.
  6. Improving your keyboard interaction with possible tools.
  7. Bluetooth and Wifi tethering made available with rooting
  8. Install your new apps directly on to SD card instead of overloading the phone memory.

Like above there will lot more advantages if you take control of your phone which will be only possible by rooting your Android.

 
Now we are ready to root your phone and let's follow the below process.

Required :

 
  1. Android phone.
  2. USB connector
  3. superoneclick installer (Win 32 app)

 Where to download superoneclick ?

  1. Link1
  2. Link2
 Procedure :
  1. Install superoneclick application on your windows(32 bit) laptop.
  2. Enable USB debugging on your phone. To do this go to Settings->Applications->Development and enabling “USB Debugging“.
  3. Now connect your android phone using USB cable to laptop. (You should see notification on phone "USB debugging connected").
  4. Now after unziping the downloaded superoneclick.zip run the superoneclick.exe by clicking it.
  5. In the launched GUI you will see large buttons with "Root", "Allow non market Apps" etc.
  6. Click on Root..it will do it's job by running several steps and at last it will run "SU test". If it is success.  
  7. You finished rooting your phone.
  8. Disconnect your phone, disable "USB debugging" and reboot your phone.
  9. So from next time onwards if you install any app which requests root access will be notified through a message saying that app was granted super access.
P.S  : If you root your phone your warranty terms will expire. 
Related : [1] [2] [3]

Read more


K-Tube (Krishna's page official channel KTube)

Hi All,
This is my official Tube on which I livecast some of the important events ...

Leave ur valuable comments either in the website or below...

Read more

Popular Posts

Enter your email address:

Buffs ...

Tags


Powered by WidgetsForFree