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
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: