yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] athsam1020:
Hi guys, please I need your help. I got a samsung A7 (2018) device which doesn't connect to network though SIMs worked even showing my contacts.

I made research and found out I have root the device since the IMEI has been tampered. I rooted with Magisk, i.e patched my AP with magisk right on my phone then flashed with odin. After rooting I downloaded Super Tool as per instructions cause I read alot of articles and watched alot of videos.

Now that's when I messed up, all I know is, I clicked "Restore original IMEI" while my device was in download mode. And upon reboot I was greeted with an error message telling me something like "update failed, connect to Smart Switch, then click on Emergency Software Recovery".

Tried that, didn't work. I reflashed using Odin several times, with even using PIT and NAND Erase but still nothing. It's just stucked at boot logo and whenever I reboot to stock recovery, this "E:failed to mount /.system" message along with other writings like "#no data on recovery_cause#" show up.

I tried many methods found here on XDA and other sites but still nothing worked. I even installed the PBRP Recovery I saw here on XDA, though that worked but it still didn't fix my problem. And it failed to install zip. 'Cause I tried installing my firmware, said "zip verification failed" and other zip files I don't even understand the message it gave.

I tried wiping cache and formatting, change file system and repair file system, still nothing.

Whenever I try the "Run graphics test" in stock recovery it shows "Installing system update" along with gage, then "Error", then "No command" then "Erasing" along with gage and then back to Recovery.

and whenever i try "wipe cache partition" option

Wipe cache partition->

--Wiping cache...

E:[PDP] lstat /c____/pdp_b__:0 - No PDP Scenario

Formatting cache...

cache wipe complete.

cache wipe complete.

I cut the story short for convenience, but I know you quite understand all procedures I took.

Please help me with anything you have, I would appreciate it.

I tried everything myself cause I want to know how everything works and because I want to study Computer Science. I'm faily familiar with codes.

I'm really sorry if you find my English hard to read or digest, I didn't mean to make it hard for you to understand me.

Thank y'all.
[Samsung Galaxy A71 Questions & Answers] Pupet_Master:
Hey i'm at NcX 3.1.2

Is there any way to install a stock ROM without factory reset and without losing TWRP (plus no factory Reset so i can install Magisk)?
[Google Pixel 6 Pro] superspartan:
I live in Dubai and I know for a fact that the UK uses the same bands that we use here so I wouldn't have connectivity issues with LTE/5G.

Now, the Pixel 6 Pro is out of stock at the Google Store UK; so my question is if I buy from let's say Google Store Australia or US, are the supported bands the same or do they use different bands for different Pixel phones depending on the region its sold in?
[Google Pixel 6 Pro] LLStarks:
No. Only the US, Japan, and Australia models support mmwave.

All models should support the same 4G and sub6 5G bands though.
[Google Pixel 6 Pro] superspartan:
right, so a US Pixel 6 Pro would have connectivity issues in Dubai/UK or would it still work and get 5G signal?
[Google Pixel 6 Pro] LLStarks:
No issues. Provided your carrier doesn't whitelist for 5G or use an unusual band, it should work fine.
[Google Pixel 6 Pro] superspartan:
Thanks a lot for the prompt reply! Cheers
[Google Pixel 6 Pro] clipdawg05:
5g volte and vowifi will not work in dubai, dont order the phone if you cant live without any of those
[Google Pixel 6 Pro] clipdawg05:
it does have all the correct bands though, so maybe in the future google will unlock the phone to be used in all countries or maybe someone smart will figure it out on a rooted phone
[Touch Diamond, MDA Compact IV General] lsainsbury:
Hi all,

I've got a Diamond with a wav ringtone.

When the phone rings, the ringtone starts, then stops for about 1/4 second then continues to play correctly...

The file is stored on the in the My Device / My Documents folder.

The file is about 2.5MB.

The file plays correctly when using media player and when previewing the ringtone in the notifications setup.

