New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
J_Mod45
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Mar 2011
Default [Q] .apk file install not working?

So I flashed the MikShift ROM onto my phone a few days ago, but I noticed that sprint tv, and also sprint navigator are missing. I found the .apk files in the mikshift folder, but when I try to install them, it says application not installed. I also tried installing it using the android sdk with no luck.

My next thought, which I am afraid to try (unless its right) is to unzip the rom on my comp, copy the sprint tv and navigator .apks into the system folder, re-compress is, then try flashing that rom. (I can't copy the files with it compressed)

What is the correct way to do this? I know it can be done, or the .apk wouldn't still be in the file, right?

Please help a noob out.
 
smp420
Old
#2  
Member
Thanks Meter 5
Posts: 42
Join Date: Feb 2010
7zip will allow you to move files into the archive without extracting. Not 100%, but on my moment files needed to be zipped in a special way. If you absolutely have to extract it then I'm pretty sure you have to change compression settings to no compression. I'm also fairly sure that if you mess up CWM won't let you flash it.
 
JKILO
Old
#3  
JKILO's Avatar
Senior Member
Thanks Meter 158
Posts: 658
Join Date: Feb 2011
Location: Columbus

 
DONATE TO ME
Mount your /system as rw
Download terminal emulator and type
Su
Mount -o rw,remount -t ext3 /dev/block/mmcblk3p26 /system

Then install

Sent from my PG06100 using XDA App


TEAM MiK
Since FEB 2011

 
J_Mod45
Old
(Last edited by J_Mod45; 3rd April 2011 at 04:30 PM.)
#4  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Mar 2011
i believe i did everything as instructed, but the file still didn't install.
 
J_Mod45
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Mar 2011
I can't get the files moved with 7zip either. I'm pretty sure thats not the correct way of doing it anyway.
 
danaff37
Old
#6  
danaff37's Avatar
Senior Member
Thanks Meter 713
Posts: 2,515
Join Date: Mar 2010
Location: Saint Petersburg, FL
Follow the remount command above, then copy it to system, don't install

cp /sdcard/whateverFolder/blah.apk /system/app/

Sent from my PG06100 using XDA App
Those who think linux is free, must not value their time.
 
J_Mod45
Old
#7  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Mar 2011
IT LIVES!!! Thank you very much.

I understand the the copy command that I did through terminal emulator, but what is the first command? I can at least figure out that i'm telling the emulator to mount the phone as r/w, then remounting it for edit i think, but i'm not sure what the "ext3 /dev/block/mmcblk3p26 /system" part means. Could someone explain that? I really want to get more involved in my phone, so i'm trying to learn all I can.
 
danaff37
Old
#8  
danaff37's Avatar
Senior Member
Thanks Meter 713
Posts: 2,515
Join Date: Mar 2010
Location: Saint Petersburg, FL
I'll walk you through it.

mount = the base command
-o = with options
rw, remount = add the read/write option, and remount
-t = using file system type
ext3 = the file system type
/dev/block/mmcblk0p26 = the absolute path to the special device file that points to that partition
/system = when you mount that partition call it /system (which it already was, hence the remount option earlier)

Sent from my PG06100 using XDA App
Those who think linux is free, must not value their time.
The Following User Says Thank You to danaff37 For This Useful Post: [ Click to Expand ]
 
J_Mod45
Old
#9  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Mar 2011
Awesome, thank you very much.
 
mij9895
Old
#10  
Member
Thanks Meter 5
Posts: 51
Join Date: Mar 2010
Location: Southern Nevada
Where did you find the mikshift folder you are talking about on here? I would like to install Sprint TV as well. Thanks.


XDA PORTAL POSTS

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when … more

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more