yashsingh1/xdaforums huggingface dataset:
[Android Software Development] RendyAK:
Update on lcm_get_params post.
[Android Software Development] ntouris3:
Hey man thanks for this awesome guide!!! But i can't find anything when i search lcm_init. My driver is nt35521_cmi_hd720_5p5_xld_s2609_dg. Can you plz tell me if you know how to do it or if there is an already decoded driver?
[Android Software Development] M.A.P:
Thanks for the tutorial man. But i can't find anything when i search lcm_init. My driver is r61318_hd720_dsi_vdo_yushun but here is he twist my manufacturer shipped my device with 2 lcms one is this one and the other one is otm1284_hd720_dsi_vdo_boyi. So makes sense that lcm_init didn't find any results. Luckily after some searching I found the code but everything is v1.

Here is the code and is providing basic info.

signed int __fastcall sub_1FD3C(int a1)

{

int v1; // r4@1

signed int result; // r0@1

v1 = a1;

sub_1D698();

*(_DWORD *)(v1 + 32) = 217352;

*(_DWORD *)(v1 + 28) = 217352;

result = 1;

*(_DWORD *)v1 = 2;

*(_DWORD *)(v1 + 352) = 2;

*(_DWORD *)(v1 + 360) = 2;

*(_DWORD *)(v1 + 372) = 2;

*(_DWORD *)(v1 + 24) = 217360;

*(_DWORD *)(v1 + 376) = 13;

*(_DWORD *)(v1 + 380) = 17;

*(_DWORD *)(v1 + 388) = 8;

*(_DWORD *)(v1 + 392) = 40;

*(_DWORD *)(v1 + 552) = 62;

*(_DWORD *)(v1 + 36) = "720*1280";

*(_DWORD *)(v1 + 396) = 80;

*(_DWORD *)(v1 + 12) = 720;

*(_DWORD *)(v1 + 16) = 1280;

*(_DWORD *)(v1 + 556) = 110;

*(_DWORD *)(v1 + 320) = 1;

*(_DWORD *)(v1 + 336) = 4;

*(_BYTE *)(v1 + 444) = 1;

*(_DWORD *)(v1 + 384) = 1280;

*(_DWORD *)(v1 + 404) = 720;

*(_DWORD *)(v1 + 492) = 220;

return result;

Where do you think I can find v2 and v3 maybe should dig little deeper right? Thanks in advance
[Android Software Development] sagargjasani264:
I have seen that u can enable fastboot mode by modifying lk.bin

Do you have any idea how can i it with ida pro or in any other way.?
[Android Software Development] bhawishya:
Its not working

:confused: Its not working for my device on lcm_init nothing appears in lk.bin.

I am using ida pro.
[Android Software Development] M.A.P:
The problem is not with the software its with the lcm driver itself. If you check the drivers that decoded there a line like this " printf lcm_init " and that is the line detected when we search it but in some drivers it is not mentioned so there is no output of that line and the process continues so try searching similar lcm drivers for you drivers and check for nearest printf command and scroll and search for the lcm data.
[Android Software Development] tech.nerd:
You solved my problem
[Android Software Development] RaxHax:
Cant find lcm_init

You have to use IDA 6.8, i´ve tried IDA 7 and it looked like this.
[Android Software Development] AH Raj:
Not showing init_lcm

when i search for init_lcm then ida show a blacnk page

View attachment 4340836
[Android Software Development] Stain995:
Have noticed that black line in image?

That means it's not successful converted try another version of IDA Pro and decode again!
[Android Software Development] blakegriplingph:
Does this require for the sources to the LCM be available? Let's say I wanted to port a custom kernel from an MT8127 device to a similarly-powered tablet, but the LCM drivers for the latter are unfortunately unavailable.
[Android Software Development] tdcfpp:
Hi guys.

What happens when we don't decode that LCM init? How does the display look like?

I'm trying to port google's sprout kernel video driver to my mt6582 kernel and ditch the current one, since it only uses egl composition.
[Android Software Development] ruben1863:
Thanks for the awesome guide!!!!

But can you do a guide of how to get lcm compare ID, because its so pretty i dont understand nothing about the compare ID code in IDA

This is the code that shows IDA

{

int v0; // r5@1

int v1; // r4@1

unsigned __int8 v3; // [sp+5h] [bp-57h]@1

unsigned __int8 v4; // [sp+6h] [bp-56h]@1

signed int v5; // [sp+8h] [bp-54h]@1

vC0E3D1A8(1);

vC0E3D1B8(20);

vC0E3D1A8(0);

vC0E3D1B8(20);

vC0E3D1A8(1);

vC0E3D1B8(120);

v5 = 210688;

vC0E3D1D4(&v5);

vC0E3D1EC(4, &v3, 3);

v0 = v4;

v1 = v4 | (v3 << 8);

printk_(-1062049248, v1);

printk_(-1062049224, v0);

return v1 - 6177 + ((unsigned int)(v1 - 6177) <= 0) - (v1 - 6177);

}
[Android Software Development] joachim97:
9 nothing find

What if in point 9 I find nothing?
[Android Software Development] thinhx2:
I have same problem
[Android Software Development] Rortiz2:
Hi,

- Make sure to open up the lk as ARM.

- Try selecting all and then press "C" to decode all the contents and then try to search again.

Regards!
[Android Software Development] thinhx2:
Thank mate, it work

Unfortunate, i cant find "sym lcm_init start" . i just can find "aDisplay_lcm_init". I stuck at here. If you can help me this point,thank a lot
[Android Software Development] Rortiz2:
Hi,

What's your LCM Driver Model? OP says he only tested this method with "HX8394D":

If you want to send me the lk.bin of your device maybe I can have a look :)

