yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Alpha] modpunk:
The RIL code upstream has been updated to the latest RIL version. I've fixed some issues which are upstream now. It looks quite good. I hope to have time to look into more issues this week.

I do not provide ROMs to testers because I know what is broken. I do not need someone who tells me everyday to fix it. If I create a ROM I provide it to everyone or nobody. You are free to compile it for yourself. The source code is available for everyone ...
[Samsung Galaxy Alpha] modpunk:
It looks like I got h264 video decoding working now. Still some things don't work as expected. I'm also moving to cm-12.1 now.
[Samsung Galaxy Alpha] saxmydix:
Thats great man, currently using bonuzz crDroid rom as my daily usage. Quite good for me even there is several bugs. Keep the good work guys. We're lucky to have you guys develop something for our beast. All the best. Cheers.
[Samsung Galaxy Alpha] ihavenick:
Why you dont make public testing ?

for not upload 200 mb file or "Unstable" ?

If more people test it maybe more bugs can be reveal
[Samsung Galaxy Alpha] bonuzzz:
if you write about any bug, it doesn't mean it will be solved right away.

everyone wants to use firmware, almost everyone reports about bugs, but almost nobody doesn't solve that bugs.
[Samsung Galaxy Alpha] saxmydix:
Indeed, we lack numbers of dev. moreover, dev already known the bugs. let's just wait for stable release.
[Samsung Galaxy Alpha] ihavenick:
you are sure about it . ok .

I hope you finish without any trouble
[Samsung Galaxy Alpha] leripe:
There will be bugs even when they release it, you guys can help find them then. Just wait patiently or learn to compile the rom.
[Samsung Galaxy Alpha] Angelvoice:
May I ask if there is progress?
[Samsung Galaxy Alpha] Franciscormj:
So excitated to see this rom running on the Galaxy Alpha, I mean when this rom has been running ok, many others roms coud be createad such as MIUI - which is one of my favorites :victory:
[Samsung Galaxy Alpha] modpunk:
I would prefer if more people help fixing bugs instead of reporting them ...
[Samsung Galaxy Alpha] kidi:
Of course this would happen if you release an build, developers that know more than you would get to know the actual bugs and fix them for gods sake.. Its like you're trying to send a car for a repair without a car. (Cyanogenmod ROM's are released even when they are hella unstable, like when not even wifi is working..)

Best regards,

James
[Samsung Galaxy Alpha] modpunk:
Your comparsion is flawed! As a developer you need the source code to understand how things are working. This is essential. If you do not have the source you have a hard time understanding how things are working and need to do reverse engineering which is a painful and slow task.

Also if you try to fix a bug your need to compile the source code to test if your fix is correct. So the first step is to build the ROM on your own ...
[Samsung Galaxy Alpha] sunsettrack4:
How to compile Android from source

Device Tree - Samsung Galaxy Alpha

CyanogenMod Source
[Samsung Galaxy Alpha] Angelvoice:
you can say whether it will be released for download soon Rom? What are they for bugs listed?
[Samsung Galaxy Alpha] r_data:
I have a question, sir.

I have a Galaxy ALPHA (SM-G850S) Korea device. It's all the same, just different only one (modem chipset).

So, I build the your rom source, and port the my device but not normal boot...

(device status is top picture.)

don't connect adb, logcat, ... only get last_kmsg, but it is normal boot message...

I want your rom build zip, and help me sir...
[Samsung Galaxy Alpha] saxmydix:
i tried compile cm12.1 cant even get it working. stuck at boot, no splash screen. :(
[Samsung Galaxy Alpha] r_data:
Yes, me too... :confused:

you are g850f?

i'm g850s..
[Samsung Galaxy Alpha] sunsettrack4:
Did you run the following command?

repo sync -l

Otherwise, you have to grab the vendor files with an adb command (using slte and stock ROM).

./extract-files.sh
[Samsung Galaxy Alpha] r_data:
yes, I did extract-files.sh(vendor), and repo sync :)

