yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] i_am_dev:
Already rooted and SuperSU 2.65 installed

[MENTION=4745442]adrman[/MENTION] I'm already rooted and SuperSU 2.65 is the version installed on my device. Do I need to flash it again after flashing this mod?

Also how is the difference in performance after this mod. Is the lag gone completely? Thanks for the help :)
[Nexus 7 Original Development] adrman:
I'm not sure if it's necessary to flash again, but I did anyway. At least with cm11 there is no more lag. I briefly tried a 6.01AOSP build and some of the lag returned, so I'm back to cm11.
[Nexus 7 Original Development] xxfwmxx:
As per the op flash su after parrotmod. Even if already rooted. I reflashed my N7 yesterday with Pure Nexus, the latest open gapps, jubei script, parrotmod, and supersu 2.71 and the difference is amazing. No lag at all now. After all setup I installed trimmer and set it to auto trim every day.
[Nexus 7 Original Development] parrotgeek1:
yes

use this one

https://8c89a551996abc5c2f93e83c6e9...UzVmM/Android/ParrotMod_Grouper_Universal.zip
[Nexus 7 Original Development] parrotgeek1:
try this its even better https://8c89a551996abc5c2f93e83c6e9...UzVmM/Android/ParrotMod_Grouper_Universal.zip

PS you dont need auto trimmer, my script trims on every bootup
[Nexus 7 Original Development] parrotgeek1:
for the6.0.1 there is a new version

https://8c89a551996abc5c2f93e83c6e9...UzVmM/Android/ParrotMod_Grouper_Universal.zip
[Nexus 7 Original Development] parrotgeek1:
look at the first post everyone! does it look different?
[Nexus 7 Original Development] jaws.man:
Lol
[Nexus 7 Original Development] :
Thanks!!!!!!!!!!!!

Btw "Here" link in OP results in Error404 ...
[Nexus 7 Original Development] parrotgeek1:
fixed, sorry
[Nexus 7 Original Development] dareino:
First time using ParrotMod...went with the PureNexus rom setup., ext4....all looking good., responding well .Does anyone have feedback on the DC kernel?

thxs

d
[Nexus 7 Original Development] sci05:
Thanks ParrotMod! I also pm you a while ago with my galaxy nexus details a while ago so if you want to test a build for that message me and I'll glady try it out.
[Nexus 7 Original Development] parrotgeek1:
UPDATE: I posted a new version on the same link with wifi calibration updated from another newer Windows 8 tablet with the same wifi chip. It triples download speed in my room (which is the furthest possible place from the router in my house).

Also version 2.0 doesn't reboot itself anymore because it doesn't need to. This is not a bug.

UPDATE 2: I just listened to Intro by The xx and noticed that the audio stuttering is NOT 100% gone. There's tiny crackles every once and a while aaaaaaaaaaaaaaaaaa I thought it was gone
[Nexus 7 Original Development] parrotgeek1:
IMPORTANT UPDATE: If you downloaded v2.0 today (before this was posted) it will lag HORRIBLY with heavy multitasking.

Please redownload it. I made a typo. Sorry.

Also I tried to improve audio stutter WHY AM I DOING THIS AT 11:35 PM good night
[Nexus 7 Original Development] pjcanales:
You should get some sleep. A rested mind is a better mind.
[Nexus 7 Original Development] adstraylight:
I'm not usually one to post straight 'thank you' posts, but thank you! This is an excellent piece of work that deserves all the recognition it can get. I never thought that my four year old tablet could run so well, and it goes to show that the oems could do do so much better.

I don't know if this is helpful, but m-kernel had a trick to solve audio issues that temporarily lifted the minimum CPU speed when playing sound from 102 to 340 MHz.
[Nexus 7 Original Development] i_am_dev:
Not working

[MENTION=5723969]parrotgeek1[/MENTION] I tried this mod yesterday, bothways. With SU flashing and without flashing. Both methods bricked my device. Any particular reason this may have happened?

Update:

I tried the mod which you posted in this reply. This one's working. I'll update once I have tested my tablet enough. Thanks mate.
[Nexus 7 Original Development] Glpcha:
Using latest mod on pure nexus 6 and it's working flawlessly. Keep up the good work.
[Nexus 7 Original Development] parrotgeek1:
You're welcome. I don't really know why this is my most popular project but *shrug emoji*

Re: audio fix, I know about m kernels fix, but the problem with sound on multitasking is not because of minimum CPU speed. it's because mmcqd (the kernel thread the io scheduler runs in) sometimes blocks all other processes from doing SPI/I2S io when it's using the eMMC, by setting itself to an insane priority. Guess what else is i2s? The DAC chip. I fixed this by using renice (YIL that you can use renice on kernel threads and not just processes).
[Nexus 7 Original Development] parrotgeek1:
Now would be a good time to flash the latest universal
[Nexus 7 Original Development] parrotgeek1:
I decided I'm not going to make builds for devices I don't have physical access to. It's too hard. Sorry
[Nexus 7 Original Development] xxfwmxx:
Thanks for the hard work. Downloaded and flashing it now. I assume dirty flash over current setup is ok?
[Nexus 7 Original Development] parrotgeek1:
Yes
[Nexus 7 Original Development] barturblits:
Got a bootloop on the release candidate on grouper with cm12.1 temasek 18.6. Couple of weeks ago I tried univ which did work but had side effect of slow charging.
[Nexus 7 Original Development] parrotgeek1:
I'm trying to fix it

it might be the old bluetooth issue
[Nexus 7 Original Development] bluray93:
I've tried the beta version over cm13 and Bluetooth doesn't work anymore

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 7 Original Development] parrotgeek1:
Really sorry, I know what the bug is but I won't be able to fix it for 2.5 hours. *sigh*

WAIT do you mean cm13 or cm12? Because it wouldn't make any sense for that bug to exist on cm 13 because on cm13 I don't replace the files. Can you test the "Universal_Test.zip"(just edit the link). Please tell me whether or not it says " inst ble" on the screen when you flash it?
[Nexus 7 Original Development] adeelraj:
plz release a uninstall script also
[Nexus 7 Original Development] barturblits:
Thanks! Take your time, no hurry here.
[Nexus 7 Original Development] parrotgeek1:
i fixed it it will be done uploading in 5 minutes
[Nexus 7 Original Development] parrotgeek1:
Both fixed (99% sure) try redownloading in a few minutes

REFLASH THE WHOLE ROM FIRST!!! (no need to wipe data though_
[Nexus 7 Original Development] parrotgeek1:
impossible because I don't back up system files so I can't restore them when uninstalling
[Nexus 7 Original Development] xxfwmxx:
It's called make a nandroid, first thing to do before flashing anything
[Nexus 7 Original Development] bluray93:
I've tried the new version on fresh install of latest cm13 build but the bug persist. March build work ok instead (don't know exactly why).

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 7 Original Development] bangsergio:
Flash Rom from scratch without MOD and try if issue persists, make some reboots and when OK flad mod+supersu, CM 12.1 last nightly + MOD= New Tablet

Gesendet von meinem Nexus 7 mit Tapatalk
[Nexus 7 Original Development] barturblits:
Gonna try again tomorrow. It's my parents tablet and I see them tomorrow. Thanks!
[Nexus 7 Original Development] parrotgeek1:
That's weird. I wrote it in my to do list but since the old build works it seems like a bug in cm 13 itself. I'll test it later today.
[Nexus 7 Original Development] stephendt0:
Can someone explain how this mod works? I'm pretty skeptical of flashing random mods without understanding the real world implications (reminds me of Seeder Entropy mod which was basically useless for most devices).
[Nexus 7 Original Development] parrotgeek1:
giant geeky wall of text incoming, give me 20 minutes
[Nexus 7 Original Development] Ammar_Hamdan:
Flashed stock 5.1.1 removed some system apps like google+, etc then installed this mod.. It's like magic there's no lag at all

I installed a lot of apps and N7 still working great!

Thanks a lot for making this mod. :)
[Nexus 7 Original Development] parrotgeek1:
I actually didn't upload it until now, lol, whoops. try again
[Nexus 7 Original Development] barturblits:
Cool, I like geeky text!
[Nexus 7 Original Development] parrotgeek1:
please redownload and reflash it has a bug fix 1 minute ago
[Nexus 7 Original Development] parrotgeek1:
that would be because I forgot to actually post the new version until now
[Nexus 7 Original Development] parrotgeek1:
here, it's an annotated version of the script

https://ghostbin.com/paste/bnhjs

[MENTION=5932098]barturblits[/MENTION]
[Nexus 7 Original Development] parrotgeek1:
[MENTION=4586534]stephendt0[/MENTION] look
[Nexus 7 Original Development] glennza:
Hi, I have my Nexus configured as a 'low ram device' with an exposed module. Also, I am limiting background processes to 3. Are these worthwhile after installing your mod? Thanks.

Also, there is a message about removing xposed before running the mod, is it okay to reinstall after?
[Nexus 7 Original Development] stephendt0:
OK Cool, thanks. That makes sense. I feel like some of these mods could negatively affect battery life though. I'll give it a go.
[Nexus 7 Original Development] parrotgeek1:
1) no. Those make it lag worse.

2) you can install it but it slightly increased RAM usage
[Nexus 7 Original Development] parrotgeek1:
Which ones do you think make battery worse?

I'm already thinking about changing rq_affinity.

And renicing hd-audio0 has no impact except when audio is playing.
[Nexus 7 Original Development] stephendt0:
Yeah well those were on my mind, but I also didn't see why you had to modify Wi-Fi power or the way GPU scaling works. They seemed OK as it was, and were designed for a mixture of battery life and performance. The battery life of my Nexus 7 certainly isn't great after a few years, so it's something I keep an eye out for now.
[Nexus 7 Original Development] parrotgeek1:
Renice hd-audio0 fixes the irritating audio "frame drops" when multitasking so I think it's worth it.

Re: wifi power: it is only changing MAXIMUM power not default, so only reduces battery at low signal. This made wifi speed in my room (at exact opposite end of house from router) go from 2 to 7mbps.

Same thing for GPU scaling, the kernel code only enables it if GPU has been at 90% load for 10 seconds, which is almost never during non gaming.

Thanks for responding though.
[Nexus 7 Original Development] parrotgeek1:
UPDATE;

I posted a new version which reverts rq_affinity to 1 (0 made audio worse)

but makes another VERY SLIGHT eMMC speed compromise to even out the battery effects of rq_affinity

echo 1 > rq_affinity # bouncing around between cores makes audio worse

echo 1 > nomerges # try slightly less hard to merge requests, less cpu load

cc [MENTION=4586534]stephendt0[/MENTION]
[Nexus 7 Original Development] stephendt0:
Gotcha. Sounds reasonable then. I'll give it a go. Thanks for your work and taking the time to explain the technicalities :good:
[Nexus 7 Original Development] topoldo:
Just a little suggestion: to allow people to understand which is the actual release, could you please add the date to the title, something like: "ParrotMod_Grouper_Universal2-2016-04-18.zip", "ParrotMod_Grouper_Universal-2016-04-19.zip" etc... and if there is more than a release a day, something like "ParrotMod_Grouper_Universal2-2016-04-18.zip" (initial), ParrotMod_Grouper_Universal2-2016-04-18[2].zip(2nd etc..., otherwise one cannot know what (s)he is using and if it is the latest...

Thanks,

Topoldo
[Nexus 7 Original Development] :
Is this suppose to reboot the tablet on the first boot up like the older version because I'm not seeing no reboot on the latest beta. not unless this has changed where it's not needed. Only thing I was unclear on.
[Nexus 7 Original Development] adstraylight:
To be fair if you look inside the zip file, all the files have a creation date & time.
[Nexus 7 Original Development] :
A little more clarity on the main page would be a welcome addition regardless. Then I wouldn't have to post minute questions. Like for example my post above weather or not the tablet should reboot like the old version. More clarity goes along ways. But I do appreciate the work done here.
[Nexus 7 Original Development] adstraylight:
:) I've just spent the last 10 mins trying to find where, but the OP has said somewhere that the script no longer auto reboots as it is now unnecessary. Forgive me I wasn't trying to be one of those XDA - self appointed - police, I was trying to be helpful.
[Nexus 7 Original Development] topoldo:
It is *exactly* what I do every time. Anyway I appreciated the huge effort made by parrotgeek1. Mine was, as I said just a little suggestion.

