[Utility][v3.5.0][11/08] Auto-Patcher (4.4) - Android Software/Hacking General [Developers Only]

The Auto-Patcher 3.5.0​ (Element 113)​
by pastime1971 and mateorod.​with kobik77, and Caldair​
DISCONTINUED!!! (2/10/14)
Information here​
I am no longer actively monitoring this thread! OpenPDroid support is no longer being maintained for Android 4.4 builds after 1/20/14. Older builds will still work for as long as you like. A little statement is on the link above.
OpenPDroid
Come see us on github or at the OpenPDroid thread.
The Auto-Patcher​
The Auto-Patcher is a smali patching utilty that can be used to port mods, framework changes, themes and more across ROMs and devices by patching files and outputting a flashable zip.
We hope that this tool can help developers get their work to a wider audience and help users easily try programs that may call for skills or time they don't have. In one command, you can have all the power and utility of the mods/programs listed below, with no specialized knowledge.
Supports​​
ClockworkMod and Aroma installers
Cyanogen [CM7, CM9, CM10, CM10.1, CM10.2]
AOKP
AOSP 2.3- > 4.4
ParanoidAndroid
Evervolv
SlimRom
PACman
...and many others.
If you want your ROM supported, open an issue on the auto-patcher github with a link to the ROM's source code and a download link!
We do not support system.img, Odexed roms or Sense, TouchWiz or other OEM-skinned AOSP at this time.
Supported Platforms​The Auto-Patcher runs on Linux and MacOSX terminals. Project contributors kobik77 and wbedard have helped us add Windows support as well.
Kobik77 has developed a stand-alone GUI for Windows called ApG. The most current version of ApG can be downloaded here.
The Available Mods​
Unless there are hardcoded reasons they conflict, all of the mods below can be combined, so you could get all of the programs and tweaks in one shot. If you use other premade patches or zips, you would have to choose between them.
The Auto-Patcher is the only non-destructive way to get these enhancements, short of building your own ROM and/or applying your own changes to the code.
The name is paranthesis is the MODS for use on the command-line. See usage below if that confuses you. It isn't hard, really.
OpenPDroid(openpdroid): NEW!
Brand new open-source framework patches, designed for use with the open-source Pdroid Manager. Support for 4.1.2 and 4.2.1!!
PDroid (pdroid):
The one where we make our bones, PDroid is an advanced privacy app, one that allows you to deny system and user apps permissions they usually need to function. PDroid changes the information passed by permission requests instead of denying it like other apps. That means no FC's or misbehaving apps. PDroid allows you to set custom phone numbers or IMEIs as well. PDroid is only officially supported through GB. The Auto-Patcher makes it an option for ICS and Jellybean ROMs as well.
PDroid is available in the Google Play Store, although you may have trouble installing it from there. It is available from its release thread by svyat, PDroid's sole developer. Discussion about PDroid efficacy and operation for ICS/JB is usually best at pastime1971's port/build patch thread.
PDroid 2.0 (pd2.0):
CollegeDev's update of the core PDroid app and framework. There is a separate app you will need as well. You can get the app and read about PDroid2.0 and get the .apk here. This mod is only for Android 4.1.2+
V6 Supercharger (v6supercharger):
Contains EVERY edit in the UltimateJarPatcher tool, except way easier and more reliable. Our patches contain zeppelinrox's most recent edits. You will still need the script, which you can get at his OP. Only for Android 4.0.0+!
Insecure Boot.img (insecure):
This should work for just about every ROM, giving you true root shell access, enabling adb push of system files and adb remount commands. It can truly save your bacon if you are the type to play with system files and flashing. Some ROMs come with this feature already, so if this patch fails, it just means you already have one.
Secure boot.img (secure):
The opposite of the above. There are advantages to both, and what you want depends on what you do. I haven't seen any other way to secure a boot.img, with so many roms now having insecure by default.
Swap internal and external storage (external_internal):NEW!
This swaps your app storage from an sdcard to internal storage. This allows you to use all apps, even w/o an sdcard!
TabletUI (tabletUI):
Based on findings by barmullio, this allows users of the "Phablets" UI to switch from the stock phone or phablet layout to Tablet user interface. I personally like the tab interface because it allows me more regular access to the status bar. Lockscreen rotation has been enabled as well. Maintained by Caldair.
http://forum.xda-developers.com/showthread.php?t=2154075
NEW
Mods for Wifi-only Tablets.
3G Dongle (3gdongle):
This allows users of Wifi tabs to use their 3G dongles on their tablets, allowing them to have data on the go. This is a pretty involved mod, and the development is still on-going. We would like to stress that you read up at developer trevd's thread for best practices and troubleshooting. A growing list of confirmed supported dongles can be found there as well.
Google Voice (voice):
As popularized by bongostl, this allows users to use Google Voice to make outgoing calls. It changes your framework-res to recognize that the tablet is voice capable. This allows you to recieve calls as well and has other call quality advantages over things like GrooveIP.
Usage​
Designed to run on Linux, OSX and Windows (using Cygwin)
The Auto-Patcher has become completely open-source, and no one has gotten more out of that than our Windows users. kobik77 and wbedard have come aboard and brought Windows support to our formerly *nix-only utility.
Kobik has also crafted the first Auto-Patcher GUI! Here is his post with download link and features description (including auto-update from Github!) If you have any trouble with ApG check your anti-virus. Grayfoxmg1 has a post he maintains that covers any and all configuration troubleshooting advice you could need.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you use Windows and try ApG from the above link, THAT IS ALL YOU NEED TO KNOW.
The below is for OSX and Linux users.
Requirements for execution: Java (JDK), cpio, patch
Help
For usage and patch availability, place a rom.zip into this directory and try
Code:
$./auto_patcher <ROMNAME>.zip -h mods
The Auto-Patcher v2.5.0
*******************************
The available mods are
****************************************************
* pdroid openpdroid voice v6supercharger *
* voice insecure secure external_internal *
* tabletUI 3gdongle pd2.0 *
****************************************************
To find out more about any mod, simply enter:
./auto_patcher -h <MODNAME>
so
Code:
$ ./auto_patcher -h openpdroid
Code:
The Auto-Patcher v2.5.0 by Mateorod and Pastime1971
*************************************************
Mod Name: openpdroid
A fork of the open-source PDroid and Pdroid2.0 framework.
Developer: FFU5y/wbedard/mateorod/Community
Dependancies: The PDroidManager app freely available from Google Play or http://forum.xda-developers.com/showthread.php?t=1994860
Works on ROMs from Android 4.1.2 -> 4.2.1
usage: ./auto_patcher <ROM> <MODS> <ROMTYPE>
example: ./auto_patcher CM10.zip openpdroid cm
Use ./auto_patcher -h for the help menu
To patch a ROM
Code:
./auto_patcher <[FONT="Courier New"]ROMNAME[/FONT]>.zip <[FONT="Courier New"]MODS[/FONT]>
example:
Code:
./auto_patcher cm10-encore-fat-tire.zip pdroid,tabletUI
You can have any number of mods applied at the same time, just separate them with a comma and NO SPACES!
98% of the time, that is all you need to know!
If you would like to see some of our more advanced usage, please see the third post.
Debugging
There is never any need for any wiping or restoring of a backup! If you encounter any problems, simply reflash the generated restore.zip or your ROM over the install, preserving all data and settings!
In the Auto-Patcher directory you will see a logfile that is generated with each run of the program. Please attach the entire logfile in order to get the best support we can offer.
Current and past versions available at our download page on techerrata
Download
You can also clone from our github. See the README because there is actualy a lot extra there.
Contributors
pastime1971
mateorod
kobik77 (ApG developer/cygwin maintainer)
Caldair: TabletUI maintainer.
Maintainers
Urinophoria (just about everything!)
KickNGuitar (OSX testing)
AuSSiELaMbChOpS (PAC rom maintainer)
Thanks
eyeballer and kevank with Team Win for web hosting
Svyat
CollegeDev
JesusFreke, brut.all and iBotPeaches
FFU5y
tonyp
krylon360
inportb
chainfire (for faapt)
zeppelinrox
trevd
rathian, and TheMatrix2000 (for OSX testing)
romracer and greenblue for 4.1.2 fixes
ninno_mx
The Auto-Patcher is a fully open-source utility, and we welcome new contributors.
If you are a developer, themer or script writer who has code-level edits you walk your users through, let us know and we can get together and create a package for you. A message to developers is here, which also touches on our donation policy.

PREREQUISITE patcher only works on unix environments (linux, macosx, cygwin)
1. set up linux vm or install cygwin, if you don't have a linux machine (see below)
2. install the linux packages "jdk" (and "jdk-devel" depending on linux distro) if missing "java" or "jar" (openjdk works as well as sun java jdk)
3. install the linux command "patch" if missing (see below)
HOW TO VM or Cygwin see robjective's post for vm setup, or kobik77's post for cygwin setup
HOW TO INSTALL TOOLS if you encounter "Missing patch diff tools" error, see http://forum.xda-developers.com/showpost.php?p=26388234&postcount=422
HOW TO INSTALL JAVA JDK you do need both java (JRE) and jar (JDK) commands
on ubuntu, type sudo apt-get install openjdk-7-jre openjdk-7-jdk
on fedora, type, su -c "yum install java-1.7.0-openjdk java-1.7.0-openjdk-devel"
edit: ubuntu installation of openjdk jre corrected.

Advanced Usage and Changelog​
Advanced Usage
Please be aware this is almost NEVER necessary. But it remains an option and possibly useful if we release a bad patch (hasn't happened yet...)
Code:
./auto_patcher <[FONT="Courier New"]ROMNAME[/FONT]>.zip <[FONT="Courier New"]MODTYPE[/FONT]> <[FONT="Courier New"]ROMTYPE[/FONT]> <[FONT="Courier New"]PATCHDATE[/FONT]>
The '<>' surrounding the variables is a convention that indicates you replace that section with your particular info, without the actual <> symbols.
ROMNAME is the literal name of the Rom.
MODS would be a list of offered mods (as seen in the -h menu or the OP), separated by commas and NO SPACES.
ROMTYPE is cm, aosp, aokp or pa
PATCHDATE is OPTIONAL and almost NEVER needed. The auto-patcher now can match your ROM with the best patch date automatically.
For example:
Code:
./auto_patcher cm-10-OFFICIAL-20120820.zip pdroid,v6supercharger cm 20120824
Changelog
Most Recent Changes:
Code:
# 2013.07.20. (v2.9.93) New OPD CM patches, many bugfixes
# 2013.07.20. (v2.9.935) New PA, AOKP patches. gitattribute. FIx PING for cygwin. (h/t: gcydtmkq)
# 2013.08.05. (v2.9.941) Bundle patchv2.6.1 for cygwin.
# 2013.08.07. (v3.0.0) Support for Android-4.3 (Opendproid only- CM and AOSP).
Entire Changelog:
Code:
# ChangeLog
# 2012.05.00. (v0.1)
# 2012.05.12. (v0.2) allows user to specify a different version of patches
# 2012.05.13. (v0.3.0) force "patch -N", remove temp upon failure, generate log output
# 2012.05.13. (v0.3.1) revised the generation of updater-script (SGS2)
# 2012.05.15. added AOSP patches
# 2012.05.15. added crespo-aosp patches; device-specific patching if patch exists
# 2012.05.15. remove restore.zip upon failure
# 2012.05.15. (v0.4.1) added CM7 (GB) patches
# 2012.05.18. (v0.4.2) added checking for tool commands
# 2012.05.21. (v0.4.3) apply device-specific patches only when it is specified
# 2012.05.26. added task title to log
# 2012.05.31. (v0.4.4) CM9 patches updated, crespo-aosp added
# 2012.06.04. (v0.4.5) added checking tools and rom, added aroma installer support
# add patch outputs reroute
# 2012.06.15. CM9 patches updated
# 2012.06.16. (v0.4.6) AOKP patches updated, patch versions restructured
# 2012.06.17. (v0.5.0) patcher script reorganized, removed build.prop
# 2012.06.17. (v0.6.0) auto patcher script for pdroid and v6 patches
# 2012.06.19. (v0.6.1) add patches for CM7.2 Final
# 2012.06.20. (v0.6.2) updated CM 7.2 patches
# 2012.06.23. (v0.6.3) fix symlinks
# 2012.06.26. (v0.6.4) added 0618 patches for cm7 nightlies; removed 0619 cm7.2 final
# 2012.06.27. (v0.6.5) added new CM9 patches (20120626)
# 2012.06.27. (v0.6.6) added CM7 nightly patches (20120625) (finally!)
# 2012.07.02. (v0.7.0) Redid AOSP/AOKP; add Windows support (using Cygwin). Thanks kobik77!
# 2012.07.06. (v0.7.1) updated CM9 patches (20120706)
# 2012.07.08. (v0.7.2) updated AOKP (20120707) and CM9 (20120708) pdroid patches
# 2012.07.11. (v1.0.0) reworked script works on Linux, Mac OSX, and Windows (on Cygwin);
# added new ICS/JellyBean support for the new V6-Supercharger
# 2012.07.18. (v1.0.1) new CM7/CM9 Pdroid patches (20120718)
# 2012.07.23. (v1.0.2) updated CM9 patches (20120723)
# 2012.07.23. (v1.0.3) updated CM9 patches (20120724)
# 2012.08.06. (v1.5.0) updated smali/baksmali binaries to 1.33
# 2012.08.06. Added Pdroid/V6supercharger support for CM10 Jellybean!
# 2012.08.06. Improved PDroid stability and efficiency (Thanks CollegeDev)
# 2012.08.06. (v1.6.0) added aokp-jb patches for pdroid/v6supercharger, script update
# 2012.08.17. (v1.9.5) Added support for pdroid_addon, by CollegeDev.
# Added insecure boot.img mod
# Added support for aosp-jb (This needs testing, and may not be
# a wide patch due to large variation between AOSP roms.
# -Please report all experiences!
# Updated all v6supercharger patches w/new edits to ProcessList
# Major script overhaul in preparation for additional mods!
# 2012.08.20. (v1.9.6) Conditional support for Official cm10 and aokp-jb builds
# 2012.08.23. (v1.9.7) Final/confirmed pdroid support for Official CM10 and AOKP-JB
# 2012.09.04 (v1.9.8) Bundled cygwin-compatible tools (original was corrupt).
# For Cygwin, replaced h2b function with simple bash math
# conversion (req'd for compat w/ Cygwin tools).
# 2012.08.26. (v2.0.0) Added .apk patching
# Added 3G Dongle support for Nexus 7 (trevd)
# TabletUI support for Nexus 7 (maybe more)
# Google Voice support for Nexus 7
# mods are 3gdongle, tabletUI, voice, or nexus7suite (for all)
# Added provisional file copy menu to widen patching base
# 2012.09.11. (v2.0.1) Cygwin support fixes
# 2012.09.11. (v2.0.2) Bugfix for 3gdongle (all)
# 2012.09.16. (v2.1.0) Significant restructuring of core operations; added edit text file
# fix for "method-cap" errors in pdroid.
# 2012.09.20. (v2.1.1) Fix for Phone FC's; OSX support finalized; ContentResolver resolved
# 2012.09.28. (v2.1.2) Hotfix for failed pdroid patching. Logging improvements.
# 2012.10.07. (v2.1.5) Final pdroid support for CM7.2 Official Releases
# Added aosp-mod patches for pdroid patching of AOSP kangs
# Switched to Chainfire's (f)aapt for speed/space reasons
# 2012.10.13. (v2.1.6) New PDroid patches for aokp-jb and cm10 4.1.2
# Revert (f)aapt- temporary due to reported issues
# 2012.10.15. (v2.17) New (again) CM10 pdroid patches.
# Move files to be copied into $p/$R/$B
# -This required a bunch of file moving-report broken symlinks.
# Some error check on the old RIL delete functions (thanks bundrik)
# 2012.10.16. (v2.1.7.5) Fix FC on phone with CM10 pdroid patches
# 2012.10.19. (v2.1.9) Testing CM10 support for PDroid Extension by CollegeDev.
# 2012.10.22. (v2.2.0) aosp/aokp and cm10 support for pdroid extension by CollegeDev
# MAJOR reworking of patches and improved query. only 4 mod types:
# cm, aokp, aosp, and pa. See our OP for details.
# 2012.10.26. (v2.3.0) Final (LTS) version. Stable for now until upstream breaks any patches
# Thanks to KicknGuitar for the OSX testing!
# 2012.11.01. (v2.3.1) Fix for pdroid RIL deletion for older roms
# Better Build query logic and help messages
# 2012.11.02. (v2.3.5) Add Evervolv support for all mods- Thanks to new maintainer poncik!
# Fix method cap for pdroid/pd2.0 for AOKP and kangs
# 2012.11.06. (v2.4.0) Update pd2.0 patches to latest pd2.0 release- all except Evervolv
# add GsmService to smali.txt; improve rom probe
# 2012.11.08. (v2.4.2) Add Evervolv support for pd2.0; Device-specific scripts
# Will display error if using a mod on an inapplicable rom
# 2012.11.09. (v2.4.5) Error catch for random method issues, fix pd2.0 Evervolv and aosp-jb
# 2012.11.17. (v2.4.6) Fix pdroid for CM7. FINALLY!.
# 2012.11.17. (v2.4.7) Internal debugging improvements
# 2013.01.13. (v2.5.0) Added 'openpdroid' mod --Open-Source Pdroid framework
# BIG Improvements to help and error-catch. Try ./auto_patcher -h
# 2013.01.15. (v2.5.1) OpenPDroid support for Evervolv and ParanoidAndroid, hotfix for Mms
# 2013.01.15. (v2.5.2) Fix for cygwin temp files (kobik), provisional telephony files added
# 2013.01.16. (v2.5.3) SlimRom support. Rearrange structure for ApG.
# 2013.01.23. (v2.5.4) Fix small bugs related to rearrange
# 2013.01.25. (v2.5.7) 4.2 TabletUI support [cm,aokp,aosp,Evervolv]
# 2013.01.28. (v2.5.8) Fix for ICS PDroid; small fixes/expansions
# 2013.02.01. (v2.6.0) OpenPdroid 1.0.1 patches (cm, aokp, aosp, evervolv and slimrom. no pa.
# Fixed TabletUI for Cm10.1- aosp to come. Removed most old patches.
# 2013.02.01. (v2.6.25) PA OpenPDroid 1.0.1 patches; AOSP TabletUI. removed opd all 1.0.0
# 2013.02.09. (v2.7.0) Add new AOKP, CM9, CM10,CM10.1 and PA (3.0) patches for OPD
# 2013.02.09. (v2.7.5) Add new AOKP, AOSP, CM10.1 and PA (3.0) patches for OPD (Andr. 4.2.2)
# 2013.02.17. (v2.7.9) 4.2.2 opd 4 evervolv; v6supercharger,3gdongle and all but tabletUI.
# 2013.02.20. (v2.8.0) New CM10.1 opd patches. Each BID can have own provisionals now.
# 2013.02.23. (v2.8.2) SlimRom 4.2.2 support (from karamelos), APK recompile safety net.
# 2013.03.01. (v2.8.3) PAC (.aosp-pac) 4.2.2 support (from AussieLambChops), apktool 1.5.2
# 2013.03.03. (v2.8.4) Remove settings.apk from tabUI, replace Mms.apk. Refactors.
# 2013.03.06. (v2.8.5) Bugfixes, mainly.
# 2013.03.17. (v2.8.6) Added 4.2.2 tabletUI test run for CM from Caldair.
# 2013.03.18. (v2.8.6.5) Hotfix from caldair for tabletUI, new SlimRom patches
# 2013.03.18. (v2.8.7) TabletUI support for 10 inch screens (caldair)
# 2013.03.25. (v2.8.8) Fix for Cygwin paths with spaces (from kobik77)
# 2013.04.06. (v2.9.0) Added new tabletUI patches for CM and 4.2 conflicts.
# 2013.04.10. (v2.9.1) Updated aokp openpdroid patches (0405) please report.
# 2013.04.18. (V2.9.2) Added AOSP and SlimROm TabletUI patches (credit: Caldair)
# 2013.04.18. (V2.9.3) Added missing framework2.jar opd aosp 4.1
# 2013.05.08. (v2.9.4) Updates to TabletUI (from Caldair)
# 2013.05.18. (v2.9.5) New AOKP openpdroid patches (0514)
# 2013.05.20. (v2.9.6) New CM and PAC-man (aosp) openpdroid patches.
# 2013.05.27. (v2.9.7) $INCREMENTAL patches for bugs/updates and GPS fix for opd (credits to phillipberndt)
# 2013.05.30. (v2.9.8) Improve apk handling: test fix disappearing apks. New opd: evervolv,slim
# 2013.06.18. (v2.9.83) Introduce auto-update for OSX and Linux...turn off by setting it false in .config
# Update PACman patches for OPD and update telephony for PA to silence errors
# 2013.06.18. (v2.9.84) Some environment trickery to speed up search/sort. Add WEBSITE for mods.
# Check updating. New AOKP OPD patches
# 2013.06.19. (v2.9.85) Fixes to auto-update. Added changelog.txt
# 2013.06.20. (v2.9.865) Various bugfixes, add color, obfuscate $PROVISIONALS.
# 2013.06.21. (v2.9.87) Added ALTERNATE patches feature- hopefully fixes PA telephony issues.
# 2013.06.22. (v2.9.875) New tabletUI patches, revert flawed CONFLICTS feature
# 2013.06.22. (v2.9.88) New CM opd patches
# 2013.06.28. (v2.9.89) revert baksmali changes for now (still needs work), add new PACman OPD 6/26
# 2013.07.02. (v2.9.91) Switch to SlimRom team's aapt and apktool for OSX+Windows (Need OSX builder!)
# 2013.07.07. (v2.9.92) New opd patches for Slim/PA; some fixes to tabletUi by Caldair
# 2013.07.17. (v2.9.927) Fix missing Mms (finally), support for CM Final, many bugfixes (conflicts, mod ordering, etc.)
# 2013.07.20. (v2.9.93) New OPD CM patches, many bugfixes
# 2013.07.20. (v2.9.935) New PA, AOKP patches. gitattribute. FIx PING for cygwin. (h/t: gcydtmkq)
# 2013.08.05. (v2.9.941) Bundle patchv2.6.1 for cygwin.
# 2013.08.07. (v3.0.0) Support for Android-4.3 (Opendproid only- CM and AOSP).

For Developers
The Auto-Patcher is meant as a tool, one that shortens the gap between your work and users. This tool modifies the android framework- unless we specifically partner with a developer, we will leave the proprietary stuff to you.
For instance, we port the Pdroid framework, and make the smali edits for the V6. But users have to go get the app and/or script themselves.
The project is fully open-source and neither pastime1971 or I have donate buttons. We do this for the intellectual challenges it brings and because we believe in the process. At no point are we interested in getting between you and your users or donations.
Sound ok?
If you think you have a project that could benefit from an Auto-Patcher package, please let us know. We are in the midst of creating the tools that will soon allow you to easily (as in one command, easily) create your own patches and packages with basically no change in how you probably already work.
Think of the Auto-Patcher as, at worst, an alternative distribution method. As you can see from the OP, we put the developers of the work front and center. We're conscious of the fact that so many of us do this work for love and that getting recognition for your efforts can be the only reward. We take that seriously.
Feel free to post in the thread or contact us by pm or on github.
Donation Policy (for users)
We feel like if there is a mod you are especially appreciative of gaining, the best thing you can do to show your support is to donate to that mod's dev. Tell them who sent you, please!
For those users who feel like they would like to donate to the Auto-Patcher specifically, we have thought long and hard about the ethics of it and eventually decided that we were better off not personally accepting contributions. The requests for a donate link have been quite humbling, though, so thanks for the enthusiasm.
If you really, really would like to show support to the project, there is a donate link to Techerrata after you request a download. Techerrata hosts a huge number of Android projects, all free of charge. Also, Kobik77, creator of the Windows GUI ApG accepts donations. If you use ApG, you could consider him as well.
There is a reference spot in the Techerrata donate page (they tell me), so make sure you tell them who sent you!

homi3kh said:
what went wrong :-s
Click to expand...
Click to collapse
Ha. Maybe an hour after we went up, we found out that the transition to CM7.2 final had broken our patches for Gingerbread. Since those patches had worked for every iteration of CM7 in the past, it came as a suprise, to say the least.
However, that always is the way when you release software. The second you go up, no matter how much you try and test, some bug floats immediately to the surface.
It can be maddening...
However, I immediately downloaded the source and began building so as to update the patches. I had hoped to beat any prospective CM7 users, as it has been historically our least used patch. You happened to sneak in before I had a chance to upgrade the patches.
The second of the two necessary builds is something like half-way done. It will be maybe a couple of hours at most before I update the Auto-Patcher.
Thanks for trying it, the issue will be resolved shortly.
Edit: While I was writing this patime1971 chimed in, and as usual it looks like he is right. The files that failed to patch were the same as the ones that fail for cm7.2 final and threw me off.
Like pastime suggested, try some of the ICS patch sets. All CM9 and AOKP ICS roms can be patched, as well as many of the derivatives. But some of the custom roms can fail. Usually those failures will come in patching the ServerThread.

Auto-Patcher20120619v061 added to OP with updated patches to support PDroid for CM7.2 Final.
As is our practice, once pastime1971 posts his arcee builds I will cross-reference them with the new patches to ensure wide coverage for the patches. But history does indicate we should be covered with this update.

homi3kh said:
it's my ROM and it's cm7.2 stable but i change the build.prop to 4.0.4 will this interrupt your script? hope not
---------- Post added at 10:16 AM ---------- Previous post was at 10:06 AM ----------
this new build will work on cm7.2 stable? i'll test that and report back
Click to expand...
Click to collapse
The script automatically queries the build.prop for likely matches of ROM and DATE, but you can override those settings by explicitly choosing you options.
The v061 has some newer patches for CM7.2 final in it, but they might need some adjusting or even replacing. They work on some tests I have made, but not for a vibrant set I was sent. Which is troubling, because across builds of CM source, the patches should be fine.
Let us know how it goes, we will continue to work at updating the patch tonight.

it still gives error, my ROM is cm 7.2 final for HTC Legend
### apply framework.patch ###
1 out of 11 hunks FAILED -- saving rejects to file smali/android/app/SuggestionsAdapter.smali.rej
9 out of 38 hunks FAILED -- saving rejects to file smali/android/content/SyncStorageEngine.smali.rej
Reversed (or previously applied) patch detected! Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file smali/com/android/internal/telephony/cdma/EriManager.smali.rej
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! error: failed framework.patch
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! please refer to /host/HomICS/ap/log20120620104041 for any debugging
! patching failed.
Click to expand...
Click to collapse

homi3kh said:
it still gives error, my ROM is cm 7.2 final for HTC Legend
Click to expand...
Click to collapse
CM7.2 final ? i didn't know there is a final.
can you post a link to ROM download page ?

pastime1971 said:
CM7.2 final ? i didn't know there is a final.
can you post a link to ROM download page ?
Click to expand...
Click to collapse
I just say it like meteorod hehe it's cm 7.2 stable
they release it in cm website already

Well, for encore and some others it was just released.
That's why the patcher wasn't ready with patches ready for it.
Here is a link to a news release.
pastime1971 just sent me his patches he made from a separate build, but it also fails to patch the CM7.2 final roms I am using for checking (vibrantmtd and encore). It seems neither of us checked out the correct branch when we built.
I will continue to look to correct this. We'll get it soon for you, though.
And for those of you NOT trying to patch 7.2, let me make sure that it is clear that the Auto-Patcher is working as advertised, we just need to add support for the newest release of Gingerbread.
We will add it soon, but everything else is working as expected!

Patch for CM7.2 Final added.
autopatcher20120620v062 added to first post.
Thanks for your patience, let us know how they work for you, please.

mateorod said:
Patch for CM7.2 Final added.
autopatcher20120620v062 added to first post.
Thanks for your patience, let us know how they work for you, please.
Click to expand...
Click to collapse
i tried pdroid patcher from original dev and it doesnt work on cm7.2 it boot with blank screen,
i'll try new autopatch and report back

AWESOME! Will the Auto-Patcher replace the traditional PDroid-Patcher in the long run? Any official statement about this development from the real PDroid-Developer yet? ;-)

SecUpwN said:
AWESOME! Will the Auto-Patcher replace the traditional PDroid-Patcher in the long run? Any official statement about this development from the real PDroid-Developer yet? ;-)
Click to expand...
Click to collapse
Svyat has said that he is getting pretty close to being done with an ICS version of his patcher. I know he had some things going on that were making the release come out later than he wanted.
My involvement in this started when I visited pastime1971's thread where he had personally ported PDroid to ICS with some build patches. Together we were able to make the PDroid-Patcher, in a manner we soon realized could be used to port all types of mods, themes and code edits. The Auto-Patcher has all the function of the PDroid-Patcher but is expandable, you know?
It probably won't necessarily replace the PDroid-Patcher, just because some people are only looking to get PDroid working on ICS, and nothing more.
The Auto-Patcher is more of a porting method, one that happens to include PDroid as an example.
But I think both of our involvement in the project came about as a result of our admiration of PDroid, and a simple wish to use it on our ICS devices.
I know that I personally am excited to see what Svyat comes out with once he releases his patcher.
But in the meantime, I am real happy with the results of using both patchers we made. Through some fairly intensive testing, we are confident that PDroid works just as it should on ICS through these efforts. Which is of course what we wanted all along .

Awesome!, thanks Mateorod and Pastime1971 for this noob proof script. Now Pdroid can be easily integrated to CM9,..

I'm currently using Virtuous Shooter 3.0.5 and have already talket to pastime about his patcher not working on this ROM. He meant that porting it would be a huge effort without the source code, will this auto patcher work on above ROM now? Finding another ROM that fully supports 3D and camera of the HTC EVO 3D is rather hard these days...

Anything pastime1971 might have told you about the pdroidpatcher will still hold true here. This has essentially the same function, simply generalized and with some script tightening and optimization.
We are only able to make our existing patches because of the existence of source code.
This Auto-Patcher is meant as way to port mods to end-users who don't want to or cannot build their own ROMs. It's chief feature is that we have devised a way to patch in framework level function AFTER the ROM has been built.
Just about anything can be patched at build time, and once that happens, we can use the result to port it to similar ROMs. But without that first build, it is hard to port to some of the more esoteric ROMs.
Some things, like the services.jar for the V6 Supercharger, are basically universally portable with just one patch. It just depends on the function of the changes and their breadth.
PDroid has a BUNCH of changes to the framework of the ROM. Without some sort of map to where those changes need applying, the Auto-Patcher is basically operating blind.

Thanks for clarifiying this, mateorod. I might have to switch my ROM then. Shouldn't be a problem though. Will it work on KingCobra3D-ICS? Does anybody know? This ROM sounds waay too good to be true.. Edit: The Auto-Patcher fails in generic mode on above mentioned ROM. Would you PLEASE add support for it?

I get bootloop after flashing the created update.zip:
Output of auto_patcher:
Code:
ubuntu1% ./auto_patcher cm-7.2.0.1-bravo.zip pdroid cm7 20120619
### verify tools ###
### verify ROM ###
### unzip patch tools ###
### unzip patch patches ###
### unzip rom ###
inflated: system/framework/core.jar
inflated: system/framework/framework.jar
inflated: system/framework/services.jar
### create updater script ###
inflated: META-INF/com/google/android/update-binary
inflated: META-INF/com/google/android/updater-script
### using Clockworkmod installer ###
### create restore.zip ###
### decompile framework.jar ###
... extract preloaded-classes ...
### decompile core.jar ###
### decompile services.jar ###
### patch pdroid/cm7/20120619 ###
### apply framework.patch ###
### apply core.patch ###
### apply services.patch ###
./auto_patcher: line 261: patches/pdroid/cm7/20120619/services.patch: No such file or directory
cat: services.jar.log: No such file or directory
grep: services.jar.log: No such file or directory
### rebuild framework.jar ###
### rebuild core.jar ###
### rebuild services.jar ###
### create updater.zip ###
### finished ###
flash update.zip to install the modified
flash restore.zip to restore the original

Related

[RMS][AOKP34] Compile & Build 4/27/12 [RMS Android Engineering]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This build i compiled myself completely from source!
I used blahbl4hblah guide and edited a few things to build AOKP! found here Thread Link
Here is the step by step how i did it!
How to compile moved to 3rd post.
Special thanks to:
Click to expand...
Click to collapse
Whitehawkx
Roman
Jonathan Grigg
Zaphod-Beeble
ProTekk
Sethyx
vorbeth
blahbl4hblah
CyanogenMod
CHANGE LOG: Build 33
TEAM KANG
bug fixes
- Bluetooth: Fixed memory leak and file handles leak
- Nav bar & tablet status bar FCs fixed
- Fixed some init.d scripts not running due to lack of bash
- Changing brightness by sliding on the top of the statusbar (if enabled) shouldn’t FC anymore
- Fixed Data toggle not updating properly
- Torch should be acting normally again
- ROM Control: Fixed scrolling cache not setting properly
- Weather will refresh whenever SystemUI starts instead of when the phone boots (so if it gets restarted, it should fetch weather again, it didn’t before)
- Lockscrens: Added lockscreen wallpapers to pin & pattern unlock screens
- Settings: fixed link mute states always being checked
supersonic: Updated files (thanks to evervolv), should boot! I’ve also included a “camera hack” so it should work, Video camera will FC, so will panorama mode. It is what it is
new features
- Added another ROM Control shortcut that opens ROM Control
- Added ability to translate weather conditions (only German is translated for now I think)
- Mms: added ability to strip unicode (CM)
- Mms: added emoji icons (CM)
- Mms: added quick emoji button to left of input (option you must enable)
- Added warnings to fast charge (will notify you if it’s enabled on boot)
- Hide navbar feature for tablets
- More music players supported for AVRCP 1.3
CHANGE LOG: Build 34
fixed mobile data toggle not updating for serious
fix navigation buttons for tablets
long press home options added to General Interface for phones that have hardware buttons
fix icon transparency being applied to right-side buttons (BT, etc)
updated NovaLauncher to 1.1.1
Add BT MAP Profile
fix font sizing in statusbar
fixed volume sliders not updating when volumes are linked
many fixes for ColorPicker in ROM Control
gradient showing properly
color picker should fit in all screens now
show color preview before opening dialog (in-line)
fixed sound playing when volume zoom is enabled in camera
last.fm AVRCP crash fixed
contact pictures now displaying properly in notifications when receiving new sms
CHANGELOG: Build Milestone 5
updated to IMM76I
differences between IMM76D and IMM76I are ALL in the Galaxy Nexus kernel
we updated the Galaxy Nexus kernel to Faux’s 16m kernel by default, which incorporates the fixes from IMM76I
fixed long press home on navbar being on by default
fixed volume zoom playing sounds with video camera
made flash-off indicator visible in camera
AVRCP: fixed soft reboots with certain players
fixed brightness slider jumping when toggling auto-brightness
sped up opening of init.d tweaks in RC
added description to LED setting on RC to be clearer on what it does
it only changes the DEFAULT LED color. Apps may override it, and most do.
attempted to fix freezing clock yet again
fixed wifi icon being cut off
fixed color multipliers being doubled
new gamma ranges from -100 to 100 defaulting to 0
your kernel (if it supports gamma tuning) might have a different default, so just keep that in mind (60 was the previous default)
fixed small icons when airplane mode & wifi are enabled
added shortcuts to toggle torch & toggle navbar
that means you can add these to nav bar as regular actions or long press actions, click “Custom app”, scroll down to “System UI”, toggle nav bar & torch should be there.
You can also add these shortcuts to your desktop. They do NOT work correctly from the lockscreen, yet.
Fixed decrease lights in custom backlight settings
a500 renamed to picasso and updated
everything should work now except slow GPS lock times
Notes (read them!):
this change log is differences between build 34. If you’re coming from M4, you’ll need to read all the change logs from the builds between M4 and M5 (THERE ARE A LOT!)
When you flash themes or mods or kernels, keep in mind that they can change almost any aspect of the ROM and introduce bugs and inconsistencies if not properly packaged for AOKP or not properly updated for Milestone 5.
If you experience a bug after flashing a mod/theme/kernel, do a NANDROID (so you can return to it after testing!), re-flash AOKP and wipe, then test to see if the bug still exists. ONLY THEN REPORT IT TO THE BUG TRACKER.
we tried to smash as many bugs as possible, but no product is ever bug free. Feel free to report any bugs you experience to http://rootzwiki.com...97-bug-tracker/
NOT ALL DEVICES ARE MADE EQUALLY! Some device still have KNOWN bugs!
There are many devices which we support that aren’t as bug free as the Galaxy Nexus or other AOSP devices (such as the Nexus S)
That said, we try and incorporate fixes for all devices that we support from many sources (CyanogenMod, evervolv, Code Aurora Forum, other teams and individual contributors). We thank those teams for making their code open source and available for us to use so you can put AOKP on your device
below are the bugs we are aware of for specific devices
p4: Galaxy Tab 10.1” -- no camera, rotating device causes a slight flicker, potential touch screen issues.
supersonic: camera works, panorama mode & video camera does NOT
galaxysmtd: I have read that it’s GPS doesn’t work 100%
inc: I have read that some people experience device instability and reboots. No one on the team has an incredible to test on, so we can’t confirm or deny this exists.
p999: g2x - browser crashes while switching to landscape, video recorder does not work, USB tethering does not work
p990: O2x - gps does not work at all, video recorder does not work, other potential inconsistencies, potential ROM Control FCs if language is set to anything other than english
pyramid: sensation - 480p video recording is broke (720, 1080 work fine), usb tether does not work
tenderloin: no camera
there may be more bugs that are unlisted, feel free to report them to the bug tracker
Check out the ROM source on github http://github.com/AOKP. Open source, in the spirit of community kangage.
Click to expand...
Click to collapse
Also - special thanks to @Vorbeth and intervigilium https://github.com/intervigilium for the work they put in on the pyramid device tree!
Credits to:
Click to expand...
Click to collapse
RMS
sk8rboikelley -webmaster
sbryan12144
tommytomatoe
Support/Download For ROM Here At This Site. Forums Are Open For Reading And Downloading But Must Register To Post: http://www.android-engineering.com/index.php
RMS AOKP SPASH DOWNLOAD
(Rename zip to PG58IMG flash thru hboot)
​
Rom Add On's
Carbon theme I ported found HERE. Please hit the mans thanks button.
All I did was add a keyboard and remove the framework.res to keep it from bootlooping. ALL CREDIT GOES TO Jairomeo PLEASE VISIT AND HIT HIS THANKS BUTTON AND POSSIBLY A DONATION THANKS!!
...:: Download ::...
Click Me To Download Theme
Boot to recovery and flash.
HOW TO COMPILE AOKP
================================
Required Software to Install:
================================
10.04 UBUNTU 64-bit System
================================
sudo apt-get install git-core gnupg flex bison python rar original-awk gawk p7zip-full gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev pngcrush schedtool
Click to expand...
Click to collapse
================================
For 64-bit System
================================
sudo apt-get install g++-multilib lib32z1-dev ia32-libs lib32ncurses5-dev lib32readline-gplv2-dev gcc-multilib g++-multilib
Click to expand...
Click to collapse
================================
Other Required Software:
================================
sudo apt-get install libc6-dev x11proto-core-dev libx11-dev libgl1-mesa-dev mingw32 tofrodos python-markdown libxml2-utils
Click to expand...
Click to collapse
================================
sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
Click to expand...
Click to collapse
================================
1a. MUST Install Java 1.6:
================================
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin
Click to expand...
Click to collapse
================================
1b. *To Check for Correct Java Version*
java -version
================================
**MUST BE THIS:**
java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
Click to expand...
Click to collapse
================================
1c. Need to remove other java version!
================================
gksudo nautilus
Click to expand...
Click to collapse
================================
Once you enter your password, navigate to 'FILE SYSTEM'
Afterwards navigate to /usr/lib/jvm
If you see an open-jdk folder of any kind delete those folders, there should be two folders.
OR
Press Alt+F2 and look for synaptic, then enter your password for root access then in the search bar look for openjdk and check it to be completely removed. Be sure it's ONLY removing openjdk
================================
********************************
Setting Up Android SDK
********************************
2a. Download Android SDK at http://developer.android.com/sdk/index.html
--------------------------------------------------------------------------
2b. Extract it to your home folder [Ex. ~/android/sdk] Make folder in HOME
name it android. Then extract sdk into it and rename sdk linux folder to sdk!
--------------------------------------------------------------------------
2c. Add Android SDK Path
===============================
gedit ~/.bashrc
Enter the Following:
===============================
#Android PATH
export PATH=$PATH:~/android/sdk
export PATH=$PATH:~/android/sdk/platform-tools
export PATH=$PATH:~/android/sdk/tools
Click to expand...
Click to collapse
-------------------------------------------------------------------------
2d. Add Extra Path For Device:
===============================
sudo gedit /etc/udev/rules.d/51-android.rules
Enter this in it:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
Click to expand...
Click to collapse
===============================
After this, close it and then:
sudo chmod +x /etc/udev/rules.d/51-android.rules
Click to expand...
Click to collapse
===============================
2e. *Install Certain Android SDK Tools*
Then Type:android in terminal!
Click to expand...
Click to collapse
Check Android SDK Tools and Android SDK platform-tools
Install them
===============================
3a. Setting Up the .bashrc file
gedit ~/.bashrc
Enter the Following:
#Java PATH
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.26
export PATH=$PATH:$JAVA_HOME/bin
Click to expand...
Click to collapse
===============================
3b. After your done setting this up, close .bashrc file.
===============================
4a. Setup Workplace
mkdir -p ~/bin
mkdir -p ~/android/system
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo (Reboot your computer after this)
Click to expand...
Click to collapse
=============================
4b. Add Repo Path
gedit ~/.bashrc
Then add this: export PATH=$PATH:~/bin
Click to expand...
Click to collapse
=============================
4c. Setup Necessary Source!!!
cd ~/android/system/
repo init -u git://github.com/AOKP/platform_manifest.git -b ics
repo sync -j14
Click to expand...
Click to collapse
=============================
=============================
**Then to build:**
. build/envsetup.sh
lunch aokp_pyramid-userdebug
mka bacon
Click to expand...
Click to collapse
**********************************
When build is finished go into home/android/system/out/target/product/pyramid to find yur unofficial build!
good night!
Lookin great Tory!
Sent from my HTC Sensation 4G XE with Beats Audio using XDA
toryheal said:
good night!
Click to expand...
Click to collapse
Kind of a redundant rom, isn't it? You should mention what makes your Guide/ROM different than others.
Thanks for using my guide
Honestly, the ONLY thing you have to change from my guide is the link for the repo init part and the rest is the same
blahbl4hblah said:
Thanks for using my guide
Honestly, the ONLY thing you have to change from my guide is the link for the repo init part and the rest is the same
Click to expand...
Click to collapse
Credit given in OP thanks.
ThatsABigOne said:
Kind of a redundant rom, isn't it? You should mention what makes your Guide/ROM different than others.
Click to expand...
Click to collapse
Variety man you don't have to flash.
toryheal said:
Credit given in OP thanks.
Click to expand...
Click to collapse
Oh no, wasn't pointing to that but thanks
I was originally going to just put the repo init for aokp in my guide.
Maybe just keep this a rom thread, no disrespect at all
blahbl4hblah said:
Oh no, wasn't pointing to that but thanks
I was originally going to just put the repo init for aokp in my guide.
Maybe just keep this a rom thread, no disrespect at all
Click to expand...
Click to collapse
Oh broskii none taken. My bad if I came across like that. Cheers mate.
So quick question for OP or Blah, are proprietary driver files/blobs for sensation already included in the associated git trees? I was trying to figure out if I had to provide those from somewhere. Not clear to me where it is specified that the build is for sensation. Thanks for the help!
Update : Ok never mind I see the pyramid parameter at the end. I was thinking I had to specify a configuration file before compiling. Gonna give it a try.
ThatsABigOne said:
Kind of a redundant rom, isn't it? You should mention what makes your Guide/ROM different than others.
Click to expand...
Click to collapse
From the design itself it looks very cool and i´m really looking forward to your Rom how it develops in time, but for now, as "ThatsABigOne" said, you should mention is categories want works and what kinda bugs your rom has.
So , good luck on your Rom, i´ll keep it in mind =)
alikebab said:
From the design itself it looks very cool and i´m really looking forward to your Rom how it develops in time, but for now, as "ThatsABigOne" said, you should mention is categories want works and what kinda bugs your rom has.
So , good luck on your Rom, i´ll keep it in mind =)
Click to expand...
Click to collapse
What works in OpenSensation is what works in this
toryheal said:
Oh broskii none taken. My bad if I came across like that. Cheers mate.
Click to expand...
Click to collapse
None taken dude, it's all good
I just don't want your first post to be too long, people will get lazy
blahbl4hblah said:
None taken dude, it's all good
I just don't want your first post to be too long, people will get lazy
Click to expand...
Click to collapse
Right on Broskii G'Nite.
Tory, is this comes with stock kernel or faux 005?
Sent from my HTC Sensation using XDA
jay661972 said:
Tory, is this comes with stock kernel or faux 005?
Sent from my HTC Sensation using XDA
Click to expand...
Click to collapse
Stock is faux atm
Actually I'm not sure since I haven't looked at aokp's pyramid device tree
If it's the same kernel as vorbeth's then it's faux's
How is the ROM anyone tried it out
Sent from my Xoom tablet using Tapatalk
blahbl4hblah said:
Stock is faux atm
Actually I'm not sure since I haven't looked at aokp's pyramid device tree
If it's the same kernel as vorbeth's then it's faux's
Click to expand...
Click to collapse
Last I checked, kernel is faux's.
See here: AOKP Pyramid Kernel Update

[SCRIPT][MULTILANG] Swordrune10's Android Kitchen

I myself use scripts (that i wrote of course) to build so i wanted to share them with you guys!
spent a few days rearranging, and on some completely redoing, my scripts to come up with this easy to use, dare i say pretty if your into ascii, kitchen.
Features
Setup, update, build, and fix
Update kitchen app through script
Build enviroment installation (64 bit only) currently supports Ubuntu 10.04 - 14.04, with general support for Fedora, Debian, Linux Mint, Arch Linux, and with semi-general support for Mac OS X
Able to build Android Open Kang Project, Android Open Source Project, Carbon, Cyanogenmod 10.2, Cyanogenmod 11, Evervolv, omnirom, PAC-man, and ParanoidAndroid
Designed to build for nexus devices, but supports other devices
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
the recommended file directory is as follows:
Code:
android/swordkitchen
android/swordkitchen/.scripts
# Everything below is made by the kitchen
android/repos/[all the repositorys u sync]
android/builds/[the roms that are made]
Instructions:
Boot into a 64-bit Unix System: supports Ubuntu 10.04 - 13.10, with general support for Fedora, Debian, Linux Mint, Arch Linux
Download and install using the script linked below
Either click swordkitchen.sh which will open in terminal or open terminal, change directory to the installed folder, and type in ./swordkitchen.sh
Inside Kitchen now!
Go to setup kitchen and run 1 (installation of repo) and 2 (setup build enviroment)
Initialize the desired repo(s) and sync when it asks if you want to
Go back, and go to the build menu, select what u want to build and omg! ur building a rom!! =O
Optional:
Tweak the romeditor or gitpuller as u like it.. ur changes in these files reflect towards ur builds
You can just use repo to grab it if you want..
Code:
Stable Version:
repo init -u http://github.com/TeamKeyblade/kitchen_manifest.git -b stable
Developer Version ( the one i push to when working on kitchen ):
repo init -u http://github.com/TeamKeyblade/kitchen_manifest.git -b master
these can work in the ~/bin folder, if anyone puts it anywhere not in your home folder please let me know and ill see about making it work perfectly from there. Below should be in ur path on login if you decide to put it in ~/bin
Code:
$HOME/bin/kitchen:$HOME/bin/kitchen/build:$HOME/bin/kitchen/update:$HOME/bin/kitchen/menu:$HOME/bin/kitchen/config
Languages:
English (Completed)
Russian (Completed)
German (Completed)
Dutch (Completed)
Spanish (Incomplete)
Brazilian Portuguese (Incomplete)
This kitchen is totally open sourced!
Please use Kitchen to update, script below is for installation
Older tarballs of the kitchen can be found here
Kitchen Installer: SourceForge link for swordkitchen_installer.bash
Join me on freenode channel #Swordrune10Kitchen
Changelog:
4/27/14
retardedbabelfish: fixed language not saving issue
Add Ubuntu 14.04 also updated translation files
4/21/14
Had a few users having issues with selecting a language, and this bugfix should squash the issue
issue reported by @flyboy1100
Fix retardedbabelfish missing language file
2/5/14
Added Dutch Translations
2/4/14
German translations is now complete!
1/26/14
Added Russian, was translated, Marked as active
special thanks to App Translators thread and @gaich for making this happen
1/24/14
my translation project is finished! currently the translation framework is done, but the translation files are a bit lacking.. if any of u want to help please let me know! our languages which have been started is spanish, german, and brazilian portuguese
1/14/14
I am now starting a project for this kitchen to be translated to multiple languages, for right now i am adding spanish and french using google translate.. as soon as the framework is situated i will invite anyone to help me with native translations.. also if you want to see a language added please ask me to include it and help translate the language!
Update changes in repos: update omni vendorsetup naming scheme, Update pacman's manifest location, and Update ParanoidAndroid's source location and update them to kitkat as well
Update specific build commands per repo
Add freenode channel info to error messages
Add Copyright info under apache license 2
move base scripts to a folder named utility
EDIT: Decided to initially add also german, italian, japanese, and korean as well.. this came about because my wife just grabbed a copy of Pokemon Y and that was the language choices
1/2/14
hey guys, been busy working on this and other stuff to actually post.. i have been working on this kitchen, let me tell u a summary of whats been going on
now possible to run auto builder from menu
update manifest always if manifest already exists
Use signapk.jar built for aosp during instead of prebuilt
use repodefiner for repo variables
specify manifest xml file/change cm10.2 to stable branch
fixed double zip variable, causing the build for cm to be double in size
mirror how cm is made from hudson
If user is root, make files read and write for everyone
lots of bug fixing and updating as well
11/5/13
Added Cyanogenmod 11
Removed Cyanogenmod 9 & 10, also Rooted & Busyboxed AOSP
11/3/13
add aosp 4.4 as a seperate repo, will take place of 4.3 later
Add Nexus 5
Fix AOSP/RAOSP tweaks after building
Before building, mute error if cant find vendorsetup.sh in vendor folder
also will be adding new tarball asap!
10/17/13
Add Ubuntu 13.10 setup
new tarball will be out on sourceforge later today
10/14/13
Added omnirom/Removed Codename Android
scriptmakir: clean up gitpuller and make it up to date
10/13/13
Updated swordkitchen_installer to now have .bash at the end of the name to signify it runs in bash, also made it so it will run in bash regardless of anything.. even if you do "sh swordkitchen_installer.bash"
scriptmakir: remove duplicate device/sample for cm-10.2
10/11/13
I now have a sourceforge project for the kitchen and i also now have an installer script instead of just posting tarballs.. tarballs will still be available and will be made every so often on sourceforge, i will be posting the changelog here still so stick around!
Updated repo binary location for both reposync and macosxinit
10/10/13
Update aosp/raosp to 4.3.1 release 1
Added Ccache to building, not mandatory
Change back to cyanogenmod for tilapia
Finally stop the script if zip isnt present, this makes the end alot cleaner when it errors out
PACman and ParanoidAndroid now builds correctly
Fixed building, forgot i changed the jobs variable in headerfile
Full Changelog
Good work. Just wondering, what is the benefit of this script over for instance this compiler tool: http://www.omgubuntu.co.uk/2012/05/gui-cyanogenmod-compiler-tool-for-ubuntu/ ?
mbroeders said:
Good work. Just wondering, what is the benefit of this script over for instance this compiler tool: http://www.omgubuntu.co.uk/2012/05/gui-cyanogenmod-compiler-tool-for-ubuntu/ ?
Click to expand...
Click to collapse
honestly? that tool is probably a lot better.. I made this as a learning experience
EDIT: actually now that i think about it mine is kinda better on the fact that my updates itself (as in the actual "program"), u know exactly whats in it since its all scripts, and im gonna put into it ability to modify the rom before its built
Sent from my Galaxy Nexus using XDA
Changelog:
5/22/12
Added build other functionality, you can now build any cm or aosp device
Changelog:
5/22/12 8pm
Added gitpuller, a symbolic linked file that u can edit to add git pull's to modify the repos
Might come in handy
Sent from my Galaxy Nexus using Tapatalk 2
Changelog:
5/23/12
Added Rooted & Busyboxed AOSP
nice work will try
Changelog:
5/24/12
Added ability to build toroplus thru Rooted & Busyboxed AOSP
Fixed build menu looping, making it having to hit exit one to many times on the main menu
Changelog:
5/25/12
fix problem with using
Code:
sh "Swordrune10's Kitchen.sh"
code is a bit more simplified
Changelog:
5/26/12
added fix kitchen menu
new gitpuller, same stuff just not part of the updater anymore - if you had gitpuller before, please remove the old one
Changelog:
5/26/12 5pm
fixed an error at creating gitpuller, please trash gitpuller for it to fix (last time i will mess with gitpuller, honest!)
Changelog:
5/26/12 8pm
Added romeditor, allows u to edit rom manager esque details like developer id and modversion before build, romeditor is like gitpuller and is shown to u in the directory
Is this something that a newbie could use? I want to get into building a rom for myself, it this easy to use for that?
Sent from my Sprint Galaxy Nexus CDMA using XDA
pastert33 said:
Is this something that a newbie could use? I want to get into building a rom for myself, it this easy to use for that?
Sent from my Sprint Galaxy Nexus CDMA using XDA
Click to expand...
Click to collapse
yes, whole reason I made this is for new people.. right now its missing setting up the build environment, but that's next on my plate.. I'll probably finish that tomorrow
Sent from my Galaxy Nexus using XDA
How i can flash that ?
Sent from my Galaxy Nexus using xda premium
leos0000 said:
How i can flash that ?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
how do u mean?
Sent from my Galaxy Nexus using XDA
swordrune10 said:
how do u mean?
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
This is kitchen for what.. cuz im little jnderstand sorry bro
Sent from my Galaxy Nexus using xda premium
Changelog:
5/27/12
Added build enviroments installation
Menus more consistent

[TOOL][APP][4.0+] Show Java - A Java Decompiler for Android - Get java source from ap

