yashsingh1/xdaforums huggingface dataset:
[Streak 5 Android Development] arryhariyadi:
thanks... will download and test.

:thumbup:

thanks for your answer. i will try to flash rel3 first, and see how its going. :) im kinda new here. i wish i know which boot.img should i flash and what should i use to it, fasboot or recovery.
[Streak 5 Android Development] Lexmazter:
Just flash the rel3 for MIUI from the first post via recovery and you're done :)
[Streak 5 Android Development] _n0p_:
If you already flashed it, it won't get screenshots back. You'll need to take boot.img and /system/lib/modules/dhd.ko from kernel zip archive, place them in corresponding place of your MIUI ROM and reflash the ROM.

I still don't know what part of install script breaks that screenshot functions.
[Streak 5 Android Development] arryhariyadi:
lucky i am, i did nandroid backup before. so.. i will restore and do step above, try again. Thanks guys, fast answer. Keep up good work. :thumbup::beer:
[Streak 5 Android Development] arryhariyadi:
if you guys don't mind it, let me ask one more question, what does break wireless thetering? is this because "ro.mot.eri.losalert.delay=1000" at my build.prop?. i set it wrong, or what? already try using apps from play store to keep wifi alife but seems doesn't work. thanks again. :)
[Streak 5 Android Development] Lexmazter:
Try using 366 Baseband without any WiFi fixes or tweaks, that should do the trick :)
[Streak 5 Android Development] arryhariyadi:
lot people saying it, i read in the forum. :) the problem may come is blinking led,..... but with kernel from _n0p_ it wont blink, right?
[Streak 5 Android Development] ammujee:
Yes, with latest rel3 kernel it won't blink. Try it!
[Streak 5 Android Development] arryhariyadi:
ok, thanks a lot :) . its over midnight here in indonesia. will do it tomorrow. hav great day :beer:
[Streak 5 Android Development] nadastry:
Is the advanced routing activated in the latest release?
[Streak 5 Android Development] _n0p_:
I don't think so, but as i'm finishing work on DSC v1.7, i'll update all kernel releases in a couple of days.
[Streak 5 Android Development] _n0p_:
U25 test release.

Phoenix U25

--

For CM 7.2:

http://n0p.8bit.fm/streak/DSC_Phoenix_CMU25.zip

Mirror @ khoacoi:

http://www.littlemaruko.com/Nopteam/DSC_Phoenix_CMU25.zip

--

For MIUI 2.x.x:

http://n0p.8bit.fm/streak/DSC_Phoenix_MIUIU25.zip

Mirror @ khoacoi:

http://www.littlemaruko.com/Nopteam/DSC_Phoenix_MIUIU25.zip
[Streak 5 Android Development] Vennesch:
What changes did you make? Same as in DSC 1.7?
[Streak 5 Android Development] _n0p_:
I keep track on changes in the Phoenix Universal release post:

http://xdaforums.com/showpost.php?p=25291276&postcount=3812
[Streak 5 Android Development] arryhariyadi:
just flashed. overall this improve my device performance, smooth, responsive. just a question, can i flash any baseband with this awesome kernel ?

---------- Post added at 04:49 PM ---------- Previous post was at 04:32 PM ----------

just flashed 366 baseband. seem its okay. :D
[Streak 5 Android Development] Adi Shakthi:
It works fine in both miui and cm7.2.....( not tested in nithins miui...) i think would have added some more governors....
[Streak 5 Android Development] _n0p_:
Define "unlocked kernel".
[Streak 5 Android Development] Adi Shakthi:
—--—---------
[Streak 5 Android Development] _n0p_:
Just as I thought - you don't understand your question yourself.
[Streak 5 Android Development] Adi Shakthi:
Thanx br
[Streak 5 Android Development] _n0p_:
Again, I can't make any sense of your post.

Either provide definition of "unlocked kernel" or stop posting jibberish.
[Streak 5 Android Development] asianftw:
lol seriously.... unlocked kernel?? WTF

Sent from my Dell Streak
[Streak 5 Android Development] Strephon Alkhalikoi:
*chuckles*...that's a new one to me. But perhaps in his ravings he meant to ask whether the Streak has a locked bootloader? The answer to that is "no".
[Streak 5 Android Development] nitin1978:
Hi Nop,

You are kindly requested to provide swap support on miui and cm kernels.

Thanks in advance!

Regards,

Nitin
[Streak 5 Android Development] _n0p_:
OK, but just no future questions about why it's so slow with swap on :)
[Streak 5 Android Development] deysmacro:
swap on like vram? dont swap are more faster inside internal sd?
[Streak 5 Android Development] _n0p_:
With class 10 speed about 10MBps and Android doing fine with background heap management, make your choice.

--

Swap-enabled kernels attached, had to zip dhd.ko.

--

Kernel changes:

Optional UX impovement. Kick CPU on device resume for faster wakeup. Reported to cause instability, so check yourself if it works ok for you.

Added timeout and power mode control parameters to wifi driver - dhd_pm_active and dhd_pm_suspended.

Rewritten power button dejitter code.

Switched to Linaro toolchain (thanks abauer and hunderteins!) and added compile-time optimizations.

Better Mugen Power percent calculation.

Configurable voltage levels. (DSC CPU Voltage configuration)

Disabled baseband version check.

Used ext4 driver for ext2/3 filesystems.

Advanced routing enabled.

Added SmartassV2.

Conservative governor hacks - faster response, less lag.

NoSync hack made optional.

Swap.

Conservative hacks:​

Faster responce:

echo 100000 > /sys/devices/system/cpu/cpu0/cpufreq/conservative/sampling_rate

Faster jump to:

echo 576000 > /sys/devices/system/cpu/cpu0/cpufreq/conservative/ramp_freq

Voltage table mod:​

echo 1000,1000,1000,1000,1050,1150,1300,1300,1400,1425,1475,1525,1550 > /sys/module/acpuclock_8x50/parameters/vdd_table

Disable NoSync:​

echo 0 > /sys/module/earlysuspend/parameters/nosync
echo 0 > /sys/module/wakelock/parameters/nosync
echo 0 > /sys/module/suspend/parameters/nosync

WiFi:​

/sys/module/dhd/parameters/dhd_watchdog_ms
/sys/module/dhd/parameters/dhd_pm_active
/sys/module/dhd/parameters/dhd_pm_suspended
[Streak 5 Android Development] nitin1978:
Dear nop,

Appreciate ur dedication n support towards streak. What we would do without u.

Thanks alot!

Nitin
[Streak 5 Android Development] _n0p_:
I just worked on some fixes and improvements.

We should be thankful to Olleh, who had to hire two Indian programmers to port Gingerbread and sell stock leftovers :)

And to hPa, fo sure, for working CyanogenMod device layer.
[Streak 5 Android Development] nitin1978:
Dear nop,

Thank you once again! m feeling very happy for getting such wonderful kernel.

Testing for 2 hrs. Miui got dramatically faster smoother n less leggy. Though I hv not tested swap as of now. Not faced any single problem. Will let u know if there any issue.

Nitin
[Streak 5 Android Development] Vennesch:
Hi Nop. Thanks for all your efforts and great support! Two questions arose from you post above:

Is the zipfile flashable or do we have to use fastboot commands to push the desired boot.img, or both?

Are these a test kernels (or did you forget to add them in the OP)?
[Streak 5 Android Development] _n0p_:
You can flash the kernel the way you want (i personally use mtd-utils for that), zip contains only dhd.ko (wifi module) because I couldn't attach it in original form.

Yes, I consider this kernels as experimental.

--

