yashsingh1/xdaforums huggingface dataset:
[Captivate Q&A, Help & Troubleshooting] CrEOF:
I recently got a Captivate myself, and found when I updated to Froyo I could no longer add my Exchange account. I tried using the Email.apk you modded but was still unable to add my Exchange account. I had struggled with this same issue running Froyo on my old WinMo phone. In that instance using the mods from this post I was able to get Froyo to work with my Exchange server, so I incorporated those changes (along with my own) and followed your directions for the Captivate.

After studying the output from smali I changed the method ProvisionDocWbxml() in com\android\exchange\adapter\ProvisionParser.smali to the following:

.method private parseProvisionDocWbxml()V
.registers 10
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation

.prologue
const/4 v5, 0x1

.line 64
const/4 v1, 0x0

.line 65
.local v1, minPasswordLength:I
const/4 v2, 0x0

.line 66
.local v2, passwordMode:I
const/4 v3, 0x0

.line 67
.local v3, maxPasswordFails:I
const/4 v4, 0x0

.line 68
.local v4, maxScreenLockTime:I
const/4 v7, 0x1

.line 72
.local v7, supported:Z
const/4 v6, 0x0

.line 74
.local v6, isDevicePasswordRequired:Z

.line 139
new-instance v0, Lcom/android/email/SecurityPolicy$PolicySet;

invoke-direct/range {v0 .. v5}, Lcom/android/email/SecurityPolicy$PolicySet;-><init>(IIIIZ)V

iput-object v0, p0, Lcom/android/exchange/adapter/ProvisionParser;->mPolicySet:Lcom/android/email/SecurityPolicy$PolicySet;

.line 141
return-void
.end method

The original mod from the mentioned post worked in the past, but this should bypass the checking altogether and simply create a security policy with the default settings of nothing. I'm not anywhere near 100% sure this is clean, and it could probably be tweaked further (for one it appears like it's allocating 10 memory registers but only 8 are being used now, and v6 isDevicePasswordRequired isn't being used either). If the Email app would actually tell me what policy the phone doesn't support I would have just taken that one out instead of disabling the security entirely.

I continued following the directions in the first post. Once I added classes.dex into the apk I signed it following the instructions here and optimized it with the zipalign tool. On the WinMo Android I wasn't able to run the apk without signing it so I didn't even try here.

With the new apk I was able to add my Exchange account. It's been working now for a couple hours. The only issue I've noticed so far is the account name in the Mail app itself was showing u@d.c (I put this in as the email address when I added the account to get to the server settings screen, since my email address and username aren't related). I changed the account name in the account properties but it didn't update it. Removing the account and adding it back with the correct information fixed it.

All the standard caveats apply... :D like jahfry said, you may be violating your corporate email policies by doing this. At the very least set some sort of password on your device.
[Captivate Q&A, Help & Troubleshooting] crakedparrot:
It works for the Verizon Samsung Fascinate too!!

Running EB01 Deoxed with EB16 kernel. rooted

Here's what I did:

1. removed exchange account and selected "none" under security setting.

2. using RootExplorer went to /system/app and renamed email.apk to email.apk.old.

3. copy op's email.apk to /system/app

4. reboot, then added exchange account, accepted both terms of use and administrative security agreements. I was NOT asked to set pin and when i wake up the phone it goes right to puzzle lock!!

No More PIN every time the phone sleeps.

Huge thanks to the OP for this!
[Captivate Q&A, Help & Troubleshooting] crakedparrot:
Just wanted to add, settings stayed intact after another manual reboot!

Thanks again OP!:)
[Captivate Q&A, Help & Troubleshooting] techjeep:
For what it's worth....

Just an FYI for you guys, I work in IT (as I'm sure many of you do) and we have Exchange policies pushed out to any phone getting email for HIPPA reasons. We recently had a user lose their phone, and after finding that they had disabled the security on they phone (we test to confirm functionality at time of configuration, so we knew it WAS working), they were immediately terminated (all users who receive email on their phones must sign an agreement that they understand the policies and will abide by them).

I know it's a bit of a pain, but weigh that against unemployment in this economy.
[Captivate Q&A, Help & Troubleshooting] CrEOF:
Luckily I don't have to contend with HIPPA issues (except for that tediously boring training seminar) or a signed agreement, though that by no means justifies disabling the security. I completely understand the ramifications of doing this and if I could leave the policies intact and continue to access email on my device I would. I too work in IT and at least once a month have to wipe a device for one reason or another.

The thing that really irks me is I was able to sync my phone when it was running 2.1. After installing the "official" Samsung update for 2.2 my phone no longer supports features it had previously. Granted 2.1 was probably not supporting whatever particular policy is failing on 2.2, but they should have either added true support for the policy or left the "bug" intact.

I know I could put 2.1 back on the phone (at one point I even did so to make sure I could), but I like 2.2. And even though I have a password on my phone I imagine at the very least I'd get a good spanking if discovered by the security czar. Hopefully I don't work with anyone here ;) Currently I've given up on the patched app and am exploring some of the other available email applications. Maybe Samsung will release another update that will fix this issue in the future (but who am I kidding).
[Captivate Q&A, Help & Troubleshooting] ohnoezmahfone:
This syncs up my mail quite well, but I get occasional force close when viewing messages, and consistent force close when hitting reply. So it's not really usable for me, at the moment.

Has anyone else had this problem, and if so how did you fix it?

Thanks!
[Captivate Q&A, Help & Troubleshooting] jahfry:
I'm still using this on the Captivate with happiness. I decided I wanted to have it on my Nook Color, too. Unfortunately I didn't see CrEOF's post until after I got it done ... and I have about 6 hours to get to the airport ... so my Nook package is my original. However its working beautifully for me so I'm not going to worry about it.

My Nook is running CM7 7.10 beta3.1 with Dalingrin's .32 kernel ... however it looks like Email.apk hasn't been changes significantly in a long time so I'm betting this .apk will work with any CM7 (CyanogenMod) device, possibly any CM device, and possibly any AOSP device. The Samsung devices needed Touchwiz libraries but this one doesn't have those.

If you have a Samsung device with stock ROM, see the TOP POST for your .apk. The following is for almost everyone else:

http://www.easy-share.com/1915675065/Email.apk

Again ... don't use the link directly above if you're using a stock Samsung device with Touchwiz ... go to the top post for that.
[Captivate Q&A, Help & Troubleshooting] jahfry:
I haven't seen that problem at all, and haven't been getting reports of bad issues with the mod. Are you running the 2.2 Froyo version of the Samsung Captivate stock firmware? Might be library incompatibilities with the 2.1 Eclair version.

Otherwise I'd recommend:

* re-downloading and re-installing to make sure there was no corruption

* using Clockwork Mod or something similar to clear your Dalvik cache just to be sure

Not sure past that. Good luck :)
[Captivate Q&A, Help & Troubleshooting] earlthepearl:
I just loaded Cognition 5 v2 (2.3.3) on my Captivate. Any chance this will work on it?
[Captivate Q&A, Help & Troubleshooting] jahfry:
Wow. Sorry for the long delay in replying. It should work on Gingerbread ROMs just fine.

After jumping from 2.2 to a couple of ICS ROMs (which I knew this probably wouldn't work on ... and there are other mod'ed Email.apk versions out there for ICS ROMs anyway) ... I decided to go back to rooted stock. So, I just tested Email.apk out with my 2.3.5 stock install and ...

All seems to work just fine, without needing mods.

