Related
So I want to incorporate data2ext into my rom instead of apps2sd. I need devs/helpers with 1 or both of my problems:
1. removing apps2sd
2. integrating/getting data2ext to work on my rom
Any help that gets me closer to acheiving either one of those goals will get you credit in helping with the creation of my rom in not only the first post but i'll announce that you/you all helped me get data2ext/apps2sd removed in the thread as well.
again all help appreciated and welcome thanks everyone
I uploaded some zips of a collection of files I found involving data2ext. I don't know what to do with them as far as adding them to my rom to enable data2ext by default. Again any help appreciated
Look in /system/etc/init.d for any scripts that may be do do with apps2ext and remove them
As for data2ext, there are 2 ways. You could simply copy the script I wrote to /system/etc/init.d/ and make sure the file /data/local/dodata2ext exists on first boot (put it in your update.zip). This would give the option to disable it if they so desire.
The other option would be to copy the bit after "[ -f $FLAG ] || exit 0" into your own script in /system/etc/init.d and ensure that's executable. This would make it run on every boot, whether the user likes it or not. If you go down this route you'll need to check for syntax errors and the like.
Hope this helps, I'll keep an eye on this thread for a bit so just shout if you need more help
TheGrammarFreak said:
Look in /system/etc/init.d for any scripts that may be do do with apps2ext and remove them
As for data2ext, there are 2 ways. You could simply copy the script I wrote to /system/etc/init.d/ and make sure the file /data/local/dodata2ext exists on first boot (put it in your update.zip). This would give the option to disable it if they so desire.
The other option would be to copy the bit after "[ -f $FLAG ] || exit 0" into your own script in /system/etc/init.d and ensure that's executable. This would make it run on every boot, whether the user likes it or not. If you go down this route you'll need to check for syntax errors and the like.
Hope this helps, I'll keep an eye on this thread for a bit so just shout if you need more help
Click to expand...
Click to collapse
Do I also remove apps2sd files? Also which of those data2ext files.do I need for data2ext to work?
Sent from my DROIDX using XDA Premium App
kifno said:
Do I also remove apps2sd files? Also which of those data2ext files.do I need for data2ext to work?
Sent from my DROIDX using XDA Premium App
Click to expand...
Click to collapse
Well, all the scripts do the same thing, pretty much. So whichever you like I suppose. And ye, you probably want to remove all the files to do with a2sd
TheGrammarFreak said:
Well, all the scripts do the same thing, pretty much. So whichever you like I suppose. And ye, you probably want to remove all the files to do with a2sd
Click to expand...
Click to collapse
I removed all the files that are involved with app2sd and I couldn't get past splash screen
Sent from my DROIDX using XDA Premium App
Also which of those data2ext files do I need? Tune2fs, etc?
Sent from my DROIDX using XDA Premium App
so i added mke2fs to the /system/bin and the i added it to the tools by syslinking it and then i removed apps2sd from the rom and added your 40data2ext (from the v7)
rezipped the rom resigned flashed booted etc etc
then i did the following
kifno said:
couldn't start data2ext
Code:
/ # mke2fs -m0 -b4096 /dev/block/mmcblk0p2
mke2fs -m0 -b4096 /dev/block/mmcblk0p2
mke2fs 1.41.6 (30-May-2009)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
124928 inodes, 124905 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=130023424
4 block groups
32768 blocks per group, 32768 fragments per group
31232 inodes per group
Superblock backups stored on blocks:
32768, 98304
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
/ # data2ext --enable
data2ext --enable
/sbin/sh: data2ext: not found
/ # data2ext --enable
data2ext --enable
/sbin/sh: data2ext: not found
/ #
C:\Users\Queen35>adb shell
sh-3.2# data2ext --enable
data2ext --enable
/system/xbin/data2ext: line 6: basename: command not found
sh-3.2#
couldn't start data2extv7 i was so close to doing it too!!! lol
i added the files to the zip, removed apps2sd, then i did the following above
so close can you help out?
Click to expand...
Click to collapse
any idea grammarfreaK? btw thanks for all the help you're giving me
ik it should work on the hero b/c even though this is a sense 2.1 rom it worked on gingerbread for the hero...so i know there had to be a way to get data2ext to work on the sense
I'm sure it will work. It's late for me though, I'll help in the morning
twitter.com/TheGrammarFreak
TheGrammarFreak said:
I'm sure it will work. It's late for me though, I'll help in the morning
twitter.com/TheGrammarFreak
Click to expand...
Click to collapse
looking forward to the morning then
as of now nfx provided me with a a2sd free version base for my rom so now i don't have to worry about a2sd problems just intergrating this script by default into my rom and making sure it works
Ho ho ho.
First things first: I'm sorry for being unhelpful, or not being quick with help.
Moving on!
You need to put my script in your update.zip in the directory /system/etc/init.d and you need to set your updater script to symlink from /system/bin to the script. I can't remember how that works, but looking into the updater script in my flashable zip will shed light on the situation.
The next step is thus: put a script in your update.zip (probably under tmp) which executes this command "touch /data/local/dodata2ext". You'll need to make the updater script mount /data. Also in your update script you'll need the "run_program()" command. In the parenthesis you need the path to the script (I think). That will set the script up to run on first boot.
twitter.com/TheGrammarFreak
Not at my desktop now but once I am if I have questions later then I'll post here.
Sent from my DROIDX using XDA Premium App
TheGrammarFreak said:
Ho ho ho.
First things first: I'm sorry for being unhelpful, or not being quick with help.
Moving on!
You need to put my script in your update.zip in the directory /system/etc/init.d and you need to set your updater script to symlink from /system/bin to the script. I can't remember how that works, but looking into the updater script in my flashable zip will shed light on the situation.
The next step is thus: put a script in your update.zip (probably under tmp) which executes this command "touch /data/local/dodata2ext". You'll need to make the updater script mount /data. Also in your update script you'll need the "run_program()" command. In the parenthesis you need the path to the script (I think). That will set the script up to run on first boot.
twitter.com/TheGrammarFreak
Click to expand...
Click to collapse
no problem with the speed of your help bro just glad you're helping me out
now on to the problems/questions.... would this be the correct way to edit the update script?
for the bold red part would i make a blank file then add touch /data/local/dodata2ext then save it as dodata2ext (without an file extention)? then where would i put that file after wards? also you said i need to make it mount data where in the updater-script would i make it do that? i didn't add it to the install data2ext section of the updater-script b/c the above commands already mount it and never unmounted it.....also if you see the bold red size 3 sections of the updater-script code, below did i make the correct changes to the updater-script? those are my questions as of now hopefully i got something right and again thanks for the help
Code:
#
ui_print("Istalling [Espresso 2.1]");
ui_print("Cattui Varietal v2 (3-13-11)");
#
show_progress(0.1, 0);
ui_print("Deleting dalvik and boot cache");
delete_recursive("/data/dalvik-cache/");
delete_recursive("/data/boot-cache/");
ui_print("Wiping /system");
format("MTD", "system");
delete("/system/xbin/busybox");
delete_recursive("/system/xbin");
mount("MTD", "system", "/system");
ui_print("Copying /system");
package_extract_dir("system", "/system");
ui_print("Setting symlink's");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mke2fs");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
[B][COLOR="Red"][SIZE="3"]symlink ("/system/etc/init.d/40data2ext", "/system/xbin/data2ext");[/SIZE][/COLOR][/B]
ui_print("Setting permissions and tweaks");
set_perm_recursive(0, 0, 0755, 0644, "/system/");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluez");
set_perm(0, 0, 0755, "/system/etc/bluez");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 04755, "/system/bin/bash");
symlink("/system/bin/bash", "/system/bin/sh");
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm(0, 0, 0777, "/system/etc/init.d/00banner");
set_perm(0, 0, 0777, "/system/etc/init.d/01sysctl");
set_perm(0, 0, 0777, "/system/etc/init.d/02firstboot");
set_perm(0, 0, 0777, "/system/etc/init.d/05dalvik2cache");
set_perm(0, 0, 0777, "/system/etc/init.d/06memtweak");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d/06tweaks");
set_perm(0, 0, 0777, "/system/etc/init.d/40data2ext");
set_perm(0, 0, 0777, "/system/etc/init.d/99complete");
set_perm(0, 0, 0777, "/system/bin/sysinit");
set_perm(0, 0, 06755, "/system/bin/su");
set_perm(0, 0, 04755, "/system/xbin/busybox");
symlink("/system/bin/su", "/system/xbin/su");
symlink("/system/etc/init.d/40data2ext", "/system/xbin/data2ext");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
show_progress(0.1, 10);
show_progress(0.2, 0);
ui_print("Installing Busybox");
run_program("installbusybox");
run_program("check_data_app");
ui_print("Copying /data");
mount("MTD", "userdata", "/data");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
[B][COLOR="red"][SIZE="3"]ui_print("Installing data2ext2");
run_program("/system/etc/init.d/40data2ext");[/SIZE][/COLOR][/B]
ui_print("Writing boot.img");
package_extract_file("boot.img","/tmp/boot.img");
write_raw_image("/tmp/boot.img", "boot");
delete("/tmp/boot.img");
show_progress(0.2, 10);
ui_print("Your Espresso is Ready!");
unmount("/system");
unmount("/data");
2 questions
Hi All:
I apologize in advance if I missed something. I've read all of the posts to your other thread on this, but still don't understand the following two things:
1) Now that I have data2ext up and running on my heroc (downloaded the EXT4 version from your other thread today), will wiping my dalvik cache really erase my apps? Or was that a problem only in your initial release?
2) Does it make a difference whether I install apps on my SD card or internally now?
Thanks for all your hard work!
Jim
Oh also BTW I'm trying to make data2ext enabled permanently by default Rom install (no toogling on or off....just always data2ext enabled).....that way you'll know what my goal is
Sent from my DROIDX using XDA Premium App
Oh! Permanently on? That makes life easier then.
Code:
#!/system/bin/sh
PATH=/system/xbin:/system/bin
PROP=cm.data2ext.active
echo "Initiating Data2EXT..."
PARTNO=2
EXTPART=mmcblk0p${PARTNO}
EXTDEV=/dev/block/${EXTPART}
DATADIR=/mnt/asec/data
COUNT=0
DOT=.
if mountpoint sd-ext; then
umount /sd-ext
fi
echo "Waiting for SD card to settle..."
while [ ! -h /sys/block/mmcblk0 ]; do
echo $DOT
DOT=${DOT}.
sleep 1
COUNT=$((COUNT+1))
if [ "$COUNT" -ge 10 ]; then
echo "No SD card present or SD card too slow, aborting..."
exit 1
fi
done
if [ -d "/sys/block/mmcblk0/${EXTPART}" ]; then
if [ ! -b "$EXTDEV" ]; then
echo "Device file does not exist, creating it..."
mknod $EXTDEV b 179 $PARTNO
chmod 600 $EXTDEV
fi
echo "Executing file system check..."
if e2fsck -pf $EXTDEV || e2fsck -pf $EXTDEV; then
echo "Mounting ${EXTDEV} to /data..."
else
echo "Partition check failed, manual intervention required, aborting..."
exit 1
fi
[ -d "$DATADIR" ] || mkdir $DATADIR
mount --move /data $DATADIR
if mount -t ext2 -o nosuid,nodev,noatime,nodiratime $EXTDEV /data; then
echo "EXT partition mounted..."
echo 128 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
else
echo "Mount failed, reverting to normal mode..."
mount --move $DATADIR /data
exit 1
fi
if [ ! -f /data/.data2ext ]; then
echo "First time initiation, copying files to EXT partition..."
chown 1000.1000 /data
chmod 775 /data
cd $DATADIR
cp -a `ls -A|egrep -v '^misc$|^system$|^property$|^local$|^lost\+found$|^data$'` /data/
for DIR in misc system property local data; do
ln -s ${DATADIR}/${DIR} /data/${DIR}
done
touch /data/.data2ext
fi
echo "Data2EXT enabled..."
setprop $PROP 1
else
echo "No partition for Data2EXT available, aborting..."
fi
sync
Stick that in a file named "40data2ext" and put that in /system/etc/init.d
Sorted.
Sorry it's taken so long to figure this out, I kinda assumed you'd want to default to having it on but give the choice of turning it off.
One more thing: are you wanting this to kick ass in benchamarks? If so, use this version:
Code:
#!/system/bin/sh
PATH=/system/xbin:/system/bin
PROP=cm.data2ext.active
echo "Initiating Data2EXT..."
PARTNO=2
EXTPART=mmcblk0p${PARTNO}
EXTDEV=/dev/block/${EXTPART}
DATADIR=/mnt/asec/data
COUNT=0
DOT=.
if mountpoint sd-ext; then
umount /sd-ext
fi
echo "Waiting for SD card to settle..."
while [ ! -h /sys/block/mmcblk0 ]; do
echo $DOT
DOT=${DOT}.
sleep 1
COUNT=$((COUNT+1))
if [ "$COUNT" -ge 10 ]; then
echo "No SD card present or SD card too slow, aborting..."
exit 1
fi
done
if [ -d "/sys/block/mmcblk0/${EXTPART}" ]; then
if [ ! -b "$EXTDEV" ]; then
echo "Device file does not exist, creating it..."
mknod $EXTDEV b 179 $PARTNO
chmod 600 $EXTDEV
fi
echo "Executing file system check..."
if e2fsck -pf $EXTDEV || e2fsck -pf $EXTDEV; then
echo "Mounting ${EXTDEV} to /data..."
else
echo "Partition check failed, manual intervention required, aborting..."
exit 1
fi
[ -d "$DATADIR" ] || mkdir $DATADIR
mount --move /data $DATADIR
if mount -t ext2 -o nosuid,nodev,noatime,nodiratime $EXTDEV /data; then
echo "EXT partition mounted..."
echo 128 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
else
echo "Mount failed, reverting to normal mode..."
mount --move $DATADIR /data
exit 1
fi
if [ ! -f /data/.data2ext ]; then
echo "First time initiation, copying files to EXT partition..."
chown 1000.1000 /data
chmod 775 /data
cd $DATADIR
cp -a `ls -A|egrep -v '^misc$|^system$|^property$|^local$|^lost\+found$'` /data/
for DIR in misc system property local; do
ln -s ${DATADIR}/${DIR} /data/${DIR}
done
touch /data/.data2ext
fi
echo "Data2EXT enabled..."
setprop $PROP 1
else
echo "No partition for Data2EXT available, aborting..."
fi
sync
[email protected] said:
Hi All:
I apologize in advance if I missed something. I've read all of the posts to your other thread on this, but still don't understand the following two things:
1) Now that I have data2ext up and running on my heroc (downloaded the EXT4 version from your other thread today), will wiping my dalvik cache really erase my apps? Or was that a problem only in your initial release?
2) Does it make a difference whether I install apps on my SD card or internally now?
Thanks for all your hard work!
Jim
Click to expand...
Click to collapse
I hate double posting, but I'm gonna do it anyway
1) a bug only present in my initial release. Wiping dalvik-cache from recovery won't delete your apps, but I'm not sure that it'll properly wipe it with data2ext enabled (dalvik cache has moved, I'm not sure it CWM checks the ext partition or not)
2) No
----------------
@kifno: I'm kicking around in Google talk atm, if you want "real time" help. Same username
TheGrammarFreak said:
@kifno: I'm kicking around in Google talk atm, if you want "real time" help. Same username
Click to expand...
Click to collapse
Pm me your Google talk name....so we can discuss this faster and hopefully finish this tonight....
I still have more questions
Sent from my DROIDX using XDA Premium App
TheGrammarFreak said:
I hate double posting, but I'm gonna do it anyway
1) a bug only present in my initial release. Wiping dalvik-cache from recovery won't delete your apps, but I'm not sure that it'll properly wipe it with data2ext enabled (dalvik cache has moved, I'm not sure it CWM checks the ext partition or not)
2) No
Click to expand...
Click to collapse
Thanks, I really appreciate it.
Yrs,
Jim
OK I was able to get a rooted rom on my LT30a for rogers and all is working.
I first had to fix why mt phone was booting to a triangle with the wrench and screwdriver. well the fix was to leave it for a while. after about 40 minutes it just started on it's own. Seems i just needed some patience.
original post was about wifi and baseband. seems their is something wrong with my rom, as starting all over worked.
here's what i did.
1. flashed o2 rom generic.
2. rooted and installed cwm.
3. installed XperimenT v1.5 with cwm
4. rebooted from cwm and flashed kernel.
5. waited for phone to boot past the triangle with the wrench and screwdriver.
6. booted fine, installed titanium and restored all my apps from a backup. backup came from my xperia s.
7. all is working great.
Thanks to everyone for the help. :good:
-------------------------------------------------------------------------------------------------------------------------------------
This question is for any dev that might have an idea as too why my rom would kill the baseband. what could be missing form my system.img.
in the kitchen when you are making a new working folder you're asked about a boot file and i let it create a fake one. could that have something to do with it?
-------------------------------------------------------------------------------------------------------------------------------------
Hi All,
I have been trying to make a rom using rogers LT30a ftf file. (made my own ftf)
The rom i made works and installs ok, let me explain where i'm having an issue and what I've tried.
Issue, no wifi, no bluetooth, no network. radio band issue. (baseband)
1. Install 303 uk firmware, un select baseband.
2. install root v17
3. install cwm latest.
4. flash my rom. once my rom is flashed i loose wifi and bluetooth. they wont turn on.
5. flashed stock kernel (made one from LT30a ftf) un-selected wipe data. i didn't do that once and lost root LOL.
Things I've tried;
1. I have tried using the wlan.ko from gregbradley and put it in system\lib\modules\prima and changed name to prima_wlan.ko :crying:
2. put wlan.ko from gregbradley in system\lib\modules and left system\lib\modules\prima\prima_wlan.ko :crying:
3. used the stock prima_wlan.ko and put it in system\lib\modules and renamed to wlan.ko :crying:
4. used gregbradley wlan.ko for both system\lib\modules & system\lib\modules\prima renamed as need for each folder :crying:
5. used the wlan.ko from a working rom and copied to my rom :crying:
6. as per TiMiN8R's help :good: made sure wlan.ko had the right permission it does (rw-r--r-- (0644) :crying:
I have flashed my rom about 30 times in the last 2 days. i have restored to factory using pc companion 6 times. I'm saying this becasue i now can not even see my 5ghz network anymore even with a restore using pc companion. when the phone was new it did see my network. plus other devices see the 5ghz network. My router is a Linksys E4200 running DD-WRT v24-sp2 (03/19/12) mega.
If anyone could help i would be very gratefull, as for everyone i have PM'd for help thanks.
If more info is needed just ask.
Thanks
P.S
if there are any other LT30a user's here running any of the roms and they are working can you please share what rom you're using?
Update
I've been reading about basebands, lib's and rils. it seems alot of other devices have similar issue's. Which is good as it means a fix might come. i found a zip for the libs to flash after you update the baseband but it's for an older sony phone so some of the libs inside are different. Just hoping a more experienced dev see's this and can help?
I also read about Spectre51 and how to get root with xperia TL and keep LTE. this is where i read to uncheck basebands while using flashtool. I'll have to ask him if it did work and what else he might have tried.
Next steps I tried
I just tried these steps.
update log
1. flashed o2 ftf unchecked baseband.
2. before flash baseband was 8960A-AAAAANAZQ-1001501919 after flash checked baseband and it's different base band 8960A-AAAAANAZQ-10015008-11 so even when unchecked it does change.
3. ROOTED AND INSTALLED CWM.
4. Changed name of my rom to 7.0.A.3.195 and flashed with cwm (read some where to change build name so baseband can update).
5.flashed my rom and flashed cwm, then on reboot held power and volume up till phone screen goes black. did not hold long enough for phone to vibrate.
6. opened flashtool and selected rogers ftf and unselected all 3 options to wipe, selected exclude system. rebooted.
7. ok phone rebooted twice, apps updated and back to baseband unknown.
8. tried to flash baseband again and still baseband unknown.
9. inserted sim card, no help. (i did all this work with no sim card).
10. last thought maybe it's an issue with my updater-script? but i doubt it as other roms do the do the same.
here's a copy of my updater-script.
HTML:
show_progress(0.500000, 40);
ui_print(" | *************************************** |");
ui_print(" | *=====================================* |");
ui_print(" | * HackitZ-LT30a * |");
ui_print(" | * ====== Base_7.0.A.3.195 ====== * |");
ui_print(" | * ============ * |");
ui_print(" | * __ __ ___ __ * |");
ui_print(" | * |__||__|| |_/ | | / * |");
ui_print(" | * | || ||__ | \ | | /__ * |");
ui_print(" | *=====================================* |");
ui_print(" | *************************************** |");
ui_print("-- Format system");
format("ext4", "EMMC", "/dev/block/mmcblk0p12", "0");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/data");
run_program("/sbin/busybox", "mount", "/cache");
ui_print("-- Delete files");
delete_recursive("/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/resource-cache");
delete_recursive("/sdcard/.android_secure");
delete_recursive("/sdcard/.data");
delete_recursive("/sdcard/LOST.DIR");
ui_print("-- Installing system");
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
ui_print("-- Setting symlinks");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[");
symlink("busybox", "/system/xbin/[[");
symlink("busybox", "/system/xbin/adjtimex");
symlink("busybox", "/system/xbin/arp");
symlink("busybox", "/system/xbin/ash");
symlink("busybox", "/system/xbin/awk");
symlink("busybox", "/system/xbin/base64");
symlink("busybox", "/system/xbin/basename");
symlink("busybox", "/system/xbin/bbconfig");
symlink("busybox", "/system/xbin/blkid");
symlink("busybox", "/system/xbin/blockdev");
symlink("busybox", "/system/xbin/brctl");
symlink("busybox", "/system/xbin/bunzip2");
symlink("busybox", "/system/xbin/bzcat");
symlink("busybox", "/system/xbin/bzip2");
symlink("busybox", "/system/xbin/cal");
symlink("busybox", "/system/xbin/cat");
symlink("busybox", "/system/xbin/catv");
symlink("busybox", "/system/xbin/chattr");
symlink("busybox", "/system/xbin/chgrp");
symlink("busybox", "/system/xbin/chmod");
symlink("busybox", "/system/xbin/chown");
symlink("busybox", "/system/xbin/chroot");
symlink("busybox", "/system/xbin/clear");
symlink("busybox", "/system/xbin/cmp");
symlink("busybox", "/system/xbin/comm");
symlink("busybox", "/system/xbin/cp");
symlink("busybox", "/system/xbin/cpio");
symlink("busybox", "/system/xbin/crond");
symlink("busybox", "/system/xbin/crontab");
symlink("busybox", "/system/xbin/cut");
symlink("busybox", "/system/xbin/date");
symlink("busybox", "/system/xbin/dc");
symlink("busybox", "/system/xbin/dd");
symlink("busybox", "/system/xbin/depmod");
symlink("busybox", "/system/xbin/devmem");
symlink("busybox", "/system/xbin/df");
symlink("busybox", "/system/xbin/diff");
symlink("busybox", "/system/xbin/dirname");
symlink("busybox", "/system/xbin/dmesg");
symlink("busybox", "/system/xbin/dnsd");
symlink("busybox", "/system/xbin/dos2unix");
symlink("busybox", "/system/xbin/du");
symlink("busybox", "/system/xbin/echo");
symlink("busybox", "/system/xbin/ed");
symlink("busybox", "/system/xbin/egrep");
symlink("busybox", "/system/xbin/env");
symlink("busybox", "/system/xbin/expand");
symlink("busybox", "/system/xbin/expr");
symlink("busybox", "/system/xbin/false");
symlink("busybox", "/system/xbin/fdisk");
symlink("busybox", "/system/xbin/fgrep");
symlink("busybox", "/system/xbin/find");
symlink("busybox", "/system/xbin/flash_lock");
symlink("busybox", "/system/xbin/flash_unlock");
symlink("busybox", "/system/xbin/flashcp");
symlink("busybox", "/system/xbin/flock");
symlink("busybox", "/system/xbin/fold");
symlink("busybox", "/system/xbin/free");
symlink("busybox", "/system/xbin/freeramdisk");
symlink("busybox", "/system/xbin/fsync");
symlink("busybox", "/system/xbin/ftpget");
symlink("busybox", "/system/xbin/ftpput");
symlink("busybox", "/system/xbin/fuser");
symlink("busybox", "/system/xbin/getopt");
symlink("busybox", "/system/xbin/grep");
symlink("busybox", "/system/xbin/groups");
symlink("busybox", "/system/xbin/gunzip");
symlink("busybox", "/system/xbin/gzip");
symlink("busybox", "/system/xbin/halt");
symlink("busybox", "/system/xbin/head");
symlink("busybox", "/system/xbin/hexdump");
symlink("busybox", "/system/xbin/id");
symlink("busybox", "/system/xbin/ifconfig");
symlink("busybox", "/system/xbin/inetd");
symlink("busybox", "/system/xbin/insmod");
symlink("busybox", "/system/xbin/install");
symlink("busybox", "/system/xbin/iostat");
symlink("busybox", "/system/xbin/ip");
symlink("busybox", "/system/xbin/kill");
symlink("busybox", "/system/xbin/killall");
symlink("busybox", "/system/xbin/killall5");
symlink("busybox", "/system/xbin/length");
symlink("busybox", "/system/xbin/less");
symlink("busybox", "/system/xbin/ln");
symlink("busybox", "/system/xbin/losetup");
symlink("busybox", "/system/xbin/ls");
symlink("busybox", "/system/xbin/lsattr");
symlink("busybox", "/system/xbin/lsmod");
symlink("busybox", "/system/xbin/lsusb");
symlink("busybox", "/system/xbin/lzcat");
symlink("busybox", "/system/xbin/lzma");
symlink("busybox", "/system/xbin/lzop");
symlink("busybox", "/system/xbin/lzopcat");
symlink("busybox", "/system/xbin/man");
symlink("busybox", "/system/xbin/md5sum");
symlink("busybox", "/system/xbin/mesg");
symlink("busybox", "/system/xbin/mkdir");
symlink("busybox", "/system/xbin/mke2fs");
symlink("busybox", "/system/xbin/mkfifo");
symlink("busybox", "/system/xbin/mkfs.ext2");
symlink("busybox", "/system/xbin/mkfs.vfat");
symlink("busybox", "/system/xbin/mknod");
symlink("busybox", "/system/xbin/mkswap");
symlink("busybox", "/system/xbin/mktemp");
symlink("busybox", "/system/xbin/modinfo");
symlink("busybox", "/system/xbin/modprobe");
symlink("busybox", "/system/xbin/more");
symlink("busybox", "/system/xbin/mount");
symlink("busybox", "/system/xbin/mountpoint");
symlink("busybox", "/system/xbin/mpstat");
symlink("busybox", "/system/xbin/mv");
symlink("busybox", "/system/xbin/nanddump");
symlink("busybox", "/system/xbin/nandwrite");
symlink("busybox", "/system/xbin/netstat");
symlink("busybox", "/system/xbin/nice");
symlink("busybox", "/system/xbin/nohup");
symlink("busybox", "/system/xbin/nslookup");
symlink("busybox", "/system/xbin/ntpd");
symlink("busybox", "/system/xbin/od");
symlink("busybox", "/system/xbin/patch");
symlink("busybox", "/system/xbin/pgrep");
symlink("busybox", "/system/xbin/pidof");
symlink("busybox", "/system/xbin/ping");
symlink("busybox", "/system/xbin/pkill");
symlink("busybox", "/system/xbin/pmap");
symlink("busybox", "/system/xbin/poweroff");
symlink("busybox", "/system/xbin/printenv");
symlink("busybox", "/system/xbin/printf");
symlink("busybox", "/system/xbin/ps");
symlink("busybox", "/system/xbin/pstree");
symlink("busybox", "/system/xbin/pwd");
symlink("busybox", "/system/xbin/pwdx");
symlink("busybox", "/system/xbin/rdev");
symlink("busybox", "/system/xbin/readlink");
symlink("busybox", "/system/xbin/realpath");
symlink("busybox", "/system/xbin/renice");
symlink("busybox", "/system/xbin/reset");
symlink("busybox", "/system/xbin/resize");
symlink("busybox", "/system/xbin/rev");
symlink("busybox", "/system/xbin/rm");
symlink("busybox", "/system/xbin/rmdir");
symlink("busybox", "/system/xbin/rmmod");
symlink("busybox", "/system/xbin/route");
symlink("busybox", "/system/xbin/run-parts");
symlink("busybox", "/system/xbin/rx");
symlink("busybox", "/system/xbin/sed");
symlink("busybox", "/system/xbin/seq");
symlink("busybox", "/system/xbin/setconsole");
symlink("busybox", "/system/xbin/setserial");
symlink("busybox", "/system/xbin/setsid");
symlink("busybox", "/system/xbin/sh");
symlink("busybox", "/system/xbin/sha1sum");
symlink("busybox", "/system/xbin/sha256sum");
symlink("busybox", "/system/xbin/sha512sum");
symlink("busybox", "/system/xbin/sleep");
symlink("busybox", "/system/xbin/sort");
symlink("busybox", "/system/xbin/split");
symlink("busybox", "/system/xbin/stat");
symlink("busybox", "/system/xbin/strings");
symlink("busybox", "/system/xbin/stty");
symlink("busybox", "/system/xbin/sum");
symlink("busybox", "/system/xbin/swapoff");
symlink("busybox", "/system/xbin/swapon");
symlink("busybox", "/system/xbin/sync");
symlink("busybox", "/system/xbin/sysctl");
symlink("busybox", "/system/xbin/tac");
symlink("busybox", "/system/xbin/tail");
symlink("busybox", "/system/xbin/tar");
symlink("busybox", "/system/xbin/taskset");
symlink("busybox", "/system/xbin/tee");
symlink("busybox", "/system/xbin/telnet");
symlink("busybox", "/system/xbin/telnetd");
symlink("busybox", "/system/xbin/test");
symlink("busybox", "/system/xbin/tftp");
symlink("busybox", "/system/xbin/tftpd");
symlink("busybox", "/system/xbin/time");
symlink("busybox", "/system/xbin/timeout");
symlink("busybox", "/system/xbin/top");
symlink("busybox", "/system/xbin/touch");
symlink("busybox", "/system/xbin/tr");
symlink("busybox", "/system/xbin/traceroute");
symlink("busybox", "/system/xbin/true");
symlink("busybox", "/system/xbin/ttysize");
symlink("busybox", "/system/xbin/tune2fs");
symlink("busybox", "/system/xbin/umount");
symlink("busybox", "/system/xbin/uname");
symlink("busybox", "/system/xbin/uncompress");
symlink("busybox", "/system/xbin/unexpand");
symlink("busybox", "/system/xbin/uniq");
symlink("busybox", "/system/xbin/unix2dos");
symlink("busybox", "/system/xbin/unlzma");
symlink("busybox", "/system/xbin/unlzop");
symlink("busybox", "/system/xbin/unxz");
symlink("busybox", "/system/xbin/unzip");
symlink("busybox", "/system/xbin/uptime");
symlink("busybox", "/system/xbin/usleep");
symlink("busybox", "/system/xbin/uudecode");
symlink("busybox", "/system/xbin/uuencode");
symlink("busybox", "/system/xbin/vi");
symlink("busybox", "/system/xbin/watch");
symlink("busybox", "/system/xbin/wc");
symlink("busybox", "/system/xbin/wget");
symlink("busybox", "/system/xbin/which");
symlink("busybox", "/system/xbin/whoami");
symlink("busybox", "/system/xbin/xargs");
symlink("busybox", "/system/xbin/xz");
symlink("busybox", "/system/xbin/xzcat");
symlink("busybox", "/system/xbin/yes");
symlink("busybox", "/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat");
symlink("busybox", "/system/bin/chmod");
symlink("busybox", "/system/bin/chown");
symlink("busybox", "/system/bin/cmp");
symlink("busybox", "/system/bin/date");
symlink("busybox", "/system/bin/dd");
symlink("busybox", "/system/bin/df");
symlink("busybox", "/system/bin/dmesg");
symlink("busybox", "/system/bin/getevent");
symlink("busybox", "/system/bin/getprop");
symlink("busybox", "/system/bin/hd");
symlink("busybox", "/system/bin/id");
symlink("busybox", "/system/bin/ifconfig");
symlink("busybox", "/system/bin/iftop");
symlink("busybox", "/system/bin/insmod");
symlink("busybox", "/system/bin/ioctl");
symlink("busybox", "/system/bin/ionice");
symlink("busybox", "/system/bin/kill");
symlink("busybox", "/system/bin/ln");
symlink("busybox", "/system/bin/log");
symlink("busybox", "/system/bin/ls");
symlink("busybox", "/system/bin/lsmod");
symlink("busybox", "/system/bin/lsof");
symlink("busybox", "/system/bin/md5");
symlink("busybox", "/system/bin/mkdir");
symlink("busybox", "/system/bin/mount");
symlink("busybox", "/system/bin/mv");
symlink("busybox", "/system/bin/nandread");
symlink("busybox", "/system/bin/netstat");
symlink("busybox", "/system/bin/newfs_msdos");
symlink("busybox", "/system/bin/notify");
symlink("busybox", "/system/bin/printenv");
symlink("busybox", "/system/bin/ps");
symlink("busybox", "/system/bin/r");
symlink("busybox", "/system/bin/reboot");
symlink("busybox", "/system/bin/renice");
symlink("busybox", "/system/bin/rm");
symlink("busybox", "/system/bin/rmdir");
symlink("busybox", "/system/bin/rmmod");
symlink("busybox", "/system/bin/route");
symlink("busybox", "/system/bin/schedtop");
symlink("busybox", "/system/bin/sendevent");
symlink("busybox", "/system/bin/setconsole");
symlink("busybox", "/system/bin/setprop");
symlink("busybox", "/system/bin/sleep");
symlink("busybox", "/system/bin/smd");
symlink("busybox", "/system/bin/start");
symlink("busybox", "/system/bin/stop");
symlink("busybox", "/system/bin/sync");
symlink("busybox", "/system/bin/top");
symlink("busybox", "/system/bin/touch");
symlink("busybox", "/system/bin/umount");
symlink("busybox", "/system/bin/uptime");
symlink("busybox", "/system/bin/vmstat");
symlink("busybox", "/system/bin/watchprops");
symlink("busybox", "/system/bin/wipe");
ui_print("-- Setting permissions");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm(0, 2000, 0755, "/system/vendor/camera");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm(0, 0, 0644, "/system/build.prop");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/sqlite3");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm(0, 0, 0755, "/system/etc/install-recovery.sh");
set_perm(0, 2000, 0755, "/system/bin/ric");
set_perm(0, 0, 0644, "/system/lib/modules/wlan.ko");
set_perm(0, 0, 0644, "/system/lib/modules/prima/prima_wlan.ko");
show_progress(0.1, 10);
show_progress(0.2, 0);
show_progress(0.2, 10);
run_program("/sbin/busybox", "cp", "/tmp/recovery.log", "/sdcard/recovery.log");
run_program("/sbin/sleep", "5");
ui_print("-- Unmounting partitions");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/cache");
run_program("/sbin/busybox", "umount", "/data");
ui_print("");
ui_print(" | *************************************** |");
ui_print(" | *=====================================* |");
ui_print(" | * ====== Enjoy ====== * |");
ui_print(" | * ============ * |");
ui_print(" | * __ __ ___ __ * |");
ui_print(" | * |__||__|| |_/ | | / * |");
ui_print(" | * | || ||__ | \ | | /__ * |");
ui_print(" | *=====================================* |");
ui_print(" | *************************************** |");
ui_print(" | * Installation Complete! * |");
ui_print(" | *************************************** |");
Here's the log from flashtool when i try to update the baseband.
HTML:
23/019/2012 20:19:41 - INFO - Selected LT30_7.0.A.3.195_Rogers.ftf
23/019/2012 20:19:41 - INFO - Preparing files for flashing
23/019/2012 20:19:41 - INFO - Please connect your device into flashmode.
23/019/2012 20:19:50 - INFO - Device connected in flash mode
23/019/2012 20:19:50 - INFO - Opening device for R/W
23/019/2012 20:19:50 - INFO - Reading device information
23/019/2012 20:19:50 - INFO - Phone ready for flashmode operations.
23/019/2012 20:19:50 - INFO - Start Flashing
23/019/2012 20:19:50 - INFO - Processing loader
23/019/2012 20:19:50 - INFO - Checking header
23/019/2012 20:19:50 - INFO - Flashing data
23/019/2012 20:19:53 - INFO - Loader : S1_Root_7054 - Version : R5F001 / Bootloader status : NOT_ROOTABLE
23/019/2012 20:19:53 - INFO - Disabling final data verification check
23/019/2012 20:19:53 - INFO - Processing amss_fs_2.sin
23/019/2012 20:19:53 - INFO - Checking header
23/019/2012 20:19:53 - INFO - Flashing data
23/019/2012 20:19:53 - INFO - Processing amss_fs_1.sin
23/019/2012 20:19:53 - INFO - Checking header
23/019/2012 20:19:53 - INFO - Flashing data
23/019/2012 20:19:53 - INFO - Processing amss_fsg.sin
23/019/2012 20:19:53 - INFO - Checking header
23/019/2012 20:19:53 - INFO - Flashing data
23/019/2012 20:19:54 - INFO - Ending flash session
23/019/2012 20:19:54 - INFO - Flashing finished.
23/019/2012 20:19:54 - INFO - Please unplug and start your phone
23/019/2012 20:19:54 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings
23/019/2012 20:19:54 - INFO - Device connected in flash mode
23/020/2012 20:20:01 - INFO - Device disconnected
hackit said:
Hi All,
I have been trying to make a rom using rogers LT30a ftf file. (made my own ftf)
?
Click to expand...
Click to collapse
have you tried this
EDIT
Also flash a stock kernel if you have flashed any other kernel. Use one from the all in one thread
gregbradley said:
have you tried this
EDIT
Also flash a stock kernel if you have flashed any other kernel. Use one from the all in one thread
Click to expand...
Click to collapse
Thanks gregbradley i'll try it now. should i replace both wlan.ko with this one?
or just put this one in system\lib\modules?
Yes i flashed a stock kernel, i made one from my lt30a ftf file.
hackit said:
Thanks gregbradley i'll try it now. should i replace both wlan.ko with this one?
or just put this one in system\lib\modules?
Yes i flashed a stock kernel, i made one from my lt30a ftf file.
Click to expand...
Click to collapse
Try flashing it first, it should work. If it doesnt, try it manually and change one, then both.
Then you can incorporate it in your rom.
gregbradley said:
Try flashing it first, it should work. If it doesnt, try it manually and change one, then both.
Then you can incorporate it in your rom.
Click to expand...
Click to collapse
Ok I tried flashing it, no go.
i then tried putting it in a rom, no go.
Then i was looking on the phone, i noticed my baseband say's unknown (settings about phone). I thought when i flash the uk 303 ftf and un-select baseband i would keep the original baseband. but it seems as i end up with no baseband. So i created a new kernel ftf and addded the baseband from the lt30a ftf and flashed it.
still the baseband say's unkonwn.
I'm sure this is the issue, but i need to go out for a few hours and will get back to it later.
if someone with more experience than me has an idea please share.
What happens when you use your own ftf to flash back to stock? This should get back your baseband. If it doesn't, I don't know what will.
Tapatalked from my XperimenTal LT30p using xda-developers-app
TiMiN8R said:
What happens when you use your own ftf to flash back to stock? This should get back your baseband. If it doesn't, I don't know what will.
Tapatalked from my XperimenTal LT30p using xda-developers-app
Click to expand...
Click to collapse
Yeah if i use my own ftf file i get my baseband back.
so i tried to add the baseband files from my ftf to the o2 ftf. it flashes good and wifi works.
so then i tried to flash my rom with cwm thinking the baseband would stay, but no luck.
so then i added the basebands to my kerel ftf and flashed that with flashtool and it flashes ok but the baseband still says un known.
looks like theirs an issue with either LT30a and going to LT30p back to LT30a or my personal phone.
Ok after flashing a few more times it seems that if i use cwm to flash i loose my baseband.
has anyone else with an LT30a flashed a rom and kept the baseband?
I just tried these steps.
update log
1. flashed o2 ftf unchecked baseband.
2. before flash baseband was 8960A-AAAAANAZQ-1001501919 after flash checked baseband and it's different base band 8960A-AAAAANAZQ-10015008-11 so even when unchecked it does change.
3. ROOTED AND INSTALLED CWM.
4. Changed name of my rom to 7.0.A.3.195 and flashed with cwm (read some where to change build name so baseband can update).
5.flashed my rom and flashed cwm, then on reboot held power and volume up till phone screen goes black. did not hold long enough for phone to vibrate.
6. opened flashtool and selected rogers ftf and unselected all 3 options to wipe, selected exclude system. rebooted.
7. ok phone rebooted twice, apps updated and back to baseband unknown.
8. tried to flash baseband again and still baseband unknown.
9. inserted sim card, no help. (i did all this work with no sim card).
10. last thought maybe it's an issue with my updater-script? but i doubt it as other roms do the do the same.
here's a copy of my updater-script.
Code:
show_progress(0.500000, 40);
ui_print(" | *************************************** |");
ui_print(" | *=====================================* |");
ui_print(" | * HackitZ-LT30a * |");
ui_print(" | * ====== Base_7.0.A.3.195 ====== * |");
ui_print(" | * ============ * |");
ui_print(" | * __ __ ___ __ * |");
ui_print(" | * |__||__|| |_/ | | / * |");
ui_print(" | * | || ||__ | \ | | /__ * |");
ui_print(" | *=====================================* |");
ui_print(" | *************************************** |");
ui_print("-- Format system");
format("ext4", "EMMC", "/dev/block/mmcblk0p12", "0");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/data");
run_program("/sbin/busybox", "mount", "/cache");
ui_print("-- Delete files");
delete_recursive("/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/resource-cache");
delete_recursive("/sdcard/.android_secure");
delete_recursive("/sdcard/.data");
delete_recursive("/sdcard/LOST.DIR");
ui_print("-- Installing system");
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
ui_print("-- Setting symlinks");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[");
symlink("busybox", "/system/xbin/[[");
symlink("busybox", "/system/xbin/adjtimex");
symlink("busybox", "/system/xbin/arp");
symlink("busybox", "/system/xbin/ash");
symlink("busybox", "/system/xbin/awk");
symlink("busybox", "/system/xbin/base64");
symlink("busybox", "/system/xbin/basename");
symlink("busybox", "/system/xbin/bbconfig");
symlink("busybox", "/system/xbin/blkid");
symlink("busybox", "/system/xbin/blockdev");
symlink("busybox", "/system/xbin/brctl");
symlink("busybox", "/system/xbin/bunzip2");
symlink("busybox", "/system/xbin/bzcat");
symlink("busybox", "/system/xbin/bzip2");
symlink("busybox", "/system/xbin/cal");
symlink("busybox", "/system/xbin/cat");
symlink("busybox", "/system/xbin/catv");
symlink("busybox", "/system/xbin/chattr");
symlink("busybox", "/system/xbin/chgrp");
symlink("busybox", "/system/xbin/chmod");
symlink("busybox", "/system/xbin/chown");
symlink("busybox", "/system/xbin/chroot");
symlink("busybox", "/system/xbin/clear");
symlink("busybox", "/system/xbin/cmp");
symlink("busybox", "/system/xbin/comm");
symlink("busybox", "/system/xbin/cp");
symlink("busybox", "/system/xbin/cpio");
symlink("busybox", "/system/xbin/crond");
symlink("busybox", "/system/xbin/crontab");
symlink("busybox", "/system/xbin/cut");
symlink("busybox", "/system/xbin/date");
symlink("busybox", "/system/xbin/dc");
symlink("busybox", "/system/xbin/dd");
symlink("busybox", "/system/xbin/depmod");
symlink("busybox", "/system/xbin/devmem");
symlink("busybox", "/system/xbin/df");
symlink("busybox", "/system/xbin/diff");
symlink("busybox", "/system/xbin/dirname");
symlink("busybox", "/system/xbin/dmesg");
symlink("busybox", "/system/xbin/dnsd");
symlink("busybox", "/system/xbin/dos2unix");
symlink("busybox", "/system/xbin/du");
symlink("busybox", "/system/xbin/echo");
symlink("busybox", "/system/xbin/ed");
symlink("busybox", "/system/xbin/egrep");
symlink("busybox", "/system/xbin/env");
symlink("busybox", "/system/xbin/expand");
symlink("busybox", "/system/xbin/expr");
symlink("busybox", "/system/xbin/false");
symlink("busybox", "/system/xbin/fdisk");
symlink("busybox", "/system/xbin/fgrep");
symlink("busybox", "/system/xbin/find");
symlink("busybox", "/system/xbin/flash_lock");
symlink("busybox", "/system/xbin/flash_unlock");
symlink("busybox", "/system/xbin/flashcp");
symlink("busybox", "/system/xbin/flock");
symlink("busybox", "/system/xbin/fold");
symlink("busybox", "/system/xbin/free");
symlink("busybox", "/system/xbin/freeramdisk");
symlink("busybox", "/system/xbin/fsync");
symlink("busybox", "/system/xbin/ftpget");
symlink("busybox", "/system/xbin/ftpput");
symlink("busybox", "/system/xbin/fuser");
symlink("busybox", "/system/xbin/getopt");
symlink("busybox", "/system/xbin/grep");
symlink("busybox", "/system/xbin/groups");
symlink("busybox", "/system/xbin/gunzip");
symlink("busybox", "/system/xbin/gzip");
symlink("busybox", "/system/xbin/halt");
symlink("busybox", "/system/xbin/head");
symlink("busybox", "/system/xbin/hexdump");
symlink("busybox", "/system/xbin/id");
symlink("busybox", "/system/xbin/ifconfig");
symlink("busybox", "/system/xbin/inetd");
symlink("busybox", "/system/xbin/insmod");
symlink("busybox", "/system/xbin/install");
symlink("busybox", "/system/xbin/iostat");
symlink("busybox", "/system/xbin/ip");
symlink("busybox", "/system/xbin/kill");
symlink("busybox", "/system/xbin/killall");
symlink("busybox", "/system/xbin/killall5");
symlink("busybox", "/system/xbin/length");
symlink("busybox", "/system/xbin/less");
symlink("busybox", "/system/xbin/ln");
symlink("busybox", "/system/xbin/losetup");
symlink("busybox", "/system/xbin/ls");
symlink("busybox", "/system/xbin/lsattr");
symlink("busybox", "/system/xbin/lsmod");
symlink("busybox", "/system/xbin/lsusb");
symlink("busybox", "/system/xbin/lzcat");
symlink("busybox", "/system/xbin/lzma");
symlink("busybox", "/system/xbin/lzop");
symlink("busybox", "/system/xbin/lzopcat");
symlink("busybox", "/system/xbin/man");
symlink("busybox", "/system/xbin/md5sum");
symlink("busybox", "/system/xbin/mesg");
symlink("busybox", "/system/xbin/mkdir");
symlink("busybox", "/system/xbin/mke2fs");
symlink("busybox", "/system/xbin/mkfifo");
symlink("busybox", "/system/xbin/mkfs.ext2");
symlink("busybox", "/system/xbin/mkfs.vfat");
symlink("busybox", "/system/xbin/mknod");
symlink("busybox", "/system/xbin/mkswap");
symlink("busybox", "/system/xbin/mktemp");
symlink("busybox", "/system/xbin/modinfo");
symlink("busybox", "/system/xbin/modprobe");
symlink("busybox", "/system/xbin/more");
symlink("busybox", "/system/xbin/mount");
symlink("busybox", "/system/xbin/mountpoint");
symlink("busybox", "/system/xbin/mpstat");
symlink("busybox", "/system/xbin/mv");
symlink("busybox", "/system/xbin/nanddump");
symlink("busybox", "/system/xbin/nandwrite");
symlink("busybox", "/system/xbin/netstat");
symlink("busybox", "/system/xbin/nice");
symlink("busybox", "/system/xbin/nohup");
symlink("busybox", "/system/xbin/nslookup");
symlink("busybox", "/system/xbin/ntpd");
symlink("busybox", "/system/xbin/od");
symlink("busybox", "/system/xbin/patch");
symlink("busybox", "/system/xbin/pgrep");
symlink("busybox", "/system/xbin/pidof");
symlink("busybox", "/system/xbin/ping");
symlink("busybox", "/system/xbin/pkill");
symlink("busybox", "/system/xbin/pmap");
symlink("busybox", "/system/xbin/poweroff");
symlink("busybox", "/system/xbin/printenv");
symlink("busybox", "/system/xbin/printf");
symlink("busybox", "/system/xbin/ps");
symlink("busybox", "/system/xbin/pstree");
symlink("busybox", "/system/xbin/pwd");
symlink("busybox", "/system/xbin/pwdx");
symlink("busybox", "/system/xbin/rdev");
symlink("busybox", "/system/xbin/readlink");
symlink("busybox", "/system/xbin/realpath");
symlink("busybox", "/system/xbin/renice");
symlink("busybox", "/system/xbin/reset");
symlink("busybox", "/system/xbin/resize");
symlink("busybox", "/system/xbin/rev");
symlink("busybox", "/system/xbin/rm");
symlink("busybox", "/system/xbin/rmdir");
symlink("busybox", "/system/xbin/rmmod");
symlink("busybox", "/system/xbin/route");
symlink("busybox", "/system/xbin/run-parts");
symlink("busybox", "/system/xbin/rx");
symlink("busybox", "/system/xbin/sed");
symlink("busybox", "/system/xbin/seq");
symlink("busybox", "/system/xbin/setconsole");
symlink("busybox", "/system/xbin/setserial");
symlink("busybox", "/system/xbin/setsid");
symlink("busybox", "/system/xbin/sh");
symlink("busybox", "/system/xbin/sha1sum");
symlink("busybox", "/system/xbin/sha256sum");
symlink("busybox", "/system/xbin/sha512sum");
symlink("busybox", "/system/xbin/sleep");
symlink("busybox", "/system/xbin/sort");
symlink("busybox", "/system/xbin/split");
symlink("busybox", "/system/xbin/stat");
symlink("busybox", "/system/xbin/strings");
symlink("busybox", "/system/xbin/stty");
symlink("busybox", "/system/xbin/sum");
symlink("busybox", "/system/xbin/swapoff");
symlink("busybox", "/system/xbin/swapon");
symlink("busybox", "/system/xbin/sync");
symlink("busybox", "/system/xbin/sysctl");
symlink("busybox", "/system/xbin/tac");
symlink("busybox", "/system/xbin/tail");
symlink("busybox", "/system/xbin/tar");
symlink("busybox", "/system/xbin/taskset");
symlink("busybox", "/system/xbin/tee");
symlink("busybox", "/system/xbin/telnet");
symlink("busybox", "/system/xbin/telnetd");
symlink("busybox", "/system/xbin/test");
symlink("busybox", "/system/xbin/tftp");
symlink("busybox", "/system/xbin/tftpd");
symlink("busybox", "/system/xbin/time");
symlink("busybox", "/system/xbin/timeout");
symlink("busybox", "/system/xbin/top");
symlink("busybox", "/system/xbin/touch");
symlink("busybox", "/system/xbin/tr");
symlink("busybox", "/system/xbin/traceroute");
symlink("busybox", "/system/xbin/true");
symlink("busybox", "/system/xbin/ttysize");
symlink("busybox", "/system/xbin/tune2fs");
symlink("busybox", "/system/xbin/umount");
symlink("busybox", "/system/xbin/uname");
symlink("busybox", "/system/xbin/uncompress");
symlink("busybox", "/system/xbin/unexpand");
symlink("busybox", "/system/xbin/uniq");
symlink("busybox", "/system/xbin/unix2dos");
symlink("busybox", "/system/xbin/unlzma");
symlink("busybox", "/system/xbin/unlzop");
symlink("busybox", "/system/xbin/unxz");
symlink("busybox", "/system/xbin/unzip");
symlink("busybox", "/system/xbin/uptime");
symlink("busybox", "/system/xbin/usleep");
symlink("busybox", "/system/xbin/uudecode");
symlink("busybox", "/system/xbin/uuencode");
symlink("busybox", "/system/xbin/vi");
symlink("busybox", "/system/xbin/watch");
symlink("busybox", "/system/xbin/wc");
symlink("busybox", "/system/xbin/wget");
symlink("busybox", "/system/xbin/which");
symlink("busybox", "/system/xbin/whoami");
symlink("busybox", "/system/xbin/xargs");
symlink("busybox", "/system/xbin/xz");
symlink("busybox", "/system/xbin/xzcat");
symlink("busybox", "/system/xbin/yes");
symlink("busybox", "/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat");
symlink("busybox", "/system/bin/chmod");
symlink("busybox", "/system/bin/chown");
symlink("busybox", "/system/bin/cmp");
symlink("busybox", "/system/bin/date");
symlink("busybox", "/system/bin/dd");
symlink("busybox", "/system/bin/df");
symlink("busybox", "/system/bin/dmesg");
symlink("busybox", "/system/bin/getevent");
symlink("busybox", "/system/bin/getprop");
symlink("busybox", "/system/bin/hd");
symlink("busybox", "/system/bin/id");
symlink("busybox", "/system/bin/ifconfig");
symlink("busybox", "/system/bin/iftop");
symlink("busybox", "/system/bin/insmod");
symlink("busybox", "/system/bin/ioctl");
symlink("busybox", "/system/bin/ionice");
symlink("busybox", "/system/bin/kill");
symlink("busybox", "/system/bin/ln");
symlink("busybox", "/system/bin/log");
symlink("busybox", "/system/bin/ls");
symlink("busybox", "/system/bin/lsmod");
symlink("busybox", "/system/bin/lsof");
symlink("busybox", "/system/bin/md5");
symlink("busybox", "/system/bin/mkdir");
symlink("busybox", "/system/bin/mount");
symlink("busybox", "/system/bin/mv");
symlink("busybox", "/system/bin/nandread");
symlink("busybox", "/system/bin/netstat");
symlink("busybox", "/system/bin/newfs_msdos");
symlink("busybox", "/system/bin/notify");
symlink("busybox", "/system/bin/printenv");
symlink("busybox", "/system/bin/ps");
symlink("busybox", "/system/bin/r");
symlink("busybox", "/system/bin/reboot");
symlink("busybox", "/system/bin/renice");
symlink("busybox", "/system/bin/rm");
symlink("busybox", "/system/bin/rmdir");
symlink("busybox", "/system/bin/rmmod");
symlink("busybox", "/system/bin/route");
symlink("busybox", "/system/bin/schedtop");
symlink("busybox", "/system/bin/sendevent");
symlink("busybox", "/system/bin/setconsole");
symlink("busybox", "/system/bin/setprop");
symlink("busybox", "/system/bin/sleep");
symlink("busybox", "/system/bin/smd");
symlink("busybox", "/system/bin/start");
symlink("busybox", "/system/bin/stop");
symlink("busybox", "/system/bin/sync");
symlink("busybox", "/system/bin/top");
symlink("busybox", "/system/bin/touch");
symlink("busybox", "/system/bin/umount");
symlink("busybox", "/system/bin/uptime");
symlink("busybox", "/system/bin/vmstat");
symlink("busybox", "/system/bin/watchprops");
symlink("busybox", "/system/bin/wipe");
ui_print("-- Setting permissions");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm(0, 2000, 0755, "/system/vendor/camera");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm(0, 0, 0644, "/system/build.prop");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/sqlite3");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm(0, 0, 0755, "/system/etc/install-recovery.sh");
set_perm(0, 2000, 0755, "/system/bin/ric");
set_perm(0, 0, 0644, "/system/lib/modules/wlan.ko");
set_perm(0, 0, 0644, "/system/lib/modules/prima/prima_wlan.ko");
show_progress(0.1, 10);
show_progress(0.2, 0);
show_progress(0.2, 10);
run_program("/sbin/busybox", "cp", "/tmp/recovery.log", "/sdcard/recovery.log");
run_program("/sbin/sleep", "5");
ui_print("-- Unmounting partitions");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "umount", "/cache");
run_program("/sbin/busybox", "umount", "/data");
ui_print("");
ui_print(" | *************************************** |");
ui_print(" | *=====================================* |");
ui_print(" | * ====== Enjoy ====== * |");
ui_print(" | * ============ * |");
ui_print(" | * __ __ ___ __ * |");
ui_print(" | * |__||__|| |_/ | | / * |");
ui_print(" | * | || ||__ | \ | | /__ * |");
ui_print(" | *=====================================* |");
ui_print(" | *************************************** |");
ui_print(" | * Installation Complete! * |");
ui_print(" | *************************************** |");
I did #3 of what you listed in your OT. Copied and renamed the primary_wlan.ko file to wlan.ko and put it in /system/lib/modules
That's all I had to do to get my wifi working again on my generic .223 based rom. Once I flashed it I flashed just the kernel for that firmware. I had originally flashed the stock generic firmware excluding baseband to keep LTE.
What changes did you make to your rom prior to packaging it?
Sent from my Sony Xperia™ TL
Spectre51 said:
What changes did you make to your rom prior to packaging it?
Sent from my Sony Xperia™ TL
Click to expand...
Click to collapse
A few but nothing to major, at least i think.
The latest rom i made i just removed the rogers apps, and added root, busy box and deoxed it.
I'm starting to obsess over this :cyclops:, you know our versions of the xperia t, LT30a and LT30at have a different chip. the lt30p uses the MSM8260A and the lt30a and lt30at use MSM8960.
Now i know that the main difference is the lte just not sure if the software is the same?
That's all I had to do to get my wifi working again on my generic .223 based rom
Click to expand...
Click to collapse
So you made a rom as well?
P.S just a thought, did you flash your phone with the sim card in it? I have not put my sim card in my phone while doing any of this.
hackit said:
I have not put my sim card in my phone while doing any of this.
Click to expand...
Click to collapse
why not?
I dont think it will make a difference but why would you take it out,
gregbradley said:
why not?
I dont think it will make a difference but why would you take it out,
Click to expand...
Click to collapse
It's not that i took it out. i left it in my Xperia S, i still needed a phone.
I mentioned that because i read a post somewhere that the sim card has info about the baseband.
Ok I started flashing with the sim card in and it appears that it's needed.(maybe).
i flashed the o2 rom, rooted, installed cwm.
I then flashed XperimenT_v1.5.zip, all was good. did not let phone reboot.
flashed .223 stock kernel from rom page.
I start phone and now i have the triangle with the screw driver and wrench.
So after 4 hours i cant get back to a stock rogers rom. urgh...
the only rom the boots is if i flash the o2 rom.
tried rogers stock in flash tool and also tried pc companion.
now im flashing rogers stock with out the sim card.
so once i get the phone booting again ill try XperimenT_v1.5 again.
My issue might be the sim card has to be installed and also my rom might be bad.
-----------
Ok flashing rogers stock rom with flash tool still gives me the triangle with the screw driver and wrench.
anyone have an idea how to get back to stock?
I don't think it has to do with the sim card. I made a rom for my ion as well and didn't put the sim card in till after I had flashed everything and it worked fine.
If you want I can upload my Lt30 rom and you can try flashing it from a stock rogers setup and see if you lose baseband again.
Sent from my Sony Xperia™ TL
Spectre51 said:
I don't think it has to do with the sim card. I made a rom for my ion as well and didn't put the sim card in till after I had flashed everything and it worked fine.
If you want I can upload my Lt30 rom and you can try flashing it from a stock rogers setup and see if you lose baseband again.
Sent from my Sony Xperia™ TL
Click to expand...
Click to collapse
sounds good. what kernel ftf did you use?
trying to get back to rogers stock seems to be an issue.
pc companion will not update.
flashtool flashes rogers stock ok but wont boot.
all i can flash and boot is the o2 ftf.
hackit said:
sounds good. what kernel ftf did you use?
trying to get back to rogers stock seems to be an issue.
pc companion will not update.
flashtool flashes rogers stock ok but wont boot.
all i can flash and boot is the o2 ftf.
Click to expand...
Click to collapse
After I flashed my .223 based rom I flashed the kernel for .223. Generic LT30p.
Sent from my Sony Xperia™ TL
How sad i'm making a post on christmas eve at 8:40 pm.
Any ways, i was able to get back to an o2 rom, still no rogers. and then flashed XperimenT v1.5. all seems ok.
when ever i flash the .223 stock kernel. i get the triangle with screw driver and wrench.
not sure what i'll do.
merry christmas to all and the rest have a great night.
Wow the only rom i can flash is the o2 303 rom. if i flash any other rom in flashtool i get the triangle. what the heck,,,,,,,,,,
Ok i was able to get back to a stock rogers. woo hoo.
Now i was about to try the process all over again, but maybe someone with experience of doing this successfully can chime in. so long as you came from a rogers branded LT30a.
I do have a question for Spectre51
Okay people now that I have been able to create a stock AT&T LT30at ftf file: https://docs.google.com/open?id=0Byr...EZpSE16bWdKV1E I went ahead with testing if I could flash a generic LT30p firmware on my LT30at EXCLUDING the baseband so I could keep LTE.
I used the LT30p firmware version 7.0.A.3.195 generic and flashed it through flashtools wiping everything but excluding the baseband. By doing this I was able to keep LTE support and have a generic unbranded firmware. I then restored all my apps using the included backup & restore app ( I had manually installed it on the LT30at firmware previously)
Everything went fine but of course I couldn't root using Bin4ry's method with the firmware I used. Also tethering works without issue. I did have to setup the AT&T LTE apn which can be found here: http://forum.xda-developers.com/show...29&postcount=4
Click to expand...
Click to collapse
As per your post above i just noticed that you are not root, you went from .195 to generic .195.
My issue seems to be going back to .303 and then going back up to .195. no matter what i've tried when i'm done and I'm at the point where i have to flash the kernel i always end up with booting to the triangle. So im thinking it's not a good thing to go back to .303 when you have a different baseband.
Can someone who has a rogers phone confirm it has worked for them, going to a .303 firmware rooting and then flashing another rom with cwm.
Thanks
I get the triangle too after flashing .195 kernel. It is normal I think because of the S1boot update. But it only stays for a few seconds then reboots to normal. I don't know if it gets overwritten when you go back to .303 but it might have something to do with this.
Sent from my ARCHOS 80G9 using xda app-developers app
hackit said:
Ok i was able to get back to a stock rogers. woo hoo.
Now i was about to try the process all over again, but maybe someone with experience of doing this successfully can chime in. so long as you came from a rogers branded LT30a.
I do have a question for Spectre51
As per your post above i just noticed that you are not root, you went from .195 to generic .195.
My issue seems to be going back to .303 and then going back up to .195. no matter what i've tried when i'm done and I'm at the point where i have to flash the kernel i always end up with booting to the triangle. So im thinking it's not a good thing to go back to .303 when you have a different baseband.
Can someone who has a rogers phone confirm it has worked for them, going to a .303 firmware rooting and then flashing another rom with cwm.
Thanks
Click to expand...
Click to collapse
That post you quoted was just for testing flashing the generic firmware excluding baseband to make sure I could keep LTE.
When I flashed my rom I went from a stock AT&T firmware & kernel. factory reset, rooted and cwm installed. Flashed my rom in cwm (I integrated the reboot fix and cwm into my rom) then flashed the stock .223 firmware through flash tools excluding everything except kernel and wiping nothing.
Had zero issues when I booted up.
Again I had made a copy of and renamed the wifi module primary_wlan.ko in the /system/lib/modules/primary folder to just wlan.ko and put it in the /system/lib/modules folder. That was the fix for wifi not working.
Sent from my Sony Xperia™ TL
Yes yes I know there are various threads with this reported issue.
Have tried the suggested solution
still getting the same error
need some hands on help with getting it fixed or how to debug where the issue is exactly
gone through the logs in CWM
seems there is an issue with 3 of the lines
set_perm(0, 0, 04755, "/system/xbin/zipalign");
set_perm(0, 0, 0777, "/system/bin/sysinit.bak");
efaustino84 said:
Yes yes I know there are various threads with this reported issue.
Have tried the suggested solution
still getting the same error
need some hands on help with getting it fixed or how to debug where the issue is exactly
Click to expand...
Click to collapse
S III Mini is not supported by Android Kitchen.
Benzonat0r said:
S III Mini is not supported by Android Kitchen.
Click to expand...
Click to collapse
okay so what do you use?
could one of the dev please do up a simple how to guide for setting up the environment best recommended for building a custom rom for the S3 mini
so far i have not found anything on S3 mini forums that details this information
infected_ has been kind enough to give me some help on building my dev environment
once I have everything setup and working I will try draw up a thread
efaustino84 said:
infected_ has been kind enough to give me some help on building my dev environment
once I have everything setup and working I will try draw up a thread
Click to expand...
Click to collapse
That would be great!!
been going over on how to add another device to kitchen supported devices list
and have created the required edify_defs file
has anyone else tried this?
Code:
# International Samsung Galaxy S3 Mini GT-I8190
change_mnt=yes
param1=ext4
param2=EMMC
param1_sdcard=vfat
param2_sdcard=MTD
sys_mnt=\/dev\/block\/mmcblk0p22
cache_mnt=\/dev\/block\/mmcblk0p23
boot_mnt=\/dev\/block\/???
data_mnt=\/dev\/block\/mmcblk0p25
sdcard_mnt=???
modem_mnt=\/dev\/block\/mmcblk0p12
preload_mnt=\/dev\/block\/mmcblk0p24
fix_boot2=yes
efaustino84 said:
been going over on how to add another device to kitchen supported devices list
and have created the required edify_defs file
has anyone else tried this?
Code:
# International Samsung Galaxy S3 Mini GT-I8190
change_mnt=yes
param1=ext4
param2=EMMC
param1_sdcard=vfat
param2_sdcard=MTD
sys_mnt=\/dev\/block\/mmcblk0p22
cache_mnt=\/dev\/block\/mmcblk0p23
boot_mnt=\/dev\/block\/???
data_mnt=\/dev\/block\/mmcblk0p25
sdcard_mnt=???
modem_mnt=\/dev\/block\/mmcblk0p12
preload_mnt=\/dev\/block\/mmcblk0p24
fix_boot2=yes
Click to expand...
Click to collapse
Was mucking around with that too, a few days ago. I wasn't to sure about the format so didn't want to flash anything. I guess we could just try and see whats happens
my concern is that if i have the mount points wrong will i hard-brick my phone?
This is what i have:
Code:
change_mnt=yes
param1=ext4
param2=EMMC
param1_sdcard=vfat
param2_sdcard=MTD
sys_mnt=\/dev\/block\/mmcblk0p22
cache_mnt=\/dev\/block\/mmcblk0p23
boot_mnt=\/dev\/block\/mmcblk0p20
data_mnt=\/dev\/block\/mmcblk0p25
sdcard_mnt=/dev/block/mmcblk1 /dev/block/mmcblk1p1
modem_mnt=\/dev\/block\/mmcblk0p12
preload_mnt=\/dev\/block\/mmcblk0p24
fix_boot=yes
I'm not 100% sure about the last line (fix_boot=yes)?
Original recovery.fstab below:
Code:
# Mount point fs device
/system ext4 /dev/block/mmcblk0p22
/cache ext4 /dev/block/mmcblk0p23
/data ext4 /dev/block/mmcblk0p25 length=-16384
/efs ext4 /dev/block/mmcblk0p11
/sdcard vfat /dev/block/mmcblk1 /dev/block/mmcblk1p1
/boot emmc /dev/block/mmcblk0p20
/recovery emmc /dev/block/mmcblk0p21
/preload ext4 /dev/block/mmcblk0p24
tried it with my config and the rom failed to load, will try with yours and see what happens
tried with yours and it also failed
would be nice if the other devs shared what they were using
I was going to try it out last night, but got too tired after having to re-install my Ubuntu VM.
From kitchen: Device name in kitchen, or variant of: golden
dsixda kitchen tells me it uses "golden" as devicename so I made a golden-file in
edify_defs.
Code:
# Samsung Galaxy S3 Mini GT-I8190
change_mnt=yes
param1=ext4
param2=EMMC
param1_sdcard=vfat
param2_sdcard=MTD
sys_mnt=\/dev\/block\/mmcblk0p22
cache_mnt=\/dev\/block\/mmcblk0p23
boot_mnt=\/dev\/block\/mmcblk0p20
data_mnt=\/dev\/block\/mmcblk0p25
sdcard_mnt=\/dev\/block\/mmcblk1 \/dev\/block\/mmcblk1p1
preload_mnt=\/dev\/block\/mmcblk0p24
efs_mnt=\/dev\/block\/mmcblk0p11
fix_boot=yes
When looking at the updater script generated it looks ok I guess.
Code:
show_progress(0.1, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p22");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
show_progress(0.1, 10);
show_progress(0.2, 0);
package_extract_file("boot.img", "/dev/block/mmcblk0p20");
show_progress(0.2, 10);
unmount("/system");
Pretty much like the benzrom script except those "show_progress" lines.
Havn't tried to flash it yet . Don't got time to f**k up my phone at the moment :silly:
tys0n said:
From kitchen: Device name in kitchen, or variant of: golden
dsixda kitchen tells me it uses "golden" as devicename so I made a golden-file in
edify_defs.
Code:
# Samsung Galaxy S3 Mini GT-I8190
change_mnt=yes
param1=ext4
param2=EMMC
param1_sdcard=vfat
param2_sdcard=MTD
sys_mnt=\/dev\/block\/mmcblk0p22
cache_mnt=\/dev\/block\/mmcblk0p23
boot_mnt=\/dev\/block\/mmcblk0p20
data_mnt=\/dev\/block\/mmcblk0p25
sdcard_mnt=\/dev\/block\/mmcblk1 \/dev\/block\/mmcblk1p1
preload_mnt=\/dev\/block\/mmcblk0p24
efs_mnt=\/dev\/block\/mmcblk0p11
fix_boot=yes
When looking at the updater script generated it looks ok I guess.
Code:
show_progress(0.1, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p22");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
show_progress(0.1, 10);
show_progress(0.2, 0);
package_extract_file("boot.img", "/dev/block/mmcblk0p20");
show_progress(0.2, 10);
unmount("/system");
Pretty much like the benzrom script except those "show_progress" lines.
Havn't tried to flash it yet . Don't got time to f**k up my phone at the moment :silly:
Click to expand...
Click to collapse
tried it out and it gave an error in cwm
let me try it again and post the error here
I:Checking for extendedcommand
I:Skipping execution of extendedcommand, file not found...
I:Can't format partition non-vfat: datamedia
I:Can't format unknown volume: /emmc
Device name in kitchen, or variant of: golden
Please ensure these device mount statements are correct:
--------------------------------------------------------------------------
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system"); mount("ext4", "EMMC",
"/dev/block/mmcblk0p25", "/data");
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p20"),
--------------------------------------------------------------------------
Copying update-binary ...
`../../../../../tools/update_files/emmc-update-binary' -> `update-binary'
--------------------------------------------------------------------------
I get this from kitchen
Code:
Please ensure these device mount statements are correct:
--------------------------------------------------------------------------
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
package_extract_file("boot.img", "/dev/block/mmcblk0p20");
--------------------------------------------------------------------------
Copying update-binary ...
”../../../../../tools/update_files/emmc-update-binary” -> ”update-binary”
--------------------------------------------------------------------------
Do you have "fix_boot=yes" at the end of "golden"-file in edify_defs?
tys0n said:
I get this from kitchen
Code:
Please ensure these device mount statements are correct:
--------------------------------------------------------------------------
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
package_extract_file("boot.img", "/dev/block/mmcblk0p20");
--------------------------------------------------------------------------
Copying update-binary ...
”../../../../../tools/update_files/emmc-update-binary” -> ”update-binary”
--------------------------------------------------------------------------
Do you have "fix_boot=yes" at the end of "golden"-file in edify_defs?
Click to expand...
Click to collapse
yup i do
though from what i can see the issue lies in the fact that not all components are being mounted which Benz has done in his Updater script
efaustino84 said:
yup i do
though from what i can see the issue lies in the fact that not all components are being mounted which Benz has done in his Updater script
Click to expand...
Click to collapse
Just asking, as you get :
"write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p20")"
while im getting :
"package_extract_file("boot.img", "/dev/block/mmcblk0p20")"
Anyway, I had some time to test and my script worked.
Testrom installed but because format system I had no network.
Restored backup and all ok now but atleast I know there's no error during flash.:good:
i will give it another try this evening if i have time and see if i get the same results as you do
efaustino84 said:
i will give it another try this evening if i have time and see if i get the same results as you do
Click to expand...
Click to collapse
Sounds good. Hope we can make it work
Oh, one other thing. I made a folder named "golden" in /tools/samsung_files/model_variants, and inside that folder an empty file named "golden", to point at the "golden"-file in /tools/edify defs.
tys0n said:
Sounds good. Hope we can make it work
Oh, one other thing. I made a folder named "golden" in /tools/samsung_files/model_variants, and inside that folder an empty file named "golden", to point at the "golden"-file in /tools/edify defs.
Click to expand...
Click to collapse
now that i did not see as a requirement, well spotted
will also add it in on this end
once we get it working we can then ask disxd to add it into the next update of kitchen for future use
i make a rom - well as written here: http://forum.xda-developers.com/showthread.php?t=2266842
all things are work. i flash the rom ... works too ... BUT: wifi not work, usb not work, phone not work!
What am I doing wrong? even if i flash "multi csc" ... nothing ...
My folderinfo:
Code:
Android OS version : 4.1.2
Device : golden
Model : GT-I8190
ROM Name : JZO54K.I8190XXAMD3
CSC version : I8190OXAAMD3
Rooted (Superuser app + su) : No
Rooted (unsecured boot.img) : No
BusyBox installed : No
BusyBox run-parts support : No
Apps2SD (Apps to EXT) enabled : NO
/data/app enabled : NO
Custom boot animation allowed : NO
Nano text editor installed : NO
Bash shell support : No
/system/framework is deodexed : NO
/system/app is deodexed : NO
radio.img found : NO
ROM will wipe all data : NO
than ... i install root, busybox and change the rom name. NOTHING more!
But doent works after flash ...
pls help me
hurricane2012 said:
i make a rom - well as written here: http://forum.xda-developers.com/showthread.php?t=2266842
all things are work. i flash the rom ... works too ... BUT: wifi not work, usb not work, phone not work!
pls help me
Click to expand...
Click to collapse
Code:
format("ext4", "EMMC", "/dev/block/mmcblk0p22");
That line gave me same problem.
Instead I used
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/Test.log");
delete_recursive("/cache");
delete_recursive("/system/app");
delete_recursive("/system/framework");
Can you post the updater-script?
my updater script (autogenerated)
Code:
show_progress(0.1, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p22");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
show_progress(0.1, 10);
show_progress(0.2, 0);
package_extract_file("boot.img", "/dev/block/mmcblk0p20");
show_progress(0.2, 10);
unmount("/system");
when i create the working folder - this warning
Code:
Warning: No cache.img.ext4 found. You can unpack this file separately
by running the plugin script in the kitchen's Advanced menu options.
If your device doesn't use a CSC, then just ignore this message.
what should I do? In folderinfo
Code:
CSC version : I8190OXAAMD3
is now included or not?
after flash: "sim card not found - please insert"
Yeah. it must be that line as it gave me the same problem.
Use notepad++ to edit the script manually.
Remove that line and replace it with:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/Test.log");
delete_recursive("/cache");
delete_recursive("/system/app");
delete_recursive("/system/framework");
delete_recursive("/system");
or maybe:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/Test.log");
delete_recursive("/cache");
delete_recursive("/system");
tys0n said:
Yeah. it must be that line as it gave me the same problem.
Use notepad++ to edit the script manually.
Remove that line and replace it with:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/Test.log");
delete_recursive("/cache");
delete_recursive("/system/app");
delete_recursive("/system/framework");
delete_recursive("/system");
or maybe:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/Test.log");
delete_recursive("/cache");
delete_recursive("/system");
Click to expand...
Click to collapse
ok i test it ... take some minutes
hurricane2012 said:
when i create the working folder - this warning
Code:
Warning: No cache.img.ext4 found. You can unpack this file separately
by running the plugin script in the kitchen's Advanced menu options.
If your device doesn't use a CSC, then just ignore this message.
what should I do? In folderinfo
Code:
CSC version : I8190OXAAMD3
is now included or not?
after flash: "sim card not found - please insert"
Click to expand...
Click to collapse
I did extract the cache.img. You'll get a sec_csc.zip.
Just extract it and place the folders/files into your rom.
when i replace the line with your code ... in cwm abort install error 6
okay i used a wrong texteditor ... i replaced the errors ... flash again ... take some minutes ...
hurricane2012 said:
when i replace the line with your code ... in cwm abort install error 6
okay i used a wrong texteditor ... i replaced the errors ... flash again ... take some minutes ...
Click to expand...
Click to collapse
Yeah it have to be notepad++ if you're on a windows machine.
Also, you might have to flash official firmware in order to get your phone capabillities restored now that "/system" got formatted.
I do't know..
tys0n said:
Yeah it have to be notepad++ if you're on a windows machine.
Also, you might have to flash official firmware in order to get your phone capabillities restored now that "/system" got formatted.
I do't know..
Click to expand...
Click to collapse
must i deodex?
hurricane2012 said:
must i deodex?
Click to expand...
Click to collapse
Odexed vs Deodexed
You can use my updater script if you want tell me if it works!
Sent from my GT-I8190N using xda app-developers app
dariolob said:
You can use my updater script if you want tell me if it works!
Sent from my GT-I8190N using xda app-developers app
Click to expand...
Click to collapse
where can find it?
Take the v4 one! Not v5 because of the AROMA installer
Sent from my GT-I8190N using xda app-developers app
I do following steps:
- extract "HOME_I8190XXAMD3_I8190OXAAMD3_1154865_REV00_user_low_ship.tar"
- create a new zip with boot.img and system.img
- open Cygwin Terminal as adminsitrator
- open android kitchen
- extract cache.img (0 -> 18 -> 3)
- setup working folder
- copy the folder "system" (frome extracted cache.img) into workingfolder
Now folder information
Code:
Working folder information (v0.223)
Android OS version : 4.1.2
Device : golden
Model : GT-I8190
ROM Name : JZO54K.I8190XXAMD3
CSC version : I8190OXAAMD3
Rooted (Superuser app + su) : NO
Rooted (unsecured boot.img) : NO
BusyBox installed : NO
BusyBox run-parts support : NO
Apps2SD (Apps to EXT) enabled : NO
/data/app enabled : NO
Custom boot animation allowed : NO
Nano text editor installed : NO
Bash shell support : NO
/system/framework is deodexed : NO
/system/app is deodexed : NO
radio.img found : NO
ROM will wipe all data : NO
- add root ( 2 -> c )
- add busybox ( 3 )
- add running parts (busybox: 0 -> 14)
now my folder information
Code:
Working folder information (v0.223)
Android OS version : 4.1.2
Device : golden
Model : GT-I8190
ROM Name : JZO54K.I8190XXAMD3
CSC version : I8190OXAAMD3
Rooted (Superuser app + su) : YES
Rooted (unsecured boot.img) : YES
BusyBox installed : YES
BusyBox run-parts support : YES
Apps2SD (Apps to EXT) enabled : NO
/data/app enabled : NO
Custom boot animation allowed : NO
Nano text editor installed : NO
Bash shell support : NO
/system/framework is deodexed : NO
/system/app is deodexed : NO
radio.img found : NO
ROM will wipe all data : NO
- build rom ( 99 )
* build option 1
* optimize apk: no
* updater-script: yes
* sign your rom: yes
* rename the zip-file: no
- open zip in outputfolder
- replace the updater-script with updater-script from DMod v4
- copy on sd-card
- boot into recovery
* format data
* format system
* wipe cache
* wipe dalvyk cache
- install my rom
* data/factory reset
- reboot
Result: no phone, no wifi, no usb connection with pc ...
what is wrong?
I just only want a working cwm rom without any mods
the v4Script:
Code:
assert(getprop("ro.product.device") == "golden" || getprop("ro.build.product") == "golden" ||
getprop("ro.product.device") == "i8190N" || getprop("ro.build.product") == "i8190N" ||
getprop("ro.product.device") == "GT-I8190N" || getprop("ro.build.product") == "GT-I8190N");
show_progress(0.500000, 0);
unmount("/system");
unmount("/cache");
format("ext4", "EMMC", "/dev/block/mmcblk0p22");
format("ext4", "EMMC", "/dev/block/mmcblk0p23");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/cache");
delete("/data/system/batterystats.bin");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/boot-cache/");
delete_recursive("/data/nos_injection/");delete_recursive("/data/resource-cache/");
delete_recursive("/data/system/usagestats");
delete_recursive("/data/app");
delete_recursive("/data/app-asec");
delete_recursive("/data/app-private");
delete_recursive("/data/backup");
delete_recursive("/data/data");
delete_recursive("/data/drm");
delete_recursive("/data/log");
delete_recursive("/data/local");
delete_recursive("/data/misc");
delete_recursive("/data/property");
delete_recursive("/data/time");
delete_recursive("/data/user");
delete_recursive("/data/system");
package_extract_dir("data", "/data");
set_perm(1000, 1000, 0771, "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
unmount("/data");
package_extract_file("initd.sh", "/tmp/initd.sh");
set_perm(0, 0, 0777, "/tmp/initd.sh");
run_program("/tmp/initd.sh", "/tmp/initd.sh");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 0755, "/system/etc/be_movie");
set_perm(0, 0, 0755, "/system/etc/be_photo");
set_perm(0, 0, 04755, "/system/xbin/sysrw");
set_perm(0, 0, 04755, "/system/xbin/sysro");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
set_perm(0, 0, 0777, "/system/bin/nos_entropy");
set_perm(0, 0, 0777, "/system/bin/4cylturbo");
set_perm(0, 0, 0777, "/system/bin/sysro");
set_perm(0, 0, 0777, "/system/bin/sysrw");
set_perm(0, 0, 0777, "/system/bin/rambooster");
set_perm(0, 0, 0777, "/system/bin/zipalign_apks");
set_perm_recursive(0, 2000, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0777, 0777, "/system/etc/zram");
set_perm_recursive(0, 2000, 0777, 0777, "/system/etc/nos_scripts");
set_perm(0, 0, 0777, "/system/etc/nos_scripts/nos_entropy");
set_perm(0, 0, 0777, "/system/etc/init.d/nos_entropy");
set_perm_recursive(0, 2000, 0777, 0777, "/system/etc/nos_scripts");
set_perm(0, 0, 0777, "/system/etc/zram/nose_zram_swap");
set_perm(0, 0, 0755, 0644, "/system/etc/resolv.conf");
set_perm(0, 0, 0755, 0644, "/system/etc/sysctl.conf");
set_perm(0, 0, 0777, "/data/nos_injection/4cylturbo/etc/cron");
set_perm(0, 0, 0644, "/data/nos_injection/4cylturbo/etc/cron/root");
set_perm(0, 2000, 0777, "/system/xbin/rngd");
set_perm(0, 2000, 0777, "/system/xbin/entro");
set_perm(0, 0, 04755, "/system/xbin/sqlite3");
set_perm(0, 0, 04755, "/system/xbin/zipalign");
show_progress(0.500000, 25);
show_progress(0.500000, 75);
package_extract_file("boot.img", "/dev/block/mmcblk0p20");
show_progress(0.500000, 100);
unmount("/system");
unmount("/data");
unmount("/cache");
Please help
Why you don't follow my "Howto" ? .... and btw i think your problem is that youre modem.bin is from AMB3 not updated to AMD3...
Sent from my Nexus 4 using xda premium
enox.co said:
Why you don't follow my "Howto" ? .... and btw i think your problem is that youre modem.bin is from AMB3 not updated to AMD3...
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
on which position i not follow your howto?
info from settings: Basibandversion: I8190XXAMD3
-wipe data / factory reset after flashing your rom should fix the problems....
enox.co said:
-wipe data / factory reset after flashing your rom should fix the problems....
Click to expand...
Click to collapse
View my post:
- install my rom
* data/factory reset
- reboot
Click to expand...
Click to collapse
Hi
i created a sample recovery cwm update file for you guys that want to install new mods on your phone:
this is updater-script file:
Code:
#Mounting partitions
ui_print(" Mounting Partitions");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
#Install Files into System partition
ui_print(" Copying Data...");
package_extract_dir("system", "/system");
#Setting Permissions to files
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm(0, 0, 0644, "/system/build.prop");
if you want to install Kernel
create a directory beside the META-INF folder and name it to what you want.
for example is used amestris folder and i copy the boot.img [kernel file] into amestris folder.
Code:
# Installing The Kernel
package_extract_file("amestris/boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
#finish
---------------------------------------------------------------
this is an example for installing busybox
Code:
# install Busybox
# Mounting system partition
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
# copy busybox applet to system-xbin folder
# you have to create a folder beside META-INF folder and name it to system and then you have to craete xbin folder into the system directory and name it to xbin , then copy busybox applet into xbin folder]
# finally we have " /system/xbin/busybox
# copy busybox to phone
package_extract_dir("system", "/system");
# do permission
set_perm(0, 1000, 0755, "/system/xbin/busybox");
# create a symlink for busybox into the bin folder
symlink("/system/xbin/busybox", "/system/bin/busybox");
# install busybox
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
#finish
# Author Comments
ui_print(" Done.");
ui_print(" Reboot your phone. ");
ui_print(" ");
ui_print(" M Javad Nazari")
All lines that starts by sharp [ # ] , they are comments line and you can delete them.
------------------------------------------------------------------
Another Example
Code:
# AMESTRIS TEAM.
ui_print(" Amestris Team");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
show_progress(0.1, 0);
#Mounting partitions
ui_print(" Mounting Partitions");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/efs", "/efs");
ui_print(" ");
#Install Files into System partition
ui_print(" Copying Data...");
package_extract_dir("system", "/system");
show_progress(0.1, 3);
#Setting Permissions to files
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 0644, "/system/app/Superuser.apk");
show_progress(0.1, 6);
#Symlinking Files to bin folder
symlink("/system/xbin/busybox", "/system/bin/busybox");
symlink("/system/xbin/su", "/system/bin/su");
#Installing Busybox 1.20.2
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
ui_print(" ");
show_progress(0.1, 7);
# EFS Backup
ui_print(" Creating EFS Backup");
package_extract_file("amestris/efs_backup.sh", "/tmp/efs_backup.sh");
set_perm(0, 0, 0777, "/tmp/efs_backup.sh");
run_program("/tmp/efs_backup.sh");
ui_print(" ");
show_progress(0.1, 9);
# Installing The Kernel
package_extract_file("amestris/boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.1, 10);
#finish
ui_print(" Done.");
ui_print(" Reboot your phone. ");
ui_print(" ");
ui_print(" M Javad Nazari")
M_J_Nazari said:
All lines that starts by sharp [ # ] , they are comments line and you can delete them.
------------------------------------------------------------------
Another Example
Code:
# AMESTRIS TEAM.
ui_print(" Amestris Team");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
show_progress(0.1, 0);
#Mounting partitions
ui_print(" Mounting Partitions");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/efs", "/efs");
ui_print(" ");
#Install Files into System partition
ui_print(" Copying Data...");
package_extract_dir("system", "/system");
show_progress(0.1, 3);
#Setting Permissions to files
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 0644, "/system/app/Superuser.apk");
show_progress(0.1, 6);
#Symlinking Files to bin folder
symlink("/system/xbin/busybox", "/system/bin/busybox");
symlink("/system/xbin/su", "/system/bin/su");
#Installing Busybox 1.20.2
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
ui_print(" ");
show_progress(0.1, 7);
# EFS Backup
ui_print(" Creating EFS Backup");
package_extract_file("amestris/efs_backup.sh", "/tmp/efs_backup.sh");
set_perm(0, 0, 0777, "/tmp/efs_backup.sh");
run_program("/tmp/efs_backup.sh");
ui_print(" ");
show_progress(0.1, 9);
# Installing The Kernel
package_extract_file("amestris/boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.1, 10);
#finish
ui_print(" Done.");
ui_print(" Reboot your phone. ");
ui_print(" ");
ui_print(" M Javad Nazari")
Click to expand...
Click to collapse
hi, this is updater script ? i make new rom but not have update binry and updater script. please help me. thank you.
Please make updater script for i9190 sammy rom. i want make fully wiped rom. and init.d support. this wanam s4 rom script. please edit for s4 mini script. and add modem (NON-HLOS.bin) thank you. sorry for my bad english
show_progress(0.500000, 0);
ui_print("");
ui_print("********************************");
ui_print("Welcome to WanamLite UBUBMH1 V2.0");
ui_print("********************************");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
unmount("/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p20", "/system");
delete_recursive("/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p19", "/cache");
delete_recursive("/cache");
mount("ext4", "EMMC", "/dev/block/mmcblk0p21", "/data");
delete_recursive("/data/dalvik-cache");
show_progress(0.500000, 80);
ui_print("Installing System ...");
package_extract_dir("system", "/system");
package_extract_dir("wanam/data", "/data");
ui_print("Simlinking ...");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chgrp",
"/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chroot",
"/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm",
"/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond",
"/system/xbin/crontab", "/system/xbin/cut", "/system/xbin/date",
"/system/xbin/dc", "/system/xbin/dd", "/system/xbin/depmod",
"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
"/system/xbin/fdisk", "/system/xbin/fgrep", "/system/xbin/find",
"/system/xbin/flash_lock", "/system/xbin/flash_unlock",
"/system/xbin/flashcp", "/system/xbin/flock", "/system/xbin/fold",
"/system/xbin/free", "/system/xbin/freeramdisk", "/system/xbin/fsync",
"/system/xbin/ftpget", "/system/xbin/ftpput", "/system/xbin/fuser",
"/system/xbin/getopt", "/system/xbin/grep", "/system/xbin/groups",
"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/id",
"/system/xbin/ifconfig", "/system/xbin/inetd", "/system/xbin/insmod",
"/system/xbin/install", "/system/xbin/iostat", "/system/xbin/ip",
"/system/xbin/kill", "/system/xbin/killall", "/system/xbin/killall5",
"/system/xbin/length", "/system/xbin/less", "/system/xbin/ln",
"/system/xbin/losetup", "/system/xbin/ls", "/system/xbin/lsattr",
"/system/xbin/lsmod", "/system/xbin/lsusb", "/system/xbin/lzcat",
"/system/xbin/lzma", "/system/xbin/lzop", "/system/xbin/lzopcat",
"/system/xbin/man", "/system/xbin/md5sum", "/system/xbin/mesg",
"/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",
"/system/xbin/mkfs.ext2", "/system/xbin/mkfs.vfat",
"/system/xbin/mknod", "/system/xbin/mkswap", "/system/xbin/mktemp",
"/system/xbin/modinfo", "/system/xbin/modprobe", "/system/xbin/more",
"/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mpstat",
"/system/xbin/mv", "/system/xbin/nanddump", "/system/xbin/nandwrite",
"/system/xbin/netstat", "/system/xbin/nice", "/system/xbin/nohup",
"/system/xbin/nslookup", "/system/xbin/ntpd", "/system/xbin/od",
"/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",
"/system/xbin/ping", "/system/xbin/pkill", "/system/xbin/pmap",
"/system/xbin/poweroff", "/system/xbin/printenv", "/system/xbin/printf",
"/system/xbin/ps", "/system/xbin/pstree", "/system/xbin/pwd",
"/system/xbin/pwdx", "/system/xbin/rdev", "/system/xbin/readlink",
"/system/xbin/realpath", "/system/xbin/renice", "/system/xbin/reset",
"/system/xbin/resize", "/system/xbin/rev", "/system/xbin/rm",
"/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route",
"/system/xbin/run-parts", "/system/xbin/rx", "/system/xbin/sed",
"/system/xbin/seq", "/system/xbin/setconsole", "/system/xbin/setserial",
"/system/xbin/setsid", "/system/xbin/sh", "/system/xbin/sha1sum",
"/system/xbin/sha256sum", "/system/xbin/sha512sum",
"/system/xbin/sleep", "/system/xbin/sort", "/system/xbin/split",
"/system/xbin/stat", "/system/xbin/strings", "/system/xbin/stty",
"/system/xbin/sum", "/system/xbin/swapoff", "/system/xbin/swapon",
"/system/xbin/sync", "/system/xbin/sysctl", "/system/xbin/tac",
"/system/xbin/tail", "/system/xbin/tar", "/system/xbin/taskset",
"/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd",
"/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd",
"/system/xbin/time", "/system/xbin/timeout", "/system/xbin/top",
"/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute",
"/system/xbin/true", "/system/xbin/ttysize", "/system/xbin/tune2fs",
"/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uncompress",
"/system/xbin/unexpand", "/system/xbin/uniq", "/system/xbin/unix2dos",
"/system/xbin/unlzma", "/system/xbin/unlzop", "/system/xbin/unxz",
"/system/xbin/unzip", "/system/xbin/uptime", "/system/xbin/usleep",
"/system/xbin/uudecode", "/system/xbin/uuencode", "/system/xbin/vi",
"/system/xbin/watch", "/system/xbin/wc", "/system/xbin/wget",
"/system/xbin/which", "/system/xbin/whoami", "/system/xbin/xargs",
"/system/xbin/xz", "/system/xbin/xzcat", "/system/xbin/yes",
"/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chcon", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/cp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg", "/system/bin/du", "/system/bin/getenforce",
"/system/bin/getevent", "/system/bin/getprop", "/system/bin/getsebool", "/system/bin/grep", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/load_policy", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/md5", "/system/bin/mkdir", "/system/bin/mount",
"/system/bin/mv", "/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/playback", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/restorecon", "/system/bin/rm", "/system/bin/rmdir",
"/system/bin/rmmod", "/system/bin/route", "/system/bin/runcon", "/system/bin/schedtop",
"/system/bin/sendevent", "/system/bin/setconsole", "/system/bin/setenforce",
"/system/bin/setprop", "/system/bin/setsebool", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/sync",
"/system/bin/top", "/system/bin/touch", "/system/bin/touchinput", "/system/bin/umount",
"/system/bin/uptime", "/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0644, "/data/xposed");
set_perm(0, 0, 0666, "/data/xposed/modules.list");
set_perm(0, 0, 0666, "/data/xposed/modules.whitelist");
set_perm_recursive(0, 0, 0755, 0644, "/data/app");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pair_devlist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm_recursive(0, 0, 0755, 0755, "/system/etc/init.d");
ui_print("Flashing Kernel ...");
assert(package_extract_file("wanam/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p9"),
delete("/tmp/boot.img"));
show_progress(0.100000, 0);
unmount("/system");
unmount("/data");
ui_print(" ");
ui_print("Thanks for using WanamLite Rom, please reboot");
ok, i don't know about the 9190 partition, but it must be the same as 9192
so...
Code:
show_progress(0.1, 0);
unmount
# format system partition
format("ext4", "EMMC", "/dev/block/mmcblk0p21");
# mount partitions
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/efs", "/efs")
# WIPING DATA
#delete cache partition
delete_recursive("/cache");
# this will be delete all contents of data folder
delete_recursive("/data");
# Delete system partition
delete_recursive("/system");
# Copying
package_extract_dir("system", "/system");
#Symlinking
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
symlink("toolbox", "/system/bin/chcon");
symlink("toolbox", "/system/bin/setenforce");
symlink("toolbox", "/system/bin/grep");
symlink("toolbox", "/system/bin/runcon");
symlink("toolbox", "/system/bin/touchinput");
symlink("toolbox", "/system/bin/md5");
symlink("toolbox", "/system/bin/getsebool");
symlink("toolbox", "/system/bin/setsebool");
symlink("toolbox", "/system/bin/restorecon");
symlink("toolbox", "/system/bin/getenforce");
symlink("toolbox", "/system/bin/load_policy");
symlink("toolbox", "/system/bin/cp");
symlink("toolbox", "/system/bin/playback");
symlink("toolbox", "/system/bin/du");
symlink("wiperiface_v02", "/system/bin/wiperiface");
# Setting permission
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pair_devlist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
show_progress(0.1, 10);
show_progress(0.2, 0);
#Install The kernel
package_extract_file("amestris/boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(0.2, 10);
unmount("/system");
init.d support is the kernel feature.
advice ; don't change the modem.
the meta-inf is attahced to this post.
if you had a problem or want more explanation , you just need to ask me here.
best regards.
Big thanks. I will try soon :silly:
Hi M_J_Nazari, how to add busybox ?
Thank you M_J_Nazari, script work perfect.
Just to make sure is it only this I need to use to backup/change settings in build.prop :
#Mounting partitions
ui_print(" Mounting Partitions");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
#Install Files into System partition
ui_print(" Copying Data...");
package_extract_dir("system", "/system");
#Setting Permissions to files
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm(0, 0, 0644, "/system/build.prop");
Click to expand...
Click to collapse
If so, do I need to change any settings?
Hi all
citymen34 said:
Hi M_J_Nazari, how to add busybox ?
Click to expand...
Click to collapse
you need to put busybox into /system/xbin folder
then add these lines to your script , exactly before the installing kernel section
Code:
# Installing Busybox
ui_print(" Instaling Busybox ...");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
EwOkie said:
Just to make sure is it only this I need to use to backup/change settings in build.prop :
If so, do I need to change any settings?
Click to expand...
Click to collapse
just for build.prop ?
Step by Step
Code:
# Mount System Partition
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
Code:
# make a backup from existing build.prop and copy it to sdcard
package_extract_file("/system/build.prop", "/sdcard/0/build.prop");
it will copy the current build.prop to sdcard/build.prop
now, we will copy our new build.prop that located beside of meta-inf folder into system partition of our phone.
Code:
package_extract_file("build.prop", "/system/build.prop");
now we will set the permission for new build.prop file.
Code:
set_perm(0, 0, 0644, "/system/build.prop");
------------------------------------------------------------------------------
final result is:
to make a backup and install new file
Code:
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_file("/system/build.prop", "/sdcard/0/build.prop");
package_extract_file("build.prop", "/system/build.prop")
set_perm(0, 0, 0644, "/system/build.prop");
to restore a backup from last one:
if you want to restore a backup you need to use this line
package_extract_file("/sdcard/0/build.prop" , "/system/build.prop");
Code:
# Restore Script
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_file("/sdcard/0/build.prop" , "/system/build.prop");
set_perm(0, 0, 0644, "/system/build.prop");
[/CODE]
Best Regards
# Mount System Partition
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
Click to expand...
Click to collapse
The by-name do i leave this as is or do I change this?
Thanks for helping me
EwOkie said:
The by-name do i leave this as is or do I change this?
Thanks for helping me
Click to expand...
Click to collapse
don't change it, it seems these partition names are the same for all qualcom chipsets.
If I only wish to flash framework-res.apk what do i need to do?
Tried the build.prop script you gave and flashed with CWM then wiped cache and dalvic cache whch came up :
no sd/ext found or something
Buy says wipe complete below ...so restarted phone and build.prop still the same ?
Like its not writing to the System...
Help please
Hi M_J_Nazari, this modem updater script or not ? please help me. i'm trying to make a new fully rom. Big thanks.
ui_print("Flashing Modem ...");
package_extract_file("NON-HLOS.bin", "/dev/block/mmcblk0p1");
citymen34 said:
Hi M_J_Nazari, this modem updater script or not ? please help me. i'm trying to make a new fully rom. Big thanks.
ui_print("Flashing Modem ...");
package_extract_file("NON-HLOS.bin", "/dev/block/mmcblk0p1");
Click to expand...
Click to collapse
Not sure but I think it's better to use "by-name" reference to the block devices:
Code:
package_extract_file("NON-HLOS.bin", "/dev/block/platform/msm_sdcc.1/by-name/modem");
citymen34 said:
Hi M_J_Nazari, this modem updater script or not ? please help me. i'm trying to make a new fully rom. Big thanks.
ui_print("Flashing Modem ...");
package_extract_file("NON-HLOS.bin", "/dev/block/mmcblk0p1");
Click to expand...
Click to collapse
ladislav.heller said:
Not sure but I think it's better to use "by-name" reference to the block devices:
Code:
package_extract_file("NON-HLOS.bin", "/dev/block/platform/msm_sdcc.1/by-name/modem");
Click to expand...
Click to collapse
i didn't test the modem installing by cwm , it is very risky and maybe break your phone.
i recommend you to change modem by ODIN, just load the "NON-HLOS.bin" file into "PHONE' slot with disabling "F.Reset Time" option.
EwOkie said:
If I only wish to flash framework-res.apk what do i need to do?
Tried the build.prop script you gave and flashed with CWM then wiped cache and dalvic cache whch came up :
no sd/ext found or something
Buy says wipe complete below ...so restarted phone and build.prop still the same ?
Like its not writing to the System...
Help please
Click to expand...
Click to collapse
load system partition
copy your system dir to phone
set the 0644 permission for that.
finish.