yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Q&A, Help & Troubleshooting] hossiam:
I was just curious does anyone know of a good site other than ebay or kijiji. This question is more for My Ontario Canada brothers.....I understand every community or region may have a certain place to sell used tech stuff. Hey if anyone is interested pm me. Also what do you all feel is a good price? Thanks ahead of time for the responses.:)
[XPERIA X10 Q&A, Help & Troubleshooting] vrs2610:
Hey man i feel you still I bought my X10 on the day it was released here in Canada with high hopes, and it been kinda of ****. But to be honest If you got your phone with a contract just keep the phone for a year or something and just wait for the next gen phones to come out to Rogers/Canada. I know some people are have switched to the Desire and stuff, well it may seem cool now it is kinda outdated and the "next gen" phones are coming out next year as well. So yeh.

Also try ebay. I tried to sell my X10 at a point but people are kinda aware of the lack of multi touch and stuff so I gave up. One guy was asking me 250. :confused:
[XPERIA X10 Q&A, Help & Troubleshooting] DangerPanda:
Redflag Deals might be a good place, but plenty are already selling their X10s there.
[XPERIA X10 Q&A, Help & Troubleshooting] fm1776:
The going price in the UK for a used X10 in good condition without scratches is between 200 and 250 pounds. I think it's a good price. You could can sell on ebay as long as you are priced right.

I get one free device per year of up to 1,000 euro in value from my service provider. Plus the local dealer let's me get a second device at the same price as a new customers with contract. So I bought the iphone4 in the beginning of July for 300.

I got the X10 for free, so 200 pounds would go towards covering the cost of the 4. I am taking mine to a flea market next weekend and going to try to get 300 to 250. If not I will put it on Ebay with a buy now price of 220.
[XPERIA X10 Q&A, Help & Troubleshooting] chris_knows:
Are you just trying to sell it or do you want to replace it with another phone? I'd suggest offering a trade for some other phones on Kijiji and various message boards...
[XPERIA X10 Q&A, Help & Troubleshooting] visitador02:
Good grief. Nobody here want to use XDA's own marketplace?
[XPERIA X10 Q&A, Help & Troubleshooting] andrewjrr:
im looking to pick up an x10 if youre still looking to sell. send me a msg and maybe we can work something out? im in ontario as well
[Desire Android Development] snq-:
this is an updated* version of my framework mod that adds reboot (normal, hboot, recovery) option to the power-button menu on htc sense based desire roms

*: a new option ('hot restart') has been added that will allow you to respawn android's system server process, thereby starting with a "clean system" w/o actually rebooting the device (credits to xda member appelflap for the idea, you can have a look at his app 'hot reboot' here. i took a slightly different approach to killing the process but the basics remain the same)

enjoy

requirements:

htc sense based desire (froyo) rom (HD VERSION HERE)

deodexed framework libs

busybox with pkill support (or any other pkill implementation, accessible in $path)

how to install:

please make sure your device/setup meets the requirements above

check your framework build number (settings >> about phone >> software information >> build number)

download the archive that matches your build number

copy it to your sdcard and flash it in recovery mode (as always, it is advisable to do a nandroid backup prior flashing)

impact:

a framework lib (/system/framework/android.policy.jar) will be overwritten

the first boot after flashing this may take a (long) while (dexopt will be busy)

--

--

sense_powermenu_rebootdlg-4in1_2.09.405.8.zip

sense_powermenu_rebootdlg-4in1_2.10.405.2.zip

sense_powermenu_rebootdlg-4in1_2.12.911.1.zip

sense_powermenu_rebootdlg-4in1_2.13.707.1.zip

sense_powermenu_rebootdlg-4in1_2.14.207.1.zip

[Mod Edit]

Sense powermenu-4u1-v2.29.zip Submitted by PrinzEisenherz1
[Desire Android Development] snq-:
source code, porting to other htc devices:

due to the nature of the hack (patching a htc-modified, closed source framework lib) there is no "source code" for it

obviously, i also can't provide a smali patch applicable for any framework version / htc device

for reference, i've attached the smali patch for my own device/setup

it doesn't take a great deal to understand it, porting should be relatively straightforward. you should also take into account that string/icon resource ids may vary between different framework versions, and that some versions don't support com.android.internal.app.ShutdownThread.reboot()

sense_powermenu_rebootdlg-4in1_bravofx2.x.patch.7z

hd version:

here
[Desire Android Development] snq-:
/// reserved

