yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] PoXFreak:
Made 2 mistakes when building kernel (selected tilt instead of normal and forgot to OC to 480MHz), and running kingshui's 12/15/2010 build 2.2.1. seems ROCK solid and fast! I applaud your use of ramzswap for the extra 20mb, bravo!

I'm just hoping I can go back and rebuild the kernel with the correct settings without messing up the system/data/cache partitioning.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
They aren't mistakes, those are the settings I need for my Kaiser. I included a modified version of ATools for you all to modify the kernel for your devices as I stated in the first post :)
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
1) The cache partition is still using Yaffs2 because it is the easiest filesystem to configure at the minute, but the idea of making it a separate partition like on a native android device is that it can be changed to another filesystem in the initrd relatively easily. If it gets corrupted it will do what it used to I guess, but I haven't had any corruption as of yet so it's difficult to say. Hopefully if the cache partition get's corrupted it shouldn't affect data so you should just be able to wipe and format dalvik-cache in the install menu.

2) I made it 20mb because most android devices have 30mb or bigger and this is mainly because market app downloaded get downloaded here before being installed, so if you installed google maps for instance it would use up 6mb, plus the standard 1-2mb normally being used, but if you only had a 10mb cache for instance, you would only be able to install apps less then 8mb which is a little limiting really. I don't really care much about installing lots of apps in data or on the phone at all for that matter so having 95mb for data is more then enough for me.

3) You can put apps in the system partition in /system/app. The system partition is read only so all data for the app still goes to the data partition. You can still save a little data partition space though if you need it. Most installs of android are 80-95mb which should leave you 5mb or so to play with. Some all language builds pretty much use up all of the partition though so you need to look and see what space you have to play with before putting apps on the system partition. If you overload it you will probably end up corrupting it and having to reinstall. But to answer your last question, the system partition works in the same way as the data partition apart fro the fact that it is read-only and data is read/write.
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
I've modified my Kernel to use the NAND mtdblock3 (/data for everyone else) as the cache partition, since my NAND is pretty much shot to begin with, and have system and data on SD Card. So far it's made downloading Market Apps twice as fast, loading webpages pretty fast, and basically anything else that the cache is used for.
[Tilt, TyTN II, MDA Vario III Android Development] PoXFreak:
Scoot:

I understand that the settings built into the .nbh are for your device. What I was meaning was I needed to modify the CPU clock up to 480MHz, and for some odd reason my device swaps the "@" and "!" buttons if I set it to "tilt", among other buttons being set wrong.

Also, I am used to having the left and right softkeys set as "vol up" and "vol down" respectively. Is this something I need to make an androidupdate for, or do I have to write a new NBH?
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Can you not do all of this using the ATools i provided in the attachment in the first post? You should be able to load the nbh into ATools and then set the CPU speed, change the keyboard type and remap the buttons and then save it before flashing. Just don't change the partition sizes as this will mess up the cache partition I added until I make it more permanent.
[Tilt, TyTN II, MDA Vario III Android Development] prash.666:
can somebody please tell me what wrong am i doing??please!!..
[Tilt, TyTN II, MDA Vario III Android Development] DragonWorld:
20MB ? YES one it have ;P

One of game, Fruit Ninja it have ;D 18,34 MB :D And thanks for all you hard work :)
[Tilt, TyTN II, MDA Vario III Android Development] PoXFreak:
It looks to me like a kernel build issue...

When you "created" the kernel, (assuming you did use ATools to make the proper kernel for the Kaiser), did you make sure that you actually made the 20mb "cache" partition?

Did you select the correct keypad type and set the proper buttons in the configurator?

One thing to check is if you can get "Terminal Emulator" to run, in which you would type "df -h" without the quotes. "df" stands for "display filesystem", or something like that, and the "-h" is a switch to show partitions with "human" numbers.

If you have trouble, I already have a 500MHz kernel already built somewhere in this thread. It has the "standard" 20mb cache partition already built and, if you're using the CM7 or the Froyo build that goes with it, there's no need for the "androidupdate.tar".
[Tilt, TyTN II, MDA Vario III Android Development] bobbyhack:
When I put the kernel with changeable atool (from the package) or the last version 1.3.0, and only the QWERTY keyboard on everything is okay.

