Hello all,
Sort of unusual question. I am using Ficeto's contacts.apk (overwritten stock in /system/app) along with the Kingdroid 7.1 but every time I try to add a new contact it crashes. Otherwise everything works great.
I know there could be framework incompatibilities (since Ficeto's themed apks do use some framework mods) but I was wondering if you guys had any other advice (eg clearing data for something besides contacts.apk, etc).
I've tried out various permissions and it hasn't yielded a result (along with the rx-r-r which it should be)
guitarplayerone said:
Hello all,
Sort of unusual question. I am using Ficeto's contacts.apk (overwritten stock in /system/app) along with the Kingdroid 7.1 but every time I try to add a new contact it crashes. Otherwise everything works great.
I know there could be framework incompatibilities (since Ficeto's themed apks do use some framework mods) but I was wondering if you guys had any other advice (eg clearing data for something besides contacts.apk, etc).
I've tried out various permissions and it hasn't yielded a result (along with the rx-r-r which it should be)
Click to expand...
Click to collapse
Permission should be rw-r-r
Swyped From My Juicy Flavoured AOKP JB.
Related
Hi all, I started this thread hoping that we can consolidate a list of files not to zipalign or optimize the PNGs within it. Personally, I use http://forum.xda-developers.com/showthread.php?t=560271 on my themes to optimize the apks within it.
So far:
VoiceSearch.apk - Do not optimize it using http://forum.xda-developers.com/showthread.php?t=560271, it will result in FCs. However, optimizing the PNGs, putting them back into the apk, and zipaligning it works fine (thanks to djengizz for testing). Probably due to the script repacking stuff wrongly?
HTC_IME.apk - Do not optimize it.
HTC_CIME.apk - Do not optimize it.
framework-res.apk - *May* cause problems. Did it myself with no issues but others are reporting it.
Other issues:
Settings.apk - Do not compress with highest compression using apkopt. Causes a problem with MetaMorph if you use it. Reported by djengizz. More info here: http://forum.xda-developers.com/showpost.php?p=5007059&postcount=17
Did you try to extracting the images, optimize them and put them back in the apk without repacking? I think repacking might be the problem here.
From my experience none of the Google apps like resigning so i only zipalign them. I haven't ran into any problems changing (or optimizing) the images in them as long as you don't repack.
djengizz: Have yet to try that, will do so when I'm taking a break from studying, exams soon . Thank you! I've optimized the rest of the Google Apps using the above script with no issues so far (except VoiceSearch).
I've just set the script to use the maximum compression (-mx9 instead of -mx5) and i get the same results. Everything is working fine except for VoiceSearch (FC's).
Transferring the optimized png's back to the original apk and zipaligning it (not signing) works and VoiceSearch doesn't FC anymore. You might want to try it using even less compression than -mx5 and maybe than it'll also work for VoiceSearch.
do not optimize framework and HTC_CIME. They can semi-brick your phone.
djengizz: Thanks for testing out and updating this thread! Does mx9 work much better than mx5?
JokerAce: Care to elaborate more? I've optimized framework with no issues so far...
Wysie said:
djengizz: Thanks for testing out and updating this thread! Does mx9 work much better than mx5?
Click to expand...
Click to collapse
Well, not much, a little bit.
The apk i used for testing went from 2.18 MB to 1.37 MB using -mx5 and to
1.34 MB using -mx9.
yeah- HTC_IME.apk didnt work for me either..
MontAlbert: Didn't work using the batch? How about optimizing the PNGs separately, putting them back into the zip, and then zip aligning them?
tried that and zipaligned it myself... but then somehow not all pngs went across so it isnt themed properly anymore..... it worked at least though.
Oh, when I optimized them, the phone was unable to load the system, and was stucked at the splash screen. When I installed by the previous file (before optimization) the phone was working again.
JokerAce: What did you optimize by "them"? Thanks !
MontAlbert: So does it work or not? Haha ^^.
"Them" refers to the framework_res.apk and HTC_CIME.apk
JokerAce: Ok, thank you. I honestly had no issues with framework_res.apk, and I've been doing some reading in the Dream themes forum. Most of them have optimized their framework_res.apk as well (although the method used isn't stated) with no issues. I'll still add it to the list, thank you!
Aww, I tried for the second time, to optimize the framework_res.apk, and it made my phone stuck at the splash screen. Guess, some phones can (like yours) and some phones can't (like mine).
I am recently changing loads of stuff in the apks and optimizing them. If I found anymore problems, I will contribute them over here.
Cheers
framework-res works perfectly for me every time.
I found another problem with apkopt.
I compress every apk in my theme using the highest compression except for VoiceSearch.apk and if i flash this everything works fine.
After applying a morph with MetaMorph on Settings.apk it got corrupted. I replaced the optmized Settings.apk with one that only contains optimized images and MetaMorph was working fine again.
For some reason something got corrupted when MetaMorph re-zipped the optizmized apk which doesn't happen when i don't use the high compression from the apkopt script.
BTW, this is not only related to MetaMorph: when pushing the apk manually it will also corrupt and Settings will give FC's whenever it's used. For some reason when you flash it, it does work...
djengizz: Interesting problem there! Thanks! Will update the first post. is there any chance it's related to MetaMorph and not apkopt?
Wysie said:
djengizz: Interesting problem there! Thanks! Will update the first post. is there any chance it's related to MetaMorph and not apkopt?
Click to expand...
Click to collapse
Nah, i don't think so cause manually pushing the optimized apk (without running MetaMorph) also gives FC's and the Settings item disappears from the launcher.
When i push the not optimized version it works fine.
Some new info:
Brut.all said:
BTW for all who are repackaging apks: don't use zip or jar commands for app packaging. Android is compatible with them only on a first sight, but in some cases, as above, it isn't. Use aapt instead.
And I haven't see such warning in Android docs :-/
Click to expand...
Click to collapse
Hope it helps . Taken from the Maps thread.
Hi all currently running webstars ultimate rom 3.0 after switching from Doc's BUJP8 v9.0.1.
Loving the new rom for speed and appearance.
However really missing the samsun mobile tracker. It is the only samsung app that I miss but it has come in handy in the past and I would love to have it again if I ever need it.
Can someone please explain how to reinstall this system app. Have tried extracting the mobiletrackerenginetwo.apk and the mobiletrackerUI.apk from /system/apps from docs rom and tried to copy these to the /system/apps and change permissions using root explorer but nothing. Probably doing something stupis wrong or am I missing any additional apks?
Any help much appreciated!!
Anyone have any ideas?
I want to translate AriesParts.apk system app (Galaxy S Settings), but I noticed that after decompiling and compiling it (even without any changes), app doesn't show in app drawer and I can't install it ('Application not installed"), tried copying to \system\app and changing permissions.
Also tried zipalign, signed, without signing...
I'm wondering if it's something related to deodex/odex.
How I can edit this app?
Code:
http://speedy.sh/9nwTW/AriesParts.apk
Extracted from Team ICSSGS RC4.2.
Your rom must be deoxed
So, what can I do now (if I have odexed ROM) with this APK?
If I understand you must to deodex the rom;I use for this xUltimate and here is the link where is show to made:http://forum.xda-developers.com/showthread.php?t=1113937
Is useful the next link;http://forum.xda-developers.com/showthread.php?t=695701
sorry for my bad english
But is there an option to make ODEX from DEODEX?
I don't want to deodex my ROM, it can cause issues.
I'm currently running Docs ICS V5 and was wondering if anyone has or would be able to port the Samsung clock app??? I prefer it to the stock ICS clock app so if anyone knows of its existence would you kindly point me in the right direction. Thanks
Sent from my SGH-I897 using XDA
gatormatt said:
I'm currently running Docs ICS V5 and was wondering if anyone has or would be able to port the Samsung clock app??? I prefer it to the stock ICS clock app so if anyone knows of its existence would you kindly point me in the right direction. Thanks
Sent from my SGH-I897 using XDA
Click to expand...
Click to collapse
+1
10 characters
Sent from my SGH-I897 using XDA
gatormatt said:
I'm currently running Docs ICS V5 and was wondering if anyone has or would be able to port the Samsung clock app??? I prefer it to the stock ICS clock app so if anyone knows of its existence would you kindly point me in the right direction. Thanks
Sent from my SGH-I897 using XDA
Click to expand...
Click to collapse
I would like this also. I found a thread for the Galaxy Nexus where someone was able to port several TW apps to work with AOSP but when I install them they are not formatted for our resolution. Maybe someone will be able to port those from
this thread.
+1
Stock ICS clock is bad, no Stop Watch
There is a stopwatch, but it is pretty poor compared to the Samsung one.
Inside the clock app, where you set the alarm, there is a sort of a title/tab on top-left that says "Alarms". If you click that, you'll be able to go to a stopwatch. Alternatively, you can go there through the menu button. I am on Doc's V4 and haven't tried other ICS roms, so YMMV.
What I don't like about that stopwatch is two things: It does not use a fixed width font, so the numbers keep "shaking". And it does not keep the phone from going to sleep, which pretty much makes it unusable to me.
So, a big +1 to the OP request.
TW clock is ready
Search for Nexus TW Clock ICS. The only problem I have with it - font and buttons are too big. SOmewhere there is a scale - lcd density or something which is wrong.
There is one for Epic 4G - with perfect size and it does everything - World time, timer, stopwatch, but not alarm! Alarm FC'es.
WTF!
Mystery of apktool
I tried combining these two from Epic and Nexus using apktool and baksmali. The code is almost identical - only one class differs and it's Alarm related. The resources are vastly different in picture sizes and xml's with "dip" in Epic vs "pix" in Nexus. So anyway - I copied Nexus class to Epic, and copied Epic resources to Nexus. None of these two after smaling and apktool build (without errors) got recognised in Launcher - no icons in app drawer, no .odex file in dalvik.
Any experts to solve the mystery?
Mystery is solved
New release is coming... Check out my ROM within couple of hours.
Just copied classes.dex from Nexus ICS clock to Epic 4G clock. And optimized it as usual.
I am patiently waiting for that update, but in the meantime just wanted to say "thank you" for the pointer to the epic clock.
Sent from my SGH-I897 using XDA
The wait is over
Try the ROM or rip the Clockpackage.apk from .zip.
I'm fine either way.
I'm checking Holo Calendar now. First try was disastrous - I had to wipe the data to restore calendar sync.
Makster said:
I am patiently waiting for that update, but in the meantime just wanted to say "thank you" for the pointer to the epic clock.
Sent from my SGH-I897 using XDA
Click to expand...
Click to collapse
bravomail said:
Try the ROM or rip the Clockpackage.apk from .zip.
I'm fine either way.
I'm checking Holo Calendar now. First try was disastrous - I had to wipe the data to restore calendar sync.
Click to expand...
Click to collapse
I pulled the clockpackage.apk from your rom. I copied to the system/app and rebooted. It didn't show up in my app drawer. So I rebooted into recovery and wiped cach partition, dalvik and fixed permissions. It still isn't showing up in my app drawer. Do you have any other suggestions? I'm running ICSSGS latest version.
Edit: Never mind. When I went into All Applications it was disabled. When I enabled it, it is working now.
Smart Alarm Problem
Thank you so much for updating the clock in Nostalgia!
I can't get the smart alarm function to work, though. No matter which smart alarm tone I choose, the "Good Morning" alarm sound plays. Am I missing something, or is there a glitch in the apk?
Thank you!
I installed the app for now, and it works great.
I am thinking about trying out your ROM, though, once 5.3 is out.
bravomail said:
Try the ROM or rip the Clockpackage.apk from .zip.
I'm fine either way.
I'm checking Holo Calendar now. First try was disastrous - I had to wipe the data to restore calendar sync.
Click to expand...
Click to collapse
Sent from my SGH-I897 using XDA
5.3 is out
so happy flashing!
elwilson4 said:
I pulled the clockpackage.apk from your rom. I copied to the system/app and rebooted. It didn't show up in my app drawer. So I rebooted into recovery and wiped cach partition, dalvik and fixed permissions. It still isn't showing up in my app drawer. Do you have any other suggestions? I'm running ICSSGS latest version.
Edit: Never mind. When I went into All Applications it was disabled. When I enabled it, it is working now.
Click to expand...
Click to collapse
I am having the same issue as you were. I followed steps you mention (I copied to the system/app, rebooted into recovery and wiped cache partition, dalvik and fixed permissions).
When I go to settings/apps/all I do not see it there and so I can't enable it as you did. Am I missing something? What is the app named (maybe I missed it)?
I double checked the system/app folder and it is there.
I am running a Boogs latest CM9 Kang (clean) with Launcher Pro (free version).
Anyone have any suggestions?
TIA
c
bravomail said:
so happy flashing!
Click to expand...
Click to collapse
Thank you again.
I flashed it, and I like it, other than a couple of small problems that I can live with.
The Samsung Clock works great, and that makes me happy.
capefearless said:
I am having the same issue as you were. I followed steps you mention (I copied to the system/app, rebooted into recovery and wiped cache partition, dalvik and fixed permissions).
When I go to settings/apps/all I do not see it there and so I can't enable it as you did. Am I missing something? What is the app named (maybe I missed it)?
I double checked the system/app folder and it is there.
I am running a Boogs latest CM9 Kang (clean) with Launcher Pro (free version).
Anyone have any suggestions?
TIA
c
Click to expand...
Click to collapse
Here is a screenshot of what it looks like in the app list. Did you scroll all the way to the right and select all apps? Mine was at the bottom.
capefearless said:
I am having the same issue as you were. I followed steps you mention (I copied to the system/app, rebooted into recovery and wiped cache partition, dalvik and fixed permissions).
When I go to settings/apps/all I do not see it there and so I can't enable it as you did. Am I missing something? What is the app named (maybe I missed it)?
I double checked the system/app folder and it is there.
I am running a Boogs latest CM9 Kang (clean) with Launcher Pro (free version).
Anyone have any suggestions?
TIA
c
Click to expand...
Click to collapse
I had a similar problem until I found another thread with a solution. The solution was to add clockpackage.odex to system/app. I can't upload odex files, so it is attached in a .zip.
When you copy apk to /system/app - your permission on apk file get screwed up. Nice touch from FileManager writers. So you gotta fix them from the same Root Explorer or Browser to be 644 - read/write by owner, read by group, read by other.
I installed the new CM7 rom + Gapps.
Everything worked fine but the CM's calculator & calendar are far from what i was used on my stock 2.3.5 GB rom.
I've asked this same question on CM forum but no one replied so i'll try to ask here.
How can i replace my calculator with my old one?
I've successfully extracted the calculator apk from my old rom and have it on my sdcard ready to be installed.
But for some reason i cant get it to install and i even tried to put it on system/apps dir replacing the old one without success.
i know this is possible because i saw someone porting the same calculator to a nexus phone
(http://forum.xda-developers.com/showthread.php?t=1522009)
with the apk from that post i could run and install the calculator but the resolution would not fit my screen
any help?
thank you very much, mornaistar
mornaistar said:
I installed the new CM7 rom + Gapps.
Everything worked fine but the CM's calculator & calendar are far from what i was used on my stock 2.3.5 GB rom.
I've asked this same question on CM forum but no one replied so i'll try to ask here.
How can i replace my calculator with my old one?
I've successfully extracted the calculator apk from my old rom and have it on my sdcard ready to be installed.
But for some reason i cant get it to install and i even tried to put it on system/apps dir replacing the old one without success.
i know this is possible because i saw someone porting the same calculator to a nexus phone
(http://forum.xda-developers.com/showthread.php?t=1522009)
with the apk from that post i could run and install the calculator but the resolution would not fit my screen
any help?
thank you very much, mornaistar
Click to expand...
Click to collapse
the calendar.apk that you got from old rom, put it in /system/app, now change its permissions using root explorer as follows
Read permission to all i.e. owner, group and others
Write permission to owner
rest unchecked..
after this reboot your phone.. this should work.. if it doesn't that means the apk is not compatible with CM7 firmware and you can search for some other calendar app that suits your needs
i've tested this and it wont work.
can someone port the apps for CM firmware? i know it's possible since xda users made it for other phones
i was able to run one of those ported apps in my galaxy s but the resolution was all wrong