yashsingh1/xdaforums huggingface dataset:
[Nook Touch General] Renate:
Ok, here's the one that fixes the lock screen too.

parta.txt and partb.txt are the same as they were.

partc.txt and partd.txt are for LockScreen inside android.policy.jar

adb pull /system/framework/android.policy.jar
apktool d android.policy.jar \Policy

Edit \Policy\smali\com\android\internal\policy\impl\LockScreen.smali

partc.txt replaces the entire updateBackgroundImage method.

partd.txt gets inserted at the end of the file.

apktool b \Policy android.policy.jar
adb push android.policy.jar /system/framework/

As always, be careful and backup.

(This is also in the readme file.)

Warning: This is only for Nook 1.12 and older, not for Nook 1.2 and newer.
[Nook Touch General] Renate:
Oh, and if you're tired of dragging to unlock your NOOK™,

place the extracted files in /res/drawable-mdpi/ inside /system/framework/framework-res.apk

Just to be clear, this doesn't change the manner of unlocking, just the look.

(The folks at B&N made the graphics shorter by making the top 30 pixels transparent.

That was an unnecessary hack, as long as all four graphics are the same height it works fine.)
[Nook Touch General] ajislav:
signing / alternative to adb push

Renate,

thank you for the mods. The rotated screensaver has been irritating me for some time ;-) And I intend to put my email instead of the "slide to unlock" text..

Just 2 questions, before I do so:

1) do I need to sign the modified .jar/.apk files?

2) As I do not have ADB installed, I intend to change the files from a command line over ssh (i.e. copy, chown, chmod). My understanding is that this should be equivalend to adb push. Is this so?

Cheers
[Nook Touch General] Renate:
"Badges? Badges? We don't need no stinkin' badges."

No, if you copy in anything directly you bypass all the signing stuff.

How you get the files over is however you like.
[Nook Touch General] ajislav:
Bootloop

Hi,

I tried to do both changes (screensaver, slider) but since the recompilation of services.jar and android.policy.jar was giving me errors (see below), I decided to go with replacing framework-res.apk

what I did was

ssh into my nook

cd /system/framework/
mount -o remount,rw /dev/block/mmcblk0p5 /system
#copy the new framework into target dir
cp /sdcard/download/framework-res.apk ./framework-res.apk.new
#fix permissions
chmod 644 framework-res.apk.new
#make a backup
cp framework-res.apk framework-res.apk.old
#replace the file
cp framework-res.apk.new framework-res.apk

now at that moment I got the bootloop screen.. however ssh was still working, so I run the following line to restore the framework:

cp framework-res.apk.old framework-res.apk

and rebooted.. I am getting bootloops ever since..

I can boot to CWM. so I tried both what I should have done in the first place, i.e. replace the file in CWM

I tried this

http://xdaforums.com/showpost.php?p=24728342&postcount=22

(fixes permissions)

and this

http://xdaforums.com/showpost.php?p=23607664&postcount=11

(restores the old framework and fixes permissions)

but none seem to work... still the same bootloop (nook by B&N and 5 dots going from Left to Right)..

any ideas? I'd rather not go all the way to factory restore :(

p.s. I also tried wiping cache and dalvik-cache in CWM.. could this cause any problems?

p.p.s. the errors I got with recompiling the jars are:

>apktool b .\Services2 services.jar
I: Checking whether sources has changed...
W: Could not find resources
I: Building apk file...

is the "Could not find resources" normal?
[Nook Touch General] Renate:
Let's take the easy one first.

Compiling the jars will return "No resources found", because they are just jars.

You should always check to make sure that the output is about the same size as the original.

It may be a bit bigger or smaller depending on the vagaries of compression.

Now the toughie.

Hot-swapping jars is a bit risky.

In the best of all worlds, you'd like to swap them when they are not being used.

Swapping framework-res.apk could make it crash when something can't find a resource,

but it's not code and generally if you leave the Nook sitting it won't try to access anything.

If all you did was replace one file and now you replaced it back it should be working.

I don't know how you are getting a ssh into the Nook.

I've got no port 22 or 23 open.
[Nook Touch General] ajislav:
Hi Renate,

I did this, of course. The files are generally sightly smaller, in the case of framework-res.apk the change is relatively big: from 2,897,726 to 2,381,970 (but I am not worried about this as I get a similar size decrease even during simple decompile/recompile)

I know, and I totally agree with you!

My conclusion is that something got corrupted.. :(

I tried removing the apk.old and apk.new files via CWM (to make sure they are not in the way)

I also tried running e2fsck -p /dev/block/mmcblk0p5 via CMW (from http://xdaforums.com/showpost.php?p=21915065&postcount=59 )

.. but still the same bootloop.

Is there any way to see some logs of the failed boots?

Since I did not make a backup just before doing this change (and I know you had adviced to do so ;)), the only thing which I can think of now is

a) create a backup with noogie

b) mount the image and check what is actually in /system

unfortunately, I do not have access to linux so this would be kind of pain (my old laptop with WinXPSP3 is the main reason, why I dont have ADB..)

And I am not sure if this is not more complicated than reinstalling everything from scratch..

Thanks for your help, I'll probably give it a day's rest and then do the factory reset..

I have droidSSHd installed and am able to connect easily with Putty.
[Nook Touch General] Renate:
Have you already tried to look at dmesg? logcat?
[Nook Touch General] ajislav:
I am not sure how to do this (dmesg, logcat)

I was probably unclear about the ssh - I WAS able to ssh in when Nook was booting normally. Now I cannot.

Is there any way to do this from CWM? (I mean dmesg, logcat)
[Nook Touch General] Renate:
I was wondering how you were in a boot loop and managed to ssh.

# dmesg
.....
# logcat
.....

If you don't have a shell this is not going to do you any good.
[Nook Touch General] ajislav:
I used noogie to get an img which I then mounted (using OSFMount and Ext2IFS) under windows..

looking at the /system partition, I see that

- my .old and .new files are gone

- the correct framework-res.apk is in place

i.e. the CWM scripts I have run did their job correctly.. so they have effectively undone any changes that I have made.. so the nook should boot up without any problems

weird....

so I guess my only options are

- restore my pre-root backup

- factory reset
[Nook Touch General] ajislav:
Ok, so I used eded's Touch-Formatter (erase NST + install 1.1) http://xdaforums.com/showthread.php?t=1475613 to speed up the process a little

Took me about 2hrs in total..

I installed all the mods via CWM

I guess that's the 2 lessons I learned:

a) CWM is better than working with the live filesystem (especially since I dont use ADB)

b) need to get more SD cards (ideally 3: Noogie, CWM and a regular one for data)

in the end your mods for fine, Renate, thanks again
[Nook Touch General] Renate:
Time to resurrect this thread.

The 1.2 and 1.2.1 change a few things.

The EpdController stuff is all different.

There is that stupid tag line that it puts at the bottom of your screensaver when sleeping.

I've got my the new patches to work on my Nook.

I'll be releasing a new patching system in a day or two.

It uses a slightly modified scheme from the old one and is more robust.

The new mergesmali.exe works with new smali patches.

(None of this is uploaded yet.)

You do something like this:

apktool d

mergesmali

apktool b

adb push

For jars you don't even have to sign.
[Nook Touch General] Renate:
Um, did I say day or week?

I got a bit carried away with the new version of mergesmali.

It is more robust and supports lots of error checking.

The procedure for patch developers has changed a bit.

I'll document that in a later post.

The procedure for patch users has changed a bit.

Now you only specify the directory for where the stock smali is, not the whole path of the class file.

If you have been using mergesmali.exe or wish to, please download the new version in the signature.

The requirements and checks on the patches has been made more stringent.

There are 4 new patches for version 1.2 Nook Touch & Nook Glow.

The purpose of the patches is documented in comments at the top of the smali file.

To allow the use of external dictionaries (like Lookup.apk):

apktool d ReaderRMSDK.apk \Reader
mergesmali /v \Reader\smali ReaderMainView.smali
apktool b \Reader ReaderRMSDK.apk
[i]jarsigner whatever
zipalign[/i]

To fix screensavers and arrow keys when in landscape mode:

apktool d services.jar \Services
mergesmali /v \Services\smali KeyInputQueue.smali PowerManagerService.smali
apktool b \Services services.jar

To fix the lockscreen when in landscape mode:

apktool d android.policy.jar \Policy
mergesmali /v \Policy\smali LockScreen.smali
apktool b \Policy android.policy.jar
[Nook Touch General] domi.nos:
Odp: Screensave while in landscape mode

It helps only against that screensaver issue?

Wysłane z mojego GT-I5700 za pomocą Tapatalk 2
[Nook Touch General] Renate:
Um, I don't understand what you are asking.

That patch patches one thing.

You want to patch more things, you can.

What are you looking to patch?

(Of course somebody would have to find it worth their while to sit down and write that patch.)
[Nook Touch General] Renate:
I've rolled all the patches for Nook 1.2.1 into a zip.

You can just download the one zip and unzip the patches somewhere.

There is a readme.txt file inside too that documents things.

The individual smali files also have documentation comments at the head.

The modification procedure is still the same as in http://xdaforums.com/showpost.php?p=37386768&postcount=23

Make sure that you have the latest mergesmali.exe and patches from the signature below.
[Nook Touch General] Renate:
It's on the mergesmali project page in the signature.
[Nook Touch General] :
Ah. Thanks.

By the way, when I replaced LockScreen.smali from your zip into my android.policy.jar, repacked the .jar, and replaced it in /system/framework, when I rebooted I got a weird half-bootloop. Fixed it (see below), but I'd like to know what happened there.

I'd made a backup, of course, but not a completely recent one. So instead of doing it the "easy" way (restoring the old backup) and losing my recent data, I got the stock android.policy.jar from the fresh update.zip B&N provides, re-patched it with the DPAD rotator mod (kudos to you for that!), and made a CWM .zip for it. Booted my Nook into CWM (which I have installed on it), installed the .zip from sdcard, rebooted, and boom. Back to regular boot sequence, regular lockscreen, regular usage.

The reason I shared this with you is because I thought you might be happy with me for not taking a "Super Duper Nooter" (those are your own words!) style shortcut to fix an issue, since I know you're an activist in not automating every single thing, as am I.
[HTC One S] Senzune:
As everyone is well aware, the One S has chipping issues. The question here is, what can you do to prevent it? The grey one doesn't cut it for me, its' brother One X is too big and pricey. Many probably share this thought, and have been looking at the black One S, only to find out this horrific problem. So, what can one do to prevent it, aside from HTC hopefully improving the coating?

Now there are these nano-coatings defending against dust and scratches, with or without additional help of screen-protectors. There are nano-sprays available to simply spray on the screen for it to form a protective layer. There are also coatings available which are able to protect phones from submersion in water - even though the coating is then extended to the inside hardware, of course. My question, however, is whether such coating can be used to defend the MAO coating on the One S. A few major questions arise here - what coating would work, which one would adhere to the material? What will the feel of the coating on the material be, would you end up with a plastic feeling phone, let alone the look of it? Or would there be a spray which works in small amounts, only providing a very small but effective protecting layer?
[HTC One S] kolyan:
I was all hoping for black One S but after this chipping issue and a review on both where editor picked the grey one, now I am glad T-mobile USA is getting it instead of MAO
[Windows Phone 7 Apps and Games] EnderPsp:
Would it be possible to have a Sopcast client or handler? Has any developer looked into this?

Just realized I posted this in the wrong section (instead of Q&A). Can a mod please move it? (thanks)
[Windows Phone 7 Apps and Games] chingy213:
i wish
[HTC One X] combat goofwing:
Using dolphin browser and I locked the screen when I returned to it the 3 menu dots were gone .so did a few tests it happens on some other apps but didn't happen on XDA app very strange

Sent from the Beast that is the HTC One X in white...... :-)
[Nokia Lumia 800] bugman12:
Recently, I downgraded my phone with NCS to the unlocked bootloader. However I am currently stuck at flashing the ROM to my phone. As I am on windows, I downloaded the dd program from chrysocome but it doesnt seem to respond. Any ideas?

EDIT* got past the dd stage. However im stuck and cannot perform a hardreset. More info below. Is it possible to just restart the phone and reset it later?
[Nokia Lumia 800] vova1609:
guys, please write tutorial. we need it
[Nokia Lumia 800] deylo:
http://xdaforums.com/showpost.php?p=24949908&postcount=102
[Nokia Lumia 800] bugman12:
Thanks for you link, anyway I have seen it already and this is for linux. The dd program in vista doesnt respond when you type "dd if=./os-new.nb of=/dev/sdX9".

I know I renamed the interop-unlocked ROM file to os-new.nb and the X target drive is the mass storage disk that appears when they ask you to format it.
[Nokia Lumia 800] bugman12:
Okay guys I got pass the flashing part as seen

778587+0 records in

778587+0 records out

398636544 bytes (399 MB) copied, 318.411 s, 1.3 MB/s

However i realized the main problem was that I could not exit diskmode. Even pressing the power button forever it still appears in the computer. the next step i did was to eject in using the compute,r however i could not hard reset it even. Pressing power+vol down+camera does not vibrate too. Any help?
[Galaxy S II Q&A, Help & Troubleshooting] grentuu:
I have just bought a Galaxy S2 on virgin and immediately unlocked it so I could use my o2 sim.

