yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] stan_w:
I heard that someone added touch panel support for CWM......
[General Questions and Answers] Archer:
Yeah, that's coming. It has buttons on the screen for navigating the menus. I'm not sure if it's gonna be device-specific though, or if it will be generic enough to include regardless of your device.
[Droid X General] ktimque:
In creating backups + flashing .zip ROMs Im wondering which bootstrapper I need to use .

Im on GB OTA rooted.

Which bootstrapper do I need, DX or D2, and which version specifically?
[Droid X General] infazzdar:
Droid 2 Bootstrapper.
[Eee Pad Transformer Q&A, Help & Troubleshooting] earlyberd:
EDIT: I opted to use Titanium Backup to handle a complete backup of my data and apps, so the backup is no longer an issue.

So now I have Ubuntu and Prime! v1.8 installed alongside each other, and I'm wondering how exactly I would go about installing future updates to my Android install without touching the Ubuntu install. Currently most updates require CWM to be installed, but of course CWM has been replaced by a recovery that loads my Ubuntu install. Is there a way to install a recovery capable of both dual booting Ubuntu and handling Android updates? Or perhaps is there a way to temporarily use CWM without actually installing it?
[Eee Pad Transformer Q&A, Help & Troubleshooting] asdfuogh:
Apparently, cwm recovery doesnt recover non-apps.. :-(Be careful in case nvflash recovery is the same?
[Eee Pad Transformer Q&A, Help & Troubleshooting] earlyberd:
I went ahead and used Titanium Backup to make a complete backup of my data and apps, and it seemed to work okay after attempting a wipe.
[HTC EVO 3D] liljacques:
Can someone make this for synergy

Sen from my Dual core evo
[HTC EVO 3D] KLLSWITCH:
here ya go

http://xdaforums.com/showthread.php?t=1245404
[Captivate Android Development] AdamOutler:
Hey guys, I've been interested in getting AOSP running on the Captivate, just like the NexusS. Since I now have an UnBrickable Phone, I figured I'd flash the firmware, but it didn't work. I need a new partition table. I found that the partitions are hidden within the bootloader image, so that didn't work... There is no direct upload without proper partitioning and the partition tables are not in the same format. I was talking to Rebellos and he said it would be possible... Then he came up with the mod out of the blue.

The linux commands used were as follows, the sleep is added so you can copy and paste.

sudo smdk-usbdl -f ./HIBL.bin -a D0020000
sleep 3
sudo smdk-usbdl -f ./nexus_sbl.bin -a 33040000

which loads the HIBL to memory address 0xD0020000 and the SBL to memory Address 0x33040000. At this point it is executed by the HIBL and....

All buttons worked properly! this means there is no work for volume+ volume - or power... There will probly be something else though.

I asked Rebellos to explain here so we can all learn something. I'm attaching the HIBL and the SBL to this post.

Warning: Since unlocking NexusS requires format of the MoviNAND and SDCard be prepaired to format all information on your phone, including EFS. Have a backup of all critical information.
[Captivate Android Development] Rebellos:
Some general (and less-general) stuff about bootloaders analyse:

How to extract SBL from fused image?

(as the one in Nexus S, where IBL, PBL and SBL are together in bootloader.img)

Bootloaders are usually aligned to memory blocks of size like 4, 8, 16, 32KBs. The gaps between them are filled with 0x00 bytes.

SBL is the largest bootloader, so the thing is to open file in hex editor (personally I prefer XVI32), find the largest solid block of data and erase everything before first non-zero byte block. This way you've got Sbl.bin image.

Why is correct entry point (EP) of bootloader so important?

It comes out from ARM specification. Enough to say is that in most of cases code is non-relocatable

More info: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka3698.html

How to find correct bootloader EP?

In all SGS series SBLs I've seen so far EP is always written on 0x20 offset of SBL image, 32bit int in Little Endian notation.

Taking as example Nexus S SBL, in hex editor following bytes are:

00 00 04 33

So correct EP = 0x33040000

Way more complicated thing is when (as we can see in Samsung Waves) SBL (BL3) does not have entrypoint in file. Then it's mainly matter of correct analyse and some guessing.

Most of string pointers are stored and used in ARM assembly this way:

<code>
LDR R4, [some_string_ptr] ;this means LoaD Register (or Load Data Register) from given address, which means we are loading address of some_string
<code>
some_string_ptr DW some_string
some_string DB "string_example"

some_string_ptr will be valid pointer only when code is loaded into valid location (data stored under some_string_ptr doesn't change)

The fastest way is to load such code into any address in IDA disassembler, find few string pointers and see on which address are these pointing. Remember that LDR are also used to obtain CPU SFRs (Special Function Registers) addresses and constant data (this is matter of practice). Example:

We have loaded code under 0x10000000, some random LDRs taken from code:

LDR R0, 0x43000204

LDR R3, 0x12345678 ;looks like magic-const

LDR R8, 0xABCDABCD ;this one also

LDR R1, 0xFFFFFFFF ;looks like error return value or bit mask

LDR R1, 0xE0010000 ;doesn't match the rest, SFR probably (always keep CPU reference manual opened)

LDR R2, 0x43122508

LDR R0, 0x4311270A

LDR R0, 0x430F0100

The rest of LDR are in 0x43****** area, code entrypoint is usually aligned, as I said before, so first entrypoint try would be 0x43000000. You'll recognize you've got valid entrypoint by IDA properly matching strings X-refs to LDR instructions.

Example of code with invalid entrypoint:

TEXT:4148EA20 LDR R1, =0x42593D59
TEXT:4148EA24 MOV R0, R4

The same code, with valid entrypoint:

TEXT:4248EA20 LDR R1, =pSecBootFixedSeedKey ; "Fixed one for Samsung 3G platform. This"...
TEXT:4248EA24 MOV R0, R4

Got any more questions? Suggestions? Problems? Feel free to ask here or PM me.
[Captivate Android Development] psycho2097:
First.

Pls post a bit more detailed instructns... would love 2 try this out wen my unbrickable cappy gets here n Monday.
[Captivate Android Development] BloodSkin:
psycho2097 where did you send yours to have it done at?
[Captivate Android Development] AdamOutler:
To me. You can also pm Connexion2005. He's done the mod as well.

Apparently the Nexus S works with odin, but it's not flashing for some reason... I was able to get the partition table here.. see attached file: http://xdaforums.com/attachment.php?attachmentid=709328&stc=1&d=1315096743

Boot the nexus S bootloader as above, while holding VOL+ and VOL-, then use heimdall to download the part.pit.
[Captivate Android Development] Kyuta Syuko:
Why not try Heimdall? Or have you already?
[Captivate Android Development] AdamOutler:
I tried. read above.. I used heimdall to download the partition table... however there is a problem with heimdall's repartitioning ability.
[Captivate Android Development] Reamer09:
Awesome, I love that someone is working on this and that AdamOutler is one of the ones leading the pack. You have done some great things on the development side of the Captivate and I know you actually work on these things instead of bringing the idea to light but never really going anywhere with it. I am very excited to watch the progress on this. Good luck.
[Captivate Android Development] Kyuta Syuko:
Guess I missed that last part. What kinda problem?
[Captivate Android Development] AdamOutler:
Not quite sure.. it seems to not be able to set the partition in stone. I contacted Benjamin Dobell about it. Its a problem with heimdall

This is a bit different though.. even Odin fails in this case. I am still working with it.
[Captivate Android Development] Kyuta Syuko:
I only asked because I personally prefer to use Heimdall over Odin. It's how I flash back to stock and how I flashed from 2.2 to 2.3 =|

Is it just the Windows version of Heimdall that has this problem or is it all variations? I use it on my laptop running Kubuntu since it likes to detect my phone better.
[Captivate Android Development] AdamOutler:
I run Ubuntu primarily and I have all other platforms in virtual machines. It's a problem with Heimdall's ability to repartition.
[Captivate Android Development] Kyuta Syuko:
I figured you ran some Linux Distro =| Well at least I'm not experiencing any issues with my phone currently... Hope he gets that fixed soon. Sorry to derail the topic =/
[Captivate Android Development] bamonkey:
Dang just lost internet at work. I'm no pro but I saw a topic on the nexus section that seemed to indicate people had problems with this command in LiNux but running it in windows fixed the problem for about 3 people. Best of luck!

edit :internet back! here was the topic: http://xdaforums.com/showthread.php?t=685449
[Captivate Android Development] connexion2005:
The waiting for device command typically means it's not being seen correctly. Type fastboot devices and see if you see anything. Fastboot is what I'll be playing with when I return from the trip. Nexus S firmware is the purest Android experience possible on any phone. This would be a major breakthrough and more importantly, make the Captivate the first in line for Android updates just as the Nexus S is.

Also if fastboot works, it's very easy to make a one click Nexus S firmware installer with the flash all command fastboot has.
[Captivate Android Development] bulletproof1013:
Awesome stuff.
[Captivate Android Development] bulletproof1013:
And now im back on stock
[Captivate Android Development] ameedi600:
If you get the unbrickable mod to work on your phone then wouldn't you be able to flash a sense rom that has the same resolution as the galaxy s.
[Captivate Android Development] bulletproof1013:
Endless capabilities
[Captivate Android Development] sixstringsg:
If we can get Nexus S bootloaders working, I'm certainly getting both of my Captivated done. That means our Captivates would receive updates as long as the Nexus S, correct?
[Captivate Android Development] Nerz:
This is truly great work guys. Hopefully we can get a sgs2 in you guys hand and you can do the same after it is perfected on this. :-)

Of course it is nice to see that this device still has slot of life left with development like this :-)
[Captivate Android Development] AdamOutler:
Lets put it like this... you could play with different configurations until you get something working.
[Captivate Android Development] bulletproof1013:
Damn. I know we will be the first captivates running 2.4, keep up the good work
[Captivate Android Development] existz:
Very nice work Adam!

subscribed!
[Captivate Android Development] Kyuta Syuko:
That would be so awesome!
[Captivate Android Development] MikeyMike01:
I wish I knew half as much as you do Adam. V_V

Keep up the good stuffs.
[Captivate Android Development] stojkov.matt@gmail.com:
If we can get nexus s bootloader to work, can we run nexus s roms?
[Captivate Android Development] XsceneXhippieX:
I'm excited because ice cream sandwich *should* be in aosp, at least to my knowledge it was being released when it came out, correct me if I'm wrong, but that would mean we might get Ice cream before its released to the broad spectrum of devices google plans on updating, right?
[Captivate Android Development] AdamOutler:
Connexion2005 is working on it too. He's good with fastboot, so I'm betting he's going to have an answer for us very soon!
[Captivate Android Development] connexion2005:
Just so we get some smiles, I have full Nexus imaging flashed to a Captivate right now with CWM working. I'm experiencing some mounting issues as of now so no firmware is booting but I have the phone working as a full stand alone and as far as it knows it's a Nexus S. I'm about to attempt a CM7 flash through CWM to see what happens.

UBMOD at it's finest...

World's First Captivate running Nexus S partitioning and imaging thanks to UBMOD and some amazing devs...
[Captivate Android Development] Nerz:
Wow. This is what this community is all about :-)
[Captivate Android Development] connexion2005:
Another update:

System and sdcard are currently unmountable. Cache is working correclty. Does anyone have a PIT file for the Nexus S? I believe this is due to the Captivate PIT partitioning that is still in place on this device. The Nexus S PIT file could prove to be a solution. I would strip the PIT with JTAG but I don't know the address blocks that the Nexus S lives in.
[Captivate Android Development] AdamOutler:
heimdall print-pit works. It returned a different value then what my stock phone returned when I was running only the SBL.

A bit quarky because I had 2 SBL partitions while running the Nexus S SBL.

I tried flashing my phone back to stock 2.1 and did what you did, but I ran into the same error... maybe it has to do with running on Linux instead of Windows? Did you use fastboot from Linux?
[Captivate Android Development] connexion2005:
Very nice, the good news is I own a perfect working GT-i9020 so I will be able to strip the pit from it possibly with heimdall, possibly with a DD dump or maybe some other way if someone cares to share that.

And Adam yes everything before using ODIN inlcuding Fastboot was done from Ubuntu Linux 11.04...

PLEASE NOTE: IF YOU ARE PLANNING ON PLAYING WITH NEXUS S DEVELOPMENT, BE SURE YOU ARE PREPARED FOR POSSIBLY RUMMAGING YOUR INTERNAL SD-CARD BEYOND CURRENT REPAIR. SEVERE PARTITIONING CHANGES WILL OCCUR WHEN FLASHING NEXUS S FIRMWARES AND THEY CURRENTLY ARE NOT FULLY UNDERSTOOD WHICH MEANS YOU SHOULD ONLY BE DOING THIS WITH A DEVICE YOU DON'T NEED TO HAVE ON A DAILY BASIS. CURRENTLY AFTER REVERTING TO CAPTIVATE STATUS, THE INTERNAL SD CARD IS SORTS OF SCREWY AND I'M WORKING ON RE-FORMATTING RIGHT NOW. I'LL POST UP WITH A REVERSAL METHOD IF IT BECOMES AVAILABLE. ALSO BACK UP YOUR ENTIRE EFS DIRECTORY (/EFS) AS IT CONTAINS VALUABLE IMEI/PRODUCT INFO THAT YOU DON'T WANT TO LOSE. I CAN REVERSE THIS IF IT HAPPENS BUT IT INVOLVES SENDING YOUR PHONE TO ME FOR REBUILDING YOUR IMEI NUMBER.

Edit: Please still not the above ALL CAPS NOTES but I was able to re-format the internal card using the built in tool in the settings menu after flashing stock KF1 1 Click download. Still back up your EFS folder as that gets trashed during the Nexus S conversion.
[Captivate Android Development] connexion2005:
If I'm able to convert the /data /system and /sdcard to ext4 this may work. The reason that /cache doesn't complain is that Nexus S uses RFS formatting for it. I've already tried converting to EXT4 partitioning in Captivate form then converting the the Nexus S form but still the same error. Does anyone have some good information on using parted to do this? Perhaps link up the code needed to be typed?

Nexus S use Ext4 for /data and /system (16GB internal SDcard)

YAFFS2 for /cache and /efs (512MB OneNAND)
[Captivate Android Development] Rebellos:
Updated the second post in this thread. It does contain some general analysing how-to tips and tricks.

@Connexion&Adam:

I'm not good in high-level linux things. But if you need some drivers from Captivate/SGS to be ported into Nexus S kernel or just fixed inside of Nexus S - you can count on me.
[Captivate Android Development] bulletproof1013:
I agree with the CAUTION on flashing nexus stuff right now. I did last night and i confirm that my sd card was mush and efs was mush. Good thing i have backups.
[Captivate Android Development] bulletproof1013:
hmm i found this >

<5>[ 2.074344] 0x000000000000-0x000000200000 : "bootloader"

<5>[ 2.075017] 0x0000004c0000-0x000000600000 : "misc"

<5>[ 2.075591] 0x000000600000-0x000000e00000 : "boot"

<5>[ 2.076224] 0x000000e00000-0x000001600000 : "recovery"

<5>[ 2.076820] 0x000001600000-0x00001eb80000 : "cache"

<5>[ 2.079148] 0x00001eb80000-0x00001f900000 : "radio"

<5>[ 2.079770] 0x00001f900000-0x00001ffc0000 : "efs"

here > http://xdaforums.com/showthread.php?t=1249208 <

in reference to bootloaders and unlocking.

maybe it helps maybe it doesnt. ;)
[Captivate Android Development] RichMD:
High praise from another developer... I do find Adam's posts interesting. Almost any other Captivate thread I read I at least understand almost all of it. Then, there are Adam's threads where development and engineering intersect and I try to at least get the gist of the conversation...

What do you do for a living Adam? You could easily work for SamSung, Google, etc if you wanted to... Of course then you might be asked to develop "unhackable" configs which would make it really hard to get by... :D
[Captivate Android Development] AdamOutler:
I'm a Civil Service Biomedical Equipment Technician. I work on medical equipment for a living. I enjoy electronics and I must follow the manual at work... Mobile devices is where I have fun.

Samsung has asked me to work for them. I don't want to move to California or New Jersey.

I'm betting the engineers who designed these boards are pretty happy that we're looking at the way they've done things and making them work differently. I mean, if I designed something that noone ever looked at, I'd be happy if people started hacking it. Samsung does not seem to have a problem with it and I think we can expect a switch to do something similar on future phones.
[Captivate Android Development] connexion2005:
A few teasers of the Samsung Captivate I've converted using UnBrickableMOD. We need a way to partition the phone correctly to allow it to boot as /data /system and /sdcard all must be ext4 but everything else needs to be MTD I believe.
[Captivate Android Development] bulletproof1013:
You tease!
[Captivate Android Development] Rebellos:
Does Nexus S firmware control Captivate's fuel gauge (Battery charging) and modem properly? Just curious.
[Captivate Android Development] connexion2005:
It controls the battery correctly 100% with the charging icon and logo. We won't know whether the modem partition mounts correctly until we boot to firmware.
[Captivate Android Development] bballer182:
Does the nexus have the audiance chip? Or what about porting the driver from stock captivate? The work done here is simply amazing guys. I bow down
[Captivate Android Development] Smasher816:
Possibly. I think the biggest priority is to get it to actually boot though :p

I want to know if more nexus hardware stuff will work, EX: stuff like, usb host mode (if its on Nexus S, i know its on Nexus One)
[Captivate Android Development] bballer182:
Haha. Very true :-)
[Captivate Android Development] Reamer09:
Just for clarity, will this ever be possible without having the UnbrickableMOD on our phones? As in something we could just flash with Heimdall or through recovery. CM7 changes the phones format just through recovery, I basically have no grasp of how everything works at this level so I'm just curious. Thanks.
[Captivate Android Development] bulletproof1013:
You must have unbrickable mod.
[Captivate Android Development] Kyuta Syuko:
Boo I don't feel like opening up my Capy and modding it nor do I feel like (or have the money to) pay someone else to do it. Maybe if I had a spare Capy...

Anyone want to donate to the "Kyu wants Ice Cream" fund? :D
[Captivate Android Development] \/icious:
Guess I'm going to have open up my Cap and hard mod this sob. Lol I've been waiting for a worth while hard mod to come around so that I have an excuse to take this bad boy apart
[Captivate Android Development] popfan:
I got to say great work guy - you are the men!! Are you guys getting any help from CM7?
[Captivate Android Development] bulletproof1013:
I was wondering the same thing.
[Captivate Android Development] AdamOutler:
That's a good idea. SuperCurio mentioned to me in a PM that they did some mapping to get the thing working on our devices, so you're the second person to mention that. I'm going to contact some of the captivate CM7 developers and offer UnBrickable mod to them in exchange for them helping on this project a bit...
[Captivate Android Development] Kyuta Syuko:
That would be awesome if you got the CM guys' help with this. Can almost see this becoming reality :D
[Captivate Android Development] TheTodFather:
imei spoof/change?

Been interested in changing my imei number to a old feature phone i have. I'm sure i'll get flamed, however it is legal here in the US it's just against TOS with ATT. I know it has to be done in the bootloader so was wondering if anyone had any success with trying it or if you have a link I could read up on besides some trollish "this is illegal nonsense". Thanks

I was thinking it would be possible since OP has replaced the bootloader making this more possible.
[Captivate Android Development] bulletproof1013:
I didnt think u could switch IMEI with another device...buti dont think it has to do with the bloaders.please correct me if im wrong.
[Captivate Android Development] AdamOutler:
This is totally off topic. you can mount your EFS partition RW and replace the nvdata.bin file. Mine was wiped completely from my phone when I ran Bada OS bootloaders... It turned my OneNAND into a giant single partition. I'm in the process of rebuilding it, but the path is clear... Delete partition, create new one, copy nvdata.bin back into folder. There are diy guides online.
[Captivate Android Development] TheTodFather:
i'll take a lookski at some diy guides, not that i've had any luck but i think you gave me some good keywords to look for. Thanks ! Ok back to topic!
[Captivate Android Development] stojkov.matt@gmail.com:
how hard is the unbrickable mod? i have decent soldering skills. How much would it cost from some one to do it for me?
[Captivate Android Development] bulletproof1013:
Adam or mobiletechvids will do it...i THINK for 30 plus shipping. I think
[Captivate Android Development] AdamOutler:
I'd like to think of it more as a DIY mod for those with advanced soldering skills. But yes, that's what I ask for.
[Captivate Android Development] z28james:
This was the best resource for when I wanted to change the IMEI on my captivate: http://tinyurl.com/3vggmjw

You're welcome.
[Captivate Android Development] psycho2097:
awrighty guys......my phone came in today.... first unbrickable done by adam!!! :) :) waiting for the weekend to go totally wild!!!
[Captivate Android Development] bulletproof1013:
Make sure u have your efs backed up before you try flashing anything odd.;)
[Captivate Android Development] connexion2005:
As mentioned be careful with playing around to much. UB_Mod makes it unbrickable but you can still get into some serious partitioning issues with some of the things we are working on. Also, you can just port the nv_data.bin from another phone and have it's IMEI. There are specifics that need to be rebuilt inside of it. I'm capable of writing any IMEI to any SGS 1 device (Vibrant, Captivate and i9000 as well as the TAB). I offer IMEI rebuild services but I'm not sure what you want is actually legal as you state. Your not really supposed to just change the serial number of an electronic device unless your a manufacturer and you just re-maned it.
[Captivate Android Development] AdamOutler:
Word. I flashed bada bootloaders to my device... I am still trying to get it back to the way it was. I have a generic IMEI now, so that's better then a totally damaged partition table...

helpful hint... root, su, dd if=/dev/block/stl3 of=/sdcard/efs.bak, copy that /sdcard/efs.bak to your dropbox or something safe.
[Captivate Android Development] connexion2005:
I still had no luck partitioning the captivate to run nexus s firmware. I just tried a similar bml mtd partitioning scheme that cyanogenmod 7 uses but no dice. It would be nice if a dev that understands linux partitioning would step up and possibly write a script to format each partition as it should be. Any takers? ;)
[Captivate Android Development] AdamOutler:
I'm sure I could do it, however I need to know how you got to where you are.. Were you still running Darky's V4 on this device when you flashed it? I can't get mine to go past unlock screen. It freezes every time at unlock while deleting all data on the phone.
[Captivate Android Development] mystichobo:
Gratuitous bump.

Any updates on this guys? If you can get this working, I'll be unbrickabling my captivate in a flash!