yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] psrtx:
Easy/Automatic way to get ash shell

Open up terminal App

Press Menu and select Preference

Scroll down to Shell

Click on Command line

Type in "/system/xbin/bb/ash -"

No danger of breaking anything in the system (can always switch back to sh anytime)
[G1 Android Development] Ohsaka:
I like having adb start up with ash...

I do alot of adb shell stuff and its useful to have the current working directory...
[G1 Android Development] temporizer:
how do you have ADB start up as ash?

i got my terminal emulator to do it no problems...
[G1 Android Development] bkmo:
I hear you there......at lot less typing ls this way. :)
[G1 Android Development] farmatito:
Attached you will find a copy of busybox's ash compiled standalone.

To install it you have to:

adb remount

adb push ash /system/bin

adb shell

cd /system/bin

mv sh sh.bak

chmod 755 ash

chown root.shell ash

ln -s ash sh

To test that everything is ok:

ls -la *sh

-rwxr-xr-x 1 0 2000 625972 Jul 17 21:18 ash

lrwxrwxrwx 1 0 0 9 Jul 16 12:14 dumpcrash -> dumpstate

lrwxrwxrwx 1 0 0 3 Jul 17 21:32 sh -> ash

That's it.

Now, at your own risk ;-) , you can reboot.

If you flash a new firmware these changes are lost so you have to redo it.
[G1 Android Development] short/y:
If you invoke ash with "-l" (dash el), it will read .profile from the current directory so you can create aliases, turn on vi editing mode, set a history file, etc. I have my .profile in /system/sd so I cd there and then run ash -l.
[G1 Android Development] temporizer:
gibberish, gibberish, blah, blah, gibberish.

Thats about all i heard. lol.

details?
[G1 Android Development] ttabbal:
Basically, it's a way to run commands when you start a terminal session. You can do things like set the PATH, change the prompt, whatever.

Create a file named .profile in /system/sd

Put whatever commands you want in there

when you execute 'ash' to get your shell, do a 'cd /system/sd' first, then run it as 'ash -l' and it should execute your commands in .profile.
[G1 Android Development] pentace:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
[G1 Android Development] temporizer:
ah, cool

i'm new to this unix shell thing.
[G1 Android Development] Darkstrumn:
The little hack that was...

While the hack I described works, I would recommend using this stand-alone ash instead.

I have noted that the ddm logs in and issues the logcat command.

I reckon the output of logcat is slightly different under sh than ash, ie sh uses nulls instead of spaces as delimiters or something.

In any case, if you use the debugger it will behave much better using the Android sh as the login shell, forcing you to use sh also and switching into ash manually.:eek: (not really much different than having to su upon login though...)

The late binding concern posted by farmatito in regard to using other login shells is interesting, and I must apologize for being cavalier about it as the change on my Android is done in an overlay profile (android2sd). So the bind is always late and thus always available when expected. Thus due to the late binding the system will use sh shell as needed before busybox is in place and once the system is in user space and busybox is available (and the overlays are in place), that is when the shell substitution takes place and all is good...as far as the login shell goes.

But as I explain above, the output of logcat is not how ddm is expecting, and it has issues parsing the data proper when using ash as the login shell.:(

The trick is to leave sh as it was and get telnetd to use a specified shell, like ash or something else other than the hard coded /system/bin/sh.

Busybox\telnetd could do it, but we must map the /dev/ptmx to a "free" pty that busybox\telnetd can find and use.:confused: If someone has access to the Android telnetd source, then we can fix the issue at the source (pun intended:p)

I don't yet have a complete Android source dev-environment set up, so if it is currently in the available source, maybe we can get that recompiled.:)

Well, it was fun while it lasted! At least now we have a "real" Ash shell out of it!:p and it can be used as simple as 'su' can.

On to the next hack!:D
[G1 Android Development] kanstin:
It would be nice to change terminal so you could select a shell preference.
[G1 Android Development] farmatito:
Hi,

with ash a newline and carriage return character are appended at the end of line:

adb logcat > test.txt (with sh and ash)

diff test.txt test1.txt (shows they differ)

cat -v test.txt

D/dalvikvm( 329): GC freed 227 objects / 35416 bytes in 152ms

D/dalvikvm( 304): GC freed 495 objects / 23488 bytes in 125ms

D/dalvikvm( 304): GC freed 495 objects / 23440 bytes in 136ms

cat -v test1.txt

D/dalvikvm( 329): GC freed 227 objects / 35416 bytes in 152ms^M

D/dalvikvm( 304): GC freed 495 objects / 23488 bytes in 125ms^M

D/dalvikvm( 304): GC freed 495 objects / 23440 bytes in 136ms^M

and if you look at them in a hexeditor you'll see:

010 013 as ending sequence of each line

010=newline

013=carriage return
[G1 Android Development] Darkstrumn:
Nice work! I hadn't thought of using diffs to figure out what was different.:o My guess was correct about the nulls then...maybe I can...:p

Anyway, at the following link someone compile bash as another shell alternative! It is 2.5MB however so it may need to go onto sd (an ext2/3/4 partition) and get symlinked, or overlayed in to the path, but it is here:http://xdaforums.com/showthread.php?t=537827

Have fun!
[G1 Android Development] njuncos:
how do i undo and get sh back using your method here of symlinking?

dumb question probably but dont know if:

mv /system/bin/sh0 /system/bin/sh

should be followed by anything, or would that revert it?

Edit: Nevermind, that worked!
[G1 Android Development] Darkstrumn:
Undo the hack

That's it!

Actually it would be safer to

cp -a /system/bin/sh0 /system/bin/sh&&rm /system/bin/sh0;

That way you overwrite the sh with sh0 (the original) and delete the sh0 copy if and only the cp was executed successfully.

Hope that helps.:)
[G1 Q&A, Help & Troubleshooting] devsk:
So, I am at JF 1.4.2. What are my options at this time to get the latest and greatest on my G1?

