Thread Deleted

[Dev] Development of Non-Carrier Specific Roms [Universal Roms For All Carriers]

27th June 2012, 06:08 AM   |  #1  
incubus26jc's Avatar
OP Recognized Developer
Flag Illinois
Thanks Meter: 3,572
 
4,086 posts
Join Date:Joined: Feb 2009
Donate to Me
More


Developers,

The Objective of this thread is to create a solution for flashing any rom on any carrier's GS3. (Us/Canada)

Every Rom on Every Carrier Will Be Supported.

Warm Roms developed by Myn, Myself and the rest of the Warm Team will be available on all carriers.

I will keep the OP updated.

Thanks, Incubus



First,

We need to Determine the Diffs and Seperate what each carriers device needs.

We will create an SVN Repo For Carrier Files.

We will Use An Updater.script and include all carrier files with in the Rom.zip and allow the script to determine the device and install the appropriate carrier files.

Any rom dev who wants to use this would place a folder in the rom.zip called "Devices" with all the carrier files seperated by sub-folders (Sprint, Verizon etc...)
The script would call for "Sprint" and install the carrier files from that sub- folder overtop of any carrier files that a rom might have in it. (boot.img, apns, libs etc...)

Example updater.script from Warm twopointthree on the Evo 3d. Worked very well.

Code:
#Mounting
ifelse(
    getprop("ro.product.device") == "shooter",
    (
        mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/system");
    )
);


ifelse(
    getprop("ro.product.device") == "shooteru",
    (
        mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
    )
);


ifelse(
    getprop("ro.product.device") == "shooter",
    (
        mount("ext4", "EMMC", "/dev/block/mmcblk0p24", "/data");
    )
);


ifelse(
    getprop("ro.product.device") == "shooteru",
    (
        mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/data");
    )
);

#Install Device Files
ifelse(
    getprop("ro.product.device") == "shooter",
    (
        package_extract_dir("devices/shooter/system", "/system");
    ),
        package_extract_dir("devices/" + getprop("ro.product.device") + "/system", "/system");
);

ifelse(
    getprop("ro.product.device") == "shooteru",
    (
        package_extract_dir("devices/shooteru/system", "/system");
    ),
        package_extract_dir("devices/" + getprop("ro.product.device") + "/system", "/system");
);
So to this point I wonder if ro.product.device returns something different for each carrier device? If not we need another unique identifier.

If folks can
Code:
 adb shell
 getprop ro.product.device
and let us know what carrier they are on and what the getprop returns, we could determine this.

As soon as we obtain all the carrier files and put them into there proper layout, we will provide all files and code necessary to make your rom compatible with all carriers.
Last edited by incubus26jc; 15th July 2012 at 05:31 AM.
The Following 60 Users Say Thank You to incubus26jc For This Useful Post: [ View ]
27th June 2012, 06:11 AM   |  #2  
incubus26jc's Avatar
OP Recognized Developer
Flag Illinois
Thanks Meter: 3,572
 
4,086 posts
Join Date:Joined: Feb 2009
Donate to Me
More



Unbrick Mods:

MSkips How-To Unbrick If you have Flashed a International GSM Boot.img
Last edited by incubus26jc; 6th July 2012 at 06:36 PM.
The Following 5 Users Say Thank You to incubus26jc For This Useful Post: [ View ]
27th June 2012, 07:36 AM   |  #3  
appdroid's Avatar
Senior Member
Flag Chicago
Thanks Meter: 4,312
 
2,495 posts
Join Date:Joined: Oct 2011
Donate to Me
More
Well I m No Dev! But if you are thinking about making one Rom to Rule Them All then you will have to get different modems/radios for each carrier & that means may be libs modification? I might be wrong !

Here is what libs i m thinking off.
libsecril-client.so
libril.so
libril-qcril-hook-oem.so
libril-qc-qmi-1.so
libreference-ril.so
27th June 2012, 12:53 PM   |  #4  
incubus26jc's Avatar
OP Recognized Developer
Flag Illinois
Thanks Meter: 3,572
 
4,086 posts
Join Date:Joined: Feb 2009
Donate to Me
More
Quote:
Originally Posted by appdroid

Well I m No Dev! But if you are thinking about making one Rom to Rule Them All then you will have to get different modems/radios for each carrier & that means may be libs modification? I might be wrong !

Here is what libs i m thinking off.
libsecril-client.so
libril.so
libril-qcril-hook-oem.so
libril-qc-qmi-1.so
libreference-ril.so


Updated OP with a bit of info.
Last edited by incubus26jc; 27th June 2012 at 01:25 PM.
27th June 2012, 02:12 PM   |  #5  
Account currently disabled
Flag phoenix
Thanks Meter: 1,035
 
2,634 posts
Join Date:Joined: Sep 2011
More
On gnex it was small changes , but all kernels worked gsm and cdma ....it should be easy but don't know about one size fits all roms they have to port to gnex and may be same way here....but it's easy port

Sent from my Galaxy Nexus using Xparent ICS Blue Tapatalk 2
27th June 2012, 02:16 PM   |  #6  
MДЯCЦSДИT's Avatar
Recognized Developer
Flag in a box
Thanks Meter: 4,622
 
6,129 posts
Join Date:Joined: Nov 2010
Donate to Me
More
Build.prop - ril stuff
Framework-res.apk/res/xml/eri.xml
Framework.jar/telephony stuff
Libril-*
etc/apns-conf.xml

Sent from my SPH-D700 using Tapatalk 2
The Following User Says Thank You to MДЯCЦSДИT For This Useful Post: [ View ]
27th June 2012, 02:40 PM   |  #7  
Senior Member
Flag jersey city
Thanks Meter: 30
 
542 posts
Join Date:Joined: Jul 2007
Donate to Me
More
I like the second suggestion , that way we can pick any existing Rom flash it and then flash the carrier specific zip. This is exactly what we had with at&t galaxy s ii, not sure who the dev was , but it worked great and we were able to use all the roms from the international s sii

Sent from my SAMSUNG-SGH-I747 using xda premium
Last edited by anilkuj; 27th June 2012 at 03:21 PM.
27th June 2012, 02:42 PM   |  #8  
dpwhitty11's Avatar
Senior Member
Flag Houston/Waco
Thanks Meter: 221
 
1,616 posts
Join Date:Joined: Aug 2010
Donate to Me
More
Quote:
Originally Posted by anilkuj

I like the second suggestion , that way eek can pick any existing Rom flash it and then flash the carrier specific zip. This is exactly what we had with at&t galaxy s ii, not sure who the dev was , but it worked great and we were able to use all the roms from the international s sii

Sent from my SAMSUNG-SGH-I747 using xda premium

I agree, that's the best (and likely easiest) way to do things.

Sent from my ADR6300 using Tapatalk 2
27th June 2012, 03:22 PM   |  #9  
Senior Member
Flag jersey city
Thanks Meter: 30
 
542 posts
Join Date:Joined: Jul 2007
Donate to Me
More
Just found the thread , the Dev was Entropy he did some awesome work for ATT Galaxy S II.

http://forum.xda-developers.com/show....php?t=1577015
The Following 2 Users Say Thank You to anilkuj For This Useful Post: [ View ]
27th June 2012, 03:26 PM   |  #10  
RampageRR's Avatar
Senior Member
Flag DC/MD/VA
Thanks Meter: 600
 
1,028 posts
Join Date:Joined: Mar 2011
More
Off the top of my head, the easiest thing to do after figuring out all the differences is to use Aroma Installer and have it ask which carrier the phone is on, and have it flash any specific files from there along with the rom.

The Following 4 Users Say Thank You to RampageRR For This Useful Post: [ View ]
Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes