Update.zip - G2 and Desire Z Q&A, Help & Troubleshooting

I'm trying to create an update.zip containing apps that I want. I have googled and followed every step on creating the folders and signing and importing my apps and craetiing the script...when I tried to flash it via clockwokmod recovery its gives me an error...which I mostly believe is with the script...can anyone please tell me what I'm doing wrong....
PS: I also get an error stating that I should switch to Edify script to create my update and I have gogoled it and and still don't know what it is or how I switch for that matter.
Sent from my HTC Vision using xda premium

Barry:// said:
I'm trying to create an update.zip containing apps that I want. I have googled and followed every step on creating the folders and signing and importing my apps and craetiing the script...when I tried to flash it via clockwokmod recovery its gives me an error...which I mostly believe is with the script...can anyone please tell me what I'm doing wrong....
PS: I also get an error stating that I should switch to Edify script to create my update and I have gogoled it and and still don't know what it is or how I switch for that matter.
Sent from my HTC Vision using xda premium
Click to expand...
Click to collapse
Try Titanium Backup to create update.zip.
Go to backup/restore ---- press menu ----- create update.zip
You can use it and it works flawlessly.
Sent from my HTC Vision using Tapatalk

But can I flash it via clockworkmod without it saying error with scripting or any errors
Sent from my HTC Vision using xda premium

Why don't you post your script and we can help you fix it.
At some point, the update-script (amend) switched to updater-script (edify). The commands are similar, but the syntax and binary are different. You have to match the correct file system, parameters, and update-binary, etc.

update.zip
gee one said:
Why don't you post your script and we can help you fix it.
At some point, the update-script (amend) switched to updater-script (edify). The commands are similar, but the syntax and binary are different. You have to match the correct file system, parameters, and update-binary, etc.
Click to expand...
Click to collapse
So ive done done everything accept for the "script fixing" and signing the update.
so can you guys please look at it and fix it for me so that i can flash it via clockworkmod (the latest one) without it saying error or use edify please.
ive uploaded what ive done so far i know this is the old scripting i just don't know how to do the new one for the G2 using clockwormod recovery the latest one.im trying to flash it on cyanogenmod 7 the latest stable one for the G2

update.zip
heres the link for my "so far done job"
http://www.mediafire.com/?owi3oy71oorazxj

I'll download it later tonight, but this might help you- I think it's a similar issue.
http://forum.xda-developers.com/showthread.php?p=20440967#post20440967
---------- Post added at 05:53 PM ---------- Previous post was at 05:41 PM ----------
yeah, it looks like the same issue as that other thread. Find some roms and poke around in the updater-scripts and don't forget to add the update-binary.

Still having issues ...............But i found this http://forum.xda-developers.com/showthread.php?t=1248486 and the only problem is that idk what "Unixfy" meann....i have the script and everything ready but i need to do one last step to delet remove the MANIFEST.MF, CERT.MF and CERT.RSA from META-INF directory. Then go and "unixyfy" the line endings in META-INF/com/google/android/updater-script (emacs, vi, notepad++, any other editor). any suggestions on how to do that?

One of the Windows text editors (like Notepad or Wordpad) uses an unfriendly character to signify the end of line. Unix/Linux expects 0x0A (0A in hex) at the end of every line.
I think there is one Windows text editor that will get it right but I couldn't tell you which one off the top of my head.
If you are using a text editor like vi or nano, you should be fine. You can just open the file and save it to the proper format. You could also go in with a hex editor and poke around, but nothing good ever came of using a hex editor.

Can NotePads+++ due this and if so how
Sent from my HTC Vision using xda premium

gee one said:
I'll download it later tonight, but this might help you- I think it's a similar issue.
http://forum.xda-developers.com/showthread.php?p=20440967#post20440967
---------- Post added at 05:53 PM ---------- Previous post was at 05:41 PM ----------
yeah, it looks like the same issue as that other thread. Find some roms and poke around in the updater-scripts and don't forget to add the update-binary.
Click to expand...
Click to collapse
Do did u download and fix it for me
Sent from my HTC Vision using xda premium

Originally Posted by gee one
I'll download it later tonight, but this might help you- I think it's a similar issue.
http://forum.xda-developers.com/showthread.php?p=20440967#post20440967
---------- Post added at 05:53 PM ---------- Previous post was at 05:41 PM ----------
yeah, it looks like the same issue as that other thread. Find some roms and poke around in the updater-scripts and don't forget to add the update-binary.
Click to expand...
Click to collapse
Do did u download and fix it for me
Sent from my HTC Vision using xda premium
Click to expand...
Click to collapse
Sorry, no. I downloaded it and diagnosed the issue. The rest is up to you. Your post indicated that notepad++ will work. Try that- simply open the file and save it as text. Then pack it all up and see if it flashes. Google around for other linux friendly text editors. Find a hex editor and take some roms apart and compare them to yours. You should be able to see the end of line 0A characters like neon socks on a black carpet. Your zip is fairly standard, you might be able to just copy another updater-script and binary and everything will magically work. Just be sure it doesn't erase everything.
Good luck! If you find other issues or run into other problems, please post.
sent from my cyanogen(mod) vision

Successs....success .....
Finally it worked...what I did was take the updter-script for the G2 from cyanogenmod 7 gapps and edited it for my apps than I saved it and didn't touch the update-binary at all after that I ziped it signed it (using apksign) and than loaded it to the sdcard...rebooted to recovery and boom evrything flashed like magic....rebooted and their were my apps
*thanks to gee one and evryone else
Sent from my HTC Vision using xda premium

How do I edit it so that it doesn't install it in the system/folder but as my personal apps...cuz some apps don't work when installed in the system/app directory?
Sent from my HTC Vision using xda premium

Probably change system to data in your script. It would be helpful if you posted your updater-script. Just the script please, not the whole rom.
sent from my cyanogen(mod) vision

So change the directory to "app" folder and edit the script so it says to install to the app directory right"?
Sent from my HTC Vision using xda premium

It will be easier if you post your script. It's not hard to change, but it's easy to mess it up completely.

update.zip
Ok so heres the scripting that i had for the installation to the"system/app" folder now i want to change it to "data/app" directory so check it out and help me

Barry:// said:
Ok so heres the scripting that i had for the installation to the"system/app" folder now i want to change it to "data/app" directory so check it out and help me
Click to expand...
Click to collapse
It looks like you are using the gapps zip as a base. Take a look at other gb zips for some inspiration.
Your apps will have to be zipped into /data/app and the prefs would be in /data/data. Note that this can have mixed results- the market might not recognize them as installed, and you might have to clear the apk's data/cache. Also, the progress bar might look odd.
Something like this might work, but as always, use at your own risk. Be sure to back up any important data in case you brick your phone.
Code:
ui_print("Mounting data...");
run_program("/sbin/busybox", "mount", "/data");
show_progress(1, 30);
ui_print("Copying data...");
package_extract_dir("data", "/data");
ui_print("Unmounting data…");
run_program("/sbin/busybox", "umount", "/data");
ui_print("Installation complete!");

Ok so it worked with your script "gee one"..I loaded your script up and it flashed like majic thanks amillion..now my apps won't force close
Sent from my HTC Vision using xda premium

Related

[MOD] Hulu Hack GB/ICS 11.1.115.12

