yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] JesusFreke:
The zip file probably won't be exactly the same byte for byte, due to things like different file modification times, etc. That could throw the size off a bit either way too, as it would probably change how it is compressed. But the contents should be exactly the same.
[G1 Android Development] logoutreally:
How to compile for ADP1 with proprietary binaries included?

This forum is ahead in Android stuff too. So far much better than the

official ones.

Just curious.. have been trying to compile cupcake and stuff for android

on my own but can't get most of the closed source pieces to work

together. How does JF manage to compile firmware with the latest features

plus the old binaries with so little support from Android team as of now?
[G1 Android Development] JesusFreke:
The major pieces of the firmware are still from RC30, RC8 and ADP1. I've recompiled a few key pieces (kernel, the browser, the recovery mode binary, to name a few), but the majority of the system software is still from the official firmware images.
[G1 Android Development] fuchsmi:
Are you able to get root access on an Austrian G1? I thought the leaked RC29 firmwares is only for US/UK models (or allready rooted devices...) and the new regions will have their own region code...
[G1 Android Development] logoutreally:
Any need to old repo sync?

Is it essential to repo sync any part of the SDK to a particular date for these to compile safe and work with the old ones?
[G1 Android Development] JesusFreke:
I use a snapshot of the pre-cupcake source. See details here (link seems to be down atm, hopefully it should be up soon)
[G1 Android Development] alienkidmj12:
g1 help

I have firmware version 1.00 RC8 on my g1, i tried upgrading to rc33 as per http://www.blogsdna.com/2383/how-to-manually-update-t-mobile-g1-phone-firmware-to-rc33.htm, this however did not work, as soon as i pressed alt+s i got an error and it never completed. it did recognise the update.zip file though. anyway, what i was wondering, im fairly confident in rom upgrading etc, but i would like some advise in which is the best way to go with roms for this phone, can anyone give me some advise on rom updating, and maybe advise on any better cooked roms, providing download linkks.thanks. oh by the way, does anyone experience handset reboots byself on v1.0. Whats the difference between rc8and rc33 ?
[G1 Android Development] alienkidmj12:
Woo, just as well it failed, i tried to flash rc30 onto a rc8 phone ooops, could of nacked it up :( well it still boots up ok, glad it failed when it did, ill just wait for official uk release, unless anyone has any word of it already :)
[G1 Android Development] kanisdragon:
Can't connect CIFS share

Apparently there's something wrong with the path to the cifs module in at least the ADP1.1 release of the firmware because when I type "busybox insmod cifs" I get the error "insmod: can't read 'cifs': No such file or directory"

EDIT: I ran 'find . -name "cifs"' and found the module in some odd path, and pointing to that path makes it work:

busybox insmod /system/modules/2.6.25-01843-gfea26b0/kernel/fs/cifs/cifs.ko

EDIT2: JesusFreke says to use this command instead of busybox insmod: "modprobe cifs" I tested it to work in the 1.42 release.

If you don't get the cifs mod installed, when you type "mount -o username=myuser,password=mypw -t cifs //192.168.1.1/someshare /data/local/mnt" you get the error "mount: mounting \\192.168.1.1\someshare on /data/local/mnt failed: No such device"

I also needed to run "chmod 777 /data" and "chmod 777 /data/local" or else ASTRO File Manager (and presumably any other file manager) can't read the directory. These directory permissions got changed when I did a firmware update - is there a better place to put the mounts? I created a shell script like /data/local/bin/mtshare to mount a share:

#!/system/bin/sh

modprobe cifs

mount -t cifs //192.168.0.2/share /data/local/myshare -o username=myUser,password=myPW

Make it executable: chmod 777 /data/local/bin/mtshare

Since /data/local/bin is in the search path by default, you can run the script from anywhere.
[G1 Android Development] zeleni_paradajz:
hello! :)

i've just got my G1 and on about phone -> build number says:

kila_eu-user 1.1 TMI-RC9 128600

ota-rel-keys, release-keys.

Is there a way to jailbroke it and how?

Help please, i'm desperate :)
[G1 Android Development] phanhieu:
hi, what is Jf V1.3.1 i'm a newbie
[G1 Android Development] garok89:
seriously....this is an ancient thread....why reawaken it?

the relevant information on roms are easily available from the stickys and rom threads etc

check androidspin.com for current rom details

oh.... and make sure you are rooted (there are hundreds of threads and guides regarding root so please dont ask questions here or open a new thread as you will just get burned horribley)

good luck
[G1 Android Development] Ace42:
it is a rom you should read before reviving threads that are a year old.

Not sure if you even know what root is since you dont know what 1.31 represents.

Jf=Jesus Freak

1.31= version of rom
[G1 Android Development] phanhieu:
is root a way that u cam have a full control of your phone?:confused: i just tried to root my phone but not sure if i was succesful. i was able to install the modaco custom rom 3.1 core though. so what is JF for? coz i'm looking 4 a way 2 transfer all the apps to my sd card but not sure how 2...:D
[G1 Android Development] garok89:
if you installed modaco then you are rooted

for apps2sd you need an ext2 or ext3 partition....

dont ask any more questions in this thread

there are plenty of guides if you search

let this thread die in peace gracefully
[G1 Android Development] persiansown:
Thanks man!
[G1 Android Development] im.l0ltn:
=]

Amazing work as always. Thank you!
[G1 Android Development] OpieTaylor:
That's what I figured, tried it with the RC30 version and it worked perfectly, good stuff!
[G1 Android Development] PAO1908:
One (perhaps) dumb question:

Do I lose any settings or applications that I have installed ?

Im at the moment on the first jesus firmware (30).

Thanks and happy new year.
[G1 Android Development] felicita:
Does it work with official RC30?
[G1 Android Development] PAO1908:
From page 1:
[G1 Android Development] angel-78:
Thanks for all your hard work. I have dumb question, I have internet sharing using the iptables and wifi. Will I have to reset that up after I go from v1.2 to v1.3. thanks in advance.
[G1 Android Development] jashsu:
If you decide to try not wiping (Alt+W) on the installation then you won't have to reset it.
[G1 Android Development] hmepas:
Interesting is that possible to have browser from ADP version which has improved java and text-copy ability on RC30 build?
[G1 Android Development] dwang:
Really is this true?

Can somebody make available the adp1 browser apk? Or maybe compile the latest browser from the source tree? I wonder if its possible to just compile the cupcake version of the browser and have it run on jfv1.3?
[G1 Android Development] hmepas:
Didn't work for me. It's said

Performing backup.
error runnin nandorid backup. Backup not performed.

Am I missing something?
[G1 Android Development] [RiS]:
When you install this update, are the installed applications removed? and the settings of every app?

Thanks
[G1 Android Development] [RiS]:
I think he is talking about cupcake webbrowser, not ADP.
[G1 Android Development] dwang:
the installed apps are not removed.
[G1 Android Development] hmepas:
Ain't it's the same yet? Since on cupcake page it's said this branch already merged to trunk.
[G1 Android Development] manup456:
Great freaken work!!!!!!! no complaints here I love it just one Q; How can i move my apps cache to the S.D? I had steel,web browser,imeem,tunewiki,streetview,market and Maps but i installed V1.3 i have the dev bootloader installed as well,my problem is i cant telnet anymore to move them to the S.D the commands i have are for windows command promt.

What can i do?
[G1 Android Development] [RiS]:
No, ADP1 comes up with a OS image that is pretty similar to R30, without Amazon store and Tmo stuff.

Cupcake source release was after ADP1 was released, and although currently is merged on the trunk, there is nothing as an "oficial build" of it. (Although all we are waitting for an update with these new features :D).

Anyway, I don't know if it is possible to build the new browser from source and install it on any current image, as maybe the browser expects some stuff from cupcake, such as OSK.
[G1 Android Development] hmepas:
And as far as I understood that's not possible to use applications from market with Cupcake release before those apps will be rebuilded by their developers in a new framework, right? Overwise let's all begging JF to prize us new update.zip from cupcake release. IT HAS SOFT KEYBOARD! So we will finnaly have a way to enter non-english symbols.
[G1 Android Development] dwang:
Use the terminal emulator that jf included w 1.3.

on windows connect the g1 via usb and use "adb shell" to get a shell prompt.
[G1 Android Development] wpbcubsfan:
Same thing here...
[G1 Android Development] pershoot:
download terminal emulator from the market. launch it and then type su to become root.
[G1 Android Development] devsk:
While I was trying to do this, I noticed that in the recovery mode, its not saying "test keys" anymore. Does anyone know why? I did not update as yet. Wondering if there is something wrong. There is no recovery.img in /system.

Do I need to have recovery image on /sdcard?

Do I need to copy it again to /system?
[G1 Android Development] pershoot:
JF omitted the 'using test keys' line in the console for v1.2.
[G1 Android Development] manup456:
I did use emulator and this v1.3 comes T.Emulator pre-installed. I have did all this before but now i get established with emulator but when i type telnet an my ip the computer hangs but does not bring up the # so i can send the commands.
[G1 Android Development] [RiS]:
I don't believe that the applications need to be rebuilded. The updates MUST be backwards compatible, or Google will make all developers go crazy. Other thing is that new applications, that can use new features, won't work on older releases.
[G1 Android Development] JesusFreke:
I forgot to include the telnetd from RC29. the telnetd that you're running is busybox's, and apparently it doesn't like android.

But I'm not exactly clear on why you need telnetd? You can get root access in terminal emulator.. just type su. Also, you can connect to the phone via usb, with the adp command.
[G1 Android Development] JesusFreke:
Note: terminal emulator is included in v1.3. no need to download :)
[G1 Android Development] JesusFreke:
I suspect you don't have enough space on your sdcard. when you boot back into normal mode, open terminal emulator and type "df".

Look for the line that starts with /sdcard

/sdcard: 7869856K total, 3406048K used, 4463808K available (block size 32768)

How much space do you have available? You need around 85-90mb
[G1 Android Development] Razor1973:
First of all, thanks a whole lot to JF and all those who make all these wonderful contributions to the G1 community possible and Happy New Year to all!

I am confused about a couple of things. Please advise.

I applied JFv1.2 to my RC29 and then installed the engineering SPL (I was going to link the thread I used, but can no longer find it for some reason) and can get the three rollerblading androids, so I now have a "2.6.25-01843-gfea26b0 root@carrier #21" kernel and "kila-user 1.0 TC4-RC30 116143 ota-rel-keys, release keys" build.

1) For purposes of these posts, do I have RC30 or ADP1?

2) Am I right in assuming I can install either of these versions for JFv1.3, the deciding factor only being whether I want the TMo applications or not?

3) JF says in his release post "To install these updates, you need to have a recovery image that uses test keys". Then, he goes on to mention factors that would indicate I have test keys. They are true for me, however, my build description includes "release keys" in it. Is this any indication? I remember seeing build descriptions that said "test keys".

Thanks in advance for clarifying these points for me.
[G1 Android Development] JesusFreke:
Yes, you can install any of the versions. However, you will need to do a wipe if you install the ADP1 or RC8 version (but no wipe if you install RC30 version).

You almost certainly have a recovery image with the test keys.
[G1 Android Development] Razor1973:
JF, thanks for the quick response!

No, call me stupid, but I do like TMo's apps, so I will be installing RC30. So I assume I currently have an RC30 phone, not an ADP1, correct?

OK, so I guess I should never look at the build description to tell whether I have test keys or not.
[G1 Android Development] dcman008:
I just flashed my phone worked just fine, thanks for your hard work.

I tried to use the back up but i get an error.

"Error running nandroid backup. Backup not performed." I have almost 2 gigs of free space on my sd card.
[G1 Android Development] JesusFreke:
Which version did you use?

Also, are you able to use adb to connect to your phone? If so, can you boot into recovery mode, try to perform a backup, and then post a copy of /cache/recovery/log? Here's the command you need to get the log off the phone

adb pull /cache/recovery/log recovery.log

Then post the recovery.log file
[G1 Android Development] wpbcubsfan:
Here's what I got:

C:\SDK>adb pull /cache/recovery/log recovery.log
61 KB/s (2213 bytes in 0.035s)

C:\SDK>type recovery.log
Starting recovery on Thu Jan 1 23:47:17 2009
Android system recovery utility
Build: JFv1.3
I:Set boot command "boot-recovery"
Fixing execute permissions for /cache
Command: "/sbin/recovery"

ro.secure=0
ro.debuggable=1
persist.service.adb.enable=1
ro.build.id=TC4-RC30
ro.build.version.incremental=116143
ro.build.version.sdk=1
ro.build.version.release=1.0
ro.build.date=Fri Oct 31 19:00:53 PDT 2008
ro.build.date.utc=1225504853
ro.build.type=user
ro.build.user=android-build
ro.build.host=undroid11.corp.google.com
ro.build.tags=ota-rel-keys,release-keys
ro.product.model=T-Mobile G1
ro.product.brand=tmobile
ro.product.name=kila
ro.product.device=dream
ro.product.board=trout
ro.product.manufacturer=HTC
ro.build.product=dream
ro.build.description=kila-user 1.0 TC4-RC30 116143 ota-rel-keys,release-keys
ro.build.fingerprint=tmobile/kila/dream/trout:1.0/TC4-RC30/116143:user/ota-rel-k
eys,release-keys
rild.libpath=/system/lib/libhtc_ril.so
wifi.interface=tiwlan0
ro.com.google.clientid=tmobile-us
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=true
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.config.notification_sound=F1_New_SMS.ogg
ro.url.legal=http://www.google.com/intl/%s/mobile/android/g1-legal.html
ro.config.ringtone=BirdLoop.ogg
ro.config.sync=yes
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.modversion=JFv1.3
ro.factorytest=0
ro.serialno=HT840GZ05965
ro.bootmode=recovery
ro.baseband=1.22.12.29
ro.carrier=TMUS
ro.bootloader=0.95.3000
ro.hardware=trout
ro.revision=128
init.svc.recovery=running
init.svc.adbd=running
adb.connected=

Home+Back - reboot system now
Alt+L - toggle log text display
Alt+S - apply sdcard:update.zip
Alt+W - wipe data/factory reset
Alt+B - nandroid v2.1 backup
(courtesy of infernix
and brainaid)
I:Set boot command ""
I:Set boot command ""
I:Set boot command ""
I:Set boot command ""
Performing backupnandroid-mobile v2.1
.mounting system and data read-only, sdcard read-write
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: No such file or director
y
Error mounting sdcard read-write
umount: can't umount /sdcard: Invalid argument

Error running nandroid backup. Backup not performed.

C:\SDK>
[G1 Android Development] JesusFreke:
Hmm. Boot into recovery mode, then do the following:

adb shell ls /dev/block

what does that show?
[G1 Android Development] wpbcubsfan:
Here you go:

C:\SDK>adb shell ls /dev/block
loop0 loop3 loop6 mtdblock0 mtdblock3 mtdblock6
loop1 loop4 loop7 mtdblock1 mtdblock4
loop2 loop5 mmcblk0 mtdblock2 mtdblock5
[G1 Android Development] ashshlay:
Soon we'll have a rom kitchen up and running if this keeps up...

I am so impressed and thankful for your work JF!
[G1 Android Development] kron2:
jf i updated to your new update but now i can't see my files using the dalvik debug monitor it picks my phone up and the screen but not the file system can you help me on this
[G1 Android Development] sergebl:
THK JF your are my officiel release of android since I have a ADP1 without any support your are the man !

Also thanks for the following

- ADP1 version without myfive apps thx

- Devlopper build envirronement when I will have to time to play with it

- The backup utility include !!

Serge
[G1 Android Development] xcallibur:
Thanks for the great work JF... So far all is well, and I'm loving the new background in recovery mode :cool:

I just have one thing to ask.

I tried to telnet from my pc today and realized that the service starts but is then Killed as soon as I type anything and I get kicked out... I have telneted into the phone dozens of times before the update, just wondering if there is anything I missed.
[G1 Android Development] bhang:
contribute all this hard work

J.F.,

you worked hard on these im sure and I hope that you submit this stuff to android, however that is done, it is way beyond the point where your images surpassed the originals buy a good bit, you deserve the credit for what you have done, plese disregard if you are already doing this and just take it for what it is, KUDOS you are doing some cool sh1t, thanks

and my g1 thanks you for its fredom,

bhang
[G1 Android Development] jashsu:
When choosing between RC30/RC8 and ADP1, please consider that ADP1

will consume additional space on the /data partition as compared to the official builds

. More explanation here.
[G1 Android Development] JesusFreke:
Can you try reformating your sdcard? I suspect that may fix it.
[G1 Android Development] wpbcubsfan:
FAT or FAT32?
[G1 Android Development] dcman008:
sorry i should have said i was using rc30. when i get home ill get that info for you.
[G1 Android Development] JesusFreke:
Known issue :). If you want to make it work, grab a copy of one of my previous releases, and copy the telnetd binary from it to /system/bin on your phone.
[G1 Android Development] JesusFreke:
Shouldn't matter, but fat32 is probably a better idea
[G1 Android Development] felicita:
JesusFreke

How can i install the full version of IM? I need AIM.
[G1 Android Development] JesusFreke:
You can't on the ADP1 version. It should already be present on RC8/RC30. I believe there is a third party application that can do AIM too. anyone?
[G1 Android Development] jashsu:
RC30 should have AIM support in the built-in IM client. However, the built-in client uses SMS for all the services except Google Talk. You should install Hello AIM application by Multiple Facets. You can find it on the Market by searching for Hello AIM. It will let you connect to AIM network using the data connection instead of SMS.

Edit: It will work with the ADP1 build as well. ;-)
[G1 Android Development] pdspatrick:
FYI, this doesnt seem to like having multiple partitions on the sd card (apps stored on sd card), wont even flash, just crashes.

Backup the secondary partiton on the sdcard, wipe the card, use one vfat/fat32 partition and put update.zip on it to flash....

Was wondering for like half an hour as to why it wouldnt flash...maybe this should be noted in the first post?
[G1 Android Development] dcman008:
JF here is my recovery.log

Starting recovery on Fri Jan 2 02:12:41 2009
Android system recovery utility
Build: JFv1.3
I:Set boot command "boot-recovery"
Fixing execute permissions for /cache
Command: "/sbin/recovery"

ro.secure=0
ro.debuggable=1
persist.service.adb.enable=1
ro.build.id=TC4-RC30
ro.build.version.incremental=116143
ro.build.version.sdk=1
ro.build.version.release=1.0
ro.build.date=Fri Oct 31 19:00:53 PDT 2008
ro.build.date.utc=1225504853
ro.build.type=user
ro.build.user=android-build
ro.build.host=undroid11.corp.google.com
ro.build.tags=ota-rel-keys,release-keys
ro.product.model=T-Mobile G1
ro.product.brand=tmobile
ro.product.name=kila
ro.product.device=dream
ro.product.board=trout
ro.product.manufacturer=HTC
ro.build.product=dream
ro.build.description=kila-user 1.0 TC4-RC30 116143 ota-rel-keys,release-keys
ro.build.fingerprint=tmobile/kila/dream/trout:1.0/TC4-RC30/116143:user/ota-rel-keys,release-keys
rild.libpath=/system/lib/libhtc_ril.so
wifi.interface=tiwlan0
ro.com.google.clientid=tmobile-us
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=true
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.config.notification_sound=F1_New_SMS.ogg
ro.url.legal=http://www.google.com/intl/%s/mobile/android/g1-legal.html
ro.config.ringtone=BirdLoop.ogg
ro.config.sync=yes
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.modversion=JFv1.3
ro.factorytest=0
ro.serialno=
ro.bootmode=recovery
ro.baseband=1.22.12.29
ro.carrier=TMUS
ro.bootloader=0.95.3000
ro.hardware=trout
ro.revision=128
init.svc.recovery=running
init.svc.adbd=running
adb.connected=

Home+Back - reboot system now
Alt+L - toggle log text display
Alt+S - apply sdcard:update.zip
Alt+W - wipe data/factory reset
Alt+B - nandroid v2.1 backup
(courtesy of infernix
and brainaid)
I:Set boot command ""
I:Set boot command ""
Performing backupnandroid-mobile v2.1
.mounting system and data read-only, sdcard read-write
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: No such file or directory
Error mounting sdcard read-write
umount: can't umount /sdcard: Invalid argument

Error running nandroid backup. Backup not performed.
I:Set boot command ""
[G1 Android Development] JesusFreke:
what do you mean it won't flash? Do you get an error in recovery mode when applying the update? where does it crash?
[G1 Android Development] JesusFreke:
It looks like you have the same error as wpbcubsfan. Can you try reformating your sdcard and trying again?
[G1 Android Development] pdspatrick:
It just resets after starting the flash, no error, goes back to the recovery screen...

repartitioning my card as we speak to see if thats it :P
[G1 Android Development] felicita:
They all have problems with russian encoding(((
[G1 Android Development] Razor1973:
meebo, Hello AIM! and BuddyMob, all available on Market.
[G1 Android Development] dcman008:
yeah I can, just need to pull off some needed files from my sd card. I will re-post in a few mins.
[G1 Android Development] pdspatrick:
My phone now appears to be screwed up, despite the fact that I havent *actually* flashed anything yet....just removed the partition(s) from the sdcard, replaced it with the one fat32 partition, and now it wont boot :p

Removed the sdcard aaand......it still wont boot....any ideas?
[G1 Android Development] JesusFreke:
it won't boot at all? You can't get into the bootloader, recovery mode or normal boot?
[G1 Android Development] wpbcubsfan:
Worked like a charm JF, thanks!
[G1 Android Development] pdspatrick:
Yea...i can get into the bootloader (androids on skates/dev version)

how can i flash it back to work?
[G1 Android Development] JesusFreke:
Great :) I'll add a note to the first post
[G1 Android Development] JesusFreke:
Easiest way is to grab one of the DREAIMG.nbh files that are floating around and flash that. You'll need to use one that works with your phone (RC29 for a US phone or RC7 for a UK phone. If you have an ADP, either should work).