Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[tool] ANDROID_IMG_REPACK_TOOLS & Odin3 ROM Editor

OP A.S._id

12th December 2014, 07:47 AM   |  #111  
Senior Member
Thanks Meter: 131
 
710 posts
Join Date:Joined: Oct 2007
IN Android system core repository teh branches available are

origin/HEAD -> origin/cm-11.
origin/cm-10.1
origin/cm-10.2
origin/cm-11.0
origin/cm-12.0
origin/cm-9.0.0
origin/cm-9.1.0
origin/donut
origin/eclair
origin/froyo
origin/froyo-stable
origin/gb-release-7.2
origin/gingerbread
origin/gingerbread-release
origin/ics
origin/ics-release
origin/jellybean
origin/jellybean-stable
origin/mr1.1-staging
origin/qcril
origin/shipping/cm-11.0
origin/stable/cm-10.2
origin/stable/cm-11.0
origin/staging/cm-12.0
origin/staging/cm-12.0-caf

stable/cm-12.0 (as you declared in the shell batch) is not available.

About pcre repository the branches availble are

origin/HEAD -> origin/master
origin/ics-factoryrom-2-release
origin/ics-mr0
origin/ics-mr0-release
origin/ics-mr1
origin/ics-mr1-release
origin/ics-plus-aosp
origin/idea133
origin/idea133-weekly-release
origin/kitkat-wear
origin/l-preview
origin/lollipop-dev
origin/lollipop-release
origin/master
origin/tools_r20

I belive the latest version sholuld be "lollipop-release". Now is "
Last edited by bovirus; 12th December 2014 at 08:23 AM.
29th December 2014, 09:12 PM   |  #112  
Junior Member
Thanks Meter: 15
 
24 posts
Join Date:Joined: Jul 2011
ArchiKitchen
Hi,

After using Archi Kitchen on system.img.ext4 (i9515) how i can get back to system.img.ext4 so i can install it using odin?
30th December 2014, 10:08 AM   |  #113  
Senior Member
Thanks Meter: 131
 
710 posts
Join Date:Joined: Oct 2007
A.S._id
Please update the tools on 5.0.2_r1 version.
The pcre util was not update and it's on lollipop pre-release.
30th December 2014, 02:42 PM   |  #114  
A.S._id's Avatar
OP Recognized Developer
Thanks Meter: 2,175
 
1,081 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by bovirus

A.S._id
Please update the tools on 5.0.2_r1 version.
The pcre util was not update and it's on lollipop pre-release.

android-5.0.2_r1
The Following 2 Users Say Thank You to A.S._id For This Useful Post: [ View ]
31st December 2014, 12:53 AM   |  #115  
Senior Member
Thanks Meter: 131
 
710 posts
Join Date:Joined: Oct 2007
Thanks. Happy new year.
The Following 2 Users Say Thank You to bovirus For This Useful Post: [ View ]
4th January 2015, 08:59 PM   |  #116  
Senior Member
Thanks Meter: 131
 
710 posts
Join Date:Joined: Oct 2007
Proposal of changes about configure script
This my changes about your configure script

#!/bin/bash
#
# configure script for android_img_repack_tools.
#
BRANCH_CORE=android-5.0.2_r1
BRANCH_EXTRAS=android-5.0.2_r1
BRANCH_LIBSELINUX=android-5.0.2_r1
BRANCH_PCRE=android-l-preview_r2
BRANCH_ZLIB=android-5.0.2_r1
BRANCH_SYSTEM_CORE=android-5.0.2_r1
BRANCH_EXTERNAL=cm-12.0
FILE=extras/ext4_utils/make_ext4fs.c
FILE1=extras/ext4_utils/mkuserimg.sh

get_src() {
git clone $1
}
checkout() {
git checkout $1
}
edit_text() {
sed -i $1 $2
}

clear
echo "Removing old folders..."
echo
rm -r -f core
rm -r -f external
rm -r -f extras
rm -r -f libselinux
rm -r -f pcre
rm -r -f zlib

mkdir external

echo "****************** Download CORE (BRANCH="$BRANCH_CORE")"
get_src https://android.googlesource.com/platform/system/core
cd core
checkout $BRANCH_CORE
cd ..

echo
echo "****************** Download EXTRAS (BRANCH=" $BRANCH_EXTRAS ")"
get_src https://android.googlesource.com/platform/system/extras
cd extras
checkout $BRANCH_EXTRAS
cd ..

echo
echo "****************** Download LIBSELINUX (BRANCH="$BRANCH_LIBSELINUX")"
get_src https://android.googlesource.com/pla...nal/libselinux
cd libselinux
checkout $BRANCH_LIBSELINUX
cd ..

echo
echo "****************** Download PCRE (BRANCH="$BRANCH_PCRE")"
get_src https://android.googlesource.com/platform/external/pcre
cd pcre
checkout $BRANCH_PCRE
dist/configure && make
cd ..

echo
echo "****************** Download ZLIB (BRANCH="$BRANCH_ZLIB")"
get_src https://android.googlesource.com/platform/external/zlib
cd zlib
checkout $BRANCH_ZLIB
cd ../external

echo
echo "****************** Download SYSTEM CORE EXTERNAL (BRANCH="$BRANCH_EXTERNAL")"
get_src https://github.com/CyanogenMod/android_system_core.git
cd android_system_core
checkout $BRANCH_EXTERNAL
cd ..

echo
echo "****************** Download SGS4EXT4FS"
get_src https://github.com/Chainfire/sgs4ext4fs
cd ..

edit_text '/^/s:fs_config_func(dentries://fs_config_func(dentries:' $FILE
edit_text '/^/s:mode;:stat.st_mode;:' $FILE
edit_text '/^/s:uid;:stat.st_uid;:' $FILE
edit_text '/^/s:gid;:stat.st_gid;:' $FILE
edit_text '/^/s:root_stat.st_mode;:root_mode;:' $FILE
edit_text '/^/s:MAKE_EXT4FS_CMD="make_ext4fs:MAKE_EXT4FS_CMD="./make_ext4fs:' $FILE1
cp -fv $FILE1 .

echo
echo "for android.googlesource.com choosed branch $BRANCH..."
echo
echo "for Cyanogen Mod source choosed branch $BRANCH_EXT..."
echo

BRANCH_CORE=
BRANCH_EXTRAS=
BRANCH_LIBSELINUX=
BRANCH_PCRE=
BRANCH_ZLIB=
BRANCH_SYSTEM_CORE=
BRANCH_EXTERNAL=
FILE=
FILE1=

Created separated variable for each program section (included PCRE)
use standard git checkout (with $1) for any calls
Added echo to show progress of download section

For PCRE is android-l-preview_r2 the latest build? No official lollipop release?
For System core external tag is "cm-12.0" not "stable/cm-12.0".
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes