Android autoporting - Android Software/Hacking General [Developers Only]

Hello!
I want to introduce you my new project- Android autoporting!
This project will help you port Android and will help developers build it from ready sources.
You can download it in the attach.
When you open it you should choose from 3 different modes:
EASY-will help you port Android if you don't have DEVICE folder for your device
HARD- if you have device-specific folders and want just build it
HARDCORE - if you want to do something in empty folder
INSTRUCTION
EASY
1 window
Enter device name and manufacture(just english letters, no digits,spaces,etc) and chhose Android version
2 window
Choose architecture(if you dont know which type of armv6 do you need- choos armv6-j for armv7 - armv7-a)
Screen size and screen orientation
3 window
It is not ready.Just click next
4 window
Click send and wait for number
HARD
1)Create config.tar(it's a patch for android sources).In root of this file you should have device,vendor folders etc.Then pack it to tar
2)In window choose your file, enter name of device(same with vendorsetup.sh) and android version.Click send and wait for the number.It can take few minutes, depending of sources size.
HARDCORE
Write a script, with operations you need.To get results out you need to create out folder(mkdir out) and put to it files you need to get.
Get result
When your task is ready(track it http://144.76.68.236:8080/ here)
go to ftp://144.76.68.236/server/grare/ login is ftpusername password is 12345678
go to folder with your number name and download out.tar
Inside you will find
EASY- system.img and auto-created device folder.
HARD- android out folder
HARDCORE- files you have put to out with script

reserved

can i port the sony or lg stock rom for galaxy nexus or any other device with this??
ps-a very noob question.sorry.

rohitsahu111 said:
can i port the sony or lg stock rom for galaxy nexus or any other device with this??
ps-a very noob question.sorry.
Click to expand...
Click to collapse
May be.You can try,but I'm not sure, that it will work

Related

[TOOL] Mass Apk Installer /system install Linux & Windows v1.5 Update 18/6/2016

[TOOL] Mass Apk Installer /system install [OSX Linux Windows] v2.2 Update 2/4/2017
Apk mass installer is back and better than ever. Many things have been going on and development of the app has left behind but the project has started again.
First of all new support for other OS have been implemented including Linux and Osx , Windows has already been supported since version 0.
Now mass apk installer can also make backup's of android phones backing up apks from phone. Backup's can also exported to a zip file and even encrypted with AES 256 bit encryption. Installing apk's to phone from zip and encrypted files is also supported
Also there is support to store apk info and metadata in sqlite database this feature is beta
Last but not least apk mass installer has a new home in github the link is below
https://github.com/binary-signal/mass-apk-installer
Hi
This application automatically installs apk's to android phone or to /system partition with a few clicks
1.Extract the contents of the archive
2.Copy the apk's you want to install into the apk directory
3.Enable Unknown Sources in phone settings and USB debugging
4.Double click run.bat or run.sh
5.Wait....
6.Enjoy
Simple as that
Last Update 2/4/2017
Table of contents:
0x2: Software Description
0x3: How to use this software
0x4: Change Log
0x2: Software Description
This software automates the installation and backing up of apk's, Android applications to your Android phone. It
uses the adb interface provided by Google to install / back up applications via command line prompt to the
phone
0x3: How to use this software
Important Notice: In order the program work successfully you MUST have installed the usb drivers
for your phone model !
0x4: Change Log
v 2.2 Major update of code and new features
Added support for Mac OS X
Improved support for Linux
Added new feature back up phone apk's
Added zip archive support for backup's and install's features
Added AES 256 encryption to backup's
Removed feature apk installation to /sys partition
Added support for Android Nougat
v 1.5 Code maintenance
Fixed a bug when trying to create a directory already existed returned errors
Added some new future's overide the adb check state and refactored the dummy install process for apk's
In the new version the new future's will be added and manipulated via command line arguments
For now the new futures are experimental and not available to stable release only on beta release
v 1.4 Fixed an error about naming of apk'files containing space
character. Now the non valid apk names are fixed auto
matically and space character is replaced with '_' character
before installation.
v 1.3 Fixed some errors in messages while program was running
Now the apk folder ins't necessary to have only apk files, The program automatically separates
the apk's in the folder and installs them.It will skip non apks files
Installation size info is available now
Removed some unnecessary dll files from root folder
Wait for adb server a few seconds before try to install anything just to make sure the phone is connected
Wait for user input (Enter) to exit program
Update documentation
v 1.2 Now it is able to install apk's to /system partition. This future is extremely dangerous use it at your own rick
Update messages during runtime
v 1.1 Update Documentation, minor bug fixes
Please leave comments for this app Thank U !
USE THIS SOFTWARE WITH YOUR OWN RISK !!!!!!
Sounds good.
Is ther option to install system/app partition too?
That would be nice!
Cheers!
Taavi
Sent from my MT15i using Tapatalk
Until now no , but in the future i might code something like that !
KarmaToBurn said:
Until now no , but in the future i might code something like that !
Click to expand...
Click to collapse
Just finished the new version fix some bugs and now you can install your apk's to
/system partition ! Cheers !
KarmaToBurn said:
Just finished the new version fix some bugs and now you can install your apk's to
/system partition ! Cheers !
Click to expand...
Click to collapse
Nice!! Thanx
Sent from my MT15i using Tapatalk
this is awesome, i definitely need this ..thanks man
Thanks. Where download link??
KarmaToBurn said:
Hi
This application automatically installs apk's to android phone or to /system partition with a few clicks
1.Extract the contents of the archive
2.Copy the apk's you want to install into the apk directory
3.Enable Unknown Sources in phone settings and USB debugging
4.Double click run.bat or run_sys.apk if you want to install to /system partition
5.Wait....
6.Enjoy
Simple as that
The app can run in Windows Xp SP2, Windows Vista and Windows 7 both x86 x86_64 arch
More Detailed Info
Read me file for apk install
Table of contents:
0x1: Contact Information
0x2: Software Description
0x3: How to use this software
0x4: Archive Contents
0x5: Change Log
0x1: Contact Information
You can sent requests, bugs and anything you want at: [email protected]
0x2: Software Description
This software automates the installation of apk's, Android applications to your Android phone. It
uses the adb interface provided by Google to install application via command line prompt to the
phone
0x3: How to use this software
After downloading the rar file apkinstall.rar extract the contents of the archive in your desired
directory, for example C:\Users\User\Desktop\apkinstall. Then then open the newly creates directory.
You will notice there are a couple of file and some folders.Put tou apk's into tha apk folder and
then double click the run.bat. A console will appear and install automatically every apk you put in
the apk folder. After install the console will exit and you are done. Unplug your phone and enjoy
your new apps.
Important Notice: In order the program work succesfully you MUST have installed the usb drivers
for your phone model ! For sony erricson just install pc companion. This sofware was tested in
Windows Vista x86/x86_x64 & Windows 7 x86/x86_x64, propably Windows Xp SP2 and above is supported.
0x4: Archive Contents
apkinstall.rar -+
|- ADB -+
| |-adb.exe
| |-adblinux
| |-adbmac
| |-AdbWinApi.dll
| |-AdbWinUsbApi.dll
|-apk -+
|-AdbInterface.dll
|-apk_mass_install.exe
|-DriverInstaller.dll
|-run.bat
|-run_sys.bat
Notes: '+' sign is for directories
0x5: Change Log
v 1.2 Now it is able to install apk's to /system partition. This future is extremly dangerous use it at your own rick
Update messages during runtime
v 1.1 Update Documentation, Minnor bug fixes
Please leave comments for this app Thank U !
You can download the app from here
code.google.com/p/mass-apk-installer/
USE THIS SOFTWARE WITH YOUR OWN RISK !!!!!!
Click to expand...
Click to collapse
ph.miki said:
Thanks. Where download link??
Click to expand...
Click to collapse
Look agen
taaviu said:
Look agen
Click to expand...
Click to collapse
blind, sorry
Awesome
Is there an option to install the apks to the external SDcard instead of to the internal SDcard?
Thanks.
No offense to the OP for his work...but couldn't something like this be done with a single line batch script? (granted it would only install and not anything extra)
for /f %%a IN ('dir /b Apk\*.apk') do adb install Apk\%%a
OMG you really DO understand our needs!
Aweeesomeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee!!!
This is damn funny.. an 'application' (Android) based on linux with a fancy wrapper/GUI and all these folks are making these really cool toys that are for... A WINDOWS MACHINE.
My head hurts
Awsome.
My apps are the reason why I hate flashing new roms. It's just a pain.
But I will definitely be more inclined to trying new things now thanks to this thanks a lot *beginning process*
KarmaToBurn said:
Hi
This application automatically installs apk's to android phone or to /system partition with a few clicks
1.Extract the contents of the archive
2.Copy the apk's you want to install into the apk directory
3.Enable Unknown Sources in phone settings and USB debugging
4.Double click run.bat or run_sys.apk if you want to install to /system partition
5.Wait....
6.Enjoy
Simple as that
The app can run in Windows Xp SP2, Windows Vista and Windows 7 both x86 x86_64 arch
More Detailed Info
Read me file for apk install
Table of contents:
0x1: Contact Information
0x2: Software Description
0x3: How to use this software
0x4: Archive Contents
0x5: Change Log
0x1: Contact Information
You can sent requests, bugs and anything you want at: [email protected]
0x2: Software Description
This software automates the installation of apk's, Android applications to your Android phone. It
uses the adb interface provided by Google to install application via command line prompt to the
phone
0x3: How to use this software
After downloading the rar file apkinstall.rar extract the contents of the archive in your desired
directory, for example C:\Users\User\Desktop\apkinstall. Then then open the newly creates directory.
You will notice there are a couple of file and some folders.Put tou apk's into tha apk folder and
then double click the run.bat. A console will appear and install automatically every apk you put in
the apk folder. After install the console will exit and you are done. Unplug your phone and enjoy
your new apps.
Important Notice: In order the program work succesfully you MUST have installed the usb drivers
for your phone model ! For sony erricson just install pc companion. This sofware was tested in
Windows Vista x86/x86_x64 & Windows 7 x86/x86_x64, propably Windows Xp SP2 and above is supported.
0x4: Archive Contents
apkinstall.rar -+
|- ADB -+
| |-adb.exe
| |-adblinux
| |-adbmac
| |-AdbWinApi.dll
| |-AdbWinUsbApi.dll
|-apk -+
|-AdbInterface.dll
|-apk_mass_install.exe
|-DriverInstaller.dll
|-run.bat
|-run_sys.bat
Notes: '+' sign is for directories
0x5: Change Log
v 1.2 Now it is able to install apk's to /system partition. This future is extremly dangerous use it at your own rick
Update messages during runtime
v 1.1 Update Documentation, Minnor bug fixes
Please leave comments for this app Thank U !
You can download the app from here
code.google.com/p/mass-apk-installer/
USE THIS SOFTWARE WITH YOUR OWN RISK !!!!!!
Click to expand...
Click to collapse
download link?
Omnichron said:
download link?
Click to expand...
Click to collapse
Look my previous post
Sent from my MT15i using Tapatalk
Excuse my ignorance but does this require adb to be installed?
popoyaya said:
Excuse my ignorance but does this require adb to be installed?
Click to expand...
Click to collapse
NO.
Sent from my MT15i using Tapatalk
You could just use flashtool too. (except for installing to system partition)
Guide:http://imgur.com/a/MBe5a

All Credits Goes TO Perceval from Hyrule

Al Credits Goes TO Perceval from Hyrule
Quote:
Originally Posted by Perceval from Hyrule
** Currently writing this, please wait !
Hello there,
here is a new tutorial I'm sure you'll like. As usual it took me LOTS of work to get all info and make this to work, so now I share it with you and show how to run custom ROMs within Android SDK Emulator.
Please note it's mainly for XPERIA X10, but process is the same for other Android-powered devices. It will show you the process for Linux.
1. Download the latest Android SDK.
2. Open the archive, and copy the folder android-sdk-linux-x86 to a safe place. You can also rename it to an easier name. Example : I placed it in ~/Home and renamed it androidsdk.
3. Go to the SDK folder, then in the folder Tools/. Double-click on Android and choose Run.
4. Go to Available packages, and choose to install (choose at your will !)
Android SDK Tools, revision 8
Android SDK Platform-tools, revision 1
SDK Platform Android {VERSION(S) YOU WANT} (!) You need at least one Platform. For X10, you can download 1.6, 2.1. You can also add 2.2, 2.3.
Once it's done, close the window.
5. Download Xperia X10 add-on for SDK. (?) Read the PDF add-on guide, it is helpful !
Copy the folder (from the archive) XPERIA-X10_r1 inside the folder add-ons of your Android SDK folder ({androidsdk}/add-ons/).
6. Run terminal, go to your Android SDK folder, then in tools folder, and run
Code:
./android list target
.
Note the id number of the Android you want to develop (ie for me, Android 2.3 is
Code:
id: 3 or "android-9"
). (?) You might also want to note the name ("android-X") as it might be useful later.
7. Now, create AVD (a profile for emulator). Usual command (assuming you are INSIDE the /tools/ folder !) is
Code:
android create avd -n NAMEYOUWANT -t {ID}
So, for us, it will be
Code:
./android create avd -n myx10 -t 3
8. To generate the AVD, you will be prompted several info. Type these for Xperia X10 :
Create custom hardware profile : yes
SD Card support : yes
Asbstracted LCD density : 160 (correct if I'm wrong ?)
DPad support : no (?)
Accelerometer : yes
Max camera pixels (H) : 3264
Cache partition size : 66 (?)
Audio playback : yes
Trackball : no (?)
Max cam pixels (V) : 2448
Camera support : yes
Battery support : yes
Touch screen : yes
Audio record : yes
GPS : yes
Cache partition : yes
Keyboard : no
heap size : 32
RAM : 280
GSM Modem : yes
(?) I recommend you to create one profile for each Android version you want to run (so : you just have to change the ID, and create same profile). If you don't, you won't be able to run custom ROMs using other versions of Android (ie your AVD profile is 2.3 and you run a 2.1 custom ROM).
9. Done ! Take your custom ROM (downloaded, compiled... In this case, files are in {YourAndroidRepoFolder}/out/target/product/generic/. It comes with about 3 files, including a file called system.img. Copy this file into the folder (hidden) .android/myx10{In fact, the name you've chosen earlier "NAMEYOUWANT"}.avd/
10. Run terminal, go to Android SDK folder/tools/ (if you didn't close your current terminal, you're already in and run this command to run emulator WITH your custom ROM :
Code:
./emulator -avd myx10{again the "NAMEYOUWANT" you've chosen before}
Wait and enjoy !
(?) First boot is long - it's NORMAL. Just like on a real device, the OS will be cached and will work faster and faster.

[Android iA[ JB 4.2.2 Dualboot/Bare metal

Run JB 4.2.2 NATIVE (EFI bios only)
Diualboot with win8/linux/osx. - This is NOT a x86 emu - its bare metal
https://01.org/android-ia/documentation
Required materials:
•1GB or larger USB thumb drive
•A supported target device
•A laptop or PC running Linux, Windows, or Mac OS with working internet connection
Step 1: Back up your existing OS and all data on your device. The Android-IA installer will erase everything and repartition your hard drive automatically.
Step 2: Download the latest installer image for your device from the Downloads page.
Step 3: Prepare the USB thumb drive
Linux users:
•Unzip the downloaded file: `unzip your_installer_file.zip'
•Insert the USB thumb drive into your machine
•Open your terminal application and find the device name of the thumb drive. Run `dmesg' and look near the end for a name like "/dev/sdX" where X is a letter.
•Unmount any partitions that were automatically mounted: `sudo umount /dev/sdX*' (Where X is the letter from above)
•Write the live.img file from the extracted zip to the USB flash: `sudo dd if=live.img of=/dev/sdX bs=1M conv=fsync' (Where X is the letter from above)
Windows users:
•Extract the installer image from the downloaded zip file
•Download "Image Writer" application from https://launchpad.net/win32-image-writer/ and extract it to a folder of your chioce.
•Insert your USB drive into your computer.
•Find the drive letter of your USB drive by opening 'My Computer' on the desktop.
•Run Win32DiskImager.exe from Image Writer's directory.
•In Image Writer's window, select the installer.img you extracted from the downloaded zip
•In Image Writer's window, select your thumb drive's letter that you found in 'My Computer'
•Click "Write" and wait until the process is over.
Mac users:
•Extract the installer image from the downloaded zip file
•Open the Terminal (under Utilities)
•Execute `diskutil list' to get the current list of devices
•Insert your USB drive into your computer.
•Execute `diskutil list' again and determine the device node assigned to your flash media (e.g. /dev/diskN)
•Execute `diskutil unmountDisk /dev/diskN'
•Execute `sudo dd if=live.img of=/dev/diskN bs=1m'
•Execute `diskutil eject /dev/diskN' and remove your flash media when the command completes.
Step 4: Prepare device for installation:
•Set the device to boot from the USB thumb drive (device-specific instructions can be found on the devices page.
•Make sure "UEFI Boot Support" is enabled in the BIOS.
Step 5: Install the system.
• Plug in the USB thumb drive with the Android-IA installer image created in step 1
• Power on the device
• From the boot menu, choose "Install Android to hard disk"
• Wait until the installer finishes
• Unplug the USB thumb drive
• Power off the device by holding down on the power button for 10 sec., then power on the device and choose "Boot Android system" (or let the countdown timer expire)
You're done! Enjoy your Android-IA device.
Click to expand...
Click to collapse
Move post if in wrong section plz...
Sent from nexus 4 AOSP
Hello.
I installed the latest Android-IA (android-4.2.2_r1-ia1) on my Acer Iconia W700, and it works perfectly. The only downside (however, huge one) is the lack of libhoudini - without it half of android apps refuse to load on x86 processor. Which, by the way, scores ~70000 in Antutu (!)...
I searched everywhere, but there's just too little information on both libhoudini as well as Android-IA . Please, can anyone help in porting this library to Android-IA? I know it is not open source, but so are gapps, and Android-x86 already uses libhoudini. So there shouldn't be any real difficulties...
WBR, Draco.
Drakosha said:
Hello.
I installed the latest Android-IA (android-4.2.2_r1-ia1) on my Acer Iconia W700, and it works perfectly. The only downside (however, huge one) is the lack of libhoudini - without it half of android apps refuse to load on x86 processor. Which, by the way, scores ~70000 in Antutu (!)...
I searched everywhere, but there's just too little information on both libhoudini as well as Android-IA . Please, can anyone help in porting this library to Android-IA? I know it is not open source, but so are gapps, and Android-x86 already uses libhoudini. So there shouldn't be any real difficulties...
WBR, Draco.
Click to expand...
Click to collapse
Antutu score 70000!? really? You are using the i5 model?
Drakosha said:
Hello.
I installed the latest Android-IA (android-4.2.2_r1-ia1) on my Acer Iconia W700, and it works perfectly. The only downside (however, huge one) is the lack of libhoudini - without it half of android apps refuse to load on x86 processor. Which, by the way, scores ~70000 in Antutu (!)...
I searched everywhere, but there's just too little information on both libhoudini as well as Android-IA . Please, can anyone help in porting this library to Android-IA? I know it is not open source, but so are gapps, and Android-x86 already uses libhoudini. So there shouldn't be any real difficulties...
WBR, Draco.
Click to expand...
Click to collapse
I remember finding a manual install of libhoudini somewhere but it didnt work. That was with the february version of A-IA, though.
Sent from my 700T using XDA Premium HD app
Drakosha said:
Hello.
I installed the latest Android-IA (android-4.2.2_r1-ia1) on my Acer Iconia W700, and it works perfectly. The only downside (however, huge one) is the lack of libhoudini - without it half of android apps refuse to load on x86 processor. Which, by the way, scores ~70000 in Antutu (!)...
I searched everywhere, but there's just too little information on both libhoudini as well as Android-IA . Please, can anyone help in porting this library to Android-IA? I know it is not open source, but so are gapps, and Android-x86 already uses libhoudini. So there shouldn't be any real difficulties...
WBR, Draco.
Click to expand...
Click to collapse
Did you ever find a solution to this?
DJDrew said:
Did you ever find a solution to this?
Click to expand...
Click to collapse
Hi there
I'd also be glad to hear more about that...From what I could gather so far, there is no fully working ARM translator / libhoudini solutions for android IA. Hence the only solution would be to switch to android x86...
Change dpi and get bluetooth working with android and windows 8.1 at the same time
Do these changes if you are confident in your skills. I'm student and quite busy so if you ask something it can take some time for me to answer. Damages you might do to your system are your own responsibility. I have tested these instructions with Acer W700 on android-4.2.2_r1-ia3 and can confirm that they worked for me.
First changing dpi from original 213 to 160:
1. Get file manager on android like ES file Explorer
2. R/W rights to whole system on android
3. From root go to /system/etc/machine-props/
4. Open acer-w700.prop with ES Explorer and edit line "ro.sf.lcd_density = 213" and change 213 to 160
5. Reboot android and system should now be 160 dpi
Now about that bluetooth. I find it annoying that you have to pair your bluetooth mouse and keyboard again every time when you switch between android and windows 8.1. So I did research and found a way to fix this problem and here's how to do it. I can confirm that this works with Acer bluetooth/cover keyboard and MS Sculpt touch mouse.
1. Pair your bluetooth devices first with android and the with Windows
2. On Windows download PsExec
3.Then from downloaded file copy PsExec.exe in Windows to directory C:\Windows\System32 or to directory where your System32 folder is.
4. Write in the search cmd and run it as administrator
5. Then use command: psexec -s -i regedit.exe
6. Now go to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BTHPORT\Parameters\Keys
7. From \Keys you can find your paired bluetooth devices. First there is the devices bluetooh mac address and 32 numbers long linkkey. Now write those linkeys and mac addresses up or copy them.
8. Now everything is set on Windows side. Next boot to android.
9. On android you need again for example ES file Explorer and R/W rights
10. With file Explorer fro root go to /data/misc/bluedroid/
11. Open file called BT_config.xml
12. From text find your devices using mac address
13. When you find you devices mac addres scroll down and you should see line with linkkey and 32 number code.
14. Now take that 32 number code you got from Windows
15 You have to change it little so the linkey works and here how it's done:
for example your Windows linkkey is "12345678qwertyuiasdfghjkpoiuytre" now set it as 8 number clusters like this
"12345678 qwertyui asdfghjk poiuytre"
Now you have to reverse those 8 number clusters
Take the set on far right "poiuytre" and mark it like this "po iu yt re"
Now reverse those pairs like this "re yt iu po"
Now "reytiupo" this is the first line in the new linkkey
Do the same for other three cluster. After it's done this example linkkey looks like this "reytiupojkghdfasuityerqw78563412"
16. When you have your modified Windows linkkey ready you can just replace the old one from the file BT_config.xml
17. Now just reboot android and your keyboard and mouse should work.
I've found that sometimes when switching from Windows to android bluetooth doesn't connect. Just reboot android and your bluetooth devices should connect.
I would have posted this on deveopers site where people visit more often but you need 10 posts and this is my first one so if you can you should link my post there so more people can enjoy these instructions.
Thank you for reading this and don't forget to like it :good:
Anyone know where to find the source code for this?

Q default.prop of kernel

Hi
I am using marmite_v8.5 kernel
and I want modify the config in default.prop. Because some apps are blocked due to the configuration.
Can I just modify the source code of the kernel and rebuild it?
or any other way to do it?
Thank you
only way i know is:
- download and install virtuous ten studio (free)
- assuming your kernel is shipped as a boot.img, go to file>new project
- import the boot.img file stored somewhere in your computer, it should recognize it automatically as boot-project
- give it any name in the bottom empty field
- hit the button to create the project
- in the bar on the left, you should see a ramdisk-extracted folder, navigate into it, there should be your default.prop
- edit it, save it by closing its editing tab, hit the Build All button in the top bar to save your new boot.img
- close to it, there's a Binary button, it's a menu, hit it and open the only entry in it, it will bring you straight into the directory containing your brand new modded boot.img
- ???
- PROFIT
EDIT: i know this thread is 3 months old, but who knows, and by the way hit the thanks button if it works

Unpacker Kitchen for Android(UKA)

version: 4.9.4
Last update of the program in the header: 04/06/2020
Developer: kory-vadim
For the program to function, root privileges are required.
Install: flash as Magisk module
Short description:
Unpacking, assembling and converting system (vendor) {. Img} {. New.dat} {. New.dat.br}, mounting raw.images, gluing the system.img broken into parts into a single image (from the firmware for Qfil), unpacking payload.bin, repackaging boot (recovery) .img, extracting file_contexts from boot.img (android <= 8.1), and converting file_contexts.bin on the phone.
Description:
To unpack images, you can use a phone with android 5+.
The system make_ext4fs is used from the phone’s firmware, so on a phone with android 6+ (or better 7), you can collect system.img images from android 5+.
We need root rights, busybox (needed before UKA version: 4.4 inclusive) and enough space for the images themselves and unpacking them in ./data.
Before flashing versions 4.6, 4.7, delete the old version and flash the corresponding archive via twrp.
In the kitchen there is a utility AIK - Android Image Kitchen for repacking boot (recovery) .img.
If, for some reason, you do not want to flash AIK-mobile (or, for example: already installed), then delete the file "AIK.Mobile.Installer.v3.4.zip" from the archive and flash "unpack-android_new_4.6. zip "without this file.
After flashing, install the terminal emulator (if it is not already installed), and check the box for UTF-8 in its settings.
To start the kitchen, in the terminal enter:
su
menu
Go to the item: "Extract file_contexts", and select the subitem: "Install configuration", if this is not done, then the conversion file_contexts.bin -> file_contexts will not work.
You need to run the configuration installation only once.
*In version 4.5 and above it should work without applying this item.
And then enter the numbers corresponding to the desired action.
To extract file_contexts, put boot.img in the folder: /data/local/UnpackerContexts.
To unpack .img images, you need to put system.img or vendor.img in the folder: /data/local/UnpackerSystem, and select the .img file (no more than 5) for unpacking.
When unpacking, the folders will be deleted: "system", or "vendor"; files: * _fs_config and * _pack.sh from the previous unpacking.
To build the image, copy the received file_contexts to the folder: /data/local/UnpackerSystem, if for some reason it will not be in the folder, then the assembly will be performed with file_contexts obtained when unpacking the image.
If files or folders were added to the disassembled image, then before assembling it, you must enter everything added into fs_config, and only then collect it.
If there are spaces in the names of folders or files in the unpacked image, then make_ex4fs will not collect such an image until you rename the files and correct the entries in fs_config.
Therefore, adding folders and files with spaces to the unpacked image is also not possible.
In version 4.6, the write assistant in fs_config is added.
If you just deleted something, then you do not need to edit fs_config.
Also in the collected folder must be present symlinks.
Well, in terms of context, Selinux will also need to be watched, depending on what was added.
To unpack or convert .dat, .br and in other cases, you will be prompted to enter the path to the folder where the image is located (in the same folder should be system (vendor) .transfer.list).
When converting and assembling in .dat, look behind the phone screen, because in some cases you need to enter a number corresponding to the version of the android, the image being collected.
There is a choice of compression ratio for converting * .new.dat to br.
To reduce the conversion time, compression can be selected 3-5 (maximum 7).
To unpack boot (recovery) .img, put the file in the folder: /data/local/AIK-mobile, and select the file in the menu: "unzip boot"
For packaging, use the item: "pack boot".
The collected file will be located in the folder: /data/local/AIK-mobile with the name boot-output.img.
To clean the working folder, also use the corresponding item. Source and output files will not be deleted.
AIK-mobile can be completely removed from the phone directly from the menu.
To mount, use the corresponding menu item, and the raw image must be located in the folder: /data/local/UnpackerSystem.
Do not forget to unmount the image.
To remove the kitchen from the phone, go to the corresponding menu item and confirm the removal,
after confirmation, the phone will be overloaded in twrp, and after working out the script, it will be loaded into the system.
Screenshots(Gdrive): https://drive.google.com/folderview?id=1-5dSaOQKpDH4gy737gcDp-Anp0vAj_VU
Download(Gdrive): https://drive.google.com/file/d/1-nOvictMuUNXbowwn3h1lbdrkJur2jJh/view?usp=drivesdk
MOD EDIT: Link removed
..
chelghouf said:
Hello ??
First thank you for the great work ?
After downloading version 4.9.2 I found it perfect for Android ROMs modification without the need for a computer .. But it needed translation, so work began on that then I decided to add a feature to save and rebuild the ROM currently installed on the device .. This feature is tested on one device " MediaTek treble enabled " .. and on two Android systems 9 And 10 and works perfectly this feature helped me a lot to repack and share the ROM after debugging it or adding new features .. Sorry I don't have other devices to confirm the effectiveness of this feature, but the script is designed to support most versions of Android and many devices when possible .. I'm glad if you accept to add and develop this feature in the next updates .. Thank you.
This is my modded version
https://www.mediafire.com/download/x9doxd3nnd0h2ja
This is the video showing how it works
https://www.mediafire.com/download/qchspnzniikg1gw
https://ibb.co/0QjG7S8
https://ibb.co/XxJ8FPp[/QUOTE
I am having issues in using your modded version.
Please kindly guide me on how to set it up.
Click to expand...
Click to collapse
..
chelghouf said:
What type of issues !
If you followed the video then, try to type menu in place of arkm, else be more specific please.
---------- Post added at 01:10 AM ---------- Previous post was at 12:49 AM ----------
This is a small update a feature removes kitchen binary files from the new build while extracting backup for sar and non sar devices.
I can't post links yet so replace @ with media fire home link
@/download/pq5obfcqhb18hpi
tested and confirmed working on 2 treble mtk devices running android 9 and 10 gsi ROMs and device stock ROM android 8.1
Previous link removed !
This is a small update
4.9.2.3
Added support for some kirin devices
@/download/o1ga3o1v4v13a0c
Click to expand...
Click to collapse
Thank you so much. It works flawlessly. Kudos Bro
chelghouf said:
What type of issues !
If you followed the video then, try to type menu in place of arkm, else be more specific please.
---------- Post added at 01:10 AM ---------- Previous post was at 12:49 AM ----------
This is a small update a feature removes kitchen binary files from the new build while extracting backup for sar and non sar devices.
I can't post links yet so replace @ with media fire home link
@/download/pq5obfcqhb18hpi
tested and confirmed working on 2 treble mtk devices running android 9 and 10 gsi ROMs and device stock ROM android 8.1
Previous link removed !
This is a small update
4.9.2.3
Added support for some kirin devices
@/download/o1ga3o1v4v13a0c
Click to expand...
Click to collapse
Link not working
..
chelghouf said:
@/download/9o1t3hlgh4duied
Replace @ with media fire home link
Click to expand...
Click to collapse
Dev all runs well except option 13 , kitchen not able backup vender . In my device (zuk z2 ) vender is as /factory.
Thanks
..
chelghouf said:
Thanks for feedback , It's fixed i'll give you a link when upload finish
---------- Post added at 09:38 AM ---------- Previous post was at 09:03 AM ----------
@/download/pmzfg8kvdk7to1n
This is a small fix for zuk z2 pro and plus and there is no problem to flash the final rom build.
But if you want your vendor file output name like this "factory.new.dat.br" then you have to wait.
Click to expand...
Click to collapse
All custom roms(z2+) shows "vendor.new.dat.br" in zip, only they unpack in /factory partition .
..
chelghouf said:
Good, i had no idea, i hope it has been fixed.
Click to expand...
Click to collapse
Thanks Dev it starts backing up & converting to zip.
..
chelghouf said:
Hello ??
First thank you for the great work ?
After downloading version 4.9.2 I found it perfect for Android ROMs modification without the need for a computer .. But it needed translation, so work began on that then I decided to add a feature to save and rebuild the ROM currently installed on the device .. This feature is tested on one device " MediaTek treble enabled " .. and on two Android systems 9 And 10 and works perfectly this feature helped me a lot to repack and share the ROM after debugging it or adding new features .. Sorry I don't have other devices to confirm the effectiveness of this feature, but the script is designed to support most versions of Android and many devices when possible .. I'm glad if you accept to add and develop this feature in the next updates .. Thank you.
This is my modded version
https://www.mediafire.com/download/x9doxd3nnd0h2ja
This is the video showing how it works
https://www.mediafire.com/download/qchspnzniikg1gw
https://ibb.co/0QjG7S8
https://ibb.co/XxJ8FPp
Click to expand...
Click to collapse
@chelghouf I keep installing it in magisk but it doesn't show up! Any hint?
..
chelghouf said:
Install from twrp
https://www.mediafire.com/download/q3lq7wz6rsdbfww
Click to expand...
Click to collapse
I installed from TWRP now and it's still the same.
..
chelghouf said:
Type menu and use it from the link I gave you to get all the new features.
Click to expand...
Click to collapse
It's still the original Russian one, should I uninstall the original one? [Thank you for your attention]
Yes, uninstalling the original one fixed it, let's try it out.
..

Categories

Resources