yashsingh1/xdaforums huggingface dataset:
[Touch Pro2, Tilt 2 Android Development] manny05:
ok will do. i did all that

now do i delete the other files ?! like the lib folder or the bindfile folder?

(which i got from the RIL thread since i didnt have those folders before...)

EDIT: so i did all that, restarted android..and when its booting it still says

"cant find system.img on SD card. cant access tty; job control turned off..."

is that a bad thing or what?! i waited for 5-10 mins and it wouldnt go anywhere.,..

yes i did. i extracted the file and i renamed the file that was inside the zip file..
[Touch Pro2, Tilt 2 Android Development] highlandsun:
I have some new patches for you to look at...

https://gitorious.org/~hyc/xdandroid/hycs-rootfs/commits/master

The wlan0 name change also depends on these patches

https://gitorious.org/~hyc/xdandroid/hycs-device_xdandroid/commits/froyo

https://gitorious.org/~hyc/xdandroid/hycs-device_xdandroid/commits/gingerbread

Not yet working over here. The "ip link" command is issued too early; the kernel doesn't know the device names yet. I'm still tinkering with it.

I got it all resolved, but it involved a few more parts than I expected. It also needs this

https://gitorious.org/~hyc/xdandroid/hycs-libhardware_legacy
[Touch Pro2, Tilt 2 Android Development] wmg316:
I sent you a PM....
[Touch Pro2, Tilt 2 Android Development] engfantom:
thanks for your reply but yes htc make arabic keyboard and it in rhod 100 but for me its ok not type arabic using my keyboard , i type using soft keyboard in market

but i mean reading arabic it appear letters not connected in facebook , twitter etc ...

and thanks again
[Touch Pro2, Tilt 2 Android Development] Ltilt2:
what if I don't have andboot folder? put it with were haret is?
[Touch Pro2, Tilt 2 Android Development] manny05:
thats the problem i had ^^^

you're suppose to have all of your files on your sd card inside the andboot folder..

thats why it wasnt working for me.

EDIT: fixed the music issue..

thanks for all the help guys. i know it must of been annoying but thank you for taking the time to help me out. great job on everything. keep it up :D
[Touch Pro2, Tilt 2 Android Development] nasapunk88:
sorry the steps were for just RIL and Rootfs. I assumed that you would have a working FRX06 build (which i always use andboot folder, but true thats unclear in steps) before you try testing these. Ill just change it to start from scratch =).
[Touch Pro2, Tilt 2 Android Development] engfantom:
mm i think it not supported yet right?
[Touch Pro2, Tilt 2 Android Development] wmg316:
I posted some detail instructions here if you want to take a look...might help.
[Touch Pro2, Tilt 2 Android Development] highlandsun:
F22: the other day arrrghhh and I noticed that holding the '0' key in the phone dialer doesn't insert a '+' character as it should. I found that the kcm files are all missing this line:

diff --git a/init.etc/keymaps/rhod210_microp-keypad.kcm b/init.etc/keymaps/rhod210_microp-keypad.kcm
index ce0ce90..5a46748 100644
--- a/init.etc/keymaps/rhod210_microp-keypad.kcm
+++ b/init.etc/keymaps/rhod210_microp-keypad.kcm
@@ -82,3 +82,4 @@ PERIOD '.' '.' '.' '.' '.' '.'
#-------------------------------------------------------------------------------
STAR '*' '*' '*' '*' '*' '*'
POUND '#' '#' '#' '#' '#' '#'
+PLUS '+' '+' '+' '+' '+' '+'

I added it for my rhod210 and now the dialer works as expected. It's missing in both your rootfs and in the stock rootfs. I'm not sure what this should be for fuze, rhod300, and tilt2, since they define PLUS to be colon. What does a long-press of '0' do for them in the dialer?
[Touch Pro2, Tilt 2 Android Development] wmg316:
Long press 0 for me gives me a colon ':' (Tilt 2, RHOD300)
[Touch Pro2, Tilt 2 Android Development] snalbansed:
Long press on the 0 on the dialer gives me.... nothing! It gives some haptic feedback after a third of a second or so, but no matter how long I press it for I get nothing. A short tap gives a 0.

Rhod100
[Touch Pro2, Tilt 2 Android Development] highlandsun:
Thanks for the confirmation. Yeah, you also need this line added to your kcm file.

PLUS '+' '+' '+' '+' '+' '+'

(And then the file needs to be compiled using the kcm tool in the source tree.)

I think for tilt2/rhod300 this line will work to replace the existing one:

PLUS ':' '+' ':' ':' '#' '#'

And for fuze:

PLUS ':' '+' ':' ':' '*' '*'
[Touch Pro2, Tilt 2 Android Development] highlandsun:
Another completely unrelated topic - possibly getting even faster boot performance.

This thread talks about increasing the SD card readahead size to get better performance. I'm adding

echo 2048 > /sys/devices/virtual/bdi/179:0/read_ahead_kb

at the beginning of my copy of the /init script just to speed everything else up.

Haven't really got a way to measure the effect though.

I've also tweaked the MediaScanner on my build for better performance too, but that's not a rootfs issue. I'll just mention it once here and leave it for the other thread.

... at the risk of sounding like a favorite banned ROM-mangler - my god guys, this boots SO FAST now!!
[Touch Pro2, Tilt 2 Android Development] Starfox:
I noticed that /sdcard-based swapfile is not properly supported (creates the file but never really swapon in init). I have to swapon manually. Also, swappiness is set to 0, and I think it should be set a bit higher (I use 25). I notice a lot less lag from using the phone, especially when switching between apps.

Also, may I suggest com.android.phone be renice'ed to -19? I don't see who is calling for well over 20 sec after the phone starts vibrating, and half the calls ends up not being answerable because the system does not bring up the slide-to-answer screen in a timely manner.

-- Starfox
[Touch Pro2, Tilt 2 Android Development] Starfox:
Hmm, just tested and doesn't seem that a renice *.phone alone won't do the trick. I'm thinking along the line of renice'ing android.process.acore as well, since that seems to come up alot.

-- Starfox
[Touch Pro2, Tilt 2 Android Development] toadlife:
acore is the launcher, so it may help to renice it.
[Touch Pro2, Tilt 2 Android Development] Starfox:
Well, from my limited testing, I think I managed to get it to somewhat reasonable response by renice'ing phone, acore, rild, and mmcqd, but still takes minimum of 5 second even on "repeat" incoming calls. My subjective instinct says that the UI manager is having problems bringing the screen (because the phone starts vibrating even before the screen "blanks out" for that x secs).

The reason I included mmcqd was because we are running off of sd (mmc), and it tends to pop on top of top every often. No reason why such a vital (to xdandroid anyway) process should be running at 0 niceness. The other reasons for the slowness might be because the system tries to write too many logs and restart processes due to (CDMA) net connectivity changes on Ev>1x state change. This really needs to be debugged via adb, because term emu gets "overwritten" by the call screen and I can't see what's going on. I noticed that a flurry of /data/anr/traces.txt logging going on via dmesg/logcat right during the call, and stuff like that could impede the "limited" bandwidth to the sdcard even more.

-- Starfox
[Touch Pro2, Tilt 2 Android Development] F22:
Dialer PLUS

Good catch! This is the first time this one has been reported. I'll put out a fixed rootfs shortly.
[Touch Pro2, Tilt 2 Android Development] highlandsun:
I hope you're trying all this just by editing /bin/userinit.sh, since that already has a loop running to renice phone and mms, among other things. And if you're getting stuff in /data/anr then something has crashed on you, would be smart to get a logcat and see what crashed and why.
[Touch Pro2, Tilt 2 Android Development] highlandsun:
The improvement you see is very short-lived. Trust me, once more apps have been launched and swap usage increases, things will slow down to much slower than they would have been without swap. Android's memory management totally sucks.
[Touch Pro2, Tilt 2 Android Development] toadlife:
I just tried this and timed boot up and the phone actually boots slower. However the sd tools program's benchmark shows results that are slightly better than what I remember getting before.

Benchmark results...

read ahead setting/boot time/write speed/read speed

0008 1:16 07.0/08.5
0128 1:08 07.1/10.8
1024 1:19 06.7/11.4
8192 1:21 06.9/13.2

I also tried 2048, but didn't write down the results, but I remember them being similar to the result for 8192, so it look like that may indeed be the best setting.
[Touch Pro2, Tilt 2 Android Development] highlandsun:
Interesting. Your read speeds are so close, it seems to have had no actual effect. I don't understand why your write speeds would improve. Are these two columns backwards? Also if there is any benefit it will probably vary based on your SD card.

Finally, where did you insert the command in the init sequence? It obviously has to happen after the sysfs is mounted. Too large a setting will keep the SDcard busy for a noticeable length of time, preventing writes from getting through, so that will really bog the system down. But in my init script there are (almost) no write operations during a normal bootup, so it shouldn't be a problem.
[Touch Pro2, Tilt 2 Android Development] toadlife:
Oops. Yeah, I flipped the read/write. The improvements were in the read speeds, not write speeds.

I put the command right after the line where /sys is mounted.

I timed the boot from the time the init script executes init.android to prevent fsck operations from messing up the results.
[Touch Pro2, Tilt 2 Android Development] webxplore:
I had a decent working frx06 build until i started messing with the ril sinug F22 rootfs/with RIL support. I replaced the rootfs, got the RIL from post 6 and modified the froyo.conf . Still have the 4/15 kernel pack. Now no matter what I try, I cannot get network service. Message on the screen as soon as android boots is "Please insert a SIM card". I am on Sprint and never had a SIM in the slot all these days trying different builds. Also followed highlandsun's instructions from post 2 & 6 without luck. unzipping rootnew.zip gives me an error regarding no more space inflating init.android. There is nothing on the card except frx06 with a fresh data.img created. Appreciate any help....ideas?
[Touch Pro2, Tilt 2 Android Development] highlandsun:
That means you didn't change your network type like it tells you to in post #2. When you actually follow instructions, instead of just saying you followed them, everything works. And there's no need to unzip the rootnew.zip file if you're using F22's updated rootfs. And again, post#6 already tells you this. People who can't read and follow directions really shouldn't be mucking with this stuff.
[Touch Pro2, Tilt 2 Android Development] webxplore:
Thanks for your help. I was able to get it to work.

I guess I was confused by "If you're running on F22's rootfs, you don't want the init script in this archive". Was under the impression that the statement refers to init scripts inside the archive and not the archive itself.
[Touch Pro2, Tilt 2 Android Development] highlandsun:
F22: was looking over the trout-keypad-v3.kcm, was thinking it would be nice to have the accent marks like they have for alt-shift. Alt-Shift E, I, N, U, and W.

Also would be handy to have the alt chars on the numeric row available on Shift as well as Alt. And maybe assign them something different on Alt-Shift as well. I'm looking for a free key that can be used for a Tab character. Position-wise Alt-Q would have been the most likely candidate. Anyway, I know it's probably a hassle to juggle these things around. But something to think about.
[Touch Pro2, Tilt 2 Android Development] snalbansed:
Am I missing something or are you looking for the already allocated tab using fn-space on the rhod 100/110/400/500 and alt-space on the 210 and finally fn-t on the rhod 300?
[Touch Pro2, Tilt 2 Android Development] highlandsun:
Doh. I should have read the rest of the kcm file. Thanks.
[Touch Pro2, Tilt 2 Android Development] snalbansed:
Or just downloaded the spreadsheet from the first post of this thread.

I'd hate to suggest you might read the instructions on the first post... :-p
[Touch Pro2, Tilt 2 Android Development] highlandsun:
Found a small problem; the rootfs mounts /etc/keymaps over /system/usr/keychars and /system/usr/keylayout. Unfortunately this masks the existing files in /system/usr/keylayout and doesn't provide a replacement. In this case, you lose h2w_headset.kl so you lose the ability to control the phone from a wired headset (endcall, mute, whatever).

I've changed my init script to just mount /system rw and put all rootfs changes directly into place, instead of these clumsy bindmounts. This avoids the problem of accidentally losing system files like this, and also makes it possible to cleanly unmount /data at shutdown/reboot time. (Which was my original goal, I'm sick of seeing fsck on my /data partition at every boot...)

https://gitorious.org/~hyc/xdandroid/hycs-rootfs/commits/mine
[Touch Pro2, Tilt 2 Android Development] eightorzz:
I'm pretty sure i followed the instructions to the letter. after i updated to the new rootfs i can get service.. phone and txt.. but as far as data it wont connect or whatever. ive reset tried airplane mode and tried turning off data and back on. nothing works.. maybe i missed something?
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Are you using the rootfs labeled for hyc's RIL? If you, you'll also need his RIL.

So if you downloaded Rootfs Image w/Highlandsun RIL support... yea.
[Touch Pro2, Tilt 2 Android Development] pdawg17:
I noticed there is a new rootfs dated 4/30 on the build service...is it "newer" than this 4/19 rootfs and could I use it with highlandsun's ril2 or should I keep using this rootfs?
[Touch Pro2, Tilt 2 Android Development] highlandsun:
Whatever you have right now is newer/better. That merge only brings up the froyo ril to the March 23 version.
[Touch Pro2, Tilt 2 Android Development] fereso:
rootfs-20110501-5f3d39d CRASH DATA CONNECTION ON TILT2

Hello friends ..I downsload the version

rootfs-20110501-5f3d39d

TO MY PHONE ... but LOST DATA 3G on my HTC TILT2

I dont know if I make something bad ...just delete old rootfs, rename rootfs-20110501-5f3d39d to rootfs and CRASH data conection ..no more internet :(

So I delete rootfs-20110501-5f3d39d restore old rootfs and data wull be ok :D

Im using FXR06

rhodium tilt2
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
If you're using a rootfs that requires hyc's RIL, then you'll need hyc's RIL for it to work properly.

AFAIK the non-hyc rootfs should work just fine with the old RIL.
[Touch Pro2, Tilt 2 Android Development] manny05:
how can i get the old Ril files?

because right now in his thread he has a new one that goes with the rootnew.zip file that he added..
[Touch Pro2, Tilt 2 Android Development] Starfox:
What are the possibility of using a journaled fs for data.img? I lost my data.img after the system shut down from the battery dying on me (and ended up losing my sms/etc). I think this would also require a kernel update, but I don't really see why the xdandroid should need to rely on a fs that is a lot more prone to corruption from crashes/hangs. Also, I noticed that the system when low on battery cannot go to deep sleep, perhaps something can be done to make it last longer?

-- Starfox
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
System cannot go into sleep when battery is low? That's a new one, and couldn't be more unrelated to this thread.

Same with the journaled FS question. First, no - that would be a very dumb decision to move to a journaled FS. SD cards weren't meant to handle constant read/writes that an OS requires, and they certainly weren't meant to handle journaled file systems.

Eh? Why would you want old RILs? The rootnew is no longer needed, just grab F22's newest rootfs. Which again, I don't see what the RIL testing has to do with this thread...
[Touch Pro2, Tilt 2 Android Development] manny05:
when i formatted my SD card, i followed all the steps and when i got to the RIL part. i noticed that he took down the RIL that he had before. if you check his thread he has ril with that rootnew.zip file

im assuming i need the ril before that one so i can get my data back since im using the F22's rootfs with highlander's ril support...

or am i missing something here?

EDIT: i think i figured out. so im assuming the f22 rootf already has the RIL fixes applied. so there wouldnt be any need for it. correct? ( again im just learning here. )
[Touch Pro2, Tilt 2 Android Development] fereso:
Fail data conection on TILT 2

So sorry friends ...I have the FXR06 ... So I want to change the HOME BUTTON ..so I need a new rootfs ... I tried with

rootfs-20110501-5f3d39d

So I read again the post and try with

Rootfs Image - rootfs-f22-20110418-aaf47ce.img.7z (Updated Apr. 18th - see changelog above for details.)

and

Rootfs Image w/Highlandsun RIL support - rootfs-f22-hyc-20110419-e96477d.img.7z (Updated Apr. 19th - Fixed bad sed line in init, Added missing init.android binary.)

But with 3 , fail data conection ..... And If I return to rootfs of FXR06 ..the problem its fixed, but I cant change the HOME BUTTON ..
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Just use that RIL (ril2) with the rootfs labeled with highlandsun RIL support... Not sure what's not making sense here, but if you're lost perhaps you should hold off. This RIL stuff is supposed to be used for testing/feedback, and if you can't install it I'm not sure how useful your feedback is going to be.

If you're using a rootfs with the new RIL support, you need the new RIL.

The other rootfs should be just fine on the stock RIL.
[Touch Pro2, Tilt 2 Android Development] fereso:
how can I update RIL ? Sorry I dont understant what it RIL or how can I download or install
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
If you don't understand, then don't use it. Use the rootfs that is not designed for the new RIL.

Or, just wait. This isn't exactly easy, and there's a new build coming soon with a TON of changes in the mix.

Basically, use this rootfs - Rootfs Image - rootfs-f22-20110418-aaf47ce.img.7z if you don't have the updated RIL.
[Touch Pro2, Tilt 2 Android Development] DmK75:
FRX07 soon you meant, or Ginger?
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Both. I'm thinking Froyo will come first, as most of the code for Froyo is complete. I think there's still some things left to port over to GB, not positive.

I'm tryin to help sir stine pull it all together, but he's really the master here. When he's pushed out an image, I'll whip up a new package. If it's just Froyo, then I'll only update Froyo. If he provides updates for both, I'll update both.
[Touch Pro2, Tilt 2 Android Development] xi.lin:
Great! Wait for that~

After 20+ apps install my frx06 become slowly..
[Touch Pro2, Tilt 2 Android Development] vnes1984:
Looking forward to the TON of changes. We just need to disconnect Señor Stine's Directv (or at least NHL season pass) so he'll make some time to push them through. :)
[Touch Pro2, Tilt 2 Android Development] tovarish:
With this rootfs data doesnt work. used various kernels but no avail. finally am using the march 1 rootfs since i had that in a backup. am running a rhod100_uk.

tovarish
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Did you just use the 'regular' rootfs or the "Rootfs Image w/Highlandsun RIL support"? If you used the one with RIL support, you also need to download and bind mount (or otherwise install) the test RIL from post #6.
[Touch Pro2, Tilt 2 Android Development] tovarish:
I was using the RIL rootfs with the testing new ril post. that ril even stopped my phone function to work. i think it is a cdma ril while i have a gsm model. Otherwise I was using the ril from [TESTING] New more stable ril.
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Uhm... that RIL supports both CDMA and GSM. If you genuinely feel the RIL is at fault, post some feedback in that thread with logs. Without logs, your feedback is literally useless.
[Touch Pro2, Tilt 2 Android Development] tovarish:
WRT data I think this rootfs is at fault. The testing ril (not the one you mentioned) works fine with an older rootfs.
[Touch Pro2, Tilt 2 Android Development] snalbansed:
As a GSM user I can confirm that the non-RIL regular rootfs with the post one test RIL works AND the RIL-specific rootfs with the post 6 test RIL works too. Both of them have data connections very nicely.
[Touch Pro2, Tilt 2 Android Development] tovarish:
Ok i feel silly now. Its as you say, all works fine. I dont know what I did wrong last time.
[Touch Pro2, Tilt 2 Android Development] Avatar28:
Maybe it is answered somewhere in the previous 33 pages of this thread, but is there any way to map the Tilt2's PTT button to be Home? I didn't find anything with a search of the thread. I'm guessing "no" in which case does anyone know of an app that can do it?
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
It's the only RHOD with a PTT button. Seems it can be reassigned to search easily, perhaps F22 didn't account for people wanting it to be home ;). Ask him nicely, perhaps he'll add that ability.
[Touch Pro2, Tilt 2 Android Development] Starfox:
Can we get a merged update of the latest rootfs (w/audio dev chmod) with the hw button functionality? Thanks.

-- Starfox
[Touch Pro2, Tilt 2 Android Development] tovarish:
It would be also nice to have scbs support as well as the patches that highlandsun did in his rootfs.
[Touch Pro2, Tilt 2 Android Development] highlandsun:
It'd be nice to have a pony too.

Geeze people, this stuff hasn't even been available for more than 30 hours. There's no sense integrating any of it until we have substantial test results.
[Touch Pro2, Tilt 2 Android Development] tovarish:
the scbs stuff has been there for a while and I meant the rootfs stuff you had changed which is there in your website (also for a while). The problem is your rootfs doesnt work well with my rhod100_uk and i didnt want to complain to you since you provide it without support. The latest audio and bluetooth stuff i agree needs more testing and i have to give you kudos for getting this far.
[Touch Pro2, Tilt 2 Android Development] aedon:
I cant get the end button on my touch pro 2 go reassighn to home.

It just keeps acting as the power button.

Any ideas?

Thanks.
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Paste your startup.txt in

braces. Make sure you have the correct rootfs extracted & renamed to rootfs.img... and place it in the correct location.
[Touch Pro2, Tilt 2 Android Development] ultradj83:
Hi there!

I'm on an Italian Raphael100, can anybody help me to create a keyboard layout?

This is the picture:

Thanks a lot!
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
That's a pretty blurry image...

Hopefully someone can sort out that pic. If you have a better one, please replace this one... That is very hard to read.
[Touch Pro2, Tilt 2 Android Development] LinoX:
There's a lot of confusion in this forum.

Are these patches already merged into the standard rootfs git or should I care about it?

If they are already into the git then someone could please close/lock this thread and modify the first post to specify that all this things are already included in latest rootfs?

Leaving all the threads open makes very difficult to understand what has already been done and what is "ongoing"/under test/necessary.

Thank you all.
[Touch Pro2, Tilt 2 Android Development] highlandsun:
None of F22's changes have been merged into the autobuilds. This thread has to keep going, unfortunately.