Pushing AOSP apk's to system/app - Verizon Samsung Galaxy S 4

I've been trying to push some AOSP style apps to system/app but I keep getting force closes on them.
Examples include calculator.apk and mms.ask. Any idea why these apps won't work?
Sent from my SCH-I545 using xda app-developers app

jco897j said:
I've been trying to push some AOSP style apps to system/app but I keep getting force closes on them.
Examples include calculator.apk and mms.ask. Any idea why these apps won't work?
Sent from my SCH-I545 using xda app-developers app
Click to expand...
Click to collapse
The S4 is a TouchWiz phone, not AOSP. The AOSP framework isn't there, so many AOSP apps won't work. That's probably true for most of them, actually.
What you're doing is kind of close to taking an iPad application and trying to flash it, then asking why it doesn't work.

k1mu said:
The S4 is a TouchWiz phone, not AOSP. The AOSP framework isn't there, so many AOSP apps won't work. That's probably true for most of them, actually.
What you're doing is kind of close to taking an iPad application and trying to flash it, then asking why it doesn't work.
Click to expand...
Click to collapse
Also, Samsung apps are in system/priv-app, not system/app. Some may work, some may not. Generally fixing permissions and ensuring file name matches should help.

I tried that too. Oh well. Guess I'll just settle with freezing stock apps and installing AOSP versions the regular way. Thanks for the help.
Sent from my SCH-I545 using xda app-developers app

jco897j said:
I tried that too. Oh well. Guess I'll just settle with freezing stock apps and installing AOSP versions the regular way. Thanks for the help.
Sent from my SCH-I545 using xda app-developers app
Click to expand...
Click to collapse
good luck...but like it was said, tw doesn't have ASOP framework as part of it

I've found a few apks that have been repackaged that I can simply install. Just trying to create the illusion of AOSP.
Sent from my SCH-I545 using xda app-developers app

Related

Adding apps to flashable files

So if I want to add apps like the note2 gallery to my port do I just put it in the app file zip it up and sign it?
Sent from my SGH-T959 using xda app-developers app
Hey skinzy98, real quick, just wanted to let you know that your work in the development sub-forum is greatly appreciated. Keep up the good work! :thumbup:
Now to answer your question. If you're planning to inject an app into a ROM, then you can accomplish this by placing the .apk into the system/app directory inside your ROMNAME.zip, and that's it (assuming the ROM sets recursive permissions to the entire system/app directory). This would result in your injected app being installed as a system app. However, if you want it to be installed as a data app... Well, it's gonna' be a little more involved. For what you plan to do, installing it as a system app would probably be best anyhow. Good luck, and let me know if you need any help/have any questions. Always glad to help a bro out when I can.
Sent from my SGH-T959
N00B_IN_N33D said:
Hey skinzy98, real quick, just wanted to let you know that your work in the development sub-forum is greatly appreciated. Keep up the good work! :thumbup:
Now to answer your question. If you're planning to inject an app into a ROM, then you can accomplish this by placing the .apk into the system/app directory inside your ROMNAME.zip, and that's it (assuming the ROM sets recursive permissions to the entire system/app directory). This would result in your injected app being installed as a system app. However, if you want it to be installed as a data app... Well, it's gonna' be a little more involved. For what you plan to do, installing it as a system app would probably be best anyhow. Good luck, and let me know if you need any help/have any questions. Always glad to help a bro out when I can.
Sent from my SGH-T959
Click to expand...
Click to collapse
Thanks man that's what I thought I just didn't want to put in the builds I made yesterday and it screw em all up so I figured I'd ask
Sent from my GT-I9000 using xda app-developers app
skinzy98 said:
So if I want to add apps like the note2 gallery to my port do I just put it in the app file zip it up and sign it?
Sent from my SGH-T959 using xda app-developers app
Click to expand...
Click to collapse
You are going about it the right way, but beware some apps from different sources may in other files or framework.
Just fyi if you run into unexpected issues.
Good luck
PAC_Vibrant 360° Productions
jrongi1 said:
You are going about it the right way, but beware some apps from different sources may in other files or framework.
Just fyi if you run into unexpected issues.
Good luck
PAC_Vibrant 360° Productions
Click to expand...
Click to collapse
Unfortunately happen my parents are against me doing ports and think it is a waste of time. I'll see what happens
Sent from my GT-I9000 using xda app-developers app

Snote force close

Ok heres my issue I cannot seem to find a direct answer. I am running ICS Tmobile ROM (jedi 4)and everything seems to be kewl but for some reason I cannot get s pen to work. I was sent a copy of s memo but s pen has been nothing but a failure. I have tried flashing it, loading over the apk's and all sort of stuff and I cannot figure it out. The program would not load at all, any ideas?
Sent from my SGH-T879 using xda app-developers app
S Memo will not run on that ROM. It is not an ICS Touchwiz based ROM. Try third party apps.
I am sorry I provided the incorrect information. Jedi 4 is a touchwiz based ROM and the application that is in question is not smemo but snote s memo works correctly. The reason why I had chosen that specifically that ROM was for, please don't flame me, touchwiz yeah sure is kinda laggy and bloated but I like it. And in the end that is all that matters correct?
Sent from my SGH-T879 using xda app-developers app
Did you install the driver files associated with S Note?
Clear app cache and app data?
Thank you for the response and yeah I did clear the cache and everything else with all the associated files but it doesn't seem to work .
Sent from my Nexus 7 using XDA Premium HD app

Idea for MultiWindow

Hi guys,
This just ocurred to me. I was reading that the korean jb has multiwindow and that its hardware is very similar to our notes. Both use a snapdragon S3 and the adreno 220. Can it be posible to port? I was just trying to port multiwindow into my own and I was able to make flashbar appear, get the toggle in settings. When you open the first app it opens like normal, now the second you see that it has the little box to divide the screen, but it opens the second app in full. But you'll see a bar in the middle that is the divider for multiwindow. I don't know something im missing or something. Will post pics later So you can see what im talking about.
I'm drooling with anticipation. ..I hope you figure it out!
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
This is as far as I have. I have modified the following
SecSettings.apk to add the multiwindow option
android.policy.jar
services.jar (I saw multiwindow smali inside so I did not modify any of it)
Added:
FlashBarService.apk (Taken from the N7000)
multiwindow.jar
com.sec.android.app.multiwindow.xml
com.sec.feature.flashbar.xml
com.sec.feature.multiwindow.phone.xml
com.sec.feature.multiwindow.xml
I dont know if I'm missing other things to get it fully working. Im just learning.
do the 2 halves behave differently as if 2 instances of the same app is running?
triavq said:
do the 2 halves behave differently as if 2 instances of the same app is running?
Click to expand...
Click to collapse
No. It's like I opened the app in full, but I see the divider.
Maybe the apps themselves are tide into the multi window app. Have you installed the browser from the Korean note and tried it like that?
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
lildoggs said:
Maybe the apps themselves are tide into the multi window app. Have you installed the browser from the Korean note and tried it like that?
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
Click to expand...
Click to collapse
I haven't tried. Will try it when I get home in the evening.
Man this is gonna be awesome! Even if you don't succeed I'm just thankful that you're at least trying! Good luck and many thanks!
serge_harle_z said:
I haven't tried. Will try it when I get home in the evening.
Click to expand...
Click to collapse
I believe lildoggs may be somewhere in the general direction. I've been reading threads from the n7000 and note 2 threads about modding apps to be capable with multiwindow, if they aren't already supported. So if you can install the browser and maybe messenger app from the korean note, and they work that would be great. If not maybe try this tutorial from this thread to modify a few apps yourself and see if it works.
also check out this multi window manager app from the playstore if indeed you did get it working to maybe mod an app. I'm not dev, but just throwing out some things I think may be of some use to you.
I'm currently at work but will try them when I get home. Like I mentioned before from my research I see that we already have the smali files for multiwindow inside services.jar. Maybe we need the apps to be compatible.
Good luck man.
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
Ok not sure if this will help you at all,but I foind this app https://play.google.com/store/apps/details?id=com.bjbinc.multiwindowmanager
Sent from my SAMSUNG-SGH-I717 using Tapatalk 4 Beta
Ok guys I have tried the Mms.apk and the browser from the N7000 rom with MultiWindow and there were a no go. They open like normal apps. Back to search if Im missing anything.
serge_harle_z said:
Ok guys I have tried the Mms.apk and the browser from the N7000 rom with MultiWindow and there were a no go. They open like normal apps. Back to search if Im missing anything.
Click to expand...
Click to collapse
Some guys over on the Note2 have found that there is a module for exposed called all apps it looks like that allows any app to be used with the multi window.
rquiett said:
Some guys over on the Note2 have found that there is a module for exposed called all apps it looks like that allows any app to be used with the multi window.
Click to expand...
Click to collapse
like this http://forum.xda-developers.com/showthread.php?t=2048668
rambo90 said:
like this http://forum.xda-developers.com/showthread.php?t=2048668
Click to expand...
Click to collapse
Tried the xposed method but still gets me the same results. Eventhough the modules allow to use any app in multiwindow. I must be missing something in the jar that Im not seeing. Will look into it tonight. Thanks to everyone for you help btw. Any idea is welcome.
dude
WOULD LOVE IF U COULD GET THIS WORKING......WAITING TO SEE WHAT HAPPENS....:good:
What about porting the whole rom? Is there any way to make it compatable with our note?
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
Can't wait to see this progressed!
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
i've been trying myself. can't seem to make it work without the framework source. has it been released yet? nothing on sammobile for the i717.

In need of Stock MMS Apk

Does anyone have the apk file for the GS2 GT I9100 MMS apk?
If you do, can you please give me a link to download? Iv'e been trying to find one, but was not able to find it.
Thanks in Advance!
Here you go....
https://db.tt/UjkR56BM
Paste into.....
System...Apps
and set permissions to rw-r--r-- and reboot.....
Job done
Sent from my GT-I9100 using xda app-developers app
Thanks Keith. I'll give it a try when I get back.
No problem.....I also have a 'dark' version of the stock sms apk (got it somewhere here on xda) if you want to try it instead.......
Sent from my GT-I9100 using xda app-developers app
keithross39 said:
No problem.....I also have a 'dark' version of the stock sms apk (got it somewhere here on xda) if you want to try it instead.......
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
I don't know how to explain it, but I want the MMS apk like the one shown here: http://forum.xda-developers.com/deviceForum/screenshots/1055/20130327T094824.jpg
Is the one you gave me the same one, but appears different on my phone because I'm running CM?
Ah....I don't think the stock mms apk will work on CM as the apk needs the touchwiz framework in order to function.....
Sent from my GT-I9100 using xda app-developers app
not sure what touchwiz is, but I'm guessing there is no workaround or way to get the stock mms apk to install on CM roms?
Thanks for your help Keith. Appreciate it!
Touchwiz is the Samsung launcher. It is what gives Samsung phones their look and feel....the user framework of the device. Porting parts of that framework to non Samsung ROMs simply will not work.......
As an alternative, you could look for apps in the themes and apps section for an app which has been made to look like 'stock' but which functions on a non stock ROM......
Or....
You could go for a whole new ROM..... one of the 'hybrid' ones.....a stock based ROM but without the bloat and with aosp/aokp functionality. I've used two and am still using one of them....chamelion and aliance.....I'm not going to recommend either as that's against XDA rules, but both of them will let you download themes and tweaks that let you customize the look of the base ROM so that it can resemble (or not) the full stock package........
Sent from my GT-I9100 using xda app-developers app

How Do I Port Apps To Other Phones?

Hey,
Well I have been more active on here lately and I am starting to want to contribute to the community
I have the S5 system and I wanted tot try (practice) porting the apps from that to the Note 2. I do know someone has done a few but I would like to give it a shot myself.
Spunkiest said:
Hey,
Well I have been more active on here lately and I am starting to want to contribute to the community
I have the S5 system and I wanted tot try (practice) porting the apps from that to the Note 2. I do know someone has done a few but I would like to give it a shot myself.
Click to expand...
Click to collapse
A lot of them require 4.4.2... But the basic concept behind porting apps is taking the apk you want..finding if it needs library files and maybe even some bin files as well..and then putting them in your system folder..if it FC's pull a log and see what else is needed
Sent from my SCH-I605 using xda app-developers app
lacoursiere18 said:
A lot of them require 4.4.2... But the basic concept behind porting apps is taking the apk you want..finding if it needs library files and maybe even some bin files as well..and then putting them in your system folder..if it FC's pull a log and see what else is needed
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
I tried this with the S5 music app and it wouldn't even install, I am guessing there are more files for it then? Where would I put these files once I have found them?
Spunkiest said:
I tried this with the S5 music app and it wouldn't even install, I am guessing there are more files for it then? Where would I put these files once I have found them?
Click to expand...
Click to collapse
System/app.. You would have to delete your music apk or rename it .bak.. Not sure if they updated the libraries on that app but its possible.. Also changing the SDK version in the mainifest might solve some problems too
Sent from my SCH-I605 using xda app-developers app

Categories

Resources