yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] CLPose:
Hi! I TWRP and rooted my friend’s XT1032 some days ago (its bootloader was still locked!). I flashed TWRP 3.1.0.0 with SuperSU 2.79 SR3. Currently, its Falcon is in stock LP 5.1 with the following:

*2016-03-01 security patch.

*MSM8626BP_1032.3116.98.00R MOVSTLA_CUST baseband.

*221.201.2.falcon_umts.Movistar.en.AR tefla system.

*LPBS23.13-56-2 compilation.

*Bootloader 41.1A.

Every time the phone boots, it optimizes all apps and it takes some minutes to complete the task. AFAIK, this is not common so I thought I could flash this ROM to solve that problem (“Optimizing apps fix root” [https://play.google.com/store/apps/details?id=in.co.giis.optimisingappfixer&hl=es_419] does not seem to solve the problem). So I want to ask:

1)	Is this ROM unified? I mean, is it compatible with any version of Falcon?

2)	Is this ROM compatible with TWRP3.1.0.0?

3)	Is it pre-rooted?

4)	Which wipes are necessary? I’d wipe cache, dalvik cache, data, and system.

5)	Would Nano Open Gapps work well with this ROM? If not, which one would you recommend?

6)	Are wipe cache and dalvik cache necessary after flashing rom and gapps?

Thanks!
[Moto G Android Development] BryanByteZ:
You get this optimizing things only in this ROM? Just for curiosity your data is EXT4 or F2FS? CM is pre-rooted and the best Gapps is pico.

1 and 2 = yes

4 = Better clean flash wipe system data cache dalvik internal (BACKUP DATA!!!)

6 = no
[Moto G Android Development] GSebas:
Someone have the latest release (cm-12.1.1-20161014-STABLE-falcon)? It's unavailable on Google Drive. Thanks
[Moto G Android Development] stillnoexpert:
I've flasch TWRP recovery for my VK700x (Stock rom) and installed SuperSu 2.82 via TWRP recovery menu. And now I have the above problem with "optimizing all apps" when I reboot.

But, when I root with KingRoot there are no problems with "optimizing all apps" when I reboot.

That's strange.

------------------------------------------

Update:

A downgrade to SuperSu 2.76 fixed the problem. No more "optimizing" while booting.

P.S: It has been said, that 2.76 is the last SuperSU version before the Chinese company took over.
[Moto G Android Development] CLPose:
Oh! Thank you for the tip! :highfive: I don't have the phone with me anymore. The owner has it. When I see him again, I'll tell him about this! If the problem is solved, I'll let you know. Thanks! :good:
[Moto G Android Development] takoa:
+1
[Moto G Android Development] rockchaghin:
Someone has to have it somewhere. I'd also like to try it.
[Moto G Android Development] fonz93:
Hi, that version is still up on GDrive. Because i receveid many mails requesting the latest version, i looked into this, the problem is that someone reported it as abuse (who would do that??!!) and it got blocked by Google, that's why you don't see it anymore, anyway i just mailed the support so that they unlock it, wait tomorrow or tuesday and it will be unlocked, sorry
[Moto G Android Development] koshikas:
just so you know, sturdiest lollipop build from every LP build i tried. running for 10 months+ since last christmas with NO issues whatsoever. only very infrequent fstrim. Thanks loads.

[MENTION=5439829]fonz93[/MENTION] are you still in CM dev team
[Moto G Android Development] mwaluce:
this is right? i dowload this file

cm-12.1.1-20161014-STABLE-falcon.zip.md5sum

has 1kb.

Should not be a zip or img file?
[Moto G Android Development] koshikas:
nope that is the checksum file. the ROM comes as a 300MB+ ZIP file. seems somehow has gone invisible for all other users in GDrive
[Moto G Android Development] LenAsh:
Please ask basic questions in the Q and A Forum for the device rather than disrupting a Development thread.
[Moto G Android Development] juanlc18:
it is gone again, can you share it?
[Moto G Android Development] fonz93:
link updated and moved to MEGA

cheers
[Moto G Android Development] Fonz:
[MENTION=745436]Fonz[/MENTION] and [MENTION=5439829]fonz93[/MENTION] are not the same person. LOL.

Hi Other Fonz!
[Moto G Android Development] Ranaquajaro:
Is it just me or are there only md5sums on the download link? I can't seem to find the actual zip

New build is showing now, sorry about that :)
[Moto G Android Development] fefferico:
Thanks [MENTION=5439829]fonz93[/MENTION]

Thanks it's wonderfully smooth!

Can I just dirty flash it over the previous version 30/01/16? (cache / dalvik wipes only?)

Thanks in advance mate for all your efforts
[Moto G Android Development] fonz93:
Sure, you can flash it over the old build, but you don't need any wipe, if the system needs to, it will rebuild the dalvik cache on its own.

Keep this in mind,

to update from an old build to a new one, you won't ever need to do ANY wipe, this it's for every ROM, not just this one

, cleaning the dalvik cache at each update it's really pointless (and a waste of battery, too), unfortunately there are still peoples that give this suggestion, making this an ordinary procedure, which is not.

Cleaning the /cache partition is even more pointless, because it's almost unused (the applications don't use this partition, their cache is stored in /data), it just contains some CM recovery logs and a copy of our /pds partition, which is 3 mb, it will be recreated if you delete it.
[Moto G Android Development] Sandivisi:
[MENTION=5439829]fonz93[/MENTION] iam now on stock motorola 5.1 asia xt1033, what i need downgrade camera blobs to 5.0. before flashing this ROM?
[Moto G Android Development] fonz93:
No, this is only needed in case you will flash a custom kernel
[Moto G Android Development] Sandivisi:
okay thanks. and what recommended recovery for flash this ROM? TWRP or recovery on your google drive files?
[Moto G Android Development] fonz93:
The one you like, i use CM recovery
[Moto G Android Development] Fyahipoh:
Sorry for the spam

it would be possible you could do this for moto e (condor) if you have some free time :confused:
[Moto G Android Development] fonz93:
Maybe, but it will be untested because i don't own the device
[Moto G Android Development] Fyahipoh:
well thanks anyway!
[Moto G Android Development] mahadev111:
Very good rom.i want to know if latest snap camera of cm 13.0 can be added to this rom or not?
[Moto G Android Development] fonz93:
Yes, it does

Most of the features won't be supported because i didn't implement the camera wrapper and i don't know if i ever will, i am not planning to do so. (It's just a copy-paste from cm13, but this is a stable ROM and snap camera is still under developing)
[Moto G Android Development] Sandivisi:
will be better if you build cm13 too [MENTION=5439829]fonz93[/MENTION]
[Moto G Android Development] fonz93:
Cm13 already has nightlies, why should i? XD
[Moto G Android Development] Sandivisi:
only you know it :D
[Moto G Android Development] himu_joy:
becoz of ur optimization and stability.

13 nightlies are sucking battery too much, laggy enough.
[Moto G Android Development] T4t4nk4881988:
wi-fi signal is better in this cm 12.1 optimized than in cm 13 for me
[Moto G Android Development] cheppiroma:
Dear Master Fonz,

I am new to flash your rom. Could you give me sugestion for the Gapps? Thanks a lot :o
[Moto G Android Development] fonz93:
I use open gapps pico for android 5.1, if you use google now and its voice recognition you must install open gapps micro

I didn't notice this but maybe there is an explanation, i am using a wifi configuration file from stock, on cm13 they're using a different one that is 2 years old, luca opened a patch on gerrit to use the config file from stock on cm13 but it's still in review
[Moto G Android Development] fefferico:
I noticed that I'm not able to download certain apps from the store, maybe one a "little bigger" (for example The Room 2...),maybe bigger than 100Mb. I even tried resetting Play Store and Google Play Services data/cache but with no luck.

Other apps install fine, but maybe just because they're smaller. --> it didn't work even in the previous build.. I can live without 'em, you know, but it was a bit weird.

One more thing that I noticed, found even in other roms, that live display isn't working, I mean "auto mode" is not working.

Have you already noticed? (latest build)

Thanks in advance [MENTION=5439829]fonz93[/MENTION]
[Moto G Android Development] fonz93:
I haven't any problem on downloading apps.

About livedisplay, the automatic mode works only with location enabled on cm-12.1
[Moto G Android Development] mahadev111:
I said this bcoz of pause option in video recording in snap camera.really i want this option.this pause function only work in stock rom or in snap camera.
[Moto G Android Development] Sandivisi:
[MENTION=5439829]fonz93[/MENTION] how to disable/hide weather on notification drawer?
[Moto G Android Development] fonz93:
Settings/notification menù, uncheck the "show weather"
[Moto G Android Development] Gameros:
Looks good but, anyone compared this rom with official cm12.1?

and can i dirty flash it over official cm12.1?
[Moto G Android Development] fonz93:
Yes, you can flash it over the official build, and this build should be better than the official one, because the official it's 2 months old and doesn't include many important fixes (one of them is the fix for the soft reboots due to strictmode violations), anyway, all the differences are written in the first post.
[Moto G Android Development] cheppiroma:
After a long way.. Bootloop and stucked.. At last i managed to flash your ROM dear master fonz. It was really good, fluid, and fast. Loved it very much.. Hope you'll always updating. Keep up the good work master fonz! I am your fan ?
[Moto G Android Development] cheppiroma:
[SOLVED]
[Moto G Android Development] himu_joy:
This rom is 200% ok......

but can anyone xplain me about a weird problem (very personal) , not related to this rom.

um a hardcore Firefox user. i feel a very disturbing laggyness while i open multitab on firefox, NSFW. happened on every CM based rom. but not on any AOSP based rom.

i was very surprised this weird problem happened on this rom too!!! its hard to believe becoz this rom is blazing fast. my question is whats wrong with firefox and CM?? is there any clash??
[Moto G Android Development] Sandivisi:
[MENTION=5439829]fonz93[/MENTION] i got force close on moto doze when i click gesture on settings. but this happen when i use theme, example i use theme MaterialOS from play store. i dont know this problem from this rom or theme, can you confirm it? or only me get this problem?
[Moto G Android Development] dhruvpaul:
Same here, asphalt 8 too...I think that's some hardware code issue which means aosp including it in their source but cm don't! So that is the problem behind all that stuff! Thanks!
[Moto G Android Development] fonz93:
The problem is probably theme related, if switching back to default theme fixes the problem, is 100% theme related, especially if it didn't receive any update recently
[Moto G Android Development] Sandivisi:
yeah confirmed! this problem from theme not this ROM :D sorry

trying other theme and no more force close.

another question. what this rom support quickboot from here? [UNIVERSAL] QuickBoot for CyanogenMod 12.0 / 12.1
[Moto G Android Development] fonz93:
I will look into it, but as arter97 says:

So far i don't think it's useful, but i will look into it anyway
[Moto G Android Development] himu_joy:
that's why I cant stay long onn any CM based rom. but this unofficial cm12.1 is a top rom that I waant to use...but **** firefox..... no way?

my bad...
[Moto G Android Development] MindLeader:
Maybe you should install the "Android system webview" app.
[Moto G Android Development] himu_joy:
r u on this rom now?

would u plz test this matter for me plz??

now um on aosp.
[Moto G Android Development] MindLeader:
I tested it but still laggy too much for firefox. :(

I suggested this solution cuz it fixes lightning browser's lag problem for me.
[Moto G Android Development] fonz93:
Tell me how can i accurately test this FireFox thing
[Moto G Android Development] himu_joy:
thanks for ur helping hand sir.

ok, just open 2/3 xda tab. try to comment or reply comment on any tab. u can feel the laggyness.
[Moto G Android Development] fonz93:
I can't find the problem, more likely is a RAM issue in your case, Firefox with 3 tabs opened takes almost 300 mb of RAM (It's an heavy browser, compared to the AOSP one included in CM), probably, when your device starts lagging, it's because it is closing applications in background trying to free some RAM, the fact that doesn't happen on other ROMs could be just a case, but i don't think such a problem would exist without anyone reporting it on jira or CM development threads.

Try to lower your minfree values, that will make your device free the RAM with a lower value of available RAM, this will probably reduce the lags, but once the memory is almost fully used, you can encounter lookups
[Moto G Android Development] aldanopolis:
You need a xposed module for use the version from play store, because is still using the cm version

Enviado desde mi Moto G mediante Tapatalk
[Moto G Android Development] himu_joy:
I thought its happens only for me, but I've found morr buddy who've experience this.

And yes sir theirs must be ram issue. but I think somthing more over ram. um not dev. actually I don't know deeper. but its clear that I've tested almost every cm based rom, same problem but not on any aosp!!!

I wanna request u plz heavy use firefox at least one day. I think surre u'll find the issue.
[Moto G Android Development] fonz93:
If you're talking about google webview from playstore, you're wrong, it will start using it as soon as you install it, no need to install xposed

I'll give it a try, meanwhile link me some reports from other users about this issue
[Moto G Android Development] himu_joy:
may be u can share some advance info???

---------- Post added at 07:24 AM ---------- Previous post was at 07:21 AM ----------

cane u share somee? to find out the problem?
[Moto G Android Development] aldanopolis:
I talk about that

Enviado desde mi Moto G mediante Tapatalk
[Moto G Android Development] fonz93:
Mee too, CM and all the other ROMs implemented an automatic switch, that xposed module was required in 2014, now is no longer needed
[Moto G Android Development] aldanopolis:
Good, thanks for the answer :D

Enviado desde mi Moto G mediante Tapatalk
[Moto G Android Development] portagira:
Better this ROM or the official latest snapshot of cm 12.1?
[Moto G Android Development] Sandivisi:
read first page! you can find the answer [MENTION=5330333]portagira[/MENTION]
[Moto G Android Development] T4t4nk4881988:
yes it's way better and doesn't lost wi-fi as do cm 12.1 nightlies and cm13 if i go far from the router.the rom is fast and no bugs here.thanks.
[Moto G Android Development] jxnitro:
OpenSSL handshake bug/fix merge possibility

[MENTION=5439829]fonz93[/MENTION]: thank you for this ROM.

There is a bug in LP (5.x) even present in your 06/02/2016 release, it's related to the OpenSSL handshake process. This bug prevents applications like Xabber to complete the auth process against the XMPP hosts. Other XMMP clients face the same problem. It has already been addressed in android-review.googlesource.com/#/c/122080/. Is it possible to backport the fix into this ROM?

Thank you man,

More info: github.com/redsolution/xabber-android/issues/382
[Moto G Android Development] fonz93:
Are you sure that the bug is present here or if that specific patch adresses it? CyanogenMod uses Google's Conscrypts (https://github.com/CyanogenMod/android/blob/cm-12.1/default.xml#L123), that patch have been merged in january 2015 in AOSP, so it should be applied to the current Lollipop tag

Edit: Indeed, i did a quick search, this is the source code of that repository for the R34 tag (the current one): https://android.googlesource.com/pl...+log/edf7055461e2d7fa18de5196dca80896a56e3540

The patch is in there: https://android.googlesource.com/pl...pt/+/a3444addb656ce69501a7ae389c5327dc48e224a

So, i don't know why it's not working
[Moto G Android Development] jxnitro:
You're right, the patch was already applied. So it seems to be a totally different bug not present in Kitkat nor M. The related logcat is attached below. This is the most relevant output (to me):

W/System.err(29033): Nested Exception:
W/System.err(29033): javax.net.ssl.SSLHandshakeException: Handshake failed
W/System.err(29033):	at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:390)
W/System.err(29033):	at com.android.org.conscrypt.OpenSSLSocketImpl.waitForHandshake(OpenSSLSocketImpl.java:623)
W/System.err(29033):	at com.android.org.conscrypt.OpenSSLSocketImpl.getInputStream(OpenSSLSocketImpl.java:585)
W/System.err(29033):	at org.jivesoftware.smack.XMPPConnection.initReaderAndWriter(XMPPConnection.java:703)
W/System.err(29033):	at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:902)
W/System.err(29033):	at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:263)
W/System.err(29033):	at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:44)
W/System.err(29033):	at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)
W/System.err(29033): Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0xb7ac7f20: Failure in SSL library, usually a protocol error
W/System.err(29033): error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error (external/openssl/ssl/s23_clnt.c:770 0xad590c4d:0x00000000)
W/System.err(29033):	at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
W/System.err(29033):	at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:318)

Let me know if I can help a little more.

Thank you.
[Moto G Android Development] fonz93:
I'll look into it, but i don't know if i will figure it out
[Moto G Android Development] Gameros:
Stable as rock. Using it for 7 days. Great thanks to fonz93 ?
[Moto G Android Development] mahadev111:
Only one request, plz add snap camera,if it is possible.bcoz there is pause option in snap camera.
[Moto G Android Development] fonz93:
As i already said previously, Snap camera is still under developing and it's not bugfree, this is a stable ROM so i won't add it for now

For the Firefox guys, i didn't have any problem with it, i used Firefox as my default browser for some days and i didn't have lags
[Moto G Android Development] himu_joy:
thank u sir, u r such a supportive person....:good:

sir, i like the meizu camera app. its not installing this rom. dont know why. it installes on all other rom.

would you plz check the issue or can make a flashable zip........ but yah, only when u've free time to do that.

apk is there: http://xdaforums.com/moto-g/themes-apps/camera-app-t3283962

thank u again.

Edit: got it. no need to do that.

ur rom is on high.
[Moto G Android Development] Sandivisi:
[MENTION=5439829]fonz93[/MENTION] if you cant replace default camera with snap camera, it will be better you replace default camera with cyanogen camera. So we dont need flash cyanogen camera again. And only have one camera app. :D
[Moto G Android Development] fonz93:
No, sorry, i can't do that, peoples may want to use AOSP camera instead of the Cyanogen one, so i have to keep it
[Moto G Android Development] methuselah:
Just delete the camera app like in exodus ROM. It's better.... Let people install whatever they want. Its better...
[Moto G Android Development] ZETREK:
let make it simple guys....after flash the rom you can flash/instal whatever camera you wish and delete inbuilt camera if you want....finish and done.
[Moto G Android Development] koshikas:
i dont see what the fuss is about with the camera. like already mentioned users can choose whatever camera app that pleases them. you can use the modded motorola stock camera; http://xdaforums.com/moto-g/themes-apps/app-camera-galery-t3216944 or any other.
[Moto G Android Development] ralp88:
if you dont like then you wont install. very good and stable rom with this form.
[Moto G Android Development] QuazIqbal:
Undoubtedly, it's the best custom rom for falcon.

I have earlier tried lot of custom roms but was never satisfied until I discovered this this rom. No lag, rock solid. I have yet to test battery life though. Thanks a lot.
[Moto G Android Development] himu_joy:
yah....i've uninstalled build in camera then installed google camera and meizu camera.

Already we've own that power. :good:
[Moto G Android Development] STR4NG3R-GUY:
[MENTION=5439829]fonz93[/MENTION] the latest of hurtsky 13 and 14 works in your rom , like a charm
[Moto G Android Development] cheppiroma:
Dear Master fonz93.. Is there any way i could do to insert apps in a folder for more than 4 apps? Because everytime i add more to folder, the new app replace one in the folder. Is it a bug or there is any setting that i missed? Thanks in advance..
[Moto G Android Development] fonz93:
Are you talking about Trebuchet, the default launcher?
[Moto G Android Development] cheppiroma:
Yes master.. i don't install any launcher.. I just use the default one..
[Moto G Android Development] fonz93:
I can confirm your issue, i don't know if it's how they want it to work or if it's a bug, i have to take a look at jira to see if there is any report about this
[Moto G Android Development] cheppiroma:
Thank to you master Fonz.. It's not that important since it's didn't affect the ROM stability. But if it fixed, would be much better :o
[Moto G Android Development] h473rj:
But with no slomo ;)

i do as instructions says and nothing, no slomo on stock hack camera, but i like this rom, like i like slim to;) two best imo
[Moto G Android Development] fonz93:
A workaround for this issue is disabling icon labels on the home screen
[Moto G Android Development] cheppiroma:
Disabling icon not change it master.. still the apps icon replaced by the new one if there is already 4 on the folder.. :D
[Moto G Android Development] himu_joy:
wait.....but hows that?

u mean ver 13/14? they made for MM rom. and this rom is LP....

so hurtsky's MM kernel works on LP too?
[Moto G Android Development] STR4NG3R-GUY:
Sure
[Moto G Android Development] himu_joy:
hows about overall ?? better then sir fonz93's customization? may i try?

tell something more!!!
[Moto G Android Development] STR4NG3R-GUY:
I dont see a visual differences , bit it feelore faster in games.... Yo can see my conversation with hurtsky in the thread of his kernel , i preffer use on cm12.1 because its more stable and dont have issues without anyrhing (i recommend hs13 , hs14 doesnt work FOR ME in cm13 and cm12.1 never wprk hs14 FOR ME).

It is a benchmark on cm12.1
[Moto G Android Development] cheppiroma:
But seems you had wifi trouble right? IMHO I think hurtsky kernel for 5.1 is best for this rom..
[Moto G Android Development] STR4NG3R-GUY:
With hurtsky kernel (5.1.1) doenst work the camera or i read that i dont sure but some people say that... Wiht hurtsky kernel (marshmallow works everything)

I use the hs13 and works great i think hs14 works great to (bu to me no i dont know the new wifi driver doesnt work on my falcon) never conect and i try hs14 on last cm13 and on this rom and never conect to me but hs13 work everything wifi and camera bluetooth
[Moto G Android Development] fonz93:
Read post #2 about the camera, you will know why it doesn't work and also the solution, using MM kernel camera works because they included the kernel patch i mentioned in post #2.

Anyway, i don't suggest you to use a MM kernel here, it has certain updates that partially depend on a ROM part update, which requires MM
[Moto G Android Development] h473rj:
maybe Stranger has a faulty model of moto g.... this benchmark is sick, UX is strange:) and other results low, i got about 10% more on stock O/I and governor: fiops - interactive. UX above is sick, and wifi works on any rom for me perfect, and perfectomundo on hurtsky13, 12, 14 i dont experiment. Camera like great Fonzo said, u have to go for ''smaller boobs'' i like to say;)

summary: fonz and hurtsky are doing massive good job for us, and dont foget: CM12.1 is fully stagefright proof !:)

cheers
[Moto G Android Development] fonz93:
Try to clear Trebuchet's data, that's what i did and it fixed the problem