yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] smw6180:
Ok, here it is. Sorry it took so long to get this done, but I ran into quite a few challenges.

This is TrevE's EXT4 optimization, but with a twist: After it wipes out all your data it's polite enough to put it all back for you. :)

This is going to need some serious testing but it seems to work fine. Been beating up on my phone for the last hour and I haven't had any issues with any of my installed applications. The only two things I've had to restore have been wifi access points and bluetooth pairings. All settings (wallpaper/lockscreen/homescreen/etc) have been perfectly fine.

Standard disclaimer: If you piss off your phone and it never speaks to you again I refuse to be held responsible. While *I* have had no problems with this I won't guarantee it will work for you. Use at your own risk.

1. I strongly suggest a nandroid before this. While *I* haven't had any problems I can't say YOU won't.

2. You have to be at least on nightly 458 due to the fix_permissions script being busted. If you don't want to update to 458, I can GUARANTEE you will have a TON of FC's after you reboot.

3. Make sure you have at least 1gb free on your SD card. If you're an app-whore make it 2gb free.

4. This might/might not work with a2sd (sd-ext). I don't use it so I didn't test it. Someone else will no doubt figure this out. :)

Instructions:

Flash Synergy_Format_Data_EXT4_Optimized_apps_autorestored.zip

Flash nightly 458 or later.

Reboot.

You don't have to clear cache or dalvik. Just flash in that order and reboot.

This is going to take QUITE a bit of time. For me it's 10 minutes for the backups and another 5-10 for the /data format. The time is going to depend on how many apps you have. Fewer apps makes it run faster, more apps makes it run longer.

Good luck and let me know how it works out for you.
[HTC EVO 3D] NovaFox238:
Sure did, I usually wipe 2-3 times + Synergy Wipe Script. Only thing I can think of is maybe Titanium Backup? But that has never caused phone problems for me before... Im still trying to think of possible reasons.
[HTC EVO 3D] TrevE:
so im a bit dyslexic :p

Nasty man, people should love that until/if we get some options in recovery.

Maybe ill take the fix perms outa the main rom updater, and just let it run if/when you run that "nowipe super ext4 format awesome cool data partition fix", i think that makes the most sense.
[HTC EVO 3D] TrevE:
Sorry, you are limited to five thanks per day --- FUUUUUUUUUUUUUU

You always post too late :p I linked to this from the top of post2, make sure to thank this guy everyone!
[HTC EVO 3D] fernando sor:
Nice work
[HTC EVO 3D] smw6180:
Nah. Fix_permissions is a good thing to run after the ROM updates too. I'd leave it. Just make sure you have the fixed one (you did put in that $CUT to replace cut right?)

lol..no biggie. I just like to make things easier for peeps. Plus you can always pull the backup/restore junk out and use it as part of ROM installs if you want. It'll make the ROM install take bloody forever, but people won't lose settings (most settings) or have to restore after a fresh ROM install. Probably getting a little ahead of myself, but I think that's a decent direction to go in. :)
[HTC EVO 3D] :
I requested it. Sorry for my OCD dude.

Free Dirk!!!
[HTC EVO 3D] EricSS619:
How the hezzel can I get rid of it.... It's pointless.

The worst part is when gps is actually on there are now two gps icons. Not sure how it is helpful.
[HTC EVO 3D] Djay45:
Going to try this now. Will update in 20 min? ;)
[HTC EVO 3D] shad0w77:
that's not gps. gps only shows when it's being used (open google maps to see it). that icon is the "location on" indicator. menu > settings > location setting > on

on stock roms, the icon usually looks like a crosshair reticle. if it's off it had a slash through it.
[HTC EVO 3D] smw6180:
Good luck. ;)
[HTC EVO 3D] CheesyNutz:
i agree it should have been made a separate download
[HTC EVO 3D] CheesyNutz:
yea that's correct it need to vanish lol
[HTC EVO 3D] smw6180:
Anyone else having problems with TwinPic3D? I just get stuck at 'unable to connect'.

Posted about it on the twinpic thread yesterday, but didn't get any replies yet, so I thought I'd check here.
[HTC EVO 3D] MFD00M:
Just so i have it straight...the EXT4 optimizer with the auto /data restore is to be used if you are updating a previous synergy nightly with the EXT4 already set up? Or is it for use when coming from Synergy without ext4/other roms?

I'm assuming you wouldn't want to restore /data from any other non-synergy rom.

I guess my real question is, should i not use the updated EXT4 optimizer with /data restore if i don't have an existing synergy+ext4 nightly set up?
[HTC EVO 3D] shad0w77:
so.... one other thing to remember to update externally when modding code in source control? sounds like a maintenance nightmare to me
[HTC EVO 3D] smw6180:
You don't need ext4 already set up. You can try it when coming from a different ROM, it might actually work. I won't guarantee it, since I didn't test it, but I do seem to remember on the 4G people were nand restore /data with no problems when switching between ROM's.

Nandroid and test it. It won't brick you or anything. Worst case scenerio would be FC's and a wipe/reflash.
[HTC EVO 3D] travisr528:
R458 is downloading sooooo slow. It's going to cause me to leave work late. :eek:
[HTC EVO 3D] MFD00M:
thanks, i will try that later tonight after work.
[HTC EVO 3D] finsmaniac02:
OK maybe I am being dense today but I don't know if I understand.

I typically do full wipes between flashes. Lately (since rev 450 or whenever the ext4 stuff came) I have been doing Superwipe -> manual wipes -> TrevE's ext4 optimizing wipe -> install rom.

I am sure I have done more than enough wipes there, but I like it that way.

NOW... I do want to start not doing full wipes on flashes. I would rather customize my stuff and have it stay that way for a while instead of flashing from new.

I thought that I would just be able to wipe dalvik/cache and flash new rom, but I am confused after this has been posted.

Should you now be running this "ext4 wipe and replace kinda zip" before every flash? regardless of wanting to start over or not?
[HTC EVO 3D] EricSS619:
Hmm, that may be true, but when I toggle gps it does toggle the idicator as well. Do people actually turn on and off their location on setting?
[HTC EVO 3D] smw6180:
You don't need to run this unless you want ext4 optimization for /data and haven't run it before.

If you've run it before as long you haven't wiped /data you don't have to do it again.
[HTC EVO 3D] websterzx10r1:
Flash Synergy_Format_Data_EXT4_Optimized_apps_autorestor ed.zip

Flash nightly 458 or later.

Reboot.

You don't have to clear cache or dalvik. Just flash in that order and reboot.

This is going to take QUITE a bit of time. For me it's 10 minutes for the backups and another 5-10 for the /data format. The time is going to depend on how many apps you have. Fewer apps makes it run faster, more apps makes it run longer.

Good luck and let me know how it works out for you.

Just tired this method on r458 i did not have to restore but 2 applications XDA and PPc geeks. I did not have 2 set up email information as well. have me scracthing my head if it flashed correctly due to me always having to re enter my info after flashing a new revision. It went thru all the get something to do for the next 10 minutes or so.
[HTC EVO 3D] TrevE:
You guys see this?

http://www.xda-developers.com/android/htcs-statement-regarding-ciq-data-collection/

My response to HTC i really want to get answered, please make sure its seen!
[HTC EVO 3D] mikedavis120:
Bam... The quest for 4k... Cause I can and I'm bored
[HTC EVO 3D] wase4711:
worked perfectly; had to reinstall one app, but that was it!

nice work, bro!
[HTC EVO 3D] DCLocal:
+1 to ditch the location indicator. Would love it to be a separate flash to either enable or disable it.
[HTC EVO 3D] toneman1984:
I can get 3000 with dual core kernel, ext4 /data optimized, dconfig set to performance, and setcpu set to performance. How did you get that score?

you know cuz it's just for fun and science
[HTC EVO 3D] jlear3:
I get over 4k running that setup. Pics are in this thread somewhere, just fc apps that you aren't using. Current Max on 1.8 I'd 42xx

sent from a double barreled shooter
[HTC EVO 3D] danaff37:
Trev, I think they are trying to say it collects all that data no matter what, but the opt in is when it asks if you want to send the data, just like windows error when it asks to send data.

And the GPS icon should be made an option under settings display if at all possible, I think. Would be great.
[HTC EVO 3D] Djay45:
Did exactly as you said to and everything looks good. Only lost wireless & bluetooth connections. Well and launcherpro settings but I have to reset that everytime I flash a nightly anyhow (restore from TiBu). Definitely a noticable difference in speed! Thanks for this script!!
[HTC EVO 3D] TrevE:
funny because i saw those amazon IPs when i wireshared the data from the phone. It runs every X minutes and uploads, or when you open the market the stuff in dropbox gets checked.

Egthunder1 is asking them for rme :)
[HTC EVO 3D] toneman1984:
I'm not overclocking... we can't with 2.3.4...are you saying you're overclocking at 1.8?
[HTC EVO 3D] mikedavis120:
2.3.3 oc and a buttload of tuning I'm going to bed as I work nights ill pm u my settings if u like
[HTC EVO 3D] mikedavis120:
Oh one more thing can someone post a link for a good copy of quadrant advanced?
[HTC EVO 3D] toneman1984:
Oh ok. Yeah I could do that while overclocking as well. I just wanted to see if anyone could score greater than 3000 using quadrant on on 2.3.4?
[HTC EVO 3D] jlear3:
Oh, soz didn't know you guys were running 2.3.4 lol, I suppose I should have known I was just stoked :P

And yes, I rarely restart at 1.8.
[HTC EVO 3D] toneman1984:
I scored 3000 on 2.3.4 and was wondering if anyone has scored higher on 2.3.4.
[HTC EVO 3D] Im a troll:
Hello,

I think my post got burried late last night. I just flashed r456 on the phone and I am wondering if this is normal or messed up.

From stock to r456 I had the following things happen:

1) The ext4/dat optimize took less than 20 seconds ( I thought TrevE said it should take a while).

2) After I flashed r456 there were no icons/ widgets or anything on any of the home pages.

3) I put the phone in airplane mode and did the titanium restore and everything looked like it was before, however, when I took it off airplane mode, everything disapeared again! ???

4) I restarted (full power down then on) and set weather as the lockscreen but it will not take, and neither will any of the other choices.

5) I have no icons on the lockscreen and can not add any (I choose them and they do not appear- it is just empty except for the slider ring

6) Every scene I switch to is completely blank on the phone.

Is this normal or did I F this up somehow?

Thank you!!!
[HTC EVO 3D] Neogenx:
Not sure if the actual ext/data opt takes awhile or not - it took maybe a minute or two? But when flashing the Rom the beginning portion where it does the format and what not took much longer than normal - maybe that is where he's talking about.
[HTC EVO 3D] Im a troll:
That makes sense- I just remembered his "have popcorn ready" comment lol

Any thoughts on the other point? Is that normal? Did you experience that?
[HTC EVO 3D] websterzx10r1:
This is what i am getting on r458 using this method. Instructions:

Flash Synergy_Format_Data_EXT4_Optimized_apps_autorestor ed.zip

Flash nightly 458 or later.

Reboot.

Dconfig set to userconfig. closed all applications on my phone as well rebooted phone as well. My SDcard Max 7595.26MB Free: 2780.82MB. its the standard 8GB that came with phone?:mad::(
[HTC EVO 3D] smoley:
I'm getting nearly identical scores
[HTC EVO 3D] danaff37:
Yeah, I wasn't saying that was the case, just that it was their claim. Bunch of BS if you ask me.
[HTC EVO 3D] DevalB:
I have a suggestion, can HDR camera mode be baked into the next nightly build? I've seen a few other roms floating around with that mode, so just asking.
[HTC EVO 3D] :
458 is smooth over here. I won't be updating for months.

Free Dirk!!!
[HTC EVO 3D] coolchris305:
LOL ok extremly stupid question I know, but I culdnt shazzam it...what is the name of Band/name of the songs in the ringtone list titled VR1 and VR2!! Culdnt find the answer on my own LOL e

Edit: nevermind found it!
[HTC EVO 3D] rwenterprises:
I could use a bit of help here, I've somehow lost the ability to get normal 3g speeds with all versions of 2.3.3 and 2.3.4. I've reverted back to every radio and wimax combination, nandroid restored, completely reflashed, different synergy versions, complete factory restore (to synergy of course) still can't get more than about 120 kbs up and down speeds, anyone have suggestions? It would be greatly appreciated.
[HTC EVO 3D] INebilim:
I am getting force closes on 456 when I try to open sound enhancer... I thought it was resolved earlier? Fill me in please
[HTC EVO 3D] smw6180:
Yeah for whatever reason I keep having to install XDA.

Glad it's working.

Try it with the wipe version then reinstall your apps. See if it makes a difference. My quads are in the 2700-2800 range, but they were that way before I started mucking with that script of TrevE's.
[HTC EVO 3D] alexv59:
2.3.4 over 2.3.3

Hi, I've been looking for but I can't identify a clear answer. It's probably because ever since my accident I have not been able to process to much information efficiently (minor residuals from a brain injury).

Anyway, I would be much appreciative if someone can answer my question or point me to where I can get my answer.

Can I install the latest SVN for Synergy over a 2.3.3 base? Would it be as simple as a superwipe, EXT 4 optimize then the ROM? At this point does this ROM come with the kernel baked in? I'm currently on Virus's Airbourne.

Thank you much!
[HTC EVO 3D] coolchris305:
Did you update your PRL by any chance? The new PRL that some people updated too killed 3G for some...check the first post...
[HTC EVO 3D] polo79:
i wouldn't if i didn't absolutely have to.
[HTC EVO 3D] rwenterprises:
Yes I did update the PRL as well as the profile, thanks for the tip, I'll check the post.
[HTC EVO 3D] polo79:
I have asked a couple times and haven't gotten a response but is anyone else not able to turn screen off/on animations to off? If someone could try turning off your animation just to see if it changes that would be awesome. Thanks!
[HTC EVO 3D] phibetabeast:
I'm running 456, my weather doesn't show up all the time and I don't think my gmail is working has anyone else had this issue, can anyone help me.
[HTC EVO 3D] polo79:
what do you mean your weather doesn't show up? and why don't you think your gmail is working?
[HTC EVO 3D] EricSS619:
Where is that option even listed, I don't think it exists.
[HTC EVO 3D] :
458 fixed that.

Free Dirk!!!
[HTC EVO 3D] polo79:
settings-display-animations

set it to "some" shows the screen off only and the "off" has neither animation.
[HTC EVO 3D] phibetabeast:
Since I updated I always have to take on the widget for the e weather to show up. When I turn the screen off it goes away when comes back on when I tap widget. It use to stay on. I haven't received an email all day. And I know I should have received some.
[HTC EVO 3D] Im a troll:
Hi Polo, I know the feeling...I have been waiting on some answers myself.

I followed your directions and my phone says the animations are "off" but I see no difference. Is there anything that it should or should not do specifically that I should look for?

BTW feel free to chime in on my post about if I F'ed up my Synergy install.

Troll
[HTC EVO 3D] EricSS619:
Nope, that's not what the option does for me at least. That option is for window animations.... Easily testable by turning it off and pressing back and then turning it on and pressing back.... You will see the animations I'm talking about.
[HTC EVO 3D] polo79:
well I rolled back to like 400 and each setting is a different screen off/on animation. it also does the window animations you mention.
[HTC EVO 3D] playersnoopy:
If you turn it to No Animations then the little white line animation of a TV screen turning off goes away and just turns black. Some Animations will have this effect on.
[HTC EVO 3D] polo79:
does that work for you now? current version, for me anyway, is not working. they are stuck to On.
[HTC EVO 3D] phibetabeast:
Forgive me guys for my post about gmail and weather app not working after ext 4 update with nightly 456, when I signed in to everything I was on manual sync, not auto sync, now everything is good. I want to thanx XDA they taught me how to trouble shoot this phone. Thank you
[HTC EVO 3D] playersnoopy:
I am on r432 still and has always worked; still works as of now.

I can try flashing the latest in a few minutes and try.
[HTC EVO 3D] smoley:
I'm on latest and it force closes on me as well
[HTC EVO 3D] :
Oh well I think it happens when u flash over. I did a full wipe and it works.

Free Dirk!!!
[HTC EVO 3D] smoley:
Ok I'm gonna do a full wipe shortly before ... Waiting for new svn updates .... Perhaps ext 4 didn't clean everything right ...

Kinda waiting on fixed screenshot...this thing is so smooth and no other errors
[HTC EVO 3D] danaff37:
Just wanted to say I can confirm twrp only tars the nandroid. Forgot to back up my /data/local folder, where in set my bash home and my goodies like vim syntax files and scripts, and wiped to do the ext4 tweaks. So after reading all this about that, I untarred local folder in the data image, and got all my stuff back. Lol Awesome! Glad you guys gave me that idea, would have taken forever to nandroid back and forth to fix it.
[HTC EVO 3D] polo79:
cool. let me know please. I don't want to submit an official issue unless its double confirmed.
[HTC EVO 3D] Neogenx:
TrevE had mentioned when using it.. it's always a good way to Backup stuff with Titanium Backup/Wipe/Synergy Superwipe/( if you haven't - flash the zip file for /data )/then flash the rom for best results..
[HTC EVO 3D] Im a troll:
Can anyone tell me if flashing the new version of this rom from a stock phone should remove all shortcuts/ widgets from all of the home screans in every app.

Thank you
[HTC EVO 3D] LiquidSolstice:
Only if you clear data. If you're only wiping Dalvik and Cache partition you'll be fine. (in theory)
[HTC EVO 3D] playersnoopy:
ok, can't turn off that animation on r460, confirmed.... but at least on r436 you can also confirmed.

on the plus side, reboot to recovery and bootloader works finally :)

but screenshot still no go :(
[HTC EVO 3D] Im a troll:
So if I do the ext4 mod TreV posted and synergy format tool, even with titanium backup ...its gone?

thanks again!
[HTC EVO 3D] ifly4vamerica:
Yes it will be gone because the ext4 wipes your /data partition. The synergy format tool also wipes the /data partition. To fix it you can do this.

TB first then flash ext4, then flash whatever nightly you like (That supports the ext4 cant remember which ones but if you flash the latest you will be fine.). Then restore your TB of apps. Now I go one more step and restore syatem data also. I restore everything but HTC Sense, then after everything else is restored I restore ONLY HTC Sense. The HTC Sense is what restores the homescreen (after the following reboot). Then reboot and presto everything is back to where it was. There is also a new ext4 mod that automatically restores your apps and homescreen, but I haven't tried that one yet.

Caveat: Some people including TrevE do not recommend restoring system data from TB I haven't personally had any problems doing it with the seperate steps outlined above but if you do run into issues just reflash.

Transformer Sent
[HTC EVO 3D] ycats:
I did the ext4 flash, then 458, rebooted...........to install 460, do I follow the same routine or can I just wipe cache and devlik and flash the new nightly?
[HTC EVO 3D] smoley:
i have the same question...i'm doing a complete wipe of everything and starting fresh on 460.
[HTC EVO 3D] smw6180:
Unless you wipe /data (which a factory reset will do) you don't need to run the ext4 optimizer again.
[HTC EVO 3D] cordell12:
ext4 help plz

OK so I am running 318, and dont really want to move up to 2.3.4 So I tried the ext4 for 318 HERE, it seemed to go OK until the market began FC. I wiped market data, wiped cache/dalvik, nothing helped. Oh, I even went into root explorer and set permissions, also removed/re-installed the market, same results FC. Is there a work around, I used the ext4 that backed up my data and restored. I know full wipe works perfect, right?

thanks!
[HTC EVO 3D] smw6180:
Probably. I can't guarantee the no-wipe version will work on anything under 358. it SHOULD, but I never tested it, since I don't use 2.3.3.
[HTC EVO 3D] smoley:
i just did complete wipe and can confirm still force closing
[HTC EVO 3D] smw6180:
Did you try it before restoring anything and it still force closes?
[HTC EVO 3D] smoley:
yea i never use titanium and do a clean install of all apps
[HTC EVO 3D] smw6180:
Try doing an uninstall updates under settings/applications
[HTC EVO 3D] smoley:
uninstall what update?
[HTC EVO 3D] smw6180:
There may (or may not) be an update that has been applied to Market. If you go into settings/applications/Market and there are any that can be removed you'll get a button to 'uninstall updates'.
[HTC EVO 3D] smw6180:
Sweet. Under Nightly 460, I just got close to 3k.

SetCPU set to performance, didn't close any apps, it's my personal usual install. Averages seem to be about 2850 over 10 runs, so I'm not unhappy.
[HTC EVO 3D] smoley:
no updates installed...

and still get the application music (process com.htc music) has stopped unexpectedly. please try again.

all while trying to reach sound enhancements
[HTC EVO 3D] smw6180:
Have you tried a fix_permissions? Admittedly is shouldn't matter since the ROM install does that itself but it's worth a shot.

Either in terminal or adb shell: /system/xbin/fix_permissions
[HTC EVO 3D] smoley:
when i ran it says on files permissions denied.
[HTC EVO 3D] smw6180:
Type su and hit enter first, then run it.
[HTC EVO 3D] mangohorse:
How well does 460 run without doing the ext4, like just doing a wipe cache/dalvik then flashing the 460 nightly over, say 445? Is it then just not optimized or is it a must to flash the ext4 on the newer nightlys? Anyone tried or done it?
[HTC EVO 3D] smoley:
instructions worked perfectly but...

dag still no dice.
[HTC EVO 3D] smw6180:
/system is optimized by default. The only thing that wouldn't be optimized is /data. There IS a performance increase by doing /data as well, but I think you'd be fine just flashing the ROM without the optimization.

Did you reboot after you ran it?
[HTC EVO 3D] smoley:
yea i rebooted...maybe i will reflash yet again lol
[HTC EVO 3D] smw6180:
Yeah I'm about at a loss on this one. Sorry I couldn't help out, I don't know what other options to give you.
[HTC EVO 3D] smoley:
i feel like i'm not getting a good clean flash...i even wipe my sd card rofl...

i do superwipe

ext4

flash synergy

in that order
[HTC EVO 3D] coolcapnc:
Not sure what happened with me. I used smw6180's customized /data optimizer to restore apps and ended up missing about 15 apps. Going to check to see if maybe I just ran out of space on my SD card or something, but I should have had about 5 GB left.
[HTC EVO 3D] smw6180:
Don't use superwipe the next time and do this:

In TWRP/Advanced/Format format everything but SDCARD. Then flash.

I've had a problem with a couple of apps myself. I'm not sure what it is, unless some of them are being stored in places in /data other than /data/app /data/app-private or /data/data. Those are what gets backed up and restored with the mods I made to that script.

I can add to the script if necessary to back up more of /data but I had wanted to avoid backing up everything in /data.
[HTC EVO 3D] coolcapnc:
No worries, I was just curious. Although, after nand restore, I seem to still be missing a few things, so I wonder if I lost that prior to this, haha.
[HTC EVO 3D] smw6180:
Could be. Weirdest one for me is that I keep losing the XDA Premium app every time I flash a new nightly. Almost like it's being stored in /system or something, which I know it can't be. Haven't figured it out.