1. Download our Official Android App: Forums for Android!

Root CM13 building device tree and sources help needed.

Discussion in 'Android Devices' started by Relyt2012, Mar 13, 2016.

  1. Relyt2012

    Relyt2012 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    103
    Posts:
    547
    Joined:
    Aug 19, 2014

    Aug 19, 2014
    547
    208
    103
    Male
    Technology
    United States
    Okay so i have a general idea of how to do this, i can repo init, and sync, download sources and all. What i need a great deal of help with is figuring out how to either make or update code to build it for t599n, and all.
     

    Advertisement

  2. haroldJ99

    haroldJ99 Member
    Rank:
    None
    Points:
    18
    Posts:
    82
    Joined:
    Jul 19, 2014

    Jul 19, 2014
    82
    12
    18
    Male
    In my little knowledge first you need to adapt the device tree to build cm, when that is ready you need the required patches to build to our device and adapt all the old code to marhmallow, I think maybe we should wait for maclaw (cm13 developer for s3 mini) update his sources and try to adapt his code to our device
     
  3. lssjbroly

    lssjbroly Member
    Rank:
    None
    Points:
    36
    Posts:
    57
    Joined:
    Nov 7, 2015

    Nov 7, 2015
    57
    8
    36
    Yey someone is stepping up for marshmallow :)
     
  4. Relyt2012

    Relyt2012 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    103
    Posts:
    547
    Joined:
    Aug 19, 2014

    Aug 19, 2014
    547
    208
    103
    Male
    Technology
    United States
    I would truly love to, and they have it for s3 mini so i dont know how to port the code though. I understand @haroldJ99 about waiting. I only would like to start something. Can someone help with me starting to build cm12.1 for now. I know i have the repo initiated properely. Can you help me with this though. I have the manifest for carbon-l, and the carbon kk one on his old github. Can i use the manifest for carbon-l with cm12.1 though
     
  5. lssjbroly

    lssjbroly Member
    Rank:
    None
    Points:
    36
    Posts:
    57
    Joined:
    Nov 7, 2015

    Nov 7, 2015
    57
    8
    36
    Anything I can do to help? I don't really know anything about building ROMs though :l
     
  6. Meticulus

    Meticulus Member
    Rank:
    None
    Points:
    43
    Posts:
    75
    Joined:
    Sep 29, 2014

    You know, they've got the rear camera video recording fix for lollipop on the s3mini too...

    Ok, so you want to build from source.... Well, first let me say that I would not use the manifest for carbon-l... Who knows if that will work. Just clone the repo and switch to the carbon-l branch and if you are going to try to build MM, I would start with the carbon-l branch. As you may or may not know there are a set of patches that need to be applied before you build. They are in the device tree (patches dir). I even put a "patch.sh" script in there that will patch the directory for you but it is likely that one or more of the patches will fail because of updates to the base source for android or CM. As a developer, it's up to you to figure out what the patch was supposed to do and, understand the way the the base source has changed and adapt the patch accordingly. Golden-Guy maintains a set of patches for Omni-Rom for the s3mini. The s3mini and the t599n share the EXACT same patches but he has not started on MM.

    https://github.com/golden-guy/android_patchsets_samsung_golden

    Make sure you setup your development environment for Exactly which version of android you intent to build. There are different considerations for KitKat Lollipop and MM. If I still had this device I would give building MM a try but without the device there is no way to test and developing blind is like trying to put together a 1000 piece jigsaw puzzle with your eyes closed.

    If you have any more "specific" questions don't email me! Just leave them here and I'll get to them when I can...
    ;)
     
  7. haroldJ99

    haroldJ99 Member
    Rank:
    None
    Points:
    18
    Posts:
    82
    Joined:
    Jul 19, 2014

    Jul 19, 2014
    82
    12
    18
    Male
    can we use the lastest golden guy patches to make a stable lollipop rom in our waiting of marhmallow ?
     
  8. Cyberdev

    Cyberdev Android Expert
    Recognized Developer
    Rank:
     #60
    Points:
    313
    Posts:
    1,501
    Joined:
    Sep 12, 2014

    Sep 12, 2014
    1,501
    704
    313
    Male
    Daily YouTuber
    Tampa, FL
    Possibly, however if miticulus decides to build MM id assit to help him test since i do alot of testing on my device
     
  9. Meticulus

    Meticulus Member
    Rank:
    None
    Points:
    43
    Posts:
    75
    Joined:
    Sep 29, 2014

    Possibly...

    Sorry, its a pain to develop that way and its very unsafe, brick- wise....
     
  10. Cyberdev

    Cyberdev Android Expert
    Recognized Developer
    Rank:
     #60
    Points:
    313
    Posts:
    1,501
    Joined:
    Sep 12, 2014

    Sep 12, 2014
    1,501
    704
    313
    Male
    Daily YouTuber
    Tampa, FL
    Ive been there before
     
  11. Relyt2012

    Relyt2012 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    103
    Posts:
    547
    Joined:
    Aug 19, 2014

    Aug 19, 2014
    547
    208
    103
    Male
    Technology
    United States
    Sorry i wasnt watching the thread, My second ssd in my laptop literally just failed this morning. So no way as of right now to build. Can i somehow take the fixes for the golden and put them into a port?
     
  12. Meticulus

    Meticulus Member
    Rank:
    None
    Points:
    43
    Posts:
    75
    Joined:
    Sep 29, 2014

    I really don't know. There may or may not be differences, in what has been patched, in Omni to other ROMs and we don't have a build of Omni lollipop...
     
  13. Relyt2012

    Relyt2012 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    103
    Posts:
    547
    Joined:
    Aug 19, 2014

    Aug 19, 2014
    547
    208
    103
    Male
    Technology
    United States
    I'll most likely end up trying something crazy, :)
     

Share This Page

Loading...