Vai al contenuto
  • iptv.png

[TOOLS][ZIPS][SCRIPTS] osm0sis' Odds and Ends [Multiple Devices/Platforms]


Zetsu96 v2
 Condividi

Messaggi raccomandati

Please login or register to see this link.

Informazioni Generali

In poche parole, volevo solo un singolo thread per raccogliere i link ad alcuni dei miei progetti di "grandi" dimensioni, ma anche un luogo dove mettere alcuni script più piccoli gli zip che ho creato che non credo meritino una propria discussioni. Questo è, in parte per la mia sanità mentale e speriamo che renderà più facile per gli altri trovare alcune cose. Un sacco di roba qui presente è stata sviluppato con il GN o N7 (i miei dispositivi) e Windows, ma potrebbe essere generalmente applicabile alla maggior parte dei dispositivi con qualche leggera modifica. Se vedi qualcosa che ti ispira, vai avanti e modifica; fammelo sapere però per un minimo di credito. Se qualcuno volesse conoscere le specifiche di quello che c'è in un particolare script che non ho già collegato a ulteriori informazioni, me lo faccia sapere e vi posterò le info. Grazie!

Misc./Batch Tools

  • Please login or register to see this link.

    (many devices)
    A collection of Windows ports of the necessary Linux utilities for Android image (kernel+recovery) mod work, and my own automation script to unpack, edit and repack the ramdisk. Other guides/scripts exist but none of them are universal for target device, compression and/or developed for Windows. Has been extremely useful for me in my messing around with kernel ramdisks.
  • Please login or register to see this link.

    (many devices)
    Backs up the entire sdcard so that you can have a complete snapshot of your device when you make periodic backups, and be able to restore things exactly as they were. Automates the sync process of Renate NST's great

    Please login or register to see this link.

    which makes only newer files get pulled, significantly decreasing backup time for the sdcard compared to "adb pull". Currently written for devices with /data/media/ internal sdcards (Nexus devices, etc.), but could easily be modified to backup other mountpoints.

Flashable Zips

  • Please login or register to see this link.

    (many devices)
    Basically a go-to cure-all for custom kernel users experiencing issues after an upgrade due to old settings left over in a kernel control app (eg. franco.Kernel updater, Trickster, etc.), or problematic init.d/userinit.d scripts. It's also useful if you just want to make sure you're running clean defaults without conflicts.
  • Please login or register to see this link.

    (all devices)
    Those who prefer using CWM may have noticed a couple of things missing that the other popular custom recovery, TWRP, has built-in. One of these is a file explorer/manager, which is answered by amarullz' brilliant

    Please login or register to see this link.

    . Another thing I found myself wanting is a way to reboot back to the bootloader once I'm in recovery, so I created this very very simple flashable zip script. Note: Once in the bootloader, "Start" will boot you back to recovery. Not sure why, but it's not a big deal, just reboot normally from recovery at that point.
  • Please login or register to see this link.

    (all devices) [see "950iosettings, etc." below]
    A simple installer I wrote to create the /system/etc/init.d/ directory, extract the latest init.d scripts as published by the "

    Please login or register to see this link.

    " tuning collective (of which I'm a member), then set correct owner, group and permissions to the entire init.d directory. Link points to my Dev-Host since we are still finalizing a number of tunables and this file gets updated regularly. If you are a developer and would like to include these tunables/scripts in your kernel or ROM please provide credit. A lot of time and effort has gone into this project and that's all we ask.

Credits & Thanks: All authors of any included binaries and libraries for their amazing work. Anyone who's helped me with these projects along the way.

Ne io ne il forum ne il creatore si assume la responsabilità di ciò che può accadere ai vostro cellulari

Link al commento
Condividi su altri siti

