yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] sunarowicz:
I would like to use darktable photo editor in chrooted Linux deployed using the Linux Deploy on my POCO F3. Darktable already runs fine, but without the OpenCL as this is not available in the chrooted Linux out of the box. I already managed to get OpenCL available and was able to make clinfo in the Termux environment following the instructions here:

https://github.com/Oblomov/clinfo

Because, if my understanding is correct, making the clinfo is the first step in making the OpenCL available, I would like to make it in chrooted Linux environment too. But whatever I tried, it failed. I went through a ton of sources on Internet but did not find single one suitable for my case. Moreover most are many years old and not sure if still valid. Mostly for the Mali graphics too, not for Adreno...

So I tried to copy the libOpenCL.so from the /system/vendor/lib64 of the Android system tree to the /usr/lib/aarch64-linux-gnu directory of the chrooted Linux. Although the library gets recognized during making the clinfo (before copying it complained of missing library), the building process still fails. I have no ICD file in /etc/OpenCL/vendor as I didn’t find any info on what it should contain in the case of Adreno graphics. But this one is also missing in Android/Termux environment where clinfo gets compiled, so may be is not necessary.

Does anyone have any idea on how to get OpenCL available in chrooted Linux on POCO F3 or any arm64 device with the Adreno graphics? I appreciate any kicking me in the right direction.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Robert314:
I have no clue what you're doing but may I suggest one idea: try using a custom ROM as these will be closer to AOSP and so might have more Linux features not removed by MIUI.

Take my advice with a pinch of salt as I have no clue what you're doing😂
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] sunarowicz:
Thank you for being interested, but I think it has nothing in common with the Android ROM type or version. Those things I'm trying to achieve I'm not doing in Android, but in Linux which runs next to Android and shares the Linux kernel and the system resources with it. But otherwise it is independent of Android.

I'm strongly convinced it must be possible to enable OpenCL in chrooted Linux running on POCO because it is already possible in Termux on the same device. And there are some threads on Internet telling this being possible, but on Mali graphics and some 6 years ago. I believe I'm missing something obvious or the correct Linux graphics drivers with OpenCL support for Adreno.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] samantas5855:
There's freedreno, look into this
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] sunarowicz:
Yeah, I already found freedreno earlier, but it did not attract my attention as it seemed to me being no longer developed. At least for OpenCL there is no commit since 2014. But I will give it a try as do not have any better option now.

Thank you for reminding me freedreno!
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] samantas5855:
Freedreno is very active, it can even run Genshin on Turnip. If you google Freedreno youll find a very old repo
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Ssaikatsaha:
Can you guide me?..

How to build and install freedreno on termux ubuntu or Debian?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Ssaikatsaha:
If you get success please help me..

Thank you
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] sunarowicz:
Unfortunately no progress here. I did not move any further. As far as I understood the libOpenCL.so located in /system/vendor/lib64 of the Android system which is needed for OpenCL cannot be used in chrooted Linux as it has been built for Android, not for Linux. I have no idea how to overcome this.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Ssaikatsaha:
Actually we need to compile stock kernel fast...

But I don't know how to compile stock kernel....

I got success with cl device type cpu , because I haven't Compile yet stock kernel..

You can also ... Just try with...

Under chroot Linux...

1) apt update && apt upgrade && apt install boinc-client-opencl opencl-headers firmware-qcom-media u-boot-qcom qbzr qcomicbook clinfo -y

2) Clinfo.....

You get results...
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] sunarowicz:
Why do you think we need compile stock kernel? As OpenCL is available for CPU, its availability for GPU should be matter of a driver, shouldn't it?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Ssaikatsaha:
I successfully installed OpenCL under Linux deploy (Debian-10) in android phone...but my OpenCL device CPU ....

But not my vendor platform if you have Mali GPU you can install OpenCL under Linux ...

Actually my gpu Adreno .. for Qualcomm still now not available OpenCL driver for Linux
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] sunarowicz:
Yes, my GPU is Adreno too. After many days of googling the information on web I also have understood that Mali has much better OpenCL support than Adreno. There is couple of info on the OpenCL for Adreno topic on Phoronix, but still not clear to me what is the current state and how to try to make it working. But I haven't find any mention on the need of compiling the kernel.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Ssaikatsaha:
You can install...

1) apt update && apt upgrade && apt install boinc-client-opencl opencl-headers firmware-qcom-media u-boot-qcom qbzr qcomicbook clinfo -y

And check....

2) Clinfo (in your terminal...)
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] sunarowicz:
Sure, I already did that and got the OpenCL for CPU. But this doesn't help me much, as I need the OpenCL for GPU. I still believe we don't need to compile kernel to achieve this.

BTW: sudo apt install pocl-opencl-icd clinfo is enough to get the OpenCL for CPU.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Ssaikatsaha:
If you get any solution for OpenCL gpu please help.. and I am also..
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Ssaikatsaha:
You can see here.. for mali..

And you can try...

OpenCL support on Debian/hikey960

32- and 64-bit ARM Open Platform Specifications. For software developers. For the maker community. For embedded OEMs. 64-bit ARM for $129.

www.96boards.org
[Redmi Note 10 Pro] augustusk:
Hi! I need some help! I would like to install EU rom on my Redmi Note 10 Pro phone, but I do not know how to get started. I've already opened bootloader and installed Drivers, ADB. I should install TWRP after this, but I don't know if I should install disable dm verity forceencrypt. In principle, you don't need disable dm verity forceencrypt for TWRP 3.5.2.0. Someone could write down the steps on how to install the EU rom? I need a fresh guide. Please help!
[Redmi Note 10 Pro] yayakuya:
no need to flash anything

make sure you have the latest twrp (nebrasy-3) and just;

- flash ROM

- format data by typing "yes"

- reboot

flash magisk after the first boot if you want it
[Redmi Note 10 Pro] augustusk:
Thank you!
[Samsung Galaxy Tab S3 Questions & Answers] switchgott:
HI to all,

maybe someone have an good idea.

I compiled custom kernel for pie. But this kernel wont boot.

Spent a lot of hours to get this work. No way.

Does someone know, why a custom kernel, ramdisk was tested with stock kernel, not work?

With my kernel i can boot with twrp. This works.

Galaxy S7 Endge is working with custom kernel.

What does the bootloader do inside S3?

Big thanks for help
[Samsung Galaxy Tab S3 Questions & Answers] switchgott:
I found the solution.

The tab is not booting because of wacom driver.

But i dont know why.
[Moto G9 Plus Questions & Answers] xYAXKINx:
I am looking for the firmware, for the Chinese version or clone, of the MOTO G9 PLUS. Can someone help me?

Hello, a few days ago I tried to put the TWRP recovery, but I installed it wrong ... I tried to install it on a Moto G9 Plus (PIRATE, CHINESE, CLONE).

What happened is that after "installing" the recovery, it restarted, and it stayed on a black screen, as if it were on, but without giving an image.

I'm trying to find the Firmware, to flash, but I can't find one compatible with this cell phone, which is (PIRATE, CHINESE, CLONE)

Help! :(
[P3600 General] jamaica12345:
guys!!

my uncle came from europe and left his p3600 with me, here in Brazil, i tryed the unlock solution from pof (xda-developers) but it still locked..

i tried flash several radio roms and roms, hardspl etc.., i notice that when i start my p3600 it gives me this information:

M:05

B:05

D:3.00

R:NONE

G:NONE

And i notice this too:

Settings>System>Device Information>Version:

ROM version: 3.1.2c.AX3L

ROM date: 07/24/07

Radio version: NONE

Protocol version: NONE

Settings>System>Device Information>Identity:

Model No:TRIN100

Platform: PocketPC

IMEI: (blank)

After flash several radio roms and rom still same thing: IMEI blank, protocol version NONE and radio version NONE

Can you guys help me unlock my p3600

thanks a lot!!
[P3600 General] jamaica12345:
The problem started this rom P3600_WM6_1[1].1_WWE_ADW_incl_RADIO
[P3600 General] jamaica12345:
After passing both rom hardspl now this with the same issue of a topic appears on the fast him "no gsm" I will try to resolve some three more days if not dead and PocketPC
[Raspberry Pi Q&A, Help & Troubleshooting] dugland01:
Hello,

Is it possible to operate the Waveshare Amoled 5.5 "screen: https://www.waveshare.com/wiki/5.5inch_HDMI_AMOLED

I can't seem to get the display with this rom, with Lineage 18 either. I'm trying to find what may be in the config.txt file to modify but unfortunately unsuccessful.

The Raspberry OS works on this screen as long as you add some manufacturer-designed code to the config.txt file.

I have browsed the forums without success and am waiting for a response from the manufacturer. LineageOS and Omnirom have the same problem, otherwise it works fine on a classic screen or TV.

Does anyone have an idea maybe?

Thank you
[Raspberry Pi Q&A, Help & Troubleshooting] electricfield:
This problem is discussed and resolved on the Raspberry Pi forums here: https://forums.raspberrypi.com/viewtopic.php?f=73&t=314799&start=25
[General Questions and Answers] Flippo777:
Hi you all,

I have a problem regarding my Mi A2 Lite . It's stucked in a bootloop after turning it off for the night. It boots until the android animation and then restarts. When I try to connect the Phone via USB to my PC it isn't detected. Not by the device manger, not by the fastboot/adb console and not by the miflashtool. When I switch the device to fastboot it still reboots after about 10 to 15 secs.

I really have no clue what I could do from here.

Any suggestions or tips?

Best regards

Phil
[Samsung Galaxy A8 (2018) Questions & Answers] Quentief:
Hi,

I would like to know if you know how to downgrade the android version of the Glalaxy a8.

As several A8 users, my phone is becoming really slow and I would like to do something about that. I tried to flash Android Nougat and Oreo official stock rom through Odin, but that didn't work. I have been told that Samsung had set in place some procedures to block any downgrading non-approved by Samsung itself. But I am wondering if there is a way for me, maybe by installing TWRP I could be able to install whatever ROM I want ?
[General Questions and Answers] dcogburn789:
I upgraded my GTV streaming device to Android 10 and now my MX player will not work. Does anyone know what I should do to get it to work with Android 10 and GTV? Thank you.
[General Questions and Answers] Deleted member 1890170:
MX Player has its own thread at XDA

MX Player

Discuss MX Player, the versatile media player for Android, capable of playing most types of video formats

xdaforums.com
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] TheMalachite:
PixelExperience for Redmi 7A [pine]

What is this?

PixelExperience is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, boot animation)

Our mission is to offer the maximum possible stability and security, along with essential and useful features for the proper functioning of the device

Based on Android 11

Whats working?

Wi-Fi

RIL

Mobile data

GPS

Camera

Flashlight

Camcorder

Bluetooth

FM radio

Face unlock

Lights

Sound/vibration

Known issues

Nothing yet

You tell me

DON'T FLASH GAPPS, THEY'RE ALREADY INCLUDED

Download from PixelExperience website

Donate

Liked my work? Give me a beer

Translation

Help with project translation

Stay tuned

Our Telegram device specific group

Our Telegram channel

Our blog

​

Android OS version: 11.0.0_r43

Security patch level: September 2021

Build author/Device Maintainer: @TheMalachite

Device Source code: https://github.com/PixelExperience-Devices

Source code: https://github.com/PixelExperience

ROM Developer: jhenrique09

​
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] schwatter:
So in the past, all was easy. Flash and all work. No worry about 32 or 64bit. Or Firmware, Gsi, the right way to wipe... Since some years all is difficult...

I have mokee on my redmi7. Firmware must be from android9? But i could update to mokee10. So i'm on 32bit. Also twrp 32 bit.

So please, what is the right way. Because i see no install notes. I don't want to recover the phone with miui.

Thx schwatter
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] Kuku$:
Need a TWRP to flash this ROM? What are the requirements for flashing it?
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] TheMalachite:
ROM is 64 bit, requirement are the same as the other 64 bit roms

Also PE doesn't allow 32bit to be officially supported
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] xyzclanz:
C:\adb>adb reboot bootloader

C:\adb>fastboot flash recovery twrp.img
target reported max download size of 535821312 bytes
erasing 'recovery'...
OKAY [ 0.010s]
sending 'recovery' (65536 KB)...
OKAY [ 2.105s]
writing 'recovery'...
OKAY [ 0.919s]
finished. total time: 3.039s

unable to flash twrp recovery on miui 12.0.3.0, it finished but still rebooted into stock recovery

am i missing something?
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] ShadowOfGannicus:
did you reboot from fastboot STRAIGHT to the recovery, after flashing twrp? If you reboot into system first, and then to recovery, it will restore to stock recovery
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] Ranfiel:
Any one got the ANXCamera working on this rom?
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] TheJutts:
can't pass after FaceUnlock.
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] marlonws:
Fast charge is not working. Something wrong I did is it?
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] schwatter:
For me faceunlock and fastcharge are working.
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] marlonws:
'Plus Edition' or 'Normal' version?
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] TheJutts:
normal version.

-- 1 Edit --

Now some apps are crashing...
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] schwatter:
I use the plus edition.
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] TheJutts:
-- 2 --

So, apps had crashing because i isn't flashed a pie_arm64_base.

Faceunlock have the same isue because that too.

Soooo, now i have another error, after i root my device, SD Card dead, only on system, on Recovery SD card are normal.

-- 3 --

Now i'm going stall Pixel Plus...
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] TheRealSalads:
I do, and it works just fine. Im using the latest plus edition.
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] TheRealSalads:
Im using this rom right now and everything seems fine.
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] Ranfiel:
Mmmmm, for me doesn't work it, when i install, just never boot. i try with the bootloop fix, but doesn't work too and i have no idea what happened.
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] TheRealSalads:
Did you flash the file in recovery or in magisk?
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] TheRealSalads:
I flashed file By Noid - Full Version modded for R which was around 210 mb
[Redmi 7A ROMs, Kernels, Recoveries, & Other Develo] Ranfiel:
That's right, it works, i was trying with the other version that have bugs.
[Touch Diamond, MDA Compact IV Themes and Apps] holliek:
Hi all. I've read and read the different posts... and tried installing GSen, which did change a lot of applications to landscape however did not change the keyboard for texting into landscape mode. I'd like to have the querty keyboard in landscape mode for easier entry. Has anyone been successful making this happen?

Also, any reg edits or suggestions on how to disable the repeat function which is greyed out for reminders alert tones? I'd like it to alert once, and not remind... which it even does during a phone call!!
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Apparantly my program has worked for many people and they have reported that it has flipped the keyboard into landscape mode, so you may want to try it. I odn't have the other keyboards to test with, so you'll have to experiment.

Have a looksie here...
[Touch Diamond, MDA Compact IV Themes and Apps] holliek:
Thank you.... I tried it and it didn't work.
[Touch Diamond, MDA Compact IV Themes and Apps] scruffy_joe:
Worked for me, not only with texting, but with IM apps aswell. I love GSen, why they didn't build it into the ROM from the beginning is mind boggling.

Cheers,

scruffy_joe
[Touch Diamond, MDA Compact IV Themes and Apps] nitty917:
wish someone can get it to work with CDMA.
[Touch Diamond, MDA Compact IV Themes and Apps] dickenz:
I also tried that and it didn't work.

I even created a rule based on the Window ID of the SMS application built into WM. Still no go!
[TouchPad Q&A, Help & Troubleshooting] NautTboy:
I have a 2nd HP that i had updated to CM#(i forgot). It was working until my kid let it drained. Now it won't turn on nor charge.

Put in on the wireless chargning for a week. Yes charger is working, used it with another TP.

Is this revivable? I tried the debrick method before several years ago, have not tried it again.

If revivable, please shine the light so i can follow.
[TouchPad Q&A, Help & Troubleshooting] middle_road:
I've had mine (six of them) drain out at one time or another.

Revival is never the same it seems.

What usually works is to put it on the wireless charger _and_ plug it in the USB charger cable also.

At times I've also had to mess with pressing button combinations in order to obtain results.

*** One thing to be aware of: Make sure the battery pack has not swelled up.

I've had two devices do this over the years, last one a couple of months ago.
[TouchPad Q&A, Help & Troubleshooting] kyzerdroid:
:) I thought this was a post announcing the revival of the HP touchpad development...hehehe

guess you got it back alive in the meantime :)
[Android Software/Hacking General [Developers Only]] kikfox:
Obfuscated apk decompile/recompile tool​

This tool is modified from "iBotPeaches/apktool" to handle resource obfuscated(by ResGuard or any) apps like Wechat, Tiktok, MT Manager ...

About​

Renaming

Illegal name like "r/e/a_.xml" -> "res/layout/layout_01ab.xml"

Names containing non latin characters

For stripped file extension names, it guesses from file magic and data patterns

Ignores unique un-obfuscated names

Decompiling

Handles apktool known issues of "Invalid chunk type ***"

Merges splitted apk files

Compiling

The builtin aapt/aapt2 can handle "illegal java class names" (for linux only)

How to use​

All commands are the same as apktool

For splitted apk files pass the directory path containing your apk files and rename the main apk to "base.apk"

example: java -jar kikfox.jar "d" "-p" "/home/user/framework" "-o" "/home/user/tiktok_decompiled" "/home/user/tiktok_splits"

Update 2.6.1​

Handles multiple packages

Smart refactoring the obfuscated names will be renamed to more meaningful names like:

☆Color, Integer, Strings ... renaming is based on value e.g. #FFC0CB -> @ color/pink_ffc0 , 《No connection tap again to retry》-> @ string/no_connection_tap_again

☆ Layout & xml names is based on the root tag name e.g. if you have xml with <LinearLayout ...> then the resource name will be @ layout/linearLayout_12ab , or <paths ...> to @ xml/xml_paths_123

☆Other known variables from apk info, e.g. in AndroidManifest.xml android:icon is for app icon so the corresponding resource name will be @ drawable/app_icon

Downloads​

V 2.4.0

Attachement

Github

Mega.nz

V 2.6.1

Github
[Android Software/Hacking General [Developers Only]] kikfox:
UPDATE-1 (2.5.0-BETA)

I just released a new version on github

Whats new?

Smart refactoring *
[Android Software/Hacking General [Developers Only]] peter.schwake@gmail.com:
works great. Do you plan an upgrade to 2.50 ?
[Android Software/Hacking General [Developers Only]] kikfox:
As of today I didn't find out any problem with the current version , I decompiled as many obfuscated apks as i can and works for all. Currently I am working to combine features of Apktool+JADX+Smali/Baksmali to deobfuscate the java code.

If you find any bugs or apk which this tool fails to decompile, please share with me.

Thanks
[Android Software/Hacking General [Developers Only]] evildog1:
Nice work!

Might sounds weird question, but do you plan to do pull requests on official apktool so iBotPeaches can handle updates with these features? maybe this will be huge benefit for everyone and iBotPeaches will be able to understand deobfuscation and merging apk a lot more, as it seems like he is struggling with it
[Android Software/Hacking General [Developers Only]] kikfox:
I tried but seems like they are not interested in deobfuscation part (maybe they are working on "obfuscation" too ? :confused:). Every apktool update is going away from handling obfuscated apk. I don't know why but a massive crowd want to silence the techniques of deobfuscation.
[Android Software/Hacking General [Developers Only]] evildog1:
Oh i see.

Now I remember someone told me iBot work with AndResGuard which is why there is no fix to apktool, but i'm still not sure if he said was true.
[Android Software/Hacking General [Developers Only]] peter.schwake@gmail.com:
I think Apktool is simply the ground work, from there you can take it where you want :')
[Android Software/Hacking General [Developers Only]] kikfox:
News

New java based resource builder is coming.

☆ This tool is totally independent of aapt and aapt2.

☆ Can parse standard xml files under "res" directory and convert to binary "ARSC" file
[Android Software/Hacking General [Developers Only]] aBetterAndroid.:
Good job
[Android Software/Hacking General [Developers Only]] kikfox:
A new java based ARSCTool is released.

Converts android resources.arsc to xml and build back to .arsc file

https://github.com/kikfox/ARSCTool
[Android Software/Hacking General [Developers Only]] kikfox:
NEW version 2.6.2 released

https://github.com/kikfox/kikfox/releases/tag/v2.6.2
[Android Software/Hacking General [Developers Only]] a452388:
kikfox-2.6.2.jar works fine on Macbook, but unable to decompile the r (resguard?) folder on Windows 10 PC.

I: Decoding resources ...
I: Decoding file-resources packages count=1 ....
I: Decoding file-resources PKG=com.xiaojie.tv
I: 1/548 'app.apk : r/k/da.9.png' -> 'drawable-xhdpi\abc_scrubber_primary_mtrl_alpha'
S: Could not decode file, replacing by FALSE value: r/k/da.9.png
S: Could not decode file, replacing by FALSE value: r/w/at.xml
S: Could not decode file, replacing by FALSE value: r/p/a.xml
S: Could not decode file, replacing by FALSE value: r/h/c7.xml
S: Could not decode file, replacing by FALSE value: r/k/ci.png
I: 548/548 'app.apk : r/p/a.xml' -> 'animator-v21\lb_onboarding_logo_enter'
S: Could not decode file, replacing by FALSE value: r/p/a.xml
I: Decoding values */* XMLs...
I: Decoding [59] value files from: com.xiaojie.tv
I: 1/59 values-v25\styles.xml
I: 59/59 values-v22\styles.xml
I: DONE decoding resources
[Android Software/Hacking General [Developers Only]] kikfox:
Hello,

I didn't test it on windows pc, if you are sure works on mac the problem could be some where in the code, mis using file separator character. For linux&mac '/' for windows '\'.

I will fix it on the next version