Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Galaxy S Plus I9001 General

OP AllGamer

4th March 2012, 02:07 PM   |  #321  
rayiskon's Avatar
Senior Member
Thanks Meter: 1,238
 
1,988 posts
Join Date:Joined: Jan 2011
Quote:
Originally Posted by Aronka

yesterday I have tried to deodex my SGS+ XXKQ1 but it stuck on Maps.apk, I've got an exception!
what could be the problem?

http://forum.xda-developers.com/show...0&postcount=36
The Following User Says Thank You to rayiskon For This Useful Post: [ View ]
4th March 2012, 03:57 PM   |  #322  
nail16's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 295
 
768 posts
Join Date:Joined: Nov 2011
More
Quote:
Originally Posted by wintel_mac

Well you can create sh scripts with notepad++. But make sure you get unix lf (linefeed, new lines) instead of windows carriage return linefeed (crlf). Google about it. Otherwise your scripts may not be executed correctly.

For you update binary... go to the 9001 development board here and search for all in one package (aio) by crybert. Extract it and analyse its commands and structure. Also search here or google edify scripts.

Sent from my GT-I9001 using XDA App

I was able to create my own update-script using notepad++ thanks fro that,
but the update binary is really confusing i cant open it with any application if i open it with notepad++ it shows all strange characters none of the text editing apps work ?
Second question ?
what is the update-binary anyways? what's is function?
i googled this and came across some very complicated web pages related to linux
can you explain this in a simple way, what it actually does ?
and how can i open such files
4th March 2012, 04:13 PM   |  #323  
wintel_mac's Avatar
Senior Member
Flag Nuremberg
Thanks Meter: 182
 
452 posts
Join Date:Joined: Jun 2011
Donate to Me
More
You need to open the updater-script. The update mechanism uses the binary to execute the script. There are different versions out there so that's why I wrote take the zip, extract it, analyse updater-script and check how its syntax works.
The Following User Says Thank You to wintel_mac For This Useful Post: [ View ]
4th March 2012, 05:40 PM   |  #324  
nail16's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 295
 
768 posts
Join Date:Joined: Nov 2011
More
Quote:
Originally Posted by wintel_mac

You need to open the updater-script. The update mechanism uses the binary to execute the script. There are different versions out there so that's why I wrote take the zip, extract it, analyse updater-script and check how its syntax works.

I analysed the update-script syntax from the AIO 1.1 package it makes complete sense, but i wanna know how do i create the update-binary file ?
Last edited by nail16; 4th March 2012 at 05:45 PM.
4th March 2012, 06:00 PM   |  #325  
wintel_mac's Avatar
Senior Member
Flag Nuremberg
Thanks Meter: 182
 
452 posts
Join Date:Joined: Jun 2011
Donate to Me
More
It is a compiled binary. You need the source code to do any edits.

Edit: If you have downloaded the Android sources, you should be able to compile it. Read on here:
http://epiccm.blogspot.com/2012/01/h...-and-apks.html
Last edited by wintel_mac; 4th March 2012 at 06:03 PM.
The Following User Says Thank You to wintel_mac For This Useful Post: [ View ]
4th March 2012, 06:44 PM   |  #326  
nail16's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 295
 
768 posts
Join Date:Joined: Nov 2011
More
wo! dude, that stuff goes way over my head for now i'll just stick to the basics
but thanks anyways
Last edited by nail16; 4th March 2012 at 06:47 PM.
4th March 2012, 09:32 PM   |  #327  
nail16's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 295
 
768 posts
Join Date:Joined: Nov 2011
More
For the updater-script in what format should i save the file in notepad++?
4th March 2012, 09:48 PM   |  #328  
rayiskon's Avatar
Senior Member
Thanks Meter: 1,238
 
1,988 posts
Join Date:Joined: Jan 2011
Quote:
Originally Posted by nail16

For the updater-script in what format should i save the file in notepad++?

the updater script doesn't have an extension, so u save it as "all types"
u know can always extract an updater script from a kernel zip (for example) and copy-paste ur code instead of the original and save it. (that's a workaround of course) :P
The Following User Says Thank You to rayiskon For This Useful Post: [ View ]
4th March 2012, 09:51 PM   |  #329  
nail16's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 295
 
768 posts
Join Date:Joined: Nov 2011
More
Will any txt editing tool do the trick ? like wordpad
4th March 2012, 09:52 PM   |  #330  
wintel_mac's Avatar
Senior Member
Flag Nuremberg
Thanks Meter: 182
 
452 posts
Join Date:Joined: Jun 2011
Donate to Me
More
And to make sure it is really a UNIX style file, press CTRL+H, search for "\r\n" and replace with "\n" and tick advanced option in the lower left corner of the dialogue. Then replace all, save the file as "updater-script" with no extension (filetype "All Types (*.*)").

Then close the file, open it again in notepad++ and check whether it says "UNIX" in the status bar down in the middle of the program window. If it's unix, your file is in the correct format.

---------- Post added at 09:52 PM ---------- Previous post was at 09:52 PM ----------

Quote:
Originally Posted by nail16

Will any txt editing tool do the trick ? like wordpad

No it will not. Wordpad sucks.

The Following 2 Users Say Thank You to wintel_mac For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes