yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Firerat:
good question..

seeing as you are mt3g you don't have to worry about changing the SPL.

You should be using the DangerSPL Versions, but I would be very interested in the size of your cache partition.

please post the result of the df command in terminal

eg mine looks like this

/system/csys: 69120K total, 29368K used, 39752K available (block size 4096)

nb thats running my patched CE12 ROM

I'm only looking for

/cache XXXXXK total
[G1 Android Development] vortec87:
When im trying to flash the Danger legend i keep getting the error

E:Cant't symlink /system/usr

E:Failure at line 54:

symlink csys/system/usr SYSTEM:usr

ive tried DL'ing several times and wiping the SD card on my come and re-partitioning, any suggestions will be helpful.
[G1 Android Development] Firerat:
:(

my fault

I'll Pull the links for now, and get a fix up asap

EDIT:

ok, its just that one line, it needs to be removed from the update script

I have attached a fix, unzip it into the ROM, replacing update-script

Zip Rom and sign

I will upload both patch and full ROMS
[G1 Android Development] Sik-1:
neither 1 of full legend roms u posted are able to download?????
[G1 Android Development] Firerat:
sorry, I'm uploading the fixes now

the patch version is already up, unzip the standard ROM

then unzip the pacth it into the standard rom, replacing all files

Rezip and sign
[G1 Android Development] Sik-1:
so unzip the patch into the same folder as the rom??? and re-zip???
[G1 Android Development] bitblt:
Thanks for compiling all of this useful information into one place. The Cannon202 Complete Eclair ROM and the KiNgxKxKlair DroidEris2G1 ROM are perfect candidates for your Cache 'Hack'. Good stuff!
[G1 Android Development] lehuukha:
So since i have a stock MyTouch I believe, should I downoad the nodanger or danger Vega full rom?
[G1 Android Development] vortec87:
thanks man! really awesome job on this! i will let you know how this works once i get set up to sign roms
[G1 Android Development] enemeone:
are the fixes for the legend danger spl full rom up yet?
[G1 Android Development] Firerat:
NoDanger

the problem I have had with Danger is the Cache is too small

NoDanger is based on /system and /cache at 67 each ( 134 Total )

this will easily fit your /system at 90mb and /cache at 80 ( 160 Total )

Danger is /system 90 /cache 30 ( 120 Total )

but its just a little awkward getting things to fit well
[G1 Android Development] bitblt:
I hope you don't mind my new sig. ;)
[G1 Android Development] jcarrz1:
on legend (did the patch myself to king's), Danger SPL, update-script says:

E: can''t symlink /cache/system/xbin/reformine
E: Failure at line 181:
symlink busybox CACHE:system/xbin/reformine

Installation aborted.
[G1 Android Development] Shaquiel Harris:
Why would you copy his sig..
[G1 Android Development] Firerat:
yeap, should be up now

Patch has been up for ages

I kinda regret 'giving' in and putting up the full ROMS ;)

I'm hoping that they work now

If they don't, then I'll risk Flashing Danger so I can trouble shoot and move the files around in recovery
[G1 Android Development] Firerat:
Grr, ok , I flash Danger
[G1 Android Development] acejoker25000:
ok i did the patch for kings as well but i also added wg kernal and the edits done by vega and it flashed completely. i was having the exact same problems but once i did this it worked for some reason. if no one minds i can upload that version for u to check and c if u can get it to flash as well.

btw i have danger spl as well
[G1 Android Development] Firerat:
let me guess, the apps are on SD
[G1 Android Development] jcarrz1:
Thanks. Btw, King's Eris rom nor your modified one work on my g1... stuck at logcat saying

gcc freed ... bytes

On g1 screen... top alternates between two of them. Any advice? Same with King's Legend port...
[G1 Android Development] Firerat:
Guys, I'll sort the legend port out,

I'm not going to upload it till I have the damn thing on my G1 with Danger SPL

if you want to see what can be done with Cache Hack check the Eris 1.1.2 in the second post, that works with Danger, None Danger and MT3Gs
[G1 Android Development] vortec87:
did you include his most recent patch from post #73?
[G1 Android Development] acejoker25000:
it is just now booting up but if i used your patch along with the other add ons then apps shouldnt be on the sd rt now correct?
[G1 Android Development] Firerat:
odd

when I see gcc I think of 'GNU Not Unix c compiler'

I trust logcat works with other ROMS
[G1 Android Development] bitblt:
Why not? There is good info in there. No offense but it seems much better than your sig. :p
[G1 Android Development] jcarrz1:
oh yes. Actually, I see that output often on almost every rom I try... seems normal, just spitting that out randomly, but frequently, every so often.

On the roms I listed, it just spits out once and sits there on g1 screen.

Maybe I have the acronym wrong...
[G1 Android Development] Firerat:
its a new problem

I should have flashed Danger and tested myself, it would have been a lot quicker :)
[G1 Android Development] Firerat:
try recompiling/downloding android tools, maybe your adb is bugged
[G1 Android Development] theronw68:
I flashed the non danger vega legend port and it is missing a few things:

1. Some of the HTC widgets ie Clock

2. The option to sync contacts under FaceBook

Hopefully these are some things you are going to fix. Not a huge deal but they are things I like to have.

Awesome work. If it wasn't for your patches some of these rom's would just be so-so. Thanks for all your hard work.
[G1 Android Development] Firerat:
at the moment I'm not into 'cooking' ROMs, these are intended to get people to sit up a look.

With these Patches I have just used the Standard ROM, and changed where the files are put, I'm not looking at the little quirks in the apps

I will get this DangerLegend going , but in all honesty the NoneDangerSPL has a 14mb advantage over the DangerSPL now,

Don't be surprised if support for DangerSPL disappears in future ROMS when this is adopted
[G1 Android Development] jcarrz1:
ima just flash stock spl... where is the link?
[G1 Android Development] Firerat:
lol, I have just flashed Danger

link to SPLs is in my sig ( click the spl version number )
[G1 Android Development] jcarrz1:
thanks. it's ok to just flash that with amon_ra and newest radio (that you have) right? nuttin speshul?
[G1 Android Development] Firerat:
when I flashed Eng the other day thats what I did

I don't like flashing SPLs tho :(

the G1 seemed to take ForEver
[G1 Android Development] chim4ira312:
Firerat:

I'm pretty sure I understood most of what you posted, but it really is overwhelming

- in theory, what does the Cache Hack do for the ROMs? Increase in speed? Better a2sd for only MT3Gers? I'm having trouble understanding that.
[G1 Android Development] Firerat:
it makes use of the Cache Partition, so yo can have larger ROMS

so more can be put on the system memory,

the system memory is faster than SD, so it will be faster

if you look at the Eris, originally all the apps were going to SD

But Since I got us an extra 30mb for Danger , and 67 for None danger ( I'll total up in a bit ) I can get all of the system apps on the system memory

Not only that, but I also freed up a large chunk off data, so as long as you don't have too many user apps, you can keep dalvik-cache on data, again improving performance

if you install My cache Patched Eris you will see it is the fastest Eris Port

if you install my NoneDanger Legend, you will see it outperforms the Standard

When I eventually get this damn Danger Legend going, you will see its Faster

totals

Danger

System = 90mb

cache = 30mb

Total = 120mb data = 89mb

NoneDanger

System = 67mb

cache = 67mb

Total = 134mb data = 67mb

MT3G

system = 90mb

cache = 80mb

total = 170mb data = 295mb

some roundings going on, but you get the picture
[G1 Android Development] chim4ira312:
WOW firerat that is impressive.

Is it in this order or "performance"?

MT3G > NonDangerSPL > Danger SPL?

or

MT3G > DangerSPL > NonDangerSPL?

should i revert to a NonDangerSPL because of your cache hack? will that improve performance more than it is? Or am I better off staying on DangerSPL?

btw i just flashed the droid eris port with your cache hack - OUTSTANDING - the effects of the cache hack really show.

man i remember when you came out with the 3D patch for OE 1.2 i was mad impressed, but now you've really outdone yourself. Much much props to you man. Do you have a donation link in your sig? I'll check as soon as i submit this post LOL.
[G1 Android Development] Firerat:
imo NoneDanger has the advantage now, with an Extra 14mb on the system side, but danger still has that 14mb , but its on Data instead

But I think having the extra 14mb on system is better than data, since we can stick stuff on SD if we really need to

anyway, I'm just flashing the none dangerLegend now,,

Like a proper muppet I was putting lib on cache, the same way as I did with NoneDanger, but lib is like 51 mb !! which is why it failed

anyway, just tweaking it a little now, then I'll boot it
[G1 Android Development] chim4ira312:
nice imma try out the DangerLegend when you release it keep me posted on how it goes - im interested. i'll be happy to test it first as soon as you release it.

should i switch to a nondangerspl? is it risky? :P, i was successful in flashing the dangerspl, i dont wanna take a risk again :(
[G1 Android Development] huhaifan1:
Help!!

sorry! I can't understand your meaning very well! so i want to ask a question about the easy one!

My G1 has the danger SPL now, if I want to get another 30mb room as you said, do i have to flash the FR-KingErisP-112-No_D_SPL_S.zip!? or not! (I know it's signed No_D_SPL, but I can't find any one with D_SPL!:(, hehe sorry for my poor english to understand! but i like your idea!;) )
[G1 Android Development] chim4ira312:
Yes FR-KingErisP-112-No_D_SPL_S.zip is compatible with both DangerSPL and NonDangerSPL, just flash it like a regular rom, it doesnt need to say D_SPL!

EDIT - Firerat! How come KingsDroidEris 1.1.2 doesn't have any HTC widgets :(
[G1 Android Development] Firerat:
idk, King probably couldn't get them to fit

its King's ROM, I just moved stuff about a bit
[G1 Android Development] huhaifan1:
Thanks a lot !:p

so if I want to realize the extra "30mb" on other roms, I have to own the patches for them? :rolleyes:

how can i get an easy way?
[G1 Android Development] chim4ira312:
Hows DangerLegend coming along?

:P im so impatient, you think you'll release today?

what about the DangerLegend you already posted? those dont work? im confussedd :(
[G1 Android Development] chim4ira312:
yahh basically, Firerat just prepatched these roms : OE1.2, KingsDroidEris, and i think he's still working on Vega's Legend and King's Legend.
[G1 Android Development] huhaifan1:
:confused: Dont work?
[G1 Android Development] huhaifan1:
I have flashed the FR-KingErisP-112-CacheHack_S.zip, it's very nice! very fast! but the room in the internal phone is only 17.8MB! :eek: and the widgets couldn't use!:(

I'll try the CE12-No_D_SPL-White_S.zip now!:D
[G1 Android Development] Firerat:
I have them working,

Uploading them now

its going to be about an hour

but, I stick the patch here

Same as before, unzip this into the MAIN ROM,

replacing the update-script

then zip up, and sign

I've unset the auto-dalvick on this, so you don't need to reboot

just give it 10-15 min, its a little laggy at first but gets better

works for both Kings 1.0, and Vegas 0.3

Edit: removed attachment, patch and Full ROMS available on Post #3
[G1 Android Development] speedysilwady:
hey firerat, the widgets were present and working on eris in one of the earlier builds you sent to me for testing (except footprints) but they've disappeared in the one you posted here.. then again maybe its an eris problem...idk
[G1 Android Development] Firerat:
:confused:

the Eris is basically the one I sent you,

I'll check it later

Just trying Kings 1.1 Legend now, my update is smaller than his :)
[G1 Android Development] speedysilwady:
i *think* it was the very first one you sent me, where i had to manually move framework to cache (before you created csys) i remember using the weather widget with the clock.

you already ported 1.1 legend? o.O;
[G1 Android Development] Firerat:
yeap, wasn't difficult

I just edited the init.rc

and removed the duplicate boot.img
[G1 Android Development] speedysilwady:
awesome! does the 1.1 legend have the htc widgets?

i posted in his thread hoping he'd see this thread and be the first outta the big devs to implement this..
[G1 Android Development] Firerat:
nah, very little in it tbh

./system
./system/lib
./system/lib/hw
./system/lib/hw/lights.msm7k.so
./system/lib/modules
./system/lib/modules/wlan.ko
./system/lib/modules/ramzswap.ko
./system/lib/libgps.so
./system/lib/libhgl.so
./system/bin
./system/bin/user.conf
./system/bin/performancekernel
./system/bin/full3dkernel
./data
./data/system-framework
./data/system-framework/com.htc.resources.apk
./data/system-framework/framework-res.apk
./data/kernels
./data/kernels/full3d.img
./data/kernels/performance.img
[G1 Android Development] Firerat:
maybe its all a little too complicated,

wait until people figure it out
[G1 Android Development] speedysilwady:
yeah, this thread's already gotten a lot of views, replies, and fans, so im sure itll catch on eventually. Im glad to have been able to test this concept out for you, bro, lol but i had to revert to super d because the volume on eris 1.2 is extremely low, probably due to my radio -_-;
[G1 Android Development] Firerat:
hmm, I might fix the kernel switching script for you all

#!/system/bin/sh
#
# A simple script by me to swap kernels - kingklick
# Check me out at www.thedroidsector.com

# Get system as read or write
rwsystem;

# Move the kernel over
cp -f /data/kernels/full3d.img /sdcard/boot.img;

# Flash the kernel
flash_image boot /sdcard/boot.img;

# Get system back to read-only
rosystem;

# Reboot your device
reboot

#!/system/bin/sh
#
# A simple script by me to swap kernels - kingklick
# Made faster by Firerat
# Check me out at www.thedroidsector.com

# Flash the kernel
flash_image boot /data/kernels/full3d.img;

# Reboot your device
shutdown -r now
[G1 Android Development] Firerat:
Wireless doesn't work, so no point including the kernels

I'll try the 3d one

but tbh , you should just push the frameworks and libs ( excluding wlan.ko )
[G1 Android Development] Firerat:
I honestly don't understand why king is copying the kernel from data to sd and then flashing it,

and I have no idea why he is making system rw

:confused:

anyway,

I'm not going to upload it, no point
[G1 Android Development] speedysilwady:
i think he'll upload a fix for the wifi soon.

btw, i finally got his attention in the legend thread he says this cache hack is def something to consider!
[G1 Android Development] Sik-1:
I just noticed that in super d's latest and on superEclair by @tmel are both actually using this in there roms, so it definitely works on both donut and eclair.
[G1 Android Development] Firerat:
good :)

my work here is done :D
[G1 Android Development] huhaifan1:
Would you attach the patches of legend 1.1 ?

:D
[G1 Android Development] Firerat:
it doesn't really do much

but , I'll post the wifi fixed one

let me download and check it
[G1 Android Development] huhaifan1:
The DroidEris you have modified is very good, very fast ! but, you know, the widgets couldn't use ! so I expect your action with the legend very much!;)
[G1 Android Development] Firerat:
yeah, I think I know why the widgets don't work

not exporting the right bootclasspath

I'm playing with it at the moment, to see if I can script it so I can forget about it in the future
[G1 Android Development] huhaifan1:
:D waiting for your good news!
[G1 Android Development] Firerat:
OK , the 1.1.1

fixed the ramdisks up with CacheHack, widgets might even work with this

also included some gscripts, hopefully they will end up on the SD card

tbh I haven't tested this,

and don't worry about it being smaller, I've just removed the duplicate boot.img

and fixed the update-script to flash one of the 'switchable' kernels, the default was the performance ( which I think is a ramhack kernel )

switch to kings 3d, either using his scripts, or the gscript ones I have dumped on your sdcard

Doh, max 8 meg on a zip :)

FR-KingLegend-111CacheHack_S.zip

by now I hope you have barcode installed !!
[G1 Android Development] huhaifan1:
OK！ ill flash it now!:p
[G1 Android Development] huhaifan1:
sorry, but after flashing the FR-KingLegend-111CacheHack_S.zip, there are many "loading" as i back to the home screen, and the time lag is longer from one screen to another.:confused:
[G1 Android Development] Firerat:
that probably due to the 'performance' kernel

try switching to the 3d one

I let you all into a little secret , you all have readline support :)

on terminal, type

ful

then tab ( ball then q )

it should complete the command for you

if not do a second tab for options...

mind you , I don't think terminal runs well on this rom, FCs :(

so download gscript from the market

Open it up, press menu --> add script

make sure the su bit is ticked, tap load file

Select the 3D script, and then save.

Now tap that script, it will flash kings 3d kernel, and reboot
[G1 Android Development] huhaifan1:
Ok, ill have a try now, but could i ask a easy question? which apk in the rom is the terminal...... i can't find the apk, may be i delete it before signing the rom....:p
[G1 Android Development] Firerat:
actually, its in the patch, but I didn't push it, it just FCs so no point
[G1 Android Development] huhaifan1:
Oh My God:o
[G1 Android Development] martin730:
....

(2) FR-Vega-Legend-CachePatchDangerSPLOnly_S.zip-HTC Sense all widgets... clock,contacts, email works :)
[G1 Android Development] Firerat:
yeap, and the real exciting thing is , it works on NoneDanger
[G1 Android Development] martin730:
...

but I have haykuro SPL
[G1 Android Development] stevetigersix:
Wierd when I do a full wipe ext repair and install of that exact rom zip I'm missing contacts and the flip weather clock, I've tried reformat and repartition of SD card and follow up with a full wipe etc and get the same, any ideas?
[G1 Android Development] Firerat:
yeap, me to , for now at least

I will be going back to Eng soon, only flashed haykuro to get dangerLegend working
[G1 Android Development] chim4ira312:
should i flash (2) FR-King-Legend10-CachePatchDangerSPLOnly_S.zip

then

flash FR-KingLegend-111CacheHack_S.zip

no wipe?
[G1 Android Development] Firerat:
play with 1.0 for a bit, then flash the 1.1.1 ( no wipe )

so you get a feel for the difference
[G1 Android Development] martin730:
...

hm..? how to check the size of system, cache ?
[G1 Android Development] Firerat:
df -h

in term

or

adb shell df -h

from pc ( with adb working )
[G1 Android Development] chim4ira312:
is it just me or does kings1.0legend have no widgets either..lmao
[G1 Android Development] martin730:
hm

Filesystem Size Used Available Use% Mounted on

tmpfs 47.9M 0 47.9M 0% /dev

tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals

/dev/block/mtdblock3 90.0M 89.1M 940.0K 99% /system

/dev/block/mtdblock4 30.0M 27.0M 3.0M 90% /system/csys

/dev/block/mtdblock5 89.8M 33.4M 56.3M 37% /data

/dev/block/mtdblock5 89.8M 33.4M 56.3M 37% /cache

/dev/block/mmcblk0p2 457.4M 68.2M 364.8M 16% /system/sd

/dev/block/mmcblk0p2 457.4M 68.2M 364.8M 16% /data/dalvik-cache

/dev/block//vold/179:1

3.2G 1.1G 2.0G 36% /sdcard

whether these results are proof that the script works?

some illegible :(
[G1 Android Development] chim4ira312:
tried installing gscript from market on kings111dangerspl of yours and i got an error

insufficient space to install the app

:O
[G1 Android Development] Firerat:
see that post above yours?

can you do that?

adb shell df

and how many apps do you have?
[G1 Android Development] Firerat:
don't worry , I can read it :)

a very rough guess , I would say you could fit, maybe 80 apps, mb or 2 each

....very rough guess
[G1 Android Development] stevetigersix:
help please

hi firerat i have come from the setup in my sig and tried to install your (2) FR-Vega-Legend-CachePatchDangerSPLOnly_S.zip it goes fine signs into google etc np set it all up great, however i cant find the flip style clock with the weather built in nor do i have a contacts/person bit in the menu, when i press the phone onscreen it launches the phone app but if i press on the contact card of the person to call a different number for the contact it fc's any ideas?
[G1 Android Development] Firerat:
tbh , all I have done is shift the files around

besides a few scripts I have not added or taken anything away

and it doesn't really matter which one you use, King's or vega's

if you md5sum them you will find little difference between them

Now, I haven't actually installed a NoneCacheHacked one,

So I'll install one a little later ( before I flash a NoneDangerSPL again ) , and see if the 'base rom' has the same problems

if it does, then its the base....

if not I'll figure out why and fix it :)

Oh, and people were asking about widgets on the Eris earlier, I think they were part of QuickOffice
[G1 Android Development] crisp82:
Hi Firerat.

I have installed a fresh copy of King's DroidEris ROM, restated, wiped, and then your .112 cachehack version over the top. When rebooting though, I get stuck on the (IPL I think) screen with the Vodafone logo. I have a Magic 32B.

Any Ideas?

Edit: My SPL is 1.33.0007 (SAPP10000)
[G1 Android Development] diz127:
Hey Firerat,

Im trying to flash the full legend rom with patch that you posted on my non danger mytouch and i keep getting

E:Failure at line 22:

copy_dir PACKAGE :data DATA

Installation aborted

What am I doing wrong?

Thanks
[G1 Android Development] martin730:
....

ok

flash [WIP-ROM] vega Legend port BETA V0.3

reboot now

I set applications

power off

recovery

wipe 3x (First 3 items)

flash (2) FR-Vega-Legend-CachePatchDangerSPLOnly_S.zip

after starting the system asked if he wants to backup -yes

after flash rom HTC Sense and widgets does not work

I did so:1. menu, settings, applications, manage applications, HTC Sense,delete data

2. menu,settings, applications, running services, all stop , left only "Touch Input"

restarted the phone screen HTC

the system automatically load widgets and HTC Sense

hm..? I do not know why it happened but it all works :)

do not speak English.:( Sorry. but I think I wrote in an understandable measure? :)

g1, swap 160, ext4 ,dangerSPL

Firerat Thank you for your work and help
[G1 Android Development] Firerat:
I don't suppose you have adb setup?

the output of

adb logcat

would help me a great deal
[G1 Android Development] Firerat:
you appear to be missing /system/framework, which , if I remember correctly was a link to /data/system-framework

if you boot to recovery and do

adb shell mount -a
adb shell df
adb shell ls -la /data/
adb shell ls -la /system/

that will tell us what files are missing

if

adb shell ls -la /data/

returns nothing, the it looks like it was wiped

try flashing again, but this time don't wipe at any point

if it does have something in it, I would like to know if there are folders or links

also the time stamps will be useful to me, as it will give me some idea of how long it took to get to the stage it got to.
[G1 Android Development] stevetigersix:
love the vega legend rom patched only issue i now have is my contacts/people doesnt actually show up in the app tray and get a fc on launching it through the green dial button
[G1 Android Development] Firerat:
yeap,

I put the standard on earlier , and that was ok, had all the bits

so , at the moment I'm a little confused :)

and, when I saw the clock , I think I remember the NoneDanger having it,

so I've lost something somewhere, although I do want to go back to NoneDanger I don't want to flash it to confirm , to flash danger again to test fix

but having flashed the standard I see that this is so much faster, so I'm keen to fix it.

shouldn't take too long