yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] rumcajsz:
I. How to root Defy via Linux!

A simple script for rooting Defy from Linux. I use SuperOneClick 1.9.1 files in my script, and I rooting succesfully my device from Ubuntu 11.04.

It does not install "bussybox" and "Android Terminal", just "su" and "Superuser.apk".

I hope it will work for someone else too.

Using:

0. install usb grants on your computer (see adb install method)

1. unzip file

2. run RootDefy.sh

3. after succesfully install, reboot phone (./adblinux reboot)

Download:

(version 0.2) download

Changelogs:

[B]02.06.2011:[/B] Version 0.2
- Added header to script
[B]13.05.2011:[/B] Version 0.1
- correct Defy device number
- correct /system filesystem type and path

[B]12.05.2011:[/B] First release

II. How to flash a SBF via Linux!

0. charge your phone 100%!

1. download and extract your sbf file: download

2. download sbf_flash file (same directory): download, or see the editor blog

3. chmod +x sbf_flash

4. sudo ./sbf_flash xxxxxx.sbf

Now your phone should start flashing, and phone will reboot when finish it.

III. How to unroot Defy via Linux!

Go to this topic: link
[Defy Android Development] antony.ps:
Nice, will try this =)
[Defy Android Development] zhaofa:
nice work!

I have been looking for it

Thx.
[Defy Android Development] MisterWB:
Great. I'm under linux too, each time I root a rom I launched a script from sdcard. For next time I'll test your script.

Fyi, I flash rom under linux too. I use 'sbf_flash', that works very well!

( but unsuccessfull under mac :( )

Now I'm looking for deodex script. I wrote and test some but still get errors with some apk and jar :(
[Defy Android Development] tuxtm:
I believe that this script will not work for Motorola Defy for the following reasons:

1)on lines 17-19 the script checks if there are any udev rules matching a Samsung device (for Samsung devices the idVendor attribute is 04e8, but for Motorola devices, the idVendor attribute is 22b8).

2)on line 53 you are remounting the /system partition specifying that the file system is yaffs2 and the device block is /dev/block/mtdblock0.

On my Defy the file system used is ext3 and the device is /dev/block/mmcblk1p21

I have managed to root my defy a few days ago, from my linux box, using the files used by Sooperonelick (rageagainstthecage, superuser.apk, su and busybox) but considering the facts stated above.

@MisterWB

Did you used the last version for sbf_flash? On the original site its stated that the same binary should work on linux and mac
[Defy Android Development] rumcajsz:
Thanks for the advice, I will correct their lines ...
[Defy Android Development] tuxtm:
You're welcome.

If you want to make a script that will work on all devices you could parse the /rpoc/mounts file from the device and extract the device that's mounted to /system and the file system used (in this case the udev part would also need to be modified)

Also, did you check if the adb binary you are using doesn't need any other external libraries installed by Android SDK. I'm asking this because in the sooperoneclick zip I downloaded, I saw some dll files which I' guess that are used by the adb windows binary, and I don't know if the linux adb binary doesn't need some external libraries, which should also be included in your zip file.

Good luck
[Defy Android Development] MisterWB:
Yes I use it on mac+linux... but on my mac, at beginning sbf_flash see my phone, but when I want to flash a sbf, sbf_flash freeze on message "waiting for phone" :( It seems usb behavior varies on mac models.

Anyway, thanks for your reply.

@everyone

This thread could-be a good space to exchange about linux tools.

In this case rumcajsz should change the first post's title, and maintain text, links ...

What do-you think about ? Or do-you prefer a new thread ?
[Defy Android Development] johnw.xda:
where can i download sbf_flash?

thank you.
[Defy Android Development] rumcajsz:
Great idea, I changed it.

The download link in the first post now.
[Defy Android Development] balek:
usb tether

Hi,

thanks for both script, works well for me.

I like: go first to recovery menu (vol donw and power) with usb connected and run the flashing script, perfect...

How do you usb tether with your defy and linux ? (ubuntu)

I use this a lot with my previous phone htc.

I run the french froyo rom (http://xdaforums.com/showthread.php?t=1072367), but i did not found the m.stone usbtether app.

Maybe you got a sbf with every things working natively with linux and no blur?

Regards and BRAVO again...
[Defy Android Development] balek:
usb tether

Usb tether is ok with proxoid and port fowarding with the defy (see proxoid wiki).

It is not like my old htc as the device is seen by the pc as a network interface (usb0). In this way you got an IP to communicate with your phone (i am using it for vlc remote for example and other app where ip is needed).

When i plug my defy on usb I got 3 menu: motorola pc, windows sync, sd and nothing.

Is there a way to have menu without motorola and windows stuff ? ( sorry for duplicate the question between this form and the french froyo rom one...)

++
[Defy Android Development] tuxtm:
That option should be related to the Media Portal application. Maybe if you would rename it (by changing the apk extension to something else) would do the trick. I didn't test this so, I can not tell you if it will work or if it won't brick your phone:)

/LE I have just renamed the MediaPortal.apk and apk for the Media Share (I belive it is HomeSyncWizard.apk)then rebooted the phone, but the "Portal and Tools" and "Windows Media Sync" options are still there.
[Defy Android Development] balek:
I have to check what is the difference between HTC and motorola.

Tkx for the try,
[Defy Android Development] rumcajsz:
added "unroot" to first post
[Defy Android Development] mpiekp:
On an aside, superoneclick and sbfdepacker can both be ran with mono :)

If you running 64bit distro ensure libncurses 32bit is installed
[Defy Android Development] rumcajsz:
I tried SOC & mono (ubuntu 10.10, 11.04: 32 bit), and it doesn't worked for me. :(
[Defy Android Development] mpiekp:
http://xdaforums.com/showpost.php?p=8699742&postcount=537

Follow the link on there, it will work :) although the script's here do it just as well anyway, but the sbfdepacker, I can find no equivalent of.
[Defy Android Development] rumcajsz:
I tried this way...
[Defy Android Development] balek:
Hi,

If

i root an froyo offical french rom with this script to backup my stuff

install 2nd-init

upgrade to an GingerRom with fixed sbf

then flash back the official french sbf

will i keep my warranty ?

No way to find out i rooted my defy?

I will try mono...
[7 Mozart General] andoridkiller:
Hi There, i feel like the orange rom lags, does anyone else have this. I changed from debranding because I wanted to unvoid my warranty, furthermore the only differnce i thought was the that htc rom didnt have orange apps and was green. However I dont feel this is the case.
[7 Mozart General] carmello1911:
no lags or anything of that kind for my Orange ROM Mozart..
[7 Mozart General] d-signet:
no lags on mine either. Depends on what you mean by 'lags' though i guess.

delay when launching apps? animations hanging? what is lagging?

Also - how much free space on your device?
[7 Mozart General] andoridkiller:
5gb free space, and yes animations hangign and when i slide it takes a second, wihile before it was instantious with the debranded rom.
[7 Mozart General] darkwaxer:
I don't understand why you would want a Orange ROM on the phone. Company branding in my opinion ruins phones. So I understanding why you have lag, your phone is loading unnessary data associated with the branded ROM.
[7 Mozart General] andoridkiller:
warranty. i didnt want to void, as i had a problem. im not an idiot.
[7 Mozart General] d-signet:
i'm running the Orange ROM and have no lag - must be something specific to your device.

did you flash the rom yourself ir is it the default rom that came with the phone?

have you got NoDo yet?
[7 Mozart General] andoridkiller:
yep got nodo etc, it doesnt lag anymore. I dont know what it was but its stopped thankfully.
[7 Mozart General] andrew-in-woking:
1.30 ROM

Hi all

Flashing this ROM might resolve any problems:

http://xdaforums.com/showthread.php?t=993176

Cheers

andrew-in-woking
[EVO 4G General] fierceeagle2003:
http://tcrn.ch/lzDROH
[EVO 4G General] xHausx:
Do you have the full link?
[EVO 4G General] CheesyNutz:
http://xdaforums.com/showthread.php?t=1076079
[EVO 4G General] tejasrichard:
This makes thread number..3.

Number 2, which actually has download links, is also on the font page of general...just below this one.
[EVO 4G General] rugedraw:
Link is on first post here and the .apk is on the second page. Enjoy!

http://xdaforums.com/showthread.php?p=13730499#post13730499
[Vibrant Q&A, Help & Troubleshooting] 08cherd4:
I'm just wondering if its possible to flash a theme over a stock 2.2 rom from Samsung. My phone is rooted and has superuser access and everything. I just don't want to flash a ROM as I have already bricked one device.

any help is appreciated.

Thanks
[Vibrant Q&A, Help & Troubleshooting] Abu-7abash:
You know there's about the same possibility you're gonna run into some issues when flashing a theme like that of flashing a rom.
[Vibrant Q&A, Help & Troubleshooting] s15274n:
While it MAY be possible to theme the stock rom if it was deodexed, blagh blagh... why not just flash a rom? You could be done in a matter of 10 minutes and have a superior phone.

Last time, how did you brick? That's REALLY hard to do.

Follow my guides in my signature....

EDIT, just saw you had Telus, which I am not familiar with.
[Vibrant Q&A, Help & Troubleshooting] }{Alienz}{:
It is NOT possible to flash a theme over a stock ROM.

The ROM is not deodexed and will cause issues with the theme. It is possible to flash themes over Deodexed stock roms though. But you'd have to flash such a rom FIRST.

Like the suggestion above me, flash a whole ROM. Click on my setup in my signature to see an example of what you can do with a custom ROM.
[Vibrant Q&A, Help & Troubleshooting] MailenJokerbell:
Flash a ROM dude.

It's not hard, I can tell you.

Just follow instructions precisely and don't use ODIN.

Just Root > Install ROM Manager > Install rom from SD card.

That's pretty much everything(in most cases), don't see how you can screw up that.

BTW, were you completely sure that you bricked the phone beyond repair?
[LG Optimus 2x] JJnJ:
Hi everybody!

I found a kitchen to make your own theme's but then i got stuck because cwm would instal it.

http://www.uot.dakra.lt/

After a lot of trail and error this is what worked for me:

Compile a theme using the upload of the framework-res.

Then when it is ready replace the update-binary, and insert the lge-res.apk in the same map as framework-res. Do this with a program like winrar.

Upload to external sd and instal with cwm

It was a pain in the butt getting there for a newbie like me.

files you need are in this rar:

http://www.megaupload.com/?d=I46AAQA6

My theme as a example:

http://www.megaupload.com/?d=HKZBEFHX
[LG Optimus 2x] rori~:
Awesome find :) ..better try to get used to "search function" - it´s a amazing thing :p

And good luck, kitchen is famous!
[LG Optimus 2x] JJnJ:
Yea i tried to search but there to much info for a Dutch guy... Is there a special .apk i have to upload?
[LG Optimus 2x] the heller:
awesome man :D !!!!
[LG Optimus 2x] SolidAudio:
Great.. Thanx :)
[LG Optimus 2x] tiwiz:
framework-res.apk found in /system/framework

Tiwiz
[LG Optimus 2x] JJnJ:
After a lot of work i got is:

Compile a theme using the upload of the framework-res.

Then when it is ready replace the update-binary, and insert the lge-res.apk in the same map as framework-res. Do this with a program like winrar.

files you need are in this rar:

http://www.megaupload.com/?d=I46AAQA6

My theme as a example:

http://www.megaupload.com/?d=HKZBEFHX
[LG Optimus 2x] j.blaze:
hmmm, I get a bootloop. Anyone has the same problem?
[LG Optimus 2x] blu3angel:
This mod is not working for me.. I'm using BlazingDragon rom FR18 and created my own battery mod from the kitchen using BlazingDragon own framework. After creating the UOT zip file, I've replace the update-binary and inserted the lge-res.apk file from the file that was uploaded in the same directory of the framework.res. After flashing, i have a boot-loop.

Tried wiping cache and dalvik but still to no avail... Any ideas pls??
[LG Optimus 2x] 75markus:
theming framework-res.apk from versions newer than FR16 will always result in bootloop, no idea why ...

i posted original framework from FR14 here, you can theme it with UOT Kitchen and apply it to MCR Fr18, it will work flawless

here you go :

http://xdaforums.com/showpost.php?p=14014735&postcount=14
[LG Optimus 2x] j.blaze:
doesn't change anything. bootloop.....again
[LG Optimus 2x] 75markus:
strange, works for me ...
[LG Optimus 2x] JJnJ:
I am on fr17 and using the files in the rar zip. Works great without bootloop. The only thing that doens't work is a custom bootanimation
[LG Optimus 2x] 75markus:
to get custom bootanimation working, you have to zip it WITHOUT compression !!

then it´s working :)
[LG Optimus 2x] JJnJ:
haha i extracted it and copied it into the folder with rootexplorer... thanks for the tip, wil try it
[LG Optimus 2x] MrDeacon:
I also got bootloop, despite using FR14 files. Very annoying.
[LG Optimus 2x] jimminez:
do it work whit stock roms ?
[LG Optimus 2x] 75markus:
i don´t think so, cause stock rom isn´t de-odexed ...
[LG Optimus 2x] jimminez:
what vanilla custom rom dos it support ?
[LG Optimus 2x] LordGabriel:
Figures, this is bootlooping for me. x.o If anyone feels like rummaging through my file, it's here: http://dl.dropbox.com/u/20296909/UOT-05-24-23-32-1.zip
[LG Optimus 2x] JJnJ:
And you used my files?
[LG Optimus 2x] OTOGY2002:
UOT Kitchen work with cyanogen?
[LG Optimus 2x] MrDeacon:
UOT works very well with CyanogenMod. The in-built theme selector enables you to switch between cooked themes quickly.
[LG Optimus 2x] Mike_52:
Works fine on stock rom thx for the tip :). (and for your file, just use your update-binary, other coming from stock rom)
[LG Optimus 2x] mendozinas:
Added updater-binary for Optimus 2x in UOT kitchen:

Type Optimus

Hope it will be easyer to cook.
[LG Optimus 2x] Dac0908:
Damn. Tried to use it on stock ROM (did that on my old phone too) - as soon as I unlock it ADW launcher goes crazy FC-ing and phone cannot be used. Can't even switch to LG Home, nothing.

Oh well... make backup before flashing, people! Luckily I did :cool:
[LG Optimus 2x] preclajsz:
.

How to get back original theme?
[LG Optimus 2x] shpapy:
bedankt voor de hulp
[LG Optimus 2x] lllCisco:
No work in v20c

Enviado desde mi Optimus 2x usando Tapatalk
[LG Optimus 2x] simian253:
Optimus P500

I have tried to use the kitchen to cook a battery mod but I get error 0. I have tried to find an 'update-binary' file for v2.3 stock rom on LG P500 (Optimus one)but don't know where to find it, can any one help please.
[T-Mobile LG G2x] KRAZYADROIDMASTER:
I did not want anyone to miss this interesting article.

The best part of waking up...is a smartphone in your hand? Check out this article I found.

A new survey from telecom equipment maker Ericsson (PDF) finds that some smartphone users are very, very attached to their devices, finding that fully 35 percent of iPhone and Android users in the United States admit to using non-voice applications before they even get out of bed in the morning.

The best part of waking up...is a smartphone in your hand? According to an Ericsson survey, that's true for over one third of Android and iPhone owners.

Check out this article I found.

A new survey from telecom equipment maker Ericsson (PDF) finds that some smartphone users are very, very attached to their devices, finding that fully 35 percent of iPhone and Android users in the United States admit to using non-voice applications before they even get out of bed in the morning.

PLEASE POST IN THE OTHER THREAD THANK YOU.

GO HERE

--->>>http://xdaforums.com/showthread.php?t=1075894
[T-Mobile LG G2x] regP:
alarm clock anyone? lol.
[T-Mobile LG G2x] strikerx312:
smartphones are like my crack! >.<
[T-Mobile LG G2x] player911:
my gf sleeps with hers in her hand. She's a heavy sleeper so having the phone close to her helps her wake up... that or she's looking at p0rn at 4am.

Probably just porn.

I don't grab mine until the alarm goes off. Then i keep it in my hand while I snooze.
[T-Mobile LG G2x] mr.orange303:
I admit waking up in the middle of the night and surfing a little.
[T-Mobile LG G2x] KRAZYADROIDMASTER:
Ha, Both are funny.

My alarm clock does not wake me up but my phone does. :eek:
[T-Mobile LG G2x] K.wayne_m3:
I 'am always on my phone first thing I do before I get out of bed is check my notification bar. while performing my morning deuce I surf the android market.
[T-Mobile LG G2x] C0dy:
First thing I do is check my usual websites in the morning when I wake up.
[T-Mobile LG G2x] ickster:
I've developed this strange habit of polishing my phone on my shirt LOL. It's like a nervous tick, I don't even realize I'm doing it..
[T-Mobile LG G2x] VICosPhi:
I read the RSS updates in the morning using FEEDR - one of the best android apps imo
[T-Mobile LG G2x] nraudigy2:
First thing I'll do is turn off Gentle Alarm and Screen Filter, check the Amazon app for free app and then sync my Pulse news.
[T-Mobile LG G2x] mightywonton:
hahaha GUILTY!!

morning bathroom sitter. facebook, news, pandora.= ZEN:cool:
[T-Mobile LG G2x] mr.orange303:
LOL +1
[T-Mobile LG G2x] msage:
Amen brother!

Within the first few seconds of waking up my fiance picks up her blackberry and checks her notifications, and admittedly I do the same.
[T-Mobile LG G2x] wmm:
Yeah, me, too. First thing is to check the daily Amazon freebie, then check Gmail for stuff that arrived overnight, followed by the dictionary.com daily info. After all that, I'm generally awake enough to get out of bed. :-)
[T-Mobile LG G2x] MVrah:
Hitting de snooze or off on alarm with my nose de my morning podcast start playing n I to try to focus my eye on my phone so I can send command to reduce volume or delay it
[EVO 4G Themes and Apps] naystcb:
Here is a ported Honeycomb bootanimation from the XOOM tablet that has been modified to fit the HTC EVO along with a custom SPC audio file that plays the opening music and narration from Tron Legacy. Install using ROOT Explorer and place here...system>customize>resource...note that this is for SENSE ROMS only. Also make sure to unzip the audio rar first before placing it on the root of the SD Card as an MP3 audio file.
[EVO 4G Themes and Apps] acme64:
got a video?
[EVO 4G Themes and Apps] naystcb:
Nope, can't add video or images because I'm a noob and this forum won't let me. Sorry.
[EVO 4G Themes and Apps] runwitme:
havent tried this but i listen to the music file .. wouldve been nice if it was the music only .. :D
[EVO 4G Themes and Apps] XsMagical:
I just downloaded the bootscreen and extracted it to view the images and it looks sexy. Might have to try this when i get home.
[EVO 4G Themes and Apps] Evo_Guitarist:
It's not that hard bro, I just rooted my Inspire w/Bubbys file.. Side note: It was my first time rooting this evening...
[EVO 4G Themes and Apps] detroit2hi:
Worked perfect!!

I just used HTC bootAni Replacer

Thanks bro!!

its a good one too

Ive had this bootanimation on other roms but there kinda slow

this one works really good for my phone

and Im NOT on a sense rom!!

I just didnt use the sound bit

The file goes into /system/media folder
[EVO 4G Themes and Apps] naystcb:
Glad you liked it.
[EVO 4G Themes and Apps] DacMaddy:
Quick question, where do I push the mp3 to? And do I have to rename it to android_audio before I push?
[EVO 4G Themes and Apps] naystcb:
If you're using a sense rom you only have to change the MP3 file from a .rar to a .zip and push it to system>customize>resource, but if you're on a non-sense rom I believe you will have to leave the MP3 audio out of the equation all together. Perhaps someone else on here knows how to push it to a non-sense rom(lol, a non-sense rom), but I have been told that it will not work and I have yet to get it to work on a non-sense rom even after renaming it android_audio. Hope this helps.
[EVO 4G Themes and Apps] gruesomewolf:
Correct me if Im wrong but the audio for bootanimations is simply an mp3. Its not in a zip, So you would have to extract the SPC_animation_final.mp3 from the rar file. Then push the mp3 to system/customize/resources. For sense based roms. If anyone is interested I could wrap this up in a flashable zip for those of you who have your booanimation in system/customize/resources.
[EVO 4G Themes and Apps] cdowns82:
Gruesomewolf that would be nice thanks ahead of time
[EVO 4G Themes and Apps] gruesomewolf:
Will do later on today

Ok so heres one for sense based roms if your bootanimation is loacated in system/customize/resources with sound

http://www.megaupload.com/?d=HW371PR0

And heres on for AOSP roms if your booanimation is loacated in system/media

http://www.megaupload.com/?d=UM5GNHBG

Enjoy all!!
[EVO 4G Themes and Apps] sanjsrik:
Can you tell me where you got HTC BootAni Replacer?
[Nook Color General] bmebme:
check engadget, I can't post link.

I see hopes
[Nook Color General] lyam23:
Visible to my CM7 NC. Not to my Droid 1 as expected.

Installing now...

EDIT: Bah, it installs but I get a not supported error. Hmm. can still manage queue. That's something I guess.
[Nook Color General] Divine_Madcat:
I wonder if you can spoof the build.prop to match the Nexus s and fool the app...
[Nook Color General] computercarl:
Nope, it's going to need a modified framework to have an ESN. Go to the apps section of NC here, and read up on the HBO-GO thread. It's going to be very close to their solution.
[Nook Color General] Divine_Madcat:
Well, it may require a device with an ESN, but if it is only available to "select" devices, it has to be reading something from the build.prop to determine if it is a valid phone model; the two are different issues..
[Nook Color General] lyam23:
*Waits patiently for smart people to work their magic*

..

..

..

..

*looks at watch*
[Nook Color General] computercarl:
Oh I agree 100%. I was just saying that spoofing the build.prop isnt the entire solution.
[Nook Color General] Divine_Madcat:
Gotcha, fair enough. :)
[Nook Color General] japzone:
Here's the official Netflix Press Release:

http://blog.netflix.com/2011/05/normal-0-false-false-false-en-us-x-none.html

I hope B&N works out something with Netflix so we can at least get a Stock App.

____________________________________________________

Sent from NookColor CM7 uSD using Tapatalk
[Nook Color General] Divine_Madcat:
Looking at the build.prop that is already on my CM7 nook, it has a ro.build.fingerprint of that of a Nexus, so that should not be an issue...

Well, never mind - got a "device not supported" error. It may be looking at other build.prop sections, it may be failing with no IEMI framework (haven't done that mod yet), or it may be looking at the actual CPU, for something only the snapdragon has...
[Nook Color General] chinly43:
As I posted in another section, I'm watching netflix on my nook *right now*! All it took was a build.prop mod. As follows:

ro.product.model=HTC Vision

ro.product.brand=tmobile

ro.product.name=vision

ro.product.device=vision

ro.product.board=vision

ro.product.manufacturer=HTC

ro.build.fingerprint=tmobile/htc_vision/vision/vision:2.2/FRF91/277427:user/release-keys
[Nook Color General] discothan:
Cool....can you take a pic/screenshot!?!?!?
[Nook Color General] chinly43:
I still can't get the screenshot ddms thing to work, but here's a cell phone pic.
[Nook Color General] sangamc:
this is brilliant!!
[Nook Color General] aakbari1024:
How did you edit the build.prop file? Whatever edits I make keep getting overwritten by the default..