File System Issues - Sony Xperia Z Ultra

I really need some assistance in understand this issue that i'm experiencing on my new XZU phone (not even 2 weeks old!).
I seem to be getting some odd file system issues wherein certain files which are supposed to be in a certain location (OBB folder) suddenly disappear. I've been researching and the general idea is that this is an Android KitKat issue but I posted here on the hopes finding a solution to this problem.
Some pointers regarding on what happened (note: phone is not ROOTED):
1. Installed game like Plants vs Zombies 2 (legit) and the OBB files were correctly placed on the OBB directory.
2. I also purchased Comic Rack full edition which seems to have created a Storage/Emulated directory on the root of my internal drive when creating a comic folder.
-- Initially i made the mistake of deleting this folder which deleted my whole file system (both internal and external sds). I already did a factory reset after this issue, but the obb movement issue as mentioned above still happened.
---- I noticed that some of the Comic files added by Comic rack through wifi syncing are added on the directory in the emulated section i.e (Storage/Emulated/SDCARD/0/Comics/) instead of just Comics/ . However using the android file explorer and the desktop windows explorer shows different files/locations.
------- I'm mentioning the Comic Rack issue because i suspect this might be related to the missing obb due to the folder linking/mirroring system for android (i only read about it so please don't quote me on this)
3. Uninstalling PVZ2 removes the game from the apps list but the files are still accounted for in the storage. Using clean master does not detect these missing files and using other File explorers doesn't show any other directories that may have these files.
4. I read on google that the files might be on Root/Media/SDcard/something but i can't access this directory due to file permission (unrooted)
5. Redownloading the PVZ2 data files, simply puts back the missing files and makes the game work again. However i am not sure until when the issue can or will happen again.
Would anyone be able to explain this issue? or better, if there is a solution? Thanks

How the fudge did you modify the system files and folders in / direction if you are not rooted????
App data are and can be located in these directories
/data/data/
/data/dalvik-cache/
/storage/emulated/android/obb/
/storage/emulated/android/data/
=== if you have an memory card inserted ===
/storage/sdcard1/android/obb/
/storage/sdcard1/android/data/
=== if you have an memory card inserted ===
If you have root permissions. Look in these folders for traces of the app you have issues with and delete any related files. Reboot.
Other common methods is also to reboot in to recovery and clear cache and clear dalvik cache then reboot to system.
But without root permissions or a recovery I don't see many options for you than do than flash a .ftf file which includes the whole stock rom. If that works on locked bootloader...can't remember by now.

SÜPERUSER said:
How the fudge did you modify the system files and folders in / direction if you are not rooted????
App data are and can be located in these directories
/data/data/
/data/dalvik-cache/
/storage/emulated/android/obb/
/storage/emulated/android/data/
=== if you have an memory card inserted ===
/storage/sdcard1/android/obb/
/storage/sdcard1/android/data/
=== if you have an memory card inserted ===
If you have root permissions. Look in these folders for traces of the app you have issues with and delete any related files. Reboot.
Other common methods is also to reboot in to recovery and clear cache and clear dalvik cache then reboot to system.
But without root permissions or a recovery I don't see many options for you than do than flash a .ftf file which includes the whole stock rom. If that works on locked bootloader...can't remember by now.
Click to expand...
Click to collapse
I'm also not sure how those files were modified because i dont have root permission. Comic Rack was somehow able to make the Storage/Emulated folder visible on windows and somehow messed up my file system (just a guess). I already looked at those directories (through windows) and they are empty. Those folders are not visible through android based file explorers on my phone

ckenni2000 said:
I'm also not sure how those files were modified because i dont have root permission. Comic Rack was somehow able to make the Storage/Emulated folder visible on windows and somehow messed up my file system (just a guess). I already looked at those directories (through windows) and they are empty. Those folders are not visible through android based file explorers on my phone
Click to expand...
Click to collapse
You can not look in to these folders with a computer as android nowadays use MTP protocol to communicate with usb. You need to use ADB or a local file manager on your device like https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer
To write files in sdcard1 without root permissions you need to mount the sdcard manually in a pc. Android has these functions disabled since not so long ago.
Remove the sdcard from the phone. Insert sdcard in a sdcard reader connected to your computer and open the folder.
If you are only read and write files in /storage/emulated/ you do not need root permissions as this is your personal storage space and you can use an app like this https://play.google.com/store/apps/details?id=com.estrongs.android.pop
Install this app and look in
/storage/emulated/android/obb/
/storage/emulated/android/data/
When you install es file explorer by standard the app starts in /storage/emulated/ directory so you only need to locate a folder called "android"
Screenshot on my device with ES file explorer started
{
"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 think i figured out the issue somehow. Just as a reference, if you guys used the Disk Usage APP, does your System Data show more than 4GB? Mine does and i assume these are the files that were previously on my OBB folder that were somehow transferred to the Root or System/Data of the phone that i am unable to access/delete.
Would there be a way to delete these files aside from rooting/factory reset

ckenni2000 said:
I think i figured out the issue somehow. Just as a reference, if you guys used the Disk Usage APP, does your System Data show more than 4GB? Mine does and i assume these are the files that were previously on my OBB folder that were somehow transferred to the Root or System/Data of the phone that i am unable to access/delete.
Would there be a way to delete these files aside from rooting/factory reset
Click to expand...
Click to collapse
I don't know what that app is.
Apps installed in /data/app can not be moved to /system/app without root permissions unless it is a bloat app from either google or the manufacture ie samsung/SONY/LG etc
However app data and cache files can remain if there was an error with uninstallation or some error in the system.
Your only option if you don't have root permissions to access those folders is to do a factory reset or a reinstallation by flashing a stock .ftf rom

Related

For People That Want To Poke Around...

Droid Explorer and Android Commander are cool little programs run through Windows that let you batch install/uninstall apps, contacts, and a ton of other features such as screen shots and moving files around etc.
Droid Explorer Direct Download http://www.mediafire.com/?zjjmwtgimtz
Site: http://de.codeplex.com/
To get Screen Cast (interactive PC/Phone control which you can record as a video or tutorial) to work properly on some systems, dl this.
View attachment androidscreencast.zip
http://forum.xda-developers.com/attachment.php?attachmentid=329993&d=1274450154
Thanks to dianeofarcadia for the link
{
"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"
}
Features
Multiple Device Support
Copy and auto-apply update.zip
Copy local files to device
Auto detection of connected/disconnected device
APK file icon and extended information
Device command shell window
Reboot device
Reboot device in to recovery mode
Open files for viewing / execution locally with the default file type executable
Drag & Drop file copy from Explorer
Flash Recovery Image
Package Manager (Install & Uninstall)
No need to mount SD card to access files from computer
Access files in other directories besides SD card
Copy files from device to local clipboard
Paste files from local clipboard to device
Open files on local machine
Display open with dialog to specify what to open a file with
Right click APK and Uninstall
Right click APK and Install
Delete files from device
Take a Screen Shot (landscape or portrait)
Plugins can register as a component to open files
Open from within Computer
Should now work with more ROMs as long as they are Rooted and have busybox
Device "Friendly Name" instead of device serial number.
Android Screencast Plugin - Control your android device with your mouse and keyboard
Install/Uninstall APK files right from explorer
Standalone plugin runner (will mainly be used for windows 7 jump lists and the apk installer but can be used to run any plugin.
Better Hero Support
Backup the "Google Experience" applications and creates an update.zip containing the applications
Android Commander Direct Download Link http://www.mediafire.com/?zzzymtiyezy
Site: http://androidcommander.cyf.pl
Features
Explore files:
- copy multiple files/dirs between Phone and PC
- copy multiple files/dirs between Phone folders
- delete multiple files/dirs from Phone
- new dir and rename options
- drag&drop multiple files/dirs in to progrm
- drag&drop files/dirs between program tabs
- partitions size info
- bookmarks
Manage apps:
- windows integration
- backup multiple apps to any dir on Phone/PC
- batch/single apps install
- install as private
- update
- batch/single uinstall apps
- uninstall with option to keep data or not
Console:
- type any shell command
- run sh script from PC
and more…
- flashing zip and img files
- options to reboot, reboot to recovery, reboot to bootloader, power off phone
- screenshots (beta)
- tools…
Download link to my folder @ MediaFire
http://www.mediafire.com/?sharekey=27287fde074a5250e62ea590dc5e5dbbdc566628acb63ad8d6f20ee4ff677d52
Just wanted to share because it seems not a lot of people know these are out there. Enjoy!
MUST HAVE ROOT... probably...
seems promising
will have to check out Android Commander.
Droid Explorer runs pretty good, a bit laggy at times but it is promising. Hope it is ok to attach this jnlp to go with Droid Explorer in case anyone needs it. It was the only way to get screen cast to work properly. Just un zip, and toss the folder on the desk top. It helps start up the screen cast mode for Droid Explorer, in case anyone has trouble getting the one inside DE to work. Hope this helps.
dianeofarcadia said:
will have to check out Android Commander.
Droid Explorer runs pretty good, a bit laggy at times but it is promising. Hope it is ok to attach this jnlp to go with Droid Explorer in case anyone needs it. It was the only way to get screen cast to work properly. Just un zip, and toss the folder on the desk top. It helps start up the screen cast mode for Droid Explorer, in case anyone has trouble getting the one inside DE to work. Hope this helps.
Click to expand...
Click to collapse
Thank you for that. It already worked for me but I'm sure it will help others. I'll update the post and give you credit if you dont mind.
LexusBrian400 said:
Thank you for that. It already worked for me but I'm sure it will help others. I'll update the post and give you credit if you dont mind.
Click to expand...
Click to collapse
(I should look and find who wrote it, I found it somewhere here digging while troubleshooting). Glad it worked for you, now I need to know what is wrong on mine. lol.
the driod explorer says i am trying to install on the wrong platform? i have 64bit vista.. any ideas?
android commander says it cant find the sdk, i have it but i cant make this thing work for nothing, any ideas?
j-stang said:
the driod explorer says i am trying to install on the wrong platform? i have 64bit vista.. any ideas?
android commander says it cant find the sdk, i have it but i cant make this thing work for nothing, any ideas?
Click to expand...
Click to collapse
Go to the main site links. These links are for Win-7 32 bit. They should have a 64 bit on the main sites.
Will check it out thanks!
I got android commader to work.
-------------------------------------
Sent via the XDA Tapatalk App
This is really cool, thanks.

Move security app to \system\app directory: Will it be installed after factory reset?

Is it possible to move an app and its files to that directory on rooted phones? Don't apps in that directory automatically stay installed after a factory reset?
I'd like to install PhoneLocator there in case I lose my phone and the person that finds it does a hard reset. Obviously you'd need to also move the file that holds the specific user's login/password info to be able to communicate back after a reset.
If not, is it possible to just unpack the rom I'm using and then stick the files in there?
ScottSNX said:
Is it possible to move an app and its files to that directory on rooted phones? Don't apps in that directory automatically stay installed after a factory reset?
I'd like to install PhoneLocator there in case I lose my phone and the person that finds it does a hard reset. Obviously you'd need to also move the file that holds the specific user's login/password info to be able to communicate back after a reset.
If not, is it possible to just unpack the rom I'm using and then stick the files in there?
Click to expand...
Click to collapse
Yes, if it is installed in /system it won't be deleted on a factory reset. However, the data in those apps gets wiped. Making the data NOT wipe from that app maybe challenging.
-viperboy- said:
Yes, if it is installed in /system it won't be deleted on a factory reset. However, the data in those apps gets wiped. Making the data NOT wipe from that app maybe challenging.
Click to expand...
Click to collapse
It would take a little bit of work but you could add a script w/ the needed data on the system partition to replace it in case of a wipe. Of course an RUU could still wipe it out but the odds of that being used are slim.
xHausx said:
It would take a little bit of work but you could add a script w/ the needed data on the system partition to replace it in case of a wipe. Of course an RUU could still wipe it out but the odds of that being used are slim.
Click to expand...
Click to collapse
everybody is spot on and it is an interesting question/challenge.
the simplest implementation i can think of would be to store your final version of the application's settings on the /system partition .. i'd hide it somewhere since we're doing this all covert stealth like .. and have a simple script on boot copy the application's data settings from the /system partition back to the /data partition on every boot.
the downside would be remembering, whenever you make a change to the application's data settings you would need to copy it back over the /system location, otherwise the /system version would overwrite it on boot.
if you are running a custom kernel, they often allow for scripts in a custom created /etc/init.d/ .. otherwise you can tag up something decent looking that is called from the stock /init.rc
a little more complicated of an implementation would be to write an android app (stored to /system/app) which uses root permission to copy the hidden application's data settings from the /system partition to the /data partition on every boot. the android app could hide itself from the application tray and be trigger via secret dialer code!
the app could also detect changes to the /data directory settings and copy it back over the /system directory ...
hope that helps contribute a bit to the logistics of implementing the idea!
/system/etc/init.post_boot.sh would be the perfect spot to hide the script if you went that route. It already gets called with the stock ROM and the odds of someone finding it there is slim to none. The data itself could be zipped up and placed anywhere. eg. "/system/lib/lib3dstuff.so"
If you use a custom ROM that you think may get switched you could even go so far as to modifying the recovery to reinstalling the files needed for it. That way if they switch to stock from CM or something like that it would still be there, you would just need to make sure that script gets called or that the recovery at least replaces the app's data.
Thanks for the great replies, a lot of great devs that I've actually heard of in here giving advice.
I'm not so worried about changing up the application's data after I set it up. I've got PhoneLocator and SeekDroid for paid apps that can do the basic relocating of my phone in case it's lost. My plan would be to only use Phone Locator for this since it's an app that's not relying on a data connection to send out GPS coordinates and can be triggered by a silent SMS message. I would set it up initially, not touch it afterwards, and then basically use other apps that do similar functions if I needed it.
And I'm not really so worried about someone "discovering" this buried in some system folder on the root. I'm guessing 95% of the people that would "find" my phone would just try and use it as a fun 4 inch wifi device or MP3 player without a cellular connection. And I have faith that if some XDAer found it they would be one of the few people I'd expect to go out of their way to return it.
Some of the solutions seem a bit over my head at this point, is this something I could post in the Dev section to request someone to write the script for? I know people get pissed if things that aren't really dev requests get posted in there.
Or is there a security app that already does something like this?
Back when I was on WinMo 3 years ago using my Mogul there was an app called NueGPS that the developer allowed chefs to cook into their roms, so I'm surprised this hasn't been developed already. Seems the first thing a dishonest person would do that wasn't planning on finding the owner on a lost phone would be to wipe it so they could either sell it or be able to customize it to just use as a wifi device.
I would donate for an app/script like this
That's genius
Sent from my HTC EVO 3d
Root: revolutionary
Recovery: Twrp cwm 4
ROM: Synergy rls318 (I want aosp)
I emailed the developer and he pretty much said this would work. I asked him the same question in the OP.
His reply:
Copy the com.rvo.plpro-1.apk from /data/app, to system/app with an app like Root Explorer. Uninstall the previous installation of ProLocator Pro. Restart your device. Done ! The user info will be stored in that file. Auto enable GPS is default, if it is off, it will be turned on, when a position is asked.
Click to expand...
Click to collapse
Had to "unlock" the app first from within its program to uninstall it from the /data/app directory, but it looks like it works. Before I flash another rom I'll try a standard wipe from the phone settings to see if it holds the settings I have the SMS GPS notifications go out to. He told me those scripts weren't really necessary and that all the user info gets stored in the .apk file. I'm wondering what all these other files do then. This is what came up under a search for plpro in Root Explorer.
{
"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"
}
ScottSNX said:
He told me those scripts weren't really necessary and that all the user info gets stored in the .apk file. I'm wondering what all these other files do then.
Click to expand...
Click to collapse
I'm not in the habit of telling an android developer what his own app does or does not do, but I have developer a few android apps and am semi familar with how the android system works so I'll share my opinion. I'm in agreement more with you than whoever wrote the reply in the email you quoted.
I would be very surprised if his application was somehow internally storing settings inside of its own apk file ...
Those files you found and listed in your screenshot which ,are stored in the application's /data/data directory, are the standard preference type files which most (prob all) android applications use to store their settings. Google provides a very nice and convenient API for storing and managing settings in the app's respective /data/data directory.
It would be worth a try to test out. I would expect the following results from a test:
Move the apk file to /system/app. Wipe /data partition. Reboot and the application should have 100% stock/default settings.
On another approach, a thought just crossed my mind. It could be possible to have the application store your specific settings on a remote server and when the application opens or runs, it could pull down your specific settings from the server. This would of course require internet access (might not have if somebody stole and wiped, at least right away). But thats reverting back to our previous discussion.
Hope that helps as a second opinion from another application developer!

Flash Video Browsers for hulu.com

So the wife has been asking for a solution on watching videos hulu.com on the tablet, but afaik it doesn't work on any current browser. After putting my mad Google skill to work, found a paid app for $.99 called Flash Video Browser (buy it on Amazon cause Google market will show not compatible) which does the job.
http://www.amazon.com/Daniel-Lockard-Flash-Video-Browser/dp/B006IHK9PK
I even tried it on my Iconia A500 and it works there too.
deboyz1014 said:
So the wife has been asking for a solution on watching videos hulu.com on the tablet, but afaik it doesn't work on any current browser. After putting my mad Google skill to work, found a paid app for $.99 called Flash Video Browser (buy it on Amazon cause Google market will show not compatible) which does the job.
http://www.amazon.com/Daniel-Lockard-Flash-Video-Browser/dp/B006IHK9PK
I even tried it on my Iconia A500 and it works there too.
Click to expand...
Click to collapse
I watch stuff on Hulu.com all the time (about once or twice a day) with the stock browser from CyanogenMod 7.1.0.1 and the latest Flash from the Market (with a modified libflashplayer.so file which tells Hulu it's a Windows PC you're coming from and not an Android device) and changing the UserAgent setting in the browser to tell Hulu.com that you're coming from a desktop web browser (as a lot of their videos are not licensed for mobile viewing).
Just replace the libflashplayer.so file found in your data/data/com.adobe.flashplayer/lib folder with the one I've attached as a zip file to this post and you should be good to go.
Also, for the best viewing experience, I've got my streaming settings in Hulu.com to stream at 288p and it streams nicely without any issues and the picture looks great.
Awesome info, wished I would have known about this before but the app itself isn't too bad. This should help others who are looking to do the same thing.
thanks! this is great
Also, just an FYI...
Several television networks have full episodes of popular shows and current episodes on their websites. With my current browser and Flash setup I watch Person of Interest and C.S.I. on CBS.com, the current season of Downton Abbey on PBS.org and Fox.com has a bunch of shows (some are also on Hulu but some are not).
sjmoreno said:
I watch stuff on Hulu.com all the time (about once or twice a day) with the stock browser from CyanogenMod 7.1.0.1 and the latest Flash from the Market (with a modified libflashplayer.so file which tells Hulu it's a Windows PC you're coming from and not an Android device) and changing the UserAgent setting in the browser to tell Hulu.com that you're coming from a desktop web browser (as a lot of their videos are not licensed for mobile viewing).
Just replace the libflashplayer.so file found in your data/data/com.adobe.flashplayer/lib folder with the one I've attached as a zip file to this post and you should be good to go.
Also, for the best viewing experience, I've got my streaming settings in Hulu.com to stream at 288p and it streams nicely without any issues and the picture looks great.
Click to expand...
Click to collapse
i am not finding the right data folder. what is the full path?
gregh77 said:
i am not finding the right data folder. what is the full path?
Click to expand...
Click to collapse
That is the correct file path name and I can confirm that this works.
After I set my user agent to Mac desktop I had to wipe the cache, but wiped the history, cookies just incase before it would recognize that I had flash player and that I wasn't on android device.
gregh77 said:
i am not finding the right data folder. what is the full path?
Click to expand...
Click to collapse
The path I posted before is the correct full path. Perhaps you are using a file explorer that can only see the SD card and not the root of the file structure? I use Root Explorer which can see all of the files/folders but I've heard some people have used ES File Explorer (free) and that it can also see all of the folders and files.
I'm using ES File Explorer and Astro but can't find the path you mentioned on both the eMMC and SD card.
sjmoreno said:
The path I posted before is the correct full path. Perhaps you are using a file explorer that can only see the SD card and not the root of the file structure? I use Root Explorer which can see all of the files/folders but I've heard some people have used ES File Explorer (free) and that it can also see all of the folders and files.
Click to expand...
Click to collapse
i am running off SD card with CM7 if that may be affecting the structure. i can get to the system files like build.prop and things like that.
gregh77 said:
i am running off SD card with CM7 if that may be affecting the structure. i can get to the system files like build.prop and things like that.
Click to expand...
Click to collapse
I can't tell you why you don't see the data folder but here are some screenshots of my directory structure. I've highlighted the folders and file in question on my NC.
{
"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"
}
The guy that sits next to me at work has his NC running CyanogenMod 7.1 off of his micro SD card and he can see the data folder on his NC as well. The only thing I can say to try is to get to the root folder of whatever file explorer you're using until you can see the data file. If you're at the root level you should see folders like the ones in my first screenshot.
Can you get a screenshot of your file structure and post it? If you don't know it already CM 7 has that feature built in. Just hold down the power button for a second and when the power menu pops up one of the choices is "screenshot".
sjmoreno said:
I can't tell you why you don't see the data folder but here are some screenshots of my directory structure. I've highlighted the folders and file in question on my NC.
The guy that sits next to me at work has his NC running CyanogenMod 7.1 off of his micro SD card and he can see the data folder on his NC as well. The only thing I can say to try is to get to the root folder of whatever file explorer you're using until you can see the data file. If you're at the root level you should see folders like the ones in my first screenshot.
Can you get a screenshot of your file structure and post it? If you don't know it already CM 7 has that feature built in. Just hold down the power button for a second and when the power menu pops up one of the choices is "screenshot".
Click to expand...
Click to collapse
thx for the help your screenshots helped. i didnt drill down pass the data folder. it didnt say to go into the adobe flashplayer folder on the original posting of where to go. i guess it was assumed. thx for the help !
using Ghost Commander (free) from the Market I was able to find the listed path and it worked great. make sure you don't have auto-update enabled with the Flash player else it will over-ride the file. If so just copy it again. Thanks

[Q] A deleted app remains on the list, can't unistall further

I have been messing with System Cleanup moving apps into system partition, etc. There was a glitch and now there's a 0-byte app that is physically removed (no files left as far as I can see) but still present on the app list. I can neither uninstall it further nor reinstall it (says can't install into the specified directory or something to the effect).
Is there a way to ULTIMATELY remove all traces of a (system) app manually? Is there a database of some sorts in Android where an entry could still be present? I would like to make Android forget it ever had the app in question (much less it was at some point moved to System) and be able to reinstall it as a user app.
Running an old Gingerbread Samsung Gio phone, BTW.
I don't know but I had a similar problem and my solution was to start android into the boot menu and use the restoration function and reset my device.
Sent from my PIONEER using xda app-developers app
Maybe one file of the app is remaining which Android is reading and treating as a complete app. Have you removed all files such as the .apk in /data/app/ or /system/app/, .dex in /data/dalvik-cache/ and data folder in /data/data/ ?
RaHBeR said:
Maybe one file of the app is remaining which Android is reading and treating as a complete app. Have you removed all files such as the .apk in /data/app/ or /system/app/, .dex in /data/dalvik-cache/ and data folder in /data/data/ ?
Click to expand...
Click to collapse
The question wasn't very clear. He said 0-byte files left on the device physically. Of course there is /data/dalvik-cache, too. Maybe that's what I forgot on my device.
Try wiping your dalvik cache and also your cache partition from recovery
Sent from my HTC One using Tapatalk 4 beta
**Press the thanks button if I have helped you.
I have removed all the files I could find. That is, there are none I can find left in /data/app/, /system/app/, /data/dalvik-cache/ and /data/data/. Are there any databases in Android OS that might store app entries?
To clarify: there is no physical 0-byte file as far as I can tell. It's just that Android's Applications thing lists this app along with the actually present ones, saying it takes 0 bytes and having but one "Move to Device" button active (but unable to do anything).
I am reluctant to wipe anything except Dalvik cache (already done so), much less resetting my device.
There are some sqlite files in /data/data/* in subfolder com. android.*. I think this is the files for all system settings and maybe also app files? I wonder too if there's is a package manager. In my other Linux there is apt or zipper. Can you browse sqlite files on the device?
Sent from my PIONEER using xda app-developers app
I think I was able to reproduce your error. See these images, I have highlighted the app I'm talking about:
{
"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 created this by first linking this application and all other in my phone to the SD-Card by Link2SD application. So the ".apk" file in /data/app/ and ".dex" file in /data/dalvik-cache/ both were transfered to the SD-Card and only this app's data folder remained in /data/data/ but do note that this application had 0 bytes of data.
See these images of the app when it was working:
Then I removed the SD-Card and rebooted my phone so Android could not read the ".apk" and ".dex" files and only an emtpy data folder of that app remained in the phone and then I got that error which is shown in the first 2 images.
And then with a file manager I went to the /data/data/ directory and saw this:
I hope this info helps you. So I think in your case also the data folder is remaining and deleting that may solve your problem.
The trouble is, I can find no folder to delete, neither in data/data nor elsewhere. I have searched my whole device and found nothing. Hence the question about databases etc.. Is this, perhaps, not the most appropriate subforum for such an in-depth OS structure question?
Still, your suggestion made me wonder whether I could manage to install the app after I remove the SD card. Turns out, I can. However, the app is a) not working, b) is regarded as an update to the original "ghost" (or, rather, "zombie") app (that is, I cannot move it, removing it does not remove the "original" 0-byte app, and even System Cleanup that can physically replace bloated system apps like Market with their latest updated versions does not see it as a proper original+update app).
I removed this "update" and the app returned to its previous placeholder icon 0-byte list entry form
elenhil said:
The trouble is, I can find no folder to delete, neither in data/data nor elsewhere. I have searched my whole device and found nothing. Hence the question about databases etc.. Is this, perhaps, not the most appropriate subforum for such an in-depth OS structure question?
Still, your suggestion made me wonder whether I could manage to install the app after I remove the SD card. Turns out, I can. However, the app is a) not working, b) is regarded as an update to the original "ghost" (or, rather, "zombie") app (that is, I cannot move it, removing it does not remove the "original" 0-byte app, and even System Cleanup that can physically replace bloated system apps like Market with their latest updated versions does not see it as a proper original+update app).
I removed this "update" and the app returned to its previous placeholder icon 0-byte list entry form
Click to expand...
Click to collapse
Did you tried my answer? Here is an example application. It seems there is an package mangager but not so complicated like apt, etc.: http://theopentutorials.com/tutorials/android/listview/how-to-get-list-of-installed-apps-in-android/.
I'm sorry, I'm no that deep into Android coding to understand what's on that page. Is there an actual app you might recommend to read these SQL files?
elenhil said:
I'm sorry, I'm no that deep into Android coding to understand what's on that page. Is there an actual app you might recommend to read these SQL files?
Click to expand...
Click to collapse
Maybe this one: https://play.google.com/store/apps/details?id=com.xuecs.sqlitemanager? Problem if you want more then the usual you need to code a few lines. I'm new to c# and java, too.
Update: The app works for me. I have also found some interesting files in data/com. android. vending. There is a list with all app state. When you are lucky it's not encrypted.

"UIDs on your system are inconsistent": A neat Solution... Finally!

Intro:
This thread is about a common & bothersome android OS error:
"System UIDs Inconsistent
UIDs on your system are inconsistent, you need to wipe your data partition or your device will be unstable"
popping at the system startup/boot/reboot.
{
"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"
}
Detail:
There have already been nearly a hundred threads on this topic, partly because of the problem is so prevalent and ubiquitous...
It has been reported from a wide range of devices, running various ROM/any android version. Most people got fed up trying numerous unbecoming solutions & landed up formatting their devices, and often landed up losing all userdata!
Generally it appears after flashing new ROMs/Kernels and the issue is more common with people who tend to try out different ROMs, therefore have to backup and restore the NANdroid backups in brief intervals.
Wiping data partition is not always desirable, as it would cost you all the saved application data, including contacts and messages.
Unfortunately there was no definite cure till now, but fortunately enough, there's something now!
This error is not necessarily emerging from your system apps/core/kernel etc etc (though, the error message seems more like a system prompt!) , rather it might be originating from petty handful of user-apps (even from those you had uninstalled in the past!!! but their corpse have somehow remained as zombies!).
Acknowledgement:​
Thanks to xcreatir for hinting at this excellent piece of idea on XDA, on a similar thread.
Many more people got close to the solution, but missed the target by a whisker, and got deflected towards weird and terrible 'solutions'!
But, the problem is easy to fix, and indeed self-explanatory (and also logged by android automatically)!
Pre-requisite:​You'll need root-access.
So, get your phone rooted, before you proceed (if its not already).
Solution:​STEP 1.
Use a file explorer with root access (e.g. ES File Explorer OR Root Explorer OR File Explorer with Root Addon and browse to /data/system/
and locate a file named "uiderrors.txt"
Here I have relied on ES File Explorer with root privileges.
TIP: Must check "Show hidden files" in the settings of your chosen file manager.
Screenshots:
STEP 2.
Open it via any text reader
Screenshot:
STEP 3.
Look at the last few lines, you'll find the culprit apps whose leftover files have been causing the problem:
05/07/15 11:44 pm: Package com.rovio.angrybirdsseasons has mismatched uid: 10520 on disk, 10125 in settings
05/07/15 11:45 pm: Package ma.wanam.xposed has mismatched uid: 10485 on disk, 10230 in settings
Click to expand...
Click to collapse
In this case, the programs were:
com.rovio.angrybirdsseasons (Angry Birds Seasons)
and
ma.wanam.xposed (Wanam Xposed)
Click to expand...
Click to collapse
This will be completely different in your case.
Disclaimer:
By no means, I'm pointing fingers to these two apps as the culprits (rather, they are some of the best apps available!), this can happen with any give app. Thus, will be completely different in your case.
TIP: Please look through your own "uiderrors.txt" file very carefully to find out which are the apps having UID mismatch in your case!
You need to find every app mentioned in your "uiderrors.txt" file which had UID mismatch. Its not a difficult job, trust me. The list wont be long!
STEP 4.
Now browse to /data/data/
and
/data/app/
you'll need root privileges, otherwise things will show blank.
Screenshots:
STEP 5.
Select the folders with the names mentioned in"uiderrors.txt". Be careful of selecting anything else! This can land you in troubles. Mark only the ones mentioned in your own,
In my case I have to mark/select
/data/data/com.rovio.angrybirdsseasons
and
/data/data/ma.wanam.xposed
+++
/data/app/com.rovio.angrybirdsseasons.apk
and
/data/app/ma.wanam.xposed.apk
OR
/data/app/com.rovio.angrybirdsseasons-1.apk
and
/data/app/ma.wanam.xposed-1.apk
Click to expand...
Click to collapse
Remember: the apk file can bear any number after its name: e,g, it could also be com.rovio.angrybirdsseasons-4.apk
So, don't worry you have to mark everything that matches the name, forget the suffixes!
Again, the culprit files would be completely different in your case than what I have listed here.
Please take a close look at your own "/data/system/uiderrors.txt"
Screenshots:
6. Carefully delete them by hitting Delete Button at the bottom. Be careful of deleting anything else!
7. Reboot & enjoy!
You're done! No more errors! No need to format your device, keep all your data intact.
Caution:
Programs like Link2SD/ App2SD etc tend to complicate the issue to some extent.
In such cases, you must also scrutinize following directories besides: /data/data/ to find any leftover files belonging to those that are mentioned in your uiderrors.txt
These can hide inside (I'm not asking you to delete all of the below directories, just delete specific subdirectories/files as mentioned in your uiderrors.txt:
\data\sdext2\
\data\sdext2\data\
\data\sdext2\app\
\data\sdext2\app-lib\
[Remember, these directories might slightly: instead of "sdext2", you may find "sdext3" OR "sdext4" OR something a little more different. This is basically the mounting point of your SD Card's 2nd partition, formatted into linux file systems: ext2/ext3/ext4]
Click to expand...
Click to collapse
Delete meticulously any such traces!
Good Luck!
​
UPDATE! i sorted my issue out i had to go to the SD card in recovery and delete the DATA/System files! and everything thats in it, cheers
i have an issue in that i cant get to desktop on my phone to reset the counter as the popups overwhelm me with " System UIDs Inconsistent" i simply cant do anything with it so what i have done is reset factory settings from Recovery rather than the ROM, ive used Odon to reinstal the ROM but i then realised its nothing to to the the OS/ROM i have pretty much tried everything and the one thing i cant do is get the phone to the desktop to install the Apps that will sort this out i dont suppose any of you have an alternative way please? id be really greatfull i just need to stop these popups telling me "System UIDs Inconsistent" and i believe the ONLY way to do this is via your phones operating system in your settings but i cant get the phone past the "Search Wifi" startup when you first install a new ROM?
DJwa163 said:
TIP: Please look through your own "uiderrors.txt" file very carefully to find out which are the apps having UID mismatch in your case!
You need to find every app mentioned in your "uiderrors.txt" file which had UID mismatch. Its not a difficult job, trust me. The list wont be long!
Click to expand...
Click to collapse
I'm not sure about your definition of long, but 46 errors in my case...
Anyway, 46 apps deleted and now the error is gone, many thanks
Still I wonder if there was no other way to get the UID's back in sync, without deleting affected apps.
All 46 apps were linked with Link2SD, so I'm guessing something went wrong there.
IMO S50
thanks. its work:good::good::good::good::good::good:

Categories

Resources