WiFi won't turn on after Nandroid - X Style (Pure) Q&A, Help & Troubleshooting

So this started on Saturday. Motorola has been nagging me all week to update to Nougat and I have declined due to lack of XPosed compatibility. On Saturday, I turned my phone on only to see the update in progress. Don't know how they did that unless I unconsciously touched confirm with my butt at some point.
I have a Nandroid backup so I thought the solution would be simple -- restore the backup and get on with my life. After restoring the backup, the WiFi no longer works. On the searching for networks screen it appears to be on. But on the "more setting" screen, it is off and will not turn on.
I had this problem once before and reflashing the modem fixed it. I've flashed it three times now and it is still not fixed. What else might be the problem? Thanks!

pjcamp said:
So this started on Saturday. Motorola has been nagging me all week to update to Nougat and I have declined due to lack of XPosed compatibility. On Saturday, I turned my phone on only to see the update in progress. Don't know how they did that unless I unconsciously touched confirm with my butt at some point.
I have a Nandroid backup so I thought the solution would be simple -- restore the backup and get on with my life. After restoring the backup, the WiFi no longer works. On the searching for networks screen it appears to be on. But on the "more setting" screen, it is off and will not turn on.
I had this problem once before and reflashing the modem fixed it. I've flashed it three times now and it is still not fixed. What else might be the problem? Thanks!
Click to expand...
Click to collapse
First off, unless you signed a non-disclosure as part of MFN, you didn't get Nougat update (probably), it was just a security update... odd that it would even take since you have root and Xposed (and maybe TWRP) it would be impossible to apply to the update. Aside from that, IF you did get an update applied, then restored a Nandroid that means your boot image (kernel) and radio versions are out of sync... You need to either flash the modem package that matches your kernel or restore the nandroid you did before the restore.

acejavelin said:
First off, unless you signed a non-disclosure as part of MFN, you didn't get Nougat update (probably), it was just a security update... odd that it would even take since you have root and Xposed (and maybe TWRP) it would be impossible to apply to the update. Aside from that, IF you did get an update applied, then restored a Nandroid that means your boot image (kernel) and radio versions are out of sync... You need to either flash the modem package that matches your kernel or restore the nandroid you did before the restore.
Click to expand...
Click to collapse
So you're right.
The immediate reason for doing the Nandroid restore is because the update got my phone stuck in a boot loop. After the restore, it started pestering me to update again so I took the opportunity to look into it a little more closely and it is a security update, not Android N.
But that then raises another question, or two actually. I was under the impression that the Nandroid backup stored the entire contents of memory. Are there some bits, like the wifi modem, that aren't included? Also, if I unroot long enough to take the update, will that restore the wifi modem? I assume an update would check the integrity of system files.
Thanks for the quick reply. I don't come to xda often but it is always informative.

pjcamp said:
So you're right.
The immediate reason for doing the Nandroid restore is because the update got my phone stuck in a boot loop. After the restore, it started pestering me to update again so I took the opportunity to look into it a little more closely and it is a security update, not Android N.
But that then raises another question, or two actually. I was under the impression that the Nandroid backup stored the entire contents of memory. Are there some bits, like the wifi modem, that aren't included? Also, if I unroot long enough to take the update, will that restore the wifi modem? I assume an update would check the integrity of system files.
Thanks for the quick reply. I don't come to xda often but it is always informative.
Click to expand...
Click to collapse
A Nandroid doesn't include lots of stuff... It is 5 or so of 25-30 partitions, typical system, boot, data, cache, and sometimes recovery and a couple others, it doesn't include radios, persistent data (like IMEI or serial numbers), internal storage, bootloader, and lots of other stuff.
You cannot just "unroot" and take an OTA, for modern Moto devices your boot image and system partitions must be pure and untouched (the script can even tell if system was ever mounted r/w even if nothing has been changed) and you must have stock recovery. You must return to stock to take an OTA, there are several threads discussing ways to do it here.

Related

TWRP Restore

I apologize if this is already covered in another thread. I wasn't able to find anything.
I am having an issue with restoring a backup I created in TWRP. I backed up only System and Data. I was able to restore one backup but then realized I forgot to remove my lock screen security (I have since found a way to fix this issue in another thread). Then when I tried restoring a different one, backed up the same way, I got a bootloop. I got the bootloop with two different backups.
I let it sit for about 10 minutes on the boot animation. Do I need to wait longer?
bretrick30 said:
I apologize if this is already covered in another thread. I wasn't able to find anything.
I am having an issue with restoring a backup I created in TWRP. I backed up only System and Data. I was able to restore one backup but then realized I forgot to remove my lock screen security (I have since found a way to fix this issue in another thread). Then when I tried restoring a different one, backed up the same way, I got a bootloop. I got the bootloop with two different backups.
Also, when starting the restore it gave me the option to restore Data, System, and EFS. I only checked Data and System. Is that correct?
I let it sit for about 10 minutes on the boot animation. Do I need to wait longer?
Click to expand...
Click to collapse
I feel your pain. Many people have the same restore problem, and it is unclear to me ( from reading) how to get the recovery working well so one can go back and forth between several roms, including a stock rom. Dees Troys' instructions, for first time Omnirom installers, states that once TWRP is installed, you not only do the TWRP factory reset, but you must format the data partition if you previously had a stock encrypted rom on your device. You will lose all data if you do this, but I think this is the only way to have a fully functional TWRP recovery. I haven't tried this yet, but probably will when I have hours of spare time.
bretrick30 said:
I apologize if this is already covered in another thread. I wasn't able to find anything.
I am having an issue with restoring a backup I created in TWRP. I backed up only System and Data. I was able to restore one backup but then realized I forgot to remove my lock screen security (I have since found a way to fix this issue in another thread). Then when I tried restoring a different one, backed up the same way, I got a bootloop. I got the bootloop with two different backups.
I let it sit for about 10 minutes on the boot animation. Do I need to wait longer?
Click to expand...
Click to collapse
Sent from my Nexus 6P using Tapatalk

Complete backup???

I have Verizon Note 3, with Jasmine Rom and TWRP recovery.
I have posted a question about my phone started showing some sh** dialog over and over about facebook app not responding.
Till now i havent found any solution to it. So, seems as last resort, i will flash again with jasmine rom (if there is anyother better do tell me). But before that, i want everything (EVERYTHING) to be backed up, text messages, my games data, my installed softwares, cracked versions, everything. Is this possible???
Anyone coming to save the day????????
First you need to state whether you have a safestrap ROM or a unlocked bootloader and real custom recovery. Huge difference.
You should also bear in mind that if you are suffering from a corruption issue somewhere, a "complete" backup and restore merely records the corrupted data and restores the same corrupted data. What exactly would you gain that way?
Your hypothesis suggests you think a fix could be acheived by "refreshing" just the ROM (i.e. the /system mount). If you have any customizations in there, they will be lost unless you can identify them and re-create them after you have "refreshed" the /system mount. If you are unable to do that, you will lose them.
If you thought that you were unable to identify those changes and were going to plunge ahead and try anyway, theoretically you would get the same result by just flashing /system only and wipe the /cache mount without doing any backups at all. EXTREMELY RISKY MOVE THOUGH IF SOMETHING GOES SIDEWAYS. (You should always assume that something will go wrong and make backups... and get those backups off the phone in case the entire device needs to be wiped in a "start from scratch scenario)
Note that your apps have been under constant update all this time since Jasmine's release while it (Jasmine) has been standing still. There's no guarantee that what you are observing are not merely bugs in Jasmine uncovered by new application code.
A Herculean, careful and diligent backup & restore operation might fix nothing.

Qual OTA Update FaiLs, TWRP > Bootloader > Start Now Required Each Boot

Same thing as the OP of this thread: https://forum.xda-developers.com/moto-g4-plus/help/bootloop-to-twrp-ota-update-t3667456
Late last night I saw that there was an update available and, given that I've only rooted my phone, security updates are important, and it's a mere ~15 minutes download + install time tops I went for it.
I absolutely cannot seem to get the update to install via the OTA channel - it downloads just fine but when I attempt to install it it boots into TWRP and once there the only way to leave is via Bootloader > Start (System just reboots into TWRP) and upon reaching Android I'm told that the update was unsuccessful.
I now have two problems:
1. I don't like having notifications that I can't do anything about. Assuming that this OTA is going to nag me for eternity that's definitely going to become an annoyance - but I'd prefer the update vs blocking the notification (again, IF it nags)
2. Every time I restart my phone (or it crashes) I now have to deal with TWRP. It's not a major annoyance. It's at most 8 extra seconds added to my boot time and I don't restart my phone more than 3 times a week. But it IS butt-ache inducing.
Edit: Forgot to add that I came across this and downloaded it https://forum.xda-developers.com/moto-e4/how-to/boost-mobile-ota-t3763851 My E4 is a 1766 and is also from Boost Mobile (Sprint) so I imagine they're the same update. Point is, can I install this with TWRP successfully or would that do nothing / make things worse?
travistyse said:
Same thing as the OP of this thread: https://forum.xda-developers.com/moto-g4-plus/help/bootloop-to-twrp-ota-update-t3667456
Late last night I saw that there was an update available and, given that I've only rooted my phone, security updates are important, and it's a mere ~15 minutes download + install time tops I went for it.
I absolutely cannot seem to get the update to install via the OTA channel - it downloads just fine but when I attempt to install it it boots into TWRP and once there the only way to leave is via Bootloader > Start (System just reboots into TWRP) and upon reaching Android I'm told that the update was unsuccessful.
I now have two problems:
1. I don't like having notifications that I can't do anything about. Assuming that this OTA is going to nag me for eternity that's definitely going to become an annoyance - but I'd prefer the update vs blocking the notification (again, IF it nags)
2. Every time I restart my phone (or it crashes) I now have to deal with TWRP. It's not a major annoyance. It's at most 8 extra seconds added to my boot time and I don't restart my phone more than 3 times a week. But it IS butt-ache inducing.
Edit: Forgot to add that I came across this and downloaded it https://forum.xda-developers.com/moto-e4/how-to/boost-mobile-ota-t3763851 My E4 is a 1766 and is also from Boost Mobile (Sprint) so I imagine they're the same update. Point is, can I install this with TWRP successfully or would that do nothing / make things worse?
Click to expand...
Click to collapse
You cannot install it with twrp on a rooted device. You would have to modify the updater script in it for that. And remove a bunch of assert props. And hope your system isn't modified too much.
So no, you can't. You have to flash back to stock, (the version you're on now) then install it. Or just sit tight, there is someone working on a partition updater, and a twrp flashable rom with the update included.
Once you root and install twrp, ota updates ain't gonna happen. How do you not know this
If you need a solution for the recovery Loop issue you're going to have to give me a minute to find the link it can be fixed.
It's a problem if TWRP when you format data not wiping something properly
this should help a recovery loop. Only if your issue is, every reboot it goes right to twrp. Then you have to reboot bootloader and select start. Easy fix.
madbat99 said:
You cannot install it with twrp on a rooted device. You would have to modify the updater script in it for that. And remove a bunch of assert props. And hope your system isn't modified too much.
So no, you can't. You have to flash back to stock, (the version you're on now) then install it. Or just sit tight, there is someone working on a partition updater, and a twrp flashable rom with the update included.
Once you root and install twrp, ota updates ain't gonna happen. How do you not know this
If you need a solution for the recovery Loop issue you're going to have to give me a minute to find the link it can be fixed.
It's a problem if TWRP when you format data not wiping something properly
this should help a recovery loop. Only if your issue is, every reboot it goes right to twrp. Then you have to reboot bootloader and select start. Easy fix.
Click to expand...
Click to collapse
Thank you! And, frankly, because I never stick to stock. I always flash Cyanogenmod or LineageOS pretty much first thing when I get a phone. This time there wasn't a build available that seemed stable enough (Late November) but I still needed Root. I'm used to getting updates from both LOS and CM OTA so I figured the only thing preventing official OTA updates from working was that the build was entirely different. My assumption in this case was that I was still running the stock ROM that came with the device AND they were offering an OTA via notification so the phone must be eligible to receive it. >-> My bad.
travistyse said:
Thank you! And, frankly, because I never stick to stock. I always flash Cyanogenmod or LineageOS pretty much first thing when I get a phone. This time there wasn't a build available that seemed stable enough (Late November) but I still needed Root. I'm used to getting updates from both LOS and CM OTA so I figured the only thing preventing official OTA updates from working was that the build was entirely different. My assumption in this case was that I was still running the stock ROM that came with the device AND they were offering an OTA via notification so the phone must be eligible to receive it. >-> My bad.
Click to expand...
Click to collapse
The ota has a bunch of checks in it. If anything fails the checks, ota fails. When you root, there are system changes, boot.img changes, etc. All of which cause the ota to fail. Of course lineage and cm didn't have such strict checks in their update zips because they expect us to root and modify system. Manufacturers do not.

Unable to reload and lock

Hello,
I've done quite a bit of reading here before posting this. I found bits and pieces of information that I tried to put together, but the outcome is not what I want, so maybe someone here knowledgeable could help me.
Device = Moto G5+
I've unlocked the bootloader, loaded twrp over the recovery partition, rooted the phone, performed a twrp backup prior to installing a custom rom. Then I tried another rom and another. They all have bugs or things to correct, so I decided to go back on my original load by recovering the «start» partiton from my twrp backup. That went well enough. However, since I restored the backup, I get errors and applications (like Settings !) crashing. There is obviously some sand in the gears somewhere. I then tried to reload the phone with POTTER_RETAIL_7.0_NPNS25.137-93-4_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip using Minimal ADB & Fastboot, but that fails. The first 2-3 steps work, then up on the 4th or 5th, I get an error message stating that flashing is unallowed (these are not the exact words, but close enough. I can provide exact words upon demand). From what I read, it seems like I cannot use the NPNS25.137-93-4 load on my phone because my phone shows version NPNS25.137-93-8 which is newer than NPNS25.137-93-4. From there, I am lost. Must I wait until I can get POTTER_RETAIL_7.0_NPNS25.137-93-8_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip or is there a way around that.
My ultimate goal is to reload my phone with a 100 % working software, relock the bootloader and wait for slow Moto to release Oreo over OTA.
Note : My twrp backup is version NPNS25.137-93-4, but an update came in right after I restored from the backup, but upon instaling, the update concluded with a failure status.

Weird bootloop

Have had my OnePlus 2 since 2015, and it's been a solid performer up to today.
I had the crDroid ROM (8.1) installed, along with Magisk, and it's been working fine for over a month with zero issues.
Today, I went to remove an app that was being troublesome, and then rebooted. And it just bootlooped. Animation is playing, but that's it. It sits there for 10-15 mins doing nothing. I hold the Power button to shut it down, and then try booting again. Same thing, just a straight bootloop for 15 mins. So I reboot to recovery (TWRP 3.2.1.0) and flash the Magisk uninstaller, to see if restoring the stock boot partition would help. It didn't, and just gave the same bootloop. So I go back into TWRP, wipe /system /cache and /dalvik and reinstall the ROM and gapps. Reboot. Same bootloop.
Now I'm starting to get a little concerned. Right now I'm restoring a backup from 10 days ago that I made before I last updated the ROM, but assuming this fails, does anyone have any good ideas? I'm not an expert, but I'm not a novice either, and this isn't making much sense. Unless my OnePlus 2 is getting ready to check out, which would suck...
idk if you had any mods like kernel or whatever or what app you removed (and if it had root acces) but first make sure you are on latest twrp, then try to clean flash a rom like normal. try to boot it it should work.
Thanks for the reply. No mods, other than Magisk. Just a stock 8.1 ROM with Magisk on top. Wiping /system, /cache and reflashing the ROM did not work. In the end, restoring a backup from a week ago was the only thing that worked. I have no idea why or what happened, but I guess it's yet another reason to keep a good backup on your phone in case of situations like this.
Gaffadin said:
Thanks for the reply. No mods, other than Magisk. Just a stock 8.1 ROM with Magisk on top. Wiping /system, /cache and reflashing the ROM did not work. In the end, restoring a backup from a week ago was the only thing that worked. I have no idea why or what happened, but I guess it's yet another reason to keep a good backup on your phone in case of situations like this.
Click to expand...
Click to collapse
This means that a date/time overflow occurred in your system
You restored a backup from 10 days ago, I'm assuming an older version of the ROM? So the newer version has an overflow bug
Even if nothing changes on the system your system time is always changing and if the ROM or kernel is somehow messed up then this value can cause an overflow and if a security module of some sort (like fortify_source or stack_buffer_protection) finds out about the overflow it can prevent boot from happening
Note: below example not completely valid in the real world, I've removed some stuff and is just for clear understanding.
Let's elaborate, "signed int" accepts values from -32768 to +32768 (0 inclusive)
What do you think happens when a value below -32768 is passed? That's an underflow and it's not defined what would happen below that limit (actually stuff does happen but see below notice)
If you pass a value over 32768 you cause an overflow
Note: I'm not going to go into details about what exactly happens. This would add too much information and cause more confusion than it would clear
What does this have to do with the date? Well every second your system date increases and if you got one of these limits you're going to run into problems
This is the only possible explanation for what could have happened
Thanks for the explanation. i think I understood most of it.
The backup from 10 days ago was from an older version of the ROM, though I have since installed the latest ROM version on top of the restored backup without issue, as I did when I first made the backup.

Categories

Resources