yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] ryomahino:
Hi, sorry for the noob question:

The nbh posted here are vogueimg, Can i flash this nbh in my tilt?
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
Use atools and change it to kaiser
[Tilt, TyTN II, MDA Vario III Android Development] ryomahino:
ok, thanks.

I tried using Atools in latest 31-10 nbh, I set 320x240, tilt keyboard and panel type 2, and put in my sd card root.

When I flashed my tilt stucks in loop reset after the first splashscreen.

How I do wrong? Anybody can upload his latest nbh for kaiser?

Thanks
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
Did you use atools 1.0.0 (not a or b)?
[Tilt, TyTN II, MDA Vario III Android Development] pentagramII:
The latest version of atools have a bug... when i changed a paramteres of nbh with latest kernel then I got a reset loop like U. With older ver of nbh editor its ok.
[Tilt, TyTN II, MDA Vario III Android Development] ryomahino:
Mmm Im sorry I use the 1.0.0b now i test the 1.0.0 version and now booted well.
[Tilt, TyTN II, MDA Vario III Android Development] TuoNonno:
Sounds interesting since g1 and tytnII has the same chipset (MDM7200 from qualcomm :)). Maybe we can extract from the htc kernel the driver for the camera part at least...
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
We can't do it because the camera chip is different
[Tilt, TyTN II, MDA Vario III Android Development] TuoNonno:
T_T I tought that the camera controller was built into the mdm7200 chipset T_T fail shadow on me... xD
[Tilt, TyTN II, MDA Vario III Android Development] tiagoclc:
but yaffs driver's used with 2.6.25 kernel works oob...
[Tilt, TyTN II, MDA Vario III Android Development] guerchele:
When are the following issues due to be fixed?

TODO:

finish battery support

rewrite camera driver

speed up gps

May I help anyway [testing?] sorting them out?
[Tilt, TyTN II, MDA Vario III Android Development] tiagoclc:
ipv6 protocol

What about implement ipv6 module?
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
First time always hurts LMAO

NOOOOO!!! mi first data corruption!! :mad: Latest kernel .32 still having this issues? How can i minimize this? Any suggestion? :confused: Even if I had to sacrifice speed or functionality.... right now im using my old htc tilt for bussines so i cant afford to be corrupting my clients data all the time.... im using warbyte's donut and l1qu1d's latest nbh (sys@nand/data@ext3, oced 450, 8gb class 2 sd). BTW Thank you so much for all ur time and effort l1qu1d and all devs too, tons of people aprecciate your work! Maybe I cant donate but at least I can thank!!
[Tilt, TyTN II, MDA Vario III Android Development] obso:
Really if you are willing to sacrifice speed and functionality in exchange for stability then your best bet would be to stick Windows mobile back on it. Really Android development on the kaiser isn't stable enough to be using in a business environment. Even with the .25 kernel crashes are just as prevelant, they just don't usually take your /data partition with it.

As dirty as it makes me feel to suggest Windows, if your business relies on your kaiser then it will be the most stable choice.

Or get in the habit of making regular /data backups.
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
reflash winmo? hell no ive become an androidphile cant keep my hands off of my tilt, I rather follow your wise counsel
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
Yes! just figured out that! i've inserted my sim in an sd reader on ubuntu and and all the data I asumed was lost was right there, its just that i couldn't reach it through sd share as usual.... thanks for your reply i tried this only after reading it!
[Tilt, TyTN II, MDA Vario III Android Development] obso:
Then just keep a recent /data backup. Having your data partition on SD helps make it less likely crashes will corrupt your data.

Also keep backups of the backups.. Because sometimes it sneezes while backing up and messes up both the backup and your current install :(
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
Yes, our 2.6.32 kernel still has a data corruption issue.

Maybe it's the lack of a clean dismount, which is as important for filesystems as it is for gymnasts.

DZO once said that the old kernel has the same corruption issue as the new one, but just doesn't detect it. The implication is that some data corruption detection was added in the newer kernel. So, what if that detection is buggy and giving us false positives? Something to look at.
[Tilt, TyTN II, MDA Vario III Android Development] tiagoclc:
Try this build: http://xdaforums.com/showthread.php?t=813382
[Tilt, TyTN II, MDA Vario III Android Development] maximus4crz:
Any update on this ipv6 module... or which kernel has this implemented....
[Tilt, TyTN II, MDA Vario III Android Development] flinx42:
I've been running the 10/29 2.6.32 kernel together with Thoughlesskyle's Froyo 10/22 for 3 days now.

Not a single hanger!!!

Neither have I lost the 3g data connection (or at least noticed a temp loss of it), nor did the Exchange account get lost.

:)

I've not dared to reboot it yet, but what a feeling!

Unplugged it this morning at 8:00 from charger and it is now at midnight reporting 43%

No real use during the day other than looking at a few emails, but still pretty good going

(Now I'm sure as soon as I press Submit on this, it'll crash, loose all data and go up in flames ;-)
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
LMAO!!!!!!! :D
[Tilt, TyTN II, MDA Vario III Android Development] clemsyn:
Just an idea to deal with this perky data error

DELETED >>>>>>>>>>>>>>>>>>>>
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
in next release i'll add modules for ipv6 but i think that they will reduce a lot the free memory.

i wait to test clemsyn's work (when he send me the sources)
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
IPv6 is going to free up some memory? Thats pretty interesting, were the v4 modules written poorly or do they just not need as many dependencies? I can't figure out how it would be smaller since it uses much longer IP's and has compatibility with v4 so it seems to me like it would be larger.
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
i wrote that ipv6 will reduce free ram!

more modules = less free ram!
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
that's what l1qu1d ment to say.... its a bigger file and will reduce free mem available
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
Ah so I mis-read it, I figured it would be a bigger module lol
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
I'll release tomorrow a new version with an updated initrd,

new implementation of nand and ext3 support.

I try to compile the ipv6 but it crash the sistem on wifi enable. It needs further work on it so i don't know if next release could have it.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
I have compiled the latest YAFFS2 into the kernel to see if it makes any difference to data corruption. I have done a few resets on my device even whilst installing an app from market and had no data corruption. You will get yaffs corrections on first boot after flashing the kernel unless you reinstall your system but once it has re-configured it seems fine. If it seems to improve things i will push the changes.
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
Put the changes to git.
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
I will do when I get home, has anyone tested it or have any feedback?
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
Its on my phone for testing now, will let you know how it goes.
[Tilt, TyTN II, MDA Vario III Android Development] samjam:
I'm trying it now. I'll have feedback in a few days.
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
yaffs!!

Awsome! gonna use it with ur rls4c and let u know how things turned out...
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
So far so good, I had a freeze while in the market with 3 apps downloading through edge. Not only did I not get data corruption the downloads actually resumed properly with my build and your kernel scoot. I think we might finally have a stable .32 kernel.
[Tilt, TyTN II, MDA Vario III Android Development] clemsyn:
ALLELUIAH!!!

Looks like you did it scooter!!!! 15 resets and no YAFFS error!!! Finally, I can rebuild my ROM for 2.6.32 :)

I highly recommend you guys try this out

UPDATE:

Did 2 battery pulls with wifi on, bluetooth on and GPS running (with IGO) and still no YAFFS error..
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
report...

No FC, freezes or data corruption whatever i made, I even rebooted, opened the sim compartiment, pulled out the batt tried both "sys and data on nand" and "sys on nand and data on sd ext2"... i think i can say goodbye to my loyal donut and .25 kernel :D But maybe we're talking to early... hope not!

One Question Scoot: Does yaffs apply just to NAND or to sd ext2 too?? or do I have to reformat it with ext3?? :confused:
[Tilt, TyTN II, MDA Vario III Android Development] Grandelama:
Testing and it seems rock solid :D

Thank you Scoot! that is really a breakthrough in the use of Android on our kaisers
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Yaffs2 is the filesystem used on NAND so only applies to NAND. SD partitions are formatted to ext2 so the update will have no affect on that. Ext3 isn't supported by the kernel at the minute but i believe it is on the agenda, it won't make a huge difference though, it'll still be slower then nand.
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
Tested with rls4c, my battery is failling and the thing rebooted again and again until u plugged on the charger.

After that... endless reboot, not the same type as before, i would get into the lockscreen, and then again into the booting animation... re-testing.

I'll probably try with the galaxy S version... just to test :D

Oh... OC'ed to 520... might make a difference :D
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
Happened the same to me, try not to oc the kernel through atools, flash it unoced and install rls4c, then use rogue tools and oc to whatever u want! I have passed like 6 hours without a single FC or reboot!

BTW scoot: THANKS AGAIN!! (im not going to get tired of thanking you! :D )
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
Yep in my experience that is the best way, as a matter of fact through a tools or the ancient nbh editor I did not experience ANY effect from the overclock only through rogue tools, not sure why I just didnt. Also anything past 520 through kernel made me unstable, the rogue tools way took me to 570 stable.
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
Well... it would be correct to say that my bat. is probably.... wasted4ever.

When in load, voltage drops to the point that the phone simply reboots.

I get 4.922mV.. but they're temperamental.

I will try your tip ;) with fatfree all-lang odex :D
[Tilt, TyTN II, MDA Vario III Android Development] samjam:
Something failed badly on my. appbrain was perhaps re-installing too many apps at once and it hung (logcat attached). Now it won't finish booting - won't even get as far as the gui screen. Here is the console text (including typos)

request_suspend_state: wakeup (0->0) at [timet]

Init untracked pid: [pid] exited

[repeated along with the usual stuff about unconnected endpoints]

Clearing the dalvik cache gets the animation going, so maybe it will be fine.... no yaffs errors though.

It finally booted; my home-screen icons were missing, but apps still installed (and exchange account still remembered). I got repeated goole services framework errors, and the power button only gave me the option for power-off, not silent-mode.

So I've trashed my data and will start again.
[Tilt, TyTN II, MDA Vario III Android Development] Grandelama:
Sadly I have to say that I still get force close messages after a complete configuration + turn off + backup /data + reboot.

No overclock, everything on NAND, RLS4, 12-11 kernel.

I tryed twice with the same final result
[Tilt, TyTN II, MDA Vario III Android Development] waterpolo:
Is the Polaris camera working with this built?
[Tilt, TyTN II, MDA Vario III Android Development] samjam:
Because of the lack-of-sync-unmount on shutdown (still can't work out where to put this) you may want to do some throwaway stuff before you shutdown, so that the important files get flushed to nand and some less-important stuff gets left out; or just wait a good while after installing before you do the shutdown.

Maybe "adb shell sync" first"
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
By RLS4 do you mean CyanogenMod RLS4, if so try RLS4c, but besides that i'm not sure what would cause it. The only message i sometimes get while the launcher is loading is 'process acore is not responding, force close or wait' but this is just android being impatient, i press wait and it loads as normal.
[Tilt, TyTN II, MDA Vario III Android Development] tiagoclc:
No yaffs error using kaisimg-10-11.zip.

Only 1 full system crash.

4 battery pull out for test purposes and everythings normal.

I think the problem is solved, finnaly!

Btw, I'm using Scooter's cyanogenmod rls4c english (save some space on system partition. This way I can use dzo's odex script without deleting cmwallpapers)
[Tilt, TyTN II, MDA Vario III Android Development] Grandelama:
Sorry, I meant CyanogenMod RLS4c.

I will try to follow samjam advices too see if I solve. (I have to say I tryed to reboot just after I ended my system configuration, without waiting a long time)

The messages I got were always without any possibility of waiting, and ended in some kind of reboot cycle.

Another time android market got stuck while installing an app, system was completely blocked, I soft resetted and same result after reboot: FCs and automatic reboot
[Tilt, TyTN II, MDA Vario III Android Development] obso:
Grandelama: I also got an automatic reboot loop when using scoots new kernel with CyanogenMod(both scoots version and lite) . Happens about 2 hours after installing system reguardless of what i'm doing at the time (even just setting on the charger). I don't however get the forced reboots with fresh froyo so it may be something in CM that needs fixed to play nice with the new kernel.
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
Same 2 me

Happens the same 2 me... i think samjam has a point... gonna try that... and if there are still reboots then I'll change of build. (but i dont want to!! cyanogen mod looks so nice and runs so smooth! :D )
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
I will experiment a bit more with the CyanogenMod build because i don't get any reboot issues at all. I do however remove quite a lot of apk's from the build before i install it on my own phone because i don't use a lot of it so i will try installing the build i upload for you guys and see how it goes, i might be able to narrow it down to a google app causing problems. Also, it would be helpful if people could post what settings they have changed from standard, i don't mean ringtones etc.. but if you have enable JIT or compcache or something like that it can make a difference.
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
My personal build is my lite with a few more apps added into the system folder, which is the browser, skyfire and linpack all odex'd. I haven't had any issues yet. I haven't had any YAFFS errors but it does seem a little unstable for some reason, like.... applications seem to freeze the phone slightly easier for me. But I havent had any data corruption at all.
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
I changed scoot's kernel for liquid's 11-12-10.... but freezes and endless reboots came back.... :( if I leave the build just as it is installed there's no problem, i think (but not sure) the problem ocurrs at the google sing in.....
[Tilt, TyTN II, MDA Vario III Android Development] tiagoclc:
Change home_app_adj to -17 (minus 17)

And home_app_mem to 1536

Both in sysinit.rc
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
Wow! Somebody is doing some good work. I have been busy a work so havent changed my kernel for a week. I rebuilt last night from the latest git, and it is much improved.

Faster.

No crash or lock (yet).

No corruption on shutdown.

All-day battery life.

My previous kernel lasted maybe 5 hours on a charge. This one has gone 7 hours and has 65 percent remaining.

Sorry I havent followed more closely, but somebody deserves lots of thanks and donations!

(Now watch my phone lock up and lose everything.)
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
These parameters certainly could make a difference, this is basically the same as the hack in ADW or cyanogenmod settings to keep launcher in memory but i'm not sure that will make a difference, the launcher will just restart if it gets killed due to lack of memory but give the update i posted here a go and let me know if it makes any difference to stability on my CyanogenMod build : http://xdaforums.com/showpost.php?p=9181054&postcount=211

Cheers
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
And as ia was saying this... my 2800mAh battery arrived.

Random reboot (not restart, complete cellphone boot with the vibration and that old WM boot screen) did not ocurred with this battery.

I edited the nbh with atools, set bat to 2800mAh, overclock GPU, and nothing else. I'm using Galaxy S rom, kind'a like it... i miss LiveWallpapers.. :D

Now... prove me wrong... but A-Tools is either bugged or lying to me. I open my nbh, it gets the params correctly, kaiser, res, panel.. etc.

Now, i set on the section "Battery Capacity", mark simple settings. if i use the arrows... i get the max of 1600mAh. Now... my bat is 2800mAh (at least its says it is.. ;) ) I have to... type this value...

And so i save! And i re-open the nbh (or close atools, open atools, reopen nbh...) and there you go... bat settings gone kaput! :D

So.. is A-Tools playing games on me ?? am i the only one ? :D
[Tilt, TyTN II, MDA Vario III Android Development] tiagoclc:
Makes difference for me. The important point is put home app at the same memory kill level as services... 1536

Sorry about my english, its very poor. I'm brazilan and still learning.
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
Hard to say but I always just use advanced and enter my capacity x 1.6 and it seems to be working great on my stock battery, lasts me all day. If after entering 2800x1.6 in advanced it still says that then I would just ignore it and see if it lasts like a 2800 battery.
[Tilt, TyTN II, MDA Vario III Android Development] l1q1d:
@n2rjt

New nand driver:

Faster.

All-day battery life.

new yaffs:

No crash or lock (yet).

No corruption on shutdown.
[Tilt, TyTN II, MDA Vario III Android Development] flinx42:
Unfortunately I don't quite share this enthusiasm for the latest liquid kernel.

I've tried it since Friday morning with two different builds (Not-So-Super 11/22 + scoots R4c)

Yes it's faster! Noticed especially on Not-So-Super, which I've used most recently.

1 lockup: left it over night on charger and found it at about 10:00 with display on and time still reading 8:23. tried buttons, but only reset worked.

With both builds did I get into an endless loop during startup.

Not-so-super was after proper shutdown.

Scoots R4c was after the reset following hanger

both times it meant a rebuild

:(

subsequent proper shutdown with scoots R4c were OK, but it's not 100% there yet for sure
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
Fast doubt: is this normal ???

ds2746: 4028mV 280mA charge: 57% (2600/4480 units, 2160 adjusted)

i used atools and inserted in Advanced Settings 4480, so that first red one is ok, but the second one??

P.S I'm such a d0rk... i've programmed in python... and i had a .py file, i just opened the .py and changed this lines :

Line 1619:

self.WidgetsLeft.WidgetsLeftBSettings.SpinBattery = Spinbox (self.WidgetsLeft.WidgetsLeftBSettings,values=(1350, 1600, 2800),width=4,state = DISABLED)

and

Line 1627:

self.WidgetsLeft.WidgetsLeftBSettings.SpinBatteryAdvanced = Spinbox (self.WidgetsLeft.WidgetsLeftBSettings,from_=1350,to=4480,width=4,state = DISABLED,increment=10)

BTW... is 1.0.2 the latest from atools ???
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
Sounds like its right, just starting to callibrate itself.
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
Great... and here i am flashing again... there goes bat calibration! :D

Thanks aceoyame !!
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
Q?

Hey guys... i have a question? I now ull kick my lazy ass for not finding it with the seach tool :D , but honestly I cant find the answer! I wanna change NAND partition sizes but every time I do it, the installer wont start formating and just displays: unsuported command or something like that... i've tried the three versions, using python over win7 and ubuntu and none of them worked.... :( i want to get as much space for data i can, now that yaffs are fixed!

Oh oh! another Q, If I extract (unzip) the androidinstall.tar to a folder and look how mux MB it has, is that the same ammount that will use over nand? (if it uses like 60-70 mb, can i shrink sys to 70 mb and leave the rest for data???)
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
Don't think so, i've seen androidinstall.tar with a system folder and a data folder, so the install must be able to copy files to the system partion and to the data partition. Partition size alone is defined by the NBH on flashing (I think).

Might be wrong though, correct me if i am :)

BTW, you should not untar the androidinstall.tar on windows, or any simple filesystem for the matter.

The TAR might have symbolic links (linux type, not 7) and thos cannot be created on ntfs/fat32. When you compress again, they're lost.

I've had 7z and WinRar warn me about this, mostly busybox though...
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
So what's the point of adding that function to atools? :confused: Or am i getting a wrong idea??
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
So... nbh creates the partitions... atools edits the nbh... so you can edit the nbh to create the partitions to your suiting/linking! :)

Was i clear ? i've read that frase 10x times... dunno... 4am here :)
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
Oh sorry man, go to sleep, Thnx
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
Do not want! Weekend... only time i'm allowed to be a night lurker... :D

Still, i'm currently testing my kaiser... the new battery is working wonders... :D

Memo to self: must stop using so many ...

As to your original question, just did a df -h:

/system has 102.8M, 89.5M used. Have 10M to random stuff that might be needed.

/data and all other has 111.4M, 25.0 used, so i think the default values from the NBH as cool...
[Tilt, TyTN II, MDA Vario III Android Development] n2rjt:
Hmmm, it is right but confusing.

4480 is your kernel battery_capacity parameter, I believe that is what you want.

The 2160 is the initial default for "adjusted", as confusing as that may be.

Perhaps the adjusted value should match the battery_capacity until an adjustment is made. I'll probably change that, but no hurry because it doesn't hurt anything except maybe cause confusion. When your phone reaches 99% full, the adjusted value will be reset, and will be more correct.
[Tilt, TyTN II, MDA Vario III Android Development] albertorodast2007:
yeah.. same 4 me... love the night so i can try new kernels and builds cause my wife has this "amazing" gift of making my flashed builds unstable... (she always interrupts me in the most important part of the installation) :D
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
Women make all things unstable. That's a rule :)