yashsingh1/xdaforums huggingface dataset:
[Galaxy Grand Prime Android Development] cphilch:
I would recommend LOS for fortuna3g XXU with latest Overclocked kernel. Personally I use J10 build released on 20180811 as a daily driver.

Further to increase your phone stability/ multitasking ability and fluidness, you can execute these values on boot using apps like boot shell or smanager:

echo "2048,3072,11520,16640,24320,42240" > /sys/module/lowmemorykiller/parameters/minfree

sysctl -w net.ipv4.tcp_congestion_control=cubic

sysctl -w net.core.optmem_max=20480

sysctl -w net.core.rmem_max=1048576

sysctl -w net.core.rmem_default=65536

sysctl -w net.core.wmem_max=1048576

sysctl -w net.core.wmem_default=65536

sysctl -w net.ipv4.tcp_rmem='4096 87380 1048576'

sysctl -w net.ipv4.tcp_wmem='4096 87380 1048576'

sysctl -w net.ipv4.tcp_tw_recycle=1

sysctl -w net.ipv4.tcp_tw_reuse=1

sysctl -w net.ipv4.tcp_no_metrics_save=1

sysctl -w vm.min_free_kbytes=8192

sysctl -w vm.stat_interval=10

rm -f /data/tombstones/*

fstrim /data

fstrim /cache

fstrim /system

for i in /sys/block/mmc*; do

echo 0 > $i/queue/iostats

done

As to how I settled on above values, I did a test initially using scenario below to see the performance after running RAM & I/O intensive applications simultaneously, instead of using a data driven approach by collecting procstats/sockstats/whatever etc, which I was lazy to do anyway:

1. Run Browser (firefox) & PIP app(VLC media player running a movie)

2. Run 2 apps in multi window mode like maps(OsmAnd and hereMaps)

3. Run a texting app(WhatsApp) and PIP(VLC media player) simultaneously

4. Run 2 video apps (IMO whilst video calling) and PIP(VLC media player running a movie)

WITHOUT above sysctl changes, I observed below behavior:

a. PIP video lags most of time

b. Occasional system UI force closes are seen

c. Scenario 4 the phone may just hangs and you may end up removing the battery OR sometimes PIP may work and other background Video call goes literally black

After making the sysctl changes, you can observe that Multitasking works without lag for all scenarios except 4, where in the system just goes black and programs force closes and after approx. 2-3 minutes system comes back to normal state gracefully. The key here is the Minfree tweaks, which made the whole difference, which I took from the XDA thread of [MENTION=4414423]mrhnet[/MENTION], without re-inventing the wheel. You can read [MENTION=4414423]mrhnet[/MENTION] tutorial on minfree values to understand the concept. The other VM parameters reduces the CPU and I/O cycles in a small way. The net.ip4.* details can be found all over in performance tweak thread of XDA and should be adapted as per the network speeds, especially the first 8 ones from the beginning. Hope this helps you/all.
[Galaxy Grand Prime Android Development] Dekker500:
Wanted to thank you Vince

Phone: SM-G530W (gprimelte)

As my first attempt at stretching some extra life from my Grand Prime, I installed lineage-15.1_j118_20180811_NIGHTLY-gprimelte with GApps Micro approximately a month ago. Newer builds were not usable (wouldn't boot). My impressions were positive - but with the caveat that I'd have serious lag almost daily. Only solutions were to reboot, after which it would operate fine for many hours. Other issue was camera - Camera took forever to load (when it loaded) and video wouldn't work at all (coudn't connect to camera error).

THAT SAID, the new release (lineage-15.1-j126-20180920-NIGHTLY-gprimelte.zip) with the official GApps Micro package is very satisfying. Video recorder works, camera loads much faster.

Thank you very much [MENTION=7569388]vince2678[/MENTION] for your hard work. Don't know how long I'll be able to use this phone but you've seriously extended its life. Just getting rid of the Samsung bloatware solved so many of my issues!

Dekker
[Galaxy Grand Prime Android Development] itexpert.120:
Gapps?
[Galaxy Grand Prime Android Development] Zep0th:
J18 Go XX

Baseband unknown

Tried to show logs with an app but Google play services kept force closing thus making it impossible
[Galaxy Grand Prime Android Development] Zippy Dufus:
I believe that the SM-G530H (fortuna3g) has 1GB of memory while my SM-G530W (gprimelte) has 1.5GB because it lacks the FM radio.

Questions:

Would the parameters highlighted above be the only ones need for the SM-G530W?

Is there anything above specific to the over-clocked kernel?

Any other considerations adapting these to my model?
[Galaxy Grand Prime Android Development] cphilch:
I used OpenGapps, the nano version.
[Galaxy Grand Prime Android Development] cphilch:
To answer your question:

a. They Kernel tweaks can be applied to all models of phone

b. Over clocked kernel is not required, you can apply this tweak on default kernel that comes with LOS. The reason I used overclocked kernel is the sheer speed it gives.

c. Those two parameters highlighted merely sets the default socket buffer read and write for each connection to 1MB irrespective of type of internet connection. I am not sure of rest of sysctl parameters in your phone model, you can issue sysctl -a|grep <parameter> command to find out the values and compare.

d. The first line which set the minfree is important because it affects the Low memory killer threshold of the Kernel and impacts the way in which your foreground and background application processes are killed, thereby giving you good multi-tasking experience. So you can apply the below minimum set of commands at first using Boot Shell or Smanager:

echo "2048,3072,11520,16640,24320,42240" > /sys/module/lowmemorykiller/parameters/minfree

sysctl -w net.ipv4.tcp_tw_recycle=1

sysctl -w net.ipv4.tcp_tw_reuse=1

sysctl -w net.ipv4.tcp_no_metrics_save=1

sysctl -w vm.min_free_kbytes=8192

sysctl -w vm.stat_interval=10

fstrim /data

fstrim /cache

fstrim /system

for i in /sys/block/mmc*; do

echo 0 > $i/queue/iostats

done

f. It does not matter if your phone has 1 or 1.5GB RAM, above tweaks should make you system snappier. You can do a trial run with rest of parameters which has numbers and one liner for setting TCP congestion control algorithm to Cubic to see if it makes your internet experience smoother.
[Galaxy Grand Prime Android Development] nazaninwild:
I have installed J16 latest build for fortuna3g. & SIMCards not work at all. but ROM is superfast. Waiting for fix! (G530ah-XXU)
[Galaxy Grand Prime Android Development] nazaninwild:
I have installed LineageOS 15.1 Go Build j16 for my Grand Prime XXU (G530H). Everything works else SIMCards/RIL. SIM Not Detected at All. hope to fix on next builds.
[Galaxy Grand Prime Android Development] Zep0th:
Boot logs for j18 XXU [MENTION=7569388]vince2678[/MENTION]
[Galaxy Grand Prime Android Development] israfilkhan:
Are Anyone tried latest build for xcu 530h??
[Galaxy Grand Prime Android Development] JhonJC:
Can I install it over the stock kitkat ???? fortuna3g xxu??
[Galaxy Grand Prime Android Development] Muzzammil Mehboob:
No you need to be on latest lollipop rom.
[Galaxy Grand Prime Android Development] sag8245:
I love this community that keeps a smartphone alive for so many years. Anyway. Question. In the stock rom (5.0.2) there is the possibility of using NFC in the 530M. Is there any way to enable it in this rom?
[Galaxy Grand Prime Android Development] vince2678:
https://xdaforums.com/grand-prime/d...eageos-15-0-grand-prime-t3703797/post74485711
[Galaxy Grand Prime Android Development] marrxx:
Update

HI, I have a G530FZ, I installed lineage-15.1-j29-20180902-NIGHTLY-gprimeltexx with Odin. Now I see an update since Sept., 20 on download.msm8916.com but not in Setting>System>etc. To update, must I do it only with Odin or TWRP or is it possible with FOTA?
[Galaxy Grand Prime Android Development] vince2678:
The updater is broken for now. You should manually download updates from the dl server.
[Galaxy Grand Prime Android Development] marrxx:
Thank

Thank you so much for your quick response and, above all, for all the work you've done and are doing.
[Galaxy Grand Prime Android Development] Muzzammil Mehboob:
Hey does anyone know how to pass saftynet attestation? I can't play pokemon go without it.
[Galaxy Grand Prime Android Development] cphilch:
Your safest bet will be try to install magisk unofficial version 16.7 at thread below and see if its passes the safety net:

https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589

I tried earlier with ver 16 and it did not work. Maybe you can try and update all of us here.
[Galaxy Grand Prime Android Development] Zep0th:
Install magisk 17.1 then install 'MagiskHide props Config' reboot, open terminal type su, props and edit to your liking, reboot and you should successfully bypass Safetynet :good:
[Galaxy Grand Prime Android Development] adigio80:
Good morning! what is the dotOS operating system?
[Galaxy Grand Prime Android Development] Zep0th:
J19 XX

Unknown Baseband
[Galaxy Grand Prime Android Development] itexpert.120:
Is the sim working
[Galaxy Grand Prime Android Development] cphilch:
What about the performance of the phone after installing Magisk 17.1, does it lag ?
[Galaxy Grand Prime Android Development] Muzzammil Mehboob:
Which Rom are you currently using?
[Galaxy Grand Prime Android Development] itexpert.120:
Which build can be used for a daily driver, PLEASE HELP ME!

XXU fortuna3g G530H
[Galaxy Grand Prime Android Development] Nopm:
Wow, 2 months in and the SIM not being detected bug is still a thing on XCU in the latest build. I'm definitely getting a new phone, devs just don't give a damn about the GP anymore.
[Galaxy Grand Prime Android Development] :
They are not obligated to... furthermore if you see the source code on github of this phone's kernel (assuming that you know the basic of C language) you'll see how complicated that thing looks, now think about fews guys doing a free rom for us to test it in their spare time and f***ing their minds with the programming logics to solve problems with the software. That thing isn't easy.
[Galaxy Grand Prime Android Development] Nopm:
You're working under the assumption that I don't know what C is, that I'm not a developer and that I'm also insulting/complaining to/angry at Vince for not fixing it. I was kinda upset when I first posted it, yes, but considering how bad the GP is as a phone, I'm not particularly bothered by it, seeing how I restored my backups after testing out the new build, even though I wish this particular ROM I'm using was better. And as you can probably tell, I do know programming, I'm just not interested in developing for Android, and even if I was, learning an entire new codebase (methods, libraries, variables, the list just goes on and on) is not an easy task. I do appreciate all the work Vince has done for this nearly prehistorical phone, and we all want to move on to something better ASAP.
[Galaxy Grand Prime Android Development] Zep0th:
Instead of whining try posting logs to help with further development and we can all get a much faster stable build :cowboy:
[Galaxy Grand Prime Android Development] Nopm:
You call replying to a post whining? Sure, sure; and about the logs, pretty sure this happens during boot, and I've done some research, and I've got legitimately no idea on how to enable ADB during boot.
[Galaxy Grand Prime Android Development] Zep0th:
J21 XXU Go

Baseband is back up and working

Everything else is working fine

Great job vince :good:
[Galaxy Grand Prime Android Development] iRoNlOvE:
what about performance and stability??
[Galaxy Grand Prime Android Development] iRoNlOvE:
deleted
[Galaxy Grand Prime Android Development] jitu_15:
is the new j21-20181010-nightly-fortunave3g stable for daily use?

:confused:
[Galaxy Grand Prime Android Development] jonatthanbenitt:
Good job! Now the baseband and simcard works, thanks!
[Galaxy Grand Prime Android Development] iRoNlOvE:
how i can play H.265 10bit videos whitout lag on gp??
[Galaxy Grand Prime Android Development] docrates1975:
Vince, I leave you a logcat of the variant FZ, construction j31, thank you for your great work.
[Galaxy Grand Prime Android Development] yousif atia:
Flashed latest lineage go and MindTheGapps for g530 fortuna3g, but camera and torch not working.. Idk but looks like lots of people suffering from the same issue, any help? I also flashed a lineage 14 but also the camera wasn't working.. At least if someone can recommend a stable ROM doesn't matter if its not Oreo or nougat.
[Galaxy Grand Prime Android Development] iRoNlOvE:
XenonHD
[Galaxy Grand Prime Android Development] Muzzammil Mehboob:
Mine is working I'm using latest lineage os with mind the gapps
[Galaxy Grand Prime Android Development] docrates1975:
I commented what one day happened to me with the camera, install a rom and stopped working, then another and still not working as well as 3 or four followed and nothing, but comment here and gave me the solution, with this not I want to say that it works for you, but your test has nothing to lose, well you do this that worked for me, you take the lid, you remove the battery, the sd and the sim, you leave it like that for about 4 or 5 minutes, you go back to assemble and camera working, I hope this works for you too, luck friend
[Galaxy Grand Prime Android Development] docrates1975:
Vincen, the download page was changed, but for the FZ variant I only found Dotos and 14.1, not this lineage 15.1 nor resurection remix, what happened?
[Galaxy Grand Prime Android Development] itexpert.120:
Use this in mean time till the download Repository is fixed

http://artifacts.msm8916.com/
[Galaxy Grand Prime Android Development] jimmydxxx:
Having a problem installing

I've had lineageOS 13 on my g530t for a while now and saw there was an update (for twrp as well its been that long for me) so I updated twrp and tried to install lineage-15.1-j127-20181010-NIGHTLY-gprimelte but I get an error 7. At the line where it says what device it is, it only has a period. It is definitely a t mobile g530t and I've even still got the lineage 13 file on the sd card (13 has worked fine, just trying to upgrade) and that filename definitely has gprimelte on the end.

Its odd that it doesn't come back with a response for what my device is, I only get a period. It is most definitely a g530t and the previous rom is still on it and has worked fine for over a year.

I see the repositories have moved and will try another build to see if that helps. The GO variant interest me as I've used this phone strictly as a modem as I live out in the sticks and its the only way I can get internet. Edit: NM I see no GO for this phone, I'll try something else. Edit #2 Can't download from the new site, no username or PW.

It's great to see that devolopment is still happening for this phone. It's been rock solid for me and is a good phone.
[Galaxy Grand Prime Android Development] jimmydxxx:
I try to download from here but it asks for a username and password?
[Galaxy Grand Prime Android Development] vince2678:
Hi.

Due to the large bandwidth (network link speed) demands which can't be met by the download server, build artifacts will now be stored to Github Releases at https://github.com/Galaxy-MSM8916/releases .

All available old artifacts are being uploaded to Github at the moment, and a redirect is in place to the Github page. Don't try to preempt this by using a direct link or using the artifacts domain ; it will not work.

Most artifacts should be available on releases at the moment ; the remaining ones will become available within the next few hours.
[Galaxy Grand Prime Android Development] :
I'm sorry, I was rude with you. Anyway let's just help making a ROM without needing to do this kind of thing. Have a nice one day.

---------- Post added at 03:42 PM ---------- Previous post was at 03:35 PM ----------

This also bothers me, I have tried a lot of things to learn how to make a logcat during the boot but until now, I got nothing
[Galaxy Grand Prime Android Development] vince2678:
Hi.

Due to the large bandwidth (network link speed) demands which can't be met by the download server, build artifacts will now be stored to Github Releases at https://github.com/Galaxy-MSM8916/releases .

All old artifacts have finished syncing to GitHub.

There is no need to interact with the Github page directly to find a release.

Visit https://download.msm8916.com as normal, and it'll redirect you to the right place, for example, opening https://download.msm8916.com/DotOS/o/gprimelte/20181006/ will automatically redirect you to the appropriate release on GitHub.
[Galaxy Grand Prime Android Development] lorenkordo:
Hello, I have a question, what do you recommend this or Ressurection Remix? In the event that this is the normal or go I feel my bad English

Especially in the theme of lag and drums

Thank you
[Galaxy Grand Prime Android Development] Jvirg:
Latest build for gprimelte loses WiFi every so often
[Galaxy Grand Prime Android Development] cphilch:
Which is the latest build you are using for fortuna3g ? Is it the J21 ?

---------- Post added at 09:36 AM ---------- Previous post was at 09:33 AM ----------

Great !...which is the gapps that you are using for J21 ?
[Galaxy Grand Prime Android Development] Zep0th:
Latest build is working great, no bugs also using MindTheGapps
[Galaxy Grand Prime Android Development] Leonardo CT:
Hi. I have some questions for you. first at all. Sorry for my english i'm not a native english language. :)

1. When i play videos in any social network, those videos looks like pixeled, like frames. is that solved?

2. Do i have to install the kernel or ZRAM (how do i have to install this) or can iinstall only the rom and mingapps?

Thanks for answer to me (if you do). Have a nice day
[Galaxy Grand Prime Android Development] itexpert.120:
Just flash the ROM file and GApps

And there is no bug that will affect your daily life

:laugh:
[Galaxy Grand Prime Android Development] Leonardo CT:
Problem with videos in social network is still there. however i'll leave the rom installed. is very smooth!
[Galaxy Grand Prime Android Development] jimmydxxx:
I can't get past error 7 with this rom. I definitely have a g530T and downloaded the gprimelte file. 13 and 14 installed just fine and I'm running AospExtended-v4.5-gprimelte-20170826-1636-OFFICIAL right now so....

I've tried searching and the usual answer returned is "its the wrong rom" but how is lineage-15.1-j127-20181010-NIGHTLY-gprimelte the wrong rom for my g530t?
[Galaxy Grand Prime Android Development] vince2678:
Read the OP. Seriously, it's on the first page.
[Galaxy Grand Prime Android Development] jimmydxxx:
The only mention of the g530t is SM-G530T/T1/W - gprimelte and that is the only mention in the original post. If you mean "If this is your first time flashing O" it's not my first flash and as I said I can flash 13 and 14 without a problem. So I don't see anything in the OP concerning my phone but I did read it again and oh yeah, no mention of error 7 either.

If you are saying that only the unofficial twrps works, that is not what the op says: "If this is your first time flashing O" again it is not the first flash.

No mention of error 7 on the first page either.

I have read it again and again. If it's meant to say that ONLY the unofficial twrp works, even if it's not the first flash..... well it does not say that does it?

EDIT: So I was hoping TWRP would do it but now I use the unofficial from the dl link at the op and get an error 6. It seems you know what problem but are leaving me to puzzle it out. Full wipe with unofficial twrp installed thru odin and now it's error 6 which is not mentioned in the op. I really have read and reread it. Give me a break and just say what the problem is.
[Galaxy Grand Prime Android Development] vince2678:
The first 3 posts are what I'm referring to as the OP.

Only TWRP built for O (>= 3.2.1) will work with flashing O/P.

Error 7 is caused by not using TWRP built for O (>= 3.2.1).
[Galaxy Grand Prime Android Development] kadal_ijo:
i try this room yesterday and so far is good, i use fortuna3g.

but to play game hd sometimes lag, maybe u can give me a solution??

thanks to vincent and team for great works
[Galaxy Grand Prime Android Development] Muzzammil Mehboob:
Which one are you usung, Lineage OS or Lineage OS GO version?

Because as for me go version is better than normal as many fancy animatyions or other ram eating stuff is stopped. And it gives good gaming experience.
[Galaxy Grand Prime Android Development] vince2678:
New images are up for all devices. There are too many threads for me to update all the OPs forall of them, and no one reads those anyways.

A few changes/fixes i can remember:

- Sim detection issue is now fixed, and possibly in call audio for dual sim devices.

- A lot of backend server and repo/device tree stuff that is not user visible, e.g cleaning up, rom support, e.g bringing dotOS, setting up github uploads and transferring artifacts there, etc.

- As a consequence, download server no longer hosts artifacts. Using the dl server will redirect to github releases, where the artifacts for most of the builds within the past ~ 1 year are hosted. Any builds before then were lost with the previous download server (s).

I've tried to issue builds for all devices and their variants within the last week. I haven't been well for a while, and working on this for this long continuously takes a lot out of me, so I'll be going on hiatus for an undefined period of time to rest, recover and take some me to focus on other things. Please don't PM me or mention me here or on telegram or email me, or contact me on github or wherever else i can be found, i really would like not to be bothered.

The server will remain up.
[Galaxy Grand Prime Android Development] cphilch:
Since you are asking about ZRAM, ZRAM is not required as Android is quite good at Memory Management. ZRAM is a swap space alternative for Android which assigns a portion of your RAM to store back ground applications frequently used data in a compressed format and when the apps need that data it reads and decompresses it back. If you need more RAM space, logically you could add a simple swap space as follows which does not have a compression overhead :

a. Install roehsoft ram expander app from playstore and create a 512 MB swap file on your sdcard(class 10 preferred) and uninstall the app. This is the easy way to create a swap file on sdcard, rather than using dd command. By default this app creates a file named swapfile.swp

b. Put below command in boot shell or smamager and execute at boot

swapon <SD CARD PATH>/swapfile.swp

sysctl -w vm.swappiness = 60

Note: You should be rooted to perform this.

Now you have additional 512MB swap which is suffcient even if you are playing any games available. Also I have observed that 512MB swap is more than sufficient for the normal usage and you will find at the maximum 20% getting utilized. To verify please issue "free" command from the terminal application and you should be able to see swap column with 512MB used.

Also a word on SDcard wear and tear, I have been using the swap files on SD card since years and have not seen my SD card die. A good branded SD card like sandisk is reliable. Hope this helps you /all.
[Galaxy Grand Prime Android Development] kadal_ijo:
I use lineage os j10, if go is better i will try next time
[Galaxy Grand Prime Android Development] luigge:
Im thinking in install a ROM in my friend's grand prime.which is the best ROM up to now?
[Galaxy Grand Prime Android Development] Waskita A.R.:
Just remove the assert getprop line on the updater-script ;)

https://xdaforums.com/showthread.php?t=2522762
[Galaxy Grand Prime Android Development] jhondcali:
I have g530M, i flashed go version and it's great. The only issue I have seen(I don't know why) when I power on the phone the lineageOs animation is corrupted, a lot of lines are present in the start, but when the display is off and I wake up the phone all is normal. I have flashed it a lot of times but nothing.

whenever I can live with this, great job man.
[Galaxy Grand Prime Android Development] Deivid12:
no puedo descargar la rom alguien comedido que me ayude con esto por favor

ayudenme V:
[Galaxy Grand Prime Android Development] docrates1975:
https://download.msm8916.com/
[Galaxy Grand Prime Android Development] vanish25:
does this rom work on G531H?