[Q] Package boot.img into flashable zip - General Topics

Hello everyone:
I am new to XDA. Sorry if I post this to the wrong place.
I am trying to pack my custom boot.img into recovery flashable zip file but without luck. I have find several relevant posts online. (I can not post them here because this is my first post..)
It seems the general step is to: [1] find a stock boot zip file. [2] replace the boot.img with your own boot.img. [3] repackage it and flash.
My issue seems to be the re-package part. Because even if I only unzip the original stock_boot.zip and then immediately re-zip., it will not work (the original one works though).
The error message I got from the CWM recovery is:
Finding update package ...
Opening update package ...
Installing update ...
Installation aborted.
This is not very informative.
I wonder what is the right way to zip the boot.img into flashable zip file? I just compress the dir into a zip file. What is the problem?
By the way, although I believe it does not matter, but the device I am working with is Galaxy S5 G900H, rooted.
Thanks a lot!

Related

Google Experience only

I am happy with what I have since the new update from Viewsonic.
If I only want to add Google Experience, marketplace, do I still need to go through the process of rooting, installing clockwork and a new UI?
Is there just a simple way to add GE to the Classic UI?
Gapps install
http://forum.xda-developers.com/showthread.php?t=842590
Everyone,
I have had zip luck with this method of installing zapps. Not a dev, but I've been doing this long enough.....
I moved the Recovery file to to /sdcard. Checked for command and command line inside that file All ok to my eye.
Downloaded the gapps file which my WinRAR pronounces a WinRAR/Zip file. So I tried renamein the original update.zip and didn't get any install. So I extracted using winRAR. Still no install.
I tried the permutations as well. Extracted using G-Tablet extract. Still no results.
There must be something I am missing here -- too much holiday cheer or too many crowds or whatever.
Suggestions?!
Rev
butchconner said:
Everyone,
I have had zip luck with this method of installing zapps. Not a dev, but I've been doing this long enough.....
I moved the Recovery file to to /sdcard. Checked for command and command line inside that file All ok to my eye.
Downloaded the gapps file which my WinRAR pronounces a WinRAR/Zip file. So I tried renamein the original update.zip and didn't get any install. So I extracted using winRAR. Still no install.
I tried the permutations as well. Extracted using G-Tablet extract. Still no results.
There must be something I am missing here -- too much holiday cheer or too many crowds or whatever.
Suggestions?!
Rev
Click to expand...
Click to collapse
I HAD to resort to putting on Clockwork Mod 0.8 to get GApps on my G Tablet.
Putting the update.zip on the internal and sd card storage did not work for me either with the newest update installed.
Clockwork Mod is a super easy install - just follow the instructions on how to install G Apps...basically: put CWM on your SD card in it's root (meaning NOT in any directories) and rename it update.zip, put the corresponding recovery directory on the SD as well. I use Winrar as well, I drag the recovery directory right from the file itself and to the SD Card.
Will look like:
Drive: update.zip
Drive: /recovery/command
basically.
Flash it the normal stock way (power and volume +). I press Power and Volume + without even powering off the device, because if the device is powered down and then you start it and miss that first start up, the device WILL delete the recovery/command file and the update won't flash.
GL
I don't officially get to play with my GTab until after package opening tomorrow so I can't do anything today, but I'm trying to line up my to do list. I have never rooted, flashed, or modded anything but am not afraid to play around as long as I don't brick the tablet.
What do you mean when you say "put the corresponding recovery directory on the SD as well. I use Winrar as well"? What is the corresponding recovery directory? What do you use Winrar for? I Googled "winrar" and found " WinRAR is a shareware file archiver and data compression utility developed by Eugene Roshal, and first released in the fall of 1993.[1] It is one of the few applications that is able to create RAR archives natively, because the encoding method is held to be proprietary. " I cannot figure out why it would be needed to load the standard Android market.
MSU_Sparty,
When you do updates (or installs) that have to be flashed onto the internal sdcard, they usually com in pairs of files. You will have an update.zip file that has the update in it (DUH!) -- and accompanying it will be a "Recovery" directory that has a command file in it (The command file has only one line that "calls" the update.zip file.
WinRAR "Zip" utility enters the picture because most of the devs here use WinRAR to package updates. The when they tell you to decompress it, you use WiinRAR and are left with a .zip file to install.
That's the question I had about this update. The Gapp file show to be a RAR package, but when I un-RAR it I come up with no .zip file -- only regular files.
Hope this helps you understand.
Rev
P. S. -- If you are new to this business, take it slow and easy and read ahead on this site and make sure you understand what you are doing. I try to do that, but even with years of IT experience I still mess things up once in a while.
Neoprimal,
Thanks for the tip about CWM. I have two tablets and the other has CWM on it and is fairly modded.
But this tablet I am trying to keep basically stock so I can get updates, etc. and see what the "state of product" is.
As mentioned in my previous answer, I am stumped because I am not getting what looks to be an update.zip file from the Gapp download. When I use WinRAR to decompress the Gapp file, I don't get a .zip file -- only a couple of directories. On the other hand, when I rename the Gapp file update.zip and try to flash it it doesn't work.
Again, thanks for the reply.
Anyone else with suggestions!!!????
Rev
Thanks. What you've written really does clarify the previous post. I appreciate it.
But let me ask another naive question. Why don't the developers create their update programs so they can be installed by just downloading them OTA like most applications? That would sure make it easier for neophytes. I'm guessing that the reason is because we aren't really adding an application but replacing the OS.
I greatly appreciate your guidance and that of all of the folks who use this forum.
Happy Holidays!

[Request] somebody that can create update.zip for cwm

can someone create a update.zip for cwm with this old firmware v08 , i just badly need it , i have a prototype o3d and i updated it to v10d and after that my battery is always 0%.. the old firmware that is ok with my o3d is v08.
this is the link of the 1st rom that i need.
http://www.multiupload.com/UQPQO1SJ0S
i am hoping that someone can help. thanks
isaias19 said:
can someone create a update.zip for cwm with this old firmware v08 , i just badly need it , i have a prototype o3d and i updated it to v10d and after that my battery is always 0%.. the old firmware that is ok with my o3d is v08.
this is the link of the 1st rom that i need.
http://www.multiupload.com/UQPQO1SJ0S
i am hoping that someone can help. thanks
Click to expand...
Click to collapse
If that's the firmware you need, just download it and put in a zip file.
right click on the folder then add to archive. use the compression method store.
That should work but do a backup before hand just in case.
I tried to zip it and rename it to update.zip and install it via cwm recovery but the recovery said that it failed on signature.. Something.,,
isaias19 said:
I tried to zip it and rename it to update.zip and install it via cwm recovery but the recovery said that it failed on signature.. Something.,,
Click to expand...
Click to collapse
The file is already a zip file, it's just in the wrong compression method...
using winrar, open the zip file, then tools, then convert archive.
A box should appear, change the archive format to zip, and compression method to store.
Hi, isaias19, I also have a prototype o3d. I can not use it after rom(v10d, v10e) upgrade. If possible, could you post your v08 rom backup file using cmw?? Thanks.
@ modernbruce
we have the same problem , i did not backup my stock rom thats why iam searching for the v08 firmware. =C
Hi ,
For your case update.zip will not solve your problem.
you need dump your system and replace by another one:
To see your partition :
adb shell cat /proc/partitions
After try use these command to put your new system :
http://www.omappedia.org/wiki/Android_eMMC_Booting
++

[Q] GT-P5113 modify stock firmware and flash question

I have spent several weeks working on this (reading thread after thread) on modifying stock firmware and im running into a problem. I more or less want to know if what i want to do is actually possible. I have downloaded the original .tar.md5 firmware image, opened with 7zip and "extracted" the .tar file (more or less just removed the hash) and then extracted the .img files from the .tar file. I have unpacked/mounted/modified/repacked using several methods (dsixda kitchen -which havent been able to work around adding the java path since after i add the path cygwin thinks im missing clean app until i remove the path in which case i get an error saying it cant find java/ i have tried mounting using ext4_utils in ubuntu) my issue arises when i take my modified and repacked system.img file i cant get it to work either by 1. zipping it in a .tar with the other .img files and flashing with odin, 2. zipping system.img alone into a .tar and flashing with odin, 3. installing cwm/root and flashing the system.img)
More or less my question is
1. is it possible to modify the stock firmware and load it onto the tablet without rooting
2. can system.img be flashed by itself or does it need the other .img files in the same .tar
3. does the tar file require being signed before flashing even with CWM recovery and root already on the tablet?
I have used these forums for a while to find answers, but i am new to posting, i havent needed to post a question until now since i spend as much time researching as i can before bothering people with a question (i like to figure stuff out and hate to admit defeat) Thanks in advance for the help despite my noobishness

