yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic Android Development] blizard80:
the file is here:

/sys/module/lowmemorykiller/parameters/minfree

need root to see and edit it.

i have no conclusion yet...

using default now...
[myTouch 3G, Magic Android Development] biictorr:
Low memory reboots are extremely frustrating. Couldn't take it on newest release so I went back to 0411 nightly but its just barely better. Great rom but Ill be going back to cronos til this is resolved.
[myTouch 3G, Magic Android Development] ntphuong:
In the minifree file, here is information:

2048, 3072,4096,6144,7168,8192

So now I try to change to your information.

Let see what happend?
[myTouch 3G, Magic Android Development] carz12:
Ok. That last update didn't work so well for many. I have a kernel and rom update to post after some testing.

Also I have found that seo recovery didn't wipe system you have to use fastboot erase system -w or bad things happen if the rom's are different. I found out today while working on dietgingerbread, I had on su issue before wiping system using fastboot
[myTouch 3G, Magic Android Development] Ntadeusz:
How is your health?
[myTouch 3G, Magic Android Development] ntphuong:
Yeah, I don't know why I always get issue (SU, android setup) with flashing new ROM but with your conclusion, I know. I am using Seo recovery.

How about the memory issue? Is there any update to fix this, carz???

I have been using new ROM for last few days, very lag
[myTouch 3G, Magic Android Development] Cliff Edge:
I also experience some major slowdowns, especially after some time of inactivity. Hope new version will fix that.
[myTouch 3G, Magic Android Development] Sleeepy2:
Noticed the Seo Recovery didn't wipe system while trying to do mtd. Any other suggestions for recovery? Looking for one that wipes system ;-) and can browse folders for flashing (I can't stand stuff on the root, so messy)
[myTouch 3G, Magic Android Development] dk75:
I've had no problem with wipe... ever.

Recovery in my sig.
[myTouch 3G, Magic Android Development] Sleeepy2:
does your recovery allow you to search folders for the zips? or root only?
[myTouch 3G, Magic Android Development] MMartins:
the bug of the low frequencies when sleeping still not solved?

i have the rc and my battery won't last more than 15h (3g always on) and this is not enough for me =/
[myTouch 3G, Magic Android Development] alex_canada:
Is anyone having a problem with Facebook 1.5.3 on this ROM?

Mine always crashes if I try to go to any of the icons on the main page like Messages or Profile...

I tried re-installing the app and clearing the Dalvik cache unsuccessfully.
[myTouch 3G, Magic Android Development] dk75:
No, sorry, root only
[myTouch 3G, Magic Android Development] liderzre:
same problem +1
[myTouch 3G, Magic Android Development] asharekh:
thanks a lot for your hard work :)
[myTouch 3G, Magic Android Development] fr3quency:
Hey carz, which one do you suggest? Your dietginger or the CM7 port? ;)
[myTouch 3G, Magic Android Development] carz12:
Well I got Diet all updated and working, i didn't realize it was so much quicker than this rom, I also have an updated CM7 but have not tested it enough because of using DietGb.

I'll post it here for you guys to test until I update the OP

some of the optimizations I made in the rom didn't work with my kernel, only for the older .29 kernel in the hero roms I was looking at.

CM7-04232011

for custom mtd flash this after, I'm not making a separate rom any more, I made CM7 not bind to cache/download anymore, it fixes the market issue for good.

DGB-boot-v1.5.8-Custom-MTD.zip
[myTouch 3G, Magic Android Development] andrebeat:
I've been using the CM7 final since it came out and I've had no problem at all. It's the best ROM my Magic has ever seen :) Are you implying that the latest DietGB is faster than the CM7 final? I'll have to try it out :p
[myTouch 3G, Magic Android Development] carz12:
Yes it is, but I haven't tried the new kernel on cm7 yet, so we will see, since starting work on diet again I haven't been on cm except to test.

Edit: Also I'm stumped as to why usb tethering works fine in dgb but not in cm7
[myTouch 3G, Magic Android Development] carz12:
Ok. I updated the OP with the new compile and kernel.
[myTouch 3G, Magic Android Development] ntphuong:
What is new in your new kernel, carz?
[myTouch 3G, Magic Android Development] carz12:
I updated the way the axi bus changes clock and the acpuclock tables
[myTouch 3G, Magic Android Development] windyboy:
cyanogenmod.com/blog/cyanogenmod-7-0-1-update-release

CM 7.0.1 update :D
[myTouch 3G, Magic Android Development] blizard80:
http://www.cyanogenmod.com/blog/cyanogenmod-7-0-2-released-oops

Hope you can bring us this :)

Sent from my HTC Magic
[myTouch 3G, Magic Android Development] Cliff Edge:
Hope for nonwipe update, I wiped everything today, formated sd card to have pure, ultra clean install to eliminate reboots. ;) I'm tired of wiping :D
[myTouch 3G, Magic Android Development] Unkjcr:
Hi,

I'm an user of this ROM since day one, but with this latest combo it´s almost impossible to bare. I've set the CPU min to 352Mhz and i still get that annoying white and black flashing screen on wake. I haven't tried to flash only the ROM, but i guess the problem is in new Kernel.. I hope you fix this as soon as you can, because in my opinion this is the best Magic's ROM so far.

Thanks :)
[myTouch 3G, Magic Android Development] Sleeepy2:
umm you don't have screen on animations turned on do you?

Settings > CyanogenMod Settings > Display.
[myTouch 3G, Magic Android Development] Unkjcr:
I didn´t check this, but i used the default settings. I only changed the min CPU from 245 to 352Mhz. You don´t have this issue?
[myTouch 3G, Magic Android Development] drbobb:
Haven't tried this ROM for a while. With the current version, my phone lags dreadfully. I'll see whether it can be tweaked to perform reasonably. I had to look beyond GBRider_cronos because of excessive battery drain; Diet GB didn't work out for me b/c of constant DIS, in spite of trying several different kernels.

BTW I don't think ROM Manager should be in this ROM, AFAIK on 6.35 sapphire it's useless at best.

EDIT: yep, DIS strikes here, too. I give up, giant_rider's ROM is the only 6.35 GB that doesn't seem to suffer from this plague.
[myTouch 3G, Magic Android Development] theraider:
I've been experiencing constant DIS with this ROM and the new kernel. Tried everything and nothing. Until I tried to flash the previous kernel and it seemed to resolve the issue.
[myTouch 3G, Magic Android Development] tymonn:
"I used google to save settings and apps before wiping and then used it to restore everything, works now on mtd also"

Sorry for being a noob but that restore settings and apps, is that something hidden in the settings? when i install a rom it asks if i want the backup but it never restores anything when I install another ROM
[myTouch 3G, Magic Android Development] carz12:
Are you guys using a custom mtd or just stock? I haven't flashed a stock one for a while, I'll try it now.

The lag thing is strange because I've only had it once , it was because of not wiping (with fastboot). I've been on this rom for 2 days now without rebooting, no screen wake issue, good battery.

also Giant_riders rom uses my kernel so I don't know whats up.

Anyone have logcat or dmesg? something is using up the cpu I need to see what.

What partitions are on your sd card? I run with 1gig ext3 or ext4, 32 of swap and the rest fat, I have not tried out this rom without it.

I'll do some testing tonight.
[myTouch 3G, Magic Android Development] ginoyang:
I had same DIS with 0423 ROM and new kernel, but after I erase all system and flash only ROM (I guess that should be old kernel) and everything work like charm. I am still watching the battery life with my daily use. Carz, this is really a great ROM.
[myTouch 3G, Magic Android Development] carz12:
I just booted to fastboot

flashed a new recovery to get get rid of the custom mtd

fastboot erase system -w

booted to recovery

wiped all

installed rom

installed gapps

booted to android screen

waited until cm logo was loaded at top left

pressed android

pressed menu/wireless

disabled data (im at 98% of my limit and have 14 days to go)

pressed sign in and waited until it offered to let me set up wifi

logged into google

yes to backup and restore

booted to home screen and waited until sync icon came and went

all apps restored

no lag, no reboots, fast

So it isn't a non mtd issue.
[myTouch 3G, Magic Android Development] ntphuong:
Check the Carz's GB ROM with 710+10ram kernel.

I think no DIS. Faster than GBRider
[myTouch 3G, Magic Android Development] Cliff Edge:
well I have 512 on ext3 (btw is it used? I've checked the contents and nothing's there..) and 32mb swap...

I noticed I have lags when the network is weak and sync icon appears. On wifi it's ok. I'm going back to a bigger city today, with good 3G signal and I will check if there are slowdowns and freezes.

BTW. I had similar issue with Sync icon on Smoki 2.1
[myTouch 3G, Magic Android Development] carz12:
It's slow for me also when sync icon is on at first boot, its downloading and installing all my apps, it's why I wait until it's done before doing anything, besides until it's done I don't have all the apps I want anyways.

The ext is used if you flash a custom mtd, cache is there
[myTouch 3G, Magic Android Development] drbobb:
I used custom mtd on this rom, and tried both the default kernel and the 710+10, with no luck. Enabling swap (I use a swapfile on sd-ext created by my own script) reduced the lag somewhat, but DIS issue remained.

BTW I always wipe all in fastboot when switching to a different ROM.
[myTouch 3G, Magic Android Development] trivita:
still have this lock screen issue (with the latest version)

weird though, if i plug in usb cable, turn on logcat, the problem disappeared.

but during daily use, i have to press buttons multiple times to turn on the screen.

:(
[myTouch 3G, Magic Android Development] pajaSRB:
Same here...Rly great job Carz12 no lag no FC and even games on emulators work w/o lags so everything is flawless.And its not fast is fastest :D
[myTouch 3G, Magic Android Development] biictorr:
Is flashing super wipe the same as fastboot system erase? I no longer have sdk on my computer..
[myTouch 3G, Magic Android Development] blizard80:
fastboot system erase -w

erases all cache, data and system

i think super wipe also delete's folder .android_secure in sd_card because that folder is where apps in sd_card are.
[myTouch 3G, Magic Android Development] tera89:
i always bypass the welcome to android ... it is just same ??
[myTouch 3G, Magic Android Development] alex_canada:
Hey Carz,

I did the same think you did for the non-MTD ROM and I have pretty bad issues, like apps restored partially functioning and disappearing. On top of that if it happens that I reboot the phone I end up with a bootloop until I delete Dalvik cache.

Please try to stay a bit longer on that ROM and let's see if you hit any of these problems because all looked good at first but started to fall apart later.

PS: I always do a fastboot full wipe and user wipe in recovery
[myTouch 3G, Magic Android Development] robertyanta:
do i have to change my recovery to flash this rom?, if i have to, wich one do u suggest me, carz o seo recovery ??
[myTouch 3G, Magic Android Development] Unkjcr:
If your recovery is the one in your sig, you don´t have to change it. But if you want to change, you can always try the 1.7.0.1 from RA or seo's 2.0.0. I think you can find them in GBRider Cronos thread. :)
[myTouch 3G, Magic Android Development] robertyanta:
thanks, but my my doubt is because carz said: I use RA-magic+v1.7.0.1 and Seo's v2, RA's hero recovery on sapphire does not work
[myTouch 3G, Magic Android Development] Unkjcr:
He was talking about the 1.7.0H RA recovery that works only with the old radio. But in my opinion you should try to upgrade your recovery. The one you are using is outdated. :)
[myTouch 3G, Magic Android Development] pchtc:
Actually

he was reffering to the SEO recovery

for some reason its not wiping all

this is why as a workaround he is he says to go to fast woot and wipe system
[myTouch 3G, Magic Android Development] Unkjcr:
I know that! And that's not the problem here... "Robertyanta" has the RA 1.6.2H recovery and he was asking if he should upgrade his recovery or not. And by experience, and carz already said it here, the hero recovery (RA 1.7.0H) doesn't work in the new radio. No one mentioned the seo recovery wiping problem in this case...
[myTouch 3G, Magic Android Development] ginoyang:
I am using seo recovery and always flash superwipe or fastboot erase system to do the full wipe job, that should less some weir problem.
[myTouch 3G, Magic Android Development] robertyanta:
so guys i noticed that i have to change my recovery, and now my question is: what is the difference between recovery-RA-magic-v1.7.0.1 and recovery-RA-magic+-v2.0.0.1-seo and wich one is the right choice ?
[myTouch 3G, Magic Android Development] blizard80:
dont know the difference...

but 1.7.0.1 works...

2.0.0.1 has some problems...
[myTouch 3G, Magic Android Development] Sleeepy2:
SEO 2 works fine. It allows you to search folders on your sd card for the files to flash. The only problem is that it doesn't wipe system, so you can use SuperWipe or fastboot erase.
[myTouch 3G, Magic Android Development] Cliff Edge:
Still got slowdowns, even on better 3G signal. Wipe was identical to your's in the post, carz. :\

BTW. Facebook app crashes and does not work well.
[myTouch 3G, Magic Android Development] pchtc:
the problem with facebook is not this rom

1.5.3 facebook has issues on prety much any custom rom

we are waiting for a new release

in the meantime you can install 1.5.2 which will roll it back

this will clear up your issues with FB
[myTouch 3G, Magic Android Development] drbobb:
Maybe it's the facebook app that's got issues, recently it started crashing on giant_rider's ROM too.
[myTouch 3G, Magic Android Development] Unkjcr:
Latest facebook version as problems.. Try 1.5.2. :)
[myTouch 3G, Magic Android Development] carz12:
Thanks for the facebook headsup guys, I don't use it so I had no idea.

It seems this latest 2.3.3 is so different than the last release that wiping the system is a must, it's the same for cm7 also.
[myTouch 3G, Magic Android Development] Unkjcr:
Carz, do you known already why the new kernel is messing with the latest release?
[myTouch 3G, Magic Android Development] carz12:
The one in the rom or the last kernel posted? both work for me, I can post some others to try out.
[myTouch 3G, Magic Android Development] Unkjcr:
Well, Sunday (04-24) i downloaded both new kernel and new ROM. I flashed both and i couldn't wake the phone from sleep. And i was using min CPU at 352Mhz. I wiped everything and tried to flash only the ROM and the problem vanished. So i guess the problem was in the new kernel.. I don't known if you updated the kernel in the OP since then. Which kernel do you recommend? :)
[myTouch 3G, Magic Android Development] carz12:
has anyone tried the old kernel on this rom? I'll do it later if not.
[myTouch 3G, Magic Android Development] Unkjcr:
By old kernel you mean which one? The one that comes built in the ROM?
[myTouch 3G, Magic Android Development] sirceoj:
DIS and ROM experience

First off CARZ, thanks for your work and diligence to the Magic...really appreciate it.

Second, I've been using your latest CM7 with the new kernel for a couple of days now. I suffer from DIS. I can also confirm that plugged in (USB or wall charger) it does not occur. And, DIS is really a misnomer. I have a pin on the lockscreen, and, if I do it right, I can unlock the phone by pressing in the appropriate locations (the screen is still black). I don't know if it worked but when I press power/hang up the phone momentarily shows my home screen and then locks (with the screen on). The screen stays on and I can then unlock the phone and it proceeds as normal.

I've tried default settings, overclocked (anything over 614 and I get random reboots) higher minimums, etc.

I now am on your updated CM with default kernel. No problem so far but will install GAPPS and test further.

Thanks again!

from a fellow Edmontonian.

PS I tried Diet GB and also had DIS; a lot worse in my experience.
[myTouch 3G, Magic Android Development] sirceoj:
Confirmed that the update "update-cm-CyanogenCARZ-7-04232011-3-6355Sapphire-signed" with built-in "default" kernel does not suffer DIS for me. ROM isn't as snappy but I'll keep testing.
[myTouch 3G, Magic Android Development] ginoyang:
For anyone who need facebook 1.5.2 ~~~
[myTouch 3G, Magic Android Development] ginoyang:
I am also using the ver.0423 with built-in kernel and apply Custom MTD by 140 3, since 0424 until now everything is fine except 2~3 times memory low to about 4M and lag. I did install Auto Killer Memory Optimizer and set optimum and check the minfree parameter already set it correct. But the memory low situation still occur.

Yesterday, I change the CPU setting to Max 652 and phone become random reboot or die. After change back to 614, everything become normal~~~~ Is there anyone same with me? Look like my phone can't oc over 614 or system will unstable.:confused:
[myTouch 3G, Magic Android Development] drbobb:
When my phone goes into DIS state I tried plugging in usb and using adb, but the phone is not detected. So likely the android system really is dead at that point - or at least the adb daemon on the phone is.
[myTouch 3G, Magic Android Development] ginoyang:
When I am using my stereo bluetooth headset(SE ds200) to hear mp3, it will disconnected after answered call need to re-connect.
[myTouch 3G, Magic Android Development] robertyanta:
so, guys u are talking about diferents oc kernels, my questions are: wich kernel is by default in the rom ?? and where can i find the others ??
[myTouch 3G, Magic Android Development] carz12:
So the without flashing the new kernel it's fine, yes they are different, did you do the full wipe before the first attempt?
[myTouch 3G, Magic Android Development] blizard80:
i'm using rom only... not updated new kernel... and i dont have DIS.
[myTouch 3G, Magic Android Development] trivita:
bumping this myself.

after reflash latest rom without cm-.34-04242011-signed.zip.

the problem disappeared.

cm-.34-04242011-signed.zip is causing the lock screen problem.
[myTouch 3G, Magic Android Development] Unkjcr:
Yes. I always do clean installs. Even when they are not necessary. And i do the wiping by flashing superwipe and wipe dalvik-cache in recovery. :)
[myTouch 3G, Magic Android Development] snailmale:
Hmm with regard to the auto-backup and restore of applications from your google account, how do you guys do it? I've checked the backup and restore button but it doesn't seem to restore even after synching is completed. must you sign in with the first sign-in screen for this to work?

Because I typically skip this, since the APN that is automatically selected is wrong for my network, and I need to change that before signing in. Or will it work on Wifi?
[myTouch 3G, Magic Android Development] robertyanta:
guys i decided to install the rom after a couple of days reading, so as far as i know its better flash it without de update(cm-.34-04242011-signed.zip)... is it true ??
[myTouch 3G, Magic Android Development] Cliff Edge:
So damn, I have new kernel. Is there a way to revert to base kernel without wiping everything?...

Next slowdown issue: someone calls me, keyboard backlight is on, ringtone is ringing, but the screen is black..
[myTouch 3G, Magic Android Development] Unkjcr:
Yes, without any doubt. :)

You can flash this kernel. If this doesn´t work, flash the ROM again without wiping and check if something goes wrong. If any of these do the thing, your only option left is to install the ROM with wipe. :)
[myTouch 3G, Magic Android Development] robertyanta:
Hi Unkjcr, now i have a doubt, is the rom overclocked to 710 or not ??? think carz pointed out in the begining, so why are u telling him to patch the this kernel ????
[myTouch 3G, Magic Android Development] Unkjcr:
Hi!

The kernel is the same that comes built in the ROM. The only thing that changes is the max available CPU frequency. It has the 528,....,614,...,710 Mhz frequencies. :)
[myTouch 3G, Magic Android Development] robertyanta:
Hi, how can i change the cpu frequency ?? or can i see the valor that rom is using??
[myTouch 3G, Magic Android Development] Unkjcr:
You can change it in Cyanogenmod Configurations. There you have Performance Settings and inside it you can find CPU settings. :)
[myTouch 3G, Magic Android Development] ginoyang:
For Google restoring, you must sign-in at first boot and it did work with WiFi too.
[myTouch 3G, Magic Android Development] carz12:
Ok that kernel test was a fail, I've recompiled the kernel again with the new code removed.

Ok, to clear up this kernel thing.

It can be set from below 170 up to 710 using the built in cpu settings in cyanogen/performance/cpu

I added the ability to set it at compile for boot frequencies, stock boot up I set at 245/528, on demand as the scheduler.

Cliff edge, you can just flash the rom over and gapps, no wipe, I can't understand this slowdown thing, I have never seen it myself unless I've messed up and broke a driver while testing, and then I just fix and re-flash, all better.

Try this kernel, GB--kernel-v04-27-2011-signed.zip

what radio are you using?
[myTouch 3G, Magic Android Development] sirceoj:
Just downloaded and flashed (no wipe). First impression is this kernel is not as snappy as previous default (MAX set at 614). I also wouldn't say your previous kernel was a fail. When the screen was on it was very responsive and I did not have any low memory issues. The default kernel eventually slows down but only after heavy activity (especially browsing multiple windows and using apps that use the browser). I'll keep testing this new compile and let you know of any significant findings.

Thanks!
[myTouch 3G, Magic Android Development] ginoyang:
Hi Carz, I am using MTD , if I flash the kernel, do I need to reflash that boot MTD zip after flash kernel?
[myTouch 3G, Magic Android Development] Cliff Edge:
radio 6.35.16.19

ok, i'm flashing this new kernel and I will test it today to see how it works
[myTouch 3G, Magic Android Development] blizard80:
no. flashing kernel dont change boot.
[myTouch 3G, Magic Android Development] blizard80:
this last version is worse releasing memory. major slowdowns... and after that... soft reboot...

i don't understand why minfree mechanism of android is not workig right!

changed minfree from default in rom now for

1536, 2048, 4096, 15360, 17920, 20480

much more aggressive... i need free memory!

:)

testing...
[myTouch 3G, Magic Android Development] kwapiu:
I do not think it is new. Many user has experienced it on different custom roms.

As mentioned above memory_free mechanism is not working properly.

I believe firerat mentioned it somewhere, thou I can not find it now.

No matter how many free mem have you got (gapps or no gapps) some processes are just not killed on time.

It is not an issue of OOM also (at least accordingly to Memory Optimizer). Setting higher killing limits with Mem Optimizer do not help either.

For most of the time turning OFF JiT with compcache ON solves it :/

Unfortunately not always - I've just logged here, with 6 MB free mem on my phone :D to see if anyone came with a solution on this :(
[myTouch 3G, Magic Android Development] ginoyang:
Facebook for Android 1.5.4 release and fixed bug ...
[myTouch 3G, Magic Android Development] snailmale:
The previous version was great for my phone, the fastest, smoothest ROM with no slowdowns or lags. The only problem was a massive battery drain that killed my phone after less than 12 hours.

Updated to the latest version and am facing trouble with lack of RAM. Shall flash the 27/04/2011 kernel now and see if it helps. On the bright side, the new version is kinda to my battery.
[myTouch 3G, Magic Android Development] Cliff Edge:
New kernel works ok :) No DIS and I see who calls ;) Thanks!