yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
It was a minor change. Plus I didn't include all the garbage code for the other chip types that DeVinci uses. Our Kaiser's use the 8 version of the chip, which is 2048kb page sizes, so the 64 only applies here. Also, even though the core NAND hardware is the same. The NAND addressing, and DMAs are completely different than our Kaisers. So just taking the driver and migrating it over will not work. It'll still have to be re-coded to look in the right address space of our Kaisers to find the chip. Which in all honestly would probably be more work than it's worth.

But that's not the problem. Our issue is the way the NAND driver writes to the flash chip. That's what is bugged, and that's what we need to look at. Now if the oob is now fixed, and writing correctly, I can look at the writing functions, and figure out from there if there are any issues with that part of the coding.
[Tilt, TyTN II, MDA Vario III Android Development] tiagoclc:
Data is fine, until now.

Im using system on sdcard and data on nand (213MB partition)
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
Did you get corruption, or are you saying data on NAND is still going without corruption and just waiting until it happens?
[Tilt, TyTN II, MDA Vario III Android Development] tiagoclc:
Still fine

Still going without corruption even after 5 reboots, including 1 after battery get empty.

I'm using this configuration for almost two days

Perhaps the data is ok because of the size of the data partition.

BTW, I'm using the RLS3.

If someone wants to try, my modified NBHs are attached below.

Remember to modify using atools and also remember to set system on sdcard(ext4) and data on nand.

Sorry about my english. I'm brazilian and still learning... :)
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
Glad to hear. Just LMK if anything happens (corruption or otherwise). :)
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
The kernel build works fine for me, but tinboot fails.

tinboot.S:142: Error: attempt to move .org backwards

Maybe the initrd grew too large.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Have you updated to the latest tinboot source?
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
That's the problem. The updated bootenv is too large. It compiles initrd.lzma at 1.1MB instead of ~900KB. Because of that, you have to really strip down the kernel to about 1.6MB instead of 1.8MB.

I'm using the pre-compiled initrd inside tinboot.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Yes, that is since the busybox symlinks were updated. What i do is extract the lzma and replace the files in the root of my directory which i update from git which fixes the symlinks and it builds properly.
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
I just create a seperate directory (initrd.backup), which has the files from initrd.lzma, and I modify the buildInitrd file to use that directory instead. If I overwrite initrd folder and try to update, it says "Already up-to-date."
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
Thanks, that is enough to get me back on track, I think. Sorry for being off-topic.

I've gotten tired of the daily pain of living on the edge, and have reverted to my Wizard. Give me a few days to recoup and I'll probably be back to Android on the Tilt.
[Tilt, TyTN II, MDA Vario III Android Development] msichal:
IS there a way to fix sleeping forever? Simply, can't wake from sleep and need to restart. I've got this kernel for like 30mins and it happened 2 times already.

EDIT: And after restart I've got hanging system process(need to tap "wait"), but that may be a release bug (newest Scooter's CM6.1)
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
@msichal: probably nand corruption, install data on sd.
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
It could one of two things, or both. Incorrect Panel type, or as l1q1d stated, possible nand corruption occuring.

Trying changing Panel types. If you're using the default panel2 that came with the kernel .nbh file, use atools to switch to panel 1 or panel 3 and see if it helps with your phone's sleep problem. Also as what l1q1d stated, try installing /data to SD card instead of NAND. Make sure you modify the kernel with atools and re-flash it to set it to the correct install location. :)
[Tilt, TyTN II, MDA Vario III Android Development] msichal:
Panel 2 was all white for me, I'm using type 3 at the moment. Maybe it's corruption, yaffs says that block 119 is bad, but I think that it may not be true.

The bigger problem ath the moment is phone, I can't call and receive calls, mobile data, SMS and USSD codes work fine ;/ I'm using the newest kernel release from the first post and newest english scoot's CM6.1.2(i thought it may solve the problem).

I'm using 1.71.09.01 radio rom, it was doing fine both on android and WM, something crashed like hell and the reinstalls aren't working.

I was trying to avoid data on sd because i wanted a possibility to use kaiser as removable storage, but i see that isn't working anyway :)

Any ideas? I like android now more than WM :)
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
How this problems are related with this kernel? Why you don't open a new thread or write in the "all problems thread"?

Please! you have the classic problems related with yaffs corruption and radio firmware problems so:

1) write in another tread

2) reinstall all and change radio firmware.
[Tilt, TyTN II, MDA Vario III Android Development] tiagoclc:
I'm using, in the last 4 days, Rls3 modified to set 1MB to mtd2 and the rest to mtd3.

System on ext4 and data on nand.

No data corruption!!!

Maybe the nand driver could not manage to read from system on nand and write to data on nand at the same time...

--scooter's CM6 6.1.2
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
Glad to hear, after 4 days no data corruption. This weekend, I'm going to continue "safe" work on the NAND driver. Also, I'm going to try doing what you did. Set /system down to a relatively small size, and have /data have the entire NAND and move /system to SD Card partition, since EXT4 seems to work really well speed wise in comparison to EXT2.

I know I'm going to get alot of bad block errors, but maybe I'll get lucky and they'll start going away one by one, lol.
[Tilt, TyTN II, MDA Vario III Android Development] cyberbob1200:
Hello Krazy-Killa,

great Rom, it´s very fast.

The only problem with my MDA Vario III: Wifi doesn´t work.

I have tried various Radio Roms, the same problem.

About 5 seconds after activate, error.

Do you know the problem about MDA Vario III & Wifi?

Kind regards,

cyberbob1200
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
This isn't a rom! This is a kernel!!

probably you forgot to apply the modules attached in the first post.
[Tilt, TyTN II, MDA Vario III Android Development] kvnxp:
haha the men is confused with kernel as rom XD ..

mems have a problem with reboots i use this kernel ...and barebones cyanogemod. or 5.5 or 5.1, scoot 6.1 and froyo on htcandroid .. the problem started when i turn off the phone 5 times o more.. then start to reboot ... how to fix the problem.. ?

ah ..i have installed a gsm rom 1.7.1 .. this cause of reboots ?

sorry for my english XD ..
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
nand corruption, install data on sd.
[Tilt, TyTN II, MDA Vario III Android Development] cyberbob1200:
@l1q1d:

Okay, I forgot to install the update:

File Type: tar	androidupdate.tar (6.76 MB, 299 views)

*Grrrr*

Now WiFi works great :)

MANY THX.
[Tilt, TyTN II, MDA Vario III Android Development] kvnxp:
mmm thks l1q1d1 ... does no work .. still have problem with reboots .... i think . the problem is system partition.. i will install system part on SD ..see you
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
If moving /system SD Card does not help or only helps slightly, you may have set the wrong panel type which can cause Android to crash whenever the panel tries to sleep or tries to activate. Experiment with different panel types to see which one fairs better. Panel 2 is very common, but panel 3 is also a choice to give a try (I use it as it's much stabler than Panel 2).

Sorry for not being as active on the kernel lately, been dealing with personal matters. I'll stay as active as I can and help anyone who has issues, and hopefully get more releases out.
[Tilt, TyTN II, MDA Vario III Android Development] kvnxp:
ok Krazy-killa ... dont worry ....XD .... and.. thks for you help ..i'll test with panel 3 thks...!!!! :)
[Tilt, TyTN II, MDA Vario III Android Development] chandra_100:
I have tried the new RL3 with sys on sdcard(ext4) and data on NAND. Tried both Scoot's RL6 and the modified CM7 posted here.

Results with Scoot's RL6 are very good and working fine so far. Though experience with CM7 is bit laggy esp with the launcher.

No data corruption experienced with this kernel in the last 2-3days.

Though out of topic , one thing when I plug back my SD card from above to my PC its strange that the ext4 partition shows as ext2- I use 'Gparted'. To confirm I have tried this few times. Could you pl share your experince ?

(I wanted to confirm myself atleast that I have tested EXT4!! :))

Cheers,
[Tilt, TyTN II, MDA Vario III Android Development] dany547:
nice

works pretty well,5 days and no data coruption (installed on EXT4) the only thing that i hate is the part when the devices wakes up(i have to wait some seconds)

Great Job man! :D
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
As far as I'm aware, RLS3 should be able to format EXT4 from within the phone. But, if not, check out my Post #54 Kernel, with attached androidupdate.

When you go to install Android, the phone will format the SD Card partitions or img files as EXT4. Not sure why it's showing EXT2 on your end, if the SD Card is formatted as EXT2, my kernel won't be able to mount it as EXT2 filesystem is completely removed from the kernel on compile. The only file systems that are compiled into my kernel are EXT4, YAFFS2, and SquashFS (For using SWAP in some CM builds)

@dany547,

Glad to hear it's working well for you. As for the long wait on sleep, I'm starting to see a pattern with this. I'm thinking my kernel is extra sensitive to incorrect panel types, if you're not using the exact panel type of your phone, android will take time to wake, if you use the correct panel type, the phone will wake on a dime. I'm using Panel 3 without any problems, though no matter which panel type I use I get the white screen and pixel snow, but Panel 2 always caused me problems. Experiment with different panels, and see what happens. :)
[Tilt, TyTN II, MDA Vario III Android Development] chandra_100:
Added to above comments, all other inputs I have indicate that it has mounted system as EXT4 to the SD with data on NAND. If I browse thru phone &phisically check sys files are located in this partition only .

My Tytn still cool :cool: ..

So may be some intrigue with the GParted tool! I will see to it during next flash.
[Tilt, TyTN II, MDA Vario III Android Development] dany547:
panel 2

now i'm running android on Panel 2, the delay is gone,but the white screen and pixel snow is still there :(...those are problems with the Kaisers 3D drivers i think :mad: , did you find any solutions sir?
[Tilt, TyTN II, MDA Vario III Android Development] sunngoc:
It's very helpful for me
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
I haven't looked at the panel (video) drivers, but when I get a chance I'll look at them, but as far as I'm aware, the driver works, just with alittle bugs and hicups included with it.

So far the only cause I can think of for the crash after sleeping is possibly the suspend hack that's in place so the phone sleeps while in standby.
[Tilt, TyTN II, MDA Vario III Android Development] chourmovs:
can't wait for polaris support

i want to test benefice of ext4

thx by advance killa
[Tilt, TyTN II, MDA Vario III Android Development] dany547:
I see , so that can be fixed in the near future if you find the source of the problem? :(
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
Polaris support is enabled in my Post #54 Kernel, if you would like to try it out, by all means. :)

@dany547,

I will look at the coding, but too be honest, I'm not even sure where to look to find the standby code. If a dev who has been looking at the code longer than I have show me where to look, that'll be great :D.
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
standby options:

System Type -> Suspend sleep mode ->

and

System Type -> Idle sleep mode ->
[Tilt, TyTN II, MDA Vario III Android Development] chourmovs:
i get the error message

"install module for this kernel

apply modules/androidupdate.tgz

Failed

from sourceforge"

maybe i missed something
[Tilt, TyTN II, MDA Vario III Android Development] jairoch:
Haret kernel

Hi, I'd appreciate it if you can explain to me how to install latest krazy killa kernel using haret? Also, I'd like to know how to extract the files from a .NBH and .NB files (Unpack .NBH and .NB files).

Thx
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
Make sure you install the provided androidupdate file included in Post #54, if you don't that error will occur.

And as far as using this kernel with HAReT, I have not included the actual zImage file for HAReT, as I haven't seen any requests for one, but I'll go digging through my laptop (just had to reinstall Ubuntu due to hardware failure, ugh). Luckily I kept all my files on a secondary partition on the laptop drive so when I reinstalled, everything was secure but now everywhere. Once I find it, I'll include it in the OP of this thread, and also update the original post with Post #54s Kernel package and androidupdate package.

Overall should I have this done by this evening (EST time)

I must admit after viewing the current poll results in this thread, I have received really good feedback on this kernel, and I'm really greatful to be a part of the actual development process, even though my contribution has only been minor, it still gives me a sign of accomplishment.

Thank you all again for your continued support, and as with most here, it's an incredible experience and learning process for me. :)
[Tilt, TyTN II, MDA Vario III Android Development] chourmovs:
The problem is that i applied the update after the end of rom setup :D:(:confused:
[Tilt, TyTN II, MDA Vario III Android Development] chourmovs:
and thank you to you first ;)
[Tilt, TyTN II, MDA Vario III Android Development] masteryoda:
wifi dosent work for me
[Tilt, TyTN II, MDA Vario III Android Development] tiagoclc:
I'm using system and data on a class 10 sdcard with scooter's CM 6 rls4C (fatest froyo build ever) and Rls3 nbh.

Quadrant score: 343 - between xperia and motodroid!
[Tilt, TyTN II, MDA Vario III Android Development] tiagoclc:
Krazy, do u know y quadrant system information shows an amount of inactive memory?
[Tilt, TyTN II, MDA Vario III Android Development] -=xXx=-:
Tried You kernel with Incubus26Jc's Super FroYo 2.2 but I'm getting error

"install module for this kernel

apply modules/androidupdate.tgz

Failed

from sourceforge"

maybe you know the solution ?
[Tilt, TyTN II, MDA Vario III Android Development] J-zilla:
Hi Krazy

First off thanks for your work on this.

For someone new to this thread what's the install procedure?

I have downloaded the customised CM7 from the first post and the kernel from your post 54.

Flashed my kaiser with the kernel and installed the CM7 rom as usual. Put it all on the SD card - 4 partitions, sys on 2, data on 3, and swap on 4

Then I applied the update from post 54.

Is that it? it seems to be working fine - but reading through the posts I see people refering to RLS3? is that the kernel from post 54? Other posts mention different modules and updates but I haven't found any other attachments/downloads etc?

Am I missing anything or is that it? customised rm7 rom from post 1 and kernel and update from post 54

Thanks

J
[Tilt, TyTN II, MDA Vario III Android Development] tiagoclc:
Bluetooth

Bluetooth still doesn't work...
[Tilt, TyTN II, MDA Vario III Android Development] jairoch:
Hi, where are the files to download? Now, there are not attachments in the 1st post as some days ago. pls, don't forget put the zImage there.

thx
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
Files have been uploaded! So sorry for the delay, but the files have been uploaded to the OP. All files included, even zImage w/ initrd file. :)
[Tilt, TyTN II, MDA Vario III Android Development] brick2009:
"install module for this kernel

apply modules/androidupdate.tgz

Failed

from sourceforge"

I wait a minute then stop at "mdp_dma_to mddi:busy"

so circulates
[Tilt, TyTN II, MDA Vario III Android Development] mar00s:
Is there working camera on this kernel with cm7?
[Tilt, TyTN II, MDA Vario III Android Development] cornelha:
Using this kernel and the supplied update, still get the "Install module for this kernel" message. Am I missing something here?
[Tilt, TyTN II, MDA Vario III Android Development] chourmovs:
same question on polaris, are we dumb ?
[Tilt, TyTN II, MDA Vario III Android Development] tiagoclc:
Krazy, is this new nbh release based on the one present on post 54 or based on rls3 posted before?
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
This Kernel was compiled after my potential failure on fixing the NAND driver corruption issue that has been and still is present since day 1.

So yes, this Kernel is based off of my post 54 kernel, with some minor adjustments.

I am investigating the reason why the modules are not working, especially for Polaris users. I have just found all my sources for my kernel, and re-organized everything, so I'm beginning my work today to isolate the issue and get a fix out as soon as possible.

My Kaiser is sitting in storage right now, but I'm pulling it out and re-flashing my kernel to the phone to begin diagnostics.

UPDATE (04/16 19:57 EDT) - I have been successful in getting system partition on EXT4 partition and data partition on NAND. Total space is 111MB which is correct, but I have 41MB free, and the data partition was wiped, so a good 63% of the data partition is filled with bad blocks.
[Tilt, TyTN II, MDA Vario III Android Development] chourmovs:
Good to hear

Good luck for your investigation
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
Have you tried re-downloading the latest Kernel on the OP.

So far I haven't any issues with installing android then the modules. I have checked my build and Polaris support is still enabled.

Let me know. :)
[Tilt, TyTN II, MDA Vario III Android Development] chourmovs:
i've to admit i didn'nt try since a polaris user complained about the fact that your last update did'nt work

I'm on holiday so i will try tomorrow
[Tilt, TyTN II, MDA Vario III Android Development] chourmovs:
i downloaded your kernel+ module update from yesterday

i edit the .nbh with atool to fit my polaris with just the standard options

save it

i copy androidupdate to my andboot folder on my sdcard

flash the kernel

install last cyanogen 7 alpha

run the update

and when i launch it i get the traditional

"install module for this kernel

apply modules/androidupdate.tgz

Failed

from sourceforge"

tell me for another attempt
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
New release available. Check OP for updated files.

Also please let me know if this solves the install modules error. This goes especially for any Polaris user.

Thanks. :)
[Tilt, TyTN II, MDA Vario III Android Development] V3rt!g(o):
Hello.

I was wondering if this kernel (and other new kernels in development) is available for haret. Im still using windows as primary OS, so i dont want to flash the phone every few days.
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
Yes it is available for HAReT, please read my OP and check the attachments of that post for that particular file.

Please note that my packages do not contain HAReT itself or any config files. Just use whatever default.ini file you have in your andboot folder, and it should work fine.
[Tilt, TyTN II, MDA Vario III Android Development] V3rt!g(o):
omg! i usually wear glasses but i didn't know i was this blind :D

thx. will try it and report performance :)

EDIT: after few hangs with newest haret, i managed to boot with haret version pre-0.5.3-20100914_124354. It hangs at progress bar for a minute or two and then it continues to boot.

Installed Fat Free Froyo, sys and data on ext4 partitions. Booted quite fast, no errors. Performance is good. All features work. It cant enter deep sleep (wakes up on any button) and it drags around 1100mA while just idling. When i turn everything on, it is charging hardly above 100mA :confused: I will try another radio, maybe its got something to do with power consumption.
[Tilt, TyTN II, MDA Vario III Android Development] chourmovs:
Unfortunately it doesn't solve

keep patience ;)
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
Can you try and pull your bootlog file? It should be in "/bootlog.txt".
[Tilt, TyTN II, MDA Vario III Android Development] chourmovs:
the only thing i found in andboot folder is dmesg

and exports with 3 insignificant lines
[Tilt, TyTN II, MDA Vario III Android Development] chourmovs:
after rom install and before returning to nand, there's a long list of unusual report/error/warning log but it scroll to fast for me to report

maybe tha's what you expected in the bootlog...
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
I've attached in this post a diagnostic version of my current Kernel, please either use the initrd.lzma in your andboot if you're using HAReT, or just re-flash the kernel if using NAND.

When you boot it, and it prompts the error for the modules, it'll dump the bootlog.txt into your SDCard's root folder. Please attach it (don't copy & paste), so I can take a look at the log and figure out what to do from there.

This attached file will only remain until I have collected enough information to repair the issue with our Polaris users. Once it's been fixed, this attached file will be removed.

Once you've gotten the log and posted it, please reflash the original kernel
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
I'm ignoring everything passed line 7 as everything passed that is just a loop. It does look like it's finding the partitions correctly, but not finding the modules. Have you tried seeing if it'll work with system on the SD Card?

It could be that the Kernel is finding the partitions, but not the modules themselves due to either: not being written due to lack of disk space, or data corruption.

Also have you given your system partition enough space to install Android? I recommend at least 130MB minimum for system to install Froyo or Gingerbread, 100MB for Eclair and 80MB for Donut. If there's not enough space, Android may install but then the update will fail due to lack of space. Unfortunately my update requires about 5-8MB of available space in system to install, and that's including any modules that the build may already have that my update will overwrite. And it's also because of the amount of modules my Kernel relies on to operate.

Also when you modified under atools, did you set where you wanted to install everything under the fstab area, instead of using the Auto function? If you're using the Auto function for any of them, try setting them to look in the areas you specify (ex. NAND p2 and NAND p3 for system and data respectively)?

I'm using the "Auto" function personally for system and data, so I can go back and forth between my SD Card and NAND without re-flashing my Kernel everytime.

Hopefully I can get this solved within your 10flash a day limit, lol. :P