[Galaxy Grand Prime General] lm8lm8:
here it is for g530fz devices :

used : twrp 1.1.1-1

lk2nd (postmarketos): 0.12.0 msm916

a/ pmos "works" (not so well) on that device

b/ unfortunately, few "bugs" "maybe related" to hardware persists, mainly in the reactivity on touchscreen when locked on inactive since a while.

c/ perf is highly to low (paradox for pmos ;-) ) to use it as a "common daily smartphone", mean : if you want to escape gafamnt, mount your server on a phone, or specific usages : it would be perfect. But dont expect it to run netflix everyday in firefox or falkon, it might freeze for "not only" a while.

d/ my documentation/software related to it :

samsung_g520fz

Partagé avec kDrive, le Cloud Éthique.

kdrive.infomaniak.com

[lien noveart/tabdigital]

[lien noveart/free]

[lien noveart/androidfilehost]

see for each link, normally a .img file. Unforunately, only 1 was able to host a gigabyte-sized, .img file.

Please note, without the following bug being not solved, that device could NOT get postmarketos installed through twrp with zip file :

Fail to sideload recovery.zip (#1962) · Issues · postmarketOS / pmbootstrap · GitLab

Phone: motorola-harpia (Moto G4 Play XT1607) Recovery: tool: TWRP version: 3.2.1-0 Zip built...

gitlab.com

In addition : Don't know what is the exact issue, but I found a case, where it was fixed: https://gitlab.com/postmarketOS/pmbootstrap/-/issues/1962 , sadly they didn't document how to solve it properly.

e/ im going on something else now.. if you want ungoogled/ungafamnted android, take lineageos14.1 (gprimeltexx), the fastest/best choice for that device, for common usage

==roll back to androstock/lineageos?==

for G530FZ :

used : twrp 1.1.1-1

lk2nd (postmarketos): 0.12.0 msm916

android stock :

**download mode :

simply use odin with a tar ROM

lineageos :

**download mode :

use heimdall or odin to flash the twrp

used : twrp 1.1.1-1

**twrp/recovery mode :

use twrp to flash the lineageos zip file (install button)

I really advise you to use lineageos14.1 (andro7) for better compatibility/performance

postmarketos :

you have to use heimdall with lk2nd in download mode

**download mode :

use heimdall to flash lk2nd, then reboot in lk2nd (power+volDown at bootup)

**lk2nd screen :

fastboot erase system && fastboot erase userdata && fastboot flash userdata /home/koala/.local/var/pmbootstrap/chroot_native/home/pmos/rootfs/samsung-gprimeltexx.img &&fastboot reboot

[unfortunately because of a bug, twrp can't flash .zip files of postmarketos, on that device - .img, heavier, are the only way I had]

well tested :

lineage 14.1, but you *might* have to odin it, regarding this :

Hi guys

regarding the G530fz to solve the problem I had to be oriented to Lineage 14.

Why the cell data was not detected? I don't know, but I discovered a way to fix it :

I was used before to install Lineage by just injecting the image file into the phone, then format the /data partition by simple wipe.

And for others phone, it was working.

Looks like on samsung models, it's requiring steps differently :

1/ use odin to reinstall stock firmware regarding all four files : BL, AP, CP, CSC. In the downloaded archive of the stock firmware, all files matchs with those option with odin. It's necessary to add these four files.

Flash it

2/ The phone will start. After finished, you can restart it, but in download mode.

3/ then use again odin, but flash it with only three files, excluding AP. Replace BL by the twrp bootloader.

4/ If at reboot, it's stuck on a recovery start, even without pushing the vol buttons, reflash it again with only BL.

5/ proceed normally to install lineage : download correct image plus arm (it's arm32 if Im right) pico or nano opengapps, copy them to the phone by usb, flash it then wipe /data.

6/ it should work.

If not, I remember I had to firstly flash by stock factory with all four files of stock archive, then only three including twrp instead of factory BL, then only BL if it's booting in loop into recovery instead normal mode.

Normally, it should, with lienage, detect sim cards.

If you just flash it with twrp by BL/odin, twrp will be installed, lineage can be installed too, but GSM/3G/LTE modules might never work (in my case, it happened like it)