yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] gregferns:
I think you can... I will be backing up this sense rom and then trying

the latest nightly... I feel its possible as /system is 330mb which will

easily take CM7 rom, /cache is 25mb,, my previous partition was having 5mb cache for CM7 rom whereas this is 25mb. I am not sure about /data

but i think maybe a2sd will do the trick.

Anybody feel free to correct me if i am wrong.

regards

greg

---------- Post added at 10:46 PM ---------- Previous post was at 10:40 PM ----------

NO, you dont need to have your bootloader unlocked to flash roms. I have flashed many roms like CM, MIUI, SuperOSR, RCADS on this LOCKED bootloader.

The xda wiki shows how to flash recoveries etc on ROOTED but LOCKED bootloaders also....

Individual notifications -- CM7 has this possibility -- when you get many notifications (any notifications)in the pull down menu, you can slide each one to left or right to remove that notification.. This way you can remove a particular notification, if you want to keep the other notifications in the notification bar... In sense you have to select CLEAR at the top of the notification menu...

But, i don't know if this is possible to do since i am not a programmer... :p
[Nexus One Android Development] Iperzampem0:
@rugmankc:

Oh that's ok, but the system partition "don't need" other space till you modify my rom properly to handle more files/folders into /system folder...

I think it's better to leave that space to Data partition. But it's only my opinion.

Anyway MicroMod777 have answered to me to my TB Wake question:

"Best thing is to try another sense ROM that is similar to yours that has TPW already and try those files.

Look at this post for the type of files you need as an example of what to put in your ROM. Thats how I do it.

http://xdaforums.com/showpost.php?p=18104100&postcount=87"

So, when I have a little time I'll have a look deeply and see if I can do something.

Obviously if someone here is able to finally SOLVE this TB wake issue, please post suggestions, fix, etc. :)
[Nexus One Android Development] admisi:
NAND Rom and a2sd

Ok, I'm a bit of a noob, so am a bit confused. I have installed the NAND Rom cos I wanted lightning speed, and this really delivers! I have already run out of space for apps - I certainly don't want to change the partition sizes that have already been allocated using the modified HBOOT - so my question is is it possible to use a2sd on the NAND version to install more apps onto sd card and will it mess everything up or slow it all down? And what happens if the data builds up in some of the third party apps, or the cache? Will the thing freeze?
[Nexus One Android Development] shingers5:
Lol people just don't listen.

Anyway 4 days in and Rom is still holding up well. Few touch screen issues but solved by locking and unlocking phone. Still fast still fluid still the most stable sense Rom for nexus 1 period. Nand is the way fwd
[Nexus One Android Development] shingers5:
Sound from mic is getting gradually worse. People can just about hear me on the other end of the line. This is very serious bug and needs looking into
[Nexus One Android Development] :
a2sd datasd
[Nexus One Android Development] chota_shivaji:
- Thanks to MM and you. I am glad he got sometime to reply.

- I checked the post he pointed to. There is an attachment there which has 2 files inside it.

- 1 is libui.so and other is HtcLockScreen.apk. The size of libui.so is exactly same as it is in RunnymedeMod007-v02-Passion. However, the size of HtcLockScreen.apk differs.

- I am trying to find out how to disassemble Android's apk, modify and reassemble them back. If I am successful in doing so, I will post instructions here. I will also let you know if I am able to get track-ball wake working.
[Nexus One Android Development] :
Ok, I will leave System alone Iperzampem0--thanks

No problem as is now anyway

I just delete a couple unused system apps to get back over 10mb
[Nexus One Android Development] Iperzampem0:
Yes, I'm going to do the same thing. We have to try to understand how TB Wake works, maybe finding some useful line of code there!

Same sizes is not always equal to same "code", remember that :(

Because I'm on Windows 7, I'll try Apk Changer (from a user here @XDA) that should do ALL the thing that I need (decompile apk, re-sign apk, modify .jar files, etc.) :rolleyes:

No problem ;)

Anyway new changelog is on the first page and, as you can see, I've solved finally the green issue with flash (thx to evilisto suggestion)!

Hope to add also TB wake maybe with the help of chota_shivaji :)
[Nexus One Android Development] :
Can't Wait-----:D
[Nexus One Android Development] Iperzampem0:
MMM... I'm having an issue with Apk Changer app for Windows... It crashes after selecting the language...

Any suggestion for an app or a procedure that let me modify .apk and .jar files?
[Nexus One Android Development] shingers5:
My phone after 5 days is displaying some worrying factors. My mic volume is so low now others can't hear me during phone calls, Fc on most program and phone goes to sleep while I am using it and won't wake. Have to remove battery to get back. Time for new version I think to address these issues
[Nexus One Android Development] Iperzampem0:
Me too... :( I'm having random blocks here and there... :(

About the mic, works fine for me :confused:

And I don't have FCs... Is it kernel-related?
[Nexus One Android Development] shingers5:
most probably kernel related. i still love the rom but these random bouts of 'bad behaviour' have increased, yesterday the phone unlocked itself and dialled a premium number and would not wake so i could end call. you should have seen me as i could hear the hold message but couldnt hang call up LOL
[Nexus One Android Development] Iperzampem0:
That's bad! Are you sure you don't have a virus??

I would suggest you to install an antivirus (such as AVG) and do a Scan! :eek:
[Nexus One Android Development] tonymontezuma:
I have the same issues, this is not a virus or malware, but for me the problems not increased, tks god.
[Nexus One Android Development] shingers5:
Ha ha no virus dude. Phone just seems to bog down and starts doing weird things. Can't really figure out why lol. Just strange is all
[Nexus One Android Development] :
No problems here, so far--"crossing fingers"

Did you guys check your available System Storage. When I first flashed, I had 2mb free, but after deleting some unused system apps--over 10mb

I also, moved data to sd thru TE
[Nexus One Android Development] doraemon6688:
I have noticed a bug since 2.0, wondering if anyone else gets the same problem. It seems that phone is not getting network connection when the screen is off. So, messenger apps like Whatsapp or LINE don't work very well. Basically, when the screen goes off for a long time, you don't know if someone messaged you or not until you wake the screen up. It's like no connection when screen off.

Oh, and this only happens when its on battery. When charging, everything is fine. So I'm thinking it's power saving related.
[Nexus One Android Development] Iperzampem0:
I'm trying to compile "android.policy.jar"... I have modified "Lockscreen.smali" with some lines of code grabbed from CM one's and regarding Trackball events.

I don't know if I'm doing the right thing but for now I'm stuck at the compiling process because I have 4 errors to solve. Seems like I have to add some other lines into that file, but it's very difficult for me because I'm not a real programmer... :(

@chota_shivaji:

Have you find something useful?
[Nexus One Android Development] boycz90:
nice

firstly.I really really appreciate ur work,u r so cool! Thi rom is just the best sense rom ever made for "sexy nexy" ^^ yeah and i just wanna ak u how to enable lockscreen becaus after booting i saw the sense lockscreen.And then after unlocking it wont appear again .... SO the lockscreen doesnt work for me for now, thx for advice :D
[Nexus One Android Development] boycz90:
Oh sorry ...its working now.It happens only when Im calling with someone...sorry for spam
[Nexus One Android Development] hoermara:
hboot flashable

Thanks for this great rom. I use the SD-Version and it's running stable since a few days.

I would like to try also the NAND-Version, but I have an issue with my USB-Port. And therefor I can't use fastboot. Is it possible to get your NAND-hboot flashable?

thanks

Rainer
[Nexus One Android Development] Iperzampem0:
Hi :)

I'm sorry but it's not possibile to make the hboot flashable. The only way to flash it is via fastboot.

If you type fastboot devices do you see nothing?

If this helps, take a look at those 2 links:

http://xdaforums.com/showthread.php?t=619153&highlight=adb+guide

http://xdaforums.com/showthread.php?t=690362
[Nexus One Android Development] hoermara:
Hi, if I connect my Nexus to WIN7 I only get an "unknown device". I search google for hours and found that this seems to be a problem of my nexus. Tried several cable on 4 different computer (XP and Win7). Installed win7 new etc. Tried to install the sdk-usb-driver.

Nexus is only loading. :-(

I thought your hboot could be flashable because the 0.35.007 is available. http://xdaforums.com/wiki/Upgrading_Hboot
[Nexus One Android Development] Iperzampem0:
That is the official HBOOT, as you said, but sincerely I don't know how to create a similar package for my hboot :(

Anyway, the fastboot procedure is MUCH more secure for your N1, to avoid possible bricks... Have you tried to install Blackrose, even though your N1 isn't listed (in fastboot devices)?

I have had a similar situation, and I have continued anyway with the installation that goes fine (it takes less than 1 sec to flash) :)
[Nexus One Android Development] hoermara:
It's not listed in Blackrose. I tried it anyway without success. I now ordered an original Usbcable because some people report that they had a similar problem and there it worked only with the original cable. I just can't believe that but I will try..

By the way.. Many thanks for your quick replies..
[Nexus One Android Development] Alex240188:
with it listed as an unknown device you need to install the ADB drivers from the SDK

download them through the SDK

WIN7 instructions

1. click start orb

2. right click on computer

3. manage

4. device manager

5. right click on your unknown device

6. select update driver

7. browse my computer for driver software

8. let me pick from a list of device drivers on my computer

9. have disk

10. browse

11. navigate to the download location in your sdk folder and select the "android_winusb.inf"

12. press ok and choose android composite adb interface

let it install and then you should be able to detect in adb/fastboot now

if your already running a sense rom ignore this and you must download htc sync as it installs its own adb drivers for your device
[Nexus One Android Development] hoermara:
Hi bagofcrap24, thanks for your reply. But this is what I have tried, too. Win7 HP 32bit didn't find a compatible driver... HTC-Sync... "No device conntected"

:-(

My Nexus used to connect right. I think it's an hardware issue of my nexus (usb-port)..
[Nexus One Android Development] :
Did you follow all the steps exactly?

I had to do that and it worked fine.

Do not let the computer search for drivers online.

If you don't have it in your sdk folders, you need to find and dl and put it there.

BTW: I can't open your pics on my work computer, so don't know what they show--
[Nexus One Android Development] hoermara:
Sure. I choosed the "android_winusb.inf" by double-click as you can see in my attachements before. I googled this problem with many hints but no luck...

(tried all Usb-Port directly (USB2.0), 4 different computer with XP And win 7 32bit/64bit, several cable, with different USB-Hubs, changed all drivers, installed new win7 as 64bit and 32bit, used different sdk-usb-driver, reinstalled the radio 5.08, updated radio to 5.12, reinstalled HBoot 035.0017, changed back to Cm7.1, tried to install the sdk-driver as legacy hardware, deleted all usb-driver with usb-deview)

Now I wait for my ordered original HTC USB-cable, because different user wrote that it helped. I can't believe this, but ...
[Nexus One Android Development] :
Wow, you tried a lot--sounds like maybe it is a cable--I couldn't view your pics though

Hope the cable works--
[Nexus One Android Development] leopard106:
v2.4 seems promising, can you make separate flashable file for htc locations and notes with HTC Laputa on sd card?
[Nexus One Android Development] chota_shivaji:
Hi,

I am able to de-compile .apk (using apktool on Ubuntu). However, I am not able to understand what to edit :-(. There are a bunch of smali files in the dump. Any pointers on editing these files? I am doing Google search for this, anyways.

P.S.: I generally do not have access to my Ubuntu machine on weekends, just FYI, for those who care.
[Nexus One Android Development] Iperzampem0:
Yes, I can do that later ;)

But for HTC Notes (from Sense 3.5) I can't, because we need to edit the framework I think, otherwise the app won't appear...

Me too I was able to de-compile .apk and .jar files...

To edit those .smali files I use Notepad++ (for Windows) and it works just well!

Obviously after that you need to open almost all files to see if there's some "trackball" notice.

Personally I have found that inside the "android.policy.jar" (for me the right file to edit for TB events), you have to look at the LockScreen.smali file, where there's something related to Trackball events.

I'm doing comparison between android.policy.jar of CM7 and the one of our HyperSense :)

In fact I've already "ported" some lines of code into our file, but when I re-compile it I have 4 errors, and it seems like I have to enable some other dipendencies because of the new lines of code.. :o

Need to investigate more, even though I'm not a real programmer.
[Nexus One Android Development] chota_shivaji:
I found following links related to track-pad wake from the Desire sub-forum of XDA:

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

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

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

Thought of sharing here...
[Nexus One Android Development] Iperzampem0:
Hi guys!

Did someone know if HTCMusic.apk was having the Sound Enhancement working on RCADSmixHD rom?

Because I'm trying to modify here and there to have it working, but it's a no go... :(

Also, TrackballWake seems impossible to have...

Need help from some real coder!
[Nexus One Android Development] b00gieMan_droid:
Is there a way i can have Trackball wake up working on this? If so suggest the flashable zip, app, etc... i need trackball wakeup coz my power button isnt working..

Loving this rom a lot! but sadly everytime i need to switch on the phone screen i have to connect to the USB of the computer :-(

HELP ME PLEASE!!!
[Nexus One Android Development] chota_shivaji:
- No luck for me as well for track-ball wake support.

- I am not able to understand how to edit the dumped android.policy.jar even after comparing them with CM's commits that add track-ball wake support (handy link - http://xdaforums.com/showpost.php?p=16104030&postcount=236).

Unfortunately I don't know much about Java coding etc.
[Nexus One Android Development] b00gieMan_droid:
Bugger!

SO this means no way to wake up the device w/o using power button? hence i'll be forced to go back to MIUI ROM just for track ball? wtf!
[Nexus One Android Development] Iperzampem0:
Yes, I'm sorry but since Gingerbread on Sense ROMs there's no support for Trackball, so we have to wait that someone found a way to enable it...! :rolleyes:
[Nexus One Android Development] b00gieMan_droid:
OhW Come One! There has to be some waY! Some app? Or even wake up from Volume Button will do!!
[Nexus One Android Development] Iperzampem0:
I'm working on that ;)
[Nexus One Android Development] b00gieMan_droid:
Wowo Great! but any esitmated time? Coz if its gonna take time then am gonna move back to MIUI (sadly :'( ).. my power button replacement will be taking time @ service centre..

Shall i get back on MIUI or you gonna come up with this tweak (that i want) in a couple of days / hours? :P

---------- Post added at 10:20 PM ---------- Previous post was at 10:06 PM ----------

Does this really does the job of Trackball Wakeup on Sense Rom? I just resotred to MIUI so couldnt try this on my HyperSense
[Nexus One Android Development] Iperzampem0:
Don't call victory please :p

I'll do my best but I can't assure I'll be able to do the trick.

Anyway it's better for you that you install MIUI for now, if you want Trackball Wake. ;)

New version will come up this week, hoping with at least Volume Wake!
[Nexus One Android Development] paoloc67:
with the volume button for wake https://market.android.com/details?id=org.firezenk.wakeall&feature=search_result#?t=W251bGwsMSwxLDEsIm9yZy5maXJlemVuay53YWtlYWxsIl0.
[Nexus One Android Development] b00gieMan_droid:
Wow great I'll be waiting :-)
[Nexus One Android Development] b00gieMan_droid:
Damn you replied a bit late.. I got back on miui already lol. But thanks

---------- Post added at 11:18 PM ---------- Previous post was at 11:09 PM ----------

Damn WTF! i cant resist Sense over MIUI, am again swapping my SD Card and installing Sense Rom with Wake All app :D

---------- Post added at 11:36 PM ---------- Previous post was at 11:18 PM ----------

The Volume Button WoRKS!!! WAKE ALL WORKS!!!! THANKS BUDDY!
[Nexus One Android Development] Iperzampem0:
But no Trackball Wake right?

Anyway thanks for suggestion! :)
[Nexus One Android Development] b00gieMan_droid:
Nopes, it doesnt wake up using trackball but wakes up using volume which is perfect for me... have to test what happens when player is working in background though lol

Btw, I'll still be waiting for the new release coming this week :) Any approx date? and what new features one can expect..

Also does SetCPU work perfectly with this or Daemonkiller is the only one working as of now?
[Nexus One Android Development] Iperzampem0:
I don't have an estimated ETA because I don't have enough time and I have to test several things before releasing :o

Anyway you can take a quick look at che changelog for the new v2.4 (or 2.5? :D ).
[Nexus One Android Development] b00gieMan_droid:
Sense Based rom with 2.4? :O ICS is what you mean?
[Nexus One Android Development] Iperzampem0:
Ahah nope! It's simply a new version, following v2.3 :D
[Nexus One Android Development] chaplen:
Really looking forward to being able to take pictures in the dark :P keep it up
[Nexus One Android Development] Iperzampem0:
If all goes well, maybe tomorrow you'll have the new v2.5! :)

Changelog is not already complete, so stay tuned.

NOTE for ALL

: I have updated the "Modified_HBOOT.zip" with files based on the new 11.11.11 Blackrose, so UPDATE the Blackrose HBOOT first!
[Nexus One Android Development] :
Looking forward to it Iperzampem0

Do we need to update to 11.11.11 from the Blackrose thread first or just flash your new Modified Hboot over the previous one?

And what is new partition sizes?

Thanks,

Ken
[Nexus One Android Development] b00gieMan_droid:
Been using it since yesterday..not fun..not stable for me

Reverting back to miui

Looking fwd to sense 2.5 though
[Nexus One Android Development] Iperzampem0:
Hi Ken,

Yes, if you want you can upgrade to the latest Blackrose, but the partition sizes is already the same as before.

It's most for new users and for people that want to update at the latest thing :)

So first update Blackrose, second update using my HBOOT (based on the new 11.11.11).

Mmm, I'm sorry about your experience :(

Hope the new version will satisfy you... Have you tried NAND or SD?

I reccomend the NAND one!
[Nexus One Android Development] b00gieMan_droid:
Well i used SD one, updated the radio and flashed the alignment and the other zip and then flashed the ROM, my phone's power button isnt working and its gonna take a while before the service centre get the replacement so am not sure if i should do Nand version.. if something messes up then am badly screwed as i have no spare cell phone and i cant do w/o Android lol
[Nexus One Android Development] Iperzampem0:
NAND works very well, and now with the new version you'll have Volume Wake support ;)

Added NEW version 2.5!

I'm thinking this is gonna be the last version, because I have no more things to add/fix or at least I'm not able to do anything else...
[Nexus One Android Development] wildfire.daniel:
hi, hmm are the requirements for the nand2.5 same as the nand2.3? Im excited! thanks
[Nexus One Android Development] Iperzampem0:
Yes, the same as before ;)
[Nexus One Android Development] DaXmax:
Good, now u should work on ics...
[Nexus One Android Development] dla5244:
For everyone

Hmm. I tried to enable TB Wake, but failed.

First we should do this for TBWake. ( + is add * is modify)

android.policy.jar

/com/android/internal/policy\impl/PhoneWindowManager.smali

Function interceptKeyBeforeQueueing

+ boolean isTrackballDown;

+ try {

+	isTrackballDown = mWindowManager.getTrackballScancodeState(BTN_MOUSE) > 0;

+ } catch (RemoteException e) {

+	isTrackballDown = false;

+ }

* final boolean isWakeKey = (policyFlags & (WindowManagerPolicy.FLAG_WAKE | WindowManagerPolicy.FLAG_WAKE_DROPPED)) != 0 || isTrackballDown;

So,

I created and replaced this routine but failed.

in /com/android/internal/policy\impl/PhoneWindowManager.smali

!.we should change in interceptKeyBeforeQueueing Function from ".locals 30" to ".locals 32"

.line 2741

.restart local v28 #result:I

:try_start_90

move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mWindowManager:Landroid/view/IWindowManager;

const/16 v1, 0x110

invoke-interface {v0, v1}, Landroid/view/IWindowManager;->getTrackballScancodeState(I)I

move-result v31

if-gtz v31, :cond_90

const/16 v30, 0x0

goto :try_end_90

:cond_90

const/16 v30, 0x1

:try_end_90

.catch Ljava/lang/InterruptedException; {:try_start_90 .. :try_end_90} :catch_90

goto :cond_91

:catch_90

move-exception v0

const/16 v30, 0x0

:cond_91

if-nez v30, :cond_92

and-int/lit8 v7, p7, 0x3

if-eqz v7, :cond_a

:cond_92

const/4 v7, 0x1

move/from16 v24, v7

.line 2743

Maybe I was wrong.

Let's debate. :D
[Nexus One Android Development] b00gieMan_droid:
Hurry Up the Uploading of SD Based ROM! AM waiting for it :P

BTW, this volume wake is something that you added or you just added wake all app in pre-installed apps? Coz wake all app is CRAP, doenst work the way it should, after you unlock you get a blank screen instead of your home screen.. then u have to press / tab back button on tap / press home key on n1 to get on home screen..

---------- Post added at 07:01 PM ---------- Previous post was at 06:49 PM ----------

Is there a way to install Nand based ROM w/o having a power button? :/
[Nexus One Android Development] ch33kybutt:
In GB, the trackball is no longer considered a key event, but a motion event, so old method of intercepting key events no longer work.

The commits in CM you should be referring to are these ...

input: Hack for trackball wake.

input: Wake on navigation button
[Nexus One Android Development] dla5244:
WeatherLiveWallpaper is working.

Not showing as soon as set, but showing when return from any applicaition.

Please refer that :D
[Nexus One Android Development] b00gieMan_droid:
Oh Come ON! how much time it needs to upload a 230MB file!!!! :P I can't Wait!
[Nexus One Android Development] b00gieMan_droid:
Okay, is there something wrong? SD Version is still not uploaded?