Advanced ROM porting. - Sprint Samsung Galaxy S III

Ok lets say that i want to port a rom from a totally different phone like a xperia phone to galaxy s3. If i want to port the hard way like comparing both the framework files and each other files and decompile them and add the files that are in the sony files to the galaxy like things like the sony folders inside the framework-res and the framework.jar will this in theory work?

xdarkmario said:
Ok lets say that i want to port a rom from a totally different phone like a xperia phone to galaxy s3. If i want to port the hard way like comparing both the framework files and each other files and decompile them and add the files that are in the sony files to the galaxy like things like the sony folders inside the framework-res and the framework.jar will this in theory work?
Click to expand...
Click to collapse
If you are trying to put a stock sony rom on a samsung no. If you just want applications from the sony software just get the apk files from system/app or system/priv-app folder, move em to your rom or phone. Some will work, but a few might not. Just if you are putting them on a working phone then copy the apk files to the appropriate folder and wipe cache+dalvik cache and reboot. Wiping will fix some errors.
Sent from my SPH-L710 using XDA Free mobile app

It's that because of the kernel sources maybe? I'm trying to figure out how or why not a android application or resource is tied to a device aka why is a Samsung app tied to touchwiz?
Sent from my SPH-L710

Related

All Stock Samsung Apps

So after someone very nicely pointed out that they had uploaded the entire contents of their /system/apps folder for the Sony Ericsson Arc HERE I thought I would reciprocate by uploading my whole /system/apps folder from a stock Samsung Galaxy S II.
I've uploaded this for people who a) deleted some of their stock apps and want them back and b) for those with other branded phones who want to try out some of Samsungs stock apps
Anyway heres the link, i've hosted on mediafire cause well they have fast servers and no waiting time.
http://www.mediafire.com/?piah8yhdg0in68h
should mention what version apps they are and from what stock rom as different rom versions have slight version changes
pepxl said:
should mention what version apps they are and from what stock rom as different rom versions have slight version changes
Click to expand...
Click to collapse
Im not going through the versions of every app, its 185mb and thats alot of apps, however they do come from the 2.3.3 stock rom
yusuo said:
I've uploaded this for people who a) deleted some of their stock apps and want them back and b) for those with other branded phones who want to try out some of Samsungs stock apps
Anyway heres the link, i've hosted on mediafire cause well they have fast servers and no waiting time.
http://www.mediafire.com/?piah8yhdg0in68h
Click to expand...
Click to collapse
Thank you very much for your hard work. I guess these won't work on a deodexed custom rom right? I am looking for the stock dual clock and calendar (month) widget as these were not included in the custom ROM.
Is there a special way of installing this? I am after dual clock widget but even after installing the apk file, I cannot see the widget.
I'm sure cognition has them uploaded in his forum
Btw it is For kh3 if your using Kg6 use revolution app
Sent from my GT-I9100 using XDA App
yusuo said:
So after someone very nicely pointed out that they had uploaded the entire contents of their /system/apps folder for the Sony Ericsson Arc HERE I thought I would reciprocate by uploading my whole /system/apps folder from a stock Samsung Galaxy S II.
I've uploaded this for people who a) deleted some of their stock apps and want them back and b) for those with other branded phones who want to try out some of Samsungs stock apps
Anyway heres the link, i've hosted on mediafire cause well they have fast servers and no waiting time.
http://www.mediafire.com/?piah8yhdg0in68h
Click to expand...
Click to collapse
Thanks Bro
i want a favor from your side
please upload all other folders also that are inside the system folder
i mean when we open system folder there are so many folders inside it from which you upload only apps folder ....
please upload all other folders too
and these system folder should be the same android version from 2.3.3 Rom
or if you have now another stock version then please upload apps folder also with them, just in case if you are now on another version
i will be very thankful to you
Galaxy S2 compete system folder
any one how can upload a whole system folder of galaxy s 2
not only apps but the complete system folder
Thanks............

Theming questions?