this is a repost of the original thread that was lost due to a h/w failure
[Desire Android Development] scar45:
Amazing stuff! Thanks for the update snq-! :D
[Desire Android Development] M109rjohno:
Cheers mate:D
[Desire Android Development] styr:
I have a quick question, do i need the whole /framework deodexed or just the android.policy.jar?
[Desire Android Development] blu3angel:
Great stuff man... Can i know which of the files is meant for AuraxTSense v7.6.1 please??
[Desire Android Development] snq-:
i'm afraid you can't have single deodexed libs (stale odex dependencies)
[Desire Android Development] snq-:
afaik it is based on 2.10.405.2
[Desire Android Development] robocik:
Very nice man, i love your modded menu :) Thank you very much!

i will add it in the next RCMixHD ;)

Thanks again !
[Desire Android Development] snq-:
hey robocik ;)

just be sure to add the hd version ;)
[Desire Android Development] siliconaddict:
Works on my Desire with LeeDrOiD V2.1a with Base HTC RUU 2.10.405.2.

But: after every hot reboot the function keys remain lit after the first power off (automatic or manual). After the 2nd, 3rd etc. power off not anymore. Very odd.
[Desire Android Development] lambrospower:
it works great man...thanks!!! i added it to my rom :P if you want to remove it please tell me
[Desire Android Development] shoemeistah:
Thanks, great work! I just want to mention it the boot after flashing took a long time here, like 4 minutes which is strange. :p
[Desire Android Development] M109rjohno:
Well he did mention on the first post it would take a long time to boot so not sure what you mean about strange.
[Desire Android Development] mike1986.:
I want to add it to the kitchen so I just have to replace android.policy.jar? Thanks

PS. Of course credits will be given ;)

BTW what languages are supported?
[Desire Android Development] shoey-n:
Is it a way of adding this mod to non sense roms like Cyanogen has ?
[Desire Android Development] snq-:
yes. just make sure you add the version matching to your framework build number

main menu entry, dialog header, buttons are localized, radio items aren't:
[Desire Android Development] snq-:
cyanogenmod is an opensource project, there is no need for hacks like this (dalvik bytecode injected into a closed source lib) to implement missing features
[Desire Android Development] mike1986.:
Ok, thanks. Just to make sure - not whole deodexed is required, just android.policy.odex, right? Is it possible to edit this jar file and change the language of "Normal" etc... and here footprint is also required as in 3in1?
[Desire Android Development] snq-:
you can't deodex single framework libs or system apps

yes, it is possible to edit those string constants

sorry, i'm not sure what you mean
[Desire Android Development] mike1986.:
Ad. 1) What I meant was that I will delete both android.policy.jar and android.policy.odex and put yours android.policy.jar inside, is that ok?

Ad. 2) With what tool can I edit those strings?

Ad. 3)

source: http://xdaforums.com/showthread.php?p=8031192#post8031192
[Desire Android Development] RoBy46:
I'm restarted the device in recovery with ROM Manager, flash without wipe File sense_powermenu_rebootdlg-4in1_2.14.207.1.zip, restarted the device And nothing has changed.

Because??

Sorry for my eng
[Desire Android Development] anko184:
hey snq-nice mod, thanks a lot. i would, only, like to ask if you can add hibernation like in HD version,

i know it's doable as i found Hibernate app in AppBrain. and it would be very nice to have it in power menu.
[Desire Android Development] snq-:
no it's not

please look up what odexes and odex dependencies are. this is beyond the scope of this thread

if i had to do id, i'd use unzip, baksmali and an utf8-aware text editor

sorry, i still don't get it
[Desire Android Development] snq-:
if i have to guess, i'd say it's because your setup doesn't meet the requirements (deodexed system)
[Desire Android Development] snq-:
i'm not sure if this is the same thing as the hibernation in hd

i'll look into it later though
[Desire Android Development] anko184:
thanks man, your work is much appreciated!!!
[Desire Android Development] mike1986.:
Ok so I will then make a deodexing operation but only on framework folder (I don't want to loose so many space by deodexing system/app as well). Is that better? ;)

About editing... I tried Class Editor, MyJarExplorer and few other tools but no result. Will try now the ones you wrote. Thanks
[Desire Android Development] snq-:
no it's not :) your system apps won't start due to stale odex dependencies
[Desire Android Development] mike1986.:
So I have to deodex all or nothing? But what if I want to update single apk files from system/app like Gmail or flash player? I was always removing *.apk and *.odex and putting new version (of Gmail f.g.) but only *.apk because *.odex is nowhere available. I did it with maybe 10 apps, not all of course. The main system apps like rosie are still *.apk and *odex. Sorry for such a noob problems but I'm trying to make things more clear ;)
[Desire Android Development] freeman_108:
2.11.832.2

Is there a version for 2.11.832.2? Which one should I choose?

Thanks!!
[Desire Android Development] eViL D::
Can you tell me which specific smali need to be modified? I'm working with 2.26 as a base now.

Or

Can you recompile this jar with the mods?
[Desire Android Development] Saint George:
This menu over a WinMo build

Hi, I'm on a HTC Leo with the FroyoStone Sense - V3.1 build on it. It's a non HD kernel, so I guess this version is the one to use.

My question is: can this be used on a non native Android system?

If so, I would like to know how to make a recovery mode flash on an Android port?

I'm sorry to bother all the Android purists, but I hope you can help me with this issue.

Disregard that, I just found out it can't be done.

So I change my question... Is there a apk version for this menu?
[Desire Android Development] snq-:
unfortunately, i don't have that release to check the differences to other versions
[Desire Android Development] snq-:
as the smali patch in the second post shows:

mod: GlobalActions.smali

mod: GlobalActions$SinglePressAction.smali

add: GlobalActions$X.smali

add: GlobalActions$X$1.smali

add: GlobalActions$X$2.smali

where X is a number not already taken by other delegates

resource identifiers will certainly be different than in my version, they'll need to be updated too

this is not the right one

the following ones are necessary: android.policy.jar (only this one will be modified), com.htc.framework.jar, com.htc.resources.apk, framework-res.apk

i can't promise that i'll do it rsn, looking up resource ids is a rather boring job ;)
[Desire Android Development] snq-:
there is no apk as this isn't an app

there are however some apps on the market with reboot functionality built in

no one will extend the power menu though
[Desire Android Development] eViL D::
No worries.
[Desire Android Development] snq-:
thanks for reporting. the best workaround i could come up with was to turn them off before restarting - now they remain unlit until the next toggle

(files updated)
[Desire Android Development] snq-:
can i d/l your new rom from somewhere?
[Desire Android Development] hunchi:
Hm, I'm getting into a bootloop with SuperVillain 1.0 (build on 2.14)

strange thing, was a very recent setup, just flashed the rom, rebooted twice and flashed the mod....
[Desire Android Development] eViL D::
Would be awesome if you can grab the HD 1.28 build here and add your MOD.

http://xdaforums.com/showthread.php?t=791151
[Desire Android Development] snq-:
could you please share the original android.policy.jar? the one in your v0.7pr4 rom seems to be overwritten with the modded 1.24.405.1 version
[Desire Android Development] eViL D::
My bad, here it is.
[Desire Android Development] eViL D::
And, if you're up for it, I'm working on the Desire Z port too. :eek:
[Desire Android Development] snq-:
uploaded it here
[Desire Android Development] eViL D::
Dude, you're awesome! I wish I could donate!
[Desire Android Development] vua777:
dear snq-

can you make a version for this android 2.2.1 http://xdaforums.com/showthread.php?t=807333?

Thanks a lot for your time
[Desire Android Development] aaronvlee:
which one works with skyRaider 3.2?
[Desire Android Development] aaronvlee:
i remeber you made a 3 in 1 for the htc incredible skyraider, now i see the 4 in 1. i just dont know which one works for skyraider?
[Desire Android Development] snark_be:
How can I tell if my framework is deodexed?

I'm using the Super Circle Battery Mod (version of ROM is in my signature), does that mean the framework is deodexed?

Thanks!
[Desire Android Development] peppe.desire:
i have flashed it, i have a deodexed rom with software number 2.10.405.2.

i downloaded the relative file to flash and make it...but the power menu is the same!!! why??
[Desire Android Development] aaronvlee:
skyraider 3.0 version please
[Desire Android Development] eViL D::
Seems hot restart makes my device hang with 2.14 build. Anyone else? I could have sworn it worked before.
[Desire Android Development] eViL D::
Could you get this into my rom, based off of 2.25?

http://www.megaupload.com/?d=JAEBH81O
[Desire Android Development] furniel:
Please make this mod for 2.25. Deodexed android.policy.jar from this rom in atachment.
[Desire Android Development] udK:
Attached there is android.policy.jar for ROM v2.25 (v2.25 only!)
[Desire Android Development] OSully:
I'm not sure which version to use. My build says 20101014....
[Desire Android Development] eViL D::
Ahh, thanks brotha!
[Desire Android Development] OSully:
Okay I realized I'm using an incredible with a whole different build... any chance we could get this ported for the incredible with the stock incredible icons? The 2.14 works when I flashed it to my phone, but I'm not a big fan of the icons :p

