yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 7.7 Android Development] zoghrob:
Thank you very much for your response and concern, I really appreciate it.

Which pa_gapps are you using?? I tried the modular micro g_apps but didn't work. Please tell me which one or post me a link for it.

I was using CWM, do you think I should switch to TWRP?? if this is gonna solve the g_apps problem it's fine with me.

Finally I already did a full system wipe & cache wipe, installed the CM12 rom (ok till this step) then tried all the g_apps I mentioned before but with no luck.

Regarding calling, do you think this is an issue of google services slowing down the system or interfering with it??

Finally, do you think I should try the TWRP then flashing the ROM & gapps or better wait for your new build.

Thank you for your time & effort.
[Galaxy Tab 7.7 Android Development] daniel_hk:
I thought I was quite clear. I might forget the new comers...

I would say all pa_gapps for LP can be flashed.

Wipe system: I meant wipe system partition separately.

Some background info.:

Factory reset = wipe data+cache

Dalvik is inside cache and data. Therefore you don't needed extra wipe after a factory reset.

system partition is normally format/wipe when we flash a rom. BUT our Fking manufacture Samsung put some faulty chip in some batches. It might cause eMMC brick if you are in stock kernel/recovery. Therefore the system partition is not formatted in our Roms.

If you have my CWM or TWRP, it is safe to format/wipe the system partition.

Which recovery better is a subjective question. I test both so both can do the job. CWM stop update after 6.5.1 so I suggest TWRP for the future.

Most of the above info. can be found in my other threads.
[Galaxy Tab 7.7 Android Development] zoghrob:
Tanks a million man for clearing things up.

Actually I'm a new comer to this forum, that's right but I read your previous posts here carefully & followed the information you provided step by step.

The point is that now you detailed few things that made me understand what you meant by wipe system. I thought first that meant factory reset/wipe data.

I'm using your CWM 6.0.4.5 & I have your TWRP 2.8.3.1. Since it's safe to use to wipe the system partition I'll go for it.

Thank you again for your help.
[Galaxy Tab 7.7 Android Development] arthurson:
hello denial, i've tried 25/2 for a few days

it's quite stable, it will not random reboot as before frequently , yet i feel it slow, i just need to wait and wait for whatever i press, not as smooth as official 4.1.

thx for yor effort, hope you can continue your development and we will try one by one.

(5.02 lollipop for tab s 8.4 will be released soon, really we can steal some function from it .)
[Galaxy Tab 7.7 Android Development] p3dboard:
The galaxy-s2 cm12 rom, the developer just enabled 300mb of zram in the build and a few are saying this has speed the rom up a fair bit. This needs to be compiled into the kernel. Not sure if Daniel can compile a kernel for testing to see if this helps. Just provides a bit of extra Ram via compression.

Edit: i just tested the latest cm12 build on the galaxy-s2, and the zram addition has made a massive difference. Daniel are you able to do the same for our galaxy tab 7.7?
[Galaxy Tab 7.7 Android Development] daniel_hk:
I don't want to ignore anyone. It would turn out uncomfortable whatever I answer these kind of questions. Anyway, I'm going to explain (hoping the last time) again. I always believe there are someone cleverer and better. Read carefully and don't misunderstand what I meant.

The question about S2 and our device dated months back. I study the source of S2 (S3 and a few others) all the time. The main difference between our devices is the screen dpi (s2 is 800x480, ours is 1280x800). Our screen is almost 3 times bigger and need 3 times more rams for the framebuffers alone. Total time for a complete refresh is also 3 times more. Other than that are the wifi chip, bluetooth chip, camera, etc. No doubt, S2 is faster than us and use less ram.

Most of the changes in S2's cm-12 are from Omni which I already included them months ago. Lollipop was the first time our CM released before S2. Actually three of the developers PM me a few times. Asked about the kernel, mobile data and the camera. I don't care if I receive any credit and I won't hesitate to use their codes. That is the spirit of open source. I might not able to update my source frequently (Some government offical "genius" just enjoy blocking the internet). I also don't want to commit and revert frequently in the sources. I only upload them when I'm sure they work.

If you read the posts back in the KK time, zRAM is already in our kernel for two years.

The memory manager after 4.2 has changed. zRAM is insignificant now. There was a zRAM switch in CM's performance settings before 4.2 and it doesn't work after 4.2 (thus it is removed). Most of the existing zRAM tools are not working too. The only one still working is TricksterMod. I already mentioned a few times in my KK threads. You are welcome to try TricksterMod and enable zRam for yourself.

I have built AOSP base ROMs (slim5, omni5 and DirtyUnicorn aka DU) for our device. They perform much better than cm-12 when many apps are installed. (say > 50 user apps) However, they are not stable yet. I can conclude that memory is not the only thing cause the lag. I would say it is CM related. The system would perform much better every time you wipe the two caches.

Hoping you get the situation now. ;)
[Galaxy Tab 7.7 Android Development] p3dboard:
Thanks for the reply. I will play with trickstermod. I don't know all the inner workings of the roms, so thanks for explaining it in more detail.
[Galaxy Tab 7.7 Android Development] KinzerX:
Flashed latest build , everything looks good and stable, thank you!

there still is a little issue about video playback, I can't use the HW+ mode of MXplayer or other hardware codecs to play .MKV file which works fine in 4.4 rom , and when I choose native HW codec it's unable to use fast forward and back forward. Because I basically use this tablet as a video player so this means much to me.....

I would appreciate it very much if you can fix it
[Galaxy Tab 7.7 Android Development] Trung Gs:
[MENTION=4656411]KinzerX[/MENTION] .Enable "Force GPU rendering" and "Disable HW overlays" in Devoloper option
[Galaxy Tab 7.7 Android Development] KinzerX:
Tried it as you said, it worked! That's really helpful
[Galaxy Tab 7.7 Android Development] p3dboard:
I have done a bit of testing. Generally this build is much better then the last build. I have loaded up all my apps (about 114 apps), and multitasking / switching is generally ok.

I have found that enabling zRam helps when I load up Real Racing 3, without it, Real Racing stutters and crashes, with zRam enabled (using Trickster Mod as suggested by Daniel) the game works smoothly - according to trickster mod its only doing 10% of the RAM as zRam, it doesn't have any options to adjust that. I think zRam is just helping the experience a bit under high ram utilisation, but generally its not needed.

Bugs - I do get the occasional random reboot when installing new Apps, but after it reboots, the apps are either installed, or when I install them again via play store, they install successfully. I also set the Video playback options as recommended above, Force GPU rendering, and disable hardware overlay.
[Galaxy Tab 7.7 Android Development] Trung Gs:
Zram

http://xdaforums.com/galaxy-s3/themes-apps/app-zram-swap-control-v2-5-5-sammy-4-2-t2210255

At zram:256~512MB setting .Heavy app run more faster.ex:asphalt8,Nova3,wild blood,titanium backup...
[Galaxy Tab 7.7 Android Development] so_ang:
Is it run smooth wth CM12 Rom ?
[Galaxy Tab 7.7 Android Development] Trung Gs:
Sory,It faster but not smooth ╮(╯_╰)╭
[Galaxy Tab 7.7 Android Development] p3dboard:
I have a modified version of the zram script from http://xdaforums.com/showthread.php?t=2134474 which enables 300mb of zRAM for anyone that wants to try it.

It needs to go in /system/etc/init.d in a text file

#!/system/bin/sh

#

######################

# script made by dheeraj (dhlalit11)@xda-developers.com

######################

#

#

# resetting zram

echo 1 > /sys/block/zram0/reset

#

# setting zram size to 300 mb

echo 314572800 > /sys/block/zram0/disksize

#

# making zram swapable

mkswap /dev/block/zram0

#

# starting swap on zram

swapon /dev/block/zram0

#