I have been theming on the x2 for awhile now building custom themes .. I just got my nexus yesterday so I downloaded the gummy rom and tried to theme first with apktool and also with apk manager.. I see there have been themes made.. I have yet to be able to decompile any system apks successfully.. are there any new tools I'm missing or steps... would love to start theming again if I can get things to work
Sent from my Galaxy Nexus using xda premium
Kevin3328 said:
I have been theming on the x2 for awhile now building custom themes .. I just got my nexus yesterday so I downloaded the gummy rom and tried to theme first with apktool and also with apk manager.. I see there have been themes made.. I have yet to be able to decompile any system apks successfully.. are there any new tools I'm missing or steps... would love to start theming again if I can get things to work
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
yep, you need to update apktool for use with Android 4.0
edit: more specifically...
-Wrong version of apktool (get the latest)
-Wrong verison of apktool dependancies files (same site)
-Wrong version of aapt.exe in Android SDK (get latest SDK)
Alright awesome I'll look into it tonight after work
Sent from my Galaxy Nexus using xda premium
I have the latest version of all of that and can decompile with apktool. The problem is when I build the new apk and copy over the edited files and push back to the phone the app won't work.
A run down of everything I did is here: http://forum.xda-developers.com/showthread.php?t=1452530
Did u try putting it back in the flash able zip with 7 zip? I never use adb push.... in theory if u are able to compile the apk without errors it should work
Sent from my Galaxy Nexus using xda premium
Kevin3328 said:
Did u try putting it back in the flash able zip with 7 zip? I never use adb push.... in theory if u are able to compile the apk without errors it should work
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I pulled the music apk, edited it, rebuilt it, and put the edited files back in the original apk. I did that because I don't know how to sign my own apk so I just used the already signed one with some edited png and xml files. The thing I don't understand is that I pulled an apk once and opened it via 7zip and edited some things, pushed it back and everything was fine (changed out some icons on the contacts.apk)
Do you know where an up-to-date theming guide can be found? I'm very interested in making my own themes instead of requesting themers to make one. Learning experience and all that jazz.
Thanks.
coverton341 said:
I pulled the music apk, edited it, rebuilt it, and put the edited files back in the original apk. I did that because I don't know how to sign my own apk so I just used the already signed one with some edited png and xml files. The thing I don't understand is that I pulled an apk once and opened it via 7zip and edited some things, pushed it back and everything was fine (changed out some icons on the contacts.apk)
Do you know where an up-to-date theming guide can be found? I'm very interested in making my own themes instead of requesting themers to make one. Learning experience and all that jazz.
Thanks.
Click to expand...
Click to collapse
You can't replace xml's in that way.
Sent from my Galaxy Nexus using XDA App
If u properly recompile the apk then yes u can .. u edit it all the XML s and pngs in the apk then recompile.. then drop the recompiled apk into the system app section of the rom u r using unless its the framework Res apk or other framework apk.. once u do this put the new rom zip back into your phone and flash in recovery ... bottom line I'm not the most experienced themer in the forums I just got the phone yesterday so its gonna take time for me to begin theming anything.. that being said perhaps if this thread stays open and more experienced themers can chime in with some tips and advice
Sent from my Galaxy Nexus using xda premium
coverton341 said:
I pulled the music apk, edited it, rebuilt it, and put the edited files back in the original apk. I did that because I don't know how to sign my own apk so I just used the already signed one with some edited png and xml files. The thing I don't understand is that I pulled an apk once and opened it via 7zip and edited some things, pushed it back and everything was fine (changed out some icons on the contacts.apk)
Do you know where an up-to-date theming guide can be found? I'm very interested in making my own themes instead of requesting themers to make one. Learning experience and all that jazz.
Thanks.
Click to expand...
Click to collapse
Also in my short experience theming u should not have to sign a system app... u should recompile then rename it.. then reinsert into the rom you are using.. reflash the rom without any wiping and u should be good try it that way
Sent from my Galaxy Nexus using xda premium
Kevin3328 said:
Also in my short experience theming u should not have to sign a system app... u should recompile then rename it.. then reinsert into the rom you are using.. reflash the rom without any wiping and u should be good try it that way
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Hey Kev did u figured it out yet? I replied to ur PM...
Sent from my Galaxy Nexus using XDA App
Kevin3328 said:
Also in my short experience theming u should not have to sign a system app... u should recompile then rename it.. then reinsert into the rom you are using.. reflash the rom without any wiping and u should be good try it that way
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Actually, GoogleMusic.apk is found in data/app not in system, at least in the ROM I am on. But, am I correct in assuming that I can do the same thing in this instance?
Furthermore, is there no way to theme a single application? Do I need to always theme an app, place it back into the ROM zip, and reflash said ROM?
Can I make my own flashable zip file for a single app?
Sorry to ask so many questions, I just really like tinkering with things and I would really like to get good at theming.
Kevin3328 said:
If u properly recompile the apk then yes u can .. u edit it all the XML s and pngs in the apk then recompile.. then drop the recompiled apk into the system app section of the rom u r using unless its the framework Res apk or other framework apk.. once u do this put the new rom zip back into your phone and flash in recovery ... bottom line I'm not the most experienced themer in the forums I just got the phone yesterday so its gonna take time for me to begin theming anything.. that being said perhaps if this thread stays open and more experienced themers can chime in with some tips and advice
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Sorry misread what you were saying then.
Sent from my Galaxy Nexus using XDA App
I am at work until 1030 then I am gonna set up shop on my CPU first... gotta get the new sdk and apktool then I will gtalk u from there with issues.. all I know is this should be a learning experience lol.. by the looks of this phone it could be awhile b4 I learn what everything "is" framework will be all the apks will be different than what I'm used to
Sent from my Galaxy Nexus using xda premium
coverton341 said:
Actually, GoogleMusic.apk is found in data/app not in system, at least in the ROM I am on. But, am I correct in assuming that I can do the same thing in this instance?
Furthermore, is there no way to theme a single application? Do I need to always theme an app, place it back into the ROM zip, and reflash said ROM?
Can I make my own flashable zip file for a single app?
Sorry to ask so many questions, I just really like tinkering with things and I would really like to get good at theming.
Click to expand...
Click to collapse
U can make update zips and yes u should b able to do the same.. I usually borrow someone else's at first
Sent from my Galaxy Nexus using xda premium
wut? i've never done what you guys have when it comes to compiling/decompiling and replacing stuff. i'm not so sure that works, but i'll take your word for it for now since i've never tried it either. in theory, you can decompile and change xml, recompile and replace that xml, but not if you're dealing with the actual xml folder in apks. your resources change when you mess with that. this is the same for changing smali, except something else changes (it's been a bit since i've dealt with actual dev stuff).
also, it's a big waste (and sometimes troublesome) to flash an entire ROM to update one or a few apks. making one for just testing out things in \system\ will save you time and frustration. you can also make a backup easier for if something bootloops you
Success!!!
All right, first and foremost, thank you immensely for all the suggestions Kevin and others as well.
Here's what I did. I searched the ROM zip to no avail, but then found the apk in the gapps zip. I took it out of there, decompiled, messed around with just a few png files, recompiled and put it back into the gapps zip. Flashed it and it worked. Problem is, only a couple of the edits I made showed up which brings me to my next issue, ICS optimised apps have a tonne of "drawable-***" folders. Drawable, drawable-hdpi, drawable-hdpi-v8,v9,v11, drawable-xdpi, etc....ad nauseum.
I am not messing with any smali code, xml files, or .9.png files yet as I don't know what smali does, xml is a headache, and I have heard horror stories about .9.png files.
I'm going to dink around and see if I can sort out what items need to be changed for my current dpi setting (241) and will report back any findings, but probably not tonight as I have an early course in the morning followed by work.
coverton341 said:
Success!!!
All right, first and foremost, thank you immensely for all the suggestions Kevin and others as well.
Here's what I did. I searched the ROM zip to no avail, but then found the apk in the gapps zip. I took it out of there, decompiled, messed around with just a few png files, recompiled and put it back into the gapps zip. Flashed it and it worked. Problem is, only a couple of the edits I made showed up which brings me to my next issue, ICS optimised apps have a tonne of "drawable-***" folders. Drawable, drawable-hdpi, drawable-hdpi-v8,v9,v11, drawable-xdpi, etc....ad nauseum.
I am not messing with any smali code, xml files, or .9.png files yet as I don't know what smali does, xml is a headache, and I have heard horror stories about .9.png files.
I'm going to dink around and see if I can sort out what items need to be changed for my current dpi setting (241) and will report back any findings, but probably not tonight as I have an early course in the morning followed by work.
Click to expand...
Click to collapse
Let us know how you (hopefully) succeed. Im a bit tempted to try theming myself but ive cant seem to find a guide that is up-to-date - and im learning somthing with every question you are asking - and with every answer the other nice fellows are providing.
:thumbs up!:
I am still trying to figure out how to setup everything.. I know I need newest sdk and newest apk multi tool which I didn't get yet.. I'm gonna tinker around today/tonite and see what I'm doing wrong
Sent from my Galaxy Nexus using xda premium
mrvirginia said:
wut? i've never done what you guys have when it comes to compiling/decompiling and replacing stuff. i'm not so sure that works, but i'll take your word for it for now since i've never tried it either. in theory, you can decompile and change xml, recompile and replace that xml, but not if you're dealing with the actual xml folder in apks. your resources change when you mess with that. this is the same for changing smali, except something else changes (it's been a bit since i've dealt with actual dev stuff).
Click to expand...
Click to collapse
See this is how I read it too. I believe the OP means that he's making changes and then replacing the apk in the flashable zip. Not actually replacing the edited xmls in the original apk. Glad I'm not the only one that read it that way though
coverton341 said:
Success!!!
All right, first and foremost, thank you immensely for all the suggestions Kevin and others as well.
Here's what I did. I searched the ROM zip to no avail, but then found the apk in the gapps zip. I took it out of there, decompiled, messed around with just a few png files, recompiled and put it back into the gapps zip. Flashed it and it worked. Problem is, only a couple of the edits I made showed up which brings me to my next issue, ICS optimised apps have a tonne of "drawable-***" folders. Drawable, drawable-hdpi, drawable-hdpi-v8,v9,v11, drawable-xdpi, etc....ad nauseum.
I am not messing with any smali code, xml files, or .9.png files yet as I don't know what smali does, xml is a headache, and I have heard horror stories about .9.png files.
I'm going to dink around and see if I can sort out what items need to be changed for my current dpi setting (241) and will report back any findings, but probably not tonight as I have an early course in the morning followed by work.
Click to expand...
Click to collapse
no decompiling is necessary for tweaking pngs.
smali code is for messing with policies, etc.
.9.png files can be a pain if you don't recompile the apk correctly.
and this should help with your dpi as far as what to edit so you can see it...
http://developer.android.com/guide/practices/screens_support.html

4.2 keyboard on K3 build issue

I'm building myself a K3-based ROM and have pulled a working 4.2 LatinIMEGoogle.apk from another known working K3-based ROM but for whatever reason, on first boot, I get keyboard FCs. I have removed the Samsung keyboard as well. Am I missing something other than just the single apk?
Jirv311 said:
I'm building myself a K3-based ROM and have pulled a working 4.2 LatinIMEGoogle.apk from another known working K3-based ROM but for whatever reason, on first boot, I get keyboard FCs. I have removed the Samsung keyboard as well. Am I missing something other than just the single apk?
Click to expand...
Click to collapse
Yes, you are going to need the lib file that is associated with the keyboard for it to work properly. If you run a search for a cwm flashable 4.2 keyboard it should contain a /system/lib folder and a /system/app folder. Copy the contents of both into your new ROM in the same corresponding folders.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
stratatak7 said:
Yes, you are going to need the lib file that is associated with the keyboard for it to work properly. If you run a search for a cwm flashable 4.2 keyboard it should contain a /system/lib folder and a /system/app folder. Copy the contents of both into your new ROM in the same corresponding folders.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Bingo. That's exactly what I needed. I knew it was a missing lib but wasn't 100%. Thank you.
For future reference, the lib file needed is libjni_latinimegoogle.so.

Emoji for note 2 !!

So is there any way yet to enable emojis ( colored like in iphone ) in apps like instgram,twitter and others ?
I almost tried every thing. changing and replacing fonts adding keyboards but didn't find a way to display the emojis in all applications.
any suggestions ?
Do iOS emoji actually render properly in things like a twitter stream on other platforms (ie windows browsers) ?
-----
I would love to help you, but help yourself first: ask a better question
http://www.catb.org/~esr/faqs/smart-questions.html
This came packed with phoenix rom.
This is not flash able. The two apks in apps folder would go in /system/app/ and the file in lib folder should go in /system/lib/
I am not responsible for any damage you cause.
UtkarshGupta said:
This came packed with phoenix rom.
This is not flash able. The two apks in apps folder would go in /system/app/ and the file in lib folder should go in /system/lib/
I am not responsible for any damage you cause.
Click to expand...
Click to collapse
thnx
but this is a keyboard will let u to use the emojis. I'm looking for a way to display them because in apps like instgram cant see them.
UtkarshGupta said:
This came packed with phoenix rom.
This is not flash able. The two apks in apps folder would go in /system/app/ and the file in lib folder should go in /system/lib/
I am not responsible for any damage you cause.
Click to expand...
Click to collapse
Thanks. Just what im looking for :thumbup:
Sent from my GT-N7100 using xda premium

[Q] bravia engine 2 not compatible in deodexed framework files?

