XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.
These are the steps I used to restore an old Samsung Galaxy Tab 2 10.1 GSM (P5100)1 purchased in 2012, which came with Android Ice Cream Sandwich (4.0.3) and was upgraded to Jelly Bean (4.1.2)1. There were issues installing and updating apps from the Google Play Store. I attempted to fix the issue and ended up installing a custom recovery image and ROM with a more recent Android version (i.e. replacing the stock Android operating system).
Since OmniROMs are free of Google Play services5, and my sister needs Google apps to work, I also downloaded Open GApps. I downloaded the pico variant (since I only want a minimal install of Google Play) for ARM platforms (since the tab has 32-bit architecture) and Android 6.0 (same as the ROM of my choice).
Heimdall is an open-source (MIT License), cross-platform tool; its source code is available on GitHub. The repository has operating-system-specific README files on how to build the programme from source. These are the steps I followed on my Windows 10 system10:
I turned off the tab and entered download mode. I did this by pressing the Volume Up and Power buttons for a few seconds until a yellow warning triangle appears on the screen. I then pressed the Volume Down button to proceed into ODIN mode.
Galaxy Tab 2 10.1 users who have lost the warranty of the devices running on custom builds and wish to go back to stock official firmware may follow our step-by-step guide to unroot the device. The 10.1 in Galaxy tablet was first shipped with Ice Cream Sandwich software and later upgraded to the Android version 4.1.2.
2) Enable USB Debugging Mode on the tablet to connect it with the computer and use Android SDK with it. [Press Menu>> Settings>> Applications. From there navigate and click on Development option and check USB Debugging Mode.]
Step-7: Connect the tablet to the computer using the USB cable while the phone is in Download Mode. Wait until Odin detects the device. When it is connected successfully, an Added message will appear under Odin's message box. Additionally, the ID: COM box in Odin will turn blue with COM port number indicating successful connection.
Note: If the Added message does not appear, then try the USB port at the back of the computer. If Odin still fails to recognsie the device then re-install USB Driver.
Step-11: When the installation process is completed, the phone will restart automatically. Following this, a PASS message with green background will appear in a box at the extreme left of Odin indicating successful installation. Unplug the USB cable from the phone to disconnect it from the computer
As the Galaxy Tab 2 10.1 boots up successfully, it should be unrooted and running on stock official firmware. Head over to Settings>> About tablet to verify the software version of the device.
Samsung devices come with a unique boot mode called Download Mode which is very similar to Fastboot Mode on some devices with unlocked bootloaders. Heimdall is a cross-platform, 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 stock firmware is neither recommended nor necessary.
You want to use a 64-bit version of Linux. A 32-bit Linux environment will only work if you are building CyanogenMod 6 and 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.
You only need to do these steps the first time you build. If you previously prepared your build environment and have downloaded the CyanogenMod source code for another device, skip to Prepare the device-specific code.
A package manager in Linux is a system used to install or remove 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 command directly in the Terminal. (Learn more about the apt packaging tool system from Wikipedia.)
Different maintainers setup their device inheritance rules differently. Some require a vendor directory to 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 succeeded at pulling in the device tree and the extract blobs script should be available. After completing that section, you can rerun breakfast p5100
c80f0f1006