Exchange Security bypass for moto x - Moto X Q&A

i have tired the security bypass in xposed but it didnt work. does anyone know of one that does work. im on an att x

looking for this as well

Interested in this also. Anybody found anything?

It will probably take some time before someone takes the securities out of the stock app. Until then you can use a 3rd party mail app from the market like MailDroid to access your exchange email without a screen lock.

We are working on the same thing over here...
http://forum.xda-developers.com/showthread.php?p=45776460#post45776460
A Dev just posted some instructions for one of the guys who says he partially knew how to do it. So we shall see if anything comes of it.

Ya I edited my last email app similar to those instructions and just replace the security check with 1 or 0 or whatever it was that made it think it ran the check already. If I get bored I'll work on the Verizon apk this weekend. I haven't touched the stuff in a while so I might not but I'll post the apk if I get around to it. Drinking can inhibit the process though.
Edit: if someone is already doing it and I just missed that info let me know in the chance I do decide to do it this weekend.
Sent from my XT1060 using xda app-developers app

verizon moto x
I am currently working on the email.apk. there is also the exchange2.apk that i believe will need to be edited as well.
When I edited the email apk a couple of years ago I just went to these lines and returned true and false. These lines check to see if the policies are enabled I believe.
Code:
.method public isActive(Lcom/android/emailcommon/provider/Policy;)Z
.registers 1
.parameter "policy"
.prologue
const/4 v0, 0x1
return v0
.end method
.method public isActiveAdmin()Z
.registers 1
.prologue
const/4 v0, 0x0
return v0
.end method
I then tried to recompile it and i got an error stating that two registers were required for one of the two changes. I haven't looked at which line yet because I know I don't know enough to figure out why it needs to registers. Here is the error.
Code:
c:\MotoX>java -Xmx512M -jar smali.jar out -o classes.dex
out\com\android\email\SecurityPolicy.smali[1659,4] This method requires at least
2 registers, for the method parameters
so this is where i am and this is what im stuck on. Ill attach the entire smali file so anyone that can help can take a look at the entire code. Ill also attach the security admin smali in case that matters.
Ill also begin working on the exchange apk, but this apk didn't exist the last time i did this so I'm not sure what I'm going to do with it. Like I said, Im not good at this stuff I just really want an exchange security bypass for my Moto X.

i have been messing with that ExchangeNoPIN-v6.0 found in here
i am have a dev edition, rooted, on the 4.4.4 ota. i believe on 4.4.2 i had it working simply by flashing the zip on twrp but this was not the case with 4.4.4. i tried a bunch of different things by trial and error... eventually what i ended up doing the following get this to work (not sure which step was the key).
you have to make sure to clear data and cache in both email and exchange service apps first
i copied email.apk and exchange2.apk from the zip in the aforementioned thread into my phone.
interesting bit on 4.4.4 is that email.apk is in /system/priv-app and exchange2.apk is in /system/app
i took manually copied both apks into /system/app and /system/priv-app using root explorer, and set 0644 permissions for each, rebooted, didnt work, so then i simply manually installed both of them by clicking on the apks (from the original directory, before they were copied to the system folders). this installed them as an "update."
after I did this, everything was working.

Use a program Nine is is an awesome Exchange client and has either device or application support. Keeps me from locking down my device with the stock exchange client.
Sent from my XT1053 using Tapatalk

Related

[MOD] Phone APP Const. Ringtone Vol. with Inst.[CWM Flashable](updated 1/24/2011)

Hi guys this is a MOD for Vibrant ported from i9000 forum (http://forum.xda-developers.com/showthread.php?t=759537) to remove annoying Samsung incremental ringtone "feature"
Update:
Attached file is a Tested Bionix-V CWM update.zip, should work on any deodexed KA7 ROM
Also note you can use this on an odexed rom as long as you delete the phone.odex file.
Click to expand...
Click to collapse
Install instructions:
1. Reboot in recovery.
2. Apply ConstantRT-Phone.zip update.
3. Reboot the phone.
Notes:
-The update clear dalvik-cache to avoid issues (reboot should take a bit longer the first time after applying this).
-If you want to apply Phone.apk manually just extract apk from the zip file and copy over /system/app/ (root needed)
if you want make it for your ROM just follow the following steps.
Thanks to:
s15274n, YetisAreReal, MoWeb and Br1cK'd from think tank thread: http://forum.xda-developers.com/showthread.php?t=863033
the_ozyrys from i9000 forum goes the credits for finding this.
Detailed procedure for making the mod:
0. Download Apk Manager from here: http://forum.xda-developers.com/showthread.php?t=695701
1. Get your Phone.apk (/system/app/Phone.apk) and copy it to apk_manager\place-apk-here-for-modding.
2. Get twframework-res.apk (system/framework/twframework-res.apk) and copy it to apk_manager\place-apk-here-for-modding.
3. Open Apk Manager running Script.bat inside apk_manager folder.
4. Choose option 22 and select the number corresponding to Phone.apk.
4.5. Choose option 19 (compression level) and select 7 (maybe works with 9, i just tried with 7 and worked).
5. Choose option 10 and when asked drag twframework-res.apk to it.
3. Open folder with Phone source (<Apk Manager folder>\projects\Phone.apk\smali\com\android\phone ).
4. Open file Ringer$1.smali with your favourite text editor.
5. Find lines (2 lines) that reads:
Code:
invoke-virtual {v1, v5, v4, v3}, Landroid/media/AudioManager;->setStreamVolume(III)V
6. Delete this lines, save the file.
7. Go back to Apk Manager and choose option 11, when asked if a system apk choose "yes", then when asked if u want to put aditional files say "yes".
8. When "Press any key to continue . . ." appears go to apk_manager\keep\ and remove classes.dex (this is the compiled modified data or something ), then press Enter to finish.
9. Put the phone into Flight mode.
10. Go to apk_manager\place-apk-here-for-modding and push unsignedPhone.apk as Phone.apk into /system/app folder
10.5 Turn Flight mode off and/or reboot the phone to avoid FCs.
11. Enjoy constant-volume ringtones.
Can you give a bit more info about apk_manager? Thank you...
Thanks for making it work was not working no matter what I tried I am guessing the twframework-res.apk had something to do with it. Also note you can use this on an odexed rom as long as you delete the phone.odex file.
dasunsrule32 said:
Can you give a bit more info about apk_manager? Thank you...
Click to expand...
Click to collapse
added Apk Manager link
Man, glad you found the way. Three of us in think tank have been going crazy trying to get this to work. I still haven't tested personally, but will soon.
Edited: would be nice to see a little credit thrown to the three of us that have actually been working on this publically in that think tank. I'm sure you've been following it and learning from our trials, which is what this community is about, but just sayin.
Ginger Clone's of the World Unite! Via the XDA App
Br1cK'd said:
Man, glad you found the way. Three of us in think tank have been going crazy trying to get this to work. I still haven't tested personally, but will soon.
Edited: would be nice to see a little credit thrown to the three of us that have actually been working on this publically in that think tank. I'm sure you've been following it and learning from our trials, which is what this community is about, but just sayin.
Ginger Clone's of the World Unite! Via the XDA App
Click to expand...
Click to collapse
There u go!!!
Muchas gracias senior! I am about to hijack a laptop at the airport and give this a shot. Ok, wrong choice of words, but you get my drift. My apk wil be GingerClone final, I will post my results,and we can get this rolled out to other roms.
Ginger Clone's of the World Unite! Via the XDA App
Thanks Worked like a charm - Nero V3.
d3xt3rlab said:
Hi guys this is a MOD for Vibrant ported from i9000 forum (http://forum.xda-developers.com/showthread.php?t=759537) to remove annoying Samsung incremental ringtone "feature"
Attached file is a Tested Modded Nero V3 ROM Phone.apk, should work on any deodexed JL5 ROM
if you want make it for your ROM just follow the following steps.
Thanks to:
s15274n, YetisAreReal, MoWeb and Br1cK'd from think tank thread: http://forum.xda-developers.com/showthread.php?t=863033
the_ozyrys from i9000 forum goes the credits for finding this.
Detail procedure for making the mod:
0. Download Apk Manager from here: http://forum.xda-developers.com/showthread.php?t=695701
1. Get your Phone.apk (/system/app/Phone.apk) and copy it to apk_manager\place-apk-here-for-modding.
2. Get twframework-res.apk (system/framework/twframework-res.apk) and copy it to apk_manager\place-apk-here-for-modding.
3. Open Apk Manager running Script.bat inside apk_manager folder.
4. Choose option 22 and select the number corresponding to Phone.apk.
4.5. Choose option 19 (compression level) and select 7 (maybe works with 9, i just tried with 7 and worked).
5. Choose option 10 and when asked drag twframework-res.apk to it.
3. Open folder with Phone source (<Apk Manager folder>\projects\Phone.apk\smali\com\android\phone ).
4. Open file Ringer$1.smali with your favourite text editor.
5. Find lines (2 lines) that reads:
Code:
invoke-virtual {v1, v5, v4, v3}, Landroid/media/AudioManager;->setStreamVolume(III)V
6. Delete this lines, save the file.
7. Go back to Apk Manager and choose option 11, when asked if a system apk choose "yes", then when asked if u want to put aditional files say "yes".
8. When "Press any key to continue . . ." appears go to apk_manager\keep\ and remove classes.dex (this is the compiled modified data or something ), then press Enter to finish.
9. Put the phone into Flight mode.
10. Go to apk_manager\place-apk-here-for-modding and push unsignedPhone.apk as Phone.apk into /system/app folder
10.5 Turn Flight mode off and/or reboot the phone to avoid FCs.
11. Enjoy constant-volume ringtones.
Click to expand...
Click to collapse
DUDE!!!! It's alive, it's alive. Nice tutorial.
I hit the thanks button and for Br1cK'd also because he tried to help me.
I assume I need to adb push this to install it?
beren28 said:
I assume I need to adb push this to install it?
Click to expand...
Click to collapse
Or you can use root explorer and just copy it over from the SD card. Remember to enable flight mode first and reboot.
Once in a great while flight delays are a good thing. Was able to bribe a very nice person at the bar fir use of their laptop in exchange for drinks. Gave this bad boy anothr run, and after more than a few frustrating days of fc's and this not working, it finally works!
Big thanks to all who collaborated in getting this to the Vibrant. s15274n, Yetis, MoWeb, d3xt3r, it took us a little bit to figure it out, but we got it. Of course all credit goes to the_ozyrys who found the original fix for the i-9000.
I do think that deleting the classes.dex when compiling as a system app is the key. I followed the steps in the op, only thing I did differently was decompile with option 9 instead of 10, and didnt need the dependencies that way. Recompiled as a system app, keeping all but the classes.dex. Went to flight mode, then renamed my original phone.apk from system/app, and pushed the file as per the op. Basically I did everything the same accept for using option 9 to decompile. This works perfectly. No fc's, and on any volume level I have a steady ringer.
I can't post the apk right now, thought I'd be able to if I logged onto the website rather than the app from my phone, no dice, but I will post it the first chance I get.
*********
Edited: APK attached, this is only known to work on GingerClone Final, build date 12/21. Repeat, I made this from GingerClone, and it may not, probably won't, work for other roms. Backup your files as always. Not with this apk, but I have been stuck in an fc loop with previous attempts and needed to push the stock one via adb, probably won't happen, but a word to the wise.
Can we get a easier way to install this mod? My computer is toast and only able to do things directly on my phone
Sent from my SGH-T959 using XDA App
Vinsane said:
Can we get a easier way to install this mod? My computer is toast and only able to do things directly on my phone
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Its a rom specific mod as per the i9000 thread. And a new one would need to be made for each rom to match changes made to the respective roms and frameworks. Its not a one size fits all mod. D3xt3r posted one for jl5, specifically nero v3, if that matches your rom you can move it over using your favorite root explorer app directly from your phone.
Ginger Clone's of the World Unite! Via the XDA App
that's kinda funny... my friend disliked my phone because of the volume increasing "feature". if this works, i wonder what he'll say lol
Br1cK'd said:
Its a rom specific mod as per the i9000 thread. And a new one would need to be made for each rom to match changes made to the respective roms and frameworks. Its not a one size fits all mod. Dext3r posted one for jl5, specifically nero v3, if that matches your rom you can move it over using your favorite root explorer app directly from your phone.
I have Nero V3. So just download the apk and install using astro?
Sorry for the noob questions. Just don't want to screw anything up.
Ginger Clone's of the World Unite! Via the XDA App
Click to expand...
Click to collapse
Sent from my Galaxy S via XDA App
Vinsane said:
Sent from my Galaxy S via XDA App
Click to expand...
Click to collapse
Yes you should be able to download his .apk and use it since you are on the same rom. Here is mine for stock JL5 odex/deodex.
Anyone do this for stock JL5?
I am using the attached Phone.apk from Post #1 for Nero V3.The only FC I get is when in Settings->Wireless and network-> selecting Mobile network= FC
EDIT: sorry the FC had nothing to do with the Phone.apk. It was due to the throttle mod I had.
This was running great when I installed it yesterday. Then today I kept getting dropped calls and FC's. I've since reverted and everything is fine. Can't figure out why it worked for a day then decided to give problems.
Running Nero v3 JL5

[MOD/HOW-TO] Remove hard key vibes via android.policy.jar

I thought I'd offer my solution to disabling the hard key vibrations on the Atrix since other people might find this useful. This method differs from the other solutions in that it doesn't tamper with your Silent Mode vibrations (like StreakVibrations does) and it's code based, so it shouldn't tamper with any themes you have installed (like the framework-res.apk method). It is firmware dependent though since it's a code modification.
You'll need an android.policy.jar modified for your firmware.
What I'm doing is I'm modifying the method called performHapticFeedbackLw, and telling it to skip triggering the vibrate pattern for all effects (there are 5) except for keyboard taps. Long press vibe, virtual key vibe, safe mode disabled vibe, and safe mode enabled vibe will no longer trigger... Incidentally, does anyone know what safe mode on this phone refers to?
To use the file, you need to be on Bell, Telstra, GingerBlur, Gladiatrix or stock ATT 1.8.3 firmware, and be deodexed. Can you copy the file to your phone without being deodexed? I don't know. I'm a programmer, but an Android newbie so just to be safe it's best if you're deodexed.
Before you try anything, obviously make sure you are backed up. At least copy your existing android.policy.jar so that you can restore it if necessary.
All you need to do is either:
a) Run the novibes.bat script packaged in the zip. There are a couple prerequisites:
1. Make sure to set your USB connection to "None" on your phone.
2. On your phone, go to Settings > Applications > Development and make sure USB debugging is turned on.
3. Plug your phone into your PC and let it install any necessary drivers.
4. Then you can run novibes.bat.
or
b) Follow the steps outlined below to do it manually:
1. Replace /system/framework/android.policy.jar with the one that I've attached.
2. Make sure the permissions of the file are set to rw-r--r-- (thanks for reminding me, Meloy and for correcting, natboy!). The easiest way is to use Root Explorer, long press the file, choose permissions, and set owner: read/write, group:read, others:read. Otherwise, use Terminal and type "chmod 644 /system/framework/android.policy.jar" without the quotations.
3. Reboot.
For those not on stock Bell, I'd be willing to modify your android.policy.jar and post it here if you provide somewhere for me to download it, and specify what firmware it comes from. It's quite quick to do once you're set up so I don't mind. Alternatively, make the change yourself:
1. Download baksmali and smali (both .jars and scripts, total 4 files).
2. Copy /system/framework/ from your phone to your computer.
3. Copy all the files from step 1 to the framework directory from step 2 on your computer.
4. Unzip android.policy.jar and copy its classes.dex file to the framework directory on your computer.
5. From the command line, navigate to the framework directory and run "./baksmali classes.dex". It will create a directory named "out".
6. Open "out/com/android/internal/policy/impl/PhoneWindowManager.smali" in a text editor.
7. Search for a method called "performHapticFeedbackLw". Go to near the bottom of that method, and you will see the Dalvik bytecode representation of a switch statement:
Code:
.sparse-switch
0x0 -> :sswitch_27 #This is for long press vibe
0x1 -> :sswitch_35 #This is for virtual key vibe
0x3 -> :sswitch_38 #This is for keyboard tap vibe
0x2710 -> :sswitch_3b #This is for safemode disabled vibe
0x2711 -> :sswitch_3e #This is for safemode enabled vibe
.end sparse-switch
8. Here's an example of how you might want it to change. Basically you want to replace the original goto labels with one that causes the method to step out without triggering a vibe, and that notifies the calling method there was no vibe by returning false. The label to use is called ":cond_1d":
Code:
.sparse-switch
0x0 -> :cond_1d #This is for long press vibe
0x1 -> :cond_1d #This is for virtual key vibe
0x3 -> :sswitch_38 #This is for keyboard tap vibe
0x2710 -> :cond_1d #This is for safemode disabled vibe
0x2711 -> :cond_1d #This is for safemode enabled vibe
.end sparse-switch
9. From the command line in the framework directory, run "./smali -o classes.dex out". You now have a new classes.dex that has your modification.
10. Zip up the classes.dex with the META-INF directory from your original android.policy.jar. Rename the zip to android.policy.jar.
11. Copy the new file to your phone and reboot.
12. At this point you should be done.
Will this be possible on the AT&T atrix? I currently use the streak vibe method but I'd like this much better.
Sent from my MB860 using XDA App
n1ckr0th said:
Will this be possible on the AT&T atrix? I currently use the streak vibe method but I'd like this much better.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1079873&page=3
Check out that thread over in general. The info for how to edit framework.res is there, but there is a flashable .zip that will disable the vibrations in either stock/rooted 1.83 or Gingerblur 3.5 for you.
bearsfan172 said:
http://forum.xda-developers.com/showthread.php?t=1079873&page=3
Check out that thread over in general. The info for how to edit framework.res is there, but there is a flashable .zip that will disable the vibrations in either stock/rooted 1.83 or Gingerblur 3.5 for you.
Click to expand...
Click to collapse
thank you, but i wonder if this specific method is possible on the atrix as to retain themes and such.
interesting that its in general, development may be a better home for it.
n1ckr0th said:
thank you, but i wonder if this specific method is possible on the atrix as to retain themes and such.
interesting that its in general, development may be a better home for it.
Click to expand...
Click to collapse
Yes, this would work perfectly fine on ATT. You can either follow the instructions I provided, or if you like you can post /system/framework/android.policy.jar from your phone somewhere and pm me the link so I can download it and I'll do it for you. Also mention what firmware you're on. I just don't want to download hundreds of MB of firmwares which is why I didn't set one up for all the ATT firmwares.
That other method requires editing a file that is guaranteed to change with any theme you install. That means anytime you change themes you'll need to edit that .apk yourself, or wait for someone to bring the change over. android.policy.jar is unlikely to change for themes.
Ok, I've posted a version for ATT 1.8.3 that was given to me by n1ckr0th.
n1ckr0th, let me know whether it works fine or not. There should be no problem, it looked just like the other 2 versions I modified.
Incidentally, he's using GingerBlur 3.5 so anyone on stock be careful (ie. copy your original file to somewhere else on your phone). It shouldn't matter at all because from what I see, there aren't any resources to modify in android.policy.jar so GingerBlur's should be the same as stock. At any rate, it won't brick your phone if you put the wrong one on. I put Telstra's on my phone by accident and it just messed up the the graphics on screen (maybe because the addresses were all wrong for my phone). You can still use adb, or sshdroid to copy and replace with your original android.policy.jar.
please delete
meloy said:
Don't use this on AT&T 1.83!
After the replace and reboot my phone was really laggy and some applications doesn't start anymore (camera, contacs for example). After i have replaced it with the original file i have still the same problem.
My phone config:
- SBF 1.83
- rooted (GingerBreak 1.20)
- sideloading enabled (GladEnabler)
- GladiAtrix 3 b0.2 ROM
- LauncherPRO
- GingerBread Theme only
Click to expand...
Click to collapse
What? That can't be right, if you still have the same problem after copying the original file, that means that you must have done something wrong. It's a single file change, provided you returned the file to the original, it will be back to the way it was. How did you copy the file? And also, are you deodexed? As mentioned in the original post, you have to be deodexed, because I don't know the results of using it on a non-deodexed system. Your posted config makes it sound like you might not be.
Sorry, my mistake. It is deodexed, I have just forgot to set the permissions to rw-r-r, you should maybe mention this in your start post. It's all working fine now. Thanks for the good work.
By the way, your mod (android.policy.att_1.8.3.zip) has added an "reboot" function to my phone, it is working well too.
meloy said:
Sorry, my mistake. It is deodexed, I have just forgot to set the permissions to rw-r-r, you should maybe mention this in your start post. It's all working fine now. Thanks for the good work.
By the way, your mod (android.policy.att_1.8.3.zip) has added an "reboot" function to my phone, it is working well too.
Click to expand...
Click to collapse
Haha, that's good. Had me scared for a moment, I didn't want to break anyone's phone!
Thanks for the tip, I'll mention that in the original post. Oh, and what do you mean by the reboot function...? Where did you access that? I certainly didn't add it, so it might be a mod added to GingerBlur?
maledyris said:
Oh, and what do you mean by the reboot function...? Where did you access that? I certainly didn't add it, so it might be a mod added to GingerBlur?
Click to expand...
Click to collapse
When i go to the phone options i have now these selection:
- Silent Mode
- Airplane Mode
- Power off
- Reboot
Yes, i think it is a GingerBlur mod. But it doesn't bother me, it is a good feature.
meloy said:
When i go to the phone options i have now these selection:
- Silent Mode
- Airplane Mode
- Power off
- Reboot
Yes, i think it is a GingerBlur mod. But it doesn't bother me, it is a good feature.
Click to expand...
Click to collapse
Interesting, that never occurred to me. I usually go into terminal and type in reboot to reboot my phone. I think I'll add that to my phone too...
maledyris said:
Haha, that's good. Had me scared for a moment, I didn't want to break anyone's phone!
Thanks for the tip, I'll mention that in the original post. Oh, and what do you mean by the reboot function...? Where did you access that? I certainly didn't add it, so it might be a mod added to GingerBlur?
Click to expand...
Click to collapse
the reboot function is cooked into GingerBlur. for some reason my phone wouldnt boot after i replaced the file? i used root explorer and set the permissions to whats specified.
n1ckr0th said:
the reboot function is cooked into GingerBlur. for some reason my phone wouldnt boot after i replaced the file? i used root explorer and set the permissions to whats specified.
Click to expand...
Click to collapse
Hmm, how far does it get? Do you at least get to the boot animation? I notice that it may sit at the boot animation for a really long time after changing a file sometimes. Probably updating the cache or something. It's odd that it wouldn't work for you considering it's your file and it worked for meloy. How did you copy the file over?
If you try again, delete the original file, so you can be sure it's no longer there, then try the copy again.
I'm on AT&T 1.8.3. I followed instructions just as in OP (yes, including the proper setting of permissions), but I soon found a significant problem. Everytime I held down my power button in order to invoke the power options menu, instead of the menu popping up, my phone just freaked out (the screen quickly FADED to black and the phone rebooted). I did this about four times, and each time it happened exactly the same. So I brought back the original framework file, and now everything works fine.
Any ideas?
I have no problems with this mod. It works all fine.
Been waiting on this mod. Streakvibrations has me missing my notification vibes. Thank you
It gave me a red light on boot, stuck at Motorola logo for infinity. I booted into recovery and reflashed gb 3.5 to fix it. Ill try your idea of deleting it then moving the new one.
Sent from my MB860 using XDA App
EDIT: still didnt boot, had to flash again..
I'm getting the flashing red light and rebooting as well. I can't get into CWM though, going to have to flash a SBF. Only think I can think of is maybe the Dalvik cache needs to be wiped before rebooting?
Edit: I'm on an AT&T phone and used GB to deodex as well.. maybe it's not catching all the files..
lurchbyrep said:
I'm on AT&T 1.8.3. I followed instructions just as in OP (yes, including the proper setting of permissions), but I soon found a significant problem. Everytime I held down my power button in order to invoke the power options menu, instead of the menu popping up, my phone just freaked out (the screen quickly FADED to black and the phone rebooted). I did this about four times, and each time it happened exactly the same. So I brought back the original framework file, and now everything works fine.
Any ideas?
Click to expand...
Click to collapse
Are you on stock 1.83? Now that we know that android.policy.jar has some mods built into it for Gingerblur pseudo rom, the att 1.83 file I posted probably isn't ideal for stock users.
If you're on stock, maybe you could post your android.policy.jar somewhere and pm me the link to download. Then I could put together a pure stock att one when I get home.
Sent from my MB860 using XDA App

[Emulator][Unnoficial] Leapcast the Chromecast Emulator All-In-One File

After several hours of tinkering and editing, I think I've finally managed to make an easy way to emulate a Chromecast on your PC. Iv'e only worked on x64 based systems so far, but I'll do x32 if anyone needs it. All you have to do is download the file, place it on your desktop (or it won't work), extract the .tar (don't make a new folder) and follow the directions in INSTALL.txt. It shouldn't require any extra files except Google Chrome, but if it does or you have any other errors or advice, feedback is very appreciated.​
I take no responsibility for any damages done by this. USE AT YOUR OWN RISK. Leapcast is the property of dz0ny at GitHub, not me. All I did was make an all-in-one install script.​
I already have Python installed....Can I just run the Bat file?
Error running LeapCast.bat
I completed the installation but when I run LeapCast.bat got this error (see the image)
Edit: I found the problem, I need to Edit "PATH" environment variable to include this "C:\Python27" and this "C:\Python27\Scripts".
Good job!!!!
Only youtube detected the leapcast, I check Plex, Avia, Crackle and Allcast and they don't.
lordkain2 said:
I completed the installation but when I run LeapCast.bat got this error (see the image)
Edit: I found the problem, I need to Edit "PATH" environment variable to include this "C:\Python27" and this "C:\Python27\Scripts".
Good job!!!!
Only youtube detected the leapcast, I check Plex, Avia, Crackle and Allcast and they don't.
Click to expand...
Click to collapse
It's probably an error in my install script. It should have edited your PATH automatically, so I'll look into it. The compatibility problem is probably just an issue with the emulator itself. I'll keep an eye on the github page and update this as soon as its available. Thanks for the feedback!
Did you use the Chromecast app on your phone/tablet to detect it before you tried the other apps?
Asphyx said:
I already have Python installed....Can I just run the Bat file?
Click to expand...
Click to collapse
That's part of what the script does. If you want, you can ignore the basic Python install if you specifically have Python 2.7.5 installed, but you definitely need to let setuptools and pip install. Won't work without them I'm afraid. Thanks for the feedback!
thatscottguy93 said:
That's part of what the script does. If you want, you can ignore the basic Python install if you specifically have Python 2.7.5 installed, but you definitely need to let setuptools and pip install. Won't work without them I'm afraid. Thanks for the feedback!
Click to expand...
Click to collapse
Thanks Kind of what I expected....Will try this later tonite
Thanks for the effort!
Unfortunately, this doesn't seem to work. The .bat file it leaves on the desktop has a strange trailing ascii-character, but it still doesn't run correctly even after you remove it. I don't know why you would run it from desktop anyway rather than c:\python27\scripts anyway... It should run from anywhere if the PATH is set correctly, but this script didn't seem to do that. Finally, it would be smarter to use the .vbs provided by the leapcast dev instead of your errant .bat on the desktop. Again though, thanks for the attempt.
It would be great if someone could put together a full install using install-shield and all, or at least a working batch script that has been tested on a fresh install of WinXP/Win7/Win8.1 Maybe I will try to.
NOTE: If this works for others, please let us know, but I am fairly certain it has at least a few minor errors preventing it from working by following the instructions alone.
thatscottguy93 said:
It's probably an error in my install script. It should have edited your PATH automatically, so I'll look into it. The compatibility problem is probably just an issue with the emulator itself. I'll keep an eye on the github page and update this as soon as its available. Thanks for the feedback!
Did you use the Chromecast app on your phone/tablet to detect it before you tried the other apps?
Click to expand...
Click to collapse
i have tried editing my system variables, but after running Leapcast.bat it say:
'leapcast' is not recognized as an internal or external command,operable program or batch file.
Please guide me through. AND github is down in my country right now
---------- Post added at 01:17 PM ---------- Previous post was at 12:49 PM ----------
Okay I got this post on google+
https://plus.google.com/+NicandrosNicolaou/posts/8RjWfMXxje8
it help me do a complete install of LEAPCAST...
-------------------------------------------------------------------
I just wanted to ask if there will be any update for V2 chromecast ? @thatscottguy93
link is not working
can you post a mirror link please?
thatscottguy93 said:
After several hours of tinkering and editing, I think I've finally managed to make an easy way to emulate a Chromecast on your PC. Iv'e only worked on x64 based systems so far, but I'll do x32 if anyone needs it. All you have to do is download the file, place it on your desktop (or it won't work), extract the .tar (don't make a new folder) and follow the directions in INSTALL.txt. It shouldn't require any extra files except Google Chrome, but if it does or you have any other errors or advice, feedback is very appreciated.​
I take no responsibility for any damages done by this. USE AT YOUR OWN RISK. Leapcast is the property of dz0ny at GitHub, not me. All I did was make an all-in-one install script.​
Click to expand...
Click to collapse
punkmexic said:
can you post a mirror link please?
Click to expand...
Click to collapse
Just tried, and works for me....
punkmexic said:
can you post a mirror link please?
Click to expand...
Click to collapse
Its attached to the first post... no need for a mirror...
Installation files for 32 bit system
can you make a setup for 32 bit computer?
Can i run xbmc/kodi on my windows pc and use leapcast to send the video feed to my android phone - this way I can use the laptop as a remote and the phone as existing hardware - lowering my android tv experience to a cost of zero - or should I stick with remote desktop... lag could be an issue as leapcast is light weight via python - minus the $5 mhl
Nope
mikeymackinon said:
Can i run xbmc/kodi on my windows pc and use leapcast to send the video feed to my android phone - this way I can use the laptop as a remote and the phone as existing hardware - lowering my android tv experience to a cost of zero - or should I stick with remote desktop... lag could be an issue as leapcast is light weight via python - minus the $5 mhl
Click to expand...
Click to collapse
Leapcast does not work that way, its mainly for youtube etc... web based viewings. Why not run the laptop/ desktop to the TV set and remote in from the Android phone/ tablet via a remote control app or team view etc... You would defiantly have lagging issues if reversed. Plus you do not have the buy the micro usb to hdmi adapter? Kewl story bro!
Seriously smart, as you will not have to get up to change from one episode to the next and at no cost.
thatscottguy93 said:
After several hours of tinkering and editing, I think I've finally managed to make an easy way to emulate a Chromecast on your PC. Iv'e only worked on x64 based systems so far, but I'll do x32 if anyone needs it. All you have to do is download the file, place it on your desktop (or it won't work), extract the .tar (don't make a new folder) and follow the directions in INSTALL.txt. It shouldn't require any extra files except Google Chrome, but if it does or you have any other errors or advice, feedback is very appreciated.​
I take no responsibility for any damages done by this. USE AT YOUR OWN RISK. Leapcast is the property of dz0ny at GitHub, not me. All I did was make an all-in-one install script.​
Click to expand...
Click to collapse
Thank you very much!!! Nice Work! I love you <3 #nohomo
Hi,
i wanted to try this but iam stucking at this error
C:\Users\Administrator\Desktop\LeapcastForWindows\leapcast>leapcast --name Leapcast --chrome "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" --fullscreen
Traceback (most recent call last):
File "C:\Python27\scripts\leapcast-script.py", line 9, in <module>
load_entry_point('Leapcast==0.1.3', 'console_scripts', 'leapcast')()
File "C:\Python27\lib\site-packages\pkg_resources.py", line 356, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "C:\Python27\lib\site-packages\pkg_resources.py", line 2431, in load_entry_point
return ep.load()
File "C:\Python27\lib\site-packages\pkg_resources.py", line 2147, in load
['__name__'])
ImportError: No module named leapcast.__main__
Anyone know how to fix this?
Managed to got it almost working IT's an old thread but I will give it a go.
Had to update Python to 2.7.9 for the SSL thing.
This is my issue :
Code:
C:\Users\d3x\Desktop\LeapcastForWindows\leapcast>leapcast --name Leapcast --chrome "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" --fullscreen
INFO:root:Starting SSDP server
INFO:root:Starting LEAP server
INFO:root:Loading Config-JSON from Google-Server
Traceback (most recent call last):
File "C:\Python27\Scripts\leapcast-script.py", line 9, in <module>
load_entry_point('Leapcast==0.1.3', 'console_scripts', 'leapcast')()
File "c:\leapcast\leapcast\__main__.py", line 38, in main
leap_server.start()
File "c:\leapcast\leapcast\services\leap.py", line 35, in start
resp = requests.get(url=app_dict_url)
File "C:\Python27\lib\site-packages\requests-2.18.4-py2.7.egg\requests\api.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "C:\Python27\lib\site-packages\requests-2.18.4-py2.7.egg\requests\api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Python27\lib\site-packages\requests-2.18.4-py2.7.egg\requests\sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "C:\Python27\lib\site-packages\requests-2.18.4-py2.7.egg\requests\sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "C:\Python27\lib\site-packages\requests-2.18.4-py2.7.egg\requests\adapters.py", line 506, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='clients3.google.com', port=443): Max retries exceeded with url: /cast/chromecast/device/config (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)'),))
Would that mean that google changed something and this no longer works?
-chrizz- said:
Hi,
i wanted to try this but iam stucking at this error
C:\Users\Administrator\Desktop\LeapcastForWindows\leapcast>leapcast --name Leapcast --chrome "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" --fullscreen
Traceback (most recent call last):
File "C:\Python27\scripts\leapcast-script.py", line 9, in <module>
load_entry_point('Leapcast==0.1.3', 'console_scripts', 'leapcast')()
File "C:\Python27\lib\site-packages\pkg_resources.py", line 356, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "C:\Python27\lib\site-packages\pkg_resources.py", line 2431, in load_entry_point
return ep.load()
File "C:\Python27\lib\site-packages\pkg_resources.py", line 2147, in load
['__name__'])
ImportError: No module named leapcast.__main__
Anyone know how to fix this?
Click to expand...
Click to collapse
Did u solved this?? same problem here.. let me know if u solved this
Don't know about your specific error, but Google definitely changed something. Leapcast doesn't work anymore. According to dz0ny on github:
This project no longer works because Google locked down entire API. There are alternatives like cloning device, casting apk from nexus player etc. Thanks for all contibutors and I hope we all learned something from this project. Meanwhile I'am keeping https://github.com/dz0ny/leapcast/issues/130 open if anyone wants to discuss something related to lepacast or 2nd screen paradigm.
I would love to re-implement this as an open source alternative to chromecast someday, but I won't make any promises.
Does anyone know a proper way to uninstall this?

[GUIDE][MOD]Permenantly disable CarrierIQ[GUIDE][MOD]

Permenantly Disable CarrierIQ WIP​
What is CarrierIQ - In a nutshell CarrierIQ is OEM Sanctioned SpyWare
IQ Agent is software, typically pre-installed on mobile devices by handset manufacturers or network operators, designed to gather, store and forward diagnostic measurements on their behalf. Data available can include metrics on the device itself (e.g., firmware, battery levels, application performance, web performance) and performance data on voice and data connectivity between the device and radio towers. The mobile device manufacturers or network operators determine which of these metrics are actually collected, according to a set of criteria known as a "profile."[6] The IQ Agent software runs in the background, and the user is not usually aware of its presence unless the implementation includes an on-off switch
Click to expand...
Click to collapse
How do I get rid of it?
There are several different schools of thought in regards to "How do I get rid of it" One is just delete (De-Bloat) the carrier branded files from your ROM or use a custom ROM, unfortunately the only custom ROM gaurenteed not to have CIQ is either AOKP, AOSP, or CM outside of those there is no 100% garauntee that CIQ isn't lurking around in some obscure apk or service within your ROM.
Click to expand...
Click to collapse
Why this guide then if I can't garauntee its gone?
For two reasons, one so we can hopefully get multiple developers involved in researching exactly what is needed in order to completely once and for all remove CIQ. Two, since we can't be 100% sure it's gone we can at least minimize it's impact on our device.
Click to expand...
Click to collapse
There are already tools to remove CIQ on the PlayStore why not use those?
That's the easiest answer of all, none of them work NONE OF THEM. The most predomanent one wants you to purchase the full version for .99cents in order to remove CIQ and even then it doesn't remove it, it can't remove it for one very simple reason, CIQ is intrenched in multiple applications, services and frameworks requiring very careful expert coding to remove, miss one thing and your device no longer boots. Want proof? try this but make a backup first because your device won't boot anymore afterwords. With a root explorer browse to your /system/lib folder and delete these two files libiq_client.so and libiq_service.so. even if your rom is completely debloated with no carrier branded apks at all now reboot. Whoops stuck at the bootanimation? Yep because those modules are called from not only within the framework but several other apks and also the kernel ramdisk.
Click to expand...
Click to collapse
The nuts and bolts of this MOD (Remember it's a W.I.P.)
Phase 1: - /system/framework/ext.jar
I'm not going to go into how to decompile or edit smali thats for a different
thread, If you don't know how then stop here, go learn and then come back.
Click to expand...
Click to collapse
1. adb pull /system/framework/ext.jar
2. Decompile the jar file (I recomend Virtuous Ten Studio)
3. browse to /smali/com/carrieriq/client
4. Locate IQClient.smali
5. search for the word "submit" there are three submit .methods we are going to change each one.
REPLACE: (The entire method)
Code:
.method public shouldSubmitMetric(I)Z
WITH:
Code:
.method public shouldSubmitMetric(I)Z
.locals 2
const/4 v0, 0x0
return v0
.end method
REPLACE: (The entire method)
Code:
.method public submitMetric(IJ[BII)I
WITH:
Code:
.method public submitMetric(IJ[BII)I
.locals 7
const/4 v0, 0x0
return v0
.end method
REPLACE: (The entire method)
Code:
.method public submitMetric(Lcom/carrieriq/iqagent/client/Metric;)I
WITH:
Code:
.method public submitMetric(Lcom/carrieriq/iqagent/client/Metric;)I
.locals 9
const/4 v0, 0x0
return v0
.end method
6. Re-Compile ext.jar
7. Reboot to recovery (and mount system)
8. abd push ext.jar /system/framework/ext.jar
9. chmod 0644 ext.jar
10. wipe cache and dalvik cache
11. reboot
Ok, What did we just do?
Phase 1: Is complete, at this point even tho CIQ still has it's fingers in our device at least now it is hobbled as to exactly what it can do with the information it gathers, keystrokes, pictures, web urls, apps downloaded etc. There is a lot more to do yet but for now Phase 1 will give you a small amount of relief from CIQ. Stay tuned and visit this thread often for discussion, updates and general info regarding CIQ.
Click to expand...
Click to collapse
NOTES:
Ok so further research also shows IP connection information being obtained through the services.jar however, if we replace the submit methods in services.jar the device will reboot while trying to verify the stability of your network connection. So obviously there is more CIQ fingers stuck in the OS somewhere else. In comparison to an international S5 Rom which appears to have little to no carrier branding there is a significant difference in the services.jar. Hmmmm more research ahead I think.
Click to expand...
Click to collapse
Phase 2: - /system/framework/services.jar
1.adb pull /system/framework/services.jar
2. Decompile the jar file (I recomend Virtuous Ten Studio)
3. We are going to replace an entire smali fragment.
4. Browse to \smali\com\android\server\ciq
5. Open "IPConnectivityCIQ.smali"
6. Replace the entire contents of the file with the code below.
Code:
.class public Lcom/android/server/ciq/IPConnectivityCIQ;
.super Ljava/lang/Object;
.source "IPConnectivityCIQ.java"
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public connectivityChanged()V
.locals 0
return-void
.end method
7. Re-Compile services.jar
8. Reboot to recovery (and mount system)
9. abd push services.jar /system/framework/services.jar
10. chmod 0644 services.jar
11. wipe cache and dalvik cache
12. reboot
Ok, What did we just do?
Phase 2: Is complete, At this point we have now removed the ability for CIQ to submit not only specific keystokes and user collected data but, we have also remove the ability for CIQ to track our location, network stability, cell strength and many more Network statistics. We aren't done yet there will be more and as I locate code and test i will be adding it to this guide.
Click to expand...
Click to collapse
Phase 3: - /system/framework/framework-res.apk
1. adb pull /system/framework/framework-res.apk
2. De-Compile the apk
3. We will be working with AndroidManifest.xml
4. Locate all instances of "carrieriq" either comment out or delete the corresponding xml sections
5. Remember to also comment out or delete any permissions xml segments for carrieriq
6. Re-Compile the apk and reboot your device to recovery
7. Mount system partition
8. adb push framework-res.apk /system/framework/framework-res.apk
Ok, What did we just do?
Phase 3: Is complete, At this point we have now removed the ability for the system to start any CIQ services and disabled all permissions associated with those services. We aren't done yet there will be more and as I locate code and test i will be adding it to this guide.
Click to expand...
Click to collapse
!!!NOTICE!!!
DEVS are free to use this code as a basis for their own work, also free to include in your own ROM or mods,
the only requirements are that you must give mention in your OP to my work. Check back here often for code
additions and changes as well as for any needed downloads if they become a part of this MOD.
Click to expand...
Click to collapse
Reserved
REserved
Why not simply post the recompiled JAR file here?
For one this is a work in progress, for two that's not what this thread is about. As the title says it's a [GUIDE][MOD] Which means it's HOW to do it.
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
make a zip for SS Recovery and apply odex and deodexed roms, but I see you are busy with other projects.
jm2k7 said:
make a zip for SS Recovery and apply odex and deodexed roms, but I see you are busy with other projects.
Click to expand...
Click to collapse
the point of this whole website is to learn, educate, and share.
none of that occurs when all a user does is flash other peoples mods.
just sayin
Twiddler said:
Why not simply post the recompiled JAR file here?
Click to expand...
Click to collapse
Because how to is for everybody and for any build.
Enviado do meu SM-G900F
Hmm this is interesting. Is this the equivalence of using something like carrier iq detector to find out what's triggering the ciq to start then using something like android tuner to disable those receivers from starting up carrier iq? What I did was found as many of the receivers that kick up ciq in the system disabled them and this allowed me to stop libiq (renaming to .bak) from running without getting stuck in boot loop. If this is a better way I'll definitely follow this.
Sent from my LG-D850 using XDA Premium 4 mobile app
Well, I followed the guide. But when I install carrier iq detector, there still appears carrier iq.
tell me if this is normal, it is disabled even if it is detected?
jm2k7 said:
Well, I followed the guide. But when I install carrier iq detector, there still appears carrier iq.
tell me if this is normal, it is disabled even if it is detected?
Click to expand...
Click to collapse
What mine picked up was the files I had renamed to .bak and the apk that I had frozen. If you never deleted the lib files which I wouldn't recommend without disabling all ciq receivers then they are what the detector is picking up. Like the op said. His guide is a work in progress. Maybe his guide along with freezing/deleting any apps and deleting or renaming libs with disabling receivers could optimize killing ciq.
Sent from my LG-D850 using XDA Premium 4 mobile app
jm2k7 said:
Well, I followed the guide. But when I install carrier iq detector, there still appears carrier iq.
tell me if this is normal, it is disabled even if it is detected?
Click to expand...
Click to collapse
This is a work in progress, if you follow the current instructions it effectively disables the ability to send data, ciq detectors are unreliable since we can't yet get rid of the libs it will still detect ciq as present.
as I get time and determine more code changes this will improve
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
Hey guys, I would love to do his if it was flashable. Any chance that could happen? Also, using a firewall blacks the communication from happening but doesn't stop it from trying right?
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
kalans said:
Hey guys, I would love to do his if it was flashable. Any chance that could happen? Also, using a firewall blacks the communication from happening but doesn't stop it from trying right?
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
Click to expand...
Click to collapse
considering the ongoing nature of this mod im not going to build a flashable zip as of yet, i have been running the modifications on my S5 for about a week or so and am still researching other methods to modify.
Firewalls do block the communication (provided you know exactly what ports and services to block) at this point the mod just returns null results for any attempt to gather data from keystrokes, cell tower location, wifi stats and network connectivity stats.
The guide definitely works. Not for the faint of heart, but it's a sure-fire way to stop CIQ's spying eyes.
I would be willing to post the recompiled ext.jar but honestly it's not that hard to do yourself. The downsides to using someone else's ext.jar should be apparent (security, for one) but I think if people really want it, they should be able to download it. As a CISSP, I promise to exercise the ethical responsibilities that I vowed to uphold. But, decompile it yourself and check my work if you don't trust it. That's probably the best way to verify - but then, why not just do the work yourself?
To deploy these jars without requiring a non-stock recovery, place them somewhere usable (for me, /sdcard/Download) and execute the following as root:
Code:
cat /sdcard/Download/ext.jar > /system/framework/ext.jar
cat /sdcard/Download/services.jar > /system/framework/services.jar
DO NOT USE THE `mv` COMMAND. In android, it does not work the way you expect GNU mv to work. Use cat.
Also you will want to wipe /data/dalvik and /data/dalvik-cache, then reboot!
Below is a large-ish image that shows my SGS5 with CIQ disabled. I have not tripped my knox counter and I have not installed a third-party bootloader. I wiped cache manually.​
{
"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"
}
MonarchX said:
Does CarrierIQ slow down my phone or its connection in any manner or form?
Click to expand...
Click to collapse
Good question. I haven't run any performance metrics before or after the modification so I cannot answer with certainty. However, CIQ is designed to monitor LOTS of activity in the background (location, phone status, "diagnostic information") and upload it without your knowledge. Also, the data can be manually fetched by the carrier/authorities.
It stands to reason that disabling these threads and background processes would free up some of the phone's resources to do other things; however, these are pretty beastly devices that can handle simple stuff like CIQ spying with ease.
For more information about CIQ and what it does http://en.wikipedia.org/wiki/Carrier_IQ
deduction said:
Good question. I haven't run any performance metrics before or after the modification so I cannot answer with certainty. However, CIQ is designed to monitor LOTS of activity in the background (location, phone status, "diagnostic information") and upload it without your knowledge. Also, the data can be manually fetched by the carrier/authorities.
It stands to reason that disabling these threads and background processes would free up some of the phone's resources to do other things; however, these are pretty beastly devices that can handle simple stuff like CIQ spying with ease.
For more information about CIQ and what it does http://en.wikipedia.org/wiki/Carrier_IQ
Click to expand...
Click to collapse
Very well put, I didn't do any metrics either prior to the mod so can't speak to the performance either. but in theory it could given the correct circumstances. there is more to this that i have not posted yet as an addition to init.d by stopping some other background services but im still trying to determine if that portion is even needed. i have browsed thru the several more frameworks and found additional CIQ componenets but as of yet have not been able to successfuly remove them without causing compile errors or FC's within the framework itself. I am still actively working on this so continue to check back
deduction said:
The guide definitely works. Not for the faint of heart, but it's a sure-fire way to stop CIQ's spying eyes.
I would be willing to post the recompiled ext.jar but honestly it's not that hard to do yourself. The downsides to using someone else's ext.jar should be apparent (security, for one) but I think if people really want it, they should be able to download it. As a CISSP, I promise to exercise the ethical responsibilities that I vowed to uphold. But, decompile it yourself and check my work if you don't trust it. That's probably the best way to verify - but then, why not just do the work yourself?
To deploy these jars without requiring a non-stock recovery, place them somewhere usable (for me, /sdcard/Download) and execute the following as root:
Code:
cat /sdcard/Download/ext.jar > /system/framework/ext.jar
cat /sdcard/Download/services.jar > /system/framework/services.jar
DO NOT USE THE `mv` COMMAND. In android, it does not work the way you expect GNU mv to work. Use cat.
Also you will want to wipe /data/dalvik and /data/dalvik-cache, then reboot!
Below is a large-ish image that shows my SGS5 with CIQ disabled. I have not tripped my knox counter and I have not installed a third-party bootloader. I wiped cache manually.​
Click to expand...
Click to collapse
which is the firmware it was pulled from?
juancollado2003 said:
which is the firmware it was pulled from?
Click to expand...
Click to collapse
This was from NCE, however should be valid with minor adjustments for other firmware as well
Sent from my Unity Powered Spaceship
Just wanted to say thanks for posting this.
Googled around a bit and it's really not hard to do. I learned something new so that's cool. Thanks was given in your first post. Now I have peace of mind that CIQ is no longer spying on me and collecting all my data.
deduction said:
The guide definitely works. Not for the faint of heart, but it's a sure-fire way to stop CIQ's spying eyes.
I would be willing to post the recompiled ext.jar but honestly it's not that hard to do yourself. The downsides to using someone else's ext.jar should be apparent (security, for one) but I think if people really want it, they should be able to download it. As a CISSP, I promise to exercise the ethical responsibilities that I vowed to uphold. But, decompile it yourself and check my work if you don't trust it. That's probably the best way to verify - but then, why not just do the work yourself?
To deploy these jars without requiring a non-stock recovery, place them somewhere usable (for me, /sdcard/Download) and execute the following as root:
Code:
cat /sdcard/Download/ext.jar > /system/framework/ext.jar
cat /sdcard/Download/services.jar > /system/framework/services.jar
DO NOT USE THE `mv` COMMAND. In android, it does not work the way you expect GNU mv to work. Use cat.
Also you will want to wipe /data/dalvik and /data/dalvik-cache, then reboot!
Below is a large-ish image that shows my SGS5 with CIQ disabled. I have not tripped my knox counter and I have not installed a third-party bootloader. I wiped cache manually.​
Click to expand...
Click to collapse
I tried this files on ng3 but system never boot up, it looks are not compatible

xcom: enemy within

I searched the Games and Apps forum and the Amazon FIre forums, and didnt find anyone with this problem.
I have an Amazon 7" 5th Gen Fire, and I have installed Google Play store via sd_shadow's method, and I am very happy that it worked.
The thing I am having a problem is this:
Xcom: Enemy within downloads the full 3.4 gig game, but upon launching, within the app, it tries to "download" something in game, but fails every time, right at the start.
I have the game on my phone as well, and the md5sums are the same for the 2 OBB files, but that is all I can find of the game. There are no Android/media or Android/data files.
Suggestions? Does anyone have this working ?
Thanks,
WoodTablet
You could try to copy the files on your phone over to the fire, putting them into the same folder locations.
Where do I look though ?
These 2 directories dont have any files for the game.
/0/Android/media
/0/Android/data
The files in this directory are the same on the phone as on the tablet (I used md5sum to confirm they are exactly the same)
/0/Android/obb/com.tt2k???/xcom-ew/
Same problem
I've had the same issue with XCOM on my Fire (2015) and my Fire HD8 (2016).
My guess is that somehow they're trying to authenticate or get extra data, but the Amazon services mess that up by intercepting or blocking them in some way. Sort of like how if you try to open a google play link in an app you only get the option to open it in the amazon appstore.
My Fire 2015 is on stock at the moment, but I may flash SlimLP or CM to see if this issue still happen when there is not an Amazon service in sight.
I have the same problem with XCOM:EW on m Fire HD8 (2017).
I already opened a support ticket for 2K but honestly I don't think, they will or are able to solve this issue.
My guess is that as long as we don't have native Android custom rom like Lineage, resp. as long as we are completely depended on Amazon, this problem won't be solved for us
Has anyone figured out a workaround?
Any solution?
unknownsoldierx said:
Any solution?
Click to expand...
Click to collapse
Get a different device. Seriously, best answer given game requirements and device capabilities.
I have a solution
Hi everyone,
I'm digging up this thread because I have found a solution.
XCom:EW works differently when run on an Amazon device or on a standard Android Device.
On an Amazon device, it tries to connect to an AWS bucket to get en update. The AWS Bucket is not working anymore, that's why you have a download failed error.
To avoid this behavior, you need to:
- decompile the APK (using APK Easy Tool for example)
- Edit the Smali code of the main file to change a small comparison, and trick the application to think it is not running on an Amazon Device.
The file you have to change is:
com\tt2kgames\xcomew\UE3JavaApp.smali
Line 13203: nst-string v15, "Amazon"
Change it to
Line 13203: nst-string v15, "NONE"​- Recompile and sign the APK
- Install it to your Fire Hd
And VOILA!
It works very smoothly on my Amazon Fire HD 10.
I hope you will enjoy it too.
Jon_Ge said:
Hi everyone,
I'm digging up this thread because I have found a solution.
XCom:EW works differently when run on an Amazon device or on a standard Android Device.
On an Amazon device, it tries to connect to an AWS bucket to get en update. The AWS Bucket is not working anymore, that's why you have a download failed error.
To avoid this behavior, you need to:
- decompile the APK (using APK Easy Tool for example)
- Edit the Smali code of the main file to change a small comparison, and trick the application to think it is not running on an Amazon Device.
The file you have to change is:
com\tt2kgames\xcomew\UE3JavaApp.smali
Line 13203: nst-string v15, "Amazon"
Change it to
Line 13203: nst-string v15, "NONE"​- Recompile and sign the APK
- Install it to your Fire Hd
And VOILA!
It works very smoothly on my Amazon Fire HD 10.
I hope you will enjoy it too.
Click to expand...
Click to collapse
Thanks! I can confirm that this works. If only the devs would fix the app so this weren't necessary.
unknownsoldierx said:
Thanks! I can confirm that this works. If only the devs would fix the app so this weren't necessary.
Click to expand...
Click to collapse
Please forgive my N00bishness, but I found this thread while trying to install the game to my new Fire HD 10 9th gen.
I've installed APK Easy Tool to my PC, but... where even is the .apk to decompile? I can't find it anywhere on my device.
KamikazeCricket said:
Please forgive my N00bishness, but I found this thread while trying to install the game to my new Fire HD 10 9th gen.
I've installed APK Easy Tool to my PC, but... where even is the .apk to decompile? I can't find it anywhere on my device.
Click to expand...
Click to collapse
I used APK Export.
https://play.google.com/store/apps/details?id=com.ses.app.apkexport
Thank you!
Worked for me.
Seriously dude, how do you even come UP with something like this!?! Just amazing. Thank you so much.
I have the same problem with xcom on my Fire too.
I used APK Export.
But can't find the file UE3JavaApp.smali. Instead I edited UE3JavaApp.java.
But there is no line: nst-string v15, "Amazon"
Can someone help?
Can't find this file. Maybe apk changed? I have XCOM_EW 1.7.0
And btw the issue still exist on the new gen amazon fire tablets. I'm running on fire hd 10 plus
I've had success with this instruction above by user Jon_Ge in Post #9. Thx for that!
In Wordpad i found it under the line: const-string v15, "Amazon"
Besides this in the Apk Easy Tool you have to look for the correct folder after decompiling the apk. It creates another folder where you have to search for and set this new one in the directory for compilation.
Otherwise you would just compile the same unchanged file like i did in first time. Then i realized i had to change the file directory for the decompiled and changed file to have the correct file compiled. I hope this helps.
GetSAS said:
I've had success with this instruction above by user Jon_Ge in Post #9. Thx for that!
In Wordpad i found it under the line: const-string v15, "Amazon"
Besides this in the Apk Easy Tool you have to look for the correct folder after decompiling the apk. It creates another folder where you have to search for and set this new one in the directory for compilation.
Otherwise you would just compile the same unchanged file like i did in first time. Then i realized i had to change the file directory for the decompiled and changed file to have the correct file compiled. I hope this helps.
Click to expand...
Click to collapse
Thanks!

Categories

Resources