yashsingh1/xdaforums huggingface dataset:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] paul_cad44:
Had a couple of no sim card detected errors after 2 days uptime using experimental ril option 2. Reboot fixes but is back after a while switched to option 1 no issues. So don't think it's fully working.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] eneEYpsiloM:
For me 2, when i switch for ril based on 4.4.4 and reboot the device:

- no SIM card detected;

- in 5seconds i get bootloop.

Option 1 everything perfect.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mop09737:
Using this rom

Hi,

I install this rom and so far so good, everything is OK.

Thank you very much and continue this good work :good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Amadeus1965:
Thanks P.A.N.!!!!! and the other members involved.

Many thanks for porting this CM13 ROM to GT-I9305.

Didn't have time to look in to it last week but meanwhile installation succeeded and this smart phone is functioning flawless for the last days!

I tested all I need/use on daily bases and found no problems for now.

Great job done here!

This GT-I9305 feels as good as my S5 (SM-900F, one of the KLTE versions) really impressive job you have done!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
Sorry, I have to disappoint you, right now I am not planing to. Perhaps sometimes in the future.

BTW - I updated OP with more specific build instructions, if someone wants to repeat my build :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
Hi,

I`ve created another experimental RIL related build (the last one for a while, I`ll do a regular one soon :) ) It is based on propriety files from TheMuppets. You can test it, if you want, but I am planning to use it as base for another RIL implementation in the regular build. I am publishing this mainly because it doesn`t use any chroot or similar hack for the RIL. Although the chroot doesn`t cause any kind disadvantage (the performance drop caused by it is so small that I doubt it is even measurable), someone my find this interesting. I started to use the chroot because of this Now I`ve found so simple and easy solution, that I can`t stop wondering why I didn`t think about it sooner. I simply changed the name of the conflicting symbol (function) in ks binary from connect to xonnect. Because it is called only internally, the name actually doesn`t matter. Only two bytes are changed (maybe one would be enough) and it works :) There was also a problem with incoming calls, luckily an exception pointed me to the a method which also parses callers number, so it wasn`t so difficult to debug (otherwise I`d probably give up).

The code is here (a different branch than I use for regular builds) and in attached diff (only the last change is related to this RIL implementation - the one in init.rc). Also libstlport has to be added, see attached roomservice.xml.

Thanks for additional reports about the multiril feature. I doubt, that it will ever work prefectly :( Maybe if we find some device with official (vendor official, not "only" CM official) MM support. I haven`t yet :(
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
I was about to write him the same thing.

Taking the rom to the next level will be nice.

I really want to try f2fs and optimization like this http://xdaforums.com/galaxy-s3/development/rom-t3296927 rom for 9300. I think the pure CM13 its the best for 9305 and working really nice.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
Thank you all, for your support, but don`t overestimate my importance :) I am really just putting pieces together :) The ROM is getting better mostly because of CM team work, thank them :)

To the f2fs - I am using on my phone my special multiboot, so doing anything with fs would be quite complicated for me, but I`ll study details about it.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] paul_cad44:
Thanks for the new experimental build [MENTION=7112923]p.a.n[/MENTION] will try it today and report back tomorrow.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hubik82:
[MENTION=7112923]p.a.n[/MENTION] Is it possible to change ac charging current value? I'm not asking to add this feature but where in system files should I change it.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] paul_cad44:
Easiest way to to flash agni kernel and change it in the Agni app.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hubik82:
Yeah, but my phone is unstable with Agni kernel... I'm just wondering if it's possible to change it on your own way
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] paul_cad44:
Phones stable for me?! Which kernel are you using?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] hexisg:
the latest experimental looks good...installed the agni smdk kernel for a plus of battery life...all good

keep up the good work.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] paul_cad44:
Initial feedback. Incoming and outgoing calls work. SMS too. Used on commute and similar performance as chroot. I.e signal goes and returns when under train tunnels .

Looking promising :)

Edit: still stable for me . no reportable issues.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] yisss:
Is this ROM stable enough to use as a daily driver?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] woodman:
yes :good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
I`ll be short - there is a new build in OP:)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] sasindu98:
Can someone give me a link to agni kernel and how to get it going?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] floopyb:
http://xdaforums.com/devdb/project/dl/?id=16889

From this page:

http://xdaforums.com/galaxy-s3/development-i9305/kernel-13-06-2014-agni-purecm-v2-8-0-t2339848

Just flash it in recovery
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
For me CM12.1 ril fix my sim signal.

Now if always full signal.

Before was a half of the signal.

Thank you [MENTION=7112923]p.a.n[/MENTION] this solution was really smart. You are the man.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
Thanks for this.

I installed and switched to muppets ril, rebooted.

As always, no data to start with, but airplane mode didn't even get it going. Went to settings and switched network type from LTE to 3g to see of that kick-started it (I only have 3g anyway) and the phone rebooted itself. So no joy with muppets.

Then switched to 4.4.4 ril to give that another try. As always no data upon booting, but data appeared after airplane mode. This was yesterday evening. All was OK, but what happened overnight was what kept happening with the original ril. At some point during the night, it lost connection and stayed that way. No way of bringing it back; airplane mode, changing network type, phone info 'turn off radio' button didn't work. I have attached a screen from phone info when it was in its 'dead' state. When I rebooted it stuck on the CM logo. Held power in to reboot, stuck on CM logo again. So I just restored my 4.4.4 rom at that point,.

So none of the rils work for me.

Three things may make me different from some others who have no problems:

1) I am 3g only, my network (Virgin UK) does not have 4G/LTE

2) My network is an MVNO of another (EE)

3) I'm in a weak signal area. A working ROM often hops between 2g and 3g as I move around the house.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hubik82:
Maybe it's something wrong with your hardware or network? For me all RILs are working fine, I have always active data right after I enter PIN, no matter which network type is set.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Bleiz:
Hey [MENTION=3276350]floopyb[/MENTION] which kernel version you are using? I'd like to use Agni aswell, but I don't know which version works best with this rom. TY.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Glenn2:
Well it's reported by p.a.n. in the OP (airplane mode to get data working) and others have this too.

As I said above, it probably IS something to do with my network....

Don't see how it can be a hardware problem as always 100% fine on any Samsung ROM and also on CM11 and CM12.1.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Pe1ican0:
Your question has been answered quite a few times in this very thread.

Both i9305 versions work but you might experience graphics glitches with the 5.x build.

If you do, just flash the latest 4.4.9 version instead. Glitches will be gone!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Pafzedog:
If you mean remote apps to control kodi like "kore" or "yatse" then yes, I'm using it with no problem.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] ymlik:
Hi [MENTION=7112923]p.a.n[/MENTION] ,

Could you put the Selinux mode enforcing on your next update please ?

Thanks.

Ymlik
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Hubik82:
Thx. I'll check it. Wonder why it gives that sort of problems. I use BlackedOut theme which is updated frequently. Seems that there's something wrong in Agni kernel. We'll have to investigate what is it.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] trubul:
Hey, this fixed worked for me in 5.1.1... but now it doesn't work same as GPS :( any help?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Pe1ican0:
If I am not mistaken this fix might already have been included in the ROM by pan.

The first time I installed this ROM (over 5.1.1) I lost my GPS completely. It was a straight upgrade & I followed the steps from OP so I am not really sure why it happened.

I got the GPS functionalities to work again by restoring NV through the service menu accessible from a stock ROM.

I flashed this ROM various times since I restored GPS & never had this problem again.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] emil221148:
Hey

Is there any option to install xposed? I dont know which version of xposed ll be working with this rom.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] ymlik:
Hi,

Yes, Xposed works well with this rom.

xposed-v80-sdk23-arm.zip

Regards
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
All my build in this thread (maybe except some experimental ones) have enforcing selinux, including the last one (I checked). Aren`t you using some different kernel?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] ymlik:
I have the latest version and in settings :

State SELinux : Permissive

I have agni v.4.5.1 kernel.

Regards
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
That is most probably the reason for permissive selinux.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] ymlik:
Thank you [MENTION=7112923]p.a.n[/MENTION], that was it.

Thank you again for your superb work on this rom
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mop09737:
New Rom report

Hi,

Thank you very much for your work.

I install this new rom (25.02) and until now the problems that I found are:

The screen doesn't rotate (pictures for example)

The battery goes fast.

Thanks again and continue this nice work.:good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] lucaspog:
Rom I like very much but I have a serious problem.

The screen doesn't rotate. Is this a solution?

I tried AGNI kernel but the blinking screen :(
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
I have no issus whit the screen rotation.

I found the rom verry fast.

In new version trusted face (face unlock) is not working. Battery drain little fast. No other issus
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] ThomasOMalley77:
GPS not working for me...

...did a clean install.

Did enable it in settings but it didn't make a difference.

Does anybody else have this problem?

Nice ROM BTW. Very fast.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] jrafael:
Thanks, but I was asking for the actual kodi app, I installed the app but just forecloses after 20~30 seconds, I have done full clean install but still not working.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
For me was working but was not accurate.

Flashing the fix, fix my position.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] foxo18:
Which fix do you mean?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
http://xdaforums.com/showpost.php?p=57660774&postcount=240
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] foxo18:
Didn't work :/

I also tried the procedure oft flashing a stock Rom and restore the nvbackup
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] lucaspog:
Also you have a problem with the camera? White color is blurred streaks

Edit:

enough to wipe the camera :)

To remove my post
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] rxracer7:
Hi.... new here. Firstly, thank you so much for doing a marshmallow rom for the i9305. One tiny (I think) request. In kitkat I could choose no lock screen. From what I've read official 6.0 has this option too. I'm guessing you have an enormous list of thing to fix, but if you have time could you add no lock screen option? Thanks.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Bleiz:
Last build is very stable and good, I like it. Good job P.A.N. and big thank you for all your work for our device!

Also, a thing I noticed. For some reason, my phone works better with CM and default kernel, it feels laggy and unstable if I use Agni, so I decided to stick to default kernel. :D
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
I have no problem with screen rotation, so I have to ask (the same for [MENTION=484075]mop09737[/MENTION]) - is it enabled on you phone? Or what exactly is the problem?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
What do you exactly mean by no lock screen? I didn`t notice any problem, or missing feature in this are...
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] 西村大一:
Same here. After a reboot it works for a couple of minutes but then it will just stop working, even if i disable and reenable. For the moment i found an app that will switch the screen into portrait, landscape, etc. from the notifications. If you want any logcats, just ask me. And fyi, i am on the 4.1 bootloader.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mop09737:
Rotate screen

I'm sorry, in settings it's possible to customize that, now it's working.

The rom is very stable and I like it very.

Now I have another problem, but the cause is probably the way I root my phone. The message that I get now is that the is not rooted. Can someone help me?

Thanks,
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
OK, thanks for the information, I`ll take a look at it. You can send me some logs, if you find anything related to it. If not specific steps to replicate the problem would be great. Is this a new bug or something older?

I am planning to make a new build, so perhaps, it will be fixed there.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
No need to root the phone (unless you want something special). Root is already there. Just enable it in developers menu (it was discussed in this thread, or you can google it).
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mop09737:
Rotate screen

OK, thanks. :good:
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] 西村大一:
I do not think it's older because i didn't have it before. I will logcat and if i see something i will let you know. Cheers, and i congratulate you for making the 'impossible' possible.

EDIT: Here is the logcat output. I don't see anything wrong really, but i dont know to much. It just looks like it is fine. Maybe a modem change will do it? I'll edit again after i flash a newer modem (if i have an older one that is...)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] rxracer7:
In settings -> Lock Screen -> Screen Lock, there should be a setting called 'None'. It disables/removes the lock screen, so when you start or wake your phone you go straight to your home screen. That option is gone.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] lucaspog:
How to add app to folders in menu list ?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mop09737:
TWRP not Available

The problem that I have now is, not with the rom, but when I install this rom the recovery mode TWRP that I use to flash just disapear. So now I have to install it again, I don't if the problem was mine when flashing. There is an easy way to solve this, so I can get again the TWRP recovery mode?

Can you help? :confused:

Thanks,
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Bleiz:
Well mate, you can simply flash TWRP recovery with Odin via PC or you can flash recovery.img via flashify app. I hope this helps you!

Another subject,

Guys I need your help. Why I can't setup trusted voice for unlock? It's shown out there, I can tap on it, but nothing happens. I need Google Text to Speech or what? Any help would be appriciated!
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] bretzelpopo:
I think you have check update cyanogen recovery, in setting, developer. Just uncheck it.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] zilia:
First of all thank you very much [MENTION=7112923]p.a.n[/MENTION] for this marvellous rom. Great job. You gave a new birthday for my old s3 yesterday.

Did a clean install with bld 25.02 . Default RIL.

Here is the report:

- Works stable with all kind of data Lte/3g/2g

- Smooth and no battery drain above sammy stock kitkat

- screen rotate works everywhere

- wi-fi hotspot mode is NOT available in quick settings tray (until you set up it once in setiings menu)

- CM default file manager crashes when you tap general item in it's settings.

All for now.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] mop09737:
TWRP

Thanks, I've install it again via Odin. ;)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] one_million:
Big thx p.a.n for this great job! Smooth,fast, and at first look -daily use rom ;))) Offline charging works great,not like in many other roms. i had big problem with that,while offmode charging. some unknown cm bug for many devices,screen stuck,freez on battery animation(tested s3 mini few models,s3,s3 lte,s4...same problem for all). but now about your rom. screen rotation + , RIL +, battery +, video calls (skype,messenger)+. Viber video call does't work. some bug with browser,like in other official CM13 roms,cant download any file untill disable and enable again root permission.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Bleiz:
Unfortunately I had to return to stock. I was using this rom and it's fast and awesome, but unfortunately it was dropping WiFi connection randomly, even when I am just in another room. It would return after 30 seconds or so. Anyone experienced similar thing?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Sectorian:
[MENTION=7112923]p.a.n[/MENTION] can i ask for a cm update?
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
Hi [MENTION=7326244]BorkenStyler[/MENTION],

There is an option for this somewhere in the setting menu.

Try BetterBatteryStats or something similar to see what causes this. It could be mdm_hsic_pm0 kernel wakelock bug.

To the build:

1) it is actually the same error. The build runs in several threads (processes) so it looks always differently, because the threads which don`t have this error always stop at a different point. The error in you case is this:

make: *** No rule to make target `vendor/samsung/smdk4412-common/proprietary/sbin/cbd', needed by `/home/max/android/system/out/target/product/i9305/root/sbin/cbd'. Stop.
make: *** Waiting for unfinished jobs....

The /sbin/cbd is one of proprietary files, which was in some list of these files for i9305. During my first attempts to build cm13 I simply created a fake one, because I didn`t have it, to see what happens. The ROM worked without the real on, but forget about it and removed it just recently. You probably run extract-files.sh before the removal and then checked out the code again. Rerun extrac-files.sh again, it should help.

2) What exactly is the problem with repo_patch? Do you know diff and patch commands? This is similar, it just works with repo diff instead of diff. There is no repo patch command, so I found the script on google groups (nothing complicated, I could write my own, but I found it while googleing for repo patch, so I am using it :) ). Just copy the script into ~/bin/repo_patch and make it executable. It is similar to creating [/I]the repo command.

3) Right now there is a problem with RIL chroot - it won`t start, because of some changes in environmental variables. I have almost finished a solution for it (or at least I hope so :) ), but you have to wait for a while until I really finish and test it - if everything goes well, it may be tomorrow.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] zilia:
[MENTION=7112923]p.a.n[/MENTION] wow! Tomorrow... can't wait for it. Hope you'll try to fix the file manager settings FC. Really miss it.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] TEKHD:
as stated here:

http://xdaforums.com/showpost.php?p=65465620&postcount=958

Don't ask for an ETA on XDA again, never ever again.

Asking for an ETA is the XDA equivalent of telling a Developer that the free work they do just isn't enough for you. It usually comes across as rude and/or demanding, and most developers will take offense to it. Even if a particular Developer doesn't mind being asked for an ETA, there are many that do, and there's a good possibility that it will incite arguments in the forum. In the end, it's just best to avoid doing it altogether.

Be Kind, Be civil...Post respectfully...

Stay on the Topic of Development...

Thanks

TEKHD
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] Bleiz:
EDIT: After clean install of stock ROM and again installing this ROM I am facing same problem. Could it be affected with gapps? I am not sure what to think.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
Don`t get confused, I was referring to a problem with RIL caused by upstream code change. AFAIK the hotspot mode has been always in my builds and I didn`t notice any problem with FM (you can try deleting its data).
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
You don`t need to create the cbd file - AFAIK it is redundant. The extract-files.sh recreates the makefiles, so it is no longer requested. The latest error is a conflict between my and smdk4412-common selinux config - did you run the repo_patch? You hav to execute it in the ~/android/system directory (or whatever directory are you using for the build).
[Galaxy S III I9305 (4G LTE + 2GB RAM) Android Deve] p.a.n:
Hi,

here is a new build, from the fresh code. Although AFAIK it works correctly, I marked it as experimental for several reasons:

1) Because of a change in upstream code I had to add a new feature to the RIL chroot - specific environmental files for each chroot. Without this, RIL doesn`t work.

2) There is F2FS support in this build. If you don`t want to use it, nothing should change for you.

3) This build uses TWRP as recovery. I needed some recovery with F2FS support, so I compiled this one with it (AFAIK the official version of TWPR doesn`t support F2FS)

4) because of TWRP is now used lzma for both kernel and ramdisk - you shouldn`t notice it, unless you try to analyze the boot.img :)

5) There is a small problem with RIL - if you wipe /data, it doesn`t start for the first time, reboot is needed. After that it works.

You can download here:

cm-13.0-20160307-EXPERIMENTAL-f2fs-i9305.zip

TWRP-3-20160307-UNOFFICIAL-F2FS.img(deleted - fixed version is here)

If you want to use F2FS, be extra careful and follow these steps:

1) flash TWPR

2) make a backup to external sdcard or flash disk over USB OTG

3) in TWRP select Wipe -> Advanced Wipe -> Repair or Change File System select cache, click Change File System and select F2FS

4) repeat the same for data

5) you can try it also for system, the support for this is in fstab, but the phone didn`t boot with it (probably something with selinux)

6) restore the backup (you will see a warning about different fs)

7) reboot the phone