Please help installing TWRP

Silly me, need a hand here please;
I got my new Note 5 rooted easily, and wanted to use Flashify to install TWRP. So I downloaded this;
TWRP v2.8.7.1 N920T/P: http://forum.xda-developers.com/show...62&postcount=3
But it saved as a .tar file, not an .img file ? And Flashify says it must be an .img file. Can I just rename the end to " .img " ? Right now the file is named " TWRP-2.8.7.1-Alpha_N920T.tar.md5 "
Any help would be greatly appreciated, thanks.
re: img file
Zorachus said:
Silly me, need a hand here please;
I got my new Note 5 rooted easily, and wanted to use Flashify to install TWRP. So I downloaded this;
TWRP v2.8.7.1 N920T/P: http://forum.xda-developers.com/show...62&postcount=3
But it saved as a .tar file, not an .img file ? And Flashify says it must be an .img file. Can I just rename the end to " .img " ? Right now the file is named " TWRP-2.8.7.1-Alpha_N920T.tar.md5 "
Any help would be greatly appreciated, thanks.
Click to expand...
Click to collapse
You cannot simply rename it, you have to extract the IMG file using winrar or winzip
then you can use flashify to flash it if you don't want to odin flash the tar file.
The TAR file only contains one file, it's name is recovery.img
Good luck,
Have a great weekend!
Thanks. I installed TWRP through ODIN, was super easy and fast. I just installed a fresh ROM, ThrashROM Lite
Man, I haven't owned my new Note 5, but a few hours, and already rooted with a custom ROM.

is possible tar.md5 to custom tar.md5?

Hi guys, i have a question...
Is possible create a custom rom (remove vendor apps) from XXXXXXXX.tar.md5 file downloaded from sammobile and make your own tar.md5 flasheable Odin file?
For example:
Original firmware:
XXXXXX.tar.md5
1.5 Gb
Removing vendor apps:
XXXXXX_my_firm.tar.md5
800 mb
I am interested in doing this without custom recovery, not zip flashable file, and not root.
xTxMIGUELxTx said:
Hi guys, i have a question...
Is possible create a custom rom (remove vendor apps) from XXXXXXXX.tar.md5 file downloaded from sammobile and make your own tar.md5 flasheable Odin file?
For example:
Original firmware:
XXXXXX.tar.md5
1.5 Gb
Removing vendor apps:
XXXXXX_my_firm.tar.md5
800 mb
I am interested in doing this without custom recovery, not zip flashable file, and not root.
Click to expand...
Click to collapse
Yes, you can do this, but things have changed a bit since this guide was written, you'll have to do some research to see what things have changed in this process from kit kat up to the current available android version. There have been some stock security changes that this guide doesn't cover and won't work with these new securities, but you should be able to figure out how to make this work with those securities if you learn to look in the right places.
https://www.rwilco12.com/forum/showthread.php?tid=92
This will help you create the .tar, you'll just have to figure out how to make the changes you want to make. You'll mostly be working with your system.img once you get it extracted.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE

Categories

Resources