yashsingh1/xdaforums huggingface dataset:
[Motorola Milestone Android Development] zeppelinrox:
No you're not wrong... but gscript puts out an error with a capital R for some reason but it works fine with the small "r"

I've been trying to get this to work but it isn't working tho.

If the update.zip was already installed, it would work but the problem is that it's not installed yet.

I think that after update.zip is run, it gets installed to cache which would explain why I have to re-do "install open recovery at boot" whenever I wipe the cache
[Motorola Milestone Android Development] sdtaddey:
Ok, thanks for replaying.

I could not get it working either :/

That's why i thought it could be that. But you know what did i do?.... i installed the mod from AOR, then i went to /system/etc/init.d and i pick the 60_autoboot and i renamed it with sh extension ;@.... then i moved to /sdcard/openrecovery/scripts and run it from AOR. So... Do you know if that's gonna last if I wipe dalvik / cache?

SENT FROM MY MILESTONE POWERED BY GINGERBREAD
[Motorola Milestone Android Development] zeppelinrox:
If you look at that autoboot script, there is the command

mount -o bind /cache/recovery_stock /cache/recovery

When you run update.zip, it installs to cache/recovery

As long as the files are there, OR can run automatically.

When wiping cache, those files disappear.

I'm having the problem now that "install open recover at boot" won't even stick.

everytime I look in the cache/recovery it's empty.

What do you have in that folder?
[Motorola Milestone Android Development] sdtaddey:
Where?, in /cache/recovery/ ??? NOTHING! !! Its empty as well!!

Arrrrg. Is there any possibilities to make it permanent?

SENT FROM MY MILESTONE POWERED BY GINGERBREAD
[Motorola Milestone Android Development] zeppelinrox:
AutoBoot AOR

OK I got a new handy dandy fix!

I actually got this to work :D

While in Androidiani OpenRecovery, I mounted USB and loaded up QtADB

In /cache/recovery I found the magic file - this tiny text file simply named "command"

1. You need AOR prepared on your sd card and vulnerability patched, of course

2. Rooted Phone. You can use Universal Androot (not in market ?)

3. GScript Lite

4. Busybox Installer - Have it install the

latest

BusyBox (v1.19).

5. Be able to run boot scripts from the /system/etc/init.d folder. Stock ROMs need to go here to enable this.

6. Extract the attached zip file into the root of your sdcard. The files should then be inside the folder /sdcard/gscript

7. Run GScript Lite, Press menu > Add script > Load file button

8. Select "Install Androidiani OpenRecovery at Boot.sh"

9. Leave "Needs SU?" checked and press the Save button

10. Run the script and reboot!

11. AOR will load automatically when you hold down the X button!

12. Bonus: Make a new script in GScript Lite with SU permission and simply put "reboot recovery" in the box and save.

.............. Run this and you won't even need to press ANY keys to load AOR :D

Enjoy! :D
[Motorola Milestone Android Development] evenelia:
Im so in love with you right now.
[Motorola Milestone Android Development] sdtaddey:
Nice one, @zeppelinrox!!!!!!

SENT FROM MY MILESTONE POWERED BY GINGERBREAD
[Motorola Milestone Android Development] zeppelinrox:
A/S/L? ;)
[Motorola Milestone Android Development] hearts king101:
ME TOO ;)

Great Work, zeppelinrox

;):D:):cool:;)
[Motorola Milestone Android Development] zeppelinrox:
heh... well these are the best thank you's EVER! :D

I've actually made it better...

Yeah... after wiping caches, I found a way to create a new "command" file when the phone boots.

Then next time you want to load AOR, it will still be installed at boot without even re-running the gscript ;)

It's related to the gscript I made that enables the init.d boot scripts on stock roms (the same file is modified) so maybe I'll combine both fixes into one.

Edit: Oh WOW... If you make a script in GScript Lite with simply "reboot recovery" (no quotes), AOR will load up without pressing a single button :D

...... That's pretty freaking :cool:
[Motorola Milestone Android Development] sdtaddey:
Yeah!, that's what I was typing in TE everytime I wanted to get into recovery.

Type su

Type reboot recovery

But i could never (even the script was applied) get into AOR!

SENT FROM MY MILESTONE POWERED BY GINGERBREAD
[Motorola Milestone Android Development] zeppelinrox:
Ah Ok.. but you were able to load it with volume up+camera, right?
[Motorola Milestone Android Development] sdtaddey:
)

Yep,which is really annoying, that's why I wanted it permanently.

So... you know ... i did your guide,but it just worked the first time!!!, now everytime I wanted to run your script from Gscript ... it says that cannot found dir in cache/recovery, so... what's wrong?

SENT FROM MY MILESTONE POWERED BY GINGERBREAD
[Motorola Milestone Android Development] zeppelinrox:
Dunno.

I've been messin with the files on my phone when tweaking it some more (to make it permanent).

Let me clean this stuff up and get the files directly from my own post lol and test it out
[Motorola Milestone Android Development] sdtaddey:
Sure!

Take your time.

And thanks a lot zeppelinrox! :)

SENT FROM MY MILESTONE POWERED BY GINGERBREAD
[Motorola Milestone Android Development] zeppelinrox:
ok.

What's the error exactly?

Maybe you can post a screen shot
[Motorola Milestone Android Development] zeppelinrox:
Ok I got it figured out.

You only get the error if AOR is already set to autoload on boot.

I tried to fix the with if/then commands but I still get errors - it sees the recovery folder so it tries do write to it but is unable to.

Then I even tried to just remove the cache/recovery folder and recreate it but I get the error that the resource is in use.

Then I wondered whether this "in use" business was using up memory but it doesn't seem to. Android process used the same amount of memory with and without autoloading AOR.

Maybe I can find a way to just suppress those error messages but there is nothing to worry about. If AOR isn't set to autostart on boot it runs perfectly fine without error and if it is already set to autostart, the setting can't be "enabled" if it's already enabled, if you know what I mean :p

OK here's the fix. In the script change this line:

cp -fr /sdcard/gscript/command /cache/recovery/command

Just add " 2>/dev/null" to the end of it.

So it will now read:

cp -fr /sdcard/gscript/command /cache/recovery/command 2>/dev/null

Or you can re-download the zip. I just updated it :)
[Motorola Milestone Android Development] rcummings100:
zeppelinrox, you're awesome!! Your solution worked perfectly for me

just in case someone's collecting stats on what worked for me exactly:

- Telus Milestone running new 2.2.1 update, unlocked and on Rogers

- rooted with superoneclick

- flashed SBF VR manually

- tried to get AOR installed, but the phone kept reloading the original recovery menu

- followed zeppelinrox's instructions above and now AOR loads perfectly every time

:D:D
[Motorola Milestone Android Development] evenelia:
Same for me, except the 2.2.1 update thing...
[Motorola Milestone Android Development] rcummings100:
Help!

Need some help here. I selected the overclock in AOR to 650mhz, and that's what the phone runs at now according to system monitoring apps. But the phone is considerably SLOWER than before. It takes forever to turn on now - literally looking at the M moto screen for a full minute, and the flashing android word for 3 minutes. Once in the OS it takes yet another 3 minutes for the phone to become usable, and apps launch much more slowly. I'm using launcher pro and the app drawer is so jerky it's unreal.

I'm on a milestone with the stock telus 2.1.1 rom. Phone is rooted with wu drone lick, vr manually flashed, and AOR installed properly thanks to zeppelin.

So my question is: how I go back to default? Or how do I fix this?

Was the problem i'm on a stock rom?
[Motorola Milestone Android Development] zeppelinrox:
If you wiped caches or something, it will take longer than usual.

Does it boot slowly everytime though?

Also, if you don't have alot of free internal memory, things get clogged up too

I say try 900mhz ;)
[Motorola Milestone Android Development] rcummings100:
Yes, it's booting slowly every single time. And the device is slow as can be to use too. Or rather, WAS until an hour ago...

In recovery I selected UNDERCLOCK to 550mhz, which seemed to be the default settings. Except now the governor doesn't work, and my device is locked at 550mhz, where before it would alternate between 550mhz and 250mhz as needed. So the temperature seems pretty high as the device is warm to the touch.

But the thing is screaming fast now compared to before. And i somehow went from 27MB free space to 89MB free space.

So I'm guessing it cleared some sort of cache somehow? If someone can explain that one to me I'd be incredibly grateful

I'm extremely pleased at the new speed and new free space. But I'm worried about the temperature and the battery life.

I'm still surprised there's no default setting in the AOR overclock menu.
[Motorola Milestone Android Development] zeppelinrox:
It doesn't sound like you're comparing apples to apples though.

Did you touch AOR's memory management settings?

I ask because it will free up a whole lot of ram but it kills everything, even the on screen keyboard.

I ended up making the supercharge thread after finding out that the AOR feature is broken and then learned about managing minfrees.
[Motorola Milestone Android Development] rcummings100:
First, sorry if I wasn't clear. I mean i have all this extra free STORAGE space on my phone. To install Apps into.

next...

I followed your supercharge thread previously and applied the bulletproof + supercharge balanced 1 profile. My device's speed didn't change but my homescreen, launcher pro, didn't reload constantly. I didn't expect a change in speed though because I was already using the Telus 2.2.1 scrip (official, since I'm on an unlocked Telus Milestone).

So my next experiment was to try using overclocking in AOR. I wanted to go conservatively so I did the lowest overclock there was.

It's THEN that this problem started - the extremely slow bootup time, extremely slow and unresponsive OS. It happened every time, literally a dozen reboots over the space of a couple of hours, and me trying to research it online. That's when I asked my question for help above.

In my travels I've come across the fact that motorola underclocks the milestone. It's a 600mhz processor that they make run at 550mhz. And in the past I've run SetCPU, which let me see the processor go from 550mhz when needed to 250mhz at idle.

I recognized those settings in AOR as the very first option in the overclocking screen - the underclock option. So i set it to that.

That's when my phone restarted and everything is blazing fast, and I have all this free memory.

I did NOT clear my cache, i did NOT play with any other settings in AOR except overclock. I DID run your (zepelinerox) supercharge(balanced)+bulletproof script PREVIOUS to ever attempting to overclock.

I've run your checkstatus supercharge script, and the balanced 1 settings are in fact loaded, as is the launcher bulletproof setting.

I am monitoring the CPU speed using an app called Perfect System Monitor, which spits out in real time different system stats as a widget.

I installed SetCPU again to see if that could change the CPU speed on the fly and no matter what I set it to, the CPU remains locked at 550mhz.

What I suspect is actually happening (sorry, thinking as I type) is your bulletproof script has made it so my launcher is always active, which essentially turns off the governor that switches the cpu speed on the fly. What do you think Zeppelin?

But it still doesn't explain all this extra free storage space I suddenly have. Or why there's no default setting for your CPU in the AOR overclock menu

Sorry for the long message and rambling
[Motorola Milestone Android Development] zeppelinrox:
The launcher's activity will remain the same as it always has.

The only difference is that android can't kill it so you don't get launcher redraws.

By default, they launcher gets killed pretty often and then has to reload.

I guess in way it may improve battery life if android doesn't have to keep reloading the launcher.

What's the status of the clock speed then?

It's locked in at 550mhz and that's it?

I'm not all too familiar with setcpu to be honest.

I use cpu tuner.

Maybe you can double check if you are still rooted. It's happend to me that I lost root and when I would try to move the slider and change the speed in cpu tuner it would just go back to where it was.
[Motorola Milestone Android Development] rcummings100:
Correct, it just simply stays at 550Mhz, and doesn't budge. That's without SetCPU or any overclocking/underclocking tools installed.

With SetCPU installed I should be able to modify what the maximum and minimum speed is. I can move the sliders, but the actual speed doesn't change.

Checking for root...

OK, I have Root

but something else is very very very strange now. Titanium backup loads and reports I have root, but i have the PRO license installed, only it now reports I'm only running the free version.

Too many issues...I'm going to restore a nandroid backup I took last night.
[Motorola Milestone Android Development] rcummings100:
Restored my nandroid to before I did the overclock, and now my CPU is back to switching again.

The massive free storage space is gone though, and the device is back to being pretty slow. I really wish I knew where the free space came from...I wasn't missing any apps. It's like it magically appeared, and I want THAT back.

All I can say is thank god for nandroid, and by extension AOR for making it possible.
[Motorola Milestone Android Development] jiddahidda:
Baseband

This is a long shot, but I was wondering if there is a way to export the baseband from a phone, or from a nandroid backup. I want to apply custom ROM's, but use my carriers proper baseband. I can do phone calls and txts, but get no 3g data access with the basebands supplied by Androidiani. The Brasil baseband is meant to be the one to use here in New Zealand but it's not working.
[Motorola Milestone Android Development] :
Your baseband files stored in the system directory. Check the snapshot for the exact directory. If you have a nandroid backup you can extract it from the system image using unyaffs.

You can also try to enter your apn manually if you know the values.
[Motorola Milestone Android Development] jaikat:
smartass governor??!!

hello Azhad..

thank you for the great recovery.. it really makes the difference.

i'm using stock 2.2.1 on my milestone. after i overclocked the phone i successfully added the interactive cpu governor through the recovery...

i would like to ask if it would be possible to add an option to use the "Smartass" governor.. from my small experience with android phone i found this to be most suitable..

i tried to edit and replace files for the conservative governor(which i don't use) in the openrecovery folder, but the phone wouldn't boot at all... so i had to revert to "interactive"..

i really hope you can find the time to add the smartass governor as another option in this great recovery...

thanks..
[Motorola Milestone Android Development] saurabhsaggi:
Hello Friends,

I am a total beginner when it comes to Installing ROMS & add to that my Volume up rocker of Indian Milestone is not working. I have GOT 2.2.1 through SBF installed on Milestone.

As suggested by @Sileshn I have the Andriodiani OR & CM7 put into the respective folders of SD card. Using GScript i ran the script to install Androidiani OR at Boot, but to my dismay when i keep the X Key pressed when Milestone starts, it goes into the recovery screen for a moment & then the package Installation screen appears for a moment but then the device restarts without doing any installation. Can you please help?
[Motorola Milestone Android Development] loveslow:
The screen pops up on The Triangle and then re im always, press the camera + volume is not see blue menu. I have installed QuickBoot and then select reboot into openrecovery , flash back of the GOT 2.2.1, flash vulnerable_recovery_only, tried down openrecovery and copy the memory card as still not being on. Uncle does know how to fix a school would only

sorry for my english

[YOUTUBE]ukzMPcI2Css[/YOUTUBE]​
[Motorola Milestone Android Development] elpelas:
I had the same problem and it was a motherboard problem
[Motorola Milestone Android Development] zeppelinrox:
Try my script to auto load AOR without pressing any buttons.

Click the handy dandy fixes link in my signature to find it
[Motorola Milestone Android Development] Ray_jai:
If i'm coming from an old Open recover, do i need to delete the Open recovery folder?
[Motorola Milestone Android Development] AddiB:
Short answer: Yes!
[Motorola Milestone Android Development] zeppelinrox:
If you use that as is, your browser will gag/choke...

I figured that out awhile ago and it's in my handy dandy fixes thread...

Anyway, I attached the fixed hosts file here
[Motorola Milestone Android Development] zeppelinrox:
Probably had to do with the Adfree app that used to use that IP.
[Motorola Milestone Android Development] Ray_jai:
I think i updated it properly, but it still says 1.46?
[Motorola Milestone Android Development] Richardprins:
Restoring clock speed

This may be a stupid question, but how do you restore the original clock speed/voltage after having undervolted with the open recovery? Is there an option in the open recovery or can I just use regular software like SetCPU?

Thanks for your help
[Motorola Milestone Android Development] fsoly:
Thank you very very much..

can i use it on Samsung Galaxy S 2...?

if not..where can i find like this recovery mode for Samsung Galaxy S 2..?

thanks
[Motorola Milestone Android Development] daria55:
http://xdaforums.com/showthread.php?t=1125282

it was not that hard to find that page.....next time you can try yourself....
[Motorola Milestone Android Development] DummyPLUG:
those overclock come with undervolt, so you may hang when boot.

really suggest to provide normal vsel setting in future.
[Motorola Milestone Android Development] milestonefail:
resolution hack works with stock eclair? i tried it a couple times and didnt notice a difference. maybe im just blind
[Motorola Milestone Android Development] mousiope:
!

how do i apply the kernel tuning script from this open recovery ?

i´ve read the wiki page and didn´t find anything about this
[Motorola Milestone Android Development] Azhad:
Before using pixel density mod, install busybox in /system/xbin from the busybox menu.

I will solve this issue in a next release.

Sent from my Milestone
[Motorola Milestone Android Development] Azhad:
The mod is in the Utility menu, alas the wiki needs updating :)

Sent from my Milestone
[Motorola Milestone Android Development] IFLPI:
Is this recovery working fine with any eclair? Or which is preffered cause I heard bout some M logo stuck problems after some mods. Anybody can confirm that?? What can cause problems beside oc & undervolting and which one 2.36 or 2.38 FW is preffered. Or is it just for custom nandroid backups like fastlight or eclairmod roms?

edit: I think the problem can be in 2.36 official FW only, or i dont know really. Few ppl at polish forums had stuck M logo problem, generally on 2.36.

Sent from my Milestone
[Motorola Milestone Android Development] 89luca89:
I developed the elcair part, and I can say you that it is fully compatible with ANY 2.1 ROM;

I tested it on my EclairMOD, and on basic 2.38 so this should work on ANY rom!
[Motorola Milestone Android Development] IFLPI:
http://code.google.com/p/androidiani-openrecovery/issues/detail?id=6 could u verify that info, i didnt have that problem yet, but few ppl had the stuck M logo after aplying script on 2.36 official.

I thing that recovery is an enormous piece of work and terrific modding tool for our roms, so Big Thanks for u2.
[Motorola Milestone Android Development] Azhad:
Released Version 2.12

Fixed Eclair's mot_boot_mode bug (i.e. "The stuck M logo of death" )
[Motorola Milestone Android Development] colin_ktp:
It works better - no freeze on M logo.

I've tried Memhack and it's ok, but JIT caused a lot of FC's after boot - but I don't know if it's supposed to work on stock 2.36 software.
[Motorola Milestone Android Development] Try4Ce:
Man, thanks for this fantastic OR. Using it from the beginning and I am really happy that this is one OR wich gets regular maintenance and updates.

Keep it up!
[Motorola Milestone Android Development] Quintasan:
Hiho, dunno if it is me or something wrong with this mod but, well.

I have copied the files over to my SDCard. Rebooted into recovery and applied Cyanogen update. Rebooted to copy the Google Apps update, rebooted to recovery once again, applied update.zip. Here is what I got:

Verifying update package...
Installing update...
cannot find update_binary
<LOGO HERE>
Installing busybox...
Installing bash...
Installing coolbox
<Launching Recovery Box>
Install from sdcard complete

And I'm back in the DEFAULT recovery, any ideas?
[Motorola Milestone Android Development] Azhad:
Released Version 2.3

"Application Management" update:

Added copy apps directly from system to internal memory

Added "Update all" and "Update" option in Recovery menu

Added apps data copying to and from Recovery

Fixed bug when copying data of apps named with -n.apk
[Motorola Milestone Android Development] Azhad:
Thanks, I was just tired of having G.O.T. openrecovery installed with all the options unusable when on a froyo rom :D

I'm puzzled, try to delete /sdcard/update.zip and /sdcard/OpenRecovery, then download v.2.3 and unpack it in the sdcard
[Motorola Milestone Android Development] Quintasan:
Well, I did that, and it sort of auto-magically fixed itself :)
[Motorola Milestone Android Development] Azhad:
The eclair part is a bit messed up, but 89luca89 is working on it, my brain is still hurting for the scripting I had to do for version 2.3

I'm going on a cruise next monday for a week, so I will not be aroud very much, but I think I will spend some time working on a new project:

As "application management" and all the work behind the curtains (all the mod menus are autogenerated by a script parsing the content of a folder, where the files are the voice of the menu, and also the script themself, and the subfolder are the submenus), it was all a workbench for:

A full fledget file manager for OpenRecovery, with multiselect, copy, move, paste, rename, delete, also recursively on folders, changing of permissions, and a bunch of other thing.

Maybe I will be able to put in also vim editor for scripting on the go :)

Sent from my Milestone
[Motorola Milestone Android Development] okorn_:
Azhad, one (i guess stupid!) question.

Y want to install ASTRO via OR...if i copy it to

OpenRecovery\apps

is it okey? or must i do sth more? thanxs!
[Motorola Milestone Android Development] Azhad:
yep, just copy the apk to /sdcard/OpenRecovery/apps then go in Application Manager -> Recovery select astro and then copy it to system or internal memory, as you wish.
[Motorola Milestone Android Development] okorn_:
Thank you so much :)
[Motorola Milestone Android Development] okorn_:
:D :D :D
[Motorola Milestone Android Development] 89luca89:
http://code.google.com/p/androidiani-openrecovery/

8/10/2010

*Released Version 2.31*

Fixed bug when installing busybox in /bin

Fixed bug in app2sd menu

Fixed bug in app2sd script

Updated KERNEL tuning script

Added FIRST dark theme (not the official one) just to anyone wants black feel

And also UPDATED WIKI of course

:D :D