[F2FS] [Script] F2FS Rom and Packs converter - Nexus 5 Android Development

F2FS Rom and Packs converter
Convert any ROM to work F2FS (provided it is compatible ROM).
The Roms tested and approved to this version are Liquid and Carbon. Feel free to test other (the rom of your choice) and post your results so we can increase the number of proven compatible roms and other work in order to make them work.
Convert any package to install on roms F2FS.
If you already use one F2FS rom and has difficulties installing packages (ElementalX-N5-1.04-express.zip for example) just use the converter.
The differential of this script compared to others is that this does not include kernels have changed in order to make a rom work F2FS, but try to change the original kernel of the rom in order to make it work.
How to use:
Unrar the file on your PC with Windows system;
Open the folder you created and click F2FS CONVERTOR-Nexus5.bat;
Select the desired option;
Wait for the system to prompt you paste the rom or package to convert in the subfolder extract is automatically created;
Paste the file and wait, always watching the screen waiting for new prompts.
Hope it works with your ROM and you enjoy.
Neither I nor XDA are responsible for any damage to your device.
Download:
DSJ_F2FSROMConvertor_1.0.rar
Code:
[I]Sources (every third)[/I]
[URL="https://github.com/CyanogenMod/android_external_f2fs-tools/tree/cm-11.0"]F2FS Tools[/URL]
unpackbootimg and mkbootimg
[URL="https://github.com/CyanogenMod/android_system_core/tree/cm-10.2/mkbootimg/"]inital sources[/URL]
[URL="https://github.com/huaixzk/unpackbootimg/"]makefiles[/URL]
[URL="https://github.com/osm0sis/mkbootimg/"]patches[/URL]
[URL="https://github.com/trevd/android_system_core_cpio/"]mkbootfs[/URL]
Code:
Thanks
[URL="http://forum.xda-developers.com/member.php?u=4439521"]mikaole[/URL] For the German Translations and extensive testing
[URL="http://forum.xda-developers.com/member.php?u=4544860"]osm0sis[/URL] For his amazing Android Image Kitchen.The cleanup.bat script is taken from his tool.
[URL="http://forum.xda-developers.com/member.php?u=4414170"]Peteragent5[/URL], [URL="http://forum.xda-developers.com/member.php?u=1328872"]alansj[/URL] & [URL="http://forum.xda-developers.com/member.php?u=426752"]iridaki[/URL] (general method)
[URL="http://forum.xda-developers.com/member.php?u=5594433"]dechronic[/URL] (f2fs original and modified batch scripts)
[URL="http://forum.xda-developers.com/member.php?u=4668017"]nabendu1[/URL] (modified batch scripts)
[URL="http://forum.xda-developers.com/member.php?u=1847399"]davidsonsjesus[/URL] (improved method and Convert pack script)
And all other beta testers !! Sorry if I forgot anyone from the list !!

Thanks for the great work. Do you have a link to more info on f2fs and the dangers of it?

Firstly I have been off the development of the tool due to time constraints , me getting back to ext4 and that I missed my favorite kernel which still doesnt support F2FS . Also improvments in /system folder is little compared to /data and thats also something which forced me leave it !! But im more than impressed with the progress you guys have made and now I am kind of tending to start the development on it soon !!
If you wish can I make a tool based on this similarly for my Nexus 4 !!
Have a gr8 day ahead man !!
PS: Looking at the credits in your OP its so much similar to my OP xD

psycho693 said:
Thanks for the great work. Do you have a link to more info on f2fs and the dangers of it?
Click to expand...
Click to collapse
Here http://bit.ly/1cbQ4g1

Oh this is very interesting.:good:

NABENDU1 said:
PS: Looking at the credits in your OP its so much similar to my OP xD
Click to expand...
Click to collapse
Coincidence!?

Is this the same tool that you use when you build your CarbonROM f2fs version?

socioteq said:
Is this the same tool that you use when you build your CarbonROM f2fs version?
Click to expand...
Click to collapse
Only the Kernel carbon. The rest is a customization.
Enviado de meu Nexus 5 usando Tapatalk

Windows based script for a Linux based file system lol. Maybe time to break out bash.

NineInchNails said:
Windows based script for a Linux based file system lol. Maybe time to break out bash.
Click to expand...
Click to collapse
It turns out that many users use Windows. Remember also that for the script to work there is an "emulator" Linux built into the package to know cygwin.
Enviado de meu Nexus 5 usando Tapatalk

Related

[RECOVERY][All-F2FS] TWRP-2.7.0.0 with All-F2FS support [11/03/14]

TWRP-2.7.0.0 with "All-F2FS" support​
I have modified the standard TWRP recovery to work with F2FS partitions.
This is different from the previous recoveries that i published.
This is for "All-F2FS" that mean that /system, /cache and /data are formatted with F2FS.
Keep in mind that this can work only with a compatible kernel and ROM.
What is F2FS?
F2FS (Flash-Friendly File System) is a flash file system created by Kim Jaegeuk at Samsung for the Linux operating system kernel. The motive for F2FS was to build a file system that from the start takes into account the characteristics of NAND flash memory-based storage devices (such as solid-state disks, eMMC, and SD cards), which are widely used in computer systems ranging from mobile devices to servers.
Download:
FormatPartitions.zip: Here
TWRP-recovery img: Here
Chagelogs:
- 11/03/14: Initial release
Here are some explanations. Read them
Recovery has the usual red back key to remember you that you are using a F2FS-recovery.
If wiping /system and /cache and making a factory reset from Wipe menu doesn't work, use FormatPartitions.zip. (<- READ THIS)
Instead wiping /data is fine within the wipe menu.
To switch your /system, /cache and /data partitions to F2FS follow instructions:
Keep in mind that you will lose all the files on the memory of your N7.
You need:
- Two files you can download above (img and FormatPartitions.zip)
- A ROM with "All-F2FS" support (Like my SlimKat version)
(Or Make your ROM with Convert To F2FS)
- GApps (i think you want PlayStore.) Usual GApps. Slim AiO work well.
Copy a ROM with "All-F2FS" support to your N7
Copy GApps to your N7
Copy FormatPartitions.zip to your N7
Reboot in bootloader
Flash this recovery with Fastboot (Maybe Flashify works too)
Reboot in new recovery
Flash FormatPartitions.zip
Reboot recovery (It's needed for some reasons..)
Flash ROM
Flash GApps
Go to Wipe Menu and Format Data (Not a simple wipe)
Reboot
Done.
It's easier than it seems
To restore partitions to stock:
- Download a standard TWRP
- Download RestorePartitions.zip
Flash RestorePartitions.zip (Untested)
Flash standard Recovery
Format Data in Wipe Menu
Hope i dind't any errors writing this down. I personally tested this procedure.
Enjoy.
This is Awesome thxs for your hard work. And a few people where talking about have a Twrp that had all the partitions in f2fs and bam here it is.
Awesome work legolas!
So if I understand correctly, just having an f2fs-supported kernel isn't enough to run f2fs on all partitions? We need a modified ROM as well?
Also, are you going to make a modified TWRP 2.7 with MultiROM support?
Curious about which ROM has "All F2FS" support? Lego, did you modify one as such?
Sent from my Nexus 7 using Tapatalk
farmerbb said:
Awesome work legolas!
So if I understand correctly, just having an f2fs-supported kernel isn't enough to run f2fs on all partitions? We need a modified ROM as well?
Also, are you going to make a modified TWRP 2.7 with MultiROM support?
Click to expand...
Click to collapse
Yes. You need a modified ROM too.
Yes when i have some free time! As now this doesn't support MultiROM for the reason writed in OP.
adomol said:
Curious about which ROM has "All F2FS" support? Lego, did you modify one as such?
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Yes . My SlimKat version is ready.
legolas93 said:
Yes. You need a modified ROM too.
Yes when i have some free time! As now this doesn't support MultiROM for the reason writed in OP.
Yes . My SlimKat version is ready.
Click to expand...
Click to collapse
I should have noticed your post with the ROM... Thanks!
Oh boy, legolas you have been mighty busy lately lol... Thanks for this hard work of yours.
Can non-devs manage to modify their ROM of choice or is this something only the ROM devs can manage?
Sent from my Nexus 7 using Tapatalk
I can verify that everything is working as advertised... Installed your modified files and am now up and running with F2FS.
I'll post if I run into anything odd.
[EDIT] Finished restoring all my apps and data. And it's blazing! Ran an ANTUTU benchmark test and scored a
14829 vs. 12726 of a stock Nexus 7!!!
And the here are the numbers for the Quadrant benchmark: 5748 vs. 3517 for stock... nice!!
Thanks again legolas!
Does the standard omni ROM will work with this? If not then where can I find a modified omni ROM? And where can we find modified gapps?
Sent from my Nexus 7 using Tapatalk
bhu1 said:
Does the standard omni ROM will work with this? If not then where can I find a modified omni ROM? And where can we find modified gapps?
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
I believe users will have to ask their devs to provide a modified version of their ROM of choice. I'm going to give SlimKat a try with M-kernel here soon I think, just because legolas seems to be the only dev taking F2FS support seriously. I like that about him.
What is meant by "Normal Gapps"? I wasn't aware there was a Gapps considered not normal. There are only different versions of it. Can someone provide a link to "Normal Gapps" please? OP says in the play store but I do not find anything in the play store called normal gapps, or even gapps (although I did find something called Gapps Manager, hmmm). I normally use PA gapps or the latest CM gapps. Thank you
EDIT: Never mind, I just found that SlimROM's has their own version of Gapps, which seems to me to be the best choice if I am going to try SlimKat. lol
Sent from my Nexus 7 using Tapatalk
adomol said:
I can verify that everything is working as advertised... Installed your modified files and am now up and running with F2FS.
I'll post if I run into anything odd.
[EDIT] Finished restoring all my apps and data. And it's blazing! Ran an ANTUTU benchmark test and scored a
14829 vs. 12726 of a stock Nexus 7!!!
And the here are the numbers for the Quadrant benchmark: 5748 vs. 3517 for stock... nice!!
Thanks again legolas!
Click to expand...
Click to collapse
Glad you like this
SkOrPn said:
I believe users will have to ask their devs to provide a modified version of their ROM of choice. I'm going to give SlimKat a try with M-kernel here soon I think, just because legolas seems to be the only dev taking F2FS support seriously. I like that about him.
What is meant by "Normal Gapps"? I wasn't aware there was a Gapps considered not normal. There are only different versions of it. Can someone provide a link to "Normal Gapps" please? OP says in the play store but I do not find anything in the play store called normal gapps, or even gapps (although I did find something called Gapps Manager, hmmm). I normally use PA gapps or the latest CM gapps. Thank you
EDIT: Never mind, I just found that SlimROM's has their own version of Gapps, which seems to me to be the best choice if I am going to try SlimKat. lol
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
With "Normal" i mean the usual GApps you used (There are no need for some sort of special GApps..). Maybe "normal" can be a bit confusing.. :silly:
legolas93 said:
Glad you like this
With "Normal" i mean the usual GApps you used (There are no need for some sort of special GApps..). Maybe "normal" can be a bit confusing.. :silly:
Click to expand...
Click to collapse
Ok, yeah that is a bit confusing, or at least the way you typed it is. Kinda made it seem like there was a different version I needed to look for, lol. So, normal is just what ever Gapps package you prefer to use? In other words, they should all work? Cool, thanks legolas... :good:
adomol said:
I can verify that everything is working as advertised... Installed your modified files and am now up and running with F2FS.
I'll post if I run into anything odd.
[EDIT] Finished restoring all my apps and data. And it's blazing! Ran an ANTUTU benchmark test and scored a
14829 vs. 12726 of a stock Nexus 7!!!
And the here are the numbers for the Quadrant benchmark: 5748 vs. 3517 for stock... nice!!
Thanks again legolas!
Click to expand...
Click to collapse
only got 13840 on my cm11 nexus 7 on antutu. looking forward to more f2fs development!
brclho said:
only got 13840 on my cm11 nexus 7 on antutu. looking forward to more f2fs development!
Click to expand...
Click to collapse
Did you modify CM11 yourself to work with All-F2FS?
SkOrPn said:
Did you modify CM11 yourself to work with All-F2FS?
Click to expand...
Click to collapse
nope, normal cm11. just wanted to post a comparison to f2fs.
brclho said:
nope, normal cm11. just wanted to post a comparison to f2fs.
Click to expand...
Click to collapse
so that's the difference when all (system & data & cache) is in F2FS : 14k+ in antutu ? And a rom with just the data partition in F2FS got 13k+ ?
TarteMan said:
so that's the difference when all (system & data & cache) is in F2FS : 14k+ in antutu ? And a rom with just the data partition in F2FS got 13k+ ?
Click to expand...
Click to collapse
sorry i will clarify. i have not done f2fs conversion yet. this is stock file system (whatever it is) with cm11 antutu score.
brclho said:
sorry i will clarify. i have not done f2fs conversion yet. this is stock file system (whatever it is) with cm11 antutu score.
Click to expand...
Click to collapse
okay
but anyone can compare antutu or quadrant score between All-F2FS rom and Data-F2FS Rom ?
TarteMan said:
so that's the difference when all (system & data & cache) is in F2FS : 14k+ in antutu ? And a rom with just the data partition in F2FS got 13k+ ?
Click to expand...
Click to collapse
In real world terms, that is all the difference you need. The only other way to get your OS's file system any faster is to replace it with a real ssd. Its simple really, F2FS was made for NAND, and EXT4 was not.
Ok, before I start all over can someone tell me how long the Google logo is supposed to stay on the screen please?Its been about 20 minutes now, so I am wondering if its upgrading android in the background but just not displaying it. lol
EDIT: Ok, 45 minutes later, I am giving up. Going to do it all a second time now.
EDIT2: 1 hour later. Got it working second time around. I guess this recovery does not like flashing all kinds of things at once. Just flashed Rom and Gapps and its booting apparently. Will flash the 3rd party kernel and MoAB later.

Unofficial TWRP 3.0.x

F2FS Support
Backup/restore
EFS
Firmware
XDA:DevDB Information
Unofficial TWRP 3.0.x, Tool/Utility for the OnePlus One
Contributors
ketut.kumajaya
katinatez
recovery
device
kernel
Version Information
Status: Stable
Current Stable Version: v3.0.2-0
Stable Release Date: 2016-06-10
Created 2014-12-23
Last Updated 2016-01-27
Downloads​
This is flashable through custom recovery, if you prefer fastboot commands extract recovery.img
Code:
adb reboot bootloader
fastboot flash recovery recovery.img
fastboot reboot
Changelog
Code:
[SIZE="4"]
v2.8.7.0.5
Updated
android-6.0 branch
v2.8.6.1
05/18/2015
Encryption
Update F2FS
with Jaegeuk Kim repo
v2.8.6.0.1
04/24/2015
Introduction of
materialised-theme by
ketut.kumajaya new project contributer
v2.8.6.0
03/31/2015
Fixed Sliders on Themes
New Splash screen
v2.8.6.0
03/26/2015
Initial release
v2.8.5.1
02/12/2015
v2.8.4.1
01/25/2015
All fixed
01/24/2015
Update 2.8.4.1
[COLOR="Red"]Bad build[/COLOR]
01/15/2015
Update 2.8.4.0
Fixed screen timeout
01/09/2015
Fixed reboot issues
Updated F2FS
12/22/2014
Fixed Aroma File Manager loading
12/22/2014
Initial Release
twrp 2.8.3.0
[/SIZE]
Still uploading?
I downloaded yesterday an 2.83 version and had problems when flashing roms via otg so i returned to 2.82 . Is this a new 2.83 version ? I think i downloaded it from your afh.
Anyway i will give it a try later.
Thanks for you hard work on this and Temansek
Having lived the life of a flashaholic in just the past weeks, the listed fixes and enhancements in this update are more worth to me than daily sliced bread!
So far no more reboots enabling MTP, copying large nandroid backup files via MTP ( > 1.2GB) onto phone works as well as mounting and file operations on usb sticks via USB-OTG. Also the enhanced/fixed permissions handling will hopefully avoid the manual use of restorecon from now on, will observe.
Haven't yet tried backup to/restore from USB-OTG, but will try eventually.
Thank you @katinatez!
Thanks! It's now available officially!
http://techerrata.com/browse/twrp2/bacon
@katinatez's version has extra features/fixes, need to be aware of that.
What's the "custom theme" included in this build? Did you flash it in recovery or did you extract the img-file and flashed it via fastboot?
fmc000 said:
What's the "custom theme" included in this build? Did you flash it in recovery or did you extract the img-file and flashed it via fastboot?
Click to expand...
Click to collapse
Custom theme is integrated, but you can change it with this others (1080):
http://forum.xda-developers.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584
jcespi2005 said:
Custom theme is integrated, but you can change it with this others (1080):
http://forum.xda-developers.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584
Click to expand...
Click to collapse
So the materialized theme is the one included? I know that you can change themes as you wish, just wanted to know which was the one the OP included in the bundle.
fmc000 said:
So the materialized theme is the one included? I know that you can change themes as you wish, just wanted to know which was the one the OP included in the bundle.
Click to expand...
Click to collapse
It isn't materialized one... but not sure what is, same button structure as default, just minor graphics change...
@katinatez
Excellent work mate! Thx! :good:
Never mind
Love the new look.... Thanks
Happy Merry Christmas to all people of good will. Love and peace to the entire world.
Sent from my 1+1
Just wanted to clarify one thing: I'm using multirom version to do multirom things, can't use this version for multirom right?
Sent From Lollipopified Bacon Goodness!
ek69 said:
Just wanted to clarify one thing: I'm using multirom version to do multirom things, can't use this version for multirom right?
Sent From Lollipopified Bacon Goodness!
Click to expand...
Click to collapse
No, only features are the ones listed.
I serm to have a problem with the timezone. I had to set GMT+2 to have the correct time and I am in Italy, so GMT+1. Never had this problem before.
Did you un/check the DST option?
Update the recovery just now, found a bug. Surprised no one called me out on it. Aroma File Manager would not load. Kinda dejavu all over again with my Philz recovery doing the same. Anyways enough jabbering all fixed now.

[TWRP] [CAF] TWRP CAF Builds for Nexus 5

I will update this thread whenever a new TWRP build for hammerhead comes out....​
What is it for?
Those who want to flash CyanogenMod (myfluxi) builds with Code Aurora Forum (CAF) optimizations, will require this modded TWRP as those builds will not flash with regular TWRP recovery.
Download
https://dl.twrp.me/hammerheadcaf​
How to install this recovery?
(Make sure your bootloader is unlocked.)
Flash the downloaded recovery.img with fastboot. (fastboot flash recovery recovery.img)
Previous Build
Download
(Current TWRP-CAF version: 3.0.0)
rghost.net/7gBSJsDMZ​
How to install this recovery?
(Make sure your bootloader is unlocked.)
Flash the download in any custom recovery to switch to TWRP CAF.
OR
Extract downloaded zip, flash the extracted recovery.img with fastboot. (fastboot flash recovery recovery.img)
TWRP-CAF latest sources (based on CM13): https://bitbucket.org/kylon/android_device_lge_hammerheadcaf_twrp
Build and source provided by @kylon ! Thanks!​
Thanks
Enviado desde mi Nexus 5 CAF mediante Tapatalk
Fransis88 said:
Thanks
Enviado desde mi Nexus 5 CAF mediante Tapatalk
Click to expand...
Click to collapse
Welcome is it working fine?
I changed the script installation, simply I took the script of a no caf and overwrite a caf, ie used the TWRP without alteration and it worked. The net effect (stability, speed, compatibility) is the same?
davidsonsjesus said:
I changed the script installation, simply I took the script of a no caf and overwrite a caf, ie used the TWRP without alteration and it worked. The net effect (stability, speed, compatibility) is the same?
Click to expand...
Click to collapse
Sure but you have to edit your updater-script for each nightly. Moreover, if you are using an updater tool like CyanDelta then TWRP for CAF is more than welcome.
With another unofficial version I use, there's no differences between AOSP and CAF versions. TWRP for CAF works with 'hammerheadcaf' instead of 'hammerhead' when flashing a rom. That's it.
Primokorn said:
Sure but you have to edit your updater-script for each nightly. Moreover, if you are using an updater tool like CyanDelta then TWRP for CAF is more than welcome.
With another unofficial version I use, there's no differences between AOSP and CAF versions. TWRP for CAF works with 'hammerheadcaf' instead of 'hammerhead' when flashing a rom. That's it.
Click to expand...
Click to collapse
Change every night is no problem for me since I customize various items for installation, but a hybrid TWRP is great. The topic of this hybrid is or there is another (not yet tried)?
davidsonsjesus said:
Change every night is no problem for me since I customize various items for installation, but a hybrid TWRP is great. The topic of this hybrid is or there is another (not yet tried)?
Click to expand...
Click to collapse
Not that I'm aware of.
davidsonsjesus said:
Change every night is no problem for me since I customize various items for installation, but a hybrid TWRP is great. The topic of this hybrid is or there is another (not yet tried)?
Click to expand...
Click to collapse
you should rather create a standalone flashable zip package with all your tweaks so that you wouldn't have to modify the package every day...
Yash98 said:
you should rather create a standalone flashable zip package with all your tweaks so that you wouldn't have to modify the package every day...
Click to expand...
Click to collapse
My settings are not only Tweaks, ranging from the delete apps on rom expendable to me the restoration of personal apps installed on the system and inserting lines in build.prop among others.
davidsonsjesus said:
My settings are not only Tweaks, ranging from the delete apps on rom expendable to me the restoration of personal apps installed on the system and inserting lines in build.prop among others.
Click to expand...
Click to collapse
Yep deleting apps, adding personal apps, inserting lines in build.prop can be done with a flashable zip. Though you may have to read a little to create the updater-script.
Yash98 said:
Yep deleting apps, adding personal apps, inserting lines in build.prop can be done with a flashable zip. Though you may have to read a little to create the updater-script.
Click to expand...
Click to collapse
Friend I have not any problems with scripts, only it's more convenient for me to include in the rom zip my custom structure, only this.
So this is a hybrid Recovery, can we use Non-CAF roms with this one? and is multirum useable?
Would love to see the possibility using a CAF rom as Primary and Android M as Secundaire !
@davidsonjesus Best way is the one you find convenient.
Added TWRP 2.8.7.1
Guys, how do I revert back to a hammerhead recovery? Tried to flash the twrp, but got an error message!
mat738 said:
Guys, how do I revert back to a hammerhead recovery? Tried to flash the twrp, but got an error message!
Click to expand...
Click to collapse
Download the AOSP version from TWRP website then flash the .img from your CAF TWRP or use fastboot flash recovery recovery.img
Anyone have zips with modified splash?
w0uter said:
So this is a hybrid Recovery, can we use Non-CAF roms with this one? and is multirum useable?
Would love to see the possibility using a CAF rom as Primary and Android M as Secundaire !
Click to expand...
Click to collapse
Didn't see an answer to this. Is this downwards compatible with regular ROM's?
C0BRA01 said:
Didn't see an answer to this. Is this downwards compatible with regular ROM's?
Click to expand...
Click to collapse
No only CAF
If I flash caf twrp, can I make and restore a backup of a non caf rom ?
I'm on chroma now, and want to try cm13 caf.

N915F kernel with SeLinux Permissive - done

Hello,
This is a stock SeLinux permissive kernel and init.d activated for Samsung Galaxy Note Edge (N915F) for Lollipop 5.0.1.
There are inputs that is working also on N915FY.
The kernel was compiled from Samsung source LL_CIS kernel using Google toolcahin v4.8.
If you want to test it, please flash in cwm the attached file and report back. Please make a backup of your actual kernel (boot.img) befor flashing this one.
Special thanks to @Micky387 who advised me to update the source kernel (MH driverI), @Wuby986 for his support and guidance and @daxgirl for his advices.
My kernel source for N915F (N915FOXE1BOC6) is here.
Happy flashing.
PS. Kernel updated. Same functionality but some different info in "About".
Well you got further than I did .. Kept getting some driver file referenced so it would not complied.. Thanks for effort I hope you work it out soon.. Unfortunately I don't have time at the moment ..
starbucks2010 said:
Hello,
Since few days I struggle to build a SeLinux permissive kernel for Samsung Galaxy Note Edge with Lollipop 5.0.1 but without success. Or with partial success.
I followed several guides from xda and other sites but it seems that everyone has his different way of doing it.
What I have done so far:
- I installed Ubuntu 14.04 with all updates and apt-get xxx
- I installed the Google toolchain arm-eabi-4.8
- I Installed Samsung kernel source for N915F_CIS from here
- I changed the path to the toolchain in Makefile and build_kernel.sh
- I run from kernel source folder: ./build_kernel.sh
- After 10-15 min of compilation I get a zImage file in //output/arch/arm/boot of ~ 9.8 Mb
- Using Android Image Kitchen v2.2 I integrated the zImage into a boot.img to be flashed with cwm
I flashed this new boot.img but the phone is rebooting every minute and in about I have "unknown"as baseband.
Anyone have an idea how to fix this?
Thank you in advance.
Click to expand...
Click to collapse
hi man. How are you ?
So many thing are change in lollipop . the modem and firmware modem dont call same as KK ROM.
So be sure you are this commit https://github.com/CyanogenMod/andr...mmit/784aa9a84b77090fa591bff77045341c3e3c6293
and add MHI module into tblte_defconfig
https://github.com/CyanogenMod/andr...mmit/1dd44659ee26c2d8b313c1346192e2bfa2ac7bb9
dont delete 18 and 19 line if you build for TW rom .
Try and report
micky387 said:
hi man. How are you ?
So many thing are change in lollipop . the modem and firmware modem dont call same as KK ROM.
So be sure you are this commit https://github.com/CyanogenMod/andr...mmit/784aa9a84b77090fa591bff77045341c3e3c6293
and add MHI module into tblte_defconfig
https://github.com/CyanogenMod/andr...mmit/1dd44659ee26c2d8b313c1346192e2bfa2ac7bb9
dont delete 18 and 19 line if you build for TW rom .
Try and report
Click to expand...
Click to collapse
Bonjour Mickey,
Thank you for your advice. I'll try it and let you know how it goes. Do you know if I have to flash also the modules together with the new kernel or only the boot.img alone ?
Merci.
starbucks2010 said:
Bonjour Mickey,
Thank you for your advice. I'll try it and let you know how it goes. Do you know if I have to flash also the modules together with the new kernel or only the boot.img alone ?
Merci.
Click to expand...
Click to collapse
No need to flash module. The MHI module will be in the kernel so you have boot.img with all inside.
starbucks2010 said:
Hello,
Since few days I struggle to build a SeLinux permissive kernel for Samsung Galaxy Note Edge with Lollipop 5.0.1 but without success. Or with partial success.
I followed several guides from xda and other sites but it seems that everyone has his different way of doing it.
What I have done so far:
- I installed Ubuntu 14.04 with all updates and apt-get xxx
- I installed the Google toolchain arm-eabi-4.8
- I Installed Samsung kernel source for N915F_CIS from here
- I changed the path to the toolchain in Makefile and build_kernel.sh
- I run from kernel source folder: ./build_kernel.sh
- After 10-15 min of compilation I get a zImage file in //output/arch/arm/boot of ~ 9.8 Mb
- Using Android Image Kitchen v2.2 I integrated the zImage into a boot.img to be flashed with cwm
I flashed this new boot.img but the phone is rebooting every minute and in about I have "unknown"as baseband.
Anyone have an idea how to fix this?
Thank you in advance.
Click to expand...
Click to collapse
Wait one more day..
Or maybe earlier
Finally done.
Make backup of your actual kernel, flash the attached zip from post 1in cwm and please report back.I didn't check the init.d support but it should work.
Good, I'll try.
Dev.
Just a small request please.
If you could please make sure a link to YOUR kernel sources in OP.
Any Linux kernel publicly released must have source to compile the exact binary (zImage) as repacked into your distributed boot.img. This must be current at time of every released version.
This is not just a XDA rule, but a legal GPL requirement, applying to all, even if modification is only minor. This is open-source
I would suggest the use of a github repo that helps keep track of your changes (commits), promotes open transparency, sharing and colaboration
If you have any questions on how to go about this, i would be happy to help via pm (but currently away with work), but would suggest to contact our friendly forum Mod.
Best of luck with your project. :thumbup:
Cheers.
UITA
Any chance that you would be willing to make this kernel compatible with the Sprint variety? Man.... I need my viper4android bro. Please. Lol
UpInTheAir said:
Dev.
Just a small request please.
If you could please make sure a link to YOUR kernel sources in OP.
Any Linux kernel publicly released must have source to compile the exact binary (zImage) as repacked into your distributed boot.img. This must be current at time of every released version.
This is not just a XDA rule, but a legal GPL requirement, applying to all, even if modification is only minor. This is open-source
I would suggest the use of a github repo that helps keep track of your changes (commits), promotes open transparency, sharing and colaboration
If you have any questions on how to go about this, i would be happy to help via pm (but currently away with work), but would suggest to contact our friendly forum Mod.
Best of luck with your project. :thumbup:
Cheers.
UITA
Click to expand...
Click to collapse
Thank you for your advices.The link to Samsung kernel source was already there . Anyway, I added it one more time just to be sure that is more visible.
For the github repo, I have to create an account and then I'll upload the files.
Best regards.
Well done mate ..... Yea
---------- Post added at 08:32 AM ---------- Previous post was at 07:36 AM ----------
Boot and works fine , nice one
Can this be used on N915FY as well?
I don't have any reports from N915FY users. You can try and tell us
Don't forget to make a backup first.
starbucks2010 said:
Thank you for your advices.The link to Samsung kernel source was already there . Anyway, I added it one more time just to be sure that is more visible.
For the github repo, I have to create an account and then I'll upload the files.
Best regards.
Click to expand...
Click to collapse
Hey, no problem.
Just to clarify....
If you've made any (even minor) change to "Samsung" source, then you have to upload "your" complete source and link "your" source, not "Samsung" So if you've made the kernel permissive or even use a different toolchain or path, technically you have modified from original and is now "your" source If you use a custom defconfig, don't forget it too
github is well worth the pain I Google for answers all the time (how to do this and that), but still screw things up (sometimes majorly) now and then.
dubart said:
Can this be used on N915FY as well?
Click to expand...
Click to collapse
Using this kernel with a N915FY. Great job btw I can finally use viper audio which I've missed so much. Major props dude!
I'm gonna flash this on sprint variant either that or throw this device out my window
dinaps86 said:
I'm gonna flash this on sprint variant either that or throw this device out my window
Click to expand...
Click to collapse
Lol it booted just no data. Yaaayyy!!!
I see that there are other people who are interested in Selinux permissive kernels.
So, if you want, I can add selinux permissive to any samsung kernel as long as you provide me 2 files: your original kernel (boot.img) from the ROM you want to flash and the Kernel.tar.gz - source kernel from Samsung site. In order to get Kernel.tar.gz file you'll need to download the kernel source file (~ 1Gb) from Samsung site, open the archive and upload ONLY the Kernel.tar.gz (~ 100-150 Mb) and the readme file from the archive to some sharing site. Then, I'll try to compile that kernel for you.
There are also downsides. I cannot stay up to date will all new commits done to the kernel source so I'll compile your kernels only with info that I have at that date. If you fork the github and find kernel source updates, I can add them.
PS. I only set up a working PC with Ubuntu and Google toolchain v4.8. If you find any information that this setup is not suitable for compiling your kernel, then there is no point of providing me the above files.
Best regards.
OP updated with some Antutu screen shots.

[TEST] FreedomOS, need tester for OnePlus2

Hi everybody
I have a port of FreedomOS ready for OnePlus2, i'm currently un testing phase so i need tester.
unfortunately I do not have any oneplus 2.
Here it is the prerequisites for being a tester:
You need some knowledges in rom flashing (no really), in git and simple commands of your system.
We use Slack.
How?
Just post a message or PM with with your email address and i will send you an invitation.
And specify you came for the OnePlus 2.
What is FreedomOS?
FreedomOS allows you to debloat your ROM smartly.
Everything is customisable, you can install the most minimalistic rom, like a fully modded rom.
So basically, it install the untouched stock rom and install and remove all the functionality you have selected in the aroma.
XDA Review : http://www.xda-developers.com/freedomos-review-on-the-oneplus-3/
OnePlus 3 thread : http://forum.xda-developers.com/oneplus-3/development/rom-freedomos-1-0-t3409348
I am interested.
I don't understand, you mentioned you have port of FreedomOS ready for OnePlus 2. I am currently using OnePlus 2 and will be glad to test out the ROM for you, but I don't understand about being a tester, why would I need Linux or macOS for testing the ROM if you already have the port available.
rushilandrews said:
I don't understand, you mentioned you have port of FreedomOS ready for OnePlus 2. I am currently using OnePlus 2 and will be glad to test out the ROM for you, but I don't understand about being a tester, why would I need Linux or macOS for testing the ROM if you already have the port available.
Click to expand...
Click to collapse
Because you need to build the rom by yourself, my connection is too slow for uploading multiple builds.
And why Linux and MacOS ? Because we work on this platforms
NevaX1 said:
Because you need to build the rom by yourself, my connection is too slow for uploading multiple builds.
And why Linux and MacOS ? Because we work on this platforms
Click to expand...
Click to collapse
Okay. Sorry bro, I have no knowledge about building a ROM. If I had, I would have surely helped you out. I have a fast connection but you can't upload the ROM. [emoji52]
rushilandrews said:
Okay. Sorry bro, I have no knowledge about building a ROM. If I had, I would have surely helped you out. I have a fast connection but you can't upload the ROM. [emoji52]
Click to expand...
Click to collapse
Like i said, this rom is pretty easy to build if you are on MacOS or Linux.
Evrething is automated by your script
NevaX1 said:
Like i said, this rom is pretty easy to build if you are on MacOS or Linux.
Evrething is automated by your script
Click to expand...
Click to collapse
Okay.
Will it based on 3.2.1 oos? Or current one plus 2 OOS?
resporival said:
Will it based on 3.2.1 oos? Or current one plus 2 OOS?
Click to expand...
Click to collapse
Current version of OxygenOS fo OnePlus2.
Please chexk personal message ! @NevaX1
We want to test the ROM. Please inform me of the developments.
Cant wait to try this rom out.
And, how is it going?
i want teste the rom dude
Any progress guys
Sent from my ONE A2003 using Tapatalk
I can build and test! Ready when you are!
Someone try this rom?
Looks good on Oneplus 3 and wanna test it but i don't know anything in git and system commands D:
I think i'll wait for the public release
XavNotFound said:
Looks good on Oneplus 3 and wanna test it but i don't know anything in git and system commands D:
I think i'll wait for the public release
Click to expand...
Click to collapse
You don't need to know anything about the command line.
Just flash the zip, i provide the zip file.
NevaX1 said:
You don't need to know anything about the command line.
Just flash the zip, i provide the zip file.
Click to expand...
Click to collapse
Hey NevaX1 if you can provide the zip im willing to test it for you
kapooya said:
Hey NevaX1 if you can provide the zip im willing to test it for you
Click to expand...
Click to collapse
I don't share any link in public, you need to be in the slack group for that.

Categories

Resources