← 输入框|github.com|刷新
Skip to content

[Bug] Black camera Preview - 10.0 works without the fix #7

Closed

Description

@ZioFrengo

Platform: TAMA
Device: APOLLO
Kernel version: 4.9
Android version: 9.0

Description
Even if I mount the fix for the camera, I still have the problem of the black preview, why?

Symptoms
Black Preview

How to reproduce
After flash the camera fix

Activity

  1. added
    bug
    on Apr 9, 2019
  2. changed the title [-][Bug] [/-] [+][Bug] Black camera Preview[/+] on Apr 9, 2019
  3. MartinX3 commented on Apr 9, 2019

    @MartinX3
    Member

    If you unlocked your phone on PIE, please don't install the camerafix.zip
    But if the preview is black without the camerafix (if installed by accident reflash the vendor.sin/vendor.img/vendorpartition), follow the following instructions.

    If you unlocked it on OREO,

    • Downgrade to OREO (needs fullwipe to boot the device)
    • Execute XPERIFIX on OREO (custom installation, VENDOR, A/B, magisk.zip) & permissive.zip (only in oreo)
    • Take a picture on OREO (if the camera preview works, all is correct) -> only do it once on a device
    • Upgrade to PIE
    • fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img -> if any error happen, you use the wrong fastboot version
    • Install camerafix.zip in TWRP

    If this problem still occur, I can reopen this issue.
    Have fun. :)

    PS:
    If you use 10.0 you don't need any fix at all.
    It is still recommend to unlock the bootloader only on the newest possible stock rom, but Oreo and Pie unlockers should be equally happy now without any camera issues.

  4. ZioFrengo commented on Apr 9, 2019

    @ZioFrengo
    Author

    Thank you!!!

  5. pinned this issue on May 2, 2019
  6. ZioFrengo commented on Jun 26, 2019

    @ZioFrengo
    Author

    I did all the steps, but the problem is not solved even in oreo. XperiFix does not go and the file permissive.zip I don't know where it is

  7. MartinX3 commented on Jun 26, 2019

    @MartinX3
    Member

    In the actual twrp bundles is this file.
    You need as magisk addon, or the xperifix doesn't work in Oreo.

  8. ZioFrengo commented on Jun 26, 2019

    @ZioFrengo
    Author

    If it is not a problem, you could explain to me step by step the whole procedure in detail because I am going crazy ahahahahaha

  9. MartinX3 commented on Jun 26, 2019

    @MartinX3
    Member

    Here :P
    #7 (comment)

  10. ZioFrengo commented on Jun 26, 2019

    @ZioFrengo
    Author

    I find permissive.zip in the twrp pie directory right?

  11. MartinX3 commented on Jun 26, 2019

    @MartinX3
    Member

    Yes :)

  12. ZioFrengo commented on Jun 26, 2019

    @ZioFrengo
    Author

    is version 51.1.a.11.51 right for XperiFix?

  13. MartinX3 commented on Jun 26, 2019

    @MartinX3
    Member

    My uploaded Oreo firmware? Yes.

  14. ZioFrengo commented on Jun 26, 2019

    @ZioFrengo
    Author

    should I flash permissive before or after xperifix??

  15. MartinX3 commented on Jun 26, 2019

    @MartinX3
    Member

    Both is fine, just follow the instructions :)

  16. ZioFrengo commented on Jun 26, 2019

    @ZioFrengo
    Author

    even if I follow all the steps the fix doesn't work

  17. MartinX3 commented on Jun 26, 2019

    @MartinX3
    Member

    Selinux is permissive and the xperifix files are in place?
    Drmfix.so and drmfuck.so are in vendor?

    You did a restart at the end?

  18. ZioFrengo commented on Jun 27, 2019

    @ZioFrengo
    Author

    Yes it's all where it should be, by chance should magisk be version 18.1? Or is the version in the folder ok anyway?

  19. MartinX3 commented on Jun 27, 2019

    @MartinX3
    Member

    Magisk must be 18.1 on stock (until the bootloop got fixed) and on sodp based roms your boot 18.1 once and upgrade to 19.3 or newer.

  20. aka-charos commented on Jan 13, 2020

    @aka-charos

    Some general instructions to help others for the Oreo steps:

    • Flash with newflasher OREO H8324_Customized+CE1_1313-3194_51.1.A.11.51_R8A (found at https://androidfilehost.com/?w=files&flid=288272)

    • fastboot reboot bootloader

    • fastboot flash boot C:\Users\R3drum\Downloads\2018-10-11_16.20+2.00_51.1.A.11.51.tar\twrp-3.2.3-0-xz2c.img

    • fastboot --disable-verity --disable-verification flash vbmeta C:\Users\R3drum\Downloads\2018-10-11_16.20+2.00_51.1.A.11.51.tar\vbmeta-xz2c.img

    • fastboot reboot > enter TWRP > Advanced >Adb Sideload

    • adb sideload C:\Users\R3drum\Downloads\2018-10-11_16.20+2.00_51.1.A.11.51.tar\stockkernel-xz2c-installer.zip

    • adb sideload C:\Users\R3drum\Downloads\2018-10-11_16.20+2.00_51.1.A.11.51.tar\twrp-3.2.3-0-xz2-xz2c-xz2p-installer.zip

    • adb sideload C:\Users\R3drum\Downloads\2018-10-11_16.20+2.00_51.1.A.11.51.tar\Magisk-v17.1.zip

    • Reboot to ROM and then shutdown again

    • Enter into TWRP and enable adb : adb sideload C:\Users\R3drum\Downloads\2019-11-16_10-27-04_twrp_stock_xz2c_52.0.A.11.32.tar\permissive.zip

    • Run XperiFIX > Flash Magisk and VENDOR and A/B

    • Boot to ROM, camera works on Oreo

  21. aka-charos commented on Jan 13, 2020

    @aka-charos
    • Flash 1311-5320 51.1.a.11.51 with Emma > Camera does not work

    • Enter fastboot > adb reboot bootloader

    • fastboot --disable-verity --disable-verification flash vbmeta C:\Users\R3drum\Downloads\2019-11-16_10-27-04_twrp_stock_xz2c_52.0.A.11.32.tar\vbmeta.img

    • fastboot boot C:\Users\R3drum\Downloads\2019-11-16_10-27-04_twrp_stock_xz2c_52.0.A.11.32.tar\twrp-xz2c.img

    • adb sideload C:\Users\R3drum\Downloads\2019-11-16_10-27-04_twrp_stock_xz2c_52.0.A.11.32.tar[Pie]Camera_fix_by_MartinX3.zip

    Reboot to Rom > Camera works!

  22. changed the title [-][Bug] Black camera Preview[/-] [+][Bug] Black camera Preview - 10.0 works without the fix[/+] on Jan 13, 2020
  23. MartinX3 commented on Jan 13, 2020

    @MartinX3
    Member

    @aka-charos
    Thank you :)
    Or upgrade to 10.0.
    I heard there the camera now works for Oreo and Pie unlocker equally without any fix.

  24. aka-charos commented on Jan 13, 2020

    @aka-charos

    That's good news Martin. Do you happen to know if on Android 10 for Oreo unlockers it "just works" (poor camera quality) or properly works (no quality degradation in camera) ?

  25. MartinX3 commented on Jan 13, 2020

    @MartinX3
    Member

    @aka-charos
    I never saw a different, maybe it is hard to see in terms of quality.
    I heard that in dark places the quality may became worse.
    But sadly I don't have before and after photos in the exact same condition from a laboratory environment to compare.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions