yashsingh1/xdaforums huggingface dataset:
[Droid RAZR M Android Development] DiamondJohn:
I am running the nightly from 31/05. I have noticed that when I unlock my phone, the unlock sound is played at full volume, but when I check the actual sound volumes, they are all down at their lowest. annoyingly, as with every good bug, it does not happen every time.

I have also noticed, and not for every file, some of my MP3's do not play smoothly. They "jitter" and jump. I have yet to work out the pattern; its not regarding a high bit-rate, and I haven't check the encoding (ie if its variable bit rates etc). It appears to affect about 1 in 20 files. I also get the same behavior independently of the player used. I have tried through apollo and the audio player in ES File manager and both exhibit the same issue. I do have Viper installed, so it may be a possible cause. I have an SD card issue, so re flashing a base ROM then restoring my current setup is an issue, sorry.
[Droid RAZR M Android Development] arrrghhh:
Why can't you use the internal SD for reflashing...?

I've never used viper, so it's quite likely that is the issue.
[Droid RAZR M Android Development] DiamondJohn:
Re-flashing is not so much the issue, but a restore of any backups don't go so well, and I am guessing its because of a cross over between what gets restored and from where it is happening from (ie maybe unmounting the backups source directory or something). I am using phils touch, and an error occurs during a restore from the internal mem.

As soon as I get my SD card sorted I will do some testing with backups/restores instead of re-flashing, which involves a lot more post config time.

Twice I have "broken" my 64GB SD card while setting up the partitioning. I think the Sandisk ultra card has an issue or "Mini Partition Wizard Home" has an issue when you define the partitions in reverse order to their physical placement on the card. But it has a 10 year warranty, so its back to the manufacturer. And next time I will be using GParted and be more careful in defining the partitions in a more logical order. Here's hoping that fixes it (or doesn't break the next) :fingers-crossed:
[Droid RAZR M Android Development] arrrghhh:
Not sure why you would partition a SD card...

But for your error, perhaps try OpenRecovery or TWRP - although the newest versions of TWRP seem to have issues I haven't been able to troubleshoot yet. I'm on 2.6.3.1 and it works well.
[Droid RAZR M Android Development] DiamondJohn:
In apns-conf.xml I change the following line from:

To

from: http://support.vodafone.com.au/articles/FAQ/APN-Settings

This setting provides 4G/LTE connection to the Australian Vodafone network, while the existing one only provides 3G at max.

Options. On my 64GB, I create a 320MB swap partition at the end as an option to use or ignore. In addition to partitioning the rest of the card as EXT4; ie the first partition, as opposed to the default exFAT that the card comes pre-formatted as. Previously on my Sony Xperia Ray I had 4 partitions to make up for the weaknesses of that phone. An 8GB FAT32, 2GB internal memory /DATA substitution and the rest as an EXT4 data repository for music, pictures and vids as well as boot scripts; less a 320MB swap partition at the end. EXT4 provides Journaling (read as data integrity) as well as an instantaneous mount on boot when compared to exFAT.

I had never heard of OpenRecovery before, but for now, I am giving Philz recovery a run. Initially tried TWRP and it had some issues, and if Philz works fine for backup and restore, I think I will stick with it, as I previously used plain old CWM (with Aroma file) so am comfortable with the options as presented.
[Droid RAZR M Android Development] arrrghhh:
You need to help the CM folks with device unification. They've been adding A TON of one-off stuff like this to make sure every device works well under the new unified title.

If you help out the CM folks, the fixes will trickle down to other ROM's like this one ;). I've sent a few (basic) patches to CM for this very reason - no point in sending it to just Carbon, when all ROM's benefit when you send the patch to CM.

Journaled file systems are not really designed for SD cards... but ok, whatever floats your boat.

My fault, I keep forgetting I'm typically never in my own section :p.

I think OR is only for Photon Q. Apologies.
[Droid RAZR M Android Development] DiamondJohn:
OK. Done. I thought of this, but the OP said it was sourced from AOSP so I thought CM would of been in the same boat. Done.

Consider my boat floated. I don't know of any other file system that allows immediate access on mount.

No probs. done the same myself more than once.
[Droid RAZR M Android Development] 03civicdx:
Just flashed this and lost root. I can't use the utility to re root because I cant get usb debugging on. Anyone know how I can get root back?
[Droid RAZR M Android Development] romma1:
If you are unlocked, you should be able to re-root right in recovery with supersu.
[Droid RAZR M Android Development] 03civicdx:
I'm unlocked how do I do that?
[Droid RAZR M Android Development] arrrghhh:
What do you mean you lost root?

If you use TWRP, it will automatically offer root for you upon hitting 'Reboot System' in TWRP.

Otherwise you can flash SuperSU in recovery... but that's odd, I have never lost root from flashing Carbon.
[Droid RAZR M Android Development] 03civicdx:
I mean I lost root. My phone is no longer rooted. I use CWM recovery. What SuperSU file do I flash? The super user apk?
[Droid RAZR M Android Development] romma1:
Supersu is downloadable in the android market.
[Droid RAZR M Android Development] forddim:
SuperSU
[Droid RAZR M Android Development] St.Noigel:
deleted.
[Droid RAZR M Android Development] romma1:
Try this is you are having issues still: http://www.drdevs.co...feroot-moto.zip
[Droid RAZR M Android Development] Abstractionist:
I have random reboots with 9/06 build. And phone reboots itself like when i hold down power+vol up/down keys. Already had 5, during last day.
[Droid RAZR M Android Development] dman9691:
update to 4.4.3

hey guys stuck in splash screen here.

I dirty flashed my june 4th 4.4.2 build to the june 11th 4.4.3 build with the new gapps.

Now im stuck on splash screen, any advice or do I just need to do a clean install to update to 4.4.3

would prefer not to so I don't have to deal with resetting everything.

thanks
[Droid RAZR M Android Development] arrrghhh:
If you're stuck on a splash screen, I'm not sure what choice you have but to clean flash...

Well, unless of course you have a recent backup to restore. Either way, depending on your setup you may need to clean flash 4.4.3.
[Droid RAZR M Android Development] dman9691:
yeah i had to restore a backup. but for future knowledge. Is it necessary to clean install when going from 4.4.2 to 4.4.3 or is dirty flashing possible?
[Droid RAZR M Android Development] arrrghhh:
Probably not possible. Too many changes... I think you proved it haha.
[Droid RAZR M Android Development] romma1:
For me, I no longer dirty flashing. I have seen the error of my crack flashing ways, and have repented. Essentially, i want the best performance possible out of a rom, so I don't leave anything to chance. But that is me.
[Droid RAZR M Android Development] kalani91:
I can't wait to get my mom on a great rom like this.. She's been on stock for a year! I feel like a bad son for letting her use stock for that long.
[Droid RAZR M Android Development] hackeruti:
0613 nightly is broken...saying install failed. 0612 nightly is flawless so far! Dimming issue seems to be gone!
[Droid RAZR M Android Development] arrrghhh:
I just successfully adb sideloaded 6/13.

Bad download?
[Droid RAZR M Android Development] hackeruti:
Weird.. I downloaded it twice to my phone and both said failed. No big deal really, I like 0612 anyway :) Keep up the great work! :good:
[Droid RAZR M Android Development] arrrghhh:
Well if you continue to have the issue, try to download to your PC and install that way...

Good luck.
[Droid RAZR M Android Development] DiamondJohn:
I did a dirty flash from the last 4.2.2 rom to the nightly 4.2.3 rom of the 13th of June with cleaning dalvik cache and cache, and its surprisingly working fine thus far. The screen dimming issue is still there for me, and so is the skipping on playback of some Audio.

One weird thing that I have seen twice is that not long after boot, the flash-light came on for a second and then turned itself off, and once when I tried to reboot it took > 3min before I lost patience and forced the reboot by holding down the power button.

Another thing that has been the case with all carbon roms thus far, is that during the flash, the text "splash" screen that prints out the carbon "C" logo, is too wide to fit on the screen and has wrapping, which messes it up a bit. No problems, so it doesn't bother me.

I tried to duplicate the look of it on my screen from memory, but realised I was remembering it wrong, so gave up.

I am using Philz recovery, on an XT905, with no other issues to speak of.
[Droid RAZR M Android Development] Abstractionist:
Using 13/6 build. And i can't change CPU speed. It always switch to 1,5 ghz. Tryed many cpu control programms with no luck. Even built-in perfomance control can't change CPU scale. It always stuck on 1.5 ghz. I'm talking about MAX value, with MIN, everything ok. Tryed arrrghhh kernel, also no chance to change MAX value.
[Droid RAZR M Android Development] Abstractionist:
Another bug in 13/6 version. I can't record video from screen. Not with built-in app, not with any other. In first case there is no any activity, when i'm press record.
[Droid RAZR M Android Development] DiamondJohn:
I'm using arrrghhh kernel, and I have no problems with the CPU sticking with the highest and lowest values I set. To state the obvious, you have checked the "apply values on every boot", haven't you.

I have realised that it is a delayed reaction to holding the unlock slider too long. I turned off the option, and havent seen it since. The thing that confused me was that there was a delay from when I was actually in my lock screen.
[Droid RAZR M Android Development] Abstractionist:
Oh, really? I told that i cant change max cpu frequense. How can i set them to apply on boot, when the slider jumps back to damned 1,5 ghz? Try 13/6 build first.
[Droid RAZR M Android Development] DiamondJohn:
I am running 20140613 build with arrrghhh kernel, and no issues regarding setting the CPU max frequency.

As a random thought, check the permissions on the file /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq If I take away all write permissions, when I back out and then go back into the form, any change I made is lost. Mine has read for all, and write for owner & group, and is owned by system and the group is system.
[Droid RAZR M Android Development] nxion:
So I downloaded the latest nightly and flashed my phone but im in a boot loop and it never loads. Should I go back a few versions?
[Droid RAZR M Android Development] arrrghhh:
Clean flash?
[Droid RAZR M Android Development] nxion:
Tried three times. Same result.
[Droid RAZR M Android Development] St.Noigel:
Clean flash means:

1. Mount system

2. Wipe everything (data, system, cache, dalvik) 3 times

3. Flash ROM

Did you do it?

P.S. What recovery did you use?
[Droid RAZR M Android Development] nxion:
The above is what I did three times and it wont boot. I am using TWRP 2.7.0.1.
[Droid RAZR M Android Development] St.Noigel:
May be you use TWRP 2.7.1.0?

You can try to use TWRP 2.7.0.0. by Dhacker. You can find it here
[Droid RAZR M Android Development] nxion:
The one I am using is from Dhacker, It is the one labled TWRP-2710-RAZR_M-KITKAT.img from that same site you linked,
[Galaxy S Advance I9070 Themes and Apps] BOOTMGR:
Lockscreen Blur Effect

EDIT : Updated guide with Native function. Now it is ~60% faster

​

I wanna share this mod with you which i made for my HarshJelly ROM. Before starting guide let's see what it does. Actually idea came from GravityBox Module.

What it does : It'll simply blur the background activity which you left before locking device (something like iOS 7's notification bar). Here are some caps to make it more clear.

Yeah this mod is compatible with all Lockscreens (AOSP, Sammy's circle lockscreen, pattern etc). I tested this mod on my SGSA running stock TW 4.1.2. Since all TW roms are almost same, it should work on all TW 4.1.2 ROMs.

Before starting tutorial, let me clear one thing that i won't respond to posts without

full

log. If you found any difficulty, feel free to ask me but please keep in mind above sentence.

What is required?

android.policy.jar

Apktool

Notepad++

So, let's begin...

What we're doing here?

Basically we are taking screenshot when device is getting locked and then we apply blur effect and sets it as wallpaper.

I know there are many way's to do it but i've preferred hacking WallpaperWidget's constructor. You can go for another way if you want.

Another thing to tell is that it depend on you device that how much time it'll require to do this process. On my device it nearly take 2 seconds (it depends on background). Multithreading can also be used. Read second post for more info and other tweaks., By default we're using Multi threading :P
[Galaxy S Advance I9070 Themes and Apps] BOOTMGR:
Tips, Tricks & FAQs

As this tutorial is written for 4.1.2 (API 16), we don't have native image processing support (which came in API 17).This is the reason why it takes long time to blur image. As told above, i' trying to implement native method for blurring image anybody interested in it can help me.
[Galaxy S Advance I9070 Themes and Apps] arneldna:
GReat Work!!!!!!

Amazing Job, Harsh as usual you surprise us every time....Man keep it UP!!

Thankz a Ton..!:good::good::good::good::good::good::good:
[Galaxy S Advance I9070 Themes and Apps] mjz2cool:
when i use this, can i still use normal wallpapers if i want? or does that need a toggle or something like that?
[Galaxy S Advance I9070 Themes and Apps] Sami Kabir:
+1

[MENTION=2805784]BOOTMGR[/MENTION], Please make a short tutorial (if possible) for setting up a Toggle to switch it on or off from the Settings app :good:
[Galaxy S Advance I9070 Themes and Apps] BOOTMGR:
Updated thread with new implementation. Now we are using Native function to blur image which is ~60% faster than previous implementation. Follow tutorial again if you've already done so.

Adding toggle in secsetting is easy but only reason behind not providing it is that some people would have enabled AOSP lockscreen in that case method will be slightly different. But you can follow this tutorial to add toggle for it using build.prop

How to add Toggle

:
[Galaxy S Advance I9070 Themes and Apps] #Henkate:
off topic: You keep doing stock jb more and more better :D
[Galaxy S Advance I9070 Themes and Apps] rajeev994:
I'm Sorry But i'm Naive I cannot Follow this tutorial Can you Make a Flashable zip Plz Plz Plz Plz Plzzzzzzzzzzzzzzzzzzzzz
[Galaxy S Advance I9070 Themes and Apps] shut_down:
He did on his ROM.
[Galaxy S Advance I9070 Themes and Apps] rajeev994:
No he did not I'm using his harshjelly

Even if he did can you tell me how to do that
[Galaxy S Advance I9070 Themes and Apps] shut_down:
It is written here step by step what to do.

If it is not, then I am sure he will add it to next release.
[Galaxy S Advance I9070 Themes and Apps] Geddd:
Upgrading Android OS...

Opening apllications...

I'm getting this again and again after I reboot my device, I think the files aren't compatible with my 4.1.2 TW deodexed.. :(

but this mod looks so cool, I want this :)
[Galaxy S Advance I9070 Themes and Apps] Sh0m1:
http://www.xda-developers.com/android/blur-the-lock-screen-on-your-samsung-galaxy-s-advance/

You got to the portal :D
[Galaxy S Advance I9070 Themes and Apps] JovieBrett:
Seems interesting, great work! :) btw is this tut possible for CM11 roms? I would like to try compiling this on our CM11 builds :)
[Galaxy S Advance I9070 Themes and Apps] francop311:
Is there anyway to make this into an xposed module?
[Galaxy S Advance I9070 Themes and Apps] BOOTMGR:
It should be. Check again that & make sure you did everything properly. Did you pushed libharsh.so to /system/lib and changed its permission?

You can do it easily by Xposed. Gravitybox doesnot suppot this on 4.1.2 because of unavailable API