If you plan to play with voltage - take note that first value is actually unused (it's for deep sleep and in this state power management differ).
[Streak 5 Android Development] djmax81:
Can v add extended sd Layout on ramdisk..with innersd 8gb+:thumbup:
[Streak 5 Android Development] arryhariyadi:
hello n0p, i love your kernel because it's make my miui smooth and less lag, but your zip usually break the screenshot in miui, this version working well on my miui, plus now i can flash your kernel without breaking screenshot :D i simply copy your boot.img and dhd.ko to other zip i found somewhere. Thanks n0p.
[Streak 5 Android Development] DorkyDev:
Is this newer than 2.6.35.14-DSC-Team-Phoenix version? I'm looking for the newest kernel for gingerbread/lxdroid 0.2, to see if it fixes some of my problems.
[Streak 5 Android Development] _n0p_:
Which problems? Every kernel-related problem (except fully solving wifi sleep) is fixed a long time ago.
[Streak 5 Android Development] Liwais:
Whether Sergey it is impossible to lay out for MIUI a kernel with a regular frequency of 998
[Streak 5 Android Development] DorkyDev:
On fresh reboot it takes a really time to make an outgoing call, that's even with a lot of programs closed... I can receive incoming calls no problem.
[Streak 5 Android Development] _n0p_:
Definitely not the kernel.
[Streak 5 Android Development] DorkyDev:
What do ya think it could be apps at boot?
[Streak 5 Android Development] _n0p_:
Don't really know, in DSC I gave the phone process more priority. Might work for you too.
[Streak 5 Android Development] iu1nguoi:
what is this for? is this related to swap-on something?

I am using PCM7. what is the lastest kernel can I update to? CM-Rel3, or CMU25, or this one?
[Streak 5 Android Development] _n0p_:
Not only swap. It also contains the latest changes for that moment.
[Streak 5 Android Development] Vennesch:
I have 2.6.35.14-DSC-Team-Phoenix n0p@u28 installed as kernel and zero issues so thumbs up! Is this the latest one?

Keep up the good work:good:
[Streak 5 Android Development] _n0p_:
U29 is current now, but just a question - has *anyone* enabled swap, used and liked it?
[Streak 5 Android Development] (InsertNameHere):
I have just put together the rom i have to use with your kernel, can you explain how i enable swap?

Where do i get U29 for MIUI?

thanks great work as always.
[Streak 5 Android Development] _n0p_:
Attached U29 MIUI+Swap

But cannot test myself, so it's better to keep flashable zip for prev. kernel handy.

--

For swap - you'll need to repartition inner sd (i wonder if same applies to ext one) so you'll have one partition for swap.

And mkswap $PARTITION and swapon (busybox has those)
[Streak 5 Android Development] (InsertNameHere):
Thanks, currrently i have totally trashed my innersd, and need help getting it back and working again, as soon as i am there, i will include a swap partition and test for you.
[Streak 5 Android Development] (InsertNameHere):
Well i have the kernel installed, however i have not got swapfile working yet, i am figuring out how to do it.

While researching the swapfile i came accross these items that may improve performance, quite possibly much better than having a swapfile.

Compcache and samepage merging, is it possible for you to enable the kernel so we can take advantage of these?
[Streak 5 Android Development] djmax81:
U need to have ramzswap.ko in system>lib>module to run compache from cm stettings n it work fine n for to check handle compache from bin folder open as text n follow dir from it :)

N0p @ which module u used for swap in this kernel??? But
[Streak 5 Android Development] _n0p_:
Cache compression is not supported in kernel, we got next to zero cache size anyway.

KSM requires special mark on mem pages AND very slow and hard operation to perform. No go too.

About ram swap and such.

Log long time ago there was solutions for Windows for that - QEMM for example.

Again, no gain here.

Hardware mod would be nice, I wonder if it's possible to solder a chip with higher capacity.
[Streak 5 Android Development] Vennesch:
That would be awesome! But I doubt it...
[Streak 5 Android Development] djmax81:
Use lzo_compress.ko n lzo_decompress.ko modules it works
[Streak 5 Android Development] (InsertNameHere):
Still not got swap working, but it seems a bit faster than the U25 kernel i was using before, one thing i have noticed is Smartass V2 is not in the governor list.
[Streak 5 Android Development] djmax81:
@ (insertnamehere) Dude .plzz.!!!! Stop miss leading people ...swap n compache work just fine ...by updaten my modules both work n just swap work ...default u28 n u29 ...cheers n here r screenshots with swapper2 app...

N0p thanx ....n please check prev posts...about modules i reffered
[Streak 5 Android Development] _n0p_:
Interesting.

Didn't think about setting a loop mount for swap :)

--

(InsertNameHere)

Sorry for Smartass - removed it from my own k(c)onfig and build miui one using it.

Do you really need it - i found it (and it's also reported) to be really unstable.
[Streak 5 Android Development] (InsertNameHere):
How the f*ck am i misleading people?

Because i do not know how to set sh*t up does not mean i am misleading people.

Swapper 2 installed. Testing now.

@NOp, i did use it last time with U25 and it was working ok, i have had random restarts, but thats it, maybe once every few days the phone would restart, but i cannot say whether that is your kernel with SmartassV2 enabled or what, could be the rom i am using, or more likely a combination of the rom and the fact my Streak is only half alive... this is probably the most likely explanation.

Best schedulers out there, SmartassV2 and SmoothassV2 i think.
[Streak 5 Android Development] djmax81:
Dude....??? Stop abusing....n use faul language its ....a developer blog not ur freakn House :thumbdown: ....if u can not make swap work then stop asking or postn crap ...and asking for Modules ...get it your self ...then ...with this behavior...of urs ... And just check prev post...n my screenshots...would be nice:D no time for Noobs like u lol
[Streak 5 Android Development] _n0p_:
I personally don't like how SmartassV2 behaves.

--

More - you don't need a third party tool to enable swap.

128M swap on internal sd:

In terminal emulator:

----

su

dd if=/dev/zero of=/data/swap.file count=131072 bs=1024

losetup /dev/block/loop7 /data/swap.file

mkswap /dev/block/loop7

swapon /dev/block/loop7

----

You won't need to recreate the file with dd in the future.

And be prepared for some lags.
[Streak 5 Android Development] _n0p_:
Please stop flaming here.

inb4 reply ask yourself what had you personally created for Streak scene.
[Streak 5 Android Development] (InsertNameHere):
Noob? Your obviously some leet script kiddie who actually cannot do math.

SmartAssV2 is not needed can easily manage without. Have tried Swapper 2 and it makes a big difference to the speed with which the launcher comes back after doing many tasks in MIUI, so it does work, now as to whether this could be achieved some other way, other than swap i do not know, but a small 32mb swap file does seem to work.
[Streak 5 Android Development] _n0p_:
That's the size i'm testing now.

Seems to add "that little more memory pretty please i need it" without adding noticable lag (and card wear-off, might be better to recreate it on each start for that)

--

regarding memory chip - we have a combined one - 512 NAND + 512 DDR. Didn't find a bigger one so far.

By spec it even has internal cache for nand.
[Streak 5 Android Development] (InsertNameHere):
I am going to try using swapper 2 to place a 32mb swapfile on the internal sd and test that, then i may as well try the su commands to make it permanent for now, its quite a nice improvement in device responsiveness.

One question i do not know the answer to, will performance be higher using a swapfile or a seperate swap partition?

Your doing good work here.
[Streak 5 Android Development] _n0p_:
Well, just for start - i don't like the idea for swap on mobile at all :) I think it will result in system lagging more and more on long run.

Partition would be faster (only because a couple of logial operations will apply), but file one is better controlled.

You may create S10mkswap (name as example) in init.d:

#!/system/bin/sh
# n0p - enable swap for
losetup /dev/block/loop7 /data/swap.file
mkswap /dev/block/loop7
swapon /dev/block/loop7
[Streak 5 Android Development] (InsertNameHere):
I think so far i see better performance from a swapfile on the external sd, probably because there is a cache setup for that card.

I think if someone has a large internal sd card, like i have a 8gb card, then setting up a dedicated swap partition makes more sense, it can be small afterall.

I will leave it set with a swapfile on internal sd for now, use the device for a while and report back.

For anyone looking for a little more responsiveness from MIUI, especially from the default launcher, this is your ticket guys, after i unlock my device i am straight back on my homescreen, no backgorund and wait 2 seconds or more for the homescreen to come back.
[Streak 5 Android Development] _n0p_:
More or less final init.s script version.

+ recreates file on system start with zero overhead (even no writes are actually made)

#!/system/bin/sh
# n0p - enable swap
busybox dd if=/dev/zero of=/data/swap.file count=0 bs=1 seek=32M
losetup /dev/block/loop7 /data/swap.file
mkswap /dev/block/loop7
swapon /dev/block/loop7

I will test how device works over weekend and if everything is fine, publish a test update for DSC.
[Streak 5 Android Development] (InsertNameHere):
I placed this script file in the init.d folder, upon restart i ran the $ free -m command in console, no swapfile is created. Of coarse, this is something i have done wrong obviously. Perhaps swappiness command?

If i remove script from init.d, and use swapper 2 to create the swapfile, the same command shows a swapfile has been created.
[Streak 5 Android Development] _n0p_:
Works for me.

Try issuing commands one by one in term emu or check for Windows line breaks.
[Streak 5 Android Development] djmax81:
Try this workaround:

swapoff /dev/block/loop7;

dd if=/dev/zero of=/data/swap.img bs=1024 count=38000;

mount -o remount,rw /data;

losetup /dev/block/loop7 /data/swap.img;

mkswap /dev/block/loop7;

swapon /dev/block/loop7;

Coz u need mount data as rw ....1st :D
[Streak 5 Android Development] (InsertNameHere):
:highfive:

There you go, your a genius, see, i so want to understand the scripts better, i am not a novice at script language by the way, but as with all script, you need to know the syntax, and whats involved, i know script more from a Network Device point of view, you know like cisco IOS or Alliedware or 3com or Busybox.

I cannot try this till sunday earliest i am afraid, i might get a chance on the train tomorrow, we will see.

I never meant to stir you up into a noob flamer man.... i am not a noob, by the way, i have had a Streak since August 2011 and bave been trying to keep it alive ever since. I currently hobble along tryin to keep going with the wrong rom choice. but as i cannot change AMSS and DSP1 anymore, i am screwed. My PDMI port is broke. Thanks to come, when i get some tomorrow.
[Streak 5 Android Development] _n0p_:
/data and /cache are mounted RW right from start. No need to remount it.

Your own script proves it - you run dd before remount :)
[Streak 5 Android Development] djmax81:
Yeah .yeah....N0p ....:what: what ever

---------- Post added at 07:13 PM ---------- Previous post was at 07:06 PM ----------

It still works ...though its looped
[Streak 5 Android Development] _n0p_:
Again, you don't need the remount command.

And if it works it only proves it.

So you main statement - "need to mount /data as rw first" is invalid.
[Streak 5 Android Development] nitin1978:
Thanks nop for showing your magic wand on miui and cm7....
[Streak 5 Android Development] Agent5150:
Does this kernel fixes the proximity sensor issue during calls? ie screen is lit but does not respond to touch.
[Streak 5 Android Development] _n0p_:
I'm pretty sure proximity sensor patch included in kernel should fix it.
[Streak 5 Android Development] TheManii:
I havnt looked at the MIUI kernel one yet, but why do you use both

install-recovery.sh and init.streak.post_boot.sh?

As you've stated streak post boot is reenabled, why not empty out install recovery and not use that?

I assume they're both execed with the same privs.
[Streak 5 Android Development] _n0p_:
Fun thing is that (at least I almost sure) install-recovery.sh didn't actually execute on at least mdpi CM7.

For example, it should set CPU in conservative mode, but it stays at boot-time performance mode.

I left in it vsync module loading (hPa's changes) for future references.
[Streak 5 Android Development] TheManii:
I'm in the process of installing it and tweaking it to suit my tastes.

We'll see what happens.

Depending on what happens, I may modify the scripts when I merge them into the CM7 refresh package, it wont contain any actual changes. At most it will shuffle the scripts around and organize them/add boilerplate code to make them match the stock roms more. (I'm a bit OCD when it comes to keeping it near 'stock', which stock here meaning Dell stock or AOSP/CM7.x stock :D)

I'm willing to maintain the changes if you're willing to make any future kernels suitable for CM7.

If you wish for the kernel to be merged unmodified I can do that too and just keep my changes personal.
[Streak 5 Android Development] _n0p_:
Not that I actually care, but I think it would be good to use the post boot script we all used to :), I mean init.streak.post_boot.sh

More, it'd be good to keep volume gain tool, as we had a lot of "too loud speaker" or "too low bt volume" complains.
[Streak 5 Android Development] TheManii:
streak post boot works of course, I can confirm that it works as the stuff I tossed into it stayed on.

I know you're not ready to commit to CM7 yet, but I might as well make you aware of this 'bug':

your kernel doesnt support cmsettings -> performence -> cpusettings -> min/max cpu freq,

it's a dialog box but it's not being populated. I'm guessing the kernel has to export them to use that dialog.
[Streak 5 Android Development] TheManii:
After having it installed an hour and a half it seems to have better battery life then the stock CM kernel.

I believe I would recommend it if you use CM7, still need to use it longer to draw a real conclusion though.
[Streak 5 Android Development] menting:
the camera seems to not be able to take pictures with this kernel on CM7.
[Streak 5 Android Development] lordmorphous:
Works for me on CM7...
[Streak 5 Android Development] menting:
i rebooted and it works now.. strange why it suddenly didn't work just then
[Streak 5 Android Development] TheManii:
5% batt used on standby from 7:30h since last charge (and it was mostly on standby the whole time).

Wifi obeys sleep policy now, at least on my device it's still a bit slower to sleep wake then I like*

I would definitely recommend installing this over the stock bundled CM kernel, it's much better then the bundled kernel.

The stock 407 kernel + stock 407 rom still seem to have better battery life, but it needs more then a couple hours of testing to confirm if that's truely the case.

*This is either due to an unrelated issue (Ie it affects every rom I've used) or due to the battery gauge not being very accurate.
[Streak 5 Android Development] _n0p_:
Well, it's basically same Phoenix kernel that used as "stock" but with latest hacks added.
[Streak 5 Android Development] sbdolphine:
I encounter the same problem. Camera works first but suddenly unable to use it.

This problem solved after reboot. If this problem happens again, I'll post it here.
[Streak 5 Android Development] Dr Nicky:
LED notification

I'm using the MIUI version with MIUI Streak 2.3.23 (Build: 203230) and it's works perfect (touch wood). Just one observation and question.

The Observation is that I had to reboot the phone twice before all the widgets loaded/become available (I'm using Launcher EX).

The question is, with regards to the LED notification. Should they be flashing or permanently illuminated (when activated)
[Streak 5 Android Development] sinan33:
Sergei thank you for the great work as always you do.

I have tested Hpa patched kernel and phoenix kernel overclock performance with antutu benchmark,the points are 3066 with the hpa patced kernel at 2476 MHz

2800 point with new phoenix kernel at 1267 MHz.

Phoenix kernel works very stable and it doesn't have touch screen issue.

Thanks to DSC team.
[Streak 5 Android Development] bluhound:
After a couple hours of testing, I got my first WiFi freeze. Disabling and re-enabling WiFi does not work either. Had to reboot the phone for it work again.
[Streak 5 Android Development] sinan33:
Set wifi.supplicant_scan_interval=15 this will fix the wifi freeze.

When the phone wakes; in a couple of seconds the wifi will wake.
[Streak 5 Android Development] LittleNinja:
What is the difference between DSC Gain and DSPmanager ?

Can i uninstall one of these 2, as they seem to do the same thing ?

JB