Scripts

  • Please login or register to see this link.

    (all devices) [with Franco's Dev Team]
    The scheduler tunables have already gained a bit of attention/adoption on various devices and kernels, but this is the init.d script I wrote to set the new custom scheduler tunables values as "default" by an independent loop, sleeping in the background and detecting each time the scheduler is changed. There is no effect on idle drain or deep sleep. The settings included are the growing work of the "

    Please login or register to see this link.

    " (or "Team Franco") tuning collective, of which I am a member. We are striving to perfect the scheduler, vm and various other settings for the smoothest and fastest experience available. The collective is: malaroth, osm0sis, joaquinf, The Gingerbread Man, pkgnex, Khrushy, shreddintyres. Link points to my Dev-Host since we are still finalizing a number of tunables and this gets updated regularly. If you are a developer and would like to include these tunables/scripts in your kernel or ROM please provide credit. A lot of time and effort has gone into this project and that's all we ask.
  • Please login or register to see this link.

    (all devices)
    Android doesn't allow you to check the priority (or "niceness") of a process with the getpriority command as you would with normal Linux, and busybox doesn't provide this functionality either, so I wrote this reasonably simple script to allow you to check the niceness of a process. Some kernels

    Please login or register to see this link.

    with increasing the priority of com.android.systemui for smoothness, so this command can be used for testing different levels and whether the renice command set it correctly. Remove the .txt extension once downloaded and place in /system/xbin/ with rwxr-xr-x (755) permissions. It can then be run from Terminal with either the

    Please login or register to see this link.

    search string. Uses pidof and pgrep from busybox.
  • Please login or register to see this link.

    (all devices)
    Users running ROMs or kernels with extremely aggressive custom lowmemorykiller (lmk) driver settings may notice their launcher redrawing frequently. Some kernels/ROMs also include an exclusion for this by making stock (or the included) launcher unkillable, however that still leaves all the 3rd party launchers out there that people use. I wrote this init.d script with a community created list of the most common launchers to make whichever one is installed unkillable. This also has instructions for how to set up init.d scripts. If your launcher isn't included in the list, you can modifiy it by adding the application class name (from the Play Store URL) to the list within quotes, separated by spaces.
  • Please login or register to see this link.

    (all devices)
    In comparing vm settings from various kernels and ROMs to see what's out there, I wrote this script to generate a list of the values of all the relevant sysfs files and directories. Now expanded to cover cpu and governor as well. Remove the .txt extension once downloaded. To run it, assuming you just put it in /sdcard/, open Terminal Emulator and type: "sh /sdcard/settingsdump.sh" (without quotes). It will output the file to /sdcard/r*-output.txt where * is the revision of the kernel you're running. This makes it easier to compare what's changed between different nightlies, for example.
  • Please login or register to see this link.

    (all devices)
    Very simple little script I wrote while we were

    Please login or register to see this link.

    of different schedulers for 950iosettings above. Some, like the read_idle tunable for the row scheduler, vary by device, not accepting just any values and jumping by 10s on the N7 and starting at 7 on the GN then jumping by 8s (with the occasional 7). Very weird stuff, so this script helped us figure out exactly how certain tunables work by allowing us to put in the target sysfs location of the tunable, and an upper testing limit, then just letting it run to see how they increase. Here just as a timesaver for anyone looking for something similar. Remove the .txt extension once downloaded. See above for general run instructions.

Other

  • Please login or register to see this link.

    (many devices)
    This was likely my first post ever on xda. It is a "Notificon" pack for j4velin's fantastic

    Please login or register to see this link.

    , bringing a seamless stock look to this indespensibly useful app. Also a great way to get back to Settings easily from the notification shade since Android 4.2, and add shutdown/reboot menu functionality to stock/vanilla ROMs.
  • Please login or register to see this link.

    (GN)
    I was being asked a fair amount for my kernel settings over in the GN f.K thread where I help out, so I posted them up. I also put up an init.d script for setting franciscofranco's default color values on boot, which can drastically change the outcome on older panels, and at least makes custom values seamless. Instructions for how to set up init.d scripts are included. I also made a

    Please login or register to see this link.

    that can be added to init.d scripts to control a variety of kernel functions on boot.
  • Please login or register to see this link.

    (GN, N4, N7) [with Misledz]
    One of my earliest forays into EDIFY scripting, I wrote the flashable zip install/revert scheme for this great volume boost mod by Misledz. The scripts check to see if the mod is already installed and if so recommends you flash the version-specific revert that goes with it. More on that in the

    Please login or register to see this link.

    . During install the script also backs up the ROM files it replaces so that you don't need to reflash your whole ROM if something goes wrong, just use the revert to restore the backups. I also wrote automation batch scripts for Misledz as the "Louder Build Farm" to simplify his work for all the versions of the mod he maintains for various devices, but I won't be posting those while the mod is still in active development. GN/Dev thread linked; N4 and N7 links can be found there.
  • Please login or register to see this link.

    (n/a)
    Last and definitely least. A number of people have asked me about the formatting of my signature, so here are some simple BBCode tricks and workarounds I thought others might like too. Keep in mind that my signature can be significantly larger because of my RC status.

Enjoy!

Questions, comments and feedback welcome.

Credits & Thanks: All authors of any included binaries and libraries for their amazing work. Anyone who's helped me with these projects along the way.

Ne io ne il forum ne il creatore ci assumiamo la responsabilità di ciò che può accadere al vostro cellulare

Link al commento
Condividi su altri siti

Partecipa alla conversazione

Puoi pubblicare ora e registrarti più tardi. Se hai un account, accedi ora per pubblicarlo con il tuo account.

Ospite
Rispondi a questa discussione...

×   Hai incollato il contenuto con la formattazione.   Rimuovere la formattazione

  Sono consentiti solo 75 emoticon max.

×   Il tuo collegamento è stato incorporato automaticamente.   Mostra come un collegamento

×   Il tuo contenuto precedente è stato ripristinato.   Pulisci editor

×   Non puoi incollare le immagini direttamente. Carica o inserisci immagini dall'URL.

 Condividi

×
×
  • Crea Nuovo...