[GT-I9070][Kernel][GINGERBREAD] Stock Kernel + TWRP Recovery for Galaxy S Advance

Search This thread

diego-ch

Senior Member
Aug 12, 2010
403
3,048
João Pessoa
This kernel will provide you the standard stock kernel and also includes TWRP recovery.​



( disclaimer )

I AM NOT TO BE HELD RESPONSIBLE IF YOU DAMAGE YOUR PHONE

Using Odin to flash this kernel WILL increase your binary counter.


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

( features )

- Team Win Recovery Project 2.2.1
- CIFS Support

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

( how to install using Odin )

1. Restart into download mode by pressing Power + Home + Vol Down

2. Start Odin, and flash the attached kernel as PDA.
Remember to extract the attached file only once. if you end up with a kernel.bin.md5 you extracted twice!

Do not use the PIT, do not have any options checked except for "Auto reboot" and "F. Reset Time"

3. Wait for the device to reboot



( how to install using DD )

This method does not increase your binary counter, but your phone needs to be rooted so you can perform this!
IF YOU'RE NOT FAMILIAR WITH DD I RECOMMEND YOU TO AVOID THIS METHOD

1. Extract the attached file twice. You will end up with a kernel.bin.md5 file

2. Put the kernel.bin.md5 file to /sdcard

3. Start adb shell

4. Do the following commands:
Code:
$ su
# dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15
# reboot

5. Wait for the device to reboot.

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

( special thanks )

- Team Win for creating this awesome custom recovery.
- @Chris41g for starting the TWRP port.
- @hackbob for helping with the kernel issues.



( donations )

if you think that think that the work I put in this kernel is donation worthy,
then click the following link and buy me a beer/coffee/etc...

Donate via Paypal :good:




Enjoy! and don't forget to hit the thanks button
if you find any issues with this kernel, please report!

:cool:
 

Attachments

  • GT-I9070-GB_TWRP-KERNEL-DiegoCH.rar
    7.7 MB · Views: 263,755
Last edited:

hackbob

Senior Member
May 20, 2008
218
216
39
Well actually, that is not what I need because kernel.bin.md5 contains initramfs which is known as ramdisk usually. But I only need kernel i.e zImage which I am planning to repack to boot.img

Correct me if I am wrong :)
Yep you are right, sorry for the misunderstanding.

I can build it (from Github) for you without the ramdisk but I'm not sure it will work correctly without the driver added from the ramdisk to the kernel image during the build.

---------- Post added at 05:27 PM ---------- Previous post was at 05:22 PM ----------

Just to be sure...
I'm trying to compile cm7 and the intrafms are added with the kernel while building the boot.img, because in the intrafms that we are adding to kernel image we are basically adding the modules for wifi,bt, etc...

You sure you don't need them?:confused:
 
  • Like
Reactions: frajar and emosis

varun.chitre15

Inactive Recognized Developer
Oct 23, 2011
3,153
15,403
Sangli
Yep you are right, sorry for the misunderstanding.

I can build it (from Github) for you without the ramdisk but I'm not sure it will work correctly without the driver added from the ramdisk to the kernel image during the build.

Ok can you do that, test it and report back ASAP?
This is needed before I release my ROM :)
btw I think we should move on to main DEV thread :p
Post your next reply over there :)
 

varun.chitre15

Inactive Recognized Developer
Oct 23, 2011
3,153
15,403
Sangli
[/COLOR]Just to be sure...
I'm trying to compile cm7 and the intrafms are added with the kernel while building the boot.img, because in the intrafms that we are adding to kernel image we are basically adding the modules for wifi,bt, etc...

You sure you don't need them?:confused:

Oh great!
Can you get me the boot.img compiled while building
I will take what all I need from it :)

---------- Post added at 09:01 PM ---------- Previous post was at 09:00 PM ----------

@varun.chitre15
you can try to build it from source...
the source code is available on github: https://github.com/diego-ch/android_kernel_samsung_janice

Well actually I am trying to avoid that because I have no experience in kernel development :(
 

JackStow

Senior Member
Nov 18, 2010
230
68
Can i extract it from the rom? I got boot.img and recovery.img, is that you need?

Sent from my GT-I9070 using Tapatalk 2
 

xCode195

Member
Apr 23, 2011
31
26
Hi,
I just flashed this using Odin and i cant see my sd card in TWRP so i cant flash any roms and also the device wont root using SuperOneClick it hangs on shell root #7 Waiting for device...
 
Last edited:

hackbob

Senior Member
May 20, 2008
218
216
39
Am I the only one with TWRP restore not Working properly?

Backedup the default partition (system, data and another that I don't remember), Restored, everything seems fine (no error on twrp) but after a reboot the phone goes into bootloop.
 

xCode195

Member
Apr 23, 2011
31
26
Have you setup USB drivers of your phone?
Waiting for device indicates, Superone click is unable to contact your phone.
Yep I tried installing them again and it got stuck on the same step but now i also get Hardware ID Failed popup when I connect the device..
Should I reflash the kernel or do something else?
 
Last edited:

JackStow

Senior Member
Nov 18, 2010
230
68
Iv backuped and restored a few times and its ok

Sent from my GT-I9070 using Tapatalk 2
 

diego-ch

Senior Member
Aug 12, 2010
403
3,048
João Pessoa
Am I the only one with TWRP restore not Working properly?

Backedup the default partition (system, data and another that I don't remember), Restored, everything seems fine (no error on twrp) but after a reboot the phone goes into bootloop.

I was testing antonio's rom yesterday and before that I made a full backup.
today I restored my backup and everything was fine.

get me a logcat, a dmesg log and also a recovery.log so I can take a look on whats wrong.


Hi,
I just flashed this using Odin and i cant see my sd card in TWRP so i cant flash any roms and also the device wont root using SuperOneClick it hangs on shell root #7 Waiting for device...

you can also use CWM Flasheable SuperSu from Chainfire instead of supéroneclick
do you have an external sdcard? it wont work with internal memory.
 
Last edited:
  • Like
Reactions: dafreak_2

xCode195

Member
Apr 23, 2011
31
26
you can also use CWM Flasheable SuperSu from Chainfire instead of supéroneclick
do you have an external sdcard? it wont work with internal memory.

I would try that if I could get TWRP to read my sdcard,it says its browsing the sdcard but none of my files or folders are there and its just empty.When i reboot into the system everything is there but not in TWRP...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 127
    This kernel will provide you the standard stock kernel and also includes TWRP recovery.​



    ( disclaimer )

    I AM NOT TO BE HELD RESPONSIBLE IF YOU DAMAGE YOUR PHONE

    Using Odin to flash this kernel WILL increase your binary counter.


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

    ( features )

    - Team Win Recovery Project 2.2.1
    - CIFS Support

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

    ( how to install using Odin )

    1. Restart into download mode by pressing Power + Home + Vol Down

    2. Start Odin, and flash the attached kernel as PDA.
    Remember to extract the attached file only once. if you end up with a kernel.bin.md5 you extracted twice!

    Do not use the PIT, do not have any options checked except for "Auto reboot" and "F. Reset Time"

    3. Wait for the device to reboot



    ( how to install using DD )

    This method does not increase your binary counter, but your phone needs to be rooted so you can perform this!
    IF YOU'RE NOT FAMILIAR WITH DD I RECOMMEND YOU TO AVOID THIS METHOD

    1. Extract the attached file twice. You will end up with a kernel.bin.md5 file

    2. Put the kernel.bin.md5 file to /sdcard

    3. Start adb shell

    4. Do the following commands:
    Code:
    $ su
    # dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15
    # reboot

    5. Wait for the device to reboot.

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

    ( special thanks )

    - Team Win for creating this awesome custom recovery.
    - @Chris41g for starting the TWRP port.
    - @hackbob for helping with the kernel issues.



    ( donations )

    if you think that think that the work I put in this kernel is donation worthy,
    then click the following link and buy me a beer/coffee/etc...

    Donate via Paypal :good:




    Enjoy! and don't forget to hit the thanks button
    if you find any issues with this kernel, please report!

    :cool:
    7
    It seems I have same problem too. I was browsing files when i was in Install option of TWRP, and I didnt noticed that it was internal storage.
    Log is saying "E:Unable to mount "/sdcard' (tw_mount)" and" E:Unable to mount /sdcard (No such file or directory".

    P.S. And too, it works with 2GB SD card...

    P.P.S. 8GB SD is formated too to fat32. Anybody have solution?



    Problem solved. I reformated SD card with SDFormatter And now it works just fine. :)

    I figured out what was causing that error with help from twrp devs.
    that happens because some sdcards don't have partitions.
    So, twrp tries to mount a partitionated sdcard and fails.

    that issue is now fixed, just wait for the next release =d

    I'm working on adding custom bootanimations and cpu governors now :cool:
    6
    If you guys wait, I'll try to release a new version by november 15th and also the rooting method that doesnt increase the binary counter.

    Sent from my GT-I9070