Code Monkey home page Code Monkey logo

Comments (25)

andyt9527 avatar andyt9527 commented on August 24, 2024 1

It seems that I have figured it out by:
1.change the seLinux stauts : $adb shell su to setenforce permissive
2.install the adbd insecure v2.0.apk and enable insecure adbd
and then I execute the .sh ,there is no does not exist appears any more.

Now the outcome vendor folder contains 1,565 items, totalling 414.1 MB.

The strings printed by your last 'ls -l 'command is :
$-rwxr-xr-x root shell 43424 2016-06-30 19:12 ATFWD-daemon

from android.

leonfish77101 avatar leonfish77101 commented on August 24, 2024

@handelxh , please show me the error

from android.

toffyjan avatar toffyjan commented on August 24, 2024

Should I use msm_defconfig for compiling kernel or msm-perf_defconfig? I tried both but end up with wifi is not working. I also copied modules from lib and flashed.. but there is still problem with wifi.

Any idea's / suggestions ..Thanks

from android.

leonfish77101 avatar leonfish77101 commented on August 24, 2024

@toffyjan

I think msm-perf_defconfig is good.
Check this code in AndroidBoard.mk:

ifeq ($(KERNEL_DEFCONFIG),)
ifeq ($(TARGET_BUILD_VARIANT),user)
KERNEL_DEFCONFIG := msm-perf_defconfig
else
KERNEL_DEFCONFIG := msm_defconfig
endif
endif

May be you missed wifi module which have to pulled from the device. You can check the script I uploaded in "android" repository named pull_library.sh for more details about wifi driver

from android.

theobch avatar theobch commented on August 24, 2024

@leonfish77101 Hi :) !
Error with a fresh sync from this github: http://pastebin.com/qc4uTZKn
Any idea ?
Thanks !

from android.

handelxh avatar handelxh commented on August 24, 2024

image
@leonfish77101

from android.

leonfish77101 avatar leonfish77101 commented on August 24, 2024

@handelxh ime needs to pull from device. Did you execute the pull script?

from android.

leonfish77101 avatar leonfish77101 commented on August 24, 2024

@theobch I haven’t seen this error before. In fact, tcmiface is built from vendor/qcom/opensource/dpm, and this is from Qualcomm

from android.

theobch avatar theobch commented on August 24, 2024

@leonfish77101 So what should I do ? I execute the script (under OxygenOS 3.0.2) to pull blobs, so what can I do more ?

from android.

leonfish77101 avatar leonfish77101 commented on August 24, 2024

@theobch can you build this module from vendor/qcom/opensource/dpm ? Or make sure all codes are synced correctly.

from android.

handelxh avatar handelxh commented on August 24, 2024

@leonfish77101 after I pull frome device and copy this dir to root of project . Still have error like this:
Uploading image.png…

from android.

handelxh avatar handelxh commented on August 24, 2024

make: *** No rule to make target out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar', needed byout/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes-full-debug.jar'. Stop.
make: *** Waiting for unfinished jobs....

from android.

leonfish77101 avatar leonfish77101 commented on August 24, 2024

@handelxh As I said before, tcmiface doesn't need to pull from device, this module is built from vendor/qcom/opensource/dpm

from android.

andyt9527 avatar andyt9527 commented on August 24, 2024

make: *** No rule to make target vendor/oneplus/bin/ATFWD-daemon', needed byout/target/product/msm8996/system/bin/ATFWD-daemon'. Stop.

it seems that the pull script execution went wrong or I did not pull all that needed to bulled from device?
is that the problem with the su permission?

from android.

leonfish77101 avatar leonfish77101 commented on August 24, 2024

@andytian1991 Before build, you should root your device first, because the pull script needs root permission to pull every blob we need

from android.

andyt9527 avatar andyt9527 commented on August 24, 2024

I have already rooted the device. and supersu installed

from android.

andyt9527 avatar andyt9527 commented on August 24, 2024

when executing the .sh,some log like below appears
remote object '/system/bin/ATFWD-daemon' does not exist
remote object '/system/bin/athdiag' does not exist

from android.

leonfish77101 avatar leonfish77101 commented on August 24, 2024

@andytian1991 what strings will be printed when execute this command
adb shell ls -l /system/bin/ATFWD-daemon

from android.

andyt9527 avatar andyt9527 commented on August 24, 2024

Besides when I try to change the seLinux status,firstly I installed the seLinuxModeChange.apk but the device informed me that my device is not rooted or i did not grand the apk the root permission.
I did not know what is wrong, is my root operation is just kinda a fake root?

from android.

leonfish77101 avatar leonfish77101 commented on August 24, 2024

@andytian1991 Sorry, I cannot give you any useful advices about how to root your device...

from android.

handelxh avatar handelxh commented on August 24, 2024

@leonfish77101 @andytian1991 i think it's not necessary to root device. i just adb pull this lib from device ,and cp /vendor/onelus/* to root/venndor/oneluse/ . compile android success.

from android.

andyt9527 avatar andyt9527 commented on August 24, 2024

@handelxh have you flash the images? Is there something wrong?

from android.

handelxh avatar handelxh commented on August 24, 2024

@andytian1991 not yet

from android.

BambooIV avatar BambooIV commented on August 24, 2024

@leonfish77101 will you guys release oneplus one manifests?

from android.

Varadapavani avatar Varadapavani commented on August 24, 2024

Hi ,
Iam getting this error in compiling Android7. please help me out from this.

ninja: Entering directory `.'
ninja: error: 'out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar.toc', needed by 'out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes-full-debug.jar', missing and no known rule to make it
make: *** [ninja_wrapper] Error 1

Thank you

from android.

Related Issues (20)

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.