yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] username666:
Long time no see. :)

Any way there is a new build this one is based on the latest and greatest from CM 7.1. the download link is below.

Spoofed permissions:

READ_PHONE_STATE - You can now make your device return spoofed data from the methods protected with READ_PHONE_STATE permission. There is a demo app you can use to see the effect of spoofing and revoking READ_PHONE_STATE permission. Run the app revoke or spoof run the app again.

Since majority of time spend on READ_PHONE_STATE spoofing was about laying the needed infrastructure for spoofing in general, expect new spoofed permissions shortly.

ROM info:

This is a preview build bases on CM7 nightly builds. Some things may not work some features may be missing.

Some applications may not work properly with revoked permissions.

You can revoke permission of SYSTEM applications!!! DON'T DO IT UNLESS YOU KNOW WHAT YOU ARE DOING.. However reboot resets the permissions of the system applications so you probably can recover.

If an application is running changing some permissions like say INTERNET will not be fully applied until the application is restarted.

If you come from CM7 nightly or CM7 RCx you probably don't need to wipe. I something is not working do a wipe.

Google apps are not included. You need to download them separately and flash them right after the ROM.

It will probably require ClockworkMod 3.x to flash properly.

You uses it at your own risk and I cannot be held responsible for the consequences.

Some technical stuff:

If an application checks for its permissions it will appear that all required permissions are granted. This is done to keep some ad networks code happy. As far as I've tested this is safe since the permission check is done at the remote end of the call when protected method is invoked. Please report your findings.

Screen shot:

This is the extended Manage application screen.​

Download:

update-pffmod-7.1.0-Desire-KANG-signed.zip

old builds:

direct link: update-pffmod-0.9.1-Desire-DEV-20110418-signed.zip storage provided by: http://onlinestoragesolution.com

direct link: update-pffmod-0.9.0-DESIRE-DEV-20110328-signed.zip storage provided by: http://onlinestoragesolution.com
[Desire Android Development] ukanth:
Wow, This is so quick, I read about it in Reddit day back. Thanks! Still there are lot of discussion about this between developers.

Details here

http://www.androidpolice.com/2011/0...rmissions-cue-mass-force-closing-as-a-result/
[Desire Android Development] username666:
Actually I've submitted this to CM

here is the original thread for Desire HD http://xdaforums.com/showthread.php?p=12161601#post12161601
[Desire Android Development] ukanth:
Great patch though :) Personally I feel this is great addition.Thanks for this! I'll try this and let you know.
[Desire Android Development] username666:
new build with data spoofing see the first post.
[Desire Android Development] JDima:
Neat!

Is this based on something close to nightly 41? There's been a major bug recently, which caused many issues, it's fixen in #41.

http://cm-nightlies.appspot.com/?device=bravo

p.s.

Please add this to the CM branch...
[Desire Android Development] username666:
This is like current git :)
[Desire Android Development] JDima:
Swapping real IDs for the word "spoofed" is quite obvious, and, IMHO, might cause problems if an application stores it as an integer value. Why don't you just return random numbers?
[Desire Android Development] username666:
I'm working on something that will generate plausible data from the calling app package name. I'm just too impatient and decided to release it early. :o

The other thing is that it's bean too long since the last release :)
[Desire Android Development] JDima:
And a final request. Please do something with the usability :) Maybe a dropbox underneath each of the permissions. Best if colored - red for "revoked", yellow for "spoofed" and "granted" without highlighting. Currently, a brief view at the list of permissions totally misses their states.

Yes, I do understand the engine is far more important than bells&whistles, but as for me, the mod is quite ready for everyday use, and I'd be happy to see it more user-faced.
[Desire Android Development] username666:
Interested in helping with that?

Just grab AppSecurityEditablePermissions.java, app_editable_permission.xml and app_editable_permission_item.xml from http://review.cyanogenmod.com/4055 and start hacking :D
[Desire Android Development] username666:
New build... Link in the first post.
[XPERIA X10 Q&A, Help & Troubleshooting] lythanhlong:
I recently installed the 2.2 Froyo rom from Wolf running with 58 baseband

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

It was working perfectly fine at first.

Then I installed some apps/games then I turned off phone and charged it.

Now whenever my phone is turned on, pops up saying process is not running, force close or wait. Even when I press force close or wait, nothing happens.

For some reason, it cannot even pick up my sim card and when I connect my phone to the computer, my computer picks it up but my phone does not.

It keeps doing this, I need help. :S

How do I fix this? :S
[XPERIA X10 Q&A, Help & Troubleshooting] Bruce Lee:
Have u tried reflashing wolf's rom? that might do it. Remember to wipe phone, all caches, and battery stats before hand in xrecovery. Try that first then post weather or not that worked. I have other ideas if that doesnt work.

Sent from XDA Premium from my X10a rooted running 2.2.1 CM Rom from Rendeiro2005
[XPERIA X10 Q&A, Help & Troubleshooting] Astral07:
if i recall correctly you must not charge the phone while it's OFF, that's when this will start to happen

reflash/restore and all will be ok
[XPERIA X10 Q&A, Help & Troubleshooting] lythanhlong:
Okay I will try. I doubt I can reflash because it doesn't seem to pick up my SD card and Sim card.
[XPERIA X10 Q&A, Help & Troubleshooting] lythanhlong:
Yup, I did all that, I went through the Wolf's instructions. Gahhh. Dx I can't reflash because it doesn't seem to pick up my SD card anymore including my SIM card. T_T. :S
[XPERIA X10 Q&A, Help & Troubleshooting] lythanhlong:
I would if I could since process system does not respond I can't access my SD card, because it won't pick it up and also my SIM card.
[XPERIA X10 Q&A, Help & Troubleshooting] Bruce Lee:
I have a few other solutions. U should first try flashtool and totally start over with the ROM flashing.

The flashtool link is in the x10 android development section. I use the 54 baseband for me

Sent from XDA Premium from my X10a rooted running 2.2.1 CM Rom from Rendeiro2005
[XPERIA X10 Q&A, Help & Troubleshooting] lythanhlong:
So is it actually possible to flash the rom through flashtool instead of xrecovery?

As in the Froyo rom.

Plus what is the difference between baseband 54 and 58?
[XPERIA X10 Q&A, Help & Troubleshooting] lythanhlong:
I am trying something right now. I flashed it back to version 2.1. It worked! Now I'm gonna try and install the baseband 54 then Froyo 2.2

EDIT: It seems to work flawlessly now! Let's see what happens. :S
[XPERIA X10 Q&A, Help & Troubleshooting] lythanhlong:
Wow, 2.2 Froyo works fine now, no process.system fail but now it cannot pick up SIM card. I went to dev tools, bad behaviour, crash system server. It did nothing. I factory reset phone it did nothing. Plus now for some reason, it says unknown baseband and I tried both 54 and 58 baseband. Gosh. T_T

EDIT: I rooted it, installed apps/games on flashtool. APK files done. Now when it starts up, it's stuck on the Sony Ericsson title. Ohhh, come on. T_T
[XPERIA X10 Q&A, Help & Troubleshooting] rjumonong:
i guess you have to start over from scratch... make sure all steps are done correctly.
[XPERIA X10 Q&A, Help & Troubleshooting] lythanhlong:
I'll try again, maybe another 2.2 Froyo rom, who do you recommend? Link me and I will try it. (:
[XPERIA X10 Q&A, Help & Troubleshooting] lythanhlong:
Froyo 2.2 rom from Wolf works fine now except for Market which I downloaded and flashed into phone. Pops up when I open Market with.

"Sorry! The application Market (process com.android.vending) has stopped unexpectedly. Please try again".

How do I fix this?

EDIT: Well, I went yo charge phone while it was on, pops up with process.system is not responding again. T_T
[XPERIA X10 Q&A, Help & Troubleshooting] Napoleoneg87:
Hey im having the exact same problem, how did you fix it?
[XPERIA X10 Q&A, Help & Troubleshooting] lythanhlong:
Can someone send me a link to another Froyo 2.2 rom that they would recommend?

EDIT: Turns out that newmarket.zip is the problem coursing tee process.system crash. Took me a while to figure it out. T_T

EDIT2 : I don't know anymore... T_T
[XPERIA X10 Q&A, Help & Troubleshooting] lythanhlong:
I do not get this at all. I used xrecovery on CM 6.1.3 [v05].zip and CM Update v053.zip and works fine at first, once I turn off or reboot it pops up with process.system is not responding. ARGH.
[LG Optimus 2x] paulobrien:
​

I've created a little app that lets you set the touch key brightness, but most significantly, restores your settings on boot.

It's 99p and you can find it in the Market.

This thread is to give some background for those who like to hack around... the backlight value is read / written at '/sys/devices/platform/star_touch_led/wled'. The normal values made available are 00-20, you can program higher but it's probably not a good idea! :D

The default level can also be changed in the kernel.

Cheers!

P
[LG Optimus 2x] Inebriatef:
Nice job there Paul.

This should be a step on the way to have a solution to make buttons as notification lights i guess?
[LG Optimus 2x] paulobrien:
It certainly feels like it should be possible.

P
[LG Optimus 2x] Gilg@mesh:
What value do you recommend?
[LG Optimus 2x] paulobrien:
I use 200 personally!

P
[LG Optimus 2x] dondavis007:
You just sold one.

Sent from my 2x
[LG Optimus 2x] LXSJason:
Interesting...

Hmmm almost interesting enough to start developing for andoid myself... but I'm currently too busy with other things....
[LG Optimus 2x] Aduck79:
I just tried to edit the value directly in the file using root explorer. When I saved and exited, the lights turned off. I tried other values, but it seems like the value only changes ones and that is to the value 0ua. Any edit after that doesn't change anything.
[LG Optimus 2x] racermussen:
I had the same problem as you.

It is because you have to detete all of the text(wled: 2000uA) and write "6uA" (00-20aU ; 20uA is default)

then android will translate:

1uA = 100uA

2uA = 200uA

3uA = 300uA

n...uA = n...00uA

I'm recommending 6uA with a 30% screen brightness :)
[LG Optimus 2x] xos84292:
I had buy your apps! it 's fix the Touch key to light problem.

If it 's can auto set on boot, will better.
[LG Optimus 2x] paulobrien:
It does! :)

P
[LG Optimus 2x] thesillytony:
thanks to make useful apps. I purchased.
[LG Optimus 2x] gensplejs:
Any chance of using the keys for notification?
[LG Optimus 2x] Aduck79:
Thanks! :-)
[LG Optimus 2x] kingzero666:
This works for me also:

while true; do
echo 0 > /sys/devices/platform/star_touch_led/wled
sleep 1
echo 20 > /sys/devices/platform/star_touch_led/wled
sleep 1
done
[LG Optimus 2x] michael2041:
Hmm, maybe you can use similar code to apps like SMS popup, to only light touch keys on notifications! Please try it...when the G2x for tmobile (rebranding with stock android) comes out, i'd DEFINITELY pay $5 for it.
[LG Optimus 2x] mirsalimov:
How do you save it? File restores it self on reboot.
[LG Optimus 2x] Sorensiim:
You can add a startup script that sets the value as you specified it :)

Having the button backlight "follow" the screen backlight seems like a trivial tweak tho...
[LG Optimus 2x] dazzle999:
I dont want to be a arse but isnt this a free feature in hiddenmenu?????

send from mah magic toaster
[LG Optimus 2x] mirsalimov:
Hidden menu doesn't save settings on reboot.
[Atrix 4G Themes and Apps] bl0wf1sh:
As I have never been happy with the connectivity icons of neither stock Atrix nor Gingerbread, I have created my own. I put them here to share. Note that these only look good with a black taskbar and greenish icons there... I.e., the best idea is to use GingerBlur in the first place.

Note: The icons are now included in the 1% battery mod available here.

The differences here are not huge (due also to the size of the icons themselves):

Bigger, more legible font

Arrows are not shown when there is no data traffic

Arrows are bigger than stock gingerblur

Fancy looking 3G, where the 3 is slightly smaller than the G

In order to use these icons, there are two ways. The second one kind of assumes that you know what you are doing, so if you don't - use the first one.

If you have not yet flashed GingerBlur (you can also do this when you have already flashed, it is a bit redundant though and will take quite long)

Download GingerBlur (from the dev section)

Download the attached zip

Extract the attached zip

Open framework-res.apk with a zip tool without unzipping it

For GingerBlur 1.1 and up: it is easiest to extract framework-res.apk from gingerblur-1-X.zip, and open the apk from there. Push the modified apk back into the zip archive, and you should be good to go.

Drag and drop the icons from the attached zip file in the right folder (where the same files are located)

Close the zip tool

Install GingerBlur

If you have already flashed GingerBlur

Pull framework-res.apk

Download and extract the attached zip

Open framework-res.apk in a zip tool (no unzipping!)

Drag and drop new icons where they belong inside the apk

push the apk to a temporary folder on the phone

copy the apk from the temp folder to /system/framework/

reboot phone

The icons look like this:

View attachment 554162

In a phone screen, they'd look like this:

View attachment 554163

There is a 1%
[Atrix 4G Themes and Apps] MaluNoPeleke:
It looks great, thanks!

