yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II N7105 Android Development] DerTeufel1980:
Just woke up and didn't try anything... Just an idea.

I have noticed git isn't tracking every kind of file permission, just executable/not executable. If one switches branches or pulls own updates from git, permissions get messed up.

Since I noticed this, I am setting file permission of initramfs automatically at compile time. Before this I often had to fight non working initramfs, without git showing changes.
[Galaxy Note II N7105 Android Development] rogersb11:
I don't think I quite understand what you're saying. I do but I don't. I compile the zimage alone. Then I rename it and move it to my unpacked ramdisk folder and recompress them. I'll push my initramfs to git tonight or tomorrow if I crash but I don't pull it from there as I do all work in my local folder so as far as ramdisk git shouldn't have affected my files. As for setting perms through the kernel it's at compile time I'm not exactly sure how to do so as I just modify ram and config directly
[Galaxy Note II N7105 Android Development] absinthesummer:
That's excellent information, thanks!
[Galaxy Note II N7105 Android Development] DerTeufel1980:
I am just setting permissions by using my build script

I'll try again and wait for a longer time
[Galaxy Note II N7105 Android Development] DerTeufel1980:
Oh well, installing the recovery from first post didn't help much, as it lacks f2fs support and I couldn't mount the sdcard anymore.

Waiting for a longer time also didn't change a thing. Device was sitting at Samsung splash for 5 minutes.

Btw, you should compile the recovery boot.img without sensorhub drivers. This avoids unneeded flashing of sensorhub firmware if the sensorhub version of normal kernel and recovery differs.
[Galaxy Note II N7105 Android Development] rogersb11:
As I said f2fs was killing my dual boot. Three builds and hadn't had much time since. I'll attempt to fix it next day or two. And thanks for the tip on the sensorhub. Can u disable that directly in my recovery source or would device to device be better?
[Galaxy Note II N7105 Android Development] DerTeufel1980:
Yes, I know your recovery doesn't support f2fs, just didn't think of it when trying.

You need to disable sensorhub driver in your kernel's defconfig when building recovery
[Galaxy Note II N7105 Android Development] Giopon:
Tried new version 1.8. Set zz yank battery. Great, very low use of battery, and it is smooth. The better kernel I used from kit kat advent
[Galaxy Note II N7105 Android Development] rogersb11:
Thought I'd mention my tw rom is still booting without issue. I've looked at ram from dn3 but don't really see the issue. [MENTION=4196889]DerTeufel1980[/MENTION] saw it wasn't booting on yours either, any luck
[Galaxy Note II N7105 Android Development] rogersb11:
I'll upload tonight or tomorrow with the fixed charge values, ugh. Also my charging while off is working on both tw and cm11. Added commit to see if others are helped courtesy of [MENTION=4021423]ketut.kumajaya[/MENTION]. I love stweaks but sometimes it is boot l not setup friendly and then blows up lol. Need to learn how to build my own app. Anybody with experience? I'm sure I can handle it. Have to almost build stweaks anyway. Also upload will place existing lights binary in additional folder to allow at least turning them off in aosp. Tw has to issue and apparently new tw lights are causing the aosp issue
[Galaxy Note II N7105 Android Development] DerTeufel1980:
Yeah, strange stuff. Dn3 is booting fine for me on my kernel, but it doesn't work for others. Maybe I broke booting with ext4...I am using f2fs

Edit: just read in your previous post about lights binary. What's the problem with it between aosp and Samsung?
[Galaxy Note II N7105 Android Development] jlmancuso:
Maybe try synapse to control your kernel instead of stweaks.
[Galaxy Note II N7105 Android Development] rogersb11:
Not sure, just what i was told. Think it's just the directory tho. The binary i added was already there in cm in the SAME folder except i named it HW and then the shut off switch works for hardware lights. That makes no sense to me but it works lol. Before the settings did nothing. the TW portion is fine, timeout works as should. Won't matter, I'll add led control
[Galaxy Note II N7105 Android Development] DerTeufel1980:
Why did you add the binary? Wasnt the one included with the rom working?
[Galaxy Note II N7105 Android Development] rogersb11:
Switch wouldn't work. Idk
[Galaxy Note II N7105 Android Development] DerTeufel1980:
Sorry, i try to understand the reason, but i dont know which switch you are talking about
[Galaxy Note II N7105 Android Development] rogersb11:
OK sorry. This one. No idea why but with binary it works even tho binary is installed. Strange for sure
[Galaxy Note II N7105 Android Development] ketut.kumajaya:
[MENTION=5554845]rogersb11[/MENTION]

1. CM lights HAL compatibility: https://github.com/kumajaya/android...mmit/9ed9eb0a19519c40fe088a2e4275cfe3e17d2e85

2. SlimKat/non CM AOSP based ROM compatibility: add "ro.zygote.disable_gl_preload=1" to init.cm11.0/default.prop

3. Quick check 1.8 release, with https://github.com/kumajaya/android...mmit/1a2b6e3035b0b4f5740c8a5fdd5d2528d07024c5, low power charging should work on both CM and stock 4.4.2 :good: With https://github.com/kumajaya/android...mmit/97e454051b3364deafcc47a0e76a3a4fae29c356 , compatible to both JB or KK bootloader :good:

4. DN3 compatibility: Check DN3 Mali API version "logcat | grep "API version"". Your Mali driver should be API version 23 older than Mali driver for Tab 3 8.0, API version 29 https://github.com/kumajaya/android...mmit/f00c08f7fb474670c03ae409d01280ceeebd1d79 ;)
[Galaxy Note II N7105 Android Development] rogersb11:
Awesome. I will take care of this this evening. Thanks [MENTION=4021423]ketut.kumajaya[/MENTION]
[Galaxy Note II N7105 Android Development] rogersb11:
Can I get someone to test this on omni? I'm getting ready to test slim. Thanks

https://www.dropbox.com/s/pbpawxtu3dmt09y/Shift-1.9.zip?dl=0

Slim boots. Downloading omni so no sweat. Test test build anyway. Someone may still beat me. Download taking forever. Boots. Next build should support all aosp ROMs. Probably be tomorrow. Touchboost as well. Then f2fs recovery work
[Galaxy Note II N7105 Android Development] fatjoejr2001:
When are people with the n5 modem on TouchWiz going to be able to use this kernel? I just always gets bootloops till I flash back to agni.

Tap, tap says the wicked Note +₩● ?
[Galaxy Note II N7105 Android Development] rogersb11:
I've asked for logs. I looked, should support new bootloader. Not sure why it doesn't. Without a log a have no clue. I don't have new loader and other things need worked on so haven't done much investigating. 2 people reported issues lol. Log will help ☺
[Galaxy Note II N7105 Android Development] barn25:
Problem is nobody can pull the logs if it wont boot. Im running stock 4.4.2 ND3 on T889 with the MD1 bootloader and it wont boot at all. This includes the 1.9 test zip you put together.
[Galaxy Note II N7105 Android Development] rogersb11:
That's not necessarily true. I pulled logs when I set this up when cm wasn't booting. The test zip was just testing additional aosp support to support the rest of the ROMs
[Galaxy Note II N7105 Android Development] barn25:
I see. Wish mine was more cooperative. Its not responding to any ADB commands when its bootlooping.
[Galaxy Note II N7105 Android Development] rogersb11:
Depends where it is in boot. Kernel enables adb whether it's checked in settings or not. Black screen also doesn't been no boot necessarily either. It's older base as well, maybe that is part of it
[Galaxy Note II N7105 Android Development] rogersb11:
Can you flash the kernel and then in as root in terminal run " cat /proc/cmdline" no quotes. Thanks

Anybody with 4.4 bootloader can do this. Two reported booting but no baseband. I need this output as I only have 4.3 loader

Nobody?
[Galaxy Note II N7105 Android Development] rogersb11:
New build, Fixed lights issue. If you flash a new rom aosp and flash the sensor update, after you boot you will need to flash the kernel again I THINK to get the lights working as should be but working here as intednded. Also Omni and Slim are supported going forward as well http://xdaforums.com/devdb/project/dl/?id=8511

Also still need someone with 4.4 loader to run the command from previous post if you want support
[Galaxy Note II N7105 Android Development] barn25:
Still no go. stuck @ the samsung galaxy Note II screen.
[Galaxy Note II N7105 Android Development] DerTeufel1980:
Samsung or aosp Rom? Ext4 or f2fs partitions?
[Galaxy Note II N7105 Android Development] barn25:
Modified 4.4.2 TW rom for T889 Stock ext4 partitions. This is the rom im using. It is based off of N7105 ND3. http://xdaforums.com/note-2-tmobile/development/rom-t2846326
[Galaxy Note II N7105 Android Development] DerTeufel1980:
Are you able to adb shell to the device, to get the logcat?
[Galaxy Note II N7105 Android Development] 32dave:
This is what i get running DSv2 with shift 2.0

# cat /proc/cmdline

cat /proc/cmdline

console=ttySAC2,115200 consoleblank=0 androidboot.selinux=permissive console=ram loglevel=4 androidboot.baseband=mdm sec_debug.level=0 sec_watchdog.sec_pet=5 androidboot.debug_level=0x4f4c sec_log=0x200000@0x46000000 sec_tima_log=0x200000@0x46202000 sec_avc_log=0x40000@0x46404000 s3cfb.bootloaderfb=0x5ec00000 lcdtype=1 consoleblank=0 lpj=3981312 vmalloc=176m oops=panic pmic_info=67 cordon=54299ef48dc33bfcbe77ce6895e50fec connie=SGH-I317M_NA_BM_LTE_OPE_b4698468507a6afbb3c2663bbbb8dade androidboot.emmc_checksum=3 androidboot.odin_download=1 androidboot.bootloader=I317MVLUDNF3 androidboot.selinux=enforcing androidboot.warranty_bit=1 androidboot.sec_atd.tty=/dev/ttySAC2 androidboot.serialno=42f735067686afa5 snd_soc_core.pmdown_time=1000

root@t0lteatt:/ #
[Galaxy Note II N7105 Android Development] barn25:
No just stays @ the logo. all ADb commands return either blank or no device found. So i revert to the shift DB with stweaks.
[Galaxy Note II N7105 Android Development] ketut.kumajaya:
After the booting process failed, immediately boot to recovery. There may be something in last_kmsg, please give us "cat /proc/last_kmsg" output.
[Galaxy Note II N7105 Android Development] rogersb11:
And you had no baseband/unkown baseband correct? Can you or anyone with that issue please try this and report? Thanks

https://www.dropbox.com/s/hokyt3pzxawy18s/Shift-2.0.zip?dl=0
[Galaxy Note II N7105 Android Development] 32dave:
no it showed a baseband. I misunderstood i thought you needed that info
[Galaxy Note II N7105 Android Development] rogersb11:
Can you test this?

https://www.dropbox.com/s/hokyt3pzxawy18s/Shift-2.0.zip?dl=0
[Galaxy Note II N7105 Android Development] terpin32:
Just hangs at the note 2 screen
[Galaxy Note II N7105 Android Development] rogersb11:
Immediately boot to recovery and "cat /proc/last_kmsg" after the boot failed.
[Galaxy Note II N7105 Android Development] nelly_85:
So is v2.0 good to go...or is their still issues?
[Galaxy Note II N7105 Android Development] ztotherad:
shift 2.0 is running amazingly on omni, so go ahead and take it for a test drive! shift into overdrive, bro!
[Galaxy Note II N7105 Android Development] Bakano:
That was REALLY cheesy....

I liked it a LOT =D hahahah

~~~~~~~~~~~~~~~~~~~~~~~

Thank you rogersb11 =)

http://xdaforums.com/showthread.php?t=2869741
[Galaxy Note II N7105 Android Development] ztotherad:
aha, what can I say? i'm just the cheesy kind of guy! You should ask my gf, lol
[Galaxy Note II N7105 Android Development] rogersb11:
Lmao, nice
[Galaxy Note II N7105 Android Development] ArmStrongDickPunch:
Anything special I need to do to before flash this kernel when coming from Agni kernel? Besides wiping cache partitions and dalvik cache?

Thanks
[Galaxy Note II N7105 Android Development] :
I'd clean init.d folder of everything except super user
[Galaxy Note II N7105 Android Development] ArmStrongDickPunch:
How do I clean that folder from recovery?
[Galaxy Note II N7105 Android Development] :
You can use agni script cleaner zip in recovery but I usually just use a root explorer and delete them manually before booting to recovery
[Galaxy Note II N7105 Android Development] rogersb11:
I meant to add this to the install script. It'll be there next version. Not quite ready yet, touchboost, mdnie hijack, quick wakeup (from Motorola) GPU clock and voltage and working CPU voltage control as well so far
[Galaxy Note II N7105 Android Development] rogersb11:
Almost ready guys. Working on f2fs and stweaks and it'll be ready. Touchwake 1.2 added as well from [MENTION=4196889]DerTeufel1980[/MENTION] with slide2wake and double tap to wake as well. Also new and improved dual boot tool courtesy of [MENTION=4021423]ketut.kumajaya[/MENTION] with 2gb sparse image support. Meaning it automatically adjusts space needed for 2nd rom up to 2gb. Pretty awesome stuff
[Galaxy Note II N7105 Android Development] rogersb11:
This is a test build if anybody wants to give it a go. Prefer feedback from a more experienced user for now but ANYBODY is more than welcome to give this a go. Touchboost control switch isn't fully working. GPU threshold, voltage and frequency control added. New CPU voltage control interface added with correct values and support. Touckwake, DoubleTap2Wake, and slide2wake control reworked and touckwake timeout settings now adjustable from 0 to 90 seconds with a slide bar so no more individual switches. Still have to add advanced mdnie control. STweaks takes forever too configure and add advanced control so need a little more time. F2fs recovery is about finished, works on 2nd partition but data isn't mounting on primary so it's not ready yet. Let me know how it goes. I'll release official update when mdnie control has been added and hopefully f2fs recovery will be at the same time but we'll see. Daughter weekend so be pretty busy. Enjoy and report

https://www.dropbox.com/s/jqb5vsfi5nlat3x/Shift-2.7.zip?dl=0
[Galaxy Note II N7105 Android Development] :
I'll give it a run once I get the kids in bed. I've been playing compiling a kernel myself with a linux program the eteam gave me. You have my ultimate respect now lol, kernels are dam hard
[Galaxy Note II N7105 Android Development] jlmancuso:
I am downloading now. Will let you know how it goes for sprint phone.
[Galaxy Note II N7105 Android Development] rogersb11:
Lol, well they just have to be Perfect or it won't compile or boot lol. Can be an absolute hassle at times when it comes to some of these coveted features lol

Cool, once I finish up with stweaks I'll compress with Sprint ram and upload, just didn't see the point until then
[Galaxy Note II N7105 Android Development] :
Couldn't get it to boot on latest dn3 again on the n7105. Stweaks got installed though, was still there when I reflashed agni. I just got black screen again. The last kmsg any use?
[Galaxy Note II N7105 Android Development] SIGMAxB:
You did flash stock kernel (the one that came with the rom) before.?
[Galaxy Note II N7105 Android Development] SIGMAxB:
You did remember to flash stock kernel (the one that came with the rom) before.?
[Galaxy Note II N7105 Android Development] ztotherad:
from what I've read I may have to cherry-pick some of the features that you've included thus far!
[Galaxy Note II N7105 Android Development] rogersb11:
Worth a shot, I'll take a look if you upload it
[Galaxy Note II N7105 Android Development] :
I came from agni but cleaned my init.d folder first. Wouldn't have thought flashing stock kernel first would make much difference, it sounds like an issue with the rom more than anything but the original release of shift worked fine
[Galaxy Note II N7105 Android Development] :
Here you go

https://copy.com/eXai1XGgUvMIQZR

Anything I can do to help just hit me up. Really would like to know the issue with DN3
[Galaxy Note II N7105 Android Development] jlmancuso:
[MENTION=5554845]rogersb11[/MENTION] Hey before I changed anything I went over the ramdisk and noticed that on this version you are using the same cache partition for both primary and secondary roms. Is that a new change or a mistake?
[Galaxy Note II N7105 Android Development] rogersb11:
Test version as I mentioned but it WILL be a new change once recovery is fully working
[Galaxy Note II N7105 Android Development] jlmancuso:
Okay just wanted to double check before I changed that also. Running it on aosp right now and so far all looks good. I will play with settings tonight and see if I can find any issues. Will also setup dual boot later.
[Galaxy Note II N7105 Android Development] serano0000:
stuck boot logo

hi after i installed shift kernel over dn3 v5 i m having booting issue .i installed room over odin itss booting but now its needing to be always on charge . when i take out cable from charge its again stucking in boot.plss help i have att note2.
[Galaxy Note II N7105 Android Development] DreamFX:
camera reboots the phone for me on shift 2.0. Does this do this for anyone else?
[Galaxy Note II N7105 Android Development] ztotherad:
glad to finally see someone from the CDMA Note 2 side! lol.

No i haven't suffered that at all... is it on Shift 2.7 too?

try either grabbing the last_kmsg or a log.
[Galaxy Note II N7105 Android Development] DreamFX:
Glad to see you as well [MENTION=4221111]ztotherad[/MENTION] i swear you post on every Note 2 forum there is lol. That's a good thing though. I know what a noob post of me. Not posting any details lol. I tried carbon, cm11, and liquid smooth all break the camera for me on shift 2.0. Maybe I'll try 2.7.

I'll report back. The few minutes I used Shift until I noticed the camera was broked this thing is soooo smooth.

Also can anyone explain the need for the AOSP sensor flash? Is this still needed? I flashed with and without it and camera was still broke on 2.0. Never had to flash a separate sensor zip on a kernel before.

---------- Post added at 11:05 AM ---------- Previous post was at 10:40 AM ----------

Does it on Shift 2.7 as well. I can prob provide a log later if needed.
[Galaxy Note II N7105 Android Development] DerTeufel1980:
This patch is missing to prevent that crash

https://github.com/Hellybean/androi...mmit/500c26547307367a6768dad3662170c1c4fabdc7
[Galaxy Note II N7105 Android Development] ztotherad:
I don't use my camera much nor sad to say Shift 2.7 since I'm in the middle of attempting to build my own kernel, lol.

but I'll definitely check it out and see if it breaks my camera on CM11.

---------- Post added at 11:09 AM ---------- Previous post was at 11:08 AM ----------

damn DT, I think either a you have clones running around posting on here and your own board or you're just that versatile! lol.
[Galaxy Note II N7105 Android Development] DerTeufel1980:
I am just remembering the commits I made for some specific reason ;)
[Galaxy Note II N7105 Android Development] rogersb11:
Thanks man, I had tried a different camera patch I saw in ffolkes plasma repo but it apparently didn't work lol. Still working on f2fs support in the ramdisk as sammy is cooperating but the recovery itself is done. Good looking out. You happen to know why anything with knox doesn't wanna play nice with my kernel?
[Galaxy Note II N7105 Android Development] Blackfyre:
I can confirm that using TWRP 2.7.2.1 & with DN3 ROM, the phone always sticks to the Samsung boot logo and won't go past with any version of Shift Kernel (while both Devil and Agni work fine). Just as [MENTION=1097804]sawdoctor[/MENTION] mentioned.
[Galaxy Note II N7105 Android Development] DreamFX:
Thanks for confirming.
[Galaxy Note II N7105 Android Development] rogersb11:
I already added this to kernel earlier today. Going out tonight so I'll upload it later with the camera fix
[Galaxy Note II N7105 Android Development] serano0000:
i m having battery problem after i installed shift kernel my sgh i317 ahile its in charge i can flash roms and i can use them when i took out cable its closing and when i get in recovery mode every time battery percentage is changing what could be the problem and how can i solve .thanks.
[Galaxy Note II N7105 Android Development] DreamFX:
Thank you sir! Can't wait to try!
[Galaxy Note II N7105 Android Development] rogersb11:
I'm not fully understanding what you're saying lol. No battery problems here. Please explain a little better and I'll do anything I can to help with your issue
[Galaxy Note II N7105 Android Development] serano0000:
sorry for my bad english .I have had dn3 rom for my sgh i317 then i have flashed shift kernel but it didnt boot i mean it didnt pass sasung note2 logo .then i have wiped and reinstal stock kernel but it keep n and i have restored my backup saberkat rom .i could do all this thing while my phone on charge when i took it off charge its closing and not opening like battery weak .But i can open recovery with the same batter without problem and every time i have reboot to recovery barttery percentage is changing .thanks .

.
[Galaxy Note II N7105 Android Development] jlmancuso:
Sounds like symptom of battery going bad. A recovery draws very little current from the device while a rom will put a big strain on it. If the battery can not provide the required power than issues arise. Biggest clue is that it is fine while connected to chatger which is giving your device the power you need.
[Galaxy Note II N7105 Android Development] serano0000:
if it wasnt ok till i flashed shift kernel i would think same thing but everything changed after i flashed it ,

thanks.
[Galaxy Note II N7105 Android Development] jlmancuso:
Well go back to other kernel and make sure it is not doing it there now. Things have a way pf happening od wierd times and may be unrelated to the issue. I have not had this problem and so gar no one else has either. Not saying it is just you only saying so far only you have had this problem. Got to go through troubleshooting steps to verify the issue is all.
[Galaxy Note II N7105 Android Development] serano0000:
thanks your help .i really dont know what is the problem i have flashe all the kernel options etc,
[Galaxy Note II N7105 Android Development] jlmancuso:
Not clear on your reply. Does flashing a different kernel (not shift) fix the issue.
[Galaxy Note II N7105 Android Development] serano0000:
i have flashed stock kernel agni kernel but nothing solved

is there a way complete clean ? I have wiped all way .
[Galaxy Note II N7105 Android Development] rogersb11:
Odin is only real clean way. No issues here
[Galaxy Note II N7105 Android Development] serano0000:
How can i clean with odin ?
[Galaxy Note II N7105 Android Development] jlmancuso:
Looking more like battery is the issue. Do you have a friend or anyone who has any n2 version that you could borrow a battery from for a couple of mins to try? Willing to bet that it will solve the issue.
[Galaxy Note II N7105 Android Development] serano0000:
i will try it . thanks i hope it can work .
[Galaxy Note II N7105 Android Development] jlmancuso:
Sometimes it happens suddenly but most times there are signs users dont even notice. Like battery life is shorter and shorter but most think it is there usage habbit or kernel/rom just using more power. Anyways enough from me about a topic unrelated to the OP.
[Galaxy Note II N7105 Android Development] serano0000:
thanks
[Galaxy Note II N7105 Android Development] serano0000:
Hi

---------- Post added at 08:47 PM ---------- Previous post was at 08:44 PM ----------

Hi i discover that

i installe zen arcades stocok mk6 rom with odin i wiped everything (i did all these things while my phone on charge if not its closing )and i didnt flash again shift kernel after i lived problem.but when i go sytem information to check kernel etc version i saw at thereat the last bottom part says shift something and rogers11 team how can i delete it i m sure something from shift kernel is still there

---------- Post added at 08:47 PM ---------- Previous post was at 08:47 PM ----------

Hi i discover that

i installe zen arcades stocok mk6 rom with odin i wiped everything (i did all these things while my phone on charge if not its closing )and i didnt flash again shift kernel after i lived problem.but when i go sytem information to check kernel etc version i saw at last bottom part says shift something and rogers11 team how can i delete it i m sure something from shift kernel is still there