Can't boot my phone - HTC Sensation

For 2 days or so I've been having random reboots and today after one I couldn't boot up my phone.Tried wiping dalvik cache and cache, flashing new boot.img and backuping and restoreing.
ROM: ViperS 1.6.3(clean install)
Kernel at that time: SebastianFM 1.5.2
Logcat attached

steelclaw said:
For 2 days or so I've been having random reboots and yoday after oen I couldn't boot up my phone.Tried wiping dalvik cache and cache, flashing new boo.img and backuping and restoreing.
ROM: ViperS 1.6.3(clean install)
Kernel at that time: SebastianFM 1.5.2
Logcat attached
Click to expand...
Click to collapse
Can you please attach a dmesg?

I also tried installing ViperS 1.63 and restoring only the data partition from the backup but again I get stuck at the splash screen.

a quick look at the logs seems like modem initialization has failed
reflash the firmware and see
also ..do a clean flash of vipers rom ..then boot it up ..setup the basic stuff
then go back to recovery and do any other things you want (another kernel, restore data etc etc )

As I said restoring data from the backup to a freshly installed ROM causes bootloops again, therefore I think that the problem is somehow connected to the data partition.
Side note: Just before the phone shut down I turned on my mobile data.Maybe it is indeed a problem with the radio?
HBOOT-1.27.1100
Radio-11.24A.3504.31_M
PS. Anyway I can get my data back from a nandroid backup?
Update:
If I wipe out the data the phone can boot normally.

steelclaw said:
As I said restoring data from the backup to a freshly installed ROM causes bootloops again, therefore I think that the problem is somehow connected to the data partition.
Side note: Just before the phone shut down I turned on my mobile data.Maybe it is indeed a problem with the radio?
HBOOT-1.27.1100
Radio-11.24A.3504.31_M
PS. Anyway I can get my data back from a nandroid backup?
Update:
If I wipe out the data the phone can boot normally.
Click to expand...
Click to collapse
Your data partition had errors. I assume the wipe/format cleaned and corrected the problem.

Yes but is there anyway I can get my data back because I have some really important stuff there.

steelclaw said:
Yes but is there anyway I can get my data back because I have some really important stuff there.
Click to expand...
Click to collapse
It's possible.
You'll need to restore the /data image you have backed up.
Reboot into 4EXT and mount the /data partition.
Make an Adv. Backup of the current /data partition.
Restore the old backup.
Run this.
Code:
e2fsck -f /dev/block/mmcblk0p23
Code:
adb pull /data/ .
The entire /data directory will be pulled from the phone to the folder in which you keep your ADB executable.
From there you can selectively copy files to the phone.

or an easy way to do is from titanium backup app
you can extract data of apps /phone from nandroid backup

Thanks both of you.
Update:
Most of my data is corrupted but luckly the one I needed was still intact

Related

Nandroid backup..

I did a nandroid backup bit it said fatal error while backing up bpws...or something like that...(one more thing...will nandroid backup...backup my apps if I lost them??)
Sent from my XT720 using XDA App
vari9 said:
I did a nandroid backup bit it said fatal error while backing up bpws...or something like that...(one more thing...will nandroid backup...backup my apps if I lost them??)
Click to expand...
Click to collapse
For some reason we can't back up all the partitions in nandroid. It should be enough to backup system and data. Optional: boot, logo (if you modified M boot logo), cache (usually not necessary), sd data (if you use ext partition on SD card).
With nandroid of system and data (and the others, but only if you use them) you should expect to be able to go back to exactly how your phone was at the time you made the backup. But you will lose changes you made after you made the backups.
When I'm about to start testing ROMs, I backup system and data. To go back to my pre-testing ROM I restore system and data and then wipe cache partition.
Mioze7Ae said:
When I'm about to start testing ROMs, I backup system and data. To go back to my pre-testing ROM I restore system and data and then wipe cache partition.
Click to expand...
Click to collapse
You want to say system and boot ?
Because changing a room modify system.img and boot.img
The boot.img is the same on all the ROMs thanks to the locked bootloader.
Yeah, I never even bother changing boot.img from the sbf version. If I did I'd probably use the Russian one because I think it was the most recently compiled.
Ok, I wasn't knowing that I always flash boot.img that come with ROM.

Bootloops...

For whatever reason last time my battery died my phone's not properly booting anymore.
I flashed stock rom and kernel, wiped dalvik cache, battery stats cache partition, fixed permissions...
I remember last time I had a bootloop resulting from something I did with build.prop I was able to get a verbose realtime log of the booting over USB, but I don't remember how I did it.
logcat's not found in my sbin, it's in /system/bin, and when I run it from there it stops when trying to boot into main.
I have adb and fastboot.
In recovery (ie, CWM or TWRP), do a full backup (NANDROID) and then:
data/factory reset
format /system
format /boot
Now flash a Stock ROM for your phone again. This should sort out just about any non-hardware issue.
if i restore that backup will i have my /data back? Would restoring put it in the same state of affairs that led to the bootloop?
Is there a way to partially restore a nandroid backup? I'm trying to get app data and such back.
You can restore either the whole partition via cwm or parts of it via app extractor. You can also edit the data partition and restore the edited version.

[Q] Nandroid Backup

So i think my nandroid backup is nuked... i do a wipe/factory reset, wipe the cache etc etc - tried restoring the backup. After 10mins or so of waiting the process completes and i reboot the phone. I have been sitting here for over 1hr looking at the boot animation.
If there is noway to restore the ENTIRE backup, is there a way i can extract specific stuff like my text messages? I really can't afford to lose them
duwii said:
So i think my nandroid backup is nuked... i do a wipe/factory reset, wipe the cache etc etc - tried restoring the backup. After 10mins or so of waiting the process completes and i reboot the phone. I have been sitting here for over 1hr looking at the boot animation.
If there is noway to restore the ENTIRE backup, is there a way i can extract specific stuff like my text messages? I really can't afford to lose them
Click to expand...
Click to collapse
That seems to happen when /datadata is full or there's some other problem with restoring /data, and the system isn't able to boot. Maybe you can wipe /datadata only and see if boots. I also know that TiBu can extract data from nandroid backups, but I'm not positive whether that applies to messaging.
korockinout13 said:
...Maybe you can wipe /datadata only and see if boots...
Click to expand...
Click to collapse
Let me apologize for my ignorance but how do i do that?
duwii said:
Let me apologize for my ignorance but how do i do that?
Click to expand...
Click to collapse
In recovery, go to mounts & storage, and format /datadata. Although my memory fails me as to where messages are stored...
Sent from my SGH-I897
i forgot to mention that this is a fresh installation (i formatted the entire internal storage, basically coming from STOCK).. i still need to do that wipe you refer to?
duwii said:
i forgot to mention that this is a fresh installation (i formatted the entire internal storage, basically coming from STOCK).. i still need to do that wipe you refer to?
Click to expand...
Click to collapse
Well wiping /datadata may (or might not) allow the phone to boot, because the phone can't boot when that partition is completely full. It also might wipe your messages but I'm not positive.

[Q] Bootloop after restoring Nandroid Backup

So I recently flashed Paranoid Android based on Lollipop 5.1. Everything was working perfectly but I decided I wanted to flash Xperience kernel. I did a nandroid backup first. I flashed Xperience. After going into a bootloop I went back to TWRP to restore and retry to see what I did wrong. After restoring I am cought in a bootloop again. What should I do?
Try wiping cache and dalvik cache.
bhatt095 said:
Try wiping cache and dalvik cache.
Click to expand...
Click to collapse
Already tried that. I already got it to boot but I lost all my apps and stuff so that sucks. I am still trying to make the restore work because I am lazy about downloading everything again configuring and personalizing my device again.
ekuhlmann said:
Already tried that. I already got it to boot but I lost all my apps and stuff so that sucks. I am still trying to make the restore work because I am lazy about downloading everything again configuring and personalizing my device again.
Click to expand...
Click to collapse
have you backupd all the stuff (/data /system /boot ) ??? thats really all that need. wiping cache means no real data loss. if yes, then wipe the phone complety( format /sytsem /data /cache /dalvik /internal storage) (maybe copy internl storeage on pc 1st) to make sure all is fine from phons side. after that restore your backup completly but without restoring cache & try to boot.
bejunk said:
have you backupd all the stuff (/data /system /boot ) ??? thats really all that need. wiping cache means no real data loss. if yes, then wipe the phone complety( format /sytsem /data /cache /dalvik /internal storage) (maybe copy internl storeage on pc 1st) to make sure all is fine from phons side. after that restore your backup completly but without restoring cache & try to boot.
Click to expand...
Click to collapse
I did not backup everything. I only backed up what was checked by default on TWRP so that is probably it. Thanks.
ekuhlmann said:
I did not backup everything. I only backed up what was checked by default on TWRP so that is probably it. Thanks.
Click to expand...
Click to collapse
i think TWRP atleast backups /system , /data & /boot maybe u check it? (you can tap on cutom restore or look in the backup folder to know whats bacupd)
bejunk said:
i think TWRP atleast backups /system , /data & /boot maybe u check it? (you can tap on cutom restore or look in the backup folder to know whats bacupd)
Click to expand...
Click to collapse
Damm I am so stupid. Apparently I accidentally unchecked boot so it wasnt backed up. That is most likely the reason why I am not booting.
ekuhlmann said:
Damm I am so stupid. Apparently I accidentally unchecked boot so it wasnt backed up. That is most likely the reason why I am not booting.
Click to expand...
Click to collapse
Ok then its easy. Wipe the Device, install only the Rom which has the needed kernel, Boot it once, then back to recovery & restore System + Data. Done =) good luck
Btw /Boot is the kernel. So you never restored your old kernel and spirit bootlooped like you say...
bejunk said:
Ok then its easy. Wipe the Device, install only the Rom which has the needed kernel, Boot it once, then back to recovery & restore System + Data. Done =) good luck
Btw /Boot is the kernel. So you never restored your old kernel and spirit bootlooped like you say...
Click to expand...
Click to collapse
Still bootloop. I am giving up. Starting over.

HELP PLZ...Orangefox/twrp backups

I keep trying to do backups but it gets about half way through and the error 255. I don't understand what I'm doing wrong. Is it not possible to backup through twrp on xt1955-5. If not any suggestions on other means. Something that would include my accounts as well would be great. I have an google acct that google refuses to give back. Be cause they say can't verify. I know password but 2sv got messed up. Which is a bunch of bs. They track everything. I would prefer to never have to go through this again. Any help would be great.
First question. What all are you trying to backup? Second, to where? Third, do you have adequate space for said backup?
Also, if you have a pin or code enabled for access to the device I would disable it for the backup process.
I'm trying to back up system and data only to my ext sd with 50g avail but only needing 12g
Pbsipher1 said:
I'm trying to back up system and data only to my ext sd with 50g avail but only needing 12g
Click to expand...
Click to collapse
I was able to use TWRP to create a backup on an SD card. I'm running Android 10 and rom RR.
You might try other avenues like titanium or migrate. A quick internet search might lead you to a better procedure and app.
I've been having the same trouble. I just restored my XT1955-5 to stock RETAIL. Then installed TWRP and Magisk. I set my phone up as I like it, and want to back it up - everything I can possibly backup - boot, data, system, system image, efs, persist1, persist2, fsg, vendor, vendor image, dsp, and boot logo.
Before I tried to backup anything, I made sure that I mounted all of the partitions in TWRP.
The first few times I tried to back them all up at once, I got the error 255. So I started backing up the partitions one by one. The only partition that would NOT backup was the data partition. I still get the error 255 on the data partition backup. But all the others worked fine. I even went back and selected all the partitions except the data partition, and it backed up in one large backup just fine. So I don't know what the deal is with the data partition, but I can grab it with adb pull, so I guess I'm good to go.
I even booted back into the system and turned off the screen lock PIN - changed it to none. But I still couldn't backup the data partition via TWRP.
This should work for you from adb to backup your data partition:
Code:
adb push mmcblk0p64-data.img /dev/block/mmcblk0p64
Thanks tom2112 I'll give it a try what can it hurt. I also heard u have to be decrypted in order to backup data but can't seem to get decryption to stick
i was no able to backup using that command got
adb: error: stat failed when trying to push to /dev/block/mmcblk0p64: permission deni
Tom2112 said:
I've been having the same trouble. I just restored my XT1955-5 to stock RETAIL. Then installed TWRP and Magisk. I set my phone up as I like it, and want to back it up - everything I can possibly backup - boot, data, system, system image, efs, persist1, persist2, fsg, vendor, vendor image, dsp, and boot logo.
Before I tried to backup anything, I made sure that I mounted all of the partitions in TWRP.
The first few times I tried to back them all up at once, I got the error 255. So I started backing up the partitions one by one. The only partition that would NOT backup was the data partition. I still get the error 255 on the data partition backup. But all the others worked fine. I even went back and selected all the partitions except the data partition, and it backed up in one large backup just fine. So I don't know what the deal is with the data partition, but I can grab it with adb pull, so I guess I'm good to go.
I even booted back into the system and turned off the screen lock PIN - changed it to none. But I still couldn't backup the data partition via TWRP.
This should work for you from adb to backup your data partition:
Code:
adb push mmcblk0p64-data.img /dev/block/mmcblk0p64
Click to expand...
Click to collapse
ed
Hmm... if it is "permission denied" that sounds like you need root permissions to back it up. I'm sorry, but I'm not good enough with ADB to tell you how to get higher privs. Maybe ADB SHELL then SU, but I don't honestly know.

Categories

Resources