Samsung galaxy s5 lte scl23 stock rom

Special boot modes

Recovery: With the device powered off, hold Volume Up, HomePower. When the xanh text appears, release the buttons.

You watching: Samsung galaxy s5 lte scl23 stock rom

Download: With the device powered off, hold Vol Down & Home & Power

Source code

Devicehttp://www.github.com/cyanogenmod/android_device_samsung_kltekdi
Kernel http://www.github.com/cyanogenmod/android_kernel_samsung_klte

Galaxy S5 (AU) Specifications Codename: Also known as: Vendor: Type: Platform: CPU: GPU: RAM: Weight: Dimensions: Screen size: Resolution: Screen density: Screen type: Internal storage: SD Card: Bluetooth: Wi-Fi: Main camera: Secondary camera: Power: Peripherals: CM supported:
*
kltekdi
SCL23
Samsung
phone
Qualcomm Snapdragon 801
2.5 GHz quad-core Krait 400
Adreno 330
2GB
145 g (5.11 oz)
142 milimet (5.59 in) H72.5 mm (2.85 in) W8.1 mm (0.31 in) D
130 milimet (5.1 in)
1920×1080
432 ppi
Full HD Super AMOLED
32GB
up lớn 128GB
4.0 BLE
802.11 a/b/g/n/ac
16MP., flash: LED
2MP
2800 mAh Li-ion battery, removable
Fingerprint recognition, Heart rate sensor, Motion Coprocessor,Accelerometer, Gesture sensor, Gyroscope, Proximity sensor, Compass, Barometer, Hall effect sensor, Magnetic sensor, RGB ambient light, Infrared (IR) LED sensor
12.1, 13, 14.1

Note: DISCLAIMER

Modifying or replacing your device’s software may void your device’s warranty, lead to lớn data loss, hair loss, financial loss, privacy loss, security breaches, or other damage, and therefore must be done entirely at your own risk. No one affiliated with the CyanogenMod project is responsible for your actions. Good luông chồng.


Installing a custom recovery

Samsung devices come with a chất lượng boot mode called Download Mode which is very similar to lớn Fastboot Mode on some devices with unlocked bootloaders. Heimdall is a cross-platkhung, open source tool for interfacing with Download Mode on Samsung devices. The preferred method of installing a custom recovery is through this boot mode. Rooting the stoông xã firmware is neither recommended nor necessary.

Download & install the Heimdall SuiteLinux: Pichồng the appropriate installation package based on your distribution. The -frontend packages are not required for this guide. After installation, heimdall should be available from the terminal; type heimdall version lớn verify installation succeeded.Mac: Install the dmg package. After installation, heimdall should be available from the terminal; type heimdall version lớn verify installation succeeded.Power off the Galaxy S5 (AU) và connect the USB adapter to lớn the computer but not to the Galaxy S5 (AU), yet. Boot the Galaxy S5 (AU) into tải về mode. With the device powered off, hold Vol Down & Home & Power Accept the disclaimer on the device. Then, insert the USB cable inkhổng lồ the device.Windows (only) driver installation – Skip this step if you are using Linux or MacA more complete phối of the following instructions can be found in the Zadig User Guide.Run zadig.exe cộ from the Drivers folder of the Heimdall Suite.Choose Options » List All Devices from the menu.Cliông chồng Replace Driver (having selecting “Install Driver” from the drop down list built inlớn the button).If you are prompted with a warning that the installer is unable lớn verify the publisher of the driver, select Install this driver anyway. You may receive sầu two more prompts about security. Select the options that allow you lớn carry on.At this point, familiarize yourself with the Flashing with heimdall notes below so that you are prepared for any strange behaviour if it occurs.On the computer, open a terminal (or Command Prompt on Windows) in the directory where the recovery image is located và type: heimdall flash --RECOVERY recovery.img --no-rebootTip: The file may not be named identically lớn what’s in this command. If the tệp tin is wrapped in a zip or tar tệp tin, extract the tệp tin first, because heimdall isn’t going khổng lồ vì it for you.A xanh transfer bar will appear on the device showing the recovery being transferred.Unplug the USB cable from your device.NOTE: Be sure lớn reboot into recovery immediately after having installed the custom recovery. Otherwise the custom recovery will be overwritten and the device will reboot (appearing as though your custom recovery failed to lớn install).Manually reboot the phone inkhổng lồ recovery mode by performing the following. With the device powered off, hold Volume Up, HomePower. When the blue text appears, release the buttons.The Galaxy S5 (AU) now has a custom recovery installed. Continue to the next section.


Note: Flashing with heimdall

