yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Alpha] modpunk:
test09 is up and seems to be the right way to fix this.
[Samsung Galaxy Alpha] nuno.f.ferreira:
First few tests seem to confirm that it's fixed :)

Only made normal calls (outgoing+incoming+outgoing+incoming), no BT, but all good.

(party)
[Samsung Galaxy Alpha] Blubberor:
confirmed from my side as well. will see how it works over the day :) thanks!!
[Samsung Galaxy Alpha] modpunk:
I'm working on test10. Cleaning up the code and get the missing routes added.
[Samsung Galaxy Alpha] modpunk:
test10 is up!

Please also test:

Earpiece INCALL

Speaker INCALL

Bluetooth headset media

Bluetooth headset INCALL

Bluetooth carkit media

Bluetooth carkit INCALL

Headphones media

Headphones INCALL

Thanks!
[Samsung Galaxy Alpha] nuno.f.ferreira:
Haven't tested test10 yet but so far everything is good with test09, BT calls, BT media, I just can't seem to find a problem with it.

Anyway I will also test10 later but I wanted to correct something I said before: my Google maps example implied that BT wasn't working before but I believe it was and it certainly is working now.

Thanks.

Cheers.
[Samsung Galaxy Alpha] Olangu:
Quick testing so far. Test 10

Earpiece incall (both as caller and reciever). Works.

Media Headphones. Works.

Media Speaker. Works.

Incall speaker. Kills sound, gets back on next call.

Incall headphones. Kills sound, gets back on next call.

Adding a logcat where I place a call, go to speaker, and then go back.
[Samsung Galaxy Alpha] surfin-bobby:
Amazing, it is indeed working, you're the best! Beer time!

Tested 10 on earpiece only, will do the rest later. No more speaker sound muting or missing audio on incoming call, mic whatsoever!

Still the incall speaker mutes all, but this is more like a detail I guess...
[Samsung Galaxy Alpha] modpunk:
If the you switch to incall speaker and it doesn't work, please get 'tinymix' output. I have a 50ms delay between setting mixer states. It might be not enough and we need 100ms.
[Samsung Galaxy Alpha] nuno.f.ferreira:
Probably the best way to go about it is by using inotify_add_watch to detect debugfs changes
[Samsung Galaxy Alpha] surfin-bobby:
Here the diff on the states before and after pressing the speaker button while in a call. Switches for speaker and earpiece are done correctly but firmware is not modified...
[Samsung Galaxy Alpha] modpunk:
It looks like the route config is wrong ...
[Samsung Galaxy Alpha] surfin-bobby:
You are right, the firmware should be DSM but is RX_NB!:)
[Samsung Galaxy Alpha] modpunk:
No, that is correct. In out_set_parameter we need to check if we are incall and switching to another device. If so stop the call path and start it again. The radio needs to be updated too ...

test11 is up ...
[Samsung Galaxy Alpha] surfin-bobby:
Working!!!:)
[Samsung Galaxy Alpha] Olangu:
Sound gets back into earpiece after selecting/deselecting speaker or headset, but I still have no sound on speaker or in headset during call.
[Samsung Galaxy Alpha] modpunk:
Try test12.
[Samsung Galaxy Alpha] qkdxorjs1002:
Agree with bonuzzz,

It's not easy to port rom without target device.
[Samsung Galaxy Alpha] reylankz:
I agree with bonuzz its isn't easy to port ROM without a target device but that's irrelivant because my question was which one is easier if the two were to be done.
[Samsung Galaxy Alpha] qkdxorjs1002:
It depends on the circumstance of common-tree and source. :)
[Samsung Galaxy Alpha] bonuzzz:
The main issue now is video playback, hw decoding in particular. It involves also to video recording. Other main functions are working. The rom still has a lot of minor bugs, but it is already usable as daily driver.

4G is working, gps is working. I havent tried voip and panorama photos.
[Samsung Galaxy Alpha] tnicko:
How does it feel speed wise? Snappy-ness and such?
[Samsung Galaxy Alpha] bonuzzz:
cm rom and stock rom have different behaviour and usability, so I'm not sure it can be compared directly. The speed is like the same as on stock firmware.I have 49k in antutu, if interested. Anyway I don't have disappointment with cm12 on alpha.

Imagine you will have Nexus Alpha :)
[Samsung Galaxy Alpha] tnicko:
Thanks man. Can't wait for you guys to post it. You guys definitely deserve something for your work. Do you have a paypal like modpunk?
[Samsung Galaxy Alpha] bonuzzz:
Thank, but I do this not for donations.
[Samsung Galaxy Alpha] tnicko:
Cool man. Just thought I'd offer since you guys take your personal time to work on this sort of stuff for everyone. Thank you again.
[Samsung Galaxy Alpha] Angelvoice:
When will the download freely given? Thanks for the great work.
[Samsung Galaxy Alpha] bonuzzz:
As soon aa it will be stable enough. When cm will be published, modpunk decides. I hope it will be done this year :)

ps: now i'm working on selinux. if someone want to help us, feel free to participate
[Samsung Galaxy Alpha] kidi:
Can you guys please start working on the Cyanogenmod 12.1 (5.1 Lollipop)? :p

just cuz 5.1 is more stable, less memory hungry and has overall better performance, as some of the new features.

If only I could help..

Best regards,

James
[Samsung Galaxy Alpha] sunsettrack4:
CM12.1 hasn't been released yet, even the devices that are supported officially by CM haven't got the 5.1 upgrade. There's a staging respority available for testing, but that's not the reason for switching to CM12.1, because it's too early. In the next few weeks we can think about this step, but not now.

The devs have to fix general bugs affecting the relationship between the CM software and the hardware drivers. That's not easy, so have patience, please. :)
[Samsung Galaxy Alpha] Angelvoice:
why is it so difficult for the alpha to make a Custom Rom?
[Samsung Galaxy Alpha] modpunk:
I've got webm (VP8) videos working ... h264 next ...
[Samsung Galaxy Alpha] bonuzzz:
strange question, but i will try to explain.

there are two types of custom roms exist: stock-based and aosp-based.

the first one are based on stock firmware with some modifications.

the second one are compiled from android sources and you have to write all configs yourself. it's easier if you have devices with similar hardware, so you can port most of work from that device. but in case with alpha we dont have similar devices where aosp-based (cm-based in particular) rom has been already exist, so we have to write and test all configs from scratch by decompiling libs from stock fimware or by guessing ;)

the one more important point is the time. we all have own families, work... we do this firmware in our spare time, when we have it

if we have more people who help us. we will do it faster, i think
[Samsung Galaxy Alpha] airbus360:
Are all the source fixed upstream that you have made? :)
[Samsung Galaxy Alpha] modpunk:
h264 video decoding doesn't work cause of a memory corruption. The problem is I can't reach it with the debugger ...

D/EXYNOS_H264_DEC(25488): H264CodecCheckResolutionChange In , Line: 788
D/EXYNOS_H264_DEC(25488): YYYYYY Call MFC_Decoder_Get_Geometry_Outbuf, codecOutbufConf=0xb39a54c0
V/ExynosVideoDecoder(25488): XXXXXX MFC_Decoder_Get_Geometry_Outbuf
D/libexynosv4l2(25488): exynos_v4l2_g_fmt In , Line: 322
D/libexynosv4l2(25488): exynos_v4l2_g_fmt Out , Line: 345
D/libexynosv4l2(25488): exynos_v4l2_g_crop In , Line: 651
D/libexynosv4l2(25488): exynos_v4l2_g_crop Out , Line: 674
V/ExynosVideoDecoder(25488): XXXXXX MFC_Decoder_Get_Geometry_Outbuf: top: 0, left: 0, width: 928, height: 288
V/ExynosVideoDecoder(25488): XXXXXX MFC_Decoder_Get_Geometry_Outbuf: nOutbufPlanes=0
V/ExynosVideoDecoder(25488): XXXXXX MFC_Decoder_Get_Geometry_Outbuf bufferConf=0xb39a54c0: top: 0, left: 0, width: 928, height: 288
D/EXYNOS_H264_DEC(25488): YYYYYY MFC_Decoder_Get_Geometry_Outbuf: codecOutbufConf=0xb39a54c0, top: 0, left: 0, width: 0, height: 0
[Samsung Galaxy Alpha] modpunk:
This really sucks!!! No hardware watchpoints, argh *swearing*

(gdb) p &pH264Dec->hMFCH264Handle.codecOutbufConf.cropRect.nWidth
$2 = (unsigned int *) 0xb15a94e4
(gdb) watch *0xb15a94e4
Hardware watchpoint 2: *0xb15a94e4
(gdb) c
Continuing.
Warning:
Could not insert hardware watchpoint 2.
Could not insert hardware breakpoints:
You may have requested too many hardware breakpoints/watchpoints.
[Samsung Galaxy Alpha] surfin-bobby:
Test11 and Test12 are not fully working, most of the time the speaker goes on for a second but then goes off again. Sometimes it stays on but it is unstable. Tested on earpiece outgoing call, phone speaker switch.
[Samsung Galaxy Alpha] nuno.f.ferreira:
For me test11 is like comment #382. Test12 sucks, got no sound on first outgoing call.
[Samsung Galaxy Alpha] modpunk:
Ok, then lets try test13 :)
[Samsung Galaxy Alpha] nuno.f.ferreira:
Same as test11
[Samsung Galaxy Alpha] modpunk:
test14 is up.

We need to fix headphones (headset) later. It looks like the framework doesn't set it.
[Samsung Galaxy Alpha] Olangu:
test14 still no sound in speaker during call,

headset works for me tho.
[Samsung Galaxy Alpha] modpunk:
Thanks, from the logcat I got it looks like the Telecom framework switches back to earpiece for unknown reasons ...
[Samsung Galaxy Alpha] surfin-bobby:
FYI, problem was not there in beta6, maybe this helps...
[Samsung Galaxy Alpha] modpunk:
test15 fixes the speaker ...
[Samsung Galaxy Alpha] Blubberor:
+1

Made outgoing call, played YouTube Video audio via speaker.

More to test over the day tomorrow
[Samsung Galaxy Alpha] Olangu:
EDIT:

Something strange have happened, I need to reflash my phone before I can test more...
[Samsung Galaxy Alpha] surfin-bobby:
For me test15 does not really work, when I press the speaker button in a call, sound still comes out from the earpiece but with a higher volume... So the speaker is not really switched on, do you also have this behavior?
[Samsung Galaxy Alpha] nuno.f.ferreira:
I'm sorry, that was my bad. I early tested test15 but was about to leave and in a hurry and it seemed at the time that it was speaker with low volume.

So I involuntarily misled modpunk and the bug is still there, albeit in a new form.
[Samsung Galaxy Alpha] Blubberor:
One bug that was also present in other builds.

When phone is in silence mode. Alarm sound is fine but no vibration - although activated. No super high priority, but would be nice if it works.
[Samsung Galaxy Alpha] surfin-bobby:
Can we reproduce this bug reliably? For me this vibration freeze problem is not predictable... I did not find a way to reproduce it although I have it too.
[Samsung Galaxy Alpha] modpunk:
test16 works for me and routes only get reset if really needed.
[Samsung Galaxy Alpha] surfin-bobby:
I can confirm it works as it should now. Thanks for the very good work and the fast updates, I am very happy with the audio now!!!
[Samsung Galaxy Alpha] Olangu:
test16 is good for me too, tested earpiece->speaker->earpiece->headset->earpiece. Have not tried the mics so far tho.

You probably want to package this as a new beta for the poor souls not following this thread.
[Samsung Galaxy Alpha] nuno.f.ferreira:
+1
[Samsung Galaxy Alpha] modpunk:
Not today, currently working on RIL stuff ...
[Samsung Galaxy Alpha] Blubberor:
+1

Bt music streaming, switching between audio modes...

Calls audio routing works. Tomorrow morning check alarm + vibration ;)
[Samsung Galaxy Alpha] modpunk:
Could someone with a STOCK ROM get me a logcat with sms broadcasting enabled ...

adb logcat -b radio
[Samsung Galaxy Alpha] Blubberor:
for me only vibration when the alarm rings does not work - sometimes i have the feeling the vibration is only very very light. Can somebody confirm?

Sound gets me up, but sometimes you want to have a silent alarm - especially when in public ;)
[Samsung Galaxy Alpha] surfin-bobby:
Yes the vibration problem is, I guess, global.

I haven't found a way to reproduce the bug reliably, have you?

Anyway, I did not find any information in the logcat between the working vibration and the buggy, low intermittent vibration... So I will keep searching.
[Samsung Galaxy Alpha] modpunk:
I don't know how you can increase the vibration. I will check cmhw ...

cmhw is looking for /sys/class/timed_output/vibrator/pwm_value but the kernel doesn't provide it ...
[Samsung Galaxy Alpha] Alberto96:
You need to patch kernel's vibrator driver.

https://github.com/GearCM/android_k...mmit/341559fef05c300fe53862b66fe3937a86ed1c59
[Samsung Galaxy Alpha] modpunk:
Ok,

frameworks/core/res/res/values/config.xml

has different vibrator patterns. They can be modified. Which is the problematic pattern for you?
[Samsung Galaxy Alpha] modpunk:
Ah nice, thanks!
[Samsung Galaxy Alpha] surfin-bobby:
All patterns are concerned when the problem occurs. Instead of the normal long vibration, there is only a minimal ticking happening. You can almost not feel it. This concerns all vibrations, when someone calls or email comes in or whatever. Sadly I don't know how to reproduce it...
[Samsung Galaxy Alpha] Olangu:
Had problems today while playing music over bluetooth. After about 30 mins the sound stops.
[Samsung Galaxy Alpha] Blubberor:
Not confirmed. Was 60 mins in the gym yesterday, was fine with soundcloud and BT streaming
[Samsung Galaxy Alpha] cell2011:
Is this tested for G850A AT&T?
[Samsung Galaxy Alpha] surfin-bobby:
For me BT streaming is still bad, it is often interrupted depending on CPU load, e.g. simple normal music streaming is almost fine but youtube is poor.
[Samsung Galaxy Alpha] modpunk:
I had this before and it was caused by an application. I had a Sky Map application which deregistered the bluetooth device every 2 seconds form the GATT service. So music streaming was interrupted every 2 seconds.
[Samsung Galaxy Alpha] cell2011:
Again can i test this on AT&T version?
[Samsung Galaxy Alpha] Blubberor:
Check the version before and related questions.

If you cannot figure this out by yourself i strongly recommend for you not to flash then.its nothing official and a lot of fixing.

But here the answer at&t is snapdragon so not working with exynos 5430

Best and dont get me wrong with the sentences above.
[Samsung Galaxy Alpha] cell2011:
Thanks im just new to this AT&T version phone and was hoping to find a rom for it but it looks like 5.0.2 is all im going to find.
[Samsung Galaxy Alpha] gabrielking9:
You can use apps like cpu z to detect if it is a exynos or snapdragon, if it is snapdragon, there's another development thread
[Samsung Galaxy Alpha] cell2011:
Its Snapdragon but can u send me a link to that thread please
[Samsung Galaxy Alpha] Blubberor:
I am not sure if there wasnÄt a firmware that has been able to open the bootloader. then you might be lucky with [MENTION=4861355]kyasu[/MENTION] 's new CM12.1 one for snapdragon Alphas...
[Samsung Galaxy Alpha] cell2011:
I just got this used phone but it wants me to take the 5.0.2 update but i want to be able to srs root and twrp. I have a SM -G850A i see the 12.1 rom youre talking about but thats G850W
[Samsung Galaxy Alpha] tileeq:
No root or any custom recovery/rom for the at&t version yet.

Sent from my SM-G850F
[Samsung Galaxy Alpha] cell2011:
No kidding? For a phone that came out in Sept 2014? I dont have my phone till Monday this week but for 89.00 not a bad deal for S801 ill stick with KK or update to 5.0.2 but i heard battery life problems wonder if i should stick with KK?
[Samsung Galaxy Alpha] tileeq:
Thats really all up to personal choice.

Sent from my SM-G850F
[Samsung Galaxy Alpha] modpunk:
Package Complete: cm-13-20151026-UNOFFICIAL-slte.zip

The first build succeeded at least, but I will not flash it.

