Big file lost in system partition, how to find?! - General Questions and Answers

Hello, i got a big issue, not 1st time it happens so i'd like to find out what's wrong, since the device doesn't have any working custom recovery and i don't wanna loose all! The issue is : while trying to uninstall/reinstall some game, the obb file is, for a reason i ignore, lost in the system/cache partition. I can know this simply because the free space isn't back and in storage, the "system" is much bigger than usual. The question is: HOW CAN I FIND the location of this damn file? Android experts that are around will probably be able to tell me this..

I already found the bastard! It's in mnt/shell/emulated/obb, if someone's ever got same issue

PS:
goja said:
I already found the bastard! It's in mnt/shell/emulated/obb, if someone's ever got same issue
Click to expand...
Click to collapse
Also some other directories:
USER APPS: /data/app
SYSTEM APPS: /system/app
APP DATA: /sdcard/Android/data
/sdcard/Android/obb
/external_sd/Android/data
/external_sd/Android/obb

Related

Missing apps after HERO upgrade

I was wondering if anyone else was running into the problem I'm having, and if it has been covered before and I missed it in the search box earlier I apologize. I just recently tried to upgrade to JACHero2.6 and my market app (most important) along with several others are missing. The apps are automatically installed on all my other roms, it is only with hero that I end up missing alot of apps. I have a correctly formatted SD card and I did a wipe before I installed this and tried the whole process twice. If I am forgetting to do something special prior to installation or afterwards please let me know!!
darkphoenix2012 said:
I was wondering if anyone else was running into the problem I'm having, and if it has been covered before and I missed it in the search box earlier I apologize. I just recently tried to upgrade to JACHero2.6 and my market app (most important) along with several others are missing. The apps are automatically installed on all my other roms, it is only with hero that I end up missing alot of apps. I have a correctly formatted SD card and I did a wipe before I installed this and tried the whole process twice. If I am forgetting to do something special prior to installation or afterwards please let me know!!
Click to expand...
Click to collapse
you may have gotten a bad download. try redownloading it again. do you have 3 partition (fat32 ext2/3 linux-swap) if not i suggest that for jac's 2.63 also make sure you check file extensions in recovery screen. hopefully this helps
Yes I have my card that exact format and I tried using the filesystem checker in the recovery screen it said filesystem check was complete!! I'll try doing the whole process over again but I'm not sure how that would help, and it is sad too this is the best damn hero rom i've tested to date, its fast as hell!! If it weren't for my apps not being here i wouldn't be planning on a future rom update in the near future or until some big release happens.
make sure you always check md5 sum of all your hero build download
you could of had a damaged downloaded rom and this could affect your rom.
Just tried to download a fresh copy of the rom, checked to make sure my sd card was working properly, wiped and re-flashed yet my market app and the same apps I was missing before is still missing. It should be included that apps on my ext2 were coming back like they should be just not all of them, and not a few apps that I thought should be included with the rom. Is there anything I should check that I may not have yet?
I would use Root Explorer to check if the apk files are still under system/sd/app if they aren't... well, there's no way you're going to see them again unless you re-install them. You can also look under system/sd/app_s if that's there. Other than that, if you can't find it, it's not there. (If you know the exact name of the file or at least part of the apk file name, under terminal type: find "file name" (w/o quotes ofc)
You can add wildcards (*) if you don't know the exact name of the file. If the apk file is still there... well... let's just see if its there first.
I checked using terminal, I typed "vending.apk" and tried to check the dir's you specified for the apks. If they are there I can't find them, although I am a bit limited as terminal is the only app that came loaded with which to check for files. If the apk files are indeed not there then why would the apps install on their own without a problem on any other build but hero??? I must be doing something wrong right? I am open to any suggestions at this point, even using a different rom to check for something, my goal is to have this rom flashed with my apps working soon!
heres the vending.apk from jachero 2.63 you can try and adb push it to /system/sd/app_s and see if it works.
Thanks, I'll try pushing that over but I'm still worried about the rest of the apps I'm missing. Would there be anything else I could try to make it possibly fix all the missing apps? What could be causing this problem in the first place? I did notice that my sd card has an ext2 rather than ext3 part, will that cause all of this to happen? I'm still pretty lost on this. I tried going back to another rom just to make sure my apps would still all pull up correctly, and they did so it has to be something related to this most recent build of jachero, or something
welcome to the club my friend (-;
i have the exact same problem and noone was able to help me yet.
It must have something to do with Jacs apps2sd method. i read some tweets between him and cyanogen that it might be a little 'rough'.
however - it's always the same apps that are missing, in my case it's (badly enough) launcher.apk AND rosie.apk which pretty much means that i can't solve it.
i also tried everything i could with ADB - without luck. I somehow have the feeling that theres something staying on the phone even when wiping and formatting.... I'll check this through ADB this evening.
look @ my recent posts:
http://forum.xda-developers.com/search_rop.php?searchid=25731882
for previous moaning from myself ( (-; ) and discussion with others in the JACthread. Basically the last 15 - 20 posts are about nothing else (-;
I will also do some logcating today - i've already seen the errors through install (rosie.apk couldn't be parsed etc) but i forgot to save it (and the command promt only saves 100 lines or something)
h.nocturna said:
I would use Root Explorer to check if the apk files are still under system/sd/app if they aren't... well, there's no way you're going to see them again unless you re-install them. You can also look under system/sd/app_s if that's there. Other than that, if you can't find it, it's not there. (If you know the exact name of the file or at least part of the apk file name, under terminal type: find "file name" (w/o quotes ofc)
You can add wildcards (*) if you don't know the exact name of the file. If the apk file is still there... well... let's just see if its there first.
Click to expand...
Click to collapse
I have used AndExplorer and put the APK's in the sys/sd/apps and it all worked fine. Very easy to do if you don't know how to push, just reboot after.
Can someone please tell me how i can get myfaves app on any mod im burning up my minutes thanks.
jivany said:
Can someone please tell me how i can get myfaves app on any mod im burning up my minutes thanks.
Click to expand...
Click to collapse
You don't need to have the myfaves app for you myfave minutes to work. You are still calling them for free regardless if you have the icon or myfave compatible phone or whatever. If you want to manage the people just log on to mytmobile.com and make the changes there.
Hmmmmmmmm . I never realized thanks for pointing that out TurboTsi.
darkphoenix2012 said:
Thanks, I'll try pushing that over but I'm still worried about the rest of the apps I'm missing. Would there be anything else I could try to make it possibly fix all the missing apps? What could be causing this problem in the first place? I did notice that my sd card has an ext2 rather than ext3 part, will that cause all of this to happen? I'm still pretty lost on this. I tried going back to another rom just to make sure my apps would still all pull up correctly, and they did so it has to be something related to this most recent build of jachero, or something
Click to expand...
Click to collapse
open up your copy of the build and check in system/app_s to see if the .apks are even in the build. if pushing the vending.apk works i dont mind posting the other ones you are missing if you want to pm me or something
Just tried opening the update.zip file and verified that all the apks are there. Which makes me wonder what exactly is up. Im thinking it could be an apps2sd issue, like what was said above. I didnt have this problem with older hero roms that i can remember. TBH I could try pushing apps with adb but that wouldn't bring back my other 3rd party apps floating in ext2 limbo. So I'm out of ideas ;(
darkphoenix2012 said:
Just tried opening the update.zip file and verified that all the apks are there. Which makes me wonder what exactly is up. Im thinking it could be an apps2sd issue, like what was said above. I didnt have this problem with older hero roms that i can remember. TBH I could try pushing apps with adb but that wouldn't bring back my other 3rd party apps floating in ext2 limbo. So I'm out of ideas ;(
Click to expand...
Click to collapse
try going to the recovery console and entering upgrade_fs and that will change your ext2 to ext3 and see if wiping and flashing change anything. also if you have root explorer you can check your /system/sd folder to see if all of your third party apps are there
Just tried upgrade_fs and it gave me a "unable to allocate block" I noticed there is little if any room left on the ext2 partition. Would that cause all of this? If not would it be worth a shot to resize the partition and give it more space from my fat32 then try to upgrade wipe reload again?
If you're out of ideas, then I would attempt to resize first (but backup your fat32 first) and then see if that solves it, if not, then I would format, wipe, and update...
but are you sure those 3rd party apps are not there? Try using Root Explorer to determine if the 3rd Party Apps are there, if they are, just pull them to your sdcard and try installing them again with ASTRO or something like that.

[Q] Removing CDFS partition without rooting?

Is it possible to remove the CDFS partition (Verizon Mobile) without rooting the phone?
It is the company's phone, so no rooting for me but I would love to be able to use the TB as a USB stick on my JVC KD-AVX77 in the car. Right now it doesn't see any music and I suspect that's because of that CDFS partition.
Any help would be appreciated.
Thanks.
I'd like to know this as well...
Bumping this up. Even if it requires root, would still like to know how to do it period, as I can't seem to find any info anywhere.
you have to delete a file and you need to be rooted to do so because it is a system file.
/system/etc/cdrom.iso is the file that needs to be deleted
magneticzero said:
you have to delete a file and you need to be rooted to do so because it is a system file.
/system/etc/cdrom.iso is the file that needs to be deleted
Click to expand...
Click to collapse
Awesome, thanks!
magneticzero said:
you have to delete a file and you need to be rooted to do so because it is a system file.
/system/etc/cdrom.iso is the file that needs to be deleted
Click to expand...
Click to collapse
How big is the file "cdrom.iso"?
bignew67 said:
How big is the file "cdrom.iso"?
Click to expand...
Click to collapse
I dont recall offhand...it isnt that big....more annoying than how big it is
The ISO is only about 6mb. However, after removing it, the CD drive still shows up when connected, just with no data. Any thoughts, or is this something a kernel dev/CM7(lol down with Sense!) is going to have to take care of?
In the programming menu the option was removed. Take the Incredible for instance, you could disable it, but not so on the TB for now. Unless someone figures out a way to change it Im out of ideas, but removing it worked for me.
magneticzero said:
In the programming menu the option was removed. Take the Incredible for instance, you could disable it, but not so on the TB for now. Unless someone figures out a way to change it Im out of ideas, but removing it worked for me.
Click to expand...
Click to collapse
Well at least removing it gets rid of the autorun prompt. Good enough for now, and I'm sure the CM team will figure it out.
Root here. Didn't work for me. I can't mount my sd card through my phone after deleting that file.
I did flash adrenalyn's 1.9 kernal some days before which may be the cause of my having a different result from others in this thread however I think it's a good idea to DO A NANDROID BACKUP BEFORE ATTEMPTING!
or at least rename the file with a .old or .bak extension, whatever ya like... luckily I have the backup from before the kernal flash
would logcat be able to track down what's being accessed while the phone is mounting volumes while enabling disk mode?
Rather than removing it, I replaced it with an ISO of my own that has the Tether for Android setup exe and dmg, and a few other misc files I might need

Infuse EFS Folder (Request for someone's backup)

Hi guys,
One miraculous day, my efs folder became corrupt, when it just so happened to be the week after the hard drive on my computer took a dump! What a week this has been.. I was wondering if it is possible for someone to zip their EFS folder and send it to me to see if I can't get this phone to connect back to the network again. I honestly think there are applications on androids marketplace that will wipe things if you have superuser installed.. because it was like BAM, one morning I wake up and my efs folder was deleted the day after I had installed some new apps.
So my question is - Will someone send me a backup of their EFS? If that won't conflict with their phone of course -- I would send it back to Samsung, but their 3rd tier support has no idea what I'm talking about - they just hear root and think I'm a piece of trash.
Any help would be greatly appreciated - I have not seen anything about trying someone elses efs so I thought it could be a bit experimental as well.. Thanks
-Brett
Salmiery said:
Hi guys,
One miraculous day, my efs folder became corrupt, when it just so happened to be the week after the hard drive on my computer took a dump! What a week this has been.. I was wondering if it is possible for someone to zip their EFS folder and send it to me to see if I can't get this phone to connect back to the network again. I honestly think there are applications on androids marketplace that will wipe things if you have superuser installed.. because it was like BAM, one morning I wake up and my efs folder was deleted the day after I had installed some new apps.
So my question is - Will someone send me a backup of their EFS? If that won't conflict with their phone of course -- I would send it back to Samsung, but their 3rd tier support has no idea what I'm talking about - they just hear root and think I'm a piece of trash.
Any help would be greatly appreciated - I have not seen anything about trying someone elses efs so I thought it could be a bit experimental as well.. Thanks
-Brett
Click to expand...
Click to collapse
This is an interesting request, Brett.
I thought the efs.rfs file contains one's phone imei number/network id etc.
idk for sure...
I thought using someone else's imei is kinda like "let me borrow your ss# so i can check the ss office to see if mine is working.
I didn't know if you found this link and tried it?
http://forum.samdroid.net/f28/complete-imei-restore-how-1817/
http://forum.xda-developers.com/showthread.php?t=882039
http://forum.xda-developers.com/showthread.php?t=953436
Fortunately for me, I had a efs backup on my hd.
I think I also saw scripts in Zeus and Doctor ROM that backs up efs also prior to flash..
good luck
I wasn't trying to steal anyone's IMEI.. I just have tried multiple techniques, but I have not tried the first link..
I've been having trouble getting a shell with adb, does it need to be in download mode?
I was trying to see if it were possible to copy someone's existing files, and use a hex editor to change things, but reading into it, the IMEI is not able to be edited easily without knowing the encyrption type.
I'm just frustrated and have been back and forth with both at&t and also samsung (Their support is a joke, no one I spoke with even knew what the EFS folder was..)
I will try this technique and will report back later when I get home from work tonight. I've been reading a lot of similar issues with the null/null IMEI in the infuses and the guy at the AT&T store said that this was the reason they stopped selling the phone in their store.
Thanks for the help, I'll let you know what happens.
-Brett
Goodluck.
From the tone of your post, I didn't suspect any malice...I had a gist of what you were trying to do.
From reading some of links, there may be some method of recovery.
I hope that you're able to get it back.
I posted one a while back. I think it was in the q&a section. I won't be at my computer for a couple of days or I'd upload it for ya. Try searching or scrolling thru there.
Edit: I just uploaded an EFS.zip, unzip and flash the included efs.tar thru Odin or heimdall.
I had the same problem but i fixed it through Odin. There is an option in odin where you can click on the side (sorry i just reformated the comp so i dont have odin installed) that says something about the EFS. Try that, it fixed it for me.
On a related note. I thought I read somewhere that typical backups such as tibu and nandroid do NOT back up the efs folder. Is this correct? Should we all be doing this manually to protect against corruption?
Try searching here or on market. I remember there was this app called "nitrality" something. This app backs up EFS that we can restore in case we mess it up.
diablo009 said:
Try searching here or on market. I remember there was this app called "nitrality" something. This app backs up EFS that we can restore in case we mess it up.
Click to expand...
Click to collapse
I did try to dl that app and ran it. It didn't work for me. The app hung up the system until you fc it.
If you're versed in linux or Term emu, you can use script to back up your efs.
If you had flashed zeus or doctorz, there are scripts build in that backs up your efs.
if you had root explorer, you can find efs folder in your root. long press on the folder allows you to create zip or tar of this as well.
Any harm in just copy/paste the whole folder to external SD with root explorer? Then copy paste to windows over USB? Will permissions get messed up?
I think I've already backed it up but there have been a couple threads on this. Wonder if it should be part of superthread or a sticky...do this first :...
Sent from my SAMSUNG-SGH-I997 using XDA App
rxnelson said:
Any harm in just copy/paste the whole folder to external SD with root explorer? Then copy paste to windows over USB? Will permissions get messed up?
I think I've already backed it up but there have been a couple threads on this. Wonder if it should be part of superthread or a sticky...do this first :...
Sent from my SAMSUNG-SGH-I997 using XDA App
Click to expand...
Click to collapse
no problem with copy/paste that I know of.
Being cautious, I have a zip, a tar, and the whole folder on my PC, USB and box.net.
Hypothetically,
I have access to another Infuse on the same family plan at that, if i were to copy the efs folder to mine what would that do?
I want to make sure not to have the same IMEI number on the network though, but this could save me a lot of hassle...
any thoughts?
Read the threads on the links I provided...you will get more understanding.
I have multiple times, but the first post that seemed like it would be the best fix, I have to get him to send me a fixed nv_data file and he seems to be unresponsive at the moment.
I think I'm going to root the 2nd infuse, back up her efs folder (MULTIPLE times lol) and fix it so it's generic and not an exact replica of hers..
Do you see any problems there? I'm definitely not an expert at all with this.
Salmiery said:
I have multiple times, but the first post that seemed like it would be the best fix, I have to get him to send me a fixed nv_data file and he seems to be unresponsive at the moment.
I think I'm going to root the 2nd infuse, back up her efs folder (MULTIPLE times lol) and fix it so it's generic and not an exact replica of hers..
Do you see any problems there? I'm definitely not an expert at all with this.
Click to expand...
Click to collapse
In order to see what is on the root of a phone, you may need to root it.
Once rooted, you can look for the efs folder.
I haven't used z4root in a while on an unrooted phone, I don't know if this program will let you see the root folder or not. It's possible.
The efs on my phone shows several programs and folders.
One of the folder is /imei. I suppose this is where the unique id is located.
read the thread: http://forum.xda-developers.com/showthread.php?t=1372455
as you can see, the efs contains unique id...i'm not sure of even how to make up a different imei file from using someone else's efs folder.
if your phone boots up but does not connect, if you go to settings/about phone/status
does it list the imei?
if it does, are you able to use a script in terminal emulator to back it up?
if you can't find the script, you can try flashing doctor or zeus rom, they have scripts to back up your efs folder. then try locating it on your phone.
the other thought i had was for you to call your provider to see if they can give you your previous imei number.
I'm only reasoning from what I have read...these are new territory to me.
Right, I have rooted my phone and for whatever reason the EFS folder is completely empty... The folder is there, but completley empty.
I have the IMEI number, its on the back of the phone as well as AT&T gave it to me.
The fact that my entire folder is empty, and I hadn't backed anything up because I never flashed the kernel or rom makes me think that the android marketplace does have malicious code that simply says:
if(phone==rooted){
wipe efs foler
}
continuing to pull my hair out and attempt new things, if anyone has any ideas let me know.
Salmiery said:
continuing to pull my hair out and attempt new things, if anyone has any ideas let me know.
Click to expand...
Click to collapse
Check out Post # 5, I just edited my post.
its not simply a folder its actually a partition, on Linux you can mount drives/partitions however you like so it can appear to be under another directory and be an entirely different device.
you can make a .rfs image from the dd command through adb or terminal emulator.
if it is corrupt you "may" be able to salvage it through options of the dd command.
I gotta look up the device path and whatnot but if there is anything on there, visable or not, you might be able to recover the unique files and paste them over the files from someone else's efs backup. if not I have heard but never tried it, but I heard that fromatting the partition will cause the system to generate a generic efs, but I don't know for sure.
edit: the device location is /dev/block/stl3
you can dump it to the SD card with
dd if=/dev/block/stl3 of=/sdcard/efs.rfs bs=4096
if there are bad blocks I think but not quite sure you can add noerror to the end
dd if=/dev/block/stl3 of=/sdcard/efs.rfs bs=4096 noerror
but if the information has actually been deleted unless it was overwritten it is mostly intact. it is not well known that delete doesn't actually delete the data, even after a format data can be recovered with the right program. if the dumps come up empty there is also dd_rescue and foremost but I don't know if those commands are available on android, but you may be able to loop mount the dump on a Linux box or in cygwin and try the ddrescue or foremost commands.
http://www.linuxquestions.org/questions/linux-newbie-8/learn-the-dd-command-362506/
hopefully you can recover something. and learn something along the way. this is also useful for recovering deleted files and securely deleting stuff you want gone for real.
i remember I lost my efs on my captivate. There are tools in the forum to get it back.
Salmiery said:
Hi guys,
One miraculous day, my efs folder became corrupt, when it just so happened to be the week after the hard drive on my computer took a dump! What a week this has been.. I was wondering if it is possible for someone to zip their EFS folder and send it to me to see if I can't get this phone to connect back to the network again. I honestly think there are applications on androids marketplace that will wipe things if you have superuser installed.. because it was like BAM, one morning I wake up and my efs folder was deleted the day after I had installed some new apps.
So my question is - Will someone send me a backup of their EFS? If that won't conflict with their phone of course -- I would send it back to Samsung, but their 3rd tier support has no idea what I'm talking about - they just hear root and think I'm a piece of trash.
Any help would be greatly appreciated - I have not seen anything about trying someone elses efs so I thought it could be a bit experimental as well.. Thanks
-Brett
Click to expand...
Click to collapse
Uh, NO than you. My EFS folder has nothing to do with yours. Don't know how that would work...

Internal Memory running low - MacLaw 4.4

I have installed MaclawStudio Kit Kat ROM (version of March 17th, 2014) in my Galaxy S2 Lite (a.k.a Galaxy S Advance).
Everything was running fine, but now with some months of usage I was fighting with low internal memory available, even though I have only a few apps installed.
I used Storage Analyser app to check where the pain point was an found out a big number of folders with the naming mmdsp-SIA_... in the data folder.
They contained the following files:
mem_sdram_data.data
mem_sdram_code.data
mem_esram_code.data
mem_tcm.data
metadata.txt
I could not find much information about this, but as the name folder contained a timestamp I imagine this is some kind of Short Dump memory information.
I deleted this folders, made free more or less 400 MB and so far the phone is ok.
Thats what happen when you use ****law cm :laugh::laugh::laugh:
PS: sorry for OT
Same problem here
Hi,
I'm having the same exact problem with my S Advance but i have no custom ROM, though i have routed my phone to uninstall operator apps so that i could make it run lighter.
I have more than a hundred of them and don't know if i can delete them without problems.
Do you still have those kind of directories ?
Have you found what they are for ?
And still no problems deleting them ?
Thanks
Force said:
Thats what happen when you use ****law cm :laugh::laugh::laugh:
PS: sorry for OT
Click to expand...
Click to collapse
I'm open to suggestions.
dellagustin said:
I'm open to suggestions.
Click to expand...
Click to collapse
Sorry for that rude post . Try SD Maid, it can free some space.
PauloSilva.1969 said:
Do you still have those kind of directories ?
Have you found what they are for ?
And still no problems deleting them ?
Click to expand...
Click to collapse
Hello, sorry for the late response.
The folders appear again now and then. When I'm low on space I always check the data folder and if they are there I'll delete them.
No harm so far.

Backup problems and questions

Hi, first of all, thank you for reading me.
I think i messed up big time.
I had Havoc OS 4.1 installed since more than a year and it was kinda messy e.g. the sim card card wasnt recognized anymore so wasnt able to make calls because i played to much in the settings.
Having some stupid but incredibly addictive games on this smartphone i decided to keep it like this and since i'm a complete n00bs and being afraid of security risk of rooting my device i never rooted it.
Big mistake.
So, recently, one games needed an update (like they all do at least once a week) and since i'm anti-google/f***book (no comment please) i nvever saved my progress in the cloud and "that" game required absolutely an update.
I installed the update from an alternative apk source and , (applause if you want and laugh), it screwed up the game.
Now the nightmare begin.
Since the device isnt rooted i made a backup of /data partition. Gone crazy and before i might explode in an uncontrollable fury and madness i used LMSA to rescue the phone. And myself, lol.
Now i have stock android and i am googled to the bone. My butt hurts. My head too.
THE (first) simple question is : how can i restore this backup because i have the error 255?
Notes and observations; logically i would say because the device is back with stock rom and doesnt have the same os/rom installed and/or the partition and whatever is not the same wich may explain the error 255.
SECOND QUESTION: can i extract/uncompress this backup and take the precious data wich is my games progresses and restore it somehow?
I know i have to give as much information possible but i dont what else to give. If you need logs, or everything else just say it nicely and i will give it to you with immense pleasure.
Oh yeah, model : XT2113-2 5g Kiev RETCA 128gb a/b type and maybe was crypted before because twrp asked me the password to make backup or else.
Thank you in advance and i really hope somebody would help, if not i just loosed 1.5 years of stupid gaming because i messed up like an idiot. (A lesson well learned, the hard way...)
Thank you so much for not answering this simple question.
Kerplunk83 said:
Thank you so much for not answering this simple question.
Click to expand...
Click to collapse
The problem is it's a Motorola with a Qualcomm chip.
If you find a solution I would love to see it.
Finally a sign of life from someone here.
Thank you sd_shadow
sd_shadow said:
The problem is it's a Motorola with a Qualcomm chip.
If you find a solution I would love to see it.
Click to expand...
Click to collapse
These precious brief and concise 2 lines of a simple answer is immensely welcomed.
Wich point me to reply that to my knowledge i interpret it as a security chip with big chances that its in relation to the knox technology.
It also point me to ask WHY, if i cant back up because of that, why/how is it possible to install a custom rom or gsi (sorry i still dont make the difference because i dont understand it) on this very protected smartphone?
That must explain why i had problems trying to root it and fail each time.
Finally i think that i should use another device for android gaming since i dont want to depend on f***book and google.
Thanks again sd_shadow. Even if it was a very simple answer it enlightens me alot.
Note: sorry for my bad english.
Kerplunk83 said:
how can i restore this backup because i have the error 255?
Click to expand...
Click to collapse
This error code means that at some point your backup of /data could not be extracted further. But for more detailed infos you must provide a recovery.log which will be generated when doing a backup of e.g. /boot.
>>> Please DO NOT copy+paste it here!! <<<​Rename it (recovery.log > recovery.log.txt) to be able to upload it within "Attach files".
Kerplunk83 said:
can i extract/uncompress this backup and take the precious data wich is my games progresses and restore it somehow?
Click to expand...
Click to collapse
Yes, use Titanium Backup (TB). Although it's very outdated it still features a restore of single apps out of a TWRP backup. Here's how you do it:
1. IMPORTANT: TB will only search for TWRP backup files on internal storage!! Use the default path created by TWRP, e.g.: /sdcard/TWRP/BACKUPS/ZY322V8K28/2023-04-08--06-53-20/
2. Install and open Titanium Backup.
3. In the upper right corner tap
MENU > scroll down to "Extract from Nandroid backup" > choose your backup folder
##############
Notes:
- Usually a TWRP backup of /data consists of several parts (data.ext4.win000, ~win001, ~win002 etc). TB requires all of them (or at least those ones with the /data/data/ path inside).
- If you are facing this error message:
Could not find any data in this TWRP backup
then your TWRP backup is compressed with gzip. To decompress it you must rename the file
data.ext4.win001 > data.ext4.win001.gz
and extract it with any archiver tool, e.g.:
- ZArchiver (Android)
- 7zip (Windows)
- Problems finding any TWRP backup data with Titanium Backup? Then please check your path!! (see above section)
Good luck!!
Thank you very much WoKoschekk i'll do it as soon i'll have the time for since i'm working today.
Thank you so much again, i'll keep you posted with logs and such.
I'm sorry i didnt gave news since, i'm not doing very well.
there's those 2 question i still have in my head;
1-With all the instructions you gave me is it worthy to continue because when i did the backup i wasnt rooted?
2- i'm sure i read many time to use Titanium Backup (wich is a paid app?) i have to be rooted or have root access.
Ultimately, how can i be rooted if there's a chip preventing me to do so?
I'll keep you posted when i'll be of better health, thank you.
Kerplunk83 said:
-With all the instructions you gave me is it worthy to continue because when i did the backup i wasnt rooted?
Click to expand...
Click to collapse
TWRP backup = *.tar archive
TB unpacks the needed app's data and nothing else. You must be rooted to have access on /data for restoring your apps. But for the backup process it doesn't matter if you were rooted. Root is part of your boot.img.
Kerplunk83 said:
2- i'm sure i read many time to use Titanium Backup (wich is a paid app?) i have to be rooted or have root access.
Click to expand...
Click to collapse
TB is for free. But a paid version unlocks additional features (not related to the TWRP restoring feature).
And yes... root is mandatory for TB. As I said before you must have r/w access on /data/*.
Kerplunk83 said:
if there's a chip preventing me to do so?
Click to expand...
Click to collapse
Which chip?? You already have root access via TWRP. Magisk is only needed in system and just a patched boot.img (custom kernel).
Get well soon!
WoKoschekk thank you for this insanely fast reply.
All those answers and infos have now a gigantic value for me, if only i knew that before.
To describe a bit more my situation i slept only few hours since 5 days, vomiting, heavy coughs and fever.
I'm sure i'm not supposed to but i will anyway, i engage myself and promise to reward you (in particular) and others for the help you're bringing me. It wont be much but very important to me.
I'll go try to get (again) some rest. Just before i go, why was there a mention about my device;
"
The problem is it's a Motorola with a Qualcomm chip.
If you find a solution I would love to see it.
"
I dont ask you (WoKoschekk) or other to explain in the most explicit and endless details of what is exactly this "chip" and all the history that goes with it cause i dont want to be a pain but just why it was mentionned. Only, why?, it has ben mentionned.
I cant wait to get better since i finally see possibilities to get back those files.
Have a nice week-end and thanks again.
@Kerplunk83 To reveal the mystery behind "the chip": Motorola released two variants (Snapdragon/Mediatek CPU) of this model. Since the CPU largely determines the system structure, building a functional TWRP for both of them is very challenging. It seems that TWRP for the SD's variant got some bugs while the MT's variant runs more smooth. Due to this fact the error 255 is caused by something that you weren't be able to fix.
Regarding your problem: To restore an app and its specific app data you need the proper permissions to write in /data/data and /data/app. For this permissions you either need TWRP or Magisk installed. TWRP seems to be unable to write in that specific directory. On the other hand you don't want to install Magisk. I'm sorry but with this setup your problem can't be fixed.
Just out of curiosity, could you provide me a recovery.log showing error 255 during the restore process?
Please DO NOT copy/paste the whole log and post it here!! Instead of this you should rename the file (recovery.log => recovery.txt) because a file called *.log isn't allowed for upload. But a *.txt file is.
Options to create a recovery.log:
1. adb pull /tmp/recovery.log
=> copies a recovery.log into your ADB/fastboot folder
2. Do a backup of sth. like "boot" because the backup process will create a recovery.log by default
3. TWRP mainscreen > advanced > create log (kernel log isn't needed here)
=> log is stored on the default storage (internal or external) that you have choosen for backups etc.

Categories

Resources