[TUT] Using OTA Update files - Galaxy Grand 2 General

When I copied the OTA Update file, I just wanted to look what's inside. Turns out that it was a very good move.
If your update is failed then automatically the update.zip gets deleted. We can reusE the saved update.zip
But it shouldn't be edited else this TUT will fail.
1) Check if you have /data/fota folder. Else create it and set permissions 700
2) Now copy our update.zip to that folder
3) Set permission of that file to 600
4) Now go-to software update and update as always
Now you are done. I saved 300mb data by this method.
PLEASE REFER TO THIS POST ON COPYING

Related

[Q] How to make an x-recovery zip off my rom

I searched the forum but i cannot find the answer.
I would like to make an xrecovery zip file off the rom i use.
Is this possible and how.
Thanks.
You can create a nandroid backup instead using Backup and Restore in xRecovery
Titanium Backup for single files.
You can also grab the files that you need to push as an update via Titanium backup. It creates an update.zip with a few files inside that you can extract to another phone if you like...
Nandroid backups are made with xRecovery for the Xperia models. It will give you three files and a checksum file, these can be added to a zip file if you like and restored using xRecovery.
I've found a good article on XDA located here on the subject. It's not specific to the X10 or Xperia models but you might find it worth reading
benz0076 said:
I searched the forum but i cannot find the answer.
I would like to make an xrecovery zip file off the rom i use.
Is this possible and how.
Thanks.
Click to expand...
Click to collapse
I'm not a Dev but this is what I'd do if I wanted to make an update zip of the changes I've made to the Rom installed on my phone. Before you try it, just remember that I could be wrong on this and if your going to create your own package, try it on your own phone before releasing it for public use.
First thing to do would be to extract the files from any ROM update package, but preferably the one that your currently installed one is based on.
If you open the zip file there will be two or more folders. One will be system and the other META-INF. If you drill down through the META-INF folder to the bottom of the folder structure you'll find a file called "update-script" This is the script that XRecovery uses when it updates your phone and you can easily read what's being done.
Eg:
Code:
format DATA:
format CACHE:
format SYSTEM:
copy_dir PACKAGE:system SYSTEM:
And it would continue on with more after that.
The script is formating the Data, Cache, and system partitions on the phone in preparation for installing the new Firmware. It is then copying the contents of the System folder included in the package to the system partition on the phone. The rest after that is setting up symbolic links and setting directory permissions.
If you use ADB to pull the /system folder from you phone, that would be the equivalent of the system folder that is included in the update package.
Code:
md system
adb pull /system system
You could, if you wanted, just replace the system folder in the update package zip with the system folder that you just pulled from your phone and you would have a packaged ROM.
If you wanted to include apps in the package that are not in the /system/app folder you would need to pull the apps that you wanted to include from the /data/app
Code:
md data\app
adb pull /data/app data\app
You would then add the data folder to the rom package so that you would then have three folder instead of two.
data
META-INF
system
After that change the the beginning of the update-script file to look something like this
Code:
format DATA:
format CACHE:
format SYSTEM:
copy_dir PACKAGE:system SYSTEM:
copy_dir PACKAGE:data DATA:
After your all done use something like 7zip to zip everything back up using no compression "Store Only" and you should have a XRecovery installable ROM.
NOTE:
If you have paid apps and are making this ROM for anybody other than yourself to use, make damn sure that you remove them from the /data/app folder before zipping everything up into a package. Including paid apps in your ROM is Warez and won't be tolerated anywhere.
GreatBigDog said:
I'm not a Dev but this is what I'd do if I wanted to make an update zip of the changes I've made to the Rom installed on my phone. Before you try it, just remember that I could be wrong on this and if your going to create your own package, try it on your own phone before releasing it for public use.
First thing to do would be to extract the files from any ROM update package, but preferably the one that your currently installed one is based on.
If you open the zip file there will be two or more folders. One will be system and the other META-INF. If you drill down through the META-INF folder to the bottom of the folder structure you'll find a file called "update-script" This is the script that XRecovery uses when it updates your phone and you can easily read what's being done.
Eg:
Code:
format DATA:
format CACHE:
format SYSTEM:
copy_dir PACKAGE:system SYSTEM:
And it would continue on with more after that.
The script is formating the Data, Cache, and system partitions on the phone in preparation for installing the new Firmware. It is then copying the contents of the System folder included in the package to the system partition on the phone. The rest after that is setting up symbolic links and setting directory permissions.
If you use ADB to pull the /system folder from you phone, that would be the equivalent of the system folder that is included in the update package.
Code:
md system
adb pull /system system
You could, if you wanted, just replace the system folder in the update package zip with the system folder that you just pulled from your phone and you would have a packaged ROM.
If you wanted to include apps in the package that are not in the /system/app folder you would need to pull the apps that you wanted to include from the /data/app
Code:
md data\app
adb pull /data/app data\app
You would then add the data folder to the rom package so that you would then have three folder instead of two.
data
META-INF
system
After that change the the beginning of the update-script file to look something like this
Code:
format DATA:
format CACHE:
format SYSTEM:
copy_dir PACKAGE:system SYSTEM:
copy_dir PACKAGE:data DATA:
After your all done use something like 7zip to zip everything back up using no compression "Store Only" and you should have a XRecovery installable ROM.
NOTE:
If you have paid apps and are making this ROM for anybody other than yourself to use, make damn sure that you remove them from the /data/app folder before zipping everything up into a package. Including paid apps in your ROM is Warez and won't be tolerated anywhere.
Click to expand...
Click to collapse
Thanks i am going to try this and will let you know if it works..
Sent from my X10i using XDA App
Zip for xrecovery
I have some modified .png files for a theme and I need to make a zip for xrecovery, can someone explain IN DETAIL PLZ, on how to do this. this is what i think im supposed to do so far. change .apk to .zip, use 7zip edit files inside, change zip back to apk? thats about where i get lost
CAYCE_VII said:
I have some modified .png files for a theme and I need to make a zip for xrecovery, can someone explain IN DETAIL PLZ, on how to do this. this is what i think im supposed to do so far. change .apk to .zip, use 7zip edit files inside, change zip back to apk? thats about where i get lost
Click to expand...
Click to collapse
Follow this thread... http://forum.xda-developers.com/showthread.php?t=714288

Some help with OTA install

I attempted as many did to update the new OTA. You can find it on this forum. I constantly got an error 7 after the install failed as the install looked at my Preinstall files. After any number of attempts, I used a standard Preinstall directory. I deleted the current Preinstalled, using Root Explorer I did a copy paste. Bingo, Bango, Bongo. Install Complete!!
Here is a link to a dropbox copy of the preinstall.
http://dl.dropbox.com/u/8489906/preinstall.zip
posted a couple of different forums. Trying to help
Some were having trouble with the dropbox download. On another site a helpful member uploaded them to:
http://www.megaupload.com/?d=LKAU0HOO
Might just be me, but the link isn't working. Can you re-post it?
Sent from my DROID RAZR using XDA App
There you go. Try it now.
Could someone please provide detailed instructions on how to apply this?
Some help
My solution to the how and it goes without saying - you are on your own if you brick you phone.
1. Download the file. I am uploading to another online file site now and will update the link soon.
2. Unzip the downloaded file preinstall.zip on your computer. Connect USB to computer as a mass storage drive and copy preinstall directory to your SD-Ext.
3. Disconnect your computer and start Root Explorer. If you don't have it, it is available in the Market.
4. Go to the Main (root) directory of your Razr and scroll down to the Preinstall Directory. Using Root Explorer copy the current preinstall directory to your SD-ext in an out of the way directory.
5. Go back to the root directory. At the top of the screen is an small icon labeled RW. Select this option by touching the icon - it should now say RO. RW=Read Write RO-Read Only. The directory must be in the RW state to copy the preinstall directory.
6. Go back to the root directory and delete the old "preinstall" directory.
6. Go back to the SD-Ext where you stored the downloaded "Preinstall" directory. Select this file and copy. Root Explorer will now have the Paste option showing on the bottom left of the screen.
7. Navigate back to the Root (main) directory and press "paste". Root Explorer should now paste the downloaded copy of the preinstall into the root directory.
Note: Based on my limited experience if you simple copy and overwrite the preinstall directory, portion of the old preinstall will be left in the root directory. These files are the problem causing the Error 7 in the update - IMO.
Hope this helps.
benlane said:
My solution to the how and it goes without saying - you are on your own if you brick you phone.
1. Download the file. I am uploading to another online file site now and will update the link soon.
2. Unzip the downloaded file preinstall.zip on your computer. Connect USB to computer as a mass storage drive and copy preinstall directory to your SD-Ext.
3. Disconnect your computer and start Root Explorer. If you don't have it, it is available in the Market.
4. Go to the Main (root) directory of your Razr and scroll down to the Preinstall Directory. Using Root Explorer copy the current preinstall directory to your SD-ext in an out of the way directory.
5. Go back to the root directory. At the top of the screen is an small icon labeled RW. Select this option by touching the icon - it should now say RO. RW=Read Write RO-Read Only. The directory must be in the RW state to copy the preinstall directory.
6. Go back to the root directory and delete the old "preinstall" directory.
6. Go back to the SD-Ext where you stored the downloaded "Preinstall" directory. Select this file and copy. Root Explorer will now have the Paste option showing on the bottom left of the screen.
7. Navigate back to the Root (main) directory and press "paste". Root Explorer should now paste the downloaded copy of the preinstall into the root directory.
Note: Based on my limited experience if you simple copy and overwrite the preinstall directory, portion of the old preinstall will be left in the root directory. These files are the problem causing the Error 7 in the update - IMO.
Hope this helps.
Click to expand...
Click to collapse
I hope this works This has been driving me crazy! I'll post my results and spread the word to others I've spoken to about this frustrating issue. Great find, and thanks for sharing!
Edit: Strange, as soon as I delete the original preinstall folder, and hit paste, it asks if I want to merge folders instead of just paste. If I go into another folder, then back to the root folder, preinstall reappears... I'll try merging, but sounds like that isn't going to work.
Edit 1: Failed Maybe my issue has something to do with the preinstall folder being repopulated the instant I delete it, which doesn't allow me to simply replace it with the one hosted in the OP.
I believe I only have one option now... to learn how to dev, graduate, intern at Motorola, get a job at Motorola and work my way up the ladder until I can decide how FXZ files are protected, and release them to the public!
I still get this error
assert failed: getprop("ro.product.device") == "cdma_spyder" || getprop("ro.product.product") == "cdma_spyder"
E: Error in /sdcard/Blur_version.6.11.744.X912.Verizon.en.US.zip
(Status 7)
Strange issue with the preinstall
Not sure whats happening with the preinstall but I see that Nitro has a very straightforward install on another Razr forum.
Could you possibly direct me to that, via pm if necessary?
Sent from my Transformer TF101 using xda premium
benlane said:
Not sure whats happening with the preinstall but I see that Nitro has a very straightforward install on another Razr forum.
Click to expand...
Click to collapse
Please post or pm the link to the nitro install. Thanks!
Yes...Having trouble as well, if anyone has the nitro link...
Nitro's stuff
teegunn said:
Please post or pm the link to the nitro install. Thanks!
Click to expand...
Click to collapse
http://www.droidrzr.com/index.php/t...rooted-rom-744-system/page__p__1986#entry1986
benlane said:
http://www.droidrzr.com/index.php/t...rooted-rom-744-system/page__p__1986#entry1986
Click to expand...
Click to collapse
Yep, that did the trick.
So if I just froze some apps with tb can I just unfreeze them and install the ota without a problem?
Edit: never mind...I underuse my apps updated and rerooted :-D
Sent from my DROID RAZR using Tapatalk
networkdood said:
Yep, that did the trick.
Click to expand...
Click to collapse
Somehow that thread got killed....I was able to grab the rom, but not the update that was posted....Anyone have the update handy? Was there anything special about it or was it the normal one that already available?
EDIT: Nevermind, I dont need it...My issue, like most, was the preinstall directory.

