PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android On TP2 Development (http://forum.ppcgeeks.com/forumdisplay.php?f=319)
-   -   NAND Testing - 05-25 Update: New LK, Recovery.img, Kernel Updates through Recovery (http://forum.ppcgeeks.com/showthread.php?t=134598)

m4f1050 03-17-2011 12:39 PM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
I believe the reason why we cant install angrybirds or a few other apps is because we cant install apps on sdcard. I just tried to move an app to sdcard and got an error and some apps default install to sdcard.

EDIT: I go this error after I unmounted SDCARD and tried adb install angrybirds...

Code:


D:\>adb install angrybirds_1.3.5.apk
468 KB/s (12827730 bytes in 26.728s)
        pkg: /data/local/tmp/AngryBirds_1.3.5.apk
Failure [INSTALL_FAILED_MEDIA_UNAVAILABLE]

And with SDCARD mounted I got...

Code:


D:\>adb install angrybirds_1.3.5.apk
1143 KB/s (12827730 bytes in 10.959s)
        pkg: /data/local/tmp/AngryBirds_1.3.5.apk
Failure [INSTALL_FAILED_CONTAINER_ERROR]


[ACL] 03-17-2011 01:32 PM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
Quote:

Originally Posted by m4f1050 (Post 2069789)
I believe the reason why we cant install angrybirds or a few other apps is because we cant install apps on sdcard. I just tried to move an app to sdcard and got an error and some apps default install to sdcard.

EDIT: I go this error after I unmounted SDCARD and tried adb install angrybirds...

Code:


D:\>adb install angrybirds_1.3.5.apk
468 KB/s (12827730 bytes in 26.728s)
        pkg: /data/local/tmp/AngryBirds_1.3.5.apk
Failure [INSTALL_FAILED_MEDIA_UNAVAILABLE]

And with SDCARD mounted I got...

Code:


D:\>adb install angrybirds_1.3.5.apk
1143 KB/s (12827730 bytes in 10.959s)
        pkg: /data/local/tmp/AngryBirds_1.3.5.apk
Failure [INSTALL_FAILED_CONTAINER_ERROR]


interesting.

THe actually error shoud show on the logcat when you install. It may be a path issue.

m4f1050 03-17-2011 01:49 PM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
1 Attachment(s)
Quote:

Originally Posted by [ACL] (Post 2069804)
interesting.

THe actually error shoud show on the logcat when you install. It may be a path issue.

Oh snap! My bad! Forgot the logcat! UGH! :D

Here is the error on screen, and uploaded logcat.

Code:


D:\>adb install angrybirds_1.3.5.apk
1216 KB/s (12827730 bytes in 10.300s)
        pkg: /data/local/tmp/AngryBirds_1.3.5.apk
Failure [INSTALL_FAILED_CONTAINER_ERROR]

EDIT: Like I mentioned before, this installs on SDCARD, are we missing app2sd?

natemcnutty 03-17-2011 01:54 PM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
Quote:

Originally Posted by m4f1050 (Post 2069808)
Oh snap! My bad! Forgot the logcat! UGH! :D

Here is the error on screen, and uploaded logcat.

Code:


D:\>adb install angrybirds_1.3.5.apk
1216 KB/s (12827730 bytes in 10.300s)
        pkg: /data/local/tmp/AngryBirds_1.3.5.apk
Failure [INSTALL_FAILED_CONTAINER_ERROR]

EDIT: Like I mentioned before, this installs on SDCARD, are we missing app2sd?

I think I know what the issue is here. It probably has to do with the secure folders. I'll take a look through our scripts and map the asec folders. I know we specify them in sysinit.rc, but we never created them anywhere so they could be mounted. (export ASEC_MOUNTPOINT /mnt/asec)

m4f1050 03-17-2011 01:57 PM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
Quote:

Originally Posted by natemcnutty (Post 2069810)
I think I know what the issue is here. It probably has to do with the secure folders. I'll take a look through our scripts and map the asec folders. I know we specify them in sysinit.rc, but we never created them anywhere so they could be mounted. (export ASEC_MOUNTPOINT /mnt/asec)

Kewl, thanks!

So we do have the SDCARD partition that app2sd uses? I remember reading something about a partition on SDCARD for apps...

EDIT: How to manually partition your SD card for Android Apps2SD – Android and Me

natemcnutty 03-17-2011 02:00 PM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
Quote:

Originally Posted by m4f1050 (Post 2069811)
Kewl, thanks!

So we do have the SDCARD partition that app2sd uses? I remember reading something about a partition on SDCARD for apps...

That should be OK since we have export EXTERNAL_STORAGE /sdcard

However, this was in rootfs and was never moved into our new setup:

/bin/mkdir -p -m 0700 /data/mnt/secure
/bin/mkdir -p -m 0700 /data/mnt/asec
mount --bind /data/mnt/secure /mnt/secure
mount --bind /data/mnt/asec /mnt/asec

m4f1050 03-17-2011 02:09 PM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
Kewl! So close to perfect!

Question: SetCPU I got SU working, on demand works, but won't go past 528mhz, how can we overclock? I think that could help with the hardware keyboard lag, but I still think there is something not right the key down / key up (if that's how it detects the keys) is not working propperly..

[ACL] 03-17-2011 02:16 PM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
Quote:

Originally Posted by natemcnutty (Post 2069814)
That should be OK since we have export EXTERNAL_STORAGE /sdcard

However, this was in rootfs and was never moved into our new setup:

/bin/mkdir -p -m 0700 /data/mnt/secure
/bin/mkdir -p -m 0700 /data/mnt/asec
mount --bind /data/mnt/secure /mnt/secure
mount --bind /data/mnt/asec /mnt/asec

sexy.. need to modd the rc again.

natemcnutty 03-17-2011 02:18 PM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
Quote:

Originally Posted by [ACL] (Post 2069825)
sexy.. need to modd the rc again.

I know we have this in there already:

Code:

    # Directory for putting things only root should see.
    mkdir /mnt/secure 0700 root root

    # Directory for staging bindmounts
    mkdir /mnt/secure/staging 0700 root root

    # Directory-target for where the secure container
    # imagefile directory will be bind-mounted
    mkdir /mnt/secure/asec  0700 root root

    # Secure container public mount points.
    mkdir /mnt/asec  0700 root system
    mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000

But /mnt doesn't exist in initrd like it did in rootfs, and it isn't mounted to anything elsewhere.

[ACL] 03-17-2011 02:24 PM

Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
 
Quote:

Originally Posted by m4f1050 (Post 2069821)
Kewl! So close to perfect!

Question: SetCPU I got SU working, on demand works, but won't go past 528mhz, how can we overclock? I think that could help with the hardware keyboard lag, but I still think there is something not right the key down / key up (if that's how it detects the keys) is not working propperly..

prob is the code for the clock was modded for haret. So we need to revert back. I started this already but havent commited it yet until we get the whole recoery done. Which is ready for testing by the way. All the files are available in the usual spots. :-)


All times are GMT -4. The time now is 05:45 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0