yashsingh1/xdaforums huggingface dataset:
[Huawei P20 Pro Themes, Apps, and Mods] TenchiMasaki:
I am also having problems seeing the app icon when I install in twrp on Lineage OS.

Here's the logcat:

07-09 12:18:01.307 844 844 I PackageManager: /system/priv-app/Gallery2 changed; collecting certs

07-09 12:18:01.344 844 844 W PackageManager: Failed to scan /system/priv-app/Gallery2: Failed to collect certificates from /system/priv-app/Gallery2/Gallery2.apk

07-09 12:18:01.371 844 844 I PackageManager: /system/priv-app/HwCamera2 changed; collecting certs

07-09 12:18:01.398 844 844 W PackageManager: Failed to scan /system/priv-app/HwCamera2: Failed to collect certificates from /system/priv-app/HwCamera2/HwCamera2.apk
[Huawei P20 Pro Themes, Apps, and Mods] TenchiMasaki:
Sorry I posted to wrong thread, this version works for me.
[Huawei P20 Pro Themes, Apps, and Mods] TenchiMasaki:
I have been trying to put stock L29-C432 B131 Camera2 but I get the failed to collect certificates again. It seems to be missing res/drawable-xhdpi-v4/ic_camera_filter_normal_pressed.png and potentially other files in Lineage ROM. Found this out by manually trying to install apk via adb. Similar problems happen with installing Gallery2 from stock. I guess these files need to be added to Lineage OS framework-res.apk then we may have a completely working stock Camera app.
[Huawei P20 Pro Themes, Apps, and Mods] reppi:
Try this camera:

https://xdaforums.com/huawei-p20-pro/development/rom-lineageos-15-1-t3791998/post77023856

Working master AI. Gallery issue could not be fixed yet but imo it's not a deal breaker.
[Huawei P20 Pro Themes, Apps, and Mods] Heinzx3:
Try this camera :)

This should run without problems.

https://xdaforums.com/huawei-p20-pro/development/rom-lineageos-15-1-t3791998/post77023856

Versucht diese Kamera diese sollte ohne Probleme laufen.
[Huawei P20 Pro Themes, Apps, and Mods] Infyrana:
omg, I thought I went crazy. glad to read someone else experienced the same issue. had to reflash my complete ROM as I wasn't able to get rid of that bug afterwards.

unfortunately there doesn't seem to be a camera without the portrait mode issue for me (running on latest LOS), but weirdly this camera is working like a charm on a friend's P20 pro with the very same ROM version... I'm curious about what i might have done wrong, but there seem to be more people out there with the same issue.. no one who found a working camera? the gallery app is not a big deal, but portrait not working is for me..

Also tried the installer from the LOS thread, once including the libs and once without, same issue(s) there.
[Huawei P20 Pro Themes, Apps, and Mods] JDR0iD:
Same^ cleared cache etc but no joy
[Huawei P20 Pro Themes, Apps, and Mods] dlads:
Installed alongside the lineage ROM in the development section, working really well up til now..

Just the gallery problem which annoys me, I just can't get into the habit of not clicking that preview of the shot/ video.

Any progress on that front.

Thanks for the mod btw :good:
[Huawei P20 Pro Themes, Apps, and Mods] reppi:
Its not gonna happen. At least not as a mod because it seems to be too complicated the camera dev said. It can be included in a custom ROM but not as a standalone mod unfortunately.
[Huawei P20 Pro Themes, Apps, and Mods] dlads:
I imagine it's the connection between the camera and the gallery application? perhaps Huawei are just so messed up they've complicated it so much so other devices could never have it, i just find that odd seeing how quickly the camera was ported and with no issues?

Either way, thought i'd ask, might ask one of my dev mates to take a look at it. See whats possible
[Huawei P20 Pro Themes, Apps, and Mods] reppi:
Yes if u need more info the dev explained in telegram group why it's hard to port it.
[Huawei P20 Pro Themes, Apps, and Mods] navalynt:
Your Huawei phone has two frameworks. One is the basic Android framework, the other one is Huawei proprietary. Many vendors have their own proprietary framework so that is pretty much expected. The problem when trying to port individual apps out of a propriety framework is the location of the Java classes needed. The camera app itself is actually compiled by Huawei to run independently so the library files can be located on the product or vendor partitions. The gallery, however, looks to be calling a class stored in the Services.jar file which needs to be compiled for the specific OS.

Even if you were to decompile the Services jar to pull out the classes needed they would still need to be compiled into the new ROM. That causes hassles both programmatically and legally so unless your planning to build something like LOS yourself from source to bake in the code necessary to get that one Gallery app working you're probably out of luck.
[Huawei P20 Pro Themes, Apps, and Mods] dlads:
Thank you for explaining that, makes perfect sense.

Appreciated.
[Huawei P20 Pro Themes, Apps, and Mods] frewys:
Thanks for the hard work ?

Looking forward to the 150+ upgrade as it is a great improvement for lens flares ?
[Huawei P20 Pro Themes, Apps, and Mods] mudnightoil:
Would it be possible to plug it in to the Lineage stock gallery?
[Huawei P20 Pro Themes, Apps, and Mods] foremi:
Question, this app seems different than the actual one I had. Pro mode is no longer in the slider and is now under "more" and also I can no longer do Pro mode in monochrome mode either. Were these changes made by huawei or am I missing something?
[Huawei P20 Pro Themes, Apps, and Mods] dlads:
Just noticed something with the gallery.

1. Take a pic, then click the preview circle (usually this would fail and maybe crash)

2. Once you click it, change to recents, then click back on camera and it'll open your gallery.

3. Click gallery then click open always.

4. Landscape works perfectly but not portrait, requires you to switch to recents then it works.

Not a fix by any means but it's quicker than opening your gallery seperately.

Thought I'd let you guys know :good:

---------- Post added at 07:59 PM ---------- Previous post was at 07:51 PM ----------

Just thinking if we could get the Huawei gallery app installed. Perhaps we could bind it in the same way.

Definitely better than the way it was

---------- Post added at 08:07 PM ---------- Previous post was at 07:59 PM ----------

Ok so I've just downloaded another gallery app and repeated the same process and it also works perfectly in landscape.

Same problem in portrait.

Does anyone have the Huawei Gallery APK?

---------- Post added at 08:14 PM ---------- Previous post was at 08:07 PM ----------

Got the apk but can't install it. If anyone knows how to install it please let me know. Thanks.
[Huawei P20 Pro Themes, Apps, and Mods] MrDanMak:
With the Android P ROM now available (from the Mate 10 forum), I am so keen to install it, but with all Huawei devices I've owned it's always been the gallery issue that holds me back. Fingers crossed someone comes up with a solid solution.
[Huawei P20 Pro Themes, Apps, and Mods] Ferezesal19:
I have problems with the camera, When i open it have "LAGS" FOR a long time, what recommend?
[Huawei P20 Pro Themes, Apps, and Mods] dlads:
Have you changed the resolution on your phone to HD? Change it back and it'll fix it.

If you're referring to 60fps on video.
[Huawei P20 Pro Themes, Apps, and Mods] dlads:
Here
[Huawei P20 Pro Themes, Apps, and Mods] Ferezesal19:
I can contact you for telegram or WhatsApp to show my problem?maybe you can understand my problem seeing a video
[Huawei P20 Pro Themes, Apps, and Mods] dlads:
Have you done what I suggested?

What camera do you have installed?
[Huawei P20 Pro Themes, Apps, and Mods] Ferezesal19:
Yes i do what do you suggest, but the problem persists, i have the stock camera, i think do a full wipe, wipe data, wipe cache and wipe dalvik or what do you recommend?
[Huawei P20 Pro Themes, Apps, and Mods] dlads:
Stock as on Lineage stock or Huawei stock?

If it's Huawei and you're on EMUI not lineage then change the resolution in display back to FHD that should fix it.

If not then I have no idea
[Huawei P20 Pro Themes, Apps, and Mods] gribbler:
gah. what have i done wrong? Do I have to have root installed for this? I've not and I flash the camera and it looks like it installed but I don't see anything other that what I assume is the default camera from lineage...
[Huawei P20 Pro Themes, Apps, and Mods] MrDanMak:
Looks like the gallery issue has been solved :)

https://xdaforums.com/project-treble/trebleenabled-device-development/kirin-huawei-camera-android-p-t3840110
[Huawei P20 Pro Themes, Apps, and Mods] ChangeToTower:
Same for me, thanks for sharing!
[Huawei P20 Pro Themes, Apps, and Mods] fenderblack:
Can I flash this file in my original .152 rom with twrp?
[Huawei P20 Pro Themes, Apps, and Mods] trasto2es:
If possible and advisable.

Greetings.
[Huawei P20 Pro Themes, Apps, and Mods] Horayken:
Hello! I'm on .156 version. The camera in my opinion was better in .131 can I install this mod?
[Huawei P20 Pro Themes, Apps, and Mods] dlads:
Yea I'm on 162 and it still works. Portrait doesn't though. I flashed the one in the treble ROMs section and that's much better.

There is a bloody message up the top though and no settings for video / camera. But then I flashed it after this mod so maybe that's why.
[Huawei P20 Pro Themes, Apps, and Mods] starbase64:
I have flashed Pie 9.0.0.163 and then LineageOS16 (20dez18), but camera don't take photos.
[Huawei P20 Pro Themes, Apps, and Mods] maahmd:
also here
[Huawei P20 Pro Themes, Apps, and Mods] MikeyLee:
Can this be flashed using Fastboot? I'm guessing not. I'm running OpenKirin OmniROM Pie Alpha 5.2 on a Mate SE (Honor 7X) and TWRP will not install so I am currently stuck with stock recovery.
[Huawei P20 Pro Themes, Apps, and Mods] dlads:
No it's for recovery flashing.

Might be able to extract the APK and push to system? Not sure. Might be libs or other files required too.

Just install a recovery.
[Huawei P20 Pro Themes, Apps, and Mods] Milor123:
I can't see the options menu, I would like use pro mode and ENABLE RAW shots.

My phone is a Huawei mate 10 lite with treble lineage os 15.1
[Magisk] guest3.14:
Hi,

I am trying to install Magisk on a "back to factory" phone.

Following : https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 without installing any custom recovery

MagiskManager does not provide me the option to patch stock boot.img in order to flash it later on with odin

Only error message "Magisk is not installed", which is ok : not installed yet, I just want to patch boot.img for now.

------

Details :

SM-J106H (Android 6.0.1)

Back to stock images, device factory reset :

- Settings / Status / Device status : Official

- ODIN mode :

PRODUCT NAME : SM-J106H

CURRENT BIN : Samsung Official

SYSTEM STATUS : Official

I am trying to follows procedure https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 :

"Via Magisk Manager (Only support v14.0+):

This method does not need root, and also does not require a custom recovery.

However, you MUST have a stock boot image dump beforehand, and you also have to be able to flash the patched boot image, either through fastboot/download mode or ODIN"

- factory reset phone

- boot

"Install the latest Magisk Manager"

- enable developer mode

- enable ADB

- adb push boot.img /sdcard/boot.img

- adb shell ls -al /sdcard/boot.img

=> -rw-rw---- root sdcard_rw 9167888 2018-06-02 15:07 boot.img

- adb install MagiskManager-v5.7.0.apk => ok, Application info "Version 5.7.0"

- Start MagiskManager => tells "Magisk is not installed" : that true and ok as I just want to patch boot.img for now in order to flash it using Odin later on

"If you're planning to flash the patched boot image through ODIN, go to Settings > Update Settings > Patched Boot Output Format, and select .img.tar. For normal users leave it as the default .img"

- => Doing this ok

"Press Install > Install > Patch Boot Image File, and select your stock boot image file"

/!\ Can not do this : No install option

Any hint on how to find/enable said "Install" option ?
[Magisk] Didgeridoohan:
There should be a big old "Install" button on the apps main window. If you don't have that there's something wrong...

Could you share a screenshot of your Manager?
[Magisk] HemanthJabalpuri:
Bro follow this detailed guide...

https://xdaforums.com/android/software-hacking/root-recovery-root-device-magisk-t3779454
[Magisk] guest3.14:
Sure :

Here https://ibb.co/kxZGCd
[Magisk] Didgeridoohan:
You don't have internet access, that's why.
[Magisk] guest3.14:
Thanks, will set it up then try again.
[Magisk] guest3.14:
You are right. With internet access, I do have the "Install" button now.

As I toyed a lot with it and have now a bastardized CF-AutoFlash + Magisk, I will flash it at new. Will keep you posted.

Many thanks to you two

(@HemanthJabalpuri : indeed the procedure at https://xdaforums.com/and...agisk-t3779454 tells about needing internet access)

Currently :

- Device platform: armeabi-v7a

- Extracting files

boot_patch.sh: ./util_functions.sh: line 15: ps: Permission denied

boot_patch.sh: ./util_functions.sh: line 15: boot_patch.sh: grep: Permission denied./util_functions.sh:

line 15: grep: Permission denied

boot_patch.sh: ./util_functions.sh: line 16: grep: Permission denied

boot_patch.sh: ./util_functions.sh: line 16: grep: Permission denied

boot_patch.sh: ./util_functions.sh: line 17: id: Permission denied

boot_patch.sh: ./util_functions.sh: line 17: grep: Permission denied

boot_patch.sh: line 75: chmod: Permission denied

boot_patch.sh: line 78: ./magiskinit: Permission denied

- Unpacking boot image

boot_patch.sh: line 87: ./magiskboot: Permission denied

boot_patch.sh: line 117: ./magiskboot: Permission denied

boot_patch.sh: line 148: ./magiskboot: Permission denied

boot_patch.sh: line 150: rm: Permission denied

boot_patch.sh: line 177: ./magiskboot: Permission denied

- Checking ramdisk status

- Patching ramdisk

- Repacking boot image

! Unable to repack boot image!

Failed!

! Installation failed

I must have broke something :)
[Magisk] guest3.14:
[solved] Was missing internet access

Worked ok after full reflash of stock firmware
[Magisk] b8engl:
What do you mean by "need to have internal access"?
[Magisk] Didgeridoohan:
It the Magisk Manager doesn't have internet access you can't download and install Magisk. Therefore, some buttons and functions will be disabled if the Manager can't access internet...
[Magisk] b8engl:
Wait... I don't know what you are trying to say, but if I install the latest Magisk app manager with adb install it doesn't work. I'm only getting the same screen like [MENTION=9208606]guest3.14[/MENTION] user have.

What step(s) do you need to do to have that internal access? I'm lost here...
[Magisk] Didgeridoohan:
Not "internal access"... Internet access. The World Wide Web. If you have your device in airplane mode or have restricted the Manager with a firewall app, or similar, that's what'll happen.
[Magisk] b8engl:
Don't say more... facepalm!

---------- Post added at 01:27 PM ---------- Previous post was at 01:22 PM ----------

@Didgeridoohan you gotta admit, that was kind of funny, wasn't it?
[Magisk] Didgeridoohan:
It was... I didn't read your first post correctly either. :laugh:
[Magisk] Dead_shootart57:
magisk 7.4.0

Can someone please help me . I am not getting the option in settings to change the format of patched boot file to .img.tar in Magisk 7.4.0 . Clearly there is no option of " patched boot output format " as mentioned in the guide : https://xdaforums.com/android/software-hacking/root-recovery-root-device-magisk-t3779454

i don't know whats wrong . please someone tell me what to do .

I am badly stuck here . please help .

Thanks a lot in advance

i have also attached a screenshot of the settings of magisk 7.4.0
[Magisk] Abo-Wa3d:
Me too [emoji37]
[Magisk] Didgeridoohan:
[MENTION=10378433]Dead_shootart57[/MENTION] [MENTION=219570]Abo-Wa3d[/MENTION]

There hasn't been such an option for quite some time... That's an outdated guide.

If you feed the Manager a tar file it will output a tar file automatically.
[ZTE Nubia Z17  Questions & Answers] isaac121212:
hello good developers I am fixing a miui oreo that had serious failures were corrected but they are missing 3. flashglight (when you turn it on it does not turn off unless you turn off the phone) also when it does with flash the photo after the flash does not work on the camera. the brightness only rises and falls at the beginning of the bar, it is static. nfc does not work but I am in it to solve it. I appreciate any help, if you need some rom file tell me
[ZTE Nubia Z17  Questions & Answers] kevintop:
I'd like to try it. Can you give me the ROM file to test
[ZTE Nubia Z17  Questions & Answers] isaac121212:
I'm sorry this version is for developers, I do not release versions with such important bugs. I'm not working on miui oreo anymore, I'm working on miui 10 8.0. I leave you captures. the problems you have, nfc, infrared, the camera does not have the resolution or is not well covered. If any developer wants to collaborate, he will be welcome. at the moment the problem of consumption and temperature and bluetooth was solved. Here I leave you captures
[ZTE Nubia Z17  Questions & Answers] scwsdhr:
Since the kernel of stock Oreo and a stable version of MIUI10 both have not been released yet, I think it is better to wait for now. However, we can focus on some common library for the beta Oreo.
[ZTE Nubia Z17  Questions & Answers] aljoscha81:
Yes did you build from source then maybe share the device tree kernel source etc. I am not a dev or got much plan ...... But i know from other device i owned before some dev shared and after that a few devs more see the potential and they build some rom together ;)
[ZTE Nubia Z17  Questions & Answers] isaac121212:
forgive for not responding but I have transplanted version 8.6.7(original mi6) (apps, priv-app, framework, lib (system), lib64 (system) and the flashlight works (it used to be a bug and it did not work). gps successfully, the problem is that successfully apply the patch of the temperature, the problem stops working the flashlight (although it corrects the problem of temperature.) Other bugs are nfc and infrared, I will share the rom with the changes and the failure of the flashlight if you want, any help would be good, I have written down the steps of the process to do it once the stable or global version comes out
[ZTE Nubia Z17  Questions & Answers] hiends29:
Hello. Can you guide me to fix the flashlight?
[ZTE Nubia Z17  Questions & Answers] isaac121212:
the flashlight is not fixed in the notification bar, at least in this version, it works in applications and camera. that's because you apply the temperature patch. I am working on a new version. 8.6.14, I already tell you news
[ZTE Nubia Z17  Questions & Answers] isaac121212:
good news people, finally I have a stable 10 miui, I have problems with infrared and nfc, aver if someone helps me to leave everything ready, please
[ZTE Nubia Z17  Questions & Answers] hiends29:
Can you share this?

---------- Post added at 02:30 AM ---------- Previous post was at 02:23 AM ----------

https://drive.google.com/file/d/1xsoqV7deBRAQE7YaXqzdPp2E-gh_vph_/view?usp=drivesdk

This is fix pack for ir 7.1.
[ZTE Nubia Z17  Questions & Answers] fuorionda:
It's Global?
[ZTE Nubia Z17  Questions & Answers] isaac121212:
hello good people I'll leave a logcat with the error of the nfc to see if someone takes a look and tells me that it fails

https://mega.nz/#!fQxVmYrY!ne5AQxlmJ2_l8ze7Z3dUvYmiF__YoOGFGxRf9IJwWFk
[ZTE Nubia Z17  Questions & Answers] isaac121212:
hello, I'm in the process of translating the miui 10, in principle only fails nfc and infrared. I ask some developer to give me a hand to solve this. for it I put you link of the oreo kernel of the z17 that was revealed. please help me. Thanks in advance

https://xdaforums.com/nubia-z17/development/kernel-oreo-z17-nx563j-released-t3806620

Thanks scwsdhr
[ZTE Nubia Z17  Questions & Answers] fuorionda:
Hi, any news?
[ZTE Nubia Z17  Questions & Answers] isaac121212:
hello good I'm in the process of translation that is not easy, the folder is translated and the frameworks (missing framework-ext-res because I have to catch a global framework for higher languages ​​files) are giving me a lot of problems applications and there will be some can not translate, it is not the fault of the rom (the apktool with the latest version does not compile the applications and so you can not do anything). if some developer helps me I would appreciate it a lot, I leave in the screenshots proofs of the advances and the error they give me several applications when compiling. still has the nfc and infrared failure that I can not solve (maybe with help if it is obtained or someone else does it.

Error compiling

[IMG="error compiling"]https://preview.ibb.co/f4DfRo/IMG_20180706_002154_678.jpg[/IMG]
[ZTE Nubia Z17  Questions & Answers] perisman:
On the chinese forum there is a miui 10 version based on oreo 8.1 baseband 5.24.

https://bbs.nubia.cn/forum.php?mod=viewthread&tid=1309955&extra=page=1&mobile=2

Its only chinese and english. GAPPS working well with googleinstaller. apk v3. After gapps installation and reboot the speed is amazing. All working ok (nfc and bt not thested yet). Comes rooted with magisk 14, and titanium backup works well

Sadly, the developer dont allow to modify his rom :(:(:(
[ZTE Nubia Z17  Questions & Answers] fuorionda:
Mine dont'boot after installing...
[ZTE Nubia Z17  Questions & Answers] perisman:
For install the rom, with green twrp by sy

factory reset

install rom and boot_signer.zip

reboot

Install gapps wit googleinstaller.apk v3

previous rom i had in the device was nubia 5,24 oreo 8.1
[ZTE Nubia Z17  Questions & Answers] fuorionda:
I havent found the right boot signer file, please can you link the file? With verified boot signer v8 I have error when flashing
[ZTE Nubia Z17  Questions & Answers] widavazu:
eight hours to download this rom from baidu, someone who could share a faster download link
[ZTE Nubia Z17  Questions & Answers] perisman:
https://exmassiv.by/nubia/boot_signer.zip
[ZTE Nubia Z17  Questions & Answers] DoDevil:
What is different between Mokee 8.1 And MAP MIUI 10?

i'm using Mokee 8.1 have problem with apps and games, i'm use for daily. I need to switch to MIUI 10? i need ROM that performance good with game
[ZTE Nubia Z17  Questions & Answers] isaac121212:
That rom does not work, it's the one I have in hand. but I fix and translate, nubia and xaomi do not allow you to create roms without authorization and less to earn money
[ZTE Nubia Z17  Questions & Answers] isaac121212:
I leave you a test of the rom but it is not fixed yet, if you can help me with apktool to add the languages ​​to applications like settings, securitycenter etc

Link:
[ZTE Nubia Z17  Questions & Answers] isaac121212:
if any developer can decompile and compile the framework-res and framework-ext-res and add the global language files would be a lot of help or tell me how to do it
[ZTE Nubia Z17  Questions & Answers] isaac121212:
this is a trial version, it is not the definitive one, it does not work led, nfc and it has crasheo in settings if you click on headphones and audio effects. to have root you must install magisk 16.6
[ZTE Nubia Z17  Questions & Answers] perisman:
maps miui 10 8.1 works very well. 4G wifi fingerprint bluetooth ... Only notification led and maybe nfc dont work. Push notifications works also. Play store with no problems, and the speed its amazing. Root also with magisk 14 comes with the rom.

Needs to be installed the bootsigner.zip that comes with the rom.

the chinese rom from:

https://bbs.nubia.cn/forum.php?mod=viewthread&tid=1309955&extra=page=1&mobile=2
[ZTE Nubia Z17  Questions & Answers] widavazu:
The camera doesn't work well, the portrait mode crash the camera, I can only record 30 minutes, magisk sometimes it work well and sometimes it does not.

Google apps works well
[ZTE Nubia Z17  Questions & Answers] isaac121212:
sorry to tell you that, but that rom based on miui 10 8.1 is the cover of a different processor and the LED does not go and the temperature as the power consumption soar, something normal. if some developer could help me to solve nfc and infrared of miui 10 8.0, we would have a complete and functional rom