So my Evo LTE is running 2.13.651.1, and is on what I understand to be the newest HBOOT (1.19). Naturally, I have S-ON as a result. This is my first Android device, and I've had it about a week since switching from an iOS device. I have root and the Teamwin recovery, which I used to backup the phone. I understand this is called a nandroid backup?
I plan to flash Cyanogenmod 10, in fact I already tried once. It resulted in a bootloop, and I restored from the nandroid backup. I have since learned I need to flash the boot.img from CM10 using fastboot, Flash Image GUI, or any other alternative. Once I do this, if I want to go back to Sense 4.1 like I have currently, how would I do so? Once I flash the boot.img from CM10, I won't simply be able to restore to my nandroid from teamwin, will I? I assume that if I tried to restore from the nandroid, due to S-ON I would be unable to write to the boot partition from a recovery utility and I would be left in another bootloop. How can I get a boot.img corresponding to my stock Sense 4.1 rom in the event that I want to revert to stock?
In the folder containing my nandroid backup, I see a file called boot.emmc.win and a boot.emmc.win.md5. I understand what the MD5 is for, but is the boot.emmc.win what I will need to undo the effect of flashing CM10's boot.img? If so, how would I use it (I do not recognize that file extension, and Flash Image GUI does not seem to like it either)? If not, where would I get something that will work?
I've done several searches here and on other forums, but I can't seem to find what I need. If someone has already answered this question, could you simply point me in the direction of that thread?
Thanks in advance,
Kristoffer
I have yet to restore a back up but to avoid any issues I would use dumlock. Install it from twrp advanced menu and reboot, open it in cm and it will backup boot and overwrite it with a temporary recovery, you then reboot and go back to dumlock and restore the back up, then you are free to flash the nandroid backup and reboot
When you reboot, do not boot to recovery, the boot partition has been replaced with a temporary twrp and all you need to do is reboot normally
om4 said:
I would use dumlock. Install it from twrp advanced menu and reboot, open it in cm and it will backup boot and overwrite it with a temporary recovery, you then reboot and go back to dumlock and restore the back up, then you are free to flash the nandroid backup and reboot
Click to expand...
Click to collapse
Once I flash CM and its boot, the boot for my Sense 4.1 will have been overwritten, no? I opened Dumlock in my Sense rom (as I have not yet flashed CM successfully), and it gives me a warning to make a backup of boot PRIOR to using the app, then just under that says the app will make a backup of the boot. If I go ahead and run Dumlock, I'm not entirely sure what is going to happen. It seems that it will move my recovery (TeamWin at the moment) onto the boot partition? If this is the case, why is this something that needs to be done? Does moving the recovery onto the boot partition allow the recovery to write to the boot without S-OFF, thereby allowing a simple restore of the nandroid to replace my rom AND boot at the same time, as if I were restoring with S-OFF? Sorry if I'm not making sense, but I don't really know what I'm talking about here, and thats the only thing that makes sense to me.
I see a button in Dumlock that says "restore original boot." If I install CM and the CM boot, will pushing this "restore original boot" button give me back the boot setup for the stock Sense rom? If it does, then I could just push that button, let it do its thing, and then restore my Sense nandroid with my recovery, right?
Thanks for your help, and quick response.
Install HTC dumlock
Open the app and back up boot
Once back up is successful, press execute
Once the phone restarts it will only boot to twrp, you then go to dumlock menu again and restore boot
Now flash a Rom or restore back up and reboot
Sorry to sound ignorant, but will this method will restore the stock boot regardless of what rom/boot combination I'm currently running? Or is this creating a backup of the currently installed boot, and saving it somewhere for future use? Specifically, do I want to follow this procedure before I upgrade to CM so I have a backup of the current boot, or is this something I want to do if/when I want to go back from CM to Sense that will magically put the boot back how it was from the factory?
Yes, its a workaround that gives access to boot partition and will let you flash normally, I would only use it for stuff like nandroids rather normally flashing because it writes to boot 3 times. It's a lot of unnecessary wear and tear
Awesome, thanks alot for your help. I'm excited to go and try my CM10 rom, now I know how to get back to stock if I don't like it.
Thanks again,
Kristoffer
Hmm. Now I don't know what I've screwed up. I flashed the boot.img from the CM10 zip using Flash Image GUI, then rebooted to recovery and wiped the System partition and cleared dalvik/cache. Then I flashed the CM10 zip using twrp, cleared dalvik/cache, and rebooted. Now, I'm stuck at the CM boot animation again, just like last time. This does not seem terribly complicated, and I don't know what I've done wrong.
I understand twrp cannot flash the boot due to S-ON, but I thought flashing the boot from inside my Sense rom using Flash Image GUI would fix the problem. I restored the Sense nandroid like before, rebooted, and then I got the Recovery boot logo (htc logo, with red text underneath). After maybe a minute, that went away, and I got a Sprint logo and then the normal boot screen with only an HTC logo. The phone then restarted, and this process repeated several times. So, apparently whatever I did to the boot sector with Flash Image GUI wreaked whatever was there before, and failed to replace it with something that would play nice with CM.
A factory reset won't fix the boot, will it? All it will do is overwrite my system partition and internal sd with the default files, and I still won't be able to boot. Any idea what I've screwed up, and how I can fix it?
EDIT:
I reflashed the CM10 zip, and it still gets stuck at the CM boot logo (spinning blue thing). What are the chances my CM10 download is corrupt? Is it worth trying to redownload it, reflash boot with fastboot, then move the new zip to the phone and flash that?
What version of twrp are you using, some people have had issues with the older 2.1.8
Ok, progress. I'm on twrp 2.2.1. I wiped everything again (wiped cache and dalvik, Factory Reset, and then wiped System) and reflashed CM10. It booted this time, so I assume the boot partition is fine. Apparently I'm the retard that can't understand a point-and-click system and follow simple directions
Once it boots, however, I instantly see an error "Unfortunately, the process com.android.phone has stopped." Once I click Ok, the error will either pop back up immediately, or wait for an indefinite period and them come back. Possibly this is the result of the CM10 release not being entirely stable as of yet, I don't know.
But thanks again, your help and your fantastic Don't Panic post together fixed the problem. I think I can figure out what is going on with this error popup and fix it. So long as I have voice service in the interim, which I do, all is well in the world.
It's normal, it pops up when you lose signal, its a bug but its technically a feature. If the phone loses signal, normally android is supposed to prompt you so you are aware. I think its for debugging purposes, normally this is disabled. Not sure if its really a bug in cm or they just haven't gotten around to disabling it, but its normal. It's not a real priority either since it doesn't adversly affect the phone
Hmm. This just gets better and better. So CM10 ran nicely for awhile, then last night I rebooted the phone and the internal SD card failed to mount. Both twrp and the actual OS cannot get it to mount properly. Is this something I broke, or does it sometimes occur at random? I read the following, but I don't quite know where to go with it.
om4 said:
You're card is beyond a simple reformat, the physical address linking the card and or entire card is corrupt. Don't panic, you have to start clean. Back up the info on you external or remove it, make sure you have a ROM available on your PC. Go into recovery and repartition your phone, this will wipe all memory. You then load up a working ROM (a bad back up may be responsible or just reintroduce the problem), after you have flashed the ROM (HBOOT 1.15+ must fastboot kernel, unless S-OFF) go ahead and boot into android and restore your apps.
Click to expand...
Click to collapse
Repartitioning seems simple enough; twrp> advanced >partition SD card>swipe (leaving all settings default).
After that, I can flash the new rom and boot using fastboot from my PC, right? I'm confident that my nandroid of the stock rom is clean, because I didn't develop this problem until after I had been using CM10 for awhile. Could I use fastboot to flash the boot, data, and system from the nandroid, and be good to go? If not, is the most current file avalible to download at http://stockroms.net/file/HTCEvo4GLTE/RUU? the appropriate file I would need to restore the phone to its stock unrooted state.?
Also, none of my nandroid files have a .img file extension. Is this normal? It has the normal .md5 files, but everything else has a .win extention. I've never heard of this one. My boot, for example, seems to be backed up as boot.emmc.win, with a boot.emmc.win.md5 corresponding to it. Cache, data, and system backups are named <option>.ext4.win. Does ext4 has something to do with the filesystem of the backed up partition? If this is the case, what is a .emmc? Can I flash these files with their strange (to me, at least) extensions using fastboot as if they were all .img files?
I can't imagine any of this is really as complicated as it seems. I've used a PC and a jailbroken iDevice extensively, and never managed to break something I couldn't fix. I guess Android just doesn't like me, or something.
Thanks again for all your help.
EDIT:
Apparently physically removing the external SD from the phone allowed me to mount the internal SD as a USB device. The phone still refused to allow me to read/write data to the memory, but somehow managed to allow my PC to see it. I formatted the internal SD to fat32 (one of the limited options) using Windows, and rebooted the phone to recovery. Now, it suddenly can detect its internal SD. I was able to wipe everything, and restore my Cyanogen backup and the SD card now works again. Weird...
Since I didn't have to repartition anything, was the "physical address linking the card and or entire card" corrupt, or did I have some other issue? Also, I'm still curious about my above question pertaining to file extensions and restoring a nandroid via fastboot.
Suddenly and with no recent changes to my watch (unless an OTA was pushed without my knowledge), my watch screen was blank, but still on.
I pressed and held the power button on the back until it restarted.
It starts to boot up, but never finished (left on charger all day).
I've tried several times now and all I get is either a stuck LG logo or a stuck screen with the flying balls of color.
I wouldn't call it a "bootloop" because the booting process does not start over (loop)... It's more like a "bootstuck".
I am able to boot into recovery, clear cache and factory reset. Once I restart though, it immediately gets "bootstuck" again.
I have even let the battery completely drain, placed it on the charger and tried again.
...nothing...?!?!
Any suggestions?
Bump...
Ideas/suggestions?
kevinbakon said:
Suddenly and with no recent changes to my watch (unless an OTA was pushed without my knowledge), my watch screen was blank, but still on.
I pressed and held the power button on the back until it restarted.
It starts to boot up, but never finished (left on charger all day).
I've tried several times now and all I get is either a stuck LG logo or a stuck screen with the flying balls of color.
I wouldn't call it a "bootloop" because the booting process does not start over (loop)... It's more like a "bootstuck".
I am able to boot into recovery, clear cache and factory reset. Once I restart though, it immediately gets "bootstuck" again.
I have even let the battery completely drain, placed it on the charger and tried again.
...nothing...?!?!
Any suggestions?
Click to expand...
Click to collapse
Something gone wrong in userdata likely, or since you already factory reset, more likely in /system partition.
The last few forced OTA threads in Q&A have a mirror link for a TWRP backup of LCA43. Use fastboot boot (not flash, so you don't keep it permanently) a 2.x.x.x version of TWRP. From there, backup your broken setup, factory reset again, use adb to push my LCA43 backup files to TWRP backups (not to overwrite yours), and then restore.
That should patch you up.
OfficerJimLahey said:
Something gone wrong in userdata likely, or since you already factory reset, more likely in /system partition.
The last few forced OTA threads in Q&A have a mirror link for a TWRP backup of LCA43. Use fastboot boot (not flash, so you don't keep it permanently) a 2.x.x.x version of TWRP. From there, backup your broken setup, factory reset again, use adb to push my LCA43 backup files to TWRP backups (not to overwrite yours), and then restore.
That should patch you up.
Click to expand...
Click to collapse
Well, I think I may have messed thing up worse now...
I unlocked the bootloader and got TWRP 2.8.7.0 installed. Then I was unable to backup, so I tried wiping the data to see if something was hanging it up...
Now I seem to be stuck in TWRP recovery and each time I reboot it displays a message telling me "No OS installed..."
Also, "adb devices" returns no results, but I do see the devise in fastboot, if I am in the bootloader screen
I suspect what I need to do now is obtain an update.zip file from somewhere and flash it in twrp, but I cannot figure out how to access the file directory on the watch.
Otherwise, I guess I could reinstall factory recovery, but I can't figure out how to do that either.
Unfortunately, the LG G Watch Tool doesn't seem to be working for me either. It just says "waiting for device"
Ultimately, all I want to do is get the latest stock OS installed and go from there
Any advice?
kevinbakon said:
Well, I think I may have messed thing up worse now...
I unlocked the bootloader and got TWRP 2.8.7.0 installed. Then I was unable to backup, so I tried wiping the data to see if something was hanging it up...
Now I seem to be stuck in TWRP recovery and each time I reboot it displays a message telling me "No OS installed..."
Also, "adb devices" returns no results
I suspect what I need to do now is obtain an update.zip file from somewhere and flash it in twrp, but I cannot figure out how to access the file directory on the watch.
Any advice?
Click to expand...
Click to collapse
Wait, installed TWRP? If it keeps taking you back into TWRP, then "fastboot flash boot" was used, not "fastboot boot". Read my previous post for difference.
What were the backup errors? Did something not mount? If so, then this (coupled with the original issue), may be hardware related and out of your control.
See if you can get back to the bootloader first. The boot.img can be restored this way, and get you one step closer to booting.
Sent from my ASUS_Z00AD
Helllo yes it seems your partitions are all messed up. Considering that on android wear your "data" on it is almost all on your phone aswell it seems like a waste to try and recover it.
here is a link to the system,recovery and boot images from LCA43 https://www.androidfilehost.com/?fid=24052804347803309 just flash those to each partition correctly ie. fastboot flash boot boot.img etc
and wipe your /cache and /data partition. You will essentially have a completely stock device and if it still thosen't function correctly then it is a hardware fault
Here is a video on how to access bootloader from boot screen: https://www.youtube.com/watch?v=ftSCH7qihRI
Hi all,
So I was happily running the 20190722 PE (Pixel Experience) on beryllium-V10.3.6.0.PEJMIXM-9.0-vendor-firmware with DFE and Magisk 19.3 flashed from TWRP 3.3.0. All files from official sources including the Official Telegram.
I come to discover I am 2 updates behind on PE so I created a NANDROID backup of the boot, system, and restore. I then cleared the dav and cache per usual and dirty flashed the ROM.
I then proceed to reboot the phone and it begins to encrypt itself. Given that I am a brilliant engineer, I proceed to interrupt it and restart the phone into TWRP. It loads and prompts a password. I have forgotten to DFE.
At this point I know that I have completely screwed up so, following the ongoing consensus on these forums, I format in TWRP, rebooting and clearing as instructed. I then go to restore the NANDROID. No go, boot loop.
After reading more, conclude that I need to flash the vendor FW and use it to reset/clear the phone and reinstall TWRP via FASTBOOT then flash the NANDROID. Nope, boot loop.
Going farther I discover that I need to flash the NAN on top of it’s working ROM/FW.
I go and flash the previously working ROM AND FW with dfe. To I double check I boot that and it boots properly to Android Setup.
Great! I use TWRP to flash the NANDROID. It boots to a lighted black screen. Pushing power I can get it to come up with a power/reboot/lock down menu that moves around the screen. This will actually restart or turn it off (didn’t touch the last).
I have tried this in various combinations with both my new NAN as well as a known working one.
Any ideas/thoughts/insults/ (I can take it)?
Try flashing 10.3.7.0 and then PE and immediately after DFE. However, I'm not sure it you won't lose everything. When doing your backup from TWRP, choose everything except System & Vendor. These 2 will be covered by System Image & Vendor Image.
HTH
So, I can't restore my backup due to the error above. When I restore my backup, I get that error and a reboot loops me straight back into TWRP. You can read all that stuff below if you need the backstory.
(I had Lineage OS 18.1 installed and wanted to restore a backup from two weeks ago. So, I booted into TWRP, did a normal factory reset and restored the Backup of Lineage. However, it put out an error regarding something in root (structure needs cleaning). I tried rebooting into system, but it ended in fastboot mode. So I googled it and one thread said you can solve that by formatting system. "System" is backed up anyway, so I thought there was no harm, wiped it and restored the same backup once again. No error this time.
However, when I rebooted into system, the unlock pattern didn't work any more, even though I never changed it and always use the same one. I had to reboot into recovery, and now the TWRP unlock pattern didn't work either. Had to skip it and did another reset.
Now, every time I restore a backup (and those backups contain basically every partition available) it works, but when I reboot into system it just stops at the boot logo, then reboots into recovery. Basically a boot loop plus. Tried a fresh flash, same loop.
Also, all of my pictures and downloaded files are gone, because it's encrypted. I had to wipe data, which led to the whole encryption issue going away, however, I'm still stuck in that loop.
Does anyone know how to solve this cluster****? How do I get it to boot into system?
Edit: Managed to flash LIneage new after wiping data and system and it actually boots, hallelujah, but when I flash the back up I'm still at square one with the same fail and it fails to boot. )
Hello!
Yesterday, I updated my phone from A10 to A12 with full OTA and applied magisk on inactive slot.
After rebooting, all seems to work, no bootloop, android was optimizing apps... so far so good, I reached the point where my patter was asked. There was no problem with it.
The problem appeared when trying to open any APP and the android answer was (for any app) "Failed to read the app data. Cannot start the app"
Okay, I tried to go to settings and was unable to do so. After putting phone in airplane mode, settings worked but clearing apps cache or data did not help.
Trying to fastboot boot twrp.img did not work until I found https://github.com/rabilgic/twrp_device_oneplus_hotdogb/tree/Android-12.1 by another xda user.
Even being another device it worked (afaik they were unified twrp so they should work for both). However, once booted, the first problem appears. Inserting my patter did not decrypt the data in twrp... Booting into system removing pattern and try TWRP again and nothing changed...
Checking in twrp the data/data lead see all folders and files encrypted there... So this is probably why any app is working...
After reading, I saw that fbev2 was applied to A12 so this might be the problem. My guess was that flashing a A11 rom might save my data since the encryption should be the same older one v1. However, I am unable to flash ROMS with TWRP... Tried with OTG or sideload, but both failed. I would like to know if there is a way to flash an older rom (A10 whcih was my original one or A11) to decrypt the data or make the A12 decryption work to recover all my apps and data.
I do not know if flashing any further (of if I had already) lost the decryption keys or what is going on.
I had extracted the .img from a full A10 OTA (OOS) and I am hesitant of flashing all 32 images to the phone or if that will wipe data partition.
How can I proceed if possible without losing data with a flash, or how can I decrypt the data to make it work with A12?