yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Original Android Development] parrotgeek1:
APP VERSION BETA

https://8c89a551996abc5c2f93e83c6e9...M/Android/ParrotMod_Flo/app_BETA_20160616.apk

Does not include speaker fix yet

Sent from my flo
[Nexus 7 (2013) Original Android Development] bg260:
Will you continue to update the flashable version? [MENTION=5723969]parrotgeek1[/MENTION]
[Nexus 7 (2013) Original Android Development] parrotgeek1:
No. I use the app version because it allows me to take OTAs with systemless root and flashfire

Sent from my flo
[Nexus 7 (2013) Original Android Development] bg260:
Ok. It's a great mod. I'll try to do my best to spread the word. Thanks again.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
HOW TO DELETE OLD VERSION

for using app

boot into twrp

mount system

go to file manager

delete

/system/su.d/01ParrotMod.sh

/system/addon.d/01ParrotMod.sh

/system/etc/parrotmod

I will make a zip that does it automatically soon
[Nexus 7 (2013) Original Android Development] parrotgeek1:
updated the app to fix a bug where two copies of it would run at once if you have multiple users
[Nexus 7 (2013) Original Android Development] TheMaskedHamburger:
App version works great! Twrp multirom compatible!

One question though, how do I revert the settings the app makes, uninstall and reboot?
[Nexus 7 (2013) Original Android Development] jordirpz:
[MENTION=5723969]parrotgeek1[/MENTION]

Maybe you can make a switch on/off in you app for know when the mod is enabled.

Thank you.
[Nexus 7 (2013) Original Android Development] Yergeny:
I uninstalled the recovery version with your instructions to delete certain files and then installed the app but it doesn't seem to activate. I checked the number file that previously had "48" and now is "32".
[Nexus 7 (2013) Original Android Development] parrotgeek1:
I know. I suck at design.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Yeah
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Hmm. Can you do in terminal emulator the command "mount" and send a screenshot?
[Nexus 7 (2013) Original Android Development] bg260:
Hmmm. I don't think that's an accurate assessment. [emoji53]
[Nexus 7 (2013) Original Android Development] Yergeny:
Here you go
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Lol I do. The icon is just from that wizard in Android studio that makes an icon. But I only spent like 1 minute on it.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
It doesn't apply the settings at all. What ROM? Until I fix it, install selinuxmodechanger apk and set permissive and reboot
[Nexus 7 (2013) Original Android Development] Yergeny:
It's Pure Nexus 6.0.1.

I noticed selinux didn't want to change either. So I reflashed supersu 2.65 and could then change selinux to Permissive. I rebooted and tried to use parrotmod again but it just gave the same message.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
What message? The same mount output?
[Nexus 7 (2013) Original Android Development] parrotgeek1:
IMPORTANT: THIS APP DOES NOT WORK AT ALL I JUST TESTED IT! THIS IS REALLY WEIRD! I must have accidentally changed something and not rebooted in between tests so I couldn't see it.
[Nexus 7 (2013) Original Android Development] Yergeny:
OH dear :confused:

There was a tiny difference in the mount output, but the in app message is the same.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
To temporarily fix the app until I get home (in 5 hours), use root explorer to go to /data/data/com.parrotgeek.parrotmodfloapp

Then create a folder named files and give it all permissions (RWX/0777) and then reboot
[Nexus 7 (2013) Original Android Development] Yergeny:
Thanks, that seems to have done it. I'll test the update and give feedback then too.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Here is the new icon I designed for the fixed version
[Nexus 7 (2013) Original Android Development] bg260:
Well, if you ever need any help with that....
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Thanks, but look at the post directly above yours.
[Nexus 7 (2013) Original Android Development] bg260:
Yeah, I saw it, a little to late. I'm having same issues with Beta app as yergeny. Problem is, the touch screen still seems to be improved. I'm not on multirom. Running Pure Nexus MM, did a full wipe and installed yesterday, and ElementalX. No xposed.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Yeah, the new touch screen calibration seems to also be stored inside the touchscreen controller as well as the kernel, which is why it's still better.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
The app is now working 100%
[Nexus 7 (2013) Original Android Development] parrotgeek1:
[MENTION=7185243]bg260[/MENTION] [MENTION=7468323]Yergeny[/MENTION] [MENTION=5711775]TheMaskedHamburger[/MENTION] [MENTION=5068754]jordirpz[/MENTION] ^
[Nexus 7 (2013) Original Android Development] Yergeny:
I confirm my system is working well now. I installed over my previous one and it worked.

Good job, man. :good:
[Nexus 7 (2013) Original Android Development] idCyber:
Hi ! Can this Mod be used on KitKat and SuperSU 2.46? Or I need the latest version of SuperSU ?
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Yes, you don't need a specific version anymore
[Nexus 7 (2013) Original Android Development] bg260:
[MENTION=5723969]parrotgeek1[/MENTION]

Working like a champ boss!
[Nexus 7 (2013) Original Android Development] TheMaskedHamburger:
Working well

I still run into situations where my device starts to freeze up horribly (this happens regardless of kernel or ROM.) I was hoping parrotmod might solve this but it seems to be device specific, pretty confident its a hardware issue.

Otherwise working well in app form, general responsiveness seems better with this mod. I would love an option for disabling the script in the app for testing purposes, but its definetly not needed when I can just freeze it with titanium and restart. Also touchscreen fix is awesmazing. Seriously, good work on that.

One issue is that during low memory situations the app (and maybe script?) appears to be killed but then it restarts itself reinitializing the script. This is fine, as its better than the script just dying. I would love to see the speaker buzzing fix come to the app as well.

Edit: Seems to restart around the 300mb free mark. I can also trigger this by closing the parrotmod app from my recent apps list.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Oh, yeah, there is a long-standing bug (since 4.4.1!) In Android where an apps services all restart when you close it from recent apps. I tried to work around it but not totally sure if it fixed it. In order to fix it I might need to add a persistent notification but you could just uncheck show notifications in app info.

The freezing thing is definitely a hardware issue, sorry.

I'll add the disable option, it's super easy. The speaker buzzing fix is a bit harder to add because it involves setting a ro.audio.* property, which normally can only be in build.prop. There is a program called setpropex which gets around that, but it needs to be recompiled for lollipop because it's not a PIE executable. My NDK installation isn't behaving very well. Also, if I kill mediaserver (needed to reload that property even after setpropex), it goes back to the boot animation, and then the app reloads, which kills mediaserver again, and then... uh-oh. Also I would like to fix the issue with the touch sounds being cut off, it really irritates me.

P.S. thanks for coining the word "awesmazing". It's an awesmazing portmanteau.
[Nexus 7 (2013) Original Android Development] TheMaskedHamburger:
Yknow I had a feeling it was android, I remember a bunch of apps having to add persistent notifications to get around such a thing. I thought it would have been fixed by now with marshmallow lol. A persistent would be good in the future.

Off topic about my hardware issue, unrelated to parrotmod:

Yeah, what it does is it gets REALLY slow, like as if I were to underclock the CPU to 386mhz, and the GPU to like 100mhz and cut down useable ram to like 100mb free (everything starts crashing). All sorts of screen tearing touches respond like 10 seconds later and a buttload of lag. It's pretty crazy. Then after awhile it craps itself and freezes up completely... I've check my clocks, io activity to make sure nothing weirds going on but nope. I think either my CPU or RAM is damaged. I once had a PSP that behaved similarly, also it wouldn't load games off of the memory stick without flexing the mobo LOL

Yeah, I see why that would be problematic, sounds like a PITA. I might try editing your fix into my build.prop in the meantime. Is it just the one line?: "ro.audio.flinger_standbytime_ms=50".
[Nexus 7 (2013) Original Android Development] parrotgeek1:
I am not developing the kernel
[Nexus 7 (2013) Original Android Development] jordirpz:
Link please?
[Nexus 7 (2013) Original Android Development] parrotgeek1:
There is a problem with not taking a wake lock for touchscreen calibration, it was a teaser
[Nexus 7 (2013) Original Android Development] jordirpz:
we can expect a kernel soon?
[Nexus 7 (2013) Original Android Development] parrotgeek1:
delete
[Nexus 7 (2013) Original Android Development] SHABBYLEA:
You're building your own kernel? Is this part of the PG mod?

Thanks.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Yes. I mostly posted the picture because this is the first time I have compiled a kernel that boots! It has the same changes as the app does, but in the kernel, so that ROM developers can include the touchscreen fix! And maybe Google in N once I improve the code quality.

Sent from my flo
[Nexus 7 (2013) Original Android Development] parrotgeek1:
kernel removed
[Nexus 7 (2013) Original Android Development] parrotgeek1:
kernel removed, no longer developing
[Nexus 7 (2013) Original Android Development] Laskr1999:
The app don't work for me. Ifs enabled days ago and no difference. Rom:PureNexus latest with elementalx and i/o is cfq readahead 512kb and multirom installed. Im on main rom. https://drive.google.com/folderview?id=0B3yLM5nzITkiUGVRWTlwSVZEVkk
[Nexus 7 (2013) Original Android Development] parrotgeek1:
What do you mean? The touch screen isn't any better?

Sent from my flo
[Nexus 7 (2013) Original Android Development] Laskr1999:
Yes, check the 2 video. I recorded it.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Oh, I see the video. There are actually two kinds of touchscreen problems with nexus 7, one of them can be fixed with software (this one) and the other one is fixed by unplugging and replugging a ribbon cable inside the tablet. You might have that one.

Sent from my flo
[Nexus 7 (2013) Original Android Development] Vodka69er:
Just booted up my Nexus 7 after 4 months, saw this and installed it. And wow this solved my issues with the crappy touchscreen issue which made me not use this tablet!

Bro you're a life save ???
[Nexus 7 (2013) Original Android Development] Laskr1999:
Oh so i have to RMA it. Thanks.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Actually, I have that exact same result on yet another multi touch tester if I hold my tablet in my hand, open YAMTT, set it down, and THEN run the test. In order to recalibrate the screen when you switch from holding it (your body acts as electrical ground) to not (ungrounded), try turning the screen off and on again.

Grounded is known as earthed everywhere except US/Canada FYI

Sent from my flo
[Nexus 7 (2013) Original Android Development] SHABBYLEA:
Try it with glitch kernel v412 for flo.

Works for me.
[Nexus 7 (2013) Original Android Development] binuralka:
so thanks indeed it feels like thin got better...magic!

I installed it through twrp and then enabled it in the app...there is a chance to install it only with xposed framework (bcause I have that too) ?
[Nexus 7 (2013) Original Android Development] SHABBYLEA:
Right PG, I'm going to flash your flo kernel...if I don't post back it means I've gone into another dimension... possibly a dimension where we don't need custom kernels...?
[Nexus 7 (2013) Original Android Development] bg260:
[emoji16] [emoji16]
[Nexus 7 (2013) Original Android Development] CYoung234:
Wow, I have to agree that this is a good combination for flo. The only problem I have ever really had with Glitch has been with Miracast. I will have to test that again to see how v412 is.
[Nexus 7 (2013) Original Android Development] m+a+r+k:
<Stupid question alert>

How do I know if this is working on my Nexus 7 (2013) because I see no difference anywhere?

I get 2 toast messages from SU all appears OK but screen responsiveness etc. seems the same.
[Nexus 7 (2013) Original Android Development] Jamin_1:
First of all thank you so much for your work on the biggest issue with the N7.

I installed your app. I activate it and did not see any icon in my status bar. I just tried open the app but couldn't find it in my app drawer. I do think it is working though after using it for a few minutes. It's like using a new tablet. ��

I can not believe how great my touchscreen works. Thank you so much!
[Nexus 7 (2013) Original Android Development] kingston73:
Just a little confused, what is the IMG file in the download section and what does that have to do with the app and mod? I installed the app after downloading, do I need to flash the other file in twrp?

Also, thanks this is working great!!!
[Nexus 7 (2013) Original Android Development] bg260:
Check post #68.
[Nexus 7 (2013) Original Android Development] deedeeceleb:
Any chance you could readd the flashable fix again? This one was working great, but the app isn't working for me, too

Gesendet von meinem ONE A2003 mit Tapatalk
[Nexus 7 (2013) Original Android Development] SHABBYLEA:
How did Miracast work out?
[Nexus 7 (2013) Original Android Development] craezee:
i got bootlooped on latest purenexus 6.01. went on and installed the app and nothing happened, so i went to

/sys/module/lowmemorykiller/parameters/cost,

saw no "48", tried to open with text editor, unable to open file. then i unistalled app, went to recovery and flashed boot_AOSP601_May20_ALPHA.img, i bootlooped, then i went to

/system/su.d/01ParrotMod.sh

/system/addon.d/01ParrotMod.sh

/system/etc/parrotmod

none of those were there, then i went and flashed back quanta kernel, still bootloop, then i went and dirty flashed rom again, still bootloop...

l.e. dirty flashing seems to have fixed it
[Nexus 7 (2013) Original Android Development] CYoung234:
I have not had a chance to test it yet. I will let you know.

UPDATE: Sorry for the off topic, but I cannot get Cast to work with my setup. It keeps FCing in Settings. I tried clearing settings and settings data, but no go. I will report this on the DU forum.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
I am not developing the kernel anymore because I'm kind of burnt out, and the app works fine. Don't flash the kernel.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
it works fine with xposed now, also you only need the app
[Nexus 7 (2013) Original Android Development] SHABBYLEA:
OK, bummer...
[Nexus 7 (2013) Original Android Development] bg260:
Sorry to hear that. This mod made a difference. Would like to not have to worry about accidently killing it. It runs as background. Got it whitelisted in Greenify and Battery Optimization. Hope I didn't forget anything. Maybe I'll install it to system.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
It doesn't actually get killed, I just checked. And it doesn't matter with doze, because think about it: doze runs when the screen is off, which is exactly when you AREN'T using the touchscreen
[Nexus 7 (2013) Original Android Development] bg260:
Yes, you make a good point:silly: :eek:

This is what I saw earlier but it seems to have worked itself out. First was immediately after installing ROM. Second was three hours later. That would be the ROM "settling in" I imagine. Thank you for this.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
I just added a foreground service in 0.9.3 [MENTION=7185243]bg260[/MENTION]
[Nexus 7 (2013) Original Android Development] parrotgeek1:
I just uploaded another copy of 0.9.3 with an important mount bug fix. sorry
[Nexus 7 (2013) Original Android Development] jordirpz:
Can i install 0.9.3 over your kernel?thanks
[Nexus 7 (2013) Original Android Development] parrotgeek1:
If you tested the old kernel, to switch to the app, please extract boot.img from your ROM zip and flash it with twrp flash image button, then flash SuperSU then install 0.9.3 [MENTION=5068754]jordirpz[/MENTION]
[Nexus 7 (2013) Original Android Development] jordirpz:
it is possible that in the near future make you a mod for Nexus 5?
[Nexus 7 (2013) Original Android Development] parrotgeek1:
no because I don't own one
[Nexus 7 (2013) Original Android Development] arjuna_:
I never post in the Nexus 7 forums because I tend to avoid this device due to these touchscreen issues. This mod has changed my mind completely. It is absolutely fantastic and makes a night and day difference in my device as soon as I loaded it up. Great great work!!
[Nexus 7 (2013) Original Android Development] g4_e:
The moment I used this app I felt like my flo got a new breath of life put into it:laugh: it really works and it's just great. Now the only thing stopping this tablet from being perfect is this strange YouTube bug. I know it's a bit off topic but I'm wondering if you could maybe add this to your mod. Basically whenever i play 720p 60fps or 1080p 60ps video in the YouTube app, it works for about a minute and then the video just stops playing, but audio continues to play. I know it's not buffering because audio continues to play and in the progress bar its already rendered nearly the whole video. I've tried using elemetal x kernel with the ondemand governer but it's never been completely fixed. Does anytone know any solution to this. It only happens on 60fps video so if there isn't any solution then I would be fine if someone could provide a way to disable 60fps YouTube video so I could play regular 1080p video. Thanks and cheers:good:
[Nexus 7 (2013) Original Android Development] quickdraw86:
It's an issue with the YouTube app, not ROM or kernel related. You can change resolution through the web version of YT.
[Nexus 7 (2013) Original Android Development] g4_e:
Oh okay thank you for the reply. :good: Really enjoying this tablet allot more with the great XDA community behind it:)
[Nexus 7 (2013) Original Android Development] Axel85:
Woow I have to test it ,but it looks like with your mod my touch now it s working perfect. I tried many times to internally hardware mod this tablet whit shields and improving ground on all the board, but I had some small problems I couldn't fix, like when I was moving five fingers with a touch testing app ,the screen controller crashed and started to record ghost touches and erratic touch even with 2 fingers until I turned off and on the screen. Never had many problems with one finger,when I had unresponsive touch one turn off and on of the screen was fixing everything,but now with your app I can use 10 fingers over a pillow with a rubber cover without the controller going crazy. Can you share what you be done to the ****ty elan driver? I m curious, specially about the HDMI mode
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Wait, that's the app? I thought it was my wifi. Do you know a version number that works right
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Thanks. But, please edit your post to not quote the entire OP.

I didn't actually change anything in the driver.

I was reading the driver source code and noticed that the driver has 3 "power modes", battery, USB, and HDMI. The HDMI mode enables the highest level of algorithmic resistance to electrical interference, because having an HDMI cable plugged in (with a slimport adapter) creates tons of electrical noise.

I recompiled the kernel with code to write out the raw bytes it was sending to the i2c device when it changed power modes, to dmesg. Then I wrote a script to replicate that by directly sending them to the i2c device from outside the kernel, whenever the screen is turned off or on.

Then, later, on 4pda I found out that if you do echo ff > /proc/ektf_dbg, on all Asus devices with Elan screens, it recalibrates the screen. People on 4pda originally found that by reverse engineering a leaked screen calibration app Asus uses in the factory.

I added that code to the script, to run when the screen turns OFF, so the calibration would not be affected by the backlight or screen image. Then I tested it, packaged it into an app, and made this post!
[Nexus 7 (2013) Original Android Development] Axel85:
Great work
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Thanks. Send me a ? on that post
[Nexus 7 (2013) Original Android Development] quickdraw86:
Yeah. There's not one really, just some earlier versions released shortly after 60fps was first introduced for mobile that worked more consistently than others. It's a known issue on google product forums, and has been for quite awhile. Ironically, the iOS version works great.
[Nexus 7 (2013) Original Android Development] Axel85:
For me with pure nexus + elementalx kernel + this mod YouTube 60fps works without problem, I tested it yesterday
[Nexus 7 (2013) Original Android Development] DorianX:
I have the same problem. Stock MM + ElementalX + This mod + A few Xposed modules (including YouTube background Playback and YouTube AdAway) so don't know what's causing this bug

Enviado desde mi Nexus 6P mediante Tapatalk
[Nexus 7 (2013) Original Android Development] trojan9x:
Will this affect rotation at all? Not only does my 2013 have touch input issues, but the gyro stops working as well until the device is rebooted. I have not installed this mod yet. I searched this thread, but did not see any mention of this.
[Nexus 7 (2013) Original Android Development] bailyc:
I'll give this a try this weekend. I've never had ghost touches, but have always had a weird issue with the screen flashing, almost like it's doing a redraw. Have you seen this issue and do you think your modifications might help with that?

Just last week, my tablet died on Marshmallow so it will need a complete reformat and reinstall anyway. Perfect time to give this a try.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
That happens to me after the tablet is asleep for a long time. Idk why.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
No I have not seen this issue it seems really weird
[Nexus 7 (2013) Original Android Development] Krunk_Kracker:
https://www.youtube.com/watch?v=LLCAeBe2hVU
[Nexus 7 (2013) Original Android Development] trojan9x:
I've done this a while ago. Made no difference for me, unfortunately.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
I uploaded a new version with a partial software gyro fix (resets it when it fails)
[Nexus 7 (2013) Original Android Development] parrotgeek1:
I uploaded a new version with a much better fix

Sent from my flo
[Nexus 7 (2013) Original Android Development] parrotgeek1:
I FORGOT TO ACTUALLY START THE SERVICE! There will be no improvement until I'll fix it tonight
[Nexus 7 (2013) Original Android Development] parrotgeek1:
I fixed it, redownload at same url
[Nexus 7 (2013) Original Android Development] parrotgeek1:
I GREATLY improved the gyro fix and a lot of other stuff
[Nexus 7 (2013) Original Android Development] m+a+r+k:
Just downloaded v0.9.5. Click on Enable ParrotMod button. Nothing happens. Still says underneath it isn't running.

Tried reboot - same.

Then after reboot got ParrotMod has stopped toast. Clicked OK.

Then saw SU toasts appear. Go into app and it now says it's running!
[Nexus 7 (2013) Original Android Development] Snowby123:
v0.9.4 causes rather fast battery drain when idle. I took a screen shot of the text dump i pulled from better battery stats. Is this fixed in v0.9.5? If there is any way to fix this drain I would highly appreciated.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Aaaaaaaa I'll revert the script to the last version