yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] foltz61:
Cool. Thanks
[G1 Android Development] cmonex:
also, a good idea would be overwrite protection of the SPL (important: do it with a backdoor so you can still reflash back to stock spl for warranty) :p ==> Hard-SPL
[G1 Android Development] :
Thanks!!! we appreciate it!! would we just put the NBH on the sd card and fastboot?
[G1 Android Development] damm:
Would it not be possible to make a NBH of the Engineering Boot Loader?

Just a thought.
[G1 Android Development] Datruesurfer:
How so? As long as the SPL isn't damaged, you should just be able to go back in and flash a different image.
[G1 Android Development] damien667:
cut out old spl from original nand dump

I took an entire nand dump and found where the spl started for the original bootloader. I saw how big the spl.bin is in the spl update zip file, took that many bytes out of my nand dump and I think I have an old_spl.bin now that can be put into a zip file for flashing it onto the phone... obviously would have to re-sign the package... anyone think this would be a good thing to have? :D
[G1 Android Development] jashsu:
That would be cool. Did the dumping utility handle bad blocks?
[G1 Android Development] bhang:
sounds promising

Since you basiclly need a full dump with the start and end of the flash, now how to sneak it in on the OTA RC30s then use an JF RC30 .nbh file, I'm just theorizing as that is all I have the ability to do, besides testing sh1t like crazy.

Bhang
[G1 Android Development] damien667:
??

Dumping utility? I used dd to write all of nvram out to a file on the SD card, then transfered that nvram image to my linux box and edited with a hex editor... I was not aware people had bad blocks. I would assume dd does a good copy.
[G1 Android Development] damien667:
Well... here's the update on my latest discovery...

I took an nvram dump of my phone, looked for the spl code and extracted it thinking that it should match up to the bin file for the engineering bootloader (since I've already flashed it)... and lo and behold... binaries differ... I'm thinking the nvram driver doesn't work in kernel all the way, or maybe something in hardware is messing up the dump... or maybe it's something else
[G1 Android Development] damien667:
never mind, I'm a newb... I did the math wrong and accidentally made the extracted spl from the nvram different than the spl.bin from the zip file in the engineering bootloader package... they actually do match!!!! this means (I'm 99% sure) that I have a spl.bin for the original bootloader (which I took from an nvram dump before I flashed the engineering bootloader)!!!
[G1 Android Development] tmrepp:
that's some great news right there...anyone willing to try it? i'm not. haha
[G1 Android Development] jashsu:
All flash memories develop bad blocks after a given number of write cycles. MTDs don't have flash translation layers, which probably means no built in bad block management. Since dd is a low level tool, I figure it probably doesn't handle bad blocks, so you'd have to do it yourself.

However, if your dump of the engineering spl was a match against the bin.spl in the zip file, everything should be kosher. Could you please upload the dumped original spl?
[G1 Android Development] damien667:
I could... but isn't it violating some rule or law somewhere if I do that?
[G1 Android Development] tmrepp:
so is openly talking about what youre doing. that's if someone at HTC or google really cares enough to do something as well.
[G1 Android Development] Disconn3ct:
Sorry, but no. Its not illegal to discuss what you are doing. Posting someone else's IP for distribution is different. (But fwiw so far they don't seem to care particularly.)
[G1 Android Development] damien667:
This should be all you need to create an update.zip... enjoy

http://rapidshare.com/files/173451716/old_spl.bin
[G1 Android Development] jashsu:
Excellent. Can you confirm this MD5?

352e5277c6fedb4c69193367342ce00f *old_spl.bin
[G1 Android Development] damien667:
352e5277c6fedb4c69193367342ce00f verified
[G1 Android Development] JesusFreke:
That md5 matches the md5 SPL that I had dumped from my G1
[G1 Android Development] jashsu:
Unfortunately I have no nand dump to verify this against (already have Engineering spl installed), but would someone kindly verify damien's dump?

Meanwhile, here's the G1 spl packaged in the same manner as the engineering spl. Useful in case one needs to send in for warranty service? Thanks Damien667 :)

Sounds good!
[G1 Android Development] damien667:
JF: it should match, I used yout boot-img you made with the nand char device enabled... we used the same method...

I extraced the spl from my phone after upgrading to engineering spl, and the md5 sums match for the extracted spl and the original spl.bin found in the engineering update.zip... just to make sure there were no bits lost or corruption or whatever... so I think we should be ok to flash this new update.zip to revert back to old spl.
[G1 Android Development] JesusFreke:
/me agrees
[G1 Android Development] tmrepp:
talking about what you're doing ( in this case, possibly breaking laws..committing a felony, etc..whatever it would be ) is admission of guilt, just not official. if you talk about murdering someone, and the guy/gal disappears, you think the authorities wouldn't do anything? hahah
[G1 Android Development] hbguy:
Learning Question?

Okay,

so engineering bootloader file should be changed to update.zip but I have JF's modified rc30 v1.2 and i renamed his file to update.zip. doesn't that conflict?

can someone explain?

P.S. I wanted to do apply the nand backup and they said i needed this so what i'm trying to do is basically cover all my bases so if i accidentally do a noob mistake, its recoverable :)

Thanks everyone for their hardwork!

warm holiday wishes,

hbguy
[G1 Android Development] bhang:
here is what I've done

made a dir on my sdcard

renamed each of the update.zips with sumthing so you know which one is which, then once there no files with that name on the root of your sd card move over the one you want to flash next then follow those directions...

Since thats just the bootloader in that update.zip after its done installing rename and move it to your /sdcard/update.zip storage and put which ever JF update.zip back into the root of the sd, just to be safe you should put the JF 1.2 in the root dir as thats the one your probably running, its a good to have for a rainy day, especially to fix hacks you fobard by not following directions ;) like I did once already

I did most of this with a minisdreader in my xp box, but you could use the commandline and maybe the filemanagers have gotten to the point they could pull all of this off, or even adb if you like pushin' and pullin' :)

bhang
[G1 Android Development] LGSilva:
I don't think I'm doing this right.

I had an RC29, updated the recovery partition, bootimage... all fine.

I installed this spl but it still showing the 3 color bar... any ideas?!

*** UPDATE ***

Nevermind, I got it working! :) Thank you.

I just did it again.
[G1 Android Development] jackieboy:
Just got my developer G1 from Brightstar corp.

Quick question although with me nothing is quick...

I want to load RC30 with root access. Having a developer version do I just load this rom or other steps must be done first?...

Also anyone can direct me in which file is appropriate for me...

thanks
[G1 Android Development] unrafa:
upgraded ok

just another jesusfreke's 30 v2 + dev bootloader successfully applied, thank you.
[G1 Android Development] JesusFreke:
Yeah, just download the RC30 v1.2 update.zip and place it on your sdcard as update.zip, then reboot into recovery mode (home + power), and press alt+l to turn on the text, alt+w to do a wipe (this has to be done when going between RC30 and dev versions. you'll lose all your data/apps and have to re-register), and then alt+s to apply the update
[G1 Android Development] daproy:
Has anyone tried this update.zip to revert to the original SPL bootloader? I need to bring my G1 in for warranty. Camera is toast.
[G1 Android Development] vdl68:
G1 just came out and your camera is toast? anyhow who is your carrier? My will just send out a new/repair phone.
[G1 Android Development] Deedend:
I have translated this guide in italian HERE, enjoy and if it's necessary correct it.

Thank you for your works!
[G1 Android Development] Razor1973:
The update took a whole 30 seconds and included two reboots and voilá! I got the three skating androids. Thanks!!!

I can hardly wait to see what Cupcake will become. I won't install for now, as it is just a demo without essential applications like Gmail and YouTube.
[G1 Android Development] andonnguyen:
worked perfectly for me =]
[G1 Android Development] Ryanmo5:
Worked flawlessly thanks alot for this!!
[G1 Android Development] jashsu:
Updated with cmonex's new version (no CID check). ;-)

Edit: I'm going to convert this thread into a generic thread covering all three types of SPL for dream (g1, eng and hard). Probably some time tomorrow. In the meantime the first post is a bit messy. apologies.

Edit 2: First post edited. This is the second time i've completely rewritten it. Hopefully it's not confusing or factually incorrect. PM me with corrections if necessary!
[G1 Android Development] aron4588:
Is dev phone pre hardspl

I am pretty sure it not but is the dev phone already hard-spl and will the hardspl work with the dev phones if it not?
[G1 Android Development] SRKdrift:
help what is the root of your memory card wen i put the update zip on to my memory card and boot in recovery mobe it wont update SRKdrift@gmail.com
[G1 Android Development] nodens2099:
I have a dev phone, and it has Engineering SPL as stated (now) in the first post. I fail too see why the hardspl wouldn't work on a ADP1, but I haven't tried.
[G1 Android Development] coolbho3000:
If the CID check is all that is changed, then I see no point in flashing the Hard SPL into a dev phone. :eek:
[G1 Android Development] JRW160:
that just means the root directory of the card i.e. "/" or "F:/" or whatever the drive letter is
[G1 Android Development] manup456:
You must be the only one using RC30 stock still lol....:)
[G1 Android Development] funky_Saggi:
So the only difference between the HardSPL and the ADP1 SPLs is the CID Check ?
[G1 Android Development] :
Correct.

message too short
[G1 Android Development] qjsmartphone:
interesting so if the g1 is hardware unlocked is it possible to install OKL4 from open kernal labs which allows a smartphone running windows mobile or android to recognize the cortex a8 and A9 and even omap 3 processor as a single unit and take advantage of the features in the omap 3. Then switch out the processor in the g1 or the HTC FUZE with the more powerful OMAP 3 which will be supported by the OS on the phone thanks to OKL4.
[G1 Android Development] blahzay_blah:
if i have JFv1.31 ADP1 installed do i need to install this SPL???
[G1 Android Development] JesusFreke:
installing JFv1.31 doesn't touch the SPL
[G1 Android Development] bhang:
i'm banking on J.F.

jf said that he reccomended the hard spl, I was running the dev, but he said swtich so I did, he seems to be the leader in this flock ATM so I read up then take advice and comeup with my own opinion...

bhang
[G1 Android Development] sawlwin:
Hi,

Is it possible to update SPL while the phone is locked? Currently, my phone is lock by T-mobile & I won't be able to use unless I purchase unlock code.

Just want to know if I upgrade the SPL, will the "SIM network unlock" be gone?

Anyone please help!! :mad:
[G1 Android Development] jashsu:
Simlock state is in the umts/gsm stack and is independent of going-ons in the application software stack. Meaning if you have a modified recovery then you can install any SPL. Likewise, no matter what SPL you install, it will not change your simlock state.
[G1 Android Development] coolbho3000:
The phone does not need a SIM unlock to flash the SPL and/or get root but doing so will not SIM network unlock the phone.
[G1 Android Development] sawlwin:
Hi Jashsu & coolbho,

Thanks for your replies... In that case, how should I get it unlocked?

Currently, I'll be using it in Singapore & I was not able to do anything on the phone.

Everytime I turn on the phone, it always request the SIM unlock code... & was not able to login Google to activate the phone.

Just to clarity, is it locked by T-mobile? Or sth wrong with the phone?
[G1 Android Development] jashsu:
If it is a G1 then yes you need to contact T-Mobile to get the unlock code (or buy one online, I suppose). Also, refer to this thread for activating the phone without a sim card / data plan:

http://xdaforums.com/showthread.php?t=452316
[G1 Android Development] coolbho3000:
it is locked by T-Mobile. Call their customer support (1-800-TMOBILE) which is most likely long distance for you or email them (I'm not sure where) and explain your circumstances. you will need the imei number under the battery (very important) They might give you a code. If they won't you will have to pay for one from one of those sites. there is no "soft unlock" yet.
[G1 Android Development] Smokuevo:
i tried installing the engineer boot and it says cant load update.zip press home and return to reboot. i got the new rc 30 JFv1.31
[G1 Android Development] :
more info? did you name the file Update.zip, do you have the modded recovery image please describe the issue in greater detail....
[G1 Android Development] stogchris81:
right click on update.zip and make sure its not named "update.zip.zip".
[G1 Android Development] hmepas:
Just wanted to add, if you constantantly running into

FAILED (data transerf failur (Too many links))

error while trying to flash images (on data transfer stage) then try to change cable. Common mini-usb works fine. Keep in mind this "use cable with ferrite core" note of initial post isn't just a words.
[G1 Android Development] kylebrodeur:
before it shows the skateboarders

it says Loading...

no img found

then goes to the skateboarders.

what does this mean.
[G1 Android Development] BAD_BOY_KIEV:
Is this thread somehow could be connected with Overclocking of the processor?? And is the overclocking of the G1's 7201 can be done?
[G1 Android Development] jashsu:
Not as far as I can tell. There may be undocumented ways to change the processor clocking speed, but most likely it would be done in Android runtime, not the SPL. Also the G1, like many mobile devices, is constrained by memory bandwidth, not clock speed. See here.
[G1 Android Development] The Great NY:
do we really need to use a Ferrite usb? i dont have one? and i havent used one thru out all the G1 modding. whats the purpose of it? i just been using the USB that came with the phone.

i want to do up the HardSPL..............so do i really need the Ferrite USB?
[G1 Android Development] neoobs:
You don't need one but they say it does help in protecting from corruption (I have yet to have any corruption on the phone and I don't have a ferrite usb)
[G1 Android Development] chicojd:
You need the DREAIMG.nbh that will take you back...

Back to RC29, then you have to use the telnetd command and download a telnet app from the market to root and install the new JF 1.41 or 1.31 (your choice, but 1.41 also includes multi touch on the browser!)... Check out the root thread on this forum for full instructions... oh, and make SURE your SD is formatted FAT32, not FAT!!! I found this out the hard way. The .nbh file MUST be in the root of the SD. Once you have it there, insert the card, power off the phone and power up while holding the camera button. The image will install and you're off to the races.

JD

T-Mobile G1 (formerly stock RC30, now JF1.41)
[G1 Android Development] jashsu:
Some computers seem to have more problems with RF interference on the usb bus than others. Try looking for an old unused data cable that might have a detachable ferrite core you can salvage to attach to your usb cable. If you have transferred a lot of files over the usb with no corruption issues before then I suppose you can go without it. Since the SPLs are flashed using the recovery, all the data will be checked for integrity anyway.

Under no circumstance would I recommend transferring data over a usb without a core if it won't be verified for integrity (e.g. nandroid)
[G1 Android Development] robpet2:
were u able to get it back to the orig spl, im having problems getting mine from hardspl back to g1origspl..

need to send mine back got a replacement, and the update.zip keeps giving this error -

E:No signature ( 5 files )

E: Verification Failed

installation aborted

----

or do i need to do something else???

I downgraded from jesusfreke 1.41 back to the rc29, that went thru fine, now just gotta remove the hardspl in case they inspect it when tmobile gets it back
[G1 Android Development] robpet2:
Figured it out... need root access to put the spl back on the device... i re - rooted in telnet, rebooted alt +s, then it went thru with no problems....

will do a wipe again, and reinstall the rc29 just to make sure there are no traces of rooting the g1, and changing the spl.
[G1 Android Development] mlevin:
Can someone recommend a source for USB cables with ferrites? I found these:

http://www.monoprice.com/products/subdepartment.asp?c_id=102&cp_id=10303

but I don't know which one has the right number of pins. They seem to come in 4, 5, 14 and 8. Which one is right for the G1?

Thanks
[G1 Android Development] jayanthagowda:
Hi,

i want know what is HBoot in the SPL
[G1 Android Development] coolbho3000:
I have a question. The newest ADP1 update prompts those of us with HardSPL to reflash the original ADP1 SPL. This concerns me - I am prone to press the update button accidentally, and the phone might be low on battery power during the update. Is it possible to make a "disguised" version of HardSPL to look like the original SPL so this does not happen in the future?

To the ferrite USB guys: Since the signature is verified anyway, any corruption in the file will cause the phone to reject the update. I'd be more worried about the reliability of the SD card used and the amount of battery power in the phone while flashing the update. And how securely both are plugged in.
[G1 Android Development] iein:
FYI -

This is the 4th type of spl bootloader that is "fastboot enabled". This was distributed with the holiday_devphone update.

https://android.clients.google.com/updates/hboot-0.95.0000.zip
[G1 Android Development] coolbho3000:
Is it possible to make a Hard version of this?

EDIT: isn't 95.0000 just the stock T-Mobile G1 SPL? Then it wouldn't be fastboot enabled, and it is the tricolor version. I think the Holiday update checked hardware and tried to load the tricolor G1 bootloader on G1s flashed with engineering bootloader. From what I've read on ordinary ADP1s it did not ask to flash SPL.
[G1 Android Development] iein:
They are not the same. They look the same, but you can hit the back arrow and jump into fastboot with this one.
[G1 Android Development] McLin:
Is the hboot-0.95.0000.zipcid US? So can I flash the rc29.nbh?
[G1 Android Development] joe v:
if im on jf 1.42 can i just flash the Hardspl or do i have to start all over?
[G1 Android Development] trevorborden:
I just upgraded to the hardspl thats on the first post of this thread and I was already rooted running the same jf 1,42 and it worked fine for me :)
[G1 Android Development] McLin:
Is the eng Bootloader the Original which shipped with the ADP Phone`?
[G1 Android Development] Murphy2712:
The French HTC Dream is a DREA200 and the HardSPL makes it a brick...

Who is in charge of creating new SPLs ?
[G1 Android Development] vekexasia:
I'm searching how to dump the italian SPL ( which is the same of french i think )

Also, you are wrong.. Hard spl is not bricking your phone... simply flash a jf image over.. and your phone will start :)

I really need an help on how to get the spl from the dream
[G1 Android Development] Murphy2712:
So how do you flash a phone that is blocked in a 5-second reboot loop ?

Home+power, Camera+Power and menu+power doesn't show me any menu anymore.

I only see the operator logo and it reboots.

It's the definition of brick.

I think it's due to the different hardware (DREA200).
[G1 Android Development] vekexasia:
You can't go in fastboot mode?
[G1 Android Development] Murphy2712:
No ! It's all the problem.

Warranty is my only friend.
[G1 Android Development] enlightener:
anyone have the holiday bootloader? The google link is down

Thanks :)
[G1 Android Development] i9zero:
boot loop

If you are on a loop of booting screen try this.

With the battery cover off, take the battery off so that the g1 is off.

* I hope you have the ability to have the nbh file in the sd card.

Hold the camera button or the home button, depending on what you want to do, insert the baterry.
[G1 Android Development] Murphy2712:
Thanks for the hint but I've already received a new one.

And I don't want to brick it again just to test this!
[G1 Android Development] greg35:
This tips works with me ! But now I can't go back on my nandroid backup of the orange fr firmware
[G1 Android Development] billdangerous:
What is the benefit today to change SPL ?
[G1 Android Development] neoobs:
You can restore a back up. And it makes it easier to keep root.
[G1 Android Development] billdangerous:
It is a bit strange for me, because I didn't change SPL however I am root on my phone and I can create/restore backup.

What can I do with a Hard/Engineering SPL that I can't do with my original SPL (French Orange SPL) ?

Thank you in advance
[G1 Android Development] neoobs:
I am not familar with the French Orange SPL... but the standard stock T-mobile SPL does not allow to create or restore backups. You don't need the SPL to root, but it does make it easier to keep it if something happens (you flash a stock update by accident and now you don't have root)
[G1 Android Development] Murphy2712:
French SPL is quite special: fastboot is active.

But not like the EngineeringSPL, it could not flash anything.

Hopefully we find that it could load another boot image : recovery from JF.

With that we are root and could flash some images with unyaffs and flash_image.

But we are unable to flash standard update.zip files.

As an example, the cupcake release made by haykuro is an update.zip containing boot.img and all the files in "system/" directory.

Since I haven't found out how to put this update in my french dream I put the update.zip in my ADP1, make a nandroid backup and voilà, there's the system.img, data.img and boot.img I could put on my french dream.

That's why it could be useful having Hard/Engineering SPL.
[G1 Android Development] billdangerous:
Thanks a lot for all these clarifications.
[G1 Android Development] najjannaj:
Hey,

i have updated my g1 to the HardSPL but then my Keyboard was english, but i need the German Layout, i updated back to the original SPL and then the Keyboard was German again, i used the JF 1.43 RC9 Version.. Can anyone help me how to use the HardSPL and keep my german Keyboard-Layout?

Thanks a lot!
[G1 Android Development] steveyos:
So having one of these SPL thingies is for backing up? What's the best one to use if you've got JF?

And just tell me to read all 50 million pages if this is already mentioned and no one feels like repeating/quoting it for me, but can someone explain exactly what the SPL in a way someone who doesn't even know what SPL stands for can understand? From what I gather this changes what happens when I start up the phone, displaying perhaps an android on a skateboard and changing with tests are done when booting up? Maybe the current loading process can be patched by google/t-mobile to bring an end to us having fun (being rooted), and these custom ones avoid that?

I think I kinda get it, but I'm not sure how necessary it would be for someone like me, and if it would just make updating JF or any of that jazz more complicated. So far the only things I like are being able to tether, and aHome, and besides that I don't really have a reason to pick up the phone. I still can't even figure out what the damn "radio" is and why it's so important. Aww jeez.
[G1 Android Development] zombierockstar:
Thanks Jashsu for the HardSPL! You rock!