yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Young S6310] techyzen101:
I've tried NV-Dev's build, it worked fine. The overclocked build didn't. Oh and I just mentioned the kernels because they give the same output, blue screen (overclocked kernel, and mamutos kernel), I didn't mix the mentioned kernels with the builds, just used the kernels provided by each.

I will start from the beginning and report back.

Edit:

Still the same, blue screen. The kernel loads its splash screen (cyanogenmod snapdragon qualcomm showing) and that's about it.

cm-11-20160220-UNOFFICIAL-royssnfc-userdebug-oc-5.zip
[Samsung Galaxy Young S6310] :
Try the older build, only difference is the GPU overclock and NFC. If that works thats the problem (which I highly doubt as others were successful using it).
[Samsung Galaxy Young S6310] techyzen101:
The same result, I'm afraid. The first overclocked build was the first one I've flashed.

cm-11-20160215-UNOFFICIAL-royss-userdebug-oc-1.zip
[Samsung Galaxy Young S6310] jacobpayag:
I do not know what's causing it. Are you positive that it is an s6310? Causes I use an S6310 on a daily basis as a pocket wifi and it boots fine. I'ved added a custom boot animation and it works fine. Reflash stock firmware (use the Netherlands firmaware this time) and flash the rom like usual. If you are carrier locked then it is best to get your device open lined before flashing stuff.
[Samsung Galaxy Young S6310] :
I have a working stock rom on mega

https://mega.nz/#!R5oxmJCJ!0spSNevx_8tlklU6t7GA9ckzDrLmfgYy-Fw8fqobb5w
[Samsung Galaxy Young S6310] jacobpayag:
That's for the N. I'll upload mine to afh. Its for thue single sim non-nfc variant
[Samsung Galaxy Young S6310] techyzen101:
Stock Rom: Philippines XTC (Openline) S6310DXAME1_S6310OLBAME1_XTC

I am sure it is a GT-S6310
[Samsung Galaxy Young S6310] jacobpayag:
Now i really don't know what the problem is. I am usingnthat same firmware cause I'm from the Philippines obviously. XTC is my efs code and S6310DXAME1 is my stock factory rom. As in it came out of the box with that. I can try to recreate the scenario in my own device (as I basically use it as a pocket wifi).
[Samsung Galaxy Young S6310] Bisaalz:
Boots on s6312 but rel problem

It works on s6312 but it detects sim 1 but shows emergency call only.The problem occured due to baseband version.Please fix rel on s6312.Make at least one sim workable
[Samsung Galaxy Young S6310] akanesaki31:
The headphone doesn't work too :)
[Samsung Galaxy Young S6310] jacobpayag:
We know that BTW. Read the OP. It's listed as a bug
[Samsung Galaxy Young S6310] xlen:
We have no idea why that bug is existing to you as Les only added 2nd Sim to kernel.

BTW I have s6312 too, but I haven't flashed it on my device

What kernel version do you have?
[Samsung Galaxy Young S6310] :
I didn't release the S6312 build yet..
[Samsung Galaxy Young S6310] xlen:
You said you are going to and he flashed it, so I thought you released it.

To the guy with non working Sim wait a bit with this one or flash stock while you wait, as we will release it as soon as possible.
[Samsung Galaxy Young S6310] Bisaalz:
Actually i m taking about cm11 4.4.4 by NV-DEV for s6310 which i flashed on s6312 because basically they are same.But the problem is

1 sim detected but showing emergency calls.So i am wondering is there any fix for s6312 user for sim network issue.I know this rom is for s6310
[Samsung Galaxy Young S6310] :
Try adding this line to 'system.prop'

persist.radio.multisim.config=dsds

If it works then my builds will work, if not I need to get the S6312 RIL driver.
[Samsung Galaxy Young S6310] Bisaalz:
system.prop ?? You mean build.prop I added this line i restarted now it is saying system ui has stop working every time i try to unlock and it shows 1 logo in status bar on network.Please how to fix this?But anyhow i got to setting it actually detects 2 sim but still no network bar .I think it need drivers.But still system ui has stop working showing
[Samsung Galaxy Young S6310] :
Reflash for now, at least I know my solution partially works.

Edit:

It's system.prop in the source but gets added to build.prop. Sorry.
[Samsung Galaxy Young S6310] Aryon87:
Thank you guys, the CM working perfect in the phone.

Fantastic ^^

Um, maybe bugfix the very low sounds?
[Samsung Galaxy Young S6310] :
That's our next goal after Bluetooth, and Bluetooth is very close to being fixed.
[Samsung Galaxy Young S6310] zinou zizou:
please pleaseee fix all bugs

please pleaseee fix all bugs :rolleyes:
[Samsung Galaxy Young S6310] :
Come on give us a break man, we're doing our best!

Any more posts like this will be reported.
[Samsung Galaxy Young S6310] techyzen101:
Additional Bugs

If ever these other bugs might be encountered on the port, I might as well report them here.

Sim Toolkit

*Shows twice of itself in the recent apps (shown on the attached screenshot below). Pressing any of the two shows the same thing (the last item on the recent apps list).

Plugged In, Charging

*When rebooting, prevents loading past the kernel, and just shows random battery charging icons, instead of the cyanogenmod loading screen.

Browser

*When internet connection/mobile data acts up for a little bit, crashes the browser at random.

Earphones

*Does not give any sound.

*On YouTube (still no sound output), when unplugged, the playing video stops (the phone detects the earpiece getting removed).
[Samsung Galaxy Young S6310] Mr,bluwe:
So anyway to get ril working on S6312, atleast to enable one SIM card??

Thanks in advance..
[Samsung Galaxy Young S6310] :
Patches are needed to fix RIL on S6312, but for now you will just have to deal with it.

Sorry.
[Samsung Galaxy Young S6310] techyzen101:
Can you share a little insight about the current status of bluetooth? Just a little curious.

I don't mind searching around a bit to understand, if the explanation is a code or something similar.
[Samsung Galaxy Young S6310] xlen:
Sorry, but Les hasn't uploaded Bluetooth on github yet, but it is close to test version, if it will work we will upload beta bluetooth version
[Samsung Galaxy Young S6310] techyzen101:
Ah alright, thanks.

Also

More Additional Bugs

*Back button randomly doesn't work while on the apps list (not recent apps), and takes a long time to actually go back (about 1 second, encountered on settings).
[Samsung Galaxy Young S6310] xlen:
If you want thank us please just press thumbs up(thanks) button as it is just spamming our thread with unnecessary posts and it isn't speeding us up
[Samsung Galaxy Young S6310] :
NV-Dev is working on a backport for BlueZ (the bluetooth manager) because Bluedroid (stock bluetooth manager for 4.3+) doesn't work with our chip. Once the backport is finished bluetooth should work.
[Samsung Galaxy Young S6310] Aryon87:
I installed play store the Volume Booster. Volume is highest, and good, but not enought :D
[Samsung Galaxy Young S6310] :
Please people do not use this, this 'solution' will break your front speaker eventually. Audio is already being worked on.
[Samsung Galaxy Young S6310] Aryon87:
Now there is a need for this program because it will soon go to the main telephone service center , Samsung will be long , and should increase the volume for the call. Other device is installed, it 's helped .
[Samsung Galaxy Young S6310] :
Don't say I didn't warn you.
[Samsung Galaxy Young S6310] xlen:
Guys you are playing with fire.

If you set it 10x higher than stock it will blow your speakers and you can't be sure when it is set that high
[Samsung Galaxy Young S6310] Aryon87:
Thanks, I understood :)
[Samsung Galaxy Young S6310] jacobpayag:
We are going to block anyone who will spam this tread. If you can't be patient then fix the bugs yourselves. We have lives other than development ya know!!!!!
[Samsung Galaxy Young S6310] sr_ocul:
I'm so happy! now it's more supportable to have that phone :good:

Thank you!
[Samsung Galaxy Young S6310] KlinkOnE:
Hi devs

just bumped here because I am looking for a 3.4 kernel suitable to port to my device (GT-S7562 Galaxy S DUOS).

Looks promising.

I saw you are having trouble with Bluetooth and webview.

You might take a look at our sources and maybe find something usable as this is fixed with our device.

https://github.com/KlinkOnE

EDIT: there might also be something helpful regarding dualsim for the S6312
[Samsung Galaxy Young S6310] jacobpayag:
It might work but differences in ram can be a big hindrance
[Samsung Galaxy Young S6310] KlinkOnE:
What do you mean with differences in ram?

sorry for OT
[Samsung Galaxy Young S6310] :
Differences in the way ION is handled, regarding Bluetooth and webview. Webview is mostly fixed and Bluetooth is being worked on.

Thanks anyway.
[Samsung Galaxy Young S6310] NV-Dev:
Hi.

I'm working to fix the bluetooth , however it is not an easy task, royss uses some modifications to the bluetooth and I'm trying to port .

[MENTION=7102907]lesleyxxx15[/MENTION] : the backport 3.18 compiles and boot correctly, but still not working bluetooth, I will not upload changes to GitHub changes until it works.
[Samsung Galaxy Young S6310] NV-Dev:
Backport 3.18 Logcat

Here is a logcat of last backport

I/bluetoothd( 1067): Bluetooth management interface 1.7 initialized

Bluetooth management interface 1.7 correspond to Kernel 3.18

However, still it does not work bluetooth
[Samsung Galaxy Young S6310] :
Is the chip initialized? Because thats one thing I started looking in today.
[Samsung Galaxy Young S6310] xlen:
In your logcat there are too many errors and problems to analyze as all of them are disturbing.
[Samsung Galaxy Young S6310] NV-Dev:
BT doesn't work, and try to run the commands adb shell and this happens.

Shell:

bccmd -t bcsp -d /dev/ttyHS0 -b 115200 psload -r /system/etc/PSConfig_7820.psr

Result: Initialization timed out

hciattach -p /dev/ttyHS0 bcsp 3000000 flow

Result: BCSP initialization timed out
[Samsung Galaxy Young S6310] hawk1997:
Is It work on GT-S6312?

If yes then guide me step by step from beginning to bugs
[Samsung Galaxy Young S6310] :
Look at the main post, main difference is that calling and texting doesnt work.
[Samsung Galaxy Young S6310] :
Beta 5

I am very happy to present to you, the Bluetooth update!

Changelog:

- Updated Audio (No noticable change tho)

- Updated Camera (Still not fixed but getting closer)

- Fixed Bluetooth!!!!

Bugs:

The usual except with the new Bluetooth stuff I have noticed when searching Bluetooth devices, WiFi and RIL disconnect, Android also asks to sign in to RIL and WiFi (at least they do on my phone). Not a really big bug but can be annoying at times.

Also Bluetooth does not work propperly yet and NV-Dev reported bootloops on his device, which I have not encountered. At least we now have a solid base to work with regarding Bluetooth.

Download:

Beta 5
[Samsung Galaxy Young S6310] hawk1997:
Can i install it on GT-S6312 ?
[Samsung Galaxy Young S6310] :
Yes
[Samsung Galaxy Young S6310] hawk1997:
In TWRP or CWM...and where can i find gapps ?
[Samsung Galaxy Young S6310] :
TWRP I don't know if CWM works.

You can find GApps here.

By the way if you wait a few hours you will have a S6312 only build (Dual sim fix)
[Samsung Galaxy Young S6310] hawk1997:
Thankyou....lesleyxxx15....i'm waiting. For Rom...
[Samsung Galaxy Young S6310] :
I get a few build error's, so no build today.
[Samsung Galaxy Young S6310] hawk1997:
Can you post err_log..may be i can help.
[Samsung Galaxy Young S6310] ACC18:
great NV-Dev, Lesleyxxx15..

anyone here can tell me how to do swap storage in cm11?
[Samsung Galaxy Young S6310] :
It's just some basic stuff, nothing I can't fix. Just wanted some free time after yesterday.
[Samsung Galaxy Young S6310] hawk1997:
I'll be waiting...
[Samsung Galaxy Young S6310] Alwaysetia01:
I have been trying this room beta 5 it's fantastic but I find bug... If I turn on GPS n I turn off again GPS keep on... #MyEnglishIsBad
[Samsung Galaxy Young S6310] Alwaysetia01:
Why I can't use this application in cm11 ? Come on answer Guy's
[Samsung Galaxy Young S6310] hawk1997:
Have you Rooted Proprely? Or this is processor prob.
[Samsung Galaxy Young S6310] :
For now just install Beta 5, Android is being a pain in the ass as usual.

Thanks for reporting it, unfortunately I am unable to replicate your issue.

