[Q] Edit System APK - Android Software Development

Hi all
I have a Samsung Galaxy mini (S5570L) and I'm trying to edit Phone.apk, I wanna replace the unknown caller picture for the stock android picture, I already managed to do that but I have 2 questions:
1) When I try to replace Phone.apk with the one I edited the phone starts vibrating uncontrollably and I can't seem to be able to do pretty much anything, is there any special treatment when editing system APKs??
2) The stock Samsung ROM is odexed so I know editing and replacing the APK isn't as simple as it sounds, what else do I need to do after zipping the APK in APK Manager??
Thanx for you help
P.S.: This is a wild idea but is there a way to change the TouchWiz Phone.apk for the stock Froyo Phone.apk??

Akath19 said:
Hi all
I have a Samsung Galaxy mini (S5570L) and I'm trying to edit Phone.apk, I wanna replace the unknown caller picture for the stock android picture, I already managed to do that but I have 2 questions:
1) When I try to replace Phone.apk with the one I edited the phone starts vibrating uncontrollably and I can't seem to be able to do pretty much anything, is there any special treatment when editing system APKs??
2) The stock Samsung ROM is odexed so I know editing and replacing the APK isn't as simple as it sounds, what else do I need to do after zipping the APK in APK Manager??
Thanx for you help
P.S.: This is a wild idea but is there a way to change the TouchWiz Phone.apk for the stock Froyo Phone.apk??
Click to expand...
Click to collapse
To 2.
It causes issues if u have some odexed and one deodexed apk so u should deodex all apks.
1. Do a logcat to find out what's wrong .
Did u push the file via adb?
And u should sign the apk ...
Sent from my HTC HD2 using XDA Premium App

Thanx man, turns out I needed to deodex the APK before editing (which I didn't know).
I've got another question, since I'm using a stock Samsung ROM should I deodex all the system and framework apps?? 'Cause that sounds like a huge amount of work
Sent from my GT-S5570L using XDA App

Akath19 said:
Thanx man, turns out I needed to deodex the APK before editing (which I didn't know).
I've got another question, since I'm using a stock Samsung ROM should I deodex all the system and framework apps?? 'Cause that sounds like a huge amount of work
Sent from my GT-S5570L using XDA App
Click to expand...
Click to collapse
You are welcome
Try dsixdas kitchen which can deodexe all apks of ur Rom.deodexing makes the Rom faster.
Sent from my HTC HD2 using XDA Premium App

Related

[Q] SE Roms without SE theme

Hi all,
I have test a lot of rom, but there is no "stable" rom for X8 for me.
All have camera, or something missing.
Is there a way to have original SE Roms, but without SE "4 corners" theme ? (blue one)
I have seen also, a "Quicktime" logo in my X8 box, and i see that, when i receive a .mov video, send from a iphone, only the SE original Rom can open it !
With a custom rom, even with all player (rockplayer, vplayer), there is no way to open a .mov video in gmail application.
I have import the original X8 SE rom, into the kitchen for custom it, and my question is :
If i change all Dialer.apk, and other apk from SE, with a original apk from 2.1 rom, it will work ?
Sorry for my bad english I hope that you will understand what i want to do
Thx
i don't know if it will work but you can try it
At least you can just delete SE theme and replace it by Launcher ex or something...
Sent from my E15i using Tapatalk
if you install Luncher pro, it's change only menu and home screen. But all apps, have the "4 corners" theme. Dialer with 4 corners is bad allway search where to hang up lol
Well, make an xRecovery backup, take apps from /system/app in some custom ROM and try them out maybe the'll work. You have nothing to loose, deleting or placing apps in system/app will not affect xRecovery, so you can always flash your backup if something goes wrong
Qqplayer works with most formats including .Mov files
Sent from my X8 using XDA App
i have test a lot of apps.
in gmail application, it's show xxxx.mov but when we download, it's a .qt file ... and it's no working ...
I think that i must just change the framework-res.apk ?
If someone know this answer ?
Thanks
...why change them when you can edit them? It takes more time but the risk is lower.
First of all download launcher pro (better)... Then edit framework.apk (try to extract it)... just the images, or u can replace parts of it from custom roms.
I download an edited framework.apk and change some things I didnt like with the original.
just want to remove the "4 corner" style !
sanjay.rup said:
just want to remove the "4 corner" style !
Click to expand...
Click to collapse
Use another launcher..
Sent from my X8 using XDA Premium App

Package

Guyz. My package installer. Is not working.plz.help
Sent from my Gt-I9003 using XDA Premium App
Need more info to understand your problem. You have to describe:
1. What actions did you do?
2. What do you mean under "package installer": is it market or application that directly installs .apk's to the system?
3. What errors did you see?
4. Did you make/use (and what) some modifications of your fw? (did you use some mods? did you use some application that remove application from autostart, did you uninstall some system applications?)
Sometimes it happens due to change of frameworkres.apk just use your old framework res.apk and then tell me whether it works or not
Thanks krazy
Sent from my Sarthak's Sl using XDA Premium App
kkrraazzyy said:
Sometimes it happens due to change of frameworkres.apk just use your old framework res.apk and then tell me whether it works or not
Click to expand...
Click to collapse
How can I replace the old framework-res.apk when it cann't boot? (It's loop at Samsung logo screen.)
Last time, I have to reflash again.
Lol i am talking about the problem which is faced by sakindia

Odex -> <- Problem / Confusion

I know the technical difference b/w ODex-ed and DeODex-ed
I have an odexed ROM
I simply want some applications (apks) from my Previous ROM, which was deodexed
When I PUT .apk files from My Previous ROMs ZIP to my Device's system/app - I get FC
When I restore apps like Go Launcher Ex, from Titanium Backup, I still get FC for that
Any Info...?
I want to use some apps from my Previous ROM
I want Rotary LockScreen
Also, a Professional Theme, Odexed
As I have seen that odexed ROM are so incredibly smooth in almost every aspect
(Not only 1st boot or initial days)
Help appreciated !!
the anserw is simle if your previous firmware was deodexed:
Youraplicationname.odex is missing
@$omator --
Deleting th old apk & dex file, bfore replacing, should work, then?
Sent from my GT-I9000 using xda premium
you must either have all files in pairs apk + odex (thats odex)
or apk only (thats deodexed)
when looking at /system/framework/
that would be jar + odex (odex) or jar only (deodexed)
@$omator
I am talking bout MyFiles.apk
I want new Samsung's MyFiles.apk
So I will delete old apk & dex files
Then put new apk file
Is tht wht u mean?
Sent from my GT-I9000 using xda premium
if you now have aapk+odex
you have to copy new apk and odex
om.thelostone said:
@$omator
I am talking bout MyFiles.apk
I want new Samsung's MyFiles.apk
So I will delete old apk & dex files
Then put new apk file
Is tht wht u mean?
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
I'm pretty sure I tried this some time ago and found it will not work. The MyFiles.apk is strictly linked to the ROM you are using, something to do with the framework, so you cannot use one on another ROM version.
As for other apk's, if the file you want to use is deodexed, you simply delete the new apk and odex file and put the old one in its place although be warned, it may cause instability on your ROM if you do this with system apk files
ok whatever if you know better
$omator said:
ok whatever if you know better
Click to expand...
Click to collapse
Woah chill on the attitude, I was only offering some help based on my experience with trying the same thing
bigdyl69 said:
I'm pretty sure I tried this some time ago and found it will not work. The MyFiles.apk is strictly linked to the ROM you are using, something to do with the framework, so you cannot use one on another ROM version.
As for other apk's, if the file you want to use is deodexed, you simply delete the new apk and odex file and put the old one in its place although be warned, it may cause instability on your ROM if you do this with system apk files
Click to expand...
Click to collapse
Yup
Thanks
U got my doubt clear
I was not replacing MyFiles actually
Was just giving an example so that $omator thinks I understood
Also
The irony is most of th times, its th system apks tht have dex files
If its not a system apk, I wud rather download th latest 4m market
Sent from my GT-I9000 using xda premium

Hw to customise stock ROM Galaxy y

i am having stock rom
i want to know how to change the stock phone.apk, contact.apk and mms.apk to new one
i had tried root explorer but was not able to change it :crying:
Before post try to using search feature
If you want change and customize file on your phone, have to Root and deodexed file system on your phone, search about deodexed on forum, someone have to share whats that
Sent Using My Hands with GT-S5360
K but i am using deodexed stock rom
Sent from my GT-S5360 using xda app-developers app
Push new ones with root explorer into system and set permissions to r-w-r-r , reboot !
Also there is an awesome thread by kurotsugi in this forum on how to customize a Rom - read it for more info
nikufellow said:
Push new ones with root explorer into system and set permissions to r-w-r-r , reboot !
Also there is an awesome thread by kurotsugi in this forum on how to customize a Rom - read it for more info
Click to expand...
Click to collapse
i did like that now am able to change mms.apk
but phone icon and contact icon is missing
and saying com.phone.... has stopped working
i changed permission as u said and thn rebooted still the same prblm
pramodmadhu007 said:
i did like that now am able to change mms.apk
but phone icon and contact icon is missing
and saying com.phone.... has stopped working
i changed permission as u said and thn rebooted still the same prblm
Click to expand...
Click to collapse
just keep practicing,
also use other references like google and searching because u can't really expect much help when modifying things because basic knowledge in theming is aquired and not taught,
backtrack on what you did maybe you did something wrong,
this post is approved by the national potato safety regulation

[Question] deodex some system apks

Hi guys,
I'm a bit frustrated when I see so few compatible mods for odex roms whereas all are for deodex.
As I want to keep running on odex roms for performance reasons, I'm wondering if it's possible to deodex only some system apps in order to be able to install a deodex mod ?
For example, let's imagine that I deodex Secphone and SecContact, in this case I might be able to install the mod to add the phone conversation recording.
Is it nonsense or is it something possible ?
Thanks very much in advance.
Sent from my GT-I9505 using XDA Premium 4 mobile app

Categories

Resources