Profile cover photo
Profile photo
Mathieu Maret
142 followers
142 followers
About
Posts

Post has shared content
Improving Linux battery life, enabling PSR by default, testers wanted hansdegoede.livejournal.com/18653.html +Hans De Goede writes: "[…] I'm working on improving Linux laptop battery live […] enabling Panel Self Refresh (PSR) by setting i915.enable_psr=1 saves another 0.5W […] So we will likely need either a blacklist or whitelist for this. […]So I would like to ask everyone who runs Linux on their laptop (with a recent-ish kernel) to test this and gather some data for me: […] Check if your laptop uses an eDP panel, do: "ls /sys/class/drm" […] Get a baseline powerconsumption measurement […] Add "i915.enable_psr=1" to your kernel cmdline and reboot […] Measure idle powerconsumption again […]"
Photo
Add a comment...

Post has attachment

Post has shared content
Add a comment...

Post has shared content
What's new in Android N adb/shell?

adb push/pull/sync much faster. (AOSP N9 full /system sync down from 60s to 20s.) Now with better progress feedback showing percentage complete.

adb push/pull interpret command-line arguments more like scp.

adb shell: returns remote process’ exit status, distinguishes stdout/stderr, passes through stdin (so you can pipe into a remote process), passes window size and terminal type (and updates window size), >1024 shell command length. These features all require a new adbd, so even with a new adb they’ll only work when talking to new devices. (Most of this work was done by the Brillo team.)

Windows support greatly improved (99% of this work done by external contributor Spencer Low).

Increased stability for automated testing.

Helpful diagnostics for adb/fastboot Linux USB permissions problems.

Numerous command-line tool improvements/bug fixes. In particular, ls(1) is now the much more full-featured toybox ls. Unlike in M, sed(1) now works fine.
Add a comment...

Post has shared content
Something I was particularly proud of being able to demo last week at Linaro Connect, was the Nexus7 running a mainline kernel, which has been part of our form-factor enablement effort.

So here is a little demo video of the current status:
https://drive.google.com/file/d/0B2zT38Egh-1TdFRybUZsSUY4bEU/view?usp=sharing

We've got Android Marshmallow running on a mainline kernel with ~50 patches on top of mainline:
https://git.linaro.org/people/john.stultz/flo.git/shortlog/refs/heads/flo-WIP

We've got accelerated graphics using freedreno and the latest mesa, with a DRM based hwcomposer.

This is really great, because we now have a very-close to mainline test bed on a actual consumer device. So we can make sure upstream doesn't introduce any regressions (just recently, two ABI breaks that affected android were recently caught) and allows us to make sure when we push Android functionality upstream, that any interface changes required by maintainers can be properly tested to make sure what lands upstream really works.

Again, I've not done much actual development to make this happen. I've just been doing integration work. So a huge thanks to +Rob Clark, +Bjorn Andersson, +Vinay Simha, +Archit Taneja, +Rob Herring, +Amit Pundir +Srinivas Kandagatla, and everyone who has been pushing related patches upstream at Qualcomm, Sony and Linaro's landing teams.

Its a huge credit to those folks that for the most part enabling functionality on this device has just been a matter of adding config options and devicetree entries. Of the ~50 patches, half are for the iommu and rpm-clk support for the device, ~10% is the display panel, and the rest are really config and device-tree changes, and a few small hacks to integrate into Android builds and getting the touch panel working.

If you want to try to reproduce this yourself, you can find instructions here (though no promises this won't set your device on fire):
https://wiki.linaro.org/LMG/Kernel/FormFactorEnablement
Add a comment...

Post has shared content
Some AOSP bulding tips
[Old But Gold]

Our guy +Mathieu Maret shared a few months ago nice tips on how to set up an efficient ROM environment. Always good to know!

#AndroidDev #AndroidROM #DevTips
Add a comment...

Post has shared content
Let's hack the genymotion kernel !
#androiddev Our kernel source code is now available on GitHub! → http://buff.ly/1V7r8s9
Photo
Add a comment...

Post has shared content

Post has shared content

Post has shared content
Want to get some Android building trick ?
Tips & tricks for ROM building environment! http://buff.ly/1HQqpac #AndroidDev
Add a comment...
Wait while more posts are being loaded