yashsingh1/xdaforums huggingface dataset:
[Milestone XT720 Android Development] gommers1978:
Install Singapore SBF

and only restore System and Logo nothing else, worked for me.....
[Milestone XT720 Android Development] hellmonger:
wont brick
[Milestone XT720 Android Development] hellmonger:
Data has some nice tweaks.. to bad :(

boot should not cause a problem... what the hell happened to my upload.

Korean stock 2.1

http://rapidshare.com/files/394674364/XT720-2.1-KOREAN.rar.html
[Milestone XT720 Android Development] Woody:
Got it to work over Wanhu's original ROM.

Overclock won't load module. Tried .2, .7 and .8

Ideas.
[Milestone XT720 Android Development] hellmonger:
mine works fine... I tried 1.4.2, will save changes on reboot, 1.4.3 - 1.4.8 will not but Module always loads

Thats what i mean by break things...

Well apps 2 sd-ext? maybe something got left over

delete sd-ext/dalvik-cache?

Im posting the stock Kor2.1.1

Adding Rapid share mirorr......
[Milestone XT720 Android Development] LibertyMonger:
badass!

From what I seen so far I'm lovin it. The theme is straight badass! Great job so far dudes its really freaking awesome its gonna be the best for sure!
[Milestone XT720 Android Development] Woody:
I love it too.

Overclock still won't load on boot but I can't flash Singapore SBF until I get home so that might be the problem. Wasn't that an issue on CBW 2.2 also?

Home screen takes a bit to redraw (ADWex) but that also might be from overclock issue too. Will have to see later on.

Great work guys. I really apprecicate all your knowledge and work on this.

Also you are to blame for my low, low, low productivity at work today. Hahaha
[Milestone XT720 Android Development] :
If you flash the fjfalcon updated nandroid, than you can restore data also. Worked fine here.
[Milestone XT720 Android Development] syrenz:
Just flashed fjfalcon's link from second page straight from Mio's ESB (2.1). Everything restored succesfully and it's all booted up just fine. Gonna play around with this and see how well it performs, but for now my first impressions:

1. The pre-boot animation of Calvin is very fitting. :p

2. The boot animation is very slick and nice looking.

3. The theme is pretty cool as well. I'm slightly worried the live wallpaper in notification bar will end up giving me a headache but it still looks cool.

4. Going to test out actual performance now.

Oh and Milestone OC loaded module just fine. I'll see if it stick on reboot once I reboot.
[Milestone XT720 Android Development] hellmonger:
I know huh, that matrix Bg looked like a good idea at the time LOL

just testing what this thing can do...
[Milestone XT720 Android Development] B_e_n:
Oh Men!!!!!!! :eek::eek::eek:

Thank you so much to all the people who work on this! (and also all the supporters like me :D )

I will try it right now!
[Milestone XT720 Android Development] Woody:
I got MSOC 1.4.8 using Mz's method of deleting overclock.ko and miletsoneoverclock_21.ko from /system/lib/modules.

Here is the thread link from CBW's 2.2 with the fix. Mioze's post is #187 and it has the exact names of the file to take out.

http://xdaforums.com/showthread.php?p=15273432&highlight=overclock.ko#post15273432

Works like a charm and saved OC settings on boot.
[Milestone XT720 Android Development] hellmonger:
Thats because you updated from CBw2.2......
[Milestone XT720 Android Development] B_e_n:
For the noob

RSD don t work with the fastboot bootloader (the bootloader from the power menu) you have to shutdown and go to bootloader (camera / vol down / and power button)
[Milestone XT720 Android Development] syrenz:
btw, why keep the random korean apps in this ROM?
[Milestone XT720 Android Development] try-and-error:
Oh guys, you are all just great. I would really like to try the new rom, but unfortunately my sd card is s mess...

Hope i will get the new one tomorrow.

Really looking forward to trying this ROM.

Maybe somebody could collect all download link one first side... Would be very great! ;-)
[Milestone XT720 Android Development] Woody:
Nah, I flashed Wanhu original and then put this one overtop of it. Will try SBFs when I get home, can't do them at work. All but that is working for me fine.

Quadrant is 1150 +/-

SD-ext is working fine

Home lags a bit even with OC but that can be tweaked here or there.

Deleted /system/app bloatware

Getting avg of 70-80mb RAM (might have to re-tweak Autokiller Memory Opt settings now that I have all this extra RAM)

If this ROM is stable and doesn't reboot on a whim, I can live with reloading MSOC whenever I boot it. Right now, it is a thing of beauty.
[Milestone XT720 Android Development] dj008:
Failure after restoring nandroid from korean sbf

Bootloop caused after restoring from korean sbf gonna try from wanhu's now.
[Milestone XT720 Android Development] hellmonger:
you got a bootloop after flashing the SBF?
[Milestone XT720 Android Development] B_e_n:
Me too...

I found another sbf file of the korean 2.1 and still the same...

I m gonna try another sbf
[Milestone XT720 Android Development] hellmonger:
So wont work with reboot hijack then....
[Milestone XT720 Android Development] Mioze7Ae:
No, I think that means is will work. ;) In all cases /system/bin/reboot is being called.

Normal reboot : you've shown it uses /system/bin/reboot

/system/xbin/boot_to_or : create /cache/.boot_to_or and then do normal reboot as above

/system/xbin/boot_to_bl : calls /system/bin/reboot bootloader
[Milestone XT720 Android Development] Mioze7Ae:
Oh, wait... the script needs to be improved. I think it needs to call

exec /system/bin/reboot.bin "$*"

but I'm not certain that's the right syntax for the android sh. This should pass the command line parameters given to reboot to reboot.bin.
[Milestone XT720 Android Development] LibertyMonger:
Ok I finally got something working. I am on Khals WanHu optimized with old market working.

Hey I noticed the XDA special beta 2 has new data files in it, could that whatever's in it be what caused the mess? Or something to do with data files.

Also one more thing, I keep trying to get that damn control background data unchecked and can't seem to get it no mateer what I try. I try sync but it isn't working. It's been so long since I fooled with that I forget the trick lol. Thanks guys sorry for causing another effin disturbance.
[Milestone XT720 Android Development] peshovec:
thats look logical.., but i'd prefer not to have so many wrappers. (it will be more and more difficult to track all of them, and will be difficult when switching from a build to build...).

it took very long time to me (and some luck) to discover that the sh hijack exists:)

For this reason i decide to avoid the script wrapper and to use the previous stated commands. it turns out that they did not work. have read something about bug about to many parameters ( actually i was using redirects too, so may be not so good idea )

so i decide to extend, instead of replacing:)

e.g.

on property:sys.reboot=1
stop ssmgrd
exec /system/bin/sleep 10
exec /system/xbin/busybox ash /cdrom/extro.sh
exec /system/bin/sleep 10
exec /system/xbin/busybox ash /cdrom/extu.sh
exec /system/bin/sleep 10
exec /system/bin/reboot

on property:sys.shutdown=1
stop ssmgrd
exec /system/bin/sleep 10
exec /system/xbin/busybox ash /cdrom/extro.sh
exec /system/bin/sleep 10
exec /system/xbin/busybox ash /cdrom/extu.sh
exec /system/bin/sleep 10
exec /system/bin/reboot -p

and in the scripts /cdrom/extro.sh and /cdrom/extu.sh are some sync sleep mount readonly and umount

still not tested if they works :)

the output is redirected to /cache/logs/ (i have created cache/logs directory, and another one is /cache/logs/persist, so the /cache/logs will not be flushed)

but, wrapping out the reboot binary will work for any reboot (anyway i still think it will be more appropriate to make the reboot bootloader for example, to call the umount script and then the reboot binary)

btw, has anyone played around with

/sys/power/sr_vdd1_autocomp
/sys/power/sr_vdd2_autocomp
/sys/power/voltage_off_while_idle

they have to be part from the omap power management features (fully exposed in 2.6.32 kernel, and just enabled in our 2.6.29)

echoing 1 to voltage_off_while_idle seems good to me (still have not enough time to compare the battery life through )

but enabling the omap auto voltage regulators (sr_vddX_autocomp), leads for me to freezing after while...
[Milestone XT720 Android Development] Mioze7Ae:
What about

on property:sys.reboot=1
stop ssmgrd
# Note: /system/bin/reboot is hijacked
exec /system/bin/reboot

on property:sys.shutdown=1
stop ssmgrd
# Note: /system/bin/reboot is hijacked
exec /system/bin/reboot -p

:p

Theoretically we could modify the OpenRecovery reboot source and rebuild it, but my preference is scripts over binaries. Scripts are easier to modify.

I guess we could just add /system/bin/reboot.sh or /system/bin/safe-reboot.sh and have that call /system/bin/reboot and then modify the init scripts and uglybox to use safe-reboot.sh instead of reboot? But what about market apps or whatever that just call reboot? My preference it to just hijack reboot because that seems likely to always work, but the other options may have strange corner cases... It seems the simplest approach to me and avoids duplicated code (like the six or so identical lines in your two init rules that you'll have to remember to keep in sync), but my mind may be warped. :D
[Milestone XT720 Android Development] Mioze7Ae:
Could this be more of a symptom than a cause? Suppose the sdcard goes haywire, it can't be unmounted and then the rest cascades from there? You don't happen to have a dmesg?...
[Milestone XT720 Android Development] peshovec:
is this file working as expected? /mnt/secure/staging/zedge/ringtones/Banana Phone Part 1_3.mp3

i had similar issues in the past (but was broken png)

take a look in the dmesg output for dma related to the card too

anyway..

service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
class zygote_services
socket zygote stream 666
onrestart write /sys/android_power/request_state wake
onrestart write /sys/power/state on
onrestart exec /system/xbin/busybox ash /cdrom/syscrashdump.sh
onrestart restart media

this one works as expected:)

but this ones:

# Moto safe power down
on property:sys.reboot=1
stop ssmgrd
exec /system/bin/sleep 10
exec /system/xbin/busybox ash /cdrom/extro.sh
exec /system/bin/sleep 10
exec /system/xbin/busybox ash /cdrom/extu.sh
exec /system/bin/sleep 10
exec /system/bin/reboot

on property:sys.shutdown=1
stop ssmgrd
exec /system/bin/sleep 10
exec /system/xbin/busybox ash /cdrom/extro.sh
exec /system/bin/sleep 10
exec /system/xbin/busybox ash /cdrom/extu.sh
exec /system/bin/sleep 10
exec /system/bin/reboot -p

dosen't work as expected (at least for me:)

for me, that means that the above reboot, shutdown are not executed after power button press, but may be after setting some properties...

so for the reboot the script wrapper (with the #Notes) is best :)
[Milestone XT720 Android Development] hellmonger:
ok i finaly figured it out, all the stuck on M issues ard due to the ****ty kerel first, second the dalvik-cache to ext

DONT MOVE DALVIK TO EXT!!!!!!

move to cash works...

leave in interneal for me

so just to bad but final will not support dalvik on ext due to kernel limitations

fastboot all the time and it works great with fj's fastboot boot5.img

Anyhoo i need

weather apk from cbw please

and a good android keyboard i know some one posted a really good one some where in this thread but i cant find/ too tired

i will compile and release final after

this is the one kids

it's crasy fast ands stable so many mods omfg
[Milestone XT720 Android Development] LibertyMonger:
Thanks man I know you worked hard on this and I am grateful you did. I know CM6 is supposed to be the one cause of speed and customization but I'm all about functionality, I like everything to work. But now we can have 2 or 3 good ROM's to play with. I will check around for the keyboard you need in case you don't have it yet. Thanks again dude glad you stuck with it bro!

Keyboard?

I found this Droid2 multi-touch so far but I don't think this is the one...still lookin
[Milestone XT720 Android Development] Woody:
I am still looking forward to this and am exicted for its final release. Good work Hellmonger. We all appreciate your efforts.

Is it going to be possible to flash it directly without going to the S'pore or Korean SBFs that were causing so many problems with confusion about 30 pages back. Doesn't matter to me, but would like it if this would maybe stave off the same questions as we were having back then.
[Milestone XT720 Android Development] oddo1907:
Gravity sensor isn't work on my device when i install korean rom+xda special
[Milestone XT720 Android Development] LibertyMonger:
Not supposed to use korean sbf, there are new instructions for beta2. The gentleman who brought us this ROM advised to use the Singapore sbf. A lot of people had problems with korean sbf in this thread.

***While on the topic of Singapore sbf, I never flashed it before Khal's WanHu when I first ran it. I did a fresh flash of the Singapore Sbf before Khal's this time and I am at about 12 hours after changing my battery and it is still showing 100%! never seen that before.

***EDIT***

Nevermind, it just dropped to 80%. Forgot about the 20% increments lmao. Oh well. Haha
[Milestone XT720 Android Development] hellmonger:
Finalising...

OK guys i got the Keybord i wanted, now i just need

WeatherWidget.apk from CBW or one of Kahls roms please...

anyone?

Neverminnd h got it :)
[Milestone XT720 Android Development] LibertyMonger:
Request?

So hey bud just wondering, if it's not too late to make a request? if so no biggy. I like how Khal removes the camera clicker sound? It just seems like an attention getter whenever you're at an event or something (or taking upskirt pics lmao) jk lol. If you prefer having the sound then it's cool I can do with or without. Thanks man
[Milestone XT720 Android Development] Woody:
I am pretty sure you can do that yourself. Go into /system/media/audio/ui and delete the camera_click.oog file or rename it to something else (like .goo) so you don't have to delete it. Obviously make backups before doing this though.
[Milestone XT720 Android Development] LibertyMonger:
Oh. lmao. I should have figured it would be easy lol. Thanks man that will be better that way so we can always put it back if wanted huh? Seems like it should just be an option. Patiently waiting for the Hellmonger Edition! :D
[Milestone XT720 Android Development] Woody:
No problem. I'm waiting and excited too. It will "never" be finished and someone will always want something else, can't please everyone all the time. It should really be something special once it is released. Haha get it , something "special". I slay myself.
[Milestone XT720 Android Development] LibertyMonger:
yep true, I know CM6 has some insane speed and faster than any other ROM, I tried it out for a bit til I had issues that needed resolved with my market but I am happy with the speed of WanHU it's fast enough for me, I just want everything to work and be stable. It's gonna be a treat to have 3-4 good ROM's to have nandroid backups of huh? But then again it seems once I have something stable for about a week I start to get the urge to flash something new just out of curiosity lol. I am satisfied but just used to flashing something new every week. So after this I guess it will start all over again with a new phone huh? But I think our ride with the complications of the XT720 is unique since Moto dropped support and stuck us with 2.1 and a locked bootloader. Hopefully we won't have to experience that again. I still don't know the real reason why they dropped it. Maybe because of the low RAM not living up to the requirements of our camera they bragged about?
[Milestone XT720 Android Development] Woody:
I agree. I just want something snappy and stable. CM6 is cool and all, but it is a long way from being an everyday ROM for me, not to mention all the market issues. Funny thing is that my wife has XT720 and is on 2.1 with app2sd script and hers more stable than mine is now.

Motorola is getting killed by Samsung, HTC and Nokia, so they probably dropped support on this (their camera flagship) and started trying to get back into the hardware game. Notice how Atrix and Xoom came out about the time that Motor shifted marketing from XT720, Click and the like? Too bad they dropped the ball on the software issue though.
[Milestone XT720 Android Development] Mioze7Ae:
Proposed recovery app for controling /sd-ext

I finally bit the bullet and wrote the OpenRecovery app I have been threatening to write.

What it does is provide a menu for users to select what they want the ext partition and a small utility for loging partition structures to sdcard. Attached is an update that adds files to /sdcard/OpenRecovery/app. After reboot then you access it via:

OR > Application Menu > Configure SD partitions

I've tested it in Androidiani and it should work in OpenRecovery (not tested yet). Screenshot attached.

Currently what it does is create or delete these files:

/system/etc/sdext/app2ext

/system/etc/sdext/link2sd

The init.d scripts can then just check whether these files exist.

The app also displays the partition table and provides a menu option to save the partition table to /sdcard/sdcard-info.txt which may be helpful for debugging on the forum. If you install the update it will put the files inside /sdcard/OpenRecovery/app. Or you can open the zip and do it yourself.

Of course to be useful, the init.d scripts need to actually check the /system/etc/sdext files.
[Milestone XT720 Android Development] LibertyMonger:
Man your one smart dude Mz... when or how do you get recognized as a developer? Thanks man looks real useful, especially for us lol
[Milestone XT720 Android Development] JiroPrinz8:
I checked out the application to be a recognized developer but i think MZ has to do the application himself, but still i sent a PM to the mod handling that about it.. no reply yet
[Milestone XT720 Android Development] Mioze7Ae:
I sent in an application back when they were threatening to de-list small or inactive forums under the theory that the activity of recognized developers within a forum might be a part of the calculus and I was worried we could go poof. The application says you should hear one way or the other so not to reapply, but I never heard anything. Anyway, it's not something I personally care much about. I'm fueled by purified and distilled hatred of Motorola and the challenge, not gamification.
[Milestone XT720 Android Development] LibertyMonger:
Well I'm glad you're a disgruntled XT720 owner lmao, You have developed a lot of progress for us and helping keep our phone and this forum alive it def. deserves to be recognized and I think after the last few weeks it will happen. Stay pissed off and disgruntled my friend! We're all rootin for ya and countin on ya! The way it's lookin, without you, and hellmongers help, we might be dying off or already dead. I'd probably be about ready to get a new phone but would have to wait another year and a half.
[Milestone XT720 Android Development] Mioze7Ae:
I don't think OpenRecovery/Androidiani Recovery wipe dalvik-cache works correctly. Currently it reads:

#!/sbin/bash

rm -Rf /data/dalvik-cache/*
echo "Succesfully wiped dalvik-cache."

Problems:

If you had /data/dalvik-cache symlinked to /sd-ext/dalvik-cache, you're out of luck because OpenRecovery mounts the ext partition to /sddata, not /sd-ext

If your ROM uses bind mounts instead of symbolic links (DarkTremor, ESB, CM6 and WanHu+Mz05 all do this), you're also out of luck because /data/dalvik-cache is an empty directory.

When moving dalvik-cache to /cache, darktremor uses /cache/dc

So, at the very least we have to change this to something like:

#!/sbin/bash

rm -Rf /data/dalvik-cache/*
rm -Rf /cache/dalvik-cache/*
rm -Rf /data/dc/*
rm -Rf /sddata/dalvik-cache/*
echo "Succesfully wiped dalvik-cache."
[Milestone XT720 Android Development] hellmonger:
Me too brother... me too :)

i was going to release RC1 but looks like i have more work now... thanks alot Mz ;)
[Milestone XT720 Android Development] LibertyMonger:
I guess I am gonna flash CM6 I am way too antsy. I know as soon as I do Hellmonger edition will pop up!

**EDIT**

Sorry I'm bein cocky I been drinkin lol. I am still patiently waiting for the HellMonger Special!
[Milestone XT720 Android Development] Mioze7Ae:
Working ext4

I think I've finally gotten ext4 working. We needed mbcache.ko. Here are freshly built modules. This is how you load it init.mapphone_umts.rc

insmod /system/lib/modules/crc16.ko
insmod /system/lib/modules/mbcache.ko
insmod /system/lib/modules/jbd2.ko
insmod /system/lib/modules/ext4.ko

Place this before the ext2/3 stuff (or also just comment out the ext2/3 stuff). With ext4 supported, we don't need ext2 or ext3 anymore. Adding -o barrier=1 when mounting /sd-ext is also supposed to help prevent corruption. Nadlabak/milaq use "-o noatime,nodiratime,barrier=1"

I've been testing this on the CM6.3.0, so I'm not sure if the busybox from there is needed, too (they use busybox mount).
[Milestone XT720 Android Development] Shadowdancer123:
So I got the special 2 working after some extra steps you forgot to mention :P

Clear all three, install xda1 and then the update, incl the app2ext script and I chose to use app2ext because Ive had a partition for that since ages.

And the result? Holy sh1t!

Everything runs so smoothly it's ridiculous, at this rate, who needs to upgrade the phone??

NFS shift runs 30fps+, angry birds now never crash or studder, and Robot unicorn runs so fast the bloody screen can't keep up!

Awesome work!
[Milestone XT720 Android Development] B_e_n:
Great improvement here!!! (I can t wait to test the ext4 speed)

Someone have an idea when the final will be release????
[Milestone XT720 Android Development] hellmonger:
WOW! no one was able to get this working......

Just wow

I should add to init.mapphone_umts.rc?

the mounting is done in init.rc no?

[ ] Apps2SD is launching...

__ _____

| \ |

| | |

|__/ | Darktremor Apps2SD 2.7.5.2-1 (2011-01-02)

[ ] GetProp Command = /system/bin/toolbox getprop

[ ] SetProp Command = /system/bin/toolbox setprop

[ ] Mount Point = /system/sd

[ ] Creating /cache/dc

[ ] Symlinking /cache/dalvik-cache to /data/dalvik-cache

[ ] Starting Apps2SD Check Program.

[ ] Checking for ext partition

[X] Ext partition found, but not mounted.

Your rom may not be setup to run Apps2SD.

Check with your rom developer if the boot image

is programmed to run Apps2SD.

Your partition may be using an EXT4 partition,

but your rom may not support EXT4. Repartition

your SD card to use EXT2 or EXT3.

When i connect to my PC the EXT4 partition is there....

Mount errors?

Busybox mount huh?..... just noticed that

# /system/xbin/busybox mount -o remount,rw /system/sdext -o noatime,nodiratime,barrier=1

/system/xbin/busybox mount -o remount,rw /system/sdext -o noatime,nodiratime,barrier=1

mount: can't find /system/sdext in /proc/mounts

#

FAIL

# mount

rootfs / rootfs ro 0 0

tmpfs /dev tmpfs rw,mode=755 0 0

devpts /dev/pts devpts rw,mode=600 0 0

proc /proc proc rw 0 0

sysfs /sys sysfs rw 0 0

/dev/block/mtdblock7 /system yaffs2 ro 0 0

/dev/block/mtdblock9 /data yaffs2 rw,nosuid,nodev 0 0

/dev/block/mtdblock8 /cache yaffs2 rw,nosuid,nodev 0 0

tmpfs /dev tmpfs rw,mode=755 0 0

devpts /dev/pts devpts rw,mode=600 0 0

none /acct cgroup rw,cpuacct 0 0

tmpfs /mnt/asec tmpfs rw,mode=755,gid=1000 0 0

/dev/block/mtdblock6 /cdrom yaffs2 rw 0 0

tmpfs /tmp tmpfs rw,size=2048k 0 0

/dev/block/mtdblock0 /pds yaffs2 rw,nosuid,nodev 0 0

/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

tmpfs /mnt/sdcard/.android_secure tmpfs ro,size=0k,mode=000 0 0

#

missing something here
[Milestone XT720 Android Development] S7icky:
Is this faster then the cyogenmod?