but not normal boot... random bootloader, and black screen.
[Samsung Galaxy Alpha] Angelvoice:
Is there already something about it when the CM 12 can use ?
[Samsung Galaxy Alpha] sunsettrack4:
I have other problems, my PC isn't able to compile the ROM due to an annoying error, affecting the make_ext4fs.c file and undefined LZ4 references...

target StaticExecutable: updater (/home/sunsettrack4/cm12/out/target/product/slte/obj/EXECUTABLES/updater_intermediates/LINKED/updater)
system/extras/ext4_utils/make_ext4fs.c:229: error: undefined reference to 'LZ4_compressBound'
system/extras/ext4_utils/make_ext4fs.c:252: error: undefined reference to 'LZ4_compressHC'
collect2: error: ld returned 1 exit status
build/core/executable_internal.mk:66: recipe for target '/home/sunsettrack4/cm12/out/target/product/slte/obj/EXECUTABLES/updater_intermediates/LINKED/updater' failed
make: *** [/home/sunsettrack4/cm12/out/target/product/slte/obj/EXECUTABLES/updater_intermediates/LINKED/updater] Error 1
make: *** Warte auf noch nicht beendete Prozesse...

#### make failed to build some targets (03:45:09 (hh:mm:ss)) ####
[Samsung Galaxy Alpha] r_data:
termianl rom path: /system/extras

git revert c98abe03be9a2ce772ce705655783bdf4beb8425

git revert 3ba17afa88e3380c8108de666f9e7b3fb5ee6484

copy, paste and enter.

---

and this source has broken.. maybe..?
[Samsung Galaxy Alpha] saxmydix:
refer here http://xdaforums.com/showthread.php?t=1798056&page=577
[Samsung Galaxy Alpha] modpunk:
The correct way to fix this is simply linking against liblz4 ...

From d5e318983e2424b55d7dffe0d8278f90fd8f8b47 Mon Sep 17 00:00:00 2001
From: Andreas Schneider <asn@cryptomilk.org>
Date: Thu, 23 Apr 2015 07:43:30 +0200
Subject: [PATCH] updater: libext4_utils requires linking against lz4

Change-Id: Ib1a564c1a1003aebd0bde88a1ad1c2711fca4ffd
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
---
updater/Android.mk | 3 +++
1 file changed, 3 insertions(+)

diff --git a/updater/Android.mk b/updater/Android.mk
index 0045d6f..65d362e 100644
--- a/updater/Android.mk
+++ b/updater/Android.mk
@@ -25,17 +25,20 @@ LOCAL_CFLAGS += -Wno-unused-parameter
LOCAL_C_INCLUDES += system/extras/ext4_utils
LOCAL_STATIC_LIBRARIES += \
libext4_utils \
+ liblz4-static \
libz
ifneq ($(wildcard system/core/libmincrypt/rsa_e_3.c),)
LOCAL_STATIC_LIBRARIES = \
libext4_utils_static \
libsparse_static \
+ liblz4-static \
libz
endif
ifneq ($(wildcard system/core/include/mincrypt/sha256.h),)
LOCAL_STATIC_LIBRARIES = \
libext4_utils_static \
libsparse_static \
+ liblz4-static \
libz
endif
endif
--
2.3.5

Copy the patch and put it into a file e.g. fix_updater.patch. Then call

cd bootable/recovery
git am path/to/fix_updater.patch
[Samsung Galaxy Alpha] sephkateno:
Just dropped to say hi i own a galaxy note 4 exynos and we over at the original development just had a breakthrough the devs there are working hard on bringing a cm12 rom at our phone and they may just found a way maybe they could be of some assistance to you at this point they just reverse engineered a ril don't know much about the technicals but just wanted to point out a possible solution either for you or maybe even them i don't know our devices more or less share the same hardware. See ya mate!
[Samsung Galaxy Alpha] modpunk:
I think the Note 4 doesn't have a Intel XMM modem. I've just reverse engineered some parts of the library code the libril from the Samsung hardware repo for XMM was not correct. However as the exynos code is mostly the same, we could create a common exynos543x repo and share some code.
[Samsung Galaxy Alpha] toms95:
It indeed have different modem.... but you can look for other similar parts and get help from note 4 devs. http://www.techinsights.com/teardown.com/samsung-note-4-galaxy-alpha/
[Samsung Galaxy Alpha] modpunk:
Ah it is RaymanFX, I'm already in contact with him since quite some time. I guess the note4 is mostly based on my work.
[Samsung Galaxy Alpha] aceman2013:
Please, help me. Until compiling this ROM, i get the following error:

