yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 General] noterio:
I want to compile Android 5 for the Galaxy Note.

Set up Linux build environment:

1. Download http://elementaryos.org/ and install

2. sudo apt-get install openjdk-7-jdk git gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i38 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386; sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so; echo "export USE_CCACHE=1" >> ~/.bashrc; mkdir ~/bin; mkdir ~/android/distroname; curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo; chmod a+x ~/bin/repo; cd ~/android/distroname

3. repo init -u https://android.googlesource.com/platform/manifest -b android-5.0.0_r1

4. repo sync; source build/envsetup.sh

Copy n7000 files from a working distro:

export rs="rsync -av --delete"

export distro="~/android/distro"

$rs $distro/device/samsung device/

$rs $distro/hardware/samsung hardware/

$rs $distro/vendor/samsung vendor/

$rs $distro/kernel/samsung kernel/

$rs $distro/hardware/ril hardware/

# $rs $distro/hardware/ril/libril/Android.mk hardware/ril/libril/ #(for the BOARD_PROVIDES_LIBRIL)

$rs $distro/device/samsung/galaxys2-common/selinux/uevent.te device/samsung/galaxys2-common/selinux/ueventd.te

# $rs distro/frameworks/opt/telephony/src/java/com/android/internal/telephony/Samsung* frameworks/opt/telephony/src/java/com/android/internal/telephony/

$rs $distro/hardware/libhardware_legacy hardware/

add 'system/media/camera/include' to device/samsung/galaxys2-common/camera/Android.mk in LOCAL_C_INCLUDES

edit device/{n7000,galaxys2-common}/overlay/frameworks/base/core/res/res/values/{config,arrays}.xml and comment out the options added by the distro that it complains about. For me that's "shutdown_reboot_options, shutdown_reboot_actions, config_forceDisableHardwareKeyboard, config_enableTorch, config_deviceHardwareKeys, config_stylusGestures, config_samsung_stk"

lunch full_n7000-userdebug

time make -j8
[Galaxy Note GT-N7000 General] noterio:
The source is online. Here's the command:

repo init -u https://android.googlesource.com/platform/manifest -b android-5.0.0_r1
repo sync

Mine is syncing now.
[Galaxy Note GT-N7000 General] jjamain:
Yes. Let me test once ready....
[Galaxy Note GT-N7000 General] mjrifath:
Me too..
[Galaxy Note GT-N7000 General] raoabdullah:
Meeee tooooooooo...
[Galaxy Note GT-N7000 General] rvkumar:
how to much time to take for building android l for n7000
[Galaxy Note GT-N7000 General] mjrifath:
SAME AS TIME TAKES TO CATCH FISH :p
[Galaxy Note GT-N7000 General] noterio:
Mine still isn't done syncing. :D
[Galaxy Note GT-N7000 General] noterio:
I think maybe the servers are being overloaded from too many people syncing, because I'm getting errors that say "the remote end hung up unexpectedly", and I have to restart the sync.
[Galaxy Note GT-N7000 General] ASMI1:
hey guys i heard google released native android l just yesterday, is this true?

is it possible to port it to n7000 then?
[Galaxy Note GT-N7000 General] noterio:
It's true. I'm going to try to compile it for n7000. If you want to try too, just install Linux in a virtual machine if you don't run it, and use repo to sync the source code. Then we'll go over the steps to get it to work.
[Galaxy Note GT-N7000 General] noterio:
Mine is done syncing. I'm trying to compile.
[Galaxy Note GT-N7000 General] mjrifath:
I am waiting...
[Galaxy Note GT-N7000 General] noterio:
I copied the n7000 files into the tree. When compiling it complains that libril is already defined. There's a libril in hardware/ril, which is the one that comes with Android, and one in hardware/samsung/ril. I removed the stock one, to use the Samsung one. It's still compiling, so I don't know if that worked yet.
[Galaxy Note GT-N7000 General] ASMI1:
thanks for you answer :)

but that's an additionnal work with no touchscreen and Amoled screen experience so i think i will wait for your rom bro :)
[Galaxy Note GT-N7000 General] noterio:
Who said I was giving you a ROM? It's better to teach someone to fish than give them what you catch. Plus why do you trust random strangers with your operating system? I'll load it with a backdoor so I can steal all your bank accounts.

It choked on: tinyalsa_audio/audio_ril_interface

Then I redid the make, and it had a problem with tinyalsa_audio/mixer AUDIO_CHANNEL_OUT_SURROUND

Hmm.
[Galaxy Note GT-N7000 General] backstreetboy:
Will this work https://github.com/JijonHyuni/galaxys2-common/tree/master/tinyalsa_audio? I need to get a Linux vm working.
[Galaxy Note GT-N7000 General] noterio:
Maybe. I have source trees from CyanogenMod, SlimKat, and LiquidSmooth set up, and I successfully compiled SlimKat and LiquidSmooth, so I am trying files from those. We should have everything we need, just need to find the right combo or edit some files to make it fit with the original AOSP code. I don't know enough about Android yet to know exactly what's going on, but I think just having the Samsung specific files should be enough to get it to build, as long as it's configured correctly.

I edited the first post with some basic steps to get the virtual machine ready to compile. Once we figure out the next steps to get it to build I'll add those. Also need to add the busybox and custom recovery files I think, which I haven't done yet. I just wanted to get it to compile with the basic stuff first.
[Galaxy Note GT-N7000 General] ASMI1:
Well i am not an android geek to port or compile roms and builds. i know it's easy to learn but it's hard to master so that will require too much time which i don't have at the moment that's why i will wait for you do all the work LOL :)

and concerning the bank account details theft, well i don't have a bank account ;)
[Galaxy Note GT-N7000 General] noterio:
Is anyone else trying to build this? The latest error is about there being no system/camera_vendor_tags.h
[Galaxy Note GT-N7000 General] jjamain:
I saw news that omnirom team successfully compiled lollipop...hopes it come to gt-n7000 as well.
[Galaxy Note GT-N7000 General] XxPixX:
OmniROM has stated many time that they will most probably not release lollipop for the note. However, recently they said (not sure if trolling) that they will support the s2 and they also recently said they may release it as a proof of concept (ie. expect nothing to work but you'll have it).

twitter:

The n7000 is even worse off than the i9100. I'm not sure if [MENTION=2225255]herna[/MENTION] is still a maintainer for our device and I don't think there is anybody else who would help.
[Galaxy Note GT-N7000 General] ahmedelhofy:
I've an s2, I'm not sure what OMNI ROM is going to do... Each on of them is saying completely different statements... I've no idea what's going on with em !!
[Galaxy Note GT-N7000 General] tysonraylee:
I think its time people realise that our devices are old and not able to run newer versions of software properly anymore. Let's be thankful to all the devs and members on xda and all other communities where they supported N7000 even when Crapsung decided to ditch us long ago. If it weren't for these guys we would still be on ICS or rather GB :) It doesn't matter who is saying what but we need to see the reality here and move on and if not, take what you get and be thankful. Its not that I wouldn't want a 5.0 ROM but seriously our devices wouldn't be able to run it and even if it did it will be with issues (look at kitkat). The point is we should not be able to run these updates in the first place but we did :D So be glad and move on :) I would say if you really want to taste the real lollipop go buy a nexus or a device that currently supports it :)

Hope is a good and a bad thing :)

REVENGE SOLVES EVERYTHING
[Galaxy Note GT-N7000 General] Lister Of Smeg:
Hi All,

True, our devices ARE OLD now.... But isn't that the whole idea of LolliPLOP ;) lol... Much like KitKat did before hand, and try and build bridges between devices that were not being kept up to date by their OEMs. Sure, Google would rather the OEM make the official build of KitKat, or Lollipop for their devices. But at the end of the day, they are wanting to see higher percentages of the latest OS running on most phones. Like how Apple has (and now more so, by forcing it on devices that can't really cope with it properly).

So wasn't KitKat and Lollipop, main goal supposed to run on older hardware?? I don't consider the N7000 to be that old, really... Sure, we've seen the Note2, Note3, Note4 and soon the Note5 during this time... But that is just a number, a number that Samsung try to PUSH OUT rapidly to keep up with interest... The hardware is still more than upto the job I believe....

My very first Android phone was the ZTE Blade, which officially came with Android 2.0 (Eclair?), I believe it may of received an official Android 2.1 (FroYo) release, however I went straight to custom rom. Since then, it has had Android 2.3 (Gingerbread), Android 3.0 (Honeycomb, but not really usable), Android 4.0.x (IceCream Sandwich), Android 4.1.x / 4.2.x / 4.3.1 (JellyBean) and currently Android 4.4.4 (KitKat) and rumour has it, if people can keep the Arm6 project alive, and can pull it off, they are gonna try for a back-port of Lollipop on this device too...

So I don't believe the phone is too old in itself, it's just with time, as with everything... People sadly move on... :( It would be great if we still had those in the know, who could carry on the great work and keep our devices alive for as long as possible... But agree with, like you said... We must all be grateful for the ride and the great work that others have already given us previously... :D :D I wished I joined this party (device) sooner.... Money, will always be my limitation... :( lol
[Galaxy Note GT-N7000 General] kazuna69:
Yeap, money always the limitation,

but I never lose hope, I knew I device is great enough to bear through all journey to kitkat,

and I do believe we can get there, to lollipop.

=)
[Galaxy Note GT-N7000 General] KalZakath:
Hello, i think we should wait for 9100 5.0 - hardware is similiar so it will be easier to cook lollipop for us to.
[Galaxy Note GT-N7000 General] noterio:
I don't understand how Android works, so maybe someone can explain to me why it would be a problem getting 5.0 to run on it? If we already have the device specific files, such as drivers and kernel, then isn't the rest of the operating system independent of that? It's like a Linux distro, once you have the drivers and kernel for your hardware, you can run any desktop environment and apps. We already have the Linux core, and to me the Android layer on top should run independent of that.

To me it seems like it could've been compiled in hours after release if someone understood the file layout of Android and how it all fits together. I am clueless, and am busy, so it will take me a while to get familiar with everything. But I don't understand why it wouldn't work.

I'll look at that latest error preventing it from compiling and try to continue progress with it today.
[Galaxy Note GT-N7000 General] tysonraylee:
I am sorry "couldn't work" is not correct and I apologize for writing so.

I was trying to point out the fact that N7000 struggles to keep up with new versions and the features in it. Anything more than a few cherry picks and the device starts to lag, becomes extremely hot etc etc (ex: dynamic status bar) I am pretty sure you would be able to compile and run 5.0 on N7000 and that would be awesome but it lacks the power to run these updates smoothly :)

But we wouldn't know that for sure without trying :)

REVENGE SOLVES EVERYTHING
[Galaxy Note GT-N7000 General] noterio:
Well, help work on it and we can see! :)

I would've bought a Galaxy Note 4, but I usually use the minimum brightness setting, and personally I don't like how it's using PWM, which can cause strobing effects at low brightness. The n7000 has icky black crush problems that cause big grey blotches, but at least the screen doesn't strobe. I haven't tested it in person though, so maybe it's not that bad.

I'll probably keep using the n7000, and the official firmware is too far left behind, and the custom 4.4 ones are okay, but I haven't found a perfect one. That is why a plain 5.0 sounds appealing to me. If it is as fast as 4.4, and it can be made stable on the n7000, then I can edit only the important customizations I need and it should keep the Note running as a useful device for a while longer.
[Galaxy Note GT-N7000 General] backstreetboy:
BS there are phones with much lower specs and running Kit Kat perfectly fine. Even Samsung's own Galaxy Pocket device. We should blame Samsung and their crap Dev support.
[Galaxy Note GT-N7000 General] tysonraylee:
Oh! I wish I could :( but I have no knowledge on android other than flashing it :)

I pray that some kind and intelligent soul come for help

REVENGE SOLVES EVERYTHING
[Galaxy Note GT-N7000 General] noterio:
Making progress! I've got a new error now, about how ld cannot find -lpthread
[Galaxy Note GT-N7000 General] backstreetboy:
Since Omnirom is now Android L will it not be better to compile from their sources?
[Galaxy Note GT-N7000 General] ThaiDai:
:eek:
[Galaxy Note GT-N7000 General] Sajito:
Did you find a solution for that? I'm getting that error too on another device and can't figure it out.
[Galaxy Note GT-N7000 General] noterio:
You can try building another distro like Omni. But here are their n7000 device files:

https://github.com/omnirom/android_device_samsung_galaxys2-common

https://github.com/omnirom/android_device_samsung_n7000

Notice how they haven't been updated recently. So while it might build, it might not until some work is done on those. I'm not sure, maybe I'll try it to see.

I've been too busy to work on compiling Android 5. I don't think I found a fix for that error.

I decided I didn't want to try to hack it together, and instead I'm going to start from scratch using only the AOSP code.
[Galaxy Note GT-N7000 General] KalZakath:
Guys from i9300 succesfully booted cm12. Maybe we should try with their source ?
[Galaxy Note GT-N7000 General] I_android:
guys here we go....Lollipop :)

http://xdaforums.com/showthread.php?p=56718598
[Galaxy Note GT-N7000 General] ASMI1:
Oh my God!!

finally ... thanks man you saved my life!
[Galaxy Note GT-N7000 General] kazuna69:
It was alpha (pre-alpha), I think we can consider working all together with dev by giving them supports, ;)

probably becoming a tester, :victory:

however, I admire your enthusiasm :laugh:
[Galaxy Note GT-N7000 General] ASMI1:
hey this is all what we need; a bootable build :) now it's a matter of time and we will get a beta rom and then stable rom.

i have a good feeling that lollipop will be more stable than kitkat ;)
[Galaxy Note GT-N7000 General] kazuna69:
I couldn't agree more, you're right ;)

to be honest, I truly amazed and I really shocked [MENTION=799465]bauner[/MENTION] and other dev continue giving us all hope, :angel:

I've background of c#, linux, and java, however, I truly admire by their dedication. :highfive:

as for me, I will help, probably by feedback (logcats, etc.) :silly:
[Galaxy Note GT-N7000 General] noterio:
Strange, they skipped the stuff that wasn't compiling, so it didn't have things like working modem, then uploaded and random people downloaded and ran it? I don't see how that's useful. This whole Android scene is the weirdest development world I've seen. I wish people here learned some things from how PC Linux development is organized.
[Galaxy Note GT-N7000 General] Nitephyre:
Some people like 0-day stuff, what's not to understand?
[Galaxy Note GT-N7000 General] cl3ber:
Noterio, do you have some stuff to share with the noobs? With the release notes from omini and the rest of developers saying that will leave the note community, I decided that I want to port android to note by my own and in a future share this work (and how to) with the community.

Obs: sorry for the bad English, I'm Brazilian guy.

Obs 2: I'm a developer (.net platform) if this information help in any way
[Galaxy Note GT-N7000 General] KalZakath:
Is there anybody else than bauner who is working on lollipop for n7000?
[Galaxy Note GT-N7000 General] ahmedelhofy:
Either chill out and wait for it, or build it yourself...
[Galaxy Note GT-N7000 General] xxiCoolxx:
could anyone build for me and post a download link as i'm kinda a noob and don't know how to port roms

