yashsingh1/xdaforums huggingface dataset:
[Windows Phone 8 Development and Hacking] GoodDayToDie:
Hey, sorry I haven't had a chance to work on the app this weekend, too busy with other things in life. I'll try to get back to it soon though, I promise!

There's a thread on here somewhere that describes how to compile apps with restricted permissions (skipping [MENTION=613261]dada.81[/MENTION]'s error) but the short version is that if you double-click on the error messages, you should get taken to an XML file that controls the build process for WP8 apps. The last step is to run a verification of the manifest. Disable that verification (for example, comment it out) either in the global file (will require admin to write to it) or in the .csproj file for the app itself (per-app fix, but doesn't require elevation).

Alternatively, comment out those capabilities, build the app, then open the .XAP file (it's just a ZIP archive, I use 7-Zip to open it) and edit the manifest, un-commenting those capabilities. Save the modified manifest back into the .XAP and then try deploying it.

CRPCComponent is not my code; it's Samsung's. Strictly speaking, we probably shouldn't be redistributing it, but it's included on all out phones (in every Samsung OEM app, either pre-installed or available from the store) already. It just needs to be in the .XAP, because apps can't register global DLLs and Samsung didn't include it in the System32 folder directly. Lots of apps already use it, ranging from my BootstrapSamsung app to WOLF's SamWP8 Tools.

It is completely possible to add additional locations for checking. Currently the list is hardcoded, so the app needs to be recompiled, but that's easy. In the future it will be stored in a simple text file for easier editing. I do need to know *where* all that bloat is happening, though. I don't seem to have any such problem on my phone; I searched for a couple hours and all the locations I could find - even some that arguably don't qualify, like the Office document templates - are included (the list scrolls, in case you didn't notice). However, I hardly claim to have done a comprehensive sweep of the whole phone! I'm sure I missed several locations, although if the ACLs on them are too strict it will be hard to clean them out (not impossible, but hard).
[Windows Phone 8 Development and Hacking] contable:
I couldn´t delete the "StorageCleanerTemp" folder created by your app on my sd card.

The following code let me delete single files or the whole folder:

files:

foreach (string filename in ListBoxSelectedIndexes)
{
nativeFileSystem.DeleteFile(currentDir + filename);
if (File.Exists(currentDir + filename))
{
File.SetAttributes(currentDir + filename, System.IO.FileAttributes.Normal);
nativeFileSystem.DeleteFile(currentDir + filename);
}
}

folder:

var directory = new DirectoryInfo(currentDirSD + foldername) { Attributes = System.IO.FileAttributes.Normal };
foreach (var info in directory.GetFileSystemInfos("*"))
{
info.Attributes = System.IO.FileAttributes.Normal;
}
directory.Delete(true);
[Windows Phone 8 Development and Hacking] dada.81:
Hey GDTD,

No problems cause you've responded...the time is not a problem, as long as you do, I'll also be frequently unavailable...but, as soon as I get some more time, I will try the build without additional manifest CAPs and repackage with later for some of the things I'd like to try out with CRPCComponent (cause I didn't notice that double click xml setup in my VS2013 w/ 8.1SDK).

I didn't realize that was Samsung's dll, but good thing you told me, I'll not be distributing then (at least not without checking more if and how I could do that first), but as soon as I get some confirmation and guidelines, I (or some friend of mine;)) probably will be distributing anything that comes out from this dll with most thanks and credit to you (none to S) off course.

I did manage to try out some things I wanted already in VS2012 without using most of those problematic CAPs (just using interopunlock), one being the ability to get what I think are log destinations on my phone via CRPCComponent.GetLogDirectory() call which returned "ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ쳌쳌쳌쳌쳌쳌쳌쳌Ό" (so I'm guessing my device and its current logging setup might somehow be problematic, it must be logging somehow since the damn thing only grows as soon as free up any space, and as the first low space error I got happened back when I was debugging an app from VS for a really looong time), and I'll take a look at your code soon to see how and if I could traverse the file system (cause Full FS won't work for me in Windows yet) in search of possibly some other bloated log files (since the CRPCComponent.DeleteLogDumpFiles and CRPCComponent.DeleteRetailLogFiles) couldn't help me regain system occupied space yet...

Thank you lots the same!
[Windows Phone 8 Development and Hacking] GoodDayToDie:
Thanks contable. As expected, the problem was that the files were marked Read-Only. I'll add code to take care of that. By the way, I found that although the MTP interface doesn't let you remove the RO flag directly, if you try to delete RO files it will give you an option to override the RO restriction. You have to delete the files themselves though, not the directory containing them.

[MENTION=613261]dada.81[/MENTION]: I'll look into the debug logs and such. Good suggestion on trying to hunt those down too. This whole thing would be a lot easier if we could just run WinDirStat on the phone's filesystem...
[Windows Phone 8 Development and Hacking] AlvinPhilemon:
I have 7GB of system storage and I am only able to clear 274.12MB. The app doesn't have root access? Cuz users who can use SamWP8 Tools Full FS Access are able to delete the uncompleted downloads but I am not able to. Is it possible to give the app root access to that folder? Sorry if its too much.
[Windows Phone 8 Development and Hacking] dada.81:
Hi GDTD,

Just wanted to give a little update on some of my attempts and findings...I've managed to build with CAPs commented out, and then deployed with repackaged and changed manifest, but still not found that double click error xml location trick...however, my deployment, including additional paths, hasn't been much successful, in sense I've got UnauthorizedAccessExceptioned, particularly on the root folder ("C:\", "C:\\").

So my traversal of the whole FS wasn't yet successful, but it was possible to traverse files within the "C:\Windows" (mine is ~931MB/7465files) and the "C:\Data\Users\DefApps\AppData" (mine is ~1.142GB/2300files)...I'll try to find other folders searching the net, and maybe post their sizes here also later, just if someone else is having the same problems (since my zmz files seem not to be an issue)...one other thing, a possible change in your source code, though this is more theoretical:

I think most of your CleanupLocation contstructors use DateTime.Now as a value for olderThan variable, and that time may be lesser than the time values if someone had installed and setup their phone on a datetime set in the future (which I've used occasionally, though much into the future past even the certification install dates, to uninstall some of those settings apps), so maybe a more prudent choice would be to use DateTime.MaxValue?

Best of luck

[MENTION=4285613]AlvinPhilemon[/MENTION]

My guess is you're having the same issue as me, since I also 'see' a very little amount of files, so unless the files you're trying to delete are of newer creation dates than your currently set phone date and time the files you're seeing should be the ones in those folders GDTD listed in the app (which were indicated by others to be problematic - in particular the AppData's EDMCache subfolder with .zmz's - a.k.a. "Store app package cache").

Either that or the app isn't able to 'see' all of the files in those folders, though I very much doubt that. since mine 'sees' some, but they're mostly small sizes and few in each of those scrollable folders listed in the app.

As per another user's suggestion you may also want to check the folder "C:\Data\Users\WPNETWORKDRM\APPDATA\Local\Temp" but mine is only around 60MB/27files large...
[Windows Phone 8 Development and Hacking] GoodDayToDie:
No, the app doesn't have root access (I'd say "of course", because I've been working on "root" for months and if I'd managed it this would be big news, but maybe people haven't been paying attention...). The way that Full FS Access works is completely unrelated to running apps and in particular has nothing at all to do with this app (this is *is* potentially a useful tool for finding files to delete). As I explained previously in this thread, there are some locations where this app has R/W access but *NOT* Delete access, which is obviously what is needed. I've gotten what access I do have by stuffing the app's manifest full of Capabilities, such as ones normally used by Office or by the "Zune" (media player) app. There's no capability that says "make me root", though (well, there actually kind of is, but it doesn't work on apps). So, I'm working on lots of different ways to try and get there.

By the way, the work-around for the files in un-deletable locations is already implemented in version 0.2.0. It requires a microSD card though, and is much slower. I'm pushing out an update tonight that takes care of the ReadOnly flag issue.

[MENTION=613261]dada.81[/MENTION]: Even if there was a capability that gave access to the root folder (there isn't, really), you would need to add it... I would have included it if I'd found one, but I didn't. You can look up what permissions each capability gives by reading the policy XML files (they're under the Windows folder on the phone, subfolder Provisioning I think, or you can grab the bundled download that people have uploaded here in the past). The Windows folder is of course readable (though not writable) because apps need to be able load system resources (DLLs and theme data and so on) that are stored there.

Technically, using the Move-to-SD-using-RPCComponent.MoveFiles() trick, the cleanup app doesn't need to have write access to a folder in order to clean it (provided you have an SD card), but doing it without *read* access would be hard. The RPCComponent doesn't accept "*" as a file pattern to move (although it does accept "a*", "b*", etc. so it could be done with a bit of work).
[Windows Phone 8 Development and Hacking] GoodDayToDie:
Just posted 0.2.1, which fixes some reported issues. See first post for changelog!
[Windows Phone 8 Development and Hacking] lukas_ita:
With this update I can delete only files from Enterprise apps
[Windows Phone 8 Development and Hacking] Randοm Hero:
GTTD, maybe you wanna edit the thread title, to reflect the latest version of the xap.

EDIT: Also, why not integrate a notification when new versions are available (like WPH Tweaks)
[Windows Phone 8 Development and Hacking] GoodDayToDie:
Yeah, sorry it was late for me and I forgot to do it last night. Fixed now!

In-app update notifications are much easier said than done, actually. It's not very practical for me to run a server from my home, I could use some "cloud" provider, I suppose... Alternatively, I could set it up to screen-scrape this forum thread or similar, though that's an ugly approach. I'll add it to the list of features under consideration, though!
[Windows Phone 8 Development and Hacking] Emy12:
I do not know why, almost every xap file ,(except three files) downloaded comes up as rar.

I tried to rename as xap, but is not working. I am on windows 8.1 pro

I had a problem before with some files, but once renaming worked fine, this one is not working.

Anyone any idea why? Or how can I fix it?

FIX it. When save as, just typed xap. :)
[Windows Phone 8 Development and Hacking] GoodDayToDie:
What are you using to download the files? Just use Save As when downloading and change the extension to .XAP. XDA sends some kind-of-weird metadata, although the usual problem people have is the files showing up as .ZIP, not as .RAR...

Do the files open correctly in 7-Zip? It should be able to handle them, be they ZIP, XAP, RAR, or any of a number of others.

Also, if would be helpful if you want actually explain in what way it is "not working". "not working" is one of the most pointless bug reports ever, providing absolutely no info as to what the problem is. Is there are error message when you try to install the (renamed) XAP? When you try to open the archive? What *is* the error? If you look at the file in a hex editor, does it have the correct identifier for ZIP format (which is all that homebrew XAPs are; store ones are PlayReady containers wrapping ZIP archives).
[Windows Phone 8 Development and Hacking] Emy12:
As I just edited the post, it has been fixed, as you said to use Save As, but using IDM as main downloader finally I figured out how to do this.

Regarding the, "not working", it was in regard with the extension of the file, was saving as, "rar", not XAP. Some files worked just renaming the extension, but this one did not work, I had to use, Save As.

Now everything is working perfect.

I really, really like this app. storage cleaner and all the other applications.

I enabled the third column through WPH Tweaks, and it is awesome now.

I might retire the Moto G phone using this one as the main phone.
[Windows Phone 8 Development and Hacking] lukas_ita:
No news?
[Windows Phone 8 Development and Hacking] GoodDayToDie:
Sorry. New version is in progress, but I've been really busy with real life stuff (work, girlfriend, you know how it goes) and am behind where I was hoping to be.

One way people could help out would be to search their phones (perhaps using Full FS Access) to find abandoned or temporarily cached files. I'm sure there are some locations missing. Note that if it's somewhere that I can't even get read access, the app won't be able to tell you (beforehand) how much space it will free, but it will still be able to free it (using the Samsung RPCComponent).
[Windows Phone 8 Development and Hacking] lukas_ita:
I haven t full FS access... So it is why I need this tool xD. My "system" memory is growing and growing
[Windows Phone 8 Development and Hacking] canapo92:
Hello Goodaytodie, thanks for your work. I try to deploy your app on my lumia 820 and it's ok, but when app start to clean any kind of file this errors appear. any solutions in future? the app need to be rewrite for lumias because doesn't has any permissions?:) thanks again
[Windows Phone 8 Development and Hacking] GoodDayToDie:
Unfortunately, I can only get limited support for this app on Lumias right now. The app relies pretty heavily on a Samsung-specific RPC component that can move files (which also means can delete them). Some of these files can be deleted via simply having the right capabilities in an app, but most of them require something running with more privileges, and that means RPC. At best, I may be able to make a version that would delete the files when you reboot your phone (not hard-reset, just an ordinary reboot) using the mechanism that exists in Windows to move system files during a reboot. I'll see how feasible that is.
[Windows Phone 8 Development and Hacking] ngame:
Nokia has this option to move files .

you can use the SilentInstaller of Nokia (in Extras + Info) to move files

Nokia Silent Installer -> CsTileInstallerRuntime :

[MethodImpl(0, MethodCodeType=MethodCodeType.Runtime)]

public bool NRSCopyFile([In] string src, [In] string dst);
[Windows Phone 8 Development and Hacking] djamol:
That is very different thing than the Storage Cleaner Does.

NDTK Server doesn't support for Move Files.

Only CopyFiles, Copy .Provxml

Well, [MENTION=6655208]vcfan[/MENTION] is working on Universal RPC Functionality with most of the Fully Functional API's.

SUPPORT HIM for further Development.
[Windows Phone 8 Development and Hacking] ngame:
oh , I really forgot about it :D

your right

as you know I am working with vcfan and know about his projects .

surely we want you to get a new phone or unbrick your phone and join us ;)

many interesting things are waiting for you :D
[Windows Phone 8 Development and Hacking] GoodDayToDie:
Yeah. I actually already have access to the NDTK RPC, but it only supports copying files (not moving or deleting them). Since that leaves the original file still in place, it's not very useful for a cleanup utility.

With that said, it occurs to me that I could *overwrite* the files with a 0-byte dummy file, which reduces their storage usage down to the size of their metadata in the master file table (which I think is just one minimum allocation size, a few KB). It would be kind of messy, and code that checks for a file's presence rather than actually verifying that the file is correct (or has content at all) could break if we go modifying files that aren't "supposed" to be editable, but it's worth exploring.
[Windows Phone 8 Development and Hacking] contable:
Try something like

IStorageItem isi;

await isi.DeleteAsync();

Should work.

That´s how I currently delete files or folders while using my PDF Helper app. Maybe you remember that we talked in the past about higher priveleges of StorageFile or StorageFolder class...
[Windows Phone 8 Development and Hacking] GoodDayToDie:
I remember, but I never did get that working and stopped trying after a while. I should give it another shot, though.

It wouldn't be a problem if there weren't so many locations which I can nominally access, but don't have Delete permissions. Silly Microsoft...
[Windows Phone 8 Development and Hacking] Abdulrazak_Kh:
hello guys , good luck with the work on this for lumia devices , should be easier now with interop unlock ? ,, I might be able to help with testing , not really with discovering files on full fs access cuz a little busy .....

oh right , this is off-topic but i found a folder which stores Wifi Profiles , access to the files themselves is denied tho , so can we move the files somehow and then get read permissions at least to do something like "show saved passwords"

files at :

U:\ProgramData\MICROSOFT\Wlansvc\Profiles\Interfaces\{ GUID }\

ps : using Lumia 630 Dual SIM , have sdcard(s)
[Samsung Galaxy S II Plus] Raven_Yen:
Hi peeps, I found a camera apps that adds more features over stock or AOSP's camera.

I am still testing out but so far so good. This should work on all versions and it works fine on CM11 too.

LINK ;)

*Some filters and panorama mode might not work depends on ROM version and type*
[Samsung Galaxy S II Plus] mangaboy190:
Really really great apps, Works with jb 4.2.2 stock rom, minus the hdr and panorama mode, but the effects are much way cooler than the original s2 plus camera, a must try apps...
[Samsung Galaxy S II Plus] Raven_Yen:
Huh, HDR works in CM11 though. It's weird to hear that it doesn't work on 4.2.2 stock. Thanks for the review on 4.2.2 stock. :laugh:
[Samsung Galaxy S II Plus] thedoginme87:
Does it over writes the CM11 camera?
[Samsung Galaxy S II Plus] Raven_Yen:
No, you can still choose which to use. I prefer this on normal shoot because it will turn on auto-brightness for me. Panorama will go for CM's camera.
[8125, K-JAM, P4300, MDA Vario General] munzab:
hi all

im using the 2.17 qtek rom and i have to admit, i have not been impressed at all by the phone functions.

its very user unfriendly and so hard to get things done.

is there a better rom out there for the phone interface?

in terms of dialing, from contacts, replying, saving numbers, sending messages to phone numbers etc

also, my keyboard (soft keyboard on the screen) is driving me nuts.

i cant install phraze-it, i mean, i install it, but it never comes up when i choose it as input method. always the keyboard. the other inbuit soft input types work.

tried to install blimkeys and all others out there, but nothing comes up. ive never seen their interfaces.

anybody any ideas?

Cheers
[8125, K-JAM, P4300, MDA Vario General] risidoro:
As for the Phone User Interface there's nothing you can do apart: 'Get used to it!', it's not so bad in the end.

For the SIP (Soft Input Panel) i can only suggest: be sure the programs you're using are designed for WM 5.0 and install them in main memory.

bye
[8125, K-JAM, P4300, MDA Vario General] Poke_N_PDA:
I believe if you look in the wiki you will find a registry edit that will change the default input method. you can make it the keypad if you like. Not quite sure if that's what you want.

Zach
[Android Apps and Games] oophop:
Present you live wallpaper Galaxy Color!

This is amazing beauty effects, shimmering color, rotating lines and curves at the intersection of which there are additional effects.

- 8 beautiful preset themes:

- Uses OpenGL to render.

- Low CPU usage.

Additionally, it is possible to adjust the parameters of the selected theme to create your own unique effects.

Download from: [color]Mod edit: Links removed. Please do not post a paid app with out also providing a free version for xda.[/color]
[Android Apps and Games] oophop@gmail.com:
YES
[G2 Q&A, Help & Troubleshooting] ncfastls1:
So I just tried to take an OTA and it gave me an error on the install screen then rebooted. Upon restart it gave me a message saying my device was suspected of rooting and that no OTA will be taken. All I've done is root, install root Explorer and titanium and hidden a few apps. Recovery is stock so I'm on the stock ROM. I really have no use for root so I don't mind if I lose it.

Should I just uninstall superuser or do I need a factory reset before I can take an OTA?
[G2 Q&A, Help & Troubleshooting] chrispyutec:
I have AT&T G2 rooted and stock recovery. I took the OTA update and all went fine and I didn't lose root either. All good on this end other than not knowing what was in the update.

EDIT: I now know what was in the update lol! A quick google search usually answers most question :)
[Samsung Galaxy Ace Plus S7500] mastershex:
guys i need S7500L stock zip ROM with persian\arabic support in menu and options .... appriciate if you can guide me ...

in other hand any one can giude me on how to add dmy desire language to a custom zip or deodex sotck zip rom ???
[Samsung Galaxy Ace Plus S7500] danyznd123:
GT-S7500L is a Latin version of ace plus so i don't think that you can find arabic...

Anyway Here you can find roms of this phone
[Samsung Galaxy Ace Plus S7500] mastershex:
do you know sb who can show me the way of adding new language to a custom zip ROM?
[LG Optimus 3D] Mr.Hoang:
Please help me fix the problem on the Korean stock rom:

My phone will automatically restart when changing the network mode from GSM to WCDMA, WCDMA to GSM. This causes inconvenience for me.
[G2 Q&A, Help & Troubleshooting] sdube3:
Is anyone else having significant problems getting a consistent lock on GPS? I am running this IOAP on a clean install as directed by the OP. Not only on this rom, but every other ROM I've tried, AOSP or stock roms have given me problems getting a lock for GPS. It seems like whenever i flash a new rom, the GPS will usually get a lock within the first few minutes. However after the first use It is very unreliable and rarely will connect or get a consistent lock. Can anyone provide some sort of guidance with this?

I'm thinking it may be the phone. If so, can I get Verizon to replace it even if I rooted it?

Thanks
[G2 Q&A, Help & Troubleshooting] jam256:
I just got a D802 yesterday and I'm noticing a long wait for a lock as well. As an ingress player its awful!

Someone help? I'm on stock rom with furnace kernel
[Galaxy Note II Q&A, Help & Troubleshooting] claustrox:
Help needed.

Made a backup in external sd (5 Gb backup)

Now I can't recovery it

This is what I am doing

- boot in custom CMW 6.0.3.3

- recovery from external Sd

- zip selected

- file not found in sdcard/clockwordmod/backup ( my backup is not there is in extsdcard)

- freeze in checking md5.

How can I solve it?
[Sprint Samsung Galaxy Note 3] VanillaG0rilla:
Does anyone have a PRL that will force 3g roaming? I barely get signal at my new job, so I was hoping to force roam on Verizon which has excellent signal here. TIA