yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab  Android Development] snoopXR6:
Flash a samsung kernel, apply patch the flash the modaco kernel. Should hopefully work then.
[Galaxy Tab  Android Development] ukjeeper:
Already DL'ing one from SamFirmware. Thanks. I'll give it a go.
[Galaxy Tab  Android Development] daniel.weck:
(Note: this post is a verbatim copy of the one I posted on the MoDaCo forum)

Hi Paul !

Would you consider publishing your source code ? This would really help the community building better kernels for the Galaxy Tab. There's a working 1.4 GHz kernel on XDA (I use it now), but there are a couple of issues I'd like to fix (camera, capacitive buttons backlight). I've already compiled the Samsung open-source code, but it doesn't work on my Tab.

Many thanks !

All the best, Dan
[Galaxy Tab  Android Development] ukjeeper:
Update. I can install the stock rom no problem. Done it twice. But this custom kernel just won't go on. Even after i run the bootloader patch. Any ideas?
[Galaxy Tab  Android Development] KChauJen:
Check with Bootloader Patch again, make sure your kernel is not protected or You can do it again, then You can flash this EXT4 kernel.

Good luck.
[Galaxy Tab  Android Development] snoopXR6:
The only thing would be to redownload the file if you havent already as it maybe a corrupt file.
[Galaxy Tab  Android Development] daniel.weck:
Hi Paul, how did you manage to compile "GT-P1000_OpenSource_Update1.zip" without your Galaxy Tab entering an infinite boot loop ? (source code available at http://opensource.samsung.com )

I asked the same question at the MoDaCo forum: http://android.modaco.com/index.php?s=&showtopic=330378&view=findpost&p=1594360

I compiled the kernel on its own, to no avail.

The boot sequence also fails with all these patches applied (except "08-updatetouchscreen.patch", which fails to patch because the source of "/drivers/input/touchscreen/qt602240.c" from Update1 is newer):

"00-uvcontrol_1_21_4_c.patch"

"01-use1_2GHz.patch"

"02-HZ300_HZ150_g.patch"

"03-Tiny_RCU.patch"

"04-Updateconf4TinyRCU_g.patch"

"05-addbfq.patch"

"06-setbfq_g.patch"

"07-arch_cortex-a8.patch"

"09-setext4_g.patch"

See here if you are interested in the stable 1.4GHz undervolt overclock: http://xdaforums.com/showpost.php?p=11212031&postcount=122

Could you also please explain how you applied the ClockWork Recovery to your kernel ? Is that just another patch or is it a source merge from https://github.com/koush/android_bootable_recovery ?
[Galaxy Tab  Android Development] paulobrien:
Yes, i'll push it to my git!

P
[Galaxy Tab  Android Development] fcarmona:
Is it mandatory flash using Odin?
[Galaxy Tab  Android Development] TheGrammarFreak:
No

Sent from my HTC Legend
[Galaxy Tab  Android Development] daniel.weck:
Hi, I posted this on Paul's MoDaCo forum, but here is a copy just in case you XDA devs know how to help:

----

Hi again Paul, I've tried various initramfs ramdisc images (binary and source), but my kernel built from the Update1 sources still doesn't boot on my Galaxy Tab.

Could you please share how you got your kernel build to work on the actual device ? I even extracted the initramfs from your zImage, to no avail (I diff'ed your initramfs with Koush's, there are subtle improvements)

So I guess it is a problem in the kernel itself. Could you post your .config file ? (which I assume is auto-generated by your KConfig) Many thanks !! Dan

----
[Galaxy Tab  Android Development] paulobrien:
I use enabled IKconfig in all my kernels so you can also pull from /proc/config.gz.

in drivers/Makefile, ensure you have:

and in drivers/Kconfig, ensure you have:

P
[Galaxy Tab  Android Development] daniel.weck:
Thank you, I'm trying this.

Do you set a compression flag on initramfs ? (GZIP, BZIP2, LZMA ? ... I use NONE)

What about ROOT_UID and ROOT_GID, do you just leave them at 0 ?

(I managed to compile a version of zImage that gives me a USB adb connection under recovery, but no shell access because somehow /system/ is not mounted...yet ext4 options are set correctly in menuconfig...maybe related to permission issues)

Cheers, Dan
[Galaxy Tab  Android Development] paulobrien:
None / 0 / 0 indeed.

P
[Galaxy Tab  Android Development] Guitarfreak26:
Any chance of voodoo sound in this kernel?
[Galaxy Tab  Android Development] daniel.weck:
Hi Paul, I'm really getting to a dead-end now :(

Can you please post (privately or publicly) the .config file for your kernel build, and the initramfs ramdisc (pre-packed cpio or zipped archive of the actual source). I would then be able to compare with my sources, to try and see what I'm doing wrong. MANY thanks ! :)

EDIT: a user on the MoDaCo forum also has boot loop issues, but with your compiled version of the zImage. Similar issues ?
[Galaxy Tab  Android Development] daniel.weck:
Another dev is having issues with the "Update1" kernel source code.

I've described my build process here:

http://xdaforums.com/showpost.php?p=11261678&postcount=165

Let me know if you see anything suspicious.

Thanks !!

Dan
[Galaxy Tab  Android Development] daniel.weck:
From another thread:

http://xdaforums.com/showthread.php?p=11281799#post11281799

Interesting ! :eek:

Some of us have reboot issues with self-compiled kernels, I wonder if that has anything to do with the problem you are experiencing (the MoDaCo kernel is based on the "Update1" source code from Samsung, which seems to be the common denominator here). :confused:

Paul, do you use your kernel with patched (ex-locked) bootloaders ? If not, could you dump your boot.bin and Sbl.bin so we can diff them ? Many thanks ! To be honest, I don't think that the bootloader patching is directly in cause, because since I patched mine, I replaced them with stock JJ4 ones from the Samfirmware TARs (using Odin). I then baked my own JMI-based ROM and flashed it using Heimdall (all but dbdata.rfs, cache.rfs, hidden.rfs, movinand.msf, boot.bin, Sbl.bin). :)

I will try to flash the MoDaCo kernel shortly, and will let you know how it goes. I should have done it a long time ago, but was focusing on source code hacking instead ! :rolleyes:
[Galaxy Tab  Android Development] paulobrien:
Just a heads up that I am effectively offline for 2 weeks from tomorrow (celebrating 10 years with my good lady then off for daughter's half term!), so updates will following when I return. :)

Thanks for your ongoing support everyone!

P
[Galaxy Tab  Android Development] daniel.weck:
This sounds great Paul :)

All the best to you and your family !

PS: if you have time before you leave, can you please post your working ".config" for the "Update1" kernel, and a copy of your initramfs ramdisc ? Many thanks ! ;)
[Galaxy Tab  Android Development] daniel.weck:
zImage_p1000-mck-r3-rfs doesn't work on my Tab (infinite boot loop). :confused:

However, the version from koxudaxi (also compiled from the "Update1" Samsung source code) boots fine ! :eek:
[Galaxy Tab  Android Development] bhagiratha:
I am trying to flash this kernel on my tmo US tab, but I keep getting FAIL from Odin3 1.70

I choose the "p1000-mck-r3-ext4-cwm.tar" for the PDA input, no re-partition checked.

Message log:

<ID:0/006> File analysis..

<ID:0/006> SetupConnection..

<ID:0/006> Initialzation..

<ID:0/006> Get PIT for mapping..

<ID:0/006> Firmware update start..

<ID:0/006> zImage

<ID:0/006> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

<ID:0/006> Removed!!

<ID:0/006> Added!!

On my tab all I see on the screen is a phone and computer logo with an exclamation mark in the center. When I try to reboot the device, I keep getting the same screen.

I need to get this kernel on so I can install the Overcome v1.1.3 ROM.

Any ideas? thanks
[Galaxy Tab  Android Development] Azhad:
You have without doubt a protected bootloader, you can find the patch apk in the sticky topic in this subforum

Sent from my GT-P1000
[Galaxy Tab  Android Development] bhagiratha:
I still can't get the tab to boot. It is stuck at the T-Mobile boot screen.

Think I have screwed this up. I have tried all types of .pit files, but nothing.

I think I just need to restore the tab to the original tmobile stock ROM and settings and try again.

So, how do I restore the tab to the factory settings?

thanks
[Galaxy Tab  Android Development] raaleck:
Hi Folks, I'm trying to download the EXT4 Kernel, but it ends at 424kb. When it start the download I see it's supposed to be 6.XXMB or something like that. What is the correct file size of this Kernel... and where I can get it beacause seems to be a problem on the Modaco Link!

Thanks!
[Galaxy Tab  Android Development] rewz:
Hi, I can't download the hole file, can somebody please upload the file or publish a mirror.
[Galaxy Tab  Android Development] sultanbrunei:
after installing this custom kernel r3-ext4, I checked about phone, and it says:

"paul@Paul-OBriens-iMac-#55"

is this correct already ? why is there no mck/r3 on it ?
[Galaxy Tab  Android Development] rangercaptain:
I have the same statement.
[Galaxy Tab  Android Development] sultanbrunei:
the picture on the front page.. says paul@Paul-OBriens-iMac-mck-r2 -#11

ours is r3.. why there's no "r3" on it?
[Galaxy Tab  Android Development] rangercaptain:
When you dial *#1234# what does csc and pda have?
[Galaxy Tab  Android Development] zyborg:
For those poor s*ckers who can't download this thing, while Paul is on vacation.. ;)
[Galaxy Tab  Android Development] drdax:
For all you peeps that cant get the file...

incl file sizes

if anyone is having problems downloading, I've put a copy on my server

GEt them here

odin3 1.7.exe----------------------------------------------412.5KB

p1000-mck-r3-ext4-cwm.tar ------------------------------6.5MB

P1_20100909.pit ------------------------------------------1.83KB

r1-p1000-update-modcacocustom-wipe-unsigned ----205.72MB

added

SGT-Bootloader-Patch-v1.00.apk -----------------------676.53KB (you can run this just to check, if you're not protected bootloader, it lets you know)

link to paul O Brian's Instruction page on XDA

I have UK model on O2... as I know some of these roms/kernals/modems don't work in various regions or combinations.

The above works for me on O2 in UK

Very stable

Quadrant score 1758 @1GHz

None or very little lag (if you're running a lot of apps)
[Galaxy Tab  Android Development] Pixel72:
I tried following this guide

http://img442.imageshack.us/i/dscn1920r.jpg

http://img141.imageshack.us/i/dscn1921u.jpg

what have I done wrong?

i have a euro Tab
[Galaxy Tab  Android Development] raaleck:
Here Quadrant @ 1,746
[Galaxy Tab  Android Development] sultanbrunei:
hello guys, i would like to ask a question,

for those of you who installed r3, when you go to about phone...

what was the description there..? Paul Obriens.......
[Galaxy Tab  Android Development] d.a.bosklopper:
Hello,

I was trying to firmware the kernel with MCK r3.

When i tried odin 1.7 this came out.

<ID:0/009> Added!!

<ID:0/009> Odin v.3 engine (ID:9)..

<ID:0/009> File analysis..

<ID:0/009> SetupConnection..

<ID:0/009> Initialzation..

<ID:0/009> Get PIT for mapping..

<ID:0/009> Firmware update start..

<ID:0/009> zImage

<ID:0/009>

<ID:0/009> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

After that the P1000 euro - dutch version was stuck in a screen with

Phone ! Computer

I will try to restore that with a other all in one rom.

The failure will be because i got a protected bootloader?

Im 100% sure that i make the right steps, it worked for me earlier, only i changed back to RFS.

How can i put the MCK r3 on my device with protected bootloader?

Hope to hear...

Update!

I have fixed the Phone ! Computer error by re-partition the phone with Odin 1.7 and using the P1_add_hidden pit file.

Phone is normal now,

but still with the protected bootloader.
[Galaxy Tab  Android Development] shmigao:
search for Rotohammer's bootloader patch
[Galaxy Tab  Android Development] d.a.bosklopper:
Thanks for ur response Shimgao.

My problems are solved now.

I have used the One Click Root, to root the device, was needed even while i had the Roto prerooted firmware.

After reboot i used the SGT. BootLoader Patch, and after that reboot i was able to update to Modaco's Custom Kernel v3.

And now i am able to put my favorite firmware on my phone **MoDaCo Custom Firmware r1**

Thanks for helping.
[Galaxy Tab  Android Development] Sparkle1975:
Try flashing only a pit file and nothing else. Has worked for me a couple of times (EURO Galaxy Tab).
[Galaxy Tab  Android Development] Dammit2Hell:
Is there a guide anywhere to get back to stock kernel? I flashed this and converted to ext4. I have the issue with my browser starting upside down. It also seems my accelerometer is screwy. Still running the stock ROM, just want to get back to stock kernel without bricking.
[Galaxy Tab  Android Development] TheGrammarFreak:
Did you back up?
[Galaxy Tab  Android Development] Dammit2Hell:
Yes, it backed up to my sd.
[Galaxy Tab  Android Development] foxmeister:
If you've converted to EXT4, you might just as well try another ROM (e.g. the MoDaCo one) now, as you'll have to repartition to get your stock ROM back on again.

Regards,

Dave
[Galaxy Tab  Android Development] TheGrammarFreak:
The kernel, ye? Using Roto's method.

As ol' foxy man wrote, you'll need to do a full flash with repartition through Odin to get back. But if you did a Rotobackup this is not a problem ;)
[Galaxy Tab  Android Development] dubie76:
Ok, this is pissing me off. I have tried to dl and istall drivers from samsungs site. I have tried to install samsung pc companion. I can connect my tab to my pc when its on, but when i put it into flashing mode (triangle android guy) it will not connect. Says it cant install or find drivers.

What now???
[Galaxy Tab  Android Development] shmigao:
Did you install Odin and/or Heimdall?

Heimdall actually will help you to install the correct drivers
[Galaxy Tab  Android Development] dubie76:
Done. Seems very fast.
[Galaxy Tab  Android Development] dubie76:
Ok. Been running sweet since last night. Quadrant went from 1004 to over 1750. Very fast response.

2 things I have noticed. Browser loads upside down. This is a tad annoying. Serving when turning on, there is a split second of colored pixels that flash across screen before it goes to galaxy tab boot screen.

Thanks for everyones help
[Galaxy Tab  Android Development] quattr0:
Read http://xdaforums.com/showpost.php?p=10859535&postcount=48
[Galaxy Tab  Android Development] quattr0:
Sorry if this wasn't obvious for anyone who runs Roto-JME v4. You need to get that bootloader fix (the white line thingy on the screen) first; otherwise you will not see the recovery screen and you would think this ext4 conversion is not working but it is :)

Thank you for your hard work Paul. But I'm still a bit disappointed with the performance (flash). I guess flash sucks regardless or maybe I just need to way until they port the latest flash that will take advantage of hardware to Android.

Keep up your excellent work!
[Galaxy Tab  Android Development] dubie76:
Thanks but want to use native browser.

Hopefully it gets fixed.
[Galaxy Tab  Android Development] Magaboo:
Does anyone know if renaming the backups made with CWM is ok?

Thanks.

*No. If you rename the file you'll get an MD5 error and no restore is done.
[Galaxy Tab  Android Development] shmigao:
It shouldn't though... renaming does not touch the integrity of the file...

e.g. you can rename an update file to whatever you want. just don't rename the file extension or change contents of the zip
[Galaxy Tab  Android Development] Magaboo:
Hmmm. I just renamed the folder that contain the backup files and when I tried to restore I got the MD5 error and the backup process terminated. Maybe I'll try it again later.
[Galaxy Tab  Android Development] Magaboo:
Well, I just tryed it again (having renamed only the folder that contains the backed up files) and again I get the "MD5 mismatch!" error message. As long as I do not change the folder name the restore works fine.
[Galaxy Tab  Android Development] shmigao:
why would you want to rename the folder?

given that the folder name is automatically made up of the phone's identification, and CWM probably relies on this information to make the entire restore process possible, this probably will not work.

Amon_Ra's recovery is generally a million times better, but unfortunately Amon_Ra does not code for the Galaxy Tab
[Galaxy Tab  Android Development] thenashy:
I get Can't mount SD Card, and it won't do the conversion.

How do I fix this?:(
[Galaxy Tab  Android Development] dubie76:
I am wondering, will there be an update to this kernel?
[Galaxy Tab  Android Development] gwbard:
I would venture a guess and say no, at least not anytime real soon.

This kernel is pretty damn solid at the moment, not much else to do with it -- and I don't believe Paul has any intentions for OC / UV. (He's also currently on vacation) :D
[Galaxy Tab  Android Development] dubie76:
Thanks. I think its awesome myself. Just maybe a clean up or tweak. I still get that darn pixil screen flash when powering up and down that I never had before. Little things like that.
[Galaxy Tab  Android Development] h_zee13:
just finish with the installation and from recovery I had to reboot at the end, but now it's stuck on a black screen with Samsung logo and the Tab just vibrates none stop

What do I do?
[Galaxy Tab  Android Development] dubie76:
Any fix for the upside down browser? Starting to get annoying
[Galaxy Tab  Android Development] Magaboo:
So that I remember which backup has what Rom on it. I've tried several roms and made backups of each in case I want to get back to get one of them.
[Galaxy Tab  Android Development] Qsilver2001:
Just a thought, why not create a new folder with whatever you wanna name it and have that backup inside the folder.

This way you know which rom is and yet not messing with the backup?
[Galaxy Tab  Android Development] Magaboo:
Great minds think alike :). I did exactly that. Works good.

Thanks for your tip so.
[Galaxy Tab  Android Development] le3ky:
Hah, my guide :p You have an sdcard in there right?
[Galaxy Tab  Android Development] ukjeeper:
Hi Paul. Been trying to DL the EXT4 version (MCK r3 (EXT4 version with ClockworkMod) - DOWNLOAD (ROMraid Load Balancing) - MD5: a92f60d8144f18958c04d3730aaf0623

) but the file appears to be failing. Shows as a 6.50mb Dl in the Dl dialog box, when only saves as few kb file. Every time i try its a slightly different size file (all in kb). Anything up with the file hosting?

Thanks.
[Galaxy Tab  Android Development] bisto321:
I had the same thing. I fixed it by going into clockwork and flashing Pauls ROM, booted and working fine after this.

I only really used the kernel flash via odin to get clockwork on and then flashed straight to the ROM with the newer kernel.

Assuming you can get into clockwork, flash Pauls zip from the root of your SD and see what happens.
[Galaxy Tab  Android Development] jmpak:
I am also getting the same thing DLing from Modaco.
[Galaxy Tab  Android Development] drdax:
I have a copy here

Http://bit.ly/myroms

If there are any others I'll upload too

For euro/uk p1000
[Galaxy Tab  Android Development] drdax:
My pda and csc are blank. Any idea how to resolve
[Galaxy Tab  Android Development] EyeTech:
Failed Kernel update

I'd appreciate a bit of help. Tried to flash the kernel from odin3 1.7

The last line was the zimage line

About 30mins later it had still yet to do anything and the tab was still in downloading mode. Having flashed my HD2 tens of times I was expecting this to be quick. I ended up having to reset the tab and try again.

I'm now in the situation that I can get into Downloading mode but can't flash the kernel. I can't boot, the tab just stops of the samsung screen.

At this stage I would be happy just to get it booting again. Any ideas?

It's a euro tab that has been rooted

Stock rom, this was my first flash of the tab of any kind

I don't know if I have protected bootloaders. If so I don't know how to fix as I can't get into android to run the apk that makes up the bootloader patch.

I guess I may need to flash a stock kernel/rom

If so, where do I get one from for the euro tab, and do I use odin?

Thanks

-------

Update

1. The kernel I downloaded twice was corrupt!

2. I didn't habe protected bootloaders

3. My Lexar Class 10, 32GB card is not supported by the ext4 conversion. Couldn't mount. Had to fall back on my 16GB class 4.
[Galaxy Tab  Android Development] Azhad:
If now the kernel work you can use the 32gb card. The conversion used the sd card only for backup and restore.

Sent from my GT-P1000
[Galaxy Tab  Android Development] dubie76:
I don't know if its the kernel or what but the browser and data have been horrible. Very slow to load. I tried dolphin browser and its a bit better.
[Galaxy Tab  Android Development] jgaviota:
Hi Paul,

I have a P1000N and would love to (try to) patch this kernel to work on my Tab (I'm really not experienced in kernel development, but I need a good P1000N kernel)

Could you please publish the source code? Or better yet, could you compile a kernel for the P1000N, the patches are on Samsung's site, and I'd be delighted to test and help debug your kernel.

Thanks!
[Galaxy Tab  Android Development] dubie76:
It would be great to get an update. Is the chef or anyone else working on one?
[Galaxy Tab  Android Development] NhocCuteGirls:
Changelog

r3 26/JanAdditional governor / scheduler options

Battery icon fix for when device is powered off

Other minor tweaks

r2 24/JanSet default governor to 'on demand'

Added Fuse module (by request)

MCK version now shown in about

Updated compiler

EXT4 performance tweaks

r1 23/JanInitial release

__________________

Download Software
[Galaxy Tab  Android Development] clausro:
Flashed the MCK r3 (EXT4 version with ClockworkMod) version and after that I could not reboot the tab, everytime I rebooted it entered in cwm and gave me some "can't mount cache" errors. http://i.imgur.com/EnNKz.jpg

After that I tried to flash 3 or 4 Samsung firmwares and every time I reboot it freezes at Galaxy Tab logo for hours. I get the logo when I try to enter recovery too. Dunno what to to anymore, any idea? Thanks.
[Galaxy Tab  Android Development] pendevous:
Edit: Nevermind, I got my answer. I'm looking forward to trying this out. :)

Edit2: Okay, 2 things to clarify:

1. I have to be in the download mode for this to work, right?

2. I have to check USB Debugging Mode, right?

Because my tab can't be recognized by Odin :/

If it doesn't get recognized, can I just extract the zImage, and flash it using Heimdall instead?
[Galaxy Tab  Android Development] Derrian:
Does the file no longer exist? Can't download :confused:
[Galaxy Tab  Android Development] crisvillani:
Hey paul are u using the EXT4 one or RFS one, which one runs better for you?
[Galaxy Tab  Android Development] Yaotl:
If I hadn't already had two tabs replaced, I would try this on my cdma tab.
[Galaxy Tab  Android Development] rmanaudio:
What happen to your 2 tabs that you had to get them replaced?
[Galaxy Tab  Android Development] Yaotl:
clockwork recovery happened
[Galaxy Tab  Android Development] hourst2:
Paul,

If I were to flash EXT4, but then wish to return to stock, would it be necessary to flash your RFS before or just flash the stock files? The reason I ask is that with some of Supercurio's EXT4 stuff (voodoo) flashing over it would put the phone into a very difficult state and the fix is one not available to the Tab.
[Galaxy Tab  Android Development] ayman07:
Wow Paul is working on the Tab!!?? This **** just got real! So this isn't an OC kernel? Didn't see any mention of that.

From the Tab.

www.twitter.com/ayman07
[Galaxy Tab  Android Development] TheGrammarFreak:
The main difficulty lies in getting /data back to RFS. But that can be done. Flash the kernel from Roto's JME, boot to recovery and hit factory reset in there ;)
[Galaxy Tab  Android Development] rmanaudio:
I dont think it is that simple...you will also have to repartition and flash dbdata maybe???
[Galaxy Tab  Android Development] TheGrammarFreak:
You could use parted to format to FAT32