yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] |ErosizeD|:
yep! me too... :(

Just right now, crashed when i tried to download a file on megaupload... :confused:
[Defy Android Development] fabianowerner:
wifi stops for a while, it comes back when i turn it off and on using SwitchPro Widget, thats the issue im having. btw im on it at almost 2 days, having only small issues, running an amazing interface called HTC Sense on a Motorola device, that´s for a few only.
[Defy Android Development] fabianowerner:
Did anyone try to fix the camera flash problem on this ROM? or can i consider this rom discontinued?
[Defy Android Development] Dexter_nlb:
i suspect the wifi issue to be DNS related, if anyone still use it, try wifi with static network setup, i think it solves it.
[Defy Android Development] fabianowerner:
thanks dexter, werk like a charm
[Defy Android Development] edition-:
On mine i couldn't even find wifi networks :|
[Defy Android Development] bihariel:
try deleting data/misc/wifi/wpa_suplicant.conf
[Defy Android Development] mcm_xyz:
Good news again.

I managed to get mobile data connection on this rom.

After a lots of digging I found a libril.so file that does the trick. However there is no default gateway added when enabling mobile data connection so it does not work until I add a default gateway by hand.

I hope that tomorrow I will be able to modify the necessary scripts and make data connection work out of the box.

This rom is getting very close to a perfect one! :D

Thanks again Dexter_nlb !

PS. If anyone knows about what script should be modified in order to have the default gateway on interface rmnet0, help would be really appreciated!
[Defy Android Development] Dexter_nlb:
normally the dhcpcd daemon runs the scripts in /etc/dhcpcd folder to configure the interface.. maybe something wrong here for htc mod, i didn't check up on the files, but they work for wifi (90% since dns is kinda buggy i think)..

also, the DNS issue might relate to a little "bug" that i included Google DNS servers in the ramdisk.tar -> init.rc i made.

you might be able to fix/correct this too?

but nice work, i was thinking the data connectivity issue was in the libril as it helped on milestone to make it work..so i thought the calling was in the same area, but you made it!
[Defy Android Development] chaihg:
Kudos to all you guys. Count me in as a tester.
[Defy Android Development] psicodelico:
Good news, congratulations guys this is a great job.

Could you change the clockwormod to new one?

Noob question: could this rom run with fm radio?
[Defy Android Development] mcm_xyz:
Libril.so

I said in my previous post that I found the correct libril.so file for the data connection to work (partially), but I was really tired last night and forgot to post it.

So here it is... has been taken from another rom of dexter_nlb made for milestone.

http://xdaforums.com/showpost.php?p=8205890&postcount=1

So thank him again.

I'll let you know when I will manage to fix mobile data gateway problem. After that I will try focusing on FM radio.
[Defy Android Development] mcm_xyz:
Mobile data connection fixed.

For now it's a very inelegant fix. There are some scripts launched on boot that add the required gateway every 10 seconds. I was unable to link the script by some event that may be raised when rmnet0 interface is raised and configured... But it works. ;) I will move on and try to investigate FM Radio and 720p playback and if I'll manage to get those working then I might come back on this one... For now it's good as it is.

Those being said I got some questions for you Dexter_nlb... :o

1. The clock/weather widget has some screen animations. When coming back from standby the widget should display a weather animation on all screen (raining or sunny) but instead I got only some white boxes with transparency moving over my screen. My guess is that some resources containing those images are missing. Do you have any idea where to find them? or you think it's a OpenGL incompatibility or something like this?

2. Is there any way I can edit ramdisk.tar on windows? Replacing just a file inside with 7zip resulted in a bootloop.

3. Unfortunatelly etc\dhcpcd\dhcpcd.conf is called for wifi only. Any ideea how can I link my script that adds a gateway to any other script called by the raise of rmnet0 adapter?

4. Do I have your permission to post nandroid backups? The things are getting complicated without them.

Thanks in advance!
[Defy Android Development] psicodelico:
I can't understand what you did on scripts :). What did you change to solve the gateway problem?
[Defy Android Development] Dexter_nlb:
1. its a hardware error, graphics are there, but no hardware OpenGL ES support for it, its specific for compressed EGL features other devices do not have. so not an easy fix.

2. maybe TotalCommander, it support tar natively, but not sure if its good for it.

3. no sorry, i never looked at the mobiledata config setup much.

4. yes, sure! im see people appreciate your continued support.. please do!!!

im only happy i started something that is now getting even better.

sadly i got no defy to try it on :-(

Remember that porting latest htc, is not so simple as it looks, as if you deodex it, it will become VERY slow and boring, and secondly, you need to fix graphics as htc uses 800x480 and defy is 854x480, so several framework changes are required and you need to odex'd the framework at the end to keep the speed of it. (ill help where possible)
[Defy Android Development] mcm_xyz:
DefyFroyoSense nandroid backup

Ok...

Having Dexters approval I will post some nandroid backups from time to time.

I'll start now with a Beta-00 release. In addition to what Dexter provided so far it should have:

-----------------------------------------------------------

1. Fixed calling support. You can call and receive calls now.

2. Fixed mobile data connection. The solution found is brutal but no other comes to my mind. If interested look to:

/etc/install-recovery.sh and

/bin/setgw.sh

-----------------------------------------------------------

The trick to make data connection work is (setgw.sh content):

#!/system/bin/sh

while true; do

rmnet0gw=`getprop net.rmnet0.gw`

route add default gw "$rmnet0gw" dev rmnet0

sleep 10

done

So you can imagine it's not a perfect solution. If anybody can think on a way to add the gw only when interface rmnet0 is raised please help!

Enough talking, download is here:

http://dl.transfer.ro/DefyFroyoSense-Beta-00-transfer_RO-22feb-162811.zip

Let me know if this works for you!
[Defy Android Development] Filipitripi:
First test

I try your nandroid, work perfectly with the fixes, bur the data nor working for me....

If you have one solution y can try it and post results...

Very good work :D
[Defy Android Development] mcm_xyz:
When you enable mobile data do you have acces to apns? can you add your apn manually? after that do you have the mobile data icons near signal?
[Defy Android Development] mcm_xyz:
WIFI DNS Failure solution - I hope

Just encountered the Wifi suddenly not working issue. Indeed adding back the default google dns servers seem to solve the problem. I was not able to add them to ramdisk image created by dexter so I added them to build.prop file. It seems to solve the problem on my device...

Hope this helps
[Defy Android Development] fabianowerner:
Thank God, this ROM is getting support, thats really awesome as long as its the best rom i´ve ever flashed so far. Thank you guys for the effort

EDIT: Mirror please, i cant download BETA 0.0 from your link!
[Defy Android Development] Dexter_nlb:
you should be able to do a init.rc script change, which execute the lines when interface is added ie.

on property:net.rmnet0.status=ok

start myscript

service myscript /system/etc/myscript.sh

oneshot

idea, but you might need different property test?
[Defy Android Development] HomerGangster:
Ohh that's cool that you're going to build this froyo sense rom :) that was the best rom i flashed. Please make the mobile data working :D it would be awsome
[Defy Android Development] add.thebad:
i am so pleased their is still life life left in this project!

data and out going calls are working fine for me thats all ive tested so far but first impressions are god so thanks!
[Defy Android Development] AgentSmith:
Just want to say I am watching the progress here closely. Keep it up guys! When this rom is a little bit more mature I will definitely give it a try. :)
[Defy Android Development] mcm_xyz:
Mobile data works. Switching between networks works.

[YOUTUBE]KCqyjqm6EQI[/YOUTUBE]

Problems so far with networking:

If you start the phone with wifi disabled wifi will no longer connect to any network. If this happens, enable wifi and restart.

Also latest build.prop
[Defy Android Development] psicodelico:
I'm trying download the nandroid backup. It will take a loooong time. :D
[Defy Android Development] Filipitripi:
Yes i have "H" near the signal bars but data conection dont work for me, i dont see where is the problem.

I put your latest buil.prop, reboot and the problem persist...

"Sorry i turn of the phone and restart and now i have complete data conection :D"

BIG WORK for Dexter and you.. wait for more.. :P

Dexter you can refrest the first post with the new solutions and nandroid's ¿?¿
[Defy Android Development] Dexter_nlb:
as requested, i updated it..

if mcm_xyz makes a new thread (that im ok with), pm me please, as im not reading the section much, just this thread :-) but of course like to read about the progress.
[Defy Android Development] Filipitripi:
Someone mirror for fast download :)

http://www.megaupload.com/?d=ME67PN2O
[Defy Android Development] fabianowerner:
Here´s another mirror:

http://www.multiupload.com/DEPM1XBP3J
[Defy Android Development] edition-:
Really nice work you are doing mcm_xyz :)

Thanks you both, dex and mcm_xyz, for keeping this alive ;)

I was wondering, would it be too difficult to port Sense to a newer 2.2 ROM? My self i came from 2.51, i have alot of issues with the camera on chinese 2.2 :|, there are many good releases like Orange and Finland ones.

Keep it up guys, sense looks amazing on defy xD
[Defy Android Development] paijho158:
at last... thank god thanks to dexter, thanks to mcm_xyz.. you both doing great job. very well thanks.. i'll try it later with finland rom. hope it will give best combination. since that build is the best stock froyo after all.
[Defy Android Development] Dexter_nlb:
i know its a big task, but

if you do a diff of my initial rom with the chinese 2.2, and copy only the files found in 2.2 chinese from a new finland rom, it might just work very well..

if the kernel modules changed, its a problem, as the wifi module is binary changed, and needs to be updated on the new version as well.
[Defy Android Development] fabianowerner:
that would be great cos camera flash isnt working.
[Defy Android Development] edition-:
Well i thought about that, but i was thinking it was a stupid idea, i guess not xD, i will do a try.

And btw, i know how to extract sbf files, but what do i do to the .smg ones?
[Defy Android Development] Dexter_nlb:
its a filesystem some of those.. so mount them on a linux box...use the -oloop option with mount to check them
[Defy Android Development] psicodelico:
Any clue about FM Radio?

EDIT: Is Superuser crashing?

EDIT2: Opening Superuser and asking for root again, works. Weird.
[Defy Android Development] raindem:
It is really amazing update. Thank you buddy!
[Defy Android Development] edition-:
You have to apply the superuser fix

http://xdaforums.com/showpost.php?p=10993413&postcount=97

Just apply the patch as Dexter says on the post :)

mcm_xyz, didn't you applied this fix to your nandroid?
[Defy Android Development] zohan569:
Hey guys, im on 3.4.2 right now, can i use this without flashing the chinese 0.26?

Thanks in advance
[Defy Android Development] psicodelico:
You need just flash the boot only file (you can found it on second page more or less). Restore the nandroid backup and flash the bootonly.

Thanks!! :D
[Defy Android Development] psicodelico:
wrong post.
[Defy Android Development] Sethrix:
will also make the rom maybe even on the basis of BUILD 3.4.2_145-003? that would be very interesant
[Defy Android Development] switchgott:
Realy realy thanks for your hard work!

But please, could you create a rom from new finland 2.2 rom ?

Ist better for europan defys!

China Version seems like to have different hardware inside.

Thanks
[Defy Android Development] mick711:
Great update juste wait for ROM with French language like UK PL FL .

Thanks
[Defy Android Development] Dexter_nlb:
? you must be kidding? the ROM is WWE based, with like 25+ languages.. did you actually install it or?
[Defy Android Development] mcm_xyz:
DefyFroyoSense-Beta-01

Hello again.

Some other small fixes.

1. Applied SU fix. You can also acces recovery app in the list of apps. Please do not ask for a newer recovery :)

2. Added 720p playback support. see http://www.tools4movies.com/Droid/nfs_hp_2010_720p.zip for eg.

Thanks Dexter for modifying your first post to provide links to this new backups. Sorry for the size of Beta-00. It was an zip without compression. :)

Best regards.

http://dl.transfer.ro/DefyFroyoSense-Beta-01-transfer_RO-23feb-34ff3c.7z
[Defy Android Development] mcm_xyz:
Bugs and tweaks

Some bugs and their solutions so far...

1. WiFi does not work sometimes (I noticed that this happens when I start the phone without WiFi enabled). Solution: Enable WiFi and restart phone.

2. HTC Clock Widget has by default some full screen animations that are not supported by our hardware (or libraries). Hold your finger on the widget and move it to Edit (bottom left of your screen). The properties for the widget will appear and you can remove the checkbox for "Show full screen animations"

3. Quick way to install Google maps. Install market enabler from market. Fake the [us] T-Mobile provider. Go to market and search maps. Google maps is available for download.

Hope this helps.
[Defy Android Development] HomerGangster:
Hey looks great and good work :) but are you going to fix it? Waiting for this rom a long time
[Defy Android Development] fabianowerner:
thank you mcm_xyz, you are impressing. all mentioned issues fixed using your tips. there are some others, and in my opinion the camera flash is the most important one. thanks again for your time fixing this wonderful work started by Dex.
[Defy Android Development] psicodelico:
Ok, no newer recovery..but...FM Radio? hehehe.