Any idea how to get it to play correctly when I receive a call instead of the slight stutter / pause?
[Google Pixel 5a] nijel8:
Sharing my Android 12 mods as Xposed modules. You need Magisk+Lsposed installed obviously.

Two of the mods do not respond well to user controlled settings within the module so I've made separate modules for them:

1. xPixel

- Disable Screen ON on plugged

- Disable ADB debugging notification

- Activate AOD on plugged

- Disable Lock screen timeout

- Long press actions for Navbar buttons:

___ HOME > Screen OFF (see NOTE bellow)

___ BACK > Kill foreground app

___ RECENT > switch ON - Launch custom app, OFF - acts as MENU key

- Disable 'Power off' on Lock screen if device is secured with pin, pattern or password

- Advanced Power menu with user selectable options:

___ Soft restart

___ Recovery

___ Bootloader

___ Fastboot

___ SystemUI restart

___ Keep A12 Power menu look 'n fill for Restart submenu

2. Battery Estimate Gone

- Show Battery percentage instead of estimated time remaining in expanded notifications Status bar

3. Double Tap to Wake

- Double Tap to check phone instead of the default Single Tap

- Double Tap timeout is user configurable

NOTE: Disable Google Assistant in Settings > Apps > Default apps > Digital assistant app > Default digital assistant app > set to None for better experience if using longpress HOME screen OFF.

Enjoy!
[Google Pixel 5a] meiskam:
can I get a button to add a shortcut to bg.nijel.xpixel/.SettingsActivity on my homescreen?

or add it to category `android.intent.category.LAUNCHER` / set `android:exported="true"`
[Google Pixel 5a] nijel8:
Updated.. added LAUNCHER category, please redownload from OP.
[Google Pixel 5a] meiskam:
so, another feature request 😳, I'd love long-press RECENT to push a KEYCODE_MENU KeyboardEvent, like when phones used to have a hardware menu button

something like:

Instrumentation m_Instrumentation = new Instrumentation();
m_Instrumentation.sendKeyDownUpSync( KeyEvent.KEYCODE_MENU );

+ INJECT_EVENTS permission
[Google Pixel 5a] nijel8:
No need for that method, I directly set the key code for recent button in it's instance of KeyButtonView class with Xposed, much easier... As a matter of fact Android 12 on pixel doesn't transmit any key code event for the recent button. Anyway...

MENU key code is actually a pretty good idea, that way when you disable custom app launching you get menu button with long pressing the recent button... How I didn't think of that?! Double functionality... Definitely will do... but I am out of town for the next 2 weeks so later.
[Google Pixel 5a] nijel8:
Updated xPixel - now if "RECENT custom app" is disabled, long pressing RECENT acts as MENU button. Please redownload from OP...
[Google Pixel 5a] nijel8:
xPixel updated - fixed recent apps popup after MENU key in some cases. Please redownload from OP...
[Google Pixel 5a] ap1618:
For #3, is there an Android 11 equivalent?
[Google Pixel 5a] nijel8:
Don't know, never looked in A11 code. If you wonna look at it this is the xposed module source code:

package bg.nijel.doubletaptowake;

import android.annotation.SuppressLint;
import android.view.MotionEvent;

import java.util.Timer;
import java.util.TimerTask;

import de.robv.android.xposed.IXposedHookLoadPackage;
import de.robv.android.xposed.XC_MethodHook;
import de.robv.android.xposed.XposedHelpers;
import de.robv.android.xposed.callbacks.XC_LoadPackage;
import de.robv.android.xposed.callbacks.XCallback;

import static de.robv.android.xposed.XposedBridge.log;

