[FIX] Low Mic Call V1_Final [ALL ROMS] - ONE Android Development

This modification definitely fix the low mic issue on call without affect anyone else.
Simply extract the rar file and put LowMicFix.zip and LowMicFix.prop files on your phone. Reboot your phone into custom recovery mode (TWRP, CWM) and flash LowMicFix.zip.
This solution work now on All ROM !
For more confort if you are on Rom with CyanDelta installed, put LowMicFix.zip and LowMicFix.prop in the Cyandelta folder and in the app option add LowMicFix.zip to " Install additional zip after ROM ".
Change applied in build.prop by the fix V1_Final
BEFORE FIX
ro.qc.sdk.audio.fluencetype=fluence
persist.audio.fluence.voicecall=true
AFTER FIX
ro.qc.sdk.audio.fluencetype=fluence
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.speaker=false
Click to expand...
Click to collapse
[UPDATE V1_Final (All Rom)]
- Fluence Noise reduction works for all android Rom version ( KK - Lollipop )
- " Ok google " hard voice detection fixed
- I need your back if all is Ok or Not !
[UPDATE LOLLIPOP ROM] OUTDATED
- Fluence Noise reduction is back and functional for all Call Mode !
[UPDATE V0.2] OUTDATED
- Reactivate voice clarity
- Reactivate 2 mic and fluence for speaker Mode ( now people may not hear themselves )
[UPDATE V0.1] OUTDATED
- Works on ALL ROM for One Plus One.
- For prevent BootLoop if one or more lines on the fix exist in original build.prop, the script remove it before install the fix.
OPO - LowMicFix_V1_Final_tazzkiller is the best for all Rom, install or update to it !!​
thank to klenamenis for his "tweakprop" tools.

has anyone tried this?
tazzkiller said:
After few day on test, this modification definitely fix the low mic issue on call without affect anyone else. The solution comes from the same problem encountered on the LG G2 and fixed by LG in its stock Rom. I create a recovery zip for apply it.
Simply extract the rar file and put LowMicFix.zip and LowMicFix.prop files on your phone. Reboot your phone into recovery mode (TWRP, CWM) and flash LowMicFix.zip.
This zip change and add the necessary lines to fix it in the build.prop file. this solution work on all rom based on CM11 or CM12.
thank to klenamenis for his " Dynamic automated build.prop editing ".
Click to expand...
Click to collapse
has anyone confirmed that this works as stated?
Please and thanks in advance.

sanjsrik said:
has anyone confirmed that this works as stated?
Please and thanks in advance.
Click to expand...
Click to collapse
dont take this the wrong way but you can test it out and let the community know. I mean its just addition to your build.prop as I read it and it wont blow your phone up
Also he has 3 thanks and I would assume thats there for a reason

Never unheard of to ask for second opinions, don't you think?
playya said:
dont take this the wrong way but you can test it out and let the community know. I mean its just addition to your build.prop as I read it and it wont blow your phone up
Also he has 3 thanks and I would assume thats there for a reason
Click to expand...
Click to collapse
1. I'm sure this is harmless, yet, asking for backup isn't unheard of here. I'd rather ask before trying to see if this has been vetted by others. Not clubbing baby seals by asking.
2. People click "thank you" all the time. Look I even clicked it for you.

Don't worries, the zip create a backup of your build.prop before change and add new line on it. But you are right, 200 download and nothing people say it's good or not ! But i think, no news.... Good news !

Good Morning. I could not even test the impact , but the OPO remains functional in any case. The changes in the build.prop set the OPO not in the bootloop .

Does this patch fix the 2G issue that the voice is scrambled in calls when using the internal mic?

Will this mod affect this "true stereo mod"?
http://forum.xda-developers.com/oneplus-one/development/mod-oneplus-one-stereo-mod-t2967925/
I'm on cm11 with ak kernel

remix96 said:
Will this mod affect this "true stereo mod"?
http://forum.xda-developers.com/oneplus-one/development/mod-oneplus-one-stereo-mod-t2967925/
I'm on cm11 with ak kernel
Click to expand...
Click to collapse
No my fix doesn't touch any xml config file of android, only edit your build.prop for specific configuration of the hardware mic material.

Added to OnePlus One index thread:
[INDEX] OnePlus One Resources Compilation Roll-Up
Transmitted via Bacon

Updated to V0.1 ( see first post for details )

sanjsrik said:
1. I'm sure this is harmless, yet, asking for backup isn't unheard of here. I'd rather ask before trying to see if this has been vetted by others. Not clubbing baby seals by asking.
2. People click "thank you" all the time. Look I even clicked it for you.
Click to expand...
Click to collapse
I get it but I mean research the zip and see what it's doing then try it. We flash roms to our phones from people we do not know everyday. Oh well I hope you tried it and it helped you out. No seals were harmed in this post.
Take it easy

This fix (the first version) did NOT work for me. I'm running on the latest nightlies of CM12 on my OPO. Is it worth trying v0.1? Also, for those worried about anything going wrong you can easily just flash the latest nightly directly or via CyanDelta and all the changes will go away.

+yamsta have you see in the build.prop if new lines are here ?

Wouldn't it be easier just to provide the required changes as well? I do not like flashing ZIPs without exactly knowing what is going to be changed.

_TB_TB_ said:
Wouldn't it be easier just to provide the required changes as well? I do not like flashing ZIPs without exactly knowing what is going to be changed.
Click to expand...
Click to collapse
If you want to know exactly. Open that updater.script then read and know.
Sent from my A0001 using Tapatalk

_TB_TB_ said:
Wouldn't it be easier just to provide the required changes as well? I do not like flashing ZIPs without exactly knowing what is going to be changed.
Click to expand...
Click to collapse
for more reliability, it's easier for the user to flash a zip than manually edit a file and less dangerous.
For more simplicity, add the zip to Cyandelta additional zip automated the process after all new nightly
gnan10 said:
If you want to know exactly. Open that updater.script then read and know.
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
Simply open LowMicFix.prop the process are stored here

tazzkiller said:
for more reliability, it's easier for the user to flash a zip than manually edit a file and less dangerous.
Click to expand...
Click to collapse
Maybe so, but for more clarity, it's always better for someone who puts up a fix to state exactly what the fix is doing, so users can evaluate whether they want to try it or not. Please list out the changes that your patch makes, and how it tries to fix the issue. Thanks.

Updated to V0.2 ( see first post for details )

Updated for all lollipop rom ( see first post for details )

Related

[ROM, CM9] ICS port PDroid ready build SGS II

Hey guys,
this is a port of PDroid v1.32 based on pastime1971 patch. All credits goes to CM9 Team, Svyat and also pastime1971 for his port, because I had no time to do it on my own.
I modified source code to get full working for ICS without any issues. Features:
No java.lang.IllegalMonitorStateException
No android.database.sqlite.SQLiteMisuseException
No FC's of PDroid
No java.util.ConcurrentModificationException
No *** FATAL EXCEPTION IN SYSTEM PROCESS
No NullPointerException
No random SOFTREBOOTS anymore!
I want to share it because privacy for android is needed and very helpful, so please feel free to download and leave comment if it works for you.
Install Instructions:
Go to recovery menu
wipe cache and partition / you also can only flash this zip without a wipe, like update to new nightly
install this zip
reboot
have fun!
Download link: http://www.MegaShare.com/4382332
Just to let everyone know that this build runs perfectly.
Pdroid is a welcome addition.
Cheers to the OP.
CollegeDev said:
Hey guys,
this is a port of PDroid v1.32 based on pastime1971 patch. All credits goes to CM9 Team, Svyat and also pastime1971 for his port, because I had no time to do it on my own.
I only modified source code to get full working for ICS without any issues. Features:
No java.lang.IllegalMonitorStateException
No android.database.sqlite.SQLiteMisuseException
No FC's of PDroid
No java.util.ConcurrentModificationException
No *** FATAL EXCEPTION IN SYSTEM PROCESS
No NullPointerException
No random SOFTREBOOTS anymore!
I want to share it because privacy for android is needed and very helpful, so please feel free to download and leave comment if it works for you.
Install Instructions:
Go to recovery menu
wipe cache and partition / you also can only flash this zip without a wipe, like update to new nightly
install this zip
reboot
have fun!
Download link: http://www.MegaShare.com/4382332
Click to expand...
Click to collapse
Nice one
By any chance do you have the ability to share the patches you used to do this? Keen to see if I can merge this against CM... They might not accept it on gerrit, but it would be nice to be able to apply it on top
Perhaps a little explanation pdroid is just an app.
malavan said:
Perhaps a little explanation pdroid is just an app.
Click to expand...
Click to collapse
Nvm I did a bit of research.... It's an app that needs ROM support (I knew that)
The patches are at http://forum.xda-developers.com/showthread.php?t=1554960, with an auto patcher at http://forum.xda-developers.com/showthread.php?t=1719408 for anyone who prefers a one-click method
Just another thankful user here! This thread deserves a little more attention, especially for those looking to patch PDroid on ICS for the SGS II. I have had a hard time trying to find one, and trying to use the auto-patcher without any technical know-how. The ROM in this thread has helped me set up a beautiful CM9 ROM with a working PDroid. Thank you!
For those who are not aware, PDroid is a privacy application that allows you to control the permissions given to specific apps. In other words, with this application, it is possible to hide your Device ID.. your GPS location.. Network location.. And this is the only application that can do that. Sure, there is LBE Privacy Guard as well, but it does not cover other aspects like... say, the SIM card.. your Accounts.. Your contacts...
Even better, this application allows you to create fake values to put in, or if you're feeling a little lazy, you could even randomize the values to put in! A really handy application to have, and something cool to have as a security feature.
Does it work on AOKP roms?
pulser_g2 said:
Nvm I did a bit of research.... It's an app that needs ROM support (I knew that)
The patches are at http://forum.xda-developers.com/showthread.php?t=1554960, with an auto patcher at http://forum.xda-developers.com/showthread.php?t=1719408 for anyone who prefers a one-click method
Click to expand...
Click to collapse
This build is not the same as the patcher from pastime. I've got tons of exceptions while booting and a lot of data leaks! After using it a while I got random softreboots due to nullpointerexception in system thread. I posted in thread that the patch causes random softreebots and they said that it is normal if you revoke permissions of system apps, but that's fail (sorry)! So, I wanted to have CM9 -> build it on my own was the only way to get a working smooth CM9 with PDroid!
I wrote a testing environment on emulator and was able to reproduce the exceptions. First I hav very complex solution, but then I went the "dirty" way, but it works exactly as it should! After that i fixed it and build my own rom, so that it is able to use CM9 and PDroid.
Does it work on AOKP roms?
Click to expand...
Click to collapse
It is a ready CM9 build for galaxy S2 based on nightly from 11.07.2012, not a patch! If you installed this rom before, just update with this zip. If you want to use CM9 on your Device (SGS2), follow the install instruction in main post.
hey,
thx but can you make a fresh build for CM9 RC2 ? I think this version would reach much more users than a build for a nightly.
bonanza123 said:
hey,
thx but can you make a fresh build for CM9 RC2 ? I think this version would reach much more users than a build for a nightly.
Click to expand...
Click to collapse
Will update in next few days. For galaxys2 users hopefully with addon application for microphone and camera access.
Thank you, so the problem with the missing code for the pdroid app is solved?
Hey Collegedev,
I had a fair bit of trouble downloading from your file server. So when I finally got the whole file without failures, I extracted the core.jar, framework.jar & services.jar (as that is what is in other working patches), zipped, signed, then flashed it on cm9 builds 18, 19, 21, 22, 23. I'm no pro and I'm new to pdroid, but it all seems to be working to me.
Thank you very much.
I will share this, if you want or you might like to supply the same yourself. (I don't have a great ISP.)
(Please excuse me if I have overstepped my bounds, I'm just trying to help. :angel: )
Can I flash this on ParanoidAndroid(cm9 based)?
Wanna make sure first since I'm not sure if it'll break anything.
curodot said:
Can I flash this on ParanoidAndroid(cm9 based)?
Wanna make sure first since I'm not sure if it'll break anything.
Click to expand...
Click to collapse
I tried this, gave me boot loops. So NO is your answer. :crying:
bonanza123 said:
Thank you, so the problem with the missing code for the pdroid app is solved?
Click to expand...
Click to collapse
Yes, of course
Hey Collegedev,
I had a fair bit of trouble downloading from your file server. So when I finally got the whole file without failures, I extracted the core.jar, framework.jar & services.jar (as that is what is in other working patches), zipped, signed, then flashed it on cm9 builds 18, 19, 21, 22, 23. I'm no pro and I'm new to pdroid, but it all seems to be working to me.
Thank you very much.
I will share this, if you want or you might like to supply the same yourself. (I don't have a great ISP.)
(Please excuse me if I have overstepped my bounds, I'm just trying to help. )
Click to expand...
Click to collapse
Please be fair! That are changings by me and I will bringout an addon app, just have to make patches and then hopefully will release it. If you want it to share, do it in this thread or write me pm. Thanks
New Build and PDroidAddon is available under my new Application Thread:
ClickMe
Click to expand...
Click to collapse
HotrodHarry said:
I extracted the core.jar, framework.jar & services.jar (as that is what is in other working patches), zipped, signed, then flashed it on cm9 builds 18, 19, 21, 22, 23. I'm no pro and I'm new to pdroid, but it all seems to be working to me.
Click to expand...
Click to collapse
Confirmed to work here.
And, indeed, this is the best way to proceed.
Especially because it lets you keep upgrading to the latest CM9 nightlies.
Thank you for the trick.
And thanks to CollegeDev for providing PDroid to us.
Regards,
aldweb
Slim ICS 4.2 support
deleted

Lens Flare Lockscreen Effect is Back with 18 styles installed with Aroma 11/1/14

I just wrote this this morning and finished testing in my phone. All is working fantastic!
This mod is to bring back the Lens Flare Effect.
Here are just a few previews and the rest are viewed from the installer in the update coming soon.
AURORA
FIRESTORM
LIGHTNING
METEOR
STARGATE
SOLAR SYSTEM
I have included 11 different choices all installed via Aroma Installer from custom recovery of your choice (I used TWRP). This mod does require that your rom has "init.d" support as this does need a script called at every boot to work. AGAIN CALLS SCRIPT UPON EVERY REBOOT. The script depending on each phone should take longer than 30-45 seconds. Basically flash the mod reboot and the next time you turn on the phone the effect will be active.
DOWNLOAD FLARE_LOCKSCREENv1.1a
DOWNLOAD FLARE_LOCKSCREEN_v1
Instructions for installation -
*Make a NANDROID ALWAYS AND OFTEN when modding your system!
*ROM that supports init.d script
*download and check md5 is good
*reboot to recovery and flash the zip file
*pick the effect you want (sorry I don't have the previews for the installer set up yet)
*reboot and let the script work it's magic and by time you turn your phone back on a surprise will be waving at you.
*hit the thanks button
Changelog:
v1.1a
*added the files I forgot to put in to make this work for more people (sorry for anyone who tried the last version and failed)
v1.1
*now has preview option while in recovery
*attempt to make more compatible with variety of ROMs by adding sqlite3 to xbin. (hope this helps) needs testing, mine were successful
*now has 18 options
v1
*Initial release includes 11 choices
Any feedback? Just really want to know if this is working for people? Its hard for me to tell sometimes because I am always testing various mods! I get back as close to stock as I could remember, so I could get this to be compatible with all S5 variants. So please let me know. Remember unless your rom has init.d compatibility, this won't work!
screenshot please !!!!!
Screen shots or a video will be very helpful.
naudmick said:
screenshot please !!!!!
Click to expand...
Click to collapse
Posted previews in the first post
Masum56k said:
Screen shots or a video will be very helpful.
Click to expand...
Click to collapse
The update will include previews viewed from inside the installer
Did not work for me I'm on exsexstrolite Rom other Amora installers themes and options work this did not for me
kungzila said:
Did not work for me I'm on exsexstrolite Rom other Amora installers themes and options work this did not for me
Click to expand...
Click to collapse
Thank you for the input. I am finding that only 75% of the various roms options available are reading and executing the script properly. Some are failing because of no sqlite3 in xbin. I'm looking further into the this.
It can be manually set using a sqlite editor and changing the value for "lockscreen ripple effect=2" in the data/data/com.android.providers.settings/databases/settings.db
@stangdriver44 can you make it Mobile Odin Pro OTA/update flashable??? That way it wont trip knox and wont require custom recovery
wajiman said:
@stangdriver44 can you make it Mobile Odin Pro OTA/update flashable??? That way it wont trip knox and wont require custom recovery
Click to expand...
Click to collapse
it's not possible with the use of Aroma Installer due the fact of the User Interface during installation in recovery. If you know which option you want I can take a look at getting something for you. You will have to decide which Style as you will be updating the system with only one option.
stangdriver44 said:
it's not possible with the use of Aroma Installer due the fact of the User Interface during installation in recovery. If you know which option you want I can take a look at getting something for you. You will have to decide which Style as you will be updating the system with only one option.
Click to expand...
Click to collapse
Alendr's custom room uses aroma installer and it installs fine using mobile odin pro. Nvm I'll look and let you know which style. It's hard to choose atm
DHL from Heavenly made S5
wajiman said:
Alendr's custom room uses aroma installer and it installs fine using mobile odin pro. Nvm I'll look and let you know which style. It's hard to choose atm
DHL from Heavenly made S5
Click to expand...
Click to collapse
I wasn't aware of that. Do you have a link? I would like to check that out. Have you tried flashing this with mobile odin pro? I can't say that I've ever tried so I wouldn't know. I will probably just do that now. I'll let you know. Thanks
stangdriver44 said:
I wasn't aware of that. Do you have a link? I would like to check that out. Have you tried flashing this with mobile odin pro? I can't say that I've ever tried so I wouldn't know. I will probably just do that now. I'll let you know. Thanks
Click to expand...
Click to collapse
here is the link:
http://forum.xda-developers.com/galaxy-s5/development/rom-ane4-kitkat-4-4-2-multi-csc-t2813628
its under installation> point no.2
and yes i have flashed his custom rom without tripping knox
Is it possible to flash this on note 3 running ported stock rom s5
¥Sagittarius¥
Urban pendu said:
Is it possible to flash this on note 3 running ported stock rom s5
¥Sagittarius¥
Click to expand...
Click to collapse
I'm not sure since I don't own that device. This was a post mentioning note 3
http://forum.xda-developers.com/showpost.php?p=56193488&postcount=7
has this been fix for other Rom yet ? I've tried the sqlite3 option nothing still
kungzila said:
has this been fix for other Rom yet ? I've tried the sqlite3 option nothing still
Click to expand...
Click to collapse
So you tried changing the settings.db file and still no effect?
stangdriver44 said:
So you tried changing the settings.db file and still no effect?
Click to expand...
Click to collapse
Yep..it just removed the lock effect..
kungzila said:
Yep..it just removed the lock effect..
Click to expand...
Click to collapse
Check the OP. Posted an update with an attempt to make this work for more people. Let me know. FYI the size has grown so a lot because it now has preview option in recovery.
Let me know if it works for you. My tests on different ROMs were successful
hello
hello mate can you tell me what font you are using on lockscreen screenshots???
thanks
I've got a verizon retail s5 and was wondering if you had any flashables zips of them separately. It just freezes in safestrap when attempting it says starting aroma

(ROM)(AOSP)Lollipop AOSP

This is simply AOSP compiled from source. I am using the binaries provided by Google and the stock kernel provided by Google.
Instructions.
1. Download ROM- https://www.androidfilehost.com/?fid=95784891001615065
2. Downloas gapps- http://d-h.st/jzr
3. Reboot recovery
4. Wipe data and cache.
5. Flash ROM and gapps
6. Reboot
source for device tree
Github.com/papi92/android_device_moto_shamu
Issues
Video playback
Recovery is overwritten (I know the fix)
Feel free to submit fixes or just compile with your fixes.
Thanks!
papi92 said:
This is simply AOSP compiled from source. I am using the binaries provided by Google and the stock kernel provided by Google.
Instructions.
1. Download ROM- https://docs.google.com/a/droid-hive.com/file/d/0B0yE3jDMsld7dWZPck5sRXU1T28/edit?usp=docslist_api
2. Downloas gapps- http://d-h.st/jzr
3. Reboot recovery
4. Wipe data and cache.
5. Flash ROM and gapps
6. Reboot
source for device tree
Github.com/papi92/android_device_moto_shamu
Issues
Video playback
Recovery is overwritten (I know the fix)
Feel free to submit fixes or just compile with your fixes.
Click to expand...
Click to collapse
Your download is permission-only, FYI.
Let me change it
https://www.androidfilehost.com/?fid=95784891001615065
Added to Dropbox. I'm mobile so its hard to upload. Mirrors would help. I think I'm missing binaries (not on googles site) I'll look later. Would love to make this a community effort. AOSP is a lot faster then stock.
I ran a build myself. Haven't had the chance to see what may be missing. Would you mind sharing the fix for recovery being overwritten?
papi92 said:
Added to Dropbox. I'm mobile so its hard to upload. Mirrors would help. I think I'm missing binaries (not on googles site) I'll look later. Would love to make this a community effort. AOSP is a lot faster then stock.
Click to expand...
Click to collapse
Encryption enabled by default?
Yes. And Milly7 its in BoardConfig.mk I can do it later today.
Added an androidfilehost link.
This may be a dumb question but how different is this from the stock lolipop on the Nexus 6? I've used AOSP before but it's been a while.
You'll lose all the proprietary google apps as the default options. But you can download them from the play store. I am noticing a huge difference in performance tho. I'm hoping to fix the video playback soon. I want to just add a battery percentage option tho then I'll just optimize without touching hardware or kernel.
Would someone mind uploading the gallery.apk from this build? Currently using an older one which force closes on the editor screen and don't want to backup->flash->pull apk->restore.
Thanks for this papi92. I compared the vendor folder from the stock image to aosp and it appears quite a few files are missing. I really don't know how to add them and have always relied on devs such as yourself. Can upload the stock vendor folder if you need it.
That'd help a lot but those won't be the only ones missing. Some go in weird spots. I just need the missing ones.
Here is my vendor file for anyone who can help https://github.com/papi92/android_vendor
...and it begins. Thanks OP!
Here are the vendor files from the stock image. http://d-h.st/XV7
I was looking at them on 2 different computers so it was hard to tell which were different, but there are quite a few missing.
Ya I'll try to figure it when I have time. My daughter was born on the 21st so I was just trying to help people get started. I'm hoping the community helps with this. It'd be nice to get a solid base for the Nexus 6
papi92 said:
Ya I'll try to figure it when I have time. My daughter was born on the 21st so I was just trying to help people get started. I'm hoping the community helps with this. It'd be nice to get a solid base for the Nexus 6
Click to expand...
Click to collapse
Congrats on your newly born and thanks for your work.
I pooped my pants once, it's a long story....

[TESTING] Sprint Note Edge 915P 5.0.1 OC8 Lollipop-rooted, deodexed, zipaligned

Update 04-24-15.
Please scroll down to post #27 as a starting point for this ROM development. @tx_dbs_tx has picked up the efforts and has it breathing. Please thank him for his efforts.
/////////////////////////////////////////////////
Update 1: 04-14-15 2121 hrs PDT. The update script doesn't work. The flash fails. I just tried it. I need to figure out where the problem is with the kitchen. I will take down the link for now.... Sorry guys.
Update 2: 04-15-15 0741 hrs PDT. In trying to figure out the issue with the kitchen, I broke the Ubuntu VM. I am in the process of rebuilding it, but that will take some time.
--------------------------------------
IF IT SEEMS LIKE I'M YELLING, IT IS BECAUSE I AM. THIS IS A PRE-PRE BETA BUILD. I AM NOT A DEV. I USED A KITCHEN THAT DOES NOT DIRECTLY SUPPORT THIS ROM. THIS IS BUILD WITH MY VERY LIMITED KNOWLEDGE. ANYTHING YOU DO WITH MY PRODUCT IS ALL ON YOU--YOU CAN BRICK YOUR PHONE AND/OR BECOME STERILE. I JUST DON'T KNOW. IF YOU'RE NOT WILLING TO JACK UP YOUR PHONE AND STAY UP ALL NIGHT TO FIX YOUR PHONE, DON'T TRY THIS.
THIS BUILD MAY BE DOA. I HAVE NOT HAD TIME TO FLASH OR TEST THIS, I JUST WANTED TO GET IT TO YOU GUYS ASAP. IT MAY NOT WORK AT ALL.
--This is a recovery flashable ROM
--[Should be] deodexed, if you see .odex files, they should be safe to delete
--zip aligned
--rooted (you will need to update SuperSU or maybe reapply CF Autoroot, update binary too)
--busybox and init.d support
--startup sound disabled
--includes modem/baseband
Step 1) Make nandroid/backup, backup your data again, and have a backup for your backup
A) If you're on my KK ROM
--download and flash via recovery
--wipe cache/dalvik
--reboot and pray
--if all works, phone will start w/ Lollipop and all your apps, you should have the OC8 baseband too, the only thing you don't have is the latest bootloader, which is okay most of the time. If you want that too, flash the stock package (see below).
B) If you OTA'd or odin'd the stock package
--root and install recovery
--go to A)
C) If you're on KK and want the LP bootloader
--odin the stock package (from my other thread)
--odin recovery
--go to A)
Let me know how it works out. Like I said, I just wanted to get this out ASAP. I have done exactly zero testing. No idea how it will work out. The instructions above are based on memory and off of the top of my head. If this doesn't work, restore from your backup and let me know, and I'll deodex using my old tried-and-true methods (which is much more time consuming).
Again, I want to manage your expectations. I have no confidence that this will work. If it does, it's a miracle! Good luck to us all....
Oh yea, the link [taken down for now]
Check MD5....
If I didn't NEED my phone for work tomorrow I would be a guinnea pig.
VenpaCasa said:
If I didn't NEED my phone for work tomorrow I would be a guinnea pig.
Click to expand...
Click to collapse
Well it's alright. At the dismay and protest of my gf, I will flash this shortly and see how it works. Can't believe I'm taking the phone over [possible] sex.
Downloading to test
Thank you.
I just tested it. The updater script fails to execute. I'm looking into it.
I requested our firmware and kernel but they responded with this:[SAMSUNG OSRC COMMENTS DELIVERY NOTIFICATION]
Dear Sir or Madam,
Thanks for your continuous interest in our products.
We received your request on OSRC.
We will provide the response ASAP, if your request is related to FOSS.
(This site is just for providing source code of FOSS Software we have used in our product.
You could contact with other types - ex. firmware - on your local Samsung support homepage.)
Thank you.
Sincerely yours,
What does this mean?
dinaps86 said:
I requested our firmware and kernel but they responded with this:[SAMSUNG OSRC COMMENTS DELIVERY NOTIFICATION]
Dear Sir or Madam,
Thanks for your continuous interest in our products.
We received your request on OSRC.
We will provide the response ASAP, if your request is related to FOSS.
(This site is just for providing source code of FOSS Software we have used in our product.
You could contact with other types - ex. firmware - on your local Samsung support homepage.)
Thank you.
Sincerely yours,
What does this mean?
Click to expand...
Click to collapse
FOSS = Free and Open-Source Software
It looks like they will only provide you with FOSS used in Samsung products, which makes sense.
snovvman said:
FOSS = Free and Open-Source Software
It looks like they will only provide you with FOSS used in Samsung products, which makes sense.
Click to expand...
Click to collapse
........do we want this lol I'm still confused ?
Should I
Allow Super SU to update the binary?
Thanks
Charles
I haven't flashed snovvman's stock rooted rom
ceabbott2 said:
Allow Super SU to update the binary?
Thanks
Charles
I haven't flashed snovvman's stock rooted rom
Click to expand...
Click to collapse
Yes. But not in recovery. I haven't flashed it either
Another thank you to Snovvman for all of the hard work
If it matters please don't give up your stock rooted Roms have been a godsend.
Sent from my Nexus 7 using XDA Free mobile app
Thanks for the encouragement guys. I have been working on fixing the kitchen when I have time. If that doesn't work, I'll do it the traditional way, which is to extract the ROM manually, and deodex, etc. I don't do this often, so I have to figure things out each time. This will get done because I can't live without root and I can't live without Xposed customization. I am off to a business trip tomorrow, so I won't pick this up again until next Thursday or Friday. Thanks for your patience.
After a few hours of work, I got the VM and kitchen running again. I have also resolved the symlink issue. Instead of doing the work on a shared folder with the host, I expanded the VM Linux partition and do all the work there.
The updater script generated by the kitchen does not work. I suspect this is because of the unsupported kitchen.. I will try to use the script from the NK1 ROM. That should work fine.
I've run into something that I don't quite understand. I expect to see the \system\app and \system\priv-app to be full of apks and odex files. When I extracted the ROM, these two folders contain one sub-folder for each of the apk, containing the app apk and other folders. For example, for Maps:
system\app\maps\maps.apk
system\app\maps\arm\maps.odex.art.xz and maps.odex.xz
system\app\maps\lib\arm\*.so files
During odin or OTA, I believe a script would properly install these files. The traditional kitchen extraction doesn't provide for that. Because of this, I think I will need to first odin the stock package, run a nandroid, and use that as the basis for making the deodexed/rooted ROM.
At this time, if anyone can shed some light on what I am seeing, it would be helpful.
It would also be helpful if someone who has already OTA'ed or odin'd the Lollipop package, and have installed TWRP/CWM, can nandroid the /system and boot, and send those files to me. (It does not matter if it is rooted or not). I am off to a business trip later today, so I won't be able to do anything until I get back next Thursday. If no one sends me the files, I'll odin to Lollipop and extract the files myself when I return.
Thanks.
Well, this partially explains the folders I see:
http://www.dorylabs.com/how-to-deodex-android-5-0-lollipop-applications/
How
snovvman said:
Well, this partially explains the folders I see:
http://www.dorylabs.com/how-to-deodex-android-5-0-lollipop-applications/
Click to expand...
Click to collapse
Can I help. If you can explain I will give it a shot. I have flashed the ext sd card and the sound modification. Will that matter?
Sincerely,
Charles
ceabbott2 said:
Can I help. If you can explain I will give it a shot. I have flashed the ext sd card and the sound modification. Will that matter?
Sincerely,
Charles
Click to expand...
Click to collapse
What sound mods did you use
Sent from my SM-N915P using XDA Premium HD app
thatruth132 said:
What sound mods did you use
Sent from my SM-N915P using XDA Premium HD app
Click to expand...
Click to collapse
The medium one from this thread.
http://forum.xda-developers.com/showthread.php?t=2955648
@snovvman
I think you mentioned being away for business...but if you need anything for assistance, let me know , I will be happy to send you files to get this moving along.
I am on rooted stock KK right now.

[Kernel][5.1.1][P605] Stock SELinux Permissive kernel (OI5)

Based on the first 5.1.1 sources, version OI5
Modifications:
SELinux unlocked
Disabled protection does not allow to boot the OS(disabled at the level of Linux kernel)
Permissive mode is set automatically at boot (without the possibility to switch back to enforce)
Before(you can do it after flash,but recommended before) installing the kernel required go to build.prop,find ro.securestorage.support and set the value to false. System may forget your WiFi passwords after flash custom kernel.
SecurityLogAgent has to be removed or frozen.
Flash kernel in odin.
v2 - SELinux fix.
Download: Google Drive
Sources: Google Drive
Blue cat said:
Based on the first 5.1.1 sources, version OI5
Modifications:
SELinux unlocked
Disabled protection does not allow to boot the OS(disabled at the level of Linux kernel)
Permissive mode is set automatically at boot (without the possibility to switch back to enforce)
Before installing the kernel required go to build.prop,find ro.securestorage.support and set the value to false. System may forget your WiFi passwords after flash custom kernel.
Flash kernel in odin.
This is my first kernel which I create on Linux. I hope everything will be working stable.
Download: Google Drive
Click to expand...
Click to collapse
Thank you - I flashed it as per your instructions. Seems to have worked fine and it's showing it as running as permissive!
Hi,
I made mine for my rom, but yours is good too.
Thank you for the comunity
Re...
Oops problems !! security notification
Alan-B said:
Hi,
I made mine for my rom, but yours is good too.
Thank you for the comunity
Re...
Oops problems !! security notification
Click to expand...
Click to collapse
I think you should remove ALL knox apk,because i never not seen security notifications on my device.
This kernel have only 2 changes.
security/selinux/Makefile and security/selinux/selinuxfs.c
Blue cat said:
I think you should remove ALL knox apk,because i never not seen security notifications on my device.
This kernel have only 2 changes.
security/selinux/Makefile and security/selinux/selinuxfs.c
Click to expand...
Click to collapse
Hi,
With my boot.img I have no this message! It is when I made out a will your that and come this message!
NB:
Your Boot and all the eliminated knoks!! (Rom deodex 5.1.1)
Alan-B said:
Your Boot and all the eliminated knoks!! (Rom deodex 5.1.1)
Click to expand...
Click to collapse
Ok,I found a solution.
You need to remove SecurityLogAgent
Bluecat, thanks for this! I wonder if you know what differences exist between the P605 and the P607T. Also, did you use the EUR_LL source from Samsung's opensource portal? Its strange that they already have the source out for the P605, but nothing yet for the P607T which received the update first. Makes me think maybe the code base is the same and its only the bloatware bundled by the carrier that differs?
I am also curious to just learn and get my hands dirty with this. Can you share the Makefile for this kernel, or just point towards the guide you used (assuming you used one) to compile this?
karthikrr said:
Bluecat, thanks for this! I wonder if you know what differences exist between the P605 and the P607T. Also, did you use the EUR_LL source from Samsung's opensource portal? Its strange that they already have the source out for the P605, but nothing yet for the P607T which received the update first. Makes me think maybe the code base is the same and its only the bloatware bundled by the carrier that differs?
I am also curious to just learn and get my hands dirty with this. Can you share the Makefile for this kernel, or just point towards the guide you used (assuming you used one) to compile this?
Click to expand...
Click to collapse
Sorry,but i dont know differences between the P605 and P607T.
Yes,sources SM-P605_EUR_LL_Opensource.zip and version OI5.
If you want check have code 607 and 605 differences or not you should check checksum both original zImage(linux kernel). Extract them from both boot.img and compare.
Version 2 use standart selinux permissive way used by mostly kernel developers,it's have many changes in code now and it's will be very long to explain how to change to permissive,just use my sources available now in first post and compare them with original sources.
If you talk about how to compile kernel...was use many guides and other forums...hard part was only create .config file
Blue cat said:
Sorry,but i dont know differences between the P605 and P607T.
Yes,sources SM-P605_EUR_LL_Opensource.zip and version OI5.
If you want check have code 607 and 605 differences or not you should check checksum both original zImage(linux kernel). Extract them from both boot.img and compare.
Version 2 use standart selinux permissive way used by mostly kernel developers,it's have many changes in code now and it's will be very long to explain how to change to permissive,just use my sources available now in first post and compare them with original sources.
If you talk about how to compile kernel...was use many guides and other forums...hard part was only create .config file
Click to expand...
Click to collapse
Will try to extract the zImage from the P607T boot.img. I do not have the P605 though, do you know if the stock boot.img is downloadable anywhere?
Thanks for uploading the source. I just finished downloading the original source from the opensource site, will compare the two and try to understand.
I do know how to complile a linux kernel, I meant can you share the .config file (not the makefile, as I wrongly stated earlier), so I can see what has changed across the entire kernel. Rather than just change one line directly in the config file to disable SELinux, I wanted to use make menuconfig and go through the whole process, just to learn more about android kernels. But since I do not know much about the hardware and driver requirements, wanted to see a stock .config as well as your changed .config to understand.
karthikrr said:
Will try to extract the zImage from the P607T boot.img. I do not have the P605 though, do you know if the stock boot.img is downloadable anywhere?
Thanks for uploading the source. I just finished downloading the original source from the opensource site, will compare the two and try to understand.
I do know how to complile a linux kernel, I meant can you share the .config file (not the makefile, as I wrongly stated earlier), so I can see what has changed across the entire kernel. Rather than just change one line directly in the config file to disable SELinux, I wanted to use make menuconfig and go through the whole process, just to learn more about android kernels. But since I do not know much about the hardware and driver requirements, wanted to see a stock .config as well as your changed .config to understand.
Click to expand...
Click to collapse
My config https://drive.google.com/file/d/0BxQroXyaGzZOSmdieTNVaFY3VjA/view?usp=sharing
Boot https://drive.google.com/file/d/0BxQroXyaGzZOVFZGZGs3YmloX2s/view?usp=sharing
I dont have original config,you can create your own on linux.
Blue cat said:
My config https://drive.google.com/file/d/0BxQroXyaGzZOSmdieTNVaFY3VjA/view?usp=sharing
Boot https://drive.google.com/file/d/0BxQroXyaGzZOVFZGZGs3YmloX2s/view?usp=sharing
I dont have original config,you can create your own on linux.
Click to expand...
Click to collapse
Brilliant! Thanks for sharing ... As and when I learn anything relevant to the issue of P605 vs. P607T, will update here.
Why does the wifi password get forgotten on every boot?
Any fix for that matter?
valexi said:
Why does the wifi password get forgotten on every boot?
Any fix for that matter?
Click to expand...
Click to collapse
Blue cat said:
Based on the first 5.1.1 sources, version OI5
Before installing the kernel required go to build.prop,find ro.securestorage.support and set the value to false. System may forget your WiFi passwords after flash custom kernel.
SecurityLogAgent has to be removed or frozen.
Flash kernel in odin.
Click to expand...
Click to collapse
Maybe you missed the update to the original post, the fix is as above, set securestorage to false. Since you have already flashed, you can still go to build.prop, make this change, reboot, and you should be fine.
karthikrr said:
Maybe you missed the update to the original post, the fix is as above, set securestorage to false. Since you have already flashed, you can still go to build.prop, make this change, reboot, and you should be fine.
Click to expand...
Click to collapse
I tried this. With ro.securestorage.support false. Still no WiFi passwords saved after reboot.
Other than that, this works great!
Xposed (for Samsung by wanam) works great!
valexi, the only thing Ive seen suggested in your case is to reflash the firmware. I do not know of any other solutions for this, because pretty much everybody with this problem seems to have solved it when they changed the securestorage thing.
BlueCat, I went ahead and compared checksums for the stock p607t and p605 kernels, they do NOT match. I also extracted the kernels themselves and the zimage files are of different sizes. I then compared the default config files of the P605_LL_EUR source with the only available source for the P607T, which is KK ... They are considerably different. I am of course going with the assumption that the core config for the kernel between KK and LL should not be TOO different, but of course, this is NOT a reliable test. Lastly, I should also say, the P607T source contained an insane number of config files in the Arch/Arm/configs folder, while the P605 source only had three files! I only compared the three that were common ... It seemed like the 607T has the config files for every possible version of the device, while the 605 one had very specific configs for that device only ... This I am speculating based on the fact that the 607T folder even had a msm8894_sec_l03ltmo_defconfig file in addition to the msm8894_sec_l03leur_defconfig file in the 605.
Will do more comparisons over the next few days, but it does seem like there are more changes under the hood between the 605 and the 607T than one would expect. I really wish samsung would release the source for the 607t, but if you check that page, there is just one single KK code there and nothing else, so it does not seem likely anytime soon
Blue cat said:
Ok,I found a solution.
You need to remove SecurityLogAgent
Click to expand...
Click to collapse
Re,
Ok remove SecurityLogAgent and folder Container it is ok...
But delete all other knox and Klm gives a problem with the playstor. (Certain protections cannot be erased)
Hey guys,
Great news around, especially with roms like Alan-B's. Thanks for sharing :good:.
Running 4.4, planning to update 5.x as soon as I'm sure I can run Linux Deploy (meaning the need of permissive kernel), though I can't find any intel about VTS (Virtual Terminal Support) enabled kernel. I've been looking for months a way to run framebuffered distros and looks like this is the solution.
I could try to make it myself but I have no experience in kernels, would someone mind give me a hand to get to this goal? At least give me a hint to "quickly" develop and try one, to see if it works and how well...
Don't even know if I'm looking the right way anymore, so thanks by advance for any help and again for the sharing :highfive:.
karthikrr said:
valexi, the only thing Ive seen suggested in your case is to reflash the firmware. I do not know of any other solutions for this, because pretty much everybody with this problem seems to have solved it when they changed the securestorage thing.
Click to expand...
Click to collapse
But when I reflash the firmware how can I set securestorage BEFORE installing permissive kernel as I don't have root to change build.prop?
valexi said:
But when I reflash the firmware how can I set securestorage BEFORE installing permissive kernel as I don't have root to change build.prop?
Click to expand...
Click to collapse
You can't. Reflash, root, edit build.prop, reboot, set wifi password once again, reboot, it SHOULD be fine. If its not after this sequence, Im not sure what else may work. Every case of this particular problem that I've seen was resolved with this solution.
Luckily I didn't reflash yet. I checked again build.prop and securestorage was true. For some reason it didn't stick first time.
I edited it again and now WiFi works as intended. So I can say that this solution works. Great kernel.
Sent from my ONE A2003 using Tapatalk

Categories

Resources