yashsingh1/xdaforums huggingface dataset:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] TimeWalker75a:
winxuser indeed isn't far off from having everything working properly, though true someone else experienced stepping in would be a great benefit to the project!

[MENTION=4439705]winxuser[/MENTION], two questions:

1. do we know what fixed youtube in the end... OMX related or ...?

2. any chance you can implement original samsung behavior for touch keys, which helps to conserve battery? as in, they are only supposed to light up when touched, not when the LCD panel is. for your reference, here's a diff attached for both hardware_samsung and kernel_smdk4412 ( patchset consolidated in a single file).
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] sttehh:
Tried new version 20150926, dirty flash..

No issues so far, except Bluetooth not working
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
Kernel development.. that would be good ;) maybe you could try getting us higher than 3.0 lol... did Bluetooth find any device in any of those builds
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
I am not really sure what fixed the you tube error. It could of been cm sources, but it could be that once u added updated drm files from OPPO it seemed to work after that
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] phideaux:
Versions 2015-09-25, 2015-09-26: No devices found. Not found by other devices.

Prior versions: Not able to turn Bluetooth on - No BT icon.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
Hmm that's a shame :( I don't know why bluetooth is not working. All the commits I have made on my sources are the same as what is on nameless ROM. Maybe I could try grabbing the firmware files from nameless and see if that works
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] TimeWalker75a:
It's actually a change so little one can only wonder how the hell it doesn't work, as essentially what it's all about is to move the binaries away from crammed system/bin to their dedicated location for easier lookup and thus for faster toggle times :S
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Kwakzalver:
I can confirm this. Has been a while since I had this happen, and never touched that function again just because it was a pain to get fixed. Eventually fixed it by flashing another recovery in download mode with Odin3 jada-jada...

on a different note: latest stable has a huge battery drain going on, now on the 25-sept release as I don't use bluetooth anyways.

A thing that has been going on for a while now is that the powersettings (batterysaver, balanced, high-performance) isn't working from the notifacation drawer, and the menu all the way down in settings is also gone. Could that be looked into as well, as I really liked having minimum clock on 1000 so it's really responsive. Thanks
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
As with any ROM you need to let the phone settle after a couple of full charges.. also I noticed now that I have removed Facebook and Facebook messenger off my phone the battery is lasting ALOT longer haha because those apps are always running in the background and drains the battery something shocking... I will look into the performance setting I think I might have missed something when I was updating the device sources. I just thought the cm team removed it.. but for the time being I'm sure kernel auditor will be the better option if you need to change kernel settings
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
hey guys, been doing a little editing and so i have decided to bring back my little website where you will be able to download the roms from,, from now on no posting links to my android file host account, jus tpost the direct links to the roms on the website :) its been a while since i have seen my page, so it was good to give it a little update to include this rom
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] TimeWalker75a:
It's not CM sources that I can say for sure. Just snatched nameless DRM blobs and swapped vendor proprietaries - hey presto, YouTube doesn't do that pesky stuff any longer. Reverted back to original L1 blobs and it's back to being stubborn with touch to retry.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
Yep that's what I did, I changed the DRM blobs with nameless which is come from oppo
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] andybog:
I'm using version file name "cm-12.1-20150823-UNOFFICIAL-i9305.zip" and Bluetooth works flawlessly, finds devices, sends and receives files and Bluetooth audio streaming works. I'm still on this build which all works great apart from random soft reboots.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
hmmm thats strange
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] TimeWalker75a:
If you were trying this, then you prolly have the firmware in system/bin as well as tucked under vendor/firmware from previous flashes if upgraded the dirty way .. But its indeed a mystery to me how the hell this breaks.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
But the thing is our Bluetooth firmware has never been in the bin folder if you check the muppets and crazyweasel blobs its always been in vendor
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] kameha:
Hi there !

I've clean installed (full wipe) the latest release yesterday.

So far I've been experiencing random reboots, bluetooth is not working, com.android.phone happened a few times.

I was using cm-12.1-20150823-UNOFFICIAL-i9305.zip and found it much more stable :(

I hope those bugs will be soon fixed.

Nicolas
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] quimbexa:
I also have gone back to that build. Only buggy YouTube sometimes which doesn't bother me much. Random reboots are rare so I don't care..
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] andybog:
I'm actually able to perform these "random" reboots on demand. Here is how I stumbled on ot, I opened my emails and an email attachment which was a .doc which opens with wps office and from there I just leave the phone and after a short while it reboots....if I follow this process it does it every time.

Is possible to try logging it? I know we may not see the reason for the reboot because catlog is held in memory and not a file and thus resets on reboot. I'm happy to keep going if it will help. What am I looking for in the catlog? Don't want to upload loads of nothing.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] TimeWalker75a:
adb devices

adb shell

su

logcat > /storage/sdcard0/crash_log.txt

With your phone connected to a computer with USB debugging enabled. Once phone reboots you'll see the breakpoint in log.

P.S. tried to replicate this .. couldn't make it reboot, chain-opened a bunch of docs from corporate Exchange mail ...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] selemine:
Very nice work so far.

Has anyone tried to encrypt the phone yet? For me it says "charge your phone, plug it in." if i do that and hit "encrypt" it reboots and offers me again to encrypt the device.

I also have issues with reading mms/sms that i restored from a backup (conversations are shown on the overview including last message and message count, but if you click them to read them it'S empty), but i doubt that is a problem of this ROM.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] RaulAkaAlaRau:
Can I add the fact that we still have a "!" exclamation sign on the lines from the signal. Is it supposed to be there? I confirm that the bluetooth doesn't work on the 20150925 build... didnt upgrade on the 26 build because the BT issue persists.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] limnaln:
That means that your mobile internet isn't active...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] andybog:
Did 4 logs and they all end differently, ill just post the last few lines up of each because they are around 800 pages long, opened the in MSword not notepad as that was just mess.

Log1

I/ActivityManager(26559): Start proc 29222:biz.bokhorst.xprivacy/u0a102 for broadcast biz.bokhorst.xprivacy/.BootReceiver

W/XPrivacy(29222): Hooking package=biz.bokhorst.xprivacy

I/ActivityManager(26559): Killing 27962:com.google.android.gms.wearable/u0a22 (adj 15): empty #17

W/XPrivacy(29222): UI started

V/ActivityManager(26559): killProcessGroupAsync took 37 ms for PID 27962 on thread 17

I/ActivityManager(26559): Start proc 29247:biz.bokhorst.xprivacy:update/u0a102 for service biz.bokhorst.xprivacy/.UpdateService

log2

W/Settings( 3077): Setting airplane_mode_radios has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.

W/Settings( 3077): Setting airplane_mode_toggleable_radios has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.

W/ResourceType( 2707): No package identifier when getting value for resource number 0x00000000

W/PackageManager( 2707): Failure retrieving resources for com.hutchison3g.planet3: Resource ID #0x0

log3

W/Resources( 7274): Converting to boolean: TypedValue{t=0x3/d=0x2992 "true" a=3 r=0x7f120a3e}

W/PackageManager( 7274): Package com.google.android.gms desires unavailable shared library com.google.android.ble; ignoring!

W/PackageManager( 7274): Package com.google.android.GoogleCamera desires unavailable shared library com.google.android.gestureservice; ignoring!

log4

D/iNemoSensor(11137): enable(): MASK_ACC (0) MASK_MAG (0) MASK_GYR (0)

D/iNemoSensor(11137): enable(): mEnAcc(0) mEnMag(0) mEnGyr(0)

D/Sensors (11137): PressTempSensor::enable: handle: 9, enable: 0

D/Sensors (11137): PressTempSensor: mEnabled 0, enabled: 0

I/ (11137): System server: sensor init done.

D/SensorService(11137): new thread SensorEventAckReceiver

D/SensorService(11137): nuSensorService thread starting...

I know nothing about all this garbage but im guessing there is nothing of value in them.

PS Xposed and Xprivacy work well in this ROM ;)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
I know nothing about reading logs either but from what I have glanced apon in the past things that start with an E (error) or F (fatal) is mainly what we need to look for. But iv seen E on logs that didn't mean anything if you see the lines about the graphics driver they start with an E but are not errors. Linux system confuses the crap out of me hahah
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] sttehh:
With the current rom I get a lot of mdm_hsic_pm0 wakelocks... And the phone in always awake
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] TimeWalker75a:
I can relate. The phone sometimes drains down about 30% over night, while it should normally be 5% tops.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] andybog:
I was hoping to see an E or F error at the end, I'll keep trying to see if I get any.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] g_kos:
Discovered sort of a nuisance.

When your phone is set to a flight mode, and you reboot it, the notification pops up saying that "no SIM card - Emergency calls only".

I was on a plane, replaced the sim and was worried that I somehow damaged the sim card, took me a bit of time to realise of what was causing it. I don't remember seeing such behaviour on other android phones.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] kidoucorp:
Can anyone recommend a build which has bluetooth working and not a lot of bugs (I don't really mind about the youtube problem if it's the only one). I'm running the build from the 25th and I'm more than happy with it, everything is working perfectly except bluetooth, but unfortunately I definitely need it, so I can't stick with this version :(

