[TUT] Port CDMA roms to your GSM
Hello XDA-members!
After I've got some positive feedback in the Evo 3D general section, I will explain how I got the Evo 3D CDMA rom working on my GSM Evo 3D.
First of all I'd like to thank the warm team for figuring out what the exact differences are between the CDMA & GSM roms. Also thanks
aamikam for making a hybrid CDMA/GSM rom, I've looked at this rom to find out what files to replace.
Let's get to work!

At the bottom of this post I've posted a download link to a PDF file which contains the file structure of the "shooteru" folder in the "MikRunny v1.02" rom. You will need this to find out which files you need to replace; feel free to mirror it.
Once you open the PDF file you will see a list of folders with files in it. Those are the files YOU need to replace with the files of a GSM rom. Make sure you use files of the same version of android, if the CDMA rom is android 2.3.4 with HTC Sense, use GSM files of android 2.3.4 with HTC Sense. If the CDMA rom is AOSP android 4.0.1, use GSM files of android 4.0.1, you get the point I hope...
What I did to port the CDMA Android Revolution rom to the GSM:
1. Download the CDMA Android Revolution rom & download a android 2.3.4 rom with HTC Sense, in my case LeeDroid
2. Look at the file structure, and take all the files listed there from the LeeDroid rom, and replace the files in the CDMA Android Revolution rom. (If some files listed don't exist, don't worry just skip them)
3. Replace the boot.img(kernel) with the kernel of LeeDroid.
4. Compare the updater-scripts. (Check the blocks they format and change if needed)
5. Flash your ported rom, and see if it works!
This is all I did with the Android Revolution rom, and most of the hardware seems to be working!! I will post a download to the rom ported by me at the bottom of this post. All credits go to Android Revolution for this rom!!!
Of course not everything works, as the rom I ported still had the CDMA settings.apk I couldn't change the APN's so I didn't have a data connection. It also didn't see my wpa2 wifi network. These are things that you have to sort out, some things will work at once, others won't.
I would also like to ask everyone who has achieved to successfully port a rom to our Evo 3D GSM to make a thread in the development section and upload your rom so everyone can enjoy it! This will also come in handy when solving problems, write down the bugs you found, and all the members will try to look for fixes or have fixed your problems already! That's why we are a community

don't keep it for yourself, share it!
Goodluck everyone!
Ideas
Merging the GSM & CDMA forums
Quote:
Originally Posted by dexteral
If port is now possible would it not make more sense to merge the development threads and request all devs to release the Rom simultaneously for both gsm and cdma. I would recommend a poll on this to see if all agree maybe in the general section.
|
My response to this was
Quote:
Originally Posted by ybinnenweg
Hmm.. we could do it, but before we do that we first need to figure out how to fix all the 'bugs' at once. With this method roms boot, and most of the hardware works, but if you want a data connection, you will need the GSM settings.apk app to add APN's and such. I think it's only a matter of dropping the right APK files in /system/app/ but it's pretty important.
|
And pulser_g2 gave some interesting advice at how we could solve this problem
Quote:
Originally Posted by pulser_g2
Don't do that - instead find out WHAT the differences are, and make a smali patch for it. Then you can patch any modified Settings APK to work on the GSM one.
|
Successful ports

Yes! We have our first port from the CDMA Evo 3D posted on our GSM forums!!
-
InfectedROM Eternity™ Sense 3.5 GSM with UNITY v3 by
dit3 [REMOVED]
My downloads

- File structure PDF:
http://www.multiupload.com/6HDPEBPWKI
- CDMA Android Revolution ported to GSM:
http://www.multiupload.com/QWECW5FKDR
"However, if you put any trust in Benchmark Scores you could use them
to prove that dancing naked for 5 minutes in your garden affects device performance" - Chainfire