yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] Daekin:
no, you would not see more RAM...probably a little less :p but effective size will be larger.

zram is only compression technology, the whole mechanism is to combine it with swap feature resulting into high speed swap file located in ram.

I will do some example math here (actual numbers can vary, this is only to demonstrate what it dieas):

zram swap disabled: total RAM = 500MB, swap size = 0MB, total memory for apps (including swap) =

500MB

zram swap enabled: total RAM = 400MB, zram size = 100MB + compression = 1:2 => swap size = 200MB, total memory for apps (including swap) =

600MB

and since swap is in memory it is not slower even if app is swapped (only a little overhead caused by compression but resulting overall system performance gain is still good)

if you do not see any swap partitions you have old broken activation script...
[HD2 Android NAND Development] dexterxx:
Please post how-to disable that script - I have same issue about month - talking about it in urdroid topic, can't solve that.

edit:

Aw... probably I'm not using it. So forget about this post.
[HD2 Android NAND Development] carl1961:
delete any SuperCharger scripts from your sdcard (exp: V6_SuperCharger_for_Android-update8.sh.txt)
[HD2 Android NAND Development] Cheech1976:
I would look at some kind of tweaks either in the scripts or in build.prop, I´m guessing one of the tweaks installed with the supercharger script broke something down.

Right now I am trying the Supercharger script RC5.2 and this one seems to work flawless again, the problems I had were with RC6.1.
[HD2 Android NAND Development] Ultraboss:
Thanks for your answer, that's what I was thinking about the size of the ram, but I wanted to be sure.

I'm using the zRam activation script modified by marc :

I think my problem is Busybox related because when I type the last cmd "swapon /dev/block/zram0 -p 20 >/dev/null 2>&1", the console displays the list of busybox commands (swapon is inclued !)

I have busybox 1.19.0, maybe I have to update it ??

EDIT :

I've found a fix :

I have to invoke the swapon cmd with the busybox cmd !!

"busybox swapon /dev/block/zram0 -p 20 >/dev/null 2>&1" works fine.

I see my swap partition with the "free" cmd now.

EDIT2 :

I've found a file "swapon" in /system/bin witch contains "busybox"...

I've deleted this file and script working fine now !
[HD2 Android NAND Development] essi_baba:
Hi,senior marc

In my rom after turn on BT and off it 60mla battery darining.reboot needed. I'm use rom xxxpachaxxx GBLEO6.

Please fix high 60mla battery drain.

Thanks
[HD2 Android NAND Development] Cheech1976:
I use BT with my car stereo and my Jaybird headset, never had any problems with battery drain afterwards.

But, i never turn it off anyway, since it doesn´t drain any battery at all, so why don´t you just leave it turned on?
[HD2 Android NAND Development] essi_baba:
I'm test BT again and find problem, if turn on/off. With setting menu or use quick setting menu no any problem for high battery draining ...

But if use other application like bluetooht dicoverable 1.2.apk (I don't test other application) for easy turn on/off/visible, after turn off with this applications, have high battery draining.

frends your can fix this problem in application?

https://www.box.net/shared/pmsgjcacb9n21hvck7cl
[HD2 Android NAND Development] :
remote: Counting objects: 13, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 7 (delta 6), reused 7 (delta 6)
Unpacking objects: 100% (7/7), done.
From https://github.com/marc1706/desire_kernel_35
f41c51a..5df5e3d master -> origin/master
Merge made by recursive.
drivers/media/video/msm/msm_camera.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)

Kernel source updated :D Hopefully can fix 720 cam in sense roms
[HD2 Android NAND Development] chrisrj28:
Thanks for the info
[HD2 Android NAND Development] essi_baba:
Thank you very mach,hop fix camera driver and fix 720 rec.

Good work

Tik tak tik tak tik tak ;-)
[HD2 Android NAND Development] :
I am not sure, but we will know when marc posts :)

He is working on it afaik, because the kernel does not compile correctly
[HD2 Android NAND Development] liulibin:
kernel source have been updated，compile correctly now，thanks marc . but cam rec is as same as before.
[HD2 Android NAND Development] marc1706:
I didn't expect it to be better after that. The issue we are having with video recording is related to the libs we are using, especially the OMX libs:

http://xdaforums.com/showpost.php?p=23000860&postcount=714
[HD2 Android NAND Development] Daekin:
OK...but do you at least know what libs are working best?

at least to have 800x480 resolution videos smooth (right now they are recorded something about 15FPS, only 320x240 and lower are at full speed 30FPS)?
[HD2 Android NAND Development] mike2nl:
One hint... Have you tested the new vplayer?
[HD2 Android NAND Development] Daekin:
I was not talking about playing videos...all playback is good....

but you cannot record high quality videos!

current limitations are:

320x240 and lower @ 30FPS

640x480,800x480 @ 15FPS

1280x720 @ 2FPS

whicxh means that anything higher that 320x240 is stuttering
[HD2 Android NAND Development] :
Oh.. my bad for misinformation.

Would the omx libs from the latest desire rom with 2.1 sense work?
[HD2 Android NAND Development] marc1706:
Possibly but I didn't try that yet. The weird thing I noticed the other day is that one of the sense 3.5 desire ROMs uses msm7x30 as product name in build.prop, which is weird. The desire is a QSD8x50 device exactly like the LEO.

I'm currently trying to get the .38 kernel to boot. :rolleyes:
[HD2 Android NAND Development] liulibin:
that is great!
[HD2 Android NAND Development] Daekin:
great:) if you find out working solution, please tell us also which libs you used - you know: different ROM ports can contain different vido libs...so that we know what libs work best ;)
[HD2 Android NAND Development] Ultraboss:
I'm using zram for few days now, but I'm experiencing some random reboot (once a day).

Maybe a conflict with governors ?

I'm using OC daemon, ondemand for wake and ondemandX for sleep.

Any ideas of the cause ???
[HD2 Android NAND Development] Nemesis1278:
This is interesting....I wonder if there is/was a similar issue with the video card libs and if this idea was/could be applied in the graphics fix? Thats if it fixes the 720p recording.
[HD2 Android NAND Development] Ultraboss:
I've disabled the zram script but my phone is still rebooting...

I'm investigating on an "auto sleep" function in power setting, but before never happens

EDIT : auto sleep just disable network connection when screen is off...
[HD2 Android NAND Development] liulibin:
i tested the kernel compiled with current code, menu popup slight slowly when touch the screen, is that normal phenomenons? or something wrong with compiling?
[HD2 Android NAND Development] Ultraboss:
Hi, try disabling all animations.
[HD2 Android NAND Development] essi_baba:
F5 F5 F5 F5 F5 F5 F5 :D

senior mark when new update release ?
[HD2 Android NAND Development] carl1961:
@marc1706

I think you need to add

delete_recursive("/system/lib/modules"); in your auto installer like you did in the older installers

before installing modules, because those coming from a different kernel may mix modules and cause errors and therefore blame your kernel for the troubles ;)

for those who want to change it ( I know marc1706 knows what to do)

ui_print("Copying Kernel Modules...");
[COLOR="Red"]delete_recursive("/system/lib/modules");[/COLOR]
package_extract_dir("mod/ules","/system/lib/modules");
package_extract_file("mod/01_modules","/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
ui_print("Finish...");
unmount("/system");
[HD2 Android NAND Development] essi_baba:
Hi senior marc

In my rom with zram script in initd folder sometime have reboot,and after del this zram script no any reboot, but with or without zram script sometime my phone shutdowned.please check zram and shutdown problem

And plase give me ,when relase new update.i'm every day many check this thread :-(

Sent from my Desire HD
[HD2 Android NAND Development] Tigermoto:
Check with your ROM developer, had this Kernel with ZRAM since 0.1.7 and on from there, never had a single freeze or shutdown.

It's not the kernel.....
[HD2 Android NAND Development] liulibin:
I had this problem too, when I disabled zram by deleting script , everything was ok
[HD2 Android NAND Development] sonblack:
I saw in the file install.sh with: "rm -rf /system/lib/modules/*".

Maybe it's enough
[HD2 Android NAND Development] carl1961:
I did not see that, that would have done it, I was looking in the updater.script
[HD2 Android NAND Development] essi_baba:
Hi

I'm check and report this problem to my ROM developer and he re check this problem in the rom.no problem this rom ,becouse if flash other kernel in my rom no any like problem in my rom.

some user in some page previous reported random reboot or some time shutdowned phone with/without zram.i think some bug exist in zram or other parts in kernel but all other parts work grate.

1 question : how to fix freeze system after install app???

Sorry for my poor english :-)

Sent from my Desire HD
[HD2 Android NAND Development] essi_baba:
Please give me (file) best xxramscript for normal user (speed,stable,battery life) for sense 2.1 rom.

Thanks

Sent from my Desire HD
[HD2 Android NAND Development] carl1961:
Search for ultimateRAMscript-sense
[HD2 Android NAND Development] Ultraboss:
We are 3 in this case so. But disabling zram script doesn't change anything for me. Maybe it's a power issue.

Guys, what governor do you use ? Do you use OC daemon with andrev_oc ??

Marc, did you change the vdd_levels_havs ??
[HD2 Android NAND Development] essi_baba:
I don't use oc,but i'm test this section with/without oc and governor/smartass v2

Sent from my Desire HD
[HD2 Android NAND Development] marc1706:
I'm sorry but my crystal ball is returning a 404 error right now. :rolleyes:

If you have a reboot get a dmesg log. Then I can take a look at that log.
[HD2 Android NAND Development] essi_baba:
Thanks for answer

I dont time for reboot, sometime in titanium bk or sometime after see my phone in the my bag,,,its shoutdowned.

Please answer my question:

1.how to really disable zram? What is it?

2.Do you any update your kernel for fix camcoder ? Or other stuff?

3.how to fix freeze phone after install app?

4.in my phone sometime drop network (GPRS) (send or recive dont work perfectly)

5.when im in the street and under sun light wallk ,and auto brighness increase the lcd light ,my phone very lagy and after going to shadow auto brighness decrease lcd brighness all systen smooth and no any problem please recheck tish section.

Im wait fo answer. Senior marc; THANK YOU

Sent from my Desire HD
[HD2 Android NAND Development] Ultraboss:
Hi Marc, I've maked 3 dmesg log after 3 different reboots.

I don't see any trace of reboot into each log...

http://bit.ly/w0kGb1

http://bit.ly/xJLCqT

http://bit.ly/xBxO1n

Thanks for your help.
[HD2 Android NAND Development] prisonking101:
is the 0.1.9 zip for magldr or clk? which one plz? thanks :)
[HD2 Android NAND Development] chrisrj28:
Its for either, just flash the zip and it will auto detect which you have and flash accordingly.
[HD2 Android NAND Development] alex.odell.2011:
I see this is beta, any chance of a final? Great work anyway
[HD2 Android NAND Development] marc1706:
First post has been updated with a new version.

@alex.odell.2011: Once I feel like calling it stable. ;)
[HD2 Android NAND Development] Ray2210:
hi, could you provide other download link

Because, i can't download it in my country

THX
[HD2 Android NAND Development] mlkjuggalo:
+ 1 same issue here in the US :(

edit @Marc1706 Thanks for the new link in OP works like a charm :D
[HD2 Android NAND Development] orderme:
Hi,

Thanks for new Version. What exactly do these changes/improvements mean? I can see there is something relating CPU and its timing. Also concerning data and protocol.

Especially the change on camera? Thank you Marc!
[HD2 Android NAND Development] marc1706:
The changes should slightly improve the camera, cpu performance and rmnet data connection. The EU wifi channels should also work now.

I have added a mirror link for the users that can't download from the main download link.
[HD2 Android NAND Development] sab3r:
Thats great! Thank You very much :) I will test it soon with TBD rom.
[HD2 Android NAND Development] tzolosch:
i've tried the v0.2.0 kernel on GBLeo R6, and i have no mobile data. i go back to 0.1.8

---edit---

i have magldr with cwm

-cache partition wiped

-dalvik cache wiped

-kernel installed

-booted

-rebooted

and i have no mobile data...

what made i wrong?
[HD2 Android NAND Development] Bluecupra:
Currently I am on version 0.1.9. Can anyone post the best way to update the kernel?

Do you have to clear dalvik? And then flash the zip file through CWR?
[HD2 Android NAND Development] SagaPer:
Clear Cache and Dalvik cache, flash kernel, reboot. Wait for some minutes...
[HD2 Android NAND Development] alex.odell.2011:
Yes,

Recommended to clear cache also

:D

Select chose a zip to flash, then flash
[HD2 Android NAND Development] Bluecupra:
Great, thanks for the quick reply's. Will update kernel as soon as possible :)
[HD2 Android NAND Development] zboq:
I tried 0.2.0 on TBD 3.6 Stock and after first boot i had to pull battery out because rom was unresponsive. Booted again and rom worked but when I tried to enable wifi I got an error. Mobile data works though. When back to 0.1.9 for now.

Ok, so i gave it another shot, cleared cache, dalvik cache, flashed kernel and now rom works fine, even WIFI :-/. Dunno what happened with first flash.
[HD2 Android NAND Development] Sneakyghost:
Am on tbd 3.6 themed and works perfect. thanks for good work done. Data works well too now by the looks of it. But set up just done an hour ago.

Sent from my TBD Runny 3.6 themed
[HD2 Android NAND Development] bojanbl:
ICS 4.0.3 Sense 4.0

Marc, can your kernel or modified kernel help here or can you help kinghunki to make this thing work ;)

THANK YOU ANYWAY for making things better here :D
[HD2 Android NAND Development] maviay001:
EU wifi channels 13-14? How we do? I installed new kernel 0.2.0. but still not working.
[HD2 Android NAND Development] marc1706:
I think we'll have more issues like that since there is no kernel source code for the new sense 3.6 yet.

As far as I can see this is currently audio related though I'm not quite sure what the exact problem is. It is possible though that the audio libs are for qdsp6v2 chips and that won't work with the QSD8250 which our Leo is using.

Make sure your ROM doesn't have those channels disabled in build.prop.
[HD2 Android NAND Development] alex.odell.2011:
On TBD stock 3.6 and WiFi is fine here :/
[HD2 Android NAND Development] carl1961:
like here in the US those or not allowed, so maybe those who area has it legal it may work, I read only japan can have channel 14, I know USA is 1 - 11

NOTE - The specifics of the frequency range and how channels are allocated

is regulated by each country. Usually constrained in part by how each country allocates

radio spectrum to various services. For example, in the 2.4Ghz band Japan has

implemented 1 to 14 wireless channels, Europe #1-#13 and the FCC in the US decided

with 1 to 11 wireless channels all within the same band. DD-WRT allows the use of all

channels; this doesn't mean your client wireless adapter can support channels outside

of its licensed region.

in other words your wireless router is your limit

http://www.dd-wrt.com/wiki/index.php/Advanced_wireless_settings#Wireless_Channel
[HD2 Android NAND Development] imagin112:
For TBD themed rom v3.6 works great, now camera is little smooth working.
[HD2 Android NAND Development] darkony:
the lag is the same as the first version of 0.1.1
[HD2 Android NAND Development] sandymac:
V 0.1.2 Test Results

Just downloaded and tested on Dansta's ROM as follows:

1. wifi - working

2. data - working

3. bluetooth - working

4. GPS - working

5. FM Radio - working

6. Speed - looking good!

Looks like real progress, Marc. Well done. :D
[HD2 Android NAND Development] Dunc001:
I can confirm this - repacked the cLK zip with boot.img made for TBD and all seems good. No lag other than a little when unlocking phone. Just about to head home so I'll test BT and GPS and let you know...
[HD2 Android NAND Development] dddrko:
Sbryan12144's kernel install zip package is for both maldgr and clk, and works stable and fast with all sense builds. This kernel is big step back :(
[HD2 Android NAND Development] Stephen:
Getting 5ma stand by with wifi on :D that is madness for a sense rom!!! Nice job Marc!
[HD2 Android NAND Development] Dizzle:
I don't get what you're problem is :confused:

Sent from my Desire HD2
[HD2 Android NAND Development] pereira6david:
My phone is fast and responsive with this last kernel. Better than Sbryan12144's.
[HD2 Android NAND Development] light_n_roses:
Hi marc1706 !

I have seen that you are continuing sbryan's work on the kernel. As I have installed sbryan rom on nand with v5 version of the kernel I have some suggestion for you.

The fact of having no glitches and hardware acceleration is good but the kernel consume too much ram rispect to others kernel. Also speed was kind of fluctuating so you should take a look at this because it's something fundamental for daily use experience.

Also I would like to ask you to extend haret support for this kernel! Both boxmax and me would like to have it on SD side !!
[HD2 Android NAND Development] legolas93:
Testing NOW
[HD2 Android NAND Development] dalerka:
Marc I have prob then unpacking boot.img.

i'm on win7, any suggestions?
[HD2 Android NAND Development] boxmax:
Here Tweak For BFQ

Copy to system/etc/init.d & Chmod 777
[HD2 Android NAND Development] Dizzle:
Smartassv2

Running the 0.1.2 release on the smartassv2 setting and Sense seems to fly. Really impressive, haven't used Smartass for a while as it seemed slower compared to on demand and interactive. On this kernel the smartassv2 is much better.
[HD2 Android NAND Development] NRGZ28:
Who cares about RAM ? What is this... Windows Mobile ? Android manages RAM differently and more efficiently. Stop worrying about RAM!:p
[HD2 Android NAND Development] light_n_roses:
honestly I don't care specifically about ram, in the way that I don't want an exact number of free ram...I want speed and having a lot of process in background bring low free ram and consequently low speed...anyway if you can bring high speed and fluidity with low free ram I'm ok with that :D !
[HD2 Android NAND Development] x3nophobia:
working great with dung runny 3.5. thanks :D:D:D
[HD2 Android NAND Development] juergenn:
New kernel is really fast, but still no unique bt Mac?!

Why? I think this is fixed?

Gesendet von meinem HTC HD2 mit Tapatalk
[HD2 Android NAND Development] marc1706:
@juergenn: I'll take another look at it. ;)
[HD2 Android NAND Development] Dunc001:
Marc, I am still having major lag when unlocking phone, especially at first unlock after reboot - Sense took around a minute to load up after second reboot after flashing. It speeds up when the phone has been on for a while, but as I say there is definite lag on each unlock. Also it pretty much froze after each time I downloaded an update from the Market. On the plus side I have data back! But for me on TBD with cLK 1k is still much faster and more stable than any of the 0.1.x compiles. I am running it on Smartassv2 with max set to 1113 in SetCPU. Anything I can check for you?
[HD2 Android NAND Development] mlkjuggalo:
what does this tweak do ? should it be opened or Copied to system/etc/init.d & Chmod 777? also i don't see a system/etc/init.d & Chmod 777 what i see when i look is system/etc/init.d is this the same ?

thanks for any info:)
[HD2 Android NAND Development] Dunc001:
It means copy the file into the system/etc/init.d folder and then manually set the permissions to match the rest of the files in there
[HD2 Android NAND Development] Sneakyghost:
yeah well marc,

the biggest improvement i could notice is the speed of the camera reacting to the shutter. It feels way more natural. Before there seemed to be a slight delay. But as usual: it can also be subjective perception as i had read your camera related change log before i even tried it :p although the delay between flash and capture is still there. Pictures tend to be too dark when using flash.

But the overall experience is rather good. I also feel that Data connects more reliable.
[HD2 Android NAND Development] maviay001:
How do I enable wireless channels 1-13 in my build.prop.

Send from my HTC X315e using xda premium
[HD2 Android NAND Development] marc1706:
This should allow 13 channels:

ro.wifi.channels=13
[HD2 Android NAND Development] maviay001:
Unfortunately not. ro.wifi.channels=13 in my build.prop. but does not works.

I can use channels 1-13 when installed miui rom. Why can't I use this rom?
[HD2 Android NAND Development] maviay001:
http://xdaforums.com/showthread.php?t=1067944

If you look in this issue, corrected sqlite3 file. But I don't know how to do it.
[HD2 Android NAND Development] Nemesis1278:
I didn't see the sqlite3 file in the section that it states so it could be that the file is missing or it could mean that it was never used in our case. I am not sure what it writes to the file but if i'm reading the linux part right it just writes the following info to the file if so you could probably just create a new file and copy paste the info into there and then either push it to the phone or copy to sdcard and then to proper place on phone. Which is in system/bin and be sure to name the file sqlite3.

This is mostly speculation and guess work so I would wait on someone else to confirm.

/data/data/com.android.providers.settings/databases/settings.db "INSERT INTO secure (name, value) VALUES ('wifi_country_code', 'EU');"
[HD2 Android NAND Development] maviay001:
Sqlite3 file in system/xbin.
[HD2 Android NAND Development] vanity:
Hi Marc.

I come from the 1.8 kernel cause the 1.9 didn't work for me. :confused:

Updated yesterday to 2.0 :D

I love it. Solved quite a few thing for me and it is so fast and smooth.

Thank you for all your hard work and time spent.
[HD2 Android NAND Development] mike2nl:
@marc:

The rom update with 0.2.0 is done and it is working perfect for me.

WiFi, GPS and Mobile Data (switched off after testing because my contract).

Looks like that the new rom acts with faster response on different things.

Very well done marc. Thank You for your work.
[HD2 Android NAND Development] Nemesis1278:
I did not find it in that location either. Also since the fix aims to fix in the system/bin folder then it would not work for you. Unless you can modify the .bat file.
[HD2 Android NAND Development] dude0316:
Working great on Miui v4 beta 12 ics except for camera thanks a million Marc. Cheers
[HD2 Android NAND Development] Bluecupra:
I have updated Kernel 0.1.9 to the latest version 0.2.0 and now after unlocking the phone is "slugish". After some seconds the phone responds as normal.

Therefor I believe this has something to do with the clock frequency after unlock. Could anyone explain how I can check this and or to change the governor settings? Is this done through terminal emulation?
[HD2 Android NAND Development] Tigermoto:
Certain HD2's do not like running at the minimum available frequency in this kernel, try upping your minimum frequency by one step and try again.

You may be pleasantly surprised.
[HD2 Android NAND Development] Bluecupra:
I downloaded SetCPU from the Play Store and have changed the min frequency from 245 MHz to 384 MHz. When unlocking the phone the lag has gone.
[HD2 Android NAND Development] Tigermoto:
Using SetCPU or a program like that.

I'm on my phone so can't see your signature so I don't know what ROM you're on. If you aren't overclocking then this may not be the issue.