Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
y2ktibltd
Old
#1  
Member - OP
Thanks Meter 9
Posts: 70
Join Date: Mar 2009
Default Using APK Manager to fix apps that won't install under CM6.1b2.

Originally Posted by axe2 View Post

Can you explain what you did? I'm trying to understand the problem with the way the sdcard is (or is not) mounted. My EVO has the sdcard mounted as /mnt/sdcard, and everything installs okay. the CM 6.1 g-tab has an internal partition mounted as /mnt/sdcard and programs don't install. What am I missing? Why should it care if /mnt/sdcard is on an internal partition or on an external sdcard partition?

I downloaded APK Manager from here...

http://forum.xda-developers.com/showthread.php?t=695701

then based on what ibrickeditithink stated (http://forum.xda-developers.com/show...postcount=2602) I pulled apart two game apk files, angry birds and fruit ninja (since I know that one works) and looked for differences that I could comprehend.

My best guess effort was that fruit ninja had this listed in their android Manifest.xml file

android:installLocation="auto"

whereas angry birds said something about installing to external card only. I figured since the mapping was messed up on our tablets that this would be a good place to start so I modified the xml file, used the APK manager to repackage it and pushed it though adb install to my gtab. it installed succesfully and there was an icon in my launcher for angry birds, i clicked it to open the file and my screen went blank and I could hear the music for angry birds but no video. I had to hit the back button to exit the game.

I'm not a programmer (not since q-basic anyways) so seeing as how I was already in over my head I decided to try again another day but i kept all the exploded files for both games to compare again in the future. Maybe somebody with some actual knowledge can step in at this point and fix that last little bit that is killing the video?
 
Saurabh
Old
#2  
Member
Thanks Meter 4
Posts: 37
Join Date: Feb 2006
Quote:
Originally Posted by y2ktibltd View Post
Originally Posted by axe2 View Post

Can you explain what you did? I'm trying to understand the problem with the way the sdcard is (or is not) mounted. My EVO has the sdcard mounted as /mnt/sdcard, and everything installs okay. the CM 6.1 g-tab has an internal partition mounted as /mnt/sdcard and programs don't install. What am I missing? Why should it care if /mnt/sdcard is on an internal partition or on an external sdcard partition?

I downloaded APK Manager from here...

http://forum.xda-developers.com/showthread.php?t=695701

then based on what ibrickeditithink stated (http://forum.xda-developers.com/show...postcount=2602) I pulled apart two game apk files, angry birds and fruit ninja (since I know that one works) and looked for differences that I could comprehend.

My best guess effort was that fruit ninja had this listed in their android Manifest.xml file

android:installLocation="auto"

whereas angry birds said something about installing to external card only. I figured since the mapping was messed up on our tablets that this would be a good place to start so I modified the xml file, used the APK manager to repackage it and pushed it though adb install to my gtab. it installed succesfully and there was an icon in my launcher for angry birds, i clicked it to open the file and my screen went blank and I could hear the music for angry birds but no video. I had to hit the back button to exit the game.

I'm not a programmer (not since q-basic anyways) so seeing as how I was already in over my head I decided to try again another day but i kept all the exploded files for both games to compare again in the future. Maybe somebody with some actual knowledge can step in at this point and fix that last little bit that is killing the video?
Hey. Can you post your modified file for Angry Birds here?
 
y2ktibltd
Old
#3  
Member - OP
Thanks Meter 9
Posts: 70
Join Date: Mar 2009
Quote:
Originally Posted by Saurabh View Post
Hey. Can you post your modified file for Angry Birds here?
I might be able to get away with posting the androidmanifest.xml but I think posting the entire apk might go against forum rules. Although being a free app it might not apply, any mods want to clarify this?

rename the extension on this file from .zip to .xml before you re-package, you'll notice I also changed the allow ads value to false from true.
Attached Files
File Type: zip AndroidManifest.zip - [Click for QR Code] (1.7 KB, 35 views)
 
rushless
Old
#4  
Senior Member
Thanks Meter 71
Posts: 1,914
Join Date: Jan 2008
I am curious if the music is "in game" or just music when the game first loads. It could be the reason for no video is that it is trying to pull data from where the game expects to see it, but can not.

That, or Tegra 2 and Angry Birds are not video friendly.

Could be that the header fixes install problems but Tegra 2 is still an issue.
 
gj13
Old
#5  
gj13's Avatar
Junior Member
Thanks Meter 4
Posts: 21
Join Date: Feb 2010
I'm pretty sure it's because it doesn't have Tegra support yet. I got these errors from logcat:

E/linker ( 4764): bionic/linker/linker.c:693| WARNING: `/data/data/com.rovio.angrybirds/lib/libangrybirds.so` is not a prelinked library
E/linker ( 4764): 895 mapping library 'libangrybirds.so' at 80800000 (index 00000008) through buddy allocator.

The library folder has two ARM folders inside, each with a libangrybirds.so file.

Changing the storage location does solve the problem installing it, however. The lack of Tegra support seems to be why no video shows.
 
Post Reply+
Tags
angry birds, apk manager, g-tablet, tegra 2
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...