yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 Edge Q&A, Help & Troubleshooting] callumbr1:
Impossible to downgrade. Shame really but it can't be done
[Galaxy S6 Edge Q&A, Help & Troubleshooting] alinghi100:
Thanks for your reply. I appreciate that ! atleast i'm not stupid :)
[Samsung Galaxy J7 Questions & Answers] TributeUser:
This error pops up every few minutes. I do not understand why. Does anyone have a way for me to fix it?
[Samsung Galaxy J7 Questions & Answers] prashantp01:
Try to clear Clear data of the app and then try.....if still it dont works then change the rom and check u will get to know issue
[Samsung Galaxy J7 Questions & Answers] SidRose01:
Being a rooted phone user, did u uninstalled Google Contact Sync App?

If yes, than just reboot your phone.

Regards

Sid
[Samsung Galaxy J7 Questions & Answers] TributeUser:
No. I did nothing with Contact Sync. This is recent issue. I've been rooted for around 3 months.
[Samsung Galaxy J7 Questions & Answers] SidRose01:
If u r on a custom ROM, dirty flash it once and see.
[Samsung Galaxy J7 Questions & Answers] TributeUser:
Stock ROM.
[Samsung Galaxy J7 Questions & Answers] SidRose01:
the first thing that I do after getting TWRP is, I make a complete backup to avoid such issue by restoring it.

I'm so sorry to tell you, if I'd have been in your place then I'd have flashed the stock rom again, if i'm not able to diagnose wich app is causing this.
[XDA Assist] kchristianc22:
Hello, this is my first post here at XDA.

After I (clean) flashed CM13 snapshot 20160820 and OpenGApps Pico, I noticed that some apps (Clock, Calculator, Phone, Contacts) did not show as installed in the Google Play Store. This was bugging me, so I decided to install the same apps, from the Google Play Store to see if the stock Clock, Calculator, Phone, and Contacts apps would show as installed. Instead, I ended up with two versions of the same apps, except the play store versions were updated. I used SD Maid to uninstall the stock Clock and Calculator apps, but I'm still stuck with two versions of Phone and Contacts... I read I cannot uninstall the (older) stock versions because my phone would not be able to make calls or access my contacts. This is a minor issue, but I hope someone can explain why this happens. I hope I was clear enough. Since I'm a newbie, I cannot provide a link to a screenshot of my app drawer.

I have updated my ROM to CM13 nightly 20161218 and OpenGApps Pico to the 20161217 release
[XDA Assist] sawdoctor:
Greetings and welcome to assist. The phone and contacts I would leave alone, the other apps were probably the same just with a different signature which is why they do not show up in playstore. If it is an issue you can reflash the rom then install minimal gapps and install everything else from the playstore

Good Luck

Sawdoctor
[OnePlus 3 Questions & Answers] aaditya98:
I have been trying to flash oxygen os open beta 9 on my oneplus 3

first i tried the official steps mentioned on the oneplus site

I flashed stock oxygen os recovery

but when i boot into recovery mode it asks for a pattern which upon entering does not decrypt

I then flashed official TWRP and tried to flash the full open beta .zip file but it shows this package is for oneplus 3 this is a ""

also if i try to flash the modified TWRP 28 then also it cannot decrypt the phone

I would prefer not to format the phone if at all possible
[OnePlus 3 Questions & Answers] kipue:
Hi, I think you should try to format data. Probabby via fastboot, then install TWRP.

Not sure which are the correct commands for the full format, so have a look around or someone else will help.

Otherwise there is the unbrick guide here in the forums to try.
[OnePlus 3 Questions & Answers] antisoma:
I'm having a similar issue. So any advice would be great. Just updated to most recent unofficial TWRP (having been on a previous version). Now when entering my pin to decrypt it is not accepted. Would prefer not to have to format data.
[OnePlus 3 Questions & Answers] srpengg:
unfortunately no choice other than wiping everything.....
[OnePlus 3 Questions & Answers] Hw4ng3r:
I believe the decrypt is a known issue with TWRP and OB8/OB9 with F2FS /data partition. I don't think there's a work around at this time without formatting /data and rooting to prevent encryption.
[OnePlus 3 Questions & Answers] 0xelectron:
So do you think there would be workaround in future?
[OnePlus 3 Questions & Answers] Hw4ng3r:
Hopefully there will be, but it doesn't look promising right now. [MENTION=3873953]eng.stk[/MENTION] is the one that was modding the TWRP, but has since stopped doing TWRP dev.
[OnePlus 3 Questions & Answers] aaditya98:
But I'm on official 3.2.8 with ext4 partition
[OnePlus 3 Questions & Answers] nqk:
Do you guy know where to get the stock recovery for openbeta 9? I downloaded somewhere a file recovery_OBT8N.img, but it still shows dm-verity issue.
[OnePlus 3 Questions & Answers] candiesdoodle:
Fastboot Format system and data

Then fastboot flash stockrecovery

Then boot to system

Sideload rom

Then fastboot boot twrp28

Then wipe data and install superuser in one go
[OnePlus 3 Questions & Answers] nqk:
you mean: fastboot erase userdata?

Btw, I just ignore the dm-verity message to enter stock recovery, and do adb sideload openbeta9.zip and when it boots up again, the dm-verity message is no longer there.

I would try to format (erase userdata) data and flash the modded twrp.
[OnePlus 3 Questions & Answers] candiesdoodle:
Yeah fastboot Format userdata

But since you don't have the dm-verity you can skip the fastboot Format. Boot into the modd twrp and when it asks for password, hit cancel and then format data (you will have to type 'yes').

Then flash SuperSU or superuser in the same session without booting. This will ensure dm-verity doesn't come up again as it will start in enforcing mode, thanks to SuperSU/superuser.

You may be able to flash twrp afterwards but I haven't tried it.
[Samsung Galaxy S7 Edge Questions and Answers] MitoTakatori:
Hi all. Just curious, is there a way to extract the icon pack from injustice batman theme? I like to set it as my icon pack on nova launcher, or is there an icon pack similar or close to it? Hopeful for any replies and suggestions! Thanks all!
[Samsung Galaxy S7 Edge Questions and Answers] davincc:
Is there any way?
[Galaxy S III Q&A, Help & Troubleshooting] Elezd:
Hello guys!

After flashing, see backup. 14.1 with kernel boeflla, quickly sit down battery. Tried to put cm 13 the same effect. Can anyone suggest what to do before, he kept a day currently to 4% for 5 minutes of use.
[Galaxy S III Q&A, Help & Troubleshooting] shivadow:
You might need a new battery but the most prolific reason you get bad battery on custom roms is simply because of the open source code that must be used. This is why stock roms are better. The chips are tuned for the code they use and vice versa.

Beamed in by telepathy.
[Galaxy S 5 Q&A, Help & Troubleshooting] netss:
Hello my friend.. how back up imei??

i used Samsung tool to backup imei, , but after a few test custom rom, i lost imei and get generic.. i tried to restore but dont work.. only restore after using a box...

how get a full backup imei.. to prevent lost imei again??
[Galaxy S 5 Q&A, Help & Troubleshooting] bravolol:
If u have a custom recovery in ur mobile..thn backup ur full rom nd efs.....EFS will backup ur imei..
[LG Optimus 4X HD] kessaras:
hi,

i'm creating this new thread in order to help bring back to life our p880.

Android is like linux (of course it is)

it caches the background processes that are not currently in use and uses the physical ram for only the active apps.

But what happens if the app needs more physical ram ?

It has 2 ways to get it.

1. zram

2. swap

Let's go first with swap. Swap is slow, it uses the disk storage for "physical ram" but it's not a physical ram.

It only emulates the physical ram. What does this mean ? It does exactly what ram does.

But ram is at least 1 milisecond faster than hard disk. What ram does in 1ns (depends on the ram) the hard disk do it in 1ms (maybe more, depends on the disk).

Ram writes and reads every single "thing" the cpu needs to calculate and it's not found in L1,L2,etc cache...

Ram is our no1 upgrade on a pc hardware when we need to make it faster, because it cooperates with the cpu at everything. (cannot explain it with more simple words)

Zram on the other hand it's compressed physical ram. This way we sucrifice a very tiny amount of physical ram speed and cpu usage to compress the physical ram. But cpu and ram are 1 million times faster than the hard disk.

check your available ram

adb shell free

Anyway, below i will show you a way to double or triple your zram.

Download my attached file below,unzip and place it in /system/etc/init.d

adb root
adb remount
adb push <path to file>/97zram /system/etc/init.d/

check permissions and ownership.

They must be 755 and root:shell. If they are not, then do:

adb shell
su
chmod 755 /system/etc/init.d/97zram
chown root:shell /system/etc/init.d/97zram

Good. Now navigate back to /system/build.prop and open it like a text to edit it

At the end add the line:

persist.service.zram=200

200 is the size and it means 200% of the physical ram.

Of course you can use a lower value if you want.

Now reboot.

check again the available ram.

adb shell free

Surprise.

How much of ram do you have now ?

phys.ram + zram = ???

If you like it, hit thanks.

*If your init.d isn't executed on boot for some reason *maybe supersu blocks it *maybe the kernel has some mistake *for any reason ... you can use kernel adiutor to emulate init.d on boot.

**For those that don't have init.d support by their kernel , they must install busybox to install sysinit or/and init

***Those that don't have zram partition at all, too bad, change kernel because that one doesn't support zram at all.

XDA:DevDB Information

Zram and various tweaks for p880, Tool/Utility for the LG Optimus 4X HD

Contributors

kessaras

Version Information

Status: Stable

Created 2016-12-22

Last Updated 2017-03-22
[LG Optimus 4X HD] kessaras:
p880 full/all tweaks

this is a script that goes in pair with my 97zram script.

In addition now in this script i have set some tweaks , as many as i can and only those that are not harmful and can damage a phone.

[IMG="Feature list"]https://drive.google.com/open?id=0BwRlHU6dLDJQRzBQR0gxMUdCd1k[/IMG]

- Better mount point flags

- Internal storage:

nomerges

nr_requests

lower safe read_ahead_kb

cfq scheduler

remove add_random (if its enabled in the kernel by default)

rq_affinity

- external storage:

nomerges

nr_requests

lower safe read_ahead_kb

cfq scheduler

remove add_random (if its enabled in the kernel by default)

rq_affinity

- Net and virtual memory:

tcp_congestion_control

disable_ipv6

dirty_writeback_centisecs

dirty_expire_centisecs

dirty_background_ratio

dirty_ratio

drop_caches

kernel.panic

min_free_kbytes

overcommit_ratio

panic_on_oom

full swappiness

vfs_cache_pressure

- Kernel customisations

disable ksm

lowmemorykiller

read_wakeup_threshold

write_wakeup_threshold

- Only the safe internet customisations

tcp_timestamps

tcp_tw_reuse

tcp_sack

tcp_tw_recycle

tcp_window_scaling

tcp_keepalive_probes

tcp_keepalive_intvl

tcp_fin_timeout

- Reduce Vibration strength

How to "install" it ? Simple. just like you "installed" the zram script.

Set exactly same permissions, set ownership to root:shell and reboot.
[LG Optimus 4X HD] Salman Al-Badgail:
Reserved for OP (Future use) If Needed
[LG Optimus 4X HD] masmoe:
I copy the file to /system/init.d by file explorer. I can set permisdion to 755 but I can"t change the group to shell (the only option is root)

Then I modified the build prop as suggested and activated emulated init in Kernel Adiutor.

After reboot my ram still not changed.

Any suggestion?
[LG Optimus 4X HD] kessaras:
Use another file manager that has more options.

It works only if kernel supports init.d.
[LG Optimus 4X HD] Salman Al-Badgail:
In which ROM you have tested this?? And What kernel you had tested with.
[LG Optimus 4X HD] kessaras:
Aosp6. Works on aosp7 and all.

Also works on almost any Rom. Omni,rr and more. It won't work only to kernels that don't support init.d
[LG Optimus 4X HD] Salman Al-Badgail:
Thanks for reply, Can you tell me what is limit for extending RAM or in other words maximum limit of this RAM
[LG Optimus 4X HD] kessaras:
At 250 it gave me an error. I believe it's close to 200 the limit
[LG Optimus 4X HD] Danielcdar:
Did it only changed the swap or zram happens to be called swap when running "free"?

That was my output:

$ free -m
total used free shared buffers cached
Mem: 968 936 32 0 1 279
-/+ buffers/cache: 655 313
Swap: 1453 30 1422

Edit:

Forgot to mention:

persist.service.zram=150
[LG Optimus 4X HD] kessaras:
exactly. good job. swap is called anyway. there isn't a word like zram anywhere. zram we call it because we use the ram to swap not the hard disk :good:
[LG Optimus 4X HD] Danielcdar:
Cool, but, for it to work I had to manually run

swapoff /dev/block/zram0

Tried adding

busybox swapoff dev/block/zram0

To your script, but, I guess the rest of the script is executed before it finishes "cleaning" the swap, and I am no programmer.
[LG Optimus 4X HD] masmoe:
I am on AOSP 7.1.1 and use es explorer pro.

Are any option in Developer menu should be activated? Or should I install adb application?

Btw I use Termux for terminal.
[LG Optimus 4X HD] kessaras:
busybox echo 1 > /sys/block/zram0/reset

does swap off too why add

busybox swapoff dev/block/zram0 ?

but you gave me a great idea too for those that don't have init.d support in the kernel.

they can also download busybox to add init.d support. these days that i will have some free time i will improve it.

does not work for you ? if you want it to wait before it creates the new zram, give it the command

sleep 1

1 is time in seconds = 1 second

make it wait as much time you want

es explorer never shows the group shell right ?

use root explorer or enable adb and do

adb shell
su
mount -o remount rw /system
chmod 755 /system/etc/init.d/97zram
chown root:shell /system/etc/init.d/97zram

or in a terminal inside your p880

su
mount -o rw remount /system
chmod 755 /system/etc/init.d/97zram
chown root:shell /system/etc/init.d/97zram
[LG Optimus 4X HD] masmoe:
adb shell command not found. Is it missing something?
[LG Optimus 4X HD] juantech:
Thanks for the info man, now i know how works zram and how configure it well :D
[LG Optimus 4X HD] CrazyWinner:
Thank you. It seems working
[LG Optimus 4X HD] kessaras:
adb is used to open a port on pc for communication with the phone.

when we are in the phone terminal we directly do the command without adb , adb shell, etc.

for example :

cat /proc/sys/vm/swappiness/

to see our swappiness

at my previous post i gave you other commands to use inside p880
[LG Optimus 4X HD] masmoe:
I succesfully change permisdion and owner. I activated emulated init.d by kernel adiutor also but my swap dize still not changed. Any hints?
[LG Optimus 4X HD] kessaras:
Init.d support missing in that kernel you are on now.

install busybox to enable init.d or change kernel
[LG Optimus 4X HD] kessaras:
For now the only rom that has init.d support enabled by default is oF2pks cm12.1.

If his kernel has the same settings, then maybe you can have init.d support enabled again by default on any rom you flash it.

I Haven't checked it on github yet. When i do , i'll let you all know.

For now i'm 100% sure that his rom has init.d enabled.
[LG Optimus 4X HD] CrazyWinner:
Same happened to me. Just execute 97zram manually from kernel adiutor.

Edit:I forgot to mention, you need to do that every boot
[LG Optimus 4X HD] kessaras:
at some roms the system takes more space . if you run the script in adiutor manually and see an error for discsize, go to build.prop and give a smaller size than 200. 190, reboot. check if its ok.

then again 180 , reboot, check if its ok.

there would be fine. around 180 to 220 its the maximum size and depends on the rom
[LG Optimus 4X HD] CrazyWinner:
But how about battery life ? How much does it reduce if i give 150 or 200 to zram ?
[LG Optimus 4X HD] kessaras:
why don't you just test it and see ?

if you don't want to have 3gB of ram and you are fine with 995mB of ram, set 0 to build.prop setting and the script will do nothing.

personally i don't see any change to battery life with that.

the impact to the battery isn't noticable, we are talking about 1ns speed, ram is fast it's not like swaping to disk.

At pc if you enable swap on linux or paging to windows , pc consumes more Watt ?
[LG Optimus 4X HD] CrazyWinner:
Why are you so offensive ? You can say only "i don't see any change to battery life". Swap and zram is not same thing. On zram cpu will work more to compress and decompress ram, i asked that question for this reason. But i got my answer thank you anyway
[LG Optimus 4X HD] kessaras:
no offence at all. i meant it just the way i said it.

(in just a serious way)

test it and see.

its just that the message way of communication needs some funny faces to understand the feelings of the talker :D like that haha

when we talk directly we don't need those of course
[LG Optimus 4X HD] Phil_Smith:
Thanks, great feature!

One thing about ramexpander:

Would you not even recommend using it (in addition) on a class 10 external sd with swappiness 0?
[LG Optimus 4X HD] kessaras:
slowest ram since too many years ago is 100Mhz and has 10ns cycle time.

that was the 1st sdram.

p880 ram ofcourse is not that ancient, it's faster. But let's use the ancient ram for calculation.

ram cycle time with cpu: 0,0015ns + 10ns =10,0015ns

(our p880 has /2 that. latest ddr sdram is 5ns. i don't know if it has even better ram ,but i calculate using the worst case scenario)

external sd doesn't have cycle time. it has access time. Access time at 80Mbps is 80milisecond.

See ? ram is 1 million times faster for swap :)
[LG Optimus 4X HD] masmoe:
I am on oF2pks CM 12.1.1 now.

I did all the procedure but stil no luck, even after installed busybox.

I can execute the script manually within Kernel Adiutor but the swap amount not changef also.

Idk what's wrong here...
[LG Optimus 4X HD] kessaras:
flash cyospak6-7 kernel

check that permissions are 755

check owner root and group shell are set and reboot
[LG Optimus 4X HD] masmoe:
Flashed cyodpak6-7 kernel. The script working but should be execute manually within Kernel Adiutor.

How to automatically execute during boot?
[LG Optimus 4X HD] kessaras:
adiutor gives an error or its working ?? tell me what is last line when you apply it in adiutor.

im not there to see what you do wrong. im using same rom, same kernel, same script, and its working.

permissions really have to be 755 and owner:group must be root:shell else it won't work on boot.
[LG Optimus 4X HD] masmoe:
All default setting on ROM & kernel.

No error when mannualy execute within Kernel Adiutor.

For script and Kernel Adiutor setup please see the attachment.
[LG Optimus 4X HD] kessaras:
hmmm, our only difference is that i didn't flash supersu and i used the builtin su.

ill flash supersu and check if it conflicts with the system, don't do anything yet. i'll do it. Since it's easy for me i do that everyday :p

i'm checking now
[LG Optimus 4X HD] kessaras:
Nope. Installed supersu from google play , gave it permission to update binary, turned off builtin supersu and still working. and i don't have adiutor installed to check so i do it with terminal. check screenshots we have same setup.

~EDIT: My steps are:

1. twrp - Format to f2fs /data + /cache

2. reboot to twrp, check if partitions are f2fs , if not, again format 'n reboot to twrp

3. flash rom, reboot to twrp

4. flash delta gapps 5.1.1. reboot to twrp

5. flash kernel, system reboot.

6. setup the phone to my taste , enable builtin su, put my scripts inside init.d , set permissions/owner/group, reboot, done.

7. optimal, after testing it now you can use supersu too , but i only test it from google play store, i didn't test flashing it in twrp to see if it conflicts to the system.

But you have to admit that it rocks :D isn't p880, like that, fast and stable ? I wish it had a better camera hardware !

~~EDIT 2:

did you disable mount namespace separation since you use supersu app ?

that trigger is good if you don't want the su to be mount as rw when you remount the system, but sometimes it breaks things apart
[LG Optimus 4X HD] masmoe:
Idk what"s wrong in my system.

The reason i flash supersu because built in supersu is not working.

I will do clean install and try f2fs tonight. Hope everything working good.

Btw i use microg instead Gapps.
[LG Optimus 4X HD] kessaras:
maybe you flashed wrong build ? check dates and flash the latest rom in his host. f2fs is still beta but its working. if you play games don't use it yet.

supersu propably messed you up there and busybox. at first supersu with mount option maybe blocked your init.d on boot and then you used busybox to try correct init.d but you messed it up :D

wipe system and data next time you try it out because its a mess there now.
[LG Optimus 4X HD] masmoe:
My setup :

1. CVM 6.0.4.5

2. Flashed ROM

3. Reboot to system.

I can activated root in developer option, but the explorer can not have root permission. That is why I flashed supersu. Normally I always use built in supersu. As I remember the olld build have working supersu but this build is not. Or maybe simething wrong here during set up :laugh:
[LG Optimus 4X HD] masmoe:
See attachmen for my curren ROM build
[LG Optimus 4X HD] kessaras:
nothing wrong :D you don't have other phones ? maybe newer ? :D

all xda knows that cm file explorer has to get an update since the ape age lol.

use root explorer or any other good explorer like that one. careful though since you will search for an explorer for the first time to not choose a wrong one. For example i don't remember its name because i used it only for 5 minutes... it is an explorer that sais that changed permissions of a file and when i use adb shell i see the same permissions as before....... total lame.....
[LG Optimus 4X HD] kessaras:
hahaha

thats old :D

22 dec is the latest lmao

sec i will edit this post with link

https://www.androidfilehost.com/?fid=385035244224407090

told you , watch dates. of2pks doesn't upload his builds sorted... too busy to rename the file :p
[LG Optimus 4X HD] masmoe:
Lol.. I did not notice it
[LG Optimus 4X HD] kessaras:
[MENTION=7008914]Phil_Smith[/MENTION] can you do in terminal a command and tell me the output ?

ls /mnt/media_rw

i wanna see if your external sd is mounted there and if it's not there please gimme the output of

cat /proc/mounts

its to create the ultimate script for p880.

whats left to do now is to set the best mount point flags and share it with everyone.
[LG Optimus 4X HD] Phil_Smith:
sdcard1
usbdisk
[LG Optimus 4X HD] kessaras:
Try the new 98balance too ;)

It's ready. I'll make when I have time later a new thread for those scripts
[LG Optimus 4X HD] Phil_Smith:
Will do : )
[LG Optimus 4X HD] kessaras:
post #2. that's my last script for p880. I don't think i missed anything. If there is anything more you need , use feature request section and ask for anything.
[LG Optimus 4X HD] dave2609:
Hey guys,

I try to put the 97zram file in init.d folder.

But when I copy it from internal sdcard to init.d folder it says 'operation failed'.

What am I doing wrong?

Cheers
[LG Optimus 4X HD] kessaras:
maybe remounting system as rw before copying it inside ?

use a better file explorer.

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

22-03-2017

- Updated instructions in the OP

- Fixed bugs in the script in the 2nd post.