Git Product home page Git Product logo

android's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android's Issues

THANKS!

Thanks for doing this, very important step! 💃

also can you make sure a License file is included? 👍

OnePlus 6T Oxygen OS 12 source code

Unfortunately the OnePlus 6 and 6T will not receive any new updates.

An idea sprung to my mind. How about official OnePlus community software releases?

That way the OnePlus 6/6T devices will still have updates, through their regular updater, but those updates are made and maintained by the community.

I do not know the ins and outs of your ecosystem but I'm sure there is a way to do so.

unable to make 25. msm8996-userdebug

make: *** No rule to make target 'vendor/oneplus/bin/ATFWD-daemon', needed by 'out/target/product/msm8996/system/bin/ATFWD-daemon'. Stop.
make: *** Waiting for unfinished jobs....

Ambient display reappearing when downloading

Problem

When doing stuff like downloading something, say, music from Google Play Music, Ambient display will light up all over until the update is done, since the percentage in the notification changed.

Expected behavior

It should light up once, then not again until the task has completed.

Version

Running ONEPLUS A3003_28_170411 on my OnePlus 3T.

Regarding output of pull_library.sh

Hi,
Can you please help clarify the below query.
After executing pull_library.sh , a directory named "vendor" is created.
Where should we copy this folder to, in our already synced android source code tree?
It is written in READ.md that we should copy this to root of the tree but I see there is already a vendor folder existing when code is synced from repo.

Can I get the bootloader for the MSM896 ?

Hi,
Can you please provide the link for getting the open source or any reference bootloader source code link for this platform ?
MSM8996 (Snapdragon 820)

Thanks for your support.

Regards,
Titus S.

msm8996 8.0 Build Says Encryption Unsuccessful on Boot

I followed the steps to build for OnePlus3T (msm8996 8.0) and made the factory images and ZIP file.

There was an issue with flashing the images, and an issue with flashing the ZIP, but I got around that.

I flashed the OTA zip onto my phone, it shows the Android boot animation and then says Encryption Unsuccessful.

I've tried to factory reset, wipe userdata, format userdata, erase everything, reflash, and more. Nothing works.

Thanks, Nate

@MegaLiu @OnePlusOSSAdmin @leonfish77101

pull_library.sh missing files

These files cannot be found on the device:

adb: error: failed to stat remote object '/system/lib64/hw/nfc_nci.pn54x.default.so': No such file or directory
adb: error: failed to stat remote object '/system/lib64/libnfc-nci.so': No such file or directory
adb: error: failed to stat remote object '/system/lib64/libnfc_nci_jni.so': No such file or directory
adb: error: failed to stat remote object '/system/vendor/lib64/libloc2jnibridge.so': No such file or directory

Are these still necessary?

pull script error

Something does not exist like
2018-07-04 14-38-54

'/system/lib/libadsprpc.so'
OnePlus5T H2OS Open 10

adb: error: remote object '/system/bin/dpmd' does not exist adb: error: remote object '/system/bin/dun-server' does not exist adb: error: remote object '/system/bin/qvrservice' does not exist adb: error: remote object '/system/bin/wfdservice' does not exist adb: error: remote object '/system/etc/firmware/cpp_firmware_v1_10_0.fw' does not exist adb: error: remote object '/system/etc/firmware/cpp_firmware_v1_1_1.fw' does not exist adb: error: remote object '/system/etc/firmware/cpp_firmware_v1_12_0.fw' does not exist adb: error: remote object '/system/etc/firmware/cpp_firmware_v1_1_6.fw' does not exist adb: error: remote object '/system/etc/firmware/cpp_firmware_v1_2_0.fw' does not exist adb: error: remote object '/system/etc/firmware/cpp_firmware_v1_4_0.fw' does not exist adb: error: remote object '/system/etc/firmware/cpp_firmware_v1_5_0.fw' does not exist adb: error: remote object '/system/etc/firmware/cpp_firmware_v1_5_1.fw' does not exist adb: error: remote object '/system/etc/firmware/cpp_firmware_v1_5_2.fw' does not exist adb: error: remote object '/system/etc/firmware/cpp_firmware_v1_6_0.fw' does not exist adb: error: remote object '/system/etc/firmware/cpp_firmware_v1_8_0.fw' does not exist adb: error: remote object '/system/lib/libadsprpc.so' does not exist adb: error: remote object '/system/lib/libcdsprpc.so' does not exist adb: error: remote object '/system/lib/libsdsprpc.so' does not exist adb: error: remote object '/system/lib64/libadsprpc.so' does not exist adb: error: remote object '/system/lib64/libcdsprpc.so' does not exist adb: error: remote object '/system/lib64/libsdsprpc.so' does not exist adb: error: remote object '/system/lib64/[email protected]' does not exist adb: error: cannot create file/directory 'vendor/oneplus/vendor/etc/firmware/wcd9320/wcd9320_anc.bin': No such file or directory adb: error: cannot create file/directory 'vendor/oneplus/vendor/etc/firmware/wcd9320/wcd9320_mad_audio.bin': No such file or directory adb: error: cannot create file/directory 'vendor/oneplus/vendor/etc/firmware/wcd9320/wcd9320_mbhc.bin': No such file or directory adb: error: remote object '/system/vendor/etc/scve/facereco/gModel.dat' does not exist adb: error: remote object '/system/vendor/lib/rfsa/adsp/libdirac17801-capiv2.so' does not exist adb: error: remote object '/system/vendor/lib/rfsa/adsp/libdirac_capiv2.so' does not exist adb: error: remote object '/system/vendor/lib/libchromatix_imx398_preview_1080p_cpp.so' does not exist adb: error: remote object '/system/vendor/lib/libchromatix_imx398_isp_zsl_snapshot.so' does not exist adb: error: remote object '/system/vendor/lib/libchromatix_imx398_3a_wechat_preview.so' does not exist adb: error: remote object '/system/vendor/lib/libchromatix_imx398_3a_3264x2448_24fps_preview_bokeh.so' does not exist

Unable to compile kernel for OnePlus2 (msm8994)

I am compiling for the OnePlus2, but I get several errors when compiling the kernel all related to undefined symbols. From what I can tell this is because it is using the default msm8994 kernel config and not the extra configs from msm8994-OnePlus2_defconfig file.

I followed the usual steps to compile (on Ubuntu 14.04):

repo init -u https://github.com/OnePlusOSS/android/ -b oneplus/6.0.1
repo sync
bash .repo/manifests/pull_library.sh
lunch 15
make -j8

My OnePlus2 was just recently purchased, is root and is running OxygenOS 3.2.x.

I could simply just clobber the msm8994_defconfig file with the other one, but I'm thinking this may just solve one problem while revealing others.

Can we have the branch for the OnepPlus 7 Pro Please

The nearest available is repo init -u git://github.com/OnePlusOSS/android.git -b oneplus6/9.0.0
which can finally be properly downloaded.
Lunch only shows the 47. sdm845-userdebug
and we need the sdm855

Thanks in advance!

[MSM8996] ninja: error: 'vendor/oneplus/sbin/dashd'

I'm building OnePlusOSS Oreo for the OP3T aka msm8996 and I get this error:
ninja: error: 'vendor/oneplus/sbin/dashd', needed by 'out/target/product/msm8996/obj/EXECUTABLES/dashd_intermediates/dashd', missing and no known rule to make it

I've got the vendor directory setup with vendor/oneplus in the root of my source tree, I've got the prebuilt.mk, the Android.mk, and Android.bp, as well as the other files on this GitHub. Inside the sbin folder I have "dashd" and in the prebuilt.mk file I have this line:
PRODUCT_COPY_FILES += vendor/oneplus/vendor/sbin/dashd:sbin/dashd but I still get that error above.

How can I fix this? Thanks :) @MegaLiu @leonfish77101 @OnePlusOSSAdmin

[OxygenOS] 9.0.4 - Incorrect swappiness value / Frequent lag on Oneplus 5

Hello,

I have rooted my OnePlus with with OxygenOS 9.0.4. I was navigating through all files and found that the value for the swappiness is 100.

$ su -c "cat /proc/sys/vm/swappiness"
100

To be noted that swappiness is the value which affects how aggressively a Linux system should use swap. 100 => always use swap, 0=> swap, but less aggressively.

Can you please add the value of 0 as default for your future OxygenOS release ?

I have made a quick fix on my phone, adding this code to a bashrc on termux. Everytime I reboot my phone, the first thing to do is open Termux to change the swappiness value.

$ cat .bashrc
ACTUALVAL=$(su -c "cat /proc/sys/vm/swappiness")
if [ $ACTUALVAL -ne 0 ]; then
        su -c "sysctl -w vm.swappiness=0"
fi

Since then, my device has stopped being laggy, playing games (Asphalt 9), still no swap is being used.

$ uptime
 14:32:24 up 1 day, 18:13,  load average: 4.33, 4.65, 5.01
$ free -h
              total        used        free      shared  buff/cache   available
Mem:          7.5Gi       4.8Gi       103Mi        20Mi       2.7Gi       2.6Gi
Swap:         1.0Gi          0B       1.0Gi

Regards,
Shravan

Where is OnePlus 6?

OnePlus Forum announced:

The device trees and kernel sources for the OnePlus 6 are available now on the OnePlus Github page. Go get them, and make sure to show the community what great custom software you can build!

But Where is it?

Could not read from remote repository

...
Fetching projects: 0% (2/450)
Initializing project OnePlusOSS/android_art ...
fatal: '../OnePlusOSS/android_art.git' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
error: Cannot fetch OnePlusOSS/android_art

Troubles with floating menu on Russian locale

Hi there! I found one very annoying thing. Steps for reproduce:

  1. Set Russian language
  2. Open any link in Google Chrome
  3. Try to copy site link by selecting it

Expected result: you can copy, cut, paste text
Actual result: you can only open link in chrome or cut it, for other actions you have to open additional menu

Repo sync project very slow

Following readme instructions:

Repo sync all code with default.xml
repo init -u git://github.com/OnePlusOSS/android.git -b oneplus/QC8998_N_7.1 repo sync

repo sync is very slow compared to all other projects, i.e. aosp/custom roms, etc.
Also, it is sycing many tags that are not needed.

Is there a way to sync only neeeded tags/branches?

compile error

phone successfully rooted. script to pull all requirements from the phone through ADB did not work due to being unable to run cmds as root on adb (my rooted oneplus-3 is still running the stock image and the stock image does not support ADB as root) so i modified it to copy all the required files to an area accessible by the default user and chmodded it to be accessible (which totally worked).

am now trying to compile the operating system and running into the following error.

Install: out/target/product/generic/system/etc/security/cacerts/ed39abd0.0
Install: out/target/product/generic/system/etc/security/cacerts/ed524cf5.0
Install: out/target/product/generic/system/etc/security/cacerts/ee7cd6fb.0
Install: out/target/product/generic/system/etc/security/cacerts/ee90b008.0
Install: out/target/product/generic/system/etc/security/cacerts/f58a60fe.0
Install: out/target/product/generic/system/etc/security/cacerts/f61bff45.0
Install: out/target/product/generic/system/etc/security/cacerts/f80cc7f6.0
Install: out/target/product/generic/system/etc/security/cacerts/fac084d7.0
Install: out/target/product/generic/system/etc/security/cacerts/facacbc6.0
Install: out/target/product/generic/system/etc/security/cacerts/fb126c6d.0
Install: out/target/product/generic/system/etc/security/cacerts/fde84897.0
Install: out/target/product/generic/system/etc/security/cacerts/ff783690.0
Install: out/host/linux-x86/bin/insertkeys.py
out/host/linux-x86/bin/checkpolicy:  loading policy configuration from out/target/product/generic/obj/ETC/sepolicy.recovery_intermediates/policy_recovery.conf
external/sepolicy/domain.te:256:ERROR 'unknown type rmt_storage' at token ';' on line 9027:
# Ensure that nothing in userspace can access /dev/mem or /dev/kmem
neverallow { domain -kernel -ueventd -init -rmt_storage } kmem_device:chr_file *;
checkpolicy:  error(s) encountered while parsing configuration
external/sepolicy/Android.mk:96: recipe for target 'out/target/product/generic/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery' failed
make: *** [out/target/product/generic/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery] Error 1
make: *** Waiting for unfinished jobs....
Install: out/target/product/generic/system/fonts/AndroidClock.ttf

[Oneplus6]Unable to compile!

error: vendor/oneplus/Android.bp:1:1: module "libbtif_qti" variant "android_arm64_armv8-a_kryo300_core_static": module source path vendor/oneplus/lib64/libbtif_qti.a does not exist
What should I do..pls

Error with sync

Though I am more interested in my devices source, fajita/6T, when attempting to sync the oneplus6/9.0.0 branch I am given:

[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.