[help] secure boot error - G3 Q&A, Help & Troubleshooting

TL:dr first; Got the dreaded red and blues, is there anyway to recover while keeping my data?
I was messing around in the hidden menu, selected the first option (HW test), it restarted, and now I get a secure boot error. I can access Twrp, and USB download mode. Just now made a full backup in Twrp, and copied the internal storage. To the best of my knowledge, I can't backup my texts from here, nor my Spotify library. Is there any way I can recover from this without loosing my data? (D855, 32 GB, just in case that'll help)
After looking at a few threads, it looks like a simple reflash of the kernel/boot.IMG will fix it. Am I correct?

Related

[Q] Unlock bootloader + root without data wipe?

Is their a method of unlocking the bootloader and rooting the phone (Verizon LTE Version) without losing my data and settings? I want to install cwm and flash a few tweaks but at his point do not want to have to set the phone back up again. Not having root and cwm prevents the back up I need. Is their a way to back up the data partition without root and restore it later after the unlock and root?
You only lose data when you unlock the bootloader and from what I have read you need to unlock the bootloader to get root. You can backup the contents of your /sd card/ so you can backup your app data but I don't think you'll be able to keep system data. If you have a Google account synced it keeps most of this backed up anyway though.
That is the way I understand it as well, was hoping that their would be a better way to do it. I have transferred over 10 gigs of pictures and music t the phone and with mpt it took loooooong time to transfer all that stuff. I know google will restore the apps and some settings like wifi, but then one has to open all the apps you need a log in for and set them up as well.
havent really used MTP much so i dont know whats faster that or transferring over FTP.. maybe that could help you a bit
No. Bootloader unlock = wipe. No questions, no two ways around it.
adb pull /mnt/sdcard *
Back up the whole sdcard partition.

[Q] Cyanogenmod Update Stuck on Splash

Hey fellas,
A while ago I installed Cyanogenmod over my stock Samsung ROM (Rogers) using the Cyanogenmod Installer.
Then a few weeks ago, through settings -> about (or information), I updated to CM11 with no issue.
Today, I was prompted to update again (not sure what version it was, but I believe I had the update check frequency to 1 week, and today was the first time I got this prompt in a while).
The phone seemed to update fine, but after reboot, it is stuck on the splash screen (black background, says Samsung Galaxy S III, and has the cyanogenmod guy/logo at the bottom). This is the splash screen that pops up (usually only for a second) before the boot screen with the rotating circle.
From the search I've done, I was only able to find people that are stuck on the boot screen (with the circle), rather than the splash screen. And for those people the only solutions I was able to find involved factory reset. Before I attempt any of that, I was wondering if there was anything else I could try (other than wiping cache). Idiot that I am, I haven't backed my phone up since I first installed CM, and I have a number of very important contacts and texts that I really can't lose.
Failing that, is there a way to back up such information before wiping user data? Perhaps after booting into recovery?
Thanks in advance for any help whatsoever.
With regards to backing up,
If I boot into recovery, can I back up user data like contacts and SMS through ClockworkMod Recovery? If so, will it work even though the phone doesn't seem to be able to boot?
Under Backup and Restore, I see various options, I think storage/sdcard1 is the external SD card.
If I choose backup to /storage/sdcard1, it starts backing up my data, but exactly what will be backed up? Also, I don't have a ton of space in my SD card, would it be possible to select what to back up and what to skip?
Finally, under Mounts and Storage, there is a mount USB storage option. I assumed going into it will allow my computer (connected by USB) to detect my SD Card, and I can delete stuff off of it, but my computer can't detect the phone/sdcard either as media device or storage. Am I doing something wrong, or is this not what this function is supposed to do?

[Q] how to pull backup data with adb

hey guys
I'm completely desperate. Here's what happened the last two days:
Yesterday my Fairphone suddenly became very slowly and then wouldn't boot no more. Since then every time I try to start my phone, I get the message "process system doesn't react" or something like that. The only thing thats working is the recovery mode.
Today I wanted to make a complete backup so that I can make a hard reset afterwards. But then I had to realize, that the recovery mode isn't able (or I'm not able to see how) to make a backup on an external sd card but only on the internal storage (which is also called sd card which confused me about an hour).
The problem now is that I have a backup but I can't get it on my computer or on my external sd card and so it will be deleted too if I make a hard reset.
I searched the internet for hours and found out, that it is possible to somehow remote control the phone via adb. I read that the phone has to be in "usb debugging mode". I can just put my phone into adb sideload mode or however its called by choosing "update with adb" in the recovery menu.
Is this the reason why my "adb pull" command isn't working? It just says "error: closed". Or is it because I haven't wrote right the path of the backup file? (I used: /mnt/sdcard/userdata_20130801_134656.backup)
Please help me! I have tried so much already, my brain is sizzling:silly:
I'm working on a Mac and have installed sdk.
Thanks in advance!!!
------------------------------------------------------------------------------------------------------------------------------------------------------------
EDIT:
Just to close this topic and maybe help other people with the same issue:
I finally managed to pull the /data folder using adb. What I didn't know was that the backup file (and all pictures, videos, music and so on too) is stored on the internal sd card which isn't affected by the factory reset in the recovery menu. What I also found out was that the backup file (that I had created during the "bootloop" or whatever it was) was corrupted. So the backup logically broke my FP again after I restored from it.
So the solution, as mentioned above, was to pull the /data folder which contains all important user data such as wifi passwords, contacts, messages and so on
I hope it helps
peace
SC

How to delete EVERYTHING off M8?

Edit fiftyfuknmillion;
soooooooooooooooo, the error was a lack of space on the internal memory. Deleted some crap and the restores occured fine!
Particular data recovered and backed up externally.
sooooooooo, back to my original question; how the **** do I delete EVERYTHIGN on the phone before handing it back??
Edit3; ok, title edit. My major concern is not been able to get this restore to work. Anyone able to help.
extractTarFork() process ended with ERROR: 255
Short history;
1) HTC M8 on TWRP 3.0.20, rooted, running fine, backed up no issues. Screen breaks, getting warrenty replacement. Create new backup, System Data and Boot. Completes fine to microSD.
2) return phone to stock recovery before taking into store as to not void warrenty, stock recovery loads fine, warrenty approved.
3) go to return phone to previous state (TWRP & restore that backup) and the backup fails with above Error 255.
4) complete format to 6.24.841.1 including recovery - loads fine, phone looks brand new with exception of some data remaining on internal storage.
5) tried multiple things, restoring just the boot, restoring only data, wiping this and that. So far, nothing will let the Restore succeed.
Any help would be much appreciated!!!
Hi all;
My beloved M8 had vertical line on the touch screen die so I couldn't touch in that zone - 10 days before the warranty was due to end - lucky! Telstra honnored the warranty without issue, and they are replacing the unit with a new M8.
Questions;
1) Can I take my Backup from TWRP 3.0.20 (on an external microSD) and load it onto the new M8? best method or just install TWRP and restore this backup?
2) in past experiences I had issues with restores and rooting, and I've always noticed certain data is still on the phone after reloading a "clean install". What is the absolute best way to delete all data? (I have a tinfoil hat sometimes). I want to delete absolutely everything possible so the phone is effective factory new.
Thanks for your support.
Edit: I just tried to restore to a Backup created 2 nights ago and received Error 255? Any ideas why?? (still using same original M8 - replacement not here yet).
Edit2; extractTarFork() process ended with ERROR: 255
it appears I can't even load my last backup from 2 nights ago. What have I done wrong??? It was made with TWRP 3.020 and using the same 3.0.20 to reload it.
Not familiar with Error 255. Maybe try using the TWRP "Format data" button in the Wipe section; in case there is some data corruption preventing the restore?

Missing back-up/phone locked/weird sd-card behaviour

Hi together,
just as a disclaimer, I don't really have knowledge in this field (custom roms etc), but I'm willing to learn and understand what is going on.
I have the Moto G5 as my daily phone with the unofficial lineage 17 from the xda-forum. It's not rooted. Now i saw that the g5 got official support for LOS18, so I wanted to upgrade. However, I had some important files on my phone, so I wanted to do a backup (with twrp), which i did on a different sd-card than the one I was using as storage. Or so i thought. The upgrade itself wasn't really a problem, at first i forgot to wipe the phone, but i realized right after the installation, wiped it accordingly to the instructions and did the installation again. The phone booted without a problem and everything seemed fine. I encrypted the phone accidently, i thought it was the lockscreen pin. But it wouldnt recognize the sd i used as storage on the previous version. Because i had pictures, music etc on the card, i wanted to restore my backup to use the phone as before. Well... to my surprise, on the sd i used to back up i couldn't find it, but strangely there were now two versions of a backup i made some months ago, only different in the timestamp (not the date) in their filename. I didn' know if one of them was the one i made, or if i had made two backups back in the days. I was confused, but i chose on of them at random and restored it. It seemed to have worked, it booted to the familiar lockscreen i set up a while ago. But then: it wouldnt accept the pin, even though i knew it was the right one - at least for the system i have used the same morning. I had to delete the lockpin.db (or how it was called) via twrp to acces the phone again. The former uncompatible storage sd now got recognized and worked, the phone showed all the apps i had before, i was still logged in in all of them etc. But: i made a photo, wanted to look at it in my gallery app, and i briefly saw my albums - then they vanished and only the photo i had taken was there. So now all the pictures, music are gone from the sd. Some funky things are different, the swipe directions for the "recent apps" and "back" buttons on the fingerprint sensor are switched and i cannot find the menu to change them. That's the story.
Here are my questions:
The backup i made - why wasn't it called with the proper date and time? Or have i deleted it somehow due to my wiping mistake? but it was on the sd... ?
I now assume i restored the old backup with a different lockscreen pin, and thats why the pin i thought was correct didn't work. But some apps which i hadn't installed at the time i made the backup where there and with all the recent data. Doesn't that mean the sd has some kind of image of the system or rather the apps themselves stored? but why are the pictures and the music gone? Is there any chancce to get it back? Can I upgrade to LOS18 and use the same sd as storage without the need to format it?
I'd like to learn what the mechanisms behind all these happenings are and would be glad if someone could explain it! Thanks in advance!
Twrp backups do no backup personal files - This includes music pictures and documents. These must be backuped up yourself to a pc, external device or the cloud.
TWRP backups do backup the following for example
System - your current rom
Data - apps and their data of your current rom, phone settings
Boot - Kernel
Never restore data on a different rom. The data contains apps and settings for your current rom and restoring this on a different rom will likely lead to a bootloop or an unstable device. This is why you had issues with passwords.
In regards to personal files - if you have formatted data of an encrypted device then it removes encryption and thus formats internal storage. Anything on this will be lost.
If you are changing roms you need to format data and then install everything again via the playstore (or manually via apk)
You can use 3rd party apps that backup apps and data but I advise against this as what it restore may be unstable on a different OS
As with the twrp date I assume twrp assigns the correct date. The file would be lost if you backup up to internal storage and your formatted data. I don't know what happened to it if you backed up to an external device.

Categories

Resources