Monday, 2020-02-17

*** Oksana_ is now known as Oksana00:41
T42<edp_17> Guys, I'd need a little help. I am trying to make the TWRP recovery work while the device can boot into SFOS as well.01:24
T42<edp_17> I have figured out that into the kernel I nee the isorec patch from here: https://github.com/CyanogenMod/android_kernel_samsung_smdk4412/commit/9bfbaf337207359ef6aefe0a329a3b760054a6b701:24
T42<edp_17> However, it is already in my kernel.01:25
T42<edp_17> I have found here 'https://forum.xda-developers.com/galaxy-s2/orig-development/isorec-isolated-recovery-galaxy-s2-t3291176' that I need to flash the isorec kernel and the twrp recovery. I have downloaded the relevant TWRP from the androidhost and flashed onto the RECOVERY (mmcblk0p6) partition as the advise said on this site, but the d01:27
T42evice cannot boot into twrp.01:27
T42<edp_17> Can somebody highlight what I was doing wrong, please? Thanks.01:28
r0kk3rzyou might need to mod hybris boot init02:17
r0kk3rzlsee how mal did it02:17
T42欧阳兴邯 %lastname% was added by: 欧阳兴邯 %lastname%03:15
T42<窦祥焰 %lastname%> (Photo, 786x884) https://irc.thaodan.de/.imgstore/xej3CBkGa2.png 💥💥💥5万优质电报、土豆Patato群大量活粉  、非小号Mytoken关注惊爆价,微信群群发炸群广告、电报群/微信群增粉拉人、 twitter/facebook/potato/Linkedin/微博/YouTube/增粉评论转发点赞、推特脸书号、批量私聊电报指定群成员、水军群活跃聊天、国内外KYC身份材料出售 、交易所实名注册认03:28
T42xreactx was added by: xreactx04:18
T42<xreactx> Hey hey04:18
T42<xreactx> im stuck and cannot find a solution anywhere on the web...05:36
T42<xreactx> On Glacier UX/UI, when I swipe up on the lockscreen it wont unlock05:37
T42<xreactx> the lockscreen image just bounces back down or times out (screen goes black)05:37
r0kk3rzyou probably want to talk to the people in #nemomobile06:20
T42<edp_17> @xreactx : I got the same issue with Glacier UX/UI on my hammerhead. What I done was, removed glacier, reinstalled lipstick, then installed glacier again. For me it worked.07:10
T42<xreactx> @edp_17 [@xreactx : I got the same issue with Glacier U …], It was pretty annoying.  Sergey Игоревич Chupligin indicated he was going to update is repo, which may fix it.07:27
T42<edp_17> @xreactx : Yeah, I too found that annoying. Afair this was one of the main reasons why I stopped using glacier.08:19
r0kk3rzglacier isnt really ready for regular use anyway21:45
T42<edp_17> Yeah, I know but I like challenges. (Like using Sailfish on my S2 :P )22:04
T42<edp_17> By the way, I am trying to do what you suggested about the hybris boot init.22:05
T42<edp_17> There is something I do not understand. On xda-developers, it says, 1. the kernel needs a patch for the isorec boot sequence. (I have checked this patch is in my kernel init script.)22:17
T42<edp_17> 2. a valid lzop-compressed data must be flashed to the recovery partition (/dev/block/mmcblk0p6). This is also done as I unpacked the 'isorec-ramdrive.cpio.lzo' from the twrp zip and flashed onto the RECOVERY partition.22:18
T42<edp_17> So, why cannot the phone boot into twrp then?22:19
T42<edp_17> Might it be that I didn't use the hybris-boot.img but used the raw kernel file itself and flashed onto the KERNEL partition?22:20
T42<edp_17> I think I desperately need @mal's script. 😄22:21
T42<elros34> I told you, try to replace boot.cpio from your default initramfs with hybris-boot.cpio. Now you replaced whole initramfs so there is no way that script is executed: https://github.com/edp17/android_kernel_samsung_smdk4412/blob/cm-12.1/usr/galaxys2_initramfs_files/init22:27
T42<edp_17> Simply change this: "load_image=/stage1/boot.cpio"22:29
T42<edp_17> to this: "load_image=/stage1/hybris-boot.cpio"?22:29
T42<edp_17> Then rebuild hal and flash the new hybris-boot.img or kernel?22:29
T42<elros34> of course no, read it and try to understand how it work. Here you have file from which initramfs was generated before you changed it in defconfig. So first you need to revert CONFIG_INITRAMFS_SOURCE22:32
T42<elros34> https://github.com/edp17/android_kernel_samsung_smdk4412/blob/cm-12.1/usr/galaxys2_initramfs.list22:33
T42<edp_17> @elros: Thanks, I'll try. However all you are saying sounds Greek to me. :😳22:44
T42<elros34> basically just defconfig and correct path to hybris-boot.cpio here https://github.com/edp17/android_kernel_samsung_smdk4412/blob/cm-12.1/usr/galaxys2_initramfs.list should be enough I guess22:47
T42<edp_17> Yeah, this is what I just have done. Now I am building the hal then will try to flash the mentioned file to the RECOVERY and the kernel to the KERNEL partition. Then I will try to boot into both.22:48
T42<edp_17> In the folder where I have the ramdisk.cpio I do not have hybris-boot.cpio. Only have hybris-boot.img or file called kernel. Is it a problem if I define the hybris-boot.img instead of hybris-boot.cpio?23:04
T42<elros34> Have you read that init script? It expects cpio archive so you can't use abootimg instead. I called it hybris-boot.cpio but I don't know what is the name of it. You can use split_bootimg in platformsdk to split kernel and hybris initramfs which will be IIRC gziped cpio23:10
T42<elros34> I mean use split_bootimg on hybris-boot.img23:10
T42<edp_17> Yes, I did read that script, that's why I asked. I don't know what the difference between an .img and .cpio file.23:14
T42<edp_17> Is there an opposite command of split_bootimg?23:14
T42<elros34> use file tool on .img  so you will know what it contains, For cpio you can just unpack it23:16
T42<edp_17> the 'file hybris-boot.img' says: hybris-boot.img: Android bootimg, kernel (0x40008000), ramdisk (0x41000000), page size: 4096, cmdline (console=ttySAC2,115200 consoleblank=0 selinux=0)23:18
T42<edp_17> The split_bootimg command is not found. I have installed the abootimg package in ubuntu, but this split_bootimg command is not there either.23:27
T42<edp_17> However I have abootimg command. And the 'abootimg -i hybris-boot.img' says that I have kernel and ramdisk in the hybris-boot.img file.23:28
T42<elros34> rpm -qf /usr/bin/split_bootimg23:33
T42<elros34> android-tools-hadk-5.1.1+git3-1.2.3.jolla.i48623:33
T42<edp_17> Okay, I have extracted the bootimg.cfg, initrd.img and zImage from hybris-boot.img.23:33
T42<edp_17> Can I just simply install that android-tools-hadk*486 with zypper?23:35

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!