yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] alongenemylines:
everyone with installation questions, PLEASE READ THE ORIGINAL POST. IT IS VERY CLEAR, AND NOT DIFFICULT.

if you're wanting to use the current rom you have installed on your phone:

-nandroid backup your rom

-reboot to fastboot

-flash the radio and hboot

-fastboot wipe system -w

-restore rom

-flash new kernel

-done.

if you're flashing a new rom:

-boot into fastboot

-flash the radio and hboot

-fastboot wipe system -w

-configure and put mtdpartmap.txt on your sdcard

-flash FireRat's MTD recovery hack

-reboot

-flash rom

-flash new kernel

-flash FireRat's MTD boot hack (only if you're changing partition sizes)

-done.

the main reason for flashing the MTD hack is so your can fake the hboot version. if you don't, most roms that check hboot asserts (almost all of them) will stop before installing, since the new hboot 1.33.0013d has not been added to the list that the roms check for. future roms will probably have 1.33.0013d added, but for now it's easier to fake the hboot version rather than edit and re-sign every rom you want to flash.

if you want to learn more on MTD partition resizing, rom editing and re-signing, or basically anything else, USE THE SEARCH.
[G1 Android Development] BlackTigerX:
Just do it the way posted in this topic (1st post) on the MT3G. Works great even though it's not advised.

I'v done it myself this way -> link
[G1 Android Development] ezterry:
It's probably no worse in terms of safty than the OTA install.. I just want an emergency exit (like the dream users have with the orange nbh..) before I can say its reasonably safe.

Of course I have a few dreams and no magics.
[G1 Android Development] dhkr123:
Absolutely marvellous. You are a credit to hackers everywhere! :D

This really improves things where memory limitations were causing problems... 3d gallery is now perfectly smooth, delays are down to legit card reading io waits and legit image decoding rather than being messed up by memory errors. Quitting the 3d gallery goes straight back to the launcher without having to reload... nice ;)

Copilot is frikkin ridiculous! The menus actually navigate fast and smooth, and even quitting that goes straight back to the launcher without it reloading!

Now only to hope for an engineering SPL... you say that the 1.33.0013 is actually *lacking* engineering features? Sucks that we are dependent on an actual leak then rather than being able to fake it. Have you looked at what IntuitiveNipple has discovered regarding the SPL on HTC VISION? He's found a lot of the source code for it (same code applies?) and is reverse engineering the rest of it. Same situation for the radio, which is obviously a much larger task.
[G1 Android Development] Artifex14:
I was afraid to do that, but I did it !

I flashed the 2.22.27.08 radio and 1.33.0013d spl on my MT3G 32B !

No problem, it worked !

So happy !

thx a lot !
[G1 Android Development] ezterry:
I'm sure its just #ifndef'd out but it is harder (not impossible) to inject custom logic (if not just because finding some ram where the spl runs to safely modify is an "interesting" task)

If its just code doing the if(eng){do something} its easier to change it to if true
[G1 Android Development] Royalknight6190:
You able to get on BM Gdocs? need to chat about stuff.
[G1 Android Development] Emilys:
Plz plz plz a video.. i think not only i would need it and be gracefull for that.
[G1 Android Development] fakecaker:
kernel

Ehm... can anyone give a link to the mt3g version of this thread? i believe it's not there :confused:

also, is this just something like the 10mb ramhack, but bigger, so it will remove possibilities to use 3D..?

thnx:cool:
[G1 Android Development] djmeistro:
too many links??? what the f is going on
[G1 Android Development] ReTro FuZe:
Erased post..i did a mistake lol
[G1 Android Development] pudgedaddy:
Did these steps on sparksco's 1.3 froyo rom and finally got it working!
[G1 Android Development] ezterry:
Op post, along with the anykernel installer of the new kernel and a version of biffmod with the kernel already embedded.

I will post cm6-rc1 in a similar package tonight (already re-compiled cm's kernel with the patch but fell asleep before testing)

No this isn't a "ram hack" in the same way, its a remapping of ram as done on the 32b sapphire in the mt3g ota! And with the new radio+spl allows us to access 14mb of ram we could not touch before.

> 3mb added from the radio firmware

> 8mb previously unused in a spot that without the new spl was hard to assign to general purpose memory,

>3mb taken from the camera ram (camera ram now 5mb was 8) this used to be near that hard to use unassigned block.

From stock 32b code one additional MB was reclaimed previously unused (actually it was used but the contents could be moved to another location and thus the 1mb additions a little bit back)
[G1 Android Development] ReTro FuZe:
how did you flash the radio and spl on your mt3g 32b? Please help =)
[G1 Android Development] djmeistro:
what the Fing F.... tried two computers still too many links failure when even trying to install nbh... F THIS
[G1 Android Development] xPreSiDenT:
Theres a 99% chance you're having this problem because of either your usb cable or usb port. Try using one of the ports on the back of your PC (they're usually more reliable and the front ports are sometimes slower). Aside from that make sure you're not using any usb extender cable or hubs etc. Third, try using the stock usb cable if possible.
[G1 Android Development] ReTro FuZe:
guys, ok...so im in fastboot on my 32b and i have cmd on and i have all the files stored correctly because i can see the serial number when i put the command, BUT when i put the code to flash the recovery, radio, or spl...it says "error: cannot load recovery.img" soooo, now what? lol
[G1 Android Development] ribooo:
Hello guys,

I habe some Problems with my 32b...

I also tried to flash the new stuff on my 32b, but I'm stuck at the fastboot steps:

fastboot flash radio radio.img

sending 'radio' (21120 KB)... OKAY

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

FAILED (remote: signature verify fail)

It's also the same error if I try to flash the hboot, or an recovery.

What is wrong here??

My actual Hboot: 1.33.0004

Actual Radio: 2.22.23.02

Thx

Ribo
[G1 Android Development] Frickelpit:
you have to change the directory, where those files are on your desk. like

cd Desktop
[G1 Android Development] dhkr123:
Uh oh.... the newbs have arrived.

Count down to the first brick.....

20... 19... 18...

:eek:
[G1 Android Development] ReTro FuZe:
thank you, but now it says "FAILED: remote: not allowed", what now? lol
[G1 Android Development] ReTro FuZe:
WELL, INSTEAD OF BEING AN ASS, YOU SHOULD TRY TO HELP, AND "un-noobify" US BY POSTING SOMETHING THATS ACTUALLY HELPFUL
[G1 Android Development] ribooo:
Full ack.

And sorry if I'm not an android pro, but sometimes I got other things to to in my life :D

So I just managed to flash the last CM nightly (which also starts without a Problem). But I still don't unterstand why I could'nt flash the recovery or the hboot via fastboot.
[G1 Android Development] tnpapadakos:
http://forum.cyanogenmod.com/topic/2697-nightlies-discussion-of-nightlies/page__st__3880

this is as straightforward as a set of instructions on this that i've found, go to post 3882

worked great for me
[G1 Android Development] ribooo:
It's exactly what I've tried here, but with some problems :)

So CM6 is running, and I also have my recovery back...

Will see the SPL tomorow
[G1 Android Development] genez81:
enable JIT

WOW, I mean, WOW.

This new RAM layout is just wonderful, it made my "old" G1 really fly.

Not to mention overclocking possibilities (thanks to the new kernal and SetCPU).

Now that we have +15MB of precious free RAM, I think it would be wonderful to enable JIT in our dalvikvm and check if it's good for out daily use.

Do I need some specific version of dalvikvm.so file, or do I just extract the one included in CM-6.1-latest-justbaked-nightly version?

I'm really not a noob, so if someone can just point me to the right directions, I can make it by myself.

Thank you ezTerry for your good work, you're a really skilled dev.

Regards,

Genesio
[G1 Android Development] shamo42:
Weird. I have 32B too and followed all the instructions in the 1. post without any problems with the exception of

because 32B devices need RA-dream-v1.7.0G. I'm not sure that's your problem but it might help. If not, try googling for "INFOsignature checking".
[G1 Android Development] kingjehu:
Just tried it with BiffMod. Running beautifully so far. Fastboot on my mac doesn't work. It keeps telling me I don't have permission, even after fixing permissions on the mac and using su. I ended up doing it on my wife's PC and it worked. Next step for me is to put this on her mt3G. After running this on my phone for a bit I'll use FR's MTD hack and set it to 91/2.

EZ, FR, you guys are awesome.

One more thing: Ezterry, in your email, you said that the next versions of BiffMod will have this in its list of valid SPLs. This means even the beta versions will be good to go with no issues on this kernel?

Edit: This should be free of the 'battery drain after unplugging USB' issue, right?
[G1 Android Development] ReTro FuZe:
thank you, but idk why i keep getting "erasing' system'... FAILED (remote: not allow)

finished. total time:0.001s"

i also tried flashing the recovery and it said the same thing...super wack!!!!

=/
[G1 Android Development] fabsn:
same here.
[G1 Android Development] tnpapadakos:
what spl are you guys starting out with?

it sounds like you have a S-on type SPL, and you cant get fastboot

check your info when starting bootloader on your phone, ie., 1.33.2005 H Eng S-On ...if it says S-On, thats why

go to http://xdaforums.com/showpost.php?p=4003349&postcount=1 and get 1.33.2010 or 1.33.2005 and flash the zip from recovery
[G1 Android Development] fabsn:
It says: "Sapphire PVT 32B SHIP S-ON G // HBOOT-1.33.0004 (SAPP10000)"

which is the stock vodafone spl

so do i need to flash another (engineering?) spl and is it dangerous?
[G1 Android Development] wuziq:
ezterry is too gdlk.

gonna try this when i get home from work.
[G1 Android Development] tnpapadakos:
go to http://xdaforums.com/showpost.php?p=4003349&postcount=1 and get 1.33.2010 or 1.33.2005 and flash the zip from recovery

its fine, then see if it says s-off, and if it does, try again with fastboot
[G1 Android Development] ReTro FuZe:
OH MY....lol...that WAS the problem..now its off and working...thanks man!!!!! youre awesome!!!
[G1 Android Development] fabsn:
what else is there to say...:

thanks ezterry and tnpapadakos for the support. great work.
[G1 Android Development] djmeistro:
any chance you'll ever have something that we can flash via clockwork recover or amon? the green bar remains almost done except for the last part when i try to flash the nbh.... it stops there...
[G1 Android Development] djmeistro:
wow i finally got it to send through after repeating several times but i still get the error "remote:signature verify fail" wtf
[G1 Android Development] G1ForFun:
Thanks for this, it is a nice little performance boost to my trusty g1.
[G1 Android Development] wuziq:
doing this now.. radio just finished.. continuing.. get hype!
[G1 Android Development] djmeistro:
even tried flashing 1.33.2005 via amon recovery... but when i boot back up fastboot it still says 1.22.0013d.... this fin sucks
[G1 Android Development] xillius200:
hey dude you were right works gd with the 2.2 sense rom and makes my 2.1 xm hero as fast as hell ^^ you have my respect and ive become a follower lol however im still not using biffmod lmfao :D
[G1 Android Development] marxmarv:
ezterry, CM6.1RC1 is snappy like Cupcake now. I salute you.
[G1 Android Development] ribooo:
Thx! that was the problem :D

I flashed everything without a problem now.

Greets from Belgium :)
[G1 Android Development] tman7510:
I don't. Use mtd so will I be ok flashing both patch files...they patch the recovery so I don't need to have the mtd.txt file and edit it right? Also might seem like a dumb question but does it make a difference in the order that I flash your patches?
[G1 Android Development] Firerat:
just flash the 1.33.0013 version

a zip's assert checks will think your spl is 1.33.0013 and not 1.33.0013d

Edit: and its a 'one time deal' , you only need to flash it again if you change ( i.e. upgrade ) your recovery

if your not getting Status 7 errors, you don't need it
[G1 Android Development] Yeeeha:
Works on MT3G 32B

My device:

SAPPHIRE PVT 32B ENG S-OFF H

HBOOT-1.33.2010 (SAPP10000)

CPLD-11

RADIO-2.22.23.02

Biffmod2.1 / RA-sapphire-v1.7.0G

easy steps:

1. Fastboot mode

2. Flash radio 2.22.27.08 from OP

3. Flash hboot 1.33.0013 from 2.2 OTA

4. Reboot to recovery

5. Wipe all & Repair SD-EXT

6. Flash BiffModV2.1-2708port_S.zip/Gapp/ADW, then ezBiffTestKernel20101106-2708_S.zip

7. Reboot

Not responsible for any bricks but works for me.

# cat /proc/meminfo
cat /proc/meminfo
MemTotal: 112700 kB
MemFree: 9944 kB
Buffers: 688 kB
Cached: 27352 kB
SwapCached: 2860 kB
Active: 45644 kB
Inactive: 41420 kB
Active(anon): 26068 kB
Inactive(anon): 33540 kB
Active(file): 19576 kB
Inactive(file): 7880 kB
Unevictable: 296 kB
Mlocked: 0 kB
SwapTotal: 125196 kB
SwapFree: 118604 kB
Dirty: 28 kB
Writeback: 0 kB
AnonPages: 56948 kB
Mapped: 18120 kB
Shmem: 288 kB
Slab: 5648 kB
SReclaimable: 1340 kB
SUnreclaim: 4308 kB
KernelStack: 1896 kB
PageTables: 5328 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 181544 kB
Committed_AS: 1884520 kB
VmallocTotal: 598016 kB
VmallocUsed: 55320 kB
VmallocChunk: 510980 kB

So far no problems on BiffModV2.1-2708port.

USB, wifi, bluetooth, swap, all work.

Angry birds works without missing textures.

I'm not sure about performance improvement coz Biffmod2.1 works great with original kernel, (Awesome rom, Biffsquad.)

though autokiller shows free memory about 30MB~40MB and it's 20MB~30MB before.

Thanks for your work ezterry, much much repect. :)

Edited: after several reboots, 50 MB of free ram. WoW.
[G1 Android Development] wariat:
hi guys.. i wanna flash the new radio and SPL but i'm afraid to brick my magic 32b..

this is my configuration that i can read in fastboot mode :

HBOOT-1.33.2005 (sapp10000)

CPLD-10

RADIO-2.22.19.26I

My recovery is : RA-sapphire-v1.7.0G

My rom now is : CM6.1 RC1

Can i flash RADIO and SPL without problem and above all without brick my phone????????

and can i follow the guide in the first page???
[G1 Android Development] athakur999:
I installed this on my MyTouch3G (that I installed the Froyo OTA on) using XxKOLOHExX's guide and it works great. The Froyo OTA worked fairly well but I missed all the little touches that a custom ROM adds. Being able to go back to a custom ROM while still getting all that extra memory the OTA freed up is great.

I wonder if any of that 15mb comes from the same place the old 10mb RAM hack used during the Donut days. A Donut ROM that was somehow able to use both of these simultaneously to add 25mb would be awesome, even if just as a curiosity.
[G1 Android Development] ezterry:
You can, I currently consider it the safest way for sapphire as well
[G1 Android Development] wariat:
i try now.. i hope that everything WORKS FINE...

edit : WORK WORK WORK WORK!!!!!!!!!!! :D
[G1 Android Development] tnpapadakos:
no, the 10MB used to come from 3D, which is now left alone due to 3D gallery and other things

as I understand it, the 15 MB comes from the radio...the new radio doesnt need it, at least thats how i understand it
[G1 Android Development] svtfmook:
i'm getting the signature verify error. i have s-on 1.33.0013d hboot, when i flash spl 2010 and 2005, it's still saying s-on 1.33.0013d

can't get any further on updating the radio.

help?
[G1 Android Development] bunu:
flashed successfully.

Thanks a lot. I didn't want to do this since the hboot was perfected but you added all the stuff that I actually used.
[G1 Android Development] Firerat:
you can't flash hboot or radio with 1.33.0013d it is S-ON !!

if you don't have 2.22.27.08 radio it is because you failed to follow the instructions correctly

Go back to the OP, read it

make a checklist of all the steps

follow the guide

to get back to an SPL you can use to flash radio and hboot

Use that checklist you made, crossing each step off as you do them
[G1 Android Development] StreetGuru:
Hi Tom, how easy would be to Colorize the Biffmod 2.1 v2708 posted here on the OP? It is CM RC1 based ROM, so I was hoping it would be a fairly automatic procedure and you would be interested in having a look at it. Got hooked on your customization for the CM nightlys :)

EDITED: Thanks for your work on this Ezterry, wanted to try Biffmod and am curious on how it runs with the new Radio and SPL. I feel like i'm waiting to flash the 64bit version of a ROM instead of the 32bit :D
[G1 Android Development] havikx:
tried flashing latest RA recovery thru terminal and i'm getting flash_image:not found. on official 2.2 OTA mytouch rom on the g1.
[G1 Android Development] tman7510:
If you read through the thread and follow the instructions it works perfectly. I'm currently running sparksmod 1.3 and my G1 has never been faster...thanks ezterry and firerat for the kick a$$ hack :D
[G1 Android Development] goraps:
ezterry - I was thinking about trying this but I am wondering why you think Rogers will cut your data if you install this radio. I wonder if they would be able to figure what you were running since they won't recognize the radio version as pre or post 911 patch. I'd like to be sure before updating.
[G1 Android Development] Firerat:
why does everyone think I had something to do with this?

I had nothing to do with it, I've not even got round to installing it yet

hell, I aint even downloaded it :)

( but have looked at the kernel diff ;) )
[G1 Android Development] Firerat:
the fact you don't have their radio will be enough for them to cut data off

the're not looking at what you have, its what you don't have that they are looking at
[G1 Android Development] asb123:
Dunno but your MTD hack is allowing the use of the hack on any rom, which will be a usful part of the mtd until devs start taking the spl check out of roms.
[G1 Android Development] blahbl4hblah:
Thanks for this awesome hack, I just installed it and it works perfectly on my 32B getting 43mb free
[G1 Android Development] djmeistro:
have i technically "bricked" my phone if i can install the nbh, any cm rom because of the spl 1.33.0013d...? Basically when i try to flash the nbh it the green progress bar gets almost done but not... i've fastboot on three different computers and still the same problem!!!? what is going on
[G1 Android Development] havikx:
is it possible to flash using terminal?
[G1 Android Development] ezterry:
bad usbwire?
[G1 Android Development] XxKOLOHExX:
Just a heads up you can go to any rom and still get the 15 (14ish) ram thing but you just need the kernel patch on the Op to make it compatible :D, Just a heads up, cause I sorta didn't understand the first part to your thing so I thought I would just let you know :D
[G1 Android Development] Ohsaka:
BEFORE

# free
free
total used free shared buffers
Mem: [B][SIZE="4"]98432[/SIZE][/B] 97044 1388 0 976
Swap: 62244 13276 48968
Total: 160676 110320 50356

AFTER

# free
free
total used free shared buffers
Mem: [B][SIZE="4"]112700[/SIZE][/B] 109444 3256 0 652
Swap: 62244 5876 56368
Total: 174944 115320 59624
[G1 Android Development] D0NNY.:
Just flashed this... Thanks for the great work guys :)
[G1 Android Development] hrk:
I'm sorry if this may be out of topic, but I'm trying to get a grasp on things here. I have RA-recovery-1.7.0, but in this thread I read about a "1.7.0G" and in the OP there is a 1.7.0-cyan. What is the difference between these three? Which one should be used (relating to what)?

My phone is a European operator-branded phone upon which I installed SPL2005, RADIO 2.22.23.02 and CM5 (then CM6) and is working fine. I'd like to use the +14MB new radio and in this thread I've read configurations different from mine.

And what is the meaning of "PerfectedSPL"? Could you give me pointers to a (as full as possible) description of the different "SPLs"?
[G1 Android Development] NLJ:
That's a life of Android Celebrity[1] ;o)))) Get used to it (and watch what will happen when you finish your current task ;o)

1 - Androbrity?? ;o)
[G1 Android Development] XxKOLOHExX:
Hmm Is this what I think it is LMFAO! :P
[G1 Android Development] tnpapadakos:
http://xdaforums.com/wiki/index.php?title=Glossary

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

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

answers are there, if you have any more questions about it, pm me
[G1 Android Development] gioo:
@ezterry

All operations done successfully! ! Thank you, you are my hero.
[G1 Android Development] Ohsaka:
Let us all know how the Android Groupie situation is :)
[G1 Android Development] hrk:
Thank you very much!
[G1 Android Development] Yovecio:
I have magic 32b what is best,flash the original spl from mt3g update 2.2.1 spl 1.33.0013 or the modified spl 1.33.0013d?
[G1 Android Development] StreetGuru:
If you have a mt3g might as well flash the original 1.33.0013. The 1.33.0013d will also work but it is a modified SPL to work with the dream (hence the 'd' at the end).
[G1 Android Development] Yovecio:
Ok i willflash the un-modifies version
[G1 Android Development] Yovecio:
I've flashed the t-mobile original ota spl and it didn't let me latest passage like "FASTBOOT ERASE SYSTEM -W" it say "failed remote:not allowed"?

But radio was flash well and the same is for the spl... Maybe can the problem is: before in the fastboot screen it says spl 1.33.2005 s-off h

And now is 1.33.0013 s-on g?

is only for the last lecter?
[G1 Android Development] StreetGuru:
You already have the new SPL on your system, and that's why it wouldn't let you have fastboot commands - it is a perfected SPL so you loose fastboot functionality. Be sure not to erase your custom recovery because of this!!

If you want to wipe your system boot into recovery and use adb:

Wipe dalvik-cache:

adb shell

mount -a

rm -rf /data/dalvik-cache

rm -rf /cache/dalvik-cache

rm -rf /sd-ext/dalvik-cache

sync

um

reboot recovery

Wipe System:

adb shell

mount /system

/system/bin/erase_image userdata

/system/bin/erase_image boot

/system/bin/erase_image cache

/system/bin/erase_image system

(NOTE: you may have some errors if you have bad sectors. this shouldn't be a problem and is normal as the flash memory and disk get worn out with time).
[G1 Android Development] Yovecio:
It boot in recovery amon_ra 1.7.0 well and work,boot in fastboot well and it show spl:1.33.0013 which i flashed

radio: 2.22.27.08 which i flashed

And boot correctly whith my biffmod 2.1 s-port and for me seem there aren't any problem but i'm afraid about didn't worked the steps after "fastboot reboot-bootloader" this "fastboot erase system -w and fastboot erase boot".

Those 2 last commands are Required or we can jump their?
[G1 Android Development] Ohsaka:
My SuperWipe update file will erase your phone completely. It runs erase_image for you automatically and clears out sd-ext also. Check my signature for link...
[G1 Android Development] Yovecio:
I have already downloaded...But i remember before when i had the death spl i could do the fatsboot erase system without any problem but now with the new spl i can't do it...
[G1 Android Development] wariat:
i flash this rom TMUS-32B-Froyo-CM6Remix - Official T-Mobile ROOTED, 10/18/2010 and after i flash ezBiffTestKernel20101106-2708_S kernel

and it work fine!!!!!!!
[G1 Android Development] ezterry:
Its one of the reasons 1.33.0013 is a perfected spl .. it only allows fastoot erase cache, and that only while in ruu mode.

If you want fastboot erase and the ability in an emergency to run without goldcard fastboot flash nbh for any region nbh use 1.33.0013d (the modified partitions only apply to the dream)