Could you build a update.zip for us? Or better, We can apply this image without wipe?
[Defy Android Development] mcm_xyz:
Yes. It's safe to apply this without wipe.
[Defy Android Development] tekiccs:
Wicked, downloading, thanks mcm_xyz!
[Defy Android Development] HomerGangster:
Hey guys ;) i've got a problem. My superuser doesn't work. If i try to overclock with milestoneoverclock the su app will crash. Does anyone have a solution?
[Defy Android Development] psicodelico:
See this: http://xdaforums.com/showpost.php?p=11566992&postcount=240
[Defy Android Development] HomerGangster:
I don't know where the root of my sdcart is?
[Defy Android Development] edition-:
the root of your sdcard is your sdcard, just put it inside the sdcard, not on a folder.
[Defy Android Development] HomerGangster:
After i've reboot the phone the screen ist "negative". All the colors are negative and the market doesn't work any more :((. I cleared the cache and so on and it doesn't work.
[Defy Android Development] zohan569:
Can't download the http://dl.transfer.ro/DefyFroyoSense-Beta-01-transfer_RO-23feb-34ff3c.7z. And where is the recovery in this ROM?
[Defy Android Development] teodysalivia:
i restored over 3.4.2 117, EXCELLENT.

Applied disable full screen animation - due to graphics failure

Superuser tweak Excellent! Gmaps- Great!

Only left is Camera issue after taking new photos. Otherwise Excellent and fast rom - i removed all other apps with root-explorer - Sense feels alot faster!

Great work
[Defy Android Development] zohan569:
My wifi doesnt work at all, even if i turn it on and restart my phone?????? and can someone tell me where the recovery and file explorer is?
[Defy Android Development] psicodelico:
look for System Recovery program, if you have installed the patch. If not, read all (ALL) first post. About file explorer, I installed one from market.
[Defy Android Development] zohan569:
i installed the patched one (mcm_xyz edition) and no system recovery, and my wifi isnt working so i cant download a file explorer. :(
[Defy Android Development] psicodelico:
3G? :D

So, read the first post. You will find something about a file called recovery_mode. I'm thinking that you did not apply the patch correctly :)
[Defy Android Development] zohan569:
sorry nevermind, all i need is to get my wifi working, i dont have a data plan. had to reboot my phone to get system recovery. So when i connect to wifi, it says its connected to my network, then when i try to use the market or internet browser, it says page not avaliable. i dont know whats causing this either
[Defy Android Development] psicodelico:
maybe this help: http://xdaforums.com/showpost.php?p=11552359&postcount=220

Did you download the newer version? http://xdaforums.com/showpost.php?p=11573384&postcount=248
[Defy Android Development] zohan569:
but what do i do with these files? thats what i want to know
[Defy Android Development] psicodelico:
The second link is a nandroid backup that contains all patches.

The first is a buil.prop that you need to put in your Defy and replace the old one.

Flash the nandroid backup :D

EDIT: I'm gonna sleep, see you and good lucky.
[Defy Android Development] zohan569:
Thank you so much, but my wifi still not working, ima restore the Beta 01 tomorrow, see if that fixes it.
[Defy Android Development] psicodelico:
/system. You can use root explorer or adb. Few pages before (5 or 6), there is a example how to use adb for upload a file to /system

Now I'm sleeping :)
[Defy Android Development] teodysalivia:
Youtube doesn't seem to be smoothly playing on this - even after update. any tricks?
[Defy Android Development] fabianowerner:
Build me a mirror!
[Defy Android Development] psicodelico:
Anyone is trying to get the fm radio works? I have replaced all libs, apks (radioservice and radio.apk), radio script on bin folder... nothing works. No error is showed up on logcat. Any ideas?
[Defy Android Development] mcm_xyz:
Beta-01 mirror

http://www.multiupload.com/DVY8AVSK7W
[Defy Android Development] fabianowerner:
my man.

i´m running Beta-01 since last night and the early mentioned issues are gone. BTW im still having problems with camera and flash, witch works once only. Any clue on this mcm_xyz? Dex?
[Defy Android Development] psicodelico:
Try flash a firmware with eclair (2.34) after that restore the nandroid backup and flash boot only sbf.
[Defy Android Development] fabianowerner:
What bootonly should i flash? If i flash eclair than restore the rom it wont be froyo. I dont understand.
[Defy Android Development] psicodelico:
In beginning of this thread there is the bootloader.
[Defy Android Development] teodysalivia:
Tried this one - Youtube lagging and video playback resolved!

Excellent - only left is taking camera, and retaking new shots,

this is near to perfection!.
[Defy Android Development] teodysalivia:
Tried this one - Youtube lagging and video playback -- lagging evident on continuous playing only. It appears smooth on start.

When taking videos from SD card, playback appears slow at the middle, and jumps occasionally.

Excellent - only left is taking camera, and retaking new shots,

this is near to perfection!.
[Defy Android Development] fabianowerner:
Take a look on what i did:

1- wipe

2- flashed JRDNEM_U3_2.34.1_DEBLUR_P3_SIGN_SIGNED_UCAJRDNEMARAB1B80AA02B.0R_USAJORDANRTCEE_P029_A019_HWp3_Service1FF.sbf

3-root

4-flashed Defy_2_2_CN.sbf

5-root Super1

6-installed recovery

7-wipe

8-flashed DefyfroyoSense boot for 3.4.2 froyo.sbf

9-wipe

10-restored DefyFroyoSense-Beta-01-transfer_RO-23feb-34ff3c

11-wipe

tried both HTC Camera and Google Camera.

Camera Flash works only once, out of sync, then no flash when taking new photos.

Where did it all go wrong?

EDIT: After this, i tried the following steps:

- wipe

- restored my backup with all settings and apps of JBoogie´s OrangeFinal4

- flashed T-mobile froyo bootonly.sbf

- tested the camera flash, works just fine, perfect

- got into recovery, restored DefyFroyoSense-Beta-01-transfer_RO-23feb-34ff3c

- flashed the file called DefyfroyoSense boot for 3.4.2 froyo.sbf - took from here: http://xdaforums.com/showthread.php?t=933710&page=2

- reboot

now im just into a bootloop at android´s logo witch is taking all my battery away.
[Defy Android Development] edition-:
I think you need to wipe it to boot now, about the camera flash, is a chinese 2.2 issue, look for a flashlight fix here in the forum.

Edit: Found it, http://xdaforums.com/showthread.php?t=915078 i'm assuming you flashed 2.51 at least once, if yes this should work.
[Defy Android Development] fabianowerner:
Man, thanks for your quick reply. I wiped after the bootloop using Stock Recovery but it stuck on android´s logo.

I saw the topic saying about the Fix for Camera but there it says: DO not flash if you come from(2.21 or 2.34).

I came from 2.34, as i said early, and i dont wanna loose downgradeability.

Maybe its time to upgrade and forget about warranty and stuff, as long as i can come back to Eclair if i get something wrong in the device. But im staying in the "downgradeable world" until the DefyFroyoSense ROM comes over a "non-down" rom.
[Defy Android Development] shad0wboss:
I have a question regarding the scores. The scores you're getting are quite HIGH compared to other froyo roms. My question is, is that because of chinese sbf or is it because of the zip?
[Defy Android Development] arazvan2002:
The rom is working very nice on my defy after >10 flashing-rooting operations, but just a single issue, the 3D weather effects are not working. Instead of clouds I have some huge rectangles on display. You can see some white shapes in the picture. I will be more perfect if the rom will be rom.zip to install with clockworkmod. I don't like to flash every time the boot.sbf because is not a perfect procedure and RSD is a little strange. I use windows 7 x64. Camera is working ok also with flashlight. I'm using the application with a lens icon. The one with photocam icon is not working, you don't have preview.
[Defy Android Development] psicodelico:
look this: http://xdaforums.com/showpost.php?p=11573476&postcount=249

:D
[Defy Android Development] arazvan2002:
I disabled fullscreen effects. I was sure that is a setting somewhere. Wifi is working sometimes...I have a data plan as a backup.
[Defy Android Development] borisxiao:
the HTC HUB theme thing is not working, themes can be downloaded, but when I tried to apply it, the only thing that changed was the wallpaper, the dock and notification bar were still default SENSE.

Not a big deal anyway.
[Defy Android Development] de_annere:
Did you try the suggested fixes?

Thanks for your great work so far, mcm_xyz, do you think there is a chance you get Bluetooth fixed?
[Defy Android Development] fabianowerner:
I think the only way to definitely fix the bluetooth and camera issues is building DefyFroyoSense over another ROM besides Chinese one. I think the best one is OrangeDeblur.
[Defy Android Development] psicodelico:
In my opinion, the orange is best rom so far, but to build the sense over it just Dexter has the knowledge here and him doesn't have the phone.
[Defy Android Development] gomdon:
maybe base on uk 3.4.3 is better
[Defy Android Development] fabianowerner:
ei psicodelico, seu flash funciona 100% sua camera funciona?? será q vc nao poderia criar um nandroid do seu Sense para mim?
[Defy Android Development] mick711:
I don't understand ?

For ROM last Froyo i think better to Orange deblur
[Defy Android Development] psicodelico:
Meu flash não funcionava corretamente. Tentei tanto corrigir que agora só acende uma luz tão fraca que você precisa olhar com carinho para notar :)
[Defy Android Development] Cypok:
Write in English please.