Making this available through xposed is very easy. I make module later when i'll be free.
[Galaxy S Advance I9070 Themes and Apps] EnerJon:
Awesoem!!! Looks Cool!
[Galaxy S Advance I9070 Themes and Apps] Sami Kabir:
[MENTION=2805784]BOOTMGR[/MENTION], I too have the same problem! I carefully followed all your instructions to modify my android.policy.jar and after putting all the files in their respective places and setting the correct permissions, it did not work! :(

Just like the previous user, after the Android is upgrading message, my phone goes into bootloop..

Sorry I cannot attach a logcat now but I attached the edited WallpaperWidget.smali and WallpaperWidget$1.smali from my android.policy.jar file below, please take a look at it... I need your help asap :)

PS: I had to edit some of your codes; like for example, I changed "com.sec.android.gallery3d" to "com.google.android.gallery3d" - because my ROM's default Gallery app is the one from Google.. not Samsung's one.. But still this shouldn't have caused this issue
[Galaxy S Advance I9070 Themes and Apps] Sami Kabir:
Okay.. thanks.. I'll try it again and let you know if I succeeded or not :)

Sent from my GT-I9070
[Galaxy S Advance I9070 Themes and Apps] Bazdal:
i'm trying to get this working on a i9100 with 4.1.2 deodexed .

if i understand correctly i need to change all location strings for gallery apk (mine is preload/symlink/system/app/secgallery2 ) is that right?

anymore strings i need to change u aware of?
[Galaxy S Advance I9070 Themes and Apps] danieleds:
wow man this is awesome!
[Galaxy S Advance I9070 Themes and Apps] BOOTMGR:
No, you don't need to change any string because we need only that string which shows location of image which is set on lockscreen which is /data/data/com.sec.android.gallery3d/lockscreen_wallpaper.jpg.

You can ensure that path by checking for lockscreen_wallpaper_path entry in System setting storage's settings.db
[Galaxy S Advance I9070 Themes and Apps] Sami Kabir:
But will it still work if I replace "sec" with "google" in the path? Because I don't use Samsung's Gallery app in my phone..

Sent from my GT-I9070
[Galaxy S Advance I9070 Themes and Apps] anantttt:
Go to /data/data/com.android.providers.settings/databases and open settings.db.

Navigate to system and look for lock screen wallpaper path.

You need to enter that path.

If you are not using samsung gallery, then attach your gallery here.
[Galaxy S Advance I9070 Themes and Apps] Geddd:
logcat

Here's the output of my log...
[Galaxy S Advance I9070 Themes and Apps] Bazdal:
aiight imma go check it,thx!
[Galaxy S Advance I9070 Themes and Apps] BOOTMGR:
Got it...

Your ROM has some parts of dual sim configuration so constructor is a bit different...

java.lang.NoSuchMethodError: com.android.internal.policy.impl.sec.WallpaperWidget.<init>

Just replace

.method public constructor <init>(Landroid/content/Context;Landroid/content/res/Configuration;)V

with

.method public constructor <init>(Landroid/content/Context;Landroid/content/res/Configuration;I)V

after changing method as mentioned in OP.

Also replace

.method static constructor <clinit>()V
.registers 3

.prologue
.line 38
const/4 v0, 0x2

new-array v0, v0, [Ljava/lang/String;

const/4 v1, 0x0

const-string v2, "lockscreen_wallpaper_path"

aput-object v2, v0, v1

const/4 v1, 0x1

const-string v2, "lockscreen_wallpaper_path_2"

aput-object v2, v0, v1

sput-object v0, Lcom/android/internal/policy/impl/sec/WallpaperWidget;->PORTRAIT_WALLPAPER_IMAGE_PATH_DATABASE:[Ljava/lang/String;

return-void
.end method

with

.method static constructor <clinit>()V
.registers 3

.prologue
.line 38
const-string v0, "harsh"

invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V

.line 30
const/4 v0, 0x1

sput-boolean v0, Lcom/android/internal/policy/impl/sec/WallpaperWidget;->mutex_acquired:Z

const/4 v0, 0x2

new-array v0, v0, [Ljava/lang/String;

const/4 v1, 0x0

const-string v2, "lockscreen_wallpaper_path"

aput-object v2, v0, v1

const/4 v1, 0x1

const-string v2, "lockscreen_wallpaper_path_2"

aput-object v2, v0, v1

sput-object v0, Lcom/android/internal/policy/impl/sec/WallpaperWidget;->PORTRAIT_WALLPAPER_IMAGE_PATH_DATABASE:[Ljava/lang/String;

return-void
.end method

if .method static constructor <clinit>()V is already present in your WallpaperWidget...

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

For those who are getting bootloops, make sure that /data/data/com.sec.android.gallery3d/lockscreen_wallpaper.png file exists before rebooting. If it doesn't then put any random png with that name there and chmod it to 777.
[Galaxy S Advance I9070 Themes and Apps] LifeAsADroid:
First, nice work!

Second, I'm having issues getting my android.policy.jar file to decompile. The Apktool is telling me I don't have a classes.dex file... any ideas, or should I look to the threads for Apktool for specific help?

Thanks!
[Galaxy S Advance I9070 Themes and Apps] Sami Kabir:
Is this applicable even for the ones who don't use Samsung's gallery app?

Is your android.policy.jar deodexed?

Sent from my GT-I9070
[Galaxy S Advance I9070 Themes and Apps] Vivek_Neel:
Am getting a black screen

Log

http://www.mediafire.com/view/?6odjltcd9st3gwd
[Galaxy S Advance I9070 Themes and Apps] LifeAsADroid:
Ah, so it is not, since I am on a stock 4.1.2 ROM...

From what I've gathered via the interwebs, in order to do this blur screen mod I need to:

(1-prime. Make a nandroid backup with TWRP...)

1. Copy / transfer /framework folder to my computer

2. Deodex my android.policy.jar file

3. Decompile the deodexed file

4. Make the changes necessary from this thread

5. Recompile the file post-changes

6. Re-odex the file

7. Overwrite / transfer the /framework folder back to my phone

Did I miss anything? I was hoping for an easier process, but this blurred out screen thing is pretty eff-ing sweet and will also give me a chance to learn a little more than just "flash this file to your phone".
[Galaxy S Advance I9070 Themes and Apps] BOOTMGR:
Are /data/data/com.sec.android.gallery3d/lockscreen_wallpaper.jpg & /data/data/com.sec.android.gallery3d/lockscreen_wallpaper.png rendered after turning screen off?

lockscreen_wallpaper.png should be normal image while lockscreen_wall...jpg should be blurred image

Yeah you need to deodex whole framework > decompile > modify smali > recompile > odex back if you wish.
[Galaxy S Advance I9070 Themes and Apps] Vivek_Neel:
Thanks for your reply.

I have only .png

No .jpg

Do u have any blurred image mate?

Am on mobile. .can't use gimp to create one:D

Edit:

Its working. .
[Galaxy S Advance I9070 Themes and Apps] Vivek_Neel:
If anybody needs

lockscreen_wallpaper.jpg

lockscreen_wallpaper.png

They can download them from HERE and HERE

I made them transparent and it works like a charm

Full credits goes to [MENTION=2805784]BOOTMGR[/MENTION]
[Galaxy S Advance I9070 Themes and Apps] Sami Kabir:
This was my third attempt for setting this up in my phone and as expected it did not work... As I told before that I don't use Samsung's Gallery app, all I did was change the path of the lockscreen image.. which is "/data/data/com.sec.android.app.wallpaperchooser/files/lockscreen_Wallpaper.jpg" for me.. so I used that... I've attached my both log file and my android.policy.jar below...