yashsingh1/xdaforums huggingface dataset:
[Motorola Milestone Android Development] petyo.tsanov:
Hey luca is this script in your OR ?

#!/system/bin/sh
sysctl -p
#
#Disable normalized sleeper
#
mount -t debugfs none /sys/kernel/debug
echo NO_NORMALIZED_SLEEPER > /sys/kernel/debug/sched_features
#
# Memory management
#
echo 2048 > /proc/sys/kernel/msgmni
echo 64000 > /proc/sys/kernel/msgmax
echo 268435456 > /proc/sys/kernel/shmmax
echo 500 512000 64 2048 > /proc/sys/kernel/sem
sysctl -w net.core.wmem_max=524288
sysctl -w net.core.rmem_max=524288
sysctl -w net.ipv4.tcp_tw_recycle=1
sysctl -w net.ipv4.tcp_rmem='6144 87380 524288'
sysctl -w net.ipv4.tcp_wmem='6144 87380 524288'
sysctl -w kernel.sched_latency_ns=600000
sysctl -w kernel.sched_min_granularity_ns=400000
sysctl -w kernel.sched_wakeup_granularity_ns=400000

Have you changed it ?
[Motorola Milestone Android Development] 89luca89:
yes now its another:

#!/system/bin/sh
sysctl -p
#
#Disable normalized sleeper
#
mount -t debugfs none /sys/kernel/debug
echo NO_NORMALIZED_SLEEPER > /sys/kernel/debug/sched_features
#
# Memory management
#
/system/xbin/echo 2048 > /proc/sys/kernel/msgmni
/system/xbin/echo 64000 > /proc/sys/kernel/msgmax
/system/xbin/echo 268435456 > /proc/sys/kernel/shmmax
/system/xbin/echo 500 512000 64 2048 > /proc/sys/kernel/sem
/system/xbin/sysctl -w kernel.sched_latency_ns=600000
/system/xbin/sysctl -w kernel.sched_min_granularity_ns=400000
/system/xbin/sysctl -w kernel.sched_wakeup_granularity_ns=400000
/system/xbin/sysctl -w kernel.sched_compat_yield=1
/system/xbin/sysctl -w kernel.sched_shares_ratelimit=256000
/system/xbin/sysctl -w kernel.sched_child_runs_first=0
/system/xbin/sysctl -w kernel.hung_task_timeout_secs=0
/system/xbin/sysctl -w kernel.threads-max=5000

Much more performance this way
[Motorola Milestone Android Development] Babis_ECE:
Hi everyone, great job with the Recovery, I am using the 2.1, first time I used any Recovery so I can install a Froyo ROM, the Cronos one. It is very easy to use, even for newbies in modding, like me. :rolleyes:

I wanted to know how I can update to the latest version. Just replace the update.zip and OpenRecovery folder in the mSD folder with the new ones?

Thank you for your time.

:)
[Motorola Milestone Android Development] kalagas:
Right. Delete old update.zip and OpenRecovery in /sdcard and then copy the new update.zip and new OpenRecovery folder.
[Motorola Milestone Android Development] Thomas_BA:
Well i have a little problem, using the latest OR.

1. Done a Full Nandroid Backup

2. Reboot

3. Done a Nandroid Restore of 1.

4. Reboot system

Result:

- reboot directly into your OT processing the update.zip without asking

- At last i managed to restore a old GOT backup with your OR

Running:

Motorola Milestone - Android 2.1 Update 1

Telus 3.11
[Motorola Milestone Android Development] 89luca89:
Can you explain better the problem?

I cannot understand :(
[Motorola Milestone Android Development] Thomas_BA:
:)

Let's try.

1. I have done a full Nandroid backup with your OR, works perfect. Rebbot into system.

2. After a while i tested to do a Nandroid restore using the backup done before, perfect so far. Than tried to reboot into the system, but it does not reboot into the system, your OR appears again. Better explained?

several people have the same problem as reported here. (spanish spokn forum)
[Motorola Milestone Android Development] 89luca89:
- please please please...when avnig problems, flag it on code page...or I cannot see all them...

- checked the forum, do not see all "several" people having it...and seen ONLY you having this problem xD

BTW all the people using it, had not problems with nandroid,, also because is the FIRST thing we test in a recovery...

Con you simply do some things to troubleshoot?

1-DOWNLOAD AGAIN the recovery, probably you have a corrupted download

2-Test with a proper NEW nandroid backup

now a question, if you did a nandroid backup with this recovery, how did you restore it with GOT if this is a new generation backup and GOT have old one?

Please try that troubleshooting, and report here.

@TO ALL

If there are problems and bugs, please report it HERE or in the official topic, or we will not be able to resolve some unknown iussues!!

Thx to all!
[Motorola Milestone Android Development] Azhad:
It's a know bug of the autoboot recovery mod of opensecovey 1.42, sometimes it happens, just reboot another time and the phone will start up

Sent from my Milestone
[Motorola Milestone Android Development] Azhad:
Ahem, I forgot that I released a bug fix somethimes yesterday night, version 1.32 is up

Sent from my Milestone
[Motorola Milestone Android Development] okorn_:
Thanxs for the update!

There is no "back" when "wipe ext2" :p if i press "yes" it does the wipe...but never goes back xd

but its okey...just pressed no :)
[Motorola Milestone Android Development] Azhad:
I've noticed it, but as you say the "no" goes back, so I just leaved as it is :)

Sent from my Milestone
[Motorola Milestone Android Development] okorn_:
:D nvn then :)

BTW...can i install app directly to /data/app or only to system/app?
[Motorola Milestone Android Development] Thomas_BA:
To:89luca89

Apologize only one more person had this problem :)

I made with your OR a Nandroid Restore from an old GOT backup i had. That worked. Ok i will download again and report further issues in the issue list.

Thanks
[Motorola Milestone Android Development] Azhad:
Sure you can, from the application management's recovery menu, apps placed (or copied in recovery by the application management) /sdcard/apps can be issued the command "copy to system" copy the app to /system/app, "copy to internal" copy the app to /data/app; if you used the "application management" to copy them in the recovery you could also restore in system or internal memory the app's data.

Sent from my Milestone
[Motorola Milestone Android Development] Azhad:
Uhmm, I don't understand your problem...

Sent from my Milestone
[Motorola Milestone Android Development] Thomas_BA:
I answered to a post of 89luca89 on page earlier. Everyting ok :)
[Motorola Milestone Android Development] okorn_:
Okey great, will try :)

Thank you.

Your OR works great. Just installed Eclair + overclock + tuning script :D + apps :D :D (but only to system xd).

Thank you Azhad.
[Motorola Milestone Android Development] terayder:
Yes, this OR simply works great. My stock 2.1 Eclair is now flying and a joy to use. Thanks Azhad! :)
[Motorola Milestone Android Development] Azhad:
The Eclair mods are more the work of 89Luca89, so tank him :)

But, anyway, I'm really happy you are enjoing this OR, it was hard work to code it right, expecially the Application Management menu, that I hope you are using :)

Sent from my Milestone
[Motorola Milestone Android Development] zgmf-x322a:
gooooooood job bro
[Motorola Milestone Android Development] okorn_:
Yes!! That automatic scripting is awesome
[Motorola Milestone Android Development] puffo81:
My best greetings, this OR is really outstanding!!!

Just a question, I'vre tried looking in your release but can't find.. =(

how to change scripts in order to customize the overclock parameters? Some stock parameters don't work with my Milestone and I would like to use my own!

Thanks!
[Motorola Milestone Android Development] Azhad:
The overclocks script are under /sdcard/OpenRecovery/mod/system/bin/boot_scripts

I think 89luca89 unified froyo and elcair overclocks script under that folder

Sent from my Milestone
[Motorola Milestone Android Development] 89luca89:
15/10/2010

Released Version 2.4 * *

Bug fixes

NEW Camcorder Resolution Menu by 89luca89

NEW OpenRecovery Themes

Changed 1.1 ghz 1ghz vsels and as many people HAD problems booting with Them

Updated WIKI

Now with CamCorder Menu you can choose whether to record 720/480, 720/400, 720/576, or even (PAL resolution) with the necessary modifications to audio / video quality and fps!

New:

Theme Azhad for recovery

FANTASY theme for recovery by 89luca89

Retouching VSEL to overclock

I hope you really like this recovery, we are trying to make the most copmplete possible, and make it an even more useful tool for our milestone!
[Motorola Milestone Android Development] ubutnux:
wow 720p with milestone? how about the fps?

EDIT: ah. i'm wrong. it's not 720p. my bad :p
[Motorola Milestone Android Development] 89luca89:
lolz meny does this error xD

But you gave me a curiosity, i'll search on NexusOne and see how they do that...

Did 720p done on Droid? Wuould be helpul cause if it was not done on Droid i's hard to see it on milestone
[Motorola Milestone Android Development] 89luca89:
-Now compatible also with Chronos!

15/10/2010

*Released Version 2.51*

-NEW- Based on new OpenRecovery 1.43 Thanks to Skirlax_CZ

-Redone the Froyo Modding Menu, all the Mods are Compatible with ANY Froyo Build now, so with CyanogenMOD,Chronos and MotoFrenzy

-Added Original OpenRecovery Themes (Now 5 themes are aviable!)

http://code.google.com/p/androidiani-openrecovery/downloads/list
[Motorola Milestone Android Development] okorn_:
Downloading! Thanxs!
[Motorola Milestone Android Development] 89luca89:
Coming,

version 3.0

Based on NEW OpenRecovery 1.44 stable

FULL SUPPORT TO GOT FROYO 2.2.1!!

Just give me a day or 2 XD
[Motorola Milestone Android Development] vagelisda:
any news yet?
[Motorola Milestone Android Development] Azhad:
I'm in bed with a terrible flue, but 89luca89 should release v.3 tomorrow

For the weekend hopefully I will be able to resease an update with the file manager I promised a while ago
[Motorola Milestone Android Development] okorn_:
Hope you get better Azhad!

Great work both of you!

v3 will rock :D
[Motorola Milestone Android Development] vagelisda:
I hope you get better soon man,thanks for the effort...

I dont like got or very much,to many menus and choices without any obvious reason.

So no biggy if we wait a bit...

Sent from my Milestone
[Motorola Milestone Android Development] Azhad:
Thanks :d

From what 89luca89 tell me, he implemented a new overclock menu with a totally user configurable overclock script, I hope that will not add too many obscure menus :D

P.S.

Version 3 use the openrecovery 1.45 as base, so it will add usb mass storage from recovery
[Motorola Milestone Android Development] razer54:
hi and first, thanks for this wonderful work :D

my phone was rooted/overclocked and he go on repair :(

so i got a full stock phone...

And i got a newbie question :)

did i must flash the vulnerable sbf (since i lost it in repair) for use this OR ? or can it work like anyway ?

thanks for any help
[Motorola Milestone Android Development] vagelisda:
You could flash any g.o.t rom,that would do the job...

Sent from my Milestone
[Motorola Milestone Android Development] razer54:
so i need to flash, thanks :)
[Motorola Milestone Android Development] md07:
i hope you post version 3.0 soon. Thanks!
[Motorola Milestone Android Development] Azhad:
I'm waiting like you: can't start implementing my part of the recovery till 89luca89 upload version 3 :D

But he told me it should go out today
[Motorola Milestone Android Development] 89luca89:
http://code.google.com/p/androidiani-openrecovery/downloads/list

26/10/2010 Released Version 3.0

-NEW Based on new OpenRecovery? 1.45 Thanks to Skirlax_CZ

-USB mass storage mode during recovery added

-FULLY COMPATIBLE WITH 2.2.1 FROYO

-NEW ANDROIDIANI THEME

-Froyo menu updated, with all scripts and libs updated
[Motorola Milestone Android Development] milestonefail:
overclocking on "stock" GOT 2.2.1 doesnt seem to work. or setcpu fails to recognize the change. or my phone sucks :)
[Motorola Milestone Android Development] Azhad:
Did you used any G.O.T. Openrecovery mod?

If so I think the two OR aren't compatible
[Motorola Milestone Android Development] gemini002:
can u tell me what vsel overclock is 900 mhz 60 vsel????tnxs
[Motorola Milestone Android Development] milestonefail:
i used a lot of GOT stuff lol. and i looked into it more, your scripts and their scripts for overclocking are a bit different. had to combine them and put into the boot_script folder with root explorer. couldnt get interactive govenor to work but i havent tried everything yet
[Motorola Milestone Android Development] Azhad:
Send me /system/bin/mot_boot_mode and /system/bin/mot_boot_mod1

And I will work out a solution

Sent from my Milestone
[Motorola Milestone Android Development] johnuopini:
I also started with GOT and the problem is that this openrecovery stores scripts under /system/etc/init.d instad of /system/bin/boot_something/, just create /system/etc/init.d folder with root explorer or via adb and then everything will work (you can then remove anything under /system/bin/boot_blabla).

For the modder, please check in the script that directory exists before copying stuff with something like:

if [ ! -d /system/etc/init.d ]; then mkdir -p /system/etc/init.d; fi

p.s. great recovery

p.p.s. i'm using 800/600/250/125 overclock with vsel at 50/46/30/22 and seems stable
[Motorola Milestone Android Development] Azhad:
So I just need to create the folder, stupid me, will post an update tomorrow :)

Sent from my Milestone
[Motorola Milestone Android Development] Azhad:
29/10/2010

Released Version 3.1

Downloads - androidiani-openrecovery - Project Hosting on Google Code

Stock 2.2.1 Market and Dns Bugfix Option

Dalvick VM Heap Memory Menu

Bugfixes in 2.2.1 stock mods
[Motorola Milestone Android Development] milestonefail:
made the folder, rebooted into recovery, applied Androidiani OR scripts (overclock, govenors, memhack), used GOT OR to remove their overclock and memhack, rebooted and the frequencies were stock (550/500/...etc). rebooted, reapplied the Androidiani ORscripts, rebooted and it kept rebooting after the bootanimation. so i just reverted back. when i have some time i'll reset everything and just use Androidiani OR.

do you still need these? i assume not since you already fixed the issue :)

thanks everyone
[Motorola Milestone Android Development] vagelisda:
Very nice recovery,it has everything one needs without beeing complicated.and it looks nice,too.

Thanks a lot luka and azhad for your work!

Sent from my Milestone
[Motorola Milestone Android Development] Azhad:
29/10/2010

Released Version 3.11

Downloads - androidiani-openrecovery - Project Hosting on Google Code

Keyboard Layout bugfix

Added "Remove G.O.T. Mods" in Froyo menu, to be executed if you have applied any mods from G.O.T. Openrecovery
[Motorola Milestone Android Development] Azhad:
Try "Remove G.O.T. Mods" in Androidiani OpenRecovery 3.11
[Motorola Milestone Android Development] berserker_b2k:
Hi there, first post here!

First of all, I would like to thank you for such a good job on OpenRecovery. I started using it a while ago and still using it today.

Yesterday I downloaded v3.0 and used it on my phone (which I reflashed) and had some problems, so I thought I could share them here with the solutions I came across for you to check it out. :)

First one was with overclocking, I see you now don't pass the address to the overclock.ko module, and in my case (strangely) autodetection doesn't work. So I edited the scripts and it worked. Also, I updated the overclock_milestone_21.ko module (you are using 1.2+ and there is a 1.4.4 already) and it works ok.

Then I used zipalign on entire system and it broke the market app (the updated one). I was reading about some possible solutions, but I think it would be best to exclude the com.android.vending.apk from the zipalign script. I thought of putting an if busybox [ $apk -ne "com.android.vending.apk" ] (don't know why are you using busybox in the middle) right after the "do" to exclude it from processing. I know the market app won't be zipaligned, but I can't make it work the other way.

So, congrats again and let me know if I can be of any help!
[Motorola Milestone Android Development] milestonefail:
tried it. removed GOT MODS, thin installed your memhack, govenors, and overclock. rebooted and kept rebooting partway through the boot animation. but its ok. i'll revert back to stock then just use androidiani OR

thanks a lot :)
[Motorola Milestone Android Development] berserker_b2k:
OK, so I finally decided to edit the script. As you can see, I used a function ZA and passed the paths I want to zipalign. I added the check for the vending apks and added the readonly mount at the end.

I haven't tried it yet, got to reflash my phone first. If you find any error, please, tell me!

#!/sbin/sh
echo "Automatic ZipAlign by 89luca89"
echo ""
echo "Starting Automatic ZipAlign $( date +"%m-%d-%Y %H:%M:%S" )"
echo ""

ZA () {
for apk in $1/*.apk ; do
if busybox [ $(busybox basename $apk) != "com.android.vending.apk" ]; then
if busybox [ $(busybox basename $apk) != "com.android.vending.updater.apk" ]; then
/sdcard/OpenRecovery/mod/zipalign/zipalign -c 4 $apk;
ZIPCHECK=$?;
if busybox [ $ZIPCHECK -eq 1 ]; then
echo ZipAligning $(busybox basename $apk)
/sdcard/OpenRecovery/mod/zipalign/zipalign -f 4 $apk /cache/$(busybox basename $apk);
if busybox [ -e /cache/$(busybox basename $apk) ]; then
busybox cp -f -p /cache/$(busybox basename $apk) $apk
busybox rm /cache/$(busybox basename $apk);
else
echo ZipAligning $(busybox basename $apk) Failed
fi;
else
echo ZipAlign already completed on $apk
fi;
fi;
fi;
done;
}

DIR=/data/app
ZA $DIR
DIR=/data/app-private
ZA $DIR

mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system

DIR=/system/app
ZA $DIR
DIR=/system/framework
ZA $DIR

sync

mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system

echo ""
echo "Automatic ZipAlign finished at $( date +"%m-%d-%Y %H:%M:%S" )"
echo ""
echo "Androidiani OpenRecovery by 89luca89 and Azhad"
[Motorola Milestone Android Development] berserker_b2k:
Also, you forgot to comment the line /system/bin/insmod /system/lib/modules/cpufreq_conservative.ko into 72_interactive.sh

I know it wouldn't do anything if you don't have the module installed...
[Motorola Milestone Android Development] berserker_b2k:
OK, so this is driving me nuts lol

There are so many repeated binaries and scripts all over the directory structure I don't know which ones you are using... now I'm trying to figure out the menu structure, so I can read the script there and locate the correct ones...

Is there any possibility to clean up the files/directories? If so, please tell me and I'll help :)
[Motorola Milestone Android Development] berserker_b2k:
Which firmware are you using? Please note that autodetection of the addresses wouldn't work for me, so I had to edit the script manually.
[Motorola Milestone Android Development] berserker_b2k:
OK, so battling with the directories, I came up with an idea.

I created a separate script that is the zipaligning process, and another one that passes to it the paths to process. So, it would be very easy to modify the "zipalign entire system/apks/data

zipfunc.sh

#!/sbin/sh

for apk in $1/*.apk ; do
if busybox [ $(busybox basename $apk) != "com.android.vending.apk" ]; then
if busybox [ $(busybox basename $apk) != "com.android.vending.updater.apk" ]; then
/sdcard/OpenRecovery/mod/zipalign/zipalign -c 4 $apk;
ZIPCHECK=$?;
if busybox [ $ZIPCHECK -eq 1 ]; then
echo ZipAligning $(busybox basename $apk)
/sdcard/OpenRecovery/mod/zipalign/zipalign -f 4 $apk /cache/$(busybox basename $apk);
if busybox [ -e /cache/$(busybox basename $apk) ]; then
busybox cp -f -p /cache/$(busybox basename $apk) $apk
busybox rm /cache/$(busybox basename $apk);
else
echo ZipAligning $(busybox basename $apk) Failed
fi;
else
echo ZipAlign already completed on $apk
fi;
fi;
fi;
done;

The one that calls the other

#!/sbin/sh

echo "Automatic ZipAlign by 89luca89"
echo ""
echo "Starting Automatic ZipAlign $( date +"%m-%d-%Y %H:%M:%S" )"
echo ""

DIR=/data/app
/sbin/sh zipfunc.sh $DIR
DIR=/data/app-private
/sbin/sh zipfunc.sh $DIR

mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system

DIR=/system/app
/sbin/sh zipfunc.sh $DIR
DIR=/system/framework
/sbin/sh zipfunc.sh $DIR

sync

mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system

echo ""
echo "Automatic ZipAlign finished at $( date +"%m-%d-%Y %H:%M:%S" )"
echo ""
echo "Androidiani OpenRecovery by 89luca89 and Azhad"
[Motorola Milestone Android Development] berserker_b2k:
Another one, using case so it is easier to exclude apks:

zipfunc.sh

#!/sbin/sh

for apk in $1/*.apk ; do
case $(busybox basename $apk)

"com.android.vending.apk") ;;
"com.android.vending.updater.apk") ;;
*)
/sdcard/OpenRecovery/mod/zipalign/zipalign -c 4 $apk;
ZIPCHECK=$?;
if busybox [ $ZIPCHECK -eq 1 ]; then
echo ZipAligning $(busybox basename $apk)
/sdcard/OpenRecovery/mod/zipalign/zipalign -f 4 $apk /cache/$(busybox basename $apk);
if busybox [ -e /cache/$(busybox basename $apk) ]; then
busybox cp -f -p /cache/$(busybox basename $apk) $apk
busybox rm /cache/$(busybox basename $apk);
else
echo ZipAligning $(busybox basename $apk) Failed
fi;
else
echo ZipAlign already completed on $apk
fi;;
esac;
done;
[Motorola Milestone Android Development] gemini002:
how do i unistall govenor:confused:
[Motorola Milestone Android Development] gemini002:
the govenor does not work properly and now my nfs shift wont work due to lo cpu from govenor i want to uninstall some help pls :mad:

solved my problem on set cpu I set to on demand 900-250 instead of 900-125 conservative which is to low for some games and sometime flash.....i can't change it to 900-250 in or overclock I pick it but on reboot it says 900-125 ?????also i noticed that when i pick any 900 when it is making the script it says 800 on all the other overclocks it show correct 1000 ,1100 ,800 etc
[Motorola Milestone Android Development] keunhuvac:
Im using eclairmod 0.3b, and have tried to install app2sd from OR3.0/eclair menu/

but after reboot, my MS stop at bootanimation screen!

Any1 can help?

Thanks!
[Motorola Milestone Android Development] Marac:
Thanks!

Just wanted to say thanks guys (Azhad & Luca)!

After some time finally I got qwertz layout working as you fixed the "change keyboard layout" bug in this (3.11) version of OR Androidiani.
[Motorola Milestone Android Development] pool7:
I somehow feel my question is kind of dumb, but still can't seem to find an answer:

I'm using Cronos Froyo 1.3.0, which is based on the old versions of Cyanogen. These ROMs are "fake" froyo, since the kernel is Eclair, but everything else has been recompiled from froyo sources (so kernel 2.1 + modules 2.2).

Considering this, am I supposed to use the options in the Eclair menu? Or in the Froyo menu?

Thanks.
[Motorola Milestone Android Development] 89luca89:
They are froyo, so the froyo menu!

Now the hybrid roms are not supported directly (with a specific menu like before) but you can use easly the mods from normal froyo, as the kernel is not important in this case
[Motorola Milestone Android Development] soifran2:
hi all !

congrats for all the job done, starting to love my milestone again :)

i've been trying the adblock option, but it doesn't block all adds in my gg reader for instance, and it seems to slow the system down while browsing...

how could i neatly remove it, in order to make a comparison ?
[Motorola Milestone Android Development] pool7:
Thank you! I'll go ahead and try the options in the Froyo menu.
[Motorola Milestone Android Development] ronnbon:
Does somebody know if this OpenRecovery works on the xt720.... pleeeease...;)
[Motorola Milestone Android Development] antonyfl:
Hmm. I am stuck at a bootloop on Eclair Running TELUS LITE V4.1 rom

I zipaligned everything and applied the kernel tweak for eclair. And now it constantly reboots the boot-animation and never turns on properly. Any help would be nice!

Edit: I have also tried wiping cache, no dice (and dalvik)
[Motorola Milestone Android Development] bandroid842:
flash sbf from MAC?

Hey all!

Can you flash this using Mac Os/X? Snow Leopard for example?

Thanks :)
[Motorola Milestone Android Development] orion11:
I am currently using 1.2 and just found out about 1.4.4, but im having the hardest time finding it. could you link me to where you got it?

i tried looking on code.google.com/milestone-overclock but the file that downloaded was an overclock.c not overclock.ko like im used to seeing.

anyway, if you could point me in the right direction :)