I can post the icons if that would help.. I'm just not sure how to get them into the jar file, and I assume it's much more involved than just putting them into an apk
[Desire Android Development] Karl:
do you have a version that will work with the Evo?
[Desire Android Development] OSully:
If I were to upload the policies file for the newest incredible build, could someone please add the reboot/hotboot options to it?
[Desire Android Development] OSully:
Puh puh please?
[Desire Android Development] aixson:
can make a version for framework build number 2.10.751.3 ? tks~
[Desire Android Development] eref:
I have a stock froyo rooted with Unrevoked v3.21

pls somebody tell me if this is enough to install this great mod or should I do something more?
[Desire Android Development] udK:
Same for me, tested the attached version (v2.14), bootloop, patched the file manually, bootloop, does not work in anyway.

Could you check it on v2.14 snq- please?
[Desire Android Development] carlos67:
+1

I too would like to know if this is possible with S-ON? If not then what is the procedure to do the least amount of deodexing to allow this mod? Rooted stock Froyo with unrevoked 3.2 (S-ON):confused:
[Desire Android Development] ItsDace:
any chance for an updated version based on Build 2.29.405.2?
[Desire Android Development] udK:
Got it working on my 2.29, will post it tomorrow or later.
[Desire Android Development] ItsDace:
much appreciation in advance
[Desire Android Development] sac23:
hey bro can u make one that works with build # 3.30.651.2 please
[Desire Android Development] Noonski:
Here's the policy from new 2.29 RUU.

Can you make one for these perhaps?

Update: Not a biggie the 2.14 version seems to be working ion this.
[Desire Android Development] ItsDace:
do we have an update yet?
[Desire Android Development] dennis.l:
it does not work for me. when I tried the 2.14 version on the 2.29 RUU. it FC on acore all the time.

so can you please make one on 2.29 RUU?
[Desire Android Development] zebrapositions:
How do you change the resource ids? You have to modify resources.arsc inside com.htc.resources.apk? I've been running through it with a hexeditor for hours... going nowhere... any help? is there a way to decompile?

i need to change these ids

to these

i could just edit the patch and replace the res ids? is there a patch with the hibernate, like the hd version?
[Desire Android Development] PrinzEisenherz1:
Hi :-)

I`ve made a update.zip for 2.29 ROM :-)

Johnny
[Desire Android Development] skippy68220:
Hi

Very Thanks for this update , works perfectly on my RUU 2.29 rooted

just Be patient in first reboot . ( read first post )

Bye
[Desire Android Development] Noonski:
@sng-

I've added this submission to your First Post.

Feel free to re-edit your << First post any way you seem fit.

But for now I thought this would be more helpfull ;)
[Desire Android Development] nerdo:
Another silly request

@snq-

Dig your work mate
[Desire Android Development] nerdo:
^ ^

Any one... someone!

At least bullet-point steps explanation on how to patch/apply mod to other builds :o
[Desire Android Development] K900:
What OTHER builds? Just rip it out of rcmix eh
[Desire Android Development] nerdo:
So you are saying that RCMix HD rom's android.policy.jar would work on any build?

Wouldn't that defeat the purpose of the whole thread?

Why would snq- then make different versions for each build?

kindly understand the question first before jumping into conclusions :cool:
[Desire Android Development] nerdo:
So after lots of digging I figured the whole thing thanks to snq- below explanation (snq- you are a legend mate)

I did apply the patch manually and have a working menu for my build ... that was fun ;)
[Desire Android Development] andQlimax:
On the first post there is the patch for the 2.29 rom, but witch rom? 2.29.405.2 or 2.29.405.5?

The last htc ota (2.29.405.5) apply some patch to the android.policy.jar..so the two versions are different..

So, what version is on the first post?
[Desire Android Development] scuccia:
Is there anyway to have the reboot options menu show over the lockscreen? When you longpress the power button with the screen locked the power menu will open but when your select reboot nothing appears and you have to unlock to access the reboot menu.

I've been looking everywhere in android.policy.jar but keep coming up empty.
[Desire Android Development] ruizit0:
any chance of this to work on cyanogen 6.1.1 ?

thanks
[Desire Android Development] albino71:
I'd like this on my wife....:D

.

.

.

I mean i'd like this on my wifes Legend...

I don't have the skills to do the mod myself, so if anyone who could hook me up....

that would be great!

android.policy.jar
[Desire Android Development] scuccia:
Try this... Button text might wrong since hex ids are most likely different.

android.policy.jar
[Desire Android Development] albino71:
Tnx very much mate! Will give it a go and let you know. What to do if the text is wrong?
[Desire Android Development] scuccia:
If its wrong post up your framework-res.apk.
[Desire Android Development] ShirazSuleman:
CM 6.1.1 has this built in. However is it possible to get a flashable zip of this for an AOSP Rom?
[Desire Android Development] scuccia:
I thought CM only had the 3-in-1 reboot. This can be added to pretty much any rom easily. Just post up the android.policy.jar.
[Desire Android Development] ShirazSuleman:
Yeah, CM does have 3-in-1, my bad. I have a basic Modaco Nexus One Port.

I've uploaded the android.policy.jar. Could you please help?
[Desire Android Development] scuccia:
What options do you have in the long press power menu currently?

EDIT: Not sure if this will work or not. If not grab a logcat and post it up.
[Desire Android Development] ShirazSuleman:
The options I get before the replacing the android.policy.jar are "Power Off", "Silent Mode" and "Airplane Mode".

Once I replace it, it does not work. When I long-press the power, it shows the bootanimation and starts up, does not do a full reboot but no options pop up to reboot. Here is the logcat.
[Desire Android Development] ShirazSuleman:
Is there a guide/tutorial somewhere that I could use to do this myself?

Or could someone explain to me how to do it?
[Desire Android Development] scuccia:
There is one in the OP of this thread but not all android.policy.jar files are the same. I found some things wrong with the first one I posted... Try the attached and let me know.
[Desire Android Development] ShirazSuleman:
Nope, did not work again. Logcat attached again.
[Desire Android Development] ClassicalDude:
Quick question - are these reboot options safe when using a2sd or data2whatever scripts? After all, unmounting additional volumes is not part of the regular reboot process. Is there a way to have the menu items call scripts that handle unmounting and rebooting?
[Desire Android Development] metuskale:
hi guys i would like to port this to the folio tablet, any way you can help me?

is it possible? i have been googling but have not found how to do it and you have done to desire, any light?

thanks in advance!!
[Desire Android Development] LeeDroid:
The best way to port a mod is to figure out how it was built in the first place.. grab the modded version and a stock version, run a diff on the 2 then transfer the mods to your system ;)

Sent from my LeeDrOiD loaded HTC Desire HD using my thumb....
[Desire Android Development] metuskale:
yep i imagined something like this but my big problem is that i dont know how to access to the code so i cant neither see the changes nor apply any mod...

how may i do it?!?!

thanks!
[Desire Android Development] Droidzone:
smali/baksmali,

Or apktool
[Desire Android Development] metuskale:
Actually i have already tried it but my problem now is that i can find any of the functions you posted berfore, i mean the android.policy.jar that i have found i very different of the one you have worked on... I dont know if the functions have the same name or not, variable names, etc...
[Desire Android Development] Droidzone:
Use snq's patch file, open it in Notepad+.

The blue colored lines are the differences. Search for the term before the blue lines to locate it within the smali, then add the text from the patch into the corresponding line. It is indeed tiresome. In case of newer frameworks it fails too, like 2.32 ARA.
[Desire Android Development] scuccia:
Can anyone help me get hot boot working on the Thunderbolt.

I have the mod ported properly but hot restart just locks the device but adb still functions.

pkill -TERM -f system_server just does not work on the Thunderbolt.
[Desire Android Development] Droidzone:
Hi..anyone had luck on the gb leak?

Snq, how does one look up resource ids?

Swyped with my Starburst based Desire. Please ignore any typos or grammos.
[Desire Android Development] EddyOS:
Just to reinterate the above - anyone got one working for the GB leak for the stock Desire? Miss it from my old 2.2 ROM
[Desire Android Development] Droidzone:
It seems all the real coding/hacking in these forums has been done by snq/ownhere.. I shudder to think what would happen if these guys gave away their phones!!
[Desire Android Development] backfromthestorm:
has anyone made a zip for the new gb at all? I cant find one anywhere(found a link but broken).

Or would one of these work?
[Desire Android Development] moltes74:
Any news about an advanced power menu for gingerbread+sense ROMs ?
[Desire Android Development] DuTY09:
does anybody no if there is a version for 2.10.401.9 for Desire s ?