Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,363 Members 47,759 Now Online
XDA Developers Android and Mobile Development Forum

[9001][SCRIPTS] The making of ... an ODIN installable package [2011-12-21]

Tip us?
 
nikagl
Old
#31  
nikagl's Avatar
Senior Member - OP
Thanks Meter 390
Posts: 2,080
Join Date: Jun 2006
Location: Nieuwegein, NL

 
DONATE TO ME
Hi all,

Instead of adding it to this thread, I created a new thread for the CWM recovery method of creating an Odin file! Hope you like it

Go here:
http://forum.xda-developers.com/show....php?t=1476130

Regards,

Nika.
Nika Gerson Lohman (nikagl)
 
FlorisNL
Old
#32  
FlorisNL's Avatar
Senior Member
Thanks Meter 376
Posts: 494
Join Date: Jun 2011
Location: Amersfoort
Question.. Which file do I have to upload if somebody want to flash it? the tar.md5 or the tar?
If I have helped you in any way, please hit the thanks button

 
nail16
Old
#33  
nail16's Avatar
Senior Member
Thanks Meter 292
Posts: 766
Join Date: Nov 2011
Location: Mumbai
tar.md5 always
if you want them to flash it via odin
 
rayiskon
Old
#34  
rayiskon's Avatar
Senior Member
Thanks Meter 1143
Posts: 1,908
Join Date: Jan 2011
Quote:
Originally Posted by FlorisNL View Post
Question.. Which file do I have to upload if somebody want to flash it? the tar.md5 or the tar?
tar.md5 ..
 
FlorisNL
Old
#35  
FlorisNL's Avatar
Senior Member
Thanks Meter 376
Posts: 494
Join Date: Jun 2011
Location: Amersfoort
Quote:
Originally Posted by nail16 View Post
tar.md5 always
if you want them to flash it via odin
Quote:
Originally Posted by rayiskon View Post
tar.md5 ..
thanks mates ((:
If I have helped you in any way, please hit the thanks button

 
ramzidjoudi
Old
#36  
ramzidjoudi's Avatar
Senior Member
Thanks Meter 77
Posts: 245
Join Date: Jun 2011
thank you for this
it's very interresting


i try it but i have this errors :

PHP Code:
*********** Started22/04/2012  8:22:49,92
adb server is out of date
.  killing...
daemon started successfully *
** 
daemon still not runningerrorcannot connect to daemon
adb server is out of date
.  killing...
daemon started successfully *
3043 KB/(5405996 bytes in 1.734s)
adb server is out of date.  killing...
daemon started successfully *
** 
daemon still not runningerrorcannot connect to daemon
adb server is out of date
.  killing...
daemon started successfully *
2848 KB/(4739072 bytes in 1.625s)
adb server is out of date.  killing...
ADB server didn't ACK
* failed to start daemon *
error:
adb server is out of date.  killing...
* daemon started successfully *
2870 KB/s (6291456 bytes in 2.140s)
*********** Push done: 22/04/2012  8:23:29,57
adb server is out of date.  killing...
* daemon started successfully *
** daemon still not runningerror: cannot connect to daemon
adb server is out of date.  killing...
* daemon started successfully *
1280+0 records in
1280+0 records out
5242880 bytes transferred in 0.129 secs (40642480 bytes/sec)
adb server is out of date.  killing...
ADB server didn'
t ACK
failed to start daemon *
error:
adb server is out of date.  killing...
daemon started successfully *
133120+0 records in
133120
+0 records out
545259520 bytes transferred in 73.883 secs 
(7380040 bytes/sec)
adb server is out of date.  killing...
daemon started successfully *
remount succeeded
*********** Extract done22/04/2012  8:25:12,42
adb server is out of date
.  killing...
daemon started successfully *
su
mount 
-o remount rw /system
cd 
/sdcard/BuildRom
tar 
-c adsp.mbn amss.mbn boot.img cache.img.ext4 preload.img.ext4 recovery.img s
ystem
.img.ext4 >CraniumRC5.tar
cp CraniumRC5
.tar CraniumRC5.tar.md5
md5sum 
-t CraniumRC5.tar>>CraniumRC5.tar.md5
exit
exit
# su
# mount -o remount rw /system
# cd /sdcard/BuildRom
# tar -c adsp.mbn amss.mbn boot.img cache.img.ext4 preload.img.ext4 recovery.img
 
system.img.ext4 >CraniumRC5.tar
tar
amss.mbnNo such file or directory
tar
cache.img.ext4No such file or directory
tar
recovery.imgNo such file or directory
tar
error exit delayed from previous errors
# cp CraniumRC5.tar CraniumRC5.tar.md5
# md5sum -t CraniumRC5.tar>>CraniumRC5.tar.md5
# exit
# exit
*********** Image created22/04/2012  8:28:13,93
Android Debug Bridge version 1.0.25

 
-d                            directs command to the only connected USB devic
e
                                 returns an error 
if more than one USB device is
 present
.
 -
e                            directs command to the only running emulator.
                                 
returns an error if more than one emulator is r
unning
.
 -
<serial number>            - directs command to the USB device or emulator w
ith
                                 the given serial number
Overrides ANDROID_SERI
AL
                                 envivornment variable
.
 -
<product name or path>     - simple product name like 'sooner', or
                                 
a relative/absolute path to a product
                                 out directory like 
'out/target/product/sooner'.

                                 If -
p is not specifiedthe ANDROID_PRODUCT_OUT

                                 environment variable is used
which must
                                 be an absolute path
.
 
devices                       - list all connected devices
 connect 
<host>:<port>         - connect to a device via TCP/IP disconnect <host
>:<port>      - disconnect from a TCP/IP device
device commands
:
  
adb push <local> <remote>    - copy file/dir to device
  adb pull 
<remote> <local>    - copy file/dir from device
  adb sync 
[ <directory> ]     - copy host->device only if changed
                                 
(see 'adb help all')
  
adb shell                    run remote shell interactively
  adb shell 
<command>          - run remote shell command
  adb emu 
<command>            - run emulator console command
  adb logcat 
[ <filter-spec> ] - View device log
  adb forward 
<local> <remote> - forward socket connections
                                 forward specs are one of
:
                                   
tcp:<port>
                                   
localabstract:<unix domain socket name>
                                   
localreserved:<unix domain socket name>
                                   
localfilesystem:<unix domain socket name>
                                   
dev:<character device name>
                                   
jdwp:<process pid> (remote only)
  
adb jdwp                     - list PIDs of processes hosting a JDWP transport

  adb install 
[-l] [-r] <file> - push this package file to the device and instal
l it
                                 
('-l' means forward-lock the app)
                                 (
'-r' means reinstall the appkeeping its data
)
  
adb uninstall [-k] <package> - remove this app package from the device
                                 
('-k' means keep the data and cache directories
)
  
adb bugreport                - return all information from the device
                                 that should be included in a bug report
.

  
adb help                     show this help message
  adb version                  
show version num

DATAOPTS
:
 (
no option)                   - don't touch the data partition
  -w                           - wipe the data partition
  -d                           - flash the data partition

scripting:
  adb wait-for-device          - block until device is online
  adb start-server             - ensure that there is a server running
  adb kill-server              - kill the server if it is running
  adb get-state                - prints: offline | bootloader | device
  adb get-serialno             - prints: <serial-number>
  adb status-window            - continuously print device status for a specifie
d device
  adb remount                  - remounts the /system partition on the device re
ad-write
  adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
tloader or recovery program
  adb root                     - restarts the adbd daemon with root permissions
  adb usb                      - restarts the adbd daemon listening on USB  adb
tcpip <port>             - restarts the adbd daemon listening on TCP on the spec
ified port
networking:
  adb ppp <tty> [parameters]   - Run PPP over USB.
 Note: you should not automatically start a PPP connection.
 <tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
 [parameters] - Eg. defaultroute debug dump local notty usepeerdns

adb sync notes: adb sync [ <directory> ]
  <localdir> can be interpreted in several ways:

  - If <directory> is not specified, both /system and /data partitions will be u
pdated.

  - If it is "system" or "data", only the corresponding partition
    is updated.
Accès refusé.
*********** Rom available for upload: 22/04/2012  8:28:17,07
*********** OK?! Press key to make it with shell input
Appuyez sur une touche pour continuer... 
and in sdcard i foud directory named BuildRom with these files :

adsp.mbn : 5280 Ko
boot.img : 5120 Ko
CraniumRC5.tar : 549027 Ko
CraniumRC5.tar.md5 : 549027 Ko
preload.img.ext4 : 6144 Ko
system.img.ext4 : 532480 Ko

what to do then?
 
broodplank1337
Old
#37  
broodplank1337's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 9985
Posts: 4,938
Join Date: Nov 2011
Location: Nijmegen

 
DONATE TO ME
Cannot connect to daemon. never seen it before. have you installed samsung usb drivers?
any change adb is blocked by your firewall? (or whatever)
Device: Samsung Galaxy S4 (i9505)

Latest Development:
 

Roms:
AOSP v4.4.4 (KTU84P) from source for I9505 (Github)
- Cleanest ROM available for i9505. along with up-to-date stock kernel, also forms a perfect base for ROM developers.

Apps:
Galaxy S4 Glove Mode App (Playstore link)
- Do you want the Glove Mode of the S4 but your ROM doesn't support it? Use this app to enable/disable it easily.

Latest Scraps:
Proprietary Lib Cleaner / Silent proprietary libs / Live Thermal Monitor / GIT Conflict Fixer

Projects in development:
 

broodROM KitKat "Aiming for perfection"
- Custom ROM with really high standards, more info soon

For sources you can visit my Github. Or take a look at all my projects

 
ramzidjoudi
Old
#38  
ramzidjoudi's Avatar
Senior Member
Thanks Meter 77
Posts: 245
Join Date: Jun 2011
Quote:
Originally Posted by broodplank1337 View Post
Cannot connect to daemon. never seen it before. have you installed samsung usb drivers?
any change adb is blocked by your firewall? (or whatever)
thank you for reply
samsung usb drivers are successfull installed
i can use the adb sheel for well

edit : ignore this i have done with other tuto i work fine
http://forum.xda-developers.com/show...6#post25158976

thank you

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


LifeStats Automatic Journal Keeps Tabs of Your Day

Most of us live very active lives. This is after all why we’re fans of mobile … more

Android App Review: Hide Your Files with Androignito – XDA Developer TV

Stop right now, look at your phone, and see how many pictures, … more

BrightNotes Makes Cloud Notes Simple and Easy

There are literally thousands of note taking apps available on Android, with practically every … more

Google Glass XE20.1 Update Brings Improved Contacts, Head Nudge, New Cards and Commands

Ever since Google unveiled Android Wear earlier this … more