yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] NeoPhyTe.x360:
[KERNEL][23/07] █░ SGSII | 2.6.35.7-MirageS2 [v5]- STOP BATT DRAIN | OC 1600mhz ░█

Firstly, I'm not responsable if you brick your phone doing overclock or a bad use of this kernel. So, be careful.

This kernel is built from a custom modified source by me (I've added and modified some things to an updated SGS2 source), I've tried to modify it to get the lowest battery drain, so this kernel should stay in a step between performance and battery, if you like some more performance you can download SetCPU, or other custom app to modify freqs and default governor.

What's included:

-For XXKG1/G2/G3 (should work with olders too)

-Modified Freq range 11 steps (200-400-500-600-800-900-1000-1200-1400-1504-1600 Mhz)

-CPU UV sysinterface (thanks to ninphetamine)

-Modified cpufreq.c to force processor to go step-by-step in freqs.

-Default Freq: 500-1200 Mhz ondemand (the best to get low batt drain, should drain lower in sleep)

-Lowest maximum freq blocked to 400mhz (so if you put 200-200, it will run 200-400, locked due to better performance)

-Available governors: interactive-smartass-conservative-userspace-powersave-ondemand-performance (custom modded smartass, ondemand and interactive governors)

-CFS Scheduler.

-SLQB Allocator.

-CFQ Block IO Scheduler (Available: no-op, deadline, cfq)

-Modified Initramfs from saturn_de (thanks to him and Chainfire) -

I've added some values to this init.rc to get lower battery drain and some performance. (some different from saturn)

-CWM 4.0.0.2 Recovery

-Disabled Profiling support and debugs, added ThumbEE, Improved Control Group Support.

-Added some CFQ IO tweaks

-Changed dalvikvm heapsize to 60m (this should improve performance on tasking)

-Touchscreen fix added (thanks to vicenzo91)

*initramfs@github

*source@github

*int:fast is not included due to performance problems.

*not compatible with tegrak OC (tested with SetCPU)

test with performance 1504mhz, vfs_cache_pressure=100 and dalvik 64m (default vfs=70, you can modify it downloading Sysctl Config from Market)

v5:

*set samsung-update1 as base (fix reboots)

*added slqb patch

*removed bfq

Download:

SERVERS:

[USA]SGSII-2.6.35.7-MirageS2-v5

[DEUTSCHLAND]SGSII-2.6.35.7-MirageS2-v5

[Mirror]http://sgsii.z4mb0.net/Kernels/SGSII-2.6.35.7-MirageS2-v5.tar Mirror by El TeKi thanks
[Galaxy S II Original Android Development] NeoPhyTe.x360:
reserved.....
[Galaxy S II Original Android Development] sab65:
Wow nice to see you here. Will try it out immediately
[Galaxy S II Original Android Development] kryptoner:
looks really really really promising... trying it now
[Galaxy S II Original Android Development] nrs1988:
how come i only get scores around 3200 with every rom and kernel? and everyone else has so high :(

going to try this one soon :)
[Galaxy S II Original Android Development] avetny:
yeaaa baby !!:D
[Galaxy S II Original Android Development] buzzboy:
Good to see you here Neo. Been a Aurax/Reflex fan on the Desire...

This is good news!

Regards
[Galaxy S II Original Android Development] gn00my:
Awesome, will try this when i get home :-)
[Galaxy S II Original Android Development] pcboyy:
Just flashed. Oc to 1.5ghz. First quadrant 4566

will give feedback on batt consumption soon
[Galaxy S II Original Android Development] trunks986:
Hope to see soon a rom made by you..... On my old desire i had your auraxtsense!!! U are great
[Galaxy S II Original Android Development] faiz2036:
Very nice neo. I'm a fan of your desire rom.. now u make a kernel for sgs2. No doubt, i will try it in the future. I hope u release your own version rom for sgs2.

+1
[Galaxy S II Original Android Development] Pacifiste95:
+2
[Galaxy S II Original Android Development] NeoPhyTe.x360:
Soon mate, soon. Thanks
[Galaxy S II Original Android Development] tolis626:
Holy shiznit,who would've thought we'd be seeing you here Neo?I gotta thank you for the first rom that made me actually love my Desire.Not the only one,but it was the first whatsoever. :)

I'd like to tell you a thing or two(or three :p ) though.

1)You should add support for SetCPU's voltage control.I know there are other apps that do the same thing,but the number of people using SetCPU is massive.And on the Galaxy S 2,undervolting is very important,especially to avoid issues with overheating.

2)Could you pleaaaase lower the max clock by only 4MHz?My phone is unstable at 1504MHz with 1350mV,while it's rock stable at 1500Mhz with 1325mV.And I'm serious,4MHz only and it makes a huge difference,while performance-wise it's the same.

3)You could also overclock the GPU.200MHz with 750mV min and 400MHz with 1100mV max seems stable for everyone.You can gain quite a lot of performance,while it doesn't heat or consume more.You can also test if what I say is true yourself.

Else that those three...Well,welcome to our world pal!The world of power! :D
[Galaxy S II Original Android Development] cobhc:
I don't know what you did to get 5000 in productivity on smartbench11 cos I can't hit more than 4300 even with the vfs setting changed...and yes I am overclocked to 1.5ghz and locked there.
[Galaxy S II Original Android Development] Yanardag:
Hi can make a kernel with default clock with 1,5ghz please ?
[Galaxy S II Original Android Development] cobhc:
Just download SetCPU and set the min and max to full.
[Galaxy S II Original Android Development] LoQo_:
Mirror http://www.megaupload.com/?d=4LLP5HPF
[Galaxy S II Original Android Development] cobhc:
Another mirror http://www.multiupload.com/L215724GBY
[Galaxy S II Original Android Development] athulag:
Just flashed your kernel. Thanks

Is auto brightness broken ? The brightness goes to 100% on autobrightness eventhough it is night and there is no light

Tried wiping dalvik cache but did not help

EDIT: Covering the light sensors with a black blanket did not change anything. So there seems to be a problem with auto brightness. I am on stock KG1 leaked rom
[Galaxy S I9000 Q&A, Help & Troubleshooting] Dragooon123:
Can I only deodex parts of firmware such as SystemUI or framework? I do not want to deodex the entire system apks because browser deodexed in JVQ lags a lot.
[Atrix 4G General] l3giticonia:
OK so I am running stock gingerbread rom and my gps. On Mapquest freezes everyone. I go. To. Load never had. Issu. On 2.2.2 any fix?
[Atrix 4G General] Spleisher:
For what it's worth, my GPS on stock Gingerbread was not as good as it was on 2.2 until I flashed the new radio. That made all the difference. Check your baseband and see if you have. .15 or. 30.
[Atrix 4G General] l3giticonia:
01.77.30
[Atrix 4G General] Viamonte:
That means my GPS issues may be radio related? Im on gingerblur 4.5 and lize in Brazil, what should I do about it?
[Atrix 4G General] l3giticonia:
just flashed a new radio .sbf file works great!!
[Atrix 4G General] jhild352:
Have you tried google navagation? Im on att 2.3.4 beta 4 and use nav on a daily basis with no issues at all

And tnis post is very confusing... Are u on gingerbread or ginger

blur?

there is a huge difference between the two

​

​
[Atrix 4G General] l3giticonia:
I put topic title. 2.3.4 stock tom
[Thunderbolt General] fixxxer2008:
i know the ziggy kernels are in the synergy rom but i wonder if there is an updated kernel we can flash on other roms? ive searched and cannot find anything since the april beta's. :eek:

i donate to the dev if he makes it so!
[Thunderbolt General] loonatik78:
http://forum.ppcgeeks.com/htc-thunderbolt-development/

The word is he's been cooking up a gingerbread kernel but I have no clue where to find it other that packed inside virus ROMs.
[Thunderbolt General] fixxxer2008:
i wonder how hard it would be to extract the kernel from synergy and make it flashable on other roms? never done it and i don't want to piss the dev off. but id like to test it out on bamf.
[Thunderbolt General] admiralspark:
Kernel is licensed under gnu gpl2, so you can do whatever you want to it and nobody can say otherwise, as long as you don't claim ownership and share the modifications (the beauty of open-source).

Be that as it may, unless you've done this sort of thing before (creating flashable zips, knowing whih files are part of the kernel, etc) its gonna take some research and a lot of time! Do let us know how it comes out!

sent from my rooted Thunderbolt with das BAMF 3.0 rc4
[Thunderbolt General] fixxxer2008:
flashable zips i can create no problem but extracting the kernel seems like it needs to be done on linux and im running windows & osx. can anybody point me in the right direction here?
[Thunderbolt General] ziggy484:
Bamf rc5 pre had the ziggy kernal in it... Didnt care for it myself, battery was horrible, went back to dream kernal

TB, Sense 3.0, GB
[Thunderbolt General] fixxxer2008:
i have successfully extracted the kernel with the andoid kitchen and repacked it into the thunderbolt anykernel flashable zip. i just made it up, flashed it to my phone and ill report back.

:D

EDIT: phone booted and it seems to be running fine!

wifi & 4g are working and the phone is speedy as hell. ill test battery life tonight.
[Thunderbolt General] Ianxcom:
sharing is caring
[Thunderbolt General] loonatik78:
Working great on mine!
[Thunderbolt General] JBO1018:
I think it would be best if you plan on reposting the kernal to ask permission from the author first regardless of it being gpl2. Also giving proper credit in the post would be a good idea. Just kind of common courtesy.

Sent from my HTC Thunderbolt
[Thunderbolt General] fixxxer2008:
Um i already made another thread and gave full credit to the dev.
[Thunderbolt General] admiralspark:
Yep, devs are almost always happy if you use their stuff, and your work looks clean too!

sent from my rooted Thunderbolt with das BAMF 3.0 rc4
[Nexus S General] rrohanjs:
is ther a way i can get a notification and my soft keys will light up ???

in stock rom but .. i dnt wanna root it
[Nexus S General] HareyCarey:
NoLed from the market is your best bet. Not too great and won't light up your softkeys. The only way to light them up is a kernel that supports BLN.
[Nexus S General] DirtyShroomz:
Root and use stock room with bln kernel
[Nexus S General] zephiK:
You could also use BLN control app. That's another alternative.
[Nexus S General] hellcatt:
he said he doesnt wanna root it, why anyone wouldnt is beyond me.
[Nexus S General] BrianDigital:
Bln works best but u need root and kernel. For me noled killed my battery

And sir you own a nexus s and its your duty to root that thing
[Nexus S General] zephiK:
+1 just like OP's quote.. more like

" Once you have tasted root, you will forever walk the earth with your eyes turned skyward, for there you have been, and there you will always long to return " ;)
[Nexus S General] HareyCarey:
This.

I just rooted like 15 minutes ago. Running Mikeyinid's rom with matr1x kernel and I am stoked.

OP, don't waste time like I did. It is easy and people will help you with any trouble you have, don't hesitate. Bln is worth root alone, lol. But, voodoo and overclock capabilities to boot can't be beat.
[Nexus S General] mikeyinid:
This is the truest statement I've ever heard here at xda :)
[Nexus S General] rrohanjs:
i dnt wanna root it immediately cuz i screwed my milestone by overclocking n constantly changing roms tryin different options ..

ill root it once m bored of the usual .. m very moody i may just root tomm also i dnt knw :P ..

nice change of my quote by the way .. very nice ..

thnx for the input on noled .. good u told me before only tht it drains battery .. thnx

one thing i dint like is the volume of the speaker :( .. coming from motorola with extra loud speakers this makes me feel m deaf :P .. n vibration sux as well .. but wht the heck i can live with it
[Nexus S General] alnova1:
I have been using no led and love it and my battery life is great. I set it to stop blinking after 5 minutes and that saves a ton of battery life. If I have been away from my phone for longer than 5 minutes I always check it anyways...of course I'm hardly ever away from it that long...I Love her...:o
[Nexus S General] pewipo123:
use NoLed......i do!
[Galaxy S I9000 Q&A, Help & Troubleshooting] JshJHoon:
Hi, I'm new here and first off I'd like to say how great bionix-v is, it's snappy, responsive, and has a great UI.

However, I'm still very new to the rooting scene, and I had no idea how to keep my messages + all other data without losing bionix when I do a Nandroid restore. My messages and personal data outweighed the awesome features in bionix, so I restored to my Nandroid backup I created prior to installing a new rom. Everything looked exactly the same, all my music messages and other data were there, and I was happy. But when I checked my notifications bar, it said "Emergency Calls only". I was puzzled because I've never once seen this in my life, and when I tested it out and sent a text, it would not send. I'm worried my phone will lose its most important feature...

I plugged my phone into the computer to charge, and my phone immediately powered off, and had a spinning wheel for one second, then showed a battery for a split second, and repeated this cycle. When I pull the charger, I have to reboot my phone to have it working again, it says "Vibrant" on the boot logo instead of the usual "Galaxy S" I usually see. Has Nandroid failed to actually back up my core files and system? I'd love a fix for these things..

I appreciate any type of help, thanks guys :)
[Hero, G2 Touch Q&A, Help & Troubleshooting] Jabbitt:
I've just installed this great rom but for some reason Opera Mini won't run. It keeps telling me that I must check my internet connection.

But my internet connections are fine both mobile data and wifi...especially as I just downloaded Opera from the marketplace!! :confused:

Any suggestions??

EDIT: Must have been an Opera server problem. Its working fine now.
[Hero, G2 Touch Q&A, Help & Troubleshooting] Jabbitt:
As a side note, I've gone back to elelinux speedmachine froyo rom. I think gingerbread is too much for our heroes, especially as I missed two calls and four texts!

Roll on feb and I can upgrade! Or wait till may and ditch orange altogether, I'm fed up with their crap data network!
[HTC Flyer, EVO View 4G] steinerhippo:
Hi,

i temp rooted my Flayer 32GB 3G, and i tried to remount the /system partition to rw. It gives me no error but the /system partition stays ro. I know at this point it does not make lot of sense because it`s only temp root, but i wondered if this is only not working for me or if i do something wrong.

I used adb to copy busybox to /data/local/tmp and ran busybox -o rw,remount -t ext4 /dev/block/mmcblk0p25 /system and also tried to just ran busybox -o rw,remount /system.

If anyone has tried to do this, he maybe can say something.

regards
[HTC Flyer, EVO View 4G] steinerhippo:
Ok, i did the temp root again because i rebootet, got the exploit area 38126600:a00 and then i could successfuly remount /system rw
[HTC Flyer, EVO View 4G] Bashar .:
using which tool you temprooted ? and possible to replace system files or install another ROM ?
[HTC Flyer, EVO View 4G] Deerhunter48:
Got my 32GB/3G o2 Germany branded Flyer also temp rooted, exploit found at 38125600:1a00. Remount of /system rw succeeded
[HTC Flyer, EVO View 4G] steinerhippo:
Please look into the dev section of the flyer forum. Elim explains everything very well there. The fre3vo tool is used.
[Nexus One Q&A, Help & Troubleshooting] silversurfer11:
Hi Everyone,

Looking for help for an issue, I installed the new android market and was messing around with Titanium Backup (forgot to backup the app, dumb me!) anyway I tried to uninstall the new market to go back to the old one but when I did this the market app is gone from the manage apps area. My phone is a N1, running 2.3.4 and rooted, this what I have tried:

- Install the old market manually from a downloaded vending.apk, not working crashes to .com.android.vending every time

- After this I went to look in the /system/app folder for vending.apk and the app is not there, neither I am unable to copy the app using Droid Explorer or Root explorer, it says it is coping the app but is not there

- Re-install gingerbread update again to see if it gets the app back, did not work, still not in system/app folder

Does anyone know why I am unable to copy the vending.apk to the system/app folder? the phone is rooted but still can-t

Thanks!
[Nexus One Q&A, Help & Troubleshooting] danger-rat:
If you're having problems with root permissions, try using ROM Manager to fix permissions. Another possibility could be busybox, so I recommend installing the version with Titanium backup (under the Problems? section of the menu).

Updating the market can be tricky, but I always find wiping data from Google Services Framework and (use app manager) Market (easier to use Titanium), and rebooting helps. Make sure you reboot before trying to use the Market...
[Nexus One Q&A, Help & Troubleshooting] silversurfer11:
I didn-t know about the Fix Permissions feature of ROM manager, I tried it and it work, I can now place the file on the system/app folder.

Thanks a lot!
[Wildfire Q&A, Help & Troubleshooting] phr3ak128:
The problem is we can't request ECCGETLAYOUT ioctl on mtd device because the value of ECCGETLAYOUT definition is differ in kernel and userspace programs.

First we could meet this bug when we run nandread:

cat /proc/version

Linux version 2.6.35.13-nFinity (dev@android) (gcc version 4.4.0 (GCC) ) #33 PREEMPT Sat Jul 16 20:24:01 CEST 2011

# nandread -d /dev/mtd/mtd3

nandread -d /dev/mtd/mtd3

failed get ecc layout for /dev/mtd/mtd3, Not a typewriter

We could see the value of ECCGETLAYOUT by inserting the following 'pr_info' line in to ioctl function in mtdchar.c:

static int mtd_ioctl(struct inode *inode, struct file *file,

u_int cmd, u_long arg)

{

struct mtd_file_info *mfi = file->private_data;

struct mtd_info *mtd = mfi->mtd;

void __user *argp = (void __user *)arg;

int ret = 0;

u_long size;

struct mtd_info_user info;

DEBUG(MTD_DEBUG_LEVEL0, "MTD_ioctl\n");

pr_info("mtd ioctl cmd: %x ECCGETLAYOUT: %X\n", cmd, ECCGETLAYOUT);

next we request ECCGETLAYOUT ioctl on the device and we will see this:

<6>[ 1086.088287] mtd ioctl cmd: 81484d11 ECCGETLAYOUT: 84484D11

Why differ the two value?
[Wildfire Q&A, Help & Troubleshooting] phr3ak128:
The cause is the struct nand_ecclayout changed in kernel.

see include/mtd/mtd-abi.h in kernel:

struct nand_ecclayout {

__u32 eccbytes;

__u32 eccpos[256];

__u32 oobavail;

struct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES];

};

and see in android sdk:

android-ndk-r6/platforms/android-9/arch-arm/usr/include/mtd/mtd-abi.h:

struct nand_ecclayout {

uint32_t eccbytes;

uint32_t eccpos[64];

uint32_t oobavail;

struct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES];

};
[Wildfire Q&A, Help & Troubleshooting] arco68:
The .32 kernel are using a value of 128, while the .35 kernel is using 256. Both are giving the error you describe, when I tested it. I took a look at a newer kernel source, and there seems to be some patches working around this. Particularly take a look at this one: http://android.git.kernel.org/?p=ke...it;h=cc26c3cd3d1cf40a07f2b19ac4c53d517bee52a5

I did some test patching in the .35 kernel, and there's no error running nandread now. I wonder if increasing eccpos size in gingerbreads bionic header will fix it too, so I've done that now, and are currently recompiling the whole rom.
[Wildfire Q&A, Help & Troubleshooting] arco68:
Increasing the value in bionics mtd-abi.h also fixed it. So I'm gonna try and submit a patch to gerrit for it.
[Wildfire Q&A, Help & Troubleshooting] phr3ak128:
ofcourse it's working, i tried already. where do you can submit this patch?
[Wildfire Q&A, Help & Troubleshooting] arco68:
http://review.cyanogenmod.com/#change,6775

I discovered afterwards, that the value in kernel and in bionic has to match, or else it will cause that error. So it's not as easy as I first thought, to just increase the value, since it will still cause that error on other devices using a value in the kernel that's not matching.
[HTC Sensation] jony013:
I got a great review between SGS2 and HTC Sensation. Guys you will love it. Thanks to the author.

Link:-

http://www.smartphonegurus.com/forums/topic/13554-mega-review-htc-sensation-v-samsung-galaxy-sii/
[HTC Sensation] pinhead:
This was a seriously in-depth review and the reviewer analysis seemed to do a great job. Thanks for the link.
[HTC Sensation] greengoldmello:
Good review. I wish I could test one out myself..
[HTC Sensation] Cammiesoul:
Wait what? This is new information. If it's true, then why the heck is that ROM on my phone? :mad:
[HTC Sensation] mobileusman:
Thanks, very thorough review.
[HTC Sensation] jrwingate6:
What a load of biased ****. Sorry Sensation brotherhood but your blind if you can't see the straight up favoritism towards the Sensation. In the categories where the GSII wins, he makes up some excuse like, "The GSII is faster because its running on a final release but HTC released the Sensation on a pre-release ROM." Ill be the first to say that I love my camera on my Sensation and that its better than my G2X but if you take the time to fiddle with some settings, the GSII camera is better. Especially during low light conditions.

I know most Sensation owners are going GaGa over this review but I'm not affraid to say it SUCKED. There is nothing I hate more than biased reviews. Especially when someone clearly wastes a **** load of there time to come to a false conclusion. Bottom line. Samsung is innovating with its hardware accelerated browsing and fast ass Exynos chip while HTC is releasing phones clearly not ready for mainstream use.
[HTC Sensation] BarryH_GEG:
+1

It's fine that he likes the Sensation better, other people do too. But if you're biased going in, don't pretend to be objective. To JR's point, it's very transparent. There were things that he originally stated about the SGS2 that weren't factual. The writer came back to the SGS2 forum and apologized because he posted a link there a couple of weeks ago and his inaccuracies were pointed out. I didn't reread the article to see if he updated it. If it were just one guy's opinion, and he declared that, fine. It would be like any of us sharing our personal opinions. But to set the comparison up as a detailed semi-professional test and reach some of the conclusions he did, not very credible. And with his constant interjection of his personal opinion, I wouldn't have found him or the article any more credible even if he deemed the SGS2 the winner.
[HTC Sensation] jrwingate6:
****, I'm a Sensation owner and didn't find it credible.
[HTC Sensation] GorillaPimp:
I have the Sensation now and not the SGS2. I would have read all that before release day in the US but I'm happy with my S4G and can't mess with that damn novel.

That review is from June which is probably why they said it was a pre-release ROM. It's probably a review unit they send all around.
[HTC Sensation] jrwingate6:
It still feels like a pre-release ROM. Does it not? Last time I checked, Sense is anything but smooth. I had to throw LP and ADW on the Sensation to make it feel like a dual core device.
[HTC Sensation] brusko1972:
My sensation feels smooth even before the ota update. I did come from a windows mobile.
[HTC Sensation] jony013:
Thank for your comments. For your better understanding HTC chip-set of 1.2 dual core and andreno 220 is far more better that SGS2's 1.2 dual core and 2008's Mali-400 chip-set. I used both the handsets and now using HTC Sensation after SGS2.

The main problem with htc is it's locked boot-loader and it's stock rom which is really not ready to use the full power.. The power is not equally distributed. Benchmark is not everything as sensation has issues with sense 3.0 and better pixels than the SGS2. Below is some link where you can understand the whole technical issues.

http://www.differencebetween.com/difference-between-mali-400mp-gpu-and-vs-adreno-220-gpu/

http://xdaforums.com/showthread.php?t=1050968

So, saying HTC is releasing phones clearly not ready for mainstream use is not true. SGS2 is good as well as the HTC Sensation sometimes sensation is better. When HTC unlocked its boot-loader we all will see. Stay tuned without any bad comments.