yashsingh1/xdaforums huggingface dataset:
[OnePlus 7T Questions & Answers] kiranlalge:
Thank you. I have just started downloading this file (2.6 GB) on my laptop. Yes I am very keen to save my data before formatting. Please can you guide on the next steps to do after the download completes?

I use Windows 7. Is there a link to install correct OnePlus and adb drivers in Windows 7?

Right OK so I have downloaded the ZIP package and have also managed to extract the payload.bin file. See file contents in the attached image.

Please can you guide on the next steps hereafter? I use Windows 7. Is there a link to install correct OnePlus and adb drivers in Windows 7?

I think this is getting closer. I managed to install drivers as in the attached. Please take a look. 3 out of 4 have yellow triangles not sure if that means any issue. The 4th one appears only when I connect the device to laptop via a cable.
[OnePlus 7T Questions & Answers] HueyT:
Only works on win10/11
[OnePlus 7T Questions & Answers] kiranlalge:
OK. I still tried on Windows 7 and I got the attached. If I manage to change the slot from a to b using "https://www.droidwin.com/fix-failed-remote-slot-change-is-not-allowed-in-lock-state/", then will I loose any data? Again, I'm very keen to retrieve my data.
[OnePlus 7T Questions & Answers] HueyT:
Yes, unlocking BL will wipe data
[OnePlus 7T Questions & Answers] kiranlalge:
Thats sad :-( I'm looking for a solution to retain all my data in a situation where my device is just booting in loops (not reaching the home screen), developer option is disabled and USB debugging is also disabled. Please help.
[OnePlus 7T Questions & Answers] ej8989:
All you can do is keep repeating reboot to recovery, normal reboot, reboot to bootloader, reboot to recovery, normal reboot, while praying and hoping that your phone boots up.
[OnePlus 7T Questions & Answers] HueyT:
Does "fastboot devices" give you numbers and letters?
[OnePlus 7T Questions & Answers] kiranlalge:
Yes. It printed the serial no. of my device.
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] helmen:
Could you provide a link for fcrypt disabler? I generally always prefer to download things from reliable sources
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] helmen:
I installed the rom but found all recovery and fastboot overwritten!

I wanted to reinstall the old recovery and it doesn't work, I tried flashing from fastboot but the recover doesn't change.

Now how do I put magisk and root back?

EDIT: I was able to install magisk with sideload, pero I would like to understand ce problem there is with recovery, because I can't change it.
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] kaike_:
Hi Helmen, try flash magisk through pixel recovery, you're able to do it. First select apply update and use adb sideload or sdcard method, select magisk, after reboot system and install Official TWRP App on PlayStore, after you can simply flash the recovery img through it.
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] helmen:
Thank you for your reply!

Please confirm if I understand correctly, you tell me to install magisk with recovery pixel sideload (done yesterday, it worked) and then install TWRP from the playstore (this) and change recovery using this app while the rom is running?

If I understand you correctly I'd like to ask you two more questions about that:

1) previously I had installed a specific version for my lancelot (this), if I get the version from the store isn't it generic?

2) if it's okay to use the TWRP version on the store, don't they also have a site to download directly from it? I generally prefer to get the open software from other sources if it's possible (like fdroid).

Is this the official source? https://twrp.me/
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] kaike_:
Hi Again :)

The TWRP app from PlayStore is for download Official TWRP and Flash recovery images with Root permission and you'll use this option. You'll download the recovery.img , after you'll open the TWRP app, give all permissions (including magisk permissions) after select flash image and find the recovery.img in your store, confirm and flash. After if you reboot on recovery you'll see that changed.

You can uninstall the TWRP APP after use it. Enjoy :)
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] helmen:
many thanks for the help.

In the meantime I am trying the rom and I can't connect with the phone.

Is it possible that there is a problem connecting to the networks? both the SIM cards I insert are recognized but none of them can connect.

Yet the phone seems to find the networks when I put the manual search
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] kaike_:
I didn't face this problem, ig it won't happen with you.
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] helmen:
I was able to reinstall the old recovery, however I can no longer backup partitions or send files. can't figure out what's going on.

If I try to backup to the sd it gives an error:

Can not create '/external_sd/TWRP/BACKUPS/000serial000' folder (I/O error).

Failed to make backup folder.

if I try to backup to internal memory it gives this other error:

Can not create '/data/media/0/TWRP' folder (Required key not available).

Failed to make backup folder.

If you have any ideas let me know, because this way I don't even know how to put the phone back together again

Here it seems that someone has the same problem with pixel experience: https://xdaforums.com/t/im-having-p...ion-errors-all-the-time.4203951/post-84464765
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] helmen:
by wiping the internal storage you start to be able to make backups again, however, I accidentally wiped the data anceh and the rom doesn't boot anymore, it always goes back to recovery, now I try to reinstall everything.
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] kaike_:
Format data and reboot system
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] bowkr:
Screen recoder problem is very annoing lately even cast doesn't work. I've tried using external screen recorder but still it doesn't work
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] abhinav.3181:
Hi

You and reflash twrp whenever you want to use
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] Karamberrahal:
hi , i have a question bro , i can flash this rom with a twrp custom recovery
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] d4r1u5h:
Hi

Thank you so much for developing this amazing ROM

Everything works great

Please can you update the project to the latest build 2.1

Project Elixir

Thank You
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] sturzerblitz:
As of 12 22 2022, the download links in the link that you provided for Redmi 9 aren't working or broken. Could you somehow inform who has the authority to fix it. Thanks!
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] kishan900:
I think you lost your IMEI number if you haven't backup it, its very hard to get it back , rebooting and flashing stock rom re-flashing rom will not work (I'm not sure if you lost it or not)
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] Sebas_121005:
HI, man I cant find the link of my advice :( can you help me please ?
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] bicho2015:
redmi 9 is removed from the list ?
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] lodgerz:
Hello, FM Radio of Redmi 9 works?
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] Jayz0999:
Hi, i can't seem to find the link on redmi 9 on the official download site, Has it been removed?
[Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.] tenssa:
yes, it's removed
[Android TV General] Brandt Wessels:
I would like to upgrade the firmware for this box. It is already Android V10 but I would like to upgrade it to 12 if possible.

I see there are a few different boxes that have the same hardware Labled Stong Leap S1 like the me cool and others.

Can someone point me in the right direction please?View attachment 5691915
[Android TV General] Deleted member 11959327:
Unfortunately, the right direction is to just use android 10. There is no android 12 (or even 11) build for this device yet.

If there ever is an update, the skyworth variant is one of the few (using this hardware) that supports gota updates. So, you'll get it automatically.
[Google Pixel 6] pleiotropy:
I recently received a message on my pixel 6 that a system update will be "automatically installed" on my device in 1 day. The update is 2.02 gb in size and it's listed as a "security update". Would this be the Android 13 OTA? I've disabled Automatic System Updates, but I'm afraid this will install and brick my phone/mess up my root. Is there anyway to prevent it from installing?
[Google Pixel 6] Lughnasadh:
That's the Android 12 GPS fix it sounds like.

Google Pixel 6 getting 'Introducing Android 12' update

Many Google Pixel 6 series users are confused due to an 'Introducing Android 12' update ahead of Android 13, here is what's happening.

piunikaweb.com
[Google Pixel 6] pleiotropy:
Thanks, any idea how to safely install the update? Is this Magisk guide still accurate?
[Google Pixel 6] Deleted member 6200352:
OTAs are arguably the safest way to update regarding any danger to bricking devices. Any hoopla you may have heard about A13->A12 or A12->A13 bricking is via flashing not OTA updates. You will have to re-root/magisk. Those guides have been (should) updated for a13. But OTA updates within android 12 and to android 13 should not brick your device and should be totally safe. But once you are on android 13, you are on it forever. No downgrading. You can only move forward (for now).
[Google Pixel 6] pleiotropy:
Thanks, I am still quite new to this so to confirm, the A/B partition method will not work? Would I just install the OTA and then re-root? I'm using Magisk Canary 24.3 if that matters
[Google Pixel 6] Lughnasadh:
Yeah, that guide is accurate but the "Install to Inactive Slot" method has been hit and miss for some. If you are on a custom kernel you also need to return to stock kernel to make it work as well.
[Google Pixel 6] tom1807:
Canary 24.3 does matter, it won't work. You need Magisk 25.200 or higher for A13.

Cheers

Tom
[Google Pixel 6] Lughnasadh:
Good point. Missed that he was on that.
[Google Pixel 6] pleiotropy:
Thanks for the info, I will update Magisk and then try it
[Google Pixel 6] Lughnasadh:
Make sure to disable any Magisk mods that may need updating as well, but since you're just making a minor update from one July build to another July build I suspect you'll be ok. But it's still good practice to disable mods when updating to avoid potential bootloops.
[Google Pixel 6] michaelrager:
Hi,

I have the same issue (system security update 2.02 GB) bothering me everyday and I do not want to update my phone. I am rooted but am not sure what Titanium backup should freeze to stop this. Any ideas? I appreciate it. I do not want to have to re root etc, it took me months to successfully root .
[Google Pixel 6] tbgakaadan:
Did you ever figure this out? Or what happened? I have updates disabled under dev but I got the same notification.
[Google Pixel 6] tbgakaadan:
If anyone can respond, I just have root with systemless host enabled for adblocking. If the update goes through, worst case I just have to reroot?
[Google Pixel 6] Strephon Alkhalikoi:
Take the update. You'll have to root again.
[Networking] kpshamilsagar:
hi...i want to know how can i configure my wifi.....pls help me...i really don know how to connect it to a ciomputer n use it...
[POCO M3 Pro / Redmi Note 10 / 10T 5G] jianjianus:
LineageOS 19.x GSI：​

How to make audio gain?

There is a delay in answering calls, and the voice in the handset is not clear enough.

thx
[Samsung Galaxy Note 8 Questions and Answers] RealMetafetamine:
Hi, I recently thought of flashing Project Sakura or iOS ROM by Sayanu. And when I flashed TWRP I Formatted Data, Used universal forceencrypt disabler, and after booting to phone and then trying to go to recovery, my phone is now stuck in a bootloop and Red Text Saying Only Official Binaries can be Flashed. I went to SamMobile, got the zip file, flashed in Odin, then back to normal, I've reflashed Stock ROM for 7 times straight. Even then, TWRP Fails to load with the red text saying Only Official Binaries can be Flashed. Please help me, I need a custom ROM urgently.
[Samsung Galaxy Note 8 Questions and Answers] RealMetafetamine:
Also, here's the model- SM-N950F

Currently Running Android 9.

Stock ROM from SamMobile.
[Samsung Galaxy Note 8 Questions and Answers] ravrage:
Enable developer mode

Disable OEM lock in developer mode

Read about RMM little bit

Wait 7 days

Flash twrp

There are two encrypted partition the name I forget but you have to reformat it google before procedure

Then format phone

Install any custom ROM that you want

PS project sakura is end of life, lineage 19.1 is pretty stable
[Xposed Framework Modules] zhipingne:
View attachment 5691919​

The first scriptable xposed module, provides a new way to change the application behavior.

Powered by Lua and made with ♥

Features​

Lua scripting

Simple and intuitive hook API

Share your package with others by publish it at WeiJu2-Scripts

Q&A​

How to write a hook?​

local Toast = import("android.widget.Toast")
local Activity = import("android.app.Activity")
local Bundle = import("android.os.Bundle")
local StringBuilder = import("java.lang.StringBuilder")

hook {
class = Activity,
returns = void,
method = "onCreate",
params = {
Bundle
},
after = function(this, params)
-- This will call the `StringBuilder(CharSequence seq)` constructor
-- to instantiate a StringBuilder object
local sb = StringBuilder("Hello, ")
sb:append("WeiJu2")

Toast:makeText(this, sb:toString(), Toast.LENGTH_SHORT):show()
-- ^
-- Note: `this` is the Activity instance
end,
}

How to modify class fields?​

-- With the `import` function you can bind any java class, and access all the fields and methods that defined
-- in that class. No more `XposedHelper.setStaticObjectField(Build.class, "DEVICE", "coral")` much cleaner!
local Build = import("android.os.Build")

Build.DEVICE = "coral"
Build.PRODUCT = "coral"
Build.MODEL = "Google Pixel 4XL"
Build.BRAND = "google"
Build.MANUFACTURER = "google"
Build.VERSION.RELEASE = "13"

How to import a package?​

require("ikws4.system_variable").setup {
-- configs goes here
}

How to create a package?​

A basic package template:

--[[
@metadata
return {
name = "my_package",
author = "you",
version = "1.0.0",
description = "Describle your package"
}
@end
--]]

local config = {
}

local M = {}

M.setup = function(opts)
config = table.extend(config, opts or {})
end

return M

Want to share your work with others? Create a PR at WeiJu2-Scripts

Screenshots​

Video guide​

Download​

Github release: nightly build
[Xposed Framework Modules] loopypalm:
Looks good

i wish you good luck (y)
[Xposed Framework Modules] Rom:
Hi @zhipingne

Since from what i understand, it is possible to inject Lua code via Xposed with your application, in your opinion would it be possible to act on all applications embedding web browsers to navigate on web pages adapted to mobiles?

Example: inject CSS rules globally on all user applications to affect some like Spotify, Discord, Teams and others?

If it's possible I'll have fun!
[Xposed Framework Modules] zhipingne:
Sorry for the late response, I was experiment a way to inject custom css into WebView in the last two days, And finally got a working demo. (It took so mush time because of the `object` function, in order to proxy a concrete class we need to generate dex file at runtime lol)

FYI, I followed this article: https://medium.com/@fanisveizis/usi...d-js-scripts-on-android-webviews-6da0502d6595

UPDATE

It stop working... The `dex` file that generate at runtime does not loaded back properly in the next launch time.
[Xposed Framework Modules] Rom:
Ok, do you think it is possible to achieve something functional in the end?

I would be very interested.

Thx
[Xposed Framework Modules] zhipingne:
Yes, I think it's possible
[Xposed Framework Modules] Rom:
When i think about it, in fact your module can become as powerful as substratum if we want?
[Xposed Framework Modules] maxafe:
{
"builtin": false,
"collection": "Privacy",
"group": "Use.Tracking",
"name": "DeviceIntegrityCheck\/checkIntegrity",
"author": "B!",
"version": 0,
"description": "Skip asitplus device integrity check",
"className": "at.asitplus.utils.deviceintegrity.DeviceIntegrityCheck",
"methodName": "checkIntegrity",
"parameterTypes": [],
"returnType": "void",
"minSdk": 1,
"maxSdk": 999,
"minApk": 0,
"maxApk": 2147483647,
"enabled": true,
"optional": false,
"usage": true,
"notify": false,
"luaScript": "function before(hook, param)\n param:setResult(nil)\n return true\nend\n"
}

(Thanks to B!GBOY)

Is it possible to run such a XPrivacyLua script? If so, how formatted?
[Xposed Framework Modules] zhipingne:
local DeviceIntegrityCheck = import("at.asitplus.utils.deviceintegrity.DeviceIntegrityCheck")

hook {
class = DeviceIntegrityCheck,
returns = void,
method = "checkIntegrity",
before = function(this, params)
return nil
end
}

Maybe, I can write a convertor for this.
[Xposed Framework Modules] maxafe:
@zhipingne

Awesome. Worked right away. Thank you very much!
[Xposed Framework Modules] xerel89:
The version is not available...
[Xposed Framework Modules] zhipingne:
I'm sorry for the late response.

What do you mean not available? Is it can not be downloaded?

If so, here is the google drive link https://drive.google.com/file/d/1upurJDTJ5nS3RodsqLTCJKFg9daN4EaH/view?usp=sharing
[Xposed Framework Modules] jal3223:
Thank you for this module, it looks awesome! Do you think it would be possible to use it to implement java code, such as a java script to disable the elastic overscroll in Android 12+? There is an example in java located here that I would like to test.

https://github.com/ionic-team/capacitor/issues/5384
[Xposed Framework Modules] zhipingne:
Yes, you can translate java code in to WeiJu2 scripts, here is an example:

local BridgeActivity = import("com.getcapacitor.BridgeActivity")

hook {
class = BridgeActivity,
returns = void,
method = "onStart",
after = function(this, params)
local webview = this:getBridge():getWebView();
webview:setOverScrollMode(webview.OVER_SCROLL_NEVER);
end
}

Note: I did't test the code, it just an example to show it's possible to implement java code using WeiJu2 hook.

UPDATE

How to disable Programmatically Android 12 Elastic Scroll Animation

how can I turn off the elastic scroll effect that comes with android 12? Best regards

stackoverflow.com

https://cs.android.com/android/platform/superproject/+/master:frameworks/base/core/java/android/view/View.java;drc=c645853ab73ac8c5889b42f4ce7dc9353ee8fd35;bpv=1;bpt=1;l=3657

I think this code will make all view non over scrollable.

local View = import("android.view.View")

hook {
class = View,
returns = void,
method = "setOverScrollMode",
before = function(this, params)
local OVER_SCROLL_NEVER = 2
params[1] = OVER_SCROLL_NEVER
end
}
[Xposed Framework Modules] jal3223:
Thank you for the reply. That's awesome to hear. I'm going to keep messing around with it to see if I can disable the overscroll then. The code that you provided unfortunately doesn't work for all apps. It does work for some however. I believe there is another hook somewhere that must be disabled as well. If you have any ideas they would be greatly appreciated.

Thank you again for the app. It's amazing!
[Xposed Framework Modules] zhipingne:
Try this to see if it works

local View = import "android.view.View"

local OVER_SCROLL_NEVER = 2

