yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 Edge+ Accessories] calage1234:
Hey guys, i just bought the s6 these days and i ordered the "Verus high pro shield" (https://youtu.be/YmvvTF8CA5U) and i was looking for a film, but i'm from Brazil and here the Glass tempered are so expensive... i came here to ask you if it is necessary a tempered glass film, or i should use the case and a "normal" film? In my mind i'll use the film just for scratches and the case to conserve the phone and the screen... What do you think?

Obs: Sorry for my english!
[Nexus 7 (2013) Original Android Development] parrotgeek1:
What is ParrotMod?

This is a mod to greatly improve the touchscreen performance of the 2013 Nexus 7, on ANY rooted ROM, and work around a hardware problem with the gyroscope/accelerometer (auto rotate).

Updated 1/22/2017 to remove the problematic kernel tweaks, and fix EMI resistance for non-SlimPort mode. Note: I don't own this device anymore.

Download:

https://parrotgeek.com/dl.php?file=ParrotMod_2013N7_1.0.2.apk

ParrotMod was added to @flar2's elementalX kernel.

See here: https://github.com/flar2/flo

GitHub:

https://github.com/parrotgeek1/ParrotMod_Nexus_7_2013

Important Note

In order to recalibrate the screen when you switch from holding the tablet (your body acts as electrical ground) to not (ungrounded), try turning the screen off and on again.

If ParrotMod does not improve the touchscreen at all, it could be that the touchscreen cable is loose inside the tablet. There are YouTube videos on how to fix this, like this popular one:

Spoiler content hidden.

The feature fixing the auto rotate bug might not work for everyone. If it doesn't, here is a real hardware fix:

Spoiler content hidden.

If you use multiple users on your tablet, ParrotMod's app icon will only show in the primary user. Enable ParrotMod in the primary user, and it will run even when you switch to another user.

How ParrotMod Works

The touchscreen is fixed by enabling a mode that is normally only used when HDMI is plugged in that is more resistant to electrical interference, and calibrating the touchscreen each time the screen turns off.

The auto rotate is fixed by reregistering sensor listeners every time the sensor daemon crashes. I do not know the underlying cause of this issue.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Known bugs

crash when no root (on N?) Logcat would be helpful!

when you update supersu, parrotmod does not work and says there is no root until you reboot

it does not use emicbhdmi after screen turned off & on (need to keep track of whether HDMI_PLUGGED)

HELP! MY TOUCHSCREEN HAS STOPPED WORKING AFTER I INSTALLED THIS!

Apparently, there is a VERY RARE incompatibility with some touchscreen firmwares which requires you to reset the firmware before installing ParrotMod. ONLY do this if your touchscreen stops working after installing it.

(You need fastboot & adb on your computer, Google it)

1) Plug the tablet into the computer

2) Turn on the tablet with power & volume down buttons pressed, to enter the bootloader

3) download the boot-ts.7z from https://xdaforums.com/t/take-that-m...-works-for-you-regardless-of-updates.2428133/ and extract it to a folder, open command prompt/Terminal, cd to that folder

4) run: fastboot boot boot-ts10-lock.img

5) your device will bootloop. just run "adb reboot bootloader" after about 30 seconds to get back to bootloader

4) run: fastboot boot boot-ts-unlock.img

5) your device will bootloop. just run "adb reboot" after about 30 seconds and Android should boot up with touch working
[Nexus 7 (2013) Original Android Development] SHABBYLEA:
OK, going to give this a try...
[Nexus 7 (2013) Original Android Development] parrotgeek1:
try the version uploaded 2 minutes ago sorry
[Nexus 7 (2013) Original Android Development] parrotgeek1:
How is it so far?
[Nexus 7 (2013) Original Android Development] jordirpz:
Thanks for you work.

Seem that your mod isnt fully compatible with xposed installed.

What is compatible and what isnt please?
[Nexus 7 (2013) Original Android Development] parrotgeek1:
It will work with xposed installed it will just use about 20% more system RAM total
[Nexus 7 (2013) Original Android Development] parrotgeek1:
How's the touchscreen?
[Nexus 7 (2013) Original Android Development] SHABBYLEA:
Thanks PG...will flash the latest and let you know how it goes...

Cheers.
[Nexus 7 (2013) Original Android Development] jordirpz:
Faster

Thanks for this mod
[Nexus 7 (2013) Original Android Development] SHABBYLEA:
Hello again PG...

Just a quick question... Is there an interface that comes with ParrotMod? [can't find anything in the app drawer]

Thanks.
[Nexus 7 (2013) Original Android Development] jordirpz:
Its only compatible with n7, or is compatible with n5 too?

Thanks
[Nexus 7 (2013) Original Android Development] parrotgeek1:
No there is not. It's all automatic.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
No it's not because it's only for that specific kind of Elan touch screen.
[Nexus 7 (2013) Original Android Development] SHABBYLEA:
OK. Thanks.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
[MENTION=5000703]mad4some[/MENTION] the flo beta is here!

Sent from my flo
[Nexus 7 (2013) Original Android Development] cluster1:
Discard.
[Nexus 7 (2013) Original Android Development] bg260:
Hello, Thank you for this. I can't wait to try it. My only question is, how easy is this to uninstall if need be? I get a little nervous about altering lib files.
[Nexus 7 (2013) Original Android Development] quickdraw86:
At the worst, you'd have to wipe system and reflash your ROM.zip (dirty flash your ROM onto itself).
[Nexus 7 (2013) Original Android Development] bg260:
Sounds all right. I'll get it done now. Thanks. ;)

---------- Post added at 10:36 PM ---------- Previous post was at 10:12 PM ----------

[MENTION=5723969]parrotgeek1[/MENTION] You my friend are a genius. Instant noticeable difference. I am able to type this message without getting frustrated. I can actually delete 1 letter at a time, instead of mashing it in frustration and deleting an entire paragraph. And where my keyboard never made a peep. It now makes the sound that I told it to. The slight delay is negligible. I hope you have space in your PayPal account because there should be plenty of appreciation for this mod. I'm glad i I never threw Flo when the urge struck[emoji1]

Wait a minute.... You do have a donation account right?
[Nexus 7 (2013) Original Android Development] parrotgeek1:
[MENTION=6683753]Snowby123[/MENTION]
[Nexus 7 (2013) Original Android Development] s9amme:
Thanks for this, i can use my N7 again! I tried sfhub's fix, but it didn't really work for me. This one has been working flawlessly so far. I can finally type on the tablet without getting phantom inputs. great work!
[Nexus 7 (2013) Original Android Development] chickentuna:
Is the mod suppose to "not run" a few moments after enabling it? I've enabled the mod and see the notification but after a while (usually after about 30mins of screen off) the notification goes away and when I check the app, it says Parrot mod not running and I have to enable it again. Everytime it happens, auto rotate stops working till I enable parrotmod again. I did not encounter this behaviour on 0.9.5
[Nexus 7 (2013) Original Android Development] parrotgeek1:
No. I'll try to figure it out. Marshmallow and doze really ruined background services

Sent from my flo
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Pretty sure I fixed it, reverted a bunch of stuff, try 0.9.7
[Nexus 7 (2013) Original Android Development] Zobat:
A really good app my friend! I can use my N7 again!
[Nexus 7 (2013) Original Android Development] parrotgeek1:
I just got home and the notification is gone, I actually didn't fix it, still trying
[Nexus 7 (2013) Original Android Development] parrotgeek1:
I fixed it. it was a missing WAKE_LOCK permission
[Nexus 7 (2013) Original Android Development] Snowby123:
I just wanted to say thank you for fixing the unbearable wakelock. My devices can finally enter deep sleep again. This is a truly fantastic mod
[Nexus 7 (2013) Original Android Development] parrotgeek1:
@ EVERYONE WHO DOWNLOADED THIS, EVER, BEFORE 2 HOURS AGO

PLEASE UPDATE TO VERSION 0.9.8, SERIOUS BUG FIXED:
[Nexus 7 (2013) Original Android Development] parrotgeek1:
I just released version 0.9.9, which now automatically calibrates the screen when you plug in or unplug a charger.

But, before you install it, you should probably delete the file /data/system/framework_atlas.config with a root browser and reboot.
[Nexus 7 (2013) Original Android Development] Kmias:
Is it compatible with elementalX?
[Nexus 7 (2013) Original Android Development] quickdraw86:
It's supposed to be universal for flo/razor... Yes. Disable any scheduler I/O tweaks or revert adjustments you made to it if you did, should be fine. Nandroid beforehand is always a great idea too.
[Nexus 7 (2013) Original Android Development] Kmias:
Ok. Setting elementalX to cfq (stock) then.

Thanks
[Nexus 7 (2013) Original Android Development] razor26:
I still have some ghost touches even after installing this.
[Nexus 7 (2013) Original Android Development] quickdraw86:
This mod isn't 100% guaranteed to fix any and all screen issues on this device, that's why the OP had the foresight to include links to videos/tutorials that detail ways to do actual repairs and troubleshooting on common screen issues caused or exacerbated by hardware problems.
[Nexus 7 (2013) Original Android Development] axetilen:
Is there any avantage of CFQ compared to SIO?

SIO works perfectly for me that I don't wanna change. I know that CFQ is one of the best in multitasking but not so great in battery life
[Nexus 7 (2013) Original Android Development] quickdraw86:
You can read about the differences between most of the popular I/O schedulers for yourself here.
[Nexus 7 (2013) Original Android Development] axetilen:
yes I already read this post and similar ones. They all recommend SIO is better than CFQ in important aspects (battery, speed). Maybe the dev just wanna play safe because SIO is not supported in all kernels
[Nexus 7 (2013) Original Android Development] Saber:
Most of CFQ's advantages are utilized by hard drives, but because mobile phones use flash storage, it may be better to use an algorithm with lower overheads (hence we recommend SIO most of the time). Both are really stable schedulers, CFQ may perform better in data transfers, but overall experience is not too much different. Older devices may benefit more from a scheduler with less overheads.

gsstudios
[Nexus 7 (2013) Original Android Development] duckian:
My flo has 2 users. What's the best thing to do? TIA.

- install parrotmod on main user (admin) only: does the tweak work for both users or main user only?

- install parrotmod on secondary user only: does the tweak work for both users or secondary user only?

- install parrotmod on both users: both benefit?
[Nexus 7 (2013) Original Android Development] quickdraw86:
All users share /root, /system and their contents, but in order for a user to benefit from the mod and for the app to function correctly, the other users would need root access.
[Nexus 7 (2013) Original Android Development] chkenwing:
Hi Parrot,

Do you reckon this will fix the problems I'm facing here Touchscreen problem

Thanks
[Nexus 7 (2013) Original Android Development] parrotgeek1:
I intentionally added code so the app will ONLY run in the primary user. But the primary user services are always running. It should work fine if you just grant it root access once (although if you open the app while in secondary user it will say Not running)
[Nexus 7 (2013) Original Android Development] parrotgeek1:
It won't hurt to try lol
[Nexus 7 (2013) Original Android Development] parrotgeek1:
When you run parrotmod it sets it to CFQ anyway
[Nexus 7 (2013) Original Android Development] parrotgeek1:
I optimized CFQ sysfs settings to decrease overhead
[Nexus 7 (2013) Original Android Development] Snowby123:
how does it decrease overhead?

Overhead is by definition the cost of running a business.
[Nexus 7 (2013) Original Android Development] Saber:
There are a few variables that can be tuned to optimize the scheduler. This includes the rotational tunable which needs to be disabled to tell the scheduler we are using a ssd (or flash storage) and not a traditional hard drive. Other tunables can be changed as well, but this is the main one.

There is an overhead definition just for computing as well, which generally refers to extra computing time or anything related.

gsstudios
[Nexus 7 (2013) Original Android Development] sabbeer:
Its an apk. I thought it would be a flashable zip...
[Nexus 7 (2013) Original Android Development] Kmias:
No wonder it was already in cfq when i installed elementalX in default settings (row default)
[Nexus 7 (2013) Original Android Development] GhostOfDawn:
Crashes.

Hey I searched this thread for any crashes and didn't find anything. Once I tap on "enable parrotmod" I get "Unfortunately ParrotMod has stopped". No idea why. Rooted on cyanogenmod 10.2
[Nexus 7 (2013) Original Android Development] PINki92:
Uninstall and reinstall the app. Had the same problem.
[Nexus 7 (2013) Original Android Development] chkenwing:
Just wanna say that this actually fixed the problem.

I'm still getting ghost touches and dead spots on the screen (at one point it's registering 5 fingers on the screen and being all erratic making the notification pane drop down), however at least it is now usable especially around the centre (which I wasn't able to do previously).
[Nexus 7 (2013) Original Android Development] bzcn:
Ran a test with Yet Another Touchscreen Tester and got so many ghost touches, especially with touching with two fingers at once getting up to 7-10 ghost touches with only 2 fingers on the screen.

Rooted, Installed Parrotmod on 6.0.1 and touchscreen problems are gone!

Amazing work, thank you so much.

My N7 was practically useless with the ghost touches, now I can use it again.
[Nexus 7 (2013) Original Android Development] Shahryar123:
I installed this app and when I turned off the screen for 2 seconds, the screen showed no response to touches, touchscreen isn't working at all, I've tried everything, now I'm using it by an otg with a mouse.

Please help!
[Nexus 7 (2013) Original Android Development] parrotgeek1:
This is really weird. Try this

Delete parrotmod

Reboot

Download terminal emulator from play store, open it

Type

su

echo ff > /proc/ektf_dbg

P.s. have you ever used sfhub's tsfix files before?
[Nexus 7 (2013) Original Android Development] Shahryar123:
No luck.

I was able to execute this command without any errors but the problem is still going on. I've flashed other roms but touchscreen isn't working.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Try sfhub's tsfix files. If that doesn't work apparently you have bricked your touch screen firmware. I didn't even know that could happen. I apologize. It has worked for hundreds of other users with no problem
[Nexus 7 (2013) Original Android Development] Shahryar123:
:)

Hmmm okay but to be honest with you I don't know anything about these files you're talking about. Please guide me.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
https://www.google.com/url?sa=t&sou...EVLgLWRHnnPrsLdjg&sig2=2E93yUxHu6qKxlvQVoW58A

Pick the first boot.img and fastboot boot it. It will boot loop but just hold the power button. Then the touch screen firmware should be reset
[Nexus 7 (2013) Original Android Development] Shahryar123:
Yahoo!

You rock bro! Thanks a lot! Touchscreen has started working again.
[Nexus 7 (2013) Original Android Development] zion609:
Oh my god how did you achieved this?

Installed the app and enabled it, and it works amazing!

Will continue to monitor how it goes.

Edit: also does it runs automatically after every boot after enabling it once? If it doesn't any idea on how to make it runs automatically? ;)

Edit2: seems like it runs automatically. Nice. Works great here! I'm a happy lad :D
[Nexus 7 (2013) Original Android Development] 777.300:
Does this mod change the SELinux status? Found my Flo in Permissive after installing and activating this mod. I am almost sure it was in Enforcing before.

Sent from my Nexus 7
[Nexus 7 (2013) Original Android Development] JovieBrett:
Holy sht after all of the things I've been through by cracking the back cover of my tablet just to check those goddamn cables and sticking it with tapes, this is the only thing that made the annoying touch screen issue fixed, gawd this has been bugging me for years lol thank you so much man! I may still observe this for days to see if the issue would come back but as of now, I've been using it for 3 hours and it fcking works GREAT.

