yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 General] gekkehenkie11:
BTW, I just saw this post by fattire, regarding the s-pen: http://xdaforums.com/showpost.php?p=57624516&postcount=182

I just downloaded 'markers' from the app store and it works immediately in CM12, no need for drivers or anything :) I don't think I'll use the s-pen a lot but it's nice to have a sketchboard available whenever you like :) Really, can't think of any reason left to use TW :)
[Galaxy Note 4 General] SalmanAndrew:
yeah i just tried Philz, but to no avail, ive gone back to my original rom and am gonna wait for a new update. but thanks anyways mate.
[Galaxy Note 4 General] Preaper:
OK, I'm pretty mad right now. Using my source I don't have a functioning mobile network connection.

mhi.ko compiles and is copied to the ROM. mdm_helper is started. libtime_genoff.so is available. All the damn libs are there. I spend soo much time on this. I'm taking a break.

It must be a ramdisk issue. My ramdisk is HUGELY different from the ramdisk Gekkehenkie uses - but all the important parts are the same - for so far I can judge. I have no idea where Gekkehenkie his ramdisk originates from - i guess he copied it from stock?

We don't want that. We want a functioning cyanogen build framework so we can build nightlies/weekly's eventually. So the build system needs to be able to spew out a correct ramdisk.

I spend hours trying to create a installable .zip that allows me to overwrite my ramdisk for testing. But is just doesn't work. CWM never wants to install my .zip. I signed it and everything - but still no luck.

If anyone else wants to give it a go, here is the roomservice.xml

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="jaapp/android_kernel_samsung_trltexx" path="kernel/samsung/trlte" remote="github" />
<project name="jaapp/android_device_samsung_trlte-common" path="device/samsung/trlte-common" remote="github" />
<project name="jaapp/proprietary_vendor_samsung" path="vendor/samsung" remote="github" />
<project name="jaapp/android_device_samsung_trltexx" path="device/samsung/trltexx" remote="github" />
<project name="jaapp/android_hardware_qcom_mhi" path="hardware/qcom/mhi" remote="github" />
<project name="Slayher/android_device_samsung_trltetmo" path="device/samsung/trltetmo" remote="github" />
<project name="Slayher/android_device_samsung_trltespr" path="device/samsung/trltespr" remote="github" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="github" />
<project name="CyanogenMod/android_hardware_qcom_display" path="hardware/qcom/display-caf/apq8084" remote="github" revision="cm-12.0-caf-8084" />
<project name="CyanogenMod/android_hardware_qcom_audio" path="hardware/qcom/audio-caf/apq8084" remote="github" revision="cm-12.0-caf-8084" />
<project name="CyanogenMod/android_hardware_qcom_media" path="hardware/qcom/media-caf/apq8084" remote="github" revision="cm-12.0-caf-8084" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" />
</manifest>
[Galaxy Note 4 General] gekkehenkie11:
Hey Preaper, hehe been there, done that ;) All this can be very frustrating at times, been banging my head against the wall more than once the last 2 weeks ;) Anyway about my ramdisk, I used standard CM12 ramdisk and then changed it basically to load mhi.ko and manage the mdm_helper service, I don't think I changed a lot ? But yeah of course this needs to be automated, haven't looked into it but it shouldnt be too hard to just change the init files that it puts into the package I think ?

Anyway, about making a correct ramdisk, it really couldnt be easier with Android Image kitchen: http://xdaforums.com/showthread.php?t=2073775

I use the windows version, you just throw a boot image at it, it decompiles everthing into a ramdisk and kernel directory, you edit files however you like and then simply run 'repack image', and it fixes up a new boot image for you, couldn't be easier, I really love this tool :) Then flash it with an app like 'flashify' (love that one too btw, I paid the full version, I always enjoy paying developers for well written tools). Really easy process with those 2 tools :) I hope this helps, if you need anything else, just let me know man !
[Galaxy Note 4 General] DBDPCG:
Ive been there mate , just today , flash stock tw for indian 910G from sammobile with odin , flash philz touch recovery with odin, in philz recovery flash ael kernel, then the new rom and then the blobs , boot took around 20mins but now there's no problem at all

Also the only thing that I'm missing from stock is the camera , already tried to flash but app doesnt work , hopefully a kind dev will port it though but for now , I'm more than happy with what I've got , at least there's no keyboard lag
[Galaxy Note 4 General] _Sofos_:
First of.. congrats to all of you for not giving up after this whole "trial&error" period, especially [MENTION=3296134]gekkehenkie11[/MENTION] who started the whole try by himself.. thank you all tho, learned alot through this thread. :)

