Reset error when deleting app in priv-app folder of HTC 10 evo (Android 7.0 Stock) - HTC Bolt / 10 Evo Questions & Answers

My HTC 10 evo has Unlock Bootloader and Root by Super Su. I use Root Expoler to remove the default App in the Priv-app folder, such as TouchPal_SmartSeach, the self-reset and restart the error message Reset due to large Request.
While I can uninstall Google Duo, Google Music, Google Play Video normally.
Only after uninstalling TouchPal_SmartSeach app in priv-app is the machine is reset but not delete the app TouchPal_ SmartSeach. Can I show you how to delete the TouchPal SmartSeach?

Related

Issues reinstalling original apps

******
EDIT:
I figured I would try copying them all back at once and it worked. All bloatware apps are back up and running. No clue why it did not work when I did it one at a time... User error no doubt
******
I am trying to unroot and restoring my phone back to original, I need to return it for a replacement.
I removed the bloatware using "root explorer" I "moved" the apk and odec from system/app to sdcard/backup. Rebooted the bloatware appeared to be gone. I had no problems with the phone.
I tried doing this in reverse. In root explorer I copied and pasted the files back to system/app and rebooted the phone. the apps were not back and system/app did not show the files I had just pasted in the folder.
I also tried installing them via root explorer from sd/backup and installing them after c&p them back to system/app. Both times I got the same message that I was replacing an app and the app failed to install.
I have also tried c&p with droid explorer with no luck. The files disappear from system/app on reboot.
any ideas? Would a settings>privacy>factory reset, restore all of the bloatware? then I would just need to unroot the phone?

Application not installed error (root explorer)

I am trying to install APK's that I deleted. I moved the copied APK's from the SD card to the system/App file and tried to install through root explorer but I keep getting error (application not installed)? I have reset permissions and tried again but same error, any help?
For future reference?
If u want to change for example the camera app /apk you have to place the new apk where the old one was instead of installing ...if thats your problem ^^
Sent from my HTC HD2 using XDA Premium App
System APK's or APK's in use (loaded at startup) cannot be installed, you would have to copy and paste, or push the file to the location which would overwrite the old one if the file name is the same.

adding app to a rom before flashing

moving app from data/app to system/app free app space but some app after move don't work (google goggles, setcpu, gosms, an more), so i take the apk and put into rom (oxygen 2.1.3) inside system/app folder, flashed and restarted, but they still not work
what i'm doing wrong?
sorry for bad english
I'm not an expert but I believe they also have to have the right permissions. Check what permissions the other apps in the system partition have and change the permissions on the apps you're trying to move accordingly.
Sent from my VM670 using XDA App
permissions are the same rw-r--r-- in data/app and remain rw-r--r-- in system/app
but for example when i move with rootexplorer "setcpu" at restart i have a force close and i can't use it
with "go sms" no force closes i can read messages but when i write a new one tapping on "+" to show phone book to select peope the app go in loop searching for contacts
with a widget for check credit on my phone i can't add widget if moved to system/app
i tryed other app like google goggles, google earth all give a force close at startup and not work until remove to data/app
moving ephinefrine, flash 10.3 , adobe reader, winamp and many other give no error and app still work correctly
Try extracting the apk and putting the lib.(whatever it says).so file into system / lib folder . Then put the original apk in the system / apps folder. And that should do it!
Sent from my HTC Vision using XDA Premium App

Debloating - Went One Step Too Far

Rooted, stock, 4.4.2 and I went one step too far manually debloating my Note3. I've always used QuickPic for images so I removed SecGallery2013.apk and .odex from /system/priv-app folder. Now I find that Gallery is tied to both the Camera and Contact apps. (ie. it won't let me use QuickPic for adding Contact images).
Reinstalled .apk and .odex files to /priv-app folder, but Gallery not showing up in Apps screen. Titanium doesn't see it either, and camera complains "Unable to open app: com.sec.android.gallery3d is disabled". Perhaps I need to reinstall another Samsung component which I may have removed in my zeal to own my Note3?
Fixed
Never mind, it was incorrect permissions. All OK now.

How to correctly move app into /system/priv-app

I'm trying to find a way to move an app from /data/app to /system/priv-app correctly. I'm on Oreo 8.1.0 with January 5, 2018 security patches. I'm rooted with Magisk v16.0.
I've tried using ES File Explorer to move it manually and apply correct permissions. I've tried using Lucky Patcher and Titanium Backup Pro to move it. With the manual move and Lucky Patcher, the app disappears (icon/shortcut is shaded out and doesn't work). With Titanium Backup, it starts the processing and sits with "Processing" forever.
Does anyone know of a way to move the app to system correctly?
What app are you trying to do it for? The most efficient way that I've found is to...
1. Install the app normally.
2. Find the app within /data/app/ and copy the folder to your internal storage
3. Uninstall the app
4. Copy and paste the folder either into /system/app/ or /system/priv-app/
5. Reboot and see if it works
---------- Post added at 05:32 PM ---------- Previous post was at 05:32 PM ----------
What app are you trying to do it for? The most efficient way that I've found is to...
1. Install the app normally.
2. Find the app within /data/app/ and copy the folder to your internal storage
3. Uninstall the app
4. Copy and paste the folder either into /system/app/ or /system/priv-app/
5. Reboot and see if it works
Edit: It would seem that XDA is lagging for me. Excuse the double post, lol.
jvnat said:
I'm trying to find a way to move an app from /data/app to /system/priv-app correctly. I'm on Oreo 8.1.0 with January 5, 2018 security patches. I'm rooted with Magisk v16.0.
I've tried using ES File Explorer to move it manually and apply correct permissions. I've tried using Lucky Patcher and Titanium Backup Pro to move it. With the manual move and Lucky Patcher, the app disappears (icon/shortcut is shaded out and doesn't work). With Titanium Backup, it starts the processing and sits with "Processing" forever.
Does anyone know of a way to move the app to system correctly?
Click to expand...
Click to collapse
If you mount system in TWRP, you can use file explorer in advance setting to move any file anywhere. No need to set any permissions. Just reboot. Been doing that for while now. No problems at all.
I use root explorer,install app normal .got to data/app.copy to system/privapp.then go back to data/app delete the app,then reboot.
Thanks for all the suggestions. I'll give those methods a go.
I am trying to install an app in /system/priv-app and the app is not showing up in Settings -> Apps even with "Show system" selected.
This is on Google HTC Nexus 9 (flounder) Android 7.1.1 Security patch level October 5, 2017. I used TWRP to remount the root filesytem rw and move the app. I am trying to install com.incorporateapp.fakegps_route-1.
I installed the app from the Google Play store and copied it from
/data/app/com.incorporateapp.fakegps_route-1
to
/system/priv-app/com.incorporateapp.fakegps_route-1
The directory and all files and subdirectories are owner and group root.root. The permissions on the directory and files and subdirectories look correct. The com.incorporateapp.fakegps_route-1 directory is 755.
The directory and files are look to be correctly placed on the file system under /system/app-priv. I've checked multiple times. The app does not show up in System -> Apps even if "Show system" is selected. I understand that Android is supposed to find the new app in priv-app on boot and install it. That does not seem to be happening. Any other suggestions? Are there log files on boot I can check for error messages? Any help is appreciated.
TIA.
I have the same issue. When I move the fakegps app from data/app to system/priv-app then I have no icon to select the application from the home screen.
even after a reboot.
anybody knows how to get back the fakegps icon to be able to start the application?
If you guys are using Magisk root, I've found a module called App Systemizer which through a simple command line interface is able to convert apps you pick and choose from a list of installed ones on your phone to convert into system apps. Then when updates occur I use titanium backup's "integrate system dalvik into app" feature (it hangs so you have to force close it but it does the job) reboot and it's done.
The raw copy/paste way which has been described here has messed up my phone once or twice, and gave me a message on boot that "My phone has been corrupted or something along those lines and to contact the manufacturer".
TaZeR369 said:
If you guys are using Magisk root, I've found a module called App Systemizer which through a simple command line interface is able to convert apps you pick and choose from a list of installed ones on your phone to convert into system apps. Then when updates occur I use titanium backup's "integrate system dalvik into app" feature (it hangs so you have to force close it but it does the job) reboot and it's done.
The raw copy/paste way which has been described here has messed up my phone once or twice, and gave me a message on boot that "My phone has been corrupted or something along those lines and to contact the manufacturer".
Click to expand...
Click to collapse
App systemizer just grants the app the status "system app"(likely through linking and granting permissions). It in no way moves it to the system partition.
Ive come to the same realization after running into some questionable free space on my /system Hehe. I copy the APK using TWRP now seems to do the trick.
TaZeR369 said:
Ive come to the same realization after running into some questionable free space on my /system Hehe. I copy the APK using TWRP now seems to do the trick.
Click to expand...
Click to collapse
what version of android can you get, I'm not getting on android 10 can you help me?
Above method didn't worked for me. Below worked perfectly and is safe:
1. Install the app as usual.
2. Copy the app folder from /data/app to internal storage
3. Uninstall the app and reboot to recovery
4. Copy the app folder from internal storage to /system/priv-app folder (If you don't see system folder then you need to mount "system" partition in recovery first)
5. Give permissions to app folder (for all 9 checkboxes), reboot. Enjoy
Anyone else unable to see the folder with the app they moved after a reboot? I want to de-systemize, but I can't now.
I took the folder for the app I want to systemize and moved it from data/app to system/priv-app. Then rebooted. The app is now systemized (can't uninstall it, only disable) But the folder no longer exists under PRIV-APP.
I've done this many times with other apps and I've never seen this problem. Is it because I moved the entire folder and didn't rename it?
After reboot the folder can no longer be found under system/priv-app OR data/app. The app is still installed as a system app. Where is the folder with the app?
Running Android 9. Pixel 3.
I have come across a very strange phenomena on Galaxy M12. When I install an app as user it exists in /data/app forder in a weird way. The folders in /data/app are like ~~h8DR1aXXIZfV_DXfqwYf3g== (see attachment) and in these folders there is another folder with the app package name. On regular devices I hvae seen app package folder in /data/app itself.
When I copy the app package folder from /data/app/~~h8DR1aXXIZfV_DXfqwYf3g== to /system/app it does not work. I can see the app folder after reboot or even reset but app in not installed on the system. I have confirmed by running the activity using 'am' and tried listing with 'pm'. I have also given same permissions as other app folders in /system/app. I have also tried /system/app~~h8DR1aXXIZfV_DXfqwYf3g==.
Edit: As it turns out when I am copying to /system/app the base.apk is not copied properly. I have tried it multiple time, the system is mounted. Whatever I do it is either 0 kb or 100 kb exactl and the file is ~6mb. Still strange behaviour.

Categories

Resources