How do I push an app to install?
Sent from my HERO200 using XDA App
MrSpradlen said:
How do I push an app to install?
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
are you rooted?
Code:
adb push /"filenamehere" /location/in/phone
ex) adb push /clock.apk /system/app
ex2) adb push C:\users\NetOpravdanii\Desktop\Handcent_Orange.apk /data/app
*note the "filenamehere" is assuming you put the file you want to push in your tools folder (if running windows) Or your current working dir if running linux/ubuntu*
Related
I've finally discovered how to install apps as system apps.
1. Download Android SDK and extract it to C:\
2. Set your cmd destination to C:\android-sdk-windows\tools {Click here for a video tutorial}
3. Put the app that you want to install in C:\android-sdk-windows\tools
4. Connect your phone
5. Turn on USB debugging
6. Open cmd.exe and type in order:
adb remount
adb push yourapp.apk /system/app
7. You are done!
thanks for the tip...
I tried to just paste in system app but that didnt work
thanks for writing this it will help a lot of people
Sent from my GT540 using XDA App
actually, it works, but you need to give permission to those apps. you can do it via recovery or root explorer. I did it with root explorer and it seems to work...
Yeah i know but technicaly adb is correct way to do it
permissions: rw-r--r--
Sent from my GT540 using XDA App
pashinator said:
Yeah i know but technicaly adb is correct way to do it
permissions: rw-r--r--
Sent from my GT540 using XDA App
Click to expand...
Click to collapse
chmod 755 ?
Hey guys, I accidentally deleted my youtube app like an idiot and have been trying to re-download it for a long time now. I used nookdevs enable android mark process but once I run autonook it tells me that I did not extract the files in the right folder. It tells me to put them into platform-tools. Only problem is I did put the files into the that folder and it still gives me the same answer. Any help would be appreciated. thanks guys
Why don't u just download it again off the market its free
Sent from my Desire HD using XDA Premium App
I've just tried to install the latest Youtube from the market. It fails to install for some reason. The message in notification bar is "Installation unsuccessful"
Use root explorer and copy it to system/apps and make sure the permissions are the same as rest of them and reboot see if that works make a backup of ur rom for incase it goes wrong for u
Sent from my Desire HD using XDA Premium App
I need it too.. can anyone help...
I own NC with FLASHED android Honeycomb... everything works great but Youtube is failing..
Is installed successfully but cannot open any video.
ironman_troop said:
I need it too.. can anyone help...
I own NC with FLASHED android Honeycomb... everything works great but Youtube is failing..
Is installed successfully but cannot open any video.
Click to expand...
Click to collapse
Your deal problem is kind of an easier fix. Search the forums for "failing youtube app" and im sure something will come up. I remember that when I installed Auto-Nooter 3.0 it told me this
If your Youtube fails to launch, download the attached EVO HQ, and follow this code in adb
Code:
adb shell mount -o remount,rw /dev/block/mmcblk0p5 /system
adb uninstall com.google.android.youtube
adb push YouTube.apk /system/app
adb reboot
http://forum.xda-developers.com/showthread.php?t=942424
Thats the forum for that so not sure if that helps lol
festa20 said:
Use root explorer and copy it to system/apps and make sure the permissions are the same as rest of them and reboot see if that works make a backup of ur rom for incase it goes wrong for u
Sent from my Desire HD using XDA Premium App
Click to expand...
Click to collapse
How do you get the app though. I have been to the market and cant find it. Must my market be updated or is my intelligence getting the best of me lol?
Can someone help me out. I'm new to ADB and trying to learn. I followed the code posted above to push the YouTube apk to my NC but I keep getting this message:
cannot stat 'YouTube.apk' : No such file or directory
I have the YouTube.apk downloaded to my computer. What am I doing wrong?
Where is the file located on your hdd?
I have the youtube.apk in my C:\android-sdk-windows\platform-tools folder because that is the folder where adb.exe is located.
ourgangmn said:
Where is the file located on your hdd?
I have the youtube.apk in my C:\android-sdk-windows\platform-tools folder because that is the folder where adb.exe is located.
Click to expand...
Click to collapse
So the youtube.apk needs to be with adb.exe? My only problem is when i run it, it tells me that I have extracted the files into the wrong folder which i didnt and stops.
Ok for some reason I removed an apk file in the system app folder (capture screen I think)
I didnt make a backup before removing but can I just copy over the file from the rom and paste it in as i dont want to reflash again as I have the rom/phone the way I want it
Thanks
Yes you can but after you do that re apply permissions and owner info.
Sent from my GT-I9100 using XDA App
Thanks for info but how do you do that?
Permissions and owner?
Use mount /system and then adb to device while in recovery and open shell. Then do a cd to whatever folder u want and do a chown root /../../../file. Ten using recovery fix permissions or do a chmod.
Sent from my GT-I9100 using XDA App
In the past I was able to move a folder containing the aps on to a computer, flash to a new rom and move the folder back.
Problem is I can't remember what folder(s) I moved to do so. Any thoughts?
/data/app
Sent from my aokp_tenderloin using xda premium
Do a search with your file explorer for a known app and see what locations it is stored in .
./adb backup
./adb restore
when you run ./adb it will show you the options. ADB will set you free.
Hi guys, I tried to change the bootanimation on my fire tablet (2015), it wasn't located in the media folder but I did find a bootanimation file in system/bin, I backed this up first incase I needed to replace it. On replacing said backup I still don't get the default boot animation, just a blank screen until the lock screen shows up, I've even tried copying the file from another tablet. I'm sure its something to do with permissions but I'm not sure, hoping someone more knowledgeable than me can help.
Thanks
Connorsdad said:
Hi guys, I tried to change the bootanimation on my fire tablet (2015), it wasn't located in the media folder but I did find a bootanimation file in system/bin, I backed this up first incase I needed to replace it. On replacing said backup I still don't get the default boot animation, just a blank screen until the lock screen shows up, I've even tried copying the file from another tablet. I'm sure its something to do with permissions but I'm not sure, hoping someone more knowledgeable than me can help.
Thanks
Click to expand...
Click to collapse
Restore the file to /system/bin and chmod 755
Sorry for being a dumbass, what's chmod 755 ?
Sent from my KFFOWI using Tapatalk
No matter, thanks for helping, will try it.
Sent from my KFFOWI using Tapatalk
csolanol said:
Restore the file to /system/bin and chmod 755
Click to expand...
Click to collapse
Didn't work, thanks for trying.
Sent from my KFFOWI using Tapatalk
Connorsdad said:
Didn't work, thanks for trying.
Sent from my KFFOWI using Tapatalk
Click to expand...
Click to collapse
Restore she file bootanimation to /system/bin/ folder. If you do it with a root file explorer change the permissions to 755. That's rwx-rx-rx.
If you do it using a shell with terminal for android or by adb, type:
1. su (grant SuperSU permissions in the tablet when it asks for it).
2. mount -o remount,rw /system
3. chmod 0755 /system/bin/bootanimation
4. Reboot
I'm using a root file explorer, permissions set as you say but it still isn't working, what should I set Owner and Group to ?
Sent from my KFFOWI using Tapatalk
Connorsdad said:
I'm using a root file explorer, permissions set as you say but it still isn't working, what should I set Owner and Group to ?
Sent from my KFFOWI using Tapatalk
Click to expand...
Click to collapse
root and shell
Permission denied after 'mount -o remount,rw /system'
Sent from my KFFOWI using Tapatalk
I set owner - root and group - shell, still not working :/
Sent from my SM-N9005 using Tapatalk
Any other ideas anyone or is my only option to start again from stock ?
Sent from my SM-N9005 using Tapatalk