yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Jyveafk:
Installed, works a treat.

One, tiny question, and maybe I'm missing something in Busybox configuration, but anyone used VI in a terminal window? And does it save for you?

On an existing file, doesn't save, on a new file, it'll create the file and not save anything. I'm in as root, chmodded, on sdcard, or data areas, I just can't get VI to write anything back out.

Can someone else just try and let me know if I'm missing something daft please?

*edit. Even if there was data in the file, opening it up and saving is wiping the file it appears.

Used :w :z(not implemented), :w newfile

nothing appears to save out.
[G1 Android Development] humble:
Question

JesusFreke, is it possible for you to change that the G1(on the device) to read and write? so that one could move his or her cache with out using adb or telentd and do more, root's find but if its only read you will always need to use the adb shell or telentd:(

thanks
[G1 Android Development] parrothd:
I mentioned this earlier, must've been overlooked by JF...

I ended up coping the orginal version to the phone..
[G1 Android Development] danguyf:
I'm pretty sure I've saved files using "ZZ".
[G1 Android Development] zwuncki:
Hi,

so I'm on ADP1 1.3 from JF.

If I'm not totally wrong, I could use ICQ on IM from Android System in the past (original FW). Now I can't. At least I don't know how. I only get my GoogleTalk Account, but can't register to ICQ or any other IM.

Isn't it possible anymore? Or did I miss something in the settings? Or was I really that wrong and it was never possible to use IM with ICQ?!

Thx.
[G1 Android Development] :
You have to use the RC30 version because the ADP1 update does not have any IM clients other than GTalk.
[G1 Android Development] kushion:
t-mobile contract

i have used a guide and got to the piont of installing this update but im slightly worried because im on contract with t-mobile can they block me from using my phone or do anything to me? pleeeeeeeeease help :confused::)
[G1 Android Development] widto08:
I sure hope not. I've had mine modded since day one :D
[G1 Android Development] parrothd:
Not from the phone, control Z suspends...

Take that back, you can use Shift ZZ...
[G1 Android Development] Born_Immaculate88:
Anyone have a link to download the adb shell??
[G1 Android Development] brandenk:
Would it be possible to embed the at&t APN? :)
[G1 Android Development] teflon252:
my g1 is failing to read the update.....it wont update to it....the first version ur hosting on the list is not complete...i had to go to your other site to get the proper update...
[G1 Android Development] JesusFreke:
Yes, when I first uploaded the files they had gotten corrupted. I had removed the links as soon as I found out. I added the links back after I re-uploaded the files and confirmed that they weren't corrupt.

Sorry about that :)
[G1 Android Development] Jyveafk:
Hmm, just tried this, still writes a zero length file for me. Is it saving for you?

From brief chat in #android, it was thought the lack of TMP might be messing up the .swp being created and moved in when saving complete?

If it's actually working for anyone, on the phone, can you let me know please?

cheers.
[G1 Android Development] teflon252:
no prob...thanks...n keep up the good work...i wish i could figure out how to hack n modd the Android OS....i used to do WM5 n WM6 roms...but can't get the hang of this for the life of me...except follow the instructions u guys give...
[G1 Android Development] samysam05:
i dont know if this was mentioned or not but the update will remove the theme you have installed(blue star). Just wanted to put this out there. Update went great for me! btw Thx :D:D
[G1 Android Development] Deedend:
Updated and working... thanks again Jesusfreke!!! :)
[G1 Android Development] JLine05:
I am a little confused and any help would be appreciated. I downgraded from RC30 to RC29 using the steps here: http://xdaforums.com/showthread.php?t=442480

I am now trying to get the JF1.31 installed and I have downloaded the zip file, formatted my sd to fat32, renamed the file to update.zip, when I try to install it using the recovery utility, it says E: No signature E: Verification failed.

I know it has something to do with what is typed out below but Im just not understanding how to fix it.

Note: To install these updates, you need to have a recovery image that uses test keys. If any of the following are true, you most likely have a recovery image that uses test keys

- you have installed my modified recovery image in the past

- you have an ADP1

- you currently have one of my modified firmwares installed

How do I change the recovery image to one that does/does not use test keys (whichever is needed?)

Thanks
[G1 Android Development] jashsu:
Follow the steps outlined in this sticky:

http://xdaforums.com/showthread.php?t=443797
[G1 Android Development] JLine05:
Thank you, I was able to do it following a link from the post you gave me. For anyone else it is: http://android-dls.com/wiki/index.php?title=Keeping_Root

Thanks again jashsu
[G1 Android Development] parrothd:
It's probably something with the newly complied busybox, I re-tried the ZZ save and it doesn't save the file. I must've been looking at something else.. :) The old version does work.
[G1 Android Development] Perrosky:
I unlock my phone last night and installed install the JF 1.31 release everything went fine but now I try to get root doing the telnetd and then open the android telnet program but I can't I get an error.

error while conecting to server: localhost/127.0.0.1:23 Connection refused

error while recieving from server: null

Can anyone tell me if this is suppouse to happend?, or if I made I mistake I did everything as it says in the link

Tutorial: T-Mobile G1 RC30 to JFv1.31

Thanks
[G1 Android Development] rsfaze:
If you have JF 1.31 just open terminal emulator and type "

su". you will be prompted.. select yes or always.

You now are "ROOT"
[G1 Android Development] Perrosky:
it works!!!

Thanks
[G1 Android Development] rsfaze:
yes it does. np

Now the next question.. what to do with it? :D
[G1 Android Development] :
I finally had some time to install the ADP1 version and I didn't have to do a wipe :D

Now I'm having an issue with Missed Call, the call notifications service won't start because it says the process gets killed :confused: Anyone have the same issue?
[G1 Android Development] cl0s:
Nice!! This **** is G right cheaaa!

ADP by the way...

- Chozen Few Gang!

http://www.chozenfewmixtapes.com
[G1 Android Development] cl0s:
I was having the same problem, seems like you HAVE to do a wipe. Fixed it for me.
[G1 Android Development] andonnguyen:
After updating with the v1.31, when entering recovery mode it still says JFv1.3.

Is it suppose to say JFv1.31?
[G1 Android Development] liqwid:
Same here but with RC30. Wipe fixed it for me.
[G1 Android Development] txvdha:
General Thanks

I appreciate JF's efforts. I found the 1.31 part way through trying to build my own busybox. It works great on my adp1 (the adp version of course), and is obviously much better than what I could cook up.

---

My main current source of grief is in transfering files. I threw together an xubuntu box on an ancient laptop do try to do a cross compiler (before finding the JF stuff), but it has usb-1 and 'adb push' locks up. (I had to put the images.xxx on a web server to get it to my phone.)

My phone came with '/system/bin/scp', but running it complained about a missing /system/bin/ssh. Musta been compiled against that which is removed? I found this interesting, and have not seen it mentioned by anyone elsewhere.

I have been able to use the JF1.31 ssh to port forward (and get access to an internal webserver from the internet), but my joy was brief....due to network issues or dropbear instability I am not yet sure.

I tried using the JF1.31 scp with '-m /system/xbin/ssh', but it complained about a non-functional random device or some such.

Eventually I hope to achieve an sshd server on the phone to I could work more effectively on it from any wifi connection, but later.

BTW, I consider it more dangerous to flash an image one has not built themselves (e.g., jf1.31) than to run telnetd within a semi-secure network. I'd rather not run telnetd, however, because I would likely forget to turn it off. sshd better.

---

One other thing which would be ultra-cool would be 'rsync'. If I get to where I understand things well enough before losing interest, I hope to try to work on that.

Thanks again!
[G1 Android Development] JesusFreke:
Make sure you're using a USB cable with a ferrite core. I had a lot of trouble with adb push when I was using the cable that came with the phone.

Another option for transferring files is samba or windows shares, if you have a local wireless router. I included a cifs module which should be able to connect to either. for example:

busybox insmod cifs

mkdir /data/local/mnt

mount -o username=user -t cifs //192.168.1.1/someshare /data/local/mnt

Also, keep in mind you can always run a linux box in a VM, if you need to do some cross-compiling, or building the android source from git or what-not. I've been able to connect to my ADP1 from my ubuntu vmware virtual machine.

Let me know if you need any help with cross compilation or whatever. I'll be happy to share what I've managed to learn so far :)
[G1 Android Development] kindanewbie:
hmm...

So i am having a little trouble with this update. I installed it and now i am trying to use this 'auto rotate for android browser' http://www.koushikdutta.com/2008/12/auto-rotate-for-android-browser.html) but the terminal emulater will not let me do the commands. It says permission denied. Also, since i have installed this update, the telnet is not working. Any suggestions?
[G1 Android Development] necromancerr:
when i flashed jf RC 30 v 1.31, i got 71mb of free internal memory and with jf ADP 1.3, i got only 55 mb of free space in the internal memory. Is that the difference between the two versions??? besides ADP not having my fav and only gtalk in its im?
[G1 Android Development] rsfaze:
you will need to mount the file system so it's read/write before you can enable the Auto rotate feature. If you are using Droidsans you can select 1. which mounts the file system, then enable the Auto rotate feature, then change the file system back to read only. Reboot and will have Auto-Rotate enabled.
[G1 Android Development] Koush:
I also don't bother adb pushing large files. It takes way too long, and it gets corrupted half the time. Just mount the card as a removable disk on your computer and copy it that way.
[G1 Android Development] deprecate:
+1 good suggestion!

kindanewbie If you don't use Droidsans (does not work well at all in ADP1) you can always connect your phone to your computer, and issue: adb remount. That will afford you the ability to remove whatever you want.
[G1 Android Development] kindanewbie:
How do you do that?
[G1 Android Development] jashsu:
Uhh... he just described it right in his reply. Connect G1 to computer and enter adb remount.
[G1 Android Development] deprecate:
1 - Connect phone to computer with supplied usb cable

2 - Assuming you are on Windows, browse to your sdk/tools directory and type (without quotes) "adb remount".

C:\path\to\sdk\tools>adb remount

3 - If successful, you will see:

remount succeeded

4 - PROFIT!

:)
[G1 Android Development] stogchris81:
noob question

so, is the rc30 v1.31 basically the same as stock but with root?
[G1 Android Development] :
no. please review the beginning of this thread to see what 1.31 contains. it has many modifications thanks to JesusFreke....
[G1 Android Development] stogchris81:
ok. i dont really need most of that. i flashed my touch numerous times and never had a problem, so i kinda know what im doing. but, all i really want is the auto rotate and maybe a couple other features i can only get with root. is this the way to go?
[G1 Android Development] :
all of the extra things in jfs build are really good utilities. and yes this is the way to go to get autorotate..what else are you looking for?
[G1 Android Development] stogchris81:
well, i just read that this wont accept the ota cupcake. is that true. if so, can i update to cupcake some other way?
[G1 Android Development] Koush:
There will be a modified version of the OTA cupcake.
[G1 Android Development] stogchris81:
ok, then if this doesnt work out, can i go back to stock rc30?
[G1 Android Development] :
yes...you can
[G1 Android Development] stogchris81:
thank you for your help. i think i will leap. any hints or advice?
[G1 Android Development] :
my tip is just read these posts..they rock..if you follow the instructions in the first few stickies, it will be pretty easy...another hint, try everything before setting up your device exactly how you want it. after flashing a modded firmware i would put the hardspl on it right away.... and enjoy....
[G1 Android Development] stogchris81:
what exactly is hard spl? i feel dumb asking.
[G1 Android Development] :
hard spl is a version of the bootloader that locks in your carrier id as 111111111 which alows you to flash any os to it so if you mess up your g1 you can restart without worrying about bricking it. one of the stickies has the engineering bootloader, original and engineering w/ hardspl....go for the latter.
[G1 Android Development] stogchris81:
even if i just want auto rotate, screen shot and tether?
[G1 Android Development] stogchris81:
and what do you mean "try Everything"?
[G1 Android Development] rsfaze:
to get these you need root. To get root you will need to at least downgrade to RC29. Then you can upgrade to JF 1.31 which is RC30 with ROOT access. . Once that is done, you can setup your phone the way you want, auto rotate,tether, etc.

I also installed the eng bootloader which gives like said above the ability to flash anything I want to my phone. Coming from the WindowsMobile word from my wizard and tilt, its the hardspl which allowed us to flash any "rom".

Think of the JF 1.31 as a rom and the bootloader as the Hardspl in Windows Mobile.
[G1 Android Development] stogchris81:
Thanks! here i go. btw, do unplug the usb while flashing?
[G1 Android Development] :
well said!
[G1 Android Development] rsfaze:
I have always disconnected or at least unmounted my phone before running any commands that involve accessing the SD card.

p.s. thanks korndub, it's taken me awhile to understand Android compared to Windows but I recently switched to Linux for my computers, so that makes it easier.
[G1 Android Development] stogchris81:
update in progress...
[G1 Android Development] rsfaze:
nice.. is this the update for RC29 or JF 1.31?
[G1 Android Development] :
Happy to help guys. Happy rooting andflashing!
[G1 Android Development] stogchris81:
rc29... can i unzip the hard spl before placing it on sd car

d?
[G1 Android Development] rsfaze:
nope.. when you download these files like bootloader and jf image.. you just rename them to update and put them on your sd card. This way when you tell your phone to update it looks for the file called update.zip
[G1 Android Development] stogchris81:
when i type telnetd it does nothing
[G1 Android Development] :
you wont, it runs in the background, just make sure your computer is ready to establish the connection, the telnetd on the g1 only stays active for a few seconds, so you have to connect from your pc quick....then you are root, and golden....
[G1 Android Development] rsfaze:
thats normal it does nothing, now open up terminal and get typing.

DOH
[G1 Android Development] stogchris81:
im reading the instructions in for rooting hacking and flashing and it doesnt say anything about connecting usb during this step...
[G1 Android Development] stogchris81:
ok, i get it.
[G1 Android Development] :
what you do is open terminal/cmd/whatever on your computer and type

telnet 192.168.xxx.xxx whatever your g1 ip is...

then you will get

#

to get your g1s ip go to wireless settings and click on the network you are connected to...
[G1 Android Development] stogchris81:
the rooting hacking and flashing sticky doesnt say anything about that. i typed the 4 commands into the telnet app i just downloaded. was that wrong?
[G1 Android Development] rsfaze:
i didn't do anything with the wireless either.
[G1 Android Development] jashsu:
That is a more pain-free option.
[G1 Android Development] stogchris81:
i typed the 4 commands into telnet. am i now rooted? i got ## after each command
[G1 Android Development] rsfaze:
you're on track.. keep going
[G1 Android Development] rsfaze:
yes as # you are root. If you were limited it would be $
[G1 Android Development] :
now you have su on your phone...next step...flashing the recovery image that is signed with test keys.... take your JF 1.31 update and unzip it....

should be in data folder...

then you open terminal and type this...

adb push "path to file" /data/local/recovery.img

then

$adb shell

$su

#mount -oremount,rw /dev/block/mtdblock3 /system

#cd system

#cat /data/local/recovery.img > recovery.img

#flash_image recovery recovery.img

let me know when you get this step done...
[G1 Android Development] stogchris81:
thanks!!! just to confirm, i was expecting it to do somekind of load or something with the recovery.img. it didnt. im ok though, right?
[G1 Android Development] :
next.... put the JF 1.31 zip on the root of your sdcard and rename it to Update.zip

power off your phone, power on while holding home key.... when you get to the recovery program press alt+s wait for it to finish then reboot.....
[G1 Android Development] :
if you enter a command and get back to # youare all good...
[G1 Android Development] stogchris81:
these are the commands i already typed into telnet. accept for adb shell and su.
[G1 Android Development] :
great! now just put the Update.zip on your sd card and reboot into your newly created recovery image...
[G1 Android Development] stogchris81:
the next step in the instructions here http://xdaforums.com/showthread.php?t=442480 is to apply the hard spl. is that right?
[G1 Android Development] stogchris81:
btw, thank you both so much for your help.
[G1 Android Development] :
i would appliy the jf rc30 first...that way you are certain to have root through adb...just in case....

then do the bootloader hardspl update...
[G1 Android Development] stogchris81:
then should i take the hard spl off the sd card while i load v1.31? its also names update.zip.
[G1 Android Development] :
yeah, you can only have one Update.zip at a time... make sure its Update not update...

i just made a folder called updates and put them in there, then copy to the root of the sdcard and rename as i need them....
[G1 Android Development] rsfaze:
I agree do the 1.31 first.. both you are going to name update.zip. First do JF image then do the bootloader. I have the eng bootloader on mine
[G1 Android Development] stogchris81:
ok, i restarted into recovery and pressed alt w to wipe device and it restarted the phone normally. should i restart again into recovery?
[G1 Android Development] :
no and you didnt need to wipe...
[G1 Android Development] stogchris81:
ok, what now?
[G1 Android Development] :
you got 1.31 and bootloader? thats it... you are up to date and rooted..congrats!
[G1 Android Development] stogchris81:
ok,the directions said while in recover, press alt w to wipe and then alt s to apply image. but after wiping the phone restarted as normal. i then restarted into recovery again and pressed alt s again, a progress bar showed up for a second and then went away. did it update that fast?
[G1 Android Development] rsfaze:
lol now the fun begins. What do you want out of your phone?

I have auto rotate enabled.

Moved all my cache's to the sdcard

Deleted amazon.apk

Custom boot image with contact info if lost or stolen

Win7 theme loaded

and other stuff I can't remember at the moment. You are root.. you can do anything.. but first setup your phone the way you want.. boot back into recovery and make a back up with the beautiful nandroid software that is built in courtesy of JF.

This way if you do something you shouldn't you won't have to redo everything, you can just push the recovery images to your phone the same way you did the rc29 image.
[G1 Android Development] stogchris81:
is recovery supposed to have a phone with a triangle with an exclamation in it?
[G1 Android Development] stogchris81:
build number in phone info still says rc29
[G1 Android Development] rsfaze:
did you press Alt L then Alt S ?

1. Power off your phone.

2. Start up in recovery mode by holding home and pressing power.

3. You will now enter recovery mode. You should see an exclamation.

4. If you do not see a menu on screen, press Alt-L to show the menu.

5. Press Alt-S to apply the update from the SD card.

6. After the update is complete, hold Home and press Back to restart.
[G1 Android Development] stogchris81:
no, should i have?
[G1 Android Development] stogchris81:
cant open /sdcard/update.zip no such file exists.
[G1 Android Development] stogchris81:
is the u supposed to be capitalized?
[G1 Android Development] rsfaze:
yes make it a capital U. Alt l shows the text.. alt s starts the Update.zip
[G1 Android Development] stogchris81:
is recovery.img still supposed to be on the card also?
[G1 Android Development] rsfaze:
nope you are done with that.. just put the jf 131 in form of Update.zip
[G1 Android Development] stogchris81:
still says no such file exists. dangit!
[G1 Android Development] jdhorvat:
These forums are an excellent resource full of patient people who are excellent at what they do, and very patient with newbies. I completely support the idea of helping those who have difficulty with certain details, but I think that those who need assistance should be more considerate at times.

There are step-by-step instructions in many places on XDA boards, and linked to from XDA boards. There is a search function. If the search function fails you and if you are unfamiliar or confused about a particular point then by all means, post the question. There is a "READ BEFORE POSTING" on almost all boards and XDA is no exception.

Just my two cents. I apologize if this comes off as rude, but when I look at the last 6 pages of comments and see question after question which is already answered elsewhere I become somewhat irritated.
[G1 Android Development] stogchris81:
can you tell me where? the search function has yet to work for me in this thread. i appologize for irritating you.
[G1 Android Development] stogchris81:
i have completely read the instructions for this topic on a different thread. however when korndub presented a different set of instructions, i felt the need to verify certain steps to make sure my brand new G1 isnt ruined.
[G1 Android Development] jdhorvat:
I didn't mean to come off as angry, I apologize. It is In the upper left hand corner next to "Quick Links" and "New Posts"

http://xdaforums.com/search.php

Also, please see the following threads for step-by-step directions:

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

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

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

Reading them in their entirety should help to curb some of the curiosity before it even crops up.
[G1 Android Development] stogchris81:
i didnt mean to say i didnt know where the search tab was. i meant i have searched and found no answer. i have read the rooting, hacking and flashing thread. it says rename rc30v1.31 to update.zip. these guys helping me said Update.zip. i tried to search that, no luck so i asked. i dont need info on spl's right now, im still just trying to load rc30v1.31. with no luck. at this point i need a forum, instead of just a search engine.
[G1 Android Development] jdhorvat:
Well I hope you get it going! I personally like the Auto Rotate feature

Best wishes!
[G1 Android Development] stogchris81:
wow, that was constructive. thank you.