This appears, after i revert ext4_fs... What does it mean?
[Samsung Galaxy Alpha] modpunk:
http://xdaforums.com/showpost.php?p=58041411&postcount=89
[Samsung Galaxy Alpha] sunsettrack4:
Thanks man, that was my next question! I hope that all errors are fixed from now on...
[Samsung Galaxy Alpha] aceman2013:
Now, i've a next question...

Is the unkown option good or bad for the build. I saw it sometimes.
[Samsung Galaxy Alpha] sunsettrack4:
Deleted
[Samsung Galaxy Alpha] qkdxorjs1002:
Just ignore that.

those are fstab options for recovery, not for rom.
[Samsung Galaxy Alpha] aceman2013:
When I run extract-files.sh, I get the message: bin/gpsd and bin/exyrngd permission denied.

I've now copied directly from the phone. Is that okay?

After building the ROM, i get the posted (blue) picture before.
[Samsung Galaxy Alpha] sunsettrack4:
I got the same error, the root permissions of these files make it impossible to copy gpsd and exyrngd directly from the phone. I copied them manually, too - that should be just fine.

Which picture do you mean? Did you run the building process with VirtualBox (Windows)?
[Samsung Galaxy Alpha] aceman2013:
I mean the picture from post #62 and i don't use virtualbox/windows.
[Samsung Galaxy Alpha] Angelvoice:
May soon the Rom published?
[Samsung Galaxy Alpha] sunsettrack4:
The devices aren't able to boot into the CM system correctly, I don't expect that the dev will publish the ROM in near future. Have patience, please - or compile the ROM on your own.
[Samsung Galaxy Alpha] Angelvoice:
Can you tell what it is, it will boot flawed yet? Have the same problem.
[Samsung Galaxy Alpha] aceman2013:
While I run the command "make -j5 bacon", I get an error from make. There can be no rule for Target vendor/samsung/slte/proprietary/vendor/firmware/BT_FW_VER_BCM4354_003.001.012.0239.0473_S_LTE_B80_ORC_IncTxPwr1p5dB.hcd being found.

Anyone has the same problem and a solution?
[Samsung Galaxy Alpha] sunsettrack4:
For your information, the official 5.0 update is out now in South Korea (G850S). Brace yourselves, the update for international device versions should be released in the next weeks. ;)

Maybe the new sources (vendor, kernel) could help us to get CM12 working again on our Alpha. :D

http://www.sammobile.com/2015/04/27...g850-getting-the-android-5-0-lollipop-update/
[Samsung Galaxy Alpha] qkdxorjs1002:
Refer to this commit to fix stuck on blackscreen when it boot. (EGL_BAD_DISPLAY)

See property options of device_slteskt.mk (DO NOT EDIT DPI VALUE)

https://github.com/qkdxorjs1002/and...mmit/f2099fc69ae7b4bf91b26544e9bb8dd30488c60f

https://github.com/qkdxorjs1002/and...69ae7b4bf91b26544e9bb8dd30488c60f/system.prop
[Samsung Galaxy Alpha] sunsettrack4:
Can this fix also be used for G850F devices?
[Samsung Galaxy Alpha] qkdxorjs1002:
Of course :)
[Samsung Galaxy Alpha] modpunk:
You need to binary edit the mali graphics driver and replace libgui.so with libui.so
[Samsung Galaxy Alpha] qkdxorjs1002:
Already i tested it with updated mali driver(from Lollipop). see my proprietary repository
[Samsung Galaxy Alpha] Angelvoice:
Is there any progress in the development?
[Samsung Galaxy Alpha] leripe:
You can follow the progress from the first post and from https://git.cryptomilk.org/projects/android/android_device_samsung_slte.git/log/?h=cm-12.1

