yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] tracid:
Due to health problems, I didn't have time for this matter.

Started again, wrote a JNI Wrapper that loads libdprw.so (that contains the split functions). I have a strange problem when loading it (java.lang.UnsatisfiedLinkError: unknown failure), trying to figure it out...

EDIT: Library loaded, trying to communicate with it's functions...

EDIT2: The package name is hardcoded in the lib, so I need to hex edit it... or grant root privileges to the app

EDIT3: su gets root for the app, but not for the lib

EDIT4: hexing partially works, we still need root for /cache partition

09-18 18:17:53.960: D/dalvikvm(3122): Trying to load lib /data/data/ro.tracid.fota/lib/libdprw.so 0x4076cee8
09-18 18:17:53.960: D/dalvikvm(3122): Added shared lib /data/data/ro.tracid.fota/lib/libdprw.so 0x4076cee8
09-18 18:17:53.960: I/jnifota.cpp(3122): JNI_OnLoad
09-18 18:17:53.960: I/jnifota.cpp(3122): FOTA_WriteFlag
09-18 18:17:53.960: I/dp.c(3122): call dp_set_flag
09-18 18:17:53.960: I/dp.c(3122): mkdir(/cache/fota/): ret=-1 errno=13
09-18 18:17:53.960: I/dp.c(3122): Open fail /cache/fota/fota.status
09-18 18:17:53.960: I/jnifota.cpp(3122): FOTA_DeltaWrite :
09-18 18:17:53.960: I/dp.c(3122): dp_write_fw_delta path : /sdcard/ota.bin
09-18 18:17:54.030: I/dp.c(3122): Open /sdcard/ota.bin
09-18 18:17:54.040: I/dp.c(3122): DP Version : DP_7_0
09-18 18:17:54.040: I/dp.c(3122): APFWDeltaSize(kernel): 4553496
09-18 18:17:54.040: I/dp.c(3122): APFSDeltaSize(platform): 252019202
09-18 18:17:54.040: I/dp.c(3122): APSBLDeltaSize(sbl): 0
09-18 18:17:54.040: I/dp.c(3122): APUADeltaSize(ua): 324664
09-18 18:17:54.040: I/dp.c(3122): BPFWDeltaSize(modem): 367644
09-18 18:17:54.040: I/dp.c(3122): BPSBLDeltaSize(hidden): 53529324
09-18 18:17:54.040: I/dp.c(3122): BPUADeltaSize(recovery): 5044224
09-18 18:17:54.040: I/dp.c(3122): CPFWDeltaSize(modem_3g): 0
09-18 18:17:54.040: I/dp.c(3122): CPSBLDeltaSize(modem_lte): 0
09-18 18:17:54.040: I/dp.c(3122): CPUADeltaSize(not used): 0
09-18 18:17:54.040: I/dp.c(3122): APFSTrgValDeltaSize(flex): 0
09-18 18:17:54.040: I/dp.c(3122): mkdir(/cache/fota/): ret=-1 errno=13
09-18 18:17:54.060: I/dp.c(3122): dp_split offset = 0x50, size = 0x457b18, path=/cache/fota/delta.zImage
09-18 18:17:54.250: I/dp.c(3122): dp_split path=/cache/fota/delta.zImage
09-18 18:17:54.260: I/dp.c(3122): Failed to open /cache/fota/delta.zImage: Permission denied
09-18 18:17:54.260: I/dp.c(3122): dp_split(kernel) failed with return value: -1

EDIT5: chmod 0777 /cache did the trick

shell@android:/cache/fota $ ls -al
ls -al
-rw-r--r-- app_110 app_110 53529324 2012-09-18 18:22 delta.hidden
-rw-r--r-- app_110 app_110 367644 2012-09-18 18:22 delta.modem
-rw-r--r-- app_110 app_110 252019202 2012-09-18 18:21 delta.platform
-rw-r--r-- app_110 app_110 5044224 2012-09-18 18:22 delta.recovery
-rw-r--r-- app_110 app_110 324664 2012-09-18 18:22 delta.ua
-rw-r--r-- app_110 app_110 4553496 2012-09-18 18:21 delta.zImage
-rw-r--r-- app_110 app_110 36 2012-09-18 18:21 fota.status
[Android Software/Hacking General [Developers Only]] tracid:
Update in progress ;)
[Android Software/Hacking General [Developers Only]] tracid:
First post from official ICS GTab 8.9 :)
[Android Software/Hacking General [Developers Only]] ibanezq:
:thumbup::o

Wysyłane z mojego GT-P7300 za pomocą Tapatalk 2
[Android Software/Hacking General [Developers Only]] Dr.Fix:
OMG I'm moved to tears. :good:

Anything working fine? I think we'd need some further tests for battery, 3G (is it working all over the world? we'll see), etc.. which languages are included?
[Android Software/Hacking General [Developers Only]] safariking:
Can anyone dump the system for me so that i can make a CWM Flashable zip
[Android Software/Hacking General [Developers Only]] tracid:
I'm already working on it, please be patient.
[Android Software/Hacking General [Developers Only]] Nadavi:
tracid, Can you please create an application to handle these .bin files.

from .bin to the parts inside. then we can use ODIN to write them or create update.zip.

Here is a sample one For the Galaxy Note: "http://www.hotfile.com/dl/171858907/a3bc9d2/GT-N7000_ILO_354458940.bin.html"
[Android Software/Hacking General [Developers Only]] tracid:
Nadavi, the application is semi-automatic. You need to chmod 0777 /cache before running it. Even if the app itself gets root permission granted, the library seems to run under the apps normal permission. Will try to fix and upload it these days.
[Android Software/Hacking General [Developers Only]] Nadavi:
HI,

i don't have the ota update on my phone.

i have the .bin file.

How to start?

Can you post the needed files?

instructions?

Nadav.
[Android Software/Hacking General [Developers Only]] tracid:
First post updated with instructions + application.
[Android Software/Hacking General [Developers Only]] geek78:
thanks ;) it is time to flash ...
[Android Software/Hacking General [Developers Only]] tracid:
The ICS dump for P7300 has been posted here: http://xdaforums.com/showthread.php?t=1893456
[Android Software/Hacking General [Developers Only]] darth_mickrig:
How to bypass the maximum folder size of the Cache Folder? I am stuck at that step, trying to extract an Galaxy S2 DBT update.
[Android Software/Hacking General [Developers Only]] tracid:
Send me your libdprw.so file. It's included syncmldm.apk/lib/

It is possible that your files are extracted somewhere else (maybe /sdcard)
[Android Software/Hacking General [Developers Only]] darth_mickrig:
Here is the lib. Hope you can solve this problem.
[Android Software/Hacking General [Developers Only]] geek78:
perfect app ! I am now under official ICS ;) Thanks again !
[Android Software/Hacking General [Developers Only]] tracid:
Are you sure that your OTA is not a .zip archive? Try to open it. If it is, you don't need this app, you can easily rename it to name.zip and flash from stock recovery (install zip from sdcard)
[Android Software/Hacking General [Developers Only]] darth_mickrig:
I am sure it's not a .zip file because I can't open it with WinRAR. Also, Galaxy S2 updates are delivered through Redbend OTA. So it has a high probability of being extracted through your apk.
[Android Software/Hacking General [Developers Only]] tracid:
I've included your libdprw in the package. Let me know the results.
[Android Software/Hacking General [Developers Only]] darth_mickrig:
Getting FC on the app.
[Android Software/Hacking General [Developers Only]] tracid:
Try again, please. The attachment download counter says 0. (previous post)
[Android Software/Hacking General [Developers Only]] darth_mickrig:
Tried again and clicking on the apps button now does no action at all.

I am using this update http://fota-dn.ospserver.net/firmware/DBT/GT-I9100/0a4a1c40057e4212b8a5e10c963ed85c.bin (Galaxy S2 German unbranded). Would it be extractable via Winrar or similar software, I would have already been able to apply the OTA update. But unfortunately I'm not able to extract it.
[Android Software/Hacking General [Developers Only]] tracid:
adb logcat > log.txt

and upload :)
[Android Software/Hacking General [Developers Only]] darth_mickrig:
this is output of the log "Unable to open log device '/dev/log/main': No such file or directory"

Seems to be, that I have deeper problems with my current ROM.
[Android Software/Hacking General [Developers Only]] tracid:
I'll update the opening post with the source code and provide extra explanations for devs.

Eventually, if noone is willing to help from the huge number of S2 devs, I'll help out thru teamviewer :)
[Android Software/Hacking General [Developers Only]] darth_mickrig:
It might actually be an error with the OTA File itself. When I use a hex-editor to open the OTA file I get different headers. I'll try again tomorrow, when I'm back from work. Probably be able to solve it then.
[Android Software/Hacking General [Developers Only]] Nadavi:
Galaxy Note 2.3.6 assistance

Hi tracid,

1. The .apk doesn't work on Galaxy Note 2.3.6 version (says API is too high for the device).

2. I tried to run the FOTA.apk on Samsung Galaxy S3 to split the Note .bin file. (http://www.hotfile.com/dl/171858907/a3bc9d2/GT-N7000_ILO_354458940.bin.html)

It split it ok i think.

3. These are the files i got after the split:

09/19/2012 11:13 AM 87,813,586 delta.hidden

09/19/2012 11:13 AM 296,720 delta.modem

09/19/2012 11:14 AM 262,597,502 delta.platform

09/19/2012 11:13 AM 1,310,720 delta.Sbl

09/19/2012 11:13 AM 204,284 delta.ua

09/19/2012 11:14 AM 5,212,376 delta.zImage

09/19/2012 11:14 AM 36 fota.status

As you can see the modem is only 296,720 bytes, which i believe is too small.

4. Anyway, i pushed the files to the /cache/fota dir on the Galaxy Note and got not enough space error.

How to complete this function properly on the Galaxy Note 2.3.6?

5. another thing i tried, is to copy all files without the delta.platform to the /cache/fota dir and run the adb reboot fota, but the device just started as usual (might be because i don't have stock recovery, i will try with stock recovery later...)

6. Odin trial: I also took the delta.platfom and renamed it to factoryfs.img and put it inside an official .tar file for 4.0.4 for the Galaxy Note (replaced the factory.fs and removed the userdata.img so the device will not be deleted, i got errors in ODIN trying it, it fails on the factoryfs.img file.

7. I also tried to copy all the fota dir into fota.zip and update using the recovery, keeps failing as well.

any advise?

Nadav.
[Android Software/Hacking General [Developers Only]] tracid:
1. I've compiled the project for minimum API 13 (HC 3.2). Going to post the source later with descriptions.

2. The split is OK

3. The modem size is correct. Keep in mind, it's a delta (patch) file. It contains the differences between the actual modem and the new one. It is NOT the full, new modem.

4. Same issue with S2, needs investigation.

5. You need stock recovery. You might need to: echo -n "--install_fota" > /cache/recovery/command

6. Adding a delta file to Odin won't work, as it's not a filesystem or userdata

7. Try copying all the files to /sdcard/fota/ instead of /cache/fota
[Android Software/Hacking General [Developers Only]] Nadavi:
Ok.

Updates:

1. i now have a 2.3.6 Note with Stock recovery+root.

2. i copied all the fota files not including "delta.platform" which is 256 MB (the folder is only 192 MB), then i went to recovery and pressed "test redbend fota[ES]", the process was completed and the device of course wouldn't boot (no factoryfs.img).

3. i copied the fota to /sdcard and ran the process again, this time when i press "test redbend fota[ES]" in the recovery, it just reboot the device....:(

where else can i push the fota update files to make the update avail to the recovery?

Filesystem Size Used Free Blksize

/dev 400M 76K 400M 4096

/mnt/asec 400M 0K 400M 4096

/mnt/obb 400M 0K 400M 4096

/mnt/usb 400M 0K 400M 4096

/app-cache 8M 0K 8M 4096

/system 838M 788M 50M 4096

/cache 196M 4M 192M 4096

/efs 19M 8M 11M 4096

/data 1G 69M 1G 4096

/mnt/.lfs: Function not implemented

/mnt/sdcard 11G 1G 9G 16384

Thanks,

Nadav
[Android Software/Hacking General [Developers Only]] tracid:
Give me the following files: /system/app/syncmldm.apk and syncmldm.odex

You cannot boot into the OS so can not use an .apk, right?
[Android Software/Hacking General [Developers Only]] Nadavi:
I can use the device, i recovered it already. (wrote the 2.3.6+root again).

Here is the .apk and Odex

"http://www.sendspace.com/file/4nzih3" (click on "download from sendspace").

Thanks!

Nadav.
[Android Software/Hacking General [Developers Only]] tracid:
Give me about half an hour. I'll create an APK for GB & with your lib. The only issue that might appear is with permissions. Should figure out how to execute the NDK lib as root.
[Android Software/Hacking General [Developers Only]] Nadavi:
What about the space in the /cache folder?

Nadav.
[Android Software/Hacking General [Developers Only]] tracid:
It looks like you have the following options using the lib extracted from your Note:

/cache/fota/

/data/fota/

/mnt/sdcard/tmp_sec_fota/

/mnt/sdcard/external_sd/tmp_sec_fota/
[Android Software/Hacking General [Developers Only]] tracid:
Please also dump your /system/framework
[Android Software/Hacking General [Developers Only]] Nadavi:
http://www.sendspace.com/file/mazkmn
[Android Software/Hacking General [Developers Only]] tracid:
Nadavi, try this:

Please post the adb logcat.

After the process is done, you need to "reboot recovery", not "reboot fota".

PS: you might need to:

su

mkdir /data/fota/

chmod 0777 /data/fota

Attachment: Note.apk
[Android Software/Hacking General [Developers Only]] Nadavi:
Made the directory /data/fota gave it 0777 perms.

This is the logcat:

I/InputReader( 2767): dispatchTouch::touch event's action is 1, pending(waiting

finished signal)=0

I/InputDispatcher( 2767): Delivering touch to current input target: action: 1, c

hannel '408c6c48 ro.tracid.fotanote/ro.tracid.fotanote.MainActivity (server)'

I/InputDispatcher( 2767): Delivering touch to current input target: action: 1, c

hannel 'PenGestureView (server)'

I/jnifota.cpp( 3920): FOTA_WriteFlag

I/dp.c ( 3920): call dp_set_flag

I/dp.c ( 3920): mkdir(/cache/fota/): ret=-1 errno=13

I/dp.c ( 3920): Open fail /cache/fota/fota.status

I/jnifota.cpp( 3920): FOTA_DeltaWrite :

I/dp.c ( 3920): dp_write_fw_delta path : /sdcard/ota.bin

I/dp.c ( 3920): Failed to open /data/data/com.wssyncmldm/dprw.status: Permiss

ion denied

Somthing is wrong in the .apk maybe?

Nadav.
[Android Software/Hacking General [Developers Only]] tracid:
Yeah, I forgot about hex editing the lib... doing it now
[Android Software/Hacking General [Developers Only]] tracid:
There you go, this should work :)
[Android Software/Hacking General [Developers Only]] Nadavi:
hi,

Ok, the note now is able to extract the file into data/fota.

when i run the fota update in the recovery, it keeps running until about 30% then fails to update....

i don't know why.

Maybe some files are not splitted correctly? how to find out?

BTW: the files were split the same as they were when i tried with the S3.

Nadav
[Android Software/Hacking General [Developers Only]] tracid:
Attach de delta.ua file so I can verify where does the RedBend update agent save logs.

By the way, you need to be on I9100XWKI4_XXKI1_DBTKH1
[Android Software/Hacking General [Developers Only]] Nadavi:
Also, after the FOTA fails suddenly there is a new directory /data/fota/fota_platform

---------- Post added at 01:11 PM ---------- Previous post was at 01:11 PM ----------

I9100 is a Galaxy S2 version.

The note is N7000

Nadav.

---------- Post added at 01:12 PM ---------- Previous post was at 01:11 PM ----------

Here is the delta file

http://www.sendspace.com/file/fg2l8s

Nadav
[Android Software/Hacking General [Developers Only]] tracid:
Sorry, I've been checking another ota.bin file.

The required base version for the update can be found at the and of the .bin (viewed by text or hex editor)
[Android Software/Hacking General [Developers Only]] Nadavi:
I Know,

i'm on "N7000JKLA3_JKKL1_ILOLA3" which is the requirement.
[Android Software/Hacking General [Developers Only]] tracid:
Do you have a file called /system/etc/ssfback? If so, what's the contents?
[Android Software/Hacking General [Developers Only]] Nadavi:
Here is the file:

http://www.sendspace.com/file/ioyh8j
[Android Software/Hacking General [Developers Only]] tracid:
You should check a few locations for log files.

/data/fota

/cache

/cache/recovery

/cache/hidden

and so on
[Android Software/Hacking General [Developers Only]] Nadavi:
no log files i can find...

However in the folder there were two objects added:

file "fota_Sbl"

and a directory fota_platform

Nadav

---------- Post added at 02:03 PM ---------- Previous post was at 01:50 PM ----------

Finally i managed to update my Note 2.3.6.

all i had to do is delete the delta.sbl file from the fota folder and the update went smoothly.

Thanks for your efforts tracid!

Nadav :)
[Android Software/Hacking General [Developers Only]] tracid:
Glad to hear it. It seems like it failed to update the bootloader.
[Android Software/Hacking General [Developers Only]] AcidFX:
galaxy zr

Tracid, i'm trying to use your apk on galaxy r 9103, but after pressing the button in fota, it gives root rights and then appl. crashes. I mean it closes itself. In cache folder i have only status file and no delta files. (i used different builds, first 2 doesn't do anything, build for note creates a file and crashes)/ Please help!
[Android Software/Hacking General [Developers Only]] tracid:
Dump me the files asked in post 2, and I will get back to you later
[Android Software/Hacking General [Developers Only]] AcidFX:
Here they are! :fingers-crossed:

Files
[Android Software/Hacking General [Developers Only]] tracid:
There you go.

The update can be saved in the following dirs:

/cache/fota/

/data/fota/

/mnt/sdcard/fota/

/mnt/sdcard/external_sd/fota/

Make sure to create the first 2 (if they dont exist) and chmod 0777

I don't think the last two are actually used.
[Android Software/Hacking General [Developers Only]] AcidFX:
Thanx Tracid! I've tried this build. But it doesn't work.

Before installing, i've deleted old build, removed the directories. Then I've installed this one, checked for the directories. Then I've created them manually in /cache/fota/ , /data/fota/ and gave them 0777 rights. After pressing button in application - nothing happens. I mean fota.status appears in /cache/fota (it contains only one word "FOTA"). And the directory /data/fota is deleted by the application after pressing the button. I've tried to create it again and press the button, then it deletes itself again.

Folders /mnt/sdcard/fota/ , /mnt/sdcard/external_sd/fota/ are created too!
[Android Software/Hacking General [Developers Only]] tracid:
Do you have the OTA file as /sdcard/ota.bin? Press the button then save logcat and attach it here. (adb logcat > file.txt)
[Android Software/Hacking General [Developers Only]] AcidFX:
Yes, i have the ota.bin file! I've made logfile, here it is File LOG

Seem that application find the ota.bin and creates delta files, but deletes them. You can see it at log.

Thanks for your help!
[Android Software/Hacking General [Developers Only]] tracid:
Failed to mkdir(/cache/fota): ret=-1 errno=Permission denied

su
mkdir /cache/fota
chmod 0777 /cache/fota

failed to open package /sdcard/ota.bin: Unknown error: -1

are you sure the patch is correct? it's case sensitive. maybe for you it's /mnt/sdcard/...
[Android Software/Hacking General [Developers Only]] AcidFX:
/cache/fota - already exist. Anyway i tried to delete it and create with rights 0777. All folders appears - /cache , /cache/fota , /data/fota

File ota.bin is /sdcard/ota.bin (in root explorer i can access it with path /sdcard/ota.bin and i can find it by the path /mnt/sdcard/ota.bin too. So the file is accessible with 2 paths!!!!!). Maybe something wrong with bin package. I'll try to redownload it, and then i'll write back/ Thanks
[Android Software/Hacking General [Developers Only]] tracid:
If it still doesn't work, I'll investigate it via TeamViewer if you're ok with ok.
[Android Software/Hacking General [Developers Only]] AcidFX:
hmm, i've tried another ota file. situation still the same

I/dp_zip ( 1852): Open /sdcard/ota.bin

I/dp_zip ( 1852): Delta size: 249519434.000000

I/dp_zip ( 1852): Free memory size of /cache/: 316674048.000000

I/dp_zip ( 1852): Free memory size of /data/: 1755930624.000000

I/dp_zip ( 1852): Free memory size of /mnt/sdcard/: 3388309504.000000

I/dp_zip ( 1852): Free memory size of /mnt/sdcard/external_sd/: 29754589184.000000

I/dp_zip ( 1852): Delete file:/cache/fota/delta.*

I/dp_zip ( 1852): Delete file:/data/fota/delta.*

I/dp_zip ( 1852): Delete file:/mnt/sdcard/fota/delta.*

I/dp_zip ( 1852): Delete file:/mnt/sdcard/external_sd/fota/delta.*

I/dp_zip ( 1852): Delete directory:/data/fota

I/dp_zip ( 1852): Delete directory:/mnt/sdcard/fota

I/dp_zip ( 1852): Delete directory:/mnt/sdcard/external_sd/fota

I/dp_zip ( 1852): Failed to mkdir(/cache/fota): ret=-1 errno=File exists

I/dp_zip ( 1852): failed to open package /sdcard/ota.bin: Unknown error: -1

