no stock email - Verizon Droid Incredible 2

I must be doing something wrong here. I've installed Condemned CM7 and MROM and neither installed the stock email client and I'm not able to add accounts other than Gmail and Corporate (Exchange). I wasn't given a selection of what to install (like some other custom ROMs) so what is going on here?

see3po said:
I must be doing something wrong here. I've installed Condemned CM7 and MROM and neither installed the stock email client and I'm not able to add accounts other than Gmail and Corporate (Exchange). I wasn't given a selection of what to install (like some other custom ROMs) so what is going on here?
Click to expand...
Click to collapse
See if you can pull it from another CM7 ROM, like Nitsua's builds. Go into the zip, extract the mail apk, put it into your system/app location and set permissions. Then reboot.

brymaster5000 said:
See if you can pull it from another CM7 ROM, like Nitsua's builds. Go into the zip, extract the mail apk, put it into your system/app location and set permissions. Then reboot.
Click to expand...
Click to collapse
Thanks. Is this how I can add features to a custom ROM provided it's from a compatible apk? I installed a custom ROM on my Senastion and did not select HTC Mail at install time (thought it was a special HTC version of mail). Afterwards, could I have extracted the mail apk from the ROM and put it in system/app like you said? What permission do I set, 777?

see3po said:
Thanks. Is this how I can add features to a custom ROM provided it's from a compatible apk? I installed a custom ROM on my Senastion and did not select HTC Mail at install time (thought it was a special HTC version of mail). Afterwards, could I have extracted the mail apk from the ROM and put it in system/app like you said? What permission do I set, 777?
Click to expand...
Click to collapse
What would justify setting premissions of 777, when 755 should suffice?

jpradley said:
What would justify setting premissions of 777, when 755 should suffice?
Click to expand...
Click to collapse
It was more of a question since I've never done it. I figured it's the "loosest" permission which will allow the apk to be installed by anyone. 755 it is.

The permissions have nothing to do with installation, and in fact, you can't set the permissions UNTIL an app is installed, It has to do with who can run the program, or read it, or overwrite it.

See attached.

Related

Installing AOSP apps on the evo

