Where are email (exchange) apps on S3 4.3? - Android Q&A, Help & Troubleshooting

For some reason I cannot find neither of Email.apk, Exchange2.apk, EmailGoogle.apk and Exchange2Google.apk under /system/app on my S3 Android 4.3 (stock rom).
Where are they (email, both Gmail and Exchange) are there and working...
[email protected]:/system/app $ ls *mail*
ls *mail*
Gmail2.apk
SecEmail_J.apk
SecEmail_J.odex

Have you tried looking in /system/vendor/app?

GermainZ said:
Have you tried looking in /system/vendor/app?
Click to expand...
Click to collapse
There is no such directory.
[email protected]:/system/vendor $ ls
ls
etc
firmware
lib
media
pittpatt

moshepupkin said:
There is no such directory.
[email protected]:/system/vendor $ ls
ls
etc
firmware
lib
media
pittpatt
Click to expand...
Click to collapse
Either search all of /system or use a package manager that shows you installed applications and their APKs' location (e.g. Link2SD does that.)

Related

Marketplace installed Apps location? Can not find

Hi All,
I've been looking for the install location where MarketPlace installs apps?
Can someone help?
I can not find any apps I have installed in:
/system/app
/data
I have rooted my X10
Please help if you can
/data/app
/data/app-private
Well this may be "odd"..
In both of those locations.. They're empty.
I have installed about 12 marketplace apps.
Is this normal? :S
You're sure you're rooted then?
Code:
# cd /data/app
cd /data/app
# ls -l
ls -l
-rw-r--r-- system system 637063 2010-06-28 22:14 stericson.busybox.apk
-rw-r--r-- system system 4201344 2010-06-28 22:14 com.google.android.apps.maps.apk
-rw-r--r-- system system 823161 2010-06-28 22:14 com.dropbox.android.apk
...
I have root.
I am actually redoing all root steps again.
Is there a GUI file explorer that will let me see what is in /data/apps?
The basic one's show nothing.
..obviously you need a file explorer capable of escalating to root privileges first...

Cache size

Hi there, i installed a custom rom with dt a2sd and i still have problems installing apps from market that are too big. My cache partition is only 24mb and the market uses this partition to download apps... There's a way to increase or modify this partition?
Galaxy Ace 2.3.4 with Ginger Real 1.4
Thanks
Nope . Your only choice is to make a sd-ext partition and move all your apps and Dalvik-cache to it .
Forever living in my Galaxy Ace using XDA App
GingerReal did that for me, so i can install many apps now but not big apps?
Dante Smith said:
Hi there, i installed a custom rom with dt a2sd and i still have problems installing apps from market that are too big. My cache partition is only 24mb and the market uses this partition to download apps... There's a way to increase or modify this partition?
Galaxy Ace 2.3.4 with Ginger Real 1.4
Thanks
Click to expand...
Click to collapse
Just type these command in terminal emulator app
Code:
mkdir /mnt/sdcard/market-download
su
cd /cache
mv download download.bak
ln -s /mnt/sdcard/market-download download
ls -ahl
it should work for any rooted galaxy ace
Command
Code:
mv download download.bak
returns this
Code:
failed on 'download' - No such file or directory
And
Code:
ln -s /mnt/sdcard/market-download
Returns
Code:
ln [-s] <target> <name>
are you in /cache folder
type ls -ls in terminal and check for download folder if it is not there then just pass this command.
---------- Post added at 01:36 AM ---------- Previous post was at 01:33 AM ----------
Dante Smith said:
And
Code:
ln -s /mnt/sdcard/market-download
Returns
Code:
ln [-s] <target> <name>
Click to expand...
Click to collapse
my mistake it is
Code:
ln -s /mnt/sdcard/market-download download
mmmh...
i do this:
su
cd /cache
here i tried ls -ls and it says me:
-ls: No such file or directory
Where i'm wrong?
I'm using Terminal Emulator, not adb
same for
ls -ahl
Dante Smith said:
mmmh...
i do this:
su
cd /cache
here i tried ls -ls and it says me:
-ls: No such file or directory
Where i'm wrong?
I'm using Terminal Emulator, not adb
Click to expand...
Click to collapse
Don't know why it not working with you cause i already tried it on cm7 in terminal emulator app and it was working.
Anyway try this, rename the download folder to download.bak via root explorer and then type this
in cache folder
Code:
ln -s /mnt/sdcard/market-download download
/cache seems to be empty!
i can't find any file or directory there!
No now i see something...
I have:
lost+found
recovery
downloadfile-2.apk
downloadfile-3.apk
downloadfile.apk
EDIT: i suppose my download folder is directly /cache
Dante Smith said:
/cache seems to be empty!
i can't find any file or directory there!
Click to expand...
Click to collapse
ok then just type this command in emulator
Code:
su
cd /cache
mkdir /sdcard/market-download
ln -s /sdcard/market-download download
Check if this will work for you or not.
I had no error, i try do reboot and download something big
Dante Smith said:
No now i see something...
I have:
lost+found
recovery
downloadfile-2.apk
downloadfile-3.apk
downloadfile.apk
EDIT: i suppose my download folder is directly /cache
Click to expand...
Click to collapse
It's strange!!! I think your rom have some different folder structure. Are you using old market?
didn't work, i have new market
Dante Smith said:
didn't work, i have new market
Click to expand...
Click to collapse
What rom you are using?
Ginger Real 1.4
Android 2.3.4
S5830DDKQ5
SGA-GR-1.4 GINGERBREAD.DDKQ5
Dante Smith said:
Ginger Real 1.4
Android 2.3.4
S5830DDKQ5
SGA-GR-1.4 GINGERBREAD.DDKQ5
Click to expand...
Click to collapse
Maybe Ginger Real is using different folder structure but you can try these command with cache folder (Not guaranteed or may be a risk, don't know.).
I will google it again for some day, if i don't find what i'm looking for i will try your script again
Thank you for your help!!!

How to create terminal script

Hey, can someone tell me how to create a script to run a terminal command. I looked up google but didn't find any good results.
Open a new file, and write:
Code:
#!/system/bin/sh
your_command
another_command
another_one_xD
Save the file with sh extension, and run your script as follows:
Code:
su #optional, if your script needs root access.
sh yourscript.sh
If you get an error, probably need to grant permissions to your script, so:
Code:
chmod +x yourscript.sh
And try again.
Granting su is
$ su
Correct?
And thanks for the reply :]
Sent from my XT862 using Tapatalk 2
Yep
When you set the permissions, you only have to do that once right?
Yes.
I'm trying to build a script to move pics and video from my internal storage to external storage. I have the script made and on my phone but when I run it, I get an error: "failed on /storage/sdcard0/DCIM/Camera/*.jpg" - Cross-device link . Any idea what that means?
mmurphmsu said:
I'm trying to build a script to move pics and video from my internal storage to external storage. I have the script made and on my phone but when I run it, I get an error: "failed on /storage/sdcard0/DCIM/Camera/*.jpg" - Cross-device link . Any idea what that means?
Click to expand...
Click to collapse
Move (mv) only move the directory entry, not the actual data. Because of this, you can not move files from one disk to another (e.g. from internal to sdcard), hence the cross device error. You'll have to copy and then delete the original.
kuisma said:
Move (mv) only move the directory entry, not the actual data. Because of this, you can not move files from one disk to another (e.g. from internal to sdcard), hence the cross device error. You'll have to copy and then delete the original.
Click to expand...
Click to collapse
That seems to have done the trick but I have found another issue. When going into multiple directories (/storage/sdcard0/DCIM/Camera) from the script or even the root directory, I get a No Such file or directory error. But I can CD into that directory and manually cp and rm the files. Any idea why that is happening?
mmurphmsu said:
That seems to have done the trick but I have found another issue. When going into multiple directories (/storage/sdcard0/DCIM/Camera) from the script or even the root directory, I get a No Such file or directory error. But I can CD into that directory and manually cp and rm the files. Any idea why that is happening?
Click to expand...
Click to collapse
You've simply done something wrong. Show us the script.
Here is the script I created:
#!/system/bin/sh
#
#
#
#
#Move Pictures from Internal Storage to External Storage media
cp /storage/sdcard0/DCIM/Camera/IMG* /storage/sdcard1/DCIM/Camera
rm /storage/sdcard0/DCIM/Camera/IMG*
#
#
#
#Move Videos from Internal Storage to External Storage media
cp /storage/sdcard0/DCIM/Camera/VID* /storage/sdcard1/DCIM/Camera
rm /storage/sdcard0/DCIM/Camera/VID*
I put the script in the root directory and run it from there. Its permissions are rwxrwxr
mmurphmsu said:
Here is the script I created:
#!/system/bin/sh
#
#
#
#
#Move Pictures from Internal Storage to External Storage media
cp /storage/sdcard0/DCIM/Camera/IMG* /storage/sdcard1/DCIM/Camera
rm /storage/sdcard0/DCIM/Camera/IMG*
#
#
#
#Move Videos from Internal Storage to External Storage media
cp /storage/sdcard0/DCIM/Camera/VID* /storage/sdcard1/DCIM/Camera
rm /storage/sdcard0/DCIM/Camera/VID*
I put the script in the root directory and run it from there. Its permissions are rwxrwxr
Click to expand...
Click to collapse
Does /storage/sdcard1/DCIM/Camera exists? Try add:
mkdir -p /storage/sdcard1/DCIM/Camera
... to the script before you begin the copy. This will create the destination(s) in case of non-existent.
Also, your cp and rm command will fail with this error if there aren't any files named both IMG* and VID* in the source directory.
kuisma said:
Does /storage/sdcard1/DCIM/Camera exists? Try add:
mkdir -p /storage/sdcard1/DCIM/Camera
... to the script before you begin the copy. This will create the destination(s) in case of non-existent.
Also, your script will fail with this error if there aren't any files named both IMG* and VID* in the source directory.
Click to expand...
Click to collapse
Yes it exists. I can navigate to the directory in Root Explorer. I tried running the script in Root Explorer but it didn't move the two pics i have in the /storage/sdcard0/DCIM/Camera directory to the /storage/sdcard1/DCIM/Camera directory.
mmurphmsu said:
Yes it exists. I can navigate to the directory in Root Explorer. I tried running the script in Root Explorer but it didn't move the two pics i have in the /storage/sdcard0/DCIM/Camera directory to the /storage/sdcard1/DCIM/Camera directory.
Click to expand...
Click to collapse
And you DO have files named IMG* and VID* in your source directory?
kuisma said:
And you DO have files named IMG* and VID* in your source directory?
Click to expand...
Click to collapse
Yes. I took to pictures and then tried running it and it still fails. I wonder if its not working cause I'm on CM10?
mmurphmsu said:
Yes. I took to pictures and then tried running it and it still fails. I wonder if its not working cause I'm on CM10?
Click to expand...
Click to collapse
You realise that even with pictures in the directory, you'll still get this error from the next operations you try executing on the videos? Still, the script should a) still copy the images, and b) not terminate due to this error anyway (i.e. consider it a warning).
But you say the images are not copied. Quite odd, I'd say.
Add a path to the script (export PATH=/system/bin:/system/xbin plus the places you need), add a test "echo Running" to make sure the script actually is launched by Root Explorer. And add +x permissions for all, even "other". You can also add:
echo /storage/sdcard0/DCIM/Camera/IMG*
... before the first copy. This will show you what files matching your expression.
I'll just manually move them. I was just hoping for an easier way until CM10 is enabled to save pictures to the external SD card.
mmurphmsu said:
I'll just manually move them.
Click to expand...
Click to collapse
Take this as an opportunity to learn more about script programming, I'd say.
Experience is what we get when we expected something else.
kuisma said:
Take this as an opportunity to learn more about script programming, I'd say.
Experience is what we get when we expected something else.
Click to expand...
Click to collapse
I do a little in UNIX at work that's why I tried this. I really want to learn how to program for actual Android apps. Just need to find something to help me get started, as I have no clue where to start.
Where save the file ?
Hello
I'm french and don't speak english very well ....
I try to do what is explain in this topic ( for tethering with a Sony Ericsson KYNO V - ics 4.0.4 with root access ....
I don't understand where to save the file with sh extension
What i want to run is : #!/system/bin/sh
iptables -P FORWARD ACCEPT
iptables -t nat -A POSTROUTING -o rmnet0 -j MASQUERADE
My script is :
su root
sh scripttether.sh
Thank you very much for your help
BR
RoberGalarga said:
Open a new file, and write:
Code:
#!/system/bin/sh
your_command
another_command
another_one_xD
Save the file with sh extension, and run your script as follows:
Code:
su #optional, if your script needs root access.
sh yourscript.sh
If you get an error, probably need to grant permissions to your script, so:
Code:
chmod +x yourscript.sh
And try again.
Click to expand...
Click to collapse

[Q] Help reinstalling Google Talk (Samsung Galaxy Y Duos)

I have a rooted Samsung Galaxy Y Duos running stock ROM. After rooting I uninstalled some of the stock applications, among which was Gtalk. My phone functions normally, however functions dependent on Gtalk (like the Gtalk service monitor) don't work, and I want it back.
I searched across the web to find some Gtalk APKs, but trying to install them simply shows "Application not installed".
Could anyone point in the right direction on how to install it?
Thanks in advance.
I worked it out myself, seeing that none was actually interested.
Download Talk.apk http://forum.xda-developers.com/showpost.php?p=27361160&postcount=309 and unzip given file
Using terminal emulator:
Code:
/ $ su -c ash # replace ash with any other shell of your choice, or if you want to use default shell just execute 'su'
/ # cd /sdcard/Download
/sdcard/Download # cp Talk.apk Talk.odex /system/app
/sdcard/Download # ls /system/app | grep -i talk
Talk.apk
Talk.odex
talkback.apk
Wait for a few minutes, preferably keeping the phone in standby mode.
(The above is the most important part. Immediate rebooting will not help.)
If you do have some app that alerts you on installation of new apps (like I had LBE Privacy Guard), you will be notified of the install.
Now, reboot your phone.
No need to do such complex procedure. You can push your system app easily using any root explorer
Sent from my GT-S6102 using xda app-developers app

ROOT for R5A [really works]

I think this should really be linked here.
http://forum.xda-developers.com/showthread.php?t=2320283
Just done it, after loosing root while accidentally updating to r5a i can confirm i gained root again with that!
I guess thats kind of cool and should be implemented in the all in one rooting stuff and everything
Here you can find a little zipfile with all the needed Files and a README which describes How-To do it:
https://d1sturbed.org/android/root-r5a-v3.zip
there is also a v4, which contains a new binary and a new script...on Linux you now can just unzip the v4 and then execute doit.sh (perhaps someone can pass me a doit.bat or something, i guess it could run as a batch file for windows, but since i'm to sleepy and lazy to reboot into windows it's untestet. but you can try by removing the first line and rename to .bat)
https://d1sturbed.org/android/root-r5a-v4.zip
Procedure
Expand where appropriate the android_run_root_shell-test.zip, to libdiagexploit of android_run_root_shell-test.zip within the deployment just the "Android.mk", "diag.c", "diag.h" of libdiagexploit-master.zip deployment.
Go to the folder where you extracted the android_run_root_shell-test.zip from the terminal,
> Ndk-build NDK_PROJECT_PATH =. APP_BUILD_SCRIPT =. / Android.mk
Type.
Run_root_shell is created in "android_run_root_shell-master/obj/local/armeabi" Then.
Expand to "android_run_root_shell-master/obj/local/armeabi" the su and Superuser.apk from UPDATE-SuperSU-v1.30.zip, busybox also be moved to the same folder.
From terminal
> Adb push run_root_shell / data / local / tmp
> Adb push su / data / local / tmp
> Adb push Superuser.apk / data / local / tmp
> Adb push busybox / data / local / tmp
> Adb shell
$ Cd / data / local / tmp
$ Chmod 777 run_root_shell
$ Chmod 755 busybox
$. / Run_root_shell
# / Data / local / tmp / busybox mount-o rw, remount / system
# / Data / local / tmp / busybox cp / data / local / tmp / su / system / xbin
# / Data / local / tmp / busybox cp / data / local / tmp / Superuser.apk / system / app
# Chown 0.0 / system / xbin / su
# Chmod 6755 / system / xbin / su
# / Data / local / tmp / busybox mount-o ro, remount / system
# Sync
# Exit
Is over. It would help to delete the ones that you push to / data / local / tmp afterward.
> Adb shell
$ Rm / data / local / tmp / run_root_shell
$ Rm / data / local / tmp / su
$ Rm / data / local / tmp / Superuser.apk
$ Rm / data / local / tmp / busybox
Sent from my Sony Tablet S using xda app-developers app
---------- Post added at 08:51 AM ---------- Previous post was at 08:44 AM ----------
Get files from here
fi01/android_root_shell at test https://github.com/fi01/android_run_root_shell/tree/test
hiikezeo/libdiagex ploit https://github.com/hiikezoe/libdiagexploit
Update-SuperSU-v1.3.zip http://forum.xda-developers.com/showthread.php?t=1538053
Busybox for android http://benno.id.au/blog/2007/11/14/android-busybox
Note: translation provided by google translate so there may be some mistakes
Sent from my Sony Tablet S using xda app-developers app
i've made a small archive with a little README and a root.sh script, so you can just push everything from the archive to /data/local/tmp/ and execute root.sh
hope that's okay, if not tell me and i delete!
[removed old file, added new one with another post]
http://forum.xda-developers.com/showthread.php?p=42485765
smokey_joe said:
i've made a small archive with a little README and a root.sh script, so you can just push everything from the archive to /data/local/tmp/ and execute root.sh
hope that's okay, if not tell me and i delete!
Click to expand...
Click to collapse
Its fine. Will give it a try soon
Edit 1: is this only for linux?
Sent from my GT-S5830 using xda app-developers app
jumper62 said:
Its fine. Will give it a try soon
Edit 1: is this only for linux?
Click to expand...
Click to collapse
no, it does not include adb or anything.
You need working adb for you OS and the zip file.
I just extracted the needed stuff from the linked projects (Superuser and busybox), added a little shell script that copies the apk and the binaries..
and while writing this post i've seen that i didn't install the busybox binary at all...so i fixed this with v2, added with this post... i also updated the README as i forgot to mention that run_root_shell and root.sh have to get executable bit
smokey_joe said:
no, it does not include adb or anything.
You need working adb for you OS and the zip file.
I just extracted the needed stuff from the linked projects (Superuser and busybox), added a little shell script that copies the apk and the binaries..
and while writing this post i've seen that i didn't install the busybox binary at all...so i fixed this with v2, added with this post... i also updated the README as i forgot to mention that run_root_shell and root.sh have to get executable bit
Click to expand...
Click to collapse
Thanks a lot - I try that when I'm at home in the evening. Greetings from Mannheim to Aachen.
tried both v1 and v2. neither work.
jumper62 said:
tried both v1 and v2. neither work.
Click to expand...
Click to collapse
yeah...i worked on this after my phone was rooted and i changes some permissions by hand etc...the busybox binary was chmodded to late...but i cannot see much on the small screenshot, tell me if there are other problems, attached v3
tried to look at your screenshot i saw you tried to execute the shellscript on the windows system? you really should read the README...you have to push the files to the device, everything from the zip file...and after that get a shell via adb shell and then you can execute the run_root_shell and after that the root.sh skript to finally install superuser.apk / busybox and su commands
smokey_joe said:
tried to look at your screenshot i saw you tried to execute the shellscript on the windows system? you really should read the README...you have to push the files to the device, everything from the zip file...and after that get a shell via adb shell and then you can execute the run_root_shell and after that the root.sh skript to finally install superuser.apk / busybox and su commands
Click to expand...
Click to collapse
How can you push files into data/local/tmp without root?
xenoisme said:
How can you push files into data/local/tmp without root?
Click to expand...
Click to collapse
you could always....as far as i know it's the only place in the system where you can put files and make them executable. This was used by every exploit (i used) on my TabletP.
xenoisme said:
How can you push files into data/local/tmp without root?
Click to expand...
Click to collapse
Exactly. All i got was permission denied. ADB drivers are installed. USB debugging is also enabled
Sent from my Sony Tablet S using xda app-developers app
jumper62 said:
Exactly. All i got was permission denied. ADB drivers are installed. USB debugging is also enabled
Sent from my Sony Tablet S using xda app-developers app
Click to expand...
Click to collapse
what's the step after ./run_root_shell
smokey_joe said:
tried to look at your screenshot i saw you tried to execute the shellscript on the windows system? you really should read the README...you have to push the files to the device, everything from the zip file...and after that get a shell via adb shell and then you can execute the run_root_shell and after that the root.sh skript to finally install superuser.apk / busybox and su commands
Click to expand...
Click to collapse
is it okay?
Done it! thank you very much
Sent from my Sony Tablet S using xda app-developers app
xenoisme said:
View attachment 2037095
is it okay?
Click to expand...
Click to collapse
Yh. I got that but just carry on and it will work
Sent from my Sony Tablet S using xda app-developers app
xenoisme said:
is it okay?
Click to expand...
Click to collapse
looks good, after that you could install Superuser.apk/su/busybox by yourself or use execute root.sh ./root.sh to do it automatically...you can verify that you are root by using the command "id" but the root.sh script checks if your user id is 0 (root)
smokey_joe said:
looks good, after that you could install Superuser.apk/su/busybox by yourself or use execute root.sh ./root.sh to do it automatically...you can verify that you are root by using the command "id" but the root.sh script checks if your user id is 0 (root)
Click to expand...
Click to collapse
it's okay now, thanks very much
rooted!
Android 4.0.3 R5A finally rooted!!! Thank you so much, smokey_joe! :good:
Maybe I can help others now also.
smokey_joe said:
yeah...i worked on this after my phone was rooted and i changes some permissions by hand etc...the busybox binary was chmodded to late...but i cannot see much on the small screenshot, tell me if there are other problems, attached v3
Click to expand...
Click to collapse
after i installed this driver package, it worked on the first try.
http://forum.xda-developers.com/showthread.php?t=1488822&highlight=drivers
thanks!

Categories

Resources