hook {
class = View,
params = {
Context,
AttributeSet,
int,
},
after = function(this, params)
this.mOverScrollMode = OVER_SCROLL_NEVER
end,
}

hook {
class = View,
returns = void,
method = "setOverScrollMode",
before = function(this, params)
params[1] = OVER_SCROLL_NEVER
end,
}
[Xposed Framework Modules] jal3223:
Thank you for the attempt, but unfortunately, that doesn't seem to fix it either. I've asked multiple developers to see if they could sort it and nobody has been able to so far. I don't know how Google implemented it so deep, but it seems very difficult to remove the "accordion" scroll. Thank you for trying though. If you have any ideas though, they would be greatly appreciated.
[Xposed Framework Modules] ajolly:
Thanks! The apk isn't posted on the first post or on github.

This does seem like a replacement for XprivacyLua which just stopped being supported.
[Xposed Framework Modules] wanting2521:
It work perfectly! Thank you very much.

One more thing, Is there a way we can load script from local file instead of write directly on module interface, please?
[Xposed Framework Modules] zhipingne:
File access causes me a lot of headache, and current implementation still have some flaw it.

Why would want load script from file?

ref: https://github.com/ikws4/WeiJu2/issues/7#issuecomment-1248109818
[Xposed Framework Modules] wanting2521:
I have multiple devices and code on computer will be a lot faster than Android.

Currently I try to override function getAllCellInfo of TelephonyManager class.

But the return is a List<CellInfo>. I don't know how to write the return for a List. Could you help me, please? Both return=List and return=List<CellInfo> doesn't work :(

local TelephonyManager = import("android.telephony.TelephonyManager")
local List = import("java.util.List")

hook {
class = TelephonyManager,
returns = List,
method = "getAllCellInfo",
params = {
},
replace = function(this, params)
return nil
end,
}

Thank you in advance.
[Xposed Framework Modules] VD171:
Great app !

Certainly, I will give a try.

I Love XPrivacyLua but it doesn't provide a full integration from Lua to Java.

I have two questions:

Can I set specific hooks to specific apps or all hooks are applied to all apps ?

Can I set variables on hooks and then set a different variable for each app ?
[Xposed Framework Modules] zhipingne:
Try this one, If it doesn't work, could you paste the debug log?

local TelephonyManager = import("android.telephony.TelephonyManager")
local ArrayList = import("java.util.ArrayList")
local List = import("java.util.List")

hook {
class = TelephonyManager,
returns = List,
method = "getAllCellInfo",
replace = function(this, params)
local ret = ArrayList()
return ret
end,
}
[Xposed Framework Modules] zhipingne:
For now, the workflow is you write a script for a specific app. But I am prepare to implement a "global app" feature (the script you write can be injected for all other apps).

Yes, this is what the WeiJu2's package feature made for, you can import any script.

check them out on https://github.com/ikws4/WeiJu2-Scripts
[Xposed Framework Modules] wanting2521:
Thank you. It works after I change List to ArrayList :D

One more thing, Can I view or copy 'My Scripts' directly from Android Studio/computer, instead of editing directly from Weiju app?

I mean the path to 'My Scripts' on the device, so we can copy/paste the script?
[Xposed Framework Modules] zhipingne:
Can or can't that depends you, for now the script are save inside a share preferences called `script_store`, and script are encoded in base64, you can take look at it.
[Xposed Framework Modules] wanting2521:
Strangely, I check both path:

- data/data/io.ikws4.weiju

- /data/user_de/0/io.ikws4.weiju

But no shared_prefs folder there. where can it be, sir? :(
[Xposed Framework Modules] zhipingne:
Oops, I recall that, the XSharedPreferences was store in a random path, tricky

New XSharedPreferences

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

github.com
[Xposed Framework Modules] zhipingne:
try global search the file name. In my case, it was located at

/data/misc/b7076e05-6693-44af-990c-d5a46af38289/prefs/io.ikws4.weiju/script_store.xml
[Xposed Framework Modules] VD171:
Nice !

Definitely, global scripts are totally useful.

About package feature, why not some place/activity for setting each variable for each app, like XPrivacyLua Pro feature? Instead of opening and editting each script.
[Xposed Framework Modules] zhipingne:
Not a big fan of making these ui, I think using code to define the behaviors is much better way to manage configurations and it gives the user more flexibility.
[Xposed Framework Modules] anuraag.neo:
Can i hook android framework methods using this?
[Xposed Framework Modules] anuraag.neo:
will you do this?