public class DoubleTaptoWake implements IXposedHookLoadPackage {

private static boolean mDoubleTap = false;

@Override
public void handleLoadPackage(XC_LoadPackage.LoadPackageParam lpparam) {

if (lpparam.packageName.equals("com.android.systemui")) {
try {
Class<?> clazz = XposedHelpers.
findClass("com.android.systemui.statusbar.phone.NotificationShadeWindowViewController$1",
lpparam.classLoader);
XposedHelpers.findAndHookMethod(clazz,
"onSingleTapConfirmed", MotionEvent.class,
new XC_MethodHook(XCallback.PRIORITY_HIGHEST) {
@SuppressLint("PrivateApi")
@Override
protected void beforeHookedMethod(MethodHookParam param) {
param.setResult(true);
//log("nijel888 DoubleTaptoWake onSingleTapConfirmed");
}
});

Class<?> clazzz = XposedHelpers.
findClass("com.android.systemui.doze.DozeTriggers", lpparam.classLoader);
XposedHelpers.findAndHookMethod(clazzz,
"onSensor", int.class, float.class, float.class, float[].class,
new XC_MethodHook(XCallback.PRIORITY_HIGHEST) {
@SuppressLint("PrivateApi")
@Override
protected void beforeHookedMethod(MethodHookParam param) {
int pulseReason = (int) param.args[0];
if (pulseReason == 9) {
if (!mDoubleTap) {
param.setResult(null);
mDoubleTap = true;
new Timer().schedule(new TimerTask() {
@Override
public void run() {
mDoubleTap = false;
}
}, 400);
}
}
//log("nijel888 DoubleTaptoWake onSensor");
}
});

} catch (Throwable t) {
log(t);
}
}
}
}
[Google Pixel 5a] ap1618:
I have no idea what's going on there in the code :)

When i tried to install the apk it said problem parsing the package, then I saw that the title says Android 12...
[Google Pixel 5a] nijel8:
Oh yeah... It's build for A12 only with API 31, can't test it on A11 so...
[Google Pixel 5a] ap1618:
Is there a way you can just rebuild it supporting A11 as minimum?

It should just work right? :)
[Google Pixel 5a] nijel8:
Don't know if the hooked methods even exist in A11... Lot is changed, for example 90% and more of A11 GravityBox code doesn't work in A12, that was what actually made me do these modules...

Edit: Nope, the important method that captures the tap is missing from A11 code and I don't feel like digging again... sorry
[Google Pixel 5a] nijel8:
Yeah, me too, will see if I can debug it...
[Google Pixel 5a] Reechings:
Great thanks a lot! Also not a big deal and it may be something conflicting on my end but screen timeout doesn't seem to lock device even if I toggle the option on and off in xPixel. Cheers
[Google Pixel 5a] Reechings:
Sorry ignore this. Didn't realize default behavior was to not lock right when the screen goes off and I just had to adjust it in security settings.
[Google Pixel 5a] Reechings:
@nijel8

Not sure what phone you have but I don't think the double tap to wake mod works for me at all on January build for Pixel 6 Pro. I think it may also be because of a mod I am using by Typhus that adds a bunch of custom ROM stuff.
[Google Pixel 5a] nijel8:
Works well on my Pixel 5a with latest January build and all monthly builds before. Nothing has changed in AOSP code since A12 release...

The xposed module source code is few posts above.
[Google Pixel 5a] nijel8:
Well... it does replaces SystemUI where my module changes happen...
[Google Pixel 5a] Reechings:
Sorry my bad then, seems like xPixel still at least partially works so thought I would check. Cheers
[Google Pixel 5a] koreyb:
Do you plan on adding any features for gesture nav? My DD right now is the 4a running DU. I have used 'longpress back to kill' as long as I can remember. DU does this with gesture nav, but added a function where an extended swipe would trigger it (swiping back almost to middle of screen).

Absolutely fell in love w/ gesture nav now. So much easier than having to hit the buttons on the bottom of the screen.

I've become so attached to it working this way I'm having trouble moving on from the 4a. I have the 5a and the P6, but holding out on making the switch until I can get everything I want on either one of them.
[Google Pixel 5a] nijel8:
Nope, not using gestures...
[Google Pixel 5a] Reechings:
Any luck with this? Maybe it's entering deep sleep which I guess is good for the battery but not for what we want 😁
[Google Pixel 5a] nijel8:
Two modules updated, please redownload from OP...

- xPixel - fixed bug that was causing Double Tap to Wake module not working in some cases

- Double Tap to Wake - now should work with @Typhus_(thanks) magisk module Addon Features for Pixel Devices installed(not tested, please report)
[Google Pixel 5a] nijel8:
For some unknown reason immediately after HOME long press screen off, phone randomly wakes up from dreaming and goes to deep sleep hense touch events are no longer detected. I knew about this behavior and have taken care of it in power-connected state but apparently same happens rarely in power-disconnected state too so I got that fixed as well I hope...
[Google Pixel 5a] Reechings:
Yeah I use double tap to sleep using root on lawnchair quite often. Most of the time it's ok when I have just been using the phone to wake up but I appreciate any update that might make it more consistent. Thanks!
[Google Pixel 5a] nijel8:
If you still use Addon Features for Pixel Devices can you tell me if Double Tab to Wake works with it, please? You might need to redownload and install again since I had to fix minor bug in that addon detection routine.
[Google Pixel 5a] Reechings:
No I'm actually on CRDroid now so had started using your mod again. So the one in the OP is updated?
[Google Pixel 5a] nijel8:
It is.
[Google Pixel 5a] Reechings:
Unfortunately it's still hit or miss sometimes for me when it won't respond. Not always after a long time in my pocket either. Still nice to have even partially though.
[Google Pixel 5a] nijel8:
Double Tap to Wake module updated, please redownload from OP:

- added settings for Double Tap Timeout

Play with it and see what works best for you. System default is 300 ms. 600 ms seems to works best for me.
[Google Pixel 5a] Reechings:
Nice I'll try this and just saw the note that an update to xPixel could help too so will update both. Cheers!
[Google Pixel 5a] Techguy777:
you got rid of the double tap to wake. What gives?
[Google Pixel 5a] Reechings:
What are you talking about? He improved it and is available in the OP.
[Google Pixel 5a] Techguy777:
Thanks for responding I tried it on my PC on Chrome browser and it said sorry file not available and then now I tried to get on my phone and it loads up your Google drive and downloads it so I'm not sure why that is but thanks.
[Google Pixel 5a] meiskam:
bug report for MENU button feature: depending on the mode, it's affecting non-hold behavior. when it's on menu mode, it requires 2 button taps to switch apps, when in open app mode it requires 1 button tap to switch apps.

1 tap normally opens app switcher, 2 taps normally auto switches to most recent app. with MENU mode on it requires twice the amount of taps

video showing:
[Google Pixel 5a] nijel8:
@meiskam

Confirmed, working on it...
[Google Pixel 5a] nijel8:
xPixel updated, please redownload from OP:

- fixed RECENT button ignoring first tap when in longpress MENU mode (thanks @meiskam for reporting the bug)
[Google Pixel 5a] meiskam:
update fixes it for me, thanks
[Google Pixel 5a] Typhus_:
I can confirm that it's working with Addon Features module. Just tested it right now.

:)
[Google Pixel 5a] Reechings:
Is there any way of having a module or adding functionality to one of these existing ones to disable the power menu on lockscreen?
[Google Pixel 5a] nijel8:
Don't see the point...
[Google Pixel 5a] Reechings:
No worries I just like the option and it's often on custom roms. Not going to stop a smart phone thief but maybe someone that happens to see your phone laying somewhere and wants to turn it off quickly so it can't be tracked.
[Google Pixel 5a] nijel8:
xPixel module updated, please redownload from OP:

- Added option to disable 'Power off' on Lock screen if device is secured with pin, pattern or password

- Added Advanced Power menu with user selectable options:

___ Soft restart

___ Recovery

___ Bootloader

___ Fastboot
[Google Pixel 5a] Reechings:
Wow! Thank you so much was not expecting this. If there is a way to add option to restart systemui to that menu somehow would be great but I know you have already done me another solid already. Cheers!
[Google Pixel 5a] nijel8:
I actually have it on my build but didn't release it, thought nobody will be interested... Will include it next time.

Edit: OK... it's next time...
[Google Pixel 5a] nijel8:
Yet another xPixel update... please redounload from OP:

