yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] clemsyn:
IMO, you didn't have to wipe your data. Just clearing the Dalvik Cache gets it running with my ROM (at least with my testing).
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
Dalvik cache.... is it to heavy to generate at each boot ??

Couldn't it be implemented to be clear at boot ALWAYS ? :D

Second, where is it stored ? /data ?
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
intead of a work around that is going to cause cache misses and be slower why not try to figure out why the dalvik cache is causing issues occasionally.
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
Ok, having SYS on nand, an DATA on nand... Android can only write to 2 things, Data partition, and SD Card (in fat32 i think... dunno about other FS on sd card).

So, the Dalvik cache is either in Data, where we are having lots of corruption, mostly on reboot without unmount, either by crash, or normal reboot, or SD. Yet i doubt its on the SD, for obvious reasons.

So to tackle this problem we would first need to solve the /data problem.

problem is, i haven't found a way of unmounting data... not even forcing...

This reminds me of USB Flash drives, and Windows2000, which had its caching policy all screwed up (fast writing vs fast removal), so we would copy, explorer would give the ok message (all copied) and slowly in the background start writing data to the usb mass storage, problem is, we would remove before it could have ended. result? nothing copied... and fat32 was kind enough not to give many errors (or not detecte them, i don't think fat32 as a incorrectly unmounted flag like ntfs...)
[Tilt, TyTN II, MDA Vario III Android Development] object3d:
Nopes it doesn't, for my case atleast. I checked all the permutations before doing this. I am lot free these days :D
[Tilt, TyTN II, MDA Vario III Android Development] mmec2:
@object3d, I think its just luck what part of data gets corrupted, a couple of times it worked for me after just clearing the dalvik cache, other times I had to wipe data too.

@daedric, the dalvik cache is stored at /data/dalvik-cache so you could do

# rm -f /data/dalvik-cache/*.dex

to clear the dalvik cache on boot, but then a every reboot would take much longer.

Do we even need to do this anymore? I haven't had any data corruption since 11/11/10 when scooter compiled yaffs2 into the kernel.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
The main thing which has changed since the kernel i released unnoficially is the NAND driver which could be causing issues. Maybe it would be worth a few people having boot loops etc... reflashing the kernel i released and seeing if the issues go away. If they do then i can look into what is causing it in the changes commited since. The kernel was posted here : http://xdaforums.com/showpost.php?p=9151105&postcount=227
[Tilt, TyTN II, MDA Vario III Android Development] object3d:
I checked with your kernel and the issue is still there. Seems like the loop thing may have been caused after your did the Yaffs changes. Not sure though.
[Tilt, TyTN II, MDA Vario III Android Development] mmec2:
I just had a thought, I'm using the 12/11/10 kernel and haven't had any real problems, I have had a couple of freezes, but no corruption or boot loops.

I haven't reinstalled the system or data since before the unofficial 11/11/10 kernel, could that be related to why I don't have any problems but others do?
[Tilt, TyTN II, MDA Vario III Android Development] cyberbandit1998:
i found release 4c very buggy and i was wondering if you could send me link for release 4
[Tilt, TyTN II, MDA Vario III Android Development] vellowax:
Just want to say thankyou,

this CM build transform Fresh Froyo into a better build right now for me with the old kernel.

Yes, I'm a thief for CM code and files.:)
[Tilt, TyTN II, MDA Vario III Android Development] samjam:
Same here

We could create a "dalvik-is-clean" file just before we shutdown an remount ro.

If that file is not present on bootup, then the dalvik cache can be erase, otherwise the dalvik-is-clean file is deleted (and sync)

I've had a few, but I'm using fresh-froyo
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
I am going to have to say that with light usage on my phone. Such as a few calls here and there and a few text messages and light web browsing I have had no issues on mine ever since I released barebones 4.5. I don't know if it is due to luck or what but I haven't had any FC's or anything. I haven't been using l1qu1ds kernel though. I have been using scoot's kernel until two changes i've been tracking get committed into the kernel.

Also I know a lot of people do overclock through atools. To those people... STOP it makes for an unstable system and can't overclock as high. Something about overclocking through the kernel makes it unstable. GPU is safe to overclock through kernel just not the CPU.

Lastly, install data on SYS and NAND on SD. It doesn't make any sense to keep all your eggs in one basket does it? Also if you do choose SD use an image as that method gives it another way to correct errors if it is not cleanly unmounted.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Latest Kernel!!!!

It would seem that this build isn't happy without having a /tmpcache directory in /data so for now if you want to benefit from the other changes in the kernel and still use this build use the kernel i have attached to this post ;)

You will still NEED to apply this update : http://sourceforge.net/projects/androidhtc/files/modules/androidupdate.tgz/download

To get data working you will need to type these commands in the terminal emulator:

su

mount -o remount,rw /system

rm -r /system/etc/ppp

ln -s /smodem /system/etc/ppp

mount -o remount,ro /system

After that, REBOOT :D
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
What changes did you apply to the initrd?
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
I'm not in linux at the minute but off-hand,

Just uncommented 2 lines :

mkdir /data/tmpcache

mount /data/tmpcache /cache

I probably didn't need to uncomment the 'mount' line as i see this is done recursively at the end but it wasn't happy without cache on data. I do intend to look into it some more but i've got a ton of uni assignments to do! Hope you feel better soon by the way! Don't you just love winter :D
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
i have a better idea.

use symlink... mount create problems, i'll release a new version with that fixes...
[Tilt, TyTN II, MDA Vario III Android Development] vellowax:
can't wait but no hurry...

hope you get better soon.
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
released a new version
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
You're a star, i shall give it a go in a bit :) sorry i'm short of time to give you a hand :( I'd like nothing more then to be messing with my kaiser right now!!!
[Tilt, TyTN II, MDA Vario III Android Development] tiagoclc:
trying to solve data corruption

What about use different partitions?

/system, /data and /cache as different partitions...

the highest activity of reading and writing happens in /cache. Am I right?

I'll change the nbh and sysinit.rc to meet this.
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
The data corruption is due to uncorrect unmount, 23/11 version as cache in ram but it cause problems with vogue devices and also cache is usually empty.

We can use tmpfs for it.
[Tilt, TyTN II, MDA Vario III Android Development] tiagoclc:
what about when the system crashes and battery has to be removed?

anergy cut ...

What's your problem with me? The forum has become private or slept badly?
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
What problems? I suggest to use tmpfs because cache doesn't need to be saved.
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
there's no problem bro, just dont mess with devs when they are allready under presure and with a lot of work to do, we all benefit of their knowledge so it would be wise to give them some space, and l1qu1d already answered u so have some patience... there's a say on my country, dunno how to translate it: mucho ayuda el que no estorba! :D
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
Thanks albertorodast2007 :D
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
so, things have been quiet with regards to the build, i haven't had a lot of time lately and i've been trying to get my priorities right!! I haven't done a lot of work but I am running an updated build at the minute and things seem good, no drastic changes but the cyanogenmod repo is changing all the time with tweaks here and there. Before i release a new build i still need to organise a few things and sort out updated google apps etc... but thought i'd let you all know that i'm still alive :)
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
Glad to read that ur alive!! :p and yes! ur next release is on top of my wishlists I want for Christmas. :D
[Tilt, TyTN II, MDA Vario III Android Development] object3d:
Is it possible if you add Google apps as an updateinstall and not in core build so that if someone wants to install it after the build he could do that later?

Thanks
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
Christmas presents are always welcome!
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Well, i could but the issue is that everyone uses certain apps and not others. It would be far easier to just take out the apk's you don't want to install from the androidinstall.tar using 7-zip before copying it over to your SD card or using titanium backup to get rid of them once the system is installed. Or try aceyoame's cut down version of this build and install the google apps you want from the market. I don't think having the choice of either no google apps or all of them is gonna solve anything.
[Tilt, TyTN II, MDA Vario III Android Development] object3d:
I thought I could spare some memory resources that are being used by Google apps/ youtube/ facebook etc in my Kaiser as I think they are useless in this.

I tried running aceyoame's latest barebones but it was somehow not working well in my cell. Will try it again when my existing build corrupts. Have been using your build for 3-4 days and working pretty well till now.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
To be honest the only google app that runs in the background a lot is voicesearch. All of the others you mentioned only run when you open them so won't affect your ram usage. It justs adds a few megabytes to the install but system is no longer used after install unless you use adb to push files to it so the difference it will make is negligible. Maybe in the next release i will add a txt file with instructions on how to remove apk's from the build with an explanation of which ones can be removed safely and what they are for. There is information available on the web but it's not always clear.
[Tilt, TyTN II, MDA Vario III Android Development] object3d:
Thanks I look forward to that.
[Tilt, TyTN II, MDA Vario III Android Development] Michga:
i tried clemsyn rom.. its more stable but slower... now im on clemsyn build 2days.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Haven't tried clemsyn's build yet, seems to be popular though. I've been having fun and games with a new build of CyanogenMod. It was seriously unstable after some modifications i made for the new kernel, similar to what others have been saying, constantly dropping to the boot animation. I didn't even have to use it, just install and leave it and it would wake itself from sleep and reboot. It's been getting on my tits to be honest but i've finally got it stable and configured for the new kernel!!! Bit more testing needed though i'm afraid but i'll keep you updated on the progress. It's nice and nippy :D Bit like the weather here in the UK!
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
seems we'll be having a final rls soon :D
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
I think i have finally solved some lock screen crash issues which was causing reboots after the new lock screen gestures feature was added to the cyanogenMod source. I think we're close to a new release!!! As always, it will be built from the latest nightly source code which means bugs will exist but it'll also have all the latest features and apps ;)
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
That's because 6.1 isn't final if I recall yet right? So we obviously cannot build from the stable branch. Glad to hear your going to release an update, was about to make a barebones of clemsyn's because I thought you stopped updating.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
No, still tinkering, just taking ages to get it working properly. 6.1 isn't final yet, RC2 is the latest but i build from the repo which is the latest experimental code. The cyanogen repo gets updated daily so there are always little fixes and features being added and of course the odd bug being introduced too!! The native phones such as the dream get nightly experimental builds but i don't have nearly enough time to do that but i'll hopefully get an up to date build out tomorrow :)
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
And when you do that my next barebones will come out too of course. What's changed so far?
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
RLS5

I have posted the english version of RLS5 in the first post. The all language build is compiling now so will hopefully be up later. There's quite a lot of experimental stuff in this build but try it and see how it goes :D
[Tilt, TyTN II, MDA Vario III Android Development] Millence:
I left my Kaiser at home!

I can not wait to get home from work!:D:D:D

I guess it would work with the new kernel (11-29)?
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Yes,ideally use the new kernel,I have made it so it works with older kernels too, but you will gain some extra space in system if you use l1q1ds latest kernel.
[Tilt, TyTN II, MDA Vario III Android Development] mt1976:
RLS 5 and Haret

I would like to try RLS 5 via Haret, before I switch to Nand installation.

Do I need the "Haret SD Fix", too?

Which files do you recommend for RLS 5 and Haret using?
[Tilt, TyTN II, MDA Vario III Android Development] vaupunkt:
my camera isn't working in RLS5... :/
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Just tried mine and it isn't your right, there have been some modifications to the camera app in cyanogen recently which obviously aren't compatible with our current camera driver, i'll try and revert the changes :) Until then apply the attached update if you think the camera is worth using! hehe.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
I haven't used HARET for a long time so try it first without the update and if your sd card isn't recognised in the build then apply the update. In terms of files i think you can let ATools download the latest initrd and zImage and then make a default.txt with your chosen options so that is probably best. As long as you are using a 2.6.32 zImage and it's recent, ideally the latest :)

I have attached an andboot zip with the latest kernel, initrd and the settings i would use in the default.txt but like i said, i haven't tried it, i can't even remember what files need to go in the andboot folder! But it might help.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
RLS5 All Languages

Uploaded the All Languages build and an updated English build with the fixed camera app :)
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
Good, keep releasing the all language builds as that is what I have been building off of. I know you were contemplating getting rid of it before.

