yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] Izzysoft:
Build.prop tweaks

First a big thanks to [MENTION=5047403]ottomanhero[/MENTION] for providing all these tweaks! As I usually want to know what I'm doing, I were investigating the files before applying anything. The main archive (and pre-KK fix) have been quite clear, but not so the build.prop tweaks. So I have taken half a day to check what each setting means, and created a "commented version" of the original script (build_prop_commented.sh). As I've noticed not all of the props are simply "appended" to the original build.prop, but also some existing values being modified, I thought it prudent having the script also creating a backup copy first.

As I'm not an experienced build.prop tweaker, I was not sure if the order of statements is important. So for the second step, I've first created a copy: build_prop_ordered.sh has the same script, but all statements grouped where I deemed them belonging together: Camera improvements, RIL optimizations, Graphic tweaks, etc. Should make it easier to figure what is done.

Step 3 was the "cautious guy" in me: If a build.prop tweak breaks something, and the device doesn't boot up, it's sometimes tricky to revert. So I was hoping our O4X would also accept a /data/local.prop file (which I then could easily delete from within recovery) – but unfortunately it didn't. So I reverted to a setProp.sh file, which could be included in "init.d" like the scripts from the main archive. To be on the absolute safe side, I only ran it manually after a clean boot. So if anything went wrong, a simple reboot would fix this (and it did).

This way I figured not all settings seem to be safe on my O4X (which still runs stock 4.1.2): networking was broken. I couldn't call a single page in the browser ("server timeout"), nor did any sync task succeed. So my step number 4 was to pick some of the tweaks that seemed safe and useful at the same time, and put them into another script, safeProps.sh.

That was the "long story" (find all mentioned files in the attached script). Added to that are personal preferences (e.g. I don't want logcat be turned off, as I frequently use that). Discovered one obviously misspelled setting during my research ("touch.presure.scale=0.001" should probably have been "touch.pressure.scale=0.001") which ottomanhero might wish to fix – and finally thought I might not be the only curious guy here. Hence this post with its attachments for you.

Whoever was afraid of directly applying the build.prop tweaks now easily can try them first via the setProp variant: as I wrote, if anything goes wrong, a simple reboot reverts it. And if everything works great, you can apply those settings permanently.

Enjoy!
[LG Optimus 4X HD] juantech:
Why i cant download the scripts? asks me if i want to download the file i push yes and then gives me error and dont download:crying: the other files yes but this gives me error downloading it.
[LG Optimus 4X HD] ottomanhero:
[MENTION=3039128]Izzysoft[/MENTION]

First of all, thanks for correcting the misspell, even though I had the script "tested" by a friend who was still using 4.1.2, he seems to have not "tested" it that well.

I'll edit thread title accordingly, also updated the script to fix the misspelling.If you could pin down which settings are causing the issue (since I don't own the phone any longer) I could add an exclusive version for stock, with proper credits ofcourse.

Meanwhile, if you could compile your knowledge on those cvars in a post for people to examine, I'd happily put a refferrence link to it :)

[MENTION=5356847]lalitis[/MENTION]

1_) Download a root explorer, browse to /system/etc and delete the file "hosts"

2_) Create another file, rename it to hosts and put in this;

127.0.0.1 localhost

3_) Make sure there is a SPACE right under 127.0.0.1 localhost (this means you'll copy paste that, then press ENTER to have your cursor below what you've pasted, then press space ONCE.)

4_) Save and set permissions to 644(rw-r-r)

[MENTION=5379026]skrajnik[/MENTION]

I'm sorry that it made your phone worse, but I can't remember of a time when CM11 nightlies lasted for two days without any issues for me.

Because the nightlies are awful and ever since demetris took control of our nightlies, it became worse for me.Camera freezes, constant service crashes, hell in a few nightlies I've came across the ram management was so awful that you could barely use any apps with constant FC messages.When I reported the issue, I was told that the ROM was perfectly fine and that I should play with developer settings to fix the constantly crashing system services.

TLDR version is cm11 is horrible, get a ROM with archidroid optimizations, breathes life into this phone.

[MENTION=4960010]Jack_capvil[/MENTION]

All comments are welcome, it afterall helps us improve our work :)

Likewise, lollipop ROMs tend to get heavier over time.Last I had one, the ROM would turn unstable in a day or two due to memory leaks and bad cache management.I don't know how stable lollipop ROMs have became ever since I got rid of my phone, but I would stay on a kitkat ROM that has archidroid optimizations.Kitkat is fast, mostly stable and should provide a better experience until lollipop is without issues.

[MENTION=400416]akismal[/MENTION]

Heck I'm using those on my sisters' optimus L9.Nexus got tegra 3, L9 got entirely different chip.In any case, take a nandroid backup and flash them, should work fine anyway :)
[LG Optimus 4X HD] Izzysoft:
I didn't feel that investigation important enough for me, so I've simply skipped all the network adjustments, sorry. Only thing I can say it's not the DNS part (as I'd disabled that). And it's none of the stuff from safeProps.sh, as I'm still using that.

I've put that all as comments into build_prop_commented.sh (same order as your original script) and build_prop_ordered.sh (thematically grouped). As those files are already pretty long (~180 lines), I'm not sure if I should "quote" that in a post – though that would make it easier to find using some search engine.

Those details would definitely make sense to be maintained in some kind of Wiki, where others could fill the gaps …
[LG Optimus 4X HD] skrajnik:
I do not know why I stuck with CM... I guess I had enough of testing...

So which ROM would you recommend to try out? And has these optimizations?

I need something stable,fast for daily use. And no wakelocks :)

Thanks!
[LG Optimus 4X HD] pokeguy4:
im using aosp http://xdaforums.com/optimus-4x-hd/orig-development/dev-aosp-lollipop-5-0-2-t2995695 currently and its very responsive and battery friendly
[LG Optimus 4X HD] ktoosiu:
anyone can reupload additional files for non-kitkat? I need 4.2
[LG Optimus 4X HD] andy_96:
Is this still good use for 7.1.1?
[LG Optimus 4X HD] ottomanhero:
The required files were sqlite3, any file that's fitting for the android version will do, apparently fly on mod attachment I linked to is dead.

Personally I'm still using them on 6.0.1 with my Xperia Z2. You can certainly benefit from them still although some of the build.prop tweaks are deprecated in newer versions it won't cause any issues, it'll simply enable the working tweaks.

However, I'd recommend you comment out/delete minfree values from system/etc/init.d/99tweaks depending on your device since they were tweaked with 1 gb ram in mind.

My untimely reply might not be useful to you guys anymore but anyone else might have the same questions in mind, have a good one :)

Edit: doing an before/after comparison in PUBG the I/O freezing I had while entering towns/driving are completely gone, definitely has an effect.
[Samsung Galaxy Young S6310] hadrianjr:
why do I install CWM on the Android Terminal Emulator Black Screen or Dead.,

and I can not enter download mode and recovery., not charging icon !!!

flashing for odin notif SetupConnection :(

My phone type Samsung GT-S6310

Help help help :crying:
[Samsung Galaxy Young S6310] :
Try enter download mode using a usb jig. If it still doesn't boot in download mode, probably your device has been hard bricked.
[Nexus 4 Q&A, Help & Troubleshooting] QA Bot:
Q&A for [ROM][LP] CyanogenMod 12 - UNOFFICIAL BUILD for Mako

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [ROM][LP] CyanogenMod 12 - UNOFFICIAL BUILD for Mako. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Nexus 4 Q&A, Help & Troubleshooting] Kalesamruddha:
Use SElinuxModechanger for proper root working

Use SElinuxModechanger form Play store proper root working, as it changes the mode from Enforcing to permissive
[Nexus 4 Q&A, Help & Troubleshooting] feverhotsam:
Smoothest so far

This Lollipop ROM has been the smoothest so far. I guess I am going to stay with this Flash until Factory Images are out
[Nexus 4 Q&A, Help & Troubleshooting] Kalesamruddha:
Factory Images are out

Factory Images are out for Nexus 5 and 7
[Nexus 4 Q&A, Help & Troubleshooting] Dher:
Mirror please?
[Nexus 4 Q&A, Help & Troubleshooting] catpac:
How to root ? Pls help ;c I;m using flashablle zip from Chainfire, but still not working..
[Nexus 4 Q&A, Help & Troubleshooting] the_gio:
Installed

Installed with cwm.

its working fine. Thanks
[Nexus 4 Q&A, Help & Troubleshooting] yooouuri:
13 nov build boots for me, got the newst twrp.

---------- Post added at 02:16 PM ---------- Previous post was at 01:51 PM ----------

Nov 13 build boots fine, i get the error in TWRP about "cant mount etc"...

Installed LP Gapps, thanks!
[Nexus 4 Q&A, Help & Troubleshooting] Fast0n:
NOT WORK

I tried to install the (12-20141110-UNOFFICIAL-mako.zip) but this is the result!

View attachment 3015474

View attachment 3015475

This is the LOG

View attachment 3015470
[Nexus 4 Q&A, Help & Troubleshooting] amit.dalvi:
CM11 -> CM12 worked for me

I had CM11 with SU.

After installing latest ClockworkMod I flashed the CM12 without issues..

it only gave me 1 error of unmounting/device busy for /data... just ignore it... (althought i missed a heart beat :) )

then installed superSu v2.19 beta....

works like a charm...

Only thing not working is "Enable quick boot mode"... but that's ok... not an problem...

Thanks

-Amit
[Nexus 4 Q&A, Help & Troubleshooting] Barry_bondzz:
kernels

Sorry to bug you.... Just downloaded your cm 12 for the nexus 4. Great rom... Are there any compatible kernels thus far?
[Nexus 4 Q&A, Help & Troubleshooting] CodeRR:
How about national roaming in this cm version?
[Nexus 4 Q&A, Help & Troubleshooting] woernsn:
Yes:

http://xdaforums.com/showthread.php?t=2789878

Not yet implemented ;)
[Nexus 4 Q&A, Help & Troubleshooting] Barry_bondzz:
ok

Will be flashing at once
[Nexus 4 Q&A, Help & Troubleshooting] sribha:
Smooth and User friendly rom

Today I downloaded this custom rom and flashed it through recovery. After that it took me 12 to 15 mins to load to the desktop. Then I flashed the gapps and the supersu v2.16 and rebooted the device. This rom is really cool and it is working great. Battery performance is tremendous. Thanks to the developer for giving such a nice custom rom.

I hope in future theme chooser and other things will be implemented. I am waiting for the updates to come at the earliest.
[Nexus 4 Q&A, Help & Troubleshooting] Barry_bondzz:
ok

I flashed it all seems well... O i did find something in the rom... It's not a big deal. And is there a Franco based kernel floating around?
[Nexus 4 Q&A, Help & Troubleshooting] JMaio:
Good ROM

Although premature and pretty much stock AOSP, this build runs well so far. Good battery life and no bugs, really. Got this mainly for DSP Manager (it works!), will be upgrading until an official CM12 build. Thanks for the good work! ?
[Nexus 4 Q&A, Help & Troubleshooting] DeadlyOnion:
Excellent work - Small feedback :)

Hello!

Just to let people know that like myself wondered if it would be ok - This can be flashed using CWM6 :) I used it myself to flash this!

I got one error as soon as it started flashing about unmounting/device busy but if you just wait the install continues succesfully :) I went from CM11 Snapshot 12 but I did not dirty flash as I figured that would be the fastest way to introduce errors.

After the first attempt all seemed fine but it simply would not connect to wireless or data connections so bounced back into recovery, wiped data, cache and Dalvik and booted back up and all is working great.

The only app so far that does not work with me is Google authenicator - Can anyone else confirm if this app is working for them or not? It force closes everytime I click Begin setup - Little anoying as I use 2 step auth for my Gmail :)

Other than this build runs brilliantly and I would like to thank the original poster for his work and time :)
[Nexus 4 Q&A, Help & Troubleshooting] Barry_bondzz:
Yeah the authenticator works for me. May have to wipe and reflash. I found 2 bugs. When you using LTE on our nexus 4 it still says 3g on the status bar. But when you pull it down it says LTE on the tiles......and when you are watching a video on chrome or Facebook. The video plays them freezes but you can still hear and the timer is still going but the video itself is froze.... Check and see if these things happen to you
[Nexus 4 Q&A, Help & Troubleshooting] Shiningbro:
Can i update this build later with the Original CM 12 Nightly´s?
[Nexus 4 Q&A, Help & Troubleshooting] Moreiq:
I have updated with latest build and got a lot of issues. My Miscellaneous drain increased, Apollo is crushing all the time and I can not save any file on device getting "storage full or unavailable" while 6gb are free. Will go back to previous version.
[Nexus 4 Q&A, Help & Troubleshooting] antuong12c2:
Hi all.

I'm using CM11-Snaoshot M12.

If i flash CM12, my data will be lost ? Did anybody flash to CM12 from CM11 ?

Plz talk to me, tks
[Nexus 4 Q&A, Help & Troubleshooting] jacu.gen2:
I check it out yesterday and I find a bug.

When you click first icon in "change tapet", document aplication crashes.

And question: Is in this CM changing music using volume kays? I can't did that yesterday.

Btw. I back to KitKat, but waiting for snapshop or nighty.

---------- Post added at 05:37 PM ---------- Previous post was at 05:32 PM ----------

Yes, your data will be lost, because before flashing rom you have to wipe data.

You can backup your data and apps with Titanium Backup.
[Nexus 4 Q&A, Help & Troubleshooting] DeadlyOnion:
I would not advise dirty flashing and I suggest doing a full wipe. So to be safe back up anything you don't want to lose.

I am having a few little bugs but they are not show stopping and I am easily using this as a daily driver.

I look forward to the updates!

---------- Post added at 09:46 PM ---------- Previous post was at 08:59 PM ----------

I have had my first issue, my phone hit an insane temperature and if on charge when I turn it off it fires right back up. Leaving it turned off for a while to cool down then going to see if a particular app was maybe causing my overheating. I did see that an update will be coming tomorrow so that might help.
[Nexus 4 Q&A, Help & Troubleshooting] Newtman:
Keyboard

Hello,

I´ve installed the rom from the first post and gapps. Everything are ok, but I can´t use the swype function from the original keyboard, after two letters appear FC.

Anyone know the solution?

Thanks.
[Nexus 4 Q&A, Help & Troubleshooting] DeadlyOnion:
I have the same issue either install Google keyboard off the play store or like me use SwiftKey
[Nexus 4 Q&A, Help & Troubleshooting] AnonyM0u5:
unofficial cm 12

Is it possible to flash this over cm11
[Nexus 4 Q&A, Help & Troubleshooting] woernsn:
why not trying to search?

look 3 posts over your one..
[Nexus 4 Q&A, Help & Troubleshooting] DeadlyOnion:
Root

Hello all,

What has everyone who has root flashed to achieve root - I see a few different suggestions - Which SuperSU has someone used that has given them root successfully?

thanks in advance :)

I have just flashed TWRP over my CWM ready for the next update to the ROM in this thread and will be doing it with a fresh wipe as other users in this thread have reported Google Authenticator working so think my flash might of just been a bit nasty to me.
[Nexus 4 Q&A, Help & Troubleshooting] woernsn:
Just flash the latetest SuperSU and you will be fine :)

http://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
[Nexus 4 Q&A, Help & Troubleshooting] GFXi0N:
Profiles and quiet hours working? It's the only features I can't live without
[Nexus 4 Q&A, Help & Troubleshooting] Epucci:
Awesome

This ROM is better than the official lollipop ROM. More smothness baby! Be carefull with the gapps because I flashed the floder and system crashed...
[Nexus 4 Q&A, Help & Troubleshooting] yudhis13:
Why my Photosphere does'nt have "Tiny Planet"?

Anyone can Help me, Please?

and I can't Install SuperSU too....
[Nexus 4 Q&A, Help & Troubleshooting] akhyar08:
CM12 root privilege lost

Hey i just flashed Cyanogenmod CM12 on my nexus 4 and when i tried to restore my apps through titanium backup it says root privilege lost,

please tell me what to do.

thanks
[Nexus 4 Q&A, Help & Troubleshooting] maidler79:
HELP! stuck in recovery

Hi,

I tried to flash this build and the phone got stuck on "installing update..." in recovery mode.

all I can do now is turn off the phone and put back in recovery. it does not boot (gets stuck with the google logo), and it wont let me restore my backup.

also, no luck with adb sideload because the pc/ adb server does not recognize my device.

please help....

19/12 - problem fixed (bad usb cable...)
[Nexus 4 Q&A, Help & Troubleshooting] iliutastoica:
+1 Charging takes very long.
[Nexus 4 Q&A, Help & Troubleshooting] gatizzz:
end call

Why cm dont have end call with power button?
[Nexus 4 Q&A, Help & Troubleshooting] pchelas:
Flashed it a few days ago and I am very happy with this build. The only not working thing that I have noticed is switching from EDGE to 3G
[Nexus 4 Q&A, Help & Troubleshooting] tan.phan.vt:
Kernel flash

Can i flash this Hellscore on CM12 nexus 4?
[Nexus 4 Q&A, Help & Troubleshooting] ashjas:
Can anyone let me confirm if this build has rsync and ssh binaries installed in this ROM?

I need these badly on a lolliopo ROM on mako. The stock image does not have these.

Thanks.
[Nexus 4 Q&A, Help & Troubleshooting] rishibhatia5354:
CM12 Unofficial - 12/21 Nightly - Battery Issues.

Hi,

I'm having some battery issues with this nightly.

1) Was using Google Official Image for lollipop prior to this - getting a battery life or about an hour.

2) Rooted and installed this nightly (unofficial Cm12 12/21) - the battery life dropped to 6 hours. (Running only this one).

3) Highest drainer is - miscellaneous.
[Nexus 4 Q&A, Help & Troubleshooting] tucanae47:
Hi there great work!

got a question: how can i run a

Kexec-hardboot patch for this kernel? seems it doenst have the patch yet
[Nexus 4 Q&A, Help & Troubleshooting] avraham.shukron:
Missing blobs

Hi!

From where did you obtained the two missing blobs under vendor/lge/mako/proprietary/etc/firmware/wcd9310?

They are not in included in TheMuppets's repo.

Thanks!
[Nexus 4 Q&A, Help & Troubleshooting] dramalicious:
Did someone tried the official CM12?
[Nexus 4 Q&A, Help & Troubleshooting] CodeRR:
There is no OFFICIAL yet...
[Nexus 4 Q&A, Help & Troubleshooting] dramalicious:
:)

i think cm12 is uploading. for several devices is up allready
[Nexus 4 Q&A, Help & Troubleshooting] CodeRR:
Yeah, you're right, but for mako not yet...
[Nexus 4 Q&A, Help & Troubleshooting] avraham.shukron:
I just updated to the first nightly that is available now. Seems to be pretty stable for a first official build..
[Nexus 4 Q&A, Help & Troubleshooting] CodeRR:
Now i have it installed, pretty stable for a first build i think...
[Nexus 4 Q&A, Help & Troubleshooting] ambusher2991:
Update to official ROM

First of all awesome! great job.

Secondly, Now that the official nightlies have been released, how to switch to that from this?

Cyanogenmod updates give nothing :(
[Nexus 4 Q&A, Help & Troubleshooting] Oceno:
Netflix error with CM 12 unofficial

Hi,

I have the same Netflix problem (except that the error is in Dutch), also with (-9) at the end. Were you able to solve this error? Because it is quite uncomfortable.

Hope to hear from you.

Richard
[Nexus 4 Q&A, Help & Troubleshooting] Mr_572:
[Q]

Hello,

I Just Flashed "cm-12-20150122-NIGHTLY-mako" on my Nexus 4

How can i Disable Hue Effect?

I Didnt Found Any option to do it

im not so familier with CM SO ^

Edit:

[A]

i was using Patched Stock 5.0.1 Kernel,Solved with CM12's Patched Kernel
[Nexus 4 Q&A, Help & Troubleshooting] luisdecker:
Random Shutdowns

Hey guys!

I clean flashed this and the nano gapps in my nexus, but I am having some problems with it!

My phone randomly shutdown1 Mostly in sleep, but ocurried when using a couple times. Someone can help me with this?

thanks!
[Nexus 4 Q&A, Help & Troubleshooting] voodooh4k3R13:
SPH-L600 good 2 go.

Phone specs:

Sph-l600 (rooted)

Phil's Recovery touch

Baseband:Sph-l600VPUEN4

Kernal: 34.0 ect...

I have flashed this to my sph-l600 and it is very responsive and clean.

The action is smooth as well as clean graphics.

Only confers are as following ie :

Bluetooth dose not connect (script adjustments needed)

A few forced closes on 3 apps.

Other than that I'm a happy camper! Thanks guys keep me posted and keep up the good work. Jay V. Voodoo
[Nexus 4 Q&A, Help & Troubleshooting] karlospv94:
My Nexus 4 does not work!!

I was trying to flash the new nightly cm-12-20150328-NIGHTLY-mako.zip and It was in the "detected filesystem ext4..." more than 10 minutes so I have decided to reboot and now It says that does not find the partition and can't mount it.

How can I solve it??
[Nexus 4 Q&A, Help & Troubleshooting] vladimirsmirnov8:
posted to wrong topic
[Nexus 4 Q&A, Help & Troubleshooting] 7rum4n:
Phone app

One slight bug. The screen goes blank when it the phone starts dialing to another phone, any solutions? :confused:
[Nexus 4 Q&A, Help & Troubleshooting] arifex:
Yes I have!

I have the same Problem; tried flashing the gapps again but it worsened it :/

i am reflashing the whole Thing now

btw.: the gapps download is down
[Nexus 4 Q&A, Help & Troubleshooting] RunNgun42:
For anyone trying to get the paginated app drawer back, you have to hold down your finger on the home screen to open the alternative quick settings menu (wall paper, live wallaper, settings), then SWIPE UP. I didnt know you could swipe up from here. Within this hidden menu will be the option to switch drawer styles.
[Nexus 4 Q&A, Help & Troubleshooting] Benjaaa:
Not important problems

I have a very very little problem, I have cm12.1 official nightly and when I put the charger my nexus he not shows battery porcentage but shows the time to complete without problems

without hurry, is not a serious problem, Thanks !!
[Xperia Z1 Compact Q&A, Help & Troubleshooting] ksc6000:
Which one should I get to use in the United States on AT&T? D5502, 5503, or 5506?

I see that Sony is selling it directly, what model are they selling if anyone has bought it from them directly for the us market?

B&H has it for cheaper and has a longer return policy, but they only sell the 5503 and I'm not sure if that's the right version.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] uchechris:
I suggest you get the D5503 model, I have cricket, which is basically using AT&T towers and I was able to get LTE in most of my area.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] anosis:
Same here. I have the unbranded D5503 on ATT and have LTE near SJ, CA.
[Xperia Z1 Compact Q&A, Help & Troubleshooting] ksc6000:
Thank you folks. I appreciate it.
[General Questions and Answers] prashantsethi:
my phone micromax a63 doest boot.it only shows android logo with booting in process and doesnt even start in recovery mode. please give me a solution