• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[STABLE] LineageOS 17.1 for Samsung Galaxy Grand Prime [UNOFFICIAL]

Search This thread


Apr 25, 2021
Stuck on this screen can someone help?


  • 16208530414183900472861826141657.jpg
    1.6 MB · Views: 11


New member
Aug 9, 2010
I've tried fortuna3g on SM-G530h/DS. Everything is fine except the rare camera.

Btw Well done. That's a great job.
All the best.
Last edited:


New member
Aug 9, 2010
I've tried fortuna3g on SM-G530h/DS. Everything is fine except the rare camera.

Btw Well done. That's a great job.
All the best.
Hi again,
XCU/XCS versions have a different camera and torch module from XXU/XXS. If someone has XCU/XCS PDA version has to install "SM-G530H (XXC) - fortunave3g" I do not know why the author writes XXC instead of XCU/XCS.

let's move on, I should add it is possible for TWRP to not recognize the firmware, and give you an error code 7, but do not worry. Just install WINZIP or 7ZIP** and open the ROM file. Go to META-INF/COM/Google/Android/. Then, edit UPDATER-SCRIPT via notepad or notepad++. Delete those first few lines until "package_extract_dir(*);", finally, repack the ZIP file.
**If you use WINRAR or do something else. TWRP will give you the error code 6.

I run AEX-v7.3 fortunave3g-20210105-2125 and everything is fine.

Thank you a lot itexpert.120. I am a developer and really appreciate your works. I've been using this device for testing Android apps, and you really helped me to advance my works. All the best.
Last edited:


New member
Aug 9, 2010
Hi, go to settings->about phone->software information. Then, check the build number. If it starts with 530h(xcu/xcs)... your device is fortuneave3g. If it start with 530h(xxu/xxs)... your device is fortunea3g.

Top Liked Posts

  • There are no posts matching your filters.
  • 10

    LineageOS 17.1 is a free, community built, aftermarket firmware distribution of Android 10.0, which is designed to increase performance and reliability over stock Android for your device.
    LineageOS 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.

    # Disclaimer
    # I am not responsible if flashing this ROM bricks your
    # phone or causes thermonuclear war and ends the
    # world as we know it. You have been warned.

    ROM Information

    Attached to this thread

    What works
    - RIL (in-call audio, messaging, data)
    - Bluetooth
    - WiFi
    - Audio (music, etc)
    - Camera (including video recording)
    - Flash
    - Sensors
    - GPS
    - Brightness controls
    - Bluetooth audio

    ROM: Here
    OpenGApps: Here

    Device Names

    SM-G530T/T1/W - gprimelte
    SM-G530P - gprimeltespr
    SM-S920L - gprimeltetfnvzw
    SM-G530MU - gprimeltezt
    SM-G530FZ - gprimeltexx
    SM-G530M - fortunalteub
    SM-G530F - fortunaltedx
    SM-G530H (XXU/XXS) - fortuna3g
    SM-G530H (XXC) - fortunave3g

    1. Install TWRP or PBRP (if supported)
    2. Boot to Recovery
    2.5. Make a full backup (just in case something goes wrong)
    3. Make a full wipe(System, Data, Cache)
    # If you are already running LineageOS 16.0
    # (by Galaxy-MSM8916) you can make a dirty flash
    # (flash the build and the Android 10 GApps)
    # but a wipe is recommended
    4. Download the latest build and transfer it to your phone
    5. Flash the zip
    5.5. If you are installing GApps do it before booting to the ROM. Make sure to flash the correct architecture and version(arm 10.0)

    Do note that on boot device takes several minutes as it optimizes all the apps.

    You should provide logs when reporting any hardware-related issue.

    I would like to everyone who has helped me throughout the whole process of making Q for Grand Prime
    Galaxy-MSM8916 for bringing up Q sources
    People who helped me make this kernel

    Source code
    Kernel source code: https://github.com/itexpert120/android_kernel_samsung_msm8916
    ROM Source code: https://github.com/LineageOS
    Device trees: https://github.com/itexpert120/android_device_samsung_msm8916-common

    XDA Thread Information
    LineageOS 17.1 for Samsung Galaxy Grand Prime


    @ itexpert.120, @Soft-Bullet
    ROM OS Version: Android 10
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: Stock 5.0.2
    Based On: AOSP

    Version Information

    Created 2020-08-07
    Thanks to Everyone who helped me get to this point. Thanks to all the Devs and Testers.
    Join the Grand Prime Telegram Community at: https://t.me/grandprimedev

    First Build
    - Powered by AnotherKernel
    - CPU OC to 1.6 Ghz
    - GPU OC to 650 Mhz
    - Hotplugs and Governors Added
    - blu_active as default governor
    - Performance Enhancements
    - Batter Battery
    - Ram Management Enhanced
    - And More

    Second Build
    - AnotherKernel Enhanced
    - Zram Fixed for fortuna3g
    - Increased Zram to 512 mb
    - More Optimizations
    - Battery further Increased
    - Added Some Defaults
    - Android Go
    - And More

    Third Build
    - Endgame Kernel
    - Redid All trees from Zero
    - Fixed Bugs
    - Seperated Go and Non Go builds
    - Battery further Increased
    - Fixed Camera not taking pictures
    - And More

    Fourth Build
    - Fixed SMS Bug
    - Dropped support for Non Go Builds
    - Increase ZRAM
    - Added More Tweaks
    - Attempted to fix brightness bar
    - And More

    Fifth Build
    - Updated Source
    - GPU OC increased to 750Hz
    - Enhanced Stability and Performance
    - And More

    Sixth Build
    - Updated Android Source
    - Fixed SafetyNet
    - Enhanced Battery and Performance
    - And More

    Seventh Build
    - Many Changes to Kernel and Default Kernel Parameters
    - Increase Stability and Performance
    - And More

    Quick note, I am gonna be a little busy for a few days so I won't be able to update stuff
    Stable Builds Coming Soon (TM)