I/dp_zip ( 1852): Failed to unzip

I've noticed that when i tried to use application for Note - it used root (there was a message that application was granted a superuser rights). On this (glxR.apk) this message doesn't appear.
[Android Software/Hacking General [Developers Only]] tracid:
su

chmod -R 0777 /cache

rm -rf /cache/fota

then try again
[Android Software/Hacking General [Developers Only]] AcidFX:
Done. App creates /cache/fota/fota.status . The log file shows same errors.

E/DataRouter( 107): usb connection is true

E/DataRouter( 107): DSR is ON. Don't send DTR ON.

I/InputReader( 196): Touch event's action is 0x1 (deviceType=0) [pCnt=1, pending(waiting finished signal)=0, s=]

I/InputDispatcher( 196): Delivering touch to current input target: action: 0x1

I/InputDispatcher( 196): Delivering touch to current input target: action: 0x1

I/AudioService( 196): playSoundEffect() type:0 volume:-1

I/AudioPolicyManagerBase( 112): getSituationVolume: isBTConnected:0 isHeadConnected:0

I/AudioPolicyManager( 112): getParamFromPolicy deviceInt = 0, situationInt = 1, situationVolume = 1.000000

D/dalvikvm( 1905): Trying to load lib /data/data/ro.tracid.glxr/lib/libdprw.so 0x4156cc40

I/AudioPolicyManager( 112): startOutput() output 1, stream 1, session 15

I/AudioFlinger( 112): start output streamType (0, 1) for 1

D/AudioHardware( 112): AudioStreamOutALSA::setParameters() start_output_streamtype=1

D/dalvikvm( 1905): Added shared lib /data/data/ro.tracid.glxr/lib/libdprw.so 0x4156cc40

I/jnifota.cpp( 1905): JNI_OnLoad

I/jnifota.cpp( 1905): FOTA_WriteFlag

I/dp_zip ( 1905): call dp_set_flag

I/dp_zip ( 1905): mkdir(/cache/fota)

I/dp_zip ( 1905): Bytes Write: 4

I/dp_zip ( 1905): fsync after write: 0

I/jnifota.cpp( 1905): FOTA_DeltaWrite :

I/dp_zip ( 1905): dp_write_fw_delta path : /sdcard/ota.bin

I/dp_zip ( 1905): Open /sdcard/ota.bin

I/dp_zip ( 1905): Delta size: 249519434.000000

I/dp_zip ( 1905): Free memory size of /cache/: 316674048.000000

I/dp_zip ( 1905): Free memory size of /data/: 1755828224.000000

I/dp_zip ( 1905): Free memory size of /mnt/sdcard/: 3388309504.000000

I/dp_zip ( 1905): Free memory size of /mnt/sdcard/external_sd/: 29754589184.000000

I/dp_zip ( 1905): Delete file:/cache/fota/delta.*

I/dp_zip ( 1905): Delete file:/data/fota/delta.*

I/dp_zip ( 1905): Delete file:/mnt/sdcard/fota/delta.*

I/dp_zip ( 1905): Delete file:/mnt/sdcard/external_sd/fota/delta.*

I/dp_zip ( 1905): Delete directory:/data/fota

I/dp_zip ( 1905): Delete directory:/mnt/sdcard/fota

I/dp_zip ( 1905): Delete directory:/mnt/sdcard/external_sd/fota

I/dp_zip ( 1905): Failed to mkdir(/cache/fota): ret=-1 errno=File exists

I/dp_zip ( 1905): failed to open package /sdcard/ota.bin: Unknown error: -1

I/dp_zip ( 1905): Failed to unzip

I/AudioPolicyManager( 112): stopOutput() output 1, stream 1, session 15

I/AudioFlinger( 112): stop output streamType (0, 1) for 1

D/AudioHardware( 112): AudioStreamOutALSA::setParameters() stop_output_streamtype=1

W/PowerManagerService( 196): Timer 0x7->0x3|0x15

D/MPLSensor( 196): cb_onMotion:2
[Android Software/Hacking General [Developers Only]] tracid:
I/dp_zip ( 1905): mkdir(/cache/fota)

..

Failed to mkdir(/cache/fota): ret=-1 errno=File exists

Strange. But maybe the problem is really in the ota package. Can you link me to it so I can take a peek?

Edit: Maybe we should change the path of the .bin...

su
cp /sdcard/ota.bin /data/ota.bin
chmod 0777 /data/ota.bin

I'll attach a new apk now