yashsingh1/xdaforums huggingface dataset:
[Samsung Epic 4G Touch] pigxiang:
Hard workd it~

I'm at work,too.

but it's 9:30am in Beijing

you are working at night?
[Samsung Epic 4G Touch] Nyckrs:
i flashed 6.7 and did a nandroid backup, than tried to restore. It says md5 mismatch, i tried twice and both times are the same.
[Samsung Epic 4G Touch] agat63:
Anyone else?

Just did restore nand without problems...

and this nand was created with 6.7 when I was testing it before upload.
[Samsung Epic 4G Touch] patrao_n:
Its fine for me. Made a nand with 6.7 then restored after wiping with 6.7. No issues. Thanks agat.

sent from MY BAD A$$ ET4G
[Samsung Epic 4G Touch] tdunham:
The only issues I've ever seen is if I copy the backup to pc and then back again it sometimes corrupts the backup. Also, if you rename the backup and put ANY spaces in the filename, you will get an MD5 error as well.

One last thing, try backing up and restoring from internal storage (which you have to manually select, because by default it uses external) in case something is going on with your SD.
[Samsung Epic 4G Touch] Nyckrs:
I guess ill try it again. Thanks for the suggestion.
[Samsung Epic 4G Touch] tdunham:
Ok, I take it back. I just tried to restore about 10 different backups split between internal & external storage and got the MD5 error on all of them. I flashed back to 0.5.4 and it's restoring the last backup I did with 0.6.7 right now.
[Samsung Epic 4G Touch] Nyckrs:
And i thought it was my sd card being faulty. thanks for testing again agat. apreciate your effort even though you dont have a gs2 anymore.
[Samsung Epic 4G Touch] agat63:
That's very strange.

Some can restore nand (me included) and some can't.

Will try to take a look but not having that problem myself makes it difficult to fix.
[Samsung Epic 4G Touch] QUIQUE1978:
safe to update my kernel version?

CAN I UPDATE MY KERNEL VERSION toAGAT v0.6.7? The kernel I have now is :3.0.15-g6cd35a2-dirty AGAT_v0.1.1 #2

Can I overclock with this kernel?:confused:

THANK YOU!

SAMSUNG EPIC 4g TOUCH

ANDROID VERSION 4.0.4

BASEBAND VERSION: S:D710.10S.FH13
[Samsung Epic 4G Touch] agat63:
Yea. You should be good.
[Samsung Epic 4G Touch] cyburke:
i searched "jellybean" before posting, but didn't see too much in this thread........... is this kernel something good that one should try out on any of these recent CM10 JellyBean ROMs? was wanting to see if i'd get better battery life, etc, but i understand that this is based on an ICS release (FI27) and not JB.

any information would be appreciated. :)
[Samsung Epic 4G Touch] tdunham:
This kernel with only work for ICS Touchwiz based roms only.
[Samsung Epic 4G Touch] moparfreak426:
I don't even think agat kernels will boot jb

Never mind..... it should boot but not sure about performance though
[Samsung Epic 4G Touch] agat63:
I don't think it will even boot with JB.

There is no JB source for our phone yet.

Or at least I don't know of any.
[Samsung Epic 4G Touch] Mattix724:
It should not boot... It will not boot. You will see the splash screen and nothing else.
[Samsung Epic 4G Touch] m4xwellmurd3r:
Is there any reason why USB mass storage doesn't work in the recovery menu?

It fails to find the device drivers needed. Flashing to a kernel with team venum works fine

(for some reason USB transfer speeds are dead slow when the phone is booted.)
[Samsung Epic 4G Touch] agat63:
v0.6.8 is up and running.

Fixed apps to sd (I hope) error. Moved couple movable of apps to sd. After several reboots apps were there and were working

Fixed mounting in recovery. ADB shell works. Mount USB storage from recovery menu works.

OP updated.

Links posted.
[Samsung Epic 4G Touch] m4xwellmurd3r:
Awesome I didn't expect an update/fix so quickly. :good:
[Samsung Epic 4G Touch] tdunham:
Thanks Agat. I really was missing mounting SD in recovery. Hopefully someone can test those other features. I will be testing the backup/restore that was reportedly having issues (did for me) in 6.7 but I think it wasn't happening for everyone, only one other user reported back on that bug.

Update: I tried to duplicate the 6.7 restore issue but it looks like 6.8 is working fine for me right now. Just an FYI, when I got the MD5 errors on restore (of ANY backup) with 6.7, I had just done a full wipe with Calkulin's Format All utility.
[Samsung Epic 4G Touch] pigxiang:
hi~dear agat~~~~

I have got a right kernel with 7.5 MB size today.

I found the failure reason is this :

find | fakeroot cpio -H newc -o > $INITRAMFS_TMP.cpio 2>/dev/null

this line in build script needs a tool called "fakeroot" but it is not installed on my machine.

With the command " 2>/dev/null" we could not see any error log......

Thank you very much again and again.
[Samsung Epic 4G Touch] rsngfrce:
I did a nandroid backup with 6.7 today and restored it without issue (didn't try restoring a backup made with a prior version of the kernel).
[Samsung Epic 4G Touch] tdunham:
I know. I swear, I tested it too and the MD5 thing popped out of nowhere the next day when I went to wipe the phone and restore a backup.
[Samsung Epic 4G Touch] dragonOL2:
Anyone else getting an increase of random reboots from the latest versions of the kernel? Specifically 6.8 and 6.7? Both were flashed with mobile Odin (tar version) and i didn't notice with 6.6 and prior...

Just troubleshooting and i want to rule out the possibility of the kernel as the cause... TIA
[Samsung Epic 4G Touch] leaderbuilder:
I dog get some with the ktoonservitive governor. But switched to pegasusq and haven't had any since
[Samsung Epic 4G Touch] lady vixen:
+1 same here
[Samsung Epic 4G Touch] rsngfrce:
No reboots for me on 6.7 or 6.8 with pegasusq governor, BUT... I just noticed that on 6.8, we are back to busybox v1.20.0-cm7? Can't be just me? :(

(EDIT: Whoops... busybox v1.20.0-cm7 on 6.8 and 6.7)
[Samsung Epic 4G Touch] dragonOL2:
That may be it... I'm using ktoonservative too... I'll switch to pegasusq and see if that helps...
[Samsung Epic 4G Touch] agat63:
It's not just you. I did revert few changes to get back to working mounting and other stuff.

Will work my way up again trying to figure out what did break the mounting in recovery.
[Samsung Epic 4G Touch] alphahere:
Question:

Trying to compile your sources Agat.

Pulled from your github:

git://github.com/agat63/E4GT_ICS_kernel.git

Anyway some quick questions.

1) Both branches last updated about 3 months ago. Any place with the new updates.

2) compile always ends on

CC drivers/char/random.o

drivers/char/random.c:270:33: error: trace/events/random.h: No such file or directory

I pulled the file needed from kernel.org, but shouldn't the file be present in the github (file is include/trace/events/random.h). Compile worked fine after pulling this file but have to read more to figure out the ramdisk thing.

3) If there is another location for the source please let me know. Thanks.

I really appreciate your hard work on this kernel and it is great! I wanted to see if I could compile kernel and maybe add features since you are moving on to S3 development.

Thanks again
[Samsung Epic 4G Touch] agat63:
New source is AGAT_FI27_kernel.

That's the latests.

For ramdisk use E4GT_ICS_initramfs_optimized repo.

As for build environment you can set it up more then one way so it's up to you but you gotta make sure that initramfs is included in zImage and you should also make sure that newly compiled modules (total 4) are copied/moved to /lib/modules folder of initramfs before it is packed into zImage.

You can put together a 2 stage build script where you would compile modules in first stage. Move/copy them to /lib/modules folder and then you will compile zImage with that ramdisk.

Unfortunatelly next few days I won't be able to help you much. I'm wiping my laptop clean and starting from scratch since it went on strike and doesn't wanna sync my own repos any more or when it does it breaks the kernel.

I'm done backing it up and tonight I'll start with new windows/linux installs than I'll restore some of my data and scripts and than I'll be back and available for development and or help.

Till then, good luck.
[Samsung Epic 4G Touch] alphahere:
Thanks for the response. Sorry to hear you are having computer problems. Backup, backup, backup. :D

I should have looked around your github but was using the link in the first post, sorry about that.

I think I can figure it out now. Kernel is building nicely and already know how to make a ramdisk image using your code. Only thing I don't understand is packing the ramdisk image with the zImage. Searched google and found different methods depending on the phone, kernel and ramdisk. Could you give me a sample of a script you use or the command that you use to merge the ramdisk into the zImage? If I have overlooked anything sorry about. I see options in the kernel config for this but there must be another way. I think one must use mkbootimg but need the correct command line parameters for this phone.

Sorry for the noob questions but merging the zImage and ramdisk is not clear for this phone.

Thanks

---------- Post added at 03:47 PM ---------- Previous post was at 03:26 PM ----------

Hi,

Can you send me a copy of that buildscript. I don't see it in the sources.

Thanks.
[Samsung Epic 4G Touch] agat63:
This is a great guide for compiling kernel:

http://xdaforums.com/showthread.php?t=1442870&highlight=community+kernel

We put this together back in our GB days but the procedure is same for ICS and/or JB.

You can use this guide to get started.

My file structure is set certain way and my build script is outside of kernel source that's why it's not in my repo.

As I said you can set up build environment more than one way and your build script will change to point to correct locations of your

toolchain and ramdisk.

That thread will give you an understanding of how things work and you can put together your own script.

As you can see in that guide you run series of commands to compile kernel and build script is nothing else but all those commands in one executable file.

You run your build line by line and ones you have a working kernel you put all those lines in file sh file and place that file in correct location inside of outside your kernel source directory and then simply call that script in terminal by typing:

./build.sh (or whatever you name your script) from directory that file is located in.

Hope this will help you get going.
[Samsung Epic 4G Touch] alphahere:
Got It!

Thanks
[Samsung Epic 4G Touch] alphahere:
Agat,

One last question. Where is the source code for j4fs.ko and gspca_main.ko modules? I noticed that your initramdisk has these modules but these modules are missing when I compile your repository. I did do a "make menuconfig" but could not find config options for these modules. Could you send or attach your actual .config file or the location in the .config to enable these modules?

Thanks for the link you sent that was excellent information. I really understand the whole kernel compiling process on android now.

Thanks
[Samsung Epic 4G Touch] agat63:
GB kernel had 6 modules and ICS kernel has only 4.

It is quite possible that those 2 modules are left overs from my gb source/builds.

If you kenel boots and everything works then you don't need them and it's just a trash I

forgot to clean up.
[Samsung Epic 4G Touch] Trahald:
Hi Agat,

I have a question about placebo tweaks to related your kernel. @tdunham told me, on your kernel placebo shift3 script doesn't work properly because of you have removed conservative governor on your newer versions. Is that true?

Thank you.
[Samsung Epic 4G Touch] agat63:
Possible but I'm not sure.

I don't have phone anymore.

I'll check it on my wifes phone but if it's out I can't put it back right now.

Wiped my PC clean and restoring all my data know. So it will take few days till I get it running again.
[Samsung Epic 4G Touch] Trahald:
Ok Agat. Thank you very much.
[Samsung Epic 4G Touch] tonydelante:
I apologize for the stupid question but in the past I have always either used autoroot to get a recovery or flashed to EL29 + CWM. My question is if I'm currently running FI27 rooted with stock recovery can I just flash this through mobile odin and reboot and be done? I guess my question is will it boot afterwards. I currently have no backup so I just want to make sure I get this right.

Sidenote: If I flash EL29 + CWM and boot directly into recovery and create a backup....will that backup save the original kernal or the one I just flashed to?

Edit: I believe I have my answer
[Samsung Epic 4G Touch] leaderbuilder:
Yes use mobile Odin and you'll be happy.

Great kernel and you'll have CWM
[Samsung Epic 4G Touch] agat63:
For those of you who has a good 4G reception.

I need some testers.

This is slightly modified 6.8.

Just an attempt to fix 4G speed on source build kernel.

AGAT_v0.6.9.tar

There are no other changes to it so those of you who doesn't have 4G no need to flash this one.

Thanks an advance to all testers.
[Samsung Epic 4G Touch] leaderbuilder:
I'm on it. Thanks. I'll be in the city (4G area). In a couple hours.
[Samsung Epic 4G Touch] Foulwx:
Agat:

I'm in San Antonio today so I ran a few tests on each. ROM is Re-calked 0.2.2 and your 0.5.4 kernel. Mobile Odin to 0.6.9.

0.5.4 5000-6700kbps down, around 800-900 up

0.6.9 4100-7500kbps down, around 800-900 up

At least here, no real difference.
[Samsung Epic 4G Touch] leaderbuilder:
4G are a little better. But sporadict as always when I get 4G here (when I get it - Northwest so lots of trees).

Previous kernel (6.8) averaged around 8.4kbps

6.9 kernel averaged around 10.5kbps

One thing I did notice my AnTuTu scores went up. Though that could be because of the new update to that application.

Either way thanks again for all the work Agat. Here and on the SIII side. I've now got 4 SII's and 3 SIII's in the family.

Ran tests again while in another area. And they are better for 4G.

And again my AnTuTu scores are incredible!

Just hoping/wishing you get the time and feel generous enough to drop a FK23(JB) repack on us. Either way great work man!
[Samsung Epic 4G Touch] agat63:
Fk23 repack is ready and in testing. I have a crazy week 8am to 11 pm. So I can't do much. Hopefully this weekend I'll be back to normal routine.
[Samsung Epic 4G Touch] Mattix724:
Can't wait to use your repack for FK23... just don't release it too soon. I've already updated my how to root thread enough today lol.
[Samsung Epic 4G Touch] AGVB813:
Quick Question...

I'm trying to install Pimp My Rom but I wanted to Know if the latest update on your wonderful kernal has init.d Support?
[Samsung Epic 4G Touch] agat63:
All my kernels including repack support init.d.
[Samsung Epic 4G Touch] blueridgedog:
CM9/CM10?

I am interested in getting a recovery on my SPH-D710BST so I can put on CM9 or CM10. I noticed 200 posts ago that these ROMs were not supported...has that changed?

Thanks.
[Samsung Epic 4G Touch] Adreaver:
This kernel is for stock (touch wiz) roms. If you flash this kernel over an aosp based rom, it will not boot.

However, in previous iterations of this kernel, you could boot to recovery and flash to an aosp bases rom without a problem
[Samsung Epic 4G Touch] JSnively:
Hey Agat how is the FK23 Kernel testing going?
[Samsung Epic 4G Touch] agat63:
It's booting and working but fails on back up.

Trying to fix mount points in recovery.
[Samsung Epic 4G Touch] leaderbuilder:
Thanks for steping back and helping us (E4GT crowd) with this.

If you need any testers I'm good to go.
[Samsung Epic 4G Touch] JSnively:
I am sure you will get it going you always figure it out. Thanks for working on this.

I just switched off you FI27 build to the FK23 build.
[Samsung Epic 4G Touch] agat63:
Just a quick update.

FK23 boots and works.

Borrowed my wife's phone and run some tests myself.

I was able to do a back up of JB rom.

Restored ICS from JB and phone booted fine.

Restored JB from ICS and phone booted.

Kernel (repack) is out for final testing.

Hopefully can post it today.
[Samsung Epic 4G Touch] agat63:
Here is yet another attempt to fix 4G speeds.

AGAT_v0.7.0.tar

This is source built kernel with some modes that I hope will improve 4G speeds.

Anyone in good 4G reception area please run some tests.

Hopefully I'm on a right path here.

Any info and/or feedback is greatly appreciated.

Thanks in advance to all testers.
[Samsung Epic 4G Touch] Foulwx:
Is 0.7.0 ics or jb?

Thanks again for all your work!
[Samsung Epic 4G Touch] agat63:
I said it's source built kernel.

There is no source for JB yet. So it's an ICS TW (stock) kernel.

FK23 is JB kernel but it is in final testing.

Once I have feed back I'll post it.
[Samsung Epic 4G Touch] Foulwx:
Ah yes.... didn't catch that. Trying to eat dinner and check xda at the same time
[Samsung Epic 4G Touch] Trahald:
Hi agat, is there any chance to add conservative governor to your one of the new version kernel?
[Samsung Epic 4G Touch] agat63:
Isn't it there?

If not it's not a problem. I'll add in next release.

Just hope 0.7.0 will prove to be better in 4G then I'll add conservative before I post it on OP.
[Samsung Epic 4G Touch] Trahald:
Nop, it is not there :). If you can add, would be great.

Thank you!
[Samsung Epic 4G Touch] celsius0010:
Thanks for working on the 4G download speed issue, it is greatly appreciated! 7.0 has been an improvement; and for me while at work in Anaheim it is the best Source Kernel so far. But it still pales in comparison to the FI27 Repack. On the new 7.0 kernel speeds seem faster than VZW 3G and honestly that's good enough. But sitting in the same exact chair I can hit over 10mbps on FI27 Repack.

Some observations.. Source kernels don't have stable download speeds they jump around more, the upload speeds seem mostly unaffected, and download speeds drop dramatically after a reboot when compared to a fresh flash. I attached some screenies too..

IMO here is how I would rate 4G speeds on Epic Touch Kernels. It's hard to be a lil more accurate because 4G dies out a few miles from my house but literally every where else in So Cal I go gets a decent signal. So I do most of my testing at work.. When I should be occupied lol

*These are just estimates*

1. FI27 Repack -- 8-12mbps

2. Agat 7.0 -- 1.5-3mbps

3. Sleshpic's -- 1-2.5mbps

4. Agat 5.4 -- .8-1.7mbps

5. Kuban and Agat 6.8 -- .7-1.1mbps

6. Agat 6.9 -- .6-1mbps

If anyone else experiences slow 4G download maybe try Sniper's Lightweight 0.5. It has 5 kernels included and uses the Aroma installer so you can easily flash the rom over itself and switch out kernels on the fly..
[Samsung Epic 4G Touch] disneytoy:
Need to root and set up Titanium back-up and wifi tethering for my mother. Want to verify what is the latest software to do this. This is for a Sprint SPHD710 w/ 4.04 (I think she said Kernal 3.0.15 - 1127689?) I was about to use:

SPH-D710.FF18_CL663858_ROOTED_NODATA-oc-sfx

Good or not?

Thanks

Max

Also, I have the drivers on my Win7 for the Galaxy S3. Will those drives work when I attach the S2? or are they different?
[Samsung Epic 4G Touch] leaderbuilder:
Hey Agat. I know you're not on this anymore but any chance of you taking a look at the latest drop - FL04 and getting a repack done?
[Samsung Epic 4G Touch] agat63:
I made repack and tested it.

It has same problems as FK23 that's why I didn't post it.

Still can't fix apps2sd issue with JB repacks.
[Samsung Epic 4G Touch] prguzman1978:
Dont forget to add smartassv2 my busy BOYY!!!
[Samsung Epic 4G Touch] leaderbuilder:
NO problem. I don't use that function (apps2SD) anyways, though I know many do.

I'm all just about just having a working CWM recovery that I can be assured makes and restores nandroids. Your work and time is immensely appreciated.

If/when you get it or you need testers let me know. I'll take a chance.

Thanks again for all the work!
[Samsung Epic 4G Touch] Mattix724:
I think it's safe to say we won't see a recovery for JB until the source drops. I'm happy with that honestly.

Like agat said... There are too many issues with the repacks.
[Samsung Epic 4G Touch] spodemaster:
I concur the FI27 Repack (first one) is great for 4G speeds!! I had much success with it.

this is what I did with THE BLUE KUBAN ROM

http://xdaforums.com/showpost.php?p=34693921&postcount=3
[Samsung Epic 4G Touch] localguyincali:
I'm using latest kernel 6.8 on stock rooted, i'm not getting very good battery life, nothing running in background, i can go almost 3 days before i have to charge up and thats with making alot of calls and txts, should i try another kernel before 6.8? Thanks for any help :)
[Samsung Epic 4G Touch] agat63:
You didn't specify what kernel you were getting 3 days of battery life.

That might help.

Did you look at your deep sleep state?

Does the phone goes into deep sleep after screen gets off?
[Samsung Epic 4G Touch] ttittoo:
Hey Agat, will you still be adding conservative to your kernel? :fingerscrossed:
[Samsung Epic 4G Touch] jahrule:
Ignore
[Samsung Epic 4G Touch] PhAkEer:
Pfft.. This guy has a fatwa on the conservative governor or something

:D:p
[Samsung Epic 4G Touch] ttittoo:
Hahah :D, you should know by now;). I love the way you tweaked it in placebo 2.0:), I'm still trying to get it to work in hexen. I guess I should give another governor a shot but I've always stuck to conservative.

Oh and phaker I see you everywhere dude haha! If i ever need to talk to you I know where to post.
[Samsung Epic 4G Touch] PhAkEer:
try the interactive... Its unreal.
[Samsung Epic 4G Touch] mikesal57:
Hi guys

Can this/these be used on a FL24 based roms custom or stock builds?

Thx

Mike,
[Samsung Epic 4G Touch] garwynn:
Yes.. but there is a FL24 version!
[Samsung Epic 4G Touch] cas8180:
Props to you my friend that's what we call coding in the dark and is such a painful and tedious process. Hope everyone can appreciate that type of work you doing. Its rare that for me but I have been in similar so

Situations throughout my career and I can share your pain it sucks.

On another note from everything I have read the emulator should work just like your phone and should load a full rom with kernel included the same way your phone does. Again this is only a theory from what I read I have yet to verify. I actually started dabbling in android app development about a year ago...and that was a take away from my dev book
[Samsung Epic 4G Touch] agat63:
I and many others will be very thankfull to you if you can figure out the emulator and put together a small how to for all of us.

That might save a lot of time for dev's and also might save few phones from bricking if something done wrong.
[Samsung Epic 4G Touch] cas8180:
Good point! What compiler are you using? Did you setup your environment in eclipse? Did you get debugging working at all? Breakpoints?
[Samsung Epic 4G Touch] agat63:
1. Sourcery 2009q3 - toolchain

2. gcc 4.4 compiler

3. No exlips. I'm using ubuntu 11.10 as my main machine to compile kernels.

4. What does it mean "Debugging working"?

5. What are break points?
[Samsung Epic 4G Touch] t4d73:
Alright I'm all set now man. Got cwm and running ur kernel with smartass. Thank u very much!
[Samsung Epic 4G Touch] MiguelHogue:
Glad your all set :thumbup: don't forget to grab an app like set cpu to set it :)
[Samsung Epic 4G Touch] cas8180:
There are lots of ways to compile source. A command line compiler can be one avenue but often doesn't provide much debugging or much support to validate the code you have just written. However a rich develoment environment with integrated compiler such as eclipse or visual studio can provide greater type checking as well as debugging support. And breakpoints give you the ability to set a stopping point at a specific line of code and allows the developer to step into and out of each line of code to see how it is executing also give the developer the ability to evaluate the code at run time to make sure the values and code execution is behaving the way the dev intended.
[Samsung Epic 4G Touch] agat63:
It all sounds very good and I'll pretend that I understand what you saying.:rolleyes:

But I'm kinda not. You are far ahead of me man. I wish I would know all that stuff.
[Samsung Epic 4G Touch] cas8180:
I have a ebook somewhere on embedded software development pretty sure it covers kernels I can send it to you of you like?