Nice work OP btw, I've tested a lot of roms but always get back to CM as this is the one which work the best for me, so thanks for your efforts :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] RaulAkaAlaRau:
winxuser please tell us what we can do for you and for your team to discover this problem with the bluetooth, where to look and what to provide here for a best development of this beautiful ROM build? Maybe if we unite the time and effort we can find this bug (and others maybe).
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] TimeWalker75a:
We know why Bluetooth broke exactly after the 23.08 build, we just don't know why the hell these changes break it... because all they mean is moving files from one directory to another.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
No no that's not it.. in previous cm the Bluetooth app looks for the Bluetooth firmware in system/bin which for our device those files have never been there. All the change does is makes the Bluetooth app look for the firmware in vendor/firmware/Bluetooth which technically should speed up the Bluetooth app in finding and using the firmware, but for some reason when it's set that way it doesn't work. It's very strange
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] TimeWalker75a:
Yes but you physically move the files across to a different directory having it's own permission and path within /system. So its not only the fact of pointing there, but also moving the proprietary files as well.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
The vendor files are in the correct folders if you look at my github
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] kidoucorp:
Ok guys, I am not sure what I did exactly but I got bluetooth detection working on the 25 build by taking some files from Nameless rom and changing permissions. Not sure what did the trick as I did some changes at the same time and I'm at work so can't really dig in it...

Here what I did :

- Copied bluetooth.default.so from Nameless Rom to /system/lib/hw

- Copied bcm4334.hcd, bcm4334_murata.hcd, bcm4334_semcosh.hcd from Nameless to /vendor/firmware/bluetooth

- Deleted folder /system/app/Bluetooth/lib from CM rom.

- Made sure that all files I have copied earlier have permission 777 and owner/group is system

Doing all of this, rebooting, and bluetooth can see devices and pair without any problems :)

If you want the files I took from Nameless, here they are : https://drive.google.com/file/d/0B83i-5yPGf7bVWVFY2djaktoRjA/view?usp=sharing

Hope this will help you winxuser ! :)

Edit : Actually I think that files are almost the same, so maybe it's just a permission problem on those files. Can't check now as I changed on my phone already. Could also be the lib folder in /system/app/bluetooth that was doing something wrong, it does not exists on nameless.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
Well guess I was wrong guys. I just checked my vendor blobs and sure enough I have not changed them around for the new commits.. will be updating them straight away then building a new build for you
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] quimbexa:
Will new build fix Bluetooth? And include YouTube fix and a2sd? :D
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
Well that's what I am hoping for.. yes it will include YouTube and a2sd fixes :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
build started, i have a slow computer so it will be done in about an hour and a half upload will take another 30 minutes or so
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] RaulAkaAlaRau:
Glad that you guys figured it out. Thanks to kidoucorp!!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] quimbexa:
Silly question maybe, but will you build android 6 when it's time? (please?) :p
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
will have to wait and see ;)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
If I can get in with another team that I'm talking to then we will also have aosp android l and m ;)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] quimbexa:
That would be great ?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] selemine:
would it be ready then for submission as “official“ cm ?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] :
winxuser stated more than once that this rom won't be official
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] selemine:
[quote name="winxuser" post=63003296]… push commits to cm gerrit otherwise I maybe would have this ROM official already[/QUOTE]

I would say that it is just a matter of reading the linked wikipage and talk to the cm people. Not that he didn'twant it
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] :
I know what the wiki page says but this is just one example of his post about getting CM official

http://xdaforums.com/showpost.php?p=61637414&postcount=664

there is no need to be it official. For what? official or not, he uses the same sources, it's the same base. Unless he has changed his mind the last few weeks
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] TimeWalker75a:
For the rom to be considered official it needs to be rocket stable. Also everything stock should work. I'm findings all sorts of bells and whistles that fail from time to time randomly (charge only mode, Bluetooth dropping connection refusing to turn on afterward, data service stopping, not proportional video recording resolution, trusted device refusing to skip unlock etc ...)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Aidan-O-Matic:
Slight issue I'm having at the moment is toggling wifi On/Off in the quicksettings dropdown. Though it shows as off and tapping on it goes through the usual delay in finding networks (scanning always available set to off in settings) looking through the battery stats in settings shows the wifi as being on still. Which one is wrong and how can i check this?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] coutinhocarlos:
Hi Guys I miss somethig. Do we have now a new version of the ROM?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] andybog:
Read this ages ago and thought nothing more about it....whats the web address for the site?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] :
here http://windroid.co.nf/cm12.1.html
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] hgmichna:
Consider that the unofficial version is only used by us nerds who read xda-developers.com. An official version is announced to all users as an OTA update.

This means that the effort is a bit higher for some more testing and improvement, but the effect, the total usefulness, would be vastly higher, like I don't know how many thousands of grateful users instead of perhaps one or two dozen.

