[HOW-TO] Port US S3 ROMs between carriers - Verizon Samsung Galaxy S III

Porting TouchWiz ROMs​
This guide is intended to help you port ROMs from AT&T, T-Mobile, and Sprint over to the Verizon S3. The guide will be split into two different parts. Porting CDMA to CDMA and porting CDMA to GSM.
Just so there's no confusion:
CDMA Carriers:
Verizon
Sprint
GSM Carriers:
AT&T
T-Mobile
REMEMBER: If you choose to port a ROM from another carrier, be sure to ask permission to post from the developer.
What you need
7zip
Notepad++ (If on Windows)
A ROM you want to port
A ROM from your carrier/device
Knowledge on how to compile and recompile .jar files (I will not cover this)
Make sure the ROM you want to port and the ROM you are using as a base are the same Android version (e.g. 4.1.2) and have the same chip (e.g. MSM8960). You will be able to determine the chip type from the build.prop​
PORTING CDMA TO CDMA (i.e. SPRINT TO VERIZON)​
Download the ROM you want to port
Download a ROM from your carrier
Unzip both ROMS
In the ROM you want to port - delete /system/etc/apns-conf.xml
Replace the apns-conf.xml you just deleted with the one from the ROM for your carrier
In the ROM you want to port - delete /system/framework/GlobalConfig.jar (This .jar file contains a lot of carrier information)
Replace the GlobalConfig.jar you just deleted with the one from the ROM for your carrier
In the ROM for your carrier, locate the following lib files in system/lib and copy them over to the ROM you want to port
libreference-ril.so
libril.so
libril-qc-qmi-1.so
libril-qcril-hook-oem.so
libsecril-client.so
If your carrier is Verizon and you're porting a Sprint ROM, delete all the apps with "Sprint" in the name including these:
SecContacts.apk
SecPhone.apk
PhoneInfo.apk
Replace SecContacts.apk and SecPhone.apk with the Verizon ones.​
In the ROM you want to port - open up /system/build.prop in Notepad++
Locate every instance of d2att, d2tmo, or d2spr and replace it with d2vzw (Use CTRL+F if you have to)
Save the build.prop after all changes are made
In system/framework/ of BOTH ROMs, decompile framework.jar and framework2.jar
In the framework.jar of the ROM you want to port - delete the following folders:
smali/android/provider
smali/android/telephony
smali/android/server
smali/android/service
smali/com/android/internal/telephony
Replace them with the folders from the ROM for your carrier
In the framework2.jar of the ROM you want to port - delete the following folders:
smali/android/provider
smali/android/telephony
smali/android/server
smali/com/android/internal/telephony
smali/com/google/android/mms
Replace them with the folders from the ROM for your carrier
Build all of the jar files when finished (Please note that replacing the above folders will make the ROM operational to the point where MMS will work, but you may encounter other weird superficial errors. It's just too much work to go into the specifics.)
Re-zip the ROM you want to port
Flash in recovery
PORTING CDMA TO GSM (i.e. VERIZON TO T-MOBILE & ATT / SPRINT TO T-MOBILE & ATT)​
Download the ROM you want to port
Download a ROM from your carrier
Unzip both ROMS
In the ROM you want to port - delete /system/etc/apns-conf.xml
Replace the apns-conf.xml you just deleted with the one from the ROM for your carrier
In the ROM you want to port - delete /system/framework/GlobalConfig.jar (This .jar file contains a lot of carrier information)
Replace the GlobalConfig.jar you just deleted with the one from the ROM for your carrier
In the ROM for your carrier, locate the following lib files in system/lib and copy them over to the ROM you want to port
libreference-ril.so
libril.so
libril-qc-qmi-1.so
libril-qcril-hook-oem.so
libsecril-client.so
Delete the following apps and replace them with the ones from your carrier:
SecContacts.apk
SecPhone.apk
In the ROM you want to port - open up /system/build.prop in Notepad++
Locate every instance of d2att, d2tmo, or d2spr and replace it with d2vzw (Use CTRL+F if you have to)
Save the build.prop after all changes are made
In system/framework/ of BOTH ROMs, decompile android.policy.jar, framework.jar, framework2.jar, and services.jar
You need to go through every smali file in all of the .jars and replace all instances of "Sprint" with "Verizon" or "Verizon" with "Sprint" depending on your carrier
In the framework.jar of the ROM you want to port - delete the following folders:
smali/android/provider
smali/android/telephony
smali/android/server
smali/android/service
smali/com/android/internal/telephony
Replace them with the folders from the ROM for your carrier
In the framework2.jar of the ROM you want to port - delete the following folders:
smali/android/provider
smali/android/telephony
smali/android/server
smali/com/android/internal/telephony
smali/com/google/android/mms
Replace them with the folders from the ROM for your carrier
Build all of the jar files when finished (Please note that replacing the above folders will make the ROM operational to the point where MMS will work, but you may encounter other weird superficial errors. It's just too much work to go into the specifics.)
Navigate to system/framework/ in both ROMs
Open framework-res.apk from both ROMs in 7zip
In framework-res.apk in both ROMs navigate to /res/xml/
Delete eri.xml from the framework-res in the ROM you want to port
Replace the deleted eri.xml with the one from the ROM for your carrier
Save and close the modified framework-res.apk
Re-zip the ROM you want to port
Flash in recovery
Obviously this guide will not work on more difficult ports such as bringing Sense to the S3, but the end result is that we will hopefully see more ROMs in the thread.
Thanks TrevE

Porting AOSP ROMs
================================ START ================================​
What you need
7zip
Notepad++ (If on Windows)
An AOSP ROM you want to port
An AOSP ROM from your carrier/device
Make sure the ROM you want to port and the ROM you are using as a base are the same Android version (e.g. 4.1.1)​
I will do the AOSP porting section with an example. Say I want to port Paranoid Android:
Download Paranoid Android (Android 4.2)
Download CM10.1 (Android 4.2)
Unzip both ROMs
In the CM 10.1 folder delete the following folders/files:
/system/framework
/system/app
/system/lib/libandroid_runtime.so
/system/media (optional)
/system/fonts (optional)
Add the following folders from the PA ROM into the CM10.1 ROM:
/system/framework
/system/app
/system/lib/libandroid_runtime.so
/system/media (only if you deleted from CM10.1)
/system/fonts (only if you deleted from CM10.1)
Only do the following if you are porting from GSM to CDMA or CDMA to GSM (i.e. Porting an AT&T ROM to Verizon)
Navigate to system/framework/ in both ROMs
Open framework-res.apk from both ROMs in 7zip
In framework-res.apk in both ROMs navigate to /res/xml/
Delete eri.xml
Replace the deleted eri.xml with the one from your base ROM
Save and close framework-res.apk
Re-zip and flash in recovery
================================ END ================================​
If the ROM does not boot up, try a different ROM. For example, if you tried to port Paranoid Android 4.2 from AT&T and it didn't work. Try Paranoid Android from T-Mobile or the Galaxy Nexus, etc.

Wicked Sensation: http://www.androidfilehost.com/?fid=9390248398092763137
This ROM is completely based on Sprint's OTA. It will work with KindaCrapMods due to the framework being about 95% similar to the Verizon version. However, the 5% difference may induce abnormal behavior such as irregular lockscreen clock readings. Also, the ROM does not include any tweaks outside of what is present in the original release.
I WILL NOT be maintaining this ROM so if you want to see updates, start a thread for it.

Great writeup pure. Truly an asset to this community
Sent from my SCH-I535 using xda premium

epicroot said:
Great writeup pure. Truly an asset to this community
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
Hopefully we will see more ROMs in the future.
Wicked Sensation is uploaded.

Did you happen to do a test flash? Or just edit, zip and go
Sent from my SCH-I535 using xda premium

epicroot said:
Did you happen to do a test flash? Or just edit, zip and go
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
Flashed it. Booted up. I did a reboot just to test, and then reverted to my ROM to continue development lol.

PureMotive said:
Flashed it. Booted up. I did a reboot just to test, and then reverted to my ROM to continue development lol.
Click to expand...
Click to collapse
Sent from my SCH-I535 using xda premium
Cool deal
---------- Post added at 08:12 AM ---------- Previous post was at 08:02 AM ----------
Tryd flashing.. It failed immediately.. Gonna try redownloading
Sent from my SCH-I535 using xda premium

i just tried this hoping that it would work with this PA rom from AT&T. sadly this didnt work for me. it says update aborted when i try to install it. i was coming from PA 2.52 but it has some BT issues and occasional loose of signal for me so ifigured this would work. Maybe someone would like to try this and get it to work? :angel:

epicroot said:
Sent from my SCH-I535 using xda premium
Cool deal
---------- Post added at 08:12 AM ---------- Previous post was at 08:02 AM ----------
Tryd flashing.. It failed immediately.. Gonna try redownloading
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
Which mirror did you use?!
Sent from my SCH-I535 using xda premium

rossida said:
i just tried this hoping that it would work with this PA rom from AT&T. sadly this didnt work for me. it says update aborted when i try to install it. i was coming from PA 2.52 but it has some BT issues and occasional loose of signal for me so ifigured this would work. Maybe someone would like to try this and get it to work? :angel:
Click to expand...
Click to collapse
It's better to build AOSP from source if you can. In any case I'll update my reserved post with a how-to for AOSP ROMs (may or may not work for you).
EDIT: AOSP guide is up

Pure did you use twrp to flash?!

Menardo said:
Pure did you use twrp to flash?!
Click to expand...
Click to collapse
Yes. I always use TWRP. If you're trying to flash the Wicked Sensation ROM - it takes a long time to boot up.
EDIT: I just saw your post. If the ROM keeps failing I may have had a bad upload. Let me know and then I can correct it orrrrr you can try your hand at porting

PureMotive said:
Porting AOSP ROMs
================================ START ================================​
What you need
7zip
Notepad++ (If on Windows)
An AOSP ROM you want to port
An AOSP ROM from your carrier/device
Make sure the ROM you want to port and the ROM you are using as a base are the same Android version (e.g. 4.1.1) and have the same chip (e.g. MSM8960)​
I will do the AOSP porting section with an example. Say I want to port Paranoid Android:
Download Paranoid Android (Android 4.2)
Download CM10.1 (Android 4.2)
Unzip both ROMs
In the CM 10.1 folder delete the following folders:
/system/framework
/system/app
/system/media (optional)
/system/fonts (optional)
Add the following folders from the PA ROM into the CM10.1 ROM:
/system/framework
/system/app
/system/media (only if you deleted from CM10.1)
/system/fonts (only if you deleted from CM10.1)
Re-zip and flash in recovery
================================ END ================================​
If the ROM does not boot up, try a different ROM. For example, if you tried to port Paranoid Android 4.2 from AT&T and it didn't work. Try Paranoid Android from T-Mobile or the Galaxy Nexus, etc.
Click to expand...
Click to collapse
SO just to clear things up... if i download this and CM10.1 for verizon i just do the guide above and this should work even tho its not the same phone? The PA is coming from Google Nexus and trying to port to VZ GS3

PureMotive said:
Yes. I always use TWRP. If you're trying to flash the Wicked Sensation ROM - it takes a long time to boot up.
EDIT: I just saw your post. If the ROM keeps failing I may have had a bad upload. Let me know and then I can correct it orrrrr you can try your hand at porting
Click to expand...
Click to collapse
I just tried TWRP like 3 days ago... Have to say I'm digging it... Yea I tried to flash from the main server... Just downloaded from a mirror... About to give it another go will let you know...

rossida said:
SO just to clear things up... if i download this and CM10.1 for verizon i just do the guide above and this should work even tho its not the same phone? The PA is coming from Google Nexus and trying to port to VZ GS3
Click to expand...
Click to collapse
Yes, that's correct. However, if it does not work try porting PA from another device like one of the other US S3s.

PureMotive said:
Yes, that's correct. However, if it does not work try porting PA from another device like one of the other US S3s.
Click to expand...
Click to collapse
but the PA from other US devices are not running 4.2.1 which CM10.1 is. All PAs are running 4.1.x on US GS3. So would it not be possible to port them since they are two different JB versions?

Can this help us bring Premium Suite over to us? Want it bad

rossida said:
but the PA from other US devices are not running 4.2.1 which CM10.1 is. All PAs are running 4.1.x on US GS3. So would it not be possible to port them since they are two different JB versions?
Click to expand...
Click to collapse
You don't have to port PA from the US S3s. You can port 4.2 PA from the GNex forums if you want.
TokedUp said:
Can this help us bring Premium Suite over to us? Want it bad
Click to expand...
Click to collapse
Unfortunately not. Porting that is much more complicated than what's described in this thread. I pretty much already ported multi-window and the ink effect so doing the rest doesn't seem too far fetched.

Thinking it's a bad upload... Same immediate failed message...

Related

[MOD] AOSP JellyBean Carrier Name Change

For those of you who are using cm10 builds and are tired of seeing Verizon Wireless on your lockscreen and notification pulldown this will allow you to remove or change it to something else. I take no credit for this all credit goes to spunks3 for making the post over in the nexus forums, I just tried his method and it happened to work on our phone, also belair56 for the original find as well as dakota0206 for his post on the thread giving the correct eri.xml.
PLEASE NOTE: I AM NOT RESPONSIBLE FOR ANY DAMAGE DONE TO YOUR PHONE, MAKE A NANDROID BACKUP BEFORE ATTEMPTING ANY MODS SUCH AS THIS!
1) Download eri.xml onto your desktop or some folder you will remember where it has been placed.
2) Open "eri.xml" with something such as NotePad or WordPad and edit everywhere you see "Whatever you want or delete this and nothing will show up". You can simply change the text or delete the text between the quotations and nothing will show up.
3) Save "eri.xml" and copy it to the root of your SD Card.
4) Open Root Explorer or an app similar, copy "eri.xml" from your SD card to "/data" directory. Please make sure you are not placing it in /sdcard/data
5) Also make sure that eri.xml has the same permissions as in the thumbnail below.
6) Reboot, and Enjoy!
eri.xml here http://www.mediafire.com/?x0x8kqyapnws4sc
Confirmed working on paranoid android version 2.13
Hey thanks for this! I'm also using PA2.13 so should be easy. May I ask where you got that battery circle mod? In the meantime I'll search it. Thanks again.
http://forum.xda-developers.com/showthread.php?t=1851311&highlight=circle+battery
was this it? Sorry to crowd the thread.
BTW got it working =D
Glad you got it working and actually I just pulled the images from an old copy of my systemui.apk when I had syngergy rom. Just modded my current systemui.apk, swapped out the images and edited the appropriate xmls.
Just tried on Paranoid 2.13 and it didnt work for me
Hanoverfiste said:
Just tried on Paranoid 2.13 and it didnt work for me
Click to expand...
Click to collapse
It shouldn't really make any difference but what kernel are you using and did you follow the directions exactly? Also make sure you are putting eri.xml in /data and not in /sdcard/data also make sure eri.xml has the following permissions in the picture below.
Hanoverfiste said:
Just tried on Paranoid 2.13 and it didnt work for me
Click to expand...
Click to collapse
It wasn't working for me either until I changed the permissions to above. Do any of the other comments in that file do anything? Kinda weird that it isn't there in the first place. Thanks, op.
natethegreat86 said:
It shouldn't really make any difference but what kernel are you using and did you follow the directions exactly? Also make sure you are putting eri.xml in /data and not in /sdcard/data also make sure eri.xml has the following permissions in the picture below.
Click to expand...
Click to collapse
Thanks I didnt have it in /data had it in /sdcard/data. and look what happens when you put things where they are supposed to go they actually work
Imatoasta said:
It wasn't working for me either until I changed the permissions to above. Do any of the other comments in that file do anything? Kinda weird that it isn't there in the first place. Thanks, op.
Click to expand...
Click to collapse
Its just how the original xml was it doesn't do anything in fact if you really wanted to you could delete all the text above this first line
<EriFile VersionNumber="1357" NumberOfEriEntries="19" EriFileType="1">
And glad the permissions fixed it for you
This is pretty cool. Thanks for testing it and posting.
Sent from SCH-I535 (CM10 0920) via XDA Premium
Glad to see so many people using and enjoying this I know I was tired of seeing verizon anything lol.
Thanks. I used to use this on my HTC Hero, but had forgotten how to do it.
Works on Sprint CM10 S3 :good:
If anyone has any issues or questions feel free to post so I can answer etc.
natethegreat86 said:
If anyone has any issues or questions feel free to post so I can answer etc.
Click to expand...
Click to collapse
It works for me
natethegreat86 said:
If anyone has any issues or questions feel free to post so I can answer etc.
Click to expand...
Click to collapse
Is this only for AOSP JB ROMs? It doesn't seem to work on Synergy JB v.2.
mapatton82 said:
Is this only for AOSP JB ROMs? It doesn't seem to work on Synergy JB v.2.
Click to expand...
Click to collapse
Is that a touchwiz Rom? Sorry I'm not familiar with Verizon roms but Touchwiz roms need to have a value changed in the framework. Not as easy as this eri.xml
Sent from my Samsung Galaxy SIII using Tapatalk
Bizdady said:
Is that a touchwiz Rom? Sorry I'm not familiar with Verizon roms but Touchwiz roms need to have a value changed in the framework. Not as easy as this eri.xml
Sent from my Samsung Galaxy SIII using Tapatalk
Click to expand...
Click to collapse
Yeah it is a Touchwiz rom based on AT&T's JB leak. I will take a look in the framework.
Anyone wanna make a flashable zip for just Verizon Wireless. That would be awesome
Sent from my SCH-I535 using xda app-developers app
mapatton82 said:
Yeah it is a Touchwiz rom based on AT&T's JB leak. I will take a look in the framework.
Click to expand...
Click to collapse
\res\values\Strings.xml
last line at the bottom (at least for Sprint it is)
Bizdady said:
\res\values\Strings.xml
last line at the bottom (at least for Sprint it is)
Click to expand...
Click to collapse
I just ran a search for eri.xml and string.xml on my Verizon S3 running JellyWiz and didn't find either file.
Sent from my SCH-I535 using Tapatalk 2

