Noob question - T-Mobile Samsung Galaxy S 4

How do I set permissions to apk files in the root directory? I see that some apk files need permissions to be set before they can work properly.

Fix permissions in recovery or allow unknown sources.
Sent from my SGH-M919 using XDA Premium 4 mobile app

Nevermind. I found this thread for anyone who is wondering the same thing.
http://forum.xda-developers.com/galaxy-s2/general/guide-noob-guide-to-set-file-permissions-t1857648

Related

[Q] Install MMS.apk

All of a sudden I kept getting force closes when trying to open up MMS app. I uninstalled the app using Titanium Backup. I am now trying to install the app again using Astro File Manager and also tried using Appinstaller. I copied the MMS.apk from the original Bonsai 4.0 zip file on my computer to my SD card.
When trying to install .apk with Astro I keep getting application not installed error.
Can someone give me a good MMS.apk I can install and also let me know if I need to install the .apk a different way.
I am running Bonsai 4.0
Use root explorer
Copy and place the app to the system> app
Sent from my SPH-D700 using XDA Premium App
gtuansdiamm said:
Use root explorer
Copy and place the app to the system> app
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
This
Sent from my SPH-D700 using XDA Premium App
Do I have to use "root explorer" I used astro explorer and placed the .apk into the system/app and nothing changed. I rebooted the phone and still nothing.
Any other suggestions would greatly help.. I need my text back.
Remember to use the original name of the app
For example if the name if the app is a.apk and you rename it to b.apk it won't work
Sent from my SPH-D700 using XDA Premium App
I did the same thing. Try restoring a backup of only ur mms.apk from titanium. It worked form me to stop the fc's and get my stock mms back. But I still couldn't get a the modded mms to install :-\
Sent from my SPH-D700 using XDA App
Have you tried just flashing one of the mms apks from the transparent collection on this forum? Not sure if you WANT transparent, but I had a similar problem to yours, and I just went with the transparent ones and it worked for me. And I got some pretty colors to boot.
Kangaji said:
Have you tried just flashing one of the mms apks from the transparent collection on this forum? Not sure if you WANT transparent, but I had a similar problem to yours, and I just went with the transparent ones and it worked for me. And I got some pretty colors to boot.
Click to expand...
Click to collapse
That's what I was trying to do..... Do I just flash with cwm?
Sent from my SPH-D700 using XDA App
Here is mine
Use root explorer and this should work
http://db.tt/lNrXJeq
Sent from my SPH-D700 using XDA Premium App
Anytime someone says to use root explorer, i use Super Manager. Its free, has root functions and can mount /system r/w.

Please Help

Any got a guide or know how to port keyboards? Please be as detailed as possible. Or if you know how maybe you can do it for me if you'd be so kind I'm trying to port the Motorola Photon keyboard.
Sent from my PC36100 using XDA App
Normally you can just use es file manager/root explorer, go into the system/apps, find the keyboard apk, then try to install it. Perhaps get a rom from that device and then extract the apk as well.
I've tried many times it says application not installed
Sent from my PC36100 using XDA App
Please post that apk here. And I wi make it work for you. I assume it is LatinIME.apk, right?
Sent from my PC36100 using Tapatalk
here it is:
http://dl.dropbox.com/u/34135478/LatinIME.apk
if you get it to work can you please tell me how you did it
Thanks
here try this
What I did was sign it. Should be able to install correctly now
Whether it works or not after its installed is another story...I did not test.
Is the photon leyboard much different than the gb keyboard? I'm curious.
Btw. after you download file, don't mess with it in anyway. That will break the signture.
Thanks ill try it and post results in a bit
Sent from my PC36100 using XDA App
Oh and yea it very differant I like it a lot its easier for me to type the shape is more squareish
Sent from my PC36100 using XDA App
I tried it and it won't install.
Here is a list of what I did:
I tried installing unsigned
I tired adb install unsigned
Root explorer to put unsigned apk in system/app and I also signed it and tried all the above and no go
On adb it says something like user shared not compatible
And tried your signed apk and nope
Sent from my PC36100 using XDA App
sharkboy0901 said:
I tried it and it won't install.
Here is a list of what I did:
I tried installing unsigned
I tired adb install unsigned
Root explorer to put unsigned apk in system/app and I also signed it and tried all the above and no go
On adb it says something like user shared not compatible
And tried your signed apk and nope
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
If you have existing copy of LatinIME.apk in system/app, you need to delete it first. The signatures are different with the unsigned and signed version i posted. Please remove the apk in system/app, then try installing via adb again.
Sent from my PC36100 using Tapatalk
I did but adb says user shared not compatible something like that
Sent from my PC36100 using XDA App
sharkboy0901 said:
I did but adb says user shared not compatible something like that
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
After you deleted the existing file in system/app and perhaps data/app as well?
Sent from my PC36100 using Tapatalk
Do I have to delete the regular keyboard HTC IME as well?
I deleted the LatinIME but not htcIME
Sent from my PC36100 using XDA App
I found out the problem
Look at
http://forum.xda-developers.com/showthread.php?p=16939707
You need to edit the android manifest.xml but I dont know how
Sent from my PC36100 using XDA App
Interesting. I just installed and it installed fine on my device. I'm running mikG.
Yeah I know about the user id in manifest. Very common for propietary roms like sense to have them. When i have time I will fix.it up for you
Sent from my PC36100 using Tapatalk
Hmmm ok ill try it on another rom cuz right now im stock
Sent from my PC36100 using XDA App
Ok I got it installed but I can't get it to work any ideas?
Sent from my PC36100 using XDA App
sharkboy0901 said:
Ok I got it installed but I can't get it to work any ideas?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Long pressing in a text area didn't allow you to select it? Also go into settings > language and keyboards. and look for it there, as you might have to 'enable' it.
It force closes
Sent from my PC36100 using XDA App

{TUT} How to Odex your APKs.

EDIT: I apologize for not including this earlier, but I have attached dexopt-wrapper.bin to the bottom of the post. Unzip and push it to system/bin. Then give it the correct permissions which are
Read Write Execute
--x----x------x
--x-----------x
--x-----------x
I haven't seen any tutorials on how to odex an apk sooooo i thought i'd throw one up on here.
Before we begin, of course, a great big thank you to strongsteve, mpcdata and Capp5050.
Well first things first make a nandroid backup in recovery. Once thats done follow these steps.
Apps needed if doing it on the phone:
1. Rom Toolbox (I have the paid version)
(You can also just download a terminal emulator)
2.Get both Root Explorer and Astro File Manager.
3.Use Root Explorer and go to either system/app or data/app (system/app is for system files{most if not ALL of these files are already odexed} data/app is where you can find the apps you've installed from the market{!!!-I'm pretty sure the launchers are in system/app-!!!})
4.Copy the app that you want to odex into a new folder on your internal sdcard named "app"(in case you mess up you don't get problems ;D)
5.I suggest you write down the name of the app so you don't have to go back and forth if you have horrible memory like me =D.
6.Open up your terminal emulator and type
dexopt-wrapper /sdcard/app/insert.name.of.file.here.apk /sdcard/app/insert.name.of.file.here.odex
7.Press enter and check that new folder you made named "app", you should see both the .apk and the .odex file.
8.Next long press the .apk file in Root Explorer and hit Open With and then select Astro File Manager. Astro should pop up with three choices, you're going to click Browse File.
9.In that file you should see "classes.dex". DELETE that file.
(NOTE: you MUST do this from within Astro because if you unzip it will break the signature and file will be usless{unless you can resign it})
10.Once done you exit Astro and head back into Root Explorer, copy the .apk and .odex files and put them back into the folder you got the original .apk from (system/app or data/app)
11.Once you put both of them in there you need to fix the permissions, simply long press on the files (one at a time ;D) and scroll down the pop-up menu to Permissions.
12.You will have three columns Read, Write and Execute along with three rows Owner, Group and Others.
Your Permissions should be (this is for both .apk and .odex)
Read Write Execute
--X----X-----------
--X----------------
--X----------------
(I've attached a picture below of what your permissions should look like)
13.Once your permissions match the above diagram hit OK and restart your phone and your app is officially ODEXED.
If you have any questions feel free to PM me. I'll be glad to help with as much as i can. =D
NOTE:To Everyone: If i forgot something PLEASE let me know.
: To Mods: If this shouldn't be here please move it (if unnecessary, delete it)
Alred hit yo button but just wanted to say thank you in writing.
....um one major thing...your gonna need dexopt-wrapper script in system/bin to be able to odex within the rom
Was actually just wondering about that cause my script was in the rom already. Ill look into that in a few cause I'm going back to bed XD and you're welcome Cole I hope it has clear instructions XD
Sent from my SPH-D710 using xda premium
BigJPNut said:
....um one major thing...your gonna need dexopt-wrapper script in system/bin to be able to odex within the rom
Click to expand...
Click to collapse
Dexopt-wrapper is a binary.. Not a script..
Sent from my SPH-D710 using Tapatalk
strongsteve said:
Dexopt-wrapper is a binary.. Not a script..
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
Thats what I meant lol. Thanks for the correction Steve....either way gotta have it.
BigJPNut said:
Thats what I meant lol. Thanks for the correction Steve....either way gotta have it.
Click to expand...
Click to collapse
I updated the thread and it now includes where to put it and what permissions to give it. The file was also attached to the bottom of the thread.
I've tried this a dozen times every which way and it always says no such location exists
Sent from my SPH-D710 using xda premium
Optimal Carnage said:
I've tried this a dozen times every which way and it always says no such location exists
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
You have to create the app folder in sdcard =D
Sent from my SPH-D710 using xda premium
mavd5831 said:
You have to create the app folder in sdcard =D
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
I've done that lol...and to be specific the folder is located at the root of they internal sdcard not external correct?
Sent from my SPH-D710 using xda premium
Optimal Carnage said:
I've done that lol...and to be specific the folder is located at the root of they internal sdcard not external correct?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Yeah its on internal sdcard tell me what youre typing lol
Or gimme a screenshot
Sent from my SPH-D710 using xda premium
mavd5831 said:
Yeah its on internal sdcard tell me what youre typing lol
Or gimme a screenshot
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
dexopt-wrapper /sdcard/app/galleries.apk /sdcard/app/galleries.odex
Exactly how you have it posted but with the app I want to odex.
Sent from my SPH-D710 using xda premium
Optimal Carnage said:
dexopt-wrapper /sdcard/app/galleries.apk /sdcard/app/galleries.odex
Exactly how you have it posted but with the app I want to odex.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Hmmm have you put dexopt-wrapper.bin in system/bin and gave it permissions?
And did you copy the apk into sdcard/app?
Sent from my SPH-D710 using xda premium
mavd5831 said:
Hmmm have you put dexopt-wrapper.bin in system/bin and gave it permissions?
And did you copy the apk into sdcard/app?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Yeah I copied the bin file as well as copied the app to the sdcard location. I'm trying to get scrolling wallpaper back after el29 and somebody posted the old apk but it's deodexed and I'm odex on my phone.
Sent from my SPH-D710 using xda premium
Optimal Carnage said:
Yeah I copied the bin file as well as copied the app to the sdcard location. I'm trying to get scrolling wallpaper back after el29 and somebody posted the old apk but it's deodexed and I'm odex on my phone.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Im not sure but check to see if the app folder you created is App or app and try it however it is there
Sent from my SPH-D710 using xda premium
You can also try odexing it from within its originl folder
Ex. dexopt-wrapper /data/app/galleries.apk /data/app/galleries.odex and then copy the apk somewhere outside the data folder and delete the classes.dex file then put it back in the data folder and set permissions.
Sent from my SPH-D710 using xda premium
Let me know if it worked ;o
Sent from my SPH-D710 using xda premium
thanks for posting this.
I second that gravedig
Sent from my SPH-D710 using Tapatalk
Thirded. Lol. I learned how to odex my apps this morning! Worked first try. Great instructions. Thanks
Sent from my SPH-D710 using Xparent Blue Tapatalk 2

(Req) ICS BLACK SMS

I just want the stock SMS black without having to root. Is that possible?
Sent from my Galaxy Nexus using XDA Premium HD app
Use search. There are couple ones in this section.
http://db.tt/E264bHCi
I did search and found several. But none work on my phone. I'm assuming its because I'm not rooted. Thanks for posting that link but it says there's a problem parsing package.
Sent from my Galaxy Nexus using XDA Premium HD app
mimic1011 said:
I did search and found several. But none work on my phone. I'm assuming its because I'm not rooted. Thanks for posting that link but it says there's a problem parsing package.
Sent from my Galaxy Nexus using XDA Premium HD app
Click to expand...
Click to collapse
Hi,
Yes you need root,system applications don't install like other applications,they must be "push" directly in system/app folder and have the correct permissions...
Sweet. Didn't know we could install this! Can I just use root explorer to drag it there and install from system/app? Then do I remove the original messaging apk or does it just update over it? Thank you
Sent from my Galaxy Nexus using XDA
nexicon said:
Sweet. Didn't know we could install this! Can I just use root explorer to drag it there and install from system/app? Then do I remove the original messaging apk or does it just update over it? Thank you
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Hi,
Yes you can use Root Explorer and yes just drag and drop in system/app and don't forget to set the correct permissions like the others apps in system/app...
For security rename your old Mms.apk (like Mms.apk.old or .bak) and keep it or move it in your sdcard,if something is wrong with your new app,delete-it and rename correctly your previous app.
Eventually reboot after and you're good...
Thanks it's beautiful. Now I rebooted but couldn't find any way to fix permissions. Do you mean in clockwork recovery? I'm using es file explorer. Thanks for your help
Sent from my Galaxy Nexus using XDA
Re,
Yes you can set the permissions in recovery in advanced settings if I remember right.
I don't use ES File Explorer but Root Explorer but I think in ES you can change the permissions,no?Like Root Explorer:long press on the app?
At worst you do it in recovery...
EDIT:I just watched ES File Explorer on the Play Store and yes you can change the permissions (it's in the description) so it's like you want...Try in recovery it may avoid errors.
Thanks.... Really didn't wanna root this one
Sent from my Galaxy Nexus using XDA Premium HD app

[APP][APK] Stock SMS App

I've had a lot of people ask for this.
Install and enjoy
http://jdbeitz.usgalaxys3.com/SecMms.apk
Sent from my SGH-I747M using xda premium
keeps saying install failed =(
i tried putting it in system/app and editing the permissions. rebooted and still not there. i'm using "Bean's Custom Stock Rom"
EDIT: so i removed mms.apk and rebooted. the stock messaging app is now displaying, but it force closes every time i open it
I renamed the message app in the rom to mms.apk.bak. Then renamed the stock app to mms.apk. Changed the permissions to rw-rw-r. Fix permission then restart and it should show up.
Sent from my SCH-I535 using xda app-developers app
dwibbles33 said:
I renamed the message app in the rom to mms.apk.bak. Then renamed the stock app to mms.apk. Changed the permissions to rw-rw-r. Fix permission then restart and it should show up.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
having it show up is not the problem, it not working is the problem haha can't get it to work =/ thanks anyways
i'm assuming there was some touchwiz stuff taken out of the rom that secmms.apk requires to work

Categories

Resources