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?
 
Kcarpenter
Old
#1  
Kcarpenter's Avatar
Senior Member - OP
Thanks Meter 146
Posts: 3,347
Join Date: Nov 2009
Location: Clinton, TN
Default Install App From another Android?

I got my self the hero, and my wife the Moment. I am slightly jealous of the hardware she has..but that aside, I am in love with my Hero.

However, she does have one app that i really want and the market place does not have. I assume this is an app installed by sprint.
It is Photo and Video uploader. You set an email address or other location and after a video or photo is taken, it automatically uploads the photo to the predetermined destination. GREAT FOR BACKING UP PICTURES! But, her camera hardware blows. 3.2 MP and it is sooo slow. So picture quality is no where near that of the Hero's 5 MP.

So the real question here - -
Can I ADB into her phone and just take the .APK and ODEX file for this app and push it to my phone? Is it that easy???
 
flipzmode
Old
#2  
flipzmode's Avatar
Recognized Developer
Thanks Meter 917
Posts: 1,325
Join Date: Jan 2009

 
DONATE TO ME
Some apps are that easy. Give it a try and find out! The worst thing you'll get is some force closes.

However most stock apps require files from /system/lib that help run that apk. And they don't have the same naming convention therefore you won't know which one(s) it is amongst the 100s there. But I always say try and see what happens.
Xylon - Nexus 4: 2.1.1b2 (Android 4.2.2)
Fresh Evo LTE: 5.3.1 (Android 4.0.4) || Fresh Evo 3d: 4.2.0 (Android 2.3.4) || Fresh Evo: 4.3.3
Fresh Shift: 4.1.1 (Android 2.3.3) || Fresh Hero: 2.4.0 (Android 2.1)

CDMA Android development and Fresh rom home: http://GeekFor.Me || Twitter

 
thedudejdog
Old
#3  
Senior Member
Thanks Meter 208
Posts: 1,863
Join Date: Sep 2008
Location: Kansas City Mo

 
DONATE TO ME
And if it works upload that .apk for the rest of us!
 
Kcarpenter
Old
#4  
Kcarpenter's Avatar
Senior Member - OP
Thanks Meter 146
Posts: 3,347
Join Date: Nov 2009
Location: Clinton, TN
Thinking out loud here...well..you get the point.

Could I copy all of system/lib and only copy the files that dont already exist?
That could be a giant waste of space though, and it could still rely on a file that I have, not just one that isn't there....

Also since I am not "installing" the app, could Apps2SD hinder me? I am not entirely sure how a2sd works other than tricking the phone into using the SD card as a partition and unioning it with the existing part.

I love how open android is supposed to be, but how the darn manufacturers kill us with the different platform crap.
 
Kcarpenter
Old
#5  
Kcarpenter's Avatar
Senior Member - OP
Thanks Meter 146
Posts: 3,347
Join Date: Nov 2009
Location: Clinton, TN
Quote:
Originally Posted by thedudejdog View Post
And if it works upload that .apk for the rest of us!
Am I aloud to do that? I have seen XDA Mods get on to some people about uploading APK's. I guess I should read the EULA for that app before I do?
 
flipzmode
Old
#6  
flipzmode's Avatar
Recognized Developer
Thanks Meter 917
Posts: 1,325
Join Date: Jan 2009

 
DONATE TO ME
Quote:
Originally Posted by Kcarpenter View Post
Thinking out loud here...well..you get the point.

Could I copy all of system/lib and only copy the files that dont already exist?
That could be a giant waste of space though, and it could still rely on a file that I have, not just one that isn't there....

Also since I am not "installing" the app, could Apps2SD hinder me? I am not entirely sure how a2sd works other than tricking the phone into using the SD card as a partition and unioning it with the existing part.

I love how open android is supposed to be, but how the darn manufacturers kill us with the different platform crap.
Copying the ../lib/ over and not replacing existing files could work. lol. As for apps2sd... you kind of have two ways you can try installing this. Without copying the lib and all that just try putting the apk on to your sdcard and browsing to it using astro or linda (a file manager) and click on the apk and installing it. See if it errors out or fails. If it does, THEN try copying it and the odex to /system/app (if it has an odex I'm pretty confident you won't be able to install it using package manager). If that still fails then you can go crazy and trying copying the lib ha.

Quote:
Originally Posted by Kcarpenter View Post
Am I aloud to do that? I have seen XDA Mods get on to some people about uploading APK's. I guess I should read the EULA for that app before I do?
I don't remember if I read it on here or ppcgeeks but I believe officially the only stock apk's not allowed is quick office. But don't quote me on that.
Xylon - Nexus 4: 2.1.1b2 (Android 4.2.2)
Fresh Evo LTE: 5.3.1 (Android 4.0.4) || Fresh Evo 3d: 4.2.0 (Android 2.3.4) || Fresh Evo: 4.3.3
Fresh Shift: 4.1.1 (Android 2.3.3) || Fresh Hero: 2.4.0 (Android 2.1)

CDMA Android development and Fresh rom home: http://GeekFor.Me || Twitter

 
Kcarpenter
Old
#7  
Kcarpenter's Avatar
Senior Member - OP
Thanks Meter 146
Posts: 3,347
Join Date: Nov 2009
Location: Clinton, TN
So I hooked up to the Moment through ADB last night.

Found out really quickly that I can SU with it....

There is a "non permanent" hack out there to become root, but I tried it and still couldn't mount the file system to copy from it.

Any ideas guys?

From what I understand the Moment uses an FS16? file System? Something Odd that non of the other droids seem to be using.
 
rockcrawler
Old
#8  
rockcrawler's Avatar
Senior Member
Thanks Meter 3
Posts: 214
Join Date: Nov 2009
Location: Elk Grove, CA
Just an Idea, thought I would throw it out there.

Does the temporary root allow for running applications as root an the device itself?

There is an app in the market called root explorer that allows copy/paste/cut/delete from the system/app folder.

It may be possible to use that app to copy the needed filed to your sdcard and then extract them from there.

This would all be contingent on the app being able to mount the directory as r/w though, so who knows, worth a shot though i guess.
 
Kcarpenter
Old
(Last edited by Kcarpenter; 4th December 2009 at 07:28 PM.) Reason: Spelling
#9  
Kcarpenter's Avatar
Senior Member - OP
Thanks Meter 146
Posts: 3,347
Join Date: Nov 2009
Location: Clinton, TN
Quote:
Originally Posted by rockcrawler View Post
Just an Idea, thought I would throw it out there.

Does the temporary root allow for running applications as root an the device itself?

There is an app in the market called root explorer that allows copy/paste/cut/delete from the system/app folder.

It may be possible to use that app to copy the needed filed to your sdcard and then extract them from there.

This would all be contingent on the app being able to mount the directory as r/w though, so who knows, worth a shot though i guess.
This root doesn't allow you to run Root apps. not sure why, seems like root would be root.

After some reading, the root method that is being used on the Moment is not the safest. Apparently if you skip a step you have a brick. And with no Nandroid backup at the moment(pun?) I would HATE to attempt it. Apparently though Root sticks until you reboot. There is an INit. script that runs and resets the permisions.

I know, "Don't skips steps and you'll be ok"

I may get brave and try it tonight...
 
nelson8403
Old
#10  
Senior Member
Thanks Meter 2
Posts: 158
Join Date: Dec 2006

 
DONATE TO ME
as far as I can tell you cannot install this app on the hero. I'm not sure what the app is called and unless it starts in the /data folder it is under the system dumps

http://www.4shared.com/file/14976609...entsystem.html


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