I9100

Warning: The Samsung Galaxy S II is no longer maintained.

You watching: I9100

A build guide is available for developers that would lượt thích lớn make private builds, or even restart official tư vấn.
*

Important:
Please read through the instructions at least once before actually following them, so as lớn avoid any problems due to any missed steps!

Preparing for installation

Samsung devices come with a quality boot mode called “Download mode”, which is very similar to “Fastboot mode” on some devices with unlocked bootloaders.Heimdall is a cross-platsize, open-source tool for interfacing with Download mode on Samsung devices.The preferred method of installing a custom recovery is through Download Mode – rooting the stock firmware is neither necessary nor required.

Download and install the appropriate version of the Heimdall suite for your machine’s OSWindows: Extract the Heimdall suite zip and take note of the new directory containing heimdall.exe. You can verify Heimdall is functioning by opening a Comm& Prompt or PowerShell in that directory and running heimdall version.Linux: Extract the Heimdall suite zip and take note of the new directory containing heimdall. Now copy heimdall into lớn a directory in $PATH, a comtháng one on most distros will be /usr/local/bin. For example cp heimdall /usr/local/bin. You can verify Heimdall is functioning by opening a Terminal và running heimdall version.macOS: Mount the Heimdall suite DMG. Now drag heimdall down inlớn the /usr/local/bin symlink provided in the DMG. You can verify Heimdall is functioning by opening a Terminal & running heimdall version.

Note:
These Heimdall suite distributions were built by LineageOS Developers Nolen Johnson (npjohnson) và Jan Altensen (Stricted), as the Heimdall suite executables distributed on the official Heimdall trang web were outdated and the repo mostly abandoned. Modifications were made to lớn make it build & function on modern OSes.
Power nguồn off the device, & boot it into lớn download mode:With the device powered off, hold Volume Down + Home + Power.Now, cliông xã the button that the on screen instructions correlate khổng lồ “Continue”, and insert the USB cable inlớn the device.For Windows user only: install the necessary drivers. A more complete set of instructions can be found in the Zadig user guide.If nothing relevant appears, try uninstalling any Samsung related Windows software, like Samsung Windows drivers and/or Samsung Kies.Run zadig.exe cộ found in your extracted Heimdall directory.

Choose Options » List all devices from the menu.Select Samsung USB Composite Device or MSM8x60 or Gadget Serial or Device Name from the drop down thực đơn.Click Replace Driver, then selecting Install Driver from the drop down danh sách built inlớn the button.If you are prompted with a warning that the installer is unable khổng lồ verify the publisher of the driver, select Install this driver anyway. You may receive two more prompts about security. Select the options that accept the warnings and allow you to carry on.On your machine, open a Commvà Prompt or PowerShell (Windows) window, or Terminal (Linux or macOS) window, & type:
If the device reboots that indicates that Heimdall is installed & working properly. If it does not, please refollow these instructions to verify steps weren’t missed, try a different USB cable, & a different USB port.

Installing a custom recovery using heimdall



Power off the device, & boot it into download mode:With the device powered off, hold Volume Down + Home + nguồn.Now, clichồng the button that the on screen instructions correlate khổng lồ “Continue”, và insert the USB cable into lớn the device.On your machine, open a Comm& Prompt or PowerShell (Windows) window, or Terminal (Linux or macOS) window, and type:

Tip: The tệp tin may not be named identically to what stands in this comm&, so adjust accordingly. If the file is wrapped in a zip or tar tệp tin, extract the tệp tin first, because Heimdall is not going khổng lồ bởi vì it for you.
A xanh transfer bar will appear on the device showing the recovery image being flashed.Unplug the USB cable from your device.Manually reboot into recovery, this may require pulling the device’s battery out and putting it baông xã in, or if you have sầu a non-removable battery, press the Volume Down + Power buttons for 8~10 seconds until the screen turns blachồng & release the buttons immediately when it does, then boot to lớn recovery:With the device powered off, hold Volume Up + trang chủ + Power nguồn.
Note: Be sure lớn reboot inlớn recovery immediately after installing the custom recovery. If you don’t the stoông chồng ROM will overwrite the custom recovery with the stochồng recovery, và you’ll need to lớn flash it again.

Installing LineageOS from recovery

Build a LineageOS installation package.If you are not in recovery, reboot inlớn recovery:With the device powered off, hold Volume Up + trang chủ + nguồn.Now tap Wipe.Now tap Format Data & continue with the formatting process. This will remove sầu encryption & delete all files stored in the internal storage.Return to lớn the previous menu and tap Advanced Wipe, then select the Cache and System partitions & then Swipe lớn Wipe.Sideload the LineageOS .zip package:On the device, select “Advanced”, “ADB Sideload”, then swipe to begin sideload.On the host machine, sideload the package using: adb sideload filename.zip(Optionally): If you want to lớn install any additional add-ons, repeat the sideload steps above for those packages in sequence.


Note: If you want Google Apps on your device, you must follow this step before booting into LineageOS for the first time!
Warning: Depending on which recovery you use, you may be prompted to install additional apps and services.We strongly advise you lớn opt out of installing these, as they may cause your device lớn bootloop,as well as attempt to access or corrupt your data.

See more: Phần Mềm Biến Wc Thành Camera Chống Trộm, Hô Biến Smartphone Cũ Trở Thành Camera Quan Sát


Note:
LineageOS strongly recommends using our builtin Updater app. Alternative sầu methods are supported, however.

Using the LineageOS Updater app

xuất hiện Settings, navigate to lớn “System”, then “Updater”.Clichồng the Refresh Inhỏ in the top right corner.Choose which update you’d like & press “Download”.When the download completes, click “Install”. Your device will reboot khổng lồ recovery và install the update, then reboot to the updated installation.

From your PC via the push_update script (Linux/macOS only)

Run adb rootRun wget https://raw.githubusernội dung.com/LineageOS/android_packages_apps_Updater/lineage-16.0/push-update.sh &và chmod +x push-update.shRun: ./push-update.sh /path/to/zipmở cửa Settings, navigate to lớn “System”, then “Updater”. Then proceed to clichồng “Install” on the newly pushed update to commence installation. Your device will reboot khổng lồ recovery và install the update, then reboot khổng lồ the updated installation.

Sideloading from Recovery

Run: adb reboot sideload

Run: adb sideload /path/to/zip

Run: adb reboot

Upgrade to lớn a higher version of LineageOS (e.g. lineage-15.1 -> lineage-16.0) on i9100


Important: Please read through the instructions at least once completely before actually following them to avoid any problems because you missed something!
Warning: These instructions only apply to lớn version upgrades. If you wish khổng lồ downgrade khổng lồ an earlier version of LineageOS, follow your device’s instructions for installing LineageOS the first time.
Tip: In some cases, a newer LineageOS version may not install due lớn an outdated recovery.Follow your device’s installation guide to see how you can update your recovery image.

The updater tiện ích does not support upgrades from one version of LineageOS to another, and will blochồng installation to any update for a different version. Upgrading manually requires similar steps to installing LineageOS for the first time.

Build a LineageOS install package.Run adb reboot sideload.
Important:
The device may reboot khổng lồ a blank black screen, fear not, this is a known bug on some recoveries, proceed with the instructions.
Run adb sideload /path/to/zip (inserting the path to lớn your LineageOS package).(Optionally): If you want to install any additional add-ons, cliông xã Advanced, then ADB Sideload, then swipe lớn begin sideload, then adb sideload /path/to/zip those packages in sequence.
Note: If you previously had any Google Apps package installed on your device, you must install an updated package before the first boot of Android! If you did not have Google Apps installed, you must wipe the Data partition (or perform a factory reset) lớn install them.
Warning: Depending on which recovery you use, you may be prompted khổng lồ install additional apps and services.We strongly advise you to lớn opt out of installing these, as they may cause your device khổng lồ bootloop,as well as attempt lớn access or corrupt your data.

Build for i9100

Introduction

These instructions will hopefully assist you to start with a stock Samsung Galaxy S II, unloông xã the bootloader (if necessary), và then downloadthe required tools as well as the very lakiểm tra source code for LineageOS (based on Google’s Android operating system) for your device. Using these, you can build botha LineageOS installation zip và a LineageOS Recovery image & install them on your device.

It is difficult to say how much experience is necessary lớn follow these instructions. While this guide is certainly not for the extremely uninitiated,these steps shouldn’t require a PhD in software development either. Some readers will have no difficulty và 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 read throughjust khổng lồ ascertain whether you feel comfortable or are getting over your head.

See more: Hướng Dẫn Tổng Quát Về Flash Rom Android, Cách Flash Rom Android Của Bạn

Remember, you assume all risk of trying this, but you will reap the rewards! It’s pretty satisfying to boot into a fresh operating system you baked at home :).And once you’re an Android-building ninja, there will be no more need khổng lồ wait for “nightly” builds from anyone. You will have at your fingertips the skills tobuild a full operating system from code & install it to lớn 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 lớn build a new app or port to lớn a new device– or maybe you’ll never build again– it’s all really up khổng lồ you.

What you’ll need

A Samsung Galaxy S II.A relatively recent 64-bit computer (Linux, macOS, or Windows) with a reasonable amount of RAM and about 200 GB of free storage (more if you enable ccađậy or build for multiple devices). The less RAM you have, the longer the build will take. Alặng for 16 GB RAM or more, enabling ZRAM can be helpful. Using SSDs results in considerably faster build times than traditional hard drives.A USB cable compatible with the Samsung Galaxy S II.A decent internet connection & reliable electriđô thị.
Chuyên mục: Chia sẻ