Thursday, 17 October 2013

Samsung Galaxy S3 To Official Android 4.2.2 Jelly Bean

Update Samsung Galaxy S3 To Official Android 4.2.2 Jelly Bean XXUFME3 Firmware

Update Samsung Galaxy S3 To Official Android 4.2.2 Jelly Bean XXUFME3 FirmwareThis tutorial is exclusively brought to you by AndroidCritics on Youtube visit youtube.com/androidcritics for the latest news,reviews, and more for your android device.Update Samsung Galaxy S3 To Official Android 4.2.2 Jelly Bean XXUFME3 Firmware
Update Samsung Galaxy S3 To Official Android 4.2.2 Jelly Bean XXUFME3 Firmware
Update Samsung Galaxy S3 To Official Android 4.2.2 Jelly Bean XXUFME3 Firmware
A few weeks ago, we were notified that android 4.2.2 jelly bean would come to the S3 in mid May. Well, it is now late May and we are now getting the official update!This tutorial will show you how to get the official final version of android 4.2.2 jelly bean on the samsung galaxy s3 i9300. This is only compatible with the galaxy s3 i9300 and not any other version of the samsung galaxy s3. What also make this update special is that you will get all the new android 4.2.2 features found on the Samsung Galaxy S4.
We know that lot of Android 4.2.2 Jelly Bean test firmwares were leaked for the Samsung Galaxy S3. Here is an official build that is available for download to flash into your Galaxy s3 via Odin.
Samsung Galaxy S3 Running Android 4.2.2
Samsung Galaxy S3 Running Android 4.2.2
Please make sure that:
- This Android 4.2.2 Jelly Bean I9300XXUFME3
is only compatible Galaxy S3 GTi9300 and not is for Sprint, Verizon, AT&T, T-Mobile or others.
- Your Galaxy S3 must running Original ROM and not a custom ROM. If your Galaxy S3 is running Custom Rom, download and flash original ROM into your Galaxy S3.
- Create a backup of your phone in clockworkmod recovery to external storage.
- Battery power at least 80% full.
Official Android 4.2.2 On Samsung Galaxy S3 i9300
Official Android 4.2.2 On Samsung Galaxy S3 i9300
Download I9300XXUFME3
(zip file) then unzip this file to your PC. Now you will get I9300XXUFME3_I9300OJKFME1_ILO.zip
Step 1: Set your phones into USB debugging mode: Settings -> Applications -> Development -> USB debugging.Then turn off your phones.
Step 2: Put your galaxy s3 into download mode by pressing and holding VolumeDown + Home + Power simultaneously.
Step 3: Download Odin and start ODIN on PC.
Step 4: Connect the device to your computer using USB.
Step 5: Wait a few seconds, the ODIN screen will show that a device is now connected
- If ODIN not detect your device, then install drivers here and then put your device into download mode. Odin will detect your device when it says COM5,COM6,etc.
Step 6: Click the PDA button, then select I9300XXUFME3_I9300OJKFME1_ILO.zip
Step 7: Press “Start”. ODIN will start flash the firmware.
Step 8: After Flash complete, your Galaxy S3 will Boot into Android System Recovery Mode.
Now you need:
That’s All! Now your Galaxy S3 is running the official Android 4.2.2 Jelly Bean on your samsung galaxy s3 I9300XXUFME3 firmware! Thanks for reading this article on how to:Update Samsung Galaxy S3 To Official Android 4.2.2 Jelly Bean XXUFME3 Firmware ! Feel free to visit androidcritics.com for the latest news,reviews,and more!

Monday, 7 October 2013

Live USB stick

Preamble

These instructions explain how to create a bootable USB stick to install openSUSE from the LiveCD isos or from the DVD (which were originally intended for optical media). The procedure is different for CD and DVD image for versions before 12.2.
However, for 12.2 or later, the instructions are the same for the CDs or the DVD. Note: do not try to apply procedures found in internet for other distributions "to convert the images into bootable sticks". Doing that will break the images. The openSUSE images are already prepared for being used directly on usb sticks, no further steps are needed.

[edit]Create a Live USB (GUI)

[edit]Download LiveCD ISO

Download the installation image of your choice from http://software.opensuse.org/.

[edit]Before 12.2

You'll need to look at the USB DVD section below if you don't want to install from a LiveCD image.

[edit]12.2 or later

These instructions apply both to the CDs or the DVD

[edit]Windows Instructions

Imagewriter Windows.png

Download ImageWriter

Write ISO to USB

Write the LiveCD to the USB stick.
NOTE: Windows Imagewriter.exe, unlike Linux version, does not see automatically .iso files, only .raw, but it works with any of those files without problems. That leads to manual selection described below.
  • Open the downloaded ImageWriter
    • If the ImageWriter won't open, you'll probably need to download the .NET 2.0 Runtime
    • If you get an error right after you start the process, you may want to right-click the executable and "Run as administrator".
  • Press the select button
  • Type *.* in the file name box and find your LiveCD image
  • Select your USB stick and click the Write button
NOTE: You may meet this error on some MS Windows versions:
  • If you have done above steps correctly but still get error like this
    system.componentModel.Win32Exception:Access is denied
    try one or more of the following three:
    1. An opening Windows Explorer might have blocked direct accessing to a physical drive. If you opened the ImageWriter from a Windows Explorer, close the ImageWriter then open it again, after opened, close every window of Windows Explorer, then try to write the ISO again.
    2. In Windows XP or later, run this command using Run(WinKey+R, or in the Start Menu) or in a command prompt, to unmount the USB stick:
      mountvol driveletter: /d
      replace the "driveletter:" with your drive path like "E:". After unmount, the ImageWriter should work now. (You may unmount the drive before running ImageWriter.)
    3. Use a partiton tool to delete the whole USB stick partition, to make the partition 'RAW'. (Note this will destory all you data on the USB stick and before you format it again, you won't be able to use it as usual.) After that, rerun the ImageWriter and try to write the ISO again.


[edit]Linux Instructions

Yast install imagewriter.png

Install ImageWriter

Install the SUSE Studio Image Writer.
  • Open the YaST software management module.
    • In KDE, open the kicker menu, go to the Computer tab, and click Install/Remove Software
    • In GNOME, you should see Install/Remove Software on the right-hand side of Computer menu
  • You will be prompted for the root password, enter it
  • Search for "imagewriter" (excluding the quotes) and check it to be installed
  • Click Accept

Imagewriter.png

Write ISO to USB

Write the LiveCD image to the USB stick
  • Open the ImageWriter
    • In KDE, open the kicker menu, search for "imagewriter", and click SUSE Studio Imagewriter
    • In GNOME, you'll click More Applications, search for imagewriter, and click on SUSE Studio Imagewriter
  • Enter the root password when prompted
  • Click in the middle of the application, and navigate to where you saved your image
  • Select your USB device from the dropdown menu, and click the Write button
  • Reboot

Alternate graphical method is to use Live USB GUI, frontend to live-fat-stick script.

[edit]Create a Live USB (console)

[edit]Download and verify LiveCD ISO

Download the installation image of your choice from:
~> aria2c -x5 http://download.opensuse.org/distribution/12.2/iso/openSUSE-12.2-KDE-LiveCD-x86_64.iso
Verify a download integrity:
~> gpg --recv-keys 9C800ACA
~> wget http://download.opensuse.org/distribution/12.2/iso/openSUSE-12.2-KDE-LiveCD-x86_64.iso.asc
~> gpg -a openSUSE-12.2-KDE-LiveCD-x86_64.iso.asc
USB dd rescue.png

Linux Instructions

Find Block Device

After inserting your USB stick, you can find out what device it is
~> su
# grep -Ff <(hwinfo --disk --short) <(hwinfo --usb --short)

Write ISO to USB

Finally, once you've found your block device, write the image to it. Point 'dd' to the full path such as '/home/user/Downloads/openSUSE-12.2-KDE-LiveCD-x86_64.iso' or change directory (example: cd ./Downloads) to where the image is contained.
# umount /dev/sdX
# dd if=/path/to/downloaded.iso of=/dev/sdX
Alternate method to write ISO to USB
As above, but using "cp" instead of "dd".
# umount /dev/sdX
# cp /path/to/downloaded.iso /dev/sdX
# sync

Put ISO on vfat partitioned USB stick or hard disk

If you'd rather not reformat the USB device and keep the ability of putting files on it and accessible by other operating systems, you have the option of using the live-fat-stick script.
On openSUSE you can install the package via 1-click, if you are running any other distribution, get the script from here and make it executable(as root, with chmod +x /usr/bin/live-fat-stick) after copying it to/usr/bin/, make sure you have syslinux and gpart installed before running it.
Run the following as root (with su -, not using sudo) in terminal:
# live-fat-stick -l
to get the USB device path
# live-fat-stick --suse /path/to/openSUSE-filename.iso /dev/sdXY
to copy iso to USB device and make it bootable
# live-fat-stick -h
it shows help.
Multiple iso images from multiple distributions can be added to the USB device, boot menu will offer a choice of distribution to boot from. Scripts does not format or remove data from the device.


200px

OS X instructions

Find Block Device

Plug-in your USB stick and find what "/dev/diskN" it is mapped to by opening Terminal (where "N" stands for "disk0", "disk1", "disk2" etc). To do so, please execute:
# diskutil list
This will print out the list of currently mapped devices/partitions. Find the USB using "NAME" column. Then note the corresponding /dev/diskN, where "N" is for index of your disk. For example:
/dev/disk2
   #:                       TYPE        NAME                    SIZE   IDENTIFIER
   0:                       FAT32                               2.0 GB   disk0
   1:                                   USB2                    2.0 GB   disk0s1
In this case "/dev/disk2" is the one we want.

Unmount USB Stick

Unmount the USB stick
# diskutil unmountDisk /dev/diskN
Where /dev/diskN is the one you have found in previous step as per our example it would be "/dev/disk2".

Write ISO to USB

Write the content of the ISO file:
# dd if=/path/to/downloaded.iso of=/dev/diskN bs=4k
Again the /dev/diskN is the same one you have found previously. You will be prompted for the administrator's password.


[edit]Bootable USB from DVD or Net-install

These instructions apply only to versions prior to 12.2. From this version onwards, simply do the same as for the CD images as explained above. Specifically, do not run the isohybrid steps.

[edit]Download DVD ISO

Download one of the DVD or Net Installation images from http://software.opensuse.org/
Linux isohybrid.png

Linux instructions

Install syslinux/isohybrid

If you would like to boot the from a USB stick then you can make the ISO bootable by installing syslinux.
# zypper in syslinux
# isohybrid openSUSE-12.1-DVD-x86_64.iso
Once completed just follow whichever set of above LiveUSB instructions you like, and take care to read the Booting from USB-DVD section below afterward.


Extract Syslinux.png

Windows instructions

Get isohybrid

Download and extract isohybrid from the syslinux package.
  • Download syslinux.
  • Extract the zip. Right click on it in Windows Explorer and click "Extract All"
  • Find the isohybrid.pl script in the utils directory, and place it in the same directory as your image.

[edit]Install Perl

Install strawberry perl.
Windows isohybrid.png

Create Hybrid ISO

Make the DVD or Net-install image hybrid.
  • Open cmd and navigate to the directory containing isohybrid.pl script and your installation image.
  • Run isohybrid.pl
> C:\strawberry\perl\bin\perl.exe isohybrid.pl openSUSE-12.1-DVD-x86_64.iso
  • This should take less than a second to execute
Once completed just follow whichever set of above LiveUSB instructions you like, and take care to read the Booting from USB-DVD section below afterward.


Boot by-label.png

Booting from USB-DVD

Write the image to the USB stick using the Windows instructions above.
  • Hit F4, change the installation source to Hard Drive, but leave all fields blank and hit Enter to close the dialog.
  • Type "namescheme=by-label" into the boot options for "Installation" and start the installation; you should go straight to the installer without a hitch.


[edit]How to make a USB drive bootable

This situation would happen very rarely, but in the even that your computer doesn't boot from the LiveUSB/DVD from the steps above, you might try the following procedure.
Linux fdisk.png

Linux Instructions

Open a console and do the following as root
# umount /dev/sdX
# fdisk /dev/sdX
: p   «--- print partition table
: a   «--- activate partition (bootable)
: 1   «--- apply to partition 1
: w   «--- write changes and exit


Windows Diskpart.png

Windows Instructions

The Windows equivalent of the above would look like this
C:\> diskpart
DISKPART> list disk           «--- print disks
DISKPART> select disk 0       «--- select disk number
DISKPART> list partition      «--- print partition table
DISKPART> select partition 1  «--- select the first partition
DISKPART> active              «--- activate disk/partition (bootable)
DISKPART> exit                «--- exit
Unlike fdisk, diskpart will preform changes as you enter them, therefore, there is no write instruction.


[edit]Live USB stick with persistent file system

To create a persistent file system on the usb stick give at the initial boot prompt the extra command:
kiwi_hybridpersistent=yes
Now an extra file system will be created so that data can be stored on the stick in a persistent way.
Note that this only makes sense if your USB stick is larger than 1 GB.

[edit]How to recover the USB stick for "normal" use again

After system installation, you may want to reuse the stick as you would normally to write things on it. In that case you have to reformat it. Often people complain that Windows fails to do it.
If you look at the 12.3 DVD image on a USB stick wit fdisk, you would see something like this (notice the GPT warning):
Telcontar:~ # fdisk -l /dev/sdf
·
WARNING: GPT (GUID Partition Table) detected on '/dev/sdf'! The util fdisk doesn't support GPT. Use GNU Parted.
·
·
Disk /dev/sdf: 7742 MB, 7742685184 bytes
64 heads, 32 sectors/track, 7384 cylinders, total 15122432 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1bf0d4df
·
   Device Boot      Start         End      Blocks   Id  System
/dev/sdf1            4248       12439        4096   ef  EFI (FAT-12/16/32)
/dev/sdf2   *       12440     9162751     4575156   17  Hidden HPFS/NTFS
Telcontar:~ # 

So, before reformatting, you have to repartition it again. And sometimes, if this fails, you may need an extra step - because software thinks the stick is a CD and thus not writeable:
Notice: all these intructions assume the stick device is /dev/sdX. You have to find which is yours (see “Find Block Device” section above). An error here will destroy some other disk in your system.
  # umount /dev/sdX
  # dd if=/dev/zero of=/dev/sdX count=100
That destroys the boot sector, partition table, and initial structures. Any operating system should be happy to reformat it again.
But typically, you would simply start fdisk:
  # fdisk /dev/sdX
and select:
  o   create a new empty DOS partition table
and then:
  n   add a new partition
(primary, number 1, default size to use the entire device)
  t   change a partition's system id
Use type 6, FAT16
  w   write table to disk and exit
Finally:
  # mkfs.msdos -n SOME_NAME /dev/sdX1
And done. Or, you could use gparted for partitioning and formatting.
You could, if you prefer, make a backup image of the stick prior to using it for installation, with dd, and recover it after the installation.

Saturday, 5 October 2013

Installing Active Directory on Windows Server 2012

Installing Active Directory on Windows Server 2012


Description

This article will walk you through setting up the Active Directory Role on a Windows Server 2012. This article is intended to be used for those without an existing Active Directory Forest, it will not cover configuring a server to act as a Domain Controller for an existing Active Directory Forest. 

Content

Installing Active Directory

1. Open the Server Manager from the task bar. 
2. From Server Manager Dashboard select Add roles and features. This will launch the Roles and Features Wizard allowing for modifications to be performed on the Windows Server 2012 instance.
3. Select Role-based or features-based installation from the Installation Type screen and click Next
Note: Roles are the major feature sets of the server, such as IIS, and features provide additional functionality for a given role.
4. The current server is selected by default. Click Next to proceed to the Server Roles tab.
5. From the Server Roles page place a check mark in the box next to Active Directory Domain Services. A notice will appear explaining additional roles services or features are also required to install domain services, click Add Features.
Note: There are other options including, Certificate services, federation services, lightweight directory services and rights management. Domain Services is the glue that holds this all together and needs to be installed prior to these other services.
6. Review and select optional features to install during the AD DS installation by placing a check in the box next to any desired features; Once done click Next.
7. Review the information on the AD DS tab and click Next.
8. Review the installation and click Install.
Note: The installation progress will be displayed on the screen. Once installed the AD DS role will be displayed on the 'Server Manager' landing page.

Configuring Active Directory

Once the AD DS role is installed the server will need to be configured for your domain.
1. If you have not done so already, Open the Server Manager from the task bar. 
2. Open the Notifications Pane by selecting the Notifications icon from the top of the Server Manager. From the notification regarding configuring AD DS click Promote this server to a domain controller.
3. From the Deployment Configuration tab select Add a new forest from the radial options menu. Insert your root domain name into the Root domain name field.
 
4. Review and select a Domain and Forest functional level. Once selected fill in a DSRM password in the provided password fields. The DSRM password is used when booting the Domain Controller into recovery mode.
Note: The selection made here will have lasting effects to features and server domain controller eligibility. For further information on Domain/Forest functional levels see official Microsoft documentation.
5. Review the warning on the DNS Options tab and select Next.
6. Confirm or enter a NetBIOS name and click Next.
7. Configure the location of the SYSVOL, Log files, and Database folders and click Next.
8. Review the configuration options and click Next.
9. The system will check to ensure all necessary prerequistes are installed on the system prior to moving forward. If the system passes these checks you will proceed by clicking Install.
Note: The server will automatically be rebooted once the installation completes.
10. Once the server is done rebooting reconnect via RDP. Congratulations on successfully installing and configuring a Active Directory Domain Services on Windows Server 2012.
See Preventing DNS Amplification Attacks via the Windows Firewall in Windows 2008 R2 or Windows 2012 for information on protecting your server from DNS amplification attacks.