yashsingh1/xdaforums huggingface dataset:
[Motorola Photon 4G] fendergrab:
Im on 198_7 and in Bootstrap I have wiped both cache and dalvik and flashed the universal script, but when I look for the installed files they are missing. Any tips as to why this isn't sticking?
[Motorola Photon 4G] xNicoyAx:
^^ I ran into the same issue.
[Motorola Photon 4G] MikeyLee:
Is anyone on CM9 using this?
[Motorola Photon 4G] b4ifuru18:
I'm tempted to give it a try.
[Motorola Photon 4G] spleef:
no clue bud sorry. you can try asking in the actual thread for it all ive done is supply the link for it. im on 198_6 bootstrap cwm all i did is wipe cache and dalvick the flashed reboot let it boot completely then reboot again let it boot completely then using root explorer i went to data and seen the file "it works". gl hope you get it figured out
[Motorola Photon 4G] roundeye1987:
Works great on CM7. Biggest difference is Facebook loads a lot quicker.

Sent from my CWM OC'd CM7 Electrify.
[Motorola Photon 4G] daddymikey1975:
data in general seems much faster (3G and wifi)... I didn't do any speed tests before hand but using tunein radio, skyfire, tapatalk, facebook and the market (in the same manner I normally do) seems much more snappy...

Battery life seems very similar.. not too much better.. I'll know in another couple days if battery life is noticably better or not (for me)..
[Motorola Photon 4G] radrian92:
I tried to install the scripts by root explorer and through bootstrap but I still don't see the "itworked" file under /data like the guide said. I've updated busybox,fixed permissions, wiped dalvik and cache and still no file. Btw I tried the universal zip. Any insights?

Edit: tried the regular and it did work. Running flawless! :cool:
[Motorola Photon 4G] radrian92:
Don't use the universal zip ised the other one. That's how I got mine to work:cool:
[Motorola Photon 4G] TheGman125:
Has some confirmed that this was tried on CM9?
[Motorola Photon 4G] js11222:
This made my internet way slower is there a way to remove this
[Motorola Photon 4G] daddymikey1975:
Restore the nandroid backup u made before installing it.

sent via Tapatalk Phrom my overclocked MoPho'kin phone
[Motorola Photon 4G] js11222:
Now if only I had done that lol
[Motorola Photon 4G] AKDMA:
Yeah a nandroid would have been smart. I still have mine, but am curious if there's another way to uninstall.
[Motorola Photon 4G] thomasmatt25:
So I'm guessing no one had confirmed this on CM9?
[Motorola Photon 4G] ZeroManArmy:
Are you Stock or CM7/9?
[Motorola Photon 4G] daddymikey1975:
Not yet. Try it and let us know if it works

sent via Tapatalk Phrom my overclocked MoPho'kin phone
[Motorola Photon 4G] daddymikey1975:
Always make a backup before flashing anything no matter how minor. Much easier to revert back if something goes awry

sent via Tapatalk Phrom my overclocked MoPho'kin phone
[Motorola Photon 4G] ZeroManArmy:
I used the non-universal one. Worked as the universal one did not. Not to much of an improvement though.
[Motorola Photon 4G] themac79:
I'm on 2.3.5 unlocked with Jokers 1.3. Using the tweaks he posted i.e. Kickass kernel tweak. I flashed the regular Speedy v7 and rebooted twice. I've noticed a big improvement in my ram, I normally have 325mb free and would always use task killer. Now I have around 425mb free running the same apps. Phone feels a lot quicker.
[Motorola Photon 4G] thomasmatt25:
Are you running CM9?
[Motorola Photon 4G] aamirani:
Universal not working for me, running stock rooted.
[Motorola Photon 4G] ZeroManArmy:
No. Stock and Rooted.

Use the non-universal one.
[Motorola Photon 4G] TheGman125:
Who is running this on CM9 A16?
[Motorola Photon 4G] abrcrmdl23:
So i flashed this in bootstrap, and it seamed to work fine, but after a few reboots my phone now seems slower, does anybody know how remove the tweaks our if i need to do something for it to start every time.
[Motorola Photon 4G] spleef:
think the only way to remove speedy is to reflash the rom you are using so far as making sure it such look in data see if you have a file called "it works" if you do then it is working can try to wipe cache and dalvick cache might help a little

MIUI/ICS for the Photon

http://xdaforums.com/showthread.php?t=1536161
[Motorola Photon 4G] peetr_:
You can remove it by deleting those scripts from /etc/init.d
[Motorola Photon 4G] spleef:
thanks never had to remove it so I wasn't sure now we know

MIUI/ICS for the Photon

http://xdaforums.com/showthread.php?t=1536161
[Motorola Photon 4G] peetr_:
No problem.

By the way, look at the bootsound in Q&A.
[HD2 Android Q&A, Help & Troubleshooting and Genera] hendrik1944:
The available player at the market (11) does not work.

Anyone else having this issue?
[HD2 Android Q&A, Help & Troubleshooting and Genera] kylew1212:
Flash doesn't support 4.0 yet
[HD2 Android Q&A, Help & Troubleshooting and Genera] ksrgroup:
Adobe release flash 11.1 with android 4 support. https://market.android.com/details?id=com.adobe.flashplayer Maybe android 4 rom for HD2 doesn't completely support it.

What's New

What's in this version:

This update to Adobe Flash Player 11 includes compatibility with Android 4 supported devices, performance improvements and bug fixes related to security and stability. The complete set of release notes can be found at: http://adobe.ly/s16mAX.
[Android Apps and Games] cicaem:
just this, I Need ShapeWriter Keyboard spanish support, it is not in market anymore
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] yentlequible:
This is probably a bad flash, but I want your guy's opinions on it as well. I installed the new ROM last week, but something went wrong and it got stuck in a boot loop for over half an hour. I finally decided to just pull the battery and try again. Still a boot loop. Went into recovery and cleared the cache, and it started up. Everything has been working, but about half the time the phone is slow and unresponsive while opening/closing apps, and can be a little laggy while switching screens. Even while using apps, things like the keyboard will be slow. For example, sometimes when sending a message, everything freezes for a second before becoming responsive again.

Suggestions?
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] NZtechfreak:
Sounds like a bad flash, running very smoothly on V15 for me, yet to update to V16 - perhaps re-flash to a newer version?
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] mfractal:
Try a full wipe (you will lose your apps and settings)
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] yentlequible:
Thanks for the replies. Ill see if I can get it updated to v17.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] mfractal:
just make sure you full wipe before. it's worth it ;)
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] yentlequible:
What is the easiest way to do a full wipe? Will formatting the sd card work or is that not full enough?
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] mfractal:
You need to enter recovery and do a full wipe from there. To enter recovery press the power button and choose this option.
[Android General] dennis96411:
Love your new LCD density but hate the Market showing all your favorite apps as incompatible? Here's a fix discovered by insink71 over at the CM Forums. I have personally tested it, and can confirm it working for my device.

This fix is quite simple, and doesn't require uninstallation of the Market update every time it reinstalls itself.

1. Go to Settings >> Applications >> Manage applications >> All.

2. Scroll down and click on Market.

3. Click on the "Clear data" button.

4. Using whatever method you favor, change the LCD density to 160 for now.

5. Reboot your device.

6. Go to the Market and click the Accept button when prompted.

7. Go back and change the LCD density back to whatever you like.

8. Reboot your device.

Done! The Market should now work properly ;)
[Android General] jocala:
Very good guide! Thank you for sharing it with the community :)
[Android General] dennis96411:
Thank you for your hard work at making a bloat free ROM for my little phone :P
[Android General] Harsha Raj:
Confirm to working! :)
[Android General] bala_gamer:
nice find!! atlast a solution to one damn problem
[Android General] bluedragon38:
I try it but ... when i go on market to choose my application to DL (example GTA3 , when i click on install it's say : not compatible!)

damn it !! >.<
[Android General] CamoGeko:
Doesn't work for me.
[Android General] Noed:
Didn't work here, after this procedure I changed to 200dpi, then on market search for google maps and got no results
[Android General] JPHCCFC:
Doesn't work for me too
[Android General] CamoGeko:
Found a post with another solution, haven't tested it myself yet but seems feasible. :)

xdaforums.com/showpost.php?p=20623581&postcount=10

Communicated from a Galaxy far far away via an XDA premium neurotransmitter while DJ'ing on The Enterprise.
[Android General] bluedragon38:
This is a better solution !!! But the guy dont describe what he change in this files for next market release !! This work for me
[Android General] efx456:
Does this still work for Google Play (the new version of Market)?
[Android General] master_droid:
working great :)
[Android General] MarcoToo:
Confirmed to work on my Galaxy Y.
[Android General] razorjaw:
backup

make a nandroid backup before you try this so you dont get stuck like i did on my s3 that wont boot now at 160!!!!
[Asus  Eee Pad Transformer Prime] sklid:
ASUS didn't compile support for tun into the 2.6.39.4 kernel, so anyone that was expecting to have Cisco Anywhere Connect, or use of the new IPSec/XAuth in the stock VPN configuration is out of luck...maybe thats me and 3 other people, but I'd figure I'd post it.

If you used voodoo ota rootkeeper and have a rooted ICS prime, then you can compile a tun module for yourself using the common kernel source for android 4.0.3_r1. I've done this and can confirm it works.

----------------------------------------------------------------------------

Adding kernel modules by request:

If you don't have root, this won't work.

tun.ko.2.6.36.3 is for Honeycomb and works with all three OTA HC update flavors (.23, .27, .33).

Procedure:

1) Unzip, select tun.ko for ICS, or tun.ko.2.6.36.3 for HC, ren to tun.ko

2) use adb or terminal emulator on your prime to copy tun.ko to /system/lib/modules

3) cd to /system/lib/modules

3) type:

insmod tun.ko

4) type:

lsmod

this verifies the module has been loaded into the kernel.

The embedded VPN configuration does not load tun.ko after you shutdown like I had thought. The VPNC widget on the market appears to.

----------------------------

It appears that CERT based authentication over IPSec is still not functioning, so this is only going to work for IPSec Xauth PSK type configurations....
[Asus  Eee Pad Transformer Prime] tdrussell:
That sucks. I knew they would cut corners. Rushed ICS to qwell the uproar.
[Asus  Eee Pad Transformer Prime] nategodin:
Count me as one of the three... spent a fair amount of time today trying different IKE configurations on my Cisco ASA 5510 since it looked like a Phase 1 negotiation problem. Thanks for saving me another day of tearing my hair out! Time to get rooting and compiling...
[Asus  Eee Pad Transformer Prime] bad.bad.bad:
Count me in as the third. But I'm not adept in module compiling. Could you help me out with some noob-friendly steps? Was about to try "tun.ko installer" app but I'm not sure if that works.

Thanks so much.
[Asus  Eee Pad Transformer Prime] techjunkie9194:
This was one of the biggest thing I was looking for in ICS. I am not a programmer just curious for my own info. Are you sure it is not there and apps have not been update to us it or have you looked deep inside and this functionality is truly missing? Some reading I had done pointed to the functionality for Cisco VPN being in ICS but not being native and software would have to b written to utilize it. I really hope Asus didn't truly remove from their ICS build.
[Asus  Eee Pad Transformer Prime] sklid:
ICS has added IPSec Xauth PSK and IPSec Xauth RSA to their list of default configurations. They've also added an extension to the underlying classes in their SDK (which is what I think you're talking about).

The problem I had is that in order for that to function, TUN/TAP support must be enable in the kernel. It was not.

If you try to configure a IPSec/xauth connection and connect, it will fail after a short time with no message why. If you bring up a terminal and type "logcat", you'll get to the system logs (control C to stop logging). In the logs you'll see a reference to I/racoon (the low level vpnc negotiator) complaining that it can't allocate tun.ko.

Also, if you check /proc/config.gz (the kernel configuration), you'll see that the TUN support is not enabled.
[Asus  Eee Pad Transformer Prime] techjunkie9194:
Ugh! MAJOR fail for me. I will wait patiently and also let Asus know of my frustration over needing to work. Probably wont help but will make me feel better!
[Asus  Eee Pad Transformer Prime] Noxious Ninja:
Ditto, that would be nice. It's very disappointing that Asus left the tun support out. :(

Thanks.
[Asus  Eee Pad Transformer Prime] John Kotches:
Add me to the list...
[Asus  Eee Pad Transformer Prime] soulctcher:
Would it be possible for you to share your tun.ko here so everyone can benefit?

Alternatively, you could download the tun.ko installer app and share your tun.ko with that so others can use that app to install it.
[Asus  Eee Pad Transformer Prime] soulctcher:
Thanks for the attachment. I'll give it a whirl here shortly.
[Asus  Eee Pad Transformer Prime] soulctcher:
That looks like it'll probably work just fine. (One note for people trying to install the tun module, be sure to run "insmod tun.ko" not just "insmod".)
[Asus  Eee Pad Transformer Prime] sklid:
Good point...I'll update the post....
[Asus  Eee Pad Transformer Prime] soulctcher:
I shared the tun.ko with the "tun.ko installer" app so hopefully it'll get added to their database, fyi.
[Asus  Eee Pad Transformer Prime] Noxious Ninja:
Thanks for the module. Sadly, the VPN functionality is still not working with my employer's VPN. It says it connects, but no traffic gets through. LogCat keeps showing stuff like this, so I guess ICS just might not support the right encryption for me. :( At least AnyConnect still works.

I/racoon (17375): IPsec-SA expired: ESP/Tunnel x.x.x.x[500]->y.y.y.y[500] spi=159700717(0x984d6ed)
W/racoon (17375): PF_KEY EXPIRE message received from kernel for SA being negotiated. Stopping negotiation.
I/racoon (17375): initiate new phase 2 negotiation: y.y.y.y[4500]<=>x.x.x.x[4500]
I/racoon (17375): NAT detected -> UDP encapsulation (ENC_MODE 1->61443).
W/racoon (17375): transform number has been modified.
W/racoon (17375): attribute has been modified.
I/racoon (17375): Adjusting my encmode UDP-Tunnel->Tunnel
I/racoon (17375): Adjusting peer's encmode UDP-Tunnel(61443)->Tunnel(1)
W/racoon (17375): trns_id mismatched: my:AES peer:3DES
W/racoon (17375): trns_id mismatched: my:AES peer:3DES
W/racoon (17375): trns_id mismatched: my:AES peer:3DES
W/racoon (17375): trns_id mismatched: my:AES peer:3DES
E/racoon (17375): pfkey UPDATE failed: Protocol not supported
E/racoon (17375): pfkey ADD failed: Protocol not supported

Could you also compile a CIFS module? (CONFIG_CIFS)
[Asus  Eee Pad Transformer Prime] nategodin:
Similar issue here, actually, you got farther than I did... guess it's back to tinkering with Phase 1 proposals!
[Asus  Eee Pad Transformer Prime] sklid:
Sorry to hear that.

There's a lot of blogs and posts out there about getting IPSec working with Android. Most of them negative. I was hopeful when this worked for me out of the box (after adding the piece ASUS left out, of course...) that ICS finally addressed some of that.

My VPN configuration:

Type: IPSec Xauth PSK

Server Address: [my company vpn server]

IPSec identifier: [my company Group Id]

IPSec pre-shared key: [my company group password]

when connecting, supply username, then in password: pin + RSA SecurId

I can only confirm that this specific config works...the other new configuration (Xauth RSA) is CERT based and not used my my company....

Sure. I'll compile and test tonight when I get home from work. I'll post in a new thread.
[Asus  Eee Pad Transformer Prime] nategodin:
Yeah, IPSec is acting very strangely, watching the output of logcat on the Prime and the syslog on my ASA 5510, it seems like the results of an attempt to connect are totally random... sometimes it doesn't get past Phase 1, other times it completes both Phase 1 and Phase 2, but I still can't get so much as a ping through the tunnel.

AnyConnect shows some promise... after I set up an identity cert and went through the SSL VPN Setup Wizard, it made an earnest effort to connect, although you can only get so far without an AnyConnect Mobile license installed on the ASA. I (well, my company) just shelled out $100 to Cisco for one of those, so I guess we'll see if that works! If not, there's always PPTP on ye olde PIX 501... and, of course, the iPad 2, if I really want to swallow my pride!

Update: Got a trial license from Cisco, and after a little fiddling with the DefaultWEBVPNGroup client address pool settings, was able to log in. Probably should have tested it before rather than after ordering the "real" license, whoops!
[Asus  Eee Pad Transformer Prime] h1ghb1rd:
That would be awesome! If it works I will order a Prime and my Galaxy Tab 10.1 has to retire. :)
[Asus  Eee Pad Transformer Prime] 5h4d0w:
Exact same thing here (going into ios as well) =/ Seems like it should work, just not sure how to get racoon to try 3des instead of aes.

Kernel support appears to be there:

shell@android:/data $ zcat /proc/config.gz | grep -i crypto_des

CONFIG_CRYPTO_DES=y

---------- Post added at 12:28 AM ---------- Previous post was at 12:14 AM ----------

This looks like the fix for the AES/3DES issue: https://www.nixuopen.org/blog/2011/5/android-and-cisco-ipsec-vpn/

Unfortunately it's quite involved and I'm not sure I care enough to put that much effort in. I'll probably revisit this weekend and see his prebuilt racoon binaries will work.
[Asus  Eee Pad Transformer Prime] Noxious Ninja:
Awesome, thanks.

I wonder if changing that encryption_algorithm setting would be enough? Have to figure out how the interface is actually setting up racoon first, though.

---

Alright. Looking through the ICS source, it seems that it doesn't use a config file at all. What the system does in the "IPSec XAuth PSK" case boils down to starting

/system/bin/racoon

with the parameters

new String[] {
interfaze, profile.server, "xauthpsk", profile.ipsecIdentifier,
profile.ipsecSecret, profile.username, profile.password, "", gateway,
};

interfaze should be the default interface from the routing table - in our case, pretty much always wlan0.

Anyway, based on the racoon man page, it sounds like this must be a custom binary, because racoon normally doesn't take those parameters. Unless /system/bin/racoon is just some wrapper around the real binary - definitely a possibility, but I haven't looked into it yet.

Of course, I knew almost nothing about Android system services until a couple of hours ago, so there's a good chance I'm missing something. :p

Relevant code from an Android repo checkout:

frameworks/base/services/java/com/android/server/connectivity/Vpn.java
packages/apps/Settings/src/com/android/settings/vpn2/VpnSettings.java
packages/apps/Settings/src/com/android/settings/vpn2/VpnDialog.java
packages/apps/Settings/src/com/android/settings/vpn2/VpnProfile.java
system/core/rootdir/init.rc

I haven't taken a look at the racoon code yet. It seems to be in

external/ipsec-tools/src/racoon

---

Alright, it is a custom wrapper.

external/ipsec-tools/main.c
external/ipsec-tools/setup.c

The /* Add proposals. */ block in setup.c kind of makes it look like it should support 3DES, but that's just a guess, since I haven't looked any deeper.
[Asus  Eee Pad Transformer Prime] 5h4d0w:
nice work, for some reason it didn't even occur to me the code would be in aosp. i'm checking it out right now.
[Asus  Eee Pad Transformer Prime] sklid:
I can help with this, but I have no way to test.

Let me know how far you get and if you get stuck anywhere...

If you ignore all the complaints and bs, this can be a great site for people make a great product better.
[Asus  Eee Pad Transformer Prime] malimal:
I used tun.no installer yesterday and anyconnect worked.
[Asus  Eee Pad Transformer Prime] jordy5:
Have it working on my local wifi at home. It doesn't seem to work on my work wifi or 3g through tethering.

Any ideas on how to get this working? My laptop does connect using these networks. Thanks
[Asus  Eee Pad Transformer Prime] Noxious Ninja:
http://www.ipsec-howto.org/x304.html

Based on this page, we might still have kernel issues:

config.gz from my Prime:

CONFIG_NET=y
CONFIG_NET_KEY=y
# CONFIG_INET_AH is not set
CONFIG_INET_ESP=y
# CONFIG_XFRM_USER is not set

CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_NULL is not set
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_AES=y

The missing null crypto support might not matter - I'm not sure. But we likely need INET_AH and XFRM_USER.

--

Might also need INET_XFRM_TUNNEL. I might need some help to figure out where I'm going wrong, as I've been trying to compile these, but the modules I'm getting don't work.

---

Well, adding ah4.ko and xfrm_user.ko didn't fix the problem. And INET_XFRM_TUNNEL can't be built as a module, so if that's the problem, we can't fix it until Asus releases the ICS kernel source. :(

I'll keep looking in case I find anything else.
[Asus  Eee Pad Transformer Prime] ssjgesus:
+1 to the list of people needing the tun.ko fix

After using tun.ko installer, i can connect 'succesfully' over ipsec psk config, but no data makes it over the connection. Im not quite sure what config I need but my iphone connects fine using ipsec with groupid and secret.

I hope the connection type I need is supported by ics, may have to wait for asus to fix.

Cant use anyconnect because my work doesn't have a mobile license.
[Asus  Eee Pad Transformer Prime] sklid:
Have you run logcat to see what the logs look like after you connect?
[Asus  Eee Pad Transformer Prime] ssjgesus:
I think its related to the auth type mismatch maybe?

I/racoon ( 5393): IPsec-SA expired: ESP/Tunnel (*server ip*)[500]->192.168.0.16[500] spi=118044788(0x7093874)

W/racoon ( 5393): PF_KEY EXPIRE message received from kernel for SA being negotiated. Stopping negotiation.

I/racoon ( 5393): initiate new phase 2 negotiation: 192.168.0.16[4500]<=>(*server ip*)[4500]

I/racoon ( 5393): NAT detected -> UDP encapsulation (ENC_MODE 1->61443).

W/racoon ( 5393): attribute has been modified.

I/racoon ( 5393): Adjusting my encmode UDP-Tunnel->Tunnel

I/racoon ( 5393): Adjusting peer's encmode UDP-Tunnel(61443)->Tunnel(1)

W/racoon ( 5393): low key length proposed, mine:256 peer:128.

W/racoon ( 5393): authtype mismatched: my:hmac-md5 peer:hmac-sha

E/racoon ( 5393): pfkey UPDATE failed: Protocol not supported

E/racoon ( 5393): pfkey ADD failed: Protocol not supported
[Asus  Eee Pad Transformer Prime] Noxious Ninja:
Success! :D

The missing piece was XFRM_MODE_TUNNEL. With that, everything is working for me. I still get the trns_id mismatch errors in logcat, but they don't seem to affect functionality.

Now we just need to get Asus to fix their kernel... how do I go about contacting somebody who knows what they're doing?

You can find the kernel modules here:

[FIX] Kernel modules for VPN support (tun.ko + others)
[Asus  Eee Pad Transformer Prime] sklid:
Sweet. The day I posted this, I sent an email and have heard nothing back from them. I've also sent emails asking for the full ICS kernel source and that elusive bootloader unlock tool. I know there's a ton negativity around the problems, but this little thing is awesome. When the bootloader is unlocked and we have the full kernel source, look out ;)