This bug is Xposed related, please report it to them if you require Xposed. Do note that I will not help you with any bugs you find when using Xposed.
[Samsung Galaxy Young S6310] Aryon87:
I'm waiting for repairs, but it is useless phone. Camera does not work, but no other camera applications, bluetooth is good, the volume is woefully low, even with volume boosters did not help him.

While these errors are not corrected, it will go back to the factory system.

or if you know someone normally working system, do not keep it to himself. No matter what, at least just above cooperate.

Thanks
[Samsung Galaxy Young S6310] hawk1997:
Just wait few days. Devlopment is in progress... you'll soon get update.
[Samsung Galaxy Young S6310] KlinkOnE:
With below patch it will work again.

https://gerrit.omnirom.org/#/c/15695/1

Gesendet von meinem GT-S7562
[Samsung Galaxy Young S6310] Aryon87:
Okay, thank you. The stock rom, very very slowly downloading :'(
[Samsung Galaxy Young S6310] hawk1997:
Can anyone suggest Good Rom for GT-S6312....i tried bulldroid and x-sam duos....but no satisfaction...
[Samsung Galaxy Young S6310] :
Will upload with this patched tomorrow.

Anybody want a working camera within a week?

Np.
[Samsung Galaxy Young S6310] makatente:
is it important to fix offline charging?
[Samsung Galaxy Young S6310] :
Not important and not a priority but if anybody finds a fix they are welcome to provide us with it.
[Samsung Galaxy Young S6310] Alwaysetia01:
Better fix sound then camera...
[Samsung Galaxy Young S6310] :
Sound is a little more difficult because it's harder to locate the exact bug, but I think I'm close to fixing sound.
[Samsung Galaxy Young S6310] elgilukiyansah:
I'm here, will keep waiting for it :angel:
[Samsung Galaxy Young S6310] :
Im going to rewrite the kernel, will not post any updates for a while. Need to rewrite as it looks like to me that the Audio bug originates here.
[Samsung Galaxy Young S6310] techyzen101:
Here!

And by the way the status of the bugs on lesleyxxx15 build 5:

Multiple Sim Toolkit on Recent Apps

This bug still persists.

Browser Random Crashes

Nothing so far.

Boot Interruption When Plugged In To Power Source

This bug still persists. There's a fix for GT-S5360 CM7 offline charging in which the problem was within the ramdisk (I'll dig around and try to find it) though it might be irrelevant to this bug, but it might be a good starting point to look at.

Settings UI Takes A While To "Back" Out From A Sub Menu