# setting low memory killer parameters according to total memory

#echo "700,1200,20500,20600,20600,25800" > /sys/module/lowmemorykiller/parameters/minfree

#

# setting swappiness to 100

#echo 100 > /proc/sys/vm/swappiness

#echo 100 > /data/local/devil/swappiness

#

# done

#

######################

# script made by dheeraj (dhlalit11)@xda-developers.com

######################

---------- Post added at 11:52 AM ---------- Previous post was at 11:42 AM ----------

One other bug I had was that the google play services had a constant wake lock with systemupdateservice. I had to use the play store disable services app to enable it in both Google play services and Google services framework. After that the wakelock vanished. But every time I reboot it comes back and I have to enable it again

Edit: today the wakelock doesn't seem to be reoccurring. Hopefully it stays that way. Rom is running great for me with the 300mb of vram

Edit: spoke to soon, the wakelock came back. Same issue. If i can script the enabling of the services in google framework and play services then that will fix the issue
[Galaxy Tab 7.7 Android Development] joseste4:
Bugs:

GT-P6210MA (Galaxy Tab 7plus) Running CM12 5.0.1

1) I am currently using the device in a locked landscape orientation. Every time the orientation switches the device reboots.

2) I received a notification to update super su binaries and now I have lost the home and recent apps button.

3) When installing apps button I get the occasional reboot.

4) Torch does not work.

5) YouTube sound loads but shows no picture.

I installed Chrome browser and that solved issues I was having with the browser force closing and freezing.

Current Devices

SM-G900A (Galaxy S5 AT&T) Running Xtreme Dynamic Kat 1.0

GT-P6210MA (Galaxy Tab 7plus) Running CM12 5.0.1

GT-P5113 (Galaxy Tab 2 10.1 WiFi) SlimKat 4.4.4
[Galaxy Tab 7.7 Android Development] daniel_hk:
That is correct. zRam increase the avaliable memory by compression and swap. 10 to 20% is normal. Too large may cause deadlock.

Perception is a funny thing. I have already mentioned. init.d is not working yet. Whatever script you put in that folder has no effect.

To make it work, you need the add execute permission to the script. Set the permission to 0755 by chmod after copying it to init.d.

To verify if zRam is running and to get its status. Install the app "zRam status". You may see how much ram is actually in use. Normally, around half of the 10% is in use.(depends on which apps are running) The rest is just waste.

Good luck. ;)

PS. If you guys think it is essential, I might add the zRam function to the PerformanceControl. :)

1. The lastest version is 5.0.2. Why you are still in 5.0.1?

2. I don't have a tab plus and I don't know there is a MA model. I think the hardware is different. If sensors are different, funny thing like what you described might happen.

I don't think the ROM is working on your hardware. Don't waste your time. ;)
[Galaxy Tab 7.7 Android Development] Trung Gs:
256mb zram.In cm 12.every thing is the same.i 'm using 4.4 frm now
[Galaxy Tab 7.7 Android Development] p3dboard:
After another day of testing, uninstalling a few apps that have background processes, so as to free up enough Ram for real racing 3 and turning off zram definitely gives better performance. Although the app doesn't crash out with zram on and when i have all my apps loaded, the times when it swaps / compresses to zram are slower.

Btw, init.d did run my zram script as i set the permissions to 777 via es explorer file system manager. I also have a wakelock fix script in init.d to fix my google play services issue. The same bug had occurred on cm11 so i copied the script i found from there.

But having zram is a nice option

Edit: For anyone else wanting to get real racing 3 going. You have to set the graphics to low as there's not enough free ram for medium or high. Use rrgraphics app to do this. Also i had to set the minimum free memory values to the same as my s2 cm12 rom, which are lower than the normal defaults. Foreground app 48, visible app 60, secondary server 72, hidden app 84, content provider 96 and empty app 120. Otherwise on the large tracks it crashes out due to low memory.
[Galaxy Tab 7.7 Android Development] so_ang:
Can ZRam use for other device I try with Note2 N7100 Stock Rom , it cant use

Try with other like Star S5 Miui Rom (Chinese Brand) It can open but look like cnt config to make it run ....
[Galaxy Tab 7.7 Android Development] p3dboard:
For anyone else with the play services wakelock, this is the script i have placed in /system/etc/init.d, just save it in a text file and set the permissions on the file, i set it to 777 (rwx, rwx, rwx)

edit: its not running as yet, the wakelock is still happening. If i use the disable service app, the wakelock goes.... Will keep playing with the script to see if i can make it work

#---------script----------

su -c pm disable com.google.android.gms/.update.SystemUpdateActivity

su -c pm disable com.google.android.gms/.update.SystemUpdateService

su -c pm disable com.google.android.gms/.update.SystemUpdateService$ActiveReceiver

su -c pm disable com.google.android.gms/.update.SystemUpdateService$Receiver

su -c pm disable com.google.android.gms/.update.SystemUpdateService$SecretCodeReceiver

su -c pm disable com.google.android.gsf/.update.SystemUpdateActivity

su -c pm disable com.google.android.gsf/.update.SystemUpdatePanoActivity

su -c pm disable com.google.android.gsf/.update.SystemUpdateService

su -c pm disable com.google.android.gsf/.update.SystemUpdateService$Receiver

su -c pm disable com.google.android.gsf/.update.SystemUpdateService$SecretCodeReceiver

#-------------- end of script -------------

Edit: looks like the same issue is happening for others

http://xdaforums.com/nexus-6/help/google-play-services-wakelock-t3051453/post59358216#post59358216

http://www.reddit.com/r/Nexus5/comments/2yc20l/n5_lollipop_100_awake_systemupdateservice_wakelock/

http://xdaforums.com/lg-g3/developm...-remix-5-0-t2968533/post59343775#post59343775

Edit: in the pagapps thread someone has posted a workaround, going to try (last post on page 236)

http://xdaforums.com/paranoid-android/general/gapps-official-to-date-pa-google-apps-t2943900/page236
[Galaxy Tab 7.7 Android Development] golfinggino:
I tried twice and not able to flash the latest update and I keep getting status 7 error installation aborted - anyone else having this issue ?
[Galaxy Tab 7.7 Android Development] grazy:
Not only you, I'm having it on a dirty flash and also on factory reset.

No worry, pretty sure Daniel probably working on a solution for us now.

Cheers.
[Galaxy Tab 7.7 Android Development] daniel_hk:
Can you be more specific? Which model? which host? and with which recovery?

I don't think I can help with no detail. @_@

Certainly, I have tested on my p6800 with TWRP before upload....
[Galaxy Tab 7.7 Android Development] grazy:
Thanks for the quick response. Sorry for the trouble.

My unit is 6800 with CWM. Have been using CWM for a long time.

Do we need TWRP to flash the latest rom?
[Galaxy Tab 7.7 Android Development] golfinggino:
P6800 with cwm I tried the first 2 download links and now downloading from the third one I guess I will switch to twrp
[Galaxy Tab 7.7 Android Development] grazy:
Think TWRP is a winner here. It flashed the latest build successfully.

Guess I'm joining golfinggino switching to TWRP for now.

Thanks Daniel for the hard work. Really appreciate them.
[Galaxy Tab 7.7 Android Development] golfinggino:
Tried with twrp and still failed?

Edit updated to the latest twrp and it boots fine sorry for all confusion and thanks for the update
[Galaxy Tab 7.7 Android Development] daniel_hk:
May be its the security problem. TWRP 2.8.2.1 and newer support selinux.

CWM has stop update after 6.5.x so I stop update it too.

Can you send me the log in TWRP?

You can get the log in:

Advance > copy log to sd.

In the mean time, I'll download and test again.
[Galaxy Tab 7.7 Android Development] so_ang:
Wish 7.7 Still can use Rom Base 5.1
[Galaxy Tab 7.7 Android Development] p3dboard:
Yes, Daniel mentioned that he should have an omnirom 5.1 test build soon. Looking forward to 5.1 as on the galaxy s2, the reports are that the ram management is much better and that the ROM performance is great without zram.
[Galaxy Tab 7.7 Android Development] so_ang:
CM12 Build 4Jan is more smooth than last build

Just Backup & Try OMNI Lollipop 5.1 [emoji517]
[Galaxy Tab 7.7 Android Development] arniingi:
What is the magic trick to make this latest rom useable ?

When it is not rebooting its usually frozen with black screen.

Update: ( does not really mater now, Iam going back to stock rom )
[Moto G Q&A, Help & Troubleshooting] jatanshah:
4 dots are minimium to use for pattern lock. I want to reduce it to 3 or even 2. Not talking about 3x3 pattern grid but the number of dots used to unlock.
[Moto G Themes and Apps] jatanshah:
4 dots are minimium to use for pattern lock. I want to reduce it to 3 or even 2. Not talking about 3x3 pattern grid but the number of dots used to unlock.
[Moto G Themes and Apps] S0bes:
interesting idea.

I'll look at it and hopefully will find a solution
[Moto G Themes and Apps] S0bes:
a small how-to

Keyguard\smali\com\android\keyguard\KeyguardPatternView$UnlockPatternListener.smali

.line 279
invoke-interface {p1}, Ljava/util/List;->size()I

move-result v8

const/4 v9, 0x4

if-lt v8, v9, :cond_3

move v5, v6

where const/4 v9 sets minimum number of dots.

So, I changed it to 2.

And the same thing with Settings\smali\com\android\settings\ChooseLockPattern$ChooseLockPatternFragment$1.smali

.line 165
:cond_4
invoke-interface {p1}, Ljava/util/List;->size()I

move-result v0

const/4 v1, 0x4

if-ge v0, v1, :cond_5

Here is my modified Keyguard.apk and Settings.apk from 4.4.4 retail.en.US
[Moto G Themes and Apps] vai8080:
Can u please give me for 4.4.2 as soon as possible

Thank u
[Moto G Themes and Apps] Harsh.gundecha:
G 2nd gen??

[MENTION=4413273]S0bes[/MENTION]

will this same thing work on moto g 2nd gen xt 1068 running stock 4.4.4 retaildsdsallen? :D

TIA
[Moto G Themes and Apps] S0bes:
only if you'll edit your files. btw no need for keyguard.apk. you should edit only settings.apk.

if you take my .apk file from moto G 1st gen 90% that you will see settings FC
[Moto G Themes and Apps] Harsh.gundecha:
[MENTION=4413273]S0bes[/MENTION]

1) i also assumed that putting the apk would not work and that's why i didn't even tries that way of doing it.

so now i will have to do it manually (of course with YOUR help).

2) here by info. that i have what i mean by smali is that classes.dex file(correct me if i am wrong) and FYI let me tell you that there's no "Settings\smali\com\android" instead i have google folder in place of android folder.

i hope we will be still do it anyhow.

TIA

sorry as my 8 thanks of today are over will thank you later ☺

=============================================================================================================

EDIT:-

my bad, got till the code and also to the 165th line now just please help me to clearly understand what i exactly need to change? and also let me know that the code above is ORIGINAL or MODIFIED ??

TIA

below is code of settings apk in case you need a look ☺

.line 165
:cond_50
invoke-interface {p1}, Ljava/util/List;->size()I

move-result v0

const/4 v1, 0x4

if-ge v0, v1, :cond_5f
[Moto G Themes and Apps] S0bes:
Change 0x4 to 0x1
[Moto G Themes and Apps] Harsh.gundecha:
[MENTION=4413273]S0bes[/MENTION] & [MENTION=5223677]jatanshah[/MENTION]

thanks man you made my day

gonna try it and will let you know later

Thanks once again to you and also to the one who asked this question
[Moto G Themes and Apps] iMessa:
I have Galaxy S3 mini i8200N. How can i do this? What tools i need and that stuff? Thank You!
[Moto G Themes and Apps] iMessa:
I have APK Studio but in my SecSettings.apk (theres no Settings.apk on my phone) i can't find smali. I tried Your Settings.apk and smali is there. How can i do it then? Thank You!
[Moto G Themes and Apps] S0bes:
smali - app is deodexed

no smali - there's an .odex file of .apk should be

to get smali folder inside apk you should deodex it. there're a lot of guides for different android versions available on xda
[Moto G Themes and Apps] iMessa:
So i should deodex .apk, edit it and then install it?

Edit: When i try to deodex with Quick Deodex Tool it says "Framework not found" and framework is there i pasted it from phone.

When i use Universal Deodexer V5, everything is done but finished app is same like original (no smali) and log says:

Everything is Ok

1 file(s) copied.

DEODEXING COMPLETE!

================COMPLETED DEODEXING===============

===================DEODEXED 1 of 1===============

Done checking 100%

FAILED : SecSettings.apk
[Moto G Themes and Apps] iMessa:
I did it with Ultimate Deodexer but i don't have line 165. I edited 187 coz it looks like yours but still asks for minimal 4 dots..What should i do? I need this very bad.
[Moto G Themes and Apps] Harsh.gundecha:
[MENTION=4413273]S0bes[/MENTION]

It still requires 4 dots to be joined any idea why?

do i have to clear cache or edit odex file?

TIA
[Moto G Themes and Apps] S0bes:
1)if your firmware is odexed then you have to replace odexed .apk with deodexed one and delete standalone .odex file from this folder (or even completely delete arm folder if you're on LL)

may be you should clear dalvik cache as well.

2)if you've completely deodexed your firmware and all apk and jar files on your phone have .dex file inside you should delete all standalone odex files from entire system. It means that you should delete .odex files from each folder inside /system/app and /system/priv-app/ and also delete boot.oat and boot.(forgot how to name it may be boot.art) from /system/framework or system/framework/arm because .oat file consist of .dex files.

if it still requires 4 dots, then pull out settings.apk from the phone and decompile it so you will see if the changes that you've made are still here cause may be you did smth wrong when you were building modified .apk file
[Moto G Themes and Apps] Harsh.gundecha:
[MENTION=4413273]S0bes[/MENTION]

i am on stock kk and as there also exists .odex files for all system apps so i guess its odexed (its moto g2 xt1068) stock ROM??(correct me if i am wrong)

so does it mean i will have to do all this deleting odex and some cleanup from system??

sorry if such noobish question irritates. xd

TIA
[Moto G Themes and Apps] S0bes:
yep, your rom is odexed and all you need is to delete settings.odex, replace settings.apk with modified !deodexed! one and may be clear dalvik cache (also set perm-s to the file after replacing).

if still system requires 4 dots then pull out your settings.apk, decompile it and share
[Moto G Themes and Apps] FdeKlerk:
Working

Can confirm that this still works on 5.1.1 Lollipop.

Tried this on Note 5 and it works.:good:
[Nexus 5 Q&A, Help & Troubleshooting] styles00:
Just wondering if it's possible to remove the Email app in 5.0?

I think it's stupid that all the Email app does is tell you to use the GMail app for all accounts. I got and understood that the first time i launched Email, and now I'd like to remove the app (or at very least the Icon) if possible.

Thanks!
[Nexus 5 Q&A, Help & Troubleshooting] littleguevara:
Disable the app

Edit: From the app drawer drag up to app info and then choose disable.
[Nexus 5 Q&A, Help & Troubleshooting] KillerFu:
Thanks for this! I am having the issue now where my exchange emails don't give me a notifications. I have changed it where it should be showing but they don't. Also my messages are not being pushed automatically either. Any help?
[Nexus 5 Q&A, Help & Troubleshooting] styles00:
Thanks!

Thanks! Nice and simple too.