yashsingh1/xdaforums huggingface dataset:
[Xposed General] Dr-TSNG:
We are now working on the new Xposed API, which allows modules to get / set scope, to get framework info, and to store configs across apps without the embarrassing New-XSharedPreferences interface. The API library will be released to GitHub/libxposed and maven central after it is ready.

Now we are considering removal of resources hook in the incoming new API, so we need to know whether it is still needed or unreplaceable for some modules.

About why we want to remove this API: Resources hook is very hard to maintain and is even not fully supported now under some frameworks (e.g. Taichi). So even if we keep it, it will be maintain-only.

Old modules can still use this feature. We are just considering remove it in the new API.

You can vote at the LSPosed Telegram group or write your opinion here. Also we are glad to hear your suggestions about the new API.
[Xposed General] shadowstep:
@AndroidX @siavash79 @Dark_Eyes_ @firefds @David B. @Quinny899 @wanam

Just mentioning you guys since you're all active here on XDA. Please see the first post. :)

Regards,

shadowstep

Senior Moderator
[Xposed General] siavash79:
Thanks for getting opinions

1. Xshared preferences interface overhaul is good news since it was always unstable for me. I personally switched to remote preferences API for AOSPMods

2. When going to systemUI and framework, it's sometimes very difficult and complicated to change some variable values through Xposed, specially with R8 code optimizations which dramatically limit the points we can hook into code.

There are two workarounds I know of, being Xposed resource hooking that can be also dynamic in runtime, or overlays, which being static, still limit the way we can change resources dramatically.

So, I'd really suggest keeping it in the API
[Xposed General] Dr-TSNG:
For R8 code optimizations, we introduced a new API to parse dex file, which allows modules to find methods/fields more accurately.

Anyway if we finally decide to keep resources hook API, do you have any suggestions on keeping/adding/removing specific methods of it or refine it to a more modern interface?
[Xposed General] siavash79:
Perfect news.

About resource hooking, few things to note are that: it can't differentiate between different resource files, for example normal values vs landscape or dark/light values. It would be great if there's a way to push different values to different resource files.

Also, there are more limitations when talking about special resources such as themes. As an example, in AOSPMods, one of the reasons it's a magisk module instead of being a normal APK is that overlay files have to be used in cases that need modification of theme resources and that can't be done via resource hooking.

I personally love to get a more complete/flexible resource hooking API, but I completely understand if that's too much to ask. So even keeping it as currently is would be good enough
[Xposed General] David B.:
Thank you @shadowstep for bringing this to my attention!

That's wonderful news, although I do not quite understand what you have against the new XSharedPreferences interface. I use it in my modules, and I've never had any issues with it.

I am not currently using the resources hook in any of my modules, so removing it would not impact me, but even so, I'm not a fan of the suggestion to get rid of it completely. I think that at the very least, it should be kept as maintain-only. It is unfortunate that it does not work with Taichi, but given that Taichi isn't a true Xposed implementation, I'm not sure that it's worth worrying about.
[Xposed General] Quinny899:
This looks great, I've been waiting for it since the initial issue talking about it. Prefs are always a pain to handle, and while the "new" method worked, I always preferred to use a Content Provider, which was nerfed in Android 12.

Really like the idea of setting the scope, it would be beneficial to the Xposed part of DarQ, the only suggestion I have is to make sure it includes some sort of "am I enabled?" check - currently I use self hooks (literally the module hooking itself and changing a method returning false to true) to verify it's enabled, but it doesn't seem to be foolproof as people sometimes still complain it doesn't work.
[Xposed General] Dr-TSNG:
Of course does, and the module app can get more info about the the Xposed state like it's under which framework and which version, and whether it is rootless or not without self-hooking.

You can view the detail here.
[Xposed General] wanam:
@shadowstep Thanks for the head up.

Glad to see a new api to manage configs across apps, shared prefs has been always painful to handle even with the new-xshared prefs.

I would suggest having an api to get the version name of scope's package, I'm aware of some workarounds that help get the version name, but it's not a reliable solution on the latest Android versions, this information is needed for logging/debugging purposes.

@Dr-TSNG thanks and keep up the good work.
[Xposed General] AndroidX:
@Dr-TSNG Thanks for new api I was wating for this api from more then 1 year coz when I build my first module (Android Faker) its was really pain in ass coz of Xsharedpreference after some research I found better solution which was remote preference but Quinny899 mention in Github issue that its not work in android 11 so after that I move to new Xsharedpreference which was introduce by lsposed team and its working great but its still create issue in some devices so I think it will be a better solution if we get it soon and I am not sure about resources hook coz I don't use it before .
[Xposed General] siavash79:
The problem with xshared preferences is that if the apk is a system app it won't work for some reason. Only works on user apps
[Xposed General] David B.:
Interesting. I use XSharedPreferences in a System Framework hook and haven't had any issues with it.
[Xposed General] siavash79:
Is your module installed as APK or as magisk module?

Try mounting it to system through magisk and preferences will stop working
[Xposed General] David B.:
It's installed as an APK. I misunderstood what you had said earlier. I thought you meant that the hook doesn't work when you try to use it on system APKs. I didn't realize that you meant that it doesn't work when the module is itself a system APK.
[Xposed General] AndroidX:
siavash79​

Yeah I agree with this and in my testing if you set target sdk 23 its doesn't matter if its as system app or user its work without any issues but its not worth coz it have some other issues
[Xposed General] Alex Kok:
Thank you for accepting the API invokeSpecial() !

Add invokeSpecial · libxposed/api@9dbc7cb

Fix #2

github.com

Implement invoke special and new instance special · LSPosed/LSPosed@c50bc2d

LSPosed Framework. Contribute to LSPosed/LSPosed development by creating an account on GitHub.

github.com

Looking forward to the new API release.

Happy Chinese New Year!
[Xposed General] VD171:
I just want to see @M66B happy again ♥️
[Xposed General] lawrencee:
Somewhat unrelated, but is there any chance of seeing original Xprivacy return or compatibility? I think it's a lot better than Lua
[Xposed General] VD171:
No. Xprivacy will never "return".

XPrivacyLua is the best ever ♥️
[Xposed General] mwilky:
Don't know if it's too late in the "rewrite" process, but a simple way of getting to the superclass of hooked methods would be nice, especially for methods which invoke methods in its superclass with the same name
[Xposed General] siavash79:
That I believe shall be done manually. And it's not even that hard at all.

All you need is getting the superclass by reflection, extract the method you're looking for from it, again by reflection, and then just invoke it using your instance of the child object.

The difficult part should be getting your hands on the instance, which lsposed does take care of

All this shouldn't be more than 5 lines of code
[Xposed General] mwilky:
Yep I've gone about it this way before too. Was just wondering if there would be a native way I'm the future, but thank you!
[Xposed General] siavash79:
I've gone through the new API once before. Seems like many helper methods are removed from it. Or at least aren't added yet.

My best guess is that when we start implementing the new API we'll have to start by writing some helper methods ourselves. This superclass thing might be one of those
[Galaxy Tab S2 Q&A, Help & Troubleshooting] Flying_Flapjacks:
Hey all,

I am very inexperienced with custom OS on Android and I was trying to install a lineageOS so that I can run octoprint on my tablet for my 3d printer. In doing so, I somehow deleted the stock OS.

Now my device either flashes the samsung logo (if I boot normally) or it can get to the download screen if I hold Power + Home + Vol Down. But I can't seem to get my computer to find the device, so I can't connect it with Odin. Do you know of any guides or threads you could point me to? Or how to fix this?

My model is SM-T713.

Thank you
[Galaxy Tab S2 Q&A, Help & Troubleshooting] Flying_Flapjacks:
I downloaded the stock firmware from here - https://github.com/ivanmeler/SamFirm_Reborn/releases/tag/0.3.6.3

I am trying to use odin to reflash it to my device, but it seems the device isn't being found. View attachment 5803949

Pressing Start in Odin does nothing. Is there something I am missing?
[Galaxy Tab S2 Q&A, Help & Troubleshooting] Flying_Flapjacks:
Fixed it, kind of. It was a bad cable. Switching out the cable allowed Odin to connect, it downloaded and passed, but it is still stuck on the samsung logo.
[Google Pixel 4 Questions & Answers] ziarv:
What is temp root..is it possible to temp root pixel 4 if OEM unlocking is grayed
[Google Pixel 4 Questions & Answers] ziarv:
Android 13
[HTC Wings] xuque:
What make most users upset ,it only contain cn.

I will make a full en ROM (20757+20757)to everyone when i have times,and it seems will take many time.

DOWNLOAD:

http://www.rayfile.com/en/files/ecbb827d-c020-11dd-9178-0019d11a795f/

Most views:

http://www.ioicn.com.cn/forum/thread-305843-1-1.html
[HTC Wings] baronbr:
Master of Wings ROM

Xuque,

You really are a Master of Wings ROM coming out with new ROM's every week.

Hope that the English will be out soon :D
[HTC Wings] baronbr:
Wondering where OlliedD is, he is usually the "mirror" guy :p

OllieD really make our downloading easier...hehehehhehe
[HTC Wings] OllieD:
Heres Your Mirror :P

Heres A Mirror Of This Release...

http://www.mediafire.com/file/xd0mojg51ii/RUU.rar

Glad To Hear Theirs An English Version Coming...

Id Be Cooking For You But I Only Have Experience Cooking For The XDA Exec.

Regards,

OllieD
[HTC Wings] xuque:
I am happy to make a en ROM,

Wait.
[HTC Wings] nita69:
x-mas!

@xuque: you are my man! your 20279 is fast and stable.

great news. thanks a lot! cant wait to try your new english rom.
[HTC Wings] OllieD:
Any Chance Of 96DPI ?

Just Wondering If 96DPI Would Be Possible On These Builds ?

Regards,

OllieD
[HTC Wings] sergiopi:
Thead stuck, we are waiting your new Cn/En ROM!
[HTC Wings] sergiopi:
This ROM has the latest Ie 6 and the latest office build?
[HTC Wings] nielswillems:
any progress?

Hi xuque,

Is there any progress on the english rom in this version?

I can't wait :p...

Many thanks for your great work so far.

I'm a happy user of your 20279 rom.

Greets & happy christmass,

Niels
[HTC Wings] Zeerocool:
Is there any other language than ch? I don't understand anything :p
[HTC Wings] sergiopi:
Yes, English is inside, how? http://xdaforums.com/showpost.php?p=2980621&postcount=32 here is the solution, easy

EDIT: Sorry, my mistake, I downloaded it but I've FLASHED the 20279 (the older one). And this one has English too.:eek: This ROM 20757 is CN only!
[HTC Wings] korny79:
No English in this Rom

Tried everything, following the guide and my conclusion is that there's no possibility to change the ui language to English.

Hopefully someone can supply the English version of this Rom because it's fast and I want it :D :) :)

When in Menu -> Folder with gear -> 2 -> 6 -> cannot change the first option, no US English.

Am I doing something wrong?
[HTC Wings] znial:
no english inside this rom...

but it looks reallly cool, maybe someone could translate :D

i'm doing:

home>start>Settings (icon with gear etc.) open a window with only 4 choose 1.2.3.4. so there is any "0"

i'm doing something wrong or i am going to be blind?

ps i am using the one in the mirror on mediafire
[HTC Wings] sergiopi:
Sorry, I've double checked, and discovered I made a BIG mistake, downloading this Rom, but installing the older one :( ! I agree, this is CN only!
[HTC Wings] znial:
all right... we hope this is soon ready for english!!

:D

don't worry

fa niente!

z
[HTC Wings] dariovw:
:D:Dfunny a can immagine your face when look to the word....hahahahah:D:D
[HTC Wings] znial:
so finally we need new, fresh a cool english rom... anyone could translate?
[HTC Wings] louisli:
which input languages included?

Traditional Chinese supported?

thanks.
[HTC Wings] znial:
i am not familiar with the chinese imput methods, but according with various mui file in /windows (that are named 804.mui) i suppose thr lenguage is simplified chinese.

maybe other people can confirm that...
[HTC Wings] bigsponge:
i have to point out, the windows live and msn messenger, hotmail, all these things cannot be loaded.

nothing changed!!

we only can see a 6.1 looking theme.
[HTC Wings] dandreou:
hi

hi can explane how i can make rom up-date

many thanks
[General Questions and Answers] D3throneo:
So for some reason Google wont install on my Xiaomi Redmi A1 because of Google Go i think? Thing is Google Go is good but the Assistant Go app doesn't really have that much customization. I have the non-go version of assistant installed and i want to use it but it requires the regular version of google to work.

Anybody know a workaround that doesn't require root or such?

Device Info:

Xiaomi Redmi A1 (220733SG)

Android 12 Go Edition

Sorry if my english is bad and this is a noob question
[General Questions and Answers] D3throneo:
Thanks for your answer! I'll try to find an APK of google that supports my device. I appreciate your help.
[General Questions and Answers] Armaan Upadhyay:
When I try to install Google App on my device it says "App not installed as it conflicts with existing package" any way to fix this issue?

Android Version: 12

Phone: Vivo Y02
[General Questions and Answers] Armaan Upadhyay:
Sorry if I'm late but whenever I try to install it, I get this error:

`Failure [INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.google.android.googlequicksearchbox attempting to redeclare permission com.google.android.apps.now.OPT_IN_WIZARD already owned by com.google.android.apps.searchlite]`
[General Questions and Answers] WindowsAutomatic11:
Because GO Bulid don't support Google app. Only Google Go App
[General Questions and Answers] WindowsAutomatic11:
Which means it don't support Google app using GO edition
[General Questions and Answers] pcuserpro:
First try install Google Play Services (it may install an update or doesn't work at all) and then Google Assistant.

If doesn't work Play Services, try just installing Google Assistant. Files are attached
[General Questions and Answers] WindowsAutomatic11:
That won't work when installing Non google go app. To GO edition. There's no other way unless.... Install stock os that don't have go edition but requires custom recover
[OnePlus 10 Pro] beatbreakee:
Ok... So while I acknowledge that this post isn't 100% about the OP 10pro ... It will have some impact if solved.

Basically I've found it... I've found out how Oppo is locking or removing the ability to unlock the bootloader of ALL of their phones that suffer from this. (Specifically the OnePlus 10T T-Mobile)

And realize that by helping solve this, I will be able to locate the file that is bricking all of our devices , when flashing different region fw.

(I said I wouldn't rest til I found it, and I have!).

They are simply appending the executable that launches the "Fastboot reboot bootloader" command, with an additional comment which adds another Reboot to the command.

So the phone basically receives "Fastboot reboot bootloader reboot" when we try to access it from adb.

(They made it so that simply invoking the word bootloader will trigger this to happen automatically and without any way to break the command up....)

^^ This function has a flaw though... Which is :. They put the instructions for where the command gets it's orders DIRECTLY into the android build properties. Which means it can be removed from the build prop and restore full functionality to the Fastboot protocol.

The problem lies in that there is no way to edit these properties without root access.... No bootloader means no root... And no root means no way to edit build properties .... This is something that I need your help with!

I know there are a plethora of devs and even tinkerers here who knows tricks to mitigate the security in order to write or amend the build.prop without having root ... I know that SOMEONE here might have a method that can do this. If someone is willing to offer that knowledge, they would be a god in my eyes and a savior to several ppl with an Oppo device that has no way to unlock the bootloader. I have checked several devices and this is the same method used on every one that has a "permanently locked" bootloader. It is just a few lines in the build properties that is disabling this.

Please help.... Pictures for proof of my discovery at bottom.

If you can find a way to edit these lines please dm me, or reply here... But please contact me!
[OnePlus 10 Pro] beatbreakee:
Also be aware that Oppo has spies who pose as regular members on our site here, so if you are someone who might be interested in whatever solution comes about... I would highly recommend that you do not update your fw past the version you are on now. This goes for both Oppo and OnePlus users , because within 3 days of me revealing the method to switch region fw, OnePlus patched and removed the vulnerable rollback packages. So now that this has been brought to light, no doubt there will be a security update available within the next week or so, that has nearly nothing written in the changelog, but has the sole purpose of further hiding/blocking access to these settings.
[OnePlus 10 Pro] hammerhaigh:
This has ultimately been the reason I won't be purchasing the OnePlus 10 Pro, a Pixel is way superior at this point, however I will offer some advice.

Have there been attempts to use the QPST to overwrite partitions? I always thought that if someone made an MSM Tool with, for example, LineageOS in place of the partitions, that perhaps one wouldn't need to unlock their bootloader? Of course, the file would have to be encrypted the way that OPlus does it, but I thought it was plausible? I tried, but failed because the tool I was using kept not encrypting the files I was selecting, it only included a few in the final package.

I digress, I'm aware of someone saying that the partitions are different with the OnePlus 10 Pro, but would it be possible to kind of work backwards to reach the goal using Fastboot?
[OnePlus 10 Pro] beatbreakee:
well kind of... now i invite anyone to correct me here if i am stating something wrong, but it is my understanding that QPST/QFIL cannot write to individual partitions unless the instructions are defined in the rawpartition.xml, and patch.xml files.... because those are what the firehose loader parse to get the layout of what needs to be written to the phone. Like the partition tables are in the firehose i think, and the stuff that goes into each are in those xml files....

now if im correct then thats not the deal breaker... the deal breaker comes in the Firehose itself. ANY usage of a qualcomm flash tool, whether it be QFIL, QPST, MSM or any other, all require communication via a Sahara_Firehose... and in that sense, we dont have a Qualcomm Patched Firehose yet. So the firehose that comes in the fw packages has a security function called VIP mode built in, which performs some on board checks to validate the fw signature.

For this very reason, having Fastboot access sit on top of the throne for methods in which to mess with anything fw related.

Oxygen Updater - Has no direct flashing capability, only the ability to download any official OTA fw.

Local Update - Can flash pretty much anything, as long as it is in Payload.bin format, and the hash . . . . . . . .. . . . .. .. matches a valid package

System Update - will ONLY flash a package that is downloaded directly thru it, which eliminates customs.

Fastboot - Can flash payload.bin, or if the bootloader is unlocked it can flash individual .img files. Thus . . . .. . . . . . . .making it the most powerful tool we have at our FREE disposal.

With fastboot, and a flash of VBMeta, to disable Verity checks, along with "Unlock critical" , you can pretty much access every partition in the system without limits... and also this is the only way to gain root access, which as we all know is the MOST powerful of elevations, Writing anything TO the system partition requires a remount to R/W of the system partition, and that simply cannot be performed without Root.

So technically, fastboot access is the only thing we have that can give us a tool (root) with the freedom to make persistent changes to any partition on the device.
[Samsung Galaxy A51 Questions & Answers] fobaqq:
Hi , I just baught Samsung A51. it was android 13, I flashed twrp then the phone won't start or enter recovery mode I downloaded 3 different firmware for android 10 from Samfw but still can't flash any of them using odin <stucks at recovery.img and the download screen on phone says : pit_flash_binary - unsupported version> (edited)

View attachment 5803977View attachment 5803979View attachment 5803983
[Samsung Galaxy A51 Questions & Answers] ethical_haquer:
You got stuck when you were flashing twrp, but what were you really trying to do?
[Sony Xperia 1 IV] RP1408:
I followed the steps, but I can't get into bootloader mode. Please help. When I reboot to bootloader, the screen is blank and doesn't respond to fast boot commands.
[Sony Xperia 1 IV] Mrxyzl:
Turn off phone then hold volume up and plug into computer to get to bootloader mode (screen should still be off)

If computer doesnt recognize fastboot mode then your computer is lacking the right driver
[Sony Xperia 1 IV] RP1408:
I did follow the steps and downloaded both the google USB driver and driver for my device model from sony mobile communications via 'install OEM drivers'. Did I miss anything? In fact, how do I remove and reinstall both drivers if they are faulty?
[Sony Xperia 1 IV] Mrxyzl:
I remember window 10 and 11 block driver if you install normal through double click. You need to get to device manager and update driver manually. Google it
[Sony Xperia 1 IV] RP1408:
i tried but still the same problem. From this screenshot , could you make out anything regarding anything ive might have missed. i installed the google usb driver and fastboot driver by the device manager as stated in the previous comment.View attachment 5805835
[Sony Xperia 1 IV] FreshlyBaked 420:
Boot windows in safe mode, and disable driver certification and reinstall the driver.
[Sony Xperia 1 IV] alexdo:
Hey, man I had a problem with the drivers in bootleader mode on my 5 IV as well. Which had the Android under Other Devices with a question mark, meaning it couldn't find the drivers.

You could try forcefully installing the drivers for the device as I explained how to do in my post here: https://xdaforums.com/t/guide-windo...-and-flashing-firmwares.4537183/post-88051049
[Sony Xperia 1 IV] raven213:
Make sure you don't have US version because you can't unlock bootloader on it
[Sony Xperia 1 IV] ragu24:
There's a Sony driver you jeed to use, SA2000 or some weird name. Did you get that one? Install it by right clicking on the Android device name with yellow warning triangle. Select the install disk manually and assign that one to manually install
[Touch Diamond, MDA Compact IV Themes and Apps] swankydank2001:
If i have cab files for several themes. is their a program i can use to switch back and forth instead of installing and removing the old ones/ Sure takes a wile. Please help rookie at this WM phones