yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] toadlife:
This error really isn't that big a deal so I'm not going to do a new release just for it. You will get the error every time you reboot because the kernel sets the wrong permissions at bootup. I would just set titanium to not warn you, or just click through the error every time.

The next major update I want to do is to the overlcock code. User dyehya metioned in the BML thread that the overlclock code in my kernel looked wrong and I think he's right. Specifically, the 1000 and 1100 steps and 1300 and 1400 steps are identical, so when it clocks to 1100 it's really only 1000 and when it clocks to 1300, it's really 1400. The overclock code was taken from Rodderick's repo, and the errors originated there. I think just about every GB kernel for the Epic has these errors in them, since everyone forked from Roddericks repo.
[Epic 4G Android Development] 521:
Cool. I just turned the warning off in Titanium, since as you said, it does no good to select to fix it when it just reverts back on boot up.
[Epic 4G Android Development] TexasLTE:
so , as far as OC goes .... it only affects those specific settings ( 1000 , 1100 , 1300 and 1400 ) ?
[Epic 4G Android Development] toadlife:
I think so, but honestly I'm not sure. The OC code is a bit over my head. I'm studying the manual for the ARM CPU in our phones right now and looking at the various commits. It's making my head spin.
[Epic 4G Android Development] ragnsep:
Does your Kernel have a CIFS module built into it?
[Epic 4G Android Development] toadlife:
No. I should add those though.

bbelos's Shadowkernel does. I recommend his kernel if you need that functionality.
[Epic 4G Android Development] ragnsep:
Thanks! I think I may. CIFS has become unfortunately something I can't do without.

Have you tried ShadowKernel yet with your MTD ROM? Im not too confident in my abilities to set the undervolting and overclocking settings to something fast but not a battery hog.

Thanks for all your work on this rom btw :)
[Epic 4G Android Development] toadlife:
In setCPU, it goes straight to 1200 when you select the level that is supposed to be 1100 and straight to 1400 when you select the level that is supposed to be 1300, so it looks like the steps are 100,200,400,600,800,1000,1200, and 1400 with 1100 and 1300 being clones of 1200 and 1400 respectively.
[Epic 4G Android Development] ragnsep:
Yikes, the new MTD ShadowKernel does not have cifs built in currently.
[Epic 4G Android Development] D6E:
Shadown Kernel a green light vs. stock kernel? Need some reports of differences between the two. Which is better? Awesome ROM OP. Keep up the great work! :)
[Epic 4G Android Development] Orion78:
Strangest thing after install of this rom.

Rom worked great for a few hours.. But Now my 4G and Wi-Fi are both stuck in error??? I cannot make calls, send texts at all

* it appeared to have happened after the phone had fully charged
[Epic 4G Android Development] Naddict:
If I use the Samurai kernel, will I lose the CWM reboot and other new functionality you have built into your rom?

I have been experiencing a recharge issue with Shadow MTD v.2 installed. For some reason, the screen will not dim when I am charging, I have reinstalled your rom and all is well, but the Shadow Kernel has an issue as I have reproduced it twice. Thanks Toad!
[Epic 4G Android Development] flastnoles11:
Yes eb has not updated his mtd tw kernel yet
[Epic 4G Android Development] KennyG123:
If a reboot does not fix it, sounds like a modem crash. Odin the EC05 modem then run the EC05toEI22 zip again.
[Epic 4G Android Development] bit1:
Great job as always. I love flashing and this has become the build I use for stability and those times when I just need it to work
[Epic 4G Android Development] figgarro:
Converted from SRF 1.2, the rom was great on my phone and had awesome battery life.

Flashed this the other day, must say I'm impressed with everything, seems quicker and snappier, apps seem to load faster. My only issue is the battery life overnight is not the same. I'm loosing around 20%, where as on srf I was loosing less then 10%.

Been looking at better battery stats and it seems to be a problem with something to do with mmc_write_dealy, per the beeterbattystats forum it might be a kernel issue. Any suggestions on what kernel to try or does anyone have a solution?
[Epic 4G Android Development] TexasLTE:
Hmmm .... I have never lost more than 5 - 7 % overnight on any of the included kernels with any of the CleanGB or CleanGB-MTD ROMs .... maybe you had an app running in the background ?
[Epic 4G Android Development] toadlife:
It's because you changed to a completely different kernel. Your battery performance will get much better after you charge and discharge a few times.
[Epic 4G Android Development] troyolson92:
TOAD...... I appreciate your work and know your busy, however, would it be possible for you to makea kernel for CM ROM work working wifi, titanium backup, and over clock to 1.1 or 1.2..... There stewa couple kernels but none of them as of eight now work for wifi and titanium backup.... Samaria newest v7 works for wifi no tb. V5 works for tb not wifi... Shadow which I normally use works for wifi but not tb...
[Epic 4G Android Development] The_Legendary:
Hey toadlife, I was wondering how you got the proper reboot to recovery to work?? Is there a guide to follow this?? Also how did you get the non-optimal su fixed??
[Epic 4G Android Development] bbelos:
I also replied to your post in the kernel thread, but those modules should be built in so you don't have to load them yourself. Let me know what you have trouble with. I have no issues with the stock vpn and cifs manager.
[Epic 4G Android Development] toadlife:
Reboot to recovery was a fix that had to be made in the kernel. The commit is here.

Non optimal su was also a kernel issue. In /init.rc script (which is in the kernels intiramfs) is set the permissions of su to 6755. In doing that it set the owner to root.system. I added chown root.root after setting the permissions to fix the issue. You can see that commit here.

And BTW, I'm not ignoring your PM. I ave a few messages piled up in there are lazy about getting to them.
[Epic 4G Android Development] vizionforever:
Different hardware versions of this phone behave differently too, my son's Epic for example can have gps on all day and u could harly notice a battery drain VS my Epic battery drains in like 4 hours with gps on.(we tried switching battery's too)
[Epic 4G Android Development] pkhoury:
I stand corrected if I did something wrong. So I flashed the MTD version in CWM5. Rebooted like it's supposed to, started installing, and the phone works. The problem is that I installed the optional zips (tw lanucher, tw widgets and no sms appearing in log). I did this after installing the OS, and no luck. Wiped data, cache and dalvik and then reinstalled 1.0.4-MTD, then before rebooting, installed the 3 optional zips. Says they completed successfully, but it's not starting up. Any suggestions anyone?

Almost forgot to add - Titanium Backup still reports that su has non-optimal access rights. And if it makes a difference, I was using the BML version of CleanGB1.0.3 (and liked it very much).

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

Update - read further and figured it out - mount /system, install then umount.

I'm still having Titanium complain about su every time it starts up however.
[Epic 4G Android Development] The_Legendary:
Its all good man I understand how hetic things can get when you're a dev, but I hope you don't care if I incorporate this into my rom lol : p
[Epic 4G Android Development] jasonsf:
The dev knows about the Titanium/su error message and will have a fix in the next build. It is not a problem and can be ignored. Titanium has a preference to turn off the check if it bugs you.

Jason
[Epic 4G Android Development] KennyG123:
Bbelos fixed this in his new Shadowkernel for CM.
[Epic 4G Android Development] jbadboy2007:
This is the best tw rom and kernel ever!!!!!!
[Epic 4G Android Development] Goodroid:
Voodoo Control Support for CleanGB Kernel?

Many thanks to toalife for his dedication in making a superb ROM.

I have one feature request for the CleanGB Kernel. Will you ever support Voodoo Control? I'm a huge fan of the app as it lets you go beyond the stock volume to amplify audio output.

It would be much appreciated if you can consider implementing the Voodoo Control support.

Thanks!
[Epic 4G Android Development] The_Legendary:
If or until he incorporates Voodoo you can just flash another kernel that supports it.
[Epic 4G Android Development] jbadboy2007:
I use voodoo control on this rom seems good to me I think its voodoo color this rom doesn't support but I could be wrong.
[Epic 4G Android Development] lilajrestnom:
My friend ran cm7 on his phone and doesn't like it and doesn't have a computer.. if he downloads this and flashes it it should work with no problem correct..?
[Epic 4G Android Development] flastnoles11:
Yep... remember to wipe first!
[Epic 4G Android Development] lilajrestnom:
Yupp deffinately thanksss
[Epic 4G Android Development] figgarro:
Is there a way to restore the stock lockscreen?
[Epic 4G Android Development] Naddict:
You have to reflash the ROM, the one prior to the AOSP that is, not much difference except for the reboot to CWM, which you can get from, say, shadow kernel...options, options,....
[Epic 4G Android Development] KennyG123:
Download and flash the twlockscreen from here:

http://xdaforums.com/showthread.php?t=1367503
[Epic 4G Android Development] jasonsf:
For anyone wondering, the Google Talk with Video zip from this CM post works on this rom.

Jason
[Epic 4G Android Development] toadlife:
New Kernel to test

Hi all,

Long post, please try to read all of it if you want to test:

I have a new kernel which fixes the su permissions issue, but more importantly, has a major revamp to the CPU frequencies.

Previously, the frequency steps were 100, 200, 400, 600, 800, 1000, 1100, 1200, 1300, and 1400.

1100 was actually the same as 1200 and 1300 was the same as 1400, so there were, in effect, two 1200 steps and two 1400 steps. If you were overclocking to one of the broken steps, you were actually overclocking to a higher frequency. Also, the 600 step was broken. I'm not totally not sure what the 600 step was, but it sure as hell wasn't right. It, and the other frequencies are fixed now.

The frequency steps are now, 100, 200, 400, 600, 800, 1000, 1128, 1200, 1316, and 1400. Because some of the steps are changed now, if you use SetCPU to overclock you should have it re-detect the frequencies.

The kernel can be downloaded, HERE.

A big thanks goes out to dyehya for pointing out these problems and teaching me how the frequency steps are calculated, so I could fix them.

The changes made can be seen here on my oc_overhaul branch.

Please give the kernel a try. You never know; this might even fix spontaneous reboot issues some of you are having.

Another note on the program "setCPU". I've noticed a bit of unfair trashing of setCPU since Gingerbread has come out. Because every kernel dev kanged some or all of their overclocking code from Rodderik's repo, and Rodderik's overclocking code contained three broken steps, all gingerbread kernels for the Epic 4G have had at least some of these broken frequency steps. I've noticed more than one person dismiss setCPU as "broken" because it was supposedly displaying the wrong frequencies, when in fact setCPU has been displaying the right frequencies all along. Other programs I've tried, like voltage control and OS Monitor don't display the correct frequencies when you select these bogus steps.
[Epic 4G Android Development] pkhoury:
Stupid question - you mentioned the new kernel might fix spontaneous reboots. Are those typically caused by memory holes, or runaway processes that kill all available memory? And with MTD, is it possible to specify a swap partition say on the SD card in case memory does get out of control?
[Epic 4G Android Development] toadlife:
I don't know what is causing them, but it's not memory running out. Putting a swap file on your SDCard is possible but I don't know how exactly you would go about doing it (most likely a kernel init script modification) and would strongly recommend against it anyway, as I doubt if it would provide any performance benefit and would end up wearing your sdcard out.
[Epic 4G Android Development] orlzzt:
Was going to try the new ShadowKernel 0.4+OC; but just downloaded CleanGB update; will let you know if I get attacked by Cossacks.

Thanks to Toad for this!
[Epic 4G Android Development] 521:
I'm showing g69ca8ab as the new kernel in the about phone menu. Is this correct or am I doing something wrong? I forgot to look at the version before flashing, so i'm not sure what it should be reading now.

Thanks!

Sent from my supercharged MTD Epic 4G :-P
[Epic 4G Android Development] rckozma:
I am still running the original 1.0.4 kernel and it shows as gf6b59d1
[Epic 4G Android Development] 521:
Thank you!

Sent from my supercharged MTD Epic 4G :-P
[Epic 4G Android Development] toadlife:
g69ca8ab is the correct one.

The auto-generated version string at the end of the kernel version you see is the letter 'g' (for git?) plus the first 7 characters of the git commit string. So the kernel compiled from a branch where the latest commit is 69ca8ab02937235e310e8e82d6653275d23d8a54, will be CleanGB-MTD-g69ca8ab.
[Epic 4G Android Development] Naddict:
Not sure if I will ever use Ronin or Voodoo again...not to slight them because everyones phone and needs are different...but CleanGB rom and kernels really treat me and the phone well! Toad...again, great work all around!
[Epic 4G Android Development] Naddict:
I am trying the latest kernel, in voltage control, when I try to save as boot settings, I get an error message that says "Saving Failed! mkdir failed for -p, Read-Only file system"

First time I had ever seen this...??? Help?

---------- Post added at 02:08 AM ---------- Previous post was at 01:44 AM ----------

I reinstalled voltage control and the "problem" was fixed....
[Epic 4G Android Development] pkhoury:
Yeah, I forgot about wearing out the cells on the flash card, and the first thing I thought of was an impact on speed. From experience with my VOIP server, it's almost never used the swap file, even with about a gig of memory, but I don't know if Android is that efficient (thanks to shoddy apps).

---------- Post added at 03:07 AM ---------- Previous post was at 03:06 AM ----------

My thoughts exactly. Battery life is def better, no more spontaneous reboots (even when I was on the BML version), the phone is blazingly fast, and I don't need graphical niceties.
[Epic 4G Android Development] toadlife:
Yeah I have an really old version of voltage control on my sdcard and it didn't have this issue. I upgraded to the newest version of the app from the market and experienced the issue. It's a bug with the app. I found that sometime it would throw the error even when it really suceeded and if it did fail, pressing apply again would make it work.
[Epic 4G Android Development] 521:
Installed the new kernel yesterday, and made it through the night without a freeze or reboot after the initial install as follows:

Was a bit quirky when I first installed it - lots of issues with Titanium locking up and FC over and over. Took about 4 battery pulls and reboots, and the problem seems to have straightened itself out now. Beats me.... *shrug*

All is cruising quite well at this point.

Nice job! Thanks!
[Epic 4G Android Development] Naddict:
Thanks Toad, I did experience the problem again after my first post...good to know it is an app issue, thought I was goin nuts!
[Epic 4G Android Development] TexasLTE:
THX 4 the updated kernel Mr Toadlife = running really smooth ! (using SetCPU as always ):D
[Epic 4G Android Development] flastnoles11:
Yep set cpu is tops... only because of the profiles though. I gotta have em! Thanks for everything toad! Your rom and kernel is amazing!
[Epic 4G Android Development] luckymoney718:
My phone keep getting Hot ! And how do I know I'm officially on MTD ???? I just switched from BML
[Epic 4G Android Development] KennyG123:
You got some service running. Check running services. If you installed the MTD version then you are on MTD. Check how much space is available on your phone. There is an average increase of 150-200 MB.
[Epic 4G Android Development] toadlife:
new release

A bunch of changes in this release.

CleanGB-MTD 1.0.5

Fixed improper permissions set on su at bootup.

Overhaul of clock frequencies - 600,1100,1300 frequencies fixed. (thanks to dyehya for noticing this and teaching me how the frequencies work)

/sbin/remount script fixed

System app changes:

Updated Books

Updated Google Search

Updated Maps

Updated Thinkfree Office

Updated Market

Updated Street View

Updated Superuser

Updated Voice Search

Removed Talkback

Updated su binary to latest version

Integrated Logsprovider fix by default
[Epic 4G Android Development] Naddict:
Awesomeness Toad....wondering if you will ever add some kernel governors to your work? Smartassv2 is what I would love to see, unless you have a recommendation for us lay-people to use with your masterpiece?
[Epic 4G Android Development] jmandawg:
Just flashed 1.0.5 from 1.0.4 and I got no service . Do I need to factory reset?

Also meida scanner seems to take a really long time now. Going to flash back to 1.0.4

edit: Somehow it fixed itself, it was saying baseband: Unknown

I did a battery pull and a few other things. All seems fine now.
[Epic 4G Android Development] Trident:
Quick couple of questions.

Do we have to go through the whole reformatting and ODIN in order to switch to this ROM? Or do we just flash the file in the OP?

If we don't have to start out by manually reformatting everything and using ODIN, will flashing this ROM format the entire SD card?
[Epic 4G Android Development] flastnoles11:
Flashing a rom will not wipe your sd card... yes you will have to use odin to go to a bml rom, if you're trying to go to a different mtd rom then there is no odin required...
[Epic 4G Android Development] Trident:
I got that... I'm on the CleanGB BML ROM right now... but I'm having lots of semi-random reboots. It's almost certainly being caused by having 4G toggle, but it's not always happening in the same situation. Toad explained that there wasn't that much different in the kernel and it probably wouldn't help...

I understand that MTD is a new file system, so I was wondering if it changed the file system on the SD card as well? I'm kind of tempted to try a SD format... I can't imagine how it would help, but it couldn't hurt.

So- I can flash this ROM using CWM and it will switch me to MTD, but to go back to BML, I would have to use ODIN. Correct?
[Epic 4G Android Development] Schnider:
Correct bml to mtd = cwm

Mtd to bml = Odin

Mtd to mtd = cwm

Please someone correct me if I'm wrong!!!
[Epic 4G Android Development] toadlife:
Keep in mind that when you go from BML to MTD your data will be wiped, so be sure to back up before moving. As for your random reboots, the kernel on the BML version has some screwed up frequency steps including a 600mhz step that was REALLY screwed up, so it's possible that it is causing your reboots. The MTD version has fixed frequencies.
[Epic 4G Android Development] toadlife:
The ril service must have crashed. The ril (radio interface layer) is the software in android that talks to the baseband (modem). If the ril is not running you will see "unknown" as the baseband. Probably a freak occurance, as I've never seen that happen before.
[Epic 4G Android Development] The_Legendary:
Yeah I was going to say I've never seen that, I would agree on the freak occurrence.
[Epic 4G Android Development] The_Legendary:
toad life, do you mind if I feature your kernel in my rom
[Epic 4G Android Development] vooman:
First thank you Toadlife for your contribution to the Epic community! I installed the mtd CleanGb 1.0.5 last night and so far the rom is running really smooth on my phone.. I am having one issue though and that is I am not seeing any notification Led lights for anything... during installation I did a complete data wipe.. thanks for any insight that might be causing this..
[Epic 4G Android Development] jasonsf:
I hadn't noticed until you mentioned it, but I'm not either. So far I've only checked for new gmail. I'll try sending myself a text. And I'll play around with my settings to see if something got turned off, but I doubt it. I didn't wipe data before upgrading from 1.0.4.

Jason
[Epic 4G Android Development] Jesse6749:
That is why I did a nand backup of 1.0.4 then I also did a full wipe and did a clean flash of 1.0.5 and then used the advanced restore to restore my data and all is working good for me so far. :D:D:D

Thanks for your great work!!!
[Epic 4G Android Development] toadlife:
Sure. Go ahead.
[Epic 4G Android Development] toadlife:
I just did a test with tasker and it can successfully trigger both the red and blue notifications lights and I sent an email to my exchange account and the red notification light is blinking as I type this.
[Epic 4G Android Development] tygern8r:
LED Notification

Mine's working - text, gmail, missed call.
[Epic 4G Android Development] luckymoney718:
I'm getting a bunch of semi reboots on 1.0.4 and its laggy as hell. Also I'm having problems flashing 1.5 I downloaded numerous times but I'm still gettin stuck at samsung screen. I wipe dalvik,data,cache 3x and still nothing. :(
[Epic 4G Android Development] toadlife:
If you've wiped data and flashed and are still stuck on the Samsung screen, your best shot would be to ODIN back to stock and start over.
[Epic 4G Android Development] Danny1st:
Toad,

First and foremost, well done sir! this rom is next to perfect and for that, thank you.

now, your thoughts on adfree? Any conflicts, recommend it on your rom? just working so smooth, don't want to do anything to mess it up. And it seems that once a phone gets a bug for a rom, its back to odin which always has its own risks. Any and all comments are appreciated
[Epic 4G Android Development] svcbadass:
Toad thanks for the great rom thus far.

I am running the bml version 1.0.3

I have watched the qbking (thanks) video on mtd but dont know at this time if there is any real advantage to switching to this rom over the BML version. Is there?

Thanks guys
[Epic 4G Android Development] jasonsf:
Weird. I'll play around with mine some more.

Update: OK, never mind. I guess mine is working.
[Epic 4G Android Development] vooman:
I rebooted my phone and sent myself a text and email and got my flashing lights. all seems to be working fine now.. Strange ! lol but thanks again for a awesome rom and the time you put into it.
[Epic 4G Android Development] Trident:
I think that this is right. I just flashed the 1.0.6 Shadow kernel, and noticed a dramatic improvement, including NO reboots since.

Sorry, posted this in the wrong thread. I'm still using the BML version of CleanGB.
[Epic 4G Android Development] myaepic1:
I flashed a theme over this rom, but want this bootani. Can't find the bootanimation or sanim zip in the media folder to copy it. Anyone knows where it's locate?

Edit: Just seen the op where there isn't a bootani, but how do I find the cleangb animation?
[Epic 4G Android Development] Orion78:
Love the newest version of this rom. But is the a sound hack I can use on this rom though? Im using the Stock CleanGb kernel.

I would like to have my Ringtone and Notification volume louder. Thanks
[Epic 4G Android Development] Naddict:
Toad,

as a loyal user of both the kernel and rom, humble question for you...

I was wondering if you will ever add some kernel governors to your work? Smartassv2 is what I would love to see, unless you have a recommendation for us lay-people to use with your masterpiece?

Thanks!
[Epic 4G Android Development] unxguyjr:
Just delete the bootanimation.zip that got installed with theme. /system/media the default cleangb (its built in) will then be displayed