[HOWTO] Port N7100 ROMs to I317 and N7105
I spent the entire day yesterday trying to make Android Revolution HD
work on my I317. At the end of the day, success ! and here is how:
Please do not experiment with this stuff if you're not familiar with partitions and the way things work. You do run the risk of bricking your device permanently if you don't know what you're doing. I'll write this so that developers can start porting their ROMs to the LTE variants.
The two devices are identical except for the modem (and rild files) and the GPS initialization at bootup.
1. You'll need to rewrite the updater-script in most CWM flashable ROMs to make sure.. again, MAKE SURE that you do not flash anything else except /system /data and the boot partition. Overwriting your modem partition with a modem from the N7100 phone or the bootloader partitions will blow up your phone. You've been warned ! The partition labels and numbers are identical so you won't have to change that.
2. Make sure you bundle a kernel (boot.img) from one of I317/N7105 (depending on which device you own). Obviously we're talking about TW kernels here so for example stock JB kernels or Perseus will do just fine. Do not flash boot.img kernels from the N7100 section.
3. You'll need to add and remove a bunch of userland library files from your device. I won't attach these files here but you can grab them from any I317/N7105 ROM:
Files to ADD/REPLACE (Yes, every single one counts as they're dynamically linked). The stuff in /system/bin are started by the initramfs in the kernel so add them all in as well:
To remove !!! Moi importante !
If you don't remove that GPS exynos4 file, HAL will load it and never the gps.default.so file so your gps won't work. Took me three friggin hours to figure out.
4. Lastly, you'll need to change build.prop so that it loads our RILD files instead of the N7100's:
When I get sometime, I'll try to port CM10 from the N7100 tree.