pushing apks... - Droid Incredible Android Development

can someone explain to me how to push an apk using root explorer?
i cant seem to figure it out...
thanks

OMG_VTEC said:
can someone explain to me how to push an apk using root explorer?
i cant seem to figure it out...
thanks
Click to expand...
Click to collapse
Are you replacing a system app that is built into the ROM? If so, the way I do it is
Go to System/App
Find the apk you want to replace, long click and click on permissions. Take a note of what the permissions are set as
Rename the apk you're replacing with .bak at the end (it's just a backup!)
Paste the new .apk into the folder
Set the permissions identically to the way it was before
Reboot your phone. Done.

OMG_VTEC said:
can someone explain to me how to push an apk using root explorer?
i cant seem to figure it out...
thanks
Click to expand...
Click to collapse
If you're trying to put it in /system/app (for example) from your sdcard, find it on sdcard, long press and choose copy. Then use the ".." folder at the top of root explorer to go back to the "/" (root) directory. Select "system" then "app" and touch the "Mount R/W" button. Then choose "paste". Lastly find the apk you pasted in /system/app, long press it and choose "Permissions". Make them look like this and reboot:
--------Read Write Execute
User:-----X-----X
Group:----X
Others:---X
WhiteBandito beat me to it!

Related

How to put ringonte (.mp3) into phone memory?

As above. Anyone knows?
bryant_16 said:
As above. Anyone knows?
Click to expand...
Click to collapse
put it in the media>ringtone folder.
bryant_16 said:
As above. Anyone knows?
Click to expand...
Click to collapse
Ok... I'll bite. Ringdroid from the market. Any other answer will take some info.
As in, the ringroid will put the ringtones in the sd card memory not the phone memory, i tried copy paste over but fail.
To place them into the phone memory you will need to either copy them using the terminal or push them through adb.
using adb, place the file(s) in your tools folder
Code:
adb push filename.mp3 /system/media/audio/ringtones
In the terminal, if you place them in the root of your sdcard
Code:
cp /sdcard/filename.mp3 /system/media/audio/ringtones
I am not sure if you need to remount or not to push/copy into the folder or not.
It says read-only file system as the error.
jairomeo said:
To place them into the phone memory you will need to either copy them using the terminal or push them through adb.
using adb, place the file(s) in your tools folder
Code:
adb push filename.mp3 /system/media/audio/ringtones
Click to expand...
Click to collapse
Try:
Code:
adb remount
That should fix the "read only" problem.
i'm not using adb... I'm using the second method which is in the terminal.
Do yourself a favor and go get Root Explorer from the market. It lets you move any file to anywhere.
Move your files to /system/media/audio/ringtones and remember to check to see if the files that are there are .ogg or .mp3. If they are .ogg just rename your files after you move them.
What you mean I have to rename the files after i move them?
What's the exact application name? I tried searching on market but could not find any.
bryant_16 said:
What's the exact application name? I tried searching on market but could not find any.
Click to expand...
Click to collapse
I like SUFBS but ES (or estrong) file explorer is good also. SUFBS cost a buck or 2 but I think it is worth it. Either way your phone needs to be rooted for this. You do have root right?
Yeah, phone is rooted. I tried ES Strong Explorer but cannot work, it says something about permission or something like that..
bryant_16 said:
What you mean I have to rename the files after i move them?
Click to expand...
Click to collapse
I'm not sure if it's a "hero thing" but sometimes the file extensions in the ringtones folder are not .mp3. They are .ogg. If you look into the folder and see .ogg files just change the extension and you'll be all good.
As for the apps. Look for "Root Explorer". I believe there are both free and paid options. The paid one isn't very much $$ so, considering how much easier it makes things, give up the loot and support a dev.
I tried searching under market, but cant find it..
id use terminal with cmds, would be a tad faster and a bit more reliable, in my opinion, but as of searching on your behalf i have found root explorer a paid version and estrongs free version by searching "root" while in the market. estrongs sounds unstable. If your going to pay for a good file explorer get SU file manager&terminal. (and...SAA?ror)
How do I use terminals? I tried but that say permission thingy..
Did you mount the system?
OK dude. If you're rooted I assume you have somebody's recovery. Boot to recovery and go into console (Alt+x). Now do this.
<enter>
mount /system <enter> (maybe mount /system/media if just /system doesn't work)
mount /sdcard <enter>
cp /sdcard/yourfolder/yourringtone.mp3 /system/media/audio/ringtones <enter>
reboot
You should be good to go.
Can I do that in terminal? As in one of the application in my HTC Dream?

Boot animation location issues

ok so my data cable got wrecked (waiting for new one to arrive) and im using swiftp to get files onto my droid so how do i get the boot animation into data/local since astro and my computer wont let me view anything inside the data/ folder? i have terminal emulator app on my phone but not sure how to use the comands. how would i move bootanimation.zip into the correct directory?
Simple fix
Just search "Wireless ADB" on the Market, once you've got it set up (Google is your friend, but seeing as how you're already set up using swiftp sounds like you're good to go lol), do a little more Googling for the Terminal commands you'll need for ADB. Any questions, PM me and I'll do my best to help ya out (^_^)>b
Just use Root Explorer. It'll let you move, delete, copy, etc. any file anywhere all over your phone.
YoungSinema said:
Just use Root Explorer. It'll let you move, delete, copy, etc. any file anywhere all over your phone.
Click to expand...
Click to collapse
I agree. I just got Root Explorer on the Market and it works very well. You can also extract and compress zips. By far, the best file explorer I've used for Android!

[Q] Stock Music App?

So I uninstalled the stock music app and I was wondering how to install it back on to the device?
I got the com.htc.music.apk from system/app/ but I have no idea on how to install it back onto the device?
Ive tried plain old install then adb and both had no success... Can anyone help me and my noobness at this?
Download root explorer, I am assuming you have root. Next locate what folder the file is in. Make sure you have read write privileges by clicking the button art the top of the program. Long press the apk file, select copy or cut, etc. Then find the system folder, go in to it, find apps, go in to it, and place your file here. That should work.
Sent from my HTC PH39100 using XDA App
HTCMusic.apk [Stock HTC Vivid]
Here you go bud,
Simply use "File Manager" or another file system app from the market to install the apk files to /system/app. Then reboot.
Be sure to have root and set permissions to match all other items in /system/apps. Also be sure to erase what ever current HTCMusic.apk you currently have in the folder.
Good luck!
megatronisabeast said:
Download root explorer, I am assuming you have root. Next locate what folder the file is in. Make sure you have read write privileges by clicking the button art the top of the program. Long press the apk file, select copy or cut, etc. Then find the system folder, go in to it, find apps, go in to it, and place your file here. That should work.
Sent from my HTC PH39100 using XDA App
Click to expand...
Click to collapse
Tried no luck
Thank you though
BrandonBaskin said:
Here you go bud,
Simply use "File Manager" or another file system app from the market to install the apk files to /system/app. Then reboot.
Be sure to have root and set permissions to match all other items in /system/apps. Also be sure to erase what ever current HTCMusic.apk you currently have in the folder.
Good luck!
Click to expand...
Click to collapse
Ill try it now! Thanks!
Edit: Worked! Thanks so much!
bilibox said:
Tried no luck
Thank you though
Ill try it now! Thanks!
Edit: Worked! Thanks so much!
Click to expand...
Click to collapse
No problem, glad it worked for you!

need (my files) app on captivate

does anyone know if there is a .tar file or something so i could flash the my files app on my cappy that usually comes on the cappy with the official firmwares? i just need some kind of file to do that because i dont like astro and es file manager, etc. even a link to somewere where this has been done before would help, thanks.
Why use that when the others have a **** ton more functionality? Like root file exploration.
Do you have any .tar stock firmware package? Open that archive with 7zip and go to /system/app and drag it out...then use a root file explorer (lolz oh the irony) to drop it in /system/app
Or use adb to push it there
Or get a theme cwm zip package and delete all the files out of the folders (not touching the meta-inf folder) and drop it in /system/app and flash that.
studacris said:
then use a root file explorer (lolz oh the irony)...
Click to expand...
Click to collapse
I did indeed LOL
hmm...i think im gonna get the cwm package and just do that, do you have any link on one of those, if not then how can i get or look one of those up?
any theme zip will do, just not a ROM zip that has a kernel and modem in it you don't need top flash the theme zips ate just system apk files you can delete out and add your apk in. Make sure only that apk is in it though.
Hold on...I'll hey you a link where i posted a test zip you can use.
Edit: http://forum.xda-developers.com/showpost.php?p=22271929&postcount=1403
In that post is a cwm zip, open that archive with 7zip go to /system/app delete what's there and drop that apk in. Then flash that in recovery.
ya well it didnt work..
Ya well you give more detail we can help.... "It didn't work" isn't very helpful for trouble shooting...
it said that the installation was aborted
What version of cwm do you have?
Or are you on an aosp ROM?
Just use a root explorer, go in and unzip any file that has it in it, then go to the extracted folder, long press on it and hit COPY, then back out until your at SYSTEM and paste it, then look for the file in SYSTEM and long press on it and choose permissions, then change it so it matches the SAME PERMISSIONS in SYSTEM/APP, then once you have the permissions correct long press on it and move it into SYSTEM/APP and hit PASTE. them REBOOT the phone and it will be in there and working. NO NEED to try flashing it in cwm. This MAY sound like a lot of work but it is VERY EASY AND FOOL PROOF.
Sent from MY SPH-P100 running ICS
OI File Manager. Looks almost exactly like my files.
Ok rockratt...first of all...when i tried putting the file in system...
It said failed, and also what do you mean to fix the permisions?
Sent from my SGH-I897 using XDA App
It failed because you need to mount that partition r/w instead of the default r/o...should be an option for that on the root file explorer you used.
juggalo4life760 said:
Ok rockratt...first of all...when i tried putting the file in system...
It said failed, and also what do you mean to fix the permisions?
Sent from my SGH-I897 using XDA App
Click to expand...
Click to collapse
As studacris said make sure to set it to read/write. When using ROOT EXPLORER you will see a button towards the top the probably says MOUNT R/W click on it and then paste it to SYSTEM( the reason I say to paste it to SYSTEM first so you can change the apparently permissions before moving it into SYSTEM/APP since it will ask to overwrite a version of itself if it is already there. To change the permissions just long press, choose permissions, then click the appropriate boxes to make it have the correct permissions before placing it in.
Sent from My KickAss CM7 Captivate
Pasting to /system and Changing permissions shouldn't be needed.
And if it is..boot into recovery, go to advanced, and fix permissions

[ROOT] How to remove lock screen ads

both methods require a root explorer.
Method 1:
navigate to the system folder
find "App" folder
Change the name of "dtcp_apk.apk" to dtcp_apk.bat
Method 2:
Navigate to system folder
find "App" folder
change permissions of Dtcp_apk.apk to all blank
Hope this helped someone.
Credits to spunker88 for sharing this info.
the first method worked great for me
thanks
Dassen said:
both methods require a root explorer.
Method 1:
navigate to the system folder
find "App" folder
Change the name of "dtcp_apk.apk" to dtcp_apk.bat
Method 2:
Navigate to system folder
find "App" folder
change permissions of Dtcp_apk.apk to all blank
Hope this helped someone.
Credits to spunker88 for sharing this info.
Click to expand...
Click to collapse
I tried both without success.. What explorer are you using? I tried with ES and got an error "the operation failed".. and I couldnt change permissions neither
thanks for any help
Are you rooted?
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
blazeplacid said:
Are you rooted?
Click to expand...
Click to collapse
I supposed to. I rooted my device to install google play.. but I dont know if I continue been root.. I checked my permissions on system\app and I only have readable..
Could you explain me how to check if I am root, and if not, how to be root again to apply your process?
Thanks for your help
karacc said:
I supposed to. I rooted my device to install google play.. but I dont know if I continue been root.. I checked my permissions on system\app and I only have readable..
Could you explain me how to check if I am root, and if not, how to be root again to apply your process?
Thanks for your help
Click to expand...
Click to collapse
You go to the setting of ES,then at the bottom of setting menu, it has Root setting. Go there and checked all check boxes. If you can, that's mean your KF is rooted.
Sent from my KFTT using xda app-developers app
tried method 1 and it worked right away :good:
Worked
Method 1 worked for me.
Thanks.
Dassen said:
both methods require a root explorer.
Method 1:
navigate to the system folder
find "App" folder
Change the name of "dtcp_apk.apk" to dtcp_apk.bat
Method 2:
Navigate to system folder
find "App" folder
change permissions of Dtcp_apk.apk to all blank
Hope this helped someone.
Credits to spunker88 for sharing this info.
Click to expand...
Click to collapse
Worked for me, too. Was surprised about the beautiful wallpapers to see now everytime i turn the thingy on
Adding a Boot Animation
Thanks for this info. I used the 2nd method and it worked immediately. Are there Boot Animations for the KFHD? Or can Boot Animations from, say my LG ICS Spectrum work?
Dassen said:
both methods require a root explorer.
Method 1:
navigate to the system folder
find "App" folder
Change the name of "dtcp_apk.apk" to dtcp_apk.bat
Method 2:
Navigate to system folder
find "App" folder
change permissions of Dtcp_apk.apk to all blank
Hope this helped someone.
Credits to spunker88 for sharing this info.
Click to expand...
Click to collapse
Awesome, confirmed working on kindle fire 2 running 10.2.1
frieked said:
Awesome, confirmed working on kindle fire 2 running 10.2.1
Click to expand...
Click to collapse
Thanks a lot for this :highfive:
Confirmed works on KF 8.9, thanks OP! I renamed to dtcp_apk.ads
finally, those horrific ad screens are gone! thank you sir!
if you have adb available, you should be able to do this without a root explorer.
use one of the following codes:
adb shell
su
mount -o remount,rw /system
mv /system/app/dtcp_apk.apk /system/app/dtcp_apk.apk.bak
exit
exit
adb shell
su
mount -o remount,rw /system
chmod 000 /system/app/dtcp_apk.apk
exit
exit
adb shell
su
mount -o remount,rw /system
rm /system/app/dtcp_apk.apk
exit
exit
The first one will rename it. The second one will clear its permissions. The third one will remove it completely.
It should go without saying, but its not my fault if you screw something up, or if it is necessary to have this apk in your system, and you use the third method. I haven't tried it, but it should work. I do know what the commands do.
Didn't also work for me with es file explorer the first time i've tried it, although i've enabled all root options.
Rebooting the device helped me, but it's also important to make sure that you give the explorer the permission to change system data
Sent from my KFTT using XDA Premium HD app
Method 1 working
I tried it just out of curiosity and it worked right away. Using ES explorer, BTW.
Thanks!
Dassen said:
both methods require a root explorer.
Method 1:
navigate to the system folder
find "App" folder
Change the name of "dtcp_apk.apk" to dtcp_apk.bat
Method 2:
Navigate to system folder
find "App" folder
change permissions of Dtcp_apk.apk to all blank
Hope this helped someone.
Credits to spunker88 for sharing this info.
Click to expand...
Click to collapse
Thank you so much!!! Method 1 worked great. Also renamed the odex file to .odex.bat through root explorer. Note, in root explorer you will probably have to push the little 'Mount R/W" button once you get into system/app
Sweet. $15 saved.
Thanks for the quick 'how to'.

Categories

Resources