yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II SGH-I777] jthatch12:
Triangle away is free for XDA members somewhere on the forum
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I9100 Development
[AT&T Samsung Galaxy S II SGH-I777] robmoney215:
After root...download triangle away from market...give it root permission...problem solved in seconds

sent from my Ice Cream Sandwich....
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Well you'd need to Odin the ICS version of this to do that...
[AT&T Samsung Galaxy S II SGH-I777] NHSufi:
will i be able to flash this using sgs kernel flasher from the play store?
[AT&T Samsung Galaxy S II SGH-I777] 4-2ndtwin:
Nope. Only works with sgs 1 models... i.e. Captivate, i9000 and similar.

Mobile Odin will work though, if u don't have a cwm recovery to flash a kernel cwm.zip file.
[AT&T Samsung Galaxy S II SGH-I777] bailey37821:
help..

I needed CWM and so I flashed 01232012.tar through odin. Everything went fine until reboot when i discovered it activated the counter (displaying triangle) and displaying I9100. Phone is an I777 and I was coming from stock GB with root. Everything else is fine so I went ahead with flashing supernexus 2.0 and everything seems good there too...but I really want to get rid of the triangle and the display of I9100 for when I decide to sell and upgrade.

Does anyone have a solution for this?? Much appreciated.
[AT&T Samsung Galaxy S II SGH-I777] dandrumheller:
Tons of people have the solution. Please search before posting per forum rules.
[AT&T Samsung Galaxy S II SGH-I777] bailey37821:
Triangle away was easy to find....I posted here though because I thought the developer may have seen the combination of both problems with the triangle and the wrong model # showing up. I could have missed it because this is such a large forum, but I have not found the solution to the model # thing yet. Sorry, I should have clarified in the 1st post about knowing of triangle away but not the model issue.
[AT&T Samsung Galaxy S II SGH-I777] 122ninjas:
That is fixed by triangle away. Att probably got too lazy to change the flashcounter model number

Sent from my GS4 running CM11 Kandy Kane
[AT&T Samsung Galaxy S II SGH-I777] bailey37821:
Ahh...Thanks, I feel a little stupid.:confused:
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
In theory it might, however - I can tell you that I would not expect any difference in behavior here, as I have done nothing that would affect this.

If you know of an I9100 or even Captivate kernel that added this capability, point me to it and I can look into it.
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
Alright. I don't know of any off the top of my head, but I'll keep an eye out. Thanks.
[AT&T Samsung Galaxy S II SGH-I777] :
Ive never re-tar-ed a kernel before that... how do you go about doing that?

Also, Ive never used Heimadall but I have it downloaded. I tried to input the zimage but it failed.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
In that case, it may be easiest to download it, open PDA.tar in 7-zip, and remove factoryfs.img, leaving only zImage.

In Linux or Cygwin, tarring up a file is easy

tar cvf PDA.tar zImage
[AT&T Samsung Galaxy S II SGH-I777] dayv:
I did not know that capability was available in 7zip, learn something new all the time here. This would be an easy way to do it.

For windows users to tar a file you need a tar archiving program, I know they exist, and that there are some free ones, but I've never attempted it in windows, but it is possible.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Cygwin includes tar, I think 7zip may also support tar in its advanced options for compression.
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
Root explorer can create both .tar and .tar.gz. Would that work to make an odin flashable stock kernel? Just tar up the zImage?
[AT&T Samsung Galaxy S II SGH-I777] dayv:
Yes, for people who have root explorer, put a copy of the file (in this case the zImage) you want to tar on your sdcard and use root explorer to tar it, good app and I have it, but it is not a free app.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Most ROMs should have a busybox installation that includes tar too.

So you could do, in Android Terminal Emulator:

cd /wherever/your/zImage/is
tar cvf PDA.tar zImage
[AT&T Samsung Galaxy S II SGH-I777] thejanitor86:
tarring a zImage with root explorer is very easy. just put it on your sdcard. go to it with root explorer and tap and hold. then at the bottom of the options hit create tar. done. also i have flashed the new experimental kernel. running wonderfully so far.
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
OK. Created .tar from stock kernel zImage using root explorer. Transferred to pc and flashed in odin PDA slot. Didn't work. It goes just this far and then stops:

<ID:0/008> Added!!

<ID:0/008> Odin v.3 engine (ID:8)..

<ID:0/008> File analysis..

<ID:0/008> SetupConnection..

<ID:0/008> Initialzation..

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

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

<ID:0/008> zImage

Also shows zImage in the top box. Didn't hose the kernel though. Just turned the phone off at this point, after waiting a couple of minutes, and it boots normally. After that the top box in odin turns red and says Fail.

Maybe I'll try to make the .tar with terminal emulator and see what happens.

---------- Post added at 09:46 AM ---------- Previous post was at 09:33 AM ----------

^^^

OK. Tried in Terminal Emulator. Output in the terminal looks like this:

$ export PATH=/data/local/bin:$PATH

$ cd /sdcard

$ tar cvf PDA.tar zImage

zImage

$

but I can't find the .tar file.

zImage is on the root of the sd card, so I assume the .tar will also be on the root of the sdcard. I'm not a linux person, so I must be missing something here, or screwing up something?
[AT&T Samsung Galaxy S II SGH-I777] shinji257:
I apologize in advance if these questions have already been answered but I'd thought I'd ask anyways.

1) What's the different between the build that has _exp on it and the one that doesn't?

2) Can this kernel be flashed on a stock rom safely?

Now then how likely the phone would still take an ota update or one via kies in the future if Samsung should either release a rom with a newer 2.3 version (i.e. up to 2.3.7) or ICS?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
odd - the .tar file SHOULD be there in /sdcard, from what you pasted everything worked.

Try:

cd /sdcard
ls

That'll show all files in /sdcard
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
2.6.35.7 (normal) vs. 2.6.35.14 (experimental) - In theory .14 fixes the infamous "Android OS bug", but there's also evidence that it may merely hide it - that's why I am continuing to release builds from both branches.

It is flashable on a stock ROM - I was running bone stock when I started development, and since then have only made minor modifications (deodexing, extended power menu), none of which should affect kernel compatibility.

As to OTAs - I don't know and don't really care about this particular issue. Most people who root don't bother with OTAs, often the "good" (updates) comes with "bad" (additional bootloader lockdown - see the UCKJ1 leak and some of the mid-summer updates for the Tab 10.1 - people who had unlocked nvflash bootloaders on the Tab 10.1 found the bootloader locked after flashing a small update.)

You can safely assume that if an OTA comes out, a flashable package minus any "bad" stuff will quickly become available for it here, and also ROMs based on it will become available fairly soon.

odd - the .tar file SHOULD be there in /sdcard, from what you pasted everything worked.

Try:

cd /sdcard
ls

That'll show all files in /sdcard
[AT&T Samsung Galaxy S II SGH-I777] shinji257:
Ahh ok. Thanks for those answers. I'm waiting on a jig a bit but once it shows up I'll be rooting then.
[AT&T Samsung Galaxy S II SGH-I777] nyydynasty:
I'm sure you know this but you dont need a jig to root the phone.
[AT&T Samsung Galaxy S II SGH-I777] shinji257:
Yea I know. I need it to reset the counter from doing the root in the first place. I'm just going to wait until it gets here so I have everything. It would also be needed if something went very wrong somehow and I was unable to get download mode normally.
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
Any particular reason or advantage to remaining on stock?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Not really - Cognition had one or two features I didn't like, and also, I'm trying to start to learn the details of Android userland so I can be more self-sufficient - like doing the power menu mod myself and deodexing myself.

Eventually I'm probably going to start a thread here called TutorialROM - an intro to modifying Android userland (ROM development) for those who have a good technical background, familiarity with Linux, but no experience with messing around in the Android userland stack.
[AT&T Samsung Galaxy S II SGH-I777] shinji257:
That sounds like something I would like to get into.
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
I've been trying to do the same thing. Which is why I started with Cognition Beta 1 and built upon it with bits and pieces from its updates and GTG's ROM. I'll be using aspects of other ROMs as they pop up. Essentially, when people ask what I run, I'll say everything lol.

Looking forward to TutorialROM.
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
That would be cool. I also want to learn Linux. I have a box sitting here not even plugged in that would make a suitable Linux box. Kill two birds... etc.
[AT&T Samsung Galaxy S II SGH-I777] Freddy2Fred:
This is great!
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
Yeah. That shows it. And this afternoon I can see it in root explorer too. I guess I was just being blind this morning.
[AT&T Samsung Galaxy S II SGH-I777] shoman94:
Can you add support for the Smartass governor?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Every time I've seen a custom wacky governor implemented, the results have been utter buggy ****.

I may look into it eventually, but I value performance and battery life over the flavor-of-the-month governor that's supposed to be super-ridiculously-awesome, but instead usually winds up managing to cause people to somehow achieve both bad battery life AND lag at the same time.

There are a LOT more things higher on my priority list than flavor-of-the-month governors.

I have not yet seen a confirmed stable alternate-governor patch for any I9100 kernel:

Ninphetamine (I consider Ninpo and netarchy to be competent developers, and usually trust their patches without too much review, although I always review them for typos since I have found some) - No alternate governors here (Exception: I did get my conservative tuning governors from netarchy's Infuse work. Ondemand was unstable as hell on the Infuse)

CWM kernels - codeworkx and atinm know their ****, I trust their code, but no alternate governors either

SiyahKernel - 34293248230 different governors, and after reading his thread, they all have problems

Many other kernels out there have source released as megapatches that are extremely difficult to review and separate

Based on the results of viewing what happens when kernel devs more competent than me mess with alternate governors - I consider that to be "here be dragons" territory.
[AT&T Samsung Galaxy S II SGH-I777] penskyc:
Any way we could get some kind of AOS fix, I am looking for solutions and noticed that SiyahKernel implemented a fix for AOS.. currently my battery is horrible and suspend and events/0 are destroying my battery.. I dont know what to do and am kinda freaking out and considering going back to iphone even though I LOVE this thing.!
[AT&T Samsung Galaxy S II SGH-I777] theli0ntamer:
noob here, so bear with me... i just flashed dd10162011.exp to my phone, but noticed that there is a ondemand govenor file listed on the first page. do i need to install that too? thanks..
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
That's if you want the governor to be ondemand. The default is set to conservative. To use the ondemand file, follow the instructions in the first post (place it in system/etc/init.d).
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
The SiyahKernel AOS fix isn't real - in fact it is starting to look like it may make the problem worse, in that your phone will be eating battery but no longer showing it.

But if you really want the "fix" - that's what the 2.6.35.14 experimental branch is. But it's not guaranteed to actually fix battery drain issues, just hide them.

Are you running Skype by any chance? That'll kill your battery and blame it on Android OS (because the app itself isn't using CPU, but is driving network I/O that does eat CPU).

More details here - http://xdaforums.com/showthread.php?t=1290020&page=29 The first 20 pages of the thread are fairly poor, the last 10 have actual real data collection.

FYI you'll probably see the release pace from me slow for a while as I try and figure out exactly where between .7 and .14 things changed, and exactly why/how they really changed.

Pulling **** from SiyahKernel is next to impossible, he is half-assed about GPL compliance and posts his source as either megapatches or complete tarballs which are hard to work with, when he actually bothers to post it.

Only if you want the ondemand governor to be default at boot.
[AT&T Samsung Galaxy S II SGH-I777] theli0ntamer:
if it is set to on demand on boot, would that give me better battery life? im just trying to get the most out of my battery without sacrificing too much cpu power. if anyone has any suggestions, i would really appreciate it :)
[AT&T Samsung Galaxy S II SGH-I777] shoman94:
I was using Smartass on my captivate with the talon kernel. It gave me the same performance with slightly better battery life. Battery life was in between conservative and on demand.

One thing I used that worked even better were init.d scripts from the platypus kernel for the captivate cm7/miui. I set it to powersave with screen off and Smartass with screen. It was a nice setup though I did here that setcpu does that but at the expense of a process running, am I correct in that?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Battery is why I default to conservative. If you tweak the up/down thresholds in SetCPU you can change how fast it ramps up - higher thresholds mean lower clock speeds, which mean better battery but at the expense of a small bit of UI lag.

As I understand it, the main benefit of Smartass is to be able to rapidly switch between screen-on and screen-off profiles, faster than SetCPU on a wake.

However our device takes 650ms to fully wake up from suspend no matter what, so that kind of makes the point moot.

However, while governors are SUPPOSED to be architecture-independent, somehow all of these wacky governors wind up performing like **** on devices they weren't original written for without major retuning.

I'll look into it eventually, but right now the cost/benefit ratio is low. Not while the "AOS Bug" still needs investigation. (fix coming next release, holding until I have more to put in though - If your battery goes below a certain low-battery alarm threshold, you will wind up permanently wakelocked until reboot even if you recharge. Fix is in git.)
[AT&T Samsung Galaxy S II SGH-I777] theli0ntamer:
anybody care to share some undervolting settings for setcpu?

---------- Post added at 04:26 AM ---------- Previous post was at 04:21 AM ----------

wait... just read up on it... nevermind...
[AT&T Samsung Galaxy S II SGH-I777] penskyc:
thanks for that info, i started reading that thread and it started to veer off topic so i stopped, but i will pick up from page 20 and see if anything changes, I just went to sleep with my phone on airplane mode, gps off, sync offf and all that and woke up with a measily 3% drop which is incredible compared to my 20-30% drop overnight, tonight I am going to try with just data on and see if it still happens. It could be wifi like you said in the other thread..
[AT&T Samsung Galaxy S II SGH-I777] n1nj4dude:
are bluetooth stacks on the kernel level? (im still learning about all this :) ) and if so, is there a way you can mod the bt stack to work with apps like blueputdroid?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Bluetooth stacks are pervasive throughout the system - there's a little bit in the kernel, a lot in low-level driver libraries and such, and a bit in the framework.

The end result is that doing a stack swap without effectively nuking and repaving the whole framework is nearly impossible.

I don't think I have EVER seen a stack swap on a Samsung-derived ROM that got wiimotes and sixaxiscontroller working. It only works when you can nuke and repave nearly everything Bluetooth-related - i.e. Cyanogenmod.
[AT&T Samsung Galaxy S II SGH-I777] n1nj4dude:
thanks for the reply, that really helps me understand it a lot more than i did
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
If you want support for things like Sixaxis controllers and such, you may want to look into Cyanogenmod.
[AT&T Samsung Galaxy S II SGH-I777] n1nj4dude:
im not really interested in those apps, there was only one i wanted to use, and that was to control my playstation3, and thats really not a big deal to me. i actually enjoy the stock rom and your kernel has only made it better so for now i think ill stay where im at.
[AT&T Samsung Galaxy S II SGH-I777] Haas360:
Wtf my phone is getting more mflops on the conservative gov rather than ondemand ? Why? 1200MHZ linpack and nenamark suffer. And what's the ondemand.zip in the op? Is this a known thing.... Sorry if it is
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
1) No clue. Ondemand might be broken partially or fully like it was on the Infuse.

2) That one's covered in the original post... about halfway down the changelog
[AT&T Samsung Galaxy S II SGH-I777] phonic:
I've been using this kernel for the past week or two and really like it. I'm stock everything else (outside of su), and the performance has been pretty much the same with conservative scheduling, at least from my perception. Battery life is great. I turned off a bunch of crapware and set both my home/work email to push only (no active syncing), and while I get about 100 emails for work a day, and use the phone for about an hour cumulatively, after 24 hours I'm only down to ~60% battery life*. Much better than before, though granted it was a new phone and maybe the battery wasn't 'broken in' yet.

*as long as I don't play Words with Friends. If I do, I go down about 1%/minute.
[AT&T Samsung Galaxy S II SGH-I777] mjgspr95:
Working smoothly on the latest 2.3.5 leak. I'm using the 10/16 nonexp release OC'd and UV'd. Wifi is broke, but someone else says they got it working... I don't use much anyway.

i777 stock 2.3.5 kj2

Entropy512 Doom

Onepointsixingit
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
On KJ2, try the following workaround for wifi, it fixed wifi on leaks for the Infuse (although it might require initramfs mods too...)

http://xdaforums.com/showpost.php?p=18559220&postcount=183
[AT&T Samsung Galaxy S II SGH-I777] mjgspr95:
Thanks. Where should that code go, build prop?

i777 stock 2.3.5 kj2

Entropy512 Doom

Onepointsixingit
[AT&T Samsung Galaxy S II SGH-I777] mjgspr95:
I see the file in root expl. but then what?

i777 stock 2.3.5 kj2

Entropy512 Doom

Onepointsixingit
[AT&T Samsung Galaxy S II SGH-I777] mjgspr95:
I took the system/etc/wifi file from stock H7 and wifi working now.

i777 stock 2.3.5 kj2

Entropy512 Doom

Onepointsixingit
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Just run it once in a terminal shell.

As to copying /system/etc/wifi - that's odd... Does it remember settings after a reboot?

update coming soon, was planning on doing it before midnight but this hard cider is too tasty. Plus I was trying to give Mikey an exclusive on IRC for an hour or two. :P
[AT&T Samsung Galaxy S II SGH-I777] mjgspr95:
Yup, sticks after boot.

i777 stock 2.3.5 kj2

Entropy512 Doom

14 toggle mod

Onepointsixingit
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
KJ2 wifi issues on I777 may be different in nature than KI3/KI4/KJ2 for Infuse then.

Original post updated, new features:

Fix for those who get fuel_alerted perma-wakelocks in /proc/wakelocks (Note: kernel wakelocks don't show in BetterBatteryStats)

GPU clock control - Only testing on this feature is "the defaults do not cause any stability or performance problems/changes" - here be dragons if you use this feature. Same rules as for my CPU OC code. For documentation on using this feature, see Ninphetamine for the I9100 - exact same implementation.
[AT&T Samsung Galaxy S II SGH-I777] tassadar898:
GPU OC!! Thanks entropy!
[AT&T Samsung Galaxy S II SGH-I777] louiscyphere13:
yea!

the new kernel is great man!
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
Are there plans to support discharge for current widget?
[AT&T Samsung Galaxy S II SGH-I777] mjgspr95:
What app adjusts gpu or is it in settings? I have not installed yet.

i777 stock 2.3.5 kj2

Entropy512 Doom

14 toggle mod

Onepointsixingit
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
On the original GalaxyS there was no hardware for it. On our phones, there might be hardware to pull this from, but it would be tough... And in the process of implementing it, the fuel gauge might get completely hosed. I do want to look into this eventually, but it's a nasty one.

There's a file somewhere deep within /sys - I'm not sure where, as I said - I haven't even tested this feature, but it's the exact same implementation as the Ninphetamine kernel for I9100. I think there are some apps that can control this for you.

I'll try to put up more documentation later.
[AT&T Samsung Galaxy S II SGH-I777] TheTodFather:
LOL, I read Ninphetamine's thread, **** is funny, guy had my tearing up with laughter. That guy should be a writer as well. I did read through his stuff and even tried googling how to OC the GPU. Obviously I don't want to have to just grab a app from market and try so when you get time, try to give a little details on this new feature. I'm excited!
[AT&T Samsung Galaxy S II SGH-I777] mjgspr95:
I didn't notice anyting either. I have Tegrak professional but it only works on stock kernel. I didn't see any mention yet of an app.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
There's a little on how to control the GPU in post 4 of the Ninphetamine thread. (Hacre's FAQ post)

Actually - nearly every item in his FAQ applies equally to my kernel. :)

I'll try to add a link when I can - on my tablet now so that isn't so easy.
[AT&T Samsung Galaxy S II SGH-I777] mbze430:
I have to say this is the smoothest conservative scaling

Gonna test how the battery hold out today.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Thank Netarchy for that. Ondemand was unstable as hell for the Infuse, so a way to get conservative to be more flexible was needed. The changes to the default up/down thresholds are minor compared to the significantly increased polling/transition rate. (It steps through frequencies faster.)

Edit: Small note. When flashing in CWM, all the ZIPs will say they are 10/7 Doom. I forgot to update the updater-script in the zips. I'm going to remove version info from the updater-script in the zips.
[AT&T Samsung Galaxy S II SGH-I777] mjgspr95:
got to report back... My wifi file swap broke tether... :/ still trying to figure. It works if I switch back though

i777 stock 2.3.5

14 tog mod

Entropy512 Doom

Onepointsixingit
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Did tether work at all beforehand?

Tether might be a whole other issue...
[AT&T Samsung Galaxy S II SGH-I777] mjgspr95:
No tether worked initially. Failed after switch. Gives "error"

i777 stock 2.3.5

14 tog mod

Entropy512 Doom

Onepointsixingit
[AT&T Samsung Galaxy S II SGH-I777] mjgspr95:
Only difference so car in the two etc/wifi files is

wpa_supplicant.conf

HA HA!!! Figured out the files from the Wifi folder that work... I think, lol. system/etc/wifi/wifi.conf and wpa_supplicant.conf

I reflashed and started over. I replaced both of those (one at a time) instead of the entire etc/wifi folder. The first one gets wifi going the second allows phone to remeber the hotspot settings. Survives boot too.

i777 stock 2.3.5

14 tog mod

Entropy512 Doom

Onepointsixingit