yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
I'm really going to wait on that because I'm not too sure about it quite yet. Open source audio might take some coding skills I don't have yet. Also libMali.so was not missing??

https://github.com/TeamRegular/andr...dalte/blob/cm-11.0/proprietary/lib/libMali.so
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] @root@:
sorry, I thought it was not there.

audio.primary.$(TARGET_BOOTLOADER_BOARD_NAME) is generated by the same code in many Samsung devices.

Android.mk
audio_hw.c
audio_hw.h
ril_interface.c
ril_interface.h

https://github.com/CyanogenMod/android_device_samsung_i9300/tree/cm-10.2/audio

It might work.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
For now let's disable audio I'm going to remove all prebuilt samsung audio files and began open source audio. I will probably base it from manta.

I've also attached libmedia with the wfd service symbol added to cm code https://github.com/cm-gardalte/android_frameworks_av/commit/3400f1f9ad69bfeb4ced169f5a224338cb2ec7d6 it's not full support for it but just enough to get the symbol when compiled. This should hopefully fix all the crashes you had. Camera module has been fixed but that requires a full build to fix the issue it had loading.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] @root@:
Great,it is Fixed. :good:

You should ignore WFD service for now since it is useless without wifi

D/CommandListener( 1851): Setting iface cfg

D/CommandListener( 1851): Trying to bring down wlan0

I/wpa_supplicant( 3128): Successfully initialized wpa_supplicant

I/wpa_supplicant( 3128): rfkill: Cannot open RFKILL control device

E/WifiMonitor( 2235): startMonitor called with unknown iface=wlan0

E/wpa_supplicant( 3128): Could not set interface wlan0 flags (UP): [B]Operation not permitted[/B]

E/wpa_supplicant( 3128): nl80211: Could not set interface 'wlan0' UP

E/wpa_supplicant( 3128): wlan0: Failed to initialize driver interface

Again, a permission' problem !! RFKILL (I might try to turn on wlan0 in init.rc)

Bluetooth -> working

PTP -> working

Video Players --> of course not coz sound is not working

Torch(cam light) --> not working

camera -> not working (used cameraZoom)

I will try it with my sim card.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
Could I get a full logcat and kmsg ? Make sure the kmsg is taken trying to start wifi. I have a new build here the audio file that failed boot is not implemented it has the supposed camera fix and has the symbol fix for hwcomposer

https://www.androidfilehost.com/?fid=95784891001605707
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] @root@:
I will install the new build and post kmsg.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] xiton:
Love when you guys are working like mad. Thanks so much!
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] @root@:
Sadly, the same result:

Sound:

dlopen failed: could not load library "libsamsungRecord_ns.so" needed by "audio.primary.universal3470.so"; caused by could not load library "lib_DNSe_NRSS_ver226.so" needed by "libsamsungRecord_ns.so"; caused by library "lib_DNSe_NRSS_ver226.so" not found

&&

[ 5.788582] 1 init: property 'ro.product.model' doesn't exist while expanding '${ro.product.model}'
[ 5.788794] 1 init: cannot expand '${ro.product.model}' while writing to '/sys/class/android_usb/android0/iProduct'
[ 5.796954] 1 init: service 'console' requires console
[ 5.840305] 1 android_usb: already disabled
[ 6.381336] 1 init: sys_prop: permission denied uid:1013 name:persist.audio.mpseek
[ 6.381884] 1 init: sys_prop: permission denied uid:1013 name:persist.audio.stereospeaker
[ 6.382266] 1 init: sys_prop: permission denied uid:1013 name:persist.audio.uhqa
[ 6.382702] 1 init: sys_prop: permission denied uid:1013 name:persist.audio.mysound
[ 6.383146] 1 init: sys_prop: permission denied uid:1013 name:persist.audio.soundalivefxsec

Wifi

I/wpa_supplicant( 3164): rfkill: Cannot open RFKILL control device

Camera

E/HAL ( 1859): load: module=/vendor/lib/hw/camera.vendor.universal3470.so

E/HAL ( 1859): dlopen failed: cannot locate symbol "_ZN7android16CameraParameters15KEY_KIDS_CAMERAE" referenced by "camera.vendor.universal3470.so"...

KEY_KIDS_CAMERAE ?? what for ?

NFC

E/NFCJNI ( 2445): Could not open pn544 hw_module.
W/NfcService( 2445): Error enabling NFC
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
Ahhhh the camera is going to be annoying if that's not the only symbol it's missing. I'll take a look in the device tree. I've implemented or attempted open source nfc somehow samsung nxp supports 547 and googles only supports 544 so I switched to nfc nci with hce support. I'm going to pm you my email address and we can get camera loading if possible it's one file libcamera_client and it builds pretty fast about 5 mins here.

It requires something like this

https://github.com/cm-gardalte/android_frameworks_av/commit/a354fa022d82e1d6d1331d3f363d0c5bdf63b1ed

Attached new libcamera_client keeps the symbols coming :)

Also please push the bad audio file and provide a logcat I have an idea on how to bypass the uid error
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] md1008:
I have a galaxy light as a back up nothing to lose in running a rom or any other test you would like. I would love to test builds when they are ready
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Planterz:
Likewise. I've got 2 other phones, so I can do testing on my Light without fear of screwing it up.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] @root@:
One more

METERING_MATRIXE

E/HAL ( 1858): dlopen failed: cannot locate symbol "_ZN7android16CameraParameters15METERING_MATRIXE" referenced by "camera.vendor.universal3470.so"...
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
From looking at my commit do you think you could continue to add missing parameters to build the file it's a simple make libcamera_client after you lunched cm_gardalte-userdebug I've included a local_manifest on the same github organization

There are tons of symbols and since you have the device it may shorten the times I have to build and post new file

https://github.com/cm-gardalte/android_frameworks_av/commit/088d48746683765929c91449a6c7f408f439622e

You can use wxhexeditor to open the stock libcamera_client when a symbol is missing

_ZN7android16CameraParameters15METERING_MATRIXE

In between the number and the E at the end is the symbol to add which you've identified now.

You can search metering in the editor and the name metering will come up that goes in the ""

Another symbol I randomly found was

KEY_FACTORY_RTC_MANUALLY_TIME

if you search rtc you will find text to match the parameter that will go in the ""

const char CameraParameters::KEY_FACTORY_RTC_MANUALLY_TIME[] = "factory-rtc-manually-time";

You'll have to do this until you satisfied all missing symbols.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] josh2020glacier:
I cant wait for the day we have cyanogenmod eorking for our phone that would open so many windows for other roms... hints hints miui for example would be the first thing i port. Already ported few times for different phones. I have a stable copy over in the htc ruby section def would love it for this phone. O man i cant wait..............keep up the good hard work devs it will pay off in the long run. They say if there is a will then theres a way ya dig.:sly::D:p;):):cool::beer::beer::beer::beer:

Thank you for all your hard work so far and what is to come. If you need help testing just holla at ya boy.

TEAM US!
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
You have to add it to source like I did and lunch gardalte device and type make libcamera_client you can't hex edit and add it. There's no memory for extra symbols once it's compiled if you add extra it will break the file. What symbol appeared when you pushed my libcamera_client
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] xiton:
You guys are doing an excellent job of troubleshooting. Is there any way I or others here can help? I know we're all anxious to get this working, so I figure I can offer assistance if it might help things along.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] tazmaniondvl:
Hey hows the rom coming? Anything I can do to help let me know, off till Thursday
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] macaumen:
Can't wait for the rom to arrive. Great job!
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] xiton:
Is this the only development going on for our device right now? I'm getting nervous about everyone's absence!
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
I came to a stand point for now. I will pick back up in a week or so.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] spindizy:
Just got one of these, soo.... *bump* ?
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] xiton:
How are things looking?
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
Well I just got back from MetroPCS ;) I'll let you decide what I picked up.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
Camera and wifi fixed :)

edit: Audio is working but calls do not work only data.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] vjgrace:
awesome you got a light, it is an amazing phone at such a great price point (shoot i believe it was on sale this past week for 50, that is actually what i bought it for a couple mos ago when there was another sale). this phone has the best battery life i have ever seen, amazing.

thanks for your hard work on this cm, it is very appreciated.

wondering if you can upload the stock kk recovery image, no one has it that i have contacted and twrp breaks miracast for some reason.

i am still running tmobiles jb because sammobile has yet to upload metros kk rom.

thanks again :)
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Planterz:
Seriously?
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] vjgrace:
yep, at least for me...i have had multiple devices and this one i've completely debloated (running tmobile's jb) and i have also been using the galaxy s3 battery consistently since the first week. all dependent on usage of course (wifi, data, calls, sms, etc) but have screenshots of display up to 10 hours (typical usage 8 hours display time)...i have never experienced this with any other smartphone before on a single charge.

heavy use during the day (toggling data/wifi), airplane at sleep. works for me.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] johncro13:
I switched to the 3GB 4G data only plan and I'm using Google Hangouts Dialer for calls and texts. I'll tell ya, it works like a charm and saves me some cash.

For as little as I use the phone, I'm really starting to hate how slowly it responds. I can't tell you how eager I am to have TW off this device as soon as possible.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Planterz:
I forgot about you using the S3's battery. Extra 300mAh. I'm not saying my battery life sucks, but I wouldn't consider it exactly impressive either. But then my previous phone was a Droid Razr Maxx. I guess the Galaxy Light's battery's definitely better than my Nexus 4.

I should work on debloating mine. About all I've done so far is freeze Lookout. I should play around with Greenify and Wakelock detector too. Definitely need to Greenify the T-Mobile account app. I don't need to be alerted every day about the Galaxy S5 or the personal cell spot, damnit. I just want to check my data usage and pay my bill.

I'm excited for when a first public build for Cyanogen gets uploaded. Hell, I'd be happy if this thing ever gets updated to KK or even 5.0 (we can dream, right?), although I'd probably stick with KK so I can use Xposed to clean up the mess that is TouchWiz. TouchWiz reminds me of Tammy Fae Bakker's face. CM on this phone would simply be the dog's bollocks. Despite owning the much better Nexus 4, I still carry and use this phone a lot because the small size is often convenient, and the "inferior" 5.0MP camera takes much better pics than the 8.0MP camera on the Nexus 4.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] vjgrace:
ya the droid maxx battery was a beast!

would be sweet if CM worked out for this device...agree that the form factor is definitely convenient. TW definitely impacts functionality/performance; I have literally stripped this rom to barebones to make it work for me.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
I must say that cm is way faster than stock. I will release an alpha build this weekend hopefully by then I will have calling and microphone fixed. So far those are the major bugs not including nfc. Once those are done moving to 5.0 is a breeze.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] M3gaBit3:
OMFG LMAO!! Classic analogy and showing our age. :laugh:

It's Xmas time you XDA zombies. Hope some of us are willing to shell out some donations the efforts for Unjustified Dev and @root@ for their hard work.:good:
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
Couldn't help but tease
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] josh2020glacier:
Not funny lol
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
LOL I'm releasing the next build.

Camera doesn't save photos

No wifi

Random reboots * have to disable screen timeout because pressing power results in a reboot

No NFC

SIM is tricky it works sometimes and I did make a call

No microphone as of yet.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] vjgrace:
man, that looks hopeful...thanks for your hard work
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] AkiroX:
I'm holding off on buying a new phone just for you, sir. X3

Please make this happen.. This is just.. Yes yes.. All of my yes.. <3
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Planterz:
Awesome! But are you still doing the 4.4.4 build, or have you switched to 5.0? I'll be ecstatic either way to get CM on this phone, but given the choice, I'd personally prefer 4.4.4, obviously so I can use Xposed. Granted, I use Xposed on my T399 mainly to clean up TouchWiz, but there's still some modules that give some important functionality that I enjoy. Of course, I wouldn't say "no" to having both.:D Either way, I'm committed to donate.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
Honestly I plan on sticking to 5.0 but the cm is not my ROM. I don't plan on maintaining it. I will move to VanirAOSP after I get some more things fixed. It has more features and uses cm as a base that way I don't have to use xposed for anything. If I had a faster computer I wouldn't mind doing both it takes me 4 hours to build
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Planterz:
Ah, right. Derp.

Nice.:good:
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] josh2020glacier:
Man if you were close by to me i would give u this extra ASUS desktop i got just for contribute. If your close to maryland i got u
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] AkiroX:
I ordered this phone anyways. You give me hope, sir. X3

I cannot wait for CM~ You're doing a great job. Do you have some kind of donate thingy? Can I buy you a beer or two? :pp I'm really stoked for what you have so far!

Edit: Yes you do, as soon asI cash in my check you have a few beers, my pay. XP
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] josh2020glacier:
Just got done tryin ur 11/02 biuld 4.4.4 cyanogenmod. Man it is a big diference so much lighter then stock rom. Now i just teased myself. Lol cant wait til u grt 5.0 out for us. THANKYOU SO MUCH UNJUSTIFIED DEV for all ur hard work. I predict donations coming ur way for sure. thanks again

BY THE WAY IF U NEED A TESTER THAT IS EXPERIENCED then im ur guy. Im not afraid to brick. Just P.M me with whatever you got tell what it is and instruction and ill flash away.

Ima falshaholic and im going through with draw lol

TEAM US!

rockin t399 on metro pcs KITKAT YYUUUPPP
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Planterz:
I tried to flash and got the following:

[color=red]FAILED[/color]

Updating partition details...
Installing '/external_sd/TWRP/cm-1120141102-UNOFFICIAL-gardlte.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
This package is for device: gardalite: this device is gardaltemo.
E:Eeror executing updater binary in zip '/external_sd/TWRP/cm-1120141102-UNOFFICIAL-gardlte.zip'
Eeror flashing zip '/external_sd/TWRP/cm-1120141102-UNOFFICIAL-gardlte.zip'
Updating partition details...

My phone is the T-Mobile, I wipe data, system, dalvik,and cache, and I'm using TWRP 2.7.1.0.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] msnuser111:
Tomorrow after work I'm going to throw some drives in my desktop for a striped raid and set up a buildbox, once I have everything synced I'll be able to start building to hopefully get bugs worked out/fixes tested faster. I'm not too sure on how much I can help with actually fixing anything but I have an fx6300, 4gb of ram and a bunch of hard drives, all sitting here doing nothing and it should be able to build in under an hour.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
My builds are unified using the unified installation you would see on s3 , s4 , and quite a few other devices. On installation the device changes from the default gardalte until either gardalteMetroPCS or gardaltetmo based on your bootloader. You would have to use my unified twrp recovery.

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

You can flash this in recovery
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Planterz:
:good::good::good::good::good::good::good::good:

Never thought I'd see the day!

Obviously this is an early build, and I've only been testing it for a few minutes, but 2 things I've noticed, both Samsung-specific:

Home button doesn't turn screen on.

Screenshot buttons are Android default (power+vol down) rather than Samsung's typical power+home.

The screenshot buttons are no big deal, but the Home button would be kinda essential for those off us who are accustomed to using it to turn on the home screen.

A month ago I had almost given up hope for anything but 4.2.2 stock for this phone. If I weren't broke as hell (just switched jobs, lost a couple weeks wages), I'd donate right now, if only because I could take some screenshots.

Thanks for your hard work, guys!
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
Here's cyanogenmod 12. This is only a preview please make a backup first.

NOT WORKING!!

* NFC This will probably never be fixed due to samsung implementation same issue with devices using the firmware

* WIFI Fixed in the next build

* DATA

* CALLING

* MIC Fixed in next build

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

Make sure your using my twrp. You can flash the installation zip in your current twrp recovery.

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

After booting into twrp go to settings > screen > and disable screen timeout. There's a bug where if the display times out you get a black screen.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] josh2020glacier:
WOW! This is what were missing out on. What smoothness O my gosh does this phone have potential really cant wait till it turn beta

Ty for this one
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
12/07/14 Build

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

Not Working

Calling and Data

Camera (doesn't save photos) - videos save fine

GPS- temporarily removed

NFC removed - it is impossible right now to implement for this device.

Changelog

Fixed Audio (mic)

Fixed Wifi

Fix LPM ( offline charging)

Fixed partially broken sensor ( rotation works )
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] josh2020glacier:
Must say been running this for few min now love every sec ty
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
New build

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

changelog

Data working - thanks to frapetti
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] josh2020glacier:
Will i be able to make a call ???
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
Calls go through but you can't hear anything it also receive calls with the same issue. Still working on that problem.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] josh2020glacier:
O well still going to give a shot for sure was just hoping i could run for few days but untill thats fixed just gonna flash play wit then restore backup. Thanks for such qiuck deving. Def gonna have fun wit it.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] kabod:
Is there a stable cyanogen version of work it all settled and playstore. for subway t-399N pcs are 2.8.1.0 twrp
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] GJSmith3rd:
Totally Awesome!

I just tried the CM12 build. I never thought I'd see L on this device. I was happy with Metro PCS KK. Connected to my 5ghz WIFI just fine. Snappy, no bloat, more room for games, lol. Have a problem with Titanium Backup and root. SuperUser grants but TB complains. Totally Awesome.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Planterz:
Titanium was updated today, says it supports 5.0. Make sure you're updated.

They did have an experimental one you could sideload after the Nexus 6/9 came out, but the links are dead. I tried it with a couple 5.0 ROMs on my Nexus 4, and it it worked wit those. I assume the update includes these fixes.

I can't remember if TB needs BusyBox or not - can't hurt to install it and try if you haven't already.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] kabod:
Link no workin
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
Works for me :confused:
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
TWRP 2.8.2.0 posted

HERE

A compatible CyanogenMod build will be released later today.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] GJSmith3rd:
Thanks, I got it working with an updated version just like you suggested.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
New build now compatible with new TWRP

http://d-h.st/k8u5
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] josh2020glacier:
Is it compatible with old twrp. And also is there any fixes
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
It will flash on older twrp. Only fixes are ROM specific changes and updates.
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] kabod:
Do not let me playstore and the google account does not leave any of the 2...
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] Unjustified Dev:
I'm sorry I am confused not your fault. Did you install the google apps?
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] kabod:
Not Me Out The play store
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] johncro13:
After installing the rom, I installed the 5.0 gapps from here. Then wiped cache.

Data isn't working for me, but I have Wifi. Gotta say, I love what I'm seeing!
[Samsung Galaxy Light ROMs, Kernels, Recoveries, & ] juankyhd2:
Data ok,wifi ok,gmail ok,playstore ok. Issues on camera(not save pics) and phone dialer(not recive calls,not send calls and some fc) im using last twrp and last cm12-09

Thanks!

SGH-T399 T-mobile