Page 2 of 2 FirstFirst 12
Results 51 to 73 of 73

Thread: Building a kernel for the Razor Phone 2 - Live feed

  1. #51
    Join Date
    2019-Jan
    Posts
    105
    almost had it yesterday. now the vanilla wont build . at least learning more then copy paste

  2. #52
    Join Date
    2019-Jan
    Posts
    105
    You should now be the proud owner of a new kernel in arch/arm/boot/zImage or arch/arm/boot/zImage-dtb. We prefer to use the -dtb extension if given the choice. but in arch/arm/boot/ i have: bootp compressed dts install.sh Makefile : this is just the valila test kernel. make i get error no dts directory even though there. what is final step to make kernel. .

  3. #53
    Join Date
    2019-Jan
    Posts
    105
    ok aech/arm64/....,. got image.gz

  4. #54
    Join Date
    2019-Jan
    Posts
    105
    it wont even post my question i cant even decode lolScreenshot-2019-8-31 Screenshot.jpg

  5. #55
    Join Date
    2019-Jan
    Posts
    105
    help plz read screenshot above plz

  6. #56
    Join Date
    2019-Jan
    Posts
    105
    so did i **** someone off? just SOL?

  7. #57
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    264
    Nah - it's not you, it's me
    We've been busy re-writing the kernel patcher and nethunter installer to deal with all the changes introduced by Android 9.
    The problems only popped up now because they are only enforced on devices that ship with Pie, which happened just recently.

    We are all set now and can continue.

    How are you going with the stock kernel?

    The most important thing is to get a vanilla kernel built and successfully installed.
    We will almost certainly brick the device a dozen times so we have to be able to recover.

  8. #58
    Join Date
    2019-Jan
    Posts
    105
    yea i noticed you had a bunch going on thats why i waited a few days. when you say stock im assume you mean arter97's. as long as i dont touch the mac80211 in the menuconfig it builds an image, image,zip image-dtb in arch/arm64/boot/ but no z-image like the wiki says. i have no clue what to do from there. i did look into compiling some but i spent alot of time on what seemed simple in post 54 is a screenshot of checking the mac80211 with and without patching. that i decided to wait. bricking is no problem its probably the one thing i can do is unbrick a phone and razor has a simple script to do just that at https://developer.razer.com/razer-phone-dev-tools/ the original source there to. so thats were im at is pretty much in post 54. i have no idea what else to do. ill be here probpabl;y all night. give me zips to flash ill flash them. point me to instructions to compile myself ill study up. tell me to jump ill say how high. snoogins lets do this

  9. #59
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    264
    Don't worry about our wiki for now - that comes later.
    Building a stock kernel helps us evaluate what we can work with. No point trying to build a zImage if all the kernels for that devices usually ship as image-dtb.
    So the first discovery is that the stock configuration of the Angler kernel builds a "image-dtb".
    Perfect, that what we can work with.

    Why don't you package that up using an AnyKernel3 template and test if that installs properly on your device?
    https://github.com/osm0sis/AnyKernel3

    Fingers crossed.

  10. #60
    Join Date
    2019-Jan
    Posts
    105
    what (how much) am i off. hundrededs of chown changing ownership .. not premited

  11. #61
    Join Date
    2019-Jan
    Posts
    105
    oh it didnt put the edited anyfile

  12. #62
    Join Date
    2019-Jan
    Posts
    105
    kernel.string=android_kernel_razer_sdm845 by Arter97 @ xda-developers
    do.devicecheck=aura
    do.modules=1
    do.cleanup=1
    do.cleanuponabort=0
    device.name1=aura
    device.name2=cheryl2
    supported.versions=6.0 - 9
    supported.patchlevels=2019-1 - 2019-03

    block=boot
    is_slot_device=1;
    ramdisk_compression=auto;
    Last edited by nikmel420; 1 Week Ago at 13:55. Reason: new config

  13. #63
    Join Date
    2019-Jan
    Posts
    105
    i get a security patch error flashing, phone says feb 5 2019. so not sure why that didnt work but should have in a few more attempts

  14. #64
    Join Date
    2019-Jan
    Posts
    105
    hers the last logs
    Attached Files Attached Files

  15. #65
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    264
    Let's make sure I get that right:

    You installed the Arter97 kernel package from the xda thread ok?
    You compiled the Arter97 kernel without any modifications using the exact same installer scripts and it doesn't install.

    Correct?

  16. #66
    Join Date
    2019-Jan
    Posts
    105
    i fowlowed your instructions in post 4 to the letter. then followed the any kernel instructions. idsay i did it corectley. i started fresh on both over 20 times. and factory reset a few times. its very posible im not doing the any kernel corectly, but i dont see how

  17. #67
    Join Date
    2019-Jan
    Posts
    105
    i used the image originaly i actualy never tried to install an untouched zip in twrp. doing now should of started there just came to me though

  18. #68
    Join Date
    2019-Jan
    Posts
    105
    no his works i most not be doing something in the compiling

  19. #69
    Join Date
    2019-Jan
    Posts
    105
    ok his specifies to flash to boot_a thought that would work if i changed in the anykernel.sh. well ll keep at it

  20. #70
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    264
    I'd start with using the Arter97 kernel package and replace only the kernel image with the one you compiled.

    I usually feel invincible and create a kernel from scratch with all the bells and whistles, then copy it into my own installer, install it and often brick my phone.
    When that happens, i.e. it doesn't work, I follow a systematic approach to eliminate as many uncertainties as possible. These are my steps:

    1. Install a complete kernel package that is known to work (e.g. positive XDA feeback)
    2. Compile kernel using the source and toolchains of the kernel in step 1. without any modifications
    3. Replace the kernel in the installer with the kernel I compiled
    4. Re-compile the kernel multiple times, enabling more and more features, installing and testing if everything is still working as we go
    5. Apply patches to kernel, install and test
    6. Replace toolchains with the ones of your choice, compile, install, and test
    7. Replace the kernel installer used so far with the one of your choice, test installation
    8. Add system patches to the installer as required, install and test
    9. Add kernel to NetHunter installer and merge all modifications required.

    Voila, that should get you there

  21. #71
    Join Date
    2019-Jan
    Posts
    105
    Yes thats a good system . you know what your doing After i finished with post 4 i had no idea how to compile it let alone installer. So ive perrty much spent 48 hours doing differt combanations of how the 4 lines of intsructutions. Could be interpeated. I need paths there are usualy way more then 1 folder with the same name in a repository. But thevreadme never says what one its talking about. Or something as simple as are they seperate repositories, or is on cloned in the other. I know these are basic things you guys do subconcesly. But my eyes feal like the're bleeding. I know it anowing. I get frustrated when im in your place with things i know. I never even saw a linux pc before i acidently found pocket kali on whitedome last year. and decided learn something new. Ordered a gpd the next day. The fact that a softbricked nexus's were like 10 bucks on ebay. Sorry got off track. Theres one im gonna flash after posting this. And shut it down for a day. At least to rest my eyes then start again tomorow night. How about doing 1-3 on your list and give me a vanila one compiled corectly to flash. I dont know how to do corectly. So they are not realy test kernels. Know what i meen

  22. #72
    Join Date
    2019-Jan
    Posts
    105
    yea ive got a problem better asked on xda. but its still probably if you make the test kernel.

  23. #73
    Join Date
    2019-Jan
    Posts
    105
    i give up. ill gladley test but i cant do

Similar Threads

  1. Razor phone 2
    By nikmel420 in forum Building NetHunter
    Replies: 7
    Last Post: 2019-08-13, 01:44
  2. OnePlus 7 Pro kernel building help
    By joelstitch in forum Building NetHunter
    Replies: 1
    Last Post: 2019-08-13, 01:28
  3. Building for any phone ! Post Requests .
    By zinister in forum Building NetHunter
    Replies: 55
    Last Post: 2018-01-03, 04:13

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •