yashsingh1/xdaforums huggingface dataset:
[Galaxy S II I9100G Android Development] aidfarh:
[I9100G][Kernel][ICS & JB][AOSP][TWRP 2.2]Team Win Recovery Project (Touch recovery)

Hi! I've ported the awesome Team Win Recovery Project 2.2 to the I9100G. Have a look, I'm sure you'll be pleasantly surprised!

Now available for ICS and Jellybean!

Previous build had a problem with sudden reboots in recovery. It's fixed. Backing-up should work now.

Tested on CM9 nightlies/CM10 experimental. It should work on other AOSP-based ROMs, but please tell me if you have any problems

As usual, everything is at your own risk. I'm not responsible for any damage, injury or death as a result of using this kernel/recovery.

The kernel itself is forked from fuss132's Horsepower kernel, with just a couple of modifications by me.

Kernel features (from fuss132's Horsepower kernel):

OC to 1.35Ghz

GPU OC to 383mhz

I/O Tweaks

Patches for better batterylife

Performance Tweaks

Fastcharge

zRam

NTFS and CIFS

TWRP Key Features:

Ability to save custom recovery settings

Touchscreen driven with real buttons and drag-to-scroll

Settings are saved to the sdcard and persist through reboots

Ability to choose which partitions to back up and which to restore

Ability to choose to compress backups – now with pigz (multi-core processor support for faster compression times)

For more info on TWRP 2.2, go here:

http://teamw.in/project/twrp2

Changelog (JB) (20120727):

Ported to Jellybean; Same feature as ICS 20120724 version

Recovery: changed internal & external storage mount points to match CM10's.

Changelog (ICS) (20120724):

Kernel: Enabled interactiveX governor and made default; Disabled interactive governor.

Kernel: Set default minimum CPU speed to 300 MHz; 150 MHz still available and can be set manually.

Changelog (ICS) (20120721):

Kernel: Disabled interactiveX governor - was causing instability and sudden reboots in recovery.

Recovery: backups relocated to /emmc/TWRP/BACKUPS/<device serial no>/ or /sdcard/TWRP/BACKUPS/<device serial no>/

Recovery: Note: backups with previous release will no longer be valid, Please manually delete /emmc/TWRP/BACKUPS/i9100g/ and/or /sdcard/TWRP/BACKUPS/i9100g/ folders.

Changelog (ICS) (20120719) (Initial Release):

Kernel: based on Horsepower 1.3.0

Kernel: modified Fastcharge implementation

Recovery: based on TWRP 2.2.

Recovery: backups located in /emmc/TWRP/BACKUPS/i9100g/ or /sdcard/TWRP/BACKUPS/i9100g/

Known issue: sudden reboot in recovery.

Sources:

Device: https://github.com/aidfarh/android_device_samsung_i9100g.git

Kernel: https://github.com/aidfarh/android_kernel_samsung_t1.git

Recovery: https://github.com/aidfarh/Team-Win-Recovery-Project.git

Credits:

fuss132 - for the source of his Horsepower kernel

codeworks and teamhacksung - for providing the CM9 kernel source code, buidscripts etc.

TeamWin, for the TWRP source code and informative guide on how to port the recovery
[Galaxy S II I9100G Android Development] rcade2005:
Cool :cool:. Good one buddy :D
[Galaxy S II I9100G Android Development] ICS_XD:
will Try ;]
[Galaxy S II I9100G Android Development] superatmos:
Cool bro !! Great job!
[Galaxy S II I9100G Android Development] john9:
nice work will try .
[Galaxy S II I9100G Android Development] dante10:
Finally a kernel from you...good job mate...looking forward to try it.....:-)

Sent from my GT-I9100G
[Galaxy S II I9100G Android Development] havenoname.304:
Change log?
[Galaxy S II I9100G Android Development] Booma69:
I will try it :)

On the team hacksung Page sounds and looks good.

So backup doesn't work.

But ist so awsome.

Thank you very much

Galaxy S2 I9100G with miui and horsepower kernel 1.3 ... rocks
[Galaxy S II I9100G Android Development] tarekkkkk:
I highly recommend for everyone to try this kernel/recovery it blows away everything else :D and you should mention in the title that this one is touch if no one knows what team win is about and yes this one works with paranoid rom

Great job :)
[Galaxy S II I9100G Android Development] diode03:
hi aidfarh, i have falshed your kernel but got problems with it

Presently i m on RootBox 1.6 with horsepower kernel v1.1.

I flashed ur kernrl, then factory reset - wipe cache - wipe dalvik cache and then reboot.

After this i was able to see the recovery menu with many boxes but my phone hanged there. It did not recognise any touches or swipes. I rebooted 4-5 times but each time my phone hung at blue startup screen or at the recovery screen :crying:

The same thing happened when i tried horsepower v1.3 (which has touch recovery). I wonder what could be the reason Is it that RootBox 1.6 has an incompatibility with touch based recoveries. Please help me becoz i really want to use ur awesome recovery (totally frustated with volume and power button mashing :crying:)
[Galaxy S II I9100G Android Development] yogisays09:
Will this work on Paranoid ROM?
[Galaxy S II I9100G Android Development] rskyline:
Best Recovery ever! I've tried it on my old Atrix and is the best! Too bad that samsung doesn't have a recovery partition -.-
[Galaxy S II I9100G Android Development] aidfarh:
I'll put more info in the first post over the weekend.
[Galaxy S II I9100G Android Development] aidfarh:
That's strange. I'll download rootbox and see if I can get it to work. Might take a couple of days.
[Galaxy S II I9100G Android Development] aidfarh:
Since Paranoid is based on CM9, it should work. Maybe you can try and report back.
[Galaxy S II I9100G Android Development] havenoname.304:
Tks ...............................
[Galaxy S II I9100G Android Development] aidfarh:
New version uploaded. Please see first post. Everything should be working now.
[Galaxy S II I9100G Android Development] aidfarh:
I tested Rootbox 1.6 with my kernel (latest build 20120721). Seems to work fine. Here are the steps I took:

Boot into Recovery.

Perform Factory Reset (Wipe Data & Cache)

Flash Rootbox 1.6.

Flash my kernel.

Reboot.
[Galaxy S II I9100G Android Development] anasnemer:
is it working with paranoid ?

and what the main features ?
[Galaxy S II I9100G Android Development] aidfarh:
It should work, but I haven't test it. You're welcome to try.

I've added the feature list in the first post.
[Galaxy S II I9100G Android Development] Booma69:
Really now working all?

Backup too?

I need backup ^_^

Gesendet von meinem GT-I9100G mit Tapatalk 2
[Galaxy S II I9100G Android Development] aidfarh:
Yes, backup is working now.
[Galaxy S II I9100G Android Development] fawzyyyy:
What about CM10 ? Can I flash it on CM10
[Galaxy S II I9100G Android Development] diode03:
Hi aidfarh, i think i found the actual reason of hanging (may not have to do anything with RootBox v1.6)

When i try to use min frequency of 150Mhz, then my phone hangs. Frequency of 300 or above, phone behaves normally.

Also i have hanging problem in recovery only. When i reboot normally (after taking out the battery :)), then phone boots up and behaves normally with your kernel.

Now, does the recovery work at min. freq of 150 (becoz that could answer phone hanging problem in recovery). I never had any kind of issue in horsepower kernel v1.1 or CM9 kerlen (i think they use 300 Mhz for min freq). Its working great for me
[Galaxy S II I9100G Android Development] aidfarh:
I don't think so. My kernel is for ICS roms only. CM10 is Jelly Bean.
[Galaxy S II I9100G Android Development] alirezaafkar:
Couldl you add BLN support ?
[Galaxy S II I9100G Android Development] aidfarh:
It does work at min. freq of 150. However I never had any problem with it. Can you tell me what exactly were you doing that causes the recovery to hang? And did you try the latest build of my kernel?
[Galaxy S II I9100G Android Development] aidfarh:
My kernel already have BLN support.
[Galaxy S II I9100G Android Development] alirezaafkar:
But this app says it doesn't !!!

https://play.google.com/store/apps/details?id=neldar.bln.control.free
[Galaxy S II I9100G Android Development] :
You already asked this in my thread why do you want it?!
[Galaxy S II I9100G Android Development] alirezaafkar:
Yes i did !

Why not !?

It is good !
[Galaxy S II I9100G Android Development] :
Backlight notification is already working so no reason to implement things twice
[Galaxy S II I9100G Android Development] alirezaafkar:
but this app has more features !
[Galaxy S II I9100G Android Development] diode03:
yes i tried your latest kernel build v2.2 . Same problem

I was not doing anything perticular. Just went to recovery to see what all i can do (i am new to this). But as soon as recovery came up, my phone hanged. I can see all the boxes and 3 buttons at the bottom but none of them were responding to my touch.

This hanging also happened when i tried to set 150 Mhz from No frills CPU control app. Then i have to reboot my phone to get it working again

Oh well,, looks like my unit has some hardware issues with 150 Mhz clock frequency. :crying::crying::crying:

Thanks a lot aidfarh for your help and support.

Looks like i have to use Horsepower v1.1 recovery only
[Galaxy S II I9100G Android Development] premk71:
Relax man, you are not the only one. Me too! Ha ha:laugh: ....everytime it hangs I pull the battery out and slot it in and go download mode and flash back stock and move upwards again ( coz i dont know of any other safer way)....i think i've done it 8 times already in last 2 days... no touch recovery working for me , even when its set at 300 or 600 Mz as min... i dont even know if thats an issue,,, dont worry, we'll figure it out soon.....
[Galaxy S II I9100G Android Development] bboycc:
You are not the only one too.LOL. just flashed using rootbox 1.7 and choose horsepower kernel. after finishing installing,reboot phone to enter recovery. it hang in the recovery mode too. The only horsepower kernel which is functioning is 1.1.0 to me.
[Galaxy S II I9100G Android Development] aidfarh:
I've built a kernel with the default min. CPU speed set at 300 MHz. Try flashing the attached file and see if it solves the problem.
[Galaxy S II I9100G Android Development] premk71:
Aww, thanks so much. I'd be able to only test it in ~ 10 hours time. Thanks for the help
[Galaxy S II I9100G Android Development] diode03:
Hi Aidfarh, Thanks a lot man. This new kernel is working fine for me. No hanging issues. Works like a charm

Thanks again for taking so much trouble for few phones :):):)

BTW can you tell me how to change that. I am asking this becoz u won't have time to do 2 releases in future all the time (one for 150 Mhz, another for 300 Mhz). In that case i can download ur file and change it myself (if its not too complex and u have time to tell :) )

Again thanks man
[Galaxy S II I9100G Android Development] aidfarh:
You need to modify the source code and rebuilt from source. Don't worry, I'll be sure that if I release any more in the future, I'll include a version with 300 MHz min CPU speed.
[Galaxy S II I9100G Android Development] jamban012:
Lol how to work if the app doesn't support i9100g. :)
[Galaxy S II I9100G Android Development] premk71:
Aidfarh ,fantastic ....super freaking fantastic man. Its working. No more hanging. Wow !!!! :):):)

After endless hair pulling I am glad its now working on my device.

So indeed there are phones that need this min 300Mhz...why the difference ? Well I think that's a question for another day.

Thank you .I remember you were one of the pioneer kernel makers for I9100G on GB. Its good we still have u around .
[Galaxy S II I9100G Android Development] alirezaafkar:
Kernel should support that app !
[Galaxy S II I9100G Android Development] aidfarh:
Since CM9 already has its own BLN implementation, I don't see the need to add another one. So, no, I won't add that particular BLN feature into my kernel. Sorry.
[Galaxy S II I9100G Android Development] diode03:
hi aidfarh, when are we getting your awesome kernel for jellybean ?? :D:D:D

Any ETA ........................
[Galaxy S II I9100G Android Development] aidfarh:
I'll start on it tonight.
[Galaxy S II I9100G Android Development] rcade2005:
Now only started to use ur kernel n the TWRP interface is great man! Thanks n waiting for JB KERNEL with TWRP :D
[Galaxy S II I9100G Android Development] aidfarh:
Released for Jellybean

I've uploaded a version for Jellybean. See first post.
[Galaxy S II I9100G Android Development] hjj22d:
good job!!
[Galaxy S II I9100G Android Development] diode03:
Hi aidfarh, what is the min. clock frequency of this kernel (150 Mhz or 300 Mhz?)

And thanks for ur superfast jellybean kernel

Way to go buddy :good::good::good::good:
[Galaxy S II I9100G Android Development] aidfarh:
Default is 300 MHz.
[Galaxy S II I9100G Android Development] anasnemer:
the touch recovery mot working for me

and interactivex not working i have to switch the phone

and 1350 mhz make the phone rebooting
[Galaxy S II I9100G Android Development] aidfarh:
What rom, and which version of the kernel are you using? How exactly is the touch recovery not working?

What do you mean by interactivex is not working?

Different phones have different overclocking or underclocking cababilities. Some cannot work above 1200 MHz, and some cannot work below 300 MHz. It's just a random variation between phones. Just a matter of luck, I guess.
[Galaxy S II I9100G Android Development] anasnemer:
i am on paranoid 1.9.2

the touch working

but the other problems not working

interactivex when i choose it will rebooting more than once
[Galaxy S II I9100G Android Development] iXanza:
I can't even get this to run in paranoid android 1.9.2

i install paranoid and this. it works fine

i install paranoid and gapps. it works fine

i install paranoid + this and gapps. stuck at samsung bootup screen
[Galaxy S II I9100G Android Development] aidfarh:
Which version of my kernel are both of you using?
[Galaxy S II I9100G Android Development] anasnemer:
version of JB of caurse
[Galaxy S II I9100G Android Development] aidfarh:
Next question, what did you mean when you said, "interactivex when i choose it will rebooting more than once"? Interactivex is the default govenor, so you don't have to choose it to use it.
[Galaxy S II I9100G Android Development] anasnemer:
no

when i choose performance then back to interactivex

rebooting starting

i cant do anything

so flash cm9 md5

btw

even hoursepower not working at all
[Galaxy S II I9100G Android Development] aidfarh:
I'd appreciate it if you try to explain clearer. I want to help, but I can't if I don't understand exactly what's going on. Do you mean that it works fine at first, but when you choose performance then change back to interactive, it reboots? By "rebooting", do you mean it reboots once, or it continually goes into a boot loop? How did you choose the governor, using the Settings in paranoid, or using a third party app? Do you also change the min/max CPU speed? Do you set it to use the new settings on boot?
[Galaxy S II I9100G Android Development] premk71:
Hi there,

I am on MIUI 2.7.20. I was previously using the 300Mhz TWRP kernel from July 23. Now i flashed the20120724 version. Phone works okay when its done flashing and boot. But when i try to change governer in CPU master, it hangs. On the previous kernel (300Mhz TWRP July 23) , I had set CPUmaster to use the conservative scaling, but now if i change to any other governer, phone just hangs and after a while it reboots. after reboot i open up CPU master and it shows conservative again. Seems like i am unable to change the governers.

I am going back to the TWRP kernel from July 23 ( twrp min300Mhz-20120723).
[Galaxy S II I9100G Android Development] xerxen:
Best recovery ever....that was all i miss! Thema Kernel ... give me some days for Feedback but all seems to bei stable ... no "Handy toaster" but the batterielife is Not clear for me xD thx For your great work!
[Galaxy S II I9100G Android Development] muncheno:
I'm using ICS stock rom with superatmos's ics kernel.

Is this kernel compatible with ICS stock rom?

Thanks.
[Galaxy S II I9100G Android Development] aidfarh:
No, it's not.
[Galaxy S II I9100G Android Development] iXanza:
Horsepower doesn't work with paranoid 1.6 . I get some weird errors with 1$% process not found. Will try this and hopefully it works

Edit.

And it works fine. 2.06 version coming soon I hope
[Galaxy S II I9100G Android Development] chincheeken:
unable to set MAX frequency lower den 1200, after awhile it will auto come back to 1200. :/
[Galaxy S II I9100G Android Development] aidfarh:
I'm getting the same problem on CM10 with the default CM10 kernel. I think it's a ROM issue.
[Galaxy S II I9100G Android Development] Shariipe:
What's the difference between horsepower nd this kernal ??
[Galaxy S II I9100G Android Development] aidfarh:
Mine has TWRC while horsepower has CWM recovery. As for the kernel itself, horsepower has more features and you can use the horsepower app to tweak some kernel settings.
[Galaxy S II I9100G Android Development] tarekkkkk:
Could u kindly develop a recovery tw without ur aosp kernel cause im using a stock rom.

Sent from my GT-I9100G
[Galaxy S II I9100G Android Development] yogisays09:
Doesnt works well with PA 1.6 . Heating issue menu key doesnt work.

Edit... menu button permanantly stopped even after nand restore. Lazy to do factry wipe. Using onscreen buttons.
[Galaxy S II I9100G Android Development] iXanza:
Updating any time soon?
[Galaxy S II I9100G Android Development] anasnemer:
he is a human

just wait or u do it
[Galaxy S II I9100G Android Development] iXanza:
Using my own words against me?

I'm not using this kernel, I'm just asking if the developer is still continuing so when people pm me asking me what to use , I can give them the most updated projects.
[Galaxy S II I9100G Android Development] fauzi_91:
Hihi :p
[Galaxy S II I9100G Android Development] incarnation95:
hahaha lol troll guy,,, :P

ixanza i guess we both shut up now XD :p
[Galaxy S II I9100G Android Development] midograna:
Where can I find wipe battery stats in this TWRP recovery .. couldn't find it .. as it should be in advance list ..
[Galaxy S II I9100G Android Development] aidfarh:
Hi all. I haven't been updating the recovery for quite a while because frankly, I'm happy with the way it is. Plus I've been really busy with work and Ramadhan and didn't have time to tinker with the source code. And until yesterday, there hasn't been any updates to Cyanogenmod's upstream kernel source code for the i9100g so I didn't really have anything to add to mine. There was a small update yesterday to CM's kernel source code so I might cherry-pick that and update my kernel in a couple of days, just to bring it up to date.

Currently it doesn't exist in my build. I'll take a look at it when I have the time. Personally, though, I don't think it's ever necessary to do that.
[Galaxy S II I9100G Android Development] midograna:
Try to add it. I liked ur kernel.
[Galaxy S II I9100G Android Development] encik_racun:
Any more development? Or this just port twrp recovery and not a kernel mod? Looking for a powerfull batt saving kernel for cm9 :(
[Galaxy S II I9100G Android Development] aidfarh:
No more development. Seriously, why are you still on CM9?
[Galaxy S II I9100G Android Development] encik_racun:
Yesterday i flash cm10.1.3 and its not satisfy me...no option to control the ui animation, usually i turn off ui animation on all rom i use...

And is it normal batterystat.bin is empty on cm10??
[Galaxy S II I9100G Android Development] bibiner:
Use Crdroid and try? Yeah is normal.
[Galaxy S II I9100G Android Development] encik_racun:
So, if batterystat is empty...there us no point to delete it to calibrate the battery right?
[Galaxy S II I9100G Android Development] bibiner:
Deleting the battery state won't help in calibrate the battery. Yeah, that mean no point of doing it. Calibrate battery by draining your phone completely then recharge it to full with your phone turned off.
[Galaxy S II I9100G Android Development] NOOBHEADFORLIFE:
i know this thread is kinda dead already but im gonna ask a question anyways :D do i need to flash the kernal using odin or i can just use my default recovery to flash it ? and can this rom mess up ? P.S im running JB 4.1.2 in case you was wandering
[Galaxy S II I9100G Android Development] nitrowarez:
How can I flash this on stock 4.1.2 ?

Shall I use odin pda mode?

And is it mandatory to wipe caches and data after install?
[Galaxy S II I9100G Android Development] toppits:
This Kernel is for AOSP-ROMs only. I would recommend to not flash it at all.

Why exactly do you want another Kernel for Stock? Maybe I can point you in the right direction.

Though I'd always recommend to flash a KitKat/Lollipop-based Custom ROM.
[Galaxy S II I9100G Android Development] nitrowarez:
Thanx for the reply.

Actually, I don't own the phone but it's my friend's

And I have managed to upgrade it from GB to JB via Odin

And I'm willing to flash a kk or LP custom Rom and I need a custom recovery for that to accomplish as you may know.

So, what do you recomend?
[Galaxy S II I9100G Android Development] toppits:
ONLY USE WITH I9100G! not for the I9100!

Ok perfect.

Download and put on external sd-card:

- Blazing Kernel v16

- Custom ROM of your choice, KK OmniROM and KK MoKee are both very stable:

- gapps for KK (if you use mokee, be sure to use mokee gapps)

Boot into stock recovery and flash blazing kernel

- reboot to recovery

- wipe data, cache, dalvik cache, system

- flash rom and gapps

- wipe cache and dalvik

- reboot
[Samsung Galaxy S (4G Model)] Zombie138:
i was just wondering if i could use a theme that was made for another phone, on this phone?
[Samsung Galaxy S (4G Model)] Shortbus-Driver:
I wouldn't suggest it....different phones have different system folder setups not to mention the different framework-res.apk and twframework files.

If you don't have problem with Odin and love trying things like me....go for it lol.

I use to do that sort of trial and error stuff on my vibrant but since then I had learned uot kitchen and photoshop
[Samsung Galaxy S (4G Model)] Wodensman:
I've been wanting to learn how to theme the phone myself. I'm good with photoshop. There are very few themes out there that theme the majority of our device. None of the themes for Go, ADW, etc I've d/led have had a skin I could use.
[Samsung Galaxy S (4G Model)] Shortbus-Driver:
I would suggest you head on over to uot kitchen and read up on their tutorial.

Also somewhere here someone wrote up a more comprehensive tutorial

But keep in mind it's more for froyo and gingerbread roms
[Samsung Galaxy S (4G Model)] Wodensman:
I thought UOT only worked on froyo and gb.
[Samsung Galaxy S (4G Model)] Shortbus-Driver:
And cm7

The op didnt specify what rom he's on and unless I followed the both of you around....I don't know what rom your on either....but I did say "its more for froyo and gingerbread" in my previous post.
[Samsung Galaxy S (4G Model)] Zombie138:
Thanks for the heads up. There's this Umbrella Corporation theme I saw on the "LG Esteem" forum, it looked freakin' sick
[Samsung Galaxy S (4G Model)] Wodensman:
If you're not stalking me...... who is? o.O
[Samsung Galaxy S (4G Model)] Shortbus-Driver:
Lol

Just because you ride the bus doesn't mean I know what grade ur in :-D
[Samsung Galaxy S (4G Model)] Zombie138:
You think downloading the zip and changing stuff out to work with sgs4g will work?
[Samsung Galaxy S (4G Model)] Shortbus-Driver:
Yes some things will
[Samsung Galaxy S (4G Model)] Zombie138:
Alright I'll give that a try and uot kitchen stuff too
[Nexus 7 Q&A, Help & Troubleshooting] sidthegreatest:
I just sold my Kindle Fire to raise cash to buy a Nexus 7. However, the huge number of people complaining about the defects [screen lifting,etc] has got me really worried. Especially since I live in India and would not be able to return a defective product without incurring expensive shipping charges. I am really keen to own a Nexus 7, but at the same time would hate to get a device with defects. Are the defects such that can be fixed on your own ? And what is the likelihood of a device I purchase being defective ?

So, I would appreciate any feedback from people who have already purchased their Nexus 7's or have any idea about the defects.