Backing up everything or restoring partitions to original state - OnePlus 7T Questions & Answers

Hi I've always tinkered with my phones but with the One Plus 7t Pro nothing ever gave me a reason to root until now (quick step) but so far there has always been a reliable method to go back to full stock whether it's fastboot on nexus device with the official google images or Odin on Samsung devices. So I've been documenting myself and trying to understand the different partitions. My understanding is that one plus on it's website only offers system images so if I ever came to loose my other partitions what would I be able to do ? I've seen a tutorial with EDL mode but where does the firmware come from ? MSM tools only restore boot.img and system.img right ?
Also how could I go about backing up my persist partition.
So basically before I root I wanna be sure that I can go back to partitioning my phone exactly to how it was before with official firmware or if there is no official one, backing up mine before rooting.
Any clarification would be appreciated !
Thanks,

Related

Bought Zenfone 2 Z00AD from AmazonUK... but OTA doesn't work

Right... so, I think I traced down why OTA doesn't work.
Namely, whenever I click on system update to search for update, it searches, but nothing happens.
Online I found that this is likely because a WW custom ROM was flashed... and so OTA doesn't work.
My phone is brand new (got it today actually), but 'stuck' on Android 5.0 (ugh).
So... I would like to ask for the recommended course of action so I can get either latest OTA, or just install a stable and up to date clean Android ROM (without all the Zen bloatware) that works.
Also, I'm relatively new with flashing this phone and there's tons of info on rooting, different CWM and TWRP's, etc.
Problem is, which ones to use?
How to determine if you're using the right one and avoid bricking the phone in the process?
My phone arrived with SuperSU... which would indicate it's been rooted (and I was able to install AdAway).
So bearing that in mind... what would you recommend?
Your phone should not be rooted when bought in a store. So it seems to be used before, and not correctly refurbished.
Anders
As there is no possibility to get evidence that you did not do that yourself, you can only hope to get a replacement from the vendor,or any warranty.
On the other side: the device is already rooted, so you can flash a 6.01 rom yourself.
Depending on the way the phone was rooted in the first place, OTA will not always work.
I did see an original rom surface recently. With that you can go original, Unrooted and locked, so the vendor will not be able to void your warranty claims.
Verstuurd vanaf mijn ASUS_Z00A met Tapatalk
Sorry for the late reply.
Was busy.
The phone was bought off Amazon UK, and no modifications to the device were done by me apart from installing my apps.
Trouble is, I don't know how to flash a new ROM onto this thing.
The forums are overflowing with information which is all over the place and it is extremely confusing.
Yes, I tried the search function and found some info, but it is all over the place.
I have to be able to figure out the original firmware apparently if I want to flash the CWM or TWRP... and in some cases, flashing TWRP can break the device it would seem (what's up with that?), and I cannot figure out the original firmware because the mobile was not delivered with one (a custom WW ROM was apparently flashed on top of I don't know which version), and I really do not know where to look for this.
So, I'm very confused.
There's too many threads to sift through and each seems to be giving its own unique information and a list of no no's which appear to contradict each other.
I could use some help in sorting through this 'mess' (well, 'mess' for me) so I could try at least flashing the original ROM and get OTA (for which I require concise instructions).
Also, something else seems to be happening... Asus Zentalk forums appear to refuse to load on my laptop for whatever reason.
Settings>About - will show you what rom you have.
I would recommend unlocking bootloader 1st as this seems to have helped me. If you have any recovery but stock or have a white splashscreen then this has already happened... I used the unofficial unlock tool to do this and thus my imei numbers stays off the "no warranty" list..
If you go to the pre-rooted rom thread you can download the newer stock roms. These also have the recovery, boot and droidboot.img files included with the .rar file of a system.img (unrar it of course)...
I believe it may also contain the flashtools, if not look at the CN to WW thread...
Using fastboot you can flash these onto your phone using commands -
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash fastboot droidboot.img
fastboot flash system system.img
Make sure, if do this the commands are correct. Copy and paste can be your enemy because if you use the same command and just overwrite your boot/droidboot or recovery every time you flash, it may result in a brick...
Good luck and happy flashing...
I seem to get OTA's pushed now..
Tnx.
Now that I look back, it doesn't seem too complicated.
My bootloader seems to already be unlocked though.
One other thing... about flashing that system.img
I think I stumbled upon similar instructions before, however, I couldn't find system.img file (everything else was accounted for).
Also, does the the procedure for flashing new ROM's or possibly just OTA's require repetition of ALL those commands, or just some?
Oh and I was able to access the stock recovery (which the seller said he used to flash the custom WW rom). Could I use it to update OTA's manually? And would I need to first unroot the mobile?

Restoring stock ROM - root, TA, recovery and such

Hi!
I need to restore my Z1C to a "non-tampered" condition. I've got my TA backed up and I've restored the earliest TWRP I had. I'm now on stock T-Mobile branded ROM, 14.4.A.0.157, but still it remains rooted (I needed to backup the TA first somehow) and TWRP is still present. I just need to make sure that everything I've done is gone (I don't mind flashing stock LP if needed) and as far as I know only those two and TA are left. I tried looking it up, but found no reliable/sufficient info, so I've got few questions:
1. Is there any way in which i could get rid of root and recovery without flashing a clean TFT?
2. Am I correct in assuming, that flashing latest Lolipop TFT from XperiFirm with appropriate branding would get my phone in the same state as an OTA update and factory reset on an nontampered phone?
3. If I were to flash a TFT file right now, I should FIRST restore the TA, then flash stock using Flashtools, correct?
4. On the subject of preparing a TFT, I've read, that you shouldn't push .ta files. My chosen ROM contains following:
simlock.ta
cust-reset.ta
fota-reset.ta
boot/Amami_S1BootConfig_MiscTA.ta
Apart from simlock.ta, which sounds obviously horrible (this phone haven't ever had a simlock anyway), I heard, that I should leave out the *-reset.ta files, right? But what about the last one? My TA backup is made on a 4.4 system and this is a 5.1 ROM as far as I know and I wouldn't want it to cause any issues. I'm also very curious about the purpose of those "reset" files. When you would actually consider using them?
I would really appreciate any help and/or resources. Thanks in advance!
intpee said:
Hi!
I need to restore my Z1C to a "non-tampered" condition. I've got my TA backed up and I've restored the earliest TWRP I had. I'm now on stock T-Mobile branded ROM, 14.4.A.0.157, but still it remains rooted (I needed to backup the TA first somehow) and TWRP is still present. I just need to make sure that everything I've done is gone (I don't mind flashing stock LP if needed) and as far as I know only those two and TA are left. I tried looking it up, but found no reliable/sufficient info, so I've got few questions:
1. Is there any way in which i could get rid of root and recovery without flashing a clean TFT?
2. Am I correct in assuming, that flashing latest Lolipop TFT from XperiFirm with appropriate branding would get my phone in the same state as an OTA update and factory reset on an nontampered phone?
3. If I were to flash a TFT file right now, I should FIRST restore the TA, then flash stock using Flashtools, correct?
4. On the subject of preparing a TFT, I've read, that you shouldn't push .ta files. My chosen ROM contains following:
simlock.ta
cust-reset.ta
fota-reset.ta
boot/Amami_S1BootConfig_MiscTA.ta
Apart from simlock.ta, which sounds obviously horrible (this phone haven't ever had a simlock anyway), I heard, that I should leave out the *-reset.ta files, right? But what about the last one? My TA backup is made on a 4.4 system and this is a 5.1 ROM as far as I know and I wouldn't want it to cause any issues. I'm also very curious about the purpose of those "reset" files. When you would actually consider using them?
I would really appreciate any help and/or resources. Thanks in advance!
Click to expand...
Click to collapse
Not an expert on any of this, but I have done quite a bit of flashing etc, and my two cents is...
1. If I wanted 100% stock, I would probably use Emma. It's official Sony tool, and probably will wipe/reset whatever you're trying to. Also not as many expert-type options, etc...
2. You might be better off posting in Flashtool and/or XperiFirm threads for answers to technical questions.

I need a copy of the modem backup for BND-L24 running Oreo

Can someone please give me an Oreo copy of the modem partition for the Honor 7X BND-L24? I think mine has been compromised and I'd like to flash it.
Thanks!
de.I have the same model of the phone as you. I'm back on stock too, and I can *hopefully* send one to you. You can always try using the pro-teammt ru website.
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2649/g1699/v133897/f2/full/update.zip
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2649/g1699/v133897/f2/full/BND-L24_hw_usa/update_full_BND-L24_hw_usa.zip
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2649/g1699/v133897/f2/full/public/update_data_full_public.zip
I've used the above files to get back to stock using HuRUpdater multiple times. You can follow my guide, and it *should* repair all your partitions.
https://forum.xda-developers.com/honor-7x/how-to/getting-to-stock-emui-super-easily-t3804722
I'm very reluctant to install a custom TWRP that has limited functionality. I was hoping to get *just* a copy of the modem partition.
So despite my reservations I followed your instructions and it seems to have fixed my bluetooth problem! Thank you very much.
I've installed Magisk and am in the process of restoring everything from Titanium backup (which is such a big job unfortunately). I think I'll stick with stock, use Nova and GravityBox and I should be able to get just the Android experience I want.
Thanks again!

HELP!: HTC One M8 restore to stock

So I recently purchased a brand new HTC M8 & the first thing I did was install TWRP & Custom Oreo ROM. However, I was not very impressed as two of the things I was looking forward to took a major hit - audio quality & battery drain on certain camera based apps. However, while most devices are very easy to return to stock ( I have experience with Samsung, OnePlus etc.) I cannot find a definitive guide that can help me restore to the last marshmallow update with stock firmware & recovery. Every online tutorial I try seems to work halfway and then the files wont flash etc.
Does anyone have a proper surefire way of bringing it back to stock. I would appreciate it alot.
Also its M8n (Euro Unlocked Version) it came with S-Off from the factory. It had Kitkat on it when I wiped it.
Thankyou
First of all, if you made a TWRP backup of your stock ROM (before flashing custom ROM); then you can just restore that to get back to the stock ROM. If you didn't make a TWRP backup, then you should have. This is a fundamental best practice when modding these devices. I find it surprising that so many folks skip doing this. For that matter, do not do anything to your phone without beforehand knowing how to reverse it (go back to stock).
Luckily, there is a collection of stock TWRP backups which you can use, plus a very well written guide: https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
Flashing custom ROM doesn't touch firmware, so that hasn't changed from stock firmware (Kitkat?). If you want to update firmware, the above linked thread has that as well.
On the note of firmware, you should not have been running an Oreo custom ROM with kitkat firmware (if that is what you did). It may or may not explain some of the issues you had. I'm actually surprised you were able to flash an Oreo ROM at all, with KK firmware.
As far as stock recovery, the link I gave also has the necessary files and instructions on how to restore stock recovery. But honestly, I don't feel it is value added to do so. The only reason to have stock recovery is for updates, and this phone is long done (years) with updates. And TWRP gives you a lot more flexibility to recover, backup, etc.
Alternately, your version may have RUU. This is a HTC specific tool you can use that to restore to full stock, including ROM, firmware, stock recovery - every single partition restored to stock (will also wipe all data on the phone). But I would need the exact phone info, in order to tell you which RUU (if your M8 version has one - not all do). If you want to go that route, do fastboot getvar all, and post the results (delete IMEI and serial number before posting).

Need some starting help

Hello guys,
I recently bought a used OnePlus 7T, with the goal in mind, to try to install Ubuntu Touch on it. There were some tries to do this in the past, there is posts on the forums here where a 7 Pro was successfully running UT.
Now while I am a software developer, I am a total beginner regarding 1) UT porting 2) Android in general. I have never used an Android device, and I am unfamiliar with the OS and all related terminology. The latter seems to give me some headaches at the moment, so I would like to ask you guys for some starting help.
When I received the phone it was running OOS 11, and I downgraded to OOS 10 as described here after I unlocked the boot loader and also installed TWRP (I think this was not needed yet, but well ...). And I think I didnt pay enough attention to it, since now it does not seem to be the EU version anymore; the about page tells me: "10.3.1.HD65AA", which I think means global? Does it have any impact on the functionality of the phone? Can I switch back to EU version? If so, how? Should I pick a EU-zip from here and flash it again?
Now since I was trying to downgrade even further to android 9 (in order to begin with the Ubuntu Touch related stuff), I tried to find a ZIP containing the OOS 9 downgrade, but I could find none. The closest which I found was this. However when I place the downloaded ZIP in the root folder ("OnePlus 7T" is the root folder? E.g. the one where I see subfolders like ".OTA", "SysQS", "TWRP"?), the system update will not pick it up in the local upgrade menu. It just doesn't find it. I already renamend it from .jar to .zip, but still it does not work. This makes me believe I downloaded the wrong ZIP.
Long story short, can someone help me to achieve the following:
1) Switch back to EU version
2) Downgrade to OOS 9
And I have some general questions:
1) TWRP is a tool which is installed on the recovery partition of the phone, and it can be booted into to install various things. It would for example allow to install a different Android version, as alternative to system -> software update -> gears -> local. Is that a correct summary? For which step would I actually need TWRP during the a) the downgrade process from 11 -> 9 and b) porting to UT?
2) Does the phone need to be rooted during the downgrade process, or when porting to UT?
3) What are the two slots which are shown in TWRP? Are those 2 partitions on the internal storage?
4) How many partitions (in the regular PC sense of partitions of a hard disk) does the phone have? 2? One for recovery, and one for the operating system? In the UBPorts docs I read that the vendor blobs reside on a separate partition since Android 9, so there must be at least 3 partitions on the phone? How do I make sure that I don't accidentially write e.g. on the vendor blobs partition? I guess that `fastboot flash recovery twrp.img` means that the *recovery* partition should be flashed, right?
I think thats it for now. Sorry for the wall of text, but its just so much information for a beginner, and its a bit overwhelming. But I want to get into it bit by bit, and maybe in the end contribute to the device porting, in case I manage to do it.
I don't think there is oos9 for op7t
Nope, came with oos10

Categories

Resources