yashsingh1/xdaforums huggingface dataset:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Manu*:
After restoring cm13 kernel, usb charging to 90% ... using phone normally ... no mdm_hsic_pm0 wakelock observed so far.

I'll keep an eye on it.

Thanks p.a.n for your help and reactivity.

---------- Post added at 09:57 AM ---------- Previous post was at 09:55 AM ----------

Tested 5.x yes :-/

Revert now to cm13 kernel but maybe I'll give a try to version 4.4.9 ;)

Thanks !
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hubik82:
So who created this script? CM team? I hope there's a chance to modify this script...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] shakee93:
Here it is

Settings - Location - 3 dots on top right - scanning - turn of wifi scanning

And then

Settings - backup & reset - network settings reset

Then reboot.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] aaz03:
Can someone please upload the rom to a mirror? IDK why but looks like AFH doesn't like my IP and i get 30KB/s rate...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] JD. A:
Where do you want it Mega? I'll do it if it's okay by [MENTION=5486550]p.a.n.[/MENTION]
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] woodman:
Done to MEGA. Check your PM :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] aaz03:
Wow thanks a lot guys :D
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Amadeus1965:
Thanks FloodW for your quick reply.

I did exactly what you describe.

I did try again but no luck.

Actually in TWRP I can't get any other ROM installed. I tried a few.

So I did reinstall the original SamSung ROM.

After that I got ODIN started and installed good old CWM and later Chainfires Root and Busybox for GT-I9305

I did try to install again. At least CWM tells me where is goes wrong. The installation is aborted due to a status 7 error (what ever that may be).

I get the the following text in CWM:

Installing update...

Warning: No file_contextsThis package is for device: M3, m3xx, I9305, GT-I9305: this device is m0.

E: Error in sdcard/cm-13.0-20160208-UNOFFICIAL-i9305.zip.

(status 7)

Installation aborted.

But I am running it on GT-I9305 so it should be the right device????

Please can anyone help me out here?

How do I get rid of the Status 7 problem????

All help is very much appreciated!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] doodownunda:
Hi mate try installing from the internal storage not your external sd card itself :D and see if that help's?

For me this is the only way sometimes, I think it is my SD card.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Amadeus1965:
Thanks I already did read something about the SD card issue and tried it yesterday in the setting with TWRP 2.8....

But it didn't work out.

I just installed the newest TWRP for this GT-I9305.

i will move the files to internal storage and unzip in TWRP from there.

Keep my fingers crossed...

No doesn't work here.

Same problem.

I was just reading something about this ERROR 7, seems that it's possible to edit the install file and to overcome this problem.

Look here: http://xdaforums.com/showthread.php?t=2522762
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] xVitja:
Yes with this it will install the rom I had the same problem years ago with my old Xperia p
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] netuddmeg:
its awesome, smooth..

does its work until I turn on the wifi.. then no RIL.. bootloop after restart..

still buggy, but for a port, its very good :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] BMP007:
i have install it today first time. First look is good.

But in my Android Studio 2 i didnt recieve any Logcat ?

Is Logcat disable in this Build ?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] floopyb:
I cant seem to find the developer options... looked everywhere! :confused:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Pafzedog:
Tap ten times on "build number ” under " about phone " menu to enable developer options
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] floopyb:
There it is! Thanks, got root:good:

Also I'm getting Bluetooth Share crashing when I try to enable Bluetooth
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] bob62:
i've had the same of you,reflash the rom only it works for me
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
It seems to be selinux related, I`ll try to fix it. Until then try execute setenforce 0 as root to set selinux to permissive.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] nielowen:
Does the 20160115 version require a clean install? I've spent an afternoon trying, without success, to do a dirty flash (wiping only Dalvik, cache and system). I've tried both pico an nano versions of open gapps. I am also on beta supersu 2.52 - which has worked OK with previous versions of this ROM.

I'm not exactly a novice but I am not sure what to try next, other than a completely clean istall...

Update: No, not even a clean install works for me. I'v even downloaded the rom again...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] floopyb:
I tried flashing the rom again but still Bluetooth crashes.

Pan, how do I do the above?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] daedric:
Weird... my bluetooth enables ok :)

My camera though, is being funny. Can't switch to record with google camera. And i'm forced to on first run...

It's google camera related, i can record in the messager app.

partial logcat:

http://pastebin.com/raw/6Zky5B2V
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Pe1ican0:
Google would have given you the answer to your question in 30s.

Anyway, 2 most common ways to do what pan advised;

1. Execute as root in terminal emulator (install a free one from Playstore) the commands:

su

setenforce 0

2. Execute the same commands from PC using adb.

Sent with Tapatalk
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
After i reflash the rom again a lot of bugs are fixed.

Maybe we need a better recovery for the Cm13.

Its good for dayli driver but CM team need to fix a loot of bugs out there.

I dont feel the CM13 better the CM12.1 (Smother).

Maybe its not complete. All CM rom in the begining are slow and in the final versions are prety fast.

Apps launch time are little slow.

I will stay whit this rom becouse Theme Engine Font now working. In Cm12.1 for me are not working on evry rom and i dont know why.

After all good job mate.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] AGRM:
I am also getting Bluetooth Share crashing when I try to enable bluetooth in the cm-13.0-20160115-UNOFFICIAL-i9305.zip version. [MENTION=3276350]floopyb[/MENTION] Did p.a.n.'s workaround work for you?

In the meantime floopyb, I have gone back to the the cm-13.0-20160106-UNOFFICIAL-i9305.zip version where bluetooth seems to work in the primary user although Bluetooth Share crashes in that version as well in the the Added User.

@ p.a.n. Thanks heaps for Marshmallow. I could never get bluetooth to work properly in Lollipop on my i9305 so I have fingers crossed in these early days that with your help I will be able to finally upgrade from KitKat.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] pen68:
Thanks pan. Can you add iPlayer to the list of 'issues' ?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] floopyb:
Thanks for the help, I do get a bit nervous with blindly following google with this stuff, will search more in the future :)

Just tried it and it seems to work. No crashing but I havent tried to connect to any devices as Im at work.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
Bluetooth is working for me.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] psychok9:
I had to disable bluetooth sharing because was crashing every 15 seconds.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] floopyb:
I just tried Skype again (wasnt working yesterday, couldnt connect to video call) and after setting setenforce 0 it seems to be fine.

A few small things:

There is no gallery app?

I have added some custom sound files for notifications which work fine except in Hangouts, it is set to play the custom file but only plays the default notification sound.

Is it possible to get a version of the CM internet browser, I hate how chrome tabs work now :(

Thanks for all the awesome work getting this rom working! Other than the above, my s3 is running better than it ever has!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
What is wrong with it?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
Aren`t you using some different kernel? What is the selinux status on you phone?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
In this case it is selinux problem. Could you, please, send me the avc log as I aked in OP? I don`t use skype, so I can`t recreate it.

I didn`t do anything with the (not)included applications. It is all from cyanogenmod sources. But there is a gallery app.

Seems to like hangouts problem, or not?

I don`t understand, CM browser is included.

You`re welcome :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
Agni kernel.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] woodman:
I had this "no logcat" issue when using superSU instead of built-in root access app. So, is it your case ?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] BMP007:
ok.... I use superSU ;)

thank you for your hint !

---------- Post added at 07:59 PM ---------- Previous post was at 07:13 PM ----------

I have reinstall CM13 without superSU but no Logcat is show.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] woodman:
In developper settings, did you change root access to "application / adb" ?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mad89:
Great with job this ROM. I had only one issue with this ROM. Not working camera, but I found solution. ROM already contains camera fix, but fix is not complete. Is missing file "SlimISP_PH.bin" in "/data/cfw/". File is in attatchment. The full package with fix I found in this topic (search for camera fix in first post). I hope it will be included in next build.

I hope I helped :)

Edit: If some one have camera issue he can flash this fix until it will include in ROM (I hope)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] BMP007:
Yes, Apps and ADB have Root.

In Android Studio he show me if the App run or when is Dead. The connection works.

If i try with Shell start Logcat i become "unable to open log device 'main'"
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] woodman:
Sorry I don't use Android studio, I can't help.

I thought it was a general issue with logcat when using superSU. In my case logcat was not shown when using Catlog or SysLog on Android only with SuperSU... I thought it should be the same with Android Studio.... I didn't test with a computer. Unfortunately I've switched to Amcha ROM, I can't test. :-/
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] BMP007:
Ok, with SU logcat i become the Logs....

It must be a right problem with this build.

Is there a way to start the logcat with su on system startup ?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hubik82:
Another wierd thing about this rom (or CM13). I deleted some system apps I don't use such as Eleven or Email app. After reboot I've got a bootloop. Ok, flashed ROM again and then I've disable those apps from app settings instead of deleting them using file manager. But... the result is the same - bootloop after reboot. WTF is that? Anyone else had problem with that? On CM12 deleting those apps was not a problem. Do I really have to use apps I don't want to? Bloatware was always something specific to producer/carrier ROMs, not CM ROMs...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] BMP007:
Has anyone working Logcat with this rom ?

I try to make a new startupscript but i didnt find the logger.ko in the Rom.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
I suppose it comes from AOSP and I don`t expect it will change to the old way. I was fighting with this as well, so I can give you some tips. It requires some Linux commands knowledge and understandig the install process, but since you changed the partition size, I suppose you are can handle this:)

You need a block device with the exact size as the original system partition. It could a loop device - you have to log in using adb in the recovery mode and create it (you`ll see some error messages during installation, but AFAIK it is OK), or you can create similar partition on sdcard (easier, probably without error messages, but I didn`t try it). Then unzip the file with ROM and change the device used by block_image_update commad to whatever you created in previous step in META-INF/com/google/android/updater-script. You may also want to remove boot.img flashing. Zip the file again and install it as usual. Now you have the new ROM installed on the block device you used. One way how to proceed is to mount it and copy all the file to the system partition, but this never worked for me (I didn`t find exactly why, I suppose cp changes some metadata which are sensitive for the system). So you have to extract ramdisk files from boot.img (find the second zip signature, dd it out, unzip and uncpio it, google can help you). The file you are looking for is file_contexts (in running system it is in the root directory, but you have to use the one from the ROM). Now mount the block device. There is program /system/bin/make_ext4fs in it (I don`t understand why it is there, but it is :) ). It is used during the build to create the partition image. Execute it like this:

make_ext4fs -T -1 -S file_contexts -l size_of_yur_system_partiton -a system system_img_file your_mount_point

This creates system_img_file, which you can dd to your system partition. If you disabled boot.img in the first step, dd it as well.

I hope it makes some sense :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
It looks like there is something wrong with your recovery (version for different device?). The test that failed is AFIAK based on simple reading files like default.prop or build.prop. You can use the process linked by [MENTION=4999092]Amadeus1965[/MENTION] but I`d suggest to focus on default.prop file in your recovery.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
I have no problem with camera, but may have a different model. I`ll add this file, no problem :) Thanks.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
AFAIK several people remove some apps. I do :) I remove those two you mentioned and some others, without any problem. So just a hint - try deleting whatever is created in /data/data for these apps and cleaning caches. I hope it helps.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
I am using logcat all the time. It is almost impossible to debug something without it. So I suppose you are trying to do so in some other way than me. How? I use logcat from adb, usually from adb shell and it works well. Did you try permissive selinux?

What is logger.ko? Based on the .ko I suppose it is some kernel module...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hubik82:
S3

Ok, thanks for advice. I'll give it a try. On CM12 was it not so complicated.

---------- Post added at 10:40 AM ---------- Previous post was at 10:39 AM ----------

Yeah, I forgot about stuff in data/data, let's see if that's the problem. But still it shouldn't be when using "turn off app" in settings...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
I have no idea, what could be wrong. But I am working on porting RIL from rodman01s vrtoxin build, maybe it helps. Did you try that one?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
Strange CM12 was the firs time I`ve met this binary installation.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hubik82:
I used same partition resize thing on i9300 and installing CM12 was not that complicated. 1GB system partition was enough. But now on CM13 I tried different sizes and it works only with original partition size. Maybe something changed in Marshmallow itself.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] pHr34kY:
FWIW, logcat seemed to work in p.a.n's first build (the one posted to winxuser's thread) - but I believe it was broken in the second build (or maybe I did something to my phone, who knows).
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] BMP007:
Ok, you are my hero of the Day ;)

After i take Selinux to moderat i can see the Logcat in Android Studio.

But it is the first build i use, who take me to this.

The other builds i used, logcat will show without make Selinux to moderate.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
In that case, please, look in OP, there are some instructions for similar situations. I can`t promise, that I will be able to fix it (it may by similar situation as with Viper4Android), but I can try :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] BMP007:
With Strikt mode and dmesg | grep'avc.*denied' only one Line come out: dmesg: klogctl: Permission denied
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
Could you, please, send the whole line?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] BMP007:
Yes i can ;)

[18168.248745] c2 type=1400 audit(1455710790.453:1357): avc: denied { search } for pid=5177 comm="logcat" name="log" dev
=tmpfs ino=2232 scontext=u:r:shell:s0 tcontext=u:object_r:log_device:s0 tclass=dir permissive=0
[18168.250090] c2 type=1400 audit(1455710790.453:1358): avc: denied { search } for pid=5177 comm="logcat" name="log" dev
=tmpfs ino=2232 scontext=u:r:shell:s0 tcontext=u:object_r:log_device:s0 tclass=dir permissive=0

After a few Seconds:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Amadeus1965:
I did try the modification in the updater script.

I also did install the newest TWRP for GT-I9305.

I have the same issue now as with the older TWRP. The CM13 zip unzipped smooth and the GApps zip took long time.

The phone reboots but stays in boot for hours. Doesn't look like the classic boot loop because then the boot restarts all the time. It just keeps booting and never ends.

Please tell me ..... Where can I find the recovery file on my phone and how can I correct the build.prop (I have really no idea).

I dubble checked it's a real GT-I9305 with LTE and 2 GB (but it's the european Exynos version).

All help and instructions are very welcome.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
Hi,

in OP is a new build from fresh code. I added the SlimISP_PH.bin file (thanks to [MENTION=2381451]Plemnik[/MENTION]), fixed the crashing gallery for non-owner (I added the INTERACT_ACROSS_USERS permission, I hope that it is a correct fix) and added rules for selinux denies [MENTION=4396089]BMP007[/MENTION] reported (there will be probably some other iterations necessary). I wanted to add the wifi patch I mentioned few days ago, but it is already there.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Bralex81:
I like the new camera app. Keep up the good work ?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] :
is it just me or are downloads from afh awfully slow again?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Trafalgar Square:
Same

[MENTION=2645378]AndroidFileHost[/MENTION]

For me. Mirror Germany
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
[MENTION=7112923]p.a.n[/MENTION] you are N1 man.

The camera app is a beast. It solve my video rotation problem. Really feel happy whit the CM13.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] daedric:
Negative on that. Germany mirror would keep up with half of my 30mbps download speed, but the France one easily locked tight at the maximum (3.4MB/s)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] AGRM:
[MENTION=7112923]p.a.n[/MENTION] This ROM just keeps on getting better and better and I think you are doing a tremendous job. Not only are you updating the ROM on a reasonably regular schedule, but you are clearly reading and responding to the feedback here and seem to be working through the list of bugs and fixing them completely.

With the latest build I note that the handover from WiFi to LTE now happens instantaneously and without fail without the need to set the Developer Option to aggressive as noted in one of my previous posts. Gallery in the alternative user has also stopped crashing as you indicated.

The only bugs that I now have on my list (I haven’t used the camera and have not tried to uninstall stock apps) are:

1.	non-working crossed circle on the Bluetooth quick settings tile – described in my post on 13 Feb (see here on tab 35) which is really only a cosmetic issue if I am honest; and a new one that I forgot last time, which can be really irritating

2.	difficulty getting the internal memory and SD Card icons to display in the PC Window when the phone is connected to the PC using the Android Debug Bridge – initially a blank or empty Window pops up and the two icons only display after altering the “Select USB Configuration” in the Developer options over and over and usually finding that it repeatedly reverts to “Charging” and does not in fact properly register the MTP setting even if that radio button appears selected. Hopefully you can at least recreate this problem if not fix it.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] BMP007:
I am sorry but in the new Build the Logcat doesent work with SeLinux:

dmesg | grep'avc.*denied':
[ 1177.196250] c0 type=1400 audit(1455786658.425:479): avc: denied { read } for pid=9965 comm="logcat" name="system" dev=tmpfs ino=566 scontext=u:r:shell:s0 tcontext=u:object_r:log_device:s0 tclass=chr_file permissive=0
[ 1177.201335] c0 type=1400 audit(1455786658.430:480): avc: denied { read } for pid=9965 comm="logcat" name="main" dev=tmpfs ino=563 scontext=u:r:shell:s0 tcontext=u:object_r:log_device:s0 tclass=chr_file permissive=0
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
I wrote that this will probably need more iterations :) Try the attached boot.img.

BTW. How exactly are trying to use logcat? From adb it works perfectly without these rules...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] woodman:
He uses Android Studio 2. Quoted below :
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
I know, I wanted some technical details. I was confusing for me how it was possible, that it doesn`t work for him, and it works for me over adb. It should be the same method, right? I overlooked one important detail - I am automatically changing adb to run as root on my phone. In that case logcat was OK for me. My mistake, sorry for that. Know I have all I need to fix it.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
This boot.img should fix it.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
[MENTION=7112923]p.a.n[/MENTION] you can edit the main (first) page whit the bugs chanelog.

Half of the problems are gone. And a good CM logo (wallpaper) will be nice for the customers.

This rom work great and the people need to know this.

Thank you great work.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
Well, I am not sure about the torch bug, but the rest is either still valid or crossed out. I could remove the FM diff, since it is included in the attached diff, but it is not obsolete. To me it looks OK, maybe some minor rephrasing. Logo? Yes it would be nice, but headline clearly says Cyanogenmod.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
I keep in mind the bluetooth problem, I am planning to take a look at it, but I must disappoint you with second problem. I`ll do some more test, but so far it has worked fine for me. Anyone else having this problem?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] kidoucorp:
Don't know if it has been said before but it seems that some apps can't access external sd when browsing dialog appears (to select a file or folder). At least happens on SMS Backup and OpenCamera when I try to select external SD to save files. I think it's missing the mounpoint /storage/emulated/1 (I think it was mounted under that name in cm12). As well I think 0000-0000 (external SD) was named sdcard1, but it's not really important neither, just so you know .

Otherwise rom has been working very well so far, great job !