What about Odin and.zip - Samsung Galaxy Nexus

I'm still struggling a bit with the adb thing. I'm wondering if its harder for the devs to have zip for cwm or .tar files for odin. Meaning is it more difficult to compile? I miss Odin it was so easy to use.
Sent from my Galaxy Nexus using xda premium

Edit. I realize most files are showing up as cwm. I'm curious why not use a uniform system for all files.
Sent from my Galaxy Nexus using xda premium

Odin relies on a specific interface in the bootloader on Samsung phones. It is limiting in what it allows you to do with the phone - basically just flashing images.
With the amount of features and work that has been put into CWM it gives users a much more flexible environment to "flash" ROMs and perform various tasks on their phone (i.e. allowing us ADB access to the phone). It also gives ROM develops more flexibility in how they want to package their ROMs by allowing them an API to script the installation of their ROMs among other things.
CWM is ultimately easier and more reliable to end users. It's very easy to screw up when flashing with Odin.

so can I flash gummynex with just cwm or do I need adb command prompts as well? It seems in the op you need both. Thanks for the help
Sent from my Galaxy Nexus using xda premium

You would just use CWM. Copy the .zip file to your SD card and boot into CWM. Then choose "install zip from sdcard".
Sent from my Galaxy Nexus using XDA App

Related

extract rom from phone for Dsixda kitchen

I am trying to Deodex my rom in my phone. I've customized it and i want to extract it to the PC. Then I will deodex it with the DSIDXA Kitchen and then I will put it back.
How can i extract the rom in a form that the kitchen can use.
I tried CWM Touch 6.0.1.2 backup, export and image. The backup as both normal and tar.
None of them were compatible with the kitchen.
Any help would be appreciated
Thanks in advance....
Hmm. I thought it could use the nandroid img.
Did you rename the extension to.img?
Otherwise just grab the firmware for the build you want and use it instead.
Stickies in development.
Sent from my SGH-T999 using xda app-developers app
DocHoliday77 said:
Hmm. I thought it could use the nandroid img.
Did you rename the extension to.img?
Otherwise just grab the firmware for the build you want and use it instead.
Stickies in development.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
from tar to img?
No it should be something like .ext4.cwm
I know in twrp its .ext4.win
Dont know if itll work but u can try.
Why not just use the original fw?
Sent from my SGH-T999 using xda app-developers app
DocHoliday77 said:
No it should be something like .ext4.cwm
I know in twrp its .ext4.win
Dont know if itll work but u can try.
Why not just use the original fw?
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Because I have made several mods to the stock roms on the phone already (beats, using supersu, pimp my room, debloating, etc). And I don't feel like having to redo all of that.
There must be a simple way to do this. This is at least one of the ways that stock rom images are acquired so they can get posted.
In ClockWorkMod i have tried all of the following:
from the backup and restore menu
Create image.zip
Backup to external sdcard dup format
Backup to external sedcard tar format
None of them worked.
For image.zipo I copied the image.zip file and tried it zipped and unzipped and neither way worked.
For backup I copied all of the files from the /mnt/extSdCard/clockworkmod/backup/<DateOfTheBackup> directory.
I must be missing something stupid here
Thanks again...
Ok. Lets try something entirely different. Find a tool called Apk Manager, (google wanam apk manager ics).
Now extract all your files into a folder, or if you prefer you can plug into the computer and do adb pull /system.
Install/set up apk manager per instructions you should see where you download it. Then basically follow instructions to deodex the app and framework folders.
Sent from my SGH-T999 using xda app-developers app
DocHoliday77 said:
Ok. Lets try something entirely different. Find a tool called Apk Manager, (google wanam apk manager ics).
Now extract all your files into a folder, or if you prefer you can plug into the computer and do adb pull /system.
Install/set up apk manager per instructions you should see where you download it. Then basically follow instructions to deodex the app and framework folders.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
thanks for your help. That will deodex my rom but not let me load it into the kitchen.
deodexing is just step one towards my attempts at themeing.
how can i download the rom from my phone so i can use it in the kitchen.
Thanks again...
Well, it not only would deodex, but you can also use apk mgr to decompile, mod/theme, recompile....pretty much do everything you want to do.
But if you are insistent on the kitchen, use tge stock fw to get started, then adb pull your system and plug your files in place of the ones from the stock fw.
Sent from my SGH-T999 using xda app-developers app
DocHoliday77 said:
Well, it not only would deodex, but you can also use apk mgr to decompile, mod/theme, recompile....pretty much do everything you want to do.
But if you are insistent on the kitchen, use tge stock fw to get started, then adb pull your system and plug your files in place of the ones from the stock fw.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Thanks i will give it a try.
I still would like learn how to copy the rom image in a kitchen compatible format.
Thank you again...
Ill look over dsixdas instructions to see. I know it should be possible to do, I just havent used it that way.
Itll be a bit later before I can look though.
Have you read through his threads here and the one he links to. Hes got pretty detailed instructions.
Sent from my SGH-T999 using xda app-developers app
DocHoliday77 said:
Ill look over dsixdas instructions to see. I know it should be possible to do, I just havent used it that way.
Itll be a bit later before I can look though.
Have you read through his threads here and the one he links to. Hes got pretty detailed instructions.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Thank you for your time and effort. I did wade through some of them but most of them seem to assume that you already have the rom image. I guess I'm just trying to do thinks backwards. I get like that sometimes, just ask my wife
I really appreciate your help. It's really difficult to not be a newb but trying to learn something new when you know half of what you are doing.
Please there's no real rush my phone is up and running fine just trying to tweak it a bit more.
Thanks....
Hi, did you manage to get an image of your current ROM?
The easiest way is to use Root Explorer and the "Zip this folder" option, by long-pressing on the system folder.
Another way is to use ADB:
e.g. #1 (Copy all files and folders to your PC)
Type on your PC:
Code:
mkdir my_system_dir
adb pull /system my_system_dir
e.g. #2 (Pull all files into an image file)
Code:
adb shell
su
mount -o remount,rw /dev/block/mmcblk0p14 /system
dd if=/dev/block/mmcblk0p14 of=/sdcard/system.img
Likewise, I believe you could do the same for the boot.img (mmcblk0p7).

GNex Toolkit Backups

I recently used the toolkit to unlock and root my device, and I installed CM10 on it. I've been having hardware issues so I was going to replace my phone, but the nandroid backups that this version of Clockwork makes are extremely small, and fail when I try to restore. Someone in another thread said it also uses the files in the other folder (blops? blubs? something), so do I move the entire thing? I'm slightly confused over it. Thanks!
Sent from my Galaxy Nexus using xda app-developers app

[Q] Installing .zip files all at once

Hi all!
I have a bunch of .zip files that I install via CWM after every ROM installed. Is there any way I can install them all at once?
Cwm actually is iphone of mobile world.
It is popular but doesn't does much.
Use twrp instead.
TWRP FTW
Sent From Samsung's Galaxy Note II Using Internet
As the post above suggested use TWRP. It allows you to install numerous zips at once. Install by downloading goo manager from the app store. Click on the menu button within the app and choose install open recovery script.
Sent from my Nexus 7 using xda premium
http://forum.xda-developers.com/showthread.php?t=1973102 use this
as i said cwm is iphone of mobile world. not much features.
use twrp no hastle and it looks bit good too
http://goo.im/devs/OpenRecovery/n7100
choose the method u wanna install with.
use .img to install directly from mobile odin.
use .zip for use with cwm
use .tar for odin
or simply use the toolkit but it has a previous version
latest is 2.3.3.1 , i think toolkit has 2.3.2.3

twrp2.3 update-binary

I can't flash nearly half my zips, and after doing some googling I found out that you have to now replace a file within the zip in order to be useable within twrp. Not a big deal.... only I can't save the dang file without appending some sort of file association. txt, zip, img, bin,mp3 etc...... So how do I exactly save this thing so I can overwrite the original?
I normally frown on double posts, but I can't find this information anywhere. Any information on how to replace an update-binary will prevent me from throwing my phone at a wall. I just want to flash my mason kernel
Sent from my PC36100 using xda premium
Naturesretard said:
I normally frown on double posts, but I can't find this information anywhere. Any information on how to replace an update-binary will prevent me from throwing my phone at a wall. I just want to flash my mason kernel
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
If u having problem with ur recovery flashing I wouldn't care replacing binaries why u don't use another recovery ?
What about smelkus. That could be the faster and the better option to solve ur issue.
Sent from my Nexus 7 using Tapatalk 2
Okay what the problem is that with the 2.3x recovery software they use the jellybean update-binary. To fix this you unzip any zip file that works. Copy that binary over the one that wont flash check updater script to make sure you don't have to change any of the script. Then rezip it all back and it will work fine.
I would suggest changing your recovery also. It is quicker than redoing all the zips. If you want to stay with twrp 2.2.2.0 will work with all your zips.
Oh just double read your post. I use es file explorer on my phone to do the zip fix. I am guessing that you are on a Windows machine. I forget about that sometimes. Been running a Linux box for couple years now.
Sent from my PC36100 using xda app-developers app
a lucid explanation here
If you use 7-zip, simply put the file on windows somewhere and drop it into the right directory. Note that update-script changes to updater-script and the parsing is Amend not Edigy anymore so scripts will change.

Twrp's new update zip??

What's up guys. Hey so I'm not understanding this new update on twrp. When I go to flash a new rom do i flash that zip right away or do I wait until I go into the phone and install titanium? And what exactly does the Zip do?
Sent from my SGH-I317 using xda app-developers app
1. Update TWRP before you flash any new ROMs.
2. A zip file is a type of compression file.
3. Titanium is an app that you can install from Play Store and mainly used for backing up apps, data, system files, etc.
Sent from my GT-N7105 using xda premium
Homework. ...
You should read up on the terminology and the processes at work here. ..
Flashing of roms and similar softwares has been made far to easy for users. ..
And many get into trouble quickly because they either do not understand the process, or the files they are using. ..
I certainly do not mean to sound rude or condescending. ..as I understand that everyone starts somewhere. ..
But the flashing of files is the end point in the process, not the starting point....
More reading and learning may be in order. ..imho...g

Categories

Resources