- added 'SystemUI restart' to Restart menu
[Google Pixel 5a] Reechings:
Thanks a lot! Just a heads up that systemui restart won't show up in menu unless you choose fastboot as well.
[Google Pixel 5a] nijel8:
Fixed, was checking fastboot prference... duh..., redownload from OP as usual
[Google Pixel 5a] nijel8:
xPixel updated with some bugs fixes...

- fixed SystemUI restart not showing unless fastboot is enabled as well

- fixed Advanced power menu not hiding on NavBar buttons touch
[Google Pixel 5a] foxlzl:
The download link of Double tap to wake module seems not working.. any alternative link?
[Google Pixel 5a] nijel8:
Link fixed...

BTW seems like after prolonged sleep it becomes Triple tap to wake... First tap wakes the phone, second and third turns the screen on...
[Google Pixel 5a] foxlzl:
Thank you very much! This module works great!
[Google Pixel 5a] nijel8:
xPixel updated, please redownload from OP:

- Add option to keep A12 Power menu look 'n fill for Restart submenu
[Google Pixel 5a] nickelnine:
Some really nice work here. Any chance you could add screen off animations? Or make pull down notification panel transparent?
[Google Pixel 5a] Reechings:
I'm on CRDroid 8.2 that has screen off animations and if you like transparency check out this mod. It's pretty awesome!

hoch10 in ClearLineage

Welcome to ClearLineage - a last resort for fixing Google's bad design choices. ClearLineage is a transparency mod for O, P, Q and R, and a whole OS redesign on S. Check out the GitHub repo for sources and instructions: https://github.com/programminghoch10/ClearLineage And also check out the...

t.me
[Google Pixel 5a] Reechings:
Sorry I'm on 6 Pro
[Google Pixel 5a] nickelnine:
Thanks but I'm on stock Android 12 Pixel 5 no custom 12 ROMs so far.
[Google Pixel 5a] shouk_1987:
Hello ,

Just tested it along with Aosp mods

Tried some stuff specially nav bar controls as no one did them yet before you

It is working great except that i want to choose an inapp shortcut for the hold of recents button ( app launcher from xposed edge )

Your list is only showing apps and there is no option to choose in app shortcuts

Can you add it please ?

Thanks in advance
[Google Pixel 5a] shouk_1987:
Any update from thread creator ?

I just want to activate calling a shortcut instead of an app for the long press of home button, it would save me a ton of accessibility stuff
[Google Pixel 5a] Mitezuss:
@nijel8

hi, do you have a version with only advance restart ?

Thk
[Google Pixel 5a] Slim2none4u:
Any chance xPixel is going to be updated to work with Android 13?
[Google Pixel 5a] Gymcode:
Has anyone tested if Double-Tap-To-Wake kills deep sleep?
[Google Pixel 5a] shouk_1987:
Hello @nijel8

Any chance for updates from your side as it seems abandoned

I really want to have a feature of launching shortcuts instead of apps when holding recents button on classical 3 nav bar
[Google Pixel 5a] shouk_1987:
Any chance for A13 as xPixel is vital for me for nav bar controls
[Google Pixel 5a] xdafan2015:
Is there ANY way to put this (ClearLineage) mod on my new Motorola Moto G41 that I updated to Android 12?

It is bootloader unlocked and rooted with the latest version of Magisk. BusyBox installed successfully.

I just HATE the removal of transparency in the "pull down" menu and lock screen on this phone.

If I had known about that I would've NEVER put 12 on here..... *sigh!* reminded me of upgrading Windows versions this... :-P
[OnePlus 8T Questions & Answers] Ran Doid:
Okay... I've been searching all over the net for this problem and I keep getting posts that skirt the issue. At least, that's what it seems. So I will begin and you can decide... and thanks for whatever info you can throw my way.

Brand new OnePlus 8T. I want to root it. Duh. So, Got the Tiny ADB and Fastboot package and all the rest, but the issue is with unlocking the bootloader. Other problems may appear later, but this is the issue now.

So, connect phone to PC (Windows 8.1) and the only way that ABD recognizes my phone is when the USB prefs are set to 'No Data Transfer". Yes, I have installed the proper drivers from the phone. So, when the 'No Data Transfer' is selected, ADB recognizes the phone and will issue the command, ABD Reboot Bootloader and the phone reboots to the bootloader. Nice! Unfortunately, it appears that once the phone has booted to the bootloader, it has changed the USB Prefs and now ADB and fastboot do not see the phone. Obviously this sucks. And here is the problem. As far as I know, I have ticked off on all the proper settings. USB Debugging, etc. No joy!

I found a post elsewhere that showed how to set the default USB mode and that didn't work either. My experience has been that ADB used to see the phone under the 'File Transfer' and PTP options before, but it doesn't now. I can't explain this.

So, pretty frustrated. This shouldn't be so bloody difficult. It's only a couple of commands and I have done this with other phones in the past so it's not like I have no previous experience. But I have already wasted way too much time here this go around. Anyone have an answer? I'll be your best friend!! :)

Thanks all..

R
[OnePlus 8T Questions & Answers] rogerebert:
Try nother USB C cable. Some not able to handle data.
[OnePlus 8T Questions & Answers] Ran Doid:
Thanks man... ya, I did try that to no avail.. but.. the fact that the original command works.. well. Don't think that is the problem, but thank you for taking the time to consider my problem. Cheers!
[OnePlus 8T Questions & Answers] BillGoss:
I had to install drivers for both ADB and bootloader mode. I documented what I did here: https://xdaforums.com/t/guide-another-fastboot-fastbootd-driver-guide-for-windows.4282241/
[OnePlus 8T Questions & Answers] Ran Doid:
Hey Thanks, Bill. I"ll give this a whirl and see how it goes. I'll report back after. Cheers!
[OnePlus 8T Questions & Answers] Ran Doid:
Ok, that appears to have solved the driver problem. I was able to finally unlock the bootloader and flash twrp. Now it is stuck in a boot loop.. fun fun!

I had been following this guide

How to Install Official TWRP Recovery on OnePlus 8 and OnePlus 8T and Root it

OnePlus 8 and OnePlus 8T (codename: instantnoodle/kebab) was launched in the year April and October 2020 with Android 10 and 11 respectively. Recently

www.getdroidtips.com

to root my 8T, but it appears that this fellow was missing some info? I take it ya can't just flash twrp to recovery like usual. The picture is slowly coming together.. much more complex than the last few times I have rooted phones.

So I assume that flashing twrp writes over the stock recovery.. and that leads to this crashdump mode popping up. To fix this, I will need the stock recovery.img and flash that back into place? Feel free to chime in and thanks in advance!

R
[OnePlus 8T Questions & Answers] BillGoss:
Flashing TWRP doesn't cause CrashDumps. They happen when you try to boot the system and something's not right.

You could try changing slots and then rebooting. That sometimes works (depending on what else you've done). You can do this in either TWRP or bootloader.

PS: if you use the reply button, then I'll be advised that you've posted a reply. Otherwise you'll have to wait until the next time I look to see if there's new posts in a thread.
[OnePlus 8T Questions & Answers] Ran Doid:
Alrighty! Changing the slots did bring the phone back and it is now booting properly. But if I try to boot into recovery, it fails and goes to crashdump. Any ideas? Bad twrp image??
[OnePlus 8T Questions & Answers] BillGoss:
Sorry, I've no idea about that. Try flashing TWRP again.
[OnePlus 8T Questions & Answers] Ran Doid:
Okay, well.. I'll have to figure it out then. Thanks much, Bill. Appreciate your help. Happy Holidays!
[OnePlus 8T Questions & Answers] Mickade:
Hi guys, to root the 8T it's by magisk_patched.img via magisk manager, not twrp (it's old school),

Root FR (sorry a'm frenche, and better explain to me.🥲)

since Android 11 twrp is less good ... 😐