dimanche 1 mars 2015

[G800F][ROM][5.0.2][LRX22G] CyanogenMod 12.0 for G800F [Alpha 01/03/2015] topic






This is a CyanogenMod 12 ROM for the Exynos3470 based Samsung Galaxy S5 mini (G800F).

DO NOT USE IT FOR THE QUALCOMM SNAPDRAGON BASED S5 mini variants (G800H/M/...) OR YOU WILL BRICK YOUR DEVICE
Although G800F and G800H share the same name they are not related in terms of hardware due to the different SoCs used (Exynos vs. Snapdragon).
Hence please do not ask for support or ROMs for the G800H or G800M here.

Working features
  • Receiving and making calls

  • Hardware sensors (Light, Orientation, Compass, Proximity, Acceleration)

  • Audio

  • Bluetooth

  • Wifi

  • HW accelerated GUI

  • USB-OTG (Keyboard, Mouse, USB-Audio, Mass-Storage)

  • Camera (pictures+video: Back+Front)

  • MTP storage

  • IR

  • GPS

  • NFC


Non-working features:
  • Fingerprint scanner (no app for tests found)

  • Pulse sensor + Step counter (no app for tests found)

  • SELinux



Quote:









Disclaimer:
  • You flash this image at your own responsibility. I am not responsible for any damage that might be caused by flashing this image (bricked device, lost data, ...)

  • Flashing this kernel image will trigger the KNOX counter, so your warranty will be void.

  • The image is only for S5 Mini SM-G800F (Exynos)

  • It might be instable, crash your device, drain your battery, or even might damage your smartphone (e.g. if an USB-OTG device drains too much power)

  • Backup your data before flashing and check if the original firmware is present (e.g. at SamMobile)






Before you start:
  • Backup your data, like call history, contacts, sms, WhatsApp messages, favourite app settings that are on internal and external sd (by using Titanium Backup or other apps available on PlayStore). At least all internal data will be lost in any case. If you have bad luck you might also loose data from your external sd card.


Download:
Install recovery:
  • Reboot your device into Odin mode: turn off your device, then press Volume-Down + Home + Power button at the same time and release them.

  • Confirm the following warning message with the Volume-Up button.

  • Connect your device to your PC via USB

  • Make sure the device driver's are installed on your PC

  • Start Odin

  • In Odin select PDA and select the recover image (recovery.tar.md5)

  • Check that only "Auto Reboot" and "F. Reset Time" is set

  • Click on "Start": the kernel image should be flashed now and the device should reboot afterwards. By flashing the recovery, your warranty will be void.

  • After the recovery flashing process was successful, power of your device. If not restart into Download mode and flash again or flash the stock rom.


Flash CM12:
  • Reboot into recovery mode (Press Volume-Up + Home + Power button)

  • If you come from a stock rom, this is your opportunity to make a Backup of your phone(Backup, then select Boot, System, Data, then swipe to backup). Note that the recovery might fail to restore the backup when you want to go back to the stock ROM (for me it got stuck after a restore during boot, but I made the backup with a different TWRP version, so it might work in general) - so do not expect to much of it atm.

  • If you haven't copied the installation files yet, you can now copy the GApps and CM12 zip to your internal sd or external sd (be careful not to put the files into the data directory of the internal sd card as this will be deleted in the next step). Be sure that MTP is enabled (inside Mounts, click on Enable MTP), then, from your pc, copy the files. If MTP does not work from recovery, try it directly from Android or remove the external sd card from the phone and put it into your PC.

  • Wipe Dalvik Cache, Cache, System and Data (inside Wipe -> Advanced Wipe)

  • Install the CM12 rom zip-package

  • Install the GApps zip-package

  • Reboot the system and enjoy a Lollipop


In case you want to go back to the stock ROM:
  • lf you do not have the latest ROM for the G800F you can download it from SamMobile

  • Reboot your phone into Odin mode

  • Open Odin on your PC and connect your smartphone with your PC via USB

  • If you have a zip-file unzip it so that you have a .tar.md5 file

  • In Odin click on the PDA button and select the .tar.md5 file. Then press "Start".

  • Normally the stock rom fails to boot as the data from CM12 is still on the data partition. So after flashing the stock rom, reboot into recovery mode (it looks a bit different now). First wipe the data partition, then wipe the cache.

  • Reboot


This section is for developers:
A script to setup the build environment can be found here:

Code:


https://github.com/tobigun/kminilte-patcher

Sources:

Code:


https://github.com/cm-3470/android_device_samsung_kminilte
https://github.com/cm-3470/android_vendor_samsung_kminilte
https://github.com/cm-3470/android_kernel_samsung_kminilte
https://github.com/cm-3470/android_device_samsung_smdk3470-common


Thanks to Unjustified Dev from Team Regular. As the S5 mini (G800F) and the Galaxy Light are quite similar we worked on this together.






Aucun commentaire:

Enregistrer un commentaire