I'm trying to modify Email.apk. I'm currently running stock 3.1 from http://forum.xda-developers.com/showthread.php?t=1154492
Here's what I did:
1. Extracted Email.apk from update zip and dumped using APKTools.
2. Made my modifications - specifically I'm editing a .smali file with my desired changes.
3. Rebuild Email.apk using APKTools.
4. Renamed existing Email.apk and Email.odex for backup.
5. Copy my Email.apk to system\app and set permissions.
6. Reboot into CWM and wipe davlik cache (not sure if this is required).
7. Reboot.
Now the email app no longer exists in list of applications.
What steps am I missing?
If I'm not mistaken You can't edit odexed firmware!
You must first flash a deodexed rom and then change it to your heart's desire.
I guess I'll have to try deodex the rom myself then.
Thanks!
I'm now using Virtuous Picasso which is deodexed and am now able to modify /system/app applications.
However I think the actual problem was I forgot to sign the modified Email.apk. (Also had to sign Exchange.apk also as they need to be signed with the same certificate)
I think as long as the device is rooted you can replace /system/app applications?
See my signature for signing - piece of cake!
If you have a good and clear deodexing tutorial I'd appreciate it
Related
I have updated my phone to adrynalyne's DL09 Super Clean 0.4/DL30 1.0 version. I want to install couple of stock apps that are part of a patch provided by adrynalyne. (TW super pack, includes widgets and music player, etc)
My question is - Can I unzip the patch and remove apps that I don't want to install and create a new zip? Basically deleting unwanted apks under system\app of the zip. Would this work?
Extract the apk file from the full DL30 and paste into the system/app folder. I do this for thinkdroid every time I flash.
ellisz said:
Extract the apk file from the full DL30 and paste into the system/app folder. I do this for thinkdroid every time I flash.
Click to expand...
Click to collapse
thanks will try that.
This works i do this with each flash
onemotodroid said:
This works i do this with each flash
Click to expand...
Click to collapse
Stupid question but how to get to /system? using file manager or recovery?
I am having issues with framework-res.apk.
I make some minor changes and add and replace these files into framework-res.apk using WinRar.
Then copy this into the update.zip file and
install from sdcard using clockworkmod.
But then my nookGL won't reboot, and I end up having to factory reset.
After the factory reset the changes I put in the framework-res are now showing up and working fine.
I then need to go through the process to root the nook etc.
This is a very long winded way for some minor changes.
Is there something I am doing wrong?
I am now very hesistant to try any more changes, even though I would love to, as I really don't want to have to go through the whole process again.
Any suggestions?
Framework.res has to be signed with the system signature.
You can copy over the original META-INF directory (most of the time) when you repack it.
Your problem could be one of three things:
1) You repacked it without the original signature.
2) You repacked it with a new (personal or debug) signature.
3) You repacked it with the original signature but you modified something important (like AndroidManifest.xml).
If you want to get heavily into mods you should resign your whole system with either the debug or your personal signature.
Yes! Thank You, Renata! That was it - problem solved!
Hi,
Can someone help me to give me the stock browser apk or flashable zip? I was Flash the bloatware script but didn't noticed that in the script also deleted stock browser I have the app backup with TB but it give me nonstop fc when I restore from tb or maybe somebody can tell me how to restore from tb without giving me fc, thanks.
https://mega.co.nz/#!Lp4FBISS!DbOXEaS4VQTj4Agqcla39smpJa2_dfKni5Lme6nbcGs
Use Chrome if you on PC and mega client app if you on mobile
This is NOT flashable zip, extract them, put 2 .apk files into /system/app and .so file to /system/lib , 3 of them must be set permission into rw-r--r--
If you are on odex ROM, delete corresponding .odex file first
Better wipe dalvik/cache before you do so, to avoid any potential problem.
I don't know if we are on same firmware, but give it a try
So I rooted my device, hten followed a guide, that Instructed me to replace two files in the system/framework folder, services.jar and services.odex, i backed them up, but like a fool i backed them up in the same folder, which i can't access, I can restore from CWM and i was actually hoping someone had a system recovery that i could borrow, since i can't seem to figure out how to change the files back within my cwm backup.
callen2011 said:
So I rooted my device, hten followed a guide, that Instructed me to replace two files in the system/framework folder, services.jar and services.odex, i backed them up, but like a fool i backed them up in the same folder, which i can't access, I can restore from CWM and i was actually hoping someone had a system recovery that i could borrow, since i can't seem to figure out how to change the files back within my cwm backup.
Click to expand...
Click to collapse
Okay, slow down. You can fix this. There are only a few steps:
1. Download the stock odexed rom. You can find it here: https://www.androidfilehost.com/?fid=23622183712466565
2. Extract the stock rom.
3. Navigate to the system/framework folder
4. Copy services.jar and services.odex to your phone (download folder or anywhere on your sdcard is fine)
5. Since you are rooted, you can use a root file explorer to copy those files to your system/framework folder on your phone. Locate the two files you copied from the stock odex rom on your computer. Paste these into system framework, and overwrite the two existing files (you can use ES file manager or other root browser to accomplish this)
That's it! There are many other ways to do this, but this is probably the simplest.
I'd just flash a custom rom with hotspot though
I deodexed system files for s3v3n's v5.0 ROM - as I know, not all customizations through xPosed are working with odexed, or partialy deodexed ROMs. Hopefully s3v3n won't have objetions. One more thing - there isn't Gravitybox - You have to install it again - I deodexed it after upgrading Gravitybox to newer version.
Instructions:
unzip files to your SD-card
boot to TWRP
go to mount and select to mount system partition
go to advanced/filemanager
delete /system/app, /system/priv-app & system/framework - you have to go to particular folder, then tap&hold select then delete
copy app, priv-app, framework from your sdcard to
/system/
fixing permissions is not necessary
PS: You are doing it on your own risk.
Download here: deodex-s3v3n-v5.0
Can you please deodex 5.1?
working on that, maybe @ evening, I have to deodex several 32bit apps...64bit are done already but because of some 32b there are some conflicts
phsnake said:
I deodexed system files for s3v3n's v5.0 ROM - as I know, not all customizations through xPosed are working with odexed, or partialy deodexed ROMs. Hopefully s3v3n won't have objetions. One more thing - there isn't Gravitybox - You have to install it again - I deodexed it after upgrading Gravitybox to newer version.
Instructions:
unzip files to your SD-card
boot to TWRP
go to mount and select to mount system partition
go to advanced/filemanager
delete /system/app, /system/priv-app & system/framework - you have to go to particular folder, then tap&hold select then delete
copy app, priv-app, framework from your sdcard to
/system/
fixing permissions is not necessary
PS: You are doing it on your own risk.
Download here: deodex-s3v3n-v5.0
Click to expand...
Click to collapse
file that comes in the download folder build.prop, we must also put ??
I hope we will see newer versions of 7 HD rom after the little storm that happened.
Back to topic: which apk is the one for smartnotice widget? I want to mod it to make it semi-transparent