yashsingh1/xdaforums huggingface dataset:
[Milestone XT720 Android Development] nikctsh:
Strange things happening here...after flashed , the next day I updated an application from market , then all my other linked apps force close , so I have no choice but to reboot . Just then , all my data (sdext2) which I previously linked using link2sd gone . So I browse through it using root explorer and found that link2sd directory in sd-ext gone . Though I created one , but after reboot again link2sd directory gone , constantly for every reboot . I went to OR > scan ext for error > reboot . Surprisingly , all apps recover and what strange here is that none of them experience force close anymore , everything works just like nothing happen . Really curious about what is happening actually . :confused:
[Milestone XT720 Android Development] archer88:
hi, does the radio and gallery button working now?:)
[Milestone XT720 Android Development] brianlili:
Hi, I want to give you the method how to work out media button exactly like stock's rom, It need to binary rework framework(decompile with apktool),CM7 can build it in source:), I don't know If you want it or not.
[Milestone XT720 Android Development] AA1973:
Both work-media gallery button and FM radio- release CM 6.3.5.3
[Milestone XT720 Android Development] ndempist:
when taking screenshot from power menu only shows black screen, but goes fine when using third app such as shootme..

anyone has same prob ?
[Milestone XT720 Android Development] Zachary57:
Is there keyboard blink to notify sms ?

About that :

I applied this update on cm6.3.5 and it works good thanks.

Issues : -Link2sd doesn't work (I tried with ext2 3 and 4 it says unable to make mount script : device is busy)

-Gallery button doesn't work fine (open gallery and that's all, doesn't change and gallery led stay on)

-We can't zoom with volume keys in camera

More is there a way to have 5MPx wide in camera (8mpx wide on stock ROM) and can you remove 30min max time for camcorder?
[Milestone XT720 Android Development] Mioze7Ae:
Yes, please! You've done the hard part, I can translate the smali to Java.
[Milestone XT720 Android Development] brianlili:
OK,here we go.

first, reflect media key in /system/usr/keylayout/qwerty.kl, as we know, media button scan code is 112, add "key 112 MEDIA_MODE WAKE" to the file.

secondly, re-difine key event of MEDIA_MODE in framework.jar as ".field public static final KEYCODE_MEDIA_MODE:I = 0x5c"; then add a switch after 0x5b,"0x5c -> :sswitch_7". that is all we need to do in framework.jar.

third step, define action in android.policy.jar, maybe I just keep this thread simple, the lest you can look in to the sample file of attachment, you know this staff so much better than me:)

Also, with keytest, the camera key have more than 2 functions(scan code)? It seems it have different code by pressing left side and right side.

well, don't know how I can't upload a attachment, I put it in here.

DOWNLOAD
[Milestone XT720 Android Development] banshee56:
Still getting Market FC regardless of what I do (Talk login, clear cache/data, etc etc). Relative to the Carrier IQ thread, I was poking around in the /data/system/dropbox folder and came across a few files labeled "...app_crash..." related to my Market FC's. If I posted the latest one, any chance this file will give some insight on why I'm experiencing Market FC's?

EDIT: More info: after doing the "market dance", it will open and I can do everything up to the point of downloading an app. It will get to the screen where I accept terms to download and poof....gone. Everytime after that, it closes before I see anything on screen, until I do the "market dance" again.
[Milestone XT720 Android Development] Mioze7Ae:
Thanks I'll take a look!

The camera key has two stops -- a half press used for focus and full press used for shutter. If you press on the top or bottom of the button it can be hard to press pass the focus stop. But even if you're pressing on the center you feel the first snap (that's the focus) and then the second snap is the shutter.
[Milestone XT720 Android Development] nikctsh:
Everything works fine until I updated a linked app again . Like b4 , I wasn't able to link apps to sdext2 now . Is there any way I can repair my sdext2 without loss of data using computer ?
[Milestone XT720 Android Development] Zachary57:
Does someone have problem with sdcard mount in 6.3.5 ?

Because with my phone sdcard isn't mount at every boot but just sometimes.

More, I can't transfer files larger than 2MO by usb because it crash (even in stock and I tried to change sdcard and usb data cable)
[Milestone XT720 Android Development] molohov:
I thought this may have been just my sdcard's problem, but I am also experiencing the on boot mounting problem. I also don't have an extra sdcard lying around to test against.

However, this problem was resident in many other ROMs (khalv4, cm6, cm7), so it may be hardware related.
[Milestone XT720 Android Development] Zachary57:
I don't know. I changed to cm7 and reformat both of my two sdcards and with just FAT32 it seens to work. So, I will wait and see if I have again problems.
[Milestone XT720 Android Development] Knoedelkopf:
hey guys- atm i'm on eclair strikes back ROM, but it's pretty slow and yeah.. it's only 2.1!:p i'd like to switch to this rom, because in my opinion cm7 isn't very suited for our phone. so questions: does taking & saving pictures completely work? very important for me, and with nearly every rom (cm7, ho!no!, bravo....) i had problems that my pics weren't saved. so any problems with this rom? AND: does auto-rotate work now? :)
[Milestone XT720 Android Development] Mioze7Ae:
IMHO camera is best on Bravo. Here: you can take pictures up to 8MP, but not with wide profile and video only works up to D1 (not HD). Auto rotate works unless your are using modxt720 sbf (very unlikely if you're currently running ESB).
[Milestone XT720 Android Development] secret_tidus:
based on my experience, this is the most stable rom i installed.. just random the camera apps or market apps will crash until black screen with only 4 only led on.. but still the phone low ram is headache.. with line and whatapps installed, the launcher is usually kill off when launch other apps...
[Milestone XT720 Android Development] Mioze7Ae:
Should I include a supercharge setting by default? Does anyone like the defaults that are currently there?
[Milestone XT720 Android Development] nikctsh:
That would be much appreciated because I never know how to "manually" use it
[Milestone XT720 Android Development] bagongs:
Hi Mioze7ae,

I wanted to share something I noticed about the memory management in this ROM. I read many times that Supercharge V6 is supposed to improve the memory management a lot. Even though I reckon it is a really good tool for phones with high RAM availability, I don't think it is optimal for our XT720. In fact, I tried all the possible options (Aggressive, Balanced, even Multitasking, that is the less aggressive among the options) but none of them solved some issues I found. Considering that my background processes are Whatsapp and Juice Defender, I noticed that every time I start a heavy application (like Maps, Navigation or even the browser) I have problems with the keyboard, which shuts down automatically and doesn't give me the chance to type anything until the process is restarted completely (it takes at least 15-20 seconds). I reckon the keyboard issue is related to the OOM (Out Of Memory) priorities, which seem to give the highest priority (meaning that the process is restarted more easily) to the process of the keyboard.

Therefore, from time to time also other processes restart by themselves (Whatsapp fails to notify some incoming messages for instance) and the battery life decreases significantly. Of course, the RAM availability is high (70-80 MB), but it looks like Superchanger puts a constraint on the RAM availability, preventing it from going below a certain threshold: whenever this is about to occur, some processes are restarted in order to free up some memory and comply with this limit.

I'm not using Superchanger anymore because of all these reasons...

btw amazing work on this ROM Mioze7ae! Thank you!!!
[Milestone XT720 Android Development] Woody:
I would have to agree. I have never been able to get Supercharger to work "well" for me. It does work but I feel that I can get a better hold on memory by doing it manually either with AKMO or editing the build.prop.

There are so many settings and combination to the Supercharger script that I think making it a default is both good and bad. If the settings work, hey that is great but we all know that my settings won't work for Bagongs whose settings won't work for Banshee...Still love the ROM and it is currently on my wife's phone atm.
[Milestone XT720 Android Development] Mioze7Ae:
Well, back in the Dexter days, a lot of the differences in the ROMs (xav, khalpowers) was due to the default minfree tweaks. I ended up adding them to the bugfix update because I thought it was silly to have to get the theming just to have decent performance. Actually, I personally think CM6 has pretty good defaults and I don't supercharge it. Anyway it seemed like the recent problems reported here were minfree related. But perhaps it's just selection bias. :D Just wanted to make sure it's not the case that I'm the only one happy with the defaults.
[Milestone XT720 Android Development] banshee56:
This man speaks the truth. The 6.3.5.3 build was good for mid-50's MB free RAM for me with Fancy Widgets, Swype, and SetCPU running on top of the system services. Using these with AKMO and some of the build.prop tweaks, I was able to easily get 14+ hours of battery life with light usage. Yeah, I would like to see the screen rotation working with the XT720mod sbf and the camera working better (and for me for some odd reason, no Market crashes), but compared to the CM7 ROMs, this one is the best for what I want my phone to be.
[Milestone XT720 Android Development] Woody:
Glad to see some of my build.prop tweaks are being put to use.
[Milestone XT720 Android Development] acrobat69:
Success?!

Ok..after being ready to throw my phone in the lake trying to get other roms to work..and going back to stock and at least being able to make a phone call :S

I figured..let me try The Rev's tutorial start to finish, do exactly as he says..and so I've flashed this rom as found in this thread: http://xdaforums.com/showthread.php?t=1356524

Quick question: is the thread I am posting in right now the Development thread for this version?

Which leads into the question..if I've installed according to his instructions, I'm not actually on the most current build being discussed, am I? I show 6.3.0...this thread is 6.3.5..

Should I upgrade? I'm happy that my camcorder actually finally can shoot a video without crashing!! And that I can take 3 pictures in a row. Make a phone call! Browse the internet! (I feel so stupid writing that in the year 2011)

Ok..I'll stop gushing now :bow: I just wanted to clarify I was in the right place, my intent in digging into a long development thread was to first find a rom that did basic stuff ok and establish a stable baseline from which to start testing more complicated functions of the phone..
[Milestone XT720 Android Development] nikctsh:
Yes you are . If you are happy with it now , then just keep it . But for me , I will update whenever I can .
[Milestone XT720 Android Development] joe206hdi:
camera orientation

hi there first of all THANK YOU great Job

i think there is only a small thing with sensors the camera doesn´t realize the phone´s orientation so pictures have to be turned manually if taken..

joe
[Milestone XT720 Android Development] acrobat69:
Thanks!

I'm happy, yes, but of course if there's upgrades to an already great ROM, I'm gonna try 'em!

Does the camcorder in 6.3.5 get even better? It's a little wonky, mostly indoors. Outside in normal light it's pretty good.

I've noticed something: usually when I install a ROM I wait for it to get settled in, then start updating the existing standard apps and re-downloading the ones I like. At points along the way, I go into the app manager and move all the apps that I can to the SD card.

However, on this ROM, it won't allow me to move apps like Facebook, Twitter, Maps, Gmail, etc...whereas on others I'm sure I was able to. I know CM7 on my LG does, for sure. It gives a message that system apps can't be moved to the SD card. Those aren't system apps though..is this the way this ROM was bundled up?

Or have I done something wrong? One thing I didn't do with this phone is create an ext2 partition, a. because I didn't see an option for it in Open Recovery and b. I tried to follow Reverands instructions to the "T" (short of using Androot, that is.)
[Milestone XT720 Android Development] Mioze7Ae:
Those are probably installed on /system/app (CM7's gapps package is minimal and doesn't do it that way, but CM6's does)
[Milestone XT720 Android Development] Woody:
Mostly anything with a widget wont go to SD with native froyo App2sd, that is why we created the ext partition so that the will install there and not take up internal space. Of course there are work arounds. Check my thread in the Apps forum Want/Need an App. It has an app called move2sd enabler that will move apps to SD using native froyo app2sd that don't have that written on their code. It forces them.

Also there is no partition script in OR, as it isn't worthwhile function bc of the many different possibilities. So MZ didn't write it in there. Our OR is not the same as Clockwork, so some CWR functions are not the same and vice versa. You need to partition your card with Gparted or Minitool Partition Wizard. Make sure you only do ext2/3 and the convert in OR to ext4 (if rom supports it). Also make sure you do it in a card reader and not in the phone. Has been known to cause issues.
[Milestone XT720 Android Development] queens49:
Hi,

I've been using this ROM for a few weeks now without issues, till now. I'm using Wind Mobility. The problem seems to arise when the phone starts roaming. The phone works while roaming, but when it's back in a Wind zone, it doesn't connect. I can see it in the network list, but it just stays on Registering to Wind network...I did a Factory Reset from within AOR and after a reboot, it successfully connected as I received texts. I was able to send one text before the problem came back. This problem only happens after roaming on the phone.
[Milestone XT720 Android Development] acrobat69:
This is VERY similar to the issue I'm having. I think we're getting closer to figuring out that there's something in the Wind baseband that these rom's don't like..your issue is similar to mine in that although I'm well (and I do mean well) within a Wind Home zone, there is a little pocket in my neighborhood that Wind is sporadic in sometimes. However Rogers has a tower less than a km from me, so my phone tries to hop onto it as Wind Away.

Maybe the first few weeks you used it you were always getting great Wind Home signal and so your use of these roms didn't trigger any red flags for you. Now that you've been roaming a bit, it's having a hard time getting you back on Wind Home.

Just theorizing..I'm still working on figuring this out, if only I knew this code I'd dig right into it! :eek:
[Milestone XT720 Android Development] brianlili:
merry x'mas Mioze7Ae and LM:)
[Milestone XT720 Android Development] nikctsh:
For camera , it seem like it doesn't change much in 6.3.5 , but I'm facing no problem with it at all with the current rom , I usually set the camera effect to sunset instead of auto because for me , the image produced is pretty much nicer :) . As for ext2 , I create one by using Mini tool Partition Wizard because it is the best option after I tried many other similar tools , then I just move my user apps to ext2 using link2sd so that I can easily manage all those apps . However , the only problem that is annoying me always when creating link is that my sdext2 will be having a high risk of encountering problem . Then , I can still used all linked apps but not creating link anymore .

Before , in order to resolve this , I will have to delete my sdext2 and create a new one , and the result , all linked apps lost . However recently , I manage to find a solution without having my data lost :rolleyes: So I no longer frighten of crashing my sdext2 for every update of ROM .
[Milestone XT720 Android Development] bagongs:
Yeah, I think this is one of the last small issues...

Btw, merry Christmas to everyone!
[Milestone XT720 Android Development] secret_tidus:
did anyone encounter problem when installed certain app show "cant install on usb storage or sd card"?
[Milestone XT720 Android Development] bagongs:
Some apps just can't be installed on the sd card, they need to be in the internal memory to work. Another explanation could be that maybe...you don't have enough space in the ext partition? :)) But I'm sure you already checked it

---------- Post added at 10:25 AM ---------- Previous post was at 10:19 AM ----------

As far as I know, system apps are the ones that you have just after flashing a new ROM, so, for instance, if you don't update Facebook from the Market, Facebook remains a system app, hence you can't move it. A solution (I used it in the past when I had an ext partition) is to uninstall the app you want to move and install it again from the market, this will allow you to move it to the sd card (if it doesn't need to be in the internal memory).
[Milestone XT720 Android Development] LibertyMonger:
Merry Christmas good buddy I hope you had a good one! I been away from here for a while but I am ready to get back into the groove! I hope everyone had a great Christmas!!!
[Milestone XT720 Android Development] abet1017:
Happy New Year to All......
[Milestone XT720 Android Development] AllGamer:
[BUG] report 1% battery steps

This ROM is almost perfect in every-way (compared to CM 7.1.x) :D

with 1 minor exception...

in Settings > CM Settings > User interface > Status Bar > 1% battery steps

that feature is bugged, if Enabled, the phone will always believe your battery is dead as in 0% even when it's fully charged at 100%

disabling the option, will make the phone work normal again.

so, we have 2 choices, remove that feature completely from the menu, or fix it some how to not erroneously expect the 1% changes

if i recall right the default is like 10% incremental / decremental

it will cause a boot loop, and the only workaround is either to plug in the USB / AC charger while booting

else as soon as it pre-loads the AOSP it will reboot again as it thinks it has not enough battery and initiates emergency shutdowns procedure, go back to settings and check off that option.
[Milestone XT720 Android Development] Mioze7Ae:
Oh, yeah good reminder! I need to delete that option (if I can figure out how). I thought I had made it harmless, but I guess not. The way the 1% battery works is: the Milestone A853 folks discovered they could use the Droid2 battd executable and they magically got 1% battery. cvpcs tried to get it working on OG Droid (no luck) and it doesn't work for us, either (we're missing some entries in /proc or /dev, can't remember). So, apparently there's some symsearch kernel hackery needed (which would be slow work and isn't a priority for me at the moment).
[Milestone XT720 Android Development] Mioze7Ae:
6.5.6.1

New test build. I tested with milaq's latest gapps after a fresh install and market worked fine.

NOTABLE CHANGES:

Synced with milaq's 6.3.6. milaq's changes since 6.3.5:

Prevent ApplicationsProvider and UserDictionaryProvider from running in acore (allows the system to kill them seperately in low-mem situations - more ram freeable)

Added an option to build.prop to always keep 2 custom apps in mem (sys.keep_app_x)

Removed outdated Toggle2G (never implemented on XT720)

Wifi stack updated (motorola binaries purged, latest firmware from A853)

Notification lights should work (thanks molohov)

Continued code cleanup (see github)

Pacman experiment halted, use milaq's gapps-

KNOWN ISSUES:

Hardware button backlights seem to not behave correctly --

workaround

: disable button backlight see post #1106 below

Selecting 1% battery will break your mother's heart. You wouldn't want to break her heart, would you?

HD (720p) video recording not available --

workaround

: pretend D1 is HD because D1=720×480 and 720 implies HD :p

8MP wide not available --

workaround

: crop the image by hand

Phone orientation not stored correctly in photos/videos --

workaround

: neck brace, move to ISS, reject society's imposed notions of "correct" orientation

Orientation incorrect on modxt720 sbf --

workaround

: disable auto-rotation

DOWNLOADS:

update-cm-6.3.6.1-MilestoneXT720-KANG-signed.zip (73.58 MB)

Milaq's gapps-hdpi-20111001-signed.zip (17.92 MB) multiupload mirror

Instructions (fresh install):

Place update-cm-6.3.6.1-MilestoneXT720-KANG-signed.zip and gapps-hdpi-20111001-signed.zip in /sdcard/OpenRecovery/updates

Boot to OpenRecovery

(recommended, optional) OR > nandroid > backup

OR > Apply update > update-cm-6.3.6.1-MilestoneXT720-KANG-signed.zip

OR > Apply update > gapps-hdpi-20111001-signed.zip

OR > Wipe Data / Factory Reset

Reboot

Upgrading from 6.3.5.3 and earlier:

Untested. Possibly issues because of the gapps swap.
[Milestone XT720 Android Development] S7icky:
i just peed myself reading your known issues LOL
[Milestone XT720 Android Development] Mioze7Ae:
Workaround for button lights not turning off: disable button backlight

Go to: "Settings" > "CyanogenMod settings" > "User interface" > "Automatic backlight" > "Light levels" section

Enable "Use custom"

Select "Edit other levels..."

Set all values in the "Buttons" column to 0

"Save & apply"
[Milestone XT720 Android Development] LibertyMonger:
WOW Thanks a bunch Mz I want to put this on my nieces phone but she will not want to lose the awesome purple theme Silesh made for her lol. I will have to find her one i guess. I am flashing this to my XT now!
[Milestone XT720 Android Development] luks_p:
Haha.... @Mioze, your post title on post #1104 made me confious. lol... But I know what you mean.

Anyway, thank u very much for this end year gift. Nice job... Happy New Year.

Add question:

Can I keep using gapps gapps-cm6-20111214-signed.zip? In other word, can I update from 6.3.5.3 to 6.3.6.1 without update the gapps?
[Milestone XT720 Android Development] Mioze7Ae:
Yes, it should be fine to apply gapps-cm6-20111214-signed.zip instead of the new one.
[Milestone XT720 Android Development] ktylife:
I have Supercharger on 6.3.1; do I need to unsupercharged before upgrading to 6.3.6 ?

Additionaly, if you do use Supercharger, please advise version and options !

Thanks !
[Milestone XT720 Android Development] acrobat69:
Just wanted to say thanks for the help, I wrote more but then realized I wrote it in the 7.1 thread (http://xdaforums.com/showthread.php?p=20880461#post20880461) and it should likely have gone over here, since I'm actually testing this rom. So far so good, but see my comments over there if you like..
[Milestone XT720 Android Development] molohov:
Deleting the option isn't too difficult. You can find the entry in CMParts.java (I forget the entire path right now, but I can try this out tomorrow).

As for the backlights, I haven't had time to debug why they are staying on, but their behavior is even more random than before! My suspicion is that CM7's power management code is a little different than CM6's, and that's where I'll start looking for the cause.
[Milestone XT720 Android Development] ktylife:
HNY !

Some points:

* 6.3.6 is very snappy !

* I still get homescreen being killed after using (only) Maps. Could it be related to Supercharger ? See post #1110

* Toggle 2G was great to save battery on previous version. I tried to install it on 6.3.6 via OR/update; I cannot find the Apps in the apps list. Additionally, after installing it, the XT is super slow... This might be the one Apps/Service that was ruining the performance of my phone before :confused:

Keep up the excellent work ! ;)