Topoldo
[Nexus 7 Original Development] :
Thanks for the clarity. I tried to search myself but I work a lot so only so much time to dabble through troves of information. Appreciate it bud.
[Nexus 7 Original Development] parrotgeek1:
OK I'll make a better main post soon
[Nexus 7 Original Development] :
A good suggestion I might add [emoji2]
[Nexus 7 Original Development] parrotgeek1:
I'm going to adjust the build script to add a date to every zip, and keep the last 4. Then I'll edit the first post to just link to the folder they're in.
[Nexus 7 Original Development] topoldo:
Here you can find the post concerning the reboot not necessary anymore:

http://xdaforums.com/showpost.php?p=66402447&postcount=464

Topoldo

---------- Post added at 01:09 PM ---------- Previous post was at 01:07 PM ----------

tnx

Topoldo
[Nexus 7 Original Development] :
Is it me or is there a noticeable battery hit on the latest parrot version. I been doing nothing but lite web browsing the last hour for work on a fresh charge and already at 76%. I'm using pure nexus ROM. Might all be in my head though [emoji2]
[Nexus 7 Original Development] adstraylight:
I think it might be you, I'm at nearly an hour of SOT and only down to 88...
[Nexus 7 Original Development] :
What setup you running if you don't mind me asking?
[Nexus 7 Original Development] adstraylight:
DC-Kernel

250MB ZRAM

Lux Auto Brightness app

CPU 1300 max

Screen Off Kill app applied to all user apps except the ones I use most (including root kill of the apps' services).

I think that's everything pertinent to battery life[emoji2]
[Nexus 7 Original Development] CCarson:
Adding my thanks

I'd like to add my thanks to the chorus. All the changes you've made were *exactly* what I needed.

* The newest version is a significant performance improvement over the last one

* My room is also as far as possible from the wifi AP, so the receiver boost is most welcome

As for battery life, my battery is pretty well shot, so it's hard to tell if there's any change. But I use the device in a dock anyway, so it gets charged fully every evening.

Outstanding and truly useful work--thank you!
[Nexus 7 Original Development] :
What rom? I was using DC-Kernel with Pure Nexus, but was sometimes getting a hard reboot when plugging in the charger. But i do distinctly remember my battery doing better with DC-Kernel at stock speeds and tad reduced voltages. I'll try Lux and Screen Off apps also and give them a whirl. Thanks for the pointers. Sorry to muck up your thread Parrot.
[Nexus 7 Original Development] adstraylight:
Purenexus......
[Nexus 7 Original Development] Paddy's:
Parrotmod with allf2fs rom ?

Hi, i use the latest official slimkat rom converted in all f2fs on my tilapia. Can i flash parrotmod if system is on f2fs ? (my lego kernel works only if also system partition is on f2fs)

I like my f2fs slimkat because is fast and, unlike other roms, i can use chrome without freezing and lag but , would it be better if i flashed parrot mod on this rom ?

Would it be better if i used parrotmod on a slimkat rom without f2fs ? thanks
[Nexus 7 Original Development] xxfwmxx:
Not sure on slimkat but I have system and cache formated to f2fs and running great on pure Nexus.
[Nexus 7 Original Development] codygs83:
Am I the only one that can't dload the newest update?? When I click HERE it opens chrome them closes it but the dload never starts. When I go to github and click the zip it takes me to a error 404 page.

Anyone have the zip I can dload??
[Nexus 7 Original Development] adstraylight:
Try opening Chrome again, it should reload the last page ie the download, if that doesn't work open the thread in Chrome and download from there.

I just found that the link in the op in the xda mobile app behaved exactly as you described, but when I went to open Chrome manually it then acted as if I'd just opened the download link. I think it's just a bug in the app. BTW, the zip file from the github is not of the flashable kind.

Actually, I think it's because you already have a file of the same name in your download folder, because when I reopen chrome it asks me if I want to replace the existing file.
[Nexus 7 Original Development] codygs83:
Awesome. I renamed the first mod file. Tapped the HERE again. Then opened chrome. Done deal [emoji106]
[Nexus 7 Original Development] Hohlraum:
Any way to confirm that this is installed and functioning? (incredibly stupid question I know, but not really seeing any performance improvements)
[Nexus 7 Original Development] parrotgeek1:
Yes it would be even better
[Nexus 7 Original Development] parrotgeek1:
IMPORTANT(ish): in the last version I accidentally set the wifi country code to Europe rather than worldwide, which means that TECHNICALLY the tablet is no longer FCC compliant. Whoops. I'll fix it today (I'm also going to add the dates to the zip name, and keep the last 4 old versions)
[Nexus 7 Original Development] miji2:
All these tweaks you gathered would be very valuable for many other older devices. Would you rather work on modularizing your MOD to support more devices, or do you want to keep it pure N7 and prefer we fork your code to support other devices?
[Nexus 7 Original Development] tpuserhp:
It's mentioned recently for a new version of the MOD that we should "REFLASH THE WHOLE ROM FIRST!!! (no need to wipe data though)". Do we need to reflash the ROM first for all future versions of the MOD? Thanks.
[Nexus 7 Original Development] parrotgeek1:
No. You only need to reflash the ROM if the old beta broke Bluetooth.
[Nexus 7 Original Development] parrotgeek1:
You should fork it but don't do it until I tell you because I'm not quite done with it yet
[Nexus 7 Original Development] lotte67890:
Hey, this looks fulminate! Can I flash your ROM on top of this: http://xdaforums.com/nexus-7/3g-development/rom-6-0-android-marshmallow-pure-aosp-t3226083 or is it better to start from scratch with the latest original Google ROM?

THX

Lotte
[Nexus 7 Original Development] xodeus:
Confirmed flashing and booting on cm12.1 nightly.

1. Enable root adb + apps in developer options.

2. Install TWRP Manager from Play Store and flash TWRP for grouper.

3. Download mod and SuperSU.

4. Boot to recovery from TWRP Manager app.

5. Flash mod and SuperSU.

Voila.

Now my kids are going to test it while playing games.
[Nexus 7 Original Development] parrotgeek1:
yes you can flash it but pure nexus is better imo
[Nexus 7 Original Development] parrotgeek1:
I just did both of these things. Use the new download link in the first post
[Nexus 7 Original Development] Ahkah:
docx

The original text in the first post had unnecessarily caused a lot of confusion about what the package really is and what it is supposed to do. Now the description can easily be understood and clearly points out what this thing does and why one should install it. The new download method including the build date in the file name is great.

Just two hints: You might

1. consider removing the backup or lock file "~$torial WIP.docx".

2. consider providing .txt or .pdf instead of docx, because docx and xslx are generally somewhat impolite (some people do not use or even have access to Microsoft software), and they are potential carriers not of Trojans (because these were more or less all killed by Greeks), but of Trojan Horses (made by Greeks, as commonly known).

Thanks for all your effort!

:)

PS: I am not only an Android "user", but am also a developer (in fact I even paid 25 USD to be allowed to place my totally free (!) app in the Google store ...), so I really appreciate your great work.
[Nexus 7 Original Development] parrotgeek1:
done, I don't know why it got there, it's invisible to me except in Terminal.

