yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Firerat:
yeah, sorry, I should clean up those posts, they kind of evolved

I didn't really intend to maintain a Legend, but a couple of people were asking for one.

SPLs can be found here

http://wiki.xda-developers.com/index.php?pagename=HTC_Dream_Bootloader

but for the moment stick with Danger, it dosn't make all that much difference here, its only 4 apps that I couldn't fit on system with Danger ( I symlink them from /data/app )

KingsLegend DangerSPL

Flash This

(2) FR-King-Legend10-CachePatchDangerSPLOnly_S.zip

Then flash This

LegendCacheHackDangerOnlyFixes-0-3-1_S.zip

KingsLegend 1.1.1

You can't flash King's Update, as it doesn't mount the /cache in the right place

here I have put the cache Hack in king's init.rcs

FR-KingLegend-111CacheHack_S.zip

these are kings Kernels, not mine

1.1.1 does not include the poweroff fix!

I also put some scripts on your sdcard in a folder called gscript

to use download gscript from the market, and add script --> load file

which makes it a lot easier to switch kernels

these are not only easier than using kings scripts ( terminal dosn't work on this rom, so how do you execute his script? )

but they are also faster, Kings scripts copy the kernel to sdcard before flashing:confused:

no, I have no idea why either, maybe he wants to increase the risk of flashing a corrupt boot.img

oh, and my 1.1.1 update is 2mb smaller than Kings

as his had two copies of his performance kernel ( boot.img and /data/performance.img )

I assume it was either an oversight, or he doesn't know that the recovery update can traverse directories
[G1 Android Development] paulb_nl:
Thanks for the how-to :)

I thought completeEclair also put system dalvik-cache to /cache like openEclair and other cyanogen based roms but i see that's not the case.

Anyway now I can symlink /data/dalvik-cache to /system/csys/cache with your changes, thanks.

I'm quite sure i don't have anything on sd because I just have a fat32 partition .
[G1 Android Development] Firerat:
ok, kewl,

in that case it will work as you expect :)
[G1 Android Development] juangil:
@firerat

would I find issues while trying to backup/restore using switchrom/bart?

thanks in advance for your response

Great job... Legend works really good with your hack/boot.img

edit: I already flashed it once but I couln't restored it with switchrom
[G1 Android Development] Firerat:
I should make a cache only flash, so you do a nand restore , then flash the missing files over

in recovery you could do

mount -a
tar -c /cache/system -f /sdcard/cache-system.tar

then to restore

mount -a
cd /
tar vxf /sdcard/cache-system.tar
[G1 Android Development] juangil:
nice, thanks a lot:)
[G1 Android Development] stevetigersix:
saweet job

hi firerat m8 great job flashed the vega legend with the fixes and it runs well everything working as it should only things ive found to be a little hiccuppy is in people linking the facebook and people contacts only shows half of the people on my facebook up to k or so, the other big one is as always the incomming ring lag, as it stands it takes 2 rings to flash the trackball a futher one to two to launch a ringtone especially if using a custom made ringdroid one, then a futher couple to display the incomming caller id then another few to register either a button press on the menu or the screen swipe, any ideas how to speed this up im using ring prioritizer app with the standard script file that came within the zip?
[G1 Android Development] Firerat:
Well....

I only did CE and Kings Eris as a kind of introduction demo,

for people to pull apart, have a look and then put their own spin on it

I never intended to do legend,

but it was fun getting creative with the update-script file

Ref Contacts and Facebook, is it filtering on people with Telephone numbers?

I'm guessing the missing ones don't have telephone numbers on their FB profile

for the laggy call, you could try running the 'renicer' script

Vega's Legend runs that via a2sd

try

/system/bin/sh /system/bin/setpriority &

if that improves things then

chmod 755 /system/bin/.Fire.rc
echo "/system/bin/sh /system/bin/setpriority &" >> /system/bin/.Fire.rc

will get it to run on every boot
[G1 Android Development] stevetigersix:
well i have to say mate think your tweaked legend roms are bloody marvelous, see you can tell im british :D thanks for the com codes

as for the fb contacts i think your correct in filtering the non numbers out
[G1 Android Development] Firerat:
get Vega to do official CacheHacked ones ;)
[G1 Android Development] jasonmlit:
ok, so i did that, then i flashed that last link you gave me... the 111 as well. now i have "low on space" error.
[G1 Android Development] Firerat:
either run a2sd via adb ( terminal not working with this rom )

or reboot

dalvik-cache will get moved to sdcard
[G1 Android Development] jasonmlit:
rebooted, the low memory error is gone, and now so is the "messages" app. this rom hates me.

*edit* it was gone, now its back.. and messages is gone. don't know what i am doing to screw this up.. maybe i should stick with donut.
[G1 Android Development] jcarrz1:
Firerat, quick question: does /system grow after you've flashed/booted the rom?

For example, if i have a rom that has a 89.9mb system folder, and I flash it, will that make a difference later or will it always be 89.9mb?

Dangerspl of course.
[G1 Android Development] ahaveard:
FireRat, has anyone reported that mp4 and YouTube are not working correctly? Videos are sound only or too dark to see. Also I can confirm that messaging app disappears after your fix patch. I just reinstalled it from the original.

I'm using the king legend port on a mt3g, danger spl, 352 mb of swap, class 6 SD.
[G1 Android Development] Firerat:
No, but I have noted that the Legend Video isn't working myself :)

I'm going to have a look at the libs, and see if the Eris dump ones ( which is where I got the libs for CE12 ) will fix it

ref messaging

yeah, I'm a little confused with all that, it seems 'random' I hate random

I flashed Vega's legend earlier when I was in the pub, and the damn widgets didn't work !!! grr, I manually deleted the files in /data/data/com.htc.launcher/

and restarted Launcher with killall -HUP com.htc.launcher and got them working.. still confused as my script is suppose to wait for com.htc.launcher to start, wait 5 seconds then delete the files and send the HUP signal

it might be that I had just skipped through setup too fast, and launcher started before Android had sussed the rest of the system out.. thats the theory I can't be bothered testing right now :)

Anyway, yeah Video , that's why I flashed the Legend.. to get it working ;)

and after thought on messaging, I kinda mixed things up a little, I know you can put standard apps in /system/app and they work, so with Legend4Danger I stuck the ones which didn't fit into /data/app/, but it seems that they needed to be with their other system buddies, a symlink seemed to fix it.

I still don't understand why
[G1 Android Development] speedysilwady:
hmm this is odd, even after reformatting my sdcard upgrading ext 2 to ext 4 repairing, and wiping all 5 each time, no matter what rom i use to flash with the cache hack, it just hangs on the g1 screen, id pull up a logcat if i could, but my laptop and desktop refuse to communicate with the phone through adb for some reason... im flashing canon's 2.0 eclair right now, its been about 10 minutes and its still stuck on the g1 screen....my memory card is fairly new, not even 2 months old, so i dont think its the card...i hope its not the phone turning to crap...even my bart of vega's legend is no longer restoring..
[G1 Android Development] jcarrz1:
is vega or king legend faster?
[G1 Android Development] Firerat:
md5sum the two, no real difference :)

for i in $@; do
md5sum $i
adb shell md5sum /$i

add a line like

md5sum <PathToAnotherROM>/$i

then

andmd5sum system/lib/*

will return the md5sums of everything in system/lib, /system/lib on your phone

and everything in system/lib after the other rom path, for easy compare ;)
[G1 Android Development] Firerat:
how come adb doesn't work?

can you mount in recovery cache?
[G1 Android Development] engagedtosmile:
Maybe I am missing some steps here but I downloaded the Vega NoDanger full rom and while flashing it fails with

Copy files...

E:Can't symlink /cache/system/xbin/zcip

E:Failure at line 43:

symlink busybox CACHE:system/xbin/zcip

Installation aborted.

E:Error in CACHE:recovery/log

(No space left on device)

Is that because I have DangerSPL, trying to flash NoDanger?
[G1 Android Development] speedysilwady:
adb never worked on my g1 with any comp but it worked on my cousins g1, and i dont remember if i was able to mount cache in recovery, i believe it said cache was busy, i decided to unroot it and i traded g1s with my cousin who barely used his unrooted g1, and i gave him a nokia 7610 along with it cuz his g1 is in better shape than mine was, anyways i rooted it last night, and im running super d right now with engineering spl, latest radio, i needa change my sig, im just too lazy atm lol. Ill try flashing droid eris or legend, soon, i heard vega was gonna consider implementing cache hack on his legend, so ill wait and see before i try it on this phone. if i get any errors or weird things ill send a logcat since everything works on this phone.
[G1 Android Development] jcarrz1:
True, but king's kernel and some fifo on boot ought to make it speedier... even if it doesn't look different by itself on the zip file.

But those things (his kernel and the fifo) could make it more bloated too... just curious on your opinion.

And couldn't you just use diff instead of md5?
[G1 Android Development] Firerat:
yes, the awful thing about the Legend is it's very large..

the NoneDanger is easier, cache is 67mb, Danger is only 30mb

I put more on /cache with NoneDanger, which then allows for all of the system apps. With Danger I had to symlink some back into system

I've still not got round to writing a post install script, I hope to do so soon. It should make life a lot easier for everyone.
[G1 Android Development] Firerat:
I guess so yes, never thought about using diff

but as far as I know can only compare two

can add many to that md5sum script

for instance yesterday I had , King Legend, Vega's legend, King Eris and the optimised eris

fifo on boot?

have you checked what the defaults are...

I'll have to double check, but last time I looked fifo was on

kernels don't make much difference, and anyway I've patched up to bfs311 since I gave king the 3d tarball, that only had bfs302.

he might have another tarball now, idk
[G1 Android Development] speedysilwady:
just figured this oughta be quoted in this thread, i really like the ideas you mentioned abt the update-script generator and the base idea...thatll make things a lot easier for everyone and theyd stop relying soley on you to cachehack every version of every rom thats been coming out lately =P

Kudos Firerat!
[G1 Android Development] paoloc67:
hello Firerat with a HTC MyTouch3G (Google 32B) which patches should I use with Legend v 0.9? Sorry another question What is the patches?

Thank
[G1 Android Development] Firerat:
tb, there isn't a great deal of benefit to mt3g, well besides giving you just under 50mb more space on data

in the Legend , the Patch directory just contains support files

a2sd, mt3g friendly , + optimised Dalvik-cache for G1s ( not that it does much with legend, dalvik-cache ends up too big :( )

data-cache.sh - sets up a bind mount from /data/cache to /cache ( since I stole it, I had to put something in its place. a bit like a pickpocket taking your wallet , but giving you a cheap one with a fiver in it for bus fair, cos they are nice really )

rw/ro system - puts both /system and /system/csys in rw / ro

qdu.sh - just a script which takes a directory as an argument giving the diskspace used of the subdirectories, without detailing their subdirectories

boot.img - it's ramdisk mounts cache without the suid and dev restritions on /system/csys )

the rest - these are just the standard Android scripts with hash Bangs (#!/system/bin/sh ) so they work with busybox sh ( I prefer busybox sh ;) )
[G1 Android Development] paoloc67:
Thanks for the reply, how come when I call it takes several seconds before I start playing my cell?
[G1 Android Development] Firerat:
that seems to be a 'feature' of the ROM

the standard (NoneCacheHack) on a G1 is afflicted in the same way, if not to a greater degree.
[G1 Android Development] yukkio:
Is there any boot.img for SuperD?

Thanks.

BR.
[G1 Android Development] jcarrz1:
I think kernels make a huge difference. Compare king legend without his kernel #8 to kernel #8 and you will see the difference. Much faster, except no wifi....
[G1 Android Development] Firerat:
ok, I'll do that at some point
[G1 Android Development] aujbman:
Hey firerat,

So, coming from where I am coming from (mt3g, cyanogen), and wanting to run Cannon's, do I just need to,

1)nandroid

2)wipe factory,dalvik,sd

3)flash zip in first post

4)reboot

Is there a need to partition or format the sd manually first? I tried it a while back and was not aware of the fixes for facebook, etc. Eager to see how it is now.
[G1 Android Development] sitimber:
nice work

before i go ahead with this i'm on htc magic on 1.33.2005 what should i be on the best suit the phone
[G1 Android Development] acejoker25000:
metamorph

having problems with metamorph. using the droid eris version and when i open up the metamorph app it says make sure u have enough memory in /system and busybox. anyone else having this problem as well or should i just do a re wipe and a fresh flash to see if that helps anything!
[G1 Android Development] sitimber:
can i use

update.Engineering-SPL-HBOOT-1.33.2009-signed

http://xdaforums.com/showthread.php?t=529019
[G1 Android Development] Firerat:
df -h

will tell you how much space you have on /system

off the top of my head I can't remember how much

option

move a non critical system app or two out of the way

let metamorph do it's thing

see if you can put the apps back

if the system apps don't fit, try putting them in /data/app/ ( symlink to /system/sd/app/ if g1 )
[G1 Android Development] acejoker25000:
ok thanks for the quick reply man
[G1 Android Development] sitimber:
so i open vega 0.9 and drop contents of FR-Legend-Cache-Patch-NoDangerSPLOnly.zip resign and install and jobs a good one

oh and partition just 32 and swap
[G1 Android Development] Firerat:
yeah, should work but I haven't tested it

I think NoDanger had a fair bit of space left, so fingers crossed it will flash
[G1 Android Development] The Ape:
hello,

i wanna test your work, but 4Shared is the biggest crap on earth...i have about 10-20 kb/s @ 4 shared, so a file of 100mb will download in about 1,5 hours.

at the moment i`m @ 8,4Kb/s and i need 2.5 hours to download your rom...

plz... up a mirror !

i already searched google, no hits...
[G1 Android Development] tsheeley:
For giggles - has anyone tried adding Dusted Donuts to the patched CE? They say it'll work with 2.1.

Also, I tried doing a BART backup of CE - but I got an error about an empty tar file... I'm guessing that's because none of the apps are on my sd card?

I did this instead...

# bart -n -s (name)

... which should just do a named nandroid backup. Is that all that is needed so I can restore it later?
[G1 Android Development] Firerat:
I've still not tried bart myself yet

I've been doing a standard nand + ext back up

then on recovery console ( or adb shell )

mount -a
tar -c /cache/system -f /sdcard/nandroid/<serial>/<the back up I just made>/cache.tar

and to restore

normal nand restore

mount -a
cd /
tar vxf /sdcard/nandroid/<serial>/<the back up I just made>/cache.tar

I switch ROMs a lot
[G1 Android Development] tsheeley:
With your patched A2SD, doing the ext backup isn't necessary though... right? The nandroid should take care of everything?
[G1 Android Development] Firerat:
CacheHack thread :)

no Nandroid doesn't backup 'cache'

so if you backup, wipe and restore , it won't boot

I'm a g1 , so I have little option when it comes to ext partition

mt3g can do just a nandroid, + tarball cache
[G1 Android Development] tsheeley:
Hmm. Ok. I'll have to play around some more and see what I can figure out.

Sorry for the off-topic. :)
[G1 Android Development] xenio2000:
I like to try the King Legend, I am really lost on the thread (sorry)

I have the G1 with HBOOT-1.33.2005 with the Radio: 2.22.23.02

which files and with sequence I have to flash?

It is better to keep the SPL I have or I have to change it?

Thanks for your help.
[G1 Android Development] Firerat:
Flash this

(2) FR-King-Legend10-CachePatchDangerSPLOnly_S.zip

and then this

LegendCacheHackDangerOnlyFixes-0-3-1_S.zip

when you get to the lockscreen, give it a few minutes to settle

then do the full sign in

fingers crossed all the widgets are there

Its a bit random tbh, which I hate
[G1 Android Development] juangil:
use either one of this two plus the legendcachehack, I used the ones on red and its fasssst

from first page-------====

owing to some confusion over the patch I have made some pre patched

This will help me trouble shoot as it eliminates problems with applying patch and signing

(2) FR-Vega-Legend-CachePatchDangerSPLOnly_S.zip102,352 KB

(2) FR-King-Legend10-CachePatchDangerSPLOnly_S.zip102,351 KB

drawback is that it will take me a little longer to upload any fixes

These are not tested by myself yet, but I'm going to stop being lazy and flash danger again

These are now tested by me , bit of tweaking and they now run..

Sorry for all the messing about, I should have done this from the start

################################

MD5sums

f8de349793a74d399359038691889362 Legend-CachePatchDangerOnly.zip

5ca85f27aaa5a07ad5fef1bf040202d4 FR-Vega-Legend-CachePatchDangerSPLOnly_S.zip

b7730a0fd4f5688989198d33259af817 FR-King-Legend10-CachePatchDangerSPLOnly_S.zip

No Wipe Fix ups

will suit either King Or Vega Legend CacheHacked ( DangerOnly )

LegendCacheHackDangerOnlyFixes-0-3-1_S.zip

57e3f6057d7999e4d97777e830c1b861 LegendCacheHackDangerOnlyFixes-0-3-1_S.zip
[G1 Android Development] xenio2000:
Wow thanks, I trying right now...

Thanks for your work.
[G1 Android Development] lyrical1278:
This is my first post but I must say I'm loving the things all of you devs are doing with Android. I'm trying to install King's Legend none danger, bu it keeps erroring out with the following:

E:Failure at line 22:

copy_dir PACKAGE:data DATA:

installation aborted

I work in IT so I know something bout user error, could I be doing something wrong?
[G1 Android Development] Firerat:
have you tried wiping data?
[G1 Android Development] lyrical1278:
That's probably what I DIDN'T do. Let me try it. I would suppose I would need to reformat my sd card to wipe data?
[G1 Android Development] tsheeley:
Does anyone else have issues with some of the live wallpapers in CE?

Galaxy looks ugly as sin and sometimes reboots the phone.

Nexus is just a white screen.

Magic Smoke freezes up and reboots.

Grass, Maps, Polar clock & Water all work, but aren't really my taste... I haven't even tried the music ones, since I don't use it for any music stuff.

I can only assume the issues are due to the fact that there are no official Eclair drivers for Magic phones?
[G1 Android Development] tsheeley:
Also, I noticed that on the lock screen it says "3G T-Mobile"... how can I get rid of the 3G part?
[G1 Android Development] Firerat:
I have no idea what either of these has to do with CacheHack
[G1 Android Development] tsheeley:
Noted. My bad.
[G1 Android Development] juangil:
tried bart-restoring and after it finished restoring, while in recovery console did the .tar thing and the files started moving but at one point got a msg: No more room left on device

I end up on firts splash of course:(

any advice Firerat?

thanks
[G1 Android Development] songokussm:
ok i have a g1 that was running cyanogenmod 4.2.15.1 with the ra-dream 1.6.2 recovery. I tried flashing "KiNgxKxlick-AOSP2.1-v1.9_signed.zip " but i received this error:

---------------

During the "Copying files..." phase I get a little past 1/2 way then receive

E: Can't chown/mod /system/xbin/busybox

(No such file or directory)

E:Failure at line 22:

set_perm 0 0 04755 SYSTEM:xbin/b

Installation aborted

------------------------

Your response to this error was to install the rom listed in this post. I installed

FR-King-Legend10-CachePatchDangerSPLOnly_S.zip -first

LegendCacheHackDangerOnlyFixes-0-3-1_S - second

I can still boot up into the recovery menu, however my g1 will not boot up. It stays stuck on the tomobile g1 logo. I've left it for an hour and nothing happens.

I do not have a modified spl.

Any advice would be very appreciated. Thank you.
[G1 Android Development] Firerat:
flash the noneDanger version
[G1 Android Development] songokussm:
non danger also error-ed out. however i figured it out.

the radio on google's website is outdated. using the update found on these forums, the danger version installs just fine.

now on to issue 2.

when i receive a phone call. the phone lags so much that its over by the time it shows the picture of who is calling. Normal operations are not to slow. however calender takes 12 seconds to load.

what did i do wrong

Lastly, thanks a lot for this rom. It is breathing new life into a cheap toy that i did not want to give up (or could afford).
[G1 Android Development] Firerat:
Actually, I need to take that link down

CE2.0 is cache hack

use that
[G1 Android Development] dianotea:
thanks, will try that. Keep up the good work!

UPDATE: tried the 2.0 black, 2.0 white - same problem.

Just as side note.......I cannot install even on danger spl-ed g1 :(

To notice IMHO:

D/dalvikvm( 1200): GC freed 7212 objects / 509840 bytes in 160ms

D/PackageManager( 1200): Scanning app dir /data/app

E/System ( 1200): Failure starting core service

E/System ( 1200): java.lang.NullPointerException

E/System ( 1200): at com.android.server.PackageManagerService.scanDirLI(Pa

ckageManagerService.java:1960)
[G1 Android Development] rakwulf:
Messaging App

Hey guys,

I've done everything like you said, and after the update my Contacs-App showed normally on the app-drawer....BUT Now I'm missing my Messaging-App.... any fixes for this? :confused:

Please help..
[G1 Android Development] Firerat:
http://xdaforums.com/showpost.php?p=6178653&postcount=1329
[G1 Android Development] rakwulf:
Thank You =) gonna try this..

Firerat, you're the man! You became very much a "legendary Hero" for my G1 ;)
[G1 Android Development] nesrodie:
re hack

this is unbelievable legend is running well and b4 i could not use it on my g1 it was crawling now its realty fast thanks a thousand times hay why don't you make a ROM that's if you haven't already great job man;)
[G1 Android Development] Firerat:
I have added a 'sketchy' walkthrough for Legend which can be adapted to any ROM

Post #3

I might tidy it up at some point, but hopefully its not too hard to follow
[G1 Android Development] dumfuq:
bart

I added a cache option to bart for you guys which tars anything on cache except for lost+found and recovery folders so you can actually backup/restore your roms easily.
[G1 Android Development] speedysilwady:
firerat, ima try to install vegas legend using your method on the first page later tonight, ill let you know how it goes.

and dumfuq, thank you! i think its in a thread you made in development right?
[G1 Android Development] dumfuq:
yup.

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

last couple pages of it there are repacked ra-1.6.2 images one for dream and one for sapphire-g as well.
[G1 Android Development] speedysilwady:
thank you!

and firerat i tried to follow everything exactly as you posted but after running the .txt you attached it couldnt locate install.sh =/
[G1 Android Development] speedysilwady:
even with the new script it still says cant open /dev/install.sh no such file or directory exists.
[G1 Android Development] Firerat:
does

/data/META-INF/com/google/android/update-script

exist?
[G1 Android Development] speedysilwady:
wait /data/META-INF?

im not sure i have the META-INF with the update script in the rezipped rom. but i dont know if it was moved to data using your script