yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] axlastro:
How can I get froyo cm6 remix to work with custom MTD sizes ?

Ok, so I flashed the radio, spl and all. I used a MTD hack with the standard sizes - cache 2 mb, system 91 mb and so on. After trying to restore my official froyo remix from a nand backup, I got to the G1 screen and no more. Then I erased everything and flashed the rom fresh and then flashed the magic kernel from OP.

Everything was fine, the rom booted, but as soon as I patched the recovery and flashed the custom boot hack, I got stuck ath the G1 screen

I don't understand how can I flash any rom and then use the mtd hack with the new spl/radio without breaking the spoof kernel.

Maybe I've become stupid with the years and I'm asking stupid questions...

I just don't get it - in recovery when I go to terminal and type /df, I get the sizes configured by the custom mtd

When I install the rom, I get the data size as 90 mb and that's it...

What am I doing wrong :(
[G1 Android Development] Firerat:
the stand alone spoof 1.33.0013 is only for people who do not use customMTD

add

spl 1.33.0013

to mtdpartmap.txt
[G1 Android Development] axlastro:
I should add that I have resized my partitions using a very early vesion of your hack. I remember, after you have phusically repartitioned, you only need to install the partition hack - is that right? After I change the SPL name in the sdcard mtd config file, do I need to flash anything else ?

In recovery, when I enter the console, I get the sizes correctly, but when installing the rom, I get the standart sizes in the system info and console
[G1 Android Development] Firerat:
very early version? care to mention the version number?

when you add stuff to mtdpartmap.txt then you *must* flash the recovery patcher and reboot.

you don't need to go through the wiping again unless you changes sizes

if the sizes when you boot the rom are standard, then you did not flash the boot patcher ( or it failed to patch them )

latest version attached

slightly different to the v1.5.6 in cMTDs main post

to remove customMTD set

mtd 0

in mtdpartmap.txt, flash recovery patcher , format system,cache data ( I recommend clockwork for this ) reboot and you are back to stock mtd

you can then use the spoof 1.33.0013 zip if you need to flash a rom that is not aware of 1.33.0013d
[G1 Android Development] axlastro:
FR-MTD-PartHack-recovery-v1-1_S.zip

FR-MTD-PartHack-boot-v1-2_S_S.zip

If I don't want to repartition, should I go from the begining - remove old patch, go to stock sizes and then install new patches, or should I just install the new patches ?

I just edited the mtdpartmap.txt as explained. Then installed the new partition patch and the boot patch. After that I installed the spoof spl zip to 1.33.2005

Then flasged the rom. Now let's see what happens...
[G1 Android Development] Firerat:
you will need to redo the mtdpartmap.txt ( I remove legacy support a couple of versions back )

new format

mtd <system size> <cache size>
spl 1.33.0013

flash recovery patcher and reboot

flash rom, kernel and finally boot patcher

if you keep the system and cache size the same you will not need to wipe
[G1 Android Development] axlastro:
Bummer. No effect. Now I can't get the rom to boot. When do I install the spl spoof - before or after rom reflash?

Ok, ignore that for a while. I just read your post. I am now flashing the kernel and boot patch and rebooting.

I just don't get the idea of the spoof spl - what the heck is that anyways and what does it patch exactly.

The rom booted, let's see the free space now....

Nope. Still 90 mb.

How about a nand restore - restore, flash boot patch and then the biff kernel spoof ?
[G1 Android Development] Firerat:
spoofing 1.33.2005 will let you install a rom other than the latest biffmod ( or Ezterry's cm 'ports' ), but not ezterry's kernel, as he but very restrictive assert checks in ( 1.33.0013 and 1.33.0013d )

spoof 1.33.0013 and you can install practically any rom/kernel
[G1 Android Development] axlastro:
I got totally confused.

What I need to do is to install the CM6/official remix ot whatever the heck it was called. I don't want any specific kernel with that.

When do I "spoof" the spl - before the rom install, right. Then what ?

I have the mtdpartmap.txt configured as you said - mtd 90 2 (my old config) and spl 1.33.0013

Then I install the recovery patch, the rom, and the boot patch and should be good to go? Why would I install the anykernel if I've already spoofed the SPL?
[G1 Android Development] Firerat:
omg wtf is going on?

ARE YOU TRYING TO GET THE EXTRA 15MB RAM OR WHAT?

I assumed since you are posting in the 2708 thread that you do

it is very very very simple

follow the OP instructions to flash 2.22.27.08 radio and 1.33.0013d hboot

if you want to install a ROM that is not biffmod, e.g. cm6 then spoof your spl to be 1.33.0013 ( spoof it anyway, it doesn't matter )

if you are using customMTD, use the mtdpartmap.txt

if you don't (know about/care about/undertand/want) customMTD then use the spoof 1.33.0013 zip

flash rom

make sure you flash the 2708 kernel ( if its not already in the rom )

and finally flash boot patcher if your using customMTD

^^^ if you don't understand any of that, give up
[G1 Android Development] thymythos:
Wow, that one 's super fast. Big THX!
[G1 Android Development] axlastro:
Nevermind. Sorry about the fuzz. After some repeated installs of partition patcher and spl spoofer , roms and nand restores, I seem to have found the golden combination and now I'm happy. I managed to NAND restore, then flashed the spl spoofer, flashed the kernel and then the boot patcher, having edited the mtdpartmap.txt as adviced. Now I have all the RAM I need and all the ROM I could possibly dream of. Thank you, you are scary smart guys, I'm full of positive envy :)

The rom cm6OfficialFroyoRemix + 15 mb of RAM = STUPID FAST :)
[G1 Android Development] Firerat:
some rom zips have checks, one of these checks is the spl

1.33.0013d is not in most roms, so you can't flash them

spoof spl is just a little trick, as far as the rom zip sees it is what you set it as, in this case we set it as 1.33.0013.. all problems with flashing zips solved

while you have this 2708 hack on your phone you *must* use a compatible kernel

just like people with 32a phones have to use an ebi1.

for me it will be no problem, I will just compile a new one if I feel I need one

I will probably upload to media fire, just don't expect me to ;)
[G1 Android Development] svtfmook:
i followed the instructions... the one posted in a reply on cyanogenmod's forums which has you flash the spl before the radio...

followed these, flashed the orange.nbh and all is working beautifully.
[G1 Android Development] mycnam:
For me I just did a (dangerous) hex edit to change the "d" to null (00). Problem solved.
[G1 Android Development] ezterry:
So hack a hacked SPL so it looks like (and no one can tell) its not hacked... just to get around a silly assert statement in a test recovery where we all know the private key.. Smart..

And in all likely hood any future major release will correct the assert statement because 1000s of people have 1.33.0013d

(hint don't do this you are asking for trouble later on, and I mean in trouble shooting not theoretical stability)
[G1 Android Development] good223:
If I spoof the spl to 1.33.2005 and resize using custom mtd, do I have to flash a special kernel for CM to boot or can I just use the stock CM 6.1 RC1 kernel?
[G1 Android Development] ezterry:
If you use the stock CM 6.1 RC1 kernel:

The new radio will boot loop.. the old radio will work.. neither will have extra ram

If you use the patched CM6.1 RC1 installer:

You will get a CM6 kernel patched to work with the new SPL/Radio. .. but in this case you don't need spoofing anything..

Please re-read op..
[G1 Android Development] good223:
Sorry I missed step 6 of the process while reading.

Also, if I wanted to go back to danger spl I would have to flash the "orange-1.58.73.2.nbh" to get an engineering spl to flash the old radio and danger spl right?
[G1 Android Development] Firerat:
I read the OP

wasn't those words , but yes
[G1 Android Development] HellRazorGod:
Anyways coz of that naive " whoz the noob " discussion in your CustomMTD thread, my earlier post was apparently ignored . So please could u answer me this time firerat :S

Which partition space does the phone display in the "Internal Memory" section of the phone settings . Is that system free space or data free space or both ?

And also could you point out the respective uses of the data , the cache , and the system partitions individually ?

Thanks : )
[G1 Android Development] Firerat:
wrong thread

http://xdaforums.com/showpost.php?p=9147509&postcount=777
[G1 Android Development] HellRazorGod:
-_- ? kk cool so could you answer me there :D
[G1 Android Development] good223:
Alright, I appreciate the reply.
[G1 Android Development] alongenemylines:
YES. THE ANSWER IS USE YOUR EFFING BRAIN AND USE THE EFFING SEARCH. I'M TIRED OF THREADS THAT HAVE THE EXACT SAME QUESTIONS ASKED 100 DIFFERENT WAYS.

http://goo.gl/cjBJB

Very first link will answer your questions. Use your brain.
[G1 Android Development] mycnam:
Agreed... That's why I call it dangerous. As long as I remember what I did and would not install any future release right the way, I am safe... (Don't be drunk and flash!)

By the way changing the string "SHIP" to "ENG" near the beginning of the image does not change how it looks in fastboot.
[G1 Android Development] Firerat:
I flash drunk all the time,

sometimes I even update the rom on my phone when drunk
[G1 Android Development] ezterry:
Someone in the sapphire boards said that unlocked some issue with adb .. It was thus the first thing I changed with the version, but I'm not sure it is doing anything.

Certainly didn't make bypassing fastboot is only for ruu mode, erase image is only for cache, and various nbh checks any easier.

Nor finding the pointer to the partition table for this SPL.

I think 1.33.0013d however will safely get the job done, So until/if something with fastboot boot and fastboot flash can be developed/leaked. Its the SPL to use for extra ram..
[G1 Android Development] Phateless:
I think you're in the wrong forum. :p
[G1 Android Development] wuziq:
i'm thinking about installing super D with 10MB RAM hack, along with the new hboot/radio/kernel. if i should not do this for some reason, please let me know, since i'm kind of a noob and i'm not completely aware of all the moving parts that depend on each other.

i've actually already flashed the new hboot and radio, and i'm running the modified biffmod.

so if i'm going to install super D, i was planning on following the super D installation instructions, but then also flashing ezBiffTestKernel20101106-2708_S.zip afterwards. is this correct?
[G1 Android Development] havikx:
i got flashable versions of the radio and hboot. i'm having an issue flashing the radio. it unpacks fine but when i go to reboot, it shows an error on screen that i cant read cuz it reboots so quickly.

what am i missing?
[G1 Android Development] oneG:
Used my brain and search and all I wanna know is what's the battery life like since this development?

Sent from the Grandaddy G1 via XDA
[G1 Android Development] jbdubbs:
This won't accomplish a thing, the 10MB RAM hack is built into the kernel as well as this hack. Until someone makes a kernel that does both, you'll be installing the 10MB hack then immediately wiping it out by flashing the 15MB kernel.

I am, however, interested in seeing what kind of performance boost we could get from a kernel that did both :)
[G1 Android Development] wuziq:
oh yeah, duh. thanks :o
[G1 Android Development] tnpapadakos:
no huge difference either way imho
[G1 Android Development] havikx:
i dont understand.

i flash

new radio

new hboot

erase system with .zip

rom official Aosp 2.2 (alt/kernal)

marketfix

ezkernal installer

still i get bootloops and boots into recovery. what did i do wrong?
[G1 Android Development] sleepyfu:
angry birds doesn't work on my setup either, off center screen placement. but i am one zx-donut w/ this spl/radio/kernel patch, so who knows.

could that be why my donut ver. camera can't take 3m photos anymore? since i always use 1m settings anyway, not an issue.

thanks for this hack. ezterry.
[G1 Android Development] havikx:
some1 should really come out with .zips for everything you need to make this process easier. question for you guys that have it running on the g1... does your hboot say 0013 or 0013d when in hhoot?

would it even be possible to bring back the old school 10mb ram hack and incorporate it into this hack and get..

the ultimate 25mb ram hack>?
[G1 Android Development] tnpapadakos:
idk, but with my Mt3G turned off, i'm getting 192 MB free RAM....just sayin...
[G1 Android Development] Firerat:
it will say 1.33.0013 if you have 1.33.0013

it will say 1.33.0013d if you have 1.33.0013d

if its too difficult for you don't do it

and some idiots have already done zips, so if you want to be even more stupid go ahead and be a dumbass and risk bricking your phone.

tbh we *need* to make it harder so Morons like yourself just stick to kingklick roms
[G1 Android Development] sleepyfu:
well, installed BiffMod, angry birds loads fine now. But as I thought, it's doesn't play well, pretty much point less.

Does anyone have time line issues for genie widget? In hourly detail view, my current time will show up at the far right, so there the time stamp for forecast is backwards...
[G1 Android Development] Spakainz:
Do you flashed spoofSPL? You need flash it.
[G1 Android Development] darkshino:
Same problem here, I noticed it depends on which world area you use, sometimes it works, sometime it doesn't. But i don't think graphs are wrong, it's just about time line.
[G1 Android Development] hrk:
Harsh, but true.
[G1 Android Development] ezterry:
No you don't not for MT3G-Test2_S.zip

For recommending it you now have a Homework assignment: What does SpoofSPL actually do?
[G1 Android Development] Ohsaka:
Everyone knows SpoofSPL has hidden code written by Firerat in assembly that makes a secret phone call to the NCCD (National Cell Carrier Database) and looks up the proper SPL encryption key for your particular provider. That way the phone can "spoof" the correct SPL authorization sequence during bootup.
[G1 Android Development] billquinn1:
NCCD is short for "phone cops"
[G1 Android Development] Firerat:
lol

Everyone knows spoof spl makes your phone faster
[G1 Android Development] alongenemylines:
spoofspl won me the lottery!
[G1 Android Development] v3rk:
sorry for the n00b question but i skimmed through the first few pages and couldn't tell for certain

can this be done strictly through the phone once the required files are on the sd card? i'm not comfortable when it comes to adb and all that. the process seems straightforward enough but i see talk about customMTD and i have no clue what that means. but this sounds so very exciting

i'm running danger spl with 2005 radio on ezterry's mt3g ota rom. thanks in advance!
[G1 Android Development] Firerat:
the reason you should use fastboot to flash radio and hboot is that it is much safer

people have been silly and have posted flashable zips, if you choose to use those then you put yourself at a much greater risk of bricking your phone.

you have been warned

customMTD has nothing to do with this mod, ( but it is compatible )

the main reason cMTD is mentioned in the thread ( far too much imo ) is that it has a little trick built in which will eliminate the status 7 error you get when an assert check fails

you don't *need* cMTD

in OP SpoofSPL is linked,

the 1.33.0013 version will patch your recovery to pass a kernel command line which tricks a ROM zip into thinking you have 1.33.0013 spl and not 1.33.0013d ( cm6 and most roms based on it do not yet include 1.33.0013d )

the other way to get round the status 7 error is to edit the ROM zips updater-script , add 1.33.0013 ( or remove all the assert checks ), resigning the zip once done

for most people its just much easier to flash the spoofSPL-1.33.0013

If you do use customMTD, then add

spl 1.33.0013

to mtdpartmap.txt ( overwrite existing spl line ! ) and reflash recovery patcher
[G1 Android Development] xPreSiDenT:
After a couple of days of using my g1 with this mod, I must say this is really good. Gone through a few nightlies and am currently on 238. However, I haven’t noticed anyone mention battery issues till now. The only mention its had is that it hasn’t made any difference.

For me the battery has been draining veery fast. While reading an ebook, with no wifi/data etc and lowest screen brightness, I can actually see the battery draining in the status bar. It hardly lasts more than 7-8 hours. I think this isn’t an issue of the kernel as I’ve tried both ezterrys as well as his modded cm nightly kernel.

I'm no expert, but in my opinion, the issue seems to be with the radio, as everything else on the phone seems to have gotten faster but connecting and disconnecting from calls has apparently gotten slower. Plus the battery drain. I have the phone set to gsm only in the phone settings (which helps conserve power) but it’s still not making much of a difference. Any ideas anyone?
[G1 Android Development] mjybarr:
Thank for the great info!! Do we flash a spoof everytime before the rom and gapps, or just flash once and done?

Thanks again Firerat!
[G1 Android Development] billquinn1:
Once and done unless you change recovery. Then you would need to respoof.
[G1 Android Development] Firerat:
edit : ^^ I should f5 before replying :)

just the once

or after you change recovery

at some point in the future I'm sure 1.33.0013d will make it into the official assert checks

Until then Spoof 1.33.0013 ;)
[G1 Android Development] mjybarr:
Thanks to you both for replying :)
[G1 Android Development] billquinn1:
I won because I used the word "respoof" in a sentence. :)
[G1 Android Development] kingjehu:
He's right. Sorry FR, lol.
[G1 Android Development] mjybarr:
Lol!
[G1 Android Development] sparksco:
I'll add it in. Also I'm working on running your scripts in recovery instead of first boot, to run right after ezterry's kernel installer. Flashing takes longer, but firstboot doesn't.

Edit: So far my most successful flash left me with 89mb internal on my g1 on first boot.
[G1 Android Development] Firerat:
meh, I put 2 and 2 together and wrote the thing

But I gave it the lame "FakeSPL" name

Much prefer Sisterchick's SpoofSPL name :D
[G1 Android Development] julianjm:
Sorry if it's obvious, but I prefer to ask and avoid a brick ;)

I have a Magic 32B from Vodafone Spain. It runs CM6 nightlies, but it has the original radio & spl (used one-click-root, never needed to reflash them):

SAPPHIRE PVT 32B SHIP S-ON G

HBOOT-1.33.0004 (SAPP10000)

CPLD-10

RADIO-2.22.19.26I

How do I proceed? Do I have to flash first an enginering SPL, and then follow the OP?

Thanks
[G1 Android Development] Firerat:
Which script?

I did add support for AIO to customMTD a while back,

been compatible since v136 of AIO

basically I got AIO to figure out it was in recovery and don't give interaction

recently removed AIO running support from customMTD , in an effort to clean it up for other devices.

AIO will run in recovery, but it won't fix your 05mountsd in recovery mode

If you want scripts from AIO in your ROM, add them like NLJ did with biffmod
[G1 Android Development] tnpapadakos:
i would say yes, if you cannot do fastboot or adb with that spl you have
[G1 Android Development] tribalartgod:
This particular SPL... Does it classify as "Danger"?

What I mean is... If another ROM calls for Danger SPL, will I have to switch back or can I keep this one? Switching does not concern me, I just want to ensure a stupid "avoidable" mistake and rule out an assumption.

Thank You to whoever can properly answer this for me. :-)
[G1 Android Development] ezterry:
With the 91mb system on the dream, any rom needing system for space will install fine onto 1.33.0013d (ignoring the bootloader assert)

If you have the new radio, however (2.22.27.08), you will want a 2708 ported kernel.

The spl probably also counts as danger in its lack of ability to boot android with the 1.x radio, so do please use fastboot to install it.. that way even if you reboot with an invalid software stack you can repair the phone with the orange spl flash instructions from the op
[G1 Android Development] jdyates:
Has anyone tried this on a myTouch 1.2? Stock SPL is 1.33.0013 and stock radio is 2.22.23.02. How would i flash it? This SPL is perfected (if i remember right) and wont let me flash hboot or radio using fastboot flash. Flashing an Engineering SPL through recovery doesnt change, still says "1.33.0013".
[G1 Android Development] kingjehu:
After flashing this, I didn't see an increase in performance. I took advantage of the extra memory by turning JIT on and my Quadrant score jumped from a max of 356 to:
[G1 Android Development] ezterry:
This thread is for 32b dreams/sapphires I'm positive the memory map for 32a sapphires is a mess [read wrong address] in this kernel.. It may be possible to get the kernel to boot (with a valid memory map) but I have no clue as to if there exists extra memory.

(We know the new radio works on the MT3g 1.2; and you can test 1.33.0013d it probably won't brick your device.. then again it might.. but you will need the files in Updater.zip format.. which I'm not creating nor linking to at this point in time as its not very safe for the Dream users in particular)
[G1 Android Development] blahbl4hblah:
Fantastic ramhack honestly

If you could, put sparksmod as working for this ramhack as well

Thanks
[G1 Android Development] reserek123:
Noobish question but Would this new radio ever be able to be flashed via console because I can never get flashing via fastboot to work. even my friend that has accomplished fastboot on his g1 could not get it going with mine. Please tell me theres still hope lol
[G1 Android Development] sleepyfu:
Understand that it's NOT recommended here. But just want to let people with mt3g/sapphire know that I've flashed 2radios/3spls thru Recovery (RA1.7.0)

Have always done the Radio 1st. Flashed/booted prior to any other changes.

I keep .nbh on my sdcard for a way out if recovery gets lost when doing upgrades, too.

I am only sharing what was possible. your brick is not my problem.
[G1 Android Development] Firerat:
sparksmod = crap

even kingklick does a better job
[G1 Android Development] XxKOLOHExX:
LOL Firerat, haha you crack me the hell up (off) w/e haha :P
[G1 Android Development] G1ForFun:
I am missing a lot of text messages.....I don't know if it is CM6.1 or if is this new HBOOT and RADIO.

I figured out I was missing texts because I had more than of my friends call me mid text because they said I stopped responding, when in fact I did respond. They usually end up getting my text the next morning or a few hours later then originally sent.

Anyone else experiencing this?

My current setup is Biffmod 2.1 with the new Hboot and Radio. I know Biffmod is based off CM6.1 so that is why I am referring to it as such.
[G1 Android Development] paoloc67:
hello i have performed the procedures for the change of SPL (1.33.0013d) and radio. Now I wanted to change splash screen and then I use this procedure right?

Temporarily If you just need an SPL engineering (and recovery is working): (haves and + radio 2.22.27.08 SPL 1.33.0013): 1) backup Nanroid 2) Flash ( via recovery) ENG 1.33.2005 SPL ** 3) to do what you need in the SPL engineering 4) reflash 1.33.0013d as above (install, reboot bootloader, erase fastboot) 5) restore nandroid
[G1 Android Development] G1ForFun:
LOL (this made my day)

Both are garbage lets be real.
[G1 Android Development] breezy169:
I'm havinq the same problem .
[G1 Android Development] ezterry:
Is the txt sying it was sent from your phone? If so the network received it; particularly if it eventually made it. [in this case poke your carrier not the radio]

Or is the phone unable to actually send it to the network for a while?
[G1 Android Development] jacklc000:
Donut

Is it possible to run a Donut Rom with the new SPL and Radio?
[G1 Android Development] Firerat:
you would need a kernel that is compatible with 2708 and donut