With https://market.android.com/details?id=ccc71.bmw and the "Defy compatible" mode enabled it is possible to display the battery in 1% steps.

Maybe you can incorporate that feature!?
[Atrix 4G Themes and Apps] bl0wf1sh:
Glad you like it!

Yeah, I have that app installed... it does not 'activate' anything, afaik. The single percentages can be grabbed from a pipe, basically, or estimated from voltage, but that does not mean the right-hand battery icon will get updated.

I have an idea though,that I will try out on Thursday (no time today and tomorrow, sorry).
[Atrix 4G Themes and Apps] MaluNoPeleke:
Okay, no problem.

I will be watching this thread, maybe you can post your results here :)
[Atrix 4G Themes and Apps] bl0wf1sh:
I am working on the battery mod to display 1% natively in the status bar. I am making good headway in figuring it out, expect it in the next couple of days!
[Atrix 4G Themes and Apps] bl0wf1sh:
Ok, a little setback on the 1% battery mod. Ok, talking to myself here ;)

Anyhow, will start a separate thread on this, as I am a bit stuck currently.
[Atrix 4G Themes and Apps] MaluNoPeleke:
I hope that you can make it work with the new update (1.5.57)
[Atrix 4G Themes and Apps] LayzeeEyez:
How can I get the GingerBlur notification bar (plus your icons when I replace them) without installing GingerBlur? Do I just replace my framework-res.apk? (I have backed up)
[Atrix 4G Themes and Apps] bl0wf1sh:
I have not really tried doing that... but you should be able to roughly follow the steps here: http://xdaforums.com/showthread.php?t=536271

Note that:

- With 7zip, there is no need to rename the apk. Just open, but don't unzip it. Drag and drop files in.

- As GingerBlur already has the files you need, there is no need to create them

- You need to figure out which are the icons you need to copy. Obviously, the post above just talks about the statusbar itself; you also need to copy some icons (for cell signal, wifi signal, etc.). Where it gets a bit fiddly is that there are some things to watch out for. One, icons may not have the same number of levels - e.g, cell signal has five levels in motoblur, but only four levels in gingerblur. Two, I am still not sure whether icon sizes are hard coded; in which case, changing files like this may not work. And three, when I played around with battery icons (this included changing a binary xml file, though!), I managed to make my battery icon disappear completely, which is something you should be prepared for.

Bottom line? In your worst case scenario, be prepared to flash the 1.2.6 SBF if you mess up. If you want to be on the safe side, just install GingerBlur - much less hassle ;)
[Atrix 4G Themes and Apps] LayzeeEyez:
Much harder than the copy and paste method I had in mind lol

Yeah I'll install gingerblur when its out for 1.5.7
[Atrix 4G Themes and Apps] bl0wf1sh:
Just a note: The icons are now included in the 1% battery mod here.
[LG Optimus 2x] paulobrien:
​

I've created a little app that lets you set the touch key brightness, but most significantly, restores your settings on boot.

It's 99p and you can find it in the Market.

I've posted some additional technical info in this topic in the Development area.

Cheers!

P
[LG Optimus 2x] hkfriends:
must buy item ^^
[LG Optimus 2x] goaner33:
The same thing can be done with launcherpro for free?
[LG Optimus 2x] Mafs:
Indeed, Hidden Menu does this for you, much easier and cheaper imo :)
[LG Optimus 2x] michael2041:
Please..somehow make this so you can light them up for notifications! That 99p price and be 5x higher if you do..it cant be that hard..take the code from apps like SMS popup and combine it with your code for touch key brightness, maybe?
[LG Optimus 2x] paulobrien:
Please show me how to make hidden menu restore the value on startup, the point of this app... thanks.

P
[LG Optimus 2x] paulobrien:
I'm looking into notifications...

P
[LG Optimus 2x] michael2041:
Looking into doing it for notifications or something else?
[LG Optimus 2x] paulobrien:
Notifications!

P
[LG Optimus 2x] TakNek:
Thanks, great app
[LG Optimus 2x] michael2041:
Yes! Also, do You think it'd work on the new T-Mobile USA G2x? Its the same phone but with vanilla Android 2.2
[LG Optimus 2x] paulobrien:
I believe so...

P
[LG Optimus 2x] hellokittyr:
Cool. I hope LG can include something like this in the future.
[Nook Color General] richdaley:
I thought everyone would be interested. ZDNet is usually pretty Apple happy but this article praises the NC.

http://www.zdnet.com/blog/open-source/the-first-great-android-tablet-nook-color/8570#comments
[Nook Color General] dsf3g:
Praises the Nook Color as a full blown tablet (once the App Store opens)... I wonder what the execs at Barnes and Noble are thinking right now? My guess: "Should we try to ride this tiger? Will it eat us in the end or will it help us devour the competition?" I suspect there's a lot of soul searching going on in Barnes and Nobleland.
[Nook Color General] animatechnica:
i think BN knows what they have - i am sure they built the nook as such knowing they will make use of its full capabilities once they have content to offer - to me the nook color offers a conduit for selling not only books but rich media - audio, video, graphic novels etc - BN is aware Amazon is working on their own tablet and that amazon has a robust portfolio of content - so this is a pre-emptive move on their part before amazon launches their tablet - after all, BN also set the bar for pricing the piece ( a low cost high quality tablet) - Amazon will have to also compete on price not only on content
[Nook Color General] mthe0ry:
A problem arises (and likely this is the reason for the apprehension by BN in releasing an "app store") if the NC becomes too successful as a tablet because it undermines its ability to be a successful loss-leader. Considering the CPU, screen, memory (flash and ram), battery and wireless controller I'd estimate the COGS comes in around $170 per unit, add in fabrication costs for the mainboard and housing and distribution/quality control and the NC is a low-margin or possibly negative-margin product. BN is counting on accessory and book sales to make a real profit on these devices, which is why they are probably not going to be too mod-friendly going forward.
[Nook Color General] A. Nonymous:
This is really an inaccurate story. Stock NC already has email and a web browser on it. All they're really adding is the BN app store. There's no word yet on how many games/apps will be available. The update will bring Flash and the BN app store. It's not going to unlock it as a tablet the way rooting currently does.
[Nook Color General] ExploreMN:
If, what you are saying is true, they would still get accessory sales and the amount of book sales would not change. Those who buy eBooks would still buy them and those that don't...won't. I also highly doubt they sell these units at a loss. Small profit margin sure, loss...no. So any sales will still be good sales.
[Nook Color General] dsf3g:
This is only a problem with rooted nook tablets, though. A stock Nook tablet that has to go through the Nook App store still produces sales revenue for Barnes and Noble.
[Nook Color General] A. Nonymous:
I've heard they do sell them at a loss. They sell them at a loss with the idea that people who have them will buy ebooks which are basically pure profit. There is no cost in warehousing ebooks, no cost in printing them, minimal cost in changing them from print to digital and minimal cost in delivery. It's been rumored for a while that Amazon would be giving a free Kindle to all their Prime customers just because people who own e-readers buy more books than those who don't and they are better off financially selling their e-readers at a loss and making up for it with the nearly pure profit they get off ebooks.
[Nook Color General] richdaley:
That is what I am thinking too. If they make them attractive enough as a tablet for Joe Public, he will not be as tempted to root them which means they are running the B&N store exclusively. I think it is a good strategy especially since in my opinion the stock UI is very nice for what it does and with the addition of flash and other features, they have a winner. We nerds don't count because we are going to root it (but some of us are loyal to B&N anyway).

I don't know much about the publishing business but maybe there is also some advantage to just selling a bajillion of these things even at cost. Barnes and Noble cannot get by if they are just going to copy Kindle. They needed to make a bold move, which they did and their stock has been rebounding.
[Nook Color General] cabbieBot:
The overhead in ebooks is server space, bandwidth and the big one being copyright licensing to the publishers. It is definitely not pure profit.
[Nook Color General] A. Nonymous:
And all of that is next to nothing compared to the cost of print media. You're going to have licensing either way so that's a wash. Server space and bandwidth is negligible. An Ebook is nothing more than a few hundred kb. I would bet that a RAID array with just a TB or two of space could store every ebook on Amazon.

Edit: I'm at home on call so I'm bored so I did the math. Amazon claims to have 1.8 million pre-1923 books that are out of copyright plus 850,000 other books. Now, I rounded up allowing for growth and settled on a number of 3 million books. Even at 1 mb a book (which is really pretty big for an ebook), you would need ~2.9 TB of storage space for the entire Amazon library. Amazon can easily afford a series of NAS' holding that much space. Heck, you or I could buy a NAS of that size for a few hundred bucks.
[Nook Color General] skeeterpro:
Let's keep in mind a truism of production that the more you buy (make) the less you pay for what it's made of. Now unless the buyers at B&N are absolute morons (and I do doubt they are) the more NC's they order constructed the price to B&N should well drop! Thus increasing the margin of profit while keeping the current price point.