In Windows 7 UAC (User Account Control) may need switching off. Once Heimdall is finished it can be re-enabled.Protocol initialization can fail if the device is connected via a USB hub – connect the USB cable directly khổng lồ the PCIt may be necessary to run the heimdall flash comm& as root in Linux or Mac OS X: sudo heimdall flash <...>. Typical symptoms of this are:a blue bar doesn’t show up after the process has finishedFailed khổng lồ confirm end of file transfer sequence!It may be necessary lớn capitalize the name of the partition on some devices. Try --KERNEL instead of --kernel and/or --recovery instead of --RECOVERY.On Mac OS X you may see this message: “ERROR: Claiming interface failed!”. If so, you need to disable the mặc định USB drivers with the following commands:subởi vì kextunload -b com.hãng apple.driver.AppleUSBCDC;subởi kextunload -b com.apple.driver.AppleUSBCDCACMControl;suvì chưng kextunload -b com.hãng apple.driver.AppleUSBCDCACMData;If you have installed Samsung Kies, you may further need to unload those USB drivers with the following commands:subởi kextunload -b com.devguru.driver.SamsungComposite;sudo kextunload -b com.devguru.driver.SamsungACMDatasuvì kextunload -b com.devguru.driver.SamsungACMControl

Helpful Tip

The stoông chồng ROM may overwrite your custom recovery on boot. To prsự kiện this, boot immediately into lớn recovery after leaving Download Mode instead of letting the ROM boot up normally. If your recovery is overwritten, simply redo the steps you followed above sầu và catch it before it boots next time.chú ý for upgrades from gingerbread to lớn jellybean remember the recovery is changed. This means once you install vì NOT restore lớn old-gingerbread-stock ROM from cwm-recovery.Some users have reported connection errors if the device is connected to a USB hub. If you experience such errors it is recommended that you try connecting your device lớn a USB port on the motherboard.Antivirus software may prsự kiện Heimdall from connecting properly. Disable your antivi khuẩn before proceeding.When Heimdall fails to lớn connect, the Download mode may get stuông chồng, making all further attempts fail too. To retry, you may need lớn restart the Download mode: turn off the phone by holding Power for 5-10 seconds (or by pulling out the battery), then boot inkhổng lồ Download mode & run Heimdall again.If Heimdall fails to connect (errors related lớn initializing the protocol, or transferring data):if you just installed the driver, try rebooting your computer và trying again.if you still have troubles after reboot, in Zadig try installing the libusbK driver rather than the WinUSB driver.

Installing CyanogenMod from recovery

Place the CyanogenMod .zip package, as well as any optional .zip packages, on the root of /sdcard:Note: You can copy the .zip packages khổng lồ your device using any method you are familiar with. The adb method is used here because it is universal across all devices and works in both Android & recovery mode. If you are in recovery mode, you may need to ensure /sdcard (sometimes called Internal Storage) is mounted by checking its status in the Mounts thực đơn. If you have sầu booted regularly, USB debugging must be enabled.If you are not already in recovery, boot lớn recovery mode now.With the device powered off, hold Volume Up, Home & Power. When the blue text appears, release the buttons.In Team Win Recovery Project, select thực đơn choices by tapping on the appropriately labelled button.Optional (Recommended): Select the Backup button to create a backup.Select Wipe and then Factory Reset.Select Install.Navigate to /sdcard và select the CyanogenMod .zip package.Follow the on-screen notices khổng lồ install the package.Optional: Install any additional packages you wish using the same method (if you are installing multiple packages, install CyanogenMod first and then install any subsequent packages on top of it).Once installation has finished, return to the main menu and select Reboot, then System. The device will now boot into CyanogenMod.
1 Introduction2 Build CyanogenMod and CyanogenMod Recovery2.1 Prepare the Build Environment3 Install the build

Introduction

These instructions will hopefully assist you to lớn start with a stock Galaxy S5 (AU), unloông chồng the bootloader (if necessary), & then tải về the required tools as well as the very lakiểm tra source code for CyanogenMod (based on Google’s Android operating system). Using these, you can build both CyanogenMod và CyanogenMod Recovery image from source code, & then install them both lớn your device.

It is difficult to say how much experience is necessary to follow these instructions. While this guide is certainly not for the very very very uninitiated, these steps shouldn’t require a PhD in software development either. Some readers will have no difficulty and breeze through the steps easily. Others may struggle over the most basic operation. Because people’s experiences, backgrounds, and intuitions differ, it may be a good idea to lớn read through just to lớn ascertain whether you feel comfortable or are getting over your head.

Rethành viên, you assume all risk of trying this, but you will reap the rewards! It’s pretty satisfying khổng lồ boot into lớn a fresh operating system you baked at home :) And once you’re an Android-building ninja, there will be no more need to wait for “nightly” builds from anyone. You will have at your fingertips the skills to build a full operating system from code khổng lồ a running device, whenever you want. Where you go from there– maybe you’ll add a feature, fix a bug, add a translation, or use what you’ve learned to build a new ứng dụng or port to a new device– or maybe you’ll never build again– it’s all really up to lớn you.

What you’ll need

A relatively recent computer (Linux, OS X, or Windows) with a reasonable amount of RAM và about 100 GB of miễn phí storage (more if you enable ccache or build for multiple devices). The less RAM you have, the longer the build will take (ayên for 8 GB or more). Using SSDs results in considerably faster build times than traditional hard drives. A USB cable compatible with the Galaxy S5 (AU) (typically micro USB, but older devices may use mini USB or have a proprietary cable) A decent mạng internet connection & reliable electricity :)

If you are not accustomed to lớn using Linux– this is an excellent chance khổng lồ learn. It’s free– just download and run a virtual machine (VM) such as Virtualbox, then install a Linux distribution such as Ubuntu (AOSP vets Ubuntu as well). Any recent 64-bit version should work great, but the lathử nghiệm is recommended.


Note:

You want to use a 64-bit version of Linux. A 32-bit Linux environment will only work if you are building CyanogenMod 6 & older. For CyanogenMod 10.1, if you encounter issues with 64bit host binaries, you can set BUILD_HOST_32bit=1 in your environment. This is generally not needed, though, especially with CyanogenMod 10.2 and newer.


Using a VM allows Linux lớn run as a guest inside your host computer– a computer in a computer, if you will. If you hate Linux for whatever reason, you can always just uninstall và delete the whole thing. (There are plenty of places to lớn find instructions for setting up Virtualbox with Ubuntu, so I’ll leave it to you khổng lồ bởi that.)

So let’s begin!

Build CyanogenMod và CyanogenMod Recovery

Prepare the Build Environment


Note:

You only need to vày these steps the first time you build. If you previously prepared your build environment và have sầu downloaded the CyanogenMod source code for another device, skip lớn Prepare the device-specific code.


Install the SDKIf you have not previously installed adb and fastboot, install the Android SDK. “SDK” stands for Software Developer Kit, và it includes useful tools that you can use to flash software, look at the system logs in real time, grab screenshots, & more– all from your computer.

Helpful Tip

While the SDK contains lots of different things– the two tools you are most interested in for building Android are adb and fastboot, located in the /platform-tools directory.


Install the Build Packages

Several “build packages” are needed to build CyanogenMod. You can install these using the package manager of your choice.


Helpful Tip

A package manager in Linux is a system used khổng lồ install or remove sầu software (usually originating from the Internet) on your computer. With Ubuntu, you can use the Ubuntu Software Center. Even better, you may also use the apt-get install commvà directly in the Terminal. (Learn more about the apt packaging tool system from Wikipedia.)


For both 32-bit và 64-bit systems, you’ll need:

bc bison build-essential curl flex git gnupg gperf libesd0-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop maven openjdk-7-jdk pngcrush schedtool squashfs-tools xsltproc zip zlib1g-devIn addition to lớn the above, for 64-bit systems, get these:

g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-devFor Ubuntu 15.10 (wily) và newer, substitute:

lib32readline-gplv2-dev → lib32readline6-dev

For Ubuntu 16.04 (xenial) & newer, substitute (additionally see java notes below):

libwxgtk2.8-dev → libwxgtk3.0-dev openjdk-7-jdk → openjdk-8-jdk

Java versions: Different versions of CyanogenMod require different versions of the JDK (Java Development Kit):

CyanogenMod 7 – 9: Sun/Oracle Java SE 1.6 CyanogenMod 10.1: Sun/Oracle Java SE 1.6 or 1.7 CyanogenMod 10.2 – 11.0: Sun/Oracle Java SE 1.6 or 1.7 (OpenJDK 1.7 works fine, but the build system will display a warning) CyanogenMod 12.0 – 13.0: OpenJDK 1.7 (see note about OpenJDK 1.8 below) CyanogenMod 14.1: OpenJDK 1.8

Ubuntu 16.04 (Xenial Xerus) or newer & OpenJDK: Since OpenJDK 1.7 was removed from the official Ubuntu repositories, you have sầu a couple options:

Enable experimental OpenJDK 1.8 support in CyanogenMod 13.0 (not available in earlier version). To enable OpenJDK 1.8 support, add this line to lớn your $HOME/.bashrc file: export EXPERIMENTAL_USE_JAVA8=true.

Also see http://source.game android.com/source/initializing.html which lists needed packages.

Create the directories

You will need to lớn phối up some directories in your build environment.

To create them:

$ mkdir -p ~/bin$ mkdir -p ~/android/system

Install the repo command

Enter the following to tải về the “repo” binary & make it executable (runnable):

$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo$ chhack a+x ~/bin/repo

Put the ~/bin directory in your path of execution

In recent versions of Ubuntu, ~/bin should already be in your PATH. You can check this by opening ~/.protệp tin with a text editor & verifying the following code exists (add it if it is missing):

# set PATH so it includes user's private bin if it existsif < -d "$HOME/bin" > ; then PATH="$HOME/bin:$PATH"fi

Initialize the CyanogenMod source repository

Enter the following to lớn initialize the repository:

Note: Make sure the centimet branch entered here is the one you wish to build and is supported on your device.

$ cd ~/android/system/$ repo init -u https://github.com/CyanogenMod/app android.git -b cm-13.0

Download the source code

To start the download of all the source code to lớn your computer:

$ repo syncThe CM manifests include a sensible default configuration for repo, which we strongly suggest you use (i.e. don’t add any options to lớn sync). For reference, our mặc định values are -j 4 & -c. The -j 4 part means that there will be four simultaneous threads/connections. If you experience problems syncing, you can lower this lớn -j 3 or -j 2. -c will ask repo to lớn pull in only the current branch, instead of the entire CM history.

See more: Top 5 Phần Mềm Lý Thuyết Lái Xe B1, B2, C, Phần Mềm Lý Thuyết Lái Xe B2 600 Câu Mới Nhất

Prepare to wait a long time while the source code downloads.


Helpful Tip

The repo sync commvà is used lớn update the lachạy thử source code from CyanogenMod and Google. Remember it, as you can vì chưng it every few days lớn keep your code base fresh & up-to-date.


Get prebuilt apps (CM11 & below)

Next,

$ cd ~/android/system/vendor/cmthen enter:

$ ./get-prebuiltsYou won’t see any confirmation- just another prompt. But this should cause some prebuilt apps khổng lồ be loaded and installed inkhổng lồ the source code. Once completed, this does not need lớn be done again.

Prepare the device-specific code


Helpful Tip – Errors during breakfast

Different maintainers cài đặt their device inheritance rules differently. Some require a vendor directory lớn be populated before breakfast will even succeed. If you receive an error here about vendor makefiles, then jump down to the next section Extract proprietary blobs. The first portion of breakfast should have sầu succeeded at pulling in the device tree and the extract blobs script should be available. After completing that section, you can rerun breakfast kltekdi


After the source downloads, ensure you are in the root of the source code (cd ~/android/system), then type:

$ source build/envthiết lập.sh$ breakfast kltekdiThis will download the device specific configuration & kernel source for your device. An alternative sầu to using the breakfast comm& is to build your own local manifest. To do this, you will need khổng lồ locate your device on CyanogenMod’s GitHub and danh mục all of the repositories defined in centimet.dependencies in your local manifest.


Helpful Tip

If you want to lớn know more about what source build/envsetup.sh does or simply want lớn know more about the breakfast, brunch & lunch commands, you can head over to lớn the Envsetup help page.


Helpful Tip

Instead of typing cd ~/android/system every time you want to return bachồng to the root of the source code, here’s a short command that will vì it for you: croot. To use this comm&, you must first run source build/envthiết đặt.sh from ~/android/system.


Extract proprietary blobs

Now ensure that your Galaxy S5 (AU) is connected to your computer via the USB cable and that you are in the ~/android/system/device/samsung/kltekdi directory (you can cd ~/android/system/device/samsung/kltekdi if necessary). Then run the extract-files.sh script:

$ ./extract-files.shYou should see the proprietary files (aka “blobs”) get pulled from the device và moved to lớn the ~/android/system/vendor/samsung directory. If you see errors about adb being unable lớn pull the files, adb may not be in the path of execution. If this is the case, see the adb page for suggestions for dealing with “command not found” errors.


Note:

Your device should already be running a build of CyanogenMod for the branch you wish lớn build for the extract-files.sh script to lớn function properly.


Note:

It’s important that these proprietary files are extracted lớn the ~/android/system/vendor/samsung directory by using the extract-files.sh script. Makefiles are generated at the same time to lớn make sure the blobs are eventually copied lớn the device. Without these blobs, CyanogenMod may build without error, but you’ll be missing important functionality, such as graphics libraries that enable you lớn see anything!


Turn on caching lớn speed up build

You can tốc độ up subsequent builds by adding

export USE_CCACHE=1to your ~/.bashrc tệp tin (what’s a .bashrc file?). Then, specify the amount of disk space lớn dedicate lớn ccađậy by typing this from the top of your Android tree:

prebuilts/misc/linux-x86/ccache/ccađậy -M 50Gwhere 50G corresponds lớn 50GB of cabịt. This only needs lớn be run once và the setting will be remembered. Anywhere in the range of 25GB khổng lồ 100GB will result in very noticeably increased build speeds (for instance, a typical 1hr build time can be reduced lớn 20min). If you’re only building for one device, 25GB-50GB is fine. If you plan to build for several devices that bởi not share the same kernel source, aim for 75GB-100GB. This space will be permanently occupied on your drive sầu, so take this into lớn consideration. See more information about ccabít on Google’s game android build environment initialization page.


Helpful Tip

If you are a very active sầu developer, working on many other projects than just Android, you might prefer khổng lồ keep your Android ccache independent (because it’s huge & can slow down the efficiency of ccache in your other projects). Beginning with CyanogenMod 12.1, you can specify environment variables for the location và kích cỡ of CyanogenMod’s ccache. Some syntax examples: export ANDROID_CCACHE_DIR="$HOME/android/.ccache" & export ANDROID_CCACHE_SIZE="50G".


Helpful Tip

If the build doesn’t start, try lunch and choose your device from the thực đơn. If that doesn’t work, try breakfast và choose from the thực đơn. The comm& make kltekdi should then work.


Helpful Tip

A second, bonus tip! If you get a command not found error for croot, brunch, or lunch, be sure you’ve sầu done the source build/envsetup.sh commvà in this Terminal session from the ~/android/system directory.


Helpful Tip

A third tip! If the build to fails while downloading Gello, you’ll need to import a missing certificate inlớn Maven’s truststore. Detailed instructions on how to lớn vị that can be found here


If the build breaks…

If you experience this not-enough-memory-related error…

ERROR: signgame android.jar failed: return code 1make: *** Error 1…you may want khổng lồ make the following change lớn ~/android/system/build/tools/releasetools/comtháng.py:

Search for instances of -Xmx2048m (it should appear either under OPTIONS.java_args or near usage of signapk.jar), và replace it with -Xmx1024m or -Xmx512m.

Then start the build again (with brunch).

If you see a message about things suddenly being “killed” for no reason, your (virtual) machine may have sầu run out of memory or storage space. Assign it more resources và try again.

Install the build

Assuming the build completed without error (it will be obvious when it finishes), type:

$ cd $OUTin the same terminal window that you did the build. Here you’ll find all the files that were created. The stuff that will go in /system is in a thư mục called system. The stuff that will become your ramdisk is in a thư mục called root. And your kernel is called… kernel.

But that’s all just background info. The two files we are interested in are (1) recovery.img, which contains CyanogenMod Recovery, & (2) cm-13.0-20161224-UNOFFICIAL-kltekdi.zip, which is the CyanogenMod installation package.

Install CyanogenMod

Baông xã to lớn the $OUT directory on your computer– you should see a tệp tin that looks something like:

cm-13.0-20161224-UNOFFICIAL-kltekdi.zip
Note:

The above file name may vary depending on the version of CM you are building. Your build may not include a version number or may identify itself as a “KANG” rather than UNOFFICIAL version. Regardless, the tệp tin name will end in .zip and should be titled similarly to official builds.


Now you can flash the centimet...zip file above sầu as usual via recovery mode. Before doing so, now is a good time lớn make a backup of whatever installation is currently running on the device in case something goes wrong with the flash attempt. While CyanogenMod Recovery doesn’t have a backup feature, there are other custom recoveries available that do. You can also use something like Titanium Backup (root required) as an alternative.

Success! So….what’s next?

You’ve done it! Welcome to the elite club of self-builders. You’ve sầu built your operating system from scratch, from the ground up. You are the master/miáp lực of your domain… & hopefully you’ve learned a bit on the way and had some fun too.

Now that you’ve succeeded in building CyanogenMod for your device, here are some suggestions on what to vày next.

Also, be sure lớn take a glance at the Dev Center on this wiki for all kinds of more detailed information about developer topics ranging from collecting logs, understanding what’s in the source code directories, submitting your own contributions, porting CyanogenMod khổng lồ new devices, & a lot more.

See more: Áo Sơ Mi One Piece Live Wallpaper By Thichtruyentranh, Hội Những Người Yêu Thích Truyện Tranh One Piece

Congrats again!

Content of this page is based on informations from wiki.cyanogengian lận.org, under CC BY-SA 3.0 licence.


Chuyên mục: Chia sẻ