Thank you for the new release! My barebones fans will thank you for it.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
I will keep releasing it, i'd like to get a list of the essential languages that people who use the rom need though so i can cut down on space and it will be faster! Why do you build your barebones off of the all language build? You gain like 15mb in language files and it's slower overall. Why don't you do both an english and all language release, the english version with the google apps stripped would be really small!
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
Lazyness I suppose really. I build off the all language just because mine is so stripped down I don't really take a hit from the extra bloat. But yes, I would also like to have a core language build of the most used languages. We should make a thread for requests.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Yep, be interesting to know which languages are being used by people in the forum, if we can take some out it'd be good. Might be able to put a poll in the thread if i get a list of all the languages available :D Saying that, most of the apps only have translations for the main languages anyway so i doubt it would impact size a great deal.
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
I am going to go through my phone and see what languages are the ones we should keep. I mean there are a lot in there I am sure aernt ever used.
[Tilt, TyTN II, MDA Vario III Android Development] Michga:
(Dismiss notifications by swiping)

this works in RLS4
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Good, I couldn't remember when it was done and couldn't see it in the changelog.
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
Hey scoot, check out the languages thread. Was hoping we could get my suggestion out for this release. I haven't started work on mine yet simply because I have been rebuilding a workstation all day and tending to my new born son lol.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Congratulations mate, get some sleep while you can! :D I've been keeping an eye on the language thread, I'll try and draw some conclusions from it later today :)
[Tilt, TyTN II, MDA Vario III Android Development] mt1976:
Haret and RLS5

Thank you for your quick reply. I used your files and changed the panel and the keypad in the default.txt. Then the installation via Haret works well. After 10 min after the first start I connect via wifi to the internet and made my synchronisation for contacts. Then I made a restart and all was working well without the "haret update".

Then I opened the market and tried to install some apps, but without success because the market stops "during downloading the apps" and goes in an endless loop.

Then I made the same complete setup process again and I installed the "haret update". The first start works well but the market doesn't start. After the first "agreement" during the first start from the market the phone goes in the same endless loop. So the "haret update" does not fix this problem.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Do you mean the market app loops or the phone reboots and loops? If it is market looping it may be a temporary issue with market but to be sure can you tell me if your sdcard is mounting without the Haret Update. By this i mean does the cards statistics show up in 'settings-SD Card & Phone Storage' and also can you access the card through file manager? If you can don't apply the haret update. Sometimes the market loop is caused by a failed download so try deleting the /download folder on your sdcard, rebooting and trying again. Like i say if everything appears to be working with regards to the sd card but not market then this is most likely the problem.
[Tilt, TyTN II, MDA Vario III Android Development] mt1976:
I can play mp3 files from the sd card "without the haret update". So I think the update is not really necessary. Is this correct?

Ok, I will try to make the setup process again and I will try to download some apps again.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
In that case it must be mounted correctly so no you don't need to apply the update. Try deleting the download folder on your sdcard and trying again :)
[Tilt, TyTN II, MDA Vario III Android Development] mt1976:
Haret and RLS5

I deleted the download folder on the sd card, but I got phone reboots during browsing. After the reboot I tried to start the market but I got the same loop after agreement again. I got many phone reboots also without doing anything after the start. The phone reboots after about 1 or 2 min after last reboot.

Here is the bootlog.txt:

** /dev/block/mmcblk0p1
** Phase 1 - Read FAT (compare skipped)
Attempting to allocate 7771 KB for FAT
** Phase 2 - Check Cluster Chains
** Phase 3 - Checking Directories
** Phase 4 - Checking for Lost Files
Free space in FSInfo block (618456) not correct (618615)
Fix? yes
2555 files, 2474460 free (618615 clusters)
sh: 2: unknown operand
AutoMode for system
e2fsck 1.38 (30-Jun-2005)
e2fsck: while determining whether /dev/block/loop1 is mounted
/dev/block/loop1: clean, 830/65536 files, 103219/262144 blocks
AutoMode for data
e2fsck 1.38 (30-Jun-2005)
e2fsck: while determining whether /dev/block/loop0 is mounted
/dev/block/loop0 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/block/loop0: ***** FILE SYSTEM WAS MODIFIED *****
/dev/block/loop0: 449/65536 files (6.9% non-contiguous), 41822/262144 blocks
rm: cannot remove '/system/lib/modules/modules.dep.bb': No such file or directory
cp: cannot create '/data/sysfiles/su': Path does not exist
chmod: /data/sysfiles/su: No such file or directory

Maybe this helps to find the error.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Haret and RLS5

Everything looks normal in the bootlog but that is just the mounting stage before the build loads. When you say you are having reboots is it dropping to the boot animation or actually rebooting the phone?
[Tilt, TyTN II, MDA Vario III Android Development] mt1976:
Haret and RLS5

It goes to boot animation.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Do you get reboots if you do a fresh install and don't use market or does it reboot even if you just leave it?
[Tilt, TyTN II, MDA Vario III Android Development] mt1976:
Haret and RLS5

I made a fresh install and after this setup I connected via wifi and I synchronize my google account. And after this I switched the phone off (normal shutdown). Then I copied the system.img and data.img to a seperate folder because I do not want to reinstall all files again.

I got the loop to the boot animation only after using the browser or the market. But I will make more tests later.
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
hope u can find a solution for this build on haret mt1976...

In the other hand, i have just one word for this build scoot: AMAZING! speed, stability, eyecandy.... way to go bro!

Just some Q, ive installed it twice, firt one using latest kernel and modules downloaded trough rom mix dunno why but it turned out really unstable, so i made a clean install using atools only to change my panel type, key mapping and batt capacity.... and its working nice and smooth! so... are you using the same modules thn l1qu1d? is it just fine to install it this way?
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
RLS5 is already configured with the correct modules for the latest kernels and is also backwards compatible so you don't need to apply any updates :) The tun.ko module does seem to make the build unstable because it has openvpn support built in and doesn't need the extra modules the standard builds require so son't apply any updates, just a clean install is all that is required.