yashsingh1/xdaforums huggingface dataset:
[Thunderbolt Android Development] jblack248:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

Many of you have been very patient, so here is a preliminary CyanogenMod 9 build for the Thunderbolt. Flashing instructions are nothing out of the ordinary, just wipe cache, data, and system; install ROM and optional gapps; and reboot. This thread is cross-posted on both InfectedROM and XDA.

ROM:

cm-9-20130602-UNOFFICIAL-mecha.zip

GAPPS:

gapps-ics-20120429-signed.zip

Known Issues:

Same as Twisted / Liquid ICS builds:

Camcorder does not work

Video issues with Gmail white-out and no Netflix video

Please report any issues on this Google Docs spreadsheet or this thread.

ROM - No Radio with Evervolv Kernel:

Due to a few requests, I made a build using Evervolv's 2.6.35 kernel that fixes Netflix video and white-outs in Gmail. However, it breaks the radio so I only recommend this to people who no longer have their Thunderbolt in service. Since I need the radio and will not use this version, there are no guarantees long-term.

cm-9-20130603-UNOFFICIAL-mecha-NO-RADIO.zip

Thanks and Credits:

CyanogenMod

Evervolv

disconnecktie

Liquid

Mustaavalkosta

Santod

Twisted

Source:

https://www.github.com/cyanogenmod

https://www.github.com/jblack248

Archive:

cm-9-20130530-UNOFFICIAL-mecha.zip - 127.10 MB

cm-9-20130518-UNOFFICIAL-mecha.zip - 127.11 MB
[Thunderbolt Android Development] jacobmacek:
You should post some screens and see if using liquids kernel fixes anything

and add pie controls http://xdaforums.com/showthread.php?t=2295652
[Thunderbolt Android Development] disconnecktie:
Awesome work man. Glad to see this up. Pie controls shouldn't be added to this ROM since it is intended to stick to stock cm guidelines. If you want pie controls then put them in yourself or use lmt. Pie controls weren't included in cm until 10.1.
[Thunderbolt Android Development] jblack248:
Screenshots are a good idea, thanks. Pie controls are in Jellybean ROMs galore so there's no need to backport them with JB progress being made (knock on wood). Twisted's kernel is based on liquid's original one for the Thunderbolt, although the newer kernel base from evervolv is where the focus is now. If HTC would release kernel source then a number of things would come together.
[Thunderbolt Android Development] jacobmacek:
fair enough

---------- Post added at 01:42 AM ---------- Previous post was at 01:37 AM ----------

Good point, I'm getting a new tbolt next week so I can help speed things along, once it's done, are you still going to continue with cm9?
[Thunderbolt Android Development] jblack248:
That's good news. I want to get CM9 to a usable point first then move on to JB, but I'm not sure how much longer I'll have this phone in service with Verizon. Definitely for at least another month.
[Thunderbolt Android Development] je2854:
I heard of this before time of release... thanks for dropping this finally.

I do not have the Thunderbolt but will be glad to allow with assistance

as I have one still available to test on.
[Thunderbolt Android Development] buggatti:
Well, I was set to get the n4 this might have just delayed the purchase of it

on topic

is there any way to use this to get ubuntu os working?
[Thunderbolt Android Development] disconnecktie:
Ubuntu on the thunderbolt?
[Thunderbolt Android Development] je2854:
There is a way to boot Windows but have not heard anything about booting Ubuntu on it.

You have to have (specs wise in order to work correctly) a Dual-Core CPU to start with....
[Thunderbolt Android Development] disconnecktie:
Ohh you must be talking about Ubuntu touch. No this won't work for booting that. You need cm10.1 for it to work. From what I understand though is eventually that won't be necessary.
[Thunderbolt Android Development] Kiyuubi:
You can boot ubuntu as well as debian, but just as with windows you're better of not doing it. Just something to show of to apple fanboys.
[Thunderbolt Android Development] buggatti:
sorry for the misunderstanding. i meant ubuntu touch.
[Thunderbolt Android Development] disconnecktie:
Yea cm9 won't work for that. It takes cm10.1 but Ubuntu touch isn't even at a stage where using it as a dd is even possible. Pretty much all the important parts don't work.
[Thunderbolt Android Development] jblack248:
New build is being uploaded now and it fixes the camera (mostly). There's a glitch in that it doesn't update the preview, so when you start the camera or change modes it is black until you take a picture. Recording doesn't work, so this is also limited to what's available in liquid and twisted builds for the time being. FFC does work, however.

To clarify any confusion, this isn't Ubuntu Touch.
[Thunderbolt Android Development] Satava:
Amazing!! I'll be flashing this as soon as I wake up! Thanks for the hard work!!
[Thunderbolt Android Development] jblack248:
You're welcome! I'm glad you and others are enjoying it. I'm relieved this got to a usable state around two years after I've had my phone. I'm not sure how much longer the Thunderbolt will be used, but at least people will have options and a source trail.
[Thunderbolt Android Development] musicfreak190:
SWEET
[Thunderbolt Android Development] tburns:
*oops didn't read everything*
[Thunderbolt Android Development] winapp2:
I'm upgrading off of the Tbolt in just a few days - but after that's done with I should be able to test your broken radio build if you'd like.
[Thunderbolt Android Development] jblack248:
Sounds good. I'll put it on my to-do list and should have it done by the time your Thunderbolt is out of service.
[Thunderbolt Android Development] mcpo117:
Just got it loaded and in the process of putting everything back the way I like it. So far this is much faster than any other ICS build I've used. I haven't run into any issues although I've only been running it for about an hour and a half. I just wanted to say thank you to the devs. I've missed CM even since CM7 became obsolete. I'll let you know if I run into any bugs or glitches. Once again thanks for breathing some new life into my TBolt seeing how I'm not going to upgrade because I would lose my unlimited data.
[Thunderbolt Android Development] jacobmacek:
I'll definitely flash it and give it a go when my new tbolt comes in the mail next week, keep up the good work Joe!
[Thunderbolt Android Development] jblack248:
Due to issues with dev-host, I am moving over to androidfilehost. Builds should be available again shortly. Thanks to santod for fast-tracking my developer request.

Also, I have a new build incoming that fixes the camera glitch with the black preview screen. Apps that require the camera should be more stable now. Camcorder is still a no-go.
[Thunderbolt Android Development] disconnecktie:
I don't know what you did to the camera but the picture quality is way better than I have ever seen on aosp.
[Thunderbolt Android Development] jblack248:
I haven't done anything specific, but it's probably due to using a newer camera app and framework. Instead of using Twisted's camera as-is, I decided to merge the few changes I needed into CM's. Otherwise the camera HAL and libraries are the same.

New build incoming that uses the evervolv kernel, so it fixes Netflix and white-outs, but breaks the radio. I tested it for a short time and it ran well, but I'm not guaranteeing anything long-term. For those who are going to use it long-term, please report any issues with it since I need a working radio and won't use it.
[Thunderbolt Android Development] Satava:
With the broken radio build- Do Wifi and GPS still work? Those are the only two things I really need since the TBolt is basically my music player/gps for my driving job.
[Thunderbolt Android Development] jblack248:
They did in my limited testing. I had a specific request for GPS, so I made sure that worked. Netflix and Gmail worked just fine as well.
[Thunderbolt Android Development] BoulderGeek:
Well, heck.

I wiped caches, but not a full data reset. Coming off of the rooted deodexed Official ICS Santod release.

Getting constant CM9 boot animation. Left it on all night, still that way in the morning. I can't get into fastboot or recovery.

Guess I need to build up an AWB environment again and go back to scratch.

Apparently, this is where I get laughed at?
[Thunderbolt Android Development] disconnecktie:
You have to do a full wipe. In 4ext use format all except SD.
[Thunderbolt Android Development] jblack248:
disconnecktie is correct; you have to do a full wipe on the first install. If you're already running CM9, then subsequent flashes can be done without wiping. Although as always, if you run into issues after doing that then do a full wipe.

Recovery shouldn't matter. I'm using TWRP, but I'm sure 4ext and CWM will work just fine as well.
[Thunderbolt Android Development] BoulderGeek:
Well, crap.

I can only do HBOOT. No matter what I do in Fastboot, it will only try to flash the radio zip. I can't get to a controllable recovery at all.

Any ideas?
[Thunderbolt Android Development] RBarnett09:
Take the SD out and plug it into a computer via SD reader. Move it off of the root of the SD card or rename it and you shouldn't have this problem again.

Or easier yet, boot up normally and use a file explorer, like Root Browser, to move the file from the root of the SD or renaming it something else.
[Thunderbolt Android Development] BoulderGeek:
Thanks. Can't boot normally. That's the problem.

I'll see what I can do by mounting the SD card. Funny, I totally forgot that it was removeable. used to having Apple devices, I guess.
[Thunderbolt Android Development] RBarnett09:
Oh, gotcha. Yeah, pull out the SD and try booting up.

As far as getting that file off of the root of the SD, you may need to get a card reader if your computer don't have one built in and then remove or rename it.
[Thunderbolt Android Development] BoulderGeek:
Sorry to be a jackhole in this thread.

I very much appreciate the help. I did get the sdcard mounted and removed the radios IMG.zip. That got me able to boot to recovery and do a proper wipe. Always follow the OP to the letter. Gaah, I'm a tool.

This is an awesome release. I had been having problems with the official ICS rooted release, where my WiFi kept going to sleep after 10-30 seconds. That issue seems to have gone away with this CM9 release! Same radios, no change there.

My Tbolt seems faster and more fluid. Using ADW EX, like before. Great usability, and my camera works great for still images.

Thanks very much, JBlack, this is an improvement for me! I will be living with my Thunderbolt until mid-2014, so I really appreciate being able to squeeze more life from it. I'm currently in Antarctica until October, then motorcycling South America until Spring, '14. So, this device has to carry me a long way.

:victory::laugh::good:
[Thunderbolt Android Development] disconnecktie:
Try using apex launcher or nova. They are much better than adw and kept more up to date.
[Thunderbolt Android Development] arizonaomnia:
Is this to be formatted ext3 or ext4?
[Thunderbolt Android Development] disconnecktie:
Either or will work. The difference isn't even noticeable.
[Thunderbolt Android Development] RBarnett09:
Good to know it got you going again.

I miss my thunderbolt and some of the awesome people here who introduced me to rooting and helped me along the way. I only hope you guys start seeing more development soon.

And I'm with disconnecktie on trying a different launcher. ADW was awesome but I highly recommend checking out Apex Launcher or sticking out a few bucks for Nova Prime.

Whatever tickles your fancy.

Oh, and don't apologize for being a "tool" because you're used to iPhones. You, sir, have left the tool world of Apple and should give yourself a pat on the back.
[Thunderbolt Android Development] onedementedsmurf:
You have no idea how nice it is to see the CM Android on my Thunderbolt again! And question... do the CPU controls actually work?! Does this ROM in fact have an OC-able kernel???
[Thunderbolt Android Development] disconnecktie:
Yes it does. The kernel in this ROM is in fact a modified GB kernel.

Sent from my personally built from source CM10.1 N7.
[Thunderbolt Android Development] onedementedsmurf:
I think I may have just had a small orgasm.... I'm that ecstatic!
[Thunderbolt Android Development] jacobmacek:
Are you looking to sell your tbolt? If so, pm me so we don't clog the thread with off-topic posts :)
[Thunderbolt Android Development] recDNA:
I'm going to follow this thread for a while to make sure wifi is stable in the no radio build. Thanks for keeping cm alive on our beloved tbolts!
[Thunderbolt Android Development] jblack248:
I was able to watch Netflix for over an hour on it, so I would consider it (the WiFi) stable. The kernel itself is technically made for JB, but should theoretically work on ICS as well.
[Thunderbolt Android Development] recDNA:
Thanks, that's great news. I actually meant stable connection for days/weeks/months without having to log off and on to my home network. I run the tbolt 24/7 as alarm clock, email, calendar, weather app in my bedroom.
[Thunderbolt Android Development] jblack248:
Oh, I see. When I was doing a lot of testing in developing the regular version, whenever I restored a backup the WiFi would need to be reset to stay constant. Other than that I haven't noticed any issues, but I can't guarantee anything in regards to long-term unattended stability.

I'm in the process of moving on to more jellybean-filled pastures, so I'm not sure how much more development I'm going to do on ICS / CM9. If you want to help hammer out any remaining bugs, you could install catlog and save all of the logcats on the device to upload if you have any issues. That would be especially helpful on the no-radio version since that's the kernel I'm planning on using going forward.

To clarify: the daily driver kernel in CM9 does not want to work on JB at the moment, which means the Jellybean kernel is radio-less and useless to many on both ICS and in the future on Jellybean. It's a tough choice. Either try to fix the radio on the Jellybean kernel, or hack into the ramdisk / drivers to get the kernel that works on ICS to "play ball" with Jellybean. There's also that 3.0 kernel iHateWebOS has in progress, but it needs the most work of all.
[Thunderbolt Android Development] twistedumbrella:
To fix the issues with the radio in the evervolv kernel, you would need to start at the lte driver commit on https://github.com/ThePlayground/android_kernel_htc_mecha/commits/ics?page=5 and make sure everything up to the newest netfilter commit on https://github.com/ThePlayground/android_kernel_htc_mecha/commits/ics?page=4 was present. That was the "add networking to the kernel" list of commits.

Anyone know how to get an extra month in the year, or at least an extra day a week? I keep intending to finally fix the camera, but then I get some crazy assignment that requires a fully working release quality game in two weeks. At least that tidbit will give you guys something to work with.
[Thunderbolt Android Development] yumms:
Is there a way to add TUN/TAP support in the kernel?

Thanks.
[Thunderbolt Android Development] jblack248:
Thanks for the advice. The Evervolv team reorganized and split up the LTE driver, so it's somewhat of a mess at the moment. To make it compile I had do some quick and dirty copying and change some includes. I'm not entirely sure why they did it that way, but I'm guessing the devices they were compiling for don't use LTE so they didn't know it was broken. I'm not sure if you saw it, but iHateWebOS got a 3.0 mecha kernel started that needs some work. Evidently it has an updated LTE driver that liquid thinks can be backported to 2.6.35, if anything. I'll take a look at those commits you're talking about. First I have to get the evervolv kernel re-reorganized in a similar way so that I can get in and compare it more in-depth.

In the past week I caught up to where you left off with the camera and decided to switch over to JB. If you do end up finding that mythical extra day of the week, let me know if I can help in some way. It would be great to have you developing on the Thunderbolt again.
[Thunderbolt Android Development] twistedumbrella:
The kernel itself was never the root of the problem with the radio, so it should be fairly compatible with any "working lte" kernel. Hopefully I get some time after I get ahead on my most recent class. I still have the old ICS build running on my phone, so it's not like its building for a device I don't use. The school neglected to consider the Verizon users when they shipped out our "package deal" Nexus.
[Thunderbolt Android Development] jblack248:
That's normally true, but the evervolv kernel is the one delimiting factor that breaks the radio, so it's what I'm going after next. If you're interested in JB, I'm starting work on that now and am trying to keep my github current.
[Thunderbolt Android Development] jacobmacek:
Just got my new TBolt, gonna flash cm9 now!
[Thunderbolt Android Development] quickdraw86:
It's great to see that twisted isn't averse to developing for the bolt again in the future, and nice to see some collaboration/cooperation among our remaining developers as well.
[Thunderbolt Android Development] jblack248:
For some reason this introspective and objective commentary made me laugh.
[Thunderbolt Android Development] quickdraw86:
That wasn't my intention, but to each his/her own. Thanks for working on this all the same though.
[Thunderbolt Android Development] jblack248:
You're welcome. I'm not used to being labeled a "developer" so it made me chuckle. It wasn't that long ago when I felt like I had no idea what I was doing (still feel like that, actually). I have that Q/A thread around here where I started development on this; it's pretty funny for me to look at now.
[Thunderbolt Android Development] twistedumbrella:
That's how you start, though. I was a random CM user that got irritated with their strict standards on what was added to the builds. It's the ability to jump into it without some list of credentials and professional recommendations that makes it more fun than other platforms.
[Thunderbolt Android Development] jblack248:
The patch you wrote for the HTC overlay to get the camera working is still in progress over a year later. A number of the changes for legacy devices are kept in abandonment as well. It's very frustrating, because you have to either fork, use someone else's source, or end up having to keep track of all the necessary cherry-picks. However, it also makes CM generally more stable. It's a double-edged sword.
[Thunderbolt Android Development] twistedumbrella:
Speaking of deprecated garbage still in use... for anyone who tried out the new ingress game and has nothing near them, the wonky gps on this device combined with Fake GPS doesn't give the "location inaccurate" errors of newer devices. My three portals in New York City my Nexus can't open are proof of that lol.
[Thunderbolt Android Development] nokiabolt:
This is so freaking awesome! I miss my Tbolt right now!!! Holy crap! YES

I LOVE YOU..

lol, I'm sorry, but I do... haha

Question, is this based upon the latest CM9 nightly? Does the BBQ log show the respective nightly changelog? The various official CM9 supported devices have varying nightlies, so it was hard to tell..
[Thunderbolt Android Development] disconnecktie:
Sort of it is a nightly but to make it a nightly he would have to sync with cm source every night and make a build from it.
[Thunderbolt Android Development] jblack248:
No need to apologize; the love is mutual.

Yes, it's based on the nightly. However, CM9 has been considered "stable" for a while now and doesn't get many updates so don't expect any new features. I switched my source tree over to Jellybean / CM10.1 so I'm not planning on making any new CM9 builds for a while. I may make a new build once the radio is fixed in the Evervolv kernel, though.
[Thunderbolt Android Development] premiso:
Just gotta say this ROM build is great and works better than the Twisted (was what I have been using) and even the Santod ROM. I am not sure what was up with that Santod but WiFi wouldn't even work no matter what radio I flashed or what order.

Thanks for this release, will probably be on this until someone gets a working camera for a non-sense ROM that my radios work with :)

Edit: Seems to be a few random reboots (specifically when trying to use a Google Voice app). Not sure if it is all phone calls or just using the app. But will keep an eye on it and if persists will setup logging.
[Thunderbolt Android Development] rootyourdroid:
Anyone dropping their 3g or 4g with this rom? It was working great but all of a sudden I have to keep restarting my phone to get on the internet. Also YouTube videos only play sound and won't show any video.

Any ideas before I go wipe and install a different from?

Besides this happening... this rom I'd epic
[Thunderbolt Android Development] disconnecktie:
Data dropping is a known issue but I never had any trouble with YouTube
[Thunderbolt Android Development] je2854:
If you are on the latest radio try stepping down one...

on my old Thunderbolt I would always have troubles

losing connection until I did that... now its solid.
[Thunderbolt Android Development] rootyourdroid:
Is there a specific one you would recommend dropping? And is it OK to downgrade on the same rom?
[Thunderbolt Android Development] jacobmacek:
Are you on the latest radio? From personal experience, if I am on an old radio and an ics rom, it can cause some great instabilities and problems, try upgrading to the latest radio then re-install cm9 :)
[Thunderbolt Android Development] odmejia:
Trying to sell my S3 to get an S4 and glad I have a tbolt still, def going to give this one a tryy!! :)
[Thunderbolt Android Development] je2854:
give me a little bit and I will upload the one that is solid for me
[Thunderbolt Android Development] je2854:
http://www.box.net/shared/n0pmuliamnc8ww4s2dp8

Try this radio.

I do all my flashing manually.

#fastboot devices

#fastboot flash zip ./*location*/ICS-PG05IMG.zip

#fastboot erase cache

#fastboot reboot

Notice I was running those commands in root.

I always run all my commands in Linux with root.

YMMV if you need root or not.
[Thunderbolt Android Development] arizonaomnia:
Santod is saying on InfectedRom that kernel source has been released. :)
[Thunderbolt Android Development] DarkKrai:
Thanks!

Just wanted to thank you for developing this port of CM9 for the Thunderbolt. I've been running Twisted's ROM for a few months now and this is definitely an improvement! Thank you so much for your work.

By the way, HTC released the source code for the ICS Thunderbolt kernel, which you can download here

Keep up the good work!
[Thunderbolt Android Development] jacobmacek:
yup, I am currently working on adding some governers and overclocking to it so i can compile it (with jblacks help) and enjoy a bug-free ics experience. Check out the framework mods I made for this rom here. If youre a fan of having a navbar and/or phablet ui, this is right up your alley.
[Thunderbolt Android Development] jblack248:
I haven't had any time lately for development since I've been gone for the better part of a week. I have been experiencing similar issues as everyone else, so don't feel like it's going ignored. The rumors are true about ICS kernel source being released for the Thunderbolt, so things should pick up soon enough. Liquid, santod, and myself have each had our own versions of JB running (using a combination of the same, similar, and separate sources), and we are also planning on collaborating moving forward. Those two are quite a bit more seasoned than I am and have more time to work on this, but I'm going to do what I can to help.
[Thunderbolt Android Development] twistedumbrella:
Kernel source was released, eh? Looks like I need to free up some time...