yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] sparksco:
updates?

I noticed you haven't updated anything in awhile, is that because you need more people to fix your scripts again for you???

If you would like I would be more than happy to check it for errors
[G1 Android Development] Firerat:
lol

sparky , that is funny

we all know that you can't write scripts

if shell script writing involved sand, sand would be in your excrement as you would be eating it.

if you want to fix scripts, then fix your own joke scripts, I have given you some pointers
[G1 Android Development] d12unk13astard:
LOL Sparks i gotta say firerat did own you in your own thread, i still use your 1.6.2 rom cuz i find it your best b4 things started really going downhill. All i'm trying to say here is you should respect your elder here who has done a lot more for the g1 community then you have so far.
[G1 Android Development] Mikey:
Anymore comments want to be made against other users or mods.....I'm welcoming them :)

People should treat each member as they would like to be treated.........

Back to waiting for Gingerbread to drop onto my Nexus.
[G1 Android Development] kingjehu:
Tried both and it never worked. I have bootanimations in /sdext/bootanimations and in /sdext/bootanimation/bootanimation1, /2, etc.
[G1 Android Development] crazybrker:
What happened to firereat? I need some scriping help

specifically on CM7 on galaxy Tab.

i need a script to mount /mnt/emmc to /sdcard and mount /mnt/sdcard to /sdcard/external

this might be a nice one to add to the all in one.
[G1 Android Development] biglo:
I wonder if these scripts can be used on the mytouch slide. Anyone know?
[G1 Android Development] spichanator:
I used the FB patch on my G1 and it made things work great! I now am having problems with my MyTouch 4G using the CM 7.1 release. Any possibility that the patch may help this? When I turn on sync my contacts crash.
[G1 Android Development] Booker-T:
Suggestion of swap

I found that the swap partition is not clean even rebooted the phone.

I would like to clean the partition when the phone boot up.
[G1 Android Development] SG_Shadow:
[BUG] FB White Screens...

I just wanted to say thank you for you continue work on fixing various different bugs with this experimental build but I just wanted to let you know that my FB app keeps resetting when I use your script. For example, I try and post on someone walls and the app flashes full white screen and returns to there profile like I was never typing anything. Also, while looking through my wall or settings and other options, I periodically get the white screen. Is there a fix that I can implement for this?

Unrelated to your script. I noticed a bug with the "black list" inside call settings. When I plug a couple of numbers in there, reset phone, the numbers are all gone. Have you been made aware of this issue and are working to "patch" it as well?

I understand that nothing being done is a paid service, so I don't expect you to take time out your busy day to address issues like this, but it would be greatly appreciated. Thanks in advance.

[Update] Forget the issue with the phone settings. I just pushed cytown's latest modified phone and it seems to allow me to reboot without loosing whats stored in the black list. So the ONLY issue I have with Cyanogen's KILLER 2.1 is the flashing white screen FB app. Thanks when you get a chance...
[G1 Android Development] Remanifest:
As usual, very well done Firerat. Just installed test4 about 10 minutes ago. Too bad there were a bunch of lame asses in that thread, but I'm sure he'll keep releasing his work outside of here. Tougher skin is in order, methinks.

Anyway, after tracking down test4 (<10 seconds on Google) and installing Dr. Cloverdale's theme, I tried to run some of the built in scripts on the Cloverdale theme. When those failed, I decided to look and see what you'd provided for this ROM.

I ran your script with fixp, lwp, and swap. Rebooted, and now it's running flawlessly. Thanks for all the work you do for the users of these ROMs. You're the man. Also had a look at the scripting, and saw it's very cleanly written. Looks like you're an old Slackware guy.

Thanks again & all the best!
[G1 Android Development] tomofu:
Since the CM5 thread is no more, I thought I'd just let everyone here know that test5 is up on the n0rp chemlab site.
[G1 Android Development] philosophics:
Or you could just go to the CM forum...

http://www.forum.cyanogenmod.com/
[G1 Android Development] Firerat:
oh, I'll have to check

it should print a message that it has found it's already patched
[G1 Android Development] Firerat:
I've not been able to replicate this

If I have

watch adb shell free

running

I see that as soon as the swap is turned on it is "0" used
[G1 Android Development] Firerat:
I not having much luck today, I've not noticed the white screens myself

but I'm not a very heavy FB user

Anyone else having these issues?

anything show up in a logcat?

I'll try and have a good look at it later
[G1 Android Development] Jdom58:
Hey Firerat, I have cyans test4 running with the patch131 (all) and AWD v7 beta7 running extremely fast and smooth based on your exact SetCPU settings!! I have had no issues at all with this set up. This is running so nice I'm not sure I want to tamper with it and upgrade to Test5

For FB make sure you install it first from the market then apply the patch and reboot. You will see the option to sync at the bottom of the settings page.
[G1 Android Development] Firerat:
I've just this min flashed test5 over test4

( my nonedanger patched version )

I'm going to turn off swap and see how I get on

edit : no need to turn off swap

for some reason the

/sd-ext/userinit.d/* end up mod 644

chmod 700 /sd-ext/userinit.d/*

I'll maybe add some checks, and get file permissions fix via the patch file
[G1 Android Development] cheil:
Good Job!!!

can i get to (sr slide 6.2 beta)

i very like this rom

i want it very Faster
[G1 Android Development] Firerat:
this is not a rom

it just improves a few things, doesn't do anything for speed......

The slide port you have is not a real slide, its just another hero with some slide bits on top
[G1 Android Development] lamista72:
Heya FR, I have test 5 of Cyanogenmod , I was goofing around with live wallpaper, its seems to be running fine, except when the phone goes to sleep, when I wake it up it reverts back to the regular wallpaper..no FC or anything..just reverts. I think i understand that your patch helps this..and if so, does it work with the latest test 5? I have a MT3G..just to let ya know.

Thanks for all your help with this :D
[G1 Android Development] rsxtypes72:
Great Job!!

Thank for the script.
[G1 Android Development] jad011:
is this still even necessary, though cyanogen fixed this stuff in beta 5
[G1 Android Development] Firerat:
yes, it works fine with test 5
[G1 Android Development] Firerat:
yes, its still 'needed'

see above post ref lwp

facebook, the trout build.prop is still the same in test5 as it was in test1,2,3,4

swap, upto you, but without it I loose all my dolphin tabs if read an email

still no legacy sd mount point in test5

I could go on........
[G1 Android Development] jad011:
ohh ok thanks
[G1 Android Development] Klyentel:
Explain again what is the point of the legacy sd mount? What does it actually do?
[G1 Android Development] Firerat:
lets recovery mount the sd extension partition

but ra-1.7.0 now has a mount point in ramdisk, ( so doesn't need it to be on systems filesystem )

nb, if your upgrading ra-recovery

*dont* flash via cm5

kernel bug will kill it

flash via recovery console or fastboot
[G1 Android Development] Klyentel:
cool. Thanks, glad you told me.
[G1 Android Development] Blackman778g:
Ok I just need patch 132 correct?
[G1 Android Development] Firerat:
yeap,

1.3.2 is the current version
[G1 Android Development] Blackman778g:
Thanks.. Now on to flashing!
[G1 Android Development] lamista72:
I may get slammed for this...but thats ok...I downloaded FR patch, how is it flashed? do i zip it first then use recovery or fastboot? sorry for the very noob question :confused:
[G1 Android Development] mackster248:
It's on the first post. Just use terminal emulator once the patch file is ont he root of your SD.
[G1 Android Development] lamista72:
Yeah..I saw that, however FR just mentioned above not to do via CM5 kernel will mess it up..but to flash it via recovery or fastboot, unless I misread :confused:
[G1 Android Development] Firerat:
that was actually in reference to flashing the new recovery.img
[G1 Android Development] lamista72:
Thanks a ton, I am still learning the ins and outs of rooting, got the patch in. Awsome work FR :D, Live Wallpapers works nice, also seems to move a little better
[G1 Android Development] ccooluke:
question....

Um, so I downloaded the script, it's on my SDcard... ran the fixp.... but... my apps are still FCing on me...

Do I need to do something more? Is there something I'm missing?

I JUST bought an 8gb class 6 card for this reason, and now I can't use apps2sd?? suuupper lame, lol.

THanks in advance for your help!
[G1 Android Development] Firerat:
if your sig is current, the answer is in that

get rid of jit, it is for muppets who want to benchmark

jit will, give you a tiny gain in the real world

honestly get rid of it

if you don't have jit, no idea

may be you miss configured something else
[G1 Android Development] ccooluke:
Yes my sig is current. Okay. How do I go about getting rid of JIT? (meanwhile I'll search for how to undo.) Do I just nandroid/wipe/reflash the latest/restore nandroid? will that get rid of JIT?

Thank you for the quick reply and honest answer.
[G1 Android Development] ccooluke:
UPDATE: just disabled JIT... worked like a CHARM. thanks for the advice. I don't think i would have put two and two together, maybe eventually... lol
[G1 Android Development] lamista72:
Heya Fr, thanks for the patch, it fixed the bug were live wallpaper shutdown after pressing the end button. However I noticed a performance hit in the livewallpaper, the animations are much more choppy (I was comparing my wifes and my MT3G one pre patch..one after) I can only assume its the 3d software rendering command placed. I did notice the overall performance of everything is a little snappier, so overall like it, and the live wallpaer isnt a deal breaker for me. But wondering if this is the norm, and if making it revert back to harware 3d for that would be better or basically doing that will drop the whole phones overall performance.

Cheers! :D
[G1 Android Development] Boomgawd:
Help understanding dc2x

Firerat,

Can you explain the /data /cache and /sd-ext on dangerSPL?

I figure by applying your dc2x on a G1 with dangerSPL that I will be using the SD card for dalvik-cache.. I think I want this..

my reasoning:

since no more swap with cm5 (I use compcache and like it) I thought I should use the SD card more.. I keep the apps on internal mem so I thought by pushing dalvik-cache to SD I would spread out the IO usage and make a snappier phone..

Am I correct?
[G1 Android Development] Firerat:
yeah, , but it might still slow things down, depends on how good your sd card is

but if space on data is a problem its the only option ( besides uninstalling apps )
[G1 Android Development] Boomgawd:
ok....

Ok, so I understand that.. in your experience does it make more sence to leave all apps on /data and move dalvik-cache to /sd-ext

or

is the reverse better, place apps on /sd-ext and leave dalvik-cache on /cache & /data?

Just curious what you think..

my setup should be in my sig now.
[G1 Android Development] Firerat:
it depends on your sdcard, find whats best for you ;)
[G1 Android Development] j1mb34m:
Hi, Thanks for the patch, I just applied all the fixes to cm 5.7 t5--I have a 16GB c6, with a 96mb swap and 128 (or 256) ext3 partition. I have a few questions with the patch--I used Swapper before, and now it reads my swap size as being only 24 megs--is this the number dictated by your patch?

Also, in the OP are three *ed items in the patch, indicating those are required--is that true? I notice the patch performs 8 distinct functions, and I'm curious which of those actually apply to me. Specifically, I can run 'fix permissions' through the console and, like i said, can use Swapper to configure my 96mb swap partition, so how might I remove these two segments of the patch? Can I? Is it a good idea?

Sorry for my noobitude, but can you also clarify what the dc2x, remount, shabang, lsd and lwp commands do? I read several pages from this thread, but still can't gain a grasp of their basic purposes. I have dangerSPL...if that helps with the dc2x question.

Finally, as I'm now in the habit of re-partitioning, wiping, etc. several times a week, could you tell me which processes would ensure that any changes made by the script (which you so graciously provided, btw) would be erased? It seems that I *might* be able to remove them from the command line, but is there another way by which they might be removed?

Thanks a lot, I'm gonna try to find out how to create a signature, but I just figured out I can't, so if you would like additional info I will gladly post it here, thanks :)
[G1 Android Development] Firerat:
post number 2?
[G1 Android Development] j1mb34m:
Yes, my apologies, that's the description that I don't understand. I understand what fb, fixp and, to a lesser extent, what the swap commands do, and I think the lwp command does something to improve 3d performance, but have no idea what shabang, remount, lsd and dc2x commands do. As it relates to the swap command, it seems that it enables 24mb of my 96mb swap partition for wap, with a swapiness of 60.

Please don't get me wrong, I'm incredibly happy to be able to use the script as my knowledge about rooting and modding my phone increases, but I'm unclear what steps could be taken to undo the actions from the script. Also, on a completely unrelated note, if I re-flash DREAIMG.nbh through the bootloader, will it downgrade both my radio and DangerSPL? I know you can't downgrade the radio to 1.x with the danger SPL, but will re-flashing dreaimg.nbh successfully downgrade both?
[G1 Android Development] Reyland:
if you flash the dreamimg.nbh,yes,your phone will be downgrade to stock,including spl and radio!
[G1 Android Development] stellarman:
Patching an upgrade

Which, if any, of the patches will not survive an upgrade (e.g. from Test 4 to Test5)?

Do I need to re-run the patches I want after I upgrade?

Thanks for your help and for your work on the patches.
[G1 Android Development] j1mb34m:
Thanks for the info. Now that there seems to be a workaround for flashing danger spl (thanks to firerat), I might reflash my phone and start over.

Thanks dude :)
[G1 Android Development] rockstar9002:
Error Message: "sh: Can't open /sdcard/fr-patch132.txt"

i get the following error...what should i do?

"sh: Can't open /sdcard/fr-patch132.txt"
[G1 Android Development] rockstar9002:
"sh: Can't open /sdcard/fr-patch132.txt

nevermind i got it! thanx anyways
[G1 Android Development] Firerat:
I'm assuming you mounted the sdcard via usb ( to put the file on it )

in which case, unmount usb so it is available to your phone again
[G1 Android Development] sketoe:
Is there any way do undo this patch? Cause after I did it in the terminal. My phone's been really slow, freezing, & rebooting :\ & 3D games like speedx 3d lagg alot. I also wiped & reflashed. Still same issue..
[G1 Android Development] :
Firerat let me congratulate fella, this is a very nice and very effective set of scripts you have put into an easy to follow and simple to execute manner.

Greatly appreciated for your work on this. Thank you.
[G1 Android Development] Firerat:
if you run the patch again, with option

rev lwp ( or rev all )

that will undo the lwp bit (or 'rev all' will undo the bits that are related to 'performance' )

speedx 3d, I'll have to look at

I can only assume it doesn't have the WES ( write external storage ) permission, I can probably make it work ( ok, by proxy of brutt.all's apktool ;) )

if the rev option doesn't work

su
find /data/local /sd-ext -name 15GPU_perms -rm {} \;

that will delete the scripts , but if you did a full wipe, the ????? I can't think why

( and I can't think why it would be an issue in any case, perhaps its a slow sd card and swap is bad for you -assuming swap was included )

should work
[G1 Android Development] sketoe:
I have a 8gb class 6 sd card. I dont use swap but i partioned it lonng time ago 96 mb. Hm.. well it worked in the terminal now. rebooting. We'll see how it goes after. thanks alot thought!

(sorry I didn't fully read when it says in the beginning of the thread, how to reverse it)

*edit*

It worked! Thanks alot :] Everythings back to normal, going good speed. I'll try the patch later on. Maybe I might have done it wrong or somthing :\ But thank you though!
[G1 Android Development] SG_Shadow:
Did you get a chance to work on this? I'm trying out your patch with cm test5, hopefully it won't keep resetting and giving me those white screens. Also, how do I run the logcat report?
[G1 Android Development] stellarman:
... wondering...

Hmmm...

Did I not ask this clearly enough? Is this simply too much of a Noobish question for anyone to think it worthy of an answer? Has it been asked and answered a thousand times in this thread and I haven't seen the answer? Do I post too infrequently to this forum to be taken seriously?

Still hoping to get an answer...

Thanks.
[G1 Android Development] Remanifest:
I don't know the answer to the question you asked - particularly because some variables were excluded. Did you wipe before upgrade?

Generally speaking though, rerunning patches will not hurt - if the changes have already been implemented, running the patch will simply not have a result. If the changes have not been implemented, the changes will be committed to the system.
[G1 Android Development] stellarman:
Thank you.

Rick
[G1 Android Development] mejorguille:
Is this still needed for Test 6? I have been running it for the last few versions, but is it still neccessary? The option that interests me the most is the lwp fix.
[G1 Android Development] Firerat:
yes, and test 7

apparently swap will behave in test7, not flashed it yet, so I can't confirm

I've checked the fix_permissions, its still using the old /system/sd , so it will miss your apps on sd, so you should at least use the fixp option
[G1 Android Development] Foo_Blyat:
this pertains to my question, i have only taken your word and have kept using swap but why does cyanogen keep insisting swap is bad and compache is good when you have stated the exact oppisite in your opinion with supporting facts.

i personally have had 2 "overload" reboots with swap on when multi tasking but have noticed more benefits then disadvantages.

can you just help clear this up for all of us using your patch?

thank you for your work and time
[G1 Android Development] SG_Shadow:
...works great.

On the latest version of cyanogen, the fb sync appears to be working just fine. No software resets and/or white screens. Thanks again for your continued hard work!
[G1 Android Development] dskyers:
i know this is really noob but how do i apply this to my phone i read but dont understand
[G1 Android Development] Foo_Blyat:
im also on a mytouch3g. figured since i didnt get a respone id find out formyself so i went ahead and wiped then flashed test 7 and just used compcache in spareparts and everything has been working just the same if not slightly better then running this script to enable swap.

as for LWP, i DID have to run this script/fix for wallpapers to stay when going screen goes into sleep
[G1 Android Development] Firerat:
Firerat script installer Version 1.3.2
Options:
lwp	LWP fix *
lsd	create legacy sd mount point
swap	Auto setup swap *
shabang	Patch Android scripts to work with ash
remount	install remount scripts
fb	Patch for Facebook 1.2.x sync on G1
fixp	Patch fix_permissions with new sd mount point
dc2x	DangerSPL : dalvik-cache will be bound with sd-ext *
NoneDangerSPL : dalvik-cache will be bound with cache *
MT3G : does nothing

all	All of the above
* run-parts required ( autodetected )
--------------------------------------
rev <option> reverse the option (swap dc2x lwp )
--------------------------------------
example
[B]sh /sdcard/fr-patch132.txt[/B] swap lwp fixp
will setup swap, patch fix_permissions to see apps on sd
and setup the gpu permissions to enable lwp + 3d apps

basically get the txt file onto your /sdcard and 'run it' with sh

in terminal

su
sh /sdcard/fr-patch132.txt fixp lwp fb

would

patch the fix_permissions script to see the apps on your SD Ext Partition

install the workaround for Live Wallpapers miss behaving in Full3D Mode

patch the build.trout.prop file to make your phone 'look' a bit like a Magic ( the FB 1.2.1 Market version is 'broken' it doesn't see to know that its compatible with G1's )
[G1 Android Development] dskyers:
says cannot open ?sdcard/fr-patch132.txt
[G1 Android Development] Firerat:
did you mount sdcard to pc via usb and forget to unmount usb?
[G1 Android Development] Tawm:
Nice work! Thanks, worked like a charm! :)
[G1 Android Development] dskyers:
umm yea is there some where specfic i need to put it on memory card? let me tell you what i am doing

i download the 132.txt file

mount copy to sdcard unmount

and ran the command
[G1 Android Development] dskyers:
actully i got to it to work i think says changes will be appled next reboot so thats everything fix permission and lwp fix thanks for your help as well
[G1 Android Development] Taha24:
Thanks a lot for this patch! I only wanted the facebook fix and i'm too much of a noob to know what the other stuff does so I just ran the fb script. Restarted the phone and its working perfectly!

Other than the slowness (when compared to the N1, Incredible, etc..), I can't believe how happy I am again with a G1, lol.
[G1 Android Development] rudeguy:
just wanted to pop in and thank you Senior Rat. This has really helped out during the test phase and its working great on the stable version.

Thanks for helping us n00b idiots out. And for forgiving our lack of search skills :eek:
[G1 Android Development] Blackman778g:
Ok. I haven't been paying attention but, has anyone been able to get live wallpapers working on the CM 5.0.7 stable version?

I tried pushing the lwp.apk over but it just force closed.
[G1 Android Development] gper78:
Can't run script

I followed this exactly, but it tells me "permission denied". Have any ideas?:confused:
[G1 Android Development] juangil:
are you using fr-patch12.txt?

shouldn't be v132?

you can also do it using

adb shell

#sh sdcard/fr-patch132.txt all

or from recovery console:

mount -a

sh sdcard/fr-patch132.txt all
[G1 Android Development] jj71787:
i ran the patch for facebook but i dont see in settings a way to sync contacts with facebook on cyanogen 5.07
[G1 Android Development] coredalae:
reboot : )
[G1 Android Development] asb123:
does the LWP fix need to be reapllied after each reboot?
[G1 Android Development] jj71787:
ok i have the sync facebook contacts in settings now only thing is it shows my contacts old facebook photos
[G1 Android Development] Firerat:
all the patch does is trick the facebook app into thinking your phone is a Magic, any issues with it using and old cached images will probably be to how it works server side at Facebook
[G1 Android Development] Firerat:
you should only need it once per flash
[G1 Android Development] Firerat:
the 'stock' lwp don't work with cm5.0.7

lwp is being 'phased' out of cm5, basically due to them not working very well ( without the workaround in this patch )

for now lwp sourced from the market should work ( things like Nexus Mod )
[G1 Android Development] wilkins.cc:
can't open file

When I try to run this script, I get a message from the terminal that says can't open fr-patch123.txt. I'm using a G1 with SuperBad based on CM5.
[G1 Android Development] Firerat:
did you unmount usb after putting fr-patch123.txt on the sd via usb mount?
[G1 Android Development] wilkins.cc:
can't open file

Never mind. I got it!
[G1 Android Development] jad011:
how many of these patches are still useful after cyanogens release of the stable version