thanks to the brilliant efforts of all the members here at xda forums I was able to root my Samsung galaxy s4 i9505 bought may 2014 out of warranty (didn't need even though had no root) bought may 2014 successfully all things work fine my question is that:
titanium backup detects both backup directories as valid shows all the files but says with extSdCard shows a red folder saying "This folder is not writeable" what's the deal here and how to fix it
additional question not related to this topic exactly but better than starting another thread
I didn't use triangle away and don't give a fudge about knox counter but would really like to remove knox and all its components from phone
the stuff that's on the phone is taking a lot of space and I want some of it back
any help would be appreciated
Samsung Galaxy S4 GT-I9505 Qualcomm Snapdragon 600
Lollipop 5.0.1 Official Rom
Kernel Version: 3.4.0-5978264 [email protected] # ! (CF Auto Root)
Running Latest CWM for I9505
Angel-King said:
thanks to the brilliant efforts of all the members here at xda forums I was able to root my Samsung galaxy s4 i9505 bought may 2014 out of warranty (didn't need even though had no root) bought may 2014 successfully all things work fine my question is that:
titanium backup detects both backup directories as valid shows all the files but says with extSdCard shows a red folder saying "This folder is not writeable" what's the deal here and how to fix it
additional question not related to this topic exactly but better than starting another thread
I didn't use triangle away and don't give a fudge about knox counter but would really like to remove knox and all its components from phone
the stuff that's on the phone is taking a lot of space and I want some of it back
any help would be appreciated
Samsung Galaxy S4 GT-I9505 Qualcomm Snapdragon 600
Lollipop 5.0.1 Official Rom
Kernel Version: 3.4.0-5978264 [email protected] # ! (CF Auto Root)
Running Latest CWM for I9505
Click to expand...
Click to collapse
Enter titanium backup preferences and go to the "backup folder location" setting. Next, touch the "storage provider" and select something else, like documents provider if available.
This may fix that problem.
As for knox, just do a Google search on what apps belong to knox and delete them with titanium backup.
GDReaper said:
Enter titanium backup preferences and go to the "backup folder location" setting. Next, touch the "storage provider" and select something else, like documents provider if available.
This may fix that problem.
As for knox, just do a Google search on what apps belong to knox and delete them with titanium backup.
Click to expand...
Click to collapse
as I understand using your method does show the backup location in extSdCard
but the entire root directory containing system file i.e.
/storage says not writeable
/storage/extSdCard not writeable
/storage/emulated/ not writeable
but
/storage/emulated/0
/storage/emulated/legacy
are accessible by TB here it says <<Create New Folder>>
I'm going like this {} trying to solve this over and over navigating file path changing locations
also does freezing BusyBox would effect this
or is it affected by SuperSU's Mount namespace separation
I'm very confused and frustrated because finding an alternative to TB would be a miracle
Angel-King said:
as I understand using your method does show the backup location in extSdCard
but the entire root directory containing system file i.e.
/storage says not writeable
/storage/extSdCard not writeable
/storage/emulated/ not writeable
but
/storage/emulated/0
/storage/emulated/legacy
are accessible by TB here it says <<Create New Folder>>
I'm going like this {} trying to solve this over and over navigating file path changing locations
also does freezing BusyBox would effect this
or is it affected by SuperSU's Mount namespace separation
I'm very confused and frustrated because finding an alternative to TB would be a miracle
Click to expand...
Click to collapse
My method was a temporary fix for when marshmallow first released and app permissions were f'd up. It had the same problem. Thought it might help you too.
You can restore apps from the sdcard, but you can't backup to it.
Busybox is required for pretty much any rooted app. It also doesn't show up in Titanium Backup normally.
Maybe you should update it or install another version.
Or try the sd fix app by nextapp inc.
GDReaper said:
My method was a temporary fix for when marshmallow first released and app permissions were f'd up. It had the same problem. Thought it might help you too.
You can restore apps from the sdcard, but you can't backup to it.
Busybox is required for pretty much any rooted app. It also doesn't show up in Titanium Backup normally.
Maybe you should update it or install another version.
Or try the sd fix app by nextapp inc.
Click to expand...
Click to collapse
wil try it tomorrow
GDReaper said:
My method was a temporary fix for when marshmallow first released and app permissions were f'd up. It had the same problem. Thought it might help you too.
You can restore apps from the sdcard, but you can't backup to it.
Busybox is required for pretty much any rooted app. It also doesn't show up in Titanium Backup normally.
Maybe you should update it or install another version.
Or try the sd fix app by nextapp inc.
Click to expand...
Click to collapse
sdfix worked I OTA updated to lollipop so all is good user apps are able to write on extSdCard
Related
my mt4g is rooted but i cant delete or move the bloatwares.
astro>system>app (it says: error deleting files)
i dont understand whats going on bcus the steps seem simple but somehow its neither deleting nor allowing it to be moved to my sd card.
any help would be most grateful. thanks in advance.
-----------------------------------------------------------------------------
and one last question. now that my phones rooted, s=off, may i delete visionary, the terminal emulator, and superuser???
>> i have more tasks running now that its rooted along with my inability to remove the bloatware
For your first question, astro cannot delete system apps if you're not mounted r/w, which you wont be by default. Root Explorer gives you the option to mount r/w and then delete apps. alternatively, you may want to install titanium backup and use the "freeze" feature so you can easily restore them if you want in the future.
You can remove visionary, and the terminal emulator if you want, but you'll need the superuser app to grant root permission to any apps that require root in the future.
Don't arbitrarily delete bloat. Use Titanium to freeze apps you don't want like option94 suggested. Some of those apps are tied into the sense ui and deleting them can make things screwy. After freezing in Titanium, if everything is working well, you can delete if you want. Make a nandroid backup before you do anything permanent. I would leave the stock rom alone and flash a rom like iced glacier which is basically optimized stock with all the bloat removed. Don't forget the make backup part.
Sent from my HTC Glacier
thanks i didnt quite understand what 'mount r/w' means or what it really does but as long as changing it to 'mount r/o' makes those unnecessary apps go away, im happy. thanks again
r/w = read/write - you'll be able to make changes
r/o = read only - you wont be able to make changes.
Who is affected? All devices pre-gingerbread
Who should act? Users and developers using pre-gingerbread roms
How do I fix? Flash attached .zip at the bottom of this post
What if I think I was infected? Completely wipe your device, format sdard, go back to stock and re-apply rom, then flash the attached .zip (before installing any apps)
Why should I care? read below...
http://www.androidpolice.com/2011/0...your-phone-steal-your-data-and-open-backdoor/
Flash this with ClockWorkMod.... this is for any Pre Gingerbread ROM.... ie TNT anything, VEGAn 5.1.1 and below, Zpad anything, GAdam anything.
This is not necessary for any ROMS based off Gingerbread AOSP or CM7. Including VEGAn-TAB Experimentals.
Be Safe.
Even More Details here: http://www.androidpolice.com/2011/0...-android-nightmare-and-weve-got-more-details/
I checked out the zip and it just adds a blank text file (0 bytes) called profile to the /system/bin folder. So I am not sure what the fix is?
**EDIT** Nevermind it is a dummy file meant to prevent the virus. Thanks to the OP for providing this.
http://www.androidpolice.com/2011/0...your-phone-steal-your-data-and-open-backdoor/
Nasty stuff. I would say this patch is high priority and I'm already going through my own ROMs to add it in.
http://forum.xda-developers.com/showthread.php?t=977154
Link above has info on creating the file manually.
Jim
fyi -
http://www.pcworld.com/article/221213/keep_malware_off_your_android_phone_5_quick_tips.html
Lookout mobile security . In case you cannot find it via the market.
http://www.getjar.com/Lookout-Mobile-Security-with-Antivirus
Edit. I just installed the lookout app to scan my tab, everything was fine and then, i un-installed it since it was running on the background and taking 10% of the cpu..
Anyways, a nice app that can be used to do a quick scan..
I don't have a stock gtab but I'll ask anyways... how can our stock rom users be protected? Is there an alternate method?
Edit just saw the manual process. Im guess that's the way to go.
xmr405o said:
I don't have a stock gtab but I'll ask anyways... how can our stock rom users be protected? Is there an alternate method?
Edit just saw the manual process. Im guess that's the way to go.
Click to expand...
Click to collapse
I'd curious to see what all the vendors are going to do about this. Granted, they could just say that the Market is not there, but regardless the security hole is still there and needs to be plugged up.
Hi,
I hope that this isn't too offtopic, but I was trying to create /system/bin/profile using a term and su, and when i went into root explorer to make /system/bin R/W, root explorer showed the dir as R/W already, and as mounted on /dev/loop9.
Is that normal?
I haven't installed dataloop, at least intentionally, so it seems strange that /system/bin would be mounted there, plus it being R/W by default?
FYI, I use z4root to get temp root. Could that be why /system/bin is R/W?
Then again, that wouldn't explain the /dev/loop9 mount ...
Jim
jimcpl said:
Hi,
I hope that this isn't too offtopic, but I was trying to create /system/bin/profile using a term and su, and when i went into root explorer to make /system/bin R/W, root explorer showed the dir as R/W already, and as mounted on /dev/loop9.
Is that normal?
I haven't installed dataloop, at least intentionally, so it seems strange that /system/bin would be mounted there, plus it being R/W by default?
FYI, I use z4root to get temp root. Could that be why /system/bin is R/W?
Then again, that wouldn't explain the /dev/loop9 mount ...
Jim
Click to expand...
Click to collapse
Hi,
Creating the profile file manually, it wouldn't persist,i.e., it was gone after rebooting, so I installed gojimi's zip usung CWM, and that worked.
I also did a mount w/o getting temp root, and /system/bin is not on /dev/loop9, so I'm guessing that when z4root sets temp root, it might be remounting /system/bin on /dev/loop9 itself.
Jim
You would have to download one of those sketchy apps to really be affected anyways, right? Who would do that?!
Appreciate the patch. This highlights the two problems with android though, google fixed this security issue in 2.2.2, but most carriers still haven't released that update. And the market needs some oversight, not authoritarian apple like, but some.
Sent from my T-Mobile G2 using XDA App
Is it possible to sticky this thread
Mods is it possible to sticky this thread so that it is easily visible.
Thanks
Hello guys. Is there a way to find out if our tablet is infected or not?
I mean if we have installed any of the apps in the list that automatically means that we are infected or not?
If infected what is preferred to do wipe the tablet or go back to stock rom??
Is there any manual for windows 7 noobies users?
Thanks.
Doctor LeVa said:
Hello guys. Is there a way to find out if our tablet is infected or not?
I mean if we have installed any of the apps in the list that automatically means that we are infected or not?
If infected what is preferred to do wipe the tablet or go back to stock rom??
Is there any manual for windows 7 noobies users?
Thanks.
Click to expand...
Click to collapse
Please read the thread completely, it is stated you can download lookout security to run a scan to see if you are infected.
downloading.....see what happens
There is a DroidDreamKiller app that allows you to check to see if you are already infected and install the patch. There is also a beta test app that gives you other information. Just search the market for DroidDreamKiller.
To devs: Thank You
TO Everyone else DO THIS ASAP
How do I flash the zip file after downloading it?
Thanks
Start cwm using volume up while powering on.
Once menu comes up select install zip using vol buttons
Use home to select.
Navigate to where you saved zip file
Select it with home button
Once install complete reboot from cwmod
MODs Please make this a sticky . It is being overlooked.
Background
I do not plan on flashing roms, I have a rooted note 3(900t) with knox at 0x0(want to keep it that way). I do not want to backup APKs or personal information.
Desire
I only want to make a backup of all of my critical system files necessary to do a soft reboot. So that in a worst case scenario I never have to worry about not being able to reset my phone.
Reason
I plan on editing files with a root explorer and using Xposed framework.
Hope this is a little more clear, thanks for the help!
7US said:
I have a rooted note 3 with a knox warranty of 0x0. I would like to make a full backup of any system files that could become corrupted so that I may restore them without tripping the knox. I do not care about backing up Apps(Actually prefer to manually install them as I need them), I have all of my APK files manually backed up. Additionally I want to install Xprivacy and Xposed framework but they always warn to do a full backup. I was playing around with ADB as well but that backup seems to be directed at Apps and Contacts which I don't care about. Would it be safe to just install Xposed framework and Xprivacy and rely on the factory reset? Or is there some method I should use of doing a complete system backup. Also how would I restore that backup? (preferably I would like to have a nice backup/recovery method that I know I can always restore from my computer in case somehow one of my system files get deleted) Thank you for your help. I like to edit my system files and I have no problem using the standard phone reset I am more worried about critical failures really just as a failsafe.
Click to expand...
Click to collapse
too long.
if i get right from this longe sentences;
u cannot backup knox counter.
u can make nandroid backup from ur system but knox counter will change its value.
:good:
x102x96x said:
too long.
if i get right from this longe sentences;
u cannot backup knox counter.
u can make nandroid backup from ur system but knox counter will change its value.
:good:
Click to expand...
Click to collapse
I fixed my original post, hope it is more clear for you.
I know I cannot backup my knox counter, which is why I do not plan on installing CWM.
I am new to the Android operating system and read many threads about different methods of backing up and restoring(CWM/Titanium Backup/etc) but they always seem to be centered around backing up APKs+Contacts or backing up Roms for Rom Flashing.
I am trying to understand what I need to backup to be safe to play around with my system files and Xposed and always be able to restore any damage that I may do.
So far I played around with ADB a little bit and saw some tutorials on how to do full backups through ADB but not for the note 3. Thanks for your help! I plan on experimenting and such on my own but first I want to make sure I have necessary backups to not worry about crippling the OS.
Perhaps a question within my question is.. What type of backup do I need? What files need to be preserved for me to be able to do a system reboot to restore the phone? Is it safe for me to be using Xposed without a backup and playing around with system files? Will the soft reboot restore these files? If not what needs to be backed up, that really is my question.
7US said:
I fixed my original post, hope it is more clear for you.
I know I cannot backup my knox counter, which is why I do not plan on installing CWM.
I am new to the Android operating system and read many threads about different methods of backing up and restoring(CWM/Titanium Backup/etc) but they always seem to be centered around backing up APKs+Contacts or backing up Roms for Rom Flashing.
I am trying to understand what I need to backup to be safe to play around with my system files and Xposed and always be able to restore any damage that I may do.
So far I played around with ADB a little bit and saw some tutorials on how to do full backups through ADB but not for the note 3. Thanks for your help! I plan on experimenting and such on my own but first I want to make sure I have necessary backups to not worry about crippling the OS.
Perhaps a question within my question is.. What type of backup do I need? What files need to be preserved for me to be able to do a system reboot to restore the phone? Is it safe for me to be using Xposed without a backup and playing around with system files? Will the soft reboot restore these files? If not what needs to be backed up, that really is my question.
Click to expand...
Click to collapse
instead of making backup of ur system files u can download a firmware of ur region!
if something goes wrong when u try to modifying then flash the stock rom.
however u can easily copy a file to another direction and then paste back to original if issue appears.
for example build.prop and etc.
and for ur firmware as i said u can make nandroid backup (thr s lots of tools in play.store for it that not need custom recovery) (if i say correctly!)
:good:
7US said:
Background
I do not plan on flashing roms, I have a rooted note 3(900t) with knox at 0x0(want to keep it that way). I do not want to backup APKs or personal information.
Desire
I only want to make a backup of all of my critical system files necessary to do a soft reboot. So that in a worst case scenario I never have to worry about not being able to reset my phone.
Click to expand...
Click to collapse
suggestion:
you could use safestrap.
it is based on the twrp custom recovery but it will not trip knox !
read the thread before using it. you have some more benefits using ss, you will see.
backup the system and data partition and you are safe.
please note that this will never backup the content of your internal storage like your music, videos ond so on.
just dont wipe/format your internal storage from recovery or if you feel you need to, copy the whole content to your pc first.
additional things to backup:
you might want to backup your efs and maybe your pit file too.
easy to find info on this forum.
if you want to read more about backing up via adb, directly to the pc then this thread is for you.
i made a backup of the whole memory block one time, just for the worst case...
basicly, you just need the required files, open 2 cygwin windows and copy and paste(right click) the commands from the first 2 codeboxes from the thread into that windows.
hope this helps
A.N.Droid said:
suggestion:
you could use safestrap.
it is based on the twrp custom recovery but it will not trip knox !
read the thread before using it. you have some more benefits using ss, you will see.
backup the system and data partition and you are safe.
please note that this will never backup the content of your internal storage like your music, videos ond so on.
just dont wipe/format your internal storage from recovery or if you feel you need to, copy the whole content to your pc first.
additional things to backup:
you might want to backup your efs and maybe your pit file too.
easy to find info on this forum.
if you want to read more about backing up via adb, directly to the pc then this thread is for you.
i made a backup of the whole memory block one time, just for the worst case...
basicly, you just need the required files, open 2 cygwin windows and copy and paste(right click) the commands from the first 2 codeboxes from the thread into that windows.
hope this helps
Click to expand...
Click to collapse
Very interesting! Reading the 2nd link made me think... could I even recover my files through ADB if I crippled my OS? Don't I need to boot into the device to even get to ADB? Or can I access ADB through the stock boot screen without CWM? Safestrap also looks very tempting. Also do you have a list of the note 3 partitions for me to make ADB backups I have been looking for them on Google and can't find them anywhere the Android file structure is a jungle to me especially how it varies from phone to phone.
7US said:
Very interesting! Reading the 2nd link made me think... could I even recover my files through ADB if I crippled my OS? Don't I need to boot into the device to even get to ADB? Or can I access ADB through the stock boot screen without CWM? Safestrap also looks very tempting. Also do you have a list of the note 3 partitions for me to make ADB backups I have been looking for them on Google and can't find them anywhere the Android file structure is a jungle to me especially how it varies from phone to phone.
Click to expand...
Click to collapse
i´m not sure for the stock recovery but from twrp you can use this adb backup method. i just did it a few days ago.
you must change the path in the commands from /system/xbin to /sbin and no need for su.
it should work from safestrap too but i couldn´t get adb to work, some error message was shown.
for the partitions:
system ,data, efs
and maybe modemst1 and modemst2
theres a full list of partitions and an interesting discussion about this topic on this thread.
I want to make a backup of my Android I9505 by copying all the files to my laptop.
I don't understand the directories
Using ES3 I see
/ Device (Which I guess is root.)
0
extSdCard
I assume that exdSdCard is (as it almost says) the external SD Card.
So what are "/" and
"0"
I guess I should back up all directories. What do you think?
webmanoffesto said:
I want to make a backup of my Android I9505 by copying all the files to my laptop.
I don't understand the directories
Using ES3 I see
/ Device (Which I guess is root.)
0
extSdCard
I assume that exdSdCard is (as it almost says) the external SD Card.
So what are "/" and
"0"
I guess I should back up all directories. What do you think?
Click to expand...
Click to collapse
Hi,
0 is your internalSD ( /storage/ emulated/0/ )
/ is root directory
If you just copy folder like that , yes you will make a copy of the folders and the data inside of them but it will not work to restore your system , for that you will need something like a Nandroid copy or use Titanium Backup to be re install after you restore your rom
webmanoffesto said:
I want to make a backup of my Android I9505 by copying all the files to my laptop.
I don't understand the directories
Using ES3 I see
/ Device (Which I guess is root.)
0
extSdCard
I assume that exdSdCard is (as it almost says) the external SD Card.
So what are "/" and
"0"
I guess I should back up all directories. What do you think?
Click to expand...
Click to collapse
You are WAY overthinking this.
Install custom recovery. Use it to make a Nandroid backup.
That's a single zip file that you can later use to restore everything in exactly the same state as it was the day you made the backup. (Takes all of 5 minutes.)
Then if you want to store that backup zip file on your PC you can easily copy it to the computer and store it there for as long as you need.
Your way of doing this will take a lot longer to copy the files and won't ultimately work to restore the system.
Skipjacks said:
You are WAY overthinking this.
Install custom recovery. Use it to make a Nandroid backup.
That's a single zip file that you can later use to restore everything in exactly the same state as it was the day you made the backup. (Takes all of 5 minutes.)
Then if you want to store that backup zip file on your PC you can easily copy it to the computer and store it there for as long as you need.
Your way of doing this will take a lot longer to copy the files and won't ultimately work to restore the system.
Click to expand...
Click to collapse
Using ROM Manager, I boot to Recovery mode. I only see
- Reboot system now
- apply update from ADB
- Apply update from external storage
- wife data/factory reset
- wipe cache partition
- apply update from cache
No Backup option.
webmanoffesto said:
Using ROM Manager, I boot to Recovery mode. I only see
- Reboot system now
- apply update from ADB
- Apply update from external storage
- wife data/factory reset
- wipe cache partition
- apply update from cache
No Backup option.
Click to expand...
Click to collapse
Hi ,
Then i guess you are 100% stock , no root , no Custom recovery?
if so then you need an app that does not need root to back up your app , Titanium is good but you need at least to be root.
MAX 404 said:
Hi ,
Then i guess you are 100% stock , no root , no Custom recovery?
if so then you need an app that does not need root to back up your app , Titanium is good but you need at least to be root.
Click to expand...
Click to collapse
I have Root and I use Titanium Backup.
webmanoffesto said:
I have Root and I use Titanium Backup.
Click to expand...
Click to collapse
you are root but you do not wish to install a Custom recovery or custom rom , right?
If so use titanium to make a back up of your apps , contacts , settings , email , sms ..etc etc
If you want to make a nandroid you need to install a Custom Recovery
Just install a custom recovery.
It won't affect the operation of the ROM at all if you're completely happy with the stock rom.
Root and Recovery are mutually exclusive things. One has nothing to do with the other. Each exists independently of the other.
Skipjacks said:
Just install a custom recovery.
It won't affect the operation of the ROM at all if you're completely happy with the stock rom.
Root and Recovery are mutually exclusive things. One has nothing to do with the other. Each exists independently of the other.
Click to expand...
Click to collapse
+1
I backed up everything with titanium backup in kitkat and then wiped and flashed lollipop !
I used newest version that is compatible with android 5.0!
then tried to restore my apps but ...
after restore, all of the restored apps crashing! aaaalllll....!!!!!
also tried clear cash and data but crashing anyway!
anybody else tried that?
any idea what should I do?
hrh_fourtyseven said:
I backed up everything with titanium backup in kitkat and then wiped and flashed lollipop !
I used newest version that is compatible with android 5.0!
then tried to restore my apps but ...
after restore, all of the restored apps crashing! aaaalllll....!!!!!
also tried clear cash and data but crashing anyway!
anybody else tried that?
any idea what should I do?
Click to expand...
Click to collapse
not trying things without assuming would be my first suggestion
oh and asking in only one place on forums (Q&A)
instead of two different threads in general section
How did you guys attain root?
hrh_fourtyseven said:
I backed up everything with titanium backup in kitkat and then wiped and flashed lollipop !
I used newest version that is compatible with android 5.0!
then tried to restore my apps but ...
after restore, all of the restored apps crashing! aaaalllll....!!!!!
also tried clear cash and data but crashing anyway!
anybody else tried that?
any idea what should I do?
Click to expand...
Click to collapse
Chainfire talked about this problem in his thread for CF AUTO ROOT, try wiping everything, do not restore the backup yet, and wait till the new SUPERSU update is released, probably by tomorrow, then restore and report back.
hunter2k said:
How did you guys attain root?
Click to expand...
Click to collapse
CF Auto root
aguarello said:
Chainfire talked about this problem in his thread for CF AUTO ROOT, try wiping everything, do not restore the backup yet, and wait till the new SUPERSU update is released, probably by tomorrow, then restore and report back.
Click to expand...
Click to collapse
really?! supersu?! im talking about titanium backup!
chainfire:
"There's a race condition between SELinux policy reloads between SuperSU and Samsung's security service.
That is why on one reboot you'll have root while you won't on another.
This was an expected case during development, but there was no way to test it. There is now. SuperSU will be updated ASAP with a fix."
tnx anyway
hrh_fourtyseven said:
CF Auto root
really?! supersu?! im talking about titanium backup!
chainfire:
"There's a race condition between SELinux policy reloads between SuperSU and Samsung's security service.
That is why on one reboot you'll have root while you won't on another.
This was an expected case during development, but there was no way to test it. There is now. SuperSU will be updated ASAP with a fix."
tnx anyway
Click to expand...
Click to collapse
Soo you're not rooted?
Restore WITHOUT DATA restoring with app data causes crashes on a few KK roms and ALL 5.0 ROM's I've tried CM12, fusion ETC
hunter2k said:
How did you guys attain root?
Click to expand...
Click to collapse
Try this
http://forum.xda-developers.com/showpost.php?p=57151905&postcount=248
Could this be to do with Art runtime which is default in lollipop (not sure if s5 lollipop is)
http://forum.xda-developers.com/showthread.php?t=2463116
aguarello said:
Soo you're not rooted?
Click to expand...
Click to collapse
sure I am!
but chainfire never said that!
paintball23456 said:
Restore WITHOUT DATA restoring with app data causes crashes on a few KK roms and ALL 5.0 ROM's I've tried CM12, fusion ETC
Click to expand...
Click to collapse
yea working without data but I use titanium just for data! apps can be reinstalled but data is important
anyway should be a way to convert data to new format!
silentattack said:
Try this
http://forum.xda-developers.com/showpost.php?p=57151905&postcount=248
Click to expand...
Click to collapse
so what is this?!!!
danieljamie said:
This fix solves force close issues with restoring apps with data in Titanium Backup.
This operation recursively fixes all SElinux file markers in /data/data, which are spoiled by titanium during data restore. (Quote from vodkinagdan)
User vodkinagdan found this solution:
Simply execute this from the terminal emulator:
su
restorecon -R -v /data/data
This has to be done after every restore (or batch of restores).
I take no credit for this but it works!
vodkinagdan has sent fix to Titanium Track.
Click to expand...
Click to collapse
stevendeb25 said:
http://forum.xda-developers.com/showthread.php?t=2463116
Click to expand...
Click to collapse
restorecon -R -v /data/data command does not work!
stevendeb25 said:
danieljamie said:
This fix solves force close issues with restoring apps with data in Titanium Backup.
This operation recursively fixes all SElinux file markers in /data/data, which are spoiled by titanium during data restore. (Quote from vodkinagdan)
User vodkinagdan found this solution:
Simply execute this from the terminal emulator:
su
restorecon -R -v /data/data
This has to be done after every restore (or batch of restores).
I take no credit for this but it works!
vodkinagdan has sent fix to Titanium Track.
Click to expand...
Click to collapse
I even tried this:
su
mount -o rw,remount /system/ /system/
restorecon -R -v /data/data
restorecon -R -v /system
mounting and the last line work but restorecon of data does not work!!
Click to expand...
Click to collapse
I cant find any option for switching to dalvik !
is it possible at all?
I want dalvik to test titanium again
hrh_fourtyseven said:
I cant find any option for switching to dalvik !
is it possible at all?
I want dalvik to test titanium again
Click to expand...
Click to collapse
since 5.0 runs on ART there is no way to switch back
This is a problem with SELinux context on restored apps data. TB won't set it right so apps with restored data are force closed. Se context is set to "u: object_r:system_data_file:s0", but needs to be "u: object_r:app_data_file:s0".
This happening not only with android 5.0, but with android 4.3 and above, where SELinux was introduced. Normally this should be fixed by running this command from root shell on the phone: "restorecon -v -R /data/data"/
But on SM-G900F Polish rom I tnink restorecon is broken (it is crashed - segfaults), so I have to set security context instead of reset.
This can be done either by chcon command in shell, or by using Root Explorer's "change SE context" (+ option "also set on all sub-folders and files") on all folders of restored apps data. You should choose "select context from list" and then select "u: object_r:app_data_file:s0". Do not set context to this value for the whole folder "data", some subfolders needs to have a different security context!
xxakep said:
This is a problem with SELinux context on restored apps data. TB won't set it right so apps with restored data are force closed. Se context is set to "u: object_r:system_data_file:s0", but needs to be "u: object_r:app_data_file:s0".
This happening not only with android 5.0, but with android 4.3 and above, where SELinux was introduced. Normally this should be fixed by running this command from root shell on the phone: "restorecon -v -R /data/data"/
But on SM-G900F Polish rom I tnink restorecon is broken (it is crashed - segfaults), so I have to set security context instead of reset.
This can be done either by chcon command in shell, or by using Root Explorer's "change SE context" (+ option "also set on all sub-folders and files") on all folders of restored apps data. You should choose "select context from list" and then select "u: object_r:app_data_file:s0". Do not set context to this value for the whole folder "data", some subfolders needs to have a different security context!
Click to expand...
Click to collapse
I dont know why,but when I go to android/data , most of the folders are empty(just files and cache folders and both are empty)!
I tried to restore some apps+data and tried to change Se contexts of them(empty folders and non empty folders!) and force close again!
maybe I should change another thing! any Idea?
The only thing that works on Titanium is uninstall, nor backup, nor freeze, nor restore work
Other than I am very happy with Lollipop :good:
hrh_fourtyseven said:
I dont know why,but when I go to android/data , most of the folders are empty(just files and cache folders and both are empty)!
I tried to restore some apps+data and tried to change Se contexts of them(empty folders and non empty folders!) and force close again!
maybe I should change another thing! any Idea?
Click to expand...
Click to collapse
What do you mean by "android/data"? Applications have their data in /data/data (you should go in Root Explorer to root folder, then select folder "data" and in folder "data" select subfolder "data" again), each in their subfolder. On each folder that relate to your restored apps (you could check it by app name - like com.amazon.kindle etc) you should change SE context to what I have told in previous post.
I have already restored over 300 applications from 4.4.2 with TB and after this action all of them are worked without a force close.
I used Helium works much better than ****ty TB