I have to take the file from the stock rom and put it in the bin?
No, you should use search in the thread.
I have to take the file from the stock rom and put it in the bin?
I would make a deodex rom with archi kitchen. :/don't think the kitchen is ready yet for lolipop deodexing
Maybe you can use this thread or this thread may help JustArchi to add to kitchen at his conveyance
@Tech N You lolipop deodex thread manually deodexing
Automatic Deodexing
Check OP post 3, - Question : Is cygwin supported?Hello,
Thank you for this kitchen, but!
I have just tested the version of the 1/10/2015 under cygwin,
All functions well but the boot.img is not good and the META-INF does not install the zip.
Does y have to you it a solution for the META-INF??
NB: On Rom 4.4.2 Note 2 2014
Thank you in advance
(Beginning of updater-script)
show_progress(0.1, 0);
format("MTD", "system");
mount("MTD", "system", "/system");
package_extract_file("check_data_app", "/tmp/check_data_app");
set_perm(0, 0, 0777, "/tmp/check_data_app");
run_program("/tmp/check_data_app");
mount("MTD", "userdata", "/data");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
set_perm(0, 0, 0755, "/system/xbin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
symlink("/system/xbin/busybox", "/system/bin/busybox");
symlink("debuggerd", "/system/bin/csview");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("libGLESv2.so", "/system/lib/libGLESv3.so");
symlink("logcat", "/system/bin/lolcat");
symlink("mksh", "/system/bin/sh");
where is the error ??
Hi @JustArchi i make many ROMs with your kitchen without any problems.
No i make the first steps with lollipop firmware. The ROM is working but i have trouble with the Root access.
After the first boot i must update the su binary manuell. . . . This works but how can i update the binary in the ROM so that the users not must make the binary update?
I have try to update the su to latest version 2.46 but this have the same effect.
Any idea?
Hi @JustArchi i make many ROMs with your kitchen without any problems.
No i make the first steps with lollipop firmware. The ROM is working but i have trouble with the Root access.
After the first boot i must update the su binary manuell. . . . This works but how can i update the binary in the ROM so that the users not must make the binary update?
I have try to update the su to latest version 2.46 but this have the same effect.
Any idea?
CYGWIN Unpacking TWRP Backup Files
rename:
data.ext4.win to data.ext4.win.tar
system.ext4.win000 system.ext4.win000.tar
system.ext4.win001 to system.ext4.win001.tar
Make a directory in your CYGWIN Home [Username]folder
Example: untar
Use Windows File Explorer go to your CYGWING Home
C:\cygwin\home\carl (your user name will be here)
make any folder you choose
Example:
C:\cygwin\home\carl\untar
and C:\cygwin\home\carl\untar\data ( for data files)
put your renamed data files in a folder named data
C:\cygwin\home\carl\untar\data (this is to keep files separate when unpacked)
While in Explorer put your renamed system files in untar folder
start CYGWIN ( Use the Cygwin Terminal and then you can copy and paste these commands)
cd to untar folder
example:
cd\untar
do these commands one at a time, it will extract to a folder named system
tar -xvf system.ext4.win000.tar
tar -xvf system.ext4.win001.tar
cd to data
do this command
tar -xvf data.ext4.win.tar
all your data files will extract
Copy your renamed system files to untar folder
cd to untar
Extracting files from CWM backup's carl1961 UrDroid
I made bat files to do the job easier
copy your backup files to your computer
copy these bat files to backup folder
edit the bat file if you have more files to combine
double click the bat file
use 7-zip to unpack the tar file
example:
From windows CMD promt ( typing by hand)
type without ""
"type system.ext4.tar.a system.ext4.tar.b system.ext4.tar.c >> system.ext4.tar"
type file1 file2 file3 file4 file5 >> your_final_file.tar
*******************************************
Galaxy note 3 clockworkmod recovery files (Urdroid)
type data.ext4.tar.a >> data.ext4.tar
type cache.ext4.tar.a >> cache.ext4.tar
type system.ext4.tar.a system.ext4.tar.b >> system.ext4.tar
Where I Learn this:
source: XDA @ yasir.97
http://xdaforums.com/showthread.php?t=2194171
@Darkman the way I do it is let my rom update, then I do a backup and then unpack my TWRP backup and then copy the updated files to the new rom
/system/app/Superuser.apk
/system/bin/.ext,
/system/etc/init.d/99SuperSUDaemon ,
/system/etc/.has_su_daemon, .installed_su_daemon,install-recovery.sh ,
/system/xbin/daemonsu,su,sugote,sugote-mksh,supolicy
@carl1961 Thank you for your help!! I give it a try.. but why you are going this way over unpack the TWRP Backup? Should it not works if i just copy this files from the Device after Binary Update?
Check OP post 3, - Question : Is cygwin supported?
Zephyr v4, G900H
Look here http://su.chainfire.eu/ Section 6 covers custom roms and a link to his reposatory for the latest binarys.
If you look in his SU installer zip you will find it's more than the average update zip and runs checks to see which binary to install and where to install it
[B]# last thing the script should do[/B] [B][COLOR="Blue"]## I placed this after Kernel flashing[/COLOR][/B]
ui_print("Installing SuperSU ...");
package_extract_dir("supersu", "/tmp/supersu");
run_program("/sbin/busybox", "unzip", "/tmp/supersu/supersu.zip", "META-INF/com/google/android/*", "-d", "/tmp/supersu");
run_program("/sbin/busybox", "sh", "/tmp/supersu/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/supersu/supersu.zip");
ui_print("SuperSU installed");
Hi,
I have already working SuperSU integration on my LP AD, but I'm not sure if it still works on SELinux enforcing, we use permissive.
Look here http://su.chainfire.eu/ Section 6 covers custom roms and a link to his reposatory for the latest binarys.
If you look in his SU installer zip you will find it's more than the average update zip and runs checks to see which binary to install and where to install it
apt-get install lib32stdc++6 lib32z1