Show Java has featured on XDA Portal !!
http://www.xda-developers.com/android/browse-java-code-of-your-favorite-applications-directly-from-your-android-device/
Click to expand...
Click to collapse
Disclaimer
DO NOT USE THIS APPLICATION TO DO STUFF THAT YOU HAVE NO RIGHT TO DO.
THE DEVELOPER (Niranjan Rajendran) IS IN NO WAY RESPONSIBLE FOR ANY MISUSE OF THIS APPLICATION.
About
This is basically a Java Decompiler that to extract the .java source code from an APK( Android application) and jar files. There are many such decompilers that run on a PC. But, I didn't find one that runs properly on a android phone. So, i thought of making one, and , here it is
Features
Runs directly on your android device
Select jar/apk from sdcard (or) from a list of installed applications
Easy to use
Displays code in a clean-syntax-highlighted form
Decompiles XML Files (layouts, Drawables, Menus, AndroidManifest)
The decompiled source can easily be copied from the sdcard (source is stored in ShowJava folder in the sdcard)
Simple source browser with a summary of all decompilation errors
Each decompiled source file has commented references to classes that could not be decompiled
Runs in the background
What's new in version 2.0.0 (Version Code: 20004)
The first major update after the app's initial release on January 7th 2014. The app's entire code has been re-written (from scratch in many places) to make sure the app performs well up to the user's expectations.
Updated to Material Design
Performance improvements
Updated to CFR 0.102
Will now decompile xml resources (including AndroidManifest.xml)
Fixed all the crashes experienced by users of the previous version
Cleaned up the source code. (As I said, I rewrote it :wink: )
The project is now fully open-sourced :v:
Download (it's free)
Screenshots
Here you go ;-) .
Source Code
This will be an Open Sourced project. The source code is hosted at GitHub
https://www.github.com/niranjan94/show-java/.
Please read the License info before using any part of the code in any project.
Bugs
Does not work with system applications in most of the phones (especially one's that are not de-odexed)
Slow on phones with single core processors
Reporting a Bug
Always please attach a logcat while reporting major bugs. You can report bugs via GitHub Issues system
Reasons for Permissions
Internet - Automated bug reporting
External Storage - To store the decompiled source code and to have a working directory for the application
Changelog
Code:
Version 2.0.0 (Aug 22, 2015)
===========================
>> Updated to Material Design
>> Performance improvements
>> Updated to CFR 0.102
>> Will now decompile xml resources (including AndroidManifest.xml)
>> Fixed all the crashes experienced by users of the previous version
>> Cleaned up the source code. (As I said, I rewrote it)
>> The project is now fully open-sourced
Version 1.9.1 (Dec 21, 2014)
===========================
>> Crash Fix
Version 1.9 (Dec 20, 2014)
==========================
>> Improve topsort
>> Fix bad chained goto removal.
>> Remove references to labelled blocks if a labelled block break would end up in the same place as a natural scoped break.
>> Reduce goto chain condensing in the presence of break statements.
>> Handle duplicate field names
Version 1.7/1.8 (Nov 7, 2014)
=============================
>> Fixed crash on new installations
>> Fixed crash on devices running on Android Runtime (ART)
Version 1.6/1.5 (Nov 4, 2014)
=============================
>> Improvements to SSA analysis
>> Fix precedence issue on instanceof.
>> improvement to handling some obfuscated switches which caused failure
>> Minor Bug fixes
Version 1.4 (Sep 29, 2014)
==========================
>> Updated CFR to 0.87
>> Fix precedence issue on instanceof.
>> Rewrite variable definitions
>> Better guess for anonymous inner types.
>> Improvements to implicit cast checking.
>> Handle empty switches better
>> Fix bug which could cause some switch-on-enum statements not to be resugared.
>> And more decompiler improvements
Version Code: 3 ( 10-Feb-2014)
==============================
>> Urgent Bug Correction (Please Update !) with dex optimisation
Version Code: 2 ( 09-Feb-2014)
==============================
>> Corrected force closes on certain devices
>> Increased decompile speed by 3x times by skipping common libraries (like support library, actionbarsherlock etc)
>> Added Option to Pick an apk/jar from sdcard (also associated apk/jar with Show Java for ease-of-use)
>> Added history of decompiled applications
>> A New, Clean and Minimal Progress Indicator
>> UI Updated to a modern look
Version Code: 1 ( 07-Jan-2014)
==============================
>> Initial Release
Credits
A Big-Huge Thanks to Lee Benfield ([email protected]) for his awesome CFR - Class File Reader
Panxiaobo ([email protected]) for dex2jar
jesusfreke ([email protected]) and bgruv ([email protected]) for smali/baksmali/dexlib2
XDA:DevDB Information
Show Java - A Java Decompiler for Android , App for all devices (see above for details)
Contributors
niranjan94
Source Code: https://github.com/niranjan94/show-java
Version Information
Status: Stable
Current Stable Version: 2.0.0
Stable Release Date: 2015-08-22
Created 2014-01-07
Last Updated 2015-08-22
Reserved
Reserved
I like this one! Tipped for news article! Good luck!
Big thanks
i go download, try and view source
Many thanks
you did a brilliant work. I'm so flattered. WOW. your alpha version is so smooth. cant wait for the so called stable. good luck and regards,
Pl. Provide the option for selecting apk from sd card .
Donate???
I apparently have too much spare change laying around, where can I throw it?
Great job!
Sent from my Nexus 7 using Tapatalk
great
Impressive
Good job, perhaps (since it is open source) you could use github and then the community could help out with it? Just a thought but yea good job, very useful
Thanks. I expect this will be a useful tool as I try to learn to build apps.
Exikle said:
Good job, perhaps (since it is open source) you could use github and then the community could help out with it? Just a thought but yea good job, very useful
Click to expand...
Click to collapse
OP mentions that his planning to release it on GitHub after few changes
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
---------- Post added at 09:11 AM ---------- Previous post was at 09:07 AM ----------
niranjan94 said:
Disclaimer
DO NOT USE THIS APPLICATION TO DO STUFF THAT YOU HAVE NO RIGHT TO DO.
THE DEVELOPER (Niranjan Rajendran) IS IN NO WAY RESPONSIBLE FOR ANY MISUSE OF THIS APPLICATION.
About
This is basically a Java Decompiler that 'trys' to extract the .java source code from an APK( Android application) file. There are many such decompilers that run on a PC. But, I didn't find one that runs properly on a android phone. So, i thought of making one, and , here it is
Features
Runs directly on your android device
Easy to use
Displays code in a clean-syntax-highlighted form
The decompiled source can easily be copied from the sdcard (source is stored in ShowJava folder in the sdcard)
Simple source browser with a summary of all decompilation errors
Each decompiled source file has commented references to classes that could not be decompiled
And more to come ...
Download
Click to Download from play store ! (It's free!)
(or)
Get it directly from the DevDB Downloads panel of this project
Screenshots
Check out the screenshots here. (will upload more soon)
Source Code
This will be an Open Sourced project. Put I have some more work to do. And once that's done, I'll release the source code for everyone to benefit from.
Bugs
There are quite a lot of bugs. That's why this application is in an Alpha Stage. The major bugs are:
Does not work with system applications in most of the phones (especially one's that are not de-odexed)
Very slow decompiling process (I'd say it's a bit inefficient too)
A Not-so-quite user-friendly Source Browser
A Stupid progress indicator
and some more ...
Reporting a Bug
Always please attach a logcat while reporting major bugs. You can report bugs via XDA's DevDB Bug Reporting option (or) send me an email at [email protected]
Reasons for Permissions
Internet - Automated bug reporting
External Storage - To store the decompiled source code and to have a working directory for the application
Credits
A Big-Huge Thanks to Lee Benfield ([email protected]) for his awesome CFR - Class File Reader
Panxiaobo ([email protected]) for dex2jar
XDA:DevDB Information
Show Java - A Java Decompiler for Android , a App for the No Device
Contributors
niranjan94
Version Information
Status: Alpha
Created 2014-01-07
Last Updated 2014-01-09
Click to expand...
Click to collapse
While decompiling some apps like Whatsapp the SystemUI gets corrupted and you need to data wipe completely to make the phone usable again.
Not sure if it only with my phone or with every other phone
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
Very impressive. Trying it out on my devices.
Hi its nice app and also helpfull but
could you add an option to choose an .apk file ?
instead of only choosing between all available apps that are installed.
thank you
Please upload the apk to Xda not only play store.
onlineemails said:
Please upload the apk to Xda not only play store.
Click to expand...
Click to collapse
If you look closely , i have given links to both the Play store version and the 'XDA-hosted' version on the first post. You can even download by selecting the download button (DevDB) on top of the thread ..
sourcex said:
OP mentions that his planning to release it on GitHub after few changes
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
---------- Post added at 09:11 AM ---------- Previous post was at 09:07 AM ----------
While decompiling some apps like Whatsapp the SystemUI gets corrupted and you need to data wipe completely to make the phone usable again.
Not sure if it only with my phone or with every other phone
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't think application is causing that ... (the app does not (cannot) modify/access the SystemUI in anyway ).. pls check with ypur ROM developer (if you're using a custom ROM)
SpaceCaker said:
Hi its nice app and also helpfull but
could you add an option to choose an .apk file ?
instead of only choosing between all available apps that are installed.
thank you
Click to expand...
Click to collapse
Thanks ... and yea .. i plan to add support to pick an apk/jar directly from the sdcard and also plan to add a content provider for apk's and jars .. :laugh:
Brilliant app! It would be great if you gave the functionality to exclude packages from the decompiling-process. I will definitely help you when you release your source :highfive:

[ROM][4.4.4][Jul-22] UNOFFICIAL LiquidSmooth v3.2 | Security Patch Level: 1st Jun 15

I am proud to present you with an incredible smooth and feature rich AOSP based ROM.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DISCLAMER
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in this ROM before flashing it! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
Click to expand...
Click to collapse
LiquidSmooth is an aftermarket firmware based on the Android Open Source Project.
Dedicated to providing users with smooth, stable and fast ROMs. A Lightweight modified AOSP base, and then add the features you crave!
While we make every effort to test these builds as much as possible, we are not responsible for anything that may happen to your device.
We ask that you do your part to know your device and know how to recover from problems before you flash!
Liquid0624
Deadman96385
jsnweitzel
Somber73
CPA-Poke
TheBr0ken
Cdub50
FEATURES:
UBER 4.9 GCC Toolchain
ARM Optimized String Handling Routines
Linaro and Code Aurora Optimizations
Slims DPI on the fly
Custom animation controls
TRDS 3.0 (Liquid Blackout in settings)
Active Display
Slims QuickSettings
Halo
Ram Bar
New CM Theme Engine
Privacy Guard
Built in SuperUser
Working wifi Tethering
Cell Broadcasts
Slims Configurable Power Menu
Slims Configurable Nav Bar
Gamma Configuration support
Custom animation controls (Listview)
LockScreen Notifications
And way more than this...
LiquidSmooth v3.2 Full list of features
CHANGELOG:
NEW IN RELEASE 8:
Add back full language support.
Lower the default max. cpu freq to 998400 Hz.
Torch: Removed brightest option from settings; Torch will now stay on after screen shut down!
NEW IN RELEASE 7:
This build includes the official Android Security Updates from 1st June 2015
Compiled the ROM with O3 flag
Compiled the kernel with UBER toolchain 4.9.4 for increased speed and battery life (credits Cl3Kener); compiled the rom with AOSP toolchain 4.8
Update kernel (July security bulletin)
Replace KernelTweaker (FC'ing) with KernelAdiutor
Removed DashClock widget (cLock is much nicer)
NEW IN RELEASE 6:
This build includes the official Android Security Updates from 1st Nov 2015 (you can now view the information about the patch level under Settings > About Phone > Android security patch level)
Compiled the ROM with O3 flag
Compiled the kernel with UBER toolchain 4.9.4 for increased speed and battery life (credits Cl3Kener)
Patched the previously missed out security holes in kernel base as mentioned by @walter79
If you want to have kernel 3.0.16 (experimental) use this flashable zip
Updated NovaLauncher to 4.1.0
Removed DashClock widget (cLock is much nicer)
Added signature spoofing support (read more about this)
Fixed an issue in the hardware keys configuration (credits @sverfaillie)
Slim GApps: fixed a problem (three no longer required apks were still remaining under /system/apps after GApps installation) to gain more space in the ROM's system partition
NEW IN RELEASE 5:
Added a few more patches against vulnerabilities, e.g.: CVE-2015-1528, CVE-2013-6282 (kernel patch).
Big thanks to @walter79 for making me aware of their existence!
NEW IN RELEASE 4:
Added the previously missed out patch (CVE-2015-6602) to reach full Stagefright 2.0 security level & Android Security Updates from Nov 2015)
NEW IN RELEASE 3:
Patched to the highest security level for Kitkat (incl. Stagefright 2.0 & Android Security Updates from Nov 2015)
Set CM cLock as default lockscreen widget
Added a patch to prevent wakelocks caused by Google Play Services 7.x SystemUpdateService (credits CM)
Use per default SMARTASSH3 (allows a better speed/battery-saving ratio)
NEW IN RELEASE 2:
ART
Liquid Launcher
Keyguard: use overlay to disable Menu Key In Lock Screen
Fix 'long press home key' to bring up the recent apps
Slim down rom by removing Chinese font
Update animation scale defaults with the optimal settings for htc bravo (0.5x)
Frameworks/base: Add setCurrentFunctions to Legacy USB DM
Allow forcing HighEndGfx mode
New CM Theme Engine
NEW IN RELEASE 1.5:
Update of Inspire Launcher (12.2.0): Launcher settings is more stable now
Fixed Hardware keys
A2SD is working now (fixed an issue with mounting sd-ext)
NOT WORKING:
MMS (present in all 4.x ROMs; Just use Textra SMS instead)
Video recording (present in all 4.x ROMs)
Screen recording (not supported by kernel)
OpenVPN (kernel issue: cannot acquire tun interface socket)
SELinux (disabled by intention)
Torch: Brightest setting and stay on after screen shut down (Torch improved)
Please let me know if you find bugs -- if possible with logcat. Thanks! :good:
DOWNLOADS:
Download LiquidSmooth Kitkat v3.2 2016-07-22
Slim Gapps for LiquidSmooth 2016 (73.18 MB)
REQUIREMENTS:
An hboot with at least 250mb on system. These include stock hboot or Alpha Jelly (250/5/182) hboot
A 512mb - 1.5gb EXT partition (EXT4 recommended) on your sdcard. Use this guide to create the partition. Partitions made using other tools (CWM, Minitool Partition Wizard, etc.) will likely cause issues.
The latest TWRP (credits @Chromium) or 4EXT (credits @madmaxx82) Recovery. Old versions of CWM may cause issues.[/QUOTE]
HOW TO INSTALL:
Full wipe
Flash ROM
Boot ROM and enable A2SD before flashing GApps
Boot ROM and let it settle down (3-5 min)
CREDITS:
LiquidSmooth, SlimRoms, AOSPA, AOKP, and everyone else who has contributed
Google and CyanogenMod for the Android Security Updates
@LaidbackNikez and Evervolv - for being a forece behind the kernel that powers this ROM, as well as for the vendor files and device trees
SOURCE:
Kernel:
https://github.com/spezi77/android_kernel_htc_qsd8k
ROM:
* Base: https://github.com/LiquidSmooth
* Mods: https://github.com/spezi77
You may want to compile it yourself:
Code:
repo init -u git://github.com/spezi77/liquid.git -b kitkat
repo sync
wget https://s.basketbuild.com/uploads/devs/Cl3Kener/TOOLCHAIN/uber-arm-eabi-4.9.tar.xz
tar xvC prebuilts/gcc/linux-x86/arm -f uber-arm-eabi-4.9.tar.xz
rm uber-arm-eabi-4.9.tar.xz
. build-liquid.sh -o3 bravo
Have a nice day!
​
Screenshots:
[/CENTER]

			
				
So uh, like can I port this to the Nexus One
tommypacker said:
So uh, like can I port this to the Nexus One
Click to expand...
Click to collapse
Files are up now..
Hey man, you have my permission! :good:
liquid0624 has authorized me this port if I mark the rom as unofficial. Please also take care of that.
spezi77 said:
Files are up now..
Hey man, you have my permission! :good:
Click to expand...
Click to collapse
Got it booting already
Downloading now, and will soon flash it. :victory:
spezi77 said:
I am proud to present you with an incredible smooth and feature rich AOSP based ROM.
​
LiquidSmooth is an aftermarket firmware based on the Android Open Source Project.
Dedicated to providing users with smooth, stable and fast ROMs. A Lightweight modified AOSP base, and then add the features you crave!
While we make every effort to test these builds as much as possible, we are not responsible for anything that may happen to your device.
We ask that you do your part to know your device and know how to recover from problems before you flash!
Liquid0624
Deadman96385
jsnweitzel
Somber73
CPA-Poke
TheBr0ken
Cdub50
Sabermod 4.10 GCC Toolchain
O3 Strict-Aliasing & ISO C++11 Mode
ARM Optimized String Handling Routines
Linaro and Code Aurora Optimizations
Slims DPI on the fly
Custom animation controls
TRDS 3.0 (Liquid Blackout in settings)
Active Display
Slims QuickSettings
Halo
Ram Bar
T-Mobile Theme Engine
Privacy Guard
Built in SuperUser
Working wifi Tethering
Cell Broadcasts
Slims Configurable Power Menu
Slims Configurable Nav Bar
Gamma Configuration support
Custom animation controls (Listview)
LockScreen Notifications
And way more than this...
LiquidSmooth v3.0 Full list of features
NOT WORKING:
Hardware keys (Just use Soft keys or Pie control instead)
USB Mass Storage (Just use Bexton's UMS Toggle for now)
A2SD (error: SD-EXT not mounted properly; Just use Mounts2SD for now)
MMS (present in all 4.x ROMs; Just use Textra SMS instead)
Video recording (present in all 4.x ROMs)
Screen recording (brings "Unable to create output directory.")
OpenVPN (kernel issue: cannot acquire tun interface socket)
SELinux
ART
LiquidSmooth Github
Kernel Github
ROM Download - md5 333262e0d8b50468ece6de7b473dee6a
Slim Gapps - md5 279b5dea79e5deaae67253c402a43843
Please Support Liquid by Donating HERE
​
Click to expand...
Click to collapse
Any Chance You Could Stick To Building One Rom? haha because all your roms are epic and they would be better if you stuck to one rom
wow man ! your suprized us day to day !
thnx
did u notice ,ur thnx record cross 1000? and i am glad about it
when I install it exactly like in OP ... when it boots up I let it settle for 3-5min and then the FC's starts... Everything FC actually. Gapps , Inspire launcher , Nova Launcher , media , acore , play store and all basically anything. I do it exactly like in OP , or flash the ROM then boot the ROM , then reboot to recovery and instal gapps but still doesnt work ... When I boot it up , it just says i have no space for anything and i cant use applications , and I have no space so I wont receive SMS ... any idea?
proadi96 said:
when I install it exactly like in OP ... when it boots up I let it settle for 3-5min and then the FC's starts... Everything FC actually. Gapps , Inspire launcher , Nova Launcher , media , acore , play store and all basically anything. I do it exactly like in OP , or flash the ROM then boot the ROM , then reboot to recovery and instal gapps but still doesnt work ... When I boot it up , it just says i have no space for anything and i cant use applications , and I have no space so I wont receive SMS ... any idea?
Click to expand...
Click to collapse
Then please flash M2SD directly after the ROM and boot. Then reboot into recovery for flashing gapps. Which is your hboot? Stock: 250/40/147 ?
Sent from my Nexus 4 using XDA Free mobile app
@spezi77 You think there is not enough system storage on hboot?
deepgrass said:
@spezi77 You think there is not enough system storage on hboot?
Click to expand...
Click to collapse
Nope.. there could be too less space on data partition.
Sent from my Nexus 4 using XDA Free mobile app
Hey @spezi77 you're working hard on different kitkat roms which I find them all Identical, don't you think its better to provide one stable and complete rom instead of many different which all contain problems? I'm not here to disappoint you, but I think all these roms could be converted to each other by only some launchers and tweaks. I hope some day I can use one of your very best roms.
thanks indeed...
Inspire Launcher Settings from App Drawer (Don't touch it - it will crash and reboot your phone! To safely access Inspire Settings make a long press on the screen and then tap on the Gearwheel icon)
Click to expand...
Click to collapse
Today I have received an update for Inspire Launcher (v12.2.0). Somehow this issue is gone.
How's the rom for you? :fingers-crossed:
pro.gangster said:
Hey @spezi77 you're working hard on different kitkat roms which I find them all Identical, don't you think its better to provide one stable and complete rom instead of many different which all contain problems? I'm not here to disappoint you, but I think all these roms could be converted to each other by only some launchers and tweaks. I hope some day I can use one of your very best roms.
thanks indeed...
Click to expand...
Click to collapse
True words.. no worries, it's really hard to disappoint me.
Frankly, I am just learning about Android developments and versioning while looking for the most suitable and stable kk rom for my device. I enjoy the creative process of building roms -- especially by trying out different approaches, roms and kernel mods -- and sharing the results with you. There are a lot of dev teams out there borrowing features from each other -- giving their roms quite a similar feature set (why not?). But imho there are still noticeable differences! And even if we only talk about a specific look and feel or small innovations (have you ever seen Omni? sorry for OT).
With reference to the current bugs, you should not forget that most of them are common for all 4.x roms because they depend on the kernel. :angel:
However, enough said and I guess that by now you guys got really oversaturated! I will try my best to tone it down and focus on improving what is here!
Cheers!
I have different opinion on this. I agree that quality should be in favor over quantity.
We should be graceful @spezi77 bring us many choice to choose from, and then you can select the rom you like
and be more active in that thread, then natural selection will take it course.
@spezi77 I honor your overwhelming passion to the xda community and Desire, and your next great rom.
spezi77 said:
Then please flash M2SD directly after the ROM and boot. Then reboot into recovery for flashing gapps. Which is your hboot? Stock: 250/40/147 ?
Sent from my Nexus 4 using XDA Free mobile app
Click to expand...
Click to collapse
Stock hboot, ok i will try to flash M2SD right after ROM and boot and will see
Sent from my HTC Desire using xda premium
New version available:
Hardware keys are working
A2SD is working
I hope you enjoy this one..
Hi, thx for your hard work and all the fantastic Roms for our desire. could i ask how i can transculent the statusbar? ican`t find something. Thank you.

[Kernel][Grouper|Tilapia][F2FS][15Sep2016 Android-7.0.0_r6 test build]DC-Kernel

Although I'd already uploaded the source to github, I was asked a few times to release the kernel of my OmniROM6 build. Frankly, I only contributed a small part of it. Most of the codes are here and there from other devices and/or developers. I just modified a few and patched a few.
This week, I was packaging a kernel for my other devices. Thanks to the AIK (Android image Kitchen) by @osm0sis, it make my life much easier. I think spending a few more minutes for my Nexus 7 is not a bad idea. I don't know if it would work for your existing ROM. I only have three success reports. Fail and success reports, suggestions and comments are welcome.
This might just another one time deal as my TWRP. I'll make this thread simple. Anyway, it's done.
Release Notes:
2016/9/15: Finally a long holiday come. It's about time we migrated to Nougat. Most of the custom ROMs are busy for their first release. In the meantime, I may consolidate the kernel and device trees. After struggling for a few hours, I finally stop the sepolicy from denials for the first time.... The test AOSP-N builds are unloading now. See post#184 for details.
History
2016/8/9: PerformanceControl is update to Drawer view UI now. Enable native D2TW interface for other ROMs (** How to enable it is in the Theory section **)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2016/6/7: Android N preview2 zip version was uploaded to experimental pool.
2016/6/5: Android N preview2 testing boot and system image in experimental pool. Read post #135 for detail.
2016/3/30: Add the power HAL with frequency adjustments and set feature support.
2016/3/18: Upload a test kernel to experimental pool.
2016/3/14: Bug fix in PerformanceControl.apk and the final code for kexec patch.
2016/3/13: Add the experimental pool for the testing builds.
2016/2/29: Seems it is not a one time thing now so I added the Change log section. The initial commit of Tegra3 Support is added to the PerformanceControl apk. In addition, I also include the Nexus 7 support in the Tools page. Wiping caches and flashing images are working for Nexus 7 now. A bug in Set on Boot is also fixed.
2016/2/16: Seems most of the fellow ROM builders had included the rotation patch in their kernel. I have no problem spending another few more minutes for the user oriented request. I prepared another zip. The only difference between 0214 and 0216 zip is 0216 included the rotation patch. If anyone have problem with rotation stopped after long deep sleep, you may try the 0216 version.
2016/2/14: This is not an update. There are requests for LP and KK ROMs. I added the fstab for those earlier versions. The script was modified. It will check the /system/build.prop for Android version and copy the corresponding fstab to the ramdisk. cheers!
Theory:
The source is from the stock AOSP kernel (3.1.10) for grouper. The kernel binary is more or less the same for most of the ROMs posted. The major difference would be the ramdisk. With this in mind, I just replace the kernel binary and keep the existing ramdisk. The existing kernel might not have F2FS support so I replace the File System Table (fstab.grouper) too.
Even though this is from my OmniROM6 (MM) ROM, it might also work for LP or earlier. There are two default fstab (MM and LP) inside. For those who want to use their own, you may replace the file /data/AIK-mobile/XX/fstab.grouper inside the zip. Where XX=MM for ROMs from 6.0.0, XX=LP for ROMs before 6.0.0 (LP and KK, JB not tested)
To ROM builders:
If you want to enable the native DT2W in Display settings, please include the following lines in:
device/asus/grouper/overlay/frameworks/base/core/res/res/values/config.xml
You may enjoy the DT2W feature now
Code:
<!-- Whether device supports double tap to wake -->
<bool name="config_supportDoubleTapWake">true</bool>
Click to expand...
Click to collapse
Reported ROMs:
Reported Working :victory:
MM: Android 6 AOSP on Grouper, CyanogenMod 13 , Pure Nexus, AICP, VRToxin, OctOs
LP: CARBON-LP, Dirty Unicorns 5.1.1, ResurrectionRemix LP
KK: SlimKat 9.1
Reported not Working
MM: Android MarshMallow Pure AOSP
Change log:
Code:
[COLOR="Blue"]2016/8/9[/COLOR]
 - kernel: adjustments voltage tables
 - PerformanceControl: version 2.1.6, Drawer view UI
 - PerformanceControl: Support CM-13.0's native root access
[COLOR="Blue"]2016/3/30[/COLOR]
 - kernel: DT2W fix the power when resume
 - kernel: DT2W adjustment
 - PerformanceControl: Fix a potential crash at first launch
 - PerformanceControl: Enable the CPU Governor settings if supported
 - Power HAL: adjust to the O/C frequencies
 - Power HAL: Add set feature support for AOSP native DT2W settings (planning)
[COLOR="Blue"]2016/3/14[/COLOR]
 - kernel: Add zRAM support
 - kernel: Add kexec-patch for MultiROM
 - PerformanceControl: Fix the crash in Advance > Highend graphics
[COLOR="Blue"]2016/2/29[/COLOR]
 - kernel: Add custom panel backlight control
 - PerformanceControl: (v2.1.5) Add Tegra3 support, GPU, voltage and backlight settings.
 - PerformanceControl: Add Nexus 7 Tools. (wipe caches, flash kernel/recovery, etc.)
[COLOR="Blue"]2016/2/16[/COLOR]
 - kernel: Include the Rotation fix
[COLOR="Blue"]2016/2/14[/COLOR]
 - Add detection of Android version to script
 - Include the fstab for LP and earlier
[COLOR="Blue"]2016/2/8[/COLOR]
 - kernel:initial release
 - PerformanceControl: (v2.1.4) from Exynos4
 - PerformanceControl: DT2W, CPU settings
Features:
Kernel
  1. Build with gcc 4.9
  2. F2FS support
  3. OC for CPU, LP
  4. OC for GPU
  5. Voltage Control (for CPU, GPU etc.)
  6. DT2W support with bound and duration sysfs fine tune (disabled by default)
  7. Retrying for i2c processes.
  8. UID_CPUTIME support with power table from Tegra spec.
  9. Add wakelock timeout for a few drivers (xmm_power, etc.)
 10. Add journal_async_commit flag to ext4 /cache and /data
 11. Included rotation patch (from 20160216)
 12. Panel min. and max. backlight control
 13. zRAM support
 14. kexec patch for MultiROM (from 20160314)
PerformanceControl Apk
 1. CPU: freq. and voltage settings
 2. Tegra3 settings: GPU freq., various voltages, backlight, etc.
 3. Memory: KSM, OOM and VM (zRAM testing) settings
 4. Advanced: Ahead buffer, I/O schedulers, DT2W settings, etc. (when available)
 5. Tools: Wiping, flashing images, optimizations, shell commands at start, etc.
 6. Informations: Battery, Memory, System, storage, etc.
 7. Draw view UI
 8. Compatible with CM-13.0 (Slim6 etc.) native root access.
Download: :highfive:
 Host: Android File Host mirror: 百度网盘
 Experimental
 Note: I only tested it in TWRP.
     Some features required ROOT access.
     Extra settings can be found in the Included PerformanceControl
     Root would be preserved for systemless SuperSU from @Chainfire.
Know issues:
 1. D2TW sometimes not started at the first suspend after reboot.
 2. May be more....
Sources:
Sources of the kernel and the PerformanceControl apk included is in my github
Credits: :good:
 ** The Android Image kitchen by @osm0sis
 ** M-kernel by @Metallice
 ** All those who donate and/or help the developers. Giving us the resources and reason to carry on.
Donations: :angel:
daniel_hk said:
Even though this is from my Marshmallow ROM, it might also work for LP or earlier. The only file required to modified would be the fstab. For those who want to try, you may replace the file /data/AIK-mobile/fstab.grouper inside the zip.
Click to expand...
Click to collapse
What exactly does one have to modify in the fstab.grouper file to make it compatible with LP? Or is there a pre-defined file that can replace the current one for MM present in the .zip file?
orville87 said:
What exactly does one have to modify in the fstab.grouper file to make it compatible with LP? Or is there a pre-defined file that can replace the current one for MM present in the .zip file?
Click to expand...
Click to collapse
The only difference between MM and LP would be the OTG line.
Usually, the one found in cm-12.1 would work for all LP. Unzip this one View attachment fstab.grouper.zip
I have changed a few flags. Other developers might have other changes too.
The one inside your LP ROM would be better for your ROM. You may copy it out from root directory after start up.
If there is no F2FS support in your ROM's fstab,
1. Let say the one inside my zip is the base fstab.
2. the one in you LP ROM is target fstab.
3. copy the 4 lines with /data and /cache from the base fstab to the target fstab.
4. replace the base fstab with the target fstab inside my zip.
That's all
note:Those lines are quite long and might extended to a few lines.
Good luck!
Edit: Starting from version 20160214, there are two folders MM and LP which correspondinng to ROMs from or before Android 6.0.0. There is a default fstab inside each. For those who want to replace it with their fstab. It should be put inside the corresponding folder.
Which changes would be necessary to use your kernel with KK/4.4.4 ?
mklmkl said:
Which changes would be necessary to use your kernel with KK/4.4.4 ?
Click to expand...
Click to collapse
Same as the above in post#3.
There is a fix for auto rotate implemented in other grouper kernels that appears to be missing from this one, but it's nice to have the clock speeds to play with :good:
Thanks! I'll test it tomorrow.
---------- Post added at 01:27 AM ---------- Previous post was at 01:04 AM ----------
Booted on KK/4.4.4! Will go on testing!
But where to find the performance apk? Or do I have to compile it from source?
Thanks!
adstraylight said:
There is a fix for auto rotate implemented in other grouper kernels that appears to be missing from this one, but it's nice to have the clock speeds to play with :good:
Click to expand...
Click to collapse
The audio and rotation fix are not in the kernel. I did it in the platform. Ask your ROM's builder for detail.
mklmkl said:
Thanks! I'll test it tomorrow.
---------- Post added at 01:27 AM ---------- Previous post was at 01:04 AM ----------
Booted on KK/4.4.4! Will go on testing!
But where to find the performance apk? Or do I have to compile it from source?
Thanks!
Click to expand...
Click to collapse
The apk is in the system. It is in /system/apps/PerformanceControl/PerformanceControl.apk
I forgot if KK's system apps was inside a folder. If not, move it out.
Good luck
Found & installed -> works!
GPU is (obviously) for a different HW, correct?
mklmkl said:
Found & installed -> works!
GPU is (obviously) for a different HW, correct?
Click to expand...
Click to collapse
Yeah. The apk was for my other devices. There are apks like trickster mod can modify Tegra GPU. I seldom change it in my tilapia so I didn't add the extra codes. (lazy too )
I included this apk because there is settings for DT2W. The sources are in my github. It would be quite easy for others to port their own.
EDIT:Can you tell me which ROM you are using?
Unofficial SlimKat 9.1 (see: http://forum.xda-developers.com/showthread.php?t=3214142)
Many thanks for your effort!
@daniel_hk regarding screen rotation, I suppose you missed this commit. It's about handling the timer values in MM. I first handled this issue in frameworks/base, too, but the kernel patch is more easy to maintain.
AndDiSa said:
@daniel_hk regarding screen rotation, I suppose you missed this commit. It's about handling the timer values in MM. I first handled this issue in frameworks/base, too, but the kernel patch is more easy to maintain.
Click to expand...
Click to collapse
I saw it in manta's commit too.
Since I'm maintaining a few devices, I want to make it common. I did it in the platform. Same source would work for the three kernel sources I'm working on.
Delete
FYI: Update. Link on the OP. Thanks again!
atlharp said:
FYI: Update. Link on the OP. Thanks again!
Click to expand...
Click to collapse
Can you tell me what you meant? What link? Thanks!
The link to the kernel build is on the opening page.
atlharp said:
The link to the kernel build is on the opening page.
Click to expand...
Click to collapse
If you meant the download link to AndroidFileHost, I just checked and its OK. May be it's temperately unavailable at your side.
Hell yes! Finally a OC kernel for the Nexus 7 on MM! I have been trying to make one for hours though couldnt work it out! Can i beg for a commit to be added so us Tiapila users can use it too?
https://github.com/jfmcbrayer/grouper-kernel/commit/3f0c118b4ebc45045049e7e01c6deae5bdddb243
This commit stops the 3G wakelock that cripples the battery life on all Tiapila devices on version 5.0 and above. Battery life is like 20 hours even with no screentime.
Pretty please! This commit is already included on both CM13 and Pure Nexus Kernels for Grouper though those Kernels don't have OC!
Thanks very much.
Sage said:
Hell yes! Finally a OC kernel for the Nexus 7 on MM! I have been trying to make one for hours though couldnt work it out! Can i beg for a commit to be added so us Tiapila users can use it too?
https://github.com/jfmcbrayer/grouper-kernel/commit/3f0c118b4ebc45045049e7e01c6deae5bdddb243
This commit stops the 3G wakelock that cripples the battery life on all Tiapila devices on version 5.0 and above. Battery life is like 20 hours even with no screentime.
Pretty please! This commit is already included on both CM13 and Pure Nexus Kernels for Grouper though those Kernels don't have OC!
Thanks very much.
Click to expand...
Click to collapse
Why beg for the things already there? If you read my rather short thread. It was already there. Grouper and Tilapia share the same kernel. I already implemented it in the early stage of my Omni6 months ago...

Categories

Resources