yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] doaneramma:
OK, got mine replace thanks to 30 day DOA periods. I got root, but this is what I have now when I run ApplyMods.bat. Its that last part that doesn't look right.

C:\bell_deodex\windows>ApplyMods.bat

Extracting deodex'd files

system.tar.gz found.

Extracted

..\mods\app\DockService.patch

..\mods\app\PortalApp.patch

..\mods\framework\framework-res.zip

..\mods\framework\services.patch

4 File(s) copied

Mods copied

Applying patches in app folder

Decompiling DockService.apk

Patching DockService.apk

Recompiling DockService.apk

Decompiling PortalApp.apk

Patching PortalApp.apk

Recompiling PortalApp.apk

Applying zips in app folder

File Not Found

Applying patches in framework folder

Decompiling services.jar

Patching services.jar

Recompiling services.jar

Applying zips in framework folder

Extracting "framework-res.zip"

Adding to framework-res.apk

Update system.tar.gz? y/n n

Push mods to phone? y/n y

Pushing mods to phone

.\bin\adb.exe push app\DockService.apk /data/local/tmp/app/

failed to copy 'app\DockService.apk' to '/data/local/tmp/app/': Is a directory

.\bin\adb.exe push app\PortalApp.apk /data/local/tmp/app/

failed to copy 'app\PortalApp.apk' to '/data/local/tmp/app/': Is a directory

.\bin\adb.exe push framework\services.jar /data/local/tmp/framework/

failed to copy 'framework\services.jar' to '/data/local/tmp/framework/': Is a di

rectory

.\bin\adb.exe push framework\framework-res.apk /data/local/tmp/framework/

failed to copy 'framework\framework-res.apk' to '/data/local/tmp/framework/': Is

a directory
[Atrix 4G Android Development] NFHimself:
Oh, that's minor, give me a sec to fix that, all that means is that there is no directories called framework or app in /data/local/tmp, that is where everything goes when the other scripts are run, all the deodexed files go there for example.

Maybe it's a feature rather than a bug though, you don't want to do anything with those files unless you are deodexed first. And they are not going to do much from that location, they would have to be copied over to system manually via adb. And if you run install_deodexed.bat afterword, those mods will get clobbered.

EDIT:

Files updated to first create /data/local/tmp/app and /framework in ApplyMods, maybe some use for that in applying mods after the fact, ex. I release a new version with different mods . I also tossed in a README.txt with a bit of explanation of what all the files are.

I also did up a script to take two sets of system files, with app and framework in each and do what is basically a diff between the two. The idea is to be able to take a stock set of deodexed files for ATT, compare them with a "rom" created here for ATT, create the various patch and zip files, and apply them to a BELL set of deodexed files, or apply them to a newer version of ATT files. It's a bit different in format currently that what I did up initially in this archive here, so that needs a bit more work, and it won't automate everything, files added in, etc, but it looks promising. :)
[Atrix 4G Android Development] EGM92:
Noob here...

I want to install themes on my Bell Atrix, but I guess I have to be deodex. What exactly is involved in the process? Do I have to just run the script thats in the download on the main page? Is there anything I have to do before hand? I have my phone currently rooted and I've changed a couple of system APK's (webtop mod).

I'd appreciate some help.
[Atrix 4G Android Development] Rickroller:
Quick question..will running this help with achieving the webtop mod for the Bell Atrix? Currently its not working..and some people have said it worked prior but not anymore?

Edit: Reread the OP and you mention the webtop hack..im assuming this is what I'm looking for then? Since I'm already rooted with Gladroot I can still run this as per instructions or do I need to revert to stock first?
[Atrix 4G Android Development] NFHimself:
Run the root script in the download on the first page, regardless if you have rooted before, reboot the phone, run install_bell_deodex from a command prompt, see the README in the archive.

The webtop hack I do is applied with ApplyMods, it's the same hack, just in patch form to save download size. You will lose what you have it you copy all the deodexed files over on top of it, so you'd want to modify your system.tar.gz first before running install_bell_deodex. So after rebooting the phone above, run ApplyMods, say yes to modify system.tar.gz, no to push files to phone. Then run install_bell_deodex.
[Atrix 4G Android Development] NFHimself:
Run my root script, something might be up with Gladroot and what I am doing. You can go back to stock if you like, but it shouldn't matter. I haven't installed or run anything from the ATT folks, so take that for what it's worth.

If there are issues with the ATT updates and webtop hack, it should have no bearing on Bell phones, since we haven't had any updates.
[Atrix 4G Android Development] Rickroller:
Well went thru everything without any issues. Was previously rooted via Gladroot and just simply ran everything overtop with no problems. My only question is how to get the webtop hack to work? I've tried using the Webtop Connector app on the phone and nothing happens..is there something i'm missing?

Also..there is a new theme available for the Bell Atrix and it says it must be deodexed..just to be sure now that i've ran this script I should be safe to install the theme?

Thanks again for all your hard work
[Atrix 4G Android Development] sileralias:
okay im having an issue here, I have rooted my phone using gladroot, it prompted me to have psneuter on and i declined. I followed your instructions on the front page and i didn't get deodexed. So i unroot using your script as well as ran the uninstall script for deodex, and i went at it again, and as soon as i ran root, my phone shut off and the red led was flashing rapidly. battery pull fixed it but now i cant run the root script with out it shuting off and the red led.

any ideas?
[Atrix 4G Android Development] raybond25:
webtop hack works when you plug in an HDMI out cable to a TV, or monitor (anything with HDMI in). normally it would just run the entertainment thing, but if your webtop hack worked then it will let you choose webtop or entertainment when it detects HDMI in.

to make sure if its safe to run the theme try using root explorer to look in your /system/app and system/framework directories and check if there are any files in there with the extension .odex, if not, then you're good to go and install the theme
[Atrix 4G Android Development] sileralias:
Found the issue in my own stupidity :P fixed and now deodexed! thank you very much sir :)
[Atrix 4G Android Development] NFHimself:
I already replied via PM (Erm, that was someone else, lol), but for anyone else..

Check permissions to make sure they are user shell, group shell, rw-rw-rw.. I am not sure whether that makes any difference or not, but the rest of my app folder has root.root instead.

adb shell ls -l /system/app/PortalApp.apk
[Atrix 4G Android Development] Rickroller:
Ya..when I hooked up to my TV the only option I got was the usual Entertainment mode..no webtop. Is there anything else I should try running or files I can check to see what may/may not be an issue?
[Atrix 4G Android Development] D_one:
If you have bloat frozen, you need to unfreeze several (I forget which ones).

Sent from my rooted and frozen Bell MB860!
[Atrix 4G Android Development] TareX:
Guys, I feel that the instructions in the OP are not meant for "normal people"...

So when I connect the phone, I choose "None".

I then start the command prompt, but when I run "root.bat" it says "Reconnect your usb cable, or check setup, adb isn't running properly". What's adb?

Can someone please post a real step-by-step guide to deodex the Bell Atrix for noobs? Mine is brand new...

EDIT: FOUND this thread:

http://www.atrixforums.com/forum/mo...ing-scripts-installs-adb-interface-atrix.html

http://www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/
[Atrix 4G Android Development] Rickroller:
I take it you have a better understanding then? If not..here's my learning experiences:

1)First off..connect your phone to your computer..and let it install the drivers. Be sure it's set to something other than None. My laptop was having issues installing drivers so I went straight to Moto's site and downloaded them..connected my phone..and bam..all the drivers were good. The drivers are necessary for "adb". Once drivers are installed..as instructed be sure to set your USB debugging on and your connection to "None"

2) Next step (or first step..depending how you want to proceed :p) is to download the zip file, and then extract them (leaving all the extracted files together in the folder they extract to). You may need a program to extract them..just "Use the web to find a program to open the file" and there are many programs with free trials.

3)Once everything is extracted..find the folder labeled "Windows" (for those using windows) and open it. Inside will be all the files you need to click on. There is a cmd shortcut you should open first, and then double click the root.bat file. From there..you will see some things happening on the cmd window screen. Once that is done..as instructed..reboot your phone.

4) After this just continue following the OP's instructions..and give it time..it can take some time to install and "push" the files to your phone.
[Atrix 4G Android Development] Rickroller:
Thanks..I did have a bunch of stuff frozen but nothing pertaining to the webtop. I unfroze most everything anyways and tried again but still nothing.

I'm wondering if it has something to do with me trying the Bell Webtop Mod hack from another thread first..and putting some files in my /system/app folders. Only thing is i'm not sure what should be there and what shouldnt be..
[Atrix 4G Android Development] blunted09:
Have the same situation as you. I installed the webtop mod hack as well and its not working. getting late so im gonna try this again without the webtop hack tomorrow and post back.
[Atrix 4G Android Development] Rickroller:
This thread has been updated and webtop mod now works for the Bell Atrix.

http://xdaforums.com/showthread.php?t=1015630&page=10
[Atrix 4G Android Development] TareX:
So should I not use the one on this thread? Can I use the one on the thread you've mentioned after using the one in this thread?
[Atrix 4G Android Development] Rickroller:
I've ran this script (the other day) and I just ran the zip from the other thread overtop this morning and it seems to work fine..

I say seem to because in the thread it was recommended to use the stock Moto launcher for the initial webtop mode connection..and so in doing this I froze LauncherPro but apparently didn't "unthaw" everything I needed for the stock Moto launcher..and now can't access anything on my phone after I unlock it from reboot.

Hooking it up to the HDMI cable though I do have access to webtop mode lol..

Hoping someone knows a way I can recover my "softbrick"..
[Atrix 4G Android Development] hburn:
what is supose to happend after you run install deodex.bat i see that it ask for super user but the prompt command screen go away when i accept and i cant find the backup file in the sd card so i think im not deodex ...root goes well but im stuck here ......im using my phone internet on my pc to download ...dou you think this can interfere in the command :confused:

EDIT:resolved .... i did redownload and reextract the archives and now it seems to download something....
[Atrix 4G Android Development] Rickroller:
First time I went thru it when the cmd terminal told me to click allow for Superuser..my screen on my phone had timed out and when I got to it the prompt had failed

I simply went thru the process again and when my phone screen prompted for SU access, after clicking it, ya..it just kind of hangs there for a bit and then continues on with the install..
[Atrix 4G Android Development] hburn:
Get all the way and did what has to be done but no theme or webtop hack is working ...in the applymod.bat should i Say yes to push mod for it to work? ?? I dis say yes for updating system.tar and no to pushmod system.tar
[Atrix 4G Android Development] NFHimself:
ApplyMods, say yes to update system.tar.gz, install_bell_deodex.

I am currently working on a new version, so stay tuned.. :)
[Atrix 4G Android Development] hburn:
Hmmmm....ok i did it like in the readme.txt and its says to install deodex first and applymod after....that is my problem?.. and now i did install the bell theme...should i uninstall everything and start over
[Atrix 4G Android Development] blunted09:
i have already done the webtop hack previously and it still doesnt install for me :( I always end up with teh red blinking light :(

What am i doing wrong? any help is appreciated.
[Atrix 4G Android Development] Rickroller:
Which version of the webtop hack are you trying to do? The one in this thread or the one from the other thread I linked previously?
[Atrix 4G Android Development] blunted09:
I have the webtop hack from the other webtop hack in these forums.

Its still not working and i cant understand why. I have tried searching myself and found possible fixes but nothing works in the end.

Here is what i have done...

-before running this deodexing i have already applied the webtop hack in the other thread

-I run the root.bat

-restart the phone while still plugged into the computer

-run applymods.bat

-two questions are asked...apply mods y/n and another one. I generally say yes to both but i tried no once on the push mods to phone last night and still nothing.

-run install_bell_deodex.bat

-says its already done.

Any suggestions would be much appreciated.
[Atrix 4G Android Development] NFHimself:
It will say already done if it finds the odex backup in internal memory, if you need to do a redo, just use files app on the phone and rename the backup to something else and back again when you are finished since a new backup will be created that doesn't contain odexed files.

Or if you know how to use adb shell, cd /data/local/tmp ; su ; busybox mount -o rw,remount /system ; setprop tcmd.suspend 2 ; cp framework/framework-res.apk /system/framework/ ; setprop sys.reboot 1 (Be careful with setprop tcmd, make sure you are su first, su doesn't work after, would need a battery pull to reboot)
[Atrix 4G Android Development] blunted09:
thanks for the quick help. Im stuck at work right now but il definitely try it out tonight
[Atrix 4G Android Development] blunted09:
well i renamed the odex file back up using file manager and it did run the apps in cmd but i got the red light again upon reboot. :( sigh.
[Atrix 4G Android Development] D_one:
Any plans on deodexing the new telstra sbf?

Sent from my rooted and frozen Bell MB860!
[Atrix 4G Android Development] raybond25:
+1 that would be outstanding if you were to get that done
[Atrix 4G Android Development] NFHimself:
Hi,

I just uploaded a new version, should be more error free with ApplyMods, also new mods in this one, black transparent status bar, etc. I am just changing things as I go along, kinda eclectic, no direction theme wise. Suggestions welcome. :)

Cheers!
[Atrix 4G Android Development] NFHimself:
I'll take a look at that, not sure about flashing a non bell sdf to get the files from it to deodex.
[Atrix 4G Android Development] raybond25:
Could you do it without flashing it yourself if someone could toss you a /app and /framework dump?
[Atrix 4G Android Development] NFHimself:
Have a look at what I posted previous in this thread and see if you can find out what is going on.

What files are in /data/local/tmp? That is the kind of information that would help me point you in the right direction.
[Atrix 4G Android Development] NFHimself:
Unless it's totally different I don't see why not? :)
[Atrix 4G Android Development] scorneil:
that would be awesome. "CAN Rogers Wireless" in the notification bar needs to go.
[Atrix 4G Android Development] seven2099:
Telstra deodex already posted

http://xdaforums.com/showthread.php?p=13135930#post13135930

No need for a new script at all.. there have been tools since forever to deodex and redex. backup, dump..etc
[Atrix 4G Android Development] NFHimself:
Seems your link is missing the files.

xUltimate didn't work properly for me but have a go at it for sure. :)
[Atrix 4G Android Development] D_one:
When I run root.bat the first time, it says:

'TIMEOUT' is not recognized as an internal or external command, operable program or batch file. Was unable to remount /system as read/write.

Running a second time right after:

Mounts /system as read/write and installs root files but gives same timeout error followed by:

SQL error: primary key must be unique

Done, please turn your phone off ad on again.

Apply mods and deodexing doesn't seem to work but I figure I should sort out root first.

I'm on XP and previously used gladroot.

Any ideas?

Sent from my rooted and frozen Bell MB860!
[Atrix 4G Android Development] toughbax:
Can post a fresh copy of a deodex framework-res.apk?
[Atrix 4G Android Development] D_one:
Is that @ me?

Sent from my rooted and frozen Bell MB860!
[Atrix 4G Android Development] raybond25:
Don't think so, I think he's asking for a copy from the 1.4.2 firmware, though he cab correct me if I'm wrong
[Atrix 4G Android Development] WingMan2010:
I soft brick my bell atrix...when i run the soft_brick file i get this...can you help me out

clearing Dalvik cache..

rm failed for /data/dalvik-cache/system@app*.odex, No such file or directory

rm failed for /data/dalvik-cache/system@framework*.odex, No such file or directo

ry

reinstalling apps

cp: cannot stat '/data/local/tmp/app/*': No such file or directory

reinstalling framework..

cp: cannot stat '/data/local/tmp/framework/*': No such file or directory

done.
[Atrix 4G Android Development] NFHimself:
Hi,

The Timeout command in my scripts is just used in replace of a wait or sleep command in other script languages, it isn't supported under windows xp. (I haven't tested under windows xp) So you are missing a delay, but other than that, it sounds like most of it worked. What probably didn't work was the hack to get Superuser.apk to add in the shell to the whitelist, since there was no delay. What you need to do is get Superuser.apk to notice that you want root access from an adb shell. So, from the windows folder, type .\bin\adb.exe shell su, hit accept on the phone, and type exit. Once that is working, the other scripts should work.

This setup is done deliberately, it's better to fail and not work, than to fail and half work. :)

Cheers!
[Atrix 4G Android Development] NFHimself:
Not enough information about what you did. You either did a factory reset and lost all the files my scripts copied over, or you soft bricked doing something else.
[Atrix 4G Android Development] NFHimself:
It's in the system.tar.gz archive, you can just download that.
[Atrix 4G Android Development] D_one:
Thank you, I'm still having an issue; the script asks for SU access as "Unknown" and is accepted. Then when I run root.bat I get this:

C:\ATRIX\bell_deodex_v5\bell_deodex\windows>root.bat

Checking adb connection..

device found.

Installing Superuser.apk

Getting temporary root access...

Wait for the count down to finish ...

'TIMEOUT' is not recognized as an internal or external command,

operable program or batch file.

Mounting /system as read/write ...

Installing root files..

547 KB/s (26264 bytes in 0.046s)

Autoapproving shell access.. check your phone

'TIMEOUT' is not recognized as an internal or external command,

operable program or batch file.

SQL error: columns uid, exec_uid, exec_cmd are not unique

Done, Please turn your phone off and on again..

If I then try to Apply Mods, I get the "Was Unable to Decompile" echo for all the folders...

Any other ideas?
[Atrix 4G Android Development] NFHimself:
That last error means that Superuser already had the shell added to it's whitelist, that's good.

As for the failed to decompile errors, do you have java installed by any chance? ApplyMods is using the apktool developed by Brut.al on here, it's a java program run by java -jar apktool.jar. Without java, it's not going far.
[Atrix 4G Android Development] D_one:
:/ I have JRE, is that enough?

Great, downloading now and keeping my fingers crossed :)

Grrrr.....now I lost ADB :/ updating adb...moto drivers and jdk....let's try this again....
[Atrix 4G Android Development] NFHimself:
Unfortunately not, you need the full shebang. :)
[Atrix 4G Android Development] D_one:
Still no luck...and no change, same errors in the same steps :/ ...I guess Ill have to wait to get home and try on ubuntu...
[Atrix 4G Android Development] toughbax:
Yea, thats what I was asking... no idea why I posted in this thread.... Silly me
[Atrix 4G Android Development] NFHimself:
Regardless, same thing applies, just download the telstra archive and grab it from there. :)
[Atrix 4G Android Development] ChongoDroid:
Is there a script for macs or do I have to bug my windows buddies:)

Sent from my Motorola Olympus
[Atrix 4G Android Development] NFHimself:
I know nothing about macs these days, last time I did anything with macos I was running it in an emulator on an amiga. :)
[Atrix 4G Android Development] WingMan2010:
I soft bricked trying to install gingerBlur...I know dumb move...

http://xdaforums.com/showthread.php?t=1033184&page=2

but i was hoping your script would work....

any ideas??
[Atrix 4G Android Development] NFHimself:
Have a look at my RecoverSystemPartition script, perhaps if you use an external sdcard, you can copy the system dump over to that, and modify the script to point to the external sdcard. Then it's a race using early usb enumeration to get psneuter run, then a dd command to restore the entire system partition. You might have luck using copy_files_while_bricked, but gb does a few other things in other folders that might also cause bricking on Bell.

I haven't tried this from a bricked situation, so it's buyer beware, I have tested the script as is from normal operating mode to untheme and test theming.

G'Luck!
[Atrix 4G Android Development] D_one:
Has anyone successfully done this on xp? Java jdk, android sdk , updated drivers all installed.

I also looked at the script and thought about just copying the files manually after backing up odexs to sd card. Is there any reason not to do this? Will I still be able to recover if something goes wrong?

NF: Thanks for everything and all your work!

Sent from my rooted and frozen Bell MB860!
[Atrix 4G Android Development] NFHimself:
If you understand what the scripts are doing, go ahead, I did everything by hand first to get it working, so shouldn't be a problem for you. :)
[Atrix 4G Android Development] D_one:
Thank you!

I had to manually push the install_deodex.sh to phone, chmod and execute it and it worked beautifully ;)

Even better is that I have a dark notification bar and I didn't think I would without the applymods.

Sent from my rooted and frozen Bell MB860!
[Atrix 4G Android Development] WingMan2010:
Did u brick you bell atrix before?

how did you fix it...i am have a bricked phone no-clue how to fix it
[Atrix 4G Android Development] raybond25:
You can flash the sbf from telstra that can be found in this section, it's compatible with bell, read the instructions in Flashing SBF to Atrix.
[Atrix 4G Android Development] D_one:
NF's advice is probably your only option to keep the bell firmware. Do you by anychance get adb access? Try looking at the GB theme and seeing exactly what files it replaces. You basically need to replace these files with stock bell ones. Did you successfully deodex? If so, system/apps and system/framework should be in your SD card. Do you have CWM?

If none of these work, the telstra sbf may be your best option, and not a bad one it seems. But you will loose your warranty (I think) and not be able to go back to bell until an sbf is released. Better than a brick though:)

Stock Bell Atrix on Rogers with updated radio, Rooted, deodexed, Honeycomb theme, and frozen!