Apps Force Close after Titanium Batch Restore - Galaxy Note II General

hi Guys,
I know this is not a developer thread. however posting this over here so everyone can get help from this.
I always keep flashing ROMs and that too I always do a clean install of roms. However, sometimes after installing rom I do restore of my user apps with data using Titanium backup but sometime I face issue that all the apps after restoring start force closing. If I re-download the apps then they are working fine but I need my appdata.
I came acroos one of the thread where @danieljamie has mentioned a fix for it and it worked like a charm for me. Hope this helps to you as well.
After batch restoring data using Titanium Backup, execute the below commands in terminal
Code:
su
restorecon -R -v /data/data
Reason provided by @mohit141785
Its due to the selinux enforcing status of stock kernels. either you can flash a custom kernel of just download tbrestore fixer from play store.
Playstore link for TBRestore Fixer - click here
Click to expand...
Click to collapse
Cheers,
erpurohit

erpurohit said:
hi Guys,
I know this is not a developer thread. however posting this over here so everyone can get help from this.
I always keep flashing ROMs and that too I always do a clean install of roms. However, sometimes after installing rom I do restore of my user apps with data using Titanium backup but sometime I face issue that all the apps after restoring start force closing. If I re-download the apps then they are working fine but I need my appdata.
I came acroos one of the thread where @danieljamie has mentioned a fix for it and it worked like a charm for me. Hope this helps to you as well.
After batch restoring data using Titanium Backup, execute the below commands in terminal
Code:
su
restorecon -R -v /data/data
Cheers,
erpurohit
Click to expand...
Click to collapse
Its due to the selinux enforcing status of stock kernels . either you can flash a custom kernel of just download tbrestore fixer from play store.

Just use TB Restore fixer
https://play.google.com/store/apps/details?id=com.viper.tbrestorefixerfree
Fix after restore

mohit141785 said:
Its due to the selinux enforcing status of stock kernels . either you can flash a custom kernel of just download tbrestore fixer from play store.
Click to expand...
Click to collapse
vuralemre said:
Just use TB Restore fixer
https://play.google.com/store/apps/details?id=com.viper.tbrestorefixerfree
Fix after restore
Click to expand...
Click to collapse
Thanks guys, I too got the above app information today only so thought of sharing it with all the newbie over here.
I will get the @mohit141785, comment added to OP.

Good information here, however the General section would be more suited for this as it's intended to give tips instead of for actively developing anything.

erpurohit said:
Thanks guys, I too got the above app information today only so thought of sharing it with all the newbie over here.
I will get the @mohit141785, comment added to OP.
Click to expand...
Click to collapse
Thankyou so much bro for posting it here i was already looking something like this....this always happens to me on phantom rom and tbrestore fix is not working for me everytime...will try this soon

mohit141785 said:
Its due to the selinux enforcing status of stock kernels . either you can flash a custom kernel of just download tbrestore fixer from play store.
Click to expand...
Click to collapse
Link not working. Can you please give the link.
Thanks in advance

Related

How to on back Busybox on Froyo... need advise.

Hi, need advise on how to on back Busybox on Froyo?
I try Paul pre-rooted Froyo and also the Cyanogen one but I still facing problem mention that Busybox is not install when I opening up the MetaMorph Pro.
Anyway to solved this issue?
I can't use the MetaMorph as it keep prompting me I don't have Busybox install.
Apprieciate all help, thanks.
I thought Metamorph needs to get updated for Froyo? That's what I've been reading on here.
Anyway, I would've suggested what you already tried but you could also try Titaiunm Backup which lets you download Busybox.
Abbsta said:
I thought Metamorph needs to get updated for Froyo? That's what I've been reading on here.
Anyway, I would've suggested what you already tried but you could also try Titaiunm Backup which lets you download Busybox.
Click to expand...
Click to collapse
K Thanks, I assume the Metamorph is not working but I do seen people success morph the status bar on Froyo at below:
http://forum.xda-developers.com/showthread.php?t=618853&page=142
Andrewtst said:
Hi, need advise on how to on back Busybox on Froyo?
I try Paul pre-rooted Froyo and also the Cyanogen one but I still facing problem mention that Busybox is not install when I opening up the MetaMorph Pro.
Anyway to solved this issue?
I can't use the MetaMorph as it keep prompting me I don't have Busybox install.
Apprieciate all help, thanks.
Click to expand...
Click to collapse
After using Modaco Paul's 2.2 update, I still had root but no BusyBox, so I wasn't able to run Titanium Backup. I flashed Cyanogen's "Quick Rooter" here: http://forum.xda-developers.com/showthread.php?t=686627
After that, I was able to launch Titanium Backup just fine.
You said you've already done this, so I'm not sure what could be the problem.
A) Did you use the "Stock kernel" or the "Tweaked kernel"?
B) Can you run Titanium Backup successfully? If so, it could be an issue with Metamorph.
@Paul22000:
You could have just hit the problems button in Titanium and it would dl Busybox for you. That's how I fix it earlier when I was running Froyo.
@Andrew:
What's been reported is that the old Metamorph (with thm file) works but not the new one.
Paul22000 said:
After using Modaco Paul's 2.2 update, I still had root but no BusyBox, so I wasn't able to run Titanium Backup. I flashed Cyanogen's "Quick Rooter" here: http://forum.xda-developers.com/showthread.php?t=686627
After that, I was able to launch Titanium Backup just fine.
You said you've already done this, so I'm not sure what could be the problem.
A) Did you use the "Stock kernel" or the "Tweaked kernel"?
B) Can you run Titanium Backup successfully? If so, it could be an issue with Metamorph.
Click to expand...
Click to collapse
I never try the titanium yet, I try the stock kernel, shall I try the tweaked one as I don't want pershoot .34 kernel yet due to unmount issue and video camera issue.
Actually I not ready need the metamorph, I just need a semi transparent status bar with clock and date white font which work on Froyo. (I don't might need flash via RA-Recovery as long as it working)
Abbsta said:
@Paul22000:
You could have just hit the problems button in Titanium and it would dl Busybox for you. That's how I fix it earlier when I was running Froyo.
@Andrew:
What's been reported is that the old Metamorph (with thm file) works but not the new one.
Click to expand...
Click to collapse
Oh ok, thanks
did anyone find a solution to this ? on samsung galaxy s with froyo jp6 i get this error ,have tried 3 different versions of busybox but metamorph still reports that busybox is missing
sry double posted

Those with failing Super USer I have a 3.0 APK

Well guys im going to upload the apk i got from some post on here somewhere but it worked for me.
Just uninstall the current SU and then " INSTALL " this one. No rebooting required...
Also not my liability. I haven't noticed anything bad or out of normal. It works for me
you mean install that one. I don't see a flashable zip.
dottat said:
you mean install that one. I don't see a flashable zip.
Click to expand...
Click to collapse
Lol Thanks I fixed it. It is a installable apk.
how do you uninstall superuser
Rashadbrandon said:
how do you uninstall superuser
Click to expand...
Click to collapse
First of all, if Superuser works for you and you have root privileges and root apps work this wouldn't apply to you.
Well, first I would go to Settings, Applications, Manage Applications, and look for Superuser.
If it is not there, then you might have to dig into ADB commands. Or just reflash ROM.
Sent from my PC36100 using xda premium
Help Cannot uninstall Superuser
How do i uninstall superuser
Rashadbrandon said:
How do i uninstall superuser
Click to expand...
Click to collapse
Go to the applications list and choose uninstall on super user.
Or go to the market go to my apps and then find super user click it and select un install.
From there install the 3.0 SU that I have listed and it should work for your device (varies among devices and roms).
YOU DO NOT NEED TO REFLASH ANYTHING. Just re install and it should work . It is what worked for me.
This is super frustrating it does not give me that option i guess i need to root again even though it say S if Off
Rashadbrandon said:
This is super frustrating it does not give me that option i guess i need to root again even though it say S if Off
Click to expand...
Click to collapse
Download the APK and use astro or similar to browse to your download folder and find the apk and click and use app manager to install it.
OK I got it Thanks everyone.
Rashadbrandon said:
OK I got it Thanks everyone.
Click to expand...
Click to collapse
as always everyone is welcome including you. Thanks for the thanks.
cmsjr123 said:
Well guys im going to upload the apk i got from some post on here somewhere but it worked for me.
Just uninstall the current SU and then " INSTALL " this one. No rebooting required...
Also not my liability. I haven't noticed anything bad or out of normal. It works for me
Click to expand...
Click to collapse
Works great for me on Supersonic3D RC1.2-[10/14/2011]-Sense 3.5
Thank you for the apk.........

Superuser problem!

Ok so I flashed glite but I can't uninstall superuser. I have superuser elite and want to use that but I cannot find a way to delete the regular version. Also, when I uninstall and reinstall it works fine but after reboot elite no longer works and it's back to the regular version then uninstall reinstall etc... so what do I do to fix this problem. I even converted elite to a system app lol which didn't work.
No one can help me with this one?
Bump
Dont know why you have to delete the regular version as when you open elite and update it,I get a message saying on next boot will hide the su icon,I only have one su icon,which is the elite one,didnt have to manually delete anything,also from time to time I get the message that my su binary is out of date,let it update it and Im all good again,you seem to be having alot of problems at the moment.
What do you mean converted elite to a system app?
That was my experience before, now I so that and on reboot it goes back to the regular one every time! It's frustrating!
maybe you try it with titanium backup?
warp2 said:
maybe you try it with titanium backup?
Click to expand...
Click to collapse
Yea it isn't in the apps list for tb or apps manager
im using the beta 3.0-4 but nothing shows in the logs anyone else having this problem
Yea tried everything you can think of, uninstalling with tb making elite a ROM app, manually deleting it from tb and by mounting rw, nothing works for me, it's hard coded to repropagate with reboot
Bump still there

Cm14 otterx

It looks like Hashbang is working on bringing Nougat to the OtterX
https://www.androidfilehost.com/?w=files&flid=110844 :good:
Yep, it's booting and pretty much everything is functional now.
Hi
I tried the cm-14.0-20161003-UNOFFICIAL-otterx after a full wipe, and am getting constant com.android.phone has stopped messages.
I tried clearing
rm -fr /data/data/com.android.providers.telephony/
rm -fr /data/data/com.android.phone/
which seems to have worked in other cases , but not here.
trying the cm-14.0-20160920-UNOFFICIAL-otterx now
Any advice?
-----------
edit: loaded the 0920 and pico gapps, no issues at all with the com.android.phone, seems very good. Thanks!
Thanks for your providing these
Hashbang173 said:
Yep, it's booting and pretty much everything is functional now.
Click to expand...
Click to collapse
Bravo! Late to see but you made OtterX immortal. Too bad mine doesn't work anymore 
 @a.cid we need a blog post.
It's mainly the work of hashcode. I mainly fixed a couple of things and picked some commits to add compatibility with otterx (I've pushed these commits to CM gerrit and they were merged a while ago, so no more commits need to be picked when building otterx).
mikeataol said:
Hi
I tried the cm-14.0-20161003-UNOFFICIAL-otterx after a full wipe, and am getting constant com.android.phone has stopped messages.
-----------
edit: loaded the 0920 and pico gapps, no issues at all with the com.android.phone, seems very good. Thanks!
Thanks for your providing these
Click to expand...
Click to collapse
I have cm-14.0-20161003-UNOFFICIAL-otterx.zip installed with pico gapps but I'm getting constant com.android.phone has stopped messages.
I will try 0920 and report back.
OK no stopped messages on 0920 but this ROM has lots of lag.
Any way to speed it up?
luisenriquereyes said:
I have cm-14.0-20161003-UNOFFICIAL-otterx.zip installed with pico gapps but I'm getting constant com.android.phone has stopped messages.
I will try 0920 and report back.
OK no stopped messages on 0920 but this ROM has lots of lag.
Any way to speed it up?
Click to expand...
Click to collapse
To possibly fix the com.android.phone fc messages, try to freeze or uninstall the phone package as this device isn't a phone so it likely won't make a difference (although I could be mistaken). To speed it up, download kernel adiutor and then put low memory killer on "Very Aggressive". Next enable developer options in settings by tapping on the build number a bunch (if you are able to flash a ROM I assume you know the process). Go to developer options and turn animations down to 0 for everything. Next, try to stop any apps running in the background on boot etc...
rjmxtech said:
Uninstall or freeze the phone package?
Click to expand...
Click to collapse
re: com.android.phone....
I'd love to disable it but there doesn't appear to be a discrete app called com.android.phone in /app or /priv-app.
I recall in the Éclair era there was, but I haven't located it in this 14.1 environment....
mikeataol said:
re: com.android.phone....
I'd love to disable it but there doesn't appear to be a discrete app called com.android.phone in /app or /priv-app.
I recall in the �clair era there was, but I haven't located it in this 14.1 environment....
Click to expand...
Click to collapse
My age must be showing lel. All jokes aside let me check and I will get back to you.
On that build, does it allow you to even boot up and use apps? I see a few packages that are part of system containing "phone" in Titanium Backup so it must be there somewhere.
rjmxtech said:
My age must be showing lel. All jokes aside let me check and I will get back to you.
On that build, does it allow you to even boot up? I see a few packages that are part of system containing "phone" in Titanium Backup so it must be there somewhere.
Click to expand...
Click to collapse
well, I Think there's a newer release anyway that doesn't have the issue.
https://www.androidfilehost.com/?w=files&flid=110844
I fired up my Kindle OtterX, and its using a later build (cm-14.1-20161105-UNOFFICIAL-otterx.zip) that I don't remember having any issues installing, but
I must have installed and put the Kindle to the side.
mikeataol said:
well, I Think there's a newer release anyway that doesn't have the issue.
https://www.androidfilehost.com/?w=files&flid=110844
I fired up my Kindle OtterX, and its using a later build (cm-14.1-20161105-UNOFFICIAL-otterx.zip) that I don't remember having any issues installing, but
I must have installed and put the Kindle to the side.
Click to expand...
Click to collapse
@mikeataol I found the package
To remove it delete "TeleService.apk" in /system/priv-app/TeleService/
---------- Post added at 07:50 PM ---------- Previous post was at 07:44 PM ----------
mikeataol said:
well, I Think there's a newer release anyway that doesn't have the issue.
https://www.androidfilehost.com/?w=files&flid=110844
I fired up my Kindle OtterX, and its using a later build (cm-14.1-20161105-UNOFFICIAL-otterx.zip) that I don't remember having any issues installing, but
I must have installed and put the Kindle to the side.
Click to expand...
Click to collapse
Going to test the latest build in a bit, I am basing this knowledge off of a Marshmallow ROM on my nexus 6, but I think it should be somewhat similar anyway. I will see if the com.android.phone package is the same (or there at all) when I get the Kindle all fired up with the newer build.
mikeataol said:
well, I Think there's a newer release anyway that doesn't have the issue.
https://www.androidfilehost.com/?w=files&flid=110844
I fired up my Kindle OtterX, and its using a later build (cm-14.1-20161105-UNOFFICIAL-otterx.zip) that I don't remember having any issues installing, but
I must have installed and put the Kindle to the side.
Click to expand...
Click to collapse
So I could be going crazy, but after installing the latest build (1105) even without gapps, every time I try to select the language for cyanogenmod it says the settings app has force closed on me and I cannot get past that screen. Any ideas?
rjmxtech said:
So I could be going crazy, but after installing the latest build (1105) even without gapps, every time I try to select the language for cyanogenmod it says the settings app has force closed on me and I cannot get past that screen. Any ideas?
Click to expand...
Click to collapse
Oh, y...
in TWRP, mount /system
advanced / file manager
remove CyanogenSetupWizard from system/priv-app
mikeataol said:
Oh, y...
in TWRP, mount /system
advanced / file manager
remove CyanogenSetupWizard from system/priv-app
Click to expand...
Click to collapse
Lol thanks
So.... is everything functional?
WiFi, Bluetooth, Location, Good battery life, Google Play store?
Can I ask what recovery everyone is using to install these cm-14 roms
Sent from my Pixel using Tapatalk
So excited to see 7.1 on here. I had issues with installing as well (TWRP 3.0.0), so I changed the install script directories to match those in CM13 and it seemed to install fine.
The problem I'm running into is low memory. Once it boots I have about 3MB free, which leads to crashes to the desktop and soon a reboot. Is the RAM supposed to be compressed or is there still more optimization that needs to be done?
Keyboard issues
My keyboard won't show up on any of the builds. Any suggestions?
Hi there!
It's been a while since i was using this tablet but here we are. I want to use it without PlayStore, just for reading so i want it to ask if this CM14 Build is working well or recommend me a solid Otterx ROM.
I don't know if this is legit... https://www.androidfilehost.com/?fid=312968873555011561
But according to that link, there is a CM14.1 build from 11/05. is it safe to flash ? What Gapps ?
Thanks in advance.
GIL0802 said:
Hi there!
It's been a while since i was using this tablet but here we are. I want to use it without PlayStore, just for reading so i want it to ask if this CM14 Build is working well or recommend me a solid Otterx ROM.
I don't know if this is legit... https://www.androidfilehost.com/?fid=312968873555011561
But according to that link, there is a CM14.1 build from 11/05. is it safe to flash ? What Gapps ?
Thanks in advance.
Click to expand...
Click to collapse
yes the build is fine. If you don't need PlayStore than you don't need any gapps...
see the posts above about removing the CM setup program while in recovery before launching the rom on first boot.

I try to delete bloat system apps but they keep coming back

I installed this rom:
https://forum.xda-developers.com/axon-7/development/rom-slm-version-t3704143
(I wanted an android 7 stock rom - not MIFavor - but incredibly I couldn't find it)
after that, I tried to remove with Titanium Backup many system apps that I didn't want, like Mi Assistant, Es file explorer, Z-backup, an app with russian characters which I have no idea what it does, an app with chinese characters which I have no idea what it does, etc.), but the problem is that they keep coming back even after removing them with Titanium Backup :| this has never happened to me before, and I have no idea how to solve this.
Try this zip. Backup before flash.
https://drive.google.com/file/d/1HVaIpyizIBmp65snGpbUDFYkvkfW4-JG/view?usp=drivesdk
thanks for the suggestion, but it didn't work: first I tried with this method, then I installed the zip you provided, but again it didn't work.
As before, if I uninstall system apps via Titanium Backup, and then reboot the device, the apps are still there.
Ficus* said:
thanks for the suggestion, but it didn't work: first I tried with this method, then I installed the zip you provided, but again it didn't work.
As before, if I uninstall system apps via Titanium Backup, and then reboot the device, the apps are still there.
Click to expand...
Click to collapse
In TWRP's terminal do
Code:
reboot disemmcwp
If that doesn't work do it from your computer with
Code:
adb reboot disemmcwp
I tried exactly as you said, but again it didn't work. I unistalled apps with titanium backup, they disappear, then I reboot and the apps are again there :'(
Apart from that the phone works perfectly (the root remains, xposed works, etc.) so I have no idea why this is happening
Oh I have a a2017g and I dont' have Magisk, if that changes anything.
just a quick update, I have already installed busybox 1.21.1, and if i try to update it to 1.27.2 with busybox app from play store, nothing happens/changes.
edit2: I even try to install the "dm-verity and forced encryption disabler zip" listed here, but again it didn't work.
Ficus* said:
I tried exactly as you said, but again it didn't work. I unistalled apps with titanium backup, they disappear, then I reboot and the apps are again there :'(
Apart from that the phone works perfectly (the root remains, xposed works, etc.) so I have no idea why this is happening
Oh I have a a2017g and I dont' have Magisk, if that changes anything.
just a quick update, I have already installed busybox 1.21.1, and if i try to update it to 1.27.2 with busybox app from play store, nothing happens/changes.
edit2: I even try to install the "dm-verity and forced encryption disabler zip" listed here, but again it didn't work.
Click to expand...
Click to collapse
Try Magisk. AFAIK with Magisk you can make changes to system without actually modifying system, so it might work.
Ficus* said:
(I wanted an android 7 stock rom - not MIFavor - but incredibly I couldn't find it)
Click to expand...
Click to collapse
Could you explain this? You were looking for LineageOS maybe?
To be able to delete apps you should get a computer with ADB, connect your phone, then from the computer issue "adb reboot disemmcwp". Doing this from TWRP or a terminal emulator doesn't work
Ficus* said:
I installed this rom:
https://forum.xda-developers.com/axon-7/development/rom-slm-version-t3704143
(I wanted an android 7 stock rom - not MIFavor - but incredibly I couldn't find it)
after that, I tried to remove with Titanium Backup many system apps that I didn't want, like Mi Assistant, Es file explorer, Z-backup, an app with russian characters which I have no idea what it does, an app with chinese characters which I have no idea what it does, etc.), but the problem is that they keep coming back even after removing them with Titanium Backup :| this has never happened to me before, and I have no idea how to solve this.
Click to expand...
Click to collapse
Don't use Titanium to remove the apps.if you have run the above command to disable write protection, download mxplorer or any root explorer and go into the folder and delete them. For some reason Titanium doesn't delete them properly
I was having the same problem with with all the b13 roms. The b13 bootstack it the problem for me. What phone model are you using? If you are on the U model trying installing the b32 bootstack by drakenfx. That's how I solved that problem. I am not sure on the g model though.
thanks again for your help! in the end since I couldn't figure it out, I decided to factory reset everything and start from scratch with Magisk and LineageOS. With them I succesfully managed to delete system apps with titanium backup. now i have only a small issue with adblocker, but i will create a new topic as the problem is different from the one i talked about here.
Choose an username... said:
Could you explain this? You were looking for LineageOS maybe?
Click to expand...
Click to collapse
yeah I wasn't really clear. I was looking for an android vanilla experience, and then add gravity box to personalize it. however i am quite happy with lineageos, so i just may stick with it. only issue is that i couldn't find dark theme for drawer/settings, but i will look into it.
Ficus* said:
thanks again for your help! in the end since I couldn't figure it out, I decided to factory reset everything and start from scratch with Magisk and LineageOS. With them I succesfully managed to delete system apps with titanium backup. now i have only a small issue with adblocker, but i will create a new topic as the problem is different from the one i talked about here.
yeah I wasn't really clear. I was looking for an android vanilla experience, and then add gravity box to personalize it. however i am quite happy with lineageos, so i just may stick with it. only issue is that i couldn't find dark theme for drawer/settings, but i will look into it.
Click to expand...
Click to collapse
i think you're using the stock system, a.k.a. MiFavor. LineageOS is the vanilla android experience you wanted, that's why I mentioned it.
I'm attaching a few screenshots

Categories

Resources