yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] NFHimself:
Thanks,

I am thinking it might be possible to create an sbf from a dump of the partitions on a active phone. It would certainly be nice to have one for Bell. My idea is to replace all the active bits in an sbf file with versions from a dd dump of each partition. [De]Packer could possibly be used to compile a CG5 from all the bits, take that file and use Desbf to create the rest of it.

So if someone with a stock Bell Atrix could run this and post a link back with the resulting 7zip file it would help. Mediafire or some other file hosting service.

backup creator script

What it does is dump all the "other" partitions, not system or data, or webtop, but all the little ones up to 11 and 14

Cheers!
[Atrix 4G Android Development] kennethpenn:
That would be a massive development for Bell users.
[Atrix 4G Android Development] NFHimself:
I have confirmed that removing CG61 causes a flash to not erase your userdata partition. :)

Cheers!
[Atrix 4G Android Development] kennethpenn:
Great news! Keep us updated.
[Atrix 4G Android Development] UncleCemka:
hey, how hard do you think it would be to modify the 1.2.6 SBF to also not wipe the user partition? Would it act like the 1.8.3 SBF which preserves all user settings and apps? Conversely, could we modify the 1.8.3 SBF to act like the 1.2.6 SBF by clearing all the settings out and returning completely back to stock? Sorry for all of the questions, but I just found the 1.8.3 SBF very cool, that it let me keep all my settings and apps, and thus cut down on the time I needed to spend on restoring things after the flash.
[Atrix 4G Android Development] eval-:
Probably as easy as pulling CG61 out, if I recall correctly (pretty easy...)

EDIT: haha I see NFHimself confirmed this... that's the one .8.3 is missing (besides CG51 --ideas?)
[Atrix 4G Android Development] NFHimself:
That's all I did, selected CG61, hit delete, save in desbf, and run rsdlite. :)

Only thing about it is that Gingerbreak will still wipe your internal memory so you still have to backup that.
[Atrix 4G Android Development] NFHimself:
The error in [de]packer, where it says source not found, seems to be limited to cg3.smb, remove that and it compiles the folder.

Cheers!
[Atrix 4G Android Development] NFHimself:
Update on creating a Bell sbf:

Of the partitions 1-11, and 14, the ones with unique content are 3, 5, 9, 10, 11. Of these, 10 and 11 are straight dumps in the sbf file, the recovery and boot partitions, the partitions 3, 5, and 9 have no direct correlation to a CG that I can see so far.

However, I have managed to go from a Telstra firmware to a stock Bell firmware, just not using a sbf. I simply did a dd of all Bell partitions from sdcard to the phone, leaving mmcblk0p12 for last since it's the system partition. Well most of the partitions, I didn't dd internal memory or data, I just did a data wipe. So, you can go back to stock, you just can't recover from a bricked situation, using this method.

Cheers!
[Atrix 4G Android Development] raybond25:
that's great news and I hope that if an update comes out and Bell users aren't necessarily able to update that you might refine this method into an automated process or at least detail it for the rest of the community's benefit.
[Atrix 4G Android Development] GibMcFragger:
Wow. Great work NFHimself! That's the only reason I haven't taken Telstra for a spin. There's no going back......yet.

Sent from my rooted and frozen Motorola Olympus.
[Atrix 4G Android Development] NFHimself:
Well it was literally "dd if=sdcard/mmcblk0p1 of=/dev/block/mmcblk0p1" skipping 12 and continuing on, then doing 12. I did run setprop tcmd.suspend 2 first, and I was rooted, have to pull the battery to reboot since I overwrote the system partition and had no commands in my path, but that's it.

Just would need some online hosting space and do up a simple script, really.

Cheers!
[Atrix 4G Android Development] eval-:
That is really ballsy. I will not write to my mmcblk0p1 because if there is the slightest error I believe I'd have a have a hard brick. All the options seen when holding power + volume-down (or up) can be found in that block device.

But this is not the case for Bell/Telstra?! Fascinating that your devices are different! Where *DOES* your bootloader live?

Actually, I now see that most the Telstra CG img files are signed by two keys, but almost all of the AT&T ones are signed by 3, and the keys differ between the two .sbfs (but are consistent within each.) How very strange. Our CG44s are very similar, but also different (for example do a diff on their strings):

Only in Telstra (1.4.2):

< UpdateBootBct
< BL size:%d
< MB size:%d
< NvMotBlReSign
< NvMotBctReSign End
[Atrix 4G Android Development] NFHimself:
I went through each one with hexedit, and nothing really struck me as being the bootloader, in fact, on my archos tablet, the bootloader was not stored in the mtd list at all, it was somewhere else, probably in the SOC somewhere.

Our partition 1 is all 0xFF, no danger there, either it's protected and can't be read or written to, or it really is 0xFF.

Cheers!
[Atrix 4G Android Development] NFHimself:
Oh, a dump of all the important Bell mtd partitions is available.

Bell_Full_Partition_Backup.tar.gz

Cheers!
[Atrix 4G Android Development] eval-:
Thanks! Yes, I suspect now that the OTA writes the mmcblk0p1 and that this is the location the new bootloader is updated from (on next boot?) and that RSD can simply skip this step and update directly. Just got an mmcblk0p1 from someone who never had an OTA (on ATT) and it is like yours "FF 00 00 00 FF: and then 3.5mb of FFs =) So, you were probably safe to overwrite it!

Will be interesting to confirm once you have your first OTA =) As for "SE" (Secured Engineering?) I don't know the difference to NS yet. Perhaps its related to the bootloader and certificate differences too.
[Atrix 4G Android Development] bongd:
Does anyone have much experience tinkering around with the PDS.bin file? There's reason to suspect that corruption in the mmcblk0p3 block occurs when the Internal SD is formatted and partitioned erroneously via custom recovery. this could be what causes the bottom of the touchscreen to become unresponsive for the bottom half inch of the screen (causes "ghosting" or misaligned touch response above the impacted area)

Tenfar advised me to properly format and partition mmcblk0p18 with the following command (#newfs_msdos -F 32 -S 512 -L MB860 -c 64 -u 16 /dev/block/mmcblk0p18) which did everything okay, but didn't make an impact unfortunately. Still tinkering around with this buggered AT&T Atrix for the last few weeks. Determined to fix this bish instead of sending it in lol
[Atrix 4G Android Development] NFHimself:
Are you sure your partition table is correct? Formatting with the same one will just give you the same thing. Also with mtd partitions you may not have an mbr involved with the actual partition, you might have success with mkfs.vfat or mkdosfs, but if the partition says it's from 100-200 and it's supposed to be 150-350 then nothing different is going to happen.

My guess your best bet would be to flash using rsd lite.

Cheers!
[Atrix 4G Android Development] D_one:
So is rebuilding a bell sbf out as an option? But dd works and is relatively safe?

Stock Bell Atrix on Rogers with updated radio, Rooted, deodexed, Honeycomb theme, and frozen!
[Atrix 4G Android Development] eval-:
I thought we (ATT) had a Toshiba emmc? (And a real MBR and EBR)

mot_fixup: atag_cmdline="mem=320M@0M nvmem=192M@320M mem=512M@512M vmalloc=320M video=tegrafb console=null usbcore.old_scheme_first=1 tegraboot=sdmmc tegrapart=mbr:d00:100:800,kpanic:2100:400:800 security=tomoyo mot_prod=1 androidboot.serialno=...

I also have a bunch of /sys/.../mmc[012] entries...
[Atrix 4G Android Development] natboy:
So is there no checksum on sbf's that you can remove pieces and still flash them?
[Atrix 4G Android Development] NFHimself:
DD works, and buliding a bell sbf isn't obvious to me with the tools available. :) With doing dd, you can possibly brick but you can flash the telstra sbf and start over. Just leave partition 12 until the last or your shell commands won't work. Boot and recovery are not live partitions so you can overwrite those without affecting your ability to enter commands.

Cheers!
[Atrix 4G Android Development] NFHimself:
I was talking about MBR as in dos formatted volumes, master boot record. On my archos tablet, there was no MBR or partition setup for the internal dos volume, just a direct vfat.

Cheers!
[Atrix 4G Android Development] kennethpenn:
NFHimself,

Would it be possible for me to create an SBF that only flashes the /system codegroup and doesn't take the time to flash other codegroups? In Gingerbread, the /system is "CG60."

I tried to make it, but it errors out during the flash process.

Any way to do this?

Thanks for any help!
[Atrix 4G Android Development] NFHimself:
Hi,

I haven't had much luck with just a system sbf, would have come in handy for sure. I have tried just cg58 (froyo), and one with just the radio and cg58, no luck. So far, removed everything but cg5 works, removing the CG's that have all 0xff works. I haven't been doing anything with sbf's for a while, I did check for newer versions of depacker, etc, nothing came up.

Cheers!
[Atrix 4G Android Development] stevendeb25:
How to unpack the smg files? Trued unyaffs but no luck
[Atrix 4G Android Development] mramirezusa:
Just change extension from .smg to. img and open it with winimage in Windows
[Atrix 4G Android Development] stevendeb25:
Lol that simple darn thanks m8

Will give you thanks when am at pc
[Atrix 4G Android Development] firefox3:
Were you able to get root access on gingerbread?
[Atrix 4G Android Development] stevendeb25:
once extracted all files from a cgxx.smg how to compile the folder to a smg file again?
[Atrix 4G Android Development] the2dcour:
make a .img file of the right size and format, load it onto a loopback device, mount the loopback device, write your files, unmount/freeloopback, and upload your img file in the right place. or you could've just mounted the smg in the first place and edited it in place.
[Atrix 4G Android Development] sagerox:
Hey guys I have a problem with my cam. If I flash 1.83 will it replace the cam apk with stock? I really dont want to go all the way back to 1.26.
[Atrix 4G Android Development] stevendeb25:
I tried using dd command to dump a fresh but rooted system dump cg57.smg replaced cg57.smg with the dump. Made sbf using sbfcodec and flashedd. But flash failed when writing 57 and bricked phone lol
[Atrix 4G Android Development] the2dcour:
Of course your bricked, it's signed. ;)
[Atrix 4G Android Development] stevendeb25:
how about flashing CG57.smg via fastboot?

you can flash unsigned images right?

Anyway i tried :D lol

Failed due to image file being to big and told me to use 0x10000000 bytes chunks

no idea now how to use option for bytes chunks

p.s also when flashing a SBF in the directory where the SBF is stored, all CGxx.smg files are there extracted from the SBF, wait until CREATING IMAGE first time to 100% then copy and paste to different directory all SMG files. No tools needed. incase anyone didnt know that.
[Atrix 4G Android Development] KeRmiT80:
which are the blocks that are not overwritten by a stock 1.26 sbf flash?
[Atrix 4G Android Development] eval-:
You can flash anything but signed partitions (basically almost all of them) will fail once your phone reboots. Larger partitions (/system, /osh) get something written to them after the first reboot's hash-check verifies the signature. Afterwards, they can be written to from userspace, and change. But fastboot will clobber this 'something' (still haven't bothered to find it) and you will be bricked after flashing. Smaller partitions (boot.img, recovery.img) which are not expected to change have their hashes checked on every boot (boooooooooooo.)

This is another problem, fastboot doesn't flash files above 256mb. And given our phone uses RSD to update, you'd think we'd just be stuck there... but for some reason Motorola's fastboot adds support for writing larger partitions. It basically loops around and sends the 256mb chunks one at a time. You can find the source code on opensource.motorola.com and compile it (I did this for linux.)

Oddly, with "moto's" fastboot I can flash /osh from the CG file, and on reboot it checks the hash, and works. Obviously if I modify the CG file, the hash (signature check) fails and my phone will not boot (time to RSD.) However, even if I try to fastboot flash a correct /system CG, with no modification, my phone is still blocked on reboot.

It confuses me why I am able to flash the original /osh but not the original /system via fastboot. (I understand why I cannot modify them, of course) I can only assume RSD or fastboot are doing some extra mangling (required or undesired, respectively) of system CG. Alternately my tests were not thorough or I goofed I didn't actually use an original /system CG .img file.
[Atrix 4G Android Development] bolverk:
It looks like this has disappeared off dropbox. Does anyone have it handy to repost?

-Dan
[Atrix 4G Android Development] NFHimself:
backup_OLYLA_U4_0.37.4.tar.gz

Hi,

I changed it from 7z to tar so it can be extracted on the phone.

Cheers!
[Atrix 4G Android Development] IrshaadH:
So will this help me go back to bell firmware?
[Atrix 4G Android Development] NFHimself:
Download it to your phone and extract it in internal memory should end up with a folder there with backup_OLY**** as the name. Run my Atrix mods app, long press backup.

Cheers!
[Atrix 4G Android Development] IrshaadH:
So, doing this will restore the stock Bell framework?
[Atrix 4G Android Development] NFHimself:
It will restore everything on the phone but the radio basically.

Cheers!
[Atrix 4G Android Development] IrshaadH:
Nice! you're a boss, keep up the good work
[Atrix 4G Android Development] nate_benji:
Hmm, i've tried longpressing the Full backup button, and it says nothing about restoring the backup..

I'm getting an error message:

Error!

java.io.IOException: Broken Pipe
[Atrix 4G Android Development] nate_benji:
Is there any way someone can post a guide to get back to the stock bell rom?

I've tried a few different things by gathering information from a few threads, but a nice guide would be greatly appreciated from the people who have actually accomplished it.
[Atrix 4G Android Development] krustypick:
Yes a restore from where?
[Atrix 4G Android Development] NFHimself:
Hi,

Updated the OP with some CG remapping for the new ATT sbf, Still some guesswork with regards to the lower CG numbers.

Cheers!
[Atrix 4G Android Development] mmanojkry:
can somebody provide me the wheather app from the stock rom of defy plus 2.3.6??

also the hindi language patch for defy+ stock rom????
[Atrix 4G Android Development] Stelios85GR:
How could I extract the CG65 from 2.3.4??

I need to find the system app of my rom and replace some of them that was accidentally removed.

I have remove the system sms application and I can't send or receive sms. I can't find anywhere else the apk files.

Please help!!
[Atrix 4G Android Development] palmbeach05:
have you tried a fruitcake 2.3.4 rom and backing up the apk files from the rom after setup?
[Atrix 4G Android Development] honghk0126:
Thanks!:D
[T-Mobile LG G2x] ngerasimatos:
I am on my 3rd device in 3 days. First one was rooted, second one was not. This current one is also not rooted as well.

Unless I am very unlucky, I am going to assume there is a definite issue with the network configuration on this device. Status says I have 3 bars of 4G coverage, however I cannot connect to the internet at all.

Network Signal Info says I am on UMTS with a -93DBM, data is connected. However nothing will load. If I put the phone into airplane mode and then turn airplane mode off the networking comes back online. Speeds are slow though, barely able to perform basic mobile web browsing and watching youtube and such isnt possible. Too slow an too long to buffer.

This doesn't only happen at my house, it happens in other areas as well but it does happen constantly at home. I a not a heavy data user on my account, 1-2GB monthly, so Tmo says they arent throttling me. They have replaced the SIM every time with the devices as well.

Suggestions? If I cannot figure this out soon I am going to cancel my service as I cannot pay for a service and phone that just doesnt work. Tmo seems stumped. They just keep replacing phones since I am within my 14 day return/exchange period.

However, 3 devices all having the same issues sure seems to either prove the phone has an issue, or m general area of Tmo service.

I live in downtown Tempe, AZ.
[T-Mobile LG G2x] dalepa:
Your wifi works?

I have the same issue in my house... I have a weak signal and 4g drops down to 2g which is terrible.... 4g downloads are 3Mbps, but uploads are under 100kps

I changed the network mode to wcdma only which helps significantly. 4g drops, but quickly returns...

Give it a try...
[T-Mobile LG G2x] brentil:
I'm having the same issue here in Orlando. I've had 2 phones now (first one was just a bad unit) and both have had horrible network connectivity and reception. I take my SIM card out and put it in my 2 year old MT3G and it gets perfect reception and fast data transfers while the G2x is choking on network transfers.
[T-Mobile LG G2x] nraudigy2:
Go complain here in LG forum. This is software issue.

http://www.lgforum.com/forum/boards/general/lg/topics/g2x-wifi-problems
[T-Mobile LG G2x] CB620:
have full bars but cant download anything. just sits at waiting for data connection.
[T-Mobile LG G2x] ceroglu:
We really need a baseband modem that works better. My bars goes to zero then to edge and then to 3g constantly. Any time it switches between the connections then the the bars goes to zero and it says there is no conection. Also noticed that 3g connection fluctuates very bad while doing a speed test.
[T-Mobile LG G2x] himmelhauk:
How are you getting 3g? Unless you meant to say 4g?
[T-Mobile LG G2x] ceroglu:
T-mobile only has 3g connection avaliable where I live, of course it says 4g on the phone but in reality it is only 3g.
[T-Mobile LG G2x] Seanathan:
I wonder if there is an issue with our network in Arizona?? I live in Chandler, and work in Scottsdale. my data times out ALLL THE TIME. Both here at home, and at work. Same with my text messaging. Literally, I do exactly what you do with the "airplane" mode. That's the only way to get my data and text working again (besides restarting).

Here are the issues I posted in the LG Forum:

http://www.lgforum.com/forum/boards/carriers/t-mobile/topics/few-issues-with-g2x#26861

(first issue posted is what you are talking about)
[T-Mobile LG G2x] AdamHart612:
I dont think this is a regional issue. Downtown Minneapolis here, and I cant get it to stay on wifi or Edge/4g for more than a few minutes at a time. G1 has no trouble and shows strong 3g while my sisters mt4g shows full 4g. 4g/E symbol just flickers on my g2x leaving me with no connection. I can connect to wifi fine, but even with wifi sleep set to never it still disconnects every few minutes, and has to be toggled on/off to reconnect. Until toggling it just sits flickering 4g/E with no data connection.

I've never seen my Evo drop a E/4g/wifi connection and struggle to reconnect once in the year I've had it. My g2x does it almost every time I pick it up.
[T-Mobile LG G2x] mobilehavoc:
Did you try going into Mobile Networks in Settings and changing the mode to WCDA Preferred or something? That'll stop the flip flopping. That's what I have it on and that's what the phone came with out of the box.Also try Auto in that menu.
[G2 and Desire Z General] Eskimo Bob:
I am trying to find where my apps are saved to in my phone using astro file manager, but I cannot find many of my apps. Running CM7.0.2 bell htc desire z.

There are several in system/apps but not the ones I am looking for, also some in mnt/asec but again, not the ones I am looking for.

if I into settings - applications, the apps I am looking for are under sdcard but they have no checkmark beside them, clicking on them gives me the option to move them to sd card, and if I do that they then show up in mnt/asec, moving them back to phone and they cannot be found. I want these apps on my phone by the way, because they are widgets and go launcher.

And yes these apps run fine even when I cannot find them anywhere using astro. I have searched every file using astro and they are nowhere to be seen!
[G2 and Desire Z General] ilostchild:
/system/apps

/data/apps

/data/app-private

is where they will be located

if you moved them to sd i think they are in a different locations
[G2 and Desire Z General] Eskimo Bob:
/data is empty

/system/apps has several, but missing all the ones downloaded from market

/mnt/asec has all the ones moved to sdcard.
[G2 and Desire Z General] -PoXx-:
Astro file manager can't see /data, get a root file explorer our use the command shell.
[G2 and Desire Z General] brfield:
This...

Astro cannot go into root directories. You need a file manager like Root Explorer to see into system folders.
[G2 and Desire Z General] ohgood:
I used my g2 to:

map

track

stream music

play playlists

navigate from google maps, WHILE STREAMING MUSIC, AT DIFFERENT VOLUME LEVELS

take pictures

720p videos

share all of the above, along with editing the gps track

and it never missed a beat

navigation over music is a very very nice touch. noise cancelling headphones, navigation, pandora, and a external cig charger on a dualsport is a goood goood thing !

(someone poke microsoft, I think balmers fallen asleep @ the wheel again)
[G2 and Desire Z General] elreason4:
Used it as an integral part of locating and destroying Osama Bin Laden, and saving the world for another day....(for security reasons I can't be too specific)....

Just another day with my G2...
[G2 and Desire Z General] awsrasool:
phone calls

txt msg

read the news

and flashed the new pershoot kernel
[G2 and Desire Z General] astriaos:
That kind of commentary is best left for arfcom or some other jingoistic corner of the internet.

My G2 woke me up today. I checked my email and have sent several dozen texts, fielded one 20 minute phone call, and put some nice new live wallpapers on for when I'm trying to force the last few bits of juice out in a hurry for battery calibration. Yesterday I used it for nav.
[G2 and Desire Z General] convolution:
I snuck behind a robber in my house and killed him with my sturdy G2.
[G2 and Desire Z General] eioous:
Made it even more awesome because I added the new "Mixer Theme" to it.:D

http://xdaforums.com/showthread.php?t=1017179
[G2 and Desire Z General] daboy00:
Everything! Because my g2 can. And I love it so much
[G2 and Desire Z General] darkdata:
I watched porn all day...
[G2 and Desire Z General] userfriendlyme:
I actually like the flow of this thread lol with all the waiting for updates def gave me a few laughs and made me think what did I do with my G2 today. it woke me up first thing this morning, gave me weather and news. Sent a few emails and pictures I took yesterday of some nice spring flowers. Sent some text messages, chated on messenger and listened to pandora all morning at work. Made a video call on yahoo while taking a bathroom break. Used google reader to catch up on all my websites when work was slow All while reading and posting tweetdeck updates all day. Luv this phone.

Sent from my CM7 powered G2
[G2 and Desire Z General] shady503403:
gotta love flash eh?? ;)

used it as an alarm clock,

sent some text,

checked some forums news and android websites,

downloaded a new game..

stared at it and wondered why everyone doesn't have a g2.. :)
[G2 and Desire Z General] meetfdc:
watch videos...especially XXXXX:D
[G2 and Desire Z General] ryandaneri:
I flashed a 3.0 sense port. pretty sweet.
[G2 and Desire Z General] shady503403:
I think this will be my job thursday. :)