[MOD] Ported "Note 2 Camera" 22.10. 30Mbit/192kbit/Hardkey-Vol.UP/SLOW/FAST MOTION

[MOD] Ported "Note 2 Camera" 22.10. 30Mbit/192kbit/Hardkey-Vol.UP/SLOW/FAST MOTION
Hi Guys I have decided to port this mod from a great dev in the I9300 forum called HyperX (Thank you)
This is VERSION 1.52 for DEODEXED ROMS
Extra options compared to the stock Sg3 Cam
also
Dont worry if you dont see the pause button when recording, I was told note 2 took out the soft button, So to pause Press Vol down, Resume Vol UP.
Good thing about this is it uses hard keys for different things Eg; the volume up key also acts like the optional camera clicker. Like a real camera There are more visit the original thread for more details
Here is the details in the original thread: http://forum.xda-developers.com/showthread.php?t=1691145
Again thanks HyperX
Instructions very simple:
Simply copy the zip to your phone
Reboot into recovery
choose the zip file & flash
Reboot & DONE
whats the difference from his to yours? does HyperX version does not work on I9305 and yours does?
Its not mine its his i just made it flashable simply changing partition location
Sent from my GT-I9305 using xda app-developers app
Hey guys, thanks for the app, but for me the camera now forces closes, am on stock odexed rom just rooted.Does anyone have the stock camera.apk
cheers
You need to be deodexed, just go the the thread and download the deodexed xxali5 rom and it has all tha apks in system/app & framework
Sent from my GT-I9305 using xda app-developers app
btemtd said:
You need to be deodexed, just go the the thread and download the deodexed xxali5 rom and it has all tha apks in system/app & framework
Sent from my GT-I9305 using xda app-developers app
Click to expand...
Click to collapse
Thanks, but i really like my stock rom as it has great battery life and supports Telstra HD voice, which is awesome. I just need the stock camera.apk back (i dont really want to do a restore as i have too much progress on one of my games) lol.
stevejau said:
Thanks, but i really like my stock rom as it has great battery life and supports Telstra HD voice, which is awesome. I just need the stock camera.apk back (i dont really want to do a restore as i have too much progress on one of my games) lol.
Click to expand...
Click to collapse
No imeant to download it so you can extract the camera apk from it and use it. Its also good to have that bckup incase you have another problem like this, all the stock apks are in that
btemtd said:
No imeant to download it so you can extract the camera apk from it and use it. Its also good to have that bckup incase you have another problem like this, all the stock apks are in that
Click to expand...
Click to collapse
gotcha..cheers :good:
If you are on a stock odexed rom then you will need to delete the .odex file for what is being replaced in both system/app and framework.
So looking in the zip you will need to delete samsungcamera.odex from system/app and seccamera.odex from system/framework.
If you don't want to remove those two files then you will need the samsungcamera.apk and seccamera.jar from a stock odexed rom not a deodexed rom because that is not going to make any difference because when the rom is deodexed it combines the .apk or .jar together with the .odex where as an odexed system has the .odex and .apk or .jar seperate.
txr33 said:
If you are on a stock odexed rom then you will need to delete the .odex file for what is being replaced in both system/app and framework.
So looking in the zip you will need to delete samsungcamera.odex from system/app and seccamera.odex from system/framework.
If you don't want to remove those two files then you will need the samsungcamera.apk and seccamera.jar from a stock odexed rom not a deodexed rom because that is not going to make any difference because when the rom is deodexed it combines the .apk or .jar together with the .odex where as an odexed system has the .odex and .apk or .jar seperate.
Click to expand...
Click to collapse
Thanks for info, much appreciated.
Cheers
Please also edit your post and include the information; "Only for deodexed rom's".!!
Sent from my GT-I9305
hi
Just to check, is there no way to install this hacked camera on an odexed rom? I tried what i thought i needed to do to install it on odexed rom, delete the apk and odex files and put on the new apk but when i rebooted my phone it was stuck at the samsung screen. Had to put all the old files back from recovery with adb.
Any help apprechiated
Thanks worked nice with Ripper 19.5 ROM
Hi,
Can I flash it on cm10.2 m snapshot ?
Does it work on cyanogen mod?
Sent from my Nexus 7 using Tapatalk
beppemila said:
Does it work on cyanogen mod?
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
a bit of a old thread to be posting in.... and no, only on stock based roms. probably 4.1.2 based on thread age.
chongc1996 said:
a bit of a old thread to be posting in.... and no, only on stock based roms. probably 4.1.2 based on thread age.
Click to expand...
Click to collapse
Yeap. Doesn't work on 4.3. Phone doesn't boot..
Worked on i9305 4.4.4 odexed rom

