[Q] Backup / Restore - Android Q&A, Help & Troubleshooting

I used an app from the play store called root uninstaller, only after I used it and my phone buggered out did I read other users comments.
I noticed that if you install the app, when trying to use it if you click on an app to uninstall, you actually get the app listed before the one you clicked.
Now I've uninstalled an app I have no idea which, now I get a login screen, when I swipe the lock to unlock I get a message, something like "System UI has stopped responding" then locks itself again. (maybe I uninstalled System UI?)
I can turn the phone off, then start up into recovery mode, I get the following options.
reboot system now
apply update from ABD
aplly update from sdcard
apply update from cache
wipe data/factory reset (this doesn't reset the phone to original state, just wipes data/cache)
wipe cache partition
backup user data
restore user data
Now the thing is this is an unknown Chinese brand, I have a 2nd one that is still working.
How can I get this to work again?

Are both the phones rooted?
Are these stock recoveries or custom?
If custom recovery, you can take a clockwork mod backup of ok phone and install on non working phone.
If no custom recovery but rooted, then you can pull the system folders of both phones on pc and compare the folders for missing apps.
Then push missing app via adb.

393,
kapil_dheer said:
Are both the phones rooted?
Are these stock recoveries or custom?
If custom recovery, you can take a clockwork mod backup of ok phone and install on non working phone.
If no custom recovery but rooted, then you can pull the system folders of both phones on pc and compare the folders for missing apps.
Then push missing app via adb.
Click to expand...
Click to collapse
Thanks for your reply.
Before the phone went downhill, yes it was rooted, the other phone isn't rooted but that is easily done.
I couldn't install the clockwork mod backup though on the phone that went down.
How do I pull the system folder off the broke phone? I can't get it past the boot up screen anymore.
The android on it is coreandroid. I hate it.

Install adb on your pc.
Get to know basic adb commands.
On the computer command prompt with the good phone connected, do
adb shell
su
cd /system
ls -al
This will list all apps in system folder.
They will be numerous.
Do the same for bad phone.
Comparing the files, you can identify the missing file.
---------- Post added at 09:17 PM ---------- Previous post was at 09:14 PM ----------
ON the second Note , you can do
adb pull /system/ >c:\system1
This will pull all system files to the said folder in c drive.
Do the same for other phone
adb pull /system/ >c:\system2
Compare both the folders to find the missing file.

Related

System and user apps accidentally frozen

READ AT THE END OF THIS POST FOR THE SOLUTION
I accidentally used Titanium Backup's widget to frost all system and user apps, leaving mi phone in a infinite boot animation loop. I dont have aNandroid Backup and I would really love to solve this issue without flashing.
I found at Titanium Backup's troubleshooting webpage that I could use this command with adb to solve my issue:
Code:
Type the following command (replace with /dbdata/system/packages.xml if you have a Samsung phone):
busybox sed -n 's/<package name="\([^"]\+\)".*enabled="false".*/\1/p' /data/system/packages.xml | while read PKG; do pm enable "$PKG"; done
but it just says: No such file or directory (yes, I changed /data to /dbdata as stated in the webpage)
Any idea on how to solve this issue?
Thank you!
**EDIT:
This is the way I managed to get my phone working again without having to flash or wipe:
1. Boot in recovery mode and used adb pull command to extract "packages.xml" and "packages-more-backup.xml" from /data/system/
2. Open both files with Wordpad and replaced all protection="2" or "3" lines to protection="1".
3. Also, and very important, replaced all enabled="false" lines to enabled="true"
4. Boot in recovery again and used adb to delete old "packages.xml" and "packages-more-backup.xml" files and push the new ones.
5. Reboot and Voila!
6. Boot once again in recovery mode and fix permissions to avoid any problem.
Hope that this could be usefull to someone else having this horrible problem.
Thank you all!
Checked for that file on my phone, it doesn't exist in /dbdata/system/, but it does in /data/system/
It's probably fixable from the command line with Linux but that is over my head, one option would be to Odin or heimdel back to stock, and start from scratch. You might need a jig to get into dlmode.
Sent from my SAMSUNG-SGH-I777 using xda premium
nitox.n2o said:
Checked for that file on my phone, it doesn't exist in /dbdata/system/, but it does in /data/system/
Click to expand...
Click to collapse
I tried with /data too but same result.
shadow65781 said:
It's probably fixable from the command line with Linux but that is over my head, one option would be to Odin or heimdel back to stock, and start from scratch. You might need a jig to get into dlmode.
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
I know I could do that but I would really like to restore my system as it was
Help please
I wonder what would happen if you removed the app (its apk) via adb from /data/app. Would it retain the freeze settings? Something to consider trying.
This happened to me. I reflashed the ROM without wiping and all was back to normal
Sent from my FrankenTAB using Tapatalk
Simba501 said:
I wonder what would happen if you removed the app (its apk) via adb from /data/app. Would it retain the freeze settings? Something to consider trying.
Click to expand...
Click to collapse
Pretty sure that's not gonna work because the frozen apps settings are at packages.xml file, but I can't access it I don't know why
jhermit said:
This happened to me. I reflashed the ROM without wiping and all was back to normal
Sent from my FrankenTAB using Tapatalk
Click to expand...
Click to collapse
I tried doing that right now but it didn't worked
I got a little too punchy with titanium on my 3 year old original Galaxy tab 7 and froze a samsung system app. Got irreversibly stuck is soft brickland - Tried various methods before giving up and hitting the wipe and reset to factory restore in the system recovery mode. Everything was backed up except recent photos, so it was more annoying than the end of the world.
Odd thing was when it reset to factory, it appeared to do just that, yet when I plugged it into PC and mounted it - the memory was full and all my files and app data files were there - untouched. The apps themselves have gone except one - Superuser is still there, Does Superuser somehow override being reset? and act as a guardian of your data in the event of reset?
Odd. I was expecting to run some file recovery software to a salvage what i could, but viola - it was all there.
shokuchi said:
I got a little too punchy with titanium on my 3 year old original Galaxy tab 7 and froze a samsung system app. Got irreversibly stuck is soft brickland - Tried various methods before giving up and hitting the wipe and reset to factory restore in the system recovery mode. Everything was backed up except recent photos, so it was more annoying than the end of the world.
Odd thing was when it reset to factory, it appeared to do just that, yet when I plugged it into PC and mounted it - the memory was full and all my files and app data files were there - untouched. The apps themselves have gone except one - Superuser is still there, Does Superuser somehow override being reset? and act as a guardian of your data in the event of reset?
Odd. I was expecting to run some file recovery software to a salvage what i could, but viola - it was all there.
Click to expand...
Click to collapse
Wrong forum dude
Sent from my Zanpakuto using Getsuga Tensho!
<deleted>
ZIP for unfreezing apps
For those, who accidentally frozen important system app: here quick solution without factory reset, reflashing and ADB
It automatically edits files as described in first post.
You should have unlocked bootloader. If no, ZIP useless because unlocking wipes all data.
Download both ZIP's and just flash them via custom recovery (TWRP / CWM)
If first throws error try second and vice versa. 2nd with mark "New" contains newer updater-binary that must be compatible with recent TWRP.
Then all apps will be unfrozen, so phone will boot.
Fix compatible with all Android versions.
Note: also you can somehow (ADB or filemanager in TWRP) delete file /data/system/0/package-restrictions.xml
More correct to edit that file which ZIP actually do, but deleting not harmful too.
tags: unfroze apps, auto-unfroze, defrost apps, unfreeze apps, 5596
Bonoboo said:
For those, who accidentally frozen system app there is quicker solution without factory reset and ADB.
It automatically edits files as described in first post.
Just flash this ZIP through recovery and all apps will be unfrozen.
Compatible with all Android versions.
Click to expand...
Click to collapse
THANKS MAN!! i just signed up to say thanks! you just saved my life :highfive:
Bonoboo said:
For those, who accidentally frozen system app here quicker solution without factory reset and ADB
It automatically edits files as described in first post.
Just flash this ZIP through recovery and all apps will be unfrozen, so phone will boot.
Compatible with all Android versions.
tags: unfroze apps, auto-unfroze
Click to expand...
Click to collapse
Thanks very much for the zip. It worked great
Same Problem
Does anyone have an updated version of that zip? I also froze an app linked to the device and it won't boot, even after factory resetting it. Tried running the zip on my t-mobile GS4 (probably newer than that zip) from the SD card in recovery mode, however it didn't unfreeze it.
Any help greatly appreciated!
pianoplayer55 said:
Does anyone have an updated version of that zip?
I also froze an app linked to the device and it won't boot, even after factory resetting it.
Click to expand...
Click to collapse
1. To flash that ZIP you need have custom recovery (CWM or TWRP), not stock.
No update needed, it still works in this case.
2. That strange. Maybe you not really performed reset?
Double check all and try again.
Bonoboo said:
1. To flash that ZIP you need have custom recovery (CWM or TWRP), not stock.
No update needed, it still works in this case.
2. That strange. Maybe you not really performed reset?
Double check all and try again.
Click to expand...
Click to collapse
Yup, unfortunately I did select wipe data on the recovery screen. I am also stuck in an infinite boot up loop and cannot access the phone to install any apps. How can I use a custom recovery to run the zip file if i cannot access the phone? Instructions much appreciated. Thanks again.
pianoplayer55 said:
How can I use a custom recovery to run the zip file if i cannot access the phone?
Click to expand...
Click to collapse
ZIP – it's not app.
Again, you need to install custom recovery.
Here link to TWRP and how install it via Odin on PC.
You need place that ZIP on sdcard.
Enter in recovery (don't know how on your model), select Install > find ZIP > confirm > reboot,
Bonoboo said:
ZIP – it's not app.
Again, you need to install custom recovery.
You need place that ZIP on sdcard.
Enter in recovery (don't know how on your model), select Install > find ZIP > confirm > reboot,
Click to expand...
Click to collapse
Downloaded TWRP with Odin and ran custom recovery without a change after the zip (this must have been a deeper-rooted problem in the OS itself), however in the meantime I formatted the system partition, removing the operating system. Installed Kies and ran the update. It reinstalled the OS and I'm good now. Most stuff was backed up anyways. Thanks guys for your time :good::good:
Which apk is the culprit?
Man, I wish I'd found this thread before restoring my phones internal ROM. Had it rooted and set up in every way I like except removing bloatware.
Using TB, I froze a system apk that shut down my System UI and sent the phone bootlooping. What I'm trying to determine is WHICH apk(s) I froze that caused this. I thought I had researched each one that didn't seem obvious, but I musta missed one or one of the 'obvious' ones wasn't so obvious.

[Q] Samsung Galaxy S3 does not boot -"Unfortunately, Samsung SetupWizard has stopped"

[Q] Samsung Galaxy S3 does not boot -"Unfortunately, Samsung SetupWizard has stopped"
1) I tried to replace the Android "Settings" app with a modified version.
2) The modified app could not be installed
3) Copied the backup "SecSettings.apk " to /system/app/
4) This did not work for some reason.
5) Executed the command "reset" to factory reset the phone.
6) The phone fails to boot, recovery does not help either
7) The boot process is stuck at ""Unfortunately, Samsung SetupWizard has stopped""
I think your phone still connects to ADB. Have you tried to put the backup file in /system/app via adb? or If you have taken a nandroid backup, just flash it and see..
amith007 said:
I think your phone still connects to ADB. Have you tried to put the backup file in /system/app via adb? or If you have taken a nandroid backup, just flash it and see..
Click to expand...
Click to collapse
I am not able to connect via ADB. However, I can see the sdcard partion from my phone. I do not have a backup file as well. Do I have to flash a new ROM ? How can I do that? I do not have any custom boot managers like ClockWork Mod installed. Or do I have to only install the default "settings" app and can this be done without ADB working?
If you dot have CWM installed, its gona be a prob.. you have to install it via fastboot (ADB) .. But if you can still see your SD card, i feel there is a good chance that your ADB should be working.. 'USB Debuging' enbaled in your phone? Have you insatalled the proper ADB drivers for your device??

HTC One X+ plus - Flash a ROM

I'll appreciate if someone could help me here as I'm new to ROM flashing etc.
I have the stock ROM atm and want to install CyanogenMod 10.1.
I have read the guide but there are a few points that I'd like to clarify,which are not really explained in the guide.
I understand that I have to wipe everything to install the new ROM.
I have TWRP and have just made a full backup, after installing the new ROM,can I get all my stuff back, eg. messages,contacts,apps settings and messages(e.g viber messages) and so on?
if yes, how do I do so?
Thanks
cpu2007 said:
I'll appreciate if someone could help me here as I'm new to ROM flashing etc.
I have the stock ROM atm and want to install CyanogenMod 10.1.
I have read the guide but there are a few points that I'd like to clarify,which are not really explained in the guide.
I understand that I have to wipe everything to install the new ROM.
I have TWRP and have just made a full backup, after installing the new ROM,can I get all my stuff back, eg. messages,contacts,apps settings and messages(e.g viber messages) and so on?
if yes, how do I do so?
Thanks
Click to expand...
Click to collapse
You should use your applications to backup your messages / settings etc. if it is supported.
You need to create a folder named 0 in root of the virtual SD card and move all your contents under 0 folder.
Of course you need to flash the ROM with a compatible kernel..
After installing the new ROM, I've tried to restore the data that I backed up using TWRP but it didn't work.
Now I want to go back to the stock rom and I tried to restore my last backup but it's stuck on the htc splash screen.
I believe I need to fastboot the stock boot.img file but I don't have anywhere, where can I get it from?
Now I'm in a very desperate situation. I've been searching for a stock boot.img file so I could restore back everything.
I thought I found one, I used fastboot to flash the recovery.img file and then went to recovery to restore my backup
now all the data has disappeared ! no restore files etc !
what shall I do?
cpu2007 said:
Now I'm in a very desperate situation. I've been searching for a stock boot.img file so I could restore back everything.
I thought I found one, I used fastboot to flash the recovery.img file and then went to recovery to restore my backup
now all the data has disappeared ! no restore files etc !
what shall I do?
Click to expand...
Click to collapse
recovery.img is not kernel (boot.img).
Flash TWRP recovery image again and hopefully you will find your backups... Never tried such funny things, so not sure ...
Addicted2xda said:
recovery.img is not kernel (boot.img).
Flash TWRP recovery image again and hopefully you will find your backups... Never tried such funny things, so not sure ...
Click to expand...
Click to collapse
can you please tell me where I can find both the kernel(boot.img) and twrp.img ?
and do I use the same process to flash the twrp.img file?(e,g fastboot boot twrp.img)?
Thanks
ps: I found the twrp img file, I used the latest version 2.5.0 and flashed it using fastboot but it didn't work:/
cpu2007 said:
can you please tell me where I can find both the kernel(boot.img) and twrp.img ?
and do I use the same process to flash the twrp.img file?(e,g fastboot boot twrp.img)?
Thanks
ps: I found the twrp img file, I used the latest version 2.5.0 and flashed it using fastboot but it didn't work:/
Click to expand...
Click to collapse
If you did not format /data partition in recovery, your data should still be there, but it sounds like there's something messed up with the /0 folder on your virtual sdcard, created due to multi user feature of android 4.2.
I suggest you chose a rom you'd like to try, flash the correct boot.img (kernel) for this rom, and then install rom using "adb sideload" command.
You should then be able to find your previous sdcard content on your phone using a root explorer and if necessary move it to the right sdcard folder for your android version:
Android 4.1: /data/media/
Android 4.2: /data/media/0/
if it's in the right place you should be able to backup your data to your computer, where it is safe while you can try whatever rom pleases you.
reaper90 said:
If you did not format /data partition in recovery, your data should still be there, but it sounds like there's something messed up with the /0 folder on your virtual sdcard, created due to multi user feature of android 4.2.
I suggest you chose a rom you'd like to try, flash the correct boot.img (kernel) for this rom, and then install rom using "adb sideload" command.
You should then be able to find your previous sdcard content on your phone using a root explorer and if necessary move it to the right sdcard folder for your android version:
Android 4.1: /data/media/
Android 4.2: /data/media/0/
if it's in the right place you should be able to backup your data to your computer, where it is safe while you can try whatever rom pleases you.
Click to expand...
Click to collapse
Thank you
I already made a full backup before trying cyanmod and just to be sure I saved the folder of the backup inside my pc; however I can't fiind the stoch boot.img file that I need to flash it back to stock rom.
toolkit
put the cm 10.1 in your phone. your bootloader has to be unlocked, you must be rooted, and have a custom recovery, everything so far ? next what i do is i go into bootloader flash the boot.img then go into recovery and flash the rom and gapps.Use hassons toolkit to flash the cm 10.1 boot.img.
SomebodyEpic said:
put the cm 10.1 in your phone. your bootloader has to be unlocked, you must be rooted, and have a custom recovery, everything so far ? next what i do is i go into bootloader flash the boot.img then go into recovery and flash the rom and gapps.Use hassons toolkit to flash the cm 10.1 boot.img.
Click to expand...
Click to collapse
I can't push my files using adb sideload
fastboot devices works in bootloader
but when in twrp I activate sideload and then from the pc I try to use adb sideload to push files ,it says no device found
adb devices shows an empty list.
It worked only once at the beginning but not anymore
ps:
I can connect now; I am using the following command
adb sideload nameOfTheFile
Click to expand...
Click to collapse
is this how is done? it goes through but on the phone is says failed.
Ok, I managed to isntall cyanmod again but I can't find my previous data, all pics,music and everything is gone.
I didn't format the data so it must be somewhere but can't find it.
I can see any folder called 0 or 1 in the data folder
PS: FINALLy I managed to restore my last backup, all the settings and apps seems to be fine the backup retained all the settings, apps,messages etc.
however I lost all the music, pics etc.
I didn't format and I remember someone mentioned that they might be somewhere else, where can they be? as I can't see any path called data/media
there's a "data" folder in the device but is empty
Thanks
It should be on the root of your Virtual SD card - as it was...
However if you backup normally - music etc are not backed up.
If there is a 0 named folder in root of your VSD - check there...
Addicted2xda said:
It should be on the root of your Virtual SD card - as it was...
However if you backup normally - music etc are not backed up.
If there is a 0 named folder in root of your VSD - check there...
Click to expand...
Click to collapse
yes there is a folder called "0" in the following path /sdcard/0
but is empty . I mean it has all the folder names (e.g music,dcim) but all are empty.
in Addition: If I check how much free space I have in my phone ,it says 55.6GB ,so its sort of emtpy :/
cpu2007 said:
yes there is a folder called "0" in the following path /sdcard/0
but is empty . I mean it has all the folder names (e.g music,dcim) but all are empty.
in Addition: If I check how much free space I have in my phone ,it says 55.6GB ,so its sort of emtpy :/
Click to expand...
Click to collapse
So,
Unfortunately evverything is deleted....
cpu2007 said:
PS: FINALLy I managed to restore my last backup, all the settings and apps seems to be fine the backup retained all the settings, apps,messages etc.
however I lost all the music, pics etc.
I didn't format and I remember someone mentioned that they might be somewhere else, where can they be? as I can't see any path called data/media
there's a "data" folder in the device but is empty
Thanks
Click to expand...
Click to collapse
You must use a file explorer with root function and you actually have to grant superuser access for it, otherwise /data folder will be displayed as empty. As i said if you did not format /data partition in TWRP, your data should still be there.
---------- Post added at 07:31 PM ---------- Previous post was at 07:29 PM ----------
cpu2007 said:
in Addition: If I check how much free space I have in my phone ,it says 55.6GB ,so its sort of emtpy :/
Click to expand...
Click to collapse
ah sry, didn't read that. then it's most probably deleted... you can still check your /data/media/ folder with a root explorer, but it seem your data is gone...
I can't believe it, I didn't even format or anyting like that.
I had some important stuff in it and it's all gone now :/
Can someone tell me if there's a way to do a complete backup that includes media as well?
I'd like to try to cyanmod because ive lost all my data anyway, so what is the best way to restore all my apps,messages,contacts etc. once I've installed cyanmod?
THanks
change the cm10.1 name to just rom.zip then push
SomebodyEpic said:
change the cm10.1 name to just rom.zip then push
Click to expand...
Click to collapse
I'm not sure what your talking about.
cpu2007 said:
I can't believe it, I didn't even format or anyting like that.
I had some important stuff in it and it's all gone now :/
Can someone tell me if there's a way to do a complete backup that includes media as well?
I'd like to try to cyanmod because ive lost all my data anyway, so what is the best way to restore all my apps,messages,contacts etc. once I've installed cyanmod?
THanks
Click to expand...
Click to collapse
The only way to backup your virtual sdcard is copying the content to your computer.
So you're now back on stock rom or any rooted rom?
If you're rooted you can backup your apps and app settings with Titanium Backup, without root you should try Helium - App Sync and Backup. For messages you can use SMS Backup & Restore and the Contacts app has an export function.
After you made all these backups, copy all the content of your phones internal memory to your computer, so these backups are safe.
Then you can try any rom you want, copy back the sdcard contents and restore your backups.
reaper90 said:
The only way to backup your virtual sdcard is copying the content to your computer.
So you're now back on stock rom or any rooted rom?
If you're rooted you can backup your apps and app settings with Titanium Backup, without root you should try Helium - App Sync and Backup. For messages you can use SMS Backup & Restore and the Contacts app has an export function.
After you made all these backups, copy all the content of your phones internal memory to your computer, so these backups are safe.
Then you can try any rom you want, copy back the sdcard contents and restore your backups.
Click to expand...
Click to collapse
These sort of backups seem to be a headache. The only good one seem titanium backup ,which I believe has the batch option but you have to pay for it; i heard is worth it.
I am back to my original rom,which isn't stock(i forgot that I had a custom rom lol) but revolution.
The app that you've suggested are very specific, for example I have kik,viber etc and these don't have a backup functionality-will I be using titanium for them too? does titanium do a full backup of contacts and messages as well?

Xperia U all apps stop working

Hey,
Everything was working fine until I decided to install an emulator app of Gameboy for android so I ended up installing an app called Gameboid but it didn't work properly so I uninstalled it at installed MyBoy!. It was working properly until my battery went dead and the phone turned off then I plugged the charger and after the phone turned on every app kept crashing avast anti-virus, Gmail, Talk, I can't even open Phone app and in Messaging when I want to send a message or reply or delete a message it crashes, I think I have to do a factory reset but I don't wanna lose my text messages and the only way for me is to use the Backup&Restore app on Android, I can't connect to internet to download any other app and when I connect the phone to PC it won't show the folders, my question is will the backups created by the Backup&Restore app remain after I do a factory reset? And the other question is after I create a backup and then want to restore it the name of backup is the date and time and then it's written (0.1M) if this is the size of backup obviously it's not a successful backup do you have any idea what that 0.1M is? I'm completely confused I've never been so much in trouble with Android I think it's some kind of virus or something, any help from you guys is so much appreciated, the phone is Xperia U with ICS I need to have a backup of those text messages and I need to do a factory reset please give me a way thanks in advance.
nimans said:
Hey,
Everything was working fine until I decided to install an emulator app of Gameboy for android so I ended up installing an app called Gameboid but it didn't work properly so I uninstalled it at installed MyBoy!. It was working properly until my battery went dead and the phone turned off then I plugged the charger and after the phone turned on every app kept crashing avast anti-virus, Gmail, Talk, I can't even open Phone app and in Messaging when I want to send a message or reply or delete a message it crashes, I think I have to do a factory reset but I don't wanna lose my text messages and the only way for me is to use the Backup&Restore app on Android, I can't connect to internet to download any other app and when I connect the phone to PC it won't show the folders, my question is will the backups created by the Backup&Restore app remain after I do a factory reset? And the other question is after I create a backup and then want to restore it the name of backup is the date and time and then it's written (0.1M) if this is the size of backup obviously it's not a successful backup do you have any idea what that 0.1M is? I'm completely confused I've never been so much in trouble with Android I think it's some kind of virus or something, any help from you guys is so much appreciated, the phone is Xperia U with ICS I need to have a backup of those text messages and I need to do a factory reset please give me a way thanks in advance.
Click to expand...
Click to collapse
If you can flash new firmware.how?
1.download stock ics b.1.100 Xperia U(Google it)
2.download flashtool latest version.(Google it)
3.learn how to use flashtool(Google it)
4.when flash don't wipe data or anything.(Before flash charge battery till it full)if u do this everything in your phone will lose but internal storage is still there
And one answer if u do a factory data reset,it will ask you clear internal storage or not?do as you want.if u want to back up your message I don't know if it work or not Cus u use original back up app.Try it stock back up apps maybe work for system apps
Sent from my ST25i using xda app-developers app
dara007_168 said:
If you can flash new firmware.how?
1.download stock ics b.1.100 Xperia U(Google it)
2.download flashtool latest version.(Google it)
3.learn how to use flashtool(Google it)
4.when flash don't wipe data or anything.(Before flash charge battery till it full)if u do this everything in your phone will lose but internal storage is still there
And one answer if u do a factory data reset,it will ask you clear internal storage or not?do as you want.if u want to back up your message I don't know if it work or not Cus u use original back up app.Try it stock back up apps maybe work for system apps
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
My problem isn't flashing a new firmware actually, I know how to do it I've done it before my problem is getting a backup of my text messages, I can't install apps because the phone literally is just a useless thing right now it won't connect to net it won't show folders when connected to PC and the only app I can use for backup is Backup&Restore app but the thing is I can't trust it, it shows 0.1M in front of the backup's name if it's the size it means backup wasn't successful and I'm not sure if the backup will be there after I factory reset my phone, please help me guys
nimans said:
My problem isn't flashing a new firmware actually, I know how to do it I've done it before my problem is getting a backup of my text messages, I can't install apps because the phone literally is just a useless thing right now it won't connect to net it won't show folders when connected to PC and the only app I can use for backup is Backup&Restore app but the thing is I can't trust it, it shows 0.1M in front of the backup's name if it's the size it means backup wasn't successful and I'm not sure if the backup will be there after I factory reset my phone, please help me guys
Click to expand...
Click to collapse
You stupid that why I told u to flash a new system maybe your Xperia u system gone insane
Sent from my ST25i using xda app-developers app
nimans said:
My problem isn't flashing a new firmware actually, I know how to do it I've done it before my problem is getting a backup of my text messages, I can't install apps because the phone literally is just a useless thing right now it won't connect to net it won't show folders when connected to PC and the only app I can use for backup is Backup&Restore app but the thing is I can't trust it, it shows 0.1M in front of the backup's name if it's the size it means backup wasn't successful and I'm not sure if the backup will be there after I factory reset my phone, please help me guys
Click to expand...
Click to collapse
PC Companion won'r back up?
dara007_168 said:
You stupid that why I told u to flash a new system maybe your Xperia u system gone insane
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
I tried it with the 6.1.1.B.1.54 and it didn't work out I'll download the latest one and try it again but I can tell it won't be helpful without wiping out data and that's not what I want.
nimans said:
I tried it with the 6.1.1.B.1.54 and it didn't work out I'll download the latest one and try it again but I can tell it won't be helpful without wiping out data and that's not what I want.
Click to expand...
Click to collapse
Is it rooted or is it possible to root?
ChikeD said:
PC Companion won'r back up?
Click to expand...
Click to collapse
No it won't back up, the backup fails
ChikeD said:
Is it rooted or is it possible to root?
Click to expand...
Click to collapse
It was rooted but then I flashed it again and now it's not rooted but I guess it is possible to root again, does it make any difference?
nimans said:
It was rooted but then I flashed it again and now it's not rooted but I guess it is possible to root again, does it make any difference?
Click to expand...
Click to collapse
Try to root and delete/format dalvik cache and cache.
If CWM support adb it will be possible to delete this app too.
---------- Post added at 01:07 AM ---------- Previous post was at 12:54 AM ----------
@nimans
This recovery supposed to support adb, I installed on my Xperia P the one from Sola and it works.
ChikeD said:
Try to root and delete/format dalvik cache and cache.
If CWM support adb it will be possible to delete this app too.
---------- Post added at 01:07 AM ---------- Previous post was at 12:54 AM ----------
@nimans
This recovery supposed to support adb, I installed on my Xperia P the one from Sola and it works.
Click to expand...
Click to collapse
I tried I guess it's not possible to root it now, if only I knew this before flashing maybe it could help. All I need is a back up from my text messages then I can wipe out everything.
nimans said:
I tried I guess it's not possible to root it now, if only I knew this before flashing maybe it could help. All I need is a back up from my text messages then I can wipe out everything.
Click to expand...
Click to collapse
Is USB debugging on or can you set it on?
---------- Post added at 09:01 PM ---------- Previous post was at 08:44 PM ----------
Is bootloader locked?
ChikeD said:
Is USB debugging on or can you set it on?
---------- Post added at 09:01 PM ---------- Previous post was at 08:44 PM ----------
Is bootloader locked?
Click to expand...
Click to collapse
Yes USB debugging is on and the bootloader is unlocked I checked it with Flashtool and t says t's unlocked.
nimans said:
Yes USB debugging is on and the bootloader is unlocked I checked it with Flashtool and t says t's unlocked.
Click to expand...
Click to collapse
How do you check if it's locked with flashtool?
If it is unlocked you can flash custom kernel that has CWM and try wiping cache and dalvik-cache and possibly copy messages db if you know where it si located.
ChikeD said:
How do you check if it's locked with flashtool?
If it is unlocked you can flash custom kernel that has CWM and try wiping cache and dalvik-cache and possibly copy messages db if you know where it si located.
Click to expand...
Click to collapse
I tried to unlock bootloader with it and it said your phone is already unlocked though I'm not sure that it means it is unlocked but I have flashed custom kernel before but I'm not sure if it will work now cause this is the weirdest state my phone has ever been nothing seems to work anymore, do you have a link for a custom kernel with CWM that I can try?
nimans said:
I tried to unlock bootloader with it and it said your phone is already unlocked though I'm not sure that it means it is unlocked but I have flashed custom kernel before but I'm not sure if it will work now cause this is the weirdest state my phone has ever been nothing seems to work anymore, do you have a link for a custom kernel with CWM that I can try?
Click to expand...
Click to collapse
You said you have flashed 6.1.1.B.1.54, without wipind data I assime.
Maybe this kernel, looks like it support adb: http://forum.xda-developers.com/showthread.php?t=1934093&highlight=cwm
As far as I could find sms are stored in: /data/data/com.android.providers.telephony/databases
If wiping dalvik and cache wont work you can try copy all files in that directory to sd card.
mount data in recovery.
open adb shell in windows: adb shell
make sure sdcard is mounted: ls /sdcard (see that you get list of files/directories in your sd card)
creake directory for backup: mkdir /sdcard//sms_backup
copy db files to sdcard: cp -R /data/data/com.android.providers.telephony/databases /sdcard/sms_backup/
ChikeD said:
You said you have flashed 6.1.1.B.1.54, without wipind data I assime.
Maybe this kernel, looks like it support adb: http://forum.xda-developers.com/showthread.php?t=1934093&highlight=cwm
As far as I could find sms are stored in: /data/data/com.android.providers.telephony/databases
If wiping dalvik and cache wont work you can try copy all files in that directory to sd card.
mount data in recovery.
open adb shell in windows: adb shell
make sure sdcard is mounted: ls /sdcard (see that you get list of files/directories in your sd card)
creake directory for backup: mkdir /sdcard//sms_backup
copy db files to sdcard: cp -R /data/data/com.android.providers.telephony/databases /sdcard/sms_backup/
Click to expand...
Click to collapse
I'm a bit confused here, I now have CWM Touch v5.5.0.4 on my phone now is it necessary to install memory_tweak.zip? And also I tried wiping Dalvik cache and then I rebooted into android and a window popped up with the title "Android is upgrading" and after that the problem still remains, then I tried to open adb shell but it gave me this error: "- exec '/system/bin/sh' failed: No such file or directory (2) -" what should I do now? Thanks for your help btw, sorry I'm not an expert.
nimans said:
I'm a bit confused here, I now have CWM Touch v5.5.0.4 on my phone now is it necessary to install memory_tweak.zip? And also I tried wiping Dalvik cache and then I rebooted into android and a window popped up with the title "Android is upgrading" and after that the problem still remains, then I tried to open adb shell but it gave me this error: "- exec '/system/bin/sh' failed: No such file or directory (2) -" what should I do now? Thanks for your help btw, sorry I'm not an expert.
Click to expand...
Click to collapse
I'm no expert either.
No memory_tweak is not a must.
Weird it shouldn't need /system mounted, I jave Sola's CWM Touch 5.5.0.4 on my Xperia P and shell wprks without a problem, it uses one from /sbin which is busybox actually.
but you can try mounting /system maybe it'll work then.
Instead mount / data in CWM recovery and then: adb pull /data/data/com.android.providers.telephony/databases databases
that will copy the databases to <current directory>\databases on your pc.
---------- Post added at 01:52 AM ---------- Previous post was at 01:24 AM ----------
Just in case, you may do the same with /data/data/com.android.providers.contacts
ChikeD said:
I'm no expert either.
No memory_tweak is not a must.
Weird it shouldn't need /system mounted, I jave Sola's CWM Touch 5.5.0.4 on my Xperia P and shell wprks without a problem, it uses one from /sbin which is busybox actually.
but you can try mounting /system maybe it'll work then.
Instead mount / data in CWM recovery and then: adb pull /data/data/com.android.providers.telephony/databases databases
that will copy the databases to <current directory>\databases on your pc.
---------- Post added at 01:52 AM ---------- Previous post was at 01:24 AM ----------
Just in case, you may do the same with /data/data/com.android.providers.contacts
Click to expand...
Click to collapse
Thanks I got the databases now after a factory reset or data wipe out I think I have to put these databases back into the phone, how do I do that? Will the messages show up in messaging app after I do so?
nimans said:
Thanks I got the databases now after a factory reset or data wipe out I think I have to put these databases back into the phone, how do I do that? Will the messages show up in messaging app after I do so?
Click to expand...
Click to collapse
The databases must be put back when the application is not sorking and also need to have parmission owner and gtoup set correctly.
I think pushing them back with cwm adb is the best way, but you will need shell too to change permissions and owner.
You can try with file manager that support root.
owner and group of all files is radio:radio permissions for db file 660(owner and group rw) and journal files 600 (owner rw)
And reboot the phone right after.

[Q] Did something terrible to my phone

I had installed Android Revolution HD custom rom and it was running perfect, but I decided I liked Viper rom more. I had viper rom on my phone storage so I performed the wipes and successfully flashed viper rom. However, when viper rom finished installing and setting up, I was met with a decrypt storage page right after the unlock screen with infinite attempts to guess a passcode I never set. What I did was try searching online for hours and eventually realized I was stuck in Philz Touch or the decrypt password screen so I factory reset, Dalvik cache cleared, and everything to the point where now I seem without any hope of being able to get anything onto the phone ever. Am I bricked?
Relax, you aren't bricked. If the screen still comes on, you can recover. Its just a matter of knowing how to do so.
Its not clear based on your description what the current state of the device is. Still stuck with the decryption password screen or recovery? Factory reset likely isn't going to do anything if you can't boot into OS; as all it does is wipe user data.
Did you make a nandroid of your previous ROM? If not, why the heck not?
If no nandroid, adb push a different ROM to the device. Then flash the ROM from recovery.
redpoint73 said:
Its not clear based on your description what the current state of the device is. Still stuck with the decryption password screen or recovery? Factory reset likely isn't going to do anything if you can't boot into OS; as all it does is wipe user data.
Did you make a nandroid of your previous ROM? If not, why the heck not?
If no nandroid, adb push a different ROM to the device. Then flash the ROM from recovery.
Click to expand...
Click to collapse
I had a backup before but now I can't access the sdcard (internal storage) and so nothing from recovery menu seems to work. I have tried adb sideloading and it says *cannon read ' ' *. Will I be able to adb push to a phone that can't recognize it's own internal storage?
demozillar said:
I had a backup before but now I can't access the sdcard (internal storage) and so nothing from recovery menu seems to work. I have tried adb sideloading and it says *cannon read ' ' *. Will I be able to adb push to a phone that can't recognize it's own internal storage?
Click to expand...
Click to collapse
I got ADB sideload to work with cyanogenmod, I think im out of the black, thank you for your help friend
demozillar said:
I had a backup before but now I can't access the sdcard (internal storage) and so nothing from recovery menu seems to work. I have tried adb sideloading and it says *cannon read ' ' *. Will I be able to adb push to a phone that can't recognize it's own internal storage?
Click to expand...
Click to collapse
With the phone connected to a PC, go to device manager, find the internal memory and format it.
Did you factory reset in bootloader? I suspect this corrupts the internal memory.
adb push won't work if the internal memory is corrupt. Don't know about sideload. Even if you flash the ROM, I don't think it will function correctly if it can't write to internal memory. You need to format the memory to sort that out.
Also, adb sideload can be finnicky. I've seen it fail lots of times when adb push works fine. But if you can get to work, good for you!
redpoint73 said:
With the phone connected to a PC, go to device manager, find the internal memory and format it.
Did you factory reset in bootloader? I suspect this corrupts the internal memory.
adb push won't work if the internal memory is corrupt. Don't know about sideload. Even if you flash the ROM, I don't think it will function correctly if it can't write to internal memory. You need to format the memory to sort that out.
Also, adb sideload can be finnicky. I've seen it fail lots of times when adb push works fine. But if you can get to work, good for you!
Click to expand...
Click to collapse
Yes you are right about factory reset in bootloader, that was my mistake I guess. the adb sideload was able to push through even though adb push was being denied. Thanks again for your help
demozillar said:
Yes you are right about factory reset in bootloader, that was my mistake I guess. the adb sideload was able to push through even though adb push was being denied.
Click to expand...
Click to collapse
Interesting that sideload works, while push doesn't. And not what I would expect. My understanding of sideload, it still pushes the ROM to internal memory then flashes it. Just does it all with a single adb command. So if internal memory is corrupt, I would expect to fail to push, same adb push.
Factory reset in bootloader is a honest mistake. I was only suspicious of this, since the same "bug" occurs on the One X (EVITA), where on modded phones, doing a factory reset in bootloader corrupts the internal memory. One would expect it to perform its intended function the same as factory reset in recovery or within the OS (which both should work fine).
redpoint73 said:
Interesting that sideload works, while push doesn't. And not what I would expect. My understanding of sideload, it still pushes the ROM to internal memory then flashes it. Just does it all with a single adb command. So if internal memory is corrupt, I would expect to fail to push, same adb push.
Factory reset in bootloader is a honest mistake. I was only suspicious of this, since the same "bug" occurs on the One X (EVITA), where on modded phones, doing a factory reset in bootloader corrupts the internal memory. One would expect it to perform its intended function the same as factory reset in recovery or within the OS (which both should work fine).
Click to expand...
Click to collapse
The thing about sideload was you could initiate it into sideload mode (or whatever) and then use the adb sideload command, perhaps it would have worked with adb push if I knew more what I was doing but just simply adb push " " would not work. And yes I had a good scare when I pressed the factory reset, went into recovery and saw I deleted my zip files
demozillar said:
The thing about sideload was you could initiate it into sideload mode (or whatever) and then use the adb sideload command, perhaps it would have worked with adb push if I knew more what I was doing but just simply adb push " " would not work.
Click to expand...
Click to collapse
adb push does not require the phone to be in any particular mode (like adb sideload does), and should work as long as the phone is on. It could be that sideload pushes to some partition that is not corrupt. Just a guess.

Categories

Resources