I don't think much changed in the Email app between 2.2 and 2.3.5 anyway, so I'm planning to just keep using this.
[Desire Q&A, Help & Troubleshooting] yeahman45:
you can run ubuntu on desire (http://xdaforums.com/showthread.php?t=723493) and sopcast on ubuntu (http://www.webupd8.org/2010/05/install-linux-sopcast-player-040-in.html)... hence the question : as we don't have sopcast on android; would it be possible to run sopcast via ubuntu on android??
[Desire Q&A, Help & Troubleshooting] portis24:
I don't think sopcast runs on arm architecture.
[Desire Q&A, Help & Troubleshooting] yeahman45:
oic... too bad :(
[Android Apps and Games] geokilla:
Anyone know an Android App that can play RMVB smoothly? Vplayer was the best until the developer decided to go back on his word on that the app would be free forever. QQPlayer, arcMedia can both play RMVB but the video and audio gets out of sync very quickly.
[Android Apps and Games] geokilla:
Thread got moved. Thanks mods.
[Android Apps and Games] silentheero:
Same issue. I have tried QQ player and Rock Player and both cannot play RMVB files smoothly and get out of sync quickly. Hoping that VLC would finish their port to android soon.
[Android Apps and Games] geokilla:
I wonder if increase the CPU speed would help with the audio sync issues. But then I guess it also depends on the app since Vplayer was able to play RMVB smoothly.
[Nook Color General] dajo1357:
I am looking for help in loading my Google contacts to my rooted NC. I have Google Voice working. I can type in a phone number manually to send text msgs. I can also rec'v them

To load contacts, I tried:

Export from gmail to a vcard file

Used an app called 'import contacts'

​

note: I had several 'bad entries' that I skipped and the process said it completed, but still no contacts.

Lastly to use contacts in GV, do they show up when you click the 'To' button when composing? Maybe the contacts are there and I am doing it wrong.

Lastly, I check the reg old 'contacts' app and I do not see them their either..

Any help is appreciate.

I absolutely LOVE the NC rooted.. Cant wait for HC or GB to take this all the way home...
[7 Mozart General] nayato:
I've tried to get CID of my Mozart (as I've got mine from ebay and not sure what market it was destined for) and all I've got so far is:

1. I need to get mtty running (http://xdaforums.com/showthread.php?t=623356)

2. I need to execute "task 32" and then "info 2" to get CID.

I went through first step and stuck on the second. once I execute "task 32" mtty on any key press outputs "<CE-1637352>". Also phone does not switch back to Serial if I disconnect USB cable. I'm able to reconnect with mtty only after restarting into bootloader mode again. I tried "info 2" without "task 32" but mtty responds with "Command error !!!". Am I doing smth wrong or is there other way to get CID from device?
[7 Mozart General] phoenixx666:
Same problem :(
[Xoom General] SmokeMasta:
im not a pro at electronics but isnt it possible to solder a charging plug to a usb cable?

to achieve usb charging?

did it for a homemade IR headtracking unit
[Xoom General] bwcorvus:
I still don't think people understand. This devices needs more output then a usb plug can produce. Think about it this way, would you charge your laptop computer off your desktop usb port? The XOOM requires a 12v charge, just like your laptop.
[Xoom General] SmokeMasta:
wont it be able to trickle charge... when in a pinch some charge is better then none at all
[Xoom General] muyoso:
What don't people understand about this. A USB plug in a computer might only be able to produce 500ma, but you can plug that SAME USB cable into a wall charger that uses USB and it will charge fast as hell. The iPad does this. All Android phones do this. It makes it so you only have to carry one cable and maybe a small wall plug.
[Xoom General] bwcorvus:
deleted this
[Xoom General] SmokeMasta:
guess you missed prev poster point ... if you solder on a charging plug it doesnt mean you need to remove the other plug have 2 plugs on one side
[Xoom General] bwcorvus:
You are right i miss read it :)
[Xoom General] SmokeMasta:
after some reading usb 3.0 delivers 900ma

and it looks those usb charger blocks deliver upto 9w at 1.8a
[Xoom General] ggoldfingerd:
It is hard to say if it will work. Since I don't have my Xoom yet, I can looking at the output rating of the wall charger. Maybe someone can look at their wall charger and see how much output voltage and current it produces. If it's higher than 5V, the USB might not be able to charge it. If it could charge it, it would be better to have a USB cable that has one end split into two connectors, one with the circular connector, and one with the micro USB end.
[Xoom General] bwcorvus:
Here you go.
[Xoom General] SmokeMasta:
looks like my usb 1.0 charger (from htc (ancient thing)) delivers 5v at 1amp

wondering if newer chargers deliver more. spec sheet of USB 3.0 says it can deliver 9 volt at 1.8 amp

hopefully the EU classifies the moto tablet as a telephone then its obligated by law to have usb charging ability
[Xoom General] muyoso:
The iPad charger delivers 5v at 2 amps over a USB to 30pin cable.
[Xoom General] ggoldfingerd:
Thanks. I just decided to glance at the Xoom teardown. From what I saw with the hardware, I don't think it will be possible to use USB to charge it. The battery alone is 7.4V, so there is no way to charge it with 5V unless the Xoom had a DC step-up convert. The teardown only lists a step-down converter which probably steps the battery voltage down for all of the components in the Xoom and has nothing to do with battery charging.
[Xoom General] Neo3D:
Does it require the same voltage to do a trickle charge? From the research XDA members have done so far, the Xoom charger requires 1.5A, USB puts out .5A, that's not too far off if we just want trickle charging.

The battery is 7.4V but 5V isn't too far off either.

Does the market app SPARE PARTS work on the Xoom, or some other charging monitor app?

Maybe someone who already has the Xoom and knows how to solder can frankenstein a USB charging adapter? Make one end fit into the charging port of the Xoom and the other end fit into a standard micro USB plug.

This way, you carry your normal USB cable for data transfer but if you need to charge, then you plug the USB plug into the adapter which plugs into the charging port.

BTW, can someone please clarify that the charging port IS THE ONLY WAY to charge the Xoom? Someone said on here that the docking device has a USB plug that will charge the Xoom thru the USB?
[Xoom General] bwcorvus:
Spare parts works fine, so does battery monitor widget. The dock uses the 2 metal pins between the hdmi and charging hole.
[Xoom General] gbenj:
My HTC charger outputs from the AC adapter to microusb at 5V and 1.0A, which is as high as I've seen with other phones and chargers.

The Xoom charger appears to output 12V at 1.5A.

I'm no electrician but that does seem like a pretty big difference. 140% greater in and 50% greater respectively.
[Xoom General] Bauxite:
A lot of armchair electrical engineers in here. Tell me, what would you gain from creating your own proprietary usb charger? You'd still have only one of them and you couldn't use it on anything else.

Has anyone stopped to think that it's very highly likely that the usb charging pins aren't hooked up at all inside the xoom?

This forum is the biggest group of whiny people I've ever encountered, and I once accidentally walked into a GoP fundraiser.
[Xoom General] ggoldfingerd:
Well the current rating is only part of the equation. Think of the voltage as the pushing force for the current. The Xoom has two Li-Po packs (two batteries) with a nominal voltage of 7.4V. It really depends on the battery, but in general for Li-Po's, the minimum voltage for this battery will be something close to 6V. Li-Po's require specific ways of charge with min/max voltages and certain currents. The minimum battery voltage cannot be overcome by the 5V from USB, thus it will not charge the battery.

If anything, the 5V could power the device, but it wouldn't charge the battery. I would bet that this doesn't work. The power jack on the Xoom probably goes into a regulator that reduces the 12V into a lower voltage that charges the Xoom.
[Xoom General] Neo3D:
I don't see how you see it as whining, we're just figuring out how to get things we want ourselves instead of waiting for the manufacturer to do it for us ;)

Most of XDA's reader probably have some kind of techincal/engineering/IT/industrial background. Nothing wrong with pooling our talents to solve manufacturers' shortcomings.
[Xoom General] badandyg:
USB Charging

Just tried to charge it VIA USB and wall charger with USB port & this is the result.
[Xoom General] Natchez802:
Cooper Wiring Devices - USB combination receptacle

Cooper Wiring Devices will be selling a combination USB + receptacle that fits in a standard decorator wallplate through Lowe's soon: 15A /125V receptacle - 5V DC 700mA USB outlet.
[Xoom General] goofballtech:
See the last two posts in this thread......

why no usb charger?
[Xoom General] zbee:
for those that are adventurous i have just posted this up for people who want to make cables etc

http://xdaforums.com/showthread.php?t=1119529
[Xoom General] Psychokitty:
So you're not just a dickhead, but apparently you're an idiot, too.:rolleyes:
[Captivate General] angryphoton:
I was just expolring my Running Services in the Settings/Applications menu and found this service running. I thought AT&T does not allow tethering? Anyone have an idea why this service running?
[Captivate General] Pirateghost:
open your settings, click on wireless and networking.

do you see mobileAP and Tethering?

ATT allows it if you pay them money. Or you can root the phone and remove that one apk and have your tethering for free.
[Captivate General] angryphoton:
thanks for the info
[Captivate General] Caliesv:
Or if you have TBU, you can just freeze the tethering app
[Captivate General] hbgregg:
Just tethered my notebook via mobile ap wifi hotspot. My data plan is unlimited and I do not have a tethering/mobile hotspot plan, as the settings notes indicate. Perhaps that is included in the unlimited data plan?
[Captivate General] PhoebusIII:
which apk do you remove? i just upgraded to the stock 2.2, but I am rooted
[Captivate General] pietro_spina:
it's called "Tethering Manager 1.0"

http://xdaforums.com/showthread.php?t=968062

or you can rename TetheringManager 0114.apk in /system/app to something like TetheringManager 0114.apk.disable
[Captivate General] PhoebusIII:
Thanks...got it
[Captivate General] foxbat121:
Nope:

1. Unlimited plan does not include any tethering

2. Tethering data plan is limited to 4GB only and you need pay $45/mo for it.

If you didn't mess with Tethering Manager, you will not be able to connect your laptop to the internet without paying for the tethering plan. That's what Tethering Manager does (to verify that you have paid for tethering).
[Captivate General] melvinaury:
I just root the phone, erase the tethering Manager, unroot the phone and I still has the tethering available using USG or wireless. My plan is only 2GB.
[Captivate General] foxbat121:
Duh, Tethering Manager's only job is to verify you paid for tethering plan. If you removed it, you will be able to tethering without pay for the tethering plan.
[Captivate General] kris_usa:
How did you do that?
[Captivate General] hbgregg:
settings>wireless and network>Mobile AP

select Mobile AP

under Mbile AP settings, change the Network SSID (or leave default name) and set the password

open wi-fi connections on your device and select the SSID of your captivate and enter the password
[Captivate General] peachpuff:
Im surprised people aren't revolting about tethering plans. Imagine if you had to pay your isp more money to have a 2nd or 3rd computer connect to your router to access the internet at home, people would scream bloody murder, yet in the mobile world its ok? :confused:
[Captivate General] Caliesv:
I guarantee about 99.999999% of people on xda are NOT paying for that service. But, I can see where your coming from. :)
[Captivate General] foxbat121:
Tethering plan is nothing new. If ppl would revole, they's have done it long time ago. The only ppl that paid extra for tethering are probably those paid by company and don't care how much it costs. Work arounds has been there as long as there are tethering on Smartphones. Compared to what text message costs you, tethering charge is little potato. I see a lot ppl have not problem drop $20 to $30 a month for text messaging plan that uses almost no resource (idle bandwidth only) on carrier.
[Captivate General] HG_User:
Even if you are disabling Tethering on your phone, which I do because I don't use my phone that way, you want to uninstall/freeze or otherwise disable the Tethering Manager. I found that on my phone, the Tethering Manager was

starting and force-closing (twice!)

every time I booted the phone and every time I plugged in or unplugged the USB cable. EVEN with Tethering disabled in my phone settings.

I think in almost all circumstances, you want to disable the tethering manager.
[G Tablet General] iamgrendle:
i have a gtab vegan, and a droid x stock (so far), as well as an ipod and iphone. for me fun factor def has android beating apple os hands down, even tho i love my ipod. but i cant help but notice video playback looks noticably better on the apple os. so far this is the only plus for the apple os in my eyes so far, other than that the android os rocks. video on the android seems to have a lot of artifacting going on. any thoughts? on the android os, i use vitalplayer, and rockplayer lite.
[G Tablet General] ThinkerT:
A bit OT, but how do you change the default directory in vitalplayer? No matter what I change the setting to (/, /sdcard2/, etc) it only displays the contents of the internal sdcard.
[G Tablet General] muqali:
Well other than the smaller size and higher quality of the iphone screen I don't know what else would affect it. If you're using the same h264 video that is.
[HTC Inspire 4G] atticusmas:
hey dudes, i have another problem with root. i wanted to flash CM7 to it and i used rom manager to download it and flash, but it is stuck at loading screen with the cute little blue android dude on the skateboard. i cannot go into rocovery because i used the one click to root and it only wants to update the rom thingy. it updates, and i can use the phone, only without CM7. so basically what i want is for the bootloader to stop overwriting my rom and i want to install CM7:D

OK: edit. i just made it overwrite my system and i ran regular rom. but alas, another problem. i tried to install CM7, and i put this kernal on it and now i am stuck on endless rebooting AHHHHH. ok now i am just updating the pd98 thingy again to get my phone back but it probably will do endless reboot again if i try to flash the kernal again. any ideas?

EDIT AGAIN: ok flashed kernal and rom at same time and stuck at booter again with the cute dude but i dont want to re-flash the pd968 thingy. should I? or should i wait

EDIT: i can go into clockworkmod but not recovery mode

EDIT: fixed it. forgot to factory reset. i am now running CM7 on android 2.3.1
[HTC Inspire 4G] klquicksall:
well give this a shot since you cant go into recovery. put the rom that you know works on the root of your sd card and rename it to pc36img and try to flash it that way. I hope it works.
[HTC Inspire 4G] tpbklake:
PC36IMG is for the HTC EVO. The HTC Inspire is a PD98, so that is what the bootloader is going to look for on the SD card.
[HTC Inspire 4G] klquicksall:
Lol sorry I was messing with my evo eariler I guess the number got stuck in my head.

Sent from my Inspire 4G

Rooted ace hack kit

Att1 stock rom