--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/amh8QI7CCFQJ.
possible solution?:
At frameworks/base
diff --git a/core/java/android/os/StrictMode.java b/core/java/android/
os/StrictM
index 4d7a9bb..cc98e69 100644
--- a/core/java/android/os/StrictMode.java
+++ b/core/java/android/os/StrictMode.java
@@ -113,7 +113,8 @@ public final class StrictMode {
private static final String TAG = "StrictMode";
private static final boolean LOG_V = Log.isLoggable(TAG,
Log.VERBOSE);
- private static final boolean IS_USER_BUILD =
"user".equals(Build.TYPE);
+ //private static final boolean IS_USER_BUILD =
"user".equals(Build.TYPE);
+ private static final boolean IS_USER_BUILD = true;
private static final boolean IS_ENG_BUILD =
"eng".equals(Build.TYPE);
/**
from:
http://groups.google.com/group/android-platform/browse_thread/thread/9493f311b743c86a/c8daa45e17fa2663?hl=en&lnk=gst&q=strictmode#c8daa45e17fa2663
On Mar 1, 5:17 am, Robill Tian Supatrio <rsupat...@gmail.com> wrote:
> Hi,
>
> it seems there is a problem with build type "user". I have tried that in
> order to get rid of red border flashing,
> but end up getting NO audio instead (it indeed got rid of the red border
> though). Then I noticed Chih-Wei
> RC1 build is using "userdebug" type, I did the same, and voila, audio is
> working again. No idea what the
> difference between them though.
>
> regards,
>
> Robill
>
>
>
>
>
>
>
> On Thu, Mar 1, 2012 at 5:51 PM, StefanS <andr...@stefanseidel.info> wrote:
> > You don't need to set ro.build.user.
> > But otherwise, I can confirm that changing the build type from "eng"
> > (=engineering) to "user" (=end user) does remove the red border issue.
>
> > Stefan
>
> > On Wednesday, February 22, 2012 8:27:25 PM UTC+1, nikomweb wrote:
>
> >> no more red border after apllied my fix: in build.prop change
>
> >> ro.build.type=eng
> >> ro.build.user=xxxxx
>
> >> to
>
> >> ro.build.type=user
> >> ro.build.user=root
>
> >> and compile
>
> >> info fromhttp://forum.tegraowners.com
Stefan
Stefan
>
> should it be set for RC1/RC2...??? I personally don't feel it should
> be....
>
> On Mar 8, 4:10 pm, Ooop Yooo <ooop4...@gmail.com> wrote:
>> Why do you want to change official frameworks codes when adding a simple
>> line in custom target system.prop or build.prop will do the job ???
>>
>> 2012/3/8 tabletsx86 <rbg.tablets...@gmail.com>
>>
>>
>>
>>
>>
>>
>>
>> > possible solution?:
>>
>> > At frameworks/base
>> > diff --git a/core/java/android/os/StrictMode.java b/core/java/android/
>> > os/StrictM
>> > index 4d7a9bb..cc98e69 100644
>> > --- a/core/java/android/os/StrictMode.java
>> > +++ b/core/java/android/os/StrictMode.java
>> > @@ -113,7 +113,8 @@ public final class StrictMode {
>> > private static final String TAG = "StrictMode";
>> > private static final boolean LOG_V = Log.isLoggable(TAG,
>> > Log.VERBOSE);
>>
>> > - private static final boolean IS_USER_BUILD =
>> > "user".equals(Build.TYPE);
>> > + //private static final boolean IS_USER_BUILD =
>> > "user".equals(Build.TYPE);
>> > + private static final boolean IS_USER_BUILD = true;
>> > private static final boolean IS_ENG_BUILD =
>> > "eng".equals(Build.TYPE);
>>
>> > /**
>>
>> > from:
>>
>> >http://groups.google.com/group/android-platform/browse_thread/thread/...
Stefan
Hi guys, i just followed your suggestions and edited build.prop but i did it just after i installed android, not before build, and it works as well.
Just wanted to let you know since it saves a lot of time.
Cheers
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/6C-Zny4CcKkJ.
Yes, I know that user build fails. That's why I wrote about disabling ProGuard, I think that made it work.
Stefan
as a side note to your comment about user & userdebug...
have also observed the following...
mk newdir
cd newdir
init & repo sync ics-x86
build any flavor with target_build_varient = user and the build will
fail...
(haven't tried your "disable ProGuard ")
change target_build_varient = userdebug and it builds fine...
??? haven't checked the audio failing yet...
the little inconsistencies must drive Chih-Wei and other developers
crazy...LOL
On Mar 8, 5:38 pm, StefanS <andr...@stefanseidel.info> wrote:
> > For more options, visit this group athttp://groups.google.com/group/android-x86?hl=en.
Stefan
No idea what you're trying to say.
Stefan
>
>
> On Mar 15, 6:11 am, Robill Tian Supatrio <rsupat...@gmail.com> wrote:
>> Ahh, that explains it! Thanks Stefan!
>>
>> LOCAL_MODULE_TAGS := debug
>> LOCAL_MODULE := alsa_amixer
>>
>> everything under external/alsa-util is tagged with 'debug', therefore they
>> will not be built if
>> tag is 'user' only. I think for alsa-util it should be 'optional',
>> shouldn't it? Since they are
>> really necessary for audio? I know 'optional' sounds incorrect, but it is
>> the tag
>> for necessary modules (I don't know why android team describe it as
>> optional though :) )
>>
>> One mystery solved.
>>
>> regards,
>>
>> Robill
>>
>>
>>
>>
>>
>>
>>
>> On Thu, Mar 15, 2012 at 5:52 PM, StefanS <andr...@stefanseidel.info> wrote:
>> > you need to exclicitely include alsa_amixer in your PRODUCT_PACKAGES.
>>
>> > Stefan
>>
>> > On Thu, Mar 15, 2012 at 10:31, Robill Tian Supatrio <rsupat...@gmail.com>
>> > wrote:
>> > > with s103t target it does NOT fail. I did the following to build:
>> > >> source build/envsetup.sh
>> > >> choosecombo release s103t user
>> > >> make -j8 iso_img
>>
>> > > it compiles fine, but when I install the resulting ISO, I have 'no audio'
>> > > issue. Logcats, kernel logs shows nothing
>> > > suspicious. No clue and no motivation to find out why since 'userdebug'
>> > > works :)
>>
>> > > Robill
>>
>> > > On Thu, Mar 15, 2012 at 5:51 AM, StefanS <andr...@stefanseidel.info>
>> > wrote:
>>
>> > >> Yes, I know that user build fails. That's why I wrote about disabling
>> > >> ProGuard, I think that made it work.
>>
>> > >> Stefan
>>
pointer to thread where Chih-Wei explains what Stefan refered to:
http://groups.google.com/group/android-x86/browse_thread/thread/1e82e2b8a6a5eaac/2dc278b39e287fe8?lnk=gst&q=PRODUCT_PACKAGES#2dc278b39e287fe8
On Mar 15, 6:11 am, Robill Tian Supatrio <rsupat...@gmail.com> wrote:
> Ahh, that explains it! Thanks Stefan!
>
> LOCAL_MODULE_TAGS := debug
> LOCAL_MODULE := alsa_amixer
>
> everything under external/alsa-util is tagged with 'debug', therefore they
> will not be built if
> tag is 'user' only. I think for alsa-util it should be 'optional',
> shouldn't it? Since they are
> really necessary for audio? I know 'optional' sounds incorrect, but it is
> the tag
> for necessary modules (I don't know why android team describe it as
> optional though :) )
>
> One mystery solved.
>
> regards,
>
> Robill
>
>
>
>
>
>
>
> On Thu, Mar 15, 2012 at 5:52 PM, StefanS <andr...@stefanseidel.info> wrote:
> > you need to exclicitely include alsa_amixer in your PRODUCT_PACKAGES.
>
> > Stefan
>
> > On Thu, Mar 15, 2012 at 10:31, Robill Tian Supatrio <rsupat...@gmail.com>
> > wrote:
> > > with s103t target it does NOT fail. I did the following to build:
> > >> source build/envsetup.sh
> > >> choosecombo release s103t user
> > >> make -j8 iso_img
>
> > > it compiles fine, but when I install the resulting ISO, I have 'no audio'
> > > issue. Logcats, kernel logs shows nothing
> > > suspicious. No clue and no motivation to find out why since 'userdebug'
> > > works :)
>
> > > Robill
>
> > > On Thu, Mar 15, 2012 at 5:51 AM, StefanS <andr...@stefanseidel.info>
> > wrote:
>
> > >> Yes, I know that user build fails. That's why I wrote about disabling
> > >> ProGuard, I think that made it work.
>
> > >> Stefan
>
Hi tabletsx86,
I think you are sincere.
But if you don't really understand the problem,
please don't provide misleading info.
What Robill talked is a real problem for user mode.
Nothing to do with the post you mentioned.
I think WindRiver set alsa-utils to debug on purpose
(alsa porting was first developed by WindRiver)
since phone doesn't need that -- it's only for debugging.
However, it's seems to be necessary for some x86 chips/boards.
So yes, the right solution is set them to be optional.
I'll correct them.
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
Only visit /systemEdit build.prop and edit> ro.build.type=engto
> ro.build.type=user