I will once I actually finish the tutorial. I actually just moved it out of the shared folder because it's not done yet anyway
[Nexus 7 Original Development] Paddy's:
Hi ,is there a new way to see if parrotmode is working properly ?

I installed latest universal parrotmod today and i have a parrotmod folder on etc, but

read_ahead_b isk value is 0 and i don't have lastpmver_univ.txt file . Also i don't see haveged process.

I had already supersu but i flashed it again after parrotmod and then i rebooted . I am using slimkat all f2fs rom with exposed and dalvik runtime.

Thanks for your great work, the nexus 7 seems faster even if it's on f2fs , i'd just like to know if i installed parrotmod properly :)
[Nexus 7 Original Development] topoldo:
@ parrotgeek1:

The OP is ok now!

Anyway I have a litte doubt. In fact you wrote there:

...

REQUIRES LATEST SUPERSU INSTALLED FIRST EVEN IF YOUR ROM HAS BUILT IN ROOT LIKE CYANOGENMOD, TURN IT OFF IN SETTINGS, THEN FLASH SUPERSU!

....

Now, I have the "Pure Nexus Project" ROM by GtrCraft which has SuperSU inside.

When I install(ed ) ParrotMod I also install SuperSU together it BUT I did not turned off the SuperSU of PureNexusProject.

When ParrotMod required the "spontaneous reboot" I knew SuperSU was ok. Now there is no indication that the process was ok. So: my question is: do I need to turn off the SuperSU installed or, even if it is turned on, the SuperSU I install together with ParrotMod is sufficient to make the magic?

TIA

Topoldo
[Nexus 7 Original Development] parrotgeek1:
It's working properly. The new good value for read ahead is 0
[Nexus 7 Original Development] parrotgeek1:
I don't think you actually need to turn it off, but do it just to make sure everything is OK. It is working if /sys/block/mmcblk0/queue/read_ahead_kb is 0
[Nexus 7 Original Development] glennza:
Damn! New version not working for me! I uninstalled xposed, flashed supersu v2.65 then flashed parrotmod. Wiped ART and cache and rebooted. read_ahead_kb is still "4"??? Any ideas?

I'm running the Dirty Unicorns ROM
[Nexus 7 Original Development] parrotgeek1:
it's still 4???? it means the script was running but you have a really old version, because if it didn't work at all it would be 128

try to delete the folders

/system/su.d

/system/etc/parrotmod

and redownload the new version and reflash it
[Nexus 7 Original Development] parrotgeek1:
Update:

Stable Version 2016-04-22

Fix Wifi Country code problem/FCC compliance [for realz, sorry]

Fix battery drain problem (mostly)

Add comments to code

Optimize ext4 journaling, which improves audio stutter back to the level of older builds without sacrificing performance

Check for enough free space and SuperSU on install, fix other install issues

Known Bugs

miracast freeze on disconnect (some roms)

No longer supports 4.1 [probably ever]

No longer supports 5.0.x [temporary? Good riddance, anyway]

Full disk encryption is unusably slow

Does not support multirom boot from usb (it never has, apparently)

Upcoming

charging Noise fix addon.d [it keeps when upgrading roms]

support multirom USB drive: loop0 block device optimize

Test encryption and optimize for speed

real armv7 busybox from bszaosplp & credit it [makes zip smaller]
[Nexus 7 Original Development] glennza:
Did that. Still 4. I think Trickster Mod might be overriding it?
[Nexus 7 Original Development] parrotgeek1:
Yep that would be it. It's a good idea to turn off all storage related and RAM tweaks in trickster mod, because I already optimize them
[Nexus 7 Original Development] glennza:
Done. Thanks. Only changes now are ramping the cpu up to 1600, governor to touchdemand, gpu to 550 and reduce gpu voltage by - 5. Are those settings compatible with parrot mod?
[Nexus 7 Original Development] parrotgeek1:
Yes but I don't think reduce GPU voltage does anything for performance. Try under volting CPU at low speeds, for battery

PS please reboot