yashsingh1/xdaforums huggingface dataset:
[Milestone XT720 Android Development] fjfalcon:
I apologize for misleading, swap actually increases the value of free RAM by the fact that makes an application to move its memory to swap, freeing up ram. Frequency of use of the swap depends on the value swappiness, when i was editing scripts in init.d in all mods i set it's value to 100, don't know how about it's now.

Will check now on cm6.3.0

In cm 6.3.0 it has value 60... i think we should change it to 100.
[Milestone XT720 Android Development] LibertyMonger:
No problem man, Thanks for clarifying. I'm just a user don't know too much science about the stuff! lol.

So I am going to backup my CM6 for this sdcard with partition ext3 and switch sdcards to my one with ext4 and Flash sbf back to 2.1 and start over then restore my apps with titanium backup and see what happoens? Before I do i guess looking for a little advice. Should I use cbw or singapore or korean? Or does it matter? Also place Fjfalcons ext4 update on sdcard? Thanks in advance.
[Milestone XT720 Android Development] fjfalcon:
ext4 update - just unzip it to /sdcard.

Btw you don't need to reformat sdcard to ext4.

In linux(or livecd with it) in any terminal type

su -(or sudo -s)
tune2fs -O extents,uninit_bg,dir_index /dev/sdb2 (your device maybe another, to get info about see fdisk -l )
fsck -fDp /dev/sdb2
mkdir /mnt/flash
mount /dev/sdb2 /mnt/flash
find /mnt/flash -xdev -type f -print0 | xargs -0 chattr +e
find /mnt/flash -xdev -type d -print0 | xargs -0 chattr +e
umount /mnt/flash
[Milestone XT720 Android Development] ronnbon:
after two? days on cm 6.3.0 my phone is getting slower and slower although theres at least 58mb ram.

I cannot play angry birds more than three minutes than the phone freezes. And sometimes I cannot even open the appdrawer- it closes at once and I have to try several times again.

but I just downloaded the hotfix- will try if that change something...:(
[Milestone XT720 Android Development] fjfalcon:
http://www.xt720.ru/Files/Patchs/update-cm-6.3.0-hotfix-swap.zip

Hotfix for swappiness 100

btw, i have with it 90 ram free=)
[Milestone XT720 Android Development] LibertyMonger:
I hope I did this right, I install thru O.R. update and it said

E: Can't mount /dev/block/mmcblk0p2 (No such device)

***After reboot I was showing 86mb free then reboot with boot2.img I was showing 96mb free :-)

***And then just for fun I quick rebooted and it shows 101mb free! Ha nice!
[Milestone XT720 Android Development] fjfalcon:
Ignore that error, it does nothing.
[Milestone XT720 Android Development] LibertyMonger:
I couldn't get this to work it says unknown option? (I really hate having you all hold my hand by the way lol. I want to learn this stuff it's just so much with little time.)

So i want to keep my ext3 partition on one sdcard for the XDA Special ROM, (but I think we will have ext4 there as well), and I will use a different sdcard already partitioned with ext4 so can i just pop the new card in and wipe data/factory reset then restore cm6 and it will be fine and working? Or do I need to do anything extra? I unzipped the ext4 update to sdcard. or do I need to do it the way you say fjfalcon?
[Milestone XT720 Android Development] fjfalcon:
That method for ext3 to ext4 convertion.

If it says about unknown option try to use

tune2fs -o extents,uninit_bg,dir_index /dev/sdb2 (your device maybe another, to get info about see fdisk -l )

Don't forget to copy openrecovery files to new sdcard... And it should work normally.
[Milestone XT720 Android Development] LibertyMonger:
ok, This is probably another stupid question, I copy the openrecovery files to sdcard, then it writes over old, and I lose A.O.R. How do I do this effectively and keep A.O.R.? lol sorry if it's a stupid question.

Also I couldn't get those commands to work to convert ext3 to ext4. And did as you said to check device but I couldn't see it or understand it. Sorry again.
[Milestone XT720 Android Development] newbkilla:
Do you all constantly have high free RAM numbers? Like, I see people get up to a 100, is this a constant number? I get up to 70 some times, and most of the time its a constant 30-40. Before you flashed through the OR update process, what rom did you guys have? Default 2.1? Or another rom on XDA here?
[Milestone XT720 Android Development] LibertyMonger:
The numbers I posted is just at startup from reboot or quick reboot. after it settles and apps start up it drops to between 50-80 but still really good, better than what I'm used to but I have only been running it for about a half day. From my experience with all the ROMS here these numbers seem to drop after a few days. I've heard talk about memory leak or something. After fastbooting boot2.img and then doing a quick reboot It started up with 101mb free RAM. So no it isn't constant, it just shows me how much different and better this ROM is by comparing those startup numbers. That is the most consistent to compare.
[Milestone XT720 Android Development] LibertyMonger:
my ext4 partition isn't working. None of my apps moved. Not sure if I am missing something.
[Milestone XT720 Android Development] 3rdstring:
I think fjfalcons OR patch allows OR to "see" the ext 4, not enable apps2ext.

Did you apply Mioze7Ae's patch? If so I think you need to create the /app directory for apps 2ext with the patch.
[Milestone XT720 Android Development] LibertyMonger:
Yea I did all of that. Does anyone else have ext4 working? If others have it working and I don't then just ignore me lol
[Milestone XT720 Android Development] Mioze7Ae:
ext4 is working for me but it doesn't work entirely in fj's openrecovery for me. Some places it seems to work, but not in others.

I usually just rename the OpenRecovery directory to OpenDirectory.old to try a different one.
[Milestone XT720 Android Development] LibertyMonger:
So one more question for the night, my ext3 partition is saying I have 87mb free when I usually have about 144mb free, 3rd answered me but not sure if he was sure so I want to ask you to Mz since you are the creator, does that seem right? with the new a2sd just so I can be confident I have that one working right. Thanks man.

Ps... I have my autokiller set to aggressive, using the boot.img and autokiller is working the best I have seen holding firm at about 80mb free RAM! for now anyway.
[Milestone XT720 Android Development] fjfalcon:
In bash scripts it's everywhere changed.

And /sddata mounted with /dev/block/mmcblk0p2.

So, problem probably in binary.

Will try to find in source any ext2/ext3.
[Milestone XT720 Android Development] DarkMD:
Im using this rom with 1.1ghz@75vsel with boot5.img... and i have a constant quadrant benchmark of 1300-1400

GOOD JOB!

P.D: the camara doesnt have 8mp WIDE
[Milestone XT720 Android Development] newbkilla:
Is there an updated market to flash? And is the camera app buggy for anyone? I cannot get more than 1 photo out of the app without it crashing. (so i use camera 360)
[Milestone XT720 Android Development] fjfalcon:
http://xt720.ru/Files/Patchs/or-147-xt720-fix2.zip

Recompiled with ext4 support.

Now works everything.

Cheers.
[Milestone XT720 Android Development] eejin2:
camera

hi Mioze7Ae. ive been using this cm6.3 rom for a while now and its been extremely stable and has a pretty good battery life. the camera apps takes good pictures and when i adjust my phone to portrait, all the icons do too. but when i go to the gallery to view the pictures ive taken in portrait mode, they all are taken as if it was in landscape mode, so i have to turn the phone so that it is horizontal to view the vertical photo, or have to manually rotate the photo in the gallery. just saying cos its kinda annoying. the rest of the rom is great:D
[Milestone XT720 Android Development] JiroPrinz8:
Hey FJ, thanks for this one, haven't really tried EXT4, but I want to, thus the question:

Can I reformat my SD card (which currently has an EXT3) to have an EXT 4 partition and just copy over all the files that I have in my EXT 3 partition? Will it work or will it break my current setup? Thanks!
[Milestone XT720 Android Development] fjfalcon:
You can just convert ext3 to ext4, i already posted commands to do so in any linux distro that supports ext4(i think already have it)
[Milestone XT720 Android Development] JiroPrinz8:
Got it.. Thanks! Oh and one more thing, flash update first then run the commands? or the other way around?
[Milestone XT720 Android Development] fjfalcon:
run commands on linux distro with cardreader.

Then just unzip archive to /sdcard root
[Milestone XT720 Android Development] JiroPrinz8:
Ok tried the commands and it says:

Invalid mount option set: extents,uninit_bg,dir_index

Any ideas ..?
[Milestone XT720 Android Development] fjfalcon:
tune2fs -o extents,uninit_bg,dir_index /dev/sdb2 (your device maybe another, to get info about see fdisk -l )

try this.
[Milestone XT720 Android Development] peshovec:
fjfalcon way of converting has also and educational value. thanks.

usually i like to make some backups...

from openrecovery shell:

cd /sddata
tar -cf /sdcard/ext.tar ./

after that, the partition can be reformatted (file system type can be changed etc.)

the restore is:

cd /sddata
tar -xf /sdcard/ext.tar

this backup and restores are on the file level (and preserve the symlinks, ownership and permissions), so they are independent of the file system type*

*remark: the ext family of file systems is assumed

p.s. it will be generally good idea, to backup the vfat partition too.

And when repartition the sdcard, to make sure the partitions will be aligned

here is a quick link about the need of aligning:

http://www.linuxplanet.com/linuxplanet/tutorials/7218/1

my personal choices are described here:

http://xdaforums.com/showpost.php?p=12599623&postcount=10
[Milestone XT720 Android Development] JiroPrinz8:
:confused::confused:

That's exactly what i used:

tune2fs -o extents,uninit_bg,dir_index /dev/sdb2

And it says:

Invalid mount option set: extents,uninit_bg,dir_index

I'm using puppy linux and it says tune2fs 1.41.11
[Milestone XT720 Android Development] LibertyMonger:
That's what I tried, I don't believe we are doing it right Jiro lmao. I wish I could just backup my ext3 partition to my desktop, repartition, then put my files back to ext4! HaHa I really need to learn this stuff! Thanks fjfalcon, for all your help and patience!
[Milestone XT720 Android Development] fjfalcon:
tune2fs -O extents,uninit_bg,dir_index /dev/sdb2 then

and check that sdb2 is really your flash drive.

btw, why there to options -o and -O.

In some distros works tune2fs -o, in other -O...
[Milestone XT720 Android Development] JiroPrinz8:
I know man, I feel like such a n00b (although I am really) LOL!!

Googled it and i know the command is right, could it be that PuppyLinux is the issue?? :confused: I dunno man, I really want this to work, it's only 7PM from where I'm from and I have no work tomorrow, so this is looking to be a loonngg night for me trying to get this to work lmao!!

EDIT - "O" Ooohh.. Ok,, LOL!! Thanks man!

Worked, and after typing "fsck -fDp /dev/sdb2" now it says "UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY (i.e. without -a or -p options)

Sorry about this man, didn't want to have to ask step by step.. but i'm kinda new to linux and know nothing about this. .(yeah I hear you brotha LibertyMonger) LOL!!
[Milestone XT720 Android Development] peshovec:
may be i have write the post too long and is missed?

http://xdaforums.com/showpost.php?p=16797843&postcount=454

after the backup, you can copy the ext.tar (will be in the root of the sdcard fat partition) whenever you want
[Milestone XT720 Android Development] LibertyMonger:
Oh no bud, I am on my way to work so I am gonna haVE to try this when i get home, plus I am out of thank you's for now so I.O.U.! Thanks Peshovec much appreciated man!
[Milestone XT720 Android Development] fjfalcon:
try fsck /dev/sdb2
[Milestone XT720 Android Development] JiroPrinz8:
Thanks for your patience bud, much appreciated! I think i got it to work, after fsck, it did it's thing and I was able to enter all the commands per your instructions. I've checked in GPARTED and i now have an EXT4 partition (which is labeled EXT3 - i labeled it before LOL)

Turned on my phone, and seems ok, all of my apps are working, specially tested those that I know that are on my EXT partition (games). So i think it's working great! But how do i actually know that it's working fine? sorry if it's confusing.. :D
[Milestone XT720 Android Development] Woody:
So let me ask you this. If I have an 16gb card and make a full back up (system, Data, Cust, Cache, sd-ext). Can I pull that off the card, put it on my PC and them move it over to another card (partitioned the same way as the previous fat, ext3, swap) and restore? Will the ext.tar transfer and work from one card to another as long as I restore the whole thing?

I have a 32gb card that I was using for a long time and somehow got a corrupted file. I backed up and the reformatted the card with same partitions as before and then flashed back. Problem was that it would hang at the boot animation. Not loop, where it would run the cycle and go black and start over, but would just keep running and running and running (I let it run once for 2 hours and never looped). If I re-wiped it would boot up completely. Now if I were to unmount the SD card in settings or even just roboot it cleanly, it wouldn't boot up at all. I would pull battery and open Androidiani sd-ext check and it would show bad blocks and inodes in Lost & Found. Then it wouldn't boot up at all. I just used another SD card that I had as a back up, but I want to figure out how to get my bigger card running again.

Oh an this happened when I went from XDA special to CM6.1

Ideas?
[Milestone XT720 Android Development] fjfalcon:
If it works - then it works... No more variants
[Milestone XT720 Android Development] JiroPrinz8:
Great thanks!! Anyway, can you post a link to boot5.img please? :D
[Milestone XT720 Android Development] B_e_n:
Do you see an improvement of performance???? The apps must be launching faster no???

Can you make a step by step guide now that you know how to do it...

here is all the boot files from fjfalcon
[Milestone XT720 Android Development] JiroPrinz8:
Yes, apps are loading considerably faster, and i feel that the phone's response is more snappier, although this is just me.. i don't know if it does anything to free ram but i now have constant 60mb free at least.. whereas before it always played at 30-40mb.. I'll make a step by step.on how i did it and post it here.. although fjfalcon would be able to make a more detailed guide i think and for sure he can provide support..
[Milestone XT720 Android Development] B_e_n:
Thanks man. I m waiting for your guide!

I don t want to bother fjfalcon for that... and between you and me i understand better when it s explain by a noob like me... (no offense )
[Milestone XT720 Android Development] Mioze7Ae:
Yes. I do this a lot.

To me it sounds like the internal partitions (/data) are in a state that depends on the ext partition but that boots OK when the partition is missing. But that also gets stuck when the ext partition is present. If you have adb shell working maybe try running this:

fdisk -l /dev/mmcblk0p2 > /sdcard/info.txt

ls -l /data/ >> /sdcard/info.txt

ls -l /data/app >> /sdcard/info.txt

ls -l /sdext/ >> /sdcard/info.txt

(take care with the single > and double >>: > erases and >> appends) and then either attach the /sdcard/info.txt file here or PM it to me.
[Milestone XT720 Android Development] fjfalcon:
Mioze7Ae, some users have problems with ext4. They format normaly to ext4(via mini tool and via gparted), but can't mount it.

Just get wrong argument option.

I already checked - they manualy do insmod for 4 modules and trying to mount - get error.

Also, they have it with custom kernel either..

Strange, isn't
[Milestone XT720 Android Development] fjfalcon:
Little fix:

fdisk -l /dev/block/mmcblk0p2 > /sdcard/info.txt
ls -l /data/ >> /sdcard/info.txt
ls -l /data/app >> /sdcard/info.txt
ls -l /sd-ext/ >> /sdcard/info.txt

Here is info.txt from one of user, that can't mount ext4
[Milestone XT720 Android Development] Mioze7Ae:
Doh, it should be:

fdisk -l /dev/block/mmcblk0 > /sdcard/info.txt
ls -l /data/ >> /sdcard/info.txt
ls -l /data/app >> /sdcard/info.txt
ls -l /sd-ext/ >> /sdcard/info.txt

You may be right about initially formatted ext4... I'm using an upgraded ext2 via tune2fs. I'll check some more.
[Milestone XT720 Android Development] Woody:
Thanks fellas. I'll do this when I get home as I left the card on the kitchen table this morning.

But if it was wiped completely and then reformatted to all FAT (for a clean slate) and then I reformatted it to Fat, ext3, swap, shouldn't it work fresh as a daisy? I guess the .txt will tell hopefully.
[Milestone XT720 Android Development] fjfalcon:
Me either.. me either...
[Milestone XT720 Android Development] ronnbon:
I went back to 6.1.2- my phone was nearly not responding anymore. Now its much better- seems to be that apps2sd from 6.3.0 was the reason- at least for my phone? ( I have a class 6 card!)

Still cannot play angrybirds very long but at least I can play it.

Strange- for the most people here 6.3.0 seems to quite an improvement but for me the phone was laggy as hell and good for nothing :confused:
[Milestone XT720 Android Development] spectacle:
Did u do a cache and dalvik wipe?
[Milestone XT720 Android Development] ronnbon:
yes- of course
[Milestone XT720 Android Development] Woody:
Haha. I was waiting for that. Thought you would make it a bit more spicy though. I know you've been around for a long time, since Dexter's first build. I read the threads. I know what is going on.
[Milestone XT720 Android Development] JiroPrinz8:
[GUIDE] Converting EXT3 to EXT4 using linux

Ok, so since I was able to convert my existing EXT3 partition to EXT4, one of my XT buddy B_e_n requested that I post how I did it.

First, I want to say that this is NOT AT ALL possible if it wasn't for the help and guidance from one of our devs here fjfalcon, who is also responsible for the OR UPDATEthat gets EXT4 working for CM 6.3.0 :D

So this is as per fjfalcon's instructions as well. You can convert an exisitng EXT3 partition to EXT4 without reformatting the entire SD card. You can find his original post here.

I used Puppy Linux to get this done, got my sdcard, slapped it on a card reader and captured using puppy linux.

Opened a terminal in puppy linux and ran the FF:

su -
tune2fs -O extents,uninit_bg,dir_index /dev/sdb2* (*where sdb2 is your EXT3 partitions name, depending on what you have)
fsck -fDp /dev/sdb2
mkdir /mnt/flash
mount /dev/sdb2 /mnt/flash
find /mnt/flash -xdev -type f -print0 | xargs -0 chattr +e
find /mnt/flash -xdev -type d -print0 | xargs -0 chattr +e
umount /mnt/flash

A few points to note:

*If you get a "Invalid mount option set: extents,uninit_bg,dir_index" error, after trying to run the first command (tune2fs -O extents,uninit_bg,dir_index /dev/sdb2)try changing the "-o" from lower case to upper case, worked for me.

*If you get a "UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY (i.e. without -a or -p options)" error after running "fsck -fDp /dev/sdb2" then try running "fsck /dev/sdb2" - after this, it will prompt if you want to fix [y/n?] type in Y and enter, then wait for it to finish doing its thing and go back to the # prompt, after this, run all the next commands per FJ's instructions and close the terminal, then hopefully as I did, you're all good. :D

You may check if your partition has already been converted by using Gparted Partition manager also in Puppy Linux. After this, extract the OR UPDATE to your SDCard, either replacing your existing OpenRecovery folder or as MZ suggested, just rename your original OR folder to get this updated one to work. Also, this removes AOR, not sure how to get it back yet, although not really a concern for me as i haven't used any of AOR's extra functionalitiies since I upgraded to AOR, although i'd love to have that option, let's ask FJ ok. ;)

Hope this helps more people like me, again, this is all possible with the help of FJ, if you have more questions I suggest you post them on the thread so we all learn together alright..?
[Milestone XT720 Android Development] Woody:
Nothing, just know that you have been around for a long time and know what is up with your tele. I just see you pop up here and there in threads but mostly when Dexter was making the orginal builds for 2.2. Sorry for the head scratcher.
[Milestone XT720 Android Development] Mioze7Ae:
There's a bug in OpenRecovery/Androidiani's dalvik-cache wipe routine. One work-around is to wipe the whole cache partition (if you didn't do that).
[Milestone XT720 Android Development] Woody:
I am finding that every once in awhile I am having to "reinstall" AOR for some reasons. It is easy to do right on the phone. I just extract AOR3.3 and replace all the files in Openrecovery (except the Updates one b/c it will be overwritten) and reboot. Once I do this, all the options work again (especially wipre Dex and cache).

Also I put a .nomedia file in the Openrecovery folder so as not to get all the recovery pictures in my media gallery.
[Milestone XT720 Android Development] Shadowdancer123:
Try remaking the partitions for your SD-card, kill all of the partitions and then make only two partitions, first FAT32 and then EXT3/4

I found that my SD card cannot support more than two partitions, with three it will bootloop and be really slow. :(

BUT as others have pointed out, I have more bugs than everyone else... -_-
[Milestone XT720 Android Development] ronnbon:
no problem- just thought I missed something ;)

I guess I should try that too and reformat my sdcard also.

thats a great idea- I am really irritated about the recovery images. But how exactly do I get a .nomedia file? I am not that versed like I may appear to you... this is also my first android phone, but not my last...:D
[Milestone XT720 Android Development] JiroPrinz8:
Just go to sdcard/Openrecovery via Root Explorer (or whatever file explorer you use) select Options>More>New File and name it .nomedia and your all set. :D

Unmount/Mount your SDcard via settings to see the changes. ;)
[Milestone XT720 Android Development] ronnbon:
thats easy- thanks!
[Milestone XT720 Android Development] Woody:
Be careful with .Nomedia files though. They are handy, but you surely don't want one in say Albumart, DCIM or anything like that.
[Milestone XT720 Android Development] B_e_n:
Thanks JiroPrinz8 !

I do all your steps but i think my sd ext was so messed up (i don t format it since a few months...) the command make a lot of folder to disapear... And it go on repairing again and again....

So i format my ext to ext4

I copy (and overwrite) the fjfalcon OR update in my sd and throu OR i restore my sd backup

All work now i still have all my apps working! (I came back to the old OpenRecovery but ext4 is working!)

Thanks fjfalcon and Mioze7Ae !!! :D:D:D

Edit: just to test ext4 i run samurai vengeance with out swap and it run well !!!! I don t test without swap on the 6.3 but on others rom it always FC without swap...
[Milestone XT720 Android Development] Zachary57:
Can this app work to enable FM radio : http://xdaforums.com/showpost.php?p=13379669&postcount=1

I saw it work with cm6 but I don't know what is FM chipset on XT720 ?
[Milestone XT720 Android Development] LibertyMonger:
Thanks fjfalcon and Jiro this is what i expected to come home to! I knew you'd get it Jiro! lol. So now I have to sort thru this and figure what all's happenin, I see Mz whipped up some more miracles! lol Thanks Mz!

One good thing I want to mention is I was able to use Voice dialing from bluetooth with this ROM. I haven't been able to use that in a while!
[Milestone XT720 Android Development] JiroPrinz8:
No it doesn't work on XT720, tried it just now.
[Milestone XT720 Android Development] raidontaro:
Can I run Jiro's guide with adb shell su??

I'm on windows.

Thanks
[Milestone XT720 Android Development] fjfalcon:
Once againi get many permision denial after update of some google apps...