Modifying stock rom - Galaxy S II Q&A, Help & Troubleshooting

Can I insert framework-res.apk and systemui.apk from another rom into one of the stock ones or does it need further modding? I want to go fully stock, except I like the systemui and framework of another rom. This is just for my own enjoyment as I am not planning on releasing a rom.

If i understood you correct: You want to put systemui.apk and framework-res.apk from lets say CM10.1 into stock rom lets say LSS. In this case you will have to mod it since CM10.1 is based on 4.2.2 and LSS is based on 4.1.2
ps. correct me if im wrong
Sent from my GT-i9100 using xda app-developers app

turboblaz said:
If i understood you correct: You want to put systemui.apk and framework-res.apk from lets say CM10.1 into stock rom lets say LSS. In this case you will have to mod it since CM10.1 is based on 4.2.2 and LSS is based on 4.1.2
ps. correct me if im wrong
Sent from my GT-i9100 using xda app-developers app
Click to expand...
Click to collapse
Not exactly, sorry I wasn't clear enough.
I want to copy those two files from a modified stock rom (say neatrom) into a stock rom, both based on 4.1.2

Dexter_prog said:
Not exactly, sorry I wasn't clear enough.
I want to copy those two files from a modified stock rom (say neatrom) into a stock rom, both based on 4.1.2
Click to expand...
Click to collapse
Then try it but before you do it i suggest you to backup your systemui.apk and framework-res.apk and try it!

Dexter_prog said:
Not exactly, sorry I wasn't clear enough.
I want to copy those two files from a modified stock rom (say neatrom) into a stock rom, both based on 4.1.2
Click to expand...
Click to collapse
A modified stock rom is usually deodexed so just copying and replacing won't work, you will have to reodex it, generate and flash it via a signed zip file(Basically a major pain in the neck) or if you are using using a deodexed stock it will be easy as copy pasting.
Sent from my GT-P6200 using xda app-developers app

king_below_my_lord said:
A modified stock rom is usually deodexed so just copying and replacing won't work, you will have to reodex it, generate and flash it via a signed zip file(Basically a major pain in the neck) or if you are using using a deodexed stock it will be easy as copy pasting.
Sent from my GT-P6200 using xda app-developers app
Click to expand...
Click to collapse
thx for the info. Is there any way to easily deoxed it? I was planning to grab one from sammobile, so it would be 100% stock.

Dexter_prog said:
thx for the info. Is there any way to easily deoxed it? I was planning to grab one from sammobile, so it would be 100% stock.
Click to expand...
Click to collapse
Easiest way to deodex for me is to rebuild the tar file in android kitchen and by using the deodex option in it.
I think the non-lite version of NeatRom latest is just a deodexed stock rom, basically installing a deodexed rom is better, as it's easier to mod, the only disadvantage is the slower boot time(usually only after wiping the dalvik cache).
Edit : I won't advice you to use kitchen unless you have basic scripting knowledge or something about building roms, just search around for a pure deodexed stock rom, which should be easily available.
Edit :100% pure stock is odexed and unmodified, since you're planning on modifying one of the major stock things(framework and system ui?) why not just flash something already available?
Sent from my GT-I9100 using xda app-developers app

Related

where?can i find stock kb1 rom

where can i find flashable kb1 stock rom?
i need it so i can decompile it and edit the xml.
because i was told that i cant decompile the apk that is already edited and moded?
am i right?
In the Dev section chainfire has a stock version
It should be in the 2 or 3rd page
Sent from my GT-I9000 using XDA App
Alanrocks15 said:
In the Dev section chainfire has a stock version
It should be in the 2 or 3rd page
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
i downloaded the builddate kb1 but it was for odin.
the only thing i can find is deodexed kb1? what is deodexed mean?exactly?
would it be considered as fully stock?
yes...its just deodex'd to allow theming or modding easier

[Q] Updating to a Jelly Bean Custom Rom

Hi there!
I am wanting to update my Samsung Galaxy GT-i9300 but am worried about the process because of having installed a custom kernel previously (would this muck up installing a new custom rom I wonder..)
Please find attached a screenshot of the settings and please tell me what I should do (if anything needs done) before I flash a new custom rom.
Cheers!
if you're worried about kernels, then just flash stock kernel then flash a custom rom on it.
mputtr said:
if you're worried about kernels, then just flash stock kernel then flash a custom rom on it.
Click to expand...
Click to collapse
kk, could you provide me with a suitable stock kernel (or links to one) which will be compatible with the rom I have installed?
any stock kernel that is for jb will be fine.
Sent from my GT-I9300 using xda app-developers app
mputtr said:
any stock kernel that is for jb will be fine.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
I am on android version 4.0.4 (so technically not JellyBean). and its safe to flash a stock kernel for JB despite being on that version before I flash a custom rom?
Sorry for asking, get confused easily..
you should be fine updating with a custom kernel (as all roms flash a kernel as well). Just make sure you factory reset when moving from ics to JB as you will most likely encounter problems if you don't.
Sent from my GT-I9300 using Tapatalk 2
Asimo2012 said:
I am on android version 4.0.4 (so technically not JellyBean). and its safe to flash a stock kernel for JB despite being on that version before I flash a custom rom?
Sorry for asking, get confused easily..
Click to expand...
Click to collapse
I would suggest flashing ICS stock kernel first if you're worried. I thought you were already on jb.
Sent from my GT-I9300 using xda app-developers app
Easy
Reflash the stock ics ROM
And flash any custom ROM you want
Enjoy
Sent from my GT-I9300 using xda premium

Getting mods on stock XXELL4(H3G)

After playing around with ultima rom and a few others I found out that my phone was slow in the Internet and really I like stock twiz
The only problem is I also like the stock jb lock screen abd was wondering if its possible to have stock XXELL4 from my network but root it and have these mods?
Sent from my GT-I9300 using xda app-developers app
Just root your stock ROM and install whatever mods you want (that are compatible with LL4).
edit: For example, Jkay Deluxe framework (in the Original Dev section) has a stock JB lockscreen option.
I tried but some said I have to delete the system.oexde or something I did that rebooted and the notification bar disappeared
Sent from my GT-I9300 using xda app-developers app
owusudarko said:
I tried but some said I have to delete the system.oexde or something I did that rebooted and the notification bar disappeared
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Oh sorry I forgot about that. You need to be running a deodexed ROM for several of these mods (I flash nothing but custom ROMs so I just naturally assume the ROM is already deodexed). You can download stock/rooted deodexed ROMs from this forum. Example threads are here and here.
my current baseband is i9300NELK2 build number is JZO54K.I9300XXELL4
how do i match this which is the csc modem and pda
henrybravo said:
Oh sorry I forgot about that. You need to be running a deodexed ROM for several of these mods (I flash nothing but custom ROMs so I just naturally assume the ROM is already deodexed). You can download stock/rooted deodexed ROMs from this forum. Example threads are here and here.
Click to expand...
Click to collapse

Google now deodexed?

I want to flash Google now, which I have done before on a custom rom. It says you must be on a deodexed rom. I'm thinking of going to Santod's rom. Do I really need to be on a deodexed rom to flash Google now?
Sent from my ADR6400L using xda app-developers app
Gad74 said:
I want to flash Google now, which I have done before on a custom rom. It says you must be on a deodexed rom. I'm thinking of going to Santod's rom. Do I really need to be on a deodexed rom to flash Google now?
Sent from my ADR6400L using xda app-developers app
Click to expand...
Click to collapse
Yes, it needs to be deodexed.
I have 4 versions of the stock rom posted, two of which are deodexed.
As well as 7 other custom roms I have made available, all of which come with Google Now already cooked in.(not the stock ones of course)
Thanks. Your awesome. Are all the roms on one page with ics? Or a different location? And only the stock ics roms need radio flashed, correct?
Sent from my ADR6400L using xda app-developers app

my rom became odexed?

How is my stock 4.1.2 ROM became odexed? Can any one who has more knowledge on this give me an answer?
I did not install anything new and i did not run any scripts e.t.c.,last time it was "deodexed" about a week ago when i was playing with systemui.apk and framework-res.apk after my phone stuck on bootscreen i just recover using CWM.And since then i only used the phone for calls and web surfing
This is normal in a stock rom.
You have a custom stock sammy rom?
If so what rom do you have installed?
Sent from xda premium
andrewwright said:
This is normal in a stock rom.
You have a custom stock sammy rom?
If so what rom do you have installed?
Sent from xda premium
Click to expand...
Click to collapse
its i9100xdlsw stock from samsung...im modifying it by myself little by little,to fit my needs
i was really surprised when i gave it another try and found bunch of .odex files instead of .apk XD
Just delete the Odexed files and reboot. See if they come bk after that
Sent from my GT-I9300 using xda premium

Categories

Resources