[P905M LTE and P905][KERNEL] STOCK compiled with SELinux setenfoce command enabled - Galaxy Note Pro 12.2 Original Android Development

I am not responsible for any possible bad effects which may result from using included software! You flash it on your own risk!
Probably it will work in the P905 version, because I flashed the a P905 kernel in my P905M without problems. But, as usual, it is your risk.
User esgie confirmed that it works on SM-P905 too!
STOCK compiled with SELinux setenforce enabled
Kernel base: compiled from Samsung sources without modifications (opensource.samsung.com)
Kernel ramdisk: extracted from stock image
Features: setenforce command working
WARNING!
FLASHING THIS WILL TRIP KNOX AVOIDING YOUR WARRANTY!
Known issues
WiFi gets a little screwy. To fix it edit /system/build.prop, change the parameter ro.securestore.support from true to false and reboot.
Installation
flash using ODIN (AP/PDA)
Image sha1sum
b85360a80f6205269b75d9dfabccac211a224d46
CREDITS
- Graeme Hill`s Dev Blog (http://graemehill.ca/compiling-permissive-android-kernel)
- osm0sis user Android Image Kitchen tool (http://forum.xda-developers.com/showthread.php?t=2073775)
- Samsung (opensource.samsung.com)
- esgie Kernel STOCK RELOADED (http://forum.xda-developers.com/showthread.php?t=2771469)

No one interested?
Thanks a lot. Will try it.
Sent from my GT-N7100 using XDA Premium 4 mobile app

rodpp said:
I am not responsible for any possible bad effects which may result from using included software! You flash it on your own risk!
Probably it will work in the P905 version, because I flashed the a P905 kernel in my P905M without problems. But, as usual, it is your risk.
STOCK compiled with SELinux setenforce enabled
Kernel base: compiled from Samsung sources without modifications (opensource.samsung.com)
Kernel ramdisk: extracted from stock image
Features: setenforce command working
WARNING!
FLASHING THIS WILL TRIP KNOX AVOIDING YOUR WARRANTY!
Known issues
WiFi gets a little screwy. To fix it edit /system/build.prop, change the parameter ro.securestore.support from true to false and reboot.
Installation
flash using ODIN (AP/PDA)
CREDITS
- Graeme Hill`s Dev Blog (http://graemehill.ca/compiling-permissive-android-kernel)
- osm0sis user Android Image Kitchen tool (http://forum.xda-developers.com/showthread.php?t=2073775)
- Samsung (opensource.samsung.com)
- esgie Kernel STOCK RELOADED (http://forum.xda-developers.com/showthread.php?t=2771469)
Click to expand...
Click to collapse
Hangs on boot before the Samsung logo.
Sent from my SM-P905M using XDA Premium HD app

gorcutt said:
Hangs on boot before the Samsung logo.
Sent from my SM-P905M using XDA Premium HD app
Click to expand...
Click to collapse
Hi,
I just downloaded the file from this post and checked the sha1sum against the original file that I uploaded and it´s ok. The sha1sum value is b85360a80f6205269b75d9dfabccac211a224d46. So there is no file corruption problem.
Please check if your file has the same sha1sum.
Tonight I´ll flash this file again in my tablet and verify if it works. It´s highly improbable that I uploaded the wrong file, but I´ll check flashing it.
As soon as possible I´ll update here the result of this test.
Regards,
Rodrigo.

Awesome!
Flashed, seems to boot ok on SM-P905
Great job.
Seems to be working fine! Boots as permissive and setenforce 0/1 working fine.
Great job. Now we are waiting for at least some basic overclocking and governors implementation

esgie said:
Awesome!
Flashed, seems to boot ok on SM-P905
Great job.
Seems to be working fine! Boots as permissive and setenforce 0/1 working fine.
Great job. Now we are waiting for at least some basic overclocking and governors implementation
Click to expand...
Click to collapse
Thank you very much for confirm that it works on SM-P905, I'll include this information on the first post.
If you find some WiFi issues don't forget to edit /system/build.prop, change the parameter ro.securestore.support from true to false and reboot.
Regards,
Rodrigo.

Already had the property changed in my build.prop, so i'm not exactly sure if the wifi works out of the box or not. Although I confirm that it DOES work with the build.prop modification
And by "does work" I meant both wifi and mobile radio working flawlessly.

gorcutt said:
Hangs on boot before the Samsung logo.
Sent from my SM-P905M using XDA Premium HD app
Click to expand...
Click to collapse
rodpp said:
Hi,
I just downloaded the file from this post and checked the sha1sum against the original file that I uploaded and it´s ok. The sha1sum value is b85360a80f6205269b75d9dfabccac211a224d46. So there is no file corruption problem.
Please check if your file has the same sha1sum.
Tonight I´ll flash this file again in my tablet and verify if it works. It´s highly improbable that I uploaded the wrong file, but I´ll check flashing it.
As soon as possible I´ll update here the result of this test.
Regards,
Rodrigo.
Click to expand...
Click to collapse
Hi there, I tested here and the image is working fine here. The user esgie just confirmed that too, in a P905. Please check the sha1sum of your downloaded image file.
Regards,
Rodrigo.

rodpp said:
Hi,
I just downloaded the file from this post and checked the sha1sum against the original file that I uploaded and it´s ok. The sha1sum value is b85360a80f6205269b75d9dfabccac211a224d46. So there is no file corruption problem.
Please check if your file has the same sha1sum.
Tonight I´ll flash this file again in my tablet and verify if it works. It´s highly improbable that I uploaded the wrong file, but I´ll check flashing it.
As soon as possible I´ll update here the result of this test.
Regards,
Rodrigo.
Click to expand...
Click to collapse
I probably did something wrong.
I've downloaded again and wiill try once more.
MD5 f39207bd4c45b1854372cd519942a6c2
SHA1 b85360a80f6205269b75d9dfabccac211a224d46
Thanks.
Sent from my GT-N7100 using XDA Premium 4 mobile app

As we all can see, our devices lacks of community support.
I wonder if you are the first person on the planet who managed to prepare an environment and compile P905(x) kernel succesfuly
May I ask you if have any plans to proceed with the kernel developement?

Please integrate fauxsound

esgie said:
As we all can see, our devices lacks of community support.
I wonder if you are the first person on the planet who managed to prepare an environment and compile P905(x) kernel succesfuly
May I ask you if have any plans to proceed with the kernel developement?
Click to expand...
Click to collapse
Unfortunately I don't have enough free time, so I don't have plans to work in kernel development. I did this because I was needing it to install some stuffs in my tablet and decided to share it here o XDA where I always found useful things.
If someone wants simple modifications and points some links explaining that I can try without problems.
And if someone have problems preparing an environment to compile the kernel, let me know, I'll be very happy to help.
Regards,
Rodrigo.

koko115 said:
Please integrate fauxsound
Click to expand...
Click to collapse
Do you have a link?
Honestly, I don't know what fauxsound is!

rodpp said:
Do you have a link?
Honestly, I don't know what fauxsound is!
Click to expand...
Click to collapse
Well, i'm not the one who asked this nor I have ever heard about it, but by curiousity I googled this. Got link for this app at Google Play. There are github links in app description to patches that needs to be added to kernel to make this work.
Just can't see Note Pro in officially supported devices -list and don't know can this device even be supported. There reads "Unofficially Supporting: Any Phones using Qualcomm Audio Chip WCD93xx chipsets." But I don't know which chipset NP12.2 got.

Spere said:
Well, i'm not the one who asked this nor I have ever heard about it, but by curiousity I googled this. Got link for this app at Google Play. There are github links in app description to patches that needs to be added to kernel to make this work.
Just can't see Note Pro in officially supported devices -list and don't know can this device even be supported. There reads "Unofficially Supporting: Any Phones using Qualcomm Audio Chip WCD93xx chipsets." But I don't know which chipset NP12.2 got.
Click to expand...
Click to collapse
Thanks, it seems simple if the audio chip is compatible. I'll try to include this in the kernel.

Thanks, Rodrigo for the great work!
Finally i was able to get Ubuntu running using linux complete installer.
Its a shame there's so little development for this great device.
I wish i had skills to do some.
Thanks, from Piracicaba-SP

js345 said:
Thanks, Rodrigo for the great work!
Finally i was able to get Ubuntu running using linux complete installer.
Its a shame there's so little development for this great device.
I wish i had skills to do some.
Thanks, from Piracicaba-SP
Click to expand...
Click to collapse
Yes, one of my motivations to compile this kernel was to boot Linux images too.
Regards,
Rodrigo.
Enviado de meu SM-P905M usando Tapatalk

rodpp said:
Thanks, it seems simple if the audio chip is compatible. I'll try to include this in the kernel.
Click to expand...
Click to collapse
I tried to compile the kernel with the patches sugested by the Fauxsound developer but, unfortunately, I have no success.
Probably it will be necessary more kernel modifications to compile it with the Fauxsound patches.
Enviado de meu SM-P905M usando Tapatalk

Hi,
I have a question about your kernel.
does it contains a root feature ?
I am running XXUANI1 firmware on P900 (wifi version), and have tried the auto root from Chainfire.
it does not work well (I think it was release for a previous firmware), and give a lot of random reboot.
I was thinking that may be I could flash a kernel accepting to work with su.bin
thanks for any information.
Olivier

orobin said:
Hi,
I have a question about your kernel.
does it contains a root feature ?
I am running XXUANI1 firmware on P900 (wifi version), and have tried the auto root from Chainfire.
it does not work well (I think it was release for a previous firmware), and give a lot of random reboot.
I was thinking that may be I could flash a kernel accepting to work with su.bin
thanks for any information.
Olivier
Click to expand...
Click to collapse
The kernel is for P905M/P905...

Related

[MODULE-|-SOURCE] Atrix 4G Overclock Module -- Up to 1.5GHz!

Welcome to the Motorola Olympus (Atrix 4G) Overclock Thread!
Well, I didn't know what to do today, so I've created something useful, an Overclock Module. However, this is incomplete and I need help for completing it.
More specifically, I don't know how to replace the already loaded table with the one written in this module. If anyone can help, I would appreciate it!
TRY THIS AT YOUR OWN RISK, I'M NOT RESPONSIBLE IF YOUR PHONES BRICKS.
Status: COMPLETE.
Download:
Compiled module: HERE (Min 200MHz Max 1.4GHz)
Module source: HERE (Outdated. It'll be updated when it'll be cleaned.)
What you need:
1. A brain
2. A ROOTED Atrix
3. Patience
4. PC and SDCARD.
How to load it:
1. Download the compiled module
2. Put it on the root of your sdcard
3. On your ROOTED device, run a terminal emulator and do exactly... this:
Code:
su
cp /sdcard/olympus_overclock.ko /data/
chmod 777 /data/olympus_overclock.ko
cd /data
insmod olympus_overclock.ko
4. Use SetCPU for your profiles
And let me clarify a thing: This isn't a kernel. This is a kernel module
Thanks to:
Skrilax_CZ - Without you, I would never had been completed the work.
iggytom & Bakano - Thanks for your kallsyms logs!
Stay Tuned!
=NOT TESTED....what do you expect...put here some modified kernel and want to us test withou any test made by you? lol
You kiring right?
Exciting but Ill wait till a few brave souls test it out first
Sent from my MB860 using XDA Premium App
is this a joke?
frankiedizzle87 said:
is this a joke?
Click to expand...
Click to collapse
he says "completing and uploading"
...maybe he actually plans on testing it first? or maybe he's just trollin'
I've ever done things that I wanted to do.
I'll receive my Atrix next week, so, for now, it isn't tested and it isn't even completed.
DEVS, I need some help. I've modified the struct and, well, sincerely, I don't know how to load it and replace it to the already loaded frequancy table.
I'm posting the source, being confident on other devs that can help me.
P.S.: The module isn't simply setting the maximum frequency for overclocking. Its concept is rewriting the frequency table for getting better scaling and even better battery life adding underclocking features in the future.
EDIT:
@EclipseX
I'm not posting a kernel. Atrix is locked. Read prior to write things.
@raybond25
I don't mean why some people is accusing of trolling when those people don't know who is that guy that is posting these things....
Looks I
To be interesting. Thanks
Sent from my MB860 using XDA Premium App
kholk said:
I've ever done things that I wanted to do.
I'll receive my Atrix next week, so, for now, it isn't tested and it isn't even completed.
DEVS, I need some help. I've modified the struct and, well, sincerely, I don't know how to load it and replace it to the already loaded frequancy table.
I'm posting the source, being confident on other devs that can help me.
P.S.: The module isn't simply setting the maximum frequency for overclocking. Its concept is rewriting the frequency table for getting better scaling and even better battery life adding underclocking features in the future.
EDIT:
@EclipseX
I'm not posting a kernel. Atrix is locked. Read prior to write things.
@raybond25
I don't mean why some people is accusing of trolling when those people don't know who is that guy that is posting these things....
Click to expand...
Click to collapse
if you had described you just said in your last post in the OP, people wouldn't have been quite as skeptical, it seemed as though you were posting saying you'd already completed (or nearly), but hadn't tested it, and were hoping that others were. That's all.
thanks for the clarification on what this is and what you intend to do
Well yes, I was thinking too much easy because I've done other things like this in the past but then I've discovered that this is different... so..
kholk said:
What you need:
1. A brain
2. A ROOTED Atrix
3. Patience
4. PC and SDCARD.
How to load it:
Click to expand...
Click to collapse
From the testers point of view before we even get to looking at this, which kernel did you design this for being we now have three currently out with the retail, the leaked feb version, and the OTA update. Pleas provide your how too asap before someone dose something wrong and burn out their device. That said I'm waiting till I see a proper OP before I look at this again, good luck.
Well the OTA's out of the question since it can't be rooted
kennethpenn and DG if you guys can make this happen. you will be my heros
Djazin said:
From the testers point of view before we even get to looking at this, which kernel did you design this for being we now have three currently out with the retail, the leaked feb version, and the OTA update. Pleas provide your how too asap before someone dose something wrong and burn out their device. That said I'm waiting till I see a proper OP before I look at this again, good luck.
Click to expand...
Click to collapse
It is a SOURCE.
A source can be compiled on every kernel you want if you've got the source for it.
Anyway, only the retail version source is out, so for now we can compile it only for the OLYFR_U4_1.2.6's kernel ...... when it gets completed.
JoeyGuard said:
kennethpenn and DG if you guys can make this happen. you will be my heros
Click to expand...
Click to collapse
DG is gone completely.
Sent from my MB860 using Tapatalk
Okay guys, I'm going to complete this.
Anyone with the OLYFR_U4_1.2.6 firmware installed can execute this command and upload to me the file?
Code:
cat /proc/kallsyms > /sdcard/kallsyms.log
This command creates a log of the kallsyms in the kallsyms.log file stored on your sdcard.
I need that file for finishing the work.
Thanks!
Here you go. 10char
Response
kholk said:
Okay guys, I'm going to complete this.
Anyone with the OLYFR_U4_1.2.6 firmware installed can execute this command and upload to me the file?
Code:
cat /proc/kallsyms > /sdcard/kallsyms.log
This command creates a log of the kallsyms in the kallsyms.log file stored on your sdcard.
I need that file for finishing the work.
Thanks!
Click to expand...
Click to collapse
Here you go. hope it helps =)
It exceeded allowed file size as a "txt" file, so here it is in rar format
Thanks for the kallsyms.
Examinating and finishing the job.
kholk said:
Thanks for the kallsyms.
Examinating and finishing the job.
Click to expand...
Click to collapse
Im very excited for this kholk I know you're good at these things. I have my fingers crossed
Sent from my MB860 using XDA Premium App
if this is possible WOW whata beast, even my netbooks will be jealous LOL

[MOD/PATCH]PDroid "Better privacy protection" v1.26 Patch for Atrix CM7

There is an awesome (non-root might i add) app for those who don't like your info being shared with anybody called PDroid that can be found here;
http://forum.xda-developers.com/showthread.php?t=1357056
Among its huge feature arsenal is the ability to block app's from seeing your IMED, SIM details, sms/mms, etc. It consumes no battery life at all and is very customizable. the only downside is that you must make a patch for each device and each ROM. i took the liberty of making said patch for the Ba2tF CM7 ROM and have posted the CWM-flashable zips for your enjoyment. all you have to do is boot into CWM and flash. if for some reason you don't want your phone to be awesome you can flash the "restore" zip and the original files will be back.
I am not responsible for literally a single thing you do with these files. have fun.
If you found this helpful or just enjoyable to read the thanks button is somewhere down to the right.. but whatever you do, don't hold down shift while you press it!
UPDATE: PDroid is not yet compatible with ICS/CM9 but the dev is actively working on supporting this, so sit tight and i will update the OP when he does so.
Since it works on Ba2tf, would it also work on weekly/nightly builds?
It is very rom specific, i wouldnt use my zip for Ba2tF with that rom.
Sent from my MB860
IUH1991 said:
Since it works on Ba2tf, would it also work on weekly/nightly builds?
Click to expand...
Click to collapse
It does work just fine on Neutrino ROM which is based on the weekly builds.
I have created patches for Dorians Redpill, Ba2tf, Neutrino GT/GT+ will also be creating one for EE shortly. I will post the patches for the API for PDroid shortly.
BTW this privacy app is awesome! You just need Linux to create a API patch for your phone.
EDIT: I had to create a new post to add the attachments..... kept failing every time I tried to add here. See post below.
Below are the API patches required to run PDroid for the specific ROMs. RESTORE patch included to remove the patch if it doesn't work. lol Don't hold me responsible if they don't work or if something funky happens..... but it worked for every ROM I have tested it on.
Keep in mind you don't need to be rooted to run the app, but you need to be rooted to run the patch.
EDIT: Also remember if your ROM ever gets updated odds are you will have to create a new patch for the newest version.
I got a PM from the dev today who had some good news.. Previously the patch maker was only available for Linux..
The good news is that you now can make a patch for your ROM yourself. Check out the PDroid patcher for Windows in the PDroid thread: http://forum.xda-developers.com/showthread.php?p=19570091. Or download it directly: http://goo.gl/oztqS.
Click to expand...
Click to collapse
Thanks for the info.
Setting up to try my hand at rom devel soon; once cm9 is a bit more stable ill build from git. Have compiled source for "true" linux but not android.
Since I'm making it security centric, this could be a nice addition. Will be researching further.
Sent from my MB860 using xda premium
I have been using LBE Privacy Guard, which revokes these permissions and more on an app-by-app basis. It's not ROM specific but a little time-consuming setting up rules for each app.
I don't have access to Linux unfortunately at the moment. Can someone make a patch for redpill-cm7?
Sent from my unlocked Motorola Atrix.
kshiuan said:
I don't have access to Linux unfortunately at the moment. Can someone make a patch for redpill-cm7?
Sent from my unlocked Motorola Atrix.
Click to expand...
Click to collapse
You don't need Linux. There's a link for the Windows version a few posts above mine.
Sent from my MB860 using xda premium
georgelopez said:
You don't need Linux. There's a link for the Windows version a few posts above mine.
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
If you look on his original post (the developer's), you will see that there is a bug in the windows autopatcher. So yes...I do need Linux.
Oops...looks like I had someone on ignore who's done the work for me. Will send over a thanks anyways. Bygones.
schwann said:
If you look on his original post (the developer's), you will see that there is a bug in the windows autopatcher. So yes...I do need Linux.
Click to expand...
Click to collapse
You're absolutely right. Seems like the developer updated his OP right before I posted. Although, it does say to check back soon.
Sent from my MB860 using xda premium
ToALL
Can anybode made a patch for Neutrino ROM 1.4-S ?
What exactly does this do? If it's good, I might as well cook it in Neutrino
Notorious544d said:
What exactly does this do? If it's good, I might as well cook it in Neutrino
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1357056 read this.
Perfect patch for manual changing permissions of appz.
zhuchella said:
http://forum.xda-developers.com/showthread.php?t=1357056 read this.
Perfect patch for manual changing permissions of appz.
Click to expand...
Click to collapse
WOW, that's pretty sick!!
Notorious544d said:
WOW, that's pretty sick!!
Click to expand...
Click to collapse
it is! if you do bundle it make sure to also bundle the app or put a link to the market or something so users know!
schwann said:
I don't have access to Linux unfortunately at the moment. Can someone make a patch for redpill-cm7?
Sent from my unlocked Motorola Atrix.
Click to expand...
Click to collapse
Semi OT but...
If you have a cd drive, dvd drive, or usb drive you can run pretty much any nix distro in a "live cd" environment.
Sent from my MB860 using xda premium
n1ckr0th said:
it is! if you do bundle it make sure to also bundle the app or put a link to the market or something so users know!
Click to expand...
Click to collapse
My update will have the tweak and the app integrated
I can't thank you enough for the patch n1ckr0th. I've been using droidwall and an app called permissions to stop other apps from sending my data out. Now it's up to me who sees my real data. I understand that a lot of companies make their livings on advertisements and the like, but why do they have to know about and acquire my personal data for me to play a game or run a process that allows me to work more effectively. It's issues like this that make me want to learn how to code for android and write some great apps that won't steal everything on your device that it can see. Hmm, actually that's a good idea. Thanks again.
B.B.

[JB 4.1.1][ROW] Just managed to compile

Hello!
I've spend some days to compile JB for TPT ROW 32Gb. And there are the following results:
Works:
--Display. Interface is _very_ smooth
--Pen
--Automatic brightness
--External SD
--USB host
--Bluetooth
--WiFi (Partially: Signal strength indicator broken. Disable avoiding poor networks in advanced menu)
--GPS
--Internal sdcard
Doesn't work:
--Camera
--3G
--Sound
I also had to repack boot image to include configuration changes (init* files).
See attached logcat.
next step I will try to add proprietary source files for Wifi and camera and compile JB again.
==Boot image gzip for flashing with system image using nvflash or dd from recovery==
http://dl.dropbox.com/u/1737679/part07.20120724.img.gz
==System image gzip for flashing with boot image using nvflash or dd from recovery==
http://dl.dropbox.com/u/1737679/part08.20120724.img.gz
Remember to always do a backup copy of your device images before flashing new ones.
Great work mate! I assume that if we want to test this later on our tablets, we need to be rooted?
suntechnic said:
Hello!
I've spend some days to compile JB for TPT ROW 32Gb. And there are the following results:
Works:
--Display. Interface is _very_ smooth
--Pen
--Automatic brightness
--External SD
--USB host
--Bluetooth
Doesn't work:
--Camera
--WiFi
--3G
--GPS
--sdcard fuse mounting
I also had to repack boot image to include configuration changes (init* files).
See attached logcat.
next step I will try to add proprietary source files for Wifi and camera and compile JB again.
Click to expand...
Click to collapse
Woohoo! Look forward to trying this!
This is amazing work! Thank you.
I see Lenovo finally released the ICS source code. Maybe this will help you get some other stuff working.
Also, how were you able to flash your build? Have you not upgraded to OTA3? I'm assuming you still have CWR working.
Thanks again.
Great work, thanks! I'm glad that there is work going on!
Great news! As I installed ota3 before rooting my device, I hope that there will be some way to get cwm and root working...
Sent from my GT-I9300 using xda premium
Very happy that you're working on a new ROM for our device!!!
And I really hope that someone finds a way to root OTA3 since I was also too dumb to do that before updating.
Cheers!
Wow!! Keep up the good work!!!
can't wait, great work!
Great!
I thought I will be first
According to full_indigo device ID, it is AOSP, not CM? Wow..
I think together we could at last make 3G work as other hw are relatively easy to fix(may be not true for camera as sources again changed). I familiar with Qualcomm RIL framework and can't wait to see how it works with tablet and more opensource hardware module..
I also had to repack boot image to include configuration changes (init* files).
Click to expand...
Click to collapse
lenovo haven't packed init scripts? Oo how it works then? ;/
PS: hello from Russia
obscure.detour said:
This is amazing work! Thank you.
I see Lenovo finally released the ICS source code. Maybe this will help you get some other stuff working.
Also, how were you able to flash your build? Have you not upgraded to OTA3? I'm assuming you still have CWR working.
Thanks again.
Click to expand...
Click to collapse
Lenovo released ICS open source code but they forgot to release new kernel sources. This prevents me from building bcmdhd driver instead of bcm4329. It looks like JB is oriented for NL80211 wireless interface and not WEXT.
this isnt for the K1 is it
It's for tpt only
When can we see this in a flashable version? Not to sound pushy, I know we have all see the development slow down.
Are there any other tricks we need to get this up and running? I flashed partition 7 and 8 using NVflash but my tablet is stuck in a boot loop at "lenovo"
EDIT: Is this incompatible with CWM recovery?
What is TPT
Not to sound stupid but what is TPT? I have a K1 as well and am wondering if this will work?
TPT= ThinkPad Tablet
Lenovo released ICS open source code but they forgot to release new kernel sources
Click to expand...
Click to collapse
yes I also tried to get more info but for now no response. At last they released external folder of their custom build, which also contains alsa-audio, as I seen in cm9 device tree, it should fix audio with ease(maybe after patch as sources again changed in JB).
It looks like JB is oriented for NL80211 wireless interface and not WEXT.
Click to expand...
Click to collapse
but WEXT is there isn't it?
Anyway, congrats on working wifi.
Has anyone else got this up and running? I tried uninstalling CWM and reflashing part 7 and 8 but still no luck.
mr toasty said:
Are there any other tricks we need to get this up and running? I flashed partition 7 and 8 using NVflash but my tablet is stuck in a boot loop at "lenovo"
EDIT: Is this incompatible with CWM recovery?
Click to expand...
Click to collapse
Some of existing software probably blocks normal startup. It is always advised to clean dalvik-cache and user data (backup first). It's up to you.
Right after Lenovo logo you should see 'Android: Optimizing applications' or something similar.

[PATCH][TX][DEV]kexec hardboot port - dual-boot possible

!!!!!! NOT FULLY TESTED !!!!!!!
This patch is based on Tasssadar's hardboot patch for mako. And I borrowed some code (hardboot page address usage) from alvinhochun's Xperia M port. The kernel source is 9.2.A.0.295 from Sony. Thanks all of above!
Here is Tassadar's original thread which explains what is kexec hardboot and what it does. Apply this patch to your kernel source and it will be capable of booting another kernel/system without reflashing.
Note: KEXEC_HB_PAGE_ADDR doesn't need to be a certain value. In my tests, 0x88000000 and 0x88A00000 both work. However, I don't know if there are significant side effects... There is no ram_console entry in /proc/iomem... The default address calcuated by original patch is 0x88CE0000,which doesn't work, so I removed the calculation code and hardcoded the address (thanks alvinhochun)
Click to expand...
Click to collapse
Usage can be seen in the sh file attached. Sh file is modded on Tasssadar's. Kexec binary is also taken from his github. Thanks again!
Parameters:
--load-hardboot : load the kernel with hardboot request
--initrd : ramdisk path (For 2012 line, that's the ".cpio.gz" file)
--mem-min : where the kernel should be loaded to (lowest address). This is not certain,either. 0x82000000, 0x85000000 both work. You can try different values. (Is there any limitation to this? Plz tell me...) Normally 0x82000000 will be okay.
--command-line : command line for the guest kernel. Note that the arguments appended by bootloader (semcandroidboot.babe1324 etc)need to be added here manually.
Click to expand...
Click to collapse
Now I have successfully dual-booted stock 4.3(205) and OmniROM 4.4 (homemade):
1. re-partition external sdcard to 4 parts. 1 for regular data storage(mmcblk1p1), 1 for /system (mmcblk1p4), 1 for /data (p2) and 1 for /cache (p3).
2. mount /dev/block/mmcblk1p4 to USB storage in TWRP and "dd if=(9.2.A.1.205 system.ext4 extracted from FTF) of=(USB storage)" on computer. You can use a card reader also.
3. modify the fstab files in stock 205 ramdisk to change the devices for /system, /data and /cache. If you want to add recovery, edit their fstabs also. (PERMISSIONS FOR THESE FILES ARE REALLY IMPORTANT! All .rc and fstab should be 644, root:root. Otherwise it won't boot)
4. repack the ramdisk. Push the zImage and ramdisk to the phone and execute the sh file. The phone reboots and stock 4.3 loads.
5. rebooting the phone will go back to host ROM.
Click to expand...
Click to collapse
But there is one problem: in stock 4.3, Baseband is shown as "Unknown" and the phone gets no signal. On the host ROM, it works properly. It seems to be related to TA reading, but I can't think of anything wrong with this...Logcat shows three TA units were missing. But in host ROM, they are shown as missing too. Full logcat attached in zip. I didn't touch any file other than fstab, fstab.qcom and init.target.rc in 205 ramdisk. Stock 4.1 works like a charm though.
Anyone knows? Thanks in advance~
You said you had a Omnirom for tx (homebuild)... Could you share it... If it's stable?
Sent from my LT29i using XDA Premium 4 mobile app
alanc.1996 said:
You said you had a Omnirom for tx (homebuild)... Could you share it... If it's stable?
Sent from my LT29i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
New build arrived (2014/05/21). See the separate thread. Following is the old message.
==================
At least it won't reboot ramdomly..but there may be some minor bugs.
Link: http://pan.baidu.com/s/1i3Hq4ip (Password: kpnn)
Internet connection is not very good here so uploading to devhost/mediafire is nearly impossible...
You need to flash the kernel first, then use the recovery to flash the ROM, then flash the kernel again. After system boots, push the modules file to /system/lib/modules
This is based on tital's port. Thanks a lot~
Later I will open a thread to introduce this ROM...
Cool! Will try it out!
Sent from my LT29i using XDA Premium 4 mobile app
Months ago, when I restored an Nandroid backup of 9.2.A.0.295, the same problem appeared. But at that time only mobile service was dead, while WiFi worked. Now mobile service and WiFi are all dead. The screen stops at "Turning on Wi-Fi". However, in dmesg & lsmod, I can see that WLAN driver module has been loaded, with MAC address changed correctly...And in Service Menu(*#*#SERVICE#*#*), Configuration in Service info is dead. Tapping on it will cause the app to stop responding. What is the point?
OK I tried 9.1.B.1.67 firmware. Everything works, including baseband, Wi-Fi and *#*#SERVICE#*#*... However, it's not so attractive as stock 4.3...
Possible to run this way Doomlord custom kernel (based on stock 205) from stock ROM (PureXT etc)?
RpRAUC said:
Possible to run this way Doomlord custom kernel (based on stock 205) from stock ROM (PureXT etc)?
Click to expand...
Click to collapse
As long as the kernel matches the ROM (phone operates normally when you install the custom kernel as usual), it should be okay...
Is it your plan to keep this TX exclusive, or would you be willing to port this to T?
Great work!
Sent from my LT30p using XDA Free mobile app
Galcactus said:
Is it your plan to keep this TX exclusive, or would you be willing to port this to T?
Great work!
Sent from my LT30p using XDA Free mobile app
Click to expand...
Click to collapse
This patch may work on T without any modification, except for the macro name in memory.h
Has there been any further development on this?
Sent from my LT30p using XDA Free mobile app
Galcactus said:
Has there been any further development on this?
Sent from my LT30p using XDA Free mobile app
Click to expand...
Click to collapse
It's already perfectly working...
In which case, is there any chance of having a guide on how to use this? A few brief steps outlining which files need to be used where, would be greatly appreciated.
(On a side note is there any chance of a version built especially for the Xperia T? I know that there aren't many differences, but it's better to be safe than sorry).
Much obliged
Sent from my LT30p using XDA Free mobile app
Galcactus said:
In which case, is there any chance of having a guide on how to use this? A few brief steps outlining which files need to be used where, would be greatly appreciated.
(On a side note is there any chance of a version built especially for the Xperia T? I know that there aren't many differences, but it's better to be safe than sorry).
Much obliged
Sent from my LT30p using XDA Free mobile app
Click to expand...
Click to collapse
This is a little bit complicated... but I'll try to make a post about this in a few days.
The kernel commits should be the same for TX and T :
https://github.com/updateing/androi...mmit/3d4950e7d3a0cc1549e82fda6c1d961f83e04f4a
https://github.com/updateing/androi...mmit/8843e01fb1b6752768056589a510a2f8985c0884

[KERNELS]Permissive_MM - 815/710/715/810 so far

This is for all the Permissive S2 Marshmallow kernels. Further builds of kernels will go in their own threads.
Make sure to thank @ashyx and @jafangie if you use their kernels.
Permissive_Marshmallow_S2_Kernels​
This will work on the 815/710/715/810 MM. So far
You flash this at your own risk. We are not responsible for anything that happens!!! There's the discaimer. ​
Install instructions:
You MUST HAVE ROOT and TWRP installed to flash this!!
This is for Marshmallow only
Flash kernel then wipe cache and dalvic
Reboot and profit!!
Changelog
815 Permissive Kernel - Stock with init.d support
710 Permissive Kernel - Stock with init.d support
715 Permissive Kernel - Stock with init.d support
810 Permissive Kernel - Stock with init.d support
______________________________
Downloads:
815_Permissive_initd_Kernel engine95
710_Permissive_initd_Kernel engine95
715_Permissive_initd_Kernel jafangie Thank here
810_Permissive_initd_Kernel engine95
XDA:DevDB Information
[KERNELS]Permissive_MM - 815/710/715/810 so far, Kernel for the Samsung Galaxy Tab S2
Contributors
engine95, ashyx, jafangie
Source Code: https://github.com/engine95/exynos5433-MM-NNKernel.git
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2016-05-08
Created 2016-05-08
Last Updated 2016-05-26
extra info
In a rooted explorer, you will need to delete /system/app/SecurityLogAgent. Or you will get a nagging warning.
I think whenever I reboot to recovery the permissive will be gone
Is it possible ?
I see the red line says "recovery is not seandroid enforcing" and apps that needs permissive won't work any more
But about shows permissive
weird ha ?
So I flashed kernel again and apps work ok.
papampi said:
I think whenever I reboot to recovery the permissive will be gone
Is it possible ?
I see the red line says "recovery is not seandroid enforcing" and apps that needs permissive won't work any more
But about shows permissive
weird ha ?
So I flashed kernel again and apps work ok.
Click to expand...
Click to collapse
The latest TWRP has fixed that warning. For recovery.
As for the kernel, it will show "Kernel is not seandroid". That's just wording and doesn't affect anything.
Why you would lose permissive can't happen. But your root could be broken if you flashed 2.65 and higher. Some apps still look for root in /system. So check and see if your app still has root. I'm betting that's the cause of it.
Edit. SU will say you have root. But if you actually use root for the app, it'll say no root. Estrong file explorer is a prime example.
Sent from my LGLS990 using XDA-Developers mobile app
engine95 said:
The latest TWRP has fixed that warning. For recovery.
As for the kernel, it will show "Kernel is not seandroid". That's just wording and doesn't affect anything.
Why you would lose permissive can't happen. But your root could be broken if you flashed 2.65 and higher. Some apps still look for root in /system. So check and see if your app still has root. I'm betting that's the cause of it.
Edit. SU will say you have root. But if you actually use root for the app, it'll say no root. Estrong file explorer is a prime example.
Click to expand...
Click to collapse
Dang so the issue I have had with es was broken root all this time I didn't know, I don't have that issue now but, that would have been nice to know a while ago...lol.
Josephigloe said:
Dang so the issue I have had with es was broken root all this time I didn't know, I don't have that issue now but, that would have been nice to know a while ago...lol.
Click to expand...
Click to collapse
The maker of the app needs to stop using hard-coded paths for root detection.
Most have corrected this. If you have an app that doesn't I urge you to contact the author or use a different app.
As said the Seandroid warning is nothing but a flag and wont affect anything in any way.
engine95 said:
The latest TWRP has fixed that warning. For recovery.
As for the kernel, it will show "Kernel is not seandroid". That's just wording and doesn't affect anything.
Why you would lose permissive can't happen. But your root could be broken if you flashed 2.65 and higher. Some apps still look for root in /system. So check and see if your app still has root. I'm betting that's the cause of it.
Edit. SU will say you have root. But if you actually use root for the app, it'll say no root. Estrong file explorer is a prime example.
Sent from my LGLS990 using XDA-Developers mobile app
Click to expand...
Click to collapse
@Engine95, Hi my friend!
You're so lucky, take a look here http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=t710 .
Concerning T715 I asked for sources to Samsung last Saturday... They just reply to me that they are now in the process of reviewing my inquiry.
Jaf
jafangie said:
@Engine95, Hi my friend!
You're so lucky, take a look here http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=t710 .
Concerning T715 I asked for sources to Samsung last Saturday... They just reply to me that they are now in the process of reviewing my inquiry.
Jaf
Click to expand...
Click to collapse
The 815 source came out in 2 days after I requested it. I was in shock.
I requested 710 a week ago, so you made good time.
I have a feeling 710 source will be tied with the 810. So the 810 MM will probably need to release before I get source.
At least you got it and can move forward now. [emoji3]
Major edit: My bad. I just assumed. Wow
Maybe I should request your source. I'm on a roll. Maybe I should bet it all on black. Lol
Edit #2: Too funny. I just now got the notification from Samsung.
Sent from my LGLS990 using XDA-Developers mobile app
To the 815 users of this kernel. I have 2 questions.
1. Is wifi dropping on reboot? Meaning do you have to sign in each time you reboot? If you do, let me know so I can fix it. I'm taking things one step at a time because I don't know how Marshmallow runs yet.
2. Do you have the nagging security notice? If so, you need to delete /system/app/SecurityLogAgent, in a rooted explorer.
710 users, I have a permissive kernel about done. It was built using 815 source. So I'm gonna need this kernel flogged to death to make sure all is right. I just used the 710 MM defconfig.
Edit: This is in the OP now also. 710-MM-Permissive-Kernel
@engine95
will not let me download from link above or in OP -error on android filehost for 710-MM-Permissive -Kernel unexpected response from server?
rumrunner4000 said:
@engine95
will not let me download from link above or in OP -error on android filehost for 710-MM-Permissive -Kernel unexpected response from server?
Click to expand...
Click to collapse
Try a different server. I just dl'd from the Georgia one and it worked fine.
Sent from my LGLS990 using XDA-Developers mobile app
Update download available now.
@engine95, please create kernel for T810:
http://www.sammobile.com/firmwares/download/71178/T810XXU2CPD9_T810DBT2CPD9_DBT/
Model SM-T810
Model name Galaxy Tab S2
Country Germany
Version Android 6.0.1
Changelist 7767647
Build date Mon, 25 Apr 2016 11:01:57 +0000
Product code DBT
PDA T810XXU2CPD9
CSC T810DBT2CPD9
kutaxov said:
@engine95, please create kernel for T810:
http://www.sammobile.com/firmwares/download/71178/T810XXU2CPD9_T810DBT2CPD9_DBT/
ModelSM-T810
Model nameGalaxy Tab S2
CountryGermany
VersionAndroid 6.0.1
Changelist7767647
Build dateMon, 25 Apr 2016 11:01:57 +0000
Product codeDBT
PDAT810XXU2CPD9
CSCT810DBT2CPD9
Click to expand...
Click to collapse
I need to request source. Then wait til Samsung will release it.
But ya, you'll get one.
Sent from my LGLS990 using XDA-Developers mobile app
rumrunner4000 said:
@engine95
will not let me download from link above or in OP -error on android filehost for 710-MM-Permissive -Kernel unexpected response from server?
Click to expand...
Click to collapse
Worked for me.
engine95 said:
I need to request source. Then wait til Samsung will release it.
Click to expand...
Click to collapse
Hi engine95,
I am stil trying to build from T815_MM my T715_MM!
But I have one issue.
What I do :
1) Update Cross-Compiler
$ git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8
2) Edit the base kernel Makefile to set up my cross compiler.
3) Build the kernel
$ export CROSS_COMPILE=/home/ja/android/arm-eabi-4.8/bin/arm-eabi-
$ export ARCH=arm
$ make exynos5433-gts28lte_defconfig
$ make ARCH=arm -j5
No eror, I have my Zimage
4) Make the new image
$ umkbootimg boot.img
$ mkbootimg --kernel zImage --ramdisk initramfs.cpio.gz --output boot.img
My boot.img doesn't boot at all... I try your T815_MM it boots and bootloop (I think it is normal way )
What I am missing, is there one step more on MM?
Any idea? It was exactly what I did for T715_LL and everything is going well!
In advance thank a lot.
jafangie said:
Hi engine95,
I am stil trying to build from T815_MM my T715_MM!
But I have one issue.
What I do :
1) Update Cross-Compiler
$ git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8
2) Edit the base kernel Makefile to set up my cross compiler.
3) Build the kernel
$ export CROSS_COMPILE=/home/ja/android/arm-eabi-4.8/bin/arm-eabi-
$ export ARCH=arm
$ make exynos5433-gts28lte_defconfig
$ make ARCH=arm -j5
No eror, I have my Zimage
4) Make the new image
$ umkbootimg boot.img
$ mkbootimg --kernel zImage --ramdisk initramfs.cpio.gz --output boot.img
My boot.img doesn't boot at all... I try your T815_MM it boots and bootloop (I think it is normal way )
What I am missing, is there one step more on MM?
Any idea? It was exactly what I did for T715_LL and everything is going well!
In advance thank a lot.
Click to expand...
Click to collapse
It could be a few things. And I'm guessing you're building a "Permissive" kernel.
Just in case, my git is here. https://github.com/engine95/exynos5433-MM-NNKernel.git It uses 815 source.
I didn't see that you did: "make menuconfig" when building your zimage.
Edit: Just save it. You don't need to make any changes there.
As for the ramdisk, use it from the 715 MM kernel.
In "default.prop" add this line. "ro.securestorage.support=false".
Above "# BOOTIMAGE_BUILD_PROPERTIES" I think we have to have this in now, not just for WIFI" I think I needed this to get it to boot. But I'm not positive.
Another problem could be the "defconfig". I tried "L" and it didn't work. I needed to wait for source so I could get it for "M". But this could have been my problem when I first built. Trying to figure things out.
SU might be another issue. I think I used a clean boot.img from the .tar. Don't root it.
Thing is, my ROM has SU built in /system, instead of systemless root. So I'm not sure what that's going to do to you.
When I build 710 or 810 using same source, the zImage does build differently. So they aren’t interchangeable. That was probably the bootloop when you tried that with 815 on 715.
Let me know how it goes. We'll get it figured out.
Please, T810 ?
cedric3 said:
Please, T810 ?
Click to expand...
Click to collapse
Request Opensource Samsung for T810 6.0.1 kernel source, more demand will mean faster source code, which results in a permissive kernel (root )
cedric3 said:
Please, T810 ?
Click to expand...
Click to collapse
I'm cleaning a huge mess I had, from when MM first popped up. I had files scattered across 7 OS's. Testing some different Linux distro's for myself.
Besides that, I've been trying to get a ROM figured out. I either get an unmountable system, or I break wifi and ext SD. 710 isn't a problem because I have that.
Samsung still hasn't posted source for the MM 810. I was waiting for it so I can pull the 810 defconfig.
I'll get you one shortly.
Edit: I've requested 810 source already. Almost a week ago.
Funny, but I'm having an easier time building kernels than Roms now that MM is out.
Sent from my LGLS990 using XDA-Developers mobile app

Categories

Resources