yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] Looki75:
Hello Chineel!

What you propose is not exactly working as it should:

1/ I installed the Busybox from the kernel (for the first time) -> still the issue

2/ The I updated (reinstalled) Droidwall as you suggest -> still the issue

But now there is a workaround (would have it worked before even updating busybox??? I don't know):

1/ Put the droidwall widget on the homescreen

2/ If droidwall is activated, then de-activate by clicking the widget

3/ Open droidwall, make the modifications you want in your filter, click "apply filters" (this is working without error)

4/ Exit droidwall and re-activate by clicking the widget

If you skip point 2/, then you will have the issue in point 3/!!

Still, it's not working as it should, so Dorimanx, please solve this issue!

Oh, and positive side effect of installing busybox: this removes the errors in recovery "E:Can't open /cache/recovery/log" and "last_log"!!! :) :) :)

Thanks
[HD2 Android NAND Development] jirka607:
No data

When i flashed 2.3 KErnel data was working normally now it just stopped working

i tried to flash 2.4 and still no data :(

Using Miuiandroid.com 1.11.18

Thanks for any help
[HD2 Android NAND Development] chineel:
yes I got it I was using it through widgets only and used to edit filters in text editor only so I was not facing any such issue. As I was not using it's graphical frontend I was not having such issue Thanks.

at my work place no linux and no adb connection to pc and phone so I can't get logcat at the time of error so no solution for the moment.
[HD2 Android NAND Development] maneken25:
Can someone give me advice which folder with update files to use for Sd card AOSP android build. ty in advance
[HD2 Android NAND Development] wheeliemonster:
+another 1 - Apps2SD not working for me with 2.4 (was fine with 2.2 and 2.3)
[HD2 Android NAND Development] Looki75:
By "Apps2SD" do you mean:

1/ The functionality of moving apps to the FAT32 SD like in CM7 ROMs?

2/ or the Apps2SD script which fool the system by redirecting apps and dalvik cache onto sd-ext (EXT partition - not FAT32 - that is physically located on the SD)?

I don't use what I describe in 1/.

I use the function described in 2/ and everything seem fine with Kernel 2.4

Regards
[HD2 Android NAND Development] wheeliemonster:
No I mean 2 - ext partition with apps installed there by default.

It's as described elsewhere in this thread. The .android_secure folder appears to be empty when viewing on the ROM (eg. terminal emulator) but when you mount via USB the contents show.

So it therefore only affects certain apps, not all...

Sent from my HD2
[HD2 Android NAND Development] themadproducer:
Wheelie Monster

This is what Looki wrote...

By "Apps2SD" do you mean:

1/ The functionality of moving apps to the FAT32 SD like in CM7 ROMs?

2/ or the Apps2SD script which fool the system by redirecting apps and dalvik cache onto sd-ext (EXT partition - not FAT32 - that is physically located on the SD)?

Now, you say you meant #1 (which is EXT3/4 partition....virtual extension of the internal memory which fools the system and only CERTAIN apps are capable of seeing the contents)

But then your description talks about the .android_secure folder which is on your FAT32 partition and is a different method altogether. Care to rephrase? :)

BTW, using Root Explorer and navigating to sd-ext/app, you would be able to see your apps installed to internal/ext3/4 virtual memory....if it is working.
[HD2 Android NAND Development] wheeliemonster:
I stand by what I wrote but will explain for clarity...

I have an EXT4 partition on my SD card aswell as the normal FAT32.

My apps install into the EXT4 partition by way of a symlinked /app folder. (10apps2sd script runs at boot in /etc/init.d/)

However, certain of those apps appear to write something into a folder named .android_secure on the FAT32 partition (presumably to form some sort of copy protection)

As I stated, viewing this .android_secure folder from the phone, using ES File Explorer or similar shows an empty folder.

However, if I mount the SD card (FAT32 partition) via USB and view that folder in Windows, I can see the contents - various .asec files relating to those apps which are now unusable within the build.

I presume that the .android_secure folder should be mounted and hasn't been...

EDIT: Actually now I'm wondering if it's something that goes on in the initrd.gz

EDIT2: Just flashed back to 2.3 and my apps are back - however, the .android_secure folder still appears empty from the phone - possibly this folder is a red herring - it just seemed to match the missing apps...

A df -h shows a few mount points, /mnt/secure/asec/<appname> so this maybe what's missing in 2.4...
[HD2 Android NAND Development] themadproducer:
In my experience, if I installed 100 apps, sometimes I would see maybe 2 games get installed to android.secure. Not what I wanted. I would then move them to PHONE MEMORY which is the EXT partition and they would be gone from android.secure.

I know....this does not explain why you can't see your android.secure contents via Es File Explorer. Is there any chance ES has settings to allow you to see HIDDEN FILES or something like that. I have a memory from months ago of someone with a similar issue. Or try an alternative viewer like Root Explorer just to rule that possibility out.
[HD2 Android NAND Development] Tak3r07:
What does the following point mean?

Default CPU frequency: 128-1382 MHz (for OC to 1.53,

the 1.38 is like 998!

4 steps down from max OC)

Is 1382 MHz as fast as 998 MHz or what?

Please explain somebody.
[HD2 Android NAND Development] themadproducer:
What he is saying.....correct me if I am wrong.....with this Over-Clockable Kernel... 998mhz is not really equal to actual 998mhz performance. If you want to get as high or maximum 998mhz, you need to run 1.38mhz as your max frequency or something like that. Confusing isn't it? But it works.

But my own understanding before reading this is, that to run at actual 998mhz max, you would need to go 4 steps higher than your actual desired max frequency....which would mean set it to 1152mhz to actually get 998mhz performance.

Can someone (eg Dorimanx) confirm/verify which one is correct?
[HD2 Android NAND Development] dorimanx:
i will check the ip tables.

i am working on something cool.

but its complicated, i also have not much time to work on kernel.

lots of work on my job, and home.

but i hope i will finish kernel 2.5 with all fixes and new stuff.

Sent from my HD2
[HD2 Android NAND Development] dorimanx:
its goes like that,

if you want to oc your cpu then go to max 1.53 or to be safe 1.49

if you dont want to oc your cpu

then with my kernel your non oc speed should be 1.38 = 998 on tytyng kernel.

max oc - 4 steps= non oc speed.

1150 is like 7xx so its too slow.

Sent from my HD2
[HD2 Android NAND Development] themadproducer:
Thx 4 taking the time to explain Dorimanx.

I was using 1382 myself anyway.
[HD2 Android NAND Development] D3LTA:
A2SD?

DorimanX

Is there a quick fix for the a2sd problems?

2.4 running great here, but can't seem to fix the a2sd issues.
[HD2 Android NAND Development] DennisvandePut:
A Long time ago i told dorimanx that the phonesignal got lost when screen goes to sleep. Tytung figured out that it was a problem with libhtc_ril.so. When you use the One which is in his Rom (dorimanx's might work too, haven't tried), then no lost of phone Connection.

I'm using a sense Rom.

Greetings and keep those kernelupdates coming.
[HD2 Android NAND Development] Howell:
Dorimanx said it is solved but we have to wait until new release and he is very busy for the moment.

So no quick fix for now. Dorimanx suggest to go back to 2.2 or 2.3.
[HD2 Android NAND Development] dethroneas:
Okay so then the actual mhz and set mhz would be like:

DM Kernel Mhz vs Actual Mhz

1.536.000 = 1.152.000

1.497.600 = 1.113.600

1.459.200 = 1.075.200

1.420.800 = 1.036.800

1.382.400 = 998.400

1.344.000 = 960.000

1.305.600 = 921.600

1.267.200 = 883.200

1.228.800 = 844.800

1.190.400 = 806.400

1.152.000 = 768.000

1.113.600 = 729.600

1.075.200 = 691.200

1.036.800 = 652.800

998.400 = 614.400

960.000 = 576.000

921.600 = 537.600

883.200 = 499.200

844.800 = 460.800

806.400 = 422.400

768.000 = 384.000

729.600 = 384.000

691.200 = 384.000

652.800 = 384.000

614.400 = 384.000

576.000 = 384.000

537.600 = 384.000

499.200 = 384.000

460.800 = 384.000

422.400 = 384.000

384.000 = 384.000

245.000 = 245.000

128.000 = 128.000

Am I right dorimanx?
[HD2 Android NAND Development] Tak3r07:
so if 1.38 = 0.998 on tytung

this means 1.53 (or 1.49) = 1.19 on tytung?

doesnt that enheat the device and consumes more battery? dont understand why a higher frequence should be like a lower on other kernel. Or is your kernel joking the OS so it displays higher than it really is?
[HD2 Android NAND Development] jcsy:
So on dorimanx kernel, I will use 1382 to make it as 998

So this is considered stock speed, and not over clocking, correct?

I was running 245- 998 and felt normal though, lol..

As for damaging CPU, 1382 should not be damaging anything right? My other HD 2 just had a CPU warranty recently and cost me a bomb
[HD2 Android NAND Development] Looki75:
If that is true, then I'm missing the point!!! :confused:

Why are we doing that?

Whey don't we just have this list:

1.152.000

1.113.600

1.075.200

1.036.800

998.400

960.000

921.600

883.200

844.800

806.400

768.000

729.600

691.200

652.800

614.400

576.000

537.600

499.200

460.800

422.400

384.000

245.000

128.000

Why are we trying to trick the system???
[HD2 Android NAND Development] jcsy:
Puzzled myself too
[HD2 Android NAND Development] themadproducer:
So, I bet that many of us were thinking that we were actually overclocked 50% above 998 but we were not. I have seen this elsewhere...with another kernel and/or rom a while back. But did Dx not mention that he still felt that 1536 was/felt faster than 1152 ???
[HD2 Android NAND Development] Rudyfastcat:
Thanx DM for the new Kernel -

Flashed and testing now

Sent from my HD2 powered by- Dorimanx ROM
[HD2 Android NAND Development] dorimanx:
the 1.53 is faster that 1.19 on standard kernel.

i have tested that many times.

to get slightly more power from cpu we need to scale it more, this also saved batt,

its not just trick, its different in code.

Sent from my HD2
[HD2 Android NAND Development] jcsy:
in 2.5 , ZRAM with Compcache 26%

inside Terminal Emulator, when I type su - and free , i get to see SWAP 0

and zram_stats, i dont see any application there

so , whats the common way to see whether 2.5 kernel was implemented correctly with ZRAM :) ?
[HD2 Android NAND Development] Looki75:
Same here.

Busybox 1.18.2 if it is related...
[HD2 Android NAND Development] iamcxa:
I'm using another rom but it seems like compcache doesn't enable?

try to type into adb

compcache start {your size}

and

zram_stats
[HD2 Android NAND Development] jolas:
+1 :confused:
[HD2 Android NAND Development] sprongebob:
What kernel is for ladyboo miui rom?
[HD2 Android NAND Development] iamcxa:
on 2.5 if enable zram correctly, type zram_stats and you'll see like this:

---------- Post added at 03:34 PM ---------- Previous post was at 03:30 PM ----------

@dorimanx ,

sorry about a strange question, I know BFS was disable after 2.2 but ... is that possible enable BFS by myself in adb or just some way like re-compile kernel?
[HD2 Android NAND Development] jolas:
Like jcsy and others, when I type zram_stats I don't see any other information. And in free, I get swap 0 0 0...
[HD2 Android NAND Development] jcsy:
anybody tried the game BLOOD & GLORY (moved to SD card) and it lags as hell =.=

that was after using 2.3 and 2.5 dorimanx. stock SEADER kernel from Hyperdroid didnt have such problems i believe
[HD2 Android NAND Development] iamcxa:
I know, try to type:

compcache start {the size you want, 100/64/10 etc}

then type to see,

zram_stats

wow you have two hd2! I don't have that game sorry.
[HD2 Android NAND Development] hherceg:
Does that means zram is active? Thx
[HD2 Android NAND Development] iamcxa:
yeah i think so!
[HD2 Android NAND Development] dorimanx:
YES it's working ok for YOU!
[HD2 Android NAND Development] dorimanx:
the multiplier is RAM size * 1024kb

so 128 * 1024 = 131072 KB = 13MB SWAP too low for any results.

The correct calculation is:

compcache start 128000

So 128000 * 1024 = 1310720 KB = 131MB swap!

i will post small patch for people that there ROM cant activate the scripts by auto...

in CM7 nightly / stable it's working like a clock :)

stay tune...
[HD2 Android NAND Development] themadproducer:
So far the 2.5 working excellent Dx.

Zram is working according to Terminal.

Is there a test you can recommend that would show the benefits from the perspective of a simple USER?

The Cache error messages are still showing up in CWM. (2 hd2's with v2.5)
[HD2 Android NAND Development] dorimanx:
Your SWAP is too small!!!

use 128000 in activation.

The BFS is kernel recompilation to use this type of scheduling and remove the CFS

it's cant be activated via ROM,

only by recompile the kernel with BFS ON and CFS OFF
[HD2 Android NAND Development] iamcxa:
yeah it working well on sense rom too! it very thanks for you're hard work!

ok i got that. I'm downloading your newest kernel from git, for try to add BFQ later.

---------- Post added at 06:25 PM ---------- Previous post was at 06:18 PM ----------

oh I don't notice I type a wrong size before, just typing it and looking it, i'll do that again and see what's the performance change.:p

and about the root access issue caused by BFS kernel , sorry for that but i think I need to ask ... what is that problem actually be caused? because the kernel that enable BFS are running very quickly in my own build, and no any root/su issue bring.
[HD2 Android NAND Development] dorimanx:
I want it to RUN also, but i get ROOT problems, not only me, all users!

And i cant find the F@#@ng problem.... sorry i just mad about it...

What kernel do you have?

=============

Some GLOBAL INFO FOR ALL..

If you want the ZRAM and it's not working after you installed via MENU

Then your ROM not support dynamic activation of this MOD!

You need to DOWNLOAD PATCH for 131MB ZRAM activation on boot.

Get it HERE or HERE (mirror)

If it's was working dynamically and you install the MOD any way and want to remove it!

Delete file /system/etc/init.d/131MBzram

I have added that on main PAGE under kernel install guide.
[HD2 Android NAND Development] Elmar1801:
I tried that but the result was:

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

$compcache start 128000

insmod: init_module '/system/lib/modules/zram.ko' failed (Operation not permitted)

/system/bin/compcache: cannot create /proc/sys/vm/drop_caches: permission denied

/system/bin/compcache: cannot create /proc/sys/vm/drop_caches: permission denied

/system/bin/compcache: cannot create /proc/sys/vm/swappiness: permission denied

$
[HD2 Android NAND Development] iamcxa:
you need type su first before doing this operation.
[HD2 Android NAND Development] dorimanx:
some how people always skip the instructions :)

to make ROM do stuff that only allowed for ROOT user

type SU

then your command :)

su = super user :)

Thanks!
[HD2 Android NAND Development] iamcxa:
ROOT problems is means can't get root permission? or some other thing? that's strange because in sense build doesn't have that.

yep i might can imagine that. I downloaded file from here:

https://gitorious.org/~dorimanx/linux-on-wince-htc/dorimanx-linux_on_wince_htc/trees/master

but be honest I don't understand how to do it, but i think i'll find it out.
[HD2 Android NAND Development] adamhonghong:
Dorimax recommend using 128000 right?

So it can achieve the first page "430+110*2.55=700mb ram"?
[HD2 Android NAND Development] wilderwind:
The best kernel i ever seen, works perfect. Excellent work, dorimanx!

MAGLDR 1.13, recovery 5/150/5, initrd.gz from your kernel, MIUI 1.11.11 http://miui.su, htc EU 512, CPU 1420MHz overclocked by SetCPU, SD-card 16GB class 8.
[HD2 Android NAND Development] dorimanx:
If you see that ZRAM active and you have 113MB zram swap

then no need to do any thing more...

if you dont have zram active, then you can use my STATIC 131MB swap PATCH

then you get more then 700MB...

but you loose the ability to control the zram, (on/off change size)
[HD2 Android NAND Development] dorimanx:
Cool, happy you like it :)
[HD2 Android NAND Development] Dunc001:
Mate the spec list in your OP makes me drool :p But when when when are you going to apply all your incredible kernel building wizardy to releasing your .35 kernel? I keep checking your cloned git for signs of life... :cool:
[HD2 Android NAND Development] Elmar1801:
"always skip" is not right but sometimes :p

Works but Phone gets laggy and after a restart i have to do it again
[HD2 Android NAND Development] dorimanx:
It's not easy as to say that :)

i have tried to clone the .35 and just compile and run, and it's BAD....

REBOOTS, things dont work...

lots of configs that i can use in my kernel, broken in .35

so it's huge work to do just to fix it...

and believe me or not, i am new at kernel building and code creating...

I am at stage of debugger, of things that working but cant compile against my kernel, so i have to adapt it... this i learned to do well :)

i am long way from creating code scripts and added them as my only!

or fixing this huge new kernel, to work with our old guy :)

So i hope for heavy guns devs to step in and help..

Then i can add my stuff to it when it at least stable..
[HD2 Android NAND Development] dorimanx:
install patch 131MB zram from main page..

laggy when ROM build the SWAP, after that all clear and fast..

I am officially starting to work on 2.6.35 kernel created till now by Marc1706

root@dorimanx-virtual-machine:/android-kernel# git clone git@github.com:dorimanx/cm-on-wince-htc.git

Cloning into cm-on-wince-htc...

Enter passphrase for key '/root/.ssh/id_rsa':

remote: Counting objects: 1641385, done.

remote: Compressing objects: 100% (279078/279078), done.

Receiving objects: 15% (246208/1641385), 143.92 MiB | 287 KiB/s

it's HUGE!!! 1.6Million files!!!

Damm.... i need help on this one :)
[HD2 Android NAND Development] dheerajk27:
Hi @dorimanx,

Thanks a ton for this super kernel. Really the most smooth one available at the moment.

Actually, I am new to the swap and all and jumped the gun, before you came up with your patch.

I am using Hyperdroid 5.5.2 ROM and thought of trying the ZRAM. After flashing your kernel and activating the compcache ram usage settings from cynogenmod settings, realized that nothing is happening (after reboot). I did some search on your High End ROM thread and saw the methods of activating SWAP and I did the same with your scripts available there on my EXT3 partition (swap of 250 MB). I further read in that thread and used the swapon command you mentioned there. Then I tried to test with "free" and "zram_stats" commands (after su) on terminal, I saw some counts there (not 0) for SWAP and ZRAM, but wasn't detailed like the given in screenshots here. But, the whole thing used to go off when I reboot the device and again had to run the swapon commands after booting to get them active.

Then I saw your patch here and flashed the same and saw everything working after boot (as per the screenshots given here). Now my only query is, is it fine to leave the orginal swapping thing I did in EXT partition? Is it going to help me anyway? (I had seen the swap count was set to 0 after booting, before flashing this patch). Should I remove it (swap partition created earlier in EXT), or leave it there (not sure whether it is working at all)? Again, after flashing your patch, I am getting the intended results mentioned here (for ZRAM). But, my only worry is whether the previous Swap I had created in EXT is going to help me at all, or should I remove it...

Hope, I am not taking your time much on this...

Thanks & Regards,
[HD2 Android NAND Development] jolas:
@dorimanx,

After installing your PATCH for 131MB ZRAM activation on boot, I finnaly got zram_stats to display some info :)

But, I noticed that everytime I look for zram_stats, nothing has been changing in the information.

In attached images, the plain one (without keyboad image) is the stats after opening and closing a lot of my applications and the image (with keyboard) is right after a fresh soft reset.

There are no differences regarding usage information in both cases...:confused:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Edit: to have the zram dynamically running, do I have to first install gscript or script manager from Android market?
[HD2 Android NAND Development] Looki75:
My experience could be useful to some of you...

So here it is.

At first I flashed Dx kernel with a customized initrd (the one from my ROM: TyphooN 3.7.0). With this, ZRAM was not working, no matter what I did!

So, as Dx kernel is 100% compatible with TyphooN, I flashed it without customized initrd and miracle! ZRAM was working right from the first time.

Bottom line: prefer the use of Dx kernel without customized initrd!

Cheers!
[HD2 Android NAND Development] jolas:
Thanks Looki75!

I did flashed kernel using my ROMs initrd, I will try using your way!:)
[HD2 Android NAND Development] dorimanx:
the swap that you have created is not active without starting it with swapon and path to file,

your rom will never use more than 50% of zram, the task killier will remove apps from ram, and free the zram also,

so best is to delete the file you made and clear the space.

only my high end rom can utilize 100% zram+ disk swap :-)

i dont have task killer on.

Sent from my HD2
[HD2 Android NAND Development] dorimanx:
system is working ok,

nothing more needed. when there will be need for more ram swap will grow.

Sent from my HD2
[HD2 Android NAND Development] dorimanx:
just install the patch then,

and use the original initrd.

but know this, my initrd was originaly from typhoon rom,

then i have added tweaks and corrections to it+ new logo, and walla dorimanx initrd :-)

Sent from my HD2
[HD2 Android NAND Development] contactwajeeh:
That is awesome to hear mate. Looking forward to hear from you on this soon....

Thanks

Wajee
[HD2 Android NAND Development] Looki75:
I like your tweaks!

And I LOVE your logo!!!!

... and I am crazy about your kernel!!!

Seriously - GREAT work!!!
[HD2 Android NAND Development] mwakious:
hi dorimanx!!once aagain greta job!!

i have your kernel in my beta sensse 3.5 release and activated the zram...the phone flyes!!but it gets very hot...:eek:is it normal?
[HD2 Android NAND Development] themadproducer:
Dorimanx,

Will the Zram have a BENEFIT for those of use using the Typhoon rom?

I realize that Typhoon's rom has it's OS based TASK KILLER whereas your high end rom does NOT.

What sort of benefit should be expect. (a scenario perhaps)
[HD2 Android NAND Development] jcsy:
So those with zram working, performance has improved a great deal?

EDIT :

I can confirm that gaming performance on Blood & Glory (25MB+75MB) download

Dorimanx 2.3, 2.5 (with ZRAM) = epicly terrible

Seader R9 (from Hyperdroid) = decently smooth

now comes my question, why only in this game ( bad coding ) or is it kernel related?

other games, both kernels deliver smooth gaming though

EDIT 2 :

how do you remove the ZRAM patch, by just deleting the 131 MB and flashing different kernel ?
[HD2 Android NAND Development] jolas:
Using kernel's initrd (like Looki75 said), solved the problem of Zram not dynamically starting.

Now, it starts automatically :-)

But I have a question: like previous screenshots post #1199, why zram_stats count only 1 write and 0 reads? If it works all the time, why the number of reads-writes does not increase?

Sent from my HTC HD2
[HD2 Android NAND Development] Looki75:
2 solutions:

* If you have a CM7 ROM, you just need to deactivate compcache in CM Settings

* If you have another ROM which manages compcache dynamically, you need to deactivate the option (don't know where?)

* Other cases: you need to delete the script related to ZRAM in /system/etc/init.d/

Cheers!
[HD2 Android NAND Development] themadproducer:
Deleted...read next post.