Asking for progress is pretty much the same as asking about ETA.
[Samsung Galaxy Alpha] :
can anyone give me the rom as a flashable zip please?
[Samsung Galaxy Alpha] sunsettrack4:
Nobody will give you a ZIP file until the system builds get a stable status. Don't ask for ETA - and a cross posting also doesn't change the situation. Be patient, please...
[Samsung Galaxy Alpha] Angelvoice:
Here's someone already progressed with the bootloop and the statue? Have the same problem. Runs the Rom with someone?
[Samsung Galaxy Alpha] modpunk:
I've already told you, see post #94 above.
[Samsung Galaxy Alpha] modpunk:
Hello,

several people donated money for the development some time ago. Thank you very much again for that. I've bought Hopper a dissassembler which is a very helpful tool. The rest of the money I didn't know what to do with it yet. Probably using it for running my infrastructure or buying other useful software for development.

However I've donated $50 of that money to Nepal now. I hope you're ok with that. I have a friend who currently lives there and is helping to get supplies to remote villages which do not get any help yet. I know that the money is really going to the people who need help there because I have a friend who lives in Kathmandu currently. He rides with the guys and will also participate once he recovers. You can find more information here:

http://nepalcyclistsridetorescue.blogspot.de/

I will send more money from my personal bank account.
[Samsung Galaxy Alpha] modpunk:
I'm currently working on selinux policy rules. This takes some time cause you fix one and another pops up :)
[Samsung Galaxy Alpha] lololololol:
Well as long as somebody is workin on that **** im happy.

Cant stand the lack of alpha custom roms. real pity...

Its my first contact with touchwiz and i just cant believe how pathetic and nonsensical it is to develop such...thing.

Keep up the work we really appreciate it! :good::good:

Thank you ;)
[Samsung Galaxy Alpha] modpunk:
I think I got video decoding working now. I hope that the last selinux issus will be fixed soon too.
[Samsung Galaxy Alpha] Angelvoice:
Thank you for the work.Sent from my SM-G850F using XDA Free mobile app
[Samsung Galaxy Alpha] modpunk:
Ok, we are a few steps further:

* MTP is working

* USB Storage with a USB OTG cable is working

* I've added a lot of selinux rules, so we can switch to enforcing mode soon

Video decoding and encoding is still not working :(
[Samsung Galaxy Alpha] bonuzzz:
you forgot to add nfc. I have working nfc (see my config). I disable it in tested builds because it writes a lot to logcat.
[Samsung Galaxy Alpha] Franciscormj:
So it's closer than ever *-*
[Samsung Galaxy Alpha] modpunk:
I have to prepare talks for a conference next week, then I'm at a conference and on vacation afterwards. I will release a ROM when I'm back, this means mid June ...
[Samsung Galaxy Alpha] sunsettrack4:
That's great! Would you also update your git repo with the latest fixes?
[Samsung Galaxy Alpha] Ashareth:
I'm pretty much with you on that. Hadn't had a TouchWiz rom in my hands since the S3 or S4... and that was only the time to root/unlock it and flash another rom on it for a friend :D, and i can't believe the crap it is.

It makes MotoBlur of old looks like great and performing roms without bloatware. :(

I'm really happy to know there is people motivated enough to work on CM ports right now, can't wait to be able to test it.

Keep up the good work. ;)
[Samsung Galaxy Alpha] sunsettrack4:
Did anyone compile this ROM successfully? Can anyone confirm issues with WiFi connectivity? It seems that the device is unable to connect to WPA protected networks... :(
[Samsung Galaxy Alpha] modpunk:
Samsung released the Kernel sources for Lollipop. I'm not sure if I have time to update before my vacation.
[Samsung Galaxy Alpha] sphazer:
Patiently waiting.
[Samsung Galaxy Alpha] lololololol:
Same here.

Take your time.

BUT GET ON WITH IT ALREADY!!

kidding...

I can spot big donations comin in already ;)
[Samsung Galaxy Alpha] line____:
thx for your job men :)....when we can try it .... agune thanx a lot
[Samsung Galaxy Alpha] cjvzla:
Hi, i was wondering, why isn´t anybody messing with the snapdragon (G850a) variants of this phone? isn´t snapdragon more popular than dealing with exynos? just wondering since i plan on getting the international version wich the snapdragon variant...
[Samsung Galaxy Alpha] gabrielking9:
As far as i know, international version is the exynos one not snapdragon
[Samsung Galaxy Alpha] Franciscormj:
I hope you have it !
[Samsung Galaxy Alpha] faldo:
I'm hovering over the donate-button Modpunk ;)
[Samsung Galaxy Alpha] kitakami:
i have lz4 error too

i'm also g850s user too, and i'm trying to build cm12.1 with NOVANG's source. but i have lz4 ~ error and do what you told

git revert~ but now, i have this error. how can i fix this error?

kitakami@kitakami:~/cm12$ make -j8 bacon

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=5.1.1

CM_VERSION=12.1-20150517-UNOFFICIAL-slteskt

TARGET_PRODUCT=cm_slteskt

TARGET_BUILD_VARIANT=eng

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=cortex-a15

TARGET_2ND_ARCH=

TARGET_2ND_ARCH_VARIANT=

TARGET_2ND_CPU_VARIANT=

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.16.0-37-generic-x86_64-with-Ubuntu-14.04-trusty

HOST_BUILD_TYPE=release

BUILD_ID=LMY47V

OUT_DIR=/home/kitakami/cm12/out

============================================

Checking build tools versions...

"ebtables is disabled on this build"

find: `dummy': 그런 파일이나 디렉터리가 없습니다

system/extras/ext4_utils/Android.mk:33: *** 분리기호 이(가) 빠졌음. 멈춤.

#### make failed to build some targets (01:23 (mm:ss)) ####
[Samsung Galaxy Alpha] qkdxorjs1002:
See post #71
[Samsung Galaxy Alpha] sphazer:
I'm thinking of trading my Alpha with a S5.i don't know what to do,you guys think we will ever see CM on this device?
[Samsung Galaxy Alpha] lololololol:
Read the thread.

Patience u must have, young Padawan.

;)
[Samsung Galaxy Alpha] sphazer:
Ok then i'll wait...master jedi
[Samsung Galaxy Alpha] modpunk:
I've created a kernel with the Lollipop device tree, but it doesn't build. It could be the an issue of the device tree blob ...

I do not have time to look into that, I will look into it in June ...
[Samsung Galaxy Alpha] sphazer:
Good to see some progress :)
[Samsung Galaxy Alpha] :
M,

hi what do mean it won't build ? can i see your log and working source?

thanks

m
[Samsung Galaxy Alpha] sunsettrack4:
He isn't able to compile a working build with his sources (git: see post #1), because the kernel updates aren't compatible with the device tree. I'll try to compile a ROM again at this evening...

I think that the device wouldn't boot with the updated kernel (--> black screen).
[Samsung Galaxy Alpha] :
S,

hi,

while i certainly appreciate your response my question was meant for the OP specifically as he/she contains the first hand knowledge of the issue. I do not own this device but, i do like developing blind for all the things i learn from the experience. You would be a big help

if you could post the default.prop, build.prop and if rooted could you install parted or run from adb shell in recovery

parted /dev/block/mmcblk0

and then at the prompt (parted)

print all

and lastly the model id?

thanks.

m
[Samsung Galaxy Alpha] sunsettrack4:
I compiled the ROM successfully, but the ROM doesn't boot on my device.

I could post default.prop and build.prop, but I can't get parted command working because TWRP doesn't support ADB on slte. Are you able to work with these two files?

Model ID is SM-G850F
[Samsung Galaxy Alpha] :
OK neat, let me get the source downloaded, you have root on your stock rom? i need the stock boot and recovery imgs

here is static parted binary, unzip dump in xbin chmod 755 and run, you can ditch it afterward

https://www.androidfilehost.com/?fid=23991606952606321

did you disable samsung anti-root in kernel hacking?

would you be opposed to a philz touch recovery build? if there's one available for your device use that one for now

i always use philz and never get adb issues.

when you boot your build do you get any pick up when plug into pc ?

and if so when you run adb shell do you get an exec error because adb can't find /system/bin/sh or /sbin/sh ?

also try using [MENTION=4544860]osm0sis[/MENTION] 's AIK toolkit to unpack the cm12 boot.img and do some comparison with the stock boot.img

http://xdaforums.com/showthread.php?t=2073775

i have had issues with something screwing up in init.qcom.rc, for a qcom device i'm building for

you might want to try the rc from stock instead of common sources [mount issues, no internal storage, dalvik dies] or ar you kicking straight to download/odin/fastboot mode when you boot?

lastly can you link me to your device tree? meaning the one you're using right now, so we're on the same sheet of music?

thanks

m

[MENTION=5623053]sunsettrack4[/MENTION]

opensource has ll source posted if you don't have it

SM-G850F	G850FXXU2COD4	SM-G850F_EUR_LL_Opensource.zip

http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=SM-G850F
[Samsung Galaxy Alpha] sunsettrack4:
[MENTION=5864662]moonbutt74[/MENTION]

I'm using this device tree: https://git.cryptomilk.org/projects/android/android_device_samsung_slte.git/tree/?h=cm-12.1

You can also find the other source codes for hardware and kernel there: https://git.cryptomilk.org/

Philz isn't available for slte. My PC doesn't recognize the device during the booting process.

I took build.prop, default.prop and boot.img from my CM12.1 build and uploaded these files here.
[Samsung Galaxy Alpha] :
S,

hi can you provide the stock boot.img and stock recovery.img [if you still have it] from the stock/factory state/rom of the device ?

i also need vendor files, vendor/samsung/slte ?

i have the milk kernel dev-tre and common source, i also have the ll release of kernel source i mentioned previously.

thanks,

off the top from what i see, unless you corrected the defconfig is loadable module support is not enabled ! that's a biggie.

samsung anti-root is nullified good. you should enable /proc/config.gz support, should you get a winning build and then lose your source you will be able to retrieve the working defconfig from that archive. I can attempt a philz build for this device, i've built a rom for an exynos device before, i will be working through bliss pop build system.

m
[Samsung Galaxy Alpha] modpunk:
I do not see what your issue is. The kernel source and the config for the kernel has been released. You need a device tree blob to boot the kernel, but it doesn't boot. Either something is wrong in the kernel or the device tree blob doesn't match. I've built the dtb from the sources but you need to create a special image with a dtb header for exynos. I haven't had time to finish the time ...

I do not see how the stock boot image could help to compile the kernel from sources at this point.

Btw. adb works just fine in the recovery. Just use the recovery from the official twrp site. If you compile it on your own, then you need certain changes to the source tree to get adb correctly set up with twrp and turn of selinux.
[Samsung Galaxy Alpha] sunsettrack4:
[MENTION=4297219]modpunk[/MENTION]

Strange, I'm using official TWRP recovery (2.8.1.1), but the command "adb devices" shows

?????????? no permissions

Maybe my CM12.1 build already installed the "other" TWRP version automatically...
[Samsung Galaxy Alpha] :
M,

hi, i work in a way that works for me, it's as simple as that. On the dtb what about trying the concatenated zimage-dtb option ?

As i noted previously, when running menuconfig with the supplied defconfig, referred to in boardconfig, loadable module support was not enabled,

I still need the stock boot.img and stock recovery.img.

On generating the dtb image correctly, what was your approach/fix ? Would you kindly post that information ? nvm found it.

thanks

m
[Samsung Galaxy Alpha] modpunk:
There is no kernel module built so why should it need module support?

make dtbs, see make help ... you still need to create a dtb image with header information using mkdtbhbootimage ...
[Samsung Galaxy Alpha] :
M,

okay neat, so just to cover the approach, i'll need to build out the kernel/dtbs, then use mkdtbhbootimage, that's ketut's tool right?

then use the kernel binary and dtb.img as prebuilts in device tree since going though mka bootimage through cm12 fails at the dtb portion of the

build ?

m

Wow that's so weird not having modules. It's the first time i've ever seen that. or not seen that actually xD