Install system apps as regular downloaded apps - Galaxy Note II Q&A, Help & Troubleshooting

I'm working on a themed aosp 4.2 keyboard. It would make my life a whole lot easier if i could just install the keyboard as a regular app, but when i try is won't work. What would you need to edit in a system app so that it will install normally without having to move it to system/app and rebooting

Well if you could explain the error....
this is SPARTAAA

UtkarshGupta said:
Well if you could explain the error....
this is SPARTAAA
Click to expand...
Click to collapse
For example, if you were to uninstall say the android keyboard that comes bundled with a rom, then you were to extract the apk, and try and just install it, it won't work. The only way i know of getting it to install is to put it into system/app and reboot. So i'm asking if there is a way to edit system apk's so that you can install them regularly.

joelrwise said:
For example, if you were to uninstall say the android keyboard that comes bundled with a rom, then you were to extract the apk, and try and just install it, it won't work. The only way i know of getting it to install is to put it into system/app and reboot. So i'm asking if there is a way to edit system apk's so that you can install them regularly.
Click to expand...
Click to collapse
Never mind I figure it out. I just had to merge the resources file from the new app into the original then resign the original

Related

[Q] How to replace dialers?

I want to use the dialer from the PlurStar theme with REVOlution. How would I do that?
I pulled the dialer .apk from the theme and tried to install it but it wouldn't work. I figure I need to use adb and just pull out the old dialer and replace it with the new one. Am I correct? How would I do that? What would I need to type in adb?
Thanks.
I'm thinking that you need to include that apk into a zip file that can be flashed via recovery...
What does that involve? I'm assuming I can't just put it in a plain old zip file.
I remove and replace files in the rom zip using winrar, then flash the zip to the phone. Sometimes it works sometimes it wont, who knows maybe one day well see a Phatman rom lol.
_MetalHead_ said:
What does that involve? I'm assuming I can't just put it in a plain old zip file.
Click to expand...
Click to collapse
Well kind of... If you look for the SU apk (the new one) you'll see that it was an APK but it could not be directly installed so it was converted into a zip file. I know that there is more than just compressing the file,some additional files must be put in the zip as well so the recovery manager can extract it on the phone. I'd download the zip and check what it is inside besides the apk itself. You can also ask one of the dev to make it a zip for you.
Well I just used Regaw's zipmaker to do it, and it flashed but my dialer is still the same.
WhOops wrong thread.
Like phatman said, just take the Rom, extract it, look for system/app, drop the dialer in there and zip it back up. That's what I just got done doing this weekend with calks Rom, so I could have a dialer with vibration reenabled.
Sent from my PC36100 using XDA App
Yeah I just finished putting together my zip, but I didn't do it with a ROM, I did it with the REVOlution theme. I just extracted it, dropped the dialer .apk in to it and recompressed it. Going to try flashing it in a little bit.
Didn't work. Got an error that says "can't find update script". I think it has something to do with needing to resign the zip, which I don't know how to do.
_MetalHead_ said:
Didn't work. Got an error that says "can't find update script". I think it has something to do with needing to resign the zip, which I don't know how to do.
Click to expand...
Click to collapse
Use winrar and dont unzip the ROM, the program will add/remove files without actually unzipping, like I said, its a hit or miss, or worst case you get a boot loop.
Just use the ROM and swap the dialers. U won't have to wipe or anything to reflash. I used 7z, extracted to a folder, swapped dialers then rezipped without any problems flashing.
Sent from my PC36100 using XDA App
phatmanxxl said:
Use winrar and dont unzip the ROM, the program will add/remove files without actually unzipping, like I said, its a hit or miss, or worst case you get a boot loop.
Click to expand...
Click to collapse
K, I'll try that next. TY
Thanks for the advice everyone.
i'm also interested in changing my dialer...can't we just adb push the dialer apk to /system/app/ from Recovery and have it work?
Max_Pain said:
i'm also interested in changing my dialer...can't we just adb push the dialer apk to /system/app/ from Recovery and have it work?
Click to expand...
Click to collapse
Yes...unfortunately, some of us are too stoopid to get adb to work...
awenthol said:
Yes...unfortunately, some of us are too stoopid to get adb to work...
Click to expand...
Click to collapse
Lol same here, I only got it to work during my g1 days. After that it was a no go, not sure if its user error or my computer. Find a solution to your dialer yet?
It's on the back burner right now. I'm currently beta testing RegawMOD so I'm not going to mess with the dialer until I'm done with it. I will try swapping the apks in winrar though as soon as I am done with the beta test. Kinda getting burned out on constantly flashing all day long. I need to get some sun lol

Inverted Apps?

Anyone know where I could find a flashable ZIP for inverted apps that would work on Sonics GS3 ROM? Mainly looking for an inverted app for the MMS app to match his theme?
All the inverted apps so far are for aosp roms. A lot of the apps work on touchwiz, but might take some tweaking to get them to work. I am currently using my own inverted cm9 mms.apk on touchwiz and its working fine. I have attached the apk Im using, you can replace the stock with it using root explorer or something.
many of these can be installed or pushed. Zips may not work due to epic touch scripting
http://forum.xda-developers.com/showthread.php?t=1279376
shiftr182 said:
All the inverted apps so far are for aosp roms. A lot of the apps work on touchwiz, but might take some tweaking to get them to work. I am currently using my own inverted cm9 mms.apk on touchwiz and its working fine. I have attached the apk Im using, you can replace the stock with it using root explorer or something.
Click to expand...
Click to collapse
What exact steps should I take to get this on my phone? I went into the system apps folder and only found SecMms.apk. I went ahead and renamed that one to have as my backup in case. I took the file I downloaded from your reply and renamed it to SecMms.apk and set the permissions. I rebooted but now I am not seeing any messaging app in my drawer? I did then try opening the SecMms.apk and installing it and it wont let me. Am I doing something incorrectly?
powerstroke said:
What exact steps should I take to get this on my phone? I went into the system apps folder and only found SecMms.apk. I went ahead and renamed that one to have as my backup in case. I took the file I downloaded from your reply and renamed it to SecMms.apk and set the permissions. I rebooted but now I am not seeing any messaging app in my drawer? I did then try opening the SecMms.apk and installing it and it wont let me. Am I doing something incorrectly?
Click to expand...
Click to collapse
You need to change permissions on the app to match the other apps in /system/app, then reboot
shiftr182 said:
You need to change permissions on the app to match the other apps in /system/app, then reboot
Click to expand...
Click to collapse
I did switch the new app to match the other apps in that folder RW-R-R. I am suppose to be renaming your app you attached to SecMms.apk correct? because I dont see a Mms.apk in system/app, just see the SecMms.apk
nevermind i got it man. Thanks again

[Q] Where to find com.android.settings.apk for UCALH9?

I have UCALH9 installed on my S3, it's rooted. I was installing some basic mods, 15 toggles, etc and when I installed the NoWifi mod it for some reason deleted my settings app. I am trying to get it back and was hoping someone would be able to send it to me or have a link to one.
Please let me know,
Rob
robamacaf said:
I have UCALH9 installed on my S3, it's rooted. I was installing some basic mods, 15 toggles, etc and when I installed the NoWifi mod it for some reason deleted my settings app. I am trying to get it back and was hoping someone would be able to send it to me or have a link to one.
Please let me know,
Rob
Click to expand...
Click to collapse
trry this http://forum.xda-developers.com/attachment.php?attachmentid=1237697&d=1343929729
just install it using a file explorer app.. its an apk for the lg optimus since this is an apk i dont think its gonna hurt to try this out
or you could reflash UCALH9 if this apk doesnt work for you
amzi said:
trry this http://forum.xda-developers.com/attachment.php?attachmentid=1237697&d=1343929729
just install it using a file explorer app.. its an apk for the lg optimus since this is an apk i dont think its gonna hurt to try this out
or you could reflash UCALH9 if this apk doesnt work for you
Click to expand...
Click to collapse
You could also use 7Zip to pull it out of the LH9 zip. It should be in system/apps/. Then just copy into system/apps/ on your phone, fix permissions (rw-, r--,r--), then reboot. Don't try to actually use the apk installer by tapping on it and choosing install.

[Q] Google talk wont load on Mildwild ROM

I have installed the MildWild ROM on my old Desire (which my partner uses). This one: http://forum.xda-developers.com/showthread.php?t=1453287
I have tried installing the Google Talk app from that page plus also other apk versions from various places but none seem to work. They either fail to install or force close when started. All other apps are fine and the ROM is quite good, stable and quick.
Can anyone help with a fix please. Or link to a guaranteed gtalk apk.
Cheers
Gregsy
Gregsy said:
I have installed the MildWild ROM on my old Desire (which my partner uses). This one: http://forum.xda-developers.com/showthread.php?t=1453287
I have tried installing the Google Talk app from that page plus also other apk versions from various places but none seem to work. They either fail to install or force close when started. All other apps are fine and the ROM is quite good, stable and quick.
Can anyone help with a fix please. Or link to a guaranteed gtalk apk.
Cheers
Gregsy
Click to expand...
Click to collapse
are you flashing the zips in recovery? Try downloading the zip from the page, extract it and take the apk out of it. Then using a root explorer, move the apk into /system/app and change the permissions to rw-r-r
chromium96 said:
are you flashing the zips in recovery? Try downloading the zip from the page, extract it and take the apk out of it. Then using a root explorer, move the apk into /system/app and change the permissions to rw-r-r
Click to expand...
Click to collapse
No, I was just doing a normal apk install, I didn't realise it was a system app. I will try this when I can.
Thanks very much. :good:

[Q] Selected launchers won't start on fresh install

