BLN port to cm7/miui kernel - Galaxy S I9000 Android Development

Hi guys,
I'm trying to get BLN working on CM7/MIUI kernels but this is still somewhat over the top for me
the needed changes to completely revert led-notifications and add BLN
can be found in my repo in the following branch:
BLN04
the initial commit compiles fine but I'm not sure if it works (haven't tried it yet)
the 2 additional commits on top have changes from the Samsung kernel which most likely do NOT apply to our kernel
and the last one an update to the latest BLN version which doesn't compile since I get an error
I've only added those for completeness' sake
keep in mind we're using the cypress touchkey driver from the Nexus S - also: our touchkey driver has the firmware update-mechanism removed so those parts are missing in the driver
so the BLN patch from Samsung kernels doesn't work easily
some references to make it easier:
* led-notifications (BLN fork): LED notification support
* BLN on GB samsung kernel: initial bln for i9000 gingerbread (neldar's repo)
* initial BLN on morfic's Nexus S kernel (with other stuff in the commit): bln (equals the 1st commit of BLN in my repo)
* changes for BLN to newer version: finally BLN V4 commit can be done
many thanks in advance for your help and collaboration !
edit:
the error message in question is:
make
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC arch/arm/mach-s5pv210/mach-aries.o
arch/arm/mach-s5pv210/mach-aries.c:1232: error: unknown field 'touchkey_sleep_onoff' specified in initializer
arch/arm/mach-s5pv210/mach-aries.c:1232: warning: initialization from incompatible pointer type
make[1]: *** [arch/arm/mach-s5pv210/mach-aries.o] Error 1
make: *** [arch/arm/mach-s5pv210] Error 2
Click to expand...
Click to collapse
which amazes me since with that stuff in led-notifications it compiles fine
I must be missing something obvious ... :\

Posted a fix in my thread, but Ill do it here too.
touchkey_sleep_onoff isn't declared in touchkey_platform_data, you have to add it. include/linux/input/cypress-touchkey.h is where the struct definition is.

I was working on this and got some issues Thanks Zach !

TheEscapist said:
Posted a fix in my thread, but Ill do it here too.
touchkey_sleep_onoff isn't declared in touchkey_platform_data, you have to add it. include/linux/input/cypress-touchkey.h is where the struct definition is.
Click to expand...
Click to collapse
ah - ok,
thanks TheEscapist !
strangely that struct afaik also isn't included in led-notifications but it compiles fine ...
I'll add it & see whether it works after that
Tk-Glitch said:
I was working on this and got some issues Thanks Zach !
Click to expand...
Click to collapse
sure
it's also easier that way:
you can explicitely turn it off (uses less battery)
and I can safe time by only needing to compile 1 kernel for a model

zacharias.maladroit said:
ah - ok,
thanks TheEscapist !
strangely that struct afaik also isn't included in led-notifications but it compiles fine ...
I'll add it & see whether it works after that.
Click to expand...
Click to collapse
That is strange, but it makes sense in terms of the error you are getting. It was also the only major difference I saw between my bln code, and your git.
Let me know if it works, I didn't compile test it.
Sent from my SGH-I897 using XDA Premium App

TheEscapist said:
That is strange, but it makes sense in terms of the error you are getting. It was also the only major difference I saw between my bln code, and your git.
Let me know if it works, I didn't compile test it.
Sent from my SGH-I897 using XDA Premium App
Click to expand...
Click to collapse
it doesn't seem to work correctly
the buttons are constantly on once they are touched (screen on) and turned off once the screen is off
notifications don't seem to work (according to testers)
I can't test it personally so every testing is a little delayed
attached is the patch on top of the kernel-tree where previously all led-notification-related changes were reverted
hope you can suggest what might be wrong
Thanks once again !

zacharias.maladroit said:
it doesn't seem to work correctly
the buttons are constantly on once they are touched (screen on) and turned off once the screen is off
notifications don't seem to work (according to testers)
I can't test it personally so every testing is a little delayed
attached is the patch on top of the kernel-tree where previously all led-notification-related changes were reverted
hope you can suggest what might be wrong
Thanks once again !
Click to expand...
Click to collapse
Buttons always being on while screen is on us by design. Add a timer to turn it off if you wish, but I prefer lights always on.
As for notifications, did you push the correct liblights? Check with the bln app to make sure that you have both a compatible kernel, and a compatible liblights.
I can't check the patch right now, as I'm at work, but if its not fixed in ~4 hours, ill take a look at it when I get home.
Sent from my SGH-I897 using XDA Premium App

TheEscapist said:
Buttons always being on while screen is on us by design. Add a timer to turn it off if you wish, but I prefer lights always on.
As for notifications, did you push the correct liblights? Check with the bln app to make sure that you have both a compatible kernel, and a compatible liblights.
I can't check the patch right now, as I'm at work, but if its not fixed in ~4 hours, ill take a look at it when I get home.
Sent from my SGH-I897 using XDA Premium App
Click to expand...
Click to collapse
yeah - I pushed a file named lights.s5pc110.so
but that apparently wasn't the correct / needed on :\
I just had the chance to get on a wifi network and download the BLN test app
and that clearly says that BLN is supported by the kernel but the liblights is NOT the correct one ...
I thought the one for JVH / samsung roms was the correct one (i9000_jvh_BacklightNotification_v3.0.1_update.zip)
but apparently it isn't ...
searching for the right one now ...
thanks !

zacharias.maladroit said:
yeah - I pushed a file named lights.s5pc110.so
but that apparently wasn't the correct / needed on :\
I just had the chance to get on a wifi network and download the BLN test app
and that clearly says that BLN is supported by the kernel but the liblights is NOT the correct one ...
I thought the one for JVH / samsung roms was the correct one (i9000_jvh_BacklightNotification_v3.0.1_update.zip)
but apparently it isn't ...
searching for the right one now ...
thanks !
Click to expand...
Click to collapse
Grab lights.aries.so from one of my kernel packages, its the correct one.
Sent from my SGH-I897 using XDA Premium App

TheEscapist said:
Grab lights.aries.so from one of my kernel packages, its the correct one.
Sent from my SGH-I897 using XDA Premium App
Click to expand...
Click to collapse
ok, it works now
AWESOME !
Thanks a ton TheEscapist !

TheEscapist said:
Buttons always being on while screen is on us by design. Add a timer to turn it off if you wish, but I prefer lights always on.
Click to expand...
Click to collapse
Can this be done without touching the kernel source? It bothers me to no end that the touch keys stays on while the screen is on :/

quaff said:
Can this be done without touching the kernel source? It bothers me to no end that the touch keys stays on while the screen is on :/
Click to expand...
Click to collapse
I was planning on reworking bln to be more compatible with cm anyway, adding in a userspace interface to control a timer probably wouldn't be too much trouble.
You'd have to ask your dev to incorporate it into the source though.
Oh, and Zach? I had an idea, ill pm you when I get home in an hour.
Sent from my SGH-I897 using XDA Premium App

TheEscapist said:
I was planning on reworking bln to be more compatible with cm anyway, adding in a userspace interface to control a timer probably wouldn't be too much trouble.
You'd have to ask your dev to incorporate it into the source though.
Oh, and Zach? I had an idea, ill pm you when I get home in an hour.
Sent from my SGH-I897 using XDA Premium App
Click to expand...
Click to collapse
Hi TheEscapist,
thanks !
you got a PM
TheEscapist said:
That is strange, but it makes sense in terms of the error you are getting. It was also the only major difference I saw between my bln code, and your git.
Let me know if it works, I didn't compile test it.
Sent from my SGH-I897 using XDA Premium App
Click to expand...
Click to collapse
ok, just went through the led-notifications patch again
and it's included so I must have overlooked it

I can't get it to work at all. The app will "work" with it happily, but the function is broken. Same for my testers :/
My tries to port it before were ending the same way so that's not new but I don't understand how some guys can get it to work with this patch.
EDIT : When a notification comes, the LEDs won't light up, but if I touch the softkeys, then they will light up and stay on until I read the sms/mail etc. (It doesn't happen if I don't have a notification waiting).

Related

[kernel] JVB/2.3 CF initramfs + LED timeout and notifications

Hi,
This kernel is odin flashable and uses a binary copy of chain fire's current ramdisk for JVB (aka CWM, root, etc)
Also has the led notification patch from CM7, and led timeout of the touchkey but won't actually make the notifications, as it's missing liblight (mostly cause i'm tired atm)
The main purpose of this kernel, beside providing a quick fix for the leds, is to let whowever wants easily patch in the timeout (and eventually notification) into his own kernel
sources: https://github.com/kangsterizer/linux_gt-i9000 (use branch gingerbread-samsung)
binary: http://kang.project-voodoo.org/f/CF-JVB-LED-TM.tar
enjoy - provided without any warranty, support, etc, at your own risk. i will probably not update this kernel - unless some stuff for the led is rly necessary to clear up
note: also contains 10 fingers touches and uses the NS driver instead of the old froyo driver
Hi, looks realy good!
Please fix it and we will test it for you!
Thanks for great work
bilboa1 said:
note: also contains 10 fingers touches and uses the NS driver instead of the old froyo driver
Click to expand...
Click to collapse
Do you mean I can play Fruit Ninja with both hands now?
Sent from my GT-I9000 using XDA App
yeah lol
its more useful for 2 players on tap tap or stuff like that
Works great
Touchkeys dim after 2 seconds (I think it's 2 seconds, maybe only 1? I don't know, but they definitely dim).
CWM works as expected, too.
Hi,
what about the hole tweaks which exist?
Could you implement this all to get a superkernel for us?
Hey, I've installed the voodoo hack for JVB, can I flash it over it?
it's 1.6s to be precise haha
i suppose it works over voodoo, CF init should take care of it. no warranty ofc. i did not test. if it goes wrong just reflash voodoo. always backup. etc.
this kernel is just there hoping someone will pickup the patches and make his own kernel out of it (or just patch it in his own kernel). i won't be able to maintain that one and the CM7 one.
that's why it's very simple. has most of the stuff you might expected minus voodoo, and if you copy a liblights, it has "bln" (as in led notification) too
Ok I've flash it over Voodoo and it works fine but I've not the 10 finger multitouch :s
mik93250 said:
Ok I've flash it over Voodoo and it works fine but I've not the 10 finger multitouch :s
Click to expand...
Click to collapse
Because it's also framework dependent. Samsung framework has limitation to 5 points.
http://forum.xda-developers.com/showthread.php?t=891030
hi bilboa, thanks for the kernel, works as stated hope the devs use the patches
cheers
Hi, dont understand this!
How could i do this?
How can i patch the kernel?
Where can i get the patches?
Please could you do this for us?
I believe, only a few people could do this.
Can you insert in GB kernel BLN and all other mods?
Would realy cool for us
djsven said:
Hi, dont understand this!
How could i do this?
How can i patch the kernel?
Where can i get the patches?
Please could you do this for us?
I believe, only a few people could do this.
Can you insert in GB kernel BLN and all other mods?
Would realy cool for us
Click to expand...
Click to collapse
there's the kernel included if you don't know how to patch stuff..
the kernel is gb, has led notification (not bln, im not neldar) and it's already there and done
people who know how to patch stuff might include it in their own kernel with more goodies as they usually do
Hi, thanks for info!
But what is led information?
S hasend got a led?
Same as neldar use, led from buttons?
how to set the notifications? blink rate, timeout, which apps ...
i think we need an app for this, or a settings.apk mod with LED settings.
yes its similar to bln
no, there's no app
some apps on the market can make use it it though.. lightflow and friends i think.
i'm mostly using CM7 tho (which got builtin settings for LED)
i think most will be interested in the LED light time out and then either use the led notification implementation + some app to setup (although it works default) either use neldar's BLN
How can we use neldar BLN???
How can we aktivate this in your kernel??
djsven said:
How can we use neldar BLN???
How can we aktivate this in your kernel??
Click to expand...
Click to collapse
you can't
ask someone else to do it, or to pack it with some nice apk for led notification
Mh,
can we use your notification for k9 mail?
djsven said:
Mh,
can we use your notification for k9 mail?
Click to expand...
Click to collapse
if you ask more dumb questions, i will eat u!
yes/no/you need liblights copied
you should probably wait for someone to release a more "ready to use" kernel

BLN Support for SGS2 - With Example.

Hi Dev's
This is not my code, so credits to the owner 'creams'
I happened to stumble on some code yesterday from somebody who have attempted to integrate BLN to his kernel and done it successfully.
I thought the dev's might like to take a look at this one and implement this on their work.
blog : http://creamsnexus.blogspot.com/
git : git://github.com/creams/SGS2-SC02C-BLN-Kernel.git
His kernel was built for the Jap version of GS2.
Cheers!
AdamG has already implemented this into his AOSP ROM and it's working fantasticly, I know another Dev has already implemented it into a ROM just forgot his name. Thanks for pointing us to the source though!
hope that the devs give credit to the fix/implementation.
Ninpo also has putted it into his GIT so maybe they are already aware of it
oh i gave him a pm about it before i posted this.
samaral said:
oh i gave him a pm about it before i posted this.
Click to expand...
Click to collapse
July 31 in his GIT. You're ahead of him maybe.
I hope we will get it on MIUI and CM7 as well
vegetaleb said:
I hope we will get it on MIUI and CM7 as well
Click to expand...
Click to collapse
Don't know about MIUI but for sure on CM7. It's probably low on their to do list but BLN is something they will most definitely support just as they did with the 2X/G2X
mach0boi said:
July 31 in his GIT. You're ahead of him maybe.
Click to expand...
Click to collapse
im from the past
i didnt check his git commit date. thanks for the correction.
Do i also need to install any app from the market to enable it ?
Answer : Yes
Sorry if this is a noob question but what is BLN?
soupiejr said:
Sorry if this is a noob question but what is BLN?
Click to expand...
Click to collapse
Back Light Notification
using the led keys for notification.
Yay, my kernel will have BLN support to in the next version, just need to build all the seperate versions
(time to make a "one-for-all" kernel, that goes onto any (stock) ROM.... )
the only downside to this bln "version" is that it uses a kernel wakelock that will be hard on the battery
ogdobber said:
the only downside to this bln "version" is that it uses a kernel wakelock that will be hard on the battery
Click to expand...
Click to collapse
Yep, people are in for a treat when they realize their battery is being raped. We'll have to wait for CM7 to implement it into the framework like they did with the Optimus 2X/G2X
Nothing can beat the old good trackball lights on N1
It's a pitty all the brands stopped producing trackball,they could just reduce its size
ogdobber said:
the only downside to this bln "version" is that it uses a kernel wakelock that will be hard on the battery
Click to expand...
Click to collapse
jlevy73 said:
Yep, people are in for a treat when they realize their battery is being raped. We'll have to wait for CM7 to implement it into the framework like they did with the Optimus 2X/G2X
Click to expand...
Click to collapse
Yeah.... that is.... so not nice.... but well.... can't have everything.... :-/
// EDIT
Hm, for one, maybe some things can still be tweaked in the involved kernel code and for the other, how about disabling BLN when not needed? Does that release the wakelock? Haven't checked yet.... should check....
And does the drain/wakelock accour all the time while while activated or only when the lights are actually on - as far as I understood it so far the wakelock ist required to keep the powersupply up for the lights, but when no blinking is needed (due to no notification) the wakelock could/should be released....
Maybe that's something to tweak if that isn't already the case.
If the drain only accours when the lights are on, that's kinda OKish IMO, time to answer the damn phone *lol*
so creams put out an update that is supposed to release wakelock after the led cycle (pro app needed)
That would be an acceptable solution, I am testing to see
ps, btw jlevy he wasn't keen to your battery rape comment
HellcatDroid said:
Yeah.... that is.... so not nice.... but well.... can't have everything.... :-/
// EDIT
Hm, for one, maybe some things can still be tweaked in the involved kernel code and for the other, how about disabling BLN when not needed? Does that release the wakelock? Haven't checked yet.... should check....
And does the drain/wakelock accour all the time while while activated or only when the lights are actually on - as far as I understood it so far the wakelock ist required to keep the powersupply up for the lights, but when no blinking is needed (due to no notification) the wakelock could/should be released....
Maybe that's something to tweak if that isn't already the case.
If the drain only accours when the lights are on, that's kinda OKish IMO, time to answer the damn phone *lol*
Click to expand...
Click to collapse
ogdobber said:
so creams put out an update that is supposed to release wakelock after the led cycle (pro app needed)
That would be an acceptable solution, I am testing to see
Click to expand...
Click to collapse
NICE!
Compiler is already running
ogdobber said:
so creams put out an update that is supposed to release wakelock after the led cycle (pro app needed)
That would be an acceptable solution, I am testing to see
ps, btw jlevy he wasn't keen to your battery rape comment
Click to expand...
Click to collapse
It wasn't anything personally directed at him. I'm very grateful for his work in bringing BLN to our devices. I appreciate the update it looks like it will have a helpful impact on battery life.

[DEV] Galaxy Tab 7" LCD screen tuning

Hi Galaxy Tab owners!
Samsung was so kind and sent me a Galaxy Tab (SHW-M180S) to help me developing for it. Thanks Samsung Mobile Korea
That's why, only a few hours after receiving it I introduce support of this device in my research project app named Voodoo Screen Tuning R&D, available for free on Android Market.
This app is very much experimental and not a final product. See it as an internal leak from a R&D lab. But as Linus tells: release early, release often
Please take a look at the app description, and have fun testing this app!
I need your feedback, so.. see you soon.
Note: support starts with snapshot #31.
i have a sch-i800. will it be supported?
tylercarter said:
i have a sch-i800. will it be supported?
Click to expand...
Click to collapse
If rooted yes sir!
Tried but failed, does not recognize sgt p1000 yet? Can you tell when we can test? Thanks.
Sent from my GT-P1000 using xda premium
Wow this is dedication, an unsecure kernel and an app in less then 5 hours, gratz
Anyway, seems to work fine here, colors are more bright by clicking on "dev", not sure what you made but it works.
Thanks.
GT-P1000 Euro
Use the link provided by supercurio in first post and not from Tab market.
magicwonder said:
Tried but failed, does not recognize sgt p1000 yet? Can you tell when we can test? Thanks.
Sent from my GT-P1000 using xda premium
Click to expand...
Click to collapse
Awesome, Do you have a GSM or CDMA tab? Can we expect some custom roms in future?
Great to see a new dev join section
Will give app a try later and give feedback, thnx
"Dev Snapshot #31" refuses to run on a GT-P1000 (GSM) running CM7. Message is
This device is not supported
Reason:
Model not recognized
Click to expand...
Click to collapse
blacklevel said:
"Dev Snapshot #31" refuses to run on a GT-P1000 (GSM) running CM7. Message is
Click to expand...
Click to collapse
Is CM7 for the tab using yet another funky out of nowhere name as device name?
I'll know if you send me a report
TheATHEiST said:
Awesome, Do you have a GSM or CDMA tab? Can we expect some custom roms in future?
Great to see a new dev join section
Will give app a try later and give feedback, thnx
Click to expand...
Click to collapse
Any tab.
However I'm not a ROM guy − if I have a lot of respect for those who deodex and assemble ROMs all day long its extremely boring to me and I prefer doing things not done yet
blacklevel said:
"Dev Snapshot #31" refuses to run on a GT-P1000 (GSM) running CM7. Message is
Click to expand...
Click to collapse
Same here... (report sent)...
Sent from my GT-P1000 using Tapatalk
Snapshot 32: accept "galaxytab" Build.DEVICE from CM7
Thanks, now it works. But I don´t get it, the link brings me to the android market webpage, when I download it there it works great, but when I download in the Market App it doesn´t recognize my device???
Anyway great work! Hope to see more ...
af974 said:
Use the link provided by supercurio in first post and not from Tab market.
Click to expand...
Click to collapse
Give a try to snapshot 33
With the overlay interface, you'll be able to see very clearly the effect of enabling/disabling CABC (Content Adaptive Backlight Control)
CABC is enabled in default Samsung settings, disabled in "dev" preset.
Note: much more than backlight is affected, IE the whole response curve with Samsung's advanced & complete CABC implementation.
Example: with a low contrast & dark content, then in the settings (white background)
Is it possible that it doesn't keep settings after a reboot?
Because when i reboot it seems to me that it return to Samsung setting and if i cleck on dev i see the difference.
supercurio said:
Give a try to snapshot 33
With the overlay interface, you'll be able to see very clearly the effect of enabling/disabling CABC (Content Adaptive Backlight Control)
CABC is enabled in default Samsung settings, disabled in "dev" preset.
Note: much more than backlight is affected, IE the whole response curve with Samsung's advanced & complete CABC implementation.
Example: with a low contrast & dark content, then in the settings (white background)
Click to expand...
Click to collapse
af974 said:
Is it possible that it doesn't keep settings after a reboot?
Because when i reboot it seems to me that it return to Samsung setting and if i cleck on dev i see the difference.
Click to expand...
Click to collapse
Auto restore at boot is not yet implemented.
So far I'm thinking about how to write cleanly the codebase to do that despite the variety of device supported, sometimes with "presets" (combination of settings already present in kernel), sometimes with "profiles" (color calibration profiles built from scratch using reverse-engineering and a colorimeter).
I want to write only super cleanly designed code in this app so.. no rush
Ahhh....no worry, i thought it was a bug so i've reported
supercurio said:
Auto restore at boot is not yet implemented.
So far I'm thinking about how to write it cleanly the codebase to do that despite the variety of device supported, sometimes with "presets", sometimes with "profiles".
I want to write only super cleanly designed code in this app so.. no rush
Click to expand...
Click to collapse
Works on BOCA!
http://forum.xda-developers.com/showthread.php?t=1319942
THANKS
Yes. Coool. Works fine (apparently,if I have understood coreectly) on overcome 4
Sent from my GT-P1000 using XDA App
I don't know if i get it right or not but the only snapshot I see here in the app is 35 and there is no way to change it it.
How is it possible to change to other snapshots?
BTW Thanks for the great work.

[DEV][BETA-2.4] CyanogenMod 10.1 - A77R builds

Hi everybody!
You might already know me. I develop CM for the SGR. Here I give you my builds of CyanogenMod 10.1 (based on Android 4.2.1 Jelly Bean) for the Samsung Captivate Glide (SGH-I927).
As I do not own the device, I need some testers first to confirm! Do have a backup!
For general discussion and Q&A: head to this thread.
What works:
Mobile network (2G/3G switch and network selection as well)
Data connection
Data usage statistics
Audio
Wi-Fi
Wi-Fi Direct (P2P)
Bluetooth
Video player
Accelerometer, orientation, magnetic field, light, proximity, battery temperature sensors, gyroscope
BLN feature (you need either the free or the paid version of BLN Control from Play Store)
Auto brightness
USB On-The-Go
Moving apps to SD card
Camera (single and panorama pictures)
Video recording (480p SD and 720p HD as well)
Full HW acceleration with Nvidia and Samsung codecs
Wireless tethering
Keyboard rotation and key fixes (thx thegreatergood)
What doesn't work:
USB Mass Storage only works manually
Stock sound recorder app (use an external, like MIUI Sound Recorder instead)
Maybe bluetooth A2DP (I couldn't test)
Maybe bluetooth tethering (I couldn't test)
A more detailed bug list and possible solutions can be found here. There may be other bugs, feel free to report them.
Link: Not available.
Get Google apps here: http://goo.im/gapps/gapps-jb-20121212-signed.zip
Installation method:
Flash CM.
Flash this kernel to fix vibration issue.
Flash Google apps. (It is not optional anymore!)
Do 'Wipe data/factory reset' in recovery.
Reboot & enjoy.
Every custom modification to devices have risks. Flash this at your own risk!
Have fun and enjoy!
Thread cleaned
The bickering ends now. There is room for creativity from many members. Continuation of the deleted discussion will result in an infraction against the user's account.
Thanks MOD. Love ur presence here.
Sent from my GT-I9103 using Tapatalk 2
don't know what happend but if staring from scratch why not building 4.2.1 instead?
He has to understand your device first, once it is stable he will release for 10.1... He already release for Galaxy R and it is Beta...
So don't worry guys, Please download, test and provide the logcat for him... he will fix as earliest..
I noticed that the bugs from dman's build aren't the same ones listed. Does that mean the keyboard works now?
Sent from my myTouch_4G_Slide using Tapatalk 2
gtmaster303 said:
I noticed that the bugs from dman's build aren't the same ones listed. Does that mean the keyboard works now?
Sent from my myTouch_4G_Slide using Tapatalk 2
Click to expand...
Click to collapse
He doesn't have the phone that's why we he wants us to test it
i cannot install it. cwmr says: installation aborted.. I thought it might be a result of a bad downloading, so I downloaded it again, but the result is the same
soadzoor said:
i cannot install it. cwmr says: installation aborted.. I thought it might be a result of a bad downloading, so I downloaded it again, but the result is the same
Click to expand...
Click to collapse
Does it say anything more?
well, I made a picture of it, dont know if it makes anything clear..
this is error
This is assertion error. Just wondering if dman has opened all of his zips and removed these lines. Will post a new zip tomorrow with the assertion check removed then will examine your CWM builds.
Adam77Root said:
This is assertion error. Just wondering if dman has opened all of his zips and removed these lines. Will post a new zip tomorrow with the assertion check removed then will examine your CWM builds.
Click to expand...
Click to collapse
so i have a paper weight until tomorrow
smutta said:
so i have a paper weight until tomorrow
Click to expand...
Click to collapse
Should be able to mount USB and transfer a working ROM to the phone for flashing.
smutta said:
so i have a paper weight until tomorrow
Click to expand...
Click to collapse
Dude you chose to test this, he clearly said to make a backup so,
Adam77Root said:
This is assertion error. Just wondering if dman has opened all of his zips and removed these lines. Will post a new zip tomorrow with the assertion check removed then will examine your CWM builds.
Click to expand...
Click to collapse
Should be assert i927, SGH-I927, SGH-I927R, SGHI927,SGHI927R, n1. That's what all my updaters run....
Sent from my SGH-I927 using xda premium
And this will fix keyboard lights in lights.c
char const*const BUTTON_FILE="/sys/class/sec/sec_stempe_bl/backlight"
But you probably already knew that..
Sent from my SGH-I927 using xda premium
dman3285 said:
And this will fix keyboard lights in lights.c
char const*const BUTTON_FILE="/sys/class/sec/sec_stempe_bl/backlight"
But you probably already knew that..
Sent from my SGH-I927 using xda premium
Click to expand...
Click to collapse
Thanks !!!
dman3285 said:
And this will fix keyboard lights in lights.c
char const*const BUTTON_FILE="/sys/class/sec/sec_stempe_bl/backlight"
But you probably already knew that..
Sent from my SGH-I927 using xda premium
Click to expand...
Click to collapse
I end up getting char: not found...
Has anyone else noticed that the Home button doesn't actually function as a home button (the capacitive button, not the keyboard one.)
Installed by edited installer script.

[ROM] CM12-Light BETA

A port from a S3's CM12 ROM for the [SGH-T399] Samsung Galaxy Light .
DISCLAIMER READ EVERYTHING BEFORE ASKING QUESTIONS. This ROM was built for the T399, even though it was built on a rom that presumably worked on both models. People with Metro encounter FCs and Reboots when using High Accuracy GPS.
Android Version:5.0.2
With @Unjustified Dev's CM12 Build (https://www.androidfilehost.com/?fid=95784891001602113) as a base (Thanks for your service!)
Also the Light in the name isn't because of it's size (yet(?))
Bugs:
- stock Cam still iffy, 3-rd party cam apps work. From personal use, Focal (by CM) works great, Cam Mx is good too.
- Prox/light sensor for telephony (off display when phone to ear) is iffy as well. From my use Gravity Screen has trouble using the light sensor when the flip cover option is not selected (6/10), when it is toggled the use is 8/10. Interestingly, when calling the screen turns off when close to ear flawlessly, sometimes it might not turn back on tho.
- Report if I left some out
--Streaming apps (Netflix, YT, Play Movies) has been reported to be not working. Some report that it's dependent on the .apk version. On the latest ver. of YT it works with no problems on various resolutions.
Oh and also.
I am not responsible to any damage to your device, PLEASE do a Backup of the device on TWRP.
Oh and as of right now I do not have the device in my possession. I GOT IT GUYZ
I'd like to thank you for supporting and testing this and helping to build support for this great device. :highfive:
Want a stock ROM as backup or for daily use? Here's my build Don't it's unstable.
I am holding off development until I get the device, sorry.
Read everything? Good, here's a link as your reward
ROM: V0.1 https://www.androidfilehost.com/?w=files&flid=35178
(Vanila) V.02 https://www.androidfilehost.com/?fid=24052804347772131 - CM stuff removed (for now), proximity sensor seems to be better
(Dirty) V0.2.2 https://www.androidfilehost.com/?fid=24052804347773480 - build.prop battery tweaks, added cam permissions in the boot.img, let's see if that makes a difference.
(Dirty) V.0.2.3 https://www.androidfilehost.com/?fid=24052804347774276 - libs migrations en mas (from stock, let's see where this rides takes us, HAVE A BACKUP READY PLZZZ)
MISC: GPS High Accuracy workaround for Metro (T399N) Read instructions here - THANK YOU @kireflow90 !
Also can I again thank @Unjustified Dev for building a solid CM build? He really did all the hard work.
Let me be the first to say mic seems to be working great while talking now ty. I'm Glad I'm you're little testing subject lol. Ty u again.
Ok so been playing around a bit and the YouTube app works again...mostly. My purchased items still aren't working. I'll upload a log for the camera in a bit
Sent from my SGH-T399N using XDA Free mobile app
Camera log
Gps still reboots phone when set to high accuracy, Netflix doesn't connect, Google play movies and TV app doesnt stream due to bandwith issues? I tried the proximity sensor when making a call and it seems to do better than before but like you said still glitchy.
Sent from my SGH-T399N using XDA Free mobile app
Thanks, I'll get onto working more on this ROM when I get the device, since I broke a promise today I won't give a precise ETA as to when I might get the device, sorry guys. But thanks Kireflow90 for the info.
AcreaperJB said:
Thanks, I'll get onto working more on this ROM when I get the device, since I broke a promise today I won't give a precise ETA as to when I might get the device, sorry guys. But thanks Kireflow90 for the info.
Click to expand...
Click to collapse
I might have extra light for u its metro. Little banged up but all works good. Pm me and let me know IMA dig through boxes.
Thanks a million. I'll IB you now.
AcreaperJB said:
Thanks a million. I'll IB you now.
Click to expand...
Click to collapse
Yes do my FAM just gave to me I was just using to test flash ur ROM lol
As long as you have a spare to continue using to flash roms then I can't deny something free
Also I will be uploading two versions of the ROM soon, one with build.prop (and soon, among others) tweaks and one that I will keep as vanilla as possible.
I will also try my best to keep this method of release. It could take a day or two tho :/ so please be patient.
Downloading CM12-light+0.2 will give you update when I flash
Edit: only improvement I've found is the proximity sensor. It seems to be a huge improvement. Idk if I just got lucky but it didn't turn the screen on at all
Sent from my SGH-T399N using XDA Free mobile app
Lol didn't even remember i uploaded the vanilla version. Anyway only way to find out if it's fixed is if someone else downloads it and has the same experience
AcreaperJB said:
As long as you have a spare to continue using to flash roms then I can't deny something free
Click to expand...
Click to collapse
Lol my Cuz is giving it to me first thing in morning we will talk more as soon as I have it in my hands
AcreaperJB said:
Lol didn't even remember i uploaded the vanilla version. Anyway only way to find out if it's fixed is if someone else downloads it and has the same experience
Click to expand...
Click to collapse
When you upload, since you'll be putting both up, you should put vanilla in the name OR just code them with a V in the name. Like CM12-light+0.2V
Sent from my SGH-T399N using XDA Free mobile app
Yh I was meaning to do that, I'll add it when i get to uploading the dirty build.
kireflow90 said:
Downloading CM12-light+0.2 will give you update when I flash
Edit: only improvement I've found is the proximity sensor. It seems to be a huge improvement. Idk if I just got lucky but it didn't turn the screen on at all
Sent from my SGH-T399N using XDA Free mobile app
Click to expand...
Click to collapse
josh2020glacier said:
Lol my Cuz is giving it to me first thing in morning we will talk more as soon as I have it in my hands
Click to expand...
Click to collapse
Ight bruh np
kireflow90 said:
When you upload, since you'll be putting both up, you should put vanilla in the name OR just code them with a V in the name. Like CM12-light+0.2V
Sent from my SGH-T399N using XDA Free mobile app
Click to expand...
Click to collapse
Oh I also added an AOSP Camera app there, did it replace the older AOSP one? Are there 2 instances of the app? How does it work for you?
AcreaperJB said:
Oh I also added an AOSP Camera app there, did it replace the older AOSP one? Are there 2 instances of the app? How does it work for you?
Click to expand...
Click to collapse
I only have one camera app (as far as stock goes) and its the same one as before. Still takes a picture but doesn't save it or anything.
Sent from my SGH-T399N using XDA Free mobile app
So whats the difference between v0.1 and 0.2?

Categories

Resources