[OT]I started reading about MultiROM here and how it can be ported to other devices but I needed your build, your kernel and a TWRP recovery to start messing with it. It seemed handy while using it with my S4.

More info about the project here and about porting it here.

I know it's off topic but since most of the devs for this device are checking this thread, this is my best chance of getting someone else interested in the near future..[/OT]
[Galaxy Note 4 General] DBDPCG:
Download links for lates release from mega thanks to alpaone for upload :

cm-12-20141217-modded-trlte.zip

Blobs.zip
[Galaxy Note 4 General] Alpaone:
I'm not trying to be nitpicky here but I think 'LTE' should be shown instead of '4G' for LTE.

Carriers like T-Mobile US or AT&T do funny stuff leading to confusion like naming their HSPA+ network 4G.

On the other hand would '4G' technically be everything starting 3GPP Release 10, therefore LTE Cat. 6, which the SM-910F does in fact support. But since most carriers do not support LTE Cat. 6 yet, I would suggest just showing 'LTE'.

Except when there would be a way to start showing '4G' when the device is connected to a LTE Cat. 6 network (I highly doubt this). That would be awesome :D :p
[Galaxy Note 4 General] utopiate:
yeah, I use multirom on my nexus 7 so it would be great having it on the note 4, maybe make a request thread in the dev forum?
[Galaxy Note 4 General] fattire:
There is an overlay for that. And speaking of overlays...

Hey gekke and anyone else doing a carrier/network related port-- one thing to consider is that you may have an overlay or two that is particular for your carrier. If you look at the shamu overlay, you'll see a zillion of those weird and confusing values-mcc###-mnc###.xml folders. If I'm not mistaken, this is where you can configure particular settings if the phone happens to wander into a particular mobile network. The "mnc" I think stands for mobile network codes.... we might want to adopt shamu's settings for these networks as I see they set up some interesting settings for MMS and other things, depending. Example-- Tmobile US is values-mcc310-mnc260/

Can someone maybe take this on and submit it to Slayher's repo? If no one does, I guess I will :/

No one ever pays me in gum.
[Galaxy Note 4 General] snowblind2142:
Downloaded the rom but am struggling to get the blobs. Could you please confirm link is working?

Thanks,

Edit: working fine now, strange. Sorry for disturbing.
[Galaxy Note 4 General] Preaper:
Maybe I shoudn't be doing this work when I should be sleeping. :) Thanks for that flashify tip! I never considered this, since my previous devices where HTC devices which secure the boot partition from tampering (you could only flash the boot partition via the fastboot tool). I have been using AIK (for linux) - it works like a charm. Just couldn't get the boot.img flashed.

I'll continue on my the adventure. I'm pretty sure it's something obvious and I'm going to hate myself for it later :)

Hey fattire - my long term goal has always been to merge stuff back to Slayher. That means setting up everything the right way with overlays etc.

The short term goal is to get a build environment that works :)

---------- Post added at 11:25 AM ---------- Previous post was at 11:07 AM ----------

Ok, finally figured out why my ramdisk was so different from Gekkehenkie his ramdisk.

Because it is not. I was comparing my ramdisk to a ramdisk.rar Gekkehenkie posted earlier. That one was hugely different. So that must have had a different source.

At least now I know I need to look somewhere else.
[Galaxy Note 4 General] :
is there any working version for exposed for LP yet?

btw, if anyone misses the side menu window from Touchwiz, download pie control from the play store it does the trick.
[Galaxy Note 4 General] Batfink33:
No, Xposed does not work on

lp yet and it doesn't look like it will for a while.
[Galaxy Note 4 General] Preaper:
from adb shell:

# getprop | grep ro.baseband
[ro.baseband]: [mdm2]

that should be mdm instead of mdm2...

---

Or even better - lets start mdm_helper on trigger ro.baseband=mdm2 as well..
[Galaxy Note 4 General] gekkehenkie11:
Yeah I read that more than once here, that one of the Samsung apps/features people actually do like is the Cam. What is it that you like about it ? I actually like the google version quite a lot (with those features you swipe into the screen from the left).
[Galaxy Note 4 General] gekkehenkie11:
Hehe, it makes sense now, I didnt understand why you said I changed so much, I barely changed anything, just modem stuff ;) Yeah that first ramdisk I posted was indeed hugely different, it stems from that period I was messing around with everything big time to get the modem up. Man things have gone fast eh, not too long ago we didnt have modem, now everything pretty much works, albeit a few bugs left (I ran into that same issue yesterday some people reported, when the interface/scrolling goes (micro) stuttering, just putting the screen on/off solves it. Unfortunately I didnt make a logcat dump, so will need to wait till it happens again). Really loving the ROM itself, it's so much more stable already than my S4 Exynos ever was, but that's the reason I bought a snapdragon in the first place ;) Thanks to the people involved, especially [MENTION=3041959]fattire[/MENTION] and [MENTION=2457777]slayher[/MENTION], we wouldnt be even near where we are now without you guys !
[Galaxy Note 4 General] Preaper:
Let me bring you into my dilemma

- I have this cm-12-20141217-modded-trlte.zip + Blobs.zip combination. If I flash both everything works fine. I'll call bundle this Gekkie's build from now on.

- I have my own build. There is no working mobile network

- If I diff(look at the differences between) my own ramdisk(that is a part of boot.img) and gekke's ramdisk there are NO difference. 0. Nada. Nothing is different.

- If I flash my own build and apply the boot.img form gekke's build I still have no mobile network

Conclusion: the mobile network problem is NOT a ramdisk/kernel issue

- If I look exactly at all the blobs gekke's build uses (that is inclusive the blobs.zip) and copy the same blobs from my stock N910F image I downloaded from sammobile.com to the /system partition is still have no network

- Some binaries are different in content. That is probably caused because I have compiled my own kernel with some fixed from slayher his repo. But I believe also some, non compiled, stock binaries ar different

Conclusion: it's not a issue of missing binaries. Maybe it's an issue of having different stock binaries

- If I diff my system partition and gekke's partition nothing of interest shows up. Still, I tried to copy all the differences. Nothing helped.

Concusion: It's not caused by a difference in the system partition

- If I flash my own build, and apply gekke's binaries (flash his blobs.zip) and wipe the dalvik/ART cache the device doesn't boot past the boot animation.

Conclusion: Somehow my build is not compatible with gekke's binaries. But why and how?

the mhi.ko module is loaded (shows up in lsmod)

mdm_helper is started (shows up in the proces list)

Strangely enough - I have exactly the same issues Gekkehenkie had with his rom.

This is my logcat:

I/mdm_helper( 346): 1 supported modem(s) found
I/mdm_helper( 346): Setting up mdm helper device structure
I/mdm_helper( 346): Found private data for MDM9x35
I/mdm_helper( 346): ESOC Details:
I/mdm_helper( 346):	Name:MDM9x35
I/mdm_helper( 346):	Port:/dev/esoc-0
I/mdm_helper( 346):	Link:HSIC
I/mdm_helper( 346): Device configuration loaded
I/mdm_helper( 346): Starting MDM helper
I/mdm_helper( 346): Creating thread for MDM9x35

In the working CM build the next 3 lines would follow, but that never happens.

I/mdm_helper( 346): Starting MDM9x35
I/mdm_helper( 346): MDM9x35 : switching state to POWERUP
I/mdm_helper( 346): MDM9x35: Initializing environment

Exactly the same issues as Gekkehenkie had. Except that in his case loading the mhi kernel module was the solution. In my scenario the module is already loaded.

mdm_helper is a proprietary blob - I can't debug it.

I'm at a roadblock.
[Galaxy Note 4 General] Beukhof1:
Can we expect nighty builds any time soon now that the ROM is working this good?
[Galaxy Note 4 General] gekkehenkie11:
[MENTION=346046]Preaper[/MENTION]: remember that that first mdm_helper output needs to appear twice in the output: one time it's mdm_helper and one time it's mdm_helper output. If you dont see it twice, then just edit the string you see like:

" supported MAINm(s) found" in mdm_helper and " supported PROXYm(s) found" in the proxy version, so you will see which of those two is up. That's how I found out that in my case it was only the proxy active.

And btw in my case it wasn't the mhi.ko that wasnt up and running, but that mdm_helper service (only mdm_helperproxy was active)
[Galaxy Note 4 General] gekkehenkie11:
We first need to have a working branch that auto syncs with Slayher's work, it seems Preaper is quite far. Yesterday [MENTION=3041959]fattire[/MENTION] suggested I should join in on IRC: http://webchat.freenode.net/?channels=#cm-note4&uio=MT11bmRlZmluZWQb1 to discuss setting up our trlte branch, however I suggest [MENTION=263774]Reaper[/MENTION] does this, since he's been working on the branch already and is more experience with git than I am (Although my profession is dev, I'm much more of a hacker than dev ;)). And then, I don't know how it goes, cause all this is 'unofficial', I don't know if we can support an 'unofficial' branch via cyanogenmod with OTA updates via their servers ? I guess so ?
[Galaxy Note 4 General] :
[MENTION=3296134]gekkehenkie11[/MENTION] battery consumption is really bad atm and I can't figure out why. I got barely 2.5 SOT. greenfiyed most of the apps and theres no unusual wakelocks..how's your battery drain?
[Galaxy Note 4 General] Beukhof1:
My battery is fine.
[Galaxy Note 4 General] :
its not while the phone is idle but while using it. I underclocked to 1.9 instead of 2.6 to help with the heating of the phone(which helped a lot btw) but even after doing that, the battery drains really fast while using wifi/whatsapp/calls. same configuration gets me about 4.5 SOT with touchwiz. :(
[Galaxy Note 4 General] pbedard:
Hacr u guys ever messed with sprint yet
[Galaxy Note 4 General] gekkehenkie11:
Yeah I think the same thing, without a working modem it cant get at time of day, so I don't that's the problematic part in your log, it must be something else ... Quite weird though that you have these problems...
[Galaxy Note 4 General] gekkehenkie11:
No problems here. The only drain I had was when using Ano dev's package, but that was most probably because he used 910T kernel. On my own package everything is fine. Only thing I could suggest is to wipe everything to a pristine state (factory reset, dalvik cache wipe etc) and then re-install it again.
[Galaxy Note 4 General] Preaper:
Yes. Really weird. Obnoxiously weird.

Can you send me your device configs ? (trlte-common and trltetmo i believe you use)

Just zip it up, load up it somewhere. I want to diff it to the last bit. And when I find what i did wrong, and then I'm going to print out the difference and stick it on a rocket and blow it to 2015.
[Galaxy Note 4 General] gekkehenkie11:
Haha :) sure mate no problem, hold on ...
[Galaxy Note 4 General] Preaper:
I never did a "Make clean" / "Make clobber" / "Make spaghetti" because that sets you back for hours and has way to many carbs.

Let's try that as well...
[Galaxy Note 4 General] gekkehenkie11:
Aah !! I really think this is going to be your problem ;) You didnt do that neither after replacing the kernel ?

Anyway uploading my files now ...
[Galaxy Note 4 General] Preaper:
No no, I did do that after replacing the kernel. ... I think :cyclops: Just want to be sure, so nuking everything (again).

In the meanwhile, really curious about your config files.
[Galaxy Note 4 General] gekkehenkie11:
Here you go:

http://www.filedropper.com/systemvendorsamsungtar

http://www.filedropper.com/devicetar
[Galaxy Note 4 General] gekkehenkie11:
BTW, [MENTION=263774]Reaper[/MENTION], keep in mind that with my current device tree:

* You still need to manually copy libtime_genoff

* You need to add the mdm_helper stuff manually

* You need to add the mhi module loading manually (it compiles already as part of cm12 now of course).

I guess I need to set up everything correctly and sync it again to Slayher's progress (I saw they have Lollipop 5.0.2 merged), but I was kinda waiting for your tree ;) No hurries though mate, let me know how it works out and if I can help !
[Galaxy Note 4 General] Preaper:
You also have libmm-abl.so which i'm missing. This is not the problem though as I already saw this and copied it in my rom to test.

For the rest - we have the same binaries except that they differ in content! Can you tell me exactly where you got yours from? Which ROM?

Still looking...
[Galaxy Note 4 General] allenjthomsen:
I can build you guys this if you want
[Galaxy Note 4 General] gekkehenkie11:
Regarding binaries, keep in mind that I'm now flashing ano dev's blobs over my own install ;) However that ONLY made a difference regarding the cam, as RIL already worked out of the box on my version (it just needed those mixerpaths for audio). I just took them from my Note 4 default FW, dont have it here though to check version but if you really need, I can flash back stock to find out.
[Galaxy Note 4 General] gekkehenkie11:
BTW, reaper, something that might be related (or not) is that initially I had my RIL up. Then I flashed ALL blobs from ano dev over my own install and RIL just stopped working !! Not sure why but this made no sense to me. I then removed all files with RIL in the name from ano dev's blobs after that, it worked again (so using my own RIL files). But I didnt really get why using ano dev's blobs broke my RIL ...

So In short, the blobs.zip I created based on ano dev's files, are EXCLUDING his ril files.
[Galaxy Note 4 General] jazzypit:
Yes build the rom for 910f
[Galaxy Note 4 General] Preaper:
The more I think about it, the more I'm convinced that the make clean is going to fix it.

I've changed some blobs, which will affects open source software that links to it.

Anyway - the diff didn't show anything special unfortunately.
[Galaxy Note 4 General] albireox:
What is this?
[Galaxy Note 4 General] TraNe15:
Yes please. 5.0.2...
[Galaxy Note 4 General] allenjthomsen:
Its called liquidsmooth rom i posted the photo so Op could see
[Galaxy Note 4 General] jazzypit:
Yes post your ROM please
[Galaxy Note 4 General] :
LS..best AOSP rom. was my favorit rom on my Nexus5 :D
[Galaxy Note 4 General] utopiate:
Go for it ;)
[Galaxy Note 4 General] DBDPCG:
No, don't get me wrong , I like the google camera's interface , I hate every single thing about Samsung's app designs but have to admit colors in photos taken with tw camera look better (cartoonish but better looking) . also I like the realtime auto beauty mode for selfies (again as much as I hate to admit) , photos with google's camera look a bit washed out IMO.

I'm getting pretty poor batterylife as well compared to tw even with underclothing but it's no dealbreaker just that I got used to the 5+ OST
[Galaxy Note 4 General] albireox:
Agree with what you said. Also the default cm12 camera doesn't seem to focus as well. I started using ProCam on this ROM.
[Galaxy Note 4 General] DBDPCG:
Google camera focuses fine , no idea about the cm cam though as I flashed gapps straight after the rom
[Galaxy Note 4 General] AMDPOWERFIST:
Yes plz !!!
[Galaxy Note 4 General] allenjthomsen:
If you guys want i can make LiquidSmooth rom for you guys
[Galaxy Note 4 General] pbedard:
Please man go for it been running a 5.01 build since last night codes a big mess
[Galaxy Note 4 General] AMDPOWERFIST:
Where can we get this ROM from?

Its not on the XDA forums as far as i can see.....
[Galaxy Note 4 General] gekkehenkie11:
Hey Preaper, how did it work out ? I'm just doing a full sync myself. However I'm in doubt as what to do regarding the blobs ... The repo already comes with all blobs so I'm just wondering now, should we even run the extract-files script ? I mean if the blobs in Slayher's repo are correct, it wouldnt be necessary .. Going to test it now anyway that way ...
[Galaxy Note 4 General] SalmanAndrew:
Thanks BUDDY!!!!!! GOT IT WORKING!!!!! CM12 FOR LIFE LOL!!!!! :good::good::good::good::D:D:D
[Galaxy Note 4 General] Preaper:
Hey man, just go for it. Don't wait for me. I still have this weird issue to figure out and way to little time to do so :)

---------- Post added at 08:44 AM ---------- Previous post was at 08:41 AM ----------

The build finished just before I had to go to bed. I'm now at work, can't wait to give it a try this evening. If this doesn't work I'm going to use the blobs from Slayher his repo. Don't want to change to many variables at te same time, because I also want to know the cause of the problem so we can all learn.
[Galaxy Note 4 General] DBDPCG:
Your welcome ,mate
[Galaxy Note 4 General] albertoa97:
Why you don't create a dedicated thread in the right section?
[Galaxy Note 4 General] gekkehenkie11:
Hehe. It was in the right section (snapdragon development). Then people came in complaining that this was not a development thread (beats me, if this isn't development, then what is) and convinced a mod to move it here.

So if you don't think this thread belongs here, convince a mod to move it. Thanks .
[Galaxy Note 4 General] allenjthomsen:
I think it should go in unified development
[Galaxy Note 4 General] gekkehenkie11:
Formost, this is development. I can't think of any other thread on XDA that contains more explicit info on development, more documentation of the development process than this one. Second of all, it's snapdragon only. And I guess you could make a point that it runs on some other snapdragons too than just 910F, so either unified or snapdragon only. But I don't see how this thread belongs in 'general', but that's where the mods think it should be.

Personally I don't care too much where it is, people find the thread anyway, but I can understand that some Exynos peepz think "what does this thread do here, it's got NOTHING to offer for us", and I'd totally agree.
[Galaxy Note 4 General] allenjthomsen:
Yea true bro i feel you ill talk to the mods and see what i can do to get it moved back for you ive always gotten along with them
[Galaxy Note 4 General] :
hopefully your future luquidsmooth thread will be there too ;)
[Galaxy Note 4 General] allenjthomsen:
Got the ok have it in the works for a unified LS

---------- Post added at 08:42 AM ---------- Previous post was at 08:42 AM ----------

Posted in tmobile thread you can test your flashable for data
[Galaxy Note 4 General] TraNe15:
Hey bud. Maybe you should create a new thread under snapdragon development section like "[ROM][UNOFFICIAL]CyanogenMod 11 Alpha" because it's not a R&D only. There is a flashable working ROM here with minor bugs and also you can still use this thread for R&D. :)