Clean install - Galaxy S II Q&A, Help & Troubleshooting

Hi, i bought my galaxy November 2012 and since then I've made about 30-35 installations of roms..I searched around the forum and it seems that there are leftovers from previous installations, also, in some posts there are scripts that can clean your device, but the download links are broken...Can I delete leftovers manually with a root explorer?
Also, I've noticed that odin has became extremely slow, yesterday i waited for it for 40 minutes, several times I decided that it was stuck....but it wasn't; can this slowness be related to files, left from previous installations?
I saw this app - "Root Cleaner", should I try it out?
How can I make completely clean installation so that nothing old survives? If I use pit. file and odin stucks, will I be able go in "download mode" and reinstall...?
Hope that you can direct me! Thanks.
P.S. I'm trying to be understandable, but my English is not exactly perfect,so don't get mad

Downloading of script can be done, the links are perfectly fine!
I recommend Hawkerpaul's Nuke script (warning: this will delete every thing on yor device!!!)
Do not under any circumstances use .pit files!! Only if you're absolutely 101% sure what you're doing - then you can use .pit files. And there's a splendid Odin guide made by XDA's Hopper8. here you can read about it.

TheMasterOfToast said:
Downloading of script can be done, the links are perfectly fine!
I recommend Hawkerpaul's Nuke script (warning: this will delete every thing on yor device!!!)
Do not under any circumstances use .pit files!! Only if you're absolutely 101% sure what you're doing - then you can use .pit files. And there's a splendid Odin guide made by XDA's Hopper8. here you can read about it.
Click to expand...
Click to collapse
I'm definitely not sure what I'm doing, so I won't use .pit files. So i got this one: http://forum.xda-developers.com/showthread.php?t=2100558
I'm a complete noobie, i've read about it, there are 4 scripts, i'm not sure which one to use...
GS2ROMWipe - This wipes pre-defined areas of your device without performing any backups beforehand.
GS2ROMNuke - This does everything a Wipe does, and also deletes the following Android/Application-related folders on the internal and external SD Cards.
GS2ROMReset - This performs a additional tasks on top of a standard factory reset for your current ROM. This is designed to return you current ROM to its factory defaults. You will not have to re-install your ROM after running this. Just reboot and you will enter the Android installation wizard as normal on the first run.
GS2ROMClean - This will remove the following known temporary and corrupt files and folders.
It will attempt to remove them from your internal/external SD card.
I will use Nuke.It says to run it only before rom installations,but how does it work? I go into recovery, install it and how do I run it?

umex said:
I'm definitely not sure what I'm doing, so I won't use .pit files.
Click to expand...
Click to collapse
Good choice, same as i would!
umex said:
GS2ROMNuke - This does everything a Wipe does, and also deletes the following Android/Application-related folders on the internal and external
...
I will use Nuke.It says to run it only before rom installations,but how does it work? I go into recovery, install it and how do I run it?
Click to expand...
Click to collapse
Okay, but keep in mind that this will delete everything even from your internal and external sd cards. So if you have anything of value, anything at all - back it up.
I suggest you download HC-kTool from play store. Back up /efs. Then the files that appear after the /efs folder backup - back them up to your PC or a cloud storage (eg. dropbox) If you want to know which files had been created, sort the files after date. (keep in mind that there will be folder created too and if you've chosen a 'folder come first' policy in your file explorer, those folders will appear after all the lonesome files)
Just to check. In my phone (i just ran it again) there will be two files and three folders containing the necessary files to perform a /efs backup.
Now that /efs is backed up - you are good to go. Just 'flash' the nuke zip file as you would flash any ROM/kernel
Good luck.

TheMasterOfToast said:
Good choice, same as i would!
Okay, but keep in mind that this will delete everything even from your internal and external sd cards. So if you have anything of value, anything at all - back it up.
I suggest you download HC-kTool from play store. Back up /efs. Then the files that appear after the /efs folder backup - back them up to your PC or a cloud storage (eg. dropbox) If you want to know which files had been created, sort the files after date. (keep in mind that there will be folder created too and if you've chosen a 'folder come first' policy in your file explorer, those folders will appear after all the lonesome files)
Just to check. In my phone (i just ran it again) there will be two files and three folders containing the necessary files to perform a /efs backup.
Now that /efs is backed up - you are good to go. Just 'flash' the nuke zip file as you would flash any ROM/kernel
Good luck.
Click to expand...
Click to collapse
Thanks for the assistance! I ran the script through recovery and it "wiped" everything then it warned me to flash new rom.I did so, everything went OK , but it hasn't wiped the internal sd card, all my files are still there, i hope it has erased the leftovers from previous installations....Thanks again!

umex said:
Thanks for the assistance! I ran the script through recovery and it "wiped" everything then it warned me to flash new rom.I did so, everything went OK , but it hasn't wiped the internal sd card, all my files are still there, i hope it has erased the leftovers from previous installations....Thanks again!
Click to expand...
Click to collapse
It wont delete everything in sdcard. The system files will be there, but application data wont.
Glad it worked out!
PS. Don't say thanks - press it!

Related

Trying to salvage some data from a nandroid that wont restore.

Ive been spending way to much time researching my problem and my wife is really mad at me. Basically at this point i would be happy to just manually extract data for about 10 apps from a nandroid that wont restore. Can someone point me in the right direction please?
Edit:
Ok, now that I am at computer, heres my story. Prior to flashing the gingerbread leak, I backed up using Titanium Backup and made a Nandroid backup. Somehow, all the files backed up in my PREVIOUS 2 backups on titanium backup where all 0kb-10kb, so they were completely borked for some reason. Some old backups of apps that I have since uninstalled still remained and those seem ok.
Prior to reading about the SD card failures with the gingerbread leak, I backed up my SD card to my computer. Only 1 error came up during the backup about a file with a name that was too long. I clicked on ignore and finished the backup. About 1 hour later my SD card fried.
I used a spare sd card, and transfered my clockwork mod folder and a few other folders to it. I then ODIN a DL09 stock image, flashed the newest Clockword mod 3.xx via odin, flashed UKB 2.0, then flashed PBJ -50 recovery/kernel (which was what I had when I made the backup) and tried to restore it. When I try to restore it hangs somewhere in the data restore portion saying CACHE. I saw it flash cache a few times during the restore, so I am not sure why it hangs on that one in particular. I know that the cache image file is only 16.5kb so I dont know if that has something to do with it.
I then installed the newest IMNUTS recovery since I heard there were problems restoring the the PBJ recovery, and it seems to hang in the same spot.
At this point, I have a few of my old programs back, but most force close.
My main goal here is to just extract some gamesave progress and a few other pieces of data (I can redownload basically all the apps I need), run clean until a better gingerbread leak comes along, then use titanium backup to backup what I have (and verify the backups and make backups of the backups )and install a better gingerbread rom.
So anyway, If i can figure out how to go into the datadata.img files, I guess I can extract the data I need and push it through ADB or ROOT EXPLORER? Should that work?
- nevermind...
There are computer applications that can read and explore image files, or .img files, and the file systems within image files. Your best bet would be software like that, that could open, edit, and explore image files. I dont know the names of any software like that, even though I have come across some before, but im sure you could turn up some results with the query "image file editor," or ".img file editor." From there you're just have to feel your way through.. Try similar queries if those don't turn up what you need, etc. If you got an app that could explore image files, then you could get your .apk files from /data/app folder, and any other data you might need from /data/data, if its just user apps you're wanting to restore.
Sent by way of unspeakably black magic.
ssmaster said:
Ive been spending way to much time researching my problem and my wife is really mad at me. Basically at this point i would be happy to just manually extract data for about 10 apps from a nandroid that wont restore. Can someone point me in the right direction please?
Edit:
Ok, now that I am at computer, heres my story. Prior to flashing the gingerbread leak, I backed up using Titanium Backup and made a Nandroid backup. Somehow, all the files backed up in my PREVIOUS 2 backups on titanium backup where all 0kb-10kb, so they were completely borked for some reason. Some old backups of apps that I have since uninstalled still remained and those seem ok.
Prior to reading about the SD card failures with the gingerbread leak, I backed up my SD card to my computer. Only 1 error came up during the backup about a file with a name that was too long. I clicked on ignore and finished the backup. About 1 hour later my SD card fried.
I used a spare sd card, and transfered my clockwork mod folder and a few other folders to it. I then ODIN a DL09 stock image, flashed the newest Clockword mod 3.xx via odin, flashed UKB 2.0, then flashed PBJ -50 recovery/kernel (which was what I had when I made the backup) and tried to restore it. When I try to restore it hangs somewhere in the data restore portion saying CACHE. I saw it flash cache a few times during the restore, so I am not sure why it hangs on that one in particular. I know that the cache image file is only 16.5kb so I dont know if that has something to do with it.
I then installed the newest IMNUTS recovery since I heard there were problems restoring the the PBJ recovery, and it seems to hang in the same spot.
At this point, I have a few of my old programs back, but most force close.
My main goal here is to just extract some gamesave progress and a few other pieces of data (I can redownload basically all the apps I need), run clean until a better gingerbread leak comes along, then use titanium backup to backup what I have (and verify the backups and make backups of the backups )and install a better gingerbread rom.
So anyway, If i can figure out how to go into the datadata.img files, I guess I can extract the data I need and push it through ADB or ROOT EXPLORER? Should that work?
Click to expand...
Click to collapse
unfortunately, you won't likely receive much sympathy posting a question in the development section. Please post your question in the Q & A section and you'll get some help. Just a friendly heads up.
Sent from my SCH-I500 using XDA Premium App
Well I'll go ahead and point you to the right direction, or what I'd imagine should work for your needs. You'll need unyaffs, I'm assuming you're on windows so this here would be the right one for you http://www.box.net/shared/1eighqsh4s. Now take the data.img from your clockwork backup on your sdcard, drag and drop it onto the unyaffs.exe, it should unpack right there into a crapload of files. Navigate to the /data folder and find the ones you want to keep (they should be listed by the package name for the apps, "com.blah.asfkje.etc" rather than the name of the app so keep that in mind when looking for what you want), then adb push (root explorer would be fine too) the folders into your phone where they should be.
Headcase8911 said:
unfortunately, you won't likely receive much sympathy posting a question in the development section. Please post your question in the Q & A section and you'll get some help. Just a friendly heads up.
Sent from my SCH-I500 using XDA Premium App
Click to expand...
Click to collapse
Sorry I posted this in the wrong forum, I was waiting for the train when I posted and wasn't thinking too straight. How can I move it?
ssmaster said:
Sorry I posted this in the wrong forum, I was waiting for the train when I posted and wasn't thinking too straight. How can I move it?
Click to expand...
Click to collapse
The mods will move it once they notice.
Another Fascinating post by my XDA app...
Just curious because of my personal interest...
Did you happen to try the nandroid Advanced Restore option, and select Data only? If not, it might be worth a shot. If it gets far enough, you might try wiping after the restore, and before booting up.
I always wipe my cache/Dalvik before I backup, to try to avoid conflicts with possible future ROMs. Something to think about, anyway.
Sorry about the trouble.
ssmaster said:
Sorry I posted this in the wrong forum, I was waiting for the train when I posted and wasn't thinking too straight. How can I move it?
Click to expand...
Click to collapse
Report your post stating that it should be moved, and the mods will notice right away.
Robtao said:
Just curious because of my personal interest...
Did you happen to try the nandroid Advanced Restore option, and select Data only? If not, it might be worth a shot. If it gets far enough, you might try wiping after the restore, and before booting up.
I always wipe my cache/Dalvik before I backup, to try to avoid conflicts with possible future ROMs. Something to think about, anyway.
Sorry about the trouble.
Click to expand...
Click to collapse
i did try the nandroid advanced data only option and it hung at what seemed to be the exact same point.

[Q] Question Regarding CWM?

Hey.
My Galaxy S2 is acting up again with bootloop, and I can't access what's on the device. I can get into CWM and I've successfully backed up my current ROM. Now my question is: does CWM back up everything? Like app data and everything? I've got an app that has tons of notes on it that I really need and I'll be distraught if they're gone as it'll take me a good 12 hours of work to get them all back. So if I flash back to stock, then flash the backup will it be exactly like it was left with the notes intact? Thanks for any replies. They're much appreciated.
Thought it was backed up. Apparently not. It's saying something about not finding SD-ext and then something about MD5sum or something? Any help please?
Skellyyy said:
Thought it was backed up. Apparently not. It's saying something about not finding SD-ext and then something about MD5sum or something? Any help please?
Click to expand...
Click to collapse
CWM backups everything. literally everything. Try going into Restore from Internal SD card instead of external SD card. It might show up there. No need to reflash anything, just restore the backup and everything should be back to normal. Only the data you backed up will come back btw.
Even after flashing a new rom you can still restore the data.There is an app called nandroid browser which will allow you to browse cwm backup files just like normal files, you can use that app to restore specific data of any app you want.
Sent from my GT-I9100 using xda premium
Thanks a lot guys. Getting worried about this though, CWM doesn't seem to want to backup for me. It keeps failing on all-sorts of things, just a moment ago I tried and said
"Error while backing up boot image!SD Card Space free: 13200MB"
Click to expand...
Click to collapse
But just before that it says:
SD Card Space Free: 0MB
There may not be enough space to complete backup... continuing...
Click to expand...
Click to collapse
I can't quite understand it though. Why is it even saying no sd-ext? I've got a 16GB SD card for music and videos inside the phone.
After that it let me attempt the backup and once complete (sort of) it says:
Backing up cache...
No sd-ext found. Skipping backup of sd-ext.
Generating md5 sum.,,
Error while generating md5 sum!
Click to expand...
Click to collapse
Is there anything I can do?
Not expert enough but for note app, use programs like 'Evernote' which store all of your notes in the cloud. You can get'em back anytime you want.
pHraiL^ said:
Not expert enough but for note app, use programs like 'Evernote' which store all of your notes in the cloud. You can get'em back anytime you want.
Click to expand...
Click to collapse
Not very useful now is it?
I've got them up-to date to about 2 weeks ago via dropbox but there's still a lot I need from then-on.
Skellyyy said:
Thought it was backed up. Apparently not. It's saying something about not finding SD-ext and then something about MD5sum or something? Any help please?
Click to expand...
Click to collapse
if you did back up of the ROM from CWM to resolve you bootloop issue then it is wrong...you have first resolve bootloop issue and make back up..
1) the ext-sd which you are talking about is not your external SD card...it is an additional partittion which is made for system data on your external SD. when a rom is backed up from CWM this partition also is backed up. if you are not made such partition on your external SD, the process simply skip saying no ext-sd available, this is not an error, it is not really meant that you have no External SD, this action is the second last one before creating the MD5 during back up process.
2) after the completion of the backing up of all the data it automaticaly create a MD5 checksum file of your back-up files. this is the final action during the backing up. if you get an error while creating MD5 cheksum file your back will be there in your SD card, but you cant use that for restoring from CWM. since MD5 is not created properly, it will show the error MD5 checksum mismatching or something like that.
just flash any other kernel like latest siyah kernel and try CWM back-up is working properly till the end.
Try wiping Cache and Dalvik cache for getting rid of the bootlloop.
if you are not at all able to solve boot loop isntall a new rom, you can install your applications from CWM backup using some applications, like Titaniim back up if you have donated. no matter it is not created the MD5 properly.
zaheedahmed said:
if you did back up of the ROM from CWM to resolve you bootloop issue then it is wrong...you have first resolve bootloop issue and make back up..
1) the ext-sd which you are talking about is not your external SD card...it is an additional partittion which is made for system data on your external SD. when a rom is backed up from CWM this partition also is backed up. if you are not made such partition on your external SD, the process simply skip saying no ext-sd available, this is not an error, it is not really meant that you have no External SD, this action is the second last one before creating the MD5 during back up process.
2) after the completion of the backing up of all the data it automaticaly create a MD5 checksum file of your back-up files. this is the final action during the backing up. if you get an error while creating MD5 cheksum file your back will be there in your SD card, but you cant use that for restoring from CWM. since MD5 is not created properly, it will show the error MD5 checksum mismatching or something like that.
just flash any other kernel like latest siyah kernel and try CWM back-up is working properly till the end.
Try wiping Cache and Dalvik cache for getting rid of the bootlloop.
if you are not at all able to solve boot loop isntall a new rom, you can install your applications from CWM backup using some applications, like Titaniim back up if you have donated. no matter it is not created the MD5 properly.
Click to expand...
Click to collapse
Thanks for that. But won't installing a new ROM erase app data? Which is the whole point of the thread really, I can't extract the data which is needed.
Trying to charge it here, and the phone is getting ridiculously hot, so much so that I can't actually hold it for more then a few seconds. Do you think this could all just be a battery issue? I had one previously like this, bootlooping also, but previously without a power source, the phone would not turn on at all. This time it will. I'm just very confused.
Skellyyy said:
Thanks for that. But won't installing a new ROM erase app data? Which is the whole point of the thread really, I can't extract the data which is needed.
Trying to charge it here, and the phone is getting ridiculously hot, so much so that I can't actually hold it for more then a few seconds. Do you think this could all just be a battery issue? I had one previously like this, bootlooping also, but previously without a power source, the phone would not turn on at all. This time it will. I'm just very confused.
Click to expand...
Click to collapse
Installing a new rom doesn't erase data app since all your data is in /data. It will only erase data if you wipe data/factory reset. I suggest you wipe cache, wipe dalvik cache, format /system and flash your rom and flash gapps (if gapps not included in rom). This way, your internal apps data is always safe
Sent from my GT-I9100 using Tapatalk 2 Beta-5
Skellyyy said:
Thanks for that. But won't installing a new ROM erase app data? Which is the whole point of the thread really, I can't extract the data which is needed.
Trying to charge it here, and the phone is getting ridiculously hot, so much so that I can't actually hold it for more then a few seconds. Do you think this could all just be a battery issue? I had one previously like this, bootlooping also, but previously without a power source, the phone would not turn on at all. This time it will. I'm just very confused.
Click to expand...
Click to collapse
Yes it will erase your apps and data...if you are flashing a wipe ROM, but if you have a non wipe rom of your current ROM flashing of that wont erase...
you have made a back up which the process reached till MD5 check sum....that means that back should be there in your SD card from which you can restore your applications..
you go to recovery again and go to mout and storage and mout USB storage after connecting to the PC...check are you able to access the SD card and check clockworkmode folder and the backup file....if it is there then copy paste to PC.
if you are able to access SD Card then you can download another kernel or rom and paste on the SD card for flashing from CWM.
before flashing another ROM you can try changing your Kernel,
on which firmware are you currently?
Hey guys - I'm back. I've had to use my girlfriends old Samsung Genio for a few days. Worst days of my life to say the least.
I need my SII back. A few days ago it wouldn't charge at all (hence not being able to get to CWM). But it seems to be doing just fine now. Although I've still got the same boot-loop. I've mounted the SD card, and found the backups - they contain these files:
boot.img
data.ext4.tar
recovery.img
system.ext4.tar
Click to expand...
Click to collapse
Are these all the necessary files to restore? I'm very wary.
Also, if I do flash a different ROM, how will that have the data from my previous ROM if the new ROM doesn't have the apps?
If I do end up restoring, will that restore everything? I mean settings, SMS, app preferences, widgets, app data (Twitter drafts especially) and stuff like that?
Just want to be safe before I go and ruin things.
Btw could all this be due to the lack of free space on the phone? Seems like there is no space whatsoever. Finder is claiming there is 'Zero bytes' available. Surely that can't be good.
Bump. I really don't know what I should be doing.
Skellyyy said:
Hey guys - I'm back. I've had to use my girlfriends old Samsung Genio for a few days. Worst days of my life to say the least.
I need my SII back. A few days ago it wouldn't charge at all (hence not being able to get to CWM). But it seems to be doing just fine now. Although I've still got the same boot-loop. I've mounted the SD card, and found the backups - they contain these files:
Are these all the necessary files to restore? I'm very wary.
Also, if I do flash a different ROM, how will that have the data from my previous ROM if the new ROM doesn't have the apps?
If I do end up restoring, will that restore everything? I mean settings, SMS, app preferences, widgets, app data (Twitter drafts especially) and stuff like that?
Just want to be safe before I go and ruin things.
Click to expand...
Click to collapse
A full cwm backup contains of:
- .android_secure.vfat.tar
- boot.img
- cache.ext4.tar
- data.ext4.tar
- nandroid.md5
- system.ext4.tar
If you do a full cwm backup, all youre data (Apps, Contacts, Sms, Settings and so on) will be safed
After restoring a cwm backup you will get exactly that system, which you had before flashing, bricking or whatever.
Gesendet von meinem GT-I9100 mit Tapatalk
Dr.MacHack said:
A full cwm backup contains of:
- .android_secure.vfat.tar
- boot.img
- cache.ext4.tar
- data.ext4.tar
- nandroid.md5
- system.ext4.tar
If you do a full cwm backup, all youre data (Apps, Contacts, Sms, Settings and so on) will be safed
After restoring a cwm backup you will get exactly that system, which you had before flashing, bricking or whatever.
Gesendet von meinem GT-I9100 mit Tapatalk
Click to expand...
Click to collapse
Thanks for that! But do you know if I'd be able to fully restore even if I don't have all of the files? It seems that there is two missing from the CWM folder for me.
Skellyyy said:
Thanks for that! But do you know if I'd be able to fully restore even if I don't have all of the files? It seems that there is two missing from the CWM folder for me.
Click to expand...
Click to collapse
Yes I think it should work for you
Gesendet von meinem GT-I9100 mit Tapatalk

[Q] CWM error while making backup image of /data

This error is still not answered on the forums so im starting a new thread.
i get the error as the title.
sd card space is not the problem.
i tried formatting the sd card.
i have less than 50 apps installed.
wiped dalvik cache, and all other sorts people say on other posts.
(my phone is LG P936 so "fix permission" screws up the phone. all text disappears)
have latest cwm recovery.
and still get the error.
any answers please?
and please dont reply if you are going to write an opinion.
only answers please.
sorry for my rude behaviour but I'm sick and tired of reading posts full of opinions and "maybe"s.
Not sure if you ever got this fixed but I 'm suffering from the same error. I tried pretty much everything you tried (even fix permissions) and I have about 20GB free on my SD card so space shouldn't be an issue. I have not yet tried formatting the SD card since it has always worked and CWM is able to write to it because the following files are created:
- boot.img
- data.ext3.tar
- recovery.img
- system.ext3.tar
The files that are missing are (based on older backups):
- .android_secure.vfat.tar
- cache.ext3.tar (probably because I wiped it first?)
- nandroid.md5
I have attached the log from CWM in the hopes that someone can tell me what is wrong. The error occurs at the end of the progress bar of 'backing up /data'.
hey just use TWRP Recovery. It's way better than CWM. normal backup on cwm took me like an hour but twrp was never longer than 10minutes.
Today I have formatted the SD card and tried again, but as expected it did not change anything.
ceoleaders said:
hey just use TWRP Recovery. It's way better than CWM. normal backup on cwm took me like an hour but twrp was never longer than 10minutes.
Click to expand...
Click to collapse
I guess I will give this a try. Can I just install it over CWM or can they run side by side?
different reciveries cannot be run side by side as they are installed on a different partition. so it will always be installed over your current one.
ceoleaders said:
different reciveries cannot be run side by side as they are installed on a different partition. so it will always be installed over your current one.
Click to expand...
Click to collapse
Well, I tried TWRP and it also fails at backing up my data partition. The log is a bit more clear though and it seems to get stuck on "/data/data/com.android.vending/cache/images" which is the last line before it gives an error. I checked the "images" folder and it seems empty but I cannot delete it. Tried ES File Explorer and Terminal Emulator but no way to get rid of it. The folder appears to be related to Google Play, so I cleared all data and cache from Google Play, even uninstalled the updates but there 's simply no way to get rid of it. I 'm not sure if this is the reason why the backup fails, but I CAN copy the folder and even rename it.
Pff looks like I 'm going to have to do a clean install after all .
Hello, I too have this problem and unfortunately TWRP is not available for my phone.
I used to be able to do CWM backups fine on my old phone, and they work great on my tablet. But they consistently fail at "/data" on my Galaxy Ace II x. Might it be because I'm using Link2SD? I don't see why that would cause a problem, but maybe it's having trouble with the symlinks?
Hmm. Seems the issue was that, despite having only 1.28 GB total available storage space on stock, the backups wanted more than 4 GB. Cleared some room on my microSD card and suddenly backups worked fine! Of course, shortly after I installed CyanogenMod, which has much smaller backups...
Sent from my GT-S7560M using Tapatalk 4
I forgot to report back here but the only way I found to fix the problem was by doing a clean install. After that, I was able to backup my data partition again. I then restored my apps ' data with TB and was unable to backup the data partition again. I 'm guessing one of my apps had corrupt data, but never got to find out which one it was.
maybe your partition not match with recovery, like something wrong vold.fstab
Just in case anyone still wants to know how to fix this, I managed to solve it by running these commands:
1. run adb shell in recovery.
2. unmount data partition (umount /dev/block/mmcblk0p26). -> this one failed so I skipped it
3. run e2fsck /dev/block/mmcblk0p26
See http://forum.xda-developers.com/showpost.php?p=48659092&postcount=868 for original post.
I got a few HTREE errors and a bunch of duplicate names which I renamed when prompted. Booted the phone and rebooted into TWRP and now I am able to backup my data partition again. :good:
EDIT: Problem reappeared so I tried the above commands again but it said that the filesystem was clean. Ran 'e2fsck -f /dev/block/mmcblk0p26' instead and had to fix a bunch of HTREE errors from Facebook again and duplicate names from Xprivacy but now I 'm able to backup my data partition again.
Dude just selest the backup format as both zip and tar filea

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?

Stock ROM for the SM-T380 Rooted, Bloatware free TWRP backup

Since there isn't any Custom ROM for the SM-T380 I made this TWRP back from my tablet, running on stock Oreo took all the bloatware, Knox out to add some root mods, and latest updates with Magisk root. No other personal app added
This is a compressed TWRP backup, not a flashable ZIP!
Download it from here
https://drive.google.com/open?id=1lBsTd04Un6xJQkA0E6LpWxeDX7bhwsai
how to install TWRP
https://forum.xda-developers.com/ga.../twrp-3-2-1-1-tab-sm-t380-10-02-2018-t3747564
DOWNLOAD/EXTRACT zip file from above Google Drive's link to your PC
Now REBOOT your tablet into TWRP recovery
connect tablet using USB cable to your PC make sure you have Samsung drivers installed, so you can see your tablet on your PC
ON your Tablet create a backup within TWRP's backup tab on your SD Card storage (choose storage SD card)
browse to that folder and open that SD card's TWRP backup folder, using your PC
go to last folder where you should see some files, delete them then
Copy EXTRACTED files from (Google Drives) into TWRP backups folder on your SD card TWRP/BACKUPS/xxxxxxxx/ from your PC to that SD card.
Where xxxxxxxx is your device serial number;
Once done copying the file
go to, restore's tab within your TWRP
RESTORE everything showing there (all those three partitions)
REBOOT to system
IF you can't see those copied files on your tablet then you have missed something. Restart back into TWRP
Thanks
Samsung - for the device, stock firmware & open source
TeamWin - for TWRP recovery @ashyx
@Chainfire - for SuperSU
Magisk
All authors of binaries/libraries, source codes, or tutorials...
Quote:
Please, PM me if I forgot to add proper credits for your work!
Hi, I have a T380, I thought about installing this, but before I do, will this work on the t380? Because you have T380T, and I have T380. And if I want, can I put some of the stock apps back on?
Indeed it works on a T380
CaptainChris2018 said:
Hi, I have a T380, I thought about installing this, but before I do, will this work on the t380? Because you have T380T, and I have T380. And if I want, can I put some of the stock apps back on?
Click to expand...
Click to collapse
I just installed it on my T380.. Be sure to follow the directions entirely. And remember to reboot TWRP after putting the sdcard with the backup files back in or else it may not read it (mine would not).
zanophol said:
I just installed it on my T380.. Be sure to follow the directions entirely. And remember to reboot TWRP after putting the sdcard with the backup files back in or else it may not read it (mine would not).
Click to expand...
Click to collapse
followed the directions but device wont read the backup file. would you mind posting all the steps you took to do the backup.
I had the same issue, so when the proper backup files are in place on the ext sdcard and reinserted into the device, but the device won't read it -- for me, I had to reboot the device into recovery and THEN it would read it.
Hi,a friend is running android 9 stock on the T-380.Does not have alot of apps installed,but hardly and internal memory left.I was thinking of rooting it,and uninstalling some system apps. Can you possibly tell me which system apps are safe to uninstall on this tablet?
bobbylo said:
Hi,a friend is running android 9 stock on the T-380.Does not have alot of apps installed,but hardly and internal memory left.I was thinking of rooting it,and uninstalling some system apps. Can you possibly tell me which system apps are safe to uninstall on this tablet?
Click to expand...
Click to collapse
https://forum.xda-developers.com/no...-safe-to-remove-ktu84p-m910vvru1anj5-t2976286
always change apk extension with .APKbak
so if you got into mess you can rename the APKbak into .APK
if i got android 9 can i do this it?
Is file support with t385??
I want to personally thank you for this TWRP image! I completely hosed my sm-T380 that I just got as a backup tablet while trying to root it.
This did the trick Thank you again!!!
I did this using internal memory and all ok. thanks.
I need to say THANK YOU BRO!!!! You just saved my ass!!
But can't tell how much a custom ROM is needed for this device.
Only things to do, is to remove all the bloat left whit the link you provide above and that's it.
Once again, 3 thumbs up! (don't ask me where I found the third one lolll)
it's a great work .I want download it, but I can't download google file directly(site blockked), I have to through VPN.So the speed is not quick enough for me,I can't complete the downloading within an hour when google vary the token.The download work can't continue and must restart from the beginning.
If you have time,would you please split it into several parts,each size blow 300M?Thanks a lot,this file I think useful and can give me big help and save me time.

Categories

Resources