
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway. All the source code for CyanogenMod is available in the CyanogenMod Github.
Code:
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Silesh.Nair
Grarak
arco68
ashikrobi
Philz
SilviuMik (for thread on removing knox from stock odin image)
Downloads:
CM12
CM12 on mega.co.nz
CM11
CM11 Stable/M12 on mega.co.nz
Philz Recovery
6.59.0 on mega.co.nz
Odin flashable Modems
mega.co.nz
Stock L600VPUBNJ1 without KNOX bootloader (be patient, it boots slowly)
mega.co.nz
Alternate downloads
google drive
Stock
If you use stock often (I use it for GPS locks and updating profile/prl), you can get a de-bloat tool for the S5 and adapt it to your needs.
Changelog:
Read the git commit
Procedure:
From philz or TWRP, data/factory reset (I am using Philz 6.59.0 It supports backing up EFS)
flash .zip
flash 5.0 gapps
reboot
The first boot takes 7 minutes 30 seconds, be patient.
Issues:
If you increase your DPI like I do to 180 instaed of 240, video camera will FC
Chrome force closes, chrome beta not as much. Be persistant with refresh an your page will load.
Native recovery has some graphics glitches
Tested on modem nj1 and ne4.
If you have GPS lock issues, reboot to recovery and backup the ROM, reboot to download mode and ODIN back to stock, get a GPS lock, immediately reboot to recovery and either flash the new ROM or restore from backup and flash the new ROM. This weird GPS lock mystery has plagued every samsung device I have owned, nobody has solved it to my knowledge.
Device asserts have been removed from the newest builds. Older builds are removed from mega.
Sources:
Github.
History:
History of cm on melius variants starts with Grarak getting the device tree started without even having the device.
http://forum.xda-developers.com/showthread.php?t=2397325
With a little help from an existing tree for the S4 Mini by arco68 and lots of help from forum members especially stiggy2012 and
Silesh.Nair, the first cm 10.2 dev thread opens.
http://forum.xda-developers.com/showthread.php?t=2503710
And then a cm 11 build
http://forum.xda-developers.com/showthread.php?t=2666314
S0be creates a build for the Sprint Variant of the s4 Mini and takles the same challenges this build faces. The key lies here: http://forum.xda-developers.com/showpost.php?p=51141631&postcount=66
Silesh.Nair then starts building cm roms and others on a regular basis with the latest one (not released on xda) being cm 12.
I forked his cm-12.0 repos and customized them for the sprint variant.
ashikrobi creates a nice device tree, compiles the recovery and kernel and gets silesh to build the rom, nice work http://forum.xda-developers.com/chef-central/android/cyanogenmod-development-sprint-mega-sph-t2960881
Manifest:
Code:
CM12
<manifest>
<project name="havealoha/android_device_samsung_meliusltespr" path="device/samsung/meliusltespr" remote="github" revision="cm-12.0" />
<project name="havealoha/android_device_samsung_melius-common" path="device/samsung/melius-common" remote="github" revision="cm-12.0" />
<project name="CyanogenMod/android_kernel_samsung_msm8930-common" path="kernel/samsung/msm8930-common" remote="github" revision="cm-12.0" />
<project name="CyanogenMod/android_device_samsung_msm8930-common" path="device/samsung/msm8930-common" remote="github" revision="cm-12.0" />
<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="github" revision="cm-12.0" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-12.0" />
</manifest>
CM11
<manifest>
<project name="havealoha/android_device_samsung_meliusltespr" path="device/samsung/meliusltespr" remote="github" revision="cm-11.0" />
<project name="havealoha/android_device_samsung_melius-common" path="device/samsung/melius-common" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_kernel_samsung_msm8930-common" path="kernel/samsung/msm8930-common" remote="github" revision="stable/cm-11.0" />
<project name="CyanogenMod/android_device_samsung_msm8930-common" path="device/samsung/msm8930-common" remote="github" revision="stable/cm-11.0" />
<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="github" revision="stable/cm-11.0" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="stable/cm-11.0" />
</manifest>
Notes from compiling newest philz code to support efs backup:
Code:
~ # parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
p
Model: MMC 016G92 (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 4194kB 67.1MB 62.9MB modem
2 67.1MB 67.2MB 131kB sbl1
3 67.2MB 67.5MB 262kB sbl2
4 67.5MB 68.0MB 524kB sbl3
5 68.0MB 70.1MB 2097kB aboot
6 70.1MB 70.6MB 524kB rpm
7 70.6MB 71.2MB 524kB tz
8 71.2MB 84.3MB 13.1MB pad
9 84.3MB 92.7MB 8389kB param
10 92.7MB 107MB 14.3MB ext4 efs
11 107MB 110MB 3146kB modemst1
12 110MB 113MB 3146kB modemst2
13 113MB 124MB 10.5MB boot
14 124MB 134MB 10.5MB recovery
15 134MB 145MB 10.5MB fota
16 145MB 152MB 7332kB backup
17 152MB 155MB 3146kB fsg
18 155MB 155MB 8192B ssd
19 155MB 164MB 8389kB ext4 persist
20 164MB 176MB 12.6MB ext4 persdata
21 176MB 2324MB 2147MB ext4 system
22 2324MB 3058MB 734MB ext4 cache
23 3058MB 3079MB 21.0MB ext4 carrier
24 3079MB 15.8GB 12.7GB ext4 userdata
~ # cat /proc/partitions
major minor #blocks name
179 0 15388672 mmcblk0
179 1 61440 mmcblk0p1
179 2 128 mmcblk0p2
179 3 256 mmcblk0p3
179 4 512 mmcblk0p4
179 5 2048 mmcblk0p5
179 6 512 mmcblk0p6
179 7 512 mmcblk0p7
179 8 12800 mmcblk0p8
179 9 8192 mmcblk0p9
179 10 13952 mmcblk0p10
179 11 3072 mmcblk0p11
179 12 3072 mmcblk0p12
179 13 10240 mmcblk0p13
179 14 10240 mmcblk0p14
179 15 10240 mmcblk0p15
179 16 7160 mmcblk0p16
179 17 3072 mmcblk0p17
179 18 8 mmcblk0p18
179 19 8192 mmcblk0p19
179 20 12288 mmcblk0p20
179 21 2097152 mmcblk0p21
179 22 716800 mmcblk0p22
179 23 20480 mmcblk0p23
179 24 12382191 mmcblk0p24
179 32 15637504 mmcblk1
179 33 15636480 mmcblk1p1
~ #
Attachments
-
57.1 KB Views: 2,419
Last edited: