[Q] How to filter/block ads - Windows Phone 8 Q&A, Help & Troubleshooting

Is there a way to filter or block ads in the apps ? In android is possible to mod a hosts file through apps such as AdAway or AdFree; has WP8 something similar ?

the gladiator said:
Is there a way to filter or block ads in the apps ? In android is possible to mod a hosts file through apps such as AdAway or AdFree; has WP8 something similar ?
Click to expand...
Click to collapse
No !!!

You can edit the HOSTS file with an interop-unlocked phone. There's no current way to do it on a phone without interop-unlock, though.

Eye to change the host file First, as gooddaytodie says you need to interop and then enable full access to get full access to system folders. .. I have tried to edit the file to remove the ads from app but then I found myself with 3g and wifi not working.. So I thought I'd put the original file but are no longer able to replace it because Microsoft protected.. I had to Flash the full partition. Informed well before modifying it

It`s not the way with Windows Phone 8, but anyway. I`m using my router Netgear router to block the ads. Of cource it will work only when you`re connected to your Wi-Fi spot (or LAN with PC, Laptop or any other Ethernet-compatible thing).

I appreciate the information you gave me (and to the forum). A big thanks to GoodDayToDie who gave some hope and a "grosso grazie" to BlackSilverGT for the heads-up.
GoodDayToDie, could you please elaborate a bit your answer in order to avoid what happened to BlackSilverGT ? The alternative would the work-around suggested by winphoneuser

I have no explanation for what happened to @BlackSilverGT, so I can't promise how to avoid it. I used an app which moves files via CRpcComponent (rather than using the full access via MTP hack) but I have modified the HOSTS file that way, and it works. Maybe the problem was the *particular* modifications you made? I wasn't trying to block ads or anything like that, just intercepting traffic from an app. The tool I wrote for the purpose was a one-off and I seem to have deleted it, but I have a more general-purpose file editing utility under development.

Related

[SOLVED]Medscape App. Help needed!!

Im a medical student and I really would love to be able to use the newly available Android Medscape app (free from the market) on my phone.
Unfortunately, it says in description of the app that it may have problems with "rooted" phones. Im assuming it means our HD2's running android on NAND as well, because after installing the App on my phone, I am unable to update/download the Clinical reference data required for the app to work offline.
It gives the error "Internet connectivity was interrupted..Please try again"
Any help from the developers or anyone else would be very greatly appreciated
dude0014 said:
Im a medical student and I really would love to be able to use the newly available Android Medscape app (free from the market) on my phone.
Unfortunately, it says in description of the app that it may have problems with "rooted" phones. Im assuming it means our HD2's running android on NAND as well, because after installing the App on my phone, I am unable to update/download the Clinical reference data required for the app to work offline.
It gives the error "Internet connectivity was interrupted..Please try again"
Any help from the developers or anyone else would be very greatly appreciated
Click to expand...
Click to collapse
Looking at the description and the error you gave, have you tried disabling any ad-blocking software? It may be something cooked into the ROM - if so, try asking the dev how to disable it. DLing now - i'll post back what I find.
.............................
EDIT:
Ok, having found this question asked on the thread for the ROM I use, you can remove medscape from the adblock 'hosts' list. (find it in \system\etc).
Original Post URL: http://forum.xda-developers.com/showthread.php?p=11521445&highlight=block#post11521445
I had to copy the file to PC before editing and copied back again using droidexplorer.
kinsago said:
Looking at the description and the error you gave, have you tried disabling any ad-blocking software? It may be something cooked into the ROM - if so, try asking the dev how to disable it. DLing now - i'll post back what I find.
Click to expand...
Click to collapse
Thanks for the reply. I forgot to mention the ROM im using. Its Core Droid DHD 1.5, and it seems you may be right. It says in the description of the ROM that the "Adds are Blocked (Host files modified)". Is there any way to reverse this host file change?
Fixed it with the help of the developer of the Core Droid ROM. Just opened the app "Add free" and hit "revert". Restored the original host file. Medscape works now.
im having the same issue and clicking the "revert" bottom on AdFree did not fix it
I have uninstalled AdFree and have the same problem all the time. Anybody fixed this?
i had the same problem!
After i revert the hosts file in ad-free, medscape did not update the reference!
So what i did:
I did not unistall ad-free, but:
- i revert the host file 3 times in a row;
- i stopped the access of AD Free from SuperUser (root access);
- and i restart medscape (i killed the process with automatic task killer) and start it again;
- and voila, my htc g1 is updating the reference while i text.
(i don't know what are the steps that make medscape update, but i guess, is the revert host file and restart the app, to it starts didn't knowing that can't access that host to update)
I hope this help you!
Good luck
It works for me, reverted host files, stopped Adfree acces to Superuser and voila!! Medscape is updating again. Thanx
how to correct medscape installation please?thx\
SOLVED!
Just got an OTA update for my flyer and software got updated to version 2.27.1540.32
The android version is 2.2.4 while sense is 1.0
Just for the record, AdFree only works on ROOTED devices. i mentioned in another thread on xda that adfree does not work for me. with this OTA update, my Medscape is finally installing as i type this - - -
Just kill the AdFree app and immediately run Medscape app,it'll definitely take the update.I did the same and it worked
i try looking for file in \system\etc
in use editor to open file host.. thera are a lot of files,
and it make me confuse, where the file "medscape from the adblock 'hosts' list" is ???
wisnu19 said:
i try looking for file in \system\etc
in use editor to open file host.. thera are a lot of files,
and it make me confuse, where the file "medscape from the adblock 'hosts' list" is ???
Click to expand...
Click to collapse
i had found problem solve
copy host file from \system\etc (in yr device) to PC
[*]and open using worldpad in pc
[*]use search from worldpad..type medscape
[*]and delete all file which has name medscape
[*]save !!
[*]move and replace host file which edit from pc to \system\etc in yr device (use es file explorer)
[*]install again medscape
[*]and the update reference should work again..done !!
not solved for me!
Hi everyone!
Well, I've experienced the same "connectivity error" as everyone with a root cellphone, after reinstalling medscape app at my cell. I never had AdFree, and even though I'm able to found the hosts file and take a look of it with my pc it says absolutely nothing about medscape (only 127.0.0.1 localhost and emptyness after), so I guess I must be getting the wrong file or not accesing to it correctly?
I've tried everything you said, but is still not working.
I'm pretty new with android, and I would really aprecciate you help, given the fact that this is one of my favorities app!
lalauri089 said:
Hi everyone!
Well, I've experienced the same "connectivity error" as everyone with a root cellphone, after reinstalling medscape app at my cell. I never had AdFree, and even though I'm able to found the hosts file and take a look of it with my pc it says absolutely nothing about medscape (only 127.0.0.1 localhost and emptyness after), so I guess I must be getting the wrong file or not accesing to it correctly?
I've tried everything you said, but is still not working.
I'm pretty new with android, and I would really aprecciate you help, given the fact that this is one of my favorities app!
Click to expand...
Click to collapse
i just rename file host in /system/etc via root explorer..then it works like a charm
note: ypu can rename it by any programs that's can mount and write root folder and explore (es file explore,x-plore,etc)
Rename?
ivaneris said:
i just rename file host in /system/etc via root explorer..then it works like a charm
note: ypu can rename it by any programs that's can mount and write root folder and explore (es file explore,x-plore,etc)
Click to expand...
Click to collapse
i have got a file in /system/etc called "hosts" , so what should i rename it after? im using root explorer.
Thanks
Thanks Ivaneris
Iam on CM 7.2 LG p500.I had same probs and ur method really worked like a charm.I thought I almost lost it but thanks to you.BTW I renamed hosts file as explorer

Alternative To Ad Free

Is there another ad blocking app that you can use with being rooted? This one is just not working no matter what I do, and emails to the dev have gone unanswered.
NO, unless you block the servers tru a Firewall, you also have to be rooted for AdFree to work. if you are rooted, just download the hosts file and copy it to "/etc/hosts" via adb, root explorer or whatever you like to use.
Do you leave it zipped, or unzip it first before moving it?
edit: Thanks, but that did not work.
Are all ads showing up or just some? If it is just some then the adserver might be missing from the hosts file.
All of them are being shown. That's certainly why I was hoping to find an alternative app. I have been working with this since I rooted and nothing works.

[Q] IDEA: Adding cappabilities to app

GoodDayToDie said:
Two problems with that.
First of all, the app's install directory is read-only to the app permissions. You can't create, delete, or modify any file there from within the app (without some sort of "jailbreak" at least).
Second, and possibly more importantly, the permissions sandbox (or "appcontainer") that the phone uses to restrict an app is created at app install. Modifying the manifest is unlikely to have any benefit whatsoever (it certainly didn't help on WP7).
A good idea, though. Always glad to see people checking for such things.
Click to expand...
Click to collapse
As wp8.1 allows to move an app to the sd-card, I think point one should be ok. So how about modifying the app? I plugged my sd-card to the pc but all app files are kind of encrypted..
I tried it with @GoodDayToDie Webserver 0.5.0. http://1drv.ms/1flmBN4
thanks
gipfelgoas said:
As wp8.1 allows to move an app to the sd-card, I think point one should be ok. So how about modifying the app? I plugged my sd-card to the pc but all app files are kind of encrypted..
I tried it with @GoodDayToDie Webserver 0.5.0. http://1drv.ms/1flmBN4
thanks
Click to expand...
Click to collapse
as my phone doesn't support SD Card please send me one of does little apps you moved to sd card (please send a free app to me)
I will check it
but if you want to try adding Capabilities to app then re-write it in the folder it's surely not possible .
application capabilities are all checked and stored in your phone exactly when you install them (from your pc using Developer Unlock or from store)
Le Sigh...
This has been discussed extensively long, long ago. The manifest is only parsed at installation. You can do whatever you want to the manifest afterwards; it doesn't seem to have any effect.
It wouldn't help much anyhow. You wouldn't be able to *launch* a sideloaded app with Interopservices if not interop-unlocked. This can be tested by interop-unlocking a phone, sideloading an interop app, resetting the MaxUnsignedApp value to undo the unlock, and trying to run the app.

[TUTORIAL] Block ads in Youtube apk (without xposed)

*edit
seems like it no longer works with updated youtube apk.
but give it a go anyway
hi guys
this is a simple trick which uses editing of hosts file to block youtube ads. works on KK, CM, AOSP JB etc.
i know alot of people use xposed and adblock and what not to block ads in youtube or use alternative youtube apps
however if you hate using 3rd party programs then this thread is for you.
Requirements*
-rooted phone
- file manager with root access (ie Root explorer, ES, CM file Manager etc)
- either edit hosts file manually or download my hosts file and push it to system/etc
-reboot
copy and paste the following into the hosts file and reboot (please note hosts file has no extension so DO NOT rename it to .txt, or .doc or anything like that, jsut leave it without any extension)
Code:
127.0.0.1 https://googleads.g.doubleclick.net/*
127.0.0.1 https://pubads.g.doubleclick.net/*
127.0.0.1 https://ad.doubleclick.net/*
127.0.0.1 https://s0.2mdn.net/ads/*
127.0.0.1 http://pagead2.googlesyndication.com/pagead/*
127.0.0.1 http://stats.tubemogul.com/stats/*
127.0.0.1 http://pubads.g.doubleclick.net/*
127.0.0.1 http://googleads.g.doubleclick.net/*
127.0.0.1 ##div.video-ads html5-stop-propagation
127.0.0.1 ##div.pyv-afc-ads-inner
127.0.0.1 youtube.com###osd-id
or alternatively
downlaod and push https://mega.co.nz/#!Hsg2iTSI!pCNvYDEtoUQzoDWCGqwKjiSopsUBQLxgWVFet1npir8
this to system/etc
Click to expand...
Click to collapse
or simply install adaway ...
mrassol said:
or simply install adaway ...
Click to expand...
Click to collapse
Or simply read?
i know alot of people use xposed and adblock and what not to block ads in youtube or use alternative youtube apps
however if you hate using 3rd party programs then this thread is for you
Click to expand...
Click to collapse
So you have no problem with 3rd party apps so clearly this thread is not intended for you... Some people do or just want to learn how to do things manually, this is xda DEVELOPERS after all...
Not sure why I'm even bothering to reply to a troll
This is nice
It isnt easily detected from sites when you edit the hosts, nice work!
Sent from my D6503 using XDA Premium 4 mobile app
adamsmth663 said:
hi guys
this is a simple trick which uses editing of hosts file to block youtube ads. works on KK, CM, AOSP JB etc.
i know alot of people use xposed and adblock and what not to block ads in youtube or use alternative youtube apps
however if you hate using 3rd party programs then this thread is for you.
Requirements*
-rooted phone
- file manager with root access (ie Root explorer, ES, CM file Manager etc)
- either edit hosts file manually or download my hosts file and push it to system/etc
-reboot
copy and paste the following into the hosts file and reboot (please note hosts file has no extension so DO NOT rename it to .txt, or .doc or anything like that, jsut leave it without any extension)
Code:
127.0.0.1 #https://googleads.g.doubleclick.net/*
127.0.0.1 #https://pubads.g.doubleclick.net/*
127.0.0.1 #https://ad.doubleclick.net/*
127.0.0.1 #https://s0.2mdn.net/ads/*
127.0.0.1 #http://pagead2.googlesyndication.com/pagead/*
127.0.0.1 #http://stats.tubemogul.com/stats/*
127.0.0.1 #http://pubads.g.doubleclick.net/*
127.0.0.1 #http://googleads.g.doubleclick.net/*
127.0.0.1 ##div.video-ads html5-stop-propagation
127.0.0.1 ##div.pyv-afc-ads-inner
127.0.0.1 youtube.com###osd-id
or alternatively
downlaod and push https://mega.co.nz/#!244n0CTJ!SC3nPlmtmt1i2d4R2z9txPSM6aIYwASihoAqxKorFB8
this to system/etc
Click to expand...
Click to collapse
I went on etc/hosts file on ES File Manager and tried to edit it. Copied this and pasted on it but it won't save. I have root and ES File Manager has root permissions... This is weird.
V4LKyR said:
I went on etc/hosts file on ES File Manager and tried to edit it. Copied this and pasted on it but it won't save. I have root and ES File Manager has root permissions... This is weird.
Click to expand...
Click to collapse
if it wont save then it means you might not have full root, try running the latest easy root again..
adamsmth663 said:
if it wont save then it means you might not have full root, try running the latest easy root again..
Click to expand...
Click to collapse
But Root Checker says I have full root... :laugh: Really weird.
I downloaded host file push to system/etc
And reboot but it looks not working when I try to watch YouTube there still have ad
Do I need to change permission?
Sent from my D6503 using XDA Free mobile app
paullu said:
I downloaded host file push to system/etc
And reboot but it looks not working when I try to watch YouTube there still have ad
Do I need to change permission?
Sent from my D6503 using XDA Free mobile app
Click to expand...
Click to collapse
try removing the # infront of each address listed
if that dosent work
download this host file it has 1000's of adddresses listed
https://mega.co.nz/#!Hsg2iTSI!pCNvYDEtoUQzoDWCGqwKjiSopsUBQLxgWVFet1npir8
try pushing this to system/etc (its 1.3 mb, the old file is 20kb, so you should be able to tell now if it has been pushed to the correct folder)
mrassol said:
or simply install adaway ...
Click to expand...
Click to collapse
adaway doesn't seem to block ads from the updated version of YouTube apk.
I've event tried adding the http listed here in my blacklist in adaway, reboot and still didn't work.
had to open the host list and add this list in manually for it to finally block ads in the YouTube apk.
"#" cannot be read by system. You should remove them from links. Also last entry blocking directly Youtube.com
dilldoe said:
adaway doesn't seem to block ads from the updated version of YouTube apk.
I've event tried adding the http listed here in my blacklist in adaway, reboot and still didn't work.
had to open the host list and add this list in manually for it to finally block ads in the YouTube apk.
Click to expand...
Click to collapse
Does this mean it worked? I've tried using YouTube Adaway (Xposed Module) + Adaway and still had ads in the original YouTube application.
I manually added the hosts to d away black list (since the actual file is too large to edit with all the text editors I've tried) and have gotten a majority of the ads blocked. The problem with adding hosts to the blacklist is that they need to be in the form of just the server name. Including anything else results in adaway complaining about it not being a proper host name.
I don't know how adaway handles these blacklisted host names, meaning I have no clue if it adds a /* to the end, but doesn't blocking just a server result in everything being blocked to begin with ... Since adaway doesn't allow us to add directories after the server we can't really be too specific about what we block..
Therefore I wasn't able to block anything coming from YouTube.com itself or else I'd block the site completely.
It would he a good idea to move your download link to Box for example (Dropbox probably also works but just tested it with Box) so that people with Adaway can copy the Box URL and add it directly to AdAway's Host Sources list so it automatically updates when they press update, so they don't need to always check here to see if any changes were made.
Here's my test link that works, (as far as adding to Hosts Sources in AdAway...whether or not YouTube ads are blocked I've yet to test fully again). It's fine if anyone wants to use this one, but there's no guarantee I'll update the list if the OP updates their list.
Link Deleted
Rebooted and after a bunch of tries, I ended up catching an ad. I'm going to see if I can catch some of the new URLs. Btw, this was with adaway's default hosts sources plus the YouTube hosts you posted as well as the moab list that's posted here on xda (that's a lot of hosts getting blocked...that moab lost is huge and as the name says, Mother Of All Ad Blocking. It does seem to be blocking some of the ads as they seem less frequent but could be placebo.
Edit: Seems like the adaway final merged lost of my goat sources is getting malformed cause after a
PHP:
grep "120.0.0.1 youtube.com###osd-id" /etc/hosts
Nothing is returned. Lemme reboot and see of the updated link I provided fixes the issue after applying the list again...
-----------
Well I unchecked all sources except the YouTube hosts from the Box link and even though it says it successfully applied the changes..it didn't..so off to try other cloud storages...might have to just create a webpage and put it there as I know that works but I don't see why this isn't working.
# when applied only "YouTube.com" gets redirected ..also is duplicate entries and I guess not formatted correctly to automatically import into adaway....
Update: Used logcat and checked the ad URLs and they are correct as listed here. So, I parsed through a little more and found where YouTube was pinging for ads, and then found the code in smali. Pretty sure I've found the ad URL constants and doing a build now where I just set each one to 121.0.0.1 and have it redirect back just as if in the hosts file and leave the rest of the code intact to reduce chances of error.
---------------------
Seems like only ads from googleads.g.doubleclick.net are passing through. Oh, yeah I found another URL to add to the YouTube list to redirect or add to adaway blacklist.
Code:
csi.gstatic.com
Looking at the code, it appears that the app pings a request for an ad and then receives it and passes it on to the actual video playback classes, so the URLs may not even be hard coded. If I could find what framework I'm missing I could look and see, still working on that.
I tried a few variations last night on changing the source, which I can decompile. Tried removing all the ad request calls by just returning void and leaving the methods empty and not removing the actual classes. I could use search and try removing all references to the classes so the entire ad interface is removed but doing so cleanly will take a lot of time.
In the mean time I'll keep adding new URLs as I find them. I just need to figure out the flow more...there's a lot of code. If anyone can decompile the resources .. It would be helpful (or know what framework I'm missing...I need to try again and look at the error log and find out what jar/apk the class is in.
---------------------------------------
Finally got resources to decompile. Stupid apktool mobile is picky about imported framework naming. And I has to import them manually but got it straight .. Anyways can't find any host or proxies in there or URLs .. Time to check the /data folder for YouTube though. Guess I couldn't technically modify the XML there so that the ads aren't visible but that's not what im after right now.
----------------------
The Google Services Framework database contains tables which also contain booleans for controlling ads (both in /data/data and /data/0/user. The googleads.g.doubleclick.net host is also apparently controlled here and looks like the reasoning why this was passing by was due to it being enabled and therefore white listed. Use SQLLite Editor and you'll see what I mean. This has been mostly what I've been looking for. Several other ad switches can be turned on and off here.. Some ads are still fetched by youtube.com/whatever, but I haven't manually added that to my hosts yet as was looking for a way to maybe disable those as well elsewhere. There's a lot in gsf I probably looked right past and missed.
Since when hosts file can block elements? Hosts file can't read anything besides domain name. Guys don't waste your time adding this nonsense to your hosts file. It might even slow down your browsing because it won't read the hosts file and it will wait till it times out. If you wish then download a proper hosts file but don't add these lines manually.
---------- Post added at 06:18 AM ---------- Previous post was at 05:54 AM ----------
MidnightHarvester said:
Some ads are still fetched by youtube.com/whatever, but I haven't manually added that to my hosts yet as was looking for a way to maybe disable those as well elsewhere. There's a lot in gsf I probably looked right past and missed.
Click to expand...
Click to collapse
The easiest way to see all URLs by using your router if you have tomato or ddwrt installed. All you need is enable dnsmasq log and then you can see all urls requests. I didn't spend much time only about 15 minutes but I couldn't block ads using hosts file and I blocked most of the requests using hosts file. Maybe I missed something but anyway give it a go and don't use wildcards, slashes, divs, or http in hosts file. A proper hosts file must look like
127.0.0.1 domain.com
or
127.0.0.1 www.domain.com
Almazick said:
Since when hosts file can block elements? Hosts file can't read anything besides domain name. Guys don't waste your time adding this nonsense to your hosts file. It might even slow down your browsing because it won't read the hosts file and it will wait till it times out. If you wish then download a proper hosts file but don't add these lines manually.
---------- Post added at 06:18 AM ---------- Previous post was at 05:54 AM ----------
The easiest way to see all URLs by using your router if you have tomato or ddwrt installed. All you need is enable dnsmasq log and then you can see all urls requests. I didn't spend much time only about 15 minutes but I couldn't block ads using hosts file and I blocked most of the requests using hosts file. Maybe I missed something but anyway give it a go and don't use wildcards, slashes, divs, or http in hosts file. A proper hosts file must look like
127.0.0.1 domain.com
or
127.0.0.1 www.domain.com
Click to expand...
Click to collapse
Yeah I had to clean this up before even trying.. I have all ads blocked now anyways thankfully. Some ada are manages in Google Play Services and stored in one of the databases in the data file for that, and is most likely white listing these certain domains we can't block. My host file is formatted correctly ..been using them forever before uneven started using them to block ads.
Normal hosts I use blocks most the ads, blocked the g.googleads whatever it is domain via editing the play services database so other APS don't see them, then added my code in the smali eliminating YouTube from even pinging for ad servers...so all good
Thanks for the tips though in sure they'll be useful ')
This procedure works great!
I cannot post links for the moment. Try to search on Google this two keywords: "lolloland youtube"
The first link "TechNote: How to remove video ads from Youtube without ..." is a good procedure to configure your hosts files not to see pre-roll Youtube Ads.
Numerio said:
I cannot post links for the moment. Try to search on Google this two keywords: "lolloland youtube"
The first link "TechNote: How to remove video ads from Youtube without ..." is a good procedure to configure your hosts files not to see pre-roll Youtube Ads.
Click to expand...
Click to collapse
Really does not work I don't get why android's hosts file gets ignored if it is about the Youtube app.

[Q] Interop-unlock Ativ S with latest software (8.1 Update 1 or later)?

Hi,
with all those Lumia posts I'm wondering if it is also possible to interop-unlock a Samsung Ativ S with the latest software (8.1 Update 1 or later) on it *without* a prior downgrade to 8.0 GDR2/GDR3. If it is possible please tell me how or where to find the answer (my search yielded no result so far).
With interop-unlock I mean accessing the 'full' file system and registry and having additional capabilities just like it was/is possible with 8.0 GDR2.
Thanks.
Unblock RPC (file called "Non-production errors.txt" in the Documents folder of the phone, if I recall correctly). There are now two options:
First option: use chamber hijacking.
* Move an app with ID_CAP_INTEROPSERVICES (I like to use HTC's silly "Converter" app; it should still be available on all devices, but other targets are more popular) to the SD card.
* Either sideload or unzip and copy the contents to the SD card an app that uses Samsung RPC to write to the registry. You may need to remove ID_CAP_INTEROPSERVICES from the app before sideloading.
* Use any of the several tools for app hijacking, or do it manually (remove the Hidden and System flags from D:\WPSystem, then rename D:\WPSystem\apps to something like D:\WPSystem\apps1, then delete the files from the install folder of the app that you're hijacking, then move or copy the files from the install folder of the app that uses RPC into the install folder of the app you're hijacking; don't forget to un-rename the apps folder afterward).
* Run the hijacked app; it should by the registry editor app you replaced it with instead, and you can now interop-unlock the phone.
Second option: Use @djamol's "Root Tool" app from the Store, or another app that can modify its own capabilities via SD card tricks.
* Install "Root Tool" from the store; it should show up in Search.
* Move it to the SD card if it wasn't installed there to start.
* Run the app, hit Help, and follow the instructions (several of them are similar to the manual instructions above, but at the end you have to move the app from SD back to Phone before the trick works).
Note that in either case, the EnableAllSideloading app won't work (technically BootstrapSamsung will, but you shouldn't use it since it assumes EnableAllSideloading will be used afterward). Microsoft basically removed the capability that EnableAllSideloading relies on.
Thanks for your reply! So basically the same way works with Ativ S that works with Lumia and you don't need the Samsung diagnosis tool anymore. You just need SamWP8 or a similar tool that uses Samsung RPC after unblocking RPC.
I'll give this a try on the next weekend(s). :good:
Yeah, basically just that. The diagnosis app no longer has the registry editor, and the steps needed to launch to a specific page in an app (such as the reg editor) are technically still possible but are identical to just installing an interop-based registry editor (via hacks), so do that instead.
GoodDayToDie said:
Yeah, basically just that. The diagnosis app no longer has the registry editor, and the steps needed to launch to a specific page in an app (such as the reg editor) are technically still possible but are identical to just installing an interop-based registry editor (via hacks), so do that instead.
Click to expand...
Click to collapse
But after is it possible to unlock all capabilities?
How to interop-unlock now?
Mattemoller90 said:
But after is it possible to unlock all capabilities?
Click to expand...
Click to collapse
I'm curious about that as well.
I tried the second option from (you) GoodDayToDie: It is not possible to use Samsungs Registry Editor component from Root Tool after following the instructions (moved app to SD, deleted the two files, moved stuff from HACK-subfolder to its parent, moved app to phone memory; file "Non-Production Errors.txt" exists in Phone\Documents -- BTW: Is the file name case-sensitive?). The general registry editor from Root Tool works, but with this one it is not possible to write several important keys (e. g. MaxUnsignedApps).
After this I tried the first option: I can successfully deploy CustomPFD (replacing Preview for Developers by hand or with CustomWPSystem). But what to do then?
I tried replacing Preview for Developers with SamWP8, but the app won't start then (getting "Loading ..." for about ten seconds then it closes); also tried commenting some capabilities of SamWP8 and repeating, but has no effect.
Deploying SamWP8 or IO Explorer using application deployment tool obviously fails because of missing interop capability.
This is a fresh and clean installation of WP 8.1 Update 2 now if it should matter.
Any further hints would be appreciated.
My Samsung died months ago (spontaneous hardware failure; I wasn't even hacking on it at the time) so I can't test Samsung-specific things anymore.
The steps as described (by both you and me* *should* work - I assume you rebooted the phone afterwards - so if it's not then I'm confused. The registry editor in Root Tool is mildly terrible and sometimes gives error messages when stuff actually works, but if it's really not working then I'm not sure what you do about that.
As for unlocking all capabilities, that's going to take a little work. The hack used by BootstrapSamsung unlocks one capability, and technically it could be applied to *all* the capabilities, but it changes the registry value type and loses a couple of NULL bytes at the end of the value every time you do it, which is potentially going to break things if you do it to all the capabilities / leave the capabilities in that state for long.
For what it's worth, if you're willing to hard-reset, the OemSettings.reg method mentioned in a few other threads should work too. It requires writing to a normally-unreachable part of the file system, but the Samsung RPCComponent class allows you to do this. I haven't tested it, though, and it does require a hard-reset.
Im interested in this too
If it does not work then what to do if im on 8.1 update already?
@up
AFAIK path is
Unblock RPC Functions proved easy. You just need to create an empty file:
Phone \ Data \ Users \ Public \ Documents \ Non-Production Errors.txt
Click to expand...
Click to collapse
Maybe that's why it didn't worked if you put it just in documents.
I just want to change black/white background-color and accent color in registry. That's all.
Regards
GoodDayToDie said:
My Samsung died months ago (spontaneous hardware failure; I wasn't even hacking on it at the time) so I can't test Samsung-specific things anymore.
Click to expand...
Click to collapse
Ouch, too bad. Would be really useful to have your helping hands on getting this done.
The steps as described (by both you and me* *should* work - I assume you rebooted the phone afterwards - so if it's not then I'm confused. The registry editor in Root Tool is mildly terrible and sometimes gives error messages when stuff actually works, but if it's really not working then I'm not sure what you do about that.
Click to expand...
Click to collapse
I did reboot.
Is there an app with a basic registry editor out there so I could at least change phone manufacturer like I could with Root Tool (Root Tool doesn't seem to be available in the store anymore)?
As for unlocking all capabilities, that's going to take a little work. The hack used by BootstrapSamsung unlocks one capability, and technically it could be applied to *all* the capabilities, but it changes the registry value type and loses a couple of NULL bytes at the end of the value every time you do it, which is potentially going to break things if you do it to all the capabilities / leave the capabilities in that state for long.
For what it's worth, if you're willing to hard-reset, the OemSettings.reg method mentioned in a few other threads should work too. It requires writing to a normally-unreachable part of the file system, but the Samsung RPCComponent class allows you to do this. I haven't tested it, though, and it does require a hard-reset.
Click to expand...
Click to collapse
I tried to use ROMRebuilder, but it just gave me "Failed " when tapping "Backup". But with full file system access I copied OEMSettings.reg zip-file out of the known C:\Windows subdir, extracted the .reg-file, appended all the unlock stuff, repacked and put it back to its original place overwriting the original file (with Root Tool, because in Windows Explorer I didn't have the right to write - Root Tool told me it was successful. I didn't double check ). But after resetting (About - Reset phone) no unlock or access to C:\ was there. Looks like the stock ROM. What went wrong..?
Edit: Used CustomPFD for registry access. Looking at "This PC\Samsung ATIV S\Phone\Windows\Packages\RegistryFiles\OEMSettings.reg" I can see that it is the original file, not my modified one. Is this file restored from somewhere upon reset or did my copy action fail?
Edit2: Tried using vcREG_1_2_BOOTSTRAP (replaced Extras & Info). It gives me an error about missing ID_CAP_INTEROPSERVICES, so it can't do anything.
And CustomPFD can't write MaxUnsignedApp. :-/
Not sure if ROMRebuilder is smart enough to use Samsung's RPC instead of Nokia's for moving the file into place, but regardless it requires interop itself (at least, I'm not sure how it could work otherwise). Root Tool definitely requires interop in order to overwrite Windows files, although it can do so. For the record, for stuff like just reading files or registry values, you can use the (normal-caps) version of my webserver; might be a bit easier.
vcREG should work, assuming it supports Samsung RPC - I think so, but I haven't checked - and you use the whole app hijacking thing correctly. Did you launch the hijacked app after the installation? Pretty sure Extras+Info has interop, so that *should* work.
EDIT: Assuming that the Samsung RPC service is working at all. I don't know of any easy way to test that short of just trying to do things with it, though. I don't think they "fixed" the RPC unblock, though...
GoodDayToDie said:
Not sure if ROMRebuilder is smart enough to use Samsung's RPC instead of Nokia's for moving the file into place, but regardless it requires interop itself (at least, I'm not sure how it could work otherwise). Root Tool definitely requires interop in order to overwrite Windows files, although it can do so. For the record, for stuff like just reading files or registry values, you can use the (normal-caps) version of my webserver; might be a bit easier.
Click to expand...
Click to collapse
Okay, so it probably didn't replace the file at all but only showed a success message. Grmbl. Which file manager would you recommend for moving the file to its place or in general?
vcREG should work, assuming it supports Samsung RPC - I think so, but I haven't checked - and you use the whole app hijacking thing correctly. Did you launch the hijacked app after the installation? Pretty sure Extras+Info has interop, so that *should* work.
Click to expand...
Click to collapse
Ohhh, you mean if I started the app that's about to be hijacked before actually hijacking it? No, I did not. (Not sure what Extras+Info would do on a Ativ S...)
But I do have to?
Edit: Removed Extras&Info (with dummy.xap), installed it again, started it (it actually works) and replaced it with vcREG_1_2_BOOTSTRAP.xap. Started vcREG, but it still gives me "error initializing. check if you have correct permissions (ID_CAP_INTEROPSERVICES). registry functions disabled".
I've also deployed CustomPFD and original preview for developers to sdcard. I have access to the registry but can't write values
Have you tried to hijack Extra+Info permissions with CustomPFD? It does not work with original PFD but it may work with Nokia one. I can't find Extra+Info xap to test, sorry.
Ok tried to deploy ROMRebuilder and hijack original PFD permissions. ROM Rebuilder just crashes on start (no message) WP 8.1 14157.
Installed ROMRebuilder with deleting Capabilities from xap and deployed it from deployment tool.
Manually removed PfD with SD hack and replaced it with ROMREbuilder.
It starts but when pushing "Backup" it says FAILED
Jesus im so tired with this phone...
ROM flasher does not work at 8.1 x64 even with test mode..
Ezio21 said:
Have you tried to hijack Extra+Info permissions with CustomPFD?
Click to expand...
Click to collapse
Yes I have. CustomPFD doesn't start in this case (it does when I'm replacing Preview for developers).
cerebos said:
Edit: Removed Extras&Info (with dummy.xap), installed it again, started it (it actually works) and replaced it with vcREG_1_2_BOOTSTRAP.xap. Started vcREG, but it still gives me "error initializing. check if you have correct permissions (ID_CAP_INTEROPSERVICES). registry functions disabled".
Click to expand...
Click to collapse
Your phone can't initialize Lumia RPC.
So what can we do?
What apps are there that use Samsung RPC to write to the registry? I know SamWP8 and IO Explorer. Any more?
@cerebos
Huh im sorry but it seems that only one way to get that Interop unlock is to flash GDR3
I flashed GDR3 but there is NO WAY to unlock your phone anymore. WP 8.0 developer registration is down. You can't install developer unlock helper and can't interop unlock your phone.
Also because of Samsung firmware update you can't install custom rom on wp8.0
How to interop unlock WP 8.0 without developer unlock? Any way? Or we're locked forever?
As far as I know you can still use beta apps on windows store. Is there anyone with personal developer account reading and could upload Interop_Unlock_Helper_Debug_ARM.xap as BETA to the store and send me the link? I would be very grateful (
@-W_O_L_F- maybe?
We're in very bad situation now. Thanks for any help or advices
Based on the Posting here (by @-W_O_L_F-) it looks like 8.1 Update 2 can't be interop-unlocked. So I'll need to downgrade first.
Edit: Assuming vcREG could write to Samsung Registry is only true for a small set of values, it is never true for interop-unlock. For this you need a registry editor with Samsung's RPC components.

Categories

Resources