[ROM][4.3.1] CyanogenMod 10.2 for GT-I8190 [2013-11-16]

Search This thread

efaustino84

Senior Member
Feb 13, 2013
773
257
Harare
Hi,

different question. I'm somewhat familiar with SELinux. It might be possible that I can help (re)activate SELinux on this rom. I don't know what I have to install/setup on my local machine, but a test might be worth it?

Klaus
you will need to build up a dev environment to download the source code and to then compile your changes check OP pages for details of github
 

Eskuero

Recognized Developer
Feb 15, 2012
1,388
2,284
OK, fine, will check this weekend.
what were the experiences, noting that in the rom the policy was changed from permissive to disabled?

Nothing will get broken changing from disabled to permissive, but the idea is to keep it on enforced mode.

Enviado desde mi GT-I8190 usando Tapatalk 2
 

lklaus

Senior Member
Jan 27, 2013
269
87
Fairphone
Nothing will get broken changing from disabled to permissive, but the idea is to keep it on enforced mode.

that is correct ("of course"), but I guess you had a reason to switch from permissive to disabled? amount of log messages causing performance problems? or just making log files unreadable because of too many data?
 

Eskuero

Recognized Developer
Feb 15, 2012
1,388
2,284
that is correct ("of course"), but I guess you had a reason to switch from permissive to disabled? amount of log messages causing performance problems? or just making log files unreadable because of too many data?

I did switched to permissive in past, but since I didn't had enough time to fix I reverted it, anyway actually 4.4 should have it enabled by default on enforcing mode, so is a work I should not skip anymore :p

Enviado desde mi GT-I8190 usando Tapatalk 2
 

lklaus

Senior Member
Jan 27, 2013
269
87
Fairphone
I did switched to permissive in past, but since I didn't had enough time to fix I reverted it, anyway actually 4.4 should have it enabled by default on enforcing mode, so is a work I should not skip anymore :p

Well, this then depends on your plans, as e.g. Maclaws CM11 Version disables SELinux. I'd prefer to having it enabled (and enforcing, if possible), so if there's help needed, I'll definitely try...

Klaus
 

Eskuero

Recognized Developer
Feb 15, 2012
1,388
2,284
Well, this then depends on your plans, as e.g. Maclaws CM11 Version disables SELinux. I'd prefer to having it enabled (and enforcing, if possible), so if there's help needed, I'll definitely try...

Klaus

On 4.3 selinux is permissive by default when enabled, but on 4.4 is enforced when enabled, so I must fix it. Anyway for porting I'll switch to permissive until things are well working, otherwise it might be a mess to understand when we lack on permissions and when we lack on real fixes.

Enviado desde mi GT-I8190 usando Tapatalk 2
 

lklaus

Senior Member
Jan 27, 2013
269
87
Fairphone
On 4.3 selinux is permissive by default when enabled, but on 4.4 is enforced when enabled, so I must fix it. Anyway for porting I'll switch to permissive until things are well working, otherwise it might be a mess to understand when we lack on permissions and when we lack on real fixes.

Great, glad to hear. And yes, it won't work well if you try to get it working and start in enforcing... For this permissive is the way to go...
 

FcukBloat

Senior Member
Jun 18, 2012
6,284
3,012
hi! sorry for cross posting, but I don't know if anyone will read my post in the other thread (cm10) as I see there is no activity there..
does exist any possible fix for people like me that don't have ril at all with i8190 and cmX? I already tried many basebands with no luck, always no ril at all, and no possibility to choose a network (I get an error)

so strange some people have such problems and some other don't

any suggestion? thanks!
 

efaustino84

Senior Member
Feb 13, 2013
773
257
Harare
hi! sorry for cross posting, but I don't know if anyone will read my post in the other thread (cm10) as I see there is no activity there..
does exist any possible fix for people like me that don't have ril at all with i8190 and cmX? I already tried many basebands with no luck, always no ril at all, and no possibility to choose a network (I get an error)

so strange some people have such problems and some other don't

any suggestion? thanks!

first suggestion - please attempt to capture a log of the issue check the OP page for links on how to do this
thank you
 

FcukBloat

Senior Member
Jun 18, 2012
6,284
3,012
first suggestion - please attempt to capture a log of the issue check the OP page for links on how to do this
thank you
I know how to get a logcat.. but I don't think it is so useful in this case.. I mean.. that's not a problem that appears suddenly.. it is always like that!
no ril at all all the time.. so in the logcat there will be useful information?
 
Last edited:

efaustino84

Senior Member
Feb 13, 2013
773
257
Harare
I know how to get a logcat.. but I don't think it is so useful in this case.. I mean.. that's not a problem that appear suddenly.. it is always like that!
no ril at all all the time.. so in the logcat there will be useful information?

ril is a known issue (check OP page)
in order to help dev to fix it please provide a logcat
this is the only way it will then get fixed as not many people experience this problem

in addition to getting a logcat when you have this CM ROM installed, please also get a logcat of a stock based ROM running on your phone where ril is working

thank you
 
Last edited:
  • Like
Reactions: FcukBloat

FcukBloat

Senior Member
Jun 18, 2012
6,284
3,012
ril is a known issue (check OP page)
in order to help dev to fix it please provide a logcat
this is the only way it will then get fixed as not many people experience this problem

in addition to getting a logcat when you have this CM ROM installed, please also get a logcat of a stock based ROM running on your phone where ril is working

thank you
ok thanks, will do. it just sounded strange to me that nobody posted a useful logcat yet so far as I guess the problem is pretty old, but if it can be useful I will surely do!
 

efaustino84

Senior Member
Feb 13, 2013
773
257
Harare
ok thanks, will do. it just sounded strange to me that nobody posted a useful logcat yet so far as I guess the problem is pretty old, but if it can be useful I will surely do!

that is true, it is an old problem
but just the fact that it does not affect every one means that there has been less talk of the problem and so no logs of it either
 
  • Like
Reactions: FcukBloat

FcukBloat

Senior Member
Jun 18, 2012
6,284
3,012
hi. I'm attaching all logs generated with:

- cm10.1 / jb4.2
- cm10.2 / jb 4.3
- stock 4.1.2

All the above running with same BaseBand (I8190XXAMJ3)

In both cm10.1 and cm10.2, I have no RIL at all (it seems the sim is not recognized at all)
In stock 4.1.2 everything works fine, including RIL

cm10.1 and cm10.2 were installed with full wipes, and logs were acquired after a few reboots, immediately after phone booted up and after I entered "network operators" settings and tried scanning for networks (getting the error)

Hope the logs can be of any help! Please people with skills try to find a solution to this very big (for some) problem!

PS. both cm10.1 and cm10.2 were by maclaw, but I think problem with those and this rom is exactly the same!
 

Attachments

  • cm10.1.zip
    104 KB · Views: 4
  • cm10.2.zip
    105.2 KB · Views: 8
  • stock.zip
    458.9 KB · Views: 3

efaustino84

Senior Member
Feb 13, 2013
773
257
Harare
hi. I'm attaching all logs generated with:

- cm10.1 / jb4.2
- cm10.2 / jb 4.3
- stock 4.1.2

All the above running with same BaseBand (I8190XXAMJ3)

In both cm10.1 and cm10.2, I have no RIL at all (it seems the sim is not recognized at all)
In stock 4.1.2 everything works fine, including RIL

cm10.1 and cm10.2 were installed with full wipes, and logs were acquired after a few reboots, immediately after phone booted up and after I entered "network operators" settings and tried scanning for networks (getting the error)

Hope the logs can be of any help! Please people with skills try to find a solution to this very big (for some) problem!

PS. both cm10.1 and cm10.2 were by maclaw, but I think problem with those and this rom is exactly the same!


magic, you are a legend
this will be of great help
 
  • Like
Reactions: FcukBloat

FcukBloat

Senior Member
Jun 18, 2012
6,284
3,012
some update.. I also tried cm10 by oliver and slim 4.3 by maclaw.. exact same problem, no ril at all :(

I'm going to give up in the meantime and go back to stock..

I am providing the new logs just because maybe they can be useful?

summarizing no ril at all with all custom roms I tried (cm10, cm10.1, cm10.2 and slim 4.3) using same BB that works with stck 4.1.2 instead


..I am wondering if the problem can be due to the fact that the phone was in origin branded by 3 carrier.. can it be? because it seems the sim is not recognized..
just curious.. other persons with problems have maybe a branded phone too?

maybe last thing I could try is to flash a unbranded stock firmware, and then install cm/slim on top of it and see what happens..
but if doing like that I loose ril in stock also? that would be a very very big problem!! :|

bye!
 

Attachments

  • cm10.zip
    120.1 KB · Views: 7
  • slim4.3log.zip
    94.6 KB · Views: 5
Last edited:

Eskuero

Recognized Developer
Feb 15, 2012
1,388
2,284
Today I made an agreement with Maclaw, he's still to tell about that to Marcin, but I guess he'll agree for sure.
We are not going to work together, we have very different ways of developing, so that could make more troubles. He's just going to make sources public, I hope soon. By my side I'll provide OmniRom 4.4 once he shares the multimedia patch.

Enviado desde mi GT-I9195 mediante Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 28
    Sin+nombre.png

    For your information

    CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.3 (Jelly Bean), which is designed to increase performance and reliability over stock Android for your device.

    Code:
    #include <std_disclaimer.h>
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     */

    This is developed for the GSM 8GB version of Samsung Galaxy S3 Mini (GT-I8190), and tested when running I8190XXAMG1 baseband.

    I'll only support this model since it's the only one I own, if someone wants to attempt to port this ROM to his model feel free to take my tree as base, but don't expect support from me.

    I'll never recommend this rom for daily use, you'll use it at your own risk. I do this because I love to learn lots of things about Android.

    Reporting Bugs

    If you want to report bugs please read THIS HOWTO first. Please try to provide logs if you see errors (logcat and dmesg). If you don't know how to do that check google or ask people here to help you. Don't contact me directly.

    Enabling logcat Logging (Windows HOWTO: How to logcat like a Pro!)
    adb shell dmesg
    How to use strace?

    Download

    You are storing very sensitive information on your phone. You always have to be careful what ROMs you flash and whom you trust. If you don't trust me then don't use my ROM or compile it from source by yourself.

    You can download the ROM here.

    If you are going to host my ROM somewhere else, please let me know that on this thread or over PM, so I can add the link here also :)

    This ROM is not meant for daily use!

    Credits

    CyanogenMod Team
    Andreas Schneider
    Patrik Ryd
    Team Canjica *
    - Diego Porto
    - Federico Melano
    - Franco Rapetti
    - Pablo Lunarenko
    *
    tecul
    Pasquale Lodise
    Marcin Chojnacki
    Maciej Maj
    20
    As far as I know max frequency have to be fixed in kernel sources, so by pushing this release you've broken GPL license (won't mention it how you declare you're open at all).

    And I cannot agree - I've fixed a lot of bugs in CM10.2.

    I suppose you're in a hurry to provide a build with my fix to allow yourself to keep saying your build is:
    "Only fully working and bugfree".
    I don't like people suffering, so you shouldn't care about the patch, I'll let you be again the better, awesome and supercool main developer of S3 Mini. It's a so stupid fix that I don't care if you don't give me credits for finding it.
    I just did disabled DVFS limits on defconfig, that will fix max frequency setting.

    The fix wasn't uploaded because I like to publish sources of most important fixes with once releases are out, but yesterday I hadn't that oportunity. So if you want to report to a moderator because I'm late when everybody, even you, knows the fix will be uploaded, you are bugfree to do it and that action will have fully working results.
    The same as your ROMs, what a luck! :)

    Enviado desde mi GT-I8190 usando Tapatalk 2
    18
    Today I made an agreement with Maclaw, he's still to tell about that to Marcin, but I guess he'll agree for sure.
    We are not going to work together, we have very different ways of developing, so that could make more troubles. He's just going to make sources public, I hope soon. By my side I'll provide OmniRom 4.4 once he shares the multimedia patch.

    Enviado desde mi GT-I9195 mediante Tapatalk
    14
    Most Annoying Bugs

    1 - RIL, most of people didn't have problems anymore, but some have issues (like me) and couldn't find some network operators.
    2 - Low volume from speaker on incoming calls.
    3 - Rebooting with wifi switched on will result on cpu locked at max until reboot with wifi switched off.
    4 - Is not possible to change min cpu frequency value.

    Changelog

    2013-11-16
    - Fix signalstrenght issue from last release.
    - Deleted SELinux support.
    - Major blob clean-up.
    - Added testing fixes for:
    - Low volumen on incoming calls. (h3llrais3r)
    - "Ramdom" reboots. (munjeni)

    2013-11-09
    - Deleted conservative and userspace governors.
    - Added abyssplug governor.
    - Fixed CRT animattion (Thanks Robert!).
    - Screeshots are now performed by CPU, should be faster.
    - Clean up of spammer services and ril class.
    - Initial SELinux support (Unstable and WIP, do not report bugs with it enabled).

    2013-10-31
    - Fixed reboot options (j4fs and param from source) // Thanks Benz!
    - Fixed changing max cpu clock speed, min setting still doesn't persists.
    - Support flash toogle on status bar.
    - Building power hal from source.
    - Not mounting preload anymore to speed up boot.
    - Minor clean-up of ramdisk and multimedia patch.
    - Deleted some buggy soft audio stagefright blobs from STE.

    2013-10-19
    - First release.
    - Changes respect to CM10.1 (4.2.2):
    a) Fixed flash icons on camera app.
    b) Support for disabling button backlight (upstream).
    c) Enabled Bluetooth 4.0 capabilities (to be tested).
    d) Fixed ramdom reboots cause a bug on latest OMX fix implementation.
    11
    Sorry, I said there will be an Omni 4.4 build, but 15 days looks fairly enough time for anyone to uploading patches. I would understand that during this dates people used to be busy, but uploading sources with my ugly 25 kbps connection only takes 1 hour for me, and surely Maclaw and his team have much better resources for sharing them.:silly:

    I pushed the work I did over Omni 4.4 to a new branch called android-4.4 on github. I haven't builded recently but using that sources should reproduce a 4.4 build working well except camera and video playback.:cowboy:

    I've enjoyed a lot developing this platform for a time, but I dislike the way it's turned now and I won't argue anymore about methods, so it's time to left this.:crying:

    Good luck and sorry again :cool: