[Q] Adding locale pack to stock rom from other stock rom - AT&T Samsung Galaxy S II Skyrocket SGH-I727

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

Related

Installing Custom Icon Pack Problem

K, so i'm running RCmix3D Runny 4.0 ROM (Sweet ROM btw) and i've found an icon pack that i want to use, not in an APK format, just have it in a folder as of now, both installed on my desktop and in my media folder on my phone. i really don't want to use Launcher Pro or anything like that to keep the icon pack installed, so i was wondering if anyone knew a way to install the icon pack with a program that doesn't need to be consistently ran to keep the icon pack installed.
i'm not completely retarded when it comes to ROMs, but i am new, so please, be gentle. lol
You would have to use a theme pack made for your Rom if you want to just flash it. If you know how to extract framework apks you could swap out the PNG images yourself.
Sent from my Inspire 4G using xda premium
Thanks for the insight um can u provide a link to a tutorial on the subject
bigslimoid said:
Thanks for the insight um can u provide a link to a tutorial on the subject
Click to expand...
Click to collapse
There is no tutorial that I know of. Learning how to do most of this stuff requires time searching and reading on the internet. I use linux with dsixdas kitchen to have a working folder of Rom. You could just pull out framework-res.apk and systemui.apk from Rom to work with as well. Decompile apk, trade out PNG's retaining original file name, recompile and change extension back to .apk. now you have the apk with different icons. Either build Rom with these or push them to phone and reboot. There are many other places where PNG images are stored as well. Com.HTC.resources.apk is another one for example.

[Q] want to bundle custom framework mods for stock ics

So I love my tweaked and modded ICS 4.0.4 rom. It's blazing fast, killer battery life and I couldn't be happier.. okay I lied. there's some framework-res.apk mods I would realllllly love to flash but I have not idea how to bundle/bake a flash package that includes the ones I want.
I would like to have;
1. Extended reboot menu
2. Either the WP7 or Sense 4.0 multitasking switcher
3. The full album art lockscreen mod
4. any others I don't know about?
But they are all separate framework-res.apk 's and flashing them over eachother either removes the previous mod all together or borks the system.
Any help would be greatly appreciated
delete
alexdemonumber3 said:
I remember when people on XDA were were helpful and nice..
Click to expand...
Click to collapse
It hasn't even been a day yet lol.
You'll need to find out how each tweak was implemented (you can do this by browsing individual decompiled frameworks), then use one of them as a base and implement the other tweaks. Decompile, tweak, recompile and sign/zipalign. For Odexed rooms like stock you'll also need to create a .odex file. Unsure how to do that myself.
Harbb said:
It hasn't even been a day yet lol.
You'll need to find out how each tweak was implemented (you can do this by browsing individual decompiled frameworks), then use one of them as a base and implement the other tweaks. Decompile, tweak, recompile and sign/zipalign. For Odexed rooms like stock you'll also need to create a .odex file. Unsure how to do that myself.
Click to expand...
Click to collapse
thanks for the reply! its the deodexed stock and that's why its so snappy. but I will see what I can do with it in the morning wth the info you gave me. muchos gracias!
Sent from my Nexus S using xda premium

[GUIDE] How to make your OWN CUSTOM ROM

Hi friends !
Many of you asked me to include different languages to NEO ROM. As I have been unable to do so, So I've come up with links to different guides/tutorials for MODs that are used in NEO ROM.
By following these guides you will be able to make your own fully functional CUSTOM ROM with various MODs.
I used the same links to build my own ROM (NeO RoM).
STEPS:
(1) Basic features of a CUSTOM ROM includes: deodexed, rooted, zipaligned, init.d scripts support, busybox, custom bootanimation, bootsound, vold.fstab, build.prop tweaks etc.
These features can be implemented in any ROM using dsixda's Android Kitchen.
Follow this to know how to use kitchen for making custom ROMs.
Just grab .tar file for any of stock ROM that you wish to use as base build.
It will give you a CWM flashable zip of your ROM. However there may be some problems with updater-script.
So before flashing the ROM to your device, upload this file here, I'll look for problems & modify for you.
(2) Next modification that you can make to your ROM is theming.
Basic theming includes changing icons, fonts, transitions, transparency, status bar mod, quickpanel icons mod etc
Use UOT kitchen for theming purpose.
see this video on how to use UOT kitchen.
(3) For advanced MODs, you must know how to compile, decompile APKs, comparing apks using NOTEPAD++ & winmerge tool
Follow these guides to setup android sdk & apktool:
ANDROID SDK
APKTOOL
(4) Lets start adding advanced MODs to our ROM:
a) simplest one CRT OFF ANIMATION CRT OFF
b) LIDROID 14 toggle MOD 14 toggle
c) CRT ON Animation CRT ON
d) SWIPE to remove notifications
e) ICS style settings.apk
I'll add more links to the other MODs later.
Before that you should try to implement the above MODs in your ROM.
Post here your problems, errors etc, I'll provide assistance to you all.
Why depend on DEVs when you can yourself make your OWN ROM?
Believe me, NEO ROM is the result of all these links/tutorials/guides.
So, start making your OWN first custom ROM !!! :good:
Woah !
Thank you very much man.
'cooleagle' said:
Woah !
Thank you very much man.
Click to expand...
Click to collapse
GOOD LUCK Buddy.
Go ahead
I'm always here to help you.
pankaj88 said:
GOOD LUCK Buddy.
Go ahead
I'm always here to help you.
Click to expand...
Click to collapse
Yeah will need your guidance & tips.
I'm just waiting for my PC's components to come back from service center. :banghead:
Great guide pankaj :thumbup:
Sent from my GT-I9103 using xda app-developers app
First of all, thank you very much for your work and effort, and for this wonderful initiative. I've been reading here and there to try to make my own rom and this is just the push that I needed.
So far I managed to get the dsixda kitchen running. I downloaded the I9103ZSLE6 original rom, unziped it and uncompressed all the stuff through the kitchen, so I have a working directory "WORKING_062812_032259" with everything on it. I also selected the option Add root permissions and I suppose everything went OK.
Now I'm trying to customize it with the UOT. I watched the video, but the problem that I found is that inside the framework folder I just have the framework-res.apk but not the SystemUI.apk, among a lot of jar and odex files.
Should I deodex the rom with the dsixda kitchen to get the System-UI.apk?
Another question I have: should I change de CSC version? I remember reading somewhere that if you take a rom from another country or zone it is necessary to do so.
Thank you very much in advance.
masual said:
First of all, thank you very much for your work and effort, and for this wonderful initiative. I've been reading here and there to try to make my own rom and this is just the push that I needed.
So far I managed to get the dsixda kitchen running. I downloaded the I9103ZSLE6 original rom, unziped it and uncompressed all the stuff through the kitchen, so I have a working directory "WORKING_062812_032259" with everything on it. I also selected the option Add root permissions and I suppose everything went OK.
Now I'm trying to customize it with the UOT. I watched the video, but the problem that I found is that inside the framework folder I just have the framework-res.apk but not the SystemUI.apk, among a lot of jar and odex files.
Should I deodex the rom with the dsixda kitchen to get the System-UI.apk?
Another question I have: should I change de CSC version? I remember reading somewhere that if you take a rom from another country or zone it is necessary to do so.
Thank you very much in advance.
Click to expand...
Click to collapse
For advanced MODs, deodexed apks/jars are required.
So, I recommend you to first deodex /system/app & /system/framework
folder using kitchen.
Though UOT kitchen can work with STOCK ODEXED files, but you should first deodex your ROM
also SystemUI.apk file lies in /system/app folder
not in /system/framework
You need to upload three files:
SystemUI.apk, framework-res.apk, twframework-res.apk
Added this to my Guide's List..
Hope you dont mind
http://forum.xda-developers.com/showthread.php?t=1721539
Ok, I just deodex the rom:
Could not deodex the following (you can try to deodex these files again):
GoogleQuickSearchBox.odex Maps.odex Phonesky.odex PlusOne.odex VoiceSearch.odex
A summary of the deodexing has been logged in deodex_062812_115659.log
5 *.odex files remain in system/app
0 *.odex files remain in system/framework
Click to expand...
Click to collapse
Is there any problem with this apps remain odex?
masual said:
Ok, I just deodex the rom:
Is there any problem with this apps remain odex?
Click to expand...
Click to collapse
some files cant be deodexed using dsixda's kitchen.
delete those files & extract the updated files from a working ROM (data/app/folder)
Thank you very much for your time. I downloaded NeoRom V2.1 and in this rom this 5 programs are removed and not replaced with the corresponding apks... so It's ok to just remove them or I'm missing something?
masual said:
Thank you very much for your time. I downloaded NeoRom V2.1 and in this rom this 5 programs are removed and not replaced with the corresponding apks... so It's ok to just remove them or I'm missing something?
Click to expand...
Click to collapse
phonesky.apk is play store.
So you must grab this apk from neo rom system /app folder
all others can be removed. they are not necessary.
EDIT: com.google.vending.apk is the file for play store
Sent from my GT-I9103 using xda app-developers app
Ok, it must be "com.android.vending-1.apk" then. I've been looking for phonesky.apk like crazy
Thank you very much.
Ok, so now I have the rom rooted and deodexed, and I added the apk of the market.
I flashed the stock zsle6 rom with odin.
To flash the deodexed one, so I can try the theming I created with the UOT Kitchen, what should I do?
I suposse the steps are as follows:
1.-Select "Build ROM from working folder" at dsixda kitchen.
2.-Flash CWM with ODIN.
3.-Flash the rom created with dsixda kitchen (Odin or CWM??).
4.-Flash the zip from UOT Kitchen.
Is that correct?
masual said:
Ok, so now I have the rom rooted and deodexed, and I added the apk of the market.
I flashed the stock zsle6 rom with odin.
To flash the deodexed one, so I can try the theming I created with the UOT Kitchen, what should I do?
I suposse the steps are as follows:
1.-Select "Build ROM from working folder" at dsixda kitchen.
2.-Flash CWM with ODIN.
3.-Flash the rom created with dsixda kitchen (Odin or CWM??).
4.-Flash the zip from UOT Kitchen.
Is that correct?
Click to expand...
Click to collapse
yes.. the steps are in order.
flash the zip obtained from dsixda kitchen via CWM
there may be some errors with the updater script file.
upload here when zip is ready.
Sent from my GT-I9103 using xda app-developers app
Just the update-script or the full zip?
masual said:
Just the update-script or the full zip?
Click to expand...
Click to collapse
just updater script file not the full zip.
Sent from my GT-I9103 using xda app-developers app
Ok, here it goes.
masual said:
Ok, here it goes.
Click to expand...
Click to collapse
use neo roms updater script and update binary files
since the file you uploaded is update script not updater one.
dsixda doesnt fully support SGR
. it requires some changes to updater script.
Sent from my GT-I9103 using xda app-developers app
Sorry, I think I made a mistake.
dsixda gives me the option of replace the update-script with unpdater-script and undate binary. I just rebuilt it, and say yes to that this time. I attach the files.

[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

dark themed google now launcher!

Can anyone address me to a dark themed google now launcher? I had it in Thyrus dark theme for terminus rom and, since I don't know how to extract that feature (for my own personal use, of course) from the theme, I was wondering if there's a ready-made version somewhere.
Thanks for any help
There's one in themes and kappa section
rootSU said:
There's one in themes and kappa section
Click to expand...
Click to collapse
Kappa section? You mean here in the nexus 5 area?
astrovale said:
Kappa section? You mean here in the nexus 5 area?
Click to expand...
Click to collapse
Haha. Sorry, my keyboard often corrects "apps" to "kappa".
Yes, the nexus 5 themes and apps section. There is a dark theme. It has different parts, such as settings.apk and Google launcher
rootSU said:
Haha. Sorry, my keyboard often corrects "apps" to "kappa".
Click to expand...
Click to collapse
Mobile text correction is wonderful
Lethargy said:
Mobile text correction is wonderful
Click to expand...
Click to collapse
Yeah. Not sure why it thinks I'm spelling out Greek letters.
rootSU said:
Haha. Sorry, my keyboard often corrects "apps" to "kappa".
Yes, the nexus 5 themes and apps section. There is a dark theme. It has different parts, such as settings.apk and Google launcher
Click to expand...
Click to collapse
Thanks a lot. I'll look for it. Could you tell me which one, if at all possible? I don't if this is the right place to ask, but I sure know you're the right person to ask something to! What makes a theme specific to a rom or group of roms? I'd like to know because I'd love to learn how to make my own themes or use some theme for my purposes (I hope there's nothing against the unwritten rules of this world).
Thanks
Sent from my Nexus 5 using XDA Free mobile app
astrovale said:
Thanks a lot. I'll look for it. Could you tell me which one, if at all possible? I don't if this is the right place to ask, but I sure know you're the right person to ask something to! What makes a theme specific to a rom or group of roms? I'd like to know because I'd love to learn how to make my own themes or use some theme for my purposes (I hope there's nothing against the unwritten rules of this world).
Thanks
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
There's a few material / dark themes. I had a look but it wasn't in the one I thought. That's either because it was the wrong one or it had been removed. Maybe ask in each thread if they theme Google launcher. I've definitely seen it but I thought it was the one by vivek.
As for why themes are ROM / build specific...
Themes are a combination of replacing images and editing XML files. These are mostly in framework-res.apk and SystemUI.apk
The easiest way to make a theme is to use these apk from a specific ROM. However, these apk ate specific to a specific ROM or build. For example ROM SlimLP has different features to stock so therefore has different code in these apk, so wrong apk, phone will boot loop. Same is true between 5.0.1 and 5.0.0 etc
There are more complicated ways to theme using things like ZipThemer. This will add your changes to the files that are on the phone already. This means it is more compatible than the easier method, as long as you don't change files that have special code from the Dev in them.
rootSU said:
There's a few material / dark themes. I had a look but it wasn't in the one I thought. That's either because it was the wrong one or it had been removed. Maybe ask in each thread if they theme Google launcher. I've definitely seen it but I thought it was the one by vivek.
As for why themes are ROM / build specific...
Themes are a combination of replacing images and editing XML files. These are mostly in framework-res.apk and SystemUI.apk
The easiest way to make a theme is to use these apk from a specific ROM. However, these apk ate specific to a specific ROM or build. For example ROM SlimLP has different features to stock so therefore has different code in these apk, so wrong apk, phone will boot loop. Same is true between 5.0.1 and 5.0.0 etc
There are more complicated ways to theme using things like ZipThemer. This will add your changes to the files that are on the phone already. This means it is more compatible than the easier method, as long as you don't change files that have special code from the Dev in them.
Click to expand...
Click to collapse
Thanks a lot for the explanantion. I will investigate a little more along the line you indicate.
Happy new year and thanks again (already hit the button!)
Theoretically, if i have a theme for a specific rom but for different update (same Google version, same build), i could extract the the file, replace the framework and system apks with the ones of the new update, re-compress the file and then flash it as a new theme? Seems a bit too easy, but IT makes sense, I think.
rootSU said:
There's a few material / dark themes. I had a look but it wasn't in the one I thought. That's either because it was the wrong one or it had been removed. Maybe ask in each thread if they theme Google launcher. I've definitely seen it but I thought it was the one by vivek.
As for why themes are ROM / build specific...
Themes are a combination of replacing images and editing XML files. These are mostly in framework-res.apk and SystemUI.apk
The easiest way to make a theme is to use these apk from a specific ROM. However, these apk ate specific to a specific ROM or build. For example ROM SlimLP has different features to stock so therefore has different code in these apk, so wrong apk, phone will boot loop. Same is true between 5.0.1 and 5.0.0 etc
There are more complicated ways to theme using things like ZipThemer. This will add your changes to the files that are on the phone already. This means it is more compatible than the easier method, as long as you don't change files that have special code from the Dev in them.
Click to expand...
Click to collapse
Theoretically, if i have a theme for a specific rom but for different update (same Google version, same build), i could extract the the file, replace the framework and system apks with the ones of the new update, re-compress the file and then flash it as a new theme? Seems a bit too easy, but IT makes sense, I think.
Sent from my Nexus 5 using XDA Free mobile app
astrovale said:
Theoretically, if i have a theme for a specific rom but for different update (same Google version, same build), i could extract the the file, replace the framework and system apks with the ones of the new update, re-compress the file and then flash it as a new theme? Seems a bit too easy, but IT makes sense, I think.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
99.9% no.
too good to be true!

Categories

Resources