Not to mention that even the few of us would still benefit from any additional testing and quality improvement.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] limnaln:
I want to ask you something as it seems that you know what you're doing. How can I, if I use the rom, help to improve it - make it better?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] TimeWalker75a:
I fail to see how firmware files or lib files should be made executable, but alright .. the files in system are owner by root, not system as far as I'm aware.

I've used same firmware files from nameless that you have posted and pushed them to /system/vendor/firmware/bluetooth, replaced hw bluetooth.default.so and removed the link from Bluetooth app .. which has lead me nowhere - bluetooth is not working, unless permissions are totally off here (644 for everything, but 777 yields nothing either). It's the same thing when I was actually building the ROM from source not forgetting to move the vendor files to the proper dir.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] :
Yeah, I get and understand that. But you have to keep in mind that the i9305 is a dazzling personality within Samsung's devices. There are only 6 or 7 people left doing ROMs for this phone. Getting this ROM official would mean there should be another one who can work with winxuser or assist him when he's busy. It's time consuming maintaining a ROM, he would have to rely on users providing feedback which has to be useful in form of logs etc. If you're going for daily nightlies each nightly has to be tested. I could go on and on but I'm sure you're getting the point. Not to mention CM's requirements to even consider this ROM getting added to the supported devices.

It's a long way and winxuser stated a couple of times this ROM won't be official. If he changed his mind then I'll say hell yes and support him. But as of now his ROM is like the official supported CM devices. Who really cares if it's official or not as long as it's working?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] kidoucorp:
You're right about permissions, this was just a precaution to make sure that this was not the problem. I actually haven't checked which was the default permissions on other files and so on, as I was doing this at work ;)

But this is obviously need to be improved and probably 777 is not needed everywhere. You said you replaced files from /system/vendor/... but did you also replaced them in /vendor/firmware ? I did for both folders actually. As far as I remember that's all I did, though I played with quite a lot with the files, the bluetooth apk, etc... Maybe I swapped some files and don't remember...

Anyway, I've re-packed all the bluetooth related files from my phone with working bluetooth on 25th build, so try again to replace with these ones as well.

https://drive.google.com/file/d/0B83i-5yPGf7bdGU5TFRFcHgtUWc/view?usp=sharing

(There's probably some files identical to the stock rom, I don't remember having changed all these files, but maybe :))

Btw, each time I changed the files I rebooted before testing.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] TimeWalker75a:
I hate to break it to you but vendor is a softlink to /system/vendor.. vendor -> /system/vendor

And I made sure to reboot after every iteration/step I went rough. I still fail to see how moving the files suddenly breaks everything.

Care to post your exact permissions on dirs/files, opposed to posting files ?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] kidoucorp:
haha ok, I didn't know. Don't know much about Android dev :)

I also broke my bluetooth at some point, couldn't even manage to turn it off again, but mixing some files made it working again.

Sure, here they are (This is obviously not optimal, there's no point to have an xml file as executable for example...). But maybe you'll find one permission that is differing from mine.

etc/android.hardware.bluetooth_le.xml - rwxrwxrwx

etc/bluetooth/auto_pair_devlist.conf - rw-r-r-
etc/bluetooth/bt_did.conf - rw-r-r-
etc/bluetooth/bt_stack.conf - rw-r-r-

system/app/Bluetooth - rwxr-xr-x
system/app/Bluetooth/Bluetooth.apk - rwxrwxrwx

system/bin/bluetooth/ - rwx
system/bin/bluetooth/bcm43334.hcd - rwxrwxrwx
system/bin/bluetooth/bcn4334_murata.hcd - rwxrwxrwx
system/bin/bluetooth/bcm4334_semcosh.hcd - rwxrwxrwx

system/lib/libbluetooth_jni.so - rw-r-r-
system/lib/hw/bluetooth.default.so - rwxrwxrwx

system/vendor/firmware/bluetooth - rwxrwxrwx
system/vendor/firmware/bluetooth/bcm4334.hcd - rwxrwxrwx
system/vendor/firmware/bluetooth/bcm4334_murata.hcd - rwxrwxrwx
system/vendor/firmware/bluetooth/bcn4334_semcosh.hcd - rwxrwxrwx
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
-_- come on guys really if you want it to be official then give me a real reason for it. All I see is that the file name will say official, you can flash a new version everyday. I really don't see the point because I for one do not have the time to be flash crazy and potentially stuff something up. And all the changes in nightlies come in my releases anyway :s
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
And sorry for the delay I fell asleep before the ROM finished building
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
Not yet buddy. Will soon tho just waiting for my daughter to come to my house then I will try and upload the new version
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] winxuser:
Bluetooth is still not picking up devices. Just tried with my daughter tablet and nothing on either device :(