Also, can I partition the card using 'fdisk' and format in Linux and then use the card in my G1? I am getting a class6 16G card, so I want to put apps on there. Is apps2sd already included in some builds?

Please don't say search. I searched and my head almost exploded after looking the ginormantic threads.

If someone has a thread that provides summary or howto update from JF 1.4.2, kindly point me to that.

Really appreciate your help!

-devsk
[G1 Q&A, Help & Troubleshooting] kusotare:
SEARCH! No, just kidding. Basically, take your pick of the available roms, make sure you have the correct SPL and newest radio flashed, then wipe and flash your rom of choice. Its that simple. As far as the apps to sd issue, most of the roms have their own thing going with that. My recommendation would be to check out either marcusmaximus' thread on the subject or grab lucidrem's app from the market to help out.

Other than that, good luck, dont brick your phone, and enjoy!
[G1 Q&A, Help & Troubleshooting] alritewhadeva:
Oh god I wish i had jashu's search pictures. Use cyanogen's ROM. auto apps to sd. Incredibly fast. Stable. Awesome.
[G1 Q&A, Help & Troubleshooting] prettyboy85712:
Start here. LINK
[G1 Q&A, Help & Troubleshooting] derfolo:
You can definitely partition the SD card using fdisk and linux--there's a walkthrough here: http://xdaforums.com/archive/index.php/t-502095.html

I recommend using the cyanogen roms because they automatically handle the apps2SD for you and are fast and reliable. There are also several themes available if you are into that.
[G1 Q&A, Help & Troubleshooting] devsk:
Thank you so much for your responses! I think the consensus seems to be cyanogen's rom. I think I am heading to cyanogen's ginormic thread and figure things out. Thanks again! I will come back if I need help...:D:p
[G1 Q&A, Help & Troubleshooting] phantasm714:
you've made a wise choice.
[G1 Q&A, Help & Troubleshooting] imbonez9:
Rocking Hero W/O Rosie w/ over clock n ya its not Cy fast but its really nice no lags no HTC screen... Now just to figure out how to port over the SMS/Calender/People widget n its on!!! haha
[General Questions and Answers] ribroast:
Hi, I have an HTC Touch Diamond (sim unlocked) and the FM radio doesn't work. The software has been wiped. This was on Vodafone before being unlocked. How do I get the FM radio back ? :confused:Thanks in advance. --Newbie HTC smartphone user--
[Touch Pro, Fuze ROM Development] LlamaLord:
I will be hosting FOR FREE your Roms on my web server. Why you are asking...Well i would like to help out. I alrdy have RRE roms uploaded and a site made because i use his roms and i like them. Right now i will let up to 5 people to be able to upload there things. If this goes good i will make it so more people can do it. So just think of it as you have ur own site for your roms lol...well thats if you know html lol...Yes if you know html go ahead and make a page to upload if not just give the files to upload and i will give you the link of were they are going so you can post them on here for people to download instead of useing Megaupload,Etc...(i hate them sites) Well anyways this is what i will be doing if you would like to do this please reply or send me a msg.

Thanks.

RRE Roms I need to update it lol but here is his.

Also i will be uploading all radios also.

P.S this is not just for Raphael Rom Developers
[Touch Pro, Fuze ROM Development] DarkDvr:
developmenters?

... is that a new breed?
[Touch Pro, Fuze ROM Development] hmota78:
You mean ROM developers ? :) Love the developmenters though :)
[Touch Pro, Fuze ROM Development] pokermon:
I think it's great! We all hate those free upload sites that make you wait 82 secs before download starts, and the speed sux.
[Touch Pro, Fuze ROM Development] knox203:
I hate being "that guy", but have you completely taken into consideration the bandwidth necessary to successfully host ROMS for a long duration?

If you have a shared web host, they're most likely going to suspend your site after a short while. Most hosts advertise "Unlimited Storage" and "Unlimited Bandwidth" nowadays... these are very misleading claims -- they typically specify limitations in their Terms of Service. Read the fine print carefully.

If you have a Dedicated host, then you might be okay depending on your plan. I bring this up because there are going to be A LOT of people downloading ROMS and at 100-200MB a piece, that adds up to a whole lot of bandwidth!! It would be unfair for everyone to rely on a mirror that might shut down shortly after coming online.

If I'm speaking out of line, or if you have already taken these into consideration, please ignore me! :p
[Touch Pro, Fuze ROM Development] B4PJS:
I will second that. I host my ROMs on my residential line (which is actually totally unlimited!) and I have had offers before of 50GB a month. Cleaned it out in about 5 days. I would love to have you host my ROMS though to spread the load as I only have 2.4 mb up stream and usually one of my regulars mirrors to Rapidshite to help me out.

PM me if you want more info/stats from a smalltime chef :D
[Touch Pro, Fuze ROM Development] LlamaLord:
Yeah i know i hate that too thats why i have my own server! = D and i also have 3 domains!

Ok. I do have Unlimited space right now and everything... this is what i have right now Total traffic 21.9 GB/99999.0 GB Disk quota 3709/999999 MB lol what do you think? i have already talked to my host about it. So we are all set if anyone wants it feel free to send me a msg...this is not just roms also!!! Hey you guys can pay all this money for these dont ass uploading sites or just take this up cuz i am a nice guy lol.

Yea sure thing i am here to help!! I will send you a PM but please send me a PM if you would like to do this from now on!
[Touch Pro, Fuze ROM Development] B4PJS:
PM'ed :) :)
[Touch Pro, Fuze ROM Development] LlamaLord:
3 more to go...

2 Spots right now are taken please if anyone would like to do this please PM me!
[Touch Pro, Fuze ROM Development] stingerid4:
*clicks .. feels his retinals burn and die a horribly painful death*

please tell me those colors are temporary? :)
[Touch Pro, Fuze ROM Development] aruppenthal:
:p I already have a spot but wanted to say thanks again :p
[Touch Pro, Fuze ROM Development] LlamaLord:
What colors?

lol yes you do. i enjoy your roms keep them coming!!! = D
[Touch Pro, Fuze ROM Development] LlamaLord:
Not more takers? ok well i have 3 more spots if anyone wants in!
[Non-Touchscreen Windows Mobile Other] RDilus:
i wanna make a windows mobile 6.1 pro rom for my asus M530w some one can help me ???

and if you help me good i will even pay for it
[Non-Touchscreen Windows Mobile Other] RDilus:
who helps me with a rom get 50 $ but the rom must work
[Touch Pro2, Tilt 2 Windows Mobile General] Farsquidge:
OK, there will be flames...

The only issue I have found with this STOCK phone is the messaging problem with TF3D that is a cuncurrent sw prob from the Diamond basic rom they have used.

I see loads of weird problems reported from people that do not make sense!

Could it be the iGroan lobby again with their smear campaign?

Who can tell...:rolleyes:

Edit: actually, it could be that I use it as it is meant to be used and do not try to tweak, or reprogram, or use crap CE SW from 1980blob on it!! Then moan it is crap!!!
[Touch Pro2, Tilt 2 Windows Mobile General] quarintus:
First of all, there are problems depending on your region. (diffrent setting's, time, formatting of numbers.

Then there are a lot of different apps (not tweaks) that can cause diffrent sort of trouble. (Because some apps don't work well together).

Then there are procution fails

THen there are software installation fails.

Then there are fails because of changing settings.

THen there are problems with a particular netwrok provider.

80 percent of the people use windows 98/xp/vista/7. Why are there so many problems and why doesn't everyone have them? (same question)

Then at last (but not least) there is tweaking. Yes tweaking can also results in a lot of problems. It's now whining what the people do here, they like searching for solutions. It's like some teenage boys tweaking their motor :P.

And here, many tweak together and help eachother and then share it. For people who don't know a lot about tweaking (like me I guess, just don't have the time :P) it can result in some problems when trying or using tweaks from other's.

The problem solving is what this community is for (partial). It would be getting very boring very soon if all was so easy and with no struggle :P
[Touch Pro CDMA] Big Dawg 23:
Currently I have a Storm that has a defective screen. Verizon has sent me the trifecta of consecutive defective phones. They now asked me to find another phone. I was told any phone but the Blackberry Tour. Prior to the Storm I had a 6800 with VZW. However, after multiple issues I had to give it up.

Things I miss now on the Storm is App selection, physical keyboard and WIFI at Times. I guess most important is customization. I flashed many roms on my 6800 to open the GPS, speed it up and allow for tethering. Here are my questions I have and feel free to offer your thoughts.

1. Is the Touch Pro just as easy to flash?

2. Does the TP gain functionality like open GPS when flash?

3. Does flashing allow for undetectable tethering?(I have a itouch that I want to use with it via wmwifirouter.

4. How is battery life?

5. How good is the quality of the phone?

6. Your thoughts?

Thanks for the input.
[Touch Pro CDMA] forlornme5:
I don't hate verizion... they just suck.

If I were you I wouldn't get the touch pro through verizion. They slowed down the processor, took away some of the memory, took away the ability for 3rd party GPS*, took away youtube and all streaming media capability and 3 rows of the keyboard. So even if you flashed the bejesus out of it, it would still have three strikes against it in my book. That and the fact that you pay the same price as the one at sprint and you don't get the memory card, headset, and if memory serves the screen protecters. Verizions touch pro is at approx. 70% memory usage just because it has the touch flow interface on, while sprints remain at about 32% under the same conditions.

*I think there was some lawsuit about the GPS bit, but i don't remember the outcome of that.

Sorry that i can't answer any of your other questions but i felt that you needed to know. So... Yeah, don't get the touch pro through verizion. :)
[Touch Pro CDMA] level5music:
Exactly. If you're gung-ho (or on contract) about VZW, I'd wait on their version of the TP2. I believe it's a world phone, which the original TP is not, and not only is it uncrippled I believe, it also offers a 3.5mm headphone jack which other versions may still be using the extUSB connection only.
[Touch Pro CDMA] egzthunder1:
I will answer your questions one by one...

1. Is the Touch Pro just as easy to flash?

Ans: I do not know about the 6800, but the process is rather simple.

2. Does the TP gain functionality like open GPS when flash?

Ans: I do not see why it shouldn't. If the GPS is there and it only has a software lock, then erasing all of the software should take care of the problem.

3. Does flashing allow for undetectable tethering?(I have a itouch that I want to use with it via wmwifirouter.

Ans: They will always see the data usage on your plan. So, if they see large amounts of data being used by your account, they might end up assuming that you are tethering. Other than that, I don't think they can detect it (I could be dead wrong though).

4. How is battery life?

Ans: If it is anything like Sprint's TP, it sucks badly. Having said that, different roms use resources in different ways (normally far more efficiently than stock roms), so depending on the rom that you decide to flash, it is bound to get better.

5. How good is the quality of the phone?

Ans: It really depends on the network. The In-Call volume can be (and should be) tweaked by a small fix called "Audio Boost". If you do not use this, I can guarantee you that you will not be able to hear the person on the other side. Call quality in general is not too bad though...

6. Your thoughts?

Ans: I have not seen it in Verizon TP, but the Sprint TP develops something called "Newton Rings" on the screen. Basically, this is a rainbow looking rectangle in the middle of your screen (think of an oil slick). This is an issue that can render the touchscreen useless. This happens simply because the phone gets so damned hot when you use it for anything (GPS, Internet, calls, etc) that the screen gets warped and starts coming out of the phone. Your provider (and even HTC) will say that this happens due to applying too much pressure on the screen, which is BS. If you look this up in PPCGeeks you will see a rather long thread about this same exact issue.

All in all, I would not go for it. You could do what level5music is suggesting and wait for the TP2. Who knows? It could be better or just as ****ty ;)

Hope this helps...
[Touch Pro CDMA] Alex2128:
I had the touch pro and switched to the storm...then i switched back to the touch pro. Trust me, the touch pro is worlds better. You will come to hate the blackberry os, as i have. I thought windows mobile was bad...then I flashed to wm 6.5 yesterday after never doing it before. Its way easier to flash with xp in my opinion as I could not get it to work on vista, it always said it disconnected, but maybe its just my machine. But yes, you should get the storm, you wont get push email, but you get a KEYBOARD!
[Touch Pro CDMA] mike21pr:
i love windows mobile but i wouldnt trade a storm for a verizon touch pro. it blows period. verizon took a great device and criples it to no better than a vga mogul, crippled cpu (note, the touch pro has enough perfomance issues already so this is worse) no g-sensor, funky keyboard with a misplaced "m" letter key, half the ram and crippled gps. i you want a touch pro, id get a sprint one and flash to verizon, otherwise the bb storm is the better choice imo

wait for the pro 2
[Touch Pro CDMA] cleanser:
Verizon has gimped the touch pro as far as RAM goes. (half of what other providers sell)

The problem with custom roms is that most of them will be set for pagepool designed for more ram.

There has been a new ROM released by verizon that unlocks the built in GPS. This is a good sign. I know people here are saying wait for a touch pro 2, but since verizon wouldn't allow you to get a tour i doubt they will allow a TP2.

I used a sprint version until recently and i got my palm pre to work on verizon :D

I've used a curve before too. I always miss my TP, even with my palm pre (not nearly enough apps yet)

If you have no choice and need a new device, verizons current offerings are weak, Id go with the TP.
[Touch Pro CDMA] poetryrocksalot:
The verizon keyboard is also messed up... the put the "up" key in between n and m keys.

Wrong, how can you confuse 2 columns for 3 rows?
[Touch Pro CDMA] forlornme5:
my bad.

i'm sorry that two words out of my entire rant were wrong. my apoligies.
[Touch Pro CDMA] mhguy15:
Save yourself the headache - i have a TP and hate it.

Been using the TP now for about 3 months. I absolutely hate this phone. There were all kinds of bugs in the stock rom, and I still haven't been able to find a ROM where everything just works. The phone is slow, buggy, and the screen really sucks. IMO.

I am currently debating the switch to Tmobile to get an android handset or the iPhone. I have always carried WinMo phones, but I just can't take the grief this one is giving me.

It looks like I am not the only one that has given the same advice. Avoid the TP at all costs unless you can get one for free.
[Touch Pro CDMA] TMartin:
Verizon sucks...but still a great phone.

To be honest HTC & Microsoft are the way of the future. I have a Touch Pro and my wife has a Touch Pro. We both love them sure it has its issues but what phone doesn't?? Before we got the Touch Pro, we both had Moguls and loved those and can't wait to upgrade to the Touch Pro2. I would try to wait for the Touch Pro2 if I were you and I would definitly run and hide from any Blackberry, Palm or Apple phone.
[Touch Pro CDMA] forlornme5:
not many people have a problem with the touch pro itself, but the you are missing out on so much if you get the verizion version.
[Touch Pro CDMA] Coldheat1906:
I agree with the others.

I have the TP for Sprint (using JD's latest beta ROM) and love it!!! With saying that..... there are a few things that need to be improved..... with the battery being the main one.

All in all the device is really easy to flash and to maintain, and so far it has served me well........ but my next phone will be an Android phone....... as soon as Sprint gets Android....
[Touch Pro, Fuze General] integra144:
I want to delete, picture, music and voicemail?

thanks
[Touch Pro, Fuze General] Farmer Ted:
It would be really nice if there was a tool called CHome Editor, wouldn't it?
[Touch Pro, Fuze General] integra144:
thanks much
[Touch Diamond, MDA Compact IV General] Karlzbad:
Why the do the tutorials on sprint.com under my device support include what is a url? but not how do I connect my phone to my home wireless network??? COME ON!
[Touch Diamond, MDA Compact IV General] darfri:
Because both are for beginners
[Touch Diamond, MDA Compact IV General] Karlzbad:
At least they aren't for douches.
[G1 Q&A, Help & Troubleshooting] tucka20:
Hi, is it possible to disable all data access on the G1, but still be able to send and receive picture messages? I need to know within 12 hours as I am going away then and would like to use picture messaging but im not paying data fees, please reply asap

Thanks.

Tucka
[G1 Q&A, Help & Troubleshooting] kusotare:
no, it isnt. MMS requires data.
[G1 Q&A, Help & Troubleshooting] tucka20:
thats useless.every other phone i have owned can do this!
[G1 Q&A, Help & Troubleshooting] Saiboogu:
Technically, every other phone you tried this on still left some data access open if you were able to send/receive MMS. MMS is definitely sent via data.