[ROM][CM12.1][Lollipop][Android 5.1.1] NightOwl 20180124

bauner

Retired Recognized Developer
Jan 23, 2008
4,726
10,330
263
Near Nürnberg
You mean I should use the the original https://github.com/CyanogenMod/android (branch cm-12.0) repo and add all your changes in the local_manifests? Could you share your local_manifests (or your roomservice.xml), please?
Thanks a lot (and please forgive me for my noobness)
yes use the Cyanogenmod cm-12.0 repo

here is my roomservice.xml
I don't know if all works well, because I did a few changes and cannot test it because my n7000 is hard bricked and sent to service.
After succesfull build you have to replace the boot.img in zip file with the one in the out directory, because the releasetools are not fully working right now and include an boot.img which is not booting
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  
  <project name="bauner/cm-android_device_samsung_n7000" path="device/samsung/n7000" remote="github" revision="cm-12.0" />
  <project name="bauner/cm-android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" revision="cm-12.0" />
  <project name="bauner/android_kernel_samsung_smdk4412" path="kernel/samsung/smdk4412" remote="github" revision="cm-12.0" />
  <project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="cm-12.0" />
  <project name="bauner/cm-android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-12.0" />

  <remove-project name="CyanogenMod/android_frameworks_av" />
  <remove-project name="CyanogenMod/android_frameworks_native" />
  <remove-project name="CyanogenMod/android_frameworks_opt_telephony" />
  <remove-project name="CyanogenMod/android_system_core" />
  <remove-project name="CyanogenMod/android_vendor_cm" />
 
  <project name="bauner/cm-android_frameworks_av" path="frameworks/av" remote="github" revision="cm-12.0" />
  <project name="bauner/cm-android_frameworks_native" path="frameworks/native" remote="github" revision="cm-12.0" />
  <project name="bauner/cm-android_frameworks_opt_telephony" path="frameworks/opt/telephony" remote="github" revision="cm-12.0" />
  <project name="bauner/cm-android_system_core" path="system/core" remote="github" revision="cm-12.0" />
  <project name="bauner/android_vendor_cm" path="vendor/cm" remote="github" revision="cm-12.0" />

</manifest>
 
Last edited:

panamera2011

Senior Member
Mar 26, 2011
1,305
755
113
Pesche
For me it doesn't work in alpha3. it only connects and nothing more
thanks for the confirmation, @bauner :highfive:

I really appreciate your efforts and admire your knowledge, :eek:

you're awesome!
and I'm just a lucky boy that given opportunity to test your rom :silly:
Yea mobile data does not work. I have two sim and on one I do not have a mobile data but always on the symbol H.
I thought that would work :eek:

I think it will be fixed soon:

https://github.com/ArchiDroid/andro...mmit/524f8acad3021b6db3ec8b7d877909bd34f69af6
 
1

12011012

Guest
Guys,Internal Sd is not getting formatted,the data on it is hiding somewhere....i flashed back to stock firmware from alpha 3 and all of my data is present.
Yes its creating itself a separate folder. Here it is after I returned a toucwiz ROM. Look there is folder with the name 0 and inside Alpha 3 data files and none of my previous files are deleted.



GT-N7000...
 

Attachments

Myself5

Recognized Developer
Mar 17, 2011
3,374
9,639
263
22
myself5.de
Yes its creating itself a separate folder. Here it is after I returned a toucwiz ROM. Look there is folder with the name 0 and inside Alpha 3 data files and none of my previous files are deleted.



GT-N7000...
This means the sdcard path is set wrong somewhere in the source. Should be fixable.
 

SamantaSync

Senior Member
Feb 28, 2013
100
27
48
Isla de Muerta
This means the sdcard path is set wrong somewhere in the source. Should be fixable.
Yes its creating itself a separate folder. Here it is after I returned a toucwiz ROM. Look there is folder with the name 0 and inside Alpha 3 data files and none of my previous files are deleted.



GT-N7000...
the internal SD ( sdcard0 ) in alpha3 is different than usual ROM.
and to make it sure, look at your file manager. the size of sdcard0 didnt empty, it has all of our files from previous rom.
see attachment for the path of sdcard0 in this rom (the path isnt "/storage/sdcard0" as usual :silly:
 

Attachments

  • Like
Reactions: bauner

01000010

Senior Member
Mar 16, 2012
203
58
58
yes use the Cyanogenmod cm-12.0 repo

here is my roomservice.xml
I don't know if all works well, because I did a few changes and cannot test it because my n7000 is hard bricked and sent to service.
After succesfull build you have to replace the boot.img in zip file with the one in the out directory, because the releasetools are not fully working right now and include an boot.img which is not booting
Thanks a lot!
now I get a a request for an ssh key and (when I just ignore it) I get the error "fatal: Authentication failed for 'https://github.com/bauner/cm-android_system_core/'"
 

01000010

Senior Member
Mar 16, 2012
203
58
58
you can try it again now.
I had an typo in the project name on github
THANKS!
Now it syncs (downloads) without problems, except for a different error at a later stage:
Syncing work tree: 27% (135/498) fatal: This operation must be run in a work tree
followed later by the line
error: external/google-fonts/carrois-gothic-sc/: platform/external/google-fonts/carrois-gothic-sc checkout e794f9cb925880aade45df5daa98eb88edb24275
 
Last edited:

bauner

Retired Recognized Developer
Jan 23, 2008
4,726
10,330
263
Near Nürnberg
THANKS!
Now it syncs (downloads) without problems, except for a different error at a later stage:
Syncing work tree: 27% (135/498) fatal: This operation must be run in a work tree
followed later by the line
error: external/google-fonts/carrois-gothic-sc/: platform/external/google-fonts/carrois-gothic-sc checkout e794f9cb925880aade45df5daa98eb88edb24275
try to delete everything in your working tree except the .repo folder and sync again.
If this will not help try
repo init -u git://github.com/CyanogenMod/android.git -b cm-12.0
again.
If this also not work try to delete .repo/projects/google-fonts and .repo/project-objects/platform/external/google-fonts
and do an
repo init -u git://github.com/CyanogenMod/android.git -b cm-12.0
again
 

KalZakath

Senior Member
Jan 31, 2012
649
325
0
32
BRZEG
Only thinking loudly - Could we use source code from i9300 for home button? They have it working. Similiar situation with recovery.

Sent from my GT-N7000 using XDA Free mobile app
 

01000010

Senior Member
Mar 16, 2012
203
58
58
It worked (deleted .repo/... and repo sync)
Now there are problems with breakfast
Code:
breakfast cm_n7000-userdebug                                                                                                                      
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/samsung/n7000/cm.mk]]: "vendor/samsung/galaxys2-common/common-vendor.mk" does not exist.  Stop.
Device n7000 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
 

bauner

Retired Recognized Developer
Jan 23, 2008
4,726
10,330
263
Near Nürnberg
It worked (deleted .repo/... and repo sync)
Now there are problems with breakfast
Code:
breakfast cm_n7000-userdebug                                                                                                                      
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/samsung/n7000/cm.mk]]: "vendor/samsung/galaxys2-common/common-vendor.mk" does not exist.  Stop.
Device n7000 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
first you need to do type
vendor/cm/get-prebuilts

then enable debug on your n7000 and connect it to usb
go to device/samsung/n7000 and type
sh extract-files.sh
to extract the proprietary files from your device
 

XxPixX

Senior Member
Dec 19, 2012
678
526
0
25
Warsaw
thanks for your hint, but it is already there a few lines deeper
Code:
COMMON_GLOBAL_CFLAGS += -DFORCE_SCREENSHOT_CPU_PATH -DWORKAROUND_BUG_10194508
Woops, you're right. Sorry.

However that flag isn't actually used anywhere (well, at least it's not used for what we want it to be used for). You still need a commit like this:
https://github.com/CyanogenMod/android_frameworks_native/commit/b2150f9

https://github.com/bauner/cm-androi...ob/cm-12.0/libs/gui/SurfaceComposerClient.cpp

That should hopefully fix it.
 

01000010

Senior Member
Mar 16, 2012
203
58
58
Thanks a lot, now I understand why @chasmodo uses in his (old) roomservice.xml the line (adapted to our branch)
Code:
<project path="vendor/samsung" name="TheMuppets/proprietary_vendor_samsung" remote="github" revision="cm-12.0" />
I got a "Dependencies file not found, bailing out." message from lunch (perhaps it's just a warning)
Now I'm compiling ... THANKS A LOT
 

bauner

Retired Recognized Developer
Jan 23, 2008
4,726
10,330
263
Near Nürnberg
Thanks a lot, now I understand why @chasmodo uses in his (old) roomservice.xml the line (adapted to our branch)
Code:
<project path="vendor/samsung" name="TheMuppets/proprietary_vendor_samsung" remote="github" revision="cm-12.0" />
I got a "Dependencies file not found, bailing out." message from lunch (perhaps it's just a warning)
Now I'm compiling ... THANKS A LOT
I deleted the Dependencies file in the n7000 dir, because it could overwrite the changes in roomservice.xml