yashsingh1/xdaforums huggingface dataset:
[Milestone XT720 Android Development] peshovec:
take a look here

https://github.com/nadlabak/android.../gingerbread/prebuilt/etc/rootfs/init.rc#L216

and here

https://github.com/CyanogenModXT720.../gingerbread/prebuilt/etc/rootfs/init.rc#L226

first is nadlabak milestone, second ours....

this settings was quite good for me, but after installing some more application i had to tweak them like this:

https://github.com/CyanogenModXT720...b/pesh-modif/prebuilt/etc/rootfs/init.rc#L230

anyway the huge difference come from "allow purging of assets" and (if possible) the so called gmaps hack

p.s. don't forget that the memory management has to depend of the usage too, also if you have set the read ahead to something more that 64 or 128 kb it is just memory waste....

p.p.s. one sign of proper management is the ability of the phone to sleep, if you observer that the phone is not sleeping as expected (e.g. mostly all the time, when screen is off, that means important background processes, for example killing and re-spawning processes....)
[Milestone XT720 Android Development] AA1973:
Yes, I did run the 3G script and the wifi-fixer. 3G with faster. Wifi is better now for me.

My settings are aggressive on supercharger (6 8 16 24 64 80) but multitasking is possible. Option 10 custom OOM. I flashed this ROM on 3011, just after it came out and trying a bit. For the moment I am extremely happy with it. :)

What apps do you use when you are multitasking?

+++

Edit I had problems with the default values e.g. ,as I use exDialer as standard dialer and contacts app. Whenever I wanted to dial or look up contacts, bang- I was on my homescreen.That's why I used supercharger. The RAM issue, h'm - i deleted e.g. DSP Manager, cause I didn't see the benefits of this app as to being run constantly in the background. So I backed it up and deleted it in system. But (!) this is purely personal and by no means a recommendation. :)

CM7.1.0 - Milestone XT720 (2011-11-30)
[Milestone XT720 Android Development] mchlbenner:
Hi

I have tested this you can try 39 sbf and use the motoroi cm7 it will boot with J.Y.Daddy boot fix.
[Milestone XT720 Android Development] DarkMD:
Work great! Better performance for sure!!!! I one noob question... thats extra space on memory where this get from?
[Milestone XT720 Android Development] Mioze7Ae:
Both /system and /cache are smaller (it's actually the same partition layout used in the Korean 2.2 50R)
[Milestone XT720 Android Development] banshee56:
Related to the discussion in the CM6.3.5.3 thread, perhaps I should explain everything that I did, starting from before flashing the modXT720 sbf.

1) Bought phone, felt deceived by CBW....

2) Rooted and began flashing ROMs.

3) CBW came out with the CBW Froyo update, which I flashed and tried (and did a nandroid backup), among MANY other ROMs.

.

.

.

564) Flashed the modXT720 sbf per the instructions and restarted to stock recovery. Applied the update.zip to get to OpenRecovery and updated to CM6.3 RC3.

565) After going back and forth between CM6.3.5 (everything worked except for rotation and market for me) and CM7.1 (very low RAM), I felt CM6.3.5.3 was the best for RAM and other things (except Market still crashing). Each time I got a ROM working fine, I did a nandroid backup. Everytime I wanted to get to recovery, I could do so via the extended power menu or holding the up-volume key during the M logo, and it would enter OpenRecovery.

566) In an effort to get Market working on 6.3.5.3, I decided to nandroid restore the CBW Froyo ROM that was originally ran on a rooted stock CBW 2.1 sbf. Once that nandroid restore completed, I restarted to make sure everything was fine, which it was. It was apparent that it was still running on the modXT720 sbf because the screen rotation was still messed up. I restarted to get to OpenRecovery, but I got stuck in the M logo screen when I was holding the up arrow key. I was able to pull the battery and boot into stock recovery, apply the update.zip to get to OpenRecovery.

I guess my question is, if you are running a ROM that doesn't have the extended power menu that includes the boot to recovery option, do you have to go to stock recovery and apply the update.zip to get to OpenRecovery.

Sorry about the long winded explanation, but it reflects the effort I've put out to get this phone better. I appreciate all the efforts that every dev has spent on these ROMs/updates, because it really has made the phone better.
[Milestone XT720 Android Development] mchlbenner:
Move your present recovery and save your updates and put in new recovery.You need reapply xt720 open recovery after that you should able to get into open recovery both ways.

If you are having ram issues check out my thread on ram fixes its in applications.

Cincinnati bell lied to a lot of people.

The new this phone can be a great phone.
[Milestone XT720 Android Development] Mioze7Ae:
First thing is that Dexter's 1.3 (=CBW2.2) was somewhat notorious for getting stuck at (M) at boot. So maybe that was all that was going on. The other thing you can do is use OpenRecoveryXT720 (just replace the /sdcard/OpenRecovery directory it works fine on modsbf). Then you can use:

OR > Other Utilities > Re-install orbootstrap

That should restore volume-up to enter OR for any ROM.
[Milestone XT720 Android Development] Mioze7Ae:
A method to fix sensors (froyo and gingerbread)

THIS IS OUTDATED: DON'T USE IT

SEE POST #59
[Milestone XT720 Android Development] DarkMD:
Testing new mod with cm6 lastest build... for now work awesome... nice work Mz!
[Milestone XT720 Android Development] luks_p:
Tested with CM 7.2.0 build 12.01.2012 and work great.

Rooting no needed. Androidiani OR works. Great!!

Thanks in advance Mioze.
[Milestone XT720 Android Development] mchlbenner:
Hi all

If you use JY.Daddy cm7 do not flash xt720mod2.

If you do flash it for cm6 and go back to JY.Daddy cm7 you will have to reflash xt720mod sbf for sensors to work with bootfix I found out the hard way.
[Milestone XT720 Android Development] eejin2:
if i flash a rom with the part2 modsbf and decide to try another, should i flash part2 again? or just flash the new rom immediately?
[Milestone XT720 Android Development] mchlbenner:
As long as you stay on cm6 you don't reflash xt720mod2.

If you back cm7 you have to reflash the original xt720mod so your sensors work.

Use cm7 bootfix.

At this time you only can use wupload to download xt720mod.
[Milestone XT720 Android Development] eejin2:
oh... brianlili said bravo is compatible with this, and i finally decided to try this modsbf out. im currently using sbf_flash to flash the first sbf, but my phone seems stuck with the black screen and two white words "SW upgrading...", and in terminal it says ">>waiting for phone:". have i done something wrong? or should i have used rsdlite instead? what should i do now?
[Milestone XT720 Android Development] Mioze7Ae:
Don't forget to use sudo sbf_flash. That gets me sometimes, too. :D
[Milestone XT720 Android Development] mchlbenner:
Hi moize

We got some issues here wupload is only site you can download xt720mod can you move to your gifthub site so we don't lose file the rest of those sites shutdown.
[Milestone XT720 Android Development] eejin2:
i think i did that already. here's a screenshot of whats in my terminal... its been around half an hour now, my phone still stuck at "SW upgrading...". will i get bricked?

oh nevermind, i'll just use rsdlite on windows next time. i managed to reboot my phone back into what it was like, so i guess there was something wrong in both the two versions of sbf_flash i had.
[Milestone XT720 Android Development] Mioze7Ae:
No, in your screenshot it's just sitting there waiting to detect the phone. I think you need to use sudo or run as root. Sorry for the late reply :(
[Milestone XT720 Android Development] Mioze7Ae:
New sensor fix

I figured out why the orientation sensor was messed up and here's a sensor fix that keeps the vulnerable recovery intact. It's a small kernel module that corrects inappropriate driver initialization when using Motoroi's devtree.

Basically the devtree partition is a data structure that the kernel reads to get configuration information about the hardware. Since Motoroi and Milestone XT720 use different orientation sensors, the low-level adjustment of the readings don't match. Basically the conversion encoded in devtree for Motoroi is:

output X = -1 * raw Y

output Y = -1 * raw X

output Z = -1 * raw Z

The conversion that's needed for Milestone XT720's kxtf9 is:

output X = +1 * raw X

output Y = -1 * raw Y

output Z = -1 * raw Z

The module goes in and fixes this. To use it just insmod the module. I'll be cooking this into the CM's after a little more testing. I expect this to be safe to insmod on any Milestone XT720 sbf/ROM--some just already have the correct values so the change does nothing.

There are some other devtree differences, but I'm not sure yet which are and which are not harmless. Mostly it seems like Motoroi has more entries than Milestone XT720 (probably related to the DTVB). If the additional information isn't used by the kernel, then it's ignored and harmless.

Source and more details here: https://github.com/CyanogenModXT720...mmit/92267993f39fad2288f4a08a25476a98de646904
[Milestone XT720 Android Development] bagongs:
I'm sorry for the stupid question I'm going to make :o

Is this module already applicable after flashing modsbf part 2? Can it be applied by users/testers (in this case, how?) or it is addressed only to developers?
[Milestone XT720 Android Development] mchlbenner:
I believe any one can try this just remember backup everything.

This how you will learn about how to do this.
[Milestone XT720 Android Development] eejin2:
what are we supposed to do if we wanna try applying these fixes? but wont it be a waste of time since part 2 already eliminates the sensor problem? or should we, the users, just wait for new rom releases with these fixes included?
[Milestone XT720 Android Development] Mioze7Ae:
The sensorfix module and part2 solve the same problem differently. It's harmless to install the sensorfix over part2, but it won't change anything. The sensorfix module is a better solution because it preserves the vulnerable recovery. I personally have reflashed my phone with modsbf and use sensorfix instead of part2.

Adding sensorfix to a ROM is somewhat ROM specific, but you *can* do it yourself if you're comfortable using a root file manager and editing boot scripts. Basically you copy sensorfix.ko module to /system/lib/modules/sensorfix.ko and then you need to configure the phone to load the module by running:

insmod /system/lib/modules/sensorfix.ko

On CM6 and CM7 we put this code in /system/etc/rootfs/init.mapphone_umts.rc where we load other modules. Other options are creating a script in /system/etc/init.d or modifying /system/bin/sh_hijack.sh. This will be included in the next CM6 build and I hope it will be in fjfalcon's next CM7 build.
[Milestone XT720 Android Development] fjfalcon:
It's already in last cm7 build, thanks to you Mioze7Ae.
[Milestone XT720 Android Development] luks_p:
The download link for the Xt720mod.sbf was expired. Is there another download link..?

If not, may i mirror it?
[Milestone XT720 Android Development] DarkMD:
can someone share a mirror for the modxt720.sbf
[Milestone XT720 Android Development] 3rdstring:
Mirror
[Milestone XT720 Android Development] mchlbenner:
Thanks a lot I move this twice and they have shut down the site.
[Milestone XT720 Android Development] LibertyMonger:
So hey guy's, I totally missed out on this awesome looking little tweak, just to confirm, can I make a nandroid backup of CronosX then flash this then flash CronosX back? I have read the instructions and will do so again before I attempt this, just clarifying the jist of this. So basically it will give us 250mb free system space? Wow Thanks for this.

***I guess what I really need to know too is the OR with this different than the Mz one we normally use?
[Milestone XT720 Android Development] warrenlday:
I wouldn't worry about the OR, you can change it

after you flash mod sbf, pull the battery and go to stock recovery, apply update.zip and go to OR

now you can flash CronosX or whatever and if you want replace the installed OR with a different one, just replace the files, the next recovery boot will be the new OR you installed
[Milestone XT720 Android Development] 3rdstring:
You can set up your sdcard with Mioze's recovery mod you just need the update.zip fro the OR download in the OP. Make sure you realize that the system & cache partitions are smaller than on the std sbfs, so any ROM you flash will have to be small enough to fit. Also with the smaller cache partition if the ROM your flashing uses memhack (putting the dalvik on /cache) you'll run out of cache memory long before the data patirtion fills up.
[Milestone XT720 Android Development] LibertyMonger:
So I flash it with RSD lite? and would you recommend it with Brianlili's CronosX?
[Milestone XT720 Android Development] Mioze7Ae:
Yes, you use rsd lite and then boot immediately into stock recovery and apply update.zip

To check compatibility, run

df -h /system

And

df -h /cache

/system must be less than 169mb used and /cache must be less that 50mb used. I would keep at least 10% of /system free.

You'll also have to add sensorfix.ko if it's not there (it's in fjfalcon's cm7 but I haven't checked cronosx). Fjfalcons's cm7 works well with xt720mod.sbf. I expect the same for cronosx.
[Milestone XT720 Android Development] space4ace:
Unless I'm way off here, I think cm9 will not work with xt720mod.sbf

Right or wrong?
[Milestone XT720 Android Development] warrenlday:
I'm running CM9 on mod.sbf
[Milestone XT720 Android Development] space4ace:
Sorry about that. I was told it doesn't work.

Thanks for the info. I'll flash it tomorrow.

You're using fjfalcon's cm9?
[Milestone XT720 Android Development] mchlbenner:
It is a different or. move open recovery off main sdcard save your updates.

Install or then install modsbf if will not boot after done go to regular recovery and click on updates that will take you to open recovery.
[Milestone XT720 Android Development] warrenlday:
I couldn't get that one to boot

I tried mchilbenner's and right now, I'm using jydaddy's last one
[Milestone XT720 Android Development] mchlbenner:
When I was testing flfalcon cm9 it would not boot on xt720mod sbf.
[Milestone XT720 Android Development] LibertyMonger:
This might be a dumb question, so can I add the sensorfix after i flash the CronosX?
[Milestone XT720 Android Development] mchlbenner:
Yes

Make sure you use the Korean bootfix.
[Milestone XT720 Android Development] Mioze7Ae:
You can use the open recovery you've been using. But it is vital that you have /sdcard/update.zip You can get it from the OR in mchlbenner's OP or from Skrilax_CZ's original OpenRecovery or from Androidiani. It's what Milestone A853 uses instead of orbootstrap. This is how the original OpenRecovery and Androidiani works on Milestone A853. I removed update.zip from OpenRecoveryXT720, though because it had been completely useless to us since our normal stock recovery rejects it and we required orbootstrap (which uses /sdcard/OpenRecovery.zip instead) -- this was before brianlili told me about the modified sbf.

Also, I don't think you need any bootfix since your ROM already boots. The sensorfix just fixes the orientation sensor. You can fix it later--autorotation is just going to drive you nuts until you get it applied. DO NOT USE THE OLDER PART2 SENSOR FIX I FOUND EARLIER--it's outdated. Use the newer one that's a module.
[Milestone XT720 Android Development] LibertyMonger:
Thanks a bunch guy's, much appreciated. I think I better wait for ICS, try it out before I give my friends XT back. She is borrowing mine til I get a stable enough ROM for her. Can't wait to get mine back! lol. I am not sure what to make final for her, as of now it is CronosX but we are on the edge of greatness and perfection with 2.2, 2.3 and 4.0! Lol One thing we don't have yet is a complete ROM but we will thanks to the few dev's we have. I can imagine the journey you have had with this great phone. I hope you are proud of your work. You probably don't realize how important you are to us and how very grateful we are that you all are still working for the XT720. I know we never thought we would make it to ICS!
[Milestone XT720 Android Development] LibertyMonger:
Ok I am in the process of attempting to flash this and I am stuck at "Please manually power up this phone"??? Help

****I didn't do something right, was stuck "in process" saying I needed to power up manually so I am putting it down til someone can help.
[Milestone XT720 Android Development] space4ace:
Ignore the "manually power up this phone" message. Just watch the phone and, as soon as it starts to reboot after the flash, press and hold the camera and gallery buttons to get the triangle with the "!" so you can get in the recovery menu by pressing the volume up and gallery buttons, and tapping the camera button. Then choose the "update. zip" option. Once in O.R., just nandroid restore or update the ROM you want and then reboot.

On the second message of page 2 of this thread, you have nice instructions from drx64 on doing these steps but I think there's a mistake about the buttons combination for getting in bootloader mode. I Hope that's clear enough. It's pass 2:20am here so my typing and brain aren't the best! So sleepy! :D

Let me know how it turns out.
[Milestone XT720 Android Development] LibertyMonger:
Now it say's Can't open /cache/recovery/command? I click on apply sdcard:update zip and it doesn't do anything. Maybe cause I didn't use the openrecovery folder meant for this? I just used Mz's
[Milestone XT720 Android Development] mchlbenner:
this is the right open recovery for xt720mod sbf.
[Milestone XT720 Android Development] space4ace:
LM: Please follow the exact instructions from drx64 on page 2 of this thread, including copying the contents of the OR.rar file on your sdcard. You can copy the mz o.r. after you're done installing your ROM and making sure it boots.

Let us know if you need anything else.
[Milestone XT720 Android Development] LibertyMonger:
Thanks guys, sorry about the ruckus and the distraction, I think my PC is acting up and may have a bad download of the SBF, it fails now when flashing, so I am redownloading and giving it one more try. I should have left well enough alone lol.
[Milestone XT720 Android Development] space4ace:
LibertyMonger: Glad to see you did not quit yet. :D

It did not work me the first time either. Sometimes, I forget doing one part of the steps and screw things up. It will work, you'll see.
[Milestone XT720 Android Development] LibertyMonger:
I don't ever get a successful flash, it always still says "in Process and "Please manually power up phone". I'm getting aggravated lol.
[Milestone XT720 Android Development] Mioze7Ae:
Just a stupid tip because this has bit me a few times... make sure you're in the bootloader, not the fastboot bootloader.
[Milestone XT720 Android Development] LibertyMonger:
Ok, Yeah where we hold down all the buttons as we press the battery down in? That's how I always did it.

***Also I think I am having issues with my RAM in my PC so that could be it, hopefully not, feeling like an ass making a big ordeal out of a little situation, sorry guys. It's always something that is supposed to be easy that turns out to be the opposite for me lol.
[Milestone XT720 Android Development] Mioze7Ae:
It's volume up + camera shutter while powering on. You don't see the (M) -- it goes directly to bootloader.

Stock recovery is gallery button + camera shutter.
[Milestone XT720 Android Development] LibertyMonger:
Yeah I am in the right recovery, is it supposed to end with the result being "pass"? It goes through the whole process then goes through the "phone is rebooting" then when it gets to "executed 10" is when it says "please manually power on your phone". I never get a finished "pass" result.

***SH$T Nevermind fellers I think I got it

---------- Post added at 01:17 PM ---------- Previous post was at 01:07 PM ----------

What about the clockworkmod.zip in the updates? do we flash that? Also I can go back to Mz's recovery now right? And one more thing I think, what about flashing nandroid backups now that are over 170mb's?
[Milestone XT720 Android Development] mchlbenner:
AThis mod will not boot so it will never pass after it get to 100% boot phone manually simple unplug and pull battery go to motor recovery and click on updates.

It will take you to open recovery

You can back to your open recovery but don't change your update.zip .
[Milestone XT720 Android Development] gera_nium:
okay frenz, this is the thing i do with xt720mod sbf. if i want to have cm7 by fjfalcon.

of course u need the mchbenner OR in the sd card. put your updates (eg cm7 fjfalcon

and bootfix for cm7 in OpenRecovery>updates)

1. flash xt720mod sbf with the rsd lite. then wait until rebooted 100%. the rsd lite

will notify you need to manually restart the phone. (you will see M hang like that)

2. unplug phone from the usb cable. pull out your battery. drain the 'source' by

push+hold power on/off button about 5-10 sec.

3. put back your battery into the phone and push power on/off button. then

push+hold the 2 buttons (gallery and camera shutter buttons) until you see the

triangle marks. release the 2 buttons

4. then push volume up and tap the gallery button. then you will get into android

system recovery <2e>. then wipe the 2 data and cache.

5. finally update the update.zip. your will get into OR later
[Milestone XT720 Android Development] LibertyMonger:
Ok now my storage says I got 259mb with 163mb free. All my apps loaded automatically I guess from my sdcard. So when I go to copy the sensorfix.ko it won't copy cause it says ony 32kb free. What a mess I made this morning lol. I'm not sure what to do now. I don't understand where all the space went.
[Milestone XT720 Android Development] mchlbenner:
this for flflacons cm7 sensor fix.

the Korean senor fix is for any j.y.daddy cm7 extra.

the cm6 fix came from moize.
[Milestone XT720 Android Development] Mioze7Ae:
Run

df -h > /sdcard/space.txt

and post /sdcard/space.txt
[Milestone XT720 Android Development] Mioze7Ae:
fjfalcon's CM7 doesn't need a sensor fix. It's been compatible with xt720mod.sbf out-of-the-box for a while now.
[Milestone XT720 Android Development] LibertyMonger:
I got in over my head today, wasted a whole day lol. Sorry guy's. I deleted this post because of how stupid it was lol

---------- Post added at 03:55 PM ---------- Previous post was at 03:36 PM ----------

One final question and then I will stop, are we able to flash nandroid backups since they are over 170mb's? That seems like it would cause problems.
[Milestone XT720 Android Development] space4ace:
That part is weird. You should get more space then that. Unless you have too many apps installed on your internal memory maybe?
[Milestone XT720 Android Development] LibertyMonger:
I give up, can't fix the sensors and it doesn't seem to work well with CronosX unless I did it wrong. Hey Brianli, are you using modsbf with CronosX? I guess I will wait a while for this on a more developed ROM this is just over my head right now lol.

***EDIT As I was typing this I fixed the sensors! Lol. I used ROM Toolbox
[Milestone XT720 Android Development] space4ace:
LM: It's about time! :D

But seriously, I'm glad you got it going.

I was using it also but, when I heard that it doesn't work with fj's cm9, I decided to flash CBW again. I think it has to do with not having enough internal or system memory, or something. :confused:
[Milestone XT720 Android Development] LibertyMonger:
Yeah I am rusty as heck lol. I don't have my old PC with all my old programs and androidsk and I haven't fooled with any of this in so long I totally forgot the simple things lol. But system space was full after flashing CronosX then Gapps, it left only about 20k of space left, not enough for the sensorfix.ko file so I moved adwLauncher. The real bad thing about this mod is not being able to flash nandroid backups? Or am I wrong?
[Milestone XT720 Android Development] 3rdstring:
A nandroid will still work, it just has to fit.