TWRP not showing zip files (FIX)

If you have TWRP installed, you may not be able to see your zip folder. Such as a ROM or Gapps. Well I was recently having the same issue. There really isn't a "fix" to it. Its more like solving a puzzle. What happens is there is a duplicate folder somewhere. So to locate a zip file in TWRP simply download your ROM or whatever it is you want. And while you're waiting download a file explorer. The file explorer doesn't matter as long as you can copy and paste/ move files. So after everything is download open up your desired file explorer. And navigate to your download. Copy and go back to the root of your SD. And open up the folder titled "0" and paste your zip files in there. Either the root of the "0" folder or into the download. And now your zip file will show up in TWRP.
Sent from my SPH-L710 using xda app-developers app
Problem not still solved
Pls can you try making a video of it? Thanks :crying:

new update s223 upload request.

new firmware update s223 is available. just updated. but, forget to copy the update.zip file.
anyone can upload the 210mb size file here or in any filehosting site or google drive etc., to download to keep a backup. i have all the other backups. this time missed it.
to find the latest update file, after update download complete don't update immediately, click any other option other than "update now". then goto filemanager=>internal memory/sd card memory=>googleota folder=>here u find the newly downloaded update.zip(210mb) file. and copy(don't cut & paste) that file to anyother location and upload it to any filehosting site to download then provide the link here.
note : after updating firmware the update.zip file will be deleted from the storage automatically.
any help?.

[MOD][4.4.4]Native Tether for Build 24.3.7

YOU HOLD MYSELF AND XDA FREE FROM ANY LIABILITY. WE ARE NOT RESPONSIBLE FOR YOUR DEVICE. FLASH AT YOUR OWN RISK.
I just modified the files from the previous mod of Topsnakes and uploaded them here. All credit should go to Topsnake. I even copied the instructions.
I messaged Topsnake prior to posting. He no longer has this phone and was O.K. with me posting.
This will enable Native Tether for Build 24.3.7.
Prerequisites:
Droid Maxx/Ultra Rooted w/WP off
or
Bootloader Unlocked
METHOD 1: TWRP INSTALL
1) Download the package below labeled "24.3.7-tether_twrpinstall".
2) Reboot Into TWRP recovery and navigate to the file for flashing.
3) Reboot
4) Verify tether works
5) Profit.
METHOD 2: MANUAL INSTALL
1) Download the package below labeled "24.3.7-tether".
2) Download root browser by Jrummy from the play store
3) Navigate to System/Priv-App and rename VZWEntitlementservice.apk to VzwEntitlementservice.apk.bak.
4) Navigate to System and rename the build.prop to build.prop.bak
5) Place the package on the root of your sd card and extract the build.prop file within the folder.
6) Navigate to system and Copy and paste the new file.
7) Set permissions for the file to
Owner: Read/Write
Group: Read
Others: Read
This should show (rw-r--r--)
8) Reboot. Verify tether works
9) Profit.
REVERTING
METHOD 1:
If installed in twrp, download the package below labeled 24.3.7-tether_revert. Flash in Twrp, reboot, verify subscription check re-enabled.
METHOD 2:
If manually installed, simply delete the build.prop you installed, remove the .bak extension from the original build.prop, verify permissions, reboot.
Files
Files
Nice, would you happen to have the modem too?
Will this work on the Droid Mini?

Categories

Resources