[Q] Installing MIUI camera in CM7 - EVO 4G Q&A, Help & Troubleshooting

I have the MIUI camera installed functionally in CM7 but not in what seems like a very "clean" way. Why did it work one way but not another? Is there is a better, cleaner way to do it? Maybe using ADB?
I first tried placing the apk in the /system/app folder and installing with "root explorer" and it didn't work. Then I placed the apk in the backup folder on my sd card for "root manager" and restored it with "root manager" and it works.
This is a cut and paste from alogcat when trying to install with root explorer:
W/PackageParser( 196): at android.os.Looper.loop(Looper.java:123)
W/PackageParser( 196): at android.os.HandlerThread.run(HandlerThread.java:60)
E/PackageParser( 196): Package com.miui.camera has no certificates at entry classes.dex; ignoring!
What does that mean?

Actually scratch that... I had MIUI camera installed in cm7 rc4 using root manager. In the stable/official cm7 release that trick isn't working boo. Really like that camera!
Sent from my PC36100 using Tapatalk

you need to rename the apk to 'Camera.apk' then place it in the /system/app folder then change the permissions of the apk once it has been replaced...just press and hold Camera.apk and hit the permissions option in the list..then make sure "read" is checked for user, group and other....should work then...i like the MIUI camera better too,,,hope this helps

I agree, rename to Camera.apk and place in system/app folder. I can confirm working as I just flashed to CM7 a couple of days ago, and also like the MIUI camera app better. It is working fine over here!

Does anyone have a download link to the miui camera? I searched and googled without success.
Sent from my hand with XDA Premium installed

snowboarda42 said:
Does anyone have a download link to the miui camera? I searched and googled without success.
Sent from my hand with XDA Premium installed
Click to expand...
Click to collapse
I don't have a link to post it, but I just opened my MIUI zip and extracted it from system/app

I was trying to do this also... smh I'm gonna try again in the near future

Is there somewhere I can read up on the MIUI camera? I bought this phone for the enormous camera and was sorely dissapointed with it's implementation in CM6. It failed me big time during a day at the zoo...so I am back to sense right now.

thebeast614 said:
you need to rename the apk to 'Camera.apk' then place it in the /system/app folder then change the permissions of the apk once it has been replaced...just press and hold Camera.apk and hit the permissions option in the list..then make sure "read" is checked for user, group and other....should work then...i like the MIUI camera better too,,,hope this helps
Click to expand...
Click to collapse
Thanks guys for the help! I tried doing as you suggested but it still did not work that way either. Looking at alogcat I see the same error.
However, I just got my new class 10 sd card and so I did a fresh install of CM7 and I was able to rename the MIUI camera apk to just camera and use "root manager" restore to install it and it works!
(In dalvik cache I found the directory classes.dex and in it was a ton of files/certificates. I installed MIUI then coppied the certificate from the dalvik cache, then installed CM7 and pasted the certificate from MIUI in there but I still got the same error in alogcat. It seemed like a good fix theoretically. I'd like to understand why things work like they do if anyone has any explanation I'd like to hear it.
If not I'll just be happy it works!)

snowboarda42 said:
Does anyone have a download link to the miui camera? I searched and googled without success.
Click to expand...
Click to collapse
I'm probably way too late to help you, but I saw your post while I was looking for the Miui Camera. Here is the post I finally found with a download link:
http://forum.xda-developers.com/showthread.php?t=996867

Signed MIUI Camera.apk

Awesome thanks!
Sent from my PC36100 using Tapatalk

kaos217 said:
Signed MIUI Camera.apk
Click to expand...
Click to collapse
any idea if we could remove compression or enable settings in a menu like stated in the custom rom below?
http://forum.xda-developers.com/showthread.php?t=834439
miui is compressing the pictures pretty heavily it seems.

I followed the above instructions for installing the camera, but now no camera shows up in the app drawer at all. I can see it was replaced in the /system/app folder. but I cannot find it with my other apps. Anybody know hoe to fix this?

Related

[Q] Fresh EVO 3.5 FM Radio

Hello all! I rooted my EVO last month, and am running the Fresh EVO 3.5 ROM. The developer removed many of the OEM "apps" including the FM radio. (I use quotes, because things like the FM radio aren't just apps... it's part of the functionality of the phone, and without it, you're removing a capability of the phone.)
In order to get it back, I tried installing from the SD card where he stored all the removed apps, which the developer himself says wouldn't work. No surprise, it didn't work. "Application not installed"
I moved it to system/app and tried to install, whence I'm again told "Application not installed."
Downloaded the .apk (found by searching some forums), moved it into system/app and tried installing it with the same result ("Application not installed").
Tried using "AppInstaller" on the .apk, same result.
I'm frustrated that this ROM, while great in every other respect, has killed some of the functionality of my phone. If someone could help me get the FM radio back, I'd greatly appreciate it. Thank you!
Try flashing this file from your recovery the same way you installed the Fresh ROM. It will install the HTC FM Radio app in your system/app. Without a zip file like this you would normally need to use an application like Root Explorer.
http://dl.dropbox.com/u/3000044/FM_Radio-FreshEvo-3.5.0.1-02142011.zip
P.S. Even though this is the app section its more for developing and modifying apps. In the future you should post basic questions like this in the Q&A section.
Thanks for the help and advice.
Your .zip did install the FM radio and widget files to the system/app folder, but they still will not install. I get the same message as I did before.
Also, I have Root Explorer - that's how I moved the .apk to the system/app folder in my original attempt.
I posted a tweaked apk in flipz's thread a few month's back that should install for you, by flashing from recovery. You can give it a shot as well.
http://forum.xda-developers.com/showpost.php?p=9989719&postcount=7252
here you go, just flash
I guess I am not sure what issue you are having. I am running Fresh with out FM radio installed. I was able to use root explorer to move the file to system/app, then set the permissions, and reboot and once I was back into the launcher I was able to use the HTC radio app which was not there before. After doing that I restored my backup to before having the radio app installed and tried again using the zip file I supplied, rebooted, and I was able to use the app.
^ And for some reason, I was not able to do the same. The file was in system/app, but it would not install.
Toxin715 - Worked beautifully! Thank you!
Out of curiosity, do you have anything similar for the radio widget? I get the "Application not installed" error with that, as well... it's not as big of a deal, though.
Mathman85 said:
The file was in system/app, but it would not install.
Click to expand...
Click to collapse
If you have moved the apk to /system/app on your phone you do not need to install it, just reboot.
Mathman85 said:
^ And for some reason, I was not able to do the same. The file was in system/app, but it would not install.
Toxin715 - Worked beautifully! Thank you!
Out of curiosity, do you have anything similar for the radio widget? I get the "Application not installed" error with that, as well... it's not as big of a deal, though.
Click to expand...
Click to collapse
No problem, glad to help. Um you also need the widget?
Toxin715 said:
No problem, glad to help. Um you also need the widget?
Click to expand...
Click to collapse
Lol, that's my zip...
brandenk said:
If you have moved the apk to /system/app on your phone you do not need to install it, just reboot.
Click to expand...
Click to collapse
If that had been the case, I would've never bothered trying to install it, because "FM Radio" would've shown up in my apps and I'd have been happy to post that the issue was resolved. After rebooting when I had moved it to system/app with Root Explorer, it was not in my apps list, so I tried to install it (to no avail). Even after flashing the .zip you posted (after which I had to reboot to get out of recovery), it was in system/app, but not in my apps list; when I clicked on it in Root Explorer, I was given the "Application not installed" error. Even after flashing the .zip that Toxin715 and JsChiSurf posted, it was in system/app, but not in my apps list - the difference here was that when I went into Root Explorer and clicked on it, it let me install it, so now that issue is resolved.
Similarly, the widget is in system/app, but I assure you that I am not able to use the widget (I was going to post screen shots, but since I'm a n00b, the forum won't let me).
Toxin715 - Yes, if you could provide insight (or a .zip) for the widget, I'd be extremely grateful.
JsChiSurf - Thank you! I now see that it's your .zip, I just happened to try it directly from what Toxin715 had posted, so I didn't realize it at the time. Out of curiosity, what made your .zip any different from the others that I've tried and had no success with?
And open question to all who are reading - why would the app not show in my apps list if it is installed in system/app? Could something have gone wrong during the install of my ROM that perhaps a re-flash might correct?
Here's what I did to get it to work (using Root Explorer):
1) Copied HTCFMRadio.apk from fresh-removed-apks folder on my SD card
2) Navigated to system/app folder and clicked on "Mount R/W" button to make folder writable.
3) Pasted HTCFMRadio.app file in the system/app folder
4) Modified the permissions to match the other apps (rw-r--r--)
5) Rebooted the phone
That worked perfectly for me. I didn't modify the permissions at first and wasn't able to view the app in my app drawer. After I modified the permissions and rebooted, the app showed up as installed and worked perfectly.

[Q] How to recovery the original Text Messaging app?

I have just installed the Pays-ROM Defy v6.0 Froyo with Ginger feeling in http://forum.xda-developers.com/showthread.php?t=943258.
I don't want to use the mms.apk(I cann't remember its name accurately) and delete it, but now I donn't have a text messaging app. So could you please tell me how to recovery it?
Thanks a lot!
BTW, I cann't find a file manager in the ROM.
if you deleted it, youll have to get it from someone else, or you could do a nandroid backup, re install pays ROM and copy the app to your memory card using root explorer or similar, then restore your old backup and install the apk from your memory card
stewi21 said:
if you deleted it, youll have to get it from someone else, or you could do a nandroid backup, re install pays ROM and copy the app to your memory card using root explorer or similar, then restore your old backup and install the apk from your memory card
Click to expand...
Click to collapse
I have got the app folder from CG39.smg, but I don't know which app is for the Text Messagings.
I tried copy Conversations.apk and Conversations.odex to "SystemAppBackup" folder (I have SystemApp Remover installed), and then used SystemApp Remover' recovery function but it didn't work.
Try with Messaging.apk and Messaging.odex. (you can copy those files in your /system/app folder also using adb if you have Android SDK installed on your computer)
Currently I am at work and I don't have the usb cable with me, but when I'll get home I'll send you those files (if you don't get them by then)
Im pretty sure the app needed for sending sms' and settings is something like mms.apk, ill have a look in my system folder for ya
EDIT: yeah im pretty sure its mms.apk, id post mine up for you, but im on cyanogen so itd be a different app.
tuxtm said:
Try with Messaging.apk and Messaging.odex. (you can copy those files in your /system/app folder also using adb if you have Android SDK installed on your computer)
Currently I am at work and I don't have the usb cable with me, but when I'll get home I'll send you those files (if you don't get them by then)
Click to expand...
Click to collapse
Thank you! I can get the two files and I will try it.
stewi21 said:
Im pretty sure the app needed for sending sms' and settings is something like mms.apk, ill have a look in my system folder for ya
EDIT: yeah im pretty sure its mms.apk, id post mine up for you, but im on cyanogen so itd be a different app.
Click to expand...
Click to collapse
Thank you! I want to recovery the original text app and the mms.apk on cyanogen may be different.
yeah it would be, you could do as i first suggested
stewi21 said:
yeah it would be, you could do as i first suggested
Click to expand...
Click to collapse
I tried in this way but the yaffs explorer I used cann't access the root under the Pays-ROM Defy v6.0, which works well under other stock rom. And before I found Root Explorer I have flashed another stock rom because I couldn't wait to stay with a rom cann't send and receive text message. Maybe the mms.apk is also OK.
Sorry for my poor English.

samsung allshare app

Could someone post the allshare app that comes with the galaxy s2 on here? I just flashed a miui rom but no longer have allshare.
Thanks in advance
Hope this helps
Thanx man...
rodeo_calling said:
Hope this helps
Click to expand...
Click to collapse
I copied the file "Dina.apk" to my Epic 4g touch but it won't install. It goes through the motions then says, "Application not installed".
reekolu said:
I copied the file "Dina.apk" to my Epic 4g touch but it won't install. It goes through the motions then says, "Application not installed".
Click to expand...
Click to collapse
you need to put it in your system/App folder using root explorer and set permissions, it can't be installed using a package installer
I've tried this method on my GS2 with the provided file and I just can't get it to work. It did work with the MicrobesGl live wallpaper though.
Hello,
You can generate a CWM script to install all share and other apps here:
http://chef-droid.cubocreation.net/?lang=en
Did you set the right permissions?
Sent from my GT-I9100 using Tapatalk
I deleted the DigitalClock widget by accident. I know there's plenty in market, but I liked the stock one. Anyway, I have the .apk, moved the .apk to /system/app with Root Explorer and changed the permissions (now it's rw-r--r--). But still, when trying to install, the message "Application not installed" appears.
guimialfaro said:
I deleted the DigitalClock widget by accident. I know there's plenty in market, but I liked the stock one. Anyway, I have the .apk, moved the .apk to /system/app with Root Explorer and changed the permissions (now it's rw-r--r--). But still, when trying to install, the message "Application not installed" appears.
Click to expand...
Click to collapse
when the app is moved into the system/app folder it is then installed, no need running the .apk through a package installer because youll just get the "Application not installed" error, this is because your trying to install a system app which is what the apk is and not a standard installable app.
once moved into the system/app folder and permissions set, check your widgets if not there do a reboot then check again, if its still not there then your doing something wrong or setting the wrong permissions.
If it's not installing, could it be because it's a Samsung app? For example the stock camera, phone and messaging apps just won't install when I'm on CM7. So I'm assuming the same is true for Allshare, though I may be wrong.
pepxl said:
when the app is moved into the system/app folder it is then installed, no need running the .apk through a package installer because youll just get the "Application not installed" error, this is because your trying to install a system app which is what the apk is and not a standard installable app.
once moved into the system/app folder and permissions set, check your widgets if not there do a reboot then check again, if its still not there then your doing something wrong or setting the wrong permissions.
Click to expand...
Click to collapse
Thanks, tried all but the widget won't appear on the list. I guess something is wrong with the .apk then.
holgalee said:
If it's not installing, could it be because it's a Samsung app? For example the stock camera, phone and messaging apps just won't install when I'm on CM7. So I'm assuming the same is true for Allshare, though I may be wrong.
Click to expand...
Click to collapse
Samsung apps will only work on Samsung ROMs unless modded to work on ALL Android devices just like any other app specific to any other ROM
The app in this thread is odexed and for thus wont work with most ROMs as these are deodexed.
pepxl said:
you need to put it in your system/App folder using root explorer and set permissions, it can't be installed using a package installer
Click to expand...
Click to collapse
Keeps telling I can't copy to the folder because it is read only....
imediashare from play store is much better than all share, has built in HD channels and can show your youtube and facebook vids/photo/music
Sent from my GT-I9100 using xda premium
pepxl said:
Samsung apps will only work on Samsung ROMs unless modded to work on ALL Android devices just like any other app specific to any other ROM
Click to expand...
Click to collapse
I just tried to copy the dlna.apk from a galaxy note (unrooted, stock ROM)...tried copying that in the app folder and changed permissions...still didnt work....
rodeo_calling said:
Hope this helps
Click to expand...
Click to collapse
Thanks for this apk mate
Tab 2 7.0 no file copy
I took down the Dnla.zip, renamed it to Dnla.apk and moved it to my Tab 2 7.0. Then I used ES File and tried to move it to Root/System /App but it fails. I understand I need to change permissions for this. How do I accomplish this without rooting the device?
Kumabjorn said:
I took down the Dnla.zip, renamed it to Dnla.apk and moved it to my Tab 2 7.0. Then I used ES File and tried to move it to Root/System /App but it fails. I understand I need to change permissions for this. How do I accomplish this without rooting the device?
Click to expand...
Click to collapse
Move anything to system need ROOT
Sent from my GT-I9100

In-Pocket Detection for Motorola Defy Froyo

Hi Guys ,
Wanted InPocketService.apk of stock rom of froyo to run on 2.3.6
Can any one extract the InPocketService.apk and share it here
I might have it, i'll check tonight . Even though i don't know what to do with it i'll upload them
Sent from my 1Ghz CM7 Defy
@crakeron thank you for that. I will eargerly wait for the same !
Crakeron Hav u got the standard froyo task manager apk by chance I deleted mine by mistake n iv being looking everywhere for it thanks.
Sent from my MB525 using XDA App
I got the InPocketService.apk from MSGinger 2.1 /system/app folder.
Now how do I install it?
when i click on it and try to install, it says application could not be installed.
pls help !!
I only have a nandroid of my froyo rom, i can extract apks and. Odex files but i never figured out what to do with them :/ ask someone who makes roms he'll explain how
Sent from my 1Ghz CM7 Defy
i want to install it in CM7.1.0
popcorn1122 said:
I got the InPocketService.apk from MSGinger 2.1 /system/app folder.
Now how do I install it?
when i click on it and try to install, it says application could not be installed.
Click to expand...
Click to collapse
Use rootexplorer or a similar file manager to place the .apk in the correct folder - probably system/app. Make sure the permissions are set to rw-r--r--. Reboot.
I think I should use Yaffs Explorer as its free.
Root Explorer is not free right?
Can anyone tell me what is the "i-pocket detection"?
in pocket detection is a proximity sensor that will detect that the phone is in pocket and then turn off the display and lock the phone. It works if the phone is put on the vertical position inside the phone. Hence it uses the gravity sensor and the proximity sensors to do that job.
But I am unable to install it in CM 7.1.0.
Does any one know how to install it ?
I tried to change chmod 644 for that in the apps folder still no luck
tries the appinstaller to install, but still no luck. It says application not installed.

[Solved] stock Jellybean calendar widget on custom ROM not showing vibrant color

Hello. I'm currently running a cm10 kang ROM but every gaaps package I've flashed has the old ICS calendar widget with the washed out colors. I was wondering if anyone knew of a gaaps package that had the vibrant JB widget or just a .apk I can install.
EDIT Ok, I got it working. I took the .apk from a stock Jellybean ROM and copied into system.
So,
1. download the .apk here. https://docs.google.com/open?id=0B4b...DZEUmgydHRPUTQ
2. Use root explorer or something that's able to access /system and navigate to system/app and go to CalendarGoogle.apk and move it to your desktop or your SD card. (personally I deleted it since if something went wrong I could just reflash the gaaps package to fix it.)
3. Using root explorer copy the .apk I posted to /system/app and make sure you change permissions. (I personally have them all set to read, write, and execute)
3.5 If you try to click on the app no that it's copied it will not install, just wanted to let you know that this seems normal.
4. Reboot
5. Once your phone has booted back up try adding the widget and it SHOULD be the more vivid colored widget!
Sent from my Galaxy Nexus using Tapatalk 2
Bump
Sent from my Galaxy Nexus using Tapatalk 2
Bump =]
Sent from my Galaxy Nexus using Tapatalk 2
Yes, this annoys me too
I haven't found a fix yet
Ok, I got it working. I took the .apk from a stock Jellybean ROM and copied into system.
So,
1. download the .apk here. https://docs.google.com/open?id=0B4bA7ve5MmmBNDZEUmgydHRPUTQ
2. Use root explorer or something that's able to access /system and navigate to system/app and go to CalendarGoogle.apk and move it to your desktop or your SD card. (personally I deleted it since if something went wrong I could just reflash the gaaps package to fix it.)
3. Using root explorer copy the .apk I posted to /system/app and make sure you change permissions. (I personally have them all set to read, write, and execute)
3.5 If you try to click on the app no that it's copied it will not install, just wanted to let you know that this seems normal.
4. Reboot
5. Once your phone has booted back up try adding the widget and it SHOULD be the more vivid colored widget!
foxehkins said:
Ok, I got it working. I took the .apk from a stock Jellybean ROM and copied into system.
Click to expand...
Click to collapse
It works fine!
However, I got duplicated calendar apps and entries in sync settings. Deleting original Calendar.apk and GoogleCalendarSyncAdapter.apk solved the problem.
Eddie1506 said:
It works fine!
However, I got duplicated calendar apps and entries in sync settings. Deleting original Calendar.apk and GoogleCalendarSyncAdapter.apk solved the problem.
Click to expand...
Click to collapse
Awesome, glad to see it worked man =]

Categories

Resources