[HOW TO][SM-G903F][03/05-Firmware, Custom Rom, Kernel, Recovery...]

Search This thread

WILMANS2M

Senior Member
Aug 6, 2009
3,064
590
Mantes-la-Ville
Huawei P10
Ok asked help to enable log files which seems to be broken on some sammy phone.....but even without i will continue to add choice. Next is some schedulers (sio, zen, bfq...). Will deactivate default Ondemand (broken) and try to implement an other ondemand gov. Will put into kernel (ramdisk) the Selinux mode changer apk too. With it, you can get rid of boot script. You make the change on-the-fly. Works great. And will continue to optimize kernel source files too (soooo many); Will take ages...

Envoyé de mon LG-H850 en utilisant Tapatalk
 

kaodd

Senior Member
Dec 27, 2010
4,408
573
76
Bergen
Vivo V9
Xiaomi Poco X3 NFC
Ok asked help to enable log files which seems to be broken on some sammy phone.....but even without i will continue to add choice. Next is some schedulers (sio, zen, bfq...). Will deactivate default Ondemand (broken) and try to implement an other ondemand gov. Will put into kernel (ramdisk) the Selinux mode changer apk too. With it, you can get rid of boot script. You make the change on-the-fly. Works great. And will continue to optimize kernel source files too (soooo many); Will take ages...

Envoyé de mon LG-H850 en utilisant Tapatalk
go to bed ? talking tomorrow
 

kaodd

Senior Member
Dec 27, 2010
4,408
573
76
Bergen
Vivo V9
Xiaomi Poco X3 NFC
Oh well. I got fooled.
It'd still be great if it was real.
would be nice yeah, but you never know ?

---------- Post added at 06:58 AM ---------- Previous post was at 06:37 AM ----------

Ok asked help to enable log files which seems to be broken on some sammy phone.....but even without i will continue to add choice. Next is some schedulers (sio, zen, bfq...). Will deactivate default Ondemand (broken) and try to implement an other ondemand gov. Will put into kernel (ramdisk) the Selinux mode changer apk too. With it, you can get rid of boot script. You make the change on-the-fly. Works great. And will continue to optimize kernel source files too (soooo many); Will take ages...

Envoyé de mon LG-H850 en utilisant Tapatalk
good morning sir ? what should we enable? how, where ?
 

WILMANS2M

Senior Member
Aug 6, 2009
3,064
590
Mantes-la-Ville
Huawei P10
Hello kaodd and everybody here.
Well log file are needed to debug bad function in kernel.

Before MM, it was under:
/proc/last_kmsg => to have last (before a reboot for ex) kernel log
/proc/dsmeg => to have current log

Since MM (theoritically), it is under:
/sys/fs/pstore/cmdline-ramoops

In kernel sources, there are 2 files under /include/linux which are: kmsg_dump and persistant-ram
In kmsg dump, there is a variable which is: CONFIG_PSTORE

This one needs to be enabled into the config file used to build the kernel.

But it does not work as is. I talked to JP the day before yesterday, and it said that files had to be rewritten on note3 because sammy blocked them.
 

kaodd

Senior Member
Dec 27, 2010
4,408
573
76
Bergen
Vivo V9
Xiaomi Poco X3 NFC
Hello kaodd and everybody here.
Well log file are needed to debug bad function in kernel.

Before MM, it was under:
/proc/last_kmsg => to have last (before a reboot for ex) kernel log
/proc/dsmeg => to have current log

Since MM (theoritically), it is under:
/sys/fs/pstore/cmdline-ramoops

In kernel sources, there are 2 files under /include/linux which are: kmsg_dump and persistant-ram
In kmsg dump, there is a variable which is: CONFIG_PSTORE

This one needs to be enabled into the config file used to build the kernel.

But it does not work as is. I talked to JP the day before yesterday, and it said that files had to be rewritten on note3 because sammy blocked them.
preach of the day ? for coders only, greek for me ♎
 

Stricted

Recognized Developer
Apr 3, 2017
721
2,258
30
Hesse
Samsung Galaxy S4
Samsung Galaxy S7
Hello all,
im working on LineageOS for the SM-G903F
the repositories are locatd here

https://github.com/Stricted/android_device_samsung_s5neoltexx
https://github.com/Stricted/android_device_samsung_s5neoltexx
https://github.com/Stricted/android_hardware_samsung_slsi-cm_exynos7580
https://github.com/Stricted/android_device_samsung_exynos7580-common
https://github.com/Stricted/android_vendor_samsung_s5neoltexx

im using the kernel for the J7 ( im not sure if that even works ) with the s5neo defconfig because i cant get the original kernel for the s5neo to compile together with android

it compiles completely through
unfortunately i currently dont have the device here to test it ( it might need some time to get the phone for me )
maybe here is someone want to test it
(if needed i can provide an installation zip)

pull requests are welcome

maybe we can get together LineageOS to the s5 neo

cretits for this goes to github.com/Exynos7580/ who did the most of the work of this

use this at your own risk

my roomservice.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="Stricted/android_kernel_samsung_s5neoltexx" path="kernel/samsung/s5neoltexx" remote="github" revision="master" />
  <project name="Stricted/android_device_samsung_exynos7580-common" path="device/samsung/exynos7580-common" remote="github" revision="cm-14.1" />
  <project name="Stricted/android_hardware_samsung_slsi-cm_exynos7580" path="hardware/samsung_slsi-cm/exynos7580" remote="github" revision="cm-14.1" />
  <project name="Stricted/android_device_samsung_s5neoltexx" path="device/samsung/s5neoltexx" remote="github" revision="cm-14.1" />
  <project name="Stricted/android_vendor_samsung_s5neoltexx" path="vendor/samsung/s5neoltexx" remote="github" revision="cm-14.1" />
  
  <project name="LineageOS/android_hardware_samsung_slsi-cm_exynos5" path="hardware/samsung_slsi-cm/exynos5" remote="github" revision="cm-14.1" />
  <project name="LineageOS/android_hardware_samsung_slsi-cm_exynos" path="hardware/samsung_slsi-cm/exynos" remote="github" revision="cm-14.1" />
  <project name="LineageOS/android_hardware_samsung_slsi-cm_openmax" path="hardware/samsung_slsi-cm/openmax" remote="github" revision="cm-14.1" />
  <project name="LineageOS/android_external_stlport" path="external/stlport" remote="github" revision="cm-14.1" />
  <project name="LineageOS/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-14.1" />
</manifest>

build log:
Code:
[ 99% 4021/4028] Target userdata fs image: /home/buildtest/android/system/out/target/product/s5neoltexx/userdata.img
BuildImage: in_dir = /home/buildtest/android/system/out/target/product/s5neoltexx/data, out_file = /home/buildtest/android/system/out/target/product/s5neoltexx/userdata.img
fs type is not ext4
Running:  mkuserimg.sh -s /home/buildtest/android/system/out/target/product/s5neoltexx/data /home/buildtest/android/system/out/target/product/s5neoltexx/userdata.img ext4 data 13514047488 -D /home/buildtest/android/system/out/target/product/s5neoltexx/system -L data /home/buildtest/android/system/out/target/product/s5neoltexx/root/file_contexts.bin
make_ext4fs -s -T -1 -S /home/buildtest/android/system/out/target/product/s5neoltexx/root/file_contexts.bin -L data -l 13514047488 -a data /home/buildtest/android/system/out/target/product/s5neoltexx/userdata.img /home/buildtest/android/system/out/target/product/s5neoltexx/data /home/buildtest/android/system/out/target/product/s5neoltexx/system
Creating filesystem with parameters:
    Size: 13514047488
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8176
    Inode size: 256
    Journal blocks: 32768
    Label: data
    Blocks: 3299328
    Block groups: 101
    Reserved block group size: 807
Created filesystem with 23/825776 inodes and 94140/3299328 blocks
Running ['mkuserimg.sh', '-s', '/home/buildtest/android/system/out/target/product/s5neoltexx/data', '/home/buildtest/android/system/out/target/product/s5neoltexx/userdata.img', 'ext4', 'data', '13514047488', '-D', '/home/buildtest/android/system/out/target/product/s5neoltexx/system', '-L', 'data', '/home/buildtest/android/system/out/target/product/s5neoltexx/root/file_contexts.bin'] command, exit code = 0
/home/buildtest/android/system/out/target/product/s5neoltexx/userdata.img maxsize=13796868096 blocksize=135168 total=146545812 reserve=139493376
[ 99% 4025/4028] Target system fs image: /home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/systemimage_intermediates/system.img
BuildImage: in_dir = /home/buildtest/android/system/out/target/product/s5neoltexx/system, out_file = /home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/systemimage_intermediates/system.img
fs type is not ext4
Running:  mkuserimg.sh -s /home/buildtest/android/system/out/target/product/s5neoltexx/system /home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 1887436800 -D /home/buildtest/android/system/out/target/product/s5neoltexx/system -L system /home/buildtest/android/system/out/target/product/s5neoltexx/root/file_contexts.bin
make_ext4fs -s -T -1 -S /home/buildtest/android/system/out/target/product/s5neoltexx/root/file_contexts.bin -L system -l 1887436800 -a system /home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/systemimage_intermediates/system.img /home/buildtest/android/system/out/target/product/s5neoltexx/system /home/buildtest/android/system/out/target/product/s5neoltexx/system
Creating filesystem with parameters:
    Size: 1887436800
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 7680
    Inode size: 256
    Journal blocks: 7200
    Label: system
    Blocks: 460800
    Block groups: 15
    Reserved block group size: 119
Created filesystem with 2133/115200 inodes and 152818/460800 blocks
Running ['mkuserimg.sh', '-s', '/home/buildtest/android/system/out/target/product/s5neoltexx/system', '/home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/systemimage_intermediates/system.img', 'ext4', 'system', '1887436800', '-D', '/home/buildtest/android/system/out/target/product/s5neoltexx/system', '-L', 'system', '/home/buildtest/android/system/out/target/product/s5neoltexx/root/file_contexts.bin'] command, exit code = 0
[ 99% 4025/4028] Construct recovery from boot
chunk 0: type 0 start 0 len 14260234
chunk 1: type 2 start 14260234 len 3065600
chunk 2: type 0 start 15867939 len 616413
Construct patches for 3 chunks...
patch   0 is 213 bytes (of 14260234)
patch   1 is 3427104 bytes (of 1607705)
patch   2 is 188 bytes (of 616413)
chunk   0: normal   (         0,   14260234)         213
chunk   1: deflate  (  14260234,    5846472)     3427104  (null)
chunk   2: normal   (  20106706,     614958)         188
[ 99% 4026/4028] Install system fs image: /home/buildtest/android/system/out/target/product/s5neoltexx/system.img
/home/buildtest/android/system/out/target/product/s5neoltexx/system.img+/home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=1926955008 blocksize=135168 total=599454129 reserve=19464192
[ 99% 4027/4028] Package target files: /home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/target_files_intermediates/lineage_s5neoltexx-target_files-ce2507b18d.zip
using prebuilt recovery.img from BOOTABLE_IMAGES...
using prebuilt boot.img from BOOTABLE_IMAGES...
putting script in bin/install-recovery.sh
  running:  unzip -o -q /home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/target_files_intermediates/lineage_s5neoltexx-target_files-ce2507b18d.zip -d /tmp/targetfiles-6VZJ14


++++ boot ++++


using prebuilt boot.img from BOOTABLE_IMAGES...


++++ recovery ++++


using prebuilt recovery.img from BOOTABLE_IMAGES...


++++ system ++++


creating system.img...
BuildImage: in_dir = /tmp/targetfiles-6VZJ14/system, out_file = /tmp/system-NzHDBv.img
fs type is not ext4
Running:  mkuserimg.sh -s /tmp/targetfiles-6VZJ14/system /tmp/system-NzHDBv.img ext4 system 1887436800 -T 1230764400 -C /tmp/targetfiles-6VZJ14/META/filesystem_config.txt -B /tmp/system-blocklist-WgkapP.map -L system /tmp/targetfiles-6VZJ14/META/file_contexts.bin
make_ext4fs -s -T 1230764400 -S /tmp/targetfiles-6VZJ14/META/file_contexts.bin -C /tmp/targetfiles-6VZJ14/META/filesystem_config.txt -B /tmp/system-blocklist-WgkapP.map -L system -l 1887436800 -a system /tmp/system-NzHDBv.img /tmp/targetfiles-6VZJ14/system
loaded 2125 fs_config entries
Creating filesystem with parameters:
    Size: 1887436800
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 7680
    Inode size: 256
    Journal blocks: 7200
    Label: system
    Blocks: 460800
    Block groups: 15
    Reserved block group size: 119
Created filesystem with 2135/115200 inodes and 153171/460800 blocks
Running ['mkuserimg.sh', '-s', '/tmp/targetfiles-6VZJ14/system', '/tmp/system-NzHDBv.img', 'ext4', 'system', '1887436800', '-T', '1230764400', '-C', '/tmp/targetfiles-6VZJ14/META/filesystem_config.txt', '-B', '/tmp/system-blocklist-WgkapP.map', '-L', 'system', '/tmp/targetfiles-6VZJ14/META/file_contexts.bin'] command, exit code = 0


++++ userdata ++++


creating userdata.img...
BuildImage: in_dir = /tmp/tmpnCwGNR/data, out_file = /tmp/tmpmY1oi7
fs type is not ext4
Running:  mkuserimg.sh -s /tmp/tmpnCwGNR/data /tmp/tmpmY1oi7 ext4 data 13514047488 -T 1230764400 -L data /tmp/targetfiles-6VZJ14/META/file_contexts.bin
make_ext4fs -s -T 1230764400 -S /tmp/targetfiles-6VZJ14/META/file_contexts.bin -L data -l 13514047488 -a data /tmp/tmpmY1oi7 /tmp/tmpnCwGNR/data
Creating filesystem with parameters:
    Size: 13514047488
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8176
    Inode size: 256
    Journal blocks: 32768
    Label: data
    Blocks: 3299328
    Block groups: 101
    Reserved block group size: 807
Created filesystem with 11/825776 inodes and 92674/3299328 blocks
Running ['mkuserimg.sh', '-s', '/tmp/tmpnCwGNR/data', '/tmp/tmpmY1oi7', 'ext4', 'data', '13514047488', '-T', '1230764400', '-L', 'data', '/tmp/targetfiles-6VZJ14/META/file_contexts.bin'] command, exit code = 0


++++ extrauserdata ++++




++++ cache ++++


done.
[100% 4028/4028] Package OTA: /home/buildtest/android/system/out/target/product/s5neoltexx/lineage_s5neoltexx-ota-ce2507b18d.zip
unzipping target target-files...
  running:  unzip -o -q /home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/target_files_intermediates/lineage_s5neoltexx-target_files-ce2507b18d.zip -d /tmp/targetfiles-Lj9pkC
--- target info ---
blockimgdiff_versions     = (str) 1,2,3,4
blocksize                 = (int) 131072
boot_size                 = (int) 29360128
build.prop                = (dict) {'dalvik.vm.isa.arm.variant': 'cortex-a53', 'ro.product.cpu.abilist': 'armeabi-v7a,armeabi', 'ro.build.id': 'NOF27B', 'ro.hwui.gradient_cache_size': '2', 'dalvik.vm.stack-trace-file': '/data/anr/traces.txt', 'ro.product.cpu.abilist32': 'armeabi-v7a,armeabi', 'dalvik.vm.isa.arm.features': 'default', 'af.fast_track_multiplier': '1', 'dalvik.vm.lockprof.threshold': '500', 'persist.sys.strictmode.disable': 'true', 'ro.product.manufacturer': 'samsung', 'media.stagefright.less-secure': '1', 'ro.hwui.layer_cache_size': '34', 'persist.sys.dalvik.vm.lib.2': 'libart.so', 'ro.bootimage.build.fingerprint': 'samsung/lineage_s5neoltexx/s5neoltexx:7.1.1/NOF27B/ce2507b18d:userdebug/test-keys', 'dalvik.vm.heapstartsize': '8m', 'ro.product.brand': 'samsung', 'wifi.interface': 'wlan0', 'ro.cm.build.version.plat.sdk': '7', 'ro.cmlegal.url': 'https://lineageos.org/legal', 'dalvik.vm.heapsize': '512m', 'dalvik.vm.heaptargetutilization': '0.75', 'ro.build.host': 'lineageos', 'ro.build.version.security_patch': '2017-03-05', 'ro.opa.eligible_device': 'true', 'media.sf.extractor-plugin': 'libffmpeg_extractor.so', 'ro.product.locale': 'en-US', 'ro.chipname': 'exynos7580', 'dalvik.vm.heapminfree': '2m', 'audio_hal.disable_two_mic': 'true', 'ro.board.platform': 'exynos5', 'ro.product.cpu.abilist64': '', 'ro.expect.recovery_id': '0x5d1cd8b4851711546fb73bb1f0d92ef9c64a9c05000000000000000000000000', 'ro.build.flavor': 'lineage_s5neoltexx-userdebug', 'debug.hwc.force_gpu': '1', 'ro.build.version.release': '7.1.1', 'ro.build.version.codename': 'REL', 'net.bt.name': 'Android', 'ro.build.type': 'userdebug', 'ro.hwui.text_large_cache_width': '2048', 'ro.config.alarm_alert': 'Hassium.ogg', 'ro.opengles.version': '196609', 'ro.hwui.text_small_cache_height': '1024', 'ro.build.display.id': 'lineage_s5neoltexx-userdebug 7.1.1 NOF27B ce2507b18d test-keys', 'ro.config.ringtone': 'Orion.ogg', 'media.stagefright.legacyencoder': '1', 'ro.carrier': 'unknown', 'ro.product.board': 'universal7580', 'ro.build.version.preview_sdk': '0', 'ro.com.google.clientidbase': 'android-google', 'ro.cm.build.version.plat.rev': '0', 'ro.build.date': 'Mon Apr  3 16:18:46 CEST 2017', 'ro.hwui.shape_cache_size': '4', 'qcom.bluetooth.soc': 'rome', 'ro.build.date.utc': '1491229126', 'ro.build.characteristics': 'default', 'keyguard.no_require_sim': 'true', 'ro.build.version.all_codenames': 'REL', 'dalvik.vm.heapmaxfree': '8m', 'ro.build.selinux': '1', 'ro.hwui.text_small_cache_width': '1024', 'ro.product.cpu.abi': 'armeabi-v7a', 'ro.cm.version': '14.1-20170403-UNOFFICIAL-s5neoltexx', 'ro.product.name': 'lineage_s5neoltexx', 'ro.hwui.drop_shadow_cache_size': '6', 'ro.build.version.base_os': '', 'media.sf.omx-plugin': 'libffmpeg_omx.so', 'ro.wifi.channels': '', 'ro.hwui.r_buffer_cache_size': '4', 'ro.modversion': '14.1-20170403-UNOFFICIAL-s5neoltexx', 'ro.storage_manager.enabled': 'true', 'ro.hwui.fbo_cache_size': '16', 'ro.build.version.incremental': 'ce2507b18d', 'ro.hwui.text_large_cache_height': '1024', 'ro.build.tags': 'test-keys', 'ro.sf.lcd_density': '480', 'ro.build.version.sdk': '25', 'ro.cm.releasetype': 'UNOFFICIAL', 'ro.product.cpu.abi2': 'armeabi', 'ro.nfc.sec_hal': 'true', 'ro.build.user': 'buildtest', 'ro.hwui.path_cache_size': '10', 'ro.arch': 'exynos7580', 'ro.hwui.texture_cache_flushrate': '0.4', 'ro.hwui.texture_cache_size': '50', 'ro.cm.device': 's5neoltexx', 'ro.cm.display.version': '14.1-20170403-UNOFFICIAL-s5neoltexx', 'dalvik.vm.heapgrowthlimit': '128m', 'persist.sys.dun.override': '0', 'ro.config.notification_sound': 'Argon.ogg'}
cache_size                = (int) 104857600
default_system_dev_certificate = (str) build/target/product/security/testkey
device_type               = (str) MMC
extfs_sparse_flag         = (str) -s
extra_recovery_keys       = (str) vendor/cm/build/target/product/security/lineage
fs_type                   = (str) ext4
fstab                     = (dict) {'/cache': <common.Partition object at 0x7f51efa25c90>, '/data': <common.Partition object at 0x7f51efa25790>, '/system': <common.Partition object at 0x7f51efa25a50>, '/efs': <common.Partition object at 0x7f51efa25490>, '/recovery': <common.Partition object at 0x7f51efa25590>, '/boot': <common.Partition object at 0x7f51efa259d0>}
fstab_version             = (int) 2
mkbootimg_args            = (str) --kernel_offset 0x00008000 --ramdisk_offset 0x01000000 --tags_offset 0x00000100 --dt device/samsung/s5neoltexx/dt.img
mkbootimg_version_args    = (str) --os_version 7.1.1 --os_patch_level 2017-03-05
multistage_support        = (str) 1
ota_override_device       = (str) s5neo3g,s5neo3gxx,s5neolte,s5neoltexx
ota_override_prop         = (str) true
recovery_api_version      = (int) 3
recovery_as_boot          = (str)
recovery_mount_options    = (str) ext4=max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc
recovery_size             = (int) 35651584
selinux_fc                = (str) /tmp/targetfiles-Lj9pkC/META/file_contexts.bin
squashfs_sparse_flag      = (str) -s
system_size               = (int) 1887436800
tool_extensions           = (str) device/samsung/s5neoltexx/../common
update_rename_support     = (str) 1
use_set_metadata          = (str) 1
userdata_size             = (int) 13514047488
unable to load device-specific module; assuming none
using prebuilt recovery.img from BOOTABLE_IMAGES...
using system.img from target-files
Total of 460800 4096-byte output blocks in 3852 input chunks.
Finding transfers...
Generating digraph...
Finding vertex sequence...
Reversing backward edges...
  0/0 dependencies (0.00%) were violated; 0 source blocks stashed.
Improving vertex order...
Revising stash size...
  Total 0 blocks (0 bytes) are packed as new blocks due to insufficient cache size.
Reticulating splines...
 597426176  597426176 (100.00%)     new __DATA
max stashed blocks: 0  (0 bytes), limit: 83886080 bytes (0.00%)

using prebuilt boot.img from BOOTABLE_IMAGES...
  running:  openssl pkcs8 -in build/target/product/security/testkey.pk8 -inform DER -nocrypt
  running:  java -Xmx2048m -Djava.library.path=/home/buildtest/android/system/out/host/linux-x86/lib64 -jar /home/buildtest/android/system/out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmpWwMKyZ /home/buildtest/android/system/out/target/product/s5neoltexx/lineage_s5neoltexx-ota-ce2507b18d.zip
done.
make: Leaving directory '/home/buildtest/android/system'

#### make completed successfully (08:52 (mm:ss)) ####

buildtest@lineageos:~/android/system$
 
Last edited:

Atrate

Senior Member
Mar 2, 2016
363
71
Hello all,
im working on LineageOS for the SM-G903F
the repositorys are locatd here


(i cant post links until i have 10 posts)
im using the kernel for the J7 ( im not sure if that even works ) with the s5neo defconfig because i cant get the original kernel for the s5neo to compile together with android

it compiles completely through
unfortunately i currently dont have the device here to test it ( it might need some time to get the phone for me )
maybe here is someone want to test it
(if needed i can provide an installation zip)

pull requests are welcome

maybe we can get together LineageOS to the s5 neo

cretits for this goes to github.com/Exynos7580/ who did the most of the work of this

use this at your own risk

my roomservice.xml


build log:

FINALLY

Thanks man!

If you succeed with it, are you gonna try to make a Marshmallow Lineage?

Sent from my SM-G903F using XDA Labs
 

Top Liked Posts

  • There are no posts matching your filters.
  • 38
    Hello all the community,

    You will find here all informations needed either to simply update your phone but also to mod it a bit using custom recovery, rom, kernel and some tips.
    Global discussion might be continue in the dedicated user thread here.

    BEFORE ALL

    1/ Always make a save of your data. We don't know what might happening even in a simple official update.
    2/ Flashing Custom kernel, Custom rom, Root will trip knox. So you're warned.



    MARSHMALLOW (6.x.x) DEDICATED POST


    Last Update 03/05/2021​

    Currently MM rom may have those issues: http://xdaforums.com/galaxy-s5/general/horrible-marshmallow-update-s5-bugs-bugs-t3390766.


    LATEST STOCK FIRMWARE (UPD 23/08/18)

    - Latest available is : G903FXXS1BRH2
    Version: Android 6.0.1
    Changelist: 14252124
    Build date : 23/08/2018
    Region Code : VOD (Netherlands)
    PDA: G903FXXU2BRH2
    CSC: G903FXXU2BRH2

    How to proceed in order to update your phone :
    1/ Go to "Parameters/About". Tap 8 times on "Version number". Developer mode is activated.
    2/ In "developer option", tick "Activate". Go down and activate "USB Debugging"
    3/ Go to "Parameters/Security" & tick "Unknown Sources"
    4/ Power off your phone.
    5/ Make a charge > 70%
    6/ Download Odin 3.12.3
    7/ Extract it somewhere and launch it in administrator mode.
    8/ Put your phone in download mode.
    To do it, press & maintain 3 buttons (Menu, volume down & power). Then push "Volume up"
    9/ Quit Kies. Connect your phone to your PC. Odin will detect it in ID :COM
    10/ Download lastest firmware available
    10/ Select "AP" and select the downloaded firmware in tar file (if it is a zip file, you need to decompress it)
    11/ Verify that only "Auto reboot" & "F-reset" is ticked. Click on Start.
    12/ Wait till the phone reboots and that's it.

    ROOT

    How to proceed in order to root your phone :
    1/ Go to "Parameters/About". Tap 8 times on "Version number". Developer mode is activated.
    2/ In "developer option", tick "Activate". Go down and activate "OEM Unlock" & "USB Debugging"
    3/ Go to "Parameters/Security" & tick "Unknown Sources"
    4/ Download Chainfire Autoroot File
    5/ Power off your phone.
    6/ Make a charge > 40%
    7/ Download Odin 3.10.7
    8/ Extract it somewhere and launch it in administrator mode.
    9/ Put your phone in download mode.
    To do it, press & maintain 3 buttons (Menu, volume down & power). Then push "Volume up"
    10/ Quit Kies. Connect your phone to your PC. Odin will detect it in ID :COM
    10/ Select "AP" and select Cf-autoroot tar file (if it is a zip file, you need to decompress it)
    11/ Verify that only "Auto reboot" & "F-reset" is ticked. Click on Start.
    12/ Wait till the phone reboots.

    CUSTOM RECOVERY (UPD 14/03/21)

    How to proceed in order to have a custom recovery in your phone :

    - NO ROOT
    1/ Go to "Parameters/About". Tap 8 times on "Version number". Developer mode is activated.
    2/ In "developer option", tick "Activate". Go down and activate "OEM Unlock" & "USB Debugging"
    3/ Go to "Parameters/Security" & tick "Unknown Sources"
    4/ Download TWRP Recovery (Upd#14/03: Currently 3.5.1.9)
    5/ Power off your phone.
    6/ Make a charge > 40%
    7/ Download Odin 3.12.3
    8/ Extract it somewhere and launch it in administrator mode.
    9/ Put your phone in download mode.
    To do it, press & maintain 3 buttons (Menu, volume down & power). Then push "Volume up"
    10/ Quit Kies. Connect your phone to your PC. Odin will detect it in ID :COM
    10/ Select "AP" and select TWRP Recovery tar file
    11/ Verify that only "Auto reboot" & "F-reset" is ticked. Click on Start.
    12/ Wait till the phone reboots.

    - ROOT
    1/ Go to "Parameters/About". Tap 8 times on "Version number". Developer mode is activated.
    2/ In "developer option", tick "Activate". Go down and activate "OEM Unlock" & "USB Debugging"
    3/ Go to "Parameters/Security" & tick "Unknown Sources"
    4/ Make a charge > 40%
    5/ Download TWRP Recovery IMG and copy it to your sdcard
    5/ Download Flashify
    6/ Launch Flashify. Select "Recovery image" then "Choose a file" and select the TWRP Recovery img file in your sdcard
    7/ Reboot your phone.

    CUSTOM KERNEL AVAILABLE (UPD 27/03/17)

    - @cosmin691 kernel is based on Last MM sources G903WVLU1BPF1
    UPDATE 25/03 : cosmin691 kernel

    Currently sources are not uploaded.
    Features:
    - Always permissive

    cosmin691 is currently working on a merged kernel using both sources of SM-G903 (F & variant W) and updated features. Stay tuned.

    - @WILMANS2M kernel is based on Last MM sources G903FXXU1BPC1 UPDATE 14/04 : Shedkerneo beta 4

    Sources (github) here.
    Features:
    - Enforcing by default but can be turned into permissive
    - All governors unlocked (except OnDemand)
    - All IO schedulers unlocked
    - RKP & TIMA disabled
    - Deleted Samsung rooting restriction
    - DM-Verity disabled

    CUSTOM ROM AVAILABLE (UPD 03/05/21)

    - @WILMANS2M Rom is based on Last MM Samfirmware G903FXXU1BRH2.
    UPDATE 03/05/21 : Shedrock.1.9.0.5.BRH2

    -Deodexed, debloated (some remain though),
    -Viper (with profiles, kernel & a few DCC),
    -Xposed
    -Many tweaks script (Better call voice quality, Faster boot, DHA Tweaks, many tweaks & scripts io boost, ram boost, zipalign, sd...),
    -Preprogrammed Cron.d (each day autoclean, file trimming, databases optimizing), No more autoreboot after having installed the rom (you stay in recovery).=> Choose "reboot system"

    Changelog:

    <*>New base BRH2</*>
    <*>Magisk Root added</*>
    <*>Updated Busybox</*>
    <*>Gravity Box xposed module updated</*>
    <*>AllMyTweaks xposed module updated</*>
    <*>Amplify xposed module updated</*>
    <*>>Serial Number Changer xposed module updated</*>
    <*>SudoHide xposed module updated</*>
    <*>>Xhanghouts xposed module updated</*>
    <*>Custom old kernel Shedkerneo beta5 always available</*>
    <*>Viper choice always in aroma (classic or last Magnum Opus)</*>
    <*>Xposed choice always in aroma</*>

    ...

    EDIT: Missing Themes store for touchwiz: https://mega.nz/#!FUpQQKzC!oQPsUYLAabDtWQnyAsNilnFZreIGJSidgO1OlNG8_3A
    ...

    **** shedkerneo features: https://github.com/ShedrockN4/s5neoltemax/releases
    **** Classic ARISE: Deuteronomy version & no dolby atmos
    Magnum Opus: Latest available & Dolby Atmos, AMD Zirene 3D

    By default, enforcing mode. If you want the permissive one, use SelinuxToggler to switch.


    - @Zapryanovv Rom is based on MM Samfirmware G903FXXU1BPJ2.
    UPDATE 06/02/17 : Zapryanovv ROM v6.1 - FINAL

    ROM INFO:
    - Based on G903FXXU1BPJ2. (MM - 6.0.1)
    - Rooted / Deodexed / Zipaligned / Busybox / Deknoxed
    - Cleaned and removed Google and other unnecessary apps for more space. (Size: 722 MiB)
    - New "hosts" file for minimal ads in browser or everywhere.
    - Without the anoying warning "Check battery cover".
    - Build.Prop tweaks (Updated WITH THE BEST by me).
    - Init.D Support [Also Init.D tweaks like: dalviktocache, dalvikvm, zipalignonboot and many more...]
    - Su.D Support
    - Sound mod
    - Xposed
    ....


    TIPS

    1/ How to use Titanium Backup with ExternalSD (sources)

    -Go to Preferences -> Backup Folder Location.
    -Click on Storage provider at the top (it's not obvious that it's clickable).
    -Click on DocumentProvider storage. That will take you to a File Manager interface. You may have to click on the 3-dot menu on the top-right to enable the (external) SD card to be shown, then click the menu lines in the top-left and select your SD card, and click the "Select" at the bottom right. (You don't have to select your Titanium Backup folder here, you're just using this to get access to your SD Card.)
    -Now you should be back in Titanium Backup and you can browse like you used to to get to your preferred backup folder on your external SD Card
    I warn you that using this Document Provider storage is much slower - at least it seems so for me. But, it seems that it's the only way to go for now.
    WORKING !

    2/ How to roll back to Lollipop

    1/ Flash Lollipop rom using Odin BUT untick "reboot"
    2/ Pull out battery
    3/ Go into Download Mode
    4/ Flash TWRP recovery and format /data, /cache & /dalvik & /Internal SD card
    5/ Reboot
    6/ Once installed, go to "Parameters" and make a "Factory Reset"

    FOR LOLLIPOP, go Post 3 (last update: 28/03).[/COLOR][/B][/SIZE]

    Available mods, tips & bloatware in Post 2

    USEFUL TOOLS

    1/ Debloater
    2/ Xposed (xposed-v80.0-sdk22-arm-custom-build-by-wanam-20160211)
    => List of xposed modules working/not working on Marshmallow.
    3/ XPOSEDInstaller+ | Xposed™ Without Recovery!

    USEFUL LINKS

    TOP: Unpack/modify/Repack kernel img under win
    TOP: Howto have SELinux permissive at boot without custom kernel (but use init.d script)

    1/ Disable annoying "Check battery cover"
    2/ EFS/NV_DATA full Backup/Restore
    3/ Pit File
    4/ Optimize build properties
    5/ XBatteryControl+ The first intelligent battery calibrator
    6/ ExtSD Fix
    7/ Official ViPER4Android Audio Effects
    8/ Fast Push 1.4.8 (the Easiest way to Push & Pull files
    9/ ANDROID MULTITOOL v3.5.8 (to Kitchen your rom)
    10/ DroidShell - Windows Shell Integration for Android Development
    11/ Repair Guide

    CREDITS

    @Chainfire for root, @twrp for recovery, @LastStandingDroid for ....well too much :), @svadev for his marvellous deodexing tool, @wanam, @gatesjunior, @Albe95, @NotGrump903, @kaodd, @rafitcu for our first and great custom kernel :), @LetMeShow, @adbpusher123, @alexndr, @zhuhang, @mrchezco1995, @androidexpert35[/MENTION, [MENTION=981278]worstenbrood, @guitardedhero[/MENTION, [MENTION=516740]arcatarc, @TheRoyalSeeker
    [/strike]
    19
    MAKE YOUR OWN CUSTOM ROM

    Some remarks from @LastStandingDroid
    Remove the how to dirty flash xposed instructions, it's outdated and isn't recommended since twrp is available.

    Also easier to use is osf mount & Linux ext2/3/4 read since you can mount the system.img as read/write after convert it. Disk internals only allows read access afaik.
    Creating a modified system.img is rather going to give you a faster flash and boot time on first flash will be improved greatly
    instead of using disk internals.

    Also you should never dd a system while booted.

    - Using a modified recovery

    - Using a decompress system file
    How to proceed :
    1/ First is to download a firwmare image from sammobile for our phone.
    2/ You will need to decompress the file.Then you have access to system.img but you currently cannot decompress it (well you can but file properties will be different). Download this and decompress it anywhere. But the "system.img" in this folder and launch sparsechunk2img.bat.
    You will now have a systemfix.img. Download and install DiskInternals linux reader.
    3/ Once done, create an "IMG" folder on your PC and a "system" folder in it. Open Linux Reader, select "open'" and choose your "systemfix.img". On the right select all files, make a right click and select "save" and choose to save in the created "system" folder before.
    4/ Time to use the deodex tool from @svadev. Decompress and put it in a empty folder (ex: C:\NEODEX) and launch SVADeodexerForArt.exe. Choose the "system" folder created before and tick all 3 boxes and wait till deodexing's completed. Now you have in C:\NEODEX all deodexed files which are in app, framework and priv-app folder. You can now replace original folders with those from NEODEX folder.
    5/ You will have now a deodexed rom
    6/ Time to make the zip file....
    ....to be continue

    - Using an image instead of just put all files in a zip.
    How to proceed :
    1/ As we need to dump from phone, it is better to begin with clean system. So install latest official firmware and make a factory reset (save all needed file before as sdcard will be formatted). (see howto above)
    2/ Use Chainfire Autoroot to root the system (see howto above)
    3/ Install TWRP Recovery (see howto above)
    4/ Now you will have the latest firmware rooted and a custom recovery. Time to remove bloatware and applications not needed using "Debloater".
    As our Galaxy S5 Neo is not able to enable "block mode" when using "Debloater", you can just select "remove". You can refer to the list of removable apps/bloatware at the end of the thread.
    5/ You have now a debloated, rooted rom. But odexed. If you want to remain odexed, time to build img so go to "point 13". If not, see below.
    6/ To have deodexed files, you first need to decompress the tar downloaded file. Then you have access to system.img but you currently cannot decompress it (well you can but file properties will be different). Download this and decompress it anywhere. But the "system.img" in this folder and launch sparsechunk2img.bat.
    You will now have a systemfix.img. Download and install DiskInternals linux reader. Once done, create an "IMG" folder on your PC and a "system" folder in it. Open Linux Reader, select "open'" and choose your "systemfix.img". On the right select folder "app", "framework", "priv-app" and build.prop file. Select "save" and choose to save in a the created "system" folder before. You need to move the build.prop file from "system' folder to the "img" folder. (here is the structure : IMG/System/App, Framework & priv-app folder)
    7/ Time to use the deodex tool from @svadev. Decompress and put it in a empty folder (ex: C:\NEODEX) and launch SVADeodexerForArt.exe. Choose the "system" folder created before and tick all 3 boxes and wait till deodexing's completed. Create a "system'" folder there and put the deodex "app,framework, priv-app" folder in it. (Structure : NEODEX/System/App, framework & priv-app)
    9/ Power off you phone. Go into recovery mode (push and maintain volume up, menu & power button).
    10/ Once TWRP Recovery activated, on PC, maintain "Right Shift" & make a "Right Click". Select "open command prompt".
    11/ Type :
    adb devices (to see if your phone is well connected)
    adb remount
    adb shell
    cd system
    rm -rf app
    rm -rf framework
    rm -rf priv-app
    Exit
    adb push c:/neodex/system /system/
    12/ Wait till it is finished. Then type "reboot". Now you have a debloated, deodexed, rooted rom.
    13/ Time to build your system.img. Again go into recovery mode (Push & maintain Volume up, menu & power button).
    On your desktop, maintain "Right Shift" & make a "Right Click" then select "Open Command Prompt" and type :
    adb shell
    su
    dd if=/dev/block/platform/13540000.dwmmc0/by-name/SYSTEM of=/sdcard/system.img
    14/ Once done, type "reboot". Then copy this system.img on your PC.
    Download this script (thanks @LastStandingDroid).
    Extract it on your PC and put the "system.img" in the decompress folder. Recompress it in a zip file and copy it on your sdcard.
    Done. Happy flash !

    - Method by LastStandingDroid

    @WILMANS2M

    quick sum up how I did it
    Tools Needed:
    osf mount http://www.osforensics.com/tools/mount-disk-images.html (has option to read/write images)
    linux disk internals: http://www.diskinternals.com/ (better option if you want to extract, should keep permissions/symlink
    ext2fsd
    download http://sourceforge.net/projects/ext2fsd/ for adding read/write ext2/3/4 support in Windows

    Download desired firmware
    extract system.Img
    convert it with Simg2img.
    open osfmount locate to the converted spare image (raw) and press open.
    before clicking OK on the bottom (or pressing enter) make sure to untick read/only in order for you to edit the system.img

    If you feel that the image size is too huge you can decrease the free space. I think osf mount can do it. but I resized it in Linux :)

    read http://unix.stackexchange.com/questions/36123/how-to-resize-ext3-image-files

    you might need to write -f before the size I did it and it worked.

    now it's time to sleep 2 am

    Sent from my SM-G903F using Tapatalk


    Tips:

    1/ How to revoke stupid lag issues in some apps (Thanks to @LastStandingDroid):

    - open start manager > battery > detail and de select the items you want to stop being optimized.
    (this is similar to doze mode on 6.0 if not implemented it early)
    - Remember to disable DWFS or what it's called the Samsung bs performance booster for some minutes until we reduce performance

    2/
    Information:

    There was a report of force closes after modifying SM-G903F ROM, earlier in the thread.
    The force closes only happen if you delete "Google Web View", since the new play store overlay (and nearly every other app overlay) is based on that app (in app purchases, news etc.).

    Don't touch Google Web View and everything will be fine.

    Regards,


    LIST OF BLOATWARE/APPS REMOVABLE

    - Container, preloadedkiosk, preloadedsso folders

    - In System/App
    AllshareFileShare, AllshareFileShareClient, AllshareFileShareServer, AllshareMediaShare
    AntHalService, ANTPlusPlugins, ANTPlusTest, ANTRadioService
    BBCAgent
    BeaconManager_20
    Bridge
    ChocoEUKor
    Chrome
    ChromeCustomizations
    CoolEUKor
    Drive
    ELMAgent
    GalaxyAppsWidget_Phone_EssentialsOnly
    GearManagerStub
    Gmail2
    Hangouts
    KnoxAttestationAgent
    KnoxFolderContainer
    KnoxSetupWizardClient
    Maps
    MobilePrintSvc_Samsung
    MSSkype_stub
    Music2
    OneDrive_Samsung
    OneNote
    Photos
    QuickConnect_20
    RCPComponents
    RoseEUKor
    SCONE_Android_ProxyService_Lib
    SPrintSpoolerLMR1
    STalkback
    SwitchKnoxI
    SwitchKnoxII
    Videos
    Youtube

    - In System/priv-app
    Excel_SamsungStub
    GalaxyApps_3xh
    HealthService
    Kies
    KLMSAgent
    PhotoStudio_WQHD_Zero
    PowerPoint_SamsungStub
    sCloudBackupAppZero
    sCloudDataRelay
    sCloudDataSyncZero
    sCloudSyncMemo
    SFinder_L
    SHealth4_3
    SNoteProvider
    SPDClient
    SPPPushClient_Prod
    S-Voice_Android_phone
    Word_SamsungStub
    ....
    8
    LOLLIPOP (5.x.x) DEDICATED THREAD.

    LATEST STOCK FIRMWARE (UPD 26/09)

    - Latest available is : G903FSWC1API1
    Version: Android 5.1.1
    Changelist: 5560999
    Build date : 26/09/2016
    Region Code : SWC (Switzerland)
    PDA: G903FXXU1API1
    CSC: G903FXXU1API1

    How to proceed in order to update your phone :
    1/ Go to "Parameters/About". Tap 8 times on "Version number". Developer mode is activated.
    2/ In "developer option", tick "Activate". Go down and activate "USB Debugging"
    3/ Go to "Parameters/Security" & tick "Unknown Sources"
    4/ Power off your phone.
    5/ Make a charge > 70%
    6/ Download Odin 3.10.7
    7/ Extract it somewhere and launch it in administrator mode.
    8/ Put your phone in download mode.
    To do it, press & maintain 3 buttons (Menu, volume down & power). Then push "Volume up"
    9/ Quit Kies. Connect your phone to your PC. Odin will detect it in ID :COM
    10/ Download lastest firmware available
    10/ Select "AP" and select the downloaded firmware in tar file (if it is a zip file, you need to decompress it)
    11/ Verify that only "Auto reboot" & "F-reset" is ticked. Click on Start.
    12/ Wait till the phone reboots and that's it.

    ROOT

    How to proceed in order to root your phone :
    1/ Go to "Parameters/About". Tap 8 times on "Version number". Developer mode is activated.
    2/ In "developer option", tick "Activate". Go down and activate "OEM Unlock" & "USB Debugging"
    3/ Go to "Parameters/Security" & tick "Unknown Sources"
    4/ Download Chainfire Autoroot File
    5/ Power off your phone.
    6/ Make a charge > 40%
    7/ Download Odin 3.10.7
    8/ Extract it somewhere and launch it in administrator mode.
    9/ Put your phone in download mode.
    To do it, press & maintain 3 buttons (Menu, volume down & power). Then push "Volume up"
    10/ Quit Kies. Connect your phone to your PC. Odin will detect it in ID :COM
    10/ Select "AP" and select Cf-autoroot tar file (if it is a zip file, you need to decompress it)
    11/ Verify that only "Auto reboot" & "F-reset" is ticked. Click on Start.
    12/ Wait till the phone reboots.

    ROOT (From @adbpusher123)

    https://www.dropbox.com/s/pz8x0wj4f6okjdg/CF-Auto-Root-s5neolte-s5neoltexx-smg903f.zip?dl=0

    make sure you have ------>(OEM UNLOCKED)<------MOST IMPORTANT,unknown sources, USB debugging all enabled or you will go into a bootloop or soft-brick
    flash this with ODIN everything should work fine

    CUSTOM RECOVERY (UPD 06/04)

    How to proceed in order to have a custom recovery in your phone :

    - NO ROOT
    1/ Go to "Parameters/About". Tap 8 times on "Version number". Developer mode is activated.
    2/ In "developer option", tick "Activate". Go down and activate "OEM Unlock" & "USB Debugging"
    3/ Go to "Parameters/Security" & tick "Unknown Sources"
    4/ Download TWRP Recovery (Upd#06/04: Currently 3.0.2.0)
    5/ Power off your phone.
    6/ Make a charge > 40%
    7/ Download Odin 3.10.7
    8/ Extract it somewhere and launch it in administrator mode.
    9/ Put your phone in download mode.
    To do it, press & maintain 3 buttons (Menu, volume down & power). Then push "Volume up"
    10/ Quit Kies. Connect your phone to your PC. Odin will detect it in ID :COM
    10/ Select "AP" and select TWRP Recovery tar file
    11/ Verify that only "Auto reboot" & "F-reset" is ticked. Click on Start.
    12/ Wait till the phone reboots.

    - ROOT
    1/ Go to "Parameters/About". Tap 8 times on "Version number". Developer mode is activated.
    2/ In "developer option", tick "Activate". Go down and activate "OEM Unlock" & "USB Debugging"
    3/ Go to "Parameters/Security" & tick "Unknown Sources"
    4/ Make a charge > 40%
    5/ Download TWRP Recovery IMG and copy it to your sdcard
    5/ Download Flashify
    6/ Launch Flashify. Select "Recovery image" then "Choose a file" and select the TWRP Recovery img file in your sdcard
    7/ Reboot your phone.

    TWRP RECOVERY from @adbpusher123

    as of right now that I know of the neo does not have a working CWM recovery soo TWRP will have to do
    https://play.google.com/store/apps/details?id=com.jmz.soft.twrpmanager
    (when in the app look for this name Samsung Galaxy S5 Neo Exynos flash that one in the app and you should be good)

    CUSTOM KERNEL AVAILABLE (UPD 13/05)

    - Permissive Stock only
    Stock kernel to be only permissive. Here thanks to @LastStandingDroid or here thanks to @wobbler611.

    - Custom kernel by @rafitcu here.

    Toolchains used: aarch64-linux-gnu-4.9
    Add: All governors stock: -Performance, Userspace (i use this for stock), Ondemand, Conservative, Interactive (this have a few tweaks)
    - BFQ-v7r6 and I/O scheduler, LMK (Low memory killer), calibrated power coefficient, GPU tweaks, Init.d Support (i think)
    -More stable
    -Minimum clock set at 300 Mhz
    ...
    Use the Kernel auditor APP to configure kernel.

    It will break SuperSU. Need to flash it to patch kernel.

    A BIG thank to him :)

    - CUSTOM RECOVERY
    1/ Go to "Parameters/About". Tap 8 times on "Version number". Developer mode is activated.
    2/ In "developer option", tick "Activate". Go down and activate "OEM Unlock" & "USB Debugging"
    3/ Go to "Parameters/Security" & tick "Unknown Sources"
    4/ Download Kernel. Copy it to sdcard
    5/ Power off your phone.
    6/ Make a charge > 40%
    9/ Put your phone in recovery mode.
    To do it, press & maintain 3 buttons (Menu, volume up & power).
    10/ Then choose "Install" and select the zip file in your sdcard.
    12/ Reboot the phone.

    - NO CUSTOM RECOVERY (but needs root)
    1/ Go to "Parameters/About". Tap 8 times on "Version number". Developer mode is activated.
    2/ In "developer option", tick "Activate". Go down and activate "OEM Unlock" & "USB Debugging"
    3/ Go to "Parameters/Security" & tick "Unknown Sources"
    4/ Make a charge > 40%
    5/ Download kernel. Extract it and copy "Boot.img" to your sdcard
    5/ Download Flashify
    6/ Launch Flashify. Select "Boot image" then "Choose a file" and select the kernel img file in your sdcard.
    7/ Reboot your phone.


    CUSTOM ROM AVAILABLE (UPD 06/09)

    Currently 4 are available.

    - @LastStandingDroid Rom.
    You can find it here.
    UPDATE 06/02 : Currently version 1.2 based on G903FXXU1APA6 (BTU)
    This rom is deodexed, debloated, xposed (option), vipered (option) and enable init.d scripts.
    BUT you need a permissive kernel (modified stock or customized) or you will experience bootloop. See above to find them.

    - @WILMANS2M Rom is based on Last Samfirmware G903FXXU1APG2.
    UPDATE 06/09 : Currently version 1.3.8.2 based on G903FXXU1APG2

    MultiCSC (separate zip file, no aroma): Choose the one you want, decompress and add/replace files under /system in rom zip.
    Rom default is XEF.

    Deodexed, debloated, battery cover popup disabled, block message enabled, enable ADB debugging By Default, Better call voice quality, Faster boot, DHA Tweaks, many CSC mod as Call Recording enable, No conversion from sms to mms, Time stamp change to sending time & not receive time, Download Booster quicksetting available, SMS delivery & MMS read & delivery reports activated by default, Real init.d script included in the installation (Works even on stock kernel), Viper & Dolby Atmos available (beats included & more, many profiles...), many tweaks & scripts (io boost, ram boost, zipalign, sd...), nova only, Preprogrammed Cron tasks, Bravia engine, lib to correct DB optimisation error, 5way reboot menu, xposed. You can flash on stock non patched kernel.

    Changelog:

    - Working SecMMS mod (sent sms time & unlimited characters)
    - Updated ARISE to 3.4
    - Deleted Power Nap xposed module because of some reboot)

    No update for SuperSU to 2.78 because it causes many problems.

    About Cron:
    => You can see if cron is started completely by watching in /data/tweakslog/cron_service_test.log
    => You can see if cron is working by watching in tweakslog/cronjob.log (a test is made every 10 hours)
    => Cron tasks log are stored in /data/cronlog
    => Check good start of all scripts in /data/tweakslog

    No xposed. Follow adbpusher123 instructions about this mod.

    XPOSED from @adbpusher123

    (make sure you have ran the policy fix from the viper4android)

    this is for stock or close to stock roms only!!!!!!

    1.Install Xposed Installer App
    Xposed installer App

    2.Make a backup not needed but always helpful

    3.Copy the Xposed file and the uninstaller to your sdcard
    xposed-v80.0-sdk22-arm-custom-build-by-wanam-20160211.zip (XPOSED FRAMEWORK FILE)
    EXPOSED UNISTALLER FILE

    4. Flash "xposed-v80.0-sdk22-arm-custom-build-by-wanam-20160211.zip"<---- Xposed FrameWork File) through TWRP recovery this is the one for our SM-G903F and Canadian variants that are running 5.1.1

    if anyone has ARM64 system on 5.1.1 or 6.0.0 orrrrrr this phone with 6.0.0 contact me and ill put thoses files up as well

    - ARM means the devices that are running arm32 operating system (Galaxy S5, Note4,...)
    - ARM64 means the devices that are running arm64 operating system (Galaxy S6, Note5 and all their variants...)
    - SDK22 means Android Lollipop 5.1.x
    - SDK23 means Android Marshmallow 6.0.x

    DEBLOATING & Disable annoying "Check battery cover" from @adbpusher123

    for debloating just download this and flash with recovery and bam!!!!! done
    for Disable annoying "Check battery cover
    just go into rom toolbox or anyapp that you can see system app and freeze or disable this apk "Popupuireceiver.apk"

    BE CAREFUL: DO NOT USE THIS SOFT WITH LastStandingDroid DEBLOATED ROM AS YOU WILL EXPERIENCE BOOTLOOP.

    USEFUL TOOLS

    - Viper4Android (currently 2.4.0.1)
    - Xposed (currently v85.1 which need to be flashed). You will also need the Xposed App Installer.
    6
    Got all my problems solved. Flash kernel, modem, wipe or not, cron now is ok too. Just have to copy mms mod and upload. Tomorrow I will upload it.

    Envoyé de mon GT-I9505 en utilisant Tapatalk