Stuck with lost IMEI after rooting - Samsung Galaxy S7 Questions and Answers

Hi guys,
yesterday I rooted my galaxy S7 sm-g930f.
Everything worked fine and in a few minutes later I was back on stock fw with twrp and magisk root. But unfortunately I lost my IMEI and have no backup of this.
I read that I can resolve it by flashing factory binary.
Can anyone guide me through the steps I have to do? I think I'm able to manage it but wondering if there are any files I do need for my fw version or can i simple download any factory binary?
Thanks in advance
Catarrer

Flash firmware with a newer modem version compared to the one in the custom rom you were using (not factory/combination). Use the same CSC, the stock recovery might be required to apply CSC.
If that doesn't work, wipe data (backup photos and all that).
Backup EFS in TWRP, nothing else unless sure.

Hi Bryan48765,
Thanks for your reply.
I'm downloading atm the newest fw which is available for my device. (May be take a while with 2k dsl...)
I'm going more concrete about the steps I did:
I activated the dev options, switched on the oem unlock and then switched to download mode.
Installed the latest twrp with the latest Odin version.
First I rooted my device then with chainfires supersu, but it doenst show up as rooted (rootchecker) so I flashed back a boot loader for my device which I downloaded here. Unfortunately i don't know any more which one...
After flashing the vootloader I installed magisk and everything was fine... and then a few hours later i recognised that mobile network isn't working. A few looks later I saw that there was no imei... so I don't know if it was working before flashing the boot loader or the error occurred afterwards.
I'll try tomorrow to flash the downloaded fw.
Do I get the single csc file for my current version or do I need to download the whole fw? (Takes about 5h)
Thanks in advance
Cayarrer

Thank you!
I'm now back to stock fw and have my imei back! Thank you so much!
At weekend I will try to root again. Do I need to pay attention to anything to not lose my imei again?
I would follow these steps:
Flash latest twrp for my device without auto reboot, boot directly into recovery and flash there the no-verity file and then the magisk. Am I right or do I need some more or less?
You guys at sea are so amazing! Thank you!

Catarrer2 said:
Thank you!
I'm now back to stock fw and have my imei back! Thank you so much!
At weekend I will try to root again. Do I need to pay attention to anything to not lose my imei again?
I would follow these steps:
Flash latest twrp for my device without auto reboot, boot directly into recovery and flash there the no-verity file and then the magisk. Am I right or do I need some more or less?
You guys at sea are so amazing! Thank you!
Click to expand...
Click to collapse
Backup the EFS, and store it in the cloud (not public), maybe encrypt the zip it is stored in. Only if a lot of firmware changes and data wipes don't return the imei, restore the backup. The restoration could also affect some modem settings, battery wear info, and it might not be restored correctly.
Unlock the bootloader before flashing the latest twrp. RMM serms to not apply here.
If the phone is encrypted (should be visible in the security settings) twrp might show that it "failed to mount /data", and it's normally where the root zip is stored. Alternatively, move the root zip and others to the external sdcard, though with root+encryption there might or might not be a risk for a type of brick.
Encryption is disabled by formatting /data and flashing a zip that disables it.
no-verity-opt-encrypt might already be in magisk but flash it anyway and if it fails return to the stock kernel ("boot" in twrp)

Related

LG G5 H830 10a will not update

So I'm having an issue with updating my phone.
I have tried reading all of the threads, but so many things are still a mystery and are confusing. I haven't been able to get a full understanding of all of this.
I have a LG G5 H830 10a T-Mobile variant.
I am running Android 6.0.1
I have a custom recovery of TWRP
My phone is rooted with SuperSU also.
All I want to do, is to update my phone to Nougat. What is the process I have to go through? After reading all about it, here is my assumption:
I download Flashfire and use DisableService to disable my root and SuperSu, then I run the OTA Nougat update...
That didn't work. I got an error from TWRP that said:
"unable to flash update.zip from cache/update.zip, update is meant for "h1" device, your device is an H830"
Or something along those lines.
I have a Nandroid backup, so I'm not worried if I brick or soft brick it.
Any help please?
Thanks!
technocrat7 said:
So I'm having an issue with updating my phone.
I have tried reading all of the threads, but so many things are still a mystery and are confusing. I haven't been able to get a full understanding of all of this.
I have a LG G5 H830 10a T-Mobile variant.
I am running Android 6.0.1
I have a custom recovery of TWRP
My phone is rooted with SuperSU also.
All I want to do, is to update my phone to Nougat. What is the process I have to go through? After reading all about it, here is my assumption:
I download Flashfire and use DisableService to disable my root and SuperSu, then I run the OTA Nougat update...
That didn't work. I got an error from TWRP that said:
"unable to flash update.zip from cache/update.zip, update is meant for "h1" device, your device is an H830"
Or something along those lines.
I have a Nandroid backup, so I'm not worried if I brick or soft brick it.
Any help please?
Thanks!
Click to expand...
Click to collapse
You're not going to be able to update to Android N yet if you want to keep twrp and root. Only way to do it currently is if you have 100% stock phone and update via ota or using the zip file that was posted. If you don't care about root or twrp, update to 10j using the complete zip that autoprime posted and don't install SuperSU or dm-verity and let boot. You will have 100% stock and can take ota or use zip method. *** There is no current way to get root or twrp for t mobile version once on official android N yet *** So if root and twrp are important just wait until autoprime gets a chance to upload the flashable zip files for N to flash in twrp. You could also use cm or cm based Roms if you want android N, plus those are 7.1 stock is only 7.0, but if you want stock rooted just have to wait until it's released.
jeffsga88 said:
You're not going to be able to update to Android N yet if you want to keep twrp and root. Only way to do it currently is if you have 100% stock phone and update via ota or using the zip file that was posted. If you don't care about root or twrp, update to 10j using the complete zip that autoprime posted and don't install SuperSU or dm-verity and let boot. You will have 100% stock and can take ota or use zip method. *** There is no current way to get root or twrp for t mobile version once on official android N yet *** So if root and twrp are important just wait until autoprime gets a chance to upload the flashable zip files for N to flash in twrp. You could also use cm or cm based Roms if you want android N, plus those are 7.1 stock is only 7.0, but if you want stock rooted just have to wait until it's released.
Click to expand...
Click to collapse
Ohh okay, perfect thank you!
With that in mind, I had another question..
I have an LG V20 as well.
One thing I was thinking of doing was the following:
Unlocking the bootloader, putting a custom recovery like TWRP on it.
Make a Nandroid backup.
Then root it, and then go about my business. If something like this happens again and I want to update, I can simply do a Titanium Backup go to my Nandroid backup, restore it. Then update OTA, then reroot, run titanium backup restore, and then I'll be back where I left off.
will that work?
And one last question:
How would I go back to factory settings on my LG G5?
technocrat7 said:
Ohh okay, perfect thank you!
With that in mind, I had another question..
I have an LG V20 as well.
One thing I was thinking of doing was the following:
Unlocking the bootloader, putting a custom recovery like TWRP on it.
Make a Nandroid backup.
Then root it, and then go about my business. If something like this happens again and I want to update, I can simply do a Titanium Backup go to my Nandroid backup, restore it. Then update OTA, then reroot, run titanium backup restore, and then I'll be back where I left off.
will that work?
And one last question:
How would I go back to factory settings on my LG G5?
Click to expand...
Click to collapse
I'm not 100% sure but I don't think that would work as once you install twrp it modifies the recovery. IMG which would cause ota to fail. But on the other hand, you could most likely do the same method as the g5 to go back to official and take ota. Flashing the complete zip (if those are being created for the v20, haven't checked that thread as I don't own that device) and not re-installing the dm-verity or SuperSU will always reinstall the original boot.img and recovery.img and be 100% official stock. Hope this helps.
jeffsga88 said:
I'm not 100% sure but I don't think that would work as once you install twrp it modifies the recovery. IMG which would cause ota to fail. But on the other hand, you could most likely do the same method as the g5 to go back to official and take ota. Flashing the complete zip (if those are being created for the v20, haven't checked that thread as I don't own that device) and not re-installing the dm-verity or SuperSU will always reinstall the original boot.img and recovery.img and be 100% official stock. Hope this helps.
Click to expand...
Click to collapse
Thanks!
That helps a ton.
What is dm-verity though?
technocrat7 said:
Thanks!
That helps a ton.
What is dm-verity though?
Click to expand...
Click to collapse
The zip file we flash to disable force encryption (now this is part of the latest SuperSU zips).
jeffsga88 said:
The zip file we flash to disable force encryption (now this is part of the latest SuperSU zips).
Click to expand...
Click to collapse
Can you link to the latest superuser? Just wanna have it on hand for when the H830 N zip drops
carnivalrejectq said:
Can you link to the latest superuser? Just wanna have it on hand for when the H830 N zip drops
Click to expand...
Click to collapse
Here's the link to chainfires thread which will always have the latest beta supersu versions:
http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133

[BACKUP-IMAGE] [XT1572 EU] Moto X Style Android 7.0 Nougat Build NPH25.200-15 (EU)

Hi guys,
I bought the "new" Moto X Style last week for 250€(new, white, 32gb) and updated it to the highest Android 6.0 version from Motorola. After that, i flash the OTA-file from:
https://forum.xda-developers.com/moto-x-style/general/ota-moto-x-style-android-7-0-nougat-t3630248
After that, i unlock the bootloader, flash TRWP, clean the data and create a System backup:
https://xda.bioharz.xyz/2017-07-15--06-20-47_NPH25.200-15.7z
This is unmodified! and unrootedI actually have no time to create a System image, but this should also work for you.
I hope this can help you.
Thanks,
One question, this backup work in XT1572 CID12?
Necrodaemon said:
Thanks,
One question, this backup work in XT1572 CID12?
Click to expand...
Click to collapse
nope, only for the EU model
Netflix not working after installing
anth0nymDROID said:
Netflix not working after installing
Click to expand...
Click to collapse
Probably failing SafetyNet API check but what is the error?
Nougat will fail if the bootloader is unlocked and you don't have the Magisk module to stop SafetyNet. In Nougat an unlocked bootloader is enough to get it to fail even if otherwise 100% stock.
Netflix could also be confused as to your region if you restored the backup in this thread.
acejavelin said:
Probably failing SafetyNet API check but what is the error?
Nougat will fail if the bootloader is unlocked and you don't have the Magisk module to stop SafetyNet. In Nougat an unlocked bootloader is enough to get it to fail even if otherwise 100% stock.
Netflix could also be confused as to your region if you restored the backup in this thread.
Click to expand...
Click to collapse
Im reteu fr in Germany but if that's the case well no mobile Netflix I can still live my life without it.
anth0nymDROID said:
Im reteu fr in Germany but if that's the case well no mobile Netflix I can still live my life without it.
Click to expand...
Click to collapse
Magisk 13.3 can help with the safety net test. Here is how to install at stock: post #4
https://forum.xda-developers.com/moto-x-style/general/guide-flashing-stock-firmware-t3637235
dzidexx said:
Magisk 13.3 can help with the safety net test. Here is how to install at stock: post #4
https://forum.xda-developers.com/moto-x-style/general/guide-flashing-stock-firmware-t3637235
Click to expand...
Click to collapse
That's good advice!! Thanks I'll try it later and see how it goes
What is the proper way to flash this backup using TWRP? I did a adb push to /sdcard with al files from the extracted .7z file but TWRP can't ze the backup.
What am I doing wrong?
xabr3 said:
What is the proper way to flash this backup using TWRP? I did a adb push to /sdcard with al files from the extracted .7z file but TWRP can't ze the backup.
What am I doing wrong?
Click to expand...
Click to collapse
Extract the backup zip file. Copy the last folder (containing the boot and system images) to your phone's TWRP Backup folder. Now you will see it in TWRP. Now perform a full backup. Then restore the copied-over nougat backup. Now you can pick on of the following two options.
1. f you have time, you do not need to delete your data before rebooting. You can always uninstall and reinstall any problem apps that show up after rebooting. That is what I did.
2. Of course, if you are in a hurry, you can delete your data and then reboot. That would be called a "clean install" and I don't do that very often.
Hope this helps.
@bioharz
Cheers for this. I was contemplating what method might be easiest for upgrading my rooted Moto X Style (EU) from MM 6.01 to Nougat 7.0. Ideally, this would have been a TWRP flashable ZIP, however, you have provided the second best option, which is a TWRP backup.
My method was as follows:
1) Make full TWRP backup of existing MM installation to extSD
2) Backup my Nova settings to extSD
3) Download, unzip and copy your backup to the TWRP location on extSD
4) Boot into TWRP and wipe Dalvik/ART, Cache, System and Data partitions via Advanced Wipe menu
5) Flash System and Boot partitions from your Nougat backup, BUT NOT EFS partition !!!
6) Reboot, log onto previous Google Account and restore all apps.
7) Restore Nova settings
8) Root with SuperSU (systemless) and SuHide
Worked a treat :good:
Are you sure - you need nougat with old radios?
You could reflash stock MM, update to Nougat, root, restore all you want. @Yemble
Will it work on moto x style Indian variant?
dzidexx said:
Are you sure - you need nougat with old radios?
You could reflash stock MM, update to Nougat, root, restore all you want. @Yemble
Click to expand...
Click to collapse
I am certain that I do not wish to screw up my phone with someone elses IMEI. Besides, what exactly is wrong with the MM radios? They are working perfectly on my phone.
Actually, given that I am now in a good position to experiment further, I have flashed the Nougat EFS partition on its own to my phone. Thankfully, it did not affect the IMEI or any network connectivity (SIM or WiFi). However, it has not changed the base band version either, so it may, in fact, be identical to the MM EFS anyway!
coolncoolest said:
Will it work on moto x style Indian variant?
Click to expand...
Click to collapse
Take a TWRP backup first, then give it a go. What have you got to lose?
I suggest that you try it without the EFS partition first. If that works, take another TWRP backup and then try flashing EFS on its own.
@coolncoolest @Yemble
Don't flash/restore EFS from another phone - you can lose your IMEI.
India - RetAsia version has the same baseband as RetEu - cid7.
Dual sim probably will not work.
dzidexx said:
@coolncoolest @Yemble
Don't flash/restore EFS from another phone - you can lose your IMEI.
India - RetAsia version has the same baseband as RetEu - cid7.
Dual sim probably will not work.
Click to expand...
Click to collapse
Clearly you are wrong about this (on this particular phone model), as I have already tried it and it proved that it did not break, or change, anything! I am aware that flashing EFS can be dangerous on older Samsung phones, hence my cautious approach that you appeared to be dissing in your previous post
I believe in hard facts, rather then hearsay. I have now upgraded three XT1572 (EU) phones from the posted TWRP image using the method that I outlined previously, together with the later flashing of the EFS partition. All three phones work perfectly and all three pass SafetyNet.
Someone else may be less fortunate than you and there is no reason to flash/restore efs.
Not only Samsung can lost imei in this way - Lenovo(+tablets), other Moto series, all Mtk devices(there is easy way to restore imei).
For Moto I don't know any restoring procedure. Sorry - one - mainboard replacement. @Yemble
dzidexx said:
Someone else may be less fortunate than you and there is no reason to flash/restore efs.
@Yemble
Click to expand...
Click to collapse
Really, then what was the point of your post at the top of this page?
Yemble said:
Really, then what was the point of your post at the top of this page?
Click to expand...
Click to collapse
Do you mean:
Nougat with old radios?
I meant:
Flash stock 6.0.1 24...58-5 with fastboot and get ota update.
Somewhere I uploaded my backup(6.0.1 EU) - without efs.

Can I flash TWRP backup through ODIN?

I got the "custom binary boot blocked by frp lock" issue so I gotta reflash the stock firmware, which I should have since I did a full TWRP backup so if I convert my twrp backup in to a flashable zip will i be able to flash it through ODIN? (obviously i cant do it through TWRP Recov since I can only access download mode)
I can get the stock firmware from sammobile.com but its going to take like 4h+ to download and I dont have time for that
izou1838 said:
I got the "custom binary boot blocked by frp lock" issue so I gotta reflash the stock firmware, which I should have since I did a full TWRP backup so if I convert my twrp backup in to a flashable zip will i be able to flash it through ODIN? (obviously i cant do it through TWRP Recov since I can only access download mode)
I can get the stock firmware from sammobile.com but its going to take like 4h+ to download and I dont have time for that
Click to expand...
Click to collapse
Had the same issue. Rookie mistake. I accidentally left the developer option OEM unlock disabled and viola! Had to do a reset. Also, if you had any fingerprints while using the Rom you used, You might come into issues when resetting using Odin. You might have to format your internal memory using TWRP. Im not saying its something slcertain. I just had to. The only firmware I had available was a 6.0.1 MM stock Rom and I came into issues when unlocking the phone. Remember, this was a full reinstall in Odin and the screen was locked. When I unlocked the screen it would just reboot. So, lesson learned. Make sure if you go and root your phone again never ever, ever, ever disable that option in developer.
But try it. You can follow the steps from the root guide for nougat in the threads and go up until the step where you install TWRP. Boot into TWRP and see if you can restore the backup. Chances are it might work without having to do the extra steps like reinstalling the stock firmware. If that doesn't work and you run into issues in TWRP you might need to reinstall everything from scratch again.
Thanks! Already figured it out ?
please explain
izou1838 said:
Thanks! Already figured it out
Click to expand...
Click to collapse
my note 5 is at custom binary blocked by frp lock. i think I also turned off the option of oem unlock in developers option by mistake.
I have twrp back up on pc only. please help me how to unbrick the phone now.
Unfortunately the TWRP back is no help ):
However if you have the stock full system image you can just flash that through ODIN and then re-root? easy fix.
Look for the image here in XDA I've seen it
Sir i have note 5 with csc n920pvps3bpk1 shows in phone aftar dialing *#1234# but on the box of this cell phone is printed as n920fvps3bpk1 and n9200 will u plz tell me which csc is correct and i want to upgrade it to 7.0 and its knox waranty has voided.
izou1838 said:
I got the "custom binary boot blocked by frp lock" issue so I gotta reflash the stock firmware, which I should have since I did a full TWRP backup so if I convert my twrp backup in to a flashable zip will i be able to flash it through ODIN? (obviously i cant do it through TWRP Recov since I can only access download mode)
I can get the stock firmware from sammobile.com but its going to take like 4h+ to download and I dont have time for that
Click to expand...
Click to collapse
Hi, I have the same problem with an SM-520F, did you manage to solve it?

[Guide] XT1575 Update To NPH25.200-22 Nougat After Modifying Your System & Re-Root

[Guide] XT1575 Update To NPH25.200-22 Nougat After Modifying Your System & Re-Root
THIS GUIDE IS NOW DEPRECATED. THERE IS NO NEED ANYMORE TO GO THROUGH THE UPDATING PROCESS AS THERE IS A FULL NOUGAT FACTORY IMAGE AVAILABLE (Build NPH25.200-22). FIRMWARE AVAILABLE HERE: https://forum.xda-developers.com/moto-x-style/general/xt1575-moto-x-pure-edition-factory-t3704142 BE SURE TO THANK @acejavelin FOR TRACKING DOWN THE FIRMWARE PACKAGE FOR US.
Notes:
-YOU ATTEMPT THIS AT YOUR OWN RISK IF YOU FLASHED ANY FIRMWARE PREVIOUSLY NOT FOR THE XT1575 US VERSION
-This guide will have 2 parts. 1 for those that kept their systems read only/systemless, and 1 for those that did not.
-Whether you live booted TWRP or Installed TWRP, if you chose to allow system modifications your OTA will likely fail (you'll need part 2).
-Restoring a TWRP backup will not work and will cause an OTA to fail due to having to allow system write access in TWRP - You Need Part 2.
-This guide assumes you have basic ADB knowledge and already know what fastboot is and how it works.
-Thanks to @gokart2 for the OTA and @acejavelin for the return to stock guides
Part 1: Those That Tweaked Systemlessly Currently On 24.49-18-16 (Will only work if you kept TWRP read only/used systemless root):
1: Disable & Remove systemless Xposed within Magisk Manager and all other Magisk modules. Reboot and wait for Art cache to rebuild.
2: Remove any adblock hosts within your adblock app if installed, or any other root level system altering apps like Greenify (don't worry, you'll get them back).
3: Remove Magisk by booting into TWRP and flashing the current Magisk Removal zip. Reboot.
4: For systemless SuperSu you need to consult their thread as I do not use it. (I'll update this if someone knows the correct process).
5: ADB reboot bootloader and fastboot flash the stock recovery. Latest MM recovery links at the bottom of this post. (rename file to recovery.img).
6: Move the OTA Blur_Version.24.231.16.clark_retus.retus.en.US.zip to the root of your internal sd card (NOT in a folder). File links at the bottom of the post. Thanks @gokart2
7: ADB reboot recovery, when "no command" is listed, hold power + tap volume up then release to access recovery options. Choose "apply update from phone storage". Choose the file and wait for the flash. It's a large update so be patient (about 10-20min). Choose reboot manually in recovery after flash succeeds. Enjoy Nougat!
8: For root you can go ahead and flash TWRP again or live boot TWRP (fastboot boot twrp.img) and then flash Magisk 14.0 from TWRP. Works perfectly.
Part 2: Those That Have Done Everything - TWRP Write Access, Custom Roms, On Older Firmware, Etc (XT1572 Build Flashers Do This At Their Own Risk):
1: Flash the latest full factory image available (24.49-18-8) available here: https://forum.xda-developers.com/mo...de-return-to-stock-relock-bootloader-t3489110. Thank @acejavelin for the thread while your at it. Follow the directions in that guide, it's well detailed and accurate - however read my notes just below first:
NOTES:
-Omit the "fastboot oem lock begin" & "fastboot oem lock" commands to remain bootloader unlocked.
-Omit the "fastboot erase userdata" command if you want to dirty flash and keep all of your data. I recommend clean, you can always root & restore each apps data with Titanium after the Playstore installs everything.
-The "fastboot oem fb_mode_set" instead of "fastboot oem lock begin" & "fastboot oem fb_mode_clear" instead of "fastboot oem lock" I've found to be unnecessary if staying unlocked. Your choice.
-The "fastboot flash partition gpt.bin" & "fastboot flash bootloader bootloader.img" commands will likely fail due to version mismatches. This is ok.
-The "fastboot flash modem NON-HLOS.bin" tends to fail too. For this, just run the command again until it succeeds.
2: After flashing 24.49-18-8 take the OTA to 24.49-18-16. Reboot. OTA zip provided below if you prefer to sideload.
3: Either install the 7.0 OTA the normal way via the update center or just side load it using the directions above. I recommend side loading due to the file size being very close to 1GB.
4: For root you can go ahead and flash TWRP again or live boot TWRP (fastboot boot twrp.img) and then flash Magisk 14.0 from TWRP. Works perfectly!
For Xposed, See My Guide Here: https://forum.xda-developers.com/showpost.php?p=74014516&postcount=96
Stock MM 24.49-18-16 Recovery: https://mega.nz/#!aZpC2RzQ!Fy3GTo_XYPjB1lwuHffCUUERuvnsyvON3kS8kMJ9Cm8
Stock MM 24.49-18-16 Recovery Mirror: https://drive.google.com/file/d/0BxxRfNko9QDKNS1NdnAyZVp6dVU/view?usp=sharing
24.49-18-8 OTA to 24.49-18-16: https://mega.nz/#!yZx2FLzR!cWfKIAYe5VyuadLI55UNHJvwWU98CXUi1g0DO1pDoKg
NPH25.200-22 OTA: https://mega.nz/#!HVhWWLxK!h-8G3vO3Sye_YwypyIJyWb2_79Ow34vNiDnMl2Q8uJg
NPH25.200-22 OTA Mirror: https://drive.google.com/file/d/0B3gPYUZ4nRLwOHJKQnNYczNEMHc/view?usp=sharing
MD5 for NPH25.200-22 OTA: 74d1a4b135200661cc4efd248f99ce33
Stock 7.0 NPH25.200-22 Recovery: https://mega.nz/#!TNoHQAjI!5U2w4p_G7pHlW6Mak7LqFR_PeWUDpSLc7S3OiUs_Qf8
Alrighty. I got back to stock 6.0 with the 18-16 update. I couldn't get the OTA via the system update, so I tried doing it via ADB. That threw up a "status 7 error". I then copied the file to my internal storage and selected update via SD Card in recovery. It hung on "Patching System Files" for a while, but in the end it moved on and worked fine. Thanks for the awesome guide!
Thread updated with downloads for the 24.49-18-8 OTA to 24.49-18-16 zip.
I exctracted the 7.0 Stock recovery to replace if you decide to flash TWRP and want to go back to the stock recovery for future updates (HAHAHA yeah right!). Download link in OP. The 7.0 Recovery is different than the MM recovery. They are not interchangeable. Don't flash the 7.0 recovery on MM.
Question... can those of us who are rooted, custom roms, with TWRP, not just flash a stock unrooted TWRP backup from here: https://forum.xda-developers.com/moto-x-style/development/pure-firmware-tuff-wip-t3224833
Then, flash the stock recovery like it says... and take the update? Isn't that easier than this method?
Bwangster12 said:
Question... can those of us who are rooted, custom roms, with TWRP, not just flash a stock unrooted TWRP backup from here: https://forum.xda-developers.com/moto-x-style/development/pure-firmware-tuff-wip-t3224833
Then, flash the stock recovery like it says... and take the update? Isn't that easier than this method?
Click to expand...
Click to collapse
It probably won't work. Once TWRP is given write access to your system (which is required to flash a full rom or restore a backup) any OTA's will fail. Plus any modem/bluetooth mismatches will cause a failure too. Fastboot flashing a stock image is really very easy & pretty much a guarantee that everything will work properly. However, if your able to get it to work, please let us know...though I don't think it will.
annoyingduck said:
It probably won't work. Once TWRP is given write access to your system (which is required to flash a full rom or restore a backup) any OTA's will fail. Plus any modem/bluetooth mismatches will cause a failure too. Fastboot flashing a stock image is really very easy & pretty much a guarantee that everything will work properly. However, if your able to get it to work, please let us know...though I don't think it will.
Click to expand...
Click to collapse
Once I do this, I can just reinstall TWRP and Magisk, backup the stock 7.0 and if I ever decided, just flash a custom rom later on?
hey thanks for the help on this one. I was so worried because I got stuck on th May security update OTA-wise.
question: I messed with the LatAm version of Nougat, so when I tried to re-lock the bootloader, it game the preflash error.
After this proper update flash, is there a way to run the bootloader CMD to just re-lock the bootloader?
Here's the recovery before the 7.0 one, just incase.. Was bored. Ok, I won't lie....didn't see u posted the 7.0 recovery....lol.:good::highfive:
Bwangster12 said:
Once I do this, I can just reinstall TWRP and Magisk, backup the stock 7.0 and if I ever decided, just flash a custom rom later on?
Click to expand...
Click to collapse
Yup. TWRP flashes and works, magisk v14 works, and so far systemless xposed api24 is working.
EsteBandido4444 said:
hey thanks for the help on this one. I was so worried because I got stuck on th May security update OTA-wise.
question: I messed with the LatAm version of Nougat, so when I tried to re-lock the bootloader, it game the preflash error.
After this proper update flash, is there a way to run the bootloader CMD to just re-lock the bootloader?
Click to expand...
Click to collapse
What is everyone's fascination with relocking the bootloader? You do not need to relock your bootloader. You cannot relock the bootloader unless all your system partitions match. Use my part 2 section. Read the notes, skip the bootloader lock commands. Leave your bootloader unlocked, get up and running on nougat, then you can issue the lock commands if you really want a locked bootloader.
How exactly do you flash the 24.49-18-16 OTA? I'm stuck at this part
EDIT nevermind didn't read lol
Amp699435 said:
How exactly do you flash the 24.49-18-16 OTA? I'm stuck at this part
Click to expand...
Click to collapse
Copy the file to the root of your internal storage. Reboot into recovery. Hold power = volume up & release to access menu options. Choose apply update from storage. Select the OTA.zip package and let it install. (Directions are clearly written in OP.)
Does it matter which version you're on? I'm currently on MPSH24.49-18-4 with the May 2016 security update.
GrandAdmiral said:
Does it matter which version you're on? I'm currently on MPSH24.49-18-4 with the May 2016 security update.
Click to expand...
Click to collapse
Part 1 implies that you are on MPSH24.49-18-16 (dec), for part 2 - no it doesn't matter. Go ahead and start with the full firmware available MPSH24.49-18-8 and follow the steps from there.
annoyingduck said:
Part 1 implies that you are on MPSH24.49-18-16 (dec), for part 2 - no it doesn't matter. Go ahead and start with the full firmware available MPSH24.49-18-8 and follow the steps from there.
Click to expand...
Click to collapse
Ok. Was going to have to follow option two anyway because of how I rooted...
Now I also take it that flashing Magisk is recommended, but optional?
GrandAdmiral said:
Ok. Was going to have to follow option two anyway because of how I rooted...
Now I also take it that flashing Magisk is recommended, but optional?
Click to expand...
Click to collapse
Root is completely up to you. It's noted so users know that TWRP/Root are working. My logic with any XDA thread is that your bootloader is unlocked and you want root, but that's me...
annoyingduck said:
Root is completely up to you. It's noted so users know that TWRP/Root are working. My logic with any XDA thread is that your bootloader is unlocked and you want root, but that's me...
Click to expand...
Click to collapse
Gotcha. I know I'm going to root again, but I've never used Magisk before so I wasn't sure of that piece.
annoyingduck said:
Part 1 implies that you are on MPSH24.49-18-16 (dec), for part 2 - no it doesn't matter. Go ahead and start with the full firmware available MPSH24.49-18-8 and follow the steps from there.
Click to expand...
Click to collapse
I am running Dirty Unicorns right now and when i looked up what I'm on in fastboot, it showed MPSH24.49-18-16. Would I just follow part 2 and use MPSH24.49-18-8 or something? I thought I had to use at least the version I'm on or newer.
GrandAdmiral said:
Does it matter which version you're on? I'm currently on MPSH24.49-18-4 with the May 2016 security update.[/QUOTE
Your issue is that TWRP has modified your
System, any restoring of the stock rom will fail to update. So yes, you'll need to go through part 2 and downgrade and work your way back up.
Click to expand...
Click to collapse
I downloaded the zip (it took a while).
Restored to stock like 3 different ways but still hit a road block. I went the adb sideload route but got status error 7 because my build fingerprint wasn't correct. I tried searching for the right build I need, but I'm not an expert and couldn't find the right set of files that I was sure I knew how to restore. I ended up restoring my AICP backup.
If somebody could PM me and give me a hand (messaging through Hangouts or something) that would be AWESOME!
I'm planning trying to snag an XL 2 pre-order next week, but until then the less headache the better! Plus stock Nougat looks better on a Swappa listing
Trying to sideload via recovery 24.49-18-16 but I keep getting "("unexpected contents:EMMC:/dev/block/bootdevice/by-name/boot...". I've also tried installing from the phone but the same error appears in recovery. Any ideas?

HTC U11 firmware upgrade

Hello everyone,
First of all, sorry if i post it in the wrong section and if i am not always making sense.
So here is my situation :
i have a HTC U11 which i rooted a long time ago with TWRP & SU.
I then switch SU to Magisk (a year ago), because i needed to hide my root from few apps.
I wanted to update magisk Manager, but i lamely failed
(i went to recovery mode, installed the uninstaller ZIP for Magisk in order to put a version above 18 but then i had a boot.img missing error)
So i did restore an old backup that i had from 2017...
Currently i have :
Version android : 7.1.1
Firmware version : 1.27.400.8
Magisk version : 18.1
Magisk Manager Version : v7.1.1
TWRP Version : 3.3.0.0-ocn
My questions :
I want to update my firmware. I mean, my phone tells me there is an update. Is it what we call OTA ?
After i've downloaded the new firmware version (1.27.400.21), i select install now, and my phone reboots to Recovery mode, but asks me for a password (to decrypt data).
What the hell is that ?
Also, i would like to be able to still install this new version (and the futures ones).
How do i do that ?
Is it possible to upgrade the Android version too ?
I wish not to have to wipe or lose data.
What's the point to wipe data, dalvik, cache ?
When you do it do you lose your personnal data ?
Many thanks for your helps and support
toto_rigolo said:
Hello everyone,
First of all, sorry if i post it in the wrong section and if i am not always making sense.
So here is my situation :
i have a HTC U11 which i rooted a long time ago with TWRP & SU.
I then switch SU to Magisk (a year ago), because i needed to hide my root from few apps.
I wanted to update magisk Manager, but i lamely failed
(i went to recovery mode, installed the uninstaller ZIP for Magisk in order to put a version above 18 but then i had a boot.img missing error)
So i did restore an old backup that i had from 2017...
Currently i have :
Version android : 7.1.1
Firmware version : 1.27.400.8
Magisk version : 18.1
Magisk Manager Version : v7.1.1
TWRP Version : 3.3.0.0-ocn
My questions :
I want to update my firmware. I mean, my phone tells me there is an update. Is it what we call OTA ?
After i've downloaded the new firmware version (1.27.400.21), i select install now, and my phone reboots to Recovery mode, but asks me for a password (to decrypt data).
What the hell is that ?
Also, i would like to be able to still install this new version (and the futures ones).
How do i do that ?
Is it possible to upgrade the Android version too ?
I wish not to have to wipe or lose data.
What's the point to wipe data, dalvik, cache ?
When you do it do you lose your personnal data ?
Many thanks for your helps and support
Click to expand...
Click to collapse
aq
Find out your cid/mid
You will need to flash the appropriate ruu (nougot) for your phone from here (sd card method)
https://docs.google.com/spreadsheets/d/15JL3tRWDSVOUKo_revEYtQ_tRcOSJ0vWcvk8a7TK8Hk/htmlview
in order to receive the ota updates. And yes you will lose everything. Backup as much as you can . And once you go to pie there is no going back unless s-off. ( There is another way but more involved) . hth
Thanks for your reply.
How do i find my cid/mid ?
I tried yesterday to use adb, but i could NOT find my device in download mode... The only way i was able to see it was to boot in recovery mode.
Can i still get my cid & mid if can find my device whilst it's in recovery mode ?
So i understood that i need to download the right file, rename it, put it on the root of the SD CARD and then boot my phone in bootlader mode.
Don't i have at some point specify the ZIP file to use ? Does it mean it will detect it automatically ?
Then why doesn't it work if i put it on the root of the internal sotrage of my phone ?
If i flash a RUU, will my phone still be rooted and unlocked ?
toto_rigolo said:
Thanks for your reply.
How do i find my cid/mid ?
I tried yesterday to use adb, but i could NOT find my device in download mode... The only way i was able to see it was to boot in recovery mode.
Can i still get my cid & mid if can find my device whilst it's in recovery mode ?
So i understood that i need to download the right file, rename it, put it on the root of the SD CARD and then boot my phone in bootlader mode.
Don't i have at some point specify the ZIP file to use ? Does it mean it will detect it automatically ?
Then why doesn't it work if i put it on the root of the internal sotrage of my phone ?
If i flash a RUU, will my phone still be rooted and unlocked ?
Click to expand...
Click to collapse
I believe the adb command is "getvar all" while in the download mode. get the cid/ mid number reboot then get matching nougot ruu zip. rename to 2pzcimg. zip place in the root of sd card boot to download mode not bootloader, it will detect automatically, hth
Thanks.
Will my phone still be rooted ?
Will i have to reinstall Magisk & Magisk Manager ?
toto_rigolo said:
Thanks.
Will my phone still be rooted ?
Will i have to reinstall Magisk & Magisk Manager ?
Click to expand...
Click to collapse
Oh no it won't be, you will have to reinstall twrp, Magisk,
fair enough.
but sadly, adb doesn't work on my computer. I can't see my phone.
I only get something when my phone is in recovery mode.
download more & bootloader mode, i can't find it.
toto_rigolo said:
fair enough.
but sadly, adb doesn't work on my computer. I can't see my phone.
I only get something when my phone is in recovery mode.
download more & bootloader mode, i can't find it.
Click to expand...
Click to collapse
Try installing htc sync manager then reboot and run adb. You just may need the right drivers
I have read more about it and you're right it should be something like that.
Also, once i have flashed the RUU, rooted again, installed TWRP & Magisk, will i still be able to update OTA ?
I don't understand when some people say they uninstalled Magisk, intall the OTA and install Magisk back on...
Is it really the way to do it ? To be able to install latest OTAs ?
toto_rigolo said:
I have read more about it and you're right it should be something like that.
Also, once i have flashed the RUU, rooted again, installed TWRP & Magisk, will i still be able to update OTA ?
I don't understand when some people say they uninstalled Magisk, intall the OTA and install Magisk back on...
Is it really the way to do it ? To be able to install latest OTAs ?
Click to expand...
Click to collapse
You will have to install ota before rooting , once rooted or twrp installed Ota will not install. This is my understanding, if someone has a different approach please chime in. Installing just the firmware is a different animal and requires more reading!! Hth
Okay so we are on the same page.
So my question is ow do you keep installing OTAs when your phone rooted or with TWRP ??
also i remember my cid is HTC__060 which i believe is india.
Is there anyway i can change it to Europe ? I mean, is there any interest for me to do so ?
toto_rigolo said:
Okay so we are on the same page.
So my question is ow do you keep installing OTAs when your phone rooted or with TWRP ??
also i remember my cid is HTC__060 which i believe is india.
Is there anyway i can change it to Europe ? I mean, is there any interest for me to do so ?
Click to expand...
Click to collapse
Ota will stop once twrp is installed, I really don't see a benefit changing cid, but that's up to u ?
To install an OTA with twrp you have to:
1. Download the OTA in zip format (search in this forum).
2. Copy it to mobile memory.
3. Reboot to twrp and apply manually the zip.
If you are going to change the Cid, change to Taiwan version (that region has received more updates than the rest of the world).

Categories

Resources