Weird Issue when Flashing ROM's - OnePlus 6T Questions & Answers

I haven't followed development of the 6T since November so please forgive me if this has been answered 100 times.
The steps to flashing custom non-OOS ROM's is to; flash ROM/flash TWRP installer/reboot recovery/flash gapps/flash magisk
The weird issue for me is when I reboot recovery after flashing the ROM and TWRP when I go to install gapps all my files are encrypted. My way around this was to sideload gapps and magisk and everything booted up fine. When I go back to recovery after the first boot all the files are normal again.
This has happened both times I've flashed a ROM.
I'm sure this has an easy answer and it's most likely due to a step I didn't execute properly -- or at all. I did a lot of reading and making sure I understood the process before rooting my device but as far as flashing ROM's I was noticing a lot of conflicting info which I've never seen before on any other device. Anyway, other than this I haven't had any issue.
Thanks for any feedback.

Security issue. Best way around it is to either format data before flashing and/or remove your lockscreen security pin before flashing.

Deleted

ogkillergreen said:
Security issue. Best way around it is to either format data before flashing and/or remove your lockscreen security pin before flashing.
Click to expand...
Click to collapse
I never use any lock. Always just use Swype to unlock. I'm aware of the issue with using a lock though. I read that people had problems. I just haven't seen where any one brought up my exact issue. It doesn't seem to effect anything so I'm not stressing it too bad. Eventually I'll get around to troubleshooting it.

I've flashed almost every ROM for 6T till now and every time I flash a ROM I'm having exactly the same issue as you. I've also tried formatting data several times, but the issue with unreadable data in TWRP after flashing a ROM returns every single time. I've tried multiple combinations of flashing, wiping etc. and it's always the same. However, what I'm doing in such case is flashing gapps + magisk from USB-C pendrive, no need to sideload, just mount USB and flash files from that as usual. After doing that I can boot to ROM and the data is readable again. I just need to remember to have this pendrive close to me when I'm flashing a new ROM.

BreathingWounds said:
I've flashed almost every ROM for 6T till now and every time I flash a ROM I'm having exactly the same issue as you. I've also tried formatting data several times, but the issue with unreadable data in TWRP after flashing a ROM returns every single time. I've tried multiple combinations of flashing, wiping etc. and it's always the same. However, what I'm doing in such case is flashing gapps + magisk from USB-C pendrive, no need to sideload, just mount USB and flash files from that as usual. After doing that I can boot to ROM and the data is readable again. I just need to remember to have this pendrive close to me when I'm flashing a new ROM.
Click to expand...
Click to collapse
Thanks for the tip and info. I don't mind sideloading because it's fast and anytime I mess with my phone it's when I'm at my PC. I've been using adb for so many years it's my go-to whenever my phone is acting stupid.
The second time I flashed a ROM I didn't even worry about flashing gapps, just magisk. And I stacked them. So ROM, TWRP, Magisk. Then rebooted system. I actually prefer this anyway because then you boot straight to the launcher with no setup process. Then I go back and flash GAPPS. I actually have used this flashing process for years because I hate the setup after a first time boot.

Related

[i9505] Cannot enter Recovery after Format Data

My i9505 was running stock KitKat from Samsung and I tried to install CM13 ROM.
So I used Odin to root the phone and installed TWRP 2.8.6.0. After that I flashed the CM13 ROM and the Gapps Nano.
I got as far as rebooting into CM13. But then the "Google Play Store has stopped working" message keeps popping up starting from the initial setup phase. I ignored the message and went on to setup the wifi but couldn't progress any further. The wifi was detected and connected but then it was stuck on the Checking Connection/Software Update step.
I tried to reflash the rom and gapps again to no avail. The third time to Format Data from TWRP before reflashing - still didn't make a difference.
What's worst is now I cannot even get into TWRP! Whenever I press Vol Up + Power + Home, it will show the small 'entering recovery' message momentarily on the top left corner but then it phone simply restarted again.
I tried re-flashing TWRP using Odin, but still didn't work.
I'm stuck now, cannot get into the OS nor the recovery. Any suggestion as to what to do?
Thank you.
vizavalk said:
My i9505 was running stock KitKat from Samsung and I tried to install CM13 ROM.
So I used Odin to root the phone and installed TWRP 2.8.6.0. After that I flashed the CM13 ROM and the Gapps Nano.
I got as far as rebooting into CM13. But then the "Google Play Store has stopped working" message keeps popping up starting from the initial setup phase. I ignored the message and went on to setup the wifi but couldn't progress any further. The wifi was detected and connected but then it was stuck on the Checking Connection/Software Update step.
I tried to reflash the rom and gapps again to no avail. The third time to Format Data from TWRP before reflashing - still didn't make a difference.
What's worst is now I cannot even get into TWRP! Whenever I press Vol Up + Power + Home, it will show the small 'entering recovery' message momentarily on the top left corner but then it phone simply restarted again.
I tried re-flashing TWRP using Odin, but still didn't work.
I'm stuck now, cannot get into the OS nor the recovery. Any suggestion as to what to do?
Thank you.
Click to expand...
Click to collapse
Format Data from twrp sometime corrupts the file system and brick the phone. (It's happened to me once)
The best way is to flash official firmware via odin and start from there.
I see - I'll try re-flashing the official rom. Btw, would you recommend CWM recovery instead then? Honestly, I'm not very proficient with this whole thing. The reason why I formatted was because I still could see all of my old folders in the phone memory. So I thought Factory Reset didn't really clean up my old rom data.
What do I have to do if I want to start with a really clean slate with CM13 (after reflashing the official one first)?
Also, I still have the issue of CM13 setup being stuck at the Software Update step (right after Wifi setup). Any clue why that happened?
Thanks for taking the time to reply.
vizavalk said:
I see - I'll try re-flashing the official rom. Btw, would you recommend CWM recovery instead then? Honestly, I'm not very proficient with this whole thing. The reason why I formatted was because I still could see all of my old folders in the phone memory. So I thought Factory Reset didn't really clean up my old rom data.
What do I have to do if I want to start with a really clean slate with CM13 (after reflashing the official one first)?
Also, I still have the issue of CM13 setup being stuck at the Software Update step (right after Wifi setup). Any clue why that happened?
Thanks for taking the time to reply.
Click to expand...
Click to collapse
CWM is outdated. Your best bet is TWRP. Try version 3.0.0.
Factory reset doesn't wipe your internal memory, if that's what you mean, you will have to do it manually.
Also, I recommend wiping data, cache, dalvik and system partitions manually from the advanced wipe menu. Factory reset only wipes data and caches, not system.
Oh, and about that stuck at setup issue, just skip that step if possible, you can still change that crap later
If you are unable to set up the ROM, you could flash back to a completely stock ROM and start over.
OK, I'm back on stock Android now.
Before I try flashing CM13 again, I just need suggestions about these two issues I had from previous try:
Unfortunately, Google Play Store has stopped
I have searched for similar issues but can't quite pinpoint the cause. I used the correct GApps for my device and I also removed my SD card prior to installing.
Stuck on Check Connection/Software Update step
Last time I was stuck at this point and, responding to GDReaper, this step couldn't be skipped. The option was grayed out.
vizavalk said:
OK, I'm back on stock Android now.
Before I try flashing CM13 again, I just need suggestions about these two issues I had from previous try:
Unfortunately, Google Play Store has stopped
I have searched for similar issues but can't quite pinpoint the cause. I used the correct GApps for my device and I also removed my SD card prior to installing.
Stuck on Check Connection/Software Update step
Last time I was stuck at this point and, responding to GDReaper, this step couldn't be skipped. The option was grayed out.
Click to expand...
Click to collapse
The sd card has nothing to do with it.
Sometimes gapps don't work on certain roms.
Just try another package.
If you use A-Gapps, the whole first time setup step will be skipped altogether. So that means that you won't run into the risk of getting stuck at that step again.
Or, after flashing the rom, you could use the recovery file manager to delete the setupwizard.apk after you flashed gapps. That should also prevent the initial setup process from initializing at first boot.
vizavalk said:
OK, I'm back on stock Android now.
Before I try flashing CM13 again, I just need suggestions about these two issues I had from previous try:
Unfortunately, Google Play Store has stopped
I have searched for similar issues but can't quite pinpoint the cause. I used the correct GApps for my device and I also removed my SD card prior to installing.
Stuck on Check Connection/Software Update step
Last time I was stuck at this point and, responding to GDReaper, this step couldn't be skipped. The option was grayed out.
Click to expand...
Click to collapse
You probably used Opengapps. That also gives me a lot of errors.
Use Bankgs Gapps instead. They always work for me.
http://download.dirtyunicorns.com/files/gapps/banks_gapps/
GDReaper said:
The sd card has nothing to do with it.
Sometimes gapps don't work on certain roms.
Just try another package.
If you use A-Gapps, the whole first time setup step will be skipped altogether. So that means that you won't run into the risk of getting stuck at that step again.
Or, after flashing the rom, you could use the recovery file manager to delete the setupwizard.apk after you flashed gapps. That should also prevent the initial setup process from initializing at first boot.
Click to expand...
Click to collapse
I used Open GApps, as was recommended in the CM13 post. So are you saying that my two issues were caused solely by the GApps? Because I thought me being stuck at Software Update was due to something else.
Lennyz1988 said:
You probably used Opengapps. That also gives me a lot of errors.
Use Bankgs Gapps instead. They always work for me.
http://download.dirtyunicorns.com/files/gapps/banks_gapps/
Click to expand...
Click to collapse
There are two files - one says Dynamic. But the file sizes are exactly the same. Is there any difference?
vizavalk said:
I used Open GApps, as was recommended in the CM13 post. So are you saying that my two issues were caused solely by the GApps? Because I thought me being stuck at Software Update was due to something else.
There are two files - one says Dynamic. But the file sizes are exactly the same. Is there any difference?
Click to expand...
Click to collapse
Not that I know. Just pick the one without Dynamic.
vizavalk said:
I used Open GApps, as was recommended in the CM13 post. So are you saying that my two issues were caused solely by the GApps? Because I thought me being stuck at Software Update was due to something else.
Click to expand...
Click to collapse
The initial setup process is related to gapps. And I don't recall there being any software update requests during the initial setup. It tells me to wait while it scans for network and WiFis, but I always skip those steps.
Open gapps sometimes work and sometimes they don't. It varies from day to day, since they are updated daily.
Just find a gapps package that works and stick to it until another version of android.
I just want to report back that my CM13 works perfectly with Banks GApps. Thanks to everyone who has helped!

Frustrated after installing O and downgrading to N.. things aren't the same

TL;DR O was janky after dirty flash so downgraded but now N isn't right even after super wiping everything and reflashing stock N image.
Ok so I have no idea why I decided to try out O with all the dumb bugs that are being reported and the lack of a simple night light enabler but I did anyway. Phone was working great on 7.1.2, had the night light and blue pixel accents, the round icons actually just showed up for me which I like better than all the craziness of 5 different shaped icons cluttering up everything.
I dirty flashed stable O and it was janky as hell so after a few hours I decided to downgrade using my nandroid backup I just made. All seemed fine until I got in my car and noticed Bluetooth share was broken which kept causing force closes. I tried everything to fix it but nothing worked, had to end up reflashing latest N image. From that point all went downhill.
Phone will not show all the round icons anymore no matter what (play store being one that I totally despise being that huge play button, music, games, photos, movies, maps, etc but phone, messages, camera contacts and a few other are working), assistant would not enable and only screen search was there, Google drive backup isn't working either even with turning it off and on but it just says it's disabled by the administrator (??), I even went in to twrp and wiped EVERYTHING 3 times under the advanced menu and chose to repair the system and then fully ADB flashed the stock N image again.
After that, I rooted with magisk but now BusyBox won't install as systemless to the su/bin folder, I flashed both the night light only and the full pixel mod from gerard hoping it would enable the round icons on the GNL but it didn't. I tried flashfire to flash the N system again to clean that up but it just turned the phone off every attempt. I finally got it to work by reinstalling magisk but it didn't actually flash the system even though it went through the motions and said it was successful. I had to do it again for it to work but everything just seems weird now. What the F am I doing wrong? I know it's not a pixel thing for the round icons bc my wife's Moto z force just got 7.1 this weekend and the round icons showed up for her with no mods, no root, and she has GNL like me.
Help?
Try downloading a custom ROM like Nitrogen or Aquarius. Both of those have the options you want without having to flash any other mods. As for Google Assistant I've only had luck using Beans Gapps full package or open Gapps stock package. I personally prefer Beans. Do a full wipe before you flash and you should be good.
First of all, you went from N to O with a dirty Flash.... Of course there will be bugs. If you want to go back to N, Flash N image(boot, vendor, radio, system), when it boots up, go to settings and then perform a factory reset. After that, you can restore your Nandroid backup.
Thanks All,
Yes I do understand the issues with going from N to O on a dirty flash which is why it was janky and I decided to roll back. As mentioned, I used TWRP to wipe everything 3 times and then reflashed the latest stock N image. Google assistant worked after doing that and the interesting thing I found was if I disabled or deleted apps from the phone and then redownloaded or reenabled them, the round icons began showing again (i.e. google play, docs, sheets, etc) so that issue is resolved. I did not use the nandroid backup I made, I basically just started over from scratch and even though the Google Drive backup is still showing "disabled by your administrator", I see a new backup that was made this morning at 6:13am. I also installed busybox through magisk now rather than the separate app so I guess the only thing left outstanding is why the phone still says the Drive backup is disabled by an admin.
I would grab Nexus Root Toolkit, I install to C:\NRT, download the full August Nougat image, save it to C:\NRT too, then do a complete stock restore, this will wipe everything off phone.
Put you back to starting line and then race with flashing and mods.
ossito2012 said:
I would grab Nexus Root Toolkit, I install to C:\NRT, download the full August Nougat image, save it to C:\NRT too, then do a complete stock restore, this will wipe everything off phone.
Put you back to starting line and then race with flashing and mods.
Click to expand...
Click to collapse
I did use wug's toolkit to flash over ADB. I wonder if the image might have been slightly messed up even though the SHA-256 matched. I could always try to redownload the image again. I was going to wait until 8.0.1 was released to try O again but when I did have O, the backup options were stuck on "waiting for backup" (the menus are slightly different in O) and it never seemed to move forward. I researched that and I guess it's a known issue with some phones and a fix is supposed to be coming out this month but at this point, who knows.
jrg67 said:
I did use wug's toolkit to flash over ADB. I wonder if the image might have been slightly messed up even though the SHA-256 matched. I could always try to redownload the image again. I was going to wait until 8.0.1 was released to try O again but when I did have O, the backup options were stuck on "waiting for backup" (the menus are slightly different in O) and it never seemed to move forward. I researched that and I guess it's a known issue with some phones and a fix is supposed to be coming out this month but at this point, who knows.
Click to expand...
Click to collapse
Toolkit? FFS- fully wipe your device and install full 8.0 image. Done. That is what a full image is for --> janky.
v12xke said:
Toolkit? FFS- fully wipe your device and install full 8.0 image. Done. That is what a full image is for --> janky.
Click to expand...
Click to collapse
I don't think you are fully understanding what the situation is. I have said now 2 or 3 times, I have completely wiped the phone 3 times in a row using twrps advanced settings and I flashed the latest stock N image. The only reason I used wugs toolkit was so I didn't have to ype out all the commands to flash. After the flash was done, I manually flashed twrp again and re-rooting using magisk. Anyway, things are mostly back to normal now. I will manually flash O again at a later time.
jrg67 said:
I don't think you are fully understanding what the situation is. I have said now 2 or 3 times, I have completely wiped the phone 3 times in a row using twrps advanced settings and I flashed the latest stock N image. The only reason I used wugs toolkit was so I didn't have to ype out all the commands to flash. After the flash was done, I manually flashed twrp again and re-rooting using magisk. Anyway, things are mostly back to normal now. I will manually flash O again at a later time.
Click to expand...
Click to collapse
Still wrong. Nuclear flash everything even wiping the whole twrp since its a huge leap from N under the hood. Never dirty flash and of course clean flashing still won't be enough. Do a nuclear flash, wipe everything including your storage and recovery, back it up. Don't be lazy then be frustrated at a plethora of bugs if you didn't even flash properly.
phantom146 said:
Still wrong. Nuclear flash everything even wiping the whole twrp since its a huge leap from N under the hood. Never dirty flash and of course clean flashing still won't be enough. Do a nuclear flash, wipe everything including your storage and recovery, back it up. Don't be lazy then be frustrated at a plethora of bugs if you didn't even flash properly.
Click to expand...
Click to collapse
To be clear, what do you mean by "nuclear flash" bc I'm pretty sure that is exactly what I did, 3 times. Wiped dalvik/art, system, data, userdata, cache from twrp. As for wiping the recovery, that gets done during the flash of the image. So I ask again, what did I miss? Also, it's been said many times that dirty flashing can cause issues, I get it. I wasn't being lazy with trying to get back to N which is the whole point of this thread.

Recovery bootloop out of the blue.

Okay, so usually I'm quite savvy when it comes to technology, but this one's stumping me.
Yesterday afternoon, I turned my phone off to go into work. It was working quite normally before then. When I get on break, however, I find that my phone won't get past the main logo. I figure that my phone needs a reflash, so today I went to reflash the xXx rom. Still no luck. I tried flashing stock OOS Beta 3, but then my phone went into a recovery bootloop. I tried flashing those two roms several times, but now my phone just stays in a recovery bootloop.
I'm pretty sure this isn't software-related, but I want to be wrong. That's why I'm posting here first, just in case it isn't.
I didn't do anything for it to go into a bootloop, I just turned it off after a normal day, and now it won't turn back on.
If you are decrypted you need to flash the no verify zip for OOS to boot up. With xXx anything from the version of Magisk used to one of the mods you chose in the aroma installer can cause problems. Your best bet is to boot into TWRP, format the data on your phone using the option in the wipe tab, connect your phone to a computer--it will be recognized like an external harddrive--copy and paste a full ROM zip for stock OOS Oreo onto your phone and then flash it with TWRP. Also make sure you are using one of the recommended versions of TWRP for OOS Oreo. The best version right now is the one from Codeworks. Good luck.

ZC553KL twrp failure - help!

Hello! Long time lurker on here but first time posting. I follow this guide to unlock bootloader and install twrp on the zc553kl. https://forum.xda-developers.com/zenfone-3/how-to/zenfone-3-max-zc553kl-bootloader-unlock-t3691837
It kind of worked, and it did flash twrp. The only problem is that the twrp although launching, didnt seem to have permissions to access storage, probably due to a data encryption problem. all the storages had 0mb sizes and i couldn't do anything.
So naturally i googled my problem and tried a few methods.
Nothing seemed to work, and i ended up doing an advance wipe. That also failed and it said it didnt have access or permission to do it (something along those lines). Next day i decide to try again and now my internal storage seemed to show.
So i ended up formatting it, and while the files seem to be still there, i changed .ext4 to .ext2 and back again, and then it stopped recognizing the stock rom i still had installed. Please note that before all of this, although twrp didnt work properly, the phone still worked fine and booted into android. My problem is now the stock rom is gone, twrp says no OS installed, and i have tried my best to reinstall the stock rom, but that hasn't worked. Any ideas or help would be welcome thanks guys
Nyoxx said:
Hello! Long time lurker on here but first time posting. I follow this guide to unlock bootloader and install twrp on the zc553kl. https://forum.xda-developers.com/zenfone-3/how-to/zenfone-3-max-zc553kl-bootloader-unlock-t3691837
It kind of worked, and it did flash twrp. The only problem is that the twrp although launching, didnt seem to have permissions to access storage, probably due to a data encryption problem. all the storages had 0mb sizes and i couldn't do anything.
So naturally i googled my problem and tried a few methods.
Nothing seemed to work, and i ended up doing an advance wipe. That also failed and it said it didnt have access or permission to do it (something along those lines). Next day i decide to try again and now my internal storage seemed to show.
So i ended up formatting it, and while the files seem to be still there, i changed .ext4 to .ext2 and back again, and then it stopped recognizing the stock rom i still had installed. Please note that before all of this, although twrp didnt work properly, the phone still worked fine and booted into android. My problem is now the stock rom is gone, twrp says no OS installed, and i have tried my best to reinstall the stock rom, but that hasn't worked. Any ideas or help would be welcome thanks guys
Click to expand...
Click to collapse
i downloaded a previous rom version from asus site and that flashed fine.

S5, Flashed TWRP and custom ROM, restored stock from another phone, how to unmess?

Hello.
This is my first post as I've done everything myself till now, but now I'm really lost in some uncharted territory.
All I wanted is to have a second DeGoogled phone and I messed my Samsung Galaxy S5 beyond my understanding
So, I flashed TWRP to my SM-G900F klte through Odin and then installed /e/ ROM through zip method and everything was working fine, then I wanted to flash Intelli kernel, but I got an error saying "Digest failed to match on '/external-sd/Intelli-Kernel-v15-klte.zip'. E: Aborting zip install: Digest verification failed. Error installing zip file '/external_sd/Intelli-Kernel-v15-klte.zip'". I double checked the md5 of TWRP, /e/ and Intelli Kernel zip's, reflashed TWRP, flashed IceMan's TWRP recovery, wiped all partitions, formatted data and re-installed /e/, tried Havoc ROM, but I still got the same message. The problem wasn't only with the kernel, but also with some (not all) other zip's like A2camforS5_TWRP_v1.4.zip and even Magisk (which flashed fine) modules like A2camforS5_Magisk_v2.zip were not flashing (the procedure got through, but once the phone restarted the module wouldn't show up). On my previous SM-G900F klte phone everything was working fine. (And yes, TWPR's check md5 option was disabled, so this wasn't the problem)
After a bit of chatting on Intelli kernel and /e/ Telegram support groups I found out it wasn't the kernel or /e/ problem and that I should go back to stock and start all over. I had a full NANDroid backup from my previous phone so I renamed the backup folder to match the new phone serial (so it would show the partitions to restore in TWRP) and as I (and nobody else) didn't know where the problem was I restored all partitions. Everything went through as it should except modem, which showed an error saying something about being read-only and efs, which went half way through and then gave an error I don't remember (but can reproduce if needed). The phone wouldn't boot to OS (it was stuck on SAMSUNG logo), so I re-flashed TWRP and /e/ again and tried to flash the kernel or other zips but they were still giving me "digestion" problems... but it got worse! Now when I boot to /e/ I'm not even able to use the phone normally as a pop-up saying "Bluetooth app has crashed" and "Bluetooth app keeps crashing" shows up continuously even if Bluetooth as other wireless connection work just fine. Did I mess something up with the unfinished efs restore?
How can I diagnose the problem and unmess my phone? What steps should I take? I'm afraid of bricking my phone if I just start to do random stuff so any useful information would be appreciated! Please help!
EDIT: Even if my description of the procedure looks like I flashed a ton of stuff all at once I have just WRITTEN A RESUME AS CONDENSED AS POSSIBLE - the procedure took me more than a week of flashing ONE THING AT A TIME and testing if everything works fine. At no point in my flashing procedure there were more than three things present on my phone: TWRP, ROM and MAGISK as kernel and camera mod refused to flash anyway. To exclude Magisk being a problem I clean installed everything so I had just TWRP and ROM and I was getting the same problem. Then I reflashed TWRP only, using the IceMan version (because it presumably solves all flashing problems) retested, then flashed /e/ only, retested, Havoc only, retested... well, you got the picture!
I was doing everything under the guidance of Intelli kernel Telegram support group members until I understood the problem was not the kernel, nor TWRP/IceMan, nor /e//Havoc and went with the stock recovery through TWRP and messed my phone beyond Intelli kernel Telegram group's scope.
ShalaMala said:
Hello.
This is my first post as I've done everything myself till now, but now I'm really lost in some uncharted territory.
All I wanted is to have a second DeGoogled phone and I messed my Samsung Galaxy S5 beyond my understanding
So, I flashed TWRP to my SM-G900F klte through Odin and then installed /e/ ROM through zip method and everything was working fine, then I wanted to flash Intelli kernel, but I got an error saying "Digest failed to match on '/external-sd/Intelli-Kernel-v15-klte.zip'. E: Aborting zip install: Digest verification failed. Error installing zip file '/external_sd/Intelli-Kernel-v15-klte.zip'". I double checked the md5 of TWRP, /e/ and Intelli Kernel zip's, reflashed TWRP, flashed IceMan's TWRP recovery, wiped all partitions, formatted data and re-installed /e/, tried Havoc ROM, but I still got the same message. The problem wasn't only with the kernel, but also with some (not all) other zip's like A2camforS5_TWRP_v1.4.zip and even Magisk (which flashed fine) modules like A2camforS5_Magisk_v2.zip were not flashing (the procedure got through, but once the phone restarted the module wouldn't show up). On my previous SM-G900F klte phone everything was working fine.
After a bit of chatting on Intelli kernel and /e/ Telegram support groups I found out it wasn't the kernel or /e/ problem and that I should go back to stock and start all over. I had a full NANDroid backup from my previous phone so I renamed the backup folder to match the new phone serial (so it would show the partitions to restore in TWRP) and as I (and nobody else) didn't know where the problem was I restored all partitions. Everything went through as it should except modem, which showed an error saying something about being read-only and efs, which went half way through and then gave an error I don't remember (but can reproduce if needed). The phone wouldn't boot to OS (it was stuck on SAMSUNG logo), so I re-flashed TWRP and /e/ again and tried to flash the kernel or other zips but they were still giving me "digestion" problems... but it got worse! Now when I boot to /e/ I'm not even able to use the phone normally as a pop-up saying "Bluetooth app has crashed" and "Bluetooth app keeps crashing" shows up continuously even if Bluetooth as other wireless connection work just fine. Did I mess something up with the unfinished efs restore?
How can I diagnose the problem and unmess my phone? What steps should I take? I'm afraid of bricking my phone if I just start to do random stuff so any useful information would be appreciated! Please help!
Click to expand...
Click to collapse
Idk what your phone's actual issue is, but you should probably not have restored efs from previous phone.
At this point, I would probably Odin back to latest stock firmware, to see if the phone will boot and recognize sim card. If so, I would go from there, flash latest official TWRP, format data, and either restore the backup sans modem and efs, or try a different ROM.
DO NOT INSTALL TWRP APP
Also, try to do things in small traceable steps to make it easier to see what is causing your problem.
Eg:
Flash just the bare ROM, nothing else, no Magisk, no hacky crap, just the ROM. Test it.
If everything is satisfactory, then try the next step and test again, working your way up to your desired ROM/kernel/Magisk/apps solution that makes you happy.
For maximum stability it's always preferable to format data (Advanced wipe>format>type yes) when flashing a ROM to ensure a clean slate for everything.
Also, try not too let your phone get too hot with lots of flashing. I've seen good phones do odd stuff when overheated.
That's all the advice I can think of right now, how it is some help to you.
Good luck! :good:
you should probably not have restored efs from previous phone.
Click to expand...
Click to collapse
Yeah, I assume that was the stupidest thing, but an online guide suggested it's ok to restore from another phone's NAND backup as long as it's the same model, so I thought it was safe.
At this point, I would probably Odin back to latest stock firmware, to see if the phone will boot and recognize sim card.
Click to expand...
Click to collapse
My phone works fine with /e/ ROM as before - SIM, Wi-Fi, Bluetooth and all, there is just a constant pop-up saying that the Bluetooth app has crashed interfering with everything I do that wasn't present before the stupid restore to stock.
If so, I would go from there, flash latest official TWRP, format data, and either restore the backup sans modem and efs, or try a different ROM.
Click to expand...
Click to collapse
Did all this except trying a different ROM, because it wasn't producing the Bluetooth app has crashed problem before restoring to stock, so I assumed it's not a ROM problem. The digest problem was present also in Havoc ROM.
DO NOT INSTALL TWRP APP
Click to expand...
Click to collapse
Why? Is this a general issue or just a problem in my case? Anyway I have disabled the option before restarting to system.
Also, try to do things in small traceable steps to make it easier to see what is causing your problem. Eg: Flash just the bare ROM, nothing else, no Magisk, no hacky crap, just the ROM. Test it.
Click to expand...
Click to collapse
Yeah, I was doing the things one step at a time, my message is just a condensed resume of all the steps I did to make it shorter. I stopped adding things once I was unable to flash the kernel, camera mod and Magisk modules - I didn't just add everything I was trying to understand if the problem was just with kernel or my phone wouldn't flash also some other zips.
If everything is satisfactory, then try the next step and test again, working your way up to your desired ROM/kernel/Magisk/apps solution that makes you happy.
Click to expand...
Click to collapse
Yes, yes, that was the plan, but now the bare ROM doesn't want to work anymore without giving me Bluetooth app crashes
For maximum stability it's always preferable to format data (Advanced wipe>format>type yes) when flashing a ROM to ensure a clean slate for everything.
Click to expand...
Click to collapse
I did that before every flash.
Also, try not too let your phone get too hot with lots of flashing. I've seen good phones do odd stuff when overheated.
Click to expand...
Click to collapse
Good to know!
That's all the advice I can think of right now, how it is some help to you. Good luck!
Click to expand...
Click to collapse
Thank you. So now I flashed the latest .tar.md5 file for my model and my CSC through Odin and the phone wouldn't boot to stock ROM (I guess because it had /e/ Pie on it already and the latest stock ROM is just Marshmallow so it's considered downgrading), got stuck at SAMSUNG logo and phone went extremely hot. I pulled out the battery, went in download mode, flashed TWRP, wiped all partitions, formatted data, flashed /e/, booted /e/, the message about Bluetooth app crashing persists, went to TWRP, tried to flash Intelli kernel, got the "digest" error, tried camera mod, got "digest error" again, magisk flashed fine, so flashing works... so what now? I checked inside the .tar.md5 file and there is no efs partition so I guess it wasn't written over by flashing through Odin
Should the phone be able to boot to stock? Is that even necessary - would it fix anything?
ShalaMala said:
My phone works fine with /e/ ROM as before - SIM, Wi-Fi, Bluetooth and all, there is just a constant pop-up saying that the Bluetooth app has crashed interfering with everything I do that wasn't present before the stupid restore to stock.
Click to expand...
Click to collapse
"If so, I would go from there, flash latest official TWRP, format data, and either restore the backup sans modem and efs, or try a different ROM."
A: Did all this except trying a different ROM, because it wasn't producing the Bluetooth app has crashed problem before restoring to stock, so I assumed it's not a ROM problem. The digest problem was present also in Havoc ROM.
Click to expand...
Click to collapse
Maybe try flashing just the baseband with latest modem, etc from haggertk's archive on AFH, here:
https://androidfilehost.com/?w=files&flid=59628
You can flash that without wiping and it only touches the baseband/firmware files, so should not affect anything else
"DO NOT INSTALL TWRP APP"
A: Why? Is this a general issue or just a problem in my case? Anyway I have disabled the option before restarting to system.
Click to expand...
Click to collapse
It's a general issue. The app is bloatware and is known to sometimes cause bootloops see @curiousrom 's post here:
TWRP App Causing Bootloop or Fail To Boot
It's frustrating that TWRP is setup to facilitate easy swiping to install the app
A: Thank you. So now I flashed the latest .tar.md5 file for my model and my CSC through Odin and the phone wouldn't boot to stock ROM (I guess because it had /e/ Pie on it already and the latest stock ROM is just Marshmallow so it's considered downgrading), got stuck at SAMSUNG logo and phone went extremely hot.
Click to expand...
Click to collapse
Unlikely due to /e/ ROM, I have had this happen before. Just pulled battery, hold power button with no battery or charge cable for at least 10 sec to clear remaining charge (I have one phone that will get itself so out of shape that I have to leave it overnight with no battery before it will boot), let it cool, reinstalled battery and try again. Usually it will boot after this.
I pulled out the battery, went in download mode, flashed TWRP, wiped all partitions, formatted data, flashed /e/, booted /e/, the message about Bluetooth app crashing persists, went to TWRP, tried to flash Intelli kernel, got the "digest" error, tried camera mod, got "digest error" again, magisk flashed fine, so flashing works... so what now? I checked inside the .tar.md5 file and there is no efs partition so I guess it wasn't written over by flashing through Odin
Should the phone be able to boot to stock? Is that even necessary - would it fix anything?
Click to expand...
Click to collapse
Flashing stock ROM can sometimes help fix EFS issues, so that is why I suggested that. I also like to see the stock ROM boot with all functions working to make sure the hardware is ok.
I don't assume you haven't done any of the things I suggest. I'm just brainstorming to see if I can help you from my personal experience with my S5s.
Hope you can get yours working:good:
Maybe try flashing just the baseband with latest modem, etc from haggertk's archive on AFH, here:
androidfilehost.com/?w=files&flid=59628
Click to expand...
Click to collapse
I'm reading some instructions: ohthehugemanatee.org/blog/2015/04/04/how-and-why-to-update-the-modem-slash-baseband-firmware-on-a-samsung-phone about how to flash baseband as this is something I've never done before and I'm afraid to mess my device even further... They say "Note that each carrier handles their own updates, so they package their own modem firmwares with slightly different serial numbers. There shouldn’t be any significant difference, but check which one comes from your country and provider".
So I searched for the CSC of the firmware you've linked and it seems to be XXU: samfrew.com/download/GALAXY__S5__/1l88/BTU/G900FXXU1CRH1/G900FOXA1CRH1, which turns out to be a "Multi-CSC for some of the countries and regions (“O” refers to Open)"... is that "some" that bothers me as XXU is not listed under my country's CSC list.
Should I worry? Is it possible to try out if this baseband solves my problems and if it will not work return to the previous version flashing the stock ROM again or am I risking to brick my phone? I didn't find a baseband for my country's csc (SIO) as I will not be receiving any official updates anymore should I change my phone's CSC to XXU first?
(I'm not able to post URL's yet, so they are truncated.)

Categories

Resources