yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] Jack_R1:
If I see right, it means that hacking android.policy.jar alone won't bring trackball wake - because the input isn't routed through it by default, and InputDispatcher should be modified (in libui.so).

This is the relevant thread, first post on the page:

http://xdaforums.com/showthread.php?t=1053353&page=5

You can try the libui.so from there, and add the relevant mods to android.policy.jar (PhoneWindowManager). But - if the scan code of trackball press isn't the same as the trackpad on Desire, it won't be routed. So someone will need to hex-edit libui.so for the case.

Word of warning - once, a long time ago, I tried it, and dbasabe tried it. It didn't work "as is". On the other hand, maybe we were missing something, or maybe scan code is indeed different.
[Nexus One Android Development] dla5244:
key code is match(N1 and Desire,Code = 272)

I disassembled libui.so and it changed just one bytes.

I think that last problem is kernel.

1.open libui.so with hex editor

search 88 72 A1 F5 98 70 4F 2A

replace 89 72 A1 F5 98 70 4F 2A

2.Add this routine mahimahi-keypad.kl

key 272 BTN_MOUSE WAKE_DROPPED

3.kernel edit

We must work trackball when screen off.

if trackball is dead when screen off, all effort is useless
[Nexus One Android Development] gironz:
more thks

more thks for new version

downloading

more thks
[Nexus One Android Development] b00gieMan_droid:
Am still waiting for the damn SD Version links!!! :@
[Nexus One Android Development] Iperzampem0:
Sorry guys!!!!! :D

I was away from home, and the upload in the meantime have finished, so check it out on the first page! ;)

@rugmankc (Ken):

I think there'll be no updates, until a solution for Trackball Wake comes up. But I think the ROM itself is pretty complete as of now. Is it? :)

Anyway THANKS TO ALL THE PEOPLE HERE to try to make Trackball Wake working!!!!!!
[Nexus One Android Development] b00gieMan_droid:
DAMMITT!! I ****ing new it, that the moment am off the pc, you'll put up the links :-x

Will try tomorrow....
[Nexus One Android Development] Iperzampem0:
Oh gosh :eek:

For me never worked, maybe because I was tired to wait that animation to appear and so I have always changed the wallpaper :D

Personally the only thing that I have done is to change those files:

1) mahimahi-keypad.kl adding "key 272 DPAD_CENTER WAKE_DROPPED"

2) curcial-oj.kl adding "key 272 DPAD_CENTER WAKE_DROPPED"

Obviously don't work.

The same keys are on CM7.1, so I was thinking it's right... :rolleyes:
[Nexus One Android Development] Iperzampem0:
Hahaha, sorry about that :p

BTW Volume Wake is based on a change that I've done to android.policy.jar file, so it's not that crappy app ;)

Works wonderfully!
[Nexus One Android Development] b00gieMan_droid:
Awesome! I'm too tired and lazy to grt back on pc and swap thr sd card and everything lol..

Will give it a try once am back up
[Nexus One Android Development] b00gieMan_droid:
Is ther a way to flash custom hotboot without using power button?
[Nexus One Android Development] :
The rom is "very complete" Iperzampem0,

I flashed 2.5 over 2.3 keeping your original Modified BR, the new one has no features I need anyway

Vol Wake and Batt% very nice

I had some SU issues at first, but they seem to have sorted themselves out

A little lag when opening apps, which actually started on 2.3 and, I think, when I moved data to sd for more internal space

Am getting a class 10 card Friday--will see how that helps

All in all--best and most stable Sense Rom I have ran, and I have used them all--thanks for your work--:)

Ken
[Nexus One Android Development] taney:
With the new BlackRose, you can enable trackball button to select.
[Nexus One Android Development] b00gieMan_droid:
^^ Are you fraking kidding me? Please read what I've typed and what I'm asking!! :-p
[Nexus One Android Development] dla5244:
First, install blackrose

Second, Flash custom partition hboot and reboot fastboot mode(fastboot reboot-bootloader) then erase cache(fastboot erase cache)

Next, enable tb select and goto recovery
[Nexus One Android Development] dla5244:
I think ploblem is kernel. :)

If my thinking is right, kernel dosen't accept tb input when screen off
[Nexus One Android Development] hklam0:
Thanks Iperzampem0 for your good work. I just switch back to your ROM v.25 from CM7.1, datasd still slow but I think that problem is not related to your ROM and I tried enable writeback function on SD, it is better. Also, is it possible for WIFI to run on channel 13/14?
[Nexus One Android Development] ingkaeta:
Hi....

this rom is great, everthing work fine until this morning when i was going to open the contact it always force close. I tried to reboot but same result, force close... anyone have the same problem? I will try to flash over it again later and hoping for better result

Edit: Find out the problem quickly by googling :) I had to uninstall the google+ then the people application works normal again. Anyone know why??
[Nexus One Android Development] Menelkir:
I dont have this problem, its possible to be a rom issue (I personally can't believe that, but.. bugs are almost everywhere).
[Nexus One Android Development] MaDInDy:
I found this issue with Google+ 2.1(port form ICS) but no problem with Google+ 1.8
[Nexus One Android Development] b00gieMan_droid:
How do i ****ing install blackrose when my powerbutton is already off is what am asking! Coz hboot menu u have to select using power button and that's already not working for me.

Hope now people understood what am trying to ask
[Nexus One Android Development] Jack_R1:
I don't have the Nexus anymore, so I can't test. But someone could see the logcat of the ROM when trackball is pressed, and if InputDispatcher line shows there - then the kernel is working.

Also Log.v line needs to be added to the modified PhoneWindowManager procedure, to check that it's called.
[Nexus One Android Development] b00gieMan_droid:
Okay finally installed 2.5... looks a lot stable than 2.3.. the screen proximity sensor is also working fine now (wasnt in 2.3 for me), volume wake up is awesme!

BTW, is it just me or Blinker app is useless? It keeps on flashing leds in trackball and powercharging unnecessarily?
[Nexus One Android Development] chota_shivaji:
I had checked dbasabe's kernel where in I had found out that kernel is sending the track-ball events to user space. But user space seems to drop them.

Please see this post for more details - http://xdaforums.com/showpost.php?p=18976682&postcount=131.
[Nexus One Android Development] b00gieMan_droid:
Sorry to ask this question in middle of a diff discussion..

But which rom is this: MM's super hybrid Desire HD ? on your Nexus One
[Nexus One Android Development] b00gieMan_droid:
Blinker is the dumbest app i've ever seen / used.. it has no clue wht it's doing or i have no clue about wht i am doing with tht app :/ :-X

---------- Post added at 05:13 PM ---------- Previous post was at 04:50 PM ----------

Cam app hs issue,

When i start the cam, the screen brightness goes to full (normal), must get back to autobrightness / low when you quit the cam app (happened in 2.3) but in 2.5, the screen brightness remains on full.. sad (hate that part)

---------- Post added at 05:17 PM ---------- Previous post was at 05:13 PM ----------

Confirmed, Cam App is broken.

It literally removes my screen from autobrightness and tht tick mark is removed from Settings > Display > Screen Brightness (Check / Uncheck) Auto Brightness..

Then i have to manually check auto brightness
[Nexus One Android Development] b00gieMan_droid:
Still using the Rom..really stable and good..

Got rid of stupid blinker and installed light flow..
[Nexus One Android Development] Jack_R1:
In that case, putting enough Log.v calls in PhoneWindowManager should show where the system receives the event.
[Nexus One Android Development] b00gieMan_droid:
Is there a way to get / download HTC Sense themes ?
[Nexus One Android Development] Iperzampem0:
Hi,

for Blinker app to work fine you have to uncheck Battery and Signal options and you'll be almost fine ;)

Obviously you can use other apps.

For cam app, I have the same light changing, but for me it returns normal when I close it, so no issue for me.

For HTC Sense themes, you have to login with an HTC Sense account. If you don't have one, create it and then you'll be able to get all stuff from HTC :)

Anyway this ROM is based on AceSMod007 from Desire thread.
[Nexus One Android Development] b00gieMan_droid:
Cam app is working fine for now.

Light flow isn't working the way it should, infact its not showing any led notification. Blinker or no blinker the power charge led at the top doesn't work

I tried creating account with HTC but even that's not getting activated

This Sucks
[Nexus One Android Development] Iperzampem0:
It's working fine for me... :( Maybe it's a temporary problem with HTC Sense accounts. I suggest you to login at the http://www.htcsense.com website and see if it works!

Power charge led works fine, but maybe Blinker is in conflict with it, so try to Stop Blinker, and re-connect the power cable to your N1 and see if it works.
[Nexus One Android Development] b00gieMan_droid:
HTC account worked with my gmail account. However, power charge led isn't working for me at all.. blinker is already uninstalled and rebooted my phone twice
[Nexus One Android Development] b00gieMan_droid:
Can you please pass me blinker app apk? Just the app

Edit: never mind found it
[Nexus One Android Development] husnain17:
I just need to ask one question before i flash this rom tomorrow morning, do i have to upgrade my boot to the "Blackrose version" or can i stay with .35 version for flashing the sd version of the rom?

Thanks in advance :)
[Nexus One Android Development] Iperzampem0:
If you wanna flash SD version and actually you have 0.35.117 HBOOT then there's no need (apart yours :D) to update to the Blackrose one ;)
[Nexus One Android Development] chaplen:
do i have to flash everything even if I'm just updating from 2.3? (NAND version to NAND version)
[Nexus One Android Development] :
I didn't--I just wiped caches
[Nexus One Android Development] chelsea_fc:
Awesome rom, many thanks for this

How to disable the percentage on battery icon?
[Nexus One Android Development] ultra99:
This rom looks very nice. However, from my experience that Sense tend to mess up my Contacts. Meaning, the fields, name, company, etc. get messed bt sense and non-sense roms. Any ideas?

Also, i'm not really sure if I understand the diff bt sd and nand versions?
[Nexus One Android Development] :
@ultra99

All N1 phones handle sense roms differently. If you follow OP to the letter you will have best shot at good working rom. Full multiple wipes of all, including System is imperative.

SD is with stock hboot, the one you now have. Nand is with the latest Blackrose Custom hboot that allows for resizing the hboot partitions for a larger System.

The OP's Modified Nand hboot does the resizing for you, you just need to get Blackrose Custom hboot on your phone with the stock sizes as described in the BR thread.

Read thru the BR thread

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

and you will undestand

The larger System offers better, more stable performance

Ken
[Nexus One Android Development] b00gieMan_droid:
Major issue

Faced sleep of death, big time.
[Nexus One Android Development] b00gieMan_droid:
Also why is it showing email count on the main screen email icon in Arabic? :s
[Nexus One Android Development] b00gieMan_droid:
Also weather stopped working. It's morning now but It's still stuck at night and temps of the time before it went to sleep of death
[Nexus One Android Development] gironz:
Good update

Thks
[Nexus One Android Development] hoermara:
Nearly perfect Rom. Many thanks.

But yesterday 3x SOD. ALL in Browser.

NAND - Version 2.5 with full wipe
[Nexus One Android Development] ultra99:
Thanks for the reply.

I just updated by hboot to blackrose, but when I try to update the modified one, i get this error: FAILED (remote: partition doesn't exist)

help?
[Nexus One Android Development] dla5244:
fastboot flash hboot NAND_HBOOT.nb0
[Nexus One Android Development] Iperzampem0:
Hi, what do you mean with installing everything?

If you are on 2.3 Nand and you want to install v2.5, you simply have to wipe before flash and flash the rom itself, but it's not necessary to upgrade to the new Blackrose hboot.

My modified hboot have the same partition table as before, is just updated with the latest Blackrose version. ;)

Have a nice day!
[Nexus One Android Development] husnain17:
thanks, i will be flashing the rom once the download finish. :D
[Nexus One Android Development] Iperzampem0:
That's a strange bug with Sense system... It's not an issue with this rom...

Anyway, have you faced a force close or a complete freeze? :(
[Nexus One Android Development] b00gieMan_droid:
Wouldn't really or at all call this near perfect. Still major issues

Back on MIUI
[Nexus One Android Development] ssatcom:
Yes Me Also.......

Thanks for the Finale Update...
[Nexus One Android Development] wildfire.daniel:
I love listening to music when i travel, now everytime i have to adjust the volume while its inside my pocket, phone gets unlocked -_- for me its really annoying
[Nexus One Android Development] ultra99:
Thanks for the reply, I'm installing the rom now.

Why is that? Give reasons not just throw an opinion like that.
[Nexus One Android Development] b00gieMan_droid:
Yes FC and freezes but less than 2.3
[Nexus One Android Development] b00gieMan_droid:
Am not throwing any opinions just like that. If you are lucky then maybe you won't face ang issues with it
[Nexus One Android Development] Iperzampem0:
The only thing that I recommend to ALL of you guys, is to wipe and format everything before trying this ROM. For the case, please use SD formatter tool for Windows and do a complete erase (will lasts 30 min)!

After that proceed with the other operations stated in the OP and maybe you'll not have issues.

Personally I'm not having those issues, for now.

Really sorry about that :(
[Nexus One Android Development] b00gieMan_droid:
I am doing all of that, infact, i am using a completely seperate sd card
[Nexus One Android Development] ultra99:
when charging the indicator doesn't light up, what gives?

also, the wifi connection drops, I have to force it to "connect"?

i have a class 10 sd card formatted 1gb ext4 and the rest fat32, should I just format the sd in windows and immediately reinstall the rom?
[Nexus One Android Development] b00gieMan_droid:
"don't just throw comments like that" :-p
[Nexus One Android Development] Iperzampem0:
I raccomend that... :rolleyes:
[Nexus One Android Development] b00gieMan_droid:
Blinker app and LED Alert system in this is Fugged..

Never faced Wifi issue... worked flawlessly.... i did have SOD
[Nexus One Android Development] gregferns:
@rugmankc

Hi Ken,

Since you also use this rom, can you tell me how much free space does your cache partition have when you are using it?? If you have the app FREESPACE,, you can check via that,,,

Thanks

greg
[Nexus One Android Development] dla5244:
I found it. :)

CM Kernel + Stock 2.3.6

TB event occured /dev/input/event6

All trackball action does not send to WindowManager.

ploblem is inputreader and inputdispatcher (100%)

we need to modify libui.so

or kernel modification.

(when screen off and tb press emulate power key event instead of tb event)

desire modification instruction(libui.so) seems to not compatible N1 :(
[Nexus One Android Development] Iperzampem0:
Thanks very much for your analysis! :)

Hoping someone can modify that libui.so...
[Nexus One Android Development] :
Sorry Greg,

I had to go back to CM and catch up on latest nightlies. I was falling behind. But, I ran a2sd datasd and had great space everywhere. Maybe some app opening lag because all data/cache on sdext. I just got a new class 10, so will see if that helps on lag.

I also flashed br111111 custom with stock partitions to run CM. Now can just change my partitions with SPLhex Editor and flash HS. Since I never did new flash on 2.5 may do that next time.

Ken
[Nexus One Android Development] chelsea_fc:
Rom was running great but batery drain too fast, is there a way to use sense 2 lockscreen to reduce battery drain?
[Nexus One Android Development] Menelkir:
You can improve battery life using smartassV2 governor.
[Nexus One Android Development] chaplen:
so are you no longer updating?
[Nexus One Android Development] gregferns:
Is there any setting in the ROM itself or do we need to use SetCPU for that ??

thanks

greg
[Nexus One Android Development] Iperzampem0:
Not for now, until someone found a way to have Trackball Wake working.

Everything else in the ROM works and it's a complete Sense interface, so I don't have any other ideas to implement, remaining into my limits of a non-programmer :o

HS has implemented the Daemon Controller app. When you start it, default governors (smartassV2) were applied after you allow SU permissions ;)

BTW you can change it with the ones that you want.
[Nexus One Android Development] b00gieMan_droid:
^ pretty awesome work being a non programmer. :-)
[Nexus One Android Development] Androidity3000:
What is the difference between NAND and SD? Besides the fact the NAND is sooo demanding with reqs... Thanks.
[Nexus One Android Development] :
see post 544
[Nexus One Android Development] ultra99:
This ROM is quite nice actually. However, sometimes it lags do bad don't know why. Specially when multitask....shouldn't out handle multitasking well?
[Nexus One Android Development] Menelkir:
SmartassV2 already have nice features such down the clock when the screen is off, you don't need too much configuration. Except some fine tunings, for example, I low the clock to 600 when battery is less than 30% (I use setcpu for that).
[Nexus One Android Development] ocujos:
+1. My power button is almost dead and I only use it only when really necessary. Trackball unlock is a must for N1 phone!
[Nexus One Android Development] fabler:
It's like I can hear my own voice in the speaker. Going to restore my original ROM back.
[Nexus One Android Development] DonDizzurp:
how about sense 2.1 with android 2.3.5?

like with this one

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

EDIT: i couldnt wait any longer so i flashed this

there are still glitches, but not as noticeable as before

its SOMEWHAT laggy.. i dont know.. i really really love sense but cant seem to enjoy sense on the n1..

i think im moving to the sensation or sensationxe :(
[Nexus One Android Development] Iperzampem0:
That is the latest Sense 3.5 with Android 2.3.5.

I think isn't possible to merge latest GB version with old Sense...

Glitches are gone with dbasabe kernel!

Next version will include the kernel into the ROM and I hope to solve mic issue and add some speed tweaks.
[Nexus One Android Development] fabler:
Yes, glitches are completely gone. Waiting for mic fix. :D
[Nexus One Android Development] Alex240188:
is it just me, i cannot seem to get adb to work at all in this rom, or any sense >2.1 rom, always just shows offline

Edit, ok got it working, for some reason sense roms need to be plugged in the back USB ports and others work fine in front WTF :S

looking over logs of activating the mic it is working fine, have you put the relevant libs in for the nexus one mic, not forgetting the HTC Desire is very similar to the N1 however the mic is different

Edit, the only lib that has any difference to a working rom that i can see is the libaudioflinger and that is beyond me for modifying
[Nexus One Android Development] fabler:
So, you mean. MIC is working for you?
[Nexus One Android Development] Iperzampem0:
I've already tried to change that and other libs and .csv files, but mic isn't working... :( at this point I don't know if it's kernel related...

Overall ROM is good and fast enough for me, but this bug keeps me and you away from keep it :(

EDIT: Guys, if you have a FIX to mic issue, please post it and help me get this good ROM perfectly working.

Trackball Wake and microphone seems to be the only 2 bugs, so come on :)
[Nexus One Android Development] fabler:
may be we should ask some expert to help us out with this mic thing.
[Nexus One Android Development] Iperzampem0:
Yep, I've already written a PM to the dev of AceSMod007 ROM.. I'm waiting for an answer.

Anyway new version 1.3 is out, nothing special but with kernel included and maybe more smooth!
[Nexus One Android Development] phanompin23:
What about ....3-axis Accelerometer and Orientation Sensor issue....?
[Nexus One Android Development] Iperzampem0:
Already present those 2 bugs, but it depends on kernel. So waiting for dbasabe new version! :D
[Nexus One Android Development] Seby01:
Have you tried Trackball alert pro for notifications?
[Nexus One Android Development] Iperzampem0:
Not yet, because I already know that it hasn't great support for Sense with gingerbread... I'll try that later! ;)

EDIT: with Trackball Alert, as I said before, I'm getting stuck at boot-logo... Even Blinker app goes crazy, because led is always active.
[Nexus One Android Development] nachopre:
Perhaps with LightFlow...
[Nexus One Android Development] Nick3d:
But the microphone not working is due to the "wonk" problem or is something else? I had the wonk problem for a while and was a nightmare, but I can't wait to try this ROM because Sense is amazing :-)

And, more important, I really hope that this ROM will be updated frequently or, at least, release a stable and final version.... so keep it up!

Ciao :-)
[Nexus One Android Development] Iperzampem0:
I don't know if it's the wonk issue, because microphone seems to be off even though there's no errors with adb logcat (as stated from another user here).

I'm trying really everything but no way :(

By the way I'm testing also the new kernel v4 by dbasabe and all seems to be ok (orientation sensor and accelerometer woks now!), apart from the headset not working anymore (as stated from the same dbasabe).
[Nexus One Android Development] :
Nice work Iperzampem0

MIUI and CM are not moving forward fast enough and getting boring, so may try this. Will keep eye on mic issue, N1 is my busines and only phone, so need mic--

Ran abhi's RCADS for awhile, but glitches did wear you down after awhile--loved Sense UI and Weather Lockscreen--:D

Also, needed a post here to get email notifications so I don't have to keep going to XDA and finding this thread--;)

Ken
[Nexus One Android Development] Menelkir:
It seems we are exactly in the same boat. :P
[Nexus One Android Development] :
Yea--

Nothing against the roms, great devs and fantastic roms. I flash nightlies and weekly MIUI's. Just no WOWS lately. Minor, subtle improvemnets.

Sense is exciting--I just prefer the AOSP Calendar over the Sense one.

Each to his own though--:)
[Nexus One Android Development] Iperzampem0:
@Androidity3000:

@ultra99:

Hi, have you installed the latest 2.5? Because into this version I've added a new RAM script that it's meant for multitasking, so it should be working very well, just like for me :)
[Nexus One Android Development] ultra99:
Yeah, it's the latest.
[Nexus One Android Development] zeldhaking:
Is there a way to desable trackball to unlock?
[Nexus One Android Development] chaplen:
word. amazing work, best sense rom by far
[Nexus One Android Development] Iperzampem0:
It's working pretty well for me so far, apart when I'm installing new apps where it lags for some seconds, because of transferring data to ext...

Personally I'm asking why do you want Trackball Unlock feature disabled!?

IT'S NOT Trackball Wake, so firstly you have to press the power button or the Volume rocker to see the Nexus screen. Trackball unlock is just another way to unlock it without pulling your finger on the screen......

I'm somewhat confused about certain request :confused:

Anyway I'll post a series of links for you guys.

@hvalle98:

Never had ALL those issues... It's clear that you have to do that:
[Nexus One Android Development] zeldhaking:
Sometimes in my pocket the phone wake up (volume key or maybe other way??) and then unlock with the trackball. After that everithing is possible, call unwanted person (my boss don't like that :( )

Thx for your help.