yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 / 6X Questions & Answers] ckpv5:
AFAIK you don't have to put stock boot.img anywhere as Magisk should have a backup of the stock boot at \root\data

You just need to select uninstall - restore images in Magisk Manager to restore stock boot.img
[Xiaomi Mi A2 / 6X Questions & Answers] Benjamin_L:
Oh I forgot to say I used your images and fastboot but fastboot doesn't work currently for me so i tried to use the normal method.

Edit: Now i tried complete removal and now I am stuck on recovery screen with "no command". Fastboot is always reporting requested size more than allowed...
[Xiaomi Mi A2 / 6X Questions & Answers] ckpv5:
Don't you have the magisk backup stock boot at that location ?

Just check my current 9.6.13.0 (as example), both stock boot.img & magisk backup are same.

No idea how to fix your fastboot issue.

Shouldn't try that before restore images is done.

Sorry.. no idea how to fix it without fastboot.
[Xiaomi Mi A2 / 6X Questions & Answers] Benjamin_L:
Fixed it with another laptop. Thank you for the time
[Xiaomi Mi A2 / 6X Questions & Answers] usernome:
How did you fix it ?
[Xiaomi Mi A2 / 6X Questions & Answers] JDKerados:
FIX IT:

1 - Create a gzip archive named: stock_image_0.img.gz

2 - Put the file in your "/data" folder.

3 - GoTo "/root/sbin/.magisk" folder (is an hidden folder so you need to enable hidden files)

3 - Open file "config" and edit SHA1 string to "0". Usually that string is a SHA1 of the img file but i used "_0" so my SHA1 must be equal to "0".

4 - Now you are able to restore your stock boot image and you can do all other stuff to install your OTA Updates.
[Xiaomi Mi A2 / 6X Questions & Answers] lap0:
I needed to change that to /data/stock_boot_${SHA1}.img.gz ("boot" instead of "image") as found in Magisk sources.

Other than that it worked like a charm, thanks!
[Xiaomi Mi A2 / 6X Questions & Answers] rophiroth:
Is this info updated? im on android 12 magisk 24.7 and couldnt find those file and folders root and hidden acivated
[Xiaomi Mi A2 / 6X Questions & Answers] b_fizzle:
I'm in the same boat - I read that Magisk was supposed to autocreate a backup, if it did; it doesn't know where it went and I've tried a number of places (boot.img and gz zipped) and still nothing.

Android 12, Magisk 25.1

Thanks for any help!
[Xiaomi Mi A2 / 6X Questions & Answers] b_fizzle:
I found this website:

fix-magisk-stock-backup-does-not-exist.md

GitHub Gist: instantly share code, notes, and snippets.

gist.github.com

I will post the edits I had to make below, but for the original, see the website.

** Load up Command Prompt on Windows**

# put stock boot.img into /sdcard/boot.img

# get sha1

adb shell

su

SHA1=$(cat $(magisk --path)/.magisk/config | grep SHA1 | cut -d '=' -f 2)

# repack boot.img.gz

gzip -9f /sdcard/boot.img

# restore backup

mkdir /data/magisk_backup_${SHA1}

mv /sdcard/boot.img.gz /data/magisk_backup_${SHA1}/boot.img.gz

chmod -R 755 /data/magisk_backup_${SHA1}

chown -R root.root /data/magisk_backup_${SHA1}

I was able to follow the guide to update from there, though to be fair, it's still "optimizing". Crossing my fingers.
[Xiaomi Mi A2 / 6X Questions & Answers] ZerkerEOD:
This wanted me today on the Nothing Phone 1. Thanks so much!
[Xiaomi Mi A2 / 6X Questions & Answers] v.konvict:
1.Create a gzip archive named: stock_image_0.img.gz

Guys how are you making this gzip.what application are you using or is just renaming the boot.img file to that.
[Xiaomi Mi A2 / 6X Questions & Answers] JustinChase:
Magisk is refusing to allow superuser rights when I type su. I believe I have allowed apps and adb in magisk, but it's denying the su request.

how to get past this?
[Xiaomi Mi A2 / 6X Questions & Answers] b_fizzle:
That set of instructions didn't work for me - the one below that did (I'll quote it here):
[Xiaomi Mi A2 / 6X Questions & Answers] b_fizzle:
Honestly, I'm not sure. It sounds like ADB Debugging may not be enabled on the phone's Developer Settings(?)
[Xiaomi Mi A2 / 6X Questions & Answers] v.konvict:
I fixed the problem with just making sure i root my phone by letting magisk patch the boot image as it backs up the stock one while making the patched one.
[Xiaomi Mi A2 / 6X Questions & Answers] JustinChase:
I dug a bit deeper and discovered that shell was disallowed from within Magisk for some reason. I have no recolleciton of it asking me, but once i enabled it in magisk, I was able to su in a prompt and get my problem solved.
[Xiaomi Mi A2 / 6X Questions & Answers] simona70:
I have backup boot.img in

/data/magisk_backup_60dcda9942c4926a9e1d4b2927840de892ab4f64/boot.img.gz
[Xiaomi Mi A2 / 6X Questions & Answers] Soul__Snatcher:
If you have your firmware scatter file and stock boot image you can also restore the stock boot image with Flash Tool then reflash the Magisk boot image with Fastboot.
[Wing, P4350 General] detox702:
Hi. Does anyone know where I can get an HTC Herald? I want something that is different. That not everyone else has. I have looked on Ebay and CL for it and can't find one.
[Wing, P4350 General] duprade:
There are plenty of sites out there that sell them. I know of a company called expansys that sells HTC products in the US
[Sony Xperia T2 Ultra] koshi9172:
Can someone upload D5303_19.0.1.A.0.207_MY stock rom?
[AT&T Samsung Galaxy S7 Questions & Answers] cppc:
When I do video call, e.g., using Whatsapp, the phone is getting very hot up to the point that it doesn't read the SIM card anymore and refuses to charge. Can I do anything about this? I'm currently on Android 8.0.0 RH1. Thanks a lot!
[Samsung Galaxy S7 Edge Questions and Answers] Zero.G:
I want to be able to swipe away voicemail notifications like in some custom roms (I remember Cyanogen could do this). I'm using Batman rom (this is mostly touchwiz untoched) and I have xposed.

Is there a way to get the Cyanogen behaviour, meaning that the voicemail notification don't be persistent?

I know you can disable voicemails entirely, but I do use them, and it's a pain to enter and delete them every time I get one. I also know that you can go to phone app and delete cache to get rid of the notification, but this is also a pain.
[Asus ZenFone Max Pro M1  Questions & Answers] _uchihaitachi_:
Hey guys i just updated to firmware 327 from 326.. I am using fully stock rom with locked bootloader.. I wanted to unlock bootloader but was unable to do so.. Whenever I try to run the unlock.bat file the black cmd screen remains stuck and nothing happens.. Plz help me i wanna try few roms so help me to unlock bootloader :) (6gb variant):eek:

Is this because of the latest firmware?? :(
[Asus ZenFone Max Pro M1  Questions & Answers] andriyhar:
Hi.

Link for official unlock tools

Look on the Driver & Tools

Version UnlockTool 2018/05/04548.6 KBytes

Unlock Device App: Unlock boot loader

Notice:

Before you download, install, and use the Unlock Device App you acknowledge and assume complete risk to the quality and performance of this App,

including but not limited to the following: once you activate the App you will not be able to recover your
[Asus ZenFone Max Pro M1  Questions & Answers] _uchihaitachi_:
Bro official unlocking method will void warranty even after i relock my bootloader later right? So i wanna do it the unofficial way so i can relock bootloader and go back to stock if I wish and would get ota updates :(
[Asus ZenFone Max Pro M1  Questions & Answers] baunthiyal:
I unlocked my boooader after updating to 327.

Is your phone detected in Fastboot mode?
[Asus ZenFone Max Pro M1  Questions & Answers] _uchihaitachi_:
Yes it's detected.. Bt the black cmd screen gets stuck while unlocking :(
[Asus ZenFone Max Pro M1  Questions & Answers] _uchihaitachi_:
Any solution guys plz need help :(
[Asus ZenFone Max Pro M1  Questions & Answers] ujilraj:
try using cmd prompt in administrator mode....
[Asus ZenFone Max Pro M1  Questions & Answers] _uchihaitachi_:
Tried already bro nothing works :( i read somewhere that windows 10 have issues to unlock bootloader and everything works fine with windows 7.. But this thing doesn't make any sense according to me :/
[Asus ZenFone Max Pro M1  Questions & Answers] baunthiyal:
Well, I am not an expert in this. It should just work. And the Windows 10 thing is absurd. I am using Windows 10. Plus, development mode is not enabled in my laptop.

Credits to the following -

@Sudeep Duhoon for this guide - [UNLOCK/RELOCK] Bootloader Unofficailly and Flash TWRP+Root

ASUS for phone, drivers, rom, this and that

Mod edit. Link removed. Reference: https://xdaforums.com/one...rward-t3765018

@Saktis_STi for raw factory rom

@Shivam Kumar Jha for fixing the script

@Sujeet Ranipa for drivers link

@esashwin for testing
[Asus ZenFone Max Pro M1  Questions & Answers] baunthiyal:
Use unlock.sh instead of unlock.cmd

If the phone is indeed detected in fastboot mode using

fastboot devices

, try running the script from unlock.sh instead of unlock.cmd.

I have not been unable to flash fastboot stock ROM from this laptop using the .bat file but for some reason, .sh file works fine.

Just install Git on windows. It will give you a wrapper to run shell scripts on your windows machine (Git BASH).

Again, I am not an expert. This might not work but at least it won't corrupt anything.
[Asus ZenFone Max Pro M1  Questions & Answers] yuvatheja:
This happened to me as well, its problem with your pc(i mean drivers or just your os or maybe the usb ports, use 2.0 ports preferably) i have two pcs with windows 10 installed in both. One is updated and the other outdated. It failed in my updated pc, tried all methods like install, uninstall drivers, disabled driver signing, used different cables, used different usb ports 3.0, 2.0 but nothing worked. Atlast i gave it a try with my outdated windows 10 pc. It worked liked a charm. It has something to do with the drivers i suppose. Try in a different pc it might just work right for u as well
[Asus ZenFone Max Pro M1  Questions & Answers] iamfarhanansari:
Try anyother pc

Many users solved unlock problems by changing pc
[Asus ZenFone Max Pro M1  Questions & Answers] _uchihaitachi_:
Ok bro thanks for help.. Will try on another pc coz my pc has only 3.0 and 3.1 ports ?
[Asus ZenFone Max Pro M1  Questions & Answers] _uchihaitachi_:
Ok bro thanks for help
[Asus ZenFone Max Pro M1  Questions & Answers] Nithinsunny:
Phone is not detected.

I have this same issue my phone is not detected.

Please help.
[Asus ZenFone Max Pro M1  Questions & Answers] Kaushal0568:
I too have same problem

C:\>cd unlock

C:\unlock>fastboot devices

J7AAGF02D693CWW fastboot

C:\unlock>unlock

------------------------

Begin fastboot flashall

------------------------

Earse Data: Yes

Support All device
[Asus ZenFone Max Pro M1  Questions & Answers] binuraj82:
Solution to unlocking bootloader where screen blacks out on flashing

I had the same issue, after reading to many webpages, stumbled on this official unlock tool apk. Once the bootloader is unlocked using the app, the phone reboots into ASUS UNLOCK MODE with device status as unlocked and message to restart the phone. Heres the catch this is already the fastboot mode so flash TWRP at this stage. If you restart the phone in fastboot before flashing twrp, on running the flash cmd the screen of your phone would black out with a message "press any key to shutdown". Hope this helps.

unlock tool apk
[Asus ZenFone Max Pro M1  Questions & Answers] skrfffe1:
then how do I install that official unlock tool in fastboot mode. since I can only access CSC FASTBOOT MODE.
[Android Q&A, Help & Troubleshooting] SaidJan:
Hi,

My device is LG G5 android Oreo stock ROM. rooted with Magisk17

I don't know what I did (maybe with Lucky Patcher), but I can 't neither update any apps from google play, nor install from APK files.

I've tried these and none of them worked:

1-Remove and add google account

2-Clear data for package installer, download manager, google play services, and google play store. and force stop them.

3-Reboot device.

4-Flash GAppsPico.zip from recovery.

5-Restore an app from Titanium backup.

6- Uninstall lucky patcher (and now I can't restore it with TB)
[Android Q&A, Help & Troubleshooting] KIBS2173:
Try this

Hi there,

Have you tried reinstalling the whole Firmwarre
[Android Q&A, Help & Troubleshooting] SaidJan:
Yes, I've reflashed the rom zip file and didn't work (without reset factory)
[Android Q&A, Help & Troubleshooting] xanthrax:
Lucky Patcher talk / assistance / share it is not allowed on XDA , find help elsewhere please, anywhere but here.

Forum Rules

Thanks for understanding

Dan - forum moderator

thread closed
[OnePlus 5T  Accessories] Tantin:
Hello, I'm basically looking for a leather case in the iPhone X style. https://goo.gl/images/3yiApC

No stitching, not a flip case, preferably not a tpu case with "leather" coating. Seems impossible to find.

Any ideas?
[OnePlus 5T  Accessories] Medvosteri:
Closest i could find on aliexpress:

" KSQ For oneplus 5t case cover one plus 5t back cover vintage PU leather men business shockproof case coque oneplus 5 t case

https://s.click.aliexpress.com/e/bi66SKqH "
[OnePlus 5T  Accessories] nick_sixx:
I'm looking for exactly the same thing - any new ideas on where to find?
[Tasker Tips & Tricks] Chandler Muriel Bing:
Hi everyone I'm trying to make a task which will delete a folder in /system/app/ folder but Tasker always gives me error 1 when I try to perform action. I already tried to mount /system rw with Tasker remount action but didn't helped. Also Tasker's file explorer seems like can't see root folders so I have to write path manually so I think it's may be Tasker related problem and I give every permission Tasker asks for solve this but not worked. It's already have root, modify system, usage access permissions.

Running Android 8.1 LOS 15.1

Here is the error log;

08.30.27/FileUtil nrda: need request: /system/app/BasicDreams: false
08.30.27/E checkSDPath: /system/app/BasicDreams useRoot: true there: true file: false dir: true
08.30.27/E Delete Directory: checkSDPath: /system/app/BasicDreams useDocFile: false
08.30.27/Shell runSync test -e '/system/app/BasicDreams' root: true timeout: 3000
08.30.27/Shell have process
08.30.27/Shell write cmd: test -e '/system/app/BasicDreams'
08.30.27/Shell start process timeout timer 3000ms for: test -e '/system/app/BasicDreams'
08.30.27/Shell start process-thread ID 559
08.30.27/Shell joined with 559
08.30.27/Shell exit result: 0
08.30.27/Shell non-null timeout
08.30.27/Shell runSync test -f '/system/app/BasicDreams' root: true timeout: 3000
08.30.27/Shell have process
08.30.27/Shell write cmd: test -f '/system/app/BasicDreams'
08.30.27/Shell start process timeout timer 3000ms for: test -f '/system/app/BasicDreams'
08.30.27/Shell start process-thread ID 561
08.30.27/Shell joined with 561
08.30.27/Shell exit result: 1
08.30.27/Shell non-null timeout
08.30.27/Shell runSync test -d '/system/app/BasicDreams' root: true timeout: 3000
08.30.27/Shell have process
08.30.27/Shell write cmd: test -d '/system/app/BasicDreams'
08.30.27/Shell start process timeout timer 3000ms for: test -d '/system/app/BasicDreams'
08.30.27/Shell start process-thread ID 563
08.30.27/Shell joined with 563
08.30.27/Shell exit result: 0
08.30.27/Shell non-null timeout
08.30.27/E Delete Directory: checkSDPath: /system/app/BasicDreams ok true
08.30.27/Shell runSync rm -r -f '/system/app/BasicDreams' root: true timeout: 7000
08.30.27/Shell have process
08.30.27/Shell write cmd: rm -r -f '/system/app/BasicDreams'
08.30.27/Shell start process timeout timer 7000ms for: rm -r -f '/system/app/BasicDreams'
08.30.27/Shell start process-thread ID 565
08.30.27/Shell joined with 565
08.30.27/Shell exit result: 1
08.30.27/Shell non-null timeout
08.30.27/E One or more failures deleting /system/app/BasicDreams.
08.30.27/E result: stop task (error)
08.30.27/E Error: 1
08.30.27/MacroEdit action finished exeID 1 action no 5 code 408 status: Err next 5
[Tasker Tips & Tricks] ktmom:
Could you export and post the description (not XML) of the task foot this please.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Tasker Tips & Tricks] ktmom:
OK, I can run that exactly as written without trouble on my device (not running on LOS).

What root are you using? LOS superuser or Magisk?

I don't think it's an SELinux enforcing issue because I am enforcing and it works. But, you could try setting SELinux to permissive just to test. Run a shell action as root "setenforce 0" for permissive and "setenforce 1" for enforcing. If you want to flash which mode you are in, use a shell action: "getenforce" as root and make sure to assign a variable to the "store output in" field. Then flash that variable. It will return enforcing or permissive.

My last thought is to try the command in a terminal and see if there is any enlightenment as a result.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Tasker Tips & Tricks] Chandler Muriel Bing:
I'm using Magisk v17.1 and I don't think this issue is root related, but I'm gonna try SELinux mode and post result here thanks!
[Tasker Tips & Tricks] Chandler Muriel Bing:
SELinux didn't worked... But I assume I found issue issue is Tasker can't mount system rw, for test it I used terminal and type command; "mount -o rw,remount /system" command worked without error then write that command; "rm /system/app/BasicDreams/BasicDreams.apk" terminal asks yes or no typed y and gived error read-only system...
[Tasker Tips & Tricks] ktmom:
I'm not familiar with LOS, but it's possible the boot.img (kernel) doesn't permit remount. Maybe someone in your rom thread could help.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Tasker Tips & Tricks] Chandler Muriel Bing:
Actually I think I solved this, there is a system mirror folder in /sbin/.core/mirror/ which contains exact same files on /system/ so I tried to create a file there and it's created on /system/ too and deleted it guess what? IT'S DELETED ON /system/ TOO :) so I changed every action on Tasker to /sbin/. core/mirror/system/... and worked! So like you said before it's related with Magisk's systemless specification. Thanks again ?
[Tasker Tips & Tricks] Chandler Muriel Bing:
Now Tasker can't change /sbin folder too ?
[Google Pixel 2 XL Questions & Answers] rectangularspace:
Guys I need your help and I’m desperate to someone get me to the right dirrection.

I just got a pixel 2 xl, I unlock the bootloader and root with twrp. I try to install a lineage os rom with the gaps and it looks like everything when the well. I erase the cache and free I reboot it went back to the bootloader screen. From that point I have been spending all day trying to get back to factory or at least trying to install any other rom with out any luck. It someone can help me out I will be more than happy to send a Starbucks card or something. I just got the phone,
[Google Pixel 2 XL Questions & Answers] rectangularspace:
I forgot to mention that when I try to use the and side load it says something about the e drive, like if there es no drive on my phone
[Google Pixel 2 XL Questions & Answers] Badger50:
Do you know and understand how you use fastboot or the Deuces script to flash factory images to return you to stock OS?
[Google Pixel 2 XL Questions & Answers] rectangularspace:
Well not really. But I follow many instrucciones from differents post and nothing
[Google Pixel 2 XL Questions & Answers] Badger50:
Read over this thread. Then let us know if you need help. https://xdaforums.com/pixel-2-xl/how-to/quick-2xl-upgrade-reference-8x-oreo-to-t3826330/post77530335

Also, if you have twrp installed, you can flash the OTA zip that corresponds to your current OS version :good:
[Google Pixel 2 XL Questions & Answers] rectangularspace:
I do have twrp installed the problem is that I don’t have the zip on the phone to install the ota file.
[Google Pixel 2 XL Questions & Answers] PsychOlli:
Try with deceus Script (Just search for it) and select repair bootloop. It will download the factory Image and flash it on a and b partition then your phone will boot again. But your data will be lost :/
[Google Pixel 2 XL Questions & Answers] rectangularspace:
Ok., I will let you guys know thank you
[Google Pixel 2 XL Questions & Answers] rectangularspace:
Also, I forgot to mention that it looks like that I don’t have a OS installed ( twrp is telling me that every time i try to get out to the get out of the twrp menu. At this point i haven’t don’t anything mention in this post because I’m resetting my computer nd I’m installing right now the android sdk software.
[Google Pixel 2 XL Questions & Answers] Curiousn00b:
You don't have to install the full Android SDK software for the job you're trying to do. You can download the latest Fastboot commands and ADB through Google, or even XDA(somewhere).

I've installed adb to my Windows commands, so once in recovery, when I need a file, I just "adb push file.zip /sdcard/".

No worries though. You'll be back up and running. ?

Edit: Also, if you still have data on your phone, you can check using the file explorer on TWRP. If you do, you can adb pull anything you want to keep.
[Google Pixel 2 XL Questions & Answers] v12xke:
[MENTION=2900055]rectangularspace[/MENTION] Link to the standalone platform tools HERE. This is all you need.
[Google Pixel 2 XL Questions & Answers] rectangularspace:
Guys. It's working now. I follow the instructions and when I execute the batch I notice that it was missing some files but it did worked, I was able to start over. One thing I notice is that play store was not updating the apps , I had to reboot a couple of times even force stop play store and it looks like is working. I was gonna ask, it's been a long time since I was in Android, if I decide to update to os 9 (pie) if I don't like it, can I downgrade to any previous OS?
[Google Pixel 2 XL Questions & Answers] TonikJDK:
Yes, but going down from 9 to 8 will cause/require a data wipe.
[Google Pixel 2 XL Questions & Answers] v12xke:
Why did you decide to install Oreo?? There will be no further security or functionality updates for 8.1. The next monthly update to Pie should be the first Monday of next month (October 1st) if you don't get a OTA nag before then.
[Google Pixel 2 XL Questions & Answers] rectangularspace:
I have the update available to install on my settings. But what I'm looking for is to start over on rooting my pixel 2 xl. But after last experience I'm a little conservative when it comes to mess with the phone. I'm reading right now the post where it says to do the critical unlock for the phone but I don't know witch bootloader version I have. Can you guys help me out
[Google Pixel 2 XL Questions & Answers] rectangularspace:
I have tmz10n version on my bootloader. It means that I need to do the critical unlock? By the way I did already unlock my bootloader and i Haven lock it again. And I think at some point when I was having trouble with my phone to put it back to run I did also the critical unlock process.
[Google Pixel 2 XL Questions & Answers] v12xke:
You only need to do the unlock process one time, BUT there are two separate unlock commands which include unlock_critical. If in doubt you can use fastboot device-info or getvar to check the current status. Make sure you are using the latest version of the platform tools I linked to above. One word of caution... don't EVER re-lock your bootloader or you WILL run into problems. Even if you are returning the phone to Google for RMA you do not need to re-lock it.
[Google Pixel 2 XL Questions & Answers] rectangularspace:
My bad, after unlock my bootloader I haven't look back again. So it is unlock right now. Thank you for advised. For what I read the only way to unlock it it will be by running the command fastboot right? If I upgrade to pie using the upgrade available in my settings right now, it will not lock the bootloader right?
[Google Pixel 2 XL Questions & Answers] rectangularspace:
I meant the only way to lock the bootloader will be thru a fastboot command.