yashsingh1/xdaforums huggingface dataset:
[Touch Pro2, Tilt 2 Android Development] F22:
New Rootfs - rhod100_es (Spanish) support added.

Support for Spanish rhod 100's (rhod100_es) has been added. I've merged Mewzicki's additions with my own. Kudos to Mewzicki and sportfisio for their efforts.
[Touch Pro2, Tilt 2 Android Development] Christiaan91:
How can i get symbols like: ë é á à
[Touch Pro2, Tilt 2 Android Development] AkumaX:
7z is fine with me!
[Touch Pro2, Tilt 2 Android Development] ryannathans:
Any compression, any size for me.

Maybe upload one for smartphones and one for computers?
[Touch Pro2, Tilt 2 Android Development] sportfisio:
Working great!!! Sooo many thanks!!! :D:D
[Touch Pro2, Tilt 2 Android Development] F22:
Getting ë é á à

What rhodium model are you using? And assuming it's a Rhod100, what country has the keyboard been localized for?
[Touch Pro2, Tilt 2 Android Development] Christiaan91:
Indeed a rhod100, nl keyboard. (rhod100_nl)
[Touch Pro2, Tilt 2 Android Development] F22:
Getting ë é á à on the rhod100_nl

That one has no special characters with accents or umlauts printed on the keyboard so no such keys were added to the key map. To make things even more troublesome, other symbols are printed in their place. For example, where the Spanish keyboard has é printed alongside the E, the Dutch keyboard has €, where the Spanish keyboard has í printed alongside the I, the Dutch keyboard has =, and where the Spanish keyboard has ñ printed alongside the N, the Dutch keyboard has /. So that makes adding them to the key map in an intuitive, easy to find way troublesome.
[Touch Pro2, Tilt 2 Android Development] F22:
New April 18th Rootfs

Lots of New Stuff...

Highlandsun's rootfs RIL support patches have been merged. There is no longer a need to hand patch my rootfs if you want to use his RIL.

The file size of my rootfs.img has been significantly reduced without any loss of functionality.

The 7z dictionary size has been reduced from 16MB to 1MB so the file can be decompressed on the TP2 if someone chooses.

mweirauch's latest patch to the official git which adds sysfs write support for the amber led and autobacklight has been added.

As always, see the 1st post in this thread for the download info.

Enjoy!
[Touch Pro2, Tilt 2 Android Development] wmg316:
Sorry for the stupid question, but do we still need to edit the froyo.user.conf file:
[Touch Pro2, Tilt 2 Android Development] toadlife:
Yes you do.
[Touch Pro2, Tilt 2 Android Development] toadlife:
not scbs integration?

If not that's ok. I can remount it and put it in myself.

All you need to do to integrate scbs is put the scbs binary in /bin and put the following lines of code in init, (it's near the bottom after the camera device gets created):

dev=$(cat /sys/class/scbs/0/dev | sed -e "s/:/ /g")
mknod /dev/scbs0 c $dev

scbs -d -co /sdcard/scbs.conf
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Yes, assuming that's the way you deploy his RIL.

Note - hyc has two types of RIL. His 'first' RIL in post #1 in his testing thread. This does not require any rootfs changes.

However, if you look at post #6 in his testing thread, you'll see a second RIL - which requires rootfs changes. They are fully backwards compatible, so there's no issue you can run either RIL with these rootfs changes - but that 2nd RIL requires the updated rootfs to run correctly.
[Touch Pro2, Tilt 2 Android Development] toadlife:
Houston, we've got a problem!

F22,

You put an old broken version of hyc's init script in your rootfs, which causes data connection to fail.

See this post.

http://xdaforums.com/showpost.php?p=12968795&postcount=329
[Touch Pro2, Tilt 2 Android Development] toadlife:
Actually it looks like the error outlined in that post is not the issue. It finally got data to work with your rootfs by copying in the init.android file from hyc's rootnew.zip file.
[Touch Pro2, Tilt 2 Android Development] F22:
init.android

init.android doesn't appear to be one of the files included in the merge request.
[Touch Pro2, Tilt 2 Android Development] toadlife:
Well then it seems whoever did the merge request goofed.
[Touch Pro2, Tilt 2 Android Development] F22:
Rootfs + New RIL

I've committed the updated init.android to my local git tree and rebuilt the rootfs version that supports the new RIL. The first post has been updated with the pertinent download info. Let me know if there are any more issues with it.
[Touch Pro2, Tilt 2 Android Development] F22:
scbs integration

While I'm not opposed to the idea of making it easier to use my rootfs with scbs, I'm uncomfortable with the idea of forcing it on everyone. Thus I've been thinking about adding in a check to init so that if either /bin/scbs or /sdcard/scbs exists, the above code will run. It would then be up to the user to drop scbs into either /bin or /sdcard if they want scbs. By making it possible to drop scbs into /sdcard as well, that would make it much easier for the less technically inclined to add it. Thoughts?
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
I love this idea, as you said it will then allow people to use or not use it at their leisure.

Plus, the added bonus on the /sdcard detection means it's easily removed :D.
[Touch Pro2, Tilt 2 Android Development] highlandsun:
Sorry, since system/core is a separate repo my merge request for the source code of init.android is there. I never committed the binary...
[Touch Pro2, Tilt 2 Android Development] toadlife:
Still no data. The issue in the original post I linked to is still present in your init.

It's easy to fix...

In line 502 in /init

replace this...

sed -i s/PPPDEV/$PPPDEV/ /etc/init.rc

with this...

sed -i s,PPPDEV,$PPPDEV, /etc/init.rc
[Touch Pro2, Tilt 2 Android Development] Starfox:
The sed issue mentioned above.

init tries to chmod /bin/pppd which no longer exist.

My understanding was that you could use old-style RIL w/ the new rootfs. Has this been changed, or did miss something?

-- Starfox
[Touch Pro2, Tilt 2 Android Development] highlandsun:
In the test environment I setup in my testing thread, you could use either. In the merge request I've submitted to xdandroid, support for the old stuff has been deleted. I see no reason to carry it forward any further.
[Touch Pro2, Tilt 2 Android Development] toadlife:
When it rains, it poors....

One of the rhod210 keymap files seems to be missing. I see the error...

'unable to find rhod210_navi_pad.kl'

I use the gpiokeyopts=b4HOME setting, but my home key not bound to the end key.
[Touch Pro2, Tilt 2 Android Development] F22:
It was intentionally removed since it wasn't necessary for the 210 to have its own 'navi_pad' file. You're either not using the init script from my rootfs, or you're using some sort of hybrid rootfs that you've modified.
[Touch Pro2, Tilt 2 Android Development] F22:
:confused: All this does is change the internal delimiter for the sed command. It doesn't change the result, which is to replace the string "PPPDEV" in the file with the contents of the $PPPDEV variable during boot. What is it that you are trying to accomplish?
[Touch Pro2, Tilt 2 Android Development] pdawg17:
So since I did this edit too should it be changed back?
[Touch Pro2, Tilt 2 Android Development] toadlife:
The existing sed line throws an error. The fixed line was provided by hilandsun so you'll have to ask him.
[Touch Pro2, Tilt 2 Android Development] toadlife:
Whoops. you're right. I must have got my scripts mixed up.
[Touch Pro2, Tilt 2 Android Development] toadlife:
Not unless you want your data to stop working.
[Touch Pro2, Tilt 2 Android Development] F22:
Oh, I see the issue now. There are slashes in the string "/dev/smd7" that $PPPDEV contains. That will cause sed to cough up blood and die if slash is the delimiter. His fix somehow didn't make it into the merge request. Thanks for pointing it out.
[Touch Pro2, Tilt 2 Android Development] Ltilt2:
NO DATA

I dont have data with the new roofst+hyc patches. has this been fix?
[Touch Pro2, Tilt 2 Android Development] wmg316:
See the last 6 posts (before yours)...F22 is working on it!
[Touch Pro2, Tilt 2 Android Development] Ltilt2:
cool, thanks!
[Touch Pro2, Tilt 2 Android Development] F22:
new RIL support rootfs w/bug fix posted

Yup. New rootfs posted! Download info maybe be found in the first post as always.
[Touch Pro2, Tilt 2 Android Development] wmg316:
I have downloaded 'rootfs-f22-hyc-20110419-e96477d.img' (extracted and renamed to rootfs.img) and still no data connection with the 'ril2-f5ab264' RIL.

Will placing this fix (sed -i s,PPPDEV,$PPPDEV, /etc/init.rc) in the froyo.user.conf help me get data connection...and if so, does this need to be placed in the custom shell commands within the {}?
[Touch Pro2, Tilt 2 Android Development] toadlife:
Hrrm. Your data connection *should* work. You shouldn't need any fixes. I haven't downloaded the latest (I just fixed the previous one myself) so I'm not sure.
[Touch Pro2, Tilt 2 Android Development] wmg316:
To answer my own question, yes, the "fix" worked placing it in the froyo.user.conf and I now have internet connection.
[Touch Pro2, Tilt 2 Android Development] F22:
Data Connection

I've talked to two other people and neither has experienced the problem you've reported. Has anyone else experienced this issue with the latest build?
[Touch Pro2, Tilt 2 Android Development] kwoodyusa:
I am. GSM, FRX6, just installed - rootfs-f22-hyc-20110419-e96477d.img.7z - and WisTilt2 Updated 4/15/11 New Kernel. What else can I offer for additional info?
[Touch Pro2, Tilt 2 Android Development] mizofizo:
Nevermind...didn't realize there was a update #2. The new one works correctly.
[Touch Pro2, Tilt 2 Android Development] Ltilt2:
NO DATA

I downloaded the latest roofts but still dont get data connection. :confused:
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
Might want to specify which rootfs, and which RIL you're using - I presume you're using ril2?
[Touch Pro2, Tilt 2 Android Development] Ltilt2:
yes using ril2 and rootfs+hyc patches. I'm going to play with it to see what's wrong.
[Touch Pro2, Tilt 2 Android Development] wmg316:
Per last 3 posts:

Observation: AT&T user per avatar does not work

Observation: Sprint user per avatar does work

Observation: AT&T user per avatar does not work​

And of course mine (AT&T user) does not work. Also from talking with 'toadlife' in PM (T-Mobile per avatar)...he stated that it does work for him

Could it be something related to AT&T users? Just trying to help troubleshoot!! :)

NOTE:

This is only using 'rootfs-f22-hyc-20110419-e96477d.img' from 4/19/2011(extracted and renamed to rootfs.img) and 'ril2-f5ab264' RIL.

Again, placing this "fix" posted by 'toadlife' (sed -i s,PPPDEV,$PPPDEV, /etc/init.rc) in the froyo.user.conf DID allow me to obtain internet connection.
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
You have seemed to narrow it down to AT&T users, however this statement has been placed into F22's rootfs - that's why there were two updates to the rootfs yesterday, I think hyc didn't put that in the merge request or smth.
[Touch Pro2, Tilt 2 Android Development] nasapunk88:
data

im on AT&T running rootfs-f22-hyc-20110419-e96477d.img and ril2-f5ab264 with 4/15 kernel and i have Data without do any fixes.

Did those who don't have data not update to #2?

working fine for me =)
[Touch Pro2, Tilt 2 Android Development] Ltilt2:
yes, downloaded the lates RIL from highlandsun's thread.

Is that the one you are talking about?
[Touch Pro2, Tilt 2 Android Development] arrrghhh:
For anyone that it isn't working - re-download the RIL and the rootfs. Make sure you've followed all the steps to a T. Double check to make sure that ril2 is being mounted, etc.

Triage people, triage...
[Touch Pro2, Tilt 2 Android Development] wmg316:
Well I am at a loss. I just flashed a new WM Energy ROM (step one is to copy all of my Android folders/files to PC off of SD card; step two is to format SD card; step 3 copy Android files/folders back to SD card; step four flash new Energy ROM).

After doing this...with NO CHANGES to what I was doing in Android, I get internet connection with said rootfs and said RIL...with NO "FIX" ADJUSTMENTS to froyo.user.conf...HAPPY!! But don't understand! LOL
[Touch Pro2, Tilt 2 Android Development] engfantom:
hi f22 ,

i asked before about arabic language support and they directed me to follow you about that . is there any way to support this and fyi i install opera and arabic inside opera is worked fine ..

thank you for your great work

can u help me ??
[Touch Pro2, Tilt 2 Android Development] nasapunk88:
yes the current RIL in post #6 is the 1 im using
[Touch Pro2, Tilt 2 Android Development] Starfox:
Any chance that the model detection code for init can be streamlined, so that functionality can be updated, such as auto-setting dpi, etc.? Right now I see it uses /proc/cpuinfo to set model, but only to set variables for the script. I could see use in using model to set ro.product.*, CDMA/GSM detection for correct network type, default dpi without needing to set it via cmdline, etc.

-- Starfox
[Touch Pro2, Tilt 2 Android Development] highlandsun:
I don't think checking for CDMA/GSM is all that useful. If you have a rhod400/rhod500 you have a choice of how to use the phone, and some people use theirs in GSM.

Probably LCD density could be set based on known specs of each model; but even then I've seen people who like to run with lower-than-actual density. Dunno why, but they do.
[Touch Pro2, Tilt 2 Android Development] Starfox:
If the default_network needs to be set with the new RIL as per your thread, that should be done when the GSM/CDMA detection is done at start on a new data.img. As you've said many times, it doesn't affect an existing img, so having this "feature" has no drawbacks, but it will cut down on many support questions. As for user-defined dpi, that cmdline detection could be done after the model detection, so people can define it if they want.

-- Starfox
[Touch Pro2, Tilt 2 Android Development] manny05:
question. i just added a new RIL to my tilt 2 from this thread:

http://xdaforums.com/showthread.php?t=1009112

1st post.....

am i suppose to just delete the file added, and the conf file that i edited (obviously remove the changes from the file) and then add the new roofts + ril from this thread?
[Touch Pro2, Tilt 2 Android Development] slapshot30:
x2. Do we just disregard all of that stuff in highlandsun's RIL thread now because it is included in your new rootfs... or what? Sorry, if it' a noob question.
[Touch Pro2, Tilt 2 Android Development] wmg316:
See

here

for explanation.

Hope this answers your question!
[Touch Pro2, Tilt 2 Android Development] highlandsun:
You're still not getting it. The default_network needs to be set *if* you have CDMA support on your phone *and* you want to use it exclusively. There are people using RHOD400/500s as GSM phones, so the script has no way to tell whether to set it or not.

Also, just setting default_network is not sufficient to get everything working. You still have to set your operator ID, and the script has no way to know how to do that. So ultimately, if you're installing on a phone and you want to use CDMA, the init script cannot help you at all. You have to set things correctly yourself, before first boot.

The best that the init script can do here is look for a file that you prepare and place in /sdcard, and e.g. cat that onto the end of /etc/default.prop at first boot.

And on that thought, F22, what about this patch that I posted in this thread last month?

http://cleanimport.xda/index.php?posts/11877702/ Mebbe I should just commit a cleaned up version of this to git.
[Touch Pro2, Tilt 2 Android Development] Starfox:
So are you saying that default_network is no longer needed? And setting it via init will interfere with setting via *#*#info#*#*? Because if neither of this is true, then you basically are telling CDMA users (most of your rhod400/500 users) that they won't get out-of-box data until they fiddle with sqlite.

Right now my understanding is:

1) default_network must be set to 4 on fresh boot in order for CDMA to work. Otherwise it must be set via sqlite

2) You can later enable GSM radio via *#info...

3) You need to have a working /data/eri.xml in order for Android to not think it's always roaming

4) You need to set the NetID via cdma.* in default.prop for the RIL to identify the home network properly

I don't see that any of these steps are no longer necessary.

-- Starfox
[Touch Pro2, Tilt 2 Android Development] manny05:
sorry but it doesnt answer my question..

i did all the steps for the RIL in that thread that you linked me too.

i just want to know if im suppose to go back, undo what that thread told me to do, and then just do what this thread is saying..which is place the rootfs.img file in the andboot folder and just restart...

BTW. i keep getting "cant access tty; job control turned off" when i restart into android.. it wont go pass that
[Touch Pro2, Tilt 2 Android Development] engfantom:
????? no one answer me am i non seen or all ignore me why?
[Touch Pro2, Tilt 2 Android Development] highlandsun:
Is English not your native language? I said quite specifically "setting default_network is not *sufficient*." That does *not* mean it is not needed.

I've said nothing of the sort. Instead of jumping to idiotic conclusions you should learn to read what was actually written. I never even mentioned sqlite anywhere in this thread; it's simply not relevant to this thread.
[Touch Pro2, Tilt 2 Android Development] nasapunk88:
You still need to follow Highlandsun's instructions to use that RIL. So if you use the RIL from post #1 all you have to do is edit the froyo.user.conf to where its stored and nothing else changes.

F22's new rootfs with Highlandsun's patches merged only changes steps if you are using RIL2 from post #6. Instead of dealing with the "rootnew.zip" to manually edit rootfs, you can just use F22's rootfs with the RIL2 attached to post (still edit froyo.user.conf).
[Touch Pro2, Tilt 2 Android Development] F22:
Arabic Language Support

To my knowledge HTC has never created a TP2 with an arabic keyboard. What rhodium model are you using?
[Touch Pro2, Tilt 2 Android Development] ivwonka:
Any chance of added scbs support to use with wistilt2's newest kernel? Great work!
[Touch Pro2, Tilt 2 Android Development] manny05:
im using the first RIL from that thread. so assuming im leaving this alone, and just adding this new rootfs from this thread, why do i need to edit the conf file? and if i do what do i add or delete... im new at this so obviously i cant really fill in the blanks...

this is what ive done so far..

http://xdaforums.com/showpost.php?p=13074774&postcount=354

i did that ^^ added that mount command to conf. i added the new rootfs from this thread onto the andboot folder.

and thats about it.

when i boot into android all i get on the screen at the end of the process is "cant access tty; job control turned off"

now why am i getting that message?...
[Touch Pro2, Tilt 2 Android Development] slapshot30:
How long do you wait after getting that text? At the end of my code it always says the same thing, something like "A N D R O I D blahblahblah job control turned off". After I wait a minute or two, I get the boot screen. It took much longer on first boot but eventually it goes.
[Touch Pro2, Tilt 2 Android Development] manny05:
i waited like 2-3 mins. then a couple of things came up (obviously i cant remember since it was a lot)

and it just stayed with the _ blinking....

can you tell me step by step what to do?!? because i have the RIL from that other thread, no one is telling me if i am suppose to just delete it from my SD card, undo the changes from the conf that i did.

and then just simply follow the steps on this thread...which is to unzip file, drop the rootfs file (rename that file to rootfs like it asked..) into andboot folder.

then i open haret...and it gave me that cant access tty; job control turned off message..

am i doing something wrong?
[Touch Pro2, Tilt 2 Android Development] Christiaan91:
If it's not what slapshot30 says, look at the line before "cant access tty; job control turned off"
[Touch Pro2, Tilt 2 Android Development] manny05:
unable to find rootfs on sd card. something like that.

am i suppose to replace the rootfs.img file on the root of my sd card? because i see it there, i tried that and it still didnt go through.
[Touch Pro2, Tilt 2 Android Development] Christiaan91:
are you sure the name of the file is rootfs.img, not rootfs(some-numbers).img.

Make sure it's rootfs.img

The rootfs.img should be place where haret.exe also is.
[Touch Pro2, Tilt 2 Android Development] manny05:
yea i edit the file from this thread to rootfs.img

placed it in the andboot folder, and then just restarted my phone.

still the same thing. i just think that RIL that im using right now might be getting in the way.
[Touch Pro2, Tilt 2 Android Development] Christiaan91:
If you're using the RIL from the 6the post(in the RIL thread) then you should use the Rootfs Image w/Highlandsun RIL support. If you're using the RIl from the 1st post then you should use the normal rootfs(from this thread). Follow the steps explained it the posts.
[Touch Pro2, Tilt 2 Android Development] manny05:
Oh okay. ill do that then, so just download the normal rootfs (first link from this thread) place it in the andboot folder. make no other changes correct?

and obviously rename the file to just rootfs.img

and restart the android by opening haret...correct? do i have it all down now?
[Touch Pro2, Tilt 2 Android Development] Christiaan91:
If you're using the RIL from the first post(in the RIL thread), then AFAIK, yes.
[Touch Pro2, Tilt 2 Android Development] wmg316:
You keep saying you "edit the file from this thread to rootfs.img". I've asked you before: are you EXTRACTING the .7z file and then renaming the EXTRACTED file? You aren't just renaming the .7z file are you?
[Touch Pro2, Tilt 2 Android Development] nasapunk88:
instructions for F22's rootfs with Highlandsun's RIL

Download,extract and follow steps for the full FRX06 Bundle

Either move everything to root of sd or just rename the FRX06 folder to andboot. If you use andboot folder(which should contain all files) make sure to add rel_path=andboot to

startup.txt

.

Download and extract RIL2 from Highlandsun's Post #6

Download and extract F22's Rootfs Image w/Highlandsun RIL support

rename F22's rootfs(rootfs-f22-hyc-20110419-e96477d.img) to rootfs.img and replace current one (either on root of sd, or in andboot/folder that has all files inside, haret.exe for example).

copy RIL2 file (libhtcgeneric-ril.so) to root of sd or andboot folder (same as above)

open and edit conf/

froyo.user.conf

. Within the custom_shells{} section, add:

Depending on where you put RIL2 file, change green text to that location. for root of sd just use /sdcard/libhtcgeneric-ril.so

For FRX06 with All files in andboot

mount --bind /sdcard/andboot/libhtcgeneric-ril.so /lib/froyo/libhtcgeneric-ril.so

For Gingerbread with All files in andboot

mount --bind /sdcard/andboot/libhtcgeneric-ril.so /system/lib/libhtcgeneric-ril.so

boot up with haret.exe

This is using RIL2 because highlandsun posted:

making the RIL from Post #1 outdated when there is an update.

So just follow these steps from now on.
[Touch Pro2, Tilt 2 Android Development] F22:
patch

Whoops! It slipped through the cracks. I'll take a look at it. I'm all for cutting the boot time down as much as possible.
[Touch Pro2, Tilt 2 Android Development] slapshot30:
Are you using gingerbread or FRX06? The mount code is a bit different depending on which you use. I was using gingerbread and accidently did the code for FRX06. My data ended up not working at all... does anyone know if that was me mounting the RIL wrong or something else?
[Touch Pro2, Tilt 2 Android Development] highlandsun:
You really should only have linked the post, not the specific attachment. I routinely delete the attachment and post new ones as bugs get fixed, so that link will break.

This one hasn't changed in a while, but I will very shortly be posting an update to take care of the issue with long CDMA SMSs, and then that link will be dead.