yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] wondercow:
Hmm, I didn't see much difference in free ram between the two kernels. I tried each 3 times, about 10 seconds apart.

2.6.32_VOGUIMG-320-FROYO-11-23-10.NBH (unresponsive)

# free
total used free shared buffers
Mem: 111952 107860 4092 0 24
Swap: 0 0 0
Total: 111952 107860 4092
# free
total used free shared buffers
Mem: 111952 110460 1492 0 8
Swap: 0 0 0
Total: 111952 110460 1492
# free
total used free shared buffers
Mem: 111952 110416 1536 0 8
Swap: 0 0 0
Total: 111952 110416 1536

2.6.32_VOGUIMG-320-FROYO-11-12-10.NBH (works great)

# free
total used free shared buffers
Mem: 111988 108744 3244 0 8
Swap: 0 0 0
Total: 111988 108744 3244
# free
total used free shared buffers
Mem: 111988 110160 1828 0 8
Swap: 0 0 0
Total: 111988 110160 1828
#
# free
total used free shared buffers
Mem: 111988 107852 4136 0 8
Swap: 0 0 0
Total: 111988 107852 4136

However, it looks like it is killing processes due to low memory issues in the dmesg. Please see the attached zip for dmesg and logcat data. I don't know how to read these files, but hopefully they will be helpful.
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
Open a new thread on vogue section and try if you have time with another distro.

(you can backup your phone using atools and then recover it after testing)
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
Yes, that worked for me.

To be clear, the steps are:

Use the new kernel

Install androidupdate.tgz

Do the shell commands

REBOOT!

Now, can you explain what is changed?
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
Changes on initrd:

update to latest busybox

-> orginal su

-> support for ext3 (not enabled yet)

-> support for ipv6 (not used yet)

-> support for ubifs (not used yet)

-> reorder of /bin and /sbin

update in init file

-> no more binding to data (to resolve data corruption)

-> modem is /smodem

-> autoswitch for module kernel

-> /cache on ram

i don't remember if i made other changes (I am in bed with the flu!)
[Tilt, TyTN II, MDA Vario III Android Development] wondercow:
Thanks, l1q1d. I was going to try your suggestion of the 11-23 kernel on another build, but the new 11-24 kernel fixed all the response problems and works great now on the Vogue!
[Tilt, TyTN II, MDA Vario III Android Development] clemsyn:
Had the stomach flu and lost like 2 lbs...hope you feel better
[Tilt, TyTN II, MDA Vario III Android Development] abompard:
With this new kernel, I can't install packages with adb, I get this error :

E/PackageManager( 241): Couldn't create temp file for downloaded package file.
W/dalvikvm( 241): threadid=10: thread exiting with uncaught exception (group=0x400207d0)
E/AndroidRuntime( 241): *** FATAL EXCEPTION IN SYSTEM PROCESS: PackageManager

And a nice NullPointerException afterwards. Could it come from the initrd ? It also looks like /system is mounted "rw":

# mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,relatime)
sys on /sys type sysfs (rw,relatime)
/dev/block/mmcblk0p1 on /sdcard type vfat (rw,noatime,nodiratime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,flush,errors=remount-ro)
/dev/block/mtdblock2 on /system type yaffs2 (rw,relatime)
/dev/block/mtdblock3 on /data type yaffs2 (rw,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
tmpfs on /sqlite_stmt_journals type tmpfs (rw,relatime,size=4096k)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mtdblock2 on /bin/su type yaffs2 (ro,relatime)

I installed with atools (BSE), the distribution is Fat Free Froyo (but it worked fine before, I did not update it).

EDIT: I installed the plain distribution with install-seq, and the problem went away, so it's probably not the initrd. I'm doing some tests to find where it comes from. Sorry.
[Tilt, TyTN II, MDA Vario III Android Development] Prowess:
I remember the time dzo got the flu and brought in FRESH FROYO. Now that you are overcoming the flu too, you can be considered our forefather-dzo's SON.
[Tilt, TyTN II, MDA Vario III Android Development] drvitorino:
the version 32 with android update fixed the data corruption problem on boot!!! But the update doesnt fix my data connection and also wi-fi. Also system is more responsive. Unfortunately I have to go back until the new version do have internet access.
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
L1qu1d, got a question, applying the fix is the same that using the rom mix option on atools or do I have to do both? Or just the fix?

BTW hope u get well soon
[Tilt, TyTN II, MDA Vario III Android Development] czar_au:
Dude!!! You have included tun.ko!!!!!!!!!!!! :D Does this mean openvpn will now work! :)

I gave up waiting for this module ages ago.

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

For those who want to know. I got OpenVPN Working....

install OpenVPN Installer from Market

install OpenVPN Settings from Market

rwsystem

copy contents of http://github.com/downloads/fries/android-external-openvpn/openvpn-static.bz2

to /system/bin/openvpn

mkdir /system/xbin/bb

ln -s /system/bin/ifconfig /system/xbin/bb/ifconfig

ln -s /system/bin/route /system/xbin/bb/route

rosystem

openvpn /sdcard/openvpn/config.ovpn
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
i release today another version of atools with the update on mix.

if you apply the update and it works on old version it must work on new version.

BUT if you didn't use the update....

@czar_au: propose this to the releaser
[Tilt, TyTN II, MDA Vario III Android Development] czar_au:
l1q1d: Well.. if you read between the lines I was wondering why you included the tun.ko? or has been included for a while anyway and I hadn't noticed its introduction.

But you are right, this information to the "releaser" is absolutely useless. But if this is new... then I am sure the other "readers" of this thread might like to know how to use it since I managed to get it working, I thought I would edit my post with the extra more useful info.
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
i added it because someone ask me in the past.

I post it 2 weeks ago in polaris thread and i add it now in the global update.

If anyone need a module i can add it but there might be compatibility problems.
[Tilt, TyTN II, MDA Vario III Android Development] czar_au:
Awesome news. And a huge thanks. With all this work it makes me not want to upgrade to a new phone. What if it doesn't have such dedicated people to help it live on - chances are it wont even be rooted ;-)

So how does my telling you the tun.ko works not relevant to you if you only just put it in?
[Tilt, TyTN II, MDA Vario III Android Development] obso:
Burn away but I can't seem to get wi-fi working with this newest kernel. I grabbed the newest version off atools, did a clean install of clemsens build then patched it with the patch in the OP. Did i miss a step in there?

edit: works with fat free froyo (but not clems froyo or myns donut) so I guess it's a build problem not a kernel.
[Tilt, TyTN II, MDA Vario III Android Development] Mormy:
Hi L1q1d, I just upgrade my Polaris (Pola200 from O2) to your last kernel 2.6.32 (zImage and nbh + last initrd.lzma), I use atool to change control panel (3).

I lost data connection, I see the 3G logo, but it isn't stable and I can't open a web page or setup my gmail account.

I use fat free froyo and my previous kernel was yours 2.6.32 of october, sorry I didn't remember the exact release.
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
Did you apply the commands in firt page?
[Tilt, TyTN II, MDA Vario III Android Development] X46X:
I apply update and Wifi works, but 2G/3G connection still not work :(
[Tilt, TyTN II, MDA Vario III Android Development] cpedroson:
l1q1d,

Feel like I have tried everything... but still can't get Data (3G) to work

do you by chance know how to change the Mobile Network type from HSDPA to a different 3G? I am using a AT&T Tilt, kernel 2.6.32 11/23 and the Clemsyn's BEST FROYO RC3 for the 11-23 kernel. I remember when I used a cooked WM6.5 the internet wouldn't work under HSDPA...
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
the update affected to the data only because it use another dir (the command link to new location), the file are the same so probably you did not apply correctly the command. It works for me and i did a fresh install yesterday!

The selection of 3g network depends on release, look in the old k_k eclair for scripts.
[Tilt, TyTN II, MDA Vario III Android Development] Millence:
Try *#*#4636#*#* for Testing menu and under Phone information select preferred network type.

I hope this still works on Kaiser considering that you guys recently changed libhtcgeneric-ril.so or stop using that lib.

I find it difficult to thoroughly follow all information given that I have two phones.
[Tilt, TyTN II, MDA Vario III Android Development] X46X:
Nope, this not work for me :(
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
Do you have the same problem with 2.6.32 released before and with the same "rom"?
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
Okay, I installed a kernel today after the two updates to bootenv, and now data doesn't work for me. /etc/ppp is a symlink as it should be. The modem app shows IP addresses, but data doesn't work. Does that make sense?
[Tilt, TyTN II, MDA Vario III Android Development] X46X:
No, all works fine before I use latest kernel.. I use atools and every when "instaled" any android build I download latest NBH.. I try both kernel version (32 and 25)
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
I'm having no troubles with latest kernel (downloaded within atools) and clem's SD froyo... could it be a radio issue? What radio ur using n2rjt?

I'm using an 1.71 radio

Sent from my Kaiser. :D
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
That's a good question. I can say that I have never had data problems before.

How do I find out what radio I'm using without flashing WM? The radio that my signature has shown is the one in my older Kaiser.

I guess the best way I know to really know your radio version is to flash it.

I'll do that and edit this post if it makes any difference.

Also I just remembered, I should probably run logcat -b radio, shouldn't I? :)

Edit: I have 1.65.16.25, have been using it for a while without problems.

I will switch versions to see if that helps.

Edit 2: Switched to 1.65.21.18 which I used before for months. No change.

Also tried several ROMs and data didn't work there either.

I have tried my own kernel build (no changes from repos), and latest atools downloaded 2.6.32.

Just now tried 2.6.25 downloaded from atools. No change. I see the "H", with up-arrow but no down-arrow. My SIM card works in other phones. What else should I check?

This problem makes me feel like a noob.
[Tilt, TyTN II, MDA Vario III Android Development] drvitorino:
I have no 3G With this last version. My rom is Clemsyn froyo multilanguage.
[Tilt, TyTN II, MDA Vario III Android Development] X46X:
I have the same problem with clemsyn and thoughtlesskyle fat free froyo..
[Tilt, TyTN II, MDA Vario III Android Development] manu33xtro:
Hi all of you,

I has same problem and resolved by update with the file I post.

Make an androidupdate file or push it in system/etc/ppp : data works very well after ;)

Cheers.
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
The ppp update is for developers, but it could easily be made into an android update for the everyman.
[Tilt, TyTN II, MDA Vario III Android Development] manu33xtro:
Here it is...
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
Is that the same as ppp.zip in the first post?

I thought that and the shell commands were obsolete now, since the initrd now does the work of linking smodem to /etc/ppp.

But perhaps I am mistaken, since I can't get data to work with the latest initrd.
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
The one at the beginning is the ppp file for developers to include in their builds. The last one posted is an android update so people can add them to their current builds.
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
Latest kernel released on 29-11-10 generate that file so you don't need the ppp file anymore.
[Tilt, TyTN II, MDA Vario III Android Development] X46X:
All connection works fine with latest NBH (Wi-Fi with update). Thank you l1q1d very much :)
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
u're so close to a 100% functional kernel l1qu1d! thank u so much bro! u rock! i know there's a lot to do (camcoder, camera driver, ril, clean unmount, etc) but u and all devs should be proud of ur achievments. :p
[Tilt, TyTN II, MDA Vario III Android Development] drvitorino:
good job, everything working!

But I had some freezings and I had to reset twice with lastest version of Clensyn ROM installed on NAND and data on SD Ext2. The last reset corrupted my data and I had to reinstall everything.
[Tilt, TyTN II, MDA Vario III Android Development] drvitorino:
EDIT: A Dalvik cache clear and a widget removal solved my problem
[Tilt, TyTN II, MDA Vario III Android Development] mmec2:
n2rjt: did you get data working?

I can't get data working on any non-CM based builds with the 29-11-10 kernel for some reason.

The 3G icon sometimes comes up, but the modem never shows an IP address.

All updates have been applied, even the symbolic linking of smodem, just in case :-)

Is there any way I can find out what the problem is?

FINAL EDIT: I was misspelling the APN settings when I entered them manually, and they were already correct in all the cyanogenMod builds, thanks scooter1556!

I will make sure to check the APN settings if I have data problems again!
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
If the 3G icon sometimes comes up it sounds like you have incorrect APN settings. The cyanogenMod apn-conf.xml is different to the standard android one so you might find the settings for your carrier aren't correct in the build your using.
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
With my alpha Fresh Froyo, data is not working yet.

I have been distracted, haven't tested as much as I need to.

Between the version that works and the version that fails, I did not change anything other than changing to the kernel that does "ln -s /smodem /system/etc/ppp". I did not change apn-conf.xml or otherwise change APN settings. I suspect it might be a permission (chmod/chown) issue, but again, haven't done much testing.

Yes, the 3G (Actually "H") icon shows up. When I ping the pt-to-pt IP address, I see the up-arrow, but I never see the down-arrow.

My son gave me his Tilt-2 (HTC Rhodium) over the weekend, and I've been distracted, exploring the Android options available there. I eventually want to be able to build kernel & froyo for both phones, and see if any feature improvements can be ported one way or the other. But right now I am putting the new toy away and going back to the Kaiser. I should be able to get data and SD card working in the next day.
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
Update: data and sd mount now work for me.
[Tilt, TyTN II, MDA Vario III Android Development] ouz:
29.11 Kernel - Scoot's CM (rls5 ) - No OC ..

running great for 2 days ... Browser not problem , but when i open market and download some applications , it starts to reboot ( boot animation )
[Tilt, TyTN II, MDA Vario III Android Development] a.s.j:
You do not even have to install it from Market.. I Installed from SD card only (I have some APKs predownloaded) and it finishes in the same way... sometimes after fourth app, sometimes after first...

Once even only after syncing with Google...
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
Both of latest post

are related on scoot not on the new kernel

...

I suggest both of you to write in the scoot topic and add also the logcat in this way:

This will be useful, only "it reboots" isn't very helpful...
[Tilt, TyTN II, MDA Vario III Android Development] a.s.j:
I do not think so...

It is the same behaviour all across the builds... Right now I am running "Clemsyn's BEST FROYO w/ REBOOT PROTECTION (BETA2)" and it is still the same...

I doubt it would be build error cause those two builds are from quite different source...

Or am I wrong?

anyway... maybe I am wrong, then please forgive me... it is bit hard to get logcat on the machine that is looping in reboots, cause the only way to stop it to do so is to wipe data
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
post the logcat and i'll see it if is it kernel related but i doubt because kernel doesn't interact with apps like market, account ecc ecc.

Kernel interact with system trow ril for radio, libcamera for camera, and memory killer. But without the log....
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
i agree its not the kernel, i not to sure about this but could the modules be the problem? im using scoot's release too, installed it twice, first instalation was a disaster, I donwloaded the modules via rom mix and merged them on scoots androidinstall.tar, things turned really unstable just after instalation. i decided to reinstall everything but without the rom mix part, and had no problems so far. I asked scoot (havent answered me yet) if his modules are the same u use l1qu1d, or if he modified them.. could that be?
[Tilt, TyTN II, MDA Vario III Android Development] a.s.j:
Well... it can be somewhere in modules or something with mounting data partitions, interactiong with yaffs or whatever else... it would not happend to me if I just install and leave the phone intact... it starst after anything is written into the data patrition mostly after first reboot (shutdown on purpose).. I can open another thread for that one :)
[Tilt, TyTN II, MDA Vario III Android Development] over2land:
sorry for the possible nooB question, but how do you apply androidupdate.tar?

Does it get applied in atools before extracting or does it go on the SD card and run update from the boot loader menu?

I did search, but had no luck finding the answer.
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
Modules are all the same and are wlan (for wireless), tun (for vpn), ramswap (compcache). So if you don't use them while you have problems the problem aren't due to modules, i'm still waiting for log. So...
[Tilt, TyTN II, MDA Vario III Android Development] Millence:
@l1q1d

I have the same problem with reboots for quite some time. Still looking for a solution. Right now I'm at work so I can not send logcat, but if you're interested you can see this ....

http://xdaforums.com/showpost.php?p=9051208&postcount=162

I posted logcat there and I'll post one here as soon as I get home.
[Tilt, TyTN II, MDA Vario III Android Development] a.s.j:
I had to put the phone quickly to Airplane Mode so it stopped rebooting itself...

Immediatelly after switching airplane mode off it rebooted... Logcat info below...
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
Change the radio, the ril conflict with your radio (as you can see from the log)
[Tilt, TyTN II, MDA Vario III Android Development] a.s.j:
Well.. I can try, but I am affraid, that the result will be the same... or maybe if I downgrade up to 1.65... Perhaps the RIL code would use some tweaks :)

I'll try to do some tests and research... I'll get back with more info... If there will be no radio, that would be useful with this version of libhtcgeneric-ril, then we should really start to look at it as the possible cause of more stability issues (not only CLID like issues)...
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
Use 1.65, MOST people here seem to have the best luck with that, just avoid the Radio from hell and youll be fine lol.
[Tilt, TyTN II, MDA Vario III Android Development] a.s.j:
I am jus curious, why everything works like charm till first reboot
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
Because of the dreaded UNclean unmount of the /data partition.

As in.. data corruption
[Tilt, TyTN II, MDA Vario III Android Development] a.s.j:
Then I doubt that can be caused by Radio/RIL Conflict :(
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
Allways doubt everything. Always check. Double check.

Random problems IN ANDROID like xpto app has stopped working and blabla... to not booting to android (always on black bg, white text) are usually caused by the /data partition problems.

Remember... there's Dalvik Cache there...
[Tilt, TyTN II, MDA Vario III Android Development] clemsyn:
I have found a possible connection with data corruption in 2.6.32 from 2.6.25 kernel. Looks like the 2.6.32 kernel mounts all partition in relatime while the 2.6.25 does not. I tried to use mount atime in 2.6.32 kernel but it defaults back to relatime. Could this option be turned off in 2.6.32 so we could test this? BTW, I tried noatime and it was the worst but very fast :)
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
Using noatime made corruption worse? I wouldn't expect that, since it decreases the writes. This is with yaffs? Do we mount with sync or cached writes? If cached, how long is the timeout, and does the design ensure that the flash's image of the filesystem is always consistent?
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
I belive the problem is worse, because we have few writes.

There must be a caching somewhere... and we loose data due to this cache.

i just can't find out where the partitions are being mounted... must be a .sh somewhere...

btw... /sdcard is monted in /etc/vold.fstab right ? why not try and use it to mount /system and /data ?
[Tilt, TyTN II, MDA Vario III Android Development] clemsyn:
yes it did, it was fast due to decrease writes but unstable (with more data corruption) which I think is because we don't have a proper unmount on reboot. BTW the corruptions were tested on reboots. I used relatime with nodiratime option and was pretty good but data corruption still persists. I didn't try sync coz it might decrease the life of Nand. Yes it is with Yaffs2

I'll try noatime in 2.6.25 and see how it goes.
[Tilt, TyTN II, MDA Vario III Android Development] clemsyn:
It's under /system/bin/userinit.sh :)
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
I thought it was in initrd, in the init script.

Maybe userinit.sh re-mounts them.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
No you're correct, all mounting is done in the initrd on our phones. On a standard android phone the mounting is done by the init.rc in the build. The userinit.sh is just a file which is called on boot up for any commands to be run automatically such as settings networks etc...
[Tilt, TyTN II, MDA Vario III Android Development] clemsyn:
But if you change the busybox mount in userinit.sh, It is applied on bootup and you can double check by typing "mount" in terminal. You will see that changes made in the file is applied :)
[Tilt, TyTN II, MDA Vario III Android Development] clemsyn:
UPDATE:

OK, I ran 2.6.25 kernel (which is stable) and installed noatime on it. installed my apps (left 40mbin data partition). Left it running for 2 hours, it was fine. Then I logged-in to Google Marketplace, sync all my contacts and installed 1 app. Guess what happens: REBOOT on 2.6.25 accompanied by data corruption with 1 app lost in my Launcher and a couple of apps would cause the whole thing to reboot!! IMO, if we could mount 2.6.32 like 2.6.25, we might get a stable 2.6.32.
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
If forcing the device to write more to NAND is creating instability... then i presume that we might be facing a bug in the yaffs...

No one answered before, why not another FS ?
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
All android phones that i know of use yaffs, if there was a huge bug with the file system there would be a lot of unhappy android users out there! I think it's much deeper then a file system issue. I'm gonna keep working on the 2.6.35 kernel me thinks :)