[Q] Adding locale pack to stock rom from other stock rom

Hi.
I'd like to add language packs from a stock samsung rom to another samsung rom.
For example take all the languages from EU SGSII LTE and add them to SGSII LTE Skyrocket?
Is there some script or program or a non-time-consuming solution if all the apps (except for carrier bloat) ar the same?
bump?
¡Ԁwnq
Add the apk to the app directory in the rom. Just extract the two roms with 7zip and copy it from the rom it's in into the rom you want it in. Zip it up and flash it. Look for system/app.
Edit, if you really meant stock and not from zip's, You're on your own
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Deodex stock ROM.
Decompile the framework resources (system/framework/*.apk) and all the stock apps (/system/app/*.apk) from source and target builds.
Copy over all the language files (under eack APK at /res/values-*) to the target build.
Recompile all the framework resources and apps.
You can do it all app-by-app, if you want.
Lots of work.
ROM will grow significantly.
Can't be done without de+recompiling - language resources are XML.
jd1639 said:
Add the apk to the app directory in the rom. Just extract the two roms with 7zip and copy it from the rom it's in into the rom you want it in. Zip it up and flash it. Look for system/app.
Edit, if you really meant stock and not from zip's, You're on your own
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Zip's are fine, but i've tried doing what you said, som time ago, and ended up with a bootloop. Thanks for the effort
Jack_R1 said:
Deodex stock ROM.
Decompile the framework resources (system/framework/*.apk) and all the stock apps (/system/app/*.apk) from source and target builds.
Copy over all the language files (under eack APK at /res/values-*) to the target build.
Recompile all the framework resources and apps.
You can do it all app-by-app, if you want.
Lots of work.
ROM will grow significantly.
Can't be done without de+recompiling - language resources are XML.
Click to expand...
Click to collapse
Yes that's what I thought. Do you know if I have to add language entries to the language chooser menu or will they pop up automatically?
Don't know the answer to that one... Sorry. I'd be interested to know that too.
Jack_R1 said:
Don't know the answer to that one... Sorry. I'd be interested to know that too.
Click to expand...
Click to collapse
I found some info on this problem:
http://forum.xda-developers.com/showthread.php?t=1924043
http://forum.xda-developers.com/showthread.php?t=1564694&highlight=tool
Lol sometimes it's easier to search by making a new thread and look what similar threads pop up
EDIT:
After some searching on the topic of adding languages to roms, batch decompiling of apk's etc i've found lots of useful info. I'll report back when i have anything to show...

[GUIDE][TUTORIAL]So, you want to port a rom to the MT4GS?

Ok, porting roms to our device is actually very easy. i am going to put together a guide for those of you who wish to port a rom to this device. This may not be the best method and may not work 100% of the time but it does work. As long as you follow this guide you should not hurt your device. That being said i take no responsibility for your actions you are doing this on your own accord.
To get started you will need to make sure you have a few programs set up on your windows PC:
7zip - http://www.7-zip.org/
notepad++ - http://notepad-plus-plus.org/
ADB - http://forum.xda-developers.com/showthread.php?t=928370
Apktoolv3 - http://forum.xda-developers.com/showpost.php?p=32649311&postcount=4
Also, you will need to know the terminology for this guide:
base rom - the rom already designed for the MT4GS
port rom - the rom you wish to bring over to the MT4GS
First step is to extract (using 7zip) both your base rom and your port rom into seperate folders
In your base rom you need to delete the following folders from system: apps, fonts, framework, and media
in your port rom you need to copy the same folders: apps, fonts, framework, and media; then paste them into your base rom
next open up the bin folder from port rom and copy all; now paste in base rom bin folder. BUT we only want what is not already there so when you use the paste command windows should prompt you that multiple files are already present in that folder. you want to select DO NOT COPY and do that for all the files.
now you need to do the same procedure for the the xbin folder. (you will need to copy the su file from port rom and paste to base rom)
Then you will need to open the etc folder and you will need to do the copy & paste trick with init.d and permissions folders
stay in the etc folder. underneath all the folders you will notice several "loose" files. use the same copy & paste trick so all additional files will be in your base rom.
after that we move on to the lib folder. we will use the same copy & paste trick. when you have the extra libs moved you will need to copy the following libs from port rom and paste them to base rom: libandroid_servers.so and libmedia_jni.so
you will need to open both port rom and base rom build.prop with notepad++. you need to make these following lines match the port rom:
ro.build.id
ro.build.display.id
ro.build.version.incremental
ro.config.ringtone
ro.config.notification_sound
ro.config.alarm_alert
Last zip your rom and flash it. if it boots you will need to move on to the next post. if it doesnt boot you will need to get a logcat to see what the problem is. if you want anyone here to look at make sure you use pastebin.
OK, you got your rom to boot!!! except your keyboards are all jacked up. This is the known fixes for the MT4GS!
you will need the framework-res apk from your booted rom and paste it to the root of your apktoolv3 folder.
you will need to decompile framework-res with the following command:
apktool d framework-res.apk
this will create a folder inside apktool titled "framework-res". open this folder and navigate to res>values
you will need to open bools.xml and integers.xml with notepad++
lets start with bools.xml
<bool name="config_forceDisableHardwareKeyboard">false</bool> change false to true
save bools.xml
in integers.xml you need to make the following changes:
<integer name="config_lidOpenRotation">90</integer>
<integer name="config_lidKeyboardAccessibility">1</integer>
<integer name="config_lidNavigationAccessibility">1</integer>
save integers.xml
run the following command to rebuild framework-res:
apktool b framework-res
your finished product will be in the "dist" folder.
last step is to open your new framework-res.apk and the original with 7zip. (DO NOT extract only open archive)
copy META-INF folder as well as AndroidManifest.xml from the orignal and paste to your new framework-res.
add framework-res.apk to your rom and zip it up.
Points of Reference
http://forum.xda-developers.com/showthread.php?t=1777999
http://forum.xda-developers.com/showthread.php?t=1598713
http://forum.xda-developers.com/showthread.php?t=1957219
http://forum.xda-developers.com/showthread.php?t=2113479
MAN!! That is one AWESOME guide there Bro! Now THAT should be insprirational to anyone that's ever dreamed of pulling over a port! NICE JOB!!!!!:good:
....and unless I overlooked it, you should mention that any extra folders in "system" in your port ROM that don't exist in you base need to be copied over too. (I don't know of the times I've forgotten that one!)
OH....and BTW, I've found that a copy of Winmerge is a HUGE help in comparing the files you need to compare for continuity & content. Namely the build.prop & updater-script files. It will save back to the proper format like Notepad++ will. (thanks Strapped365) :good:
Re: [GUIDE]So, you want to port a rom to the MT4GS?
So is anyone trying this?
Sent from my SGH-T889 using Tapatalk 2
I am, but I don't think I count.
can it be done on a pre-made rom or gotta start from scratch?
Re: [GUIDE]So, you want to port a rom to the MT4GS?
crimedave1987 said:
can it be done on a pre-made rom or gotta start from scratch?
Click to expand...
Click to collapse
This is for AOSP. Its the same guide SWaRM uses for our ports.
Sent From SaberMod using my Nexus 4
Re: [GUIDE]So, you want to port a rom to the MT4GS?
Use any cm or aokp base.
Sent from my SGH-T889 using Tapatalk 2
cool thanks
crimedave1987 said:
cool thanks
Click to expand...
Click to collapse
Good Luck! ....and don't get discouraged!
Re: [GUIDE]So, you want to port a rom to the MT4GS?
Thanks for this guide. I've learned so much with this device & following the development threads from the solid developers we have(had). I truly appreciate your work & willingness to share.
Sent from my KFTT using xda premium
Re: [GUIDE]So, you want to port a rom to the MT4GS?
etom said:
Thanks for this guide. I've learned so much with this device & following the development threads from the solid developers we have(had). I truly appreciate your work & willingness to share.
Sent from my KFTT using xda premium
Click to expand...
Click to collapse
No problem. If you have any issues post them here
Sent from my SGH-T889 using Tapatalk 2
Re: [GUIDE]So, you want to port a rom to the MT4GS?
mattlowry said:
No problem. If you have any issues post them here
Sent from my SGH-T889 using Tapatalk 2
Click to expand...
Click to collapse
Yeah one of us will get him right huh.
*
Has this worked for anyone yet? Or still no attempts
Sent From a Freaked out Nexus 4
strapped365 said:
Yeah one of us will get him right huh.
*
Has this worked for anyone yet? Or still no attempts
Sent From a Freaked out Nexus 4
Click to expand...
Click to collapse
I'll be trying during spring break. No time for me between work and school since the end of the term is creeping up.
strapped365 said:
Yeah one of us will get him right huh.
*
Has this worked for anyone yet? Or still no attempts
Sent From a Freaked out Nexus 4
Click to expand...
Click to collapse
It's given me another NICE one. I just haven't figured out where it recognizing external storage went. Don't I remember you saying you ran across this when you were building XE.....or is that just my "wishful" thinking?
Actually, I would have thunk people would have been all OVER this post!
Re: [GUIDE]So, you want to port a rom to the MT4GS?
I have midwinter break so I'll try this in a couple day just don't know what ROM to port
Sent from my MyTouch Slide 4G using Tapatalk 2
wiswis said:
I have midwinter break so I'll try this in a couple day just don't know what ROM to port
Sent from my MyTouch Slide 4G using Tapatalk 2
Click to expand...
Click to collapse
The very first thing to consider for simplicity's sake is to match one using the same processor. You can do that from HERE.
Secondly, gravitate to one with our screen size. (800x480) That will keep you away from ports that you'll have to resize a bunch of stuff in. You can find those HERE.
Then you just go to those developement threads & start shopping! LOL:laugh:
And GOOD LUCK! :good:
Re: [GUIDE]So, you want to port a rom to the MT4GS?
wiswis said:
I have midwinter break so I'll try this in a couple day just don't know what ROM to port
Sent from my MyTouch Slide 4G using Tapatalk 2
Click to expand...
Click to collapse
Could always try to port a pure Google ROM . I know anything that's Paranoid Android 3+ is based off Google source code as is much more stable than anything CM I've seen yet. It don't have as many tweaks and such BUT its pure
Sent from my Nexus 4 using Tapatalk 2
strapped365 said:
Could always try to port a pure Google ROM . I know anything that's Paranoid Android 3+ is based off Google source code as is much more stable than anything CM I've seen yet. It don't have as many tweaks and such BUT its pure
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Would that mean A base CM4.1 or 4.2 ROM or AOKP?

6/4/2013[Guide][update][Rootbox]How to get New emotions and get rid of green ones

New updateVanilla rootbox zip Available Now
Hi Guyz..
Today when i woke up and read my msgs those green similes were quite annoying me ..... so i decided to change them and i did change them..
For those people who dose not like android similes can do this..
Its quite easy and noob friendly... so here we go
1 MAKE A NANDROID BACKUP... GO TO RECOVERY FOR THIS
2 EXTRACT THESE 2 APK FROM THE ROM ZIP
For CyanogenMod users
system\app\mms.apk
system\framework\framework_res.apk
For Sense users
copy only
system\framework\framework_res.apk
These apks can also be get using any root explorer if you dont have ROM zip.
same destinations.. For example using Es File Explorer or Solid Explorer
3.After that extract the sense5.rar file that i have given to u.somewhere safe wher you can find that
4.Open your Rom files one by one lets start with Framework_res using winrar on pc
Now where to go?
res\drawable-mdpi\
Drag all the emotions from the folder that you have extracted from sense 5.rar these are all emotions you could see it and drop it in apk file that you have open at one side like shown in image one
5. Thats it now close the apk file
6 same with the mms apk
7 Now how to push it if you dont know how to use ADB
8 Download the zip named as flash
9 Open it using winrar
10 If uou want to flash mms then put it in sytem\app
And if you want to flash framework put it in system\framework and close the zip
Do not extract the zip
And compression level is normal dont change the settings just press on ok
11 Cyanogen user should Flash both files after editing and Sense users can flash framework only cuz mms.apk dosenot exist
12 For CM9 and cm 10.1 i have made a flashable zip just flash it and you are done NAMED as cm9 emo.zip for cm9 and cm10.1 for cm10.1 and cm10 for cm10 and xenon for xenon and rootbox for Vanilla Rootbox
AT THE END I DIDNT TEST IT ON SENSE BUT IT SHOULD WORK
And please be easy on me cuz this is my first tutorial
see guyz in this way you can also theme your rom like systemui.apk for statusbar
Might want to prefix the thread title with [Guide] so it doesn't look like you're asking how to.
Sent from Myushi
XperienceD said:
Might want to prefix the thread title with [Guide] so it doesn't look like you're asking how to.
Sent from Myushi
Click to expand...
Click to collapse
see now its ok? I hope so
harib12 said:
see now its ok? I hope so
Click to expand...
Click to collapse
I'd add a space between each, but its better. Will help those searching too. updating my guide at the weekend so will add it in.
Sent from Myushi
I am glad you like it
what about cm10?
i can give u if u want?
harib12 said:
i can give u if u want?
Click to expand...
Click to collapse
yes please!
In cm 10
i tried in cm 10.copied sense emoticons and replaced in drawable-mdpi.
after i replaced the framework-res.apk its starts rebooting and could not boot the rom keeps strucks on htc animation:crying:
help me to get sense emoticons in cm10 pls hlp me
udhayababu said:
i tried in cm 10.copied sense emoticons and replaced in drawable-mdpi.
after i replaced the framework-res.apk its starts rebooting and could not boot the rom keeps strucks on htc animation:crying:
help me to get sense emoticons in cm10 pls hlp me
Click to expand...
Click to collapse
The OP has not yet given us a flashable zip or files for cm10 .I think you misread the guide.the one that you've done is specific for phones running on the sense rom.. not cm10 .
As far as fixing the bootloop i think you should restore any previous nandroid backups through recovery or reflash the rom..
johnlohit1996 said:
The OP has not yet given us a flashable zip or files for cm10 .I think you misread the guide.the one that you've done is specific for phones running on the sense rom.. not cm10 .
As far as fixing the bootloop i think you should restore any previous nandroid backups through recovery or reflash the rom..
Click to expand...
Click to collapse
sorry for delaying i was ill
udhayababu said:
i tried in cm 10.copied sense emoticons and replaced in drawable-mdpi.
after i replaced the framework-res.apk its starts rebooting and could not boot the rom keeps strucks on htc animation:crying:
help me to get sense emoticons in cm10 pls hlp me
Click to expand...
Click to collapse
Just flash cm10 zip given my me nd everything will be fine
Thanks
Thanks for the flashable zip for cm10
Its not rebooting. I hope. So
New Update emo for Vanilla Rootbox
hey Vanilla Rootbox user check this out sense 5 emo for your rom it looks great!!

Categories

Resources