yashsingh1/xdaforums huggingface dataset:
[Lenovo ZUK Z2 (Plus) Questions & Answers] sanjay.2704:
Go to recovery from that start page .. if u can see twrp then u have twrp..

If u cannot see twrp then u don't have twrp..

Use this link.

https://androidfilehost.com/?w=files&flid=256191

The first twrp is simple non treble twrp.

Flash that... Reboot to phone.. reboot recovery.. flash factory2vendor.. after that flash the second dmg treble twrp.. reboot to recovery.. done.. now u can flash treble and non treble roms..

don't know about pie as still on oero
[Lenovo ZUK Z2 (Plus) Questions & Answers] lucasmb27:
Thanks a lot, Sanjay! It finally worked! The problem was that i needed the simple twrp at first.

I'm using pixel experience 9.0.

Thanks again!
[Lenovo ZUK Z2 (Plus) Questions & Answers] imarco.box:
Any issues with pixel 9.0?

Enviado do meu Z2 Plus através do Tapatalk
[Lenovo ZUK Z2 (Plus) Questions & Answers] lucasmb27:
Not a single one!

I've installed the rom, magisk, fingerprint fix, u-touch mod and disabled the soft nav bar. It's perfect!
[Lenovo ZUK Z2 (Plus) Questions & Answers] Axoser:
Hey, do we have to flash the factory2vendor and the treble twrp through PC or through the simple twrp?
[Lenovo ZUK Z2 (Plus) Questions & Answers] sanjay.2704:
both can be done through twrp.

first F2V and then treble twrp... reboot to twrp from twrp.. done.. ready to flash treble roms and non treble roms as well.. no need to do v2f and non treble twrp again.
[Samsung Galaxy J5 Questions & Answers] yazaaan:
how can i use VOLTE for samsung galaxy j5 prime which is bought from UAE.

Please reply this .
[Honor 6X Questions & Answers] flaviopatinho:
Good Morning. I have a Huawei H60-L01 with IMEI: 357143044689435. Android has been damaged and I can not now reset the system because I have the bootloader blocked ... I ask if someone can help me with the bootloader unlock code to get my repair telephone. Thank you in advance.
[Honor 6X Questions & Answers] galapagos:
Don't publish IMEI on the internet. It can be used inappropriately by some nasty people.
[Xiaomi Redmi Note 5 Pro Questions & Answers] furchtlos76:
I am using an Unifi security gateway and am not able anymore to connect via vpn, it did worked some weeks ago as my note 5 pro was brand new.. Thought first the problem is with one of the custom roms, but even after i did mui 10 on again it does not work, unable to connect. Still able to connect with an old samsung with the same username, password and so on... so my thought is, is it caused by the unlocked bootloader? if so, is there any trick to fix inbuild vpn?
[P3600 General] mulisha:
Ive recently had problems where when my memory card is inserted into the phone it shows no SMS or MMS option when you press the button to enter into the message area. However when i remove the memory card suddenly it reappears. Also when the memory card is inserted i receive no messages! Im using Schaps ROM, i have fully reinstalled it hopeing it would solve the problem however it has not. Any suggestions?
[P3600 General] kamijin:
Hey, i had that too when i had the trinity but it fixed itself, wish i could help you but i think someone will come up with a solution.
[P3600 General] hyuned:
I have the same problem here. I have a 4 GB micro sd in an mini sd adapter and all of a sudden my compleet card was deleted. after some resetting and playing, everything was back all of a sudden except the mail/mms/sms function.

What i did to solve it was take out the sd card and go to the sms inbox and then put back in the card. After this it was working again. Lets hope it wount come back.

Anybody else with a better solution?

Regards Hyuned
[P3600 General] hyuned:
It is back, I miss some files on my card also. and not receiving anything and the messages do come in somehow as they dont come later when its working.

Grrrrrrrrrrrrrrr..

Hope some one has a solution. :confused:
[Xiaomi Poco F1 Questions & Answers] thomas140:
Found the link that explain the way: https://xdaforums.com/red...overy-t3718203

So, in my understanding, fastboot twrp, use it to install magisk to root it.

It will remain the stock recovery and also ota update as fastboot does not flash the TWRP. Seems to be a good news to me.

If I need to install ARISE Sound System, I need to use the same way to do it too? Anyone has tried it before?
[Xiaomi Poco F1 Questions & Answers] thomas140:
Please help close this thread as I have found the answer. Thanks and sorry.
[Xiaomi Poco F1 Questions & Answers] MasterFURQAN:
Can you post the solution
[Xiaomi Poco F1 Questions & Answers] Zeggi:
I'm not sure why he didn't post the solution but this thread is similar to this one,

https://r.tapatalk.com/shareLink?ur...share_tid=3848983&share_fid=3793&share_type=t

Skickat från min POCOPHONE F1 via Tapatalk
[Xiaomi Poco F1 Questions & Answers] thomas140:
I am the Op in both this and that post, that's why I am requesting to close this thread here. sorry for the trouble.
[Xiaomi Poco F1 Questions & Answers] thomas140:
The answer is in the link here: https://xdaforums.com/poco-f1/how-t...der-custom-t3839405/post77773929#post77773929

TheHappyBuddhist quoted that "You can download the full rom from MIUI website and flash it via TWRP. You can flash an update over existing software via TWRP and no need to reinstall anything. But if you are taking an ota update (not via TWRP), then you will have to start from the scratch. FED is to be run everytime you make an update as stock MIUI will encrypt the phone otherwise. If you want your phone to be encrypted, then don't flash it - your phone will encrypt itself before rebooting. The newest FED in OP contains the newest Magisk too."

So I give up the thinking of OTA update while TWRP is available. I will go through install TWRP, then force encryption disabler and magisk. Whenever there is new update, will update via TWRP.

Steps I think to do for new phone:

1) Run OTA update to the latest version.

2) Unlock bootloader.

3) Install and boot into TWRP with keep system as read only and cancel if prompt for password.

4) Install FED and Magisk.

If to install updates over existing miui version:

1) Boot into TWRP

2) Install the updates.

3) Install FED and Magisk.

4) Clear dalvik cache and reboot.
[Xiaomi Poco F1 Questions & Answers] asin_punk:
After step number 2, do you think it will return my stock recovery? Coz there's no re-flashing of TWRP in your steps.
[Xiaomi Poco F1 Questions & Answers] thomas140:
As for my understanding, it will return to stock if you didn't flash the force encryption Disabler, that's the point to keep twrp if install the update.
[Xiaomi Poco F1 Questions & Answers] safdar kb:
If we had to flash magisk again means we will looks all data again, is it?

---------- Post added at 06:35 AM ---------- Previous post was at 06:35 AM ----------

If we had to flash magisk again means we will looks all data again, is it?
[Xiaomi Poco F1 Questions & Answers] thomas140:
Because you are flashing the update via twrp. After the flash, you are still in twrp. This is the moment you decide to keep twrp or not. If not to keep, then you can reboot as per normal and let the encryption run itself and back to stock recovery. I am not sure how will the magisk become after this.

Therefore, I will flash FED for magisk 17.3 before I reboot.
[Moto G6 Plus Questions & Answers] Devops_2014:
Please share working Moto G6 Plus moto apps for Moto Z play
[Moto G5S  Questions & Answers] sixtheninth:
So it finally happened.

After trying to flash stock firmware on my phone via fastboot it went black dead and won't even start :( It was a strange story. I wanted to root to access camera2.api, once I got there, I wanted a better switching between camera 1 and 2 and found ROOT enabler app. That somehow disabled my cameras altogether. I did factory reset only to soft brick my phone. Then I tried to flash another rom. I thought maybe getting OREO will help. Oreo disabled NFC and selfie camera. Then I did the fatal mistake of trying to downgrade flashing back to nougat = HARD BRICK.

Could anybody help me please or am I doomed for good?

Thanks

Six
[Moto G5S  Questions & Answers] vaserbanix:
use the sdcard booting method with existing img file

if the phone boot from sdcard

reboot the phone in bootloader(fastboot) and flash again the oreo rom with fastboot comands!
[Moto G5S  Questions & Answers] sixtheninth:
Thanks I was about to do that, but will the XT1795 file work on my device? Plus I don't want to go to OREO as it disables various functions for my phone. I want to roll back and flash the stock nougat rom so I can use nfc and selfie camera. Can't I just do that somehow?

Cheers

Six
[Moto G5S  Questions & Answers] vaserbanix:
you cant downgrade the bootloader!

you have to put back the oreo

you can try after oreo to install boot.img and all

system-sparsechunk files from nougat rom(your stock rom)

if it work, youre saved

if not, you have to wait for a full compatible oreo for youre phone model.

also you can try after oreo, a custom rom(cm14.1)
[Moto G5S  Questions & Answers] sixtheninth:
Oh, I kind of thought that the process of unbricking totally format all data, so I would be able to start from scratch. Each time I tried to install any other custom rom for normal montana, after flashing the phone would boot back into recovery mode. I tried Lineage 14.1, ViperOs and Ressurrection Rmx and AOKP. Always the same result. I guess that even if I'd manage to flash them I'd lose the XT1799-2 extra functions as I did with this Oreo. But anyway, you are saying that I can use bootloader 7 to install nougat over Oreo? If so would confirm exact procedure?

I would boot into fastboot and then which of these commands I will leave out?

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash dsp adspso.bin

fastboot flash oem oem.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash modem NON-HLOS.bin

fastboot flash fsg fsg.mbn

fastboot erase cache

fastboot erase userdata

fastboot erase customize

fastboot erase clogo

fastboot oem fb_mode_clear

Because this is exactly what I did to hard brick my phone, so if there is a method to do the same without bricking it I'd be grateful thousand times :D I somehow doubt that Xt1799-2 will ever get its own custom rom or oreo update.

Cheers

M>
[Moto G5S  Questions & Answers] vaserbanix:
after you flash full oreo, use only this lines from nougat:

fastboot flash boot boot.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot reboot
[Moto G5S  Questions & Answers] jvfigueredo:
Unfortunately I did the same with my phone (I installed the 8.0, first I had done without bootloader, but forgot to take the gpt, I was not able to downgrade without losing the imei, which I could not recover in any way, so I decided to install the 8.0 complete and see if it worked at least the chip) but it did not happen hardbrick the screen went black but I still hear the sound of the phone calling and I can put it in fastboot mode even without appearing anything on the screen, some method to recover? I did not even try to downgrade because I know I can make it worse :,(
[Moto G5S  Questions & Answers] sixtheninth:
I am currently in a midst transferring img to SD card, but my Rufus 3.3 does not allow me to choose GPT only MBR. Also I had no idea how to check out the current bootloader version in fastboot. So what it actually mean when you lose IMEI? Can you still use the phone?
[Moto G5S  Questions & Answers] jvfigueredo:
Check with the command

fastboot getvar all [/ CODE]
and search for "version-bootloader" is the version of your bootloader
If the IMEI is null your sim card does not connect, it is a smatphone without sim card
You can use the phone but it will be out of cellular network until you repair your imei
My bootloader is BC.12 and my phone got the black screen but it did not brickou but unfortunately can not use anything because the screen simply does not work and I can not outdate otherwise I can brick it
I'll wait to see if the Chinese oreo is out, and maybe the bootloader version is bigger and save me from this problem (but I learned a lesson never flash the gpt and bootloader from another phone even though they are similar).
[Moto G5S  Questions & Answers] jvfigueredo:
You will have to flash the full oreo and then try to flash the stock without the gpt and bootloader, if you lucky it all worked (when I tried to do this my IMEI was null, I tried to repair it and I did not succeed).

Finally the screen, I do not know what happened, but it stopped working after I flashed the OREO stock rom with bootloader, I do not know why but it seems that it did not recognize the screen of my phone or something, because before I flashed it was working normal
[Moto G5S  Questions & Answers] sixtheninth:
I used Win 10 and Rufus on XT-1799-2 using XT-1794 and 95 files, both holding power button for over 1min but screen remained black :((
[Moto G5S  Questions & Answers] sixtheninth:
The results so far are underwhelming. I did the operation in Linux following your guidelines at https://xdaforums.com/sho...14&postcount=1 .

Dowloaded both .img XT1794 and 95, checked the MD5 and flashed them on my sd card.

Neither of them worked. Light was flashing at various intervals, but even after two minutes of holding the power button screen remained pitch black.

I have even downloaded mmcblk0 for XT1799-2 from here https://cloud.mail.ru/public/vEq7/A...id 7.1.1, ZUI 3.1.68-74 ST (China AliCustom)/

but the results are the same.

Do you think I will need a special Oreo mmcblk0.img or is the damage permanent? :rolleyes:

Thanks
[Moto G5S  Questions & Answers] sixtheninth:
So how did you manage to get it loaded in to a bootloader if you hard bricked the same way as I did? I cannot use any of the mmcblk0 images because they are all having lower versions of bootloader apparently.

OPP28.65-37 was the ROM I flashed before my foolish downgrade attempt. Which might have Bootloader ver. 12.
[Moto G5S  Questions & Answers] jvfigueredo:
I don't downgrade my bootloader, i just install oreo and the screen don't turn on, but it play sounds(hello moto) and can enter on fastboot mode. Sorry i don't help you on this
[Moto G5S  Questions & Answers] sixtheninth:
aha, do you remember what version of OREO did you install?
[Moto G5S  Questions & Answers] jvfigueredo:
I install OPP28.65-37-2 and OPP28.65-37 and my screen don't turn on
[Moto G5S  Questions & Answers] sixtheninth:
oh ****, so we are on the same path there - I also did OPP28.65-37. Do you know what bootloader versions they both had? It seems we will booth need this Oreo blankflash (mmcblk0). If you know somebody who flashed working Oreo on G5S, you can ask them to follow a guide here on XDA and create mmcblk0 for us via TWRP. That seems to be the only solution as far as I know.
[Moto G5S  Questions & Answers] jvfigueredo:
it's BC.12, I'm sorry I do not know anyone, and I can not do that for you because I do not have a microSD card and my screen does not work either. Kkkkkkkkkkkk damn time I invented to upgrade, I continued in 7.1.1 everything was working, except the front camera that did not I recognized the 16mp (only 4mp) but that was the least: /
[Moto G5S  Questions & Answers] sixtheninth:
I know your pain man. But there is a guide on how to make that happen and I am sure sooner or later, someone will take on the challenge to unbrick them all :)) The whole purpose of this forum is to solve problems, so let's keep hunting for that blankflash, there is quite a number of people who flashed Oreos with BL 12 on their G5S!
[Moto G5S  Questions & Answers] sixtheninth:
Hey buddy, I might have good news for you, somebody was kind enough to upload the Oreo blankflash here. Check it out and tell me if it works:

https://mega.nz/#!qWIxnCAK!p3KqkJOaU33i_qR1YMwxMRs-POQ4lLf8577OHvo8Nt0
[Moto G5S  Questions & Answers] jvfigueredo:
You can downgrade bootloader and GPT using this file?

If yes, How i can make this?
[Moto G5S  Questions & Answers] sixtheninth:
I don't if you could, but it is a mmcblk0 with Oreo and higher version of bootloader. So my guess is to try this method https://xdaforums.com/g5/how-to/rooted-moto-g5-run-morning-post-image-t3776012

and see if you can hit the fastboot afterwards.
[Moto G5S  Questions & Answers] jvfigueredo:
Ok, good Lucky on It, but it's don't help me, my screen don't turn because the bootloader BC.12 If pomelo not get zui 4 i Will never get this working again ?
[Moto G5S  Questions & Answers] sixtheninth:
Did you try it actually? That mmcblk0 should have BC.12
[Moto G5S  Questions & Answers] jvfigueredo:
No, i don't have a sdcard and my phone enter on fastboot mode and i can flash all i want(but the screen is dead after flash bootloader BC.12) If i don't can downgrade It will not Works for me. i Just don't see nothing because the screen is dead, i assume its a bug of bootloader of Montana on montanaRetcn before i flash It my screen is fine and now its dead ?
[Moto G5S  Questions & Answers] IDRUPEL:
Hi, I was in the same situation as you. Helped me with this

https://xdaforums.com/moto-g5s/how-to/montana-opp28-65-37-mmcblk0-img-binary-t3853263
[Moto G5S  Questions & Answers] ggjandson:
estou com um aparelho igual, moto g5s XT1799-2 ,comprei em um site chines e veio com a rom da ZUI, fui instalar outra rom e deu hard brick, você poderia me ajudar a resolver, ficaria muito grato.
[Moto G5S  Questions & Answers] maurissaorj:
What Rom have you installed?
[Moto G5S  Questions & Answers] Andr3id:
Olá Senhores gostaria de saber se tem alguma rom que eu possa usar no meu xt1799-2 green pomelo (motog 5s versao china)sem perder funcionalidades ,alquem ja testou alguma desde ja grato.
[Moto G5S  Questions & Answers] mr_patel031:
Try This

https://hardbrickfixmotog5s.blogspot.com/
[Moto G5S  Questions & Answers] mahayu:
unsolved:crying::crying:
[Google Pixel 2 Themes, Apps, and Mods] somin.n:
Hi! I wanted to doze GMS on my pixel 2 running Pie, but I didn't find any functional solution, so I made it :victory:

Use it, if you want, ONLY on Pixel 2 running Pie. I made it and tested it for PPR2.180905.005 version. I had to modify GoogleSettings.apk so you could brick your device if you will use it on other version or other phone. I take no responsibility if you will brick your device or something else :p

How to apply:

for sure make backup of your phone

download gms_pie_doze.zip

flash via MagiskManager

reboot device

set optimization for GMS via settings

and enjoy

thats all, save, recompile and use it

UPDATE:

add HOW TO

HOW TO:

copy your SettingsGoogle.apk from system/priv-app/SettingsGoogle folder to your PC

copy your google.xml from system\etc\sysconfig\ to PC

decompile SettingsGoogle.apk with apktool (or use smali/baksmali on classes.dex file) -> there are tons of tutorials on XDA and google, so search for it or look here, small tutorial by me

find PowerWhitelistBackend.smali in com\android\settingslib\fuelgauge\ folder

in this file find .method public isWhitelisted(Ljava/lang/String;)Z, you could find it twice, we are looking for the first one, it should start on line 193 (but it is not necessary)

at the end of this method you could find this code:

if-eqz v4, [COLOR="Blue"]:cond_3a[/COLOR]

.line 91
return v1

[COLOR="Red"].line 94
:cond_3a
iget-object v4, p0, Lcom/android/settingslib/fuelgauge/PowerWhitelistBackend;->mAppContext:Landroid/content/Context;

const-class v5, Landroid/app/admin/DevicePolicyManager;

invoke-virtual {v4, v5}, Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;

move-result-object v4

check-cast v4, Landroid/app/admin/DevicePolicyManager;

.line 96
.local v4, "devicePolicyManager":Landroid/app/admin/DevicePolicyManager;
invoke-virtual {v4, p1}, Landroid/app/admin/DevicePolicyManager;->packageHasActiveAdmins(Ljava/lang/String;)Z

move-result v5

if-eqz v5, :cond_4b

.line 97
return v1[/COLOR]

.line 100
[COLOR="Lime"]:cond_4b[/COLOR]
return v2
.end method

what we have to do is: delete all red code

and now we need to change blue code to match with green code, so from

if-eqz v4,[COLOR="Blue"] :cond_3a[/COLOR]

we will get

if-eqz v4,[COLOR="Lime"] :cond_4b[/COLOR]

now the code will look like this:

if-eqz v4, :cond_4b

.line 91
return v1

.line 100
:cond_4b
return v2
.end method

save it and recompile

now open google.xml file

find and delete:

<allow-in-power-save package="com.google.android.gms" />

now put these files back to your phone (via Magick, TWRP .... it is on you)

well, you are done, enjoy it :good:
[Google Pixel 2 Themes, Apps, and Mods] bassguy60:
Works great!! Thank you for taking the time to develop this module for us Pie users! GMS was eating my Pixel 2 until I installed this.
[Google Pixel 2 Themes, Apps, and Mods] moviti:
Did anyone try with ppr2.181005.003 (Oct patch)?
[Google Pixel 2 Themes, Apps, and Mods] kamzz:
Installed and showing as optimized :)
[Google Pixel 2 Themes, Apps, and Mods] moviti:
Thanks! It looks working fine!
[Google Pixel 2 Themes, Apps, and Mods] somin.n:
Added version for ppr2.181005.003 :D
[Google Pixel 2 Themes, Apps, and Mods] kamzz:
The original version seems to be working on ppr2.181005.003, should I stick with it or use the newer one?
[Google Pixel 2 Themes, Apps, and Mods] somin.n:
If it is working, you could stay, but this mod edits system settings apk and I don't know, if there are some major changes from google in newer version, so it is better to use the newest one allways.
[Google Pixel 2 Themes, Apps, and Mods] Maverick Jester:
Any chance you could get this to work on the 2 XL?
[Google Pixel 2 Themes, Apps, and Mods] somin.n:
Hi! I could try it, just send me your "SettingsGoogle.apk" from private-app folder and i will look on it.
[Google Pixel 2 Themes, Apps, and Mods] Maverick Jester:
Awesome, appreciate it. I've attached it to the reply, but had to archive it because of XDA's file size limitations. For reference, I am also on build PPR2.180905.005.
[Google Pixel 2 Themes, Apps, and Mods] somin.n:
Here is it, for sure make necessary backup, I didn't test it, but it should be ok ;) It is Magisk module, so don't flash via twrp.
[Google Pixel 2 Themes, Apps, and Mods] Maverick Jester:
This has worked perfectly, thank you!
[Google Pixel 2 Themes, Apps, and Mods] somin.n:
To the first post added version for November update (181105.017).
[Google Pixel 2 Themes, Apps, and Mods] FilthyFord:
I'm trying to flash through Magisk and Magisk keeps force closing, I'm on the latest November update so i grabbed your latest modded settings app from the OP.
[Google Pixel 2 Themes, Apps, and Mods] somin.n:
Hi, I re-download November version a try it again and everything is ok on my side. What is you magisk version? I am on 17.1 and app version is 6.0.1....
[Google Pixel 2 Themes, Apps, and Mods] FilthyFord:
Same here. 17.1 and 6.0.1. I'm new to Magisk so I'm probably screwing something up in my end. Lol I'll redownload and try again.

My Magisk still just close when i try to install it. Can you tell me if I'm doing it right, i open Magisk go to modules, clock on the + go to where i downloaded the zip file and just click on it correct? It's at that point that Magisk closes
[Google Pixel 2 Themes, Apps, and Mods] somin.n:
Yeah, it looks right... Just maybe, try to look in to settings and verify that Magisk has "storage permission" enabled...
[Google Pixel 2 Themes, Apps, and Mods] FilthyFord:
Yes it has storage permission. I'll keep messing with it and see what i can figure out.

Edit: i figured it out. I use root explorer as my file manager and for what ever reason it is what was making Magisk force close. I reinstalled the factory file manager and everything installed properly. Thanks [MENTION=5104404]somin.n[/MENTION] for the help.