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
Related
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?
Hello everybody!
I am fairly new to the modding world of android, all I know is that you need an unlocked bootloader to install a custom recovery to then root or install a custom rom. I have a specific set of questions to upgrading my phone software (Lenovo P2a42 on android 7.0):
1) Do you do anything after waiting for 14 days on the OEM unlock screen? Does it auto reset the phone, will a pop up appear, etc? Does it automatically unlock the bootloader or do I need to do adb fastboot oem unlock to finalize unlock?
2) Is there a complete all-in-one guide to installing a custom rom (bootloader unlock, TWRP, flashing, dealing with problems (encryption, fingerprint, wifi, safetynet, etc), etc) from scratch (stock rom)?
3) Is there a way I can back everything up (and recover of course, stock image and recovery, and anything else I might need to go back to factory defaults) in case I screw anything up?
4) What is the least buggiest / most popular / most supported android pie rom available for my phone (Lenovo P2a42)?
5) Anything I should know before proceeding? For example, I know it voids warranty and official support, potentially loosing google playstore, but is there anything else I should know?
I might require further assistance, as I have absolutely no experience. But hey, I gotta start somewhere right?
Thank you for your time.
1.on day 14 the option to unlock is shown in the settings menu.
2. I used this
https://forum.xda-developers.com/lenovo-p2/development/lenovo-p2-root-tool-t3800838
3.TWRP has a backup option in the Recovery menu.
Read the TWRP threads to understand better.
4.for me I like 8.1
https://forum.xda-developers.com/lenovo-p2/development/rom-aospextended-rom-v5-4-t3774641
But am currently using 9.0
https://forum.xda-developers.com/lenovo-p2/development/rom-arrowos-9-x-t3862818
5.anything else to know?
Just make sure you read the thread for whichever ROM you use.
And then enjoy
Treboeth said:
1.on day 14 the option to unlock is shown in the settings menu.
2. I used this
https://forum.xda-developers.com/lenovo-p2/development/lenovo-p2-root-tool-t3800838
3.TWRP has a backup option in the Recovery menu.
Read the TWRP threads to understand better.
4.for me I like 8.1
https://forum.xda-developers.com/lenovo-p2/development/rom-aospextended-rom-v5-4-t3774641
But am currently using 9.0
https://forum.xda-developers.com/lenovo-p2/development/rom-arrowos-9-x-t3862818
5.anything else to know?
Just make sure you read the thread for whichever ROM you use.
And then enjoy
Click to expand...
Click to collapse
The 8.1 rom you provided is AOSPExtended, is there a 9.0 version of it for the P2a42?
Thank you for your time.
404 Name Not Found said:
The 8.1 rom you provided is AOSPExtended, is there a 9.0 version of it for the P2a42?
Thank you for your time.
Click to expand...
Click to collapse
I believe 9.0 is being worked on,it has been released for other phones.
Glad to help
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,
I have a WW version of ROG Phone 6. I have had it since mid-July.
Previously, I had ROG 2 but it died on me unexpectedly and I switched to Pixel 6, which was very underwhelming. I pre-ordered ROG 6 as soon as it became available.
I have not seen a concise guide to rooting ROG 6. I think it should be the same as ROG 2 but just in case, I read guide to rooting ROG 5.
Are the steps to rooting ROG 6 the same as ROG 5?
Asus ROG phone 5: unlock bootloader and root guide
Asus rog phone 5 guide note: you follow this guide on your own responsibility. also You should note that unlocking via the official Asus app will void warranty and blacklist the device for future otas. bootloader unlock: ! note that unlocking...
forum.xda-developers.com
Thank you!
I sure hope so. . . I cant find much material online but I'm going to try to just run this tool from asus https://rog.asus.com/phones/rog-phone-6-model/helpdesk_download/ and then flash magisk via recovery.
Sorry extract boot.img move it to phone, patch it with magisk and then run
Code:
fastboot flash boot magisk_patched.img
and that should do it. Although you may want/need to flash the official files first by running the flashall_AFT.cmd file.
Found this all on https://forum.xda-developers.com/t/...e-6-can-be-used-for-cn-ww-converting.4474383/ and https://forum.xda-developers.com/t/...-guide-you-should-read.4474241/#post-87255303
It worked for me without even needing to flash the full firmware (you'd have to, to switch versions though) let me know if you need help. the guides I linked might be overkill.
Just
1.) Fully update on phone.
2.) Install apk to unlock bootloader from my first link
3.) reboot to fastboot and run the command I gave above. (after extracting the boot.img from payload.bin and patching it, although the last link includes one prepatched that may work)
leathan said:
It worked for me without even needing to flash the full firmware (you'd have to, to switch versions though) let me know if you need help. the guides I linked might be overkill.
Just
1.) Fully update on phone.
2.) Install apk to unlock bootloader from my first link
3.) reboot to fastboot and run the command I gave above. (after extracting the boot.img from payload.bin and patching it, although the last link includes one prepatched that may work)
Click to expand...
Click to collapse
Thank you for replying.
I read the guide about "flashall_AFT". I think the guy needed to do that because he was converting CN to WW. So, I think you are right in that the guide might be overkill since my phone is WW.
Thank you for taking time to outline the steps. The steps you outlined seems the same as for ROG 5. Glad to know that ASUS is consistent on this.
ROG 6 is the first phone that I ever pre-ordered. Usually, I buy phones when there are already guides on rooting. So, I am a bit nervous on rooting ROG 6 since there is not dedicated and concise guide yet.
ausaras said:
Thank you for replying.
I read the guide about "flashall_AFT". I think the guy needed to do that because he was converting CN to WW. So, I think you are right in that the guide might be overkill since my phone is WW.
Thank you for taking time to outline the steps. The steps you outlined seems the same as for ROG 5. Glad to know that ASUS is consistent on this.
ROG 6 is the first phone that I ever pre-ordered. Usually, I buy phones when there are already guides on rooting. So, I am a bit nervous on rooting ROG 6 since there is not dedicated and concise guide yet.
Click to expand...
Click to collapse
Your good, just proceed as normal, I already got LSPosed, Zygisk+safteynet and all the goodies running. I see why you preordered this thing, its an absolute beast!! I am in love with it.
I wasn't even aware these phones existed but when I saw them and saw ASUS releases bootloader unlock publicly I instantly bought one as in general that's the main thing needed for rooting.
If you need any help It only took me about 15 minutes to root everything without using the guides at all as like you said it was pretty standard process. Like I said I extracted and patched the boot myself but just to potentially save time as I'm almost positive the patched image in the last link will work, and if it does not you can just reflash the one from the OTA.zip.
Good luck! (if you decide to root it will work fine)
leathan said:
Your good, just proceed as normal, I already got LSPosed, Zygisk+safteynet and all the goodies running. I see why you preordered this thing, its an absolute beast!! I am in love with it.
I wasn't even aware these phones existed but when I saw them and saw ASUS releases bootloader unlock publicly I instantly bought one as in general that's the main thing needed for rooting.
If you need any help It only took me about 15 minutes to root everything without using the guides at all as like you said it was pretty standard process. Like I said I extracted and patched the boot myself but just to potentially save time as I'm almost positive the patched image in the last link will work, and if it does not you can just reflash the one from the OTA.zip.
Good luck! (if you decide to root it will work fine)
Click to expand...
Click to collapse
I rooted my phone over the weekend. It went well.
Now, I am wondering how to update firmware. I know I need to download the full firmware from ASUS website and then place it in the root directory.
Should I flash back the stock boot.img and then update firmware?
Or, just simply flash the firmware update and then go through the whole extract boot.img from firmware, patch in Magisk, and then flash patched boot.img in fastboot?
ausaras said:
I rooted my phone over the weekend. It went well.
Now, I am wondering how to update firmware. I know I need to download the full firmware from ASUS website and then place it in the root directory.
Should I flash back the stock boot.img and then update firmware?
Or, just simply flash the firmware update and then go through the whole extract boot.img from firmware, patch in Magisk, and then flash patched boot.img in fastboot?
Click to expand...
Click to collapse
You should be done. I just fully updated and then rooted and set up my phone.
The firmware flash would have been to swap over to CN or WW. If you do that then yes you would re-factory reset + re flash stock boot.img. Then afterwards repeat the boot.img patch to obtain root + repeat setting up your safteynetfix + any other magisk modules.
ausaras said:
I rooted my phone over the weekend. It went well.
Now, I am wondering how to update firmware. I know I need to download the full firmware from ASUS website and then place it in the root directory.
Should I flash back the stock boot.img and then update firmware?
Or, just simply flash the firmware update and then go through the whole extract boot.img from firmware, patch in Magisk, and then flash patched boot.img in fastboot?
Click to expand...
Click to collapse
Hi, I am sorry the last answer I gave you was just wrong. I totally forgot when we root we wont get automatic OTA updates. Which for me is a really good thing anyway. But to get the OTA updates we need to download the firmware files from ASUS website. The same place we downloaded the unlock app but its under firmware. Download every WW firmware and put them one by one in order from oldest to newest on the /sdcard and boot up and it will detect an update. I'm pretty sure we cannot just skip to the latest update like we can with custom rom otas so I am going in order.
I left root, and when done updating will again patch the boot.img and flash it over.
Over the weekend I helped a guy root and set up safteynet and if it helps others I might just write up a tutorial.
Cheers!
Hi! Thank you very much for sharing and helping. I have Tencent edition, from CN to WW, but a couple of things don't work properly:
- Android Auto does not communicate with my car (phone detected and bluetooth connected) bit app stops.
- Gboard voice dictation does not work (google assistant yes)
Country is WW. Safetynet passed. Play certified.
..I followed your guide.
I flashed the posted xda raw throuh fastboot and the the Magisk patched .img
When I tried TO apply latest updates (160) the Same message error appeared.
There is spmething strage (or are least I think It strage):
When I start in "fastboot" (black screen with capital text single line) my device isn'r recognized by PC. Then I switch to "recovery" and then to "fastboot" and a menu (several lines) with title "fastbootd" appears and the phone is recognized by PC (fastboot devices). If I choose bootloader the first screen appears.
I tried to reflash the raw but either the phone isn't recognized or a message appears on the cmd window showing "not rog 6" (more or less) and stops. But the phone is recognized everywhere as rog6...
I miss my broken rog2, it was much easier to root
Do you have any idea what's going on? Or when the twrp boot will be released so that I can brutally flash any zip?
i need fastboot driver for win 64
Anyone know if I root my phone following these instructions, will it factory reset or wipe my data partition? Sorry it's been a while since I rooted any phone, and I am excited about going this route
can anyone provide the patched boot image to have root? Tried looking and asking in other areas but no luck. Or is there a way to patch a bot image that contains root already?
before I root my phone I wanted to ensure I had a good stock rom to load in the event of an issue.
I'm currently running Oxygen OS 11.2LE15AA.
I can't find this exact version and I understand the AA versions are little different than the TMO versions. I believe this is the "global" version. There are some 11.2.xxx.AA versions, but not this specific one.
I investigated getting the image directly off the phone, but it appears you either need to have a rooted phone, or possibly installing TWRP (or other) and creating a backup. Then extract the image files from the backup.
I've rooted phones in the past, the last being my oneplus 3t. things have changed a lot since then. I've been studying up and want to make sure I get this right.
I really would like to have a golden (and trusted) image to fall back on.
Any insights are appreciated.
btw. I have two 9 pro's. my le2125 (cracked screen) i'm testing on, and a brand new le2127 (11.2.44.LE5ACB) I'll root after confirming I can root and restore these. The later is the TMO version.
I was planning on the Magisk root option. Looks like you can do it now without TWRP. I just want to debloat and Xposed. Magisk looks like it might have some interesting options I'll explore. For now I just want to locate a stock rom for 11.2LE15AA.
Thanks in advance.
ericaiken said:
before I root my phone I wanted to ensure I had a good stock rom to load in the event of an issue.
I'm currently running Oxygen OS 11.2LE15AA.
I can't find this exact version and I understand the AA versions are little different than the TMO versions. I believe this is the "global" version. There are some 11.2.xxx.AA versions, but not this specific one.
I investigated getting the image directly off the phone, but it appears you either need to have a rooted phone, or possibly installing TWRP (or other) and creating a backup. Then extract the image files from the backup.
I've rooted phones in the past, the last being my oneplus 3t. things have changed a lot since then. I've been studying up and want to make sure I get this right.
I really would like to have a golden (and trusted) image to fall back on.
Any insights are appreciated.
btw. I have two 9 pro's. my le2125 (cracked screen) i'm testing on, and a brand new le2127 (11.2.44.LE5ACB) I'll root after confirming I can root and restore these. The later is the TMO version.
I was planning on the Magisk root option. Looks like you can do it now without TWRP. I just want to debloat and Xposed. Magisk looks like it might have some interesting options I'll explore. For now I just want to locate a stock rom for 11.2LE15AA.
Thanks in advance.
Click to expand...
Click to collapse
here
OP9Pro - Repository of MSM Unbrick Tools (TMO, EU, GLO, IN)
By using these tools, you accept full responsibility for your actions. Your warranty is void should you run any of these utilities without OnePlus support present. I am not responsible for bricks, fires, nuclear war, etc. If you modified any...
forum.xda-developers.com
ericaiken said:
before I root my phone I wanted to ensure I had a good stock rom to load in the event of an issue.
I'm currently running Oxygen OS 11.2LE15AA.
I can't find this exact version and I understand the AA versions are little different than the TMO versions. I believe this is the "global" version. There are some 11.2.xxx.AA versions, but not this specific one.
I investigated getting the image directly off the phone, but it appears you either need to have a rooted phone, or possibly installing TWRP (or other) and creating a backup. Then extract the image files from the backup.
I've rooted phones in the past, the last being my oneplus 3t. things have changed a lot since then. I've been studying up and want to make sure I get this right.
I really would like to have a golden (and trusted) image to fall back on.
Any insights are appreciated.
btw. I have two 9 pro's. my le2125 (cracked screen) i'm testing on, and a brand new le2127 (11.2.44.LE5ACB) I'll root after confirming I can root and restore these. The later is the TMO version.
I was planning on the Magisk root option. Looks like you can do it now without TWRP. I just want to debloat and Xposed. Magisk looks like it might have some interesting options I'll explore. For now I just want to locate a stock rom for 11.2LE15AA.
Thanks in advance.
Click to expand...
Click to collapse
Apart from the MSM Tools linked by the previous poster, you have all the available stock ROMs listed HERE. Check whether you can find yours there.
Do not use the Indian MSM tool what ever you do. What 11.2.x.x version do you have....?
TheGhost1951 said:
Do not use the Indian MSM tool what ever you do. What 11.2.x.x version do you have....?
Click to expand...
Click to collapse
I have Oxygen OS 11.2LE15AA
TNSMANI said:
Apart from the MSM Tools linked by the previous poster, you have all the available stock ROMs listed HERE. Check whether you can find yours there.
Click to expand...
Click to collapse
thx. per that link
Global devices (LE2125) with build tag LE15AA zips use Google OTA servers, thereby making it impossible to capture full OTA zips under normal circumstances but Android major updates. However, should they be obtained or be posted on support website, they will be added.
and the website only has the latest 11.2.10.10.LE15AA
guess i'm screwed on getting a golden image. This really opens a can of worms for me. LE15AA are they really that special? Is there a know good sub version. I've seen 11.2.1.1.LE15AA images out there.
ericaiken said:
thx. per that link
Global devices (LE2125) with build tag LE15AA zips use Google OTA servers, thereby making it impossible to capture full OTA zips under normal circumstances but Android major updates. However, should they be obtained or be posted on support website, they will be added.
and the website only has the latest 11.2.10.10.LE15AA
guess i'm screwed on getting a golden image. This really opens a can of worms for me. LE15AA are they really that special? Is there a know good sub version. I've seen 11.2.1.1.LE15AA images out there.
Click to expand...
Click to collapse
It also goes on to say
LE2127 units are T-Mobile units running their own version of OxygenOS labelled LE5ACB and lack local update option in Settings --> System --> System Updates and are therefore not supported.
Which is my new replacement, so what does "not supported" mean for rooting it
This is my setup on LE2127 TMO variant. Firmware 11.2.9.9 ( I will stay on this for now because of some issues on A12), unlocked bootloader, rooted with Magisk, TWRP installed and a special script flashed which mounts partitions as R/W. I have complete control of my phone and that is what I expect when it is in fact "my phone" unlike a Galaxy phone that bootloader is unable to be unlocked..... As for a golden firmware to fallback on, are you wanting Global or TMO?