A lot of CM features are not ported yet. I will wait till the most important ones are working. Then I will build a new version, flash it an fix the remaining issues ...
[Samsung Galaxy Alpha] cell2011:
Any way to do this build for the S801 model? This phone has just the 5.0.2 update as a rom i believe thats it. Dont know why. Is it diffuclt to root and recovery for Snap 801
[Samsung Galaxy Alpha] :
is there any way to download and flash this zip?

Gesendet von meinem SM-G850F mit Hilfe von XDA Forums Pro.
[Samsung Galaxy Alpha] Ashareth:
He said no, and it wasn't interesting, because too many of the "core" CM functionnalities aren't working yet. He is just posting in there to keep us informed of where he is at, and so we can help when needed (like when he need some id/logs or things like that from other roms/models or something).

Just wait till he has something he feels confident flashing on HIS phone, before asking for something to be made public. :D

Like with everything else, be patient, there is no reason to rush, because it's more problems than anything else, and it's counterproductive, it'll get done at some point, and he will make it public at that point, so people who knows how/want to try will be able to build and flash it.
[Samsung Galaxy Alpha] modpunk:
Theme support has been merged upstream but a lot of stuff is still missing.

Several features of the base framework are not there

ffmpeg support in stagefright isn't working (media codecs) (patches available for testing now)

Settings are not complete yet ...

I got a first version compiled and fixed a lot of bugs in the exynos code and in the device tree. However it doesn't make sense to flash it till it doesn't fully build without special patches. I guess the first working CM will be possible in the next two weeks.
[Samsung Galaxy Alpha] modpunk:
FFMPEG support is back in cm-13.0. PrivacyGuard (AppOps) patches are pending (most important feature for me ;))...
[Samsung Galaxy Alpha] modpunk:
PrivacyGuard patches have been merged. Settings bringup is pending but has a lot of conflicts and can't be merged right now. I'm waiting for the performance profiles commit ...

In the meantime I spent some time on the powerHAL and improved it ...
[Samsung Galaxy Alpha] modpunk:
Most important CyanogenMod features have been implemented now. [MENTION=3463426]RaymanFX[/MENTION] and I have started to backport exynos support for the frameworks to support the camera and media playback and recording.

I did not flash it yet. There are not GApps yet and it looks like the ROM needs a special patch that you are able to install gapps. If someone is interested, follow

https://github.com/opengapps/opengapps/issues/93
[Samsung Galaxy Alpha] omarmonajed:
Thanks for your work! However I've got a question: Did you find the fingerprint HAL?
[Samsung Galaxy Alpha] modpunk:
The question is which fingerprint sensor do we have on our device and is there an open source implementation for it ...
[Samsung Galaxy Alpha] omarmonajed:
Oh okay thanks for the info...
[Samsung Galaxy Alpha] Blubberor:
Opengapps issues are mostly solved. Need to patch the Rom to grant gapps proper permissions. :)
[Samsung Galaxy Alpha] modpunk:
I've flashed the first M ROM. It needs a lot of work:

SELinux need to be updated to version 30 in the kernel

The camera hal doesn't find a required symbol

audio_route segfaults parsing the XML file
[Samsung Galaxy Alpha] mejgs:
Is it more fluid than cm12.1?
[Samsung Galaxy Alpha] modpunk:
It doesn't boot.
[Samsung Galaxy Alpha] modpunk:
I really hope this works. Quite a patchset to get selinux working with M ...

asn@magrathea:~/workspace/projects/cyanogenmod/kernel/android_kernel_samsung_slte> git w
## TESTING...upstream/cm-13.0 [ahead 86]
[Samsung Galaxy Alpha] modpunk:
I've fixed the kernel and it boots with SELinux, but the camera hal is missing a symbold and the sensors hal segfaults while loading ...
[Samsung Galaxy Alpha] Ashareth:
Getting there it seems. ;)