Hi everybody,
This is a total n00b question, but I was hoping someone could point me in the right direction. I want to install some of the AOSP apps onto my rooted Evo. So I downloaded eclair from google and built it it. Then I copied the Gallery.apk onto my SDK card and tried to install it. It goes through the motions, even as far as telling me which permissions that the app needs to run (Storage, etc).
Then it says, "Application not installed." with a done button.
I probably simply can't do what I'm trying to do, but if you can point in the right direction, I'd love to have a hand. I can't find log files or anything that would be useful.
-Ted
I'm not sure about AOSP apps, but here's what you do to add HTC apps back into roms:
1. Get something like Root Explorer so you can easily write to /system/
2. Copy your apk to /system/app/
3. Change it's permissions to match those of other apk's in the folder
4. Reboot phone
(And this should have gone in Q&A, but it's all good )
K I'm also confused about this but the HTC app part. If I wanted the stock clock widget can I make them work with launcher pro?
Also kind of confused about what exactly asop is in laments terms
Sent from my PC36100 using XDA App
I posted something along these lines in Q&A. Of course the problem with Q&A is there aren't nearly as many people around, but I did eventually get somewhat of an answer.
I was trying to take the apks from bugless beast and install the AOSP dialer, calendar, calculator, browser, and messaging apps into another ROM. I love bugless beast, but ironically it has some pretty bad bugs, hopefully we will see some updates.
At any rate, I eventually got some assistance on installing from adb, you may want to just look at the thread, but the short explination is to run
Code:
adb remount
and then you can do an adb shell command to get onto the phone (or use "adb shell <on-phone command>") to run
Code:
install <apk name> /system/app
This will be a very easy way to bugger things up, as I have found out from trying to get the contacts/dialer app running. I would love to hear what all I need to do to get the contacts/dialer/phone portion running as it is in bugless beast.
http://forum.xda-developers.com/showthread.php?t=715635
Thanks for this. It didn't error or anything, but it didn't work either. The app isn't available.
tedroden said:
Thanks for this. It didn't error or anything, but it didn't work either. The app isn't available.
Click to expand...
Click to collapse
So you did the remount, and then either ran adb shell install <apk> /system/app or ran "adb shell" which entered the phone, and then tried "install <apk> /system/app ???
There were no error messages, and then did you reboot?
If you did all of that, what apk were you trying to install?
I really want the calendar app. I tried doing something like this to install the calendar on the emulator. It didn't work there either. It acted like it worked, but all I got was a calendar app that would launch then fail immediately.
nlowhor said:
I really want the calendar app. I tried doing something like this to install the calendar on the emulator. It didn't work there either. It acted like it worked, but all I got was a calendar app that would launch then fail immediately.
Click to expand...
Click to collapse
You probably need the calendar provider apk. I'm using the apks from bugless beast, other ones may have problems I'm not having.
did the remount, and then ... ran "adb shell" which entered the phone, and then tried "install <apk> /system/app ???
There were no error messages, and then did you reboot?
If you did all of that, what apk were you trying to install?
Click to expand...
Click to collapse
Yep, I did all of that. Trying to install Gallery.apk
From what I recall about install, it just copies the file with the proper permissions, it's not doing anything super fancy. I can manually verify that the apk is in the /system/app folder, so technically, 'install' worked. It's just not showing up as an app that I can use.
laydros said:
You probably need the calendar provider apk. I'm using the apks from bugless beast, other ones may have problems I'm not having.
Click to expand...
Click to collapse
I have them both and put that into the same folder. Didn't seem to be good enough to make the emulator happy.

How to add apk files into a rom

hey i want to add some files like htc clock.apk and calculator.apk to N.S.A rom, so how do i go about it. Any help
Thank you.
unzip the ROM, add them to the app folder and rezip it and then flash the ROM (making sure the recovery utility you're using allows non-signed ROMs)
i am using clockworkmod recovery, does it allow flashing unsigned rom??
Thanks
unquestioning
shoemeistah said:
unquestioning
Click to expand...
Click to collapse
Sorry, what does that means.
Yes, you have to remove the signing checking option in it (under advanced or something, have a play about)
hey use Android kitchen to Modify the Rom as want
>you can add and remove apps
>you can create your own custom rom if want..!!
>And you can sign the modified ROM
READ THE INSTRUCTION YOU'LL GET TO KNOW
try it out works great here is the link:
http://forum.xda-developers.com/showthread.php?t=633246
harish.awe said:
hey use Android kitchen to Modify the Rom as want
>you can add and remove apps
>you can create your own custom rom if want..!!
>And you can sign the modified ROM
READ THE INSTRUCTION YOU'LL GET TO KNOW
try it out works great here is the link:
http://forum.xda-developers.com/showthread.php?t=633246
Click to expand...
Click to collapse
It's a LOT easier to just do it yourself...
?
does this work for the captivate
Don't know, go ask in the captivate forum and not the Desire one
Hi all, i'm a new user and i have some trouble adding .apk's into cooked roms.
In particular, i'm trying to add some .apk into /system/app of InsertCoin Gingerbread 1.0.5
I have unzipped the rom, add those apk's, zipped again but when i flash it from recovery it says "Can't Find Update Script".
Iryon said:
Hi all, i'm a new user and i have some trouble adding .apk's into cooked roms.
In particular, i'm trying to add some .apk into /system/app of InsertCoin Gingerbread 1.0.5
I have unzipped the rom, add those apk's, zipped again but when i flash it from recovery it says "Can't Find Update Script".
Click to expand...
Click to collapse
Don't(!) unzip the rom. Just open the archive using 7zip or winzip (or something like that; right-click zip and choose 'open archive'). Then just move apk to correct folder. If you're taking apk's from another rom, open that using 7zip as well. Then, drag the program from one rom to the other. When you're finished and want to flash the rom, make sure you've disabled 'signature verification' in recovery (it is an option in recovery).
Thank you, i was able to flash my first "modded" version with different boot/down animation, Teeter game (i love it) and Titanium Backup
The only thing i was not able to do was Root Explorer, i tried to put it in system/app and in data/app but when i flash rom it doesn't appear in the drawer.
Any suggestion?
Iryon said:
Thank you, i was able to flash my first "modded" version with different boot/down animation, Teeter game (i love it) and Titanium Backup
The only thing i was not able to do was Root Explorer, i tried to put it in system/app and in data/app but when i flash rom it doesn't appear in the drawer.
Any suggestion?
Click to expand...
Click to collapse
I have been learning how to do this in the last few days and have had similar issues as you. I can get some to install fine and appear in the drawer but not all.
I have only been adding the apk's to system/app and not data/app. Should the apk's be added to one of these, both of them or another folder completely?
Can anyone help the two of us out?
I used apk swapper but all the apps are not working

How to get an APK file form different ROM to work

I like to try similar apps side by side.
For example, I would like to try different camera apps in my phone.
How can I use an apk file of camera extracted from a different ROM and install in my current ROM without removing the stock app.
I tried to push an apk from another ROM to the /system/app folder with appropriate permissions. This did not work. I got an FC.
Is there a way I can accomplish this without much changes?
You have to push it to that folder, but also set the permissions. This is also depending on if it's not tied into the framework. I'm on my phone so I can't dig around right now.
Edit: after changing permissions to 644, reboot.
PonsAsinorem said:
You have to push it to that folder, but also set the permissions. This is also depending on if it's not tied into the framework. I'm on my phone so I can't dig around right now.
Edit: after changing permissions to 644, reboot.
Click to expand...
Click to collapse
thanks for your advice.
What I am trying to do is make an apk I can push or install which would act like an independent application so that I can still keep the stock application.
meazz1 said:
thanks for your advice.
What I am trying to do is make an apk I can push or install which would act like an independent application so that I can still keep the stock application.
Click to expand...
Click to collapse
As long as they're not named the same, so that you're new one won't overwrite the original. You can have multiple apps in the app drawer with the same name. Make a nandroid and give it a shot.
PonsAsinorem said:
As long as they're not named the same, so that you're new one won't overwrite the original. You can have multiple apps in the app drawer with the same name. Make a nandroid and give it a shot.
Click to expand...
Click to collapse
what name are you referring to? Is it the "camera.apk" or "HTCCamera.apk" name or something within the .apk file.
can you give me a hint?
meazz1 said:
what name are you referring to? Is it the "camera.apk" or "HTCCamera.apk" name or something within the .apk file.
can you give me a hint?
Click to expand...
Click to collapse
The .apk name that gets pushed to the system app folder. Example, I run CM7. There is an app called Camera.apk which I don't really like, so I push MiuiCamera.apk to that folder, set the permissions and reboot. Now in my app drawer, there are two Cameras with different icons, (I usually wind up removing the stock Camera.apk).
If the new camera I used was named Camera.apk as well, it would just overwrite the original camera, replacing it, which is something you said you didn't want.

[Q] Sense 3.0 MMS app

You know sense 3.0 mms app better than 2.x. Is there any way to install it on stock rom without flashing a custom rom?
You will need to have ADB installed on your computer.
If you don't already, look for a guide. I recommend you install it like this. "C:/Android"
Make sure you have USB Debugging enabled.
Place the file I provided into the folder with ADB in it.
Start ADB using the path you used to install it.
Use this code.
Code:
adb remount
adb push Mms.apk /system/app/Mms.apk
That should work for you.
brandonhun said:
You will need to have ADB installed on your computer.
If you don't already, look for a guide. I recommend you install it like this. "C:/Android"
Make sure you have USB Debugging enabled.
Place the file I provided into the folder with ADB in it.
Start ADB using the path you used to install it.
Use this code.
Code:
adb remount
adb push Mms.apk /system/app/Mms.apk
That should work for you.
Click to expand...
Click to collapse
it crashes. do i need mms.odex or something?
May I ask what exactly is the difference between the apps?
RLx3 said:
May I ask what exactly is the difference between the apps?
Click to expand...
Click to collapse
User inrerface
whatthefork said:
it crashes. do i need mms.odex or something?
Click to expand...
Click to collapse
Since you have a stock rom, yes, you definitely have to !
whatthefork said:
it crashes. do i need mms.odex or something?
Click to expand...
Click to collapse
nope you dont need, with a root enabled file explorer go to /system/app and delete mms.odex, if it doesnt work go to recovery and wipe dalvik, if it also doesnt work, i attached odexed version of mms.apk, extract my attached file into your sd card, copy them to /system/app and set permissions to -rw -r -r, and it should work.
question
is there a way to get the sense 3.0 mms app on CM7 by any chance?
mstfkaratas said:
nope you dont need, with a root enabled file explorer go to /system/app and delete mms.odex, if it doesnt work go to recovery and wipe dalvik, if it also doesnt work, i attached odexed version of mms.apk, extract my attached file into your sd card, copy them to /system/app and set permissions to -rw -r -r, and it should work.
Click to expand...
Click to collapse
Doesn't work for my stock rom 2.3.5 rooted. any idea?
Sent from my HTC Wildfire S A510e
asdot said:
Doesn't work for my stock rom 2.3.5 rooted. any idea?
Sent from my HTC Wildfire S A510e
Click to expand...
Click to collapse
then i have no idea, i am using it with my 2.3.5 based sense rom
Sent from my HTC Wildfire S using Tapatalk
mms
will this replace stock mms? i am missing part of it and having a lot of probs with mms can send but not receive on my rooted but still factory rom wildfire s
If on a deodexed rom then replace sense 2.1 mms app with sense 3.0 mms app. Set permissions r-w-rr or 644. Perform a reboot for changes to take place.
If on an odexed rom delete both Mms.apk and Mms.odex. Add the new Mms.apk and set permissions. Perform a reboot for changes to take place.
thehacka1 said:
If on a deodexed rom then replace sense 2.1 mms app with sense 3.0 mms app. Set permissions r-w-rr or 644. Perform a reboot for changes to take place.
If on an odexed rom delete both Mms.apk and Mms.odex. Add the new Mms.apk and set permissions. Perform a reboot for changes to take place.
Click to expand...
Click to collapse
im not sure the difference but if i have files that say .odx when i am looking using root browser is it safe to assume its an .odx rom? im still pretty green sorry
skittlewitchy said:
im not sure the difference but if i have files that say .odx when i am looking using root browser is it safe to assume its an .odx rom? im still pretty green sorry
Click to expand...
Click to collapse
That's perfectly fine. I was green too. In certain areas I'm still green. Just delete Mms.odex. Replace Mms.apk with sense 3.0 one. Set permissions and reboot.

[Q] Note 2 Gallery/Lockscreen wallpaper help

Had the bright idea to delete the stock gallery app while clearing bloatware. Unbeknownst to me, that was needed to set the lock screen wallpaper to anything other than the stock wallpapers. I use quickpic instead. Now I can't set a picture as the lock screen background (I can change wallpaper).
I've tried reinstalling the gallery, but when choosing to set the paper from the home screen, the gallery option does not show up. Is there a way to again associate the gallery, or an alternative app to do so?
SilveradoZ71 said:
Had the bright idea to delete the stock gallery app while clearing bloatware. Unbeknownst to me, that was needed to set the lock screen wallpaper to anything other than the stock wallpapers. I use quickpic instead. Now I can't set a picture as the lock screen background (I can change wallpaper).
I've tried reinstalling the gallery, but when choosing to set the paper from the home screen, the gallery option does not show up. Is there a way to again associate the gallery, or an alternative app to do so?
Click to expand...
Click to collapse
I'm no expert, but have you restored gallery back to /system/app or did you just click on .apk and chose to install it? Because if you installed it, it went to /data/app - maybe that's the reason it does not function as it supposed to?
And second, try to run it as an app - see if it starts in first place, maybe there's something else missing. Perhaps you deleted odex file as well, and because of this it does not start?
Just did a little experiment - restored apk and odex files back to /system/app - and option to change wallpaper appeared again. No reboot needed.
Move gallery apk to system/app and set the permissions to rw-r-r aand reboot.
akp.ajinkya said:
Move gallery apk to system/app and set the permissions to rw-r-r aand reboot.
Click to expand...
Click to collapse
I believe you both are right, as I just installed like normal. Noob issue though, when I go to copy and paste the apk into system/app, I get a permission denied message. I'm rooted of course and granted es file explorer su privileges, so I'm not sure why. Any suggestions?
Thanks for the help
SilveradoZ71 said:
I believe you both are right, as I just installed like normal. Noob issue though, when I go to copy and paste the apk into system/app, I get a permission denied message. I'm rooted of course and granted es file explorer su privileges, so I'm not sure why. Any suggestions?
Thanks for the help
Click to expand...
Click to collapse
You need to remount /system as read-write, just like you did before removing apps (if you removed them manually). Go to your terminal emulator or use ./adb shell get superuser (by typing "su") and type: mount -o rw,remount /system
After that you can move files to*/system. Just don't forget to reboot or remount /system as read-only when done.
Root explorer allows pasting and permissions changing. I'm not sure I'm using the right apk. I had a nexus one that installed and worked (though not able to change lock screen). I uninstalled it, and installed 2 different versions of the Samsung app. It never gets recognized on the reboot like the nexus one did. I assume I'm using the wrong one. Any link to an official one? I am on 4.1.2 stock.
Thanks again
SilveradoZ71 said:
Root explorer allows pasting and permissions changing. I'm not sure I'm using the right apk. I had a nexus one that installed and worked (though not able to change lock screen). I uninstalled it, and installed 2 different versions of the Samsung app. It never gets recognized on the reboot like the nexus one did. I assume I'm using the wrong one. Any link to an official one? I am on 4.1.2 stock.
Thanks again
Click to expand...
Click to collapse
I'm using 4.1.2 stock, so here are files from my /system/app:
http://ge.tt/11an8Gz
Sha256sum:
9f1a440e1aefb1bed74c0c8b0cdd0e462d24d70cad3da7063034db5f905f2d52 SecGallery2_Galaxy.apk
cf96394bcce1c1b07915265b953074d79960f530b4872770597f6cd4349ffd0e SecGallery2_Galaxy.odex
Good luck, and let me know if this helps.
P.S. Next time you clean you ROM, just move files to some location (for example your PC) Comes in handy later, I know that from my own painful experience
Userius said:
I'm using 4.1.2 stock, so here are files from my /system/app:
Sha256sum:
9f1a440e1aefb1bed74c0c8b0cdd0e462d24d70cad3da7063034db5f905f2d52 SecGallery2_Galaxy.apk
cf96394bcce1c1b07915265b953074d79960f530b4872770597f6cd4349ffd0e SecGallery2_Galaxy.odex
Good luck, and let me know if this helps.
P.S. Next time you clean you ROM, just move files to some location (for example your PC) Comes in handy later, I know that from my own painful experience
Click to expand...
Click to collapse
Any specific way to install it all back? I put everything back in system/app and rebooted. Nothing changed, it's not installed, and Android didn't "Update Apps" on the reboot. I try to install it with package installer like any other app and that fails. I've tried your odex and mine (which was never deleted).
That's great advice!

Categories

Resources