yashsingh1/xdaforums huggingface dataset:
[LeEco Le 2 Guides, News, & Discussion] ThE_MarD:
Heyyo [MENTION=5543186]etijer[/MENTION] , formatting with fastboot will completely wipe out all user data including any downloads or extra files on the device. Performing a full wipe and installing the ROM from scratch is optional but I'd recommend it to avoid any issues from a formatted user data partition.
[LeEco Le 2 Guides, News, & Discussion] niyaziwaqar:
Or maybe you could just delete locksettings.db from /data/system and then look for a workaround.

Might save you the hassle!
[LeEco Le 2 Guides, News, & Discussion] kaew158:
How to delete locksettings.db when it screen locked?

First time locked, I fixed by fastboot format -w userdata and try aosp/crdroid/hovac last build then screen lock again. Yesterday I just format userdata again.)
[LeEco Le 2 Guides, News, & Discussion] E44O4:
Just reboot to recovery mode select advanced option there u can access file manager then just follow the path i.e. /data/system/locksettings.db and delete it.... now reboot the rom...Now when u swipe it will normally unlock ur phones.....
[LeEco Le 2 Guides, News, & Discussion] kaew158:
Thank you.
[LeEco Le 2 Guides, News, & Discussion] E44O4:
Welcome Bro
[LeEco Le 2 Guides, News, & Discussion] niyaziwaqar:
Even after deleting it, it might happen again after some reboots and you have to re-delete it. It happens in most of the pie ROMs.

The fix with fastboot provided in this thread is permanent and I believe the only solution. Though it didn't worked for me. I must be doing it wrong.

Might work for you.
[LeEco Le 2 Guides, News, & Discussion] unclee:
Hi can I do this fix without PC? tia
[LeEco Le 2 Guides, News, & Discussion] ThE_MarD:
Heyyo [MENTION=10007938]unclee[/MENTION], try this I guess https://xdaforums.com/showthread.php?t=2033722

If that doesn't work? Please search XDA or Google for other potential solutions.
[LeEco Le 2 Guides, News, & Discussion] unclee:
I mean can I format userdata on twrp on my le 2 instead of using fastboot to format it on PC ?
[LeEco Le 2 Guides, News, & Discussion] unclee:
So can I fix this bug using the devices recovery without using a computer? Userdata as in internal storage?
[LeEco Le 2 Guides, News, & Discussion] ThE_MarD:
[MENTION=10007938]unclee[/MENTION], you can try via only TWRP but from my tests in the past it did not solve it as it never restored the encryption footer. Only the fastboot format command restored the encryption footer for me.
[LeEco Le 2 Guides, News, & Discussion] Cleezy:
If I were to use this command "fastboot format userdata"? Will it erase my Internal Storage or Media? Or just the Data /System ? And If I decided to format via TWRP what partition will I format should I check the Internal Storage or just data System?
[Samsung Galaxy A8 (2018) Questions & Answers] Robert978:
Calendar app doesn't sync any more with google account, did anybody have the same issue?

solution?
[Samsung Galaxy A8 (2018) Questions & Answers] Robert978:
found the solution myself ... I had to install google calendar app

the S8 had the same issue
[Moto Z2 Force  Questions & Answers] NewPoow:
Hello, my Moto Z2 Force, XT1789-5, is with android 8 and I already tried methods to put it in Qualcomm mode, but I did not succeed.

Every time I execute options to activate the mode, it simply restarts and enters the system. As the system is bricked, I can not use the device, the bootloader does not unlock.

I would like to know how it is possible to put it in the Qualcomm 9008 mode?
[Moto Z2 Force  Questions & Answers] 41rw4lk:
What commands are you running? Does it boot to OS or not? (You said it enters system, then say it's bricked, kind of confusing) Can you enter the bootloader?
[Moto Z2 Force  Questions & Answers] NewPoow:
Excuse me.

My device is with bricked software after trying a stock recovery, the wifi and mobile network, do not work.

Another problem is that the bootloader is locked.

I access the bootloader, I can send commands using "fastboot.exe", but it does not let you restore a rom because the OEM is locked.

I try to unlock OEM but a message appears asking to enable unlock in: Settings> Development> Unlock OEM.

I do not have access to this option, it always gets gray.

- What commands are you running?

Using Fastboot_edl-v2: "fastboot.exe reboot-edl"

I also used the QFIL, with the device in Qualcomm 9092 mode, so that it can enter automatically.

- Does it boot to OS or not? (You said it enters system, then say it's bricked, kind of confusing)

I enter the OS

- Can you enter the bootloader?

Yes

Thank you
[Moto Z2 Force  Questions & Answers] 41rw4lk:
If you can enter the bootloader then issue the command 'fastboot oem blankflash' w/o quotes. That will get you to edl mode, optionally if you can boot to system and have adb enabled, you can issue 'adb reboot edl' w/o quotes. Don't use an edl modified fastboot either, just regular fastboot that you use to flash with is fine.
[Moto Z2 Force  Questions & Answers] NewPoow:
When I try this command, I get this output:

C:\adb>fastboot.exe oem blankflash
...
(bootloader) Command Restricted
FAILED (remote failure)
finished. total time: -0.000s

C:\adb>
[Moto Z2 Force  Questions & Answers] 41rw4lk:
I'm not sure about what versions of fastboot or adb you're using, so grab the flashall utilities zip from here, unzip it to its own folder, open the folder, hold shift + right click to open a command window here, then try to issue the command. What about adb? Is it enabled? Can you issue that command?
[Moto Z2 Force  Questions & Answers] NewPoow:
When I run the command to check a version I get:

C:\adb>fastboot.exe --version
fastboot version 0.0.1-4500957
Installed as C:\adb\fastboot.exe

I already tried other versions, and it's always the same, the error persists.

- What about adb? Is it enabled? Can you issue that command?

I can not use it, just restart the device.
[Moto Z2 Force  Questions & Answers] 41rw4lk:
Were you on a custom rom before? How did you get to the state you're in? Can you run 'fastboot getvar all' and post the output -minus personal info like imei? Might be obvious, but have you tried to factory reset?

The command restricted is a little weird, usually you just get a straight up permission denied. Have you tried flashing the latest flashall for your variant? What about the lenovo smart assistant tool, have you tried to use it to flash a clean build?
[Moto Z2 Force  Questions & Answers] 41rw4lk:
This is kind of why it's advised not to relock the bootloader, when things go wrong it leaves you no wiggle room to flash anything. I would remove any screenlocks then do a 'fastboot -w' to format user data, 'fastboot reboot recovery' and do another factory reset. Reboot, connect to internet, sign into google and see if oem unlocking comes back. If not, make sure adb debugging is on and try to issue 'adb reboot edl'. If that doesn't work, make sure you have the latest flashall for your variant (look on the phone by the charge port). Try to flash the flashall, if no go, at least see if you can flash the gpt.bin and the bootloader. Whether it works or not, 'fastboot reboot bootloader' and try to issue the 'fastboot oem blankflash' command again.

If all else fails, the only thing I can think of is to find a way to brick the phone so it throws itself into 9008, then you can at least blankflash and get back to a clean slate. Between the hybrid rom and locked bootloader, you're up against it. Maybe someone else around here can chime in with some suggestions, but this scenario is difficult to recover from.
[Moto Z2 Force  Questions & Answers] NewPoow:
The alternatives you said have already been tried.

I wanted to put it in Qualcomm 9008 mode, but I do not know how.

Thanks for the help here.
[Moto Z2 Force  Questions & Answers] andrecesarvieira:
I have the same problem. I've tried erything, but no sucess. The only solution is wait for next update and flash it.

Amigo, estou com o mesmo problema, alias, pior, porque no meu parou de funcionar o wi-fi, bluetooth e rede de celular. O sistema sobe, porém não consigo fazer absolutamente nada. Já estou pesquisando há um mês e tentei várias coisas. Você está tentando fazer o blankflash, porém aconselho a não fazer, pode danificar permanentemente. A solução é aguardar a próxima atualização, que pode ser o Android Pie ou apenas mais uma atualização de segurança, baixar e fazer o flash em modo fastboot.
[Moto Z2 Force  Questions & Answers] NewPoow:
Do you have any OTA updates? because mine is in an OPXS27.109-34-15 version.

Flash through fastboot does not work with OPXS27.109-34-17
[Moto Z2 Force  Questions & Answers] andrecesarvieira:
try this

https://mirrors.lolinet.com/firmware/moto/nash/official/RETAIL/
[Moto Z2 Force  Questions & Answers] OLDWhite:
thank you for the code,i successed puted into edl mode,A new problem has arisen.

[ 0.001] Detecting device

[ 34.008] ERROR: sahara_greet_device()->change_mode()->do_hello()->IO error

[ 34.009] qboot version 3.85

[ 34.009] name = "\\.\COM10",

[ 34.009] flags = "0x64",

[ 34.009] addr = "0x28FD74",

[ 34.009] api.bnr = "0x5B2898",

is this driver problem?this is my thread.

https://xdaforums.com/z2-force/help/help-blank-flash-failed-xt1789-3-t4011777
[Moto Z2 Force  Questions & Answers] 41rw4lk:
Your log snippet says IO error, so either you need the qualcomm diag drivers, or you need to use another port on your pc. Win 10 can be finicky since you have to give special permission to everything, so use win 7 if possible. It wouldn't hurt to make sure you're using up to date adb/fastboot files either.
[Moto Z2 Force  Questions & Answers] Dany XP:
Make sure u r using USB 2.0 ports.
[Blade General] xxMoon:
I have here, two packages.

The twrp one is meant for those who have already flashed twrp, the other is for first time root via EDL.

Both flash System RW, updated TWRP and magisk.

:D:D:D:D TWRP package will not wipe Data, You will loose no data :D:D:D:D

NOTE - You may have to mount the system RW.

NOTE - The above will be fixed via a future custom rom.

Without further ado, here are the instructions.

Initial Root Instructions

Prep: You must have a Pin screen lock set on your device to prevent data loss.

On your phone go to

Settings>Security>Screen Lock>PIN

and set a pin.

USB Debugging and OEM Unlocking have to be enabled to make this work.

On Your phone go to

Setting>About phone

Then tap on build number 10 time to unlock Developer Settings

Now go to

Settings>Developer Options

Then toggle usb debugging and oem unlocking.

1. Download this package B20 Via QFIL

2. Unzip the file to your desktop.

3. Right click on RunasAdmin_TestSignON.bat and run as administrator.

4. Let your machine reboot.

5. Run Run This.bat

6. Install everything it tells you to install.

NOTE Select WWAN-DHCP when asked

7.

RTFM

and flash

(All the files your need for qfil are in the B20 Folder!!!!)

8. Profit

Then

9.Press and hold Vol+ and Power

10.Once the ZTE screen shows, let go of power while continuing to hold vol+

This will get you into twrp

11.Plug you phone into your computer and from your adb directory, run these commands.

12.adb shell

13.setenforce 0

14.exit

Now on your phone, in twrp

15.Swipe to allow midification

16.Tap Backup

17.check data

18.tap select storage

19.Select microsdcard

20.tap ok

21.Swipe to backup

22.Tap home

23.Tap wipe

24.Tap Format Data

25.Enter yes and tap the blue checkmark

26.Tap home

27.Tap Power off

28.Turn your phone on.

For those who have TWRP already on their device, follow these instructions.

1. Download this package. B20 via TWRP

2. Extract it to your desktop

3. Run "Flash full B25.bat"

4. Profit

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

Update 5/253/19

Updated boot.img z982_boot_magisk.img

Update Magisk root "Already obsolete"

Fixes ADB not authorized issues

Update twrp recovery.img z982_recovery_twrp.img

Fixes selinux enforcing related issues related to /data folder

Fixes backup related issues

Fixes zip install related issues
[Blade General] Unssin:
Do you think this will work with my hard bricked phone?
[Blade General] evtoofly:
so if our system is still ro, all we have to do is mount rw every time? I was hoping that we would only need to mount it like one time, because im basically doing the same thing I was doing before.
[Blade General] Unssin:
https://drive.google.com/file/d/1YsOFbKcca2GTc6K77vD6-hh4qtk5O3mv/view?usp=sharing

test this. you might need to rename the zip file to bootanimtion.zip.
[Blade General] evtoofly:
will do. are all the files already in place.

bootanimation worked, but sound still didnt
[Blade General] Unssin:
Upload the build.prop
[Blade General] xxMoon:
As long as you get the driver working, it should no problem.
[Blade General] Unssin:
Im thinking about reinstalling windows. Do you think i should give it a try?
[Blade General] xxMoon:
I would.
[Blade General] Matthew702:
Before you reinstall.. if ur able try on another PC.
[Blade General] JasonSec:
Appreciate the update, same problem as before though RO /system and a mount -o rw,remount /system command results in the phone freezing and then restarting.
[Blade General] evtoofly:
thought I was the only one, I just stopped trying, if I need to go mount rw, i just use root explorer . Even that freezes sometimes though smh. Some people just got it better than we do
[Blade General] AjtheLAF:
B25

Hello sir,

My phone is running B25. Will this cause issues? Do I need to downgrade?
[Blade General] Emerl:
No issues for me.
[Blade General] evtoofly:
Did your system become rw?
[Blade General] Emerl:
I use ES File Explorer. Open the app, wait for su to grant it access, then change the system to RW. I've noticed that the phone will freeze if I tried to switch to RW before the File Explorer was granted su access.
[Blade General] evtoofly:
I noticed that too. I also tried to see if root explorer would mount rw after I used es to mount rw, and it turns out that u still have to mount system separately in both file managers. Bummer because I was looking for a way to always have my system mounted as rw between both file managers.
[Blade General] Emerl:
I'm guessing once a custom rom is available, the whole system RW situation will be situated. Is there an advantage of root explorer over es explorer?
[Blade General] evtoofly:
I personally use root explor to chmod files, I dont think es can do it, however es has its own perks as well, so I just keep both just in case
[Blade General] xxMoon:
Lol, actually you can put init.d scripts in /sbin/.magisk/img/.core/service.d/ and they will do it on boot.

Try my attachment.

I
[Blade General] xxMoon:
Back em all up. Tap select storage and choose sdcard.
[Blade General] Guestposter:
Did but it still failed, is my sd card just to small? (mine is a 16 gig card formatted as portable). Just backed up the boot (4th time I think) though.

Did it again an this time is worked did sd card instead of sdcard, that is why it failed.
[Blade General] Guestposter:
Can confirm edxposed sandyhook does not work with this system, I had to go into twrp and delete the module manually to get my system to boot correctly.

EDIT: tried the YAHFA variant of EDxposed, it did not work either, I could try the legacy variant but I am not sure if it would work. I am to afraid to install the og xposed installer but may try since I do havr a backup thanks to twrp.
[Blade General] xxMoon:
Edit---Only for androi 7.1.1---

I went through he same crap trying to get xposed on my phone.

This is how I did it.

Here are the xposed packages.

Z982 Xposed Files

Just in case, there are two additional files, an app and an extra magisk module.

Install Live boot, make sure it works by configuring it and then rebooting.

We need this so we can monitor if xposed is working or not during boot.

Second is the magisk module "MM"

Install this from within the magisk manager.

This lets us disable modules from twrp if something goes wrong.

Install the Xposed installer apk.

Open it, give it permissions.

Install the sdk25 zip from within magisk manager and then reboot.

The initial bootup will take a few mins.

If your phone really does go into a bootloop, you should be able to see it via liveboot while its booting.
[Blade General] Guestposter:
Thanks m8, will confirm if it works for me later, luckily my android version is 7.1.1.
[Blade General] Guestposter:
I triwd restoring my phone since I forgot to give xposed root access, but every time I try to restore from the full backup it fails. I did transfer the backup to windows and renamed it so that might hace something to do with it though. Any trick to gettng the restore to work? I really hope its not because I renamed the numbered folder to z992 full backup.

Also how do you give xposed root acess? It never seems to pop up for me.

EDIT: it seems halfway through transfering the backup the to the phone it fails on both Linux mint and Windows 10, I do not know what to do now honestly.
[Blade General] xxMoon:
What is live boot telling you?
[Blade General] xxMoon:
Also, since you installed mm, while in twrp, open the terminal and run the command mm.
[Blade General] xxMoon:
Another also, turn you phone on and let it boot for 15 mins. Xposed takes a long while to initially setup
[Blade General] Guestposter:
By using mm I deleted xposed and got my phone to boot again, after this for some reaaon google apps that I deleted started reinstalling and modules did not work, after 1 reboot they went away again though, nothing seems wrong with the phone so far on boot, I am just really mad that my backup still will not transfer considering its the only full backup I have. Also how do I give the xposed app root permission before installing it in twrp?

---------- Post added at 09:21 PM ---------- Previous post was at 09:20 PM ----------

Considering the fact that you said that xposed takes 15 minutes to set up maybe nothing was wrong. But I never gave the installer root permissions so that might have something to do with it.
[Blade General] xxMoon:
All the installer does if locate Xposed. It's like a frontend for Xposed.
[Blade General] Guestposter:
so no need to grant it root access?

EDIT: gave it root access by using it to reset my phone.
[Blade General] RhayneLyte:
Quick question.

7.

RTFM

and flash

(All the files your need for qfil are in the B20 Folder!!!!)

What does RTFM stand for?
[Blade General] DenisSlob4:
Got into edl mode, but tools fail. Both the B20 and ZTE_BLADE_Z_MAX_edl failed to get me back to twrp.

B20 error:

ZTE_BLADE_Z_MAX_edl fail, this is a popup window, the main cmd window get syntax error
[Blade General] Guestposter:
Anyone know a way to reduce the ram usage on this device? I have uninstalled most bloatware that I think is safe to remove but it is still at 48-75 percent usage. Also is it possible to make a custom rom for this device now? I know the bootloader is locked but thanks to twrp we should be able to bypass that now.
[Blade General] RhayneLyte:
Could someone please answer this?

Theres nothing like this in the files, so what does this acronym stand for?

does it mean Run The File Manager?

EDIT It means Read the ****ing manual. ARE YOU ****ING JOKING? Piece of ****ing ****. You are a literal piece of ****ing ****, wasting peoples ****ing time. TYPE OUT THE GOD DAM WORDS YOU SACK OF MEAT. ban me, idgaf. If we ever meet, i'll blow your ****ing brains out of your skull. **** humans.
[Blade General] Rellik2323:
any solution to restore imei... i lost my original modem.img file in the process :(
[Blade General] Guestposter:
Installed xposed, how do I add xposed modules tho?
[Blade General] Unssin:
With Xposed installed

---------- Post added at 12:49 AM ---------- Previous post was at 12:48 AM ----------

I mean Xposed Installer
[Blade General] Guestposter:
Ye but the installer still says xposed is not installed.
[Blade General] Unssin:
Did you try installing it from Xposed installer itself?
[Blade General] Guestposter:
I followed xxmoon's tutorial for the systemless root , I was to afriad to nativly install xposed since in the passed I have only had bad experiences with it.
[Blade General] Unssin:
In my old Z982 I flashed it from Xposed and it worked.
[Blade General] :
LineageOS is available for this device?:confused:
[Blade General] Angelpena:
I wish? I really doubt anyone is working on a rom for this phone
[Blade General] stoag:
My serial number was changed to AYBABTUxxMoon and I can't figure out how to change it back. ..

edit: typo
[Blade General] bummercheese:
I think I've bricked my device. I've tried re-following all of the instructions from the beginning, nothing is working. I can't restore from any of my backups, it tells me "Error opening: '/data' (Permission denied)"

What it does is, it boots into the ZTE screen, but at the point it should be booting into the metro screen, it reboots into TWRP. I've tried using the B20 flash with and without the updated files, not working.

I don't have "Mount system partition read-only" checked, and I do have data mounted.

Any help would be greatly appreciated

Edit: This happened because I tried to update magisk from magisk manager, it was previously on 18.

Edit: I was able to successfully restore without the data errors, by first doing a data wipe. Might've been ignorance on common knowledge from me. But the phone still bootloops into TWRP, and these backups were 100% confirmed to be working before.

Edit: I finally figure it out. I dug through this thread and various other places, and I needed to flash system.img. It took me a while to do, but for anyone reading in the future, get the firmware (Page 12 post #116) then extract just system.img to your SD card, go to TWRP, Install, go to your SD card and it might not show at first, tap the install img button at the bottom right, and it should show up as a .img. It will then install and your phone will boot!
[Blade General] xxMoon:
Make sure you using the updated twrp otherwise, backups on internal storage wont work unless you run from your computer.

adb shell

setenforce 0
[Blade General] Lux Novicus:
Its literally just a file, not a folder, zipped folder or anything else.
[Blade General] SiIvaGunner:
anyone got any luck with any unlimited usb tethering?
[Blade General] Xpertcomputerrepairs:
Yeah I spent over a month doing everything possible with tether and this phone. I got mine now setup with system wide vpn, usb tether unlimited no caps plugged directly into my router feeding the entire house with my unlimited data.

I didn't want to rely on ANY pc software or be limited to any devices. Pdanet works fine for basic stuff what are you trying to do? ANY TETHER? I can write up a tut and all the apps needed to achieve the ideal Rock solid tethering if anyone wants but maybe we should make a new thread for that? I can post here too if you guys want. The basics are root change ttl to 65, add DUN to apn settings, Use psiphon vpn in entire device mode then vpn hotspot app. Wifi or usb.

---------- Post added at 11:36 PM ---------- Previous post was at 11:25 PM ----------

Xxmoon 1st off thank you for all the time youve put into this. Project :) I have a question though. Do you know EXACTLY what makes this phone not work with literally any USB stuff? Hardware? Kernel? Modules? Xlm, configs? I get no power out, otg, flash drives, controllers, or audio devices don't respond. I added the xml's to system and gave them the right perms installed neotg stick mount es file explorer. Made a otg cable tried a hub... nothing I really just want to use this phone for mobile studio recording and plug in game controllers. How can I acheve enabling host mode? Is there a kernel patch to allow otg or a custom rom that doesn't make the phone useless and enables full usb functionality? Also does anyone know how to dual boot ROMs on the z982 so I can test different systems out easily? Thanks!
[Blade General] SiIvaGunner:
i would love to see a dedicated thread on this