Notice: Build broken is fixe

by Yi Sun » Thu, 30 Jul 2009 15:16:08 GMT


Sponsored Links
 Chih-wei and I are trying to find a good way to organise the firmware
directories.








-- 
Android-x86
 http://code.google.com/p/android-x86/ 

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Notice: Build broken is fixe

by Yi Sun » Mon, 03 Aug 2009 02:10:41 GMT


 ave you run the image? There should be more issues, the 10482 was not fixed
yet (not sure about today's status), the init.rc has new entries need to add
....
Yi

On Sun, Aug 2, 2009 at 3:21 AM, Chen Yang <sunsety...@gmail.com> wrote:



--
Android-x86
http://code.google.com/p/android-x86/

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Notice: Build broken is fixe

by Chen Yang » Mon, 03 Aug 2009 07:55:24 GMT


 es, I have run it.
10482 has 2 issues, my 2nd item fixed one issue. I don't know whether
current framework has the right kind of implementation that may expose the
2nd issue of that. At least, from what I have run, I haven't found problems
so far.
--
Chen

On Mon, Aug 3, 2009 at 2:10 AM, Yi Sun <beyo...@gmail.com> wrote:


--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Notice: Build broken is fixe

by Yi Sun » Mon, 03 Aug 2009 09:13:24 GMT


 hihwei backed out both from android-x86



On 2009-8-2, at 16:54, Chen Yang <sunsety...@gmail.com> wrote:


--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Notice: Build broken is fixe

by Yi Sun » Wed, 05 Aug 2009 04:52:00 GMT


 ou are using wrong command.

Take a look on the wiki page:
http://code.google.com/p/android-x86/wiki/GetSourceCode

On Tue, Aug 4, 2009 at 1:48 PM, penguins <suf...@gmail.com> wrote:



--
Android-x86
http://code.google.com/p/android-x86/

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Notice: Build broken is fixe

by Chen Yang » Wed, 05 Aug 2009 07:24:55 GMT


  missed one item in BoardConfig.mk
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 54b0d4f..68000ce 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -8,6 +8,7 @@ TARGET_NO_BOOTLOADER := true
TARGET_NO_RECOVERY := true

#TARGET_NO_KERNEL := true
+TARGET_CPU_ABI := none

TARGET_HARDWARE_3D := false

Some more items:
diff --git a/eee_701.mk b/eee_701.mk
index 508108c..1dd6558 100644
--- a/eee_701.mk
+++ b/eee_701.mk
@@ -4,7 +4,7 @@
# For now, reuse the generic (phone) infrastructure.
#

-$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_with_google.mk)
+$(call inherit-product, $(SRC_TARGET_DIR)/product/generic.mk)

PRODUCT_NAME := eee_701
PRODUCT_DEVICE := eee_701
diff --git a/init.rc b/init.rc
index 00aa93c..3cdcedc 100644
--- a/init.rc
+++ b/init.rc
@@ -108,6 +108,8 @@ on boot
setprop ro.FOREGROUND_APP_ADJ 0
setprop ro.VISIBLE_APP_ADJ 1
setprop ro.SECONDARY_SERVER_ADJ 2
+ setprop ro.BACKUP_APP_ADJ 2
+ setprop ro.HOME_APP_ADJ 4
setprop ro.HIDDEN_APP_MIN_ADJ 7
setprop ro.CONTENT_PROVIDER_ADJ 14
setprop ro.EMPTY_APP_ADJ 15
@@ -117,9 +119,12 @@ on boot
setprop ro.FOREGROUND_APP_MEM 1536
setprop ro.VISIBLE_APP_MEM 2048
setprop ro.SECONDARY_SERVER_MEM 4096
- setprop ro.HIDDEN_APP_MEM 8192
- setprop ro.CONTENT_PROVIDER_MEM 8704
- setprop ro.EMPTY_APP_MEM 16384
+ setprop ro.BACKUP_APP_MEM 4096
+ setprop ro.HOME_APP_MEM 4096
+ setprop ro.HIDDEN_APP_MEM 5120
+ setprop ro.CONTENT_PROVIDER_MEM 5632
+ setprop ro.EMPTY_APP_MEM 6144
+

# Write value must be consistent with the above properties.
write /sys/module/lowmemorykiller/parameters/adj 0,1,2,7,14,15
@@ -136,6 +141,12 @@ on boot
chown radio system /sys/android_power/acquire_full_wake_lock
chown radio system /sys/android_power/acquire_partial_wake_lock
chown radio system /sys/android_power/release_wake_lock
+ chown radio system /sys/power/state
+ chown radio system /sys/power/wake_lock
+ chown radio system /sys/power/wake_unlock
+ chmod 0660 /sys/power/state
+ chmod 0660 /sys/power/wake_lock
+ chmod 0660 /sys/power/wake_unlock
chown system system /sys/class/timed_output/vibrator/enable
chown system system /sys/class/leds/keyboard-backlight/brightness
chown system system /sys/class/leds/lcd-backlight/brightness
@@ -193,8 +204,8 @@ service servicemanager /system/bin/servicemanager
onrestart restart zygote
onrestart restart media

-service mountd /system/bin/mountd
- socket mountd stream 0660 root mount
+service vold /system/bin/vold
+ socket vold stream 0660 root mount

service zygote /system/bin/app_process -Xzygote /system/bin --zygote
--start-system-server
socket zygote stream 666


Meanwhile, in order to build the installer_img, don't forget to enable
external/e2fsprogs/Android.mk remove the # before the include.

Hope it helps.
--
Chen


On Wed, Aug 5, 2009 at 4:51 AM, Yi Sun <beyo...@gmail.com> wrote:


--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. How to get access to resource file from "raw" directory?

Hi All,

I want to get access to the raw resource in order to check the size of
the .mp3 file placed there. I found that it can be done by using the
URI from java.net.URI package and passing that URI as a parameter in
the File object constructor. But it doesn't work. There are few
requirements in regard to the URI: absolute hierarchical URI, file
scheme and path component non-empty, undefined: authority, query &
fragment components.

I've tried following string to create the URI:

String uriStr = "android.resource://" + PACKAGE_NAME + "/" +
R.raw.resource;

PACKAGE_NAME is being assigned as an AUTHORITY. I haven't found any
other way to create the File object than:

File mp3File = new File(URI uri);

and then call the: long mp3Size = mp3File.length(); to find the size
of the resource file...

Does anybody know how I could achive that in some other way or what I
am doing wrong with the above code?

--~--~---------~--~----~------------~-------~--~----~

2. JNI_CreateJavaVM failed

after booting up i am facing "JNI_CreateJavaVM failed", following is
the logcat:-


E/flash_image(  439): error scanning partitions
E/mountd  (  430): could not read initial mass storage state
D/AndroidRuntime(  433):
D/AndroidRuntime(  433): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime(  433): CheckJNI is ON
E/dalvikvm(  433): Can't open dex cache '/data/dalvik-cache/
[EMAIL PROTECTED]@[EMAIL PROTECTED]': No such file or directory
I/dalvikvm(  433): Unable to open or create cache for /system/
framework/core.jar
D/dalvikvm(  433): Failed on '/system/framework/core.jar' (boot=1)
D/dalvikvm(  433): VM cleaning up
D/dalvikvm(  433): LinearAlloc 0x0 used 4100 of 4194304 (0%)
W/dalvikvm(  433): JNI_CreateJavaVM failed
E/AndroidRuntime(  433): JNI_CreateJavaVM failed
I/        (  434): ServiceManager: 0xaab8
W/AudioHardwareInterface(  434): Using stubbed audio hardware. No
sound will be produced.
I/AudioFlinger(  434): AudioFlinger's main thread ready to run.
I/CameraService(  434): CameraService started: pid=434
D/AndroidRuntime(  450):
D/AndroidRuntime(  450): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime(  450): CheckJNI is ON
E/dalvikvm(  450): Can't open dex cache '/data/dalvik-cache/
[EMAIL PROTECTED]@[EMAIL PROTECTED]': No such file or directory
I/dalvikvm(  450): Unable to open or create cache for /system/
framework/core.jar
D/dalvikvm(  450): Failed on '/system/framework/core.jar' (boot=1)
D/dalvikvm(  450): VM cleaning up
D/dalvikvm(  450): LinearAlloc 0x0 used 4100 of 4194304 (0%)
W/dalvikvm(  450): JNI_CreateJavaVM failed
E/AndroidRuntime(  450): JNI_CreateJavaVM failed
D/AndroidRuntime(  451):
D/AndroidRuntime(  451): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime(  451): CheckJNI is ON
E/dalvikvm(  451): Can't open dex cache '/data/dalvik-cache/
[EMAIL PROTECTED]@[EMAIL PROTECTED]': No such file or directory
I/dalvikvm(  451): Unable to open or create cache for /system/
framework/core.jar
D/dalvikvm(  451): Failed on '/system/framework/core.jar' (boot=1)
D/dalvikvm(  451): VM cleaning up
D/dalvikvm(  451): LinearAlloc 0x0 used 4100 of 4194304 (0%)
W/dalvikvm(  451): JNI_CreateJavaVM failed
E/AndroidRuntime(  451): JNI_CreateJavaVM failed
D/AndroidRuntime(  452):
D/AndroidRuntime(  452): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime(  452): CheckJNI is ON
E/dalvikvm(  452): Can't open dex cache '/data/dalvik-cache/
[EMAIL PROTECTED]@[EMAIL PROTECTED]': No such file or directory
I/dalvikvm(  452): Unable to open or create cache for /system/
framework/core.jar
D/dalvikvm(  452): Failed on '/system/framework/core.jar' (boot=1)
D/dalvikvm(  452): VM cleaning up
D/dalvikvm(  452): LinearAlloc 0x0 used 4100 of 4194304 (0%)
W/dalvikvm(  452): JNI_CreateJavaVM failed
E/AndroidRuntime(  452): JNI_CreateJavaVM failed
D/AndroidRuntime(  453):
D/AndroidRuntime(  453): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime(  453): CheckJNI is ON
E/dalvikvm(  453): Can't open dex cache '/data/dalvik-cache/
[EMAIL PROTECTED]@[EMAIL PROTECTED]': No such file or directory
I/dalvikvm(  453): Unable to open or create cache for /system/
framework/core.jar
D/dalvikvm(  453): Failed on '/system/framework/core.jar' (boot=1)
D/dalvikvm(  453): VM cleaning up
D/dalvikvm(  453): LinearAlloc 0x0 used 4100 of 4194304 (0%)
W/dalvikvm(  453): JNI_CreateJavaVM failed
E/AndroidRuntime(  453): JNI_CreateJavaVM failed
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [EMAIL PROTECTED]
website: 

3. ListActivity change item font

4. File Access Error.

5. Gallery setScrollIndicators

6. Open a HTML file

7. Can i write android code without activity (just with service)