Social apps (like messenger and facebook as I've tested) are the culprit. I suggest NOT to install these kind of apps to those who don't like the UI delay.

Google Apps 4.4

Pressing next gives a "Setup Wizard Has Stopped Working".

Blue Screen Bootloop

Looked at and seems its fixed (lesleyxxx15 identified this as a clock problem for certain devices like mine, which can't handle higher frequencies)

RIL and Wifi Disconnection on Bluetooth Device Scan - Not encountered

Device: GT-S6310 (additional info on attachments below)

CM Build: Beta 5 - [MENTION=7102907]lesleyxxx15[/MENTION]

A bit shorter first bootup time, no bootloop/blue screen. UI is snappier. Bluetooth seems to work flawlessly, paired with a Xubuntu OS laptop, sent a file, recieved a file, RIL and WiFi are both fine in the process. There's 90+ MB used space, thus more space for user apps.
[Samsung Galaxy Young S6310] :
This problem still persists..

Forgot to add CMAccount to required packages.

Will upload together with next build.
[Samsung Galaxy Young S6310] techyzen101:
Alright, and also about offline charging. It does work! Even though the animation is broken. Seems that fix I have said earlier might actually be significant, I'll try digging tomorrow, and I've already downloaded an android kitchen just in case I can't find it anywhere else but the ROM that contains the fix.
[Samsung Galaxy Young S6310] :
It's only the animation that was broken in the first place, but yeah it does charge.
[Samsung Galaxy Young S6310] jacobpayag:
I was partially joking when I said "fix the problems your selves" but you need to rebuild the entire kernel as the images for the animation is located in the kernel. Or in the ramdisk if not.
[Samsung Galaxy Young S6310] techyzen101:
Oh no, I'm just helping with possible culprits, I don't have much knowledge on actually fixing.

And yeah, kernel or ramdisk now.

Reboot:

AC - goes to the broken charging screen

USB - reboots normally

Offline Charge:

AC - goes to the broken charging screen

USB - goes to a complete phone bootup
[Samsung Galaxy Young S6310] techyzen101:
ramdisk/charger elf executable

This file handles the images correct?
[Samsung Galaxy Young S6310] :
I think so, didn't do any research on it.
[Samsung Galaxy Young S6310] techyzen101:
Executed on terminal.

Screen blacks out, battery loading screen, and then shuts down right after showing this on

terminal:

framebuffer: fd 6 (320 x 480)
[Samsung Galaxy Young S6310] xlen:
Use folder mount(Google play store it)
[Samsung Galaxy Young S6310] techyzen101:
Based on my gathered info about the charging animation bug, CM11 uses bootloader-dependent binaries (mainly lpm), while CM12 uses open source healthd-charger.

For now I'll play with the ramdisk.

Results:

Copied over "charger" binary from stock.

No animation (just a black screen, animation code from charger binary was stripped perhaps or something else) but shows the battery loading image once now (no reboot), then after the phone is unplugged, phone powers off.

Found this, handles the animation

static struct frame batt_anim_frames[] = {
{
.name = "charger/battery_0",
.disp_time = 750,
.min_capacity = 0,
},
{
.name = "charger/battery_1",
.disp_time = 750,
.min_capacity = 20,
},
{
.name = "charger/battery_2",
.disp_time = 750,
.min_capacity = 40,
},
{
.name = "charger/battery_3",
.disp_time = 750,
.min_capacity = 60,
},
{
.name = "charger/battery_4",
.disp_time = 750,
.min_capacity = 80,
.level_only = true,
},
{
.name = "charger/battery_5",
.disp_time = 750,
.min_capacity = BATTERY_FULL_THRESH,
},
};

and the part below in which the event should loop:

charger->next_screen_transition = now - 1;
charger->next_key_check = -1;
charger->next_pwr_check = -1;
reset_animation(charger->batt_anim);
kick_animation(charger->batt_anim);

event_loop(charger);

return 0;
}

which the stock binary could do, but the other couldn't.
[Samsung Galaxy Young S6310] xlen:
You have found everything, but I think that there could be some difference between Android versions as changes in code, soyou may need to update them.
[Samsung Galaxy Young S6310] vicente001:
The bugfix (or a workaround) for the setupwisard error, is turning on the WiFi...
[Samsung Galaxy Young S6310] jacobpayag:
That my friend is simple programming in C. If you are to make any changes run it through a compiler that can compile C.
[Samsung Galaxy Young S6310] :
Beta 6

Changes

- Offline charging fixed (only when trying to boot with cable plugged in hangs on offline charging and when plugged in to usb it starts booting)

- Fixed bug causing Xposed to not work

- Kernel 3.4.98

- Overclocked GPU to 192 MHz

- Fixed a few bugs related to Bluetooth

- Added CMAccount again

Note

If anybody experiences problems with the GPU after this update, please PM me.

Download

Here
[Samsung Galaxy Young S6310] Alwaysetia01:
I had used beta5 then I replace beta 6 why WiFi can't turn on ?
[Samsung Galaxy Young S6310] ACC18:
I found bug.. My device freeze.. And must to do force restart to avoid that.. It's happen twice in 30 minutes (approximately)

Sorry for my bad english
[Samsung Galaxy Young S6310] ioneachmad:
that happen to me too,

but when i set GPU to 133MHz my device work fine.

_sorry for my bad english_
[Samsung Galaxy Young S6310] :
Will revert GPU overclock.

Don't know why this happens to you. Try to redownload and reinstall. Also first try a reboot.
[Samsung Galaxy Young S6310] anggide:
how to change gpu clock ?
[Samsung Galaxy Young S6310] jacobpayag:
Unlike CPU, the GPU CANNOT BE under or overclocked by a simple app. It requires editing of the kernel (from the source code and rebuilding)
[Samsung Galaxy Young S6310] :
Kernel adiutor, select GPU and 133 MHz. Apply on boot.
[Samsung Galaxy Young S6310] ACC18:
Gpu overclock is awesome by the way... Its makes a huge changes in antutu benchmark.. From 6900 to 8500
[Samsung Galaxy Young S6310] :
Alright I'll upload a different OC build then from now on.
[Samsung Galaxy Young S6310] stars246:
Will this work on Galaxy Young Dous Plus (GT-S6312) ?
[Samsung Galaxy Young S6310] :
Yes but RIL won't work
[Samsung Galaxy Young S6310] stars246:
Thnx Bro for responding

Will try it today :)
[Samsung Galaxy Young S6310] victoriordachi:
Any updates ?
[Samsung Galaxy Young S6310] :
Nothing new after Beta 6, except I have narrowed down some bugs in the kernel.
[Samsung Galaxy Young S6310] NV-Dev:
What bugs?
[Samsung Galaxy Young S6310] :
The one causing the camera to not work. Not fixed yet tho.
[Samsung Galaxy Young S6310] jacobpayag:
Well lesley found out that the camera fails in the workload handler and apparently has no clue on what causes the failure. In my case, I have found that the audio problem is kernel related but we still have no progress in how to narrow down to the root cause of the bugs
[Samsung Galaxy Young S6310] Shadow Of Leaf:
hello

NV-Dev

i have attend to build cm12 for S6310 and i want to use your source if you don't mind
[Samsung Galaxy Young S6310] :
You can always use his/our source.. Just make sure to credit where needed.

By the way, I'm already working on CM12
[Samsung Galaxy Young S6310] Shadow Of Leaf:
ok because now i build for S6500 and i want to build for s6310 because it has the same chips msm7x27a

i will build for s6310N Because s6500 and s6310N has NXP pn544 if you don't mind
[Samsung Galaxy Young S6310] :
S6310N uses pn547 not pn544
[Samsung Galaxy Young S6310] Shadow Of Leaf:
ah ok my mistake

you said that you build cm12 for s6310 so i can't build

but i can help
[Samsung Galaxy Young S6310] ervanr:
I see Doble sim toolkit in recent apps and i try to instal fm radio didn't work

I used app and set gpu to 133 and not freezy display
[Samsung Galaxy Young S6310] :
FM Radio will not be fixed, as I have no idea how to fix :/

I already know about the Sim Toolkit bug. This is a CyanogenMod related bug.
[Samsung Galaxy Young S6310] Lexzaa98x:
NV-Dev

sir can i install this rom using CWM ? pleaze answer ..
[Samsung Galaxy Young S6310] :
You can try but TWRP is recommended
[Samsung Galaxy Young S6310] NV-Dev:
Perhaps, but is preferable use of TWRP for the SELinux.
[Samsung Galaxy Young S6310] Haloas:
Will it work on Samsung GT-S6310n?
[Samsung Galaxy Young S6310] :
Yes, I have the N variant.
[Samsung Galaxy Young S6310] evlordxx:
Any progress for beta 7 sir ? :confused: i hope audio bug is already fixed,sorry i can help :angel:
[Samsung Galaxy Young S6310] :
Lot's of progress but none yet people can notice.
[Samsung Galaxy Young S6310] Mr,bluwe:
Still waiting for getting the ROM fixed and making SIM work on the S6312 :D, i really like this phone and i want it to be updated away from jellybean.

Great work! Keep it up!

'I pressed the button'
[Samsung Galaxy Young S6310] Android2.1:
NFC working?

Inviato dal mio SM-G930F utilizzando Tapatalk
[Samsung Galaxy Young S6310] :
Not yet
[Samsung Galaxy Young S6310] alif46:
i hope this rom is gonna be stable.... good job and thanks for all developer :good:;)
[Samsung Galaxy Young S6310] kessaras:
im not a developer, is there any easy way we can help with the camera bug ? a log file somehow maybe ?
[Samsung Galaxy Young S6310] :
There's no easy way to help and I don't need help on the camera bug. Once video playback works in CM12 I can get the camera working in this ROM.
[Samsung Galaxy Young S6310] alif46:
when you update stable version of cm 11 lesley....? i like this rom and thanks for all developer to build this rom :good: :)
[Samsung Galaxy Young S6310] :
When I have a release ready I'll upload it.
[Samsung Galaxy Young S6310] xlen:
Fresh information audio may have been fixed, still testing, update is really near
[Samsung Galaxy Young S6310] ACC18:
sounds good :good: