[DEV][ROM][4.4.4][UNOFFICIAL][GT-I8552] CyanogenMod 11.0

Search This thread

mahir kukreja

Senior Member
Feb 13, 2014
499
686
delhi
I didn't use anything to check.
I tested different apps [and games] that need motion sensors.
None of them worked properly.

Hmm
I made some changes n tested with an app yesterday
Some work n some dont
Tht ones tht dnt work get force closed thts maybe coz they were related to camera
Proximity n magnetic sensor was working for me
Acceleration I dnt remember

Sent from my GT-I8552 using XDA Free mobile app
 

id74em8

Senior Member
Oct 21, 2013
310
103
Hmm
I made some changes n tested with an app yesterday
Some work n some dont
Tht ones tht dnt work get force closed thts maybe coz they were related to camera
Proximity n magnetic sensor was working for me
Acceleration I dnt remember

Sent from my GT-I8552 using XDA Free mobile app

proximity sensors work, I checked.
Motion sensors don't.
 

mahir kukreja

Senior Member
Feb 13, 2014
499
686
delhi
ok @Shrukul though i said that i wont be working still ive done some work n am continuously working on ril :p
will be busy for 2 weeks now due to exams
i dont think that my current device tree has any thing missing for ril now
i guess the remaining issues might be in ramdisk n boardconfig
so i have added everything to ramdisk i guess even that is complete from my side
i am not using any custom ril class
in fact we have to use the one by default
so no need to add any ril class in boardconfig

next i studied cm11/hardware/ril folder
i got to know that

Code:
RIL_register: RIL version 7
from logcat

then i studied ril.h file cm11/hardware/ril/include/telephony

Code:
#define RIL_VERSION 9     /* Current version */
#ifdef LEGACY_RIL
#define RIL_VERSION_MIN 2 /* Minimum RIL_VERSION supported */
#else
#define RIL_VERSION_MIN 6 /* Minimum RIL_VERSION supported */
#endif
#define RIL_QCOM_VERSION 3 /* Qualcomm internal RIL version */

so the default version set here is 9
we have 7
so we need to add this flag to boardconfig

Code:
BOARD_USES_LEGACY_RIL := true
so that the min version changes to 3/6 so that 7 gets included

okay so thats it
this flag might help in some or the other way

also try these flags
Code:
BOARD_USES_LIBSECRIL_STUB := true
BOARD_MOBILEDATA_INTERFACE_NAME := "pdp0"

n
Code:
    ro.telephony.default_network=3 \
we have this flag i guess

try changing it to from 3 to 0 n see if anything happens

i think i have given u something to do after ur exams
i will upload my tree here in a day or 2 after resolving a bootloop issue i had some time back

this is all i cud study in the limited time i had before my exams
now ill be back after 2 weeks


n sorry guys im doing as much as i can in my limited time n learning more things abt android side by side

device tree
https://www.mediafire.com/?mgd60r4700v2jgr
 
Last edited:

mahir kukreja

Senior Member
Feb 13, 2014
499
686
delhi
new build coming up in 2-3 hours ill need logs
tell me if it boots
if it doesnt give me a proper logcat
Code:
adb logcat -v long > booterror.txt
if it boots give me radio logs
Code:
adb logcat -b radio > radio.txt
we were missing an apk related to radio as well just built that apk
so i guess we should be more close to fixing ril in this build than before though i cant say for sure!


build
https://www.mediafire.com/?q7qzhpnmsdia6sa

Anybody here?
 
Last edited:

mahir kukreja

Senior Member
Feb 13, 2014
499
686
delhi
@Shrukul i have uploaded the latest device tree in the last post i tagged u in use that
no need to make any changes i told u to do in that post i have integrated them in the tree already

http://xdaforums.com/showpost.php?p=55406121&postcount=730
this is the logcat

the main error i think is
Code:
E/use-Rlog/RLOG-RIL(  144): loadOpnameStaticTable(): count(1258)

E/use-Rlog/RLOG-RIL(  144): loadOpnameDb(): db open error

E/use-Rlog/RLOG-RIL(  144): OemInitGprsData()

it shud be smthng like

Code:
E/RIL     ( 1856): loadOpnameStaticTable(): count(1035)
E/RIL     ( 1856): loadOpnameDb(): plmn(20404) full(vodafone NL) short()
E/RIL     ( 1856): updateOpnameStaticTable(): updated
E/RIL     ( 1856): OemInitGprsData()

so i think we just need to get this database loaded n we should be good to go with ril

another thing
we need to build this app

https://github.com/CyanogenMod/android_packages_apps_SamsungServiceMode

unzip the file in packages/apps/SamsungServiceMode

it will get built automatically

now i gotta study! Get to work!

one more thing all those people who want cm11 see the error i have posted above n ask senior developers about it i have searched a lot bt cudnt find much
 
Last edited:

Shrukul

Senior Member
Mar 2, 2014
177
399
28
Hubli
@Shrukul i have uploaded the latest device tree in the last post i tagged u in use that
no need to make any changes i told u to do in that post i have integrated them in the tree already

http://xdaforums.com/showpost.php?p=55406121&postcount=730
this is the logcat

the main error i think is
Code:
E/use-Rlog/RLOG-RIL(  144): loadOpnameStaticTable(): count(1258)

E/use-Rlog/RLOG-RIL(  144): loadOpnameDb(): db open error

E/use-Rlog/RLOG-RIL(  144): OemInitGprsData()

it shud be smthng like

Code:
E/RIL     ( 1856): loadOpnameStaticTable(): count(1035)
E/RIL     ( 1856): loadOpnameDb(): plmn(20404) full(vodafone NL) short()
E/RIL     ( 1856): updateOpnameStaticTable(): updated
E/RIL     ( 1856): OemInitGprsData()

so i think we just need to get this database loaded n we should be good to go with ril

another thing
we need to build this app

https://github.com/CyanogenMod/android_packages_apps_SamsungServiceMode

unzip the file in packages/apps/SamsungServiceMode

it will get built automatically

now i gotta study! Get to work!

Perfect Timing! I did work yesterday and today and now, IMEI Number is Shown correctly and even the baseband is shown correctly..!! :D:laugh::good: So, i will now try to integrate your changes to my device tree!

And Best Of Luck With your exams!! I will carry on the development while you are gone!
 

mysteryno46

Senior Member
I'm counting on the days....

Perfect Timing! I did work yesterday and today and now, IMEI Number is Shown correctly and even the baseband is shown correctly..!! :D:laugh::good: So, i will now try to integrate your changes to my device tree!

And Best Of Luck With your exams!! I will carry on the development while you are gone!

Super excellent work @Shrukul. Take your time, you guys are close enough now. Maybe @dhiru1602 will try to help us winding up the RIL issue. :fingers-crossed:

@dhiru1602 Bro, IMEI & Baseband number is visible now. I think this is what you asked me in pm. Can you please guide further? :eek:

I hope you would make out a little time from your busy schedule. Thanks :)
 

Shrukul

Senior Member
Mar 2, 2014
177
399
28
Hubli
@Shrukul any progress?
Is imei n baseband visible now?
I mean ACTUALLY coz network should work when they are visible with our own libraries (according to my knowledge)

Sent from my GT-I8552 using XDA Free mobile app

I was busy since i had lab.. I removed many prebuilt libs that i thought were not useful and the rom is still booting... At present i made some changes in your ramdisk and am compiling now... If everything goes as planned, i will remove the rild and qmuxd and many other bin files that i used from thewhisp and replace it with stock bin and lib files.. I will report back in another two hours...

Also, i asked many developers for some help or any advice but i am yet to get any reply from them... :( :(

Also, why isnt lcd light of back button working??

EDIT : @mahir kukreja Baseband and IMEI are not shown when i used stock rild.. :(:crying: Also Signal strength shows berserk values...
 
Last edited:

mahir kukreja

Senior Member
Feb 13, 2014
499
686
delhi
I was busy since i had lab.. I removed many prebuilt libs that i thought were not useful and the rom is still booting... At present i made some changes in your ramdisk and am compiling now... If everything goes as planned, i will remove the rild and qmuxd and many other bin files that i used from thewhisp and replace it with stock bin and lib files.. I will report back in another two hours...

Also, i asked many developers for some help or any advice but i am yet to get any reply from them... :( :(

Also, why isnt lcd light of back button working??

EDIT : @mahir kukreja Baseband and IMEI are not shown when i used stock rild.. :(:crying: Also Signal strength shows berserk values...

Told u it isnt that easy :)
See the logcats I posted b4 n compare with yours
They shud be same
Start searching the logs on the Internet for fixes thats the only thing u cn do at the moment or try to contact other devs this week for help
Coz ill start again from the next week

Sent from my GT-I8552 using XDA Free mobile app
 

naroku

Senior Member
Told u it isnt that easy :)
See the logcats I posted b4 n compare with yours
They shud be same
Start searching the logs on the Internet for fixes thats the only thing u cn do at the moment or try to contact other devs this week for help
Coz ill start again from the next week

Sent from my GT-I8552 using XDA Free mobile app

Mahir, good evening.

I've got this device today, and I'm ready to test all of your builds, including alpha and beta builds.

My device is GT-I8552B (Brazilian model).

Count with me! :good:
 
  • Like
Reactions: mysteryno46

Top Liked Posts

  • There are no posts matching your filters.
  • 68
    CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.4.4 (KK), which is designed to increase performance and reliability over stock Android for your device.
    #include /* * 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.
    * * Submitting bug reports on nightly builds is the leading * cause of male impotence. */

    CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review.
    Do not submit bugs to gerrit about this rom.

    This is development thread. DO NOT ASK FOR ETAs.
    new build with working wifi 10/8/2014
    https://www.mediafire.com/?e44m2pb45ji8daa

    latest build as of 13/8/2014 with working internal sd

    http://www.mediafire.com/download/mwalbkwk4f4ywks/cm-11-20140813-UNOFFICIAL-delos3geur.zip



    Most usable build yet
    http://www.mediafire.com/download/7l317f1ekw2lpya/edit.zip

    here is the device repository link
    https://github.com/mahirkukreja/android_device_samsung_delos3geur

    kernel source

    https://github.com/mahirkukreja/delos3geurkernel

    INSTRUCTIONS
    First time installing CyanogenMod 11.0 to your Galaxy win Duos i8552, or coming from another ROM:

    - Make sure you are on Stock 4.1.2 ROM.
    - Boot into recovery(CWM greater than 6.0.4.5 recovery is must)
    Use philz touch recovery for flashing
    - Wipe data / factory reset
    - Wipe Dalvik Cache
    - Flash Gapps
    - Reboot

    Gapps
    http://goo.im/gapps

    philz touch
    http://xdaforums.com/showthread.php?t=2704951

    CREDITS
    Cyanogenmod Team
    Samsung for source

    Im busy
    I'll be back in january as exams have started !
    Last exam on 9th


    what works
    internal sd
    external sd
    wifi
    audio (from front speaker) in progress
    touch
    system ui
    camera(in progress not usable yet)
    gallery
    Ril-messaging works
    Calling works

    what does nt work
    ril-during calls the other person can't hear u
    bluetooth
    camera n audio(partially fixed)


    check this out
    http://xdaforums.com/grand-quattro/general/cm11-building-bug-fixing-guide-gt-i8552-t3430268

    XDA:DevDB Information
    [DEV][ROM][4.4.4][UNOFFICIAL][GT-I8552] CyanogenMod 11.0 , ROM for the Samsung Galaxy Grand Quattro

    Contributors
    mahir kukreja @Shrukul
    ,
    Version Information
    Status: Testing

    Created 2014-07-02
    Last Updated 2014-08-13
    13
    i think internal sd and external sd issue is resolved by mihir on his guthub repo.
    so now the major bugs remain related to RIL and it associate functions like calls,sms, wifi, bluetooth.

    i already started working on bluetooth....and ril.
    i dont know how many of you aware of the fact that our phone has CSR bluetooth and not the broadcom one.
    so bluedroid is useless to us.
    we need bluez stack in our rom to get bluetooth working.
    i am already working on integrating bluez in cm source.
    i will keep you people posted.
    i have also made one ril in testcm11 branch...go on compile with that and report back.

    Good news is our kernel already contains bluez support so it may be little easier.
    13
    Finally got my mobile and build my first build did not boot :( .Tried again booted second time :D .


    Will start with patches
    12
    @freitaz thanks for testing all the builds :)
    12
    ok @Shrukul though i said that i wont be working still ive done some work n am continuously working on ril :p
    will be busy for 2 weeks now due to exams
    i dont think that my current device tree has any thing missing for ril now
    i guess the remaining issues might be in ramdisk n boardconfig
    so i have added everything to ramdisk i guess even that is complete from my side
    i am not using any custom ril class
    in fact we have to use the one by default
    so no need to add any ril class in boardconfig

    next i studied cm11/hardware/ril folder
    i got to know that

    Code:
    RIL_register: RIL version 7
    from logcat

    then i studied ril.h file cm11/hardware/ril/include/telephony

    Code:
    #define RIL_VERSION 9     /* Current version */
    #ifdef LEGACY_RIL
    #define RIL_VERSION_MIN 2 /* Minimum RIL_VERSION supported */
    #else
    #define RIL_VERSION_MIN 6 /* Minimum RIL_VERSION supported */
    #endif
    #define RIL_QCOM_VERSION 3 /* Qualcomm internal RIL version */

    so the default version set here is 9
    we have 7
    so we need to add this flag to boardconfig

    Code:
    BOARD_USES_LEGACY_RIL := true
    so that the min version changes to 3/6 so that 7 gets included

    okay so thats it
    this flag might help in some or the other way

    also try these flags
    Code:
    BOARD_USES_LIBSECRIL_STUB := true
    BOARD_MOBILEDATA_INTERFACE_NAME := "pdp0"

    n
    Code:
        ro.telephony.default_network=3 \
    we have this flag i guess

    try changing it to from 3 to 0 n see if anything happens

    i think i have given u something to do after ur exams
    i will upload my tree here in a day or 2 after resolving a bootloop issue i had some time back

    this is all i cud study in the limited time i had before my exams
    now ill be back after 2 weeks


    n sorry guys im doing as much as i can in my limited time n learning more things abt android side by side

    device tree
    https://www.mediafire.com/?mgd60r4700v2jgr