yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] FandangoL:
Finally I did it (ART vs Dalvik)

Hello,

I tried last weekend to activate ART runtime on this ROM with success.

I know that Maxrcox89 doesn't like ART runtime but after all is actually the only way to give a last breath of life to our beloved S2.

Maybe programmers should concentrate more on software optimization that in introducing new features but this is business and so many application/games that I use since long time were too slow after upgrading to latest versions.

Actually I see only some crash problem during gaming, but I'm a casual gamer and I use Titanium backup every night to avoid problems, so no scare about that.

On the opposite side the phone is usable again. No more lags on answering a call, waiting for photo associated to contact, no more lags in gaming.

I only had to uninstall G+ because of a huge battery drain (52% battery used) and I had to move some application of the internal SD because not working and crashing of the External Sd. A clear data on the camera application and that's all!

Actually I only miss the Exynos drivers (blame on Samsung!).

Since yesterday I had to reboot once the phone, but I'm not sure if depends on the ART runtime, because I always had similar freeze of the screen in the past (more or less one reboot a day).

I read that Marcox89 is working on a promising upgrade of the ROM (about what?) and the JustArchi thread about the ROM optimization is promising too.

I hope that ART support became mandatory on 4.4.3 and that such version will be supported by our beloved ROM handlers.

S2 continues to be the best smartphone never made in my opinion.

The king is not dead! Long life to the king.
[Galaxy S II Android Development] highdiver_2000:
You are very patient. One reboot a day would have driven me nuts!
[Galaxy S II Android Development] eminem_b:
Is there a chance we get a link on first page with MS7 modem?
[Galaxy S II Android Development] Markox89:
:confused: :confused: :confused:
[Galaxy S II Android Development] eminem_b:
Oh, darn it! I thought it was the modem's version, sorry...
[Galaxy S II Android Development] CRXed:
Problem found and I made my own build to test and can confirm it now works again for me. I have submitted a revert patch: http://review.cyanogenmod.org/#/c/64720/

Hopefully the CM team will accept it.

EDIT: a better fix was proposed in my patch, it's already merged so hopefully tomorrow's nightly will have this fixed
[Galaxy S II Android Development] SomeFormOFhuman:
Thanks mate. Hopefully Mark will make a new build based on this. :silly:
[Galaxy S II Android Development] seanp25:
I've a question about media scanner.

I have a music folder on my external SD card, but I can't get media scanner to see it so none of my music on the SD card shows up in most music players. Poweramp has it's own scanner, which does find the SD card music.

Anyone seen this before?
[Galaxy S II Android Development] Redsandro:
Seems to be Google Maps. It NEVER gets a GPS lock. Other apps do. I'm confused.
[Galaxy S II Android Development] Markox89:
I cooked something special...

I9100 EXPERIMENTAL 20140527 is UP! :cool:

Changelog:

This build is synced with today's official nightly

It's cooked with a brand new secret spice!

Known issues:

exFAT support broken - I'll provide a recovery zip with the workaround for restoring it asap

Cannot make phone calls - Definitely working on it

I need feedbacks :)

Don't worry, in due time I'll reveal what the "secret spice" actually is ;) :angel: :cowboy:
[Galaxy S II Android Development] djthorne:
First impressions - very good. No idea what you've done, but all very smooth and responsive. Will update if I notice anything (good or bad!).
[Galaxy S II Android Development] Markox89:
Me neither, but it tastes like ham! :silly: :D
[Galaxy S II Android Development] djthorne:
Just noticed my SD card isn't registering properly. 32Gb card, exFAT, was working ok before the upgrade now shows as 0.0B total with 0.0B remaining.

I'll go back to the previous build and see what happens...
[Galaxy S II Android Development] Markox89:
Mine works fine (still good old FAT32), but let me know...;)
[Galaxy S II Android Development] SomeFormOFhuman:
Same here mate. Both External and Internal storages aren't mounted as they're formatted as Exfat. Seems like it only works for FAT32? I'm doomed. :(
[Galaxy S II Android Development] Markox89:
Ok, so for now we've lost support for exFAT.

Let's move one and find other issues, if any ;)
[Galaxy S II Android Development] djthorne:
Went to do a restore from recovery and couldn't mount SD. Chucked it in my PC, it found errors and repaired, all my data there. Put back in phone and same again - 0.0Bytes.
[Galaxy S II Android Development] SomeFormOFhuman:
1. Format your SD card as FAT32 or get another SD card that is FAT32

2. Copy/Paste your previous build in there from your PC (I'm using May 17th in this case), go to CWM, wipe data and reinstall everything from scratch.

3. Once booted to the homescreen, turn off your phone, reinsert your original SD card formatted as ExFat, boot to CWM and do a restore from there. Just did mine. :good: All back to normal now.
[Galaxy S II Android Development] Markox89:
[MENTION=5336800]djthorne[/MENTION], [MENTION=4798442]SomeFormOFhuman[/MENTION], may you see if today's official nightly has a working exFAT support?

And do not worry about Windows saying your sd has errors, it's always like that according to it... XD
[Galaxy S II Android Development] SomeFormOFhuman:
Sure mate, I'll test CM's latest build on my N7000. They're both Exynos 4412 devices so should run on the same setup. :good: Now restoring my I9100 via TWRP. :p
[Galaxy S II Android Development] sharp87:
Running official 27/5 nightly build and never had problems with exFAT support

Sent from my GT-I9100
[Galaxy S II Android Development] Markox89:
Dear testers...

...I'm working on a workaround for restoring the exFAT support: it will probably take the form of a CWM zip for now.

I'll add it to the build post as well when ready ;)

EDIT: [MENTION=5336800]djthorne[/MENTION], [MENTION=4798442]SomeFormOFhuman[/MENTION], and all the other exFAT user, if you install the Experimental build and after the attached zip, exFAT support should be restored. Let me know :highfive:
[Galaxy S II Android Development] drdays:
I hope this secret spice gets rid of the nasty daemon bug for good! :)
[Galaxy S II Android Development] Karpfenhai:
But you are actually able to see those files via explorer right?

I wonder if there is a .nomedia file somewhere... take a closer then.

[MENTION=228794]marko[/MENTION]x, I bet the secret spice is something I'm running on since 3 days [emoji16][emoji12]

I recommend to briefly verify the phone can still make calls!

Regards

Tapatalked from my Galaxy SII
[Galaxy S II Android Development] Markox89:
It can't...uff...I don't make calls so I didn't notice this in the first place...solutions maybe?

I saw your posts in the Carbon ROM thread... :(

EDIT: some nice guy may test the Experimental build and report back about phone calls please? Please, specify if you use Xposed Framework or not. Also, please take a logcat -b radio, will be helpful.
[Galaxy S II Android Development] jgcaap:
Waiting for final version =)
[Galaxy S II Android Development] MikeViller:
no phone service in my area when using the phone ....
[Galaxy S II Android Development] jgcaap:
Me too. Just tried now. But seems pretty fast....
[Galaxy S II Android Development] djthorne:
Too late for me - when I got home I copied over the contents of my SD card and formatted fat32!

Still, thanks for fixing!
[Galaxy S II Android Development] Markox89:
Mmh, looks like this recipe is too spicy for exFAT's and phone call's palate, so I'm cooking it again with less spice, hoping this makes everyone happy :)

I love the ultra spicy taste of the first Experimental Build too...but we also need everything else to be just fine :angel:
[Galaxy S II Android Development] jgcaap:
You know why isn't phone working in this ROM?

Seems so good....
[Galaxy S II Android Development] Karpfenhai:
He is working on it as we speak, be patient [emoji106]

Tapatalked from my Galaxy SII
[Galaxy S II Android Development] Markox89:
Yes, I'm working on it, Karp and NunxPT are keeping me company (don't underestimate this, it's a veeeeery boring work...) and helping me in this :highfive:

The main problem is that "smoothness" and "phone calls not working" are strictly related, so I have to find a way for keeping the ROM as smoothest as possibile and not breaking things...
[Galaxy S II Android Development] Markox89:
Quick update:

In the weekend I'll release this week's build.

BTW, it will not include the secret spice (it was JustArchi's optimizations) because for now it is not stable enough. But don't worry, I'm still working on porting it to my builds making it rock solid :good:

Have a nice day :)
[Galaxy S II Android Development] natalya:
Yea? Thats good man. Thats real good.

Sent from my Markox CM powered GT-I9100
[Galaxy S II Android Development] eminem_b:
Looking forward to your progress with the optimizations! :) I'm really happy that you make an effort to merge them. They'll really be a step forward to making our phone challenging towards other new models with sloppy stock (and some custom) ROMS! ^^
[Galaxy S II Android Development] jgcaap:
I am anxious =))
[Galaxy S II Android Development] Markox89:
Quick update:

A new Experimental build is being uploaded, phone calls are working :D

So, what this build will really contains?

It's fully optimized with -O3 flag (which, FYI, is the main improvement in JustArchi's optimization), but it doesn't have all JustArchi's custom flags because, as you have seen, they were breaking stuff (like...I don't know...phone calls? xD).

The proof of the statement above is: check the size of the build, it's a bit larger than official nightlies, but a bit smaller than the first Experimental build (that was fully JustArchi).

But...magic always comes with a price...!

And what it is? Simple, this new build (and, if your tests will be positive, all the new builds) will lack native exFAT support, because apparently going full -O3 breaks it. But don't be desperate, if you're using exFAT you just have to install an additional CWM zip after installing the build (the one I made for the first Experimental, I'll re-attach it to the post that announces the next Experimental build) ;)

So, I'll really need your help testing this new build, I mean, we need to squeeze it, so we can be sure it's rock solid and this optimization can become default in regular builds :)

Even if he's already mentioned in the special thanks section of my threads, I really want to make another public appreciation of [MENTION=4203241]IAmTheOneTheyCallNeo[/MENTION]: he made the work my builds are based on, and he gave me precious hints while trying to go full O3 :highfive:

So...stay tuned...upload is in progress :D
[Galaxy S II Android Development] Markox89:
I9100 EXPERIMENTAL 20140529 is UP! :cool:

Changelog:

Sync time: 29 May 21:00 GMT +1

Fully -O3 optimized

Known issues:

exFAT support broken - If you need it, you can flash the attached zip right after installing the build :)
[Galaxy S II Android Development] djthorne:
Will download and test now....

---------- Post added at 11:25 AM ---------- Previous post was at 11:08 AM ----------

Looks good - can call, smooth, will carry on testing...
[Galaxy S II Android Development] jgcaap:
Testing. Not as smooth but is smooth. Thanks Bro. Working good
[Galaxy S II Android Development] djthorne:
Yeah I'd say not quite as smooth as the last one, but at least I can make a call!
[Galaxy S II Android Development] Markox89:
The goal is compiling a build smoother than my regular builds...without breaking stuff :p

This Experimental build looks like a good step forward :)
[Galaxy S II Android Development] Mr_S:
Am following this thread with great interest. Good look [MENTION=1597520]Markox89[/MENTION]
[Galaxy S II Android Development] Redsandro:
Since no one can advise me on fixing the GPS in Google Maps, I will just list the unacceptable problems I've had here, and move on

- Google Maps (GAPPS?) broken GPS (works in every other app)

- Skype broken (can't hang up and no audio)

- Contacts broken (cannot use SIPP calls, phone crash).

I'll go back to BAM rom KitKat RC1 because I still have a backup, and I don't have time to experiment with the many many roms out there.

Thanks for all the effords Markox! I'll try again later. CM compatibility makes flashing simple.
[Galaxy S II Android Development] Markox89:
Do you like this? :)
[Galaxy S II Android Development] Listy2021:
Thanks for all the continued time and effort you put in to doing this for us matey :)
[Galaxy S II Android Development] highdiver_2000:
Hi can share SOT?
[Galaxy S II Android Development] Markox89:
Bug reports time!

Goodmorning to everyone! :D

It's about time we decide if -O3 full optimization stays or not, so...I need bug reports :)

Tomorrow I'll compile the regular weekly build, and it will be full -O3 unless...you give me a reason not to ;)

Bug reports against latest Experimental builds will have to comply some requisites:

The bug must not be one of the already known issue

The bug must not be present in my latest weekly build

The bug must not be present in 29th CM official nightly build

If you'll found something with these requisite until tomorrow, I won't implement full -O3 optimization in weekly builds. Yet :p

Thank you in advance to everyone who'll help :highfive:

Sorry, I've shutted down the phone for the night, it was around 2.5 hours, but it's almost a guess...
[Galaxy S II Android Development] eminem_b:
Does full O3 mean full ArchiDroid optimizations?
[Galaxy S II Android Development] Markox89:
Quoting myself like a boss :cool:

So, this is a major step toward "full JustArchi's optimizations", I'll keep working on it with Experimental builds ;)
[Galaxy S II Android Development] MikeViller:
one of the test I just did was to get to the apps menu. the list of apps display very very fast... great work .....

nothing but good for what I do with the phone so far

my construction calculator is working without any delay when pressing number I like it ......
[Galaxy S II Android Development] lammpat:
Working great, but suffered complete freeze while using plume for Twitter. Had to pull battery.

Xposed + go launcher installed, no gravity box.
[Galaxy S II Android Development] Nico_60:
https://github.com/SlimSaber/android_external_fuse/commit/b3ec5cf1e4e46cd5a27ae9809274e9e2105fcd03

https://github.com/SlimSaber/android_external_exfat/commit/2177942e28a20bd743029ed23ac7ba6fa5619e0b
[Galaxy S II Android Development] Markox89:
Awesome! :highfive:
[Galaxy S II Android Development] classicrocker384:
There's a strange app crash when trying to access settings in calculator. Not a major bug, but I've only noticed it in the experimental build.
[Galaxy S II Android Development] cubflyer:
Running new build more than half an hour, very smooth, thanks!

Btw, I am still on exfat.
[Galaxy S II Android Development] Markox89:
And it works, right?
[Galaxy S II Android Development] cubflyer:
Yes, everything fine.
[Galaxy S II Android Development] Nico_60:
he he ;)
[Galaxy S II Android Development] jnetode:
All fine here. I felt a little lag on back button yesterday on the first experimental and I switched to Gustavo's kernel. I am now on today's build with Gustavo's. :)

Enviado de meu GT-I9100 usando Tapatalk
[Galaxy S II Android Development] MikeViller:
one word

excellent :D:o:good::good::good::good::good::good:
[Galaxy S II Android Development] classicrocker384:
All is perfect on new build. Many thanks and keep it up markox!
[Galaxy S II Android Development] jgcaap:
Thank you Markox working good. Had only a small request. Do you think is possible to make an optional possibility of kernel running at 1.4ghz? If yes for me would be perfect. I don't flash custom kernels anymore due to some issues I encounter when flashing such as freezing after a while. Wich works perfect with the main kernel.
[Galaxy S II Android Development] SomeFormOFhuman:
Hot damn, it's been a while since I stepped in here, was busy and didn't know -O3 was already implemented and tested! Gonna download it right away! :good:

Hmm, why would you want to do that? I'm using Apolo Kernel and it has never freeze on me. I use stock settings though. Just grab Dorimanx kernel if you want an overclock. Not sure how stable Dorimanx's kernel is as I haven't tried it for a long time. Worth a shot. I'm happy with Apolo though.

But if you ask me, a 200Mhz difference doesn't seem worthwhile. I used to OC my phone till it reaches 1.6Ghz a long time ago back in GB/ICS days, but benchmarks aside I realised the difference wasn't all noticeable. At least for me.
[Galaxy S II Android Development] Markox89:
Thank you all for your kind words :)

I must admit I'm proud of how this build feels :victory: but I won't stop just because it feels good ;)

It's possible for sure, but OC always lead to a bit of instability, so I have a no-OC policy for my builds. Take for example my P51xx builds: I implemented Dhollmen kernel (because it's very close to stock, but it's kept updated) but removed OC parts :angel:

In addition, I9100 has lots of good custom kernel, you'll find the one that suits your needs :good:

The post above mine has good advices ;)
[Galaxy S II Android Development] cubflyer:
Which version of it do you use? With the latest my efs partition breaks always 2 reboots after flashing it, no Signal and no sim unlock anymore, so unusable:confused:
[Galaxy S II Android Development] highdiver_2000:
The ultimate test is to run it continuously for >3 days, without low battery outage. If it doesn't freeze up , then it is good.
[Galaxy S II Android Development] jnetode:
Good point.

I am steacking with the 26/03. After that I got some instabilities and this one just works great for me, so why change? ;)

Enviado de meu GT-I9100 usando Tapatalk
[Galaxy S II Android Development] eminem_b:
I see there's a V3 of Archi's optimizations, which I do know you're aware of. I wasn't able to find the changes though... :?

EDIT: nvm, I found it:

- Added missing Cortex-A9 CPU variant (-mcpu=cortex-a9) (#1)
- Disabled global workarounds for Cortex-A8, they're applied only when you're targetting Cortex-A8 CPU now (-Wl,--fix-cortex-a8) (#1)
- Optimized for speed also parts which are compiled with Clang (-O3) (#1)
- Strict-aliasing is now enabled only for target ARM, previously: all targets (#2)
- My optimizations don't require a modification in framework_rs anymore
[Galaxy S II Android Development] SomeFormOFhuman:
Hmm, it's been 15 hours and everything here is smooth and dandy. The only gripe I have so far is the auto-brightness. Just this morning when I woke up and the auto brightness got stuck at 6 Lux regardless of lighting condition and I have no idea why. :crying: Just restarted the device and it's good now. Probably just a one off thing with the Lux service. I wish there was a pkill command to restart the auto brightness service without ever restarting the phone.
[Galaxy S II Android Development] SomeFormOFhuman:
Hey markox, something happened again though. There was once I tried to unlock my device and the screen wouldn't come on again. I got an SOD.

I'm gonna try using the official cm11 and see if the issue persists.

Is there a way to provide a logcat for SODs?
[Galaxy S II Android Development] Markox89:
About auto-brightness I have no idea, try to reproduce it if you can :) BTW, as a general statement, I personally always suggest to turn off the phone once a day (for me it's during the night) :good:

I've had couple of these "SODs" in the past weeks...have you tried waiting ~5-10 minutes? For me the phone always came back, I don't have a real SOD or freeze since ages :D

Really, if any of you is experiencing SODs or freezes I really suggest to wait ~5-10 minutes and see if the phone comes back ;)

I think that logs for a SOD can be collected only if adb still works during it :(

Hi, allow me to answer your post here, I don't find confortable in answering into the CM discussion thread :)

CM 11 compiled with Linaro and SaberMod is really faster than official one, you can just flash these builds on top of official ones, so give them a try! Latest one is particulary fast :victory:
[Galaxy S II Android Development] Karpfenhai:
Grab last_kmsg from /proc copy it to sd and see what happens before "Samsung primitive bootloader"

Regards

Tapatalked from my Galaxy SII
[Galaxy S II Android Development] cubflyer:
Never had problems with auto brightness!;)

After running nearly 14 hours the ram got full more and more and even the Main "Settings" App crashed while looking for the ram. I had to reboot, phone stucked more and more... With the old version I had this issue after 3 days and not after a half....:(
[Galaxy S II Android Development] Markox89:
If you have memory issues try Greenify and "Allow purging of assets" in Performance > Memory management menu.
[Galaxy S II Android Development] classicrocker384:
I second the fact that SODs have indeed disappeared for a very loooong time now. thumbs up for this. I used to run load monitor to prevent my phone from sleeping forever. Not anymore :)
[Galaxy S II Android Development] SomeFormOFhuman:
^^ I'd like to clarify that I too also did not have SODs for a very long time. As mentioned few pages back, I run my phone 24/7 (200 hours being the longest) for various reasons (And a personal alarm clock) and never had any random SODs with the previous builds not until the recent -O3 build. Not entirely sure why but I'm gonna debug it. Reason being it's smooth as baby's bum and I love the effort MarkoX has done; damn hell I will not rest my soul until I find out the cause.

Thanks guys. I will report if anything else pops up. :good:
[Galaxy S II Android Development] jnetode:
Google TTS

Hello,

I have a weird issue. I installed the Goggle TTS. It has now also Portuguese(Brazil) which is exactly what I want.

When I choose Portuguese, it appears to apply, it downloads it, but when I leave the screen, it stays on English.

If I try the same with German, it works, German stays.

Last week I tried installing the Carbon ROM. In Carbon, it works fine. I also have Svox Classic and it also works fine.

I tried several ways of uninstalling, installing and last week I did a clean flash, so I figure it has to be some compatibility with the ROM. The same happens on both official CM or Markox89’s ROM (before and after O3).

So, has anyone tried and succeed? If not, could someone else try this? Do someone have a clue of what could it be?

Thanks!
[Galaxy S II Android Development] Karpfenhai:
Hmm, SOD's are often caused by mixing governors, which combo are you using? Do you undervolt you cpu?

Do not go below 950 mv for 500 mhz!

Don't try to set up a different governor for sleeping (like setcpu profiles).

Hope this helps :)

Do a filesystem check for both of your storages.

What else... out of ideas.. Good luck!

Tapatalked from my Galaxy SII
[Galaxy S II Android Development] ajislav:
SOD during unlock

Hi, I had 2 SOD today, during unlocking with a pattern, with the 2nd experimental build. This had happened to me previously on the old non-O3 builds, but not so often (i.e. once per 2 weeks or so).

Could be also caused by my Tasker profiles which change min and max frequency for Screen On and Off..

Just my 2 cents..
[Galaxy S II Android Development] CRXed:
Should not be necessary, Android memory management is good enough on its own.

If you do wanna purge assets, no need for Greenify, because that option is under developer options as well.