Thanx for the hard work and keeping us informed.
[Samsung Galaxy Alpha] Francesco0301:
You are working for? Can u explain me some information about your work? Thanks! :D
[Samsung Galaxy Alpha] mejgs:
I hope we'll get the chance to try it out soon, can't wait....I'm sick of touchwiz :rolleyes:
[Samsung Galaxy Alpha] Ashareth:
CM13 won't get usable as a daily driver for quite some time on the Galaxy Alpha if it's anywhere close to the work it required to port CM12/12.1.... (and it'll probably be that or more).

But you can tryout Resurection Remix (CM12.1 based) or modpunk's CM12.1 roms if you want out of TouchWiz. Despite being developement/testing roms, they are stable and finished enough to be the daily driver for quite some people (modpunk's solved a few more quirks in network settings and bluetooth usage i think).
[Samsung Galaxy Alpha] modpunk:
Got sensors working, booting fails you have to delete the setting database. Then we run into a RIL bug sending PINs to the SIM, you have to enter the PUK to unlock. Google Play Services crash and the mediaserver segfaults because of stlport.

Some progress but still quite some work which needs to be done ....

[UPDATE: Looks like the settings database issue has just been fixed ...]
[Samsung Galaxy Alpha] Andraxo:
Top kek funniest comment in xda

---------- Post added at 02:44 AM ---------- Previous post was at 02:43 AM ----------

OMG o can't believe ur progressing thanks a lot for giving so much to our community without you this forum would look like a waste land
[Samsung Galaxy Alpha] :
HA HA
[Samsung Galaxy Alpha] modpunk:
I've found some time to work on CM-13.0. The Sensors work with a workaround now. The Camera HAL is also loading but it fails to find the camera ...

The big issue is that the SIM card asks for the PUK. Somehow Android sends 3 wrong PINs to the SIM card ....
[Samsung Galaxy Alpha] sunsettrack4:
Do you plan to update the sources on Cryptomilk for testing purposes? I'm unable to reproduce your problems without the ROM, I would compile the builds and try to help you...

Thanks for your work on CM13! :)
[Samsung Galaxy Alpha] modpunk:
See the TESTING branch ... in my slte repo ...
[Samsung Galaxy Alpha] modpunk:
WORKING NOW

It boots nicely now

Camera is working too now

STILL BROKEN

The system sends three invalid PIN entries to the radio, the lockscreen requests the PUK after boot

Wifi doesn't work
[Samsung Galaxy Alpha] modpunk:
Fix it and push patches upstream to cyanogenmod
[Samsung Galaxy Alpha] sunsettrack4:
This patch is missing in your code:

https://github.com/CyanogenMod/andr...mmit/affe79912d37e92371ad1c1c8e08a5dce7c0030b

Reference:

https://git.cryptomilk.org/projects...mon/Daemon/Server/NetlinkServer.cpp?h=cm-13.0
[Samsung Galaxy Alpha] shubham540:
Can anybody plz port AOSP ROM for Samsung Galaxy A8 (SM-A800F) [Exynos]

Same Chipset of both Alpha & A8, just camera, screen resolution and fingerprint sensors are different
[Samsung Galaxy Alpha] Beukhof1:
Any chance of you guys releasing a flash able zip?
[Samsung Galaxy Alpha] sunsettrack4:
This is my next error, it seems that a class is missing, but I don't know why...

host Executable: mkbootfs (/home/sunsettrack4/rr/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
/home/sunsettrack4/rr/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/sunsettrack4/rr/out/target/product/slte/obj/ETC/sepolicy_intermediates/policy.conf
[B]device/samsung/slte/sepolicy/rild.te:36:ERROR 'unknown class mnt_user_file' at token ';' on line 13838:
allow rild storage_file:lnk_file { { getattr open read ioctl lock } };
allow rild storage_file:mnt_user_file { { getattr open read ioctl lock } };
checkpolicy: error(s) encountered while parsing configuration[/B]
make: Zirkuläre Datei recovery <- /home/sunsettrack4/rr/out/target/product/slte/obj/EXECUTABLES/recovery_intermediates/recovery Abhängigkeit wird nicht verwendet.
make: Zirkuläre Datei recovery <- /home/sunsettrack4/rr/out/target/product/slte/recovery/root/sbin/recovery Abhängigkeit wird nicht verwendet.
external/sepolicy/Android.mk:85: recipe for target '/home/sunsettrack4/rr/out/target/product/slte/obj/ETC/sepolicy_intermediates/sepolicy' failed
make: *** [/home/sunsettrack4/rr/out/target/product/slte/obj/ETC/sepolicy_intermediates/sepolicy] Error 1
make: *** Auf noch nicht beendete Prozesse wird gewartet …