Related
Defy Froyo 3.4.2 Cookie Cutter Rom
Q. How Do I use the Update.zip?
A. Go to Market & Download Defy SD-Recovery & Install..
1. Next place the Update.zip on the /sdcard via PC
2. Turn on MoTo Phone Portal ( SD-Recovery is SD Based so you need to Turn Off USB Mass Storage )
3. ADB Debugging does not have to be Turned Off on my version
Once Booted into the Recovery apply the update.zip
wait a few minutes & it should be done...
Please Reads the notes I left in the Update.zip if you build a Custom Update.zip, this will save you trouble down the road.
What's Flashed?
A. Boot.img
B. dev_tree
C. Moto Blur 3.4.2 Rom ( Yes I know it's not the latest, built off what I had )
D. UNO & TMO-TV Removed
E. Rooted ( SU & Superuser )
F. Busybox Installed to xbin
G. Rest of Rom is stock
Once installed, remove eugene.apk from /system/app ( Old boot strap that need adb turned off before rebooting / defy sd-recovery does not have this issue)
Q. I Edited the update.zip & Now it fails verf. in recovery when trying to flash!
A. example of signapk on signing the edited update
java -Xmx1024m -jar signapk.jar -w testkey.x509.pem testkey.pk8 update1.zip update.zip
Download: Original Post
To Update other parts of the Phone: Add this to the update-scripts for what you are flashing.
If we had all these Parts from 2.1 we could go back.
package_extract_file("lbl", "/tmp/lbl");
write_raw_image("/tmp/lbl","lbl");
delete("/tmp/lbl");
package_extract_file("device_tree.bin", "/tmp/device_tree.bin");
write_raw_image("/tmp/device_tree.bin","devtree");
delete("/tmp/device_tree.bin");
package_extract_file("cdrom", "/tmp/cdrom");
write_raw_image("/tmp/cdrom","cdrom");
delete("/tmp/cdrom");
package_extract_file("logo.bin", "/tmp/logo.bin");
write_raw_image("/tmp/logo.bin","logo.bin");
delete("/tmp/logo.bin");
package_extract_file("umts_wrigleyref_build.bin", "/tmp/umts_wrigleyref_build.bin");
write_raw_image("/tmp/umts_wrigleyref_build.bin","bpsw");
delete("/tmp/umts_wrigleyref_build.bin");
package_extract_file("cdt.bin", "/tmp/cdt.bin");
write_raw_image("/tmp/cdt.bin","cdt.bin");
delete("/tmp/cdt.bin");
Hey eugene,
Glad to see you working on Defy too
I think this will be major help for developers and btw that 3.4.2 version did you used? since there are many of them.
Thanks.
um. 107 I think since it has a floating update.zip someplace & sbf.
Ill update to the latest when I start building roms
Sent from my MB525 using XDA App
i don't understand. is the boot.img still the signed cg35.smg?
if so, can't we just use the cmw to do that?
can you post more detailed chages you made over cmw?
other than the signapk and usb debugging described.
many thanks.
eugene373 - great work!
racca said:
i don't understand. is the boot.img still the signed cg35.smg?
if so, can't we just use the cmw to do that?
can you post more detailed chages you made over cmw?
other than the signapk and usb debugging described.
many thanks.
Click to expand...
Click to collapse
Same here, i'm pretty interested in more details, thank you
this Zip File is for what ?
Thanks
Greetings
you can not use cwm due encryption. If you dont know what an update.zip is stick to nandroid...
This is for rom builders.
Heading out, when I get home ill make it clearer.
Though, now that I think about it cwm might be fine due to the nature of how it works.
Ill test later and let everyone know
Sent from my MB525 using XDA App
So we are able to install updates via the "normal" Motorola Recovery mode? So we are able to get a "unbrickable" Defy?
Edit: got it myself. The ZIP File won't be recognized by the motorola recovery... anyway thanks for your job
Now, what can SD-recovery do? Can it write other partitions, like cdt.bin?
Simplestas said:
Now, what can SD-recovery do? Can it write other partitions, like cdt.bin?
Click to expand...
Click to collapse
Yes. I can add the string if you would like
eugene373 said:
To Update other parts of the Phone: Add this to the update-scripts for what you are flashing.
package_extract_file("lbl", "/tmp/lbl");
write_raw_image("/tmp/lbl","lbl");
delete("/tmp/lbl");
package_extract_file("device_tree.bin", "/tmp/device_tree.bin");
write_raw_image("/tmp/device_tree.bin","devtree");
delete("/tmp/device_tree.bin");
package_extract_file("cdrom", "/tmp/cdrom");
write_raw_image("/tmp/cdrom","cdrom");
delete("/tmp/cdrom");
package_extract_file("logo.bin", "/tmp/logo.bin");
write_raw_image("/tmp/logo.bin","logo.bin");
delete("/tmp/logo.bin");
package_extract_file("umts_wrigleyref_build.bin", "/tmp/umts_wrigleyref_build.bin");
write_raw_image("/tmp/umts_wrigleyref_build.bin","bpsw");
delete("/tmp/umts_wrigleyref_build.bin");
package_extract_file("cdt.bin", "/tmp/cdt.bin");
write_raw_image("/tmp/cdt.bin","cdt.bin");
delete("/tmp/cdt.bin");
Click to expand...
Click to collapse
eugene373 said:
Yes. I can add the string if you would like
Click to expand...
Click to collapse
CwM can do exactly the same afaik, i've already made quite a few update.zip with it.
after reading all your notes, do you actually mean that we can't use format on those patitions?
if you do, well, i learned it the hard way, and delete_recursive also works for me.
thanks for putting up an excellent example if not for anything else, it's much needed.
racca said:
CwM can do exactly the same afaik, i've already made quite a few update.zip with it.
after reading all your notes, do you actually mean that we can't use format on those patitions?
if you do, well, i learned it the hard way, and delete_recursive also works for me.
thanks for putting up an excellent example if not for anything else, it's much needed.
Click to expand...
Click to collapse
Correct, you can only format with the stock recovery ( Hence the reason why I used the Stock Recovery ) any Partition with cwm recovery will cause a non-booting system..
regarding cwm I've not tested it, so Likely it will work.. Steven is still working on the cwm recovery & there is no point in me adding another cwm bootstrap recovery... Mine is just pure stock & works perfect.
I'm still weeding through the /bin /etc file's to find exactly what needs left...
but main goal was to provide an example of what is needed to make an update.zip with out breaking the system.
what exactly is the benefit of this new method?
drsouly said:
what exactly is the benefit of this new method?
Click to expand...
Click to collapse
um? Your joking right!
Update versus a nandroid, I would have thought it was a no brainier....
Build & edit roms on the fly + being able to flash boot.img & downgrading is fine without sbf unless you screw up completely..
eugene373 said:
um? Your joking right!
Update versus a nandroid, I would have thought it was a no brainier....
Build & edit roms on the fly + being able to flash boot.img & downgrading is fine without sbf unless you screw up completely..
Click to expand...
Click to collapse
ok now i got it thx
drsouly said:
ok now i got it thx
Click to expand...
Click to collapse
no problem, wasn't sure if you was being a smart-ass or honestly didn't know...
either way, sorry If I offended you.
~Eugene
I didn't understand yet . I can or not apply the update file using stock recovery?
EDIT: forget I understood now.
Sent from my MB525 using XDA App
psicodelico said:
I didn't understand yet . I can or not apply the update file using stock recovery?
Sent from my MB525 using XDA App
Click to expand...
Click to collapse
Read OP.... Download Defy SD-Recovery from Market
Yeah, I read again slowly and understood.
Sent from my MB525 using XDA App
First of all thanks to samfirmware. Odin this to get Deodexed stock EH17 with the purple CWM 3.1.0.1, latest root and su binary and Busybox 1.19.
Done with the latest 1.2.8 smali.
Removed Asphalt Demo to make space for Busybox. Attached if you really want it.
Odin tar:
MD5: 13f2bb5a67eed195b0c5f99c61a4607c
http://dev-host.org/kd0ivmaz6b7u/Deodexed-Rooted-CWM-Busybox-EH17.tar
Odin 1.85 including instructions:
MD5: 7f574b567aa420e36c127d27e180a3f9
http://www.multiupload.com/W4AOLDRP52
IMPORTANT: Make sure you have installed the proper XP or Win7 drivers before starting. Also, remove the SD card from the phone (this may not be necessary, but having the SD card installed has caused Odin to fail for a number of people, so might as well just do it).
1. Extract the contents of the zip file to a folder
2. Open odin
3. Put your phone in download mode (Shut it off, wait for lights to all go out, then hold 1 on the keyboard while powering up)
4. connect phone (you should see odin put a Com4 or something like that in the first box. The actual number is NOT important what is important is something popped up there when you connected your device, meaning ODIN can see it)
5. The only box that should be checked is Auto Reboot.
6. You do not need to choose a pit file.
7. In the PDA Section choose the tar file. (Should be the sph-d700-****-8Gb-REL.tar)
8. Hit start. It will do its thing.
9. If it fails than try a new cable.
10. If the phone hangs for any reason take the battery and sdcard out and let it sit for an hour. Put it back together and try again.
A little eager, are we?
Looking forward to this! Hope a flashable version will be on its way soon as well, but don't rush
Thanks, looking forward to installing.
Sent from my SPH-D700 using Tapatalk
As always your on it man! Hope Chris41g can get a plus up too. Though I can understand if he waits.
Link is up
crawrj said:
Link is up
Click to expand...
Click to collapse
thanks my dude saved me the trouble on top of things as always!
tar includes modem, yes? my bad if dumb question
Server....too..slow....losing...patience lol
awesome!
10char
FrankyFiggz27 said:
tar includes modem, yes? my bad if dumb question
Click to expand...
Click to collapse
This has it all. Thanks Crawrj.
Sent from my SPH-D700 using xda premium
Bleh, wish I had a PC to use Odin.
Should I wait for the CWM version or use Odin when I get the chance? I've never used Odin to flash a ROM before so I'm wondering if it may be better. (especially since it includes the modem too)
As always thanks MUCH!!!
jjjjayd13,
So has anyone tried this to see if it works and if so how does it run.
whiteintegsg316 said:
So has anyone tried this to see if it works and if so how does it run.
Click to expand...
Click to collapse
Using it now and it's working great
Hey crawrj, just a heads up but Ive downloaded twice to make sure I got the right file but it still has the odex files in system apps.
GituSum said:
Hey crawrj, just a heads up but Ive downloaded twice to make sure I got the right file but it still has the odex files in system apps.
Click to expand...
Click to collapse
How do you tell so that I can check also?
GituSum said:
Hey crawrj, just a heads up but Ive downloaded twice to make sure I got the right file but it still has the odex files in system apps.
Click to expand...
Click to collapse
I just hopped on to say the same thing...I thought I downloaded the wrong tar.
i'm re-downloading now since my md5sum doesn't match even though the file size matches exactly. (305100800 bytes)
D:\downloads>md5sum.exe Deodexed-Rooted-CWM-Busybox-EH17.tar
417acf5bc49568fc3ca5505d04e9eed8 *Deodexed-Rooted-CWM-Busybox-EH17.tar
anybody else check the md5?
Slow5Ohh said:
Using it now and it's working great
Click to expand...
Click to collapse
Is yours odex. how is your reception with the new modem
is there any solution for the wifi bug on XXLE4 value pack that comes out if you root it??
could anyone make a sd swap patch for the value pack??
before rooting, copy the system/etc/wifi in sdcard, root and restore that folder.. tada.
can you upload it so i dont have to reflash all over again.
xGiox said:
can you upload it so i dont have to reflash all over again.
Click to expand...
Click to collapse
Attached, unzip the file and you'll get the wifi folder.
Skander1998 said:
Attached, unzip the file and you'll get the wifi folder.
Click to expand...
Click to collapse
didn't fix the issue for me i did copy paste all the files but still error is present,my phone is even facing random reboots now.
It don't work .. Any other idea??
Sent from my GT-I9003 using XDA
xGiox said:
didn't fix the issue for me i did copy paste all the files but still error is present,my phone is even facing random reboots now.
Click to expand...
Click to collapse
did you set the right permissions?
Wipe cache and dalvick
I installed the firmware via mobile Odin v2.45, i ve got root, no wifi bug and no need to flash ant custom ROM...
Thank you i will try
Sent from my GT-I9003 using XDA
Don't forget to check whether u have latest version of mobile Odin and u have ticked on rooting option before flashing....
Maybe at first device would behave weirdly but a restart won't let any problem show up....
hi
is XXLE4 a value rom to inistal?
ilovecomputer100 said:
hi
is XXLE4 a value rom to inistal?
Click to expand...
Click to collapse
Yes
Sent from my GT-I9003 using XDA
loSconosciuto released a quick patch for it, flash it from CWM.
http://forum.xda-developers.com/showpost.php?p=27409337&postcount=116
NOTE: No one tested the fix yet, so do a nandroid backup.
CSC unknow
I am on LTE 3.1 by Luiseteyo ,but the CSC unknow. Can someone give me the CSC flashable ,please?
msudjai said:
I am on LTE 3.1 by Luiseteyo ,but the CSC unknow. Can someone give me the CSC flashable ,please?
Click to expand...
Click to collapse
first flash xxkpe.. then this rom..
msudjai said:
I am on LTE 3.1 by Luiseteyo ,but the CSC unknow. Can someone give me the CSC flashable ,please?
Click to expand...
Click to collapse
Yeah I'm faced it too. I clean flashed, repartition with Latona.pit, kpe , le4 and the Rom.
Sent from my GT-I9003 using XDA
REQUEST: If you want a working CF-root without WiFi problems, please follow these instructions to test something for us
Skander1998 said:
did you set the right permissions?
Wipe cache and dalvick
Click to expand...
Click to collapse
i'm with the same problem, after rooting i tried: replacing the Wifi folder (didn't work), and fixing permission in cwm (didn't work). The idea was to fix this problem without using Mobile Odin but, i don't know what to do...
EDIT:
Succeed rooting with BCK CF-root universal beta14fix NO WIFI BUGS running fine for about 2 hs
Wifi con XXKE4
redflash52 said:
is there any solution for the wifi bug on XXLE4 value pack that comes out if you root it??
could anyone make a sd swap patch for the value pack??
Click to expand...
Click to collapse
Back up the folder in Wifi, located in the root in capeta etc, save it in internal sd and once the acualizacion copy the contents of this file and sustitulles. with this you will XXLE4 with wifi so I did and it works wonders.
just use Bam kernel and your problem is solved
I am using android 4.04 beta for my SU760,but the system had many sofewere which i never used , i want delete it but can not root , ,please tell me how to root, thank you
sory for my poor English .
No root method documented yet, although I do have one that I'm saving for P920 and I don't want LG to patch it
You can try flashing the CWM recovery linked somewhere and make a CWM package that deletes the apks you don't want.
Oh . . ~~~~~~~~~~~
pandaball said:
No root method documented yet, although I do have one that I'm saving for P920 and I don't want LG to patch it
You can try flashing the CWM recovery linked somewhere and make a CWM package that deletes the apks you don't want.
Click to expand...
Click to collapse
Thanks
I want root Only to delete some apps , because this app is T-service app in Korea that I can not use it in China .
The ways Which you sad I understanded ,write a Script to delete these apps In CWM ,But I do not know how to write script and some syntax
that I am not familiar with. So Please give some information about running script in CWM (*.zip)example to install. thank you again . :fingers-crossed:
Oh my god
pandaball said:
No root method documented yet, although I do have one that I'm saving for P920 and I don't want LG to patch it
You can try flashing the CWM recovery linked somewhere and make a CWM package that deletes the apks you don't want.
Click to expand...
Click to collapse
after the official ICS install , I can not enter the CWM , oh . .. . .
You have to flash the modified one in the forum.
As for syntax, I just got a new computer so I'm still setting things up. I'll post a rough one once I get my stuff up in order.
Hi,
You could try this way to root the SU760-ICS firmware => http://forum.xda-developers.com/showpost.php?p=29866696&postcount=1
Cheers paki
thanks
Paki0402 said:
Hi,
You could try rhis way to root the SU760-ICS firmware => http://forum.xda-developers.com/showpost.php?p=29866696&postcount=1
Cheers paki
Click to expand...
Click to collapse
thanks I will try it .
This will help anyone who keeps having flashing issues.
More detailed instructions in my GUIDE!
http://forum.xda-developers.com/showthread.php?t=2295557
THIS IS ONE QUICK/SIMPLE ERROR FREE ROM FLASHING PROCEDURE
This should eliminate a few posts saying, stuck in download mode, stuck at logo. just vibrates and them MANY other issues that somehow, everyone seems to find.
Here is my quick rom flashing process I use ALWAYS (yes always)
THINGS YOU NEED ON extSDCARD
1. Extra kernels (2 or 3 you know works for your device)
2. Optional: 2 recoveries that can be flashed (I use CWM & TWRP)
3. Optional: apps.zip (a zip created from Titantium BU, containing Root Explorer, TU Backup, Quickpic, ES File Explorer and Terminal Emulator)
Flashing the rom: TOUCHWIZ/AOSP ROMS
1. Backup current rom (to the extsdcard)
2. Complete wipe, (I do complete, some people do not) Complete = No Issues [FACTORY RESET + CLEAR CACHE + CLEAR DALVIK CACHE + CLEAR DATA]
3. Flash the rom
4. Flash the kernel (your device kernel) (I know some roms have their own kernel) this is where your problems start.
AGAIN: FLASH YOUR KERNEL, you KNOW it works. 1 more time FLASH YOUR KERNEL. (you can experiment with other kernels after you boot)
AOSP ROMS - require you to flash gapps before you boot. [This is not required for TouchWiz roms]
5. Boot the rom.
FINISHED!!!! SUCCESS!!!
Total time to flash a rom:
7-10min
Errors - NONE
This goes for every rom in my guide.
TIPS:
This flash procedure is for Touchwiz Roms, if you are flashing AOSP roms, you must flash the gapps package associated with the rom you are flashing.
**** SGH-I337M Users: Often requires flashing a different kernel than the one included in most ATT ROMS. Any GT-i9505 kernel will work and Adam kernel and Faux kernel are both confirmed working for us Canadian users.
Note: Flash KERNEL directly after ROM then reboot device.
[Special thanks to blyndfyre for this helpful tip].
The extra recovery I flash if a rom does not like the recovery I am using.
Yes, you can flash recoveries back and forth.
Apps.zip I flash after the rom is up & running. This I use to get the rom setup (like root explorer and others needed)
HELPFUL LINKS: In post #2
I am in no way responsible for anything that may do damage to any device - Use these tips at your own risk - period!
If you found this useful in any way, please hit the THANKS button for my effort.
Under Contruction:
ATT US:
[Index][S4ATT] Roms/Kernel/Recovery[Original Android & Android Development]
http://forum.xda-developers.com/showthread.php?t=2312444
Sprint:
[DIRECTORY][☆ ★ UPDATED 7/2/13 ☆ ★] ALL Sprint S4 Roms/Kernels/Recoveries/Mods/Themes
http://forum.xda-developers.com/showthread.php?p=42044738post42044738
T-Mobile:
[INDEX] ROMs,Recoveries,Kernels,Guides etc
http://forum.xda-developers.com/showthread.php?t=2332717
Verizon:
[GUIDE] Official List of Roms, Mods, Kernels, Root, etc
http://forum.xda-developers.com/showthread.php?t=2297370
Canadian Variant Galaxy S4 (SGH-I337M)
Here is the Canadian stock Rom/Kernels Thread: (this should help you get started)
http://forum.xda-developers.com/show....php?t=2269304
Suggest you add that SGH-I337M users must often require flashing a different kernel than the one included in most ATT ROMS. Any GT-i9505 kernel will work and Adam kernel and Faux kernel are both confirmed working for us Canadian users.
Note: Flash KERNEL directly after ROM then reboot device.
Will do, I will get it done soon. Hows that?
Great thanks for not forgetting us Canadians
Question: How do you get an apps.zip with TiBa? I would love to do this and save having to download each app from the Play store each time.
blyndfyre said:
Great thanks for not forgetting us Canadians
Question: How do you get an apps.zip with TiBa? I would love to do this and save having to download each app from the Play store each time.
Click to expand...
Click to collapse
Hit the menu button when in TiBa, it will bring up an option to create a zip, it rocks, I use it for multiple things, you can name it anything you want, flashes perfect every time. When I want to setup a rom, I have to use those apps, like the root explorer. I hate doing a complete restore or picking thru it to get what I need, so I flash the zip with the only things I need.
if you see anyone having flashing issues, send them here.
TheAxman said:
Hit the menu button when in TiBa, it will bring up an option to create a zip, it rocks, I use it for multiple things, you can name it anything you want, flashes perfect every time. When I want to setup a rom, I have to use those apps, like the root explorer. I hate doing a complete restore or picking thru it to get what I need, so I flash the zip with the only things I need.
Click to expand...
Click to collapse
Nice so I can flash the zip I make in TiBa through recovery? Didn't know that thanks for the tip Ax.
This is a great write up! Easy and informative. The axman is the man! Should be stickied.
Sent from my SAMSUNG-SGH-I957 using xda app-developers app
Thanks to both you guys, that app zip when you see what you can do with it, you will be ticked off that you didn't find it sooner, flash rom, flash apps.zip.
JD..thanks man, if I put one more word in that post...it will run a few people off, to much to read
I think it is simple, and when a few people see that it was that easy, they also are going to be ticked off.
[OP has been UPDATED: 07-04-2013]
Just wanted to say thanks didn't know about app.zip that's gonna save me some time, and great guide for us noobs:thumbup:
Sent from my SGH-I337 using xda premium
Thx!
IEndz said:
Just wanted to say thanks didn't know about app.zip that's gonna save me some time, and great guide for us noobs:thumbup:
Sent from my SGH-I337 using xda premium
Click to expand...
Click to collapse
NP, you have anything to add let me know, I will take a look at it.
Thanks
[out of thanks right now, I will catch ya]
Jeefff said:
Thx!
Click to expand...
Click to collapse
Thanks
[out of thanks right now, I will catch ya]
Wow, you guys didn't know TiBU could do this?
apps.zip (a zip created from Titantium BU, containing Root Explorer, TU Backup, Quickpic, ES File Explorer and Terminal Emulator)
This is helpful when you get the rom fully booted, and you have to do some changing of things like pushing apps to the system/apps dir, all the zip is a combination of tools I think are needed to get the rom up to speed, I have been using this since the G3 days, speeds up my testing of the roms for my guide also.
Glad I could share the info for everyone.
Hope it helps.
Thanks to all.
Just had 3 PM from people with issues doing this flash procedure. I fixed them, but here is my issue.
HOW HARD CAN THIS BE!!!!!
This is the easiest steps EVER.
DO IT STEP 1, STEP 2 AND SO ON.
You need it more simple:
BACKUP
COMPLETE WIPE
FLASH ROM
BEFORE BOOT FLASH CORRECT KERNEL
BOOT ROM
5 steps....EASY EASY EASY EASY EASY AND EVEN EASY!
And last but not least - EASY
Solution 2:
If you can not do this, you need to sell your phone to me, and go out and buy a flip phone, or a iPuke. those are the easiest fool proof phones for people who can not read or follow simple instructions.
TheAxman said:
Just had 3 PM from people with issues doing this flash procedure. I fixed them, but here is my issue.
HOW HARD CAN THIS BE!!!!!
This is the easiest steps EVER.
DO IT STEP 1, STEP 2 AND SO ON.
Click to expand...
Click to collapse
You can lead a horse to water.......
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
jd1639 said:
You can lead a horse to water.......
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
I try, but no one is listening.
Again, if you find them lost to the situation send em here...