Hy, I installed new kernel on MIUI rom, and it booted fine, then I deleted cache and dalvik and it didnt booted anymore... I made backup anyway, and reinstalled the ROM and kernel, and everything is working fine...
Can I make another backup of this working one, and then on PC change data.img and sd-ext.img files from old backup so that my data and apps come back?
I really cant loose my sms/mms....
Maybe but you may restore the problem. You would also need to make a new Md5
Or you could use Unyaffs to unpack your data.img and get the sms database and drop it in your new data partition
Sent from my HTC Desire using XDA App
If you just want your messages back, couldn't you just restore the broken
MIUI backup, flash over it with the exact same ROM version ? Kernel will
be the old one and maybe it will boot up again..
Just a tought.. could be wrong..
Grtz,
mattnmd
If you only want your messages you can do what rootSU said.
Did it today and all worked fine.
Get the mmssms.db file from data>com.android.providers.telephony > databases and via adb and your phone into recovery with the data partition mounted and cp the file to the same directory..you can backup your sms from the new installation via SMS Backup and Restore and then restore it to the "old" database..the sms will be added..
That's what happened with me..
Hope I helped!Good luck with it!
Related
Since my post in the development thread has been kindly deleted after ****ing around the whole afternoon with ROM's and restoring, I'm going to post the question here.
Anyone else got the app+data restore working on Oxygen 2.0 final ?
I always wipe before flashing, I tried it with Titanium backup (2 versions) and Mybackup Pro. Backup & restore works fine on CM RC7, but when I try to restore on Oxygen, it's just missing data for some apps.
But some are successfully restored with data, that what's weird.
I first thought, it's an issue with a Dalvik2sd script, but then tried it in clean Oxygen 2.0 ROM. When i check /data/data with the Root explorer, I can see the app there, but it just isn't loaded properly (for instance Financisto, Runkeeper, AlarmClockPlus, Abduction).
So basically, what's different in new 2.3.3 OTA, or am I the only one with the issue ?
Haven't tried all my apps, but its worked fine for those which I have.
Thanks for the dalvik to SD zip btw
Sent from my HTC Desire using Tapatalk
Yeah np :]
Could you please check other apps if they're ok ? I got about 130 apps, so it's kinda annoying to don't get the data restored.
Having looked through the rest of my apps, there aren't any which had saved data. I can confirm data has been successfully restored for angry birds, flow, BBC news, your orange, tapatalk, bedside, crazy snowboard and im+
Sent from my HTC Desire using Tapatalk
I have been using the Oxygen 2.0 for a couple of hours now and I have to say it is nice, compact and fast.
However, I have noticed that "pm, am" indication are missing from the time notification bar. Also the "AUTOMATIC" on Date and Time settings are not getting any update from the network. Am I right? Or it is just me who has it?
Also tested a previous busybox version, still same issue. But backuping and restoring on Oxygen 2.0 works correctly. Also most apps have the data restored correctly only some have issues. Have no idea, I'll just have to live with some data missing then, the 2.0 ROM just rocks that much :]
I think the best way to reinstall all apps after flash is to let Google install them automatically through market.
i have upgraded my desire from DevNull yesterday after backing up all apps with data via Titanium backup and i didnt experienced any issues with any of my apps (around 80).
This supposed to be the fix, a sqlite lib -> http://forum.xda-developers.com/showpost.php?p=11729730&postcount=341
I think this is the solution to your problem :
http://forum.xda-developers.com/showpost.php?p=11729730&postcount=341
-orgler
Since "someone" deleted a correct fix from the Oxygen thread, I'm gonna repost the file here. Seriously uncool.
Replace the libsqlite.so in /system/lib. You're gonna need to be S-OFF or do it in recovery. Sqlite .db files for some apps that were missing data are readable after, so I can confirm it works.
I noticed the missing data problem almost immediately after installing the rom. Thanks for posting a fix. The "mood" in the new oxygen thread gets a bit tense compared to other desire threads.
If I remember ill hit the thanks button when I'm in on a PC.
sK
Sent from my HTC Desire using XDA Premium App
Np, please thank orgler, he found the fix and posted it. I just saved the answer and posted it here as a solution.
I saw your reply to me just after sending you a PM. Flashing the libsqlite.zip file on top of latest oxygen rom didn't work. No big deal as the app I really need data for backs up to sdcard. I'm sure this problem will get fixed soon enough.
sK
Sent from my HTC Desire using XDA Premium App
I just read your instructions again. I'm not s-off. Do you know how I can replace the lib with ADB?
sK
Sent from my HTC Desire using XDA Premium App
Em, its not a flashable .zip (I didn't state that, but sometimes it's good to open the .zip first )
Boot to recovery, mount the system partition, connect USB cable and go to adb shell (we're gonna backup the original lib first):
#cd system
#cd lib
#mv libsqlite.so libsqlite.so.orig
#exit
Make sure you're in the same directory as libsqlite.so, or copy the .so to the dir where adb is (if your var path isn't set). Then enter in command prompt:
adb push libsqlite.so /system/lib
adb shell
#cd system
#cd lib
#chmod libsqlite.so 640
Then reboot
thed0g said:
Since "someone" deleted a correct fix from the Oxygen thread, I'm gonna repost the file here. Seriously uncool.
Replace the libsqlite.so in /system/lib. You're gonna need to be S-OFF or do it in recovery. Sqlite .db files for some apps that were missing data are readable after, so I can confirm it works.
Click to expand...
Click to collapse
Thanks for your assistance with this it's appreciated. However, pushing it via adb didn't work for me either.
I have a full mybackup of data and .apk files. There is no error when I try to restore the missing applications, mybackup confirms it's been done and requests I reboot, but the application is never there.....
Any more ideas?
That seems to be unrelated, issue was only about data in the apps, app restore worked. I suggest trying to backup with Titanium backup and try to restore with it.
So: Im sure you kept the nandroid backup with all the apps and data. Restore it, pull free version of Titanium off the Market and backup some apps. Flash Oxygen (you can replace the .so file with opening oxygen.zip in Winrar and replacing it in /system/lib) then try restoring the apps. If it works, you'll know the issue is with MyBackupPro.
thed0g said:
That seems to be unrelated, issue was only about data in the apps, app restore worked. I suggest trying to backup with Titanium backup and try to restore with it.
So: Im sure you kept the nandroid backup with all the apps and data. Restore it, pull free version of Titanium off the Market and backup some apps. Flash Oxygen (you can replace the .so file with opening oxygen.zip in Winrar and replacing it in /system/lib) then try restoring the apps. If it works, you'll know the issue is with MyBackupPro.
Click to expand...
Click to collapse
I like your thinking... I did indeed keep the nandroid backup, so I'll give it a whirl.
Thank you.
Great. Solved the problems I had with Titanium.
can someone help me?
the wonder is my first android and I wanted to learn while before hacking on it ...
last night I did the root and installed ClockworkMod 6.0.1.2 to make a nandroid before flashing a ICS rom.
but I have come some doubts:
1) the nandroid with clockworkmod is done either on internal mem on external sd right? I tried with the internal memory and I did a backup of 17MB ... I have copied to the PC the folder ClockworkMod always 17MB: they seemed to me just a few for a nandroid backup... I did it again ... the same ...
2) then I added the external sd and I deleted the two previous backups from internal mem and redid the backup to external sd ... the process took about twenty minutes (slower then before), and in fact has made a backup of 790mb
3) I try to copy the backup on the PC with the phone attached but it don't work .... I removed the SD card and copied the folder on pc with win7: I did not copy some files because they are "too long" (???)... then I tried to copy it on a pc with ubuntu and makes the copy but when the transfer is finished tells me that the number of files copied is right but instead of 790mb is only 725mb: I need to trust this backup? ?? better to delete and redo everything? I do not want to flash something and do not have a working nandroid...
another question: when I flash a rom and do ALL wipe the sd external is reset? no I think, right? and to put on the contacts and messages and the settings I use those saved using kies or do I need to do a better titanium backup or save contacts synced to gmail?
sorry for the many questions but as I'm a true noob and before I do damage I want to have in mind what I was doing
I'm waiting your reply before flash a rom... thanks
bennymax said:
can someone help me?
the wonder is my first android and I wanted to learn while before hacking on it ...
last night I did the root and installed ClockworkMod 6.0.1.2 to make a nandroid before flashing a ICS rom.
but I have come some doubts:
1) the nandroid with clockworkmod is done either on internal mem on external sd right? I tried with the internal memory and I did a backup of 17MB ... I have copied to the PC the folder ClockworkMod always 17MB: they seemed to me just a few for a nandroid backup... I did it again ... the same ...
2) then I added the external sd and I deleted the two previous backups from internal mem and redid the backup to external sd ... the process took about twenty minutes (slower then before), and in fact has made a backup of 790mb
3) I try to copy the backup on the PC with the phone attached but it don't work .... I removed the SD card and copied the folder on pc with win7: I did not copy some files because they are "too long" (???)... then I tried to copy it on a pc with ubuntu and makes the copy but when the transfer is finished tells me that the number of files copied is right but instead of 790mb is only 725mb: I need to trust this backup? ?? better to delete and redo everything? I do not want to flash something and do not have a working nandroid...
another question: when I flash a rom and do ALL wipe the sd external is reset? no I think, right? and to put on the contacts and messages and the settings I use those saved using kies or do I need to do a better titanium backup or save contacts synced to gmail?
sorry for the many questions but as I'm a true noob and before I do damage I want to have in mind what I was doing
I'm waiting your reply before flash a rom... thanks
Click to expand...
Click to collapse
First thing: Why do you need to copy the backup to your PC? I can certainly assure you that the backup is working fine. Just leave your SD card within your device upon backing up. And just leave it there. If you ever really wanted to copy the backup to your pc, well don't get the file size(s) wrong. They will certainly be different since the systems you are trying to copy the files to uses a different file system. So it's normal for them to have different file sizes. To add to that, the CWM uses generated MD5 to confirm that the backup (it's related files) are correct before it will restore a certain backup. If something is wrong or the backup got corrupted, CWM will not continue in restoring it.
Second: when you flash, your personal files in your sd card will remain intact. Flashing (may) be only wiping an SD-EXT if you created such partition in your card since apps uses this. So don't worry.
For most customized ROM, I'm afraid components regarding the communication of your device and Kies won't be integrated since devs prefer your system to be our of bloats as possible. So upon flashing a custom ROM, you might not be able to use Kies anymore. In flashing, internal data such as contacts, messages, APN, wifi(s), etc. will be erased as the system will be erased. So;
For your contacts: Sync it with Google or export them to our SD for later import.
For your APN and messages: There's an app in the Play Store that allows you to backup and restore them.
The titanium backup is a very good tool too. Use it.
Thread moved
The [Q] in your thread title should have been reason enough to post it in Q&A .
Please don't post Questions in General Section in the future.
bbmadzky said:
First thing: Why do you need to copy the backup to your PC? I can certainly assure you that the backup is working fine. Just leave your SD card within your device upon backing up. And just leave it there. If you ever really wanted to copy the backup to your pc, well don't get the file size(s) wrong. They will certainly be different since the systems you are trying to copy the files to uses a different file system. So it's normal for them to have different file sizes. To add to that, the CWM uses generated MD5 to confirm that the backup (it's related files) are correct before it will restore a certain backup. If something is wrong or the backup got corrupted, CWM will not continue in restoring it.
Second: when you flash, your personal files in your sd card will remain intact. Flashing (may) be only wiping an SD-EXT if you created such partition in your card since apps uses this. So don't worry.
For most customized ROM, I'm afraid components regarding the communication of your device and Kies won't be integrated since devs prefer your system to be our of bloats as possible. So upon flashing a custom ROM, you might not be able to use Kies anymore. In flashing, internal data such as contacts, messages, APN, wifi(s), etc. will be erased as the system will be erased. So;
For your contacts: Sync it with Google or export them to our SD for later import.
For your APN and messages: There's an app in the Play Store that allows you to backup and restore them.
The titanium backup is a very good tool too. Use it.
Click to expand...
Click to collapse
thanks a lot bbmadzky, I understand what you say
I wanna copy backup in my pc to have a secure place where put the first nandroid of my wonder with stock rom as I have bougth it external sd can be corrupted or deleted and have a genuine nandroid of my phone I think is better
just do another backup to ha the certainty to have a good backup and now can I try to flash my first costomized rom
thanks a lot dude
ciao
It's been a pleasure in helping you with your doubt. Happy flashing and don't ever forget to do a nandroid backup.
Sent from my GT-I8150 using Tapatalk 2
This reply may be too late in coming...but I'll post it anyway. First, the size of your created nandroid....17mb.....WAY too small....the size of the backup I made was +/-800mb.
Second....if you REALLY have to copy it to a PC, zip it with minimal compression first....I found from personal experience that it copies MUCH more easily and safely....
Finally, keeping personal data (contacts, SMS, lists of installed apps [not including app data]) safe. You can install apps that will make data files of your texts and installed apps that can be accessed after flashing a custom ROM to enable recovery and re installation, and for your contacts (if you store them on the phone instead of the sim card) you go to your contacts, press the menu button and select import/export, then export to SD card. If you use these apps (appbak and SMS backup and restore) and the export to SD card function on your phone, you will find that data files have been created by using them.....these data files MUST be moved to your EXTERNAL SD card BEFORE flashing your custom ROM. They will be perfectly safe there as long as you haven't played around with the storage configurations on your phone....which I don't believe is possible with a stock ROM anyway....
Good luck and happy flashing
Hope this has helped....if it has, click thanks
Sent from my GT-I8150 using xda app-developers app
not so late dude
the problem is... I don't have a working backup still now!
I just flased cm9 and RemICS 1.5 rom and every time I tried to make a backup before flashing...
the first time I have the above doubt (as you can read above)
the second time I've tried to install CWM 6.0.1.0 instead 6.0.1.2 and the backup process is finish well (or it was what I belive ) then when I try to comeback to stock version an error has occurred in restore and I must re-do a flash with stock firmware because the SGW was freezed.
I don't know if there are problems with installation of CWM, the release of CWM (now I try with a CWM 5.5.0.4), with the type of backup files (n CWM6 you can choose the type of format file do you have from the backup process) but now before to flash another rom I want to have a WORKING nandroid!
thanks for your reply and your suggests too... maybe make I something wrong but I follow the tools on web and these are simple... maybe is only bad luck... I retry
Dude...if you read my thread here.......
http://forum.xda-developers.com/showthread.php?t=1846449
And specifically the replies posted by IvanKurnia, you'll find the links (and installation method) for the version of CWM that I'm using.....with success. When you make your nandroid backup, you need to make sure you have enough space for it to complete as you don't get any warning about lack of memory....the backup process will simply stop....and unless you know what to look for, you may not realise.
I'm not totally sure if flashing different versions of CWM on top of each other will cause instability or not....maybe somebody else can answer that one.....
I'd advise getting as much info as you can about EVERYTHING! before you make any more modifications to your phone.....read as many threads and ask as many questions as it takes.....most members of this community will be happy to help (though there are one or two who have a superiority complex...lol)....it's better to ask a hundred questions and get it right, than to ask none and turn your phone into an expensive paperweight.......
CM9...I don't HAVE to.....I just.....can..
first of all: I wanted to write mate not dude sorry for my bad english...
thanks keithross
I read your thread and all the replies in it...
yes the metheod for flashing the CWM is the same I knew. I prefer to flash it whit odin.
I don't think I have problems flashing other versione because I must do a replace of stock firmware before: I set the cell in the status as new... then I reflash on it the CWM.
the only thing I don't have made is to set on USB debugging ON... uhmmm maybe is this the problem?
I try now to flash, make a nandroid, try recovery by nandroid to understand if nandroid works! If not... I try to instal CWM witn the method has showed by ivankurnia
for free space I have enough space in my SD ext card (3gb ca.) and not so many app installed... and yes I use often forum and I think these are the greatest resource on the web xda for android is "the bible" I think so!
p.s. your thread has so many informations I need...
Hi Bennymax, I found ivankurnias method the easiest to use....I'd tried ODIN without success....but successfully installed CWM on the first try with the terminal emulator/busybox method.....others have successfully used this method too. I do still stand by my concerns about flashing different versions of CWM on top of each other as I've come to believe that the recovery partition is separate to the ROM partition and that changing the ROM partition has no effect on the contents of the recovery partition. I hope I'm wrong about that, and that the issues you are having with nandroid backup and restore are as you say bad luck....but I'm not convinced.....having said that, I'm not a developer, and I could be wrong. I feel that it is something that needs researching just in case the luck you've had is not bad, but good in so far as you haven't bricked your phone yet......
Anyway, good luck however you decide to proceed....
Keith
CM9...I don't HAVE to.....I just.....can..
I want to hop to a new ROM, but it is a real pain to restore everything. Is there a quick way?
I am on Wompasaurus. Before was LJ1 stock rooted then MA7 DeOdexed then Womp. I want to try some more but hours and hours it takes to get everything running is ridiculous.
I have Titanium Backup, TWRP(GooManager), ROM Manager, ROM Toolbox and SManager. If I need something else, I get it.
SIDE NOTE: I was able to backup the 4.2 Gallery. But Titanium backup cannot find the 4.2 Camera.
Lord Sekhmet said:
I want to hop to a new ROM, but it is a real pain to restore everything. Is there a quick way?
I am on Wompasaurus. Before was LJ1 stock rooted then MA7 DeOdexed then Womp. I want to try some more but hours and hours it takes to get everything running is ridiculous.
I have Titanium Backup, TWRP(GooManager), ROM Manager, ROM Toolbox and SManager. If I need something else, I get it.
SIDE NOTE: I was able to backup the 4.2 Gallery. But Titanium backup cannot find the 4.2 Camera.
Click to expand...
Click to collapse
I use Titanium Backup and Backup Your Mobile. Titanuim backup for apps and data. Backup Your Mobile for call logs, sms, mms, user data dictionary and wifi networks. I believe ROM Toolbox will do all of that and more. However just make sure that you save your backups to external sd and not internal sd as you will lose them if you do a full wipe of internal memory when you switch ROMs.
Sent from my SPH-L900 using xda app-developers app
Small problem. I use extsd2internalsd2.
Where should I put the backup?. Currently I transfer all my backups to my desktop.
EDIT : I installed Backup Your Mobile and ran it. THANKS!!
Lord Sekhmet said:
Small problem. I use extsd2internalsd2.
Where should I put the backup?. Currently I transfer all my backups to my desktop.
EDIT : I installed Backup Your Mobile and ran it. THANKS!!
Click to expand...
Click to collapse
Extsd is your external sd which is where you want to keep your backups as well as always keeping a copy some where else like a desktop.
Sent from my SPH-L900 using xda app-developers app
In case anyone is reading my thread for help / ideas, I figured out a shortcut.
When every app is working, use TB Batch Action -user apps. Save this to some place safe. Before doing a full wipe re-backup apps with changing data . i,e. games
After you get your ROM setup exactly like you want it go into twrp go to backup and make a nandroid backup. Backup your data, boot, and system I believe they are. (The first three options) choose the option to compress the backup as it will save it the exact same way just save space by compressing it and shaving 40-50% off the size.
Then after it says backup wad successful. Reboot system. Use ROM toolbox and backup all your user apps+data. Then go to your contacts choose export to sd.. Make a"V card" export all your contacts to your sd. Then download sms backup&restore app.. backup all your texts. Then after these steps are done reboot to recovery (TWRP) go to wipe and wipe (assuming you already have other ROM zips on your sd or external sd saved and ready to flash) wipe cache, Dalvik cache, system, factory reset, system, factory reset.. In that order. Back out to main TWRP menu. .
Choose Install and install your ROM zip of your choice. After it installs successfully and reboots setup your phone and get to home screen. Go to market install rom toolbox again. After that is installed open and scroll to backups. Restore all Apps+data that you want. While that's restoring open contacts choose import from sd.. choose vcard files... choose the one you just made and restore...
Once your apps restore open sms backup&restore them restore your texts... setup any thing else you want/need widgets settings options etc..
After the new ROM is setup to your liking. Scroll back to the top and repeat till you have solid Nandroid backups (Twrp backups) of all the ROM'S you want.
Then anytime you want to change between then you reboot to recovery (twrp) wipe with above said method then hit restore choose the ROM you want to restore to and voila you'll literally be where you left off to a T even the same messages and websites still open... Only thing you might want to do between nandroid flashes is backup any NEW apps you downloaded recently. Our make a new backups of text messages with sms backup&restore if you want your texts always up to date...
If this helped which I hope it did cause its laid out, then hit the Thanks button:good:
Have a great afternoon
-Tw1steD
Hi,
I am running Carbon Mod Nightly Rom, I was looking at the Volume Blaster Mod (http://forum.xda-developers.com/showthread.php?t=2563209) to raise the volume up on the external speaker. I edited the file system/etc/snd_soc_msm/snd_soc_msm_2x. Somehow I screwed the file up after editing. After I edited it and rebooted, it gets stuck at the Carbon Logo and doesn't go any further :crying:. I have a nandroid backup, but I didnt backup until after I edited the file (before reboot). So I'm wondering can I or how do I replace the edited file (snd_soc_msm_2x) with the original file. I have the original file on the SD card in the phone. I went into the TWRP Recovery and into file manager, but I could not locate the location of the edited file from within there (system/etc/snd_soc_msm/snd_soc_msm_2x). Can someone please help me restore this one file so that my phone will boot up or tell me how would be the best way of getting my phone up and working again ASAP. Oh, I have tried exploring the backup created with Nandroid Backup Manager, well I found the file thats corrupted and opened it with File manager, select all- then delete, then pasted the contents from the working file, and then try to save, and I get an error "Operation Failed". So any help would be greatly appreciated.!!
Thanks in Advance
If you cant see files in /system, you just need to mount it first. Otherwise, just dirty flash the same rom.
DocHoliday77 said:
If you cant see files in /system, you just need to mount it first. Otherwise, just dirty flash the same rom.
Click to expand...
Click to collapse
Dirty Flash? I'm new to all this, so I need some help with the slang. I can explore the contents of the Nandroid backup, are there anyway possible to delete a file in the Nandroid backup and replace it with another file?? If I can do that, then I can replace the corrupted file and then restore from backup. I just dont want to reflash the clean ROM and then have to manually restore all my apps, sms and photos...
If I flash the backup Rom that has the corruted file, and before reboot, can I use the file manager to pull the clean file from the external card and replace the one that corrupted in the root folder. If I can do this, then it should boot normally. Otherwise if I boot with the corrupted file it gets hung after it processes all the apps. (Gets hung on Starting Apps).
I figured it out!!! What I did was I went into recovery, and selected the recovery nandroid backup file that was corrupted. Instead of restoring all the available options, I unchecked System. So it restored everything but the system data. The system data already installed was from the newly installed rom that was working, so by leaving the system unchecked it didnt install the corrupted system from backup! I hope I explained this where you can understand it.
Thanks for all the help DocHoliday77!! I'm just glad that worked and I dont have to manually install everything back over!!
:victory:
Hi all,
I have both a TWRP and a Titanium backup from my phone at an earlier version of my ROM.
I've since done full data format and install so I have lost my MMS/SMS messages.
I did not use another utility to back them up at all.
Does anyone know where in the file system these are stored or how I might be able to restore them from my Ti or TWRP backups?
I've tried doing a TWRP restore to the earlier ROM version but messages was still empty. I've tried doing a full restore and individual restores of dialler storage in TiBU etc but so far have had no luck in restoring the messages.
Thanks in advance
kamold said:
Hi all,
I have both a TWRP and a Titanium backup from my phone at an earlier version of my ROM.
I've since done full data format and install so I have lost my MMS/SMS messages.
I did not use another utility to back them up at all.
Does anyone know where in the file system these are stored or how I might be able to restore them from my Ti or TWRP backups?
I've tried doing a TWRP restore to the earlier ROM version but messages was still empty. I've tried doing a full restore and individual restores of dialler storage in TiBU etc but so far have had no luck in restoring the messages.
Thanks in advance
Click to expand...
Click to collapse
If you're using nougat, I believe the location is
/data/user_de/0/com.android.providers.telephony/databases/
Then it's the mmssms.db file you need.
When I do a clean flash, I always use the backup function that is built in to export messages to sd card.
squ89r97 said:
If you're using nougat, I believe the location is
/data/user_de/0/com.android.providers.telephony/databases/
Then it's the mmssms.db file you need.
When I do a clean flash, I always use the backup function that is built in to export messages to sd card.
Click to expand...
Click to collapse
Thanks for that info That appears to be the correct location in my case.
Previous to Nougat seems to have been in /data/data/com.android.providers.telephony/databases
I restored the whole com.android.providers.telephony folder from the backup as it also contains the pics from attachments. Initially after a the first bootup messages was still empty, so you need to reboot again and they will be restored.
I'll also make sure I backup messages using the inbuilt backup feature in future.