TY :D
[Galaxy Note GT-N7000 General] noterio:
Set up a virtual machine, and follow the guides to get started:

http://source.android.com/source/initializing.html

http://wiki.cyanogenmod.org/w/Build_for_n7000

Start from scratch using repo to init the AOSP 5.0 source code.

Look for guides that explain how to build for a new device:

http://www.kandroid.org/online-pdk/guide/build_new_device.html

Look at other distros if you get stuck. They have a lot of the stuff under "galaxys2", but if you're starting from scratch you can make it all n7000 only.

https://github.com/CyanogenMod/android_device_samsung_galaxys2-common

Extract the proprietary blobs from your running device.

Most importantly, share the steps, not just the final firmware.
[Galaxy Note GT-N7000 General] xxiCoolxx:
how about using android kitchen? we can port the nexus 5 build to the note......and we could use the omni/cm kernels.
[Galaxy Note GT-N7000 General] mikereidis:
His asking does not imply impatience. (Though I have not read his previous posts.)

I'm interested to know too if anyone else has started a ROM, or might. That doesn't mean I'm asking for an ETA.
[Upgrading, Modifying and Unlocking] SanderElstgeest:
Hello,

I use a 'boss-provided' BlueAngel that came complete with installed software. The only program I (am allowed) to use :o is a SAP client (written in Java) that connects to the server using movianVPN and GPRS.

My problem is that I am an engineer and not happy with the base setup. I can change everything, flash the ROM, read and write the ExtROM, reinstall the SAP client (I have the CAB's on my laptop) but I cannot reinstall the movianVPN because I do not have the installer. And by boss will not give it to me since I am not to mess with the pda in the first place.

So my question is: how can I isolate what files/DLL's/regkeys are used by movianVPN (V4.01 build 117.4c), so I can keep using the VPN function after a hard reset? I want to build a cab file for this too, so my complete software can be restored from the extrom after a reset...

Sannie

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

Qtek 9090 a.k.a. BlueAngel

ROM: 1.40.00 WWE :(

Radio: 1.15.00

ExtRom: 1.40.730 WWE
[Galaxy S 4 Q&A, Help & Troubleshooting] da20valve:
Hi my i9505 is rooted and I deleted the Vodafone bloat ware from it, my question is this,.......how do I reinstall the bloat ware before I update to 4.4 or don't I need too (I read it's dangerous to update if you have removed bloat ware from your phone, or is this untrue, any help would be greatly appreciated.

Kinds Regards

PS Before I forget how come some firmware from some sites say 4.4 Vodafone Australia, and some just say 4.4 Australia, does this means it will work with any i9505 or is it just they forgot to put in the carrier ??, my phone isn't locked but had some of the Vodafone bloat ware on it before I rooted and removed it.
[Galaxy S 4 Q&A, Help & Troubleshooting] DeepankarS:
[MENTION=5972594]da20valve[/MENTION]

Lol. No one forgot to put the carrier. Some firmwares are unbranded and some are branded.

The branded ones work with the carrier locked phones.

Unbranded ones work with the unlocked ones i.e. those who dont have a carrier locking :)

And it is safe to flash even if you have removed the bloat as when you flash a new firmware everything will return.

And yes. Backup the EFS folder (use the play store to download a efs backup software with highest rating) before you flash even the Official Firmwares.

"If someone helps, never forget to hit thanks ? "
[Galaxy S 4 Q&A, Help & Troubleshooting] da20valve:
So does that mean since mine is now unlocked even though it was from Vodafone originally I can use the unbranded ones ? (and if its the wrong one will it hurt the phone), also I just downloaded and Jwarriors EFS Backup Tool and saved it to my SD card, thanks for your help, I hit the thanks button.

Cheers
[Galaxy S 4 Q&A, Help & Troubleshooting] DeepankarS:
Haha.

Yes now your phone is unbranded and nothing can lock it now.

Still let [MENTION=4830053]MAX 404[/MENTION] confirm this :)

"If someone helps, never forget to hit thanks ? "
[Galaxy S 4 Q&A, Help & Troubleshooting] MAX 404:
+1

No need to reload bloatware , you can use any stock firmware in your phone as long as is for your S4 model (i9505)
[Galaxy S 4 Q&A, Help & Troubleshooting] da20valve:
no worries I will use the Optus Australia version, can anyone point me to a how to for the flash

Thanks
[Galaxy S 4 Q&A, Help & Troubleshooting] MAX 404:
hi mate

This is the latest for Optus

http://www.sammobile.com/firmwares/download/37801/I9505XXUGNH6_I9505OPSGNH2_OPS.zip/

Instructions

Extract (unzip) the firmware file

Download Odin v3.09

Extract Odin zip-file

Open Odin v3.09

Reboot phone in Download Mode (press and hold Home + Power + Volume Down buttons)

Connect phone and wait until you get a blue sign in Odin

Add the firmware file to AP / PDA

Make sure re-partition is NOT ticked

Click the start button, sit back and wait a few minutes

I would do a backup first of your efs folder , any thing important and do a factory reset first.
[Galaxy S 4 Q&A, Help & Troubleshooting] da20valve:
Re root after 4.2 unbranded update

Okay since I installed 4.2 my phone is rebooting a ****load (during calls) and just sitting there, wondering would the problem could be, I have noticed there have been a few erros that have said "folder mount has stopped working, can I just uninstall this or doesn't it work like that, also I am not rooted anymore should I root now or wait to get the problem sorted out first.
[Galaxy S 4 Q&A, Help & Troubleshooting] upinsmoke7610:
I have the s4 black edition also Vodafone but no branding at all
[Galaxy S 4 Q&A, Help & Troubleshooting] Lennyz1988:
You need to do a factory reset and if that doesn't sort it try a different firmware.
[G2 Q&A, Help & Troubleshooting] vklexer:
Hello,

Since i'm constantly wondering how thin with a case i can go, I thought it would be interesting to hear what did it take for you to crack LG G2 Screen.

Did you use a screen protector? Tempered glass? Case? (tpu, hybrid...)
[G2 Q&A, Help & Troubleshooting] gcogger:
I had mine in one of those ultra-thin 99p cases from ebay (the ones that they claim are 0.3mm thick) and no screen protector. I dropped it while getting out of the car (so probably only about a 2 foot drop), and it landed perfectly face down on some slightly rough concrete. It smashed the screen up fairly badly. To be honest I'd call it bad luck - I reckon if it had landed at any other angle it would have been OK, or at least not badly damaged.
[G2 Q&A, Help & Troubleshooting] PeartFan40:
The best protection for your screen comes in the way of care and handling of your phone. As far as cases go, I prefer the tech21 d30. It's relatively thin, and has impact resistance built in. It has also, a nice rudge surrounding the screen, for face down protection.
[Nexus 9 Q&A, Help & Troubleshooting] switt:
I'm trying to decide between the 16 and 32 GB versions. How much space is left over after the initial power on? Thanks!

Edit: From here http://xdaforums.com/nexus-9/general/picked-one-midnight-best-buy-ama-t2927528 I see the 32 GB version has the OS taking up about 6.4 GB. I'm wondering if this is the same on the 16gb.

Edit2: Answered my own question. Looks like theres about 9GB free in the 16gb version. http://www.reddit.com/r/Nexus9/comments/2l8863/just_picked_up_a_nexus_9_from_best_buy_ama/clsdt6l
[Nexus 9 Q&A, Help & Troubleshooting] Thyrus:
Actually it is 11.05 GB free
[Desire 816 Q&A, Help & Troubleshooting] l.m.prowse:
So guys, the source is out, anyone gunna give it a go? :D
[Desire 816 Q&A, Help & Troubleshooting] sonnu:
I dnt think any dv will develop L rom for our device .. not much user of this device ..