yashsingh1/xdaforums huggingface dataset:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] k_l_o:
Thanks for your suggestion, but I've solved my "hanging" a while ago. I redownload drivers and used an USB 3.0 to USB-C cable. I normally use a USB-C to USB-C on my laptop to connect the phone. Frankly, after updating the drivers, I can use USB-C to USB-C now.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] k_l_o:
[MENTION=3428502]Freak07[/MENTION]

Can we use the TWRP 1.21 image after updating to 1.25.617.4?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] JEANRIVERA:
yes it is running fine here, but I am in custom kernel please wait for official confirmation
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] k_l_o:
Will do!
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
good question, the answer should be yes, you can use ir.. the crucial component is the security update date. That’s still June and hasn’t changed if that firmware is like the tw base

Used it myself on the 1.25 tw base. :svetius:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] k_l_o:
Just to confirm, worked for US Unlock 1.25.617.4, the 1.21 image that is...
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] jbea007:
HELP!!!!.

I tried to do a permanent install of TWRP but got a boot loop when I did a reboot. Now I was able to reboot into a temp twrp but it won't let me boot to the OS. Looks like it got wiped. When I try to select storage its says 0 on internal
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Flash back your stock boot.img. The one that matches your firmware. that should let you boot back to your OS.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] jbea007:
I recently updated to the lateset firmware and can not find the matching one 1.25...
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] k_l_o:
DELETED
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
You should always make a backup before flashing!

There is one uploaded on the firmware thread. Somewhere at the last posts.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Official TWRP got updated to 3.2.3-1.

Official Changelog: twrp.me

07.09.2018 3.2.3-1

[Fix] MTP now enabled/working! (thanks to [MENTION=1162986]Captain_Throwback[/MENTION])

[Fix] Vibration feedback now enabled/working (notsyncing) thanks [MENTION=9159243]notsyncing[/MENTION]

[Fix] Maximum brightness fixed - you need to manually adjust brightness in Settings using the slider to update (thanks to [MENTION=1162986]Captain_Throwback[/MENTION])

[Tweak] Zip now automatically unroots the device when flashing to allow device to reboot to system normally if root isn't immediately flashed afterwards (thanks to [MENTION=4544860]osm0sis[/MENTION] )

[Tweak] /data/cache contents now mounted to /cache on flashed version (thanks to [MENTION=1162986]Captain_Throwback[/MENTION])

NOTE: The official TWRP image will only decrypt devices on the 1 June 2018 security patch if fastboot booted. If you are on the 1 March 2018 security patch, you will need to fastboot boot one of the unofficial 1.15 TWRP images. The zip installer, however, will work on any patch level, but if you're on stock kernel, you will still need to flash the hex patcher or a custom kernel to have working touch when rebooting into recovery mode.

Important

I also updated the OP with some more information regarding fastboot booting twrp and OTA ability. Please take a look there.

At this point fastboot booting twrp breaks OTA capability. To restore it have a look at the FAQ here in post #2 and the links there!

have a nice day all :)
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I updated the first post and especially the FAQ in the 2nd post with information why OTA fails when previously fastboot booting twrp
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] k_l_o:
Your FAQ is so satisfying because I've been so stumped with why I couldn't take the OTA after TWRP-ing boot/system AND vendor... There's a group of us whom narrowed it down to patch-boot via Magisk instead of using TWRP to root. From what you're saying, it's using TWRP to re-store stock boot/system. Will test it out next OTA...
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
How was the system.img and the vendor.img obtained that you were trying to restore?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] k_l_o:
From after RUU-ing 1.21.617.3, and after Google Play finished restore my apps, I created a backup in "temp" TWRP.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
That’s precisely the problem!

When fastboot booting twrp and backing up system.img via fastboot booted twrp, the backed up system.img is not untouched.

That means restoring a system.img that was backed up via twrp is not pristine and OTA will always fail!

Solutions to this are in the FAQ post I updated!

Maybe this post clarifies the situation even more! :)
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] k_l_o:
CRAP! I did the same thing after 1.25. I fastbooted "temp" TWRP and backed-up. The boot + system from this is useless as well, correct?

I just installed the PERMANENT TWRP after you fixed the MTP problem. Next OTA, if I RUU back to 1.21, update the OTA, finish Google Restore, install PERM TWRP and backup, the boot + system from that should be usable, yes?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] 5m4r7ph0n36uru:
Then use the RUU decrypt tool, to obtain a pristine system and boot image, as soon as the RUU drops. Just as written in my guides thread post #3, as I updated it as well by the end of last the week.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] k_l_o:
Ha! Forgot about that. I actually have a Decrypted 1.21 boot and system... I just need to fastboot boot them the next time... I'll probably managed to screw that up somehow, best I just RUU...

Just thought up something else, switch slots! My current slot has the modified boot/system/vendor, but the inactive slot should have the pristine 1.21 image...
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] The_Walking_Playground:
Hi,

Any backup you make from TWRP will be no good. Booting into TWRP is what is messing up system.

TWP
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] k_l_o:
Thanks for chiming in...

I do understand that.. Fortunately, I have boot + system images from 1.21 RUU that was decrypted by the RUU Decrypt Tool.

Also, can just change active slot...
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] The_Walking_Playground:
Hi,

I was referring to your question about making a backup after taking the OTA.

TWP
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] k_l_o:
Yeah, I got that. My previous response still apply...
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] The_Walking_Playground:
Hi,

I'm not sure how having 1.21 boot & system images from RUU will help you have stock backups of 1.25 once you take the OTA? Am I missing something?

TWP
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] k_l_o:
Good point!

My thinking is using the 1.21 boot + system images, I don't care if the phone is running 1.21 or 1.25 at that point, as long as it takes the OTA, but I understand your hesitation - will the phone actually work, at least to d/l and install OTA, with the previous images. Anyone with actual knowledge/expertise know the answer?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] The_Walking_Playground:
Hi,

That's not what I was saying. I was originally responding to your question about whether backing up boot & system with permanent TWRP after taking the OTA would result in good backups. The answer to that is no, since booting into TWRP will compromise system. All of your subsequent responses were about 1.21, but that wasn't your original question, so I guess we haven't been talking about the same thing. The only way to get stock backups after taking the OTA is to use the process in the FAQ post, at least until an RUU is available.

TWP
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] k_l_o:
Gotcha...

My reason for wanting a "good" backup of boot/system is for the purpose of taking OTA updates. I understood your original response. I just volunteered my reasoning for the need and subsequent thinking based on having a "good" back up in regards to OTA's with a couple of methodologies...
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] guidogsbn:
A very big thank you for the continuous work to bring us a nice twrp to our u12plus !!!

The brightnes repair and root features are wonderful! Thank you for all the time and work you spent for us for free!

A Donation will follow immediately. That´s all I can do :cool:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Thank you very much for this! It is greatly appreciated!
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
hello everyone,

I just noticed that I forgot to include proper credits into my last release post. I corrected the (release post) with proper mentions to everyone who did the actual patches. I updated also the changelog found in the OP. I did not want to appear like I take authorship for these patches, when I actually just used them and did not create the patches! It was just an oversight from my side, I did not want to take any credit from anyone and I want to apologize for that, especially to [MENTION=1162986]Captain_Throwback[/MENTION] and [MENTION=4544860]osm0sis[/MENTION]! I learned so much from them while working on this TWRP that I want proper credit maintained at this place!

It was a mistake from my side this release! It won´t happen next release and credit will be properly given all the following releases!

Thanks for your understanding!

if that changes anything regarding your recent donation [MENTION=2344619]guidogsbn[/MENTION], please contact me and we will work out a solution!
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] guidogsbn:
No reason to change anything for me. It's allright like it is. Thank you!
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
Alright thanks! :) have a nice evening :svetius:
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
I updated the FAQ-Section with a workaround to restore OTA functionality after having booted TWRP!

Thanks to [MENTION=4544860]osm0sis[/MENTION] who came up with the original idea and [MENTION=1162986]Captain_Throwback[/MENTION] again :)

also a big thanks to [MENTION=1238555]MassStash[/MENTION] for testing and confirming the method!
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] Freak07:
It’s currently advised to NOT use the switch slots option within twrp!

Instead do it via bootloader!

Commands are:

fastboot --set-active=a

fastboot --set-active=b
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] k_l_o:
Funny... Never occurred to use TWRP. Automatically went to Fastboot...
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] bigAL99:
Quite surprised, set with permanent TWRP and up has popped an OTA so have to admit not quite sure what's going to happen if I install it. I guess I lose TWRP and magisk and will have to temp install then permanent install again?
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] JEANRIVERA:
It will just fail to install OTA
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] MassStash:
That is precisely what was added to faq, referenced in the post above. Have to flash stock system and possibly vendor images to get lifetime flag set back to 0, aka unmodified, in order for OTA to go through.
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] heslo.rb26:
Just wondering if you can help me at all. I managed to do this while on 1.21 firmware but that phone needed to be sent back; now the replacement handset came with the 1.25 firmware and I can't get past the first booting of TWRP

I've done the "fastboot boot <twrp.img name here>" command... it seems to send the file to the phone then the command prompt says "booting" and nothing else happens. It's got me totally stumped. The phone just sits and goes no further. It even indicates on the phone that the file has transferred correctly but it just won't reboot.

I'm using the latest TWRP from twrp.me website (3.2.3-1) Can anyone link me to what drivers they're using, possibly that's my issue? Although I've never had a problem before hand. Any ideas/suggestions are welcome
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] JEANRIVERA:
You need to it in boorloader mode not download mode
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] heslo.rb26:
OMG I knew it would be something simple I overlooked! Should have gone back to basics.

It worked no issues, thanks so much mate, I'm working on flashing now! :)

EDIT: All flashed and working great. I'm embarrassed as all hell now... knew I shouldn't have tackled it when I was this tired. All good now though thanks to you!
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] JEANRIVERA:
Glad I was able to help!! ;)
[HTC U12+ ROMs, Kernels, Recoveries, & Other Develo] mrsyamsul:
Sorry I read few time still can get the answer (maybe my english too bad),

I just want to boot temp TWRP thru fastboot, to install cleanslate kernel, this will revoke my OTA, please advise
[ZTE Axon 7 Questions & Answers] JvBoss:
Hello all, im totally new to all this. Also, i apologize in advance if there is a post about this but i was not able to find it.

So, i bought the ZTE Axon 7 off some guy on eBay UK. I live in the UK and use the 3 (Three) network, popped it in, all is good, use of features, etc, flawless.

Now, i know android Nougat if not Oreo, already is available for the phone, but every time i try to update it, it tells me the software is up to date.

i65.tinypic.com/dd0pzd.jpg

Looking into it, on the back cover, seems i have the Chinese version of it (A2017)

i63.tinypic.com/214w0nk.jpg

But the phone information tells me different? (A2017G)

i63.tinypic.com/70ddo4.jpg

With a different build to all the ones i've seen around here... ZTE A2017GV2.0.0B08

i64.tinypic.com/67uutk.jpg

It feels as if the outside does not match the software inside it, if that makes sense.

So have no idea what is what and where to start. Could someone kindly direct me in what to do?

I've always just hit the update button and that would be it, so please be patient with me :rolleyes:

Thank you

ps - upgraded from the HTC One M9 to this... In love with the screen and speakers. What an amazing beast!

pps - i don't meant to break the "law" here by bypassing on the links before 10 posts, bit desperate you know... Sorry.
[ZTE Axon 7 Questions & Answers] Nicz14:
Can't see what you linked but the model is written at the back of the phone a2017 (Chinese), a2017g (global) and a2017u (US).

Edit: Looked at the links you posted, by the looks of it you have the chinese version with the G firmware. Did you bought it used? Maybe the previous owner flashed that firmware themself.

Edit #2: If you want to go back to chinese firmware, try this link. If you want to stay with the G firmware the take a look at this link.
[ZTE Axon 7 Questions & Answers] JvBoss:
Thank you for shining some light on me. It is pre-owned, the person i bought it from says also bought it from eBay over a year ago and always used it as it is.

Obviously a year ago, nougat wasn't as popular as it is now.

Have no idea what i'm doing but i'll look at the links you provided and see if i'm brave enough to give it a go or ruin £150 haha (nervous laugh) lol
[ZTE Axon 7 Questions & Answers] svsavic:
This is chinese version with installed rom for G model. I think there no able to official update anyhow.

see description:

https://www.aliexpress.com/item/Int...a72a4a8&transAbTest=ae803_2&priceBeautifyAB=0
[ZTE Axon 7 Questions & Answers] JvBoss:
aah crap... wish i looked into all this before i bought the phone. I really like it, but its annoying to know it can be improved and i have no idea what i'm doing.

I downloaded the update there is from their official website, for location of Hong Kong, China (since this is is the chinese model). Phone comes under Axon 7 (open market)

after selecting that, theres only 1 download available from last year and this is it » AXON 7(ZTE A2017G) SD card software package(328540B2634ZTE A2017GV1.0.0B11)

All i have to do is put it into the SD card and follow instructions. (so it normally would be)

Anyone know if this could work or like totally mess it up?

I can always sell it again and get an original G version if its all too risky. Hard to find this phone here in the UK, same cant be said about the Axon 7 mini but who wants that...
[ZTE Axon 7 Questions & Answers] Choose an username...:
It will either fail or totally mess it up.

I'll shed some light on this:

Your phone is an A2017 that's been bought on Aliexpress. The sellers installed a modified G ROM to it so that it would have Google apps and all that stuff. If you install an original a2017 ROM you'll have to install the Google apps manually, but it should be the same.

To get it running on original firmware you should use MiFlash with an A2017 package, or EDL tool too. I guess i can help you with that
[ZTE Axon 7 Questions & Answers] JvBoss:
So it seems to be the case. Thanks for all the clarifying.

If i was to go ahead and get it running on original firmware (A2017) would it work here in the UK? My guess is that the original wouldnt work here, hence the modified G ROM as you call it, or is this like... the cheapest version of the phone, fake and this is all just an alternative to the real deal?

Either way, if you willing to help or theres a guide for my case, would be much appreciated.

Thanks
[ZTE Axon 7 Questions & Answers] Choose an username...:
none of that is true. If anything, A2017s can be better than G's (6gb/128gb/force touch)...

You'd only have a Chinese system and would have to install GApps. Nothing else would change. Same cell signal, same performance.

Chineses, G's and U's have different modems. You need a specific modem file for your model. G ROMs come with G modems, but you can swap the file with a Chinese modem and flash it. but the safest way to do that is by unlocking the phone
[ZTE Axon 7 Questions & Answers] JvBoss:
Right ok, im with you. Well the phone is factory unlocked. Unless that's not what you referring to.

Like i said i have no idea what i'm doing and no youtube video matches my case to help me out either.

I might just leave it as it is for the sake of it all or sell it. Its frustrating me
[ZTE Axon 7 Questions & Answers] Choose an username...:
installing Nougat or even official Oreo is very easy, you just need to know how to do it. Since they told you it is factory unlocked, what happens when you turn it off and hold Power + Vol UP? Does it enter the stock recovery (mifavor symbol) or TWRP?

I think you'll be using MiFlash for this. I've guided people with your same problem about 3 or 4 times, so lemme go back and see exactly what they did
[ZTE Axon 7 Questions & Answers] JvBoss:
Ok, if you're willing to help. thanks.

Just turned it off and held power + up vol, it showed that mifavor with a few options at the top left. But when i let go of the buttons, it comes right off it and starts up as it usually would. This normal?
[ZTE Axon 7 Questions & Answers] Choose an username...:
it shouldn't, but it doesn't matter. What you have to do is download EDL Tool and one of the packages that are on its thread (one for the A2017 of course, NOT for the G or U!!). After that just set everything up as the thread says and put your phone in EDL mode (Turn it off, cable disconnected. Hold Vol+ and Vol-, and insert the cable, then wait about a sec and release) and install the full edl package. This will wipe everything to oblivion.

Google "edl tool" if you can't find it here in the guides section, it should pop up as an XDA thread made by djkuz

Why are you so sure that your bootloader is unlocked? Did the seller tell you that?
[ZTE Axon 7 Questions & Answers] JvBoss:
Oblivion? Talking a different language to me haha, i literally know nothing about all these programs and updating phones business.

But if i can I can mount a computer and install all the software it needs, i should be able to do this too.

About bootloader being unlocked... I knew i thought we wasnt on the same page a few posts ago... When I said "factory unlocked" i meant factory unlocked to any network.

Playing with phones has never been a hobby of mine, til I bought this ZTE Axon 7. (starting to regret i didnt go for the HTC 10)
[ZTE Axon 7 Questions & Answers] JvBoss:
Oblivion? Talking a different language to me haha, i literally know nothing about all these programs and updating phones business.

But if i can I can mount a computer and install all the software it needs, i should be able to do this too.

About bootloader being unlocked... I knew i thought we wasnt on the same page a few posts ago... When I said "factory unlocked" i meant factory unlocked to any network.

Playing with phones has never been a hobby of mine, til I bought this ZTE Axon 7. (starting to regret i didnt go for the HTC 10)

PS - really appreciate your input/help so far
[ZTE Axon 7 Questions & Answers] Choose an username...:
lol - no worries. I'll write to you when i get out of work. We'll use MiFlash instead.

When you got to the recovery (you did vol+ and power) , was it all in chinese?
[ZTE Axon 7 Questions & Answers] JvBoss:
Thanks buddy. It was all in english. After doing recovery mode several times this time, it stayed - random. This is how it looks (took few photos of it)

Supported API : 3

(at the bottom if that matters)
[ZTE Axon 7 Questions & Answers] Choose an username...:
okay. we'll not use miflash. ?

i can't find the damn a2017 files...

https://xdaforums.com/axon-7/development/axon-7-edl-tool-flash-backup-restore-t3750759

Go there, download the thingy, extract it and put it in C:\, so that all of the folders are inside a folder. Avoid having a folder inside a folder and then the program (In other words, your path to Flash folder should look like this:

C:/EDLTool/Flash).

Then download the A2017 B17 Nougat package, and put it where the thread tells you to put it (idk if you have to unzip it - just read).

then follow the instructions and run it - it's basically put your phone in EDL -> Flash -> Full
[ZTE Axon 7 Questions & Answers] JvBoss:
hah ok. I'm gonna run the process when i get home from work in about 9hours.

In case this fails... Like errors or it dont function properly after. Is there a way round it all?

just so i dont waste £150 (200$) :(
[ZTE Axon 7 Questions & Answers] docentore:
Fairplay to CAU for guiding you, I'm too drunk / relaxed to help you but...

I bought A7 Chinese version (with 128GB on board) and took me less than 1h to install custom ROM, mostly because I've used my company's W10 laptop.

I find this phone really hard to brick, and community here is great.

It is fantastic phone.
[ZTE Axon 7 Questions & Answers] JvBoss:
I been pretty busy only had the time to do it this morning (GMT timezone) and... It worked! Haven't seen much of a difference other than the booting up now shows ZTE with the chinese writing next to it and installed all these chinese apps - any of them worth keeping?

I've tried google play, etc all seems good. The network signal is even stronger now! I never get good signal where i live.

Thanks so much for your help "Choose an username". Very much appreciated :)
[ZTE Axon 7 Questions & Answers] JvBoss:
It's all good, i got the standard version and it took me about 1 hour going through it all. (Never done anything like this before)

I can only reflect your words buddy :good:
[ZTE Axon 7 Questions & Answers] Choose an username...:
What version are you on? There's Nougat MiFavor5 and also Oreo available. The point of flashing that package was to get you on the Chinese OTA system, now you should search for updates from the phone. if none appears, you can download the update directly from zte china and install it.