Hi all,
It's been a while since I've come across a problem that Google couldn't help me with, and my search skills have not turned up any results...so I'm turning to the community again.
I recently decided to try out some Jelly Bean roms on my Desire after being a long time MildWild user. The rom that I found best suited was CyanoMod007 (JB 4.2.2 | Int2Ext+ | A2Ext+) [STOCK | CM7] [v21 | 19/05/13]. However this uses the trebuchet launcher which is a bit too slow for my liking.
I experimented with Apex launcher, essentially removing Trebuchet from the zip file and inserting Apex in its place and that worked fine.
However, I also wanted to try Nova Launcher and Smart Launcher. Following the same procedure as with Apex, I went through and reflashed my device, but in both these instances, Nova Lanucher and Smart Launcher failed to start.
I'm not sure why this is the case, as far as I could tell they should be working properly, but all I seemed to get was the popup telling me "Unfortunately, xxx Launcher, has stopped."
Could anyone shed some light on the situation?
Did you set the right permissions?
Why reflash the rom just to install a launcher?
Install the launcher of your choice normally with the apk, or if you want it to be a system app you can use a root file explorer to place it into system/app. Also change the permissions to rw-r-r.
Sent from my HTC Desire using xda app-developers appp
abaaaabbbb63 said:
Did you set the right permissions?
Click to expand...
Click to collapse
To be honest with you I didn't realise you had to set permissions before adding a new apk. Whenever I've made my own modifications to roms I've always just swapped the apks out of the zip before sending it over to the phone to install.
I'll try to dig up a thread with some instructions.
chromium96 said:
Why reflash the rom just to install a launcher?
Install the launcher of your choice normally with the apk, or if you want it to be a system app you can use a root file explorer to place it into system/app. Also change the permissions to rw-r-r.
Sent from my HTC Desire using xda app-developers appp
Click to expand...
Click to collapse
Well, I went from an old Gingerbread rom to Jelly Bean, so I had to flash the rom. Once I got setup with jelly bean and saw it worked I thought it would be the best time to experiment with rom changes before I download all my apps and contact info etc so I've been making changes to the rom zips and installing them to see what works and what doesn't.
---Quick Edit---
After looking into the issue some more, I've managed to hack together a solution, though I'm not sure if this will cause issues down the line. It seems to be working fine at the minute.
Basically, I installed the rom with Apex, downloaded Smart Launcher and Titanium Backup, set Smart Launcher as the default launcher and removed Apex with Titanium.
While this does seem to work, I'm still trying to find some information regarding apk permissions when adding them to a zip file and why the apk wouldn't work from a fresh install, so by all means any comments on that front would be welcomed.
5nak3 said:
To be honest with you I didn't realise you had to set permissions before adding a new apk. Whenever I've made my own modifications to roms I've always just swapped the apks out of the zip before sending it over to the phone to install.
I'll try to dig up a thread with some instructions.
Well, I went from an old Gingerbread rom to Jelly Bean, so I had to flash the rom. Once I got setup with jelly bean and saw it worked I thought it would be the best time to experiment with rom changes before I download all my apps and contact info etc so I've been making changes to the rom zips and installing them to see what works and what doesn't.
---Quick Edit---
After looking into the issue some more, I've managed to hack together a solution, though I'm not sure if this will cause issues down the line. It seems to be working fine at the minute.
Basically, I installed the rom with Apex, downloaded Smart Launcher and Titanium Backup, set Smart Launcher as the default launcher and removed Apex with Titanium.
While this does seem to work, I'm still trying to find some information regarding apk permissions when adding them to a zip file and why the apk wouldn't work from a fresh install, so by all means any comments on that front would be welcomed.
Click to expand...
Click to collapse
Any time you move an apk to /data or /system manually, you have to set rw-r-r permissions. You should just install the ROM and then use cmd or filemanager to replace Trebuchet with Apex or whatever launcher you want. Simply refrain from adding apks to pre-install zip files.
Why uninstall with Titanium when you can simply delete from /system/app? I think Titanium causes problems on some JB roms...
droid_<3er said:
Any time you move an apk to /data or /system manually, you have to set rw-r-r permissions. You should just install the ROM and then use cmd or filemanager to replace Trebuchet with Apex or whatever launcher you want. Simply refrain from adding apks to pre-install zip files.
Why uninstall with Titanium when you can simply delete from /system/app? I think Titanium causes problems on some JB roms...
Click to expand...
Click to collapse
I initially tried to go to /system/app using Estrong File Manager before opting for Titanium as I wasn't sure if it would cause problems. However, when searching with the file manager I didn't find any apk's. Could this have been because I did it while the system was mounted i.e. phone turned on?
Apologies for what may seem like basic questions / understanding, but as you can see from my join date I've only had an android device from September of last year and the truth is after following the Noob proof everything guide for the HTC Desire and installing my MildWild gingerbread rom I never experimented with anything until now.
5nak3 said:
I initially tried to go to /system/app using Estrong File Manager before opting for Titanium as I wasn't sure if it would cause problems. However, when searching with the file manager I didn't find any apk's. Could this have been because I did it while the system was mounted i.e. phone turned on?
Apologies for what may seem like basic questions / understanding, but as you can see from my join date I've only had an android device from September of last year and the truth is after following the Noob proof everything guide for the HTC Desire and installing my MildWild gingerbread rom I never experimented with anything until now.
Click to expand...
Click to collapse
That means that whatever File manager you're using doesn't have root capabilities. Try root browser https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en and you'll be able to access anything in / .
For some managers there is an option to mount system r/w. Try that too.
droid_<3er said:
That means that whatever File manager you're using doesn't have root capabilities. Try root browser https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en and you'll be able to access anything in / .
For some managers there is an option to mount system r/w. Try that too.
Click to expand...
Click to collapse
Yup, you were right, the issue was I wasn't running the file manage with root mounted. Once I enabled the mount system r/w setting I had access to the apks.
So with that sorted I'm guessing that for future tests the best way of making edits to roms would be to install the rom, then using the file manager (un)install apks as I choose?
5nak3 said:
Yup, you were right, the issue was I wasn't running the file manage with root mounted. Once I enabled the mount system r/w setting I had access to the apks.
So with that sorted I'm guessing that for future tests the best way of making edits to roms would be to install the rom, then using the file manager (un)install apks as I choose?
Click to expand...
Click to collapse
Well yeah. It takes more time than editing zips, but you won't usually get problems unless you delete an important apk.

Categories

Resources