ApkMultiTool - Verizon HTC One (M8)

Anybody know how to change the destination folder when installing the modified apk?

wileout said:
Anybody know how to change the destination folder when installing the modified apk?
Click to expand...
Click to collapse
What do you mean exactly?
Are you installing using a flashable zip or the application?
A flashable zip is the easiest way so you can edit the installer script to place it in whatever directory you wish.
I never use the apk tools themselves for installing.
You can also boot to recovery and mount system.
Then from terminal, EX:
Code:
adb push MyCoolMod.apk /system/app
Let me know if that helps, or if you need more info, or are deadset on using that app to install and we can go from there.

santod040 said:
What do you mean exactly?
Are you installing using a flashable zip or the application?
A flashable zip is the easiest way so you can edit the installer script to place it in whatever directory you wish.
I never use the apk tools themselves for installing.
You can also boot to recovery and mount system.
Then from terminal, EX:
Code:
adb push MyCoolMod.apk /system/app
Let me know if that helps, or if you need more info, or are deadset on using that app to install and we can go from there.
Click to expand...
Click to collapse
I was trying to use the tool to push iy becaude i cant get adb to push it at all...but the tool keeps trying to push it to data/app or something like that and i need it to go to system/priv-app

ok tried adb pushing it again and no go even doing it with your command. any ideas?

wileout said:
ok tried adb pushing it again and no go even doing it with your command. any ideas?
Click to expand...
Click to collapse
My bad, forgot a slash, try it again.
Code:
adb push MyCoolMod.apk /system/priv-app/

santod040 said:
My bad, forgot a slash, try it again.
Code:
adb push MyCoolMod.apk /system/priv-app/
Click to expand...
Click to collapse
I did that man it just restarts adb like i put in a bad command or it says cannot stat blah blah blah file or directory not found

Ive had tigerstown tryin to help me out too and he has no idea whats going on

well got adb to push it but I lost my clock widget all together lol

wileout said:
well got adb to push it but I lost my clock widget all together lol
Click to expand...
Click to collapse
Using stock data cable? Had that be a problem on other devices when pushing files.
Sent from my HTC6525LVW using Tapatalk

wileout said:
well got adb to push it but I lost my clock widget all together lol
Click to expand...
Click to collapse
You need to do:
adb remount /system rw
adb push test.apk /system/priv-app

jsaxon2 said:
You need to do:
adb remount /system rw
adb push test.apk /system/priv-app
Click to expand...
Click to collapse
Do i replace test with the name of the file?

wileout said:
Do i replace test with the name of the file?
Click to expand...
Click to collapse
Yes sir.
You also need to have the file in your adb directory and start the command prompt from there.
There are other ways to do it, but this should work for you.

jsaxon2 said:
Yes sir.
You also need to have the file in your adb directory and start the command prompt from there.
There are other ways to do it, but this should work for you.
Click to expand...
Click to collapse
I got the widget back by going into the priv-app folder and clicking it and installing it but now it force closes so im assuming its something on my end with how it was signed and stuff

wileout said:
I got the widget back by going into the priv-app folder and clicking it and installing it but now it force closes so im assuming its something on my end with how it was signed and stuff
Click to expand...
Click to collapse
After you push to the /system/priv-app folder, did you reboot? That should have installed it for you. Might also be a permissions problem. Make sure the permissions on your file are the same as the permissions on the rest of the files in that folder.

jsaxon2 said:
After you push to the /system/priv-app folder, did you reboot? That should have installed it for you. Might also be a permissions problem. Make sure the permissions on your file are the same as the permissions on the rest of the files in that folder.
Click to expand...
Click to collapse
Ok ill try that...thanks for your help ill report back

jsaxon2 said:
After you push to the /system/priv-app folder, did you reboot? That should have installed it for you. Might also be a permissions problem. Make sure the permissions on your file are the same as the permissions on the rest of the files in that folder.
Click to expand...
Click to collapse
Tried that and im still getting force closes so its something on my end im assuming

Related

How to make the system/app/ folder writable?

I tried to install apps in the terminal emulator, but I got a message like "the folder is only readable" or something like that. Is there anyway to make the system/app/ folder writable? Thanks.
praguewatermelon said:
I tried to install apps in the terminal emulator, but I got a message like "the folder is only readable" or something like that. Is there anyway to make the system/app/ folder writable? Thanks.
Click to expand...
Click to collapse
type "remount"
if you're using adb, type "adb remount"
Are you rooted?
You need a rooted ROM to be able to write to /system...
atolar said:
Are you rooted?
Click to expand...
Click to collapse
Apparently not

Droid 2 Bootanimation

OK so i put this in and it works like a charm...... i am running CM6-RC1 with BF Kernel and again it works like a charm....
i did not make this...... just felt like i should share the love....
Steps i took to put this in...
adb pull bootanimation.zip
deleted it from the adb tool folder
adb push this back to /system/media...
adb reboot and enjoy......
if anybody knows how to put the mp3 in and make it work let me
know i have it.....
Ps... i would like to have the sound in it but cant get it to work
if you know how to do it please let me know.......
This looks awesome thenx 4 sharing
cool.... let me know if it worked for you.....
Np..ill do it in like 10 min
not working on 9/1 nightly for me hmm this might make me flash rc1 to test
xII v EnFamouz 2 IIx said:
not working on 9/1 nightly for me hmm this might make me flash rc1 to test
Click to expand...
Click to collapse
What do you get your old one or solid black screen...
Sent from my HERO200 using XDA App
i got it i just needed to reboot...probably sumthing with my phone
Yeah I had to do the same.... now If I can only figure out how to put the sound it would be great...
Sent from my HERO200 using XDA App
Big-O-Devil said:
Yeah I had to do the same.... now If I can only figure out how to put the sound it would be great...
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
This might help? http://forum.xda-developers.com/showthread.php?t=747145
yeah so i think i have tried almost all the ways that i can fine... and still no luck.... so again if anybody out there knows how to add sound to this please show me the way to salvation......please........
Thanks for the bootscreen.
Works great (no sound, which I prefer)!
Thanks!
read-only file system
even after setting my android-sdk-windows to have the read only box unchecked I still get an error in the cmd prompt saying i have a read-only system
Vandelay007 said:
even after setting my android-sdk-windows to have the read only box unchecked I still get an error in the cmd prompt saying i have a read-only system
Click to expand...
Click to collapse
yeah i got that to.....you have to exit and keep on trying... like i said it happened to me to and on the second try i got it....
do you mean to keep re-trying the command prompt or keep retrying setting the folder so its not read-only
Vandelay007 said:
do you mean to keep re-trying the command prompt or keep retrying setting the folder so its not read-only
Click to expand...
Click to collapse
i think the problem is the whole adb thing.... exit out of your command prompt and try again.... it should go....
Being so new at this - only a month with a rooted hero - I didn't think to change my folder permissions on the phone level - so I went into Root Explorer and changed it to R/W - and it gets further than I had before - but no file transfer takes place
This is what I'm typing into cmd
adb push c:\bootanimation.zip \system\media
then I get: 950kb/s - (0 byes in ###s)
adb push bootanimation.zip /system/media
when I do that I get 'no such file or directory' which folder should I have the .zip in to make this easiest ? I just have it in c: right now
Vandelay007 said:
when I do that I get 'no such file or directory' which folder should I have the .zip in to make this easiest ? I just have it in c: right now
Click to expand...
Click to collapse
Go to you c :/ drive then into your sdk folder then into your tools folder and put it in there...
Sent from my HERO200 using XDA App

Rooted, trying to reinstall deleted Stock.apk

I had a questions about restoring the deleted Stocks app. I rooted with the new unrevoked last night and then installed Titanium to remove apps. I prematurely removed the Stocks app and I have been trying to get it back since.
I've tried multiple routes, from this Wildefire thread http://forum.xda-developers.com/showthread.php?t=738147 I tried the apk via adb and Root Explorer. Neither worked.
Then I downloaded the stock odexed EVO rom from this thread http://forum.xda-developers.com/showthread.php?t=874251, grabbd the stock.apk and moved it to my \system\apps folder with Root Explorer. I've restarted, tried clearing the Dalvik Cache, pushing it via adb, none have worked.
Right now it's still sitting in the \system\app folder.
I wanted to see if there was anything else I can try to get it back? Or am I doing something wrong?
Thanks in advance.
I take it you are running stock Rom. I think the best way is to make a nandroid of the stock Rom that you are running, with ClockworkMod. Once done download Myn's Rom or sprint lovers. Both of this Rom's have the stock Sprint apps. When flashing the Roms, please, make sure to use Rom Manager and flash ClockworkMod, than flash Amo-ra; is located at the buttom as an alternate recovery. Than once you flash the Rom, let it load, than flash clockworkMod again, than go into recovery, than restore,advance restore, select the newest nandroid, and just restore data. This will give you all the stock apps. OR just try this.
http://forum.xda-developers.com/showthread.php?t=832388
Here are some more apk's.
http://forum.xda-developers.com/showthread.php?t=901393
grab the apk out of the stock rom you have, then in adb do this
adb remount
adb push Stock.apk /system/app
if you need to push the odex do this also
adb push Stock.odex /system/app
the important thing is the remount to make the system/app read write
you can go to the rom file open the file then open system then open app and add the apk you want and reload the rom into the phone that sit more simple
ifly4vamerica said:
grab the apk out of the stock rom you have, then in adb do this
adb remount
adb push Stock.apk /system/app
if you need to push the odex do this also
adb push Stock.odex /system/app
the important thing is the remount to make the system/app read write
Click to expand...
Click to collapse
I did the above while booted in recovery mode with the system mounted. It successfully went in the system/app folder. I see it in Root Explorer, although it still doesn't show up in the apps menu. Oh well.
baker2gs said:
I did the above while booted in recovery mode with the system mounted. It successfully went in the system/app folder. I see it in Root Explorer, although it still doesn't show up in the apps menu. Oh well.
Click to expand...
Click to collapse
Yeah it doesn't work right if you are in recovery because it messes with permissions I heard. Just do it with phone plugged in to computer and on. If that doesn't work you can try deleting the apk and then using
Adb remount
Adb install stock.apk
Don't know if these will work but worth a try. Last resort is find a flashable zip that writes something to system/app and drop the apk in there.
Evo Sent
ifly4vamerica said:
Yeah it doesn't work right if you are in recovery because it messes with permissions I heard. Just do it with phone plugged in to computer and on. If that doesn't work you can try deleting the apk and then using
Adb remount
Adb install stock.apk
Don't know if these will work but worth a try. Last resort is find a flashable zip that writes something to system/app and drop the apk in there.
Evo Sent
Click to expand...
Click to collapse
When I run that command with the phone on charge mode with debugging on plugged into the computer I get a "remount failed: Operation not permitted".
I installed the Sync drivers and tried it with that but it didn't work either.
Any suggestions? Thanks for your help by the way.
baker2gs said:
When I run that command with the phone on charge mode with debugging on plugged into the computer I get a "remount failed: Operation not permitted".
I installed the Sync drivers and tried it with that but it didn't work either.
Any suggestions? Thanks for your help by the way.
Click to expand...
Click to collapse
I can't help with that, never ran in to that problem before, are you nand unlocked and s-off?
ifly4vamerica said:
I can't help with that, never ran in to that problem before, are you nand unlocked and s-off?
Click to expand...
Click to collapse
Yes to both, I have been trying to do research on it. It may be the stock rom...
I tried some workarounds but they didn't work. Thanks for your help.
baker2gs said:
Yes to both, I have been trying to do research on it. It may be the stock rom...
I tried some workarounds but they didn't work. Thanks for your help.
Click to expand...
Click to collapse
No problem, sorry I couldn't help.
Evo Sent
Just an update, I tried the .zip route you suggested. I created a Titanium back up and threw the Stock.apk in the zip. I ran the update.zip in recovery. It placed Stock.apk in the system/app folder but the app still does not appear in the apps menu. Thanks again.

[Q] ADB android to android?

Hi I was wondering if it were possible to run adb on my infinity so I can hook my phone up to it.
I'm getting real tired of firing my old laptop to use adb for my phone.
shaggydiamond said:
Hi I was wondering if it were possible to run adb on my infinity so I can hook my phone up to it.
I'm getting real tired of firing my old laptop to use adb for my phone.
Click to expand...
Click to collapse
I found this a while ago, but never tried it:
http://forum.xda-developers.com/showthread.php?t=2033722
_that said:
I found this a while ago, but never tried it:
http://forum.xda-developers.com/showthread.php?t=2033722
Click to expand...
Click to collapse
Thanks, but this won't work for me, it's a flashable zip and I don't want to unlock my bootloader(yet)
shaggydiamond said:
Thanks, but this won't work for me, it's a flashable zip and I don't want to unlock my bootloader(yet)
Click to expand...
Click to collapse
Shouldn't need to flash anything. Just download the zip file, extract the contents, copy the `kadb' file to /system/bin (or /system/xbin), and finally set permissions (chmod 0755 /system/bin/kadb). To use, just open a terminal emulator and run the binary.
Haven't tried it myself, but it looks like what you're looking for.
becomingx said:
Shouldn't need to flash anything. Just download the zip file, extract the contents, copy the `kadb' file to /system/bin (or /system/xbin), and finally set permissions (chmod 0755 /system/bin/kadb). To use, just open a terminal emulator and run the binary.
Haven't tried it myself, but it looks like what you're looking for.
Click to expand...
Click to collapse
Oh i might have misread it then. i'll give it a go this weekend

[Q] Install apk from recovery

I screwed up my phone, there's not launcher, touchwiz, and system ui fail, setting app fails. Everything is screwed up. I'm really new to this, but is there any way to install these things (I have the apks) from recovery?
Ardentes said:
I screwed up my phone, there's not launcher, touchwiz, and system ui fail, setting app fails. Everything is screwed up. I'm really new to this, but is there any way to install these things (I have the apks) from recovery?
Click to expand...
Click to collapse
Push all your stock launcher,systemui,settings apk from stock ROM into a flash able zip
Sent from my GT-S7500 using xda app-developers app
Techix18 said:
Push all your stock launcher,systemui,settings apk from stock ROM into a flash able zip
Sent from my GT-S7500 using xda app-developers app
Click to expand...
Click to collapse
Soooo, not to sound like a noob, or whatever, but... how do I do that?
re-flash your stock rom/custom rom
akosicarlo said:
re-flash your stock rom/custom rom
Click to expand...
Click to collapse
I don't have the stock rom, all I have is the backup, and the backup is missing the system.img file
you backed up your custom rom?
find it on recovery
Backup and Restore -> Restore
akosicarlo said:
you backed up your custom rom?
find it on recovery
Backup and Restore -> Restore
Click to expand...
Click to collapse
I backed up a stock rom, using mtkdroidtools, however after telling it to prepare the block so that I can use sp flash tools, it gets all of the files ready, but there is no system.img file
what device u are using with?
Ardentes said:
Soooo, not to sound like a noob, or whatever, but... how do I do that?
Click to expand...
Click to collapse
Download your stock firmware and extract the system file from the firmware and grab whatever you need from the stock system file and put it into this sample.zip that i have attached.If you want to add any more things,pls add additional codes into the updater script
If you have cwm recovery then you can use adb to push the respective files to their places and set permissions
sorry for any ty¶°s
Techix18 said:
Download your stock firmware and extract the system file from the firmware and grab whatever you need from the stock system file and put it into this sample.zip that i have attached.If you want to add any more things,pls add additional codes into the updater script
Click to expand...
Click to collapse
I'm getting signature verification failed. Installation aborted
professor_proton said:
If you have cwm recovery then you can use adb to push the respective files to their places and set permissions
sorry for any ty¶°s
Click to expand...
Click to collapse
Unfortunately I don't have cwm, kinda wishing I did though
Ardentes said:
Unfortunately I don't have cwm, kinda wishing I did though
Click to expand...
Click to collapse
"One simply doesn't mess with phone without having a custom recovery "
Still if your ROM boots and your rooted and you have adb on your PC (its a must bro , I personally can't live without it )
Type (not the part in *le something* )
Adb shell *le presses enter*
Su *le presses enter again*
Mount -o rw, remount /system /system *le does it again*
Exit *enter*
Exit *enter*
Example if you want to push systemui
adb push SystemUI.apk /system/app/SystemUI.apk
*enter*
Similarly push all other apps
Adb shell *le presses enter again*
Su
Chmod 644 /system/app/SystemUI.apk
Change the SystemUI.apk to what ever app you want to replace
This Is one of these moments we realise how important adb and custom recoveries are
sorry for any ty¶°s
professor_proton said:
"One simply doesn't mess with phone without having a custom recovery "
Still if your ROM boots and your rooted and you have adb on your PC (its a must bro , I personally can't live without it )
Type (not the part in *le something* )
Adb shell *le presses enter*
Su *le presses enter again*
Mount -o rw, remount /system /system *le does it again*
Exit *enter*
Exit *enter*
Example if you want to push systemui
adb push SystemUI.apk /system/app/SystemUI.apk
*enter*
Similarly push all other apps
Adb shell *le presses enter again*
Su
Chmod 644 /system/app/SystemUI.apk
Change the SystemUI.apk to what ever app you want to replace
This Is one of these moments we realise how important adb and custom recoveries are
sorry for any ty¶°s
Click to expand...
Click to collapse
It isn't recognizing my phone
Ardentes said:
It isn't recognizing my phone
Click to expand...
Click to collapse
Debugging not enabled ???
it hurts when I help someone and they say thanks Instead of pressing the button
professor_proton said:
Debugging not enabled ???
it hurts when I help someone and they say thanks Instead of pressing the button
Click to expand...
Click to collapse
I can't enable debugging, the rom boots fine, as soon as it gets to the lock screen, there are no settings, because setting stops working, touchwiz stops working and so does systemui, and they constantly stop working to the point that I can't do anything.
Ardentes said:
I can't enable debugging, the rom boots fine, as soon as it gets to the lock screen, there are no settings, because setting stops working, touchwiz stops working and so does systemui, and they constantly stop working to the point that I can't do anything.
Click to expand...
Click to collapse
Well that sucks ! And the screwup of the year award goes to you !
Well then the last resort would be flashing stock rom using Odin
professor_proton said:
Well that sucks ! And the screwup of the year award goes to you !
Well then the last resort would be flashing stock rom using Odin
Click to expand...
Click to collapse
I'd love to... if my phone could go into download mode... or if I had the stock rom....
Ardentes said:
I'd love to... if my phone could go into download mode... or if I had the stock rom....
Click to expand...
Click to collapse
Which phone do you have ???
it hurts when I help someone and they say thanks Instead of pressing the button
professor_proton said:
Which phone do you have ???
it hurts when I help someone and they say thanks Instead of pressing the button
Click to expand...
Click to collapse
Its a gt-i9500 galaxys s4 clone. but it has only samsung logos, so I can't determine the original manufacturer.

Categories

Resources