yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] mzmo:
I had the same problem, couldnt flash through fastboot & I found this: http://www.mediafire.com/?1lcz5e737k6i377

Its a flashable hboot. Just flash the rom in recovery & then flash this in recovery & yoor good to go!

I just flashed them & i've passed the "T mobile G1" screen! :D
[G1 Android Development] Firerat:
fastboot flash radio c:\downloads\radio.img

simple
[G1 Android Development] mzmo:
Wow was that it? I think I didn't type in the directory. But i've got it up & running now. Thanks anyways!
[G1 Android Development] XZ32:
anybody got this to work with psfreedom?

really eager to get the extra MBs but cant loose psfreedom :(
[G1 Android Development] ezterry:
Some have used the 32b recovery version (just use the psfreedom recovery instead of the normal ra-recovery)
[G1 Android Development] blackvyper:
Here are the 2 zip files you need to just flash the SPL and radio (radio-2.22.27.08 & hboot-1.33.0013d) through recovery. This saves you from going to fastboot and lets you spend the extra time playing CODBO or something

http://www.mediafire.com/?hpce8vvaytpxk
[G1 Android Development] ezterry:
And don't worry I'm sure blackvyper will pay for a new android phone + debricking service if you brick your phone.

Otherwise *FOLLOW THE OP* unless you *REALLY REALLY REALLY* understand what you are doing.

Maybe its just my opinion, but if you did know what you are doing.. you would realize the fastboot way is faster. (you just need fastboot installed on your computer). Also the fact that having fastboot installed and working may lead to less problems fixing your phone if you get stuck without android working at some later date. (so spend the extra time making fastboot go now while the phone works.. so you don't need to later while it doesn't work)

While on the topic of not safe:

If you find flash able radios that are not the ones in the op post (check MD5 sum I don't care if its a different mirror) please request they be removed as there are safety features in the ones in the op.. and at this point in time no SPL flasher with checks to make sure your system can support it exists.

I understand it looks like this installation is safe, but in reality its just as unsafe if not more so than installing dangerSPL. And there have been a good number of bricks installing that.
[G1 Android Development] XZ32:
Ahhh so when using the modded recovery it will work!

Ill try it right now!

Tnx for the fast reply :)
[G1 Android Development] Phateless:
Pardon my ignorance, I thought flashing via fastboot meant booting into fsstboot on the phone and using adb. Didn't realize it is something to be installed on the pc.

Can you link me to a fastboot guide so I can educate myself?
[G1 Android Development] ezterry:
You need to be in fastboot on the phone.. but you also need the fastboot application on your PC to communicate with fastboot.

Usually you put this application in the adb tools directory since it requires some of the same libraries. but its important to note that its NOT adb. (thus you will not be able to see the phone on 'adb devices')

I always just got to the HTC ADP site but there are many (mostly pinned) topics on XDA that may help where the official site fails. (or fail where the official site succeeds take your pick)
[G1 Android Development] Phateless:
Great, thanks for the info, will get to searching.
[G1 Android Development] sparksco:
I'm really sorry to hear that there is a bunch of lazy people out there that wont take the extra time to make sure there device is safe from being bricked. Once you flash this hboot you don't even have the option of flashing recovery with fastboot. So to me there seems to be a even greater risk of bricking your phone by flashing this in recovery compared to danger spl. But once again if you do it right the risk is very low. If you do it wrong, the risk is very high.
[G1 Android Development] sparksco:
Look on the Biffmod page, they have links ect on how to install all that stuff. Personally I'm using Ubuntu 10.10 on my computer, so it was a lot more effort to get it running, but it's running fine now.
[G1 Android Development] Firerat:
the fastboot link in my sig is an xda search for fastboot
[G1 Android Development] Bigt2003:
Fastboot is in the same directory as adb. Just put the phone in bootloader, put the files in the tools folder, go to cmd prompt, type the commands in the op, and reboot. It's very easy. Don't use the zips until you have the new spl in place, it's only to switch radios once you've updated the spl. I believe it's page 46 that has directions if you look a little bit.
[G1 Android Development] pl_laszlo:
hi

how to build this kernel?

that's how i made:

make config-32b-xtra

make

and it didn't boot!
[G1 Android Development] Firerat:
cp config-32b-xtra .config

make menuconfig

System Type ---> Dream/Sapphire 2.22.27.08 Memory Map support

save

make
[G1 Android Development] ezterry:
checkout the commit (or use the download option of git hub) and build the config-2708-xtra to build... (or extract the config from the kernel) .. use the 32b for kernels that don't have the 2708 config yet.. as fire rat mentioned.. you will still need the patches

the base is 02000000 (--base of mkbootimg)

General port building instructions are here:

http://wiki.cyanogenmod.com/index.php?title=How_to_build_a_kernel_port_for_CM5

you may want to also look at 'make --help modules_install'
[G1 Android Development] Firerat:
oops, yeah I forgot about the base

here is a silly script to Automate the build

#!/bin/bash

Compile ()
{
cd $KernelDir
cp $config .config
make -j4
if [ ! -e "$OutDir" ];
then
install -d $OutDir
fi
INSTALL_MOD_PATH=${OutDir}/system make modules_install
find $OutDir -type l -exec rm {} \;
find $OutDir -name wlan.ko -exec mv {} $OutDir/system/lib/modules/ \;
find arch/arm/ -name zImage -exec install -D {} $OutDir/kernel/zImage \;
return
}

GetRadio ()
{
Radio=`scripts/extract-ikconfig $OutDir/kernel/zImage|egrep "^CONFIG_MSM_AMSS_RADIO2708_MEMMAP|^CONFIG_MSM_AMSS_SUPPORT_256MB_EBI1"`
echo $Radio
if [ "$Radio" = "" ];
then
echo "EBi0 standard Radio"
base=10000000
Radio=EBi0
elif [ "$Radio" = "CONFIG_MSM_AMSS_SUPPORT_256MB_EBI1=y" ];
then
echo "EBi1 standard Radio"
base=19200000
Radio=EBi1
elif [ "$Radio" = "CONFIG_MSM_AMSS_RADIO2708_MEMMAP=y" ];
then
echo "2708 Radio"
base=02000000
Radio=2708
fi
return
}

Packbootimg ()
{
if [ -e "$RAMDISK" ];
then
mkbootimg --kernel $OutDir/kernel/zImage --ramdisk $RAMDISK --base $base --output $OutDir/${Radio}-boot.img
fi
mv $OutDir/kernel/zImage $OutDir/kernel/${Radio}-zImage
return
}

SquishModules ()
{
cd ${OutDir}/system/lib/modules
if [ "$?" = "0" ];
then
wlan=`find -name wlan.ko |grep -v "\./wlan."|sed s~\./~~`
if [ "`echo $wlan|grep -q wlan;echo $?`" = "0" ];
then
ln -sf $wlan `basename $wlan`
fi
mksquashfs * ${OutDir}/kernel/${Radio}-modules.sqf -all-root
rm -r *
cd $KernelDir
else
echo "No Modules Directory !!"
fi
return
}

DATETIME=`date +%j-%k%M`
KernelDir=$PWD
OutDir=$PWD/../out/${DATETIME}/
RAMDISK=${OUT}/ramdisk.img

for config in 2708.config EBi0.config EBi1.config;do
Compile
GetRadio
Packbootimg
SquishModules
done
echo "$OutDir"

Note the

RAMDISK=${OUT}/ramdisk.img

assumes that you had 'lunched' and have compiled dream_sapphire

but you can replace it with path/filename of the ramdisk you wish to use

Oh, and preconfig 2708.config EBi0.config EBi1.config

( do make menuconfig, then cp .config to xxxx.config )
[G1 Android Development] bluizzo:
hi so i wanted to put radio 2.22.28.25 and i did it through fastboot and i got this

C:\AndroidSDK\tools>fastboot flash radio radio-2.22.28.25.img

sending 'radio' (21120 KB)... OKAY [ 69.059s]

writing 'radio'... INFOsignature checking...

FAILED (remote: signature verify fail)

finished. total time: 75.378s

i dunno if it did it wrong and was kinda scared to do it through recovery cuz im not exactly sure how to do it properly. oh and im on 27.08
[G1 Android Development] Firerat:
which hboot/spl do you have?
[G1 Android Development] BookCase:
Try re-downloading. Perhaps the download was interrupted.
[G1 Android Development] sparksco:
It sounds like you already have a hboot/spl with the S-on, you need one with a S-off in order to flash anything in fastboot, otherwise the security on will not let you flash it.
[G1 Android Development] bluizzo:
i have hboot 1.33.0013d

can i flash it through recovery?

oh when i installed 1.33.0013d the first time it turned S-on, dunno if its supposed to do that
[G1 Android Development] ezterry:
If you have 1.33.0013d and a 2.22 radio just pick up the update.zips on the bottom of the OP post

Assuming recovery is working of course
[G1 Android Development] bluizzo:
it still works, just wanted to know if i could flash it like a normal zip. sorry realized i want specific

edit: okay so i did it through recovery, just have one problem, how do i remove customMTD? i did a fastboot wipe and a recovery wipe and i still get cant install radio

Sent from my HTC Dream
[G1 Android Development] Firerat:
use any of the remove zips in customMTD OP

or flash a standard ( none patched ) recovery, and remember to fastboot erase system -w ( or just format system , cache and data with clockwork )

the remove zip is easier

( it will tell you to fastboot erase/format )
[G1 Android Development] vermaekansh:
how to

i want this radio and SPl

== Files ==

From dream_2708kit.zip (mirrors):

> hboot-1.33.0013d.img (MD5: c35ff1159828a6186cb98a9cfaa81613)

> radio-2.22.27.08.img (MD5: 61aee7fd274d39ca85644286f231836e)

what is the easiest way to install this...

just flash radio first and then SPL rite?

or anything i need to remember before flashing....OP is dangerous not able to understand with so many words. :(

anyone help me.
[G1 Android Development] Firerat:
fastboot

read OP
[G1 Android Development] vermaekansh:
I am already on RA 1.7.0 still i need this recovery-RA-dream-v1.7.0-cyan.img?

also i am not good in fastboot frackly speeaking i havent tried it before.
[G1 Android Development] sparksco:
It doesn't matter what recovery you have, as long as you have hboot with s-off to flash the .img's with, and also need fastboot/adb installed on your computer. The cyan.img is just amon ra v1.7.0 themed, it's the same recovery as the original.
[G1 Android Development] fredptc:
Hello, i can just saw a "SHIP S-OFF" after following your steps, not "S-On"

I do that via fast boot, but not flash your recovey, while keep in a previous Revoery 1.7

Is this normal??
[G1 Android Development] vermaekansh:
Thanks Sparksco i have danger SPL curently and having 23.02 radio what do you mean when you said "you have hboot with s-off to flash the .img's with"

what is S-off and how to check and if its off and if i waan On it how to do that also...thanks.
[G1 Android Development] Firerat:
S-ON means that certain security features are on like locking down /system so you can't make it rw, prevent flashing of radio, hboot recovery

You do not want it on!!!

boot to the bootloader, S-OFF is S-OFF , S-ON is S-ON
[G1 Android Development] fredptc:
one more question:

Then i don't need to flash FR's "Recvoery.zip;reboot then xxxx then boot.zip " after i falsh this new Radio, SPL, right?

Since "MT3G-test3_S" thread still have words that recommnd "87 2" for the FR, while this thread said don't put anything of FR's scrips in the SD cards?
[G1 Android Development] vermaekansh:
Thanks firerat...S-OFF is good so that i can flash any radio and it wont look for any security chk.
[G1 Android Development] Firerat:
if you want customMTD then use customMTD

if you don't, don't

SPL ( 1.33.0013d) layout is 91 system 27 cache
[G1 Android Development] Firerat:
http://review.cyanogenmod.com/#change,528

2708 has been merged into cm

( not sure about the assert check yet )
[G1 Android Development] fredptc:
after i downgrade to engineer SPL

can i fastboot to flash recovery 1st, then radio, then spl again?
[G1 Android Development] Firerat:
yes

but its best to confirm recovery is working before you flash radio/spl
[G1 Android Development] pl_laszlo:
awesome script firerat, thanks!
[G1 Android Development] tnpapadakos:
no, that will un-root you, and blow away your recovery...wont be able to flash a rom after that without re-rooting it

check the OP, its all there
[G1 Android Development] eramax:
could you show us a training video for what we must do to upgrade our rooted g1 to this new upgrade.

thanks
[G1 Android Development] Firerat:
you want a video of someone typing stuff

why?
[G1 Android Development] Ohsaka:
What if I make one with some awesome background music and slow-motion on the really important parts when I hit enter?
[G1 Android Development] sparksco:
So is there anyone that knows about hboots working on getting s-off for this hboot?
[G1 Android Development] ezterry:
Meh 1.33.0013d ignores many of the s=on restrictions, 'cept actually needing signed images.. I can work around that some more but it still wont add fastboot flash recovery or fastboot boot.. so not really useful.

If I was to continue hacking it id try to inject those functions.. but really sounds like more pain than its worth... even with the jtag addapter at the ready.

The problem with 1.33.0013 is most of the s=off functions seems to have been #if'ed out.. older versions had much more functionality intact even if it was blocked for most users.

Its easier to just fastboot flash nbh with the orange nbh.. as that has a full s=off engineering spl that will let you do any tasks required if you are stuck with only 1.33.0013d

Actually its a better spl than rc29 for rooters as well.. but requires a gold card (I added some hard spl functionality to 1.33.0013d that is why we don't need it with that spl)
[G1 Android Development] jekyll77:
is 2708 ok also for 2.22.28.25?
[G1 Android Development] SaV4g3:
can someone please do a video tutorial?
[G1 Android Development] Firerat:
Ezterry modified 1.33.0013 ( to 1.33.0013d ) gave itZZ a partition layout for g1, and also turned some of the S-ON bits off ( so you can fastboot erase system, cache and userdata )

but you can't flash recovery or anything usefull like that :(

BUT if you ever are in trouble then the Orange nbh can get you a fully functional fastboot,so all is good
[G1 Android Development] sparksco:
ok, now that makes sense, and thank you for getting the fastboot wipe stuff working, adb shell works ok for flashing recovery, except for one time when I did it it said low memory while it tried to flash it, so I just flashed it again real quick and no errors the second time. In my opinion this is the safest way to flash recovery assuming that the rom is working fine.
[G1 Android Development] Firerat:
Only just finished uploading, so might not be available for a few min

http://www.youtube.com/watch?v=EK2tWVj6lXw
[G1 Android Development] sparksco:
Oh man I'm getting this error: This video contains content from Sony Music Entertainment. It is not available in your country.

I'm sure if I could see it I would be LMFAO!!!
[G1 Android Development] nakeman:
just to inform that the above link at OP is dead. please fix it :D
[G1 Android Development] xaueious:
Just wanted to drop by and say thanks. The extra RAM was the missing link for a usable Android 2.2 install.

This made me go and buy a used HTC Dream for my cousin for $100.

This did make me run the nightly though, which I'm not entirely comfortable with for the long term.
[G1 Android Development] Firerat:
wtf, nanny state stopping rr ?

http://www.youtube.com/watch?v=oHg5SJYRHA0
[G1 Android Development] SaV4g3:
im stuck in an endless boot can someone help. I flashed my rom and its a endless boot
[G1 Android Development] Firerat:
your rom is?

did you flash the 2708 kernel?
[G1 Android Development] ezterry:
Im sure its working fine.. I just have some fools with download accelerators and a slow link attacking the updated MT3G rom today.. but I check a min after the complaints and the webserver responds.
[G1 Android Development] SaV4g3:
im running MT3G TEST 3 where can I find the kernal?
[G1 Android Development] hrk:
Please, do.

Use reassuring music (no metal, no lamer, no "bbq!").

Then put it in your signature so that I'll be able to quickly link it whenever the need arises!
[G1 Android Development] hrk:
Yes, it has to be.
[G1 Android Development] ezterry:
Everything is in op.. but that has the kernel from op included.

Make sure you have the correct radio+spl .. and run 'adb shell date' I've had problems booting that rom in the early 1900's.....
[G1 Android Development] Phateless:
What do you mean? The link is in the first post.
[G1 Android Development] SaV4g3:
ok so now how do I set up setcpu to utilize the speed?
[G1 Android Development] Phateless:
You download it, run it, and follow the prompts.
[G1 Android Development] hrk:
Looks like after *****ing at newbies, it has come to me that I am unsure about the steps in the OP!

I am running CM6.1RC1 and I'd like to keep everything, so I was ready to go with

1. Nandroid + ext backup

2. fastboot radio,hboot,reboot-bootloader,erase system, erase boot as per OP

3. Nandroid restore

4. ???

5. Profit!

... when it came to me: I don't have a CM6.1RC1-2708 kernel. I downloaded Terry's update-cm-6.1-and-so-on-2708.zip and I can find the boot.img that's there but... at end end of step 3 I'll have the S-ON SPL which will not allow me to flash boot.img.

If I flash update-cm-6.1-that-one-2708.zip from recovery and then perform the nandroid restore, I'll lose Terry's boot.img.

if I flash Terry's zip after the nandroid restore, what will be overwritten? At first sight, I got SuperUser.apk, which I updated and deleted from /system/app, plus Firerat apps2sdext configuration/patching, keyboard (I have a flashable zip for that).

What am I missing here (in terms of understanding, not files... well... files too)?
[G1 Android Development] Phateless:
lol @ South Park references! :cool:

I can't speak to the technicalities but I did flash terry's kernel on top of a completely oem froyo rom (rooted w/superoneclick) and it booted right up in all of its overclocked goodness.
[G1 Android Development] droidmage:
After you do the nandroid restore flash one of ezterry's 2708 kernels over it and you should be good.
[G1 Android Development] revwillie:
I saw that in the twitter feed this morning. Does that mean 2708 is the preferred radio? What about the 2825?
[G1 Android Development] Phateless:
This kernel is compatible with both 2708 and 2825. I'm currently running it with oem froyo and 2825. Works great.
[G1 Android Development] zodagreat:
radio only

ok im sorry guys if this has been asked or answered already but is there any way to just apply the new radio for better 3g and better service because i notice i miss lots of calls with these newer roms. i tried to just flash but i got a bootloop and had to apply dreaming nbh to recover. i dont use adb so i need either a fastboot method or a way to flash it via sd card any help is appreciated......
[G1 Android Development] RichieDaze:
ezterry,

Thank you for your dedication and your time put on making this work for the G1.

Kudos...
[G1 Android Development] zosX:
Zoda the laginess of your system and not your radio is causing the missed calls. Reduce your ram usage so the phone app stays resident and avoid swap if you can. If it gets swapped out it might take too long to page back in.
[G1 Android Development] zosX:
Running stock froyo test 3. 55+mb free at boot! Whooooooah. I never got free ram like this on donut.

Seems like stock may be the way to go...just need to get the dsp manager from cyanogen installed somehow......

Stock home isn't half bad either :)
[G1 Android Development] Shatterv2:
Does this work on the Mytouch Le/1.2?
[G1 Android Development] Firerat:
yeap,

tbh it needs a new name
[G1 Android Development] nakeman:
my bad, i should explain in details...

the link for "These instructions" of the mentioned sentence is broken, it brings to a page that warning :Invalid Post specified. If you followed a valid link, please notify the administrator.

sorry for my english :P
[G1 Android Development] djmeistro:
finally got it working

Ty Terry...finally got it working with different USB cable!
[G1 Android Development] lntuananh2:
Is kernel's patch work for only froyo kernel or it work for all (donut, eclair,... cupcake)
[G1 Android Development] sparksco:
Not sure, but it's workin now, nice music video haha
[G1 Android Development] sparksco:
If you flash this hboot you get a 15mb ram hack basicly, so with more ram your chances of missing a call are less. I haven't missed any of my calls using this set up.
[G1 Android Development] nickislauw:
i thought the 15mb was only applied when installed new radio?

so if i just flash the new hboot (without the radio) i get the 15mb too??

or only when install both?
[G1 Android Development] d12unk13astard:
Will this new radio/hboot work with the eclair rom super e 1.3?
[G1 Android Development] nickislauw:
well im only using new hboot 1.33.0013d and i get 15MB unlocked with it !!

if you flash the new radio and new kernel, the camera will break in super-E.

so its up to you.. i just have 2.22.23.02 and 1.33.0013d and its great! :D
[G1 Android Development] d12unk13astard:
Hows your battery life on it, or do you have a upgraded battery you bought? Also with the old radio 2.22.23.02 (which i sill have btw) if i just do what you did and flash the new hboot 1.33.0013d will my camera still be broke?
[G1 Android Development] nickislauw:
blife is nice cam works :)
[G1 Android Development] Phateless:
Wait... you're saying the spl unlocked the ram, not the radio? I thought I had heard it was the radio...?
[G1 Android Development] billquinn1:
Uh... no thats wrong. The extra ram comes from the radio. If you don't switch to one of the 2 in the OP you will not have the extra 14m of ram. 1 meg came from a previous kernel hack EZterry made to bring the total to 15meg. I have no idea if the kernel will even work for the Rom he referred to. Radio has to be 27.08 or 28.25.
[G1 Android Development] Phateless:
Ok that's what I thought. Was wondering if this kernel will work with super e.
[G1 Android Development] ezterry:
Not all of the extra ram is from the radio.. so the new kernel may boot on the old radio with the new spl.

But 3d will be broken .. as its missmapped and most of where it is mapped is not valid memory.

The old kernels boot on the new radio+spl as well but no extra ram and 3d is mapped wrong .. usually cusing a crash if you use it. Fortunately recovery does not, thus we can use the original recoveries.

The old kernel+old radio+new spl will not have any extra ram. But will be stable.

For all of this I assume a 32b ds system.. the 32a ebi0 combo is another topic..
[G1 Android Development] billquinn1:
Thanks Terry. Good info but I'll stick with your original combination. The only thing lost is most Fastboot functionality. That part is still a bummer.
[G1 Android Development] ezterry:
That *is* the recommendation.. just explaining why some people believe other combos work.. they do and don't.. and anything but what I have in the op is very at your own risk.

Mind you the kernels in the op are intended for cm6.. so unless the rom was intended to run on a cm6 kernel I can't promise everything working out of box.. see the comments of camera not working or compcache.
[G1 Android Development] d12unk13astard:
I will be tryingthis out in the next couple days, thanks for all your work on this ezterry, and firerat for all your posts as well.
[G1 Android Development] beav_35:
How about EBI2? :D
[G1 Android Development] ezterry:
no this has nothing to do with ebi (that's the larger memory segment)

smi1.. or just 2708 or greater
[G1 Android Development] Firerat:
I like EzRam

"EzRam Kernel" just works imo