But if I also specify the / data partition an sd. I do not have more cache.

Would like to cache on the maximum of 30 mb / system nand2 data and sd2.

How to edit the kernel?
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
Hmmm latest atool works for me, i set system data and cache size, tilt keyboard. Exactly what options do you select?
[Tilt, TyTN II, MDA Vario III Android Development] shatheone:
Has anyone had a problem with wifi using this kernel?

Everytime I try to turn it on, I get "error"
[Tilt, TyTN II, MDA Vario III Android Development] tomcug:
Apply the update!!!!
[Tilt, TyTN II, MDA Vario III Android Development] bobbyhack:
My options:

Keyboard QWERZ

Cache 30mb (max)

Swap SDpart3

Data SDpart2

System 15mb (nand2) / Data (max mb) ---> system install to nand3 (because 2 badblocks in the first)

other try

System (max mb) / Data 0mb ----> system install to nand2
[Tilt, TyTN II, MDA Vario III Android Development] PoXFreak:
Put it ALL on NAND and don't use an SD card for a swap!

It all fits on the Kaisers minimal NAND and runs much smoother.
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
Try system on nand p2 and data on nand p3, or both on auto. 2 badblocks isn't too bad.
[Tilt, TyTN II, MDA Vario III Android Development] bobbyhack:
I have system now on nand p2. But with data on nand p3, they ist not enough space for apps. So i would like data on sd
[Tilt, TyTN II, MDA Vario III Android Development] PoXFreak:
If the /system partition is set to 100mb, that leaves you with about 112-114 mb for /data, of which, depending on your setting in ATools, you could use from 5-30mb for the/cache partition.

if 82-107mb isn't enough for you, maybe you should put /data on SD and max your /cache to 30, although I can't imagine anyone needing that much space for our meager Kaisers...
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
I keep trying to get Froyo so that it allows apps to move to SD. Scooter1556 had that working once, I think, but I could never quite get it. That, in my opinion, would be the last elusive-yet-possible feature missing from Android on Kaiser.
[Tilt, TyTN II, MDA Vario III Android Development] PoXFreak:
I believe you're right...

The only thing I could see keeping that from happening is the fact that, once moved, the system seems to forget where the app is installed and it doesn't show in the app drawer, although there is mention of it under the "Manage Apps" tab in "Applications".

G+, Pandora, and other space-hogging apps seem to be affected the most which I think has to do with certain "dependencies" (Windows speak) within the Android system that are carried to the SD on transfer/move and, when called upon, the system looks in the old location.

Enough of my banter... any other ideas?
[Tilt, TyTN II, MDA Vario III Android Development] tomcug:
Yeah, would be nice ;). I have just one question about your latest Fresh Froyo release (I believe you continue developing this thing). Why WiFi doesn't work for me? Or at least not the way it should. I mean that I can turn it on once after every soft reset, trying to enable it again ends up with error. Thank you very much :). By the way, the release before the latest one doesn't suffer from this.
[Tilt, TyTN II, MDA Vario III Android Development] Mellose:
I'm using it with "Fat free froyo" and it's working fine... I want to see how it manages the battery. :cool:

Nice job.

Regards.

Phone: At&t Tilt

Radio: 1.70.18.02
[Tilt, TyTN II, MDA Vario III Android Development] cupidon192:
I tried to install the Fresh Froyo 8/25/11 in this kernel, but wifi doesn't work. I use Radio-1.71.09.01. How can I fix this problem, please help me?
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
use the androidupdate that matches the kernel.
[Tilt, TyTN II, MDA Vario III Android Development] cupidon192:
I updated with the RIL-fix that you posted, but wifi still not working
[Tilt, TyTN II, MDA Vario III Android Development] PoXFreak:
I believe what n2rjt means is the "androidupdate.tar" file on SourceForge, about 7.4mb in size which contains module updates and files to allow the /cache partition to function properly. These files come as part of "system_froyo_odex" on SourceForge, Scoot's Cyanogen 7.1.0, and his Cyanogen 6 build, maybe some others (I'm working on a port myself). All others require the update.
[Tilt, TyTN II, MDA Vario III Android Development] peter s:
wifi error

I encountered the same using this kernel with Scoot CyanogenMod 7.1.0 RLS3 (Gingerbread 2.3.5) on Polaris. Not sure if it works using RLS2. Clues anyone?

Note that wifi can be reenabled without a reboot using settings->wireless->wifi while attempts from power control widget and notification power widget fail.
[Tilt, TyTN II, MDA Vario III Android Development] haissem:
Sirs where can i get the latest atools? 1.3.0 respectively? thank you very much
[Tilt, TyTN II, MDA Vario III Android Development] Ttblondey:
it's under one of the post/thread if I'm not wrong.posted by l1q1d you can pm him.
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
I thought it was in a sticky thread, but am traveling so I can't check easily.
[Tilt, TyTN II, MDA Vario III Android Development] PoXFreak:
ATools is so popular by now that it will most likely show up in a Google search, but for the lazy people, here it is:

http://sourceforge.net/projects/androidhtc/files/AtoolsRelease/

You're welcome...lol.
[Tilt, TyTN II, MDA Vario III Android Development] gpkumaran:
Hi,

I want to use Scoot Cyanogenmod 7 with this kernel.. i installed with all(system data cache) on nand and it worked well except for some Force Close at the beginning of the boot..

Now I want to Use this with

System in NAND and

Data and cache in SD(ext 4)

1. Is it possible to use this kernel with ext4??

pls help..

2. Also, what Shud i do in A-tools to put Data on SD(ext 4)?

3. I shud use the A-tools with Cache right?
[Tilt, TyTN II, MDA Vario III Android Development] DocMCSE:
Feel free to think me a noob because I'm starting to feel like one the more I try to fix my mess up. I had my Kaiser all updated with Cyanogen 7 Gingerbread and after installing a few too many apps started to have low memory issues. Decided to try some app that moves other apps to the SDCard and now I have an odd screen rotation issue. If I'm in a program and slide open the keyboard the rotation is correct. If on the other hand I open the keyboard from the home screen the rotation is 180 degrees rather than only 90. I've read every thread that talks of issues regarding screen rotation and have tried them all (setting the orientation display setting, changing the panel type in the kernel and even changing the resolution/density but none have worked). I have reflashed the kernel and reinstalled GB several times but the trouble remains. Anyone have something new I can try as this has me completely stumped. :confused:

SOLVED!

So all along I was thinking that I had done something while it would seem that the trouble is in the settings for ADWLauncher (ADWlauncher settings => system preference => system persistence). I read someplace else that the system persistence setting locked the screen to portrait but in my case it ended up as upside down portrait when opening the slide. Unchecking this and now both the desktop and programs rotate the screen properly when opening and closing the slide.
[Tilt, TyTN II, MDA Vario III Android Development] Aiex Rlder:
hey, about to try out the kernel later tonight, which CM build do you recommend? i remember your CM6 being pretty immense, how is the CM7 compared to it? cheers!
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Well, I expect it would answer your question if I said that I use my CM6 build and have done for quite a few months now. I don't think in it's current state I would use CM7 consistently when I need the phone for work etc.. CM6 is faster, less resource hungry and just more polished at the minute. It might be different when I get some time!!!!! to compile 7.1.0 but I don't expect it will still match CM6 in terms of speed.
[Tilt, TyTN II, MDA Vario III Android Development] PoXFreak:
Yes, I load the nbh into ATools and only change CPU, battery, and keyboard type.

I gave up trying to figure it out because I just wanted to test it. It seems to be rock solid stable and quick and, after one lock-up and hard reset... NO data loss.

I've had the issue with the keyboard type in the past and I eventually figure it out. Most of the time it's a build-specific issue (did it with no-so-super froyo but not "system_froyo_us" from sourceforge, go figure).

I must say that I am completely happy with the kernel, aside from the marginal keyboard problem it seems to be working great. Thank you scoot for your efforts!

Now time to MTTY my spare and recover those 600 bad blocks so I can use this kernel with it. (bad blocks popped up after a "bad" kernel install).
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
Sorry man, your issue lies elswhere. I too have a Normal Kaiser, i too overclock to 530, and the GPU, and set bat points to 4480. ALL OF THAT, made with scooter tweaked Atools, and used on his CM6, ToughlessKyle Froyo, and VaniljEclair. Only Eclair had a few quirks with the Power Button, all others the keyboard works as it should :)
[Tilt, TyTN II, MDA Vario III Android Development] PoXFreak:
I gave up messing with it and am just trying to get this phone to crash...lol.

Scoot, I must say this is a much better option than what I was trying to do (put the cache on SD in a 256mb partition, along with swap).

So far (as I look in Spare Parts), boot time is around 38 hours since I played with the kernel settings. It would have been longer had I left it alone from early Wednesday until now.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
I'm also enjoying a relatively stable phone. For the first time I haven't restarted my phone since Monday which is unheard of, usually it would crash and I would have to restart usually corrupting data so it's a good start. I've been busy with work all week but I plan to do some more RIL work this weekend and perhaps make this partition more permanent in the kernel and try to remap Vogue and Polaris also.
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
This sounds like it works well. I have been reluctant to try because my goal has always been "everything on NAND", with the ability to run without an SD card, since it is so much faster. A separate partition for cache hurts my goal, but maybe I need to look at it.

What partitions should be on SD card? I have always gone with "none" and made /data as huge as possible. I guess I can't resize /data yet with this kernel, so all of my favorite apps won't fit. Maybe /data can go to SD card? Or is that too slow? Or perhaps /system on SD? I have an 8 gig class 6 card.

You weren't planning on this being more stable, right? That was an unintended benefit? I haven't even heard of anyone having corruption in cache while running this. Was there perhaps a fatal flaw with the way cache was mapped to /data before? Or are there just so few of us that this build hasn't really had very many hours on it yet?
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Yes, I can add an option to select where the cache partition is installed in the installer menu the same way you select data and system eventually.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Well, the reason I tried this is because newer kernels and android versions have been coded taking full advantage of the fact that cache is on a separate partition. The issue I was trying to get around is cache items and data items being written at the same time but with the symlink, to the same partition possibly causing issues. There is no danger of blocks of memory being allocated for to data and cache and then fighting each other. I am running everything on NAND still, it's just that data is 20mb smaller which can be an issue but i'd rather that and just move some larger apps to sd in android settings. At least that way you are only relying on the sd card for certain apps and not a whole partition. It's up to you if you want data on sd or system for that matter, it's not what I do and I did this kernel to benefit me to be honest as I don't really care for installing loads of apps so I still have 30mb of data left with all the apps I care about installed.

I don't really think this hurts your goal if it allows everything to run on NAND without corruption, it just cuts down the space which is a downside to our small amount of memory. I figured there must be a reason for all native android devices having a separate partition for cache so thought it was worth a shot.
[Tilt, TyTN II, MDA Vario III Android Development] PoXFreak:
Right there with you scoot... I currently have about 42mb free in /data.

I did have one lock-up today (frigging facebook), but after a hard reset and dalvik clearing everything came back fine.

@n2jrt: I have a class 6 4gb SD card and split it to 3 partitions.

1. 3072mb FAT32

2. 512 ext2

3. 512 ext2 swap

I put /data in partition 2, saved partition 1 for crap (pics/music/video/etc.) and told the kernel to use partition 3 for the swap/cache. I also made the /system partition smaller (85mb), leaving more room for data. Neither option worked as well as what scoot has here.

