Re: [b2g] Peak does not share SD-Card any more v2.1

2014-10-17 Thread alchen
What I saw is you change the mode frequently.
In the end, automounter ask to unmount the sdcard as our expected.
Then we should check the log of vold in this case.
Vold is the man who will help to do mount and unmount.
You should see Volume sdcard state change as below.
Shared-Unmounted is the final state when doing sharing.

10-17 16:44:08.062   191   272 D Vold: Volume sdcard state changing 4 
(Mounted) - 5 (Unmounting)
10-17 16:44:10.072   191   272 I Vold: /storage/sdcard sucessfully unmounted
10-17 16:44:10.102   191   272 I Vold: /mnt/media_rw/sdcard sucessfully 
unmounted
10-17 16:44:10.102 21306 21321 I VolumeManager: Volume sdcard (1): changing 
state from Unmounting to Idle (4 observers)
10-17 16:44:10.102   191   272 I Vold: /mnt/media_rw/sdcard unmounted 
successfully
10-17 16:44:10.102   191   272 D Vold: Volume sdcard state changing 5 
(Unmounting) - 1 (Idle-Unmounted)
10-17 16:44:10.102   191   272 D Vold: Volume sdcard state changing 1 
(Idle-Unmounted) - 7 (Shared-Unmounted)
10-17 16:44:10.112 21306 21321 I VolumeManager: Volume sdcard (1): changing 
state from Idle to Shared (4 observers)


(From log)
10-17 09:10:48.970  Enable sharing.
10-17 09:10:49.910  change mode from UMS to MTP
10-17 09:11:25.600  change mode from MTP to UMS
10-17 09:11:31.210  Disable sharing. (need to unplug USB to complete it)
10-17 09:11:43.140  Enable sharing.
10-17 09:12:43.230  Disable sharing.(need to unplug USB to complete it)
10-17 09:12:49.980  Enable sharing.
10-17 09:12:50.960  Disable sharing.(need to unplug USB to complete it)
10-17 09:12:52.050  I think that you unplug USB at this time. Status is disable 
now.
10-17 09:12:56.340  Enable sharing.
10-17 09:12:59.380  Disable sharing.(need to unplug USB to complete it)
10-17 09:13:00.370  Unplug USB at this time. Status is disable now.
10-17 09:13:09.140  Enable sharing.
10-17 09:14:09.230  Disable sharing.(need to unplug USB to complete it)
10-17 09:14:19.730  Enable sharing.
10-17 09:14:24.640  Disable sharing.(need to unplug USB to complete it)
10-17 09:15:07.350  Enable sharing.
10-17 09:15:18.520  Disable sharing.(need to unplug USB to complete it)
10-17 09:15:21.020  Unplug USB at this time. Status is disable now.
10-17 09:15:36.170  Enable sharing. 





Jovan Gerodetti於 2014年10月17日星期五UTC+8下午3時21分44秒寫道:
 okay, I logged this:
 
 10-17 09:10:48.970   122   247 I AutoMounter: Changing mode from 
 'DisableWhenUnplugged' to 'Enable-UMS'
 10-17 09:10:48.970   122   247 I AutoMounter: UpdateState: ums:A1C1E1 
 mtp:A1C0E0 mode:1 usb:1 tryToShare:1 state:UMS_CONFIGURED
 10-17 09:10:48.970   122   247 I AutoMounter: UpdateState: Volume sdcard is 
 Shared and inserted
 10-17 09:10:48.970   122   247 I AutoMounter: UpdateState: Volume emmc is 
 Mounted and inserted @ /mnt/emmc gen 2 locked 0 sharing dis
 10-17 09:10:49.910   122   247 I AutoMounter: Changing mode from 'Enable-UMS' 
 to 'Enable-MTP'
 10-17 09:10:49.910   122   247 I AutoMounter: AutoMounter state changed from 
 UMS_CONFIGURED to MTP_CONFIGURING
 10-17 09:10:49.910   122   247 I AutoMounter: SetUsbFunction(mtp) 
 sys.usb.config to 'mtp,adb'
 10-17 09:10:49.910   122   247 I AutoMounter: UpdateState: ums:A1C1E0 
 mtp:A1C0E1 mode:3 usb:1 tryToShare:0 state:MTP_CONFIGURING
 10-17 09:10:49.910   122   247 I AutoMounter: UpdateState: Volume sdcard is 
 Shared and inserted
 10-17 09:10:49.910   122   247 I AutoMounter: UpdateState: Unsharing sdcard
 10-17 09:10:49.940   122   247 I AutoMounter: UpdateState: ums:A1C0E0 
 mtp:A1C0E1 mode:3 usb:0 tryToShare:0 state:MTP_CONFIGURING
 10-17 09:10:49.940   122   247 I AutoMounter: UpdateState: Volume sdcard is 
 Idle and inserted
 10-17 09:10:49.940   122   247 I AutoMounter: UpdateState: Mounting sdcard
 10-17 09:10:49.950   122   247 I AutoMounter: UpdateState: ums:A1C0E0 
 mtp:A1C0E1 mode:3 usb:0 tryToShare:0 state:MTP_CONFIGURING
 10-17 09:10:49.950   122   247 I AutoMounter: UpdateState: Volume sdcard is 
 Mounted and inserted @ /mnt/sdcard gen 4 locked 0 sharing en-n
 10-17 09:10:49.950   122   247 I AutoMounter: UpdateState: Volume emmc is 
 Mounted and inserted @ /mnt/emmc gen 2 locked 0 sharing dis
 10-17 09:10:50.340   122   247 I AutoMounter: Starting MtpServer
 10-17 09:10:50.450   122   247 I AutoMounter: AutoMounter state changed from 
 MTP_CONFIGURING to MTP_STARTED
 10-17 09:10:50.450   122   247 I AutoMounter: UpdateState: ums:A1C0E0 
 mtp:A1C1E1 mode:3 usb:1 tryToShare:0 state:MTP_STARTED
 10-17 09:10:50.450   122   247 I AutoMounter: UpdateState: Volume sdcard is 
 Mounted and inserted @ /mnt/sdcard gen 4 locked 0 sharing en-n
 10-17 09:10:50.450   122   247 I AutoMounter: UpdateState: Volume emmc is 
 Mounted and inserted @ /mnt/emmc gen 2 locked 0 sharing dis
 10-17 09:11:25.600   122   247 I AutoMounter: Changing mode from 'Enable-MTP' 
 to 'Enable-UMS'
 10-17 09:11:25.600   122   247 I AutoMounter: Stopping MtpServer
 10-17 09:11:25.600   122   247 I AutoMounter: SetUsbFunction(mass_storage) 
 sys.usb.config 

Re: [b2g] Performance marker linking proposal

2014-10-17 Thread Paul Rouget
Eli Perelman wrote:
 The idea, at least for the devtools visualization, would be for markers and
 measurements that occur in different processes to be displayed on the
 existing timeline. For example, if I create a marker in the System app that
 is linked to an action that occured in the Contacts app, that marker should
 be displayed in the Contacts timeline. Likewise if I create a linked
 measurement in verticalhome and System that is contextually bound to
 another app, it should display as a duration in that app's timeline.
 
 For performance testing, it's pretty much the same concept, but we need the
 data to be compatible between processes. If an app creates a timestamp
 using performance.now(), and the System does the same, there isn't
 currently a mechanism that we can use to compare the deltas between the two
 timestamps. Having a way to link markers will let us compare
 high-resolution timestamps across processes.
 
 Does that makes sense?

Right. The devtools can only show data coming from one process, and there's
no plan to aggregate data from different app/process.

So the aggregation needs to be done at the platform level or at the app level.
Whatever API and mechanism you choose, if you want the markers to show-up in
the devtools, the only thing you need is to call:

If it has a duration:

  docShell-AddProfileTimelineMarker(aMarkerID, TRACING_INTERVAL_START);
  docShell-AddProfileTimelineMarker(aMarkerID, TRACING_INTERVAL_END);

Or if it's one-time event:

  docShell-AddProfileTimelineMarker(aMarkerID, TRACING_EVENT);

docShell being the top level docshell of the app.

 On Thu, Oct 16, 2014 at 5:35 AM, Ting-Yu Chou tc...@mozilla.com wrote:
 
  Eli,
 
  I really like User Timing API, it indeed helps for things like bug 1063708
  and
  bug 1074783.
 
  But I am not sure I understand your idea correctly. As a user, when I add
  markers, I usally expect them to be shown on a single timeline, so what
  will
  linked markers help? I mean, for the use case you mentioned, what's the
  value
  linked markers offer more than unlinkd markers?
 
  Or will there be multiple timelines?
 
  Thanks,
  Ting
 
  - Original Message -
   From: Eli Perelman eperel...@mozilla.com
   To: dev-b2g dev-b2g@lists.mozilla.org
   Sent: Wednesday, October 15, 2014 9:39:41 PM
   Subject: [b2g] Performance marker linking proposal
  
   Hello,
  
   With the User Timing API [1], it will be possible for sites and
  applications
   to create arbitrary markers in JavaScript to denote important moments in
  its
   lifecycle.
  
   ```js
   // Example: Dialer app denoting the call log is ready
   performance.mark('callLogReady');
   ```
  
   These markers are accessible using
  `performance.getEntriesByType('mark')`,
   and each entry contains an object with metadata associated with the
  timing
   of the marker.
  
   This API has not yet been implemented in Gecko [2], but is currently
  live in
   Chrome and IE. In order to make this API more useful for performance
   testing, I would like to propose an API available to the System app for
   creating linked performance markers.
  
   As an example, I'll take the common application launch scenario. While
  using
   the homescreen and the user taps an icon to launch an app, ideally it
  would
   create a marker to denote the moment of user intent. Then in the System
  app,
   another marker would be created to denote the moment of the
  instantiation of
   the app window. Finally, the application itself would create markers
   implying its own loading progress. The System app should have a mechanism
   for tying all these markers together so we can report a timeline of the
   entire interaction.
  
   There are many more scenarios for linking markers than this, but I hope
  this
   conveys the idea. For even more value in performance testing though, I
  also
   believe that the System app should receive events when markers are
  created.
   This will enable us to use the proposed API at the correct moment to
  fetch
   the linked marker data with relevant metadata to know for which context
  it
   was generated against.
  
   Using these two mechanisms together would greatly improve the efficiency
  and
   expand the functionality for Gaia to do performance testing and would
  pave
   the way for more insightful developer tooling. I welcome any comments and
   suggestions to get the ball rolling on this idea.
  
   [1] http://www.w3.org/TR/user-timing/
   [2] https://bugzilla.mozilla.org/show_bug.cgi?id=782751
  
   Thanks,
  
   Eli Perelman
   Software Engineer, Firefox OS
  
   ___
   dev-b2g mailing list
   dev-b2g@lists.mozilla.org
   https://lists.mozilla.org/listinfo/dev-b2g
  
 

 ___
 dev-b2g mailing list
 dev-b2g@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-b2g

-- Paul
___
dev-b2g mailing list

Re: [b2g] Peak does not share SD-Card any more v2.1

2014-10-17 Thread Jovan Gerodetti
here is the next log:

10-17 17:12:44.550   118   182 D VoldCmdListener: volume unmount sdcard
force
10-17 17:12:44.550   118   182 D Vold: Volume sdcard state changing 4
(Mounted) - 5 (Unmounting)
10-17 17:12:45.660   118   182 I Vold:
/mnt/secure/staging/.android_secure sucessfully unmounted
10-17 17:12:45.660   118   182 I Vold: /mnt/secure/asec sucessfully
unmounted
10-17 17:12:45.720   118   182 I Vold: /mnt/secure/staging sucessfully
unmounted
10-17 17:12:45.720   118   182 I Vold: /mnt/sdcard unmounted sucessfully
10-17 17:12:45.720   118   182 D Vold: Volume sdcard state changing 5
(Unmounting) - 1 (Idle-Unmounted)
10-17 17:12:45.720   118   182 D VoldCmdListener: volume share sdcard ums
10-17 17:12:45.720   118   182 D Vold: Opened lunfile
/sys/class/android_usb/android0/f_mass_storage/lun0/file
10-17 17:12:45.720   118   182 D Vold: Volume sdcard state changing 1
(Idle-Unmounted) - 7 (Shared-Unmounted)
10-17 17:13:02.320   118   182 D VoldCmdListener: volume unshare sdcard ums
10-17 17:13:02.320   118   182 D Vold: Opened lunfile
/sys/class/android_usb/android0/f_mass_storage/lun0/file
10-17 17:13:02.320   118   182 D Vold: Volume sdcard state changing 7
(Shared-Unmounted) - 1 (Idle-Unmounted)
10-17 17:13:02.320   118   182 D VoldCmdListener: volume mount sdcard
10-17 17:13:02.330   118   182 I Vold: /dev/block/vold/179:18 being
considered for volume sdcard
10-17 17:13:02.330   118   182 D Vold: Volume sdcard state changing 1
(Idle-Unmounted) - 3 (Checking)
10-17 17:13:02.330   118   182 W Vold: Skipping fs checks
10-17 17:13:02.330   118   182 I Vold: Device /dev/block/vold/179:18,
target /mnt/sdcard mounted @ /mnt/secure/staging
10-17 17:13:02.330   118   182 D Vold: Volume sdcard state changing 3
(Checking) - 4 (Mounted)
10-17 17:13:02.820   118   182 D VoldCmdListener: volume unmount sdcard
force
10-17 17:13:02.820   118   182 D Vold: Volume sdcard state changing 4
(Mounted) - 5 (Unmounting)
10-17 17:13:03.880   118   182 I Vold:
/mnt/secure/staging/.android_secure sucessfully unmounted
10-17 17:13:03.880   118   182 I Vold: /mnt/secure/asec sucessfully
unmounted
10-17 17:13:03.920   118   182 I Vold: /mnt/secure/staging sucessfully
unmounted
10-17 17:13:03.920   118   182 I Vold: /mnt/sdcard unmounted sucessfully
10-17 17:13:03.920   118   182 D Vold: Volume sdcard state changing 5
(Unmounting) - 1 (Idle-Unmounted)
10-17 17:13:03.920   118   182 D VoldCmdListener: volume mount sdcard
10-17 17:13:03.920   118   182 I Vold: /dev/block/vold/179:18 being
considered for volume sdcard
10-17 17:13:03.920   118   182 D Vold: Volume sdcard state changing 1
(Idle-Unmounted) - 3 (Checking)
10-17 17:13:03.920   118   182 W Vold: Skipping fs checks
10-17 17:13:03.920   118   182 I Vold: Device /dev/block/vold/179:18,
target /mnt/sdcard mounted @ /mnt/secure/staging
10-17 17:13:03.920   118   182 D Vold: Volume sdcard state changing 3
(Checking) - 4 (Mounted)
10-17 17:36:55.430   118   182 D VoldCmdListener: volume unmount sdcard
force
10-17 17:36:55.430   118   182 D Vold: Volume sdcard state changing 4
(Mounted) - 5 (Unmounting)
10-17 17:36:56.490   118   182 I Vold:
/mnt/secure/staging/.android_secure sucessfully unmounted
10-17 17:36:56.490   118   182 I Vold: /mnt/secure/asec sucessfully
unmounted
10-17 17:36:56.540   118   182 I Vold: /mnt/secure/staging sucessfully
unmounted
10-17 17:36:56.540   118   182 I Vold: /mnt/sdcard unmounted sucessfully
10-17 17:36:56.540   118   182 D Vold: Volume sdcard state changing 5
(Unmounting) - 1 (Idle-Unmounted)
10-17 17:36:56.540   118   182 D VoldCmdListener: volume share sdcard ums
10-17 17:36:56.540   118   182 D Vold: Opened lunfile
/sys/class/android_usb/android0/f_mass_storage/lun0/file
10-17 17:36:56.540   118   182 D Vold: Volume sdcard state changing 1
(Idle-Unmounted) - 7 (Shared-Unmounted)


just to clarify: I can access the SD Card from the device it self, but if I
share the storage with a computer (I tried Windows 7, Linux and OS X) I see
only the internal media storage. At the moment the only way to copy files
from the card is to pull it with adb pull /emmc/*


2014-10-17 10:58 GMT+02:00 alc...@mozilla.com:

 Vold:
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Firefox OS sqlite databases with blob type

2014-10-17 Thread Nino Vranešič
I have pulled some databases from Firefox OS device (SMS, Contacts) and
I've opened them in SqliteBrowser.
in table object_data there is a data with blob type. My question is: Is
there a way to convert this blob to a plain text? Which decoding is used?

Thanks for your help.
Regards,  Nino V.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Firefox OS sqlite databases with blob type

2014-10-17 Thread bent . mozilla
Hi,

Unfortunately there is no way to do this easily. The blob in the 'data' column 
is an internal encoded representation of a JavaScript object/value that is then 
compressed.

The only way that I know of to look at this data is to import the sqlite 
database (and its corresponding files directory) into a local Firefox profile. 
Then you can use the built-in Developer Tools Storage Inspector to look at the 
database.

Cheers,
-bent
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Flame build error

2014-10-17 Thread sanmukh rao
Thanks Shawn,

It worked.

-Sanmukh

On Thu, Oct 16, 2014 at 8:46 PM, Shawn Huang shawnjoh...@gmail.com wrote:
 On Friday, October 17, 2014 11:35:25 AM UTC+8, sanmukh rao wrote:
 It complains that there is no file named libalsa-intf.so. Also I
 noticed that a few files from the script:
 device/t2m/flame/extract-files.sh are not available on my flame
 device. e.g. /system/etc/Bludtooth_cal.acdb
 I am using ubuntu 14.10 for development. The current version of
 Boot2Gecko on the phone is: Boot2Gecko 2.0.0.0-prerelease (Build ID:
 20140904160718). Please let me know any more details which I could
 provide to throw some more light on the problem.
 B2G/device/t2m/flame/extract-files.sh is trying to backup some proprietary 
 binary files.
 Please make sure your code base is flame-kk (I guess yours is currently 
 flame-jb) and your device base image also update to kk version.
 See:
 https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/Flame#Updating_your_Flame%27s_software

 ___
 dev-b2g mailing list
 dev-b2g@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-b2g
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] Why Themes App in 2.2 is Certified App?

2014-10-17 Thread Rabbi Hossain
Hello All,

Few days ago I have seen that Firefox OS 2.2 is now supporting Theming in it 
settings. I was thinking of building themes for Firefox OS. After checking the 
structures of the Default theme app, I found that the application type is 
Certified. Why is that ? If I create a theme for FxOS, will it also have to 
be Certified app. 

Rabbi Hossain
http://www.2hr.me/
http://rabbi.xyz

  ___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Why Themes App in 2.2 is Certified App?

2014-10-17 Thread David Scravaglieri

Hello Rabbi,

For architecture reasons, Theming is not open to third party developer 
yet. It will for sure in further releases.


Best,
David Scravaglieri

Le 17/10/14 22:18, Rabbi Hossain a écrit :

Hello All,

Few days ago I have seen that Firefox OS 2.2 is now supporting Theming 
in it settings. I was thinking of building themes for Firefox OS. 
After checking the structures of the Default theme app, I found that 
the application type is Certified. Why is that ? If I create a theme 
for FxOS, will it also have to be Certified app.


Rabbi Hossain
http://www.2hr.me/
http://rabbi.xyz



___
dev-gaia mailing list
dev-g...@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-gaia


___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


Re: [b2g] Peak does not share SD-Card any more v2.1

2014-10-17 Thread Dave Hylands
The volume called 'sdcard' is actually the internal sdcard. 

What does the output of adb shell vdc volume list show? 

Dave Hylands 

- Original Message -

 From: Jovan Gerodetti titannanom...@gmail.com
 To: alc...@mozilla.com
 Cc: mozilla-dev-...@lists.mozilla.org
 Sent: Friday, October 17, 2014 8:46:01 AM
 Subject: Re: [b2g] Peak does not share SD-Card any more v2.1

 here is the next log:

 10-17 17:12:44.550 118 182 D VoldCmdListener: volume unmount sdcard force
 10-17 17:12:44.550 118 182 D Vold : Volume sdcard state changing 4 (Mounted)
 - 5 (Unmounting)
 10-17 17:12:45.660 118 182 I Vold : /mnt/secure/staging/.android_secure
 sucessfully unmounted
 10-17 17:12:45.660 118 182 I Vold : /mnt/secure/asec sucessfully unmounted
 10-17 17:12:45.720 118 182 I Vold : /mnt/secure/staging sucessfully unmounted
 10-17 17:12:45.720 118 182 I Vold : /mnt/sdcard unmounted sucessfully
 10-17 17:12:45.720 118 182 D Vold : Volume sdcard state changing 5
 (Unmounting) - 1 (Idle-Unmounted)
 10-17 17:12:45.720 118 182 D VoldCmdListener: volume share sdcard ums
 10-17 17:12:45.720 118 182 D Vold : Opened lunfile
 /sys/class/android_usb/android0/f_mass_storage/lun0/file
 10-17 17:12:45.720 118 182 D Vold : Volume sdcard state changing 1
 (Idle-Unmounted) - 7 (Shared-Unmounted)
 10-17 17:13:02.320 118 182 D VoldCmdListener: volume unshare sdcard ums
 10-17 17:13:02.320 118 182 D Vold : Opened lunfile
 /sys/class/android_usb/android0/f_mass_storage/lun0/file
 10-17 17:13:02.320 118 182 D Vold : Volume sdcard state changing 7
 (Shared-Unmounted) - 1 (Idle-Unmounted)
 10-17 17:13:02.320 118 182 D VoldCmdListener: volume mount sdcard
 10-17 17:13:02.330 118 182 I Vold : /dev/block/vold/179:18 being considered
 for volume sdcard
 10-17 17:13:02.330 118 182 D Vold : Volume sdcard state changing 1
 (Idle-Unmounted) - 3 (Checking)
 10-17 17:13:02.330 118 182 W Vold : Skipping fs checks
 10-17 17:13:02.330 118 182 I Vold : Device /dev/block/vold/179:18, target
 /mnt/sdcard mounted @ /mnt/secure/staging
 10-17 17:13:02.330 118 182 D Vold : Volume sdcard state changing 3 (Checking)
 - 4 (Mounted)
 10-17 17:13:02.820 118 182 D VoldCmdListener: volume unmount sdcard force
 10-17 17:13:02.820 118 182 D Vold : Volume sdcard state changing 4 (Mounted)
 - 5 (Unmounting)
 10-17 17:13:03.880 118 182 I Vold : /mnt/secure/staging/.android_secure
 sucessfully unmounted
 10-17 17:13:03.880 118 182 I Vold : /mnt/secure/asec sucessfully unmounted
 10-17 17:13:03.920 118 182 I Vold : /mnt/secure/staging sucessfully unmounted
 10-17 17:13:03.920 118 182 I Vold : /mnt/sdcard unmounted sucessfully
 10-17 17:13:03.920 118 182 D Vold : Volume sdcard state changing 5
 (Unmounting) - 1 (Idle-Unmounted)
 10-17 17:13:03.920 118 182 D VoldCmdListener: volume mount sdcard
 10-17 17:13:03.920 118 182 I Vold : /dev/block/vold/179:18 being considered
 for volume sdcard
 10-17 17:13:03.920 118 182 D Vold : Volume sdcard state changing 1
 (Idle-Unmounted) - 3 (Checking)
 10-17 17:13:03.920 118 182 W Vold : Skipping fs checks
 10-17 17:13:03.920 118 182 I Vold : Device /dev/block/vold/179:18, target
 /mnt/sdcard mounted @ /mnt/secure/staging
 10-17 17:13:03.920 118 182 D Vold : Volume sdcard state changing 3 (Checking)
 - 4 (Mounted)
 10-17 17:36:55.430 118 182 D VoldCmdListener: volume unmount sdcard force
 10-17 17:36:55.430 118 182 D Vold : Volume sdcard state changing 4 (Mounted)
 - 5 (Unmounting)
 10-17 17:36:56.490 118 182 I Vold : /mnt/secure/staging/.android_secure
 sucessfully unmounted
 10-17 17:36:56.490 118 182 I Vold : /mnt/secure/asec sucessfully unmounted
 10-17 17:36:56.540 118 182 I Vold : /mnt/secure/staging sucessfully unmounted
 10-17 17:36:56.540 118 182 I Vold : /mnt/sdcard unmounted sucessfully
 10-17 17:36:56.540 118 182 D Vold : Volume sdcard state changing 5
 (Unmounting) - 1 (Idle-Unmounted)
 10-17 17:36:56.540 118 182 D VoldCmdListener: volume share sdcard ums
 10-17 17:36:56.540 118 182 D Vold : Opened lunfile
 /sys/class/android_usb/android0/f_mass_storage/lun0/file
 10-17 17:36:56.540 118 182 D Vold : Volume sdcard state changing 1
 (Idle-Unmounted) - 7 (Shared-Unmounted)

 just to clarify: I can access the SD Card from the device it self, but if I
 share the storage with a computer (I tried Windows 7, Linux and OS X) I see
 only the internal media storage. At the moment the only way to copy files
 from the card is to pull it with adb pull /emmc/*

 2014-10-17 10:58 GMT+02:00  alc...@mozilla.com  :

  Vold :
 
 ___
 dev-b2g mailing list
 dev-b2g@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-b2g
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g


[b2g] No space to push Gecko?

2014-10-17 Thread Giovanny Andres Gongora Granada
Hi,

Today I tried to update my phone but I could no do it because it shows me
and error at the final that is:

'/system/b2g/libxul.so': No space left on device
### Failed: Pushing Gecko to device failed.

How can I don't have space to push Gecko if my device is clean?

I hope this could have solution.

Thanks,
Gio

### Attached log ###

·$ ./shallow_flash.sh -ggaia.zip -Gb2g-36.0a1.en-US.android-arm.tar.gz
Are you sure you want to flash
Gaia: gaia.zip
Gecko: b2g-36.0a1.en-US.android-arm.tar.gz
to your Device? [y/N]y
### Waiting for device... please ensure it is connected, switched on and
remote debugging is enabled in Gaia
### Restarting adb with root permissions...
adbd is already running as root
### Remounting the /system partition...
remount succeeded

### Stopping b2g process...
### Processing Gaia: gaia.zip
### Unzip gaia.zip to /tmp/shallowflashgaia.JqrPD0a3y3Ac ...
### Cleaning Gaia and Profiles ...
rm failed for /cache/*, No such file or directory
rm failed for /data/b2g/*, No such file or directory
rm failed for /data/local/storage/persistent/*, No such file or directory
rm failed for /data/local/svoperapps, No such file or directory
rm failed for /data/local/webapps, No such file or directory
rm failed for /data/local/user.js, No such file or directory
rm failed for /data/local/permissions.sqlite*, No such file or directory
rm failed for /data/local/OfflineCache, No such file or directory
rm failed for /data/local/indexedDB, No such file or directory
rm failed for /data/local/debug_info_trigger, No such file or directory
### Cleaning Done.
### Pushing Gaia to device ...
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
findmydevice.gaiamobile.org/application.zip - /system/b2g/webapps/
findmydevice.gaiamobile.org/application.zip
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
findmydevice.gaiamobile.org/manifest.webapp - /system/b2g/webapps/
findmydevice.gaiamobile.org/manifest.webapp
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
bluetooth.gaiamobile.org/application.zip - /system/b2g/webapps/
bluetooth.gaiamobile.org/application.zip
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
bluetooth.gaiamobile.org/manifest.webapp - /system/b2g/webapps/
bluetooth.gaiamobile.org/manifest.webapp
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
ringtones.gaiamobile.org/application.zip - /system/b2g/webapps/
ringtones.gaiamobile.org/application.zip
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
ringtones.gaiamobile.org/manifest.webapp - /system/b2g/webapps/
ringtones.gaiamobile.org/manifest.webapp
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
settings.gaiamobile.org/application.zip - /system/b2g/webapps/
settings.gaiamobile.org/application.zip
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
settings.gaiamobile.org/manifest.webapp - /system/b2g/webapps/
settings.gaiamobile.org/manifest.webapp
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
fl.gaiamobile.org/application.zip - /system/b2g/webapps/
fl.gaiamobile.org/application.zip
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
fl.gaiamobile.org/manifest.webapp - /system/b2g/webapps/
fl.gaiamobile.org/manifest.webapp
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
operatorvariant.gaiamobile.org/application.zip - /system/b2g/webapps/
operatorvariant.gaiamobile.org/application.zip
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
operatorvariant.gaiamobile.org/manifest.webapp - /system/b2g/webapps/
operatorvariant.gaiamobile.org/manifest.webapp
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
callscreen.gaiamobile.org/application.zip - /system/b2g/webapps/
callscreen.gaiamobile.org/application.zip
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
callscreen.gaiamobile.org/manifest.webapp - /system/b2g/webapps/
callscreen.gaiamobile.org/manifest.webapp
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
default_theme.gaiamobile.org/application.zip - /system/b2g/webapps/
default_theme.gaiamobile.org/application.zip
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
default_theme.gaiamobile.org/manifest.webapp - /system/b2g/webapps/
default_theme.gaiamobile.org/manifest.webapp
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
costcontrol.gaiamobile.org/application.zip - /system/b2g/webapps/
costcontrol.gaiamobile.org/application.zip
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
costcontrol.gaiamobile.org/manifest.webapp - /system/b2g/webapps/
costcontrol.gaiamobile.org/manifest.webapp
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
pdfjs.gaiamobile.org/application.zip - /system/b2g/webapps/
pdfjs.gaiamobile.org/application.zip
push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
pdfjs.gaiamobile.org/manifest.webapp - /system/b2g/webapps/
pdfjs.gaiamobile.org/manifest.webapp
push: 

Re: [b2g] No space to push Gecko?

2014-10-17 Thread Giovanny Andres Gongora Granada
Some info of my partitions:

·$ adb shell df
Filesystem   Size Used Free   Blksize
/dev   452.7M   132.0K   452.6M   4096
/sys/fs/cgroup 452.7M12.0K   452.7M   4096
/mnt/asec  452.7M 0.0K   452.7M   4096
/mnt/obb   452.7M 0.0K   452.7M   4096
/system354.2M   337.1M17.1M   4096
/data2.0G33.3M 2.0G   4096
/cache  70.8M 4.0M66.8M   4096
/persist 4.9M 4.1M   848.0K   4096
/firmware   64.0M31.4M32.5M   16384

System partition doesn't not have space but I don't know why. I have clean
my phone, no media files, nothing.

2014-10-17 21:32 GMT-05:00 Giovanny Andres Gongora Granada gio...@gmail.com
:

 Hi,

 Today I tried to update my phone but I could no do it because it shows me
 and error at the final that is:

 '/system/b2g/libxul.so': No space left on device
 ### Failed: Pushing Gecko to device failed.

 How can I don't have space to push Gecko if my device is clean?

 I hope this could have solution.

 Thanks,
 Gio

 ### Attached log ###

 ·$ ./shallow_flash.sh -ggaia.zip -Gb2g-36.0a1.en-US.android-arm.tar.gz
 Are you sure you want to flash
 Gaia: gaia.zip
 Gecko: b2g-36.0a1.en-US.android-arm.tar.gz
 to your Device? [y/N]y
 ### Waiting for device... please ensure it is connected, switched on and
 remote debugging is enabled in Gaia
 ### Restarting adb with root permissions...
 adbd is already running as root
 ### Remounting the /system partition...
 remount succeeded

 ### Stopping b2g process...
 ### Processing Gaia: gaia.zip
 ### Unzip gaia.zip to /tmp/shallowflashgaia.JqrPD0a3y3Ac ...
 ### Cleaning Gaia and Profiles ...
 rm failed for /cache/*, No such file or directory
 rm failed for /data/b2g/*, No such file or directory
 rm failed for /data/local/storage/persistent/*, No such file or directory
 rm failed for /data/local/svoperapps, No such file or directory
 rm failed for /data/local/webapps, No such file or directory
 rm failed for /data/local/user.js, No such file or directory
 rm failed for /data/local/permissions.sqlite*, No such file or directory
 rm failed for /data/local/OfflineCache, No such file or directory
 rm failed for /data/local/indexedDB, No such file or directory
 rm failed for /data/local/debug_info_trigger, No such file or directory
 ### Cleaning Done.
 ### Pushing Gaia to device ...
 push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
 findmydevice.gaiamobile.org/application.zip - /system/b2g/webapps/
 findmydevice.gaiamobile.org/application.zip
 push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
 findmydevice.gaiamobile.org/manifest.webapp - /system/b2g/webapps/
 findmydevice.gaiamobile.org/manifest.webapp
 push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
 bluetooth.gaiamobile.org/application.zip - /system/b2g/webapps/
 bluetooth.gaiamobile.org/application.zip
 push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
 bluetooth.gaiamobile.org/manifest.webapp - /system/b2g/webapps/
 bluetooth.gaiamobile.org/manifest.webapp
 push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
 ringtones.gaiamobile.org/application.zip - /system/b2g/webapps/
 ringtones.gaiamobile.org/application.zip
 push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
 ringtones.gaiamobile.org/manifest.webapp - /system/b2g/webapps/
 ringtones.gaiamobile.org/manifest.webapp
 push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
 settings.gaiamobile.org/application.zip - /system/b2g/webapps/
 settings.gaiamobile.org/application.zip
 push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
 settings.gaiamobile.org/manifest.webapp - /system/b2g/webapps/
 settings.gaiamobile.org/manifest.webapp
 push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
 fl.gaiamobile.org/application.zip - /system/b2g/webapps/
 fl.gaiamobile.org/application.zip
 push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
 fl.gaiamobile.org/manifest.webapp - /system/b2g/webapps/
 fl.gaiamobile.org/manifest.webapp
 push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
 operatorvariant.gaiamobile.org/application.zip - /system/b2g/webapps/
 operatorvariant.gaiamobile.org/application.zip
 push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
 operatorvariant.gaiamobile.org/manifest.webapp - /system/b2g/webapps/
 operatorvariant.gaiamobile.org/manifest.webapp
 push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
 callscreen.gaiamobile.org/application.zip - /system/b2g/webapps/
 callscreen.gaiamobile.org/application.zip
 push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
 callscreen.gaiamobile.org/manifest.webapp - /system/b2g/webapps/
 callscreen.gaiamobile.org/manifest.webapp
 push: /tmp/shallowflashgaia.JqrPD0a3y3Ac/gaia/profile/webapps/
 default_theme.gaiamobile.org/application.zip - /system/b2g/webapps/