Ok guys, so I absolutely love Hulu and other legit TV sites, some of which prohibit mobile devices based on a "flash id" similar to what you have with a User Agent string for the browser. It is based on this ID that it prohibits mobile phones from accessing content such as hulu and HBO (I think?). With this mod your phone will appear as though it is a PC running flash and I believe it also modifies your version number to be something like 99.9.999.99 for sites that try and check the version number. I also must make sure to give credit where credit is due. Credit goes to imneveral0ne who posted the modified lib files in the Thunderbolt forums http://forum.xda-developers.com/show...6#post12433036.
His mod stopped working because Gingerbread (and 10.3) copies the lib files from the APK itself back into the lib folder (/data/data/com.adobe.flashplayer/lib/) on boot, thus require the mod be redone every reboot. I simply took his mod, wrote a simple script that installs the hacked lib files to /data/flash/ at first for storage, modifies permission of /data/data/com.adobe.flashplayer/lib/ so that it can be written to by the script, and also installs a "run on boot" script at /system/etc/init.d/01-fixflash.sh which will copy the hacked lib files from /data/flash to /data/data/com.adobe.flashplayer/lib/. It also adds Hulu Bookmark app (1.0) to /data/app.
REQUIREMENTS:
Kernel with init.d support (most custom kernels with root support) and root
Busybox (for running the copy commands. If you don’t have it, install ‘busybox installer’ from the market once you are rooted)
Root explorer (recommended, not required)
NOTE: I have developed this file FOR gingerbread.
INSTRUCTIONS:
Install latest flash player (11.1.115.12) from the market FIRST and be sure to uncheck automatic updates (and don't manually either)
Make sure busybox is installed. One way to test this is to type cp –help in ADB and see if it can run the command. If it does, you’re good to go.
Next, simply flash the zip. Wipe cache/dalvik if you want (I don't believe it's necessary, although again, this is my first time and for whatever reason the script doesn't seem to want to run on its own the first time)
Upon first reboot, you MAY be lucky enough that it simply just works and you’re all set.If you still get the “Hulu not available for your platform” error, simply use either root explorer or adb to run the script for the first time manually. In root explorer, navigate to /system/etc/init.d, tap on S98fixflash and select “execute”. In ADB, navigate to /system/etc/init.d and type ‘sh S98fixflash’. Wait a sec for it to run, then try Hulu again. It should be working immediately (without a reboot required) AND the script should then run correctly on subsequent reboots.
Like I said this is my first "product" I've been able to make available to the community and am more than open to suggestions, criticisms and ideas of how I can make this script better. Enjoy guys!
EDIT: If you do have issues with the script not running on every reboot, simply install "Script Manager" from the market, navigate to /system/etc/init.d, select S98fixflash and check the "run on boot" checkbox.
NOTE: ICS Only version now (least as far as I know). May work on others, please let me and others know if it does work on GB
File is now attached to post due to multiupload being unavailable -
UPDATE 6/26/2012 for 11.1.115.12
Note: after more feedback it seems using busybox installer from the market helps if running the script, even manually does nothing.
ahh too much to do
cba
Sorry, lots of explaining. If your rooted just update flash to latest in market, uncheck auto update adobe flash, then flash the zip. Should just work like it did on my gsII.
Sent from my GT-I9100 using XDA App
A query
I was going thru your update-script. What does this line do?
Code:
set_perm(0, 2000, 0755, "/system/etc/init.d/01-fixflash.sh");
I did not find a 01-fixflash.sh in /system/etc/init.d folder, only S98fixflash?
sileshn said:
I was going thru your update-script. What does this line do?
Code:
set_perm(0, 2000, 0755, "/system/etc/init.d/01-fixflash.sh");
I did not find a 01-fixflash.sh in /system/etc/init.d folder, only S98fixflash?
Click to expand...
Click to collapse
Oops, your right. Sorry I quickly modified this script from my old one I used on my epic and forgot to change that line. Will repair and repost now...
http://www.multiupload.com/VJWDKZ23FR
compuw22c said:
Oops, your right. Sorry I quickly modified this script from my old one I used on my epic and forgot to change that line. Will repair and repost now...
http://www.multiupload.com/VJWDKZ23FR
Click to expand...
Click to collapse
No problem. I already made the necessary changes. Will help others.
Sent from my GT-I9100 using Tapatalk
Cool. Also, it did work for you after those changes correct?
Sent from my SPH-D700 using XDA App
Note: after more feedback it seems using busybox installer from the market helps if running the script, even manually does nothing.
Sent from my GT-I9100 using XDA App
update 9/5/2011 for 10.3.186.6 AND hopefully fixed data mounting issues on certain devices so it works easily on CWM on more devices
NOTE: Latest update includes a brand new flashplayer.so files freshly edited, so no more issues with youtube in the browser, and uses TRUE flash 10.3.186.6 libraries for increased performance (no longer based on 10.2)
does nothing no matter what on kh3 deodexed
I'm using it now on litening 6.1 (kh3) just fine with nymphetamine kernel. This thread is also in the epic 4g forums. Troubleshooting instructions are there a well as the op. Understand what the mod does by reading, then find out where its getting hung up. I guarantee if you read you'll find your problem. Sorry but I keep having to help people read my own posts... First guesses, reflash, check to see files were installed, run busybox installer,.try another kernel with working init.d support... Run script manually?
Nice work. Any way of getting this to work for HC on the Xoom?
Maybe, try it let me know. Our buy me a 10.1
compuw22c said:
Maybe, try it let me know. Our buy me a 10.1
Click to expand...
Click to collapse
LOL! Nah didn't work for me.
Actually I feel I remember it working fire xoom.maybe try the manual troubleshooting in the op. find and replace libflashplayer.so with what's in the zip
it won't let me even flash the file says:
E: Error in /sdcard/gb_hack_flash_hulu10.3.186.6.zip
(Status 0)
Installation aborted.
all you need to do to get it to work is to extract the libflashplayer.so from the zip the op posted and copy it to (and replace) the libflashplayer.so in
Code:
/data/flash/libflashplayer.so
and
Code:
/data/data/com.adobe.flashplayer/lib/libplayerflash.so
do this using root explorer
this also enables crackle as well
there is no need to run a script
Beautiful, tried so many things in the past, and this works beautifully! Thanks!
Um, at the risk of sounding like a complete euro-dummy: What is Hulu, what does this hack do? Perhaps a bit of description in the first post?
ogdobber said:
all you need to do to get it to work is to extract the libflashplayer.so from the zip the op posted and copy it to (and replace) the libflashplayer.so in
Code:
/data/flash/libflashplayer.so
and
Code:
/data/data/com.adobe.flashplayer/lib/libplayerflash.so
do this using root explorer
this also enables crackle as well
there is no need to run a script
Click to expand...
Click to collapse
Yes but when you reboot with 2.3 or higher it replaces those files again back to stock.

[Q] Getting a frackin' logcat on random reboots

Recent ROM update w/ app restore has resulted in some fairly consistent random reboots. This is first jelly bean device I've had that I've needed a logcat from, so I just learned that logging isn't that simple any more.
I've tried a couple of different methods to capture a log (aLogcat, Catlog, adb logcat), but never get output. Moved Catlog to a system app after reading in its store comments that that worked, but no joy. Granted read logs permission in terminal per another suggestion, still no go.
Any ideas how to get a log on the Note 2 to troubleshoot something like this?
Open your file manager with root access and go to /dev/log/ and check whether the file "main" and "system" exist or not
wcypierre said:
Open your file manager with root access and go to /dev/log/ and check whether the file "main" and "system" exist or not
Click to expand...
Click to collapse
System, yes, main, no.
I wonder if logging was turned off by this ROM's chef. I know some do that to improve performance. I'll check on that.
Sent from my SGH-T889 using Tapatalk 2
wcypierre said:
Open your file manager with root access and go to /dev/log/ and check whether the file "main" and "system" exist or not
Click to expand...
Click to collapse
System, yes, main, no.
I wonder if logging was turned off by this ROM's chef. I know some do that to improve performance. I'll check on that.
Sent from my SGH-T889 using Tapatalk 2
I don't know if this WL help you at all I really don't know how to read log cats but I do know that I use system tuner pro and one of the functions is log and when I go to it it appears to be a logcat. Also I used another app from the market I forget which I will to back and check. Also one other thing that maybe will help you in this situation is chain fire has an app that replaced your boot animation with a live log cat so when you boot it would kinda look like when you boot up your windows PC. You have to pay but its only like 2 bucks. And it says it is a real live log cat not per recorded. I don't know if any of that will help but just a suggestion.
---------- Post added at 10:27 PM ---------- Previous post was at 10:21 PM ----------
The other app was. Called logcat extreme
distortedloop said:
System, yes, main, no.
I wonder if logging was turned off by this ROM's chef. I know some do that to improve performance. I'll check on that.
Sent from my SGH-T889 using Tapatalk 2
Click to expand...
Click to collapse
Most probably so as some of the devs do remove the log files. Now, go to /system/etc/init.d/ and check every file in there for this line:
rm /dev/log/main
If you found that line, add a hash(#) in front of it to enable logcat so it will become
#rm /dev/log/main
If you want to disable the logcat again, just simply remove the hash(#)
If you can't find that line of code, then search for your apps(there are some apps that will delete /dev/log/main)
wcypierre said:
Most probably so as some of the devs do remove the log files. Now, go to /system/etc/init.d/ and check every file in there for this line:
rm /dev/log/main
If you found that line, add a hash(#) in front of it to enable logcat so it will become
#rm /dev/log/main
If you want to disable the logcat again, just simply remove the hash(#)
If you can't find that line of code, then search for your apps(there are some apps that will delete /dev/log/main)
Click to expand...
Click to collapse
That's enlightening stuff. I've never played around with init files and start up scripts.
Sure enough, one of them does remove the log, and remming it out has brought back logcat function.
Thank you so much for the help and the education.
Interestingly, my random reboots seem to have stopped for the time being, meaning I don't need the logs for now, but I like having them available.
distortedloop said:
That's enlightening stuff. I've never played around with init files and start up scripts.
Sure enough, one of them does remove the log, and remming it out has brought back logcat function.
Thank you so much for the help and the education.
Interestingly, my random reboots seem to have stopped for the time being, meaning I don't need the logs for now, but I like having them available.
Click to expand...
Click to collapse
First of all, you're welcome
I have been doing some research on logging features for the past few months, so I know how to troubleshoot some problems that are related to logging.
If you want to, you can take a look at my tool, AIOlog, which is a command line program to extract logs(which encourages me more to do more research on logging).
Anyway, have fun with your new knowledge and don't forget to spread it to those who needs it
Already shared the solution on the Jedi X ROM thread.
Your tool's in the play store?
Sent from my SGH-T889 using Tapatalk 2
distortedloop said:
Already shared the solution on the Jedi X ROM thread.
Your tool's in the play store?
Sent from my SGH-T889 using Tapatalk 2
Click to expand...
Click to collapse
Nope, as Playstore only allows apps that are compiled using their sdk while my tool is a tool compiled with g++.
But who knows? maybe I'll make a logcat app in the future(but I don't feel so as there's a lot of alternatives in the playstore)
Run this:
su
cat /proc/last_kmsg > /mnt/sdcard/last_kmsg.txt
This is the last syslog after a reboot and extremely helpful in debugging random reboots.
---------- Post added at 04:56 AM ---------- Previous post was at 04:55 AM ----------
wcypierre said:
Nope, as Playstore only allows apps that are compiled using their sdk while my tool is a tool compiled with g++.
But who knows? maybe I'll make a logcat app in the future(but I don't feel so as there's a lot of alternatives in the playstore)
Click to expand...
Click to collapse
Why not simply use the NDK?
fivefour said:
Run this:
su
cat /proc/last_kmsg > /mnt/sdcard/last_kmsg.txt
This is the last syslog after a reboot and extremely helpful in debugging random reboots.
---------- Post added at 04:56 AM ---------- Previous post was at 04:55 AM ----------
Why not simply use the NDK?
Click to expand...
Click to collapse
NDK increases the complexity of the app and there's better alternative such as catlog and alogcat.
Moreover, Google has implemented a restriction on apps logging so its another no no for me.

[DEV TOOL] Updater-Script/Aroma Config checker 1.0.1

COMPLETELY REVAMPED
Currently this is checking updater-script first, I'm currently working on it for the Aroma Config; however, this config checks the updater script for the time being.
REQUIREMENTS
You need python 2.6+ installed if you're on windows.
Python should already be installed if you're on Mac
Place your updater script in the marked location, and after running the script an error log will be generated (give it some time), printing the lines that have errors.
Re: [DEV TOOL] Aroma Config checker 0.0.1
You rock bro
Sent from my LG-LS970 using XDA Premium HD app
what does this do? i googled it but couldnt find anything
Re: [DEV TOOL] Aroma Config checker 0.0.1
javskies said:
what does this do? i googled it but couldnt find anything
Click to expand...
Click to collapse
This is a developer tool that parse through an aroma config and outputs syntax errors.
It'll also eventually work for an updated script.
Its only if you're a developer would you find this tool useful. It just saves a step in testing.
Currently this uses regex to find specific patterns; however, it'll eventually evolve to an emulator of sorts that will compare the update binary to the aroma config file and output syntax errors in real time with better error handling.
Sent from my LG-LS970 using xda premium
AdriVelazquez said:
This is a developer tool that parse through an aroma config and outputs syntax errors.
It'll also eventually work for an updated script.
Its only if you're a developer would you find this tool useful. It just saves a step in testing.
Currently this uses regex to find specific patterns; however, it'll eventually evolve to an emulator of sorts that will compare the update binary to the aroma config file and output syntax errors in real time with better error handling.
Sent from my LG-LS970 using xda premium
Click to expand...
Click to collapse
no wonder i didnt understand a word of the op LOL
Re: [DEV TOOL] Aroma Config checker 0.0.1
javskies said:
no wonder i didnt understand a word of the op LOL
Click to expand...
Click to collapse
Lol
Sent from my LG-LS970 using xda premium
sorry to necro this thread but i am having issues, when i run the checker it goes through everything but tells me it can not find the aroma-config file.
i put it in the directory it says it can not find it in and still says it cant find it, i have run command prompt as admin, java and paths are setup correctly.
any idea? I am getting sick of having to copy my installer every time i change code to debug, its a pain in the ass.
thanks
Got it to output to screen by changing this:
Code:
br = new BufferedReader(new FileReader("//Users//" + username + "//Desktop//aromacheck//aroma-config"));
To this:
Code:
br = new BufferedReader(new FileReader("/Users/" + username + "/Desktop/aromacheck/aroma-config"));
I'll rewrite the script for you, I'm going to switch the program to python, which has far less overhead. Also, it'll be easier to recreate the methods within the installer to verify method names.
Sent from my LG-LS970 using xda premium
AdriVelazquez said:
I'll rewrite the script for you, I'm going to switch the program to python, which has far less overhead. Also, it'll be easier to recreate the methods within the installer to verify method names.
Sent from my LG-LS970 using xda premium
Click to expand...
Click to collapse
Not meaning to interrupt or get off topic here, but AdriVelazquez, I sent ya a pm sir, was hoping for some input from ya
Sent from my LG-E970 using xda premium
C13v3r0n3 said:
sorry to necro this thread but i am having issues, when i run the checker it goes through everything but tells me it can not find the aroma-config file.
i put it in the directory it says it can not find it in and still says it cant find it, i have run command prompt as admin, java and paths are setup correctly.
any idea? I am getting sick of having to copy my installer every time i change code to debug, its a pain in the ass.
thanks
Got it to output to screen by changing this:
Code:
br = new BufferedReader(new FileReader("//Users//" + username + "//Desktop//aromacheck//aroma-config"));
To this:
Code:
br = new BufferedReader(new FileReader("/Users/" + username + "/Desktop/aromacheck/aroma-config"));
Click to expand...
Click to collapse
I uploaded the new script that reads the updater, I'll slowly bring the aroma also.
What does it mean by; "didn't verify set_perm coming soon"; ?

Need init.d file

Am on stock ICS 4.0.4 firmware 0587
Had searched all over on how to incorporate an init.d file and bind it to my stock fw.
Even downloaded an app Universal Init.d which claimed to create a init.d for all devices but but it does was only scan if my device has init.d support which I already knew was not there.
I do not want to apply any custom roms for now.I know most custom kernels have it for ICS and JB but I only want the file and bind it via existing stock kernel.
The only one I found was from a Samsung device but then I have an xperia.
So could I get some help please.
Sent from my LT18i using xda app-developers app
So basically you want to enable init.d support on stock Kernel?
Sent from my LT18i
---------- Post added at 04:18 PM ---------- Previous post was at 04:17 PM ----------
I use this to activate init.d support on my stock kernel
http://forum.xda-developers.com/showthread.php?p=20574274
Sent from my LT18i
Yes my friend.
The iridaki thread that you linked me to was not that easy to follow.
First off,there's this first line that says to place zip file in a folder to be flashed after setting up certain key ins via root explorer.
How does one flash a zip file within a folder via cwm.This too was a conflict especially when in the thread it says to use only cwm by nAa version 5.0.2.7 meant for 2.3.4 and if use different version the bloody device could explode.And I'm on 4.0.4.
Did apply what was mentioned but after running the test log did not show up in the installed-recovery.sh.
Must have made a mistake following the tutorial either during writing the support text or when not following the first step of putting the zip file in a folder to the letter.
Anyways this is my first time venturing into system files using root explorer.Need to search and learn how to type in the explorer app.
Edit-Well what do you know, somehow it has worked.Just saw the app Universal Init.d and test turn green saying that the device has init.d support.
I did the process around 3 in the morning but only saw the outcome now.Another odd thing is the install-recovery.sh folder is somehow on my main screen.How do I put this back into root explorer?
Sent from my LT18i using xda app-developers app
Sandro8771 said:
Yes my friend.
The iridaki thread that you linked me to was not that easy to follow.
First off,there's this first line that says to place zip file in a folder to be flashed after setting up certain key ins via root explorer.
How does one flash a zip file within a folder via cwm.This too was a conflict especially when in the thread it says to use only cwm by nAa version 5.0.2.7 meant for 2.3.4 and if use different version the bloody device could explode.And I'm on 4.0.4.
Did apply what was mentioned but after running the test log did not show up in the installed-recovery.sh.
Must have made a mistake following the tutorial either during writing the support text or when not following the first step of putting the zip file in a folder to the letter.
Anyways this is my first time venturing into system files using root explorer.Need to search and learn how to type in the explorer app.
Edit-Well what do you know, somehow it has worked.Just saw the app Universal Init.d and test turn green saying that the device has init.d support.
I did the process around 3 in the morning but only saw the outcome now.Another odd thing is the install-recovery.sh folder is somehow on my main screen.How do I put this back into root explorer?
Sent from my LT18i using xda app-developers app
Click to expand...
Click to collapse
It should be in system/etc
Sent from my LT18i

Need help editing Update-Script

I've been trying to edit the updater script in the latest T-MO AOKP 4.4.2 nightly so i can flash it on my Att S3, but have had no luck. I've searched XDA and Google but have not found the answers i need. Would anyone be willing to give me a detailed guide or point in the right direction of one.
JamFan05 said:
I've been trying to edit the updater script in the latest T-MO AOKP 4.4.2 nightly so i can flash it on my Att S3, but have had no luck. I've searched XDA and Google but have not found the answers i need. Would anyone be willing to give me a detailed guide or point in the right direction of one.
Click to expand...
Click to collapse
Try this. It's been asked before.
If you can't do it send me the updater script and I'll change it for you.
http://forum.xda-developers.com/showthread.php?t=2585870
Sent from my SGH-I747 using xda app-developers app
KorGuy123 said:
Try this. It's been asked before.
If you can't do it send me the updater script and I'll change it for you.
http://forum.xda-developers.com/showthread.php?t=2585870
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Thank you for responding. I am able to edit the file, but it will not allow me to save it over the one I need to replace. I am really trying to learn how to do this on my own. Any suggestions as to what I'm doing wrong?
JamFan05 said:
Thank you for responding. I am able to edit the file, but it will not allow me to save it over the one I need to replace. I am really trying to learn how to do this on my own. Any suggestions as to what I'm doing wrong?
Click to expand...
Click to collapse
Without knowing the error, I have no idea what you're doing wrong.
---------- Post added at 11:32 AM ---------- Previous post was at 11:20 AM ----------
For some reason 7zip doesn't like that zip file. I pulled the updater script and pushed it in with winrar and it zipped fine.
Going to try and flash it now.
---------- Post added at 11:40 AM ---------- Previous post was at 11:32 AM ----------
Got it to flash. Just remove the first two lines.
KorGuy123 said:
Without knowing the error, I have no idea what you're doing wrong.
Click to expand...
Click to collapse
Here are my steps
I open the zip with 7zip, by choosing open archive
Navigate to the Updater-script file and copy it to my desktop
Right click on it and chose edit with Notepad++
Delete everything down to the word mount, and it leaves the first line blank
I click on the X to close the file and it asks me to save it, I save it
I try to copy the edited file back into the zip and it gives me this error -
Error Duplicate Filename
system/media/audio/notifications/Arturus.ogg
system/media/audio/notifications/arturus.ogg
Does this help? Or am I doing it completely wrong. Lol
JamFan05 said:
Here are my steps
I open the zip with 7zip, by choosing open archive
Navigate to the Updater-script file and copy it to my desktop
Right click on it and chose edit with Notepad++
Delete everything down to the word mount, and it leaves the first line blank
I click on the X to close the file and it asks me to save it, I save it
I try to copy the edited file back into the zip and it gives me this error -
Error Duplicate Filename
system/media/audio/notifications/Arturus.ogg
system/media/audio/notifications/arturus.ogg
Does this help? Or am I doing it completely wrong. Lol
Click to expand...
Click to collapse
This is easier...
Open the file in winrar (7zip doesn't like this one)
Go to file and drag it to your desktop. Don't close WinRAR
Open file in notepad++ and delete the first 2 lines (make sure the first line isn't blank) First line should be
show_progress(0.500000, 0);
Click to expand...
Click to collapse
Save file
Drag back to winrar in the folder you found it and it'll overwrite.
Put back on phone and profit!
KorGuy123 said:
This is easier...
Open the file in winrar (7zip doesn't like this one)
Go to file and drag it to your desktop. Don't close WinRAR
Open file in notepad++ and delete the first 2 lines (make sure the first line isn't blank) First line should be
Save file
Drag back to winrar in the folder you found it and it'll overwrite.
Put back on phone and profit!
Click to expand...
Click to collapse
THANK YOU! That worked perfectly, Im now up and running. I just want say that i see you help a lot of people out here in the forums with very good and accurate advice. Thanks again for helping me learn something new.
JamFan05 said:
THANK YOU! That worked perfectly, Im now up and running. I just want say that i see you help a lot of people out here in the forums with very good and accurate advice. Thanks again for helping me learn something new.
Click to expand...
Click to collapse
NP glad to help.
Sent from my SGH-I747 using xda app-developers app

Categories

Resources