[FIX] CM12 Install from sdcard Application not installed error - Nexus 5 General

I got this error I searched a lot before I found the solution. I'll post it here in case some people needs it.
I've just installed CM12 nightly and when I tried to install an APK from my SDCARD, I got an "Application Not Installed" error without any error number.
"unknown source" is turned on in the security setting.
Tried via ADB install and got: [INSTALL_FAILED_CONTAINER_ERROR].
Logcat was showing:
Code:
E/Vold ( 109): Error creating imagefile (Read-only file system)
E/Vold ( 109): ASEC image file creation failed (Read-only file system)
W/Vold ( 109): Returning OperationFailed - no handler for errno 30
The solution was to go to Settings -> Applications -> Menu -> Preferred install location
And change "Let the system decide" to "Internal device storage".
Everything is working fine now.
Hope it will help some others !

I dont have this option under settings -> apps. Please hlep

JoJo2211 said:
I dont have this option under settings -> apps. Please hlep
Click to expand...
Click to collapse
Post a screenshot of your Settings > Apps screen.

also need help, cant install apks, and i dont have this option in settings/apps, please help

Hey, No Preferred Install Location, Please Help.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
---------- Post added at 10:11 PM ---------- Previous post was at 10:03 PM ----------
Primokorn said:
Post a screenshot of your Settings > Apps screen.
Click to expand...
Click to collapse
I cannot upload any images , they dont allow me to

I know it's been a while, but I want to add to this thread in case someone else comes across it and is having a similar issue. Based on what I've pieced together, this is what's happening. CM12 did away with the option to select the default install location for apps. This used to be under Settings -> Apps -> 3-dot overflow menu.
Now, that option is gone and in the background CM12 has set the default install location to be "Let the system decide." Of course when the apps are large enough, it wants to move them to the SD card and that becomes a problem when the device does not have an SD card or is out of space.
This bug also affects some large apps from the Amazon appstore and no amount of cache or data clearing and rebooting is going to resolve it. The simple and only solution I ever found, was to somehow tell the system to install all apps to "Internal storage." Otherwise you'll see a lot error codes 907 and 963 along with the dreaded "Application is not installed" message.
Since we don't have the option to do so via the menu we have to do it via a terminal emulator or adb. I believe they both require root, but I could be wrong on that one. The code would be as follows:
Code:
adb shell
su
pm set-install-location 1
Obviously skip the first line if you're entering into a terminal emulator. I hope this helps those who are still running into this bug that still rears its ugly head from time to time. Cheers.

Related

Integrate your Box.Net account into Windows Explorer

This was done on Windows XP. If you have Windows 7, there are further instructions at the bottom of this post.
I saw a post somewhere that gave me a tip on the web address to use, but I forgot where the post was, so unfortunately I can't give them credit. The process they spelled out didn't work, but I did get it working later.
This will integrate your Box.net account into Windows Explorer for easier access. Note that this does not mean that all the files saved there are also saved on your computer, it only gives explorer access to them.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Right click "My Computer" and select "Map Network Drive".
Choose a Drive Letter and type "\\www.box.net\dav" without the quotes.
Type your E-Mail and your Password
If you are using Windows 7, Thanks to str8upx for supplying the following instructions for you:
Windows Explorer Integration [Windows 7 Instructions]
[Hopefully this Should apply to any OS just find "add network location"]
Open Computer
Right Click - Add Network Location
Choose a Custom Network Location - Next
Enter: \\box.net\dav
User Name Enter: your box email address
Password Enter: your box password
Thats it. You now have Read/Write Access to all your Files & Folders in windows explorer
cool
maybe ill check this out when i get home
Windows Explorer
For read and write integration do this
Windows Explorer Integration [Windows 7 Instructions]
[Hopefully this Should apply to any OS just find "add network location"]
Open Computer
Right Click - Add Network Location
Choose a Custom Network Location - Next
Enter: \\box.net\dav
User Name Enter: your box email address
Password Enter: your box password
Thats it. You now have Read/Write Access to all your Files & Folders in windows explorer
i cant get this to work . is it down or what?
edit nm. idk what was up i rebooted my system now it works. weird.
I had trouble mapping a drive too, it just kept rejecting my username and password. I found that logging out of the box.net webpage and logging back in, it asked me to complete a captcher on the first login after changing my password. After doing that I was able to map the drive with no problems.
i have the same problem here in mapping network drive....
network path not found!
I keep getting an error message saying "The network path \\box.net\dav could not be found." Any suggestions?
you miss the Great WWW mate
Well BlaznAzyn, I think you miss the WWW in front of the link. so the right link is
\\ www . box . net \ dav

[Tutorial] Steps to install 65xx preloader Driver in Windows 8 / 8.1 for Android One

[Tutorial] Easy Steps to install An 65xx preloader Driver in Windows 8 / 8.1
Here is what I figured and did to get around it.
First, press win + I to launch the charm bar, and click Change PC Settings at the bottom.
Then, go to General, and scroll to the bottom of the page, click Restart Now button under Advanced Startup section. Remember to save all your work first before clicking it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[Note that on Windows 8.1, the Advanced Startup option has moved to Update and recovery section under Recovery]
The computer reboots to a startup menu, in which click Troubleshoot.
And click Advanced Options at next screen.
Choose Startup Settings next,
And click Restart button.
The computer reboots and prompts another menu to choose. One of the items is to Disable driver signature enforcement. Press number 7 or F7 to continue booting to Windows 8 with digital sign enforcement disabled.
And then I was able to get the Windows Security warning window offering me to install this driver anyway.
I would suggest changing the UAC settings first to see if the Install Anyway window prompts out. The solution showing off in this post should be the last resort to try out. And make sure the driver you are about to install is safe, though not digitally signed.
Extract the USB_VCOM_Driver.rar file and leave it
After that Open Device Manager and leave it open!
Switched off your phone remove battery connect now on the PC, you should now see a MT65xx preloader in the Device Manager.
Right click on that and install/update drivers show the path where you extract the folder and click Done.
Now you can restore or flash firmware using SP Flash Tool...............
Happy Flashing..
Also check my work on Google boot logo thread
http://forum.xda-developers.com/can...ot-logo-google-boot-logo-android-one-t2892147
MT65xx preloader in the Device Manager is not showing up I'm on windows 8.1 it gives continuous sounds connect disconnect nothing happening .. ??

[Q] Can't get MTP to work

Hi,
I have been trying to connect my Nexus 6 to my work pc but I just can't get the MTP file copying mode to work properly. I have used the latest Google USB driver and actually it's not so bad. With USB Debugging turned ON, I see "Android Deivce > Android ADB Interface" properly installed in device manager. I even see my phone's serial no. when I type "adb devices" in command prompt. BUT the bloody MTP mode just refuses to work. It keeps showing up in Device Manager as "Other devices" > MTP, with a question mark next to it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
When I switch USB debug off, there's no Android ADB Interface, and the unknown MTP entry in "other devices" transforms to "Nexus 6", again with a question mark next to it.
I have tried to manually install the proper driver but for starters, if I just select the folder where the .inf files are located Windows don't seem to anything inside it and when I force it to use that file ("Show All Devices > Have Disk") it only shows ADB and Bootloader drivers:
So what am I suppose to choose there in order for MTP to work as it should?
Have you tried other pc or laptop??
Yes, the phone shows up correctly in all modes on my home pc.
Just for giggles you ought to download the Nexus toolkit and let it go find the drivers it thinks it needs to work. afterwards you could just delete the tool. http://www.wugfresh.com/nrt/
Sent from my Google N6 on VZ
DebianDog said:
Just for giggles you ought to download the Nexus toolkit and let it go find the drivers it thinks it needs to work. afterwards you could just delete the tool. http://www.wugfresh.com/nrt/
Sent from my Google N6 on VZ
Click to expand...
Click to collapse
I did that to no success but in the end, I just tried a different USB2.0 port and it worked, all drivers installed correctly. Now the weird thing is I can read from the internal memory of the phone, I can delete stuff from it, but when I try to copy something to it it says: "Error copying. The device has either stopped responding or has been disconnected" so I can't yet copy to it. This is driving me crazy right now...
I have this issue this morning. Right click and Update Drivers > Browse For Drivers > Let me pick > Portable Devices > Standard MTP Device > MTP Device.

Disable System Update ?

Last night I downgraded from B360 to B185 . Everything is very good but I always get some notification about the new B360 version which I downgraded from . I disabled system update notifications , cleared data/cache , disabled access to Phone , internet , wi-fi and etc . And after all that I still get update screen to allow update to use phone permissions and etc . I want to disable/remove system update . Is it possible without root ?
yes..
you can skip skip at the Setup screen (after clean flash or full wipe).. and cut the Internet once posible.
Then go to System, System Update 3 poinst above and Update settings. Then: Dissable Auto update and AutoDownload over Wifi.
And you will be let alone.
gxg said:
yes..
you can skip skip at the Setup screen (after clean flash or full wipe).. and cut the Internet once posible.
Then go to System, System Update 3 poinst above and Update settings. Then: Dissable Auto update and AutoDownload over Wifi.
And you will be let alone.
Click to expand...
Click to collapse
That worked . Thanks a lot !
Revengebg said:
That worked . Thanks a lot !
Click to expand...
Click to collapse
You're welcome.
But frankly ... I'll let Oreo for a while. One new update is on the way.. and also .. I belive soon 8.1 will come.
rooted device
if you users want to stop the system update notification u just need an rooted phone and this tool
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
murasio3 said:
if you users want to stop the system update notification u just need an rooted phone and this toolView attachment 4744084
Click to expand...
Click to collapse
Hi. What's the tool name please?
I feel like smashing the phone every morning.
Is there a way to disable system update without root yet? I cant find package disabler on the app store. I have a note 8 . Can somone pplease help
You don't need root nor TWRP.
You must enable hidden Developer options in Settings, and enable there ADB debugging over USB.
Install ADB on the PC - search on XDA for Minimal ADB and Fastboot tool
Use the adb command from PC
Code:
adb shell pm disable-user com.huawei.android.hwouc
In Settings, Apps, enable Show system services and you will see that System update is disabled - when you want it back, just enable
Use apps like AppInspector or DevCheck (from Playstore) to find package name for any (system) app you want to disable
zgfg said:
You don't need root nor TWRP.
You must enable hidden Developer options in Settings, and enable there ADB debugging over USB.
Install ADB on the PC - search on XDA for Minimal ADB and Fastboot tool
Use the adb command from PC
Code:
adb shell pm disable-user com.huawei.android.hwouc
In Settings, Apps, enable Show system services and you will see that System update is disabled - when you want it back, just enable
Use apps like AppInspector or DevCheck (from Playstore) to find package name for any (system) app you want to disable
Click to expand...
Click to collapse
It works for now.
Huawei P30 PRO.
Thank you.

The Optimizer Repeatedly Deletes My .apk Files

I have encountered the same problem described in this post.
I have a P30 pro with EMUI 12. I have turned off "auto-clear junk" switch in Optimizer but it still operates auto-clear.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I saved some .apk files in the storage for backup. Each time the auto-clear finished, I found my .apk files disappeared.
I can't directly modify the storage permission of Optimizer.
I tried revoke storage permission in ADB
Code:
adb shell pm revoke com.huawei.systemmanager android.permission.WRITE_EXTERNAL_STORAGE
but got an error.
I contacted Huawei customer service. They replied that this was an prototype device and they couldn't help.
Although I can uninstall this app via ADB, I'm not sure whether it will cause system instability.
Is there any way to protect .apk files in phone storage except for uninstalling Optimizer?
wak3 said:
I have encountered the same problem described in this post.
I have a P30 pro with EMUI 12. I have turned off "auto-clear junk" switch in Optimizer but it still operates auto-clear.
View attachment 5933703
I saved some .apk files in the storage for backup. Each time the auto-clear finished, I found my .apk files disappeared.
I can't directly modify the storage permission of Optimizer.
View attachment 5933717
I tried revoke storage permission in ADB
Code:
adb shell pm revoke com.huawei.systemmanager android.permission.WRITE_EXTERNAL_STORAGE
but got an error.
View attachment 5933733
I contacted Huawei customer service. They replied that this was an prototype device and they couldn't help.
Although I can uninstall this app via ADB, I'm not sure whether it will cause system instability.
Is there any way to protect .apk files in phone storage except for uninstalling Optimizer?
Click to expand...
Click to collapse
yes their is a way i am not sure if it will work but go to setting and go to apps their will be admin apps or something and many special apps access just turn off everything and another way is to install another anivirus software like (AVG,Avast ) and when they take control it is next to impossible to delete anything with your permission .
Hope u liked it pls like and follow me
Never happened to me. Optimizer only deletes cache and junk files automatically
Must be a setting you messed with...

Categories

Resources