yashsingh1/xdaforums huggingface dataset:
[Motorola Droid 4] eMPee584:
wayland jackpot

ultra. you earn half the bounty for firing up wayland, along with https://xdaforums.com/showpost.php?p=71138243&postcount=18 . :good: :p
[Motorola Droid 4] tmlind:
Hey thanks and sorry for the long delay in replying, I used it to buy some HD docks at $5 each :)

And just to update the mainline kernel status, audio and display patches are still pending. 3G data works but reboots the system after 10 - 20 minutes.

Sebastian Reichel has some nice pages about that at:

http://elektranox.org/2017/08/0022-droid4/

Then for booting custom distros directly from any partition, please check out utagboot I posted last night at:

https://github.com/tmlind/utagboot

Regards,

Tony
[Motorola Droid 4] eMPee584:
PostmarketOS has made lots of progress in recent weeks, even has the beginnings of a porting wizard. With nearly full mainline support, this shouldn't be too hard to bring up? :fingers-crossed:
[Motorola Droid 4] tmlind:
Yeah should be totally doable and fun project, go for it! I've mostly used alpine as my rootfs anyways for past year as it nicely fits to mmcblk1p23 ;)

Also looks like the LCD patches are finally getting merged for v4.16.

Then I'm slowly working on getting a 4MB buildroot-kexecboot bootloader image posted that can be flashed to mmcblk1p13.. For legacy v3.0.8 based kernels we have an issue with kexec where the android images depend on SafeStrap configuration being on vfat mmcblk1p25.. I think we should update the LineageOS based images to have initramfs just parse the current root partition from kernel cmdline if available and that way mmcblk1p25 can be reformatted as ext4 and is usable. Anybody got a chance to work on that?

Regards,

Tony
[Motorola Droid 4] tmlind:
OK I managed to get the first version of droid4-kexecboot pushed out if anybody cares to play with it:

https://github.com/tmlind/droid4-kexecboot

Regards,

Tony
[Motorola Droid 4] eMPee584:
no time/concentration to spare, sorry :D

but nice stuff! s0o looking forward to libre wayland HARDWARE KEYBOARD phones :cowboy:
[Motorola Droid 4] tmlind:
Just pushed a 2017-12-20 image with v3.0.8 kexec wrapper script fixed if anybody dares to try it.

It might just work for booting a v3.0.8 based image if you also have SafeStrap installed so the initramfs can use the configuration for the active image..

The initramfs still needs to be fixed for droid4-kexecboot to boot images directly on any partition using kernel cmdline if anybody has a chance to work on that.

Booting mainline kernel images with droid4-kexecboot does not have these issues naturally.

Regards,

Tony
[Motorola Droid 4] ruleh:
Doesn't seem to work for me.

It boots fine into kexecboot but pressing any key other than the volume keys causes it to freeze.

Sometimes even the volume keys don't work.

Pressing Q works sometimes, causing the screen to go black and stay that way.

Pressing R also works sometimes causing a reboot, everything else does nothing or causes it to freeze.

I don't have an uart connector so I can't get any details on what is happening exactly.

It is interesting though that utagboot does boot into kexecboot considering that it never booted anything else for me.

Ddroid never worked for me since it requires selinux (to install) which is only present in SS 3.75 but the modules don't work in SS 3.75 (segfaults during kexec).

I have to manually load the modules and run kexec from SS 3.72 to get a mainline kernel to boot.
[Motorola Droid 4] eMPee584:
... by the way, NotKit has made good progress in porting postmarketOS to our droid4 using libhybris: https://github.com/postmarketOS/pmbootstrap/pull/1039

This will probably become usable within a couple of weeks, yeah! :cowboy:
[Motorola Droid 4] tmlind:
Hmm sounds like you have some older stock distro with an earlier kernel installed? Care to update your stock distro to VRZ_XT894_9.8.2O-72_VZW-18-8_CFC and try again?

Regards,

Tony

---------- Post added at 20:49 ---------- Previous post was at 20:48 ----------

That's great :)
[Motorola Droid 4] ruleh:
I really did have an older distro...

I was under the impression that I was on VR_XT894_9.8.2O-72_VZW-18-8_CFC already. Oh well...

Now the arrow keys work properly and kexecboot doesn't freeze at the slightest press of a key.

However selecting the mainline kernel (using enter or space or powerbutton) causes it too freeze again.

Omitting a boot.cfg causes the phone to vibrate shortly after selection and present a black screen. Doesn't do anything afterwards.

Using utagboot directly is still the same: black screen and bootloop.

Manually loading modules and kexecing from safestrap 3.72 still works.

I haven't tried 3.75 or ddroid again yet.

When manually kexecing I need to set --image-size=33554433 (or something close to that value).

Maybe something like this is needed for kexecboot as well.

Is there a way to pass the --image-size parameter?
[Motorola Droid 4] tmlind:
Thanks you totally got it, I had forgotten about that already :D

Using current kexec-tools and current Linux next kernel the uncompressed kernel size is in zImage. For booting legacy v3.0.8 with the legacy kexec-tools this won't work and we don't have --image-size either.. Best to try to update the legacy kexec-tools patch for more recent kexec-tools.

Meanwhile, after changing the compression ratio from 4 to 6 I was now able to boot my rom-slot1 SafeStrap installed Android image from droid4-kexecboot finally! So I pushed out 2018-01-15 droid4-kexecboot image, maybe give that a try?
[Motorola Droid 4] IM_back!:
Hi,

can someone provide me with a dd image of mmcblk1p1?

I accedentaly formated mmcblk1p1 instead of mmcblk0p1, i assume this is where the bootloader is located.

Luckaly I realized before rebooting the phone. I now need a dd image of mmcblk1p1 to write back before the phone reboots for any reason.
[Motorola Droid 4] mp107:
According to http://batakang.com/XT894.php it's the mbmloader partition.

Here is my mmcblk1p1 (running CM11 ROM) fetched using dd:

http://mp107.5v.pl/juri8cwd78d363d873t78vhgti7w33w864r873wftn53f4y87ve8t/mmcblk1p1.img.zip

But be aware that flashing some partitions from different devices may result in serious bricking your phone.

Use it on your own responsibility.
[Motorola Droid 4] IM_back!:
Thank you!

I diff'ed your mmcblk1p1 against mbmloader.bin and discoverd that they are identical except a bunch of 0 at the end. So i dd'ed your mmcblk1p1.img over mine. The phone boots fine.

Close one :D
[Motorola Droid 4] IM_back!:
So im trying to boot lineageOS 14.1 with kexecboot (2018-01-18) but im not haveing any luck.

I formated mmcblk1p22 ext4 and extracted the zImage and initrd.img from boot.img. device_tree.bin was taken from stock cdma_maserati_9.8.2O-72_VZW-18_1ff.

my preinstall looks like this:

└── boot
├── boot.cfg
└── slot1
├── device_tree.bin
├── initrd.img
└── zImage

my boot.cfg looks like this:

LABEL=Android
PRIORITY=10
DTB=/boot/slot1/device_tree.bin
KERNEL=/boot/slot1/zImage
INITRD=/boot/slot1/initrd.img
CMDLINE="androidboot.safestrap.romslot=rom-slot1"
TIMEOUT=10

The phone locks up when selecting "Android" to boot from. It boots fine from slot 1 when bootet via safestrap. Am i missing something? how dose "androidboot.safestrap.romslot=rom-slot1" tell the kernel where to look for the android images?

EDIT: not very related to Wayland or libhybris. maybe Kexecboot needs its own thread.
[Motorola Droid 4] tmlind:
Hmm sounds like you're close :) You also need to copy SafeStrap atags file to boot/slot1/atags as the kexec wrapper script uses that for the legacy v3.0.8 kernels. Otherwise there is currently no way to pass non-standard options to kexec from kexecboot. I wonder what else might be missing from the documentation..

And please check you're using droid4-kexec boot 2018-01-18 images, I fixed modifying the SafeStrap config for the slot number.

Then the next hurdle is to modify initrd.img start up so it no longer relies on safestrap/active_slot and can be used on a raw partition. Or have you patched your initrd.img already to use mmcblk1p22 somehow?
[Motorola Droid 4] tmlind:
Good idea, I was finally no longer a noob here and was able to add a new thread for kexec booting:

https://xdaforums.com/droid-4/development/kexec-droid4-kexecboot-booting-raw-t3738562
[Motorola Droid 4] eMPee584:
It's on the way: https://wiki.postmarketos.org/wiki/Motorola_Droid_4_(motorola-maserati)

would need some more kernel devs to work on drivers and basic feature stack..

I have at least one spare phone of these..
[Motorola Droid 4] eMPee584:
Also, c.f. https://maemo-leste.github.io/maemo-leste-eight-update-january-february-2019.html ... droid 4 on kernel 5.1 by now

thanks to all the hackers still working on this one ?
[OnePlus 3T Questions & Answers] chas123:
I am new to the 3t. I have developed ROMs for HTC devices for quite a while. Just wondering:

Does Magisk work w/ 3T Nougat? Specifically a Magisk ROM that utilizes a module.

and...

I saw a thread on cooking ROMs w/ Arch Linux. Will Superr's kitchen work?
[OnePlus 3T Questions & Answers] Templar3lf:
I am currently running OxygenOS 4.0, Nougat, on a OnePlus 3T with Magisk 10.2, and it's working just fine. The encryption has been removed though, and the bootloader unlocked; apparently TWRP or SuperSU has a problem with the phone being encrypted.
[LG V20 Questions & Answers] UL7RA:
So it's been a few months since I've been planning to replace my old Sammy Note 3, and now I can finally do it. And since I took the decision to replace it, I kept looking at comparisons between all the flagships out there, and the concluding battle is left between the V20 and the S7 Edge. Why I'm still conflicted after all this time is because of a couple of things: I've seen that the S7's camera is a bit better in the reviews, but most of them were testing using V20 test versions, so I believe the camera quality improved a bit, and I'm also a big lover of landscapes so the wide angle camera will surely come in handy... There's also that thing that V20's camera lenses suddenly crack, but I've seen that it sometimes happens with the S7 too, so I don't really know. And last but not the least, the fact that the speaker gets broken. Sure, all the technical problems wouldn't be much trouble if the phone wasn't such a ***** to get your hands on here in Romania, so I don't know what they are going to repair and what not with the included warranty.
[LG V20 Questions & Answers] eladeb:
Edge for sure.

The v20 dosent have it....

LG is bad at building phones.

Saumsung is much better not including the note 7.

and samsung have a grater devs forum.
[LG V20 Questions & Answers] LuckyColdJohnson:
Samsung is garbage now. I have never owned an LG product but have always had Sammy devices and an HTC........LG V20 is the best phone I've ever had. Only thing is its not water resistant but who wants to put their phone in water? Not me......You will be happy with the LG.....Sammy is not that great anymore. Plus I've taken 4 or 5 phones back as they have had hardware issues. I use phones hard......LG is doing a great job and under the radar.
[LG V20 Questions & Answers] Team DevDigitel:
Carried the s7.. the edeg.. note 7... this lg v20.. the htc 10.. the note 5..

The htc is falling behind with poor cameras but they have oem bootloader unlocks supported by htc some what.

The lg v20 has a good camera.. and the landscapes are cool... but lg phones in the past have been overheating and dying within 2 years and have had some design flaws. The v20 is big and bright.. but does make me worry how long it really will last with my kinda use.

And the samsung series..

Man.. I love my samasungs.. I miss the oled screens they use and how rich the colors are. And their camera is great also..I loved the note 7 and it luckily was rooted with a leaked img almost same day.. and here leads me to the cons.. everything s7 and newer is going to be bootloader locked. Root is going to be a lot harder and gonna take longer or be blocked almost fully because of this in the future without a leak or a bunch of devs.. this put me off samsung until they can provide a unlock..

So take it as is.. get what you want and underatand the pros and cons.. some will have to do with market base to and witch devices get the most love and development..

Maybe a pixel xl? Lol
[LG V20 Questions & Answers] lysdexik:
Definitely the V20, I just sold my S7 Edge and I'm not looking back. Audio quality is the best of any smartphone without the need for an external AMP/DAC. The fingerprint sensor is so much better/more accurate on the V20 and it doesn't have an annoying edge that you hit all the time with the palm of your hand. Also it has USB-C which IMO is much better than Micro USB, more solid connection and faster transfer speeds.

Oh and don't forget the IR blaster, how many other phones have one? So useful.
[LG V20 Questions & Answers] ewingr:
I've been struggling with what to purchase next. I'm on a Note 4.

I can't offer any help, but I'd suggest you make the same post in the Samsung 7 Edge forum as well.
[LG V20 Questions & Answers] LBJM:
There are water resistant cases for the V20 on Amazon.
[LG V20 Questions & Answers] Ali Mirza:
LG will always be my favourite

LG any day (G5 or V20) They offer smoother UI than TouchWiz ! Samsung although have same specs as any 2016 flagships do, they lag and slow down over time! Also since "water resistance" phone like S7 Edge is being overrated trend they follow, this causes the S7 Edge loudspeaker behave badly after dunging it in water, the speaker quality comes out worse on any volume. Just look how LG is never copying design language as S7 looks almost an iPhone, how LG is being innovative on their own. I can't wait for the amazing LG G6 which is supposed to launch 1 month earlier than the Galaxy S8 (i'm more interested in G6 rather than S8)
[LG V20 Questions & Answers] masondoctorjt:
All I can say is that I loved my v10, and then have it to my mom, and she loves it. Now I have a v20 and and love it just even more! Only thing I miss is the rear mounted buttons, but overall an awesome phone! I'll take it over the glued together Sammie's and iPhones all day long!
[LG V20 Questions & Answers] esqueue:
As someone suggested above, you should make a similar post in the samsung s7 edge forum. The main reason why I went with the V20 is the removable battery, the Quick Charging 3.0 (aftermarket), USB type-c port, USB 3.0 speed (aftermarket) and flat screen.
[LG V20 Questions & Answers] ewingr:
I'm really tempted to get the V20. But I'm pretty set on getting one with 6GB of RAM. I want to be futureproofed somewhat. I tend to run a LOT of apps, so I need the memory.
[LG V20 Questions & Answers] da_committee:
I had the S7 Edge before my V20 and although I miss the AMOLED display I am much happier with the V20. The V20 does not lag at all, it is very snappy. The dual lens camera is stunning on the V20, especially the wide angle lens. USB C, out of the box Android N, factory installed screen protector, and a simple and lightweight LG launcher are reasons to choose the V20 IMO.
[OnePlus 3T Questions & Answers] acole10000:
I used to be able to double tap a number and dial regardless of its locations (gmail, chrome, other apps), now it just brings up a screen that says

Phone Number

+1XXXXXXXXXX

CLOSE - ADD TO CONTACTS

Help is appreciated.
[OnePlus 3T Questions & Answers] malancha:
I have the same problem on my 3T. Started occurring after upgrading to Nougat. I've filed a bug report on the OnePlus forum -- let's see how that goes. If you're interested, go to the oneplus site, then Community -> Support -> Bug Reports, then search for "cannot call number from search results".
[XDA Assist] MarwanKhalid55:
I need to root Lenovo Vibe K5 note

How to root it??

Please, Any HELP.
[XDA Assist] Razvan:
Hi there and welcome to Assist,

Here is all you need:

Root Lenovo vibe K5 Plus without PC/Flash Twarp recovery without PC

For more questions please ask directly here:

> Lenovo Vibe K5 Plus > Lenovo Vibe K5 Plus Questions & Answers

Good luck
[XDA Assist] MarwanKhalid55:
Thank you

Thank you, but I meant Lenovo vibe K5 note (a7020) not vibe k5 plus
[XDA Assist] Razvan:
Sorry for misunderstanding.

Try one of this mothods:

How to Root Any Device

[ROOT GUIDE][ALL ROOT TOOLS IN ONE PLACE][With and W/O PC][Root and Unbrick phones]

Good luck
[Samsung Galaxy S7 Edge Questions and Answers] UL7RA:
So it's been a few months since I've been planning to replace my old Sammy Note 3, and now I can finally do it. And since I took the decision to replace it, I kept looking at comparisons between all the flagships out there, and the concluding battle is left between the V20 and the S7 Edge. Why I'm still conflicted after all this time is because of a couple of things: I've seen that the S7's camera is a bit better in the reviews, but most of them were testing using V20 test versions, so I believe the camera quality improved a bit, and I'm also a big lover of landscapes so the wide angle camera will surely come in handy... There's also that thing that V20's camera lenses suddenly crack, but I've seen that it sometimes happens with the S7 too, so I don't really know. And last but not the least, the fact that the speaker gets broken. Sure, all the technical problems wouldn't be much trouble if the phone wasn't such a ***** to get your hands on here in Romania, so I don't know what they are going to repair and what not with the included warranty.
[Samsung Galaxy S7 Edge Questions and Answers] ultra74:
I can tell you that my phones in order of preference were Note 7, LG V20, S7 Edge.

We know what happened with the Note 7, so I got the V20 about a couple of weeks ago. Beautiful phone! The hardware was nice, removable battery, larger screen, IR blaster, Nougat installed and worked great out of the box stock.

But I saw the reviews about the camera too. Tested it and dang the camera did look like it was a water color of splotches with a little zoom on the taken pictures. Just horrible. Okay maybe I could live with it with the rest of it so nice.

Cellular radio started to go into 3G randomly and I was losing calls and text messages where previously I would get tons of signal on my old Note 2. I saw the reviews as well that the LG radio was not as nice, but that I could not live with. I took it back.

Got the S7 edge. Its a nice phone. fits nice in your hand, lasts 2 days on battery with 3.5 hours of screen on time, STOCK.

I still can't get over having to send back the V20, but it would not have been worth it.

The edge has been solid. Cant get a glass screen protector, but oh well. I'm just waiting for the Android 7 update.

Just my $0.02.
[Samsung Galaxy S7 Edge Questions and Answers] QBerto:
Both are great phones, and they give great experience in almost all aspects, the little aspects are the ones who make u take a decision, and personally, the MOST important is Audio

Yes, audio, if u care A LOT for audio (eg speakers and headphones directly to the phone), u have to choose V20, the experience on the S7 is more than mediocre, seriously, I've never think a flagship would have so crappy inbuilt audio, even my old-emergency Xperia E1 gives better audio through headphones. If u use external speakers thorugh minijack or BT, u can go for it.

The rest would be as the mate above says, if u use IR blater and u want removable battery, the V20 are the choice for u, if the most important is design, built quality, the S7 is choice for you...

I... would say u don't have to care much about cracked phones, because it depends on usage, I've been used phones with no protection since 4-5 years ago and never have a problem, phones are not to play football or golf, so if u care about your phone it will last longer..... IMAO... oh yeah, as a note with the S7e, a case will give you a lot more grip wich is needed, thing that on the V20 u will not need
[Samsung Galaxy S7 Edge Questions and Answers] jejb:
Agreed, it really depends on what YOU consider important. For me, water resistance, a superior camera and the Super AMOLED screen were huge pluses for the S7E. I really like the design of the S7E much more than an old style flat face phone, too. So for me, it was an easy choice. Maybe not for someone else, though.
[Samsung Galaxy S7 Edge Questions and Answers] apprentice:
Samsung all the way! The S7 edge has proved a worthy successor to my Note 7 - it hasn't disappointed me yet!

.
[Android General] sahajsarup:
[YOUTUBE]JokLPVQYLyU[/YOUTUBE]

Download: http://geektillithertz.com/wordpress/index.php/2017/01/03/lineageos-13-android-x86-on-pc/

Source: https://github.com/ric96/lineagex86

Bugs:

you tell me
[Xiaomi Redmi 3s Questions & Answers] ercea:
Please, anyone? :(

I think that my problem is unpacking and repacking the boot.img because if I unpack original boot.img and, without any modifications, repack the same boot folder, when I flash it, I get bootloop... I follow this instructions but I don't know what I'm doing wrong :(:

https://github.com/xiaolu/mkbootimg_tools

I tested packing boot.img with "Image", "Image.gz" and "Image.gz.-dtb" files (renamed to "kernel") without sucess :S. I don't know what to do....

Regards!
[Xiaomi Redmi 3s Questions & Answers] ercea:
EDIT: Sorry double post :S
[Xiaomi Redmi 3s Questions & Answers] Thoriiqm75:
maybe you should ask personally to someone who know how to compile source code, like anik, zwliew, hriday etc. sorry for my bad english
[Xiaomi Redmi 3s Questions & Answers] aweosomeabhijeet:
Stuck

I am stuck on the same place as you're. But I tried it on Lineage OS and the one I compiled back using everything stock(no change of kernel) worked fine. So I think the problem isn't unpacking or repacking. There's something in the kernel.
[Xiaomi Redmi 3s Questions & Answers] aweosomeabhijeet:
[MENTION=5004193]ercea[/MENTION]

So I tweaked around a little bit and found out that the one we are gonna use to boot is Image.gz-dtb. But in our case the dtb(s) are not built itself by the kernel(i am still searching why). So I used spilt-append-tool and extracted dtb(s) from the unpacked kernel and pasted them in arch/arm64/boot/dts. I know this doesn't mean anything but still makes the kernel boot.

Edit : After a little more messing I found out that the dtb(s) required to make the booting kernel reside in arch/arm64/boot/dts/qcom. So I made a script that copies all the dtb(s) to arch/arm64/boot/dts.

And it is working.
[Xiaomi Redmi 3s Questions & Answers] ercea:
Wow!! Thank you! :) I will try it after work, I abandoned it after a few tests without success (and I very noob for fix this kind of problems xD). I will check your tips and tell if it works for me (I'm sure that yes :) ).

Regards and thanks again for your help! ;)
[Google Pixel XL Accessories] 2010gt:
Hello! Does anyone have any experiences with the few available options for a privacy screen protector? I'm looking for a 4-way, if possible. I ended up purchasing a tempered glass privacy shield from HYAIZLZ below.

https://www.amazon.com/gp/product/B01N3ZCSEM/

It is marginally acceptable. Good fit and easy to apply, however it is only a 2-way privacy screen and the angle needed for it to be effective in blocking out the screen is rather extreme.
[Android Q&A, Help & Troubleshooting] xfim:
Can someone who has this phone please do me a favour? I bricked it and need a backup that can be used in Sp flash tool. If you have this phone, could you be so kind and make that backup then upload it somewhere I can download it and restore my phone?

Here is tutorial link: https://xdaforums.com/showthread.php?t=2540400 (Dump rom section)

I don't need to enter Android, just recovery to flash stock rom, you don't have to worry about deleting personal data (put a PIN or something)

Thanks in advance!

EDIT: after 2 days of trying to fix this phone, I have finally found what I needed and successfully restored it. Now it's working!

This is the file: https://yadi.sk/d/t2ejuvsjg5GyW