Also, I hope this can be implemented on CM's future releases for Nougat :)

Anyway even though the app may be temporary, I created an improved version of the app's product icon so I just would like to express my gratitude:

https://drive.google.com/open?id=0BzCtDp4PaWRucm13anV3RHp0bGc

[IMG="icon"]http://i.imgur.com/3bI98s8.png[/IMG]

Edit 7/18/16:

It seems that the touch screen issue is somehow returned, I don't have any idea why :/
[Nexus 7 (2013) Original Android Development] parrotgeek1:
No, it shouldn't... I'll check the code though. If it does, that's my mistake.
[Nexus 7 (2013) Original Android Development] Xylynx:
How are you rooted? Though cyanogenmod or do you have supersu installed?
[Nexus 7 (2013) Original Android Development] parrotgeek1:
It does not support 4.3. Why are you still on 4.3? (The next version will tell you it is unsupported instead of crashing)
[Nexus 7 (2013) Original Android Development] simonali68:
Not seeing any difference at all here. Still getting unresponsive touches and still having to power down and up again to fix auto rotate.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Just making sure, do you see "parrotmod has been granted superuser permissions for an interactive shell"?
[Nexus 7 (2013) Original Android Development] simonali68:
It's in the SU app list.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
That's weird it should be working. What ROM are you on
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Update

I'm still working on v1.0 final. It will have all bugs fixed, and also a high performance mode which has some CPU scheduler tweaks like disabling gentle fair sleepers and enabling high resolution timers. It will be off by default because it could affect battery life.
[Nexus 7 (2013) Original Android Development] lion7718:
Made somewhat of a difference on my Nexus 7 (2013). Thanks
[Nexus 7 (2013) Original Android Development] glitchsta:
Thanks man, it really did work, i was skeptical at first!
[Nexus 7 (2013) Original Android Development] fonixmunkee:
Thanks very much for this mod...makes my N7 2013 run like new. I anxiously look forward to your continued updates.

Have a PayPal link to donate with? Or can I gift you some ad-free XDA?
[Nexus 7 (2013) Original Android Development] parrotgeek1:
ad free would be nice lol, mine is expiring tomorrow
[Nexus 7 (2013) Original Android Development] simonali68:
Just boggo 6.0.1 MMB29V (sorry for the delay!)
[Nexus 7 (2013) Original Android Development] bin01t:
Fc on cm13
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Use SuperSU not the built in root. I'll fix this in a few days, it's a bug
[Nexus 7 (2013) Original Android Development] boltomair:
auto rotate still doesn't seem to be working on Dirty Unicorns official 10.5 :/

---------- Post added at 08:46 PM ---------- Previous post was at 07:48 PM ----------

pay me no mind, it wasn't a software issue. The sensor connector was supposedly a bit loose, so i removed the back and unhooked the connector. Then rehooked it in and tested to see if it was rotating again. Once i verified that rotation WAS working, I taped the cable in place and put a little thicker piece of padded tape inside the back cover to provide some extra support in maintaining the connection.
[Nexus 7 (2013) Original Android Development] abhishek24dogra:
404 file not found... any mirrors??
[Nexus 7 (2013) Original Android Development] parrotgeek1:
Sorry. I just switched web hosts. Will fix ASAP
[Nexus 7 (2013) Original Android Development] parrotgeek1:
I fixed it, and released v1.0! with all bugs fixed, however it does NOT have high performance mode because I'm too busy
[Nexus 7 (2013) Original Android Development] SHABBYLEA:
Thanks for the update...?

After breaking my previous flo [which didn't need parrotmod because I didn't have the touch screen issue], I bought a replacement which did have the ts issue...

So, just flashed latest and ts issue is fixed....?

Great work.... thanks again.
[Nexus 7 (2013) Original Android Development] Extreemator:
Please update for andoid 7,0. Though I recommend hardware fix (just tape these two cables all across the battery. Make them fully covered by tape, that's much more reliable than in the video, because the fix breaks down sometimes and you have to reload few times). I the app useful for multitasking mode. Two screens jiggle less when I scroll two different sides of screen together.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
It doesn't work on 7.0?
[Nexus 7 (2013) Original Android Development] Extreemator:
No. App closes with a message that app is stopped. Wait maybe it's because it's not rooted it's ASOP and I cannot root myself it because usb port is half working on nexus (they all have bad quality usbs).
[Nexus 7 (2013) Original Android Development] parrotgeek1:
You have to root. It says [APP - ROOT] in the title :-p
[Nexus 7 (2013) Original Android Development] lion7718:
I own 3 Nexus products and never had a problem with the USB.
[Nexus 7 (2013) Original Android Development] Extreemator:
You are lucky. But you won't deny that all usb ports there are shaky, not a good impression... Compare to Apple's port.
[Nexus 7 (2013) Original Android Development] parrotgeek1:
I have had an issue with the USB port on 2012 barely working, but never 2013.
[Nexus 7 (2013) Original Android Development] kieranc:
I installed this app on cm13 nightly, it rebooted twice within 20 mins so I've uninstalled it and the rebooting has stopped. Nice idea but it doesn't seem very reliable...
[Nexus 7 (2013) Original Android Development] parrotgeek1:
That's odd. Can you send me the contents of /proc/last_kmsg? My email is my username at Gmail
[Nexus 7 (2013) Original Android Development] quickdraw86:
I personally own 6 nexus devices, and have only ever had issues with a USB port on one of them, which I've since repaired myself. So... All six of my nexus devices have sturdy ports now. It could be worse, at least your tablet didn't blow up.
[Nexus 7 (2013) Original Android Development] wantowan2:
Careful with these sweeping statements about nexus in a nexus thread. PLUS, then saying the "A" word...lol I got a little puke in my mouth. Your attempting to compare the massively prolific micro-usb, cross everything... To a rip off Apple launcher on Linux platform the has some special unique cable for every device ...yadda.

That said, my N72013 slid off of a stack of books, port down. It crammed the cable @ the port over to one side. While becoming a bit sloppy it still work OK for another 2 years and better with a new high quality that locked in better.

My N6p has the high speed Type C USB which is a huge improvement.
[Nexus 7 (2013) Original Android Development] Extreemator:
I think that in generaly built quality is far from apple including connection port. And this is very understandable, google doesn' build them. And I am ok with it.

Btw I flashed superSU, (i got confused first time coz in supersu thread there is red text: supersu doesn't give you root) and it works on android 7. Though have a hardware fix taped two cables fully to the battery.
[Nexus 7 (2013) Original Android Development] kieranc:
Thanks for responding, I've reinstalled the app and it seems to be behaving, unless I block the persistent notification when the tablet locks up solid. I'll try get a last_kmsg if possible.

Edit: random lockups happening (,have to hold the power button for 10s to power off, nothing else responds) but no reboot. Uninstalled again I'm afraid