It's Friday night: I booted my phone only once since Wednesday night, and if not for the stupid facebook update I would not have had to reset the phone. NO data corruption is the biggest bonus with this kernel, and I also enjoy how much quicker it seems to run.
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
Okay, I'm game to try. But I like my resized data partition to be on the large size, so I'll probably end up playing with the kernel and atools to see if I can make it happen. Assuming that this kernel is on the scooter experimental branch, and git is up to date, I'm trying it after my morning coffee.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
I'm gonna try and rejig the Atools patition size slider to include cache but I haven't thought about the maths yet.The kernel is just the standard .32 branch, not my experimental branch! All of the changes are in the initrd and I haven't pushed the changes because not everyone wants a cache partition and it isn't implemented very well. I was going to sit down and implement it better today but I managed to lock myself out so I've been at the neighbours waiting for the girlfriend to come home all afternoon.
[Tilt, TyTN II, MDA Vario III Android Development] PoXFreak:
IDK if it would be possible but, given that the slider increases/decreases the /system and /data partitions propencially across the total 256mb (not really but just for sake of discussion), couldn't a multiplier/percentage be added to the /data partition that would make the cache partition size change in perportion to the /data size?

Just a thought... Kind of the same way NVidia implemented "turbocache" on their video cards, only in a different application.

Sorry to hear of you being locked out mate, but at least you have a girlfriend you can trust giving your key to...lol.
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
I've installed the kernel and the new RIL. Both work well, thank you. I'll run it as-is for a while. I crashed it once, and no issues on reboot.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Good stuff, I will probably have a go at ATools and the initrd today if I get time. I compiled CM 7.1.0 yesterday and I'm running it now. I though it was dog slow to start with but after an hour of leaving the phone to it's own devices it's got pretty snappy. I haven't mentioned it on the CM7 thread yet because I know quite a few people are waiting for it and I can't be arsed with all of the 'when are you gonna release it' questions as I might not get time to iron out some of the bugs I've found, but we'll see. Morning rant over :D
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
After a bit of time on this kernel, I can say that it has two nice things that have been missing for a while. It is fairly stable, meaning that it doesn't crash much. It tends to not die in its sleep nor suffer the white screen of death. It also recovers well after a crash. If I don't clear the Dalvik cache, I see a ton of errors from yaffs, saying something about GC, but the system is stable nonetheless.

With the added stability, I have been able to diagnose a problem that has been plaguing me for months. I tend to use Bluetooth a lot, for hands-free in my car and for streaming A2DP music to my headphones at work. I now see that when bluetooth is enabled, the phone crashes much more frequently. I never see a /proc/last_kmsg file on reboot, yet it seems otherwise like a kernel crash. I'll be trying to diagnose further, now that I don't worry about losing all of my data.

I wonder if someone can take advantage of this stability and look into the old NAND issue?
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
I'm not entirely convinced there is a NAND driver issue as such, I can't really work out why the NAND driver would be at fault seen as most of these memory chips work in much the same way. The only reason I can see that corruption would occur is if for some reason the memory limits were set wrong or something but the driver doesn't define this. I therefore came to the conclusion that it must be something to do with either the filesystem, but it's stable enough on all other android phones so I can't see why it would be this, so it's possible it's just the way the android OS writes to these partitions and the possibility of the symlinks messing things up, hence this kernel.
[Tilt, TyTN II, MDA Vario III Android Development] PoXFreak:
n2rjt:

I had noticed the crash issue using Pandora through bluetooth to a set of headphones but this kernel seemed to clear it up. I think what was happening was Pandora downloads the song to ready it for play after the current song ends. My guess was the cache would get overloaded and crash the phone. Even though the previous song was still playing, there was no response from the phone and the music stopped once the last song ended.

Could be that both the music and bluetooth share the cache and when it would download another song it would run out of room.
[Tilt, TyTN II, MDA Vario III Android Development] PoXFreak:
Almost 2 weeks and no data corruption at all...

Scooter, YOU DA MAN!...LOL.

Seriously, I have had nothing but good luck with this kernel. I would even be willing to sacrifice another 10Mb if it meant a smoother faster interface.
[Tilt, TyTN II, MDA Vario III Android Development] dark_prince:
Just to overcome my fears, will there be any init.rc corruption? I would gladly bring Android back to my device if I get persistent OS with my changes.