Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
youneek
Old
(Last edited by youneek; 15th September 2010 at 06:09 AM.)
#1  
Senior Member - OP
Thanks Meter 16
Posts: 320
Join Date: Jun 2009
Unhappy [ROM][THINK TANK] NOT WORKING Leaked Rom as Update.zip

OK, so I've never tried to put a rom together using redbend_ua but figured now was a good time to figure it out... This is basically just the leaked things that would normally be flashed by odin but instead packaged so redbend_ua can flash them. This will flash correctly but it doesn't boot. I'm at a point where I'm stuck so if anyone wants to help out, here's what I have so far.

DO NOT FLASH THIS ROM!

http://www.multiupload.com/TUBMZ3FKH8

I also used redbend to try and restore all the bml partitions (12) and it looks like it's working but now the phone wont ever boot, it just ends up back in recovery...


Edit: I "may" have figured out how to enable download mode for devices that are hardware locked. Still need to tinker and make sure it's safe but nice to stumble on. If you don't mind risking damaging your phone, I believe that it's bml4 or bml5 from a good phone
Android Collection: Galaxy Nexus, Thunderbolt, Fascinate, Vibrant, Droid Incredible, Nexus One, MyTouch Slide, Cliq, G1
 
youneek
Old
#2  
Senior Member - OP
Thanks Meter 16
Posts: 320
Join Date: Jun 2009
I'm also thinking an alternative is to dd all the partitions on the phone since redbend can restore them. Maybe I could copy them all off and then rewrite the update to restore each partition? Any ideas? Anyone?
Android Collection: Galaxy Nexus, Thunderbolt, Fascinate, Vibrant, Droid Incredible, Nexus One, MyTouch Slide, Cliq, G1
 
youneek
Old
(Last edited by youneek; 15th September 2010 at 03:21 AM.)
#3  
Senior Member - OP
Thanks Meter 16
Posts: 320
Join Date: Jun 2009
Anyone have any other ideas I could try?
Android Collection: Galaxy Nexus, Thunderbolt, Fascinate, Vibrant, Droid Incredible, Nexus One, MyTouch Slide, Cliq, G1
 
youneek
Old
(Last edited by youneek; 15th September 2010 at 03:31 AM.)
#4  
Senior Member - OP
Thanks Meter 16
Posts: 320
Join Date: Jun 2009
Well, it was a terrible idea to overwrite all the partitions. Now the phone asks for my sim unlock as soon as it boots up... Gotta find a way around that now... It also reboots non stop... Tried to repartition in odin and use the original rom but didn't fix the problem. :eek:(
Android Collection: Galaxy Nexus, Thunderbolt, Fascinate, Vibrant, Droid Incredible, Nexus One, MyTouch Slide, Cliq, G1
 
eugene373
Old
#5  
eugene373's Avatar
Recognized Developer
Thanks Meter 7266
Posts: 5,623
Join Date: Aug 2009

 
DONATE TO ME
Not sure why your having issue with this?
My update.zip & kernel flashing works perfect.
Image Hosting Provided by http://i.imgur.com
TMO SGS2 & Nexus S
Eugene373's github
T-Mobile US

Follow me on Twitter.
http://twitter.com/#!/Eugene373

Like my Work, Buy Me a RedBull by clicking on my Can


Just Remember, Only you can Stop XDA Forest Fires!
 
youneek
Old
#6  
Senior Member - OP
Thanks Meter 16
Posts: 320
Join Date: Jun 2009
This is for the new leaked rom. Instead of doing the traditional method I wanted to only use redbend_ua with the leaked files. You can flash everything fine through odin but if you use redbend to flash them it wont boot.
Android Collection: Galaxy Nexus, Thunderbolt, Fascinate, Vibrant, Droid Incredible, Nexus One, MyTouch Slide, Cliq, G1
 
richan90
Old
#7  
richan90's Avatar
Senior Member
Thanks Meter 5
Posts: 305
Join Date: Aug 2010
Location: Seattle
Quote:
Originally Posted by youneek View Post

Edit: I have figured out how to enable download mode for devices that are hardware locked. When I flashed ms_guru's rom I had to use vol+down and power to get into download mode. I then flashed the recovery bml partition and I can do it by using the volume keys and usb again. Still need to tinker and make sure it's safe but nice to stumble on.
Whoa whoa this is a huge discovery. Could you explain that in a little more detail? If you got into download mode using the hardware then you didn't have a locked phone to begin with?
 
z4ziggy
Old
#8  
Member
Thanks Meter 14
Posts: 87
Join Date: Sep 2010
you'll be glad to know you did not destroy all your partitions.

1st of all, i doubt your updater-script actually works - you dont have the update-binary in your update.zip, which means there is no parser who can actually execute the update-script.

assuming im wrong and that your script actually works, it will reboot after the 1st redbend_ua (thats how redbend_ua works - it reboots when it finishes), and according to your script you flash the kernel partition first. so, just reflash the kernel partition again with a valid zImage to repair.
 
youneek
Old
(Last edited by youneek; 15th September 2010 at 05:53 AM.)
#9  
Senior Member - OP
Thanks Meter 16
Posts: 320
Join Date: Jun 2009
The zip posted in the thread is not my attempt to flash all the bml. It is my version that attempts to flash the new rom using redbend instead of ODIN. The version that has damaged my phone has login information so I wont post it. I can get the phone to boot now but it doesn't recognize any sim cards. redbend works perfectly fine the way I posted it, not sure what you are saying it's missing?

The current upgrade script looks more like the one below... It was a bad idea...


show_progress 0.1 0
copy_dir PACKAGE:redbend TMP:/redbend
set_perm 0 0 755 TMP:/redbend/redbend_ua

copy_dir PACKAGE:bml1 TMP:/bml1
run_program /tmp/redbend/redbend_ua restore /tmp/bml1/bml1.bak /dev/block/bml1
delete PACKAGE:big_update/bml1.bak

copy_dir PACKAGE:bml2 TMP:/bml2
run_program /tmp/redbend/redbend_ua restore /tmp/bml2/bml2.bak /dev/block/bml2
delete PACKAGE:big_update/bml2.bak

copy_dir PACKAGE:bml3 TMP:/bml3
run_program /tmp/redbend/redbend_ua restore /tmp/bml3/bml3.bak /dev/block/bml3
delete PACKAGE:big_update/bml3.bak

copy_dir PACKAGE:bml4 TMP:/bml4
run_program /tmp/redbend/redbend_ua restore /tmp/bml4/bml4.bak /dev/block/bml4
delete PACKAGE:big_update/bml4.bak

copy_dir PACKAGE:bml5 TMP:/bml5
run_program /tmp/redbend/redbend_ua restore /tmp/bml5/bml5.bak /dev/block/bml5
delete PACKAGE:big_update/bml5.bak

copy_dir PACKAGE:bml6 TMP:/bml6
run_program /tmp/redbend/redbend_ua restore /tmp/bml6/bml6.bak /dev/block/bml6
delete PACKAGE:big_update/bml6.bak

copy_dir PACKAGE:bml7 TMP:/bml7
run_program /tmp/redbend/redbend_ua restore /tmp/bml7/bml7.bak /dev/block/bml7
delete PACKAGE:big_update/bml7.bak

copy_dir PACKAGE:bml8 TMP:/bml8
run_program /tmp/redbend/redbend_ua restore /tmp/bml8/bml8.bak /dev/block/bml8
delete PACKAGE:big_update/bml8.bak

copy_dir PACKAGE:bml9 TMP:/bml9
run_program /tmp/redbend/redbend_ua restore /tmp/bml9/bml9.bak /dev/block/bml9
delete PACKAGE:big_update/bml9.bak

copy_dir PACKAGE:bml10 TMP:/bml10
run_program /tmp/redbend/redbend_ua restore /tmp/bml10/bml10.bak /dev/block/bml10
delete PACKAGE:big_update/bml19.bak

copy_dir PACKAGE:bml11 TMP:/bml11
run_program /tmp/redbend/redbend_ua restore /tmp/bml11/bml11.bak /dev/block/bml11
delete PACKAGE:big_update/bml11.bak

copy_dir PACKAGE:bml12 TMP:/bml12
run_program /tmp/redbend/redbend_ua restore /tmp/bml12/bml12.bak /dev/block/bml12
delete PACKAGE:big_update/bml12.bak

show_progress 0.1 10
Attached Thumbnails
Click image for larger version

Name:	DSC_0001.jpg
Views:	78
Size:	83.9 KB
ID:	401368  
Android Collection: Galaxy Nexus, Thunderbolt, Fascinate, Vibrant, Droid Incredible, Nexus One, MyTouch Slide, Cliq, G1
 
z4ziggy
Old
#10  
Member
Thanks Meter 14
Posts: 87
Join Date: Sep 2010
i was referring to the missing 'update-binary' from the update.zip you posted. without this the script wont run.

regarding redbend - from what ive been told, after a successful flash, redbend reboots. in order to overcome this, one might use '/cache/ota/command' but it hasnt been tested yet (acording to supercurio). take a look here: http://forum.xda-developers.com/showpost.php?p=7906500

which partitions did you flash? if by accident you flashed bml3 then you might screwed your IMEI info holder. take a look here: http://forum.xda-developers.com/showthread.php?t=740218

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Auto Test Your Android Apps with Robotium

You’ve just finished coding your very first app, but before you release it to the wild, you … more

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more