Regards.
[Android Software Development] thinhx2:
This is model of lcm : nt35521_hd_dsi_vdo_truly_nt50358_drv

Can you send me your telegram name?

My telegram : thinhx2
[LineageOS Questions & Answers] baconrtp:
My Lineage OS on One plus one installed fine. Used the OnePlus Exclusive youtube video to install the same. After the install, many things are crashing - 1) When trying to open Google Keyboard 2) Power Button does not show the advanced menu to open boot loader or Recovery 3) Unable to make calls - crashes when I open the dialer etc.,

Can someone guide me how to find whats causing the issue ?
[LineageOS Questions & Answers] IronRoo:
Are you using gapps? Did you upgrade that also for Android 7.1?
[Samsung Galaxy S8 Questions and Answers] borisb:
Thanks.
[Samsung Galaxy S8 Questions and Answers] LiquidPlacidity:
DON'T DO IT. I just returned my AT&T S8 because they refused to unlock it for me. I was trying to use it on T-Mobile too.
[Samsung Galaxy S8 Questions and Answers] gqukyo:
What was the reason they gave you? When I bought my AT&T model, the IMEI # wasn't even in their system...
[Samsung Galaxy S8 Questions and Answers] borisb:
Will it work though?
[Magisk] JRapsky:
Hi,

I used Magisc with several chinese brand phones and never had problems so far.

Now I got a new Moto Z, and I don't want to unlock the bootloader and install a custom recovery.

Is there another way to get Magisc working on my new device?

I understand the concept of systemless root and modification in general. The bootloader unlock and custom recovery installation do not fit in this concept, don't you think so?

Kind regards

Gesendet von meinem XT1650 mit Tapatalk
[Magisk] V1R4G3:
Not to hijack your thread, so consider this a free bump, but I am also curious. Galaxy S7 G920T here and looking for the same options.
[Magisk] fake2die:
1 answer,,u can't..

Systemless mean that's it's doesn't messed with system partition so u can get the OTA update..

Or some app that detec change from system partition then refuse too work..

And to do that u need to flash TWRP and unlocked bootloader..
[Magisk] veez21:
Not completely accurate. Magisk modifies boot.img (boot partition) and to modify it, you need to have an unlocked bootloader.
[Magisk] Sytis:
Right! So you can accomplish a Magisk install without a custom recovery for example using the Magisk Manager or Flashfire but as stated above, in order to boot a modified boot.img the bootloader needs to be unlocked or otherwise it will refuse to boot it.
[Magisk] JRapsky:
There should be an option to install magisc like a systeme update with the stock recovery.

Gesendet von meinem XT1650 mit Tapatalk
[Magisk] Sytis:
I don't think you understand how Android works, there are several stages to the system in which the actual /system rests. Basically everything is signed and validated to guarantee the installation of the official software and to protect the phone. Even if you can install Magisk via the stock recovery (which would require a phone specific Magisk which is the opposite of the universal interface that topjohnwu is targeting) you won't be able to boot the phone because the /boot partition is altered and the verity function won't allow an altered image to load in order to protect the phone. So in order to load the changes Magisk makes, the bootloader which checks and loads the boot.img (that's why it's called boot-loader) needs to be unlocked so it boots everything (the new boot.img needs to be compatible of course, you cannot boot the S8 img on the G6 for example). If I missed anything or something is wrong please correct me.
[Magisk] COOLPLAY6FAN:
but can we could not flash magisk file useing pc instead of custom recovery??(with unlock bootloder) if no then Y?
[Magisk] Didgeridoohan:
Of course you can (with some possible limitations set by the OEM). With fastboot, for example. But you won't be using the recovery at all (stock or custom).
[Magisk] cutesniper22:
Actually you can boot into twrp rather than install/flash twrp which means u must use cmd to boot twrp everytime for flashing something~ As for locked bootloader, just like others said, you must unlock it.
[Magisk] COOLPLAY6FAN:
so can u gave proper guide to root useing magisc useing pc instead of custom recovery

(with unlock OEM)

Thanks in advance
[Magisk] Didgeridoohan:
There are installation instructions on how to create the patched boot image with the Magisk Manager in the release thread.

When you have the patched_boot.img file, you'll need to flash it to your device. On most normal devices you can do this with fastboot. Check out your device's forums/DuckDuckGo/Google/Whatever-search-engine-you-use for instructions on that.
[Magisk] Krystanos:
I'm also interested to install Magisk with as less impact as possible, so to summarize for newbies like myself:

* Unlocked bootloader is needed. Period.

* A custom recovery is needed to flash Magisk. TWRP for instance.

* That custom recovery prevent the built-in OTA update to work

* But TWRP can flash OTA updates that can be downloader from XDA for example

Am I correct?

Also,

* Magisk needs a patched boot image

* This image has no impact on the OTA process at all

* There are encryption matters to take care of (I don't understand them yet though).

Is everything correct?

Thanks.
[Magisk] Didgeridoohan:
Let's see about answering those statements/questions.

Yes.

Not necessarily. You can let the Magisk Manager patch your device's stock boot image and then flash it to your device with fastboot. See the installation instructions in the release thread.

Yes.

No. And yes. Official OTA files can (most of the time) not be flashed in TWRP. ROM zips and flashable firmware packages can.

Yes, that's all Magisk is about.

It definitely does. See the official docs

https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips for more info on how to keep OTA capabilities for your device.

Possibly. Depends on what you're talking about.
[Magisk] Krystanos:
Great answers. It's more clear for me now. Many thanks sir!
[Magisk] Galaxtracker:
Hi!

There are good news for you, rooting with magisk is very easy that way . No bootloader unlocking, custom recovery,

adb and fastboot command, no sdk no mtk tool . NOTHING but Sp flashtool - our best friend. This method really works with mtk phones android 5.0+ .

What U only need is

Sp flashtool and its drivers /scatter file with the ROM/ -I think not mtk devices with their own flashtool will work too

the ROM of your device

Magisc manager app on the phone

First of all you need clear up the device / after backup somewhere if needed/with sp flashtool - flash the whole ROM in format+download mode.

Install Magisc manager app , it will load for U a zip file in the map of the app

Put the boot img file of your rom in that map too

Run install option - it will create a patched boot img file within the app s map

Run again sp flashtool with download mode , mark only the boot section , and flash that patched boot img in phone

After reboot phone it is rooted

best regards
[Magisk] lefteriskmail:
Forgive me and explain me something:

I read that "no custom recovery needed" and through the application it will create a patched boot img file.

I installed Magisk Manager 5.4.3, οpens and displays "not installed". I followed the steps that are described in the guide without anything being done.

One of the users they created patched recovery from the application menu in what order did they do it?
[MENTION=8688331]Galaxtracker[/MENTION]: you write "it will load for U a zip file in the map of the app" Where is the map of application ; I do not see any folder created ιn Android/Data or or somewhere else.

I have the Ulefone S8Pro with unlock bootloader (Android 7)
[Magisk] Didgeridoohan:
Install Magisk Manager.

Press install.

Select "Patch Boot Image File".

Select the stock boot image you've previously saved on your device.

Wait.

Flash the patched boot image to your device.

Done.

All of this is covered in the installation instructions...

The folder being mentioned above is MagiskManager on your internal storage (where the patched boot image is also stored).
[Magisk] Galaxtracker:
Magisc

Hi!

Magisc works fine for me from the first time. Excuse me I won't do installation again to see how it goes. Really it causes some hesitation but in the end it's clear.

I use Total commander, and magisc folder is on the external SD card after installing magisc manager app. Factory reset later will not clear the root. After installing manager it says "not installed" till the end of the rooting process. Opening the app it begins to look after the downloadable zip file, you have to wait and download it. This zip and the stock boot img must be in the same place in a folder, and the app itself makes the patched boot img but I don't remember what was the name of the option. This is the flashable img file. In the end after flashing with flashtool and rebooting, magisc manager says "installed". Good luck
[Magisk] Uatcher:
Doubt about the process

Hello, I have a small problem with the process. Basically when I try to flash the patched boot image using Odin I get an error that says "only offical released binaries are allowed or something" I'm currently trying to apply a no-recovery root using Magisk on a Samsung Galaxy J5 Prime with Android 7. I've managed to unlock the bootloader but still get the aforementioned error.
[Magisk] Didgeridoohan:
And you've changed Patched Boot Output Format in the Manager settings to .img.tar? Just making sure... And that's about as far as I'll be able to help. I don't do Samsung... :D
[Magisk] Uatcher:
Reply

Yes, I did change the outpot to .tar.
[Magisk] sasa5:
Help please

Well I have a doubt... It's necesary unlocked bootloader for installation?

Because I have a sony z1 compact d5503, with root and dual recovery but with locked bootloader... It's possible to install magisk in my phone with locked bootloader?

Thanks in advance :)
[Magisk] SnowFuhrer:
Yes unfortunately it is. I tried it on my phone with locked bootloader and root but when I installed magisk with magisk manager, my phone said modified bootloader and would not get past the boot logo. So it is now wrecked.
[Magisk] jonthn41:
on my device i can flash magisk patched_boot.img with fastboot, then fastboot reboot-bootloader, and my device boots. but upon rebooting the next time, my device says modified and refuses to boot. Would it be possible to flash magisk boot, then when booted the first time dd if=stock-boot.img of=.boot.img and while still rooted mount the system rw copy su binary or flashfire supersu non-systemless. and then reboot and only get a warning pop up saying system modified but still be allowed to run it since my stock boot.img will be stock again.. or will modified system refuse to boot, just as modified boot did? does anybody know?
[Magisk] Tomspector:
Magisk installed can I unlock the bootloader again with it installed.

Hey thanks for the help in advance.

A friend of mine installed magisk on my Moto g5 play.

I had to reset my phone and the bootloader locked.

I have to unlock bootloader key, can I unlock it again without messing anything up?.

I want to install twrp recovery for my phone.

Thanks in advance.

Tom
[Magisk] Speedmaster_102:
I just got a new phone, I upgraded from a nexus 6 to a pixel 2 XL. I decided to flash Magnisk without the TWRP bootloader and retain its stock OS on Pie. After I flashed a couple of modules (Youtube Vanced and Greenify), the boot image became corrupted and I lost everything and had to re-install everything back onto the phone from scratch.

So, please clarify? I can't flash modules, but I can only have root in the stock Android 9.0?
[Magisk] Delgoth:
What about having a device that seems to have a locked bootloader, but can be oem unlocked, is carrier unlocked, and has a boot.img signed with test-keys? Is there still a way?
[Magisk] nri_tech1183:
Can somebody guide me to the official Magisk thread where I can post queries??
[Magisk] SnowFuhrer:
I think the problem is getting the right keys.
[Magisk] Fateys:
Hi. I have a nubia z17 mini s with stock recovery and locked bootloader. I cant unlock bootloader, but i can flash rom with stock recovery+usb otg.

If i make a modifier boot.img with magisk,and i change this file to the rom on usb pendrive and i make flash this with otg via stock recovery? It will work?
[Magisk] SnowFuhrer:
No, unfortunately it will bootloop.
[Magisk] Fateys:
Ah... even the boot.img patch did not succeed. When i tap install and choose file,my device open contact... Not storage...
[Magisk] anupritaisno1:
Stock recoveries enforce selinux with no option to set it to permissive from the flashing script once init sets selinux to enforcing. In other words the stock recovery will fail to even mount /data or write to boot in the first place. TWRP runs selinux in permissive mode to preserve file contexts but that is what allows such scripts to run

Tl;dr even if you somehow got the stock recovery to accept the magisk zip by somehow bypassing checks and tell it to start the flash it will fail

Also /boot refers to a mount point. You can't say "/boot partition" because you're calling a mount point a partition. "boot partition" is correct. "/boot partition" is incorrect
[Magisk] :
hope

See this:

https://www.xda-developers.com/android-10-custom-boot-animations/

it can allow anyone android 10 root magisk.
[Samsung Galaxy S8+ Guides, News, & Discussion] matale0:
Samsung Galaxy S8 & S8+ Whatsapp group.

Share tips photos etc.

https://chat.whatsapp.com/JF8EkxvoBLv6zMsAH9OU9J

Feel free to join.
[Samsung Galaxy S8+ Guides, News, & Discussion] matale0:
https://chat.whatsapp.com/JF8EkxvoBLv6zMsAH9OU9J
[Samsung Galaxy S8+ Guides, News, & Discussion] matale0:
Up
[Nexus 6P Q&A, Help & Troubleshooting] sonysingh1983:
hi im trying to restore a backup thru adb that i saved on my pc. but i get errors.

first one says Unable to find file system (first period). then second says Unknown restore method for /system.

what am i doing wrong?
[Samsung Galaxy S8 Guides, News, & Discussion] matale0:
Samsung Galaxy S8 & S8+ Whatsapp group.

Share tips photos etc.

https://chat.whatsapp.com/JF8EkxvoBLv6zMsAH9OU9J

Feel free to join.
[Samsung Galaxy S8 Guides, News, & Discussion] matale0:
Up
[Samsung Galaxy S8 Guides, News, & Discussion] woodman:
Thread closed.

Please continue this discussion in the already existing Whatsapp group here: Galaxy S8 & S8+ WhatsApp Group | Worldwide | English Only

Thanks

Wood Man

Forum Moderator
[Samsung Gear S3] ragsy1083:
I'm looking at picking up a Gear S3 but have read online that Tizen stopped supporting the newest version of Nike's run tracker, Nike Run Club in August 2016. Nike was rumored to update it after the holidays, but haven't seen anymore updates since January. Does anyone know if it the update was released? Thanks!
[Samsung Gear S3] QWIKSTRIKE:
I use the under armour app suite, and the S health, and so far I am happy with those. S health is a real robust App, and works fine for me. I bought the watch the same week that the new S Health update was issued.
[General Questions and Answers] zabidin:
Hi,

How to flash rom on this lenovo a806? It's phone from china. Even press volume up + power on/off show chineses character. Hard to choose which one. Advice how to flash it.

Thanks./
[General Questions and Answers] ramiabouzahra:
Is there even a rom available for it? You can't flash a rom to a device using another device's rom, just saying.
[Moto Z Play Guides, News, & Discussion] Yash24:
We ran a continuous video playback test to let you see which smartphone is the king of endurance!

Here's the video of Battery Test between Z Play and S7 Edge and Iphone7:

https://youtu.be/B3awP3-1m2U

Thanks!:good:
[Moto Z Play Guides, News, & Discussion] xxBrun0xx:
I'm shocked the S7 edge does as well as it does. I'd imagine a similar test comparing standby time with light usage would show the z play at double the S7 edge battery life and probably 1.5x the iPhone (although iPhones do have incredibly good standby battery life, so maybe even less).
[Google Pixel XL Questions & Answers] NWolf:
So, I just installed the May 2017 security update on my Pixel XL. Now, when I go to re-root it after applying the update, I get a boot loop.

I have to reflash both boot slots with stock and boot back in to android without rooting/installing the root files.

Is anyone else having trouble rooting with the May 2017 security update? If not, how'd you do it?
[Google Pixel XL Questions & Answers] TonikJDK:
Lots of us, its all blown up. Thread in the news and guide section. You can reflash the April boot image and it will work.
[Google Pixel XL Questions & Answers] JimSmith94:
Oops, Toni beat me to it.
[Google Pixel XL Questions & Answers] y2kbugleung:
oh i am not alone...

glad that i see this post before looping for 100 times more...
[HTC One A9] st40611:
Hi all,

Just got myself a HTC One a9 from htc.com. Although I got it for a good deal of $200, it only came as a Sprint model. I am using T-Mobile. Reading some posts here and there on XDA, I did myself the following:

1. Unlocked bootloader

2. Rooted phone, sim unlock'd using NV-reader-writer

3. S-off'd using Sunshine

4. Changed CID to MID to that of US Unlocked/Dev

5. Flashed to either the latest 6.0.1 or 7.0 Unlocked RUU

6. Flashed Sprint's radio.img from its firmware package

7. Added T-Mobile's APN settings

And although I am getting 4G LTE and text works, calling doesn't work. Trying to call doesn't make a dial tone, and when people call me it just goes straight to Voicemail.

On 6.0.1, if I go to Settings and try to disable VoLTE, it will freeze up my call settings page. It will then say "com.android.phone is not responding", and I have no way to do anything until I pull the sim card from my phone. I have another friend with the same setup and it's also not working for her.

Anyone with T-mobile service + Sprint phone getting any luck with this?
[Xiaomi Mi Max Questions & Answers] Takinato:
So I've flashed numerous miui 7 and 8 from stable xiaomi eu, everytime I flash supersu no matter what version, when it boots back up my Sim card settings are grayed out

Settings https://imgur.com/gallery/dnoo8

Has anyone seen this before? Can't make an account on xiaomi eu for some reason or I'd ask there.

Just looking for a debloated version of miui 7 with root
[Xiaomi Mi Max Questions & Answers] gothic84:
I was on xiaomi eu rom before,and also with root, but never face any issues related to Sim card either stable or weekly builds both is fine.

but since i try Multi Rom, i feel this rom is better than eu rom, and now i'm stick on it.

:highfive: :highfive:
[Xiaomi Mi Max Questions & Answers] Takinato:
Actually i flashed Official MiUI Global Rom, and even rooting that produced the same problem, its almost like my phone on MIUI cannot be rooted or its going to break my sim card settings, any idea what could cause this?
[Xiaomi Mi Max Questions & Answers] Albertkuba:
Did you follow all the right steps for jumping to Nougat?

Enviado desde mi MI MAX mediante Tapatalk
[Xiaomi Mi Max Questions & Answers] Takinato:
Miui 7 and the versions that I tried of 8 are still based on marshmallow