I use this procedure to replace my Galaxy Tab Email.APK using working Email.apk from xda-developers.com forum , because my original Email.apk cannot connect and run properly with my corporate Ms Exchange Server 2010.
My device firmware is :
PDA: P1000DXJK2
PHONE: P1000DXJJ2
CSC: P1000OLBJJ2
This is just for my personal note :
1. Download Android SDK into your computer and install. File for SDK can be downloaded at http://developer.android.com/sdk/ . We use this SDK to make possible doing ADB to Device from our PC.
2. Download z4root inside of http://forum.xda-developers.com to root your device easily. Use this to rooting your device.
3. Download working email.apk from the xda-developers.com discussing about working email.apk , you can find with a key word such as mine "Galaxy Tab email.apk working perfectly".
Place your device Home->Settings->Application->Development->USB debugging ON (sometime you cannot change the status because you already connect with usb cable, just plug-off the cable first before change the value)
4. Connect your rooted (i mean rooted, if you already rooting your device using step 2) device with your pc using USB cable.
5. Inside %ANDROID_SDK_PATH%\Android\android-sdk-windows\platform-tools you can find ADB.exe , we use this to access our device like a common telnet software. You can test using ADB as a telnet-like application into your device by execute ADB SHELL in your command prompt.
6. Do backup for your Original Email.apk files into your PC by doing this command:
adb pull /system/app/Email.apk
adb pull /system/app/Email.odex
After you get the files, please keep this file securely to avoid any error doing this thing. You can save into other folder.
7. We need root acces to replace the Email.apk inside of the /system/app , to do this do Mount /system/app and give root access by change previliges. Use "ADB Shell" :
$ su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
# chmod 777 /system/app
8. Delete Email.apk (and also Email.odex) :
# ls Email.*
# rm Email.apk
# rm Email.odex
9. Use ADB to push (upload into your device) file Email.apk that you already downloaded in step 3. You can doing by :
adb push Email.apk /system/app
10. Change back the previliges of /system/app by chmod 755
11. Run Email program from your device (Restart your device if needed) and completing setup for your email account.
12. Done
Don't forget to set USB developer status disable again.
Hope this help you
... The Arabic word "zarrah" most commonly meant an atom. In recent times, modern science has discovered that it is likely to split even an atom. That the atom can be split further is a development of the 20th century. Fourteen centuries ago this notion would have appeared unusual even to both the Greeks and the Arabs. For both the Atom and "zarrah" was the limit beyond which one could not go. (From "The Atomic Weight and the Subatomic Weight in the Bible and Quran" by Prof.dr. Ibrahim Khalil)
Monday, February 14, 2011
Enable Disable Archivelog
I use this sequence to enable and disable archivelog mode in 10g and 11g:
==================================
ENABLE ARCHIVELOG
==================================
SQL> SELECT LOG_MODE FROM SYS.V$DATABASE;
LOG_MODE
------------
NOARCHIVELOG
SQL> ALTER SYSTEM SET log_archive_dest_1='location=C:\ARCH01' SCOPE=both;
System altered.
SQL> SHUTDOWN IMMEDIATE;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> STARTUP MOUNT;
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1375792 bytes
Variable Size 721420752 bytes
Database Buffers 343932928 bytes
Redo Buffers 4603904 bytes
Database mounted.
SQL> ALTER DATABASE ARCHIVELOG;
Database altered.
SQL> ALTER DATABASE OPEN;
Database altered.
SQL> select log_mode from v$database;
LOG_MODE
------------
ARCHIVELOG
SQL>
==================================
DISABLE ARCHIVELOG
==================================
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1375792 bytes
Variable Size 721420752 bytes
Database Buffers 343932928 bytes
Redo Buffers 4603904 bytes
Database mounted.
SQL> alter database NOARCHIVELOG;
Database altered.
SQL> alter database open;
Database altered.
SQL> select log_mode from v$database;
LOG_MODE
------------
NOARCHIVELOG
SQL>
==================================
ENABLE ARCHIVELOG
==================================
SQL> SELECT LOG_MODE FROM SYS.V$DATABASE;
LOG_MODE
------------
NOARCHIVELOG
SQL> ALTER SYSTEM SET log_archive_dest_1='location=C:\ARCH01' SCOPE=both;
System altered.
SQL> SHUTDOWN IMMEDIATE;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> STARTUP MOUNT;
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1375792 bytes
Variable Size 721420752 bytes
Database Buffers 343932928 bytes
Redo Buffers 4603904 bytes
Database mounted.
SQL> ALTER DATABASE ARCHIVELOG;
Database altered.
SQL> ALTER DATABASE OPEN;
Database altered.
SQL> select log_mode from v$database;
LOG_MODE
------------
ARCHIVELOG
SQL>
==================================
DISABLE ARCHIVELOG
==================================
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1375792 bytes
Variable Size 721420752 bytes
Database Buffers 343932928 bytes
Redo Buffers 4603904 bytes
Database mounted.
SQL> alter database NOARCHIVELOG;
Database altered.
SQL> alter database open;
Database altered.
SQL> select log_mode from v$database;
LOG_MODE
------------
NOARCHIVELOG
SQL>
Subscribe to:
Posts (Atom)