Deleted apk resotre - XPERIA X10 Themes and Apps

Hy all.
Please help me.
I made a mistake.
I deleted mediascape, the apk and odex files remaining.
I push with adb to system/app but i cant see any changes.
Please help how to reinstall mediascape and the deafult Sony Ericsson keyboard.
Thx

Wenner said:
Hy all.
Please help me.
I made a mistake.
I deleted mediascape, the apk and odex files remaining.
I push with adb to system/app but i cant see any changes.
Please help how to reinstall mediascape and the deafult Sony Ericsson keyboard.
Thx
Click to expand...
Click to collapse
I USED THESE COMMANDS TO RESTORE MEDIASCAPE DO YOU HAVE FILES? if you dnt follow this link n inside it theres this app folder where u can find em http://rapidshare.com/files/403921536/step4.rar.html
n all this i copied from evostances post in the x10's root post
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb shell dd if=/sdcard/apps/MediascapePluginManager.apk of=/system/app/MediascapePluginManager.apk
adb shell dd if=/sdcard/apps/MediascapePluginManager.odex of=/system/app/MediascapePluginManager.odex
adb shell chmod 644 /system/app/MediascapePluginManager*
adb shell dd if=/sdcard/apps/mediascape.apk of=/system/app/mediascape.apk
adb shell dd if=/sdcard/apps/mediascape.odex of=/system/app/mediascape.odex
adb shell chmod 644 /system/app/mediascape*
adb shell reboot

Ok thx
My problem is i not use chmod in apk and odex file.
Everthing works fine.
Thx for your help.

Related

How to get APPS back into system/apps/

I updated my rom and there are some omitted apps that I would like to get back into system/apps/ for example VoiceDialer.apk, but I cannot seem to get them back on. I am using Fresh Rom 0.4 and the phone is obviously rooted. maybe I am doing something wrong in adb shell but I keep getting one of 2 different erors. Either permission denied or adb not found. Thank you in advance for your help.
flaav8r said:
I updated my rom and there are some omitted apps that I would like to get back into system/apps/ for example VoiceDialer.apk, but I cannot seem to get them back on. I am using Fresh Rom 0.4 and the phone is obviously rooted. maybe I am doing something wrong in adb shell but I keep getting one of 2 different erors. Either permission denied or adb not found. Thank you in advance for your help.
Click to expand...
Click to collapse
1) Permission denied - make sure that when you do an adb shell, you're root (have the # prompt) and make sure you've mounted /system as rw (adb remount)
2) adb not found - make sure there's only one adb.exe on your computer and that it's the one from the SDK and that the SDK's /tools directory is in your path (to be safe, you can always just run adb from that directory)
jmanley69 said:
1) Permission denied - make sure that when you do an adb shell, you're root (have the # prompt) and make sure you've mounted /system as rw (adb remount)
2) adb not found - make sure there's only one adb.exe on your computer and that it's the one from the SDK and that the SDK's /tools directory is in your path (to be safe, you can always just run adb from that directory)
Click to expand...
Click to collapse
1. the procedure I used is this: from the cmd prompt in the androidsdk/tools/ directory:
adb shell
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd /system/app
# adb push VoiceDialer.apk system/app
but its a no go. Can't understand why.
BTW, I have the VoiceDialer.apk file in the androidsdk/tools folder just to make the push easier.
Ok, here is a screen shot from my command prompt window. I know someone knows what the hell I'm doing wrong. Just wanna get the damn voice dialer back on my phone. Please help, thank you.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Barry>cd \
C:\>cd androidsdk\tools\
C:\AndroidSDK\tools>adb shell
* daemon not running. starting it now *
* daemon started successfully *
$ su
su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# adb push VoiceDialer.apk /system/app/
adb push VoiceDialer.apk /system/app/
adb: not found
#
you cant do adb push while in shell ($ or #). Exit out and just try tying the adb push
goku14238 said:
you cant do adb push while in shell ($ or #). Exit out and just try tying the adb push
Click to expand...
Click to collapse
When I do that I get permission denied or something to that effect.
Yeah there's a post about this in the Fresh thread.
The most straightforward way is this:
Reboot to the recovery partition.
adb shell into the phone.
Issue the following command to mount the system partition:
mount -t yaffs2 /dev/block/mtdblock3 /system
Type exit to exit the shell.
Then do:
adb push c:\directory-with-the-apks /system/app
jonnythan said:
Yeah there's a post about this in the Fresh thread.
The most straightforward way is this:
Reboot to the recovery partition.
adb shell into the phone.
Issue the following command to mount the system partition:
mount -t yaffs2 /dev/block/mtdblock3 /system
Type exit to exit the shell.
Then do:
adb push c:\directory-with-the-apks /system/app
Click to expand...
Click to collapse
Thank-you, I will give it a try.

Pushed apk to /system/tools by mistake

So as the title says, I pushed an apk to "system/tools" on my phone on accident instead of apps. How can I remove this push. I have tried rm -r /system/tools/__.apk but its telling me it doesn't exist. Is it possible it did nothing? I got a file transfer after doing so. I've also tried finding that folder (tools) in astro, but its not a folder and gives me the mesage file type not found. Thanks
barnacles10 said:
So as the title says, I pushed an apk to "system/tools" on my phone on accident instead of apps. How can I remove this push. I have tried rm -r /system/tools/__.apk but its telling me it doesn't exist. Is it possible it did nothing? I got a file transfer after doing so. I've also tried finding that folder (tools) in astro, but its not a folder and gives me the mesage file type not found. Thanks
Click to expand...
Click to collapse
Get andExplorer and browse to the /system/app folder to see if it is there, of on a computer use Android Commander.
You would also have to remount
Code:
adb remount
adb shell
rm -r /system/tools/XYZ.apk
Kcarpenter said:
You would also have to remount
Code:
adb remount
adb shell
rm -r /system/tools/XYZ.apk
Click to expand...
Click to collapse
rm -r is a recursive deletion. For a single file leave off the -r. Why?
Because if you accidentally forget to put in the file name it will delete everything in the directory and below it.
Kcarpenter said:
You would also have to remount
Code:
adb remount
adb shell
rm -r /system/tools/XYZ.apk
Click to expand...
Click to collapse
Correct, but when I try this it says its not a valid directory. And when I navigate to that folder with astro is not an openable folder. Which led me to believe it didn't transfer, or just wouldn't allow it. However, cmd showed the transfer data and time after pushing. Thats why I was confused
smw is correct, -r is for directories only, so the proper command would be:
Code:
adb remount
adb shell
rm /system/tools/XYZ.apk
gu1dry said:
smw is correct, -r is for directories only, so the proper command would be:
Code:
adb remount
adb shell
rm /system/tools/XYZ.apk
Click to expand...
Click to collapse
I've tried this too I get
"rm failed for system/tools/app.apk, Not a Directory"
try this:
adb remount
adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
then cd to the right directory and type
rm xxxx.apk
since their is no tools directory it clearly didn't autmoatically create one. Instead it just made a file called /system/tools which is your apk file. to remove it just "adb shell rm /system/tools"
alexthearmo said:
try this:
adb remount
adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
then cd to the right directory and type
rm xxxx.apk
Click to expand...
Click to collapse
after the command "
alexthearmo said:
try this:
adb remount
adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
" I try a cd /system/tools/" and get a can't cd error. hmm
Click to expand...
Click to collapse
darchstar said:
since their is no tools directory it clearly didn't autmoatically create one. Instead it just made a file called /system/tools which is your apk file. to remove it just "adb shell rm /system/tools"
Click to expand...
Click to collapse
Ah ha. So there is no such thing as /system/tools on the phone? This is what I was curious about. So deleting the file will /system/tools altogether should be ok?
cd into /system & then ls to make sure there is tools folder.
sorry for the recursive thing, wasn't thinking about what I was typing.
-r is not needed.

Re-install mediascape after root.

Thanks for the great job done by developers. However, I noticed mediascape was removed after root. Personally I think mediascape is nice but failed to install it from the app folder on sdcard. Searched the whole thread but didn't find a method.
I tried manually copy the mediascape.apk to /data/app, reboot, then mediascape is restored in the application drawer and can be run functionally.
Here is the details.
Connect the X10 to PC using USB debug mode.
Get the adb.exe ready (you can run it from the root step4 folder directly)
0. Copy mediascape.apk to the step4 folder.
1. Start command prompt as administrater.
2. Change to the step4 folder.
3. Run "adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system" without quotes.
4. Run "adb shell chmod 777 /data/app" without quotes.
5. Run "adb push mediascape.apk /data/app" no quotes.
6. Run "adb shell reboot" no quotes.
BTW: I have copied all the mediascape related files back to /system/app as well, by running "adb shell chmod 777 /system/app" and using adb push.
Seems it's not ideal as the apk is not installed but added to the X10 directly.
Any better ideas?
Try RealPlayer for Android, it's a new app, really good!
w w w.real.com/realplayer/android
Nah, nothing can beat mediascape.
anyway, how can one get timescape back?
Fuzalert2k said:
Nah, nothing can beat mediascape.
anyway, how can one get timescape back?
Click to expand...
Click to collapse
you mean timescape? or mediascape?
shvyue said:
Thanks for the great job done by developers. However, I noticed mediascape was removed after root. Personally I think mediascape is nice but failed to install it from the app folder on sdcard. Searched the whole thread but didn't find a method.
I tried manually copy the mediascape.apk to /data/app, reboot, then mediascape is restored in the application drawer and can be run functionally.
Here is the details.
Connect the X10 to PC using USB debug mode.
Get the adb.exe ready (you can run it from the root step4 folder directly)
0. Copy mediascape.apk to the step4 folder.
1. Start command prompt as administrater.
2. Change to the step4 folder.
3. Run "adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system" without quotes.
4. Run "adb shell chmod 777 /data/app" without quotes.
5. Run "adb push mediascape.apk /data/app" no quotes.
6. Run "adb shell reboot" no quotes.
BTW: I have copied all the mediascape related files back to /system/app as well, by running "adb shell chmod 777 /system/app" and using adb push.
Seems it's not ideal as the apk is not installed but added to the X10 directly.
Any better ideas?
Click to expand...
Click to collapse
done this and mediscape still dont apear and cant install it through astro file manager
Can you see mediascape.apk in the /data/app folder? If yes have you copied 4 mediascape files back to /system/app?
Sent from my SO-01B using Tapatalk
hmm I don't seem to have the app folder in my data folder, in my memory card can someone help me out
The data/app folder is not on your sdcard. Up one level.
Sent from my SO-01B using Tapatalk
shvyue said:
you mean timescape? or mediascape?
Click to expand...
Click to collapse
I mean timescape
done this and it works. mediascpae reinstaled in my rooted x10
open dos prompt with administrator privileges, change do step4 folder and do this:
Originally Posted by maxmaniac View Post
Well Root worked for me,
Thanks Guys!!!
Anyway, I was able to get Mediascape to work again using a small script I wrote (looking at those made by our developers).
Here's what i've done:
IMPORTANT: you must have *.apk and *.odex files on your sdcard!!
----------------------------------------------------
@echo off
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb shell dd if=/sdcard/apps/MediascapePluginManager.apk of=/system/app/MediascapePluginManager.apk
adb shell dd if=/sdcard/apps/MediascapePluginManager.odex of=/system/app/MediascapePluginManager.odex
adb shell chmod 644 /system/app/MediascapePluginManager*
adb shell dd if=/sdcard/apps/mediascape.apk of=/system/app/mediascape.apk
adb shell dd if=/sdcard/apps/mediascape.odex of=/system/app/mediascape.odex
adb shell chmod 644 /system/app/mediascape*
adb shell reboot
----------------------------------------------------
I don't know if this will work for all of you, but it worked for me.
Don't really know if this breaks anything in your X10, so use this at your own risk.
Thanks again for rooting this thing!!
André
hey is der ne way i can get mediascape running on ne othr device than x10??? just asking
nosidefcp said:
done this and it works. mediascpae reinstaled in my rooted x10
open dos prompt with administrator privileges, change do step4 folder and do this:
Originally Posted by maxmaniac View Post
Well Root worked for me,
Thanks Guys!!!
Anyway, I was able to get Mediascape to work again using a small script I wrote (looking at those made by our developers).
Here's what i've done:
IMPORTANT: you must have *.apk and *.odex files on your sdcard!!
----------------------------------------------------
@echo off
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb shell dd if=/sdcard/apps/MediascapePluginManager.apk of=/system/app/MediascapePluginManager.apk
adb shell dd if=/sdcard/apps/MediascapePluginManager.odex of=/system/app/MediascapePluginManager.odex
adb shell chmod 644 /system/app/MediascapePluginManager*
adb shell dd if=/sdcard/apps/mediascape.apk of=/system/app/mediascape.apk
adb shell dd if=/sdcard/apps/mediascape.odex of=/system/app/mediascape.odex
adb shell chmod 644 /system/app/mediascape*
adb shell reboot
----------------------------------------------------
I don't know if this will work for all of you, but it worked for me.
Don't really know if this breaks anything in your X10, so use this at your own risk.
Thanks again for rooting this thing!!
André
Click to expand...
Click to collapse
How exactly do you do this? What do you edit... siggh
nosidefcp said:
done this and it works. mediascpae reinstaled in my rooted x10
open dos prompt with administrator privileges, change do step4 folder and do this:
Originally Posted by maxmaniac View Post
Well Root worked for me,
Thanks Guys!!!
Anyway, I was able to get Mediascape to work again using a small script I wrote (looking at those made by our developers).
Here's what i've done:
IMPORTANT: you must have *.apk and *.odex files on your sdcard!!
----------------------------------------------------
@echo off
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb shell dd if=/sdcard/apps/MediascapePluginManager.apk of=/system/app/MediascapePluginManager.apk
adb shell dd if=/sdcard/apps/MediascapePluginManager.odex of=/system/app/MediascapePluginManager.odex
adb shell chmod 644 /system/app/MediascapePluginManager*
adb shell dd if=/sdcard/apps/mediascape.apk of=/system/app/mediascape.apk
adb shell dd if=/sdcard/apps/mediascape.odex of=/system/app/mediascape.odex
adb shell chmod 644 /system/app/mediascape*
adb shell reboot
----------------------------------------------------
I don't know if this will work for all of you, but it worked for me.
Don't really know if this breaks anything in your X10, so use this at your own risk.
Thanks again for rooting this thing!!
André
Click to expand...
Click to collapse
This worked for me. Thanks!
Fuzalert2k said:
How exactly do you do this? What do you edit... siggh
Click to expand...
Click to collapse
Turn on USB-debugging mode. Run command prompt (start->run->"cmd"). Change to your step4 directory. Enter those commands line by line.
nosidefcp said:
done this and it works. mediascpae reinstaled in my rooted x10
open dos prompt with administrator privileges, change do step4 folder and do this:
Originally Posted by maxmaniac View Post
Well Root worked for me,
Thanks Guys!!!
Anyway, I was able to get Mediascape to work again using a small script I wrote (looking at those made by our developers).
Here's what i've done:
IMPORTANT: you must have *.apk and *.odex files on your sdcard!!
----------------------------------------------------
@echo off
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb shell dd if=/sdcard/apps/MediascapePluginManager.apk of=/system/app/MediascapePluginManager.apk
adb shell dd if=/sdcard/apps/MediascapePluginManager.odex of=/system/app/MediascapePluginManager.odex
adb shell chmod 644 /system/app/MediascapePluginManager*
adb shell dd if=/sdcard/apps/mediascape.apk of=/system/app/mediascape.apk
adb shell dd if=/sdcard/apps/mediascape.odex of=/system/app/mediascape.odex
adb shell chmod 644 /system/app/mediascape*
adb shell reboot
----------------------------------------------------
I don't know if this will work for all of you, but it worked for me.
Don't really know if this breaks anything in your X10, so use this at your own risk.
Thanks again for rooting this thing!!
André
Click to expand...
Click to collapse
op's method did not work for me but this one worked perfect
it worked now.
thanks so much for the instruction
thanksss it works
would anyone please upload *.apk and *.odex files please, since i cant find em on my x10 anymore. thanks
*.odex files
can some one please share mediascape.odex and MediascapePluginManager.odex files
Both the stock 2.1 gallery and for example doubletwist or poweramp kicks mediascapes ass when it comes to usability, I installed Z's 2.2.1 ROM a week ago and must admit that I dont miss media/timescape one bit Bottom case is that I'll rather use a semi-stable 2.2 ROM than a slow SE rom ;-)

Superuser 2.3

Anyone manage to install it successfully without losing root. If so, how?
No, same problem, pushed the 2.3 apk to apps, after that not in launcher anymore and root completely gone.
Messed around for 2 hours now with X10root.apk, the runme batch file and at last manually. Don't know which method actually did it, but after final reboot I got rooted again and Superuser was visible again in Launcher.
I think the Donut Version of Superuser 2.3 is a fail, got 2.2 now, I think from Angelos pack but not sure.
Yeah, that's my experience too. The root .apk fixed it up for me again.
I've heard that the superuser 2.3 asks for permission for everything on the phone, is that correct?
Why would one need to upgrade to what most have using the root method? I see no reason to change whats already working fine and giving root. People never realise that newer versions dont always mean better!!!!!!!!!!!!!
Works a treat
You have to remove the old Superuser.apk from /system/app/
Then add the latest Superuser.apk along with the "su" supplied using adb:
Code:
@adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
@adb push apps\Superuser.apk /sdcard/Superuser.apk
@adb shell dd if=/sdcard/Superuser.apk of=/system/app/Superuser.apk
@adb shell chmod 644 /system/app/Superuser.apk
@adb push bin\su /sdcard/su
@adb shell dd if=/sdcard/su of=/system/bin/su
@adb shell chmod 4755 /system/bin/su
@adb shell rm /sdcard/su
@adb shell rm /sdcard/Superuser.apk
MarylandCookie said:
Works a treat
You have to remove the old Superuser.apk from /system/app/
Then add the latest Superuser.apk along with the "su" supplied using adb:
Code:
@adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
@adb push apps\Superuser.apk /sdcard/Superuser.apk
@adb shell dd if=/sdcard/Superuser.apk of=/system/app/Superuser.apk
@adb shell chmod 644 /system/app/Superuser.apk
@adb push bin\su /sdcard/su
@adb shell dd if=/sdcard/su of=/system/bin/su
@adb shell chmod 4755 /system/bin/su
@adb shell rm /sdcard/su
@adb shell rm /sdcard/Superuser.apk
Click to expand...
Click to collapse
Thanks mate!
Force closes on mine on opening the app.. Though works when pop up appears for permision..
realunited123 said:
Force closes on mine on opening the app.. Though works when pop up appears for permision..
Click to expand...
Click to collapse
This also happens on my phone.
Did the same for me. Rebooted, it was fine (did it on both my x10 and nexus).
Removing the old superuser app and pushing the new one works. Thanks guys.
Can i use a terminal / file manager on X10 to copy the apk and sh binary (ofcourse after mounting rw) ?
Or i have to use "dd"?
What are the new features found in the Superuser 2.3?
2.3.1 is out and works no more FC....
yup! works fine now
MarylandCookie said:
Works a treat
You have to remove the old Superuser.apk from /system/app/
Then add the latest Superuser.apk along with the "su" supplied using adb:
Code:
@adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
@adb push apps\Superuser.apk /sdcard/Superuser.apk
@adb shell dd if=/sdcard/Superuser.apk of=/system/app/Superuser.apk
@adb shell chmod 644 /system/app/Superuser.apk
@adb push bin\su /sdcard/su
@adb shell dd if=/sdcard/su of=/system/bin/su
@adb shell chmod 4755 /system/bin/su
@adb shell rm /sdcard/su
@adb shell rm /sdcard/Superuser.apk
Click to expand...
Click to collapse
Could you please tell me how to do this?
Do i have just to open my sdk on my pc and insert the comand you wrote?
I'm tryng to understand how to remove superuser from the phone because i have a X10 and X10mini, and i've a problem with the second phone and this apk.
When i downloaded from the market a new version (2.3.6.1) of this programm, all went fine with my X10.
With X10 mini, when i try to download from market superuser, i can finish to downloading this apk, but phone dosen't install it.
A messagge appear sayng the package is not signed.
So maybe i thought it could depends from older version that's installed on X10 mini. Am i doing right removing the old version for installing new one? Or mine is another kind of issue?
And in general, is this still the right method (and the only one) to remove superuser.apk from Xperia phones?
Thanks
thank you!
I am a G3's user
MarylandCookie said:
Works a treat
You have to remove the old Superuser.apk from /system/app/
Then add the latest Superuser.apk along with the "su" supplied using adb:
Code:
@adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
@adb push apps\Superuser.apk /sdcard/Superuser.apk
@adb shell dd if=/sdcard/Superuser.apk of=/system/app/Superuser.apk
@adb shell chmod 644 /system/app/Superuser.apk
@adb push bin\su /sdcard/su
@adb shell dd if=/sdcard/su of=/system/bin/su
@adb shell chmod 4755 /system/bin/su
@adb shell rm /sdcard/su
@adb shell rm /sdcard/Superuser.apk
Click to expand...
Click to collapse
I can see the new superuser in the phone,but it can't work.I use g3,can you help me?
thanks!
instigator008 said:
Anyone manage to install it successfully without losing root. If so, how?
Click to expand...
Click to collapse
Market updated me to 2.3.6.1, Titanium still runs, so still rooted.

[Q] ADB Push multiple files (of same type) to /sdcard

Hello.
I have some files that I want to push inside the /sdcard.They are all of the same type (.img).Here is what I am experiencing:
Code:
adb push *.img /sdcard
returns the adb command help... doesn't work obviously
If I put all the files inside a folder (eg. img):
Code:
adb push C:\Nexus/img /sdcard/
it starts copying all the contents of the img folder to /sdcard (adb ls /sdcard/ confirms so)
now if I want to remove those files from /sdcard, since they happen to have the same extension:
Code:
adb shell rm /sdcard/*.img
and all these image files (.img) are removed - the wildcard now is working.
Now is this normal behaviour or am I missing something? I mean is it that ADB command does not support wildcards?
If so copying the contents of a folder is it the only way to mass copy from PC to the phone?
Thank you.
Yea i believe it will only push or pull a full folder or a specific file.. but thats the beauty of it.. dump all the files you want in a folder and push it right where you want them
Based on my very limited experience, wildcards are not supported by push/pull commands, but you can pass along anything you want through "adb shell" and wildcards will be processed as expected.
-- Sent from my TouchPad using Communities
Yes I 've searched a lot myself and seems the only way is the "copy to folder" trick.Thanks for your input.
*Puzzled why they didn't include that option inside the command*
Can I change permissions of several Files that I have pushed into a system folder ??
DJLamontagneIII said:
Yea i believe it will only push or pull a full folder or a specific file.. but thats the beauty of it.. dump all the files you want in a folder and push it right where you want them
Click to expand...
Click to collapse
:good:Information shared on this thread is useful to me..
I come to understand that I can push multiple files to /system/<directory> using following command
Can I do this:
Copy all file to a folder and then copied the whole folder to adb.exe directory. sy my Folder name is "MoveAll" in C:\<adb directory)
adb push MoveAll system/app (got root access and remount rw to do this)
or
adb push MoveAll system/lib
Now my question is that can I change the file permissions as well in on shot ???
adb shell chmod 644 /system/app/*.apk (if all files that i copied are .apk files)
or
adb shell chmod 644 /system/lib/*.so (if all files that i copied are .so files)
................................will it work ???
A little help on this would be highly appreciated. Thanks in advance !!! :good:
VioletR said:
:good:Information shared on this thread is useful to me..
I come to understand that I can push multiple files to /system/<directory> using following command
Can I do this:
Copy all file to a folder and then copied the whole folder to adb.exe directory. sy my Folder name is "MoveAll" in C:\<adb directory)
adb push MoveAll system/app (got root access and remount rw to do this)
or
adb push MoveAll system/lib
Now my question is that can I change the file permissions as well in on shot ???
adb shell chmod 644 /system/app/*.apk (if all files that i copied are .apk files)
or
adb shell chmod 644 /system/lib/*.so (if all files that i copied are .so files)
................................will it work ???
A little help on this would be highly appreciated. Thanks in advance !!! :good:
Click to expand...
Click to collapse
What operating system do you use on your computer?
I test with:
Code:
adb push *.img /sdcard
Code:
adb push C:\Nexus/img /sdcard/
Code:
adb shell rm /sdcard/*.img
But They do not work. Can you help me???
kid1519 said:
I test with:
Code:
adb push *.img /sdcard
Code:
adb push C:\Nexus/img /sdcard/
Code:
adb shell rm /sdcard/*.img
But They do not work. Can you help me???
Click to expand...
Click to collapse
Hello.
Wildcards (*.fileExtension) do not work with adb or so it seems.You could always use the "copy to folder" trick though.
Put all your images in a folder - I assume you have windows.So:
all images to C:\Images
then open adb and:
adb push C:\Images/ /sdcard/Images/
the above command will copy all the contents of the C:\Images folder (so practically all your images in there) to the /sdcard/Images folder (could be any folder you prefer).
TR-909 said:
Hello.
Wildcards (*.fileExtension) do not work with adb or so it seems.You could always use the "copy to folder" trick though.
Put all your images in a folder - I assume you have windows.So:
all images to C:\Images
then open adb and:
adb push C:\Images/ /sdcard/Images/
the above command will copy all the contents of the C:\Images folder (so practically all your images in there) to the /sdcard/Images folder (could be any folder you prefer).
Click to expand...
Click to collapse
thanks. :X
Now, i can push. ok.
But
adb shell chmod
Click to expand...
Click to collapse
can you show me.
ex:
adb shell chmod 644 /system/app/mp3.zing.vn.apk
adb shell chmod 644 /system/app/mp3.zing.vn.odex
adb shell chmod 644 /system/app/mxtech.videoplayer.apk
adb shell chmod 644 /system/app/mxtech.videoplayer.odex
adb shell chmod 644 /system/app/nct.apk
adb shell chmod 644 /system/app/nct.odex
adb shell chmod 644 /system/app/notepad.color.note.apk
adb shell chmod 644 /system/app/notepad.color.note.odex
adb shell chmod 644 /system/app/Quickofficev5.7.327.apk
adb shell chmod 644 /system/app/Quickofficev5.7.327.odex
adb shell chmod 644 /system/app/Screenshot.ER.PROv2.4.3.2.apk
adb shell chmod 644 /system/app/Screenshot.ER.PROv2.4.3.2.odex
adb shell chmod 644 /system/app/viber.apk
adb shell chmod 644 /system/app/viber.odex
adb shell chmod 644 /system/app/vietmobitv.apk
adb shell chmod 644 /system/app/vietmobitv.odex
adb shell chmod 644 /system/app/yahoo.mobile.apk
adb shell chmod 644 /system/app/yahoo.mobile.odex
adb shell chmod 644 /system/app/youtube.apk
adb shell chmod 644 /system/app/youtube.odex
Click to expand...
Click to collapse
--->>>
adb shell chmod 644 /system/app/*.apk
adb shell chmod 644 /system/app/*.odex
Click to expand...
Click to collapse
kid1519 said:
thanks. :X
Now, i can push. ok.
But
can you show me.
ex:
--->>>
Click to expand...
Click to collapse
Well I am not familiar with multiple permission changes through adb or even shell.Maybe some other more experienced member could help.Or maybe better make a post of your own exclusively for that.

Categories

Resources