yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic Android Development] sanpei:
it seems that everybody have these two updates which I was not ready to release before, so upload them to xda now :)

changes:

HTC's battery driver

a new driver extension to support default USB netshare *

a newer sanpei helper which is reimplement **

non-OC version: screen on 528/352, screen off 240/176 ***

OC version: screen on 576/384, screen off 245/176 (4.0 in Linpack)

other fixes, many error reports in aosp kernel (which version > 2.6.29) have gone, we have a clean dmesg now

* it could work under windows, but you must enable netshare in settings, and not in notification area. and you must disable netshare in settings if you want to use DiskDrive.

** dev could set the button led timeout now. just setprop sanpei.buttonlight.delay 20 (in sec) when phone is running, or set it in build.prop. plz report any issues.

*** I don't test the non-OC version yet, if you encountered any problem plz tell me, since it have lower frequency when you don't touch the phone.

and if the screen doesn't turn on during boot with OC version, plz press red button to close screen then press any other button to active the screen.

this issues happened once when first time this ROM was ported, though we don't have a kernel OCed that time. so I had said "first boot could be not very smooth" before. now I found that with higher CPU freq, it will happen more frequently in this ROM too.

so I won't support higher frequency at current. they are not so stable as I considered before. maybe you think that we could boot it with a lower frequency then use higher after boot. but I think if it have troubles when booting, it will have trouble when heavily using too.
[myTouch 3G, Magic Android Development] sanpei:
default netsharing could be used (both mobile network and WIFI), see my posts. so we don't need third party apps now.

this post is edited by netsharing, plz don't turn mobile network setting off when wifi is on. HTC's software will disable netsharing and uninstall the driver when you turn off mobile network.

and I have checked my external IP address, it is same as I plugged my USB wifi adapter to PC. it won't use mobile network. :)
[myTouch 3G, Magic Android Development] klothius:
Yup, I saw it :) I'll re-edit my changelog then :D Thanks for the OC and all the fixed sanpei ;)
[myTouch 3G, Magic Android Development] sanpei:
do we have fully functional ROMs as HTC official one now? :)

plz remind me if there are other things I could do.
[myTouch 3G, Magic Android Development] sanpei:
could you test it with other target again? :)

I have tested it with an old w810i again, I could send files as usual.
[myTouch 3G, Magic Android Development] :
Sanpei...I couldn't wait to let the good news out. Sorry :) I was like a kid or child in a candy store (hopefully google translate will work correctly).

Not to worry, everyone knows where the kernel updates came from and it sure was not from me ;)
[myTouch 3G, Magic Android Development] yaya900602:
it seems works good on my device ... thanks to sanpei....
[myTouch 3G, Magic Android Development] hnws:
It will be very slow occasionally.

And there is no special operation during the it.

Here is the log and you can see the heavy CPU Load.

And with about 30% chances, the log will be flooded with repeat bluetooth event...I will post the log later after calling someone.

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

edit 1: non-OC version with jit-on

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

edit 2: the bluetooth line repeats many many times is:

V/BluetoothOppProvider( 515): created cursor android.database.sqlite.SQLiteCursor@48a01030 on behalf of

V/BluetoothOppProvider( 515): starting query, database is not null; projection is null; selection is status >= '200' AND (visibility IS NULL OR visibility == '0') AND direction == '1'; selectionArgs is null; sort is _id.

V/BluetoothOppProvider( 515): created cursor android.database.sqlite.SQLiteCursor@48a02688 on behalf of

V/BluetoothOppProvider( 515): starting query, database is not null; projection is null; selection is confirm == '0' AND (visibility IS NULL OR visibility == '0'); selectionArgs is null; sort is _id.

V/BluetoothOppProvider( 515): created cursor android.database.sqlite.SQLiteCursor@48a03c50 on behalf of
[myTouch 3G, Magic Android Development] sanpei:
I have mentioned this in the first post. kill the bluetooth process with a app killer, or just reboot. unfortunately, I don't know how to repair it at current.

in my experience, it only happens at booting. but if we could find how to reproduce in some steps, maybe we could find a solution too.
[myTouch 3G, Magic Android Development] sanpei:
if I care about these things, I won't give it to you :)

I didn't release it just because that I think it should be tested more, since it has many changes. I didn't want anyone to encounter a bug I didn't find. but it seems that you, switch33 and others completed the tests for us ...

I uploaded it myself just for that I don't want users of this HERO port think that I don't care this ROM anymore, and I thought I should provide more info about the modification for Sense users.

and don't be so polite to me. many people called Cyanogen as a "kernel wizard", but obviously, Cyanogen don't have the right skills himself. without Zinx's works, CyanogenMod couldn't be an usable ROM at all. but would Zinx leave their team just because that no IT news said a word about him?

I also won't do less just because imaginations like "I am so important and omg, you guys don't think about it". I know that many users of different ROMs don't care about where the kernel comes from, and I think the users are right. users love your ROM because what you did, not mine. :)

I said these words to let friends know, I understand how to think about these things in a right way, don't let me think that I am a petty man and you all treat me carefully :)

maybe some people dream that they are pop stars, but we are not :) I think we are here just because interests and the willing to make things better. and if not these communities, I even won't start these jobs. that's it. :)
[myTouch 3G, Magic Android Development] Switch33:
I was excited to see it too but I didn't realize you might not be ready to have it released yet. It does seem very solid though :)
[myTouch 3G, Magic Android Development] hnws:
the rom will freeze(maybe a heavy load) for about a minute when I enable the wifi through power control widget, also the boot phase with wifi enabled. I think the log before contains some information about it and if not I will produce another log when I am back to home some hours later.
[myTouch 3G, Magic Android Development] sanpei:
never happened to me..., wait for your logcat and dmesg :)
[myTouch 3G, Magic Android Development] hnws:
Here is my load during wifi enabling...

┌─(darkwhite@hnws:pts/2)───(~)─┐

└─(17:41:%)── adb shell uptime ──(Sat,Jun26)─┘

09:41:34 up 13 min, load average: 8.47, 5.21, 3.03
[myTouch 3G, Magic Android Development] sanpei:
thank you, I reproduced this problem now. maybe the CPU frequency is too low for Sense ROM, I tweaked the min frequency in Non-OC version to a lower value.

could you give OC version a try? it won't fire your phone :)
[myTouch 3G, Magic Android Development] DeuXGod:
I flashed the OC'ed Kernel and Jit and my Magic got all sluggish and slow, so since i didn't had any important info on the phone i just did a full wipe, reflashed rom+update OC'ed and what can i say? This thing fly's now. I can just compare it with the Cursorsense Rom in terms of speed. Awesome work, this is for sure my daily use rom since you release it, and i don't intend to change :D
[myTouch 3G, Magic Android Development] hnws:
It seems that the OC version is better enough...

But I decided to change to Legend's port because the bluetooth problem....

Thank you for ur great rom.
[myTouch 3G, Magic Android Development] Deviser:
Sanpei,

Would it be possible to have 710 Mhz in your kernel? In the old days, I tried that frequency with CursorSense and it worked great.

Thanks.
[myTouch 3G, Magic Android Development] amihaigen:
welcome

Sanpei good job, we loaded the rom you, and are very happy, very fast and stable, only problem for me is the camera, the 5 pictures on 3 of them add my picture attached and you go, get stuck, press home It is ok when I press the photo room, does not appear, the screen flashes and returns to his place, by the way I tried to disable sound, so cleared, but the sound still there.

I wish you continued success.

excuse my English.
[myTouch 3G, Magic Android Development] sanpei:
Legend port support more bluetooth devices?

I will try to find why..., but maybe I couldn't succeed, since I don't have more than 1 bluetooth device to test... :(
[myTouch 3G, Magic Android Development] sanpei:
When Cursordroid released his OC version, there are no real OC methods in our community. the 710Mhz version by old method is something fake. though it made some performance changes as someone reported, but it won't really speed up our phone.

with the old method, we could show any frequency we want, but the phone will run at frequencies it wants.you could read more about the history of old "OC" method, many devs thought it as a joke.

(it's not my thoughts, what I think is that we must try again and again, then we could find the solution which could work)

with new method, we could OC the ARM11 and BUS for real, and for sure, we could make the ARM11 run at higher frequency, but it won't be very stable.
[myTouch 3G, Magic Android Development] sanpei:
it's a bug of JPEG encoding from a lib I took from HTC's leak. when the bug occurs , I show this picture to notify us.

it seems that this bug will appear more frequently under some situations/with different users. I will try to fix it later.

at current, for me, if I give more time to show the preview picture (means that I won't press back to bypass the preview), the bug occurs fewer times (almost none on my phone).

sorry for the slow progress on this problem, I can't have much time as old days when I was porting the camera lib.
[myTouch 3G, Magic Android Development] sanpei:
people who don't want to OC plz try this update. flash it with recovery, without wipe.

it still has lower min freq (than HTC official settings) when screen is on, but maybe it could work without problem.
[myTouch 3G, Magic Android Development] hnws:
no...but I would not have to kill bluetooth on startup...
[myTouch 3G, Magic Android Development] sanpei:
err..., I don't shutdown my phone so it's not a real problem to me. maybe new version from HTC could resolve the problem, then I will update this ROM.

and yes, if we can satisfy the speed of legend port, it is better than Hero ROM. (and personally, I don't think it is slow)
[myTouch 3G, Magic Android Development] Deviser:
Sanpei,

Thanks for answering me.

I read about that fake OC story. However, I used an OC kernel made by xaueious's (Topic here). It was in fact running actual 710 Mhz since I would get an average score of 3.2 in Linpack. I also tried higher frequencies but those would made my phone very unstable.

I believe that with 710Mhz + Jit our phones would fly :p

Thanks for your time.
[myTouch 3G, Magic Android Development] sanpei:
omg.., are there anybody care about the health of his phone? :D

what I heard about is that: with 7xxMhz, many people cannot enable wifi, xxx cannot work properly, and something like that. every time I read these messages, I prevented myself against the curiosity again and again. :p

yes you could boot into desktop, and even you could run the Linpack and get a high score. with auto frequency, the phone won't always run at 7xxMhz with normal usages.

but if we play a game for enough long (half or an hour), maybe we are going to burn our phone or some hardwares in our motherboard. or at beginning, everything goes fine, but someday....

the only thing you could prevent this to happen are apps like setcpu. the double safe has gone. what I think is that we must always have a limit which is safe enough in the kernel.

no manufacturer will design a phone could working at 150% or higher without risks. the 50% you have seen is for that the phone won't be damaged during it running at 100%.

I am not going to teach something, I know everybody understand what I said. I repeat it again here just for reminding people. and if you really want your phone to run at 710Mhz, I would make it for you when I get spare time and other things have been done.

I don't want anybody to think that I just "blablabla..." and don't want to do something for them. and you guys catch me. but it is not a promise ;) , so maybe you won't get it very soon.
[myTouch 3G, Magic Android Development] Deviser:
I think you are being wise...and since your kernel is used by so many people, I can understand your point. There's no need to put in risk everybody's phones.

It's just that I'm always curious of taking my phone to the limits...but since i don't know anything about development, I can't do it by myself.

Anyway, If you ever do it, I'll be here to try . :p

Thank you for your answers!
[myTouch 3G, Magic Android Development] ray8898:
The battery gone way faster than before for using the new HTC's battery driver... or because of the OC?
[myTouch 3G, Magic Android Development] klothius:
Maybe try recalibrating your battery ? :) Charge to max, reboot into recovery, wipe battery stats, boot back into android with the phone taken off the charger and use the phone normally until it's empty....then connect the charger and charge to 100% again and that's it....after a day of use, it should be better.
[myTouch 3G, Magic Android Development] ray8898:
Thanks! I will try it this way!
[myTouch 3G, Magic Android Development] Switch33:
A 650-710 kernel would be fun to play with, I found mine was unstable (random reboots) past 750 but that is a big OC. I do not use my phone for long periods at a time and everyone's usage is different, hard to predict how a large OC will react on different devices...
[myTouch 3G, Magic Android Development] DeuXGod:
Sanpei

So, i was tired of all the Korean stuff on my keyboard, so i try'd to install another keyboard, mainly Swype and the one from this post:

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

It installed ok, no problems, when i go to settings all is there, i activate but when i try to change the keyboard on a SMS for example, it just show up the Korean options or the traditional qwerty keyboard. Is this related with the fact that the ROM is based on the Korean release? Do you think that it's possible to remove the Korean stuff and implement the new multitouch Droid X keyboard from the above post?

Ty for your time and patience.
[myTouch 3G, Magic Android Development] timmy1980:
In car charging

Sanpei,

Congratulations on such a fantastic Hero 2.1 build for us maigic users! For me, your version with the OC'd kernel is the ONLY 2.1 sense ROM that is a worthy replacement for the great cursorsense.

I have noticed however that with your OC'd kernel my phone fails to charge when using my car charger... If I flash 3pei_hero_2.1_alpha WITHOUT the OC update it works fine but as soon as I flash the OC update and reboot, no more chargy in my car!!

Anyone else notice this? I hope this hasn't been talked about already, I did search but found nothing.

Thanks.
[General Questions and Answers] ElAguila:
Does anyone know or heard if there are any plans for a tegra or tegra 2 based phone coming for sprint? I read that nvidia is focusing their tegra 2 chips on android so this would be a nice combination for a phone.
[General Questions and Answers] egyptianbman:
Anyone know anything?? I'm interested in this as well.
[General Questions and Answers] vbetts:
Sprints main manufacturers for phones are Samsung and HTC.

HTC=Qualcomm love.

Samsung=Makes their own SoCs.

Motorola uses different types of SoCs. They've used Qualcomm, TI, and they're planning Tegra 2 phones. But Motorola mainly uses TI SoCs.

If Sprint lands a deal with LG, LG is also planning Tegra phones. Right now, we'll see what happens. Qualcomm or Samsung might come out with something that can rival or beat out Tegra 2 by the time Tegra 2 starts to really show up in phones.
[General Questions and Answers] mxcoldhit:
I know Sprint will be getting some dual-core ARM processor phones, but I would say we can look forward to some Tegra 2s since this is what google is basing their builds off of.

Sent from my shoe, I mean....Epic shoe... I mean Samsung Epic! http://mobilehighway.blogspot.com/
[General Questions and Answers] waydaddym:
No terga 2. Soon Samsung S2.
[General Questions and Answers] vmbgap:
Motorola Photon 4g

I am trying to decide between the Photon and the EVO 3d.

Anyone have some input?
[General Questions and Answers] blues2009:
Personally the 3d wasn't for me. I didn't like the 3d, had crappy reception and slow data speeds. I wasn't the only one with these problems. You can check that out in the forums. So I traded it in b4 the 30 days and now am waiting for the photon or gs2. I'm undecided. I wonder how the tegra 2 is compared to exynos?.
[General Questions and Answers] vmbgap:
From the limited amount of info I have read the exynos is supposed to be better.
[EVO 4G Q&A, Help & Troubleshooting] donniegood:
Any one have any idea what resolution a video file would need to be to play it on the evo? I tried one and it had audio not video
[EVO 4G Q&A, Help & Troubleshooting] donniegood:
Bueller.....
[EVO 4G Q&A, Help & Troubleshooting] jasonrush:
Instructions here should work for the EVO. http://xdaforums.com/showthread.php?t=666971
[EVO 4G Q&A, Help & Troubleshooting] RimkaIzumo:
Correct, I used handbrake with these resolution settings and found it to be perfect. The only problem I had was that I had to change the format to ffmpeg or something like that (don't have the program on me, at work).

The picture is beautiful, you'll adore it.
[EVO 4G Q&A, Help & Troubleshooting] timothydonohue:
if the evo is anything like the nexus, then you will have to change the format to something that it has codecs for. i don't believe that android has native codecs for divx/xvid, so any avi's that use this are SOL for playback. you can use handbrake, or vlc, to convert them to usable files, like h.264 encoded mp4 files. handbrake makes it very simple to do.

follow the instructions HERE

the N1 uses the same resolution screen as the evo, so these instructions should be fine.
[General Questions and Answers] gl1001:
WM6. Whenever I turn the screen off, Wifi automatically turns off until the screen is turned back on.

Can I change this setting? and yes, I know it will drain the battery, but I have 2 spares that are constantly on charge.

Thanks
[General Questions and Answers] stylez:
[APP] WifiNoStandby - stop wifi going to sleep
[EVO 4G Android Development] Tenny:
EDIT: We have NAND WRITE ACCESS NOW, NO NEED TO USE THIS ANYMORE! Do the NAND ROOT then Install AdFree from the Market!!!

Sadly we don't have access to write to the NAND on the Evo outside of the recovery console(yet). Some apps such as "AdFree" By BigTinCan do not work for us, as it doesn't have permission for this...

So we must do this manually...

Choose a hosts file!

You need to do is decide where to get your hosts file that will block them. I am attaching the one I am using, but you can find more all over the net

My hosts file (Which is both other options combined)

Another Option

Another option

Once you have one, put it into the tools Android Tools Directory (C:\AndroidSDK\tools for most people).

Copy the Hosts file to the device!

1. ) The phone must be rooted. (Thanks Toast)

2. ) Boot the phone into recovery (Where it says: RECOVERY INSTRUCTIONS).

3. ) Start up ADB Shell

C:\AndroidSDK\tools>adb shell

4. ) Mount the System Partition

# mount /dev/block/mtdblock4 /system

5. ) Exit Adb Shell (Press Control+C)

6. ) Push the hosts.txt file to the device.

C:\AndroidSDK\tools>adb push hosts.txt /system/etc/hosts

7. ) Reboot Device

C:\AndroidSDK\tools>adb reboot

That's it, not hard at all. Sadly as time goes on, more ads will slip through the cracks, and you have to do this again.

Quick Q&A:

Q: How do I root the phone?

A: Read this thread.

Q: How do I boot into the recovery console?

A: Read this thread.

Q: How do I set up/what is ADB?

A: Read this thread.

Q: Is removing ads wrong?

A: Probably.

Q: What benefits do I get from removing ads?

A: Less distractions, faster load times, more of the actual app/game will be shown.

Q: I still have a question! How do I...?

A: Answer

Credits:

Toast

Joeykrim

BigTinCan

The people that put the list together in this thread.
[EVO 4G Android Development] TheBiles:
Thank you so much! I was really pissed that AdFree didn't work!
[EVO 4G Android Development] joey3002:
pissed really? its day 2 with the evo.. things will happen. I would be pissed bout the oil spill but mildly annoyed that adfree didnt work :)
[EVO 4G Android Development] kyleblakepeters:
No hate on TheBiles, but this ^. Sometimes we all need to take a step back and see how ****ed up our priorities are. Myself included.

@BPglobalPR....follow it.
[EVO 4G Android Development] mr_black03:
currently boycotting all BP products follow @boycottBP
[EVO 4G Android Development] TheBiles:
Well I use "pissed" in a way that is synonymous for "annoyed." My reaction was more like, "Hey, this doesn't work. Damn."
[EVO 4G Android Development] joey3002:
lol, i know.. i was busting balls
[EVO 4G Android Development] timothydonohue:
odd. this looks a lot like my thread here , posted in a section where it probably belongs:rolleyes:

beatcha to it, my man
[EVO 4G Android Development] joey3002:
thanks to the OP.. I just did this last night and it works great.. what free apps can i test just to verify lol...
[EVO 4G Android Development] apristel:
pheeew i thought the forum police would never show up...

kidding.
[EVO 4G Android Development] WillJitsu:
Can this be done if I rooted using UnrEVOked?
[EVO 4G Android Development] timothydonohue:
my point being that

a) i've already posted this up. if tenny had searched, he would have found my thread and would have seen that his was not needed

b) i didn't post it in development, which is designed for kernels, ROMs, radios, etc

honestly, the evo forum is, hands down, the least organized forum that i've seen here at xda. so many people ran out and bought the evo and now come here, just post up without searching, ask the same questions over and over, etc. we end up with 75 threads all saying the same thing. it's ridiculous.
[EVO 4G Android Development] Tenny:
Well depends on what you consider development, some consider any writing to the system partition to be some form of development...

Still though I apologize for posting this after you, I did search but when I originally made this, just I got distracted and didn't submit the thread until later. Don't worry I never saw your thread and did all the research on my own.

But complaining about this thread in the wrong section TWICE does no good... the mods are moving threads and haven't moved this yet... honestly who cares quit *****ing and let's move on.
[EVO 4G Android Development] Tenny:
I do not think so. You need to boot into recovery for anything to stick, so if you can't then no.
[EVO 4G Android Development] vboyz103:
hmmm...strange that when I push this hosts.txt file over to /system/etc/hosts, my entire device just hung. I have to revert back to original hosts file.

Any ideas?
[EVO 4G Android Development] antianalog:
I noticed it removed the ads from Jewels but it didn't remove them from chompSMS. Since I use text more than play games, I'd appreciate it if someone figures out how to remove the ads from chompSMS to let me know. O btw, I used the original hosts.txt file the OP uses.
[EVO 4G Android Development] timothydonohue:
i don't know about chompsms, but if you grab the hosts file from my thread, in q and a, it eliminated the ads from handcent (and everything else i run). the hosts file i posted was updated from adfree 3 days ago.

@vboy, do the push while in recovery mode and with /system mounted for write permissions. there shouldn't be any 'hang' because it's not done while the phone is in android.