Jump to content

flashing apps


Guest liorwei

Recommended Posts

Guest liorwei

if i have an apk file that i want to install.

can i put it in .zip and in system/app folder. sign it. and flash it?

i know there is others ways.

Link to comment
Share on other sites

Guest jpool
if i have an apk file that i want to install.

can i put it in .zip and in system/app folder. sign it. and flash it?

i know there is others ways.

If you have the .apk already on your SD card then just install using any good file manager app, e.g. 'Astro', 'EStrongs File Explorer' or even just 'Apk Manager'

You can also use an update.zip that will flash it to /system/app from recovery, but the first method is by far the simplest :)

Link to comment
Share on other sites

Guest liorwei

i know thats why i wrote:"i know there is others ways"

but if i have an apk. i need the "META-INF" folder. does this folder spaciel to any .zip?

Link to comment
Share on other sites

Guest Dr. dre
i know thats why i wrote:"i know there is others ways"

but if i have an apk. i need the "META-INF" folder. does this folder spaciel to any .zip?

Do you know how to sign files ? If yes then do you know how to make the update script ?

Link to comment
Share on other sites

Guest Dr. dre
no. i hoped somebody will help me with that.

Just upload the .apk, I'll help you with that or I'll make a .zip for you :)

OR you can go the easy way by just pushing the .apk to /system/app

Edited by Dr. dre
Link to comment
Share on other sites

Guest Dr. dre
thanks. can you show me an exemple of how do i push an apk to app folder?

Just Setup ADB and with your phone on just give these commands :

adb remount

adb push xxx.apk /system/app/

with the .apk file in the ADB Directory

Link to comment
Share on other sites

Guest Dr. dre
dont i need "adb shell" after the adb remount?

and can you write the command for pushing from not the adb folder directory?

No! you don't need to give adb shell for pushing and pulling files, and It will be better if you keep the .apk file in the ADB directory or else sometimes it doesn't work, But still here is the command :

adb remount

adb shell C:\xxx\xxx.apk /system/app/

But this mostly doesn't work

Link to comment
Share on other sites

Guest liorwei

thanks.

and just one last question. can i take from somewhere else "META-INF" and put it in the new folder and use the signapk tool?

think not, but just in case i can...

if not can you give me a link to guide so i can learn how to do stuff like this?

Edited by liorwei
Link to comment
Share on other sites

Guest Dr. dre
thanks.

and just one last question. can i take from somewhere else "META-INF" and put it in the new folder and use the signapk tool?

think not, but just in case i can...

if not can you give me a link to guide so i can learn how to do stuff like this?

Signing tool will give you the META-INF folder once you sign the .zip but you have to create the 'com' folder which has the 'update-script' file which you have to create yourself, I didn't find any links to this but by signing files I gradually came to know how to write the update-script, I'll suggest you to check all the .zip's you download for the update-script and gain some knowledge :)

Link to comment
Share on other sites

Guest Dr. dre
if i understood it so i need to write:

copy_dir XXXX.apk SYSTEM:app

is that right?

show_progress 0.1 0

copy_dir PACKAGE:system SYSTEM:

show_progress 0.1 10

No need to write the .apk name

Link to comment
Share on other sites

Guest liorwei

okay let me get it strate.

i have a zip file that have system/app folder and in it, it have all the apps that i want to copy.

so i am telling him to copy the system folder into the system folder?

why do i need the "show_progress 0.1 0"

and if i will write what i wrote before thats will be okay, or not?

can you explain it to me a bit more, generally, because i want to understand it and not just copy-paste.

thank you a lot for all the helping!!!

Link to comment
Share on other sites

Guest Dr. dre
okay let me get it strate.

i have a zip file that have system/app folder and in it, it have all the apps that i want to copy.

so i am telling him to copy the system folder into the system folder?

why do i need the "show_progress 0.1 0"

and if i will write what i wrote before thats will be okay, or not?

can you explain it to me a bit more, generally, because i want to understand it and not just copy-paste.

thank you a lot for all the helping!!!

Basically by making these folders /system/app/ you are specifying the phone where to copy these setups, Even I don't know what exactly does show _progress means.

The thing you wrote before would be wrong and while flashing the .zip it will show an error in update-script

Link to comment
Share on other sites

Guest liorwei

and if wouldn't put the apk in folders?

if i am writing something wrong in the update-script, can i do something bad to my phone?

i mean in others update script to, not only that.

Edited by liorwei
Link to comment
Share on other sites

Guest Dr. dre
and if wouldn't put the apk in folders?

if i am writing something wrong in the update-script, can i do something bad to my phone?

i mean in others update script to, not only that.

No it will simply show you an error while flashing the .zip

Link to comment
Share on other sites

Guest Dr. dre
oh, in which file extention does the update-script should be?

.txt?

I don't know the extension, But you will be able to open it with notepad and to make update-script just extract it out from an .zip and modify it.

Link to comment
Share on other sites

Guest liorwei

ok i did it.

now if you may, other question.

can i use it to run other scripts?

like removing progrems?

if yes what is the command for this.

and i tried once with your method. and once your method just without the show_progress. and they both worked.

Edited by liorwei
Link to comment
Share on other sites

Guest Dr. dre
ok i did it.

now if you may, other question.

can i use it to run other scripts?

like removing progrems?

if yes what is the command for this.

and i tried once with your method. and once your method just without the show_progress. and they both worked.

Yes you can do with this, But I always prefer doing it with ADB as it is pretty easy and you don't need to reboot the phone.

BTW Here you go :-

delete SYSTEM:app/xxx.apk

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.