My question is and I apologise if it sounds dumb.... when the official ICS comes out does it matter which I use? Virgin or O2? I have just come from the HTC Desire which was unlocked and unbranded but this is just network unlocked.

Thanks
[Galaxy S II Q&A, Help & Troubleshooting] cez10:
it doesnt really matter, although i would advice using the o2 one cuz it has specific settings for the o2 network which you're using.
[Galaxy S II Q&A, Help & Troubleshooting] JJEgan:
The official upgrade via KIES is from phone provider .

In your case Virgin .

ICS is already out for O2UK .

jje
[Galaxy S II Q&A, Help & Troubleshooting] grentuu:
Kies wouldn't play last night. This morning I got up, rebooted phone and it immediately said there was an update. Did it over wifi, took about 3 minutes to d/l and installed fine leaving all the O2 wap info etc in place.

Sorted.

Thanks.
[HTC Sensation] Prabash:
First of all sorry for this noob-ish question :o

But is there any method for uninstalling a mod or a theme which has been flashed?
[HTC Sensation] hunter890:
Reflash the ROM. :)
[HTC Sensation] ganeshp:
Yeah that's the best way ....which avoids any techinical stuff..

sent from my blazing fast pyramid through sonic waves
[HTC Sensation] fredcorp6:
saw sweep2unlock is included in the latest ordroid, and read a while ago that it decreases battery life... has this been fixed?
[HTC Sensation] dvno:
I tried it and did not notice a difference in battery life. I would say give it a shot :D
[HTC Sensation] FrenzyGr:
propably not, haven't noticed any change in battery either.
[HTC Sensation] cob92:
I remember that show said that it's inactive till you press the home button while your phone is locked. So it doesn't drain your battery (or only in the moment you use s2w/press the home button).
[HTC Sensation] namila007:
not draining battery.but sometime after a longsleep screen will freezing:/ then touch is not working
[HTC Sensation] fredcorp6:
cheers guys will give it a go :)
[HTC Sensation] gachana:
Almost no effect on battery
[HTC Sensation] craven667:
it keeps your phone on standby looking for you to use it so it will use more battery then not having it
[HTC Sensation] yahhboy:
Based on that logic wouldn't the phone keep on standby waiting for the power or volume buttons to be pressed, so therefore the same amount of battery is used? :confused:

Sent from my sensational sensation 4g
[HTC Sensation] cob92:
As far as I know: no. In the first versions it was like that, but show changed it so it only reacts if you touch the home button.

Also, if I disconnect my phone from the charger at 8 pm, at the next morning at 6 am (when I stand up) it has still 99% battery left, so I think it doesn't affect the battery^^
[HTC Sensation] craven667:
Yeah the phone needs to be on stand by waiting for you to slide cuz there is no switch

Buy there's more then that on standby so won't use much more

Phone is on standby waiting for a call witch uses alit of battery
[HTC Sensation] show-p1984:
nonsense.

sweep2wake works with interrupts.

Every time the touchscreen registers a touch an interrupt is send to the kernel which in turn wakes the phone to check where that touch was and allows a higher resolution while sweeping. If you release the touch the phone goes to sleep again.

There is only the interrupt standing by, which is the same for every hard button you have on your phone and as long as the interrupt is not triggered, there is no other stuff going on. The beauty of interrupts.

The phone is also not "waiting" for a call in standby. The radio/modem is in an ultra low power mode and waits for a signal that belongs to your sim, if triggered it sends an interrupt to the kernel and wakes the phone from sleep.
[HTC Sensation] musa91:
It dznt clearly effect that much u wouldn't notice that I think
[HTC Sensation] sudoPacman:
keeping the touch screen receptive after lock is an entirely different thing. Please don't mix them up:good:
[HTC Sensation] jmcclue:
2015 man

#10post
[Xperia Arc Q&A, Help & Troubleshooting] samuel109:
Hey, ever since I upgraded to ICS on my arc, it seems that when I connect to WiFi the other devices(laptops) lose connection. It was fine on GB. Why is this? Thanks

Sent from my XPERIA Arc running Ice Cream Sandwich!
[Xperia Arc Q&A, Help & Troubleshooting] Flo95:
Works fine here.

Arc connects but all computers and my iPad stay connected
[XPERIA X1 Q&A, Help & Troubleshooting] walkmanbg:
Hello all

Phone restarts when he wants. I tried everything I know, I changed rom, radio rom and hard reset, soft reset, but still continues to reboot. Any ideas what else to try? or may be a hardware problem?

Sorry for my english
[HTC Incredible S] songrandy:
hi everyone..

:mad:recently i founded out my phone lights (the four buttons at the bottom; home, menu, back, search) were still on while my phone is off..

when i pulled out the battery the things off bt when i placed the battery back and din even on my phone the lights on itself..

is dere any fix on tis issue??

thx..

:)
[HTC Incredible S] nsg86:
Send back to HTC

sent from my ics device
[HTC Incredible S] ddsam:
Could someone give some input on this? I think my Incredible S is having the same problem. Regardless of whether the phone is on or off, whenever I insert the battery, the backlights of the bottom 4 buttons are half-lit, in a landscape mode.

When I turn on the phone, those half-lit shades are visible along with the normal portrait mode backlights.

I am using CyanogenMod 7.1, although I doubt it is something related to the ROM. As I have just said, the shades are there even when the phone is turned off.
[HTC Incredible S] Nonverbose:
Might be a kernel issue. How is your phone unlocked?

Post your kernel version: settings>about phone>kernel version.
[HTC Incredible S] ddsam:
The kernel is Tiamat_IncS-v1.1.4. I have been using that for quite a while now.

The original hboot was HBOOT-2.00.0000 S-On. Unlocked via HTCdev. Then got complete S-Off using your method in http://xdaforums.com/showthread.php?t=1373697
[HTC Incredible S] Nonverbose:
I installed the Tiamat 1.1.4 on my cm7.2.0 rc1 setup and I'm not getting any softkey rotation. Have you installed any softkey mods/scripts/etc?
[HTC Incredible S] ddsam:
No, I am not using any mod or script. Actually what I am getting is not softkey rotation. The keys are half-lit always (phone on or off, as long as the battery is there) and the alignment of the keys are as it would be in landscape mode.

When actual softkeys are on, they appear in portrait mode as usual and above those landscape 'ghost' softkey lights.

So then the menu key looks like a checkered box instead of 4 horizontal lines.

The problem appeared a week ago and I have not done any ROM, kernel, radio change in a month.
[HTC Incredible S] Nonverbose:
Hard to imagine it being anything other than a hardware issue..

The landscape led brightness can be controlled by modifying the file:

/sys/class/leds/button-backlight-landscape/brightness

Probably easiest using a root file explorer. This file will contain one number and it should be 0 (off). The range is 0-255 (min-max). Have a look/play with this file to see if it does anything to your leds.
[HTC Incredible S] ddsam:
Thank you for your reply. I am now almost certain that the problem is hardware related.

However I could not edit /sys/class/leds/button-backlight-landscape/brightness. I used ES File Explorer, but it seems it doesn't allow me to edit the file, even after allowing full read-write access.

Is there any way to edit this file from adb/fastboot?
[HTC Incredible S] Nonverbose:
I'm also using ES. In my options both root explorer and mount file system options are checked and I'm opening the file with ES note editor. Hope this helps.
[HTC Incredible S] ddsam:
I was able to open the file using that method. But I cannot change the value.

Any idea, please?
[HTC Incredible S] Nonverbose:
In terminal

su
echo 0 > /sys/class/leds/button-backlight-landscape/brightness
[HTC Incredible S] bluefire153:
It's work for me but only when it in horizon position, when it in normal position (vertical) backlight does not work :((
[HTC Incredible S] glussier:
You can't modify the file, because it is in read only mode. give-it rw access and you'll be able to edit-it.

Also, if you want to make sure that it is an hardware problem, it's probably easier to restock you device. Just make a nandroid backup, reinstall the stock boot loader and o/s and see if the problem persist.
[Galaxy Ace S5830 Accessories] AnoopKumar:
I'm using Sony HD v2 rom

When I'm trying to answer a call using headset button .. damn it's not working...

When I'm using stock rom it woks finely :mad:
[Galaxy Ace S5830 Accessories] syed.sayeed96:
Oem headset?
[Galaxy Ace S5830 Accessories] AnoopKumar:
Yup :(:D
[Galaxy Ace S5830 Accessories] ahmedwageeh:
hi there, did you get this working, we are having same issue, headset is not being detected, its a wired 3.5mm headset, not OEM, but these 3.5mm headsets should be standard. strange its not working, should i return the mobile, its only been with me for 2 days.