Hi, I have a spice stellar mi 500. i tried rooting the phone which worked fine and then I tried removing some of the system apps like Rail yatra,, facebook, dhingana. i was able to remove them and then i finally booted my device. Since then I am getting the error "unfortunately system UI has stopped working" I am not able to open apps or receive calls. the system hangs. not even able to unroot the phone now as any apps will hang. even the control bar does not slide from the top. I am screwed. I have tried factory reset several times. in all different ways like from with system recovery or android settings. but i guess i am out of luck. can someone help me. :crying::crying::crying::crying::crying::crying::crying::crying:
depanakar said:
Hi, I have a spice stellar mi 500. i tried rooting the phone which worked fine and then I tried removing some of the system apps like Rail yatra,, facebook, dhingana. i was able to remove them and then i finally booted my device. Since then I am getting the error "unfortunately system UI has stopped working" I am not able to open apps or receive calls. the system hangs. not even able to unroot the phone now as any apps will hang. even the control bar does not slide from the top. I am screwed. I have tried factory reset several times. in all different ways like from with system recovery or android settings. but i guess i am out of luck. can someone help me. :crying::crying::crying::crying::crying::crying::crying::crying:
Click to expand...
Click to collapse
You have most probably messed the systemUI.apk which is located in /system/app or files associated with it. Did you remove any other apk's in which you weren't sure what it does?
In this case, Factory reset won't work because it just wipes user data and /system partition remains in tact. The nearest possible thing to do is to flash a stock ROM if exists or copy the deleted apk's borrowing from some one else's phone and place those apk's in /system/app partition setting the correct permission.
I remember exactly what I deleted. I I uninstalled Dhingana.com, Facebook and Rail yatra. I cannot start third party apps though I can install them. So I am not sure how to place the systemUI.apk in the directory /system/app. Can it be done through inbuilt file manager?
depankar said:
I remember exactly what I deleted. I I uninstalled Dhingana.com, Facebook and Rail yatra. I cannot start third party apps though I can install them. So I am not sure how to place the systemUI.apk in the directory /system/app. Can it be done through inbuilt file manager?
Click to expand...
Click to collapse
Nope, I guess not possible through default file manager. You have to use ES File Explorer File Manager or Root Explorer to place it in /system/app and change its permissions to rw-r-r.
coolsandie said:
Nope, I guess not possible through default file manager. You have to use ES File Explorer File Manager or Root Explorer to place it in /system/app and change its permissions to rw-r-r.
Click to expand...
Click to collapse
it get an error when i try yo copy the file to \system\app\. the error is copy failed. i am doing this with supersu previelege using esexplorer
coolsandie said:
Nope, I guess not possible through default file manager. You have to use ES File Explorer File Manager or Root Explorer to place it in /system/app and change its permissions to rw-r-r.
Click to expand...
Click to collapse
I tried replacing systemUI.apk to \system\app folder using esexplorer but i got error. error: copy failed.
is there a possibility I can get hold of a stock rom and flash it using update from SD card. the default android update manager?
depankar said:
I tried replacing systemUI.apk to \system\app folder using esexplorer but i got error. error: copy failed.
is there a possibility I can get hold of a stock rom and flash it using update from SD card. the default android update manager?
Click to expand...
Click to collapse
Make sure you've mounted the /system partition as R/W before attempting to Copy or setting permissions.
coolsandie said:
Make sure you've mounted the /system partition as R/W before attempting to Copy or setting permissions.
Click to expand...
Click to collapse
now how do i do that ? sorry for my questions.
Related
In older versions of prime, I used to be able to use root explorer to remove applications from /system/app, and they would disappear from the tray. Lately, when I try to delete them using root explorer, they disappear when I hit delete, but they are still in the menu, and still fully functional.
I really despise having facebook on here (they just added it to the rom), and the other bloat that came with it, but not can't seem to remove it. Anyone know how?
compywiz said:
In older versions of prime, I used to be able to use root explorer to remove applications from /system/app, and they would disappear from the tray. Lately, when I try to delete them using root explorer, they disappear when I hit delete, but they are still in the menu, and still fully functional.
I really despise having facebook on here (they just added it to the rom), and the other bloat that came with it, but not can't seem to remove it. Anyone know how?
Click to expand...
Click to collapse
Have you tried using Titanium Backup to uninstall the app after you have removed it from the system/app folder?
Mark.
mskip said:
Have you tried using Titanium Backup to uninstall the app after you have removed it from the system/app folder?
Mark.
Click to expand...
Click to collapse
It appeared to work using Titanium. Does this mean it may be a root explorer bug? I guess I'll try downgrading to an older version of RE. I am not a big fan of titanium.
Tried a known working version of root explorer with no luck. I guess something changed in the rom or superuser which is preventing it from working properly.
compywiz said:
Tried a known working version of root explorer with no luck. I guess something changed in the rom or superuser which is preventing it from working properly.
Click to expand...
Click to collapse
If you remove the app from /system/app also delete the associated dalvik executable file from /data/dalvik-cache. This should kill the app.
Roach2010 said:
If you remove the app from /system/app also delete the associated dalvik executable file from /data/dalvik-cache. This should kill the app.
Click to expand...
Click to collapse
I tried deleting the executable file as well, but still no luck.
Turns out it seems to be more than just the apps, I tried removing the bootanimation from /system/media with no luck. It's like I don't have r/w access.
compywiz said:
I tried deleting the executable file as well, but still no luck.
Turns out it seems to be more than just the apps, I tried removing the bootanimation from /system/media with no luck. It's like I don't have r/w access.
Click to expand...
Click to collapse
This is probably a stupid question but did you make sure the folder was Mounted to R/W (and checking it sayds R/W at the top) via the button at the top of Root Explorer before attempting to delete the file?
Mark.
mskip said:
This is probably a stupid question but did you make sure the folder was Mounted to R/W (and checking it sayds R/W at the top) via the button at the top of Root Explorer before attempting to delete the file?
Mark.
Click to expand...
Click to collapse
It's ok, thanks for trying to help. Root explorer pops up a message if you try to delete something in R/O mode saying "... cannot be deleted because the file system is read-only."
It also seems to be working now, no idea why. Maybe a reboot did the trick. The files I remove from /system/app are now disappearing from the menu.
Still unsure on the boot animation though, is that still stored in /system/media/bootanimation.zip?
compywiz said:
It's ok, thanks for trying to help. Root explorer pops up a message if you try to delete something in R/O mode saying "... cannot be deleted because the file system is read-only."
It also seems to be working now, no idea why. Maybe a reboot did the trick. The files I remove from /system/app are now disappearing from the menu.
Still unsure on the boot animation though, is that still stored in /system/media/bootanimation.zip?
Click to expand...
Click to collapse
Yes bootanimation is still stored in /system/media/
compywiz said:
It's ok, thanks for trying to help. Root explorer pops up a message if you try to delete something in R/O mode saying "... cannot be deleted because the file system is read-only."
It also seems to be working now, no idea why. Maybe a reboot did the trick. The files I remove from /system/app are now disappearing from the menu.
Still unsure on the boot animation though, is that still stored in /system/media/bootanimation.zip?
Click to expand...
Click to collapse
Yes but if you're on Prime 2.0.3, there's one in data/local
Anything bootanimation in data/local will over ride the one in system/media.
compywiz said:
It's ok, thanks for trying to help. Root explorer pops up a message if you try to delete something in R/O mode saying "... cannot be deleted because the file system is read-only."
It also seems to be working now, no idea why. Maybe a reboot did the trick. The files I remove from /system/app are now disappearing from the menu.
Still unsure on the boot animation though, is that still stored in /system/media/bootanimation.zip?
Click to expand...
Click to collapse
Yes it is.
If you copy your new bootanimation.zip file to /data/local then it will look for it there first (before looking in system/media) and load up the new file. Tested it and it works fine using Root Explorer to copy the file across but just make sure the file is made specifically for the Transformer.
Mark.
Thanks guys!
I want to replace existing calculator, with the one I used on my old phone (stock one SUX ASS).
I got it from rom I used on old phone (.apk file), but when I try to install it, it says I cannot, because there already is an existing system app with same name.
I have "disabled" existing calculator, but didnt have chance to uninstall it.
Stock rom, rooter phone.
Any way how to install calc app I want?
use root uninstaller or just delete/replace the apk file in /system/app
WCCobra said:
use root uninstaller or just delete/replace the apk file in /system/app
Click to expand...
Click to collapse
I use root browser
Failed to uninstall application
Failed to delete application
Failed to copy application (when trying copy my app over old app)
is /system mounted as read/write?
WCCobra said:
is /system mounted as read/write?
Click to expand...
Click to collapse
tnx, it was Read only.
I have a OnePlus One CM11 rooted.
I read a post here:
http://forum.xda-developers.com/showthread.php?t=2064859&highlight=deleted
And therefore I "played" a little bit with my phone with those things:
1) \System\priv-app\ContactsProvider.apk
2)ContactsStorage from Setting ->Apps->All->ContactsStorage
Somehow I ended up with the situation that:
1)ContacsStorage does not appear at the apps list.
2)The directory \data\data\com.android.provider.contacts have disappeared.
I want to reinstall\flash the ContactsStorage app.
I know that reinstalling the rom will fix it, but I'm trying to avoid it.
Do you know of any other way I can do it?
Extract it from your ROM zip. Copy back to it's original location with a file manager (Root Explorer), set permissions and reboot.
davebugyi said:
Extract it from your ROM zip. Copy back to it's original location with a file manager (Root Explorer), set permissions and reboot.
Click to expand...
Click to collapse
I don't have my rom zip (This is the rom that came installed).
But returning the original backup apk and rebooting did not do the job
barak91 said:
I don't have my rom zip (This is the rom that came installed).
But returning the original backup apk and rebooting did not do the job
Click to expand...
Click to collapse
Then you are doing spmething wrong. What do you use to move? Is system set to R/W? permissions set? Same folder?
davebugyi said:
Then you are doing spmething wrong. What do you use to move? Is system set to R/W? permissions set? Same folder?
Click to expand...
Click to collapse
Attached screenshots.
barak91 said:
Attached screenshots.
Click to expand...
Click to collapse
The problem that the apk is vanishing after reboot is not a permission issue. Try a better file manager (in my case Root Explorer never fails). Mount system as R/W and do the rest.
davebugyi said:
The problem that the apk is vanishing after reboot is not a permission issue. Try a better file manager (in my case Root Explorer never fails). Mount system as R/W and do the rest.
Click to expand...
Click to collapse
The apk is NOT vanishing, it stays there.
The app of ContactsStorage is vanished from the apps list permanently.
As well as the folder in \data\data of com.android.providers.Contacts.
The option to sync google contacts is gone as well.
barak91 said:
The apk is NOT vanishing, it stays there.
The app of ContactsStorage is vanished from the apps list permanently.
As well as the folder in \data\data of com.android.providers.Contacts.
The option to sync google contacts is gone as well.
Click to expand...
Click to collapse
Did you make sure to also put the odex file in the folder as well?
Heisenberg said:
Did you make sure to also put the odex file in the folder as well?
Click to expand...
Click to collapse
I don't know what the odex file is.
I did not back the odex file so I do not know if it's the original, but there is a ContactsProvider.odex in there.
It took me a while to figure out that the bast**ds had built in the malware in the firmware, with the launcher. Phone is rooted, and I have changed the launcher. But I can't delete the malware apks inside system/app.
They are named as com.google.hardware.ext0.apk, and another similarly named (android air, and measure too)..
Problem is, I can't delete them, I tried using ES File Explorer (yes, root is enabled. I can delete, change other files in system/app but for this) I am denied permission!!
Then I tried the terminal emulator.. after getting SU.. tried deleting them using RM and then 'busybox rm..' both failed. What to do? How to delete the f****ng malware files??
(If I switch on the WiFi, malware automatically downloads more crap, then I can't even switch off Wifi and Data! Hence I formatted the phone and have not entered any sim or wifi settings... but I can't delete the damn files!! Any suggestions please?? Going crazy here)
regards
If you could install a custom recovery to flash a zip that delete this app...
Try a Root System App Deleter or, boot in recovery mode and remove it via ADB
I tried installing it with both Flashify and Magisk, but both methods failed.
When I tried installing it via the included Xposed Installer, it also failed, but gave me the message:
> Error: Xposed_Framework.jar already exists in /system/framework
I'm guessing a previous installation failed, but left the file there.
My next idea is to delete that file from /system/framework and try again, but since it's in an RO directory I don't have permission.
I tried using a terminal emulator to mount the drive in rw mode, and also tried using a root file explorer, but either both methods don't work, or I just couldn't figure it out.
Anyone have an idea of how to remove or rename that file so I can try to install the .zip ?
-Thanks
Highfiverobot said:
I tried installing it with both Flashify and Magisk, but both methods failed.
When I tried installing it via the included Xposed Installer, it also failed, but gave me the message:
> Error: Xposed_Framework.jar already exists in /system/framework
I'm guessing a previous installation failed, but left the file there.
My next idea is to delete that file from /system/framework and try again, but since it's in an RO directory I don't have permission.
I tried using a terminal emulator to mount the drive in rw mode, and also tried using a root file explorer, but either both methods don't work, or I just couldn't figure it out.
Anyone have an idea of how to remove or rename that file so I can try to install the .zip ?
-Thanks
Click to expand...
Click to collapse
In the Xposed app you should be able to just run the uninstaller script. If that doesn't work, boot TRWP and delete it from there.
D3RP_ said:
In the Xposed app you should be able to just run the uninstaller script. If that doesn't work, boot TRWP and delete it from there.
Click to expand...
Click to collapse
Unfortunately, the uninstaller also fails.
It says it can't remove that file from a read only directory..
Highfiverobot said:
Unfortunately, the uninstaller also fails.
It says it can't remove that file from a read only directory..
Click to expand...
Click to collapse
flash installer or uninstaller through TWRP
wmcdrugs said:
flash installer or uninstaller through TWRP
Click to expand...
Click to collapse
Root Explorer....
This app does wonders, it allows you to modify directories in /system and other root folders. You can even change permissions of specific folders/files from read/write/read-only....etc. I've had this app since the earliest of android days and it has been my go to file explorer. Root Explorer of course requires root....but it completely unlocks your phone and allows you to modify any system file that is set to any permission. Of course there are other file explorers that allow you to modify system files, but this is the one that i have the most experience with. You should be able to access the system folder where the Xposed file remains and modify it so it can fix your problem.
djer34 said:
Root Explorer....
This app does wonders, it allows you to modify directories in /system and other root folders. You can even change permissions of specific folders/files from read/write/read-only....etc. I've had this app since the earliest of android days and it has been my go to file explorer. Root Explorer of course requires root....but it completely unlocks your phone and allows you to modify and system file that is set to any permission. Of course there are other file explorers that allow you to modify system files, but this is the one that i have the most experience with. You should be able to access the system folder where the Xposed file remains and modify it so it can fix your problem.
Click to expand...
Click to collapse
This!. I've used it for years. Not muss no fuss. It's not bloated like a certain couple others I know of. It just does what it does and does it well. Manages files. No extra garbage.Give it a try. I'd be surprised if you can't delete it with Root Explorer. If you do try it, go to the folder you want to delete the file from. Once in there, look at the top right of the screen. Somewhere up there It will say MOUNT R/W. Touch that and you should be able to do whatever you want to within that folder.
Do you have the magisk DNSCrypt module installed? If so, thats why you cant modify anything in /system. Not sure why or how it breaks it, but it does. Took me for ever to figure out what was causing it. Now that i removed the module, i can modify anything i want again.
Sent from my [device_name] using XDA-Developers Legacy app