when i try to deodex all framework files with baksmali and smali jar, is done with great and try to port to framework of my xperia m and go to reboot. after reboot deodex process is complete, and when i try to move all bravia engine 2 file to my system i've got a little problem when i want to move com.sonyericcson.uxp.jar from bravia engine is only 4kb with classes.dex include in .jar file. but in my stock deodexed framework file com.sonyericcson.uxp.jar is 14kb? is this a very big different? can i replace it? if i can , what i must do? only replace that file? but when i do that bootloop happen after i reboot. and bootloop happen to when i replace that file with included old .odex file from my framework before deodex process?
what i must do? is bravia engine can't work with deodexed framework file? or something is missing from me?
Replacing framework files can and WILL cause bootloops if you don't run the stop command through ADB shell to stop the phone from using them. You are trying to replace files what the phone is actively using, stopping the phone from using it part way through the replacement and thus only part of the file is replaced.
Why don't you just use files what have already been deodexed for you instead of doing it the hard way around? Like I have got deodexed files for the two 4.3 versions for both SS and DS, paper13579 created a guide to show you how to properly replace system apks and system framework files. Check it out, themes & apps section.
gamer649 said:
Replacing framework files can and WILL cause bootloops if you don't run the stop command through ADB shell to stop the phone from using them. You are trying to replace files what the phone is actively using, stopping the phone from using it part way through the replacement and thus only part of the file is replaced.
Why don't you just use files what have already been deodexed for you instead of doing it the hard way around? Like I have got deodexed files for the two 4.3 versions for both SS and DS, paper13579 created a guide to show you how to properly replace system apks and system framework files. Check it out, themes & apps section.
Click to expand...
Click to collapse
ya i know, i deodexed my current rom 15.4.A.1.10 from my xperia m, and i replace it all in app and framework in my system and after reboot all working correctly and when i try to move file from bravia engine 2. and replace com.sonyericsson.uxp.jar,set permission to rw-r-r (i don't use any adb to move folder and deodexed files to my system, because i don't have any problem with error without adb) , reboot. Done with bootloop? so what i must do ? BE 2 can't run in deodexed framework? or i must do some modification in this jar file?
Nicklas Van Dam said:
ya i know, i deodexed my current rom 15.4.A.1.10 from my xperia m, and i replace it all in app and framework in my system and after reboot all working correctly and when i try to move file from bravia engine 2. and replace com.sonyericsson.uxp.jar,set permission to rw-r-r (i don't use any adb to move folder and deodexed files to my system, because i don't have any problem with error without adb) , reboot. Done with bootloop? so what i must do ? BE 2 can't run in deodexed framework? or i must do some modification in this jar file?
Click to expand...
Click to collapse
You should use ADB as you can corrupt files you're moving and end up in a bootloop. You said the framework file you had with BE2 was only 4kb? I think that may be a problem. It should be around 13kb-14kb. Can you link me to the thread (if applicable) of where you are trying to port BE2 from? I'll have a look, see if I can work it out. And you're using the 15.4.A.1.10 build for definite? Not one of the earlier 4.3 or 4.1 builds for the SS and not one of the 4.3 or 4.1 builds for the DS?
gamer649 said:
You should use ADB as you can corrupt files you're moving and end up in a bootloop. You said the framework file you had with BE2 was only 4kb? I think that may be a problem. It should be around 13kb-14kb. Can you link me to the thread (if applicable) of where you are trying to port BE2 from? I'll have a look, see if I can work it out. And you're using the 15.4.A.1.10 build for definite? Not one of the earlier 4.3 or 4.1 builds for the SS and not one of the 4.3 or 4.1 builds for the DS?
Click to expand...
Click to collapse
for BE2 may be i can only give you a link for this port for thread i forget it to find in where ?, for my firmware 15.4.A.1.10 is 4.3 build for SS and deodexed myself. and here for this thread http://forum.xda-developers.com/showpost.php?p=56995184&postcount=1. problem? hmmm what's problem?
Nicklas Van Dam said:
for BE2 may be i can only give you a link for this port for thread i forget it to find in where ?, for my firmware 15.4.A.1.10 is 4.3 build for SS and deodexed myself. and here for this thread http://forum.xda-developers.com/showpost.php?p=56995184&postcount=1. problem? hmmm what's problem?
Click to expand...
Click to collapse
I've already got that firmware, it you can find the thread where you get instructions for porting BE2 let me know and I'll look into it.
The problem about your framework file being 4kb once you've 'ported' BE2, it should still be around 13-14kb.
gamer649 said:
I've already got that firmware, it you can find the thread where you get instructions for porting BE2 let me know and I'll look into it.
The problem about your framework file being 4kb once you've 'ported' BE2, it should still be around 13-14kb.
Click to expand...
Click to collapse
So that's a problem ? One question from me, is this com.sonyericsson.uxp.jar from BE2 is already deodexed or not? Because is very small size I think?

Categories

Resources