[KITCHEN][PHP] Lego_Infinity's Kitchen [Windows] (v1.0) - Android

Lego_Infinity's Kitchen
-------------------------------------------
Warning! This app is in alpha stage. I did some tests, and all did good. I will wait your feedback.
You will need to manually copy a ROM to the created project.
Requirements:
- Windows: XAMPP Control Panel
- Linux: 'apache2' and 'php5' (install them with 'sudo apt-get install' command)
^ Linux is not supported yet.
Installation:
- Windows:
1. Install XAMPP Control Panel
* When instaling, you'll have a list with programs to install. Make sure Apache and PHP are checked.
2. Download this app from attachments.
3. Extract the ZIP with the app in 'htdocs'.
* You'll find 'htdocs' in XAMPP's folder. Depends where you installed it.
4. Launch XAMPP Control Panel and start Apache.
5. Open browser and navigate to 'http://localhost'.
6. You're good to go.
- Linux:
1. Install 'apache2' and 'php5'.
* 'sudo apt-get install apache2'
* 'sudo apt-get install php5'
2. Make sure Apache is running.
* 'sudo service apache2 start'
3. Download this app from attachments.
4. Extract the ZIP with the app in 'htdocs'.
* Search for 'htdocs' in '/var/www'. I don't know exactly the name of the folder in Linux.
5. Open browser and navigate to 'http://localhost'.
6. You're good to go.
Some tips:
1. Extract the ZIP with the app in 'htdocs'. The app may not work if you extract it in another folder.
Screenshots:
http://imgur.com/a/LaUni
Features:
- Debloat
- Build
More features soon.

Awesome!!

Related

[UTILITY] Android Utility - [apktool|dex2jar|smali|more][Mac & Linux][Feb13, 2012]

[UTILITY] Android Utility - [apktool|dex2jar|smali|more][Mac & Linux][Feb13, 2012]
Code:
October 12. 2011.
Dear AU users:
I want to make a list of all the projects/themes/ROMs that AU helped make/optimize/perfect. If you all could be so kind as to post a link to your projects and I can put in op.
The goal: (a.) to demonstrate the scope of AU, and (b.) to show off all of your ideas and projects.
I would appreciate your help with this.
Sincerely yours,
Tommy
Hello again!
This time, here to present you with Android Utility - a tool to discover and modify Android.
Currently available for Mac OS X and Linux
Windows Coming in the future.
Code:
Welcome back tommytomatoe,
Android Utility by tommytomatoe. Version 1.0.7. Special Edition
|-------------------------------||-------------------------------|
|-------------------------------||-------------------------------|
| BASIC TOOLS || ADVANCE TOOLS |
|-------------------------------||-------------------------------|
| 1. adb tools || 7. apk Re-Engineering |
| 2. keystore manager || 8. apk Optimization |
| 3. sign apk and update.zip || 9. dex code utility |
| 4. zipalign ||10. draw9patch utilities |
| 5. change-log creator ||11. AU ROM Utility |
| 6. png swap themer ||12. 3vodex |
|-------------------------------||-------------------------------|
| K. Run dsixda's Android Kitchen |
|----------------------------------------------------------------|
|----------------------------------------------------------------|
| x. Run Installation Guide || e. Extras |
| i. Install Android SDK || q. Quit |
| u. Update Android-Utility || |
|-------------------------------||-------------------------------|
Select an Option:
Install Instructions and Frequently Asked Questions in POST #3
What AU can help you do
Change apktool versions 1.3.1, 1.3.2, 1.4.1 on the fly
Apk optimization
Apk re-engineering (via apktool)
Keystore manager
Easy ADB
Draw9Patch compiler/decompiler
Zipalign
Dex Editing (via smali and baksmali)
Dex2Jar
Pngout
pngcrush
advpng
optipng
Auto ODEX
Auto dex-removal
Android Kitchen Integration
Much much more
Click to expand...
Click to collapse
The Goal
A tool for Mac! AU will provide the tools necessary to begin theming projects, apk modifications, optimizations, and hacks. At the end of the day, I hope this project has helped you in doing these things.
AU can also help the user install and utilize apktool even if the user chooses not to use the Android Utility Interface.
Note, in some instances of the utility superuser permissions must be granted (sudo). Please be aware that the changes made are reversible and are not destructive to the Host Operating System.
Please READ Posts #1, 2, and 3 in their Entirety before proceeding.
Feel free to post concerns and bugs. This is still in development! Thank you.
Click to expand...
Click to collapse
The Goods
Version History
Android Utility Source Code and information
Mac OS X Version 1.0.2 Download:
Android Utility Mac OS X Version 1.0.2
Linux Version 1.x.x Download:
Android Utility Universal Installer Automated Script
Download tar file. Open with Archive Manager. Extract au.installer. Run in terminal by double clicking on it. Follow on-screen prompts. Done.
Old Versions
Mac OS X
Android Utility Github Direct Download Version 1.0.1
Mirror - Full Version 1.0.1 Download
Mac Mirror Version b-1.0.0
Android Utility Github Direct Download Version b-1.0.0
Android Utility Github Direct Download Version 1.0.2
Update Package - 1.0.1 -> 1.0.2 - ONLY USE IF RUNNING VERSION 1.0.1. Extract "update" folder into root of android-utility, then run "update_script" by clicking on it.
Patch Update 1.0.2.b - Fixes three scripts. Extract "update" folder into root of android-utility, then run "update_script" by clicking on it.
Linux
Android Utility Github Direct Download Version 1.0.1
Update Package - 1.0.0 -> 1.0.1 - ONLY USE IF RUNNING VERSION 1.0.0. Extract "update" folder into root of android-utility, then run "update_script" by clicking on it.
Android Utility Github Direct Download Version 1.0.2
Patch Update 1.0.2.b - Fixes two scripts. Extract "update" folder into root of android-utility, then run "update_script" by clicking on it.
Android Utility Mirror Mediafire Full Version 1.0.2 Linux
Click to expand...
Click to collapse
Install Instructions and Frequently Asked Questions
Credits
Brut.all - apktool.jar and sound advice
JesusFreke - baksmali.jar and smali.jar
Stericson/JF - testsign.jar
Google - AOSP
Pendo - sound advice/answering my rookie questions
aamikam - sound advice
themikmik.com - Awesome sauce [jadeboy, nick, cho, et cetera ]
myn's thread - dougjamal, myn, lowetax, ageesm, persnlmgr, et cetera
xda developers - Roots
JsChiSurf - sound advice
dsixda - sound advice
Amon_RA - sound advice
Igor Pavlov - 7zip
Ardfry Imaging, LLC. - pngout
Glenn Randers-Pehrson - pngcrush
Andrea Mazzoleni - advpng
Cosmin Truta - optipng
Emmanuel Dupuy - JD-GUI
Xclusive Rydah, Chingy, misfit - testing and ideas
Version: 1.0.6
### Welcome to Android Utility
# README
# Author: Tommy Nguyen [tommytomatoe]
# Date: October 6, 2011
### Update. October 06, 2011
>Version 1.0.5
>added adb logcat ultimate tool
>added auto-update
>Version 1.0.6
>added update options
### Update. October 04, 2011
>updated res_compress
>added auto-zipalign option
### Update. October 04, 2011
>added system app sign option
>removed 7z and 7z.so
### Update. October 03, 2011
>Version 1.0.3
>updated main menu
>added kitchen plugin
### Update. August 22, 2011
>version 1.0.2
>updated main menu
>updated apktool (1.4.2 and 1.3.2-mod)
>added png Optimization [pngout, pngcrush, optipng, and advpng]
>updated installation guide
>added support for touchwhix and sony
>added 3vodex script capabilities
>removed 7z in apk_compress and res_compress
>updated installau
>added auto-dex-removal [dexrm and dexrm2]
>BIGGEST CHANGE: added dex2jar
>added smali/baksmali support
### Update. July 14, 2011
>version 1.0.1
>updated sign script
>updated main menu
>added ROM Utility
>added apk Optimization
>added change-log creator
>fixed error logging for decompiling and recompile process
>added resources.arsc decompression
### Update. July 13, 2011
>version b-1.0.0
>redid decompile and rebuild scripts
>added error logging to decode and rebuild
>added filter to adb script
>changed main menu layout
### Update. July 08, 2011
>more preparation
>added zipalign script
>added sign apk/update.zip scripts
>updated apktool decode mechanism, now includes META-INF extractions
### Update. July 05, 2011
> preparing for initial release
> added apktool build script
> added draw9patch stuff
### Update. June 20, 2011
> added some major changes
> got confirmation for use of PNGOUT
> preparing for initial release
### Update. June 15, 2011
> major changes to install script
> minor changes to andutil script
> Version a-0.89 should be up and running soon
### Update. June 06, 2011
> github repo created
### CREDITS
> brut.all for apktool.jar and decode9patchPng.jar
> jesusfreke for smali and baksmali
> PNGOUT.EXE used with permission of Ardfry Imaging, LLC.
> pngcrush - Copyright (C) 1998-2002,2006-2011 Glenn Randers-Pehrson
> advpng - Andrea Mazzoleni
> optipng - Copyright (C) 2001-2011 Cosmin Truta
> dex2jar - [email protected]
> JD-GUI - Copyright © 2008-2011 Emmanuel Dupuy
> Igor Pavlov for 7zip
> Google
> Android
> HTC
> xda developers
> themikmik.com
> tommytomatoe
Please follow these INSTRUCTIONS Carefully. The usefulness of AU depends on your attention of these instructions. Thank you.
### Installation ###
*** MAC ***
Prerequisite: JAVA (standard on Mac OS X)
1. Download from Github.com link or direct link or mirror.
2. Unpack the archive (tar.gx or zip) to your HOME folder.
HOME folder is located in /Users/username. To determine HOME folder, open Terminal in Applications Drawer and type:
open $HOME
3. Place the unzipped folder in the finder window that opens.
4. Rename the folder to "android-utility" - ATTENTION! CASE SENSITIVE (ie. Android-utility ≠ android-utility).
5. Double check and make sure name of folder is "android-utility".
6 From here, you have two options (A or B).
# Option A
Open in Finder the android-utility
Look for the file "andutil"
Double click on "andutil"
A Terminal Window will open up with Welcome Screen (Which you will see only on initial install)
Continue through the installation
# Option B
Open a Terminal Window
Type these lines followed by ENTER key:
cd $HOME/android-utility
./andutil
Continue through the installation
From now on, to run AU, you can either double click on the andutil icon, or simply type "andutil" in Terminal from any directory. AU adds necessary files to your PATH.
Click to expand...
Click to collapse
*** Linux ***
Prerequisite: JAVA
If you have Java, continue. If not, run these commands (pressing ENTER key after each one) in Terminal to install Java:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-bin sun-java6-jre
sudo apt-get -f install
sudo apt-get install sun-java6-bin sun-java6-jre
1. Download from Github.com link or direct link or mirror.
2. Unpack the archive (tar.gx or zip) to your HOME folder.
HOME folder is located in /home/username. To determine HOME folder, open Terminal in Applications Drawer and type (for Gnome Environment):
nautilus $HOME
3. Place the unzipped folder in the window that opens.
4. Rename the folder to "android-utility" - ATTENTION! CASE SENSITIVE (ie. Android-utility ≠ android-utility).
5. Double check and make sure name of folder is "android-utility".
6 From here, you have two options (A or B).
# Option A
Open in Finder the android-utility
Look for the file "andutil"
Double click on "andutil"
A Terminal Window will open up with Welcome Screen (Which you will see only on initial install)
Continue through the installation
# Option B
Open a Terminal Window
Type these lines followed by ENTER key:
cd $HOME/android-utility
./andutil
Continue through the installation
From now on, to run AU, you can either double click on the andutil icon, or simply type "andutil" in Terminal from any directory. AU adds necessary files to your PATH.
Click to expand...
Click to collapse
*** Windows ***
Coming Later.
Frequently Asked Questions
1. What if I get /usr/local/bin not a directory? ScreenShot
Answer: Post #111 aka my Epiphany
2. What if I get an error "Apk cannot be decoded"? ScreenShot
Answer: Please be sure that your apk has no spaces in its name. Post #98
3. Why is my new apk so much smaller than my original apk?
Answer: Two reasons. 1. Apktool when it builds, it uses full compression. 2. The new apk has not been signed, so the signature files "META-INF" are not present.
4. What can I use to edit xml files?
Answer: Mac: TextEdit or TextWrangler. Linux: Gedit (my personal favorite). Windows: Notepad++
5. Why won't my apk decompile?
Answer: Well, multiple reasons. Let's start fresh.
a. Have you installed proper "framework" files, ie framework-res.apk and com.htc.resources.apk? These go inside working-folder/framework-here/. Install via Option #1 in Apk re-engineering.
b. Have you installed a new version of apktool? Sometimes that will resolve your issues.
6. Why won't my apk recompile/build?
Answer: Again, could be multiple reasons.
a. Are you sure your framework files are installed?
b. Your edits could just be bad/mistakes.
c. Install a different version of "aapt", available in installau and the apk Re-engineering suite.
7. I get the error: "apktool.yml does not exist".
Answer: Please refer to questions 5 and 6. A file "apktool.yml" gets created that's used by apktool during the decode process. If that went wrong, then you won't be able to compile.
8. AU tells me to check build_log for errors. But there is nothing there!
Answer: Currently the build_log is funky. I will fix in the future. If it tells you to check log and nothing is there...then ignore it. There really wasn't an error. But if the log does exist, then you have an error.
9. When will a PC Version exist?
Answer: When I have time.
10. When will you include latest apktool (v1.4.2)?
Answer: AU Version 1.0.2 will include latest tools.
11. When will smali/baksmali support be available?
Answer: AU Version 1.0.2 will include latest tools.
12. When will png optimization be available?
Answer: AU Version 1.0.2 will include latest tools.
13. Why cant't I sign my apk with test keys? They won't install!
Answer: Using an archive manager, delete the ORIGINAL "META-INF" (aka the signature) and then sign.
14. I get errors using Draw9Patch decompiler after using 9.png from a decompiled apk.
Answer: Post 151
15. What if I have a non-HTC Device, like Xperia or Sammy?
Answer: Currently, support for those devices does not exist for the "Apk Re-Engineering", namely Option #1 Install Framework first. The tool is written to only look for "framework-res.apk" and "com.htc.resources.apk". Future versions will have support for more proprietary ROMs. More info on Post 134.
More to come.
Enjoy!
Awesome utility man
I can't wait for the Windows and Linux ver
+1 to Myn's reply. Can't wait for Windows & Linux versions.
Great work!
Sent from my HTC Evo 3D using Tapatalk!
Thank you gentlemen. More features in the plans but a Linux version first. Maybe tomorrow night.
Sent from my PC36100 using XDA Premium App
tommytomatoe said:
Thank you gentlemen. More features in the plans but a Linux version first. Maybe tomorrow night.
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
My laptop is very happy to hear that!
Sent from my HTC Evo 3D using Tapatalk!
Great, now I definitely have to dust off my MacBook to use this.
vanessaem said:
Great, now I definitely have to dust off my MacBook to use this.
Click to expand...
Click to collapse
Do it V! It will solve all your apktool woes.
Just getting off work. Might have some time to polish of Linux version tonight...but will have to see what the lady wants to do. :-(
Sent from my PC36100 using XDA Premium App
I'm on a Windows computer, but I'd be willing to grab a Mac to try this out if it can solve my problem.
I need to edit AndroidManifest.xml in Settings.apk. I follow the procedure below:
1. Decompile settings.apk
2. Edit AndroidManifest.xml
3. Recompile
4. Drag and replace AndroidManifest.xml from recompiled version into original
Unfortunately, the application doesn't show up on the device. I've been using apktool, but also tried apk manager with signing and all. I don't know how to fix the problem, which I assume is caused by the signature of the APK.
Will your utility make it easier for me to edit this file?
kennethpenn said:
I'm on a Windows computer, but I'd be willing to grab a Mac to try this out if it can solve my problem.
I need to edit AndroidManifest.xml in Settings.apk. I follow the procedure below:
1. Decompile settings.apk
2. Edit AndroidManifest.xml
3. Recompile
4. Drag and replace AndroidManifest.xml from recompiled version into original
Unfortunately, the application doesn't show up on the device. I've been using apktool, but also tried apk manager with signing and all. I don't know how to fix the problem, which I assume is caused by the signature of the APK.
Will your utility make it easier for me to edit this file?
Click to expand...
Click to collapse
I believe it will be easier for you. In the decompile process AU will ask if you would like to extract original META INF. Once you're done Modding what you want to do, drag the Meta INF into the new apk. Everything is organized and easily understood once you use it. But before you get a Mac....
What are you changing in the manifest? It could very well be your edit doesn't work. Please give more information
Sent from my PC36100 using XDA Premium App
Linux Version coming within the hour. Just needs a little testing
Linux Version B-1.0.0 is live.
This is hands down, the best utility. Love it.
Sent From My HTC Evo 3D Using Tapatalk On The Now Network From Sprint!
Rydah805 said:
This is hands down, the best utility. Love it.
Sent From My HTC Evo 3D Using Tapatalk On The Now Network From Sprint!
Click to expand...
Click to collapse
You are hands down too nice
Sent from my PC36100 using XDA Premium App
Awesome, thank you!
Looks like a great tool. Can't wait to see the other elements included.
On Linux using apk compression, it isn't removing the apk from the "original_apps" folder. Looks like it performs the rm command but leaves off the file extension so it can't find the file to remove.
EDIT: I get this between each file.
Code:
rm: cannot remove '/home/tmartin/android-utility/working-folder/mod-here-multi/original_apps/HtcProfileWidget': No such file or directory
HtcProfileWidget.apk decompressed
Decompressing HtcRingtoneWidget.apk
/home/tmartin/android-utility/working-folder/mod-here-multi/original_apps/HtcRingtoneWidget: No such file or directory
EDIT #2: Looks like it made ever file 24.2mb & unreadable??
TMartin said:
Looks like a great tool. Can't wait to see the other elements included.
On Linux using apk compression, it isn't removing the apk from the "original_apps" folder. Looks like it performs the rm command but leaves off the file extension so it can't find the file to remove.
EDIT: I get this between each file.
Code:
rm: cannot remove '/home/tmartin/android-utility/working-folder/mod-here-multi/original_apps/HtcProfileWidget': No such file or directory
HtcProfileWidget.apk decompressed
Decompressing HtcRingtoneWidget.apk
/home/tmartin/android-utility/working-folder/mod-here-multi/original_apps/HtcRingtoneWidget: No such file or directory
EDIT #2: Looks like it made ever file 24.2mb & unreadable??
Click to expand...
Click to collapse
Arg! Just got to work so I can't fix. I was afraid that one would give errors. Works on Mac but I didn't test in Linux. I will fix later. Sorry about that.
But big thanks for the feedback.
Sent from my PC36100 using XDA Premium App
tommytomatoe said:
Arg! Just got to work so I can't fix. I was afraid that one would give errors. Works on Mac but I didn't test in Linux. I will fix later. Sorry about that.
But big thanks for the feedback.
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
It happens, no rush. I'm just testing things out. I'll let you know if I find anything else.
TMartin said:
It happens, no rush. I'm just testing things out. I'll let you know if I find anything else.
Click to expand...
Click to collapse
Thanks man. Please list any and all bugs!!
Sent from my PC36100 using XDA Premium App

Need help in installing cygwin?????

Hey guys I have decided to setup kitchen in my PC and I have trouble in installing cygwin packages!!!
I have got packages from dsixda's kitchen I can install it too!!! But the problem is with janitux's one!!!cuz am not able to install packages required according to him
I have installed these
* Devel / gcc
* Interpreters / perl
* Utils / cpio
* Utils / util-linux
* Utils / ncurses
* Archive / zip
* Archive / unzip
* Web / wget
And I need to install these help me!!!
*Devel: gdb, make
*Editors: vi, nano
If I run cygwin and press next next as said in janitux's tutorial the setup asks to choose a download site and it's blank help!!! Can u upload the missing package for me!!!!!!!
Sent from my LG-P500 using XDA
reinstall
go to official page and try to download and run setup.exe again. do it after restarting your pc....mine perfectly works after doing this

[toolkit][pc-android] pc android tools

================================================================================================================
================================================================================================================
PC ANDROID TOOLS
================================================================================================================
================================================================================================================
NOTE: PLEASE HAVE A LOOK AT THE SCRIPTS FOR ADJUSTMENTS
USER THESE SCRIPTS ON YOUR OWN RISK!! I AM USING THESE MYSELF FOR A LONG TIME.
VERSION
- 0.2
- Added screenshot grabber + multiple screenshot grabber
- All scripts updated to run in folder they are located in
- Config file added
- Minor bug fixes
- 0.1
- First release
----------------------------------------------------------------------------------------------------------------
TODO
----------------------------------------------------------------------------------------------------------------
- Adjust some of the scripts error and log handeling
- Settings: Disable log output (will not create log files)
----------------------------------------------------------------------------------------------------------------
OVERVIEW
----------------------------------------------------------------------------------------------------------------
00. CONFIG (All scripts are setup here)
01. CHANGE DPI (without root)
02. INSTALL APKS
03. PULL REBOOT LOG
04. PULL SOUND BOOST FILE
05. PUSH TO INTERNAL
06. PUSH TO EXTERNAL
07. REBOOT RECOCVERY
08. REBOOT
09. START BROWSER
10. START ANDROID LOGCAT
11. GRAB SCREENSHOT
12. GRAB SCREENSHOTS LOOP
----------------------------------------------------------------------------------------------------------------
REQUIREMENTS
----------------------------------------------------------------------------------------------------------------
- ADB Installed (via SDK or other tool)
Should be avail from any cmd folder!
- Phone connected via USB to PC
- Basic knowledge of you sdcard/ext sdcard paths
----------------------------------------------------------------------------------------------------------------
INFORMATION
----------------------------------------------------------------------------------------------------------------
This is a nice little collection of tools for Android users who connect to there PC
Quick tools for rebooting, opening an URL, Push and pull files, Install multiple APKs and more...
Please enjoy and use at own risk.
Thank you to all my XDA brothers and sisters.
================================================================================================================
01. CHANGE DPI (without root)
================================================================================================================
This changes you resolution without need of root.
Simply run and enter your desired DPI (Google your phone for default)
================================================================================================================
02. INSTALL APKS
================================================================================================================
This is a Drag and Drop where you select apk files from your folder drag them to this icon and they will install
on your phone/tablet
================================================================================================================
03. PULL REBOOT LOG
================================================================================================================
This grabs your reboot logs. any errors will be saved to a file named REBOOTLOG.TXT (on the PC)
Press any key to stop the logging.
================================================================================================================
04. PULL SOUND BOOST FILE
================================================================================================================
This grabs the file used by Galaxy Note 4 Sound (for sound boosting)
BACKUPLOG.txt
================================================================================================================
05. PUSH TO INTERNAL
================================================================================================================
This is a Drag and Drop where you select files you want to copy to the phone internal sdcard root directory
NOTE: Dont forget to update the file and adjust your internal sdcard path
================================================================================================================
06. PUSH TO EXTERNAL
================================================================================================================
This is a Drag and Drop where you select files you want to copy to the phone external sdcard root directory
NOTE: Dont forget to update the file and adjust your sdcard path
================================================================================================================
07. REBOOT RECOVERY
================================================================================================================
Will reboot phone to recovery
================================================================================================================
08. REBOOT
================================================================================================================
Will reboot phone
================================================================================================================
09. START BROWSER
================================================================================================================
This will show a input where you can type in the url you want to open on your phone/tablet.
Include full url like http://www.test.com
================================================================================================================
10. START ANDROID LOGCAT
================================================================================================================
This starts logcat (Android logging) to a file named LOGCAT.TXT (on the PC)
Press CTRL+C (then y) to stop logging
================================================================================================================
11. GRAB SCREENSHOT
================================================================================================================
This will grab a screenshot on the connected phone/tablet and save it to the pc (DD.MM.YYYY_HHMMSS_screenshot.jpg)
================================================================================================================
12. START ANDROID LOGCAT
================================================================================================================
This will grab screenshots on the connected phone/tablet and save it to the pc (DD.MM.YYYY_HHMMSS_screenshot.jpg)
Each time anykey is pressed (spacebar) a new screenshot will be done
Press CTRL+C (then y) to stop
Thanks and any feedback welcome.
check http://www.ericphelps.com/batch/
for more examples if you want to modify.

GooglePlay Installation for Emulator (Marshmallow/Noughat)

Aug 28 (21 hours ago)
I have tried so many options/blogs/scripts to install GooglePlay for Emulator (running through Android Studio) but it never works. I have seen so many different errors
1. Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
2. Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
3. No space left on /system
Why is it so hard to install GooglePlay on Emulator, can someone provide steps or GApps that work with Marshmallow/Noughat.
Here's the gist of what I have tried :
1. Copy GApps from http://opengapps.org/ [ Platform: x86_64; Android: 6 & 7; Variant: full ]
2. Extract the zipped file to temporary folder and then extract following apks from it to another folder
* gsfcore-all/nodpi/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
* gsflogin-all/nodpi/priv-app/GoogleLoginService/GoogleLoginService.apk
* gmscore-x86_64/nodpi/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
* vending-all/nodpi/priv-app/Phonesky/Phonesky.apk
3. Try pushing these apks through this script
IMAGE_NAME=Nexus_5X_API_24 #Nexus_5X_API_23
emulator @${IMAGE_NAME} -no-boot-anim -writable-system &
adb wait-for-device
adb root
adb shell stop
adb remount
adb push PrebuiltGmsCore.apk /system/priv-app/
adb push GoogleServicesFramework.apk /system/priv-app/
adb push GoogleLoginService.apk /system/priv-app/
adb push Phonesky.apk /system/priv-app/
I would really appreciate any help !!
Hello and welcome to XDA Q&A section of the Forums.
In the .zip file you got from GApps, there should be a thing called "updater-script" located in the first folder then the subfolder of that and so on till you find it. In this script it tells your recovery what do you with the file rather than just smile at it . I guess you can say it is time for a human to do those steps manually instead (I guess you can say that).
If I helped, hit "thanks" .
Its not clear by your comments what you are suggesting, you mean to say that I should read this script "updater-script" and apply those steps manually ?
maqzee said:
Its not clear by your comments what you are suggesting, you mean to say that I should read this script "updater-script" and apply those steps manually ?
Click to expand...
Click to collapse
Yup! Use notepad++ to view it btw, good luck! At least it's not smali code.

How to Recompile the HP Touchpad Android Kernel

How to Recompile The HP TOUCHPAD Android Kernel for DirtyUnicorns 8.1 and Shumash SKZ DirtyUnicorns 8.1 and Evervol 7.1
This is done on a Linux OS (Ubuntu 18.04 x64). If you are using other OS, then install Linux as a virtual machine.
The process is the same for all Kernel, but I have only done it with the last two version of Android and can verify that it works.
You can get the kernel source code from other version and try to compile it.
You many need to install the following packages on your Linux OS:
sudo apt-get update
sudo apt install python-pip
sudo apt-get install libncurses5-dev libncursesw5-dev
To recompile the Kernel you need to download an arm cross compiler, there are two options, google android or Linaro.
Get the Android arm cross compiler here:
https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/+archive/26e93f6af47f7bd3a9beb5c102a5f45e19bfa38a.tar.gz
You can also use Linaro:
https://releases.linaro.org/components/toolchain/binaries/4.9-2017.01/armeb-eabi/gcc-linaro-4.9.4-2017.01-x86_64_armeb-eabi.tar.xz
Get the Kernel source for:
DirtyUnicorns:
https://github.com/DirtyUnicorns/android_kernel_htc_msm8960/archive/o8x-caf.zip
Shumash SKZ overclock Kernel for DirtyUnicorns 8.1
https://github.com/shumashv1/android_kernel-3.4_hp_tenderloin/archive/o-8.1.zip
Shumash SKZ overclock Kernel for Evervolv 7.1
https://github.com/shumashv1/android_kernel-3.4_hp_tenderloin/archive/ng-7.1.zip
1. Create a folder on your home directory
Code:
arm-eabi
2. Extract (unzip) the Android cross compiler file arm-eabi-4.8-26e93f6af47f7bd3a9beb5c102a5f45e19bfa38a.tar.gz into the arm-eabi direcory:
You should have the following directory structure
(Your ID will be different than ubuntu) but all the directories needs to have the following structure.
Code:
/home/ubuntu/arm-eabi/share
/home/ubuntu/arm-eabi/libexec
/home/ubuntu/arm-eabi/lib64
/home/ubuntu/arm-eabi/lib32
/home/ubuntu/arm-eabi/lib
/home/ubuntu/arm-eabi/include
/home/ubuntu/arm-eabi/bin
/home/ubuntu/arm-eabi/arm-eabi
3. Extract (unzip) one of the Kernel file that you will like to recompile into your home directory:
4. Rename the extracted folder ( example : android_kernel_tenderloin_DU_msm8960-o8x-caf )
to: kernel
It should have all folders under kernel directory
(Your ID will be different than ubuntu)
Code:
/home/ubuntu/kernel/crypto
/home/ubuntu/kernel/block
/home/ubuntu/kernel/arch
( and many more)
That is all that is need it to recompile, but the folder location and structure is very important for the scripts to work.
The configuration file to make the Kernel for the two versions of the touchpad is located in:
Wifi standard version
/kernel/arch/arm/configs/tenderloin_android_defconfig
4g version
/kernel/arch/arm/configs/tenderloin4g_android_defconfig
5. Open a terminal window in the kernel directory and paste the following commands:
Code:
export CROSS_COMPILE=~/arm-eabi/bin/arm-eabi-
## You can make changes directly to the tenderloin_android_defconfig using a text editor if you know what you are doing or use the on screen menu.
## replace the configuration file for your model at the end.
Code:
./make_defconfig.sh tenderloin_android_defconfig
Now you have the Linux/arm 3.4.113 Kernel Configuration screen to make all your choices.
If the menu does not comes up is due to packages you need to install on your OS for ncurses to work, first mentioned.
There is too much information to go over and explain, you will have to learn as you go, not all settings apply to the device. There are options and modules for many kernels not only just the TP.
When you are done, or feel that you have done anything after looking at the DNA of an Android kernel for the TP then press:
the esc key twice to exit and save the new changes to the configuration file.
6. Ready to make the configuration active to recompile:
Code:
make ARCH=arm tenderloin_android_defconfig
7. Start the recompile process:
Code:
make ARCH=arm -j4 CROSS_COMPILE=~/arm-eabi/bin/arm-eabi- kernel.uImage
Once is finish your new kernel uImage will be at:
kernel/arch/arm/boot/kernel.uImage
8. Copy the kernel.uImage file to your desktop or any other place out of the Kernel folder.
9. This command will reset ad clean all your settings from making the Kernel, so that you can start the process again.
Code:
make mrproper
Now you have a modified kernel and need to combine it with the ramdisk from the same ROM kernel (boot.img) that is in the ROM zip file.
Extract the boot.img from the ROM and follow the steps on how to unpack the boot.img using this link:
Now that you have access to the ramdisk, you can make system read and write and many more options on every file!
With the Kernel settings and Ramdisk you have completely total control, is the DNA settings of the device.
https://forum.xda-developers.com/hp-touchpad/development/make-root-permanet-read-write-to-t3846567
Once unpack rename kernel.uImage to kernel.uImage_original (or delete it)
Copy the new kernel.uImage to the folder and repack.
You now have your own modified kernel and can place it in the boot directory of your tablet.
If it finished booting to Android, all is good! if not start again.
Your HP Touchpad will not get bricked by any modification you will make to the kernel. It can freeze and you can do a hard reset and boot from the original kernel.
Now if you encounter a problem with your ROM, feel is slow or any other issues you know how to fix it yourself and learn how time consuming and fun is to get this working. Be part of the community and at least try to improve on the great work that others have done.
Many thanks to everyone that made all this work possible all credits go to:
Milaq, Jcsullins, Invisiblek, Flintman, Shumash and the many others! the list is longer than all the settings of the kernel!
All that explanation to run the following commands:
Code:
export CROSS_COMPILE=~/arm-eabi/bin/arm-eabi-
./make_defconfig.sh tenderloin_android_defconfig
make ARCH=arm tenderloin_android_defconfig
make ARCH=arm -j4 CROSS_COMPILE=~/arm-eabi/bin/arm-eabi- kernel.uImage
make mrproper

Categories

Resources