yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Themes and Apps] LifeAsADroid:
Ok thanks!

So I've managed to copy entire framework folder to computer, deodex, and decompile the android.policy.jar file. However, whilst navigating to the com\android\internal\policy\impl\sec folder, I noticed I don't have a \sec folder... is this due to me having a different phone (thus different code files) than you? I also checked the \impl folder for the wallpaperwidget.smali file and cannot find one... also due to the naming for my similar wallpaperwidget.smali file being different?

Thanks for all the help! :)

---------- Post added at 01:17 AM ---------- Previous post was at 01:12 AM ----------

Thanks, but the second link (to the .jpg file) isn't working.
[Galaxy S Advance I9070 Themes and Apps] BOOTMGR:
The reason is that you need to enable lockscreen wallpaper which is done automatically when you set it up via SecGallery. This mod requires that you did it before because we'll need Lockscreen wallpaper enabled & lockscreen_wallpaper.png & lockscreen_wallpaper.jpg because blurred image is written to it ( i'm a bad coder, forget to add code to create it if it doesn't exist :P).

If it is not present there then there'll be bootloop or black wallpaper.

You'll require stock gallery app to enable lockscreen wallpaper. Path to lockscreen wallpaper is defined in settings storage database with id lockscreen_wallper_path.It is the path from where wallpaper is loaded & which you must use in my mod.Additionally you'll need to enable lockscreen wallpaper by changing value of lockscreen_wallpaper to 1 in same database which secgallery does automatically.

Which gallery are you using?

Are you able to change lockscreen wallpaper using that gallery?

About the log, as i edited first post, you'll need to enable lockscreen wallpaper first as mentioned above or set wallpaper through secgallery once or simply copy any valid png file to /data/data/com.sec.android.gallery3d/lockscreen_wallpaper.png

This mod is samsung specific...:(
[Galaxy S Advance I9070 Themes and Apps] Sami Kabir:
[MENTION=2805784]BOOTMGR[/MENTION]

I don't use SecGallery.apk.. I use the Gallery and Camera app (Gallery2.apk) from CM 10.1.. and yes I can't use it to set lock screen wallpapers.. that's why I use the stock wallpaper choosing app (SecWallpaperChooser.apk)

I guess I'll have to use Samsung's laggy Gallery app to use this mod then...

Sent from my GT-I9070
[Galaxy S Advance I9070 Themes and Apps] Geddd:
@OP, Thank you so much bro. It works now, sorry for the late feed back..

just a little bit confusion :(

I have lockscreen_wallpaper.png and jpg (both transparent) in data/data/sec.android.sec...

here how it looks

do you think it's really working now?
[Galaxy S Advance I9070 Themes and Apps] bamzzz:
I have create toggle for enable/disable this, but blur effect can't disable after set locksreen wallpaper with SecWallpaperChooser, if set locksreen wallpaper with SecGallery this working.. i think this called "lockscreen_wallpaper_path",, can anyone help me..! thank's.. :D

Sorry my bad english
[Galaxy S Advance I9070 Themes and Apps] Vivek_Neel:
Permission set to rw r r for both images?
[Galaxy S Advance I9070 Themes and Apps] Geddd:
nope. rwrwrw
[Galaxy S Advance I9070 Themes and Apps] gerryS2:
Thanks [MENTION=2805784]BOOTMGR[/MENTION] for this effect, I have try to insert a smali to activate this effect with checkbox on the "fly" and it was a success :)

I would like to share the code that I inserted with you.

First search this line in WallpaperWidget:

invoke-direct {p0}, Lcom/android/internal/policy/impl/sec/WallpaperWidget;->BlurImage()V

Under this line insert this code:

iget-object v0, p0, Lcom/android/internal/policy/impl/sec/WallpaperWidget;->mContext:Landroid/content/Context;

invoke-virtual {v0}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v0

const-string v1, "blur_checkbox"

invoke-static {v0, v1, v2}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v0

if-ne v0, v2, :cond_2

.line 63
invoke-virtual {p0}, Lcom/android/internal/policy/impl/sec/WallpaperWidget;->updateWallpaper()V

goto :goto_0

:cond_2
invoke-direct {p0}, Lcom/android/internal/policy/impl/sec/WallpaperWidget;->setLockScreenWallpaper()V

goto :goto_0
.end method

I hope I have been of help :)
[Galaxy S Advance I9070 Themes and Apps] BOOTMGR:
Lockscreen constructor is called every time you press power key/ lock key so changes are on the fly. But it is better to avoid much toggles based on database because read/write to database is expensive operation. For better toggle you also need switch to System.Loadlibrary method in constructor so that RAM usage stays normal when it is not enabled. Look in my ROM for better toggle.
[Galaxy S Advance I9070 Themes and Apps] josephpatrick:
Blur effect not possible for stock lockscreen?

It works on swipe lockscreen only if ripple effect is disabled
[Galaxy S Advance I9070 Themes and Apps] phenomarc:
I have succesfully ported this to a SGS2 4.1.2 ROM, but it doesn't work with ripple lock because the png/jpg is called lockscreen_wallpaper_ripple, not lockscreen_wallpaper. There's a way to fix it?

Thanks in advance.
[Galaxy S Advance I9070 Themes and Apps] lacoursiere18:
You could rename every instance its called..so in the smali where it says

const-string v1, lockscreen_wallpaper

change it to

const-string v1, lockscreen_wallpaper_ripple

And everywhere else its called
[Galaxy S Advance I9070 Themes and Apps] phenomarc:
I suppose to, but then the other locks won't work. I have Optimus, acer, bb,aosp and TW lock, and it works in all except ripple.

Enviado desde mi GT-I9100 mediante Tapatalk
[Galaxy S Advance I9070 Themes and Apps] lacoursiere18:
Ah then you would have to add some code for those to be called as well.. Maybe some more things as well..? though. . Why do you want blur on those?
[Galaxy S Advance I9070 Themes and Apps] phenomarc:
The blur effect works in all except the ripple. Don't worry, it's not important while it works in stock.

Thanks for all.

Enviado desde mi GT-I9100 mediante Tapatalk
[Galaxy S Advance I9070 Themes and Apps] josephpatrick:
won't this break it for the AOSP lockscreen and non-ripple lockscreen?
[Galaxy S Advance I9070 Themes and Apps] phenomarc:
Of course. If you rename the image path it only works in ripple lock. BTW, I haven't changed the path and it's working in stock, AOSP, BB, Acer and LG locks in a TW ROM.

Enviado desde mi GT-I9100 mediante Tapatalk
[Galaxy S Advance I9070 Themes and Apps] josephpatrick:
stock lockscreen with ripple effect enabled?
[Galaxy S Advance I9070 Themes and Apps] phenomarc:
No.

Enviado desde mi GT-I9100 mediante Tapatalk
[Galaxy S Advance I9070 Themes and Apps] professor_proton:
Great work dev but

Umm is there a way to make it work on aosp ics ???
[Galaxy S Advance I9070 Themes and Apps] D2Y aka E:
hi sir if you could make a tutorial locksreen blur to 10.1 cm .... I apply this tutor resulted in a 10.1 cm boltop .. please help ...
[Galaxy S Advance I9070 Themes and Apps] psycho_boy52:
i tried a lot to make the effect work on my s advance bt every time i fail.. :( :( :( plz can any1 provide me the modded android_policy.jar n necessary files to make d mod work
[Galaxy S Advance I9070 Themes and Apps] Many40:
Good morning,

Just followed your guide for the blur effect on i9100/JB 4.1.2 (XWMS3) stock based rom and works like a charm. However I tried to do more which was toggling the mod on/off using your build.prop method.

Unfortunately I failed. I tried doing that in two ways: by changing the ro.harsh.blurlockscreen state from true to false in build.prop as well as by issuing the terminal command according to your guide. In both cases it didn't take any noticeable effect -> the blur effect still stayed ON.

Don't know if it helps but I took short logcat with observation time covering the terminal command: http://d-h.st/xAC

Any hints from your side are appreciated.
[Galaxy S Advance I9070 Themes and Apps] BOOTMGR:
You must have done something wrong. Make sure about register nos If possible, post WallpaperWidget.smali here

------------------------------------------------------------------------------------------------------------------------------------------------

Updated Guide...:D

Now by default it'll use multi threading, also bug with delay in lockscreen is solved.

P.S follow whole tutorial again...
[Galaxy S Advance I9070 Themes and Apps] Many40:
No problem, here you are: http://d-h.st/0Hl

Thanks for quick reply. Appreciate it.
[Galaxy S Advance I9070 Themes and Apps] phenomarc:
I have it working in XWMS3, but after toggling off you have to change lockscreen wallpaper.

Enviado desde mi GT-I9100 mediante Tapatalk
[Galaxy S Advance I9070 Themes and Apps] Many40:
Just checked what you suggested and must say your way works. However it works only if I change the state inside build.prop file then change the wallpaper and reboot the phone. When I tried to do the same on the fly with terminal emulator setprop command - it doesn't work.

BTW what type of toggling do you use in XWMS3?
[Galaxy S Advance I9070 Themes and Apps] phenomarc:
A toggle in SecSettings. I don't need to reboot to make it work.

Enviado desde mi GT-I9100 mediante Tapatalk
[Galaxy S Advance I9070 Themes and Apps] Many40:
I made similar toggle in SecSettings +adjusted toggle code in WallpaperWidget.smali (without involving build.prop) but it didn't work for me. I didn't check that time if it worked after changing lockscreen wallpaper. So I will check it again and see.

Do you btw use similar code in WallpaperWidget.smali to the one posted here by gerryS2?
[Galaxy S Advance I9070 Themes and Apps] phenomarc:
Yes, but I have also look at BOOTMGR's android.policy to make it work, because I think it needs a bit of edit at the beggining of the smali.

BTW, I can post here my WallpaperWidget.smali if you want.

Then, I add a normal CheckPreference toggle in SecSettings and two images in data/data... with permissions (with Troubadour's help)
[Galaxy S Advance I9070 Themes and Apps] Many40:
Ok thanks. It would be nice if you could post it. I would differ the code with mine then (if my doesn't work - have to recheck it).
[Galaxy S Advance I9070 Themes and Apps] phenomarc:
http://d-h.st/kaf
[Galaxy S Advance I9070 Themes and Apps] Many40:
Thanks, you are very helpful however I just rechecked my old toggle (non build.prop one) which I made last week and a miracle happened - it works :)

It even works without changing wallpaper after toggling. Just it works on-the-fly as it should be. Don't know why it didn't work earlier - only difference is that in the meantime I reflashed my rom so maybe that time I had some leftovers from older mods ... :confused:

Regards
[Galaxy S Advance I9070 Themes and Apps] alphamale:
Any idea if this would work on kk
[Galaxy S Advance I9070 Themes and Apps] shut_down:
I think that some KK ROMs has Lockscreen Blur Effect. But I can't remember which one.
[Galaxy S Advance I9070 Themes and Apps] alphamale:
None for vzw note 3 tw
[Galaxy S Advance I9070 Themes and Apps] shut_down:
I was referring to the device in which section is this thread - Galaxy S Advance. It does not have stock TW 4.4.
[Galaxy S Advance I9070 Themes and Apps] Dr. Narinder:
Hi [MENTION=4343817]phenomarc[/MENTION] Can you guide me how to add on the fly toggle in settings

Thanks in advance
[Galaxy S Advance I9070 Themes and Apps] Dr. Narinder:
Dear [MENTION=4343817]phenomarc[/MENTION]

Finally added onthe fly toggle with your help

Thanks a lot
[Galaxy S Advance I9070 Themes and Apps] nokiae668:
Hi, I want to modify a android.policy.jar file, because I would like to do the "new" lockscreen.

I copy .jar file to apktool folder and open the file with (7zip, winRAR) and no classes.dex file.

This is why?:confused:

I attached a screenshot and android.policy.jar file.

Thanks in advanced. Sorry for my English.;)
[Galaxy S Advance I9070 Themes and Apps] Toni5830:
you must deoedex your firmware before..

search a deodexed zip of your firmware version
[Galaxy S Advance I9070 Themes and Apps] nokiae668:
I have a stock firmware version (Hungarian Tmobile firmware) with root.

I download a stock fw and deodex.

Please, how to?
[Galaxy S Advance I9070 Themes and Apps] pang34:
This guide work on cm11???

send for I8190N CM11 using XDA Premium 4 mobile app
[Galaxy S Advance I9070 Themes and Apps] shut_down:
CM11 is not 4.1.2, like it is written in title. And it needs TW framework, so it is for stock based JB 4.1.2.
[Galaxy S Advance I9070 Themes and Apps] nokiae668:
Hi, I only make a toggle on lockscreen.

I added a some lines in top:

.class public

const-string v0, "ro.harsh.blurlockscreen"

invoke-static {v0, v2}, Landroid/os/SystemProperties;->getBoolean(Ljava/lang/String;Z)Z

move-result v0

if-eqz v0, :cond_2

Lcom/android/internal/policy/impl/sec/WallpaperWidget;

And added 2-3 lines a bottom.

.end method

:cond_2

invoke-direct {p0}, Lcom/android/internal/policy/impl/sec/WallpaperWidget;->setLockScreenWallpaper()V

goto :goto_0

I follow this guide.;)

This is good?
[Galaxy S Advance I9070 Themes and Apps] emmantot:
Hi, will this work on a stock rom? How about a blur pull-down menu? I'm using galaxy star stock deodexed rom
[Galaxy S Advance I9070 Themes and Apps] Sami Kabir:
Yes, it is specifically made for stock 4.1.2 firmware based ROMs only. And about blurry pull down menu, I don't know how you can get that, but I do know how to make it semi or completely transparent (screenshot). You'll have to edit tw_status_bar_expanded.xml in (SystemUI.apk/res/layout).

Look for:

android:id="@id/notification_panel" android:background="@drawable/notification_panel_bg"

Replace @drawable/notification_panel_bg with #xx000000. Now change "xx" to either 00 (for 100% transparency), 3f (for 75% transparency), 7f (for 50% transparency) or bf (for 25% transparency).

For more info, checkout this thread: http://xdaforums.com/showthread.php?t=2203166
[One (M7) Q&A, Help & Troubleshooting] skempf85:
Ok guys, brand new to forums and brand new to Androids. Bought this phone off someone for cheap, was wondering if I could fix this. Have been googling for the past 4 hours and found some info. Here is what I know about the device.

It was rooted (not sure which rom), the recovery does say unlocked and tampered. I can boot into TWRP recovery. It says no OS. I have SDK Manager and correct updates, USB driver installed, HTC Sync Manager installed. Also have Stock rom for HTC One.

I have tried to use TWRP to load a stock rom using ADB, I can not in any way get it to read the device. On the phone I go into TWRP - > Advanced - ADB Sideload -> Swiped to sideload and it says Starting ADB Sideload feature... then nothing ( I assume that's all it says), I then go into command prompt and go to the proper directory and type ADB Devices (it says List of devices attached and nothing ), I still try to load rom and it says no devices attached.

Now I am completely new to rooting of android devices, I am a little tech savvy tho. But some detailed instructions would help and be most appreciated. Basically I just need help getting PC to read the HTC One, thanks!
[One (M7) Q&A, Help & Troubleshooting] droids@m:
try this Latest HTC Drivers

if this doesn't get ur device recognized Uninstall the previously installed driver and try this
[One (M7) Q&A, Help & Troubleshooting] raghav kapur:
Buy a USB OTG cable and drag the rom of ur choice to the USB. Go to TWRP recovery nd flash the rom. I suggest Android Revolution HD 51 custom rom. Based on Sense 5.5 nd KitKat with loads of tweaks.
[One (M7) Q&A, Help & Troubleshooting] skempf85:
Hey ok, so the USB OTG micro usb right? Would I use a flash drive I'm guessing??
[Motorola Atrix HD] CarbonROM:
Reserved
[Motorola Atrix HD] CarbonROM:
Also Reserved
[Motorola Atrix HD] orangzeb:
Locksreen > see through option unchecked but I can still see the wallpaper through lockscreen ?

p.s no missed call auto responder seems to be working ?
[Motorola Atrix HD] arrrghhh:
Did you dirty flash?

I noticed the same issue with lockscreen, option was unchecked but it was enabled. I went into the settings for it, enabled/disable and it works as expected... try that.

As for missed call auto responder, I'm not sure what that is...
[Motorola Atrix HD] mauchito:
This ROM is great, I'm on 01/31 nightly and is working great. Thanks!
[Motorola Atrix HD] clockcycle:
Gimmie a break, gimmie break, break me off a piece of that kitkat bar!

Good to see it's own thread. The jb one was getting confusing.

I'm currently on 2/3 nightly with aaarghhh's 1/31 cm11 kernel. So far so good.

KK launcher seems to use more battery than the other one included. Is the "ok google" listening enabled the reason? Im guessing having pocket mode on activates the sensor too..
[Motorola Atrix HD] mmapcpro:
Which version of Arrrghhh's should I use? CM11 or AOSP?
[Motorola Atrix HD] arrrghhh:
I assume you mean my kernel, and CM...

Confusing, I spose I should remove the AOSP kernel :p It's only for pure vanilla AOSP. Most custom ROM's will use the CM kernel.
[Motorola Atrix HD] skeevydude:
Nah, but something in Carbon's OP could mention "Use the custom CM-11 kernels, not the AOSP ones". Then we'll be able to laugh at people for not reading.

/Nooooooooooo. They're all gonna laugh at you

//But Mom....

/Nooooooooooo

///Anyone else have that CD back in the early 90's?

/Tell your friend Veronica, it's time for Hanukkah

/Drink some Gin and Tonica, and smoke some marijunikkah
[Motorola Atrix HD] cbcomputing:
Hey goat! One of my favorite albums! He certainly doesn't make it like he used to.

Btw... Carbon rocks! I've used both nightlys with Arrrghhh's kernel and am very impressed.
[Motorola Atrix HD] KrisM22:
Nice ROM!

It blanked my voicemail which I was able to get from ATT and type in so voicemail works.

However I notice in about/status that for my phone number it says "unknown".

I think my phone has to be re-provisioned but on phone to ATT and so far they don't know anything about it.(EDIT: I hung up and will ignore it - see following posts)

EDIT phone IS able to receive calls to my number. Is this going to happen every time I flash carbon?(EDIT yes. no prob.)
[Motorola Atrix HD] mmapcpro:
I can't find "Developer Options" for debugging, in the settings menu. And the Device Tunables is blank.
[Motorola Atrix HD] skeevydude:
Probably every time you flash a rom that's CM10.2 or 4.3+.
[Motorola Atrix HD] arrrghhh:
There is no device tunables for this device.

Developer Options is just like CM buddy.... click build # several times (7?).
[Motorola Atrix HD] KrisM22:
click "build number" 4 times

EDIT - sorry - DUPE - blush
[Motorola Atrix HD] skeevydude:
Go to About Phone and tap Build Number 7 times. That enables Developer Options.

I don't think we have any Device Tunables. Checking the sources and/or Arrrghhh can confirm that.

EDIT:

Well, damn, three posts in under a minute. Doesn't get much better than that.
[Motorola Atrix HD] KrisM22:
so do they have to re-provision it?
[Motorola Atrix HD] arrrghhh:
lol. Seems this forum is now more active :)
[Motorola Atrix HD] skeevydude:
I dunno, that hasn't worked in a while and I'm not sure if anybody is even working on that. Everything works as it should -- those fields are more visual/for reference than anything.

---------- Post added at 12:28 PM ---------- Previous post was at 12:28 PM ----------

Because this is the best rom as of late.
[Motorola Atrix HD] spy_1134:
It's been a long time since I've had to flash stock. :P

Here is the output of those two commands from AT&T stock 4.1.1:
[Motorola Atrix HD] chococomaxim:
I haven't been on this thread/been up-to-date with the ROM in a while, can you still do a dirty flash like previous versions (4.3) or do I have to do a clean one. A lot of people are saying "did you do a clean flash?" as a response to issues so I just wanted to know what I should do.
[Motorola Atrix HD] Silentwidow:
I clean flashed the first one that came out 4.4, then I've dirty flashed the updates, I haven't seen any issues for me doing this. Usually developers only assist people that have clean flashed though.
[Motorola Atrix HD] LPMatt:
I dirty-flashed the first unified build with no issues. Couldn't get subsequent nightlies to boot, so had to do a full wipe and clean install. A good basic rule of thumb is that you can usually dirty - flash an update for the same ROM, but go clean to flash from a different ROM or if there are significant changes in an update. Also, if you're skipping several builds, it's a good idea to wipe and do a clean install.

Sent From Here
[Motorola Atrix HD] arrrghhh:
Hey thanks!!

Can you do me another favor...? Sorry, but we need more info :)

su
cat /proc/cpuinfo

Thanks again!

Yea this is correct. I dirty flashed from individual to unified... although I never recommend dirty flashing, it does work typically. If you run into weird issues, try a clean flash before reporting them (and state you have done so).

I usually take a backup, and go back to my 'dirty' setup, because I'm lazy ;)
[Motorola Atrix HD] clockcycle:
Just as ref my variant shows model and DPI correctly
[Motorola Atrix HD] arrrghhh:
Yep, if there's some variants that didn't get vetted in the thread I posted previously, they won't work correctly for any unified ROM.

Trying to ferret out the differences - already I'm noticing an issue in how init determines the model.
[Motorola Atrix HD] DKRussell:
so is this sweet looking ROM running on MB886/Atrix HD? I seriously want to flash it, just didn't have any luck for the one specifically for this model so wondering if the unified is booting up... btw absolute BEAUTIFUL work, guys
[Motorola Atrix HD] arrrghhh:
Is the unified CM build working for you?

If not, you need to help out! See below.

Need some infor for CM11 development on Atrix HD

To answer your question - it seems to run great for some, but others it doesn't set the model/DPI/some other things correctly.
[Motorola Atrix HD] DKRussell:
I haven't tried any of the CM builds since 10.1 softbricked my phone... that was months ago and it was a JB ROM, so I honestly have no idea... should I install safestrap and try it in a ROM slot instead of the usual?
[Motorola Atrix HD] arrrghhh:
No, SafeStrap will not work. You need a proper recovery, CWM, TWRP, etc.
[Motorola Atrix HD] DKRussell:
currently running cwm touch 6044... just got this thing up and running again after a massive nightmare, so just nervous about flashing to another softbrick lol

backing up current bone stock att 4.1.1 and will try today's nightly along with gapps package... will let you know...

btw where can I find a stable and fast kernel for this beast?
[Motorola Atrix HD] arrrghhh:
There's no 'stable' of kk yet.

Only kernel I know is mine... Use the CM kernel in post #5 for Carbon.

http://xdaforums.com/showthread.php?t=1893050
[Motorola Atrix HD] DKRussell:
and 2 more almost noob questions; is there any way to link the external SD so I can move apps there? and where can I find the carbon app? it's not on the play store

---------- Post added at 03:24 PM ---------- Previous post was at 03:11 PM ----------

OMG this ROM is GORGEOUS... no problems yet... installing TBack to reinstall my apps, rebooting and installing the kernel and we shall see... so far most definitely worth all the headaches I've had
[Motorola Atrix HD] Jce9182:
Im still having system ui FCs when i try to flash any unified build. I'm not doing a full wipe, just install, wipe dalvik and cache and reboot. Should I try a full wipe?
[Motorola Atrix HD] bmatney:
Always try a full wipe if something's not working.
[Motorola Atrix HD] Jce9182:
Will do. Just lazy and dont feel like setting everything up. Has anyone else experienced this repeated systemui FC?
[Motorola Atrix HD] orangzeb:
Nops
[Motorola Atrix HD] clockcycle:
Nope. Daily driver material.
[Motorola Atrix HD] DKRussell:
most definitely my daily driver... especially with aaaaaaaaaaaaaaaaaaaaaaaaaaargh's incredible kernel... love the built in version of SetCPU btw... this ROM is pretty much all that I could ask for... though I'm sure these guys will continue to blow my mind with every build... phenomenal work, guys... I've been doing this since the original D1 days and this is BY FAR the best work I've seen:good: