[Galaxy S II I9100G Android Development] adxamg:
I9100G - LineageOS 14.1 - ROM

Testing Thread

Here you will find current status and latest lineage test builds for i9100g (SII G).

Builds posted in this thread are highly experimental and may not boot at all.

Current status of lineage 14.1 for i9100g:

- After successfully booting lineage 13.0 rom on i9100g, this will be base for lineage 14.1 test builds; device tree/kernel needs several modifications, which will be applied, once phone will boot lineage 14.1

Downloads (experimental):

Download LineageOS 14.1 Test build (currently not available)

OpenGapps ARM, 7.1, Nano or Pico

Installation:

Full wipe recommended; at least system, data, cache.

Bootlog of lineage 14.1 i9100g test build 201705:

SA_PHOENIX_START_CONDITION = 0x2

SA_PH_CFG_VBATLOWV = 0x0
SA_PH_CFG_VBATLOWV = 0x87
PHOENIX_LAST_TURNOFF_STS = 0x1

Secondary Bootloader v3.1 version.
Copyright (C) 2011 System S/W Group. Samsung Electronics Co., Ltd.
Board: GT-I9100G REV 03-REAL / Jan 25 2013 22:48:33

booting code=0x7ea39fea
=================================
loke_init: j4fs_open..success
<start_checksum:310>CHECKSUM_HEADER_SECTOR :42
<start_checksum:313>offset:42, size:1024
Not Need Movinand Checksum
load_lfs_parameters valid magic code and version.
switch_sel_str='1'
switch_sel_int='1'
load_debug_level: read debug level successfully(0x574f4c44)...LOW
init_ddi_data: usable ddi data.
reading nps status file is successfully!.
nps status=0x504d4f43
save param.blk, size: 5268
save param.blk successfully.
save switch_sel(1)...ok
save param.blk, size: 5268
save param.blk successfully.
save switch_sel(1)...ok
MLO update check bit is 0xea000007 - continue booting.... .
*** ld9040_power_on ***
*** ld9040_ldi_init ***
ld9040_read_lcd_id, LCD ID[0] :a2
ld9040_read_lcd_id, LCD ID[1] :12
ld9040_read_lcd_id, LCD ID[2] :11
*** ld9040_ldi_enable ***

Autoboot (1 seconds) in progress, press any key to stop .

boot_kernel: debug level low!
checkbit: find RECOVERY
checkbit (ffffffff)
kernel is non signed binary.
save param.blk, size: 5268
save param.blk successfully.
save switch_sel(1)...ok

Starting kernel at 0x81808000...

[ 0.240539] C0 [ swapper] _omap4_module_wait_ready: Timeout waiting for module enable (mcpdm_fck: clkctrl = 0x30002)
[ 0.546447] C0 [ swapper] omap_rproc_get_pool: dsp - no carveout memory is available at all
[ 0.570678] C0 [ swapper] twl_reg twl_reg.63: Failed to set supply vmmc
[ 0.570800] C0 [ swapper] twl_reg twl_reg.63: can't register REGEN1, -16
[ 0.702697] C0 [ swapper] Keyboard driver not present
[ 0.724212] C0 [ swapper] could not allocate slot
[ 0.728240] C0 [ swapper] ramoops: The memory size and the record size must be non-zero
[ 0.806762] C0 [ swapper] No CPUfreq policy at this point.
[ 1.182434] C0 [ swapper] family = 0x81, variant = 0x1, version = 0x10, build = 170
[ 1.292480] C0 [ swapper] [TSP] calibration success!!!
[ 1.724609] C0 [ swapper] OMAPRPC: Registration of OMAPRPC rpmsg service returned 0!
[ 1.900573] C0 [ swapper] Power Management for TI OMAP4.
[ 3.174468] C0 [ init] init: /init.rc: 61: invalid command 'load_system_props'
[ 3.174743] C0 [ init] init: could not import file '/init.recovery.logd.rc' from '/init.rc'
[ 3.175048] C0 [ init] init: could not import file '/init.recovery.t1.rc' from '/init.rc'
[ 3.182952] C0 [ healthd] healthd: wakealarm_init: timerfd_create failed
[ 3.186096] C0 [ healthd] healthd: Could not open '/sys/class/power_supply/battery/batt_current_now'
[ 3.371551] C0 [ healthd] healthd: Could not open '/sys/class/power_supply/battery/batt_current_now'
[ 3.378234] C0 [ healthd] healthd: Could not open '/sys/class/power_supply/battery/batt_current_now'
[ 3.380126] C0 [ healthd] healthd: Could not open '/sys/class/power_supply/battery/batt_current_now'
[ 3.531280] C0 [ init] init: /dev/hw_random not found
[ 3.532684] C0 [ init] init: /dev/hw_random not found
[ 3.541168] C0 [ init] android_usb: already disabled
[ 3.541809] C0 [ init] init: Unable to open persistent property directory /data/property errno: 2
[ 3.541900] C0 [ init] init: Unable to open persistent property directory /data/property errno: 2
[ 3.545928] C0 [ init] init: Warning! Service recovery needs a SELinux domain defined; please fix!
[ 3.546661] C0 [ init] android_usb: already disabled
[ 22.188110] C0 [ healthd] healthd: Could not open '/sys/class/power_supply/battery/batt_current_now'
[ 34.870758] C0 [irq/281-fsa9480] fsa9480 4-0025: entering over-current protection
[ 34.870819] C0 [irq/281-fsa9480] fsa9480 4-0025: exiting protection mode
[ 35.437988] C0 [ healthd] healthd: Could not open '/sys/class/power_supply/battery/batt_current_now'
[ 38.909973] C1 [ init] android_usb: already disabled
[ 55.504791] C0 [ healthd] healthd: Could not open '/sys/class/power_supply/battery/batt_current_now'
[ 61.002716] C1 [firmware/ducati] omap-rproc omap-rproc.1: rproc_loader_cont: failed to load ducati-m3.bin
[ 75.567596] C0 [ healthd] healthd: Could not open '/sys/class/power_supply/battery/batt_current_now'
[ 80.552856] C0 [ init] android_usb: already disabled
[ 95.613830] C0 [ healthd] healthd: Could not open '/sys/class/power_supply/battery/batt_current_now'
[ 115.665771] C0 [ healthd] healthd: Could not open '/sys/class/power_supply/battery/batt_current_now'
[ 135.734924] C0 [ healthd] healthd: Could not open '/sys/class/power_supply/battery/batt_current_now'
[ 155.784759] C0 [ healthd] healthd: Could not open '/sys/class/power_supply/battery/batt_current_now'
[ 175.835052] C0 [ healthd] healthd: Could not open '/sys/class/power_supply/battery/batt_current_now'
[ 195.914916] C0 [ healthd] healthd: Could not open '/sys/class/power_supply/battery/batt_current_now'
[ 215.976867] C0 [ healthd] healthd: Could not open '/sys/class/power_supply/battery/batt_current_now'
[ 236.044219] C0 [ healthd] healthd: Could not open '/sys/class/power_supply/battery/batt_current_now'
[ 256.105438] C0 [ healthd] healthd: Could not open '/sys/class/power_supply/battery/batt_current_now'
[ 288.942077] C0 [ init] SysRq : Emergency Remount R/O
[ 289.408081] C0 [ init] lcd panel: [LCD] ld9040_power => [4, 4] called
[ 289.425231] C0 [ init] Restarting system with command ''.
[ 289.425354] C0 [ init] Restarting Linux version 3.0.31-CM-gcda8188 (agoetz@pc2-linux) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Sun Nov 20 14:02:12 CET 2016
[ 289.425384] C0 [ init]
SA_PHOENIX_START_CONDITION = 0x2

SA_PH_CFG_VBATLOWV = 0x87
SA_PH_CFG_VBATLOWV = 0x87
PHOENIX_LAST_TURNOFF_STS = 0x1

------------------------------
Starting kernel at 0x81808000...

[ 0.240875] C0 [ swapper] _omap4_module_wait_ready: Timeout waiting for module enable (mcpdm_fck: clkctrl = 0x30002)
[ 0.548828] C0 [ swapper] omap_rproc_get_pool: dsp - no carveout memory is available at all
[ 0.573822] C0 [ swapper] twl_reg twl_reg.63: Failed to set supply vmmc
[ 0.573944] C0 [ swapper] twl_reg twl_reg.63: can't register REGEN1, -16
[ 0.715026] C0 [ swapper] Keyboard driver not present
[ 0.736572] C0 [ swapper] could not allocate slot
[ 0.740753] C0 [ swapper] ramoops: The memory size and the record size must be non-zero
[ 0.814727] C0 [ swapper] No CPUfreq policy at this point.
[ 1.190338] C0 [ swapper] family = 0x81, variant = 0x1, version = 0x10, build = 170
[ 1.300415] C0 [ swapper] [TSP] calibration success!!!
[ 1.735290] C0 [ swapper] OMAPRPC: Registration of OMAPRPC rpmsg service returned 0!
[ 1.915832] C0 [ swapper] Power Management for TI OMAP4.
[ 2.380249] C0 [ init] SELinux: avtab: invalid type or class
[ 2.383605] C0 [ init] init: SELinux: Could not load policy: Invalid argument
[ 2.383880] C0 [ init] init: failed to load policy: Invalid argument
[ 2.383941] C0 [ init] init: Security failure; rebooting into recovery mode...
[ 2.384674] C0 [ init] SysRq : Emergency Remount R/O
[ 2.682525] C0 [ init] lcd panel: [LCD] ld9040_power => [4, 4] called
[ 2.699462] C0 [ init] Restarting system with command 'recovery'.
[ 2.699615] C0 [ init] Restarting Linux version 3.0.31-lineage-gc0acdca-dirty (agoetz@pc2-linux) (gcc version 4.9 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Wed May 17 10:54:15 CEST 2017
[ 2.699645] C0 [ init]
SA_PHOENIX_START_CONDITION = 0x2

Testing/To do/Errors:

Analyse boot process; post a bootlog; for example with these commands in recovery: "dmesg > /sdcard/dmesg.txt" or "cat /proc/last_kmsg > /sdcard/last_kmsg.txt"

Changelog:

20170525: Posted bootlog

20170525: new info: twrp 3.1 recovery image from official site can be used on i9100g device too. Flash it to recovery partition as isorec recovery. ROM files need to be modified in order to be accepted at the moment.

20170517: New test build

This post will be updated, when new information or test builds are available.

XDA:DevDB Information

[I9100G] LineageOS 14.1 Pre-Alpha Discussion, ROM for the Samsung Galaxy S II

Contributors

adxamg

Source Code: https://www.github.com/xdaamg

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.0.x

Based On: LineageOS

Version Information

Status: Testing

Created 2017-04-27

Last Updated 2017-06-12