Android Framework - Creating custom HIDL in Android

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ม.ค. 2022
  • Hi All,
    In this video, I explain the steps to create custom HIDL in Android, Seeing this you all can try out and get an understanding how the HIDL is created and how few files are auto-generated for us

ความคิดเห็น • 33

  • @pavitrad7147
    @pavitrad7147 2 ปีที่แล้ว

    Hi Dimple, good explanation on custom HIDL.Great job

  • @mdrashid6002
    @mdrashid6002 8 หลายเดือนก่อน

    Big wala thanksss, it really helped.
    Better if you can provide the client application using this hidl.
    East or West, Dimple Framework is the best👌

  • @hemantsoni2507
    @hemantsoni2507 ปีที่แล้ว

    Hi,
    I dont have words to say thanks to you, to make this sooo simple
    Thank you soo much

  • @amitchaturvedi2246
    @amitchaturvedi2246 2 ปีที่แล้ว

    Good Work Dimple.

  • @AiBrOn
    @AiBrOn 3 หลายเดือนก่อน

    Nice job! I have always wondered how that works

  • @vvvkkkvvv
    @vvvkkkvvv 2 ปีที่แล้ว

    Good , It helps a lot, God bless you with success.

  • @rk-eg3km
    @rk-eg3km 2 ปีที่แล้ว

    Hi Dimple,
    First of all a big Thanks to you for covering up this topic, I have few quarries.
    1 I can see the hardware folder along with default, what it contains?
    2 Which hardware (driver) you are targeting to read, write and where exactly we are doing that?
    3 What about sepolicie?
    4 I know its tough to gather all the information in one place, could you please share any link or documents for Android 10 or latest version if you have, it will be very helpful?

    • @dimples_android_geek
      @dimples_android_geek  2 ปีที่แล้ว

      Hi, Hardware folder im not aware of it, need to check . Currently since this is demo, i have not targeted any hardware. , I followed Opersys by Karim

  • @cid007007
    @cid007007 2 ปีที่แล้ว +3

    At 15:17 in default Android.bp we need to change cc_library_shared to cc_binary and also need to change service name from -impl to -service in default Android.bp if we want to make it binderized hal...
    Also, don't we need service.cpp in default folder and rc file ?
    In device specific folder we need to add that binderized service name in PRODUCT_PACKAGES of target.mk file..
    Also we need to take care of adding selinux permissions if we run it in enforce mode..

    • @dimples_android_geek
      @dimples_android_geek  2 ปีที่แล้ว

      Hi Dev thank you for ur inputs.. yes we need to add service.cpp and RC file if we want to use binderized approach .. and yeah I did not cover abt selinux in this video ...

    • @hemantsoni2507
      @hemantsoni2507 ปีที่แล้ว +1

      Thanks for showing the difference

  • @Ankitasaini-nu4zo
    @Ankitasaini-nu4zo 2 หลายเดือนก่อน

    Hi Dimple, Thank you so much, can you please tell us how HIDL further communicates with System service? I heard, will have to do HAL customization in vendor folder, can you please tell me why all processes happen in hardware/interface folder?
    Thankyou!

    • @dimples_android_geek
      @dimples_android_geek  หลายเดือนก่อน +1

      Hi , all the hardware and it's customizations are maintained in these two folders hardware and vendor .. it's a standard followed by Google so evrything is at one place and not scattered around .. Hidl uses calls and connects to aidl wch. In turn talks to system services

  • @SushilKumar-pq5ff
    @SushilKumar-pq5ff 2 ปีที่แล้ว

    If I am not wrong I see there is one current.txt file in my aosp repo which contains hash key value of a project so that it will prevent any accidentally change in any repo. Once you have made any changes in any hal file you have to update the new generated has key in the current.txt file.

    • @dimples_android_geek
      @dimples_android_geek  2 ปีที่แล้ว

      Thanks Sushil, i was not aware of this

    • @rishabhgupta2741
      @rishabhgupta2741 2 ปีที่แล้ว +1

      Yes Sushil you are correct you need to update the current.txt after changes in your Hidl implementation. You can you hidl-gen command to generate the hash i guess.

  • @karthikeyant4459
    @karthikeyant4459 ปีที่แล้ว

    Hello!!
    Can you please upload a video on Android S Migrations & How to create my own Android HAL AOSP Architecture

  • @shalinisharma3446
    @shalinisharma3446 ปีที่แล้ว

    Hii dimple you didn't show how you have genrated hardware folder in TH-camDimple/2.0 .

  • @vaishnavviju3750
    @vaishnavviju3750 5 หลายเดือนก่อน +1

    which terminal or tool are you using to run these commands

    • @dimples_android_geek
      @dimples_android_geek  5 หลายเดือนก่อน

      Mobaxterm if you are working on windows... In Linux machines u can use normal terminal

    • @dimples_android_geek
      @dimples_android_geek  5 หลายเดือนก่อน

      U can also use putty

    • @vaishnavviju3750
      @vaishnavviju3750 5 หลายเดือนก่อน

      Can I use oracle virtual box to run linux machine in windows

  • @Deepak-wv4ub
    @Deepak-wv4ub 2 ปีที่แล้ว +1

    New .hal will not work from android 12.
    Only new .aidl can be added.