yashsingh1/xdaforums huggingface dataset:
[Galaxy Grand Prime Android Development] Scholeggo:
Hey Vince. Can you give me more information about the hardware bug concerning the camera and flashlight, why the phone isn't picking them up, and how you plan to fix it?

And I was hoping you would answer these questions on my previous post:

Thanks Vince

---------- Post added at 12:34 AM ---------- Previous post was at 12:31 AM ----------

Could you expand on that error? What do you think it means, and did it affect the LOS 15.1 system?
[Galaxy Grand Prime Android Development] Mattwmaster58:
Just a few issues that I noticed that no one else has pointed out (I can provide logcats for any one of these if needed):

-Bluetooth earbuds will connect, show correct battery percentage, but won't play any audio, even though it's setup properly. The earbuds will go from 'connected, 100% blah blah' to 'connecting'. 'Bluetooth' occasionally stops working (literally the message I get: Bluetooth has stopped working)

-You can't install apps from unknown sources. Click on a downloaded apk notification, from the builtin file explorer, third party one, nothing pops up. However, I could install apps from unknown sources within in F droid (used adb to install it)

Great work!
[Galaxy Grand Prime Android Development] shakazoid:
Anyone have luck rooting apps on this?. Seems some APPS don't recognize it is already rooted(already enabled in developer options which only offers ADB only), example is Adaway while something like Mixplorer allows me to browse the root folder. Any way to remove the preinstalled root binaries and use another like SR5-superSU which tends to work properly always. HAve had no luck installing latest SR5-superSU on the phone. Need this till we get official SUaddon from the Lineage group
[Galaxy Grand Prime Android Development] Mattwmaster58:
Anyone have luck rooting apps on this?. Seems some APPS don't recognize it is already rooted(already enabled in developer options which only offers ADB only), example is Adaway while something like Mixplorer allows me to browse the root folder. Any way to remove the preinstalled root binaries and use another like SR5-superSU which tends to work properly always. HAve had no luck installing latest SR5-superSU on the phone. Need this till we get official SUaddon from the Lineage group

Magisk works great for me.
[Galaxy Grand Prime Android Development] majee12:
i try to flah it on sm-g350t1 and it reported this zip is for and listed a couple of devices . please help
[Galaxy Grand Prime Android Development] cave.man1908:
I have the same device(t1) ran into this issue as well. What cured it was flashing newest TWRP(3.2) unto which links can be found in OP of this thread

---------- Post added at 01:40 AM ---------- Previous post was at 01:36 AM ----------

I successfully installed apps from unknown sources by giving my file explorer app permission to do so under settings. Its a lil tricky to find fyi

---------- Post added at 01:41 AM ---------- Previous post was at 01:40 AM ----------

I concur Magisk is working quite flawlessy
[Galaxy Grand Prime Android Development] Scholeggo:
Well, here it is, the first Android Go ROM powered by Lineage OS! This is my new request, Vince: build these Android Go builds alongside your existing LOS 15.1 builds. I haven't seen it a lot, but my favorite part of Android Go is where they can show you battery percent, remaining data use, and remaining storage space in the quick settings panel at a glance!

Don't forget what they said about these:

Note: They say this build is in Alpha, and only the camera doesn't work. Cellular network-related operations can stutter.

Hopefully you can find a way to get the source from Lineage or the developer somehow, and build this GO configuration. Thanks, Vince
[Galaxy Grand Prime Android Development] Coppyhop:
Results on a SM-S920L (ltefnvzw)

Hello! I'm dropping in to give the ROM a test to see how it's going so far.

-The Latest TWRP was installed through odin, and everything went smoothtly.

-I've installed the Latest February build along with unofficial OpenGApps.

-Upon booting the phone I get a warning that the Kernel is NOT SEANDROID enforcing.

First boot took quite a while, and upon booting in I was welcomed by the Standard "No SIM Card, No Service" message, this mirrors newer builds of Lineage OS 13 and 14.1 for this device. It had also forgotten all my Wifi networks. (I didn't wipe the User/App partitions, only Cache, System, and Dalvik) Camera, like the other builds doesn't work. I was not able to test Messaging or Calling because of the infamous "Baseband Version: Unknown" error. Everything else I would typically use my phone for (Telegram messaging, Some games, and Reddit) Worked without a hitch.
[Galaxy Grand Prime Android Development] shakazoid:
Not a fan of using Magisk. I prefer using Xposed directly.
[Galaxy Grand Prime Android Development] Zippy Dufus:
A quick build/test of 15.1

Hello [MENTION=7569388]vince2678[/MENTION],

FYI, I saw some recent changes in your repos so I did a 03/04 15.1 build:

I performed a clean wipe and then a specific wipe reformatting /system /data /cache and then only installed the ROM (i.e. no Gapps or SuperSU)

The SIM card wasn't detected.

Bluetooth keep turning on and off (i.e. crashing?)

The clock crashed during the initial setup but allowed me to get by the entry of the default language and timezone.

The built-in browser didn't work and appeared to crash.

ADB didn't work via the USD but did work in network mode.

Camera still doesn't work.

That's about all I did and I went back to my last best 14.1 build (11/18).

FWIIW, I've tried building 14.1 a couple times and it definitely gets caught in a loop during the boot animation. I suppose that time has left this ROM behind.

Anyway, attached are some 15.1 screenshots. It looks very cool!

Hope to see this fully functional soon. Thanks!!
[Galaxy Grand Prime Android Development] Plabon7:
please any rom for G530-H??????
[Galaxy Grand Prime Android Development] :
It looks this game is wanting to use vulkan api for rendering its graphics. So I dont think GP has a support for that, however you may change opengl render to opengl skia in developer options, but I don't think it's gonna work either.

========Advice========

Just a tip for you Gran Prime users!

I have been trying to upload some videos to Instagram and those videos were hanging while I was writing a text to post over it, the keyboard simply didn't show up. I let the phone over half hour to see whether it would stop hanging and nothing happened, so the problem was not in the CPU, it was lack of RAM. So I went over the system settings to see what applications have consumed last three hours and I found that many of google apps were high on RAM, such as the keyboard. And others like Es file explorer and VPN touch (I was not even using them for a while). Then I removed all of them and I finally managed to post those videos on instagram without hanging again.

This is for you guys to pay attention on how much the apps are consuming and most of the times it's just user's fault and not the ROM itself.

P.S.: English is not my first language so I don't know whether "hanging" is the right word for a phone slow and that is not responding?
[Galaxy Grand Prime Android Development] vince2678:
1. Yup, newer games will probably require vulkan, which our soc does not support.

2. Yup. And yes, 'hanging' is an appropriate term ?
[Galaxy Grand Prime Android Development] pablexxx:
Hi [MENTION=7569388]vince2678[/MENTION], I installed your rom a few weeks ago

Since then my device does not detect the 4G network. Any solution for this?

On the other hand I would like to know how to activate the Picture In Picture with this ROM installed.

Thanks and regards
[Galaxy Grand Prime Android Development] BelialClover:
anyone know if i can use a OTG with this?

im using a fortuna3g wit linageos go
[Galaxy Grand Prime Android Development] Zep0th:
It's working fine
[Galaxy Grand Prime Android Development] BelialClover:
how do i enable it?

im trying to use it but there is no response from the phone when i connect it
[Galaxy Grand Prime Android Development] __amirtiger__:
xcu build boot fine?
[Galaxy Grand Prime Android Development] Zep0th:
Just plug it in and it should automatically detect it

If not, could be a faulty OTG
[Galaxy Grand Prime Android Development] israfilkhan:
Is it boot, or not???

---------- Post added at 10:14 AM ---------- Previous post was at 10:13 AM ----------

Are xcu build boot issue fixed??
[Galaxy Grand Prime Android Development] unknown:
I didn't really think it would be possible but now it does

I just have a look on redmi 2 ( same chipset with gp ) and have treblize rom and treblize vendor too , as they merged /cache as /vendor

So will gp also have a chance with treble ?? :) . We have 1 gb ram ( a bit low but maybe still can handle treble rom ) and our same-chipset device have treble rom . Also erfanabdi made cpt tool for treble-bringup things on unsupported phones as well

[MENTION=7569388]vince2678[/MENTION] what do you think on it ?? And i it possible/really work ??

Note : Treblize vendor commit of msm8916 :

https://review.lineageos.org/#/c/LineageOS/android_device_xiaomi_msm8996-common/+/206015/
[Galaxy Grand Prime Android Development] vince2678:
No, I've said this before. There is no single spare partition on any of the devices large enough to work as a stand in for the vendor partition.

And, even in the event that there is, some of the proprietary libraries and binaries used on these devices have paths coded in pointing to system, so there would be no way to truly move everything samsung/qcom related to the vendor partition.

== Edit ==

Our soc is *msm8916*, not *msm8996*
[Galaxy Grand Prime Android Development] BelialClover:
could it be that my phone changes the default usb settings and it always try to charge, i want to use transfer files for default but when i connect it it choose charge, even on developer options it resets back to charge
[Galaxy Grand Prime Android Development] vince2678:
I just checked again, and while it seems most of the devices do have a large enough cache partition, it's still not something feasible to do, since the soc is not A/B compatible (meaning cache is still needed by the device for updates). It's also infeasible for the rest of the above mentioned reasons.
[Galaxy Grand Prime Android Development] BelialClover:
Anyone experiencing really slow charging times on this rom?

any way to fix it? im using the official charger
[Galaxy Grand Prime Android Development] vince2678:
The kernel charger driver is exactly the same as the stock one. If you're experiencing slow charging (<500mA), it's probably your cable, not the actual charger head.
[Galaxy Grand Prime Android Development] mhkanon:
Boot Loop in XCU(fortunave3g) variant. I tried the latest build and latest, old TWRP. Nothing solved it. [MENTION=7569388]vince2678[/MENTION] Plz check it.
[Galaxy Grand Prime Android Development] itexpert.120:
How it the latest 9/11/18 build for XXU?
[Galaxy Grand Prime Android Development] BelialClover:
I just did a test with another phone with the same cable and i get x2 charging speed

i installed another rom before this one,how would i be able to do a clean install without losing my data(apps and configuration)?
[Galaxy Grand Prime Android Development] autenticador:
I wanted very much to migrate from the RR to LineAgeOS but I always fall into the bootloop of the XCU version even with the clean install
[Galaxy Grand Prime Android Development] elkay81:
Im getting error 7 when flashing with twrp (as if the build is not for my phone)

On G530-W (Galaxy Prime Canada) , trying to use : lineage-15.1-j119-20180902-NIGHTLY-gprimelte
[Galaxy Grand Prime Android Development] vince2678:
Second post from the OP.
[Galaxy Grand Prime Android Development] :
SD testing series

Testing series

Is anyone using an SD card as internal storage like me? Because here I'm going to show you the tests I've made.

8 Gb class 8

I am using an SD with 8 Gb on Gran Prime, it used to be slow on other ROMs such as Nougat-based ones, but now it seems that my Gran Prime is working better or with the same performance as it was using the real internal storage. The SD card is a class 8 which means that it is not the fastest one.

16 Gb class 10

I have another one class 10 with 16 Gb and it works fine on GP as internal storage too. But don't think you can install an infinite number of apps. Moderating is always good. As more apps you have, more RAM will be consumed on system's start up.

250 Gb class 10

This last one didn't work unfortunately :( . The grand prime recognizes this SD card and even work with it as an external storage very well. I got tons of songs, pictures, videos and even many ROMs and Google Apps I have ever installed on my phone. It looks you have infinite memory with this card but as internal storage, it's not possible. It gives a problem when is being formatted as EXT4 file system but I think it's related to the exagerated size of SD card.
[Galaxy Grand Prime Android Development] unknown:
I also checked again . They merged another partition as /cache and Redmi 2 treble is arm 32 bit a only
[Galaxy Grand Prime Android Development] vince2678:
It's not really proper to compare devices from different manufacturers. Samsung devices have their own quirks and are generally harder to work with than devices from other manufacturers.

While both devices may be arm32 and A only, that really is where the similarities end. There simply is no way to to implement treble without repartitioning the device(s). If it were one variant with the same partition table among all devices, it might have been possible to make a script for that (if the partition table isn't read-only, which it probably is), but there are multiple variants, all essentially different devices with differing partition tables under the 'Grand Prime' moniker.

gprimeltecan:/ $ su -c fdisk -l /dev/block/mmcblk0
Found valid GPT with protective MBR; using GPT

Disk /dev/block/mmcblk0: 15269888 sectors, 3360M
Logical sector size: 512
Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 15269854

Number Start (sector) End (sector) Size Code Name
1 8192 38911 15.0M 0700 apnhlos
2 38912 156543 57.4M 0700 modem
3 156544 157567 512K 0700 sbl1
4 157568 157631 32768 0700 ddr
5 157632 161727 2048K 0700 aboot
6 161728 162751 512K 0700 rpm
7 162752 163775 512K 0700 qsee
8 163776 164799 512K 0700 qhee
9 164800 170943 3072K 0700 fsg
10 170944 170975 16384 0700 sec
11 170976 192511 10.5M 0700 pad
12 192512 212991 10.0M 0700 param
13 212992 241663 14.0M 0700 efs
14 241664 247807 3072K 0700 modemst1
15 247808 253951 3072K 0700 modemst2
16 253952 280575 13.0M 0700 boot
17 280576 311295 15.0M 0700 recovery
18 311296 335873 12.0M 0700 fota
19 335874 350191 7159K 0700 backup
20 350192 356335 3072K 0700 fsc
21 356336 356351 8192 0700 ssd
22 356352 372735 8192K 0700 persist
23 372736 374783 1024K 0700 persistent
24 374784 393215 9216K 0700 persdata
25 393216 5001215 2250M 0700 system
26 5001216 5615615 300M 0700 cache
27 5615616 15269847 4713M 0700 userdata
gprimeltecan:/ $
[Galaxy Grand Prime Android Development] autenticador:
Has anyone managed to run the new version of 8.1 Go in the XCU 530h? here continues with bootloop even with clean install
[Galaxy Grand Prime Android Development] Waskita A.R.:
which build is stable for xcu?

sorry for bad english
[Galaxy Grand Prime Android Development] autenticador:
Can you start the latest version? I only have bootloop even doing a clean install
[Galaxy Grand Prime Android Development] vince2678:
New builds are up (20180820/20180921).

You can read the attached build changelog to see what changed this week (not a lot). I'll update the changelog on the second post later.
[Galaxy Grand Prime Android Development] Zep0th:
J15 Go XX

baseband still unknown, clean flashed
[Galaxy Grand Prime Android Development] iRoNlOvE:
what about bugs and performance??
[Galaxy Grand Prime Android Development] Zep0th:
No bugs, tested everything

Performance is slightly better

battery seems to have improved a bit as well

About 20 extra minutes on screen time
[Galaxy Grand Prime Android Development] iRoNlOvE:
can say thats better than nougat??
[Galaxy Grand Prime Android Development] mostafa34:
What about the sim ....... do you work ??
[Galaxy Grand Prime Android Development] Waskita A.R.:
Hey vince, I found bugs on xcu latest build (20180921)

- sim card is not detected

- when I press reboot recovery, It's doing a normal reboot instead of going to recovery

But, this latest build the performance is better.

Keep up the hard work bro! I love your rom.

Sorry for bad english
[Galaxy Grand Prime Android Development] martine244:
How to fix I flashed oc hotplug ROM is lagging when playing ros Can u recommend custom ROM for me no lag playing ros
[Galaxy Grand Prime Android Development] iRoNlOvE:
XenonHD

DOT OS 1.2

AEX 4.6
[Galaxy Grand Prime Android Development] Zep0th:
J16 Go XX

And..... baseband still unknown... :(
[Galaxy Grand Prime Android Development] Zep0th:
Absolutely :cool:
[Galaxy Grand Prime Android Development] vince2678:
I've rebuilt twrp images for all devices.

The ramdisks are now compressed with a different algorithm (now lzma vs gzip2 before), so the images should fit within the recovery partition constraints (the fortuna3g one is the largest of all devices, and its size is within the size constraints).

On average there is at least a ~2MB reduction in total size of the image.
[Galaxy Grand Prime Android Development] bfoos:
Recovery for SM-S920L isn't working.
[Galaxy Grand Prime Android Development] Zep0th:
Fortuna3g TWRP 3.2.3 j9

Confirmed working :D :good:

I'll flash the new Go builds and check if the baseband is working with this recovery just incase it's a recovery issue.

Edit: baseband still unknown
[Galaxy Grand Prime Android Development] mhkanon:
[MENTION=7569388]vince2678[/MENTION]

I flash the latest build XCU variant SIM card not detected.
[Galaxy Grand Prime Android Development] iRoNlOvE:
j17 XX realased
[Galaxy Grand Prime Android Development] Zep0th:
J17 Go XX

Baseband unknown..

Is there anything I can do to help Vince? A log or something?
[Galaxy Grand Prime Android Development] cphilch:
Vince, Just installed latest J14 build released on 20180921, on XXU today, it is not detecting the dual sim and says no service, no matter what ever you do(resttart, wiping cache, boot, changing profiles etc). Reverted back to J10.
[Galaxy Grand Prime Android Development] vince2678:
Yea, can you do that.
[Galaxy Grand Prime Android Development] Zippy Dufus:
lzma for recovery?

I see a commit where lzma for the recovery partition is baked into the ROM.

Does this mean we will have to use the rebuilt TWRP images for compatibility?
[Galaxy Grand Prime Android Development] jonatthanbenitt:
I found bugs in fortunalteub variant in last build (20180921)

- SIM card is not detected

- The IMEI and baseband aren´t aviable

But the others things works fine.

(sorry for my bad english)
[Galaxy Grand Prime Android Development] vince2678:
No, it just means lzma compression will be default for all recovery ramdisks, whether twrp or not. There's not really any advantage to sticking to bzip2, considering that the ramdisks keep getting larger and reducing kernel zImage size is extremely difficult.
[Galaxy Grand Prime Android Development] jonatthanbenitt:
here is logcat
[Galaxy Grand Prime Android Development] vince2678:
There's nothing useful in this logcat. Can you get a log from boot up into the lockscreen
[Galaxy Grand Prime Android Development] jonatthanbenitt:
here is log from boot up into the lockscreen
[Galaxy Grand Prime Android Development] vince2678:
The log is shorter than i expected, and still lacking anything useful. I was expecting something a couple megabytes big, 100KiB is unexpected.

How are you getting the log? An application? If so, try getting the log via the command line, with 'adb logcat'.
[Galaxy Grand Prime Android Development] Shefeak Seedh:
[MENTION=7569388]vince2678[/MENTION]

I'm the guy who previously had problems going into the download mode. But now after 100+ tries I finally made it to the download mode and flashed twrp and Los15.1 go. But now it shows safe mode in the screen, I tried rebooting the phone and changing ROMs but still the safe mode is present. Can you please help me out.
[Galaxy Grand Prime Android Development] jonatthanbenitt:
Yes, i used an app, so i gonna generate a logcat with a line command, but i should stay only in the locks screen?
[Galaxy Grand Prime Android Development] jonatthanbenitt:
Okay, i did two logcat with the command line, here are both files, one of this is the startup logcat
[Galaxy Grand Prime Android Development] :
since TWRP for Grand Prime is getting harder to make it fit, we should use Lineageos recovery from now on (because it's smaller). Shouldn't we? I can do almost everything in that recovery, but I still can't do sideload stuff, however it's useful for basic ROM installation.
[Galaxy Grand Prime Android Development] cphilch:
vm.overcommit_memory observation

[MENTION=7569388]vince2678[/MENTION], I tried setting vm.overcommit_memory to 2 using sysctl command from terminal, the fortuna3g XXU just hangs and goes blank, finally have to remove the battery. I am using J10 build btw. What could be the reason, if this setting is not permmitted, the system should not be hanging.
[Galaxy Grand Prime Android Development] vince2678:
That's really beyond the scope of this thread ; you should probably get a dmesg to get an idea of what's happening.
[Galaxy Grand Prime Android Development] vince2678:
No, not really ; one of the last few commits was to reduce the size of the recovery ramdisk/initrd so that twrp can still be used.
[Galaxy Grand Prime Android Development] vince2678:
Well, I have no idea what safe mode is, so probably can't help you there. It's probably a bootloader thing so you should probably look around on the xda forums to find out more about it.
[Galaxy Grand Prime Android Development] canozuysal:
G530FQ LOS 15.1 Go

Hello Sirs,

I am new to forum and i require your help.

I am trying to flash LOS 15.1 Go for my SM-G530FQ (Turkey, LTE, Single Sim, codename: fortunalte)

Upto now no luck.

I flashed fortuna3g but there are 2 problems. Can't receive SMS and no LTE.

LTE is ok but i need to receive SMS. Your help is appreciated.
[Galaxy Grand Prime Android Development] vince2678:
That device is not supported on this thread.
[Galaxy Grand Prime Android Development] cphilch:
[MENTION=7569388]vince2678[/MENTION], I see that there is a folder 16.0 with grandprimelte build, does that mean Oreo development builds are stopped and we can expect Android Pie build for other devices. Kindly advice.
[Galaxy Grand Prime Android Development] Zippy Dufus:
And a repo branch has sprouted too. Can hardly wait!
[Galaxy Grand Prime Android Development] vince2678:
P is far from stable. O maintenance will be ongoing.
[Galaxy Grand Prime Android Development] :
I have been a while without using lineage on my phone. Today I installed TWRP 3.2.2, lineage and mind GAPPS an noticed that SIM card isn't detected. More intriguing is that if you reboot to system from TWRP it says "no OS installed" and even reboots to system successfully. I think this may cause the other problems such as "crazy boot". I call this way because when I hit 'reboot' in power menu it goes to bootloader, and when I smash that combination to go to recovery (when the phone is off) it goes to kernel and then goes back to Bootloader again, after many attempts I finally managed to Boot the kernel. I've already faced this problem before and I didn't gave attention to this. How can I do for helping?
[Galaxy Grand Prime Android Development] itexpert.120:
I would suggest installating stock ROM then install other ROM
[Galaxy Grand Prime Android Development] iRoNlOvE:
guys what do u suggest me Nougat(xenon,dot,aex) or Oreo(aex,rr,los,los go)?

fortuna3g
[Galaxy Grand Prime Android Development] itexpert.120:
Nougat for the Stability