yashsingh1/xdaforums huggingface dataset:
[Milestone XT720 General] Dexter_nlb:
XT720 progress report

This post will now be updated during my progress, so you might need to mark this if you wish to continue to follow the updates.. I might also reply with changes, but updates will be posted in this specific post for now.

29-01-2011

step 1 - port started :-)

- Initial camera findings... the /dev/hplens-omap is not part of the kernel, that makes new camera from 2.2 difficult to work.. as froyo 2.2 now has some camera functions included in the kernel, like zoom.

- work so far based on latest milestone 2.2 leak (amazingly equal to xt720)

- Camera with zoom works fine.. very strange, but i only take that as a positive start..

- sensors for rotation seems off, button light only works if triggered in display auto/manual setting for now (can be framework bug)

- wifi, bt, calls ok... hdmi not available in stock mod. (ill see if that can be included somehow)

- kxtf9 driver missing in kernel, no support for compass/accelerator function. (will be checking 2.1kernel if its released, for kernel driver extraction)

- flashplayer works (obvious i think)

- 3g(hsdpa) data works

- ClockWorkMod partly tested (Backup only for now tested, restore comes tomorrow) using modified edition not installing hijack..

- compiling kxtf9 module is possible, but registering so far fails (mobile reboot)

- just noticed when email arrive, i get a notification led blinking in lower right corner? is that new? since a thread about says its not possible?

31-jan

- another "problem". tested HDMI on original korean rom, seems not to work?

so, probably not easy to find out why when i got only 2.1 libs to work with.

- CWM Recovery restore only for /system , rest is messed for now.

- Froyo cam ported, works with 8MP now

01-feb

- First release ( link here )

02-feb

- First release re-run ( link here ) now using OpenRecovery which is confirmed working on xt720.

03-feb

- Second release ( link here )

- Official uk 2.01 kernel used.. all sensors now activated.

- still primarily using 2.2 release from korean rom.

- added native apps functionality as uk kernel did not support it.

- interactive govenor (thanks, nadlabak).

- Fixed OpenRecovery, so an App is available instead of using ADB , all is now automated with DefyRecovery(thanks Tenfar for original app).
[Milestone XT720 General] :
YES! Nice Dexter :)
[Milestone XT720 General] dateno1:
i already sucess to add clockworkmod at internal (using 2nd-init)

but it can't format or recovery boot partition (but can use yaffs partition :D)

so i want to remove boot partition fuction from clockworkmod but i can't get source code :(
[Milestone XT720 General] dateno1:
it also support openrecovery for xt720 modded and etc

it think it will can run on xt720 and xt800 (only tested korean version xt720)
[Milestone XT720 General] Dexter_nlb:
very bad news for the kernel ni the 2.2 korean release, they simply did not include the kernel device driver for accelerator device (lis331dlh or kxtf9 ) . it might be the kernel i got is the old beta, and they actually fixed this in the new kernel in official release, if its available..

ok, tested with kernel 2.1 and compass driver is enabled.. kxtf9 device appear :-(
[Milestone XT720 General] Gureiryu:
Does this mean we will not be able to Auto-Rotate?
[Milestone XT720 General] Dexter_nlb:
a solution can be to compile the 2.1 kernel module for our release, i think thats possible, and then it works..
[Milestone XT720 General] AllGamer:
i prefer manual rotate,

i always disable the auto rotate option, as it tends to be extremely annoying, when you lie down on the sofa or bed, or office chair to work on the phone

also when you bike anytime you hit the break, hot hit a pot hole, the screen also rotates, extremely annoying
[Milestone XT720 General] TG2008:
+1

Auto-Rotate seems way-too sensitive on the XT720, even a slight 45° tilt will sometimes trigger the screen to rotate.

I'm getting giddy...

I really am looking forward to 2.2's integrated apps2SD, improved-battery, cpu, memory, efficiency & speed improvements.

I honestly don't care that much about camera, HDMI, and things like auto-rotate; of course I want all these to work, but, I rather have the necessities over luxuries if forced to choose.

Dexter, please feel free to post firmwares as you progress, would love to flash anything better than the current; I'd happily test them all and reply with feedback.
[Milestone XT720 General] easye420:
Yea but no auto rotate means no accelerometer games either. :(
[Milestone XT720 General] Dexter_nlb:
i got the kernel source i think should include it now, so lets see the next days if it can be extracted and made a module to include.

rome wasn't build in one day :-)
[Milestone XT720 General] raidontaro:
Go Dexter Go!

Btw, where do you get your korean rom? Is it from the korean website?

I think if you get it from the korean website, It shouldn't have an old beta kernel.
[Milestone XT720 General] secret_tidus:
just take ur time... ^^
[Milestone XT720 General] Gureiryu:
Yes, I agree, I was more trying to understand the situation, I'm tech savvy but not android savvy, still learning what things mean and stuff Haha. I'm looking forward to better quality video And flash, but anything better then what I have now is more then satisfying. ^^ Can't wait.. Good Luck!!

---Edit---

@AllGamer, how exactly can you actively manually rotate? It would really benefit to know D:
[Milestone XT720 General] fjfalcon:
Here you are

This is leaked sbf from service.
[Milestone XT720 General] AllGamer:
use any Screen Rotate On/Off widget
[Milestone XT720 General] ronnbon:
I don't really understand the kernel driver problem really- but I am happy about any kind of progress anyway!

Maybe I get a fine android birthday present end of next week?

(don't want to push- just to motivate- good news are also fine presents...)
[Milestone XT720 General] Xjester:
Ditto, Progress is progress
[Milestone XT720 General] Dexter_nlb:
i did not get any good results on the driver issue last night.

but maybe i should put together an image with the work inprogress now, as i know from experience, i am a fool believing i can test on my own. i need beta testers for that.. most simple bugs are found this way.
[Milestone XT720 General] gommers1978:
I think it is a good idea, do you want to do public beta testing or you want to have a team of beta testers that are willing to do the testing?
[Milestone XT720 General] patejlice:
I volunteered to enroll as a beta tester :D
[Milestone XT720 General] Dexter_nlb:
i guess both will do, i dont have a preference here... being new to xt720, what is the preffered restoration method now? what is most simple? (of course sbf is not an option)

is the "defy recovery hijack" working? (i got it working, but thats no confirmation)
[Milestone XT720 General] metalizer2000:
i found this

http://code.google.com/p/xt720/downloads/list

its look like korean mod rom for xt720

they say for install apps2sd they use ClockworkMod Recovery

this is the korean website translate with google

http://translate.googleusercontent.....co.id&usg=ALkJrhjfiTceUBSFCBFcnOv8XcKqi5EEXg

update : what about motorola droid x? i saw that droid x has similar hardware but different processor,its has 8 mpx camera,has hdmi tv out,powervr sgx530 and its got froyo now,but droid x work on CDMA network
[Milestone XT720 General] :
I mark myself as a beta-tester too :)

Hopefully I can install and flash w/o adb, 'cause adb won't find my phone :(

But still, I mark myself as a beta tester so I'm in :)
[Milestone XT720 General] Dexter_nlb:
my aim is to make it simple to upgrade... but ok, i might be able to make the defy recovery work on xt720. which is an easy way to do backups and installs.

although droidx is similar, the kernel is the problem. drivers are in the kernel, so its not much help when driver is not there.. and camera app here is for Blur, im not porting Blur, but stock android(most seem to want DeBlur installs anyways)..
[Milestone XT720 General] :
Blur would be nice to have on the XT720, but it's not a high priority. First, let's make the 2.2 rock on the XT720 and then we could always make a Blur-rom afterwards :)
[Milestone XT720 General] Dexter_nlb:
I decided to give the DefyRecovery a try, and make appropiate changes so it works on xt720.. current issue atm, is it uses a different hijack to run recovery which i now need to fix so it works on this model.. but i think it will work, and then it can be used for regular backup/restore and also in this case for the 2.2 system.img i make.
[Milestone XT720 General] sariugur:
we can be beta-testers for bugs or other things... at least i'd do it on my xt720 for the guys here ;)
[Milestone XT720 General] saren:
Can it be used on XT701?
[Milestone XT720 General] 3rdstring:
To the best of my (very) limited knowledge Open Recovery is the only one that works on the XT720. There is also a thread here about an Andrioni recovery which I believe is a modification of OR. Note that Open Recovery won't back up the lbl, logo, devtree, bpsw partitions.
[Milestone XT720 General] easye420:
I tried that Korean mod with no luck it flashes his custom recovery and then the mod and doesn't get past the M. I tried with 2.1 and 2.2 with no luck. And they fixed the logo partition on open recovery.
[Milestone XT720 General] metalizer2000:
but u can rollback to stock rom, right ?
[Milestone XT720 General] easye420:
Nope after trying kayuk rom it removes openrecovery so I had to reflash. It wouldn't even go to the kayuk recovery after I tried it. I tried creating my own rom also but get. I get error 4 when trying to apply my update.zip I think somethings wrong with my updater script
[Milestone XT720 General] mikekop:
XT720 stock 2.1 does have notification led. The four bottom buttons blink (menu-home-back-search) but has a bug, when you have a notification and turn on the screen, it turns OFF the four bottom buttons backlight completely instead of stopping the blinking, and you have to lock-unlock screen to have backlight on the buttons again. Do you actually mean that the magnifying glass button alone blink as notification light? That is a new feature in that case.
[Milestone XT720 General] Dexter_nlb:
no, not the magnifier, but the led just above it.
[Milestone XT720 General] mikekop:
Oh, the camcorder led? Still, new feature... Might be that Motorola did it as a workaround to squash the bug? Led Me Now Beta (app) is able to do the same thing.
[Milestone XT720 General] Riley600:
The 3 media lights (camcorder, camera and gallery) seem to be mapped as notification LEDs. As mentioned, the LED me know app is able to use them to trigger notifications. They are mapped (on the XT720 running 2.1) as I described in this post: http://xdaforums.com/showpost.php?p=10950511&postcount=25
[Milestone XT720 General] Dexter_nlb:
the function here is probably because framework comes from milestone, with its native notification led function built-in.
[Milestone XT720 General] Riley600:
If you could leave that in, it would be great :). It's quite frustrating not having an LED notification light on the XT720. I'm using the 'LED me know' app right now, which is essentially accomplishing the same thing.
[Milestone XT720 General] mikekop:
Yes please, I'd like to have it like that too! Is there any other way it behaves, like one led-email, two led-sms, three led-phone call?

I would also like to have them lit when on charger, with 1 led-2 led-3 led to indicate level of charge... But I guess I'm dreaming...
[Milestone XT720 General] alx294:
just probably a really stupid idea, considering I have close to no understanding of linux, but would porting FroYo's features, like apps2sd, jit, flash player, stuff like that, to the existing 2.1 rom? or would that just be stupid?
[Milestone XT720 General] AllGamer:
many of that stuff is already build in, in Froyo 2.2

all the stuff that we are doing on the current 2.1 ROM is cheating the system by installing stuff that was not even supported on 2.1

many of those which were taken from Froyo and tweaked to work on 2.1
[Milestone XT720 General] TG2008:
I'll flash whatever gets posted & provide feedback.

I flash my device using RSDLite_4.5.3 (easiest method I've found).

I've never been able to get the recovery mode (i.e. update.zip) to work.
[Milestone XT720 General] sariugur:
i think the most important thing for froyo is FLASH! i've used korean v. in this device or original 2.2 in milestone and all other devices with froyo and its just laggy with flash web sites... but i think its because of the flash, got nothing to with android system? the new version(10.2) is suppose to work fine...
[Milestone XT720 General] Dexter_nlb:
sorry to disappoint you, but i doubt that you will get better performance out of flash with phones like milestone & xt720 and equals, even Galaxy with 1Ghz lags when using flash which is still similar to milestone at oc speed.

so this is not going to improve much, it works, but thats it..

ps: you need hardware written device driver from Adobe to make just a little better, which Adobe is working on, as i know Tegra2 is getting one at least.
[Milestone XT720 General] Dexter_nlb:
Can anyone confirm Quadrant scores around 480-500 with no oc'ing on 2.1 , thats what i got on stock korean 2.2? is it correct without overclock?
[Milestone XT720 General] :
Correct. My score is ~481 (stock). I get 534 with the 2.2 jit mod if that matters at all.

-sebastimau
[Milestone XT720 General] easye420:
I got 431 stock 2.2.1
[Milestone XT720 General] metalizer2000:
I got 549 without oc with jit,US 2.1 stock rom

Sent from my Milestone XT720
[Milestone XT720 General] alx294:
me too, about 480 no oc, complete stock no jit, but when I overclock to 1ghz I averaged 750..? I don't have jit either I feel like that's really high compared to all of yours xP
[Milestone XT720 General] TG2008:
On factory 2.1 (i.e. no oc'ing / no JIT) I get a blazing-fast "454"
[Milestone XT720 General] spiderx_mm:
my XT720 got maximum 550 without OC on 2.1. JIT and App2Card installed. Without JIT it scores around 520. Clock speed at default 720MHz
[Milestone XT720 General] metalizer2000:
what file system does xt720 use? RFS or already ext2 maybe ext3 on system and data or cache ?

RFS is more slow compare with ext2
[Milestone XT720 General] mrmako777:
i have jit and oc'd to 1 ghz and only got 680
[Milestone XT720 General] kousik:
Though stock condition performs poor, with JIT and 1GHz OC we can reach 850+
[Milestone XT720 General] d23wilson:
Kousik...what else u got going on there?? That is serious scores..I got it overclocked to 970 and running jit v9 and have to shut down all of my programs and can only get Max!! Of 750..u got some Turbo charge in there? :)
[Milestone XT720 General] spiderx_mm:
not sure though, i think it is Ext2.

Edit: when I call Mount command in Shell it said the file system is YAFFS2
[Milestone XT720 General] Dexter_nlb:
thanks all,

ill get some snaps of the stock performance and oc'd at 1Ghz, when i get time. at least it seems different now but i will need to dig into it, i dont want any surprises..
[Milestone XT720 General] TG2008:
FWIW: My XT720 is not stable at 1GHz; it is nice and fast when I do it, but, realizing my phone has been frozen for an hour quickly negates the speed advantage.
[Milestone XT720 General] fjfalcon:
As i know hdmi works only in Gallery and MediaGallery.

Maybe you may want to check this apps?

In witch vsel do you use 1ghz?

Cause with my phone i set 64 vsel to 1ghz. Old time i set 74 vsel to 1ghz and phone was stable.

So maybe you may check vsel prefs?
[Milestone XT720 General] TG2008:
I tried a few different Vsel settings, but, I don't know if I tried 74. I will give it a shot in the future. Thanks.
[Milestone XT720 General] Dexter_nlb:
honestly, i think this just got lowest priority i can think of, it might be nice, but putting hdmi on a device to share image to a TV through hdmi, seems really like waste of a function.. i thought it was like my folio, where i get AngryBirds fullscreen on a 50" .. that is really good!

Regarding quadrant scores,

heres the 550mhz and 1Ghz

do note: i used DSP libraries of the droid here, which might just affect CPU score dramatically, ie. something not really right.. so it might not be really accurate, but looks nice, right?

mp4 playback works just as good as it did on milestone, still cannot hardware decode any avi's or mpeg2? anyelse can confirm this with hardware playback? Rockplayer of course plays most in soft mode..

i think i left out wma/wmv playback right now, but ill add it, because one video i got should be played somehow with hardware decoding using wmv
[Milestone XT720 General] kousik:
All I did after installing jit is to clear /data/dalvik-cache (and reboot), quit as many apps I could, overclocked to 1G with different vsels and run benchmark a few times. Generally the score will be 800+ but this is the best I could achieve. This is not sustainable as it'll drain battery very fast and may be prone to lock up. I just wanted to see how much we can do. Notice that we have to fire all the cylinders to beat Samsung galaxy, which'll show great improvement with lagfix.

Currently I run jit, my homegrown link2sd, overclock 1G 56vsel, setcpu 1000-250 as a fairly stable but responsive combination.
[Milestone XT720 General] fjfalcon:
Youp, waste function.

As i played with prefs on rockplayer - i can't enable hardware decoding at all.
[Milestone XT720 General] Dexter_nlb:
i think that quadrant score on milestone at 1Ghz should be reflected on xt720, and that is what it does.. because it was wellknown that milestone hit around 1400 at 1Ghz, a little more than N1 at the time it was interesting.

se lets assume figures are correct for now..
[Milestone XT720 General] sariugur:
sometimes HDMI interface just stays stuck! i connect the cable to tv and turn-on the hdmi connection to see the pics & vids... it workes fine but after that when i just touch back button-with the cable still plugged- the phone's screen stays off and i can see the android interface on tv! ofcourse im touching xt720 and it moves in big screen :))

it maybe a bug, but more useful than the original function ;)
[Milestone XT720 General] metalizer2000:
can we use this?

http://xdaforums.com/showthread.php?t=935017

lib from antibyte for Froyo 720p Playback on Moto defy
[Milestone XT720 General] TG2008:
The 550MHz and 1GHz scores are I M P R E S S I V E !

I'd flash that right now just to get rid of the GUI lag :D
[Milestone XT720 General] alx294:
just as a reference, I'm overclocked to 1ghz at 56vsel and I'm completely stable
[Milestone XT720 General] easye420:
Fyi we can use REAL HDMI app for Droid x on our phone to see everything on the big screen. Just our super small RAM closes out of the app onx ram intensive apps. But emulators work like psx4 Droid and others.
[Milestone XT720 General] alx294:
I've tried that app before with no luck x(
[Milestone XT720 General] Dexter_nlb:
would be nice to get a link for that app? i got no HDMI control in the android stock edition, so if this app works, i would appreciate to test it, and include if it helps us here..

btw, ill try and make a test image, for qualified testers, as the install is a little special for now..

ie. need korean sbf install + superoneclickroot + defy/xt720recovery(custom edition) and a backup restore + wipe in original factory recovery as the defyrecovery does not work 100%.

but then from here on it works fine.

il post instruction when i uploaded the image later.
[Milestone XT720 General] :
That would be so great :D

Btw, can you also list what doesn't work at the moment on the 2.2 image? 'Cause I read about some things in various topics, but it seems do differ per person, so it would be nice if you could list the things that do not work at the moment.
[Milestone XT720 General] metalizer2000:
it work only with real hdmi ver 1.0.6 or old version of it,the newest ver of it does not work on eclair,old version has no special root function,but i think in froyo newest real hdmi will work becouse ver 1.5.1 must install under froyo,it can install at eclair but doesn't work

here is the apk of both real hdmi
[Milestone XT720 General] khalpowers:
here the link for hdmi version 1.1.0 http://dl.dropbox.com/u/9404058/com.gmanapps.realhdmi-SignFile.apk
[Milestone XT720 General] fjfalcon:
I was trying to install it... And can't. App Install says "App cannot be installed"

Will test all i can.

Just flashed korean service rom on my russian rom .

And do factory recovery from recovery menu.

Rooted with superoneclick from this topic

So, what to do next? =)

for someone who haven't got korean service 2.2

Korean 2.2
[Milestone XT720 General] iceman79:
I'm in 20$.... i want 2.2
[Milestone XT720 General] ronnbon:
now we got $230 without the unspecified donations! :D
[Milestone XT720 General] mikekop:
I'm in, donating 50$. Note that this is only for a proper FroYo build, not just a halfway patch. Important that the camera has full functionality, this is the first most important feature of this phone.
[Milestone XT720 General] usmanhafeez2000:
Include my $20 as well. I am from UAE and i would love to have bug-free 2.2 on my XT720 ASAP.
[Milestone XT720 General] ronnbon:
Now we have $350 without the feedback of 8 donators about their donation.

Lets assume we get $400- that should be something to work with, right? ;)

I would like to keep this thread for the list of donators, so I will open a new thread for collecting ideas, discussions how-to-realize it and so on...

I am still waiting for your developer suggestions there!... :rolleyes:
[Milestone XT720 General] ronnbon:
(xt720 froyo) Dexter is our dev!! donation link here!

Its Dexters Job- now it is officiall!

I did not decide it on my own- but jr33 has a lot to do right now and because we still had an okay from Dexter he drew back.

To do the donation visit dexters website! LINK

Donations will be done with paypal but: you DON'T NEED a PayPal account, just a credit card only; you get the option to sign in or proceed without an account.

IMPORTANT! Please leave a comment with "xt720" and your username to assign the donation!

Just to note it here too: I deleted the donations and donators list at the other thread- it makes no sense anymore since I don't know anymore who really donated and who not.

And finally we reached our goal to buy the phone after all- If you want a list of all received donations from Dexter after all that will surely be no problem...
[Milestone XT720 General] 3rdstring:
You can count my donation at the $50 level for a fully functional stable froyo on my phone.
[Milestone XT720 General] ronnbon:
$400
[Milestone XT720 General] TG2008:
Put me down at $20.
[Milestone XT720 General] Knoedelkopf:
If everything works perfectly like normal Froyo (most important is the cam! hd video recording should be more fluently like in the korean version :P) im in!

But I can just pay with € and I will have to send it per Postal Mail.

It that would work 10-20 € from me!
[Milestone XT720 General] ronnbon:
wenns soweit ist und das für Dich okay wäre, kannst Du es mir überweisen und ich bezahle dann via paypal für Dich mit... okay?

for all:

PLEASE LOOK ALSO HERE- http://xdaforums.com/showthread.php?t=906389

I need your help I will not do this all alone...
[Milestone XT720 General] gbtechelec:
Here in Greece we love this moto and we want 2.2 for xt720

Just tell us where and how to send the money!