yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] frater:
I recently found out that the autodiscovery process in Android's email application is incomplete. It will only query https://domain.com/autodiscover/autodiscover.xml and https://autodiscover.domain.com/autodiscover/autodiscover.xml

I know this because I checked the source.

I only have a trusted certificate for mail.mydomain.com, so I need to tell the activesync client this. The people at Microsoft thought of a way to do this, but it involves querying an SRV-record in DNS (host -t srv _autodiscover._tcp.domain.com).

This is not done by the email-client in Android.

The full procedure for autodiscovery is described here:

http://technet.microsoft.com/en-us/library/bb332063(EXCHG.80).aspx

This is the code I found on http://android.git.kernel.org

EasSyncService.java

// There are up to four attempts here; the two URLs that we're supposed to try per the
// specification, and up to one redirect for each (handled in postAutodiscover)
// Note: The expectation is that, of these four attempts, only a single server will
// actually be identified as the autodiscover server. For the identified server,
// we may also try a 2nd connection with a different format (bare name).

// Try the domain first and see if we can get a response
HttpPost post = new HttpPost("https://" + domain + AUTO_DISCOVER_PAGE);
setHeaders(post, false);
post.setHeader("Content-Type", "text/xml");
post.setEntity(new StringEntity(req));
HttpClient client = getHttpClient(COMMAND_TIMEOUT);
HttpResponse resp;
try {
resp = postAutodiscover(client, post, true /*canRetry*/);
} catch (IOException e1) {
userLog("IOException in autodiscover; trying alternate address");
// We catch the IOException here because we have an alternate address to try
post.setURI(URI.create("https://autodiscover." + domain + AUTO_DISCOVER_PAGE));
// If we fail here, we're out of options, so we let the outer try catch the
// IOException and return null
resp = postAutodiscover(client, post, true /*canRetry*/);
}

I already wrote the coder of Android's email application (Marc Blank) an email, but I didn't get a reply.

I am not a java-developer nor do I have write access for Android's source code (obviously). Is there anyone here on this board who can help me to get this full procedure incorporated into Android's code?
[Atrix 4G Q&A, Help & Troubleshooting] dcarpenter85:
I read on the gingerblur thread that you can restore individual pieces of bloatware by deleting the ones you don't want to restore from the zip. I know how to do that but my question is this:

Say I want to restore ONLY the stock gallery to get rid of the 3d gallery that comes with GB. I'd delete the DATA folder since I don't need any of those apps, and then I'd also delete everything from the SYSTEM folder except for the MediaGallery.apk correct? What, then, do I do with the META-INF folder? Can it be deleted as well?

Also, when browsing the META-INF folder I noticed this:

print ""
print ""
print "+--------------------------------+"
print "| |"
print "| GingerBlur |"
print "| |"
print "+--------------------------------+"
print ""
print ""
print ""
print ""
show_progress 0.5 0

[B]delete SYSTEM:app/Mms.apk[/B]
copy_dir PACKAGE:system SYSTEM:
copy_dir PACKAGE:data DATA:

show_progress 0.5 10

Does this mean that the Mms.apk app will be deleted when I install the zip from CWM? I don't want to lose the Mms app, I just want to install the gallery.
[Atrix 4G Q&A, Help & Troubleshooting] Ririal:
That won't work on newest CWM, it's using an outdated script format.
[Atrix 4G Q&A, Help & Troubleshooting] mckibbon17:
This is how i fixed it for me

Downloads on this link for what the post talks about

http://xdaforums.com/showpost.php?p=12701405&postcount=3398
[Atrix 4G Q&A, Help & Troubleshooting] dcarpenter85:
Thanks for the replies folks, got the gallery installed.
[Thunderbolt Android Development] sonofskywalker3:
The 1.1 Stable Download is available in Rom Manager now with limited options. I will be adding more as I find the time to.

Well, after many hours of trial and error, testing, and confusion I'm very proud to present the first open beta for Blackhole Build-Your-Own Rom on the HTC Thunderbolt.

Standard disclaimer:

While no Custom Rom can ever claim to be completely safe, and the very act of rooting your phone voids your warranty, I do my best to make sure that any Rom I release is fully tested. That said, if something does go wrong I am not responsible for loss of time/money/data/sanity/limbs/life that results directly or indirectly from the use of this Rom. Please enjoy responsibly.

Changelog:

Based on the latest RUU leak (1.13.605.7)

Deodexed

Rooted with Busybox

All bloat removed

Most stock apps removed

Added advanced power options mod

Added apps:

Widget Picker

Remaining stock apps:

Calendar

Camera

Contacts

Gmail

Phone

Setup Wizard

1.1 Changelog:

Added 6 signal bar mod (Thanks TeamBamf)

Added Accurate Battery (Thanks TeamBamf)

Added Transparent Notification Area (Thanks TeamBamf)

Added Power Options in Notification Area(Thanks JSChiSurf)

Various file-system and build.prop tweaks.

Known issues:

Cannot setup additional Gmail accounts past the first, unless connected to a computer via usb (No idea, but I'm working on it) User error.

Occasional reset during first run of Setup Wizard (only happened twice out of 10-20 /data wipes during testing) Fixed in 1.1 update.

Because I cannot test everything I rely on you guys to report any issues you have. Please be specific, let me know what triggers the issue, if you find a workaround, the specific error message you get (if any) and all the detail you can provide.

DATA WIPE IS STRONGLY RECOMMENDED BUT NOT REQUIRED

Download in Rom Manager

Visit Androiddoes for FAQ's, a list of the latest Rom Manager updates and the official error reporting thread. Also you can find info on how to get early access to the Rom if interested.
[Thunderbolt Android Development] jasonbiggs:
Great! So all of this will be linked to Rom Manager? Meaning, we get the ROM there as well as choose what will go on it and then flash? Or, do we grab the ROM from a link provided, and use Rom Manager to personalize it?

Also, is the kernel going to be a separate flash based on our needs or will you include one (or some choices) in the Rom?

Thanks for your work!
[Thunderbolt Android Development] sonofskywalker3:
The Rom will be in Rom Manager as well, so you'll select the Rom option, and it will give you a bunch of different lists to choose one or more options from, such as:

Music - Stock or AOSP player

Browser - Stock or choice of market browsers

Launcher - Sense, LauncherPro, ADW, GoLauncher, etc.

Stock apps - Add back any removed apps you may want

Theme - Select from available themes (added with permission of creators)

Kernel - Pick the kernel you want with the Rom (added with permission)

Mods - choose which mods are preinstalled

(These are just examples and may not be available right away, or ever)

Blackhole aims to be an all in one experience.

I also try to make it easy to try different things and modify the Rom after it's installed. Every option that you can choose when you flash the Rom for the first time can be chosen later to change things up. These options even work on most other roms too.

Thank you for your question, I apologize if I've been a bit too long winded.
[Thunderbolt Android Development] jasonbiggs:
Nice. I already see you in rom manager. Looking forward to try it when rom manager access complete. Thanks.
[Thunderbolt Android Development] joshnichols189:
loved blackhole on the fascinate.. can't wait :)
[Thunderbolt Android Development] wctaylor79:
So just going through the motions in Rom Manager I can see that this thing has great potential. Was this made originally for Galaxy phones? Seems to be a lot of options for Touchwiz and de-binged apps? Is there or will there be options for sense items. I personally like using sense just all the verizon stuff de-bloated.. I know it is work in progress and looks great. This weekend when I have time I will give it all a go and see how it runs..

Can't wait to see how this grows. Will be a nice option for people that I know that are not really good at setting up custom looks on their phones. Reminds me of Adamz Smoked Glass on the D1 back in the day when he made setup files in recovery to choose what you wanted.. Again awesome work..
[Thunderbolt Android Development] sonofskywalker3:
Yes the rom was made for the Verizon Samsung Fascinate first, and I'm using that manifest to work in the Thunderbolt options more easily.

I plan to have all of the Stock apps including sense, widgets, themes, wallpapers, etc. available eventually.

I actually took my inspiration for this rom from the Droidmod installer from my D1. When I upgraded I saw there was nothing like that for the fascinate and decided to make it myself. It just kinda caught on from there.
[Thunderbolt Android Development] steeeler:
I loved your Blackhole rom on the Fascinate. Its great to see you put one together for the T-Bolt!
[Thunderbolt Android Development] Jaxidian:
Sounds nice!
[Thunderbolt Android Development] Breakthecycle2:
+1

10charssssss
[Thunderbolt Android Development] robertesteele:
I can't wait to use your rom. It was all I ever used on my fascinate. I love your work. Thanks for doing it on the t-bolt. You rock.
[Thunderbolt Android Development] sonofskywalker3:
Thanks a lot for all the kind words guys. Build your own version should be up in Rom Manager very soon, with constantly growing options.
[Thunderbolt Android Development] superdusto:
When I wipe and install the phone just loops and never boots up. Stuck on Android
[Thunderbolt Android Development] sonofskywalker3:
Are you able to get a logcat so I could see why? I never had it do that in all my testing.
[Thunderbolt Android Development] superdusto:
Not sure what a log cat is. I tried it twice wiping both times and had no luck
[Thunderbolt Android Development] sonofskywalker3:
Have you tried downloading it again? could have been corrupted or incomplete download. What's the file size for the one you flashed?
[Thunderbolt Android Development] superdusto:
The size was 142MB
[Thunderbolt Android Development] sonofskywalker3:
If anybody tried to download from rom manager, I had some issues with my manifest, it's fixed now, so if you get an error just exit Rom Manager and try again, It'll start from where you left off.
[Thunderbolt Android Development] sonofskywalker3:
That's the right size, so it's not an incomplete download. Try flashing the Stock Dexodexed build and then install Blackhole from Rom Manager.
[Thunderbolt Android Development] jasonbiggs:
Cool! Really need the Corporate email option to be installed :)

And, is wifi working in 1.0?

Thanks!
[Thunderbolt Android Development] sonofskywalker3:
Just confirmed wifi works fine on 1.0, and Corporate Mail installer will be up with tomorrows batch of options in Rom Manager.
[Thunderbolt Android Development] jasonbiggs:
FYI...WiFi still shows error for me on 1.0.
[Thunderbolt Android Development] Gunnarsaxon:
Loved this in on the Fascinate I used for a bit. So glad you joined us her on the tbolt!
[Thunderbolt Android Development] jr313:
Will you be making an asop version when all sources are available? i would definitely try that! im using CM7 and will not go back to sense ever...im spoiled with vanilla android..lol
[Thunderbolt Android Development] magicriggs:
The gallery is missing? I can't seem to find it, but I downloaded 3D gallery from the market. Seems to be working.
[Thunderbolt Android Development] Thrillhouse847:
Really excited to see you bringing blackhole over to the thunderbolt. Can't wait to see this progress.
[Thunderbolt Android Development] dhardison:
Coming from the Incredible, I missed the Fascinate rom, but this seems like a damn cool idea. I'll definitely try it out.
[Thunderbolt Android Development] sonofskywalker3:
Try flashing one of the newer kernels from kernel manager, some people have reported this fixes the wifi issues when flashing to a rom based on the new RUU. Blackhole does not include a kernel by default, tho the option will be there in the future.

I can confirm wifi works fine for me since I've been using it ever since verizon broke 3g :D

Working on new options in Rom Manager now, will have an update list soon.
[Thunderbolt Android Development] jasonbiggs:
cool. will do. but want to wait for your next apps list update. Thanks!
[Thunderbolt Android Development] sonofskywalker3:
Added some new updates to Rom Manager for Media Player, Gallery and Extras. Full list is at http://www.androiddoes.net/showthread.php?2046-Blackhole-Thunderbolt-Rom-Manager-Daily-Updates
[Thunderbolt Android Development] emplox:
Is it possible to put AOSP Mail app on Blackhole as an option?
[Thunderbolt Android Development] sonofskywalker3:
I'll give it a shot. If it works it'll be up with today's batch of updates.
[Thunderbolt Android Development] MrCapcom:
Took sense out?
[Thunderbolt Android Development] sonofskywalker3:
Latest updates are posted in the Androiddoes.net thread. Some themes, kernels, and AOSP Mail now available.

MrCapcom: Sense launcher is removed (some Sense framework and HTC apps are still there to run the core) but will be an optional add-back later, once I find out what all it needs to work. As of now if you just re-add the rosie.apk (Sense launcher) it will just sit there and say "loading, this may take a minute" forever.
[Thunderbolt Android Development] TheLoonyRebel:
Is there any plans for Pulldown Widget to be added to your ROM?
[Thunderbolt Android Development] emplox:
Thanks a lot, time to flash it :)
[Thunderbolt Android Development] MrCapcom:
Cool thanks but since the Rosie launcher is borked pretty much friend stream and the clock and other widgets won't work right
[Thunderbolt Android Development] sonofskywalker3:
DemoManMLS: Yes, with Adrynalyn's permission version 1.1 and beyond stock theme will be based on Das BAMF 1.5nte (non-themed edition) Framework. This means the accurate battery, Pulldown Widget, No Recent Apps, 6 Signal Bars, Transparent notfication, etc. will all be included in Blackhole by default, even if you don't pick a theme. If he doesn't give me permission they I'll figure out how to do all those things myself, but it'll just take longer.

MrCapcom: That's right, so all of those things will start being added as options once I figure out how to get Rosie running smooth. Probably won't be hard, just gotta take the time to dig through a logcat.
[Thunderbolt Android Development] seang:
im liking it so far. nice and smooth.
[Thunderbolt Android Development] sonofskywalker3:
Thanks, Glad it's working well. Options will continue to grow daily for as long as I can manage it.

I actually had a bit of a fit this evening when I thought something I did broke SMS. Turns out I was just texting a bad number (got a "+" saved in the contact somehow...) DOH! :rolleyes:
[Thunderbolt Android Development] devwest:
This Rom is the ****. It's the best and closest to aosp out there.
[Thunderbolt Android Development] stuckhere4ever:
I'm a big fan, I really like it. Only request I have, is it possible to add an option to use AOSP Contacts / Dialer?

Major thumbs up though, thanks for the hard work!
[Thunderbolt Android Development] seang:
There isn't an alarm clock. Had to download one.
[Thunderbolt Android Development] sonofskywalker3:
devwest: Thanks so much! More AOSP options coming soon.

stuckhere4ever: Looking into it. Might not be possible, and if it is, it might not be today, but I'll try.

seang: AOSP Desk Clock and Stock Desk Clock will be added today.
[Thunderbolt Android Development] sonofskywalker3:
Rom Manager has been updated with the Desk Clocks, a new theme, and a mess of Boot/Shutdown Animations, some with audio. See http://www.androiddoes.net/showthread.php?2046-Blackhole-Thunderbolt-Rom-Manager-Daily-Updates for details.

I also created a "Modify Existing Rom" section to allow you to add/change components without wiping /system, or re flashing the whole Rom.
[Thunderbolt Android Development] devwest:
Will this from do wireless tether..or can I use the mobile hotspot app...it's free until May 15.
[Thunderbolt Android Development] sonofskywalker3:
Both, I'll try to upload the mobile hotspot app when I get a chance, but the wireless tether from the market should work.
[Thunderbolt Android Development] drsuse:
Rom

This rom is so bad ass!!! i only add what i want and what i need... cant wait to see the final
[Thunderbolt Android Development] devwest:
Its all good. I got the wireless tether app and it woks fine. Thanks for the rom. I look foward to any updates!
[Thunderbolt Android Development] gitku:
Awesome ROM! ... not too much but definitely smooth .. my favorite yet at this point.

One question: can the colors of the power widget be changed? I have the ever awesome gingersense theme and the cyan colored notification Widgets. I swear there is somewhere in the settings to change it but can't find it .. but then again I may be thinking of a different rom entirely. Either way thanks for a great build.
[Thunderbolt Android Development] jasonbiggs:
I like it so far and the options are nice. Thx for the corporate add-on. Is it possible to remove the time in the status bar. Since most peeps have the time on their homescreens and the time shows when one wakes up their phone, is there really a need for it there?
[Thunderbolt Android Development] jasonbiggs:
I just updated with the call of duty boot animation and nothing different as I have rebooted twice. Is this working? Thx
[Thunderbolt Android Development] sonofskywalker3:
On a theme that has the powerwidgets installed there is a "power notification settings" or something like that in the app drawer. This controlls the settings for power widget. I don't have it right now on my phone, but the icon is yellow with a red P on it i think...
[Thunderbolt Android Development] sonofskywalker3:
I'll take a look and see what's up with it.
[Thunderbolt Android Development] yumms:
Is there a way to remove the gps icon?
[Thunderbolt Android Development] Ubermicro13:
Your idea for customization and "Build your own ROM" deal is very neat. I have seen other devs try similar things but this appears to be off to a great start! I just hope more AOSP options can come into play.
[Thunderbolt Android Development] sonofskywalker3:
Sorry for the delay between updates, I've been sick the past few days. But I've finally worked out the Sense Launcher issues, so those of you who like Sense are in luck. Today I'll be adding an option for the Rosie launcher and over the next few days I'll try to steadily add options for the widgets and customizations that come with it. Again, you'll be able to pick only what you want. I'll post again when the updates are online.

And coming soon, since I've gotten Adrynalyn's permission I'll be adding a bunch of Framework updates and options to the stock theme for Blackhole 1.1. Check out my forum over at www.androiddoes.net over the next few days to get details on the quickest way to download the latest versions.
[Thunderbolt Android Development] sonofskywalker3:
Version 1.1 details are up in the OP. I will be releasing it to the public on Saturday morning. For full details on the Blackhole release schedule check out Androiddoes.net
[Thunderbolt Android Development] xamphear:
When going from 1.0 to 1.1 is a data and/or cache wipe needed?
[Thunderbolt Android Development] sonofskywalker3:
No, only when flashing from a different base. You should be fine flashing with no wipe from any 1.13.605.7 based Rom.
[Thunderbolt Android Development] sonofskywalker3:
Today's updates are available in Rom Manager and listed here
[Thunderbolt Android Development] millbean:
Flashed and lost Google talk . Where did it go lol
[Thunderbolt Android Development] sonofskywalker3:
Version 1.1 is now available on Rom Manager. Google Talk is not included in the base Rom, It will be available in the options soon.
[Thunderbolt Android Development] boristhebladexx:
i like all the choices. downloading now.
[Thunderbolt Android Development] drsuse:
I have tried installing this from bamf 1.6.2 and it will not install.. I have been in recovery and wiped cache, factory reset, dalvik, and installed from zip the rom.. after it boots, looks diff but still has bamf in version and won't let me change launcher.

Edit: whats weird is I used it before. It's gotta have something to do with the radio or kernel
[Thunderbolt Android Development] Hellation:
Awesome Rom love the options in Rom manager and very snappy so far no problems at all.

XDA App - HTC: Thunderbolt
[Thunderbolt Android Development] kenmills78:
Can you post some pics of the non themed version?
[Thunderbolt Android Development] xamphear:
Just updated to 1.1, no issues. I really like this ROM, thanks for your work on it.
[Thunderbolt Android Development] theyownus:
Same here. No wipe, no problems. Love the simplicity. Thanks
[Thunderbolt Android Development] jgrimberg1979:
Is there any way I can get vvm on this Rom
[Thunderbolt Android Development] xamphear:
The two best things about version 1.1:

The stock android unlock screen/drag bars.

Getting rid of that godawful recent programs bar in notifications and replacing with the the toggles.
[Thunderbolt Android Development] sonofskywalker3:
millbean: Google Talk will be added to download options today.

drsuse: Thanks for reporting this. It's actually an issue with the my build.prop that didn't overwrite changes made in bamf. I've updated the installer, so if you want it to display right go into Rom Manager, from the first screen press the 'menu' softkey and choose "clear download cache" then redownload the rom. If you don't care that it displays wrong, you can see the correct Rom version in Rom Manager, not in settings/about/software.

Kenmills78: I'll try to get to that today.

jgrimberg1979: I'll add VVM as an option today.

Everyone: Thanks for the compliments, and if there's anything I can do to improve the Rom for you, please let me know.
[Thunderbolt Android Development] xamphear:
Is there a way to disable the "wake on volume button" setting? When the phone is in a pocket or bag, having the screen going on all the time will rape the battery.
[Thunderbolt Android Development] sonofskywalker3:
Yes, I have compiled an android.policy.jar with all the enhancements except for Wake on Volume, I will create a patch and upload it later today.
[Thunderbolt Android Development] sonofskywalker3:
Couple of screenshots now on the OP. Updates available soonish.
[Thunderbolt Android Development] sonofskywalker3:
Updates are loaded, list available at Androiddoes.

Includes requested apps/mods. Please let me know what's a priority to you guys so I can put new stuff up in the right order.
[Thunderbolt Android Development] drsuse:
Thanks gonna try that tonight. It acts like it doesn't fully delete the Rom I am replacing
[Thunderbolt Android Development] yumms:
Is the 'Mods' section working for anyone else in the Rom Manager for this rom? I keep getting 'an error has occurred' message.
[Thunderbolt Android Development] revolt1:
nice rom the issue I came across is that it lags to the point of battery when viewing. YouTube. then when I back out in landscape mode.

using gingerbread theme. don't know why it does that on every gingerbread theme
[Thunderbolt Android Development] tats_06:
Really speedy ROM!!!! A couple things found:

- mms not working???

- battery % off to right on Gingersense themed one

- scrolling is choppy at times

Please let me know if those are fixable... Currently running this ROM with lean kernel and new babseband. :)
[Thunderbolt Android Development] Farva0412:
Same here, I have to pull battery cuz its lagging like crazy.

One think I would like is the mobile hotspot app back please. I pay for the service and would love to use it.